Skip to content

Commit db087cf

Browse files
speakeasybotfrankie567
authored andcommitted
## Python SDK Changes Detected:
* `polar.license_keys.validate()`: `response.customer.billing_address.country` **Changed** **Breaking** ⚠️ * `polar.customer_portal.orders.get()`: `response` **Changed** **Breaking** ⚠️ * `polar.subscriptions.revoke()`: `response.customer.billing_address.country` **Changed** **Breaking** ⚠️ * `polar.subscriptions.update()`: `response.customer.billing_address.country` **Changed** **Breaking** ⚠️ * `polar.benefits.grants()`: `response.items.[]` **Changed** **Breaking** ⚠️ * `polar.orders.list()`: `response.items.[]` **Changed** **Breaking** ⚠️ * `polar.orders.get()`: `response` **Changed** **Breaking** ⚠️ * `polar.customer_meters.get()`: `response.customer.billing_address.country` **Changed** **Breaking** ⚠️ * `polar.customer_meters.list()`: `response.items.[].customer.billing_address.country` **Changed** **Breaking** ⚠️ * `polar.orders.update()`: * `request.order_update.billing_address.country` **Changed** **Breaking** ⚠️ * `response` **Changed** **Breaking** ⚠️ * `polar.checkouts.list()`: `response.items.[].customer_billing_address.country` **Changed** **Breaking** ⚠️ * `polar.checkouts.create()`: * `request.customer_billing_address.country` **Changed** **Breaking** ⚠️ * `response.customer_billing_address.country` **Changed** **Breaking** ⚠️ * `polar.checkouts.get()`: `response.customer_billing_address.country` **Changed** **Breaking** ⚠️ * `polar.checkouts.update()`: * `request.checkout_update.customer_billing_address.country` **Changed** **Breaking** ⚠️ * `response.customer_billing_address.country` **Changed** **Breaking** ⚠️ * `polar.checkouts.client_get()`: `response.customer_billing_address.country` **Changed** **Breaking** ⚠️ * `polar.checkouts.client_update()`: * `request.checkout_update_public.customer_billing_address.country` **Changed** **Breaking** ⚠️ * `response.customer_billing_address.country` **Changed** **Breaking** ⚠️ * `polar.checkouts.client_confirm()`: * `request.checkout_confirm_stripe.customer_billing_address.country` **Changed** **Breaking** ⚠️ * `response.customer_billing_address.country` **Changed** **Breaking** ⚠️ * `polar.events.get()`: `response.[user_event].customer.billing_address.country` **Changed** **Breaking** ⚠️ * `polar.events.list()`: `response.items.[].[user_event].customer.billing_address.country` **Changed** **Breaking** ⚠️ * `polar.customer-sessions.create()`: `response.customer.billing_address.country` **Changed** **Breaking** ⚠️ * `polar.license_keys.list()`: `response.items.[].customer.billing_address.country` **Changed** **Breaking** ⚠️ * `polar.license_keys.get()`: `response.customer.billing_address.country` **Changed** **Breaking** ⚠️ * `polar.license_keys.update()`: `response.customer.billing_address.country` **Changed** **Breaking** ⚠️ * `polar.license_keys.get_activation()`: `response.license_key.customer.billing_address.country` **Changed** **Breaking** ⚠️ * `polar.subscriptions.get()`: `response.customer.billing_address.country` **Changed** **Breaking** ⚠️ * `polar.subscriptions.list()`: `response.items.[].customer.billing_address.country` **Changed** **Breaking** ⚠️ * `polar.customer_portal.benefit-grants.get()`: `response.[customer_benefit_grant_downloadables].customer.billing_address.country` **Changed** **Breaking** ⚠️ * `polar.customers.create()`: * `request.billing_address.country` **Changed** **Breaking** ⚠️ * `response.billing_address.country` **Changed** **Breaking** ⚠️ * `polar.customers.get()`: `response.billing_address.country` **Changed** **Breaking** ⚠️ * `polar.customers.update()`: * `request.customer_update.billing_address.country` **Changed** **Breaking** ⚠️ * `response.billing_address.country` **Changed** **Breaking** ⚠️ * `polar.customers.get_external()`: `response.billing_address.country` **Changed** **Breaking** ⚠️ * `polar.customers.update_external()`: * `request.customer_update_external_id.billing_address.country` **Changed** **Breaking** ⚠️ * `response.billing_address.country` **Changed** **Breaking** ⚠️ * `polar.customers.get_state()`: `response.billing_address.country` **Changed** **Breaking** ⚠️ * `polar.customers.get_state_external()`: `response.billing_address.country` **Changed** **Breaking** ⚠️ * `polar.customer_portal.benefit-grants.list()`: `response.items.[].[customer_benefit_grant_downloadables].customer.billing_address.country` **Changed** **Breaking** ⚠️ * `polar.customers.list()`: `response.items.[].billing_address.country` **Changed** **Breaking** ⚠️ * `polar.customer_portal.benefit-grants.update()`: `response.[customer_benefit_grant_discord].customer.billing_address.country` **Changed** **Breaking** ⚠️ * `polar.customer_portal.customers.get()`: `response.billing_address.country` **Changed** **Breaking** ⚠️ * `polar.customer_portal.customers.update()`: * `request.billing_address.country` **Changed** **Breaking** ⚠️ * `response.billing_address.country` **Changed** **Breaking** ⚠️ * `polar.customer_portal.license_keys.list()`: `response.items.[].customer.billing_address.country` **Changed** **Breaking** ⚠️ * `polar.customer_portal.license_keys.get()`: `response.customer.billing_address.country` **Changed** **Breaking** ⚠️ * `polar.customer_portal.license_keys.validate()`: `response.customer.billing_address.country` **Changed** **Breaking** ⚠️ * `polar.customer_portal.license_keys.activate()`: `response.license_key.customer.billing_address.country` **Changed** **Breaking** ⚠️ * `polar.customer_portal.orders.list()`: `response.items.[]` **Changed** **Breaking** ⚠️ * `polar.license_keys.activate()`: `response.license_key.customer.billing_address.country` **Changed** **Breaking** ⚠️ * `polar.customer_portal.orders.update()`: * `request.customer_order_update.billing_address.country` **Changed** **Breaking** ⚠️ * `response` **Changed** **Breaking** ⚠️ * `polar.metrics.get()`: `response` **Changed** * `polar.webhooks.list_webhook_deliveries()`: `request` **Changed** * `polar.organizations.list()`: `request.sorting` **Changed** * `polar.customers.export()`: **Added** * `polar.benefit-grants.list()`: **Added**
1 parent 2924563 commit db087cf

File tree

94 files changed

+3875
-935
lines changed

Some content is hidden

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

94 files changed

+3875
-935
lines changed

.speakeasy/gen.lock

Lines changed: 74 additions & 23 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
@@ -25,7 +25,7 @@ generation:
2525
generateNewTests: false
2626
skipResponseBodyAssertions: false
2727
python:
28-
version: 0.23.1
28+
version: 0.24.0
2929
additionalDependencies:
3030
dev:
3131
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.615.2
1+
speakeasyVersion: 1.622.1
22
sources:
33
Polar-OAS:
44
sourceNamespace: polar-oas
5-
sourceRevisionDigest: sha256:0609c2f786cf41c405047e351611a410c5e1993dd3edb8e1c8607a800d9ba45f
6-
sourceBlobDigest: sha256:a63f46911db62fcac2879f63c5173739ee400f0b9439775e24615d8e3b8039d8
5+
sourceRevisionDigest: sha256:47837d6f2cf7820fbd3dbee4fd522889f82cf335e84f6b3672668e14263d5272
6+
sourceBlobDigest: sha256:234e8874f8abab225bb7a1edb367cbd3acb7a3aef04eae2dfdf7195a7ef2709a
77
tags:
88
- latest
9-
- speakeasy-sdk-regen-1757117557
9+
- speakeasy-sdk-regen-1758068009
1010
- 0.1.0
1111
targets:
1212
polar:
1313
source: Polar-OAS
1414
sourceNamespace: polar-oas
15-
sourceRevisionDigest: sha256:0609c2f786cf41c405047e351611a410c5e1993dd3edb8e1c8607a800d9ba45f
16-
sourceBlobDigest: sha256:a63f46911db62fcac2879f63c5173739ee400f0b9439775e24615d8e3b8039d8
15+
sourceRevisionDigest: sha256:47837d6f2cf7820fbd3dbee4fd522889f82cf335e84f6b3672668e14263d5272
16+
sourceBlobDigest: sha256:234e8874f8abab225bb7a1edb367cbd3acb7a3aef04eae2dfdf7195a7ef2709a
1717
codeSamplesNamespace: polar-oas-py-code-samples
18-
codeSamplesRevisionDigest: sha256:02a649ad7724ad6c84fe2565e5629bccf761c08396baf4c0b9289cc1d9f25148
18+
codeSamplesRevisionDigest: sha256:eb1ae75d0a64a498ab1f2e6b949e48b7969291defd4fdb56e3186465980afb86
1919
workflow:
2020
workflowVersion: 1.0.0
2121
speakeasyVersion: latest

README.md

Lines changed: 28 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -185,6 +185,10 @@ def webhook():
185185
<details open>
186186
<summary>Available methods</summary>
187187

188+
### [benefit_grants](docs/sdks/benefitgrants/README.md)
189+
190+
* [list](docs/sdks/benefitgrants/README.md#list) - List Benefit Grants
191+
188192
### [benefits](docs/sdks/benefits/README.md)
189193

190194
* [list](docs/sdks/benefits/README.md#list) - List Benefits
@@ -228,11 +232,11 @@ def webhook():
228232
### [customer_portal](docs/sdks/customerportal/README.md)
229233

230234

231-
#### [customer_portal.benefit_grants](docs/sdks/benefitgrants/README.md)
235+
#### [customer_portal.benefit_grants](docs/sdks/polarbenefitgrants/README.md)
232236

233-
* [list](docs/sdks/benefitgrants/README.md#list) - List Benefit Grants
234-
* [get](docs/sdks/benefitgrants/README.md#get) - Get Benefit Grant
235-
* [update](docs/sdks/benefitgrants/README.md#update) - Update Benefit Grant
237+
* [list](docs/sdks/polarbenefitgrants/README.md#list) - List Benefit Grants
238+
* [get](docs/sdks/polarbenefitgrants/README.md#get) - Get Benefit Grant
239+
* [update](docs/sdks/polarbenefitgrants/README.md#update) - Update Benefit Grant
236240

237241
#### [customer_portal.customer_meters](docs/sdks/polarcustomermeters/README.md)
238242

@@ -288,6 +292,7 @@ def webhook():
288292

289293
* [list](docs/sdks/customers/README.md#list) - List Customers
290294
* [create](docs/sdks/customers/README.md#create) - Create Customer
295+
* [export](docs/sdks/customers/README.md#export) - Export Customers
291296
* [get](docs/sdks/customers/README.md#get) - Get Customer
292297
* [update](docs/sdks/customers/README.md#update) - Update Customer
293298
* [delete](docs/sdks/customers/README.md#delete) - Delete Customer
@@ -516,24 +521,24 @@ with Polar(
516521

517522

518523
**Inherit from [`PolarError`](./src/polar_sdk/models/polarerror.py)**:
519-
* [`ResourceNotFound`](./src/polar_sdk/models/resourcenotfound.py): Status code `404`. Applicable to 76 of 128 methods.*
520-
* [`NotPermitted`](./src/polar_sdk/models/notpermitted.py): Status code `403`. Applicable to 10 of 128 methods.*
521-
* [`Unauthorized`](./src/polar_sdk/models/unauthorized.py): Not authorized to manage license key. Status code `401`. Applicable to 5 of 128 methods.*
522-
* [`AlreadyCanceledSubscription`](./src/polar_sdk/models/alreadycanceledsubscription.py): Status code `403`. Applicable to 4 of 128 methods.*
523-
* [`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 128 methods.*
524-
* [`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 128 methods.*
525-
* [`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 128 methods.*
526-
* [`ExpiredCheckoutError`](./src/polar_sdk/models/expiredcheckouterror.py): The checkout session is expired. Status code `410`. Applicable to 3 of 128 methods.*
527-
* [`SubscriptionLocked`](./src/polar_sdk/models/subscriptionlocked.py): Subscription is pending an update. Status code `409`. Applicable to 2 of 128 methods.*
528-
* [`InvoiceAlreadyExists`](./src/polar_sdk/models/invoicealreadyexists.py): Order already has an invoice. Status code `409`. Applicable to 2 of 128 methods.*
529-
* [`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 128 methods.*
530-
* [`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 128 methods.*
531-
* [`RefundAmountTooHigh`](./src/polar_sdk/models/refundamounttoohigh.py): Refund amount exceeds remaining order balance. Status code `400`. Applicable to 1 of 128 methods.*
532-
* [`PaymentError`](./src/polar_sdk/models/paymenterror.py): The payment failed. Status code `400`. Applicable to 1 of 128 methods.*
533-
* [`PaymentMethodInUseByActiveSubscription`](./src/polar_sdk/models/paymentmethodinusebyactivesubscription.py): Payment method is used by active subscription(s). Status code `400`. Applicable to 1 of 128 methods.*
534-
* [`RefundedAlready`](./src/polar_sdk/models/refundedalready.py): Order is already fully refunded. Status code `403`. Applicable to 1 of 128 methods.*
535-
* [`PaymentAlreadyInProgress`](./src/polar_sdk/models/paymentalreadyinprogress.py): Payment already in progress. Status code `409`. Applicable to 1 of 128 methods.*
536-
* [`OrderNotEligibleForRetry`](./src/polar_sdk/models/ordernoteligibleforretry.py): Order not eligible for retry or payment confirmation failed. Status code `422`. Applicable to 1 of 128 methods.*
524+
* [`ResourceNotFound`](./src/polar_sdk/models/resourcenotfound.py): Status code `404`. Applicable to 76 of 130 methods.*
525+
* [`NotPermitted`](./src/polar_sdk/models/notpermitted.py): Status code `403`. Applicable to 10 of 130 methods.*
526+
* [`Unauthorized`](./src/polar_sdk/models/unauthorized.py): Not authorized to manage license key. Status code `401`. Applicable to 5 of 130 methods.*
527+
* [`AlreadyCanceledSubscription`](./src/polar_sdk/models/alreadycanceledsubscription.py): Status code `403`. Applicable to 4 of 130 methods.*
528+
* [`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 130 methods.*
529+
* [`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 130 methods.*
530+
* [`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 130 methods.*
531+
* [`ExpiredCheckoutError`](./src/polar_sdk/models/expiredcheckouterror.py): The checkout session is expired. Status code `410`. Applicable to 3 of 130 methods.*
532+
* [`SubscriptionLocked`](./src/polar_sdk/models/subscriptionlocked.py): Subscription is pending an update. Status code `409`. Applicable to 2 of 130 methods.*
533+
* [`InvoiceAlreadyExists`](./src/polar_sdk/models/invoicealreadyexists.py): Order already has an invoice. Status code `409`. Applicable to 2 of 130 methods.*
534+
* [`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 130 methods.*
535+
* [`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 130 methods.*
536+
* [`RefundAmountTooHigh`](./src/polar_sdk/models/refundamounttoohigh.py): Refund amount exceeds remaining order balance. Status code `400`. Applicable to 1 of 130 methods.*
537+
* [`PaymentError`](./src/polar_sdk/models/paymenterror.py): The payment failed. Status code `400`. Applicable to 1 of 130 methods.*
538+
* [`PaymentMethodInUseByActiveSubscription`](./src/polar_sdk/models/paymentmethodinusebyactivesubscription.py): Payment method is used by active subscription(s). Status code `400`. Applicable to 1 of 130 methods.*
539+
* [`RefundedAlready`](./src/polar_sdk/models/refundedalready.py): Order is already fully refunded. Status code `403`. Applicable to 1 of 130 methods.*
540+
* [`PaymentAlreadyInProgress`](./src/polar_sdk/models/paymentalreadyinprogress.py): Payment already in progress. Status code `409`. Applicable to 1 of 130 methods.*
541+
* [`OrderNotEligibleForRetry`](./src/polar_sdk/models/ordernoteligibleforretry.py): Order not eligible for retry or payment confirmation failed. Status code `422`. Applicable to 1 of 130 methods.*
537542
* [`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.
538543

539544
</details>
@@ -800,7 +805,7 @@ with Polar(
800805

801806
Polar API: Polar HTTP and Webhooks API
802807

803-
Read the docs at https://docs.polar.sh/api-reference
808+
Read the docs at https://polar.sh/docs/api-reference
804809
<!-- End Summary [summary] -->
805810

806811
<!-- Placeholder for Future Speakeasy SDK Sections -->

RELEASES.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -893,4 +893,14 @@ Based on:
893893
### Generated
894894
- [python v0.23.1] .
895895
### Releases
896-
- [PyPI v0.23.1] https://pypi.org/project/polar-sdk/0.23.1 - .
896+
- [PyPI v0.23.1] https://pypi.org/project/polar-sdk/0.23.1 - .
897+
898+
## 2025-09-22 10:13:09
899+
### Changes
900+
Based on:
901+
- OpenAPI Doc
902+
- Speakeasy CLI 1.622.1 (2.709.0) https://github.com/speakeasy-api/speakeasy
903+
### Generated
904+
- [python v0.24.0] .
905+
### Releases
906+
- [PyPI v0.24.0] https://pypi.org/project/polar-sdk/0.24.0 - .

0 commit comments

Comments
 (0)