Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
162 changes: 108 additions & 54 deletions .speakeasy/gen.lock

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion .speakeasy/gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ generation:
skipResponseBodyAssertions: false
persistentEdits: {}
python:
version: 0.28.1
version: 0.28.2
additionalDependencies:
dev:
pydantic-ai-slim: ^0.1.0
Expand Down
12 changes: 6 additions & 6 deletions .speakeasy/workflow.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,20 @@ speakeasyVersion: 1.648.0
sources:
Polar-OAS:
sourceNamespace: polar-oas
sourceRevisionDigest: sha256:a2296677356336366c4a76503e7e7ba132842f9a48a84c6ed0dbd330f6960c74
sourceBlobDigest: sha256:16616e0b00982de0e23eafdc326269a13c6a4de07ba55aaf350f4ee2399e6838
sourceRevisionDigest: sha256:4e15c43b0a16c8b392fe56db70c1107ff8a5ecc89d70aae1bd14c613e2590b0c
sourceBlobDigest: sha256:6bc8ba317ea34e04d455235054959809e62f20d72ba9461c7ad9a7db9c431ec0
tags:
- latest
- speakeasy-sdk-regen-1762301662
- speakeasy-sdk-regen-1766276214
- 0.1.0
targets:
polar:
source: Polar-OAS
sourceNamespace: polar-oas
sourceRevisionDigest: sha256:a2296677356336366c4a76503e7e7ba132842f9a48a84c6ed0dbd330f6960c74
sourceBlobDigest: sha256:16616e0b00982de0e23eafdc326269a13c6a4de07ba55aaf350f4ee2399e6838
sourceRevisionDigest: sha256:4e15c43b0a16c8b392fe56db70c1107ff8a5ecc89d70aae1bd14c613e2590b0c
sourceBlobDigest: sha256:6bc8ba317ea34e04d455235054959809e62f20d72ba9461c7ad9a7db9c431ec0
codeSamplesNamespace: polar-oas-py-code-samples
codeSamplesRevisionDigest: sha256:1d25f2976eec11421b26ed079aebe38d6567c88c58f902fe28444c512fc090f6
codeSamplesRevisionDigest: sha256:6d00db5e4cb3968618fa3b7abbc21369242acd60dc8f80c91d519df55d943a1e
workflow:
workflowVersion: 1.0.0
speakeasyVersion: latest
Expand Down
12 changes: 11 additions & 1 deletion RELEASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -993,4 +993,14 @@ Based on:
### Generated
- [python v0.28.1] .
### Releases
- [PyPI v0.28.1] https://pypi.org/project/polar-sdk/0.28.1 - .
- [PyPI v0.28.1] https://pypi.org/project/polar-sdk/0.28.1 - .

## 2026-01-13 00:13:45
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.648.0 (2.737.0) https://github.com/speakeasy-api/speakeasy
### Generated
- [python v0.28.2] .
### Releases
- [PyPI v0.28.2] https://pypi.org/project/polar-sdk/0.28.2 - .
80 changes: 40 additions & 40 deletions codeSamples.yaml

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions docs/models/authorizeresponseorganization.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,5 @@
| `sub_type` | *Literal["organization"]* | :heavy_check_mark: | N/A |
| `sub` | [Nullable[models.AuthorizeOrganization]](../models/authorizeorganization.md) | :heavy_check_mark: | N/A |
| `scopes` | List[[models.Scope](../models/scope.md)] | :heavy_check_mark: | N/A |
| `scope_display_names` | Dict[str, *str*] | :heavy_minus_sign: | N/A |
| `organizations` | List[[models.AuthorizeOrganization](../models/authorizeorganization.md)] | :heavy_check_mark: | N/A |
3 changes: 2 additions & 1 deletion docs/models/authorizeresponseuser.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,5 @@
| `client` | [models.OAuth2ClientPublic](../models/oauth2clientpublic.md) | :heavy_check_mark: | N/A |
| `sub_type` | *Literal["user"]* | :heavy_check_mark: | N/A |
| `sub` | [Nullable[models.AuthorizeUser]](../models/authorizeuser.md) | :heavy_check_mark: | N/A |
| `scopes` | List[[models.Scope](../models/scope.md)] | :heavy_check_mark: | N/A |
| `scopes` | List[[models.Scope](../models/scope.md)] | :heavy_check_mark: | N/A |
| `scope_display_names` | Dict[str, *str*] | :heavy_minus_sign: | N/A |
21 changes: 21 additions & 0 deletions docs/models/balancedisputeevent.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# BalanceDisputeEvent

An event created by Polar when an order is disputed.


## Fields

| Field | Type | Required | Description | Example |
| ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ |
| `id` | *str* | :heavy_check_mark: | The ID of the object. | |
| `timestamp` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_check_mark: | The timestamp of the event. | |
| `organization_id` | *str* | :heavy_check_mark: | The ID of the organization owning the event. | 1dbfc517-0bbf-4301-9ba8-555ca42b9737 |
| `customer_id` | *Nullable[str]* | :heavy_check_mark: | ID of the customer in your Polar organization associated with the event. | |
| `customer` | [Nullable[models.Customer]](../models/customer.md) | :heavy_check_mark: | The customer associated with the event. | |
| `external_customer_id` | *Nullable[str]* | :heavy_check_mark: | ID of the customer in your system associated with the event. | |
| `child_count` | *Optional[int]* | :heavy_minus_sign: | Number of direct child events linked to this event. | |
| `parent_id` | *OptionalNullable[str]* | :heavy_minus_sign: | The ID of the parent event. | |
| `label` | *str* | :heavy_check_mark: | Human readable label of the event type. | |
| `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. | |
| `name` | *Literal["balance.dispute"]* | :heavy_check_mark: | The name of the event. | |
| `metadata` | [models.BalanceDisputeMetadata](../models/balancedisputemetadata.md) | :heavy_check_mark: | N/A | |
20 changes: 20 additions & 0 deletions docs/models/balancedisputemetadata.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# BalanceDisputeMetadata


## Fields

| Field | Type | Required | Description |
| ----------------------- | ----------------------- | ----------------------- | ----------------------- |
| `transaction_id` | *str* | :heavy_check_mark: | N/A |
| `dispute_id` | *str* | :heavy_check_mark: | N/A |
| `order_id` | *Optional[str]* | :heavy_minus_sign: | N/A |
| `product_id` | *Optional[str]* | :heavy_minus_sign: | N/A |
| `subscription_id` | *Optional[str]* | :heavy_minus_sign: | N/A |
| `amount` | *int* | :heavy_check_mark: | N/A |
| `currency` | *str* | :heavy_check_mark: | N/A |
| `presentment_amount` | *int* | :heavy_check_mark: | N/A |
| `presentment_currency` | *str* | :heavy_check_mark: | N/A |
| `tax_amount` | *int* | :heavy_check_mark: | N/A |
| `tax_state` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A |
| `tax_country` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A |
| `fee` | *int* | :heavy_check_mark: | N/A |
Loading