Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
".": "0.57.0"
".": "1.0.0"
}
8 changes: 4 additions & 4 deletions .stats.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
configured_endpoints: 106
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/orb%2Forb-e8dad7eee5621fe2ba948dfd00dabf170d9d92ce615a9f04b0f546f4d8bf39ba.yml
openapi_spec_hash: 3f6a98e3a1b3a47acebd67a960090ebf
config_hash: f6da12790e8f46d93592def474d41c69
configured_endpoints: 116
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/orb%2Forb-c2a4808c828c8288c5c8dfe2fdfa51d4d7c1bcc33cacc6b859d0cf4b35ce95cc.yml
openapi_spec_hash: a2b5a1bfabbd03dd1b411791576eb502
config_hash: 3c3524be9607afb24d2139ce26ce5389
34 changes: 34 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,39 @@
# Changelog

## 1.0.0 (2025-06-09)

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

### ⚠ BREAKING CHANGES

* **client:** breaking change to re-use types

### Features

* **api:** api update ([70f55e5](https://github.com/orbcorp/orb-java/commit/70f55e57fd7acb1d5058f4770b0e222a6aaf4fcc))
* **api:** api update ([180d51e](https://github.com/orbcorp/orb-java/commit/180d51ed43302de208c9f4208664f6a455bd5978))
* **api:** api update ([6d3367a](https://github.com/orbcorp/orb-java/commit/6d3367a305cf01dbb74c513b64a4f737b615b8d9))
* **api:** api update ([0bfa7ad](https://github.com/orbcorp/orb-java/commit/0bfa7ad4505968ced36fbaed8ab015de46c64760))
* **api:** api update ([616608c](https://github.com/orbcorp/orb-java/commit/616608cb60c88dee8de7580c2abb2031f5f6205c))
* **api:** api update ([7bbb55e](https://github.com/orbcorp/orb-java/commit/7bbb55e038c687ab12f6db551693033fe96e6bdd))
* **api:** api update ([7f05af6](https://github.com/orbcorp/orb-java/commit/7f05af623a35433d841f0d333ba7b53fa4adb693))
* **api:** manual updates ([0efca0a](https://github.com/orbcorp/orb-java/commit/0efca0a760f1f7db7ce5cd7388d02f378645e9f2))
* **api:** manual updates ([a419c35](https://github.com/orbcorp/orb-java/commit/a419c35477d728f555315d0151a788d361f67813))
* **client:** breaking change to re-use types ([ad6e081](https://github.com/orbcorp/orb-java/commit/ad6e081eb0c059369d5a11863d9a4d0fd7f6749c))


### Bug Fixes

* **internal:** cleaning up custom code ([a646246](https://github.com/orbcorp/orb-java/commit/a646246bf46caba04761d1dbdcbf0f2254a802de))
* **internal:** fix typing error ([31cc02e](https://github.com/orbcorp/orb-java/commit/31cc02e9ab39fd0f6292f73d43914f626c3dad16))


### Chores

* **internal:** codegen related update ([0907df6](https://github.com/orbcorp/orb-java/commit/0907df61778f4c5aee9f24a6d5e7a5b4d30c5d43))
* **internal:** codegen related update ([2a0fdab](https://github.com/orbcorp/orb-java/commit/2a0fdabe411a2d31333ad84e843b8f173428b168))
* **internal:** codegen related update ([1ce04bd](https://github.com/orbcorp/orb-java/commit/1ce04bdccc4ef3026fb794df0c9ecf658e328278))

## 0.57.0 (2025-05-22)

Full Changelog: [v0.56.0...v0.57.0](https://github.com/orbcorp/orb-java/compare/v0.56.0...v0.57.0)
Expand Down
9 changes: 5 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

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

[![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)
[![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)

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

Expand All @@ -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.57.0")
implementation("com.withorb.api:orb-java:1.0.0")
```

### Maven
Expand All @@ -28,7 +28,7 @@ implementation("com.withorb.api:orb-java:0.57.0")
<dependency>
<groupId>com.withorb.api</groupId>
<artifactId>orb-java</artifactId>
<version>0.57.0</version>
<version>1.0.0</version>
</dependency>
```

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

```java
import com.withorb.api.core.JsonValue;
import com.withorb.api.models.AddressInput;
import com.withorb.api.models.CustomerCreateParams;

CustomerCreateParams params = CustomerCreateParams.builder()
.billingAddress(CustomerCreateParams.BillingAddress.builder()
.billingAddress(AddressInput.builder()
.putAdditionalProperty("secretProperty", JsonValue.from("42"))
.build())
.build();
Expand Down
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
allprojects {
group = "com.withorb.api"
version = "0.57.0" // x-release-please-version
version = "1.0.0" // x-release-please-version
}
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
package com.withorb.api.client

import com.withorb.api.services.blocking.AlertService
import com.withorb.api.services.blocking.BetaService
import com.withorb.api.services.blocking.CouponService
import com.withorb.api.services.blocking.CreditNoteService
import com.withorb.api.services.blocking.CustomerService
Expand Down Expand Up @@ -50,6 +51,8 @@ interface OrbClient {

fun topLevel(): TopLevelService

fun beta(): BetaService

fun coupons(): CouponService

fun creditNotes(): CreditNoteService
Expand Down Expand Up @@ -98,6 +101,8 @@ interface OrbClient {

fun topLevel(): TopLevelService.WithRawResponse

fun beta(): BetaService.WithRawResponse

fun coupons(): CouponService.WithRawResponse

fun creditNotes(): CreditNoteService.WithRawResponse
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
package com.withorb.api.client

import com.withorb.api.services.async.AlertServiceAsync
import com.withorb.api.services.async.BetaServiceAsync
import com.withorb.api.services.async.CouponServiceAsync
import com.withorb.api.services.async.CreditNoteServiceAsync
import com.withorb.api.services.async.CustomerServiceAsync
Expand Down Expand Up @@ -49,6 +50,8 @@ interface OrbClientAsync {

fun topLevel(): TopLevelServiceAsync

fun beta(): BetaServiceAsync

fun coupons(): CouponServiceAsync

fun creditNotes(): CreditNoteServiceAsync
Expand Down Expand Up @@ -95,6 +98,8 @@ interface OrbClientAsync {

fun topLevel(): TopLevelServiceAsync.WithRawResponse

fun beta(): BetaServiceAsync.WithRawResponse

fun coupons(): CouponServiceAsync.WithRawResponse

fun creditNotes(): CreditNoteServiceAsync.WithRawResponse
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ import com.withorb.api.core.ClientOptions
import com.withorb.api.core.getPackageVersion
import com.withorb.api.services.async.AlertServiceAsync
import com.withorb.api.services.async.AlertServiceAsyncImpl
import com.withorb.api.services.async.BetaServiceAsync
import com.withorb.api.services.async.BetaServiceAsyncImpl
import com.withorb.api.services.async.CouponServiceAsync
import com.withorb.api.services.async.CouponServiceAsyncImpl
import com.withorb.api.services.async.CreditNoteServiceAsync
Expand Down Expand Up @@ -56,6 +58,8 @@ class OrbClientAsyncImpl(private val clientOptions: ClientOptions) : OrbClientAs
TopLevelServiceAsyncImpl(clientOptionsWithUserAgent)
}

private val beta: BetaServiceAsync by lazy { BetaServiceAsyncImpl(clientOptionsWithUserAgent) }

private val coupons: CouponServiceAsync by lazy {
CouponServiceAsyncImpl(clientOptionsWithUserAgent)
}
Expand Down Expand Up @@ -114,6 +118,8 @@ class OrbClientAsyncImpl(private val clientOptions: ClientOptions) : OrbClientAs

override fun topLevel(): TopLevelServiceAsync = topLevel

override fun beta(): BetaServiceAsync = beta

override fun coupons(): CouponServiceAsync = coupons

override fun creditNotes(): CreditNoteServiceAsync = creditNotes
Expand Down Expand Up @@ -152,6 +158,10 @@ class OrbClientAsyncImpl(private val clientOptions: ClientOptions) : OrbClientAs
TopLevelServiceAsyncImpl.WithRawResponseImpl(clientOptions)
}

private val beta: BetaServiceAsync.WithRawResponse by lazy {
BetaServiceAsyncImpl.WithRawResponseImpl(clientOptions)
}

private val coupons: CouponServiceAsync.WithRawResponse by lazy {
CouponServiceAsyncImpl.WithRawResponseImpl(clientOptions)
}
Expand Down Expand Up @@ -211,6 +221,8 @@ class OrbClientAsyncImpl(private val clientOptions: ClientOptions) : OrbClientAs

override fun topLevel(): TopLevelServiceAsync.WithRawResponse = topLevel

override fun beta(): BetaServiceAsync.WithRawResponse = beta

override fun coupons(): CouponServiceAsync.WithRawResponse = coupons

override fun creditNotes(): CreditNoteServiceAsync.WithRawResponse = creditNotes
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ import com.withorb.api.core.ClientOptions
import com.withorb.api.core.getPackageVersion
import com.withorb.api.services.blocking.AlertService
import com.withorb.api.services.blocking.AlertServiceImpl
import com.withorb.api.services.blocking.BetaService
import com.withorb.api.services.blocking.BetaServiceImpl
import com.withorb.api.services.blocking.CouponService
import com.withorb.api.services.blocking.CouponServiceImpl
import com.withorb.api.services.blocking.CreditNoteService
Expand Down Expand Up @@ -58,6 +60,8 @@ class OrbClientImpl(private val clientOptions: ClientOptions) : OrbClient {
TopLevelServiceImpl(clientOptionsWithUserAgent)
}

private val beta: BetaService by lazy { BetaServiceImpl(clientOptionsWithUserAgent) }

private val coupons: CouponService by lazy { CouponServiceImpl(clientOptionsWithUserAgent) }

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

override fun topLevel(): TopLevelService = topLevel

override fun beta(): BetaService = beta

override fun coupons(): CouponService = coupons

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

private val beta: BetaService.WithRawResponse by lazy {
BetaServiceImpl.WithRawResponseImpl(clientOptions)
}

private val coupons: CouponService.WithRawResponse by lazy {
CouponServiceImpl.WithRawResponseImpl(clientOptions)
}
Expand Down Expand Up @@ -203,6 +213,8 @@ class OrbClientImpl(private val clientOptions: ClientOptions) : OrbClient {

override fun topLevel(): TopLevelService.WithRawResponse = topLevel

override fun beta(): BetaService.WithRawResponse = beta

override fun coupons(): CouponService.WithRawResponse = coupons

override fun creditNotes(): CreditNoteService.WithRawResponse = creditNotes
Expand Down
Loading