Skip to content

Commit bddb41b

Browse files
feat(api): api update (#359)
1 parent d76e30e commit bddb41b

File tree

5 files changed

+11
-11
lines changed

5 files changed

+11
-11
lines changed

.stats.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
configured_endpoints: 103
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/orb%2Forb-aeb94d91af916dbff0132ee7c4501df9223609b19fef0398a1a495e7a432ee36.yml
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/orb%2Forb-36a6db97756e8658369c9af3c0ac532ecacb032e5b8f6211094dcb4052943ff3.yml

orb-java-core/src/test/kotlin/com/withorb/api/models/SubscriptionCreateParamsTest.kt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -296,7 +296,7 @@ internal class SubscriptionCreateParamsTest {
296296
.build()
297297
)
298298
.startDate(OffsetDateTime.parse("2019-12-27T18:11:19.117Z"))
299-
.trialDurationDays(999999L)
299+
.trialDurationDays(0L)
300300
.addUsageCustomerId("string")
301301
.build()
302302
}
@@ -597,7 +597,7 @@ internal class SubscriptionCreateParamsTest {
597597
.build()
598598
)
599599
.startDate(OffsetDateTime.parse("2019-12-27T18:11:19.117Z"))
600-
.trialDurationDays(999999L)
600+
.trialDurationDays(0L)
601601
.addUsageCustomerId("string")
602602
.build()
603603

@@ -897,7 +897,7 @@ internal class SubscriptionCreateParamsTest {
897897
.build()
898898
)
899899
assertThat(body.startDate()).contains(OffsetDateTime.parse("2019-12-27T18:11:19.117Z"))
900-
assertThat(body.trialDurationDays()).contains(999999L)
900+
assertThat(body.trialDurationDays()).contains(0L)
901901
assertThat(body.usageCustomerIds().getOrNull()).containsExactly("string")
902902
}
903903

orb-java-core/src/test/kotlin/com/withorb/api/models/SubscriptionSchedulePlanChangeParamsTest.kt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -311,7 +311,7 @@ internal class SubscriptionSchedulePlanChangeParamsTest {
311311
.priceId("h74gfhdjvn7ujokd")
312312
.build()
313313
)
314-
.trialDurationDays(999999L)
314+
.trialDurationDays(0L)
315315
.addUsageCustomerId("string")
316316
.build()
317317
}
@@ -635,7 +635,7 @@ internal class SubscriptionSchedulePlanChangeParamsTest {
635635
.priceId("h74gfhdjvn7ujokd")
636636
.build()
637637
)
638-
.trialDurationDays(999999L)
638+
.trialDurationDays(0L)
639639
.addUsageCustomerId("string")
640640
.build()
641641

@@ -946,7 +946,7 @@ internal class SubscriptionSchedulePlanChangeParamsTest {
946946
.priceId("h74gfhdjvn7ujokd")
947947
.build()
948948
)
949-
assertThat(body.trialDurationDays()).contains(999999L)
949+
assertThat(body.trialDurationDays()).contains(0L)
950950
assertThat(body.usageCustomerIds().getOrNull()).containsExactly("string")
951951
}
952952

orb-java-core/src/test/kotlin/com/withorb/api/services/async/SubscriptionServiceAsyncTest.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -341,7 +341,7 @@ internal class SubscriptionServiceAsyncTest {
341341
.build()
342342
)
343343
.startDate(OffsetDateTime.parse("2019-12-27T18:11:19.117Z"))
344-
.trialDurationDays(999999L)
344+
.trialDurationDays(0L)
345345
.addUsageCustomerId("string")
346346
.build()
347347
)
@@ -999,7 +999,7 @@ internal class SubscriptionServiceAsyncTest {
999999
.priceId("h74gfhdjvn7ujokd")
10001000
.build()
10011001
)
1002-
.trialDurationDays(999999L)
1002+
.trialDurationDays(0L)
10031003
.addUsageCustomerId("string")
10041004
.build()
10051005
)

orb-java-core/src/test/kotlin/com/withorb/api/services/blocking/SubscriptionServiceTest.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -341,7 +341,7 @@ internal class SubscriptionServiceTest {
341341
.build()
342342
)
343343
.startDate(OffsetDateTime.parse("2019-12-27T18:11:19.117Z"))
344-
.trialDurationDays(999999L)
344+
.trialDurationDays(0L)
345345
.addUsageCustomerId("string")
346346
.build()
347347
)
@@ -990,7 +990,7 @@ internal class SubscriptionServiceTest {
990990
.priceId("h74gfhdjvn7ujokd")
991991
.build()
992992
)
993-
.trialDurationDays(999999L)
993+
.trialDurationDays(0L)
994994
.addUsageCustomerId("string")
995995
.build()
996996
)

0 commit comments

Comments
 (0)