@@ -6,6 +6,8 @@ import com.withorb.api.core.ClientOptions
66import com.withorb.api.core.getPackageVersion
77import com.withorb.api.services.async.AlertServiceAsync
88import com.withorb.api.services.async.AlertServiceAsyncImpl
9+ import com.withorb.api.services.async.BetaServiceAsync
10+ import com.withorb.api.services.async.BetaServiceAsyncImpl
911import com.withorb.api.services.async.CouponServiceAsync
1012import com.withorb.api.services.async.CouponServiceAsyncImpl
1113import 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
0 commit comments