Skip to content

Commit 9e4603c

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

23 files changed

Lines changed: 298 additions & 90 deletions

‎.speakeasy/gen.lock‎

Lines changed: 46 additions & 40 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: 760d004875633e6348b9bfb890c3bd8c
4+
docChecksum: 71a40d3e7b0f5a986bebaf119c8585d6
55
docVersion: 1.0.0
66
speakeasyVersion: 1.787.0
77
generationVersion: 2.914.0
8-
releaseVersion: 1.3.21
9-
configChecksum: 35810a7fae971b75e145e6ddf5b5f316
8+
releaseVersion: 1.3.22
9+
configChecksum: 238dc871088e377fa31c2687cfb5afb2
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: 6fec7917-f08d-434d-b959-507ed8cfe7cf
15-
pristine_commit_hash: 85c0ac656b6f26377214e1c9ef35f34a15fed715
16-
pristine_tree_hash: b46ac90e077e5e8c6697a9ef837470606e04cd13
14+
generation_id: c4477706-7b60-41e2-9d6f-5bf3512be933
15+
pristine_commit_hash: 428319492f51382f83f9daf56731d626fd7916ca
16+
pristine_tree_hash: 3fb99917fb3c65b19b0c5a7176cff17a93c7c892
1717
features:
1818
python:
1919
acceptHeaders: 3.0.0
@@ -6808,12 +6808,16 @@ trackedFiles:
68086808
pristine_git_object: 34f4f07fb3008df83646fa3d88ce04009274246a
68096809
docs/components/speechrequest.mdx:
68106810
id: 06e81b0433f6
6811-
last_write_checksum: sha1:66843df708017c70a8f112dcd4994d821ff6726f
6812-
pristine_git_object: 0f96859b4a173354fca9bd0da703fcf555c44e0f
6811+
last_write_checksum: sha1:b8cafb4ce14ea3983bd792eeaf95be0dbf4c8c3e
6812+
pristine_git_object: 1ffadd62bda287f96c35e4b83a7408f3c0fc117b
6813+
docs/components/speechrequestdatacollection.mdx:
6814+
id: 6c5938568888
6815+
last_write_checksum: sha1:89a08b4c4de66c1ef7676792a38747e030ed6729
6816+
pristine_git_object: 01f84221304dd8b2ff9c1ad99b796177b7ba84d1
68136817
docs/components/speechrequestprovider.mdx:
68146818
id: 4f78ed0394c4
6815-
last_write_checksum: sha1:99d94c6b01dbd3e875c213584f97c7dca545a6a9
6816-
pristine_git_object: 3a95d19f4a88dbd0c96cec7cf53d9264927a3c0d
6819+
last_write_checksum: sha1:9f3f0e2abb87d2b509d39bc4d70291c69335fa65
6820+
pristine_git_object: fbfa71493de4d04872309c96b1453bf51c7d2035
68176821
docs/components/speechrequestresponseformat.mdx:
68186822
id: bd09f77a4a90
68196823
last_write_checksum: sha1:1b87242f33c6d22a08dd085d0ef41335ec2e9b0c
@@ -6952,12 +6956,16 @@ trackedFiles:
69526956
pristine_git_object: 45d1eef7be13575aac15391f23c310480852abf8
69536957
docs/components/sttrequest.mdx:
69546958
id: 6a5e33cf6dbe
6955-
last_write_checksum: sha1:d15f6c0a8e2fc792b37668f55807879cf446586f
6956-
pristine_git_object: 49ab89dfaa79e89ab50bfa71b815a8139303a004
6959+
last_write_checksum: sha1:6dd4e031bf02e6188c2cf524bf63d60132cd1d94
6960+
pristine_git_object: 928d5db30f7f4561578dadc3e67db46a61afe951
6961+
docs/components/sttrequestdatacollection.mdx:
6962+
id: d8523e72c962
6963+
last_write_checksum: sha1:485caf2a759a45e6666f611663eea23924032df6
6964+
pristine_git_object: 293a4f1162a245b3945674974fa399b1c0cae9b4
69576965
docs/components/sttrequestprovider.mdx:
69586966
id: d8b1bac8e745
6959-
last_write_checksum: sha1:e15551eddbe4c1f7c4515fa556d4873075512eea
6960-
pristine_git_object: 5eebff082dc885ed94ec0e6ceed8446c2ca104ae
6967+
last_write_checksum: sha1:20f3e76af21a43325087b16c63a3dcb7a0f80c56
6968+
pristine_git_object: ddc964b62bef962373bf57f096bb3b3abd2f80ac
69616969
docs/components/sttrequestresponseformat.mdx:
69626970
id: ab58b1666609
69636971
last_write_checksum: sha1:f0cbf9b5b35d8ef8c049a3b84c47f6c43778a00a
@@ -8124,8 +8132,8 @@ trackedFiles:
81248132
pristine_git_object: b5031668ec1156a4157609e4812b7a3937b802a2
81258133
docs/operations/createaudiotranscriptionsmultipartrequestbody.mdx:
81268134
id: 0550cc56c73a
8127-
last_write_checksum: sha1:5f488a3854feb0fb865ce68b50b39a735a3bd94c
8128-
pristine_git_object: 3c8affe78a49e03bde0b56b5f7865daa3e88a8b3
8135+
last_write_checksum: sha1:33b9c5e6e94a8cb209b1d83cdd9fd398d8d8c772
8136+
pristine_git_object: 784fc7b0f092c77bcf4cfe534903d94f190848d9
81298137
docs/operations/createaudiotranscriptionsrequest.mdx:
81308138
id: 68a813383936
81318139
last_write_checksum: sha1:a3ad7e4691917927539d6c614788da7f4d6b4892
@@ -9916,8 +9924,8 @@ trackedFiles:
99169924
pristine_git_object: 240f5da9d86fc9dbbaa7efe345da740768c773b3
99179925
docs/sdks/stt/README.mdx:
99189926
id: 190b0dc9a5d1
9919-
last_write_checksum: sha1:a01c41c73ba10dc2ae69a7f1b404551721312c7d
9920-
pristine_git_object: c4b66757c280205b008221b84356d92015974ec7
9927+
last_write_checksum: sha1:4e8456d718c605e733f4d3b51f35fc4c36c637d3
9928+
pristine_git_object: 50c67920c8155ab8d39fcc09fb1cfc94208556d8
99219929
docs/sdks/systemone/README.mdx:
99229930
id: 55c317c71f3d
99239931
last_write_checksum: sha1:b1ad82361fe1dbef6bedeead3783c75ec36283b6
@@ -9928,8 +9936,8 @@ trackedFiles:
99289936
pristine_git_object: 1dd30f0b898f2a842d1bb585b03d887be90e7845
99299937
docs/sdks/tts/README.mdx:
99309938
id: cd1132543884
9931-
last_write_checksum: sha1:a13e2ce78709e0c7b1977d8a518ff2447c8f37a6
9932-
pristine_git_object: 345d9688a3dd09ae04e9e82efc7f7611e7df3f06
9939+
last_write_checksum: sha1:c79acf8b375dfd535a3f5948da5f65446397c49a
9940+
pristine_git_object: 2a3eda6822076c9de566cbe56bbe5cfdc691cf9d
99339941
docs/sdks/vault/README.mdx:
99349942
id: 3738c6722acd
99359943
last_write_checksum: sha1:12acdfed4c2a32488d98b6091fd8c392af516494
@@ -9948,8 +9956,8 @@ trackedFiles:
99489956
pristine_git_object: 3e38f1a929f7d6b1d6de74604aa87e3d8f010544
99499957
pyproject.toml:
99509958
id: 5d07e7d72637
9951-
last_write_checksum: sha1:b7e0b8d7420690eeb9bf098a294279645db0b65c
9952-
pristine_git_object: e3e7ae7f960e9d1baeab971bcade558710a80664
9959+
last_write_checksum: sha1:a432e127e5cd756ec845119ec104af99b2a806e2
9960+
pristine_git_object: 3b4cd992ae65f59d2dd59144aded9311be0aa88a
99539961
scripts/prepare_readme.py:
99549962
id: e0c5957a6035
99559963
last_write_checksum: sha1:77f44b60b98bc126557ec27391f91dfba764bb54
@@ -9976,8 +9984,8 @@ trackedFiles:
99769984
pristine_git_object: 86713cfea633e09d33b3d4e65281071fe20e6137
99779985
src/openrouter/_version.py:
99789986
id: d8d15ad6c586
9979-
last_write_checksum: sha1:194010eeca6ea4256079ef235ac549751778f5e3
9980-
pristine_git_object: 23ec6d61b1489ced1f8f923a5f68a121dae58568
9987+
last_write_checksum: sha1:1d37211f882a611fac524f44f05e86a75e8448f1
9988+
pristine_git_object: ba4305600ee7c677fb0962b892eaa30da4c126d4
99819989
src/openrouter/alpha.py:
99829990
id: 306c4d93308d
99839991
last_write_checksum: sha1:30f55a360f41376ab194b9ea725fe4e001a5ae1a
@@ -10024,8 +10032,8 @@ trackedFiles:
1002410032
pristine_git_object: ad3d247954547814054c01989a2dff3d12b3e4e1
1002510033
src/openrouter/components/__init__.py:
1002610034
id: 81754e97b3f4
10027-
last_write_checksum: sha1:9bbb17a6eaf23c3cef14d9a72be85336a5321490
10028-
pristine_git_object: 518612f8ee2321c331a1b097ee8c5c5136129020
10035+
last_write_checksum: sha1:7075570f13cc6d2d06d7169e2a777ceaf563452e
10036+
pristine_git_object: bc6c75f42fe5f7993ac396fb11707cc60e83634f
1002910037
src/openrouter/components/aabenchmarkentry.py:
1003010038
id: e2e0f0b48c82
1003110039
last_write_checksum: sha1:fab4d9a24d2cea937bb749d46c5f83941e99d65c
@@ -12908,8 +12916,8 @@ trackedFiles:
1290812916
pristine_git_object: 4633e5d7658c500aa903ce8caa8ef86cc97b78eb
1290912917
src/openrouter/components/speechrequest.py:
1291012918
id: 2a9400167112
12911-
last_write_checksum: sha1:aaa3848b4d94cddc33136487e412390faafa9b74
12912-
pristine_git_object: 1f95cfee9d7afc406419c11e4b4c38005af50cfc
12919+
last_write_checksum: sha1:282f155b9d0b09e015d3dda0a73abe8f42e44dbc
12920+
pristine_git_object: 5a62dc470dde417e458ab488dd92c385dcc59459
1291312921
src/openrouter/components/stopservertoolswhencondition.py:
1291412922
id: 2deeda4209ac
1291512923
last_write_checksum: sha1:581e0ee62776d42bf598b9f68b998faabfecd3ce
@@ -12984,8 +12992,8 @@ trackedFiles:
1298412992
pristine_git_object: 75281f477b0ce85cd1032ed4b0c949a30a51b7f9
1298512993
src/openrouter/components/sttrequest.py:
1298612994
id: 5fb1d469e16e
12987-
last_write_checksum: sha1:84b196eb8bfb9eac3c35879bcd28602ce666ff70
12988-
pristine_git_object: 452ad0871db45705ff25bdf582e4dd245c2de4b8
12995+
last_write_checksum: sha1:95244cf352fde4190323e0560d934bb1c410fcd2
12996+
pristine_git_object: 8deaa5590b601df3481051db86c7b4cab58dfc92
1298912997
src/openrouter/components/sttresponse.py:
1299012998
id: 2dc8eb8daaca
1299112999
last_write_checksum: sha1:420c65736ba0db3da84592d5639b41b81b6f87c4
@@ -13624,8 +13632,8 @@ trackedFiles:
1362413632
pristine_git_object: 4e8414f223370bff1e4f060919f36f70da6ec40c
1362513633
src/openrouter/operations/createaudiotranscriptions_multipart.py:
1362613634
id: da07d463225a
13627-
last_write_checksum: sha1:d7909d045c4116267c398ac0c735037b382c78bc
13628-
pristine_git_object: 91eaa7501c49f081ae44ba9d0c307f46b2630e43
13635+
last_write_checksum: sha1:8682e1f679b20c9f20ed9cbc303d129764c4eb84
13636+
pristine_git_object: 62e0f114856f94fed418ea19cf5b279ea918bcd7
1362913637
src/openrouter/operations/createauthkeyscode.py:
1363013638
id: 4253a437de22
1363113639
last_write_checksum: sha1:8f496fd0e965aba76a0882a3af0382649d0f8c4d
@@ -14212,8 +14220,8 @@ trackedFiles:
1421214220
pristine_git_object: 26433165a0b1c25d7bd3115b9b129b18f2dc9387
1421314221
src/openrouter/stt.py:
1421414222
id: fc0c2f669423
14215-
last_write_checksum: sha1:2bd6bfa152883e3b95fbafb097fe77156d89379f
14216-
pristine_git_object: d368541ca6c3dc15e7adf5925db8d698afd93ad6
14223+
last_write_checksum: sha1:33a6a6f9973fd1578d6c98720dcde1c17e428f5e
14224+
pristine_git_object: 9787a43efe6fbf7233ffcc14a340a29663e61a01
1421714225
src/openrouter/systemone.py:
1421814226
id: 7e0a0e237bb1
1421914227
last_write_checksum: sha1:fffd7413e70f4840b793888763631b51929eb766
@@ -14224,8 +14232,8 @@ trackedFiles:
1422414232
pristine_git_object: 701fa8597ff85f41a60736ade55fcb32f9ec7125
1422514233
src/openrouter/tts.py:
1422614234
id: 5055d4b95f1d
14227-
last_write_checksum: sha1:7a6e8693577e95b12772a6b4a60a057cf57ee5eb
14228-
pristine_git_object: ddd202a1d8ddc65802990dff8facf2e61e36a7d8
14235+
last_write_checksum: sha1:e771b211ff92fd56d79f2c6ce05fa43211cfdbd8
14236+
pristine_git_object: 6da4bd907cfe243374782b9523bccfad7071976d
1422914237
src/openrouter/types/__init__.py:
1423014238
id: 5eab536205b7
1423114239
last_write_checksum: sha1:f9ad14217f832e74f594285960125add50324be9
@@ -18244,7 +18252,5 @@ examples:
1824418252
examplesVersion: 1.0.2
1824518253
releaseNotes: |
1824618254
## Python SDK Changes:
18247-
* `open_router.observability.list()`: `response.data[]` **Changed**
18248-
* `open_router.observability.create()`: `response.data` **Changed**
18249-
* `open_router.observability.get()`: `response.data` **Changed**
18250-
* `open_router.observability.update()`: `response.data` **Changed**
18255+
* `open_router.tts.create_speech()`: `request.provider` **Changed**
18256+
* `open_router.stt.create_transcription()`: `request.provider` **Changed**

‎.speakeasy/gen.yaml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ generation:
3636
documentation: mintlify
3737
preApplyUnionDiscriminators: true
3838
python:
39-
version: 1.3.21
39+
version: 1.3.22
4040
additionalDependencies:
4141
dev: {}
4242
main: {}

‎.speakeasy/out.openapi.yaml‎

Lines changed: 39 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28905,10 +28905,28 @@ components:
2890528905
example: 'mistralai/voxtral-mini-tts-2603'
2890628906
type: 'string'
2890728907
provider:
28908-
description: 'Provider-specific passthrough configuration'
28908+
description: 'Provider configuration: data policy routing preferences (`zdr`, `data_collection`) and provider-specific passthrough options'
2890928909
properties:
28910+
data_collection:
28911+
description: "Data collection setting. If no available model provider meets the requirement, your request will return an error.\n- allow: (default) allow providers which store user data non-transiently and may train on it\n\n- deny: use only providers which do not collect user data."
28912+
enum:
28913+
- 'deny'
28914+
- 'allow'
28915+
- null
28916+
example: 'allow'
28917+
title: 'SpeechRequestDataCollection'
28918+
type:
28919+
- 'string'
28920+
- 'null'
28921+
x-speakeasy-unknown-values: allow
2891028922
options:
2891128923
$ref: '#/components/schemas/ProviderOptions'
28924+
zdr:
28925+
description: 'Whether to restrict routing to only ZDR (Zero Data Retention) endpoints. When true, only endpoints that do not retain prompts will be used.'
28926+
example: true
28927+
type:
28928+
- 'boolean'
28929+
- 'null'
2891228930
type: 'object'
2891328931
response_format:
2891428932
default: 'pcm'
@@ -29462,10 +29480,28 @@ components:
2946229480
example: 'openai/whisper-large-v3'
2946329481
type: 'string'
2946429482
provider:
29465-
description: 'Provider-specific passthrough configuration'
29483+
description: 'Provider configuration: data policy routing preferences (`zdr`, `data_collection`) and provider-specific passthrough options'
2946629484
properties:
29485+
data_collection:
29486+
description: "Data collection setting. If no available model provider meets the requirement, your request will return an error.\n- allow: (default) allow providers which store user data non-transiently and may train on it\n\n- deny: use only providers which do not collect user data."
29487+
enum:
29488+
- 'deny'
29489+
- 'allow'
29490+
- null
29491+
example: 'allow'
29492+
title: 'STTRequestDataCollection'
29493+
type:
29494+
- 'string'
29495+
- 'null'
29496+
x-speakeasy-unknown-values: allow
2946729497
options:
2946829498
$ref: '#/components/schemas/ProviderOptions'
29499+
zdr:
29500+
description: 'Whether to restrict routing to only ZDR (Zero Data Retention) endpoints. When true, only endpoints that do not retain prompts will be used.'
29501+
example: true
29502+
type:
29503+
- 'boolean'
29504+
- 'null'
2946929505
type: 'object'
2947029506
response_format:
2947129507
description: 'Output format. "json" (default) returns { text, usage }. "verbose_json" additionally returns task, language, duration, and segment-level timestamps; only supported by OpenAI-compatible providers.'
@@ -34223,7 +34259,7 @@ paths:
3422334259
description: 'The model to use for transcription.'
3422434260
type: 'string'
3422534261
provider:
34226-
description: 'JSON-encoded provider preferences object, the same shape as the JSON body field: { "options": { "<provider-slug>": { ... } } }. Only options for the matched provider are forwarded. Must decode to a JSON object.'
34262+
description: 'JSON-encoded provider preferences object, the same shape as the JSON body field: { "zdr": true, "data_collection": "deny", "options": { "<provider-slug>": { ... } } }. Only options for the matched provider are forwarded. Must decode to a JSON object.'
3422734263
type: 'string'
3422834264
response_format:
3422934265
description: 'The response format. "json" (default) returns { text, usage }; "verbose_json" additionally returns task, language, duration, and segment-level timestamps (OpenAI-compatible providers only).'

‎.speakeasy/workflow.lock‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,19 +2,19 @@ speakeasyVersion: 1.787.0
22
sources:
33
OpenRouter API:
44
sourceNamespace: open-router-chat-completions-api
5-
sourceRevisionDigest: sha256:7ecc59f8477c2a4dad600eb698d22e9107814a9062c15b48037813417d96855b
6-
sourceBlobDigest: sha256:c5e595300f1ffcb043e161c34cb62f56f367dc8758066514fa1ae536bb1be990
5+
sourceRevisionDigest: sha256:ca24e1566753d8f7a103f4983ae6638c283950b90b0dcc6c151c5747819577c4
6+
sourceBlobDigest: sha256:e6942a48b2145b89c68feb7ed14991264eea09734a53ff363f6a2848296c9d8c
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:7ecc59f8477c2a4dad600eb698d22e9107814a9062c15b48037813417d96855b
15-
sourceBlobDigest: sha256:c5e595300f1ffcb043e161c34cb62f56f367dc8758066514fa1ae536bb1be990
14+
sourceRevisionDigest: sha256:ca24e1566753d8f7a103f4983ae6638c283950b90b0dcc6c151c5747819577c4
15+
sourceBlobDigest: sha256:e6942a48b2145b89c68feb7ed14991264eea09734a53ff363f6a2848296c9d8c
1616
codeSamplesNamespace: open-router-python-code-samples
17-
codeSamplesRevisionDigest: sha256:647bd195e588b6bff60866f8bef70e7bf645e3fefd16af22ebdd7586a3fd9e66
17+
codeSamplesRevisionDigest: sha256:19fcc3ebdfdb5d287219132c54f7a853732f8c5576e2eea6633af423c75e79b2
1818
workflow:
1919
workflowVersion: 1.0.0
2020
speakeasyVersion: 1.787.0

‎RELEASES.md‎

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2979,4 +2979,14 @@ Based on:
29792979
### Generated
29802980
- [python v1.3.21] .
29812981
### Releases
2982-
- [PyPI v1.3.21] https://pypi.org/project/openrouter/1.3.21 - .
2982+
- [PyPI v1.3.21] https://pypi.org/project/openrouter/1.3.21 - .
2983+
2984+
## 2026-10-02 21:44:38
2985+
### Changes
2986+
Based on:
2987+
- OpenAPI Doc
2988+
- Speakeasy CLI 1.787.0 (2.914.0) https://github.com/speakeasy-api/speakeasy
2989+
### Generated
2990+
- [python v1.3.22] .
2991+
### Releases
2992+
- [PyPI v1.3.22] https://pypi.org/project/openrouter/1.3.22 - .

0 commit comments

Comments
 (0)