Skip to content

Commit 05da86f

Browse files
speakeasybotfrankie567
authored andcommitted
ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.509.1
1 parent f3bb22f commit 05da86f

File tree

154 files changed

+2952
-1010
lines changed

Some content is hidden

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

154 files changed

+2952
-1010
lines changed

.speakeasy/gen.lock

+211-101
Large diffs are not rendered by default.

.speakeasy/gen.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ generation:
1818
oAuth2ClientCredentialsEnabled: true
1919
oAuth2PasswordEnabled: false
2020
python:
21-
version: 0.16.2
21+
version: 0.16.3
2222
additionalDependencies:
2323
dev:
2424
pytest: ^8.3.3

.speakeasy/workflow.lock

+6-6
Original file line numberDiff line numberDiff line change
@@ -2,20 +2,20 @@ speakeasyVersion: 1.509.1
22
sources:
33
Polar-OAS:
44
sourceNamespace: polar-oas
5-
sourceRevisionDigest: sha256:97b18c32b70c4b4df82f5c9b3d7b3361460bdd66ea87aa9964b10915a3e77271
6-
sourceBlobDigest: sha256:3797aa638c76668dbe9b36d5ca9666358caad41cc55f74d9e1f3125358c8eec8
5+
sourceRevisionDigest: sha256:b19c53bcc38ee3a8d0c58117edf0bb0372efa02660b7fb0a112a4f473f88bdb7
6+
sourceBlobDigest: sha256:4005f4f610b18f88f73db3ddfbcbe89980b6f39342110e3b7249013381a3a63a
77
tags:
88
- latest
9-
- speakeasy-sdk-regen-1740788016
9+
- speakeasy-sdk-regen-1741190100
1010
- 0.1.0
1111
targets:
1212
polar:
1313
source: Polar-OAS
1414
sourceNamespace: polar-oas
15-
sourceRevisionDigest: sha256:97b18c32b70c4b4df82f5c9b3d7b3361460bdd66ea87aa9964b10915a3e77271
16-
sourceBlobDigest: sha256:3797aa638c76668dbe9b36d5ca9666358caad41cc55f74d9e1f3125358c8eec8
15+
sourceRevisionDigest: sha256:b19c53bcc38ee3a8d0c58117edf0bb0372efa02660b7fb0a112a4f473f88bdb7
16+
sourceBlobDigest: sha256:4005f4f610b18f88f73db3ddfbcbe89980b6f39342110e3b7249013381a3a63a
1717
codeSamplesNamespace: polar-oas-py-code-samples
18-
codeSamplesRevisionDigest: sha256:2809438ea5d59856a37ab512727400ca54b0896b2066e98ead3dee34646f040b
18+
codeSamplesRevisionDigest: sha256:7f7689420111352a4f946c3e93b22dbbef6adf38e90050ff3e6897519e501bcd
1919
workflow:
2020
workflowVersion: 1.0.0
2121
speakeasyVersion: latest

README.md

+34-16
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ with Polar() as polar:
143143
customer_email="<value>",
144144
customer_ip_address="<value>",
145145
customer_billing_address={
146-
"country": "Solomon Islands",
146+
"country": "FR",
147147
},
148148
customer_tax_id="<id>",
149149
payment_processor_metadata={
@@ -534,7 +534,7 @@ with Polar() as polar:
534534
},
535535
"slug": "<value>",
536536
"name": "<value>",
537-
"organization_id": "<value>",
537+
"organization_id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737",
538538
"properties": {
539539
"options": [
540540
{
@@ -559,7 +559,7 @@ with Polar() as polar:
559559
},
560560
"slug": "<value>",
561561
"name": "<value>",
562-
"organization_id": "<value>",
562+
"organization_id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737",
563563
"properties": {},
564564
"type": "checkbox",
565565
},
@@ -577,7 +577,7 @@ with Polar() as polar:
577577
},
578578
"slug": "<value>",
579579
"name": "<value>",
580-
"organization_id": "<value>",
580+
"organization_id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737",
581581
"properties": {
582582
"options": [
583583
{
@@ -649,7 +649,7 @@ async def main():
649649
customer_email="<value>",
650650
customer_ip_address="<value>",
651651
customer_billing_address={
652-
"country": "Solomon Islands",
652+
"country": "FR",
653653
},
654654
customer_tax_id="<id>",
655655
payment_processor_metadata={
@@ -1041,7 +1041,7 @@ async def main():
10411041
},
10421042
"slug": "<value>",
10431043
"name": "<value>",
1044-
"organization_id": "<value>",
1044+
"organization_id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737",
10451045
"properties": {
10461046
"options": [
10471047
{
@@ -1066,7 +1066,7 @@ async def main():
10661066
},
10671067
"slug": "<value>",
10681068
"name": "<value>",
1069-
"organization_id": "<value>",
1069+
"organization_id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737",
10701070
"properties": {},
10711071
"type": "text",
10721072
},
@@ -1084,7 +1084,7 @@ async def main():
10841084
},
10851085
"slug": "<value>",
10861086
"name": "<value>",
1087-
"organization_id": "<value>",
1087+
"organization_id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737",
10881088
"properties": {},
10891089
"type": "text",
10901090
},
@@ -1235,6 +1235,8 @@ def webhook():
12351235
* [get_external](docs/sdks/customers/README.md#get_external) - Get Customer by External ID
12361236
* [update_external](docs/sdks/customers/README.md#update_external) - Update Customer by External ID
12371237
* [delete_external](docs/sdks/customers/README.md#delete_external) - Delete Customer by External ID
1238+
* [get_state](docs/sdks/customers/README.md#get_state) - Get Customer State
1239+
* [get_state_external](docs/sdks/customers/README.md#get_state_external) - Get Customer State by External ID
12381240

12391241
### [discounts](docs/sdks/discounts/README.md)
12401242

@@ -1358,7 +1360,9 @@ with Polar(
13581360
access_token="<YOUR_BEARER_TOKEN_HERE>",
13591361
) as polar:
13601362

1361-
res = polar.external_organizations.list(,
1363+
res = polar.external_organizations.list(organization_id=[
1364+
"1dbfc517-0bbf-4301-9ba8-555ca42b9737",
1365+
],
13621366
RetryConfig("backoff", BackoffStrategy(1, 50, 1.1, 100), False))
13631367

13641368
while res is not None:
@@ -1379,7 +1383,9 @@ with Polar(
13791383
access_token="<YOUR_BEARER_TOKEN_HERE>",
13801384
) as polar:
13811385

1382-
res = polar.external_organizations.list()
1386+
res = polar.external_organizations.list(organization_id=[
1387+
"1dbfc517-0bbf-4301-9ba8-555ca42b9737",
1388+
])
13831389

13841390
while res is not None:
13851391
# Handle items
@@ -1422,7 +1428,9 @@ with Polar(
14221428
res = None
14231429
try:
14241430

1425-
res = polar.external_organizations.list()
1431+
res = polar.external_organizations.list(organization_id=[
1432+
"1dbfc517-0bbf-4301-9ba8-555ca42b9737",
1433+
])
14261434

14271435
while res is not None:
14281436
# Handle items
@@ -1461,7 +1469,9 @@ with Polar(
14611469
access_token="<YOUR_BEARER_TOKEN_HERE>",
14621470
) as polar:
14631471

1464-
res = polar.external_organizations.list()
1472+
res = polar.external_organizations.list(organization_id=[
1473+
"1dbfc517-0bbf-4301-9ba8-555ca42b9737",
1474+
])
14651475

14661476
while res is not None:
14671477
# Handle items
@@ -1482,7 +1492,9 @@ with Polar(
14821492
access_token="<YOUR_BEARER_TOKEN_HERE>",
14831493
) as polar:
14841494

1485-
res = polar.external_organizations.list()
1495+
res = polar.external_organizations.list(organization_id=[
1496+
"1dbfc517-0bbf-4301-9ba8-555ca42b9737",
1497+
])
14861498

14871499
while res is not None:
14881500
# Handle items
@@ -1593,7 +1605,9 @@ with Polar(
15931605
access_token="<YOUR_BEARER_TOKEN_HERE>",
15941606
) as polar:
15951607

1596-
res = polar.external_organizations.list()
1608+
res = polar.external_organizations.list(organization_id=[
1609+
"1dbfc517-0bbf-4301-9ba8-555ca42b9737",
1610+
])
15971611

15981612
while res is not None:
15991613
# Handle items
@@ -1614,7 +1628,9 @@ with Polar() as polar:
16141628

16151629
res = polar.customer_portal.benefit_grants.list(security=polar_sdk.CustomerPortalBenefitGrantsListSecurity(
16161630
customer_session="<YOUR_BEARER_TOKEN_HERE>",
1617-
))
1631+
), organization_id=[
1632+
"1dbfc517-0bbf-4301-9ba8-555ca42b9737",
1633+
])
16181634

16191635
while res is not None:
16201636
# Handle items
@@ -1682,7 +1698,9 @@ with Polar(
16821698
access_token="<YOUR_BEARER_TOKEN_HERE>",
16831699
) as polar:
16841700

1685-
res = polar.external_organizations.list()
1701+
res = polar.external_organizations.list(organization_id=[
1702+
"1dbfc517-0bbf-4301-9ba8-555ca42b9737",
1703+
])
16861704

16871705
while res is not None:
16881706
# Handle items

RELEASES.md

+11-1
Original file line numberDiff line numberDiff line change
@@ -563,4 +563,14 @@ Based on:
563563
### Generated
564564
- [python v0.16.2] .
565565
### Releases
566-
- [PyPI v0.16.2] https://pypi.org/project/polar-sdk/0.16.2 - .
566+
- [PyPI v0.16.2] https://pypi.org/project/polar-sdk/0.16.2 - .
567+
568+
## 2025-03-05 15:54:45
569+
### Changes
570+
Based on:
571+
- OpenAPI Doc
572+
- Speakeasy CLI 1.509.1 (2.539.1) https://github.com/speakeasy-api/speakeasy
573+
### Generated
574+
- [python v0.16.3] .
575+
### Releases
576+
- [PyPI v0.16.3] https://pypi.org/project/polar-sdk/0.16.3 - .

USAGE.md

+6-2
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,9 @@ with Polar(
88
access_token="<YOUR_BEARER_TOKEN_HERE>",
99
) as polar:
1010

11-
res = polar.external_organizations.list()
11+
res = polar.external_organizations.list(organization_id=[
12+
"1dbfc517-0bbf-4301-9ba8-555ca42b9737",
13+
])
1214

1315
while res is not None:
1416
# Handle items
@@ -30,7 +32,9 @@ async def main():
3032
access_token="<YOUR_BEARER_TOKEN_HERE>",
3133
) as polar:
3234

33-
res = await polar.external_organizations.list_async()
35+
res = await polar.external_organizations.list_async(organization_id=[
36+
"1dbfc517-0bbf-4301-9ba8-555ca42b9737",
37+
])
3438

3539
while res is not None:
3640
# Handle items

0 commit comments

Comments
 (0)