Skip to content

Commit d6ea5cf

Browse files
github-actions[bot]speakeasybotspeakeasy-github[bot]
authored
chore: 🐝 Update SDK - Generate (spec change merged) 1.3.59 (#1088)
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 fb9f61e commit d6ea5cf

15 files changed

Lines changed: 81 additions & 57 deletions

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

Lines changed: 25 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: 2820c1ebeee9014a28ca30bf098f8aee
4+
docChecksum: ab7299f20b99875c8d4dc6b7d1961031
55
docVersion: 1.0.0
66
speakeasyVersion: 1.787.0
77
generationVersion: 2.914.0
8-
releaseVersion: 1.3.58
9-
configChecksum: 402618c19e749c96b24b99f3da7e25d5
8+
releaseVersion: 1.3.59
9+
configChecksum: b5283e3d1f1d768501fa29c241717898
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: 247f2336-3669-41d1-a973-651801266f68
15-
pristine_commit_hash: 7fc1c4d6c4813a5d232f4c7309e34a207afe6106
16-
pristine_tree_hash: 4d8a3da59058ebca12b8b2d618a296012352b4f2
14+
generation_id: 60ba15f6-02b1-4b50-87b3-d9cbb799921f
15+
pristine_commit_hash: 7558df97d221f06df6834a6b16d8eefa87151c41
16+
pristine_tree_hash: 69909a1476c6dba2cdb1362f264793c75ea4e9f3
1717
features:
1818
python:
1919
acceptHeaders: 3.0.0
@@ -7384,16 +7384,16 @@ trackedFiles:
73847384
pristine_git_object: 834297f4c2167ee22b57bd3cfb126b37662cd1ae
73857385
docs/components/tokenexchangerequest.mdx:
73867386
id: c1564eb38361
7387-
last_write_checksum: sha1:c4e87426647f3cd5568160bc18a5adac444ecf65
7388-
pristine_git_object: a086ed56570a2ace2826884497fc3fe0d2fe2337
7387+
last_write_checksum: sha1:ed65ff086f95ebbeb1f16a001378b50762f38d47
7388+
pristine_git_object: c48d025215d5de8fd2b08529c36c9ed67c4daedd
73897389
docs/components/tokenexchangerequestscope.mdx:
73907390
id: 786235cab16a
7391-
last_write_checksum: sha1:a436470eca241bc1e8127b80110e0a89cc8ff1d7
7392-
pristine_git_object: 32b57f584bd0540db2465e8ef74e00528518b3e0
7391+
last_write_checksum: sha1:d6048f57a1ee0a2ffa074a8319ffef50447c2d85
7392+
pristine_git_object: 615bc1fff1fda47a8bcbca13b6f227818e4b47ad
73937393
docs/components/tokenexchangeresponse.mdx:
73947394
id: 5b7eb37933eb
7395-
last_write_checksum: sha1:a0fb15d00227686dfe83a567178d71d3a7c7c710
7396-
pristine_git_object: c3a8de52d28aeafb3daf7e9f12b19782b3aa582e
7395+
last_write_checksum: sha1:1c7a24b994310dac9c378ea83696f0769691a914
7396+
pristine_git_object: a3c7e992b6b90b2e1a8b38c732a94e0365d6de4f
73977397
docs/components/tokentype.mdx:
73987398
id: 0c9b63e6ad84
73997399
last_write_checksum: sha1:015804b1c1b1e656b35d22e1a348649dd5d11cda
@@ -10252,8 +10252,8 @@ trackedFiles:
1025210252
pristine_git_object: 9131aee97e483384b6721a32936c05901dfeea5d
1025310253
docs/sdks/oauth/README.mdx:
1025410254
id: 42b5079343d2
10255-
last_write_checksum: sha1:57c8bf432795162dae43b5ec3d37004ff0df0dd5
10256-
pristine_git_object: ac1d96c8536a9f18194690db64cefa9858de2998
10255+
last_write_checksum: sha1:3cde9bcb927f4723ccdb237d9f7a54a50f96abe7
10256+
pristine_git_object: 044ea9eb6f4710cc2be85a5ce09b8fe6b86629a5
1025710257
docs/sdks/observability/README.mdx:
1025810258
id: 75811527e651
1025910259
last_write_checksum: sha1:5c1c1b6816a3e5af3b84a32a8e9605619e8469c9
@@ -10320,8 +10320,8 @@ trackedFiles:
1032010320
pristine_git_object: 3e38f1a929f7d6b1d6de74604aa87e3d8f010544
1032110321
pyproject.toml:
1032210322
id: 5d07e7d72637
10323-
last_write_checksum: sha1:a86a096de48d48d3e59c20f6f49ef7bd9008c900
10324-
pristine_git_object: a1e0ff5e66179c29d1e07e0d2fbce8d160d63747
10323+
last_write_checksum: sha1:4d31540309694a56bbfe0f19a53d19f03da53e8b
10324+
pristine_git_object: 50f35b30873dfb97a1388b662773da29b4dd10ca
1032510325
scripts/prepare_readme.py:
1032610326
id: e0c5957a6035
1032710327
last_write_checksum: sha1:77f44b60b98bc126557ec27391f91dfba764bb54
@@ -10348,8 +10348,8 @@ trackedFiles:
1034810348
pristine_git_object: 86713cfea633e09d33b3d4e65281071fe20e6137
1034910349
src/openrouter/_version.py:
1035010350
id: d8d15ad6c586
10351-
last_write_checksum: sha1:640adf20b6b1131f18d77eead235ede40e5aadba
10352-
pristine_git_object: 01dfa8836269c963c723ea7abb2d21b8e5bae4bf
10351+
last_write_checksum: sha1:a2461009aed4621da3c5058671d699f186fda10b
10352+
pristine_git_object: 74ee8fbdba00a70b1cd00eec1f2d87b48042b8db
1035310353
src/openrouter/alpha.py:
1035410354
id: 306c4d93308d
1035510355
last_write_checksum: sha1:30f55a360f41376ab194b9ea725fe4e001a5ae1a
@@ -13544,12 +13544,12 @@ trackedFiles:
1354413544
pristine_git_object: ffae73647f1060eeb9f46a4d331de6b9760dc5d9
1354513545
src/openrouter/components/tokenexchangerequest.py:
1354613546
id: 2359476f8b4b
13547-
last_write_checksum: sha1:945320dc39299eb722890d3ac2d8352e033c561a
13548-
pristine_git_object: 10c0f8aa34133562638d4421a70b007a5dbe6f13
13547+
last_write_checksum: sha1:90071f47bf240283f5e58701a2cf8e50fc96f94e
13548+
pristine_git_object: 58aa51d1dc1ce340128584142f70638048fc03e5
1354913549
src/openrouter/components/tokenexchangeresponse.py:
1355013550
id: c7c8ecb676b8
13551-
last_write_checksum: sha1:bd1d4f0bbb4c320e630e28f92504f040c927eabf
13552-
pristine_git_object: ce7b2081d390b2e9c986f61c9d1be50ab6e5794f
13551+
last_write_checksum: sha1:0728962d87b24eb6eaa82e12c43adedafd69cea4
13552+
pristine_git_object: 0416596bae5f67d52cf9f09e2a262b37bc40738c
1355313553
src/openrouter/components/toolcallstatus.py:
1355413554
id: 32339139c3f3
1355513555
last_write_checksum: sha1:a75631cdb460f190aa10d5557519519d1ef5fbe3
@@ -14052,8 +14052,8 @@ trackedFiles:
1405214052
pristine_git_object: e16291f980d3a1e19aeef0f68cf5b4998da16f82
1405314053
src/openrouter/oauth.py:
1405414054
id: 1948ce27255b
14055-
last_write_checksum: sha1:3a64f1522bcd0680e4371e8eb2ec88122987bf61
14056-
pristine_git_object: 6f3d587f5a6c2635328cb27a4d869b81cfbc2213
14055+
last_write_checksum: sha1:d6470de6325431db64b08ff4468fb2d8ea781c6f
14056+
pristine_git_object: 0df1c3e42dd5af1a7071a6be34253477695edb4b
1405714057
src/openrouter/observability.py:
1405814058
id: 6a17f32d3f33
1405914059
last_write_checksum: sha1:aed374189ac7e95d66485d8114e130ecd74af99e
@@ -18834,6 +18834,4 @@ examples:
1883418834
examplesVersion: 1.0.2
1883518835
releaseNotes: |
1883618836
## Python SDK Changes:
18837-
* `open_router.vault.delete_intern_vault_secret()`: `error.status[409]` **Added**
18838-
* `open_router.vault.delete_vault_secret()`: `error.status[409]` **Added**
18839-
* `open_router.vault.store_vault_secret()`: `error.status[409]` **Added**
18837+
* `open_router.o_auth.create_oauth_token()`: `request.scope` **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.58
39+
version: 1.3.59
4040
additionalDependencies:
4141
dev: {}
4242
main: {}

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

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31367,11 +31367,13 @@ components:
3136731367
example: 'urn:ietf:params:oauth:token-type:access_token'
3136831368
type: 'string'
3136931369
scope:
31370-
description: 'Optional; only `inference` is available.'
31370+
description: 'Optional; when present must match the policy''s key: `management` for a management key, `inference` otherwise.'
3137131371
enum:
3137231372
- 'inference'
31373+
- 'management'
3137331374
example: 'inference'
3137431375
type: 'string'
31376+
x-speakeasy-unknown-values: allow
3137531377
subject_token:
3137631378
description: 'The JWT issued by your identity provider.'
3137731379
example: '<jwt from your identity provider>'
@@ -31414,6 +31416,7 @@ components:
3141431416
example: 'urn:ietf:params:oauth:token-type:access_token'
3141531417
type: 'string'
3141631418
scope:
31419+
description: 'The one capability the token grants, fixed by the kind of key the policy acts as: `inference` or `management`.'
3141731420
example: 'inference'
3141831421
type: 'string'
3141931422
token_type:

β€Ž.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:6a8e2a83988a144c76a37022b284c3231f2c21214f5eedf21acc119f3811331f
6-
sourceBlobDigest: sha256:9e11fb751bf0341d329ac70e5b91bf099fe7a5081c596c5769be8427d748efe0
5+
sourceRevisionDigest: sha256:fc358e8fd0ba245e16eadeaf71e604d8fdf0c09a17d6bfe0d041843592fb4188
6+
sourceBlobDigest: sha256:44659309dd26f2f2e23016c8b6f714f17d00755ef3f21013eea925088ba09ed0
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:6a8e2a83988a144c76a37022b284c3231f2c21214f5eedf21acc119f3811331f
15-
sourceBlobDigest: sha256:9e11fb751bf0341d329ac70e5b91bf099fe7a5081c596c5769be8427d748efe0
14+
sourceRevisionDigest: sha256:fc358e8fd0ba245e16eadeaf71e604d8fdf0c09a17d6bfe0d041843592fb4188
15+
sourceBlobDigest: sha256:44659309dd26f2f2e23016c8b6f714f17d00755ef3f21013eea925088ba09ed0
1616
codeSamplesNamespace: open-router-python-code-samples
17-
codeSamplesRevisionDigest: sha256:2ab616a7ffef4556033bee8f360e5279bad1a8b8733cd81659320213ffcf3379
17+
codeSamplesRevisionDigest: sha256:595eb9e1e2d337804f295baf347e8dd8a2a0f4e80c2ea0dadd292091358ea1c9
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
@@ -3349,4 +3349,14 @@ Based on:
33493349
### Generated
33503350
- [python v1.3.58] .
33513351
### Releases
3352-
- [PyPI v1.3.58] https://pypi.org/project/openrouter/1.3.58 - .
3352+
- [PyPI v1.3.58] https://pypi.org/project/openrouter/1.3.58 - .
3353+
3354+
## 2026-10-15 21:29:19
3355+
### Changes
3356+
Based on:
3357+
- OpenAPI Doc
3358+
- Speakeasy CLI 1.787.0 (2.914.0) https://github.com/speakeasy-api/speakeasy
3359+
### Generated
3360+
- [python v1.3.59] .
3361+
### Releases
3362+
- [PyPI v1.3.59] https://pypi.org/project/openrouter/1.3.59 - .

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,6 @@ RFC 8693 token exchange request body (application/x-www-form-urlencoded).
1212
| `federation_policy_id` | *str* | βœ… | The federation policy to evaluate, from Settings β†’ Workload identity. Binds the exchange to one organization. | 4b2f7d1e-8c3a-4e5f-9a6b-1c2d3e4f5a6b |
1313
| `grant_type` | [components.GrantType](../components/granttype.mdx) | βœ… | Must be `urn:ietf:params:oauth:grant-type:token-exchange`. | urn:ietf:params:oauth:grant-type:token-exchange |
1414
| `requested_token_type` | [Optional[components.RequestedTokenType]](../components/requestedtokentype.mdx) | βž– | Optional; when present must be `urn:ietf:params:oauth:token-type:access_token`. | urn:ietf:params:oauth:token-type:access_token |
15-
| `scope` | [Optional[components.TokenExchangeRequestScope]](../components/tokenexchangerequestscope.mdx) | βž– | Optional; only `inference` is available. | inference |
15+
| `scope` | [Optional[components.TokenExchangeRequestScope]](../components/tokenexchangerequestscope.mdx) | βž– | Optional; when present must match the policy's key: `management` for a management key, `inference` otherwise. | inference |
1616
| `subject_token` | *str* | βœ… | The JWT issued by your identity provider. | \<jwt from your identity provider> |
1717
| `subject_token_type` | [components.SubjectTokenType](../components/subjecttokentype.mdx) | βœ… | Must be `urn:ietf:params:oauth:token-type:jwt`. | urn:ietf:params:oauth:token-type:jwt |

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

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,21 @@
22
title: "TokenExchangeRequestScope"
33
---
44

5-
Optional; only `inference` is available.
5+
Optional; when present must match the policy's key: `management` for a management key, `inference` otherwise.
66

77
## Example Usage
88

99
```python
1010
from openrouter.components import TokenExchangeRequestScope
11+
12+
# Open enum: unrecognized values are captured as UnrecognizedStr
1113
value: TokenExchangeRequestScope = "inference"
1214
```
1315

1416

1517
## Values
1618

19+
This is an open enum. Unrecognized values will not fail type checks.
20+
1721
- `"inference"`
22+
- `"management"`

0 commit comments

Comments
Β (0)