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 .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
".": "0.332.0"
".": "0.333.0"
}
8 changes: 4 additions & 4 deletions .stats.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
configured_endpoints: 213
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-8d71e78a4afd7e1ce2436bf2428777d623f468bb3b6c37c36ed8ed3155fe6c77.yml
openapi_spec_hash: 3064d7c7468a53e4797ef16b648fd06d
config_hash: e1e8bc2138a13f290956ae6687f099cd
configured_endpoints: 214
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-6241d4f5ad4269845e96fe2c674d19f586894ca27456095fee5a70dede9ea19c.yml
openapi_spec_hash: 81e8f749b8ca89085b599b2c346a773d
config_hash: 8dadd60eab7ab858cf06c6a8633ed9f3
13 changes: 13 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,18 @@
# Changelog

## 0.333.0 (2025-09-19)

Full Changelog: [v0.332.0...v0.333.0](https://github.com/Increase/increase-python/compare/v0.332.0...v0.333.0)

### Features

* **api:** api update ([30dbad1](https://github.com/Increase/increase-python/commit/30dbad15f8b552e52e70c3b75a619f121abe89ff))


### Chores

* do not install brew dependencies in ./scripts/bootstrap by default ([a03616d](https://github.com/Increase/increase-python/commit/a03616d1719be5e408433ec751cd7d3aba5aa291))

## 0.332.0 (2025-09-19)

Full Changelog: [v0.331.0...v0.332.0](https://github.com/Increase/increase-python/compare/v0.331.0...v0.332.0)
Expand Down
20 changes: 16 additions & 4 deletions api.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ Methods:
Types:

```python
from increase.types import Card, CardDetails, CardIframeURL
from increase.types import Card
```

Methods:
Expand All @@ -60,8 +60,20 @@ Methods:
- <code title="get /cards/{card_id}">client.cards.<a href="./src/increase/resources/cards.py">retrieve</a>(card_id) -> <a href="./src/increase/types/card.py">Card</a></code>
- <code title="patch /cards/{card_id}">client.cards.<a href="./src/increase/resources/cards.py">update</a>(card_id, \*\*<a href="src/increase/types/card_update_params.py">params</a>) -> <a href="./src/increase/types/card.py">Card</a></code>
- <code title="get /cards">client.cards.<a href="./src/increase/resources/cards.py">list</a>(\*\*<a href="src/increase/types/card_list_params.py">params</a>) -> <a href="./src/increase/types/card.py">SyncPage[Card]</a></code>
- <code title="post /cards/{card_id}/create_details_iframe">client.cards.<a href="./src/increase/resources/cards.py">create_details_iframe</a>(card_id, \*\*<a href="src/increase/types/card_create_details_iframe_params.py">params</a>) -> <a href="./src/increase/types/card_iframe_url.py">CardIframeURL</a></code>
- <code title="get /cards/{card_id}/details">client.cards.<a href="./src/increase/resources/cards.py">details</a>(card_id) -> <a href="./src/increase/types/card_details.py">CardDetails</a></code>

# CardDetails

Types:

```python
from increase.types import CardDetails, CardIframeURL
```

Methods:

- <code title="patch /cards/{card_id}/details">client.card_details.<a href="./src/increase/resources/card_details.py">update</a>(card_id, \*\*<a href="src/increase/types/card_detail_update_params.py">params</a>) -> <a href="./src/increase/types/card_details.py">CardDetails</a></code>
- <code title="post /cards/{card_id}/create_details_iframe">client.card_details.<a href="./src/increase/resources/card_details.py">create_details_iframe</a>(card_id, \*\*<a href="src/increase/types/card_detail_create_details_iframe_params.py">params</a>) -> <a href="./src/increase/types/card_iframe_url.py">CardIframeURL</a></code>
- <code title="get /cards/{card_id}/details">client.card_details.<a href="./src/increase/resources/card_details.py">details</a>(card_id) -> <a href="./src/increase/types/card_details.py">CardDetails</a></code>

# CardPayments

Expand Down Expand Up @@ -830,8 +842,8 @@ Methods:

Methods:

- <code title="post /simulations/physical_cards/{physical_card_id}/tracking_updates">client.simulations.physical_cards.<a href="./src/increase/resources/simulations/physical_cards.py">create</a>(physical_card_id, \*\*<a href="src/increase/types/simulations/physical_card_create_params.py">params</a>) -> <a href="./src/increase/types/physical_card.py">PhysicalCard</a></code>
- <code title="post /simulations/physical_cards/{physical_card_id}/advance_shipment">client.simulations.physical_cards.<a href="./src/increase/resources/simulations/physical_cards.py">advance_shipment</a>(physical_card_id, \*\*<a href="src/increase/types/simulations/physical_card_advance_shipment_params.py">params</a>) -> <a href="./src/increase/types/physical_card.py">PhysicalCard</a></code>
- <code title="post /simulations/physical_cards/{physical_card_id}/tracking_updates">client.simulations.physical_cards.<a href="./src/increase/resources/simulations/physical_cards.py">tracking_updates</a>(physical_card_id, \*\*<a href="src/increase/types/simulations/physical_card_tracking_updates_params.py">params</a>) -> <a href="./src/increase/types/physical_card.py">PhysicalCard</a></code>

## DigitalWalletTokenRequests

Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "increase"
version = "0.332.0"
version = "0.333.0"
description = "The official Python library for the increase API"
dynamic = ["readme"]
license = "Apache-2.0"
Expand Down
14 changes: 11 additions & 3 deletions scripts/bootstrap
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,18 @@ set -e

cd "$(dirname "$0")/.."

if ! command -v rye >/dev/null 2>&1 && [ -f "Brewfile" ] && [ "$(uname -s)" = "Darwin" ]; then
if [ -f "Brewfile" ] && [ "$(uname -s)" = "Darwin" ] && [ "$SKIP_BREW" != "1" ] && [ -t 0 ]; then
brew bundle check >/dev/null 2>&1 || {
echo "==> Installing Homebrew dependencies…"
brew bundle
echo -n "==> Install Homebrew dependencies? (y/N): "
read -r response
case "$response" in
[yY][eE][sS]|[yY])
brew bundle
;;
*)
;;
esac
echo
}
fi

Expand Down
9 changes: 9 additions & 0 deletions src/increase/_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@
lockboxes,
file_links,
card_tokens,
card_details,
oauth_tokens,
transactions,
ach_transfers,
Expand Down Expand Up @@ -113,6 +114,7 @@ class Increase(SyncAPIClient):
account_numbers: account_numbers.AccountNumbersResource
account_transfers: account_transfers.AccountTransfersResource
cards: cards.CardsResource
card_details: card_details.CardDetailsResource
card_payments: card_payments.CardPaymentsResource
card_purchase_supplements: card_purchase_supplements.CardPurchaseSupplementsResource
physical_cards: physical_cards.PhysicalCardsResource
Expand Down Expand Up @@ -259,6 +261,7 @@ def __init__(
self.account_numbers = account_numbers.AccountNumbersResource(self)
self.account_transfers = account_transfers.AccountTransfersResource(self)
self.cards = cards.CardsResource(self)
self.card_details = card_details.CardDetailsResource(self)
self.card_payments = card_payments.CardPaymentsResource(self)
self.card_purchase_supplements = card_purchase_supplements.CardPurchaseSupplementsResource(self)
self.physical_cards = physical_cards.PhysicalCardsResource(self)
Expand Down Expand Up @@ -474,6 +477,7 @@ class AsyncIncrease(AsyncAPIClient):
account_numbers: account_numbers.AsyncAccountNumbersResource
account_transfers: account_transfers.AsyncAccountTransfersResource
cards: cards.AsyncCardsResource
card_details: card_details.AsyncCardDetailsResource
card_payments: card_payments.AsyncCardPaymentsResource
card_purchase_supplements: card_purchase_supplements.AsyncCardPurchaseSupplementsResource
physical_cards: physical_cards.AsyncPhysicalCardsResource
Expand Down Expand Up @@ -622,6 +626,7 @@ def __init__(
self.account_numbers = account_numbers.AsyncAccountNumbersResource(self)
self.account_transfers = account_transfers.AsyncAccountTransfersResource(self)
self.cards = cards.AsyncCardsResource(self)
self.card_details = card_details.AsyncCardDetailsResource(self)
self.card_payments = card_payments.AsyncCardPaymentsResource(self)
self.card_purchase_supplements = card_purchase_supplements.AsyncCardPurchaseSupplementsResource(self)
self.physical_cards = physical_cards.AsyncPhysicalCardsResource(self)
Expand Down Expand Up @@ -840,6 +845,7 @@ def __init__(self, client: Increase) -> None:
self.account_numbers = account_numbers.AccountNumbersResourceWithRawResponse(client.account_numbers)
self.account_transfers = account_transfers.AccountTransfersResourceWithRawResponse(client.account_transfers)
self.cards = cards.CardsResourceWithRawResponse(client.cards)
self.card_details = card_details.CardDetailsResourceWithRawResponse(client.card_details)
self.card_payments = card_payments.CardPaymentsResourceWithRawResponse(client.card_payments)
self.card_purchase_supplements = card_purchase_supplements.CardPurchaseSupplementsResourceWithRawResponse(
client.card_purchase_supplements
Expand Down Expand Up @@ -950,6 +956,7 @@ def __init__(self, client: AsyncIncrease) -> None:
client.account_transfers
)
self.cards = cards.AsyncCardsResourceWithRawResponse(client.cards)
self.card_details = card_details.AsyncCardDetailsResourceWithRawResponse(client.card_details)
self.card_payments = card_payments.AsyncCardPaymentsResourceWithRawResponse(client.card_payments)
self.card_purchase_supplements = card_purchase_supplements.AsyncCardPurchaseSupplementsResourceWithRawResponse(
client.card_purchase_supplements
Expand Down Expand Up @@ -1074,6 +1081,7 @@ def __init__(self, client: Increase) -> None:
client.account_transfers
)
self.cards = cards.CardsResourceWithStreamingResponse(client.cards)
self.card_details = card_details.CardDetailsResourceWithStreamingResponse(client.card_details)
self.card_payments = card_payments.CardPaymentsResourceWithStreamingResponse(client.card_payments)
self.card_purchase_supplements = card_purchase_supplements.CardPurchaseSupplementsResourceWithStreamingResponse(
client.card_purchase_supplements
Expand Down Expand Up @@ -1198,6 +1206,7 @@ def __init__(self, client: AsyncIncrease) -> None:
client.account_transfers
)
self.cards = cards.AsyncCardsResourceWithStreamingResponse(client.cards)
self.card_details = card_details.AsyncCardDetailsResourceWithStreamingResponse(client.card_details)
self.card_payments = card_payments.AsyncCardPaymentsResourceWithStreamingResponse(client.card_payments)
self.card_purchase_supplements = (
card_purchase_supplements.AsyncCardPurchaseSupplementsResourceWithStreamingResponse(
Expand Down
2 changes: 1 addition & 1 deletion src/increase/_version.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.

__title__ = "increase"
__version__ = "0.332.0" # x-release-please-version
__version__ = "0.333.0" # x-release-please-version
14 changes: 14 additions & 0 deletions src/increase/resources/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,14 @@
SimulationsResourceWithStreamingResponse,
AsyncSimulationsResourceWithStreamingResponse,
)
from .card_details import (
CardDetailsResource,
AsyncCardDetailsResource,
CardDetailsResourceWithRawResponse,
AsyncCardDetailsResourceWithRawResponse,
CardDetailsResourceWithStreamingResponse,
AsyncCardDetailsResourceWithStreamingResponse,
)
from .oauth_tokens import (
OAuthTokensResource,
AsyncOAuthTokensResource,
Expand Down Expand Up @@ -459,6 +467,12 @@
"AsyncCardsResourceWithRawResponse",
"CardsResourceWithStreamingResponse",
"AsyncCardsResourceWithStreamingResponse",
"CardDetailsResource",
"AsyncCardDetailsResource",
"CardDetailsResourceWithRawResponse",
"AsyncCardDetailsResourceWithRawResponse",
"CardDetailsResourceWithStreamingResponse",
"AsyncCardDetailsResourceWithStreamingResponse",
"CardPaymentsResource",
"AsyncCardPaymentsResource",
"CardPaymentsResourceWithRawResponse",
Expand Down
Loading