@mistralai/mistralai 2.2.0 → 2.2.1
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/README.md +27 -2
- package/esm/funcs/agentsComplete.d.ts.map +1 -1
- package/esm/funcs/agentsComplete.js +2 -1
- package/esm/funcs/agentsComplete.js.map +1 -1
- package/esm/funcs/agentsStream.d.ts.map +1 -1
- package/esm/funcs/agentsStream.js +2 -1
- package/esm/funcs/agentsStream.js.map +1 -1
- package/esm/funcs/audioSpeechComplete.d.ts.map +1 -1
- package/esm/funcs/audioSpeechComplete.js +2 -1
- package/esm/funcs/audioSpeechComplete.js.map +1 -1
- package/esm/funcs/audioTranscriptionsComplete.d.ts.map +1 -1
- package/esm/funcs/audioTranscriptionsComplete.js +6 -4
- package/esm/funcs/audioTranscriptionsComplete.js.map +1 -1
- package/esm/funcs/audioTranscriptionsStream.d.ts.map +1 -1
- package/esm/funcs/audioTranscriptionsStream.js +6 -4
- package/esm/funcs/audioTranscriptionsStream.js.map +1 -1
- package/esm/funcs/audioVoicesCreate.d.ts.map +1 -1
- package/esm/funcs/audioVoicesCreate.js +2 -1
- package/esm/funcs/audioVoicesCreate.js.map +1 -1
- package/esm/funcs/audioVoicesDelete.d.ts.map +1 -1
- package/esm/funcs/audioVoicesDelete.js +2 -1
- package/esm/funcs/audioVoicesDelete.js.map +1 -1
- package/esm/funcs/audioVoicesGet.d.ts.map +1 -1
- package/esm/funcs/audioVoicesGet.js +2 -1
- 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 +4 -3
- package/esm/funcs/audioVoicesGetSampleAudio.js.map +1 -1
- package/esm/funcs/audioVoicesList.d.ts.map +1 -1
- package/esm/funcs/audioVoicesList.js +2 -1
- package/esm/funcs/audioVoicesList.js.map +1 -1
- package/esm/funcs/audioVoicesUpdate.d.ts.map +1 -1
- package/esm/funcs/audioVoicesUpdate.js +2 -1
- package/esm/funcs/audioVoicesUpdate.js.map +1 -1
- package/esm/funcs/batchJobsCancel.d.ts.map +1 -1
- package/esm/funcs/batchJobsCancel.js +2 -1
- package/esm/funcs/batchJobsCancel.js.map +1 -1
- package/esm/funcs/batchJobsCreate.d.ts.map +1 -1
- package/esm/funcs/batchJobsCreate.js +2 -1
- package/esm/funcs/batchJobsCreate.js.map +1 -1
- package/esm/funcs/batchJobsDelete.d.ts.map +1 -1
- package/esm/funcs/batchJobsDelete.js +2 -1
- package/esm/funcs/batchJobsDelete.js.map +1 -1
- package/esm/funcs/batchJobsGet.d.ts.map +1 -1
- package/esm/funcs/batchJobsGet.js +2 -1
- package/esm/funcs/batchJobsGet.js.map +1 -1
- package/esm/funcs/batchJobsList.d.ts.map +1 -1
- package/esm/funcs/batchJobsList.js +2 -1
- package/esm/funcs/batchJobsList.js.map +1 -1
- package/esm/funcs/betaAgentsCreate.d.ts.map +1 -1
- package/esm/funcs/betaAgentsCreate.js +2 -1
- package/esm/funcs/betaAgentsCreate.js.map +1 -1
- package/esm/funcs/betaAgentsCreateVersionAlias.d.ts.map +1 -1
- package/esm/funcs/betaAgentsCreateVersionAlias.js +2 -1
- package/esm/funcs/betaAgentsCreateVersionAlias.js.map +1 -1
- package/esm/funcs/betaAgentsDelete.d.ts.map +1 -1
- package/esm/funcs/betaAgentsDelete.js +2 -1
- package/esm/funcs/betaAgentsDelete.js.map +1 -1
- package/esm/funcs/betaAgentsDeleteVersionAlias.d.ts.map +1 -1
- package/esm/funcs/betaAgentsDeleteVersionAlias.js +2 -1
- package/esm/funcs/betaAgentsDeleteVersionAlias.js.map +1 -1
- package/esm/funcs/betaAgentsGet.d.ts.map +1 -1
- package/esm/funcs/betaAgentsGet.js +2 -1
- package/esm/funcs/betaAgentsGet.js.map +1 -1
- package/esm/funcs/betaAgentsGetVersion.d.ts.map +1 -1
- package/esm/funcs/betaAgentsGetVersion.js +2 -1
- package/esm/funcs/betaAgentsGetVersion.js.map +1 -1
- package/esm/funcs/betaAgentsList.d.ts.map +1 -1
- package/esm/funcs/betaAgentsList.js +2 -1
- package/esm/funcs/betaAgentsList.js.map +1 -1
- package/esm/funcs/betaAgentsListVersionAliases.d.ts.map +1 -1
- package/esm/funcs/betaAgentsListVersionAliases.js +2 -1
- package/esm/funcs/betaAgentsListVersionAliases.js.map +1 -1
- package/esm/funcs/betaAgentsListVersions.d.ts.map +1 -1
- package/esm/funcs/betaAgentsListVersions.js +2 -1
- package/esm/funcs/betaAgentsListVersions.js.map +1 -1
- package/esm/funcs/betaAgentsUpdate.d.ts.map +1 -1
- package/esm/funcs/betaAgentsUpdate.js +2 -1
- package/esm/funcs/betaAgentsUpdate.js.map +1 -1
- package/esm/funcs/betaAgentsUpdateVersion.d.ts.map +1 -1
- package/esm/funcs/betaAgentsUpdateVersion.js +2 -1
- package/esm/funcs/betaAgentsUpdateVersion.js.map +1 -1
- package/esm/funcs/betaConnectorsCallTool.d.ts.map +1 -1
- package/esm/funcs/betaConnectorsCallTool.js +2 -1
- package/esm/funcs/betaConnectorsCallTool.js.map +1 -1
- package/esm/funcs/betaConnectorsCreate.d.ts.map +1 -1
- package/esm/funcs/betaConnectorsCreate.js +2 -1
- 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/betaConnectorsDelete.d.ts.map +1 -1
- package/esm/funcs/betaConnectorsDelete.js +2 -1
- 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 +2 -1
- package/esm/funcs/betaConnectorsGet.js.map +1 -1
- package/esm/funcs/betaConnectorsGetAuthUrl.d.ts.map +1 -1
- package/esm/funcs/betaConnectorsGetAuthUrl.js +3 -1
- 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 +2 -1
- 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 +3 -1
- 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 +2 -1
- package/esm/funcs/betaConnectorsUpdate.js.map +1 -1
- package/esm/funcs/betaConversationsAppend.d.ts.map +1 -1
- package/esm/funcs/betaConversationsAppend.js +2 -1
- package/esm/funcs/betaConversationsAppend.js.map +1 -1
- package/esm/funcs/betaConversationsAppendStream.d.ts.map +1 -1
- package/esm/funcs/betaConversationsAppendStream.js +2 -1
- package/esm/funcs/betaConversationsAppendStream.js.map +1 -1
- package/esm/funcs/betaConversationsDelete.d.ts.map +1 -1
- package/esm/funcs/betaConversationsDelete.js +2 -1
- package/esm/funcs/betaConversationsDelete.js.map +1 -1
- package/esm/funcs/betaConversationsGet.d.ts.map +1 -1
- package/esm/funcs/betaConversationsGet.js +2 -1
- package/esm/funcs/betaConversationsGet.js.map +1 -1
- package/esm/funcs/betaConversationsGetHistory.d.ts.map +1 -1
- package/esm/funcs/betaConversationsGetHistory.js +2 -1
- package/esm/funcs/betaConversationsGetHistory.js.map +1 -1
- package/esm/funcs/betaConversationsGetMessages.d.ts.map +1 -1
- package/esm/funcs/betaConversationsGetMessages.js +2 -1
- package/esm/funcs/betaConversationsGetMessages.js.map +1 -1
- package/esm/funcs/betaConversationsList.d.ts.map +1 -1
- package/esm/funcs/betaConversationsList.js +2 -1
- package/esm/funcs/betaConversationsList.js.map +1 -1
- package/esm/funcs/betaConversationsRestart.d.ts.map +1 -1
- package/esm/funcs/betaConversationsRestart.js +2 -1
- package/esm/funcs/betaConversationsRestart.js.map +1 -1
- package/esm/funcs/betaConversationsRestartStream.d.ts.map +1 -1
- package/esm/funcs/betaConversationsRestartStream.js +2 -1
- package/esm/funcs/betaConversationsRestartStream.js.map +1 -1
- package/esm/funcs/betaConversationsStart.d.ts.map +1 -1
- package/esm/funcs/betaConversationsStart.js +2 -1
- package/esm/funcs/betaConversationsStart.js.map +1 -1
- package/esm/funcs/betaConversationsStartStream.d.ts.map +1 -1
- package/esm/funcs/betaConversationsStartStream.js +2 -1
- package/esm/funcs/betaConversationsStartStream.js.map +1 -1
- package/esm/funcs/betaLibrariesAccessesDelete.d.ts.map +1 -1
- package/esm/funcs/betaLibrariesAccessesDelete.js +2 -1
- package/esm/funcs/betaLibrariesAccessesDelete.js.map +1 -1
- package/esm/funcs/betaLibrariesAccessesList.d.ts.map +1 -1
- package/esm/funcs/betaLibrariesAccessesList.js +2 -1
- package/esm/funcs/betaLibrariesAccessesList.js.map +1 -1
- package/esm/funcs/betaLibrariesAccessesUpdateOrCreate.d.ts.map +1 -1
- package/esm/funcs/betaLibrariesAccessesUpdateOrCreate.js +2 -1
- package/esm/funcs/betaLibrariesAccessesUpdateOrCreate.js.map +1 -1
- package/esm/funcs/betaLibrariesCreate.d.ts.map +1 -1
- package/esm/funcs/betaLibrariesCreate.js +2 -1
- package/esm/funcs/betaLibrariesCreate.js.map +1 -1
- package/esm/funcs/betaLibrariesDelete.d.ts.map +1 -1
- package/esm/funcs/betaLibrariesDelete.js +2 -1
- package/esm/funcs/betaLibrariesDelete.js.map +1 -1
- package/esm/funcs/betaLibrariesDocumentsDelete.d.ts.map +1 -1
- package/esm/funcs/betaLibrariesDocumentsDelete.js +2 -1
- package/esm/funcs/betaLibrariesDocumentsDelete.js.map +1 -1
- package/esm/funcs/betaLibrariesDocumentsExtractedTextSignedUrl.d.ts.map +1 -1
- package/esm/funcs/betaLibrariesDocumentsExtractedTextSignedUrl.js +2 -1
- package/esm/funcs/betaLibrariesDocumentsExtractedTextSignedUrl.js.map +1 -1
- package/esm/funcs/betaLibrariesDocumentsGet.d.ts.map +1 -1
- package/esm/funcs/betaLibrariesDocumentsGet.js +2 -1
- package/esm/funcs/betaLibrariesDocumentsGet.js.map +1 -1
- package/esm/funcs/betaLibrariesDocumentsGetSignedUrl.d.ts.map +1 -1
- package/esm/funcs/betaLibrariesDocumentsGetSignedUrl.js +2 -1
- package/esm/funcs/betaLibrariesDocumentsGetSignedUrl.js.map +1 -1
- package/esm/funcs/betaLibrariesDocumentsList.d.ts.map +1 -1
- package/esm/funcs/betaLibrariesDocumentsList.js +2 -1
- package/esm/funcs/betaLibrariesDocumentsList.js.map +1 -1
- package/esm/funcs/betaLibrariesDocumentsReprocess.d.ts.map +1 -1
- package/esm/funcs/betaLibrariesDocumentsReprocess.js +2 -1
- package/esm/funcs/betaLibrariesDocumentsReprocess.js.map +1 -1
- package/esm/funcs/betaLibrariesDocumentsStatus.d.ts.map +1 -1
- package/esm/funcs/betaLibrariesDocumentsStatus.js +2 -1
- package/esm/funcs/betaLibrariesDocumentsStatus.js.map +1 -1
- package/esm/funcs/betaLibrariesDocumentsTextContent.d.ts.map +1 -1
- package/esm/funcs/betaLibrariesDocumentsTextContent.js +8 -2
- package/esm/funcs/betaLibrariesDocumentsTextContent.js.map +1 -1
- package/esm/funcs/betaLibrariesDocumentsUpdate.d.ts.map +1 -1
- package/esm/funcs/betaLibrariesDocumentsUpdate.js +2 -1
- package/esm/funcs/betaLibrariesDocumentsUpdate.js.map +1 -1
- package/esm/funcs/betaLibrariesDocumentsUpload.d.ts.map +1 -1
- package/esm/funcs/betaLibrariesDocumentsUpload.js +6 -4
- package/esm/funcs/betaLibrariesDocumentsUpload.js.map +1 -1
- package/esm/funcs/betaLibrariesGet.d.ts.map +1 -1
- package/esm/funcs/betaLibrariesGet.js +2 -1
- package/esm/funcs/betaLibrariesGet.js.map +1 -1
- package/esm/funcs/betaLibrariesList.d.ts.map +1 -1
- package/esm/funcs/betaLibrariesList.js +4 -1
- package/esm/funcs/betaLibrariesList.js.map +1 -1
- package/esm/funcs/betaLibrariesUpdate.d.ts.map +1 -1
- package/esm/funcs/betaLibrariesUpdate.js +2 -1
- package/esm/funcs/betaLibrariesUpdate.js.map +1 -1
- package/esm/funcs/betaObservabilityCampaignsCreate.d.ts.map +1 -1
- package/esm/funcs/betaObservabilityCampaignsCreate.js +2 -1
- package/esm/funcs/betaObservabilityCampaignsCreate.js.map +1 -1
- package/esm/funcs/betaObservabilityCampaignsDelete.d.ts.map +1 -1
- package/esm/funcs/betaObservabilityCampaignsDelete.js +2 -1
- package/esm/funcs/betaObservabilityCampaignsDelete.js.map +1 -1
- package/esm/funcs/betaObservabilityCampaignsFetch.d.ts.map +1 -1
- package/esm/funcs/betaObservabilityCampaignsFetch.js +2 -1
- package/esm/funcs/betaObservabilityCampaignsFetch.js.map +1 -1
- package/esm/funcs/betaObservabilityCampaignsFetchStatus.d.ts.map +1 -1
- package/esm/funcs/betaObservabilityCampaignsFetchStatus.js +2 -1
- package/esm/funcs/betaObservabilityCampaignsFetchStatus.js.map +1 -1
- package/esm/funcs/betaObservabilityCampaignsList.d.ts.map +1 -1
- package/esm/funcs/betaObservabilityCampaignsList.js +2 -1
- package/esm/funcs/betaObservabilityCampaignsList.js.map +1 -1
- package/esm/funcs/betaObservabilityCampaignsListEvents.d.ts.map +1 -1
- package/esm/funcs/betaObservabilityCampaignsListEvents.js +2 -1
- package/esm/funcs/betaObservabilityCampaignsListEvents.js.map +1 -1
- package/esm/funcs/betaObservabilityChatCompletionEventsFetch.d.ts.map +1 -1
- package/esm/funcs/betaObservabilityChatCompletionEventsFetch.js +2 -1
- package/esm/funcs/betaObservabilityChatCompletionEventsFetch.js.map +1 -1
- package/esm/funcs/betaObservabilityChatCompletionEventsFetchSimilarEvents.d.ts.map +1 -1
- package/esm/funcs/betaObservabilityChatCompletionEventsFetchSimilarEvents.js +2 -1
- package/esm/funcs/betaObservabilityChatCompletionEventsFetchSimilarEvents.js.map +1 -1
- package/esm/funcs/betaObservabilityChatCompletionEventsFieldsFetchOptionCounts.d.ts.map +1 -1
- package/esm/funcs/betaObservabilityChatCompletionEventsFieldsFetchOptionCounts.js +2 -1
- package/esm/funcs/betaObservabilityChatCompletionEventsFieldsFetchOptionCounts.js.map +1 -1
- package/esm/funcs/betaObservabilityChatCompletionEventsFieldsFetchOptions.d.ts.map +1 -1
- package/esm/funcs/betaObservabilityChatCompletionEventsFieldsFetchOptions.js +2 -1
- package/esm/funcs/betaObservabilityChatCompletionEventsFieldsFetchOptions.js.map +1 -1
- package/esm/funcs/betaObservabilityChatCompletionEventsFieldsList.d.ts.map +1 -1
- package/esm/funcs/betaObservabilityChatCompletionEventsFieldsList.js +2 -1
- package/esm/funcs/betaObservabilityChatCompletionEventsFieldsList.js.map +1 -1
- package/esm/funcs/betaObservabilityChatCompletionEventsJudge.d.ts.map +1 -1
- package/esm/funcs/betaObservabilityChatCompletionEventsJudge.js +2 -1
- package/esm/funcs/betaObservabilityChatCompletionEventsJudge.js.map +1 -1
- package/esm/funcs/betaObservabilityChatCompletionEventsSearch.d.ts.map +1 -1
- package/esm/funcs/betaObservabilityChatCompletionEventsSearch.js +2 -1
- package/esm/funcs/betaObservabilityChatCompletionEventsSearch.js.map +1 -1
- package/esm/funcs/betaObservabilityChatCompletionEventsSearchIds.d.ts.map +1 -1
- package/esm/funcs/betaObservabilityChatCompletionEventsSearchIds.js +2 -1
- package/esm/funcs/betaObservabilityChatCompletionEventsSearchIds.js.map +1 -1
- package/esm/funcs/betaObservabilityDatasetsCreate.d.ts.map +1 -1
- package/esm/funcs/betaObservabilityDatasetsCreate.js +2 -1
- package/esm/funcs/betaObservabilityDatasetsCreate.js.map +1 -1
- package/esm/funcs/betaObservabilityDatasetsCreateRecord.d.ts.map +1 -1
- package/esm/funcs/betaObservabilityDatasetsCreateRecord.js +2 -1
- package/esm/funcs/betaObservabilityDatasetsCreateRecord.js.map +1 -1
- package/esm/funcs/betaObservabilityDatasetsDelete.d.ts.map +1 -1
- package/esm/funcs/betaObservabilityDatasetsDelete.js +2 -1
- package/esm/funcs/betaObservabilityDatasetsDelete.js.map +1 -1
- package/esm/funcs/betaObservabilityDatasetsExportToJsonl.d.ts.map +1 -1
- package/esm/funcs/betaObservabilityDatasetsExportToJsonl.js +2 -1
- package/esm/funcs/betaObservabilityDatasetsExportToJsonl.js.map +1 -1
- package/esm/funcs/betaObservabilityDatasetsFetch.d.ts.map +1 -1
- package/esm/funcs/betaObservabilityDatasetsFetch.js +2 -1
- package/esm/funcs/betaObservabilityDatasetsFetch.js.map +1 -1
- package/esm/funcs/betaObservabilityDatasetsFetchTask.d.ts.map +1 -1
- package/esm/funcs/betaObservabilityDatasetsFetchTask.js +2 -1
- package/esm/funcs/betaObservabilityDatasetsFetchTask.js.map +1 -1
- package/esm/funcs/betaObservabilityDatasetsImportFromCampaign.d.ts.map +1 -1
- package/esm/funcs/betaObservabilityDatasetsImportFromCampaign.js +2 -1
- package/esm/funcs/betaObservabilityDatasetsImportFromCampaign.js.map +1 -1
- package/esm/funcs/betaObservabilityDatasetsImportFromDatasetRecords.d.ts.map +1 -1
- package/esm/funcs/betaObservabilityDatasetsImportFromDatasetRecords.js +2 -1
- package/esm/funcs/betaObservabilityDatasetsImportFromDatasetRecords.js.map +1 -1
- package/esm/funcs/betaObservabilityDatasetsImportFromExplorer.d.ts.map +1 -1
- package/esm/funcs/betaObservabilityDatasetsImportFromExplorer.js +2 -1
- package/esm/funcs/betaObservabilityDatasetsImportFromExplorer.js.map +1 -1
- package/esm/funcs/betaObservabilityDatasetsImportFromFile.d.ts.map +1 -1
- package/esm/funcs/betaObservabilityDatasetsImportFromFile.js +2 -1
- package/esm/funcs/betaObservabilityDatasetsImportFromFile.js.map +1 -1
- package/esm/funcs/betaObservabilityDatasetsImportFromPlayground.d.ts.map +1 -1
- package/esm/funcs/betaObservabilityDatasetsImportFromPlayground.js +2 -1
- package/esm/funcs/betaObservabilityDatasetsImportFromPlayground.js.map +1 -1
- package/esm/funcs/betaObservabilityDatasetsList.d.ts.map +1 -1
- package/esm/funcs/betaObservabilityDatasetsList.js +2 -1
- package/esm/funcs/betaObservabilityDatasetsList.js.map +1 -1
- package/esm/funcs/betaObservabilityDatasetsListRecords.d.ts.map +1 -1
- package/esm/funcs/betaObservabilityDatasetsListRecords.js +2 -1
- package/esm/funcs/betaObservabilityDatasetsListRecords.js.map +1 -1
- package/esm/funcs/betaObservabilityDatasetsListTasks.d.ts.map +1 -1
- package/esm/funcs/betaObservabilityDatasetsListTasks.js +2 -1
- package/esm/funcs/betaObservabilityDatasetsListTasks.js.map +1 -1
- package/esm/funcs/betaObservabilityDatasetsRecordsBulkDelete.d.ts.map +1 -1
- package/esm/funcs/betaObservabilityDatasetsRecordsBulkDelete.js +2 -1
- package/esm/funcs/betaObservabilityDatasetsRecordsBulkDelete.js.map +1 -1
- package/esm/funcs/betaObservabilityDatasetsRecordsDelete.d.ts.map +1 -1
- package/esm/funcs/betaObservabilityDatasetsRecordsDelete.js +2 -1
- package/esm/funcs/betaObservabilityDatasetsRecordsDelete.js.map +1 -1
- package/esm/funcs/betaObservabilityDatasetsRecordsFetch.d.ts.map +1 -1
- package/esm/funcs/betaObservabilityDatasetsRecordsFetch.js +2 -1
- package/esm/funcs/betaObservabilityDatasetsRecordsFetch.js.map +1 -1
- package/esm/funcs/betaObservabilityDatasetsRecordsJudge.d.ts.map +1 -1
- package/esm/funcs/betaObservabilityDatasetsRecordsJudge.js +2 -1
- package/esm/funcs/betaObservabilityDatasetsRecordsJudge.js.map +1 -1
- package/esm/funcs/betaObservabilityDatasetsRecordsUpdatePayload.d.ts.map +1 -1
- package/esm/funcs/betaObservabilityDatasetsRecordsUpdatePayload.js +2 -1
- package/esm/funcs/betaObservabilityDatasetsRecordsUpdatePayload.js.map +1 -1
- package/esm/funcs/betaObservabilityDatasetsRecordsUpdateProperties.d.ts.map +1 -1
- package/esm/funcs/betaObservabilityDatasetsRecordsUpdateProperties.js +2 -1
- package/esm/funcs/betaObservabilityDatasetsRecordsUpdateProperties.js.map +1 -1
- package/esm/funcs/betaObservabilityDatasetsUpdate.d.ts.map +1 -1
- package/esm/funcs/betaObservabilityDatasetsUpdate.js +2 -1
- package/esm/funcs/betaObservabilityDatasetsUpdate.js.map +1 -1
- package/esm/funcs/betaObservabilityJudgesCreate.d.ts.map +1 -1
- package/esm/funcs/betaObservabilityJudgesCreate.js +2 -1
- package/esm/funcs/betaObservabilityJudgesCreate.js.map +1 -1
- package/esm/funcs/betaObservabilityJudgesDelete.d.ts.map +1 -1
- package/esm/funcs/betaObservabilityJudgesDelete.js +2 -1
- package/esm/funcs/betaObservabilityJudgesDelete.js.map +1 -1
- package/esm/funcs/betaObservabilityJudgesFetch.d.ts.map +1 -1
- package/esm/funcs/betaObservabilityJudgesFetch.js +2 -1
- package/esm/funcs/betaObservabilityJudgesFetch.js.map +1 -1
- package/esm/funcs/betaObservabilityJudgesJudgeConversation.d.ts.map +1 -1
- package/esm/funcs/betaObservabilityJudgesJudgeConversation.js +2 -1
- package/esm/funcs/betaObservabilityJudgesJudgeConversation.js.map +1 -1
- package/esm/funcs/betaObservabilityJudgesList.d.ts.map +1 -1
- package/esm/funcs/betaObservabilityJudgesList.js +2 -1
- package/esm/funcs/betaObservabilityJudgesList.js.map +1 -1
- package/esm/funcs/betaObservabilityJudgesUpdate.d.ts.map +1 -1
- package/esm/funcs/betaObservabilityJudgesUpdate.js +2 -1
- 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/chatComplete.d.ts.map +1 -1
- package/esm/funcs/chatComplete.js +2 -1
- package/esm/funcs/chatComplete.js.map +1 -1
- package/esm/funcs/chatStream.d.ts.map +1 -1
- package/esm/funcs/chatStream.js +2 -1
- package/esm/funcs/chatStream.js.map +1 -1
- package/esm/funcs/classifiersClassify.d.ts.map +1 -1
- package/esm/funcs/classifiersClassify.js +2 -1
- package/esm/funcs/classifiersClassify.js.map +1 -1
- package/esm/funcs/classifiersClassifyChat.d.ts.map +1 -1
- package/esm/funcs/classifiersClassifyChat.js +2 -1
- package/esm/funcs/classifiersClassifyChat.js.map +1 -1
- package/esm/funcs/classifiersModerate.d.ts.map +1 -1
- package/esm/funcs/classifiersModerate.js +2 -1
- package/esm/funcs/classifiersModerate.js.map +1 -1
- package/esm/funcs/classifiersModerateChat.d.ts.map +1 -1
- package/esm/funcs/classifiersModerateChat.js +2 -1
- package/esm/funcs/classifiersModerateChat.js.map +1 -1
- package/esm/funcs/embeddingsCreate.d.ts.map +1 -1
- package/esm/funcs/embeddingsCreate.js +2 -1
- package/esm/funcs/embeddingsCreate.js.map +1 -1
- package/esm/funcs/eventsGetStreamEvents.d.ts.map +1 -1
- package/esm/funcs/eventsGetStreamEvents.js +2 -1
- package/esm/funcs/eventsGetStreamEvents.js.map +1 -1
- package/esm/funcs/eventsGetWorkflowEvents.d.ts.map +1 -1
- package/esm/funcs/eventsGetWorkflowEvents.js +2 -1
- package/esm/funcs/eventsGetWorkflowEvents.js.map +1 -1
- package/esm/funcs/filesDelete.d.ts.map +1 -1
- package/esm/funcs/filesDelete.js +2 -1
- package/esm/funcs/filesDelete.js.map +1 -1
- package/esm/funcs/filesDownload.d.ts.map +1 -1
- package/esm/funcs/filesDownload.js +2 -1
- package/esm/funcs/filesDownload.js.map +1 -1
- package/esm/funcs/filesGetSignedUrl.d.ts.map +1 -1
- package/esm/funcs/filesGetSignedUrl.js +2 -1
- package/esm/funcs/filesGetSignedUrl.js.map +1 -1
- package/esm/funcs/filesList.d.ts.map +1 -1
- package/esm/funcs/filesList.js +2 -1
- package/esm/funcs/filesList.js.map +1 -1
- package/esm/funcs/filesRetrieve.d.ts.map +1 -1
- package/esm/funcs/filesRetrieve.js +2 -1
- package/esm/funcs/filesRetrieve.js.map +1 -1
- package/esm/funcs/filesUpload.d.ts.map +1 -1
- package/esm/funcs/filesUpload.js +6 -4
- package/esm/funcs/filesUpload.js.map +1 -1
- package/esm/funcs/fimComplete.d.ts.map +1 -1
- package/esm/funcs/fimComplete.js +2 -1
- package/esm/funcs/fimComplete.js.map +1 -1
- package/esm/funcs/fimStream.d.ts.map +1 -1
- package/esm/funcs/fimStream.js +2 -1
- package/esm/funcs/fimStream.js.map +1 -1
- package/esm/funcs/fineTuningJobsCancel.d.ts.map +1 -1
- package/esm/funcs/fineTuningJobsCancel.js +2 -1
- package/esm/funcs/fineTuningJobsCancel.js.map +1 -1
- package/esm/funcs/fineTuningJobsCreate.d.ts.map +1 -1
- package/esm/funcs/fineTuningJobsCreate.js +2 -1
- package/esm/funcs/fineTuningJobsCreate.js.map +1 -1
- package/esm/funcs/fineTuningJobsGet.d.ts.map +1 -1
- package/esm/funcs/fineTuningJobsGet.js +2 -1
- package/esm/funcs/fineTuningJobsGet.js.map +1 -1
- package/esm/funcs/fineTuningJobsList.d.ts.map +1 -1
- package/esm/funcs/fineTuningJobsList.js +2 -1
- package/esm/funcs/fineTuningJobsList.js.map +1 -1
- package/esm/funcs/fineTuningJobsStart.d.ts.map +1 -1
- package/esm/funcs/fineTuningJobsStart.js +2 -1
- package/esm/funcs/fineTuningJobsStart.js.map +1 -1
- package/esm/funcs/modelsArchive.d.ts.map +1 -1
- package/esm/funcs/modelsArchive.js +2 -1
- package/esm/funcs/modelsArchive.js.map +1 -1
- package/esm/funcs/modelsDelete.d.ts.map +1 -1
- package/esm/funcs/modelsDelete.js +2 -1
- package/esm/funcs/modelsDelete.js.map +1 -1
- package/esm/funcs/modelsList.d.ts.map +1 -1
- package/esm/funcs/modelsList.js +2 -1
- package/esm/funcs/modelsList.js.map +1 -1
- package/esm/funcs/modelsRetrieve.d.ts.map +1 -1
- package/esm/funcs/modelsRetrieve.js +2 -1
- package/esm/funcs/modelsRetrieve.js.map +1 -1
- package/esm/funcs/modelsUnarchive.d.ts.map +1 -1
- package/esm/funcs/modelsUnarchive.js +2 -1
- package/esm/funcs/modelsUnarchive.js.map +1 -1
- package/esm/funcs/modelsUpdate.d.ts.map +1 -1
- package/esm/funcs/modelsUpdate.js +2 -1
- package/esm/funcs/modelsUpdate.js.map +1 -1
- package/esm/funcs/ocrProcess.d.ts.map +1 -1
- package/esm/funcs/ocrProcess.js +2 -1
- package/esm/funcs/ocrProcess.js.map +1 -1
- package/esm/funcs/workflowsArchiveWorkflow.d.ts.map +1 -1
- package/esm/funcs/workflowsArchiveWorkflow.js +2 -1
- package/esm/funcs/workflowsArchiveWorkflow.js.map +1 -1
- package/esm/funcs/workflowsDeploymentsGetDeployment.d.ts.map +1 -1
- package/esm/funcs/workflowsDeploymentsGetDeployment.js +2 -1
- package/esm/funcs/workflowsDeploymentsGetDeployment.js.map +1 -1
- package/esm/funcs/workflowsDeploymentsListDeployments.d.ts.map +1 -1
- package/esm/funcs/workflowsDeploymentsListDeployments.js +2 -1
- package/esm/funcs/workflowsDeploymentsListDeployments.js.map +1 -1
- package/esm/funcs/workflowsExecuteWorkflow.d.ts.map +1 -1
- package/esm/funcs/workflowsExecuteWorkflow.js +2 -1
- package/esm/funcs/workflowsExecuteWorkflow.js.map +1 -1
- package/esm/funcs/workflowsExecuteWorkflowRegistration.d.ts.map +1 -1
- package/esm/funcs/workflowsExecuteWorkflowRegistration.js +2 -1
- package/esm/funcs/workflowsExecuteWorkflowRegistration.js.map +1 -1
- package/esm/funcs/workflowsExecutionsBatchCancelWorkflowExecutions.d.ts.map +1 -1
- package/esm/funcs/workflowsExecutionsBatchCancelWorkflowExecutions.js +2 -1
- package/esm/funcs/workflowsExecutionsBatchCancelWorkflowExecutions.js.map +1 -1
- package/esm/funcs/workflowsExecutionsBatchTerminateWorkflowExecutions.d.ts.map +1 -1
- package/esm/funcs/workflowsExecutionsBatchTerminateWorkflowExecutions.js +2 -1
- package/esm/funcs/workflowsExecutionsBatchTerminateWorkflowExecutions.js.map +1 -1
- package/esm/funcs/workflowsExecutionsCancelWorkflowExecution.d.ts.map +1 -1
- package/esm/funcs/workflowsExecutionsCancelWorkflowExecution.js +2 -1
- package/esm/funcs/workflowsExecutionsCancelWorkflowExecution.js.map +1 -1
- package/esm/funcs/workflowsExecutionsGetWorkflowExecution.d.ts.map +1 -1
- package/esm/funcs/workflowsExecutionsGetWorkflowExecution.js +2 -1
- package/esm/funcs/workflowsExecutionsGetWorkflowExecution.js.map +1 -1
- package/esm/funcs/workflowsExecutionsGetWorkflowExecutionHistory.d.ts.map +1 -1
- package/esm/funcs/workflowsExecutionsGetWorkflowExecutionHistory.js +2 -1
- package/esm/funcs/workflowsExecutionsGetWorkflowExecutionHistory.js.map +1 -1
- package/esm/funcs/workflowsExecutionsGetWorkflowExecutionTraceEvents.d.ts.map +1 -1
- package/esm/funcs/workflowsExecutionsGetWorkflowExecutionTraceEvents.js +2 -1
- package/esm/funcs/workflowsExecutionsGetWorkflowExecutionTraceEvents.js.map +1 -1
- package/esm/funcs/workflowsExecutionsGetWorkflowExecutionTraceOtel.d.ts.map +1 -1
- package/esm/funcs/workflowsExecutionsGetWorkflowExecutionTraceOtel.js +2 -1
- package/esm/funcs/workflowsExecutionsGetWorkflowExecutionTraceOtel.js.map +1 -1
- package/esm/funcs/workflowsExecutionsGetWorkflowExecutionTraceSummary.d.ts.map +1 -1
- package/esm/funcs/workflowsExecutionsGetWorkflowExecutionTraceSummary.js +2 -1
- package/esm/funcs/workflowsExecutionsGetWorkflowExecutionTraceSummary.js.map +1 -1
- package/esm/funcs/workflowsExecutionsQueryWorkflowExecution.d.ts.map +1 -1
- package/esm/funcs/workflowsExecutionsQueryWorkflowExecution.js +2 -1
- package/esm/funcs/workflowsExecutionsQueryWorkflowExecution.js.map +1 -1
- package/esm/funcs/workflowsExecutionsResetWorkflow.d.ts.map +1 -1
- package/esm/funcs/workflowsExecutionsResetWorkflow.js +2 -1
- package/esm/funcs/workflowsExecutionsResetWorkflow.js.map +1 -1
- package/esm/funcs/workflowsExecutionsSignalWorkflowExecution.d.ts.map +1 -1
- package/esm/funcs/workflowsExecutionsSignalWorkflowExecution.js +2 -1
- package/esm/funcs/workflowsExecutionsSignalWorkflowExecution.js.map +1 -1
- package/esm/funcs/workflowsExecutionsStream.d.ts.map +1 -1
- package/esm/funcs/workflowsExecutionsStream.js +2 -1
- package/esm/funcs/workflowsExecutionsStream.js.map +1 -1
- package/esm/funcs/workflowsExecutionsTerminateWorkflowExecution.d.ts.map +1 -1
- package/esm/funcs/workflowsExecutionsTerminateWorkflowExecution.js +2 -1
- package/esm/funcs/workflowsExecutionsTerminateWorkflowExecution.js.map +1 -1
- package/esm/funcs/workflowsExecutionsUpdateWorkflowExecution.d.ts.map +1 -1
- package/esm/funcs/workflowsExecutionsUpdateWorkflowExecution.js +2 -1
- package/esm/funcs/workflowsExecutionsUpdateWorkflowExecution.js.map +1 -1
- package/esm/funcs/workflowsGetWorkflow.d.ts.map +1 -1
- package/esm/funcs/workflowsGetWorkflow.js +2 -1
- package/esm/funcs/workflowsGetWorkflow.js.map +1 -1
- package/esm/funcs/workflowsGetWorkflowRegistration.d.ts.map +1 -1
- package/esm/funcs/workflowsGetWorkflowRegistration.js +2 -1
- package/esm/funcs/workflowsGetWorkflowRegistration.js.map +1 -1
- package/esm/funcs/workflowsGetWorkflowRegistrations.d.ts.map +1 -1
- package/esm/funcs/workflowsGetWorkflowRegistrations.js +2 -1
- package/esm/funcs/workflowsGetWorkflowRegistrations.js.map +1 -1
- package/esm/funcs/workflowsGetWorkflows.d.ts.map +1 -1
- package/esm/funcs/workflowsGetWorkflows.js +2 -1
- package/esm/funcs/workflowsGetWorkflows.js.map +1 -1
- package/esm/funcs/workflowsMetricsGetWorkflowMetrics.d.ts.map +1 -1
- package/esm/funcs/workflowsMetricsGetWorkflowMetrics.js +2 -1
- package/esm/funcs/workflowsMetricsGetWorkflowMetrics.js.map +1 -1
- package/esm/funcs/workflowsRunsGetRun.d.ts.map +1 -1
- package/esm/funcs/workflowsRunsGetRun.js +2 -1
- package/esm/funcs/workflowsRunsGetRun.js.map +1 -1
- package/esm/funcs/workflowsRunsGetRunHistory.d.ts.map +1 -1
- package/esm/funcs/workflowsRunsGetRunHistory.js +2 -1
- package/esm/funcs/workflowsRunsGetRunHistory.js.map +1 -1
- package/esm/funcs/workflowsRunsListRuns.d.ts.map +1 -1
- package/esm/funcs/workflowsRunsListRuns.js +3 -1
- package/esm/funcs/workflowsRunsListRuns.js.map +1 -1
- package/esm/funcs/workflowsSchedulesGetSchedules.d.ts.map +1 -1
- package/esm/funcs/workflowsSchedulesGetSchedules.js +2 -1
- package/esm/funcs/workflowsSchedulesGetSchedules.js.map +1 -1
- package/esm/funcs/workflowsSchedulesScheduleWorkflow.d.ts.map +1 -1
- package/esm/funcs/workflowsSchedulesScheduleWorkflow.js +2 -1
- package/esm/funcs/workflowsSchedulesScheduleWorkflow.js.map +1 -1
- package/esm/funcs/workflowsSchedulesUnscheduleWorkflow.d.ts.map +1 -1
- package/esm/funcs/workflowsSchedulesUnscheduleWorkflow.js +2 -1
- package/esm/funcs/workflowsSchedulesUnscheduleWorkflow.js.map +1 -1
- package/esm/funcs/workflowsUnarchiveWorkflow.d.ts.map +1 -1
- package/esm/funcs/workflowsUnarchiveWorkflow.js +2 -1
- package/esm/funcs/workflowsUnarchiveWorkflow.js.map +1 -1
- package/esm/funcs/workflowsUpdateWorkflow.d.ts.map +1 -1
- package/esm/funcs/workflowsUpdateWorkflow.js +2 -1
- package/esm/funcs/workflowsUpdateWorkflow.js.map +1 -1
- package/esm/lib/config.d.ts +3 -3
- package/esm/lib/config.js +3 -3
- 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/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 +6 -6
- package/esm/models/components/agentscompletionrequest.d.ts.map +1 -1
- package/esm/models/components/agentscompletionrequest.js +3 -3
- package/esm/models/components/agentscompletionrequest.js.map +1 -1
- package/esm/models/components/agentscompletionstreamrequest.d.ts +6 -6
- package/esm/models/components/agentscompletionstreamrequest.d.ts.map +1 -1
- package/esm/models/components/agentscompletionstreamrequest.js +3 -3
- package/esm/models/components/agentscompletionstreamrequest.js.map +1 -1
- package/esm/models/components/authenticationconfiguration.d.ts +13 -0
- package/esm/models/components/authenticationconfiguration.d.ts.map +1 -0
- package/esm/models/components/authenticationconfiguration.js +23 -0
- package/esm/models/components/authenticationconfiguration.js.map +1 -0
- package/esm/models/components/authenticationtype.d.ts +13 -0
- package/esm/models/components/authenticationtype.d.ts.map +1 -0
- package/esm/models/components/authenticationtype.js +15 -0
- package/esm/models/components/authenticationtype.js.map +1 -0
- package/esm/models/components/basefielddefinition.d.ts +1 -0
- package/esm/models/components/basefielddefinition.d.ts.map +1 -1
- package/esm/models/components/basefielddefinition.js +1 -0
- 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/chatcompletionrequest.d.ts +8 -8
- package/esm/models/components/chatcompletionrequest.d.ts.map +1 -1
- package/esm/models/components/chatcompletionrequest.js +4 -4
- package/esm/models/components/chatcompletionrequest.js.map +1 -1
- package/esm/models/components/chatcompletionstreamrequest.d.ts +8 -8
- package/esm/models/components/chatcompletionstreamrequest.d.ts.map +1 -1
- package/esm/models/components/chatcompletionstreamrequest.js +4 -4
- package/esm/models/components/chatcompletionstreamrequest.js.map +1 -1
- 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/connector.d.ts +0 -2
- package/esm/models/components/connector.d.ts.map +1 -1
- package/esm/models/components/connector.js +0 -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/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/createlibraryrequest.d.ts +13 -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/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/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/fimcompletionrequest.d.ts +4 -4
- package/esm/models/components/fimcompletionrequest.d.ts.map +1 -1
- package/esm/models/components/fimcompletionrequest.js +2 -2
- package/esm/models/components/fimcompletionrequest.js.map +1 -1
- package/esm/models/components/fimcompletionstreamrequest.d.ts +4 -4
- package/esm/models/components/fimcompletionstreamrequest.d.ts.map +1 -1
- package/esm/models/components/fimcompletionstreamrequest.js +2 -2
- package/esm/models/components/fimcompletionstreamrequest.js.map +1 -1
- package/esm/models/components/index.d.ts +14 -4
- package/esm/models/components/index.d.ts.map +1 -1
- package/esm/models/components/index.js +14 -4
- package/esm/models/components/index.js.map +1 -1
- package/esm/models/components/ingestionpipelineconfiguration.d.ts +13 -0
- package/esm/models/components/ingestionpipelineconfiguration.d.ts.map +1 -0
- package/esm/models/components/ingestionpipelineconfiguration.js +23 -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/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/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/publicauthenticationmethod.d.ts +16 -0
- package/esm/models/components/publicauthenticationmethod.d.ts.map +1 -0
- package/esm/models/components/publicauthenticationmethod.js +23 -0
- package/esm/models/components/publicauthenticationmethod.js.map +1 -0
- 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/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/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/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/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/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 -0
- package/esm/models/components/workflowexecutionrequest.d.ts.map +1 -1
- package/esm/models/components/workflowexecutionrequest.js +1 -0
- 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 +4 -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/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/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/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/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 +23 -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/getworkflowregistrationsv1workflowsregistrationsget.d.ts +1 -1
- package/esm/models/operations/getworkflowsv1workflowsget.d.ts +1 -1
- package/esm/models/operations/index.d.ts +10 -0
- package/esm/models/operations/index.d.ts.map +1 -1
- package/esm/models/operations/index.js +10 -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/librarieslistv1.d.ts +10 -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/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/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 +70 -0
- package/esm/sdk/connectors.d.ts.map +1 -1
- package/esm/sdk/connectors.js +100 -0
- package/esm/sdk/connectors.js.map +1 -1
- package/esm/sdk/ingestionpipelineconfigurations.d.ts +12 -0
- package/esm/sdk/ingestionpipelineconfigurations.d.ts.map +1 -0
- package/esm/sdk/ingestionpipelineconfigurations.js +19 -0
- package/esm/sdk/ingestionpipelineconfigurations.js.map +1 -0
- package/esm/sdk/rag.d.ts +7 -0
- package/esm/sdk/rag.d.ts.map +1 -0
- package/esm/sdk/rag.js +13 -0
- package/esm/sdk/rag.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/jsr.json +1 -1
- package/package.json +3 -3
- package/src/funcs/agentsComplete.ts +3 -1
- package/src/funcs/agentsStream.ts +3 -1
- package/src/funcs/audioSpeechComplete.ts +3 -1
- package/src/funcs/audioTranscriptionsComplete.ts +7 -4
- package/src/funcs/audioTranscriptionsStream.ts +7 -4
- package/src/funcs/audioVoicesCreate.ts +3 -1
- package/src/funcs/audioVoicesDelete.ts +3 -1
- package/src/funcs/audioVoicesGet.ts +3 -1
- package/src/funcs/audioVoicesGetSampleAudio.ts +12 -6
- package/src/funcs/audioVoicesList.ts +3 -1
- package/src/funcs/audioVoicesUpdate.ts +3 -1
- package/src/funcs/batchJobsCancel.ts +3 -1
- package/src/funcs/batchJobsCreate.ts +3 -1
- package/src/funcs/batchJobsDelete.ts +3 -1
- package/src/funcs/batchJobsGet.ts +3 -1
- package/src/funcs/batchJobsList.ts +3 -1
- package/src/funcs/betaAgentsCreate.ts +3 -1
- package/src/funcs/betaAgentsCreateVersionAlias.ts +3 -1
- package/src/funcs/betaAgentsDelete.ts +3 -1
- package/src/funcs/betaAgentsDeleteVersionAlias.ts +3 -1
- package/src/funcs/betaAgentsGet.ts +3 -1
- package/src/funcs/betaAgentsGetVersion.ts +3 -1
- package/src/funcs/betaAgentsList.ts +3 -1
- package/src/funcs/betaAgentsListVersionAliases.ts +3 -1
- package/src/funcs/betaAgentsListVersions.ts +3 -1
- package/src/funcs/betaAgentsUpdate.ts +3 -1
- package/src/funcs/betaAgentsUpdateVersion.ts +3 -1
- package/src/funcs/betaConnectorsCallTool.ts +3 -1
- package/src/funcs/betaConnectorsCreate.ts +3 -1
- package/src/funcs/betaConnectorsCreateOrUpdateOrganizationCredentials.ts +187 -0
- package/src/funcs/betaConnectorsCreateOrUpdateUserCredentials.ts +186 -0
- package/src/funcs/betaConnectorsCreateOrUpdateWorkspaceCredentials.ts +187 -0
- package/src/funcs/betaConnectorsDelete.ts +3 -1
- 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 +3 -1
- package/src/funcs/betaConnectorsGetAuthUrl.ts +4 -1
- package/src/funcs/betaConnectorsGetAuthenticationMethods.ts +175 -0
- package/src/funcs/betaConnectorsList.ts +3 -1
- package/src/funcs/betaConnectorsListOrganizationCredentials.ts +189 -0
- package/src/funcs/betaConnectorsListTools.ts +4 -1
- package/src/funcs/betaConnectorsListUserCredentials.ts +190 -0
- package/src/funcs/betaConnectorsListWorkspaceCredentials.ts +189 -0
- package/src/funcs/betaConnectorsUpdate.ts +3 -1
- package/src/funcs/betaConversationsAppend.ts +3 -1
- package/src/funcs/betaConversationsAppendStream.ts +3 -1
- package/src/funcs/betaConversationsDelete.ts +3 -1
- package/src/funcs/betaConversationsGet.ts +3 -1
- package/src/funcs/betaConversationsGetHistory.ts +3 -1
- package/src/funcs/betaConversationsGetMessages.ts +3 -1
- package/src/funcs/betaConversationsList.ts +3 -1
- package/src/funcs/betaConversationsRestart.ts +3 -1
- package/src/funcs/betaConversationsRestartStream.ts +3 -1
- package/src/funcs/betaConversationsStart.ts +3 -1
- package/src/funcs/betaConversationsStartStream.ts +3 -1
- package/src/funcs/betaLibrariesAccessesDelete.ts +3 -1
- package/src/funcs/betaLibrariesAccessesList.ts +3 -1
- package/src/funcs/betaLibrariesAccessesUpdateOrCreate.ts +3 -1
- package/src/funcs/betaLibrariesCreate.ts +3 -1
- package/src/funcs/betaLibrariesDelete.ts +3 -1
- package/src/funcs/betaLibrariesDocumentsDelete.ts +3 -1
- package/src/funcs/betaLibrariesDocumentsExtractedTextSignedUrl.ts +3 -1
- package/src/funcs/betaLibrariesDocumentsGet.ts +3 -1
- package/src/funcs/betaLibrariesDocumentsGetSignedUrl.ts +3 -1
- package/src/funcs/betaLibrariesDocumentsList.ts +3 -1
- package/src/funcs/betaLibrariesDocumentsReprocess.ts +3 -1
- package/src/funcs/betaLibrariesDocumentsStatus.ts +3 -1
- package/src/funcs/betaLibrariesDocumentsTextContent.ts +10 -2
- package/src/funcs/betaLibrariesDocumentsUpdate.ts +3 -1
- package/src/funcs/betaLibrariesDocumentsUpload.ts +7 -4
- package/src/funcs/betaLibrariesGet.ts +3 -1
- package/src/funcs/betaLibrariesList.ts +5 -1
- package/src/funcs/betaLibrariesUpdate.ts +3 -1
- package/src/funcs/betaObservabilityCampaignsCreate.ts +3 -1
- package/src/funcs/betaObservabilityCampaignsDelete.ts +3 -1
- package/src/funcs/betaObservabilityCampaignsFetch.ts +3 -1
- package/src/funcs/betaObservabilityCampaignsFetchStatus.ts +3 -1
- package/src/funcs/betaObservabilityCampaignsList.ts +3 -1
- package/src/funcs/betaObservabilityCampaignsListEvents.ts +3 -1
- package/src/funcs/betaObservabilityChatCompletionEventsFetch.ts +3 -1
- package/src/funcs/betaObservabilityChatCompletionEventsFetchSimilarEvents.ts +3 -1
- package/src/funcs/betaObservabilityChatCompletionEventsFieldsFetchOptionCounts.ts +3 -1
- package/src/funcs/betaObservabilityChatCompletionEventsFieldsFetchOptions.ts +3 -1
- package/src/funcs/betaObservabilityChatCompletionEventsFieldsList.ts +3 -1
- package/src/funcs/betaObservabilityChatCompletionEventsJudge.ts +3 -1
- package/src/funcs/betaObservabilityChatCompletionEventsSearch.ts +3 -1
- package/src/funcs/betaObservabilityChatCompletionEventsSearchIds.ts +3 -1
- package/src/funcs/betaObservabilityDatasetsCreate.ts +3 -1
- package/src/funcs/betaObservabilityDatasetsCreateRecord.ts +3 -1
- package/src/funcs/betaObservabilityDatasetsDelete.ts +3 -1
- package/src/funcs/betaObservabilityDatasetsExportToJsonl.ts +3 -1
- package/src/funcs/betaObservabilityDatasetsFetch.ts +3 -1
- package/src/funcs/betaObservabilityDatasetsFetchTask.ts +3 -1
- package/src/funcs/betaObservabilityDatasetsImportFromCampaign.ts +3 -1
- package/src/funcs/betaObservabilityDatasetsImportFromDatasetRecords.ts +3 -1
- package/src/funcs/betaObservabilityDatasetsImportFromExplorer.ts +3 -1
- package/src/funcs/betaObservabilityDatasetsImportFromFile.ts +3 -1
- package/src/funcs/betaObservabilityDatasetsImportFromPlayground.ts +3 -1
- package/src/funcs/betaObservabilityDatasetsList.ts +3 -1
- package/src/funcs/betaObservabilityDatasetsListRecords.ts +3 -1
- package/src/funcs/betaObservabilityDatasetsListTasks.ts +3 -1
- package/src/funcs/betaObservabilityDatasetsRecordsBulkDelete.ts +3 -1
- package/src/funcs/betaObservabilityDatasetsRecordsDelete.ts +3 -1
- package/src/funcs/betaObservabilityDatasetsRecordsFetch.ts +3 -1
- package/src/funcs/betaObservabilityDatasetsRecordsJudge.ts +3 -1
- package/src/funcs/betaObservabilityDatasetsRecordsUpdatePayload.ts +3 -1
- package/src/funcs/betaObservabilityDatasetsRecordsUpdateProperties.ts +3 -1
- package/src/funcs/betaObservabilityDatasetsUpdate.ts +3 -1
- package/src/funcs/betaObservabilityJudgesCreate.ts +3 -1
- package/src/funcs/betaObservabilityJudgesDelete.ts +3 -1
- package/src/funcs/betaObservabilityJudgesFetch.ts +3 -1
- package/src/funcs/betaObservabilityJudgesJudgeConversation.ts +3 -1
- package/src/funcs/betaObservabilityJudgesList.ts +3 -1
- package/src/funcs/betaObservabilityJudgesUpdate.ts +3 -1
- package/src/funcs/betaRagIngestionPipelineConfigurationsList.ts +149 -0
- package/src/funcs/chatComplete.ts +3 -1
- package/src/funcs/chatStream.ts +3 -1
- package/src/funcs/classifiersClassify.ts +3 -1
- package/src/funcs/classifiersClassifyChat.ts +3 -1
- package/src/funcs/classifiersModerate.ts +3 -1
- package/src/funcs/classifiersModerateChat.ts +3 -1
- package/src/funcs/embeddingsCreate.ts +3 -1
- package/src/funcs/eventsGetStreamEvents.ts +3 -1
- package/src/funcs/eventsGetWorkflowEvents.ts +3 -1
- package/src/funcs/filesDelete.ts +3 -1
- package/src/funcs/filesDownload.ts +3 -1
- package/src/funcs/filesGetSignedUrl.ts +3 -1
- package/src/funcs/filesList.ts +3 -1
- package/src/funcs/filesRetrieve.ts +3 -1
- package/src/funcs/filesUpload.ts +7 -4
- package/src/funcs/fimComplete.ts +3 -1
- package/src/funcs/fimStream.ts +3 -1
- package/src/funcs/fineTuningJobsCancel.ts +3 -1
- package/src/funcs/fineTuningJobsCreate.ts +3 -1
- package/src/funcs/fineTuningJobsGet.ts +3 -1
- package/src/funcs/fineTuningJobsList.ts +3 -1
- package/src/funcs/fineTuningJobsStart.ts +3 -1
- package/src/funcs/modelsArchive.ts +3 -1
- package/src/funcs/modelsDelete.ts +3 -1
- package/src/funcs/modelsList.ts +3 -1
- package/src/funcs/modelsRetrieve.ts +3 -1
- package/src/funcs/modelsUnarchive.ts +3 -1
- package/src/funcs/modelsUpdate.ts +3 -1
- package/src/funcs/ocrProcess.ts +3 -1
- package/src/funcs/workflowsArchiveWorkflow.ts +3 -1
- package/src/funcs/workflowsDeploymentsGetDeployment.ts +3 -1
- package/src/funcs/workflowsDeploymentsListDeployments.ts +3 -1
- package/src/funcs/workflowsExecuteWorkflow.ts +3 -1
- package/src/funcs/workflowsExecuteWorkflowRegistration.ts +3 -1
- package/src/funcs/workflowsExecutionsBatchCancelWorkflowExecutions.ts +3 -1
- package/src/funcs/workflowsExecutionsBatchTerminateWorkflowExecutions.ts +3 -1
- package/src/funcs/workflowsExecutionsCancelWorkflowExecution.ts +3 -1
- package/src/funcs/workflowsExecutionsGetWorkflowExecution.ts +3 -1
- package/src/funcs/workflowsExecutionsGetWorkflowExecutionHistory.ts +3 -1
- package/src/funcs/workflowsExecutionsGetWorkflowExecutionTraceEvents.ts +3 -1
- package/src/funcs/workflowsExecutionsGetWorkflowExecutionTraceOtel.ts +3 -1
- package/src/funcs/workflowsExecutionsGetWorkflowExecutionTraceSummary.ts +3 -1
- package/src/funcs/workflowsExecutionsQueryWorkflowExecution.ts +3 -1
- package/src/funcs/workflowsExecutionsResetWorkflow.ts +3 -1
- package/src/funcs/workflowsExecutionsSignalWorkflowExecution.ts +3 -1
- package/src/funcs/workflowsExecutionsStream.ts +3 -1
- package/src/funcs/workflowsExecutionsTerminateWorkflowExecution.ts +3 -1
- package/src/funcs/workflowsExecutionsUpdateWorkflowExecution.ts +3 -1
- package/src/funcs/workflowsGetWorkflow.ts +3 -1
- package/src/funcs/workflowsGetWorkflowRegistration.ts +3 -1
- package/src/funcs/workflowsGetWorkflowRegistrations.ts +3 -1
- package/src/funcs/workflowsGetWorkflows.ts +3 -1
- package/src/funcs/workflowsMetricsGetWorkflowMetrics.ts +3 -1
- package/src/funcs/workflowsRunsGetRun.ts +3 -1
- package/src/funcs/workflowsRunsGetRunHistory.ts +3 -1
- package/src/funcs/workflowsRunsListRuns.ts +4 -1
- package/src/funcs/workflowsSchedulesGetSchedules.ts +3 -1
- package/src/funcs/workflowsSchedulesScheduleWorkflow.ts +3 -1
- package/src/funcs/workflowsSchedulesUnscheduleWorkflow.ts +3 -1
- package/src/funcs/workflowsUnarchiveWorkflow.ts +3 -1
- package/src/funcs/workflowsUpdateWorkflow.ts +3 -1
- 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/agent.ts +2 -3
- package/src/models/components/agentconversation.ts +2 -3
- package/src/models/components/agentscompletionrequest.ts +9 -9
- package/src/models/components/agentscompletionstreamrequest.ts +9 -9
- package/src/models/components/authenticationconfiguration.ts +45 -0
- package/src/models/components/authenticationtype.ts +26 -0
- package/src/models/components/basefielddefinition.ts +1 -0
- package/src/models/components/chatcompletionchoice.ts +3 -2
- package/src/models/components/chatcompletionrequest.ts +12 -12
- package/src/models/components/chatcompletionstreamrequest.ts +12 -12
- package/src/models/components/connectioncredentials.ts +47 -0
- package/src/models/components/connector.ts +0 -3
- package/src/models/components/connectorauthenticationheader.ts +41 -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/createlibraryrequest.ts +19 -0
- package/src/models/components/credentialscreateorupdate.ts +59 -0
- package/src/models/components/credentialsresponse.ts +49 -0
- 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/fimcompletionrequest.ts +6 -6
- package/src/models/components/fimcompletionstreamrequest.ts +6 -6
- package/src/models/components/index.ts +14 -4
- package/src/models/components/ingestionpipelineconfiguration.ts +43 -0
- package/src/models/components/instructrequest.ts +0 -3
- package/src/models/components/locationtype.ts +18 -0
- 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/publicauthenticationmethod.ts +50 -0
- package/src/models/components/speechrequest.ts +3 -8
- 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/updateagentrequest.ts +3 -8
- package/src/models/components/workflow.ts +6 -0
- package/src/models/components/workflowcodedefinition.ts +6 -0
- package/src/models/components/workflowexecutionlistresponse.ts +3 -0
- package/src/models/components/workflowexecutionrequest.ts +6 -0
- package/src/models/components/workflowexecutionresponse.ts +6 -0
- package/src/models/components/workflowexecutionstartedattributesresponse.ts +6 -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/workflowwithworkerstatus.ts +6 -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/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/connectorlistorganizationcredentialsv1.ts +50 -0
- package/src/models/operations/connectorlisttoolsv1.ts +4 -0
- package/src/models/operations/connectorlistusercredentialsv1.ts +47 -0
- package/src/models/operations/connectorlistworkspacecredentialsv1.ts +50 -0
- package/src/models/operations/getworkflowregistrationsv1workflowsregistrationsget.ts +1 -1
- package/src/models/operations/getworkflowsv1workflowsget.ts +1 -1
- package/src/models/operations/index.ts +10 -0
- package/src/models/operations/librariesdocumentsgettextcontentv1.ts +8 -0
- package/src/models/operations/librarieslistv1.ts +13 -0
- package/src/models/operations/listrunsv1workflowsrunsget.ts +7 -0
- package/src/sdk/beta.ts +6 -0
- package/src/sdk/connectors.ts +180 -0
- package/src/sdk/ingestionpipelineconfigurations.ts +26 -0
- package/src/sdk/rag.ts +15 -0
- package/src/sdk/voices.ts +1 -1
- 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/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/src/models/components/internalmetadata.ts +0 -126
- package/src/models/components/metadatadict.ts +0 -55
- package/src/models/components/mirrorconfig.ts +0 -65
- package/src/models/components/mirrorsource.ts +0 -76
|
@@ -0,0 +1,188 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
* @generated-id: 65ce448b9710
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
import { MistralCore } from "../core.js";
|
|
7
|
+
import { encodeSimple } from "../lib/encodings.js";
|
|
8
|
+
import { matchStatusCode } from "../lib/http.js";
|
|
9
|
+
import * as M from "../lib/matchers.js";
|
|
10
|
+
import { compactMap } from "../lib/primitives.js";
|
|
11
|
+
import { safeParse } from "../lib/schemas.js";
|
|
12
|
+
import { RequestOptions } from "../lib/sdks.js";
|
|
13
|
+
import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js";
|
|
14
|
+
import { pathToFunc } from "../lib/url.js";
|
|
15
|
+
import * as components from "../models/components/index.js";
|
|
16
|
+
import {
|
|
17
|
+
ConnectionError,
|
|
18
|
+
InvalidRequestError,
|
|
19
|
+
RequestAbortedError,
|
|
20
|
+
RequestTimeoutError,
|
|
21
|
+
UnexpectedClientError,
|
|
22
|
+
} from "../models/errors/httpclienterrors.js";
|
|
23
|
+
import * as errors from "../models/errors/index.js";
|
|
24
|
+
import { MistralError } from "../models/errors/mistralerror.js";
|
|
25
|
+
import { ResponseValidationError } from "../models/errors/responsevalidationerror.js";
|
|
26
|
+
import { SDKValidationError } from "../models/errors/sdkvalidationerror.js";
|
|
27
|
+
import * as operations from "../models/operations/index.js";
|
|
28
|
+
import { APICall, APIPromise } from "../types/async.js";
|
|
29
|
+
import { Result } from "../types/fp.js";
|
|
30
|
+
|
|
31
|
+
/**
|
|
32
|
+
* Delete workspace credentials for a connector.
|
|
33
|
+
*
|
|
34
|
+
* @remarks
|
|
35
|
+
* Delete credentials at the workspace level for a given connector.
|
|
36
|
+
*/
|
|
37
|
+
export function betaConnectorsDeleteWorkspaceCredentials(
|
|
38
|
+
client: MistralCore,
|
|
39
|
+
request: operations.ConnectorDeleteWorkspaceCredentialsV1Request,
|
|
40
|
+
options?: RequestOptions,
|
|
41
|
+
): APIPromise<
|
|
42
|
+
Result<
|
|
43
|
+
components.MessageResponse,
|
|
44
|
+
| errors.HTTPValidationError
|
|
45
|
+
| MistralError
|
|
46
|
+
| ResponseValidationError
|
|
47
|
+
| ConnectionError
|
|
48
|
+
| RequestAbortedError
|
|
49
|
+
| RequestTimeoutError
|
|
50
|
+
| InvalidRequestError
|
|
51
|
+
| UnexpectedClientError
|
|
52
|
+
| SDKValidationError
|
|
53
|
+
>
|
|
54
|
+
> {
|
|
55
|
+
return new APIPromise($do(
|
|
56
|
+
client,
|
|
57
|
+
request,
|
|
58
|
+
options,
|
|
59
|
+
));
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
async function $do(
|
|
63
|
+
client: MistralCore,
|
|
64
|
+
request: operations.ConnectorDeleteWorkspaceCredentialsV1Request,
|
|
65
|
+
options?: RequestOptions,
|
|
66
|
+
): Promise<
|
|
67
|
+
[
|
|
68
|
+
Result<
|
|
69
|
+
components.MessageResponse,
|
|
70
|
+
| errors.HTTPValidationError
|
|
71
|
+
| MistralError
|
|
72
|
+
| ResponseValidationError
|
|
73
|
+
| ConnectionError
|
|
74
|
+
| RequestAbortedError
|
|
75
|
+
| RequestTimeoutError
|
|
76
|
+
| InvalidRequestError
|
|
77
|
+
| UnexpectedClientError
|
|
78
|
+
| SDKValidationError
|
|
79
|
+
>,
|
|
80
|
+
APICall,
|
|
81
|
+
]
|
|
82
|
+
> {
|
|
83
|
+
const parsed = safeParse(
|
|
84
|
+
request,
|
|
85
|
+
(value) =>
|
|
86
|
+
operations.ConnectorDeleteWorkspaceCredentialsV1Request$outboundSchema
|
|
87
|
+
.parse(value),
|
|
88
|
+
"Input validation failed",
|
|
89
|
+
);
|
|
90
|
+
if (!parsed.ok) {
|
|
91
|
+
return [parsed, { status: "invalid" }];
|
|
92
|
+
}
|
|
93
|
+
const payload = parsed.value;
|
|
94
|
+
const body = null;
|
|
95
|
+
|
|
96
|
+
const pathParams = {
|
|
97
|
+
connector_id_or_name: encodeSimple(
|
|
98
|
+
"connector_id_or_name",
|
|
99
|
+
payload.connector_id_or_name,
|
|
100
|
+
{ explode: false, charEncoding: "percent" },
|
|
101
|
+
),
|
|
102
|
+
credentials_name: encodeSimple(
|
|
103
|
+
"credentials_name",
|
|
104
|
+
payload.credentials_name,
|
|
105
|
+
{ explode: false, charEncoding: "percent" },
|
|
106
|
+
),
|
|
107
|
+
};
|
|
108
|
+
const path = pathToFunc(
|
|
109
|
+
"/v1/connectors/{connector_id_or_name}/workspace/credentials/{credentials_name}",
|
|
110
|
+
)(pathParams);
|
|
111
|
+
|
|
112
|
+
const headers = new Headers(compactMap({
|
|
113
|
+
Accept: "application/json",
|
|
114
|
+
}));
|
|
115
|
+
|
|
116
|
+
const secConfig = await extractSecurity(client._options.apiKey);
|
|
117
|
+
const securityInput = secConfig == null ? {} : { apiKey: secConfig };
|
|
118
|
+
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
119
|
+
|
|
120
|
+
const context = {
|
|
121
|
+
options: client._options,
|
|
122
|
+
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
123
|
+
operationID: "connector_delete_workspace_credentials_v1",
|
|
124
|
+
oAuth2Scopes: null,
|
|
125
|
+
|
|
126
|
+
resolvedSecurity: requestSecurity,
|
|
127
|
+
|
|
128
|
+
securitySource: client._options.apiKey,
|
|
129
|
+
retryConfig: options?.retries
|
|
130
|
+
|| client._options.retryConfig
|
|
131
|
+
|| { strategy: "none" },
|
|
132
|
+
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"],
|
|
133
|
+
};
|
|
134
|
+
|
|
135
|
+
const requestRes = client._createRequest(context, {
|
|
136
|
+
security: requestSecurity,
|
|
137
|
+
method: "DELETE",
|
|
138
|
+
baseURL: options?.serverURL,
|
|
139
|
+
path: path,
|
|
140
|
+
headers: headers,
|
|
141
|
+
body: body,
|
|
142
|
+
userAgent: client._options.userAgent,
|
|
143
|
+
timeoutMs: options?.timeoutMs || client._options.timeoutMs || 30000,
|
|
144
|
+
}, options);
|
|
145
|
+
if (!requestRes.ok) {
|
|
146
|
+
return [requestRes, { status: "invalid" }];
|
|
147
|
+
}
|
|
148
|
+
const req = requestRes.value;
|
|
149
|
+
|
|
150
|
+
const doResult = await client._do(req, {
|
|
151
|
+
context,
|
|
152
|
+
isErrorStatusCode: (statusCode: number) =>
|
|
153
|
+
matchStatusCode({ status: statusCode } as Response, ["4XX", "5XX"]),
|
|
154
|
+
retryConfig: context.retryConfig,
|
|
155
|
+
retryCodes: context.retryCodes,
|
|
156
|
+
});
|
|
157
|
+
if (!doResult.ok) {
|
|
158
|
+
return [doResult, { status: "request-error", request: req }];
|
|
159
|
+
}
|
|
160
|
+
const response = doResult.value;
|
|
161
|
+
|
|
162
|
+
const responseFields = {
|
|
163
|
+
HttpMeta: { Response: response, Request: req },
|
|
164
|
+
};
|
|
165
|
+
|
|
166
|
+
const [result] = await M.match<
|
|
167
|
+
components.MessageResponse,
|
|
168
|
+
| errors.HTTPValidationError
|
|
169
|
+
| MistralError
|
|
170
|
+
| ResponseValidationError
|
|
171
|
+
| ConnectionError
|
|
172
|
+
| RequestAbortedError
|
|
173
|
+
| RequestTimeoutError
|
|
174
|
+
| InvalidRequestError
|
|
175
|
+
| UnexpectedClientError
|
|
176
|
+
| SDKValidationError
|
|
177
|
+
>(
|
|
178
|
+
M.json(200, components.MessageResponse$inboundSchema),
|
|
179
|
+
M.jsonErr(422, errors.HTTPValidationError$inboundSchema),
|
|
180
|
+
M.fail("4XX"),
|
|
181
|
+
M.fail("5XX"),
|
|
182
|
+
)(response, req, { extraFields: responseFields });
|
|
183
|
+
if (!result.ok) {
|
|
184
|
+
return [result, { status: "complete", request: req, response }];
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
return [result, { status: "complete", request: req, response }];
|
|
188
|
+
}
|
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
import { MistralCore } from "../core.js";
|
|
7
7
|
import { encodeFormQuery, encodeSimple } 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";
|
|
@@ -147,7 +148,8 @@ async function $do(
|
|
|
147
148
|
|
|
148
149
|
const doResult = await client._do(req, {
|
|
149
150
|
context,
|
|
150
|
-
|
|
151
|
+
isErrorStatusCode: (statusCode: number) =>
|
|
152
|
+
matchStatusCode({ status: statusCode } as Response, ["4XX", "5XX"]),
|
|
151
153
|
retryConfig: context.retryConfig,
|
|
152
154
|
retryCodes: context.retryCodes,
|
|
153
155
|
});
|
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
import { MistralCore } from "../core.js";
|
|
7
7
|
import { encodeFormQuery, encodeSimple } 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";
|
|
@@ -104,6 +105,7 @@ async function $do(
|
|
|
104
105
|
|
|
105
106
|
const query = encodeFormQuery({
|
|
106
107
|
"app_return_url": payload.app_return_url,
|
|
108
|
+
"credentials_name": payload.credentials_name,
|
|
107
109
|
});
|
|
108
110
|
|
|
109
111
|
const headers = new Headers(compactMap({
|
|
@@ -147,7 +149,8 @@ async function $do(
|
|
|
147
149
|
|
|
148
150
|
const doResult = await client._do(req, {
|
|
149
151
|
context,
|
|
150
|
-
|
|
152
|
+
isErrorStatusCode: (statusCode: number) =>
|
|
153
|
+
matchStatusCode({ status: statusCode } as Response, ["4XX", "5XX"]),
|
|
151
154
|
retryConfig: context.retryConfig,
|
|
152
155
|
retryCodes: context.retryCodes,
|
|
153
156
|
});
|
|
@@ -0,0 +1,175 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
* @generated-id: c7830a90adb7
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
import * as z from "zod/v4";
|
|
7
|
+
import { MistralCore } from "../core.js";
|
|
8
|
+
import { encodeSimple } from "../lib/encodings.js";
|
|
9
|
+
import { matchStatusCode } from "../lib/http.js";
|
|
10
|
+
import * as M from "../lib/matchers.js";
|
|
11
|
+
import { compactMap } from "../lib/primitives.js";
|
|
12
|
+
import { safeParse } from "../lib/schemas.js";
|
|
13
|
+
import { RequestOptions } from "../lib/sdks.js";
|
|
14
|
+
import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js";
|
|
15
|
+
import { pathToFunc } from "../lib/url.js";
|
|
16
|
+
import * as components from "../models/components/index.js";
|
|
17
|
+
import {
|
|
18
|
+
ConnectionError,
|
|
19
|
+
InvalidRequestError,
|
|
20
|
+
RequestAbortedError,
|
|
21
|
+
RequestTimeoutError,
|
|
22
|
+
UnexpectedClientError,
|
|
23
|
+
} from "../models/errors/httpclienterrors.js";
|
|
24
|
+
import { MistralError } from "../models/errors/mistralerror.js";
|
|
25
|
+
import { ResponseValidationError } from "../models/errors/responsevalidationerror.js";
|
|
26
|
+
import { SDKValidationError } from "../models/errors/sdkvalidationerror.js";
|
|
27
|
+
import * as operations from "../models/operations/index.js";
|
|
28
|
+
import { APICall, APIPromise } from "../types/async.js";
|
|
29
|
+
import { Result } from "../types/fp.js";
|
|
30
|
+
|
|
31
|
+
/**
|
|
32
|
+
* Get authentication methods for a connector.
|
|
33
|
+
*
|
|
34
|
+
* @remarks
|
|
35
|
+
* Get the authentication schema for a connector. Returns the list of supported authentication methods and their required headers.
|
|
36
|
+
*/
|
|
37
|
+
export function betaConnectorsGetAuthenticationMethods(
|
|
38
|
+
client: MistralCore,
|
|
39
|
+
request: operations.ConnectorGetAuthenticationMethodsV1Request,
|
|
40
|
+
options?: RequestOptions,
|
|
41
|
+
): APIPromise<
|
|
42
|
+
Result<
|
|
43
|
+
Array<components.PublicAuthenticationMethod>,
|
|
44
|
+
| MistralError
|
|
45
|
+
| ResponseValidationError
|
|
46
|
+
| ConnectionError
|
|
47
|
+
| RequestAbortedError
|
|
48
|
+
| RequestTimeoutError
|
|
49
|
+
| InvalidRequestError
|
|
50
|
+
| UnexpectedClientError
|
|
51
|
+
| SDKValidationError
|
|
52
|
+
>
|
|
53
|
+
> {
|
|
54
|
+
return new APIPromise($do(
|
|
55
|
+
client,
|
|
56
|
+
request,
|
|
57
|
+
options,
|
|
58
|
+
));
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
async function $do(
|
|
62
|
+
client: MistralCore,
|
|
63
|
+
request: operations.ConnectorGetAuthenticationMethodsV1Request,
|
|
64
|
+
options?: RequestOptions,
|
|
65
|
+
): Promise<
|
|
66
|
+
[
|
|
67
|
+
Result<
|
|
68
|
+
Array<components.PublicAuthenticationMethod>,
|
|
69
|
+
| MistralError
|
|
70
|
+
| ResponseValidationError
|
|
71
|
+
| ConnectionError
|
|
72
|
+
| RequestAbortedError
|
|
73
|
+
| RequestTimeoutError
|
|
74
|
+
| InvalidRequestError
|
|
75
|
+
| UnexpectedClientError
|
|
76
|
+
| SDKValidationError
|
|
77
|
+
>,
|
|
78
|
+
APICall,
|
|
79
|
+
]
|
|
80
|
+
> {
|
|
81
|
+
const parsed = safeParse(
|
|
82
|
+
request,
|
|
83
|
+
(value) =>
|
|
84
|
+
operations.ConnectorGetAuthenticationMethodsV1Request$outboundSchema
|
|
85
|
+
.parse(value),
|
|
86
|
+
"Input validation failed",
|
|
87
|
+
);
|
|
88
|
+
if (!parsed.ok) {
|
|
89
|
+
return [parsed, { status: "invalid" }];
|
|
90
|
+
}
|
|
91
|
+
const payload = parsed.value;
|
|
92
|
+
const body = null;
|
|
93
|
+
|
|
94
|
+
const pathParams = {
|
|
95
|
+
connector_id_or_name: encodeSimple(
|
|
96
|
+
"connector_id_or_name",
|
|
97
|
+
payload.connector_id_or_name,
|
|
98
|
+
{ explode: false, charEncoding: "percent" },
|
|
99
|
+
),
|
|
100
|
+
};
|
|
101
|
+
const path = pathToFunc(
|
|
102
|
+
"/v1/connectors/{connector_id_or_name}/authentication_methods",
|
|
103
|
+
)(pathParams);
|
|
104
|
+
|
|
105
|
+
const headers = new Headers(compactMap({
|
|
106
|
+
Accept: "application/json",
|
|
107
|
+
}));
|
|
108
|
+
|
|
109
|
+
const secConfig = await extractSecurity(client._options.apiKey);
|
|
110
|
+
const securityInput = secConfig == null ? {} : { apiKey: secConfig };
|
|
111
|
+
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
112
|
+
|
|
113
|
+
const context = {
|
|
114
|
+
options: client._options,
|
|
115
|
+
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
116
|
+
operationID: "connector_get_authentication_methods_v1",
|
|
117
|
+
oAuth2Scopes: null,
|
|
118
|
+
|
|
119
|
+
resolvedSecurity: requestSecurity,
|
|
120
|
+
|
|
121
|
+
securitySource: client._options.apiKey,
|
|
122
|
+
retryConfig: options?.retries
|
|
123
|
+
|| client._options.retryConfig
|
|
124
|
+
|| { strategy: "none" },
|
|
125
|
+
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"],
|
|
126
|
+
};
|
|
127
|
+
|
|
128
|
+
const requestRes = client._createRequest(context, {
|
|
129
|
+
security: requestSecurity,
|
|
130
|
+
method: "GET",
|
|
131
|
+
baseURL: options?.serverURL,
|
|
132
|
+
path: path,
|
|
133
|
+
headers: headers,
|
|
134
|
+
body: body,
|
|
135
|
+
userAgent: client._options.userAgent,
|
|
136
|
+
timeoutMs: options?.timeoutMs || client._options.timeoutMs || 30000,
|
|
137
|
+
}, options);
|
|
138
|
+
if (!requestRes.ok) {
|
|
139
|
+
return [requestRes, { status: "invalid" }];
|
|
140
|
+
}
|
|
141
|
+
const req = requestRes.value;
|
|
142
|
+
|
|
143
|
+
const doResult = await client._do(req, {
|
|
144
|
+
context,
|
|
145
|
+
isErrorStatusCode: (statusCode: number) =>
|
|
146
|
+
matchStatusCode({ status: statusCode } as Response, ["4XX", "5XX"]),
|
|
147
|
+
retryConfig: context.retryConfig,
|
|
148
|
+
retryCodes: context.retryCodes,
|
|
149
|
+
});
|
|
150
|
+
if (!doResult.ok) {
|
|
151
|
+
return [doResult, { status: "request-error", request: req }];
|
|
152
|
+
}
|
|
153
|
+
const response = doResult.value;
|
|
154
|
+
|
|
155
|
+
const [result] = await M.match<
|
|
156
|
+
Array<components.PublicAuthenticationMethod>,
|
|
157
|
+
| MistralError
|
|
158
|
+
| ResponseValidationError
|
|
159
|
+
| ConnectionError
|
|
160
|
+
| RequestAbortedError
|
|
161
|
+
| RequestTimeoutError
|
|
162
|
+
| InvalidRequestError
|
|
163
|
+
| UnexpectedClientError
|
|
164
|
+
| SDKValidationError
|
|
165
|
+
>(
|
|
166
|
+
M.json(200, z.array(components.PublicAuthenticationMethod$inboundSchema)),
|
|
167
|
+
M.fail("4XX"),
|
|
168
|
+
M.fail("5XX"),
|
|
169
|
+
)(response, req);
|
|
170
|
+
if (!result.ok) {
|
|
171
|
+
return [result, { status: "complete", request: req, response }];
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
return [result, { status: "complete", request: req, response }];
|
|
175
|
+
}
|
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
import { MistralCore } from "../core.js";
|
|
7
7
|
import { encodeFormQuery } 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";
|
|
@@ -140,7 +141,8 @@ async function $do(
|
|
|
140
141
|
|
|
141
142
|
const doResult = await client._do(req, {
|
|
142
143
|
context,
|
|
143
|
-
|
|
144
|
+
isErrorStatusCode: (statusCode: number) =>
|
|
145
|
+
matchStatusCode({ status: statusCode } as Response, ["4XX", "5XX"]),
|
|
144
146
|
retryConfig: context.retryConfig,
|
|
145
147
|
retryCodes: context.retryCodes,
|
|
146
148
|
});
|
|
@@ -0,0 +1,189 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
* @generated-id: e4a2a0afddde
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
import { MistralCore } from "../core.js";
|
|
7
|
+
import { encodeFormQuery, encodeSimple } from "../lib/encodings.js";
|
|
8
|
+
import { matchStatusCode } from "../lib/http.js";
|
|
9
|
+
import * as M from "../lib/matchers.js";
|
|
10
|
+
import { compactMap } from "../lib/primitives.js";
|
|
11
|
+
import { safeParse } from "../lib/schemas.js";
|
|
12
|
+
import { RequestOptions } from "../lib/sdks.js";
|
|
13
|
+
import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js";
|
|
14
|
+
import { pathToFunc } from "../lib/url.js";
|
|
15
|
+
import * as components from "../models/components/index.js";
|
|
16
|
+
import {
|
|
17
|
+
ConnectionError,
|
|
18
|
+
InvalidRequestError,
|
|
19
|
+
RequestAbortedError,
|
|
20
|
+
RequestTimeoutError,
|
|
21
|
+
UnexpectedClientError,
|
|
22
|
+
} from "../models/errors/httpclienterrors.js";
|
|
23
|
+
import * as errors from "../models/errors/index.js";
|
|
24
|
+
import { MistralError } from "../models/errors/mistralerror.js";
|
|
25
|
+
import { ResponseValidationError } from "../models/errors/responsevalidationerror.js";
|
|
26
|
+
import { SDKValidationError } from "../models/errors/sdkvalidationerror.js";
|
|
27
|
+
import * as operations from "../models/operations/index.js";
|
|
28
|
+
import { APICall, APIPromise } from "../types/async.js";
|
|
29
|
+
import { Result } from "../types/fp.js";
|
|
30
|
+
|
|
31
|
+
/**
|
|
32
|
+
* List organization credentials for a connector.
|
|
33
|
+
*
|
|
34
|
+
* @remarks
|
|
35
|
+
* List all credentials configured at the organization level for a given connector.
|
|
36
|
+
*/
|
|
37
|
+
export function betaConnectorsListOrganizationCredentials(
|
|
38
|
+
client: MistralCore,
|
|
39
|
+
request: operations.ConnectorListOrganizationCredentialsV1Request,
|
|
40
|
+
options?: RequestOptions,
|
|
41
|
+
): APIPromise<
|
|
42
|
+
Result<
|
|
43
|
+
components.CredentialsResponse,
|
|
44
|
+
| errors.HTTPValidationError
|
|
45
|
+
| MistralError
|
|
46
|
+
| ResponseValidationError
|
|
47
|
+
| ConnectionError
|
|
48
|
+
| RequestAbortedError
|
|
49
|
+
| RequestTimeoutError
|
|
50
|
+
| InvalidRequestError
|
|
51
|
+
| UnexpectedClientError
|
|
52
|
+
| SDKValidationError
|
|
53
|
+
>
|
|
54
|
+
> {
|
|
55
|
+
return new APIPromise($do(
|
|
56
|
+
client,
|
|
57
|
+
request,
|
|
58
|
+
options,
|
|
59
|
+
));
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
async function $do(
|
|
63
|
+
client: MistralCore,
|
|
64
|
+
request: operations.ConnectorListOrganizationCredentialsV1Request,
|
|
65
|
+
options?: RequestOptions,
|
|
66
|
+
): Promise<
|
|
67
|
+
[
|
|
68
|
+
Result<
|
|
69
|
+
components.CredentialsResponse,
|
|
70
|
+
| errors.HTTPValidationError
|
|
71
|
+
| MistralError
|
|
72
|
+
| ResponseValidationError
|
|
73
|
+
| ConnectionError
|
|
74
|
+
| RequestAbortedError
|
|
75
|
+
| RequestTimeoutError
|
|
76
|
+
| InvalidRequestError
|
|
77
|
+
| UnexpectedClientError
|
|
78
|
+
| SDKValidationError
|
|
79
|
+
>,
|
|
80
|
+
APICall,
|
|
81
|
+
]
|
|
82
|
+
> {
|
|
83
|
+
const parsed = safeParse(
|
|
84
|
+
request,
|
|
85
|
+
(value) =>
|
|
86
|
+
operations.ConnectorListOrganizationCredentialsV1Request$outboundSchema
|
|
87
|
+
.parse(value),
|
|
88
|
+
"Input validation failed",
|
|
89
|
+
);
|
|
90
|
+
if (!parsed.ok) {
|
|
91
|
+
return [parsed, { status: "invalid" }];
|
|
92
|
+
}
|
|
93
|
+
const payload = parsed.value;
|
|
94
|
+
const body = null;
|
|
95
|
+
|
|
96
|
+
const pathParams = {
|
|
97
|
+
connector_id_or_name: encodeSimple(
|
|
98
|
+
"connector_id_or_name",
|
|
99
|
+
payload.connector_id_or_name,
|
|
100
|
+
{ explode: false, charEncoding: "percent" },
|
|
101
|
+
),
|
|
102
|
+
};
|
|
103
|
+
const path = pathToFunc(
|
|
104
|
+
"/v1/connectors/{connector_id_or_name}/organization/credentials",
|
|
105
|
+
)(pathParams);
|
|
106
|
+
|
|
107
|
+
const query = encodeFormQuery({
|
|
108
|
+
"auth_type": payload.auth_type,
|
|
109
|
+
"fetch_default": payload.fetch_default,
|
|
110
|
+
});
|
|
111
|
+
|
|
112
|
+
const headers = new Headers(compactMap({
|
|
113
|
+
Accept: "application/json",
|
|
114
|
+
}));
|
|
115
|
+
|
|
116
|
+
const secConfig = await extractSecurity(client._options.apiKey);
|
|
117
|
+
const securityInput = secConfig == null ? {} : { apiKey: secConfig };
|
|
118
|
+
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
119
|
+
|
|
120
|
+
const context = {
|
|
121
|
+
options: client._options,
|
|
122
|
+
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
123
|
+
operationID: "connector_list_organization_credentials_v1",
|
|
124
|
+
oAuth2Scopes: null,
|
|
125
|
+
|
|
126
|
+
resolvedSecurity: requestSecurity,
|
|
127
|
+
|
|
128
|
+
securitySource: client._options.apiKey,
|
|
129
|
+
retryConfig: options?.retries
|
|
130
|
+
|| client._options.retryConfig
|
|
131
|
+
|| { strategy: "none" },
|
|
132
|
+
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"],
|
|
133
|
+
};
|
|
134
|
+
|
|
135
|
+
const requestRes = client._createRequest(context, {
|
|
136
|
+
security: requestSecurity,
|
|
137
|
+
method: "GET",
|
|
138
|
+
baseURL: options?.serverURL,
|
|
139
|
+
path: path,
|
|
140
|
+
headers: headers,
|
|
141
|
+
query: query,
|
|
142
|
+
body: body,
|
|
143
|
+
userAgent: client._options.userAgent,
|
|
144
|
+
timeoutMs: options?.timeoutMs || client._options.timeoutMs || 30000,
|
|
145
|
+
}, options);
|
|
146
|
+
if (!requestRes.ok) {
|
|
147
|
+
return [requestRes, { status: "invalid" }];
|
|
148
|
+
}
|
|
149
|
+
const req = requestRes.value;
|
|
150
|
+
|
|
151
|
+
const doResult = await client._do(req, {
|
|
152
|
+
context,
|
|
153
|
+
isErrorStatusCode: (statusCode: number) =>
|
|
154
|
+
matchStatusCode({ status: statusCode } as Response, ["4XX", "5XX"]),
|
|
155
|
+
retryConfig: context.retryConfig,
|
|
156
|
+
retryCodes: context.retryCodes,
|
|
157
|
+
});
|
|
158
|
+
if (!doResult.ok) {
|
|
159
|
+
return [doResult, { status: "request-error", request: req }];
|
|
160
|
+
}
|
|
161
|
+
const response = doResult.value;
|
|
162
|
+
|
|
163
|
+
const responseFields = {
|
|
164
|
+
HttpMeta: { Response: response, Request: req },
|
|
165
|
+
};
|
|
166
|
+
|
|
167
|
+
const [result] = await M.match<
|
|
168
|
+
components.CredentialsResponse,
|
|
169
|
+
| errors.HTTPValidationError
|
|
170
|
+
| MistralError
|
|
171
|
+
| ResponseValidationError
|
|
172
|
+
| ConnectionError
|
|
173
|
+
| RequestAbortedError
|
|
174
|
+
| RequestTimeoutError
|
|
175
|
+
| InvalidRequestError
|
|
176
|
+
| UnexpectedClientError
|
|
177
|
+
| SDKValidationError
|
|
178
|
+
>(
|
|
179
|
+
M.json(200, components.CredentialsResponse$inboundSchema),
|
|
180
|
+
M.jsonErr(422, errors.HTTPValidationError$inboundSchema),
|
|
181
|
+
M.fail("4XX"),
|
|
182
|
+
M.fail("5XX"),
|
|
183
|
+
)(response, req, { extraFields: responseFields });
|
|
184
|
+
if (!result.ok) {
|
|
185
|
+
return [result, { status: "complete", request: req, response }];
|
|
186
|
+
}
|
|
187
|
+
|
|
188
|
+
return [result, { status: "complete", request: req, response }];
|
|
189
|
+
}
|
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
import { MistralCore } from "../core.js";
|
|
7
7
|
import { encodeFormQuery, encodeSimple } 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";
|
|
@@ -102,6 +103,7 @@ async function $do(
|
|
|
102
103
|
);
|
|
103
104
|
|
|
104
105
|
const query = encodeFormQuery({
|
|
106
|
+
"credentials_name": payload.credentials_name,
|
|
105
107
|
"page": payload.page,
|
|
106
108
|
"page_size": payload.page_size,
|
|
107
109
|
"pretty": payload.pretty,
|
|
@@ -149,7 +151,8 @@ async function $do(
|
|
|
149
151
|
|
|
150
152
|
const doResult = await client._do(req, {
|
|
151
153
|
context,
|
|
152
|
-
|
|
154
|
+
isErrorStatusCode: (statusCode: number) =>
|
|
155
|
+
matchStatusCode({ status: statusCode } as Response, ["4XX", "5XX"]),
|
|
153
156
|
retryConfig: context.retryConfig,
|
|
154
157
|
retryCodes: context.retryCodes,
|
|
155
158
|
});
|