Skip to content

Commit b42510c

Browse files
feat(api): api update
1 parent d316ac1 commit b42510c

3 files changed

Lines changed: 20 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: 232
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-8c14214fe620b72e4667dc96bab3be38311397f63ee477fed5138ba3a61d101b.yml
3-
openapi_spec_hash: 0bc956c12e8c8bb14c1002fb4618a214
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-742384c2f763b7fb4e6534ac57539f4f1854d9bd126ea173f3caeffdf1642462.yml
3+
openapi_spec_hash: 49897b127960069cd3fe917475ad4b5b
44
config_hash: 27e44ed36b9c5617b580ead7231a594a

increase-java-core/src/main/kotlin/com/increase/api/models/inboundcheckdeposits/InboundCheckDeposit.kt

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1937,6 +1937,9 @@ private constructor(
19371937
/** The check was not endorsed by the payee. */
19381938
@JvmField val ENDORSEMENT_IRREGULAR = of("endorsement_irregular")
19391939

1940+
/** The maker of the check requested its return. */
1941+
@JvmField val REFER_TO_MAKER = of("refer_to_maker")
1942+
19401943
@JvmStatic fun of(value: String) = Reason(JsonField.of(value))
19411944
}
19421945

@@ -1952,6 +1955,8 @@ private constructor(
19521955
ENDORSEMENT_MISSING,
19531956
/** The check was not endorsed by the payee. */
19541957
ENDORSEMENT_IRREGULAR,
1958+
/** The maker of the check requested its return. */
1959+
REFER_TO_MAKER,
19551960
}
19561961

19571962
/**
@@ -1974,6 +1979,8 @@ private constructor(
19741979
ENDORSEMENT_MISSING,
19751980
/** The check was not endorsed by the payee. */
19761981
ENDORSEMENT_IRREGULAR,
1982+
/** The maker of the check requested its return. */
1983+
REFER_TO_MAKER,
19771984
/**
19781985
* An enum member indicating that [Reason] was instantiated with an unknown value.
19791986
*/
@@ -1994,6 +2001,7 @@ private constructor(
19942001
DUPLICATE_PRESENTMENT -> Value.DUPLICATE_PRESENTMENT
19952002
ENDORSEMENT_MISSING -> Value.ENDORSEMENT_MISSING
19962003
ENDORSEMENT_IRREGULAR -> Value.ENDORSEMENT_IRREGULAR
2004+
REFER_TO_MAKER -> Value.REFER_TO_MAKER
19972005
else -> Value._UNKNOWN
19982006
}
19992007

@@ -2013,6 +2021,7 @@ private constructor(
20132021
DUPLICATE_PRESENTMENT -> Known.DUPLICATE_PRESENTMENT
20142022
ENDORSEMENT_MISSING -> Known.ENDORSEMENT_MISSING
20152023
ENDORSEMENT_IRREGULAR -> Known.ENDORSEMENT_IRREGULAR
2024+
REFER_TO_MAKER -> Known.REFER_TO_MAKER
20162025
else -> throw IncreaseInvalidDataException("Unknown Reason: $value")
20172026
}
20182027

increase-java-core/src/main/kotlin/com/increase/api/models/inboundcheckdeposits/InboundCheckDepositReturnParams.kt

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -457,6 +457,9 @@ private constructor(
457457
/** The check was not endorsed by the payee. */
458458
@JvmField val ENDORSEMENT_IRREGULAR = of("endorsement_irregular")
459459

460+
/** The maker of the check requested its return. */
461+
@JvmField val REFER_TO_MAKER = of("refer_to_maker")
462+
460463
@JvmStatic fun of(value: String) = Reason(JsonField.of(value))
461464
}
462465

@@ -472,6 +475,8 @@ private constructor(
472475
ENDORSEMENT_MISSING,
473476
/** The check was not endorsed by the payee. */
474477
ENDORSEMENT_IRREGULAR,
478+
/** The maker of the check requested its return. */
479+
REFER_TO_MAKER,
475480
}
476481

477482
/**
@@ -494,6 +499,8 @@ private constructor(
494499
ENDORSEMENT_MISSING,
495500
/** The check was not endorsed by the payee. */
496501
ENDORSEMENT_IRREGULAR,
502+
/** The maker of the check requested its return. */
503+
REFER_TO_MAKER,
497504
/** An enum member indicating that [Reason] was instantiated with an unknown value. */
498505
_UNKNOWN,
499506
}
@@ -512,6 +519,7 @@ private constructor(
512519
DUPLICATE_PRESENTMENT -> Value.DUPLICATE_PRESENTMENT
513520
ENDORSEMENT_MISSING -> Value.ENDORSEMENT_MISSING
514521
ENDORSEMENT_IRREGULAR -> Value.ENDORSEMENT_IRREGULAR
522+
REFER_TO_MAKER -> Value.REFER_TO_MAKER
515523
else -> Value._UNKNOWN
516524
}
517525

@@ -531,6 +539,7 @@ private constructor(
531539
DUPLICATE_PRESENTMENT -> Known.DUPLICATE_PRESENTMENT
532540
ENDORSEMENT_MISSING -> Known.ENDORSEMENT_MISSING
533541
ENDORSEMENT_IRREGULAR -> Known.ENDORSEMENT_IRREGULAR
542+
REFER_TO_MAKER -> Known.REFER_TO_MAKER
534543
else -> throw IncreaseInvalidDataException("Unknown Reason: $value")
535544
}
536545

0 commit comments

Comments
 (0)