Skip to content

Commit bd0d218

Browse files
feat(api): adds support for delegated KYB onboarding and more device details in 3DS Authentications
- adds support for KYB Delegated when creating an AccountHolder - adds support for IS_EQUAL_TO, IS_NOT_EQUAL_TO, IS_GREATER_THAN_OR_EQUAL_TO and IS_LESS_THAN_OR_EQUAL_TO to Conditional Block Parameters - moves wire details into debtor and creditor specific properties - adds additional device related data fields to 3DS Authentications: https://docs.lithic.com/changelog/new-mobile-device-info-for-3ds-authentications
1 parent f75e4e2 commit bd0d218

18 files changed

+3320
-965
lines changed

.stats.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 169
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/lithic%2Flithic-e16df7d65a6ababc8e0ca1f2a65070893d82d3b2b046394ab708d56fe717b3ad.yml
3-
openapi_spec_hash: ee82cf8fd5bb6b86abbae304f6c43934
4-
config_hash: c6d56596249e319c59d49d8e49a190b1
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/lithic%2Flithic-117e0ee9b030a2efc3b09e189e445fb1a26fd32f1c563f385b9d7071a959c550.yml
3+
openapi_spec_hash: e529a3fa8c3a79d3664db391683334c3
4+
config_hash: 22e4b128e110e2767daa9d95428ebf9d

lithic-java-core/src/main/kotlin/com/lithic/api/models/AccountActivityListResponse.kt

Lines changed: 373 additions & 444 deletions
Large diffs are not rendered by default.

lithic-java-core/src/main/kotlin/com/lithic/api/models/AccountActivityRetrieveTransactionResponse.kt

Lines changed: 373 additions & 444 deletions
Large diffs are not rendered by default.

lithic-java-core/src/main/kotlin/com/lithic/api/models/AccountHolderCreateParams.kt

Lines changed: 1634 additions & 1 deletion
Large diffs are not rendered by default.

lithic-java-core/src/main/kotlin/com/lithic/api/models/AuthRuleCondition.kt

Lines changed: 40 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -339,10 +339,18 @@ private constructor(
339339

340340
@JvmField val DOES_NOT_MATCH = of("DOES_NOT_MATCH")
341341

342+
@JvmField val IS_EQUAL_TO = of("IS_EQUAL_TO")
343+
344+
@JvmField val IS_NOT_EQUAL_TO = of("IS_NOT_EQUAL_TO")
345+
342346
@JvmField val IS_GREATER_THAN = of("IS_GREATER_THAN")
343347

348+
@JvmField val IS_GREATER_THAN_OR_EQUAL_TO = of("IS_GREATER_THAN_OR_EQUAL_TO")
349+
344350
@JvmField val IS_LESS_THAN = of("IS_LESS_THAN")
345351

352+
@JvmField val IS_LESS_THAN_OR_EQUAL_TO = of("IS_LESS_THAN_OR_EQUAL_TO")
353+
346354
@JvmStatic fun of(value: String) = Operation(JsonField.of(value))
347355
}
348356

@@ -352,8 +360,12 @@ private constructor(
352360
IS_NOT_ONE_OF,
353361
MATCHES,
354362
DOES_NOT_MATCH,
363+
IS_EQUAL_TO,
364+
IS_NOT_EQUAL_TO,
355365
IS_GREATER_THAN,
366+
IS_GREATER_THAN_OR_EQUAL_TO,
356367
IS_LESS_THAN,
368+
IS_LESS_THAN_OR_EQUAL_TO,
357369
}
358370

359371
/**
@@ -370,8 +382,12 @@ private constructor(
370382
IS_NOT_ONE_OF,
371383
MATCHES,
372384
DOES_NOT_MATCH,
385+
IS_EQUAL_TO,
386+
IS_NOT_EQUAL_TO,
373387
IS_GREATER_THAN,
388+
IS_GREATER_THAN_OR_EQUAL_TO,
374389
IS_LESS_THAN,
390+
IS_LESS_THAN_OR_EQUAL_TO,
375391
/**
376392
* An enum member indicating that [Operation] was instantiated with an unknown value.
377393
*/
@@ -391,8 +407,12 @@ private constructor(
391407
IS_NOT_ONE_OF -> Value.IS_NOT_ONE_OF
392408
MATCHES -> Value.MATCHES
393409
DOES_NOT_MATCH -> Value.DOES_NOT_MATCH
410+
IS_EQUAL_TO -> Value.IS_EQUAL_TO
411+
IS_NOT_EQUAL_TO -> Value.IS_NOT_EQUAL_TO
394412
IS_GREATER_THAN -> Value.IS_GREATER_THAN
413+
IS_GREATER_THAN_OR_EQUAL_TO -> Value.IS_GREATER_THAN_OR_EQUAL_TO
395414
IS_LESS_THAN -> Value.IS_LESS_THAN
415+
IS_LESS_THAN_OR_EQUAL_TO -> Value.IS_LESS_THAN_OR_EQUAL_TO
396416
else -> Value._UNKNOWN
397417
}
398418

@@ -411,8 +431,12 @@ private constructor(
411431
IS_NOT_ONE_OF -> Known.IS_NOT_ONE_OF
412432
MATCHES -> Known.MATCHES
413433
DOES_NOT_MATCH -> Known.DOES_NOT_MATCH
434+
IS_EQUAL_TO -> Known.IS_EQUAL_TO
435+
IS_NOT_EQUAL_TO -> Known.IS_NOT_EQUAL_TO
414436
IS_GREATER_THAN -> Known.IS_GREATER_THAN
437+
IS_GREATER_THAN_OR_EQUAL_TO -> Known.IS_GREATER_THAN_OR_EQUAL_TO
415438
IS_LESS_THAN -> Known.IS_LESS_THAN
439+
IS_LESS_THAN_OR_EQUAL_TO -> Known.IS_LESS_THAN_OR_EQUAL_TO
416440
else -> throw LithicInvalidDataException("Unknown Operation: $value")
417441
}
418442

@@ -482,7 +506,10 @@ private constructor(
482506
/** A regex string, to be used with `MATCHES` or `DOES_NOT_MATCH` */
483507
fun regex(): Optional<String> = Optional.ofNullable(regex)
484508

485-
/** A number, to be used with `IS_GREATER_THAN` or `IS_LESS_THAN` */
509+
/**
510+
* A number, to be used with `IS_GREATER_THAN`, `IS_GREATER_THAN_OR_EQUAL_TO`,
511+
* `IS_LESS_THAN`, `IS_LESS_THAN_OR_EQUAL_TO`, `IS_EQUAL_TO`, or `IS_NOT_EQUAL_TO`
512+
*/
486513
fun number(): Optional<Long> = Optional.ofNullable(number)
487514

488515
/** An array of strings, to be used with `IS_ONE_OF` or `IS_NOT_ONE_OF` */
@@ -497,7 +524,10 @@ private constructor(
497524
/** A regex string, to be used with `MATCHES` or `DOES_NOT_MATCH` */
498525
fun asRegex(): String = regex.getOrThrow("regex")
499526

500-
/** A number, to be used with `IS_GREATER_THAN` or `IS_LESS_THAN` */
527+
/**
528+
* A number, to be used with `IS_GREATER_THAN`, `IS_GREATER_THAN_OR_EQUAL_TO`,
529+
* `IS_LESS_THAN`, `IS_LESS_THAN_OR_EQUAL_TO`, `IS_EQUAL_TO`, or `IS_NOT_EQUAL_TO`
530+
*/
501531
fun asNumber(): Long = number.getOrThrow("number")
502532

503533
/** An array of strings, to be used with `IS_ONE_OF` or `IS_NOT_ONE_OF` */
@@ -588,7 +618,10 @@ private constructor(
588618
/** A regex string, to be used with `MATCHES` or `DOES_NOT_MATCH` */
589619
@JvmStatic fun ofRegex(regex: String) = Value(regex = regex)
590620

591-
/** A number, to be used with `IS_GREATER_THAN` or `IS_LESS_THAN` */
621+
/**
622+
* A number, to be used with `IS_GREATER_THAN`, `IS_GREATER_THAN_OR_EQUAL_TO`,
623+
* `IS_LESS_THAN`, `IS_LESS_THAN_OR_EQUAL_TO`, `IS_EQUAL_TO`, or `IS_NOT_EQUAL_TO`
624+
*/
592625
@JvmStatic fun ofNumber(number: Long) = Value(number = number)
593626

594627
/** An array of strings, to be used with `IS_ONE_OF` or `IS_NOT_ONE_OF` */
@@ -603,7 +636,10 @@ private constructor(
603636
/** A regex string, to be used with `MATCHES` or `DOES_NOT_MATCH` */
604637
fun visitRegex(regex: String): T
605638

606-
/** A number, to be used with `IS_GREATER_THAN` or `IS_LESS_THAN` */
639+
/**
640+
* A number, to be used with `IS_GREATER_THAN`, `IS_GREATER_THAN_OR_EQUAL_TO`,
641+
* `IS_LESS_THAN`, `IS_LESS_THAN_OR_EQUAL_TO`, `IS_EQUAL_TO`, or `IS_NOT_EQUAL_TO`
642+
*/
607643
fun visitNumber(number: Long): T
608644

609645
/** An array of strings, to be used with `IS_ONE_OF` or `IS_NOT_ONE_OF` */

0 commit comments

Comments
 (0)