Skip to content

Commit a0a4acc

Browse files
feat(api): Add PENDING_REVIEW status to KYB enrollment simulation
1 parent 0dc4d7f commit a0a4acc

2 files changed

Lines changed: 8 additions & 2 deletions

File tree

.stats.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 177
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/lithic%2Flithic-cf14cb6b172fa5b0674b4d1b9c183c0776bc03e1c71808aa5b655a4302a44940.yml
3-
openapi_spec_hash: 9a72138012f47d97fac1827c5cf4f563
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/lithic%2Flithic-da8525181ab7cccb66db674dd7243de54b28969c0395223f6dbec3c791f1e7b0.yml
3+
openapi_spec_hash: f4f45e8ca906900f78f1c8aa0233fc20
44
config_hash: 693dddc4721eef512d75ab6c60897794

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

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -600,13 +600,16 @@ private constructor(
600600

601601
@JvmField val REJECTED = of("REJECTED")
602602

603+
@JvmField val PENDING_REVIEW = of("PENDING_REVIEW")
604+
603605
@JvmStatic fun of(value: String) = Status(JsonField.of(value))
604606
}
605607

606608
/** An enum containing [Status]'s known values. */
607609
enum class Known {
608610
ACCEPTED,
609611
REJECTED,
612+
PENDING_REVIEW,
610613
}
611614

612615
/**
@@ -621,6 +624,7 @@ private constructor(
621624
enum class Value {
622625
ACCEPTED,
623626
REJECTED,
627+
PENDING_REVIEW,
624628
/** An enum member indicating that [Status] was instantiated with an unknown value. */
625629
_UNKNOWN,
626630
}
@@ -636,6 +640,7 @@ private constructor(
636640
when (this) {
637641
ACCEPTED -> Value.ACCEPTED
638642
REJECTED -> Value.REJECTED
643+
PENDING_REVIEW -> Value.PENDING_REVIEW
639644
else -> Value._UNKNOWN
640645
}
641646

@@ -652,6 +657,7 @@ private constructor(
652657
when (this) {
653658
ACCEPTED -> Known.ACCEPTED
654659
REJECTED -> Known.REJECTED
660+
PENDING_REVIEW -> Known.PENDING_REVIEW
655661
else -> throw LithicInvalidDataException("Unknown Status: $value")
656662
}
657663

0 commit comments

Comments
 (0)