@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
|
@@ -178,6 +178,7 @@ export type AgentsCompletionStreamRequest = {
|
|
|
178
178
|
*/
|
|
179
179
|
promptMode?: MistralPromptMode | null | undefined;
|
|
180
180
|
guardrails?: Array<GuardrailConfig> | null | undefined;
|
|
181
|
+
promptCacheKey?: string | null | undefined;
|
|
181
182
|
/**
|
|
182
183
|
* The ID of the agent to use for this completion.
|
|
183
184
|
*/
|
|
@@ -324,6 +325,7 @@ export type AgentsCompletionStreamRequest$Outbound = {
|
|
|
324
325
|
reasoning_effort?: string | null | undefined;
|
|
325
326
|
prompt_mode?: string | null | undefined;
|
|
326
327
|
guardrails?: Array<GuardrailConfig$Outbound> | null | undefined;
|
|
328
|
+
prompt_cache_key?: string | null | undefined;
|
|
327
329
|
agent_id: string;
|
|
328
330
|
};
|
|
329
331
|
|
|
@@ -373,6 +375,7 @@ export const AgentsCompletionStreamRequest$outboundSchema: z.ZodType<
|
|
|
373
375
|
reasoningEffort: z.nullable(ReasoningEffort$outboundSchema).optional(),
|
|
374
376
|
promptMode: z.nullable(MistralPromptMode$outboundSchema).optional(),
|
|
375
377
|
guardrails: z.nullable(z.array(GuardrailConfig$outboundSchema)).optional(),
|
|
378
|
+
promptCacheKey: z.nullable(z.string()).optional(),
|
|
376
379
|
agentId: z.string(),
|
|
377
380
|
}).transform((v) => {
|
|
378
381
|
return remap$(v, {
|
|
@@ -385,6 +388,7 @@ export const AgentsCompletionStreamRequest$outboundSchema: z.ZodType<
|
|
|
385
388
|
parallelToolCalls: "parallel_tool_calls",
|
|
386
389
|
reasoningEffort: "reasoning_effort",
|
|
387
390
|
promptMode: "prompt_mode",
|
|
391
|
+
promptCacheKey: "prompt_cache_key",
|
|
388
392
|
agentId: "agent_id",
|
|
389
393
|
});
|
|
390
394
|
});
|
|
@@ -8,14 +8,16 @@ import { remap as remap$ } from "../../lib/primitives.js";
|
|
|
8
8
|
import { safeParse } from "../../lib/schemas.js";
|
|
9
9
|
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
10
10
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
11
|
+
import { ConsumerType, ConsumerType$inboundSchema } from "./consumertype.js";
|
|
11
12
|
import {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
OutboundAuthenticationType,
|
|
14
|
+
OutboundAuthenticationType$inboundSchema,
|
|
15
|
+
} from "./outboundauthenticationtype.js";
|
|
15
16
|
|
|
16
17
|
export type AuthenticationConfiguration = {
|
|
17
18
|
name: string;
|
|
18
|
-
authenticationType:
|
|
19
|
+
authenticationType: OutboundAuthenticationType;
|
|
20
|
+
scope: ConsumerType;
|
|
19
21
|
isDefault: boolean;
|
|
20
22
|
};
|
|
21
23
|
|
|
@@ -25,7 +27,8 @@ export const AuthenticationConfiguration$inboundSchema: z.ZodType<
|
|
|
25
27
|
unknown
|
|
26
28
|
> = z.object({
|
|
27
29
|
name: z.string(),
|
|
28
|
-
authentication_type:
|
|
30
|
+
authentication_type: OutboundAuthenticationType$inboundSchema,
|
|
31
|
+
scope: ConsumerType$inboundSchema,
|
|
29
32
|
is_default: z.boolean().default(false),
|
|
30
33
|
}).transform((v) => {
|
|
31
34
|
return remap$(v, {
|
|
@@ -11,7 +11,7 @@ import { OpenEnum } from "../../types/enums.js";
|
|
|
11
11
|
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
12
12
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
13
13
|
|
|
14
|
-
export const
|
|
14
|
+
export const BaseFieldDefinitionType = {
|
|
15
15
|
Enum: "ENUM",
|
|
16
16
|
Text: "TEXT",
|
|
17
17
|
Int: "INT",
|
|
@@ -21,7 +21,7 @@ export const TypeEnum = {
|
|
|
21
21
|
Array: "ARRAY",
|
|
22
22
|
Map: "MAP",
|
|
23
23
|
} as const;
|
|
24
|
-
export type
|
|
24
|
+
export type BaseFieldDefinitionType = OpenEnum<typeof BaseFieldDefinitionType>;
|
|
25
25
|
|
|
26
26
|
export const SupportedOperator = {
|
|
27
27
|
Lt: "lt",
|
|
@@ -49,14 +49,16 @@ export type SupportedOperator = OpenEnum<typeof SupportedOperator>;
|
|
|
49
49
|
export type BaseFieldDefinition = {
|
|
50
50
|
name: string;
|
|
51
51
|
label: string;
|
|
52
|
-
type:
|
|
52
|
+
type: BaseFieldDefinitionType;
|
|
53
53
|
group?: string | null | undefined;
|
|
54
54
|
supportedOperators: Array<SupportedOperator>;
|
|
55
55
|
};
|
|
56
56
|
|
|
57
57
|
/** @internal */
|
|
58
|
-
export const
|
|
59
|
-
|
|
58
|
+
export const BaseFieldDefinitionType$inboundSchema: z.ZodType<
|
|
59
|
+
BaseFieldDefinitionType,
|
|
60
|
+
unknown
|
|
61
|
+
> = openEnums.inboundSchema(BaseFieldDefinitionType);
|
|
60
62
|
|
|
61
63
|
/** @internal */
|
|
62
64
|
export const SupportedOperator$inboundSchema: z.ZodType<
|
|
@@ -71,7 +73,7 @@ export const BaseFieldDefinition$inboundSchema: z.ZodType<
|
|
|
71
73
|
> = z.object({
|
|
72
74
|
name: z.string(),
|
|
73
75
|
label: z.string(),
|
|
74
|
-
type:
|
|
76
|
+
type: BaseFieldDefinitionType$inboundSchema,
|
|
75
77
|
group: z.nullable(z.string()).optional(),
|
|
76
78
|
supported_operators: z.array(SupportedOperator$inboundSchema),
|
|
77
79
|
}).transform((v) => {
|
|
@@ -20,21 +20,17 @@ export type ChatCompletionEventExtraFields =
|
|
|
20
20
|
| number
|
|
21
21
|
| string
|
|
22
22
|
| Date
|
|
23
|
-
| Array<string
|
|
23
|
+
| Array<string>
|
|
24
|
+
| { [k: string]: string };
|
|
24
25
|
|
|
25
26
|
export type ChatCompletionEvent = {
|
|
26
27
|
eventId: string;
|
|
27
28
|
correlationId: string;
|
|
28
29
|
createdAt: Date;
|
|
29
30
|
extraFields: {
|
|
30
|
-
[k: string]:
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
| number
|
|
34
|
-
| string
|
|
35
|
-
| Date
|
|
36
|
-
| Array<string>
|
|
37
|
-
| null;
|
|
31
|
+
[k: string]: boolean | number | number | string | Date | Array<string> | {
|
|
32
|
+
[k: string]: string;
|
|
33
|
+
} | null;
|
|
38
34
|
};
|
|
39
35
|
nbInputTokens: number;
|
|
40
36
|
nbOutputTokens: number;
|
|
@@ -56,6 +52,7 @@ export const ChatCompletionEventExtraFields$inboundSchema: z.ZodType<
|
|
|
56
52
|
z.string(),
|
|
57
53
|
z.iso.datetime({ offset: true }).transform(v => new Date(v)),
|
|
58
54
|
z.array(z.string()),
|
|
55
|
+
z.record(z.string(), z.string()),
|
|
59
56
|
]);
|
|
60
57
|
|
|
61
58
|
export function chatCompletionEventExtraFieldsFromJSON(
|
|
@@ -86,6 +83,7 @@ export const ChatCompletionEvent$inboundSchema: z.ZodType<
|
|
|
86
83
|
z.string(),
|
|
87
84
|
z.iso.datetime({ offset: true }).transform(v => new Date(v)),
|
|
88
85
|
z.array(z.string()),
|
|
86
|
+
z.record(z.string(), z.string()),
|
|
89
87
|
]),
|
|
90
88
|
),
|
|
91
89
|
),
|
|
@@ -16,21 +16,17 @@ export type ChatCompletionEventPreviewExtraFields =
|
|
|
16
16
|
| number
|
|
17
17
|
| string
|
|
18
18
|
| Date
|
|
19
|
-
| Array<string
|
|
19
|
+
| Array<string>
|
|
20
|
+
| { [k: string]: string };
|
|
20
21
|
|
|
21
22
|
export type ChatCompletionEventPreview = {
|
|
22
23
|
eventId: string;
|
|
23
24
|
correlationId: string;
|
|
24
25
|
createdAt: Date;
|
|
25
26
|
extraFields: {
|
|
26
|
-
[k: string]:
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
| number
|
|
30
|
-
| string
|
|
31
|
-
| Date
|
|
32
|
-
| Array<string>
|
|
33
|
-
| null;
|
|
27
|
+
[k: string]: boolean | number | number | string | Date | Array<string> | {
|
|
28
|
+
[k: string]: string;
|
|
29
|
+
} | null;
|
|
34
30
|
};
|
|
35
31
|
nbInputTokens: number;
|
|
36
32
|
nbOutputTokens: number;
|
|
@@ -47,6 +43,7 @@ export const ChatCompletionEventPreviewExtraFields$inboundSchema: z.ZodType<
|
|
|
47
43
|
z.string(),
|
|
48
44
|
z.iso.datetime({ offset: true }).transform(v => new Date(v)),
|
|
49
45
|
z.array(z.string()),
|
|
46
|
+
z.record(z.string(), z.string()),
|
|
50
47
|
]);
|
|
51
48
|
|
|
52
49
|
export function chatCompletionEventPreviewExtraFieldsFromJSON(
|
|
@@ -78,6 +75,7 @@ export const ChatCompletionEventPreview$inboundSchema: z.ZodType<
|
|
|
78
75
|
z.string(),
|
|
79
76
|
z.iso.datetime({ offset: true }).transform(v => new Date(v)),
|
|
80
77
|
z.array(z.string()),
|
|
78
|
+
z.record(z.string(), z.string()),
|
|
81
79
|
]),
|
|
82
80
|
),
|
|
83
81
|
),
|
|
@@ -203,6 +203,7 @@ export type ChatCompletionRequest = {
|
|
|
203
203
|
*/
|
|
204
204
|
promptMode?: MistralPromptMode | null | undefined;
|
|
205
205
|
guardrails?: Array<GuardrailConfig> | null | undefined;
|
|
206
|
+
promptCacheKey?: string | null | undefined;
|
|
206
207
|
/**
|
|
207
208
|
* Whether to inject a safety prompt before all conversations.
|
|
208
209
|
*/
|
|
@@ -347,6 +348,7 @@ export type ChatCompletionRequest$Outbound = {
|
|
|
347
348
|
reasoning_effort?: string | null | undefined;
|
|
348
349
|
prompt_mode?: string | null | undefined;
|
|
349
350
|
guardrails?: Array<GuardrailConfig$Outbound> | null | undefined;
|
|
351
|
+
prompt_cache_key?: string | null | undefined;
|
|
350
352
|
safe_prompt?: boolean | undefined;
|
|
351
353
|
};
|
|
352
354
|
|
|
@@ -399,6 +401,7 @@ export const ChatCompletionRequest$outboundSchema: z.ZodType<
|
|
|
399
401
|
reasoningEffort: z.nullable(ReasoningEffort$outboundSchema).optional(),
|
|
400
402
|
promptMode: z.nullable(MistralPromptMode$outboundSchema).optional(),
|
|
401
403
|
guardrails: z.nullable(z.array(GuardrailConfig$outboundSchema)).optional(),
|
|
404
|
+
promptCacheKey: z.nullable(z.string()).optional(),
|
|
402
405
|
safePrompt: z.boolean().optional(),
|
|
403
406
|
}).transform((v) => {
|
|
404
407
|
return remap$(v, {
|
|
@@ -412,6 +415,7 @@ export const ChatCompletionRequest$outboundSchema: z.ZodType<
|
|
|
412
415
|
parallelToolCalls: "parallel_tool_calls",
|
|
413
416
|
reasoningEffort: "reasoning_effort",
|
|
414
417
|
promptMode: "prompt_mode",
|
|
418
|
+
promptCacheKey: "prompt_cache_key",
|
|
415
419
|
safePrompt: "safe_prompt",
|
|
416
420
|
});
|
|
417
421
|
});
|
|
@@ -200,6 +200,7 @@ export type ChatCompletionStreamRequest = {
|
|
|
200
200
|
*/
|
|
201
201
|
promptMode?: MistralPromptMode | null | undefined;
|
|
202
202
|
guardrails?: Array<GuardrailConfig> | null | undefined;
|
|
203
|
+
promptCacheKey?: string | null | undefined;
|
|
203
204
|
/**
|
|
204
205
|
* Whether to inject a safety prompt before all conversations.
|
|
205
206
|
*/
|
|
@@ -348,6 +349,7 @@ export type ChatCompletionStreamRequest$Outbound = {
|
|
|
348
349
|
reasoning_effort?: string | null | undefined;
|
|
349
350
|
prompt_mode?: string | null | undefined;
|
|
350
351
|
guardrails?: Array<GuardrailConfig$Outbound> | null | undefined;
|
|
352
|
+
prompt_cache_key?: string | null | undefined;
|
|
351
353
|
safe_prompt?: boolean | undefined;
|
|
352
354
|
};
|
|
353
355
|
|
|
@@ -400,6 +402,7 @@ export const ChatCompletionStreamRequest$outboundSchema: z.ZodType<
|
|
|
400
402
|
reasoningEffort: z.nullable(ReasoningEffort$outboundSchema).optional(),
|
|
401
403
|
promptMode: z.nullable(MistralPromptMode$outboundSchema).optional(),
|
|
402
404
|
guardrails: z.nullable(z.array(GuardrailConfig$outboundSchema)).optional(),
|
|
405
|
+
promptCacheKey: z.nullable(z.string()).optional(),
|
|
403
406
|
safePrompt: z.boolean().optional(),
|
|
404
407
|
}).transform((v) => {
|
|
405
408
|
return remap$(v, {
|
|
@@ -413,6 +416,7 @@ export const ChatCompletionStreamRequest$outboundSchema: z.ZodType<
|
|
|
413
416
|
parallelToolCalls: "parallel_tool_calls",
|
|
414
417
|
reasoningEffort: "reasoning_effort",
|
|
415
418
|
promptMode: "prompt_mode",
|
|
419
|
+
promptCacheKey: "prompt_cache_key",
|
|
416
420
|
safePrompt: "safe_prompt",
|
|
417
421
|
});
|
|
418
422
|
});
|
|
@@ -80,7 +80,7 @@ export type ClassifierFineTuningJob = {
|
|
|
80
80
|
*/
|
|
81
81
|
fineTunedModel?: string | null | undefined;
|
|
82
82
|
/**
|
|
83
|
-
* Optional
|
|
83
|
+
* Optional user-provided string inserted into the fine-tuned model name to help identify it. For example, a suffix of `"my-great-model"` produces a name like `ft:open-mistral-7b:abcd1234:20260101:my-great-model:efgh5678`.
|
|
84
84
|
*/
|
|
85
85
|
suffix?: string | null | undefined;
|
|
86
86
|
/**
|
|
@@ -26,6 +26,9 @@ import {
|
|
|
26
26
|
WandbIntegrationResult$inboundSchema,
|
|
27
27
|
} from "./wandbintegrationresult.js";
|
|
28
28
|
|
|
29
|
+
/**
|
|
30
|
+
* The current status of the fine-tuning job.
|
|
31
|
+
*/
|
|
29
32
|
export const ClassifierFineTuningJobDetailsStatus = {
|
|
30
33
|
Queued: "QUEUED",
|
|
31
34
|
Started: "STARTED",
|
|
@@ -38,6 +41,9 @@ export const ClassifierFineTuningJobDetailsStatus = {
|
|
|
38
41
|
Cancelled: "CANCELLED",
|
|
39
42
|
CancellationRequested: "CANCELLATION_REQUESTED",
|
|
40
43
|
} as const;
|
|
44
|
+
/**
|
|
45
|
+
* The current status of the fine-tuning job.
|
|
46
|
+
*/
|
|
41
47
|
export type ClassifierFineTuningJobDetailsStatus = OpenEnum<
|
|
42
48
|
typeof ClassifierFineTuningJobDetailsStatus
|
|
43
49
|
>;
|
|
@@ -45,20 +51,56 @@ export type ClassifierFineTuningJobDetailsStatus = OpenEnum<
|
|
|
45
51
|
export type ClassifierFineTuningJobDetailsIntegration = WandbIntegrationResult;
|
|
46
52
|
|
|
47
53
|
export type ClassifierFineTuningJobDetails = {
|
|
54
|
+
/**
|
|
55
|
+
* The ID of the job.
|
|
56
|
+
*/
|
|
48
57
|
id: string;
|
|
49
58
|
autoStart: boolean;
|
|
50
59
|
model: string;
|
|
60
|
+
/**
|
|
61
|
+
* The current status of the fine-tuning job.
|
|
62
|
+
*/
|
|
51
63
|
status: ClassifierFineTuningJobDetailsStatus;
|
|
64
|
+
/**
|
|
65
|
+
* The UNIX timestamp (in seconds) for when the fine-tuning job was created.
|
|
66
|
+
*/
|
|
52
67
|
createdAt: number;
|
|
68
|
+
/**
|
|
69
|
+
* The UNIX timestamp (in seconds) for when the fine-tuning job was last modified.
|
|
70
|
+
*/
|
|
53
71
|
modifiedAt: number;
|
|
72
|
+
/**
|
|
73
|
+
* A list containing the IDs of uploaded files that contain training data.
|
|
74
|
+
*/
|
|
54
75
|
trainingFiles: Array<string>;
|
|
76
|
+
/**
|
|
77
|
+
* A list containing the IDs of uploaded files that contain validation data.
|
|
78
|
+
*/
|
|
55
79
|
validationFiles?: Array<string> | null | undefined;
|
|
80
|
+
/**
|
|
81
|
+
* The object type of the fine-tuning job.
|
|
82
|
+
*/
|
|
56
83
|
object: "job";
|
|
84
|
+
/**
|
|
85
|
+
* The name of the fine-tuned model that is being created. The value will be `null` if the fine-tuning job is still running.
|
|
86
|
+
*/
|
|
57
87
|
fineTunedModel?: string | null | undefined;
|
|
88
|
+
/**
|
|
89
|
+
* Optional user-provided string inserted into the fine-tuned model name to help identify it. For example, a suffix of `"my-great-model"` produces a name like `ft:open-mistral-7b:abcd1234:20260101:my-great-model:efgh5678`.
|
|
90
|
+
*/
|
|
58
91
|
suffix?: string | null | undefined;
|
|
92
|
+
/**
|
|
93
|
+
* A list of integrations enabled for your fine-tuning job.
|
|
94
|
+
*/
|
|
59
95
|
integrations?: Array<WandbIntegrationResult> | null | undefined;
|
|
96
|
+
/**
|
|
97
|
+
* Total number of tokens trained.
|
|
98
|
+
*/
|
|
60
99
|
trainedTokens?: number | null | undefined;
|
|
61
100
|
metadata?: JobMetadata | null | undefined;
|
|
101
|
+
/**
|
|
102
|
+
* The type of job (`FT` for fine-tuning).
|
|
103
|
+
*/
|
|
62
104
|
jobType: "classifier";
|
|
63
105
|
hyperparameters: ClassifierTrainingParameters;
|
|
64
106
|
/**
|
|
@@ -10,9 +10,21 @@ import { Result as SafeParseResult } from "../../types/fp.js";
|
|
|
10
10
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
11
11
|
|
|
12
12
|
export type ClassifierTrainingParameters = {
|
|
13
|
+
/**
|
|
14
|
+
* The number of training steps to perform. A training step refers to a single update of the model weights during the fine-tuning process. This update is typically calculated using a batch of samples from the training dataset.
|
|
15
|
+
*/
|
|
13
16
|
trainingSteps?: number | null | undefined;
|
|
17
|
+
/**
|
|
18
|
+
* A parameter describing how much to adjust the pre-trained model's weights in response to the estimated error each time the weights are updated during the fine-tuning process.
|
|
19
|
+
*/
|
|
14
20
|
learningRate?: number | undefined;
|
|
21
|
+
/**
|
|
22
|
+
* (Advanced Usage) Weight decay adds a term to the loss function that is proportional to the sum of the squared weights. This term reduces the magnitude of the weights and prevents them from growing too large.
|
|
23
|
+
*/
|
|
15
24
|
weightDecay?: number | null | undefined;
|
|
25
|
+
/**
|
|
26
|
+
* (Advanced Usage) A parameter that specifies the percentage of the total training steps at which the learning rate warm-up phase ends. During this phase, the learning rate gradually increases from a small value to the initial learning rate, helping to stabilize the training process and improve convergence. Similar to `pct_start` in [mistral-finetune](https://github.com/mistralai/mistral-finetune)
|
|
27
|
+
*/
|
|
16
28
|
warmupFraction?: number | null | undefined;
|
|
17
29
|
epochs?: number | null | undefined;
|
|
18
30
|
seqLen?: number | null | undefined;
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
* @generated-id: 3fac74df5610
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
import * as z from "zod/v4";
|
|
7
|
+
import { safeParse } from "../../lib/schemas.js";
|
|
8
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
9
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
10
|
+
import {
|
|
11
|
+
ClientTasksCapability,
|
|
12
|
+
ClientTasksCapability$inboundSchema,
|
|
13
|
+
} from "./clienttaskscapability.js";
|
|
14
|
+
import {
|
|
15
|
+
ElicitationCapability,
|
|
16
|
+
ElicitationCapability$inboundSchema,
|
|
17
|
+
} from "./elicitationcapability.js";
|
|
18
|
+
import {
|
|
19
|
+
RootsCapability,
|
|
20
|
+
RootsCapability$inboundSchema,
|
|
21
|
+
} from "./rootscapability.js";
|
|
22
|
+
import {
|
|
23
|
+
SamplingCapability,
|
|
24
|
+
SamplingCapability$inboundSchema,
|
|
25
|
+
} from "./samplingcapability.js";
|
|
26
|
+
|
|
27
|
+
/**
|
|
28
|
+
* Capabilities a client may support.
|
|
29
|
+
*/
|
|
30
|
+
export type ClientCapabilities = {
|
|
31
|
+
experimental?: { [k: string]: { [k: string]: any } } | null | undefined;
|
|
32
|
+
sampling?: SamplingCapability | null | undefined;
|
|
33
|
+
elicitation?: ElicitationCapability | null | undefined;
|
|
34
|
+
roots?: RootsCapability | null | undefined;
|
|
35
|
+
tasks?: ClientTasksCapability | null | undefined;
|
|
36
|
+
[additionalProperties: string]: unknown;
|
|
37
|
+
};
|
|
38
|
+
|
|
39
|
+
/** @internal */
|
|
40
|
+
export const ClientCapabilities$inboundSchema: z.ZodType<
|
|
41
|
+
ClientCapabilities,
|
|
42
|
+
unknown
|
|
43
|
+
> = z.object({
|
|
44
|
+
experimental: z.nullable(z.record(z.string(), z.record(z.string(), z.any())))
|
|
45
|
+
.optional(),
|
|
46
|
+
sampling: z.nullable(SamplingCapability$inboundSchema).optional(),
|
|
47
|
+
elicitation: z.nullable(ElicitationCapability$inboundSchema).optional(),
|
|
48
|
+
roots: z.nullable(RootsCapability$inboundSchema).optional(),
|
|
49
|
+
tasks: z.nullable(ClientTasksCapability$inboundSchema).optional(),
|
|
50
|
+
}).catchall(z.any());
|
|
51
|
+
|
|
52
|
+
export function clientCapabilitiesFromJSON(
|
|
53
|
+
jsonString: string,
|
|
54
|
+
): SafeParseResult<ClientCapabilities, SDKValidationError> {
|
|
55
|
+
return safeParse(
|
|
56
|
+
jsonString,
|
|
57
|
+
(x) => ClientCapabilities$inboundSchema.parse(JSON.parse(x)),
|
|
58
|
+
`Failed to parse 'ClientCapabilities' from JSON`,
|
|
59
|
+
);
|
|
60
|
+
}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
* @generated-id: 3b7b7618584d
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
import * as z from "zod/v4";
|
|
7
|
+
import { safeParse } from "../../lib/schemas.js";
|
|
8
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
9
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
10
|
+
import {
|
|
11
|
+
ClientTasksRequestsCapability,
|
|
12
|
+
ClientTasksRequestsCapability$inboundSchema,
|
|
13
|
+
} from "./clienttasksrequestscapability.js";
|
|
14
|
+
|
|
15
|
+
/**
|
|
16
|
+
* Capability for client tasks operations.
|
|
17
|
+
*/
|
|
18
|
+
export type ClientTasksCapability = {
|
|
19
|
+
list?: { [k: string]: any } | null | undefined;
|
|
20
|
+
cancel?: { [k: string]: any } | null | undefined;
|
|
21
|
+
requests?: ClientTasksRequestsCapability | null | undefined;
|
|
22
|
+
[additionalProperties: string]: unknown;
|
|
23
|
+
};
|
|
24
|
+
|
|
25
|
+
/** @internal */
|
|
26
|
+
export const ClientTasksCapability$inboundSchema: z.ZodType<
|
|
27
|
+
ClientTasksCapability,
|
|
28
|
+
unknown
|
|
29
|
+
> = z.object({
|
|
30
|
+
list: z.nullable(z.record(z.string(), z.any())).optional(),
|
|
31
|
+
cancel: z.nullable(z.record(z.string(), z.any())).optional(),
|
|
32
|
+
requests: z.nullable(ClientTasksRequestsCapability$inboundSchema).optional(),
|
|
33
|
+
}).catchall(z.any());
|
|
34
|
+
|
|
35
|
+
export function clientTasksCapabilityFromJSON(
|
|
36
|
+
jsonString: string,
|
|
37
|
+
): SafeParseResult<ClientTasksCapability, SDKValidationError> {
|
|
38
|
+
return safeParse(
|
|
39
|
+
jsonString,
|
|
40
|
+
(x) => ClientTasksCapability$inboundSchema.parse(JSON.parse(x)),
|
|
41
|
+
`Failed to parse 'ClientTasksCapability' from JSON`,
|
|
42
|
+
);
|
|
43
|
+
}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
* @generated-id: 97692d5f3480
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
import * as z from "zod/v4";
|
|
7
|
+
import { safeParse } from "../../lib/schemas.js";
|
|
8
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
9
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
10
|
+
import {
|
|
11
|
+
TasksElicitationCapability,
|
|
12
|
+
TasksElicitationCapability$inboundSchema,
|
|
13
|
+
} from "./taskselicitationcapability.js";
|
|
14
|
+
import {
|
|
15
|
+
TasksSamplingCapability,
|
|
16
|
+
TasksSamplingCapability$inboundSchema,
|
|
17
|
+
} from "./taskssamplingcapability.js";
|
|
18
|
+
|
|
19
|
+
/**
|
|
20
|
+
* Capability for tasks requests operations.
|
|
21
|
+
*/
|
|
22
|
+
export type ClientTasksRequestsCapability = {
|
|
23
|
+
sampling?: TasksSamplingCapability | null | undefined;
|
|
24
|
+
elicitation?: TasksElicitationCapability | null | undefined;
|
|
25
|
+
[additionalProperties: string]: unknown;
|
|
26
|
+
};
|
|
27
|
+
|
|
28
|
+
/** @internal */
|
|
29
|
+
export const ClientTasksRequestsCapability$inboundSchema: z.ZodType<
|
|
30
|
+
ClientTasksRequestsCapability,
|
|
31
|
+
unknown
|
|
32
|
+
> = z.object({
|
|
33
|
+
sampling: z.nullable(TasksSamplingCapability$inboundSchema).optional(),
|
|
34
|
+
elicitation: z.nullable(TasksElicitationCapability$inboundSchema).optional(),
|
|
35
|
+
}).catchall(z.any());
|
|
36
|
+
|
|
37
|
+
export function clientTasksRequestsCapabilityFromJSON(
|
|
38
|
+
jsonString: string,
|
|
39
|
+
): SafeParseResult<ClientTasksRequestsCapability, SDKValidationError> {
|
|
40
|
+
return safeParse(
|
|
41
|
+
jsonString,
|
|
42
|
+
(x) => ClientTasksRequestsCapability$inboundSchema.parse(JSON.parse(x)),
|
|
43
|
+
`Failed to parse 'ClientTasksRequestsCapability' from JSON`,
|
|
44
|
+
);
|
|
45
|
+
}
|
|
@@ -86,7 +86,7 @@ export type CompletionFineTuningJob = {
|
|
|
86
86
|
*/
|
|
87
87
|
fineTunedModel?: string | null | undefined;
|
|
88
88
|
/**
|
|
89
|
-
* Optional
|
|
89
|
+
* Optional user-provided string inserted into the fine-tuned model name to help identify it. For example, a suffix of `"my-great-model"` produces a name like `ft:open-mistral-7b:abcd1234:20260101:my-great-model:efgh5678`.
|
|
90
90
|
*/
|
|
91
91
|
suffix?: string | null | undefined;
|
|
92
92
|
/**
|
|
@@ -26,6 +26,9 @@ import {
|
|
|
26
26
|
WandbIntegrationResult$inboundSchema,
|
|
27
27
|
} from "./wandbintegrationresult.js";
|
|
28
28
|
|
|
29
|
+
/**
|
|
30
|
+
* The current status of the fine-tuning job.
|
|
31
|
+
*/
|
|
29
32
|
export const CompletionFineTuningJobDetailsStatus = {
|
|
30
33
|
Queued: "QUEUED",
|
|
31
34
|
Started: "STARTED",
|
|
@@ -38,6 +41,9 @@ export const CompletionFineTuningJobDetailsStatus = {
|
|
|
38
41
|
Cancelled: "CANCELLED",
|
|
39
42
|
CancellationRequested: "CANCELLATION_REQUESTED",
|
|
40
43
|
} as const;
|
|
44
|
+
/**
|
|
45
|
+
* The current status of the fine-tuning job.
|
|
46
|
+
*/
|
|
41
47
|
export type CompletionFineTuningJobDetailsStatus = OpenEnum<
|
|
42
48
|
typeof CompletionFineTuningJobDetailsStatus
|
|
43
49
|
>;
|
|
@@ -47,20 +53,56 @@ export type CompletionFineTuningJobDetailsIntegration = WandbIntegrationResult;
|
|
|
47
53
|
export type CompletionFineTuningJobDetailsRepository = GithubRepository;
|
|
48
54
|
|
|
49
55
|
export type CompletionFineTuningJobDetails = {
|
|
56
|
+
/**
|
|
57
|
+
* The ID of the job.
|
|
58
|
+
*/
|
|
50
59
|
id: string;
|
|
51
60
|
autoStart: boolean;
|
|
52
61
|
model: string;
|
|
62
|
+
/**
|
|
63
|
+
* The current status of the fine-tuning job.
|
|
64
|
+
*/
|
|
53
65
|
status: CompletionFineTuningJobDetailsStatus;
|
|
66
|
+
/**
|
|
67
|
+
* The UNIX timestamp (in seconds) for when the fine-tuning job was created.
|
|
68
|
+
*/
|
|
54
69
|
createdAt: number;
|
|
70
|
+
/**
|
|
71
|
+
* The UNIX timestamp (in seconds) for when the fine-tuning job was last modified.
|
|
72
|
+
*/
|
|
55
73
|
modifiedAt: number;
|
|
74
|
+
/**
|
|
75
|
+
* A list containing the IDs of uploaded files that contain training data.
|
|
76
|
+
*/
|
|
56
77
|
trainingFiles: Array<string>;
|
|
78
|
+
/**
|
|
79
|
+
* A list containing the IDs of uploaded files that contain validation data.
|
|
80
|
+
*/
|
|
57
81
|
validationFiles?: Array<string> | null | undefined;
|
|
82
|
+
/**
|
|
83
|
+
* The object type of the fine-tuning job.
|
|
84
|
+
*/
|
|
58
85
|
object: "job";
|
|
86
|
+
/**
|
|
87
|
+
* The name of the fine-tuned model that is being created. The value will be `null` if the fine-tuning job is still running.
|
|
88
|
+
*/
|
|
59
89
|
fineTunedModel?: string | null | undefined;
|
|
90
|
+
/**
|
|
91
|
+
* Optional user-provided string inserted into the fine-tuned model name to help identify it. For example, a suffix of `"my-great-model"` produces a name like `ft:open-mistral-7b:abcd1234:20260101:my-great-model:efgh5678`.
|
|
92
|
+
*/
|
|
60
93
|
suffix?: string | null | undefined;
|
|
94
|
+
/**
|
|
95
|
+
* A list of integrations enabled for your fine-tuning job.
|
|
96
|
+
*/
|
|
61
97
|
integrations?: Array<WandbIntegrationResult> | null | undefined;
|
|
98
|
+
/**
|
|
99
|
+
* Total number of tokens trained.
|
|
100
|
+
*/
|
|
62
101
|
trainedTokens?: number | null | undefined;
|
|
63
102
|
metadata?: JobMetadata | null | undefined;
|
|
103
|
+
/**
|
|
104
|
+
* The type of job (`FT` for fine-tuning).
|
|
105
|
+
*/
|
|
64
106
|
jobType: "completion";
|
|
65
107
|
hyperparameters: CompletionTrainingParameters;
|
|
66
108
|
repositories?: Array<GithubRepository> | undefined;
|
|
@@ -10,9 +10,21 @@ import { Result as SafeParseResult } from "../../types/fp.js";
|
|
|
10
10
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
11
11
|
|
|
12
12
|
export type CompletionTrainingParameters = {
|
|
13
|
+
/**
|
|
14
|
+
* The number of training steps to perform. A training step refers to a single update of the model weights during the fine-tuning process. This update is typically calculated using a batch of samples from the training dataset.
|
|
15
|
+
*/
|
|
13
16
|
trainingSteps?: number | null | undefined;
|
|
17
|
+
/**
|
|
18
|
+
* A parameter describing how much to adjust the pre-trained model's weights in response to the estimated error each time the weights are updated during the fine-tuning process.
|
|
19
|
+
*/
|
|
14
20
|
learningRate?: number | undefined;
|
|
21
|
+
/**
|
|
22
|
+
* (Advanced Usage) Weight decay adds a term to the loss function that is proportional to the sum of the squared weights. This term reduces the magnitude of the weights and prevents them from growing too large.
|
|
23
|
+
*/
|
|
15
24
|
weightDecay?: number | null | undefined;
|
|
25
|
+
/**
|
|
26
|
+
* (Advanced Usage) A parameter that specifies the percentage of the total training steps at which the learning rate warm-up phase ends. During this phase, the learning rate gradually increases from a small value to the initial learning rate, helping to stabilize the training process and improve convergence. Similar to `pct_start` in [mistral-finetune](https://github.com/mistralai/mistral-finetune)
|
|
27
|
+
*/
|
|
16
28
|
warmupFraction?: number | null | undefined;
|
|
17
29
|
epochs?: number | null | undefined;
|
|
18
30
|
seqLen?: number | null | undefined;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
* @generated-id: da8997c3f7ef
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
import * as z from "zod/v4";
|
|
7
|
+
import * as openEnums from "../../types/enums.js";
|
|
8
|
+
import { OpenEnum } from "../../types/enums.js";
|
|
9
|
+
|
|
10
|
+
export const ConnectionConfigType = {
|
|
11
|
+
Mcp: "mcp",
|
|
12
|
+
Turbine: "turbine",
|
|
13
|
+
Eolienne: "eolienne",
|
|
14
|
+
} as const;
|
|
15
|
+
export type ConnectionConfigType = OpenEnum<typeof ConnectionConfigType>;
|
|
16
|
+
|
|
17
|
+
/** @internal */
|
|
18
|
+
export const ConnectionConfigType$inboundSchema: z.ZodType<
|
|
19
|
+
ConnectionConfigType,
|
|
20
|
+
unknown
|
|
21
|
+
> = openEnums.inboundSchema(ConnectionConfigType);
|