Skip to content
Merged
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
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
.env
.env.local
**/__pycache__/
**/.speakeasy/temp/
**/.speakeasy/logs/
Expand Down
94 changes: 55 additions & 39 deletions .speakeasy/gen.lock

Large diffs are not rendered by default.

4 changes: 3 additions & 1 deletion .speakeasy/gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,13 @@ generation:
auth:
oAuth2ClientCredentialsEnabled: true
oAuth2PasswordEnabled: false
hoistGlobalSecurity: true
tests:
generateTests: true
generateNewTests: false
skipResponseBodyAssertions: false
python:
version: 0.23.0
version: 0.23.1
additionalDependencies:
dev:
pydantic-ai-slim: ^0.1.0
Expand Down Expand Up @@ -66,4 +67,5 @@ python:
pytestFilterWarnings: []
pytestTimeout: 0
responseFormat: flat
sseFlatResponse: false
templateVersion: v2
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.609.0
speakeasyVersion: 1.615.2
sources:
Polar-OAS:
sourceNamespace: polar-oas
sourceRevisionDigest: sha256:10b25f4c69799d98076ce42400b21e7aca688f6a4936f0b0ae3a157f8303e9b5
sourceBlobDigest: sha256:9ddf6e719736b4116c5ce6de12d0b3913dea4124e72d64858ea679159be31b85
sourceRevisionDigest: sha256:0609c2f786cf41c405047e351611a410c5e1993dd3edb8e1c8607a800d9ba45f
sourceBlobDigest: sha256:a63f46911db62fcac2879f63c5173739ee400f0b9439775e24615d8e3b8039d8
tags:
- latest
- speakeasy-sdk-regen-1756167230
- speakeasy-sdk-regen-1757117557
- 0.1.0
targets:
polar:
source: Polar-OAS
sourceNamespace: polar-oas
sourceRevisionDigest: sha256:10b25f4c69799d98076ce42400b21e7aca688f6a4936f0b0ae3a157f8303e9b5
sourceBlobDigest: sha256:9ddf6e719736b4116c5ce6de12d0b3913dea4124e72d64858ea679159be31b85
sourceRevisionDigest: sha256:0609c2f786cf41c405047e351611a410c5e1993dd3edb8e1c8607a800d9ba45f
sourceBlobDigest: sha256:a63f46911db62fcac2879f63c5173739ee400f0b9439775e24615d8e3b8039d8
codeSamplesNamespace: polar-oas-py-code-samples
codeSamplesRevisionDigest: sha256:0b87c3d5ea9fe791d0c2c4b94e007f6b0b840a5ae94b0c228d43d5ae3d35a291
codeSamplesRevisionDigest: sha256:02a649ad7724ad6c84fe2565e5629bccf761c08396baf4c0b9289cc1d9f25148
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 @@ -883,4 +883,14 @@ Based on:
### Generated
- [python v0.23.0] .
### Releases
- [PyPI v0.23.0] https://pypi.org/project/polar-sdk/0.23.0 - .
- [PyPI v0.23.0] https://pypi.org/project/polar-sdk/0.23.0 - .

## 2025-09-16 00:12:52
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.615.2 (2.698.4) https://github.com/speakeasy-api/speakeasy
### Generated
- [python v0.23.1] .
### Releases
- [PyPI v0.23.1] https://pypi.org/project/polar-sdk/0.23.1 - .
54 changes: 27 additions & 27 deletions codeSamples.yaml

Large diffs are not rendered by default.

23 changes: 23 additions & 0 deletions docs/models/benefitgrantcustomwebhook.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# BenefitGrantCustomWebhook


## Fields

| Field | Type | Required | Description |
| ----------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------- |
| `created_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_check_mark: | Creation timestamp of the object. |
| `modified_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_check_mark: | Last modification timestamp of the object. |
| `id` | *str* | :heavy_check_mark: | The ID of the grant. |
| `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. |
| `is_granted` | *bool* | :heavy_check_mark: | Whether the benefit is granted. |
| `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. |
| `is_revoked` | *bool* | :heavy_check_mark: | Whether the benefit is revoked. |
| `subscription_id` | *Nullable[str]* | :heavy_check_mark: | The ID of the subscription that granted this benefit. |
| `order_id` | *Nullable[str]* | :heavy_check_mark: | The ID of the order that granted this benefit. |
| `customer_id` | *str* | :heavy_check_mark: | The ID of the customer concerned by this grant. |
| `benefit_id` | *str* | :heavy_check_mark: | The ID of the benefit concerned by this grant. |
| `error` | [OptionalNullable[models.BenefitGrantError]](../models/benefitgranterror.md) | :heavy_minus_sign: | The error information if the benefit grant failed with an unrecoverable error. |
| `customer` | [models.Customer](../models/customer.md) | :heavy_check_mark: | A customer in an organization. |
| `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. |
| `properties` | [models.BenefitGrantCustomProperties](../models/benefitgrantcustomproperties.md) | :heavy_check_mark: | N/A |
| `previous_properties` | [OptionalNullable[models.BenefitGrantCustomProperties]](../models/benefitgrantcustomproperties.md) | :heavy_minus_sign: | N/A |
23 changes: 23 additions & 0 deletions docs/models/benefitgrantdiscordwebhook.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# BenefitGrantDiscordWebhook


## Fields

| Field | Type | Required | Description |
| ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- |
| `created_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_check_mark: | Creation timestamp of the object. |
| `modified_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_check_mark: | Last modification timestamp of the object. |
| `id` | *str* | :heavy_check_mark: | The ID of the grant. |
| `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. |
| `is_granted` | *bool* | :heavy_check_mark: | Whether the benefit is granted. |
| `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. |
| `is_revoked` | *bool* | :heavy_check_mark: | Whether the benefit is revoked. |
| `subscription_id` | *Nullable[str]* | :heavy_check_mark: | The ID of the subscription that granted this benefit. |
| `order_id` | *Nullable[str]* | :heavy_check_mark: | The ID of the order that granted this benefit. |
| `customer_id` | *str* | :heavy_check_mark: | The ID of the customer concerned by this grant. |
| `benefit_id` | *str* | :heavy_check_mark: | The ID of the benefit concerned by this grant. |
| `error` | [OptionalNullable[models.BenefitGrantError]](../models/benefitgranterror.md) | :heavy_minus_sign: | The error information if the benefit grant failed with an unrecoverable error. |
| `customer` | [models.Customer](../models/customer.md) | :heavy_check_mark: | A customer in an organization. |
| `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. |
| `properties` | [models.BenefitGrantDiscordProperties](../models/benefitgrantdiscordproperties.md) | :heavy_check_mark: | N/A |
| `previous_properties` | [OptionalNullable[models.BenefitGrantDiscordProperties]](../models/benefitgrantdiscordproperties.md) | :heavy_minus_sign: | N/A |
Loading