@mistralai/mistralai 2.2.0 → 2.2.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/FUNCTIONS.md +2 -2
- package/README.md +66 -2
- package/esm/extra/structChat.d.ts.map +1 -1
- package/esm/extra/structChat.js +30 -9
- package/esm/extra/structChat.js.map +1 -1
- package/esm/funcs/agentsComplete.d.ts.map +1 -1
- package/esm/funcs/agentsComplete.js +3 -2
- package/esm/funcs/agentsComplete.js.map +1 -1
- package/esm/funcs/agentsStream.d.ts.map +1 -1
- package/esm/funcs/agentsStream.js +3 -2
- package/esm/funcs/agentsStream.js.map +1 -1
- package/esm/funcs/audioSpeechComplete.d.ts.map +1 -1
- package/esm/funcs/audioSpeechComplete.js +3 -2
- package/esm/funcs/audioSpeechComplete.js.map +1 -1
- package/esm/funcs/audioTranscriptionsComplete.d.ts.map +1 -1
- package/esm/funcs/audioTranscriptionsComplete.js +7 -5
- package/esm/funcs/audioTranscriptionsComplete.js.map +1 -1
- package/esm/funcs/audioTranscriptionsStream.d.ts.map +1 -1
- package/esm/funcs/audioTranscriptionsStream.js +7 -5
- package/esm/funcs/audioTranscriptionsStream.js.map +1 -1
- package/esm/funcs/audioVoicesCreate.d.ts.map +1 -1
- package/esm/funcs/audioVoicesCreate.js +3 -2
- package/esm/funcs/audioVoicesCreate.js.map +1 -1
- package/esm/funcs/audioVoicesDelete.d.ts.map +1 -1
- package/esm/funcs/audioVoicesDelete.js +3 -2
- package/esm/funcs/audioVoicesDelete.js.map +1 -1
- package/esm/funcs/audioVoicesGet.d.ts.map +1 -1
- package/esm/funcs/audioVoicesGet.js +3 -2
- package/esm/funcs/audioVoicesGet.js.map +1 -1
- package/esm/funcs/audioVoicesGetSampleAudio.d.ts +1 -1
- package/esm/funcs/audioVoicesGetSampleAudio.d.ts.map +1 -1
- package/esm/funcs/audioVoicesGetSampleAudio.js +5 -4
- package/esm/funcs/audioVoicesGetSampleAudio.js.map +1 -1
- package/esm/funcs/audioVoicesList.d.ts.map +1 -1
- package/esm/funcs/audioVoicesList.js +3 -2
- package/esm/funcs/audioVoicesList.js.map +1 -1
- package/esm/funcs/audioVoicesUpdate.d.ts.map +1 -1
- package/esm/funcs/audioVoicesUpdate.js +3 -2
- package/esm/funcs/audioVoicesUpdate.js.map +1 -1
- package/esm/funcs/batchJobsCancel.d.ts.map +1 -1
- package/esm/funcs/batchJobsCancel.js +3 -2
- package/esm/funcs/batchJobsCancel.js.map +1 -1
- package/esm/funcs/batchJobsCreate.d.ts.map +1 -1
- package/esm/funcs/batchJobsCreate.js +3 -2
- package/esm/funcs/batchJobsCreate.js.map +1 -1
- package/esm/funcs/batchJobsDelete.d.ts.map +1 -1
- package/esm/funcs/batchJobsDelete.js +3 -2
- package/esm/funcs/batchJobsDelete.js.map +1 -1
- package/esm/funcs/batchJobsGet.d.ts.map +1 -1
- package/esm/funcs/batchJobsGet.js +3 -2
- package/esm/funcs/batchJobsGet.js.map +1 -1
- package/esm/funcs/batchJobsList.d.ts.map +1 -1
- package/esm/funcs/batchJobsList.js +3 -2
- package/esm/funcs/batchJobsList.js.map +1 -1
- package/esm/funcs/betaAgentsCreate.d.ts.map +1 -1
- package/esm/funcs/betaAgentsCreate.js +3 -2
- package/esm/funcs/betaAgentsCreate.js.map +1 -1
- package/esm/funcs/betaAgentsCreateVersionAlias.d.ts.map +1 -1
- package/esm/funcs/betaAgentsCreateVersionAlias.js +3 -2
- package/esm/funcs/betaAgentsCreateVersionAlias.js.map +1 -1
- package/esm/funcs/betaAgentsDelete.d.ts.map +1 -1
- package/esm/funcs/betaAgentsDelete.js +3 -2
- package/esm/funcs/betaAgentsDelete.js.map +1 -1
- package/esm/funcs/betaAgentsDeleteVersionAlias.d.ts.map +1 -1
- package/esm/funcs/betaAgentsDeleteVersionAlias.js +3 -2
- package/esm/funcs/betaAgentsDeleteVersionAlias.js.map +1 -1
- package/esm/funcs/betaAgentsGet.d.ts.map +1 -1
- package/esm/funcs/betaAgentsGet.js +3 -2
- package/esm/funcs/betaAgentsGet.js.map +1 -1
- package/esm/funcs/betaAgentsGetVersion.d.ts.map +1 -1
- package/esm/funcs/betaAgentsGetVersion.js +3 -2
- package/esm/funcs/betaAgentsGetVersion.js.map +1 -1
- package/esm/funcs/betaAgentsList.d.ts.map +1 -1
- package/esm/funcs/betaAgentsList.js +3 -2
- package/esm/funcs/betaAgentsList.js.map +1 -1
- package/esm/funcs/betaAgentsListVersionAliases.d.ts.map +1 -1
- package/esm/funcs/betaAgentsListVersionAliases.js +3 -2
- package/esm/funcs/betaAgentsListVersionAliases.js.map +1 -1
- package/esm/funcs/betaAgentsListVersions.d.ts.map +1 -1
- package/esm/funcs/betaAgentsListVersions.js +3 -2
- package/esm/funcs/betaAgentsListVersions.js.map +1 -1
- package/esm/funcs/betaAgentsUpdate.d.ts.map +1 -1
- package/esm/funcs/betaAgentsUpdate.js +3 -2
- package/esm/funcs/betaAgentsUpdate.js.map +1 -1
- package/esm/funcs/betaAgentsUpdateVersion.d.ts.map +1 -1
- package/esm/funcs/betaAgentsUpdateVersion.js +3 -2
- package/esm/funcs/betaAgentsUpdateVersion.js.map +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.d.ts.map +1 -1
- package/esm/funcs/betaConnectorsCallTool.js +3 -2
- package/esm/funcs/betaConnectorsCallTool.js.map +1 -1
- package/esm/funcs/betaConnectorsCreate.d.ts.map +1 -1
- package/esm/funcs/betaConnectorsCreate.js +3 -2
- package/esm/funcs/betaConnectorsCreate.js.map +1 -1
- package/esm/funcs/betaConnectorsCreateOrUpdateOrganizationCredentials.d.ts +19 -0
- package/esm/funcs/betaConnectorsCreateOrUpdateOrganizationCredentials.d.ts.map +1 -0
- package/esm/funcs/betaConnectorsCreateOrUpdateOrganizationCredentials.js +92 -0
- package/esm/funcs/betaConnectorsCreateOrUpdateOrganizationCredentials.js.map +1 -0
- package/esm/funcs/betaConnectorsCreateOrUpdateUserCredentials.d.ts +19 -0
- package/esm/funcs/betaConnectorsCreateOrUpdateUserCredentials.d.ts.map +1 -0
- package/esm/funcs/betaConnectorsCreateOrUpdateUserCredentials.js +91 -0
- package/esm/funcs/betaConnectorsCreateOrUpdateUserCredentials.js.map +1 -0
- package/esm/funcs/betaConnectorsCreateOrUpdateWorkspaceCredentials.d.ts +19 -0
- package/esm/funcs/betaConnectorsCreateOrUpdateWorkspaceCredentials.d.ts.map +1 -0
- package/esm/funcs/betaConnectorsCreateOrUpdateWorkspaceCredentials.js +92 -0
- package/esm/funcs/betaConnectorsCreateOrUpdateWorkspaceCredentials.js.map +1 -0
- 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.d.ts.map +1 -1
- package/esm/funcs/betaConnectorsDelete.js +3 -2
- package/esm/funcs/betaConnectorsDelete.js.map +1 -1
- package/esm/funcs/betaConnectorsDeleteOrganizationCredentials.d.ts +19 -0
- package/esm/funcs/betaConnectorsDeleteOrganizationCredentials.d.ts.map +1 -0
- package/esm/funcs/betaConnectorsDeleteOrganizationCredentials.js +89 -0
- package/esm/funcs/betaConnectorsDeleteOrganizationCredentials.js.map +1 -0
- package/esm/funcs/betaConnectorsDeleteUserCredentials.d.ts +19 -0
- package/esm/funcs/betaConnectorsDeleteUserCredentials.d.ts.map +1 -0
- package/esm/funcs/betaConnectorsDeleteUserCredentials.js +88 -0
- package/esm/funcs/betaConnectorsDeleteUserCredentials.js.map +1 -0
- package/esm/funcs/betaConnectorsDeleteWorkspaceCredentials.d.ts +19 -0
- package/esm/funcs/betaConnectorsDeleteWorkspaceCredentials.d.ts.map +1 -0
- package/esm/funcs/betaConnectorsDeleteWorkspaceCredentials.js +89 -0
- package/esm/funcs/betaConnectorsDeleteWorkspaceCredentials.js.map +1 -0
- package/esm/funcs/betaConnectorsGet.d.ts.map +1 -1
- package/esm/funcs/betaConnectorsGet.js +4 -3
- package/esm/funcs/betaConnectorsGet.js.map +1 -1
- package/esm/funcs/betaConnectorsGetAuthUrl.d.ts.map +1 -1
- package/esm/funcs/betaConnectorsGetAuthUrl.js +4 -2
- package/esm/funcs/betaConnectorsGetAuthUrl.js.map +1 -1
- package/esm/funcs/betaConnectorsGetAuthenticationMethods.d.ts +18 -0
- package/esm/funcs/betaConnectorsGetAuthenticationMethods.d.ts.map +1 -0
- package/esm/funcs/betaConnectorsGetAuthenticationMethods.js +85 -0
- package/esm/funcs/betaConnectorsGetAuthenticationMethods.js.map +1 -0
- package/esm/funcs/betaConnectorsList.d.ts.map +1 -1
- package/esm/funcs/betaConnectorsList.js +3 -2
- package/esm/funcs/betaConnectorsList.js.map +1 -1
- package/esm/funcs/betaConnectorsListOrganizationCredentials.d.ts +19 -0
- package/esm/funcs/betaConnectorsListOrganizationCredentials.d.ts.map +1 -0
- package/esm/funcs/betaConnectorsListOrganizationCredentials.js +93 -0
- package/esm/funcs/betaConnectorsListOrganizationCredentials.js.map +1 -0
- package/esm/funcs/betaConnectorsListTools.d.ts.map +1 -1
- package/esm/funcs/betaConnectorsListTools.js +4 -2
- package/esm/funcs/betaConnectorsListTools.js.map +1 -1
- package/esm/funcs/betaConnectorsListUserCredentials.d.ts +19 -0
- package/esm/funcs/betaConnectorsListUserCredentials.d.ts.map +1 -0
- package/esm/funcs/betaConnectorsListUserCredentials.js +92 -0
- package/esm/funcs/betaConnectorsListUserCredentials.js.map +1 -0
- package/esm/funcs/betaConnectorsListWorkspaceCredentials.d.ts +19 -0
- package/esm/funcs/betaConnectorsListWorkspaceCredentials.d.ts.map +1 -0
- package/esm/funcs/betaConnectorsListWorkspaceCredentials.js +93 -0
- package/esm/funcs/betaConnectorsListWorkspaceCredentials.js.map +1 -0
- package/esm/funcs/betaConnectorsUpdate.d.ts.map +1 -1
- package/esm/funcs/betaConnectorsUpdate.js +3 -2
- package/esm/funcs/betaConnectorsUpdate.js.map +1 -1
- package/esm/funcs/betaConversationsAppend.d.ts.map +1 -1
- package/esm/funcs/betaConversationsAppend.js +3 -2
- package/esm/funcs/betaConversationsAppend.js.map +1 -1
- package/esm/funcs/betaConversationsAppendStream.d.ts.map +1 -1
- package/esm/funcs/betaConversationsAppendStream.js +3 -2
- package/esm/funcs/betaConversationsAppendStream.js.map +1 -1
- package/esm/funcs/betaConversationsDelete.d.ts.map +1 -1
- package/esm/funcs/betaConversationsDelete.js +3 -2
- package/esm/funcs/betaConversationsDelete.js.map +1 -1
- package/esm/funcs/betaConversationsGet.d.ts.map +1 -1
- package/esm/funcs/betaConversationsGet.js +3 -2
- package/esm/funcs/betaConversationsGet.js.map +1 -1
- package/esm/funcs/betaConversationsGetHistory.d.ts.map +1 -1
- package/esm/funcs/betaConversationsGetHistory.js +3 -2
- package/esm/funcs/betaConversationsGetHistory.js.map +1 -1
- package/esm/funcs/betaConversationsGetMessages.d.ts.map +1 -1
- package/esm/funcs/betaConversationsGetMessages.js +3 -2
- package/esm/funcs/betaConversationsGetMessages.js.map +1 -1
- package/esm/funcs/betaConversationsList.d.ts.map +1 -1
- package/esm/funcs/betaConversationsList.js +3 -2
- package/esm/funcs/betaConversationsList.js.map +1 -1
- package/esm/funcs/betaConversationsRestart.d.ts.map +1 -1
- package/esm/funcs/betaConversationsRestart.js +3 -2
- package/esm/funcs/betaConversationsRestart.js.map +1 -1
- package/esm/funcs/betaConversationsRestartStream.d.ts.map +1 -1
- package/esm/funcs/betaConversationsRestartStream.js +3 -2
- package/esm/funcs/betaConversationsRestartStream.js.map +1 -1
- package/esm/funcs/betaConversationsStart.d.ts.map +1 -1
- package/esm/funcs/betaConversationsStart.js +3 -2
- package/esm/funcs/betaConversationsStart.js.map +1 -1
- package/esm/funcs/betaConversationsStartStream.d.ts.map +1 -1
- package/esm/funcs/betaConversationsStartStream.js +3 -2
- package/esm/funcs/betaConversationsStartStream.js.map +1 -1
- package/esm/funcs/betaLibrariesAccessesDelete.d.ts +1 -1
- package/esm/funcs/betaLibrariesAccessesDelete.d.ts.map +1 -1
- package/esm/funcs/betaLibrariesAccessesDelete.js +4 -3
- package/esm/funcs/betaLibrariesAccessesDelete.js.map +1 -1
- package/esm/funcs/betaLibrariesAccessesList.d.ts.map +1 -1
- package/esm/funcs/betaLibrariesAccessesList.js +3 -2
- package/esm/funcs/betaLibrariesAccessesList.js.map +1 -1
- package/esm/funcs/betaLibrariesAccessesUpdateOrCreate.d.ts.map +1 -1
- package/esm/funcs/betaLibrariesAccessesUpdateOrCreate.js +3 -2
- package/esm/funcs/betaLibrariesAccessesUpdateOrCreate.js.map +1 -1
- package/esm/funcs/betaLibrariesCreate.d.ts.map +1 -1
- package/esm/funcs/betaLibrariesCreate.js +3 -2
- package/esm/funcs/betaLibrariesCreate.js.map +1 -1
- package/esm/funcs/betaLibrariesDelete.d.ts +1 -1
- package/esm/funcs/betaLibrariesDelete.d.ts.map +1 -1
- package/esm/funcs/betaLibrariesDelete.js +4 -3
- package/esm/funcs/betaLibrariesDelete.js.map +1 -1
- package/esm/funcs/betaLibrariesDocumentsDelete.d.ts.map +1 -1
- package/esm/funcs/betaLibrariesDocumentsDelete.js +3 -2
- package/esm/funcs/betaLibrariesDocumentsDelete.js.map +1 -1
- package/esm/funcs/betaLibrariesDocumentsExtractedTextSignedUrl.d.ts.map +1 -1
- package/esm/funcs/betaLibrariesDocumentsExtractedTextSignedUrl.js +3 -2
- package/esm/funcs/betaLibrariesDocumentsExtractedTextSignedUrl.js.map +1 -1
- package/esm/funcs/betaLibrariesDocumentsGet.d.ts.map +1 -1
- package/esm/funcs/betaLibrariesDocumentsGet.js +3 -2
- package/esm/funcs/betaLibrariesDocumentsGet.js.map +1 -1
- package/esm/funcs/betaLibrariesDocumentsGetSignedUrl.d.ts.map +1 -1
- package/esm/funcs/betaLibrariesDocumentsGetSignedUrl.js +3 -2
- package/esm/funcs/betaLibrariesDocumentsGetSignedUrl.js.map +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.d.ts.map +1 -1
- package/esm/funcs/betaLibrariesDocumentsList.js +3 -2
- package/esm/funcs/betaLibrariesDocumentsList.js.map +1 -1
- package/esm/funcs/betaLibrariesDocumentsReprocess.d.ts.map +1 -1
- package/esm/funcs/betaLibrariesDocumentsReprocess.js +3 -2
- package/esm/funcs/betaLibrariesDocumentsReprocess.js.map +1 -1
- package/esm/funcs/betaLibrariesDocumentsStatus.d.ts.map +1 -1
- package/esm/funcs/betaLibrariesDocumentsStatus.js +3 -2
- package/esm/funcs/betaLibrariesDocumentsStatus.js.map +1 -1
- package/esm/funcs/betaLibrariesDocumentsTextContent.d.ts.map +1 -1
- package/esm/funcs/betaLibrariesDocumentsTextContent.js +9 -3
- package/esm/funcs/betaLibrariesDocumentsTextContent.js.map +1 -1
- package/esm/funcs/betaLibrariesDocumentsUpdate.d.ts +2 -2
- package/esm/funcs/betaLibrariesDocumentsUpdate.d.ts.map +1 -1
- package/esm/funcs/betaLibrariesDocumentsUpdate.js +7 -6
- package/esm/funcs/betaLibrariesDocumentsUpdate.js.map +1 -1
- package/esm/funcs/betaLibrariesDocumentsUpload.d.ts.map +1 -1
- package/esm/funcs/betaLibrariesDocumentsUpload.js +7 -5
- package/esm/funcs/betaLibrariesDocumentsUpload.js.map +1 -1
- package/esm/funcs/betaLibrariesGet.d.ts.map +1 -1
- package/esm/funcs/betaLibrariesGet.js +3 -2
- package/esm/funcs/betaLibrariesGet.js.map +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.d.ts.map +1 -1
- package/esm/funcs/betaLibrariesList.js +5 -2
- package/esm/funcs/betaLibrariesList.js.map +1 -1
- package/esm/funcs/betaLibrariesUpdate.d.ts +1 -1
- package/esm/funcs/betaLibrariesUpdate.d.ts.map +1 -1
- package/esm/funcs/betaLibrariesUpdate.js +6 -5
- package/esm/funcs/betaLibrariesUpdate.js.map +1 -1
- package/esm/funcs/betaObservabilityCampaignsCreate.d.ts.map +1 -1
- package/esm/funcs/betaObservabilityCampaignsCreate.js +3 -2
- package/esm/funcs/betaObservabilityCampaignsCreate.js.map +1 -1
- package/esm/funcs/betaObservabilityCampaignsDelete.d.ts.map +1 -1
- package/esm/funcs/betaObservabilityCampaignsDelete.js +3 -2
- package/esm/funcs/betaObservabilityCampaignsDelete.js.map +1 -1
- package/esm/funcs/betaObservabilityCampaignsFetch.d.ts.map +1 -1
- package/esm/funcs/betaObservabilityCampaignsFetch.js +3 -2
- package/esm/funcs/betaObservabilityCampaignsFetch.js.map +1 -1
- package/esm/funcs/betaObservabilityCampaignsFetchStatus.d.ts.map +1 -1
- package/esm/funcs/betaObservabilityCampaignsFetchStatus.js +3 -2
- package/esm/funcs/betaObservabilityCampaignsFetchStatus.js.map +1 -1
- package/esm/funcs/betaObservabilityCampaignsList.d.ts.map +1 -1
- package/esm/funcs/betaObservabilityCampaignsList.js +3 -2
- package/esm/funcs/betaObservabilityCampaignsList.js.map +1 -1
- package/esm/funcs/betaObservabilityCampaignsListEvents.d.ts.map +1 -1
- package/esm/funcs/betaObservabilityCampaignsListEvents.js +3 -2
- package/esm/funcs/betaObservabilityCampaignsListEvents.js.map +1 -1
- package/esm/funcs/betaObservabilityChatCompletionEventsFetch.d.ts.map +1 -1
- package/esm/funcs/betaObservabilityChatCompletionEventsFetch.js +3 -2
- package/esm/funcs/betaObservabilityChatCompletionEventsFetch.js.map +1 -1
- package/esm/funcs/betaObservabilityChatCompletionEventsFetchSimilarEvents.d.ts.map +1 -1
- package/esm/funcs/betaObservabilityChatCompletionEventsFetchSimilarEvents.js +3 -2
- package/esm/funcs/betaObservabilityChatCompletionEventsFetchSimilarEvents.js.map +1 -1
- package/esm/funcs/betaObservabilityChatCompletionEventsFieldsFetchOptionCounts.d.ts.map +1 -1
- package/esm/funcs/betaObservabilityChatCompletionEventsFieldsFetchOptionCounts.js +3 -2
- package/esm/funcs/betaObservabilityChatCompletionEventsFieldsFetchOptionCounts.js.map +1 -1
- package/esm/funcs/betaObservabilityChatCompletionEventsFieldsFetchOptions.d.ts.map +1 -1
- package/esm/funcs/betaObservabilityChatCompletionEventsFieldsFetchOptions.js +3 -2
- package/esm/funcs/betaObservabilityChatCompletionEventsFieldsFetchOptions.js.map +1 -1
- package/esm/funcs/betaObservabilityChatCompletionEventsFieldsList.d.ts.map +1 -1
- package/esm/funcs/betaObservabilityChatCompletionEventsFieldsList.js +3 -2
- package/esm/funcs/betaObservabilityChatCompletionEventsFieldsList.js.map +1 -1
- package/esm/funcs/betaObservabilityChatCompletionEventsJudge.d.ts.map +1 -1
- package/esm/funcs/betaObservabilityChatCompletionEventsJudge.js +3 -2
- package/esm/funcs/betaObservabilityChatCompletionEventsJudge.js.map +1 -1
- package/esm/funcs/betaObservabilityChatCompletionEventsSearch.d.ts.map +1 -1
- package/esm/funcs/betaObservabilityChatCompletionEventsSearch.js +3 -2
- package/esm/funcs/betaObservabilityChatCompletionEventsSearch.js.map +1 -1
- package/esm/funcs/betaObservabilityChatCompletionEventsSearchIds.d.ts.map +1 -1
- package/esm/funcs/betaObservabilityChatCompletionEventsSearchIds.js +3 -2
- package/esm/funcs/betaObservabilityChatCompletionEventsSearchIds.js.map +1 -1
- package/esm/funcs/betaObservabilityDatasetsCreate.d.ts.map +1 -1
- package/esm/funcs/betaObservabilityDatasetsCreate.js +3 -2
- package/esm/funcs/betaObservabilityDatasetsCreate.js.map +1 -1
- package/esm/funcs/betaObservabilityDatasetsCreateRecord.d.ts.map +1 -1
- package/esm/funcs/betaObservabilityDatasetsCreateRecord.js +3 -2
- package/esm/funcs/betaObservabilityDatasetsCreateRecord.js.map +1 -1
- package/esm/funcs/betaObservabilityDatasetsDelete.d.ts.map +1 -1
- package/esm/funcs/betaObservabilityDatasetsDelete.js +3 -2
- package/esm/funcs/betaObservabilityDatasetsDelete.js.map +1 -1
- package/esm/funcs/betaObservabilityDatasetsExportToJsonl.d.ts.map +1 -1
- package/esm/funcs/betaObservabilityDatasetsExportToJsonl.js +3 -2
- package/esm/funcs/betaObservabilityDatasetsExportToJsonl.js.map +1 -1
- package/esm/funcs/betaObservabilityDatasetsFetch.d.ts.map +1 -1
- package/esm/funcs/betaObservabilityDatasetsFetch.js +3 -2
- package/esm/funcs/betaObservabilityDatasetsFetch.js.map +1 -1
- package/esm/funcs/betaObservabilityDatasetsFetchTask.d.ts.map +1 -1
- package/esm/funcs/betaObservabilityDatasetsFetchTask.js +3 -2
- package/esm/funcs/betaObservabilityDatasetsFetchTask.js.map +1 -1
- package/esm/funcs/betaObservabilityDatasetsImportFromCampaign.d.ts.map +1 -1
- package/esm/funcs/betaObservabilityDatasetsImportFromCampaign.js +3 -2
- package/esm/funcs/betaObservabilityDatasetsImportFromCampaign.js.map +1 -1
- package/esm/funcs/betaObservabilityDatasetsImportFromDatasetRecords.d.ts.map +1 -1
- package/esm/funcs/betaObservabilityDatasetsImportFromDatasetRecords.js +3 -2
- package/esm/funcs/betaObservabilityDatasetsImportFromDatasetRecords.js.map +1 -1
- package/esm/funcs/betaObservabilityDatasetsImportFromExplorer.d.ts.map +1 -1
- package/esm/funcs/betaObservabilityDatasetsImportFromExplorer.js +3 -2
- package/esm/funcs/betaObservabilityDatasetsImportFromExplorer.js.map +1 -1
- package/esm/funcs/betaObservabilityDatasetsImportFromFile.d.ts.map +1 -1
- package/esm/funcs/betaObservabilityDatasetsImportFromFile.js +3 -2
- package/esm/funcs/betaObservabilityDatasetsImportFromFile.js.map +1 -1
- package/esm/funcs/betaObservabilityDatasetsImportFromPlayground.d.ts.map +1 -1
- package/esm/funcs/betaObservabilityDatasetsImportFromPlayground.js +3 -2
- package/esm/funcs/betaObservabilityDatasetsImportFromPlayground.js.map +1 -1
- package/esm/funcs/betaObservabilityDatasetsList.d.ts.map +1 -1
- package/esm/funcs/betaObservabilityDatasetsList.js +3 -2
- package/esm/funcs/betaObservabilityDatasetsList.js.map +1 -1
- package/esm/funcs/betaObservabilityDatasetsListRecords.d.ts.map +1 -1
- package/esm/funcs/betaObservabilityDatasetsListRecords.js +3 -2
- package/esm/funcs/betaObservabilityDatasetsListRecords.js.map +1 -1
- package/esm/funcs/betaObservabilityDatasetsListTasks.d.ts.map +1 -1
- package/esm/funcs/betaObservabilityDatasetsListTasks.js +3 -2
- package/esm/funcs/betaObservabilityDatasetsListTasks.js.map +1 -1
- package/esm/funcs/betaObservabilityDatasetsRecordsBulkDelete.d.ts.map +1 -1
- package/esm/funcs/betaObservabilityDatasetsRecordsBulkDelete.js +3 -2
- package/esm/funcs/betaObservabilityDatasetsRecordsBulkDelete.js.map +1 -1
- package/esm/funcs/betaObservabilityDatasetsRecordsDelete.d.ts.map +1 -1
- package/esm/funcs/betaObservabilityDatasetsRecordsDelete.js +3 -2
- package/esm/funcs/betaObservabilityDatasetsRecordsDelete.js.map +1 -1
- package/esm/funcs/betaObservabilityDatasetsRecordsFetch.d.ts.map +1 -1
- package/esm/funcs/betaObservabilityDatasetsRecordsFetch.js +3 -2
- package/esm/funcs/betaObservabilityDatasetsRecordsFetch.js.map +1 -1
- package/esm/funcs/betaObservabilityDatasetsRecordsJudge.d.ts.map +1 -1
- package/esm/funcs/betaObservabilityDatasetsRecordsJudge.js +3 -2
- package/esm/funcs/betaObservabilityDatasetsRecordsJudge.js.map +1 -1
- package/esm/funcs/betaObservabilityDatasetsRecordsUpdatePayload.d.ts.map +1 -1
- package/esm/funcs/betaObservabilityDatasetsRecordsUpdatePayload.js +3 -2
- package/esm/funcs/betaObservabilityDatasetsRecordsUpdatePayload.js.map +1 -1
- package/esm/funcs/betaObservabilityDatasetsRecordsUpdateProperties.d.ts.map +1 -1
- package/esm/funcs/betaObservabilityDatasetsRecordsUpdateProperties.js +3 -2
- package/esm/funcs/betaObservabilityDatasetsRecordsUpdateProperties.js.map +1 -1
- package/esm/funcs/betaObservabilityDatasetsUpdate.d.ts.map +1 -1
- package/esm/funcs/betaObservabilityDatasetsUpdate.js +3 -2
- package/esm/funcs/betaObservabilityDatasetsUpdate.js.map +1 -1
- package/esm/funcs/betaObservabilityJudgesCreate.d.ts.map +1 -1
- package/esm/funcs/betaObservabilityJudgesCreate.js +3 -2
- package/esm/funcs/betaObservabilityJudgesCreate.js.map +1 -1
- package/esm/funcs/betaObservabilityJudgesDelete.d.ts.map +1 -1
- package/esm/funcs/betaObservabilityJudgesDelete.js +3 -2
- package/esm/funcs/betaObservabilityJudgesDelete.js.map +1 -1
- package/esm/funcs/betaObservabilityJudgesFetch.d.ts.map +1 -1
- package/esm/funcs/betaObservabilityJudgesFetch.js +3 -2
- package/esm/funcs/betaObservabilityJudgesFetch.js.map +1 -1
- package/esm/funcs/betaObservabilityJudgesJudgeConversation.d.ts.map +1 -1
- package/esm/funcs/betaObservabilityJudgesJudgeConversation.js +3 -2
- package/esm/funcs/betaObservabilityJudgesJudgeConversation.js.map +1 -1
- package/esm/funcs/betaObservabilityJudgesList.d.ts.map +1 -1
- package/esm/funcs/betaObservabilityJudgesList.js +3 -2
- package/esm/funcs/betaObservabilityJudgesList.js.map +1 -1
- package/esm/funcs/betaObservabilityJudgesUpdate.d.ts.map +1 -1
- package/esm/funcs/betaObservabilityJudgesUpdate.js +3 -2
- package/esm/funcs/betaObservabilityJudgesUpdate.js.map +1 -1
- package/esm/funcs/betaRagIngestionPipelineConfigurationsList.d.ts +17 -0
- package/esm/funcs/betaRagIngestionPipelineConfigurationsList.d.ts.map +1 -0
- package/esm/funcs/betaRagIngestionPipelineConfigurationsList.js +71 -0
- package/esm/funcs/betaRagIngestionPipelineConfigurationsList.js.map +1 -0
- 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.d.ts.map +1 -1
- package/esm/funcs/chatComplete.js +3 -2
- package/esm/funcs/chatComplete.js.map +1 -1
- package/esm/funcs/chatStream.d.ts.map +1 -1
- package/esm/funcs/chatStream.js +3 -2
- package/esm/funcs/chatStream.js.map +1 -1
- package/esm/funcs/classifiersClassify.d.ts.map +1 -1
- package/esm/funcs/classifiersClassify.js +3 -2
- package/esm/funcs/classifiersClassify.js.map +1 -1
- package/esm/funcs/classifiersClassifyChat.d.ts.map +1 -1
- package/esm/funcs/classifiersClassifyChat.js +3 -2
- package/esm/funcs/classifiersClassifyChat.js.map +1 -1
- package/esm/funcs/classifiersModerate.d.ts.map +1 -1
- package/esm/funcs/classifiersModerate.js +3 -2
- package/esm/funcs/classifiersModerate.js.map +1 -1
- package/esm/funcs/classifiersModerateChat.d.ts.map +1 -1
- package/esm/funcs/classifiersModerateChat.js +3 -2
- package/esm/funcs/classifiersModerateChat.js.map +1 -1
- package/esm/funcs/embeddingsCreate.d.ts.map +1 -1
- package/esm/funcs/embeddingsCreate.js +3 -2
- package/esm/funcs/embeddingsCreate.js.map +1 -1
- package/esm/funcs/eventsGetStreamEvents.d.ts.map +1 -1
- package/esm/funcs/eventsGetStreamEvents.js +3 -2
- package/esm/funcs/eventsGetStreamEvents.js.map +1 -1
- package/esm/funcs/eventsGetWorkflowEvents.d.ts.map +1 -1
- package/esm/funcs/eventsGetWorkflowEvents.js +3 -2
- package/esm/funcs/eventsGetWorkflowEvents.js.map +1 -1
- package/esm/funcs/filesDelete.d.ts.map +1 -1
- package/esm/funcs/filesDelete.js +3 -2
- package/esm/funcs/filesDelete.js.map +1 -1
- package/esm/funcs/filesDownload.d.ts.map +1 -1
- package/esm/funcs/filesDownload.js +3 -2
- package/esm/funcs/filesDownload.js.map +1 -1
- package/esm/funcs/filesGetSignedUrl.d.ts.map +1 -1
- package/esm/funcs/filesGetSignedUrl.js +3 -2
- package/esm/funcs/filesGetSignedUrl.js.map +1 -1
- package/esm/funcs/filesList.d.ts.map +1 -1
- package/esm/funcs/filesList.js +3 -2
- package/esm/funcs/filesList.js.map +1 -1
- package/esm/funcs/filesRetrieve.d.ts.map +1 -1
- package/esm/funcs/filesRetrieve.js +3 -2
- package/esm/funcs/filesRetrieve.js.map +1 -1
- package/esm/funcs/filesUpload.d.ts.map +1 -1
- package/esm/funcs/filesUpload.js +7 -5
- package/esm/funcs/filesUpload.js.map +1 -1
- package/esm/funcs/fimComplete.d.ts.map +1 -1
- package/esm/funcs/fimComplete.js +3 -2
- package/esm/funcs/fimComplete.js.map +1 -1
- package/esm/funcs/fimStream.d.ts.map +1 -1
- package/esm/funcs/fimStream.js +3 -2
- package/esm/funcs/fimStream.js.map +1 -1
- package/esm/funcs/fineTuningJobsCancel.d.ts.map +1 -1
- package/esm/funcs/fineTuningJobsCancel.js +3 -2
- package/esm/funcs/fineTuningJobsCancel.js.map +1 -1
- package/esm/funcs/fineTuningJobsCreate.d.ts.map +1 -1
- package/esm/funcs/fineTuningJobsCreate.js +3 -2
- package/esm/funcs/fineTuningJobsCreate.js.map +1 -1
- package/esm/funcs/fineTuningJobsGet.d.ts.map +1 -1
- package/esm/funcs/fineTuningJobsGet.js +3 -2
- package/esm/funcs/fineTuningJobsGet.js.map +1 -1
- package/esm/funcs/fineTuningJobsList.d.ts.map +1 -1
- package/esm/funcs/fineTuningJobsList.js +3 -2
- package/esm/funcs/fineTuningJobsList.js.map +1 -1
- package/esm/funcs/fineTuningJobsStart.d.ts.map +1 -1
- package/esm/funcs/fineTuningJobsStart.js +3 -2
- package/esm/funcs/fineTuningJobsStart.js.map +1 -1
- package/esm/funcs/modelsArchive.d.ts.map +1 -1
- package/esm/funcs/modelsArchive.js +3 -2
- package/esm/funcs/modelsArchive.js.map +1 -1
- package/esm/funcs/modelsDelete.d.ts.map +1 -1
- package/esm/funcs/modelsDelete.js +3 -2
- package/esm/funcs/modelsDelete.js.map +1 -1
- package/esm/funcs/modelsList.d.ts.map +1 -1
- package/esm/funcs/modelsList.js +3 -2
- package/esm/funcs/modelsList.js.map +1 -1
- package/esm/funcs/modelsRetrieve.d.ts.map +1 -1
- package/esm/funcs/modelsRetrieve.js +3 -2
- package/esm/funcs/modelsRetrieve.js.map +1 -1
- package/esm/funcs/modelsUnarchive.d.ts.map +1 -1
- package/esm/funcs/modelsUnarchive.js +3 -2
- package/esm/funcs/modelsUnarchive.js.map +1 -1
- package/esm/funcs/modelsUpdate.d.ts.map +1 -1
- package/esm/funcs/modelsUpdate.js +3 -2
- package/esm/funcs/modelsUpdate.js.map +1 -1
- package/esm/funcs/ocrProcess.d.ts.map +1 -1
- package/esm/funcs/ocrProcess.js +3 -2
- package/esm/funcs/ocrProcess.js.map +1 -1
- package/esm/funcs/workflowsArchiveWorkflow.d.ts.map +1 -1
- package/esm/funcs/workflowsArchiveWorkflow.js +3 -2
- package/esm/funcs/workflowsArchiveWorkflow.js.map +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.d.ts.map +1 -1
- package/esm/funcs/workflowsDeploymentsGetDeployment.js +3 -2
- package/esm/funcs/workflowsDeploymentsGetDeployment.js.map +1 -1
- package/esm/funcs/workflowsDeploymentsListDeployments.d.ts.map +1 -1
- package/esm/funcs/workflowsDeploymentsListDeployments.js +3 -2
- package/esm/funcs/workflowsDeploymentsListDeployments.js.map +1 -1
- package/esm/funcs/workflowsExecuteWorkflow.d.ts.map +1 -1
- package/esm/funcs/workflowsExecuteWorkflow.js +3 -2
- package/esm/funcs/workflowsExecuteWorkflow.js.map +1 -1
- package/esm/funcs/workflowsExecuteWorkflowRegistration.d.ts.map +1 -1
- package/esm/funcs/workflowsExecuteWorkflowRegistration.js +3 -2
- package/esm/funcs/workflowsExecuteWorkflowRegistration.js.map +1 -1
- package/esm/funcs/workflowsExecutionsBatchCancelWorkflowExecutions.d.ts.map +1 -1
- package/esm/funcs/workflowsExecutionsBatchCancelWorkflowExecutions.js +3 -2
- package/esm/funcs/workflowsExecutionsBatchCancelWorkflowExecutions.js.map +1 -1
- package/esm/funcs/workflowsExecutionsBatchTerminateWorkflowExecutions.d.ts.map +1 -1
- package/esm/funcs/workflowsExecutionsBatchTerminateWorkflowExecutions.js +3 -2
- package/esm/funcs/workflowsExecutionsBatchTerminateWorkflowExecutions.js.map +1 -1
- package/esm/funcs/workflowsExecutionsCancelWorkflowExecution.d.ts.map +1 -1
- package/esm/funcs/workflowsExecutionsCancelWorkflowExecution.js +3 -2
- package/esm/funcs/workflowsExecutionsCancelWorkflowExecution.js.map +1 -1
- package/esm/funcs/workflowsExecutionsGetWorkflowExecution.d.ts.map +1 -1
- package/esm/funcs/workflowsExecutionsGetWorkflowExecution.js +3 -2
- package/esm/funcs/workflowsExecutionsGetWorkflowExecution.js.map +1 -1
- package/esm/funcs/workflowsExecutionsGetWorkflowExecutionHistory.d.ts.map +1 -1
- package/esm/funcs/workflowsExecutionsGetWorkflowExecutionHistory.js +3 -2
- package/esm/funcs/workflowsExecutionsGetWorkflowExecutionHistory.js.map +1 -1
- package/esm/funcs/workflowsExecutionsGetWorkflowExecutionTraceEvents.d.ts.map +1 -1
- package/esm/funcs/workflowsExecutionsGetWorkflowExecutionTraceEvents.js +3 -2
- package/esm/funcs/workflowsExecutionsGetWorkflowExecutionTraceEvents.js.map +1 -1
- package/esm/funcs/workflowsExecutionsGetWorkflowExecutionTraceOtel.d.ts.map +1 -1
- package/esm/funcs/workflowsExecutionsGetWorkflowExecutionTraceOtel.js +3 -2
- package/esm/funcs/workflowsExecutionsGetWorkflowExecutionTraceOtel.js.map +1 -1
- package/esm/funcs/workflowsExecutionsGetWorkflowExecutionTraceSummary.d.ts.map +1 -1
- package/esm/funcs/workflowsExecutionsGetWorkflowExecutionTraceSummary.js +3 -2
- package/esm/funcs/workflowsExecutionsGetWorkflowExecutionTraceSummary.js.map +1 -1
- package/esm/funcs/workflowsExecutionsQueryWorkflowExecution.d.ts.map +1 -1
- package/esm/funcs/workflowsExecutionsQueryWorkflowExecution.js +3 -2
- package/esm/funcs/workflowsExecutionsQueryWorkflowExecution.js.map +1 -1
- package/esm/funcs/workflowsExecutionsResetWorkflow.d.ts.map +1 -1
- package/esm/funcs/workflowsExecutionsResetWorkflow.js +3 -2
- package/esm/funcs/workflowsExecutionsResetWorkflow.js.map +1 -1
- package/esm/funcs/workflowsExecutionsSignalWorkflowExecution.d.ts.map +1 -1
- package/esm/funcs/workflowsExecutionsSignalWorkflowExecution.js +3 -2
- package/esm/funcs/workflowsExecutionsSignalWorkflowExecution.js.map +1 -1
- package/esm/funcs/workflowsExecutionsStream.d.ts.map +1 -1
- package/esm/funcs/workflowsExecutionsStream.js +3 -2
- package/esm/funcs/workflowsExecutionsStream.js.map +1 -1
- package/esm/funcs/workflowsExecutionsTerminateWorkflowExecution.d.ts.map +1 -1
- package/esm/funcs/workflowsExecutionsTerminateWorkflowExecution.js +3 -2
- package/esm/funcs/workflowsExecutionsTerminateWorkflowExecution.js.map +1 -1
- package/esm/funcs/workflowsExecutionsUpdateWorkflowExecution.d.ts.map +1 -1
- package/esm/funcs/workflowsExecutionsUpdateWorkflowExecution.js +3 -2
- package/esm/funcs/workflowsExecutionsUpdateWorkflowExecution.js.map +1 -1
- package/esm/funcs/workflowsGetWorkflow.d.ts.map +1 -1
- package/esm/funcs/workflowsGetWorkflow.js +3 -2
- package/esm/funcs/workflowsGetWorkflow.js.map +1 -1
- package/esm/funcs/workflowsGetWorkflowRegistration.d.ts.map +1 -1
- package/esm/funcs/workflowsGetWorkflowRegistration.js +3 -2
- package/esm/funcs/workflowsGetWorkflowRegistration.js.map +1 -1
- package/esm/funcs/workflowsGetWorkflowRegistrations.d.ts.map +1 -1
- package/esm/funcs/workflowsGetWorkflowRegistrations.js +3 -2
- package/esm/funcs/workflowsGetWorkflowRegistrations.js.map +1 -1
- package/esm/funcs/workflowsGetWorkflows.d.ts.map +1 -1
- package/esm/funcs/workflowsGetWorkflows.js +3 -2
- package/esm/funcs/workflowsGetWorkflows.js.map +1 -1
- package/esm/funcs/workflowsMetricsGetWorkflowMetrics.d.ts.map +1 -1
- package/esm/funcs/workflowsMetricsGetWorkflowMetrics.js +3 -2
- package/esm/funcs/workflowsMetricsGetWorkflowMetrics.js.map +1 -1
- package/esm/funcs/workflowsRunsGetRun.d.ts.map +1 -1
- package/esm/funcs/workflowsRunsGetRun.js +3 -2
- package/esm/funcs/workflowsRunsGetRun.js.map +1 -1
- package/esm/funcs/workflowsRunsGetRunHistory.d.ts.map +1 -1
- package/esm/funcs/workflowsRunsGetRunHistory.js +3 -2
- package/esm/funcs/workflowsRunsGetRunHistory.js.map +1 -1
- package/esm/funcs/workflowsRunsListRuns.d.ts.map +1 -1
- package/esm/funcs/workflowsRunsListRuns.js +4 -2
- 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 +67 -11
- 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.d.ts.map +1 -1
- package/esm/funcs/workflowsSchedulesScheduleWorkflow.js +3 -2
- package/esm/funcs/workflowsSchedulesScheduleWorkflow.js.map +1 -1
- package/esm/funcs/workflowsSchedulesUnscheduleWorkflow.d.ts.map +1 -1
- package/esm/funcs/workflowsSchedulesUnscheduleWorkflow.js +3 -2
- package/esm/funcs/workflowsSchedulesUnscheduleWorkflow.js.map +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.d.ts.map +1 -1
- package/esm/funcs/workflowsUnarchiveWorkflow.js +3 -2
- package/esm/funcs/workflowsUnarchiveWorkflow.js.map +1 -1
- package/esm/funcs/workflowsUpdateWorkflow.d.ts.map +1 -1
- package/esm/funcs/workflowsUpdateWorkflow.js +3 -2
- package/esm/funcs/workflowsUpdateWorkflow.js.map +1 -1
- package/esm/hooks/deprecation_warning.d.ts.map +1 -1
- package/esm/hooks/deprecation_warning.js +1 -1
- package/esm/hooks/deprecation_warning.js.map +1 -1
- package/esm/lib/config.d.ts +3 -3
- package/esm/lib/config.js +3 -3
- package/esm/lib/config.js.map +1 -1
- package/esm/lib/encodings.d.ts +1 -0
- package/esm/lib/encodings.d.ts.map +1 -1
- package/esm/lib/encodings.js +6 -0
- package/esm/lib/encodings.js.map +1 -1
- package/esm/lib/sdks.d.ts +1 -1
- package/esm/lib/sdks.d.ts.map +1 -1
- package/esm/lib/sdks.js +3 -5
- package/esm/lib/sdks.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/agent.d.ts +3 -2
- package/esm/models/components/agent.d.ts.map +1 -1
- package/esm/models/components/agent.js +1 -2
- package/esm/models/components/agent.js.map +1 -1
- package/esm/models/components/agentconversation.d.ts +3 -2
- package/esm/models/components/agentconversation.d.ts.map +1 -1
- package/esm/models/components/agentconversation.js +1 -2
- package/esm/models/components/agentconversation.js.map +1 -1
- package/esm/models/components/agentscompletionrequest.d.ts +8 -6
- package/esm/models/components/agentscompletionrequest.d.ts.map +1 -1
- package/esm/models/components/agentscompletionrequest.js +5 -3
- package/esm/models/components/agentscompletionrequest.js.map +1 -1
- package/esm/models/components/agentscompletionstreamrequest.d.ts +8 -6
- package/esm/models/components/agentscompletionstreamrequest.d.ts.map +1 -1
- package/esm/models/components/agentscompletionstreamrequest.js +5 -3
- package/esm/models/components/agentscompletionstreamrequest.js.map +1 -1
- package/esm/models/components/authenticationconfiguration.d.ts +15 -0
- package/esm/models/components/authenticationconfiguration.d.ts.map +1 -0
- package/esm/models/components/authenticationconfiguration.js +25 -0
- package/esm/models/components/authenticationconfiguration.js.map +1 -0
- package/esm/models/components/basefielddefinition.d.ts +5 -4
- package/esm/models/components/basefielddefinition.d.ts.map +1 -1
- package/esm/models/components/basefielddefinition.js +4 -4
- package/esm/models/components/basefielddefinition.js.map +1 -1
- package/esm/models/components/chatcompletionchoice.d.ts +2 -1
- package/esm/models/components/chatcompletionchoice.d.ts.map +1 -1
- package/esm/models/components/chatcompletionchoice.js +2 -1
- package/esm/models/components/chatcompletionchoice.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 +10 -8
- package/esm/models/components/chatcompletionrequest.d.ts.map +1 -1
- package/esm/models/components/chatcompletionrequest.js +6 -4
- package/esm/models/components/chatcompletionrequest.js.map +1 -1
- package/esm/models/components/chatcompletionstreamrequest.d.ts +10 -8
- package/esm/models/components/chatcompletionstreamrequest.d.ts.map +1 -1
- package/esm/models/components/chatcompletionstreamrequest.js +6 -4
- package/esm/models/components/chatcompletionstreamrequest.js.map +1 -1
- package/esm/models/components/classifierfinetuningjob.d.ts +1 -1
- package/esm/models/components/classifierfinetuningjobdetails.d.ts +42 -0
- package/esm/models/components/classifierfinetuningjobdetails.d.ts.map +1 -1
- package/esm/models/components/classifierfinetuningjobdetails.js +3 -0
- package/esm/models/components/classifierfinetuningjobdetails.js.map +1 -1
- package/esm/models/components/classifiertrainingparameters.d.ts +12 -0
- package/esm/models/components/classifiertrainingparameters.d.ts.map +1 -1
- package/esm/models/components/classifiertrainingparameters.js.map +1 -1
- package/esm/models/components/clientcapabilities.d.ts +26 -0
- package/esm/models/components/clientcapabilities.d.ts.map +1 -0
- package/esm/models/components/clientcapabilities.js +23 -0
- package/esm/models/components/clientcapabilities.js.map +1 -0
- package/esm/models/components/clienttaskscapability.d.ts +21 -0
- package/esm/models/components/clienttaskscapability.d.ts.map +1 -0
- package/esm/models/components/clienttaskscapability.js +17 -0
- package/esm/models/components/clienttaskscapability.js.map +1 -0
- package/esm/models/components/clienttasksrequestscapability.d.ts +17 -0
- package/esm/models/components/clienttasksrequestscapability.d.ts.map +1 -0
- package/esm/models/components/clienttasksrequestscapability.js +17 -0
- package/esm/models/components/clienttasksrequestscapability.js.map +1 -0
- package/esm/models/components/completionfinetuningjob.d.ts +1 -1
- package/esm/models/components/completionfinetuningjobdetails.d.ts +42 -0
- package/esm/models/components/completionfinetuningjobdetails.d.ts.map +1 -1
- package/esm/models/components/completionfinetuningjobdetails.js +3 -0
- package/esm/models/components/completionfinetuningjobdetails.js.map +1 -1
- package/esm/models/components/completiontrainingparameters.d.ts +12 -0
- package/esm/models/components/completiontrainingparameters.d.ts.map +1 -1
- package/esm/models/components/completiontrainingparameters.js.map +1 -1
- package/esm/models/components/connectionconfigtype.d.ts +11 -0
- package/esm/models/components/connectionconfigtype.d.ts.map +1 -0
- package/esm/models/components/connectionconfigtype.js +13 -0
- package/esm/models/components/connectionconfigtype.js.map +1 -0
- package/esm/models/components/connectioncredentials.d.ts +21 -0
- package/esm/models/components/connectioncredentials.d.ts.map +1 -0
- package/esm/models/components/connectioncredentials.js +21 -0
- package/esm/models/components/connectioncredentials.js.map +1 -0
- package/esm/models/components/connectionpreference.d.ts +15 -0
- package/esm/models/components/connectionpreference.d.ts.map +1 -0
- package/esm/models/components/connectionpreference.js +26 -0
- package/esm/models/components/connectionpreference.js.map +1 -0
- package/esm/models/components/connector.d.ts +27 -1
- package/esm/models/components/connector.d.ts.map +1 -1
- package/esm/models/components/connector.js +40 -2
- package/esm/models/components/connector.js.map +1 -1
- package/esm/models/components/connectorauthenticationheader.d.ts +12 -0
- package/esm/models/components/connectorauthenticationheader.d.ts.map +1 -0
- package/esm/models/components/connectorauthenticationheader.js +22 -0
- package/esm/models/components/connectorauthenticationheader.js.map +1 -0
- package/esm/models/components/connectorlocale.d.ts +18 -0
- package/esm/models/components/connectorlocale.d.ts.map +1 -0
- package/esm/models/components/connectorlocale.js +21 -0
- package/esm/models/components/connectorlocale.js.map +1 -0
- package/esm/models/components/connectorprotocol.d.ts +13 -0
- package/esm/models/components/connectorprotocol.d.ts.map +1 -0
- package/esm/models/components/connectorprotocol.js +15 -0
- package/esm/models/components/connectorprotocol.js.map +1 -0
- package/esm/models/components/connectorsqueryfilters.d.ts +0 -5
- package/esm/models/components/connectorsqueryfilters.d.ts.map +1 -1
- package/esm/models/components/connectorsqueryfilters.js +0 -6
- package/esm/models/components/connectorsqueryfilters.js.map +1 -1
- package/esm/models/components/consumertype.d.ts +12 -0
- package/esm/models/components/consumertype.d.ts.map +1 -0
- package/esm/models/components/consumertype.js +14 -0
- package/esm/models/components/consumertype.js.map +1 -0
- package/esm/models/components/conversationrequest.d.ts +6 -3
- package/esm/models/components/conversationrequest.d.ts.map +1 -1
- package/esm/models/components/conversationrequest.js +1 -2
- package/esm/models/components/conversationrequest.js.map +1 -1
- package/esm/models/components/conversationrestartrequest.d.ts +6 -3
- package/esm/models/components/conversationrestartrequest.d.ts.map +1 -1
- package/esm/models/components/conversationrestartrequest.js +1 -2
- package/esm/models/components/conversationrestartrequest.js.map +1 -1
- package/esm/models/components/conversationrestartstreamrequest.d.ts +6 -3
- package/esm/models/components/conversationrestartstreamrequest.d.ts.map +1 -1
- package/esm/models/components/conversationrestartstreamrequest.js +1 -2
- package/esm/models/components/conversationrestartstreamrequest.js.map +1 -1
- package/esm/models/components/conversationstreamrequest.d.ts +6 -3
- package/esm/models/components/conversationstreamrequest.d.ts.map +1 -1
- package/esm/models/components/conversationstreamrequest.js +1 -2
- package/esm/models/components/conversationstreamrequest.js.map +1 -1
- package/esm/models/components/createagentrequest.d.ts +6 -3
- package/esm/models/components/createagentrequest.d.ts.map +1 -1
- package/esm/models/components/createagentrequest.js +1 -2
- package/esm/models/components/createagentrequest.js.map +1 -1
- package/esm/models/components/createbatchjobrequest.d.ts +8 -1
- package/esm/models/components/createbatchjobrequest.d.ts.map +1 -1
- package/esm/models/components/createbatchjobrequest.js.map +1 -1
- package/esm/models/components/createconnectorrequest.d.ts +7 -0
- package/esm/models/components/createconnectorrequest.d.ts.map +1 -1
- package/esm/models/components/createconnectorrequest.js +2 -0
- package/esm/models/components/createconnectorrequest.js.map +1 -1
- package/esm/models/components/createingestionpipelineconfigurationrequest.d.ts +18 -0
- package/esm/models/components/createingestionpipelineconfigurationrequest.d.ts.map +1 -0
- package/esm/models/components/createingestionpipelineconfigurationrequest.js +20 -0
- package/esm/models/components/createingestionpipelineconfigurationrequest.js.map +1 -0
- package/esm/models/components/createlibraryrequest.d.ts +18 -0
- package/esm/models/components/createlibraryrequest.d.ts.map +1 -1
- package/esm/models/components/createlibraryrequest.js +8 -0
- 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/credentialscreateorupdate.d.ts +29 -0
- package/esm/models/components/credentialscreateorupdate.d.ts.map +1 -0
- package/esm/models/components/credentialscreateorupdate.js +21 -0
- package/esm/models/components/credentialscreateorupdate.js.map +1 -0
- package/esm/models/components/credentialsresponse.d.ts +13 -0
- package/esm/models/components/credentialsresponse.d.ts.map +1 -0
- package/esm/models/components/credentialsresponse.js +22 -0
- package/esm/models/components/credentialsresponse.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/deltamessage.d.ts +8 -0
- package/esm/models/components/deltamessage.d.ts.map +1 -1
- package/esm/models/components/deltamessage.js +4 -0
- package/esm/models/components/deltamessage.js.map +1 -1
- package/esm/models/components/deploymentdetailresponse.d.ts +5 -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/deploymentlocation.d.ts +19 -0
- package/esm/models/components/deploymentlocation.d.ts.map +1 -0
- package/esm/models/components/deploymentlocation.js +24 -0
- package/esm/models/components/deploymentlocation.js.map +1 -0
- package/esm/models/components/deploymentresponse.d.ts +5 -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/deploymentworkerresponse.d.ts +4 -0
- package/esm/models/components/deploymentworkerresponse.d.ts.map +1 -1
- package/esm/models/components/deploymentworkerresponse.js +2 -0
- package/esm/models/components/deploymentworkerresponse.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 +5 -3
- package/esm/models/components/encodedpayloadoptions.d.ts.map +1 -1
- package/esm/models/components/encodedpayloadoptions.js +4 -2
- package/esm/models/components/encodedpayloadoptions.js.map +1 -1
- package/esm/models/components/encryptedpatchvalue.d.ts +21 -0
- package/esm/models/components/encryptedpatchvalue.d.ts.map +1 -0
- package/esm/models/components/encryptedpatchvalue.js +15 -0
- package/esm/models/components/encryptedpatchvalue.js.map +1 -0
- package/esm/models/components/fimcompletionrequest.d.ts +6 -4
- package/esm/models/components/fimcompletionrequest.d.ts.map +1 -1
- package/esm/models/components/fimcompletionrequest.js +4 -2
- package/esm/models/components/fimcompletionrequest.js.map +1 -1
- package/esm/models/components/fimcompletionstreamrequest.d.ts +6 -4
- package/esm/models/components/fimcompletionstreamrequest.d.ts.map +1 -1
- package/esm/models/components/fimcompletionstreamrequest.js +4 -2
- package/esm/models/components/fimcompletionstreamrequest.js.map +1 -1
- package/esm/models/components/index.d.ts +72 -8
- package/esm/models/components/index.d.ts.map +1 -1
- package/esm/models/components/index.js +72 -8
- package/esm/models/components/index.js.map +1 -1
- package/esm/models/components/ingestionpipelineconfiguration.d.ts +20 -0
- package/esm/models/components/ingestionpipelineconfiguration.d.ts.map +1 -0
- package/esm/models/components/ingestionpipelineconfiguration.js +33 -0
- package/esm/models/components/ingestionpipelineconfiguration.js.map +1 -0
- package/esm/models/components/instructrequest.d.ts +0 -3
- package/esm/models/components/instructrequest.d.ts.map +1 -1
- package/esm/models/components/instructrequest.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/locationtype.d.ts +10 -0
- package/esm/models/components/locationtype.d.ts.map +1 -0
- package/esm/models/components/locationtype.js +12 -0
- package/esm/models/components/locationtype.js.map +1 -0
- package/esm/models/components/logicalexpression.d.ts +39 -0
- package/esm/models/components/logicalexpression.d.ts.map +1 -0
- package/esm/models/components/logicalexpression.js +60 -0
- package/esm/models/components/logicalexpression.js.map +1 -0
- package/esm/models/components/mcpprompt.d.ts +20 -0
- package/esm/models/components/mcpprompt.d.ts.map +1 -0
- package/esm/models/components/mcpprompt.js +26 -0
- package/esm/models/components/mcpprompt.js.map +1 -0
- package/esm/models/components/mcpresource.d.ts +23 -0
- package/esm/models/components/mcpresource.d.ts.map +1 -0
- package/esm/models/components/mcpresource.js +30 -0
- package/esm/models/components/mcpresource.js.map +1 -0
- package/esm/models/components/mcpserverauthenticationrequirement.d.ts +20 -0
- package/esm/models/components/mcpserverauthenticationrequirement.d.ts.map +1 -0
- package/esm/models/components/mcpserverauthenticationrequirement.js +15 -0
- package/esm/models/components/mcpserverauthenticationrequirement.js.map +1 -0
- package/esm/models/components/mcpservercard.d.ts +58 -0
- package/esm/models/components/mcpservercard.d.ts.map +1 -0
- package/esm/models/components/mcpservercard.js +66 -0
- package/esm/models/components/mcpservercard.js.map +1 -0
- package/esm/models/components/mcpservercardmeta.d.ts +19 -0
- package/esm/models/components/mcpservercardmeta.d.ts.map +1 -0
- package/esm/models/components/mcpservercardmeta.js +20 -0
- package/esm/models/components/mcpservercardmeta.js.map +1 -0
- package/esm/models/components/mcpserverremote.d.ts +39 -0
- package/esm/models/components/mcpserverremote.d.ts.map +1 -0
- package/esm/models/components/mcpserverremote.js +31 -0
- package/esm/models/components/mcpserverremote.js.map +1 -0
- package/esm/models/components/mcpserverremoteheader.d.ts +24 -0
- package/esm/models/components/mcpserverremoteheader.d.ts.map +1 -0
- package/esm/models/components/mcpserverremoteheader.js +19 -0
- package/esm/models/components/mcpserverremoteheader.js.map +1 -0
- package/esm/models/components/mcpserverrepository.d.ts +21 -0
- package/esm/models/components/mcpserverrepository.d.ts.map +1 -0
- package/esm/models/components/mcpserverrepository.js +16 -0
- package/esm/models/components/mcpserverrepository.js.map +1 -0
- package/esm/models/components/mcptoolmeta.d.ts +16 -11
- package/esm/models/components/mcptoolmeta.d.ts.map +1 -1
- package/esm/models/components/mcptoolmeta.js +13 -5
- package/esm/models/components/mcptoolmeta.js.map +1 -1
- package/esm/models/components/modelconversation.d.ts +3 -2
- package/esm/models/components/modelconversation.d.ts.map +1 -1
- package/esm/models/components/modelconversation.js +1 -2
- package/esm/models/components/modelconversation.js.map +1 -1
- package/esm/models/components/oauth2token.d.ts +22 -0
- package/esm/models/components/oauth2token.d.ts.map +1 -0
- package/esm/models/components/oauth2token.js +27 -0
- package/esm/models/components/oauth2token.js.map +1 -0
- package/esm/models/components/observabilityerrorcode.d.ts +3 -0
- package/esm/models/components/observabilityerrorcode.d.ts.map +1 -1
- package/esm/models/components/observabilityerrorcode.js +3 -0
- 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/outboundauthenticationtype.d.ts +13 -0
- package/esm/models/components/outboundauthenticationtype.d.ts.map +1 -0
- package/esm/models/components/outboundauthenticationtype.js +15 -0
- package/esm/models/components/outboundauthenticationtype.js.map +1 -0
- package/esm/models/components/partialscheduledefinition.d.ts +78 -0
- package/esm/models/components/partialscheduledefinition.d.ts.map +1 -0
- package/esm/models/components/partialscheduledefinition.js +35 -0
- package/esm/models/components/partialscheduledefinition.js.map +1 -0
- package/esm/models/components/processingstatus.d.ts +3 -0
- package/esm/models/components/processingstatus.d.ts.map +1 -1
- package/esm/models/components/processingstatus.js.map +1 -1
- package/esm/models/components/promptargument.d.ts +16 -0
- package/esm/models/components/promptargument.d.ts.map +1 -0
- package/esm/models/components/promptargument.js +16 -0
- package/esm/models/components/promptargument.js.map +1 -0
- package/esm/models/components/promptscapability.d.ts +14 -0
- package/esm/models/components/promptscapability.d.ts.map +1 -0
- package/esm/models/components/promptscapability.js +14 -0
- package/esm/models/components/promptscapability.js.map +1 -0
- package/esm/models/components/publicauthenticationmethod.d.ts +17 -0
- package/esm/models/components/publicauthenticationmethod.d.ts.map +1 -0
- package/esm/models/components/publicauthenticationmethod.js +25 -0
- package/esm/models/components/publicauthenticationmethod.js.map +1 -0
- package/esm/models/components/publicconnectionconfig.d.ts +16 -0
- package/esm/models/components/publicconnectionconfig.d.ts.map +1 -0
- package/esm/models/components/publicconnectionconfig.js +23 -0
- package/esm/models/components/publicconnectionconfig.js.map +1 -0
- package/esm/models/components/referencechunk.d.ts +4 -4
- package/esm/models/components/referencechunk.js +4 -4
- package/esm/models/components/referencechunk.js.map +1 -1
- package/esm/models/components/resourcescapability.d.ts +15 -0
- package/esm/models/components/resourcescapability.d.ts.map +1 -0
- package/esm/models/components/resourcescapability.js +15 -0
- package/esm/models/components/resourcescapability.js.map +1 -0
- package/esm/models/components/resourcetype.d.ts +12 -0
- package/esm/models/components/resourcetype.d.ts.map +1 -0
- package/esm/models/components/resourcetype.js +14 -0
- package/esm/models/components/resourcetype.js.map +1 -0
- package/esm/models/components/rootscapability.d.ts +14 -0
- package/esm/models/components/rootscapability.d.ts.map +1 -0
- package/esm/models/components/rootscapability.js +14 -0
- package/esm/models/components/rootscapability.js.map +1 -0
- package/esm/models/components/samplingcapability.d.ts +19 -0
- package/esm/models/components/samplingcapability.d.ts.map +1 -0
- package/esm/models/components/samplingcapability.js +15 -0
- package/esm/models/components/samplingcapability.js.map +1 -0
- package/esm/models/components/scheduledefinition.d.ts +5 -0
- package/esm/models/components/scheduledefinition.d.ts.map +1 -1
- package/esm/models/components/scheduledefinition.js +2 -0
- package/esm/models/components/scheduledefinition.js.map +1 -1
- package/esm/models/components/scheduledefinitionoutput.d.ts +26 -0
- package/esm/models/components/scheduledefinitionoutput.d.ts.map +1 -1
- package/esm/models/components/scheduledefinitionoutput.js +12 -0
- package/esm/models/components/scheduledefinitionoutput.js.map +1 -1
- package/esm/models/components/schedulefutureexecution.d.ts +13 -0
- package/esm/models/components/schedulefutureexecution.d.ts.map +1 -0
- package/esm/models/components/schedulefutureexecution.js +19 -0
- package/esm/models/components/schedulefutureexecution.js.map +1 -0
- package/esm/models/components/schedulerecentexecution.d.ts +21 -0
- package/esm/models/components/schedulerecentexecution.d.ts.map +1 -0
- package/esm/models/components/schedulerecentexecution.js +23 -0
- package/esm/models/components/schedulerecentexecution.js.map +1 -0
- package/esm/models/components/searchindexresponse.d.ts +30 -0
- package/esm/models/components/searchindexresponse.d.ts.map +1 -0
- package/esm/models/components/searchindexresponse.js +42 -0
- package/esm/models/components/searchindexresponse.js.map +1 -0
- package/esm/models/components/servercapabilities.d.ts +32 -0
- package/esm/models/components/servercapabilities.d.ts.map +1 -0
- package/esm/models/components/servercapabilities.js +25 -0
- package/esm/models/components/servercapabilities.js.map +1 -0
- package/esm/models/components/{turbinetoollocale.d.ts → serverlocale.d.ts} +4 -4
- package/esm/models/components/serverlocale.d.ts.map +1 -0
- package/esm/models/components/{turbinetoollocale.js → serverlocale.js} +8 -6
- package/esm/models/components/serverlocale.js.map +1 -0
- package/esm/models/components/servertaskscapability.d.ts +21 -0
- package/esm/models/components/servertaskscapability.d.ts.map +1 -0
- package/esm/models/components/servertaskscapability.js +17 -0
- package/esm/models/components/servertaskscapability.js.map +1 -0
- package/esm/models/components/servertasksrequestscapability.d.ts +15 -0
- package/esm/models/components/servertasksrequestscapability.d.ts.map +1 -0
- package/esm/models/components/servertasksrequestscapability.js +15 -0
- package/esm/models/components/servertasksrequestscapability.js.map +1 -0
- package/esm/models/components/sharing.d.ts +6 -0
- package/esm/models/components/sharing.d.ts.map +1 -1
- package/esm/models/components/sharing.js.map +1 -1
- package/esm/models/components/sharingdelete.d.ts +3 -0
- package/esm/models/components/sharingdelete.d.ts.map +1 -1
- package/esm/models/components/sharingdelete.js.map +1 -1
- package/esm/models/components/sharingrequest.d.ts +3 -0
- package/esm/models/components/sharingrequest.d.ts.map +1 -1
- package/esm/models/components/sharingrequest.js.map +1 -1
- package/esm/models/components/speechrequest.d.ts +6 -3
- package/esm/models/components/speechrequest.d.ts.map +1 -1
- package/esm/models/components/speechrequest.js +1 -2
- package/esm/models/components/speechrequest.js.map +1 -1
- package/esm/models/components/taskselicitationcapability.d.ts +16 -0
- package/esm/models/components/taskselicitationcapability.d.ts.map +1 -0
- package/esm/models/components/taskselicitationcapability.js +14 -0
- package/esm/models/components/taskselicitationcapability.js.map +1 -0
- package/esm/models/components/taskssamplingcapability.d.ts +16 -0
- package/esm/models/components/taskssamplingcapability.d.ts.map +1 -0
- package/esm/models/components/taskssamplingcapability.js +14 -0
- package/esm/models/components/taskssamplingcapability.js.map +1 -0
- package/esm/models/components/taskstoolscapability.d.ts +16 -0
- package/esm/models/components/taskstoolscapability.d.ts.map +1 -0
- package/esm/models/components/taskstoolscapability.js +14 -0
- package/esm/models/components/taskstoolscapability.js.map +1 -0
- package/esm/models/components/tempotraceattribute.d.ts +3 -2
- package/esm/models/components/tempotraceattribute.d.ts.map +1 -1
- package/esm/models/components/tempotraceattribute.js +3 -0
- package/esm/models/components/tempotraceattribute.js.map +1 -1
- package/esm/models/components/tempotraceattributearraycontainer.d.ts +14 -0
- package/esm/models/components/tempotraceattributearraycontainer.d.ts.map +1 -0
- package/esm/models/components/tempotraceattributearraycontainer.js +15 -0
- package/esm/models/components/tempotraceattributearraycontainer.js.map +1 -0
- package/esm/models/components/tempotraceattributearrayelement.d.ts +21 -0
- package/esm/models/components/tempotraceattributearrayelement.d.ts.map +1 -0
- package/esm/models/components/tempotraceattributearrayelement.js +16 -0
- package/esm/models/components/tempotraceattributearrayelement.js.map +1 -0
- package/esm/models/components/tempotraceattributearrayvalue.d.ts +11 -0
- package/esm/models/components/tempotraceattributearrayvalue.d.ts.map +1 -0
- package/esm/models/components/tempotraceattributearrayvalue.js +15 -0
- package/esm/models/components/tempotraceattributearrayvalue.js.map +1 -0
- package/esm/models/components/thinkchunk.d.ts +5 -0
- package/esm/models/components/thinkchunk.d.ts.map +1 -1
- package/esm/models/components/thinkchunk.js +2 -0
- package/esm/models/components/thinkchunk.js.map +1 -1
- package/esm/models/components/toolexecutionconfiguration.d.ts +43 -0
- package/esm/models/components/toolexecutionconfiguration.d.ts.map +1 -0
- package/esm/models/components/toolexecutionconfiguration.js +93 -0
- package/esm/models/components/toolexecutionconfiguration.js.map +1 -0
- package/esm/models/components/toolproperties.d.ts +17 -0
- package/esm/models/components/toolproperties.d.ts.map +1 -0
- package/esm/models/components/toolproperties.js +30 -0
- package/esm/models/components/toolproperties.js.map +1 -0
- package/esm/models/components/toolscapability.d.ts +14 -0
- package/esm/models/components/toolscapability.d.ts.map +1 -0
- package/esm/models/components/toolscapability.js +14 -0
- package/esm/models/components/toolscapability.js.map +1 -0
- package/esm/models/components/turbinemeta.d.ts +12 -0
- package/esm/models/components/turbinemeta.d.ts.map +1 -0
- package/esm/models/components/turbinemeta.js +22 -0
- package/esm/models/components/turbinemeta.js.map +1 -0
- package/esm/models/components/updateagentrequest.d.ts +6 -3
- package/esm/models/components/updateagentrequest.d.ts.map +1 -1
- package/esm/models/components/updateagentrequest.js +1 -2
- package/esm/models/components/updateagentrequest.js.map +1 -1
- package/esm/models/components/updateconnectorrequest.d.ts +11 -0
- package/esm/models/components/updateconnectorrequest.d.ts.map +1 -1
- package/esm/models/components/updateconnectorrequest.js +3 -0
- package/esm/models/components/updateconnectorrequest.js.map +1 -1
- package/esm/models/components/updatedocumentrequest.d.ts +7 -2
- package/esm/models/components/updatedocumentrequest.d.ts.map +1 -1
- package/esm/models/components/updatedocumentrequest.js +7 -1
- package/esm/models/components/updatedocumentrequest.js.map +1 -1
- package/esm/models/components/updatelibraryrequest.d.ts +2 -2
- package/esm/models/components/updatelibraryrequest.d.ts.map +1 -1
- package/esm/models/components/updatelibraryrequest.js +1 -1
- package/esm/models/components/updatelibraryrequest.js.map +1 -1
- package/esm/models/components/updateruninfo.d.ts +14 -0
- package/esm/models/components/updateruninfo.d.ts.map +1 -0
- package/esm/models/components/updateruninfo.js +20 -0
- package/esm/models/components/updateruninfo.js.map +1 -0
- package/esm/models/components/vespaschemaresponse.d.ts +11 -0
- package/esm/models/components/vespaschemaresponse.d.ts.map +1 -0
- package/esm/models/components/vespaschemaresponse.js +20 -0
- package/esm/models/components/vespaschemaresponse.js.map +1 -0
- package/esm/models/components/vespasearchindexinforesponse.d.ts +15 -0
- package/esm/models/components/vespasearchindexinforesponse.d.ts.map +1 -0
- package/esm/models/components/vespasearchindexinforesponse.js +26 -0
- package/esm/models/components/vespasearchindexinforesponse.js.map +1 -0
- package/esm/models/components/voiceappearance.d.ts +23 -0
- package/esm/models/components/voiceappearance.d.ts.map +1 -0
- package/esm/models/components/voiceappearance.js +42 -0
- package/esm/models/components/voiceappearance.js.map +1 -0
- package/esm/models/components/voicecreaterequest.d.ts +5 -0
- package/esm/models/components/voicecreaterequest.d.ts.map +1 -1
- package/esm/models/components/voicecreaterequest.js +3 -0
- package/esm/models/components/voicecreaterequest.js.map +1 -1
- package/esm/models/components/voiceresponse.d.ts +3 -0
- package/esm/models/components/voiceresponse.d.ts.map +1 -1
- package/esm/models/components/voiceresponse.js +3 -0
- package/esm/models/components/voiceresponse.js.map +1 -1
- package/esm/models/components/voiceupdaterequest.d.ts +5 -0
- package/esm/models/components/voiceupdaterequest.d.ts.map +1 -1
- package/esm/models/components/voiceupdaterequest.js +3 -0
- package/esm/models/components/voiceupdaterequest.js.map +1 -1
- package/esm/models/components/workflow.d.ts +4 -0
- package/esm/models/components/workflow.d.ts.map +1 -1
- package/esm/models/components/workflow.js +2 -0
- package/esm/models/components/workflow.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 +6 -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/workflowexecutionlistresponse.d.ts +3 -0
- package/esm/models/components/workflowexecutionlistresponse.d.ts.map +1 -1
- package/esm/models/components/workflowexecutionlistresponse.js.map +1 -1
- package/esm/models/components/workflowexecutionrequest.d.ts +9 -6
- package/esm/models/components/workflowexecutionrequest.d.ts.map +1 -1
- package/esm/models/components/workflowexecutionrequest.js +1 -3
- package/esm/models/components/workflowexecutionrequest.js.map +1 -1
- package/esm/models/components/workflowexecutionresponse.d.ts +4 -0
- package/esm/models/components/workflowexecutionresponse.d.ts.map +1 -1
- package/esm/models/components/workflowexecutionresponse.js +2 -0
- package/esm/models/components/workflowexecutionresponse.js.map +1 -1
- package/esm/models/components/workflowexecutionstartedattributesresponse.d.ts +6 -0
- package/esm/models/components/workflowexecutionstartedattributesresponse.d.ts.map +1 -1
- package/esm/models/components/workflowexecutionstartedattributesresponse.js +2 -0
- package/esm/models/components/workflowexecutionstartedattributesresponse.js.map +1 -1
- package/esm/models/components/workflowexecutiontraceeventsresponse.d.ts +4 -0
- package/esm/models/components/workflowexecutiontraceeventsresponse.d.ts.map +1 -1
- package/esm/models/components/workflowexecutiontraceeventsresponse.js +2 -0
- package/esm/models/components/workflowexecutiontraceeventsresponse.js.map +1 -1
- package/esm/models/components/workflowexecutiontraceotelresponse.d.ts +4 -0
- package/esm/models/components/workflowexecutiontraceotelresponse.d.ts.map +1 -1
- package/esm/models/components/workflowexecutiontraceotelresponse.js +2 -0
- package/esm/models/components/workflowexecutiontraceotelresponse.js.map +1 -1
- package/esm/models/components/workflowexecutiontracesummaryattributesvalues.d.ts +1 -1
- package/esm/models/components/workflowexecutiontracesummaryattributesvalues.d.ts.map +1 -1
- package/esm/models/components/workflowexecutiontracesummaryattributesvalues.js +7 -1
- package/esm/models/components/workflowexecutiontracesummaryattributesvalues.js.map +1 -1
- package/esm/models/components/workflowexecutiontracesummaryresponse.d.ts +4 -0
- package/esm/models/components/workflowexecutiontracesummaryresponse.d.ts.map +1 -1
- package/esm/models/components/workflowexecutiontracesummaryresponse.js +2 -0
- package/esm/models/components/workflowexecutiontracesummaryresponse.js.map +1 -1
- package/esm/models/components/workflowexecutionwithoutresultresponse.d.ts +4 -0
- package/esm/models/components/workflowexecutionwithoutresultresponse.d.ts.map +1 -1
- package/esm/models/components/workflowexecutionwithoutresultresponse.js +2 -0
- package/esm/models/components/workflowexecutionwithoutresultresponse.js.map +1 -1
- package/esm/models/components/workflowschedulelistresponse.d.ts +4 -0
- package/esm/models/components/workflowschedulelistresponse.d.ts.map +1 -1
- package/esm/models/components/workflowschedulelistresponse.js +6 -0
- package/esm/models/components/workflowschedulelistresponse.js.map +1 -1
- package/esm/models/components/workflowschedulepauserequest.d.ts +15 -0
- package/esm/models/components/workflowschedulepauserequest.d.ts.map +1 -0
- package/esm/models/components/workflowschedulepauserequest.js +13 -0
- package/esm/models/components/workflowschedulepauserequest.js.map +1 -0
- package/esm/models/components/workflowscheduleupdaterequest.d.ts +21 -0
- package/esm/models/components/workflowscheduleupdaterequest.d.ts.map +1 -0
- package/esm/models/components/workflowscheduleupdaterequest.js +14 -0
- package/esm/models/components/workflowscheduleupdaterequest.js.map +1 -0
- package/esm/models/components/workflowwithworkerstatus.d.ts +4 -0
- package/esm/models/components/workflowwithworkerstatus.d.ts.map +1 -1
- package/esm/models/components/workflowwithworkerstatus.js +2 -0
- 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/connectorcreateorupdateorganizationcredentialsv1.d.ts +15 -0
- package/esm/models/operations/connectorcreateorupdateorganizationcredentialsv1.d.ts.map +1 -0
- package/esm/models/operations/connectorcreateorupdateorganizationcredentialsv1.js +22 -0
- package/esm/models/operations/connectorcreateorupdateorganizationcredentialsv1.js.map +1 -0
- package/esm/models/operations/connectorcreateorupdateusercredentialsv1.d.ts +15 -0
- package/esm/models/operations/connectorcreateorupdateusercredentialsv1.d.ts.map +1 -0
- package/esm/models/operations/connectorcreateorupdateusercredentialsv1.js +21 -0
- package/esm/models/operations/connectorcreateorupdateusercredentialsv1.js.map +1 -0
- package/esm/models/operations/connectorcreateorupdateworkspacecredentialsv1.d.ts +15 -0
- package/esm/models/operations/connectorcreateorupdateworkspacecredentialsv1.d.ts.map +1 -0
- package/esm/models/operations/connectorcreateorupdateworkspacecredentialsv1.js +21 -0
- package/esm/models/operations/connectorcreateorupdateworkspacecredentialsv1.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/connectordeleteorganizationcredentialsv1.d.ts +14 -0
- package/esm/models/operations/connectordeleteorganizationcredentialsv1.d.ts.map +1 -0
- package/esm/models/operations/connectordeleteorganizationcredentialsv1.js +20 -0
- package/esm/models/operations/connectordeleteorganizationcredentialsv1.js.map +1 -0
- package/esm/models/operations/connectordeleteusercredentialsv1.d.ts +14 -0
- package/esm/models/operations/connectordeleteusercredentialsv1.d.ts.map +1 -0
- package/esm/models/operations/connectordeleteusercredentialsv1.js +20 -0
- package/esm/models/operations/connectordeleteusercredentialsv1.js.map +1 -0
- package/esm/models/operations/connectordeleteworkspacecredentialsv1.d.ts +14 -0
- package/esm/models/operations/connectordeleteworkspacecredentialsv1.d.ts.map +1 -0
- package/esm/models/operations/connectordeleteworkspacecredentialsv1.js +20 -0
- package/esm/models/operations/connectordeleteworkspacecredentialsv1.js.map +1 -0
- package/esm/models/operations/connectorgetauthenticationmethodsv1.d.ts +12 -0
- package/esm/models/operations/connectorgetauthenticationmethodsv1.d.ts.map +1 -0
- package/esm/models/operations/connectorgetauthenticationmethodsv1.js +18 -0
- package/esm/models/operations/connectorgetauthenticationmethodsv1.js.map +1 -0
- package/esm/models/operations/connectorgetauthurlv1.d.ts +2 -0
- package/esm/models/operations/connectorgetauthurlv1.d.ts.map +1 -1
- package/esm/models/operations/connectorgetauthurlv1.js +2 -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 +17 -0
- package/esm/models/operations/connectorlistorganizationcredentialsv1.d.ts.map +1 -0
- package/esm/models/operations/connectorlistorganizationcredentialsv1.js +24 -0
- package/esm/models/operations/connectorlistorganizationcredentialsv1.js.map +1 -0
- package/esm/models/operations/connectorlisttoolsv1.d.ts +2 -0
- package/esm/models/operations/connectorlisttoolsv1.d.ts.map +1 -1
- package/esm/models/operations/connectorlisttoolsv1.js +2 -0
- package/esm/models/operations/connectorlisttoolsv1.js.map +1 -1
- package/esm/models/operations/connectorlistusercredentialsv1.d.ts +17 -0
- package/esm/models/operations/connectorlistusercredentialsv1.d.ts.map +1 -0
- package/esm/models/operations/connectorlistusercredentialsv1.js +24 -0
- package/esm/models/operations/connectorlistusercredentialsv1.js.map +1 -0
- package/esm/models/operations/connectorlistworkspacecredentialsv1.d.ts +17 -0
- package/esm/models/operations/connectorlistworkspacecredentialsv1.d.ts.map +1 -0
- package/esm/models/operations/connectorlistworkspacecredentialsv1.js +24 -0
- package/esm/models/operations/connectorlistworkspacecredentialsv1.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/getworkflowregistrationsv1workflowsregistrationsget.d.ts +1 -1
- package/esm/models/operations/getworkflowsv1workflowsget.d.ts +1 -1
- package/esm/models/operations/index.d.ts +24 -0
- package/esm/models/operations/index.d.ts.map +1 -1
- package/esm/models/operations/index.js +24 -0
- package/esm/models/operations/index.js.map +1 -1
- package/esm/models/operations/librariesdocumentsgettextcontentv1.d.ts +4 -0
- package/esm/models/operations/librariesdocumentsgettextcontentv1.d.ts.map +1 -1
- package/esm/models/operations/librariesdocumentsgettextcontentv1.js +4 -0
- package/esm/models/operations/librariesdocumentsgettextcontentv1.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 +12 -0
- package/esm/models/operations/librarieslistv1.d.ts.map +1 -1
- package/esm/models/operations/librarieslistv1.js +3 -0
- 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/listrunsv1workflowsrunsget.d.ts +5 -0
- package/esm/models/operations/listrunsv1workflowsrunsget.d.ts.map +1 -1
- package/esm/models/operations/listrunsv1workflowsrunsget.js +2 -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/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/beta.d.ts +3 -0
- package/esm/sdk/beta.d.ts.map +1 -1
- package/esm/sdk/beta.js +5 -0
- package/esm/sdk/beta.js.map +1 -1
- package/esm/sdk/connectors.d.ts +112 -0
- package/esm/sdk/connectors.d.ts.map +1 -1
- package/esm/sdk/connectors.js +160 -0
- package/esm/sdk/connectors.js.map +1 -1
- package/esm/sdk/documents.d.ts +10 -1
- package/esm/sdk/documents.d.ts.map +1 -1
- package/esm/sdk/documents.js +13 -1
- package/esm/sdk/documents.js.map +1 -1
- package/esm/sdk/ingestionpipelineconfigurations.d.ts +24 -0
- package/esm/sdk/ingestionpipelineconfigurations.d.ts.map +1 -0
- package/esm/sdk/ingestionpipelineconfigurations.js +36 -0
- package/esm/sdk/ingestionpipelineconfigurations.js.map +1 -0
- package/esm/sdk/libraries.d.ts +11 -2
- package/esm/sdk/libraries.d.ts.map +1 -1
- package/esm/sdk/libraries.js +13 -1
- package/esm/sdk/libraries.js.map +1 -1
- package/esm/sdk/rag.d.ts +10 -0
- package/esm/sdk/rag.d.ts.map +1 -0
- package/esm/sdk/rag.js +18 -0
- package/esm/sdk/rag.js.map +1 -0
- package/esm/sdk/schedules.d.ts +20 -1
- package/esm/sdk/schedules.d.ts.map +1 -1
- package/esm/sdk/schedules.js +31 -2
- package/esm/sdk/schedules.js.map +1 -1
- package/esm/sdk/searchindexes.d.ts +13 -0
- package/esm/sdk/searchindexes.d.ts.map +1 -0
- package/esm/sdk/searchindexes.js +23 -0
- package/esm/sdk/searchindexes.js.map +1 -0
- package/esm/sdk/voices.d.ts +1 -1
- package/esm/sdk/voices.d.ts.map +1 -1
- package/esm/sdk/voices.js.map +1 -1
- 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 +3 -3
- package/packages/mistralai-azure/src/funcs/chatComplete.ts +5 -3
- package/packages/mistralai-azure/src/funcs/chatStream.ts +5 -3
- package/packages/mistralai-azure/src/funcs/ocrProcess.ts +5 -3
- package/packages/mistralai-azure/src/lib/config.ts +3 -3
- package/packages/mistralai-azure/src/lib/encodings.ts +32 -4
- package/packages/mistralai-azure/src/lib/files.ts +22 -0
- package/packages/mistralai-azure/src/lib/sdks.ts +10 -11
- package/packages/mistralai-azure/src/lib/security.ts +14 -2
- package/packages/mistralai-azure/src/lib/url.ts +16 -14
- package/packages/mistralai-azure/src/models/components/apikeyauth.ts +30 -0
- package/packages/mistralai-azure/src/models/components/chatcompletionchoice.ts +5 -2
- package/packages/mistralai-azure/src/models/components/chatcompletionrequest.ts +136 -15
- package/packages/mistralai-azure/src/models/components/chatcompletionstreamrequest.ts +138 -15
- package/packages/mistralai-azure/src/models/components/codeinterpretertool.ts +44 -0
- package/packages/mistralai-azure/src/models/components/customconnector.ts +82 -0
- package/packages/mistralai-azure/src/models/components/deltamessage.ts +10 -0
- package/packages/mistralai-azure/src/models/components/documentlibrarytool.ts +51 -0
- package/packages/mistralai-azure/src/models/components/guardrailconfig.ts +55 -0
- package/packages/mistralai-azure/src/models/components/imagegenerationtool.ts +44 -0
- package/packages/mistralai-azure/src/models/components/imageurlchunk.ts +1 -1
- package/packages/mistralai-azure/src/models/components/index.ts +18 -1
- package/packages/mistralai-azure/src/models/components/moderationllmaction.ts +18 -0
- package/packages/mistralai-azure/src/models/components/moderationllmv1categorythresholds.ts +64 -0
- package/packages/mistralai-azure/src/models/components/moderationllmv1config.ts +70 -0
- package/packages/mistralai-azure/src/models/components/moderationllmv2categorythresholds.ts +69 -0
- package/packages/mistralai-azure/src/models/components/moderationllmv2config.ts +70 -0
- package/packages/mistralai-azure/src/models/components/oauth2tokenauth.ts +32 -0
- package/packages/mistralai-azure/src/models/components/ocrconfidencescore.ts +52 -0
- package/packages/mistralai-azure/src/models/components/ocrpageconfidencescores.ts +66 -0
- package/packages/mistralai-azure/src/models/components/ocrpageobject.ts +15 -0
- package/packages/mistralai-azure/src/models/components/ocrrequest.ts +42 -7
- package/packages/mistralai-azure/src/models/components/ocrtableobject.ts +16 -0
- package/packages/mistralai-azure/src/models/components/reasoningeffort.ts +17 -0
- package/packages/mistralai-azure/src/models/components/referencechunk.ts +32 -4
- package/packages/mistralai-azure/src/models/components/thinkchunk.ts +6 -0
- package/packages/mistralai-azure/src/models/components/tool.ts +3 -4
- package/packages/mistralai-azure/src/models/components/toolcall.ts +3 -8
- package/packages/mistralai-azure/src/models/components/toolchoice.ts +2 -3
- package/packages/mistralai-azure/src/models/components/toolconfiguration.ts +42 -0
- package/packages/mistralai-azure/src/models/components/toolreferencechunk.ts +11 -7
- package/packages/mistralai-azure/src/models/components/websearchpremiumtool.ts +44 -0
- package/packages/mistralai-azure/src/models/components/websearchtool.ts +40 -0
- package/packages/mistralai-azure/src/types/async.ts +8 -7
- package/packages/mistralai-gcp/src/funcs/chatComplete.ts +5 -3
- package/packages/mistralai-gcp/src/funcs/chatStream.ts +5 -3
- package/packages/mistralai-gcp/src/funcs/fimComplete.ts +5 -3
- package/packages/mistralai-gcp/src/funcs/fimStream.ts +5 -3
- package/packages/mistralai-gcp/src/lib/config.ts +3 -3
- package/packages/mistralai-gcp/src/lib/encodings.ts +32 -4
- package/packages/mistralai-gcp/src/lib/files.ts +22 -0
- package/packages/mistralai-gcp/src/lib/sdks.ts +10 -11
- package/packages/mistralai-gcp/src/lib/security.ts +14 -2
- package/packages/mistralai-gcp/src/lib/url.ts +16 -14
- package/packages/mistralai-gcp/src/models/components/apikeyauth.ts +30 -0
- package/packages/mistralai-gcp/src/models/components/chatcompletionchoice.ts +5 -2
- package/packages/mistralai-gcp/src/models/components/chatcompletionrequest.ts +136 -15
- package/packages/mistralai-gcp/src/models/components/chatcompletionstreamrequest.ts +138 -15
- package/packages/mistralai-gcp/src/models/components/codeinterpretertool.ts +44 -0
- package/packages/mistralai-gcp/src/models/components/customconnector.ts +82 -0
- package/packages/mistralai-gcp/src/models/components/deltamessage.ts +10 -0
- package/packages/mistralai-gcp/src/models/components/documentlibrarytool.ts +51 -0
- package/packages/mistralai-gcp/src/models/components/fimcompletionrequest.ts +6 -6
- package/packages/mistralai-gcp/src/models/components/fimcompletionstreamrequest.ts +6 -6
- package/packages/mistralai-gcp/src/models/components/guardrailconfig.ts +55 -0
- package/packages/mistralai-gcp/src/models/components/imagegenerationtool.ts +44 -0
- package/packages/mistralai-gcp/src/models/components/imageurlchunk.ts +1 -1
- package/packages/mistralai-gcp/src/models/components/index.ts +16 -1
- package/packages/mistralai-gcp/src/models/components/moderationllmaction.ts +18 -0
- package/packages/mistralai-gcp/src/models/components/moderationllmv1categorythresholds.ts +64 -0
- package/packages/mistralai-gcp/src/models/components/moderationllmv1config.ts +70 -0
- package/packages/mistralai-gcp/src/models/components/moderationllmv2categorythresholds.ts +69 -0
- package/packages/mistralai-gcp/src/models/components/moderationllmv2config.ts +70 -0
- package/packages/mistralai-gcp/src/models/components/oauth2tokenauth.ts +32 -0
- package/packages/mistralai-gcp/src/models/components/reasoningeffort.ts +17 -0
- package/packages/mistralai-gcp/src/models/components/referencechunk.ts +32 -4
- package/packages/mistralai-gcp/src/models/components/thinkchunk.ts +6 -0
- package/packages/mistralai-gcp/src/models/components/tool.ts +3 -4
- package/packages/mistralai-gcp/src/models/components/toolcall.ts +3 -8
- package/packages/mistralai-gcp/src/models/components/toolchoice.ts +2 -3
- package/packages/mistralai-gcp/src/models/components/toolconfiguration.ts +42 -0
- package/packages/mistralai-gcp/src/models/components/toolreferencechunk.ts +11 -7
- package/packages/mistralai-gcp/src/models/components/websearchpremiumtool.ts +44 -0
- package/packages/mistralai-gcp/src/models/components/websearchtool.ts +40 -0
- package/packages/mistralai-gcp/src/models/errors/httpvalidationerror.ts +1 -1
- package/packages/mistralai-gcp/src/models/errors/index.ts +1 -1
- package/packages/mistralai-gcp/src/models/errors/responsevalidationerror.ts +1 -1
- package/packages/mistralai-gcp/src/models/errors/sdkerror.ts +1 -1
- package/packages/mistralai-gcp/src/types/async.ts +8 -7
- package/src/extra/structChat.ts +25 -5
- package/src/funcs/agentsComplete.ts +4 -2
- package/src/funcs/agentsStream.ts +4 -2
- package/src/funcs/audioSpeechComplete.ts +4 -2
- package/src/funcs/audioTranscriptionsComplete.ts +8 -5
- package/src/funcs/audioTranscriptionsStream.ts +8 -5
- package/src/funcs/audioVoicesCreate.ts +4 -2
- package/src/funcs/audioVoicesDelete.ts +4 -2
- package/src/funcs/audioVoicesGet.ts +4 -2
- package/src/funcs/audioVoicesGetSampleAudio.ts +13 -7
- package/src/funcs/audioVoicesList.ts +4 -2
- package/src/funcs/audioVoicesUpdate.ts +4 -2
- package/src/funcs/batchJobsCancel.ts +4 -2
- package/src/funcs/batchJobsCreate.ts +4 -2
- package/src/funcs/batchJobsDelete.ts +4 -2
- package/src/funcs/batchJobsGet.ts +4 -2
- package/src/funcs/batchJobsList.ts +4 -2
- package/src/funcs/betaAgentsCreate.ts +4 -2
- package/src/funcs/betaAgentsCreateVersionAlias.ts +4 -2
- package/src/funcs/betaAgentsDelete.ts +4 -2
- package/src/funcs/betaAgentsDeleteVersionAlias.ts +4 -2
- package/src/funcs/betaAgentsGet.ts +4 -2
- package/src/funcs/betaAgentsGetVersion.ts +4 -2
- package/src/funcs/betaAgentsList.ts +4 -2
- package/src/funcs/betaAgentsListVersionAliases.ts +4 -2
- package/src/funcs/betaAgentsListVersions.ts +4 -2
- package/src/funcs/betaAgentsUpdate.ts +4 -2
- package/src/funcs/betaAgentsUpdateVersion.ts +4 -2
- 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 +4 -2
- package/src/funcs/betaConnectorsCreate.ts +4 -2
- package/src/funcs/betaConnectorsCreateOrUpdateOrganizationCredentials.ts +187 -0
- package/src/funcs/betaConnectorsCreateOrUpdateUserCredentials.ts +186 -0
- package/src/funcs/betaConnectorsCreateOrUpdateWorkspaceCredentials.ts +187 -0
- 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 +4 -2
- package/src/funcs/betaConnectorsDeleteOrganizationCredentials.ts +188 -0
- package/src/funcs/betaConnectorsDeleteUserCredentials.ts +189 -0
- package/src/funcs/betaConnectorsDeleteWorkspaceCredentials.ts +188 -0
- package/src/funcs/betaConnectorsGet.ts +5 -3
- package/src/funcs/betaConnectorsGetAuthUrl.ts +5 -2
- package/src/funcs/betaConnectorsGetAuthenticationMethods.ts +175 -0
- package/src/funcs/betaConnectorsList.ts +4 -2
- package/src/funcs/betaConnectorsListOrganizationCredentials.ts +189 -0
- package/src/funcs/betaConnectorsListTools.ts +5 -2
- package/src/funcs/betaConnectorsListUserCredentials.ts +190 -0
- package/src/funcs/betaConnectorsListWorkspaceCredentials.ts +189 -0
- package/src/funcs/betaConnectorsUpdate.ts +4 -2
- package/src/funcs/betaConversationsAppend.ts +4 -2
- package/src/funcs/betaConversationsAppendStream.ts +4 -2
- package/src/funcs/betaConversationsDelete.ts +4 -2
- package/src/funcs/betaConversationsGet.ts +4 -2
- package/src/funcs/betaConversationsGetHistory.ts +4 -2
- package/src/funcs/betaConversationsGetMessages.ts +4 -2
- package/src/funcs/betaConversationsList.ts +4 -2
- package/src/funcs/betaConversationsRestart.ts +4 -2
- package/src/funcs/betaConversationsRestartStream.ts +4 -2
- package/src/funcs/betaConversationsStart.ts +4 -2
- package/src/funcs/betaConversationsStartStream.ts +4 -2
- package/src/funcs/betaLibrariesAccessesDelete.ts +5 -3
- package/src/funcs/betaLibrariesAccessesList.ts +4 -2
- package/src/funcs/betaLibrariesAccessesUpdateOrCreate.ts +4 -2
- package/src/funcs/betaLibrariesCreate.ts +4 -2
- package/src/funcs/betaLibrariesDelete.ts +5 -3
- package/src/funcs/betaLibrariesDocumentsDelete.ts +4 -2
- package/src/funcs/betaLibrariesDocumentsExtractedTextSignedUrl.ts +4 -2
- package/src/funcs/betaLibrariesDocumentsGet.ts +4 -2
- package/src/funcs/betaLibrariesDocumentsGetSignedUrl.ts +4 -2
- package/src/funcs/betaLibrariesDocumentsLibrariesDocumentsUpdateV1.ts +190 -0
- package/src/funcs/betaLibrariesDocumentsList.ts +4 -2
- package/src/funcs/betaLibrariesDocumentsReprocess.ts +4 -2
- package/src/funcs/betaLibrariesDocumentsStatus.ts +4 -2
- package/src/funcs/betaLibrariesDocumentsTextContent.ts +11 -3
- package/src/funcs/betaLibrariesDocumentsUpdate.ts +10 -8
- package/src/funcs/betaLibrariesDocumentsUpload.ts +8 -5
- package/src/funcs/betaLibrariesGet.ts +4 -2
- package/src/funcs/betaLibrariesLibrariesUpdateV1.ts +183 -0
- package/src/funcs/betaLibrariesList.ts +6 -2
- package/src/funcs/betaLibrariesUpdate.ts +9 -7
- package/src/funcs/betaObservabilityCampaignsCreate.ts +4 -2
- package/src/funcs/betaObservabilityCampaignsDelete.ts +4 -2
- package/src/funcs/betaObservabilityCampaignsFetch.ts +4 -2
- package/src/funcs/betaObservabilityCampaignsFetchStatus.ts +4 -2
- package/src/funcs/betaObservabilityCampaignsList.ts +4 -2
- package/src/funcs/betaObservabilityCampaignsListEvents.ts +4 -2
- package/src/funcs/betaObservabilityChatCompletionEventsFetch.ts +4 -2
- package/src/funcs/betaObservabilityChatCompletionEventsFetchSimilarEvents.ts +4 -2
- package/src/funcs/betaObservabilityChatCompletionEventsFieldsFetchOptionCounts.ts +4 -2
- package/src/funcs/betaObservabilityChatCompletionEventsFieldsFetchOptions.ts +4 -2
- package/src/funcs/betaObservabilityChatCompletionEventsFieldsList.ts +4 -2
- package/src/funcs/betaObservabilityChatCompletionEventsJudge.ts +4 -2
- package/src/funcs/betaObservabilityChatCompletionEventsSearch.ts +4 -2
- package/src/funcs/betaObservabilityChatCompletionEventsSearchIds.ts +4 -2
- package/src/funcs/betaObservabilityDatasetsCreate.ts +4 -2
- package/src/funcs/betaObservabilityDatasetsCreateRecord.ts +4 -2
- package/src/funcs/betaObservabilityDatasetsDelete.ts +4 -2
- package/src/funcs/betaObservabilityDatasetsExportToJsonl.ts +4 -2
- package/src/funcs/betaObservabilityDatasetsFetch.ts +4 -2
- package/src/funcs/betaObservabilityDatasetsFetchTask.ts +4 -2
- package/src/funcs/betaObservabilityDatasetsImportFromCampaign.ts +4 -2
- package/src/funcs/betaObservabilityDatasetsImportFromDatasetRecords.ts +4 -2
- package/src/funcs/betaObservabilityDatasetsImportFromExplorer.ts +4 -2
- package/src/funcs/betaObservabilityDatasetsImportFromFile.ts +4 -2
- package/src/funcs/betaObservabilityDatasetsImportFromPlayground.ts +4 -2
- package/src/funcs/betaObservabilityDatasetsList.ts +4 -2
- package/src/funcs/betaObservabilityDatasetsListRecords.ts +4 -2
- package/src/funcs/betaObservabilityDatasetsListTasks.ts +4 -2
- package/src/funcs/betaObservabilityDatasetsRecordsBulkDelete.ts +4 -2
- package/src/funcs/betaObservabilityDatasetsRecordsDelete.ts +4 -2
- package/src/funcs/betaObservabilityDatasetsRecordsFetch.ts +4 -2
- package/src/funcs/betaObservabilityDatasetsRecordsJudge.ts +4 -2
- package/src/funcs/betaObservabilityDatasetsRecordsUpdatePayload.ts +4 -2
- package/src/funcs/betaObservabilityDatasetsRecordsUpdateProperties.ts +4 -2
- package/src/funcs/betaObservabilityDatasetsUpdate.ts +4 -2
- package/src/funcs/betaObservabilityJudgesCreate.ts +4 -2
- package/src/funcs/betaObservabilityJudgesDelete.ts +4 -2
- package/src/funcs/betaObservabilityJudgesFetch.ts +4 -2
- package/src/funcs/betaObservabilityJudgesJudgeConversation.ts +4 -2
- package/src/funcs/betaObservabilityJudgesList.ts +4 -2
- package/src/funcs/betaObservabilityJudgesUpdate.ts +4 -2
- package/src/funcs/betaRagIngestionPipelineConfigurationsList.ts +149 -0
- 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 +4 -2
- package/src/funcs/chatStream.ts +4 -2
- package/src/funcs/classifiersClassify.ts +4 -2
- package/src/funcs/classifiersClassifyChat.ts +4 -2
- package/src/funcs/classifiersModerate.ts +4 -2
- package/src/funcs/classifiersModerateChat.ts +4 -2
- package/src/funcs/embeddingsCreate.ts +4 -2
- package/src/funcs/eventsGetStreamEvents.ts +4 -2
- package/src/funcs/eventsGetWorkflowEvents.ts +4 -2
- package/src/funcs/filesDelete.ts +4 -2
- package/src/funcs/filesDownload.ts +4 -2
- package/src/funcs/filesGetSignedUrl.ts +4 -2
- package/src/funcs/filesList.ts +4 -2
- package/src/funcs/filesRetrieve.ts +4 -2
- package/src/funcs/filesUpload.ts +8 -5
- package/src/funcs/fimComplete.ts +4 -2
- package/src/funcs/fimStream.ts +4 -2
- package/src/funcs/fineTuningJobsCancel.ts +4 -2
- package/src/funcs/fineTuningJobsCreate.ts +4 -2
- package/src/funcs/fineTuningJobsGet.ts +4 -2
- package/src/funcs/fineTuningJobsList.ts +4 -2
- package/src/funcs/fineTuningJobsStart.ts +4 -2
- package/src/funcs/modelsArchive.ts +4 -2
- package/src/funcs/modelsDelete.ts +4 -2
- package/src/funcs/modelsList.ts +4 -2
- package/src/funcs/modelsRetrieve.ts +4 -2
- package/src/funcs/modelsUnarchive.ts +4 -2
- package/src/funcs/modelsUpdate.ts +4 -2
- package/src/funcs/ocrProcess.ts +4 -2
- package/src/funcs/workflowsArchiveWorkflow.ts +4 -2
- package/src/funcs/workflowsBulkArchiveWorkflows.ts +170 -0
- package/src/funcs/workflowsBulkUnarchiveWorkflows.ts +170 -0
- package/src/funcs/workflowsDeploymentsGetDeployment.ts +4 -2
- package/src/funcs/workflowsDeploymentsListDeployments.ts +4 -2
- package/src/funcs/workflowsExecuteWorkflow.ts +4 -2
- package/src/funcs/workflowsExecuteWorkflowRegistration.ts +4 -2
- package/src/funcs/workflowsExecutionsBatchCancelWorkflowExecutions.ts +4 -2
- package/src/funcs/workflowsExecutionsBatchTerminateWorkflowExecutions.ts +4 -2
- package/src/funcs/workflowsExecutionsCancelWorkflowExecution.ts +4 -2
- package/src/funcs/workflowsExecutionsGetWorkflowExecution.ts +4 -2
- package/src/funcs/workflowsExecutionsGetWorkflowExecutionHistory.ts +4 -2
- package/src/funcs/workflowsExecutionsGetWorkflowExecutionTraceEvents.ts +4 -2
- package/src/funcs/workflowsExecutionsGetWorkflowExecutionTraceOtel.ts +4 -2
- package/src/funcs/workflowsExecutionsGetWorkflowExecutionTraceSummary.ts +4 -2
- package/src/funcs/workflowsExecutionsQueryWorkflowExecution.ts +4 -2
- package/src/funcs/workflowsExecutionsResetWorkflow.ts +4 -2
- package/src/funcs/workflowsExecutionsSignalWorkflowExecution.ts +4 -2
- package/src/funcs/workflowsExecutionsStream.ts +4 -2
- package/src/funcs/workflowsExecutionsTerminateWorkflowExecution.ts +4 -2
- package/src/funcs/workflowsExecutionsUpdateWorkflowExecution.ts +4 -2
- package/src/funcs/workflowsGetWorkflow.ts +4 -2
- package/src/funcs/workflowsGetWorkflowRegistration.ts +4 -2
- package/src/funcs/workflowsGetWorkflowRegistrations.ts +4 -2
- package/src/funcs/workflowsGetWorkflows.ts +4 -2
- package/src/funcs/workflowsMetricsGetWorkflowMetrics.ts +4 -2
- package/src/funcs/workflowsRunsGetRun.ts +4 -2
- package/src/funcs/workflowsRunsGetRunHistory.ts +4 -2
- package/src/funcs/workflowsRunsListRuns.ts +5 -2
- package/src/funcs/workflowsSchedulesGetSchedule.ts +178 -0
- package/src/funcs/workflowsSchedulesGetSchedules.ts +144 -31
- package/src/funcs/workflowsSchedulesPauseSchedule.ts +186 -0
- package/src/funcs/workflowsSchedulesResumeSchedule.ts +186 -0
- package/src/funcs/workflowsSchedulesScheduleWorkflow.ts +4 -2
- package/src/funcs/workflowsSchedulesUnscheduleWorkflow.ts +4 -2
- package/src/funcs/workflowsSchedulesUpdateSchedule.ts +181 -0
- package/src/funcs/workflowsUnarchiveWorkflow.ts +4 -2
- package/src/funcs/workflowsUpdateWorkflow.ts +4 -2
- package/src/hooks/deprecation_warning.ts +1 -2
- package/src/lib/config.ts +3 -3
- package/src/lib/encodings.ts +9 -0
- package/src/lib/sdks.ts +3 -6
- package/src/models/components/activitytaskcompletedattributesresponse.ts +2 -0
- package/src/models/components/activitytaskstartedattributesresponse.ts +2 -0
- package/src/models/components/agent.ts +2 -3
- package/src/models/components/agentconversation.ts +2 -3
- package/src/models/components/agentscompletionrequest.ts +13 -9
- package/src/models/components/agentscompletionstreamrequest.ts +13 -9
- package/src/models/components/authenticationconfiguration.ts +48 -0
- package/src/models/components/basefielddefinition.ts +9 -6
- package/src/models/components/chatcompletionchoice.ts +3 -2
- package/src/models/components/chatcompletionevent.ts +7 -9
- package/src/models/components/chatcompletioneventpreview.ts +7 -9
- package/src/models/components/chatcompletionrequest.ts +16 -12
- package/src/models/components/chatcompletionstreamrequest.ts +16 -12
- package/src/models/components/classifierfinetuningjob.ts +1 -1
- package/src/models/components/classifierfinetuningjobdetails.ts +42 -0
- package/src/models/components/classifiertrainingparameters.ts +12 -0
- package/src/models/components/clientcapabilities.ts +60 -0
- package/src/models/components/clienttaskscapability.ts +43 -0
- package/src/models/components/clienttasksrequestscapability.ts +45 -0
- package/src/models/components/completionfinetuningjob.ts +1 -1
- package/src/models/components/completionfinetuningjobdetails.ts +42 -0
- package/src/models/components/completiontrainingparameters.ts +12 -0
- package/src/models/components/connectionconfigtype.ts +21 -0
- package/src/models/components/connectioncredentials.ts +47 -0
- package/src/models/components/connectionpreference.ts +49 -0
- package/src/models/components/connector.ts +85 -3
- package/src/models/components/connectorauthenticationheader.ts +41 -0
- package/src/models/components/connectorlocale.ts +40 -0
- package/src/models/components/connectorprotocol.ts +26 -0
- package/src/models/components/connectorsqueryfilters.ts +0 -11
- package/src/models/components/consumertype.ts +20 -0
- package/src/models/components/conversationrequest.ts +3 -8
- package/src/models/components/conversationrestartrequest.ts +3 -8
- package/src/models/components/conversationrestartstreamrequest.ts +3 -8
- package/src/models/components/conversationstreamrequest.ts +3 -8
- package/src/models/components/createagentrequest.ts +3 -8
- package/src/models/components/createbatchjobrequest.ts +8 -1
- package/src/models/components/createconnectorrequest.ts +9 -0
- package/src/models/components/createingestionpipelineconfigurationrequest.ts +44 -0
- package/src/models/components/createlibraryrequest.ts +24 -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/credentialscreateorupdate.ts +59 -0
- package/src/models/components/credentialsresponse.ts +51 -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/deltamessage.ts +10 -0
- package/src/models/components/deploymentdetailresponse.ts +9 -0
- package/src/models/components/deploymentlocation.ts +49 -0
- package/src/models/components/deploymentresponse.ts +9 -0
- package/src/models/components/deploymentworkerresponse.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 +12 -5
- package/src/models/components/encryptedpatchvalue.ts +43 -0
- package/src/models/components/fimcompletionrequest.ts +10 -6
- package/src/models/components/fimcompletionstreamrequest.ts +10 -6
- package/src/models/components/index.ts +72 -8
- package/src/models/components/ingestionpipelineconfiguration.ts +60 -0
- package/src/models/components/instructrequest.ts +0 -3
- 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/locationtype.ts +18 -0
- package/src/models/components/logicalexpression.ts +132 -0
- package/src/models/components/mcpprompt.ts +49 -0
- package/src/models/components/mcpresource.ts +53 -0
- package/src/models/components/mcpserverauthenticationrequirement.ts +43 -0
- package/src/models/components/mcpservercard.ts +159 -0
- package/src/models/components/mcpservercardmeta.ts +45 -0
- package/src/models/components/mcpserverremote.ts +77 -0
- package/src/models/components/mcpserverremoteheader.ts +50 -0
- package/src/models/components/mcpserverrepository.ts +44 -0
- package/src/models/components/mcptoolmeta.ts +24 -16
- package/src/models/components/modelconversation.ts +2 -3
- package/src/models/components/oauth2token.ts +51 -0
- package/src/models/components/observabilityerrorcode.ts +3 -0
- package/src/models/components/ocrrequest.ts +0 -3
- package/src/models/components/outboundauthenticationtype.ts +28 -0
- package/src/models/components/partialscheduledefinition.ts +128 -0
- package/src/models/components/processingstatus.ts +3 -0
- package/src/models/components/promptargument.ts +37 -0
- package/src/models/components/promptscapability.ts +35 -0
- package/src/models/components/publicauthenticationmethod.ts +53 -0
- package/src/models/components/publicconnectionconfig.ts +46 -0
- package/src/models/components/referencechunk.ts +8 -8
- package/src/models/components/resourcescapability.ts +37 -0
- package/src/models/components/resourcetype.ts +20 -0
- package/src/models/components/rootscapability.ts +35 -0
- package/src/models/components/samplingcapability.ts +37 -0
- package/src/models/components/scheduledefinition.ts +7 -0
- package/src/models/components/scheduledefinitionoutput.ts +42 -0
- package/src/models/components/schedulefutureexecution.ts +39 -0
- package/src/models/components/schedulerecentexecution.ts +51 -0
- package/src/models/components/searchindexresponse.ts +91 -0
- package/src/models/components/servercapabilities.ts +64 -0
- package/src/models/components/serverlocale.ts +45 -0
- package/src/models/components/servertaskscapability.ts +43 -0
- package/src/models/components/servertasksrequestscapability.ts +39 -0
- package/src/models/components/sharing.ts +6 -0
- package/src/models/components/sharingdelete.ts +3 -0
- package/src/models/components/sharingrequest.ts +3 -0
- package/src/models/components/speechrequest.ts +3 -8
- 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/tempotraceattribute.ts +10 -2
- package/src/models/components/tempotraceattributearraycontainer.ts +38 -0
- package/src/models/components/tempotraceattributearrayelement.ts +44 -0
- package/src/models/components/tempotraceattributearrayvalue.ts +35 -0
- package/src/models/components/thinkchunk.ts +7 -0
- package/src/models/components/toolexecutionconfiguration.ts +224 -0
- package/src/models/components/toolproperties.ts +53 -0
- package/src/models/components/toolscapability.ts +35 -0
- package/src/models/components/turbinemeta.ts +37 -0
- package/src/models/components/updateagentrequest.ts +3 -8
- package/src/models/components/updateconnectorrequest.ts +16 -0
- package/src/models/components/updatedocumentrequest.ts +14 -3
- package/src/models/components/updatelibraryrequest.ts +3 -3
- package/src/models/components/updateruninfo.ts +36 -0
- package/src/models/components/vespaschemaresponse.ts +38 -0
- package/src/models/components/vespasearchindexinforesponse.ts +50 -0
- package/src/models/components/voiceappearance.ts +75 -0
- package/src/models/components/voicecreaterequest.ts +11 -0
- package/src/models/components/voiceresponse.ts +8 -0
- package/src/models/components/voiceupdaterequest.ts +11 -0
- package/src/models/components/workflow.ts +6 -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/workflowexecutionlistresponse.ts +3 -0
- package/src/models/components/workflowexecutionrequest.ts +6 -12
- package/src/models/components/workflowexecutionresponse.ts +6 -0
- package/src/models/components/workflowexecutionstartedattributesresponse.ts +8 -0
- package/src/models/components/workflowexecutiontraceeventsresponse.ts +6 -0
- package/src/models/components/workflowexecutiontraceotelresponse.ts +6 -0
- package/src/models/components/workflowexecutiontracesummaryattributesvalues.ts +9 -2
- package/src/models/components/workflowexecutiontracesummaryresponse.ts +6 -0
- package/src/models/components/workflowexecutionwithoutresultresponse.ts +6 -0
- package/src/models/components/workflowschedulelistresponse.ts +10 -0
- package/src/models/components/workflowschedulepauserequest.ts +36 -0
- package/src/models/components/workflowscheduleupdaterequest.ts +46 -0
- package/src/models/components/workflowwithworkerstatus.ts +6 -0
- package/src/models/operations/connectoractivatefororganizationv1.ts +53 -0
- package/src/models/operations/connectoractivateforuserv1.ts +51 -0
- package/src/models/operations/connectoractivateforworkspacev1.ts +52 -0
- package/src/models/operations/connectorcreateorupdateorganizationcredentialsv1.ts +45 -0
- package/src/models/operations/connectorcreateorupdateusercredentialsv1.ts +46 -0
- package/src/models/operations/connectorcreateorupdateworkspacecredentialsv1.ts +46 -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/connectordeleteorganizationcredentialsv1.ts +44 -0
- package/src/models/operations/connectordeleteusercredentialsv1.ts +43 -0
- package/src/models/operations/connectordeleteworkspacecredentialsv1.ts +44 -0
- package/src/models/operations/connectorgetauthenticationmethodsv1.ts +40 -0
- package/src/models/operations/connectorgetauthurlv1.ts +4 -0
- package/src/models/operations/connectorgetv1.ts +7 -7
- package/src/models/operations/connectorlistorganizationcredentialsv1.ts +50 -0
- package/src/models/operations/connectorlisttoolsv1.ts +4 -0
- package/src/models/operations/connectorlistusercredentialsv1.ts +48 -0
- package/src/models/operations/connectorlistworkspacecredentialsv1.ts +50 -0
- package/src/models/operations/getschedulesv1workflowsschedulesget.ts +126 -0
- package/src/models/operations/getschedulev1workflowsschedulesscheduleidget.ts +40 -0
- package/src/models/operations/getworkflowregistrationsv1workflowsregistrationsget.ts +1 -1
- package/src/models/operations/getworkflowsv1workflowsget.ts +1 -1
- package/src/models/operations/index.ts +24 -0
- package/src/models/operations/librariesdocumentsgettextcontentv1.ts +8 -0
- package/src/models/operations/librariesdocumentslistv1.ts +5 -0
- package/src/models/operations/librariesdocumentspatchv1.ts +47 -0
- package/src/models/operations/librarieslistv1.ts +15 -0
- package/src/models/operations/librariespatchv1.ts +41 -0
- package/src/models/operations/listrunsv1workflowsrunsget.ts +7 -0
- package/src/models/operations/pauseschedulev1workflowsschedulesscheduleidpausepost.ts +53 -0
- package/src/models/operations/resumeschedulev1workflowsschedulesscheduleidresumepost.ts +53 -0
- package/src/models/operations/updateruninfov1ragingestionpipelineconfigurationsidruninfoput.ts +47 -0
- package/src/models/operations/updateschedulev1workflowsschedulesscheduleidpatch.ts +47 -0
- package/src/sdk/accesses.ts +1 -1
- package/src/sdk/beta.ts +6 -0
- package/src/sdk/connectors.ts +288 -0
- package/src/sdk/documents.ts +22 -2
- package/src/sdk/ingestionpipelineconfigurations.ts +61 -0
- package/src/sdk/libraries.ts +22 -2
- package/src/sdk/rag.ts +21 -0
- package/src/sdk/schedules.ts +73 -2
- package/src/sdk/searchindexes.ts +38 -0
- package/src/sdk/voices.ts +1 -1
- package/src/sdk/workflows.ts +30 -0
- package/src/types/async.ts +8 -7
- package/tests/extra/structChat.test.ts +131 -0
- package/esm/models/components/internalmetadata.d.ts +0 -42
- package/esm/models/components/internalmetadata.d.ts.map +0 -1
- package/esm/models/components/internalmetadata.js +0 -56
- package/esm/models/components/internalmetadata.js.map +0 -1
- package/esm/models/components/mcpuitoolmeta.d.ts +0 -23
- package/esm/models/components/mcpuitoolmeta.d.ts.map +0 -1
- package/esm/models/components/mcpuitoolmeta.js +0 -23
- package/esm/models/components/mcpuitoolmeta.js.map +0 -1
- package/esm/models/components/metadatadict.d.ts +0 -23
- package/esm/models/components/metadatadict.d.ts.map +0 -1
- package/esm/models/components/metadatadict.js +0 -23
- package/esm/models/components/metadatadict.js.map +0 -1
- package/esm/models/components/mirrorconfig.d.ts +0 -24
- package/esm/models/components/mirrorconfig.d.ts.map +0 -1
- package/esm/models/components/mirrorconfig.js +0 -32
- package/esm/models/components/mirrorconfig.js.map +0 -1
- package/esm/models/components/mirrorsource.d.ts +0 -28
- package/esm/models/components/mirrorsource.d.ts.map +0 -1
- package/esm/models/components/mirrorsource.js +0 -43
- package/esm/models/components/mirrorsource.js.map +0 -1
- package/esm/models/components/tooltype.d.ts +0 -12
- package/esm/models/components/tooltype.d.ts.map +0 -1
- package/esm/models/components/tooltype.js +0 -15
- package/esm/models/components/tooltype.js.map +0 -1
- package/esm/models/components/turbinetoollocale.d.ts.map +0 -1
- package/esm/models/components/turbinetoollocale.js.map +0 -1
- package/esm/models/components/turbinetoolmeta.d.ts +0 -15
- package/esm/models/components/turbinetoolmeta.d.ts.map +0 -1
- package/esm/models/components/turbinetoolmeta.js +0 -25
- package/esm/models/components/turbinetoolmeta.js.map +0 -1
- package/packages/mistralai-azure/src/models/components/tooltypes.ts +0 -20
- package/packages/mistralai-gcp/src/models/components/tooltypes.ts +0 -20
- package/src/models/components/internalmetadata.ts +0 -126
- package/src/models/components/mcpuitoolmeta.ts +0 -47
- package/src/models/components/metadatadict.ts +0 -55
- package/src/models/components/mirrorconfig.ts +0 -65
- package/src/models/components/mirrorsource.ts +0 -76
- package/src/models/components/tooltype.ts +0 -20
- package/src/models/components/turbinetoollocale.ts +0 -46
- package/src/models/components/turbinetoolmeta.ts +0 -48
- /package/packages/mistralai-gcp/src/models/errors/{mistralgoogleclouderror.ts → mistralgcperror.ts} +0 -0
|
@@ -7,18 +7,46 @@ import * as z from "zod/v4";
|
|
|
7
7
|
import { remap as remap$ } from "../../lib/primitives.js";
|
|
8
8
|
import { safeParse } from "../../lib/schemas.js";
|
|
9
9
|
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
10
|
+
import { smartUnion } from "../../types/smartUnion.js";
|
|
10
11
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
11
12
|
|
|
13
|
+
export type ReferenceId = number | string;
|
|
14
|
+
|
|
12
15
|
export type ReferenceChunk = {
|
|
13
16
|
type?: "reference" | undefined;
|
|
14
|
-
referenceIds: Array<number>;
|
|
17
|
+
referenceIds: Array<number | string>;
|
|
15
18
|
};
|
|
16
19
|
|
|
20
|
+
/** @internal */
|
|
21
|
+
export const ReferenceId$inboundSchema: z.ZodType<ReferenceId, unknown> =
|
|
22
|
+
smartUnion([z.int(), z.string()]);
|
|
23
|
+
/** @internal */
|
|
24
|
+
export type ReferenceId$Outbound = number | string;
|
|
25
|
+
|
|
26
|
+
/** @internal */
|
|
27
|
+
export const ReferenceId$outboundSchema: z.ZodType<
|
|
28
|
+
ReferenceId$Outbound,
|
|
29
|
+
ReferenceId
|
|
30
|
+
> = smartUnion([z.int(), z.string()]);
|
|
31
|
+
|
|
32
|
+
export function referenceIdToJSON(referenceId: ReferenceId): string {
|
|
33
|
+
return JSON.stringify(ReferenceId$outboundSchema.parse(referenceId));
|
|
34
|
+
}
|
|
35
|
+
export function referenceIdFromJSON(
|
|
36
|
+
jsonString: string,
|
|
37
|
+
): SafeParseResult<ReferenceId, SDKValidationError> {
|
|
38
|
+
return safeParse(
|
|
39
|
+
jsonString,
|
|
40
|
+
(x) => ReferenceId$inboundSchema.parse(JSON.parse(x)),
|
|
41
|
+
`Failed to parse 'ReferenceId' from JSON`,
|
|
42
|
+
);
|
|
43
|
+
}
|
|
44
|
+
|
|
17
45
|
/** @internal */
|
|
18
46
|
export const ReferenceChunk$inboundSchema: z.ZodType<ReferenceChunk, unknown> =
|
|
19
47
|
z.object({
|
|
20
48
|
type: z.literal("reference").default("reference"),
|
|
21
|
-
reference_ids: z.array(z.int()),
|
|
49
|
+
reference_ids: z.array(smartUnion([z.int(), z.string()])),
|
|
22
50
|
}).transform((v) => {
|
|
23
51
|
return remap$(v, {
|
|
24
52
|
"reference_ids": "referenceIds",
|
|
@@ -27,7 +55,7 @@ export const ReferenceChunk$inboundSchema: z.ZodType<ReferenceChunk, unknown> =
|
|
|
27
55
|
/** @internal */
|
|
28
56
|
export type ReferenceChunk$Outbound = {
|
|
29
57
|
type: "reference";
|
|
30
|
-
reference_ids: Array<number>;
|
|
58
|
+
reference_ids: Array<number | string>;
|
|
31
59
|
};
|
|
32
60
|
|
|
33
61
|
/** @internal */
|
|
@@ -36,7 +64,7 @@ export const ReferenceChunk$outboundSchema: z.ZodType<
|
|
|
36
64
|
ReferenceChunk
|
|
37
65
|
> = z.object({
|
|
38
66
|
type: z.literal("reference").default("reference" as const),
|
|
39
|
-
referenceIds: z.array(z.int()),
|
|
67
|
+
referenceIds: z.array(smartUnion([z.int(), z.string()])),
|
|
40
68
|
}).transform((v) => {
|
|
41
69
|
return remap$(v, {
|
|
42
70
|
referenceIds: "reference_ids",
|
|
@@ -26,6 +26,10 @@ export type Thinking = TextChunk | ToolReferenceChunk | ReferenceChunk;
|
|
|
26
26
|
export type ThinkChunk = {
|
|
27
27
|
type: "thinking";
|
|
28
28
|
thinking: Array<TextChunk | ToolReferenceChunk | ReferenceChunk>;
|
|
29
|
+
/**
|
|
30
|
+
* Signature to replay some reasoning blocks across turns.
|
|
31
|
+
*/
|
|
32
|
+
signature?: string | null | undefined;
|
|
29
33
|
/**
|
|
30
34
|
* Whether the thinking chunk is closed or not. Currently only used for prefixing.
|
|
31
35
|
*/
|
|
@@ -56,6 +60,7 @@ export type ThinkChunk$Outbound = {
|
|
|
56
60
|
thinking: Array<
|
|
57
61
|
TextChunk$Outbound | ToolReferenceChunk$Outbound | ReferenceChunk$Outbound
|
|
58
62
|
>;
|
|
63
|
+
signature?: string | null | undefined;
|
|
59
64
|
closed?: boolean | undefined;
|
|
60
65
|
};
|
|
61
66
|
|
|
@@ -72,6 +77,7 @@ export const ThinkChunk$outboundSchema: z.ZodType<
|
|
|
72
77
|
ReferenceChunk$outboundSchema,
|
|
73
78
|
]),
|
|
74
79
|
),
|
|
80
|
+
signature: z.nullable(z.string()).optional(),
|
|
75
81
|
closed: z.boolean().optional(),
|
|
76
82
|
});
|
|
77
83
|
|
|
@@ -9,22 +9,21 @@ import {
|
|
|
9
9
|
FunctionT$Outbound,
|
|
10
10
|
FunctionT$outboundSchema,
|
|
11
11
|
} from "./function.js";
|
|
12
|
-
import { ToolTypes, ToolTypes$outboundSchema } from "./tooltypes.js";
|
|
13
12
|
|
|
14
13
|
export type Tool = {
|
|
15
|
-
type
|
|
14
|
+
type: "function";
|
|
16
15
|
function: FunctionT;
|
|
17
16
|
};
|
|
18
17
|
|
|
19
18
|
/** @internal */
|
|
20
19
|
export type Tool$Outbound = {
|
|
21
|
-
type
|
|
20
|
+
type: "function";
|
|
22
21
|
function: FunctionT$Outbound;
|
|
23
22
|
};
|
|
24
23
|
|
|
25
24
|
/** @internal */
|
|
26
25
|
export const Tool$outboundSchema: z.ZodType<Tool$Outbound, Tool> = z.object({
|
|
27
|
-
type:
|
|
26
|
+
type: z.literal("function"),
|
|
28
27
|
function: FunctionT$outboundSchema,
|
|
29
28
|
});
|
|
30
29
|
|
|
@@ -13,15 +13,10 @@ import {
|
|
|
13
13
|
FunctionCall$Outbound,
|
|
14
14
|
FunctionCall$outboundSchema,
|
|
15
15
|
} from "./functioncall.js";
|
|
16
|
-
import {
|
|
17
|
-
ToolTypes,
|
|
18
|
-
ToolTypes$inboundSchema,
|
|
19
|
-
ToolTypes$outboundSchema,
|
|
20
|
-
} from "./tooltypes.js";
|
|
21
16
|
|
|
22
17
|
export type ToolCall = {
|
|
23
18
|
id?: string | undefined;
|
|
24
|
-
type?:
|
|
19
|
+
type?: string | undefined;
|
|
25
20
|
function: FunctionCall;
|
|
26
21
|
index?: number | undefined;
|
|
27
22
|
};
|
|
@@ -29,7 +24,7 @@ export type ToolCall = {
|
|
|
29
24
|
/** @internal */
|
|
30
25
|
export const ToolCall$inboundSchema: z.ZodType<ToolCall, unknown> = z.object({
|
|
31
26
|
id: z.string().default("null"),
|
|
32
|
-
type:
|
|
27
|
+
type: z.string().optional(),
|
|
33
28
|
function: FunctionCall$inboundSchema,
|
|
34
29
|
index: z.int().default(0),
|
|
35
30
|
});
|
|
@@ -45,7 +40,7 @@ export type ToolCall$Outbound = {
|
|
|
45
40
|
export const ToolCall$outboundSchema: z.ZodType<ToolCall$Outbound, ToolCall> = z
|
|
46
41
|
.object({
|
|
47
42
|
id: z.string().default("null"),
|
|
48
|
-
type:
|
|
43
|
+
type: z.string().optional(),
|
|
49
44
|
function: FunctionCall$outboundSchema,
|
|
50
45
|
index: z.int().default(0),
|
|
51
46
|
});
|
|
@@ -9,13 +9,12 @@ import {
|
|
|
9
9
|
FunctionName$Outbound,
|
|
10
10
|
FunctionName$outboundSchema,
|
|
11
11
|
} from "./functionname.js";
|
|
12
|
-
import { ToolTypes, ToolTypes$outboundSchema } from "./tooltypes.js";
|
|
13
12
|
|
|
14
13
|
/**
|
|
15
14
|
* ToolChoice is either a ToolChoiceEnum or a ToolChoice
|
|
16
15
|
*/
|
|
17
16
|
export type ToolChoice = {
|
|
18
|
-
type?:
|
|
17
|
+
type?: string | undefined;
|
|
19
18
|
/**
|
|
20
19
|
* this restriction of `Function` is used to select a specific function to call
|
|
21
20
|
*/
|
|
@@ -33,7 +32,7 @@ export const ToolChoice$outboundSchema: z.ZodType<
|
|
|
33
32
|
ToolChoice$Outbound,
|
|
34
33
|
ToolChoice
|
|
35
34
|
> = z.object({
|
|
36
|
-
type:
|
|
35
|
+
type: z.string().optional(),
|
|
37
36
|
function: FunctionName$outboundSchema,
|
|
38
37
|
});
|
|
39
38
|
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
* @generated-id: 9849ab330d6e
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
import * as z from "zod/v4";
|
|
7
|
+
import { remap as remap$ } from "../../lib/primitives.js";
|
|
8
|
+
|
|
9
|
+
export type ToolConfiguration = {
|
|
10
|
+
exclude?: Array<string> | null | undefined;
|
|
11
|
+
include?: Array<string> | null | undefined;
|
|
12
|
+
requiresConfirmation?: Array<string> | null | undefined;
|
|
13
|
+
};
|
|
14
|
+
|
|
15
|
+
/** @internal */
|
|
16
|
+
export type ToolConfiguration$Outbound = {
|
|
17
|
+
exclude?: Array<string> | null | undefined;
|
|
18
|
+
include?: Array<string> | null | undefined;
|
|
19
|
+
requires_confirmation?: Array<string> | null | undefined;
|
|
20
|
+
};
|
|
21
|
+
|
|
22
|
+
/** @internal */
|
|
23
|
+
export const ToolConfiguration$outboundSchema: z.ZodType<
|
|
24
|
+
ToolConfiguration$Outbound,
|
|
25
|
+
ToolConfiguration
|
|
26
|
+
> = z.object({
|
|
27
|
+
exclude: z.nullable(z.array(z.string())).optional(),
|
|
28
|
+
include: z.nullable(z.array(z.string())).optional(),
|
|
29
|
+
requiresConfirmation: z.nullable(z.array(z.string())).optional(),
|
|
30
|
+
}).transform((v) => {
|
|
31
|
+
return remap$(v, {
|
|
32
|
+
requiresConfirmation: "requires_confirmation",
|
|
33
|
+
});
|
|
34
|
+
});
|
|
35
|
+
|
|
36
|
+
export function toolConfigurationToJSON(
|
|
37
|
+
toolConfiguration: ToolConfiguration,
|
|
38
|
+
): string {
|
|
39
|
+
return JSON.stringify(
|
|
40
|
+
ToolConfiguration$outboundSchema.parse(toolConfiguration),
|
|
41
|
+
);
|
|
42
|
+
}
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
BuiltInConnectors$outboundSchema,
|
|
11
11
|
} from "./builtinconnectors.js";
|
|
12
12
|
|
|
13
|
-
export type
|
|
13
|
+
export type ToolReferenceChunkTool = BuiltInConnectors | string;
|
|
14
14
|
|
|
15
15
|
export type ToolReferenceChunk = {
|
|
16
16
|
type?: "tool_reference" | undefined;
|
|
@@ -22,16 +22,20 @@ export type ToolReferenceChunk = {
|
|
|
22
22
|
};
|
|
23
23
|
|
|
24
24
|
/** @internal */
|
|
25
|
-
export type
|
|
25
|
+
export type ToolReferenceChunkTool$Outbound = string | string;
|
|
26
26
|
|
|
27
27
|
/** @internal */
|
|
28
|
-
export const
|
|
29
|
-
|
|
30
|
-
|
|
28
|
+
export const ToolReferenceChunkTool$outboundSchema: z.ZodType<
|
|
29
|
+
ToolReferenceChunkTool$Outbound,
|
|
30
|
+
ToolReferenceChunkTool
|
|
31
31
|
> = smartUnion([BuiltInConnectors$outboundSchema, z.string()]);
|
|
32
32
|
|
|
33
|
-
export function
|
|
34
|
-
|
|
33
|
+
export function toolReferenceChunkToolToJSON(
|
|
34
|
+
toolReferenceChunkTool: ToolReferenceChunkTool,
|
|
35
|
+
): string {
|
|
36
|
+
return JSON.stringify(
|
|
37
|
+
ToolReferenceChunkTool$outboundSchema.parse(toolReferenceChunkTool),
|
|
38
|
+
);
|
|
35
39
|
}
|
|
36
40
|
|
|
37
41
|
/** @internal */
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
* @generated-id: c03632bf7889
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
import * as z from "zod/v4";
|
|
7
|
+
import { remap as remap$ } from "../../lib/primitives.js";
|
|
8
|
+
import {
|
|
9
|
+
ToolConfiguration,
|
|
10
|
+
ToolConfiguration$Outbound,
|
|
11
|
+
ToolConfiguration$outboundSchema,
|
|
12
|
+
} from "./toolconfiguration.js";
|
|
13
|
+
|
|
14
|
+
export type WebSearchPremiumTool = {
|
|
15
|
+
toolConfiguration?: ToolConfiguration | null | undefined;
|
|
16
|
+
type: "web_search_premium";
|
|
17
|
+
};
|
|
18
|
+
|
|
19
|
+
/** @internal */
|
|
20
|
+
export type WebSearchPremiumTool$Outbound = {
|
|
21
|
+
tool_configuration?: ToolConfiguration$Outbound | null | undefined;
|
|
22
|
+
type: "web_search_premium";
|
|
23
|
+
};
|
|
24
|
+
|
|
25
|
+
/** @internal */
|
|
26
|
+
export const WebSearchPremiumTool$outboundSchema: z.ZodType<
|
|
27
|
+
WebSearchPremiumTool$Outbound,
|
|
28
|
+
WebSearchPremiumTool
|
|
29
|
+
> = z.object({
|
|
30
|
+
toolConfiguration: z.nullable(ToolConfiguration$outboundSchema).optional(),
|
|
31
|
+
type: z.literal("web_search_premium"),
|
|
32
|
+
}).transform((v) => {
|
|
33
|
+
return remap$(v, {
|
|
34
|
+
toolConfiguration: "tool_configuration",
|
|
35
|
+
});
|
|
36
|
+
});
|
|
37
|
+
|
|
38
|
+
export function webSearchPremiumToolToJSON(
|
|
39
|
+
webSearchPremiumTool: WebSearchPremiumTool,
|
|
40
|
+
): string {
|
|
41
|
+
return JSON.stringify(
|
|
42
|
+
WebSearchPremiumTool$outboundSchema.parse(webSearchPremiumTool),
|
|
43
|
+
);
|
|
44
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
* @generated-id: 57ac372e9d2a
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
import * as z from "zod/v4";
|
|
7
|
+
import { remap as remap$ } from "../../lib/primitives.js";
|
|
8
|
+
import {
|
|
9
|
+
ToolConfiguration,
|
|
10
|
+
ToolConfiguration$Outbound,
|
|
11
|
+
ToolConfiguration$outboundSchema,
|
|
12
|
+
} from "./toolconfiguration.js";
|
|
13
|
+
|
|
14
|
+
export type WebSearchTool = {
|
|
15
|
+
toolConfiguration?: ToolConfiguration | null | undefined;
|
|
16
|
+
type: "web_search";
|
|
17
|
+
};
|
|
18
|
+
|
|
19
|
+
/** @internal */
|
|
20
|
+
export type WebSearchTool$Outbound = {
|
|
21
|
+
tool_configuration?: ToolConfiguration$Outbound | null | undefined;
|
|
22
|
+
type: "web_search";
|
|
23
|
+
};
|
|
24
|
+
|
|
25
|
+
/** @internal */
|
|
26
|
+
export const WebSearchTool$outboundSchema: z.ZodType<
|
|
27
|
+
WebSearchTool$Outbound,
|
|
28
|
+
WebSearchTool
|
|
29
|
+
> = z.object({
|
|
30
|
+
toolConfiguration: z.nullable(ToolConfiguration$outboundSchema).optional(),
|
|
31
|
+
type: z.literal("web_search"),
|
|
32
|
+
}).transform((v) => {
|
|
33
|
+
return remap$(v, {
|
|
34
|
+
toolConfiguration: "tool_configuration",
|
|
35
|
+
});
|
|
36
|
+
});
|
|
37
|
+
|
|
38
|
+
export function webSearchToolToJSON(webSearchTool: WebSearchTool): string {
|
|
39
|
+
return JSON.stringify(WebSearchTool$outboundSchema.parse(webSearchTool));
|
|
40
|
+
}
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
import * as z from "zod/v4";
|
|
7
7
|
import * as components from "../components/index.js";
|
|
8
|
-
import { MistralGCPError } from "./
|
|
8
|
+
import { MistralGCPError } from "./mistralgcperror.js";
|
|
9
9
|
|
|
10
10
|
export type HTTPValidationErrorData = {
|
|
11
11
|
detail?: Array<components.ValidationError> | undefined;
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
export * from "./httpclienterrors.js";
|
|
7
7
|
export * from "./httpvalidationerror.js";
|
|
8
|
-
export * from "./
|
|
8
|
+
export * from "./mistralgcperror.js";
|
|
9
9
|
export * from "./responsevalidationerror.js";
|
|
10
10
|
export * from "./sdkerror.js";
|
|
11
11
|
export * from "./sdkvalidationerror.js";
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
6
|
import * as z from "zod/v4/core";
|
|
7
|
-
import { MistralGCPError } from "./
|
|
7
|
+
import { MistralGCPError } from "./mistralgcperror.js";
|
|
8
8
|
import { formatZodError } from "./sdkvalidationerror.js";
|
|
9
9
|
|
|
10
10
|
export class ResponseValidationError extends MistralGCPError {
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* @generated-id: 8e644875c472
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
|
-
import { MistralGCPError } from "./
|
|
6
|
+
import { MistralGCPError } from "./mistralgcperror.js";
|
|
7
7
|
|
|
8
8
|
/** The fallback error class if no more specific error class is matched */
|
|
9
9
|
export class SDKError extends MistralGCPError {
|
|
@@ -22,16 +22,17 @@ export type APICall =
|
|
|
22
22
|
|
|
23
23
|
export class APIPromise<T> implements Promise<T> {
|
|
24
24
|
readonly #promise: Promise<[T, APICall]>;
|
|
25
|
-
|
|
25
|
+
#unwrapped: Promise<T> | null;
|
|
26
26
|
|
|
27
27
|
readonly [Symbol.toStringTag] = "APIPromise";
|
|
28
28
|
|
|
29
29
|
constructor(p: [T, APICall] | Promise<[T, APICall]>) {
|
|
30
30
|
this.#promise = p instanceof Promise ? p : Promise.resolve(p);
|
|
31
|
-
this.#unwrapped =
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
31
|
+
this.#unwrapped = p instanceof Promise ? null : Promise.resolve(p[0]);
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
#getUnwrapped(): Promise<T> {
|
|
35
|
+
return (this.#unwrapped ??= this.#promise.then(([value]) => value));
|
|
35
36
|
}
|
|
36
37
|
|
|
37
38
|
then<TResult1 = T, TResult2 = never>(
|
|
@@ -56,11 +57,11 @@ export class APIPromise<T> implements Promise<T> {
|
|
|
56
57
|
| null
|
|
57
58
|
| undefined,
|
|
58
59
|
): Promise<T | TResult> {
|
|
59
|
-
return this.#
|
|
60
|
+
return this.#getUnwrapped().catch(onrejected);
|
|
60
61
|
}
|
|
61
62
|
|
|
62
63
|
finally(onfinally?: (() => void) | null | undefined): Promise<T> {
|
|
63
|
-
return this.#
|
|
64
|
+
return this.#getUnwrapped().finally(onfinally);
|
|
64
65
|
}
|
|
65
66
|
|
|
66
67
|
$inspect(): Promise<[T, APICall]> {
|
package/src/extra/structChat.ts
CHANGED
|
@@ -118,23 +118,43 @@ export function convertToParsedChatCompletionResponse<T extends z.ZodTypeAny>(re
|
|
|
118
118
|
for (const _choice of response.choices) {
|
|
119
119
|
if (_choice.message === null || typeof _choice.message === 'undefined') {
|
|
120
120
|
parsedChoices.push({..._choice, message: undefined});
|
|
121
|
+
} else if (
|
|
122
|
+
_choice.message.content !== null
|
|
123
|
+
&& typeof _choice.message.content !== 'undefined'
|
|
124
|
+
&& !Array.isArray(_choice.message.content)
|
|
125
|
+
) {
|
|
126
|
+
let parsed: z.infer<T> | undefined;
|
|
127
|
+
try {
|
|
128
|
+
parsed = responseFormat.safeParse(JSON.parse(_choice.message.content)).data;
|
|
129
|
+
} catch {
|
|
130
|
+
// JSON.parse can throw if the model returns malformed JSON
|
|
131
|
+
// (e.g. truncated output when finish_reason is "length").
|
|
132
|
+
// Leave parsed as undefined so callers can detect the failure.
|
|
133
|
+
parsed = undefined;
|
|
134
|
+
}
|
|
135
|
+
parsedChoices.push({
|
|
136
|
+
..._choice,
|
|
137
|
+
message: {
|
|
138
|
+
..._choice.message,
|
|
139
|
+
parsed,
|
|
140
|
+
},
|
|
141
|
+
});
|
|
121
142
|
} else {
|
|
122
|
-
|
|
143
|
+
// content is null, undefined, or an array of content chunks;
|
|
144
|
+
// preserve the choice without a parsed field.
|
|
123
145
|
parsedChoices.push({
|
|
124
146
|
..._choice,
|
|
125
147
|
message: {
|
|
126
148
|
..._choice.message,
|
|
127
|
-
parsed:
|
|
128
|
-
}
|
|
149
|
+
parsed: undefined,
|
|
150
|
+
},
|
|
129
151
|
});
|
|
130
|
-
}
|
|
131
152
|
}
|
|
132
153
|
}
|
|
133
154
|
return {
|
|
134
155
|
...response,
|
|
135
156
|
choices: parsedChoices,
|
|
136
157
|
};
|
|
137
|
-
|
|
138
158
|
}
|
|
139
159
|
|
|
140
160
|
// Function to convert Zod schema to strict JSON schema
|
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
import { MistralCore } 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";
|
|
@@ -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 { MistralCore } 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";
|
|
@@ -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
|
});
|
|
@@ -6,6 +6,7 @@
|
|
|
6
6
|
import { MistralCore } from "../core.js";
|
|
7
7
|
import { encodeJSON } from "../lib/encodings.js";
|
|
8
8
|
import { EventStream } from "../lib/event-streams.js";
|
|
9
|
+
import { matchStatusCode } from "../lib/http.js";
|
|
9
10
|
import * as M from "../lib/matchers.js";
|
|
10
11
|
import { compactMap } from "../lib/primitives.js";
|
|
11
12
|
import { safeParse } from "../lib/schemas.js";
|
|
@@ -182,7 +183,7 @@ async function $do(
|
|
|
182
183
|
headers: headers,
|
|
183
184
|
body: body,
|
|
184
185
|
userAgent: client._options.userAgent,
|
|
185
|
-
timeoutMs: options?.timeoutMs || client._options.timeoutMs ||
|
|
186
|
+
timeoutMs: options?.timeoutMs || client._options.timeoutMs || 60000,
|
|
186
187
|
}, options);
|
|
187
188
|
if (!requestRes.ok) {
|
|
188
189
|
return [requestRes, { status: "invalid" }];
|
|
@@ -191,7 +192,8 @@ async function $do(
|
|
|
191
192
|
|
|
192
193
|
const doResult = await client._do(req, {
|
|
193
194
|
context,
|
|
194
|
-
|
|
195
|
+
isErrorStatusCode: (statusCode: number) =>
|
|
196
|
+
matchStatusCode({ status: statusCode } as Response, ["4XX", "5XX"]),
|
|
195
197
|
retryConfig: context.retryConfig,
|
|
196
198
|
retryCodes: context.retryCodes,
|
|
197
199
|
});
|
|
@@ -4,12 +4,13 @@
|
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
6
|
import { MistralCore } from "../core.js";
|
|
7
|
-
import { appendForm } from "../lib/encodings.js";
|
|
7
|
+
import { appendForm, normalizeBlob } from "../lib/encodings.js";
|
|
8
8
|
import {
|
|
9
9
|
bytesToBlob,
|
|
10
10
|
getContentTypeFromFileName,
|
|
11
11
|
readableStreamToArrayBuffer,
|
|
12
12
|
} from "../lib/files.js";
|
|
13
|
+
import { matchStatusCode } from "../lib/http.js";
|
|
13
14
|
import * as M from "../lib/matchers.js";
|
|
14
15
|
import { compactMap } from "../lib/primitives.js";
|
|
15
16
|
import { safeParse } from "../lib/schemas.js";
|
|
@@ -99,8 +100,9 @@ async function $do(
|
|
|
99
100
|
}
|
|
100
101
|
if (payload.file !== undefined) {
|
|
101
102
|
if (isBlobLike(payload.file)) {
|
|
102
|
-
const
|
|
103
|
-
const
|
|
103
|
+
const file = payload.file;
|
|
104
|
+
const blob = await normalizeBlob(file);
|
|
105
|
+
const name = "name" in file ? (file.name as string) : undefined;
|
|
104
106
|
appendForm(body, "file", blob, name);
|
|
105
107
|
} else if (isReadableStream(payload.file.content)) {
|
|
106
108
|
const buffer = await readableStreamToArrayBuffer(payload.file.content);
|
|
@@ -179,7 +181,7 @@ async function $do(
|
|
|
179
181
|
headers: headers,
|
|
180
182
|
body: body,
|
|
181
183
|
userAgent: client._options.userAgent,
|
|
182
|
-
timeoutMs: options?.timeoutMs || client._options.timeoutMs ||
|
|
184
|
+
timeoutMs: options?.timeoutMs || client._options.timeoutMs || 60000,
|
|
183
185
|
}, options);
|
|
184
186
|
if (!requestRes.ok) {
|
|
185
187
|
return [requestRes, { status: "invalid" }];
|
|
@@ -188,7 +190,8 @@ async function $do(
|
|
|
188
190
|
|
|
189
191
|
const doResult = await client._do(req, {
|
|
190
192
|
context,
|
|
191
|
-
|
|
193
|
+
isErrorStatusCode: (statusCode: number) =>
|
|
194
|
+
matchStatusCode({ status: statusCode } as Response, ["4XX", "5XX"]),
|
|
192
195
|
retryConfig: context.retryConfig,
|
|
193
196
|
retryCodes: context.retryCodes,
|
|
194
197
|
});
|
|
@@ -5,13 +5,14 @@
|
|
|
5
5
|
|
|
6
6
|
import * as z from "zod/v4";
|
|
7
7
|
import { MistralCore } from "../core.js";
|
|
8
|
-
import { appendForm } from "../lib/encodings.js";
|
|
8
|
+
import { appendForm, normalizeBlob } from "../lib/encodings.js";
|
|
9
9
|
import { EventStream } from "../lib/event-streams.js";
|
|
10
10
|
import {
|
|
11
11
|
bytesToBlob,
|
|
12
12
|
getContentTypeFromFileName,
|
|
13
13
|
readableStreamToArrayBuffer,
|
|
14
14
|
} from "../lib/files.js";
|
|
15
|
+
import { matchStatusCode } from "../lib/http.js";
|
|
15
16
|
import * as M from "../lib/matchers.js";
|
|
16
17
|
import { compactMap } from "../lib/primitives.js";
|
|
17
18
|
import { safeParse } from "../lib/schemas.js";
|
|
@@ -102,8 +103,9 @@ async function $do(
|
|
|
102
103
|
}
|
|
103
104
|
if (payload.file !== undefined) {
|
|
104
105
|
if (isBlobLike(payload.file)) {
|
|
105
|
-
const
|
|
106
|
-
const
|
|
106
|
+
const file = payload.file;
|
|
107
|
+
const blob = await normalizeBlob(file);
|
|
108
|
+
const name = "name" in file ? (file.name as string) : undefined;
|
|
107
109
|
appendForm(body, "file", blob, name);
|
|
108
110
|
} else if (isReadableStream(payload.file.content)) {
|
|
109
111
|
const buffer = await readableStreamToArrayBuffer(payload.file.content);
|
|
@@ -182,7 +184,7 @@ async function $do(
|
|
|
182
184
|
headers: headers,
|
|
183
185
|
body: body,
|
|
184
186
|
userAgent: client._options.userAgent,
|
|
185
|
-
timeoutMs: options?.timeoutMs || client._options.timeoutMs ||
|
|
187
|
+
timeoutMs: options?.timeoutMs || client._options.timeoutMs || 60000,
|
|
186
188
|
}, options);
|
|
187
189
|
if (!requestRes.ok) {
|
|
188
190
|
return [requestRes, { status: "invalid" }];
|
|
@@ -191,7 +193,8 @@ async function $do(
|
|
|
191
193
|
|
|
192
194
|
const doResult = await client._do(req, {
|
|
193
195
|
context,
|
|
194
|
-
|
|
196
|
+
isErrorStatusCode: (statusCode: number) =>
|
|
197
|
+
matchStatusCode({ status: statusCode } as Response, ["4XX", "5XX"]),
|
|
195
198
|
retryConfig: context.retryConfig,
|
|
196
199
|
retryCodes: context.retryCodes,
|
|
197
200
|
});
|