Skip to content

Commit 5af17d0

Browse files
feat(api): remove v1/aggregate_balances and related models
1 parent 3f1132d commit 5af17d0

38 files changed

+4
-4177
lines changed

.stats.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
configured_endpoints: 176
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/lithic%2Flithic-abe6a4f82f696099fa8ecb1cc44f08979e17d56578ae7ea68b0e9182e21df508.yml
3-
openapi_spec_hash: d2ce51592a9a234c6f34a1168a31f91f
4-
config_hash: 739714a3fead0b26ee3a3b7bc51081f6
1+
configured_endpoints: 174
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/lithic%2Flithic-4fd8048b287f409ad2b91f7d0f0b7fc13cc9bc4ccc7859666f21203bab3d2f01.yml
3+
openapi_spec_hash: a554c54d96a7604a770b6a8b1df46395
4+
config_hash: df0af4ff639b8a6923a6244d2247910c

lithic-java-core/src/main/kotlin/com/lithic/api/client/LithicClient.kt

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ import com.lithic.api.models.ClientApiStatusParams
1111
import com.lithic.api.services.blocking.AccountActivityService
1212
import com.lithic.api.services.blocking.AccountHolderService
1313
import com.lithic.api.services.blocking.AccountService
14-
import com.lithic.api.services.blocking.AggregateBalanceService
1514
import com.lithic.api.services.blocking.AuthRuleService
1615
import com.lithic.api.services.blocking.AuthStreamEnrollmentService
1716
import com.lithic.api.services.blocking.BalanceService
@@ -97,8 +96,6 @@ interface LithicClient {
9796

9897
fun balances(): BalanceService
9998

100-
fun aggregateBalances(): AggregateBalanceService
101-
10299
fun disputes(): DisputeService
103100

104101
fun disputesV2(): DisputesV2Service
@@ -203,8 +200,6 @@ interface LithicClient {
203200

204201
fun balances(): BalanceService.WithRawResponse
205202

206-
fun aggregateBalances(): AggregateBalanceService.WithRawResponse
207-
208203
fun disputes(): DisputeService.WithRawResponse
209204

210205
fun disputesV2(): DisputesV2Service.WithRawResponse

lithic-java-core/src/main/kotlin/com/lithic/api/client/LithicClientAsync.kt

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ import com.lithic.api.models.ClientApiStatusParams
1010
import com.lithic.api.services.async.AccountActivityServiceAsync
1111
import com.lithic.api.services.async.AccountHolderServiceAsync
1212
import com.lithic.api.services.async.AccountServiceAsync
13-
import com.lithic.api.services.async.AggregateBalanceServiceAsync
1413
import com.lithic.api.services.async.AuthRuleServiceAsync
1514
import com.lithic.api.services.async.AuthStreamEnrollmentServiceAsync
1615
import com.lithic.api.services.async.BalanceServiceAsync
@@ -97,8 +96,6 @@ interface LithicClientAsync {
9796

9897
fun balances(): BalanceServiceAsync
9998

100-
fun aggregateBalances(): AggregateBalanceServiceAsync
101-
10299
fun disputes(): DisputeServiceAsync
103100

104101
fun disputesV2(): DisputesV2ServiceAsync
@@ -206,8 +203,6 @@ interface LithicClientAsync {
206203

207204
fun balances(): BalanceServiceAsync.WithRawResponse
208205

209-
fun aggregateBalances(): AggregateBalanceServiceAsync.WithRawResponse
210-
211206
fun disputes(): DisputeServiceAsync.WithRawResponse
212207

213208
fun disputesV2(): DisputesV2ServiceAsync.WithRawResponse

lithic-java-core/src/main/kotlin/com/lithic/api/client/LithicClientAsyncImpl.kt

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,6 @@ import com.lithic.api.services.async.AccountHolderServiceAsync
2323
import com.lithic.api.services.async.AccountHolderServiceAsyncImpl
2424
import com.lithic.api.services.async.AccountServiceAsync
2525
import com.lithic.api.services.async.AccountServiceAsyncImpl
26-
import com.lithic.api.services.async.AggregateBalanceServiceAsync
27-
import com.lithic.api.services.async.AggregateBalanceServiceAsyncImpl
2826
import com.lithic.api.services.async.AuthRuleServiceAsync
2927
import com.lithic.api.services.async.AuthRuleServiceAsyncImpl
3028
import com.lithic.api.services.async.AuthStreamEnrollmentServiceAsync
@@ -137,10 +135,6 @@ class LithicClientAsyncImpl(private val clientOptions: ClientOptions) : LithicCl
137135
BalanceServiceAsyncImpl(clientOptionsWithUserAgent)
138136
}
139137

140-
private val aggregateBalances: AggregateBalanceServiceAsync by lazy {
141-
AggregateBalanceServiceAsyncImpl(clientOptionsWithUserAgent)
142-
}
143-
144138
private val disputes: DisputeServiceAsync by lazy {
145139
DisputeServiceAsyncImpl(clientOptionsWithUserAgent)
146140
}
@@ -259,8 +253,6 @@ class LithicClientAsyncImpl(private val clientOptions: ClientOptions) : LithicCl
259253

260254
override fun balances(): BalanceServiceAsync = balances
261255

262-
override fun aggregateBalances(): AggregateBalanceServiceAsync = aggregateBalances
263-
264256
override fun disputes(): DisputeServiceAsync = disputes
265257

266258
override fun disputesV2(): DisputesV2ServiceAsync = disputesV2
@@ -359,10 +351,6 @@ class LithicClientAsyncImpl(private val clientOptions: ClientOptions) : LithicCl
359351
BalanceServiceAsyncImpl.WithRawResponseImpl(clientOptions)
360352
}
361353

362-
private val aggregateBalances: AggregateBalanceServiceAsync.WithRawResponse by lazy {
363-
AggregateBalanceServiceAsyncImpl.WithRawResponseImpl(clientOptions)
364-
}
365-
366354
private val disputes: DisputeServiceAsync.WithRawResponse by lazy {
367355
DisputeServiceAsyncImpl.WithRawResponseImpl(clientOptions)
368356
}
@@ -482,9 +470,6 @@ class LithicClientAsyncImpl(private val clientOptions: ClientOptions) : LithicCl
482470

483471
override fun balances(): BalanceServiceAsync.WithRawResponse = balances
484472

485-
override fun aggregateBalances(): AggregateBalanceServiceAsync.WithRawResponse =
486-
aggregateBalances
487-
488473
override fun disputes(): DisputeServiceAsync.WithRawResponse = disputes
489474

490475
override fun disputesV2(): DisputesV2ServiceAsync.WithRawResponse = disputesV2

lithic-java-core/src/main/kotlin/com/lithic/api/client/LithicClientImpl.kt

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,6 @@ import com.lithic.api.services.blocking.AccountHolderService
2323
import com.lithic.api.services.blocking.AccountHolderServiceImpl
2424
import com.lithic.api.services.blocking.AccountService
2525
import com.lithic.api.services.blocking.AccountServiceImpl
26-
import com.lithic.api.services.blocking.AggregateBalanceService
27-
import com.lithic.api.services.blocking.AggregateBalanceServiceImpl
2826
import com.lithic.api.services.blocking.AuthRuleService
2927
import com.lithic.api.services.blocking.AuthRuleServiceImpl
3028
import com.lithic.api.services.blocking.AuthStreamEnrollmentService
@@ -132,10 +130,6 @@ class LithicClientImpl(private val clientOptions: ClientOptions) : LithicClient
132130

133131
private val balances: BalanceService by lazy { BalanceServiceImpl(clientOptionsWithUserAgent) }
134132

135-
private val aggregateBalances: AggregateBalanceService by lazy {
136-
AggregateBalanceServiceImpl(clientOptionsWithUserAgent)
137-
}
138-
139133
private val disputes: DisputeService by lazy { DisputeServiceImpl(clientOptionsWithUserAgent) }
140134

141135
private val disputesV2: DisputesV2Service by lazy {
@@ -239,8 +233,6 @@ class LithicClientImpl(private val clientOptions: ClientOptions) : LithicClient
239233

240234
override fun balances(): BalanceService = balances
241235

242-
override fun aggregateBalances(): AggregateBalanceService = aggregateBalances
243-
244236
override fun disputes(): DisputeService = disputes
245237

246238
override fun disputesV2(): DisputesV2Service = disputesV2
@@ -339,10 +331,6 @@ class LithicClientImpl(private val clientOptions: ClientOptions) : LithicClient
339331
BalanceServiceImpl.WithRawResponseImpl(clientOptions)
340332
}
341333

342-
private val aggregateBalances: AggregateBalanceService.WithRawResponse by lazy {
343-
AggregateBalanceServiceImpl.WithRawResponseImpl(clientOptions)
344-
}
345-
346334
private val disputes: DisputeService.WithRawResponse by lazy {
347335
DisputeServiceImpl.WithRawResponseImpl(clientOptions)
348336
}
@@ -462,9 +450,6 @@ class LithicClientImpl(private val clientOptions: ClientOptions) : LithicClient
462450

463451
override fun balances(): BalanceService.WithRawResponse = balances
464452

465-
override fun aggregateBalances(): AggregateBalanceService.WithRawResponse =
466-
aggregateBalances
467-
468453
override fun disputes(): DisputeService.WithRawResponse = disputes
469454

470455
override fun disputesV2(): DisputesV2Service.WithRawResponse = disputesV2

0 commit comments

Comments
 (0)