Skip to content

Commit b0ba064

Browse files
chore: 🐝 Update SDK - Generate (spec change merged) 1.3.218 (#1431)
Co-authored-by: speakeasybot <bot@speakeasyapi.dev>
1 parent aba9da3 commit b0ba064

8 files changed

Lines changed: 34 additions & 24 deletions

File tree

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

Lines changed: 10 additions & 10 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: 341e83b810f2326f376c9d8be4b692f8
4+
docChecksum: 051c57dde52610a9756f0c3fe7ec663f
55
docVersion: 1.0.0
66
speakeasyVersion: 1.803.2
77
generationVersion: 2.950.13
8-
releaseVersion: 1.3.217
9-
configChecksum: 791fd0a9a929c71eec67f11ff0a3c823
8+
releaseVersion: 1.3.218
9+
configChecksum: e4fba92a99a76b2b94152a1450447044
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: 363d3d79-759a-499b-8bf4-a9b83bed2662
15-
pristine_commit_hash: 0a29d63bf29fc79ccef6a0ed9f868c03c5a68c0b
16-
pristine_tree_hash: 26b6179f3945d68ea20a24cb543a62af431c2ba6
14+
generation_id: 43c8de89-fba2-41b5-8e37-1dc0f3135480
15+
pristine_commit_hash: 6b14dcb950b624aac3f317e29ce8597b59205db7
16+
pristine_tree_hash: a616bc0410733b48ee3664da02058bbb8ef8ef67
1717
features:
1818
python:
1919
acceptHeaders: 3.0.0
@@ -11920,8 +11920,8 @@ trackedFiles:
1192011920
pristine_git_object: 3e38f1a929f7d6b1d6de74604aa87e3d8f010544
1192111921
pyproject.toml:
1192211922
id: 5d07e7d72637
11923-
last_write_checksum: sha1:db38399e66c0e1f0a937f59a4f9a3f566f304dfe
11924-
pristine_git_object: ca7e818a808ceed18e3c3c46a9cf82eeabe6a440
11923+
last_write_checksum: sha1:01c3a72b2a3ec3e2a78a07b90f8e0b638bf717e6
11924+
pristine_git_object: e1f02c07a7d1004a7705b576c9790e431efe1968
1192511925
scripts/prepare_readme.py:
1192611926
id: e0c5957a6035
1192711927
last_write_checksum: sha1:77f44b60b98bc126557ec27391f91dfba764bb54
@@ -11948,8 +11948,8 @@ trackedFiles:
1194811948
pristine_git_object: 86713cfea633e09d33b3d4e65281071fe20e6137
1194911949
src/openrouter/_version.py:
1195011950
id: d8d15ad6c586
11951-
last_write_checksum: sha1:2264790faa5e023c47e1b56a3929e21286bac2c3
11952-
pristine_git_object: 565d4744de28c42036cd981bd325cabe9cf5f1c6
11951+
last_write_checksum: sha1:274af5502fcfc4d933cc925c5f329047346be23b
11952+
pristine_git_object: 320dd603d9467a3c1316da26a1ab0a285ef21873
1195311953
src/openrouter/alpha.py:
1195411954
id: 306c4d93308d
1195511955
last_write_checksum: sha1:80cc0f39649445431cc2247ed0e0765438467766

β€Ž.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.217
40+
version: 1.3.218
4141
additionalDependencies:
4242
dev:
4343
pytest: '>=8.3'

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45208,7 +45208,7 @@ paths:
4520845208
x-hidden: true
4520945209
x-speakeasy-ignore: true
4521045210
post:
45211-
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`.'
45211+
description: 'Starts an agent credit purchase paid with a Machine Payments Protocol (MPP) credential. Open USD (OUSD) is the default token on Tempo when available. Bridged USDC (USDC.e) is an alternative, and card is available when offered. Discover currencies in `x-payment-info.offers`; select a runtime challenge by its `request.currency` contract address, not a purchase-body field. 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`.'
4521245212
operationId: 'createCreditsPurchases'
4521345213
parameters:
4521445214
- 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.'
@@ -45363,11 +45363,11 @@ paths:
4536345363
x-payment-info:
4536445364
offers:
4536545365
- amount: null
45366-
currency: '0x20c000000000000000000000b9537d11c60e8b50'
45366+
currency: '0x20c0000000000000000000006a37DA5C996874BE'
4536745367
intent: 'charge'
4536845368
method: 'tempo'
4536945369
- amount: null
45370-
currency: '0x20c0000000000000000000006a37DA5C996874BE'
45370+
currency: '0x20c000000000000000000000b9537d11c60e8b50'
4537145371
intent: 'charge'
4537245372
method: 'tempo'
4537345373
- amount: null

β€Ž.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:dc859b77ab4ffc9ed47c3fd53bcdbf02f39f263300a7ec08d079dd4fde93e18b
6-
sourceBlobDigest: sha256:5acdbe1fd6200d14451171d8d9d4ed459beb69261d146f67d96c5148ca0c352e
5+
sourceRevisionDigest: sha256:aec6b71a019397e51b2cc46a0f39b44107467a5ecf4fb72d7e25a9a083896797
6+
sourceBlobDigest: sha256:9457bc4bbd78db868cc521d31220fa723ab7e21c8894439a551e5a69aa6fcd83
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:dc859b77ab4ffc9ed47c3fd53bcdbf02f39f263300a7ec08d079dd4fde93e18b
15-
sourceBlobDigest: sha256:5acdbe1fd6200d14451171d8d9d4ed459beb69261d146f67d96c5148ca0c352e
14+
sourceRevisionDigest: sha256:aec6b71a019397e51b2cc46a0f39b44107467a5ecf4fb72d7e25a9a083896797
15+
sourceBlobDigest: sha256:9457bc4bbd78db868cc521d31220fa723ab7e21c8894439a551e5a69aa6fcd83
1616
codeSamplesNamespace: open-router-python-code-samples
17-
codeSamplesRevisionDigest: sha256:ff540aa59cb3207c7fc445f793c5b6e8ee4e505e1e3f7215b9d1aa68cacb663d
17+
codeSamplesRevisionDigest: sha256:c31b44b95c00b16d14bd6f7842725d9ba8e99f6feb4d2704f3c1f82d73442252
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
@@ -4939,4 +4939,14 @@ Based on:
49394939
### Generated
49404940
- [python v1.3.217] .
49414941
### Releases
4942-
- [PyPI v1.3.217] https://pypi.org/project/openrouter/1.3.217 - .
4942+
- [PyPI v1.3.217] https://pypi.org/project/openrouter/1.3.217 - .
4943+
4944+
## 2026-12-01 02:21:01
4945+
### Changes
4946+
Based on:
4947+
- OpenAPI Doc
4948+
- Speakeasy CLI 1.803.2 (2.950.13) https://github.com/speakeasy-api/speakeasy
4949+
### Generated
4950+
- [python v1.3.218] .
4951+
### Releases
4952+
- [PyPI v1.3.218] https://pypi.org/project/openrouter/1.3.218 - .

β€Ž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.217"
3+
version = "1.3.218"
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.217"
6+
__version__: str = "1.3.218"
77
__openapi_doc_version__: str = "1.0.0"
88
__gen_version__: str = "2.950.13"
9-
__user_agent__: str = "speakeasy-sdk/python 1.3.217 2.950.13 1.0.0 openrouter"
9+
__user_agent__: str = "speakeasy-sdk/python 1.3.218 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)