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.23.0"
".": "0.23.1"
}
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Changelog

## 0.23.1 (2025-01-20)

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

### Bug Fixes

* **client:** make service impl constructors internal ([#208](https://github.com/orbcorp/orb-java/issues/208)) ([50db282](https://github.com/orbcorp/orb-java/commit/50db282d60416892f293c80c9e5c0e34187f2a8c))

## 0.23.0 (2025-01-18)

Full Changelog: [v0.22.0...v0.23.0](https://github.com/orbcorp/orb-java/compare/v0.22.0...v0.23.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.23.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.23.1)

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

Expand All @@ -25,7 +25,7 @@ The REST API documentation can be found on [docs.withorb.com](https://docs.with
<!-- x-release-please-start-version -->

```kotlin
implementation("com.withorb.api:orb-java:0.23.0")
implementation("com.withorb.api:orb-java:0.23.1")
```

#### Maven
Expand All @@ -34,7 +34,7 @@ implementation("com.withorb.api:orb-java:0.23.0")
<dependency>
<groupId>com.withorb.api</groupId>
<artifactId>orb-java</artifactId>
<version>0.23.0</version>
<version>0.23.1</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.23.0" // x-release-please-version
version = "0.23.1" // x-release-please-version
}
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ import com.withorb.api.models.AlertUpdateParams
import java.util.concurrent.CompletableFuture

class AlertServiceAsyncImpl
constructor(
internal constructor(
private val clientOptions: ClientOptions,
) : AlertServiceAsync {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import com.withorb.api.services.async.coupons.SubscriptionServiceAsyncImpl
import java.util.concurrent.CompletableFuture

class CouponServiceAsyncImpl
constructor(
internal constructor(
private val clientOptions: ClientOptions,
) : CouponServiceAsync {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import com.withorb.api.models.CreditNoteListParams
import java.util.concurrent.CompletableFuture

class CreditNoteServiceAsyncImpl
constructor(
internal constructor(
private val clientOptions: ClientOptions,
) : CreditNoteServiceAsync {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ import com.withorb.api.services.async.customers.CreditServiceAsyncImpl
import java.util.concurrent.CompletableFuture

class CustomerServiceAsyncImpl
constructor(
internal constructor(
private val clientOptions: ClientOptions,
) : CustomerServiceAsync {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import com.withorb.api.services.async.dimensionalPriceGroups.ExternalDimensional
import java.util.concurrent.CompletableFuture

class DimensionalPriceGroupServiceAsyncImpl
constructor(
internal constructor(
private val clientOptions: ClientOptions,
) : DimensionalPriceGroupServiceAsync {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ import com.withorb.api.services.async.events.VolumeServiceAsyncImpl
import java.util.concurrent.CompletableFuture

class EventServiceAsyncImpl
constructor(
internal constructor(
private val clientOptions: ClientOptions,
) : EventServiceAsync {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import com.withorb.api.models.InvoiceLineItemCreateResponse
import java.util.concurrent.CompletableFuture

class InvoiceLineItemServiceAsyncImpl
constructor(
internal constructor(
private val clientOptions: ClientOptions,
) : InvoiceLineItemServiceAsync {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ import com.withorb.api.models.InvoiceVoidInvoiceParams
import java.util.concurrent.CompletableFuture

class InvoiceServiceAsyncImpl
constructor(
internal constructor(
private val clientOptions: ClientOptions,
) : InvoiceServiceAsync {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import com.withorb.api.models.ItemUpdateParams
import java.util.concurrent.CompletableFuture

class ItemServiceAsyncImpl
constructor(
internal constructor(
private val clientOptions: ClientOptions,
) : ItemServiceAsync {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import com.withorb.api.models.MetricUpdateParams
import java.util.concurrent.CompletableFuture

class MetricServiceAsyncImpl
constructor(
internal constructor(
private val clientOptions: ClientOptions,
) : MetricServiceAsync {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import com.withorb.api.services.async.plans.ExternalPlanIdServiceAsyncImpl
import java.util.concurrent.CompletableFuture

class PlanServiceAsyncImpl
constructor(
internal constructor(
private val clientOptions: ClientOptions,
) : PlanServiceAsync {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ import com.withorb.api.services.async.prices.ExternalPriceIdServiceAsyncImpl
import java.util.concurrent.CompletableFuture

class PriceServiceAsyncImpl
constructor(
internal constructor(
private val clientOptions: ClientOptions,
) : PriceServiceAsync {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ import com.withorb.api.models.SubscriptionUsage
import java.util.concurrent.CompletableFuture

class SubscriptionServiceAsyncImpl
constructor(
internal constructor(
private val clientOptions: ClientOptions,
) : SubscriptionServiceAsync {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import com.withorb.api.models.TopLevelPingResponse
import java.util.concurrent.CompletableFuture

class TopLevelServiceAsyncImpl
constructor(
internal constructor(
private val clientOptions: ClientOptions,
) : TopLevelServiceAsync {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import com.withorb.api.models.CouponSubscriptionListParams
import java.util.concurrent.CompletableFuture

class SubscriptionServiceAsyncImpl
constructor(
internal constructor(
private val clientOptions: ClientOptions,
) : SubscriptionServiceAsync {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import com.withorb.api.models.CustomerBalanceTransactionListParams
import java.util.concurrent.CompletableFuture

class BalanceTransactionServiceAsyncImpl
constructor(
internal constructor(
private val clientOptions: ClientOptions,
) : BalanceTransactionServiceAsync {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import com.withorb.api.models.CustomerCostListResponse
import java.util.concurrent.CompletableFuture

class CostServiceAsyncImpl
constructor(
internal constructor(
private val clientOptions: ClientOptions,
) : CostServiceAsync {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import com.withorb.api.services.async.customers.credits.TopUpServiceAsyncImpl
import java.util.concurrent.CompletableFuture

class CreditServiceAsyncImpl
constructor(
internal constructor(
private val clientOptions: ClientOptions,
) : CreditServiceAsync {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import com.withorb.api.models.CustomerCreditLedgerListParams
import java.util.concurrent.CompletableFuture

class LedgerServiceAsyncImpl
constructor(
internal constructor(
private val clientOptions: ClientOptions,
) : LedgerServiceAsync {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ import com.withorb.api.models.CustomerCreditTopUpListParams
import java.util.concurrent.CompletableFuture

class TopUpServiceAsyncImpl
constructor(
internal constructor(
private val clientOptions: ClientOptions,
) : TopUpServiceAsync {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import com.withorb.api.models.DimensionalPriceGroupExternalDimensionalPriceGroup
import java.util.concurrent.CompletableFuture

class ExternalDimensionalPriceGroupIdServiceAsyncImpl
constructor(
internal constructor(
private val clientOptions: ClientOptions,
) : ExternalDimensionalPriceGroupIdServiceAsync {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ import com.withorb.api.models.EventBackfillRevertResponse
import java.util.concurrent.CompletableFuture

class BackfillServiceAsyncImpl
constructor(
internal constructor(
private val clientOptions: ClientOptions,
) : BackfillServiceAsync {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import com.withorb.api.models.EventVolumes
import java.util.concurrent.CompletableFuture

class VolumeServiceAsyncImpl
constructor(
internal constructor(
private val clientOptions: ClientOptions,
) : VolumeServiceAsync {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import com.withorb.api.models.PlanExternalPlanIdUpdateParams
import java.util.concurrent.CompletableFuture

class ExternalPlanIdServiceAsyncImpl
constructor(
internal constructor(
private val clientOptions: ClientOptions,
) : ExternalPlanIdServiceAsync {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import com.withorb.api.models.PriceExternalPriceIdUpdateParams
import java.util.concurrent.CompletableFuture

class ExternalPriceIdServiceAsyncImpl
constructor(
internal constructor(
private val clientOptions: ClientOptions,
) : ExternalPriceIdServiceAsync {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ import com.withorb.api.models.AlertRetrieveParams
import com.withorb.api.models.AlertUpdateParams

class AlertServiceImpl
constructor(
internal constructor(
private val clientOptions: ClientOptions,
) : AlertService {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import com.withorb.api.services.blocking.coupons.SubscriptionService
import com.withorb.api.services.blocking.coupons.SubscriptionServiceImpl

class CouponServiceImpl
constructor(
internal constructor(
private val clientOptions: ClientOptions,
) : CouponService {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import com.withorb.api.models.CreditNoteListPage
import com.withorb.api.models.CreditNoteListParams

class CreditNoteServiceImpl
constructor(
internal constructor(
private val clientOptions: ClientOptions,
) : CreditNoteService {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ import com.withorb.api.services.blocking.customers.CreditService
import com.withorb.api.services.blocking.customers.CreditServiceImpl

class CustomerServiceImpl
constructor(
internal constructor(
private val clientOptions: ClientOptions,
) : CustomerService {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import com.withorb.api.services.blocking.dimensionalPriceGroups.ExternalDimensio
import com.withorb.api.services.blocking.dimensionalPriceGroups.ExternalDimensionalPriceGroupIdServiceImpl

class DimensionalPriceGroupServiceImpl
constructor(
internal constructor(
private val clientOptions: ClientOptions,
) : DimensionalPriceGroupService {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ import com.withorb.api.services.blocking.events.VolumeService
import com.withorb.api.services.blocking.events.VolumeServiceImpl

class EventServiceImpl
constructor(
internal constructor(
private val clientOptions: ClientOptions,
) : EventService {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import com.withorb.api.models.InvoiceLineItemCreateParams
import com.withorb.api.models.InvoiceLineItemCreateResponse

class InvoiceLineItemServiceImpl
constructor(
internal constructor(
private val clientOptions: ClientOptions,
) : InvoiceLineItemService {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ import com.withorb.api.models.InvoiceUpdateParams
import com.withorb.api.models.InvoiceVoidInvoiceParams

class InvoiceServiceImpl
constructor(
internal constructor(
private val clientOptions: ClientOptions,
) : InvoiceService {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import com.withorb.api.models.ItemListParams
import com.withorb.api.models.ItemUpdateParams

class ItemServiceImpl
constructor(
internal constructor(
private val clientOptions: ClientOptions,
) : ItemService {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import com.withorb.api.models.MetricListParams
import com.withorb.api.models.MetricUpdateParams

class MetricServiceImpl
constructor(
internal constructor(
private val clientOptions: ClientOptions,
) : MetricService {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import com.withorb.api.services.blocking.plans.ExternalPlanIdService
import com.withorb.api.services.blocking.plans.ExternalPlanIdServiceImpl

class PlanServiceImpl
constructor(
internal constructor(
private val clientOptions: ClientOptions,
) : PlanService {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ import com.withorb.api.services.blocking.prices.ExternalPriceIdService
import com.withorb.api.services.blocking.prices.ExternalPriceIdServiceImpl

class PriceServiceImpl
constructor(
internal constructor(
private val clientOptions: ClientOptions,
) : PriceService {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ import com.withorb.api.models.SubscriptionUpdateTrialResponse
import com.withorb.api.models.SubscriptionUsage

class SubscriptionServiceImpl
constructor(
internal constructor(
private val clientOptions: ClientOptions,
) : SubscriptionService {

Expand Down
Loading
Loading