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: 184
configured_endpoints: 186
20 changes: 19 additions & 1 deletion api.md
Original file line number Diff line number Diff line change
Expand Up @@ -569,7 +569,6 @@ Methods:

Methods:

- <code title="post /simulations/check_transfers/{check_transfer_id}/deposit">client.simulations.check_transfers.<a href="./src/increase/resources/simulations/check_transfers.py">deposit</a>(check_transfer_id) -> <a href="./src/increase/types/check_transfer.py">CheckTransfer</a></code>
- <code title="post /simulations/check_transfers/{check_transfer_id}/mail">client.simulations.check_transfers.<a href="./src/increase/resources/simulations/check_transfers.py">mail</a>(check_transfer_id) -> <a href="./src/increase/types/check_transfer.py">CheckTransfer</a></code>

## Documents
Expand Down Expand Up @@ -666,6 +665,12 @@ Methods:

- <code title="post /simulations/physical_cards/{physical_card_id}/shipment_advance">client.simulations.physical_cards.<a href="./src/increase/resources/simulations/physical_cards.py">shipment_advance</a>(physical_card_id, \*\*<a href="src/increase/types/simulations/physical_card_shipment_advance_params.py">params</a>) -> <a href="./src/increase/types/physical_card.py">PhysicalCard</a></code>

## InboundCheckDeposits

Methods:

- <code title="post /simulations/inbound_check_deposits">client.simulations.inbound_check_deposits.<a href="./src/increase/resources/simulations/inbound_check_deposits.py">create</a>(\*\*<a href="src/increase/types/simulations/inbound_check_deposit_create_params.py">params</a>) -> <a href="./src/increase/types/inbound_check_deposit.py">InboundCheckDeposit</a></code>

# PhysicalCards

Types:
Expand Down Expand Up @@ -835,3 +840,16 @@ Methods:
- <code title="get /physical_card_profiles">client.physical_card_profiles.<a href="./src/increase/resources/physical_card_profiles.py">list</a>(\*\*<a href="src/increase/types/physical_card_profile_list_params.py">params</a>) -> <a href="./src/increase/types/physical_card_profile.py">SyncPage[PhysicalCardProfile]</a></code>
- <code title="post /physical_card_profiles/{physical_card_profile_id}/archive">client.physical_card_profiles.<a href="./src/increase/resources/physical_card_profiles.py">archive</a>(physical_card_profile_id) -> <a href="./src/increase/types/physical_card_profile.py">PhysicalCardProfile</a></code>
- <code title="post /physical_card_profiles/{physical_card_profile_id}/clone">client.physical_card_profiles.<a href="./src/increase/resources/physical_card_profiles.py">clone</a>(physical_card_profile_id, \*\*<a href="src/increase/types/physical_card_profile_clone_params.py">params</a>) -> <a href="./src/increase/types/physical_card_profile.py">PhysicalCardProfile</a></code>

# InboundCheckDeposits

Types:

```python
from increase.types import InboundCheckDeposit
```

Methods:

- <code title="get /inbound_check_deposits/{inbound_check_deposit_id}">client.inbound_check_deposits.<a href="./src/increase/resources/inbound_check_deposits.py">retrieve</a>(inbound_check_deposit_id) -> <a href="./src/increase/types/inbound_check_deposit.py">InboundCheckDeposit</a></code>
- <code title="get /inbound_check_deposits">client.inbound_check_deposits.<a href="./src/increase/resources/inbound_check_deposits.py">list</a>(\*\*<a href="src/increase/types/inbound_check_deposit_list_params.py">params</a>) -> <a href="./src/increase/types/inbound_check_deposit.py">SyncPage[InboundCheckDeposit]</a></code>
10 changes: 10 additions & 0 deletions src/increase/_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@ class Increase(SyncAPIClient):
inbound_wire_transfers: resources.InboundWireTransfers
digital_card_profiles: resources.DigitalCardProfiles
physical_card_profiles: resources.PhysicalCardProfiles
inbound_check_deposits: resources.InboundCheckDeposits
with_raw_response: IncreaseWithRawResponse
with_streaming_response: IncreaseWithStreamedResponse

Expand Down Expand Up @@ -249,6 +250,7 @@ def __init__(
self.inbound_wire_transfers = resources.InboundWireTransfers(self)
self.digital_card_profiles = resources.DigitalCardProfiles(self)
self.physical_card_profiles = resources.PhysicalCardProfiles(self)
self.inbound_check_deposits = resources.InboundCheckDeposits(self)
self.with_raw_response = IncreaseWithRawResponse(self)
self.with_streaming_response = IncreaseWithStreamedResponse(self)

Expand Down Expand Up @@ -472,6 +474,7 @@ class AsyncIncrease(AsyncAPIClient):
inbound_wire_transfers: resources.AsyncInboundWireTransfers
digital_card_profiles: resources.AsyncDigitalCardProfiles
physical_card_profiles: resources.AsyncPhysicalCardProfiles
inbound_check_deposits: resources.AsyncInboundCheckDeposits
with_raw_response: AsyncIncreaseWithRawResponse
with_streaming_response: AsyncIncreaseWithStreamedResponse

Expand Down Expand Up @@ -618,6 +621,7 @@ def __init__(
self.inbound_wire_transfers = resources.AsyncInboundWireTransfers(self)
self.digital_card_profiles = resources.AsyncDigitalCardProfiles(self)
self.physical_card_profiles = resources.AsyncPhysicalCardProfiles(self)
self.inbound_check_deposits = resources.AsyncInboundCheckDeposits(self)
self.with_raw_response = AsyncIncreaseWithRawResponse(self)
self.with_streaming_response = AsyncIncreaseWithStreamedResponse(self)

Expand Down Expand Up @@ -856,6 +860,7 @@ def __init__(self, client: Increase) -> None:
self.inbound_wire_transfers = resources.InboundWireTransfersWithRawResponse(client.inbound_wire_transfers)
self.digital_card_profiles = resources.DigitalCardProfilesWithRawResponse(client.digital_card_profiles)
self.physical_card_profiles = resources.PhysicalCardProfilesWithRawResponse(client.physical_card_profiles)
self.inbound_check_deposits = resources.InboundCheckDepositsWithRawResponse(client.inbound_check_deposits)


class AsyncIncreaseWithRawResponse:
Expand Down Expand Up @@ -920,6 +925,7 @@ def __init__(self, client: AsyncIncrease) -> None:
self.inbound_wire_transfers = resources.AsyncInboundWireTransfersWithRawResponse(client.inbound_wire_transfers)
self.digital_card_profiles = resources.AsyncDigitalCardProfilesWithRawResponse(client.digital_card_profiles)
self.physical_card_profiles = resources.AsyncPhysicalCardProfilesWithRawResponse(client.physical_card_profiles)
self.inbound_check_deposits = resources.AsyncInboundCheckDepositsWithRawResponse(client.inbound_check_deposits)


class IncreaseWithStreamedResponse:
Expand Down Expand Up @@ -986,6 +992,7 @@ def __init__(self, client: Increase) -> None:
self.inbound_wire_transfers = resources.InboundWireTransfersWithStreamingResponse(client.inbound_wire_transfers)
self.digital_card_profiles = resources.DigitalCardProfilesWithStreamingResponse(client.digital_card_profiles)
self.physical_card_profiles = resources.PhysicalCardProfilesWithStreamingResponse(client.physical_card_profiles)
self.inbound_check_deposits = resources.InboundCheckDepositsWithStreamingResponse(client.inbound_check_deposits)


class AsyncIncreaseWithStreamedResponse:
Expand Down Expand Up @@ -1068,6 +1075,9 @@ def __init__(self, client: AsyncIncrease) -> None:
self.physical_card_profiles = resources.AsyncPhysicalCardProfilesWithStreamingResponse(
client.physical_card_profiles
)
self.inbound_check_deposits = resources.AsyncInboundCheckDepositsWithStreamingResponse(
client.inbound_check_deposits
)


Client = Increase
Expand Down
14 changes: 14 additions & 0 deletions src/increase/resources/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -296,6 +296,14 @@
BookkeepingEntrySetsWithStreamingResponse,
AsyncBookkeepingEntrySetsWithStreamingResponse,
)
from .inbound_check_deposits import (
InboundCheckDeposits,
AsyncInboundCheckDeposits,
InboundCheckDepositsWithRawResponse,
AsyncInboundCheckDepositsWithRawResponse,
InboundCheckDepositsWithStreamingResponse,
AsyncInboundCheckDepositsWithStreamingResponse,
)
from .inbound_wire_transfers import (
InboundWireTransfers,
AsyncInboundWireTransfers,
Expand Down Expand Up @@ -646,4 +654,10 @@
"AsyncPhysicalCardProfilesWithRawResponse",
"PhysicalCardProfilesWithStreamingResponse",
"AsyncPhysicalCardProfilesWithStreamingResponse",
"InboundCheckDeposits",
"AsyncInboundCheckDeposits",
"InboundCheckDepositsWithRawResponse",
"AsyncInboundCheckDepositsWithRawResponse",
"InboundCheckDepositsWithStreamingResponse",
"AsyncInboundCheckDepositsWithStreamingResponse",
]
26 changes: 26 additions & 0 deletions src/increase/resources/exports.py
Original file line number Diff line number Diff line change
Expand Up @@ -153,8 +153,12 @@ def retrieve(
def list(
self,
*,
category: export_list_params.Category | NotGiven = NOT_GIVEN,
created_at: export_list_params.CreatedAt | NotGiven = NOT_GIVEN,
cursor: str | NotGiven = NOT_GIVEN,
idempotency_key: str | NotGiven = NOT_GIVEN,
limit: int | NotGiven = NOT_GIVEN,
status: export_list_params.Status | 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 @@ -168,6 +172,11 @@ def list(
Args:
cursor: Return the page of entries after this one.

idempotency_key: Filter records to the one with the specified `idempotency_key` you chose for
that object. This value is unique across Increase and is used to ensure that a
request is only processed once. Learn more about
[idempotency](https://increase.com/documentation/idempotency-keys).

limit: Limit the size of the list that is returned. The default (and maximum) is 100
objects.

Expand All @@ -189,8 +198,12 @@ def list(
timeout=timeout,
query=maybe_transform(
{
"category": category,
"created_at": created_at,
"cursor": cursor,
"idempotency_key": idempotency_key,
"limit": limit,
"status": status,
},
export_list_params.ExportListParams,
),
Expand Down Expand Up @@ -327,8 +340,12 @@ async def retrieve(
def list(
self,
*,
category: export_list_params.Category | NotGiven = NOT_GIVEN,
created_at: export_list_params.CreatedAt | NotGiven = NOT_GIVEN,
cursor: str | NotGiven = NOT_GIVEN,
idempotency_key: str | NotGiven = NOT_GIVEN,
limit: int | NotGiven = NOT_GIVEN,
status: export_list_params.Status | 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 @@ -342,6 +359,11 @@ def list(
Args:
cursor: Return the page of entries after this one.

idempotency_key: Filter records to the one with the specified `idempotency_key` you chose for
that object. This value is unique across Increase and is used to ensure that a
request is only processed once. Learn more about
[idempotency](https://increase.com/documentation/idempotency-keys).

limit: Limit the size of the list that is returned. The default (and maximum) is 100
objects.

Expand All @@ -363,8 +385,12 @@ def list(
timeout=timeout,
query=maybe_transform(
{
"category": category,
"created_at": created_at,
"cursor": cursor,
"idempotency_key": idempotency_key,
"limit": limit,
"status": status,
},
export_list_params.ExportListParams,
),
Expand Down
Loading