From 346f76ac822c2c0b52df829b25825449e4aa2a1c Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Thu, 17 Jul 2025 22:54:27 +0000 Subject: [PATCH 1/3] codegen metadata --- .stats.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.stats.yml b/.stats.yml index 9450f45c5..20f408c90 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 116 openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/orb%2Forb-612316c13276a207f56e2e2c7bbc68f4bb73de85e3661595a23f23d9ccc80276.yml openapi_spec_hash: 6e125f05e40521ec485edf6e15beec2e -config_hash: 8c9a47f104c777e2a1e8f3fad15c093b +config_hash: 1f535c1fa222aacf28b636eed21bec72 From 5b452b33c87113691428935eaa2adb763c490260 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Thu, 17 Jul 2025 22:58:19 +0000 Subject: [PATCH 2/3] feat(api): api update --- .stats.yml | 4 ++-- buildSrc/src/main/kotlin/orb.publish.gradle.kts | 2 +- .../withorb/api/models/CustomerCostListByExternalIdParams.kt | 4 ++-- .../kotlin/com/withorb/api/models/CustomerCostListParams.kt | 4 ++-- .../com/withorb/api/models/SubscriptionFetchCostsParams.kt | 4 ++-- 5 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.stats.yml b/.stats.yml index 20f408c90..580e92e5a 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 116 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/orb%2Forb-612316c13276a207f56e2e2c7bbc68f4bb73de85e3661595a23f23d9ccc80276.yml -openapi_spec_hash: 6e125f05e40521ec485edf6e15beec2e +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/orb%2Forb-373ca3e805c414f75a90b0088c57cbb60ff207abdca0a8e397c551de88606c4a.yml +openapi_spec_hash: 1c30d01bd9c38f8a2aa4bd088fbe69bc config_hash: 1f535c1fa222aacf28b636eed21bec72 diff --git a/buildSrc/src/main/kotlin/orb.publish.gradle.kts b/buildSrc/src/main/kotlin/orb.publish.gradle.kts index 134e81fec..5758f29c0 100644 --- a/buildSrc/src/main/kotlin/orb.publish.gradle.kts +++ b/buildSrc/src/main/kotlin/orb.publish.gradle.kts @@ -22,7 +22,7 @@ configure { pom { name.set("API Reference") - description.set("Orb's API is built with the following principles in mind:\n\n1. **Predictable developer experience**: Where applicable, the Orb API uses\n industry-standard patterns such as cursor-based pagination and standardized\n error output. To help with debugging in critical API actions, the API always\n strives to provide detailed and actionable error messages. Aliases such as\n external customer IDs aid in fast integration times.\n2. **Reliably real time**: Orb's event-based APIs, such as event ingestion are\n designed to handle extremely high throughput and scale with concurrent load.\n Orb also provides a real-time event-level credits ledger and a highly\n performant webhooks architecture.\n3. **Flexibility at the forefront**: Features like timezone localization and the\n ability to amend historical usage show the flexible nature of the platform.\n\nYou can download the latest OpenAPI spec [here](pathname:///spec.json).") + description.set("Orb's API is built with the following principles in mind:\n\n1. **Predictable developer experience**: Where applicable, the Orb API uses\n industry-standard patterns such as cursor-based pagination and standardized\n error output. To help with debugging in critical API actions, the API always\n strives to provide detailed and actionable error messages. Aliases such as\n external customer IDs aid in fast integration times.\n2. **Reliably real time**: Orb's event-based APIs, such as event ingestion are\n designed to handle extremely high throughput and scale with concurrent load.\n Orb also provides a real-time event-level credits ledger and a highly\n performant webhooks architecture.\n3. **Flexibility at the forefront**: Features like timezone localization and the\n ability to amend historical usage show the flexible nature of the platform.\n\nYou can download the latest OpenAPI spec\n[here](https://api.withorb.com/spec.json) - pass `?version=3.0` for an OpenAPI\n3.0-compatible spec.") url.set("https://docs.withorb.com/reference/api-reference") licenses { diff --git a/orb-java-core/src/main/kotlin/com/withorb/api/models/CustomerCostListByExternalIdParams.kt b/orb-java-core/src/main/kotlin/com/withorb/api/models/CustomerCostListByExternalIdParams.kt index 35670f0cf..39b6fd1fa 100644 --- a/orb-java-core/src/main/kotlin/com/withorb/api/models/CustomerCostListByExternalIdParams.kt +++ b/orb-java-core/src/main/kotlin/com/withorb/api/models/CustomerCostListByExternalIdParams.kt @@ -136,7 +136,7 @@ private constructor( fun externalCustomerId(): Optional = Optional.ofNullable(externalCustomerId) - /** The currency or custom pricing unit to use. */ + /** The currency to use. */ fun currency(): Optional = Optional.ofNullable(currency) /** Costs returned are exclusive of `timeframe_end`. */ @@ -203,7 +203,7 @@ private constructor( fun externalCustomerId(externalCustomerId: Optional) = externalCustomerId(externalCustomerId.getOrNull()) - /** The currency or custom pricing unit to use. */ + /** The currency to use. */ fun currency(currency: String?) = apply { this.currency = currency } /** Alias for calling [Builder.currency] with `currency.orElse(null)`. */ diff --git a/orb-java-core/src/main/kotlin/com/withorb/api/models/CustomerCostListParams.kt b/orb-java-core/src/main/kotlin/com/withorb/api/models/CustomerCostListParams.kt index 2e0fd0d7c..9f96199f3 100644 --- a/orb-java-core/src/main/kotlin/com/withorb/api/models/CustomerCostListParams.kt +++ b/orb-java-core/src/main/kotlin/com/withorb/api/models/CustomerCostListParams.kt @@ -136,7 +136,7 @@ private constructor( fun customerId(): Optional = Optional.ofNullable(customerId) - /** The currency or custom pricing unit to use. */ + /** The currency to use. */ fun currency(): Optional = Optional.ofNullable(currency) /** Costs returned are exclusive of `timeframe_end`. */ @@ -193,7 +193,7 @@ private constructor( /** Alias for calling [Builder.customerId] with `customerId.orElse(null)`. */ fun customerId(customerId: Optional) = customerId(customerId.getOrNull()) - /** The currency or custom pricing unit to use. */ + /** The currency to use. */ fun currency(currency: String?) = apply { this.currency = currency } /** Alias for calling [Builder.currency] with `currency.orElse(null)`. */ diff --git a/orb-java-core/src/main/kotlin/com/withorb/api/models/SubscriptionFetchCostsParams.kt b/orb-java-core/src/main/kotlin/com/withorb/api/models/SubscriptionFetchCostsParams.kt index edd314d23..9c2c087c5 100644 --- a/orb-java-core/src/main/kotlin/com/withorb/api/models/SubscriptionFetchCostsParams.kt +++ b/orb-java-core/src/main/kotlin/com/withorb/api/models/SubscriptionFetchCostsParams.kt @@ -39,7 +39,7 @@ private constructor( fun subscriptionId(): Optional = Optional.ofNullable(subscriptionId) - /** The currency or custom pricing unit to use. */ + /** The currency to use. */ fun currency(): Optional = Optional.ofNullable(currency) /** Costs returned are exclusive of `timeframe_end`. */ @@ -99,7 +99,7 @@ private constructor( fun subscriptionId(subscriptionId: Optional) = subscriptionId(subscriptionId.getOrNull()) - /** The currency or custom pricing unit to use. */ + /** The currency to use. */ fun currency(currency: String?) = apply { this.currency = currency } /** Alias for calling [Builder.currency] with `currency.orElse(null)`. */ From f75d03e74be204d724d774fa99e86fa4ad685490 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Thu, 17 Jul 2025 22:58:43 +0000 Subject: [PATCH 3/3] release: 1.6.0 --- .release-please-manifest.json | 2 +- CHANGELOG.md | 8 ++++++++ README.md | 6 +++--- build.gradle.kts | 2 +- 4 files changed, 13 insertions(+), 5 deletions(-) diff --git a/.release-please-manifest.json b/.release-please-manifest.json index 4a2f7e609..7deae3380 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "1.5.1" + ".": "1.6.0" } \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index c220f91a8..0e69aa532 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,13 @@ # Changelog +## 1.6.0 (2025-07-17) + +Full Changelog: [v1.5.1...v1.6.0](https://github.com/orbcorp/orb-java/compare/v1.5.1...v1.6.0) + +### Features + +* **api:** api update ([5b452b3](https://github.com/orbcorp/orb-java/commit/5b452b33c87113691428935eaa2adb763c490260)) + ## 1.5.1 (2025-07-17) Full Changelog: [v1.5.0...v1.5.1](https://github.com/orbcorp/orb-java/compare/v1.5.0...v1.5.1) diff --git a/README.md b/README.md index cc85f41f8..27b43916e 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ -[![Maven Central](https://img.shields.io/maven-central/v/com.withorb.api/orb-java)](https://central.sonatype.com/artifact/com.withorb.api/orb-java/1.5.1) +[![Maven Central](https://img.shields.io/maven-central/v/com.withorb.api/orb-java)](https://central.sonatype.com/artifact/com.withorb.api/orb-java/1.6.0) @@ -19,7 +19,7 @@ The REST API documentation can be found on [docs.withorb.com](https://docs.witho ### Gradle ```kotlin -implementation("com.withorb.api:orb-java:1.5.1") +implementation("com.withorb.api:orb-java:1.6.0") ``` ### Maven @@ -28,7 +28,7 @@ implementation("com.withorb.api:orb-java:1.5.1") com.withorb.api orb-java - 1.5.1 + 1.6.0 ``` diff --git a/build.gradle.kts b/build.gradle.kts index 103754787..cf9eb0058 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -1,4 +1,4 @@ allprojects { group = "com.withorb.api" - version = "1.5.1" // x-release-please-version + version = "1.6.0" // x-release-please-version }