Skip to content

Commit 4ec8fc4

Browse files
github-actions[bot]speakeasybotspeakeasy-github[bot]
authored
chore: 🐝 Update SDK - Generate (spec change merged) 1.3.193 (#1374)
Co-authored-by: speakeasybot <bot@speakeasyapi.dev> Co-authored-by: speakeasy-github[bot] <128539517+speakeasy-github[bot]@users.noreply.github.com>
1 parent c063e94 commit 4ec8fc4

8 files changed

Lines changed: 50 additions & 32 deletions

File tree

β€Ž.speakeasy/gen.lockβ€Ž

Lines changed: 10 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
11
lockVersion: 2.0.0
22
id: c48cf606-fb42-4a45-9c23-8f0555307828
33
management:
4-
docChecksum: ead11b051c18143a784363a4a717c7b1
4+
docChecksum: 9b1eaacc1871bd7b91f7dbd0b165094a
55
docVersion: 1.0.0
66
speakeasyVersion: 1.803.2
77
generationVersion: 2.950.13
8-
releaseVersion: 1.3.192
9-
configChecksum: 17c5c557633967b50b31eea2d529c969
8+
releaseVersion: 1.3.193
9+
configChecksum: d12f25ef12f72c8f2d1944d1713704a5
1010
repoURL: https://github.com/OpenRouterTeam/python-sdk.git
1111
installationURL: https://github.com/OpenRouterTeam/python-sdk.git
1212
published: true
1313
persistentEdits:
14-
generation_id: 56b5e38b-fe7c-419c-890d-b59e2c9fef76
15-
pristine_commit_hash: 008e6346fa3d33d765149fde12d2f7512e181d16
16-
pristine_tree_hash: 6dffda3745f76e910e188bbc1bd059193c6f380c
14+
generation_id: a79de1ea-e6b7-40f8-a2cf-ae7f35b1f451
15+
pristine_commit_hash: 91628015c1be34b6bd47bd89953fa93ec49cb0c6
16+
pristine_tree_hash: e8be533b3a8caa4aa328fd220bb5b731836341e7
1717
features:
1818
python:
1919
acceptHeaders: 3.0.0
@@ -11696,8 +11696,8 @@ trackedFiles:
1169611696
pristine_git_object: 3e38f1a929f7d6b1d6de74604aa87e3d8f010544
1169711697
pyproject.toml:
1169811698
id: 5d07e7d72637
11699-
last_write_checksum: sha1:e8efbc16e299586cb4aab6d1538689d0dfdf0dd8
11700-
pristine_git_object: 5ef9b9036f0f8c5809098b91e62cd184ea9c465b
11699+
last_write_checksum: sha1:4f442f636cb1a8c8d226dc8c2ca631057027bc11
11700+
pristine_git_object: ca7837e7452d7692a26517ea7edebf53433d898b
1170111701
scripts/prepare_readme.py:
1170211702
id: e0c5957a6035
1170311703
last_write_checksum: sha1:77f44b60b98bc126557ec27391f91dfba764bb54
@@ -11724,8 +11724,8 @@ trackedFiles:
1172411724
pristine_git_object: 86713cfea633e09d33b3d4e65281071fe20e6137
1172511725
src/openrouter/_version.py:
1172611726
id: d8d15ad6c586
11727-
last_write_checksum: sha1:31599a151d812c7c9a96890cf80683200443f68b
11728-
pristine_git_object: 1ffdf5e6ff880ab126e742878bd9cf3dba824e8d
11727+
last_write_checksum: sha1:c11fa4f89990eec4b3a0688e7a9d8404893ef46b
11728+
pristine_git_object: 0b62064995b1cc275cb895693cba709ba5e3f846
1172911729
src/openrouter/alpha.py:
1173011730
id: 306c4d93308d
1173111731
last_write_checksum: sha1:80cc0f39649445431cc2247ed0e0765438467766
@@ -21747,9 +21747,3 @@ examples:
2174721747
"500":
2174821748
application/json: {"error": {"code": 500, "message": "Internal Server Error"}}
2174921749
examplesVersion: 1.0.2
21750-
releaseNotes: |
21751-
## Python SDK Changes:
21752-
* `open_router.scim.create()`: **Deprecated**
21753-
* `open_router.scim.delete()`: **Deprecated**
21754-
* `open_router.scim.update()`: **Deprecated**
21755-
* `open_router.scim.create_sync_job()`: **Deprecated**

β€Ž.speakeasy/gen.yamlβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ generation:
3737
documentation: mintlify
3838
preApplyUnionDiscriminators: true
3939
python:
40-
version: 1.3.192
40+
version: 1.3.193
4141
additionalDependencies:
4242
dev:
4343
pytest: '>=8.3'

β€Ž.speakeasy/out.openapi.yamlβ€Ž

Lines changed: 19 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -43952,7 +43952,7 @@ paths:
4395243952
x-hidden: true
4395343953
x-speakeasy-ignore: true
4395443954
post:
43955-
description: 'Starts an agent credit purchase paid with a Machine Payments Protocol (MPP) credential: USDC on Tempo, or a card when one is offered. The first call answers `402` with one `WWW-Authenticate: Payment ...` challenge per payment option; pay one of them and retry the same request, same `Idempotency-Key`, with the signed credential in `Payment-Authorization: Payment ...` (or in `Authorization: Payment ...` when the management key is sent as `X-Api-Key`). A paid request answers `202`: the transfer was broadcast or the card was charged, and the payment is still being confirmed, so credits arrive asynchronously. Poll the URL in the `Location` header, `GET /api/v1/credits/purchases/{id}`, until `status` is `credited` or `failed`.'
43955+
description: 'Starts an agent credit purchase paid with a Machine Payments Protocol (MPP) credential: Bridged USDC (USDC.e) or Open USD (OUSD) on Tempo, with USDC.e offered first, or a card when one is offered. Discover currencies in `x-payment-info.offers`; select a runtime challenge by its `request.currency` contract address, not a purchase-body field. Production currently refuses OUSD selections. The first call answers `402` with one `WWW-Authenticate: Payment ...` challenge per payment option; pay one of them and retry the same request, same `Idempotency-Key`, with the signed credential in `Payment-Authorization: Payment ...` (or in `Authorization: Payment ...` when the management key is sent as `X-Api-Key`). A paid request answers `202`: the transfer was broadcast or the card was charged, and the payment is still being confirmed, so credits arrive asynchronously. Poll the URL in the `Location` header, `GET /api/v1/credits/purchases/{id}`, until `status` is `credited` or `failed`.'
4395643956
operationId: 'createCreditsPurchases'
4395743957
parameters:
4395843958
- description: 'Identifies the purchase. Send the same value on the unpaid request and on the paid retry; use a new value for a new purchase.'
@@ -43987,10 +43987,10 @@ paths:
4398743987
example: '/api/v1/credits/purchases/pi_3PqXyZ2eZvKYlo2C0abc1234'
4398843988
type: 'string'
4398943989
Payment-Receipt:
43990-
description: 'The payment reference, on the request that paid: the Tempo transaction hash for USDC, or the PaymentIntent ID for a card. Absent when an earlier request already paid this purchase.'
43990+
description: 'The payment reference, on the request that paid: the transaction hash for a Tempo payment, or the PaymentIntent ID for a card. Absent when an earlier request already paid this purchase.'
4399143991
required: false
4399243992
schema:
43993-
description: 'The payment reference, on the request that paid: the Tempo transaction hash for USDC, or the PaymentIntent ID for a card. Absent when an earlier request already paid this purchase.'
43993+
description: 'The payment reference, on the request that paid: the transaction hash for a Tempo payment, or the PaymentIntent ID for a card. Absent when an earlier request already paid this purchase.'
4399443994
example: '0x8f3c2b1a9e7d6c5b4a39281706f5e4d3c2b1a09f8e7d6c5b4a39281706f5e4d3'
4399543995
type: 'string'
4399643996
'400':
@@ -44028,10 +44028,10 @@ paths:
4402844028
example: '<https://openrouter.ai/api/v1/credits/purchases/setup>; rel="help"'
4402944029
type: 'string'
4403044030
WWW-Authenticate:
44031-
description: 'The MPP challenges, one per way to pay: `Payment id="...", method="tempo", intent="charge", ...` for USDC on Tempo and, when cards are offered, `Payment id="...", method="stripe", intent="charge", ...` for a card. Pay one of them.'
44031+
description: 'The MPP challenges, one per way to pay: `Payment id="...", method="tempo", intent="charge", ...` for the selected stablecoin on Tempo and, when cards are offered, `Payment id="...", method="stripe", intent="charge", ...` for a card. Pay one of them.'
4403244032
required: true
4403344033
schema:
44034-
description: 'The MPP challenges, one per way to pay: `Payment id="...", method="tempo", intent="charge", ...` for USDC on Tempo and, when cards are offered, `Payment id="...", method="stripe", intent="charge", ...` for a card. Pay one of them.'
44034+
description: 'The MPP challenges, one per way to pay: `Payment id="...", method="tempo", intent="charge", ...` for the selected stablecoin on Tempo and, when cards are offered, `Payment id="...", method="stripe", intent="charge", ...` for a card. Pay one of them.'
4403544035
type: 'string'
4403644036
'403':
4403744037
content:
@@ -44104,6 +44104,20 @@ paths:
4410444104
- 'Credits'
4410544105
x-fern-ignore: true
4410644106
x-hidden: true
44107+
x-payment-info:
44108+
offers:
44109+
- amount: null
44110+
currency: '0x20c000000000000000000000b9537d11c60e8b50'
44111+
intent: 'charge'
44112+
method: 'tempo'
44113+
- amount: null
44114+
currency: '0x20c0000000000000000000006a37DA5C996874BE'
44115+
intent: 'charge'
44116+
method: 'tempo'
44117+
- amount: null
44118+
currency: 'usd'
44119+
intent: 'charge'
44120+
method: 'stripe'
4410744121
x-speakeasy-ignore: true
4410844122
parameters:
4410944123
- $ref: "#/components/parameters/AppIdentifier"

β€Ž.speakeasy/workflow.lockβ€Ž

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,19 +2,19 @@ speakeasyVersion: 1.803.2
22
sources:
33
OpenRouter API:
44
sourceNamespace: open-router-chat-completions-api
5-
sourceRevisionDigest: sha256:0019b75a637881369f36b45f666e0fc45a1e7f0ee9ecf23d552a4607c52805c9
6-
sourceBlobDigest: sha256:bfe1f21785f5e82dac1a07e9cc63a088f7a6d38fa3b1d67810dcf0bc320f10e3
5+
sourceRevisionDigest: sha256:f85fc2900ce989da5dfa7c02b5a1ea427a32bac5b21871a93caeecafd266aa54
6+
sourceBlobDigest: sha256:b5435972d1e8941e0ee84fdc49dbf46f996f18d5444376a2e3bf47564514b852
77
tags:
88
- latest
99
- 1.0.0
1010
targets:
1111
open-router:
1212
source: OpenRouter API
1313
sourceNamespace: open-router-chat-completions-api
14-
sourceRevisionDigest: sha256:0019b75a637881369f36b45f666e0fc45a1e7f0ee9ecf23d552a4607c52805c9
15-
sourceBlobDigest: sha256:bfe1f21785f5e82dac1a07e9cc63a088f7a6d38fa3b1d67810dcf0bc320f10e3
14+
sourceRevisionDigest: sha256:f85fc2900ce989da5dfa7c02b5a1ea427a32bac5b21871a93caeecafd266aa54
15+
sourceBlobDigest: sha256:b5435972d1e8941e0ee84fdc49dbf46f996f18d5444376a2e3bf47564514b852
1616
codeSamplesNamespace: open-router-python-code-samples
17-
codeSamplesRevisionDigest: sha256:fcdb80bc7b3d3729505a4b54415d9eb3c2e34ac3d8689aebc29722571dab728e
17+
codeSamplesRevisionDigest: sha256:ebfc1c6009f2fcd8e5354d9c19bdc073271432b1775a15e550114f7d5349a8bf
1818
workflow:
1919
workflowVersion: 1.0.0
2020
speakeasyVersion: 1.803.2

β€ŽRELEASES.mdβ€Ž

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4689,4 +4689,14 @@ Based on:
46894689
### Generated
46904690
- [python v1.3.192] .
46914691
### Releases
4692-
- [PyPI v1.3.192] https://pypi.org/project/openrouter/1.3.192 - .
4692+
- [PyPI v1.3.192] https://pypi.org/project/openrouter/1.3.192 - .
4693+
4694+
## 2026-11-19 09:18:56
4695+
### Changes
4696+
Based on:
4697+
- OpenAPI Doc
4698+
- Speakeasy CLI 1.803.2 (2.950.13) https://github.com/speakeasy-api/speakeasy
4699+
### Generated
4700+
- [python v1.3.193] .
4701+
### Releases
4702+
- [PyPI v1.3.193] https://pypi.org/project/openrouter/1.3.193 - .

β€Žpyproject.tomlβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "openrouter"
3-
version = "1.3.192"
3+
version = "1.3.193"
44
description = "Official Python Client SDK for OpenRouter."
55
authors = [{ name = "OpenRouter" },]
66
readme = "README-PYPI.md"

β€Žsrc/openrouter/_version.pyβ€Ž

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@
33
import importlib.metadata
44

55
__title__: str = "openrouter"
6-
__version__: str = "1.3.192"
6+
__version__: str = "1.3.193"
77
__openapi_doc_version__: str = "1.0.0"
88
__gen_version__: str = "2.950.13"
9-
__user_agent__: str = "speakeasy-sdk/python 1.3.192 2.950.13 1.0.0 openrouter"
9+
__user_agent__: str = "speakeasy-sdk/python 1.3.193 2.950.13 1.0.0 openrouter"
1010

1111
try:
1212
if __package__ is not None:

β€Žuv.lockβ€Ž

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
Β (0)