Skip to content

Commit e9cb1fb

Browse files
speakeasybotfrankie567
authored andcommitted
## Python SDK Changes Detected:
* `polar._endpointcheckout_created_post()`: * `request.data` **Changed** **Breaking** ⚠️ * `polar._endpointcheckout_updated_post()`: * `request.data` **Changed** **Breaking** ⚠️ * `polar._endpointsubscription_created_post()`: * `request.data` **Changed** **Breaking** ⚠️ * `polar._endpointsubscription_updated_post()`: * `request.data` **Changed** **Breaking** ⚠️ * `polar._endpointsubscription_active_post()`: * `request.data` **Changed** **Breaking** ⚠️ * `polar._endpointsubscription_canceled_post()`: * `request.data` **Changed** **Breaking** ⚠️ * `polar._endpointsubscription_uncanceled_post()`: * `request.data` **Changed** **Breaking** ⚠️ * `polar._endpointsubscription_revoked_post()`: * `request.data` **Changed** **Breaking** ⚠️ * `polar._endpointproduct_created_post()`: * `request.data.prices.[]` **Changed** **Breaking** ⚠️ * `polar._endpointproduct_updated_post()`: * `request.data.prices.[]` **Changed** **Breaking** ⚠️ * `polar.subscriptions.list()`: `response.items.[]` **Changed** * `polar.subscriptions.get()`: `response` **Changed** * `polar.subscriptions.revoke()`: `response` **Changed** * `polar.subscriptions.update()`: `response` **Changed** * `polar.products.list()`: `response.items.[].prices.[]` **Changed** * `polar.products.create()`: `response.prices.[]` **Changed** * `polar.products.get()`: `response.prices.[]` **Changed** * `polar.products.update()`: `response.prices.[]` **Changed** * `polar.products.update_benefits()`: `response.prices.[]` **Changed** * `polar.orders.generate_invoice()`: `error` **Changed** * `polar.checkouts.list()`: `response.items.[]` **Changed** * `polar.checkouts.create()`: `response` **Changed** * `polar.checkouts.get()`: `response` **Changed** * `polar.checkouts.update()`: `response` **Changed** * `polar.checkouts.client_get()`: `response` **Changed** * `polar.checkouts.client_update()`: `response` **Changed** * `polar.checkouts.client_confirm()`: `response` **Changed** * `polar.checkout-links.list()`: `response.items.[].products.[].prices.[]` **Changed** * `polar.checkout-links.create()`: `response.products.[].prices.[]` **Changed** * `polar.checkout-links.get()`: `response.products.[].prices.[]` **Changed** * `polar.checkout-links.update()`: `response.products.[].prices.[]` **Changed** * `polar.customer_portal.seats.list_claimed_subscriptions()`: `response.[]` **Changed** * `polar.customer_portal.orders.list()`: `response.items.[].product.prices.[]` **Changed** * `polar.customer_portal.orders.get()`: `response.product.prices.[]` **Changed** * `polar.customer_portal.orders.update()`: `response.product.prices.[]` **Changed** * `polar.customer_portal.orders.generate_invoice()`: `error` **Changed** * `polar.customer_portal.organizations.get()`: `response.products.[].prices.[]` **Changed** * `polar.customer_portal.subscriptions.list()`: `response.items.[]` **Changed** * `polar.customer_portal.subscriptions.get()`: `response` **Changed** * `polar.customer_portal.subscriptions.cancel()`: `response` **Changed** * `polar.customer_portal.subscriptions.update()`: `response` **Changed**
1 parent 05869f7 commit e9cb1fb

File tree

142 files changed

+1414
-1527
lines changed

Some content is hidden

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

142 files changed

+1414
-1527
lines changed

.speakeasy/gen.lock

Lines changed: 48 additions & 48 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.0
30+
version: 0.27.1
3131
additionalDependencies:
3232
dev:
3333
pydantic-ai-slim: ^0.1.0

.speakeasy/workflow.lock

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,20 +2,20 @@ speakeasyVersion: 1.637.3
22
sources:
33
Polar-OAS:
44
sourceNamespace: polar-oas
5-
sourceRevisionDigest: sha256:4dcecb99c20b659e9b139610bd6f432313e69763c593763d96a5422100d23037
6-
sourceBlobDigest: sha256:2074ed7d421e66a16420096cb5d0f8d7b94f420e9a2bd079fd4cb7c216477612
5+
sourceRevisionDigest: sha256:98dd88f089435a1af194015ca729983c7e2888b24ddc04e77194e8f913bce865
6+
sourceBlobDigest: sha256:81a64948141fbdaebf65485efe43f3942459a2da5f4c44dc6519392b117ec5e7
77
tags:
88
- latest
9-
- speakeasy-sdk-regen-1761030657
9+
- speakeasy-sdk-regen-1761052444
1010
- 0.1.0
1111
targets:
1212
polar:
1313
source: Polar-OAS
1414
sourceNamespace: polar-oas
15-
sourceRevisionDigest: sha256:4dcecb99c20b659e9b139610bd6f432313e69763c593763d96a5422100d23037
16-
sourceBlobDigest: sha256:2074ed7d421e66a16420096cb5d0f8d7b94f420e9a2bd079fd4cb7c216477612
15+
sourceRevisionDigest: sha256:98dd88f089435a1af194015ca729983c7e2888b24ddc04e77194e8f913bce865
16+
sourceBlobDigest: sha256:81a64948141fbdaebf65485efe43f3942459a2da5f4c44dc6519392b117ec5e7
1717
codeSamplesNamespace: polar-oas-py-code-samples
18-
codeSamplesRevisionDigest: sha256:f374065d98be561140bd46482da9dac7d0e70dbb08dc3fc50123f54677eb112e
18+
codeSamplesRevisionDigest: sha256:94ad586acb6d8fc322f926c9fdf92b84dc1b05a6a344bb0dd0520b86a4701ca2
1919
workflow:
2020
workflowVersion: 1.0.0
2121
speakeasyVersion: latest

README.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -355,10 +355,10 @@ def webhook():
355355
* [update](docs/sdks/meters/README.md#update) - Update Meter
356356
* [quantities](docs/sdks/meters/README.md#quantities) - Get Meter Quantities
357357

358-
### [metrics](docs/sdks/metrics/README.md)
358+
### [metrics](docs/sdks/metricssdk/README.md)
359359

360-
* [get](docs/sdks/metrics/README.md#get) - Get Metrics
361-
* [limits](docs/sdks/metrics/README.md#limits) - Get Metrics Limits
360+
* [get](docs/sdks/metricssdk/README.md#get) - Get Metrics
361+
* [limits](docs/sdks/metricssdk/README.md#limits) - Get Metrics Limits
362362

363363
### [oauth2](docs/sdks/oauth2/README.md)
364364

@@ -539,18 +539,18 @@ with Polar(
539539

540540

541541
**Inherit from [`PolarError`](./src/polar_sdk/models/polarerror.py)**:
542-
* [`PolarExceptionsResourceNotFound`](./src/polar_sdk/models/polarexceptionsresourcenotfound.py): Status code `404`. Applicable to 77 of 142 methods.*
543-
* [`PolarExceptionsNotPermitted`](./src/polar_sdk/models/polarexceptionsnotpermitted.py): Status code `403`. Applicable to 10 of 142 methods.*
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.*
544544
* [`Unauthorized`](./src/polar_sdk/models/unauthorized.py): Not authorized to manage license key. Status code `401`. Applicable to 5 of 142 methods.*
545-
* [`PolarExceptionsAlreadyCanceledSubscription`](./src/polar_sdk/models/polarexceptionsalreadycanceledsubscription.py): Status code `403`. Applicable to 4 of 142 methods.*
545+
* [`AlreadyCanceledSubscription`](./src/polar_sdk/models/alreadycanceledsubscription.py): Status code `403`. Applicable to 4 of 142 methods.*
546546
* [`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.*
547547
* [`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.*
548548
* [`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.*
549549
* [`ExpiredCheckoutError`](./src/polar_sdk/models/expiredcheckouterror.py): The checkout session is expired. Status code `410`. Applicable to 3 of 142 methods.*
550-
* [`PolarExceptionsSubscriptionLocked`](./src/polar_sdk/models/polarexceptionssubscriptionlocked.py): Subscription is pending an update. Status code `409`. Applicable to 2 of 142 methods.*
551-
* [`PolarExceptionsInvoiceAlreadyExists`](./src/polar_sdk/models/polarexceptionsinvoicealreadyexists.py): Order already has an invoice. Status code `409`. Applicable to 2 of 142 methods.*
552-
* [`PolarExceptionsMissingInvoiceBillingDetails`](./src/polar_sdk/models/polarexceptionsmissinginvoicebillingdetails.py): Order is not paid or is missing billing name or address. Status code `422`. Applicable to 2 of 142 methods.*
553-
* [`PolarExceptionsNotPaidOrder`](./src/polar_sdk/models/polarexceptionsnotpaidorder.py): Order is not paid or is missing billing name or address. Status code `422`. Applicable to 2 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.*
554554
* [`RefundAmountTooHigh`](./src/polar_sdk/models/refundamounttoohigh.py): Refund amount exceeds remaining order balance. Status code `400`. Applicable to 1 of 142 methods.*
555555
* [`PaymentError`](./src/polar_sdk/models/paymenterror.py): The payment failed. Status code `400`. Applicable to 1 of 142 methods.*
556556
* [`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.*

RELEASES.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -943,4 +943,14 @@ Based on:
943943
### Generated
944944
- [python v0.27.0] .
945945
### Releases
946-
- [PyPI v0.27.0] https://pypi.org/project/polar-sdk/0.27.0 - .
946+
- [PyPI v0.27.0] https://pypi.org/project/polar-sdk/0.27.0 - .
947+
948+
## 2025-10-21 13:13:44
949+
### Changes
950+
Based on:
951+
- OpenAPI Doc
952+
- Speakeasy CLI 1.637.3 (2.727.9) https://github.com/speakeasy-api/speakeasy
953+
### Generated
954+
- [python v0.27.1] .
955+
### Releases
956+
- [PyPI v0.27.1] https://pypi.org/project/polar-sdk/0.27.1 - .

codeSamples.yaml

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

docs/models/polarexceptionsalreadycanceledsubscription.md renamed to docs/models/alreadycanceledsubscription.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# PolarExceptionsAlreadyCanceledSubscription
1+
# AlreadyCanceledSubscription
22

33

44
## Fields

docs/models/attachedcustomfieldoutput.md renamed to docs/models/attachedcustomfield.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# AttachedCustomFieldOutput
1+
# AttachedCustomField
22

33
Schema of a custom field attached to a resource.
44

docs/models/benefitdiscord.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,15 @@ Use it to automatically invite your backers to a Discord server.
77

88
## Fields
99

10-
| Field | Type | Required | Description |
11-
| ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ |
12-
| `id` | *str* | :heavy_check_mark: | The ID of the benefit. |
13-
| `created_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_check_mark: | Creation timestamp of the object. |
14-
| `modified_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_check_mark: | Last modification timestamp of the object. |
15-
| `type` | *Literal["discord"]* | :heavy_check_mark: | N/A |
16-
| `description` | *str* | :heavy_check_mark: | The description of the benefit. |
17-
| `selectable` | *bool* | :heavy_check_mark: | Whether the benefit is selectable when creating a product. |
18-
| `deletable` | *bool* | :heavy_check_mark: | Whether the benefit is deletable. |
19-
| `organization_id` | *str* | :heavy_check_mark: | The ID of the organization owning the benefit. |
20-
| `metadata` | Dict[str, [models.BenefitDiscordMetadata](../models/benefitdiscordmetadata.md)] | :heavy_check_mark: | N/A |
21-
| `properties` | [models.BenefitDiscordPropertiesOutput](../models/benefitdiscordpropertiesoutput.md) | :heavy_check_mark: | Properties for a benefit of type `discord`. |
10+
| Field | Type | Required | Description |
11+
| ------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- |
12+
| `id` | *str* | :heavy_check_mark: | The ID of the benefit. |
13+
| `created_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_check_mark: | Creation timestamp of the object. |
14+
| `modified_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_check_mark: | Last modification timestamp of the object. |
15+
| `type` | *Literal["discord"]* | :heavy_check_mark: | N/A |
16+
| `description` | *str* | :heavy_check_mark: | The description of the benefit. |
17+
| `selectable` | *bool* | :heavy_check_mark: | Whether the benefit is selectable when creating a product. |
18+
| `deletable` | *bool* | :heavy_check_mark: | Whether the benefit is deletable. |
19+
| `organization_id` | *str* | :heavy_check_mark: | The ID of the organization owning the benefit. |
20+
| `metadata` | Dict[str, [models.BenefitDiscordMetadata](../models/benefitdiscordmetadata.md)] | :heavy_check_mark: | N/A |
21+
| `properties` | [models.BenefitDiscordProperties](../models/benefitdiscordproperties.md) | :heavy_check_mark: | Properties for a benefit of type `discord`. |

docs/models/benefitdiscordpropertiesoutput.md renamed to docs/models/benefitdiscordproperties.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# BenefitDiscordPropertiesOutput
1+
# BenefitDiscordProperties
22

33
Properties for a benefit of type `discord`.
44

0 commit comments

Comments
 (0)