Skip to content
Open
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
70 changes: 41 additions & 29 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 @@ -32,7 +32,7 @@ generation:
persistentEdits: {}
versioningStrategy: automatic
python:
version: 0.31.7
version: 0.31.8
additionalDependencies:
dev:
pydantic-ai-slim: ^0.1.0
Expand Down
12 changes: 6 additions & 6 deletions .speakeasy/workflow.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,20 @@ speakeasyVersion: 1.648.0
sources:
Polar-OAS:
sourceNamespace: polar-oas
sourceRevisionDigest: sha256:2e876fec381971a288210e5d8709f9f5d1ce5fdceb4ab9f9081a12d2706b66a3
sourceBlobDigest: sha256:121b4b199951de0444a9d01f4b9ae901c6f73bedd842db8c73380dfdbd1b7108
sourceRevisionDigest: sha256:81f653d16a431136a39c47dd4d5ee59527786f751ed2a59e986de8807844fd25
sourceBlobDigest: sha256:7aada5c42ff33479992d4b57ab7ff0729c7f973697ae89f71323f4f337be5b9f
tags:
- latest
- speakeasy-sdk-regen-1780965532
- speakeasy-sdk-regen-1781311562
- 0.1.0
targets:
polar:
source: Polar-OAS
sourceNamespace: polar-oas
sourceRevisionDigest: sha256:2e876fec381971a288210e5d8709f9f5d1ce5fdceb4ab9f9081a12d2706b66a3
sourceBlobDigest: sha256:121b4b199951de0444a9d01f4b9ae901c6f73bedd842db8c73380dfdbd1b7108
sourceRevisionDigest: sha256:81f653d16a431136a39c47dd4d5ee59527786f751ed2a59e986de8807844fd25
sourceBlobDigest: sha256:7aada5c42ff33479992d4b57ab7ff0729c7f973697ae89f71323f4f337be5b9f
codeSamplesNamespace: polar-oas-py-code-samples
codeSamplesRevisionDigest: sha256:17f9306179ab5bf2b495f6c13089ff02e295fbb688aac7bbbbd89f340615971d
codeSamplesRevisionDigest: sha256:37fb4fea578e10a92de623990d02fa4786212c6f51b5db355a60ed60180c1e4f
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 @@ -1143,4 +1143,14 @@ Based on:
### Generated
- [python v0.31.7] .
### Releases
- [PyPI v0.31.7] https://pypi.org/project/polar-sdk/0.31.7 - .
- [PyPI v0.31.7] https://pypi.org/project/polar-sdk/0.31.7 - .

## 2026-06-14 00:44:37
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.648.0 (2.737.0) https://github.com/speakeasy-api/speakeasy
### Generated
- [python v0.31.8] .
### Releases
- [PyPI v0.31.8] https://pypi.org/project/polar-sdk/0.31.8 - .
2 changes: 1 addition & 1 deletion codeSamples.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -644,7 +644,7 @@ actions:
"x-codeSamples":
- "lang": "python"
"label": "Python (SDK)"
"source": "from polar_sdk import Polar\n\n\nwith Polar(\n access_token=\"<YOUR_BEARER_TOKEN_HERE>\",\n) as polar:\n\n res = polar.files.create(request={\n \"name\": \"<value>\",\n \"mime_type\": \"<value>\",\n \"size\": 612128,\n \"upload\": {\n \"parts\": [],\n },\n \"service\": \"downloadable\",\n })\n\n # Handle response\n print(res)"
"source": "from polar_sdk import Polar\n\n\nwith Polar(\n access_token=\"<YOUR_BEARER_TOKEN_HERE>\",\n) as polar:\n\n res = polar.files.create(request={\n \"name\": \"<value>\",\n \"mime_type\": \"<value>\",\n \"size\": 612128,\n \"upload\": {\n \"parts\": [],\n },\n \"service\": \"organization_avatar\",\n })\n\n # Handle response\n print(res)"
- target: $["paths"]["/v1/files/{id}"]["delete"]
update:
"x-codeSamples":
Expand Down
1 change: 0 additions & 1 deletion docs/models/benefitdiscordupdate.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,5 @@
| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `metadata` | Dict[str, [models.BenefitDiscordUpdateMetadata](../models/benefitdiscordupdatemetadata.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 floating-point number<br/>* A boolean<br/><br/>You can store up to **50 key-value pairs**. |
| `description` | *OptionalNullable[str]* | :heavy_minus_sign: | The description of the benefit. Will be displayed on products having this benefit. |
| `visibility` | [OptionalNullable[models.BenefitVisibility]](../models/benefitvisibility.md) | :heavy_minus_sign: | The visibility of the benefit in the customer portal. |
| `type` | *Literal["discord"]* | :heavy_check_mark: | N/A |
| `properties` | [OptionalNullable[models.BenefitDiscordCreateProperties]](../models/benefitdiscordcreateproperties.md) | :heavy_minus_sign: | N/A |
1 change: 0 additions & 1 deletion docs/models/benefitdownloadablesupdate.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,5 @@
| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `metadata` | Dict[str, [models.BenefitDownloadablesUpdateMetadata](../models/benefitdownloadablesupdatemetadata.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 floating-point number<br/>* A boolean<br/><br/>You can store up to **50 key-value pairs**. |
| `description` | *OptionalNullable[str]* | :heavy_minus_sign: | The description of the benefit. Will be displayed on products having this benefit. |
| `visibility` | [OptionalNullable[models.BenefitVisibility]](../models/benefitvisibility.md) | :heavy_minus_sign: | The visibility of the benefit in the customer portal. |
| `type` | *Literal["downloadables"]* | :heavy_check_mark: | N/A |
| `properties` | [OptionalNullable[models.BenefitDownloadablesCreateProperties]](../models/benefitdownloadablescreateproperties.md) | :heavy_minus_sign: | N/A |
Loading