Skip to content

Commit a5b57e5

Browse files
committed
feat(api): add new enum members
1 parent 1928de0 commit a5b57e5

12 files changed

+15
-9
lines changed

src/increase/resources/simulations/check_transfers.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ def return_(
7777
self,
7878
check_transfer_id: str,
7979
*,
80-
reason: Literal["mail_delivery_failure", "refused_by_recipient"],
80+
reason: Literal["mail_delivery_failure", "refused_by_recipient", "returned_not_authorized"],
8181
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
8282
# The extra values given here take precedence over values defined on the client or passed to this method.
8383
extra_headers: Headers | None = None,
@@ -180,7 +180,7 @@ async def return_(
180180
self,
181181
check_transfer_id: str,
182182
*,
183-
reason: Literal["mail_delivery_failure", "refused_by_recipient"],
183+
reason: Literal["mail_delivery_failure", "refused_by_recipient", "returned_not_authorized"],
184184
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
185185
# The extra values given here take precedence over values defined on the client or passed to this method.
186186
extra_headers: Headers | None = None,

src/increase/types/check_transfer.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ class ReturnDetails(BaseModel):
112112
file_id: Optional[str]
113113
"""If available, a document with additional information about the return."""
114114

115-
reason: Literal["mail_delivery_failure", "refused_by_recipient"]
115+
reason: Literal["mail_delivery_failure", "refused_by_recipient", "returned_not_authorized"]
116116
"""The reason why the check was returned."""
117117

118118
returned_at: datetime

src/increase/types/declined_transaction.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -186,6 +186,7 @@ class SourceCheckDecline(BaseModel):
186186
"returned",
187187
"duplicate_presentment",
188188
"not_authorized",
189+
"altered_or_fictitious",
189190
]
190191
"""Why the check was declined."""
191192

src/increase/types/document.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ class Document(BaseModel):
4848
"network_security_diagram",
4949
"onboarding_questionnaire",
5050
"penetration_test_report",
51+
"platform_compliance_metrics_submission",
5152
"program_risk_assessment",
5253
"security_audit_report",
5354
"servicing_policy",

src/increase/types/document_list_params.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@
5252
"network_security_diagram",
5353
"onboarding_questionnaire",
5454
"penetration_test_report",
55+
"platform_compliance_metrics_submission",
5556
"program_risk_assessment",
5657
"security_audit_report",
5758
"servicing_policy",

src/increase/types/simulations/ach_transfer_simulation.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -433,7 +433,7 @@ class TransactionSourceCheckTransferReturn(BaseModel):
433433
file_id: Optional[str]
434434
"""If available, a document with additional information about the return."""
435435

436-
reason: Literal["mail_delivery_failure", "refused_by_recipient"]
436+
reason: Literal["mail_delivery_failure", "refused_by_recipient", "returned_not_authorized"]
437437
"""The reason why the check was returned."""
438438

439439
returned_at: datetime
@@ -1521,6 +1521,7 @@ class DeclinedTransactionSourceCheckDecline(BaseModel):
15211521
"returned",
15221522
"duplicate_presentment",
15231523
"not_authorized",
1524+
"altered_or_fictitious",
15241525
]
15251526
"""Why the check was declined."""
15261527

src/increase/types/simulations/card_authorization_simulation.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -635,6 +635,7 @@ class DeclinedTransactionSourceCheckDecline(BaseModel):
635635
"returned",
636636
"duplicate_presentment",
637637
"not_authorized",
638+
"altered_or_fictitious",
638639
]
639640
"""Why the check was declined."""
640641

src/increase/types/simulations/check_transfer_return_params.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,5 @@
88

99

1010
class CheckTransferReturnParams(TypedDict, total=False):
11-
reason: Required[Literal["mail_delivery_failure", "refused_by_recipient"]]
11+
reason: Required[Literal["mail_delivery_failure", "refused_by_recipient", "returned_not_authorized"]]
1212
"""The reason why the Check Transfer was returned to Increase."""

src/increase/types/simulations/inbound_real_time_payments_transfer_simulation_result.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -433,7 +433,7 @@ class TransactionSourceCheckTransferReturn(BaseModel):
433433
file_id: Optional[str]
434434
"""If available, a document with additional information about the return."""
435435

436-
reason: Literal["mail_delivery_failure", "refused_by_recipient"]
436+
reason: Literal["mail_delivery_failure", "refused_by_recipient", "returned_not_authorized"]
437437
"""The reason why the check was returned."""
438438

439439
returned_at: datetime
@@ -1521,6 +1521,7 @@ class DeclinedTransactionSourceCheckDecline(BaseModel):
15211521
"returned",
15221522
"duplicate_presentment",
15231523
"not_authorized",
1524+
"altered_or_fictitious",
15241525
]
15251526
"""Why the check was declined."""
15261527

src/increase/types/simulations/interest_payment_simulation_result.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -422,7 +422,7 @@ class TransactionSourceCheckTransferReturn(BaseModel):
422422
file_id: Optional[str]
423423
"""If available, a document with additional information about the return."""
424424

425-
reason: Literal["mail_delivery_failure", "refused_by_recipient"]
425+
reason: Literal["mail_delivery_failure", "refused_by_recipient", "returned_not_authorized"]
426426
"""The reason why the check was returned."""
427427

428428
returned_at: datetime

0 commit comments

Comments
 (0)