Skip to content

Commit 9bd5651

Browse files
speakeasybotfrankie567
authored andcommitted
## Python SDK Changes Detected:
* `polar._endpointcheckout_created_post()`: * `request.data.products.[].prices.[].[product_price].[metered_unit].seat_tiers` **Changed** **Breaking** ⚠️ * `polar._endpointcheckout_updated_post()`: * `request.data.products.[].prices.[].[product_price].[metered_unit].seat_tiers` **Changed** **Breaking** ⚠️ * `polar._endpointsubscription_created_post()`: * `request.data.product.prices.[].[product_price].[metered_unit].seat_tiers` **Changed** **Breaking** ⚠️ * `polar._endpointsubscription_updated_post()`: * `request.data.product.prices.[].[product_price].[metered_unit].seat_tiers` **Changed** **Breaking** ⚠️ * `polar._endpointsubscription_active_post()`: * `request.data.product.prices.[].[product_price].[metered_unit].seat_tiers` **Changed** **Breaking** ⚠️ * `polar._endpointsubscription_canceled_post()`: * `request.data.product.prices.[].[product_price].[metered_unit].seat_tiers` **Changed** **Breaking** ⚠️ * `polar._endpointsubscription_uncanceled_post()`: * `request.data.product.prices.[].[product_price].[metered_unit].seat_tiers` **Changed** **Breaking** ⚠️ * `polar._endpointsubscription_revoked_post()`: * `request.data.product.prices.[].[product_price].[metered_unit].seat_tiers` **Changed** **Breaking** ⚠️ * `polar._endpointsubscription_past_due_post()`: * `request.data.product.prices.[].[product_price].[metered_unit].seat_tiers` **Changed** **Breaking** ⚠️ * `polar._endpointproduct_created_post()`: * `request.data.prices.[].[product_price].[metered_unit].seat_tiers` **Changed** **Breaking** ⚠️ * `polar._endpointproduct_updated_post()`: * `request.data.prices.[].[product_price].[metered_unit].seat_tiers` **Changed** **Breaking** ⚠️ * `polar.customers.list()`: `request.include_members` **Removed** **Breaking** ⚠️ * `polar.customers.create()`: `request` **Changed** **Breaking** ⚠️ * `polar.events.get()`: `response.[system_event]` **Changed** **Breaking** ⚠️ * `polar.events.list()`: `response.[list_resource_event_].items.[].[system_event]` **Changed** **Breaking** ⚠️ * `polar.customers.update_external()`: `request.include_members` **Removed** **Breaking** ⚠️ * `polar.customers.get_external()`: `request.include_members` **Removed** **Breaking** ⚠️ * `polar.customers.update()`: `request.include_members` **Removed** **Breaking** ⚠️ * `polar.customers.get()`: `request.include_members` **Removed** **Breaking** ⚠️ * `polar.checkouts.update()`: * `request.checkout_update.currency` **Added** * `response.products.[].prices.[].[product_price].[metered_unit].seat_tiers` **Changed** * `polar.checkout-links.get()`: `response.products.[].prices.[].[product_price].[metered_unit].seat_tiers` **Changed** * `polar.oauth2.authorize()`: `response` **Changed** * `polar.products.list()`: `response.items.[].prices.[].[product_price].[metered_unit].seat_tiers` **Changed** * `polar.products.create()`: `response.prices.[].[product_price].[metered_unit].seat_tiers` **Changed** * `polar.products.get()`: `response.prices.[].[product_price].[metered_unit].seat_tiers` **Changed** * `polar.products.update()`: `response.prices.[].[product_price].[metered_unit].seat_tiers` **Changed** * `polar.products.update_benefits()`: `response.prices.[].[product_price].[metered_unit].seat_tiers` **Changed** * `polar.checkouts.list()`: `response.items.[].products.[].prices.[].[product_price].[metered_unit].seat_tiers` **Changed** * `polar.checkouts.create()`: * `request.currency` **Added** * `response.products.[].prices.[].[product_price].[metered_unit].seat_tiers` **Changed** * `polar.checkouts.get()`: `response.products.[].prices.[].[product_price].[metered_unit].seat_tiers` **Changed** * `polar.subscriptions.revoke()`: `response.product.prices.[].[product_price].[metered_unit].seat_tiers` **Changed** * `polar.checkouts.client_get()`: `response.products.[].prices.[].[product_price].[metered_unit].seat_tiers` **Changed** * `polar.checkouts.client_update()`: `response.products.[].prices.[].[product_price].[metered_unit].seat_tiers` **Changed** * `polar.checkouts.client_confirm()`: `response.products.[].prices.[].[product_price].[metered_unit].seat_tiers` **Changed** * `polar.checkout-links.list()`: `response.items.[].products.[].prices.[].[product_price].[metered_unit].seat_tiers` **Changed** * `polar.checkout-links.create()`: `response.products.[].prices.[].[product_price].[metered_unit].seat_tiers` **Changed** * `polar.subscriptions.get()`: `response.product.prices.[].[product_price].[metered_unit].seat_tiers` **Changed** * `polar.subscriptions.create()`: `response.product.prices.[].[product_price].[metered_unit].seat_tiers` **Changed** * `polar.subscriptions.list()`: `response.items.[].product.prices.[].[product_price].[metered_unit].seat_tiers` **Changed** * `polar._endpointcustomer_seat_revoked_post()`: * `request.data` **Changed** * `polar.subscriptions.update()`: `response.product.prices.[].[product_price].[metered_unit].seat_tiers` **Changed** * `polar.checkout-links.update()`: `response.products.[].prices.[].[product_price].[metered_unit].seat_tiers` **Changed** * `polar.customer_portal.seats.list_seats()`: `response.seats.[]` **Changed** * `polar.customer_portal.seats.assign_seat()`: `response` **Changed** * `polar.customer_portal.seats.revoke_seat()`: `response` **Changed** * `polar.customer_portal.seats.resend_invitation()`: `response` **Changed** * `polar.customer_portal.seats.list_claimed_subscriptions()`: `response.[].product.prices.[].[product_price].[metered_unit].seat_tiers` **Changed** * `polar.customer_portal.orders.list()`: `response.items.[].product.prices.[].[product_price].[metered_unit].seat_tiers` **Changed** * `polar.customer_portal.orders.get()`: `response.product.prices.[].[product_price].[metered_unit].seat_tiers` **Changed** * `polar.customer_portal.orders.update()`: `response.product.prices.[].[product_price].[metered_unit].seat_tiers` **Changed** * `polar.customer_portal.organizations.get()`: `response.products.[].prices.[].[product_price].[metered_unit].seat_tiers` **Changed** * `polar.customer_portal.subscriptions.list()`: `response.items.[].product.prices.[].[product_price].[metered_unit].seat_tiers` **Changed** * `polar.customer_portal.subscriptions.get()`: `response.product.prices.[].[product_price].[metered_unit].seat_tiers` **Changed** * `polar.customer_portal.subscriptions.cancel()`: `response.product.prices.[].[product_price].[metered_unit].seat_tiers` **Changed** * `polar.customer_portal.subscriptions.update()`: `response.product.prices.[].[product_price].[metered_unit].seat_tiers` **Changed** * `polar.customer-seats.list_seats()`: `response.seats.[]` **Changed** * `polar.customer-seats.assign_seat()`: `response` **Changed** * `polar.customer-seats.revoke_seat()`: `response` **Changed** * `polar.customer-seats.resend_invitation()`: `response` **Changed** * `polar.customer-seats.claim_seat()`: `response.seat` **Changed** * `polar._endpointcustomer_seat_claimed_post()`: * `request.data` **Changed** * `polar._endpointcustomer_seat_assigned_post()`: * `request.data` **Changed**
1 parent b50ae5b commit 9bd5651

File tree

63 files changed

+1662
-380
lines changed

Some content is hidden

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

63 files changed

+1662
-380
lines changed

.speakeasy/gen.lock

Lines changed: 108 additions & 54 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
@@ -28,7 +28,7 @@ generation:
2828
skipResponseBodyAssertions: false
2929
persistentEdits: {}
3030
python:
31-
version: 0.28.1
31+
version: 0.28.2
3232
additionalDependencies:
3333
dev:
3434
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.648.0
22
sources:
33
Polar-OAS:
44
sourceNamespace: polar-oas
5-
sourceRevisionDigest: sha256:a2296677356336366c4a76503e7e7ba132842f9a48a84c6ed0dbd330f6960c74
6-
sourceBlobDigest: sha256:16616e0b00982de0e23eafdc326269a13c6a4de07ba55aaf350f4ee2399e6838
5+
sourceRevisionDigest: sha256:4e15c43b0a16c8b392fe56db70c1107ff8a5ecc89d70aae1bd14c613e2590b0c
6+
sourceBlobDigest: sha256:6bc8ba317ea34e04d455235054959809e62f20d72ba9461c7ad9a7db9c431ec0
77
tags:
88
- latest
9-
- speakeasy-sdk-regen-1762301662
9+
- speakeasy-sdk-regen-1766276214
1010
- 0.1.0
1111
targets:
1212
polar:
1313
source: Polar-OAS
1414
sourceNamespace: polar-oas
15-
sourceRevisionDigest: sha256:a2296677356336366c4a76503e7e7ba132842f9a48a84c6ed0dbd330f6960c74
16-
sourceBlobDigest: sha256:16616e0b00982de0e23eafdc326269a13c6a4de07ba55aaf350f4ee2399e6838
15+
sourceRevisionDigest: sha256:4e15c43b0a16c8b392fe56db70c1107ff8a5ecc89d70aae1bd14c613e2590b0c
16+
sourceBlobDigest: sha256:6bc8ba317ea34e04d455235054959809e62f20d72ba9461c7ad9a7db9c431ec0
1717
codeSamplesNamespace: polar-oas-py-code-samples
18-
codeSamplesRevisionDigest: sha256:1d25f2976eec11421b26ed079aebe38d6567c88c58f902fe28444c512fc090f6
18+
codeSamplesRevisionDigest: sha256:6d00db5e4cb3968618fa3b7abbc21369242acd60dc8f80c91d519df55d943a1e
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
@@ -993,4 +993,14 @@ Based on:
993993
### Generated
994994
- [python v0.28.1] .
995995
### Releases
996-
- [PyPI v0.28.1] https://pypi.org/project/polar-sdk/0.28.1 - .
996+
- [PyPI v0.28.1] https://pypi.org/project/polar-sdk/0.28.1 - .
997+
998+
## 2026-01-13 14:59:35
999+
### Changes
1000+
Based on:
1001+
- OpenAPI Doc
1002+
- Speakeasy CLI 1.648.0 (2.737.0) https://github.com/speakeasy-api/speakeasy
1003+
### Generated
1004+
- [python v0.28.2] .
1005+
### Releases
1006+
- [PyPI v0.28.2] https://pypi.org/project/polar-sdk/0.28.2 - .

codeSamples.yaml

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

docs/models/authorizeresponseorganization.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,5 @@
99
| `sub_type` | *Literal["organization"]* | :heavy_check_mark: | N/A |
1010
| `sub` | [Nullable[models.AuthorizeOrganization]](../models/authorizeorganization.md) | :heavy_check_mark: | N/A |
1111
| `scopes` | List[[models.Scope](../models/scope.md)] | :heavy_check_mark: | N/A |
12+
| `scope_display_names` | Dict[str, *str*] | :heavy_minus_sign: | N/A |
1213
| `organizations` | List[[models.AuthorizeOrganization](../models/authorizeorganization.md)] | :heavy_check_mark: | N/A |

docs/models/authorizeresponseuser.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,5 @@
88
| `client` | [models.OAuth2ClientPublic](../models/oauth2clientpublic.md) | :heavy_check_mark: | N/A |
99
| `sub_type` | *Literal["user"]* | :heavy_check_mark: | N/A |
1010
| `sub` | [Nullable[models.AuthorizeUser]](../models/authorizeuser.md) | :heavy_check_mark: | N/A |
11-
| `scopes` | List[[models.Scope](../models/scope.md)] | :heavy_check_mark: | N/A |
11+
| `scopes` | List[[models.Scope](../models/scope.md)] | :heavy_check_mark: | N/A |
12+
| `scope_display_names` | Dict[str, *str*] | :heavy_minus_sign: | N/A |

docs/models/balancedisputeevent.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# BalanceDisputeEvent
2+
3+
An event created by Polar when an order is disputed.
4+
5+
6+
## Fields
7+
8+
| Field | Type | Required | Description | Example |
9+
| ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ |
10+
| `id` | *str* | :heavy_check_mark: | The ID of the object. | |
11+
| `timestamp` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_check_mark: | The timestamp of the event. | |
12+
| `organization_id` | *str* | :heavy_check_mark: | The ID of the organization owning the event. | 1dbfc517-0bbf-4301-9ba8-555ca42b9737 |
13+
| `customer_id` | *Nullable[str]* | :heavy_check_mark: | ID of the customer in your Polar organization associated with the event. | |
14+
| `customer` | [Nullable[models.Customer]](../models/customer.md) | :heavy_check_mark: | The customer associated with the event. | |
15+
| `external_customer_id` | *Nullable[str]* | :heavy_check_mark: | ID of the customer in your system associated with the event. | |
16+
| `child_count` | *Optional[int]* | :heavy_minus_sign: | Number of direct child events linked to this event. | |
17+
| `parent_id` | *OptionalNullable[str]* | :heavy_minus_sign: | The ID of the parent event. | |
18+
| `label` | *str* | :heavy_check_mark: | Human readable label of the event type. | |
19+
| `source` | *Literal["system"]* | :heavy_check_mark: | The source of the event. `system` events are created by Polar. `user` events are the one you create through our ingestion API. | |
20+
| `name` | *Literal["balance.dispute"]* | :heavy_check_mark: | The name of the event. | |
21+
| `metadata` | [models.BalanceDisputeMetadata](../models/balancedisputemetadata.md) | :heavy_check_mark: | N/A | |
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# BalanceDisputeMetadata
2+
3+
4+
## Fields
5+
6+
| Field | Type | Required | Description |
7+
| ----------------------- | ----------------------- | ----------------------- | ----------------------- |
8+
| `transaction_id` | *str* | :heavy_check_mark: | N/A |
9+
| `dispute_id` | *str* | :heavy_check_mark: | N/A |
10+
| `order_id` | *Optional[str]* | :heavy_minus_sign: | N/A |
11+
| `product_id` | *Optional[str]* | :heavy_minus_sign: | N/A |
12+
| `subscription_id` | *Optional[str]* | :heavy_minus_sign: | N/A |
13+
| `amount` | *int* | :heavy_check_mark: | N/A |
14+
| `currency` | *str* | :heavy_check_mark: | N/A |
15+
| `presentment_amount` | *int* | :heavy_check_mark: | N/A |
16+
| `presentment_currency` | *str* | :heavy_check_mark: | N/A |
17+
| `tax_amount` | *int* | :heavy_check_mark: | N/A |
18+
| `tax_state` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A |
19+
| `tax_country` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A |
20+
| `fee` | *int* | :heavy_check_mark: | N/A |

0 commit comments

Comments
 (0)