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
366 changes: 209 additions & 157 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 @@ -31,7 +31,7 @@ generation:
persistentEdits: {}
versioningStrategy: automatic
python:
version: 0.30.1
version: 0.30.2
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:9de956700748d4ba74ceab55071b988d29ff7e364d0b08547c4d2dd9da6a5c59
sourceBlobDigest: sha256:489987e5f6a3eec64ceed3ce48910664ac321fd652ba273a30a585b6cc27eee9
sourceRevisionDigest: sha256:a4451ec458dd8659e13efc7b3c15e9c7b7a47d1721d33a95f2de8316f7095b32
sourceBlobDigest: sha256:14e8c7ea016214aa3fe8e15efa0e8afb4ee218685fe9983f91fbfd40121d86da
tags:
- latest
- speakeasy-sdk-regen-1772756675
- speakeasy-sdk-regen-1773274673
- 0.1.0
targets:
polar:
source: Polar-OAS
sourceNamespace: polar-oas
sourceRevisionDigest: sha256:9de956700748d4ba74ceab55071b988d29ff7e364d0b08547c4d2dd9da6a5c59
sourceBlobDigest: sha256:489987e5f6a3eec64ceed3ce48910664ac321fd652ba273a30a585b6cc27eee9
sourceRevisionDigest: sha256:a4451ec458dd8659e13efc7b3c15e9c7b7a47d1721d33a95f2de8316f7095b32
sourceBlobDigest: sha256:14e8c7ea016214aa3fe8e15efa0e8afb4ee218685fe9983f91fbfd40121d86da
codeSamplesNamespace: polar-oas-py-code-samples
codeSamplesRevisionDigest: sha256:095bb2040067efcbeb7e8a31d6492c882ef0f308671348f4c0d76e108ecdaded
codeSamplesRevisionDigest: sha256:5d5d276bdd724ee39bd517b9faddbb176c736ffd6dfff7ddda67d74f1de283ef
workflow:
workflowVersion: 1.0.0
speakeasyVersion: latest
Expand Down
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -576,7 +576,7 @@ with Polar(
* [`PolarError`](./src/polar_sdk/models/polarerror.py): The base class for HTTP error responses.
* [`HTTPValidationError`](./src/polar_sdk/models/httpvalidationerror.py): Validation Error. Status code `422`. *

<details><summary>Less common errors (23)</summary>
<details><summary>Less common errors (24)</summary>

<br />

Expand All @@ -596,6 +596,7 @@ with Polar(
* [`PaymentNotReady`](./src/polar_sdk/models/paymentnotready.py): The checkout is expired, the customer already has an active subscription, or the organization is not ready to accept payments. Status code `403`. Applicable to 3 of 169 methods.*
* [`TrialAlreadyRedeemed`](./src/polar_sdk/models/trialalreadyredeemed.py): The checkout is expired, the customer already has an active subscription, or the organization is not ready to accept payments. Status code `403`. Applicable to 3 of 169 methods.*
* [`ExpiredCheckoutError`](./src/polar_sdk/models/expiredcheckouterror.py): The checkout session is expired. Status code `410`. Applicable to 3 of 169 methods.*
* [`PaymentFailed`](./src/polar_sdk/models/paymentfailed.py): Payment required to apply the subscription update. Status code `402`. Applicable to 2 of 169 methods.*
* [`SubscriptionLocked`](./src/polar_sdk/models/subscriptionlocked.py): Subscription is pending an update. Status code `409`. Applicable to 2 of 169 methods.*
* [`MissingInvoiceBillingDetails`](./src/polar_sdk/models/missinginvoicebillingdetails.py): Order is not paid or is missing billing name or address. Status code `422`. Applicable to 2 of 169 methods.*
* [`NotPaidOrder`](./src/polar_sdk/models/notpaidorder.py): Order is not paid or is missing billing name or address. Status code `422`. Applicable to 2 of 169 methods.*
Expand Down
12 changes: 11 additions & 1 deletion RELEASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -1053,4 +1053,14 @@ Based on:
### Generated
- [python v0.30.1] .
### Releases
- [PyPI v0.30.1] https://pypi.org/project/polar-sdk/0.30.1 - .
- [PyPI v0.30.1] https://pypi.org/project/polar-sdk/0.30.1 - .

## 2026-03-26 00:22:58
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.648.0 (2.737.0) https://github.com/speakeasy-api/speakeasy
### Generated
- [python v0.30.2] .
### Releases
- [PyPI v0.30.2] https://pypi.org/project/polar-sdk/0.30.2 - .
64 changes: 32 additions & 32 deletions codeSamples.yaml

Large diffs are not rendered by default.

16 changes: 8 additions & 8 deletions docs/models/address.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@

## Fields

| Field | Type | Required | Description | Example |
| -------------------------------------------------- | -------------------------------------------------- | -------------------------------------------------- | -------------------------------------------------- | -------------------------------------------------- |
| `line1` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | |
| `line2` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | |
| `postal_code` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | |
| `city` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | |
| `state` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | |
| `country` | [models.CountryAlpha2](../models/countryalpha2.md) | :heavy_check_mark: | N/A | US |
| Field | Type | Required | Description | Example |
| ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- |
| `line1` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | |
| `line2` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | |
| `postal_code` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | |
| `city` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | |
| `state` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | |
| `country` | [models.AddressCountryAlpha2](../models/addresscountryalpha2.md) | :heavy_check_mark: | N/A | US |
256 changes: 256 additions & 0 deletions docs/models/addresscountryalpha2.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,256 @@
# AddressCountryAlpha2


## Values

| Name | Value |
| ----- | ----- |
| `AD` | AD |
| `AE` | AE |
| `AF` | AF |
| `AG` | AG |
| `AI` | AI |
| `AL` | AL |
| `AM` | AM |
| `AO` | AO |
| `AQ` | AQ |
| `AR` | AR |
| `AS` | AS |
| `AT` | AT |
| `AU` | AU |
| `AW` | AW |
| `AX` | AX |
| `AZ` | AZ |
| `BA` | BA |
| `BB` | BB |
| `BD` | BD |
| `BE` | BE |
| `BF` | BF |
| `BG` | BG |
| `BH` | BH |
| `BI` | BI |
| `BJ` | BJ |
| `BL` | BL |
| `BM` | BM |
| `BN` | BN |
| `BO` | BO |
| `BQ` | BQ |
| `BR` | BR |
| `BS` | BS |
| `BT` | BT |
| `BV` | BV |
| `BW` | BW |
| `BY` | BY |
| `BZ` | BZ |
| `CA` | CA |
| `CC` | CC |
| `CD` | CD |
| `CF` | CF |
| `CG` | CG |
| `CH` | CH |
| `CI` | CI |
| `CK` | CK |
| `CL` | CL |
| `CM` | CM |
| `CN` | CN |
| `CO` | CO |
| `CR` | CR |
| `CU` | CU |
| `CV` | CV |
| `CW` | CW |
| `CX` | CX |
| `CY` | CY |
| `CZ` | CZ |
| `DE` | DE |
| `DJ` | DJ |
| `DK` | DK |
| `DM` | DM |
| `DO` | DO |
| `DZ` | DZ |
| `EC` | EC |
| `EE` | EE |
| `EG` | EG |
| `EH` | EH |
| `ER` | ER |
| `ES` | ES |
| `ET` | ET |
| `FI` | FI |
| `FJ` | FJ |
| `FK` | FK |
| `FM` | FM |
| `FO` | FO |
| `FR` | FR |
| `GA` | GA |
| `GB` | GB |
| `GD` | GD |
| `GE` | GE |
| `GF` | GF |
| `GG` | GG |
| `GH` | GH |
| `GI` | GI |
| `GL` | GL |
| `GM` | GM |
| `GN` | GN |
| `GP` | GP |
| `GQ` | GQ |
| `GR` | GR |
| `GS` | GS |
| `GT` | GT |
| `GU` | GU |
| `GW` | GW |
| `GY` | GY |
| `HK` | HK |
| `HM` | HM |
| `HN` | HN |
| `HR` | HR |
| `HT` | HT |
| `HU` | HU |
| `ID` | ID |
| `IE` | IE |
| `IL` | IL |
| `IM` | IM |
| `IN` | IN |
| `IO` | IO |
| `IQ` | IQ |
| `IR` | IR |
| `IS` | IS |
| `IT` | IT |
| `JE` | JE |
| `JM` | JM |
| `JO` | JO |
| `JP` | JP |
| `KE` | KE |
| `KG` | KG |
| `KH` | KH |
| `KI` | KI |
| `KM` | KM |
| `KN` | KN |
| `KP` | KP |
| `KR` | KR |
| `KW` | KW |
| `KY` | KY |
| `KZ` | KZ |
| `LA` | LA |
| `LB` | LB |
| `LC` | LC |
| `LI` | LI |
| `LK` | LK |
| `LR` | LR |
| `LS` | LS |
| `LT` | LT |
| `LU` | LU |
| `LV` | LV |
| `LY` | LY |
| `MA` | MA |
| `MC` | MC |
| `MD` | MD |
| `ME` | ME |
| `MF` | MF |
| `MG` | MG |
| `MH` | MH |
| `MK` | MK |
| `ML` | ML |
| `MM` | MM |
| `MN` | MN |
| `MO` | MO |
| `MP` | MP |
| `MQ` | MQ |
| `MR` | MR |
| `MS` | MS |
| `MT` | MT |
| `MU` | MU |
| `MV` | MV |
| `MW` | MW |
| `MX` | MX |
| `MY` | MY |
| `MZ` | MZ |
| `NA` | NA |
| `NC` | NC |
| `NE` | NE |
| `NF` | NF |
| `NG` | NG |
| `NI` | NI |
| `NL` | NL |
| `NO` | NO |
| `NP` | NP |
| `NR` | NR |
| `NU` | NU |
| `NZ` | NZ |
| `OM` | OM |
| `PA` | PA |
| `PE` | PE |
| `PF` | PF |
| `PG` | PG |
| `PH` | PH |
| `PK` | PK |
| `PL` | PL |
| `PM` | PM |
| `PN` | PN |
| `PR` | PR |
| `PS` | PS |
| `PT` | PT |
| `PW` | PW |
| `PY` | PY |
| `QA` | QA |
| `RE` | RE |
| `RO` | RO |
| `RS` | RS |
| `RU` | RU |
| `RW` | RW |
| `SA` | SA |
| `SB` | SB |
| `SC` | SC |
| `SD` | SD |
| `SE` | SE |
| `SG` | SG |
| `SH` | SH |
| `SI` | SI |
| `SJ` | SJ |
| `SK` | SK |
| `SL` | SL |
| `SM` | SM |
| `SN` | SN |
| `SO` | SO |
| `SR` | SR |
| `SS` | SS |
| `ST` | ST |
| `SV` | SV |
| `SX` | SX |
| `SY` | SY |
| `SZ` | SZ |
| `TC` | TC |
| `TD` | TD |
| `TF` | TF |
| `TG` | TG |
| `TH` | TH |
| `TJ` | TJ |
| `TK` | TK |
| `TL` | TL |
| `TM` | TM |
| `TN` | TN |
| `TO` | TO |
| `TR` | TR |
| `TT` | TT |
| `TV` | TV |
| `TW` | TW |
| `TZ` | TZ |
| `UA` | UA |
| `UG` | UG |
| `UM` | UM |
| `US` | US |
| `UY` | UY |
| `UZ` | UZ |
| `VA` | VA |
| `VC` | VC |
| `VE` | VE |
| `VG` | VG |
| `VI` | VI |
| `VN` | VN |
| `VU` | VU |
| `WF` | WF |
| `WS` | WS |
| `YE` | YE |
| `YT` | YT |
| `ZA` | ZA |
| `ZM` | ZM |
| `ZW` | ZW |
16 changes: 8 additions & 8 deletions docs/models/addressinput.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@

## Fields

| Field | Type | Required | Description | Example |
| ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ |
| `line1` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | |
| `line2` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | |
| `postal_code` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | |
| `city` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | |
| `state` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | |
| `country` | [models.CountryAlpha2Input](../models/countryalpha2input.md) | :heavy_check_mark: | N/A | US |
| Field | Type | Required | Description | Example |
| ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ |
| `line1` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | |
| `line2` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | |
| `postal_code` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | |
| `city` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | |
| `state` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | |
| `country` | [models.AddressInputCountryAlpha2Input](../models/addressinputcountryalpha2input.md) | :heavy_check_mark: | N/A | US |
Loading