Skip to content

Commit 05dd8f4

Browse files
github-actions[bot]speakeasybotspeakeasy-github[bot]
authored
chore: 🐝 Update SDK - Generate (spec change merged) 1.1.8 (#550)
Co-authored-by: speakeasybot <bot@speakeasyapi.dev> Co-authored-by: speakeasy-github[bot] <128539517+speakeasy-github[bot]@users.noreply.github.com>
1 parent 32e2042 commit 05dd8f4

14 files changed

Lines changed: 74 additions & 65 deletions

‎.speakeasy/gen.lock‎

Lines changed: 26 additions & 27 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: a85cf9e0f5d8d33150fd6c4f7f022a72
4+
docChecksum: 426319a5c6585750c57e4cec41ea2a89
55
docVersion: 1.0.0
66
speakeasyVersion: 1.787.0
77
generationVersion: 2.914.0
8-
releaseVersion: 1.1.7
9-
configChecksum: c55f72f8fc5fe60111dcf6db8bb475e4
8+
releaseVersion: 1.1.8
9+
configChecksum: ac2e66aca7e4214d06bea8a22b34a380
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: 73b125b7-861d-4ed7-b039-c59035d09a09
15-
pristine_commit_hash: e85aaafee4cd2175cf7eb0b15e7b0169d76a4913
16-
pristine_tree_hash: 2de837cd786af70349c7ad77c6c59554a1b4f1c0
14+
generation_id: 74eaa39b-d3cc-436a-a479-59d95f60d97a
15+
pristine_commit_hash: bcb19a910e78770dad3220b402c527a995a329a6
16+
pristine_tree_hash: ccd23afd1bcaa04d3c51dd0b6cfcfcbba08d91dc
1717
features:
1818
python:
1919
acceptHeaders: 3.0.0
@@ -5766,8 +5766,8 @@ trackedFiles:
57665766
pristine_git_object: 7cab840ae2623e4f8ccd5d34b4997e8243cd72d8
57675767
docs/operations/deletefilerequest.mdx:
57685768
id: fa38696c8455
5769-
last_write_checksum: sha1:7eb16774a8ae2220532b26d9f22e0bf84c66d539
5770-
pristine_git_object: 3202a43f729c1d8699d46ef23f62074d04114e08
5769+
last_write_checksum: sha1:001d42b9af6e87c48c58c00b08a519db30a508d4
5770+
pristine_git_object: a41b1ee131eef8ef7d2c6be1f2030f86041ee14c
57715771
docs/operations/deleteguardrailglobals.mdx:
57725772
id: f3c051209faf
57735773
last_write_checksum: sha1:1b12ecd3f259ec98d2377fceeb967163ddaba3cb
@@ -5846,8 +5846,8 @@ trackedFiles:
58465846
pristine_git_object: 8415a66852abad293076598cc27010eddfcfa130
58475847
docs/operations/downloadfilecontentrequest.mdx:
58485848
id: 04df99863d55
5849-
last_write_checksum: sha1:5e6181d6eb82ac0b2616de79b2aecea9baa36c32
5850-
pristine_git_object: dcb0cb35b97a8dfa539c246bed8756b3aa8bf814
5849+
last_write_checksum: sha1:e5a85a6a6732effe878ee459804e4a84fbcbd1fd
5850+
pristine_git_object: 8b858feced07daaed68ce83fa477ee27796904e7
58515851
docs/operations/embedding.mdx:
58525852
id: 591dd7891964
58535853
last_write_checksum: sha1:8c8196e7ea5cf8a0a43a4495d721e4fa19530ffc
@@ -5970,8 +5970,8 @@ trackedFiles:
59705970
pristine_git_object: 4b9270d76df3ac3ff1402b6ae3c5132d54c666fe
59715971
docs/operations/getfilemetadatarequest.mdx:
59725972
id: "092777656353"
5973-
last_write_checksum: sha1:460587859ae661d766c6e37a2eebf8bfd0b70cb4
5974-
pristine_git_object: eee139554482af3a619776aaa1290bbe2330067f
5973+
last_write_checksum: sha1:719dc08ca7076a0a75063fae9c9cbc23bfac2ab4
5974+
pristine_git_object: 4cf0f5421df690c9f3e2c5ec44276a1b59581abd
59755975
docs/operations/getgenerationglobals.mdx:
59765976
id: 43ac280f4639
59775977
last_write_checksum: sha1:1e3b8a4dcd3f112ae32edfca342dd01cc9bde7bd
@@ -6186,12 +6186,12 @@ trackedFiles:
61866186
pristine_git_object: 5e86176bf6809f16e19cd7006288ea8d55911070
61876187
docs/operations/listfilesrequest.mdx:
61886188
id: 86c9594f103f
6189-
last_write_checksum: sha1:e2231e9798368d5dd629bc1b92a0fa4fc88d2501
6190-
pristine_git_object: 567c8a2e0864b4e4264ccce371f98e7377d2a4ef
6189+
last_write_checksum: sha1:7ed07315e04db865877d2ad1c9be84c4977fe28b
6190+
pristine_git_object: a5a1b70a9b38f2563fea202a52adc0fe8ab7f60d
61916191
docs/operations/listfilesresponse.mdx:
61926192
id: b2a0050d55de
6193-
last_write_checksum: sha1:a6b61a40a390cfd71e6b83fd6a75a106c9f8486a
6194-
pristine_git_object: ba3f4b56aed07f6d26ac7c9bd1d1dc21d93245d8
6193+
last_write_checksum: sha1:ffd1ee4a12704d53dc63b7133965b334d32844be
6194+
pristine_git_object: 6cb55f6d74e06eb9b6c948f6dac304d2f3379582
61956195
docs/operations/listgenerationcontentglobals.mdx:
61966196
id: 37713baa8939
61976197
last_write_checksum: sha1:f893103835ccc22cc34baa4dce22480a7c000f0a
@@ -6726,8 +6726,8 @@ trackedFiles:
67266726
pristine_git_object: f8cebc2061d7428904766956be45ca70e5519be4
67276727
docs/sdks/files/README.mdx:
67286728
id: 1a0c257e330c
6729-
last_write_checksum: sha1:e21cb3c8c0e1c48ca7bc6799e764f45790578d3d
6730-
pristine_git_object: 8ed39ab511e8430389a8cb92bed10b088a586006
6729+
last_write_checksum: sha1:21cf411ff5c897140db8611e612d082ab923ccce
6730+
pristine_git_object: b0cde3e3a703132befdb96ad10c17bf036b7464a
67316731
docs/sdks/generations/README.mdx:
67326732
id: a754fecc8514
67336733
last_write_checksum: sha1:b5f8035c676b5eb050472ed9697b64718aed8f17
@@ -6794,8 +6794,8 @@ trackedFiles:
67946794
pristine_git_object: 3e38f1a929f7d6b1d6de74604aa87e3d8f010544
67956795
pyproject.toml:
67966796
id: 5d07e7d72637
6797-
last_write_checksum: sha1:0d371612f67d3aa230d83b60acf29182e31b9646
6798-
pristine_git_object: d10bd26cf565d2937a50b6496001281de5a4789b
6797+
last_write_checksum: sha1:446f9f3ef13059e3ecd08897e3579b29be215aab
6798+
pristine_git_object: 82ed4d517a49e2857cd5e3f4b97755a5ad5a47f2
67996799
scripts/prepare_readme.py:
68006800
id: e0c5957a6035
68016801
last_write_checksum: sha1:77f44b60b98bc126557ec27391f91dfba764bb54
@@ -6822,8 +6822,8 @@ trackedFiles:
68226822
pristine_git_object: 86713cfea633e09d33b3d4e65281071fe20e6137
68236823
src/openrouter/_version.py:
68246824
id: d8d15ad6c586
6825-
last_write_checksum: sha1:91f6031c7d0fbc4dce68f0a099ba371446291d38
6826-
pristine_git_object: 2894c2f7345f3d9ffab296784bf8a1568f3e1467
6825+
last_write_checksum: sha1:892747913f5d6d14a21196c26130003671487c72
6826+
pristine_git_object: f26c24e9d7f1da80e974056164cef83b24752b37
68276827
src/openrouter/analytics.py:
68286828
id: cb406b5aaabb
68296829
last_write_checksum: sha1:9e709b71dd0611056dc0cec6150b578defe32841
@@ -11073,7 +11073,7 @@ examples:
1107311073
speakeasy-default-list-files:
1107411074
responses:
1107511075
"200":
11076-
application/json: {"cursor": null, "data": [{"created_at": "2025-01-01T00:00:00Z", "downloadable": false, "filename": "document.pdf", "id": "file_011CNha8iCJcU1wXNR6q4V8w", "mime_type": "application/pdf", "size_bytes": 1024000, "type": "file"}], "first_id": "file_011CNha8iCJcU1wXNR6q4V8w", "has_more": false, "last_id": "file_011CNha8iCJcU1wXNR6q4V8w"}
11076+
application/json: {"cursor": null, "data": [{"created_at": "2025-01-01T00:00:00Z", "downloadable": false, "filename": "document.pdf", "id": "or_file_011CNha8iCJcU1wXNR6q4V8w", "mime_type": "application/pdf", "size_bytes": 1024000, "type": "file"}], "first_id": "or_file_011CNha8iCJcU1wXNR6q4V8w", "has_more": false, "last_id": "or_file_011CNha8iCJcU1wXNR6q4V8w"}
1107711077
"400":
1107811078
application/json: {"error": {"code": 400, "message": "Invalid request parameters"}}
1107911079
"401":
@@ -11088,7 +11088,7 @@ examples:
1108811088
multipart/form-data: {"file": "x-file: example.file"}
1108911089
responses:
1109011090
"200":
11091-
application/json: {"created_at": "2025-01-01T00:00:00Z", "downloadable": false, "filename": "document.pdf", "id": "file_011CNha8iCJcU1wXNR6q4V8w", "mime_type": "application/pdf", "size_bytes": 1024000, "type": "file"}
11091+
application/json: {"created_at": "2025-01-01T00:00:00Z", "downloadable": false, "filename": "document.pdf", "id": "or_file_011CNha8iCJcU1wXNR6q4V8w", "mime_type": "application/pdf", "size_bytes": 1024000, "type": "file"}
1109211092
"400":
1109311093
application/json: {"error": {"code": 400, "message": "Invalid request parameters"}}
1109411094
"401":
@@ -11108,7 +11108,7 @@ examples:
1110811108
file_id: "file_011CNha8iCJcU1wXNR6q4V8w"
1110911109
responses:
1111011110
"200":
11111-
application/json: {"id": "file_011CNha8iCJcU1wXNR6q4V8w", "type": "file_deleted"}
11111+
application/json: {"id": "or_file_011CNha8iCJcU1wXNR6q4V8w", "type": "file_deleted"}
1111211112
"401":
1111311113
application/json: {"error": {"code": 401, "message": "Missing Authentication header"}}
1111411114
"404":
@@ -11124,7 +11124,7 @@ examples:
1112411124
file_id: "file_011CNha8iCJcU1wXNR6q4V8w"
1112511125
responses:
1112611126
"200":
11127-
application/json: {"created_at": "2025-01-01T00:00:00Z", "downloadable": false, "filename": "document.pdf", "id": "file_011CNha8iCJcU1wXNR6q4V8w", "mime_type": "application/pdf", "size_bytes": 1024000, "type": "file"}
11127+
application/json: {"created_at": "2025-01-01T00:00:00Z", "downloadable": false, "filename": "document.pdf", "id": "or_file_011CNha8iCJcU1wXNR6q4V8w", "mime_type": "application/pdf", "size_bytes": 1024000, "type": "file"}
1112811128
"401":
1112911129
application/json: {"error": {"code": 401, "message": "Missing Authentication header"}}
1113011130
"404":
@@ -11329,4 +11329,3 @@ examples:
1132911329
"500":
1133011330
application/json: {"error": {"code": 500, "message": "Internal Server Error"}}
1133111331
examplesVersion: 1.0.2
11332-
releaseNotes: "## Python SDK Changes:\n* `open_router.beta.responses.send()`: \n * `request.input.union(Array<>)[].union(AdditionalToolsItem).tools[].union(Legacy_WebSearchServerTool).filters.blocked_domains` **Added**\n * `response` **Changed**\n* `open_router.presets.create_presets_responses()`: \n * `request.input.union(Array<>)[].union(AdditionalToolsItem).tools[].union(Preview_WebSearchServerTool).filters.blocked_domains` **Added**\n* `open_router.responses.send()`: \n * `request.input.union(Array<>)[].union(AdditionalToolsItem).tools[].union(Preview_20250311_WebSearchServerTool).filters.blocked_domains` **Added**\n * `response` **Changed**\n"

‎.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.1.7
39+
version: 1.1.8
4040
additionalDependencies:
4141
dev: {}
4242
main: {}

‎.speakeasy/out.openapi.yaml‎

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1398,7 +1398,7 @@ components:
13981398
type: 'object'
13991399
AnthropicFileDocumentSource:
14001400
example:
1401-
file_id: 'file_011CNha8iCJcU1wXNR6q4V8w'
1401+
file_id: 'or_file_011CNha8iCJcU1wXNR6q4V8w'
14021402
type: 'file'
14031403
properties:
14041404
file_id:
@@ -7845,7 +7845,7 @@ components:
78457845
FileDeleteResponse:
78467846
description: 'Confirmation that a file was deleted.'
78477847
example:
7848-
id: 'file_011CNha8iCJcU1wXNR6q4V8w'
7848+
id: 'or_file_011CNha8iCJcU1wXNR6q4V8w'
78497849
type: 'file_deleted'
78507850
properties:
78517851
id:
@@ -7866,13 +7866,13 @@ components:
78667866
- created_at: '2025-01-01T00:00:00Z'
78677867
downloadable: false
78687868
filename: 'document.pdf'
7869-
id: 'file_011CNha8iCJcU1wXNR6q4V8w'
7869+
id: 'or_file_011CNha8iCJcU1wXNR6q4V8w'
78707870
mime_type: 'application/pdf'
78717871
size_bytes: 1024000
78727872
type: 'file'
7873-
first_id: 'file_011CNha8iCJcU1wXNR6q4V8w'
7873+
first_id: 'or_file_011CNha8iCJcU1wXNR6q4V8w'
78747874
has_more: false
7875-
last_id: 'file_011CNha8iCJcU1wXNR6q4V8w'
7875+
last_id: 'or_file_011CNha8iCJcU1wXNR6q4V8w'
78767876
properties:
78777877
cursor:
78787878
description: 'Opaque cursor for the next page; null when there are no more results.'
@@ -7906,7 +7906,7 @@ components:
79067906
created_at: '2025-01-01T00:00:00Z'
79077907
downloadable: false
79087908
filename: 'document.pdf'
7909-
id: 'file_011CNha8iCJcU1wXNR6q4V8w'
7909+
id: 'or_file_011CNha8iCJcU1wXNR6q4V8w'
79107910
mime_type: 'application/pdf'
79117911
size_bytes: 1024000
79127912
type: 'file'
@@ -27796,7 +27796,7 @@ paths:
2779627796
required: false
2779727797
schema:
2779827798
description: 'Opaque pagination cursor from a previous response.'
27799-
example: 'eyJjdXJzb3IiOiJmaWxlXzAxMUNOaGE4aUNKY1Uxd1hOUjZxNFY4dyJ9'
27799+
example: 'eyJjdXJzb3IiOiJvcl9maWxlXzAxMUNOaGE4aUNKY1Uxd1hOUjZxNFY4dyJ9'
2780027800
type: 'string'
2780127801
- description: 'Workspace to scope the request to. Defaults to the caller’s default workspace.'
2780227802
in: 'query'
@@ -27817,13 +27817,13 @@ paths:
2781727817
- created_at: '2025-01-01T00:00:00Z'
2781827818
downloadable: false
2781927819
filename: 'document.pdf'
27820-
id: 'file_011CNha8iCJcU1wXNR6q4V8w'
27820+
id: 'or_file_011CNha8iCJcU1wXNR6q4V8w'
2782127821
mime_type: 'application/pdf'
2782227822
size_bytes: 1024000
2782327823
type: 'file'
27824-
first_id: 'file_011CNha8iCJcU1wXNR6q4V8w'
27824+
first_id: 'or_file_011CNha8iCJcU1wXNR6q4V8w'
2782527825
has_more: false
27826-
last_id: 'file_011CNha8iCJcU1wXNR6q4V8w'
27826+
last_id: 'or_file_011CNha8iCJcU1wXNR6q4V8w'
2782727827
schema:
2782827828
$ref: '#/components/schemas/FileListResponse'
2782927829
description: 'A page of files.'
@@ -27916,7 +27916,7 @@ paths:
2791627916
created_at: '2025-01-01T00:00:00Z'
2791727917
downloadable: false
2791827918
filename: 'document.pdf'
27919-
id: 'file_011CNha8iCJcU1wXNR6q4V8w'
27919+
id: 'or_file_011CNha8iCJcU1wXNR6q4V8w'
2792027920
mime_type: 'application/pdf'
2792127921
size_bytes: 1024000
2792227922
type: 'file'
@@ -28001,7 +28001,7 @@ paths:
2800128001
name: 'file_id'
2800228002
required: true
2800328003
schema:
28004-
example: 'file_011CNha8iCJcU1wXNR6q4V8w'
28004+
example: 'or_file_011CNha8iCJcU1wXNR6q4V8w'
2800528005
type: 'string'
2800628006
- description: 'Workspace to scope the request to. Defaults to the caller’s default workspace.'
2800728007
in: 'query'
@@ -28017,7 +28017,7 @@ paths:
2801728017
content:
2801828018
application/json:
2801928019
example:
28020-
id: 'file_011CNha8iCJcU1wXNR6q4V8w'
28020+
id: 'or_file_011CNha8iCJcU1wXNR6q4V8w'
2802128021
type: 'file_deleted'
2802228022
schema:
2802328023
$ref: '#/components/schemas/FileDeleteResponse'
@@ -28075,7 +28075,7 @@ paths:
2807528075
name: 'file_id'
2807628076
required: true
2807728077
schema:
28078-
example: 'file_011CNha8iCJcU1wXNR6q4V8w'
28078+
example: 'or_file_011CNha8iCJcU1wXNR6q4V8w'
2807928079
type: 'string'
2808028080
- description: 'Workspace to scope the request to. Defaults to the caller’s default workspace.'
2808128081
in: 'query'
@@ -28094,7 +28094,7 @@ paths:
2809428094
created_at: '2025-01-01T00:00:00Z'
2809528095
downloadable: false
2809628096
filename: 'document.pdf'
28097-
id: 'file_011CNha8iCJcU1wXNR6q4V8w'
28097+
id: 'or_file_011CNha8iCJcU1wXNR6q4V8w'
2809828098
mime_type: 'application/pdf'
2809928099
size_bytes: 1024000
2810028100
type: 'file'
@@ -28159,7 +28159,7 @@ paths:
2815928159
name: 'file_id'
2816028160
required: true
2816128161
schema:
28162-
example: 'file_011CNha8iCJcU1wXNR6q4V8w'
28162+
example: 'or_file_011CNha8iCJcU1wXNR6q4V8w'
2816328163
type: 'string'
2816428164
- description: 'Workspace to scope the request to. Defaults to the caller’s default workspace.'
2816528165
in: 'query'

‎.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:a26156387e7b06405f4f14bdb2c7d5c4e99ec8d3f4b4af934e08af8983994211
6-
sourceBlobDigest: sha256:9425cef0b18fb35376589ef7a9702b31ea689f2735e5cd328c76ed9460744d1a
5+
sourceRevisionDigest: sha256:7b34548361d94e47dbf0b8b3d308c08a8dad971d4fc13c977971180b8bd0fce7
6+
sourceBlobDigest: sha256:98ced75d9a97c9ffcfeee79849dc324f63af2c9a5e9180b08282974cb727058e
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:a26156387e7b06405f4f14bdb2c7d5c4e99ec8d3f4b4af934e08af8983994211
15-
sourceBlobDigest: sha256:9425cef0b18fb35376589ef7a9702b31ea689f2735e5cd328c76ed9460744d1a
14+
sourceRevisionDigest: sha256:7b34548361d94e47dbf0b8b3d308c08a8dad971d4fc13c977971180b8bd0fce7
15+
sourceBlobDigest: sha256:98ced75d9a97c9ffcfeee79849dc324f63af2c9a5e9180b08282974cb727058e
1616
codeSamplesNamespace: open-router-python-code-samples
17-
codeSamplesRevisionDigest: sha256:e59bf77e0970bd1fcdaa9a9f04d1869942805c739229d1deaa1a8c87a052c067
17+
codeSamplesRevisionDigest: sha256:9333526201bd194dae9a852f3fa2382147013ca74d4914a93e68ca72337d737b
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
@@ -869,4 +869,14 @@ Based on:
869869
### Generated
870870
- [python v1.1.7] .
871871
### Releases
872-
- [PyPI v1.1.7] https://pypi.org/project/openrouter/1.1.7 - .
872+
- [PyPI v1.1.7] https://pypi.org/project/openrouter/1.1.7 - .
873+
874+
## 2026-07-28 14:58:22
875+
### Changes
876+
Based on:
877+
- OpenAPI Doc
878+
- Speakeasy CLI 1.787.0 (2.914.0) https://github.com/speakeasy-api/speakeasy
879+
### Generated
880+
- [python v1.1.8] .
881+
### Releases
882+
- [PyPI v1.1.8] https://pypi.org/project/openrouter/1.1.8 - .

0 commit comments

Comments
 (0)