Skip to content

Commit

Permalink
ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.421.1
Browse files Browse the repository at this point in the history
  • Loading branch information
speakeasybot authored and frankie567 committed Oct 24, 2024
1 parent 3eb481b commit 859d8ac
Show file tree
Hide file tree
Showing 11 changed files with 99 additions and 75 deletions.
22 changes: 11 additions & 11 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 @@ -15,7 +15,7 @@ generation:
auth:
oAuth2ClientCredentialsEnabled: true
python:
version: 0.6.3
version: 0.6.4
additionalDependencies:
dev: {}
main: {}
Expand Down
10 changes: 5 additions & 5 deletions .speakeasy/workflow.lock
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
speakeasyVersion: 1.420.0
speakeasyVersion: 1.421.1
sources:
Polar-OAS:
sourceNamespace: polar-oas
sourceRevisionDigest: sha256:a92ab8839c9c369dda2d0f9006d647d4a961209d0cdcb01484c4ffd8148ca8b5
sourceBlobDigest: sha256:7d0dddbc1b652f122a0fdfe0e312a72cade0d322590a5bb99e6dda789c61c5eb
sourceRevisionDigest: sha256:2a3a14ab4e801f7b54bc992fecf3a1ce32c928aab2a7ae0606f3307943b88ea7
sourceBlobDigest: sha256:e4d5bea4ffc74b41e58b9fdd6396d43c95b3b069a564ed3e421efdf13716091a
tags:
- latest
- main
targets:
polar:
source: Polar-OAS
sourceNamespace: polar-oas
sourceRevisionDigest: sha256:a92ab8839c9c369dda2d0f9006d647d4a961209d0cdcb01484c4ffd8148ca8b5
sourceBlobDigest: sha256:7d0dddbc1b652f122a0fdfe0e312a72cade0d322590a5bb99e6dda789c61c5eb
sourceRevisionDigest: sha256:2a3a14ab4e801f7b54bc992fecf3a1ce32c928aab2a7ae0606f3307943b88ea7
sourceBlobDigest: sha256:e4d5bea4ffc74b41e58b9fdd6396d43c95b3b069a564ed3e421efdf13716091a
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 @@ -243,4 +243,14 @@ Based on:
### Generated
- [python v0.6.3] .
### Releases
- [PyPI v0.6.3] https://pypi.org/project/polar-sdk/0.6.3 - .
- [PyPI v0.6.3] https://pypi.org/project/polar-sdk/0.6.3 - .

## 2024-10-24 00:12:08
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.421.1 (2.438.15) https://github.com/speakeasy-api/speakeasy
### Generated
- [python v0.6.4] .
### Releases
- [PyPI v0.6.4] https://pypi.org/project/polar-sdk/0.6.4 - .
55 changes: 28 additions & 27 deletions docs/models/checkoutpublic.md

Large diffs are not rendered by default.

53 changes: 27 additions & 26 deletions docs/models/polarcheckoutschemascheckout.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "polar-sdk"
version = "0.6.3"
version = "0.6.4"
description = "Polar SDK for Python"
authors = ["Polar",]
readme = "README-PYPI.md"
Expand Down
2 changes: 1 addition & 1 deletion src/polar_sdk/_version.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import importlib.metadata

__title__: str = "polar-sdk"
__version__: str = "0.6.3"
__version__: str = "0.6.4"

try:
if __package__ is not None:
Expand Down
6 changes: 6 additions & 0 deletions src/polar_sdk/models/checkoutpublic.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,8 @@ class CheckoutPublicTypedDict(TypedDict):
r"""Expiration date and time of the checkout session."""
success_url: str
r"""URL where the customer will be redirected after a successful payment."""
embed_origin: Nullable[str]
r"""When checkout is embedded, represents the Origin of the page embedding the checkout. Used as a security measure to send messages only to the embedding page."""
amount: Nullable[int]
tax_amount: Nullable[int]
r"""Computed tax amount to pay in cents."""
Expand Down Expand Up @@ -93,6 +95,9 @@ class CheckoutPublic(BaseModel):
success_url: str
r"""URL where the customer will be redirected after a successful payment."""

embed_origin: Nullable[str]
r"""When checkout is embedded, represents the Origin of the page embedding the checkout. Used as a security measure to send messages only to the embedding page."""

amount: Nullable[int]

tax_amount: Nullable[int]
Expand Down Expand Up @@ -145,6 +150,7 @@ def serialize_model(self, handler):
optional_fields = []
nullable_fields = [
"modified_at",
"embed_origin",
"amount",
"tax_amount",
"currency",
Expand Down
6 changes: 6 additions & 0 deletions src/polar_sdk/models/polar_checkout_schemas_checkout.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@ class PolarCheckoutSchemasCheckoutTypedDict(TypedDict):
r"""Expiration date and time of the checkout session."""
success_url: str
r"""URL where the customer will be redirected after a successful payment."""
embed_origin: Nullable[str]
r"""When checkout is embedded, represents the Origin of the page embedding the checkout. Used as a security measure to send messages only to the embedding page."""
amount: Nullable[int]
tax_amount: Nullable[int]
r"""Computed tax amount to pay in cents."""
Expand Down Expand Up @@ -90,6 +92,9 @@ class PolarCheckoutSchemasCheckout(BaseModel):
success_url: str
r"""URL where the customer will be redirected after a successful payment."""

embed_origin: Nullable[str]
r"""When checkout is embedded, represents the Origin of the page embedding the checkout. Used as a security measure to send messages only to the embedding page."""

amount: Nullable[int]

tax_amount: Nullable[int]
Expand Down Expand Up @@ -139,6 +144,7 @@ def serialize_model(self, handler):
optional_fields = []
nullable_fields = [
"modified_at",
"embed_origin",
"amount",
"tax_amount",
"currency",
Expand Down
4 changes: 2 additions & 2 deletions src/polar_sdk/sdkconfiguration.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,9 @@ class SDKConfiguration:
server: Optional[str] = ""
language: str = "python"
openapi_doc_version: str = "0.1.0"
sdk_version: str = "0.6.3"
sdk_version: str = "0.6.4"
gen_version: str = "2.438.15"
user_agent: str = "speakeasy-sdk/python 0.6.3 2.438.15 0.1.0 polar-sdk"
user_agent: str = "speakeasy-sdk/python 0.6.4 2.438.15 0.1.0 polar-sdk"
retry_config: OptionalNullable[RetryConfig] = Field(default_factory=lambda: UNSET)
timeout_ms: Optional[int] = None

Expand Down

0 comments on commit 859d8ac

Please sign in to comment.