Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .stats.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
configured_endpoints: 238
openapi_spec_hash: 244db0c7a39ae8fff699dccda50b79bd
openapi_spec_hash: 8c5c450ddcb19e4c6c8937d36f337c8b
config_hash: 2ae0d8aaecf01b38cbf9f9e112822c23
2 changes: 1 addition & 1 deletion scripts/mock

Large diffs are not rendered by default.

6 changes: 2 additions & 4 deletions src/increase/resources/simulations/programs.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ def create(
self,
*,
name: str,
bank: Literal["core_bank", "first_internet_bank", "grasshopper_bank", "twin_city_bank"] | Omit = omit,
bank: Literal["core_bank", "first_internet_bank", "grasshopper_bank"] | Omit = omit,
lending_maximum_extendable_credit: int | Omit = omit,
reserve_account_id: str | Omit = omit,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
Expand All @@ -73,7 +73,6 @@ def create(
- `core_bank` - Core Bank
- `first_internet_bank` - First Internet Bank of Indiana
- `grasshopper_bank` - Grasshopper Bank
- `twin_city_bank` - Twin City Bank

lending_maximum_extendable_credit: The maximum extendable credit of the program being added.

Expand Down Expand Up @@ -135,7 +134,7 @@ async def create(
self,
*,
name: str,
bank: Literal["core_bank", "first_internet_bank", "grasshopper_bank", "twin_city_bank"] | Omit = omit,
bank: Literal["core_bank", "first_internet_bank", "grasshopper_bank"] | Omit = omit,
lending_maximum_extendable_credit: int | Omit = omit,
reserve_account_id: str | Omit = omit,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
Expand All @@ -161,7 +160,6 @@ async def create(
- `core_bank` - Core Bank
- `first_internet_bank` - First Internet Bank of Indiana
- `grasshopper_bank` - Grasshopper Bank
- `twin_city_bank` - Twin City Bank

lending_maximum_extendable_credit: The maximum extendable credit of the program being added.

Expand Down
10 changes: 10 additions & 0 deletions src/increase/resources/swift_transfers.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ def create(
instructed_currency: Literal["USD"],
source_account_number_id: str,
unstructured_remittance_information: str,
intermediary_bank_identification_code: str | Omit = omit,
require_approval: bool | Omit = omit,
routing_number: str | Omit = omit,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
Expand Down Expand Up @@ -99,6 +100,9 @@ def create(

unstructured_remittance_information: Unstructured remittance information to include in the transfer.

intermediary_bank_identification_code: The bank identification code (BIC) of the intermediary bank, if the transfer
should be routed through one.

require_approval: Whether the transfer requires explicit approval via the dashboard or API.

routing_number: The creditor's bank account routing or transit number. Required in certain
Expand Down Expand Up @@ -129,6 +133,7 @@ def create(
"instructed_currency": instructed_currency,
"source_account_number_id": source_account_number_id,
"unstructured_remittance_information": unstructured_remittance_information,
"intermediary_bank_identification_code": intermediary_bank_identification_code,
"require_approval": require_approval,
"routing_number": routing_number,
},
Expand Down Expand Up @@ -361,6 +366,7 @@ async def create(
instructed_currency: Literal["USD"],
source_account_number_id: str,
unstructured_remittance_information: str,
intermediary_bank_identification_code: str | Omit = omit,
require_approval: bool | Omit = omit,
routing_number: str | Omit = omit,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
Expand Down Expand Up @@ -402,6 +408,9 @@ async def create(

unstructured_remittance_information: Unstructured remittance information to include in the transfer.

intermediary_bank_identification_code: The bank identification code (BIC) of the intermediary bank, if the transfer
should be routed through one.

require_approval: Whether the transfer requires explicit approval via the dashboard or API.

routing_number: The creditor's bank account routing or transit number. Required in certain
Expand Down Expand Up @@ -432,6 +441,7 @@ async def create(
"instructed_currency": instructed_currency,
"source_account_number_id": source_account_number_id,
"unstructured_remittance_information": unstructured_remittance_information,
"intermediary_bank_identification_code": intermediary_bank_identification_code,
"require_approval": require_approval,
"routing_number": routing_number,
},
Expand Down
6 changes: 6 additions & 0 deletions src/increase/types/event.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,8 @@ class Event(BaseModel):
"inbound_fednow_transfer.updated",
"inbound_mail_item.created",
"inbound_mail_item.updated",
"inbound_real_time_payments_request_for_payment.created",
"inbound_real_time_payments_request_for_payment.updated",
"inbound_real_time_payments_transfer.created",
"inbound_real_time_payments_transfer.updated",
"inbound_wire_drawdown_request.created",
Expand Down Expand Up @@ -232,6 +234,10 @@ class Event(BaseModel):
is updated.
- `inbound_mail_item.created` - Occurs whenever an Inbound Mail Item is created.
- `inbound_mail_item.updated` - Occurs whenever an Inbound Mail Item is updated.
- `inbound_real_time_payments_request_for_payment.created` - Occurs whenever an
Inbound Real-Time Payments Request for Payment is created.
- `inbound_real_time_payments_request_for_payment.updated` - Occurs whenever an
Inbound Real-Time Payments Request for Payment is updated.
- `inbound_real_time_payments_transfer.created` - Occurs whenever an Inbound
Real-Time Payments Transfer is created.
- `inbound_real_time_payments_transfer.updated` - Occurs whenever an Inbound
Expand Down
2 changes: 2 additions & 0 deletions src/increase/types/event_list_params.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,8 @@ class EventListParams(TypedDict, total=False):
"inbound_fednow_transfer.updated",
"inbound_mail_item.created",
"inbound_mail_item.updated",
"inbound_real_time_payments_request_for_payment.created",
"inbound_real_time_payments_request_for_payment.updated",
"inbound_real_time_payments_transfer.created",
"inbound_real_time_payments_transfer.updated",
"inbound_wire_drawdown_request.created",
Expand Down
6 changes: 6 additions & 0 deletions src/increase/types/event_subscription.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,8 @@ class SelectedEventCategory(BaseModel):
"inbound_fednow_transfer.updated",
"inbound_mail_item.created",
"inbound_mail_item.updated",
"inbound_real_time_payments_request_for_payment.created",
"inbound_real_time_payments_request_for_payment.updated",
"inbound_real_time_payments_transfer.created",
"inbound_real_time_payments_transfer.updated",
"inbound_wire_drawdown_request.created",
Expand Down Expand Up @@ -220,6 +222,10 @@ class SelectedEventCategory(BaseModel):
is updated.
- `inbound_mail_item.created` - Occurs whenever an Inbound Mail Item is created.
- `inbound_mail_item.updated` - Occurs whenever an Inbound Mail Item is updated.
- `inbound_real_time_payments_request_for_payment.created` - Occurs whenever an
Inbound Real-Time Payments Request for Payment is created.
- `inbound_real_time_payments_request_for_payment.updated` - Occurs whenever an
Inbound Real-Time Payments Request for Payment is updated.
- `inbound_real_time_payments_transfer.created` - Occurs whenever an Inbound
Real-Time Payments Transfer is created.
- `inbound_real_time_payments_transfer.updated` - Occurs whenever an Inbound
Expand Down
6 changes: 6 additions & 0 deletions src/increase/types/event_subscription_create_params.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,8 @@ class SelectedEventCategory(TypedDict, total=False):
"inbound_fednow_transfer.updated",
"inbound_mail_item.created",
"inbound_mail_item.updated",
"inbound_real_time_payments_request_for_payment.created",
"inbound_real_time_payments_request_for_payment.updated",
"inbound_real_time_payments_transfer.created",
"inbound_real_time_payments_transfer.updated",
"inbound_wire_drawdown_request.created",
Expand Down Expand Up @@ -249,6 +251,10 @@ class SelectedEventCategory(TypedDict, total=False):
is updated.
- `inbound_mail_item.created` - Occurs whenever an Inbound Mail Item is created.
- `inbound_mail_item.updated` - Occurs whenever an Inbound Mail Item is updated.
- `inbound_real_time_payments_request_for_payment.created` - Occurs whenever an
Inbound Real-Time Payments Request for Payment is created.
- `inbound_real_time_payments_request_for_payment.updated` - Occurs whenever an
Inbound Real-Time Payments Request for Payment is updated.
- `inbound_real_time_payments_transfer.created` - Occurs whenever an Inbound
Real-Time Payments Transfer is created.
- `inbound_real_time_payments_transfer.updated` - Occurs whenever an Inbound
Expand Down
3 changes: 1 addition & 2 deletions src/increase/types/simulations/program_create_params.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,12 @@ class ProgramCreateParams(TypedDict, total=False):
name: Required[str]
"""The name of the program being added."""

bank: Literal["core_bank", "first_internet_bank", "grasshopper_bank", "twin_city_bank"]
bank: Literal["core_bank", "first_internet_bank", "grasshopper_bank"]
"""The bank for the program's accounts, defaults to First Internet Bank.

- `core_bank` - Core Bank
- `first_internet_bank` - First Internet Bank of Indiana
- `grasshopper_bank` - Grasshopper Bank
- `twin_city_bank` - Twin City Bank
"""

lending_maximum_extendable_credit: int
Expand Down
6 changes: 6 additions & 0 deletions src/increase/types/swift_transfer.py
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,12 @@ class SwiftTransfer(BaseModel):
- `USD` - United States Dollar
"""

intermediary_bank_identification_code: Optional[str] = None
"""
The bank identification code (BIC) of the intermediary bank, if the transfer is
routed through one.
"""

pending_transaction_id: Optional[str] = None
"""The ID for the pending transaction representing the transfer."""

Expand Down
6 changes: 6 additions & 0 deletions src/increase/types/swift_transfer_create_params.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,12 @@ class SwiftTransferCreateParams(TypedDict, total=False):
unstructured_remittance_information: Required[str]
"""Unstructured remittance information to include in the transfer."""

intermediary_bank_identification_code: str
"""
The bank identification code (BIC) of the intermediary bank, if the transfer
should be routed through one.
"""

require_approval: bool
"""Whether the transfer requires explicit approval via the dashboard or API."""

Expand Down
6 changes: 6 additions & 0 deletions src/increase/types/unwrap_webhook_event.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,8 @@ class UnwrapWebhookEvent(BaseModel):
"inbound_fednow_transfer.updated",
"inbound_mail_item.created",
"inbound_mail_item.updated",
"inbound_real_time_payments_request_for_payment.created",
"inbound_real_time_payments_request_for_payment.updated",
"inbound_real_time_payments_transfer.created",
"inbound_real_time_payments_transfer.updated",
"inbound_wire_drawdown_request.created",
Expand Down Expand Up @@ -232,6 +234,10 @@ class UnwrapWebhookEvent(BaseModel):
is updated.
- `inbound_mail_item.created` - Occurs whenever an Inbound Mail Item is created.
- `inbound_mail_item.updated` - Occurs whenever an Inbound Mail Item is updated.
- `inbound_real_time_payments_request_for_payment.created` - Occurs whenever an
Inbound Real-Time Payments Request for Payment is created.
- `inbound_real_time_payments_request_for_payment.updated` - Occurs whenever an
Inbound Real-Time Payments Request for Payment is updated.
- `inbound_real_time_payments_transfer.created` - Occurs whenever an Inbound
Real-Time Payments Transfer is created.
- `inbound_real_time_payments_transfer.updated` - Occurs whenever an Inbound
Expand Down
2 changes: 2 additions & 0 deletions tests/api_resources/test_swift_transfers.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ def test_method_create_with_all_params(self, client: Increase) -> None:
instructed_currency="USD",
source_account_number_id="account_number_v18nkfqm6afpsrvy82b2",
unstructured_remittance_information="New Swift transfer",
intermediary_bank_identification_code="210BF73A",
require_approval=True,
routing_number="sq",
)
Expand Down Expand Up @@ -352,6 +353,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncIncrease)
instructed_currency="USD",
source_account_number_id="account_number_v18nkfqm6afpsrvy82b2",
unstructured_remittance_information="New Swift transfer",
intermediary_bank_identification_code="210BF73A",
require_approval=True,
routing_number="sq",
)
Expand Down
2 changes: 1 addition & 1 deletion uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading