Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update generated code for beta #1218

Merged
merged 6 commits into from
Feb 2, 2024
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.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# Changelog

## 8.1.0 - 2024-02-01
* [#1213](https://github.com/stripe/stripe-python/pull/1213) Update generated code
* Add support for `swish` payment method throughout the API
* Add support for `relationship` on parameter classes `Account.CreateParamsIndividual` and `Token.CreateParamsAccountIndividual`
* Add support for `jurisdiction_level` on resource `TaxRate`
* Change type from `str` to `Literal["offline", "online"]` of `status` on field `terminal.Reader`

## 8.1.0b1 - 2024-01-25
* [#1198](https://github.com/stripe/stripe-python/pull/1198) Update generated code for beta
* Add support for `create_preview` method on resource `Invoice`
Expand Down
2 changes: 1 addition & 1 deletion OPENAPI_VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v796
v809
16 changes: 16 additions & 0 deletions stripe/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -223,6 +223,7 @@ def __getattr__(name):
capital as capital,
checkout as checkout,
climate as climate,
entitlements as entitlements,
financial_connections as financial_connections,
gift_cards as gift_cards,
identity as identity,
Expand Down Expand Up @@ -337,6 +338,18 @@ def __getattr__(name):
from stripe._customer_cash_balance_transaction_service import (
CustomerCashBalanceTransactionService as CustomerCashBalanceTransactionService,
)
from stripe._customer_entitlement import (
CustomerEntitlement as CustomerEntitlement,
)
from stripe._customer_entitlement_service import (
CustomerEntitlementService as CustomerEntitlementService,
)
from stripe._customer_entitlement_summary import (
CustomerEntitlementSummary as CustomerEntitlementSummary,
)
from stripe._customer_entitlement_summary_service import (
CustomerEntitlementSummaryService as CustomerEntitlementSummaryService,
)
from stripe._customer_funding_instructions_service import (
CustomerFundingInstructionsService as CustomerFundingInstructionsService,
)
Expand All @@ -357,6 +370,9 @@ def __getattr__(name):
from stripe._discount import Discount as Discount
from stripe._dispute import Dispute as Dispute
from stripe._dispute_service import DisputeService as DisputeService
from stripe._entitlements_service import (
EntitlementsService as EntitlementsService,
)
from stripe._ephemeral_key import EphemeralKey as EphemeralKey
from stripe._ephemeral_key_service import (
EphemeralKeyService as EphemeralKeyService,
Expand Down