Skip to content

Commit 2924563

Browse files
speakeasybotfrankie567
authored andcommitted
## Python SDK Changes Detected:
* `polar.webhooks.list_webhook_deliveries()`: `response.items.[]` **Changed** **Breaking** ⚠️ * `polar.benefits.list()`: `request.sorting` **Changed** * `polar.customer_portal.benefit-grants.list()`: `response.items.[].[customer_benefit_grant_meter_credit].properties` **Changed** * `polar.customer_portal.benefit-grants.get()`: `response.[customer_benefit_grant_meter_credit].properties` **Changed** * `polar.customer_portal.benefit-grants.update()`: `response.[customer_benefit_grant_meter_credit].properties` **Changed**
1 parent 3df43b5 commit 2924563

File tree

117 files changed

+1618
-585
lines changed

Some content is hidden

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

117 files changed

+1618
-585
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
.env
2+
.env.local
13
**/__pycache__/
24
**/.speakeasy/temp/
35
**/.speakeasy/logs/

.speakeasy/gen.lock

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

.speakeasy/gen.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,13 @@ generation:
1919
auth:
2020
oAuth2ClientCredentialsEnabled: true
2121
oAuth2PasswordEnabled: false
22+
hoistGlobalSecurity: true
2223
tests:
2324
generateTests: true
2425
generateNewTests: false
2526
skipResponseBodyAssertions: false
2627
python:
27-
version: 0.23.0
28+
version: 0.23.1
2829
additionalDependencies:
2930
dev:
3031
pydantic-ai-slim: ^0.1.0
@@ -66,4 +67,5 @@ python:
6667
pytestFilterWarnings: []
6768
pytestTimeout: 0
6869
responseFormat: flat
70+
sseFlatResponse: false
6971
templateVersion: v2

.speakeasy/workflow.lock

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
1-
speakeasyVersion: 1.609.0
1+
speakeasyVersion: 1.615.2
22
sources:
33
Polar-OAS:
44
sourceNamespace: polar-oas
5-
sourceRevisionDigest: sha256:10b25f4c69799d98076ce42400b21e7aca688f6a4936f0b0ae3a157f8303e9b5
6-
sourceBlobDigest: sha256:9ddf6e719736b4116c5ce6de12d0b3913dea4124e72d64858ea679159be31b85
5+
sourceRevisionDigest: sha256:0609c2f786cf41c405047e351611a410c5e1993dd3edb8e1c8607a800d9ba45f
6+
sourceBlobDigest: sha256:a63f46911db62fcac2879f63c5173739ee400f0b9439775e24615d8e3b8039d8
77
tags:
88
- latest
9-
- speakeasy-sdk-regen-1756167230
9+
- speakeasy-sdk-regen-1757117557
1010
- 0.1.0
1111
targets:
1212
polar:
1313
source: Polar-OAS
1414
sourceNamespace: polar-oas
15-
sourceRevisionDigest: sha256:10b25f4c69799d98076ce42400b21e7aca688f6a4936f0b0ae3a157f8303e9b5
16-
sourceBlobDigest: sha256:9ddf6e719736b4116c5ce6de12d0b3913dea4124e72d64858ea679159be31b85
15+
sourceRevisionDigest: sha256:0609c2f786cf41c405047e351611a410c5e1993dd3edb8e1c8607a800d9ba45f
16+
sourceBlobDigest: sha256:a63f46911db62fcac2879f63c5173739ee400f0b9439775e24615d8e3b8039d8
1717
codeSamplesNamespace: polar-oas-py-code-samples
18-
codeSamplesRevisionDigest: sha256:0b87c3d5ea9fe791d0c2c4b94e007f6b0b840a5ae94b0c228d43d5ae3d35a291
18+
codeSamplesRevisionDigest: sha256:02a649ad7724ad6c84fe2565e5629bccf761c08396baf4c0b9289cc1d9f25148
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
@@ -883,4 +883,14 @@ Based on:
883883
### Generated
884884
- [python v0.23.0] .
885885
### Releases
886-
- [PyPI v0.23.0] https://pypi.org/project/polar-sdk/0.23.0 - .
886+
- [PyPI v0.23.0] https://pypi.org/project/polar-sdk/0.23.0 - .
887+
888+
## 2025-09-16 00:12:52
889+
### Changes
890+
Based on:
891+
- OpenAPI Doc
892+
- Speakeasy CLI 1.615.2 (2.698.4) https://github.com/speakeasy-api/speakeasy
893+
### Generated
894+
- [python v0.23.1] .
895+
### Releases
896+
- [PyPI v0.23.1] https://pypi.org/project/polar-sdk/0.23.1 - .

codeSamples.yaml

Lines changed: 27 additions & 27 deletions
Large diffs are not rendered by default.
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# BenefitGrantCustomWebhook
2+
3+
4+
## Fields
5+
6+
| Field | Type | Required | Description |
7+
| ----------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------- |
8+
| `created_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_check_mark: | Creation timestamp of the object. |
9+
| `modified_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_check_mark: | Last modification timestamp of the object. |
10+
| `id` | *str* | :heavy_check_mark: | The ID of the grant. |
11+
| `granted_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_minus_sign: | The timestamp when the benefit was granted. If `None`, the benefit is not granted. |
12+
| `is_granted` | *bool* | :heavy_check_mark: | Whether the benefit is granted. |
13+
| `revoked_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_minus_sign: | The timestamp when the benefit was revoked. If `None`, the benefit is not revoked. |
14+
| `is_revoked` | *bool* | :heavy_check_mark: | Whether the benefit is revoked. |
15+
| `subscription_id` | *Nullable[str]* | :heavy_check_mark: | The ID of the subscription that granted this benefit. |
16+
| `order_id` | *Nullable[str]* | :heavy_check_mark: | The ID of the order that granted this benefit. |
17+
| `customer_id` | *str* | :heavy_check_mark: | The ID of the customer concerned by this grant. |
18+
| `benefit_id` | *str* | :heavy_check_mark: | The ID of the benefit concerned by this grant. |
19+
| `error` | [OptionalNullable[models.BenefitGrantError]](../models/benefitgranterror.md) | :heavy_minus_sign: | The error information if the benefit grant failed with an unrecoverable error. |
20+
| `customer` | [models.Customer](../models/customer.md) | :heavy_check_mark: | A customer in an organization. |
21+
| `benefit` | [models.BenefitCustom](../models/benefitcustom.md) | :heavy_check_mark: | A benefit of type `custom`.<br/><br/>Use it to grant any kind of benefit that doesn't fit in the other types. |
22+
| `properties` | [models.BenefitGrantCustomProperties](../models/benefitgrantcustomproperties.md) | :heavy_check_mark: | N/A |
23+
| `previous_properties` | [OptionalNullable[models.BenefitGrantCustomProperties]](../models/benefitgrantcustomproperties.md) | :heavy_minus_sign: | N/A |
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# BenefitGrantDiscordWebhook
2+
3+
4+
## Fields
5+
6+
| Field | Type | Required | Description |
7+
| ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- |
8+
| `created_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_check_mark: | Creation timestamp of the object. |
9+
| `modified_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_check_mark: | Last modification timestamp of the object. |
10+
| `id` | *str* | :heavy_check_mark: | The ID of the grant. |
11+
| `granted_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_minus_sign: | The timestamp when the benefit was granted. If `None`, the benefit is not granted. |
12+
| `is_granted` | *bool* | :heavy_check_mark: | Whether the benefit is granted. |
13+
| `revoked_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_minus_sign: | The timestamp when the benefit was revoked. If `None`, the benefit is not revoked. |
14+
| `is_revoked` | *bool* | :heavy_check_mark: | Whether the benefit is revoked. |
15+
| `subscription_id` | *Nullable[str]* | :heavy_check_mark: | The ID of the subscription that granted this benefit. |
16+
| `order_id` | *Nullable[str]* | :heavy_check_mark: | The ID of the order that granted this benefit. |
17+
| `customer_id` | *str* | :heavy_check_mark: | The ID of the customer concerned by this grant. |
18+
| `benefit_id` | *str* | :heavy_check_mark: | The ID of the benefit concerned by this grant. |
19+
| `error` | [OptionalNullable[models.BenefitGrantError]](../models/benefitgranterror.md) | :heavy_minus_sign: | The error information if the benefit grant failed with an unrecoverable error. |
20+
| `customer` | [models.Customer](../models/customer.md) | :heavy_check_mark: | A customer in an organization. |
21+
| `benefit` | [models.BenefitDiscord](../models/benefitdiscord.md) | :heavy_check_mark: | A benefit of type `discord`.<br/><br/>Use it to automatically invite your backers to a Discord server. |
22+
| `properties` | [models.BenefitGrantDiscordProperties](../models/benefitgrantdiscordproperties.md) | :heavy_check_mark: | N/A |
23+
| `previous_properties` | [OptionalNullable[models.BenefitGrantDiscordProperties]](../models/benefitgrantdiscordproperties.md) | :heavy_minus_sign: | N/A |

0 commit comments

Comments
 (0)