Skip to content

Commit ee07955

Browse files
authored
Merge pull request #117 from polarsource/speakeasy-sdk-regen-1761092053
chore: 🐝 Update SDK - Generate 0.27.2
2 parents e9cb1fb + 1780a2d commit ee07955

File tree

98 files changed

+3009
-508
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

98 files changed

+3009
-508
lines changed

.speakeasy/gen.lock

Lines changed: 154 additions & 67 deletions
Large diffs are not rendered by default.

.speakeasy/gen.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ generation:
2727
generateNewTests: false
2828
skipResponseBodyAssertions: false
2929
python:
30-
version: 0.27.1
30+
version: 0.27.2
3131
additionalDependencies:
3232
dev:
3333
pydantic-ai-slim: ^0.1.0

.speakeasy/workflow.lock

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
1-
speakeasyVersion: 1.637.3
1+
speakeasyVersion: 1.638.1
22
sources:
33
Polar-OAS:
44
sourceNamespace: polar-oas
5-
sourceRevisionDigest: sha256:98dd88f089435a1af194015ca729983c7e2888b24ddc04e77194e8f913bce865
6-
sourceBlobDigest: sha256:81a64948141fbdaebf65485efe43f3942459a2da5f4c44dc6519392b117ec5e7
5+
sourceRevisionDigest: sha256:46b611f9c8ade538739548e99fc7531d2d8997238bec750975c87243e3561dae
6+
sourceBlobDigest: sha256:84a4d4283070e1ca8b54d4c5d671521e42810a1a7338838f698ae2be95d01514
77
tags:
88
- latest
9-
- speakeasy-sdk-regen-1761052444
9+
- speakeasy-sdk-regen-1761092053
1010
- 0.1.0
1111
targets:
1212
polar:
1313
source: Polar-OAS
1414
sourceNamespace: polar-oas
15-
sourceRevisionDigest: sha256:98dd88f089435a1af194015ca729983c7e2888b24ddc04e77194e8f913bce865
16-
sourceBlobDigest: sha256:81a64948141fbdaebf65485efe43f3942459a2da5f4c44dc6519392b117ec5e7
15+
sourceRevisionDigest: sha256:46b611f9c8ade538739548e99fc7531d2d8997238bec750975c87243e3561dae
16+
sourceBlobDigest: sha256:84a4d4283070e1ca8b54d4c5d671521e42810a1a7338838f698ae2be95d01514
1717
codeSamplesNamespace: polar-oas-py-code-samples
18-
codeSamplesRevisionDigest: sha256:94ad586acb6d8fc322f926c9fdf92b84dc1b05a6a344bb0dd0520b86a4701ca2
18+
codeSamplesRevisionDigest: sha256:9e6c1c270c11598e0905bf56e88e143d749f35d91988e645a20c83dd11a6a16e
1919
workflow:
2020
workflowVersion: 1.0.0
2121
speakeasyVersion: latest

README.md

Lines changed: 29 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -295,6 +295,15 @@ def webhook():
295295
* [update](docs/sdks/polarsubscriptions/README.md#update) - Update Subscription
296296
* [cancel](docs/sdks/polarsubscriptions/README.md#cancel) - Cancel Subscription
297297

298+
### [customer_seats](docs/sdks/customerseats/README.md)
299+
300+
* [assign_seat](docs/sdks/customerseats/README.md#assign_seat) - Assign Seat
301+
* [list_seats](docs/sdks/customerseats/README.md#list_seats) - List Seats
302+
* [revoke_seat](docs/sdks/customerseats/README.md#revoke_seat) - Revoke Seat
303+
* [resend_invitation](docs/sdks/customerseats/README.md#resend_invitation) - Resend Invitation
304+
* [get_claim_info](docs/sdks/customerseats/README.md#get_claim_info) - Get Claim Info
305+
* [claim_seat](docs/sdks/customerseats/README.md#claim_seat) - Claim Seat
306+
298307
### [customer_sessions](docs/sdks/customersessions/README.md)
299308

300309
* [create](docs/sdks/customersessions/README.md#create) - Create Customer Session
@@ -378,6 +387,7 @@ def webhook():
378387
### [orders](docs/sdks/orders/README.md)
379388

380389
* [list](docs/sdks/orders/README.md#list) - List Orders
390+
* [export](docs/sdks/orders/README.md#export) - Export Subscriptions
381391
* [get](docs/sdks/orders/README.md#get) - Get Order
382392
* [update](docs/sdks/orders/README.md#update) - Update Order
383393
* [generate_invoice](docs/sdks/orders/README.md#generate_invoice) - Generate Order Invoice
@@ -528,7 +538,7 @@ with Polar(
528538
* [`PolarError`](./src/polar_sdk/models/polarerror.py): The base class for HTTP error responses.
529539
* [`HTTPValidationError`](./src/polar_sdk/models/httpvalidationerror.py): Validation Error. Status code `422`. *
530540

531-
<details><summary>Less common errors (24)</summary>
541+
<details><summary>Less common errors (23)</summary>
532542

533543
<br />
534544

@@ -539,25 +549,24 @@ with Polar(
539549

540550

541551
**Inherit from [`PolarError`](./src/polar_sdk/models/polarerror.py)**:
542-
* [`ResourceNotFound`](./src/polar_sdk/models/resourcenotfound.py): Status code `404`. Applicable to 77 of 142 methods.*
543-
* [`NotPermitted`](./src/polar_sdk/models/notpermitted.py): Status code `403`. Applicable to 10 of 142 methods.*
544-
* [`Unauthorized`](./src/polar_sdk/models/unauthorized.py): Not authorized to manage license key. Status code `401`. Applicable to 5 of 142 methods.*
545-
* [`AlreadyCanceledSubscription`](./src/polar_sdk/models/alreadycanceledsubscription.py): Status code `403`. Applicable to 4 of 142 methods.*
546-
* [`AlreadyActiveSubscriptionError`](./src/polar_sdk/models/alreadyactivesubscriptionerror.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 142 methods.*
547-
* [`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 142 methods.*
548-
* [`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 142 methods.*
549-
* [`ExpiredCheckoutError`](./src/polar_sdk/models/expiredcheckouterror.py): The checkout session is expired. Status code `410`. Applicable to 3 of 142 methods.*
550-
* [`SubscriptionLocked`](./src/polar_sdk/models/subscriptionlocked.py): Subscription is pending an update. Status code `409`. Applicable to 2 of 142 methods.*
551-
* [`InvoiceAlreadyExists`](./src/polar_sdk/models/invoicealreadyexists.py): Order already has an invoice. Status code `409`. Applicable to 2 of 142 methods.*
552-
* [`MissingInvoiceBillingDetails`](./src/polar_sdk/models/missinginvoicebillingdetails.py): Order is not paid or is missing billing name or address. Status code `422`. Applicable to 2 of 142 methods.*
553-
* [`NotPaidOrder`](./src/polar_sdk/models/notpaidorder.py): Order is not paid or is missing billing name or address. Status code `422`. Applicable to 2 of 142 methods.*
554-
* [`RefundAmountTooHigh`](./src/polar_sdk/models/refundamounttoohigh.py): Refund amount exceeds remaining order balance. Status code `400`. Applicable to 1 of 142 methods.*
555-
* [`PaymentError`](./src/polar_sdk/models/paymenterror.py): The payment failed. Status code `400`. Applicable to 1 of 142 methods.*
556-
* [`CustomerNotReady`](./src/polar_sdk/models/customernotready.py): Customer is not ready to confirm a payment method. Status code `400`. Applicable to 1 of 142 methods.*
557-
* [`PaymentMethodInUseByActiveSubscription`](./src/polar_sdk/models/paymentmethodinusebyactivesubscription.py): Payment method is used by active subscription(s). Status code `400`. Applicable to 1 of 142 methods.*
558-
* [`RefundedAlready`](./src/polar_sdk/models/refundedalready.py): Order is already fully refunded. Status code `403`. Applicable to 1 of 142 methods.*
559-
* [`PaymentAlreadyInProgress`](./src/polar_sdk/models/paymentalreadyinprogress.py): Payment already in progress. Status code `409`. Applicable to 1 of 142 methods.*
560-
* [`OrderNotEligibleForRetry`](./src/polar_sdk/models/ordernoteligibleforretry.py): Order not eligible for retry or payment confirmation failed. Status code `422`. Applicable to 1 of 142 methods.*
552+
* [`ResourceNotFound`](./src/polar_sdk/models/resourcenotfound.py): Status code `404`. Applicable to 77 of 149 methods.*
553+
* [`NotPermitted`](./src/polar_sdk/models/notpermitted.py): Status code `403`. Applicable to 10 of 149 methods.*
554+
* [`Unauthorized`](./src/polar_sdk/models/unauthorized.py): Not authorized to manage license key. Status code `401`. Applicable to 5 of 149 methods.*
555+
* [`AlreadyCanceledSubscription`](./src/polar_sdk/models/alreadycanceledsubscription.py): Status code `403`. Applicable to 4 of 149 methods.*
556+
* [`AlreadyActiveSubscriptionError`](./src/polar_sdk/models/alreadyactivesubscriptionerror.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 149 methods.*
557+
* [`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 149 methods.*
558+
* [`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 149 methods.*
559+
* [`ExpiredCheckoutError`](./src/polar_sdk/models/expiredcheckouterror.py): The checkout session is expired. Status code `410`. Applicable to 3 of 149 methods.*
560+
* [`SubscriptionLocked`](./src/polar_sdk/models/subscriptionlocked.py): Subscription is pending an update. Status code `409`. Applicable to 2 of 149 methods.*
561+
* [`MissingInvoiceBillingDetails`](./src/polar_sdk/models/missinginvoicebillingdetails.py): Order is not paid or is missing billing name or address. Status code `422`. Applicable to 2 of 149 methods.*
562+
* [`NotPaidOrder`](./src/polar_sdk/models/notpaidorder.py): Order is not paid or is missing billing name or address. Status code `422`. Applicable to 2 of 149 methods.*
563+
* [`RefundAmountTooHigh`](./src/polar_sdk/models/refundamounttoohigh.py): Refund amount exceeds remaining order balance. Status code `400`. Applicable to 1 of 149 methods.*
564+
* [`PaymentError`](./src/polar_sdk/models/paymenterror.py): The payment failed. Status code `400`. Applicable to 1 of 149 methods.*
565+
* [`CustomerNotReady`](./src/polar_sdk/models/customernotready.py): Customer is not ready to confirm a payment method. Status code `400`. Applicable to 1 of 149 methods.*
566+
* [`PaymentMethodInUseByActiveSubscription`](./src/polar_sdk/models/paymentmethodinusebyactivesubscription.py): Payment method is used by active subscription(s). Status code `400`. Applicable to 1 of 149 methods.*
567+
* [`RefundedAlready`](./src/polar_sdk/models/refundedalready.py): Order is already fully refunded. Status code `403`. Applicable to 1 of 149 methods.*
568+
* [`PaymentAlreadyInProgress`](./src/polar_sdk/models/paymentalreadyinprogress.py): Payment already in progress. Status code `409`. Applicable to 1 of 149 methods.*
569+
* [`OrderNotEligibleForRetry`](./src/polar_sdk/models/ordernoteligibleforretry.py): Order not eligible for retry or payment confirmation failed. Status code `422`. Applicable to 1 of 149 methods.*
561570
* [`ResponseValidationError`](./src/polar_sdk/models/responsevalidationerror.py): Type mismatch between the response data and the expected Pydantic model. Provides access to the Pydantic validation error via the `cause` attribute.
562571

563572
</details>

RELEASES.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -953,4 +953,14 @@ Based on:
953953
### Generated
954954
- [python v0.27.1] .
955955
### Releases
956-
- [PyPI v0.27.1] https://pypi.org/project/polar-sdk/0.27.1 - .
956+
- [PyPI v0.27.1] https://pypi.org/project/polar-sdk/0.27.1 - .
957+
958+
## 2025-10-23 14:34:07
959+
### Changes
960+
Based on:
961+
- OpenAPI Doc
962+
- Speakeasy CLI 1.638.1 (2.729.2) https://github.com/speakeasy-api/speakeasy
963+
### Generated
964+
- [python v0.27.2] .
965+
### Releases
966+
- [PyPI v0.27.2] https://pypi.org/project/polar-sdk/0.27.2 - .

0 commit comments

Comments
 (0)