Skip to content

Commit a419c35

Browse files
feat(api): manual updates
1 parent 1b46759 commit a419c35

177 files changed

Lines changed: 725587 additions & 64881 deletions

File tree

Some content is hidden

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

.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: 114
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/orb%2Forb-c697450a215fdbd1a854d26381ce137b222726c3e6669a93afb1c0c5669906ca.yml
3+
openapi_spec_hash: b8b5388292baa73b5f2c686d4904ae45
4+
config_hash: e63f2d098e5d12f63ae4cd8270aa5c3c

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)