Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
524 changes: 426 additions & 98 deletions .speakeasy/gen.lock

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion .speakeasy/gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ generation:
generateNewTests: false
skipResponseBodyAssertions: false
python:
version: 2.4.5
version: 2.4.6
additionalDependencies:
dev:
pytest: ^8.2.2
Expand Down
10 changes: 5 additions & 5 deletions .speakeasy/workflow.lock
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ sources:
- speakeasy-sdk-regen-1773084660
mistral-openapi:
sourceNamespace: mistral-openapi
sourceRevisionDigest: sha256:6b325264f8e8a60caa875776438b07d4eb5b56283da0796b283e9c5597810e22
sourceBlobDigest: sha256:11d21b003c903f5539d5d7a79cf8fe17d1d284b48e47da0009eac3866ad58899
sourceRevisionDigest: sha256:12afca2d0478a935106f607242264d76f9dc7eb1e61df81bf001cff6c4783e0c
sourceBlobDigest: sha256:27cafa52ca6e89b28a669dd472ff60abf3e5c21194ad262e53f19503dc22168e
tags:
- latest
targets:
Expand All @@ -38,10 +38,10 @@ targets:
mistralai-sdk:
source: mistral-openapi
sourceNamespace: mistral-openapi
sourceRevisionDigest: sha256:6b325264f8e8a60caa875776438b07d4eb5b56283da0796b283e9c5597810e22
sourceBlobDigest: sha256:11d21b003c903f5539d5d7a79cf8fe17d1d284b48e47da0009eac3866ad58899
sourceRevisionDigest: sha256:12afca2d0478a935106f607242264d76f9dc7eb1e61df81bf001cff6c4783e0c
sourceBlobDigest: sha256:27cafa52ca6e89b28a669dd472ff60abf3e5c21194ad262e53f19503dc22168e
codeSamplesNamespace: mistral-openapi-code-samples
codeSamplesRevisionDigest: sha256:95c443855a95966259bd108beec0cbdb8238f6f753dc4b021bf833d398e86c0c
codeSamplesRevisionDigest: sha256:3491eaa84993dc4bfae4d71248104f4053751a84c3573ee7dbaf095f2235c3a2
workflow:
workflowVersion: 1.0.0
speakeasyVersion: 1.761.1
Expand Down
19 changes: 17 additions & 2 deletions README-PYPI.md
Original file line number Diff line number Diff line change
Expand Up @@ -513,6 +513,12 @@ print(res.choices[0].message.content)
* [create](https://github.com/mistralai/client-python/blob/main/docs/sdks/connectors/README.md#create) - Create a new connector.
* [list](https://github.com/mistralai/client-python/blob/main/docs/sdks/connectors/README.md#list) - List all connectors.
* [get_auth_url](https://github.com/mistralai/client-python/blob/main/docs/sdks/connectors/README.md#get_auth_url) - Get the auth URL for a connector.
* [activate_for_organization](https://github.com/mistralai/client-python/blob/main/docs/sdks/connectors/README.md#activate_for_organization) - Activate a connector for an organization.
* [deactivate_for_organization](https://github.com/mistralai/client-python/blob/main/docs/sdks/connectors/README.md#deactivate_for_organization) - Deactivate a connector for an organization.
* [activate_for_workspace](https://github.com/mistralai/client-python/blob/main/docs/sdks/connectors/README.md#activate_for_workspace) - Activate a connector for a workspace.
* [deactivate_for_workspace](https://github.com/mistralai/client-python/blob/main/docs/sdks/connectors/README.md#deactivate_for_workspace) - Deactivate a connector for a workspace.
* [activate_for_user](https://github.com/mistralai/client-python/blob/main/docs/sdks/connectors/README.md#activate_for_user) - Activate a connector for the current user.
* [deactivate_for_user](https://github.com/mistralai/client-python/blob/main/docs/sdks/connectors/README.md#deactivate_for_user) - Deactivate a connector for the current user.
* [call_tool](https://github.com/mistralai/client-python/blob/main/docs/sdks/connectors/README.md#call_tool) - Call Connector Tool
* [list_tools](https://github.com/mistralai/client-python/blob/main/docs/sdks/connectors/README.md#list_tools) - List tools for a connector.
* [get_authentication_methods](https://github.com/mistralai/client-python/blob/main/docs/sdks/connectors/README.md#get_authentication_methods) - Get authentication methods for a connector.
Expand Down Expand Up @@ -550,6 +556,7 @@ print(res.choices[0].message.content)
* [get](https://github.com/mistralai/client-python/blob/main/docs/sdks/libraries/README.md#get) - Detailed information about a specific Library.
* [delete](https://github.com/mistralai/client-python/blob/main/docs/sdks/libraries/README.md#delete) - Delete a library and all of it's document.
* [update](https://github.com/mistralai/client-python/blob/main/docs/sdks/libraries/README.md#update) - Update a library.
* [~~libraries_update_v1~~](https://github.com/mistralai/client-python/blob/main/docs/sdks/libraries/README.md#libraries_update_v1) - Update a library. :warning: **Deprecated**

#### [Beta.Libraries.Accesses](https://github.com/mistralai/client-python/blob/main/docs/sdks/accesses/README.md)

Expand All @@ -563,6 +570,7 @@ print(res.choices[0].message.content)
* [upload](https://github.com/mistralai/client-python/blob/main/docs/sdks/documents/README.md#upload) - Upload a new document.
* [get](https://github.com/mistralai/client-python/blob/main/docs/sdks/documents/README.md#get) - Retrieve the metadata of a specific document.
* [update](https://github.com/mistralai/client-python/blob/main/docs/sdks/documents/README.md#update) - Update the metadata of a specific document.
* [~~libraries_documents_update_v1~~](https://github.com/mistralai/client-python/blob/main/docs/sdks/documents/README.md#libraries_documents_update_v1) - Update the metadata of a specific document. :warning: **Deprecated**
* [delete](https://github.com/mistralai/client-python/blob/main/docs/sdks/documents/README.md#delete) - Delete a document.
* [text_content](https://github.com/mistralai/client-python/blob/main/docs/sdks/documents/README.md#text_content) - Retrieve the text content of a specific document.
* [status](https://github.com/mistralai/client-python/blob/main/docs/sdks/documents/README.md#status) - Retrieve the processing status of a specific document.
Expand Down Expand Up @@ -635,6 +643,11 @@ print(res.choices[0].message.content)
* [register](https://github.com/mistralai/client-python/blob/main/docs/sdks/ingestionpipelineconfigurations/README.md#register) - Register Config
* [update_run_info](https://github.com/mistralai/client-python/blob/main/docs/sdks/ingestionpipelineconfigurations/README.md#update_run_info) - Update Run Info

### [Beta.Rag.SearchIndexes](https://github.com/mistralai/client-python/blob/main/docs/sdks/searchindexes/README.md)

* [list](https://github.com/mistralai/client-python/blob/main/docs/sdks/searchindexes/README.md#list) - Get Search Indexes
* [register](https://github.com/mistralai/client-python/blob/main/docs/sdks/searchindexes/README.md#register) - Register Search Index

### [Chat](https://github.com/mistralai/client-python/blob/main/docs/sdks/chat/README.md)

* [complete](https://github.com/mistralai/client-python/blob/main/docs/sdks/chat/README.md#complete) - Chat Completion
Expand Down Expand Up @@ -744,7 +757,9 @@ print(res.choices[0].message.content)

* [get_schedules](https://github.com/mistralai/client-python/blob/main/docs/sdks/schedules/README.md#get_schedules) - Get Schedules
* [schedule_workflow](https://github.com/mistralai/client-python/blob/main/docs/sdks/schedules/README.md#schedule_workflow) - Schedule Workflow
* [get_schedule](https://github.com/mistralai/client-python/blob/main/docs/sdks/schedules/README.md#get_schedule) - Get Schedule
* [unschedule_workflow](https://github.com/mistralai/client-python/blob/main/docs/sdks/schedules/README.md#unschedule_workflow) - Unschedule Workflow
* [update_schedule](https://github.com/mistralai/client-python/blob/main/docs/sdks/schedules/README.md#update_schedule) - Update Schedule
* [pause_schedule](https://github.com/mistralai/client-python/blob/main/docs/sdks/schedules/README.md#pause_schedule) - Pause Schedule
* [resume_schedule](https://github.com/mistralai/client-python/blob/main/docs/sdks/schedules/README.md#resume_schedule) - Resume Schedule

Expand Down Expand Up @@ -958,8 +973,8 @@ with Mistral(


**Inherit from [`MistralError`](https://github.com/mistralai/client-python/blob/main/src/mistralai/client/errors/mistralerror.py)**:
* [`HTTPValidationError`](https://github.com/mistralai/client-python/blob/main/src/mistralai/client/errors/httpvalidationerror.py): Validation Error. Status code `422`. Applicable to 116 of 183 methods.*
* [`ObservabilityError`](https://github.com/mistralai/client-python/blob/main/src/mistralai/client/errors/observabilityerror.py): Bad Request - Invalid request parameters or data. Applicable to 41 of 183 methods.*
* [`HTTPValidationError`](https://github.com/mistralai/client-python/blob/main/src/mistralai/client/errors/httpvalidationerror.py): Validation Error. Status code `422`. Applicable to 127 of 195 methods.*
* [`ObservabilityError`](https://github.com/mistralai/client-python/blob/main/src/mistralai/client/errors/observabilityerror.py): Bad Request - Invalid request parameters or data. Applicable to 41 of 195 methods.*
* [`ResponseValidationError`](https://github.com/mistralai/client-python/blob/main/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.

</details>
Expand Down
19 changes: 17 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -513,6 +513,12 @@ print(res.choices[0].message.content)
* [create](docs/sdks/connectors/README.md#create) - Create a new connector.
* [list](docs/sdks/connectors/README.md#list) - List all connectors.
* [get_auth_url](docs/sdks/connectors/README.md#get_auth_url) - Get the auth URL for a connector.
* [activate_for_organization](docs/sdks/connectors/README.md#activate_for_organization) - Activate a connector for an organization.
* [deactivate_for_organization](docs/sdks/connectors/README.md#deactivate_for_organization) - Deactivate a connector for an organization.
* [activate_for_workspace](docs/sdks/connectors/README.md#activate_for_workspace) - Activate a connector for a workspace.
* [deactivate_for_workspace](docs/sdks/connectors/README.md#deactivate_for_workspace) - Deactivate a connector for a workspace.
* [activate_for_user](docs/sdks/connectors/README.md#activate_for_user) - Activate a connector for the current user.
* [deactivate_for_user](docs/sdks/connectors/README.md#deactivate_for_user) - Deactivate a connector for the current user.
* [call_tool](docs/sdks/connectors/README.md#call_tool) - Call Connector Tool
* [list_tools](docs/sdks/connectors/README.md#list_tools) - List tools for a connector.
* [get_authentication_methods](docs/sdks/connectors/README.md#get_authentication_methods) - Get authentication methods for a connector.
Expand Down Expand Up @@ -550,6 +556,7 @@ print(res.choices[0].message.content)
* [get](docs/sdks/libraries/README.md#get) - Detailed information about a specific Library.
* [delete](docs/sdks/libraries/README.md#delete) - Delete a library and all of it's document.
* [update](docs/sdks/libraries/README.md#update) - Update a library.
* [~~libraries_update_v1~~](docs/sdks/libraries/README.md#libraries_update_v1) - Update a library. :warning: **Deprecated**

#### [Beta.Libraries.Accesses](docs/sdks/accesses/README.md)

Expand All @@ -563,6 +570,7 @@ print(res.choices[0].message.content)
* [upload](docs/sdks/documents/README.md#upload) - Upload a new document.
* [get](docs/sdks/documents/README.md#get) - Retrieve the metadata of a specific document.
* [update](docs/sdks/documents/README.md#update) - Update the metadata of a specific document.
* [~~libraries_documents_update_v1~~](docs/sdks/documents/README.md#libraries_documents_update_v1) - Update the metadata of a specific document. :warning: **Deprecated**
* [delete](docs/sdks/documents/README.md#delete) - Delete a document.
* [text_content](docs/sdks/documents/README.md#text_content) - Retrieve the text content of a specific document.
* [status](docs/sdks/documents/README.md#status) - Retrieve the processing status of a specific document.
Expand Down Expand Up @@ -635,6 +643,11 @@ print(res.choices[0].message.content)
* [register](docs/sdks/ingestionpipelineconfigurations/README.md#register) - Register Config
* [update_run_info](docs/sdks/ingestionpipelineconfigurations/README.md#update_run_info) - Update Run Info

### [Beta.Rag.SearchIndexes](docs/sdks/searchindexes/README.md)

* [list](docs/sdks/searchindexes/README.md#list) - Get Search Indexes
* [register](docs/sdks/searchindexes/README.md#register) - Register Search Index

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

* [complete](docs/sdks/chat/README.md#complete) - Chat Completion
Expand Down Expand Up @@ -744,7 +757,9 @@ print(res.choices[0].message.content)

* [get_schedules](docs/sdks/schedules/README.md#get_schedules) - Get Schedules
* [schedule_workflow](docs/sdks/schedules/README.md#schedule_workflow) - Schedule Workflow
* [get_schedule](docs/sdks/schedules/README.md#get_schedule) - Get Schedule
* [unschedule_workflow](docs/sdks/schedules/README.md#unschedule_workflow) - Unschedule Workflow
* [update_schedule](docs/sdks/schedules/README.md#update_schedule) - Update Schedule
* [pause_schedule](docs/sdks/schedules/README.md#pause_schedule) - Pause Schedule
* [resume_schedule](docs/sdks/schedules/README.md#resume_schedule) - Resume Schedule

Expand Down Expand Up @@ -958,8 +973,8 @@ with Mistral(


**Inherit from [`MistralError`](./src/mistralai/client/errors/mistralerror.py)**:
* [`HTTPValidationError`](./src/mistralai/client/errors/httpvalidationerror.py): Validation Error. Status code `422`. Applicable to 116 of 183 methods.*
* [`ObservabilityError`](./src/mistralai/client/errors/observabilityerror.py): Bad Request - Invalid request parameters or data. Applicable to 41 of 183 methods.*
* [`HTTPValidationError`](./src/mistralai/client/errors/httpvalidationerror.py): Validation Error. Status code `422`. Applicable to 127 of 195 methods.*
* [`ObservabilityError`](./src/mistralai/client/errors/observabilityerror.py): Bad Request - Invalid request parameters or data. Applicable to 41 of 195 methods.*
* [`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.

</details>
Expand Down
1 change: 1 addition & 0 deletions docs/models/authenticationconfiguration.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,5 @@
| ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- |
| `name` | *str* | :heavy_check_mark: | N/A |
| `authentication_type` | [models.OutboundAuthenticationType](../models/outboundauthenticationtype.md) | :heavy_check_mark: | N/A |
| `scope` | [models.ConsumerType](../models/consumertype.md) | :heavy_check_mark: | N/A |
| `is_default` | *Optional[bool]* | :heavy_minus_sign: | N/A |
9 changes: 9 additions & 0 deletions docs/models/connectoractivatefororganizationv1request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# ConnectorActivateForOrganizationV1Request


## Fields

| Field | Type | Required | Description |
| ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- |
| `connector_id` | *str* | :heavy_check_mark: | N/A |
| `tool_execution_configuration` | [OptionalNullable[models.ToolExecutionConfiguration]](../models/toolexecutionconfiguration.md) | :heavy_minus_sign: | N/A |
9 changes: 9 additions & 0 deletions docs/models/connectoractivateforuserv1request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# ConnectorActivateForUserV1Request


## Fields

| Field | Type | Required | Description |
| ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- |
| `connector_id` | *str* | :heavy_check_mark: | N/A |
| `tool_execution_configuration` | [OptionalNullable[models.ToolExecutionConfiguration]](../models/toolexecutionconfiguration.md) | :heavy_minus_sign: | N/A |
Loading
Loading