Skip to content

Commit de073d0

Browse files
github-actions[bot]speakeasybotspeakeasy-github[bot]
authored
chore: 🐝 Update SDK - Generate (spec change merged) 1.3.78 (#1135)
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 202e127 commit de073d0

12 files changed

Lines changed: 183 additions & 30 deletions

File tree

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

Lines changed: 36 additions & 19 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: 9e161a46647f3a4d07b24c8d00578c22
4+
docChecksum: 5cc03395176525639b93df58432991ac
55
docVersion: 1.0.0
66
speakeasyVersion: 1.787.0
77
generationVersion: 2.914.0
8-
releaseVersion: 1.3.77
9-
configChecksum: 9b873bdd9890526d751c7121a80a9ac2
8+
releaseVersion: 1.3.78
9+
configChecksum: 598d8bf8b09aa3ac6bffaa9d084e2317
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: b3c0f80b-3f8f-4427-9801-fa8155208c56
15-
pristine_commit_hash: 8601a2c8f2fee7271a9d1d79e423f33eff695f07
16-
pristine_tree_hash: a23281b0eb793aa1deca0f2680611a1ac1b1a8fa
14+
generation_id: 0b26bb11-a7b2-4b3e-9126-e92580dfdfd9
15+
pristine_commit_hash: cb4f2dd35b4511b41f535e133046337fa8b43a9e
16+
pristine_tree_hash: 220f89b0ba732bb603d5aa06c9c78e9c1ad4bd4c
1717
features:
1818
python:
1919
acceptHeaders: 3.0.0
@@ -10308,8 +10308,8 @@ trackedFiles:
1030810308
pristine_git_object: f8cebc2061d7428904766956be45ca70e5519be4
1030910309
docs/sdks/externalusers/README.mdx:
1031010310
id: 16a97e1de35f
10311-
last_write_checksum: sha1:70d85a7a62f388d7d48df6d1b49c466a1b88ac68
10312-
pristine_git_object: ff6066edfc9055d8e2d9f3c6597c7c9e9015fefd
10311+
last_write_checksum: sha1:8d0542500ae82270018f1cb67ef495b6c7e1fe4f
10312+
pristine_git_object: 9105bf9f9b8dd3e3ab639c5ab99967cce574165d
1031310313
docs/sdks/files/README.mdx:
1031410314
id: 1a0c257e330c
1031510315
last_write_checksum: sha1:cdc184e049de510b33bb1ceb5f88c33d7da2ae5c
@@ -10348,8 +10348,8 @@ trackedFiles:
1034810348
pristine_git_object: 053e655dd039e6dd37558c4b9af98c3d60ea8989
1034910349
docs/sdks/presets/README.mdx:
1035010350
id: eeb505928d52
10351-
last_write_checksum: sha1:a7556797ff5e3ee5568fadacf9bcdb369c664bb0
10352-
pristine_git_object: 28d3f17d25e50a97e4c195ea46a15ee6ab431902
10351+
last_write_checksum: sha1:d9fee52a78290d7e7e287d33ac5efbcd1f94d07b
10352+
pristine_git_object: 55b3f251872f0548ef7fcae3efdc73c2968e54fb
1035310353
docs/sdks/privateendpoints/README.mdx:
1035410354
id: 54dee70b8cc7
1035510355
last_write_checksum: sha1:2f58390d196d1c08a304b9d3c2f495281fe0c8db
@@ -10404,8 +10404,8 @@ trackedFiles:
1040410404
pristine_git_object: 3e38f1a929f7d6b1d6de74604aa87e3d8f010544
1040510405
pyproject.toml:
1040610406
id: 5d07e7d72637
10407-
last_write_checksum: sha1:297a6ffb1c170ddc23d42034497ee1d080fc8a86
10408-
pristine_git_object: e31d0b8dd00bae68efea9cdf6ac571e31f090002
10407+
last_write_checksum: sha1:4dc6c05df0db78fd7e4b6baca88b1123a20ae48e
10408+
pristine_git_object: 839273f22231c0f43ef06f39f8fcfd190131c73c
1040910409
scripts/prepare_readme.py:
1041010410
id: e0c5957a6035
1041110411
last_write_checksum: sha1:77f44b60b98bc126557ec27391f91dfba764bb54
@@ -10432,8 +10432,8 @@ trackedFiles:
1043210432
pristine_git_object: 86713cfea633e09d33b3d4e65281071fe20e6137
1043310433
src/openrouter/_version.py:
1043410434
id: d8d15ad6c586
10435-
last_write_checksum: sha1:bcfc37be6676e3aa3f367bda551234104c64c73a
10436-
pristine_git_object: 36d3d822fe628a30968823f18d3facd145954487
10435+
last_write_checksum: sha1:232f6f64d63e368762e63838b9aeabf2fec61a3b
10436+
pristine_git_object: 0075123dce6f9852aecce4c11d656a1a1ee66b96
1043710437
src/openrouter/alpha.py:
1043810438
id: 306c4d93308d
1043910439
last_write_checksum: sha1:30f55a360f41376ab194b9ea725fe4e001a5ae1a
@@ -14100,8 +14100,8 @@ trackedFiles:
1410014100
pristine_git_object: 51b56d9ca5e27c49a98d05f0414573ac5243c580
1410114101
src/openrouter/externalusers.py:
1410214102
id: cc70585846df
14103-
last_write_checksum: sha1:a6acd4d2edbc07dc1cf05f16faf613654d0a27d3
14104-
pristine_git_object: 69769bc3d2d1655af399f7db438b299f3b8a9295
14103+
last_write_checksum: sha1:205ad795bb94aa435f1480f5dc43902317ddbb28
14104+
pristine_git_object: 2b03ccea82b6bb60876b63ef75445a9e2a3760bd
1410514105
src/openrouter/files.py:
1410614106
id: 7baf7ee1f5b3
1410714107
last_write_checksum: sha1:a780217e0d86c5893c5df4877b5451385144e876
@@ -14772,8 +14772,8 @@ trackedFiles:
1477214772
pristine_git_object: ed6685a2de0af075647def8ee786e7da58f627a6
1477314773
src/openrouter/presets.py:
1477414774
id: bd0c40379dcd
14775-
last_write_checksum: sha1:4448330ef9bf75cdb69445b69fc289df97e8fa33
14776-
pristine_git_object: 559ca6ad194bd4f66bc3777d7edc040ccb041a7c
14775+
last_write_checksum: sha1:87a04d6bac85930b6c48bd736cd78d88ff051821
14776+
pristine_git_object: e5af234dce0a31822d5fb88360a740f540738d44
1477714777
src/openrouter/private_endpoints.py:
1477814778
id: fdbce8846ed0
1477914779
last_write_checksum: sha1:6b011534aab484c622e489b9abfb1545b1a77416
@@ -16084,6 +16084,8 @@ examples:
1608416084
application/json: {"error": {"code": 401, "message": "Missing Authentication header"}}
1608516085
"500":
1608616086
application/json: {"error": {"code": 500, "message": "Internal Server Error"}}
16087+
"403":
16088+
application/json: {"error": {"code": 403, "message": "Only management keys can perform this operation"}}
1608716089
getPreset:
1608816090
speakeasy-default-get-preset:
1608916091
parameters:
@@ -16100,6 +16102,8 @@ examples:
1610016102
application/json: {"error": {"code": 404, "message": "Resource not found"}}
1610116103
"500":
1610216104
application/json: {"error": {"code": 500, "message": "Internal Server Error"}}
16105+
"403":
16106+
application/json: {"error": {"code": 403, "message": "Only management keys can perform this operation"}}
1610316107
createPresetsChatCompletions:
1610416108
speakeasy-default-create-presets-chat-completions:
1610516109
parameters:
@@ -16185,6 +16189,8 @@ examples:
1618516189
application/json: {"error": {"code": 404, "message": "Resource not found"}}
1618616190
"500":
1618716191
application/json: {"error": {"code": 500, "message": "Internal Server Error"}}
16192+
"403":
16193+
application/json: {"error": {"code": 403, "message": "Only management keys can perform this operation"}}
1618816194
getPresetVersion:
1618916195
speakeasy-default-get-preset-version:
1619016196
parameters:
@@ -16202,6 +16208,8 @@ examples:
1620216208
application/json: {"error": {"code": 404, "message": "Resource not found"}}
1620316209
"500":
1620416210
application/json: {"error": {"code": 500, "message": "Internal Server Error"}}
16211+
"403":
16212+
application/json: {"error": {"code": 403, "message": "Only management keys can perform this operation"}}
1620516213
listWorkspaces:
1620616214
speakeasy-default-list-workspaces:
1620716215
parameters:
@@ -19161,6 +19169,8 @@ examples:
1916119169
application/json: {"error": {"code": 404, "message": "Resource not found"}}
1916219170
"500":
1916319171
application/json: {"error": {"code": 500, "message": "Internal Server Error"}}
19172+
"403":
19173+
application/json: {"error": {"code": 403, "message": "Only management keys can perform this operation"}}
1916419174
createExternalUser:
1916519175
speakeasy-default-create-external-user:
1916619176
requestBody:
@@ -19208,6 +19218,8 @@ examples:
1920819218
application/json: {"error": {"code": 404, "message": "Resource not found"}}
1920919219
"500":
1921019220
application/json: {"error": {"code": 500, "message": "Internal Server Error"}}
19221+
"403":
19222+
application/json: {"error": {"code": 403, "message": "Only management keys can perform this operation"}}
1921119223
updateExternalUser:
1921219224
speakeasy-default-update-external-user:
1921319225
parameters:
@@ -19241,4 +19253,9 @@ examples:
1924119253
examplesVersion: 1.0.2
1924219254
releaseNotes: |
1924319255
## Python SDK Changes:
19244-
* `open_router.generations.submit_feedback()`: `error.status[409]` **Added**
19256+
* `open_router.external_users.list()`: `error.status[403]` **Added**
19257+
* `open_router.external_users.get()`: `error.status[403]` **Added**
19258+
* `open_router.presets.list()`: `error.status[403]` **Added**
19259+
* `open_router.presets.get()`: `error.status[403]` **Added**
19260+
* `open_router.presets.list_versions()`: `error.status[403]` **Added**
19261+
* `open_router.presets.get_version()`: `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.77
39+
version: 1.3.78
4040
additionalDependencies:
4141
dev:
4242
pytest: '>=8.3'

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

Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39723,6 +39723,16 @@ paths:
3972339723
schema:
3972439724
$ref: '#/components/schemas/UnauthorizedResponse'
3972539725
description: 'Unauthorized - Authentication required or invalid credentials'
39726+
'403':
39727+
content:
39728+
application/json:
39729+
example:
39730+
error:
39731+
code: 403
39732+
message: 'Only management keys can perform this operation'
39733+
schema:
39734+
$ref: '#/components/schemas/ForbiddenResponse'
39735+
description: 'Forbidden - Authentication successful but insufficient permissions'
3972639736
'404':
3972739737
content:
3972839738
application/json:
@@ -39954,6 +39964,16 @@ paths:
3995439964
schema:
3995539965
$ref: '#/components/schemas/UnauthorizedResponse'
3995639966
description: 'Unauthorized - Authentication required or invalid credentials'
39967+
'403':
39968+
content:
39969+
application/json:
39970+
example:
39971+
error:
39972+
code: 403
39973+
message: 'Only management keys can perform this operation'
39974+
schema:
39975+
$ref: '#/components/schemas/ForbiddenResponse'
39976+
description: 'Forbidden - Authentication successful but insufficient permissions'
3995739977
'404':
3995839978
content:
3995939979
application/json:
@@ -48919,6 +48939,16 @@ paths:
4891948939
schema:
4892048940
$ref: '#/components/schemas/UnauthorizedResponse'
4892148941
description: 'Unauthorized - Authentication required or invalid credentials'
48942+
'403':
48943+
content:
48944+
application/json:
48945+
example:
48946+
error:
48947+
code: 403
48948+
message: 'Only management keys can perform this operation'
48949+
schema:
48950+
$ref: '#/components/schemas/ForbiddenResponse'
48951+
description: 'Forbidden - Authentication successful but insufficient permissions'
4892248952
'500':
4892348953
content:
4892448954
application/json:
@@ -49015,6 +49045,16 @@ paths:
4901549045
schema:
4901649046
$ref: '#/components/schemas/UnauthorizedResponse'
4901749047
description: 'Unauthorized - Authentication required or invalid credentials'
49048+
'403':
49049+
content:
49050+
application/json:
49051+
example:
49052+
error:
49053+
code: 403
49054+
message: 'Only management keys can perform this operation'
49055+
schema:
49056+
$ref: '#/components/schemas/ForbiddenResponse'
49057+
description: 'Forbidden - Authentication successful but insufficient permissions'
4901849058
'404':
4901949059
content:
4902049060
application/json:
@@ -49501,6 +49541,16 @@ paths:
4950149541
schema:
4950249542
$ref: '#/components/schemas/UnauthorizedResponse'
4950349543
description: 'Unauthorized - Authentication required or invalid credentials'
49544+
'403':
49545+
content:
49546+
application/json:
49547+
example:
49548+
error:
49549+
code: 403
49550+
message: 'Only management keys can perform this operation'
49551+
schema:
49552+
$ref: '#/components/schemas/ForbiddenResponse'
49553+
description: 'Forbidden - Authentication successful but insufficient permissions'
4950449554
'404':
4950549555
content:
4950649556
application/json:
@@ -49604,6 +49654,16 @@ paths:
4960449654
schema:
4960549655
$ref: '#/components/schemas/UnauthorizedResponse'
4960649656
description: 'Unauthorized - Authentication required or invalid credentials'
49657+
'403':
49658+
content:
49659+
application/json:
49660+
example:
49661+
error:
49662+
code: 403
49663+
message: 'Only management keys can perform this operation'
49664+
schema:
49665+
$ref: '#/components/schemas/ForbiddenResponse'
49666+
description: 'Forbidden - Authentication successful but insufficient permissions'
4960749667
'404':
4960849668
content:
4960949669
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:c3feeeecedf52684a6b76e204aefc63ce907533a5e69dba1ab8736b5ce220c56
6-
sourceBlobDigest: sha256:dbef6078446089006f0fccd11f8c57a140a0fafd95566e685f60eb7d2fd9b13b
5+
sourceRevisionDigest: sha256:c3724a1140e4b28f737cb9c6b03ea935e84f74c5f3ff86b4dffd6d3bbcb52bb5
6+
sourceBlobDigest: sha256:733b792d7d76bb15c4da2f4fa4fccf81b831129232e697b48fe3099e962d9369
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:c3feeeecedf52684a6b76e204aefc63ce907533a5e69dba1ab8736b5ce220c56
15-
sourceBlobDigest: sha256:dbef6078446089006f0fccd11f8c57a140a0fafd95566e685f60eb7d2fd9b13b
14+
sourceRevisionDigest: sha256:c3724a1140e4b28f737cb9c6b03ea935e84f74c5f3ff86b4dffd6d3bbcb52bb5
15+
sourceBlobDigest: sha256:733b792d7d76bb15c4da2f4fa4fccf81b831129232e697b48fe3099e962d9369
1616
codeSamplesNamespace: open-router-python-code-samples
17-
codeSamplesRevisionDigest: sha256:e6e7f318dcfc319f84d58fc1b4cab485802b13541cf0defa901efe78479da5f7
17+
codeSamplesRevisionDigest: sha256:bea2c112970b8a22fcfa2674d8505631b6fff6615f440b9dd927c85b330a2d6d
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
@@ -3539,4 +3539,14 @@ Based on:
35393539
### Generated
35403540
- [python v1.3.77] .
35413541
### Releases
3542-
- [PyPI v1.3.77] https://pypi.org/project/openrouter/1.3.77 - .
3542+
- [PyPI v1.3.77] https://pypi.org/project/openrouter/1.3.77 - .
3543+
3544+
## 2026-10-22 23:32:41
3545+
### Changes
3546+
Based on:
3547+
- OpenAPI Doc
3548+
- Speakeasy CLI 1.787.0 (2.914.0) https://github.com/speakeasy-api/speakeasy
3549+
### Generated
3550+
- [python v1.3.78] .
3551+
### Releases
3552+
- [PyPI v1.3.78] https://pypi.org/project/openrouter/1.3.78 - .

β€Ždocs/sdks/externalusers/README.mdxβ€Ž

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ with OpenRouter(
6262
| ---------------------------------- | ---------------------------------- | ---------------------------------- |
6363
| errors.BadRequestResponseError | 400 | application/json |
6464
| errors.UnauthorizedResponseError | 401 | application/json |
65+
| errors.ForbiddenResponseError | 403 | application/json |
6566
| errors.NotFoundResponseError | 404 | application/json |
6667
| errors.InternalServerResponseError | 500 | application/json |
6768
| errors.OpenRouterDefaultError | 4XX, 5XX | \*/\* |
@@ -205,6 +206,7 @@ with OpenRouter(
205206
| ---------------------------------- | ---------------------------------- | ---------------------------------- |
206207
| errors.BadRequestResponseError | 400 | application/json |
207208
| errors.UnauthorizedResponseError | 401 | application/json |
209+
| errors.ForbiddenResponseError | 403 | application/json |
208210
| errors.NotFoundResponseError | 404 | application/json |
209211
| errors.InternalServerResponseError | 500 | application/json |
210212
| errors.OpenRouterDefaultError | 4XX, 5XX | \*/\* |

β€Ždocs/sdks/presets/README.mdxβ€Ž

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@ with OpenRouter(
6565
| ---------------------------------- | ---------------------------------- | ---------------------------------- |
6666
| errors.BadRequestResponseError | 400 | application/json |
6767
| errors.UnauthorizedResponseError | 401 | application/json |
68+
| errors.ForbiddenResponseError | 403 | application/json |
6869
| errors.InternalServerResponseError | 500 | application/json |
6970
| errors.OpenRouterDefaultError | 4XX, 5XX | \*/\* |
7071

@@ -113,6 +114,7 @@ with OpenRouter(
113114
| ---------------------------------- | ---------------------------------- | ---------------------------------- |
114115
| errors.BadRequestResponseError | 400 | application/json |
115116
| errors.UnauthorizedResponseError | 401 | application/json |
117+
| errors.ForbiddenResponseError | 403 | application/json |
116118
| errors.NotFoundResponseError | 404 | application/json |
117119
| errors.InternalServerResponseError | 500 | application/json |
118120
| errors.OpenRouterDefaultError | 4XX, 5XX | \*/\* |
@@ -443,6 +445,7 @@ with OpenRouter(
443445
| ---------------------------------- | ---------------------------------- | ---------------------------------- |
444446
| errors.BadRequestResponseError | 400 | application/json |
445447
| errors.UnauthorizedResponseError | 401 | application/json |
448+
| errors.ForbiddenResponseError | 403 | application/json |
446449
| errors.NotFoundResponseError | 404 | application/json |
447450
| errors.InternalServerResponseError | 500 | application/json |
448451
| errors.OpenRouterDefaultError | 4XX, 5XX | \*/\* |
@@ -493,6 +496,7 @@ with OpenRouter(
493496
| ---------------------------------- | ---------------------------------- | ---------------------------------- |
494497
| errors.BadRequestResponseError | 400 | application/json |
495498
| errors.UnauthorizedResponseError | 401 | application/json |
499+
| errors.ForbiddenResponseError | 403 | application/json |
496500
| errors.NotFoundResponseError | 404 | application/json |
497501
| errors.InternalServerResponseError | 500 | application/json |
498502
| errors.OpenRouterDefaultError | 4XX, 5XX | \*/\* |

β€Ž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.77"
3+
version = "1.3.78"
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.77"
6+
__version__: str = "1.3.78"
77
__openapi_doc_version__: str = "1.0.0"
88
__gen_version__: str = "2.914.0"
9-
__user_agent__: str = "speakeasy-sdk/python 1.3.77 2.914.0 1.0.0 openrouter"
9+
__user_agent__: str = "speakeasy-sdk/python 1.3.78 2.914.0 1.0.0 openrouter"
1010

1111
try:
1212
if __package__ is not None:

0 commit comments

Comments
Β (0)