@mistralai/mistralai 2.2.1 → 2.2.6
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 +88 -2
- package/esm/extra/observability/formatting.d.ts +40 -0
- package/esm/extra/observability/formatting.d.ts.map +1 -0
- package/esm/extra/observability/formatting.js +187 -0
- package/esm/extra/observability/formatting.js.map +1 -0
- package/esm/extra/observability/index.d.ts +3 -0
- package/esm/extra/observability/index.d.ts.map +1 -0
- package/esm/extra/observability/index.js +3 -0
- package/esm/extra/observability/index.js.map +1 -0
- package/esm/extra/observability/otel.d.ts +59 -0
- package/esm/extra/observability/otel.d.ts.map +1 -0
- package/esm/extra/observability/otel.js +578 -0
- package/esm/extra/observability/otel.js.map +1 -0
- package/esm/extra/observability/streaming.d.ts +25 -0
- package/esm/extra/observability/streaming.d.ts.map +1 -0
- package/esm/extra/observability/streaming.js +142 -0
- package/esm/extra/observability/streaming.js.map +1 -0
- 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 +3 -1
- package/esm/funcs/betaConnectorsGetAuthUrl.js.map +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/betaObservabilityLogsFetchOptions.d.ts +16 -0
- package/esm/funcs/betaObservabilityLogsFetchOptions.d.ts.map +1 -0
- package/esm/funcs/betaObservabilityLogsFetchOptions.js +94 -0
- package/esm/funcs/betaObservabilityLogsFetchOptions.js.map +1 -0
- package/esm/funcs/betaObservabilityLogsList.d.ts +15 -0
- package/esm/funcs/betaObservabilityLogsList.d.ts.map +1 -0
- package/esm/funcs/betaObservabilityLogsList.js +71 -0
- package/esm/funcs/betaObservabilityLogsList.js.map +1 -0
- package/esm/funcs/betaObservabilityLogsSearch.d.ts +16 -0
- package/esm/funcs/betaObservabilityLogsSearch.d.ts.map +1 -0
- package/esm/funcs/betaObservabilityLogsSearch.js +90 -0
- package/esm/funcs/betaObservabilityLogsSearch.js.map +1 -0
- package/esm/funcs/betaObservabilitySpansFetchSpanEvalFieldOptions.d.ts +16 -0
- package/esm/funcs/betaObservabilitySpansFetchSpanEvalFieldOptions.d.ts.map +1 -0
- package/esm/funcs/betaObservabilitySpansFetchSpanEvalFieldOptions.js +94 -0
- package/esm/funcs/betaObservabilitySpansFetchSpanEvalFieldOptions.js.map +1 -0
- package/esm/funcs/betaObservabilitySpansFetchSpanFieldOptions.d.ts +16 -0
- package/esm/funcs/betaObservabilitySpansFetchSpanFieldOptions.d.ts.map +1 -0
- package/esm/funcs/betaObservabilitySpansFetchSpanFieldOptions.js +94 -0
- package/esm/funcs/betaObservabilitySpansFetchSpanFieldOptions.js.map +1 -0
- package/esm/funcs/betaObservabilitySpansListSpanEvalFields.d.ts +15 -0
- package/esm/funcs/betaObservabilitySpansListSpanEvalFields.d.ts.map +1 -0
- package/esm/funcs/betaObservabilitySpansListSpanEvalFields.js +71 -0
- package/esm/funcs/betaObservabilitySpansListSpanEvalFields.js.map +1 -0
- package/esm/funcs/betaObservabilitySpansListSpanFields.d.ts +15 -0
- package/esm/funcs/betaObservabilitySpansListSpanFields.d.ts.map +1 -0
- package/esm/funcs/betaObservabilitySpansListSpanFields.js +71 -0
- package/esm/funcs/betaObservabilitySpansListSpanFields.js.map +1 -0
- package/esm/funcs/betaObservabilitySpansSearchLatestSpanEvaluations.d.ts +16 -0
- package/esm/funcs/betaObservabilitySpansSearchLatestSpanEvaluations.d.ts.map +1 -0
- package/esm/funcs/betaObservabilitySpansSearchLatestSpanEvaluations.js +93 -0
- package/esm/funcs/betaObservabilitySpansSearchLatestSpanEvaluations.js.map +1 -0
- package/esm/funcs/betaObservabilitySpansSearchSpanEvaluations.d.ts +16 -0
- package/esm/funcs/betaObservabilitySpansSearchSpanEvaluations.d.ts.map +1 -0
- package/esm/funcs/betaObservabilitySpansSearchSpanEvaluations.js +93 -0
- package/esm/funcs/betaObservabilitySpansSearchSpanEvaluations.js.map +1 -0
- package/esm/funcs/betaObservabilitySpansSearchSpans.d.ts +16 -0
- package/esm/funcs/betaObservabilitySpansSearchSpans.d.ts.map +1 -0
- package/esm/funcs/betaObservabilitySpansSearchSpans.js +90 -0
- package/esm/funcs/betaObservabilitySpansSearchSpans.js.map +1 -0
- package/esm/funcs/betaObservabilityTracesFetchOptions.d.ts +16 -0
- package/esm/funcs/betaObservabilityTracesFetchOptions.d.ts.map +1 -0
- package/esm/funcs/betaObservabilityTracesFetchOptions.js +94 -0
- package/esm/funcs/betaObservabilityTracesFetchOptions.js.map +1 -0
- package/esm/funcs/betaObservabilityTracesGetSpanById.d.ts +16 -0
- package/esm/funcs/betaObservabilityTracesGetSpanById.d.ts.map +1 -0
- package/esm/funcs/betaObservabilityTracesGetSpanById.js +98 -0
- package/esm/funcs/betaObservabilityTracesGetSpanById.js.map +1 -0
- package/esm/funcs/betaObservabilityTracesGetTraceById.d.ts +16 -0
- package/esm/funcs/betaObservabilityTracesGetTraceById.d.ts.map +1 -0
- package/esm/funcs/betaObservabilityTracesGetTraceById.js +89 -0
- package/esm/funcs/betaObservabilityTracesGetTraceById.js.map +1 -0
- package/esm/funcs/betaObservabilityTracesGetTraceFields.d.ts +15 -0
- package/esm/funcs/betaObservabilityTracesGetTraceFields.d.ts.map +1 -0
- package/esm/funcs/betaObservabilityTracesGetTraceFields.js +71 -0
- package/esm/funcs/betaObservabilityTracesGetTraceFields.js.map +1 -0
- package/esm/funcs/betaObservabilityTracesGetTraceSpans.d.ts +16 -0
- package/esm/funcs/betaObservabilityTracesGetTraceSpans.d.ts.map +1 -0
- package/esm/funcs/betaObservabilityTracesGetTraceSpans.js +96 -0
- package/esm/funcs/betaObservabilityTracesGetTraceSpans.js.map +1 -0
- package/esm/funcs/betaObservabilityTracesSearch.d.ts +16 -0
- package/esm/funcs/betaObservabilityTracesSearch.d.ts.map +1 -0
- package/esm/funcs/betaObservabilityTracesSearch.js +91 -0
- package/esm/funcs/betaObservabilityTracesSearch.js.map +1 -0
- 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 +6 -1
- package/esm/funcs/workflowsDeploymentsListDeployments.js.map +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/workflowsExecutionsGetWorkflowExecutionLogs.d.ts +24 -0
- package/esm/funcs/workflowsExecutionsGetWorkflowExecutionLogs.d.ts.map +1 -0
- package/esm/funcs/workflowsExecutionsGetWorkflowExecutionLogs.js +105 -0
- package/esm/funcs/workflowsExecutionsGetWorkflowExecutionLogs.js.map +1 -0
- 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/workflowsExecutionsStreamWorkflowExecutionLogs.d.ts +22 -0
- package/esm/funcs/workflowsExecutionsStreamWorkflowExecutionLogs.d.ts.map +1 -0
- package/esm/funcs/workflowsExecutionsStreamWorkflowExecutionLogs.js +110 -0
- package/esm/funcs/workflowsExecutionsStreamWorkflowExecutionLogs.js.map +1 -0
- 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 +7 -1
- package/esm/funcs/workflowsGetWorkflows.js.map +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 +8 -1
- package/esm/funcs/workflowsRunsListRuns.js.map +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/workflowsSchedulesTriggerSchedule.d.ts +15 -0
- package/esm/funcs/workflowsSchedulesTriggerSchedule.d.ts.map +1 -0
- package/esm/funcs/workflowsSchedulesTriggerSchedule.js +92 -0
- package/esm/funcs/workflowsSchedulesTriggerSchedule.js.map +1 -0
- 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/hooks/registration.d.ts.map +1 -1
- package/esm/hooks/registration.js +6 -0
- package/esm/hooks/registration.js.map +1 -1
- package/esm/hooks/tracing.d.ts +21 -0
- package/esm/hooks/tracing.d.ts.map +1 -0
- package/esm/hooks/tracing.js +104 -0
- package/esm/hooks/tracing.js.map +1 -0
- 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/authdata.d.ts +2 -2
- package/esm/models/components/authdata.d.ts.map +1 -1
- package/esm/models/components/authdata.js +1 -1
- package/esm/models/components/authdata.js.map +1 -1
- package/esm/models/components/authenticationconfiguration.d.ts +6 -2
- package/esm/models/components/authenticationconfiguration.d.ts.map +1 -1
- package/esm/models/components/authenticationconfiguration.js +6 -2
- package/esm/models/components/authenticationconfiguration.js.map +1 -1
- package/esm/models/components/authstatus.d.ts +11 -0
- package/esm/models/components/authstatus.d.ts.map +1 -0
- package/esm/models/components/authstatus.js +13 -0
- package/esm/models/components/authstatus.js.map +1 -0
- package/esm/models/components/basefielddefinition.d.ts +8 -8
- package/esm/models/components/basefielddefinition.d.ts.map +1 -1
- package/esm/models/components/basefielddefinition.js +6 -7
- 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/completiontokensdetails.d.ts +13 -0
- package/esm/models/components/completiontokensdetails.d.ts.map +1 -0
- package/esm/models/components/completiontokensdetails.js +19 -0
- package/esm/models/components/completiontokensdetails.js.map +1 -0
- 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/connectioncredentials.d.ts +2 -0
- package/esm/models/components/connectioncredentials.d.ts.map +1 -1
- package/esm/models/components/connectioncredentials.js +2 -0
- package/esm/models/components/connectioncredentials.js.map +1 -1
- 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 +11 -0
- package/esm/models/components/connectorprotocol.d.ts.map +1 -0
- package/esm/models/components/connectorprotocol.js +13 -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 +18 -0
- package/esm/models/components/createconnectorrequest.d.ts.map +1 -1
- package/esm/models/components/createconnectorrequest.js +8 -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/credentialsstatus.d.ts +15 -0
- package/esm/models/components/credentialsstatus.d.ts.map +1 -0
- package/esm/models/components/credentialsstatus.js +27 -0
- package/esm/models/components/credentialsstatus.js.map +1 -0
- 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/deploymentdetailresponse.d.ts +4 -0
- package/esm/models/components/deploymentdetailresponse.d.ts.map +1 -1
- package/esm/models/components/deploymentdetailresponse.js +2 -0
- package/esm/models/components/deploymentdetailresponse.js.map +1 -1
- package/esm/models/components/deploymentlistresponse.d.ts +8 -0
- package/esm/models/components/deploymentlistresponse.d.ts.map +1 -1
- package/esm/models/components/deploymentlistresponse.js +8 -0
- package/esm/models/components/deploymentlistresponse.js.map +1 -1
- package/esm/models/components/deploymentresponse.d.ts +4 -0
- package/esm/models/components/deploymentresponse.d.ts.map +1 -1
- package/esm/models/components/deploymentresponse.js +2 -0
- package/esm/models/components/deploymentresponse.js.map +1 -1
- 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 +6 -3
- package/esm/models/components/encodedpayloadoptions.d.ts.map +1 -1
- package/esm/models/components/encodedpayloadoptions.js +5 -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/executionlogrecord.d.ts +17 -0
- package/esm/models/components/executionlogrecord.d.ts.map +1 -0
- package/esm/models/components/executionlogrecord.js +27 -0
- package/esm/models/components/executionlogrecord.js.map +1 -0
- package/esm/models/components/executionlogsearchresponse.d.ts +12 -0
- package/esm/models/components/executionlogsearchresponse.d.ts.map +1 -0
- package/esm/models/components/executionlogsearchresponse.js +21 -0
- package/esm/models/components/executionlogsearchresponse.js.map +1 -0
- package/esm/models/components/extendedoauthservermetadata.d.ts +64 -0
- package/esm/models/components/extendedoauthservermetadata.d.ts.map +1 -0
- package/esm/models/components/extendedoauthservermetadata.js +64 -0
- package/esm/models/components/extendedoauthservermetadata.js.map +1 -0
- package/esm/models/components/feedresultgetlog.d.ts +13 -0
- package/esm/models/components/feedresultgetlog.d.ts.map +1 -0
- package/esm/models/components/feedresultgetlog.js +17 -0
- package/esm/models/components/feedresultgetlog.js.map +1 -0
- package/esm/models/components/feedresultgetspan.d.ts +13 -0
- package/esm/models/components/feedresultgetspan.d.ts.map +1 -0
- package/esm/models/components/feedresultgetspan.js +17 -0
- package/esm/models/components/feedresultgetspan.js.map +1 -0
- package/esm/models/components/feedresultgetspanevaluation.d.ts +13 -0
- package/esm/models/components/feedresultgetspanevaluation.d.ts.map +1 -0
- package/esm/models/components/feedresultgetspanevaluation.js +17 -0
- package/esm/models/components/feedresultgetspanevaluation.js.map +1 -0
- package/esm/models/components/feedresultgettrace.d.ts +13 -0
- package/esm/models/components/feedresultgettrace.d.ts.map +1 -0
- package/esm/models/components/feedresultgettrace.js +17 -0
- package/esm/models/components/feedresultgettrace.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/getlog.d.ts +35 -0
- package/esm/models/components/getlog.d.ts.map +1 -0
- package/esm/models/components/getlog.js +55 -0
- package/esm/models/components/getlog.js.map +1 -0
- package/esm/models/components/getlogfieldoptions.d.ts +10 -0
- package/esm/models/components/getlogfieldoptions.d.ts.map +1 -0
- package/esm/models/components/getlogfieldoptions.js +14 -0
- package/esm/models/components/getlogfieldoptions.js.map +1 -0
- package/esm/models/components/getlogfields.d.ts +11 -0
- package/esm/models/components/getlogfields.d.ts.map +1 -0
- package/esm/models/components/getlogfields.js +21 -0
- package/esm/models/components/getlogfields.js.map +1 -0
- package/esm/models/components/getlogs.d.ts +11 -0
- package/esm/models/components/getlogs.d.ts.map +1 -0
- package/esm/models/components/getlogs.js +15 -0
- package/esm/models/components/getlogs.js.map +1 -0
- package/esm/models/components/getspan.d.ts +81 -0
- package/esm/models/components/getspan.d.ts.map +1 -0
- package/esm/models/components/getspan.js +143 -0
- package/esm/models/components/getspan.js.map +1 -0
- package/esm/models/components/getspanevaluation.d.ts +25 -0
- package/esm/models/components/getspanevaluation.d.ts.map +1 -0
- package/esm/models/components/getspanevaluation.js +42 -0
- package/esm/models/components/getspanevaluation.js.map +1 -0
- package/esm/models/components/getspanevaluationfieldoptions.d.ts +10 -0
- package/esm/models/components/getspanevaluationfieldoptions.d.ts.map +1 -0
- package/esm/models/components/getspanevaluationfieldoptions.js +14 -0
- package/esm/models/components/getspanevaluationfieldoptions.js.map +1 -0
- package/esm/models/components/getspanevaluationfields.d.ts +11 -0
- package/esm/models/components/getspanevaluationfields.d.ts.map +1 -0
- package/esm/models/components/getspanevaluationfields.js +20 -0
- package/esm/models/components/getspanevaluationfields.js.map +1 -0
- package/esm/models/components/getspanevaluations.d.ts +11 -0
- package/esm/models/components/getspanevaluations.d.ts.map +1 -0
- package/esm/models/components/getspanevaluations.js +20 -0
- package/esm/models/components/getspanevaluations.js.map +1 -0
- package/esm/models/components/getspanfieldoptions.d.ts +10 -0
- package/esm/models/components/getspanfieldoptions.d.ts.map +1 -0
- package/esm/models/components/getspanfieldoptions.js +14 -0
- package/esm/models/components/getspanfieldoptions.js.map +1 -0
- package/esm/models/components/getspanfields.d.ts +11 -0
- package/esm/models/components/getspanfields.d.ts.map +1 -0
- package/esm/models/components/getspanfields.js +21 -0
- package/esm/models/components/getspanfields.js.map +1 -0
- package/esm/models/components/getspans.d.ts +11 -0
- package/esm/models/components/getspans.d.ts.map +1 -0
- package/esm/models/components/getspans.js +15 -0
- package/esm/models/components/getspans.js.map +1 -0
- package/esm/models/components/gettrace.d.ts +51 -0
- package/esm/models/components/gettrace.d.ts.map +1 -0
- package/esm/models/components/gettrace.js +91 -0
- package/esm/models/components/gettrace.js.map +1 -0
- package/esm/models/components/gettracefieldoptions.d.ts +10 -0
- package/esm/models/components/gettracefieldoptions.d.ts.map +1 -0
- package/esm/models/components/gettracefieldoptions.js +14 -0
- package/esm/models/components/gettracefieldoptions.js.map +1 -0
- package/esm/models/components/gettracefields.d.ts +11 -0
- package/esm/models/components/gettracefields.d.ts.map +1 -0
- package/esm/models/components/gettracefields.js +20 -0
- package/esm/models/components/gettracefields.js.map +1 -0
- package/esm/models/components/gettraces.d.ts +11 -0
- package/esm/models/components/gettraces.d.ts.map +1 -0
- package/esm/models/components/gettraces.js +15 -0
- package/esm/models/components/gettraces.js.map +1 -0
- package/esm/models/components/httpstatus.d.ts +112 -0
- package/esm/models/components/httpstatus.d.ts.map +1 -0
- package/esm/models/components/httpstatus.js +93 -0
- package/esm/models/components/httpstatus.js.map +1 -0
- package/esm/models/components/index.d.ts +93 -1
- package/esm/models/components/index.d.ts.map +1 -1
- package/esm/models/components/index.js +93 -1
- 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/logsrequest.d.ts +22 -0
- package/esm/models/components/logsrequest.d.ts.map +1 -0
- package/esm/models/components/logsrequest.js +25 -0
- package/esm/models/components/logsrequest.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/mcpservercardtool.d.ts +27 -0
- package/esm/models/components/mcpservercardtool.d.ts.map +1 -0
- package/esm/models/components/mcpservercardtool.js +31 -0
- package/esm/models/components/mcpservercardtool.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/observabilityerrorcode.d.ts +0 -1
- package/esm/models/components/observabilityerrorcode.d.ts.map +1 -1
- package/esm/models/components/observabilityerrorcode.js +0 -1
- package/esm/models/components/observabilityerrorcode.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/otelfielddefinition.d.ts +57 -0
- package/esm/models/components/otelfielddefinition.d.ts.map +1 -0
- package/esm/models/components/otelfielddefinition.js +64 -0
- package/esm/models/components/otelfielddefinition.js.map +1 -0
- package/esm/models/components/outboundauthenticationtype.d.ts +15 -0
- package/esm/models/components/outboundauthenticationtype.d.ts.map +1 -0
- package/esm/models/components/outboundauthenticationtype.js +17 -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/prompttokensdetails.d.ts +1 -0
- package/esm/models/components/prompttokensdetails.d.ts.map +1 -1
- package/esm/models/components/prompttokensdetails.js +2 -0
- package/esm/models/components/prompttokensdetails.js.map +1 -1
- 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/reasoningeffort.d.ts +4 -0
- package/esm/models/components/reasoningeffort.d.ts.map +1 -1
- package/esm/models/components/reasoningeffort.js +4 -0
- package/esm/models/components/reasoningeffort.js.map +1 -1
- 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/serverlocale.d.ts +24 -0
- package/esm/models/components/serverlocale.d.ts.map +1 -0
- package/esm/models/components/serverlocale.js +27 -0
- 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/spanevaluationsrequest.d.ts +12 -0
- package/esm/models/components/spanevaluationsrequest.d.ts.map +1 -0
- package/esm/models/components/spanevaluationsrequest.js +18 -0
- package/esm/models/components/spanevaluationsrequest.js.map +1 -0
- package/esm/models/components/spansrequest.d.ts +12 -0
- package/esm/models/components/spansrequest.d.ts.map +1 -0
- package/esm/models/components/spansrequest.js +18 -0
- package/esm/models/components/spansrequest.js.map +1 -0
- package/esm/models/components/streamerror.d.ts +10 -0
- package/esm/models/components/streamerror.d.ts.map +1 -0
- package/esm/models/components/streamerror.js +15 -0
- package/esm/models/components/streamerror.js.map +1 -0
- 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/tracesrequest.d.ts +12 -0
- package/esm/models/components/tracesrequest.d.ts.map +1 -0
- package/esm/models/components/tracesrequest.js +18 -0
- package/esm/models/components/tracesrequest.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 +7 -0
- package/esm/models/components/updateconnectorrequest.d.ts.map +1 -1
- package/esm/models/components/updateconnectorrequest.js +2 -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/usageinfodollardefs.d.ts +2 -0
- package/esm/models/components/usageinfodollardefs.d.ts.map +1 -1
- package/esm/models/components/usageinfodollardefs.js +4 -0
- package/esm/models/components/usageinfodollardefs.js.map +1 -1
- 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/voicecreaterequest.d.ts +2 -0
- package/esm/models/components/voicecreaterequest.d.ts.map +1 -1
- package/esm/models/components/voicecreaterequest.js +1 -0
- package/esm/models/components/voicecreaterequest.js.map +1 -1
- package/esm/models/components/voiceresponse.d.ts +2 -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 +2 -0
- package/esm/models/components/voiceupdaterequest.d.ts.map +1 -1
- package/esm/models/components/voiceupdaterequest.js +1 -0
- package/esm/models/components/voiceupdaterequest.js.map +1 -1
- package/esm/models/components/workflow.d.ts +4 -4
- package/esm/models/components/workflow.d.ts.map +1 -1
- package/esm/models/components/workflow.js +1 -2
- package/esm/models/components/workflow.js.map +1 -1
- package/esm/models/components/workflowbasicdefinition.d.ts +4 -0
- package/esm/models/components/workflowbasicdefinition.d.ts.map +1 -1
- package/esm/models/components/workflowbasicdefinition.js +1 -0
- package/esm/models/components/workflowbasicdefinition.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/workflowcodedefinition.d.ts +4 -0
- package/esm/models/components/workflowcodedefinition.d.ts.map +1 -1
- package/esm/models/components/workflowcodedefinition.js +2 -0
- package/esm/models/components/workflowcodedefinition.js.map +1 -1
- 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/workflowscheduletriggerrequest.d.ts +16 -0
- package/esm/models/components/workflowscheduletriggerrequest.d.ts.map +1 -0
- package/esm/models/components/workflowscheduletriggerrequest.js +14 -0
- package/esm/models/components/workflowscheduletriggerrequest.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/components/workflowupdaterequest.d.ts +5 -0
- package/esm/models/components/workflowupdaterequest.d.ts.map +1 -1
- package/esm/models/components/workflowupdaterequest.js +1 -0
- package/esm/models/components/workflowupdaterequest.js.map +1 -1
- package/esm/models/components/workflowwithworkerstatus.d.ts +4 -4
- package/esm/models/components/workflowwithworkerstatus.d.ts.map +1 -1
- package/esm/models/components/workflowwithworkerstatus.js +1 -2
- package/esm/models/components/workflowwithworkerstatus.js.map +1 -1
- 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/connectorgetauthurlv1.d.ts +11 -0
- package/esm/models/operations/connectorgetauthurlv1.d.ts.map +1 -1
- package/esm/models/operations/connectorgetauthurlv1.js +5 -0
- package/esm/models/operations/connectorgetauthurlv1.js.map +1 -1
- 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/getlogfieldoptionsv1observabilitylogsfieldsfieldnameoptionsget.d.ts +16 -0
- package/esm/models/operations/getlogfieldoptionsv1observabilitylogsfieldsfieldnameoptionsget.d.ts.map +1 -0
- package/esm/models/operations/getlogfieldoptionsv1observabilitylogsfieldsfieldnameoptionsget.js +21 -0
- package/esm/models/operations/getlogfieldoptionsv1observabilitylogsfieldsfieldnameoptionsget.js.map +1 -0
- 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/getspanbyidv1observabilitytracestraceidspansspanidget.d.ts +18 -0
- package/esm/models/operations/getspanbyidv1observabilitytracestraceidspansspanidget.d.ts.map +1 -0
- package/esm/models/operations/getspanbyidv1observabilitytracestraceidspansspanidget.js +23 -0
- package/esm/models/operations/getspanbyidv1observabilitytracestraceidspansspanidget.js.map +1 -0
- package/esm/models/operations/getspanevaluationfieldoptionsv1observabilityspansevaluationsfieldsfieldnameoptionsget.d.ts +16 -0
- package/esm/models/operations/getspanevaluationfieldoptionsv1observabilityspansevaluationsfieldsfieldnameoptionsget.d.ts.map +1 -0
- package/esm/models/operations/getspanevaluationfieldoptionsv1observabilityspansevaluationsfieldsfieldnameoptionsget.js +21 -0
- package/esm/models/operations/getspanevaluationfieldoptionsv1observabilityspansevaluationsfieldsfieldnameoptionsget.js.map +1 -0
- package/esm/models/operations/getspanfieldoptionsv1observabilityspansfieldsfieldnameoptionsget.d.ts +16 -0
- package/esm/models/operations/getspanfieldoptionsv1observabilityspansfieldsfieldnameoptionsget.d.ts.map +1 -0
- package/esm/models/operations/getspanfieldoptionsv1observabilityspansfieldsfieldnameoptionsget.js +21 -0
- package/esm/models/operations/getspanfieldoptionsv1observabilityspansfieldsfieldnameoptionsget.js.map +1 -0
- package/esm/models/operations/gettracebyidv1observabilitytracestraceidget.d.ts +12 -0
- package/esm/models/operations/gettracebyidv1observabilitytracestraceidget.d.ts.map +1 -0
- package/esm/models/operations/gettracebyidv1observabilitytracestraceidget.js +18 -0
- package/esm/models/operations/gettracebyidv1observabilitytracestraceidget.js.map +1 -0
- package/esm/models/operations/gettracefieldoptionsv1observabilitytracesfieldsfieldnameoptionsget.d.ts +16 -0
- package/esm/models/operations/gettracefieldoptionsv1observabilitytracesfieldsfieldnameoptionsget.d.ts.map +1 -0
- package/esm/models/operations/gettracefieldoptionsv1observabilitytracesfieldsfieldnameoptionsget.js +21 -0
- package/esm/models/operations/gettracefieldoptionsv1observabilitytracesfieldsfieldnameoptionsget.js.map +1 -0
- package/esm/models/operations/gettracespansv1observabilitytracestraceidspansget.d.ts +20 -0
- package/esm/models/operations/gettracespansv1observabilitytracestraceidspansget.d.ts.map +1 -0
- package/esm/models/operations/gettracespansv1observabilitytracestraceidspansget.js +24 -0
- package/esm/models/operations/gettracespansv1observabilitytracestraceidspansget.js.map +1 -0
- package/esm/models/operations/getworkflowexecutionlogs.d.ts +61 -0
- package/esm/models/operations/getworkflowexecutionlogs.d.ts.map +1 -0
- package/esm/models/operations/getworkflowexecutionlogs.js +36 -0
- package/esm/models/operations/getworkflowexecutionlogs.js.map +1 -0
- package/esm/models/operations/getworkflowsv1workflowsget.d.ts +71 -3
- package/esm/models/operations/getworkflowsv1workflowsget.d.ts.map +1 -1
- package/esm/models/operations/getworkflowsv1workflowsget.js +41 -2
- package/esm/models/operations/getworkflowsv1workflowsget.js.map +1 -1
- package/esm/models/operations/index.d.ts +29 -0
- package/esm/models/operations/index.d.ts.map +1 -1
- package/esm/models/operations/index.js +29 -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/listdeploymentsv1workflowsdeploymentsget.d.ts +25 -0
- package/esm/models/operations/listdeploymentsv1workflowsdeploymentsget.d.ts.map +1 -1
- package/esm/models/operations/listdeploymentsv1workflowsdeploymentsget.js +7 -0
- package/esm/models/operations/listdeploymentsv1workflowsdeploymentsget.js.map +1 -1
- package/esm/models/operations/listrunsv1workflowsrunsget.d.ts +63 -1
- package/esm/models/operations/listrunsv1workflowsrunsget.d.ts.map +1 -1
- package/esm/models/operations/listrunsv1workflowsrunsget.js +34 -0
- package/esm/models/operations/listrunsv1workflowsrunsget.js.map +1 -1
- 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/searchlatestspanevaluationsv1observabilityspansevaluationssearchlatestpost.d.ts +21 -0
- package/esm/models/operations/searchlatestspanevaluationsv1observabilityspansevaluationssearchlatestpost.d.ts.map +1 -0
- package/esm/models/operations/searchlatestspanevaluationsv1observabilityspansevaluationssearchlatestpost.js +25 -0
- package/esm/models/operations/searchlatestspanevaluationsv1observabilityspansevaluationssearchlatestpost.js.map +1 -0
- package/esm/models/operations/searchlogsv1observabilitylogssearchpost.d.ts +21 -0
- package/esm/models/operations/searchlogsv1observabilitylogssearchpost.d.ts.map +1 -0
- package/esm/models/operations/searchlogsv1observabilitylogssearchpost.js +24 -0
- package/esm/models/operations/searchlogsv1observabilitylogssearchpost.js.map +1 -0
- package/esm/models/operations/searchspanevaluationsv1observabilityspansevaluationssearchpost.d.ts +21 -0
- package/esm/models/operations/searchspanevaluationsv1observabilityspansevaluationssearchpost.d.ts.map +1 -0
- package/esm/models/operations/searchspanevaluationsv1observabilityspansevaluationssearchpost.js +25 -0
- package/esm/models/operations/searchspanevaluationsv1observabilityspansevaluationssearchpost.js.map +1 -0
- package/esm/models/operations/searchspansv1observabilityspanssearchpost.d.ts +21 -0
- package/esm/models/operations/searchspansv1observabilityspanssearchpost.d.ts.map +1 -0
- package/esm/models/operations/searchspansv1observabilityspanssearchpost.js +24 -0
- package/esm/models/operations/searchspansv1observabilityspanssearchpost.js.map +1 -0
- package/esm/models/operations/searchtracesv1observabilitytracessearchpost.d.ts +21 -0
- package/esm/models/operations/searchtracesv1observabilitytracessearchpost.d.ts.map +1 -0
- package/esm/models/operations/searchtracesv1observabilitytracessearchpost.js +24 -0
- package/esm/models/operations/searchtracesv1observabilitytracessearchpost.js.map +1 -0
- package/esm/models/operations/speechv1audiospeechpost.d.ts +3 -3
- package/esm/models/operations/speechv1audiospeechpost.d.ts.map +1 -1
- package/esm/models/operations/speechv1audiospeechpost.js +3 -3
- package/esm/models/operations/speechv1audiospeechpost.js.map +1 -1
- package/esm/models/operations/streamworkflowexecutionlogs.d.ts +58 -0
- package/esm/models/operations/streamworkflowexecutionlogs.d.ts.map +1 -0
- package/esm/models/operations/streamworkflowexecutionlogs.js +70 -0
- package/esm/models/operations/streamworkflowexecutionlogs.js.map +1 -0
- package/esm/models/operations/triggerschedulev1workflowsschedulesscheduleidtriggerpost.d.ts +15 -0
- package/esm/models/operations/triggerschedulev1workflowsschedulesscheduleidtriggerpost.d.ts.map +1 -0
- package/esm/models/operations/triggerschedulev1workflowsschedulesscheduleidtriggerpost.js +22 -0
- package/esm/models/operations/triggerschedulev1workflowsschedulesscheduleidtriggerpost.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/executions.d.ts +22 -0
- package/esm/sdk/executions.d.ts.map +1 -1
- package/esm/sdk/executions.js +28 -0
- package/esm/sdk/executions.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/logs.d.ts +18 -0
- package/esm/sdk/logs.d.ts.map +1 -0
- package/esm/sdk/logs.js +30 -0
- package/esm/sdk/logs.js.map +1 -0
- package/esm/sdk/observability.d.ts +9 -0
- package/esm/sdk/observability.d.ts.map +1 -1
- package/esm/sdk/observability.js +15 -0
- package/esm/sdk/observability.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 +24 -1
- package/esm/sdk/schedules.d.ts.map +1 -1
- package/esm/sdk/schedules.js +38 -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/spans.d.ts +34 -0
- package/esm/sdk/spans.d.ts.map +1 -0
- package/esm/sdk/spans.js +58 -0
- package/esm/sdk/spans.js.map +1 -0
- package/esm/sdk/traces.d.ts +30 -0
- package/esm/sdk/traces.d.ts.map +1 -0
- package/esm/sdk/traces.js +51 -0
- package/esm/sdk/traces.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 +21 -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/observability/formatting.ts +194 -0
- package/src/extra/observability/index.ts +2 -0
- package/src/extra/observability/otel.ts +750 -0
- package/src/extra/observability/streaming.ts +174 -0
- 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 +3 -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/betaObservabilityLogsFetchOptions.ts +192 -0
- package/src/funcs/betaObservabilityLogsList.ts +154 -0
- package/src/funcs/betaObservabilityLogsSearch.ts +183 -0
- package/src/funcs/betaObservabilitySpansFetchSpanEvalFieldOptions.ts +192 -0
- package/src/funcs/betaObservabilitySpansFetchSpanFieldOptions.ts +192 -0
- package/src/funcs/betaObservabilitySpansListSpanEvalFields.ts +155 -0
- package/src/funcs/betaObservabilitySpansListSpanFields.ts +154 -0
- package/src/funcs/betaObservabilitySpansSearchLatestSpanEvaluations.ts +191 -0
- package/src/funcs/betaObservabilitySpansSearchSpanEvaluations.ts +189 -0
- package/src/funcs/betaObservabilitySpansSearchSpans.ts +183 -0
- package/src/funcs/betaObservabilityTracesFetchOptions.ts +192 -0
- package/src/funcs/betaObservabilityTracesGetSpanById.ts +196 -0
- package/src/funcs/betaObservabilityTracesGetTraceById.ts +181 -0
- package/src/funcs/betaObservabilityTracesGetTraceFields.ts +154 -0
- package/src/funcs/betaObservabilityTracesGetTraceSpans.ts +191 -0
- package/src/funcs/betaObservabilityTracesSearch.ts +184 -0
- 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 +6 -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/workflowsExecutionsGetWorkflowExecutionLogs.ts +197 -0
- 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/workflowsExecutionsStreamWorkflowExecutionLogs.ts +207 -0
- 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 +7 -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 +8 -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/workflowsSchedulesTriggerSchedule.ts +186 -0
- 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/hooks/registration.ts +6 -0
- package/src/hooks/tracing.ts +173 -0
- 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/authdata.ts +3 -3
- package/src/models/components/authenticationconfiguration.ts +14 -5
- package/src/models/components/authstatus.ts +19 -0
- package/src/models/components/basefielddefinition.ts +19 -13
- 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/completiontokensdetails.ts +39 -0
- package/src/models/components/completiontrainingparameters.ts +12 -0
- package/src/models/components/connectionconfigtype.ts +21 -0
- package/src/models/components/connectioncredentials.ts +4 -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 +21 -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 +32 -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/credentialsstatus.ts +49 -0
- 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/deploymentdetailresponse.ts +6 -0
- package/src/models/components/deploymentlistresponse.ts +16 -0
- package/src/models/components/deploymentresponse.ts +6 -0
- package/src/models/components/document.ts +20 -0
- package/src/models/components/elicitationcapability.ts +41 -0
- package/src/models/components/encodedpayloadoptions.ts +13 -5
- package/src/models/components/encryptedpatchvalue.ts +43 -0
- package/src/models/components/executionlogrecord.ts +49 -0
- package/src/models/components/executionlogsearchresponse.ts +42 -0
- package/src/models/components/extendedoauthservermetadata.ts +163 -0
- package/src/models/components/feedresultgetlog.ts +36 -0
- package/src/models/components/feedresultgetspan.ts +36 -0
- package/src/models/components/feedresultgetspanevaluation.ts +39 -0
- package/src/models/components/feedresultgettrace.ts +36 -0
- package/src/models/components/fimcompletionrequest.ts +4 -0
- package/src/models/components/fimcompletionstreamrequest.ts +4 -0
- package/src/models/components/getlog.ts +88 -0
- package/src/models/components/getlogfieldoptions.ts +31 -0
- package/src/models/components/getlogfields.ts +38 -0
- package/src/models/components/getlogs.ts +32 -0
- package/src/models/components/getspan.ts +222 -0
- package/src/models/components/getspanevaluation.ts +72 -0
- package/src/models/components/getspanevaluationfieldoptions.ts +31 -0
- package/src/models/components/getspanevaluationfields.ts +40 -0
- package/src/models/components/getspanevaluations.ts +40 -0
- package/src/models/components/getspanfieldoptions.ts +31 -0
- package/src/models/components/getspanfields.ts +38 -0
- package/src/models/components/getspans.ts +32 -0
- package/src/models/components/gettrace.ts +145 -0
- package/src/models/components/gettracefieldoptions.ts +31 -0
- package/src/models/components/gettracefields.ts +38 -0
- package/src/models/components/gettraces.ts +32 -0
- package/src/models/components/httpstatus.ts +120 -0
- package/src/models/components/index.ts +93 -1
- 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/logsrequest.ts +45 -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 +162 -0
- package/src/models/components/mcpservercardmeta.ts +45 -0
- package/src/models/components/mcpservercardtool.ts +60 -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/observabilityerrorcode.ts +0 -1
- package/src/models/components/ocrrequest.ts +0 -3
- package/src/models/components/otelfielddefinition.ts +102 -0
- package/src/models/components/outboundauthenticationtype.ts +30 -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/prompttokensdetails.ts +3 -0
- package/src/models/components/publicauthenticationmethod.ts +9 -6
- package/src/models/components/publicconnectionconfig.ts +46 -0
- package/src/models/components/reasoningeffort.ts +4 -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/spanevaluationsrequest.ts +36 -0
- package/src/models/components/spansrequest.ts +32 -0
- package/src/models/components/streamerror.ts +29 -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/tracesrequest.ts +32 -0
- package/src/models/components/turbinemeta.ts +37 -0
- package/src/models/components/updateconnectorrequest.ts +9 -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/usageinfodollardefs.ts +8 -0
- package/src/models/components/vespaschemaresponse.ts +38 -0
- package/src/models/components/vespasearchindexinforesponse.ts +50 -0
- package/src/models/components/voicecreaterequest.ts +3 -0
- package/src/models/components/voiceresponse.ts +5 -0
- package/src/models/components/voiceupdaterequest.ts +3 -0
- package/src/models/components/workflow.ts +5 -6
- package/src/models/components/workflowbasicdefinition.ts +5 -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/workflowcodedefinition.ts +6 -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/workflowscheduletriggerrequest.ts +40 -0
- package/src/models/components/workflowscheduleupdaterequest.ts +46 -0
- package/src/models/components/workflowupdaterequest.ts +6 -0
- package/src/models/components/workflowwithworkerstatus.ts +5 -6
- 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/connectorgetauthurlv1.ts +15 -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/getlogfieldoptionsv1observabilitylogsfieldsfieldnameoptionsget.ts +49 -0
- package/src/models/operations/getschedulesv1workflowsschedulesget.ts +126 -0
- package/src/models/operations/getschedulev1workflowsschedulesscheduleidget.ts +40 -0
- package/src/models/operations/getspanbyidv1observabilitytracestraceidspansspanidget.ts +50 -0
- package/src/models/operations/getspanevaluationfieldoptionsv1observabilityspansevaluationsfieldsfieldnameoptionsget.ts +49 -0
- package/src/models/operations/getspanfieldoptionsv1observabilityspansfieldsfieldnameoptionsget.ts +49 -0
- package/src/models/operations/gettracebyidv1observabilitytracestraceidget.ts +40 -0
- package/src/models/operations/gettracefieldoptionsv1observabilitytracesfieldsfieldnameoptionsget.ts +49 -0
- package/src/models/operations/gettracespansv1observabilitytracestraceidspansget.ts +53 -0
- package/src/models/operations/getworkflowexecutionlogs.ts +102 -0
- package/src/models/operations/getworkflowsv1workflowsget.ts +122 -5
- package/src/models/operations/index.ts +29 -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/listdeploymentsv1workflowsdeploymentsget.ts +32 -0
- package/src/models/operations/listrunsv1workflowsrunsget.ts +87 -1
- package/src/models/operations/pauseschedulev1workflowsschedulesscheduleidpausepost.ts +53 -0
- package/src/models/operations/resumeschedulev1workflowsschedulesscheduleidresumepost.ts +53 -0
- package/src/models/operations/searchlatestspanevaluationsv1observabilityspansevaluationssearchlatestpost.ts +57 -0
- package/src/models/operations/searchlogsv1observabilitylogssearchpost.ts +54 -0
- package/src/models/operations/searchspanevaluationsv1observabilityspansevaluationssearchpost.ts +57 -0
- package/src/models/operations/searchspansv1observabilityspanssearchpost.ts +54 -0
- package/src/models/operations/searchtracesv1observabilitytracessearchpost.ts +54 -0
- package/src/models/operations/speechv1audiospeechpost.ts +12 -12
- package/src/models/operations/streamworkflowexecutionlogs.ts +157 -0
- package/src/models/operations/triggerschedulev1workflowsschedulesscheduleidtriggerpost.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/executions.ts +44 -0
- package/src/sdk/ingestionpipelineconfigurations.ts +35 -0
- package/src/sdk/libraries.ts +22 -2
- package/src/sdk/logs.ts +55 -0
- package/src/sdk/observability.ts +18 -0
- package/src/sdk/rag.ts +6 -0
- package/src/sdk/schedules.ts +89 -2
- package/src/sdk/searchindexes.ts +38 -0
- package/src/sdk/spans.ts +116 -0
- package/src/sdk/traces.ts +102 -0
- package/src/sdk/workflows.ts +30 -0
- package/src/types/async.ts +8 -7
- package/tests/extra/observability/customProvider.test.ts +98 -0
- package/tests/extra/observability/formatting.test.ts +111 -0
- package/tests/extra/observability/helpers.ts +62 -0
- package/tests/extra/observability/otel.test.ts +453 -0
- package/tests/extra/observability/streaming.test.ts +94 -0
- 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/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/packages/mistralai-gcp/src/models/errors/{mistralgoogleclouderror.ts → mistralgcperror.ts} +0 -0
package/esm/types/async.js
CHANGED
|
@@ -8,19 +8,19 @@ export class APIPromise {
|
|
|
8
8
|
[Symbol.toStringTag] = "APIPromise";
|
|
9
9
|
constructor(p) {
|
|
10
10
|
this.#promise = p instanceof Promise ? p : Promise.resolve(p);
|
|
11
|
-
this.#unwrapped =
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
11
|
+
this.#unwrapped = p instanceof Promise ? null : Promise.resolve(p[0]);
|
|
12
|
+
}
|
|
13
|
+
#getUnwrapped() {
|
|
14
|
+
return (this.#unwrapped ?? (this.#unwrapped = this.#promise.then(([value]) => value)));
|
|
15
15
|
}
|
|
16
16
|
then(onfulfilled, onrejected) {
|
|
17
17
|
return this.#promise.then(onfulfilled ? ([value]) => onfulfilled(value) : void 0, onrejected);
|
|
18
18
|
}
|
|
19
19
|
catch(onrejected) {
|
|
20
|
-
return this.#
|
|
20
|
+
return this.#getUnwrapped().catch(onrejected);
|
|
21
21
|
}
|
|
22
22
|
finally(onfinally) {
|
|
23
|
-
return this.#
|
|
23
|
+
return this.#getUnwrapped().finally(onfinally);
|
|
24
24
|
}
|
|
25
25
|
$inspect() {
|
|
26
26
|
return this.#promise;
|
package/esm/types/async.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"async.js","sourceRoot":"","sources":["../../src/types/async.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAmBH,MAAM,OAAO,UAAU;IACZ,QAAQ,CAAwB;
|
|
1
|
+
{"version":3,"file":"async.js","sourceRoot":"","sources":["../../src/types/async.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAmBH,MAAM,OAAO,UAAU;IACZ,QAAQ,CAAwB;IACzC,UAAU,CAAoB;IAErB,CAAC,MAAM,CAAC,WAAW,CAAC,GAAG,YAAY,CAAC;IAE7C,YAAY,CAAuC,EAAE;QACnD,IAAI,CAAC,QAAQ,GAAG,CAAC,YAAY,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC;QAC9D,IAAI,CAAC,UAAU,GAAG,CAAC,YAAY,OAAO,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;IAAA,CACvE;IAED,aAAa,GAAe;QAC1B,OAAO,CAAC,IAAI,CAAC,UAAU,KAAf,IAAI,CAAC,UAAU,GAAK,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC,CAAC,KAAK,CAAC,EAAE,EAAE,CAAC,KAAK,CAAC,EAAC,CAAC;IAAA,CACrE;IAED,IAAI,CACF,WAGa,EACb,UAGa,EACiB;QAC9B,OAAO,IAAI,CAAC,QAAQ,CAAC,IAAI,CACvB,WAAW,CAAC,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,EAAE,EAAE,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,EACtD,UAAU,CACX,CAAC;IAAA,CACH;IAED,KAAK,CACH,UAGa,EACS;QACtB,OAAO,IAAI,CAAC,aAAa,EAAE,CAAC,KAAK,CAAC,UAAU,CAAC,CAAC;IAAA,CAC/C;IAED,OAAO,CAAC,SAA2C,EAAc;QAC/D,OAAO,IAAI,CAAC,aAAa,EAAE,CAAC,OAAO,CAAC,SAAS,CAAC,CAAC;IAAA,CAChD;IAED,QAAQ,GAA0B;QAChC,OAAO,IAAI,CAAC,QAAQ,CAAC;IAAA,CACtB;CACF"}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { Mistral } from "@mistralai/mistralai";
|
|
2
|
+
|
|
3
|
+
const apiKey = process.env["MISTRAL_API_KEY"];
|
|
4
|
+
if (!apiKey) {
|
|
5
|
+
throw new Error("missing MISTRAL_API_KEY environment variable");
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
const client = new Mistral({ apiKey });
|
|
9
|
+
|
|
10
|
+
const chatResponse = await client.chat.complete(
|
|
11
|
+
{
|
|
12
|
+
model: "mistral-medium-3-5",
|
|
13
|
+
messages: [
|
|
14
|
+
{
|
|
15
|
+
role: "user",
|
|
16
|
+
content:
|
|
17
|
+
"John is one of 4 children. The first sister is 4 years old. " +
|
|
18
|
+
"Next year, the second sister will be twice as old as the first sister. " +
|
|
19
|
+
"The third sister is two years older than the second sister. " +
|
|
20
|
+
"The third sister is half the age of her older brother. " +
|
|
21
|
+
"How old is John?",
|
|
22
|
+
},
|
|
23
|
+
],
|
|
24
|
+
reasoningEffort: "high",
|
|
25
|
+
temperature: 0.7,
|
|
26
|
+
},
|
|
27
|
+
// Bump request timeout because reasoning runs can be long.
|
|
28
|
+
{ timeoutMs: 300_000 },
|
|
29
|
+
);
|
|
30
|
+
|
|
31
|
+
// With reasoningEffort="high", message.content is an array of chunks.
|
|
32
|
+
// With reasoningEffort="none", message.content is a plain string.
|
|
33
|
+
const content = chatResponse.choices[0]?.message.content;
|
|
34
|
+
if (typeof content === "string") {
|
|
35
|
+
console.log(content);
|
|
36
|
+
} else {
|
|
37
|
+
for (const chunk of content ?? []) {
|
|
38
|
+
if (chunk.type === "thinking") {
|
|
39
|
+
console.log("--- thinking ---");
|
|
40
|
+
for (const inner of chunk.thinking) {
|
|
41
|
+
if (inner.type === "text") {
|
|
42
|
+
console.log(inner.text);
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
console.log("--- /thinking ---");
|
|
46
|
+
} else if (chunk.type === "text") {
|
|
47
|
+
console.log(chunk.text);
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
}
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
// Multi-turn conversation with a reasoning model.
|
|
2
|
+
//
|
|
3
|
+
// IMPORTANT: for Mistral Medium 3.5, always replay the assistant turn
|
|
4
|
+
// back into `messages` with its ThinkChunks intact. Dropping the
|
|
5
|
+
// reasoning trace across turns DEGRADES the model's performance.
|
|
6
|
+
//
|
|
7
|
+
// This example runs a 3-turn math chain and prints per-turn token
|
|
8
|
+
// usage. The prompt grows as the reasoning trace accumulates; that
|
|
9
|
+
// growth is expected.
|
|
10
|
+
|
|
11
|
+
import { Mistral } from "@mistralai/mistralai";
|
|
12
|
+
import type { ChatCompletionRequestMessage } from "@mistralai/mistralai/models/components";
|
|
13
|
+
|
|
14
|
+
const apiKey = process.env["MISTRAL_API_KEY"];
|
|
15
|
+
if (!apiKey) {
|
|
16
|
+
throw new Error("missing MISTRAL_API_KEY environment variable");
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
const MODEL = "mistral-medium-3-5";
|
|
20
|
+
const TURNS = [
|
|
21
|
+
"What is 17 * 23?",
|
|
22
|
+
"Now multiply that by 3.",
|
|
23
|
+
"And subtract 100 from the result.",
|
|
24
|
+
];
|
|
25
|
+
|
|
26
|
+
function finalText(content: unknown): string {
|
|
27
|
+
if (typeof content === "string") return content;
|
|
28
|
+
if (!Array.isArray(content)) return "";
|
|
29
|
+
return content
|
|
30
|
+
.filter((c): c is { type: "text"; text: string } => c?.type === "text")
|
|
31
|
+
.map((c) => c.text)
|
|
32
|
+
.join("");
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
const client = new Mistral({ apiKey });
|
|
36
|
+
|
|
37
|
+
const messages: ChatCompletionRequestMessage[] = [];
|
|
38
|
+
let totalPrompt = 0;
|
|
39
|
+
let totalCompletion = 0;
|
|
40
|
+
|
|
41
|
+
for (let i = 0; i < TURNS.length; i++) {
|
|
42
|
+
messages.push({ role: "user", content: TURNS[i]! });
|
|
43
|
+
|
|
44
|
+
const response = await client.chat.complete(
|
|
45
|
+
{
|
|
46
|
+
model: MODEL,
|
|
47
|
+
messages,
|
|
48
|
+
reasoningEffort: "high",
|
|
49
|
+
temperature: 0.7,
|
|
50
|
+
},
|
|
51
|
+
// Bump request timeout because reasoning runs can be long.
|
|
52
|
+
{ timeoutMs: 300_000 },
|
|
53
|
+
);
|
|
54
|
+
|
|
55
|
+
const message = response.choices[0]!.message!;
|
|
56
|
+
const promptTokens = response.usage.promptTokens ?? 0;
|
|
57
|
+
const completionTokens = response.usage.completionTokens ?? 0;
|
|
58
|
+
totalPrompt += promptTokens;
|
|
59
|
+
totalCompletion += completionTokens;
|
|
60
|
+
|
|
61
|
+
console.log(
|
|
62
|
+
`turn ${i + 1}: prompt=${String(promptTokens).padStart(4)} ` +
|
|
63
|
+
`completion=${String(completionTokens).padStart(4)} -> ${finalText(message.content)}`,
|
|
64
|
+
);
|
|
65
|
+
|
|
66
|
+
// Append the full assistant message back into history so the
|
|
67
|
+
// ThinkChunks are preserved across turns.
|
|
68
|
+
messages.push({
|
|
69
|
+
role: "assistant",
|
|
70
|
+
content: message.content,
|
|
71
|
+
});
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
console.log(
|
|
75
|
+
`TOTAL: prompt=${totalPrompt} completion=${totalCompletion} ` +
|
|
76
|
+
`(sum ${totalPrompt + totalCompletion})`,
|
|
77
|
+
);
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
// Print the raw shape of a chat response when using `reasoningEffort`.
|
|
2
|
+
// Run this first to see what ThinkChunk / TextChunk look like in the wire
|
|
3
|
+
// format, then move on to the other reasoning_*.ts examples.
|
|
4
|
+
|
|
5
|
+
import { Mistral } from "@mistralai/mistralai";
|
|
6
|
+
|
|
7
|
+
const apiKey = process.env["MISTRAL_API_KEY"];
|
|
8
|
+
if (!apiKey) {
|
|
9
|
+
throw new Error("missing MISTRAL_API_KEY environment variable");
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
const client = new Mistral({ apiKey });
|
|
13
|
+
|
|
14
|
+
const prompt = "What is 12 * 14? Answer in one short sentence.";
|
|
15
|
+
|
|
16
|
+
for (const effort of ["high", "none"] as const) {
|
|
17
|
+
console.log(`\n========== reasoningEffort=${JSON.stringify(effort)} ==========`);
|
|
18
|
+
const response = await client.chat.complete(
|
|
19
|
+
{
|
|
20
|
+
model: "mistral-medium-3-5",
|
|
21
|
+
messages: [{ role: "user", content: prompt }],
|
|
22
|
+
reasoningEffort: effort,
|
|
23
|
+
temperature: 0.7,
|
|
24
|
+
},
|
|
25
|
+
// Bump request timeout because reasoning runs can be long.
|
|
26
|
+
{ timeoutMs: 300_000 },
|
|
27
|
+
);
|
|
28
|
+
|
|
29
|
+
const content = response.choices[0]?.message?.content;
|
|
30
|
+
console.log(`typeof content = ${Array.isArray(content) ? "Array" : typeof content}`);
|
|
31
|
+
console.log("content =");
|
|
32
|
+
console.log(JSON.stringify(content, null, 2));
|
|
33
|
+
}
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
import { Mistral } from "@mistralai/mistralai";
|
|
2
|
+
|
|
3
|
+
const apiKey = process.env["MISTRAL_API_KEY"];
|
|
4
|
+
if (!apiKey) {
|
|
5
|
+
throw new Error("missing MISTRAL_API_KEY environment variable");
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
const client = new Mistral({ apiKey });
|
|
9
|
+
|
|
10
|
+
// While the model is thinking, delta.content is an array containing a
|
|
11
|
+
// ThinkChunk. After the thinking phase ends, delta.content arrives as
|
|
12
|
+
// plain string fragments. The transition event may contain both a closing
|
|
13
|
+
// ThinkChunk and the first TextChunk in a single array.
|
|
14
|
+
const stream = await client.chat.stream(
|
|
15
|
+
{
|
|
16
|
+
model: "mistral-medium-3-5",
|
|
17
|
+
messages: [
|
|
18
|
+
{
|
|
19
|
+
role: "user",
|
|
20
|
+
content:
|
|
21
|
+
"If a train leaves Paris at 9am going 120 km/h and another " +
|
|
22
|
+
"leaves Lyon at 10am going 150 km/h on the same track, " +
|
|
23
|
+
"when do they meet? Paris-Lyon is 465 km.",
|
|
24
|
+
},
|
|
25
|
+
],
|
|
26
|
+
reasoningEffort: "high",
|
|
27
|
+
temperature: 0.7,
|
|
28
|
+
},
|
|
29
|
+
// Bump request timeout because reasoning runs can be long.
|
|
30
|
+
{ timeoutMs: 300_000 },
|
|
31
|
+
);
|
|
32
|
+
|
|
33
|
+
let inThinking = false;
|
|
34
|
+
for await (const event of stream) {
|
|
35
|
+
const delta = event.data?.choices[0]?.delta.content;
|
|
36
|
+
if (!delta) continue;
|
|
37
|
+
|
|
38
|
+
if (typeof delta === "string") {
|
|
39
|
+
if (inThinking) {
|
|
40
|
+
process.stdout.write("\n--- /thinking ---\n");
|
|
41
|
+
inThinking = false;
|
|
42
|
+
}
|
|
43
|
+
process.stdout.write(delta);
|
|
44
|
+
continue;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
for (const chunk of delta) {
|
|
48
|
+
if (chunk.type === "thinking") {
|
|
49
|
+
if (!inThinking) {
|
|
50
|
+
process.stdout.write("--- thinking ---\n");
|
|
51
|
+
inThinking = true;
|
|
52
|
+
}
|
|
53
|
+
for (const inner of chunk.thinking) {
|
|
54
|
+
if (inner.type === "text") {
|
|
55
|
+
process.stdout.write(inner.text);
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
} else if (chunk.type === "text") {
|
|
59
|
+
if (inThinking) {
|
|
60
|
+
process.stdout.write("\n--- /thinking ---\n");
|
|
61
|
+
inThinking = false;
|
|
62
|
+
}
|
|
63
|
+
process.stdout.write(chunk.text);
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
process.stdout.write("\n");
|
package/jsr.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mistralai/mistralai",
|
|
3
|
-
"version": "2.2.
|
|
3
|
+
"version": "2.2.6",
|
|
4
4
|
"author": "Mistral AI",
|
|
5
5
|
"description": "TypeScript client library for the Mistral AI API",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -38,6 +38,16 @@
|
|
|
38
38
|
"types": "./esm/extra/realtime/index.d.ts",
|
|
39
39
|
"default": "./esm/extra/realtime/index.js"
|
|
40
40
|
},
|
|
41
|
+
"./extra/observability": {
|
|
42
|
+
"source": "./src/extra/observability/index.ts",
|
|
43
|
+
"types": "./esm/extra/observability/index.d.ts",
|
|
44
|
+
"default": "./esm/extra/observability/index.js"
|
|
45
|
+
},
|
|
46
|
+
"./hooks/tracing": {
|
|
47
|
+
"source": "./src/hooks/tracing.ts",
|
|
48
|
+
"types": "./esm/hooks/tracing.d.ts",
|
|
49
|
+
"default": "./esm/hooks/tracing.js"
|
|
50
|
+
},
|
|
41
51
|
"./*.js": {
|
|
42
52
|
"source": "./src/*.ts",
|
|
43
53
|
"types": "./esm/*.d.ts",
|
|
@@ -60,6 +70,7 @@
|
|
|
60
70
|
"prepublishOnly": "npm run build"
|
|
61
71
|
},
|
|
62
72
|
"devDependencies": {
|
|
73
|
+
"@opentelemetry/api": "^1.9.0",
|
|
63
74
|
"@types/node": "^22.0.0",
|
|
64
75
|
"@types/ws": "^8.5.13",
|
|
65
76
|
"@typescript/native-preview": "7.0.0-dev.20260302.1",
|
|
@@ -67,8 +78,17 @@
|
|
|
67
78
|
"typescript": "~5.8.3"
|
|
68
79
|
},
|
|
69
80
|
"dependencies": {
|
|
81
|
+
"@opentelemetry/semantic-conventions": "^1.40.0",
|
|
70
82
|
"ws": "^8.18.0",
|
|
71
83
|
"zod": "^3.25.0 || ^4.0.0",
|
|
72
84
|
"zod-to-json-schema": "^3.25.0"
|
|
85
|
+
},
|
|
86
|
+
"peerDependencies": {
|
|
87
|
+
"@opentelemetry/api": "^1.9.0"
|
|
88
|
+
},
|
|
89
|
+
"peerDependenciesMeta": {
|
|
90
|
+
"@opentelemetry/api": {
|
|
91
|
+
"optional": true
|
|
92
|
+
}
|
|
73
93
|
}
|
|
74
94
|
}
|
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
import { MistralAzureCore } from "../core.js";
|
|
7
7
|
import { encodeJSON } from "../lib/encodings.js";
|
|
8
|
+
import { matchStatusCode } from "../lib/http.js";
|
|
8
9
|
import * as M from "../lib/matchers.js";
|
|
9
10
|
import { compactMap } from "../lib/primitives.js";
|
|
10
11
|
import { safeParse } from "../lib/schemas.js";
|
|
@@ -86,7 +87,7 @@ async function $do(
|
|
|
86
87
|
const payload = parsed.value;
|
|
87
88
|
const body = encodeJSON("body", payload, { explode: true });
|
|
88
89
|
|
|
89
|
-
const path = pathToFunc("/chat/completions")();
|
|
90
|
+
const path = pathToFunc("/models/chat/completions")();
|
|
90
91
|
|
|
91
92
|
const headers = new Headers(compactMap({
|
|
92
93
|
"Content-Type": "application/json",
|
|
@@ -120,7 +121,7 @@ async function $do(
|
|
|
120
121
|
headers: headers,
|
|
121
122
|
body: body,
|
|
122
123
|
userAgent: client._options.userAgent,
|
|
123
|
-
timeoutMs: options?.timeoutMs || client._options.timeoutMs ||
|
|
124
|
+
timeoutMs: options?.timeoutMs || client._options.timeoutMs || 60000,
|
|
124
125
|
}, options);
|
|
125
126
|
if (!requestRes.ok) {
|
|
126
127
|
return [requestRes, { status: "invalid" }];
|
|
@@ -129,7 +130,8 @@ async function $do(
|
|
|
129
130
|
|
|
130
131
|
const doResult = await client._do(req, {
|
|
131
132
|
context,
|
|
132
|
-
|
|
133
|
+
isErrorStatusCode: (statusCode: number) =>
|
|
134
|
+
matchStatusCode({ status: statusCode } as Response, ["4XX", "5XX"]),
|
|
133
135
|
retryConfig: context.retryConfig,
|
|
134
136
|
retryCodes: context.retryCodes,
|
|
135
137
|
});
|
|
@@ -7,6 +7,7 @@ import * as z from "zod/v4";
|
|
|
7
7
|
import { MistralAzureCore } from "../core.js";
|
|
8
8
|
import { encodeJSON } from "../lib/encodings.js";
|
|
9
9
|
import { EventStream } from "../lib/event-streams.js";
|
|
10
|
+
import { matchStatusCode } from "../lib/http.js";
|
|
10
11
|
import * as M from "../lib/matchers.js";
|
|
11
12
|
import { compactMap } from "../lib/primitives.js";
|
|
12
13
|
import { safeParse } from "../lib/schemas.js";
|
|
@@ -92,7 +93,7 @@ async function $do(
|
|
|
92
93
|
const payload = parsed.value;
|
|
93
94
|
const body = encodeJSON("body", payload, { explode: true });
|
|
94
95
|
|
|
95
|
-
const path = pathToFunc("/chat/completions#stream")();
|
|
96
|
+
const path = pathToFunc("/models/chat/completions#stream")();
|
|
96
97
|
|
|
97
98
|
const headers = new Headers(compactMap({
|
|
98
99
|
"Content-Type": "application/json",
|
|
@@ -126,7 +127,7 @@ async function $do(
|
|
|
126
127
|
headers: headers,
|
|
127
128
|
body: body,
|
|
128
129
|
userAgent: client._options.userAgent,
|
|
129
|
-
timeoutMs: options?.timeoutMs || client._options.timeoutMs ||
|
|
130
|
+
timeoutMs: options?.timeoutMs || client._options.timeoutMs || 60000,
|
|
130
131
|
}, options);
|
|
131
132
|
if (!requestRes.ok) {
|
|
132
133
|
return [requestRes, { status: "invalid" }];
|
|
@@ -135,7 +136,8 @@ async function $do(
|
|
|
135
136
|
|
|
136
137
|
const doResult = await client._do(req, {
|
|
137
138
|
context,
|
|
138
|
-
|
|
139
|
+
isErrorStatusCode: (statusCode: number) =>
|
|
140
|
+
matchStatusCode({ status: statusCode } as Response, ["4XX", "5XX"]),
|
|
139
141
|
retryConfig: context.retryConfig,
|
|
140
142
|
retryCodes: context.retryCodes,
|
|
141
143
|
});
|
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
import { MistralAzureCore } from "../core.js";
|
|
7
7
|
import { encodeJSON } from "../lib/encodings.js";
|
|
8
|
+
import { matchStatusCode } from "../lib/http.js";
|
|
8
9
|
import * as M from "../lib/matchers.js";
|
|
9
10
|
import { compactMap } from "../lib/primitives.js";
|
|
10
11
|
import { safeParse } from "../lib/schemas.js";
|
|
@@ -86,7 +87,7 @@ async function $do(
|
|
|
86
87
|
const payload = parsed.value;
|
|
87
88
|
const body = encodeJSON("body", payload, { explode: true });
|
|
88
89
|
|
|
89
|
-
const path = pathToFunc("/ocr")();
|
|
90
|
+
const path = pathToFunc("/providers/mistral/azure/ocr")();
|
|
90
91
|
|
|
91
92
|
const headers = new Headers(compactMap({
|
|
92
93
|
"Content-Type": "application/json",
|
|
@@ -120,7 +121,7 @@ async function $do(
|
|
|
120
121
|
headers: headers,
|
|
121
122
|
body: body,
|
|
122
123
|
userAgent: client._options.userAgent,
|
|
123
|
-
timeoutMs: options?.timeoutMs || client._options.timeoutMs ||
|
|
124
|
+
timeoutMs: options?.timeoutMs || client._options.timeoutMs || 60000,
|
|
124
125
|
}, options);
|
|
125
126
|
if (!requestRes.ok) {
|
|
126
127
|
return [requestRes, { status: "invalid" }];
|
|
@@ -129,7 +130,8 @@ async function $do(
|
|
|
129
130
|
|
|
130
131
|
const doResult = await client._do(req, {
|
|
131
132
|
context,
|
|
132
|
-
|
|
133
|
+
isErrorStatusCode: (statusCode: number) =>
|
|
134
|
+
matchStatusCode({ status: statusCode } as Response, ["4XX", "5XX"]),
|
|
133
135
|
retryConfig: context.retryConfig,
|
|
134
136
|
retryCodes: context.retryCodes,
|
|
135
137
|
});
|
|
@@ -60,8 +60,8 @@ export function serverURLFromOptions(options: SDKOptions): URL | null {
|
|
|
60
60
|
export const SDK_METADATA = {
|
|
61
61
|
language: "typescript",
|
|
62
62
|
openapiDocVersion: "1.0.0",
|
|
63
|
-
sdkVersion: "2.0.0
|
|
64
|
-
genVersion: "2.
|
|
63
|
+
sdkVersion: "2.0.0",
|
|
64
|
+
genVersion: "2.884.13",
|
|
65
65
|
userAgent:
|
|
66
|
-
"speakeasy-sdk/typescript 2.0.0
|
|
66
|
+
"speakeasy-sdk/typescript 2.0.0 2.884.13 1.0.0 @mistralai/mistralai-azure",
|
|
67
67
|
} as const;
|
|
@@ -480,6 +480,23 @@ export const encodeSpaceDelimitedQuery = queryEncoder(encodeSpaceDelimited);
|
|
|
480
480
|
export const encodePipeDelimitedQuery = queryEncoder(encodePipeDelimited);
|
|
481
481
|
export const encodeDeepObjectQuery = queryEncoder(encodeDeepObject);
|
|
482
482
|
|
|
483
|
+
function isBlobLike(val: unknown): val is Blob {
|
|
484
|
+
if (val instanceof Blob) {
|
|
485
|
+
return true;
|
|
486
|
+
}
|
|
487
|
+
|
|
488
|
+
if (typeof val !== "object" || val == null || !(Symbol.toStringTag in val)) {
|
|
489
|
+
return false;
|
|
490
|
+
}
|
|
491
|
+
|
|
492
|
+
const tag = val[Symbol.toStringTag];
|
|
493
|
+
if (tag !== "Blob" && tag !== "File") {
|
|
494
|
+
return false;
|
|
495
|
+
}
|
|
496
|
+
|
|
497
|
+
return "stream" in val && typeof val.stream === "function";
|
|
498
|
+
}
|
|
499
|
+
|
|
483
500
|
export function appendForm(
|
|
484
501
|
fd: FormData,
|
|
485
502
|
key: string,
|
|
@@ -488,10 +505,12 @@ export function appendForm(
|
|
|
488
505
|
): void {
|
|
489
506
|
if (value == null) {
|
|
490
507
|
return;
|
|
491
|
-
} else if (value
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
508
|
+
} else if (isBlobLike(value)) {
|
|
509
|
+
if (fileName) {
|
|
510
|
+
fd.append(key, value as Blob, fileName);
|
|
511
|
+
} else {
|
|
512
|
+
fd.append(key, value as Blob);
|
|
513
|
+
}
|
|
495
514
|
} else if (Array.isArray(value)) {
|
|
496
515
|
value.forEach((v) => {
|
|
497
516
|
appendForm(fd, key, v);
|
|
@@ -500,3 +519,12 @@ export function appendForm(
|
|
|
500
519
|
fd.append(key, String(value));
|
|
501
520
|
}
|
|
502
521
|
}
|
|
522
|
+
|
|
523
|
+
export async function normalizeBlob(
|
|
524
|
+
value: Pick<Blob, "arrayBuffer" | "type">,
|
|
525
|
+
): Promise<Blob> {
|
|
526
|
+
if (value instanceof Blob) {
|
|
527
|
+
return value;
|
|
528
|
+
}
|
|
529
|
+
return new Blob([await value.arrayBuffer()], { type: value.type });
|
|
530
|
+
}
|
|
@@ -81,3 +81,25 @@ export function getContentTypeFromFileName(fileName: string): string | null {
|
|
|
81
81
|
|
|
82
82
|
return mimeTypes[ext] || null;
|
|
83
83
|
}
|
|
84
|
+
|
|
85
|
+
/**
|
|
86
|
+
* Creates a Blob from file content with the given MIME type.
|
|
87
|
+
*
|
|
88
|
+
* Node.js Buffers are Uint8Array subclasses that may share a pooled
|
|
89
|
+
* ArrayBuffer (byteOffset > 0, byteLength < buffer.byteLength). Passing
|
|
90
|
+
* such a Buffer directly to `new Blob([buf])` can include the entire
|
|
91
|
+
* underlying pool on some runtimes, producing a Blob with extra bytes
|
|
92
|
+
* that corrupts multipart uploads.
|
|
93
|
+
*
|
|
94
|
+
* Copying into a standalone Uint8Array ensures the Blob receives only the
|
|
95
|
+
* intended bytes regardless of runtime behaviour.
|
|
96
|
+
*/
|
|
97
|
+
export function bytesToBlob(
|
|
98
|
+
content: Uint8Array<ArrayBufferLike> | ArrayBuffer | Blob | string,
|
|
99
|
+
contentType: string,
|
|
100
|
+
): Blob {
|
|
101
|
+
if (content instanceof Uint8Array) {
|
|
102
|
+
return new Blob([new Uint8Array(content)], { type: contentType });
|
|
103
|
+
}
|
|
104
|
+
return new Blob([content as BlobPart], { type: contentType });
|
|
105
|
+
}
|
|
@@ -23,7 +23,6 @@ import {
|
|
|
23
23
|
isConnectionError,
|
|
24
24
|
isTimeoutError,
|
|
25
25
|
matchContentType,
|
|
26
|
-
matchStatusCode,
|
|
27
26
|
} from "./http.js";
|
|
28
27
|
import { Logger } from "./logger.js";
|
|
29
28
|
import { retry, RetryConfig } from "./retries.js";
|
|
@@ -129,13 +128,15 @@ export class ClientSDK {
|
|
|
129
128
|
if (!base) {
|
|
130
129
|
return ERR(new InvalidRequestError("No base URL provided for operation"));
|
|
131
130
|
}
|
|
132
|
-
const
|
|
133
|
-
|
|
134
|
-
|
|
131
|
+
const baseURL = new URL(base);
|
|
132
|
+
let reqURL: URL;
|
|
135
133
|
if (path) {
|
|
136
|
-
|
|
137
|
-
reqURL
|
|
134
|
+
baseURL.pathname = baseURL.pathname.replace(/\/+$/, "") + "/";
|
|
135
|
+
reqURL = new URL(path, baseURL);
|
|
136
|
+
} else {
|
|
137
|
+
reqURL = baseURL;
|
|
138
138
|
}
|
|
139
|
+
reqURL.hash = "";
|
|
139
140
|
|
|
140
141
|
let finalQuery = query || "";
|
|
141
142
|
|
|
@@ -233,7 +234,7 @@ export class ClientSDK {
|
|
|
233
234
|
request: Request,
|
|
234
235
|
options: {
|
|
235
236
|
context: HookContext;
|
|
236
|
-
|
|
237
|
+
isErrorStatusCode: (statusCode: number) => boolean;
|
|
237
238
|
retryConfig: RetryConfig;
|
|
238
239
|
retryCodes: string[];
|
|
239
240
|
},
|
|
@@ -246,7 +247,7 @@ export class ClientSDK {
|
|
|
246
247
|
| UnexpectedClientError
|
|
247
248
|
>
|
|
248
249
|
> {
|
|
249
|
-
const { context,
|
|
250
|
+
const { context, isErrorStatusCode } = options;
|
|
250
251
|
|
|
251
252
|
return retry(
|
|
252
253
|
async () => {
|
|
@@ -258,7 +259,7 @@ export class ClientSDK {
|
|
|
258
259
|
let response = await this.#httpClient.request(req);
|
|
259
260
|
|
|
260
261
|
try {
|
|
261
|
-
if (
|
|
262
|
+
if (isErrorStatusCode(response.status)) {
|
|
262
263
|
const result = await this.#hooks.afterError(
|
|
263
264
|
context,
|
|
264
265
|
response,
|
|
@@ -382,8 +383,6 @@ async function logResponse(
|
|
|
382
383
|
break;
|
|
383
384
|
case matchContentType(res, "application/jsonl")
|
|
384
385
|
|| jsonlLikeContentTypeRE.test(ct):
|
|
385
|
-
logger.log(await res.clone().text());
|
|
386
|
-
break;
|
|
387
386
|
case matchContentType(res, "text/event-stream"):
|
|
388
387
|
logger.log(`<${contentType}>`);
|
|
389
388
|
break;
|
|
@@ -241,8 +241,9 @@ function applyBearer(
|
|
|
241
241
|
|
|
242
242
|
export function resolveGlobalSecurity(
|
|
243
243
|
security: Partial<components.Security> | null | undefined,
|
|
244
|
+
allowedFields?: number[],
|
|
244
245
|
): SecurityState | null {
|
|
245
|
-
|
|
246
|
+
let inputs: SecurityInput[][] = [
|
|
246
247
|
[
|
|
247
248
|
{
|
|
248
249
|
fieldName: "Authorization",
|
|
@@ -250,7 +251,18 @@ export function resolveGlobalSecurity(
|
|
|
250
251
|
value: security?.apiKey ?? env().MISTRAL_API_KEY,
|
|
251
252
|
},
|
|
252
253
|
],
|
|
253
|
-
|
|
254
|
+
];
|
|
255
|
+
|
|
256
|
+
if (allowedFields) {
|
|
257
|
+
inputs = allowedFields.map((i) => {
|
|
258
|
+
if (i < 0 || i >= inputs.length) {
|
|
259
|
+
throw new RangeError(`invalid allowedFields index ${i}`);
|
|
260
|
+
}
|
|
261
|
+
return inputs[i]!;
|
|
262
|
+
});
|
|
263
|
+
}
|
|
264
|
+
|
|
265
|
+
return resolveSecurity(...inputs);
|
|
254
266
|
}
|
|
255
267
|
|
|
256
268
|
export async function extractSecurity<
|
|
@@ -14,21 +14,23 @@ export function pathToFunc(
|
|
|
14
14
|
const paramRE = /\{([a-zA-Z0-9_][a-zA-Z0-9_-]*?)\}/g;
|
|
15
15
|
|
|
16
16
|
return function buildURLPath(params: Record<string, unknown> = {}): string {
|
|
17
|
-
return pathPattern
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
17
|
+
return pathPattern
|
|
18
|
+
.replace(paramRE, function (_, placeholder) {
|
|
19
|
+
if (!hasOwn.call(params, placeholder)) {
|
|
20
|
+
throw new Error(`Parameter '${placeholder}' is required`);
|
|
21
|
+
}
|
|
21
22
|
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
23
|
+
const value = params[placeholder];
|
|
24
|
+
if (typeof value !== "string" && typeof value !== "number") {
|
|
25
|
+
throw new Error(
|
|
26
|
+
`Parameter '${placeholder}' must be a string or number`,
|
|
27
|
+
);
|
|
28
|
+
}
|
|
28
29
|
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
30
|
+
return options?.charEncoding === "percent"
|
|
31
|
+
? encodeURIComponent(`${value}`)
|
|
32
|
+
: `${value}`;
|
|
33
|
+
})
|
|
34
|
+
.replace(/^\/+/, "");
|
|
33
35
|
};
|
|
34
36
|
}
|