Skip to content

Commit 143c9e9

Browse files
Update Speakeasy SDKs to version 1.685.0 (#324)
1 parent 529bd4e commit 143c9e9

File tree

276 files changed

+7577
-2003
lines changed

Some content is hidden

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

276 files changed

+7577
-2003
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
.env.local
12
.idea
23
**/__pycache__/
34
**/.speakeasy/temp/

.speakeasy/gen.lock

Lines changed: 3692 additions & 754 deletions
Large diffs are not rendered by default.

.speakeasy/gen.yaml

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,23 +16,30 @@ generation:
1616
auth:
1717
oAuth2ClientCredentialsEnabled: true
1818
oAuth2PasswordEnabled: false
19+
hoistGlobalSecurity: true
20+
schemas:
21+
allOfMergeStrategy: shallowMerge
22+
requestBodyFieldName: ""
23+
persistentEdits: {}
1924
tests:
2025
generateTests: true
2126
generateNewTests: false
2227
skipResponseBodyAssertions: false
2328
python:
24-
version: 1.10.1
29+
version: 1.11.0
2530
additionalDependencies:
2631
dev:
2732
pytest: ^8.2.2
2833
pytest-asyncio: ^0.23.7
2934
allowedRedefinedBuiltins:
3035
- id
3136
- object
37+
asyncMode: both
3238
authors:
3339
- Mistral
3440
baseErrorName: MistralError
3541
clientServerStatusCodesAsErrors: true
42+
constFieldCasing: upper
3643
defaultErrorName: SDKError
3744
description: Python Client SDK for the Mistral AI API.
3845
enableCustomCodeRegions: true
@@ -51,14 +58,19 @@ python:
5158
operations: ""
5259
shared: ""
5360
webhooks: ""
61+
inferUnionDiscriminators: true
5462
inputModelSuffix: input
63+
license: ""
5564
maxMethodParams: 15
5665
methodArguments: infer-optional-args
5766
moduleName: ""
67+
multipartArrayFormat: legacy
5868
outputModelSuffix: output
5969
packageManager: uv
6070
packageName: mistralai
71+
preApplyUnionDiscriminators: false
6172
pytestFilterWarnings: []
6273
pytestTimeout: 0
6374
responseFormat: flat
75+
sseFlatResponse: false
6476
templateVersion: v2

.speakeasy/workflow.lock

Lines changed: 13 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,51 +1,48 @@
1-
speakeasyVersion: 1.606.10
1+
speakeasyVersion: 1.685.0
22
sources:
33
mistral-azure-source:
44
sourceNamespace: mistral-openapi-azure
5-
sourceRevisionDigest: sha256:fcc7262f29ef89a07cb718d7e6094c272627cf9f531588aef15a6e92dd50130a
6-
sourceBlobDigest: sha256:9e6fc34474062726ceb96e424e858a0ae1b0506659cd11a58c72e1dd50dae885
5+
sourceRevisionDigest: sha256:544a7fd4d099e72a9a12681b326d44201f1b163e4df2f5fd643d831167255d84
6+
sourceBlobDigest: sha256:41c72401329a30983907c32a60063da8ccd82137cf79d7f452089b5b83bb9d92
77
tags:
88
- latest
9-
- speakeasy-sdk-regen-1768231850
109
mistral-google-cloud-source:
1110
sourceNamespace: mistral-openapi-google-cloud
12-
sourceRevisionDigest: sha256:bc59aaf55dc46e94ddf6cc687292807629d7a17ee5f573a504e7e44fd365e147
13-
sourceBlobDigest: sha256:545fe85c5dae11def2741fc7a99f297b7f0728c9677c3c7b94d56ddbed70581d
11+
sourceRevisionDigest: sha256:e3dd3079347edf744151936aaee4ec0ce3eeeb8f46b5c7f31f8e224221e879d4
12+
sourceBlobDigest: sha256:7a525230930debff23fec4e92e3ad2a57889ea46de86cc96d519615709ae8a16
1413
tags:
1514
- latest
16-
- speakeasy-sdk-regen-1768231856
1715
mistral-openapi:
1816
sourceNamespace: mistral-openapi
1917
sourceRevisionDigest: sha256:ebe60088ce4a3780c57a08de7bc73f973f529822a05db12c5d9c6084e9a934e0
2018
sourceBlobDigest: sha256:c93947af3495a5129cb6aecfe0546463917fbe1f66f2cf8f5a0accb36c035501
2119
tags:
2220
- latest
23-
- speakeasy-sdk-regen-1768502381
2421
targets:
2522
mistralai-azure-sdk:
2623
source: mistral-azure-source
2724
sourceNamespace: mistral-openapi-azure
28-
sourceRevisionDigest: sha256:fcc7262f29ef89a07cb718d7e6094c272627cf9f531588aef15a6e92dd50130a
29-
sourceBlobDigest: sha256:9e6fc34474062726ceb96e424e858a0ae1b0506659cd11a58c72e1dd50dae885
25+
sourceRevisionDigest: sha256:544a7fd4d099e72a9a12681b326d44201f1b163e4df2f5fd643d831167255d84
26+
sourceBlobDigest: sha256:41c72401329a30983907c32a60063da8ccd82137cf79d7f452089b5b83bb9d92
3027
codeSamplesNamespace: mistral-openapi-azure-code-samples
31-
codeSamplesRevisionDigest: sha256:9ab092d625da8034f7c17321ce5295ecad19ca4e2be2851a1a5a977c6bbeff05
28+
codeSamplesRevisionDigest: sha256:57821a9bf6cfe7001dfcbcaa2f17b233b98c2f79e2d7588540c41750f10b9c05
3229
mistralai-gcp-sdk:
3330
source: mistral-google-cloud-source
3431
sourceNamespace: mistral-openapi-google-cloud
35-
sourceRevisionDigest: sha256:bc59aaf55dc46e94ddf6cc687292807629d7a17ee5f573a504e7e44fd365e147
36-
sourceBlobDigest: sha256:545fe85c5dae11def2741fc7a99f297b7f0728c9677c3c7b94d56ddbed70581d
32+
sourceRevisionDigest: sha256:e3dd3079347edf744151936aaee4ec0ce3eeeb8f46b5c7f31f8e224221e879d4
33+
sourceBlobDigest: sha256:7a525230930debff23fec4e92e3ad2a57889ea46de86cc96d519615709ae8a16
3734
codeSamplesNamespace: mistral-openapi-google-cloud-code-samples
38-
codeSamplesRevisionDigest: sha256:31fd0ba45daa00020ef6f07df435ad343b62328bf56489dfcb66b647beeb52b5
35+
codeSamplesRevisionDigest: sha256:404d5964361b3ced085b11e4b8408c36a4a92efe12a97f7497919efdf7594f6f
3936
mistralai-sdk:
4037
source: mistral-openapi
4138
sourceNamespace: mistral-openapi
4239
sourceRevisionDigest: sha256:ebe60088ce4a3780c57a08de7bc73f973f529822a05db12c5d9c6084e9a934e0
4340
sourceBlobDigest: sha256:c93947af3495a5129cb6aecfe0546463917fbe1f66f2cf8f5a0accb36c035501
4441
codeSamplesNamespace: mistral-openapi-code-samples
45-
codeSamplesRevisionDigest: sha256:3bf740149ae15c0019fa482ffe9f198149759b0140cdfcbf87e5082c0d22e9ac
42+
codeSamplesRevisionDigest: sha256:14b511ab3d9f6f3d9ee0c81c32c6fa2dd6be9b6a1047298cf9f1162328045b4f
4643
workflow:
4744
workflowVersion: 1.0.0
48-
speakeasyVersion: 1.606.10
45+
speakeasyVersion: 1.685.0
4946
sources:
5047
mistral-azure-source:
5148
inputs:

.speakeasy/workflow.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
workflowVersion: 1.0.0
2-
speakeasyVersion: 1.606.10
2+
speakeasyVersion: 1.685.0
33
sources:
44
mistral-azure-source:
55
inputs:

README.md

Lines changed: 20 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -160,6 +160,7 @@ with Mistral(
160160
</br>
161161

162162
The same SDK client can also be used to make asynchronous requests by importing asyncio.
163+
163164
```python
164165
# Asynchronous Example
165166
import asyncio
@@ -213,6 +214,7 @@ with Mistral(
213214
</br>
214215

215216
The same SDK client can also be used to make asynchronous requests by importing asyncio.
217+
216218
```python
217219
# Asynchronous Example
218220
import asyncio
@@ -266,6 +268,7 @@ with Mistral(
266268
</br>
267269

268270
The same SDK client can also be used to make asynchronous requests by importing asyncio.
271+
269272
```python
270273
# Asynchronous Example
271274
import asyncio
@@ -319,6 +322,7 @@ with Mistral(
319322
</br>
320323

321324
The same SDK client can also be used to make asynchronous requests by importing asyncio.
325+
322326
```python
323327
# Asynchronous Example
324328
import asyncio
@@ -444,33 +448,24 @@ The documentation for the GCP SDK is available [here](packages/mistralai_gcp/REA
444448
<details open>
445449
<summary>Available methods</summary>
446450

447-
### [agents](docs/sdks/agents/README.md)
451+
### [Agents](docs/sdks/agents/README.md)
448452

449453
* [complete](docs/sdks/agents/README.md#complete) - Agents Completion
450454
* [stream](docs/sdks/agents/README.md#stream) - Stream Agents completion
451455

452-
### [audio](docs/sdks/audio/README.md)
453-
454-
455-
#### [audio.transcriptions](docs/sdks/transcriptions/README.md)
456+
### [Audio.Transcriptions](docs/sdks/transcriptions/README.md)
456457

457458
* [complete](docs/sdks/transcriptions/README.md#complete) - Create Transcription
458459
* [stream](docs/sdks/transcriptions/README.md#stream) - Create Streaming Transcription (SSE)
459460

460-
### [batch](docs/sdks/batch/README.md)
461-
462-
463-
#### [batch.jobs](docs/sdks/mistraljobs/README.md)
461+
### [Batch.Jobs](docs/sdks/mistraljobs/README.md)
464462

465463
* [list](docs/sdks/mistraljobs/README.md#list) - Get Batch Jobs
466464
* [create](docs/sdks/mistraljobs/README.md#create) - Create Batch Job
467465
* [get](docs/sdks/mistraljobs/README.md#get) - Get Batch Job
468466
* [cancel](docs/sdks/mistraljobs/README.md#cancel) - Cancel Batch Job
469467

470-
### [beta](docs/sdks/beta/README.md)
471-
472-
473-
#### [beta.agents](docs/sdks/mistralagents/README.md)
468+
### [Beta.Agents](docs/sdks/mistralagents/README.md)
474469

475470
* [create](docs/sdks/mistralagents/README.md#create) - Create a agent that can be used within a conversation.
476471
* [list](docs/sdks/mistralagents/README.md#list) - List agent entities.
@@ -479,7 +474,7 @@ The documentation for the GCP SDK is available [here](packages/mistralai_gcp/REA
479474
* [delete](docs/sdks/mistralagents/README.md#delete) - Delete an agent entity.
480475
* [update_version](docs/sdks/mistralagents/README.md#update_version) - Update an agent version.
481476

482-
#### [beta.conversations](docs/sdks/conversations/README.md)
477+
### [Beta.Conversations](docs/sdks/conversations/README.md)
483478

484479
* [start](docs/sdks/conversations/README.md#start) - Create a conversation and append entries to it.
485480
* [list](docs/sdks/conversations/README.md#list) - List all created conversations.
@@ -493,21 +488,21 @@ The documentation for the GCP SDK is available [here](packages/mistralai_gcp/REA
493488
* [append_stream](docs/sdks/conversations/README.md#append_stream) - Append new entries to an existing conversation.
494489
* [restart_stream](docs/sdks/conversations/README.md#restart_stream) - Restart a conversation starting from a given entry.
495490

496-
#### [beta.libraries](docs/sdks/libraries/README.md)
491+
### [Beta.Libraries](docs/sdks/libraries/README.md)
497492

498493
* [list](docs/sdks/libraries/README.md#list) - List all libraries you have access to.
499494
* [create](docs/sdks/libraries/README.md#create) - Create a new Library.
500495
* [get](docs/sdks/libraries/README.md#get) - Detailed information about a specific Library.
501496
* [delete](docs/sdks/libraries/README.md#delete) - Delete a library and all of it's document.
502497
* [update](docs/sdks/libraries/README.md#update) - Update a library.
503498

504-
#### [beta.libraries.accesses](docs/sdks/accesses/README.md)
499+
#### [Beta.Libraries.Accesses](docs/sdks/accesses/README.md)
505500

506501
* [list](docs/sdks/accesses/README.md#list) - List all of the access to this library.
507502
* [update_or_create](docs/sdks/accesses/README.md#update_or_create) - Create or update an access level.
508503
* [delete](docs/sdks/accesses/README.md#delete) - Delete an access level.
509504

510-
#### [beta.libraries.documents](docs/sdks/documents/README.md)
505+
#### [Beta.Libraries.Documents](docs/sdks/documents/README.md)
511506

512507
* [list](docs/sdks/documents/README.md#list) - List documents in a given library.
513508
* [upload](docs/sdks/documents/README.md#upload) - Upload a new document.
@@ -520,23 +515,23 @@ The documentation for the GCP SDK is available [here](packages/mistralai_gcp/REA
520515
* [extracted_text_signed_url](docs/sdks/documents/README.md#extracted_text_signed_url) - Retrieve the signed URL of text extracted from a given document.
521516
* [reprocess](docs/sdks/documents/README.md#reprocess) - Reprocess a document.
522517

523-
### [chat](docs/sdks/chat/README.md)
518+
### [Chat](docs/sdks/chat/README.md)
524519

525520
* [complete](docs/sdks/chat/README.md#complete) - Chat Completion
526521
* [stream](docs/sdks/chat/README.md#stream) - Stream chat completion
527522

528-
### [classifiers](docs/sdks/classifiers/README.md)
523+
### [Classifiers](docs/sdks/classifiers/README.md)
529524

530525
* [moderate](docs/sdks/classifiers/README.md#moderate) - Moderations
531526
* [moderate_chat](docs/sdks/classifiers/README.md#moderate_chat) - Chat Moderations
532527
* [classify](docs/sdks/classifiers/README.md#classify) - Classifications
533528
* [classify_chat](docs/sdks/classifiers/README.md#classify_chat) - Chat Classifications
534529

535-
### [embeddings](docs/sdks/embeddings/README.md)
530+
### [Embeddings](docs/sdks/embeddings/README.md)
536531

537532
* [create](docs/sdks/embeddings/README.md#create) - Embeddings
538533

539-
### [files](docs/sdks/files/README.md)
534+
### [Files](docs/sdks/files/README.md)
540535

541536
* [upload](docs/sdks/files/README.md#upload) - Upload File
542537
* [list](docs/sdks/files/README.md#list) - List Files
@@ -545,24 +540,20 @@ The documentation for the GCP SDK is available [here](packages/mistralai_gcp/REA
545540
* [download](docs/sdks/files/README.md#download) - Download File
546541
* [get_signed_url](docs/sdks/files/README.md#get_signed_url) - Get Signed Url
547542

548-
### [fim](docs/sdks/fim/README.md)
543+
### [Fim](docs/sdks/fim/README.md)
549544

550545
* [complete](docs/sdks/fim/README.md#complete) - Fim Completion
551546
* [stream](docs/sdks/fim/README.md#stream) - Stream fim completion
552547

553-
### [fine_tuning](docs/sdks/finetuning/README.md)
554-
555-
556-
#### [fine_tuning.jobs](docs/sdks/jobs/README.md)
548+
### [FineTuning.Jobs](docs/sdks/jobs/README.md)
557549

558550
* [list](docs/sdks/jobs/README.md#list) - Get Fine Tuning Jobs
559551
* [create](docs/sdks/jobs/README.md#create) - Create Fine Tuning Job
560552
* [get](docs/sdks/jobs/README.md#get) - Get Fine Tuning Job
561553
* [cancel](docs/sdks/jobs/README.md#cancel) - Cancel Fine Tuning Job
562554
* [start](docs/sdks/jobs/README.md#start) - Start Fine Tuning Job
563555

564-
565-
### [models](docs/sdks/models/README.md)
556+
### [Models](docs/sdks/models/README.md)
566557

567558
* [list](docs/sdks/models/README.md#list) - List Models
568559
* [retrieve](docs/sdks/models/README.md#retrieve) - Retrieve Model
@@ -571,7 +562,7 @@ The documentation for the GCP SDK is available [here](packages/mistralai_gcp/REA
571562
* [archive](docs/sdks/models/README.md#archive) - Archive Fine Tuned Model
572563
* [unarchive](docs/sdks/models/README.md#unarchive) - Unarchive Fine Tuned Model
573564

574-
### [ocr](docs/sdks/ocr/README.md)
565+
### [Ocr](docs/sdks/ocr/README.md)
575566

576567
* [process](docs/sdks/ocr/README.md#process) - OCR
577568

USAGE.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ with Mistral(
2929
</br>
3030

3131
The same SDK client can also be used to make asynchronous requests by importing asyncio.
32+
3233
```python
3334
# Asynchronous Example
3435
import asyncio
@@ -82,6 +83,7 @@ with Mistral(
8283
</br>
8384

8485
The same SDK client can also be used to make asynchronous requests by importing asyncio.
86+
8587
```python
8688
# Asynchronous Example
8789
import asyncio
@@ -135,6 +137,7 @@ with Mistral(
135137
</br>
136138

137139
The same SDK client can also be used to make asynchronous requests by importing asyncio.
140+
138141
```python
139142
# Asynchronous Example
140143
import asyncio
@@ -188,6 +191,7 @@ with Mistral(
188191
</br>
189192

190193
The same SDK client can also be used to make asynchronous requests by importing asyncio.
194+
191195
```python
192196
# Asynchronous Example
193197
import asyncio

docs/sdks/accesses/README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
# Accesses
2-
(*beta.libraries.accesses*)
1+
# Beta.Libraries.Accesses
32

43
## Overview
54

docs/sdks/agents/README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
# Agents
2-
(*agents*)
32

43
## Overview
54

docs/sdks/audio/README.md

Lines changed: 0 additions & 6 deletions
This file was deleted.

0 commit comments

Comments
 (0)