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
396 changes: 259 additions & 137 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:b81c12cd646f1c219e4c51f86d6b835e2325aa55a26a3eeda83bf1ddd4be3341
sourceBlobDigest: sha256:846c4a049298b40d8c4ad610cbeb0a3fb4323075167199f337d4b8dc87585f83
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:b81c12cd646f1c219e4c51f86d6b835e2325aa55a26a3eeda83bf1ddd4be3341
sourceBlobDigest: sha256:846c4a049298b40d8c4ad610cbeb0a3fb4323075167199f337d4b8dc87585f83
codeSamplesNamespace: polar-oas-py-code-samples
codeSamplesRevisionDigest: sha256:6351e6c063d48f2c1f108519dd311ee4340131943242e7c054acef26fa717322
codeSamplesRevisionDigest: sha256:479cbd168c2dd83a4894372bf70ec01e65072b8de3c0480a4eedfb3e74423616
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-05 00:29:35
### 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 - .
62 changes: 43 additions & 19 deletions codeSamples.yaml

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# CustomersExportQueryParamOrganizationID
# BenefitsListQueryParamOrganizationIDFilter

Filter by organization ID.

Expand Down
2 changes: 1 addition & 1 deletion docs/models/benefitslistrequest.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

| Field | Type | Required | Description |
| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `organization_id` | [OptionalNullable[models.QueryParamOrganizationIDFilter]](../models/queryparamorganizationidfilter.md) | :heavy_minus_sign: | Filter by organization ID. |
| `organization_id` | [OptionalNullable[models.BenefitsListQueryParamOrganizationIDFilter]](../models/benefitslistqueryparamorganizationidfilter.md) | :heavy_minus_sign: | Filter by organization ID. |
| `type_filter` | [OptionalNullable[models.BenefitTypeFilter]](../models/benefittypefilter.md) | :heavy_minus_sign: | Filter by benefit type. |
| `id` | [OptionalNullable[models.FilterIDs]](../models/filterids.md) | :heavy_minus_sign: | Filter by benefit IDs. |
| `exclude_id` | [OptionalNullable[models.ExcludeIDs]](../models/excludeids.md) | :heavy_minus_sign: | Exclude benefits with these IDs. |
Expand Down
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
Loading