Skip to content

Commit 7faec7e

Browse files
speakeasybotfrankie567
authored andcommitted
## SDK Changes Detected:
* `polar.customer_portal.orders.list()`: `response.items.[].amount` **Removed** **Breaking** ⚠️ * `polar.customer_portal.orders.get()`: `response.amount` **Removed** **Breaking** ⚠️ * `polar.payments.get()`: `response` **Changed** **Breaking** ⚠️ * `polar.orders.get()`: `response.amount` **Removed** **Breaking** ⚠️ * `polar.customer_portal.orders.update()`: `response.amount` **Removed** **Breaking** ⚠️ * `polar.orders.list()`: `response.items.[].amount` **Removed** **Breaking** ⚠️ * `polar.orders.update()`: `response.amount` **Removed** **Breaking** ⚠️ * `polar.payments.list()`: `response.items.[]` **Changed** **Breaking** ⚠️ * `polar.license_keys.activate()`: **Added** * `polar.license_keys.validate()`: **Added** * `polar.customer_portal.orders.retry_payment()`: **Deleted** **Breaking** ⚠️ * `polar.customer_portal.orders.confirm_retry_payment()`: **Added** * `polar.customer_portal.orders.get_payment_status()`: **Added** * `polar.license_keys.deactivate()`: **Added**
1 parent 4d84af4 commit 7faec7e

38 files changed

+1667
-277
lines changed

.speakeasy/gen.lock

Lines changed: 105 additions & 21 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
@@ -24,7 +24,7 @@ generation:
2424
generateNewTests: false
2525
skipResponseBodyAssertions: false
2626
python:
27-
version: 0.22.6
27+
version: 0.22.7
2828
additionalDependencies:
2929
dev:
3030
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.601.3
1+
speakeasyVersion: 1.606.0
22
sources:
33
Polar-OAS:
44
sourceNamespace: polar-oas
5-
sourceRevisionDigest: sha256:2da912a77c24fdb0b275df1e53dfe92334351a9fb2567cc179b05a5860322c0d
6-
sourceBlobDigest: sha256:05e8fa91b9e2cb35335966fe7ad176bc7033fcfcd77b64d5aa3f1531217d45d4
5+
sourceRevisionDigest: sha256:578ba1afc4207ccf7da46db9a2929f5cd30b4c38fa9dd42ace32bff88ab423f9
6+
sourceBlobDigest: sha256:d9756d2aba3459fc339415043d8b72eb3dbfeccc9119058a625d61c7f5a9c3df
77
tags:
88
- latest
9-
- speakeasy-sdk-regen-1754957660
9+
- speakeasy-sdk-regen-1755044075
1010
- 0.1.0
1111
targets:
1212
polar:
1313
source: Polar-OAS
1414
sourceNamespace: polar-oas
15-
sourceRevisionDigest: sha256:2da912a77c24fdb0b275df1e53dfe92334351a9fb2567cc179b05a5860322c0d
16-
sourceBlobDigest: sha256:05e8fa91b9e2cb35335966fe7ad176bc7033fcfcd77b64d5aa3f1531217d45d4
15+
sourceRevisionDigest: sha256:578ba1afc4207ccf7da46db9a2929f5cd30b4c38fa9dd42ace32bff88ab423f9
16+
sourceBlobDigest: sha256:d9756d2aba3459fc339415043d8b72eb3dbfeccc9119058a625d61c7f5a9c3df
1717
codeSamplesNamespace: polar-oas-py-code-samples
18-
codeSamplesRevisionDigest: sha256:58f27615585630c8ff1666c525a81612bbd0d2d42898d058322c5d54fa0cc2a9
18+
codeSamplesRevisionDigest: sha256:2ec4d204f97e8e12ba3d3782113d8301cdc963de8e5ab876b6d49b6a4a4a15a0
1919
workflow:
2020
workflowVersion: 1.0.0
2121
speakeasyVersion: latest

README.md

Lines changed: 21 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -792,7 +792,8 @@ def webhook():
792792
* [update](docs/sdks/polarorders/README.md#update) - Update Order
793793
* [generate_invoice](docs/sdks/polarorders/README.md#generate_invoice) - Generate Order Invoice
794794
* [invoice](docs/sdks/polarorders/README.md#invoice) - Get Order Invoice
795-
* [retry_payment](docs/sdks/polarorders/README.md#retry_payment) - Retry Payment
795+
* [get_payment_status](docs/sdks/polarorders/README.md#get_payment_status) - Get Order Payment Status
796+
* [confirm_retry_payment](docs/sdks/polarorders/README.md#confirm_retry_payment) - Confirm Retry Payment
796797

797798
#### [customer_portal.organizations](docs/sdks/polarorganizations/README.md)
798799

@@ -851,6 +852,9 @@ def webhook():
851852
* [get](docs/sdks/licensekeys/README.md#get) - Get License Key
852853
* [update](docs/sdks/licensekeys/README.md#update) - Update License Key
853854
* [get_activation](docs/sdks/licensekeys/README.md#get_activation) - Get Activation
855+
* [validate](docs/sdks/licensekeys/README.md#validate) - Validate License Key
856+
* [activate](docs/sdks/licensekeys/README.md#activate) - Activate License Key
857+
* [deactivate](docs/sdks/licensekeys/README.md#deactivate) - Deactivate License Key
854858

855859
### [meters](docs/sdks/meters/README.md)
856860

@@ -1038,22 +1042,22 @@ with Polar(
10381042

10391043

10401044
**Inherit from [`PolarError`](./src/polar_sdk/models/polarerror.py)**:
1041-
* [`ResourceNotFound`](./src/polar_sdk/models/resourcenotfound.py): Status code `404`. Applicable to 72 of 124 methods.*
1042-
* [`NotPermitted`](./src/polar_sdk/models/notpermitted.py): Status code `403`. Applicable to 9 of 124 methods.*
1043-
* [`Unauthorized`](./src/polar_sdk/models/unauthorized.py): Not authorized to manage license key. Status code `401`. Applicable to 5 of 124 methods.*
1044-
* [`AlreadyCanceledSubscription`](./src/polar_sdk/models/alreadycanceledsubscription.py): Status code `403`. Applicable to 4 of 124 methods.*
1045-
* [`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 124 methods.*
1046-
* [`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 124 methods.*
1047-
* [`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 124 methods.*
1048-
* [`ExpiredCheckoutError`](./src/polar_sdk/models/expiredcheckouterror.py): The checkout session is expired. Status code `410`. Applicable to 3 of 124 methods.*
1049-
* [`InvoiceAlreadyExists`](./src/polar_sdk/models/invoicealreadyexists.py): Order already has an invoice. Status code `409`. Applicable to 2 of 124 methods.*
1050-
* [`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 124 methods.*
1051-
* [`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 124 methods.*
1052-
* [`RefundAmountTooHigh`](./src/polar_sdk/models/refundamounttoohigh.py): Refund amount exceeds remaining order balance. Status code `400`. Applicable to 1 of 124 methods.*
1053-
* [`PaymentError`](./src/polar_sdk/models/paymenterror.py): The payment failed. Status code `400`. Applicable to 1 of 124 methods.*
1054-
* [`RefundedAlready`](./src/polar_sdk/models/refundedalready.py): Order is already fully refunded. Status code `403`. Applicable to 1 of 124 methods.*
1055-
* [`PaymentAlreadyInProgress`](./src/polar_sdk/models/paymentalreadyinprogress.py): Payment already in progress. Status code `409`. Applicable to 1 of 124 methods.*
1056-
* [`OrderNotEligibleForRetry`](./src/polar_sdk/models/ordernoteligibleforretry.py): Order not eligible for retry. Status code `422`. Applicable to 1 of 124 methods.*
1045+
* [`ResourceNotFound`](./src/polar_sdk/models/resourcenotfound.py): Status code `404`. Applicable to 76 of 128 methods.*
1046+
* [`NotPermitted`](./src/polar_sdk/models/notpermitted.py): Status code `403`. Applicable to 10 of 128 methods.*
1047+
* [`Unauthorized`](./src/polar_sdk/models/unauthorized.py): Not authorized to manage license key. Status code `401`. Applicable to 5 of 128 methods.*
1048+
* [`AlreadyCanceledSubscription`](./src/polar_sdk/models/alreadycanceledsubscription.py): Status code `403`. Applicable to 4 of 128 methods.*
1049+
* [`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.*
1050+
* [`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.*
1051+
* [`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.*
1052+
* [`ExpiredCheckoutError`](./src/polar_sdk/models/expiredcheckouterror.py): The checkout session is expired. Status code `410`. Applicable to 3 of 128 methods.*
1053+
* [`InvoiceAlreadyExists`](./src/polar_sdk/models/invoicealreadyexists.py): Order already has an invoice. Status code `409`. Applicable to 2 of 128 methods.*
1054+
* [`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.*
1055+
* [`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.*
1056+
* [`RefundAmountTooHigh`](./src/polar_sdk/models/refundamounttoohigh.py): Refund amount exceeds remaining order balance. Status code `400`. Applicable to 1 of 128 methods.*
1057+
* [`PaymentError`](./src/polar_sdk/models/paymenterror.py): The payment failed. Status code `400`. Applicable to 1 of 128 methods.*
1058+
* [`RefundedAlready`](./src/polar_sdk/models/refundedalready.py): Order is already fully refunded. Status code `403`. Applicable to 1 of 128 methods.*
1059+
* [`PaymentAlreadyInProgress`](./src/polar_sdk/models/paymentalreadyinprogress.py): Payment already in progress. Status code `409`. Applicable to 1 of 128 methods.*
1060+
* [`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.*
10571061
* [`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.
10581062

10591063
</details>

RELEASES.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -853,4 +853,14 @@ Based on:
853853
### Generated
854854
- [python v0.22.6] .
855855
### Releases
856-
- [PyPI v0.22.6] https://pypi.org/project/polar-sdk/0.22.6 - .
856+
- [PyPI v0.22.6] https://pypi.org/project/polar-sdk/0.22.6 - .
857+
858+
## 2025-08-20 00:13:18
859+
### Changes
860+
Based on:
861+
- OpenAPI Doc
862+
- Speakeasy CLI 1.606.0 (2.686.7) https://github.com/speakeasy-api/speakeasy
863+
### Generated
864+
- [python v0.22.7] .
865+
### Releases
866+
- [PyPI v0.22.7] https://pypi.org/project/polar-sdk/0.22.7 - .

0 commit comments

Comments
 (0)