Skip to content

Commit ceaba44

Browse files
speakeasybotfrankie567
authored andcommitted
ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.521.0
1 parent a6287a9 commit ceaba44

23 files changed

+341
-115
lines changed

.speakeasy/gen.lock

Lines changed: 60 additions & 36 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
@@ -18,7 +18,7 @@ generation:
1818
oAuth2ClientCredentialsEnabled: true
1919
oAuth2PasswordEnabled: false
2020
python:
21-
version: 0.16.7
21+
version: 0.16.8
2222
additionalDependencies:
2323
dev:
2424
pytest: ^8.3.3

.speakeasy/workflow.lock

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
1-
speakeasyVersion: 1.517.3
1+
speakeasyVersion: 1.521.0
22
sources:
33
Polar-OAS:
44
sourceNamespace: polar-oas
5-
sourceRevisionDigest: sha256:9f1f5a127a59678f1bba5f96723725b819d0f6c4dd22a7b4d02c33e6c14228fc
6-
sourceBlobDigest: sha256:2ff189294f638db345847d4b83a5bfbe1e09332aaa718672c2687d7914cd041d
5+
sourceRevisionDigest: sha256:0b87c2b72d7517c780ded0cfe5dfdab023a6dfd9b92cd7dabf60c1a1fb8df707
6+
sourceBlobDigest: sha256:c953e8db0509e37aba80e033a0e88d6f49904c88b2e43ef83f5ee56a951ca581
77
tags:
88
- latest
9-
- speakeasy-sdk-regen-1741651968
9+
- speakeasy-sdk-regen-1742343197
1010
- 0.1.0
1111
targets:
1212
polar:
1313
source: Polar-OAS
1414
sourceNamespace: polar-oas
15-
sourceRevisionDigest: sha256:9f1f5a127a59678f1bba5f96723725b819d0f6c4dd22a7b4d02c33e6c14228fc
16-
sourceBlobDigest: sha256:2ff189294f638db345847d4b83a5bfbe1e09332aaa718672c2687d7914cd041d
15+
sourceRevisionDigest: sha256:0b87c2b72d7517c780ded0cfe5dfdab023a6dfd9b92cd7dabf60c1a1fb8df707
16+
sourceBlobDigest: sha256:c953e8db0509e37aba80e033a0e88d6f49904c88b2e43ef83f5ee56a951ca581
1717
codeSamplesNamespace: polar-oas-py-code-samples
18-
codeSamplesRevisionDigest: sha256:b90b29eabf5606ec1fe311413b0f412b4290dca10b6bf70549b1214504b42b46
18+
codeSamplesRevisionDigest: sha256:556a8596ff9e1832f3d88ab769d1ab82fc058267810372c723fdb32de9d239ff
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
@@ -613,4 +613,14 @@ Based on:
613613
### Generated
614614
- [python v0.16.7] .
615615
### Releases
616-
- [PyPI v0.16.7] https://pypi.org/project/polar-sdk/0.16.7 - .
616+
- [PyPI v0.16.7] https://pypi.org/project/polar-sdk/0.16.7 - .
617+
618+
## 2025-03-20 11:04:01
619+
### Changes
620+
Based on:
621+
- OpenAPI Doc
622+
- Speakeasy CLI 1.521.0 (2.558.2) https://github.com/speakeasy-api/speakeasy
623+
### Generated
624+
- [python v0.16.8] .
625+
### Releases
626+
- [PyPI v0.16.8] https://pypi.org/project/polar-sdk/0.16.8 - .

codeSamples.yaml

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

docs/models/customerorder.md

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

docs/models/order.md

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

docs/models/orderstatus.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# OrderStatus
2+
3+
4+
## Values
5+
6+
| Name | Value |
7+
| -------------------- | -------------------- |
8+
| `PENDING` | pending |
9+
| `PAID` | paid |
10+
| `REFUNDED` | refunded |
11+
| `PARTIALLY_REFUNDED` | partially_refunded |

docs/models/refundcreate.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
88
| `order_id` | *str* | :heavy_check_mark: | N/A |
99
| `reason` | [models.RefundReason](../models/refundreason.md) | :heavy_check_mark: | N/A |
10-
| `amount` | *int* | :heavy_check_mark: | N/A |
10+
| `amount` | *int* | :heavy_check_mark: | Amount to refund in cents. Minimum is 1. |
1111
| `metadata` | Dict[str, [models.RefundCreateMetadata](../models/refundcreatemetadata.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 boolean<br/><br/>You can store up to **50 key-value pairs**. |
1212
| `comment` | *OptionalNullable[str]* | :heavy_minus_sign: | An internal comment about the refund. |
1313
| `revoke_benefits` | *Optional[bool]* | :heavy_minus_sign: | Should this refund trigger the associated customer benefits to be revoked?<br/><br/>**Note:**<br/>Only allowed in case the `order` is a one-time purchase.<br/>Subscriptions automatically revoke customer benefits once the<br/>subscription itself is revoked, i.e fully canceled. |

docs/models/webhookordercreatedpayload.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,9 @@ A new order is created when:
77
* A customer purchases a one-time product. In this case, `billing_reason` is set to `purchase`.
88
* A customer starts a subscription. In this case, `billing_reason` is set to `subscription_create`.
99
* A subscription is renewed. In this case, `billing_reason` is set to `subscription_cycle`.
10-
* A subscription is upgraded, downgraded or revoked with an immediate proration invoice. In this case, `billing_reason` is set to `subscription_update`.
10+
* A subscription is upgraded or downgraded with an immediate proration invoice. In this case, `billing_reason` is set to `subscription_update`.
11+
12+
<Warning>The order might not be paid yet, so the `status` field might be `pending`.</Warning>
1113

1214
**Discord & Slack support:** Full
1315

0 commit comments

Comments
 (0)