Skip to content

Commit df61670

Browse files
committed
## Python SDK Changes Detected:
* `polar.webhooks.list_webhook_deliveries()`: `response.items.[].webhook_event` **Changed** **Breaking** ⚠️ * `polar.benefits.list()`: `request.sorting` **Changed**
1 parent 3df43b5 commit df61670

File tree

92 files changed

+461
-236
lines changed

Some content is hidden

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

92 files changed

+461
-236
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: 38 additions & 35 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:fb7ee1eedf1f7ea6228fdde31f5f83417c281eeaf06749edb8d3c03026f134f7
6+
sourceBlobDigest: sha256:1fbf5b63d8b4af91dd7d440fab24c1d5a58fd0e6f89a8c8cb2620fbfd824c043
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:fb7ee1eedf1f7ea6228fdde31f5f83417c281eeaf06749edb8d3c03026f134f7
16+
sourceBlobDigest: sha256:1fbf5b63d8b4af91dd7d440fab24c1d5a58fd0e6f89a8c8cb2620fbfd824c043
1717
codeSamplesNamespace: polar-oas-py-code-samples
18-
codeSamplesRevisionDigest: sha256:0b87c3d5ea9fe791d0c2c4b94e007f6b0b840a5ae94b0c228d43d5ae3d35a291
18+
codeSamplesRevisionDigest: sha256:d7961eb90cdbf382291297fcf79da87e62d095106e3399d6e46bacf5a7b7aa52
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-15 00:13:53
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.

docs/models/benefitsortproperty.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,6 @@
88
| `CREATED_AT` | created_at |
99
| `MINUS_CREATED_AT` | -created_at |
1010
| `DESCRIPTION` | description |
11-
| `MINUS_DESCRIPTION` | -description |
11+
| `MINUS_DESCRIPTION` | -description |
12+
| `TYPE` | type |
13+
| `MINUS_TYPE` | -type |

docs/models/webhookbenefitcreatedpayload.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@ Sent when a new benefit is created.
77

88
## Fields
99

10-
| Field | Type | Required | Description | Example |
11-
| -------------------------------------- | -------------------------------------- | -------------------------------------- | -------------------------------------- | -------------------------------------- |
12-
| `type` | *Literal["benefit.created"]* | :heavy_check_mark: | N/A | benefit.created |
13-
| `data` | [models.Benefit](../models/benefit.md) | :heavy_check_mark: | N/A | |
10+
| Field | Type | Required | Description | Example |
11+
| -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- |
12+
| `type` | *Literal["benefit.created"]* | :heavy_check_mark: | N/A | benefit.created |
13+
| `timestamp` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_check_mark: | N/A | |
14+
| `data` | [models.Benefit](../models/benefit.md) | :heavy_check_mark: | N/A | |

docs/models/webhookbenefitgrantcreatedpayload.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@ Sent when a new benefit grant is created.
77

88
## Fields
99

10-
| Field | Type | Required | Description | Example |
11-
| -------------------------------------------------------------- | -------------------------------------------------------------- | -------------------------------------------------------------- | -------------------------------------------------------------- | -------------------------------------------------------------- |
12-
| `type` | *Literal["benefit_grant.created"]* | :heavy_check_mark: | N/A | benefit_grant.created |
13-
| `data` | [models.BenefitGrantWebhook](../models/benefitgrantwebhook.md) | :heavy_check_mark: | N/A | |
10+
| Field | Type | Required | Description | Example |
11+
| -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- |
12+
| `type` | *Literal["benefit_grant.created"]* | :heavy_check_mark: | N/A | benefit_grant.created |
13+
| `timestamp` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_check_mark: | N/A | |
14+
| `data` | [models.BenefitGrantWebhook](../models/benefitgrantwebhook.md) | :heavy_check_mark: | N/A | |

docs/models/webhookbenefitgrantcycledpayload.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@ meaning the related subscription has been renewed for another period.
88

99
## Fields
1010

11-
| Field | Type | Required | Description | Example |
12-
| -------------------------------------------------------------- | -------------------------------------------------------------- | -------------------------------------------------------------- | -------------------------------------------------------------- | -------------------------------------------------------------- |
13-
| `type` | *Literal["benefit_grant.cycled"]* | :heavy_check_mark: | N/A | benefit_grant.cycled |
14-
| `data` | [models.BenefitGrantWebhook](../models/benefitgrantwebhook.md) | :heavy_check_mark: | N/A | |
11+
| Field | Type | Required | Description | Example |
12+
| -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- |
13+
| `type` | *Literal["benefit_grant.cycled"]* | :heavy_check_mark: | N/A | benefit_grant.cycled |
14+
| `timestamp` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_check_mark: | N/A | |
15+
| `data` | [models.BenefitGrantWebhook](../models/benefitgrantwebhook.md) | :heavy_check_mark: | N/A | |

0 commit comments

Comments
 (0)