@mistralai/mistralai 2.2.1 → 2.2.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/FUNCTIONS.md +2 -2
- package/README.md +41 -2
- package/esm/extra/structChat.d.ts.map +1 -1
- package/esm/extra/structChat.js +30 -9
- package/esm/extra/structChat.js.map +1 -1
- package/esm/funcs/agentsComplete.js +1 -1
- package/esm/funcs/agentsStream.js +1 -1
- package/esm/funcs/audioSpeechComplete.js +1 -1
- package/esm/funcs/audioTranscriptionsComplete.js +1 -1
- package/esm/funcs/audioTranscriptionsStream.js +1 -1
- package/esm/funcs/audioVoicesCreate.js +1 -1
- package/esm/funcs/audioVoicesDelete.js +1 -1
- package/esm/funcs/audioVoicesGet.js +1 -1
- package/esm/funcs/audioVoicesGetSampleAudio.js +1 -1
- package/esm/funcs/audioVoicesList.js +1 -1
- package/esm/funcs/audioVoicesUpdate.js +1 -1
- package/esm/funcs/batchJobsCancel.js +1 -1
- package/esm/funcs/batchJobsCreate.js +1 -1
- package/esm/funcs/batchJobsDelete.js +1 -1
- package/esm/funcs/batchJobsGet.js +1 -1
- package/esm/funcs/batchJobsList.js +1 -1
- package/esm/funcs/betaAgentsCreate.js +1 -1
- package/esm/funcs/betaAgentsCreateVersionAlias.js +1 -1
- package/esm/funcs/betaAgentsDelete.js +1 -1
- package/esm/funcs/betaAgentsDeleteVersionAlias.js +1 -1
- package/esm/funcs/betaAgentsGet.js +1 -1
- package/esm/funcs/betaAgentsGetVersion.js +1 -1
- package/esm/funcs/betaAgentsList.js +1 -1
- package/esm/funcs/betaAgentsListVersionAliases.js +1 -1
- package/esm/funcs/betaAgentsListVersions.js +1 -1
- package/esm/funcs/betaAgentsUpdate.js +1 -1
- package/esm/funcs/betaAgentsUpdateVersion.js +1 -1
- package/esm/funcs/betaConnectorsActivateForOrganization.d.ts +19 -0
- package/esm/funcs/betaConnectorsActivateForOrganization.d.ts.map +1 -0
- package/esm/funcs/betaConnectorsActivateForOrganization.js +93 -0
- package/esm/funcs/betaConnectorsActivateForOrganization.js.map +1 -0
- package/esm/funcs/betaConnectorsActivateForUser.d.ts +19 -0
- package/esm/funcs/betaConnectorsActivateForUser.d.ts.map +1 -0
- package/esm/funcs/betaConnectorsActivateForUser.js +93 -0
- package/esm/funcs/betaConnectorsActivateForUser.js.map +1 -0
- package/esm/funcs/betaConnectorsActivateForWorkspace.d.ts +19 -0
- package/esm/funcs/betaConnectorsActivateForWorkspace.d.ts.map +1 -0
- package/esm/funcs/betaConnectorsActivateForWorkspace.js +93 -0
- package/esm/funcs/betaConnectorsActivateForWorkspace.js.map +1 -0
- package/esm/funcs/betaConnectorsCallTool.js +1 -1
- package/esm/funcs/betaConnectorsCreate.js +1 -1
- package/esm/funcs/betaConnectorsCreateOrUpdateOrganizationCredentials.js +1 -1
- package/esm/funcs/betaConnectorsCreateOrUpdateUserCredentials.js +1 -1
- package/esm/funcs/betaConnectorsCreateOrUpdateWorkspaceCredentials.js +1 -1
- package/esm/funcs/betaConnectorsDeactivateForOrganization.d.ts +19 -0
- package/esm/funcs/betaConnectorsDeactivateForOrganization.d.ts.map +1 -0
- package/esm/funcs/betaConnectorsDeactivateForOrganization.js +91 -0
- package/esm/funcs/betaConnectorsDeactivateForOrganization.js.map +1 -0
- package/esm/funcs/betaConnectorsDeactivateForUser.d.ts +19 -0
- package/esm/funcs/betaConnectorsDeactivateForUser.d.ts.map +1 -0
- package/esm/funcs/betaConnectorsDeactivateForUser.js +90 -0
- package/esm/funcs/betaConnectorsDeactivateForUser.js.map +1 -0
- package/esm/funcs/betaConnectorsDeactivateForWorkspace.d.ts +19 -0
- package/esm/funcs/betaConnectorsDeactivateForWorkspace.d.ts.map +1 -0
- package/esm/funcs/betaConnectorsDeactivateForWorkspace.js +90 -0
- package/esm/funcs/betaConnectorsDeactivateForWorkspace.js.map +1 -0
- package/esm/funcs/betaConnectorsDelete.js +1 -1
- package/esm/funcs/betaConnectorsDeleteOrganizationCredentials.js +1 -1
- package/esm/funcs/betaConnectorsDeleteUserCredentials.js +1 -1
- package/esm/funcs/betaConnectorsDeleteWorkspaceCredentials.js +1 -1
- package/esm/funcs/betaConnectorsGet.js +2 -2
- package/esm/funcs/betaConnectorsGet.js.map +1 -1
- package/esm/funcs/betaConnectorsGetAuthUrl.js +1 -1
- package/esm/funcs/betaConnectorsGetAuthenticationMethods.js +1 -1
- package/esm/funcs/betaConnectorsList.js +1 -1
- package/esm/funcs/betaConnectorsListOrganizationCredentials.js +1 -1
- package/esm/funcs/betaConnectorsListTools.js +1 -1
- package/esm/funcs/betaConnectorsListUserCredentials.js +1 -1
- package/esm/funcs/betaConnectorsListWorkspaceCredentials.js +1 -1
- package/esm/funcs/betaConnectorsUpdate.js +1 -1
- package/esm/funcs/betaConversationsAppend.js +1 -1
- package/esm/funcs/betaConversationsAppendStream.js +1 -1
- package/esm/funcs/betaConversationsDelete.js +1 -1
- package/esm/funcs/betaConversationsGet.js +1 -1
- package/esm/funcs/betaConversationsGetHistory.js +1 -1
- package/esm/funcs/betaConversationsGetMessages.js +1 -1
- package/esm/funcs/betaConversationsList.js +1 -1
- package/esm/funcs/betaConversationsRestart.js +1 -1
- package/esm/funcs/betaConversationsRestartStream.js +1 -1
- package/esm/funcs/betaConversationsStart.js +1 -1
- package/esm/funcs/betaConversationsStartStream.js +1 -1
- package/esm/funcs/betaLibrariesAccessesDelete.d.ts +1 -1
- package/esm/funcs/betaLibrariesAccessesDelete.js +2 -2
- package/esm/funcs/betaLibrariesAccessesList.js +1 -1
- package/esm/funcs/betaLibrariesAccessesUpdateOrCreate.js +1 -1
- package/esm/funcs/betaLibrariesCreate.js +1 -1
- package/esm/funcs/betaLibrariesDelete.d.ts +1 -1
- package/esm/funcs/betaLibrariesDelete.js +2 -2
- package/esm/funcs/betaLibrariesDocumentsDelete.js +1 -1
- package/esm/funcs/betaLibrariesDocumentsExtractedTextSignedUrl.js +1 -1
- package/esm/funcs/betaLibrariesDocumentsGet.js +1 -1
- package/esm/funcs/betaLibrariesDocumentsGetSignedUrl.js +1 -1
- package/esm/funcs/betaLibrariesDocumentsLibrariesDocumentsUpdateV1.d.ts +21 -0
- package/esm/funcs/betaLibrariesDocumentsLibrariesDocumentsUpdateV1.d.ts.map +1 -0
- package/esm/funcs/betaLibrariesDocumentsLibrariesDocumentsUpdateV1.js +99 -0
- package/esm/funcs/betaLibrariesDocumentsLibrariesDocumentsUpdateV1.js.map +1 -0
- package/esm/funcs/betaLibrariesDocumentsList.js +1 -1
- package/esm/funcs/betaLibrariesDocumentsReprocess.js +1 -1
- package/esm/funcs/betaLibrariesDocumentsStatus.js +1 -1
- package/esm/funcs/betaLibrariesDocumentsTextContent.js +1 -1
- package/esm/funcs/betaLibrariesDocumentsUpdate.d.ts +2 -2
- package/esm/funcs/betaLibrariesDocumentsUpdate.d.ts.map +1 -1
- package/esm/funcs/betaLibrariesDocumentsUpdate.js +5 -5
- package/esm/funcs/betaLibrariesDocumentsUpdate.js.map +1 -1
- package/esm/funcs/betaLibrariesDocumentsUpload.js +1 -1
- package/esm/funcs/betaLibrariesGet.js +1 -1
- package/esm/funcs/betaLibrariesLibrariesUpdateV1.d.ts +21 -0
- package/esm/funcs/betaLibrariesLibrariesUpdateV1.d.ts.map +1 -0
- package/esm/funcs/betaLibrariesLibrariesUpdateV1.js +95 -0
- package/esm/funcs/betaLibrariesLibrariesUpdateV1.js.map +1 -0
- package/esm/funcs/betaLibrariesList.js +1 -1
- package/esm/funcs/betaLibrariesUpdate.d.ts +1 -1
- package/esm/funcs/betaLibrariesUpdate.d.ts.map +1 -1
- package/esm/funcs/betaLibrariesUpdate.js +4 -4
- package/esm/funcs/betaLibrariesUpdate.js.map +1 -1
- package/esm/funcs/betaObservabilityCampaignsCreate.js +1 -1
- package/esm/funcs/betaObservabilityCampaignsDelete.js +1 -1
- package/esm/funcs/betaObservabilityCampaignsFetch.js +1 -1
- package/esm/funcs/betaObservabilityCampaignsFetchStatus.js +1 -1
- package/esm/funcs/betaObservabilityCampaignsList.js +1 -1
- package/esm/funcs/betaObservabilityCampaignsListEvents.js +1 -1
- package/esm/funcs/betaObservabilityChatCompletionEventsFetch.js +1 -1
- package/esm/funcs/betaObservabilityChatCompletionEventsFetchSimilarEvents.js +1 -1
- package/esm/funcs/betaObservabilityChatCompletionEventsFieldsFetchOptionCounts.js +1 -1
- package/esm/funcs/betaObservabilityChatCompletionEventsFieldsFetchOptions.js +1 -1
- package/esm/funcs/betaObservabilityChatCompletionEventsFieldsList.js +1 -1
- package/esm/funcs/betaObservabilityChatCompletionEventsJudge.js +1 -1
- package/esm/funcs/betaObservabilityChatCompletionEventsSearch.js +1 -1
- package/esm/funcs/betaObservabilityChatCompletionEventsSearchIds.js +1 -1
- package/esm/funcs/betaObservabilityDatasetsCreate.js +1 -1
- package/esm/funcs/betaObservabilityDatasetsCreateRecord.js +1 -1
- package/esm/funcs/betaObservabilityDatasetsDelete.js +1 -1
- package/esm/funcs/betaObservabilityDatasetsExportToJsonl.js +1 -1
- package/esm/funcs/betaObservabilityDatasetsFetch.js +1 -1
- package/esm/funcs/betaObservabilityDatasetsFetchTask.js +1 -1
- package/esm/funcs/betaObservabilityDatasetsImportFromCampaign.js +1 -1
- package/esm/funcs/betaObservabilityDatasetsImportFromDatasetRecords.js +1 -1
- package/esm/funcs/betaObservabilityDatasetsImportFromExplorer.js +1 -1
- package/esm/funcs/betaObservabilityDatasetsImportFromFile.js +1 -1
- package/esm/funcs/betaObservabilityDatasetsImportFromPlayground.js +1 -1
- package/esm/funcs/betaObservabilityDatasetsList.js +1 -1
- package/esm/funcs/betaObservabilityDatasetsListRecords.js +1 -1
- package/esm/funcs/betaObservabilityDatasetsListTasks.js +1 -1
- package/esm/funcs/betaObservabilityDatasetsRecordsBulkDelete.js +1 -1
- package/esm/funcs/betaObservabilityDatasetsRecordsDelete.js +1 -1
- package/esm/funcs/betaObservabilityDatasetsRecordsFetch.js +1 -1
- package/esm/funcs/betaObservabilityDatasetsRecordsJudge.js +1 -1
- package/esm/funcs/betaObservabilityDatasetsRecordsUpdatePayload.js +1 -1
- package/esm/funcs/betaObservabilityDatasetsRecordsUpdateProperties.js +1 -1
- package/esm/funcs/betaObservabilityDatasetsUpdate.js +1 -1
- package/esm/funcs/betaObservabilityJudgesCreate.js +1 -1
- package/esm/funcs/betaObservabilityJudgesDelete.js +1 -1
- package/esm/funcs/betaObservabilityJudgesFetch.js +1 -1
- package/esm/funcs/betaObservabilityJudgesJudgeConversation.js +1 -1
- package/esm/funcs/betaObservabilityJudgesList.js +1 -1
- package/esm/funcs/betaObservabilityJudgesUpdate.js +1 -1
- package/esm/funcs/betaRagIngestionPipelineConfigurationsList.js +1 -1
- package/esm/funcs/betaRagIngestionPipelineConfigurationsRegister.d.ts +18 -0
- package/esm/funcs/betaRagIngestionPipelineConfigurationsRegister.d.ts.map +1 -0
- package/esm/funcs/betaRagIngestionPipelineConfigurationsRegister.js +85 -0
- package/esm/funcs/betaRagIngestionPipelineConfigurationsRegister.js.map +1 -0
- package/esm/funcs/betaRagIngestionPipelineConfigurationsUpdateRunInfo.d.ts +16 -0
- package/esm/funcs/betaRagIngestionPipelineConfigurationsUpdateRunInfo.d.ts.map +1 -0
- package/esm/funcs/betaRagIngestionPipelineConfigurationsUpdateRunInfo.js +90 -0
- package/esm/funcs/betaRagIngestionPipelineConfigurationsUpdateRunInfo.js.map +1 -0
- package/esm/funcs/betaRagSearchIndexesList.d.ts +14 -0
- package/esm/funcs/betaRagSearchIndexesList.d.ts.map +1 -0
- package/esm/funcs/betaRagSearchIndexesList.js +68 -0
- package/esm/funcs/betaRagSearchIndexesList.js.map +1 -0
- package/esm/funcs/betaRagSearchIndexesRegister.d.ts +15 -0
- package/esm/funcs/betaRagSearchIndexesRegister.d.ts.map +1 -0
- package/esm/funcs/betaRagSearchIndexesRegister.js +81 -0
- package/esm/funcs/betaRagSearchIndexesRegister.js.map +1 -0
- package/esm/funcs/chatComplete.js +1 -1
- package/esm/funcs/chatStream.js +1 -1
- package/esm/funcs/classifiersClassify.js +1 -1
- package/esm/funcs/classifiersClassifyChat.js +1 -1
- package/esm/funcs/classifiersModerate.js +1 -1
- package/esm/funcs/classifiersModerateChat.js +1 -1
- package/esm/funcs/embeddingsCreate.js +1 -1
- package/esm/funcs/eventsGetStreamEvents.js +1 -1
- package/esm/funcs/eventsGetWorkflowEvents.js +1 -1
- package/esm/funcs/filesDelete.js +1 -1
- package/esm/funcs/filesDownload.js +1 -1
- package/esm/funcs/filesGetSignedUrl.js +1 -1
- package/esm/funcs/filesList.js +1 -1
- package/esm/funcs/filesRetrieve.js +1 -1
- package/esm/funcs/filesUpload.js +1 -1
- package/esm/funcs/fimComplete.js +1 -1
- package/esm/funcs/fimStream.js +1 -1
- package/esm/funcs/fineTuningJobsCancel.js +1 -1
- package/esm/funcs/fineTuningJobsCreate.js +1 -1
- package/esm/funcs/fineTuningJobsGet.js +1 -1
- package/esm/funcs/fineTuningJobsList.js +1 -1
- package/esm/funcs/fineTuningJobsStart.js +1 -1
- package/esm/funcs/modelsArchive.js +1 -1
- package/esm/funcs/modelsDelete.js +1 -1
- package/esm/funcs/modelsList.js +1 -1
- package/esm/funcs/modelsRetrieve.js +1 -1
- package/esm/funcs/modelsUnarchive.js +1 -1
- package/esm/funcs/modelsUpdate.js +1 -1
- package/esm/funcs/ocrProcess.js +1 -1
- package/esm/funcs/workflowsArchiveWorkflow.js +1 -1
- package/esm/funcs/workflowsBulkArchiveWorkflows.d.ts +15 -0
- package/esm/funcs/workflowsBulkArchiveWorkflows.d.ts.map +1 -0
- package/esm/funcs/workflowsBulkArchiveWorkflows.js +81 -0
- package/esm/funcs/workflowsBulkArchiveWorkflows.js.map +1 -0
- package/esm/funcs/workflowsBulkUnarchiveWorkflows.d.ts +15 -0
- package/esm/funcs/workflowsBulkUnarchiveWorkflows.d.ts.map +1 -0
- package/esm/funcs/workflowsBulkUnarchiveWorkflows.js +81 -0
- package/esm/funcs/workflowsBulkUnarchiveWorkflows.js.map +1 -0
- package/esm/funcs/workflowsDeploymentsGetDeployment.js +1 -1
- package/esm/funcs/workflowsDeploymentsListDeployments.js +1 -1
- package/esm/funcs/workflowsExecuteWorkflow.js +1 -1
- package/esm/funcs/workflowsExecuteWorkflowRegistration.js +1 -1
- package/esm/funcs/workflowsExecutionsBatchCancelWorkflowExecutions.js +1 -1
- package/esm/funcs/workflowsExecutionsBatchTerminateWorkflowExecutions.js +1 -1
- package/esm/funcs/workflowsExecutionsCancelWorkflowExecution.js +1 -1
- package/esm/funcs/workflowsExecutionsGetWorkflowExecution.js +1 -1
- package/esm/funcs/workflowsExecutionsGetWorkflowExecutionHistory.js +1 -1
- package/esm/funcs/workflowsExecutionsGetWorkflowExecutionTraceEvents.js +1 -1
- package/esm/funcs/workflowsExecutionsGetWorkflowExecutionTraceOtel.js +1 -1
- package/esm/funcs/workflowsExecutionsGetWorkflowExecutionTraceSummary.js +1 -1
- package/esm/funcs/workflowsExecutionsQueryWorkflowExecution.js +1 -1
- package/esm/funcs/workflowsExecutionsResetWorkflow.js +1 -1
- package/esm/funcs/workflowsExecutionsSignalWorkflowExecution.js +1 -1
- package/esm/funcs/workflowsExecutionsStream.js +1 -1
- package/esm/funcs/workflowsExecutionsTerminateWorkflowExecution.js +1 -1
- package/esm/funcs/workflowsExecutionsUpdateWorkflowExecution.js +1 -1
- package/esm/funcs/workflowsGetWorkflow.js +1 -1
- package/esm/funcs/workflowsGetWorkflowRegistration.js +1 -1
- package/esm/funcs/workflowsGetWorkflowRegistrations.js +1 -1
- package/esm/funcs/workflowsGetWorkflows.js +1 -1
- package/esm/funcs/workflowsMetricsGetWorkflowMetrics.js +1 -1
- package/esm/funcs/workflowsRunsGetRun.js +1 -1
- package/esm/funcs/workflowsRunsGetRunHistory.js +1 -1
- package/esm/funcs/workflowsRunsListRuns.js +1 -1
- package/esm/funcs/workflowsSchedulesGetSchedule.d.ts +16 -0
- package/esm/funcs/workflowsSchedulesGetSchedule.d.ts.map +1 -0
- package/esm/funcs/workflowsSchedulesGetSchedule.js +89 -0
- package/esm/funcs/workflowsSchedulesGetSchedule.js.map +1 -0
- package/esm/funcs/workflowsSchedulesGetSchedules.d.ts +6 -2
- package/esm/funcs/workflowsSchedulesGetSchedules.d.ts.map +1 -1
- package/esm/funcs/workflowsSchedulesGetSchedules.js +65 -10
- package/esm/funcs/workflowsSchedulesGetSchedules.js.map +1 -1
- package/esm/funcs/workflowsSchedulesPauseSchedule.d.ts +15 -0
- package/esm/funcs/workflowsSchedulesPauseSchedule.d.ts.map +1 -0
- package/esm/funcs/workflowsSchedulesPauseSchedule.js +92 -0
- package/esm/funcs/workflowsSchedulesPauseSchedule.js.map +1 -0
- package/esm/funcs/workflowsSchedulesResumeSchedule.d.ts +15 -0
- package/esm/funcs/workflowsSchedulesResumeSchedule.d.ts.map +1 -0
- package/esm/funcs/workflowsSchedulesResumeSchedule.js +92 -0
- package/esm/funcs/workflowsSchedulesResumeSchedule.js.map +1 -0
- package/esm/funcs/workflowsSchedulesScheduleWorkflow.js +1 -1
- package/esm/funcs/workflowsSchedulesUnscheduleWorkflow.js +1 -1
- package/esm/funcs/workflowsSchedulesUpdateSchedule.d.ts +16 -0
- package/esm/funcs/workflowsSchedulesUpdateSchedule.d.ts.map +1 -0
- package/esm/funcs/workflowsSchedulesUpdateSchedule.js +92 -0
- package/esm/funcs/workflowsSchedulesUpdateSchedule.js.map +1 -0
- package/esm/funcs/workflowsUnarchiveWorkflow.js +1 -1
- package/esm/funcs/workflowsUpdateWorkflow.js +1 -1
- package/esm/hooks/deprecation_warning.d.ts.map +1 -1
- package/esm/hooks/deprecation_warning.js +1 -1
- package/esm/hooks/deprecation_warning.js.map +1 -1
- package/esm/lib/config.d.ts +3 -3
- package/esm/lib/config.js +3 -3
- package/esm/lib/config.js.map +1 -1
- package/esm/models/components/activitytaskcompletedattributesresponse.d.ts +2 -0
- package/esm/models/components/activitytaskcompletedattributesresponse.d.ts.map +1 -1
- package/esm/models/components/activitytaskcompletedattributesresponse.js.map +1 -1
- package/esm/models/components/activitytaskstartedattributesresponse.d.ts +2 -0
- package/esm/models/components/activitytaskstartedattributesresponse.d.ts.map +1 -1
- package/esm/models/components/activitytaskstartedattributesresponse.js.map +1 -1
- package/esm/models/components/agentscompletionrequest.d.ts +2 -0
- package/esm/models/components/agentscompletionrequest.d.ts.map +1 -1
- package/esm/models/components/agentscompletionrequest.js +2 -0
- package/esm/models/components/agentscompletionrequest.js.map +1 -1
- package/esm/models/components/agentscompletionstreamrequest.d.ts +2 -0
- package/esm/models/components/agentscompletionstreamrequest.d.ts.map +1 -1
- package/esm/models/components/agentscompletionstreamrequest.js +2 -0
- package/esm/models/components/agentscompletionstreamrequest.js.map +1 -1
- package/esm/models/components/authenticationconfiguration.d.ts +4 -2
- package/esm/models/components/authenticationconfiguration.d.ts.map +1 -1
- package/esm/models/components/authenticationconfiguration.js +4 -2
- package/esm/models/components/authenticationconfiguration.js.map +1 -1
- package/esm/models/components/basefielddefinition.d.ts +4 -4
- package/esm/models/components/basefielddefinition.d.ts.map +1 -1
- package/esm/models/components/basefielddefinition.js +3 -4
- package/esm/models/components/basefielddefinition.js.map +1 -1
- package/esm/models/components/chatcompletionevent.d.ts +6 -2
- package/esm/models/components/chatcompletionevent.d.ts.map +1 -1
- package/esm/models/components/chatcompletionevent.js +2 -0
- package/esm/models/components/chatcompletionevent.js.map +1 -1
- package/esm/models/components/chatcompletioneventpreview.d.ts +6 -2
- package/esm/models/components/chatcompletioneventpreview.d.ts.map +1 -1
- package/esm/models/components/chatcompletioneventpreview.js +2 -0
- package/esm/models/components/chatcompletioneventpreview.js.map +1 -1
- package/esm/models/components/chatcompletionrequest.d.ts +2 -0
- package/esm/models/components/chatcompletionrequest.d.ts.map +1 -1
- package/esm/models/components/chatcompletionrequest.js +2 -0
- package/esm/models/components/chatcompletionrequest.js.map +1 -1
- package/esm/models/components/chatcompletionstreamrequest.d.ts +2 -0
- package/esm/models/components/chatcompletionstreamrequest.d.ts.map +1 -1
- package/esm/models/components/chatcompletionstreamrequest.js +2 -0
- package/esm/models/components/chatcompletionstreamrequest.js.map +1 -1
- package/esm/models/components/classifierfinetuningjob.d.ts +1 -1
- package/esm/models/components/classifierfinetuningjobdetails.d.ts +42 -0
- package/esm/models/components/classifierfinetuningjobdetails.d.ts.map +1 -1
- package/esm/models/components/classifierfinetuningjobdetails.js +3 -0
- package/esm/models/components/classifierfinetuningjobdetails.js.map +1 -1
- package/esm/models/components/classifiertrainingparameters.d.ts +12 -0
- package/esm/models/components/classifiertrainingparameters.d.ts.map +1 -1
- package/esm/models/components/classifiertrainingparameters.js.map +1 -1
- package/esm/models/components/clientcapabilities.d.ts +26 -0
- package/esm/models/components/clientcapabilities.d.ts.map +1 -0
- package/esm/models/components/clientcapabilities.js +23 -0
- package/esm/models/components/clientcapabilities.js.map +1 -0
- package/esm/models/components/clienttaskscapability.d.ts +21 -0
- package/esm/models/components/clienttaskscapability.d.ts.map +1 -0
- package/esm/models/components/clienttaskscapability.js +17 -0
- package/esm/models/components/clienttaskscapability.js.map +1 -0
- package/esm/models/components/clienttasksrequestscapability.d.ts +17 -0
- package/esm/models/components/clienttasksrequestscapability.d.ts.map +1 -0
- package/esm/models/components/clienttasksrequestscapability.js +17 -0
- package/esm/models/components/clienttasksrequestscapability.js.map +1 -0
- package/esm/models/components/completionfinetuningjob.d.ts +1 -1
- package/esm/models/components/completionfinetuningjobdetails.d.ts +42 -0
- package/esm/models/components/completionfinetuningjobdetails.d.ts.map +1 -1
- package/esm/models/components/completionfinetuningjobdetails.js +3 -0
- package/esm/models/components/completionfinetuningjobdetails.js.map +1 -1
- package/esm/models/components/completiontrainingparameters.d.ts +12 -0
- package/esm/models/components/completiontrainingparameters.d.ts.map +1 -1
- package/esm/models/components/completiontrainingparameters.js.map +1 -1
- package/esm/models/components/connectionconfigtype.d.ts +11 -0
- package/esm/models/components/connectionconfigtype.d.ts.map +1 -0
- package/esm/models/components/connectionconfigtype.js +13 -0
- package/esm/models/components/connectionconfigtype.js.map +1 -0
- package/esm/models/components/connectionpreference.d.ts +15 -0
- package/esm/models/components/connectionpreference.d.ts.map +1 -0
- package/esm/models/components/connectionpreference.js +26 -0
- package/esm/models/components/connectionpreference.js.map +1 -0
- package/esm/models/components/connector.d.ts +29 -1
- package/esm/models/components/connector.d.ts.map +1 -1
- package/esm/models/components/connector.js +42 -2
- package/esm/models/components/connector.js.map +1 -1
- package/esm/models/components/connectorlocale.d.ts +18 -0
- package/esm/models/components/connectorlocale.d.ts.map +1 -0
- package/esm/models/components/connectorlocale.js +21 -0
- package/esm/models/components/connectorlocale.js.map +1 -0
- package/esm/models/components/connectorprotocol.d.ts +13 -0
- package/esm/models/components/connectorprotocol.d.ts.map +1 -0
- package/esm/models/components/connectorprotocol.js +15 -0
- package/esm/models/components/connectorprotocol.js.map +1 -0
- package/esm/models/components/connectorsqueryfilters.d.ts +0 -5
- package/esm/models/components/connectorsqueryfilters.d.ts.map +1 -1
- package/esm/models/components/connectorsqueryfilters.js +0 -6
- package/esm/models/components/connectorsqueryfilters.js.map +1 -1
- package/esm/models/components/consumertype.d.ts +12 -0
- package/esm/models/components/consumertype.d.ts.map +1 -0
- package/esm/models/components/consumertype.js +14 -0
- package/esm/models/components/consumertype.js.map +1 -0
- package/esm/models/components/createbatchjobrequest.d.ts +8 -1
- package/esm/models/components/createbatchjobrequest.d.ts.map +1 -1
- package/esm/models/components/createbatchjobrequest.js.map +1 -1
- package/esm/models/components/createconnectorrequest.d.ts +7 -0
- package/esm/models/components/createconnectorrequest.d.ts.map +1 -1
- package/esm/models/components/createconnectorrequest.js +2 -0
- package/esm/models/components/createconnectorrequest.js.map +1 -1
- package/esm/models/components/createingestionpipelineconfigurationrequest.d.ts +18 -0
- package/esm/models/components/createingestionpipelineconfigurationrequest.d.ts.map +1 -0
- package/esm/models/components/createingestionpipelineconfigurationrequest.js +20 -0
- package/esm/models/components/createingestionpipelineconfigurationrequest.js.map +1 -0
- package/esm/models/components/createlibraryrequest.d.ts +5 -0
- package/esm/models/components/createlibraryrequest.d.ts.map +1 -1
- package/esm/models/components/createlibraryrequest.js.map +1 -1
- package/esm/models/components/createsearchindexinforequest.d.ts +33 -0
- package/esm/models/components/createsearchindexinforequest.d.ts.map +1 -0
- package/esm/models/components/createsearchindexinforequest.js +33 -0
- package/esm/models/components/createsearchindexinforequest.js.map +1 -0
- package/esm/models/components/createvespaschemarequest.d.ts +14 -0
- package/esm/models/components/createvespaschemarequest.d.ts.map +1 -0
- package/esm/models/components/createvespaschemarequest.js +19 -0
- package/esm/models/components/createvespaschemarequest.js.map +1 -0
- package/esm/models/components/createvespasearchindexinforequest.d.ts +21 -0
- package/esm/models/components/createvespasearchindexinforequest.d.ts.map +1 -0
- package/esm/models/components/createvespasearchindexinforequest.js +25 -0
- package/esm/models/components/createvespasearchindexinforequest.js.map +1 -0
- package/esm/models/components/credentialsresponse.d.ts +2 -2
- package/esm/models/components/credentialsresponse.d.ts.map +1 -1
- package/esm/models/components/credentialsresponse.js +2 -2
- package/esm/models/components/credentialsresponse.js.map +1 -1
- package/esm/models/components/customtaskcompletedattributesresponse.d.ts +2 -0
- package/esm/models/components/customtaskcompletedattributesresponse.d.ts.map +1 -1
- package/esm/models/components/customtaskcompletedattributesresponse.js.map +1 -1
- package/esm/models/components/customtaskstartedattributesresponse.d.ts +2 -0
- package/esm/models/components/customtaskstartedattributesresponse.d.ts.map +1 -1
- package/esm/models/components/customtaskstartedattributesresponse.js.map +1 -1
- package/esm/models/components/deletemodelresponse.d.ts +2 -2
- package/esm/models/components/document.d.ts +16 -0
- package/esm/models/components/document.d.ts.map +1 -1
- package/esm/models/components/document.js +2 -0
- package/esm/models/components/document.js.map +1 -1
- package/esm/models/components/elicitationcapability.d.ts +23 -0
- package/esm/models/components/elicitationcapability.d.ts.map +1 -0
- package/esm/models/components/elicitationcapability.js +15 -0
- package/esm/models/components/elicitationcapability.js.map +1 -0
- package/esm/models/components/encodedpayloadoptions.d.ts +5 -3
- package/esm/models/components/encodedpayloadoptions.d.ts.map +1 -1
- package/esm/models/components/encodedpayloadoptions.js +4 -2
- package/esm/models/components/encodedpayloadoptions.js.map +1 -1
- package/esm/models/components/encryptedpatchvalue.d.ts +21 -0
- package/esm/models/components/encryptedpatchvalue.d.ts.map +1 -0
- package/esm/models/components/encryptedpatchvalue.js +15 -0
- package/esm/models/components/encryptedpatchvalue.js.map +1 -0
- package/esm/models/components/fimcompletionrequest.d.ts +2 -0
- package/esm/models/components/fimcompletionrequest.d.ts.map +1 -1
- package/esm/models/components/fimcompletionrequest.js +2 -0
- package/esm/models/components/fimcompletionrequest.js.map +1 -1
- package/esm/models/components/fimcompletionstreamrequest.d.ts +2 -0
- package/esm/models/components/fimcompletionstreamrequest.d.ts.map +1 -1
- package/esm/models/components/fimcompletionstreamrequest.js +2 -0
- package/esm/models/components/fimcompletionstreamrequest.js.map +1 -1
- package/esm/models/components/index.d.ts +59 -5
- package/esm/models/components/index.d.ts.map +1 -1
- package/esm/models/components/index.js +59 -5
- package/esm/models/components/index.js.map +1 -1
- package/esm/models/components/ingestionpipelineconfiguration.d.ts +7 -0
- package/esm/models/components/ingestionpipelineconfiguration.d.ts.map +1 -1
- package/esm/models/components/ingestionpipelineconfiguration.js +10 -0
- package/esm/models/components/ingestionpipelineconfiguration.js.map +1 -1
- package/esm/models/components/jobmetadata.d.ts +18 -0
- package/esm/models/components/jobmetadata.d.ts.map +1 -1
- package/esm/models/components/jobmetadata.js.map +1 -1
- package/esm/models/components/jsonpatch.d.ts +13 -0
- package/esm/models/components/jsonpatch.d.ts.map +1 -0
- package/esm/models/components/jsonpatch.js +21 -0
- package/esm/models/components/jsonpatch.js.map +1 -0
- package/esm/models/components/jsonpatchappend.d.ts +10 -2
- package/esm/models/components/jsonpatchappend.d.ts.map +1 -1
- package/esm/models/components/jsonpatchappend.js +8 -1
- package/esm/models/components/jsonpatchappend.js.map +1 -1
- package/esm/models/components/jsonpatchpayloadresponse.d.ts +7 -11
- package/esm/models/components/jsonpatchpayloadresponse.d.ts.map +1 -1
- package/esm/models/components/jsonpatchpayloadresponse.js +10 -21
- package/esm/models/components/jsonpatchpayloadresponse.js.map +1 -1
- package/esm/models/components/jsonpatchpayloadvalueresponse.d.ts +9 -0
- package/esm/models/components/jsonpatchpayloadvalueresponse.d.ts.map +1 -0
- package/esm/models/components/jsonpatchpayloadvalueresponse.js +14 -0
- package/esm/models/components/jsonpatchpayloadvalueresponse.js.map +1 -0
- package/esm/models/components/jsonpayloadresponse.d.ts +8 -1
- package/esm/models/components/jsonpayloadresponse.d.ts.map +1 -1
- package/esm/models/components/jsonpayloadresponse.js +8 -0
- package/esm/models/components/jsonpayloadresponse.js.map +1 -1
- package/esm/models/components/library.d.ts +17 -0
- package/esm/models/components/library.d.ts.map +1 -1
- package/esm/models/components/library.js.map +1 -1
- package/esm/models/components/logicalexpression.d.ts +39 -0
- package/esm/models/components/logicalexpression.d.ts.map +1 -0
- package/esm/models/components/logicalexpression.js +60 -0
- package/esm/models/components/logicalexpression.js.map +1 -0
- package/esm/models/components/mcpprompt.d.ts +20 -0
- package/esm/models/components/mcpprompt.d.ts.map +1 -0
- package/esm/models/components/mcpprompt.js +26 -0
- package/esm/models/components/mcpprompt.js.map +1 -0
- package/esm/models/components/mcpresource.d.ts +23 -0
- package/esm/models/components/mcpresource.d.ts.map +1 -0
- package/esm/models/components/mcpresource.js +30 -0
- package/esm/models/components/mcpresource.js.map +1 -0
- package/esm/models/components/mcpserverauthenticationrequirement.d.ts +20 -0
- package/esm/models/components/mcpserverauthenticationrequirement.d.ts.map +1 -0
- package/esm/models/components/mcpserverauthenticationrequirement.js +15 -0
- package/esm/models/components/mcpserverauthenticationrequirement.js.map +1 -0
- package/esm/models/components/mcpservercard.d.ts +58 -0
- package/esm/models/components/mcpservercard.d.ts.map +1 -0
- package/esm/models/components/mcpservercard.js +66 -0
- package/esm/models/components/mcpservercard.js.map +1 -0
- package/esm/models/components/mcpservercardmeta.d.ts +19 -0
- package/esm/models/components/mcpservercardmeta.d.ts.map +1 -0
- package/esm/models/components/mcpservercardmeta.js +20 -0
- package/esm/models/components/mcpservercardmeta.js.map +1 -0
- package/esm/models/components/mcpserverremote.d.ts +39 -0
- package/esm/models/components/mcpserverremote.d.ts.map +1 -0
- package/esm/models/components/mcpserverremote.js +31 -0
- package/esm/models/components/mcpserverremote.js.map +1 -0
- package/esm/models/components/mcpserverremoteheader.d.ts +24 -0
- package/esm/models/components/mcpserverremoteheader.d.ts.map +1 -0
- package/esm/models/components/mcpserverremoteheader.js +19 -0
- package/esm/models/components/mcpserverremoteheader.js.map +1 -0
- package/esm/models/components/mcpserverrepository.d.ts +21 -0
- package/esm/models/components/mcpserverrepository.d.ts.map +1 -0
- package/esm/models/components/mcpserverrepository.js +16 -0
- package/esm/models/components/mcpserverrepository.js.map +1 -0
- package/esm/models/components/mcptoolmeta.d.ts +16 -11
- package/esm/models/components/mcptoolmeta.d.ts.map +1 -1
- package/esm/models/components/mcptoolmeta.js +13 -5
- package/esm/models/components/mcptoolmeta.js.map +1 -1
- package/esm/models/components/ocrrequest.d.ts +0 -2
- package/esm/models/components/ocrrequest.d.ts.map +1 -1
- package/esm/models/components/ocrrequest.js +0 -1
- package/esm/models/components/ocrrequest.js.map +1 -1
- package/esm/models/components/outboundauthenticationtype.d.ts +13 -0
- package/esm/models/components/outboundauthenticationtype.d.ts.map +1 -0
- package/esm/models/components/outboundauthenticationtype.js +15 -0
- package/esm/models/components/outboundauthenticationtype.js.map +1 -0
- package/esm/models/components/partialscheduledefinition.d.ts +78 -0
- package/esm/models/components/partialscheduledefinition.d.ts.map +1 -0
- package/esm/models/components/partialscheduledefinition.js +35 -0
- package/esm/models/components/partialscheduledefinition.js.map +1 -0
- package/esm/models/components/processingstatus.d.ts +3 -0
- package/esm/models/components/processingstatus.d.ts.map +1 -1
- package/esm/models/components/processingstatus.js.map +1 -1
- package/esm/models/components/promptargument.d.ts +16 -0
- package/esm/models/components/promptargument.d.ts.map +1 -0
- package/esm/models/components/promptargument.js +16 -0
- package/esm/models/components/promptargument.js.map +1 -0
- package/esm/models/components/promptscapability.d.ts +14 -0
- package/esm/models/components/promptscapability.d.ts.map +1 -0
- package/esm/models/components/promptscapability.js +14 -0
- package/esm/models/components/promptscapability.js.map +1 -0
- package/esm/models/components/publicauthenticationmethod.d.ts +3 -2
- package/esm/models/components/publicauthenticationmethod.d.ts.map +1 -1
- package/esm/models/components/publicauthenticationmethod.js +4 -2
- package/esm/models/components/publicauthenticationmethod.js.map +1 -1
- package/esm/models/components/publicconnectionconfig.d.ts +16 -0
- package/esm/models/components/publicconnectionconfig.d.ts.map +1 -0
- package/esm/models/components/publicconnectionconfig.js +23 -0
- package/esm/models/components/publicconnectionconfig.js.map +1 -0
- package/esm/models/components/referencechunk.d.ts +4 -4
- package/esm/models/components/referencechunk.js +4 -4
- package/esm/models/components/referencechunk.js.map +1 -1
- package/esm/models/components/resourcescapability.d.ts +15 -0
- package/esm/models/components/resourcescapability.d.ts.map +1 -0
- package/esm/models/components/resourcescapability.js +15 -0
- package/esm/models/components/resourcescapability.js.map +1 -0
- package/esm/models/components/resourcetype.d.ts +12 -0
- package/esm/models/components/resourcetype.d.ts.map +1 -0
- package/esm/models/components/resourcetype.js +14 -0
- package/esm/models/components/resourcetype.js.map +1 -0
- package/esm/models/components/rootscapability.d.ts +14 -0
- package/esm/models/components/rootscapability.d.ts.map +1 -0
- package/esm/models/components/rootscapability.js +14 -0
- package/esm/models/components/rootscapability.js.map +1 -0
- package/esm/models/components/samplingcapability.d.ts +19 -0
- package/esm/models/components/samplingcapability.d.ts.map +1 -0
- package/esm/models/components/samplingcapability.js +15 -0
- package/esm/models/components/samplingcapability.js.map +1 -0
- package/esm/models/components/scheduledefinition.d.ts +5 -0
- package/esm/models/components/scheduledefinition.d.ts.map +1 -1
- package/esm/models/components/scheduledefinition.js +2 -0
- package/esm/models/components/scheduledefinition.js.map +1 -1
- package/esm/models/components/scheduledefinitionoutput.d.ts +26 -0
- package/esm/models/components/scheduledefinitionoutput.d.ts.map +1 -1
- package/esm/models/components/scheduledefinitionoutput.js +12 -0
- package/esm/models/components/scheduledefinitionoutput.js.map +1 -1
- package/esm/models/components/schedulefutureexecution.d.ts +13 -0
- package/esm/models/components/schedulefutureexecution.d.ts.map +1 -0
- package/esm/models/components/schedulefutureexecution.js +19 -0
- package/esm/models/components/schedulefutureexecution.js.map +1 -0
- package/esm/models/components/schedulerecentexecution.d.ts +21 -0
- package/esm/models/components/schedulerecentexecution.d.ts.map +1 -0
- package/esm/models/components/schedulerecentexecution.js +23 -0
- package/esm/models/components/schedulerecentexecution.js.map +1 -0
- package/esm/models/components/searchindexresponse.d.ts +30 -0
- package/esm/models/components/searchindexresponse.d.ts.map +1 -0
- package/esm/models/components/searchindexresponse.js +42 -0
- package/esm/models/components/searchindexresponse.js.map +1 -0
- package/esm/models/components/servercapabilities.d.ts +32 -0
- package/esm/models/components/servercapabilities.d.ts.map +1 -0
- package/esm/models/components/servercapabilities.js +25 -0
- package/esm/models/components/servercapabilities.js.map +1 -0
- package/esm/models/components/{turbinetoollocale.d.ts → serverlocale.d.ts} +4 -4
- package/esm/models/components/serverlocale.d.ts.map +1 -0
- package/esm/models/components/{turbinetoollocale.js → serverlocale.js} +8 -6
- package/esm/models/components/serverlocale.js.map +1 -0
- package/esm/models/components/servertaskscapability.d.ts +21 -0
- package/esm/models/components/servertaskscapability.d.ts.map +1 -0
- package/esm/models/components/servertaskscapability.js +17 -0
- package/esm/models/components/servertaskscapability.js.map +1 -0
- package/esm/models/components/servertasksrequestscapability.d.ts +15 -0
- package/esm/models/components/servertasksrequestscapability.d.ts.map +1 -0
- package/esm/models/components/servertasksrequestscapability.js +15 -0
- package/esm/models/components/servertasksrequestscapability.js.map +1 -0
- package/esm/models/components/sharing.d.ts +6 -0
- package/esm/models/components/sharing.d.ts.map +1 -1
- package/esm/models/components/sharing.js.map +1 -1
- package/esm/models/components/sharingdelete.d.ts +3 -0
- package/esm/models/components/sharingdelete.d.ts.map +1 -1
- package/esm/models/components/sharingdelete.js.map +1 -1
- package/esm/models/components/sharingrequest.d.ts +3 -0
- package/esm/models/components/sharingrequest.d.ts.map +1 -1
- package/esm/models/components/sharingrequest.js.map +1 -1
- package/esm/models/components/taskselicitationcapability.d.ts +16 -0
- package/esm/models/components/taskselicitationcapability.d.ts.map +1 -0
- package/esm/models/components/taskselicitationcapability.js +14 -0
- package/esm/models/components/taskselicitationcapability.js.map +1 -0
- package/esm/models/components/taskssamplingcapability.d.ts +16 -0
- package/esm/models/components/taskssamplingcapability.d.ts.map +1 -0
- package/esm/models/components/taskssamplingcapability.js +14 -0
- package/esm/models/components/taskssamplingcapability.js.map +1 -0
- package/esm/models/components/taskstoolscapability.d.ts +16 -0
- package/esm/models/components/taskstoolscapability.d.ts.map +1 -0
- package/esm/models/components/taskstoolscapability.js +14 -0
- package/esm/models/components/taskstoolscapability.js.map +1 -0
- package/esm/models/components/toolexecutionconfiguration.d.ts +43 -0
- package/esm/models/components/toolexecutionconfiguration.d.ts.map +1 -0
- package/esm/models/components/toolexecutionconfiguration.js +93 -0
- package/esm/models/components/toolexecutionconfiguration.js.map +1 -0
- package/esm/models/components/toolproperties.d.ts +17 -0
- package/esm/models/components/toolproperties.d.ts.map +1 -0
- package/esm/models/components/toolproperties.js +30 -0
- package/esm/models/components/toolproperties.js.map +1 -0
- package/esm/models/components/toolscapability.d.ts +14 -0
- package/esm/models/components/toolscapability.d.ts.map +1 -0
- package/esm/models/components/toolscapability.js +14 -0
- package/esm/models/components/toolscapability.js.map +1 -0
- package/esm/models/components/turbinemeta.d.ts +12 -0
- package/esm/models/components/turbinemeta.d.ts.map +1 -0
- package/esm/models/components/turbinemeta.js +22 -0
- package/esm/models/components/turbinemeta.js.map +1 -0
- package/esm/models/components/updateconnectorrequest.d.ts +11 -0
- package/esm/models/components/updateconnectorrequest.d.ts.map +1 -1
- package/esm/models/components/updateconnectorrequest.js +3 -0
- package/esm/models/components/updateconnectorrequest.js.map +1 -1
- package/esm/models/components/updatedocumentrequest.d.ts +7 -2
- package/esm/models/components/updatedocumentrequest.d.ts.map +1 -1
- package/esm/models/components/updatedocumentrequest.js +7 -1
- package/esm/models/components/updatedocumentrequest.js.map +1 -1
- package/esm/models/components/updatelibraryrequest.d.ts +2 -2
- package/esm/models/components/updatelibraryrequest.d.ts.map +1 -1
- package/esm/models/components/updatelibraryrequest.js +1 -1
- package/esm/models/components/updatelibraryrequest.js.map +1 -1
- package/esm/models/components/updateruninfo.d.ts +14 -0
- package/esm/models/components/updateruninfo.d.ts.map +1 -0
- package/esm/models/components/updateruninfo.js +20 -0
- package/esm/models/components/updateruninfo.js.map +1 -0
- package/esm/models/components/vespaschemaresponse.d.ts +11 -0
- package/esm/models/components/vespaschemaresponse.d.ts.map +1 -0
- package/esm/models/components/vespaschemaresponse.js +20 -0
- package/esm/models/components/vespaschemaresponse.js.map +1 -0
- package/esm/models/components/vespasearchindexinforesponse.d.ts +15 -0
- package/esm/models/components/vespasearchindexinforesponse.d.ts.map +1 -0
- package/esm/models/components/vespasearchindexinforesponse.js +26 -0
- package/esm/models/components/vespasearchindexinforesponse.js.map +1 -0
- package/esm/models/components/voiceappearance.d.ts +23 -0
- package/esm/models/components/voiceappearance.d.ts.map +1 -0
- package/esm/models/components/voiceappearance.js +42 -0
- package/esm/models/components/voiceappearance.js.map +1 -0
- package/esm/models/components/voicecreaterequest.d.ts +5 -0
- package/esm/models/components/voicecreaterequest.d.ts.map +1 -1
- package/esm/models/components/voicecreaterequest.js +3 -0
- package/esm/models/components/voicecreaterequest.js.map +1 -1
- package/esm/models/components/voiceresponse.d.ts +3 -0
- package/esm/models/components/voiceresponse.d.ts.map +1 -1
- package/esm/models/components/voiceresponse.js +3 -0
- package/esm/models/components/voiceresponse.js.map +1 -1
- package/esm/models/components/voiceupdaterequest.d.ts +5 -0
- package/esm/models/components/voiceupdaterequest.d.ts.map +1 -1
- package/esm/models/components/voiceupdaterequest.js +3 -0
- package/esm/models/components/voiceupdaterequest.js.map +1 -1
- package/esm/models/components/workflowbulkarchiverequest.d.ts +15 -0
- package/esm/models/components/workflowbulkarchiverequest.d.ts.map +1 -0
- package/esm/models/components/workflowbulkarchiverequest.js +18 -0
- package/esm/models/components/workflowbulkarchiverequest.js.map +1 -0
- package/esm/models/components/workflowbulkarchiveresponse.d.ts +19 -0
- package/esm/models/components/workflowbulkarchiveresponse.d.ts.map +1 -0
- package/esm/models/components/workflowbulkarchiveresponse.js +17 -0
- package/esm/models/components/workflowbulkarchiveresponse.js.map +1 -0
- package/esm/models/components/workflowbulkerror.d.ts +22 -0
- package/esm/models/components/workflowbulkerror.d.ts.map +1 -0
- package/esm/models/components/workflowbulkerror.js +22 -0
- package/esm/models/components/workflowbulkerror.js.map +1 -0
- package/esm/models/components/workflowbulkunarchiverequest.d.ts +15 -0
- package/esm/models/components/workflowbulkunarchiverequest.d.ts.map +1 -0
- package/esm/models/components/workflowbulkunarchiverequest.js +18 -0
- package/esm/models/components/workflowbulkunarchiverequest.js.map +1 -0
- package/esm/models/components/workflowbulkunarchiveresponse.d.ts +19 -0
- package/esm/models/components/workflowbulkunarchiveresponse.d.ts.map +1 -0
- package/esm/models/components/workflowbulkunarchiveresponse.js +17 -0
- package/esm/models/components/workflowbulkunarchiveresponse.js.map +1 -0
- package/esm/models/components/workflowexecutioncompletedattributesresponse.d.ts +2 -0
- package/esm/models/components/workflowexecutioncompletedattributesresponse.d.ts.map +1 -1
- package/esm/models/components/workflowexecutioncompletedattributesresponse.js.map +1 -1
- package/esm/models/components/workflowexecutioncontinuedasnewattributesresponse.d.ts +2 -0
- package/esm/models/components/workflowexecutioncontinuedasnewattributesresponse.d.ts.map +1 -1
- package/esm/models/components/workflowexecutioncontinuedasnewattributesresponse.js.map +1 -1
- package/esm/models/components/workflowexecutionrequest.d.ts +0 -6
- package/esm/models/components/workflowexecutionrequest.d.ts.map +1 -1
- package/esm/models/components/workflowexecutionrequest.js +0 -3
- package/esm/models/components/workflowexecutionrequest.js.map +1 -1
- package/esm/models/components/workflowexecutionstartedattributesresponse.d.ts +2 -0
- package/esm/models/components/workflowexecutionstartedattributesresponse.d.ts.map +1 -1
- package/esm/models/components/workflowexecutionstartedattributesresponse.js.map +1 -1
- package/esm/models/components/workflowschedulelistresponse.d.ts +4 -0
- package/esm/models/components/workflowschedulelistresponse.d.ts.map +1 -1
- package/esm/models/components/workflowschedulelistresponse.js +6 -0
- package/esm/models/components/workflowschedulelistresponse.js.map +1 -1
- package/esm/models/components/workflowschedulepauserequest.d.ts +15 -0
- package/esm/models/components/workflowschedulepauserequest.d.ts.map +1 -0
- package/esm/models/components/workflowschedulepauserequest.js +13 -0
- package/esm/models/components/workflowschedulepauserequest.js.map +1 -0
- package/esm/models/components/workflowscheduleupdaterequest.d.ts +21 -0
- package/esm/models/components/workflowscheduleupdaterequest.d.ts.map +1 -0
- package/esm/models/components/workflowscheduleupdaterequest.js +14 -0
- package/esm/models/components/workflowscheduleupdaterequest.js.map +1 -0
- package/esm/models/operations/connectoractivatefororganizationv1.d.ts +15 -0
- package/esm/models/operations/connectoractivatefororganizationv1.d.ts.map +1 -0
- package/esm/models/operations/connectoractivatefororganizationv1.js +21 -0
- package/esm/models/operations/connectoractivatefororganizationv1.js.map +1 -0
- package/esm/models/operations/connectoractivateforuserv1.d.ts +15 -0
- package/esm/models/operations/connectoractivateforuserv1.d.ts.map +1 -0
- package/esm/models/operations/connectoractivateforuserv1.js +21 -0
- package/esm/models/operations/connectoractivateforuserv1.js.map +1 -0
- package/esm/models/operations/connectoractivateforworkspacev1.d.ts +15 -0
- package/esm/models/operations/connectoractivateforworkspacev1.d.ts.map +1 -0
- package/esm/models/operations/connectoractivateforworkspacev1.js +21 -0
- package/esm/models/operations/connectoractivateforworkspacev1.js.map +1 -0
- package/esm/models/operations/connectordeactivatefororganizationv1.d.ts +12 -0
- package/esm/models/operations/connectordeactivatefororganizationv1.d.ts.map +1 -0
- package/esm/models/operations/connectordeactivatefororganizationv1.js +18 -0
- package/esm/models/operations/connectordeactivatefororganizationv1.js.map +1 -0
- package/esm/models/operations/connectordeactivateforuserv1.d.ts +12 -0
- package/esm/models/operations/connectordeactivateforuserv1.d.ts.map +1 -0
- package/esm/models/operations/connectordeactivateforuserv1.js +18 -0
- package/esm/models/operations/connectordeactivateforuserv1.js.map +1 -0
- package/esm/models/operations/connectordeactivateforworkspacev1.d.ts +12 -0
- package/esm/models/operations/connectordeactivateforworkspacev1.d.ts.map +1 -0
- package/esm/models/operations/connectordeactivateforworkspacev1.js +18 -0
- package/esm/models/operations/connectordeactivateforworkspacev1.js.map +1 -0
- package/esm/models/operations/connectorgetv1.d.ts +5 -5
- package/esm/models/operations/connectorgetv1.d.ts.map +1 -1
- package/esm/models/operations/connectorgetv1.js +2 -2
- package/esm/models/operations/connectorgetv1.js.map +1 -1
- package/esm/models/operations/connectorlistorganizationcredentialsv1.d.ts +1 -1
- package/esm/models/operations/connectorlistorganizationcredentialsv1.d.ts.map +1 -1
- package/esm/models/operations/connectorlistorganizationcredentialsv1.js +1 -1
- package/esm/models/operations/connectorlistorganizationcredentialsv1.js.map +1 -1
- package/esm/models/operations/connectorlistusercredentialsv1.d.ts +1 -1
- package/esm/models/operations/connectorlistusercredentialsv1.d.ts.map +1 -1
- package/esm/models/operations/connectorlistusercredentialsv1.js +2 -1
- package/esm/models/operations/connectorlistusercredentialsv1.js.map +1 -1
- package/esm/models/operations/connectorlistworkspacecredentialsv1.d.ts +1 -1
- package/esm/models/operations/connectorlistworkspacecredentialsv1.d.ts.map +1 -1
- package/esm/models/operations/connectorlistworkspacecredentialsv1.js +1 -1
- package/esm/models/operations/connectorlistworkspacecredentialsv1.js.map +1 -1
- package/esm/models/operations/getschedulesv1workflowsschedulesget.d.ts +58 -0
- package/esm/models/operations/getschedulesv1workflowsschedulesget.d.ts.map +1 -0
- package/esm/models/operations/getschedulesv1workflowsschedulesget.js +48 -0
- package/esm/models/operations/getschedulesv1workflowsschedulesget.js.map +1 -0
- package/esm/models/operations/getschedulev1workflowsschedulesscheduleidget.d.ts +12 -0
- package/esm/models/operations/getschedulev1workflowsschedulesscheduleidget.d.ts.map +1 -0
- package/esm/models/operations/getschedulev1workflowsschedulesscheduleidget.js +18 -0
- package/esm/models/operations/getschedulev1workflowsschedulesscheduleidget.js.map +1 -0
- package/esm/models/operations/index.d.ts +14 -0
- package/esm/models/operations/index.d.ts.map +1 -1
- package/esm/models/operations/index.js +14 -0
- package/esm/models/operations/index.js.map +1 -1
- package/esm/models/operations/librariesdocumentslistv1.d.ts +5 -0
- package/esm/models/operations/librariesdocumentslistv1.d.ts.map +1 -1
- package/esm/models/operations/librariesdocumentslistv1.js.map +1 -1
- package/esm/models/operations/librariesdocumentspatchv1.d.ts +17 -0
- package/esm/models/operations/librariesdocumentspatchv1.d.ts.map +1 -0
- package/esm/models/operations/librariesdocumentspatchv1.js +23 -0
- package/esm/models/operations/librariesdocumentspatchv1.js.map +1 -0
- package/esm/models/operations/librarieslistv1.d.ts +3 -1
- package/esm/models/operations/librarieslistv1.d.ts.map +1 -1
- package/esm/models/operations/librarieslistv1.js.map +1 -1
- package/esm/models/operations/librariespatchv1.d.ts +15 -0
- package/esm/models/operations/librariespatchv1.d.ts.map +1 -0
- package/esm/models/operations/librariespatchv1.js +21 -0
- package/esm/models/operations/librariespatchv1.js.map +1 -0
- package/esm/models/operations/pauseschedulev1workflowsschedulesscheduleidpausepost.d.ts +15 -0
- package/esm/models/operations/pauseschedulev1workflowsschedulesscheduleidpausepost.d.ts.map +1 -0
- package/esm/models/operations/pauseschedulev1workflowsschedulesscheduleidpausepost.js +22 -0
- package/esm/models/operations/pauseschedulev1workflowsschedulesscheduleidpausepost.js.map +1 -0
- package/esm/models/operations/resumeschedulev1workflowsschedulesscheduleidresumepost.d.ts +15 -0
- package/esm/models/operations/resumeschedulev1workflowsschedulesscheduleidresumepost.d.ts.map +1 -0
- package/esm/models/operations/resumeschedulev1workflowsschedulesscheduleidresumepost.js +22 -0
- package/esm/models/operations/resumeschedulev1workflowsschedulesscheduleidresumepost.js.map +1 -0
- package/esm/models/operations/updateruninfov1ragingestionpipelineconfigurationsidruninfoput.d.ts +15 -0
- package/esm/models/operations/updateruninfov1ragingestionpipelineconfigurationsidruninfoput.d.ts.map +1 -0
- package/esm/models/operations/updateruninfov1ragingestionpipelineconfigurationsidruninfoput.js +21 -0
- package/esm/models/operations/updateruninfov1ragingestionpipelineconfigurationsidruninfoput.js.map +1 -0
- package/esm/models/operations/updateschedulev1workflowsschedulesscheduleidpatch.d.ts +15 -0
- package/esm/models/operations/updateschedulev1workflowsschedulesscheduleidpatch.d.ts.map +1 -0
- package/esm/models/operations/updateschedulev1workflowsschedulesscheduleidpatch.js +22 -0
- package/esm/models/operations/updateschedulev1workflowsschedulesscheduleidpatch.js.map +1 -0
- package/esm/sdk/accesses.d.ts +1 -1
- package/esm/sdk/accesses.js +1 -1
- package/esm/sdk/connectors.d.ts +42 -0
- package/esm/sdk/connectors.d.ts.map +1 -1
- package/esm/sdk/connectors.js +60 -0
- package/esm/sdk/connectors.js.map +1 -1
- package/esm/sdk/documents.d.ts +10 -1
- package/esm/sdk/documents.d.ts.map +1 -1
- package/esm/sdk/documents.js +13 -1
- package/esm/sdk/documents.js.map +1 -1
- package/esm/sdk/ingestionpipelineconfigurations.d.ts +12 -0
- package/esm/sdk/ingestionpipelineconfigurations.d.ts.map +1 -1
- package/esm/sdk/ingestionpipelineconfigurations.js +17 -0
- package/esm/sdk/ingestionpipelineconfigurations.js.map +1 -1
- package/esm/sdk/libraries.d.ts +11 -2
- package/esm/sdk/libraries.d.ts.map +1 -1
- package/esm/sdk/libraries.js +13 -1
- package/esm/sdk/libraries.js.map +1 -1
- package/esm/sdk/rag.d.ts +3 -0
- package/esm/sdk/rag.d.ts.map +1 -1
- package/esm/sdk/rag.js +5 -0
- package/esm/sdk/rag.js.map +1 -1
- package/esm/sdk/schedules.d.ts +20 -1
- package/esm/sdk/schedules.d.ts.map +1 -1
- package/esm/sdk/schedules.js +31 -2
- package/esm/sdk/schedules.js.map +1 -1
- package/esm/sdk/searchindexes.d.ts +13 -0
- package/esm/sdk/searchindexes.d.ts.map +1 -0
- package/esm/sdk/searchindexes.js +23 -0
- package/esm/sdk/searchindexes.js.map +1 -0
- package/esm/sdk/workflows.d.ts +8 -0
- package/esm/sdk/workflows.d.ts.map +1 -1
- package/esm/sdk/workflows.js +14 -0
- package/esm/sdk/workflows.js.map +1 -1
- package/esm/types/async.d.ts.map +1 -1
- package/esm/types/async.js +6 -6
- package/esm/types/async.js.map +1 -1
- package/examples/src/reasoning.ts +50 -0
- package/examples/src/reasoning_multi_turn.ts +77 -0
- package/examples/src/reasoning_response_shape.ts +33 -0
- package/examples/src/reasoning_with_streaming.ts +68 -0
- package/jsr.json +1 -1
- package/package.json +1 -1
- package/packages/mistralai-azure/src/funcs/chatComplete.ts +5 -3
- package/packages/mistralai-azure/src/funcs/chatStream.ts +5 -3
- package/packages/mistralai-azure/src/funcs/ocrProcess.ts +5 -3
- package/packages/mistralai-azure/src/lib/config.ts +3 -3
- package/packages/mistralai-azure/src/lib/encodings.ts +32 -4
- package/packages/mistralai-azure/src/lib/files.ts +22 -0
- package/packages/mistralai-azure/src/lib/sdks.ts +10 -11
- package/packages/mistralai-azure/src/lib/security.ts +14 -2
- package/packages/mistralai-azure/src/lib/url.ts +16 -14
- package/packages/mistralai-azure/src/models/components/apikeyauth.ts +30 -0
- package/packages/mistralai-azure/src/models/components/chatcompletionchoice.ts +5 -2
- package/packages/mistralai-azure/src/models/components/chatcompletionrequest.ts +136 -15
- package/packages/mistralai-azure/src/models/components/chatcompletionstreamrequest.ts +138 -15
- package/packages/mistralai-azure/src/models/components/codeinterpretertool.ts +44 -0
- package/packages/mistralai-azure/src/models/components/customconnector.ts +82 -0
- package/packages/mistralai-azure/src/models/components/deltamessage.ts +10 -0
- package/packages/mistralai-azure/src/models/components/documentlibrarytool.ts +51 -0
- package/packages/mistralai-azure/src/models/components/guardrailconfig.ts +55 -0
- package/packages/mistralai-azure/src/models/components/imagegenerationtool.ts +44 -0
- package/packages/mistralai-azure/src/models/components/imageurlchunk.ts +1 -1
- package/packages/mistralai-azure/src/models/components/index.ts +18 -1
- package/packages/mistralai-azure/src/models/components/moderationllmaction.ts +18 -0
- package/packages/mistralai-azure/src/models/components/moderationllmv1categorythresholds.ts +64 -0
- package/packages/mistralai-azure/src/models/components/moderationllmv1config.ts +70 -0
- package/packages/mistralai-azure/src/models/components/moderationllmv2categorythresholds.ts +69 -0
- package/packages/mistralai-azure/src/models/components/moderationllmv2config.ts +70 -0
- package/packages/mistralai-azure/src/models/components/oauth2tokenauth.ts +32 -0
- package/packages/mistralai-azure/src/models/components/ocrconfidencescore.ts +52 -0
- package/packages/mistralai-azure/src/models/components/ocrpageconfidencescores.ts +66 -0
- package/packages/mistralai-azure/src/models/components/ocrpageobject.ts +15 -0
- package/packages/mistralai-azure/src/models/components/ocrrequest.ts +42 -7
- package/packages/mistralai-azure/src/models/components/ocrtableobject.ts +16 -0
- package/packages/mistralai-azure/src/models/components/reasoningeffort.ts +17 -0
- package/packages/mistralai-azure/src/models/components/referencechunk.ts +32 -4
- package/packages/mistralai-azure/src/models/components/thinkchunk.ts +6 -0
- package/packages/mistralai-azure/src/models/components/tool.ts +3 -4
- package/packages/mistralai-azure/src/models/components/toolcall.ts +3 -8
- package/packages/mistralai-azure/src/models/components/toolchoice.ts +2 -3
- package/packages/mistralai-azure/src/models/components/toolconfiguration.ts +42 -0
- package/packages/mistralai-azure/src/models/components/toolreferencechunk.ts +11 -7
- package/packages/mistralai-azure/src/models/components/websearchpremiumtool.ts +44 -0
- package/packages/mistralai-azure/src/models/components/websearchtool.ts +40 -0
- package/packages/mistralai-azure/src/types/async.ts +8 -7
- package/packages/mistralai-gcp/src/funcs/chatComplete.ts +5 -3
- package/packages/mistralai-gcp/src/funcs/chatStream.ts +5 -3
- package/packages/mistralai-gcp/src/funcs/fimComplete.ts +5 -3
- package/packages/mistralai-gcp/src/funcs/fimStream.ts +5 -3
- package/packages/mistralai-gcp/src/lib/config.ts +3 -3
- package/packages/mistralai-gcp/src/lib/encodings.ts +32 -4
- package/packages/mistralai-gcp/src/lib/files.ts +22 -0
- package/packages/mistralai-gcp/src/lib/sdks.ts +10 -11
- package/packages/mistralai-gcp/src/lib/security.ts +14 -2
- package/packages/mistralai-gcp/src/lib/url.ts +16 -14
- package/packages/mistralai-gcp/src/models/components/apikeyauth.ts +30 -0
- package/packages/mistralai-gcp/src/models/components/chatcompletionchoice.ts +5 -2
- package/packages/mistralai-gcp/src/models/components/chatcompletionrequest.ts +136 -15
- package/packages/mistralai-gcp/src/models/components/chatcompletionstreamrequest.ts +138 -15
- package/packages/mistralai-gcp/src/models/components/codeinterpretertool.ts +44 -0
- package/packages/mistralai-gcp/src/models/components/customconnector.ts +82 -0
- package/packages/mistralai-gcp/src/models/components/deltamessage.ts +10 -0
- package/packages/mistralai-gcp/src/models/components/documentlibrarytool.ts +51 -0
- package/packages/mistralai-gcp/src/models/components/fimcompletionrequest.ts +6 -6
- package/packages/mistralai-gcp/src/models/components/fimcompletionstreamrequest.ts +6 -6
- package/packages/mistralai-gcp/src/models/components/guardrailconfig.ts +55 -0
- package/packages/mistralai-gcp/src/models/components/imagegenerationtool.ts +44 -0
- package/packages/mistralai-gcp/src/models/components/imageurlchunk.ts +1 -1
- package/packages/mistralai-gcp/src/models/components/index.ts +16 -1
- package/packages/mistralai-gcp/src/models/components/moderationllmaction.ts +18 -0
- package/packages/mistralai-gcp/src/models/components/moderationllmv1categorythresholds.ts +64 -0
- package/packages/mistralai-gcp/src/models/components/moderationllmv1config.ts +70 -0
- package/packages/mistralai-gcp/src/models/components/moderationllmv2categorythresholds.ts +69 -0
- package/packages/mistralai-gcp/src/models/components/moderationllmv2config.ts +70 -0
- package/packages/mistralai-gcp/src/models/components/oauth2tokenauth.ts +32 -0
- package/packages/mistralai-gcp/src/models/components/reasoningeffort.ts +17 -0
- package/packages/mistralai-gcp/src/models/components/referencechunk.ts +32 -4
- package/packages/mistralai-gcp/src/models/components/thinkchunk.ts +6 -0
- package/packages/mistralai-gcp/src/models/components/tool.ts +3 -4
- package/packages/mistralai-gcp/src/models/components/toolcall.ts +3 -8
- package/packages/mistralai-gcp/src/models/components/toolchoice.ts +2 -3
- package/packages/mistralai-gcp/src/models/components/toolconfiguration.ts +42 -0
- package/packages/mistralai-gcp/src/models/components/toolreferencechunk.ts +11 -7
- package/packages/mistralai-gcp/src/models/components/websearchpremiumtool.ts +44 -0
- package/packages/mistralai-gcp/src/models/components/websearchtool.ts +40 -0
- package/packages/mistralai-gcp/src/models/errors/httpvalidationerror.ts +1 -1
- package/packages/mistralai-gcp/src/models/errors/index.ts +1 -1
- package/packages/mistralai-gcp/src/models/errors/responsevalidationerror.ts +1 -1
- package/packages/mistralai-gcp/src/models/errors/sdkerror.ts +1 -1
- package/packages/mistralai-gcp/src/types/async.ts +8 -7
- package/src/extra/structChat.ts +25 -5
- package/src/funcs/agentsComplete.ts +1 -1
- package/src/funcs/agentsStream.ts +1 -1
- package/src/funcs/audioSpeechComplete.ts +1 -1
- package/src/funcs/audioTranscriptionsComplete.ts +1 -1
- package/src/funcs/audioTranscriptionsStream.ts +1 -1
- package/src/funcs/audioVoicesCreate.ts +1 -1
- package/src/funcs/audioVoicesDelete.ts +1 -1
- package/src/funcs/audioVoicesGet.ts +1 -1
- package/src/funcs/audioVoicesGetSampleAudio.ts +1 -1
- package/src/funcs/audioVoicesList.ts +1 -1
- package/src/funcs/audioVoicesUpdate.ts +1 -1
- package/src/funcs/batchJobsCancel.ts +1 -1
- package/src/funcs/batchJobsCreate.ts +1 -1
- package/src/funcs/batchJobsDelete.ts +1 -1
- package/src/funcs/batchJobsGet.ts +1 -1
- package/src/funcs/batchJobsList.ts +1 -1
- package/src/funcs/betaAgentsCreate.ts +1 -1
- package/src/funcs/betaAgentsCreateVersionAlias.ts +1 -1
- package/src/funcs/betaAgentsDelete.ts +1 -1
- package/src/funcs/betaAgentsDeleteVersionAlias.ts +1 -1
- package/src/funcs/betaAgentsGet.ts +1 -1
- package/src/funcs/betaAgentsGetVersion.ts +1 -1
- package/src/funcs/betaAgentsList.ts +1 -1
- package/src/funcs/betaAgentsListVersionAliases.ts +1 -1
- package/src/funcs/betaAgentsListVersions.ts +1 -1
- package/src/funcs/betaAgentsUpdate.ts +1 -1
- package/src/funcs/betaAgentsUpdateVersion.ts +1 -1
- package/src/funcs/betaConnectorsActivateForOrganization.ts +186 -0
- package/src/funcs/betaConnectorsActivateForUser.ts +184 -0
- package/src/funcs/betaConnectorsActivateForWorkspace.ts +186 -0
- package/src/funcs/betaConnectorsCallTool.ts +1 -1
- package/src/funcs/betaConnectorsCreate.ts +1 -1
- package/src/funcs/betaConnectorsCreateOrUpdateOrganizationCredentials.ts +1 -1
- package/src/funcs/betaConnectorsCreateOrUpdateUserCredentials.ts +1 -1
- package/src/funcs/betaConnectorsCreateOrUpdateWorkspaceCredentials.ts +1 -1
- package/src/funcs/betaConnectorsDeactivateForOrganization.ts +182 -0
- package/src/funcs/betaConnectorsDeactivateForUser.ts +183 -0
- package/src/funcs/betaConnectorsDeactivateForWorkspace.ts +183 -0
- package/src/funcs/betaConnectorsDelete.ts +1 -1
- package/src/funcs/betaConnectorsDeleteOrganizationCredentials.ts +1 -1
- package/src/funcs/betaConnectorsDeleteUserCredentials.ts +1 -1
- package/src/funcs/betaConnectorsDeleteWorkspaceCredentials.ts +1 -1
- package/src/funcs/betaConnectorsGet.ts +2 -2
- package/src/funcs/betaConnectorsGetAuthUrl.ts +1 -1
- package/src/funcs/betaConnectorsGetAuthenticationMethods.ts +1 -1
- package/src/funcs/betaConnectorsList.ts +1 -1
- package/src/funcs/betaConnectorsListOrganizationCredentials.ts +1 -1
- package/src/funcs/betaConnectorsListTools.ts +1 -1
- package/src/funcs/betaConnectorsListUserCredentials.ts +1 -1
- package/src/funcs/betaConnectorsListWorkspaceCredentials.ts +1 -1
- package/src/funcs/betaConnectorsUpdate.ts +1 -1
- package/src/funcs/betaConversationsAppend.ts +1 -1
- package/src/funcs/betaConversationsAppendStream.ts +1 -1
- package/src/funcs/betaConversationsDelete.ts +1 -1
- package/src/funcs/betaConversationsGet.ts +1 -1
- package/src/funcs/betaConversationsGetHistory.ts +1 -1
- package/src/funcs/betaConversationsGetMessages.ts +1 -1
- package/src/funcs/betaConversationsList.ts +1 -1
- package/src/funcs/betaConversationsRestart.ts +1 -1
- package/src/funcs/betaConversationsRestartStream.ts +1 -1
- package/src/funcs/betaConversationsStart.ts +1 -1
- package/src/funcs/betaConversationsStartStream.ts +1 -1
- package/src/funcs/betaLibrariesAccessesDelete.ts +2 -2
- package/src/funcs/betaLibrariesAccessesList.ts +1 -1
- package/src/funcs/betaLibrariesAccessesUpdateOrCreate.ts +1 -1
- package/src/funcs/betaLibrariesCreate.ts +1 -1
- package/src/funcs/betaLibrariesDelete.ts +2 -2
- package/src/funcs/betaLibrariesDocumentsDelete.ts +1 -1
- package/src/funcs/betaLibrariesDocumentsExtractedTextSignedUrl.ts +1 -1
- package/src/funcs/betaLibrariesDocumentsGet.ts +1 -1
- package/src/funcs/betaLibrariesDocumentsGetSignedUrl.ts +1 -1
- package/src/funcs/betaLibrariesDocumentsLibrariesDocumentsUpdateV1.ts +190 -0
- package/src/funcs/betaLibrariesDocumentsList.ts +1 -1
- package/src/funcs/betaLibrariesDocumentsReprocess.ts +1 -1
- package/src/funcs/betaLibrariesDocumentsStatus.ts +1 -1
- package/src/funcs/betaLibrariesDocumentsTextContent.ts +1 -1
- package/src/funcs/betaLibrariesDocumentsUpdate.ts +7 -7
- package/src/funcs/betaLibrariesDocumentsUpload.ts +1 -1
- package/src/funcs/betaLibrariesGet.ts +1 -1
- package/src/funcs/betaLibrariesLibrariesUpdateV1.ts +183 -0
- package/src/funcs/betaLibrariesList.ts +1 -1
- package/src/funcs/betaLibrariesUpdate.ts +6 -6
- package/src/funcs/betaObservabilityCampaignsCreate.ts +1 -1
- package/src/funcs/betaObservabilityCampaignsDelete.ts +1 -1
- package/src/funcs/betaObservabilityCampaignsFetch.ts +1 -1
- package/src/funcs/betaObservabilityCampaignsFetchStatus.ts +1 -1
- package/src/funcs/betaObservabilityCampaignsList.ts +1 -1
- package/src/funcs/betaObservabilityCampaignsListEvents.ts +1 -1
- package/src/funcs/betaObservabilityChatCompletionEventsFetch.ts +1 -1
- package/src/funcs/betaObservabilityChatCompletionEventsFetchSimilarEvents.ts +1 -1
- package/src/funcs/betaObservabilityChatCompletionEventsFieldsFetchOptionCounts.ts +1 -1
- package/src/funcs/betaObservabilityChatCompletionEventsFieldsFetchOptions.ts +1 -1
- package/src/funcs/betaObservabilityChatCompletionEventsFieldsList.ts +1 -1
- package/src/funcs/betaObservabilityChatCompletionEventsJudge.ts +1 -1
- package/src/funcs/betaObservabilityChatCompletionEventsSearch.ts +1 -1
- package/src/funcs/betaObservabilityChatCompletionEventsSearchIds.ts +1 -1
- package/src/funcs/betaObservabilityDatasetsCreate.ts +1 -1
- package/src/funcs/betaObservabilityDatasetsCreateRecord.ts +1 -1
- package/src/funcs/betaObservabilityDatasetsDelete.ts +1 -1
- package/src/funcs/betaObservabilityDatasetsExportToJsonl.ts +1 -1
- package/src/funcs/betaObservabilityDatasetsFetch.ts +1 -1
- package/src/funcs/betaObservabilityDatasetsFetchTask.ts +1 -1
- package/src/funcs/betaObservabilityDatasetsImportFromCampaign.ts +1 -1
- package/src/funcs/betaObservabilityDatasetsImportFromDatasetRecords.ts +1 -1
- package/src/funcs/betaObservabilityDatasetsImportFromExplorer.ts +1 -1
- package/src/funcs/betaObservabilityDatasetsImportFromFile.ts +1 -1
- package/src/funcs/betaObservabilityDatasetsImportFromPlayground.ts +1 -1
- package/src/funcs/betaObservabilityDatasetsList.ts +1 -1
- package/src/funcs/betaObservabilityDatasetsListRecords.ts +1 -1
- package/src/funcs/betaObservabilityDatasetsListTasks.ts +1 -1
- package/src/funcs/betaObservabilityDatasetsRecordsBulkDelete.ts +1 -1
- package/src/funcs/betaObservabilityDatasetsRecordsDelete.ts +1 -1
- package/src/funcs/betaObservabilityDatasetsRecordsFetch.ts +1 -1
- package/src/funcs/betaObservabilityDatasetsRecordsJudge.ts +1 -1
- package/src/funcs/betaObservabilityDatasetsRecordsUpdatePayload.ts +1 -1
- package/src/funcs/betaObservabilityDatasetsRecordsUpdateProperties.ts +1 -1
- package/src/funcs/betaObservabilityDatasetsUpdate.ts +1 -1
- package/src/funcs/betaObservabilityJudgesCreate.ts +1 -1
- package/src/funcs/betaObservabilityJudgesDelete.ts +1 -1
- package/src/funcs/betaObservabilityJudgesFetch.ts +1 -1
- package/src/funcs/betaObservabilityJudgesJudgeConversation.ts +1 -1
- package/src/funcs/betaObservabilityJudgesList.ts +1 -1
- package/src/funcs/betaObservabilityJudgesUpdate.ts +1 -1
- package/src/funcs/betaRagIngestionPipelineConfigurationsList.ts +1 -1
- package/src/funcs/betaRagIngestionPipelineConfigurationsRegister.ts +174 -0
- package/src/funcs/betaRagIngestionPipelineConfigurationsUpdateRunInfo.ts +184 -0
- package/src/funcs/betaRagSearchIndexesList.ts +143 -0
- package/src/funcs/betaRagSearchIndexesRegister.ts +170 -0
- package/src/funcs/chatComplete.ts +1 -1
- package/src/funcs/chatStream.ts +1 -1
- package/src/funcs/classifiersClassify.ts +1 -1
- package/src/funcs/classifiersClassifyChat.ts +1 -1
- package/src/funcs/classifiersModerate.ts +1 -1
- package/src/funcs/classifiersModerateChat.ts +1 -1
- package/src/funcs/embeddingsCreate.ts +1 -1
- package/src/funcs/eventsGetStreamEvents.ts +1 -1
- package/src/funcs/eventsGetWorkflowEvents.ts +1 -1
- package/src/funcs/filesDelete.ts +1 -1
- package/src/funcs/filesDownload.ts +1 -1
- package/src/funcs/filesGetSignedUrl.ts +1 -1
- package/src/funcs/filesList.ts +1 -1
- package/src/funcs/filesRetrieve.ts +1 -1
- package/src/funcs/filesUpload.ts +1 -1
- package/src/funcs/fimComplete.ts +1 -1
- package/src/funcs/fimStream.ts +1 -1
- package/src/funcs/fineTuningJobsCancel.ts +1 -1
- package/src/funcs/fineTuningJobsCreate.ts +1 -1
- package/src/funcs/fineTuningJobsGet.ts +1 -1
- package/src/funcs/fineTuningJobsList.ts +1 -1
- package/src/funcs/fineTuningJobsStart.ts +1 -1
- package/src/funcs/modelsArchive.ts +1 -1
- package/src/funcs/modelsDelete.ts +1 -1
- package/src/funcs/modelsList.ts +1 -1
- package/src/funcs/modelsRetrieve.ts +1 -1
- package/src/funcs/modelsUnarchive.ts +1 -1
- package/src/funcs/modelsUpdate.ts +1 -1
- package/src/funcs/ocrProcess.ts +1 -1
- package/src/funcs/workflowsArchiveWorkflow.ts +1 -1
- package/src/funcs/workflowsBulkArchiveWorkflows.ts +170 -0
- package/src/funcs/workflowsBulkUnarchiveWorkflows.ts +170 -0
- package/src/funcs/workflowsDeploymentsGetDeployment.ts +1 -1
- package/src/funcs/workflowsDeploymentsListDeployments.ts +1 -1
- package/src/funcs/workflowsExecuteWorkflow.ts +1 -1
- package/src/funcs/workflowsExecuteWorkflowRegistration.ts +1 -1
- package/src/funcs/workflowsExecutionsBatchCancelWorkflowExecutions.ts +1 -1
- package/src/funcs/workflowsExecutionsBatchTerminateWorkflowExecutions.ts +1 -1
- package/src/funcs/workflowsExecutionsCancelWorkflowExecution.ts +1 -1
- package/src/funcs/workflowsExecutionsGetWorkflowExecution.ts +1 -1
- package/src/funcs/workflowsExecutionsGetWorkflowExecutionHistory.ts +1 -1
- package/src/funcs/workflowsExecutionsGetWorkflowExecutionTraceEvents.ts +1 -1
- package/src/funcs/workflowsExecutionsGetWorkflowExecutionTraceOtel.ts +1 -1
- package/src/funcs/workflowsExecutionsGetWorkflowExecutionTraceSummary.ts +1 -1
- package/src/funcs/workflowsExecutionsQueryWorkflowExecution.ts +1 -1
- package/src/funcs/workflowsExecutionsResetWorkflow.ts +1 -1
- package/src/funcs/workflowsExecutionsSignalWorkflowExecution.ts +1 -1
- package/src/funcs/workflowsExecutionsStream.ts +1 -1
- package/src/funcs/workflowsExecutionsTerminateWorkflowExecution.ts +1 -1
- package/src/funcs/workflowsExecutionsUpdateWorkflowExecution.ts +1 -1
- package/src/funcs/workflowsGetWorkflow.ts +1 -1
- package/src/funcs/workflowsGetWorkflowRegistration.ts +1 -1
- package/src/funcs/workflowsGetWorkflowRegistrations.ts +1 -1
- package/src/funcs/workflowsGetWorkflows.ts +1 -1
- package/src/funcs/workflowsMetricsGetWorkflowMetrics.ts +1 -1
- package/src/funcs/workflowsRunsGetRun.ts +1 -1
- package/src/funcs/workflowsRunsGetRunHistory.ts +1 -1
- package/src/funcs/workflowsRunsListRuns.ts +1 -1
- package/src/funcs/workflowsSchedulesGetSchedule.ts +178 -0
- package/src/funcs/workflowsSchedulesGetSchedules.ts +141 -30
- package/src/funcs/workflowsSchedulesPauseSchedule.ts +186 -0
- package/src/funcs/workflowsSchedulesResumeSchedule.ts +186 -0
- package/src/funcs/workflowsSchedulesScheduleWorkflow.ts +1 -1
- package/src/funcs/workflowsSchedulesUnscheduleWorkflow.ts +1 -1
- package/src/funcs/workflowsSchedulesUpdateSchedule.ts +181 -0
- package/src/funcs/workflowsUnarchiveWorkflow.ts +1 -1
- package/src/funcs/workflowsUpdateWorkflow.ts +1 -1
- package/src/hooks/deprecation_warning.ts +1 -2
- package/src/lib/config.ts +3 -3
- package/src/models/components/activitytaskcompletedattributesresponse.ts +2 -0
- package/src/models/components/activitytaskstartedattributesresponse.ts +2 -0
- package/src/models/components/agentscompletionrequest.ts +4 -0
- package/src/models/components/agentscompletionstreamrequest.ts +4 -0
- package/src/models/components/authenticationconfiguration.ts +8 -5
- package/src/models/components/basefielddefinition.ts +8 -6
- package/src/models/components/chatcompletionevent.ts +7 -9
- package/src/models/components/chatcompletioneventpreview.ts +7 -9
- package/src/models/components/chatcompletionrequest.ts +4 -0
- package/src/models/components/chatcompletionstreamrequest.ts +4 -0
- package/src/models/components/classifierfinetuningjob.ts +1 -1
- package/src/models/components/classifierfinetuningjobdetails.ts +42 -0
- package/src/models/components/classifiertrainingparameters.ts +12 -0
- package/src/models/components/clientcapabilities.ts +60 -0
- package/src/models/components/clienttaskscapability.ts +43 -0
- package/src/models/components/clienttasksrequestscapability.ts +45 -0
- package/src/models/components/completionfinetuningjob.ts +1 -1
- package/src/models/components/completionfinetuningjobdetails.ts +42 -0
- package/src/models/components/completiontrainingparameters.ts +12 -0
- package/src/models/components/connectionconfigtype.ts +21 -0
- package/src/models/components/connectionpreference.ts +49 -0
- package/src/models/components/connector.ts +88 -3
- package/src/models/components/connectorlocale.ts +40 -0
- package/src/models/components/connectorprotocol.ts +26 -0
- package/src/models/components/connectorsqueryfilters.ts +0 -11
- package/src/models/components/consumertype.ts +20 -0
- package/src/models/components/createbatchjobrequest.ts +8 -1
- package/src/models/components/createconnectorrequest.ts +9 -0
- package/src/models/components/createingestionpipelineconfigurationrequest.ts +44 -0
- package/src/models/components/createlibraryrequest.ts +5 -0
- package/src/models/components/createsearchindexinforequest.ts +89 -0
- package/src/models/components/createvespaschemarequest.ts +39 -0
- package/src/models/components/createvespasearchindexinforequest.ts +57 -0
- package/src/models/components/credentialsresponse.ts +7 -5
- package/src/models/components/customtaskcompletedattributesresponse.ts +2 -0
- package/src/models/components/customtaskstartedattributesresponse.ts +2 -0
- package/src/models/components/deletemodelresponse.ts +2 -2
- package/src/models/components/document.ts +20 -0
- package/src/models/components/elicitationcapability.ts +41 -0
- package/src/models/components/encodedpayloadoptions.ts +12 -5
- package/src/models/components/encryptedpatchvalue.ts +43 -0
- package/src/models/components/fimcompletionrequest.ts +4 -0
- package/src/models/components/fimcompletionstreamrequest.ts +4 -0
- package/src/models/components/index.ts +59 -5
- package/src/models/components/ingestionpipelineconfiguration.ts +17 -0
- package/src/models/components/jobmetadata.ts +18 -0
- package/src/models/components/jsonpatch.ts +50 -0
- package/src/models/components/jsonpatchappend.ts +29 -3
- package/src/models/components/jsonpatchpayloadresponse.ts +19 -57
- package/src/models/components/jsonpatchpayloadvalueresponse.ts +29 -0
- package/src/models/components/jsonpayloadresponse.ts +18 -1
- package/src/models/components/library.ts +17 -0
- package/src/models/components/logicalexpression.ts +132 -0
- package/src/models/components/mcpprompt.ts +49 -0
- package/src/models/components/mcpresource.ts +53 -0
- package/src/models/components/mcpserverauthenticationrequirement.ts +43 -0
- package/src/models/components/mcpservercard.ts +159 -0
- package/src/models/components/mcpservercardmeta.ts +45 -0
- package/src/models/components/mcpserverremote.ts +77 -0
- package/src/models/components/mcpserverremoteheader.ts +50 -0
- package/src/models/components/mcpserverrepository.ts +44 -0
- package/src/models/components/mcptoolmeta.ts +24 -16
- package/src/models/components/ocrrequest.ts +0 -3
- package/src/models/components/outboundauthenticationtype.ts +28 -0
- package/src/models/components/partialscheduledefinition.ts +128 -0
- package/src/models/components/processingstatus.ts +3 -0
- package/src/models/components/promptargument.ts +37 -0
- package/src/models/components/promptscapability.ts +35 -0
- package/src/models/components/publicauthenticationmethod.ts +9 -6
- package/src/models/components/publicconnectionconfig.ts +46 -0
- package/src/models/components/referencechunk.ts +8 -8
- package/src/models/components/resourcescapability.ts +37 -0
- package/src/models/components/resourcetype.ts +20 -0
- package/src/models/components/rootscapability.ts +35 -0
- package/src/models/components/samplingcapability.ts +37 -0
- package/src/models/components/scheduledefinition.ts +7 -0
- package/src/models/components/scheduledefinitionoutput.ts +42 -0
- package/src/models/components/schedulefutureexecution.ts +39 -0
- package/src/models/components/schedulerecentexecution.ts +51 -0
- package/src/models/components/searchindexresponse.ts +91 -0
- package/src/models/components/servercapabilities.ts +64 -0
- package/src/models/components/serverlocale.ts +45 -0
- package/src/models/components/servertaskscapability.ts +43 -0
- package/src/models/components/servertasksrequestscapability.ts +39 -0
- package/src/models/components/sharing.ts +6 -0
- package/src/models/components/sharingdelete.ts +3 -0
- package/src/models/components/sharingrequest.ts +3 -0
- package/src/models/components/taskselicitationcapability.ts +35 -0
- package/src/models/components/taskssamplingcapability.ts +35 -0
- package/src/models/components/taskstoolscapability.ts +35 -0
- package/src/models/components/toolexecutionconfiguration.ts +224 -0
- package/src/models/components/toolproperties.ts +53 -0
- package/src/models/components/toolscapability.ts +35 -0
- package/src/models/components/turbinemeta.ts +37 -0
- package/src/models/components/updateconnectorrequest.ts +16 -0
- package/src/models/components/updatedocumentrequest.ts +14 -3
- package/src/models/components/updatelibraryrequest.ts +3 -3
- package/src/models/components/updateruninfo.ts +36 -0
- package/src/models/components/vespaschemaresponse.ts +38 -0
- package/src/models/components/vespasearchindexinforesponse.ts +50 -0
- package/src/models/components/voiceappearance.ts +75 -0
- package/src/models/components/voicecreaterequest.ts +11 -0
- package/src/models/components/voiceresponse.ts +8 -0
- package/src/models/components/voiceupdaterequest.ts +11 -0
- package/src/models/components/workflowbulkarchiverequest.ts +39 -0
- package/src/models/components/workflowbulkarchiveresponse.ts +44 -0
- package/src/models/components/workflowbulkerror.ts +50 -0
- package/src/models/components/workflowbulkunarchiverequest.ts +41 -0
- package/src/models/components/workflowbulkunarchiveresponse.ts +44 -0
- package/src/models/components/workflowexecutioncompletedattributesresponse.ts +2 -0
- package/src/models/components/workflowexecutioncontinuedasnewattributesresponse.ts +2 -0
- package/src/models/components/workflowexecutionrequest.ts +0 -12
- package/src/models/components/workflowexecutionstartedattributesresponse.ts +2 -0
- package/src/models/components/workflowschedulelistresponse.ts +10 -0
- package/src/models/components/workflowschedulepauserequest.ts +36 -0
- package/src/models/components/workflowscheduleupdaterequest.ts +46 -0
- package/src/models/operations/connectoractivatefororganizationv1.ts +53 -0
- package/src/models/operations/connectoractivateforuserv1.ts +51 -0
- package/src/models/operations/connectoractivateforworkspacev1.ts +52 -0
- package/src/models/operations/connectordeactivatefororganizationv1.ts +40 -0
- package/src/models/operations/connectordeactivateforuserv1.ts +38 -0
- package/src/models/operations/connectordeactivateforworkspacev1.ts +39 -0
- package/src/models/operations/connectorgetv1.ts +7 -7
- package/src/models/operations/connectorlistorganizationcredentialsv1.ts +2 -2
- package/src/models/operations/connectorlistusercredentialsv1.ts +3 -2
- package/src/models/operations/connectorlistworkspacecredentialsv1.ts +2 -2
- package/src/models/operations/getschedulesv1workflowsschedulesget.ts +126 -0
- package/src/models/operations/getschedulev1workflowsschedulesscheduleidget.ts +40 -0
- package/src/models/operations/index.ts +14 -0
- package/src/models/operations/librariesdocumentslistv1.ts +5 -0
- package/src/models/operations/librariesdocumentspatchv1.ts +47 -0
- package/src/models/operations/librarieslistv1.ts +3 -1
- package/src/models/operations/librariespatchv1.ts +41 -0
- package/src/models/operations/pauseschedulev1workflowsschedulesscheduleidpausepost.ts +53 -0
- package/src/models/operations/resumeschedulev1workflowsschedulesscheduleidresumepost.ts +53 -0
- package/src/models/operations/updateruninfov1ragingestionpipelineconfigurationsidruninfoput.ts +47 -0
- package/src/models/operations/updateschedulev1workflowsschedulesscheduleidpatch.ts +47 -0
- package/src/sdk/accesses.ts +1 -1
- package/src/sdk/connectors.ts +108 -0
- package/src/sdk/documents.ts +22 -2
- package/src/sdk/ingestionpipelineconfigurations.ts +35 -0
- package/src/sdk/libraries.ts +22 -2
- package/src/sdk/rag.ts +6 -0
- package/src/sdk/schedules.ts +73 -2
- package/src/sdk/searchindexes.ts +38 -0
- package/src/sdk/workflows.ts +30 -0
- package/src/types/async.ts +8 -7
- package/tests/extra/structChat.test.ts +131 -0
- package/esm/models/components/authenticationtype.d.ts +0 -13
- package/esm/models/components/authenticationtype.d.ts.map +0 -1
- package/esm/models/components/authenticationtype.js +0 -15
- package/esm/models/components/authenticationtype.js.map +0 -1
- package/esm/models/components/mcpuitoolmeta.d.ts +0 -23
- package/esm/models/components/mcpuitoolmeta.d.ts.map +0 -1
- package/esm/models/components/mcpuitoolmeta.js +0 -23
- package/esm/models/components/mcpuitoolmeta.js.map +0 -1
- package/esm/models/components/tooltype.d.ts +0 -12
- package/esm/models/components/tooltype.d.ts.map +0 -1
- package/esm/models/components/tooltype.js +0 -15
- package/esm/models/components/tooltype.js.map +0 -1
- package/esm/models/components/turbinetoollocale.d.ts.map +0 -1
- package/esm/models/components/turbinetoollocale.js.map +0 -1
- package/esm/models/components/turbinetoolmeta.d.ts +0 -15
- package/esm/models/components/turbinetoolmeta.d.ts.map +0 -1
- package/esm/models/components/turbinetoolmeta.js +0 -25
- package/esm/models/components/turbinetoolmeta.js.map +0 -1
- package/packages/mistralai-azure/src/models/components/tooltypes.ts +0 -20
- package/packages/mistralai-gcp/src/models/components/tooltypes.ts +0 -20
- package/src/models/components/authenticationtype.ts +0 -26
- package/src/models/components/mcpuitoolmeta.ts +0 -47
- package/src/models/components/tooltype.ts +0 -20
- package/src/models/components/turbinetoollocale.ts +0 -46
- package/src/models/components/turbinetoolmeta.ts +0 -48
- /package/packages/mistralai-gcp/src/models/errors/{mistralgoogleclouderror.ts → mistralgcperror.ts} +0 -0
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
import { MistralGCPCore } from "../core.js";
|
|
7
7
|
import { encodeJSON } from "../lib/encodings.js";
|
|
8
|
+
import { matchStatusCode } from "../lib/http.js";
|
|
8
9
|
import * as M from "../lib/matchers.js";
|
|
9
10
|
import { compactMap } from "../lib/primitives.js";
|
|
10
11
|
import { safeParse } from "../lib/schemas.js";
|
|
@@ -20,7 +21,7 @@ import {
|
|
|
20
21
|
UnexpectedClientError,
|
|
21
22
|
} from "../models/errors/httpclienterrors.js";
|
|
22
23
|
import * as errors from "../models/errors/index.js";
|
|
23
|
-
import { MistralGCPError } from "../models/errors/
|
|
24
|
+
import { MistralGCPError } from "../models/errors/mistralgcperror.js";
|
|
24
25
|
import { ResponseValidationError } from "../models/errors/responsevalidationerror.js";
|
|
25
26
|
import { SDKValidationError } from "../models/errors/sdkvalidationerror.js";
|
|
26
27
|
import { APICall, APIPromise } from "../types/async.js";
|
|
@@ -120,7 +121,7 @@ async function $do(
|
|
|
120
121
|
headers: headers,
|
|
121
122
|
body: body,
|
|
122
123
|
userAgent: client._options.userAgent,
|
|
123
|
-
timeoutMs: options?.timeoutMs || client._options.timeoutMs ||
|
|
124
|
+
timeoutMs: options?.timeoutMs || client._options.timeoutMs || 60000,
|
|
124
125
|
}, options);
|
|
125
126
|
if (!requestRes.ok) {
|
|
126
127
|
return [requestRes, { status: "invalid" }];
|
|
@@ -129,7 +130,8 @@ async function $do(
|
|
|
129
130
|
|
|
130
131
|
const doResult = await client._do(req, {
|
|
131
132
|
context,
|
|
132
|
-
|
|
133
|
+
isErrorStatusCode: (statusCode: number) =>
|
|
134
|
+
matchStatusCode({ status: statusCode } as Response, ["4XX", "5XX"]),
|
|
133
135
|
retryConfig: context.retryConfig,
|
|
134
136
|
retryCodes: context.retryCodes,
|
|
135
137
|
});
|
|
@@ -7,6 +7,7 @@ import * as z from "zod/v4";
|
|
|
7
7
|
import { MistralGCPCore } from "../core.js";
|
|
8
8
|
import { encodeJSON } from "../lib/encodings.js";
|
|
9
9
|
import { EventStream } from "../lib/event-streams.js";
|
|
10
|
+
import { matchStatusCode } from "../lib/http.js";
|
|
10
11
|
import * as M from "../lib/matchers.js";
|
|
11
12
|
import { compactMap } from "../lib/primitives.js";
|
|
12
13
|
import { safeParse } from "../lib/schemas.js";
|
|
@@ -22,7 +23,7 @@ import {
|
|
|
22
23
|
UnexpectedClientError,
|
|
23
24
|
} from "../models/errors/httpclienterrors.js";
|
|
24
25
|
import * as errors from "../models/errors/index.js";
|
|
25
|
-
import { MistralGCPError } from "../models/errors/
|
|
26
|
+
import { MistralGCPError } from "../models/errors/mistralgcperror.js";
|
|
26
27
|
import { ResponseValidationError } from "../models/errors/responsevalidationerror.js";
|
|
27
28
|
import { SDKValidationError } from "../models/errors/sdkvalidationerror.js";
|
|
28
29
|
import { APICall, APIPromise } from "../types/async.js";
|
|
@@ -126,7 +127,7 @@ async function $do(
|
|
|
126
127
|
headers: headers,
|
|
127
128
|
body: body,
|
|
128
129
|
userAgent: client._options.userAgent,
|
|
129
|
-
timeoutMs: options?.timeoutMs || client._options.timeoutMs ||
|
|
130
|
+
timeoutMs: options?.timeoutMs || client._options.timeoutMs || 60000,
|
|
130
131
|
}, options);
|
|
131
132
|
if (!requestRes.ok) {
|
|
132
133
|
return [requestRes, { status: "invalid" }];
|
|
@@ -135,7 +136,8 @@ async function $do(
|
|
|
135
136
|
|
|
136
137
|
const doResult = await client._do(req, {
|
|
137
138
|
context,
|
|
138
|
-
|
|
139
|
+
isErrorStatusCode: (statusCode: number) =>
|
|
140
|
+
matchStatusCode({ status: statusCode } as Response, ["4XX", "5XX"]),
|
|
139
141
|
retryConfig: context.retryConfig,
|
|
140
142
|
retryCodes: context.retryCodes,
|
|
141
143
|
});
|
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
import { MistralGCPCore } from "../core.js";
|
|
7
7
|
import { encodeJSON } from "../lib/encodings.js";
|
|
8
|
+
import { matchStatusCode } from "../lib/http.js";
|
|
8
9
|
import * as M from "../lib/matchers.js";
|
|
9
10
|
import { compactMap } from "../lib/primitives.js";
|
|
10
11
|
import { safeParse } from "../lib/schemas.js";
|
|
@@ -20,7 +21,7 @@ import {
|
|
|
20
21
|
UnexpectedClientError,
|
|
21
22
|
} from "../models/errors/httpclienterrors.js";
|
|
22
23
|
import * as errors from "../models/errors/index.js";
|
|
23
|
-
import { MistralGCPError } from "../models/errors/
|
|
24
|
+
import { MistralGCPError } from "../models/errors/mistralgcperror.js";
|
|
24
25
|
import { ResponseValidationError } from "../models/errors/responsevalidationerror.js";
|
|
25
26
|
import { SDKValidationError } from "../models/errors/sdkvalidationerror.js";
|
|
26
27
|
import { APICall, APIPromise } from "../types/async.js";
|
|
@@ -123,7 +124,7 @@ async function $do(
|
|
|
123
124
|
headers: headers,
|
|
124
125
|
body: body,
|
|
125
126
|
userAgent: client._options.userAgent,
|
|
126
|
-
timeoutMs: options?.timeoutMs || client._options.timeoutMs ||
|
|
127
|
+
timeoutMs: options?.timeoutMs || client._options.timeoutMs || 60000,
|
|
127
128
|
}, options);
|
|
128
129
|
if (!requestRes.ok) {
|
|
129
130
|
return [requestRes, { status: "invalid" }];
|
|
@@ -132,7 +133,8 @@ async function $do(
|
|
|
132
133
|
|
|
133
134
|
const doResult = await client._do(req, {
|
|
134
135
|
context,
|
|
135
|
-
|
|
136
|
+
isErrorStatusCode: (statusCode: number) =>
|
|
137
|
+
matchStatusCode({ status: statusCode } as Response, ["4XX", "5XX"]),
|
|
136
138
|
retryConfig: context.retryConfig,
|
|
137
139
|
retryCodes: context.retryCodes,
|
|
138
140
|
});
|
|
@@ -7,6 +7,7 @@ import * as z from "zod/v4";
|
|
|
7
7
|
import { MistralGCPCore } from "../core.js";
|
|
8
8
|
import { encodeJSON } from "../lib/encodings.js";
|
|
9
9
|
import { EventStream } from "../lib/event-streams.js";
|
|
10
|
+
import { matchStatusCode } from "../lib/http.js";
|
|
10
11
|
import * as M from "../lib/matchers.js";
|
|
11
12
|
import { compactMap } from "../lib/primitives.js";
|
|
12
13
|
import { safeParse } from "../lib/schemas.js";
|
|
@@ -22,7 +23,7 @@ import {
|
|
|
22
23
|
UnexpectedClientError,
|
|
23
24
|
} from "../models/errors/httpclienterrors.js";
|
|
24
25
|
import * as errors from "../models/errors/index.js";
|
|
25
|
-
import { MistralGCPError } from "../models/errors/
|
|
26
|
+
import { MistralGCPError } from "../models/errors/mistralgcperror.js";
|
|
26
27
|
import { ResponseValidationError } from "../models/errors/responsevalidationerror.js";
|
|
27
28
|
import { SDKValidationError } from "../models/errors/sdkvalidationerror.js";
|
|
28
29
|
import { APICall, APIPromise } from "../types/async.js";
|
|
@@ -126,7 +127,7 @@ async function $do(
|
|
|
126
127
|
headers: headers,
|
|
127
128
|
body: body,
|
|
128
129
|
userAgent: client._options.userAgent,
|
|
129
|
-
timeoutMs: options?.timeoutMs || client._options.timeoutMs ||
|
|
130
|
+
timeoutMs: options?.timeoutMs || client._options.timeoutMs || 60000,
|
|
130
131
|
}, options);
|
|
131
132
|
if (!requestRes.ok) {
|
|
132
133
|
return [requestRes, { status: "invalid" }];
|
|
@@ -135,7 +136,8 @@ async function $do(
|
|
|
135
136
|
|
|
136
137
|
const doResult = await client._do(req, {
|
|
137
138
|
context,
|
|
138
|
-
|
|
139
|
+
isErrorStatusCode: (statusCode: number) =>
|
|
140
|
+
matchStatusCode({ status: statusCode } as Response, ["4XX", "5XX"]),
|
|
139
141
|
retryConfig: context.retryConfig,
|
|
140
142
|
retryCodes: context.retryCodes,
|
|
141
143
|
});
|
|
@@ -60,8 +60,8 @@ export function serverURLFromOptions(options: SDKOptions): URL | null {
|
|
|
60
60
|
export const SDK_METADATA = {
|
|
61
61
|
language: "typescript",
|
|
62
62
|
openapiDocVersion: "1.0.0",
|
|
63
|
-
sdkVersion: "2.0.0
|
|
64
|
-
genVersion: "2.
|
|
63
|
+
sdkVersion: "2.0.0",
|
|
64
|
+
genVersion: "2.884.13",
|
|
65
65
|
userAgent:
|
|
66
|
-
"speakeasy-sdk/typescript 2.0.0
|
|
66
|
+
"speakeasy-sdk/typescript 2.0.0 2.884.13 1.0.0 @mistralai/mistralai-gcp",
|
|
67
67
|
} as const;
|
|
@@ -480,6 +480,23 @@ export const encodeSpaceDelimitedQuery = queryEncoder(encodeSpaceDelimited);
|
|
|
480
480
|
export const encodePipeDelimitedQuery = queryEncoder(encodePipeDelimited);
|
|
481
481
|
export const encodeDeepObjectQuery = queryEncoder(encodeDeepObject);
|
|
482
482
|
|
|
483
|
+
function isBlobLike(val: unknown): val is Blob {
|
|
484
|
+
if (val instanceof Blob) {
|
|
485
|
+
return true;
|
|
486
|
+
}
|
|
487
|
+
|
|
488
|
+
if (typeof val !== "object" || val == null || !(Symbol.toStringTag in val)) {
|
|
489
|
+
return false;
|
|
490
|
+
}
|
|
491
|
+
|
|
492
|
+
const tag = val[Symbol.toStringTag];
|
|
493
|
+
if (tag !== "Blob" && tag !== "File") {
|
|
494
|
+
return false;
|
|
495
|
+
}
|
|
496
|
+
|
|
497
|
+
return "stream" in val && typeof val.stream === "function";
|
|
498
|
+
}
|
|
499
|
+
|
|
483
500
|
export function appendForm(
|
|
484
501
|
fd: FormData,
|
|
485
502
|
key: string,
|
|
@@ -488,10 +505,12 @@ export function appendForm(
|
|
|
488
505
|
): void {
|
|
489
506
|
if (value == null) {
|
|
490
507
|
return;
|
|
491
|
-
} else if (value
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
508
|
+
} else if (isBlobLike(value)) {
|
|
509
|
+
if (fileName) {
|
|
510
|
+
fd.append(key, value as Blob, fileName);
|
|
511
|
+
} else {
|
|
512
|
+
fd.append(key, value as Blob);
|
|
513
|
+
}
|
|
495
514
|
} else if (Array.isArray(value)) {
|
|
496
515
|
value.forEach((v) => {
|
|
497
516
|
appendForm(fd, key, v);
|
|
@@ -500,3 +519,12 @@ export function appendForm(
|
|
|
500
519
|
fd.append(key, String(value));
|
|
501
520
|
}
|
|
502
521
|
}
|
|
522
|
+
|
|
523
|
+
export async function normalizeBlob(
|
|
524
|
+
value: Pick<Blob, "arrayBuffer" | "type">,
|
|
525
|
+
): Promise<Blob> {
|
|
526
|
+
if (value instanceof Blob) {
|
|
527
|
+
return value;
|
|
528
|
+
}
|
|
529
|
+
return new Blob([await value.arrayBuffer()], { type: value.type });
|
|
530
|
+
}
|
|
@@ -81,3 +81,25 @@ export function getContentTypeFromFileName(fileName: string): string | null {
|
|
|
81
81
|
|
|
82
82
|
return mimeTypes[ext] || null;
|
|
83
83
|
}
|
|
84
|
+
|
|
85
|
+
/**
|
|
86
|
+
* Creates a Blob from file content with the given MIME type.
|
|
87
|
+
*
|
|
88
|
+
* Node.js Buffers are Uint8Array subclasses that may share a pooled
|
|
89
|
+
* ArrayBuffer (byteOffset > 0, byteLength < buffer.byteLength). Passing
|
|
90
|
+
* such a Buffer directly to `new Blob([buf])` can include the entire
|
|
91
|
+
* underlying pool on some runtimes, producing a Blob with extra bytes
|
|
92
|
+
* that corrupts multipart uploads.
|
|
93
|
+
*
|
|
94
|
+
* Copying into a standalone Uint8Array ensures the Blob receives only the
|
|
95
|
+
* intended bytes regardless of runtime behaviour.
|
|
96
|
+
*/
|
|
97
|
+
export function bytesToBlob(
|
|
98
|
+
content: Uint8Array<ArrayBufferLike> | ArrayBuffer | Blob | string,
|
|
99
|
+
contentType: string,
|
|
100
|
+
): Blob {
|
|
101
|
+
if (content instanceof Uint8Array) {
|
|
102
|
+
return new Blob([new Uint8Array(content)], { type: contentType });
|
|
103
|
+
}
|
|
104
|
+
return new Blob([content as BlobPart], { type: contentType });
|
|
105
|
+
}
|
|
@@ -22,7 +22,6 @@ import {
|
|
|
22
22
|
isConnectionError,
|
|
23
23
|
isTimeoutError,
|
|
24
24
|
matchContentType,
|
|
25
|
-
matchStatusCode,
|
|
26
25
|
} from "./http.js";
|
|
27
26
|
import { Logger } from "./logger.js";
|
|
28
27
|
import { retry, RetryConfig } from "./retries.js";
|
|
@@ -125,13 +124,15 @@ export class ClientSDK {
|
|
|
125
124
|
if (!base) {
|
|
126
125
|
return ERR(new InvalidRequestError("No base URL provided for operation"));
|
|
127
126
|
}
|
|
128
|
-
const
|
|
129
|
-
|
|
130
|
-
|
|
127
|
+
const baseURL = new URL(base);
|
|
128
|
+
let reqURL: URL;
|
|
131
129
|
if (path) {
|
|
132
|
-
|
|
133
|
-
reqURL
|
|
130
|
+
baseURL.pathname = baseURL.pathname.replace(/\/+$/, "") + "/";
|
|
131
|
+
reqURL = new URL(path, baseURL);
|
|
132
|
+
} else {
|
|
133
|
+
reqURL = baseURL;
|
|
134
134
|
}
|
|
135
|
+
reqURL.hash = "";
|
|
135
136
|
|
|
136
137
|
let finalQuery = query || "";
|
|
137
138
|
|
|
@@ -229,7 +230,7 @@ export class ClientSDK {
|
|
|
229
230
|
request: Request,
|
|
230
231
|
options: {
|
|
231
232
|
context: HookContext;
|
|
232
|
-
|
|
233
|
+
isErrorStatusCode: (statusCode: number) => boolean;
|
|
233
234
|
retryConfig: RetryConfig;
|
|
234
235
|
retryCodes: string[];
|
|
235
236
|
},
|
|
@@ -242,7 +243,7 @@ export class ClientSDK {
|
|
|
242
243
|
| UnexpectedClientError
|
|
243
244
|
>
|
|
244
245
|
> {
|
|
245
|
-
const { context,
|
|
246
|
+
const { context, isErrorStatusCode } = options;
|
|
246
247
|
|
|
247
248
|
return retry(
|
|
248
249
|
async () => {
|
|
@@ -254,7 +255,7 @@ export class ClientSDK {
|
|
|
254
255
|
let response = await this.#httpClient.request(req);
|
|
255
256
|
|
|
256
257
|
try {
|
|
257
|
-
if (
|
|
258
|
+
if (isErrorStatusCode(response.status)) {
|
|
258
259
|
const result = await this.#hooks.afterError(
|
|
259
260
|
context,
|
|
260
261
|
response,
|
|
@@ -378,8 +379,6 @@ async function logResponse(
|
|
|
378
379
|
break;
|
|
379
380
|
case matchContentType(res, "application/jsonl")
|
|
380
381
|
|| jsonlLikeContentTypeRE.test(ct):
|
|
381
|
-
logger.log(await res.clone().text());
|
|
382
|
-
break;
|
|
383
382
|
case matchContentType(res, "text/event-stream"):
|
|
384
383
|
logger.log(`<${contentType}>`);
|
|
385
384
|
break;
|
|
@@ -240,8 +240,9 @@ function applyBearer(
|
|
|
240
240
|
|
|
241
241
|
export function resolveGlobalSecurity(
|
|
242
242
|
security: Partial<components.Security> | null | undefined,
|
|
243
|
+
allowedFields?: number[],
|
|
243
244
|
): SecurityState | null {
|
|
244
|
-
|
|
245
|
+
let inputs: SecurityInput[][] = [
|
|
245
246
|
[
|
|
246
247
|
{
|
|
247
248
|
fieldName: "Authorization",
|
|
@@ -249,7 +250,18 @@ export function resolveGlobalSecurity(
|
|
|
249
250
|
value: security?.apiKey,
|
|
250
251
|
},
|
|
251
252
|
],
|
|
252
|
-
|
|
253
|
+
];
|
|
254
|
+
|
|
255
|
+
if (allowedFields) {
|
|
256
|
+
inputs = allowedFields.map((i) => {
|
|
257
|
+
if (i < 0 || i >= inputs.length) {
|
|
258
|
+
throw new RangeError(`invalid allowedFields index ${i}`);
|
|
259
|
+
}
|
|
260
|
+
return inputs[i]!;
|
|
261
|
+
});
|
|
262
|
+
}
|
|
263
|
+
|
|
264
|
+
return resolveSecurity(...inputs);
|
|
253
265
|
}
|
|
254
266
|
|
|
255
267
|
export async function extractSecurity<
|
|
@@ -14,21 +14,23 @@ export function pathToFunc(
|
|
|
14
14
|
const paramRE = /\{([a-zA-Z0-9_][a-zA-Z0-9_-]*?)\}/g;
|
|
15
15
|
|
|
16
16
|
return function buildURLPath(params: Record<string, unknown> = {}): string {
|
|
17
|
-
return pathPattern
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
17
|
+
return pathPattern
|
|
18
|
+
.replace(paramRE, function (_, placeholder) {
|
|
19
|
+
if (!hasOwn.call(params, placeholder)) {
|
|
20
|
+
throw new Error(`Parameter '${placeholder}' is required`);
|
|
21
|
+
}
|
|
21
22
|
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
23
|
+
const value = params[placeholder];
|
|
24
|
+
if (typeof value !== "string" && typeof value !== "number") {
|
|
25
|
+
throw new Error(
|
|
26
|
+
`Parameter '${placeholder}' must be a string or number`,
|
|
27
|
+
);
|
|
28
|
+
}
|
|
28
29
|
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
30
|
+
return options?.charEncoding === "percent"
|
|
31
|
+
? encodeURIComponent(`${value}`)
|
|
32
|
+
: `${value}`;
|
|
33
|
+
})
|
|
34
|
+
.replace(/^\/+/, "");
|
|
33
35
|
};
|
|
34
36
|
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
* @generated-id: aa35170263e3
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
import * as z from "zod/v4";
|
|
7
|
+
|
|
8
|
+
export type APIKeyAuth = {
|
|
9
|
+
type: "api-key";
|
|
10
|
+
value: string;
|
|
11
|
+
};
|
|
12
|
+
|
|
13
|
+
/** @internal */
|
|
14
|
+
export type APIKeyAuth$Outbound = {
|
|
15
|
+
type: "api-key";
|
|
16
|
+
value: string;
|
|
17
|
+
};
|
|
18
|
+
|
|
19
|
+
/** @internal */
|
|
20
|
+
export const APIKeyAuth$outboundSchema: z.ZodType<
|
|
21
|
+
APIKeyAuth$Outbound,
|
|
22
|
+
APIKeyAuth
|
|
23
|
+
> = z.object({
|
|
24
|
+
type: z.literal("api-key"),
|
|
25
|
+
value: z.string(),
|
|
26
|
+
});
|
|
27
|
+
|
|
28
|
+
export function apiKeyAuthToJSON(apiKeyAuth: APIKeyAuth): string {
|
|
29
|
+
return JSON.stringify(APIKeyAuth$outboundSchema.parse(apiKeyAuth));
|
|
30
|
+
}
|
|
@@ -14,6 +14,7 @@ import {
|
|
|
14
14
|
AssistantMessage,
|
|
15
15
|
AssistantMessage$inboundSchema,
|
|
16
16
|
} from "./assistantmessage.js";
|
|
17
|
+
import { DeltaMessage, DeltaMessage$inboundSchema } from "./deltamessage.js";
|
|
17
18
|
|
|
18
19
|
export const ChatCompletionChoiceFinishReason = {
|
|
19
20
|
Stop: "stop",
|
|
@@ -28,7 +29,8 @@ export type ChatCompletionChoiceFinishReason = OpenEnum<
|
|
|
28
29
|
|
|
29
30
|
export type ChatCompletionChoice = {
|
|
30
31
|
index: number;
|
|
31
|
-
message
|
|
32
|
+
message?: AssistantMessage | undefined;
|
|
33
|
+
messages?: Array<DeltaMessage> | undefined;
|
|
32
34
|
finishReason: ChatCompletionChoiceFinishReason;
|
|
33
35
|
};
|
|
34
36
|
|
|
@@ -44,7 +46,8 @@ export const ChatCompletionChoice$inboundSchema: z.ZodType<
|
|
|
44
46
|
unknown
|
|
45
47
|
> = z.object({
|
|
46
48
|
index: z.int(),
|
|
47
|
-
message: AssistantMessage$inboundSchema,
|
|
49
|
+
message: AssistantMessage$inboundSchema.optional(),
|
|
50
|
+
messages: z.array(DeltaMessage$inboundSchema).optional(),
|
|
48
51
|
finish_reason: ChatCompletionChoiceFinishReason$inboundSchema,
|
|
49
52
|
}).transform((v) => {
|
|
50
53
|
return remap$(v, {
|