Skip to content

Commit e31acb2

Browse files
maiengineeringspeakeasybotactions-user
authored
chore: šŸ Update SDK - Generate MISTRALAI MISTRALAI-SDK [speakeasy/mistralai-sdk-31716300632-1] 2.9.3 (#609)
* ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.763.6 * chore: align package version files to version 2.9.3 --------- Co-authored-by: speakeasybot <[email protected]> Co-authored-by: GitHub Action <[email protected]>
1 parent 22608d4 commit e31acb2

69 files changed

Lines changed: 2204 additions & 167 deletions

File tree

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: 228 additions & 60 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
@@ -32,7 +32,7 @@ generation:
3232
generateNewTests: false
3333
skipResponseBodyAssertions: false
3434
python:
35-
version: 2.9.2
35+
version: 2.9.3
3636
additionalDependencies:
3737
dev:
3838
pytest: ^8.2.2

ā€Ž.speakeasy/workflow.lockā€Ž

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,11 @@ sources:
1616
- speakeasy-mistralai-gcp-sdk-26292830187-1
1717
mistral-openapi:
1818
sourceNamespace: mistral-openapi
19-
sourceRevisionDigest: sha256:5d604f8bee46f59eae32165470d5fa10143ecdd76da683b5a2f1df148f31b19e
20-
sourceBlobDigest: sha256:7697ea237b99d8b459a7f3853b08046e1f94f07d1478196486c259f17697d135
19+
sourceRevisionDigest: sha256:d0ce984b4c030ab9d532545d8935f6e4e12ab160e77dc5ca0b8d5924f7d78480
20+
sourceBlobDigest: sha256:72d88796291d78aaa55ee4eb609cfc5f62065ee3795180d4d57404c72aa19657
2121
tags:
2222
- latest
23-
- speakeasy-mistralai-sdk-31439429658-1
23+
- speakeasy-mistralai-sdk-31716300632-1
2424
targets:
2525
mistralai-azure-sdk:
2626
source: mistral-azure-source
@@ -39,10 +39,10 @@ targets:
3939
mistralai-sdk:
4040
source: mistral-openapi
4141
sourceNamespace: mistral-openapi
42-
sourceRevisionDigest: sha256:5d604f8bee46f59eae32165470d5fa10143ecdd76da683b5a2f1df148f31b19e
43-
sourceBlobDigest: sha256:7697ea237b99d8b459a7f3853b08046e1f94f07d1478196486c259f17697d135
42+
sourceRevisionDigest: sha256:d0ce984b4c030ab9d532545d8935f6e4e12ab160e77dc5ca0b8d5924f7d78480
43+
sourceBlobDigest: sha256:72d88796291d78aaa55ee4eb609cfc5f62065ee3795180d4d57404c72aa19657
4444
codeSamplesNamespace: mistral-openapi-code-samples
45-
codeSamplesRevisionDigest: sha256:a59cce64a521156ff070c23b436edcf77ffd6354b2e74b07f3194918dab44007
45+
codeSamplesRevisionDigest: sha256:724b545fa704fae1cf00637e8707f37543ddfa00bf96ed4a2d81198eca9715f4
4646
workflow:
4747
workflowVersion: 1.0.0
4848
speakeasyVersion: 1.763.6

ā€ŽREADME.mdā€Ž

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -705,6 +705,8 @@ print(res.choices[0].message.content)
705705
### [Beta.Users](docs/sdks/users/README.md)
706706

707707
* [get_identity](docs/sdks/users/README.md#get_identity) - Get Identity
708+
* [list_organizations](docs/sdks/users/README.md#list_organizations) - List Organizations
709+
* [list_workspaces](docs/sdks/users/README.md#list_workspaces) - List Workspaces
708710

709711
### [Chat](docs/sdks/chat/README.md)
710712

@@ -754,6 +756,10 @@ print(res.choices[0].message.content)
754756

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

759+
### [Realtime.Sessions](docs/sdks/sessions/README.md)
760+
761+
* [create](docs/sdks/sessions/README.md#create) - Create Client Session
762+
757763
### [Workflows](docs/sdks/workflows/README.md)
758764

759765
* [get_workflows](docs/sdks/workflows/README.md#get_workflows) - Get Workflows
@@ -1046,8 +1052,8 @@ with Mistral(
10461052

10471053

10481054
**Inherit from [`MistralError`](./src/mistralai/client/errors/mistralerror.py)**:
1049-
* [`HTTPValidationError`](./src/mistralai/client/errors/httpvalidationerror.py): Validation Error. Status code `422`. Applicable to 145 of 244 methods.*
1050-
* [`ObservabilityError`](./src/mistralai/client/errors/observabilityerror.py): Bad Request - Invalid request parameters or data. Applicable to 59 of 244 methods.*
1055+
* [`HTTPValidationError`](./src/mistralai/client/errors/httpvalidationerror.py): Validation Error. Status code `422`. Applicable to 146 of 247 methods.*
1056+
* [`ObservabilityError`](./src/mistralai/client/errors/observabilityerror.py): Bad Request - Invalid request parameters or data. Applicable to 59 of 247 methods.*
10511057
* [`ResponseValidationError`](./src/mistralai/client/errors/responsevalidationerror.py): Type mismatch between the response data and the expected Pydantic model. Provides access to the Pydantic validation error via the `cause` attribute.
10521058

10531059
</details>

ā€ŽRELEASES.mdā€Ž

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -828,4 +828,14 @@ Based on:
828828
### Generated
829829
- [python v2.9.2] .
830830
### Releases
831-
- [PyPI v2.9.2] https://pypi.org/project/mistralai/2.9.2 - .
831+
- [PyPI v2.9.2] https://pypi.org/project/mistralai/2.9.2 - .
832+
833+
## 2026-08-13 15:36:45
834+
### Changes
835+
Based on:
836+
- OpenAPI Doc
837+
- Speakeasy CLI 1.763.6 (2.884.13) https://github.com/speakeasy-api/speakeasy
838+
### Generated
839+
- [python v2.9.3] .
840+
### Releases
841+
- [PyPI v2.9.3] https://pypi.org/project/mistralai/2.9.3 - .

ā€Ždocs/models/authenticationmethodcreateorupdaterequest.mdā€Ž

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,11 @@
33

44
## Fields
55

6-
| Field | Type | Required | Description |
7-
| ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ |
8-
| `method_type` | [models.MethodType](../models/methodtype.md) | :heavy_check_mark: | The type of authentication method (e.g. oauth2, bearer, none). |
9-
| `auth_direction` | [Optional[models.AuthDirection]](../models/authdirection.md) | :heavy_minus_sign: | N/A |
10-
| `headers` | List[[models.ConnectorAuthenticationHeader](../models/connectorauthenticationheader.md)] | :heavy_minus_sign: | Set of headers to connect to the connector |
11-
| `oauth2_metadata_secrets` | [OptionalNullable[models.Oauth2MetadataSecrets]](../models/oauth2metadatasecrets.md) | :heavy_minus_sign: | New OAuth2 client credentials (client_id and client_secret). |
12-
| `oauth2_server_metadata` | [OptionalNullable[models.ExtendedOAuthServerMetadata]](../models/extendedoauthservermetadata.md) | :heavy_minus_sign: | New OAuth2 authorization server metadata. |
6+
| Field | Type | Required | Description |
7+
| ------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------ |
8+
| `method_type` | [models.MethodType](../models/methodtype.md) | :heavy_check_mark: | The type of authentication method (e.g. oauth2, bearer, none). |
9+
| `auth_direction` | [Optional[models.AuthDirection]](../models/authdirection.md) | :heavy_minus_sign: | N/A |
10+
| `headers` | List[[models.ConnectorAuthenticationHeader](../models/connectorauthenticationheader.md)] | :heavy_minus_sign: | Set of headers to connect to the connector |
11+
| `global_headers` | Dict[str, [models.GlobalHeaderValue](../models/globalheadervalue.md)] | :heavy_minus_sign: | Connector-wide headers keyed by header name, applied to every credential. Secret values are encrypted at rest and never returned in clear. |
12+
| `oauth2_metadata_secrets` | [OptionalNullable[models.Oauth2MetadataSecrets]](../models/oauth2metadatasecrets.md) | :heavy_minus_sign: | New OAuth2 client credentials (client_id and client_secret). |
13+
| `oauth2_server_metadata` | [OptionalNullable[models.ExtendedOAuthServerMetadata]](../models/extendedoauthservermetadata.md) | :heavy_minus_sign: | New OAuth2 authorization server metadata. |

ā€Ždocs/models/body.mdā€Ž

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# Body
2+
3+
4+
## Supported Types
5+
6+
### `models.CreateRealtimeSessionRequest`
7+
8+
```python
9+
value: models.CreateRealtimeSessionRequest = /* values here */
10+
```
11+

ā€Ždocs/models/clientsecret.mdā€Ž

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# ClientSecret
2+
3+
4+
## Fields
5+
6+
| Field | Type | Required | Description |
7+
| -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- |
8+
| `value` | *str* | :heavy_check_mark: | N/A |
9+
| `expires_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_check_mark: | N/A |
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# ClientSessionPurpose
2+
3+
Supported purposes for client sessions.
4+
5+
## Example Usage
6+
7+
```python
8+
from mistralai.client.models import ClientSessionPurpose
9+
value: ClientSessionPurpose = "realtime"
10+
```
11+
12+
13+
## Values
14+
15+
- `"realtime"`

ā€Ždocs/models/createconnectorrequest.mdā€Ž

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ Standalone model that excludes internal-only fields (``hosted_internally``,
2020
| `visibility` | [Optional[models.PublicResourceVisibility]](../models/publicresourcevisibility.md) | :heavy_minus_sign: | Visibility options available to public API callers.<br/><br/>Excludes ``shared_global`` which is reserved for system-owned connectors. |
2121
| `server` | *str* | :heavy_check_mark: | The url of the MCP server. |
2222
| `headers` | Dict[str, *Any*] | :heavy_minus_sign: | Optional organization-level headers to be sent with the request to the mcp server. |
23+
| `global_headers` | Dict[str, [models.GlobalHeaderValue](../models/globalheadervalue.md)] | :heavy_minus_sign: | Optional connector-wide headers, keyed by header name, set at creation and applied to every credential. Secret values are encrypted at rest and never returned in clear. |
2324
| `auth_data` | [OptionalNullable[models.AuthData]](../models/authdata.md) | :heavy_minus_sign: | Optional additional authentication data for the connector. |
2425
| `oauth2_server_metadata` | [OptionalNullable[models.ExtendedOAuthServerMetadata]](../models/extendedoauthservermetadata.md) | :heavy_minus_sign: | Optional OAuth2 authorization server metadata (authorization_endpoint, token_endpoint, etc.). When provided, skips .well-known discovery and uses these endpoints directly. |
2526
| `oauth2_server_metadata_url` | *OptionalNullable[str]* | :heavy_minus_sign: | Optional URL to fetch OAuth2 authorization server metadata from (RFC 8414). When provided, the metadata is fetched from this URL and used instead of .well-known discovery. Mutually exclusive with oauth2_server_metadata. |

0 commit comments

Comments
Ā (0)