Skip to content

Commit 54aa67f

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

45 files changed

Lines changed: 470 additions & 227 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

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

Lines changed: 93 additions & 81 deletions
Large diffs are not rendered by default.

β€Ž.speakeasy/gen.yamlβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ generation:
3737
documentation: mintlify
3838
preApplyUnionDiscriminators: true
3939
python:
40-
version: 1.3.101
40+
version: 1.3.102
4141
additionalDependencies:
4242
dev:
4343
pytest: '>=8.3'

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

Lines changed: 62 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -11799,6 +11799,32 @@ components:
1179911799
required:
1180011800
- 'data'
1180111801
type: 'object'
11802+
ExtractionAsset:
11803+
additionalProperties: false
11804+
description: 'An image or PDF sent once and referenced by its key in the `assets` map. `data_base64` is the file in standard base64 with no `data:` prefix. PDF is read by document models only.'
11805+
properties:
11806+
data_base64:
11807+
minLength: 1
11808+
pattern: '^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$'
11809+
type: 'string'
11810+
format:
11811+
enum:
11812+
- 'png'
11813+
- 'jpg'
11814+
- 'jpeg'
11815+
- 'pdf'
11816+
type: 'string'
11817+
x-speakeasy-unknown-values: allow
11818+
type:
11819+
enum:
11820+
- 'image'
11821+
- 'document'
11822+
type: 'string'
11823+
x-speakeasy-unknown-values: allow
11824+
required:
11825+
- 'format'
11826+
- 'data_base64'
11827+
type: 'object'
1180211828
ExtractionDateAnswer:
1180311829
properties:
1180411830
confidence:
@@ -11812,10 +11838,11 @@ components:
1181211838
format: 'double'
1181311839
type: 'number'
1181411840
source:
11815-
description: 'Set to `image` when the answer was read from an image rather than the state text.'
11841+
description: 'Set to `image` or `document` when the answer was read from an image or a PDF rather than the state text.'
1181611842
enum:
1181711843
- 'state'
1181811844
- 'image'
11845+
- 'document'
1181911846
type: 'string'
1182011847
x-speakeasy-unknown-values: allow
1182111848
span:
@@ -11842,6 +11869,7 @@ components:
1184211869
- 'value'
1184311870
type: 'object'
1184411871
ExtractionDateField:
11872+
additionalProperties: false
1184511873
properties:
1184611874
instructions:
1184711875
description: 'What the field should contain.'
@@ -11872,10 +11900,11 @@ components:
1187211900
format: 'double'
1187311901
type: 'number'
1187411902
source:
11875-
description: 'Set to `image` when the answer was read from an image rather than the state text.'
11903+
description: 'Set to `image` or `document` when the answer was read from an image or a PDF rather than the state text.'
1187611904
enum:
1187711905
- 'state'
1187811906
- 'image'
11907+
- 'document'
1187911908
type: 'string'
1188011909
x-speakeasy-unknown-values: allow
1188111910
span:
@@ -11902,6 +11931,7 @@ components:
1190211931
- 'value'
1190311932
type: 'object'
1190411933
ExtractionDatetimeField:
11934+
additionalProperties: false
1190511935
properties:
1190611936
instructions:
1190711937
description: 'What the field should contain.'
@@ -11933,10 +11963,11 @@ components:
1193311963
format: 'double'
1193411964
type: 'number'
1193511965
source:
11936-
description: 'Set to `image` when the answer was read from an image rather than the state text.'
11966+
description: 'Set to `image` or `document` when the answer was read from an image or a PDF rather than the state text.'
1193711967
enum:
1193811968
- 'state'
1193911969
- 'image'
11970+
- 'document'
1194011971
type: 'string'
1194111972
x-speakeasy-unknown-values: allow
1194211973
span:
@@ -11967,6 +11998,7 @@ components:
1196711998
- 'value'
1196811999
type: 'object'
1196912000
ExtractionDurationField:
12001+
additionalProperties: false
1197012002
properties:
1197112003
decimals:
1197212004
description: 'Decimal places kept in `value`.'
@@ -12046,10 +12078,11 @@ components:
1204612078
- type: 'string'
1204712079
type: 'array'
1204812080
source:
12049-
description: 'Set to `image` when the answer was read from an image rather than the state text.'
12081+
description: 'Set to `image` or `document` when the answer was read from an image or a PDF rather than the state text.'
1205012082
enum:
1205112083
- 'state'
1205212084
- 'image'
12085+
- 'document'
1205312086
type: 'string'
1205412087
x-speakeasy-unknown-values: allow
1205512088
spell_confidence:
@@ -12071,6 +12104,7 @@ components:
1207112104
- 'value'
1207212105
type: 'object'
1207312106
ExtractionEstimateField:
12107+
additionalProperties: false
1207412108
properties:
1207512109
instructions:
1207612110
description: 'What the field should contain.'
@@ -12165,10 +12199,11 @@ components:
1216512199
- type: 'string'
1216612200
type: 'array'
1216712201
source:
12168-
description: 'Set to `image` when the answer was read from an image rather than the state text.'
12202+
description: 'Set to `image` or `document` when the answer was read from an image or a PDF rather than the state text.'
1216912203
enum:
1217012204
- 'state'
1217112205
- 'image'
12206+
- 'document'
1217212207
type: 'string'
1217312208
x-speakeasy-unknown-values: allow
1217412209
spell_confidence:
@@ -12197,6 +12232,7 @@ components:
1219712232
- 'value'
1219812233
type: 'object'
1219912234
ExtractionForecastField:
12235+
additionalProperties: false
1220012236
properties:
1220112237
horizon:
1220212238
description: 'Number of forecast steps.'
@@ -12316,6 +12352,12 @@ components:
1231612352
confidence:
1231712353
format: 'double'
1231812354
type: 'number'
12355+
confidences:
12356+
description: 'One confidence per item of `value`, in the same order.'
12357+
items:
12358+
format: 'double'
12359+
type: 'number'
12360+
type: 'array'
1231912361
guess:
1232012362
description: 'The most likely value even when `value` is null because `p_null` crossed the threshold.'
1232112363
items:
@@ -12329,10 +12371,11 @@ components:
1232912371
format: 'double'
1233012372
type: 'number'
1233112373
source:
12332-
description: 'Set to `image` when the answer was read from an image rather than the state text.'
12374+
description: 'Set to `image` or `document` when the answer was read from an image or a PDF rather than the state text.'
1233312375
enum:
1233412376
- 'state'
1233512377
- 'image'
12378+
- 'document'
1233612379
type: 'string'
1233712380
x-speakeasy-unknown-values: allow
1233812381
spans:
@@ -12366,6 +12409,7 @@ components:
1236612409
- 'value'
1236712410
type: 'object'
1236812411
ExtractionListField:
12412+
additionalProperties: false
1236912413
properties:
1237012414
decimals:
1237112415
description: 'Decimal places kept in `value`.'
@@ -12410,10 +12454,11 @@ components:
1241012454
format: 'double'
1241112455
type: 'number'
1241212456
source:
12413-
description: 'Set to `image` when the answer was read from an image rather than the state text.'
12457+
description: 'Set to `image` or `document` when the answer was read from an image or a PDF rather than the state text.'
1241412458
enum:
1241512459
- 'state'
1241612460
- 'image'
12461+
- 'document'
1241712462
type: 'string'
1241812463
x-speakeasy-unknown-values: allow
1241912464
span:
@@ -12441,6 +12486,7 @@ components:
1244112486
- 'value'
1244212487
type: 'object'
1244312488
ExtractionNumberField:
12489+
additionalProperties: false
1244412490
properties:
1244512491
decimals:
1244612492
description: 'Decimal places kept in `value`.'
@@ -12468,11 +12514,12 @@ components:
1246812514
- 'type'
1246912515
type: 'object'
1247012516
ExtractionsRequest:
12517+
additionalProperties: false
1247112518
properties:
1247212519
assets:
1247312520
additionalProperties:
12474-
$ref: '#/components/schemas/DecisionsImageAsset'
12475-
description: 'Images keyed by reference string, as in TypeSafe''s API. Write a reference wherever the image belongs in `state`, `instructions`, or `criteria`; every asset must be referenced at least once. Jev reads a reference as a whole string value or inside longer text. Other Decisions models read a whole-string reference wherever they read an `image_url` part and reject a reference inside longer text.'
12521+
$ref: '#/components/schemas/ExtractionAsset'
12522+
description: 'Assets keyed by reference string. Write a reference wherever the asset belongs in `state` or a field `instructions`; every asset must be referenced at least once. A `state` that is exactly the sole asset''s key carries no text of its own and is read as file-only. A model that reads either text or a document per request, not both (ScaleDown Extract with a PDF), needs that form: any other text around the key is state text and is rejected with 400.'
1247612523
type: 'object'
1247712524
fields:
1247812525
additionalProperties:
@@ -12613,10 +12660,11 @@ components:
1261312660
format: 'double'
1261412661
type: 'number'
1261512662
source:
12616-
description: 'Set to `image` when the answer was read from an image rather than the state text.'
12663+
description: 'Set to `image` or `document` when the answer was read from an image or a PDF rather than the state text.'
1261712664
enum:
1261812665
- 'state'
1261912666
- 'image'
12667+
- 'document'
1262012668
type: 'string'
1262112669
x-speakeasy-unknown-values: allow
1262212670
span:
@@ -12643,6 +12691,7 @@ components:
1264312691
- 'value'
1264412692
type: 'object'
1264512693
ExtractionTextField:
12694+
additionalProperties: false
1264612695
properties:
1264712696
instructions:
1264812697
description: 'What the field should contain.'
@@ -12673,10 +12722,11 @@ components:
1267312722
format: 'double'
1267412723
type: 'number'
1267512724
source:
12676-
description: 'Set to `image` when the answer was read from an image rather than the state text.'
12725+
description: 'Set to `image` or `document` when the answer was read from an image or a PDF rather than the state text.'
1267712726
enum:
1267812727
- 'state'
1267912728
- 'image'
12729+
- 'document'
1268012730
type: 'string'
1268112731
x-speakeasy-unknown-values: allow
1268212732
span:
@@ -12703,6 +12753,7 @@ components:
1270312753
- 'value'
1270412754
type: 'object'
1270512755
ExtractionTimeField:
12756+
additionalProperties: false
1270612757
properties:
1270712758
instructions:
1270812759
description: 'What the field should contain.'

β€Ž.speakeasy/workflow.lockβ€Ž

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,19 +2,19 @@ speakeasyVersion: 1.803.2
22
sources:
33
OpenRouter API:
44
sourceNamespace: open-router-chat-completions-api
5-
sourceRevisionDigest: sha256:ccc96c5353fb2491ea1283b289e1862413351f3483ae6a03636fafc98144a5f8
6-
sourceBlobDigest: sha256:0f96ca3b3857d32836394a87ae1612c437ac45a5cb70745f5fc7340e176f8a22
5+
sourceRevisionDigest: sha256:df8d73d8a3c2e994074904c6b7b282a13f37b1708231f60fc8240715b564ab6a
6+
sourceBlobDigest: sha256:fb00a0483bd11ce79fc75982e9498865e02050a6eac2defef0a64b918fe96069
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:ccc96c5353fb2491ea1283b289e1862413351f3483ae6a03636fafc98144a5f8
15-
sourceBlobDigest: sha256:0f96ca3b3857d32836394a87ae1612c437ac45a5cb70745f5fc7340e176f8a22
14+
sourceRevisionDigest: sha256:df8d73d8a3c2e994074904c6b7b282a13f37b1708231f60fc8240715b564ab6a
15+
sourceBlobDigest: sha256:fb00a0483bd11ce79fc75982e9498865e02050a6eac2defef0a64b918fe96069
1616
codeSamplesNamespace: open-router-python-code-samples
17-
codeSamplesRevisionDigest: sha256:7902840af4493cd0ab8bd1ae9f0524227e09edaa1c245681123e55d922e51f8b
17+
codeSamplesRevisionDigest: sha256:78857678d6d27488340eeea14da0733a475a85b89313700bb1c75812a393e597
1818
workflow:
1919
workflowVersion: 1.0.0
2020
speakeasyVersion: 1.803.2

β€ŽRELEASES.mdβ€Ž

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3779,4 +3779,14 @@ Based on:
37793779
### Generated
37803780
- [python v1.3.101] .
37813781
### Releases
3782-
- [PyPI v1.3.101] https://pypi.org/project/openrouter/1.3.101 - .
3782+
- [PyPI v1.3.101] https://pypi.org/project/openrouter/1.3.101 - .
3783+
3784+
## 2026-10-30 16:22:10
3785+
### Changes
3786+
Based on:
3787+
- OpenAPI Doc
3788+
- Speakeasy CLI 1.803.2 (2.950.13) https://github.com/speakeasy-api/speakeasy
3789+
### Generated
3790+
- [python v1.3.102] .
3791+
### Releases
3792+
- [PyPI v1.3.102] https://pypi.org/project/openrouter/1.3.102 - .
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
---
2+
title: "ExtractionAsset"
3+
---
4+
5+
An image or PDF sent once and referenced by its key in the `assets` map. `data_base64` is the file in standard base64 with no `data:` prefix. PDF is read by document models only.
6+
7+
8+
## Fields
9+
10+
| Field | Type | Required | Description |
11+
| -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- |
12+
| `data_base64` | *str* | βœ”οΈ | N/A |
13+
| `format_` | [components.ExtractionAssetFormat](../components/extractionassetformat.mdx) | βœ”οΈ | N/A |
14+
| `type` | [Optional[components.ExtractionAssetType]](../components/extractionassettype.mdx) | βž– | N/A |
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
---
2+
title: "ExtractionAssetFormat"
3+
---
4+
5+
## Example Usage
6+
7+
```python
8+
from openrouter.components import ExtractionAssetFormat
9+
10+
# Open enum: unrecognized values are captured as UnrecognizedStr
11+
value: ExtractionAssetFormat = "png"
12+
```
13+
14+
15+
## Values
16+
17+
This is an open enum. Unrecognized values will not fail type checks.
18+
19+
- `"png"`
20+
- `"jpg"`
21+
- `"jpeg"`
22+
- `"pdf"`
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
---
2+
title: "ExtractionAssetType"
3+
---
4+
5+
## Example Usage
6+
7+
```python
8+
from openrouter.components import ExtractionAssetType
9+
10+
# Open enum: unrecognized values are captured as UnrecognizedStr
11+
value: ExtractionAssetType = "image"
12+
```
13+
14+
15+
## Values
16+
17+
This is an open enum. Unrecognized values will not fail type checks.
18+
19+
- `"image"`
20+
- `"document"`

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ title: "ExtractionDateAnswer"
99
| `confidence` | *Optional[float]* | βž– | N/A |
1010
| `guess` | *Optional[str]* | βž– | The most likely value even when `value` is null because `p_null` crossed the threshold. |
1111
| `p_null` | *Optional[float]* | βž– | Probability that the state contains nothing for this field. |
12-
| `source` | [Optional[components.ExtractionDateAnswerSource]](../components/extractiondateanswersource.mdx) | βž– | Set to `image` when the answer was read from an image rather than the state text. |
12+
| `source` | [Optional[components.ExtractionDateAnswerSource]](../components/extractiondateanswersource.mdx) | βž– | Set to `image` or `document` when the answer was read from an image or a PDF rather than the state text. |
1313
| `span` | List[*int*] | βž– | Unicode code point offsets [start, end) into the state text: index code points (not UTF-16 code units or UTF-8 bytes), so an emoji or accented letter counts once. |
1414
| `spell_confidence` | *Optional[float]* | βž– | Confidence in the spelling of text read from an image. |
1515
| `type` | [components.ExtractionDateAnswerType](../components/extractiondateanswertype.mdx) | βœ”οΈ | N/A |

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

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

5-
Set to `image` when the answer was read from an image rather than the state text.
5+
Set to `image` or `document` when the answer was read from an image or a PDF rather than the state text.
66

77
## Example Usage
88

@@ -20,3 +20,4 @@ This is an open enum. Unrecognized values will not fail type checks.
2020

2121
- `"state"`
2222
- `"image"`
23+
- `"document"`

0 commit comments

Comments
Β (0)