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/.stats.yml b/.stats.yml index 9450f45c5..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 -config_hash: 8c9a47f104c777e2a1e8f3fad15c093b +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/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 } 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)`. */