Skip to content

Commit 96cc0d5

Browse files
authored
Merge pull request #405 from orbcorp/release-please--branches--main--changes--next
release: 1.0.0
2 parents 1b46759 + dee1074 commit 96cc0d5

File tree

618 files changed

+308551
-749561
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

618 files changed

+308551
-749561
lines changed

.release-please-manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
".": "0.57.0"
2+
".": "1.0.0"
33
}

.stats.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
configured_endpoints: 106
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/orb%2Forb-e8dad7eee5621fe2ba948dfd00dabf170d9d92ce615a9f04b0f546f4d8bf39ba.yml
3-
openapi_spec_hash: 3f6a98e3a1b3a47acebd67a960090ebf
4-
config_hash: f6da12790e8f46d93592def474d41c69
1+
configured_endpoints: 116
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/orb%2Forb-c2a4808c828c8288c5c8dfe2fdfa51d4d7c1bcc33cacc6b859d0cf4b35ce95cc.yml
3+
openapi_spec_hash: a2b5a1bfabbd03dd1b411791576eb502
4+
config_hash: 3c3524be9607afb24d2139ce26ce5389

CHANGELOG.md

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,39 @@
11
# Changelog
22

3+
## 1.0.0 (2025-06-09)
4+
5+
Full Changelog: [v0.57.0...v1.0.0](https://github.com/orbcorp/orb-java/compare/v0.57.0...v1.0.0)
6+
7+
### ⚠ BREAKING CHANGES
8+
9+
* **client:** breaking change to re-use types
10+
11+
### Features
12+
13+
* **api:** api update ([70f55e5](https://github.com/orbcorp/orb-java/commit/70f55e57fd7acb1d5058f4770b0e222a6aaf4fcc))
14+
* **api:** api update ([180d51e](https://github.com/orbcorp/orb-java/commit/180d51ed43302de208c9f4208664f6a455bd5978))
15+
* **api:** api update ([6d3367a](https://github.com/orbcorp/orb-java/commit/6d3367a305cf01dbb74c513b64a4f737b615b8d9))
16+
* **api:** api update ([0bfa7ad](https://github.com/orbcorp/orb-java/commit/0bfa7ad4505968ced36fbaed8ab015de46c64760))
17+
* **api:** api update ([616608c](https://github.com/orbcorp/orb-java/commit/616608cb60c88dee8de7580c2abb2031f5f6205c))
18+
* **api:** api update ([7bbb55e](https://github.com/orbcorp/orb-java/commit/7bbb55e038c687ab12f6db551693033fe96e6bdd))
19+
* **api:** api update ([7f05af6](https://github.com/orbcorp/orb-java/commit/7f05af623a35433d841f0d333ba7b53fa4adb693))
20+
* **api:** manual updates ([0efca0a](https://github.com/orbcorp/orb-java/commit/0efca0a760f1f7db7ce5cd7388d02f378645e9f2))
21+
* **api:** manual updates ([a419c35](https://github.com/orbcorp/orb-java/commit/a419c35477d728f555315d0151a788d361f67813))
22+
* **client:** breaking change to re-use types ([ad6e081](https://github.com/orbcorp/orb-java/commit/ad6e081eb0c059369d5a11863d9a4d0fd7f6749c))
23+
24+
25+
### Bug Fixes
26+
27+
* **internal:** cleaning up custom code ([a646246](https://github.com/orbcorp/orb-java/commit/a646246bf46caba04761d1dbdcbf0f2254a802de))
28+
* **internal:** fix typing error ([31cc02e](https://github.com/orbcorp/orb-java/commit/31cc02e9ab39fd0f6292f73d43914f626c3dad16))
29+
30+
31+
### Chores
32+
33+
* **internal:** codegen related update ([0907df6](https://github.com/orbcorp/orb-java/commit/0907df61778f4c5aee9f24a6d5e7a5b4d30c5d43))
34+
* **internal:** codegen related update ([2a0fdab](https://github.com/orbcorp/orb-java/commit/2a0fdabe411a2d31333ad84e843b8f173428b168))
35+
* **internal:** codegen related update ([1ce04bd](https://github.com/orbcorp/orb-java/commit/1ce04bdccc4ef3026fb794df0c9ecf658e328278))
36+
337
## 0.57.0 (2025-05-22)
438

539
Full Changelog: [v0.56.0...v0.57.0](https://github.com/orbcorp/orb-java/compare/v0.56.0...v0.57.0)

README.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
<!-- x-release-please-start-version -->
44

5-
[![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.57.0)
5+
[![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.0.0)
66

77
<!-- x-release-please-end -->
88

@@ -19,7 +19,7 @@ The REST API documentation can be found on [docs.withorb.com](https://docs.witho
1919
### Gradle
2020

2121
```kotlin
22-
implementation("com.withorb.api:orb-java:0.57.0")
22+
implementation("com.withorb.api:orb-java:1.0.0")
2323
```
2424

2525
### Maven
@@ -28,7 +28,7 @@ implementation("com.withorb.api:orb-java:0.57.0")
2828
<dependency>
2929
<groupId>com.withorb.api</groupId>
3030
<artifactId>orb-java</artifactId>
31-
<version>0.57.0</version>
31+
<version>1.0.0</version>
3232
</dependency>
3333
```
3434

@@ -486,10 +486,11 @@ To set undocumented parameters on _nested_ headers, query params, or body classe
486486

487487
```java
488488
import com.withorb.api.core.JsonValue;
489+
import com.withorb.api.models.AddressInput;
489490
import com.withorb.api.models.CustomerCreateParams;
490491

491492
CustomerCreateParams params = CustomerCreateParams.builder()
492-
.billingAddress(CustomerCreateParams.BillingAddress.builder()
493+
.billingAddress(AddressInput.builder()
493494
.putAdditionalProperty("secretProperty", JsonValue.from("42"))
494495
.build())
495496
.build();

build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
allprojects {
22
group = "com.withorb.api"
3-
version = "0.57.0" // x-release-please-version
3+
version = "1.0.0" // x-release-please-version
44
}

orb-java-core/src/main/kotlin/com/withorb/api/client/OrbClient.kt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
package com.withorb.api.client
44

55
import com.withorb.api.services.blocking.AlertService
6+
import com.withorb.api.services.blocking.BetaService
67
import com.withorb.api.services.blocking.CouponService
78
import com.withorb.api.services.blocking.CreditNoteService
89
import com.withorb.api.services.blocking.CustomerService
@@ -50,6 +51,8 @@ interface OrbClient {
5051

5152
fun topLevel(): TopLevelService
5253

54+
fun beta(): BetaService
55+
5356
fun coupons(): CouponService
5457

5558
fun creditNotes(): CreditNoteService
@@ -98,6 +101,8 @@ interface OrbClient {
98101

99102
fun topLevel(): TopLevelService.WithRawResponse
100103

104+
fun beta(): BetaService.WithRawResponse
105+
101106
fun coupons(): CouponService.WithRawResponse
102107

103108
fun creditNotes(): CreditNoteService.WithRawResponse

orb-java-core/src/main/kotlin/com/withorb/api/client/OrbClientAsync.kt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
package com.withorb.api.client
44

55
import com.withorb.api.services.async.AlertServiceAsync
6+
import com.withorb.api.services.async.BetaServiceAsync
67
import com.withorb.api.services.async.CouponServiceAsync
78
import com.withorb.api.services.async.CreditNoteServiceAsync
89
import com.withorb.api.services.async.CustomerServiceAsync
@@ -49,6 +50,8 @@ interface OrbClientAsync {
4950

5051
fun topLevel(): TopLevelServiceAsync
5152

53+
fun beta(): BetaServiceAsync
54+
5255
fun coupons(): CouponServiceAsync
5356

5457
fun creditNotes(): CreditNoteServiceAsync
@@ -95,6 +98,8 @@ interface OrbClientAsync {
9598

9699
fun topLevel(): TopLevelServiceAsync.WithRawResponse
97100

101+
fun beta(): BetaServiceAsync.WithRawResponse
102+
98103
fun coupons(): CouponServiceAsync.WithRawResponse
99104

100105
fun creditNotes(): CreditNoteServiceAsync.WithRawResponse

orb-java-core/src/main/kotlin/com/withorb/api/client/OrbClientAsyncImpl.kt

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ import com.withorb.api.core.ClientOptions
66
import com.withorb.api.core.getPackageVersion
77
import com.withorb.api.services.async.AlertServiceAsync
88
import com.withorb.api.services.async.AlertServiceAsyncImpl
9+
import com.withorb.api.services.async.BetaServiceAsync
10+
import com.withorb.api.services.async.BetaServiceAsyncImpl
911
import com.withorb.api.services.async.CouponServiceAsync
1012
import com.withorb.api.services.async.CouponServiceAsyncImpl
1113
import com.withorb.api.services.async.CreditNoteServiceAsync
@@ -56,6 +58,8 @@ class OrbClientAsyncImpl(private val clientOptions: ClientOptions) : OrbClientAs
5658
TopLevelServiceAsyncImpl(clientOptionsWithUserAgent)
5759
}
5860

61+
private val beta: BetaServiceAsync by lazy { BetaServiceAsyncImpl(clientOptionsWithUserAgent) }
62+
5963
private val coupons: CouponServiceAsync by lazy {
6064
CouponServiceAsyncImpl(clientOptionsWithUserAgent)
6165
}
@@ -114,6 +118,8 @@ class OrbClientAsyncImpl(private val clientOptions: ClientOptions) : OrbClientAs
114118

115119
override fun topLevel(): TopLevelServiceAsync = topLevel
116120

121+
override fun beta(): BetaServiceAsync = beta
122+
117123
override fun coupons(): CouponServiceAsync = coupons
118124

119125
override fun creditNotes(): CreditNoteServiceAsync = creditNotes
@@ -152,6 +158,10 @@ class OrbClientAsyncImpl(private val clientOptions: ClientOptions) : OrbClientAs
152158
TopLevelServiceAsyncImpl.WithRawResponseImpl(clientOptions)
153159
}
154160

161+
private val beta: BetaServiceAsync.WithRawResponse by lazy {
162+
BetaServiceAsyncImpl.WithRawResponseImpl(clientOptions)
163+
}
164+
155165
private val coupons: CouponServiceAsync.WithRawResponse by lazy {
156166
CouponServiceAsyncImpl.WithRawResponseImpl(clientOptions)
157167
}
@@ -211,6 +221,8 @@ class OrbClientAsyncImpl(private val clientOptions: ClientOptions) : OrbClientAs
211221

212222
override fun topLevel(): TopLevelServiceAsync.WithRawResponse = topLevel
213223

224+
override fun beta(): BetaServiceAsync.WithRawResponse = beta
225+
214226
override fun coupons(): CouponServiceAsync.WithRawResponse = coupons
215227

216228
override fun creditNotes(): CreditNoteServiceAsync.WithRawResponse = creditNotes

orb-java-core/src/main/kotlin/com/withorb/api/client/OrbClientImpl.kt

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ import com.withorb.api.core.ClientOptions
66
import com.withorb.api.core.getPackageVersion
77
import com.withorb.api.services.blocking.AlertService
88
import com.withorb.api.services.blocking.AlertServiceImpl
9+
import com.withorb.api.services.blocking.BetaService
10+
import com.withorb.api.services.blocking.BetaServiceImpl
911
import com.withorb.api.services.blocking.CouponService
1012
import com.withorb.api.services.blocking.CouponServiceImpl
1113
import com.withorb.api.services.blocking.CreditNoteService
@@ -58,6 +60,8 @@ class OrbClientImpl(private val clientOptions: ClientOptions) : OrbClient {
5860
TopLevelServiceImpl(clientOptionsWithUserAgent)
5961
}
6062

63+
private val beta: BetaService by lazy { BetaServiceImpl(clientOptionsWithUserAgent) }
64+
6165
private val coupons: CouponService by lazy { CouponServiceImpl(clientOptionsWithUserAgent) }
6266

6367
private val creditNotes: CreditNoteService by lazy {
@@ -106,6 +110,8 @@ class OrbClientImpl(private val clientOptions: ClientOptions) : OrbClient {
106110

107111
override fun topLevel(): TopLevelService = topLevel
108112

113+
override fun beta(): BetaService = beta
114+
109115
override fun coupons(): CouponService = coupons
110116

111117
override fun creditNotes(): CreditNoteService = creditNotes
@@ -145,6 +151,10 @@ class OrbClientImpl(private val clientOptions: ClientOptions) : OrbClient {
145151
TopLevelServiceImpl.WithRawResponseImpl(clientOptions)
146152
}
147153

154+
private val beta: BetaService.WithRawResponse by lazy {
155+
BetaServiceImpl.WithRawResponseImpl(clientOptions)
156+
}
157+
148158
private val coupons: CouponService.WithRawResponse by lazy {
149159
CouponServiceImpl.WithRawResponseImpl(clientOptions)
150160
}
@@ -203,6 +213,8 @@ class OrbClientImpl(private val clientOptions: ClientOptions) : OrbClient {
203213

204214
override fun topLevel(): TopLevelService.WithRawResponse = topLevel
205215

216+
override fun beta(): BetaService.WithRawResponse = beta
217+
206218
override fun coupons(): CouponService.WithRawResponse = coupons
207219

208220
override fun creditNotes(): CreditNoteService.WithRawResponse = creditNotes

0 commit comments

Comments
 (0)