Skip to content

Commit 8692905

Browse files
speakeasybotfrankie567
authored andcommitted
## Python SDK Changes Detected:
* `polar.products.create()`: * `request` **Changed** **Breaking** ⚠️ * `response` **Changed** * `polar.customers.get_state_external()`: `response.active_subscriptions.[]` **Changed** **Breaking** ⚠️ * `polar.customers.get_state()`: `response.active_subscriptions.[]` **Changed** **Breaking** ⚠️ * `polar.orders.list()`: `response.items.[]` **Changed** * `polar.checkout-links.create()`: * `request` **Changed** * `response` **Changed** * `polar.subscriptions.update()`: * `request.subscription_update.[subscription_update_trial]` **Added** * `response` **Changed** * `polar.products.get()`: `response` **Changed** * `polar.products.update()`: * `request.product_update` **Changed** * `response` **Changed** * `polar.products.update_benefits()`: `response` **Changed** * `polar.subscriptions.list()`: `response.items.[]` **Changed** * `polar.orders.get()`: `response` **Changed** * `polar.orders.update()`: `response` **Changed** * `polar.checkouts.list()`: `response.items.[]` **Changed** * `polar.checkout-links.get()`: `response` **Changed** * `polar.checkouts.get()`: `response` **Changed** * `polar.checkouts.update()`: * `request.checkout_update` **Changed** * `response` **Changed** * `polar.checkouts.client_get()`: `response` **Changed** * `polar.checkouts.client_update()`: `response` **Changed** * `polar.checkouts.client_confirm()`: `response` **Changed** * `polar.products.list()`: `response.items.[]` **Changed** * `polar.checkout-links.list()`: `response.items.[]` **Changed** * `polar.checkouts.create()`: * `request` **Changed** * `response` **Changed** * `polar.checkout-links.update()`: * `request.checkout_link_update` **Changed** * `response` **Changed** * `polar.discounts.list()`: `response.items.[].[discount_fixed_once_forever_duration].products.[]` **Changed** * `polar.discounts.create()`: `response.[discount_fixed_once_forever_duration].products.[]` **Changed** * `polar.discounts.get()`: `response.[discount_fixed_once_forever_duration].products.[]` **Changed** * `polar.discounts.update()`: `response.[discount_fixed_once_forever_duration].products.[]` **Changed** * `polar.subscriptions.revoke()`: `response` **Changed** * `polar.subscriptions.get()`: `response` **Changed** * `polar.customer_portal.orders.list()`: `response.items.[]` **Changed** * `polar.customer_portal.orders.get()`: `response` **Changed** * `polar.customer_portal.orders.update()`: `response` **Changed** * `polar.customer_portal.organizations.get()`: `response.products.[]` **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 db087cf commit 8692905

File tree

78 files changed

+2095
-1234
lines changed

Some content is hidden

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

78 files changed

+2095
-1234
lines changed

.speakeasy/gen.lock

Lines changed: 66 additions & 55 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.24.0
28+
version: 0.24.1
2929
additionalDependencies:
3030
dev:
3131
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.622.1
22
sources:
33
Polar-OAS:
44
sourceNamespace: polar-oas
5-
sourceRevisionDigest: sha256:47837d6f2cf7820fbd3dbee4fd522889f82cf335e84f6b3672668e14263d5272
6-
sourceBlobDigest: sha256:234e8874f8abab225bb7a1edb367cbd3acb7a3aef04eae2dfdf7195a7ef2709a
5+
sourceRevisionDigest: sha256:0d9a9658418370b636bfbcfc096e4a9c0e60b11f4bd3d14ad12983113f3a4c96
6+
sourceBlobDigest: sha256:7b79efd220fdcd869f7e48ef5168170576863031eb79cf1c338e0bb4fde28b76
77
tags:
88
- latest
9-
- speakeasy-sdk-regen-1758068009
9+
- speakeasy-sdk-regen-1758586426
1010
- 0.1.0
1111
targets:
1212
polar:
1313
source: Polar-OAS
1414
sourceNamespace: polar-oas
15-
sourceRevisionDigest: sha256:47837d6f2cf7820fbd3dbee4fd522889f82cf335e84f6b3672668e14263d5272
16-
sourceBlobDigest: sha256:234e8874f8abab225bb7a1edb367cbd3acb7a3aef04eae2dfdf7195a7ef2709a
15+
sourceRevisionDigest: sha256:0d9a9658418370b636bfbcfc096e4a9c0e60b11f4bd3d14ad12983113f3a4c96
16+
sourceBlobDigest: sha256:7b79efd220fdcd869f7e48ef5168170576863031eb79cf1c338e0bb4fde28b76
1717
codeSamplesNamespace: polar-oas-py-code-samples
18-
codeSamplesRevisionDigest: sha256:eb1ae75d0a64a498ab1f2e6b949e48b7969291defd4fdb56e3186465980afb86
18+
codeSamplesRevisionDigest: sha256:c9ff0306d673e4ed1895ad8707b154aacb28256eec86423dc446d0c552efb64e
1919
workflow:
2020
workflowVersion: 1.0.0
2121
speakeasyVersion: latest

RELEASES.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -903,4 +903,14 @@ Based on:
903903
### Generated
904904
- [python v0.24.0] .
905905
### Releases
906-
- [PyPI v0.24.0] https://pypi.org/project/polar-sdk/0.24.0 - .
906+
- [PyPI v0.24.0] https://pypi.org/project/polar-sdk/0.24.0 - .
907+
908+
## 2025-09-23 10:21:12
909+
### Changes
910+
Based on:
911+
- OpenAPI Doc
912+
- Speakeasy CLI 1.622.1 (2.709.0) https://github.com/speakeasy-api/speakeasy
913+
### Generated
914+
- [python v0.24.1] .
915+
### Releases
916+
- [PyPI v0.24.1] https://pypi.org/project/polar-sdk/0.24.1 - .

codeSamples.yaml

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

docs/models/checkout.md

Lines changed: 6 additions & 1 deletion
Large diffs are not rendered by default.

docs/models/checkoutcreate.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ to the resulting order and/or subscription.
1111

1212
| Field | Type | Required | Description |
1313
| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
14+
| `trial_interval` | [OptionalNullable[models.TrialInterval]](../models/trialinterval.md) | :heavy_minus_sign: | The interval unit for the trial period. |
15+
| `trial_interval_count` | *OptionalNullable[int]* | :heavy_minus_sign: | The number of interval units for the trial period. |
1416
| `metadata` | Dict[str, [models.CheckoutCreateMetadata](../models/checkoutcreatemetadata.md)] | :heavy_minus_sign: | Key-value object allowing you to store additional information.<br/><br/>The key must be a string with a maximum length of **40 characters**.<br/>The value must be either:<br/><br/>* A string with a maximum length of **500 characters**<br/>* An integer<br/>* A floating-point number<br/>* A boolean<br/><br/>You can store up to **50 key-value pairs**. |
1517
| `custom_field_data` | Dict[str, [Nullable[models.CheckoutCreateCustomFieldData]](../models/checkoutcreatecustomfielddata.md)] | :heavy_minus_sign: | Key-value object storing custom field values. |
1618
| `discount_id` | *OptionalNullable[str]* | :heavy_minus_sign: | ID of the discount to apply to the checkout. |

0 commit comments

Comments
 (0)