Skip to content

Commit

Permalink
ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.460.3
Browse files Browse the repository at this point in the history
  • Loading branch information
speakeasybot authored and frankie567 committed Jan 2, 2025
1 parent 4beb22d commit a5b533e
Show file tree
Hide file tree
Showing 381 changed files with 1,388 additions and 3,406 deletions.
238 changes: 65 additions & 173 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 @@ -16,7 +16,7 @@ generation:
oAuth2ClientCredentialsEnabled: true
oAuth2PasswordEnabled: false
python:
version: 0.11.1
version: 0.12.0
additionalDependencies:
dev:
pytest: ^8.3.3
Expand Down
14 changes: 7 additions & 7 deletions .speakeasy/workflow.lock
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
speakeasyVersion: 1.456.1
speakeasyVersion: 1.460.3
sources:
Polar-OAS:
sourceNamespace: polar-oas
sourceRevisionDigest: sha256:6c834590418d648bd10d0825628fe11bda41e355840bcb83319e3435ca322d5b
sourceBlobDigest: sha256:2fcb4a497110dfacf53652f840b4586fd532f15ddfa11dc8329db9987c54371a
sourceRevisionDigest: sha256:f0e5776dfdd8c2c5519e0e041229c4e7ce94f10542a18d65e4d77b1c12386826
sourceBlobDigest: sha256:6dbfe2107a5935633f4599b35f6b7ea72d04e2464bad60267066c53a1cc17e5c
tags:
- latest
- speakeasy-sdk-regen-1734653531
- speakeasy-sdk-regen-1735806420
- 0.1.0
targets:
polar:
source: Polar-OAS
sourceNamespace: polar-oas
sourceRevisionDigest: sha256:6c834590418d648bd10d0825628fe11bda41e355840bcb83319e3435ca322d5b
sourceBlobDigest: sha256:2fcb4a497110dfacf53652f840b4586fd532f15ddfa11dc8329db9987c54371a
sourceRevisionDigest: sha256:f0e5776dfdd8c2c5519e0e041229c4e7ce94f10542a18d65e4d77b1c12386826
sourceBlobDigest: sha256:6dbfe2107a5935633f4599b35f6b7ea72d04e2464bad60267066c53a1cc17e5c
codeSamplesNamespace: polar-oas-code-samples
codeSamplesRevisionDigest: sha256:8343363a8e0f25db3b3bdbcc73302d71c8c9b25ad9f0905047f680d6398fa774
codeSamplesRevisionDigest: sha256:f53d8be3e1b3c07dc1d00ee7b2fd565e0c1a66ec26e438ddeb0d555ad2a7cf09
workflow:
workflowVersion: 1.0.0
speakeasyVersion: latest
Expand Down
80 changes: 40 additions & 40 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ with Polar() as polar:
created_at=dateutil.parser.isoparse("2024-11-12T14:26:42.882Z"),
modified_at=dateutil.parser.isoparse("2023-05-28T05:08:06.235Z"),
id="<value>",
payment_processor=polar_sdk.PaymentProcessor.STRIPE,
status=polar_sdk.CheckoutStatus.FAILED,
client_secret="<value>",
url="https://heavy-beret.com/",
Expand Down Expand Up @@ -101,17 +102,17 @@ with Polar() as polar:
"organization_id": "<value>",
"prices": [
{
"created_at": dateutil.parser.isoparse("2024-11-19T15:59:15.588Z"),
"modified_at": dateutil.parser.isoparse("2022-11-17T00:11:23.972Z"),
"created_at": dateutil.parser.isoparse("2025-11-19T15:59:15.588Z"),
"modified_at": dateutil.parser.isoparse("2023-11-17T00:11:23.972Z"),
"id": "<value>",
"is_archived": False,
"product_id": "<value>",
"price_currency": "<value>",
"minimum_amount": 363560,
"maximum_amount": 75876,
"preset_amount": 82334,
"amount_type": polar_sdk.ProductPriceOneTimeCustomAmountType.CUSTOM,
"type": polar_sdk.ProductPriceOneTimeCustomType.ONE_TIME,
"amount_type": "custom",
"type": "one_time",
},
],
"benefits": [
Expand Down Expand Up @@ -144,13 +145,13 @@ with Polar() as polar:
"created_at": dateutil.parser.isoparse("2024-06-07T13:47:02.365Z"),
"size_readable": "<value>",
"public_url": "https://webbed-experience.name/",
"service": polar_sdk.Service.PRODUCT_MEDIA,
"service": "product_media",
},
],
},
product_price={
"created_at": dateutil.parser.isoparse("2024-02-15T09:22:19.644Z"),
"modified_at": dateutil.parser.isoparse("2022-12-28T20:59:29.904Z"),
"created_at": dateutil.parser.isoparse("2025-02-14T09:22:19.644Z"),
"modified_at": dateutil.parser.isoparse("2023-12-28T20:59:29.904Z"),
"id": "<value>",
"is_archived": False,
"product_id": "<value>",
Expand All @@ -159,8 +160,8 @@ with Polar() as polar:
"maximum_amount": 962818,
"preset_amount": 6400,
"recurring_interval": polar_sdk.SubscriptionRecurringInterval.MONTH,
"amount_type": polar_sdk.ProductPriceRecurringCustomAmountType.CUSTOM,
"type": polar_sdk.ProductPriceRecurringCustomType.RECURRING,
"amount_type": "custom",
"type": "recurring",
},
discount={
"duration": polar_sdk.DiscountDuration.REPEATING,
Expand All @@ -175,8 +176,8 @@ with Polar() as polar:
{
"custom_field_id": "<value>",
"custom_field": {
"created_at": dateutil.parser.isoparse("2022-08-19T22:18:44.316Z"),
"modified_at": dateutil.parser.isoparse("2023-04-29T23:39:10.699Z"),
"created_at": dateutil.parser.isoparse("2023-08-19T22:18:44.316Z"),
"modified_at": dateutil.parser.isoparse("2024-04-28T23:39:10.699Z"),
"id": "<value>",
"metadata": {
"key": False,
Expand All @@ -192,16 +193,16 @@ with Polar() as polar:
},
],
},
"type": polar_sdk.CustomFieldSelectType.SELECT,
"type": "select",
},
"order": 996863,
"required": False,
},
{
"custom_field_id": "<value>",
"custom_field": {
"created_at": dateutil.parser.isoparse("2023-07-03T09:46:29.338Z"),
"modified_at": dateutil.parser.isoparse("2024-01-25T18:08:49.597Z"),
"created_at": dateutil.parser.isoparse("2024-07-02T09:46:29.338Z"),
"modified_at": dateutil.parser.isoparse("2025-01-24T18:08:49.597Z"),
"id": "<value>",
"metadata": {
"key": False,
Expand All @@ -210,16 +211,16 @@ with Polar() as polar:
"name": "<value>",
"organization_id": "<value>",
"properties": {},
"type": polar_sdk.CustomFieldNumberType.NUMBER,
"type": "number",
},
"order": 72589,
"required": True,
},
{
"custom_field_id": "<value>",
"custom_field": {
"created_at": dateutil.parser.isoparse("2024-07-31T13:25:31.669Z"),
"modified_at": dateutil.parser.isoparse("2022-11-12T09:40:10.044Z"),
"created_at": dateutil.parser.isoparse("2025-07-31T13:25:31.669Z"),
"modified_at": dateutil.parser.isoparse("2023-11-12T09:40:10.044Z"),
"id": "<value>",
"metadata": {
"key": "<value>",
Expand All @@ -228,7 +229,7 @@ with Polar() as polar:
"name": "<value>",
"organization_id": "<value>",
"properties": {},
"type": polar_sdk.CustomFieldTextType.TEXT,
"type": "text",
},
"order": 161325,
"required": True,
Expand All @@ -238,9 +239,8 @@ with Polar() as polar:
"key": "<value>",
"key1": "<value>",
},
payment_processor=polar_sdk.PaymentProcessor.STRIPE,
),
type=polar_sdk.WebhookCheckoutCreatedPayloadType.CHECKOUT_CREATED,
type="checkout.created",
))

# Handle response
Expand All @@ -265,6 +265,7 @@ async def main():
created_at=dateutil.parser.isoparse("2024-11-12T14:26:42.882Z"),
modified_at=dateutil.parser.isoparse("2023-05-28T05:08:06.235Z"),
id="<value>",
payment_processor=polar_sdk.PaymentProcessor.STRIPE,
status=polar_sdk.CheckoutStatus.FAILED,
client_secret="<value>",
url="https://heavy-beret.com/",
Expand Down Expand Up @@ -309,17 +310,17 @@ async def main():
"organization_id": "<value>",
"prices": [
{
"created_at": dateutil.parser.isoparse("2023-02-07T04:30:48.802Z"),
"modified_at": dateutil.parser.isoparse("2024-06-25T22:47:14.264Z"),
"created_at": dateutil.parser.isoparse("2024-02-07T04:30:48.802Z"),
"modified_at": dateutil.parser.isoparse("2025-06-25T22:47:14.264Z"),
"id": "<value>",
"is_archived": False,
"product_id": "<value>",
"price_currency": "<value>",
"minimum_amount": 691423,
"maximum_amount": 499526,
"preset_amount": 18677,
"amount_type": polar_sdk.ProductPriceOneTimeCustomAmountType.CUSTOM,
"type": polar_sdk.ProductPriceOneTimeCustomType.ONE_TIME,
"amount_type": "custom",
"type": "one_time",
},
],
"benefits": [
Expand Down Expand Up @@ -352,20 +353,20 @@ async def main():
"created_at": dateutil.parser.isoparse("2024-06-07T13:47:02.365Z"),
"size_readable": "<value>",
"public_url": "https://webbed-experience.name/",
"service": polar_sdk.Service.PRODUCT_MEDIA,
"service": "product_media",
},
],
},
product_price={
"created_at": dateutil.parser.isoparse("2022-04-02T00:05:42.586Z"),
"modified_at": dateutil.parser.isoparse("2023-12-16T03:02:38.803Z"),
"created_at": dateutil.parser.isoparse("2023-04-02T00:05:42.586Z"),
"modified_at": dateutil.parser.isoparse("2024-12-15T03:02:38.803Z"),
"id": "<value>",
"is_archived": False,
"product_id": "<value>",
"price_currency": "<value>",
"price_amount": 740296,
"amount_type": polar_sdk.ProductPriceOneTimeFixedAmountType.FIXED,
"type": polar_sdk.ProductPriceOneTimeFixedType.ONE_TIME,
"amount_type": "fixed",
"type": "one_time",
},
discount={
"duration": polar_sdk.DiscountDuration.REPEATING,
Expand All @@ -380,8 +381,8 @@ async def main():
{
"custom_field_id": "<value>",
"custom_field": {
"created_at": dateutil.parser.isoparse("2024-06-23T16:57:50.081Z"),
"modified_at": dateutil.parser.isoparse("2023-12-14T18:25:33.693Z"),
"created_at": dateutil.parser.isoparse("2025-06-23T16:57:50.081Z"),
"modified_at": dateutil.parser.isoparse("2024-12-13T18:25:33.693Z"),
"id": "<value>",
"metadata": {
"key": "<value>",
Expand All @@ -390,16 +391,16 @@ async def main():
"name": "<value>",
"organization_id": "<value>",
"properties": {},
"type": polar_sdk.CustomFieldNumberType.NUMBER,
"type": "number",
},
"order": 996863,
"required": False,
},
{
"custom_field_id": "<value>",
"custom_field": {
"created_at": dateutil.parser.isoparse("2022-04-26T22:34:57.487Z"),
"modified_at": dateutil.parser.isoparse("2022-08-07T19:57:51.694Z"),
"created_at": dateutil.parser.isoparse("2023-04-26T22:34:57.487Z"),
"modified_at": dateutil.parser.isoparse("2023-08-07T19:57:51.694Z"),
"id": "<value>",
"metadata": {
"key": 856200,
Expand All @@ -415,16 +416,16 @@ async def main():
},
],
},
"type": polar_sdk.CustomFieldSelectType.SELECT,
"type": "select",
},
"order": 72589,
"required": True,
},
{
"custom_field_id": "<value>",
"custom_field": {
"created_at": dateutil.parser.isoparse("2024-05-25T15:20:50.694Z"),
"modified_at": dateutil.parser.isoparse("2023-11-28T14:29:40.329Z"),
"created_at": dateutil.parser.isoparse("2025-05-25T15:20:50.694Z"),
"modified_at": dateutil.parser.isoparse("2024-11-27T14:29:40.329Z"),
"id": "<value>",
"metadata": {
"key": False,
Expand All @@ -433,7 +434,7 @@ async def main():
"name": "<value>",
"organization_id": "<value>",
"properties": {},
"type": polar_sdk.CustomFieldCheckboxType.CHECKBOX,
"type": "checkbox",
},
"order": 161325,
"required": True,
Expand All @@ -443,9 +444,8 @@ async def main():
"key": "<value>",
"key1": "<value>",
},
payment_processor=polar_sdk.PaymentProcessor.STRIPE,
),
type=polar_sdk.WebhookCheckoutCreatedPayloadType.CHECKOUT_CREATED,
type="checkout.created",
))

# Handle response
Expand Down
12 changes: 11 additions & 1 deletion RELEASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -403,4 +403,14 @@ Based on:
### Generated
- [python v0.11.1] .
### Releases
- [PyPI v0.11.1] https://pypi.org/project/polar-sdk/0.11.1 - .
- [PyPI v0.11.1] https://pypi.org/project/polar-sdk/0.11.1 - .

## 2025-01-02 12:12:10
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.460.3 (2.484.0) https://github.com/speakeasy-api/speakeasy
### Generated
- [python v0.12.0] .
### Releases
- [PyPI v0.12.0] https://pypi.org/project/polar-sdk/0.12.0 - .
Loading

0 comments on commit a5b533e

Please sign in to comment.