Skip to content

Commit 590884e

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

12 files changed

Lines changed: 56 additions & 36 deletions

‎.speakeasy/gen.lock‎

Lines changed: 19 additions & 21 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: f11d4c6cfe6b949e42b529edb05667b0
4+
docChecksum: 73a58a0b5e128814055e915eac23ce7a
55
docVersion: 1.0.0
66
speakeasyVersion: 1.787.0
77
generationVersion: 2.914.0
8-
releaseVersion: 1.1.94
9-
configChecksum: e1964393fe995aca63d38b9b8193505f
8+
releaseVersion: 1.1.95
9+
configChecksum: 4804315aee0e4b0d88be782248c0c42b
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: 94b6e956-9153-4519-825b-12fbe9b5d850
15-
pristine_commit_hash: 1a1e80aa381e4c1499ef7200c5577fe2a533c58c
16-
pristine_tree_hash: 92e09dd3e70b247f154a446c5636945505470b36
14+
generation_id: bfe42f10-a1f2-4342-ad91-91b85bad6c71
15+
pristine_commit_hash: 5b02ee023fd11d8cdcfa91540f483182dd396c5d
16+
pristine_tree_hash: 87befbc3e04969a9a553c17f9ba72400b41d5370
1717
features:
1818
python:
1919
acceptHeaders: 3.0.0
@@ -1430,16 +1430,16 @@ trackedFiles:
14301430
pristine_git_object: 99919bdcad18b5ecfcb2f9c4845b577154e78073
14311431
docs/components/contentfilterbuiltinentry.mdx:
14321432
id: 0d811c0a46a6
1433-
last_write_checksum: sha1:d5e4e053ab43277896291cc9c9d67c40d6cdcbb8
1434-
pristine_git_object: 5bdb1f6af9ce5a6a39e02f8069aec14bb261fcec
1433+
last_write_checksum: sha1:ea6d82edfb58685a7bd80270b12bf5ecc85cfe0e
1434+
pristine_git_object: 48678dc2c64916ea7b90104d5ce9439873637568
14351435
docs/components/contentfilterbuiltinentryinput.mdx:
14361436
id: 87ba5e6ba529
14371437
last_write_checksum: sha1:8ac4a21b68b34a1ead858b19d4933ea0f9cd964f
14381438
pristine_git_object: 28e250251c5033e3ee7fe7c142e474d4b3ec2993
14391439
docs/components/contentfilterbuiltinslug.mdx:
14401440
id: 80b519edd96c
1441-
last_write_checksum: sha1:746f45dad594dadabdcdbc87dfa3377fc588b852
1442-
pristine_git_object: 273ad6cb49690c8abc1620a6f4dd65f3ccf87789
1441+
last_write_checksum: sha1:ef8f94ca92433109d8ce4da86b1a7f8bc8a13ec0
1442+
pristine_git_object: 76125652209b61ec2def3efe9ee8a58a2fc28a69
14431443
docs/components/contentfilterentry.mdx:
14441444
id: e5d65035c6cb
14451445
last_write_checksum: sha1:451e759051c72d90ef986c9b40caa30d1eea6d84
@@ -7394,8 +7394,8 @@ trackedFiles:
73947394
pristine_git_object: 3e38f1a929f7d6b1d6de74604aa87e3d8f010544
73957395
pyproject.toml:
73967396
id: 5d07e7d72637
7397-
last_write_checksum: sha1:a14b28971dbef730b045cf72430d0da880797884
7398-
pristine_git_object: d193f2266b13fc9b7c8a267907ee9f3b6a698389
7397+
last_write_checksum: sha1:745214d32e4fa86781d4792975ccc8ea45055e3f
7398+
pristine_git_object: ed00b56a5301e6bc7a762c3bd42df272ce1cd419
73997399
scripts/prepare_readme.py:
74007400
id: e0c5957a6035
74017401
last_write_checksum: sha1:77f44b60b98bc126557ec27391f91dfba764bb54
@@ -7422,8 +7422,8 @@ trackedFiles:
74227422
pristine_git_object: 86713cfea633e09d33b3d4e65281071fe20e6137
74237423
src/openrouter/_version.py:
74247424
id: d8d15ad6c586
7425-
last_write_checksum: sha1:d16a90b3e1c53710e485d1c7e4dada80d4e8e626
7426-
pristine_git_object: 300b51f04628eea29e5f666a30480f08d9e3ea85
7425+
last_write_checksum: sha1:1e60f837dad0bb31a2d738cde3421272a65de07a
7426+
pristine_git_object: 1619e6c75cf881a32ea6dad59de7e3738e7e55d0
74277427
src/openrouter/analytics.py:
74287428
id: cb406b5aaabb
74297429
last_write_checksum: sha1:1e0004d8d1d5d797e2b54cd1cabeb7f9489d08e9
@@ -8090,16 +8090,16 @@ trackedFiles:
80908090
pristine_git_object: d5ba92a250e53b44240e5dedb4473cbabafd65ad
80918091
src/openrouter/components/contentfilterbuiltinentry.py:
80928092
id: 8506c7d8aca9
8093-
last_write_checksum: sha1:40ccbb53ae8a8f1e14ea0ef87fe9a62d3227dcda
8094-
pristine_git_object: ae3d7d5a0eafdfd78e6ce5f1ebe6eb8c15b365f9
8093+
last_write_checksum: sha1:f48a50b2269a26b0ba40e8de62c6134de356a19d
8094+
pristine_git_object: bbc2cf76ff8e3de15e794e7e796e8463e617531b
80958095
src/openrouter/components/contentfilterbuiltinentryinput.py:
80968096
id: 98fd75740393
80978097
last_write_checksum: sha1:4e5b2d32d259a3b19e1db9a522466957f9bea46b
80988098
pristine_git_object: 50a14b214439c74b201df7f4664653aeb3e4153d
80998099
src/openrouter/components/contentfilterbuiltinslug.py:
81008100
id: f222de10f841
8101-
last_write_checksum: sha1:130e56231d8a3a4fd16516bf7734097471118b66
8102-
pristine_git_object: bbc07e6bf29faada2c71a0fd44fdaf3286b94f4b
8101+
last_write_checksum: sha1:e3defa6c581aff618f0f5cb5a38a52d02645f511
8102+
pristine_git_object: a9ea7e360c6058abdb72e86d903b5ed1c4ae4825
81038103
src/openrouter/components/contentfilterentry.py:
81048104
id: 149ebe184f88
81058105
last_write_checksum: sha1:63dcb28479bc328253a4d102a6c191fa0e515394
@@ -12465,6 +12465,4 @@ examples:
1246512465
"503":
1246612466
application/json: {"error": {"code": 503, "message": "Service temporarily unavailable"}}
1246712467
examplesVersion: 1.0.2
12468-
releaseNotes: |
12469-
## Python SDK Changes:
12470-
* `open_router.workspaces.delete()`: `request.confirm_default_workspace_deletion` **Added**
12468+
releaseNotes: "## Python SDK Changes:\n* `open_router.guardrails.list()`: `response.data[].content_filter_builtins[].slug.enum(secrets)` **Added**\n* `open_router.guardrails.create()`: \n * `request.content_filter_builtins[].slug.enum(secrets)` **Added**\n * `response.data.content_filter_builtins[].slug.enum(secrets)` **Added**\n* `open_router.guardrails.get()`: `response.data.content_filter_builtins[].slug.enum(secrets)` **Added**\n* `open_router.guardrails.update()`: \n * `request.content_filter_builtins[].slug.enum(secrets)` **Added**\n * `response.data.content_filter_builtins[].slug.enum(secrets)` **Added**\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.94
39+
version: 1.1.95
4040
additionalDependencies:
4141
dev: {}
4242
main: {}

‎.speakeasy/out.openapi.yaml‎

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6802,7 +6802,7 @@ components:
68026802
type: 'string'
68036803
x-speakeasy-unknown-values: allow
68046804
ContentFilterBuiltinEntry:
6805-
description: 'A builtin content filter entry. Builtin filters include PII detectors and the regex-based prompt injection detector.'
6805+
description: 'A builtin content filter entry. Builtin filters include PII detectors, API-key and secret detectors, and the regex-based prompt injection detector.'
68066806
example:
68076807
action: 'redact'
68086808
label: '[EMAIL]'
@@ -6852,6 +6852,7 @@ components:
68526852
- 'ssn'
68536853
- 'credit-card'
68546854
- 'ip-address'
6855+
- 'secrets'
68556856
- 'person-name'
68566857
- 'address'
68576858
- 'regex-prompt-injection'
@@ -31352,6 +31353,9 @@ paths:
3135231353
required: true
3135331354
schema:
3135431355
example: 'or_file_011CNha8iCJcU1wXNR6q4V8w'
31356+
maxLength: 256
31357+
minLength: 1
31358+
pattern: '^[\w-]+$'
3135531359
type: 'string'
3135631360
- description: 'Workspace to scope the request to. Defaults to the caller’s default workspace.'
3135731361
in: 'query'
@@ -31462,6 +31466,9 @@ paths:
3146231466
required: true
3146331467
schema:
3146431468
example: 'or_file_011CNha8iCJcU1wXNR6q4V8w'
31469+
maxLength: 256
31470+
minLength: 1
31471+
pattern: '^[\w-]+$'
3146531472
type: 'string'
3146631473
- description: 'Workspace to scope the request to. Defaults to the caller’s default workspace.'
3146731474
in: 'query'
@@ -31582,6 +31589,9 @@ paths:
3158231589
required: true
3158331590
schema:
3158431591
example: 'or_file_011CNha8iCJcU1wXNR6q4V8w'
31592+
maxLength: 256
31593+
minLength: 1
31594+
pattern: '^[\w-]+$'
3158531595
type: 'string'
3158631596
- description: 'Workspace to scope the request to. Defaults to the caller’s default workspace.'
3158731597
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:c16b1ce6fe1fa8d7b52e656632d19c67875cdbcac0791174edf90b6100ebb5a4
6-
sourceBlobDigest: sha256:dd75ae1de777182fde22eb21575f530568ee0474066656902d079eb2a4694e04
5+
sourceRevisionDigest: sha256:f566c4b3ff6baa3330d953e37142230dec3a81eb35d3613b1c20bb0c8456662e
6+
sourceBlobDigest: sha256:b2fed0b5a95b0b1b09d88f3c45c3b1f054ccbadf214882c1d68d6bc94bc97139
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:c16b1ce6fe1fa8d7b52e656632d19c67875cdbcac0791174edf90b6100ebb5a4
15-
sourceBlobDigest: sha256:dd75ae1de777182fde22eb21575f530568ee0474066656902d079eb2a4694e04
14+
sourceRevisionDigest: sha256:f566c4b3ff6baa3330d953e37142230dec3a81eb35d3613b1c20bb0c8456662e
15+
sourceBlobDigest: sha256:b2fed0b5a95b0b1b09d88f3c45c3b1f054ccbadf214882c1d68d6bc94bc97139
1616
codeSamplesNamespace: open-router-python-code-samples
17-
codeSamplesRevisionDigest: sha256:06086592ea8fde432508fdaabc31303e3d6c5e3e5988ef75b373dd87443cc484
17+
codeSamplesRevisionDigest: sha256:7b1c8e7a48084a26dbee0183eae92e7dddb30b361dffa8fbbedc075ece9e5bfc
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
@@ -1729,4 +1729,14 @@ Based on:
17291729
### Generated
17301730
- [python v1.1.94] .
17311731
### Releases
1732-
- [PyPI v1.1.94] https://pypi.org/project/openrouter/1.1.94 - .
1732+
- [PyPI v1.1.94] https://pypi.org/project/openrouter/1.1.94 - .
1733+
1734+
## 2026-08-26 19:24:19
1735+
### Changes
1736+
Based on:
1737+
- OpenAPI Doc
1738+
- Speakeasy CLI 1.787.0 (2.914.0) https://github.com/speakeasy-api/speakeasy
1739+
### Generated
1740+
- [python v1.1.95] .
1741+
### Releases
1742+
- [PyPI v1.1.95] https://pypi.org/project/openrouter/1.1.95 - .

‎docs/components/contentfilterbuiltinentry.mdx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: "ContentFilterBuiltinEntry"
33
---
44

5-
A builtin content filter entry. Builtin filters include PII detectors and the regex-based prompt injection detector.
5+
A builtin content filter entry. Builtin filters include PII detectors, API-key and secret detectors, and the regex-based prompt injection detector.
66

77

88
## Fields

‎docs/components/contentfilterbuiltinslug.mdx‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ This is an open enum. Unrecognized values will not fail type checks.
2323
- `"ssn"`
2424
- `"credit-card"`
2525
- `"ip-address"`
26+
- `"secrets"`
2627
- `"person-name"`
2728
- `"address"`
2829
- `"regex-prompt-injection"`

‎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.1.94"
3+
version = "1.1.95"
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.1.94"
6+
__version__: str = "1.1.95"
77
__openapi_doc_version__: str = "1.0.0"
88
__gen_version__: str = "2.914.0"
9-
__user_agent__: str = "speakeasy-sdk/python 1.1.94 2.914.0 1.0.0 openrouter"
9+
__user_agent__: str = "speakeasy-sdk/python 1.1.95 2.914.0 1.0.0 openrouter"
1010

1111
try:
1212
if __package__ is not None:

‎src/openrouter/components/contentfilterbuiltinentry.py‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212

1313
class ContentFilterBuiltinEntryTypedDict(TypedDict):
14-
r"""A builtin content filter entry. Builtin filters include PII detectors and the regex-based prompt injection detector."""
14+
r"""A builtin content filter entry. Builtin filters include PII detectors, API-key and secret detectors, and the regex-based prompt injection detector."""
1515

1616
action: ContentFilterBuiltinAction
1717
r"""Action taken when the builtin filter triggers"""
@@ -24,7 +24,7 @@ class ContentFilterBuiltinEntryTypedDict(TypedDict):
2424

2525

2626
class ContentFilterBuiltinEntry(BaseModel):
27-
r"""A builtin content filter entry. Builtin filters include PII detectors and the regex-based prompt injection detector."""
27+
r"""A builtin content filter entry. Builtin filters include PII detectors, API-key and secret detectors, and the regex-based prompt injection detector."""
2828

2929
action: ContentFilterBuiltinAction
3030
r"""Action taken when the builtin filter triggers"""

0 commit comments

Comments
 (0)