Skip to content

chore: 🐝 Update SDK - Generate 0.22.7 #106

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
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
34 changes: 16 additions & 18 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 @@ -24,7 +24,7 @@ generation:
generateNewTests: false
skipResponseBodyAssertions: false
python:
version: 0.22.6
version: 0.22.7
additionalDependencies:
dev:
pydantic-ai-slim: ^0.1.0
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.601.3
speakeasyVersion: 1.604.1
sources:
Polar-OAS:
sourceNamespace: polar-oas
sourceRevisionDigest: sha256:2da912a77c24fdb0b275df1e53dfe92334351a9fb2567cc179b05a5860322c0d
sourceBlobDigest: sha256:05e8fa91b9e2cb35335966fe7ad176bc7033fcfcd77b64d5aa3f1531217d45d4
sourceRevisionDigest: sha256:0b9a0b07a94726f077aa170cf0607ba782b5a8eeb9686a18a789679189492429
sourceBlobDigest: sha256:77189f91df3ea1e08ae97fcf8c23915f3c5b8af7a8fa1e54456b918b71d76b87
tags:
- latest
- speakeasy-sdk-regen-1754957660
- speakeasy-sdk-regen-1755044075
- 0.1.0
targets:
polar:
source: Polar-OAS
sourceNamespace: polar-oas
sourceRevisionDigest: sha256:2da912a77c24fdb0b275df1e53dfe92334351a9fb2567cc179b05a5860322c0d
sourceBlobDigest: sha256:05e8fa91b9e2cb35335966fe7ad176bc7033fcfcd77b64d5aa3f1531217d45d4
sourceRevisionDigest: sha256:0b9a0b07a94726f077aa170cf0607ba782b5a8eeb9686a18a789679189492429
sourceBlobDigest: sha256:77189f91df3ea1e08ae97fcf8c23915f3c5b8af7a8fa1e54456b918b71d76b87
codeSamplesNamespace: polar-oas-py-code-samples
codeSamplesRevisionDigest: sha256:58f27615585630c8ff1666c525a81612bbd0d2d42898d058322c5d54fa0cc2a9
codeSamplesRevisionDigest: sha256:5cb2b0a7812ae17e95005ef17ab15126fd90543b1a45b595096a719b16bb4201
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 @@ -853,4 +853,14 @@ Based on:
### Generated
- [python v0.22.6] .
### Releases
- [PyPI v0.22.6] https://pypi.org/project/polar-sdk/0.22.6 - .
- [PyPI v0.22.6] https://pypi.org/project/polar-sdk/0.22.6 - .

## 2025-08-15 00:14:49
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.604.1 (2.683.1) https://github.com/speakeasy-api/speakeasy
### Generated
- [python v0.22.7] .
### Releases
- [PyPI v0.22.7] https://pypi.org/project/polar-sdk/0.22.7 - .
8 changes: 4 additions & 4 deletions codeSamples.yaml

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/models/cardpayment.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,5 @@ Schema of a payment with a card payment method.
| `organization_id` | *str* | :heavy_check_mark: | The ID of the organization that owns the payment. | 1dbfc517-0bbf-4301-9ba8-555ca42b9737 |
| `checkout_id` | *Nullable[str]* | :heavy_check_mark: | The ID of the checkout session associated with this payment. | e4b478fa-cd25-4253-9f1f-8a41e6370ede |
| `order_id` | *Nullable[str]* | :heavy_check_mark: | The ID of the order associated with this payment. | e4b478fa-cd25-4253-9f1f-8a41e6370ede |
| `processor_metadata` | [Optional[models.ProcessorMetadata]](../models/processormetadata.md) | :heavy_minus_sign: | Additional metadata from the payment processor for internal use. | |
| `processor_metadata` | Dict[str, *Any*] | :heavy_minus_sign: | Additional metadata from the payment processor for internal use. | |
| `method_metadata` | [models.CardPaymentMetadata](../models/cardpaymentmetadata.md) | :heavy_check_mark: | Additional metadata for a card payment method. | |
59 changes: 29 additions & 30 deletions docs/models/customerorder.md

Large diffs are not rendered by default.

32 changes: 16 additions & 16 deletions docs/models/genericpayment.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,19 +5,19 @@ Schema of a payment with a generic payment method.

## Fields

| Field | Type | Required | Description | Example |
| ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ |
| `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 object. | |
| `processor` | [models.PaymentProcessor](../models/paymentprocessor.md) | :heavy_check_mark: | N/A | |
| `status` | [models.PaymentStatus](../models/paymentstatus.md) | :heavy_check_mark: | N/A | |
| `amount` | *int* | :heavy_check_mark: | The payment amount in cents. | 1000 |
| `currency` | *str* | :heavy_check_mark: | The payment currency. Currently, only `usd` is supported. | usd |
| `method` | *str* | :heavy_check_mark: | The payment method used. | card |
| `decline_reason` | *Nullable[str]* | :heavy_check_mark: | Error code, if the payment was declined. | insufficient_funds |
| `decline_message` | *Nullable[str]* | :heavy_check_mark: | Human-reasable error message, if the payment was declined. | Your card has insufficient funds. |
| `organization_id` | *str* | :heavy_check_mark: | The ID of the organization that owns the payment. | 1dbfc517-0bbf-4301-9ba8-555ca42b9737 |
| `checkout_id` | *Nullable[str]* | :heavy_check_mark: | The ID of the checkout session associated with this payment. | e4b478fa-cd25-4253-9f1f-8a41e6370ede |
| `order_id` | *Nullable[str]* | :heavy_check_mark: | The ID of the order associated with this payment. | e4b478fa-cd25-4253-9f1f-8a41e6370ede |
| `processor_metadata` | [Optional[models.GenericPaymentProcessorMetadata]](../models/genericpaymentprocessormetadata.md) | :heavy_minus_sign: | Additional metadata from the payment processor for internal use. | |
| Field | Type | Required | Description | Example |
| -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- |
| `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 object. | |
| `processor` | [models.PaymentProcessor](../models/paymentprocessor.md) | :heavy_check_mark: | N/A | |
| `status` | [models.PaymentStatus](../models/paymentstatus.md) | :heavy_check_mark: | N/A | |
| `amount` | *int* | :heavy_check_mark: | The payment amount in cents. | 1000 |
| `currency` | *str* | :heavy_check_mark: | The payment currency. Currently, only `usd` is supported. | usd |
| `method` | *str* | :heavy_check_mark: | The payment method used. | card |
| `decline_reason` | *Nullable[str]* | :heavy_check_mark: | Error code, if the payment was declined. | insufficient_funds |
| `decline_message` | *Nullable[str]* | :heavy_check_mark: | Human-reasable error message, if the payment was declined. | Your card has insufficient funds. |
| `organization_id` | *str* | :heavy_check_mark: | The ID of the organization that owns the payment. | 1dbfc517-0bbf-4301-9ba8-555ca42b9737 |
| `checkout_id` | *Nullable[str]* | :heavy_check_mark: | The ID of the checkout session associated with this payment. | e4b478fa-cd25-4253-9f1f-8a41e6370ede |
| `order_id` | *Nullable[str]* | :heavy_check_mark: | The ID of the order associated with this payment. | e4b478fa-cd25-4253-9f1f-8a41e6370ede |
| `processor_metadata` | Dict[str, *Any*] | :heavy_minus_sign: | Additional metadata from the payment processor for internal use. | |
9 changes: 0 additions & 9 deletions docs/models/genericpaymentprocessormetadata.md

This file was deleted.

Loading