Skip to content

Commit ff545a1

Browse files
committed
## SDK Changes Detected:
* `polar.customer_portal.customers.update()`: * `request` **Changed** **Breaking** ⚠️ * `response.billing_name` **Added** * `polar.customer_portal.customers.get()`: `response.billing_name` **Added** * `polar.customer_portal.subscriptions.list()`: `response.items.[].product.organization.status` **Added** * `polar.organizations.update()`: `response.status` **Added** * `polar.subscriptions.list()`: `response.items.[].meters.[].meter.aggregation.[max]` **Added** * `polar.subscriptions.get()`: `response.meters.[].meter.aggregation.[max]` **Added** * `polar.subscriptions.revoke()`: `response.meters.[].meter.aggregation.[max]` **Added** * `polar.subscriptions.update()`: `response.meters.[].meter.aggregation.[max]` **Added** * `polar.checkouts.client_get()`: `response.organization.status` **Added** * `polar.checkouts.client_update()`: `response.organization.status` **Added** * `polar.checkouts.client_confirm()`: `response.organization.status` **Added** * `polar.customer_portal.benefit-grants.list()`: `response.items.[].[customer_benefit_grant_discord]` **Changed** * `polar.customer_portal.benefit-grants.get()`: `response.[customer_benefit_grant_license_keys]` **Changed** * `polar.customer_portal.benefit-grants.update()`: `response.[customer_benefit_grant_custom]` **Changed** * `polar.organizations.list()`: `response.items.[].status` **Added** * `polar.organizations.get()`: `response.status` **Added** * `polar.organizations.create()`: `response.status` **Added** * `polar.customer_portal.subscriptions.cancel()`: `response.product.organization.status` **Added** * `polar.customer_portal.orders.update()`: `response.product.organization.status` **Added** * `polar.customer_portal.orders.confirm_retry_payment()`: `request.customer_order_confirm_payment` **Changed** * `polar.customer_portal.organizations.get()`: `response.organization.status` **Added** * `polar.customer_portal.orders.list()`: `response.items.[].product.organization.status` **Added** * `polar.customer_portal.subscriptions.get()`: `response.product.organization.status` **Added** * `polar.customer_portal.orders.get()`: `response.product.organization.status` **Added** * `polar.customer_portal.subscriptions.update()`: `response.product.organization.status` **Added** * `polar.meters.list()`: `response.items.[].aggregation.[max]` **Added** * `polar.meters.create()`: * `request.aggregation.[max]` **Added** * `response.aggregation.[max]` **Added** * `polar.meters.get()`: `response.aggregation.[max]` **Added** * `polar.meters.update()`: * `request.meter_update.aggregation.[max]` **Added** * `response.aggregation.[max]` **Added** * `polar.customer_meters.list()`: `response.items.[].meter.aggregation.[max]` **Added** * `polar.customer_meters.get()`: `response.meter.aggregation.[max]` **Added**
1 parent 7faec7e commit ff545a1

27 files changed

+229
-83
lines changed

.speakeasy/gen.lock

Lines changed: 31 additions & 42 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.7
27+
version: 0.22.8
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.606.0
1+
speakeasyVersion: 1.606.2
22
sources:
33
Polar-OAS:
44
sourceNamespace: polar-oas
5-
sourceRevisionDigest: sha256:578ba1afc4207ccf7da46db9a2929f5cd30b4c38fa9dd42ace32bff88ab423f9
6-
sourceBlobDigest: sha256:d9756d2aba3459fc339415043d8b72eb3dbfeccc9119058a625d61c7f5a9c3df
5+
sourceRevisionDigest: sha256:13cfadb3890dcd4c14b2ef1f6b6442c71c72d76225592cf5aae0f3470b6f330f
6+
sourceBlobDigest: sha256:384012381fe854ee1c2472895c5b5fbbb8bf1e4f5319cc1f97850489c8a3ab78
77
tags:
88
- latest
9-
- speakeasy-sdk-regen-1755044075
9+
- speakeasy-sdk-regen-1755735150
1010
- 0.1.0
1111
targets:
1212
polar:
1313
source: Polar-OAS
1414
sourceNamespace: polar-oas
15-
sourceRevisionDigest: sha256:578ba1afc4207ccf7da46db9a2929f5cd30b4c38fa9dd42ace32bff88ab423f9
16-
sourceBlobDigest: sha256:d9756d2aba3459fc339415043d8b72eb3dbfeccc9119058a625d61c7f5a9c3df
15+
sourceRevisionDigest: sha256:13cfadb3890dcd4c14b2ef1f6b6442c71c72d76225592cf5aae0f3470b6f330f
16+
sourceBlobDigest: sha256:384012381fe854ee1c2472895c5b5fbbb8bf1e4f5319cc1f97850489c8a3ab78
1717
codeSamplesNamespace: polar-oas-py-code-samples
18-
codeSamplesRevisionDigest: sha256:2ec4d204f97e8e12ba3d3782113d8301cdc963de8e5ab876b6d49b6a4a4a15a0
18+
codeSamplesRevisionDigest: sha256:6a377b7edae82a765088813beb3fa7855e1876d4025df471e5a93f6f7b1f427c
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
@@ -863,4 +863,14 @@ Based on:
863863
### Generated
864864
- [python v0.22.7] .
865865
### Releases
866-
- [PyPI v0.22.7] https://pypi.org/project/polar-sdk/0.22.7 - .
866+
- [PyPI v0.22.7] https://pypi.org/project/polar-sdk/0.22.7 - .
867+
868+
## 2025-08-22 12:35:22
869+
### Changes
870+
Based on:
871+
- OpenAPI Doc
872+
- Speakeasy CLI 1.606.2 (2.687.1) https://github.com/speakeasy-api/speakeasy
873+
### Generated
874+
- [python v0.22.8] .
875+
### Releases
876+
- [PyPI v0.22.8] https://pypi.org/project/polar-sdk/0.22.8 - .

codeSamples.yaml

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

docs/models/aggregation.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,3 +33,9 @@ value: models.PropertyAggregation = /* values here */
3333
value: models.PropertyAggregation = /* values here */
3434
```
3535

36+
### `models.UniqueAggregation`
37+
38+
```python
39+
value: models.UniqueAggregation = /* values here */
40+
```
41+
Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
# CustomerOrderConfirmPayment
22

3-
Schema to confirm a retry payment using a Stripe confirmation token.
3+
Schema to confirm a retry payment using either a saved payment method or a new confirmation token.
44

55

66
## Fields
77

88
| Field | Type | Required | Description |
99
| ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ |
10-
| `confirmation_token_id` | *str* | :heavy_check_mark: | ID of the Stripe confirmation token. |
10+
| `confirmation_token_id` | *OptionalNullable[str]* | :heavy_minus_sign: | ID of the Stripe confirmation token for new payment methods. |
11+
| `payment_method_id` | *OptionalNullable[str]* | :heavy_minus_sign: | ID of an existing saved payment method. |
1112
| `payment_processor` | [Optional[models.PaymentProcessor]](../models/paymentprocessor.md) | :heavy_minus_sign: | N/A |

docs/models/customerportalcustomer.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
| `email` | *str* | :heavy_check_mark: | N/A | |
1212
| `email_verified` | *bool* | :heavy_check_mark: | N/A | |
1313
| `name` | *Nullable[str]* | :heavy_check_mark: | N/A | |
14+
| `billing_name` | *Nullable[str]* | :heavy_check_mark: | N/A | |
1415
| `billing_address` | [Nullable[models.Address]](../models/address.md) | :heavy_check_mark: | N/A | |
1516
| `tax_id` | List[[Nullable[models.CustomerPortalCustomerTaxID]](../models/customerportalcustomertaxid.md)] | :heavy_check_mark: | N/A | [<br/>"911144442",<br/>"us_ein"<br/>] |
1617
| `oauth_accounts` | Dict[str, [models.CustomerPortalOAuthAccount](../models/customerportaloauthaccount.md)] | :heavy_check_mark: | N/A | |

docs/models/customerportalcustomerupdate.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55

66
| Field | Type | Required | Description |
77
| -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- |
8-
| `email` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A |
9-
| `name` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A |
8+
| `billing_name` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A |
109
| `billing_address` | [OptionalNullable[models.Address]](../models/address.md) | :heavy_minus_sign: | N/A |
1110
| `tax_id` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A |

docs/models/meteraggregation.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,3 +35,9 @@ value: models.PropertyAggregation = /* values here */
3535
value: models.PropertyAggregation = /* values here */
3636
```
3737

38+
### `models.UniqueAggregation`
39+
40+
```python
41+
value: models.UniqueAggregation = /* values here */
42+
```
43+

0 commit comments

Comments
 (0)