Skip to content

Commit f15d5c4

Browse files
chore: 🐝 Update SDK - Generate 1.0.0-beta.7
1 parent 3746365 commit f15d5c4

File tree

17 files changed

+1300
-1291
lines changed

17 files changed

+1300
-1291
lines changed

.speakeasy/gen.lock

Lines changed: 1080 additions & 1115 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,7 +16,7 @@ generation:
1616
oAuth2ClientCredentialsEnabled: false
1717
oAuth2PasswordEnabled: false
1818
python:
19-
version: 1.0.0-beta.6
19+
version: 1.0.0-beta.7
2020
additionalDependencies:
2121
dev:
2222
freezegun: ^1.5.1
@@ -52,8 +52,10 @@ python:
5252
inputModelSuffix: input
5353
maxMethodParams: 999
5454
methodArguments: infer-optional-args
55+
moduleName: ""
5556
outputModelSuffix: output
5657
packageName: gr4vy
58+
pytestFilterWarnings: []
5759
pytestTimeout: 0
5860
responseFormat: flat
5961
templateVersion: v2

.speakeasy/workflow.lock

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
1-
speakeasyVersion: 1.545.0
1+
speakeasyVersion: 1.546.0
22
sources:
33
openapi:
44
sourceNamespace: openapi
5-
sourceRevisionDigest: sha256:a13e3fb29dd9350c13a7fc5565d8dab163c27ebc379dd24c7d173d06b8c9f82a
5+
sourceRevisionDigest: sha256:302e41905636cd99789f45d7ece4efed8579973af8ddbbc5530abfa8710736fc
66
sourceBlobDigest: sha256:e61cb351f757d275c72b7d8f17a42285f569b21f95831057dbc42f3caea1b0e2
77
tags:
88
- latest
9-
- speakeasy-sdk-regen-1747355374
9+
- speakeasy-sdk-regen-1747388838
1010
- 1.0.0
1111
targets:
1212
python:
1313
source: openapi
1414
sourceNamespace: openapi
15-
sourceRevisionDigest: sha256:a13e3fb29dd9350c13a7fc5565d8dab163c27ebc379dd24c7d173d06b8c9f82a
15+
sourceRevisionDigest: sha256:302e41905636cd99789f45d7ece4efed8579973af8ddbbc5530abfa8710736fc
1616
sourceBlobDigest: sha256:e61cb351f757d275c72b7d8f17a42285f569b21f95831057dbc42f3caea1b0e2
1717
codeSamplesNamespace: oas-python-code-samples
18-
codeSamplesRevisionDigest: sha256:fc09847b168d53844266c2522531708795f144176d4aa94ccb0a75ba0ba5e61c
18+
codeSamplesRevisionDigest: sha256:a847f715c6bc7f4addaaccb87a6463fcc2f5968e268669556d4cc511f93fa8b5
1919
workflow:
2020
workflowVersion: 1.0.0
2121
speakeasyVersion: latest

RELEASES.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,4 +48,14 @@ Based on:
4848
### Generated
4949
- [python v1.0.0-beta.6] .
5050
### Releases
51-
- [PyPI v1.0.0-beta.6] https://pypi.org/project/gr4vy/1.0.0-beta.6 - .
51+
- [PyPI v1.0.0-beta.6] https://pypi.org/project/gr4vy/1.0.0-beta.6 - .
52+
53+
## 2025-05-16 09:47:02
54+
### Changes
55+
Based on:
56+
- OpenAPI Doc
57+
- Speakeasy CLI 1.546.0 (2.603.1) https://github.com/speakeasy-api/speakeasy
58+
### Generated
59+
- [python v1.0.0-beta.7] .
60+
### Releases
61+
- [PyPI v1.0.0-beta.7] https://pypi.org/project/gr4vy/1.0.0-beta.7 - .

docs/sdks/buyers/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ with Gr4vy(
105105
},
106106
"tax_id": {
107107
"value": "12345678931",
108-
"kind": "jp.cn",
108+
"kind": "ca.pst_mb",
109109
},
110110
})
111111

@@ -239,7 +239,7 @@ with Gr4vy(
239239
},
240240
"tax_id": {
241241
"value": "12345678931",
242-
"kind": "th.id",
242+
"kind": "au.abn",
243243
},
244244
})
245245

docs/sdks/checkoutsessions/README.md

Lines changed: 21 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,25 @@ with Gr4vy(
4646
"gear",
4747
],
4848
product_type="physical",
49-
seller_country="US",
49+
seller_country="GB",
50+
),
51+
models.CartItem(
52+
name="GoPro HD",
53+
quantity=2,
54+
unit_amount=1299,
55+
discount_amount=0,
56+
tax_amount=0,
57+
external_identifier="goprohd",
58+
sku="GPHD1078",
59+
product_url="https://example.com/catalog/go-pro-hd",
60+
image_url="https://example.com/images/go-pro-hd.jpg",
61+
categories=[
62+
"camera",
63+
"travel",
64+
"gear",
65+
],
66+
product_type="physical",
67+
seller_country="GB",
5068
),
5169
models.CartItem(
5270
name="GoPro HD",
@@ -92,7 +110,7 @@ with Gr4vy(
92110
),
93111
tax_id=models.TaxID(
94112
value="12345678931",
95-
kind="ar.cuil",
113+
kind="ar.cuit",
96114
),
97115
),
98116
shipping_details=models.ShippingDetailsCreate(
@@ -226,19 +244,6 @@ with Gr4vy(
226244
title="Mr.",
227245
country_code="US",
228246
),
229-
models.AirlinePassenger(
230-
age_group="adult",
231-
date_of_birth=date.fromisoformat("2013-07-16"),
232-
email_address="john@example.com",
233-
first_name="John",
234-
frequent_flyer_number="15885566",
235-
last_name="Luhn",
236-
passport_number="11117700225",
237-
phone_number="+1234567890",
238-
ticket_number="BA1236699999",
239-
title="Mr.",
240-
country_code="US",
241-
),
242247
],
243248
reservation_system="Amadeus",
244249
restricted_ticket=False,
@@ -344,24 +349,6 @@ with Gr4vy(
344349
"product_type": "physical",
345350
"seller_country": "GB",
346351
},
347-
{
348-
"name": "GoPro HD",
349-
"quantity": 2,
350-
"unit_amount": 1299,
351-
"discount_amount": 0,
352-
"tax_amount": 0,
353-
"external_identifier": "goprohd",
354-
"sku": "GPHD1078",
355-
"product_url": "https://example.com/catalog/go-pro-hd",
356-
"image_url": "https://example.com/images/go-pro-hd.jpg",
357-
"categories": [
358-
"camera",
359-
"travel",
360-
"gear",
361-
],
362-
"product_type": "physical",
363-
"seller_country": "US",
364-
},
365352
], metadata={
366353
"cohort": "cohort-a",
367354
"order_id": "order-12345",
@@ -386,7 +373,7 @@ with Gr4vy(
386373
),
387374
tax_id=models.TaxID(
388375
value="12345678931",
389-
kind="my.nric",
376+
kind="my.sst",
390377
),
391378
),
392379
shipping_details=models.ShippingDetailsCreate(

docs/sdks/digitalwallets/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ with Gr4vy(
2727
merchant_account_id="default",
2828
) as g_client:
2929

30-
res = g_client.digital_wallets.create(provider="google", merchant_name="<value>", accept_terms_and_conditions=True, merchant_account_id="default", merchant_country_code="GB")
30+
res = g_client.digital_wallets.create(provider="click-to-pay", merchant_name="<value>", accept_terms_and_conditions=False, merchant_account_id="default", merchant_country_code="US")
3131

3232
# Handle response
3333
print(res)
@@ -254,7 +254,7 @@ with Gr4vy(
254254
merchant_account_id="default",
255255
) as g_client:
256256

257-
res = g_client.digital_wallets.update(digital_wallet_id="1808f5e6-b49c-4db9-94fa-22371ea352f5", merchant_account_id="default", merchant_country_code="US")
257+
res = g_client.digital_wallets.update(digital_wallet_id="1808f5e6-b49c-4db9-94fa-22371ea352f5", merchant_account_id="default", merchant_country_code="DE")
258258

259259
# Handle response
260260
print(res)

docs/sdks/paymentmethods/README.md

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -89,13 +89,11 @@ with Gr4vy(
8989
) as g_client:
9090

9191
res = g_client.payment_methods.create(request_body={
92-
"method": "paypal",
92+
"method": "checkout-session",
93+
"id": "4137b1cf-39ac-42a8-bad6-1c680d5dab6b",
94+
"external_identifier": "card-12345",
9395
"buyer_id": "fe26475d-ec3e-4884-9553-f7356683f7f9",
9496
"buyer_external_identifier": "buyer-12345",
95-
"country": "GB",
96-
"currency": "GBP",
97-
"redirect_url": "https://standard-utilization.com/",
98-
"external_identifier": "payment-method-12345",
9997
}, merchant_account_id="default")
10098

10199
# Handle response

docs/sdks/paymentoptions/README.md

Lines changed: 1 addition & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -42,43 +42,7 @@ with Gr4vy(
4242
"gear",
4343
],
4444
"product_type": "physical",
45-
"seller_country": "GB",
46-
},
47-
{
48-
"name": "GoPro HD",
49-
"quantity": 2,
50-
"unit_amount": 1299,
51-
"discount_amount": 0,
52-
"tax_amount": 0,
53-
"external_identifier": "goprohd",
54-
"sku": "GPHD1078",
55-
"product_url": "https://example.com/catalog/go-pro-hd",
56-
"image_url": "https://example.com/images/go-pro-hd.jpg",
57-
"categories": [
58-
"camera",
59-
"travel",
60-
"gear",
61-
],
62-
"product_type": "physical",
63-
"seller_country": "GB",
64-
},
65-
{
66-
"name": "GoPro HD",
67-
"quantity": 2,
68-
"unit_amount": 1299,
69-
"discount_amount": 0,
70-
"tax_amount": 0,
71-
"external_identifier": "goprohd",
72-
"sku": "GPHD1078",
73-
"product_url": "https://example.com/catalog/go-pro-hd",
74-
"image_url": "https://example.com/images/go-pro-hd.jpg",
75-
"categories": [
76-
"camera",
77-
"travel",
78-
"gear",
79-
],
80-
"product_type": "physical",
81-
"seller_country": "GB",
45+
"seller_country": "US",
8246
},
8347
])
8448

docs/sdks/paymentservicedefinitions/README.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -137,9 +137,7 @@ with Gr4vy(
137137
) as g_client:
138138

139139
res = g_client.payment_service_definitions.session(payment_service_definition_id="adyen-ideal", request_body={
140-
"key": "<value>",
141-
"key1": "<value>",
142-
"key2": "<value>",
140+
143141
})
144142

145143
# Handle response

0 commit comments

Comments
 (0)