Skip to content

Commit 7932861

Browse files
feat(api): api update
1 parent 17bd5c1 commit 7932861

File tree

3 files changed

+14
-2
lines changed

3 files changed

+14
-2
lines changed

.stats.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 45
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/finch%2Ffinch-331df2398447990a86899b05ac569534b6a7e4ff1d73a319d57f67b34a201fb7.yml
3-
openapi_spec_hash: 6e57516524c0519e90213c0554b26ab4
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/finch%2Ffinch-2450f9bcc309174bb09e7cc75c3d873240626676782a6d0aa7578395adfa80a8.yml
3+
openapi_spec_hash: ce0eebc26042d65a7831455ca7e9c5a8
44
config_hash: 53778a0b839c4f6ad34fbba051f5e8a6

finch-java-core/src/main/kotlin/com/tryfinch/api/models/PayStatement.kt

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

32893289
@JvmField val DIRECT_DEPOSIT = of("direct_deposit")
32903290

3291+
@JvmField val OTHER = of("other")
3292+
32913293
@JvmStatic fun of(value: String) = PaymentMethod(JsonField.of(value))
32923294
}
32933295

32943296
/** An enum containing [PaymentMethod]'s known values. */
32953297
enum class Known {
32963298
CHECK,
32973299
DIRECT_DEPOSIT,
3300+
OTHER,
32983301
}
32993302

33003303
/**
@@ -3309,6 +3312,7 @@ private constructor(
33093312
enum class Value {
33103313
CHECK,
33113314
DIRECT_DEPOSIT,
3315+
OTHER,
33123316
/**
33133317
* An enum member indicating that [PaymentMethod] was instantiated with an unknown
33143318
* value.
@@ -3327,6 +3331,7 @@ private constructor(
33273331
when (this) {
33283332
CHECK -> Value.CHECK
33293333
DIRECT_DEPOSIT -> Value.DIRECT_DEPOSIT
3334+
OTHER -> Value.OTHER
33303335
else -> Value._UNKNOWN
33313336
}
33323337

@@ -3342,6 +3347,7 @@ private constructor(
33423347
when (this) {
33433348
CHECK -> Known.CHECK
33443349
DIRECT_DEPOSIT -> Known.DIRECT_DEPOSIT
3350+
OTHER -> Known.OTHER
33453351
else -> throw FinchInvalidDataException("Unknown PaymentMethod: $value")
33463352
}
33473353

finch-java-core/src/main/kotlin/com/tryfinch/api/models/SandboxPaymentCreateParams.kt

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

38563856
@JvmField val DIRECT_DEPOSIT = of("direct_deposit")
38573857

3858+
@JvmField val OTHER = of("other")
3859+
38583860
@JvmStatic fun of(value: String) = PaymentMethod(JsonField.of(value))
38593861
}
38603862

38613863
/** An enum containing [PaymentMethod]'s known values. */
38623864
enum class Known {
38633865
CHECK,
38643866
DIRECT_DEPOSIT,
3867+
OTHER,
38653868
}
38663869

38673870
/**
@@ -3876,6 +3879,7 @@ private constructor(
38763879
enum class Value {
38773880
CHECK,
38783881
DIRECT_DEPOSIT,
3882+
OTHER,
38793883
/**
38803884
* An enum member indicating that [PaymentMethod] was instantiated with an unknown
38813885
* value.
@@ -3894,6 +3898,7 @@ private constructor(
38943898
when (this) {
38953899
CHECK -> Value.CHECK
38963900
DIRECT_DEPOSIT -> Value.DIRECT_DEPOSIT
3901+
OTHER -> Value.OTHER
38973902
else -> Value._UNKNOWN
38983903
}
38993904

@@ -3910,6 +3915,7 @@ private constructor(
39103915
when (this) {
39113916
CHECK -> Known.CHECK
39123917
DIRECT_DEPOSIT -> Known.DIRECT_DEPOSIT
3918+
OTHER -> Known.OTHER
39133919
else -> throw FinchInvalidDataException("Unknown PaymentMethod: $value")
39143920
}
39153921

0 commit comments

Comments
 (0)