Skip to content
Open
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
323 changes: 208 additions & 115 deletions .speakeasy/gen.lock

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion .speakeasy/gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ generation:
persistentEdits: {}
versioningStrategy: automatic
python:
version: 0.32.0
version: 0.32.1
additionalDependencies:
dev:
pydantic-ai-slim: ^0.1.0
Expand Down
12 changes: 6 additions & 6 deletions .speakeasy/workflow.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,20 @@ speakeasyVersion: 1.648.0
sources:
Polar-OAS:
sourceNamespace: polar-oas
sourceRevisionDigest: sha256:9cf091f91ef4a46970ede3273ee33e541c996281ec50ce88b55131f7d05e9b8c
sourceBlobDigest: sha256:bd427b992ceeb027fb3495c84d300ac99b300e03c96a775cd948e837b8ca9994
sourceRevisionDigest: sha256:13e1d88da73708b0d7dbdced60ff2ea2beecda03792a3fb64f976ee7605d1bcf
sourceBlobDigest: sha256:ab789f9de07a02ada63727da4a26554b778417831c74357ad36187383bcb07c2
tags:
- latest
- speakeasy-sdk-regen-1781311562
- speakeasy-sdk-regen-1784593801
- 2026-04
targets:
polar:
source: Polar-OAS
sourceNamespace: polar-oas
sourceRevisionDigest: sha256:9cf091f91ef4a46970ede3273ee33e541c996281ec50ce88b55131f7d05e9b8c
sourceBlobDigest: sha256:bd427b992ceeb027fb3495c84d300ac99b300e03c96a775cd948e837b8ca9994
sourceRevisionDigest: sha256:13e1d88da73708b0d7dbdced60ff2ea2beecda03792a3fb64f976ee7605d1bcf
sourceBlobDigest: sha256:ab789f9de07a02ada63727da4a26554b778417831c74357ad36187383bcb07c2
codeSamplesNamespace: polar-oas-py-code-samples
codeSamplesRevisionDigest: sha256:6351e6c063d48f2c1f108519dd311ee4340131943242e7c054acef26fa717322
codeSamplesRevisionDigest: sha256:c5e5a3a10caa613b3395a41e601c26105e9bf63b4afccddbf991eedc686d1aae
workflow:
workflowVersion: 1.0.0
speakeasyVersion: latest
Expand Down
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -606,7 +606,7 @@ with Polar(
* [`PolarError`](./src/polar_sdk/models/polarerror.py): The base class for HTTP error responses.
* [`HTTPValidationError`](./src/polar_sdk/models/httpvalidationerror.py): Validation Error. Status code `422`. *

<details><summary>Less common errors (35)</summary>
<details><summary>Less common errors (36)</summary>

<br />

Expand All @@ -627,6 +627,7 @@ with Polar(
* [`NotOpenCheckout`](./src/polar_sdk/models/notopencheckout.py): The checkout is expired, the customer already has an active subscription, or the organization is not ready to accept payments. Status code `403`. Applicable to 3 of 185 methods.*
* [`PaymentNotReady`](./src/polar_sdk/models/paymentnotready.py): The checkout is expired, the customer already has an active subscription, or the organization is not ready to accept payments. Status code `403`. Applicable to 3 of 185 methods.*
* [`TrialAlreadyRedeemed`](./src/polar_sdk/models/trialalreadyredeemed.py): The checkout is expired, the customer already has an active subscription, or the organization is not ready to accept payments. Status code `403`. Applicable to 3 of 185 methods.*
* [`DiscountRedemptionLimitReached`](./src/polar_sdk/models/discountredemptionlimitreached.py): The checkout is expired, the customer already has an active subscription, or the organization is not ready to accept payments. Status code `403`. Applicable to 3 of 185 methods.*
* [`ExpiredCheckoutError`](./src/polar_sdk/models/expiredcheckouterror.py): The checkout session is expired. Status code `410`. Applicable to 3 of 185 methods.*
* [`SubscriptionLocked`](./src/polar_sdk/models/subscriptionlocked.py): Subscription is pending an update. Status code `409`. Applicable to 2 of 185 methods.*
* [`OrderNotEligibleForInvoice`](./src/polar_sdk/models/ordernoteligibleforinvoice.py): Order is not eligible for invoice generation (invalid status). Status code `409`. Applicable to 2 of 185 methods.*
Expand Down
12 changes: 11 additions & 1 deletion RELEASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -1153,4 +1153,14 @@ Based on:
### Generated
- [python v0.32.0] .
### Releases
- [PyPI v0.32.0] https://pypi.org/project/polar-sdk/0.32.0 - .
- [PyPI v0.32.0] https://pypi.org/project/polar-sdk/0.32.0 - .

## 2026-08-02 00:31:22
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.648.0 (2.737.0) https://github.com/speakeasy-api/speakeasy
### Generated
- [python v0.32.1] .
### Releases
- [PyPI v0.32.1] https://pypi.org/project/polar-sdk/0.32.1 - .
58 changes: 41 additions & 17 deletions codeSamples.yaml

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions docs/models/checkout.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ Checkout session data retrieved using an access token.
| `customer_billing_address` | [Nullable[models.Address]](../models/address.md) | :heavy_check_mark: | N/A |
| `customer_tax_id` | *Nullable[str]* | :heavy_check_mark: | N/A |
| `locale` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A |
| `payment_method_type` | *Nullable[str]* | :heavy_check_mark: | Payment method type selected by the customer in the checkout form, e.g. `card`, `apple_pay` or `upi`. |
| `payment_processor_metadata` | Dict[str, *str*] | :heavy_check_mark: | N/A |
| `billing_address_fields` | [models.CheckoutBillingAddressFields](../models/checkoutbillingaddressfields.md) | :heavy_check_mark: | N/A |
| `trial_interval` | [Nullable[models.TrialInterval]](../models/trialinterval.md) | :heavy_check_mark: | The interval unit for the trial period. |
Expand Down
1 change: 1 addition & 0 deletions docs/models/checkoutconfirmstripe.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ Confirm a checkout session using a Stripe confirmation token.
| `customer_billing_address` | [OptionalNullable[models.AddressInput]](../models/addressinput.md) | :heavy_minus_sign: | N/A | |
| `customer_tax_id` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | |
| `locale` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | en |
| `payment_method_type` | *OptionalNullable[str]* | :heavy_minus_sign: | Payment method type selected by the customer in the checkout form, e.g. `card`, `apple_pay` or `upi`. | |
| `discount_code` | *OptionalNullable[str]* | :heavy_minus_sign: | Discount code to apply to the checkout. | |
| `allow_trial` | *OptionalNullable[Literal[False]]* | :heavy_minus_sign: | Disable the trial period for the checkout session. It's mainly useful when the trial is blocked because the customer already redeemed one. | |
| `confirmation_token_id` | *OptionalNullable[str]* | :heavy_minus_sign: | ID of the Stripe confirmation token. Required for fixed prices and custom prices. | |
Loading