Skip to content

Commit 8e33505

Browse files
authored
Merge pull request #122 from polarsource/speakeasy-sdk-regen-1768349821
chore: 🐝 Update SDK - Generate 0.28.3
2 parents 600237b + e1eaed4 commit 8e33505

135 files changed

Lines changed: 2786 additions & 775 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.speakeasy/gen.lock

Lines changed: 515 additions & 427 deletions
Large diffs are not rendered by default.

.speakeasy/gen.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ generation:
1616
requestResponseComponentNamesFeb2024: true
1717
securityFeb2025: false
1818
sharedErrorComponentsApr2025: false
19+
sharedNestedComponentsJan2026: false
1920
auth:
2021
oAuth2ClientCredentialsEnabled: true
2122
oAuth2PasswordEnabled: false
@@ -28,7 +29,7 @@ generation:
2829
skipResponseBodyAssertions: false
2930
persistentEdits: {}
3031
python:
31-
version: 0.28.2
32+
version: 0.28.3
3233
additionalDependencies:
3334
dev:
3435
pydantic-ai-slim: ^0.1.0
@@ -79,3 +80,4 @@ python:
7980
responseFormat: flat
8081
sseFlatResponse: false
8182
templateVersion: v2
83+
useAsyncHooks: false

.speakeasy/workflow.lock

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,20 +2,20 @@ speakeasyVersion: 1.648.0
22
sources:
33
Polar-OAS:
44
sourceNamespace: polar-oas
5-
sourceRevisionDigest: sha256:4e15c43b0a16c8b392fe56db70c1107ff8a5ecc89d70aae1bd14c613e2590b0c
6-
sourceBlobDigest: sha256:6bc8ba317ea34e04d455235054959809e62f20d72ba9461c7ad9a7db9c431ec0
5+
sourceRevisionDigest: sha256:f8a25e173ac2e4a97ce01b384cc1c068daf1f0ffd68fc6fdb6b240ad1e77b4e8
6+
sourceBlobDigest: sha256:a3b19b5d104c68d1dd346cbe329580531f8156a379f6906daa8f489234d3edc4
77
tags:
88
- latest
9-
- speakeasy-sdk-regen-1766276214
9+
- speakeasy-sdk-regen-1768349821
1010
- 0.1.0
1111
targets:
1212
polar:
1313
source: Polar-OAS
1414
sourceNamespace: polar-oas
15-
sourceRevisionDigest: sha256:4e15c43b0a16c8b392fe56db70c1107ff8a5ecc89d70aae1bd14c613e2590b0c
16-
sourceBlobDigest: sha256:6bc8ba317ea34e04d455235054959809e62f20d72ba9461c7ad9a7db9c431ec0
15+
sourceRevisionDigest: sha256:f8a25e173ac2e4a97ce01b384cc1c068daf1f0ffd68fc6fdb6b240ad1e77b4e8
16+
sourceBlobDigest: sha256:a3b19b5d104c68d1dd346cbe329580531f8156a379f6906daa8f489234d3edc4
1717
codeSamplesNamespace: polar-oas-py-code-samples
18-
codeSamplesRevisionDigest: sha256:6d00db5e4cb3968618fa3b7abbc21369242acd60dc8f80c91d519df55d943a1e
18+
codeSamplesRevisionDigest: sha256:25dcc53116af6ca77318765d1c285402a5a6cda82f76c0a4ec5faed197cc511c
1919
workflow:
2020
workflowVersion: 1.0.0
2121
speakeasyVersion: latest

README.md

Lines changed: 26 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -244,6 +244,7 @@ def webhook():
244244
#### [customer_portal.customer_session](docs/sdks/customersessionsdk/README.md)
245245

246246
* [introspect](docs/sdks/customersessionsdk/README.md#introspect) - Introspect Customer Session
247+
* [get_authenticated_user](docs/sdks/customersessionsdk/README.md#get_authenticated_user) - Get Authenticated Portal User
247248

248249
#### [customer_portal.customers](docs/sdks/polarcustomers/README.md)
249250

@@ -370,10 +371,16 @@ def webhook():
370371
* [activate](docs/sdks/licensekeys/README.md#activate) - Activate License Key
371372
* [deactivate](docs/sdks/licensekeys/README.md#deactivate) - Deactivate License Key
372373

374+
### [member_sessions](docs/sdks/membersessions/README.md)
375+
376+
* [create](docs/sdks/membersessions/README.md#create) - Create Member Session
377+
373378
### [members](docs/sdks/members/README.md)
374379

375380
* [list_members](docs/sdks/members/README.md#list_members) - List Members
376381
* [create_member](docs/sdks/members/README.md#create_member) - Create Member
382+
* [get_member](docs/sdks/members/README.md#get_member) - Get Member
383+
* [update_member](docs/sdks/members/README.md#update_member) - Update Member
377384
* [delete_member](docs/sdks/members/README.md#delete_member) - Delete Member
378385

379386
### [meters](docs/sdks/meters/README.md)
@@ -570,24 +577,24 @@ with Polar(
570577

571578

572579
**Inherit from [`PolarError`](./src/polar_sdk/models/polarerror.py)**:
573-
* [`ResourceNotFound`](./src/polar_sdk/models/resourcenotfound.py): Status code `404`. Applicable to 80 of 158 methods.*
574-
* [`NotPermitted`](./src/polar_sdk/models/notpermitted.py): Status code `403`. Applicable to 10 of 158 methods.*
575-
* [`Unauthorized`](./src/polar_sdk/models/unauthorized.py): Not authorized to manage license key. Status code `401`. Applicable to 5 of 158 methods.*
576-
* [`AlreadyCanceledSubscription`](./src/polar_sdk/models/alreadycanceledsubscription.py): Status code `403`. Applicable to 4 of 158 methods.*
577-
* [`AlreadyActiveSubscriptionError`](./src/polar_sdk/models/alreadyactivesubscriptionerror.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 158 methods.*
578-
* [`NotOpenCheckout`](./src/polar_sdk/models/notopencheckout.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 158 methods.*
579-
* [`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 158 methods.*
580-
* [`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 158 methods.*
581-
* [`ExpiredCheckoutError`](./src/polar_sdk/models/expiredcheckouterror.py): The checkout session is expired. Status code `410`. Applicable to 3 of 158 methods.*
582-
* [`SubscriptionLocked`](./src/polar_sdk/models/subscriptionlocked.py): Subscription is pending an update. Status code `409`. Applicable to 2 of 158 methods.*
583-
* [`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 158 methods.*
584-
* [`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 158 methods.*
585-
* [`PaymentError`](./src/polar_sdk/models/paymenterror.py): The payment failed. Status code `400`. Applicable to 1 of 158 methods.*
586-
* [`CustomerNotReady`](./src/polar_sdk/models/customernotready.py): Customer is not ready to confirm a payment method. Status code `400`. Applicable to 1 of 158 methods.*
587-
* [`PaymentMethodInUseByActiveSubscription`](./src/polar_sdk/models/paymentmethodinusebyactivesubscription.py): Payment method is used by active subscription(s). Status code `400`. Applicable to 1 of 158 methods.*
588-
* [`RefundedAlready`](./src/polar_sdk/models/refundedalready.py): Order is already fully refunded. Status code `403`. Applicable to 1 of 158 methods.*
589-
* [`PaymentAlreadyInProgress`](./src/polar_sdk/models/paymentalreadyinprogress.py): Payment already in progress. Status code `409`. Applicable to 1 of 158 methods.*
590-
* [`OrderNotEligibleForRetry`](./src/polar_sdk/models/ordernoteligibleforretry.py): Order not eligible for retry or payment confirmation failed. Status code `422`. Applicable to 1 of 158 methods.*
580+
* [`ResourceNotFound`](./src/polar_sdk/models/resourcenotfound.py): Status code `404`. Applicable to 82 of 162 methods.*
581+
* [`NotPermitted`](./src/polar_sdk/models/notpermitted.py): Status code `403`. Applicable to 10 of 162 methods.*
582+
* [`Unauthorized`](./src/polar_sdk/models/unauthorized.py): Not authorized to manage license key. Status code `401`. Applicable to 5 of 162 methods.*
583+
* [`AlreadyCanceledSubscription`](./src/polar_sdk/models/alreadycanceledsubscription.py): Status code `403`. Applicable to 4 of 162 methods.*
584+
* [`AlreadyActiveSubscriptionError`](./src/polar_sdk/models/alreadyactivesubscriptionerror.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 162 methods.*
585+
* [`NotOpenCheckout`](./src/polar_sdk/models/notopencheckout.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 162 methods.*
586+
* [`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 162 methods.*
587+
* [`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 162 methods.*
588+
* [`ExpiredCheckoutError`](./src/polar_sdk/models/expiredcheckouterror.py): The checkout session is expired. Status code `410`. Applicable to 3 of 162 methods.*
589+
* [`SubscriptionLocked`](./src/polar_sdk/models/subscriptionlocked.py): Subscription is pending an update. Status code `409`. Applicable to 2 of 162 methods.*
590+
* [`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 162 methods.*
591+
* [`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 162 methods.*
592+
* [`PaymentError`](./src/polar_sdk/models/paymenterror.py): The payment failed. Status code `400`. Applicable to 1 of 162 methods.*
593+
* [`CustomerNotReady`](./src/polar_sdk/models/customernotready.py): Customer is not ready to confirm a payment method. Status code `400`. Applicable to 1 of 162 methods.*
594+
* [`PaymentMethodInUseByActiveSubscription`](./src/polar_sdk/models/paymentmethodinusebyactivesubscription.py): Payment method is used by active subscription(s). Status code `400`. Applicable to 1 of 162 methods.*
595+
* [`RefundedAlready`](./src/polar_sdk/models/refundedalready.py): Order is already fully refunded. Status code `403`. Applicable to 1 of 162 methods.*
596+
* [`PaymentAlreadyInProgress`](./src/polar_sdk/models/paymentalreadyinprogress.py): Payment already in progress. Status code `409`. Applicable to 1 of 162 methods.*
597+
* [`OrderNotEligibleForRetry`](./src/polar_sdk/models/ordernoteligibleforretry.py): Order not eligible for retry or payment confirmation failed. Status code `422`. Applicable to 1 of 162 methods.*
591598
* [`ResponseValidationError`](./src/polar_sdk/models/responsevalidationerror.py): Type mismatch between the response data and the expected Pydantic model. Provides access to the Pydantic validation error via the `cause` attribute.
592599

593600
</details>
@@ -770,7 +777,7 @@ from polar_sdk import Polar
770777
with Polar() as polar:
771778

772779
res = polar.customer_portal.benefit_grants.list(security=polar_sdk.CustomerPortalBenefitGrantsListSecurity(
773-
customer_session="<YOUR_BEARER_TOKEN_HERE>",
780+
774781
), page=1, limit=10)
775782

776783
while res is not None:

RELEASES.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1003,4 +1003,14 @@ Based on:
10031003
### Generated
10041004
- [python v0.28.2] .
10051005
### Releases
1006-
- [PyPI v0.28.2] https://pypi.org/project/polar-sdk/0.28.2 - .
1006+
- [PyPI v0.28.2] https://pypi.org/project/polar-sdk/0.28.2 - .
1007+
1008+
## 2026-01-20 16:14:01
1009+
### Changes
1010+
Based on:
1011+
- OpenAPI Doc
1012+
- Speakeasy CLI 1.648.0 (2.737.0) https://github.com/speakeasy-api/speakeasy
1013+
### Generated
1014+
- [python v0.28.3] .
1015+
### Releases
1016+
- [PyPI v0.28.3] https://pypi.org/project/polar-sdk/0.28.3 - .

0 commit comments

Comments
 (0)