Skip to content

Commit 613d974

Browse files
chore: 🐝 Update SDK - Generate SDK 2.0.18
1 parent e11159f commit 613d974

10 files changed

Lines changed: 79 additions & 35 deletions

File tree

.speakeasy/gen.lock

Lines changed: 29 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
11
lockVersion: 2.0.0
22
id: 833c6a67-4a4a-4ef1-ba24-165a29264e4a
33
management:
4-
docChecksum: 40c7bb2f90ddbd07921cc6bdb1670157
4+
docChecksum: 95841e7395480c0e9b85ad2d16644689
55
docVersion: 1.0.0
6-
speakeasyVersion: 1.761.5
6+
speakeasyVersion: 1.761.6
77
generationVersion: 2.879.13
8-
releaseVersion: 2.0.17
9-
configChecksum: b242a1e4b996cd25db4e0c74b41f5cb9
8+
releaseVersion: 2.0.18
9+
configChecksum: 2aa5690a4e8d48c6f938c998b1487e3d
1010
repoURL: https://github.com/gr4vy/gr4vy-python.git
1111
installationURL: https://github.com/gr4vy/gr4vy-python.git
1212
published: true
1313
persistentEdits:
14-
generation_id: 9f3755bd-fd18-4f4b-bb53-eb8f7c395c1c
15-
pristine_commit_hash: 659ec48533186a20b711118e8c87f778f99d7ae8
16-
pristine_tree_hash: f4634b53d6dbc016f21d043da97f3952fec739aa
14+
generation_id: 17570f83-f0c0-467c-a046-66a1cb2d9d6f
15+
pristine_commit_hash: 026f23285f52a79faaecc9ee420aff52012cfe34
16+
pristine_tree_hash: ebba9277b4112c87c6220ad1bbd3d78ff0795d2c
1717
features:
1818
python:
1919
additionalDependencies: 1.0.0
@@ -1524,8 +1524,8 @@ trackedFiles:
15241524
pristine_git_object: 29665bfc06c0b8770e4471d308c803bedb5b0046
15251525
docs/models/paymentmethod.md:
15261526
id: 17c910bca1fb
1527-
last_write_checksum: sha1:cab0bd159c98ec912490c32a252a0f7a2ba4bd1a
1528-
pristine_git_object: a04744b4d27b5c776dcefb81cd8047a8d3db6e49
1527+
last_write_checksum: sha1:e729ba23648a87df9cfa5ca13d0d5cfa56aed1d9
1528+
pristine_git_object: 1c56e367763ffeb4d4dc375ae2e486b3a3971a99
15291529
docs/models/paymentmethodcard.md:
15301530
id: 19b74eed5f13
15311531
last_write_checksum: sha1:ea4e1500ee93e684bbf3730962ae67abbb829f02
@@ -1552,8 +1552,8 @@ trackedFiles:
15521552
pristine_git_object: 5e0e13aaf9b1e52f525561400a5a262f248d6af4
15531553
docs/models/paymentmethodsummary.md:
15541554
id: 91cabaf39f23
1555-
last_write_checksum: sha1:f518cc1496275cc75c2db4f51236ea489476548b
1556-
pristine_git_object: 1f232df40460083ebe5add98607dee1711cefa73
1555+
last_write_checksum: sha1:d790d912df45a6daf85fb1d9a75539ec62620fcf
1556+
pristine_git_object: 819839f66e88f520d55baf3ebc2263119300eff8
15571557
docs/models/paymentoption.md:
15581558
id: 19cfeb30fff6
15591559
last_write_checksum: sha1:b7c0c1aa367b298e6db6e4d19fe510b71b585407
@@ -2424,8 +2424,8 @@ trackedFiles:
24242424
pristine_git_object: cb9c15d314c1930557401074329ed7a737147919
24252425
pyproject.toml:
24262426
id: 5d07e7d72637
2427-
last_write_checksum: sha1:0b894de7d5797c9a1d730ef826fcf0df9068aa51
2428-
pristine_git_object: 72c84c75da7b8c615732f059aa45e1cc38f3313c
2427+
last_write_checksum: sha1:54b8b346d323d385ee3c6c2f90491136b682f0c5
2428+
pristine_git_object: 3c21d9a7c1b26b88d4e2f09c892ffd70cf66c9f0
24292429
scripts/prepare_readme.py:
24302430
id: e0c5957a6035
24312431
last_write_checksum: sha1:63a92abbd1de3323613f0d4c1ae4412076577710
@@ -2452,8 +2452,8 @@ trackedFiles:
24522452
pristine_git_object: 83a0d00f9b5b1a6d837643a32bfd0f82cd4f98ce
24532453
src/gr4vy/_version.py:
24542454
id: 1b5ad1da47aa
2455-
last_write_checksum: sha1:a75a93b0468d0e91ebb9020c1ac6837d2a84150a
2456-
pristine_git_object: c0ecc4172ba21e8d7717126e80ca0051a8a2da02
2455+
last_write_checksum: sha1:d856890b3763e075bf3ec12956fed6664e054f1e
2456+
pristine_git_object: 062c0640cf530f789d41ba301c2dedb7948d0249
24572457
src/gr4vy/account_updater.py:
24582458
id: 6dc8f39e2fb9
24592459
last_write_checksum: sha1:fabc79a59dd06fb927ce2d834fbafbcad5836a4b
@@ -3596,8 +3596,8 @@ trackedFiles:
35963596
pristine_git_object: 0045117824ce0d410b8b7bace7c7ee017bfcdf38
35973597
src/gr4vy/models/paymentmethod.py:
35983598
id: 439e077ceae5
3599-
last_write_checksum: sha1:51c2e6c57f17ca51454cdbf1caa5d1ab32967018
3600-
pristine_git_object: 972578190cf6c1228b616a2cc911aa47c2f98798
3599+
last_write_checksum: sha1:49184ba9032ee5c1537b953518eee00a65f58ace
3600+
pristine_git_object: 10bc10db4f4bdf8136d7cd2d23d8622a221477d3
36013601
src/gr4vy/models/paymentmethodcard.py:
36023602
id: 24a83b540a41
36033603
last_write_checksum: sha1:7e70cd2aebe772ff437b72d12008eaa23200a351
@@ -3624,8 +3624,8 @@ trackedFiles:
36243624
pristine_git_object: d1be61a779e4c14640229bd954ab66f3d41f910f
36253625
src/gr4vy/models/paymentmethodsummary.py:
36263626
id: 835c442fc243
3627-
last_write_checksum: sha1:f70a9ba091fb173caa1055f71abd5b9598693d13
3628-
pristine_git_object: b225697c8848feee095d71a05300496d9e10b5b6
3627+
last_write_checksum: sha1:96bd0a4e1c60a23633183c4b8fb887ab031ec407
3628+
pristine_git_object: 3e2c8679ed499179317df3cd204811684f1c1861
36293629
src/gr4vy/models/paymentoption.py:
36303630
id: 14989a8d7e20
36313631
last_write_checksum: sha1:c521405713023205bc36268bff262aea64df3b9a
@@ -4600,7 +4600,7 @@ examples:
46004600
x-gr4vy-merchant-account-id: "default"
46014601
responses:
46024602
"200":
4603-
application/json: {"items": [{"type": "payment-method", "method": "multibanco", "id": "ef9496d8-53a5-4aad-8ca2-00eb68334389", "merchant_account_id": "default", "cit_usage_count": 50, "has_replacement": false, "usage_count": 100}]}
4603+
application/json: {"items": [{"type": "payment-method", "method": "multibanco", "id": "ef9496d8-53a5-4aad-8ca2-00eb68334389", "merchant_account_id": "default", "cit_usage_count": 50, "has_replacement": false, "usage_count": 100, "scheme_transaction_id": "123456789012345", "scheme_transaction_id_scheme": "visa"}]}
46044604
"400":
46054605
application/json: {"type": "error", "code": "bad_request", "status": 400, "message": "Request failed validation"}
46064606
"401":
@@ -4865,7 +4865,7 @@ examples:
48654865
x-gr4vy-merchant-account-id: "default"
48664866
responses:
48674867
"200":
4868-
application/json: {"items": [{"type": "payment-method", "method": "laybuy", "id": "ef9496d8-53a5-4aad-8ca2-00eb68334389", "merchant_account_id": "default", "cit_usage_count": 50, "has_replacement": false, "usage_count": 100, "status": "processing", "created_at": "2013-07-16T19:23:00.000+00:00", "updated_at": "2013-07-16T19:23:00.000+00:00"}], "limit": 20}
4868+
application/json: {"items": [{"type": "payment-method", "method": "laybuy", "id": "ef9496d8-53a5-4aad-8ca2-00eb68334389", "merchant_account_id": "default", "cit_usage_count": 50, "has_replacement": false, "usage_count": 100, "scheme_transaction_id": "123456789012345", "scheme_transaction_id_scheme": "visa", "status": "processing", "created_at": "2013-07-16T19:23:00.000+00:00", "updated_at": "2013-07-16T19:23:00.000+00:00"}], "limit": 20}
48694869
"400":
48704870
application/json: {"type": "error", "code": "bad_request", "status": 400, "message": "Request failed validation"}
48714871
"401":
@@ -4902,7 +4902,7 @@ examples:
49024902
application/json: {"method": "checkout-session", "id": "4137b1cf-39ac-42a8-bad6-1c680d5dab6b"}
49034903
responses:
49044904
"201":
4905-
application/json: {"type": "payment-method", "method": "alipay", "id": "ef9496d8-53a5-4aad-8ca2-00eb68334389", "merchant_account_id": "default", "cit_usage_count": 50, "has_replacement": false, "usage_count": 100, "status": "paused", "created_at": "2013-07-16T19:23:00.000+00:00", "updated_at": "2013-07-16T19:23:00.000+00:00"}
4905+
application/json: {"type": "payment-method", "method": "alipay", "id": "ef9496d8-53a5-4aad-8ca2-00eb68334389", "merchant_account_id": "default", "cit_usage_count": 50, "has_replacement": false, "usage_count": 100, "scheme_transaction_id": "123456789012345", "scheme_transaction_id_scheme": "visa", "status": "paused", "created_at": "2013-07-16T19:23:00.000+00:00", "updated_at": "2013-07-16T19:23:00.000+00:00"}
49064906
"400":
49074907
application/json: {"type": "error", "code": "bad_request", "status": 400, "message": "Request failed validation"}
49084908
"401":
@@ -4938,7 +4938,7 @@ examples:
49384938
x-gr4vy-merchant-account-id: "default"
49394939
responses:
49404940
"200":
4941-
application/json: {"type": "payment-method", "method": "efecty", "id": "ef9496d8-53a5-4aad-8ca2-00eb68334389", "merchant_account_id": "default", "cit_usage_count": 50, "has_replacement": false, "usage_count": 100, "status": "succeeded", "created_at": "2013-07-16T19:23:00.000+00:00", "updated_at": "2013-07-16T19:23:00.000+00:00"}
4941+
application/json: {"type": "payment-method", "method": "efecty", "id": "ef9496d8-53a5-4aad-8ca2-00eb68334389", "merchant_account_id": "default", "cit_usage_count": 50, "has_replacement": false, "usage_count": 100, "scheme_transaction_id": "123456789012345", "scheme_transaction_id_scheme": "visa", "status": "succeeded", "created_at": "2013-07-16T19:23:00.000+00:00", "updated_at": "2013-07-16T19:23:00.000+00:00"}
49424942
"400":
49434943
application/json: {"type": "error", "code": "bad_request", "status": 400, "message": "Request failed validation"}
49444944
"401":
@@ -8096,6 +8096,12 @@ examples:
80968096
application/json: {"type": "error", "code": "gateway_timeout", "status": 504, "message": "Request could not be processed"}
80978097
examplesVersion: 1.0.2
80988098
generatedTests: {}
8099+
releaseNotes: |
8100+
## Python SDK Changes:
8101+
* `gr4vy.buyers.payment_methods.list()`: `response.items[]` **Changed**
8102+
* `gr4vy.payment_methods.list()`: `response.items[]` **Changed**
8103+
* `gr4vy.payment_methods.create()`: `response` **Changed**
8104+
* `gr4vy.payment_methods.get()`: `response` **Changed**
80998105
generatedFiles:
81008106
- .gitattributes
81018107
- .vscode/settings.json

.speakeasy/gen.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ generation:
2929
generateNewTests: false
3030
skipResponseBodyAssertions: false
3131
python:
32-
version: 2.0.17
32+
version: 2.0.18
3333
additionalDependencies:
3434
dev:
3535
freezegun: ^1.5.1

.speakeasy/workflow.lock

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
1-
speakeasyVersion: 1.761.5
1+
speakeasyVersion: 1.761.6
22
sources:
33
openapi:
44
sourceNamespace: openapi
5-
sourceRevisionDigest: sha256:886301895e90d9a7df6abea159e149a451f6d2b414738eb7c2cca196cdfb76b9
6-
sourceBlobDigest: sha256:95b714a7ed7ee03a0419eed86c8e3eb72d25d8be968dd71e488af16c903c8d77
5+
sourceRevisionDigest: sha256:0e7f47fe5f32e000f2e7233c24221c84178d38a0c9ae76946523595f5bcb5d54
6+
sourceBlobDigest: sha256:3aa38f7f8ea827457692b2312d8c42be10393e1f306828fb3ed07b7e22a388c2
77
tags:
88
- latest
99
- 1.0.0
1010
targets:
1111
python:
1212
source: openapi
1313
sourceNamespace: openapi
14-
sourceRevisionDigest: sha256:886301895e90d9a7df6abea159e149a451f6d2b414738eb7c2cca196cdfb76b9
15-
sourceBlobDigest: sha256:95b714a7ed7ee03a0419eed86c8e3eb72d25d8be968dd71e488af16c903c8d77
14+
sourceRevisionDigest: sha256:0e7f47fe5f32e000f2e7233c24221c84178d38a0c9ae76946523595f5bcb5d54
15+
sourceBlobDigest: sha256:3aa38f7f8ea827457692b2312d8c42be10393e1f306828fb3ed07b7e22a388c2
1616
codeSamplesNamespace: openapi-python-code-samples
17-
codeSamplesRevisionDigest: sha256:8c751e0571da3975ba3730780c422f868bf639839b440e5d1ad8f1ea1e915ddd
17+
codeSamplesRevisionDigest: sha256:2d3da6002bc8d287cf81191f1077af3b5933c6bb6b04b12ba66b39b1f99b0106
1818
workflow:
1919
workflowVersion: 1.0.0
2020
speakeasyVersion: latest

RELEASES.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1608,4 +1608,14 @@ Based on:
16081608
### Generated
16091609
- [python v2.0.17] .
16101610
### Releases
1611-
- [PyPI v2.0.17] https://pypi.org/project/gr4vy/2.0.17 - .
1611+
- [PyPI v2.0.17] https://pypi.org/project/gr4vy/2.0.17 - .
1612+
1613+
## 2026-04-16 15:57:56
1614+
### Changes
1615+
Based on:
1616+
- OpenAPI Doc
1617+
- Speakeasy CLI 1.761.6 (2.879.13) https://github.com/speakeasy-api/speakeasy
1618+
### Generated
1619+
- [python v2.0.18] .
1620+
### Releases
1621+
- [PyPI v2.0.18] https://pypi.org/project/gr4vy/2.0.18 - .

docs/models/paymentmethod.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@ A stored payment method.
2929
| `has_replacement` | *bool* | :heavy_check_mark: | Whether this card has a pending replacement that hasn't been applied yet. | false |
3030
| `last_used_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_minus_sign: | The timestamp when this payment method was last used in a transaction. | 2013-07-16T19:23:00.000+00:00 |
3131
| `usage_count` | *int* | :heavy_check_mark: | The number of times this payment method has been used in transactions. | 100 |
32+
| `scheme_transaction_id` | *Nullable[str]* | :heavy_check_mark: | The scheme transaction identifier stored against this payment method. | 123456789012345 |
33+
| `scheme_transaction_id_scheme` | [Nullable[models.CardScheme]](../models/cardscheme.md) | :heavy_check_mark: | The scheme associated with scheme_transaction_id. Only applies to card payments. | visa |
3234
| `buyer` | [OptionalNullable[models.Buyer]](../models/buyer.md) | :heavy_minus_sign: | The optional buyer for which this payment method has been stored. | |
3335
| `external_identifier` | *OptionalNullable[str]* | :heavy_minus_sign: | The merchant reference that can be used to match the payment method against your own records. | card-12345 |
3436
| `status` | [models.PaymentMethodStatus](../models/paymentmethodstatus.md) | :heavy_check_mark: | N/A | |

0 commit comments

Comments
 (0)