@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
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
* @generated-id: 380b296b3a9d
|
|
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 { TurbineMeta, TurbineMeta$inboundSchema } from "./turbinemeta.js";
|
|
12
|
+
|
|
13
|
+
/**
|
|
14
|
+
* Typed _meta for MCP server cards.
|
|
15
|
+
*
|
|
16
|
+
* @remarks
|
|
17
|
+
*
|
|
18
|
+
* Only the 'turbine' field is typed. Other fields are allowed via extra="allow".
|
|
19
|
+
*/
|
|
20
|
+
export type MCPServerCardMeta = {
|
|
21
|
+
aiMistralTurbine?: TurbineMeta | null | undefined;
|
|
22
|
+
[additionalProperties: string]: unknown;
|
|
23
|
+
};
|
|
24
|
+
|
|
25
|
+
/** @internal */
|
|
26
|
+
export const MCPServerCardMeta$inboundSchema: z.ZodType<
|
|
27
|
+
MCPServerCardMeta,
|
|
28
|
+
unknown
|
|
29
|
+
> = z.object({
|
|
30
|
+
"ai.mistral/turbine": z.nullable(TurbineMeta$inboundSchema).optional(),
|
|
31
|
+
}).catchall(z.any()).transform((v) => {
|
|
32
|
+
return remap$(v, {
|
|
33
|
+
"ai.mistral/turbine": "aiMistralTurbine",
|
|
34
|
+
});
|
|
35
|
+
});
|
|
36
|
+
|
|
37
|
+
export function mcpServerCardMetaFromJSON(
|
|
38
|
+
jsonString: string,
|
|
39
|
+
): SafeParseResult<MCPServerCardMeta, SDKValidationError> {
|
|
40
|
+
return safeParse(
|
|
41
|
+
jsonString,
|
|
42
|
+
(x) => MCPServerCardMeta$inboundSchema.parse(JSON.parse(x)),
|
|
43
|
+
`Failed to parse 'MCPServerCardMeta' from JSON`,
|
|
44
|
+
);
|
|
45
|
+
}
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
* @generated-id: 50e67fe6708b
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
import * as z from "zod/v4";
|
|
7
|
+
import { safeParse } from "../../lib/schemas.js";
|
|
8
|
+
import * as openEnums from "../../types/enums.js";
|
|
9
|
+
import { OpenEnum } from "../../types/enums.js";
|
|
10
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
11
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
12
|
+
import {
|
|
13
|
+
MCPServerAuthenticationRequirement,
|
|
14
|
+
MCPServerAuthenticationRequirement$inboundSchema,
|
|
15
|
+
} from "./mcpserverauthenticationrequirement.js";
|
|
16
|
+
import {
|
|
17
|
+
MCPServerRemoteHeader,
|
|
18
|
+
MCPServerRemoteHeader$inboundSchema,
|
|
19
|
+
} from "./mcpserverremoteheader.js";
|
|
20
|
+
|
|
21
|
+
/**
|
|
22
|
+
* Transport type
|
|
23
|
+
*/
|
|
24
|
+
export const MCPServerRemoteType = {
|
|
25
|
+
StreamableHttp: "streamable-http",
|
|
26
|
+
Sse: "sse",
|
|
27
|
+
} as const;
|
|
28
|
+
/**
|
|
29
|
+
* Transport type
|
|
30
|
+
*/
|
|
31
|
+
export type MCPServerRemoteType = OpenEnum<typeof MCPServerRemoteType>;
|
|
32
|
+
|
|
33
|
+
/**
|
|
34
|
+
* Remote transport endpoint (SEP-2127).
|
|
35
|
+
*/
|
|
36
|
+
export type MCPServerRemote = {
|
|
37
|
+
/**
|
|
38
|
+
* Transport type
|
|
39
|
+
*/
|
|
40
|
+
type: MCPServerRemoteType;
|
|
41
|
+
/**
|
|
42
|
+
* Transport endpoint URL
|
|
43
|
+
*/
|
|
44
|
+
url: string;
|
|
45
|
+
supportedProtocolVersions?: Array<string> | null | undefined;
|
|
46
|
+
headers?: Array<MCPServerRemoteHeader> | null | undefined;
|
|
47
|
+
authentication?: MCPServerAuthenticationRequirement | null | undefined;
|
|
48
|
+
};
|
|
49
|
+
|
|
50
|
+
/** @internal */
|
|
51
|
+
export const MCPServerRemoteType$inboundSchema: z.ZodType<
|
|
52
|
+
MCPServerRemoteType,
|
|
53
|
+
unknown
|
|
54
|
+
> = openEnums.inboundSchema(MCPServerRemoteType);
|
|
55
|
+
|
|
56
|
+
/** @internal */
|
|
57
|
+
export const MCPServerRemote$inboundSchema: z.ZodType<
|
|
58
|
+
MCPServerRemote,
|
|
59
|
+
unknown
|
|
60
|
+
> = z.object({
|
|
61
|
+
type: MCPServerRemoteType$inboundSchema,
|
|
62
|
+
url: z.string(),
|
|
63
|
+
supportedProtocolVersions: z.nullable(z.array(z.string())).optional(),
|
|
64
|
+
headers: z.nullable(z.array(MCPServerRemoteHeader$inboundSchema)).optional(),
|
|
65
|
+
authentication: z.nullable(MCPServerAuthenticationRequirement$inboundSchema)
|
|
66
|
+
.optional(),
|
|
67
|
+
});
|
|
68
|
+
|
|
69
|
+
export function mcpServerRemoteFromJSON(
|
|
70
|
+
jsonString: string,
|
|
71
|
+
): SafeParseResult<MCPServerRemote, SDKValidationError> {
|
|
72
|
+
return safeParse(
|
|
73
|
+
jsonString,
|
|
74
|
+
(x) => MCPServerRemote$inboundSchema.parse(JSON.parse(x)),
|
|
75
|
+
`Failed to parse 'MCPServerRemote' from JSON`,
|
|
76
|
+
);
|
|
77
|
+
}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
* @generated-id: 059096015c3e
|
|
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
|
+
* Header definition for a remote transport (SEP-2127).
|
|
13
|
+
*/
|
|
14
|
+
export type MCPServerRemoteHeader = {
|
|
15
|
+
/**
|
|
16
|
+
* Header name
|
|
17
|
+
*/
|
|
18
|
+
name: string;
|
|
19
|
+
/**
|
|
20
|
+
* Human-readable description of the header
|
|
21
|
+
*/
|
|
22
|
+
description: string;
|
|
23
|
+
isRequired?: boolean | null | undefined;
|
|
24
|
+
isSecret?: boolean | null | undefined;
|
|
25
|
+
default?: string | null | undefined;
|
|
26
|
+
choices?: Array<string> | null | undefined;
|
|
27
|
+
};
|
|
28
|
+
|
|
29
|
+
/** @internal */
|
|
30
|
+
export const MCPServerRemoteHeader$inboundSchema: z.ZodType<
|
|
31
|
+
MCPServerRemoteHeader,
|
|
32
|
+
unknown
|
|
33
|
+
> = z.object({
|
|
34
|
+
name: z.string(),
|
|
35
|
+
description: z.string(),
|
|
36
|
+
isRequired: z.nullable(z.boolean()).optional(),
|
|
37
|
+
isSecret: z.nullable(z.boolean()).optional(),
|
|
38
|
+
default: z.nullable(z.string()).optional(),
|
|
39
|
+
choices: z.nullable(z.array(z.string())).optional(),
|
|
40
|
+
});
|
|
41
|
+
|
|
42
|
+
export function mcpServerRemoteHeaderFromJSON(
|
|
43
|
+
jsonString: string,
|
|
44
|
+
): SafeParseResult<MCPServerRemoteHeader, SDKValidationError> {
|
|
45
|
+
return safeParse(
|
|
46
|
+
jsonString,
|
|
47
|
+
(x) => MCPServerRemoteHeader$inboundSchema.parse(JSON.parse(x)),
|
|
48
|
+
`Failed to parse 'MCPServerRemoteHeader' from JSON`,
|
|
49
|
+
);
|
|
50
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
* @generated-id: fe7394d63de3
|
|
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
|
+
* Source repository information (SEP-2127).
|
|
13
|
+
*/
|
|
14
|
+
export type MCPServerRepository = {
|
|
15
|
+
/**
|
|
16
|
+
* Repository URL
|
|
17
|
+
*/
|
|
18
|
+
url: string;
|
|
19
|
+
/**
|
|
20
|
+
* Source identifier (e.g. 'github')
|
|
21
|
+
*/
|
|
22
|
+
source: string;
|
|
23
|
+
subfolder?: string | null | undefined;
|
|
24
|
+
};
|
|
25
|
+
|
|
26
|
+
/** @internal */
|
|
27
|
+
export const MCPServerRepository$inboundSchema: z.ZodType<
|
|
28
|
+
MCPServerRepository,
|
|
29
|
+
unknown
|
|
30
|
+
> = z.object({
|
|
31
|
+
url: z.string(),
|
|
32
|
+
source: z.string(),
|
|
33
|
+
subfolder: z.nullable(z.string()).optional(),
|
|
34
|
+
});
|
|
35
|
+
|
|
36
|
+
export function mcpServerRepositoryFromJSON(
|
|
37
|
+
jsonString: string,
|
|
38
|
+
): SafeParseResult<MCPServerRepository, SDKValidationError> {
|
|
39
|
+
return safeParse(
|
|
40
|
+
jsonString,
|
|
41
|
+
(x) => MCPServerRepository$inboundSchema.parse(JSON.parse(x)),
|
|
42
|
+
`Failed to parse 'MCPServerRepository' from JSON`,
|
|
43
|
+
);
|
|
44
|
+
}
|
|
@@ -8,33 +8,41 @@ import { remap as remap$ } from "../../lib/primitives.js";
|
|
|
8
8
|
import { safeParse } from "../../lib/schemas.js";
|
|
9
9
|
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
10
10
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
11
|
-
import {
|
|
11
|
+
import { MCPServerIcon, MCPServerIcon$inboundSchema } from "./mcpservericon.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
13
|
+
ToolAnnotations,
|
|
14
|
+
ToolAnnotations$inboundSchema,
|
|
15
|
+
} from "./toolannotations.js";
|
|
16
|
+
import { ToolExecution, ToolExecution$inboundSchema } from "./toolexecution.js";
|
|
16
17
|
|
|
17
|
-
/**
|
|
18
|
-
* Typed _meta for MCP tools.
|
|
19
|
-
*
|
|
20
|
-
* @remarks
|
|
21
|
-
*
|
|
22
|
-
* Only the 'ui' field is typed. Other fields are allowed via extra="allow".
|
|
23
|
-
*/
|
|
24
18
|
export type MCPToolMeta = {
|
|
25
|
-
|
|
26
|
-
|
|
19
|
+
name: string;
|
|
20
|
+
title?: string | null | undefined;
|
|
21
|
+
description?: string | null | undefined;
|
|
22
|
+
inputSchema: { [k: string]: any };
|
|
23
|
+
outputSchema?: { [k: string]: any } | null | undefined;
|
|
24
|
+
icons?: Array<MCPServerIcon> | null | undefined;
|
|
25
|
+
annotations?: ToolAnnotations | null | undefined;
|
|
26
|
+
meta?: MCPToolMeta | null | undefined;
|
|
27
|
+
execution?: ToolExecution | null | undefined;
|
|
27
28
|
[additionalProperties: string]: unknown;
|
|
28
29
|
};
|
|
29
30
|
|
|
30
31
|
/** @internal */
|
|
31
32
|
export const MCPToolMeta$inboundSchema: z.ZodType<MCPToolMeta, unknown> = z
|
|
32
33
|
.object({
|
|
33
|
-
|
|
34
|
-
|
|
34
|
+
name: z.string(),
|
|
35
|
+
title: z.nullable(z.string()).optional(),
|
|
36
|
+
description: z.nullable(z.string()).optional(),
|
|
37
|
+
inputSchema: z.record(z.string(), z.any()),
|
|
38
|
+
outputSchema: z.nullable(z.record(z.string(), z.any())).optional(),
|
|
39
|
+
icons: z.nullable(z.array(MCPServerIcon$inboundSchema)).optional(),
|
|
40
|
+
annotations: z.nullable(ToolAnnotations$inboundSchema).optional(),
|
|
41
|
+
_meta: z.nullable(z.lazy(() => MCPToolMeta$inboundSchema)).optional(),
|
|
42
|
+
execution: z.nullable(ToolExecution$inboundSchema).optional(),
|
|
35
43
|
}).catchall(z.any()).transform((v) => {
|
|
36
44
|
return remap$(v, {
|
|
37
|
-
"
|
|
45
|
+
"_meta": "meta",
|
|
38
46
|
});
|
|
39
47
|
});
|
|
40
48
|
|
|
@@ -54,7 +54,6 @@ export type ConfidenceScoresGranularity = ClosedEnum<
|
|
|
54
54
|
|
|
55
55
|
export type OCRRequest = {
|
|
56
56
|
model: string | null;
|
|
57
|
-
id?: string | undefined;
|
|
58
57
|
/**
|
|
59
58
|
* Document to run OCR on
|
|
60
59
|
*/
|
|
@@ -140,7 +139,6 @@ export const ConfidenceScoresGranularity$outboundSchema: z.ZodEnum<
|
|
|
140
139
|
/** @internal */
|
|
141
140
|
export type OCRRequest$Outbound = {
|
|
142
141
|
model: string | null;
|
|
143
|
-
id?: string | undefined;
|
|
144
142
|
document:
|
|
145
143
|
| FileChunk$Outbound
|
|
146
144
|
| DocumentURLChunk$Outbound
|
|
@@ -164,7 +162,6 @@ export const OCRRequest$outboundSchema: z.ZodType<
|
|
|
164
162
|
OCRRequest
|
|
165
163
|
> = z.object({
|
|
166
164
|
model: z.nullable(z.string()),
|
|
167
|
-
id: z.string().optional(),
|
|
168
165
|
document: smartUnion([
|
|
169
166
|
FileChunk$outboundSchema,
|
|
170
167
|
DocumentURLChunk$outboundSchema,
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
* @generated-id: 4a31db61953f
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
import * as z from "zod/v4";
|
|
7
|
+
import * as openEnums from "../../types/enums.js";
|
|
8
|
+
import { OpenEnum } from "../../types/enums.js";
|
|
9
|
+
|
|
10
|
+
export const OutboundAuthenticationType = {
|
|
11
|
+
Oauth2: "oauth2",
|
|
12
|
+
Bearer: "bearer",
|
|
13
|
+
None: "none",
|
|
14
|
+
} as const;
|
|
15
|
+
export type OutboundAuthenticationType = OpenEnum<
|
|
16
|
+
typeof OutboundAuthenticationType
|
|
17
|
+
>;
|
|
18
|
+
|
|
19
|
+
/** @internal */
|
|
20
|
+
export const OutboundAuthenticationType$inboundSchema: z.ZodType<
|
|
21
|
+
OutboundAuthenticationType,
|
|
22
|
+
unknown
|
|
23
|
+
> = openEnums.inboundSchema(OutboundAuthenticationType);
|
|
24
|
+
/** @internal */
|
|
25
|
+
export const OutboundAuthenticationType$outboundSchema: z.ZodType<
|
|
26
|
+
string,
|
|
27
|
+
OutboundAuthenticationType
|
|
28
|
+
> = openEnums.outboundSchema(OutboundAuthenticationType);
|
|
@@ -0,0 +1,128 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
* @generated-id: afee1e10cc99
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
import * as z from "zod/v4";
|
|
7
|
+
import { remap as remap$ } from "../../lib/primitives.js";
|
|
8
|
+
import {
|
|
9
|
+
ScheduleCalendar,
|
|
10
|
+
ScheduleCalendar$Outbound,
|
|
11
|
+
ScheduleCalendar$outboundSchema,
|
|
12
|
+
} from "./schedulecalendar.js";
|
|
13
|
+
import {
|
|
14
|
+
ScheduleInterval,
|
|
15
|
+
ScheduleInterval$Outbound,
|
|
16
|
+
ScheduleInterval$outboundSchema,
|
|
17
|
+
} from "./scheduleinterval.js";
|
|
18
|
+
import {
|
|
19
|
+
SchedulePolicy,
|
|
20
|
+
SchedulePolicy$Outbound,
|
|
21
|
+
SchedulePolicy$outboundSchema,
|
|
22
|
+
} from "./schedulepolicy.js";
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
* Schedule definition for partial updates.
|
|
26
|
+
*
|
|
27
|
+
* @remarks
|
|
28
|
+
*
|
|
29
|
+
* All fields are optional (inherited from _ScheduleRequestBase). Only explicitly-set
|
|
30
|
+
* fields are applied during an update; unset fields preserve the existing schedule values.
|
|
31
|
+
*/
|
|
32
|
+
export type PartialScheduleDefinition = {
|
|
33
|
+
/**
|
|
34
|
+
* Input to provide to the workflow when starting it.
|
|
35
|
+
*/
|
|
36
|
+
input?: any | undefined;
|
|
37
|
+
/**
|
|
38
|
+
* Calendar-based specification of times.
|
|
39
|
+
*/
|
|
40
|
+
calendars?: Array<ScheduleCalendar> | undefined;
|
|
41
|
+
/**
|
|
42
|
+
* Interval-based specification of times.
|
|
43
|
+
*/
|
|
44
|
+
intervals?: Array<ScheduleInterval> | undefined;
|
|
45
|
+
/**
|
|
46
|
+
* Cron-based specification of times.
|
|
47
|
+
*/
|
|
48
|
+
cronExpressions?: Array<string> | undefined;
|
|
49
|
+
/**
|
|
50
|
+
* Set of calendar times to skip.
|
|
51
|
+
*/
|
|
52
|
+
skip?: Array<ScheduleCalendar> | undefined;
|
|
53
|
+
/**
|
|
54
|
+
* Time after which the first action may be run.
|
|
55
|
+
*/
|
|
56
|
+
startAt?: Date | null | undefined;
|
|
57
|
+
/**
|
|
58
|
+
* Time after which no more actions will be run.
|
|
59
|
+
*/
|
|
60
|
+
endAt?: Date | null | undefined;
|
|
61
|
+
/**
|
|
62
|
+
* Jitter to apply each action.
|
|
63
|
+
*
|
|
64
|
+
* @remarks
|
|
65
|
+
*
|
|
66
|
+
* An action's scheduled time will be incremented by a random value between 0
|
|
67
|
+
* and this value if present (but not past the next schedule).
|
|
68
|
+
*/
|
|
69
|
+
jitter?: string | null | undefined;
|
|
70
|
+
/**
|
|
71
|
+
* IANA time zone name, for example ``US/Central``.
|
|
72
|
+
*/
|
|
73
|
+
timeZoneName?: string | null | undefined;
|
|
74
|
+
policy?: SchedulePolicy | undefined;
|
|
75
|
+
/**
|
|
76
|
+
* Maximum number of times this schedule will trigger a workflow execution. Once this limit is reached, no further executions are triggered automatically. null means unlimited.
|
|
77
|
+
*/
|
|
78
|
+
maxExecutions?: number | null | undefined;
|
|
79
|
+
};
|
|
80
|
+
|
|
81
|
+
/** @internal */
|
|
82
|
+
export type PartialScheduleDefinition$Outbound = {
|
|
83
|
+
input?: any | undefined;
|
|
84
|
+
calendars?: Array<ScheduleCalendar$Outbound> | undefined;
|
|
85
|
+
intervals?: Array<ScheduleInterval$Outbound> | undefined;
|
|
86
|
+
cron_expressions?: Array<string> | undefined;
|
|
87
|
+
skip?: Array<ScheduleCalendar$Outbound> | undefined;
|
|
88
|
+
start_at?: string | null | undefined;
|
|
89
|
+
end_at?: string | null | undefined;
|
|
90
|
+
jitter?: string | null | undefined;
|
|
91
|
+
time_zone_name?: string | null | undefined;
|
|
92
|
+
policy?: SchedulePolicy$Outbound | undefined;
|
|
93
|
+
max_executions?: number | null | undefined;
|
|
94
|
+
};
|
|
95
|
+
|
|
96
|
+
/** @internal */
|
|
97
|
+
export const PartialScheduleDefinition$outboundSchema: z.ZodType<
|
|
98
|
+
PartialScheduleDefinition$Outbound,
|
|
99
|
+
PartialScheduleDefinition
|
|
100
|
+
> = z.object({
|
|
101
|
+
input: z.any().optional(),
|
|
102
|
+
calendars: z.array(ScheduleCalendar$outboundSchema).optional(),
|
|
103
|
+
intervals: z.array(ScheduleInterval$outboundSchema).optional(),
|
|
104
|
+
cronExpressions: z.array(z.string()).optional(),
|
|
105
|
+
skip: z.array(ScheduleCalendar$outboundSchema).optional(),
|
|
106
|
+
startAt: z.nullable(z.date().transform(v => v.toISOString())).optional(),
|
|
107
|
+
endAt: z.nullable(z.date().transform(v => v.toISOString())).optional(),
|
|
108
|
+
jitter: z.nullable(z.string()).optional(),
|
|
109
|
+
timeZoneName: z.nullable(z.string()).optional(),
|
|
110
|
+
policy: SchedulePolicy$outboundSchema.optional(),
|
|
111
|
+
maxExecutions: z.nullable(z.int()).optional(),
|
|
112
|
+
}).transform((v) => {
|
|
113
|
+
return remap$(v, {
|
|
114
|
+
cronExpressions: "cron_expressions",
|
|
115
|
+
startAt: "start_at",
|
|
116
|
+
endAt: "end_at",
|
|
117
|
+
timeZoneName: "time_zone_name",
|
|
118
|
+
maxExecutions: "max_executions",
|
|
119
|
+
});
|
|
120
|
+
});
|
|
121
|
+
|
|
122
|
+
export function partialScheduleDefinitionToJSON(
|
|
123
|
+
partialScheduleDefinition: PartialScheduleDefinition,
|
|
124
|
+
): string {
|
|
125
|
+
return JSON.stringify(
|
|
126
|
+
PartialScheduleDefinition$outboundSchema.parse(partialScheduleDefinition),
|
|
127
|
+
);
|
|
128
|
+
}
|
|
@@ -13,6 +13,9 @@ import { ProcessStatus, ProcessStatus$inboundSchema } from "./processstatus.js";
|
|
|
13
13
|
export type ProcessingStatus = {
|
|
14
14
|
documentId: string;
|
|
15
15
|
processStatus: ProcessStatus;
|
|
16
|
+
/**
|
|
17
|
+
* @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
18
|
+
*/
|
|
16
19
|
processingStatus: string;
|
|
17
20
|
};
|
|
18
21
|
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
* @generated-id: 5695c877421e
|
|
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
|
+
* An argument for a prompt template.
|
|
13
|
+
*/
|
|
14
|
+
export type PromptArgument = {
|
|
15
|
+
name: string;
|
|
16
|
+
description?: string | null | undefined;
|
|
17
|
+
required?: boolean | null | undefined;
|
|
18
|
+
[additionalProperties: string]: unknown;
|
|
19
|
+
};
|
|
20
|
+
|
|
21
|
+
/** @internal */
|
|
22
|
+
export const PromptArgument$inboundSchema: z.ZodType<PromptArgument, unknown> =
|
|
23
|
+
z.object({
|
|
24
|
+
name: z.string(),
|
|
25
|
+
description: z.nullable(z.string()).optional(),
|
|
26
|
+
required: z.nullable(z.boolean()).optional(),
|
|
27
|
+
}).catchall(z.any());
|
|
28
|
+
|
|
29
|
+
export function promptArgumentFromJSON(
|
|
30
|
+
jsonString: string,
|
|
31
|
+
): SafeParseResult<PromptArgument, SDKValidationError> {
|
|
32
|
+
return safeParse(
|
|
33
|
+
jsonString,
|
|
34
|
+
(x) => PromptArgument$inboundSchema.parse(JSON.parse(x)),
|
|
35
|
+
`Failed to parse 'PromptArgument' from JSON`,
|
|
36
|
+
);
|
|
37
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
* @generated-id: 815a4c3329bc
|
|
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 prompts operations.
|
|
13
|
+
*/
|
|
14
|
+
export type PromptsCapability = {
|
|
15
|
+
listChanged?: boolean | null | undefined;
|
|
16
|
+
[additionalProperties: string]: unknown;
|
|
17
|
+
};
|
|
18
|
+
|
|
19
|
+
/** @internal */
|
|
20
|
+
export const PromptsCapability$inboundSchema: z.ZodType<
|
|
21
|
+
PromptsCapability,
|
|
22
|
+
unknown
|
|
23
|
+
> = z.object({
|
|
24
|
+
listChanged: z.nullable(z.boolean()).optional(),
|
|
25
|
+
}).catchall(z.any());
|
|
26
|
+
|
|
27
|
+
export function promptsCapabilityFromJSON(
|
|
28
|
+
jsonString: string,
|
|
29
|
+
): SafeParseResult<PromptsCapability, SDKValidationError> {
|
|
30
|
+
return safeParse(
|
|
31
|
+
jsonString,
|
|
32
|
+
(x) => PromptsCapability$inboundSchema.parse(JSON.parse(x)),
|
|
33
|
+
`Failed to parse 'PromptsCapability' from JSON`,
|
|
34
|
+
);
|
|
35
|
+
}
|
|
@@ -8,21 +8,22 @@ import { remap as remap$ } from "../../lib/primitives.js";
|
|
|
8
8
|
import { safeParse } from "../../lib/schemas.js";
|
|
9
9
|
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
10
10
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
11
|
-
import {
|
|
12
|
-
AuthenticationType,
|
|
13
|
-
AuthenticationType$inboundSchema,
|
|
14
|
-
} from "./authenticationtype.js";
|
|
15
11
|
import {
|
|
16
12
|
ConnectorAuthenticationHeader,
|
|
17
13
|
ConnectorAuthenticationHeader$inboundSchema,
|
|
18
14
|
} from "./connectorauthenticationheader.js";
|
|
15
|
+
import {
|
|
16
|
+
OutboundAuthenticationType,
|
|
17
|
+
OutboundAuthenticationType$inboundSchema,
|
|
18
|
+
} from "./outboundauthenticationtype.js";
|
|
19
19
|
|
|
20
20
|
/**
|
|
21
21
|
* Public view of an authentication method, without secrets.
|
|
22
22
|
*/
|
|
23
23
|
export type PublicAuthenticationMethod = {
|
|
24
|
-
methodType:
|
|
24
|
+
methodType: OutboundAuthenticationType;
|
|
25
25
|
headers?: Array<ConnectorAuthenticationHeader> | null | undefined;
|
|
26
|
+
hasDefaultCredentials: boolean;
|
|
26
27
|
};
|
|
27
28
|
|
|
28
29
|
/** @internal */
|
|
@@ -30,12 +31,14 @@ export const PublicAuthenticationMethod$inboundSchema: z.ZodType<
|
|
|
30
31
|
PublicAuthenticationMethod,
|
|
31
32
|
unknown
|
|
32
33
|
> = z.object({
|
|
33
|
-
method_type:
|
|
34
|
+
method_type: OutboundAuthenticationType$inboundSchema,
|
|
34
35
|
headers: z.nullable(z.array(ConnectorAuthenticationHeader$inboundSchema))
|
|
35
36
|
.optional(),
|
|
37
|
+
has_default_credentials: z.boolean(),
|
|
36
38
|
}).transform((v) => {
|
|
37
39
|
return remap$(v, {
|
|
38
40
|
"method_type": "methodType",
|
|
41
|
+
"has_default_credentials": "hasDefaultCredentials",
|
|
39
42
|
});
|
|
40
43
|
});
|
|
41
44
|
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
* @generated-id: 262fdf294dc4
|
|
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 {
|
|
12
|
+
ConnectionConfigType,
|
|
13
|
+
ConnectionConfigType$inboundSchema,
|
|
14
|
+
} from "./connectionconfigtype.js";
|
|
15
|
+
|
|
16
|
+
export type PublicConnectionConfig = {
|
|
17
|
+
type?: ConnectionConfigType | undefined;
|
|
18
|
+
baseUrl?: string | null | undefined;
|
|
19
|
+
headers?: { [k: string]: string } | null | undefined;
|
|
20
|
+
signed?: boolean | null | undefined;
|
|
21
|
+
};
|
|
22
|
+
|
|
23
|
+
/** @internal */
|
|
24
|
+
export const PublicConnectionConfig$inboundSchema: z.ZodType<
|
|
25
|
+
PublicConnectionConfig,
|
|
26
|
+
unknown
|
|
27
|
+
> = z.object({
|
|
28
|
+
type: ConnectionConfigType$inboundSchema.optional(),
|
|
29
|
+
base_url: z.nullable(z.string()).optional(),
|
|
30
|
+
headers: z.nullable(z.record(z.string(), z.string())).optional(),
|
|
31
|
+
signed: z.nullable(z.boolean()).optional(),
|
|
32
|
+
}).transform((v) => {
|
|
33
|
+
return remap$(v, {
|
|
34
|
+
"base_url": "baseUrl",
|
|
35
|
+
});
|
|
36
|
+
});
|
|
37
|
+
|
|
38
|
+
export function publicConnectionConfigFromJSON(
|
|
39
|
+
jsonString: string,
|
|
40
|
+
): SafeParseResult<PublicConnectionConfig, SDKValidationError> {
|
|
41
|
+
return safeParse(
|
|
42
|
+
jsonString,
|
|
43
|
+
(x) => PublicConnectionConfig$inboundSchema.parse(JSON.parse(x)),
|
|
44
|
+
`Failed to parse 'PublicConnectionConfig' from JSON`,
|
|
45
|
+
);
|
|
46
|
+
}
|