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
Jump to file
Failed to load files.
Loading
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.54.0"
".": "0.55.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: 103
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/orb%2Forb-95a3d7780935a38e0cf076d4ad2d68bd1a5641bced8398d972db2e92751d364a.yml
openapi_spec_hash: 9ebe818c4ad4f2d9c4e473b5192d7544
config_hash: 54edf41f0377bc235f622fdaa7405f22
configured_endpoints: 106
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/orb%2Forb-e8dad7eee5621fe2ba948dfd00dabf170d9d92ce615a9f04b0f546f4d8bf39ba.yml
openapi_spec_hash: 3f6a98e3a1b3a47acebd67a960090ebf
config_hash: 7e523cf79552b8936bd772f2e1025e5f
14 changes: 14 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,19 @@
# Changelog

## 0.55.0 (2025-04-08)

Full Changelog: [v0.54.0...v0.55.0](https://github.com/orbcorp/orb-java/compare/v0.54.0...v0.55.0)

### Features

* **api:** api update ([#391](https://github.com/orbcorp/orb-java/issues/391)) ([7d1978f](https://github.com/orbcorp/orb-java/commit/7d1978fec3bc01cb0a02fff2433dcf4077469f58))


### Chores

* **internal:** codegen related update ([#393](https://github.com/orbcorp/orb-java/issues/393)) ([e941542](https://github.com/orbcorp/orb-java/commit/e941542e549401f37058816a428e6d334fa57d01))
* **tests:** improve enum examples ([#394](https://github.com/orbcorp/orb-java/issues/394)) ([f1c810a](https://github.com/orbcorp/orb-java/commit/f1c810a7fd6a67722803f9baa6182a32d0644f1f))

## 0.54.0 (2025-04-07)

Full Changelog: [v0.53.0...v0.54.0](https://github.com/orbcorp/orb-java/compare/v0.53.0...v0.54.0)
Expand Down
6 changes: 3 additions & 3 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.54.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.55.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.54.0")
implementation("com.withorb.api:orb-java:0.55.0")
```

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

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.54.0" // x-release-please-version
version = "0.55.0" // x-release-please-version
}
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ import com.withorb.api.services.blocking.ItemService
import com.withorb.api.services.blocking.MetricService
import com.withorb.api.services.blocking.PlanService
import com.withorb.api.services.blocking.PriceService
import com.withorb.api.services.blocking.SubscriptionChangeService
import com.withorb.api.services.blocking.SubscriptionService
import com.withorb.api.services.blocking.TopLevelService
import com.withorb.api.services.blocking.WebhookService
Expand Down Expand Up @@ -77,6 +78,8 @@ interface OrbClient {

fun dimensionalPriceGroups(): DimensionalPriceGroupService

fun subscriptionChanges(): SubscriptionChangeService

/**
* Closes this client, relinquishing any underlying resources.
*
Expand Down Expand Up @@ -120,5 +123,7 @@ interface OrbClient {
fun alerts(): AlertService.WithRawResponse

fun dimensionalPriceGroups(): DimensionalPriceGroupService.WithRawResponse

fun subscriptionChanges(): SubscriptionChangeService.WithRawResponse
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ import com.withorb.api.services.async.ItemServiceAsync
import com.withorb.api.services.async.MetricServiceAsync
import com.withorb.api.services.async.PlanServiceAsync
import com.withorb.api.services.async.PriceServiceAsync
import com.withorb.api.services.async.SubscriptionChangeServiceAsync
import com.withorb.api.services.async.SubscriptionServiceAsync
import com.withorb.api.services.async.TopLevelServiceAsync

Expand Down Expand Up @@ -74,6 +75,8 @@ interface OrbClientAsync {

fun dimensionalPriceGroups(): DimensionalPriceGroupServiceAsync

fun subscriptionChanges(): SubscriptionChangeServiceAsync

/**
* Closes this client, relinquishing any underlying resources.
*
Expand Down Expand Up @@ -117,5 +120,7 @@ interface OrbClientAsync {
fun alerts(): AlertServiceAsync.WithRawResponse

fun dimensionalPriceGroups(): DimensionalPriceGroupServiceAsync.WithRawResponse

fun subscriptionChanges(): SubscriptionChangeServiceAsync.WithRawResponse
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ import com.withorb.api.services.async.PlanServiceAsync
import com.withorb.api.services.async.PlanServiceAsyncImpl
import com.withorb.api.services.async.PriceServiceAsync
import com.withorb.api.services.async.PriceServiceAsyncImpl
import com.withorb.api.services.async.SubscriptionChangeServiceAsync
import com.withorb.api.services.async.SubscriptionChangeServiceAsyncImpl
import com.withorb.api.services.async.SubscriptionServiceAsync
import com.withorb.api.services.async.SubscriptionServiceAsyncImpl
import com.withorb.api.services.async.TopLevelServiceAsync
Expand Down Expand Up @@ -102,6 +104,10 @@ class OrbClientAsyncImpl(private val clientOptions: ClientOptions) : OrbClientAs
DimensionalPriceGroupServiceAsyncImpl(clientOptionsWithUserAgent)
}

private val subscriptionChanges: SubscriptionChangeServiceAsync by lazy {
SubscriptionChangeServiceAsyncImpl(clientOptionsWithUserAgent)
}

override fun sync(): OrbClient = sync

override fun withRawResponse(): OrbClientAsync.WithRawResponse = withRawResponse
Expand Down Expand Up @@ -135,6 +141,8 @@ class OrbClientAsyncImpl(private val clientOptions: ClientOptions) : OrbClientAs
override fun dimensionalPriceGroups(): DimensionalPriceGroupServiceAsync =
dimensionalPriceGroups

override fun subscriptionChanges(): SubscriptionChangeServiceAsync = subscriptionChanges

override fun close() = clientOptions.httpClient.close()

class WithRawResponseImpl internal constructor(private val clientOptions: ClientOptions) :
Expand Down Expand Up @@ -197,6 +205,10 @@ class OrbClientAsyncImpl(private val clientOptions: ClientOptions) : OrbClientAs
DimensionalPriceGroupServiceAsyncImpl.WithRawResponseImpl(clientOptions)
}

private val subscriptionChanges: SubscriptionChangeServiceAsync.WithRawResponse by lazy {
SubscriptionChangeServiceAsyncImpl.WithRawResponseImpl(clientOptions)
}

override fun topLevel(): TopLevelServiceAsync.WithRawResponse = topLevel

override fun coupons(): CouponServiceAsync.WithRawResponse = coupons
Expand Down Expand Up @@ -226,5 +238,8 @@ class OrbClientAsyncImpl(private val clientOptions: ClientOptions) : OrbClientAs

override fun dimensionalPriceGroups(): DimensionalPriceGroupServiceAsync.WithRawResponse =
dimensionalPriceGroups

override fun subscriptionChanges(): SubscriptionChangeServiceAsync.WithRawResponse =
subscriptionChanges
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ import com.withorb.api.services.blocking.PlanService
import com.withorb.api.services.blocking.PlanServiceImpl
import com.withorb.api.services.blocking.PriceService
import com.withorb.api.services.blocking.PriceServiceImpl
import com.withorb.api.services.blocking.SubscriptionChangeService
import com.withorb.api.services.blocking.SubscriptionChangeServiceImpl
import com.withorb.api.services.blocking.SubscriptionService
import com.withorb.api.services.blocking.SubscriptionServiceImpl
import com.withorb.api.services.blocking.TopLevelService
Expand Down Expand Up @@ -94,6 +96,10 @@ class OrbClientImpl(private val clientOptions: ClientOptions) : OrbClient {

private val webhooks: WebhookService by lazy { WebhookServiceImpl(clientOptions) }

private val subscriptionChanges: SubscriptionChangeService by lazy {
SubscriptionChangeServiceImpl(clientOptionsWithUserAgent)
}

override fun async(): OrbClientAsync = async

override fun withRawResponse(): OrbClient.WithRawResponse = withRawResponse
Expand Down Expand Up @@ -128,6 +134,8 @@ class OrbClientImpl(private val clientOptions: ClientOptions) : OrbClient {

override fun dimensionalPriceGroups(): DimensionalPriceGroupService = dimensionalPriceGroups

override fun subscriptionChanges(): SubscriptionChangeService = subscriptionChanges

override fun close() = clientOptions.httpClient.close()

class WithRawResponseImpl internal constructor(private val clientOptions: ClientOptions) :
Expand Down Expand Up @@ -189,6 +197,10 @@ class OrbClientImpl(private val clientOptions: ClientOptions) : OrbClient {
DimensionalPriceGroupServiceImpl.WithRawResponseImpl(clientOptions)
}

private val subscriptionChanges: SubscriptionChangeService.WithRawResponse by lazy {
SubscriptionChangeServiceImpl.WithRawResponseImpl(clientOptions)
}

override fun topLevel(): TopLevelService.WithRawResponse = topLevel

override fun coupons(): CouponService.WithRawResponse = coupons
Expand Down Expand Up @@ -217,5 +229,8 @@ class OrbClientImpl(private val clientOptions: ClientOptions) : OrbClient {

override fun dimensionalPriceGroups(): DimensionalPriceGroupService.WithRawResponse =
dimensionalPriceGroups

override fun subscriptionChanges(): SubscriptionChangeService.WithRawResponse =
subscriptionChanges
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -351,7 +351,7 @@ private constructor(
* |Norway |`no_voec` |Norwegian VAT on e-commerce Number |
* |Oman |`om_vat` |Omani VAT Number |
* |Peru |`pe_ruc` |Peruvian RUC Number |
* |Philippines |`ph_tin ` |Philippines Tax Identification Number |
* |Philippines |`ph_tin ` |Philippines Tax Identification Number |
* |Poland |`eu_vat` |European VAT Number |
* |Portugal |`eu_vat` |European VAT Number |
* |Romania |`eu_vat` |European VAT Number |
Expand Down Expand Up @@ -1068,7 +1068,7 @@ private constructor(
* |Norway |`no_voec` |Norwegian VAT on e-commerce Number |
* |Oman |`om_vat` |Omani VAT Number |
* |Peru |`pe_ruc` |Peruvian RUC Number |
* |Philippines |`ph_tin ` |Philippines Tax Identification Number |
* |Philippines |`ph_tin ` |Philippines Tax Identification Number |
* |Poland |`eu_vat` |European VAT Number |
* |Portugal |`eu_vat` |European VAT Number |
* |Romania |`eu_vat` |European VAT Number |
Expand Down Expand Up @@ -2968,7 +2968,7 @@ private constructor(
* |Norway |`no_voec` |Norwegian VAT on e-commerce Number |
* |Oman |`om_vat` |Omani VAT Number |
* |Peru |`pe_ruc` |Peruvian RUC Number |
* |Philippines |`ph_tin ` |Philippines Tax Identification Number |
* |Philippines |`ph_tin ` |Philippines Tax Identification Number |
* |Poland |`eu_vat` |European VAT Number |
* |Portugal |`eu_vat` |European VAT Number |
* |Romania |`eu_vat` |European VAT Number |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@ private constructor(
* |Norway |`no_voec` |Norwegian VAT on e-commerce Number |
* |Oman |`om_vat` |Omani VAT Number |
* |Peru |`pe_ruc` |Peruvian RUC Number |
* |Philippines |`ph_tin ` |Philippines Tax Identification Number |
* |Philippines |`ph_tin ` |Philippines Tax Identification Number |
* |Poland |`eu_vat` |European VAT Number |
* |Portugal |`eu_vat` |European VAT Number |
* |Romania |`eu_vat` |European VAT Number |
Expand Down Expand Up @@ -934,7 +934,7 @@ private constructor(
* |Norway |`no_voec` |Norwegian VAT on e-commerce Number |
* |Oman |`om_vat` |Omani VAT Number |
* |Peru |`pe_ruc` |Peruvian RUC Number |
* |Philippines |`ph_tin ` |Philippines Tax Identification Number |
* |Philippines |`ph_tin ` |Philippines Tax Identification Number |
* |Poland |`eu_vat` |European VAT Number |
* |Portugal |`eu_vat` |European VAT Number |
* |Romania |`eu_vat` |European VAT Number |
Expand Down Expand Up @@ -1444,7 +1444,7 @@ private constructor(
* |Norway |`no_voec` |Norwegian VAT on e-commerce Number |
* |Oman |`om_vat` |Omani VAT Number |
* |Peru |`pe_ruc` |Peruvian RUC Number |
* |Philippines |`ph_tin ` |Philippines Tax Identification Number |
* |Philippines |`ph_tin ` |Philippines Tax Identification Number |
* |Poland |`eu_vat` |European VAT Number |
* |Portugal |`eu_vat` |European VAT Number |
* |Romania |`eu_vat` |European VAT Number |
Expand Down Expand Up @@ -2198,7 +2198,7 @@ private constructor(
* |Norway |`no_voec` |Norwegian VAT on e-commerce Number |
* |Oman |`om_vat` |Omani VAT Number |
* |Peru |`pe_ruc` |Peruvian RUC Number |
* |Philippines |`ph_tin ` |Philippines Tax Identification Number |
* |Philippines |`ph_tin ` |Philippines Tax Identification Number |
* |Poland |`eu_vat` |European VAT Number |
* |Portugal |`eu_vat` |European VAT Number |
* |Romania |`eu_vat` |European VAT Number |
Expand Down Expand Up @@ -5072,7 +5072,7 @@ private constructor(
* |Norway |`no_voec` |Norwegian VAT on e-commerce Number |
* |Oman |`om_vat` |Omani VAT Number |
* |Peru |`pe_ruc` |Peruvian RUC Number |
* |Philippines |`ph_tin ` |Philippines Tax Identification Number |
* |Philippines |`ph_tin ` |Philippines Tax Identification Number |
* |Poland |`eu_vat` |European VAT Number |
* |Portugal |`eu_vat` |European VAT Number |
* |Romania |`eu_vat` |European VAT Number |
Expand Down
Loading
Loading