From bddb41bcc73df524ebce5c1815a2b4b609b98272 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Thu, 20 Mar 2025 19:53:48 +0000 Subject: [PATCH 1/2] feat(api): api update (#359) --- .stats.yml | 2 +- .../com/withorb/api/models/SubscriptionCreateParamsTest.kt | 6 +++--- .../api/models/SubscriptionSchedulePlanChangeParamsTest.kt | 6 +++--- .../api/services/async/SubscriptionServiceAsyncTest.kt | 4 ++-- .../api/services/blocking/SubscriptionServiceTest.kt | 4 ++-- 5 files changed, 11 insertions(+), 11 deletions(-) diff --git a/.stats.yml b/.stats.yml index 85c391c8a..d1b66331d 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,2 +1,2 @@ configured_endpoints: 103 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/orb%2Forb-aeb94d91af916dbff0132ee7c4501df9223609b19fef0398a1a495e7a432ee36.yml +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/orb%2Forb-36a6db97756e8658369c9af3c0ac532ecacb032e5b8f6211094dcb4052943ff3.yml diff --git a/orb-java-core/src/test/kotlin/com/withorb/api/models/SubscriptionCreateParamsTest.kt b/orb-java-core/src/test/kotlin/com/withorb/api/models/SubscriptionCreateParamsTest.kt index 144ce3ec9..b5479efff 100644 --- a/orb-java-core/src/test/kotlin/com/withorb/api/models/SubscriptionCreateParamsTest.kt +++ b/orb-java-core/src/test/kotlin/com/withorb/api/models/SubscriptionCreateParamsTest.kt @@ -296,7 +296,7 @@ internal class SubscriptionCreateParamsTest { .build() ) .startDate(OffsetDateTime.parse("2019-12-27T18:11:19.117Z")) - .trialDurationDays(999999L) + .trialDurationDays(0L) .addUsageCustomerId("string") .build() } @@ -597,7 +597,7 @@ internal class SubscriptionCreateParamsTest { .build() ) .startDate(OffsetDateTime.parse("2019-12-27T18:11:19.117Z")) - .trialDurationDays(999999L) + .trialDurationDays(0L) .addUsageCustomerId("string") .build() @@ -897,7 +897,7 @@ internal class SubscriptionCreateParamsTest { .build() ) assertThat(body.startDate()).contains(OffsetDateTime.parse("2019-12-27T18:11:19.117Z")) - assertThat(body.trialDurationDays()).contains(999999L) + assertThat(body.trialDurationDays()).contains(0L) assertThat(body.usageCustomerIds().getOrNull()).containsExactly("string") } diff --git a/orb-java-core/src/test/kotlin/com/withorb/api/models/SubscriptionSchedulePlanChangeParamsTest.kt b/orb-java-core/src/test/kotlin/com/withorb/api/models/SubscriptionSchedulePlanChangeParamsTest.kt index 2ea0b98a7..689cbe265 100644 --- a/orb-java-core/src/test/kotlin/com/withorb/api/models/SubscriptionSchedulePlanChangeParamsTest.kt +++ b/orb-java-core/src/test/kotlin/com/withorb/api/models/SubscriptionSchedulePlanChangeParamsTest.kt @@ -311,7 +311,7 @@ internal class SubscriptionSchedulePlanChangeParamsTest { .priceId("h74gfhdjvn7ujokd") .build() ) - .trialDurationDays(999999L) + .trialDurationDays(0L) .addUsageCustomerId("string") .build() } @@ -635,7 +635,7 @@ internal class SubscriptionSchedulePlanChangeParamsTest { .priceId("h74gfhdjvn7ujokd") .build() ) - .trialDurationDays(999999L) + .trialDurationDays(0L) .addUsageCustomerId("string") .build() @@ -946,7 +946,7 @@ internal class SubscriptionSchedulePlanChangeParamsTest { .priceId("h74gfhdjvn7ujokd") .build() ) - assertThat(body.trialDurationDays()).contains(999999L) + assertThat(body.trialDurationDays()).contains(0L) assertThat(body.usageCustomerIds().getOrNull()).containsExactly("string") } diff --git a/orb-java-core/src/test/kotlin/com/withorb/api/services/async/SubscriptionServiceAsyncTest.kt b/orb-java-core/src/test/kotlin/com/withorb/api/services/async/SubscriptionServiceAsyncTest.kt index 04420a8d2..5f1bbf780 100644 --- a/orb-java-core/src/test/kotlin/com/withorb/api/services/async/SubscriptionServiceAsyncTest.kt +++ b/orb-java-core/src/test/kotlin/com/withorb/api/services/async/SubscriptionServiceAsyncTest.kt @@ -341,7 +341,7 @@ internal class SubscriptionServiceAsyncTest { .build() ) .startDate(OffsetDateTime.parse("2019-12-27T18:11:19.117Z")) - .trialDurationDays(999999L) + .trialDurationDays(0L) .addUsageCustomerId("string") .build() ) @@ -999,7 +999,7 @@ internal class SubscriptionServiceAsyncTest { .priceId("h74gfhdjvn7ujokd") .build() ) - .trialDurationDays(999999L) + .trialDurationDays(0L) .addUsageCustomerId("string") .build() ) diff --git a/orb-java-core/src/test/kotlin/com/withorb/api/services/blocking/SubscriptionServiceTest.kt b/orb-java-core/src/test/kotlin/com/withorb/api/services/blocking/SubscriptionServiceTest.kt index ba11b1bc2..50acde837 100644 --- a/orb-java-core/src/test/kotlin/com/withorb/api/services/blocking/SubscriptionServiceTest.kt +++ b/orb-java-core/src/test/kotlin/com/withorb/api/services/blocking/SubscriptionServiceTest.kt @@ -341,7 +341,7 @@ internal class SubscriptionServiceTest { .build() ) .startDate(OffsetDateTime.parse("2019-12-27T18:11:19.117Z")) - .trialDurationDays(999999L) + .trialDurationDays(0L) .addUsageCustomerId("string") .build() ) @@ -990,7 +990,7 @@ internal class SubscriptionServiceTest { .priceId("h74gfhdjvn7ujokd") .build() ) - .trialDurationDays(999999L) + .trialDurationDays(0L) .addUsageCustomerId("string") .build() ) From bb3dc015d71898833bb38e3c365fbf91eee8e17d Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Thu, 20 Mar 2025 19:54:18 +0000 Subject: [PATCH 2/2] release: 0.51.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 26b1ce24e..2b2b4fa9e 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "0.50.0" + ".": "0.51.0" } \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index bbb7bd2c1..317710e1e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,13 @@ # Changelog +## 0.51.0 (2025-03-20) + +Full Changelog: [v0.50.0...v0.51.0](https://github.com/orbcorp/orb-java/compare/v0.50.0...v0.51.0) + +### Features + +* **api:** api update ([#359](https://github.com/orbcorp/orb-java/issues/359)) ([bddb41b](https://github.com/orbcorp/orb-java/commit/bddb41bcc73df524ebce5c1815a2b4b609b98272)) + ## 0.50.0 (2025-03-19) Full Changelog: [v0.49.1...v0.50.0](https://github.com/orbcorp/orb-java/compare/v0.49.1...v0.50.0) diff --git a/README.md b/README.md index 6c709b5af..7abd226f0 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/0.50.0) +[![Maven Central](https://img.shields.io/maven-central/v/com.withorb.api/orb-java)](https://central.sonatype.com/artifact/com.withorb.api/orb-java/0.51.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:0.50.0") +implementation("com.withorb.api:orb-java:0.51.0") ``` ### Maven @@ -28,7 +28,7 @@ implementation("com.withorb.api:orb-java:0.50.0") com.withorb.api orb-java - 0.50.0 + 0.51.0 ``` diff --git a/build.gradle.kts b/build.gradle.kts index 8df177b3f..1125eda6e 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -1,4 +1,4 @@ allprojects { group = "com.withorb.api" - version = "0.50.0" // x-release-please-version + version = "0.51.0" // x-release-please-version }