Skip to content

Commit 0823dea

Browse files
github-actions[bot]speakeasybotspeakeasy-github[bot]
authored
chore: 🐝 Update SDK - Generate (spec change merged) 1.3.74 (#1123)
Co-authored-by: speakeasybot <bot@speakeasyapi.dev> Co-authored-by: speakeasy-github[bot] <128539517+speakeasy-github[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent c10da19 commit 0823dea

14 files changed

Lines changed: 180 additions & 43 deletions

File tree

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

Lines changed: 39 additions & 23 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: 391e357ac47938ae90fb7ff4e0655266
4+
docChecksum: 962707eb96a4d2b9c17b756299627b23
55
docVersion: 1.0.0
66
speakeasyVersion: 1.787.0
77
generationVersion: 2.914.0
8-
releaseVersion: 1.3.73
9-
configChecksum: c5ff2d4796113096907206c7b9a46d4d
8+
releaseVersion: 1.3.74
9+
configChecksum: 1b387da02ff1e98430c790560c0616e1
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: c273b2f0-c648-43f2-be40-19fdc9034d09
15-
pristine_commit_hash: 7a5479dd501a6ddd669e52ed1871bd4ae6593d59
16-
pristine_tree_hash: 0ec6d64749a5220d249d9cfdd2def366fd55e8d4
14+
generation_id: ec171076-f548-4156-8675-96a2d0fefa12
15+
pristine_commit_hash: ceeae56c572cb0d48e636ae994dec6c2f70005d2
16+
pristine_tree_hash: 0dad5897b92badaa2d6f366f95801630e52c3112
1717
features:
1818
python:
1919
acceptHeaders: 3.0.0
@@ -4164,8 +4164,8 @@ trackedFiles:
41644164
pristine_git_object: 3d98e2f09cb445b9c155e66690720be77355dcdf
41654165
docs/components/interndaemonaccess.mdx:
41664166
id: ba56f69a1513
4167-
last_write_checksum: sha1:52df2833e8e8483fa67bbc680d74503dd622c7f6
4168-
pristine_git_object: 7a564fb428ba9d8b1fb680cec407748a964e4be7
4167+
last_write_checksum: sha1:aab5570e46ec477d799e5aed9bb41b4082b01c62
4168+
pristine_git_object: 331e8fe95683749590b5317c9ab77146e141f228
41694169
docs/components/interninvokeacceptedresponse.mdx:
41704170
id: fabf6978427d
41714171
last_write_checksum: sha1:2a29dff72ed9ef5438d4269be8b2c0ad2cb21569
@@ -8082,6 +8082,10 @@ trackedFiles:
80828082
id: d08b4554c5c0
80838083
last_write_checksum: sha1:7ae6976a0228f2bc89c4378faa7c2126b8477748
80848084
pristine_git_object: 7cbbaeaa059c9bd9181ce53fa86817b66f675a0f
8085+
docs/components/viewer.mdx:
8086+
id: 7f9ac7ecfda4
8087+
last_write_checksum: sha1:1a4535e0ef472ee81ed93b420e6d6a449dbb88df
8088+
pristine_git_object: de09184bb5d4694e3607dd0a3bbbf0de3d99e596
80858089
docs/components/watch.mdx:
80868090
id: 30a963a3de2c
80878091
last_write_checksum: sha1:c9d01625c52deaa2399d196211ae37b63892efd9
@@ -10340,8 +10344,8 @@ trackedFiles:
1034010344
pristine_git_object: b87e2e382fbfa54f2f9a0fc469677b335c02be0d
1034110345
docs/sdks/organization/README.mdx:
1034210346
id: f41b85542db0
10343-
last_write_checksum: sha1:c16cb87877950d21f2dde1ea4844702e072b34c2
10344-
pristine_git_object: c39c54c9f6e92fff4d967b0c935dcf613fa33ba8
10347+
last_write_checksum: sha1:16a89d4805aafa873479dfe2aa051eb3bc88e47f
10348+
pristine_git_object: 053e655dd039e6dd37558c4b9af98c3d60ea8989
1034510349
docs/sdks/presets/README.mdx:
1034610350
id: eeb505928d52
1034710351
last_write_checksum: sha1:a7556797ff5e3ee5568fadacf9bcdb369c664bb0
@@ -10400,8 +10404,8 @@ trackedFiles:
1040010404
pristine_git_object: 3e38f1a929f7d6b1d6de74604aa87e3d8f010544
1040110405
pyproject.toml:
1040210406
id: 5d07e7d72637
10403-
last_write_checksum: sha1:601a53e7a7df73c85ee31b075aed86e5a9e8e4a3
10404-
pristine_git_object: be6cea480dd5fc0c1260fa0fca6ad9f991a2b413
10407+
last_write_checksum: sha1:e82047c72604287f404579e9006f41e0e2695b35
10408+
pristine_git_object: 941d5d762455d1f323e44042bcd9943ebeb43d37
1040510409
scripts/prepare_readme.py:
1040610410
id: e0c5957a6035
1040710411
last_write_checksum: sha1:77f44b60b98bc126557ec27391f91dfba764bb54
@@ -10428,8 +10432,8 @@ trackedFiles:
1042810432
pristine_git_object: 86713cfea633e09d33b3d4e65281071fe20e6137
1042910433
src/openrouter/_version.py:
1043010434
id: d8d15ad6c586
10431-
last_write_checksum: sha1:07efa5800140346aac74f5b66d5f7a6aa2f78b6b
10432-
pristine_git_object: 3a87fcf4b0d22084670a1b08654a1ce936fedcbb
10435+
last_write_checksum: sha1:d704d78dc4c4ece2565c4faf249666baaac9d418
10436+
pristine_git_object: 656de700f6fb360b7344f6db1e13dfd630148585
1043310437
src/openrouter/alpha.py:
1043410438
id: 306c4d93308d
1043510439
last_write_checksum: sha1:30f55a360f41376ab194b9ea725fe4e001a5ae1a
@@ -10476,8 +10480,8 @@ trackedFiles:
1047610480
pristine_git_object: ad3d247954547814054c01989a2dff3d12b3e4e1
1047710481
src/openrouter/components/__init__.py:
1047810482
id: 81754e97b3f4
10479-
last_write_checksum: sha1:39ed1d832fbdd9ae392e4f45960ac1ab3daae59f
10480-
pristine_git_object: 6983d8cbe4c0de1fbb228ed337651ff978711c8f
10483+
last_write_checksum: sha1:8c8be01fbd17a1ef8ece71c35380cb25a9fb7be0
10484+
pristine_git_object: a8b91e53035003d356401f0f6ada494f3b247ec7
1048110485
src/openrouter/components/aabenchmarkentry.py:
1048210486
id: e2e0f0b48c82
1048310487
last_write_checksum: sha1:fab4d9a24d2cea937bb749d46c5f83941e99d65c
@@ -12284,8 +12288,8 @@ trackedFiles:
1228412288
pristine_git_object: 0b7d72ef1d12f081e62501cd413ae78432cc6797
1228512289
src/openrouter/components/interndaemonaccess.py:
1228612290
id: 023a6ecdcd2d
12287-
last_write_checksum: sha1:4098660a0247c95f4bc53cf5b40b4a56747d69b3
12288-
pristine_git_object: 3fc691dce945dcbd24ce1a3416c5706453923afa
12291+
last_write_checksum: sha1:1b6243da622f56aee6db312e3e3cf3cee96c6eef
12292+
pristine_git_object: 2b465e2098a0fd38fe63983c46b081760d7437b0
1228912293
src/openrouter/components/interninvokeacceptedresponse.py:
1229012294
id: b33d41d36bed
1229112295
last_write_checksum: sha1:0237a0fa91192a250e4162f4d6c0a764a87a9fbe
@@ -14764,8 +14768,8 @@ trackedFiles:
1476414768
pristine_git_object: de47082ac5d1636fbeaa4fe1604fd4e3edcadcc8
1476514769
src/openrouter/organization.py:
1476614770
id: 6f4c63c416e8
14767-
last_write_checksum: sha1:d2a91057b7c85280490226213689c608f8a47291
14768-
pristine_git_object: f5cb812851c3bc44273cff23a6fd6023fbb10d60
14771+
last_write_checksum: sha1:4e85be9a562415e0e55d62ec34339e0b1325c3d2
14772+
pristine_git_object: ed6685a2de0af075647def8ee786e7da58f627a6
1476914773
src/openrouter/presets.py:
1477014774
id: bd0c40379dcd
1477114775
last_write_checksum: sha1:4448330ef9bf75cdb69445b69fc289df97e8fa33
@@ -15577,6 +15581,8 @@ examples:
1557715581
application/json: {"error": {"code": 404, "message": "Resource not found"}}
1557815582
"500":
1557915583
application/json: {"error": {"code": 500, "message": "Internal Server Error"}}
15584+
"403":
15585+
application/json: {"error": {"code": 403, "message": "Only management keys can perform this operation"}}
1558015586
createRerank:
1558115587
speakeasy-default-create-rerank:
1558215588
requestBody:
@@ -18239,7 +18245,7 @@ examples:
1823918245
internId: "7c9e6679-7425-40de-944b-e07fc1f90ae7"
1824018246
responses:
1824118247
"200":
18242-
application/json: {"origin": "https://research-assistant-7c9e6679.or.bot", "token": "daemon_token"}
18248+
application/json: {"origin": "https://research-assistant-7c9e6679.or.bot", "token": "daemon_token", "viewer": {"principals": ["clerk:user_2abc", "slack:T0123:U0456"]}}
1824318249
"401":
1824418250
application/json: {"error": {"code": 404, "message": "Intern not found"}}
1824518251
"500":
@@ -18337,7 +18343,7 @@ examples:
1833718343
internId: "7c9e6679-7425-40de-944b-e07fc1f90ae7"
1833818344
responses:
1833918345
"200":
18340-
application/json: {"origin": "https://research-assistant-7c9e6679.or.bot", "token": "daemon_token"}
18346+
application/json: {"origin": "https://research-assistant-7c9e6679.or.bot", "token": "daemon_token", "viewer": {"principals": ["clerk:user_2abc", "slack:T0123:U0456"]}}
1834118347
"401":
1834218348
application/json: {"error": {"code": 404, "message": "Intern not found"}}
1834318349
"500":
@@ -18884,6 +18890,8 @@ examples:
1888418890
application/json: {"error": {"code": 404, "message": "Resource not found"}}
1888518891
"500":
1888618892
application/json: {"error": {"code": 500, "message": "Internal Server Error"}}
18893+
"403":
18894+
application/json: {"error": {"code": 403, "message": "Only management keys can perform this operation"}}
1888718895
updateOrganizationSettings:
1888818896
speakeasy-default-update-organization-settings:
1888918897
requestBody:
@@ -18899,6 +18907,8 @@ examples:
1889918907
application/json: {"error": {"code": 404, "message": "Resource not found"}}
1890018908
"500":
1890118909
application/json: {"error": {"code": 500, "message": "Internal Server Error"}}
18910+
"403":
18911+
application/json: {"error": {"code": 403, "message": "Only management keys can perform this operation"}}
1890218912
signInternDaemonAccessRequest:
1890318913
speakeasy-default-sign-intern-daemon-access-request:
1890418914
parameters:
@@ -19167,4 +19177,10 @@ examples:
1916719177
"500":
1916819178
application/json: {"error": {"code": 404, "message": "Intern not found"}}
1916919179
examplesVersion: 1.0.2
19170-
releaseNotes: "## Python SDK Changes:\n* `open_router.alpha.decisions.create()`: `request.provider` **Changed**\n* `open_router.tts.create_speech()`: \n * `request.provider.options.recursive` **Added**\n* `open_router.stt.create_transcription()`: \n * `request.provider.options.recursive` **Added**\n* `open_router.batch.create_batches()`: \n * `request.provider.only[].union(ProviderName).enum(recursive)` **Added**\n* `open_router.byok.list()`: \n * `request.provider` **Changed**\n * `response.data[].provider.enum(recursive)` **Added**\n* `open_router.byok.create()`: \n * `request.provider.enum(recursive)` **Added**\n * `response.data.provider.enum(recursive)` **Added**\n* `open_router.byok.get()`: `response.data.provider.enum(recursive)` **Added**\n* `open_router.byok.update()`: `response.data.provider.enum(recursive)` **Added**\n* `open_router.chat.send()`: `request.provider` **Changed**\n* `open_router.embeddings.generate()`: `request.provider` **Changed**\n* `open_router.endpoints.list_zdr_endpoints()`: `response.data[].provider_name.enum(recursive)` **Added**\n* `open_router.endpoints.list()`: `response.data.endpoints[].provider_name.enum(recursive)` **Added**\n* `open_router.generations.get_generation()`: `response.data.provider_responses[].provider_name.enum(recursive)` **Added**\n* `open_router.images.generate()`: `request.provider` **Changed**\n* `open_router.presets.create_presets_chat_completions()`: `request.provider` **Changed**\n* `open_router.presets.create_presets_messages()`: `request.provider` **Changed**\n* `open_router.presets.create_presets_responses()`: `request.provider` **Changed**\n* `open_router.private_endpoints.create()`: `request.pricing` **Changed**\n* `open_router.private_endpoints.get()`: `response.data.pricing` **Changed**\n* `open_router.private_endpoints.update()`: `response.data.pricing` **Changed**\n* `open_router.private_endpoints.update_pricing()`: \n * `request.pricing` **Changed**\n * `response.data.pricing` **Changed**\n* `open_router.rerank.rerank()`: `request.provider` **Changed**\n* `open_router.responses.send()`: `request.provider` **Changed**\n* `open_router.beta.responses.send()`: `request.provider` **Changed**\n* `open_router.system_one.create()`: `request.provider` **Changed**\n* `open_router.video_generation.generate()`: \n * `request.provider.options.recursive` **Added**\n"
19180+
releaseNotes: |
19181+
## Python SDK Changes:
19182+
* `open_router.interns.get_intern_daemon()`: `response.viewer` **Added**
19183+
* `open_router.interns.get_intern_daemon_access()`: `response.viewer` **Added**
19184+
* `open_router.organization.list_members()`: `error.status[403]` **Added**
19185+
* `open_router.organization.get_settings()`: `error.status[403]` **Added**
19186+
* `open_router.organization.update_settings()`: `error.status[403]` **Added**

β€Ž.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.73
39+
version: 1.3.74
4040
additionalDependencies:
4141
dev:
4242
pytest: '>=8.3'

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

Lines changed: 46 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16002,20 +16002,35 @@ components:
1600216002
- 'data'
1600316003
type: 'object'
1600416004
InternDaemonAccess:
16005-
description: 'The intern daemon''s origin and the bearer `ori tui --host` sends to it as `ORI_DAEMON_TOKEN`.'
16005+
description: 'The intern daemon''s origin, the bearer `ori tui --host` sends to it as `ORI_DAEMON_TOKEN`, and who the caller is on the intern.'
1600616006
example:
1600716007
origin: 'https://research-assistant-7c9e6679.or.bot'
1600816008
token: 'daemon_token'
16009+
viewer:
16010+
principals:
16011+
- 'clerk:user_2abc'
16012+
- 'slack:T0123:U0456'
1600916013
properties:
1601016014
origin:
1601116015
pattern: '^https?:\/\/([a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?(?:\.[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?)*)(?::(\d{1,5}))?$/iu'
1601216016
type: 'string'
1601316017
token:
1601416018
pattern: '^[\w-]+$/u'
1601516019
type: 'string'
16020+
viewer:
16021+
properties:
16022+
principals:
16023+
description: 'The caller''s Ori principals on this intern: `clerk:<user>`, and, when the grant carries `vault:read`, `slack:<team>:<user>` for each Slack account they linked to it. A session started by one of them in a one-to-one Slack DM is the caller''s to see.'
16024+
items:
16025+
type: 'string'
16026+
type: 'array'
16027+
required:
16028+
- 'principals'
16029+
type: 'object'
1601616030
required:
1601716031
- 'origin'
1601816032
- 'token'
16033+
- 'viewer'
1601916034
type: 'object'
1602016035
InternInvokeAcceptedResponse:
1602116036
description: 'The intern admitted the prompt. The run continues on the intern.'
@@ -48446,6 +48461,16 @@ paths:
4844648461
schema:
4844748462
$ref: '#/components/schemas/UnauthorizedResponse'
4844848463
description: 'Unauthorized - Authentication required or invalid credentials'
48464+
'403':
48465+
content:
48466+
application/json:
48467+
example:
48468+
error:
48469+
code: 403
48470+
message: 'Only management keys can perform this operation'
48471+
schema:
48472+
$ref: '#/components/schemas/ForbiddenResponse'
48473+
description: 'Forbidden - Authentication successful but insufficient permissions'
4844948474
'404':
4845048475
content:
4845148476
application/json:
@@ -48515,6 +48540,16 @@ paths:
4851548540
schema:
4851648541
$ref: '#/components/schemas/UnauthorizedResponse'
4851748542
description: 'Unauthorized - Authentication required or invalid credentials'
48543+
'403':
48544+
content:
48545+
application/json:
48546+
example:
48547+
error:
48548+
code: 403
48549+
message: 'Only management keys can perform this operation'
48550+
schema:
48551+
$ref: '#/components/schemas/ForbiddenResponse'
48552+
description: 'Forbidden - Authentication successful but insufficient permissions'
4851848553
'404':
4851948554
content:
4852048555
application/json:
@@ -48586,6 +48621,16 @@ paths:
4858648621
schema:
4858748622
$ref: '#/components/schemas/UnauthorizedResponse'
4858848623
description: 'Unauthorized - Authentication required or invalid credentials'
48624+
'403':
48625+
content:
48626+
application/json:
48627+
example:
48628+
error:
48629+
code: 403
48630+
message: 'Only management keys can perform this operation'
48631+
schema:
48632+
$ref: '#/components/schemas/ForbiddenResponse'
48633+
description: 'Forbidden - Authentication successful but insufficient permissions'
4858948634
'404':
4859048635
content:
4859148636
application/json:

β€Ž.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:02b248752304d3dd5799839e4e77e5ef0d805a84b4dd5be0b07e01a7e06d1270
6-
sourceBlobDigest: sha256:627acb063a2687b443c1daef8c7aff53e2dc10707eaaa92fa633bd6715a1affa
5+
sourceRevisionDigest: sha256:309f70362b51ac9c01690fb529ebbe90ff4a5413ae881e97cb3c671899743bef
6+
sourceBlobDigest: sha256:69e41f167442f6159b92ed3180e6be708fc532f76161616bbb3afaaebb785779
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:02b248752304d3dd5799839e4e77e5ef0d805a84b4dd5be0b07e01a7e06d1270
15-
sourceBlobDigest: sha256:627acb063a2687b443c1daef8c7aff53e2dc10707eaaa92fa633bd6715a1affa
14+
sourceRevisionDigest: sha256:309f70362b51ac9c01690fb529ebbe90ff4a5413ae881e97cb3c671899743bef
15+
sourceBlobDigest: sha256:69e41f167442f6159b92ed3180e6be708fc532f76161616bbb3afaaebb785779
1616
codeSamplesNamespace: open-router-python-code-samples
17-
codeSamplesRevisionDigest: sha256:f8a5f47700a61a9f86ac423c08d7f759f7a051b114f31d0d702adf9c4008eebd
17+
codeSamplesRevisionDigest: sha256:cab8575de250ca84dd5c9aaccd3befc605ffa66004b249f32499b4d2679b3aa5
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
@@ -3499,4 +3499,14 @@ Based on:
34993499
### Generated
35003500
- [python v1.3.73] .
35013501
### Releases
3502-
- [PyPI v1.3.73] https://pypi.org/project/openrouter/1.3.73 - .
3502+
- [PyPI v1.3.73] https://pypi.org/project/openrouter/1.3.73 - .
3503+
3504+
## 2026-10-21 21:47:14
3505+
### Changes
3506+
Based on:
3507+
- OpenAPI Doc
3508+
- Speakeasy CLI 1.787.0 (2.914.0) https://github.com/speakeasy-api/speakeasy
3509+
### Generated
3510+
- [python v1.3.74] .
3511+
### Releases
3512+
- [PyPI v1.3.74] https://pypi.org/project/openrouter/1.3.74 - .

β€Ždocs/components/interndaemonaccess.mdxβ€Ž

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,13 @@
22
title: "InternDaemonAccess"
33
---
44

5-
The intern daemon's origin and the bearer `ori tui --host` sends to it as `ORI_DAEMON_TOKEN`.
5+
The intern daemon's origin, the bearer `ori tui --host` sends to it as `ORI_DAEMON_TOKEN`, and who the caller is on the intern.
66

77

88
## Fields
99

10-
| Field | Type | Required | Description |
11-
| ------------------ | ------------------ | ------------------ | ------------------ |
12-
| `origin` | *str* | βœ… | N/A |
13-
| `token` | *str* | βœ… | N/A |
10+
| Field | Type | Required | Description |
11+
| -------------------------------------------- | -------------------------------------------- | -------------------------------------------- | -------------------------------------------- |
12+
| `origin` | *str* | βœ… | N/A |
13+
| `token` | *str* | βœ… | N/A |
14+
| `viewer` | [components.Viewer](../components/viewer.mdx) | βœ… | N/A |

0 commit comments

Comments
Β (0)