Skip to content

Commit 7e8636d

Browse files
feat(api): add external_id to payment_event
feat(api): add get /v1/transfer_limits endpoint feat(api): add post /v1/book_transfers/{book_transfer_token}/retry endpoint
1 parent 5af17d0 commit 7e8636d

36 files changed

+3059
-7
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: 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
1+
configured_endpoints: 176
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/lithic%2Flithic-1916ba0e95ce59f0feeebd6f3d2130990c812be7eabcda6e23c5fa096db912c7.yml
3+
openapi_spec_hash: b465e7cb5c2dee36b5bdc6d540b2a530
4+
config_hash: a8a802e2c916a5d36a025bf64ab55ee7

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

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ import com.lithic.api.services.blocking.ThreeDSService
3838
import com.lithic.api.services.blocking.TokenizationDecisioningService
3939
import com.lithic.api.services.blocking.TokenizationService
4040
import com.lithic.api.services.blocking.TransactionService
41+
import com.lithic.api.services.blocking.TransferLimitService
4142
import com.lithic.api.services.blocking.TransferService
4243
import com.lithic.api.services.blocking.WebhookService
4344
import java.util.function.Consumer
@@ -140,6 +141,8 @@ interface LithicClient {
140141

141142
fun accountActivity(): AccountActivityService
142143

144+
fun transferLimits(): TransferLimitService
145+
143146
fun webhooks(): WebhookService
144147

145148
/** Status of api */
@@ -244,6 +247,8 @@ interface LithicClient {
244247

245248
fun accountActivity(): AccountActivityService.WithRawResponse
246249

250+
fun transferLimits(): TransferLimitService.WithRawResponse
251+
247252
fun webhooks(): WebhookService.WithRawResponse
248253

249254
/**

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

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ import com.lithic.api.services.async.ThreeDSServiceAsync
3737
import com.lithic.api.services.async.TokenizationDecisioningServiceAsync
3838
import com.lithic.api.services.async.TokenizationServiceAsync
3939
import com.lithic.api.services.async.TransactionServiceAsync
40+
import com.lithic.api.services.async.TransferLimitServiceAsync
4041
import com.lithic.api.services.async.TransferServiceAsync
4142
import com.lithic.api.services.async.WebhookServiceAsync
4243
import java.util.concurrent.CompletableFuture
@@ -140,6 +141,8 @@ interface LithicClientAsync {
140141

141142
fun accountActivity(): AccountActivityServiceAsync
142143

144+
fun transferLimits(): TransferLimitServiceAsync
145+
143146
fun webhooks(): WebhookServiceAsync
144147

145148
/** Status of api */
@@ -247,6 +250,8 @@ interface LithicClientAsync {
247250

248251
fun accountActivity(): AccountActivityServiceAsync.WithRawResponse
249252

253+
fun transferLimits(): TransferLimitServiceAsync.WithRawResponse
254+
250255
fun webhooks(): WebhookServiceAsync.WithRawResponse
251256

252257
/**

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

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,8 @@ import com.lithic.api.services.async.TokenizationServiceAsync
7777
import com.lithic.api.services.async.TokenizationServiceAsyncImpl
7878
import com.lithic.api.services.async.TransactionServiceAsync
7979
import com.lithic.api.services.async.TransactionServiceAsyncImpl
80+
import com.lithic.api.services.async.TransferLimitServiceAsync
81+
import com.lithic.api.services.async.TransferLimitServiceAsyncImpl
8082
import com.lithic.api.services.async.TransferServiceAsync
8183
import com.lithic.api.services.async.TransferServiceAsyncImpl
8284
import com.lithic.api.services.async.WebhookServiceAsync
@@ -223,6 +225,10 @@ class LithicClientAsyncImpl(private val clientOptions: ClientOptions) : LithicCl
223225
AccountActivityServiceAsyncImpl(clientOptionsWithUserAgent)
224226
}
225227

228+
private val transferLimits: TransferLimitServiceAsync by lazy {
229+
TransferLimitServiceAsyncImpl(clientOptionsWithUserAgent)
230+
}
231+
226232
private val webhooks: WebhookServiceAsync by lazy {
227233
WebhookServiceAsyncImpl(clientOptionsWithUserAgent)
228234
}
@@ -297,6 +303,8 @@ class LithicClientAsyncImpl(private val clientOptions: ClientOptions) : LithicCl
297303

298304
override fun accountActivity(): AccountActivityServiceAsync = accountActivity
299305

306+
override fun transferLimits(): TransferLimitServiceAsync = transferLimits
307+
300308
override fun webhooks(): WebhookServiceAsync = webhooks
301309

302310
override fun apiStatus(
@@ -439,6 +447,10 @@ class LithicClientAsyncImpl(private val clientOptions: ClientOptions) : LithicCl
439447
AccountActivityServiceAsyncImpl.WithRawResponseImpl(clientOptions)
440448
}
441449

450+
private val transferLimits: TransferLimitServiceAsync.WithRawResponse by lazy {
451+
TransferLimitServiceAsyncImpl.WithRawResponseImpl(clientOptions)
452+
}
453+
442454
private val webhooks: WebhookServiceAsync.WithRawResponse by lazy {
443455
WebhookServiceAsyncImpl.WithRawResponseImpl(clientOptions)
444456
}
@@ -521,6 +533,8 @@ class LithicClientAsyncImpl(private val clientOptions: ClientOptions) : LithicCl
521533
override fun accountActivity(): AccountActivityServiceAsync.WithRawResponse =
522534
accountActivity
523535

536+
override fun transferLimits(): TransferLimitServiceAsync.WithRawResponse = transferLimits
537+
524538
override fun webhooks(): WebhookServiceAsync.WithRawResponse = webhooks
525539

526540
private val apiStatusHandler: Handler<ApiStatus> =

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

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,8 @@ import com.lithic.api.services.blocking.TokenizationService
7777
import com.lithic.api.services.blocking.TokenizationServiceImpl
7878
import com.lithic.api.services.blocking.TransactionService
7979
import com.lithic.api.services.blocking.TransactionServiceImpl
80+
import com.lithic.api.services.blocking.TransferLimitService
81+
import com.lithic.api.services.blocking.TransferLimitServiceImpl
8082
import com.lithic.api.services.blocking.TransferService
8183
import com.lithic.api.services.blocking.TransferServiceImpl
8284
import com.lithic.api.services.blocking.WebhookService
@@ -206,6 +208,10 @@ class LithicClientImpl(private val clientOptions: ClientOptions) : LithicClient
206208
AccountActivityServiceImpl(clientOptionsWithUserAgent)
207209
}
208210

211+
private val transferLimits: TransferLimitService by lazy {
212+
TransferLimitServiceImpl(clientOptionsWithUserAgent)
213+
}
214+
209215
private val webhooks: WebhookService by lazy { WebhookServiceImpl(clientOptionsWithUserAgent) }
210216

211217
override fun async(): LithicClientAsync = async
@@ -277,6 +283,8 @@ class LithicClientImpl(private val clientOptions: ClientOptions) : LithicClient
277283

278284
override fun accountActivity(): AccountActivityService = accountActivity
279285

286+
override fun transferLimits(): TransferLimitService = transferLimits
287+
280288
override fun webhooks(): WebhookService = webhooks
281289

282290
override fun apiStatus(
@@ -419,6 +427,10 @@ class LithicClientImpl(private val clientOptions: ClientOptions) : LithicClient
419427
AccountActivityServiceImpl.WithRawResponseImpl(clientOptions)
420428
}
421429

430+
private val transferLimits: TransferLimitService.WithRawResponse by lazy {
431+
TransferLimitServiceImpl.WithRawResponseImpl(clientOptions)
432+
}
433+
422434
private val webhooks: WebhookService.WithRawResponse by lazy {
423435
WebhookServiceImpl.WithRawResponseImpl(clientOptions)
424436
}
@@ -499,6 +511,8 @@ class LithicClientImpl(private val clientOptions: ClientOptions) : LithicClient
499511

500512
override fun accountActivity(): AccountActivityService.WithRawResponse = accountActivity
501513

514+
override fun transferLimits(): TransferLimitService.WithRawResponse = transferLimits
515+
502516
override fun webhooks(): WebhookService.WithRawResponse = webhooks
503517

504518
private val apiStatusHandler: Handler<ApiStatus> =

0 commit comments

Comments
 (0)