@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
|
@@ -11,7 +11,13 @@ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
|
11
11
|
|
|
12
12
|
export type Sharing = {
|
|
13
13
|
libraryId: string;
|
|
14
|
+
/**
|
|
15
|
+
* @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
16
|
+
*/
|
|
14
17
|
userId?: string | null | undefined;
|
|
18
|
+
/**
|
|
19
|
+
* @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
20
|
+
*/
|
|
15
21
|
orgId: string;
|
|
16
22
|
role: string;
|
|
17
23
|
shareWithType: string;
|
|
@@ -8,6 +8,9 @@ import { remap as remap$ } from "../../lib/primitives.js";
|
|
|
8
8
|
import { EntityType, EntityType$outboundSchema } from "./entitytype.js";
|
|
9
9
|
|
|
10
10
|
export type SharingDelete = {
|
|
11
|
+
/**
|
|
12
|
+
* @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
13
|
+
*/
|
|
11
14
|
orgId?: string | null | undefined;
|
|
12
15
|
/**
|
|
13
16
|
* The id of the entity (user, workspace or organization) to share with
|
|
@@ -9,6 +9,9 @@ import { EntityType, EntityType$outboundSchema } from "./entitytype.js";
|
|
|
9
9
|
import { ShareEnum, ShareEnum$outboundSchema } from "./shareenum.js";
|
|
10
10
|
|
|
11
11
|
export type SharingRequest = {
|
|
12
|
+
/**
|
|
13
|
+
* @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
14
|
+
*/
|
|
12
15
|
orgId?: string | null | undefined;
|
|
13
16
|
level: ShareEnum;
|
|
14
17
|
/**
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
* @generated-id: f5596c4d52a3
|
|
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
|
+
|
|
11
|
+
/**
|
|
12
|
+
* Capability for tasks elicitation operations.
|
|
13
|
+
*/
|
|
14
|
+
export type TasksElicitationCapability = {
|
|
15
|
+
create?: { [k: string]: any } | null | undefined;
|
|
16
|
+
[additionalProperties: string]: unknown;
|
|
17
|
+
};
|
|
18
|
+
|
|
19
|
+
/** @internal */
|
|
20
|
+
export const TasksElicitationCapability$inboundSchema: z.ZodType<
|
|
21
|
+
TasksElicitationCapability,
|
|
22
|
+
unknown
|
|
23
|
+
> = z.object({
|
|
24
|
+
create: z.nullable(z.record(z.string(), z.any())).optional(),
|
|
25
|
+
}).catchall(z.any());
|
|
26
|
+
|
|
27
|
+
export function tasksElicitationCapabilityFromJSON(
|
|
28
|
+
jsonString: string,
|
|
29
|
+
): SafeParseResult<TasksElicitationCapability, SDKValidationError> {
|
|
30
|
+
return safeParse(
|
|
31
|
+
jsonString,
|
|
32
|
+
(x) => TasksElicitationCapability$inboundSchema.parse(JSON.parse(x)),
|
|
33
|
+
`Failed to parse 'TasksElicitationCapability' from JSON`,
|
|
34
|
+
);
|
|
35
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
* @generated-id: 249109063639
|
|
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
|
+
|
|
11
|
+
/**
|
|
12
|
+
* Capability for tasks sampling operations.
|
|
13
|
+
*/
|
|
14
|
+
export type TasksSamplingCapability = {
|
|
15
|
+
createMessage?: { [k: string]: any } | null | undefined;
|
|
16
|
+
[additionalProperties: string]: unknown;
|
|
17
|
+
};
|
|
18
|
+
|
|
19
|
+
/** @internal */
|
|
20
|
+
export const TasksSamplingCapability$inboundSchema: z.ZodType<
|
|
21
|
+
TasksSamplingCapability,
|
|
22
|
+
unknown
|
|
23
|
+
> = z.object({
|
|
24
|
+
createMessage: z.nullable(z.record(z.string(), z.any())).optional(),
|
|
25
|
+
}).catchall(z.any());
|
|
26
|
+
|
|
27
|
+
export function tasksSamplingCapabilityFromJSON(
|
|
28
|
+
jsonString: string,
|
|
29
|
+
): SafeParseResult<TasksSamplingCapability, SDKValidationError> {
|
|
30
|
+
return safeParse(
|
|
31
|
+
jsonString,
|
|
32
|
+
(x) => TasksSamplingCapability$inboundSchema.parse(JSON.parse(x)),
|
|
33
|
+
`Failed to parse 'TasksSamplingCapability' from JSON`,
|
|
34
|
+
);
|
|
35
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
* @generated-id: 3ca35c3f4b68
|
|
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
|
+
|
|
11
|
+
/**
|
|
12
|
+
* Capability for tasks tools operations.
|
|
13
|
+
*/
|
|
14
|
+
export type TasksToolsCapability = {
|
|
15
|
+
call?: { [k: string]: any } | null | undefined;
|
|
16
|
+
[additionalProperties: string]: unknown;
|
|
17
|
+
};
|
|
18
|
+
|
|
19
|
+
/** @internal */
|
|
20
|
+
export const TasksToolsCapability$inboundSchema: z.ZodType<
|
|
21
|
+
TasksToolsCapability,
|
|
22
|
+
unknown
|
|
23
|
+
> = z.object({
|
|
24
|
+
call: z.nullable(z.record(z.string(), z.any())).optional(),
|
|
25
|
+
}).catchall(z.any());
|
|
26
|
+
|
|
27
|
+
export function tasksToolsCapabilityFromJSON(
|
|
28
|
+
jsonString: string,
|
|
29
|
+
): SafeParseResult<TasksToolsCapability, SDKValidationError> {
|
|
30
|
+
return safeParse(
|
|
31
|
+
jsonString,
|
|
32
|
+
(x) => TasksToolsCapability$inboundSchema.parse(JSON.parse(x)),
|
|
33
|
+
`Failed to parse 'TasksToolsCapability' from JSON`,
|
|
34
|
+
);
|
|
35
|
+
}
|
|
@@ -0,0 +1,224 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
* @generated-id: af3e1aa8c1b3
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
import * as z from "zod/v4";
|
|
7
|
+
import { remap as remap$ } from "../../lib/primitives.js";
|
|
8
|
+
import { safeParse } from "../../lib/schemas.js";
|
|
9
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
10
|
+
import { smartUnion } from "../../types/smartUnion.js";
|
|
11
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
12
|
+
import {
|
|
13
|
+
LogicalExpression,
|
|
14
|
+
LogicalExpression$inboundSchema,
|
|
15
|
+
LogicalExpression$Outbound,
|
|
16
|
+
LogicalExpression$outboundSchema,
|
|
17
|
+
} from "./logicalexpression.js";
|
|
18
|
+
import {
|
|
19
|
+
ToolProperties,
|
|
20
|
+
ToolProperties$inboundSchema,
|
|
21
|
+
ToolProperties$Outbound,
|
|
22
|
+
ToolProperties$outboundSchema,
|
|
23
|
+
} from "./toolproperties.js";
|
|
24
|
+
|
|
25
|
+
export type RequiresConfirmation =
|
|
26
|
+
| LogicalExpression
|
|
27
|
+
| ToolProperties
|
|
28
|
+
| Array<string>;
|
|
29
|
+
|
|
30
|
+
export type SkipConfirmation =
|
|
31
|
+
| LogicalExpression
|
|
32
|
+
| ToolProperties
|
|
33
|
+
| Array<string>;
|
|
34
|
+
|
|
35
|
+
export type ToolExecutionConfiguration = {
|
|
36
|
+
requiresConfirmation?:
|
|
37
|
+
| LogicalExpression
|
|
38
|
+
| ToolProperties
|
|
39
|
+
| Array<string>
|
|
40
|
+
| null
|
|
41
|
+
| undefined;
|
|
42
|
+
skipConfirmation?:
|
|
43
|
+
| LogicalExpression
|
|
44
|
+
| ToolProperties
|
|
45
|
+
| Array<string>
|
|
46
|
+
| null
|
|
47
|
+
| undefined;
|
|
48
|
+
include?: Array<string> | null | undefined;
|
|
49
|
+
exclude?: Array<string> | null | undefined;
|
|
50
|
+
};
|
|
51
|
+
|
|
52
|
+
/** @internal */
|
|
53
|
+
export const RequiresConfirmation$inboundSchema: z.ZodType<
|
|
54
|
+
RequiresConfirmation,
|
|
55
|
+
unknown
|
|
56
|
+
> = smartUnion([
|
|
57
|
+
LogicalExpression$inboundSchema,
|
|
58
|
+
ToolProperties$inboundSchema,
|
|
59
|
+
z.array(z.string()),
|
|
60
|
+
]);
|
|
61
|
+
/** @internal */
|
|
62
|
+
export type RequiresConfirmation$Outbound =
|
|
63
|
+
| LogicalExpression$Outbound
|
|
64
|
+
| ToolProperties$Outbound
|
|
65
|
+
| Array<string>;
|
|
66
|
+
|
|
67
|
+
/** @internal */
|
|
68
|
+
export const RequiresConfirmation$outboundSchema: z.ZodType<
|
|
69
|
+
RequiresConfirmation$Outbound,
|
|
70
|
+
RequiresConfirmation
|
|
71
|
+
> = smartUnion([
|
|
72
|
+
LogicalExpression$outboundSchema,
|
|
73
|
+
ToolProperties$outboundSchema,
|
|
74
|
+
z.array(z.string()),
|
|
75
|
+
]);
|
|
76
|
+
|
|
77
|
+
export function requiresConfirmationToJSON(
|
|
78
|
+
requiresConfirmation: RequiresConfirmation,
|
|
79
|
+
): string {
|
|
80
|
+
return JSON.stringify(
|
|
81
|
+
RequiresConfirmation$outboundSchema.parse(requiresConfirmation),
|
|
82
|
+
);
|
|
83
|
+
}
|
|
84
|
+
export function requiresConfirmationFromJSON(
|
|
85
|
+
jsonString: string,
|
|
86
|
+
): SafeParseResult<RequiresConfirmation, SDKValidationError> {
|
|
87
|
+
return safeParse(
|
|
88
|
+
jsonString,
|
|
89
|
+
(x) => RequiresConfirmation$inboundSchema.parse(JSON.parse(x)),
|
|
90
|
+
`Failed to parse 'RequiresConfirmation' from JSON`,
|
|
91
|
+
);
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
/** @internal */
|
|
95
|
+
export const SkipConfirmation$inboundSchema: z.ZodType<
|
|
96
|
+
SkipConfirmation,
|
|
97
|
+
unknown
|
|
98
|
+
> = smartUnion([
|
|
99
|
+
LogicalExpression$inboundSchema,
|
|
100
|
+
ToolProperties$inboundSchema,
|
|
101
|
+
z.array(z.string()),
|
|
102
|
+
]);
|
|
103
|
+
/** @internal */
|
|
104
|
+
export type SkipConfirmation$Outbound =
|
|
105
|
+
| LogicalExpression$Outbound
|
|
106
|
+
| ToolProperties$Outbound
|
|
107
|
+
| Array<string>;
|
|
108
|
+
|
|
109
|
+
/** @internal */
|
|
110
|
+
export const SkipConfirmation$outboundSchema: z.ZodType<
|
|
111
|
+
SkipConfirmation$Outbound,
|
|
112
|
+
SkipConfirmation
|
|
113
|
+
> = smartUnion([
|
|
114
|
+
LogicalExpression$outboundSchema,
|
|
115
|
+
ToolProperties$outboundSchema,
|
|
116
|
+
z.array(z.string()),
|
|
117
|
+
]);
|
|
118
|
+
|
|
119
|
+
export function skipConfirmationToJSON(
|
|
120
|
+
skipConfirmation: SkipConfirmation,
|
|
121
|
+
): string {
|
|
122
|
+
return JSON.stringify(
|
|
123
|
+
SkipConfirmation$outboundSchema.parse(skipConfirmation),
|
|
124
|
+
);
|
|
125
|
+
}
|
|
126
|
+
export function skipConfirmationFromJSON(
|
|
127
|
+
jsonString: string,
|
|
128
|
+
): SafeParseResult<SkipConfirmation, SDKValidationError> {
|
|
129
|
+
return safeParse(
|
|
130
|
+
jsonString,
|
|
131
|
+
(x) => SkipConfirmation$inboundSchema.parse(JSON.parse(x)),
|
|
132
|
+
`Failed to parse 'SkipConfirmation' from JSON`,
|
|
133
|
+
);
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
/** @internal */
|
|
137
|
+
export const ToolExecutionConfiguration$inboundSchema: z.ZodType<
|
|
138
|
+
ToolExecutionConfiguration,
|
|
139
|
+
unknown
|
|
140
|
+
> = z.object({
|
|
141
|
+
requires_confirmation: z.nullable(
|
|
142
|
+
smartUnion([
|
|
143
|
+
LogicalExpression$inboundSchema,
|
|
144
|
+
ToolProperties$inboundSchema,
|
|
145
|
+
z.array(z.string()),
|
|
146
|
+
]),
|
|
147
|
+
).optional(),
|
|
148
|
+
skip_confirmation: z.nullable(
|
|
149
|
+
smartUnion([
|
|
150
|
+
LogicalExpression$inboundSchema,
|
|
151
|
+
ToolProperties$inboundSchema,
|
|
152
|
+
z.array(z.string()),
|
|
153
|
+
]),
|
|
154
|
+
).optional(),
|
|
155
|
+
include: z.nullable(z.array(z.string())).optional(),
|
|
156
|
+
exclude: z.nullable(z.array(z.string())).optional(),
|
|
157
|
+
}).transform((v) => {
|
|
158
|
+
return remap$(v, {
|
|
159
|
+
"requires_confirmation": "requiresConfirmation",
|
|
160
|
+
"skip_confirmation": "skipConfirmation",
|
|
161
|
+
});
|
|
162
|
+
});
|
|
163
|
+
/** @internal */
|
|
164
|
+
export type ToolExecutionConfiguration$Outbound = {
|
|
165
|
+
requires_confirmation?:
|
|
166
|
+
| LogicalExpression$Outbound
|
|
167
|
+
| ToolProperties$Outbound
|
|
168
|
+
| Array<string>
|
|
169
|
+
| null
|
|
170
|
+
| undefined;
|
|
171
|
+
skip_confirmation?:
|
|
172
|
+
| LogicalExpression$Outbound
|
|
173
|
+
| ToolProperties$Outbound
|
|
174
|
+
| Array<string>
|
|
175
|
+
| null
|
|
176
|
+
| undefined;
|
|
177
|
+
include?: Array<string> | null | undefined;
|
|
178
|
+
exclude?: Array<string> | null | undefined;
|
|
179
|
+
};
|
|
180
|
+
|
|
181
|
+
/** @internal */
|
|
182
|
+
export const ToolExecutionConfiguration$outboundSchema: z.ZodType<
|
|
183
|
+
ToolExecutionConfiguration$Outbound,
|
|
184
|
+
ToolExecutionConfiguration
|
|
185
|
+
> = z.object({
|
|
186
|
+
requiresConfirmation: z.nullable(
|
|
187
|
+
smartUnion([
|
|
188
|
+
LogicalExpression$outboundSchema,
|
|
189
|
+
ToolProperties$outboundSchema,
|
|
190
|
+
z.array(z.string()),
|
|
191
|
+
]),
|
|
192
|
+
).optional(),
|
|
193
|
+
skipConfirmation: z.nullable(
|
|
194
|
+
smartUnion([
|
|
195
|
+
LogicalExpression$outboundSchema,
|
|
196
|
+
ToolProperties$outboundSchema,
|
|
197
|
+
z.array(z.string()),
|
|
198
|
+
]),
|
|
199
|
+
).optional(),
|
|
200
|
+
include: z.nullable(z.array(z.string())).optional(),
|
|
201
|
+
exclude: z.nullable(z.array(z.string())).optional(),
|
|
202
|
+
}).transform((v) => {
|
|
203
|
+
return remap$(v, {
|
|
204
|
+
requiresConfirmation: "requires_confirmation",
|
|
205
|
+
skipConfirmation: "skip_confirmation",
|
|
206
|
+
});
|
|
207
|
+
});
|
|
208
|
+
|
|
209
|
+
export function toolExecutionConfigurationToJSON(
|
|
210
|
+
toolExecutionConfiguration: ToolExecutionConfiguration,
|
|
211
|
+
): string {
|
|
212
|
+
return JSON.stringify(
|
|
213
|
+
ToolExecutionConfiguration$outboundSchema.parse(toolExecutionConfiguration),
|
|
214
|
+
);
|
|
215
|
+
}
|
|
216
|
+
export function toolExecutionConfigurationFromJSON(
|
|
217
|
+
jsonString: string,
|
|
218
|
+
): SafeParseResult<ToolExecutionConfiguration, SDKValidationError> {
|
|
219
|
+
return safeParse(
|
|
220
|
+
jsonString,
|
|
221
|
+
(x) => ToolExecutionConfiguration$inboundSchema.parse(JSON.parse(x)),
|
|
222
|
+
`Failed to parse 'ToolExecutionConfiguration' from JSON`,
|
|
223
|
+
);
|
|
224
|
+
}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
* @generated-id: bcff86901584
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
import * as z from "zod/v4";
|
|
7
|
+
import { remap as remap$ } from "../../lib/primitives.js";
|
|
8
|
+
import { safeParse } from "../../lib/schemas.js";
|
|
9
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
10
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
11
|
+
|
|
12
|
+
export type ToolProperties = {
|
|
13
|
+
readOnly: boolean | null;
|
|
14
|
+
};
|
|
15
|
+
|
|
16
|
+
/** @internal */
|
|
17
|
+
export const ToolProperties$inboundSchema: z.ZodType<ToolProperties, unknown> =
|
|
18
|
+
z.object({
|
|
19
|
+
read_only: z.nullable(z.boolean()),
|
|
20
|
+
}).transform((v) => {
|
|
21
|
+
return remap$(v, {
|
|
22
|
+
"read_only": "readOnly",
|
|
23
|
+
});
|
|
24
|
+
});
|
|
25
|
+
/** @internal */
|
|
26
|
+
export type ToolProperties$Outbound = {
|
|
27
|
+
read_only: boolean | null;
|
|
28
|
+
};
|
|
29
|
+
|
|
30
|
+
/** @internal */
|
|
31
|
+
export const ToolProperties$outboundSchema: z.ZodType<
|
|
32
|
+
ToolProperties$Outbound,
|
|
33
|
+
ToolProperties
|
|
34
|
+
> = z.object({
|
|
35
|
+
readOnly: z.nullable(z.boolean()),
|
|
36
|
+
}).transform((v) => {
|
|
37
|
+
return remap$(v, {
|
|
38
|
+
readOnly: "read_only",
|
|
39
|
+
});
|
|
40
|
+
});
|
|
41
|
+
|
|
42
|
+
export function toolPropertiesToJSON(toolProperties: ToolProperties): string {
|
|
43
|
+
return JSON.stringify(ToolProperties$outboundSchema.parse(toolProperties));
|
|
44
|
+
}
|
|
45
|
+
export function toolPropertiesFromJSON(
|
|
46
|
+
jsonString: string,
|
|
47
|
+
): SafeParseResult<ToolProperties, SDKValidationError> {
|
|
48
|
+
return safeParse(
|
|
49
|
+
jsonString,
|
|
50
|
+
(x) => ToolProperties$inboundSchema.parse(JSON.parse(x)),
|
|
51
|
+
`Failed to parse 'ToolProperties' from JSON`,
|
|
52
|
+
);
|
|
53
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
* @generated-id: 4a2991ee68fe
|
|
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
|
+
|
|
11
|
+
/**
|
|
12
|
+
* Capability for tools operations.
|
|
13
|
+
*/
|
|
14
|
+
export type ToolsCapability = {
|
|
15
|
+
listChanged?: boolean | null | undefined;
|
|
16
|
+
[additionalProperties: string]: unknown;
|
|
17
|
+
};
|
|
18
|
+
|
|
19
|
+
/** @internal */
|
|
20
|
+
export const ToolsCapability$inboundSchema: z.ZodType<
|
|
21
|
+
ToolsCapability,
|
|
22
|
+
unknown
|
|
23
|
+
> = z.object({
|
|
24
|
+
listChanged: z.nullable(z.boolean()).optional(),
|
|
25
|
+
}).catchall(z.any());
|
|
26
|
+
|
|
27
|
+
export function toolsCapabilityFromJSON(
|
|
28
|
+
jsonString: string,
|
|
29
|
+
): SafeParseResult<ToolsCapability, SDKValidationError> {
|
|
30
|
+
return safeParse(
|
|
31
|
+
jsonString,
|
|
32
|
+
(x) => ToolsCapability$inboundSchema.parse(JSON.parse(x)),
|
|
33
|
+
`Failed to parse 'ToolsCapability' from JSON`,
|
|
34
|
+
);
|
|
35
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
* @generated-id: 7becc1559bde
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
import * as z from "zod/v4";
|
|
7
|
+
import { remap as remap$ } from "../../lib/primitives.js";
|
|
8
|
+
import { safeParse } from "../../lib/schemas.js";
|
|
9
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
10
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
11
|
+
import { ServerLocale, ServerLocale$inboundSchema } from "./serverlocale.js";
|
|
12
|
+
|
|
13
|
+
export type TurbineMeta = {
|
|
14
|
+
systemPromptName?: string | null | undefined;
|
|
15
|
+
locale?: ServerLocale | null | undefined;
|
|
16
|
+
};
|
|
17
|
+
|
|
18
|
+
/** @internal */
|
|
19
|
+
export const TurbineMeta$inboundSchema: z.ZodType<TurbineMeta, unknown> = z
|
|
20
|
+
.object({
|
|
21
|
+
system_prompt_name: z.nullable(z.string()).optional(),
|
|
22
|
+
locale: z.nullable(ServerLocale$inboundSchema).optional(),
|
|
23
|
+
}).transform((v) => {
|
|
24
|
+
return remap$(v, {
|
|
25
|
+
"system_prompt_name": "systemPromptName",
|
|
26
|
+
});
|
|
27
|
+
});
|
|
28
|
+
|
|
29
|
+
export function turbineMetaFromJSON(
|
|
30
|
+
jsonString: string,
|
|
31
|
+
): SafeParseResult<TurbineMeta, SDKValidationError> {
|
|
32
|
+
return safeParse(
|
|
33
|
+
jsonString,
|
|
34
|
+
(x) => TurbineMeta$inboundSchema.parse(JSON.parse(x)),
|
|
35
|
+
`Failed to parse 'TurbineMeta' from JSON`,
|
|
36
|
+
);
|
|
37
|
+
}
|
|
@@ -10,8 +10,16 @@ import {
|
|
|
10
10
|
AuthData$Outbound,
|
|
11
11
|
AuthData$outboundSchema,
|
|
12
12
|
} from "./authdata.js";
|
|
13
|
+
import {
|
|
14
|
+
ConnectorProtocol,
|
|
15
|
+
ConnectorProtocol$outboundSchema,
|
|
16
|
+
} from "./connectorprotocol.js";
|
|
13
17
|
|
|
14
18
|
export type UpdateConnectorRequest = {
|
|
19
|
+
/**
|
|
20
|
+
* Optional human-readable title for the connector.
|
|
21
|
+
*/
|
|
22
|
+
title?: string | null | undefined;
|
|
15
23
|
/**
|
|
16
24
|
* The name of the connector.
|
|
17
25
|
*/
|
|
@@ -28,6 +36,10 @@ export type UpdateConnectorRequest = {
|
|
|
28
36
|
* Optional system prompt for the connector.
|
|
29
37
|
*/
|
|
30
38
|
systemPrompt?: string | null | undefined;
|
|
39
|
+
/**
|
|
40
|
+
* Protocol of the connector.
|
|
41
|
+
*/
|
|
42
|
+
protocol?: ConnectorProtocol | null | undefined;
|
|
31
43
|
/**
|
|
32
44
|
* Optional new connection config.
|
|
33
45
|
*/
|
|
@@ -52,10 +64,12 @@ export type UpdateConnectorRequest = {
|
|
|
52
64
|
|
|
53
65
|
/** @internal */
|
|
54
66
|
export type UpdateConnectorRequest$Outbound = {
|
|
67
|
+
title?: string | null | undefined;
|
|
55
68
|
name?: string | null | undefined;
|
|
56
69
|
description?: string | null | undefined;
|
|
57
70
|
icon_url?: string | null | undefined;
|
|
58
71
|
system_prompt?: string | null | undefined;
|
|
72
|
+
protocol?: string | null | undefined;
|
|
59
73
|
connection_config?: { [k: string]: any } | null | undefined;
|
|
60
74
|
connection_secrets?: { [k: string]: any } | null | undefined;
|
|
61
75
|
server?: string | null | undefined;
|
|
@@ -68,10 +82,12 @@ export const UpdateConnectorRequest$outboundSchema: z.ZodType<
|
|
|
68
82
|
UpdateConnectorRequest$Outbound,
|
|
69
83
|
UpdateConnectorRequest
|
|
70
84
|
> = z.object({
|
|
85
|
+
title: z.nullable(z.string()).optional(),
|
|
71
86
|
name: z.nullable(z.string()).optional(),
|
|
72
87
|
description: z.nullable(z.string()).optional(),
|
|
73
88
|
iconUrl: z.nullable(z.string()).optional(),
|
|
74
89
|
systemPrompt: z.nullable(z.string()).optional(),
|
|
90
|
+
protocol: z.nullable(ConnectorProtocol$outboundSchema).optional(),
|
|
75
91
|
connectionConfig: z.nullable(z.record(z.string(), z.any())).optional(),
|
|
76
92
|
connectionSecrets: z.nullable(z.record(z.string(), z.any())).optional(),
|
|
77
93
|
server: z.nullable(z.string()).optional(),
|
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
6
|
import * as z from "zod/v4";
|
|
7
|
+
import { remap as remap$ } from "../../lib/primitives.js";
|
|
7
8
|
import { smartUnion } from "../../types/smartUnion.js";
|
|
8
9
|
|
|
9
10
|
export type Attributes =
|
|
@@ -18,7 +19,7 @@ export type Attributes =
|
|
|
18
19
|
| Array<boolean>;
|
|
19
20
|
|
|
20
21
|
export type UpdateDocumentRequest = {
|
|
21
|
-
name?: string |
|
|
22
|
+
name?: string | undefined;
|
|
22
23
|
attributes?:
|
|
23
24
|
| {
|
|
24
25
|
[k: string]:
|
|
@@ -34,6 +35,10 @@ export type UpdateDocumentRequest = {
|
|
|
34
35
|
}
|
|
35
36
|
| null
|
|
36
37
|
| undefined;
|
|
38
|
+
/**
|
|
39
|
+
* If set, the document will be automatically deleted after this date.
|
|
40
|
+
*/
|
|
41
|
+
expiresAt?: Date | null | undefined;
|
|
37
42
|
};
|
|
38
43
|
|
|
39
44
|
/** @internal */
|
|
@@ -70,7 +75,7 @@ export function attributesToJSON(attributes: Attributes): string {
|
|
|
70
75
|
|
|
71
76
|
/** @internal */
|
|
72
77
|
export type UpdateDocumentRequest$Outbound = {
|
|
73
|
-
name?: string |
|
|
78
|
+
name?: string | undefined;
|
|
74
79
|
attributes?:
|
|
75
80
|
| {
|
|
76
81
|
[k: string]:
|
|
@@ -86,6 +91,7 @@ export type UpdateDocumentRequest$Outbound = {
|
|
|
86
91
|
}
|
|
87
92
|
| null
|
|
88
93
|
| undefined;
|
|
94
|
+
expires_at?: string | null | undefined;
|
|
89
95
|
};
|
|
90
96
|
|
|
91
97
|
/** @internal */
|
|
@@ -93,7 +99,7 @@ export const UpdateDocumentRequest$outboundSchema: z.ZodType<
|
|
|
93
99
|
UpdateDocumentRequest$Outbound,
|
|
94
100
|
UpdateDocumentRequest
|
|
95
101
|
> = z.object({
|
|
96
|
-
name: z.
|
|
102
|
+
name: z.string().optional(),
|
|
97
103
|
attributes: z.nullable(
|
|
98
104
|
z.record(
|
|
99
105
|
z.string(),
|
|
@@ -110,6 +116,11 @@ export const UpdateDocumentRequest$outboundSchema: z.ZodType<
|
|
|
110
116
|
]),
|
|
111
117
|
),
|
|
112
118
|
).optional(),
|
|
119
|
+
expiresAt: z.nullable(z.date().transform(v => v.toISOString())).optional(),
|
|
120
|
+
}).transform((v) => {
|
|
121
|
+
return remap$(v, {
|
|
122
|
+
expiresAt: "expires_at",
|
|
123
|
+
});
|
|
113
124
|
});
|
|
114
125
|
|
|
115
126
|
export function updateDocumentRequestToJSON(
|
|
@@ -6,13 +6,13 @@
|
|
|
6
6
|
import * as z from "zod/v4";
|
|
7
7
|
|
|
8
8
|
export type UpdateLibraryRequest = {
|
|
9
|
-
name?: string |
|
|
9
|
+
name?: string | undefined;
|
|
10
10
|
description?: string | null | undefined;
|
|
11
11
|
};
|
|
12
12
|
|
|
13
13
|
/** @internal */
|
|
14
14
|
export type UpdateLibraryRequest$Outbound = {
|
|
15
|
-
name?: string |
|
|
15
|
+
name?: string | undefined;
|
|
16
16
|
description?: string | null | undefined;
|
|
17
17
|
};
|
|
18
18
|
|
|
@@ -21,7 +21,7 @@ export const UpdateLibraryRequest$outboundSchema: z.ZodType<
|
|
|
21
21
|
UpdateLibraryRequest$Outbound,
|
|
22
22
|
UpdateLibraryRequest
|
|
23
23
|
> = z.object({
|
|
24
|
-
name: z.
|
|
24
|
+
name: z.string().optional(),
|
|
25
25
|
description: z.nullable(z.string()).optional(),
|
|
26
26
|
});
|
|
27
27
|
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
* @generated-id: 691719d0fb7a
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
import * as z from "zod/v4";
|
|
7
|
+
import { remap as remap$ } from "../../lib/primitives.js";
|
|
8
|
+
|
|
9
|
+
export type UpdateRunInfo = {
|
|
10
|
+
executionTime: Date;
|
|
11
|
+
chunksCount: number;
|
|
12
|
+
};
|
|
13
|
+
|
|
14
|
+
/** @internal */
|
|
15
|
+
export type UpdateRunInfo$Outbound = {
|
|
16
|
+
execution_time: string;
|
|
17
|
+
chunks_count: number;
|
|
18
|
+
};
|
|
19
|
+
|
|
20
|
+
/** @internal */
|
|
21
|
+
export const UpdateRunInfo$outboundSchema: z.ZodType<
|
|
22
|
+
UpdateRunInfo$Outbound,
|
|
23
|
+
UpdateRunInfo
|
|
24
|
+
> = z.object({
|
|
25
|
+
executionTime: z.date().transform(v => v.toISOString()),
|
|
26
|
+
chunksCount: z.int(),
|
|
27
|
+
}).transform((v) => {
|
|
28
|
+
return remap$(v, {
|
|
29
|
+
executionTime: "execution_time",
|
|
30
|
+
chunksCount: "chunks_count",
|
|
31
|
+
});
|
|
32
|
+
});
|
|
33
|
+
|
|
34
|
+
export function updateRunInfoToJSON(updateRunInfo: UpdateRunInfo): string {
|
|
35
|
+
return JSON.stringify(UpdateRunInfo$outboundSchema.parse(updateRunInfo));
|
|
36
|
+
}
|