Skip to content
Merged
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 +1 @@
configured_endpoints: 144
configured_endpoints: 140
15 changes: 0 additions & 15 deletions api.md
Original file line number Diff line number Diff line change
Expand Up @@ -257,21 +257,6 @@ Methods:
- <code title="get /declined_transactions/{declined_transaction_id}">client.declined_transactions.<a href="./src/increase/resources/declined_transactions.py">retrieve</a>(declined_transaction_id) -> <a href="./src/increase/types/declined_transaction.py">DeclinedTransaction</a></code>
- <code title="get /declined_transactions">client.declined_transactions.<a href="./src/increase/resources/declined_transactions.py">list</a>(\*\*<a href="src/increase/types/declined_transaction_list_params.py">params</a>) -> <a href="./src/increase/types/declined_transaction.py">SyncPage[DeclinedTransaction]</a></code>

# Limits

Types:

```python
from increase.types import Limit
```

Methods:

- <code title="post /limits">client.limits.<a href="./src/increase/resources/limits.py">create</a>(\*\*<a href="src/increase/types/limit_create_params.py">params</a>) -> <a href="./src/increase/types/limit.py">Limit</a></code>
- <code title="get /limits/{limit_id}">client.limits.<a href="./src/increase/resources/limits.py">retrieve</a>(limit_id) -> <a href="./src/increase/types/limit.py">Limit</a></code>
- <code title="patch /limits/{limit_id}">client.limits.<a href="./src/increase/resources/limits.py">update</a>(limit_id, \*\*<a href="src/increase/types/limit_update_params.py">params</a>) -> <a href="./src/increase/types/limit.py">Limit</a></code>
- <code title="get /limits">client.limits.<a href="./src/increase/resources/limits.py">list</a>(\*\*<a href="src/increase/types/limit_list_params.py">params</a>) -> <a href="./src/increase/types/limit.py">SyncPage[Limit]</a></code>

# AccountTransfers

Types:
Expand Down
4 changes: 0 additions & 4 deletions src/increase/_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,6 @@ class Increase(SyncAPIClient):
pending_transactions: resources.PendingTransactions
programs: resources.Programs
declined_transactions: resources.DeclinedTransactions
limits: resources.Limits
account_transfers: resources.AccountTransfers
ach_transfers: resources.ACHTransfers
ach_prenotifications: resources.ACHPrenotifications
Expand Down Expand Up @@ -176,7 +175,6 @@ def __init__(
self.pending_transactions = resources.PendingTransactions(self)
self.programs = resources.Programs(self)
self.declined_transactions = resources.DeclinedTransactions(self)
self.limits = resources.Limits(self)
self.account_transfers = resources.AccountTransfers(self)
self.ach_transfers = resources.ACHTransfers(self)
self.ach_prenotifications = resources.ACHPrenotifications(self)
Expand Down Expand Up @@ -353,7 +351,6 @@ class AsyncIncrease(AsyncAPIClient):
pending_transactions: resources.AsyncPendingTransactions
programs: resources.AsyncPrograms
declined_transactions: resources.AsyncDeclinedTransactions
limits: resources.AsyncLimits
account_transfers: resources.AsyncAccountTransfers
ach_transfers: resources.AsyncACHTransfers
ach_prenotifications: resources.AsyncACHPrenotifications
Expand Down Expand Up @@ -458,7 +455,6 @@ def __init__(
self.pending_transactions = resources.AsyncPendingTransactions(self)
self.programs = resources.AsyncPrograms(self)
self.declined_transactions = resources.AsyncDeclinedTransactions(self)
self.limits = resources.AsyncLimits(self)
self.account_transfers = resources.AsyncAccountTransfers(self)
self.ach_transfers = resources.AsyncACHTransfers(self)
self.ach_prenotifications = resources.AsyncACHPrenotifications(self)
Expand Down
3 changes: 0 additions & 3 deletions src/increase/resources/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
from .files import Files, AsyncFiles
from .events import Events, AsyncEvents
from .groups import Groups, AsyncGroups
from .limits import Limits, AsyncLimits
from .exports import Exports, AsyncExports
from .accounts import Accounts, AsyncAccounts
from .entities import Entities, AsyncEntities
Expand Down Expand Up @@ -88,8 +87,6 @@
"AsyncPrograms",
"DeclinedTransactions",
"AsyncDeclinedTransactions",
"Limits",
"AsyncLimits",
"AccountTransfers",
"AsyncAccountTransfers",
"ACHTransfers",
Expand Down
16 changes: 16 additions & 0 deletions src/increase/resources/account_numbers.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ def create(
*,
account_id: str,
name: str,
inbound_ach: account_number_create_params.InboundACH | NotGiven = NOT_GIVEN,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
Expand All @@ -41,6 +42,8 @@ def create(

name: The name you choose for the Account Number.

inbound_ach: Options related to how this Account Number should handle inbound ACH transfers.

extra_headers: Send extra headers

extra_query: Add additional query parameters to the request
Expand All @@ -57,6 +60,7 @@ def create(
{
"account_id": account_id,
"name": name,
"inbound_ach": inbound_ach,
},
account_number_create_params.AccountNumberCreateParams,
),
Expand Down Expand Up @@ -107,6 +111,7 @@ def update(
self,
account_number_id: str,
*,
inbound_ach: account_number_update_params.InboundACH | NotGiven = NOT_GIVEN,
name: str | NotGiven = NOT_GIVEN,
status: Literal["active", "disabled", "canceled"] | NotGiven = NOT_GIVEN,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
Expand All @@ -123,6 +128,8 @@ def update(
Args:
account_number_id: The identifier of the Account Number.

inbound_ach: Options related to how this Account Number handles inbound ACH transfers.

name: The name you choose for the Account Number.

status: This indicates if transfers can be made to the Account Number.
Expand All @@ -145,6 +152,7 @@ def update(
f"/account_numbers/{account_number_id}",
body=maybe_transform(
{
"inbound_ach": inbound_ach,
"name": name,
"status": status,
},
Expand Down Expand Up @@ -229,6 +237,7 @@ async def create(
*,
account_id: str,
name: str,
inbound_ach: account_number_create_params.InboundACH | NotGiven = NOT_GIVEN,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
Expand All @@ -245,6 +254,8 @@ async def create(

name: The name you choose for the Account Number.

inbound_ach: Options related to how this Account Number should handle inbound ACH transfers.

extra_headers: Send extra headers

extra_query: Add additional query parameters to the request
Expand All @@ -261,6 +272,7 @@ async def create(
{
"account_id": account_id,
"name": name,
"inbound_ach": inbound_ach,
},
account_number_create_params.AccountNumberCreateParams,
),
Expand Down Expand Up @@ -311,6 +323,7 @@ async def update(
self,
account_number_id: str,
*,
inbound_ach: account_number_update_params.InboundACH | NotGiven = NOT_GIVEN,
name: str | NotGiven = NOT_GIVEN,
status: Literal["active", "disabled", "canceled"] | NotGiven = NOT_GIVEN,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
Expand All @@ -327,6 +340,8 @@ async def update(
Args:
account_number_id: The identifier of the Account Number.

inbound_ach: Options related to how this Account Number handles inbound ACH transfers.

name: The name you choose for the Account Number.

status: This indicates if transfers can be made to the Account Number.
Expand All @@ -349,6 +364,7 @@ async def update(
f"/account_numbers/{account_number_id}",
body=maybe_transform(
{
"inbound_ach": inbound_ach,
"name": name,
"status": status,
},
Expand Down
10 changes: 6 additions & 4 deletions src/increase/resources/accounts.py
Original file line number Diff line number Diff line change
Expand Up @@ -234,12 +234,13 @@ def close(
timeout: float | None | NotGiven = NOT_GIVEN,
idempotency_key: str | None = None,
) -> Account:
"""
Close an Account
"""Close an Account

Args:
account_id: The identifier of the Account to close.

The account must have a zero balance.

extra_headers: Send extra headers

extra_query: Add additional query parameters to the request
Expand Down Expand Up @@ -478,12 +479,13 @@ async def close(
timeout: float | None | NotGiven = NOT_GIVEN,
idempotency_key: str | None = None,
) -> Account:
"""
Close an Account
"""Close an Account

Args:
account_id: The identifier of the Account to close.

The account must have a zero balance.

extra_headers: Send extra headers

extra_query: Add additional query parameters to the request
Expand Down
12 changes: 8 additions & 4 deletions src/increase/resources/entities/entities.py
Original file line number Diff line number Diff line change
Expand Up @@ -219,12 +219,14 @@ def archive(
timeout: float | None | NotGiven = NOT_GIVEN,
idempotency_key: str | None = None,
) -> Entity:
"""
Archive an Entity
"""Archive an Entity

Args:
entity_id: The identifier of the Entity to archive.

Any accounts associated with an entity
must be closed before the entity can be archived.

extra_headers: Send extra headers

extra_query: Add additional query parameters to the request
Expand Down Expand Up @@ -486,12 +488,14 @@ async def archive(
timeout: float | None | NotGiven = NOT_GIVEN,
idempotency_key: str | None = None,
) -> Entity:
"""
Archive an Entity
"""Archive an Entity

Args:
entity_id: The identifier of the Entity to archive.

Any accounts associated with an entity
must be closed before the entity can be archived.

extra_headers: Send extra headers

extra_query: Add additional query parameters to the request
Expand Down
Loading