@mistralai/mistralai 2.6.4 → 2.7.0
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 +47 -58
- package/esm/extra/observability/otel.d.ts +47 -2
- package/esm/extra/observability/otel.d.ts.map +1 -1
- package/esm/extra/observability/otel.js +113 -67
- package/esm/extra/observability/otel.js.map +1 -1
- package/esm/funcs/audioVoicesList.d.ts +3 -1
- package/esm/funcs/audioVoicesList.d.ts.map +1 -1
- package/esm/funcs/audioVoicesList.js +3 -1
- package/esm/funcs/audioVoicesList.js.map +1 -1
- package/esm/funcs/betaConnectorsCreate.d.ts +3 -2
- package/esm/funcs/betaConnectorsCreate.d.ts.map +1 -1
- package/esm/funcs/betaConnectorsCreate.js +3 -2
- package/esm/funcs/betaConnectorsCreate.js.map +1 -1
- package/esm/funcs/{betaConnectorsCreateOrUpdateUserCredentials.d.ts → betaConnectorsCreateCredentials.d.ts} +4 -4
- package/esm/funcs/betaConnectorsCreateCredentials.d.ts.map +1 -0
- package/esm/funcs/{betaConnectorsCreateOrUpdateWorkspaceCredentials.js → betaConnectorsCreateCredentials.js} +12 -10
- package/esm/funcs/betaConnectorsCreateCredentials.js.map +1 -0
- package/esm/funcs/betaConnectorsShareToOrganization.d.ts +19 -0
- package/esm/funcs/betaConnectorsShareToOrganization.d.ts.map +1 -0
- package/esm/funcs/betaConnectorsShareToOrganization.js +90 -0
- package/esm/funcs/betaConnectorsShareToOrganization.js.map +1 -0
- package/esm/funcs/betaConnectorsUnshareFromOrganization.d.ts +19 -0
- package/esm/funcs/betaConnectorsUnshareFromOrganization.d.ts.map +1 -0
- package/esm/funcs/betaConnectorsUnshareFromOrganization.js +90 -0
- package/esm/funcs/betaConnectorsUnshareFromOrganization.js.map +1 -0
- package/esm/funcs/betaConnectorsUpdate.js +1 -3
- package/esm/funcs/betaConnectorsUpdate.js.map +1 -1
- package/esm/funcs/{betaObservabilityCampaignsFetch.d.ts → betaConnectorsUpdateCredentials.d.ts} +6 -3
- package/esm/funcs/betaConnectorsUpdateCredentials.d.ts.map +1 -0
- package/esm/funcs/{betaConnectorsCreateOrUpdateUserCredentials.js → betaConnectorsUpdateCredentials.js} +13 -10
- package/esm/funcs/betaConnectorsUpdateCredentials.js.map +1 -0
- package/esm/funcs/{betaObservabilityCampaignsListEvents.d.ts → betaObservabilityEvaluationsCreatePipelineConfig.d.ts} +3 -4
- package/esm/funcs/betaObservabilityEvaluationsCreatePipelineConfig.d.ts.map +1 -0
- package/esm/funcs/{betaObservabilityChatCompletionEventsSearchIds.js → betaObservabilityEvaluationsCreatePipelineConfig.js} +8 -8
- package/esm/funcs/betaObservabilityEvaluationsCreatePipelineConfig.js.map +1 -0
- package/esm/funcs/{betaObservabilityChatCompletionEventsFieldsFetchOptions.d.ts → betaObservabilityEvaluationsDeletePipelineConfig.d.ts} +3 -4
- package/esm/funcs/betaObservabilityEvaluationsDeletePipelineConfig.d.ts.map +1 -0
- package/esm/funcs/{betaObservabilityCampaignsDelete.js → betaObservabilityEvaluationsDeletePipelineConfig.js} +8 -11
- package/esm/funcs/betaObservabilityEvaluationsDeletePipelineConfig.js.map +1 -0
- package/esm/funcs/{betaObservabilityCampaignsFetchStatus.d.ts → betaObservabilityEvaluationsGetPipelineConfig.d.ts} +3 -3
- package/esm/funcs/betaObservabilityEvaluationsGetPipelineConfig.d.ts.map +1 -0
- package/esm/funcs/{betaObservabilityChatCompletionEventsFetch.js → betaObservabilityEvaluationsGetPipelineConfig.js} +9 -12
- package/esm/funcs/betaObservabilityEvaluationsGetPipelineConfig.js.map +1 -0
- package/esm/funcs/{betaObservabilityChatCompletionEventsFetch.d.ts → betaObservabilityEvaluationsListPipelineConfigs.d.ts} +3 -3
- package/esm/funcs/betaObservabilityEvaluationsListPipelineConfigs.d.ts.map +1 -0
- package/esm/funcs/{betaObservabilityCampaignsList.js → betaObservabilityEvaluationsListPipelineConfigs.js} +12 -8
- package/esm/funcs/betaObservabilityEvaluationsListPipelineConfigs.js.map +1 -0
- package/esm/funcs/{betaObservabilityCampaignsList.d.ts → betaObservabilityEvaluationsUpdatePipelineConfig.d.ts} +3 -3
- package/esm/funcs/{betaConnectorsCreateOrUpdateWorkspaceCredentials.d.ts.map → betaObservabilityEvaluationsUpdatePipelineConfig.d.ts.map} +1 -1
- package/esm/funcs/{betaObservabilityChatCompletionEventsJudge.js → betaObservabilityEvaluationsUpdatePipelineConfig.js} +11 -14
- package/esm/funcs/betaObservabilityEvaluationsUpdatePipelineConfig.js.map +1 -0
- package/esm/funcs/{betaObservabilityChatCompletionEventsFieldsList.d.ts → betaServiceAccountsCreate.d.ts} +6 -3
- package/esm/funcs/betaServiceAccountsCreate.d.ts.map +1 -0
- package/esm/funcs/{betaObservabilityCampaignsCreate.js → betaServiceAccountsCreate.js} +11 -8
- package/esm/funcs/betaServiceAccountsCreate.js.map +1 -0
- package/esm/funcs/{betaObservabilityCampaignsDelete.d.ts → betaServiceAccountsDelete.d.ts} +8 -3
- package/esm/funcs/betaServiceAccountsDelete.d.ts.map +1 -0
- package/esm/funcs/betaServiceAccountsDelete.js +91 -0
- package/esm/funcs/betaServiceAccountsDelete.js.map +1 -0
- package/esm/funcs/betaServiceAccountsGet.d.ts +21 -0
- package/esm/funcs/betaServiceAccountsGet.d.ts.map +1 -0
- package/esm/funcs/{betaObservabilityCampaignsFetch.js → betaServiceAccountsGet.js} +14 -12
- package/esm/funcs/betaServiceAccountsGet.js.map +1 -0
- package/esm/funcs/betaServiceAccountsList.d.ts +25 -0
- package/esm/funcs/betaServiceAccountsList.d.ts.map +1 -0
- package/esm/funcs/betaServiceAccountsList.js +126 -0
- package/esm/funcs/betaServiceAccountsList.js.map +1 -0
- package/esm/funcs/{betaConnectorsCreateOrUpdateWorkspaceCredentials.d.ts → betaServiceAccountsListAssignableRoles.d.ts} +6 -4
- package/esm/funcs/betaServiceAccountsListAssignableRoles.d.ts.map +1 -0
- package/esm/funcs/betaServiceAccountsListAssignableRoles.js +92 -0
- package/esm/funcs/betaServiceAccountsListAssignableRoles.js.map +1 -0
- package/esm/funcs/{betaConnectorsCreateOrUpdateOrganizationCredentials.d.ts → betaServiceAccountsListRoles.d.ts} +6 -4
- package/esm/funcs/{betaObservabilityChatCompletionEventsFieldsFetchOptionCounts.d.ts.map → betaServiceAccountsListRoles.d.ts.map} +1 -1
- package/esm/funcs/{betaObservabilityCampaignsFetchStatus.js → betaServiceAccountsListRoles.js} +14 -12
- package/esm/funcs/betaServiceAccountsListRoles.js.map +1 -0
- package/esm/funcs/{betaObservabilityChatCompletionEventsFieldsFetchOptionCounts.d.ts → betaServiceAccountsSetRoles.d.ts} +8 -3
- package/esm/funcs/betaServiceAccountsSetRoles.d.ts.map +1 -0
- package/esm/funcs/{betaObservabilityDatasetsImportFromCampaign.js → betaServiceAccountsSetRoles.js} +16 -14
- package/esm/funcs/betaServiceAccountsSetRoles.js.map +1 -0
- package/esm/funcs/betaServiceAccountsUpdate.d.ts +21 -0
- package/esm/funcs/betaServiceAccountsUpdate.d.ts.map +1 -0
- package/esm/funcs/{betaConnectorsCreateOrUpdateOrganizationCredentials.js → betaServiceAccountsUpdate.js} +14 -12
- package/esm/funcs/betaServiceAccountsUpdate.js.map +1 -0
- package/esm/funcs/betaUsersListOrganizations.js +1 -1
- package/esm/funcs/betaUsersListWorkspaces.js +1 -1
- package/esm/funcs/realtimeSessionsCreate.d.ts +3 -0
- package/esm/funcs/realtimeSessionsCreate.d.ts.map +1 -1
- package/esm/funcs/realtimeSessionsCreate.js +4 -1
- package/esm/funcs/realtimeSessionsCreate.js.map +1 -1
- package/esm/funcs/workflowsDeploymentsListDeployments.js +2 -0
- package/esm/funcs/workflowsDeploymentsListDeployments.js.map +1 -1
- package/esm/funcs/workflowsExecutionsGetWorkflowExecution.js +5 -1
- package/esm/funcs/workflowsExecutionsGetWorkflowExecution.js.map +1 -1
- package/esm/funcs/workflowsMetricsGetWorkflowMetrics.d.ts +1 -1
- package/esm/funcs/workflowsMetricsGetWorkflowMetrics.js +1 -1
- package/esm/hooks/registration.d.ts.map +1 -1
- package/esm/hooks/registration.js +5 -0
- package/esm/hooks/registration.js.map +1 -1
- package/esm/hooks/workflow_stream_error.d.ts +14 -0
- package/esm/hooks/workflow_stream_error.d.ts.map +1 -0
- package/esm/hooks/workflow_stream_error.js +215 -0
- package/esm/hooks/workflow_stream_error.js.map +1 -0
- package/esm/lib/config.d.ts +2 -2
- package/esm/lib/config.js +2 -2
- package/esm/models/components/agent.d.ts +1 -0
- package/esm/models/components/agent.d.ts.map +1 -1
- package/esm/models/components/agent.js +2 -0
- package/esm/models/components/agent.js.map +1 -1
- package/esm/models/components/assignableserviceaccountrole.d.ts +16 -0
- package/esm/models/components/assignableserviceaccountrole.d.ts.map +1 -0
- package/esm/models/components/assignableserviceaccountrole.js +22 -0
- package/esm/models/components/assignableserviceaccountrole.js.map +1 -0
- package/esm/models/components/authenticationconfiguration.d.ts +1 -0
- package/esm/models/components/authenticationconfiguration.d.ts.map +1 -1
- package/esm/models/components/authenticationconfiguration.js +2 -0
- package/esm/models/components/authenticationconfiguration.js.map +1 -1
- package/esm/models/components/basemodelcard.d.ts +1 -0
- package/esm/models/components/basemodelcard.d.ts.map +1 -1
- package/esm/models/components/basemodelcard.js +2 -0
- package/esm/models/components/basemodelcard.js.map +1 -1
- package/esm/models/components/bearerauthmethod.d.ts +18 -0
- package/esm/models/components/bearerauthmethod.d.ts.map +1 -0
- package/esm/models/components/bearerauthmethod.js +21 -0
- package/esm/models/components/bearerauthmethod.js.map +1 -0
- package/esm/models/components/clientsecret.js +1 -1
- package/esm/models/components/clientsessionpurpose.js +1 -1
- package/esm/models/components/connectioncredentialsinput.d.ts +21 -0
- package/esm/models/components/connectioncredentialsinput.d.ts.map +1 -0
- package/esm/models/components/connectioncredentialsinput.js +21 -0
- package/esm/models/components/connectioncredentialsinput.js.map +1 -0
- package/esm/models/components/connector.d.ts +4 -40
- package/esm/models/components/connector.d.ts.map +1 -1
- package/esm/models/components/connector.js +6 -61
- package/esm/models/components/connector.js.map +1 -1
- package/esm/models/components/connectormcppublicupdate.d.ts +75 -0
- package/esm/models/components/connectormcppublicupdate.d.ts.map +1 -0
- package/esm/models/components/connectormcppublicupdate.js +66 -0
- package/esm/models/components/connectormcppublicupdate.js.map +1 -0
- package/esm/models/components/createconnectorrequest.d.ts +56 -48
- package/esm/models/components/createconnectorrequest.d.ts.map +1 -1
- package/esm/models/components/createconnectorrequest.js +30 -8
- package/esm/models/components/createconnectorrequest.js.map +1 -1
- package/esm/models/components/createdatasetrecordrequest.d.ts +19 -0
- package/esm/models/components/createdatasetrecordrequest.d.ts.map +1 -1
- package/esm/models/components/createdatasetrecordrequest.js +10 -0
- package/esm/models/components/createdatasetrecordrequest.js.map +1 -1
- package/esm/models/components/createhttpconnectorrequest.d.ts +106 -0
- package/esm/models/components/createhttpconnectorrequest.d.ts.map +1 -0
- package/esm/models/components/createhttpconnectorrequest.js +63 -0
- package/esm/models/components/createhttpconnectorrequest.js.map +1 -0
- package/esm/models/components/createpipelineconfigrequest.d.ts +29 -0
- package/esm/models/components/createpipelineconfigrequest.d.ts.map +1 -0
- package/esm/models/components/createpipelineconfigrequest.js +28 -0
- package/esm/models/components/createpipelineconfigrequest.js.map +1 -0
- package/esm/models/components/createpromptrequest.d.ts +6 -0
- package/esm/models/components/createpromptrequest.d.ts.map +1 -1
- package/esm/models/components/createpromptrequest.js +2 -0
- package/esm/models/components/createpromptrequest.js.map +1 -1
- package/esm/models/components/createrealtimesessionrequest.js +1 -1
- package/esm/models/components/createrealtimesessionresponse.js +1 -1
- package/esm/models/components/createserviceaccountrequest.d.ts +16 -0
- package/esm/models/components/createserviceaccountrequest.d.ts.map +1 -0
- package/esm/models/components/createserviceaccountrequest.js +20 -0
- package/esm/models/components/createserviceaccountrequest.js.map +1 -0
- package/esm/models/components/createskillrequest.d.ts +6 -0
- package/esm/models/components/createskillrequest.d.ts.map +1 -1
- package/esm/models/components/createskillrequest.js +2 -0
- package/esm/models/components/createskillrequest.js.map +1 -1
- package/esm/models/components/credentialscreateorupdate.d.ts +5 -5
- package/esm/models/components/credentialscreateorupdate.d.ts.map +1 -1
- package/esm/models/components/credentialscreateorupdate.js +2 -2
- package/esm/models/components/credentialscreateorupdate.js.map +1 -1
- package/esm/models/components/credentialsstatuserrorreason.d.ts +1 -0
- package/esm/models/components/credentialsstatuserrorreason.d.ts.map +1 -1
- package/esm/models/components/credentialsstatuserrorreason.js +1 -0
- package/esm/models/components/credentialsstatuserrorreason.js.map +1 -1
- package/esm/models/components/datasetrecordsource.d.ts +1 -0
- package/esm/models/components/datasetrecordsource.d.ts.map +1 -1
- package/esm/models/components/datasetrecordsource.js +1 -0
- package/esm/models/components/datasetrecordsource.js.map +1 -1
- package/esm/models/components/deploymentdetailresponse.d.ts +5 -1
- package/esm/models/components/deploymentdetailresponse.d.ts.map +1 -1
- package/esm/models/components/deploymentdetailresponse.js +1 -0
- package/esm/models/components/deploymentdetailresponse.js.map +1 -1
- package/esm/models/components/deploymentk8sbackendspec.d.ts +30 -0
- package/esm/models/components/deploymentk8sbackendspec.d.ts.map +1 -0
- package/esm/models/components/deploymentk8sbackendspec.js +34 -0
- package/esm/models/components/deploymentk8sbackendspec.js.map +1 -0
- package/esm/models/components/deploymentkoyebbackendspec.d.ts +30 -0
- package/esm/models/components/deploymentkoyebbackendspec.d.ts.map +1 -0
- package/esm/models/components/deploymentkoyebbackendspec.js +36 -0
- package/esm/models/components/deploymentkoyebbackendspec.js.map +1 -0
- package/esm/models/components/deploymentresponse.d.ts +5 -1
- package/esm/models/components/deploymentresponse.d.ts.map +1 -1
- package/esm/models/components/deploymentresponse.js +1 -0
- package/esm/models/components/deploymentresponse.js.map +1 -1
- package/esm/models/components/deploymentworkerspecinput.d.ts +23 -0
- package/esm/models/components/deploymentworkerspecinput.d.ts.map +1 -1
- package/esm/models/components/deploymentworkerspecinput.js +15 -0
- package/esm/models/components/deploymentworkerspecinput.js.map +1 -1
- package/esm/models/components/deploymentworkerspecresponse.d.ts +24 -4
- package/esm/models/components/deploymentworkerspecresponse.d.ts.map +1 -1
- package/esm/models/components/deploymentworkerspecresponse.js +20 -4
- package/esm/models/components/deploymentworkerspecresponse.js.map +1 -1
- package/esm/models/components/detectiondefinition.d.ts +20 -0
- package/esm/models/components/detectiondefinition.d.ts.map +1 -0
- package/esm/models/components/detectiondefinition.js +33 -0
- package/esm/models/components/detectiondefinition.js.map +1 -0
- package/esm/models/components/detectionpattern.d.ts +23 -0
- package/esm/models/components/detectionpattern.d.ts.map +1 -0
- package/esm/models/components/detectionpattern.js +27 -0
- package/esm/models/components/detectionpattern.js.map +1 -0
- package/esm/models/components/exportdefinition.d.ts +18 -0
- package/esm/models/components/exportdefinition.d.ts.map +1 -0
- package/esm/models/components/exportdefinition.js +22 -0
- package/esm/models/components/exportdefinition.js.map +1 -0
- package/esm/models/components/extendedoauthservermetadata.d.ts +2 -2
- package/esm/models/components/extendedoauthservermetadata.d.ts.map +1 -1
- package/esm/models/components/extendedoauthservermetadata.js +2 -2
- package/esm/models/components/extendedoauthservermetadata.js.map +1 -1
- package/esm/models/components/ftmodelcard.d.ts +1 -0
- package/esm/models/components/ftmodelcard.d.ts.map +1 -1
- package/esm/models/components/ftmodelcard.js +2 -0
- package/esm/models/components/ftmodelcard.js.map +1 -1
- package/esm/models/components/globalheadervalue.js +1 -1
- package/esm/models/components/httpconnector.d.ts +47 -0
- package/esm/models/components/httpconnector.d.ts.map +1 -0
- package/esm/models/components/httpconnector.js +74 -0
- package/esm/models/components/httpconnector.js.map +1 -0
- package/esm/models/components/index.d.ts +43 -32
- package/esm/models/components/index.d.ts.map +1 -1
- package/esm/models/components/index.js +43 -32
- package/esm/models/components/index.js.map +1 -1
- package/esm/models/components/ingestionpipelinetargetindexref.js +1 -1
- package/esm/models/components/judgedefinition.d.ts +19 -0
- package/esm/models/components/judgedefinition.d.ts.map +1 -0
- package/esm/models/components/judgedefinition.js +23 -0
- package/esm/models/components/judgedefinition.js.map +1 -0
- package/esm/models/components/listassignableserviceaccountrolesresponse.d.ts +11 -0
- package/esm/models/components/listassignableserviceaccountrolesresponse.d.ts.map +1 -0
- package/esm/models/components/listassignableserviceaccountrolesresponse.js +15 -0
- package/esm/models/components/listassignableserviceaccountrolesresponse.js.map +1 -0
- package/esm/models/components/listorganizationsresponse.js +1 -1
- package/esm/models/components/listserviceaccountrolesresponse.d.ts +11 -0
- package/esm/models/components/listserviceaccountrolesresponse.d.ts.map +1 -0
- package/esm/models/components/listserviceaccountrolesresponse.js +15 -0
- package/esm/models/components/listserviceaccountrolesresponse.js.map +1 -0
- package/esm/models/components/listserviceaccountsresponse.d.ts +11 -0
- package/esm/models/components/listserviceaccountsresponse.d.ts.map +1 -0
- package/esm/models/components/listserviceaccountsresponse.js +15 -0
- package/esm/models/components/listserviceaccountsresponse.js.map +1 -0
- package/esm/models/components/listworkspacesresponse.js +1 -1
- package/esm/models/components/locationtype.d.ts +2 -0
- package/esm/models/components/locationtype.d.ts.map +1 -1
- package/esm/models/components/locationtype.js +2 -0
- package/esm/models/components/locationtype.js.map +1 -1
- package/esm/models/components/mcpconnector.d.ts +47 -0
- package/esm/models/components/mcpconnector.d.ts.map +1 -0
- package/esm/models/components/mcpconnector.js +74 -0
- package/esm/models/components/mcpconnector.js.map +1 -0
- package/esm/models/components/moderationdefinition.d.ts +19 -0
- package/esm/models/components/moderationdefinition.d.ts.map +1 -0
- package/esm/models/components/moderationdefinition.js +32 -0
- package/esm/models/components/moderationdefinition.js.map +1 -0
- package/esm/models/components/noneauthmethod.d.ts +18 -0
- package/esm/models/components/noneauthmethod.d.ts.map +1 -0
- package/esm/models/components/noneauthmethod.js +21 -0
- package/esm/models/components/noneauthmethod.js.map +1 -0
- package/esm/models/components/oauth2authmethod.d.ts +10 -0
- package/esm/models/components/oauth2authmethod.d.ts.map +1 -0
- package/esm/models/components/oauth2authmethod.js +16 -0
- package/esm/models/components/oauth2authmethod.js.map +1 -0
- package/esm/models/components/oauth2authorizationcodeauthmethod.d.ts +34 -0
- package/esm/models/components/oauth2authorizationcodeauthmethod.d.ts.map +1 -0
- package/esm/models/components/oauth2authorizationcodeauthmethod.js +29 -0
- package/esm/models/components/oauth2authorizationcodeauthmethod.js.map +1 -0
- package/esm/models/components/oauth2clientcredentialsauthmethod.d.ts +34 -0
- package/esm/models/components/oauth2clientcredentialsauthmethod.d.ts.map +1 -0
- package/esm/models/components/oauth2clientcredentialsauthmethod.js +29 -0
- package/esm/models/components/oauth2clientcredentialsauthmethod.js.map +1 -0
- package/esm/models/components/oauth2clientcredentialsinput.d.ts +16 -0
- package/esm/models/components/oauth2clientcredentialsinput.d.ts.map +1 -0
- package/esm/models/components/oauth2clientcredentialsinput.js +22 -0
- package/esm/models/components/oauth2clientcredentialsinput.js.map +1 -0
- package/esm/models/components/oauth2granttype.d.ts +10 -0
- package/esm/models/components/oauth2granttype.d.ts.map +1 -0
- package/esm/models/components/oauth2granttype.js +12 -0
- package/esm/models/components/oauth2granttype.js.map +1 -0
- package/esm/models/components/oauth2tokenendpointauthmethod.d.ts +10 -0
- package/esm/models/components/oauth2tokenendpointauthmethod.d.ts.map +1 -0
- package/esm/models/components/oauth2tokenendpointauthmethod.js +12 -0
- package/esm/models/components/oauth2tokenendpointauthmethod.js.map +1 -0
- package/esm/models/components/oauthmetadatasource.js +1 -1
- package/esm/models/components/observabilityerrorcode.d.ts +5 -7
- package/esm/models/components/observabilityerrorcode.d.ts.map +1 -1
- package/esm/models/components/observabilityerrorcode.js +5 -7
- package/esm/models/components/observabilityerrorcode.js.map +1 -1
- package/esm/models/components/otelfielddefinition.d.ts +4 -4
- package/esm/models/components/otelfielddefinition.d.ts.map +1 -1
- package/esm/models/components/otelfielddefinition.js +3 -3
- package/esm/models/components/otelfielddefinition.js.map +1 -1
- package/esm/models/components/otlpdestination.d.ts +28 -0
- package/esm/models/components/otlpdestination.d.ts.map +1 -0
- package/esm/models/components/otlpdestination.js +28 -0
- package/esm/models/components/otlpdestination.js.map +1 -0
- package/esm/models/components/paginatedresultpipelineconfig.d.ts +14 -0
- package/esm/models/components/paginatedresultpipelineconfig.d.ts.map +1 -0
- package/esm/models/components/paginatedresultpipelineconfig.js +18 -0
- package/esm/models/components/paginatedresultpipelineconfig.js.map +1 -0
- package/esm/models/components/pipelineconfig.d.ts +28 -0
- package/esm/models/components/pipelineconfig.d.ts.map +1 -0
- package/esm/models/components/pipelineconfig.js +42 -0
- package/esm/models/components/pipelineconfig.js.map +1 -0
- package/esm/models/components/pipelineconfigdefinition.d.ts +17 -0
- package/esm/models/components/pipelineconfigdefinition.d.ts.map +1 -0
- package/esm/models/components/pipelineconfigdefinition.js +31 -0
- package/esm/models/components/pipelineconfigdefinition.js.map +1 -0
- package/esm/models/components/pipelineconfigheader.d.ts +17 -0
- package/esm/models/components/pipelineconfigheader.d.ts.map +1 -0
- package/esm/models/components/pipelineconfigheader.js +21 -0
- package/esm/models/components/pipelineconfigheader.js.map +1 -0
- package/esm/models/components/pipelineconfigscope.d.ts +10 -0
- package/esm/models/components/pipelineconfigscope.d.ts.map +1 -0
- package/esm/models/components/pipelineconfigscope.js +12 -0
- package/esm/models/components/pipelineconfigscope.js.map +1 -0
- package/esm/models/components/pipelineconfigselector.d.ts +20 -0
- package/esm/models/components/pipelineconfigselector.d.ts.map +1 -0
- package/esm/models/components/pipelineconfigselector.js +33 -0
- package/esm/models/components/pipelineconfigselector.js.map +1 -0
- package/esm/models/components/pipelineconfigsresponse.d.ts +11 -0
- package/esm/models/components/pipelineconfigsresponse.d.ts.map +1 -0
- package/esm/models/components/pipelineconfigsresponse.js +20 -0
- package/esm/models/components/pipelineconfigsresponse.js.map +1 -0
- package/esm/models/components/pipelinekind.d.ts +14 -0
- package/esm/models/components/pipelinekind.d.ts.map +1 -0
- package/esm/models/components/pipelinekind.js +16 -0
- package/esm/models/components/pipelinekind.js.map +1 -0
- package/esm/models/components/publicauthenticationmethod.d.ts +2 -0
- package/esm/models/components/publicauthenticationmethod.d.ts.map +1 -1
- package/esm/models/components/publicauthenticationmethod.js +3 -0
- package/esm/models/components/publicauthenticationmethod.js.map +1 -1
- package/esm/models/components/publicresourcevisibility.d.ts +2 -10
- package/esm/models/components/publicresourcevisibility.d.ts.map +1 -1
- package/esm/models/components/publicresourcevisibility.js +1 -5
- package/esm/models/components/publicresourcevisibility.js.map +1 -1
- package/esm/models/components/serviceaccount.d.ts +18 -0
- package/esm/models/components/serviceaccount.d.ts.map +1 -0
- package/esm/models/components/{campaign.js → serviceaccount.js} +13 -18
- package/esm/models/components/serviceaccount.js.map +1 -0
- package/esm/models/components/serviceaccountrole.d.ts +13 -0
- package/esm/models/components/serviceaccountrole.d.ts.map +1 -0
- package/esm/models/components/serviceaccountrole.js +19 -0
- package/esm/models/components/serviceaccountrole.js.map +1 -0
- package/esm/models/components/setserviceaccountrolesrequest.d.ts +15 -0
- package/esm/models/components/setserviceaccountrolesrequest.d.ts.map +1 -0
- package/esm/models/components/setserviceaccountrolesrequest.js +18 -0
- package/esm/models/components/setserviceaccountrolesrequest.js.map +1 -0
- package/esm/models/components/sharerelation.d.ts +17 -0
- package/esm/models/components/sharerelation.d.ts.map +1 -0
- package/esm/models/components/sharerelation.js +17 -0
- package/esm/models/components/sharerelation.js.map +1 -0
- package/esm/models/components/sourcekind.d.ts +13 -0
- package/esm/models/components/sourcekind.d.ts.map +1 -0
- package/esm/models/components/sourcekind.js +15 -0
- package/esm/models/components/sourcekind.js.map +1 -0
- package/esm/models/components/tempotraceattributedoublevalue.js +1 -1
- package/esm/models/components/transcriptionsegmentchunk.d.ts +4 -4
- package/esm/models/components/transcriptionsegmentchunk.d.ts.map +1 -1
- package/esm/models/components/transcriptionsegmentchunk.js +4 -4
- package/esm/models/components/transcriptionsegmentchunk.js.map +1 -1
- package/esm/models/components/transcriptionstreamsegmentdelta.d.ts +2 -2
- package/esm/models/components/transcriptionstreamsegmentdelta.d.ts.map +1 -1
- package/esm/models/components/transcriptionstreamsegmentdelta.js +2 -2
- package/esm/models/components/transcriptionstreamsegmentdelta.js.map +1 -1
- package/esm/models/components/updatehttpconnectorrequest.d.ts +70 -0
- package/esm/models/components/updatehttpconnectorrequest.d.ts.map +1 -0
- package/esm/models/components/updatehttpconnectorrequest.js +64 -0
- package/esm/models/components/updatehttpconnectorrequest.js.map +1 -0
- package/esm/models/components/updatepipelineconfigrequest.d.ts +29 -0
- package/esm/models/components/updatepipelineconfigrequest.d.ts.map +1 -0
- package/esm/models/components/updatepipelineconfigrequest.js +28 -0
- package/esm/models/components/updatepipelineconfigrequest.js.map +1 -0
- package/esm/models/components/updateserviceaccountrequest.d.ts +12 -0
- package/esm/models/components/updateserviceaccountrequest.d.ts.map +1 -0
- package/esm/models/components/updateserviceaccountrequest.js +13 -0
- package/esm/models/components/updateserviceaccountrequest.js.map +1 -0
- package/esm/models/components/usageinfodollardefs.d.ts +0 -1
- package/esm/models/components/usageinfodollardefs.d.ts.map +1 -1
- package/esm/models/components/usageinfodollardefs.js +0 -2
- package/esm/models/components/usageinfodollardefs.js.map +1 -1
- package/esm/models/components/userorganization.js +1 -1
- package/esm/models/components/userworkspace.js +1 -1
- package/esm/models/components/workflowexecutionresponse.d.ts +6 -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/workflowexecutiontraceeventsresponse.d.ts +6 -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 +6 -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/workflowexecutiontracesummaryresponse.d.ts +6 -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/workflowsworkerspecupdate.d.ts +23 -0
- package/esm/models/components/workflowsworkerspecupdate.d.ts.map +1 -1
- package/esm/models/components/workflowsworkerspecupdate.js +15 -0
- package/esm/models/components/workflowsworkerspecupdate.js.map +1 -1
- package/esm/models/operations/connectorcreatecredentialsv1.d.ts +26 -0
- package/esm/models/operations/connectorcreatecredentialsv1.d.ts.map +1 -0
- package/esm/models/operations/connectorcreatecredentialsv1.js +30 -0
- package/esm/models/operations/connectorcreatecredentialsv1.js.map +1 -0
- package/esm/models/operations/connectorcreatev1.d.ts +9 -0
- package/esm/models/operations/connectorcreatev1.d.ts.map +1 -0
- package/esm/models/operations/connectorcreatev1.js +15 -0
- package/esm/models/operations/connectorcreatev1.js.map +1 -0
- package/esm/models/operations/connectorsharetoorganizationv1.d.ts +12 -0
- package/esm/models/operations/connectorsharetoorganizationv1.d.ts.map +1 -0
- package/esm/models/operations/connectorsharetoorganizationv1.js +18 -0
- package/esm/models/operations/connectorsharetoorganizationv1.js.map +1 -0
- package/esm/models/operations/connectorunsharefromorganizationv1.d.ts +12 -0
- package/esm/models/operations/connectorunsharefromorganizationv1.d.ts.map +1 -0
- package/esm/models/operations/connectorunsharefromorganizationv1.js +18 -0
- package/esm/models/operations/connectorunsharefromorganizationv1.js.map +1 -0
- package/esm/models/operations/connectorupdatecredentials.d.ts +26 -0
- package/esm/models/operations/connectorupdatecredentials.d.ts.map +1 -0
- package/esm/models/operations/connectorupdatecredentials.js +30 -0
- package/esm/models/operations/connectorupdatecredentials.js.map +1 -0
- package/esm/models/operations/connectorupdatev1.d.ts +8 -2
- package/esm/models/operations/connectorupdatev1.d.ts.map +1 -1
- package/esm/models/operations/connectorupdatev1.js +13 -2
- package/esm/models/operations/connectorupdatev1.js.map +1 -1
- package/esm/models/operations/createclientsessionv1clientsessionspost.js +1 -1
- package/esm/models/operations/deletepipelineconfigv1observabilitypipelineconfigspipelineconfigiddelete.d.ts +12 -0
- package/esm/models/operations/deletepipelineconfigv1observabilitypipelineconfigspipelineconfigiddelete.d.ts.map +1 -0
- package/esm/models/operations/deletepipelineconfigv1observabilitypipelineconfigspipelineconfigiddelete.js +19 -0
- package/esm/models/operations/deletepipelineconfigv1observabilitypipelineconfigspipelineconfigiddelete.js.map +1 -0
- package/esm/models/operations/deleteserviceaccountv1serviceaccountsserviceaccountiddelete.d.ts +12 -0
- package/esm/models/operations/deleteserviceaccountv1serviceaccountsserviceaccountiddelete.d.ts.map +1 -0
- package/esm/models/operations/deleteserviceaccountv1serviceaccountsserviceaccountiddelete.js +19 -0
- package/esm/models/operations/deleteserviceaccountv1serviceaccountsserviceaccountiddelete.js.map +1 -0
- package/esm/models/operations/getpipelineconfigv1observabilitypipelineconfigspipelineconfigidget.d.ts +12 -0
- package/esm/models/operations/getpipelineconfigv1observabilitypipelineconfigspipelineconfigidget.d.ts.map +1 -0
- package/esm/models/operations/getpipelineconfigv1observabilitypipelineconfigspipelineconfigidget.js +19 -0
- package/esm/models/operations/getpipelineconfigv1observabilitypipelineconfigspipelineconfigidget.js.map +1 -0
- package/esm/models/operations/getserviceaccountv1serviceaccountsserviceaccountidget.d.ts +12 -0
- package/esm/models/operations/getserviceaccountv1serviceaccountsserviceaccountidget.d.ts.map +1 -0
- package/esm/models/operations/getserviceaccountv1serviceaccountsserviceaccountidget.js +19 -0
- package/esm/models/operations/getserviceaccountv1serviceaccountsserviceaccountidget.js.map +1 -0
- package/esm/models/operations/getworkflowexecutionv1workflowsexecutionsexecutionidget.d.ts +5 -0
- package/esm/models/operations/getworkflowexecutionv1workflowsexecutionsexecutionidget.d.ts.map +1 -1
- package/esm/models/operations/getworkflowexecutionv1workflowsexecutionsexecutionidget.js +2 -0
- package/esm/models/operations/getworkflowexecutionv1workflowsexecutionsexecutionidget.js.map +1 -1
- package/esm/models/operations/index.d.ts +16 -16
- package/esm/models/operations/index.d.ts.map +1 -1
- package/esm/models/operations/index.js +16 -16
- package/esm/models/operations/index.js.map +1 -1
- package/esm/models/operations/listassignableserviceaccountrolesv1serviceaccountsassignablerolesget.d.ts +12 -0
- package/esm/models/operations/listassignableserviceaccountrolesv1serviceaccountsassignablerolesget.d.ts.map +1 -0
- package/esm/models/operations/listassignableserviceaccountrolesv1serviceaccountsassignablerolesget.js +19 -0
- package/esm/models/operations/listassignableserviceaccountrolesv1serviceaccountsassignablerolesget.js.map +1 -0
- package/esm/models/operations/listdeploymentsv1workflowsdeploymentsget.d.ts +11 -0
- package/esm/models/operations/listdeploymentsv1workflowsdeploymentsget.d.ts.map +1 -1
- package/esm/models/operations/listdeploymentsv1workflowsdeploymentsget.js +6 -0
- package/esm/models/operations/listdeploymentsv1workflowsdeploymentsget.js.map +1 -1
- package/esm/models/operations/listpipelineconfigsv1observabilitypipelineconfigsget.d.ts +23 -0
- package/esm/models/operations/listpipelineconfigsv1observabilitypipelineconfigsget.d.ts.map +1 -0
- package/esm/models/operations/listpipelineconfigsv1observabilitypipelineconfigsget.js +26 -0
- package/esm/models/operations/listpipelineconfigsv1observabilitypipelineconfigsget.js.map +1 -0
- package/esm/models/operations/listserviceaccountrolesv1serviceaccountsserviceaccountidrolesget.d.ts +12 -0
- package/esm/models/operations/listserviceaccountrolesv1serviceaccountsserviceaccountidrolesget.d.ts.map +1 -0
- package/esm/models/operations/listserviceaccountrolesv1serviceaccountsserviceaccountidrolesget.js +19 -0
- package/esm/models/operations/listserviceaccountrolesv1serviceaccountsserviceaccountidrolesget.js.map +1 -0
- package/esm/models/operations/listserviceaccountsv1serviceaccountsget.d.ts +27 -0
- package/esm/models/operations/listserviceaccountsv1serviceaccountsget.d.ts.map +1 -0
- package/esm/models/operations/listserviceaccountsv1serviceaccountsget.js +36 -0
- package/esm/models/operations/listserviceaccountsv1serviceaccountsget.js.map +1 -0
- package/esm/models/operations/promptsupdate.d.ts +5 -0
- package/esm/models/operations/promptsupdate.d.ts.map +1 -1
- package/esm/models/operations/promptsupdate.js +1 -0
- package/esm/models/operations/promptsupdate.js.map +1 -1
- package/esm/models/operations/setserviceaccountrolesv1serviceaccountsserviceaccountidrolesput.d.ts +15 -0
- package/esm/models/operations/setserviceaccountrolesv1serviceaccountsserviceaccountidrolesput.d.ts.map +1 -0
- package/esm/models/operations/setserviceaccountrolesv1serviceaccountsserviceaccountidrolesput.js +22 -0
- package/esm/models/operations/setserviceaccountrolesv1serviceaccountsserviceaccountidrolesput.js.map +1 -0
- package/esm/models/operations/skillsupdate.d.ts +5 -0
- package/esm/models/operations/skillsupdate.d.ts.map +1 -1
- package/esm/models/operations/skillsupdate.js +1 -0
- package/esm/models/operations/skillsupdate.js.map +1 -1
- package/esm/models/operations/updatepipelineconfigv1observabilitypipelineconfigspipelineconfigidput.d.ts +15 -0
- package/esm/models/operations/updatepipelineconfigv1observabilitypipelineconfigspipelineconfigidput.d.ts.map +1 -0
- package/esm/models/operations/updatepipelineconfigv1observabilitypipelineconfigspipelineconfigidput.js +22 -0
- package/esm/models/operations/updatepipelineconfigv1observabilitypipelineconfigspipelineconfigidput.js.map +1 -0
- package/esm/models/operations/updateserviceaccountv1serviceaccountsserviceaccountidpatch.d.ts +15 -0
- package/esm/models/operations/updateserviceaccountv1serviceaccountsserviceaccountidpatch.d.ts.map +1 -0
- package/esm/models/operations/updateserviceaccountv1serviceaccountsserviceaccountidpatch.js +22 -0
- package/esm/models/operations/updateserviceaccountv1serviceaccountsserviceaccountidpatch.js.map +1 -0
- package/esm/models/operations/usersapilistorganizations.js +1 -1
- package/esm/models/operations/usersapilistworkspaces.js +1 -1
- package/esm/sdk/beta.d.ts +3 -0
- package/esm/sdk/beta.d.ts.map +1 -1
- package/esm/sdk/beta.js +5 -0
- package/esm/sdk/beta.js.map +1 -1
- package/esm/sdk/connectors.d.ts +28 -21
- package/esm/sdk/connectors.d.ts.map +1 -1
- package/esm/sdk/connectors.js +39 -29
- package/esm/sdk/connectors.js.map +1 -1
- package/esm/sdk/datasets.d.ts +0 -8
- package/esm/sdk/datasets.d.ts.map +1 -1
- package/esm/sdk/datasets.js +0 -14
- package/esm/sdk/datasets.js.map +1 -1
- package/esm/sdk/evaluations.d.ts +26 -0
- package/esm/sdk/evaluations.d.ts.map +1 -0
- package/esm/sdk/evaluations.js +44 -0
- package/esm/sdk/evaluations.js.map +1 -0
- package/esm/sdk/metrics.d.ts +1 -1
- package/esm/sdk/metrics.js +1 -1
- package/esm/sdk/observability.d.ts +3 -6
- package/esm/sdk/observability.d.ts.map +1 -1
- package/esm/sdk/observability.js +5 -10
- package/esm/sdk/observability.js.map +1 -1
- package/esm/sdk/realtime.js +1 -1
- package/esm/sdk/serviceaccounts.d.ts +81 -0
- package/esm/sdk/serviceaccounts.d.ts.map +1 -0
- package/esm/sdk/serviceaccounts.js +106 -0
- package/esm/sdk/serviceaccounts.js.map +1 -0
- package/esm/sdk/sessions.d.ts +3 -0
- package/esm/sdk/sessions.d.ts.map +1 -1
- package/esm/sdk/sessions.js +4 -1
- package/esm/sdk/sessions.js.map +1 -1
- package/esm/sdk/voices.d.ts +3 -1
- package/esm/sdk/voices.d.ts.map +1 -1
- package/esm/sdk/voices.js +3 -1
- package/esm/sdk/voices.js.map +1 -1
- package/examples/src/observability/serverless_telemetry.ts +40 -0
- package/jsr.json +4 -6
- package/package.json +2 -2
- package/packages/mistralai-gcp/src/sdk/sdk.ts +24 -18
- package/src/extra/observability/otel.ts +160 -67
- package/src/funcs/audioVoicesList.ts +3 -1
- package/src/funcs/betaConnectorsCreate.ts +5 -4
- package/src/funcs/{betaConnectorsCreateOrUpdateWorkspaceCredentials.ts → betaConnectorsCreateCredentials.ts} +15 -11
- package/src/funcs/betaConnectorsShareToOrganization.ts +183 -0
- package/src/funcs/betaConnectorsUnshareFromOrganization.ts +183 -0
- package/src/funcs/betaConnectorsUpdate.ts +1 -3
- package/src/funcs/{betaConnectorsCreateOrUpdateUserCredentials.ts → betaConnectorsUpdateCredentials.ts} +14 -11
- package/src/funcs/{betaObservabilityCampaignsCreate.ts → betaObservabilityEvaluationsCreatePipelineConfig.ts} +14 -12
- package/src/funcs/{betaObservabilityCampaignsDelete.ts → betaObservabilityEvaluationsDeletePipelineConfig.ts} +15 -14
- package/src/funcs/{betaObservabilityChatCompletionEventsFetch.ts → betaObservabilityEvaluationsGetPipelineConfig.ts} +17 -16
- package/src/funcs/{betaObservabilityCampaignsList.ts → betaObservabilityEvaluationsListPipelineConfigs.ts} +16 -12
- package/src/funcs/{betaObservabilityChatCompletionEventsJudge.ts → betaObservabilityEvaluationsUpdatePipelineConfig.ts} +19 -18
- package/src/funcs/{betaObservabilityChatCompletionEventsSearchIds.ts → betaServiceAccountsCreate.ts} +19 -24
- package/src/funcs/betaServiceAccountsDelete.ts +189 -0
- package/src/funcs/{betaObservabilityCampaignsFetch.ts → betaServiceAccountsGet.ts} +26 -23
- package/src/funcs/betaServiceAccountsList.ts +258 -0
- package/src/funcs/betaServiceAccountsListAssignableRoles.ts +188 -0
- package/src/funcs/betaServiceAccountsListRoles.ts +189 -0
- package/src/funcs/betaServiceAccountsSetRoles.ts +192 -0
- package/src/funcs/{betaConnectorsCreateOrUpdateOrganizationCredentials.ts → betaServiceAccountsUpdate.ts} +25 -20
- package/src/funcs/betaUsersListOrganizations.ts +1 -1
- package/src/funcs/betaUsersListWorkspaces.ts +1 -1
- package/src/funcs/realtimeSessionsCreate.ts +4 -1
- package/src/funcs/workflowsDeploymentsListDeployments.ts +2 -0
- package/src/funcs/workflowsExecutionsGetWorkflowExecution.ts +6 -1
- package/src/funcs/workflowsMetricsGetWorkflowMetrics.ts +1 -1
- package/src/hooks/registration.ts +6 -0
- package/src/hooks/workflow_stream_error.ts +236 -0
- package/src/lib/config.ts +2 -2
- package/src/models/components/agent.ts +3 -0
- package/src/models/components/assignableserviceaccountrole.ts +45 -0
- package/src/models/components/authenticationconfiguration.ts +3 -0
- package/src/models/components/basemodelcard.ts +3 -0
- package/src/models/components/bearerauthmethod.ts +48 -0
- package/src/models/components/clientsecret.ts +1 -1
- package/src/models/components/clientsessionpurpose.ts +1 -1
- package/src/models/components/connectioncredentialsinput.ts +47 -0
- package/src/models/components/connector.ts +12 -119
- package/src/models/components/connectormcppublicupdate.ts +207 -0
- package/src/models/components/createconnectorrequest.ts +121 -52
- package/src/models/components/createdatasetrecordrequest.ts +28 -0
- package/src/models/components/createhttpconnectorrequest.ts +220 -0
- package/src/models/components/createpipelineconfigrequest.ts +70 -0
- package/src/models/components/createpromptrequest.ts +10 -0
- package/src/models/components/createrealtimesessionrequest.ts +1 -1
- package/src/models/components/createrealtimesessionresponse.ts +1 -1
- package/src/models/components/createserviceaccountrequest.ts +44 -0
- package/src/models/components/createskillrequest.ts +10 -0
- package/src/models/components/credentialscreateorupdate.ts +9 -9
- package/src/models/components/credentialsstatuserrorreason.ts +1 -0
- package/src/models/components/datasetrecordsource.ts +1 -0
- package/src/models/components/deploymentdetailresponse.ts +6 -1
- package/src/models/components/deploymentk8sbackendspec.ts +76 -0
- package/src/models/components/deploymentkoyebbackendspec.ts +78 -0
- package/src/models/components/deploymentresponse.ts +6 -1
- package/src/models/components/deploymentworkerspecinput.ts +68 -0
- package/src/models/components/deploymentworkerspecresponse.ts +69 -8
- package/src/models/components/detectiondefinition.ts +69 -0
- package/src/models/components/detectionpattern.ts +62 -0
- package/src/models/components/exportdefinition.ts +56 -0
- package/src/models/components/extendedoauthservermetadata.ts +4 -4
- package/src/models/components/ftmodelcard.ts +3 -0
- package/src/models/components/globalheadervalue.ts +1 -1
- package/src/models/components/httpconnector.ts +142 -0
- package/src/models/components/index.ts +43 -32
- package/src/models/components/ingestionpipelinetargetindexref.ts +1 -1
- package/src/models/components/judgedefinition.ts +52 -0
- package/src/models/components/listassignableserviceaccountrolesresponse.ts +41 -0
- package/src/models/components/listorganizationsresponse.ts +1 -1
- package/src/models/components/listserviceaccountrolesresponse.ts +35 -0
- package/src/models/components/listserviceaccountsresponse.ts +35 -0
- package/src/models/components/listworkspacesresponse.ts +1 -1
- package/src/models/components/locationtype.ts +3 -0
- package/src/models/components/mcpconnector.ts +142 -0
- package/src/models/components/moderationdefinition.ts +63 -0
- package/src/models/components/noneauthmethod.ts +44 -0
- package/src/models/components/oauth2authmethod.ts +42 -0
- package/src/models/components/oauth2authorizationcodeauthmethod.ts +80 -0
- package/src/models/components/oauth2clientcredentialsauthmethod.ts +79 -0
- package/src/models/components/oauth2clientcredentialsinput.ts +46 -0
- package/src/models/components/oauth2granttype.ts +20 -0
- package/src/models/components/oauth2tokenendpointauthmethod.ts +20 -0
- package/src/models/components/oauthmetadatasource.ts +1 -1
- package/src/models/components/observabilityerrorcode.ts +5 -8
- package/src/models/components/otelfielddefinition.ts +7 -11
- package/src/models/components/otlpdestination.ts +66 -0
- package/src/models/components/paginatedresultpipelineconfig.ts +41 -0
- package/src/models/components/pipelineconfig.ts +82 -0
- package/src/models/components/pipelineconfigdefinition.ts +85 -0
- package/src/models/components/pipelineconfigheader.ts +50 -0
- package/src/models/components/pipelineconfigscope.ts +20 -0
- package/src/models/components/pipelineconfigselector.ts +68 -0
- package/src/models/components/pipelineconfigsresponse.ts +40 -0
- package/src/models/components/pipelinekind.ts +23 -0
- package/src/models/components/publicauthenticationmethod.ts +7 -0
- package/src/models/components/publicresourcevisibility.ts +2 -10
- package/src/models/components/serviceaccount.ts +57 -0
- package/src/models/components/serviceaccountrole.ts +39 -0
- package/src/models/components/setserviceaccountrolesrequest.ts +41 -0
- package/src/models/components/sharerelation.ts +24 -0
- package/src/models/components/sourcekind.ts +22 -0
- package/src/models/components/tempotraceattributedoublevalue.ts +1 -1
- package/src/models/components/transcriptionsegmentchunk.ts +8 -8
- package/src/models/components/transcriptionstreamsegmentdelta.ts +4 -4
- package/src/models/components/updatehttpconnectorrequest.ts +200 -0
- package/src/models/components/updatepipelineconfigrequest.ts +70 -0
- package/src/models/components/updateserviceaccountrequest.ts +33 -0
- package/src/models/components/usageinfodollardefs.ts +0 -3
- package/src/models/components/userorganization.ts +1 -1
- package/src/models/components/userworkspace.ts +1 -1
- package/src/models/components/workflowexecutionresponse.ts +6 -0
- package/src/models/components/workflowexecutiontraceeventsresponse.ts +6 -0
- package/src/models/components/workflowexecutiontraceotelresponse.ts +6 -0
- package/src/models/components/workflowexecutiontracesummaryresponse.ts +6 -0
- package/src/models/components/workflowsworkerspecupdate.ts +68 -0
- package/src/models/operations/connectorcreatecredentialsv1.ts +64 -0
- package/src/models/operations/connectorcreatev1.ts +33 -0
- package/src/models/operations/connectorsharetoorganizationv1.ts +38 -0
- package/src/models/operations/connectorunsharefromorganizationv1.ts +40 -0
- package/src/models/operations/connectorupdatecredentials.ts +63 -0
- package/src/models/operations/connectorupdatev1.ts +37 -4
- package/src/models/operations/createclientsessionv1clientsessionspost.ts +1 -1
- package/src/models/operations/deletepipelineconfigv1observabilitypipelineconfigspipelineconfigiddelete.ts +43 -0
- package/src/models/operations/deleteserviceaccountv1serviceaccountsserviceaccountiddelete.ts +43 -0
- package/src/models/operations/getpipelineconfigv1observabilitypipelineconfigspipelineconfigidget.ts +43 -0
- package/src/models/operations/getserviceaccountv1serviceaccountsserviceaccountidget.ts +40 -0
- package/src/models/operations/getworkflowexecutionv1workflowsexecutionsexecutionidget.ts +7 -0
- package/src/models/operations/index.ts +16 -16
- package/src/models/operations/listassignableserviceaccountrolesv1serviceaccountsassignablerolesget.ts +43 -0
- package/src/models/operations/listdeploymentsv1workflowsdeploymentsget.ts +16 -0
- package/src/models/operations/listpipelineconfigsv1observabilitypipelineconfigsget.ts +57 -0
- package/src/models/operations/listserviceaccountrolesv1serviceaccountsserviceaccountidrolesget.ts +43 -0
- package/src/models/operations/listserviceaccountsv1serviceaccountsget.ts +85 -0
- package/src/models/operations/promptsupdate.ts +6 -0
- package/src/models/operations/setserviceaccountrolesv1serviceaccountsserviceaccountidrolesput.ts +50 -0
- package/src/models/operations/skillsupdate.ts +6 -0
- package/src/models/operations/updatepipelineconfigv1observabilitypipelineconfigspipelineconfigidput.ts +50 -0
- package/src/models/operations/updateserviceaccountv1serviceaccountsserviceaccountidpatch.ts +48 -0
- package/src/models/operations/usersapilistorganizations.ts +1 -1
- package/src/models/operations/usersapilistworkspaces.ts +1 -1
- package/src/sdk/beta.ts +6 -0
- package/src/sdk/connectors.ts +62 -44
- package/src/sdk/datasets.ts +0 -32
- package/src/sdk/evaluations.ts +91 -0
- package/src/sdk/metrics.ts +1 -1
- package/src/sdk/observability.ts +6 -14
- package/src/sdk/realtime.ts +1 -1
- package/src/sdk/serviceaccounts.ts +183 -0
- package/src/sdk/sessions.ts +4 -1
- package/src/sdk/voices.ts +3 -1
- package/tests/hooks/workflow-stream-error.test.ts +171 -0
- package/esm/funcs/betaConnectorsCreateOrUpdateOrganizationCredentials.d.ts.map +0 -1
- package/esm/funcs/betaConnectorsCreateOrUpdateOrganizationCredentials.js.map +0 -1
- package/esm/funcs/betaConnectorsCreateOrUpdateUserCredentials.d.ts.map +0 -1
- package/esm/funcs/betaConnectorsCreateOrUpdateUserCredentials.js.map +0 -1
- package/esm/funcs/betaConnectorsCreateOrUpdateWorkspaceCredentials.js.map +0 -1
- package/esm/funcs/betaObservabilityCampaignsCreate.d.ts +0 -15
- package/esm/funcs/betaObservabilityCampaignsCreate.d.ts.map +0 -1
- package/esm/funcs/betaObservabilityCampaignsCreate.js.map +0 -1
- package/esm/funcs/betaObservabilityCampaignsDelete.d.ts.map +0 -1
- package/esm/funcs/betaObservabilityCampaignsDelete.js.map +0 -1
- package/esm/funcs/betaObservabilityCampaignsFetch.d.ts.map +0 -1
- package/esm/funcs/betaObservabilityCampaignsFetch.js.map +0 -1
- package/esm/funcs/betaObservabilityCampaignsFetchStatus.d.ts.map +0 -1
- package/esm/funcs/betaObservabilityCampaignsFetchStatus.js.map +0 -1
- package/esm/funcs/betaObservabilityCampaignsList.d.ts.map +0 -1
- package/esm/funcs/betaObservabilityCampaignsList.js.map +0 -1
- package/esm/funcs/betaObservabilityCampaignsListEvents.d.ts.map +0 -1
- package/esm/funcs/betaObservabilityCampaignsListEvents.js +0 -94
- package/esm/funcs/betaObservabilityCampaignsListEvents.js.map +0 -1
- package/esm/funcs/betaObservabilityChatCompletionEventsFetch.d.ts.map +0 -1
- package/esm/funcs/betaObservabilityChatCompletionEventsFetch.js.map +0 -1
- package/esm/funcs/betaObservabilityChatCompletionEventsFetchSimilarEvents.d.ts +0 -16
- package/esm/funcs/betaObservabilityChatCompletionEventsFetchSimilarEvents.d.ts.map +0 -1
- package/esm/funcs/betaObservabilityChatCompletionEventsFetchSimilarEvents.js +0 -89
- package/esm/funcs/betaObservabilityChatCompletionEventsFetchSimilarEvents.js.map +0 -1
- package/esm/funcs/betaObservabilityChatCompletionEventsFieldsFetchOptionCounts.js +0 -92
- package/esm/funcs/betaObservabilityChatCompletionEventsFieldsFetchOptionCounts.js.map +0 -1
- package/esm/funcs/betaObservabilityChatCompletionEventsFieldsFetchOptions.d.ts.map +0 -1
- package/esm/funcs/betaObservabilityChatCompletionEventsFieldsFetchOptions.js +0 -93
- package/esm/funcs/betaObservabilityChatCompletionEventsFieldsFetchOptions.js.map +0 -1
- package/esm/funcs/betaObservabilityChatCompletionEventsFieldsList.d.ts.map +0 -1
- package/esm/funcs/betaObservabilityChatCompletionEventsFieldsList.js +0 -71
- package/esm/funcs/betaObservabilityChatCompletionEventsFieldsList.js.map +0 -1
- package/esm/funcs/betaObservabilityChatCompletionEventsJudge.d.ts +0 -16
- package/esm/funcs/betaObservabilityChatCompletionEventsJudge.d.ts.map +0 -1
- package/esm/funcs/betaObservabilityChatCompletionEventsJudge.js.map +0 -1
- package/esm/funcs/betaObservabilityChatCompletionEventsSearch.d.ts +0 -16
- package/esm/funcs/betaObservabilityChatCompletionEventsSearch.d.ts.map +0 -1
- package/esm/funcs/betaObservabilityChatCompletionEventsSearch.js +0 -91
- package/esm/funcs/betaObservabilityChatCompletionEventsSearch.js.map +0 -1
- package/esm/funcs/betaObservabilityChatCompletionEventsSearchIds.d.ts +0 -15
- package/esm/funcs/betaObservabilityChatCompletionEventsSearchIds.d.ts.map +0 -1
- package/esm/funcs/betaObservabilityChatCompletionEventsSearchIds.js.map +0 -1
- package/esm/funcs/betaObservabilityDatasetsImportFromCampaign.d.ts +0 -16
- package/esm/funcs/betaObservabilityDatasetsImportFromCampaign.d.ts.map +0 -1
- package/esm/funcs/betaObservabilityDatasetsImportFromCampaign.js.map +0 -1
- package/esm/funcs/betaObservabilityDatasetsImportFromExplorer.d.ts +0 -16
- package/esm/funcs/betaObservabilityDatasetsImportFromExplorer.d.ts.map +0 -1
- package/esm/funcs/betaObservabilityDatasetsImportFromExplorer.js +0 -92
- package/esm/funcs/betaObservabilityDatasetsImportFromExplorer.js.map +0 -1
- package/esm/models/components/basefielddefinition.d.ts +0 -52
- package/esm/models/components/basefielddefinition.d.ts.map +0 -1
- package/esm/models/components/basefielddefinition.js +0 -59
- package/esm/models/components/basefielddefinition.js.map +0 -1
- package/esm/models/components/campaign.d.ts +0 -22
- package/esm/models/components/campaign.d.ts.map +0 -1
- package/esm/models/components/campaign.js.map +0 -1
- package/esm/models/components/chatcompletionevent.d.ts +0 -37
- package/esm/models/components/chatcompletionevent.d.ts.map +0 -1
- package/esm/models/components/chatcompletionevent.js +0 -62
- package/esm/models/components/chatcompletionevent.js.map +0 -1
- package/esm/models/components/chatcompletioneventpreview.d.ts +0 -25
- package/esm/models/components/chatcompletioneventpreview.d.ts.map +0 -1
- package/esm/models/components/chatcompletioneventpreview.js +0 -51
- package/esm/models/components/chatcompletioneventpreview.js.map +0 -1
- package/esm/models/components/chattranscriptionevent.d.ts +0 -14
- package/esm/models/components/chattranscriptionevent.d.ts.map +0 -1
- package/esm/models/components/chattranscriptionevent.js +0 -22
- package/esm/models/components/chattranscriptionevent.js.map +0 -1
- package/esm/models/components/connectioncredentials.d.ts +0 -23
- package/esm/models/components/connectioncredentials.d.ts.map +0 -1
- package/esm/models/components/connectioncredentials.js +0 -23
- package/esm/models/components/connectioncredentials.js.map +0 -1
- package/esm/models/components/connectorprotocol.d.ts +0 -11
- package/esm/models/components/connectorprotocol.d.ts.map +0 -1
- package/esm/models/components/connectorprotocol.js +0 -13
- package/esm/models/components/connectorprotocol.js.map +0 -1
- package/esm/models/components/createcampaignrequest.d.ts +0 -21
- package/esm/models/components/createcampaignrequest.d.ts.map +0 -1
- package/esm/models/components/createcampaignrequest.js +0 -25
- package/esm/models/components/createcampaignrequest.js.map +0 -1
- package/esm/models/components/feedresultchatcompletioneventpreview.d.ts +0 -13
- package/esm/models/components/feedresultchatcompletioneventpreview.d.ts.map +0 -1
- package/esm/models/components/feedresultchatcompletioneventpreview.js +0 -17
- package/esm/models/components/feedresultchatcompletioneventpreview.js.map +0 -1
- package/esm/models/components/fetchcampaignstatusresponse.d.ts +0 -11
- package/esm/models/components/fetchcampaignstatusresponse.d.ts.map +0 -1
- package/esm/models/components/fetchcampaignstatusresponse.js +0 -15
- package/esm/models/components/fetchcampaignstatusresponse.js.map +0 -1
- package/esm/models/components/fetchchatcompletionfieldoptionsresponse.d.ts +0 -14
- package/esm/models/components/fetchchatcompletionfieldoptionsresponse.d.ts.map +0 -1
- package/esm/models/components/fetchchatcompletionfieldoptionsresponse.js +0 -23
- package/esm/models/components/fetchchatcompletionfieldoptionsresponse.js.map +0 -1
- package/esm/models/components/fetchfieldoptioncountsrequest.d.ts +0 -13
- package/esm/models/components/fetchfieldoptioncountsrequest.d.ts.map +0 -1
- package/esm/models/components/fetchfieldoptioncountsrequest.js +0 -19
- package/esm/models/components/fetchfieldoptioncountsrequest.js.map +0 -1
- package/esm/models/components/fetchfieldoptioncountsresponse.d.ts +0 -11
- package/esm/models/components/fetchfieldoptioncountsresponse.d.ts.map +0 -1
- package/esm/models/components/fetchfieldoptioncountsresponse.js +0 -15
- package/esm/models/components/fetchfieldoptioncountsresponse.js.map +0 -1
- package/esm/models/components/fieldgroup.d.ts +0 -11
- package/esm/models/components/fieldgroup.d.ts.map +0 -1
- package/esm/models/components/fieldgroup.js +0 -16
- package/esm/models/components/fieldgroup.js.map +0 -1
- package/esm/models/components/fieldoptioncountitem.d.ts +0 -11
- package/esm/models/components/fieldoptioncountitem.d.ts.map +0 -1
- package/esm/models/components/fieldoptioncountitem.js +0 -15
- package/esm/models/components/fieldoptioncountitem.js.map +0 -1
- package/esm/models/components/filtercondition.d.ts +0 -48
- package/esm/models/components/filtercondition.d.ts.map +0 -1
- package/esm/models/components/filtercondition.js +0 -52
- package/esm/models/components/filtercondition.js.map +0 -1
- package/esm/models/components/filtergroup.d.ts +0 -38
- package/esm/models/components/filtergroup.d.ts.map +0 -1
- package/esm/models/components/filtergroup.js +0 -81
- package/esm/models/components/filtergroup.js.map +0 -1
- package/esm/models/components/filterpayload.d.ts +0 -28
- package/esm/models/components/filterpayload.d.ts.map +0 -1
- package/esm/models/components/filterpayload.js +0 -38
- package/esm/models/components/filterpayload.js.map +0 -1
- package/esm/models/components/importdatasetfromcampaignrequest.d.ts +0 -12
- package/esm/models/components/importdatasetfromcampaignrequest.d.ts.map +0 -1
- package/esm/models/components/importdatasetfromcampaignrequest.js +0 -18
- package/esm/models/components/importdatasetfromcampaignrequest.js.map +0 -1
- package/esm/models/components/importdatasetfromexplorerrequest.d.ts +0 -12
- package/esm/models/components/importdatasetfromexplorerrequest.d.ts.map +0 -1
- package/esm/models/components/importdatasetfromexplorerrequest.js +0 -18
- package/esm/models/components/importdatasetfromexplorerrequest.js.map +0 -1
- package/esm/models/components/judgechatcompletioneventrequest.d.ts +0 -13
- package/esm/models/components/judgechatcompletioneventrequest.d.ts.map +0 -1
- package/esm/models/components/judgechatcompletioneventrequest.js +0 -19
- package/esm/models/components/judgechatcompletioneventrequest.js.map +0 -1
- package/esm/models/components/listcampaignselectedeventsresponse.d.ts +0 -11
- package/esm/models/components/listcampaignselectedeventsresponse.d.ts.map +0 -1
- package/esm/models/components/listcampaignselectedeventsresponse.js +0 -20
- package/esm/models/components/listcampaignselectedeventsresponse.js.map +0 -1
- package/esm/models/components/listcampaignsresponse.d.ts +0 -11
- package/esm/models/components/listcampaignsresponse.d.ts.map +0 -1
- package/esm/models/components/listcampaignsresponse.js +0 -15
- package/esm/models/components/listcampaignsresponse.js.map +0 -1
- package/esm/models/components/listchatcompletionfieldsresponse.d.ts +0 -13
- package/esm/models/components/listchatcompletionfieldsresponse.d.ts.map +0 -1
- package/esm/models/components/listchatcompletionfieldsresponse.js +0 -23
- package/esm/models/components/listchatcompletionfieldsresponse.js.map +0 -1
- package/esm/models/components/oauth2token.d.ts +0 -22
- package/esm/models/components/oauth2token.d.ts.map +0 -1
- package/esm/models/components/oauth2token.js +0 -27
- package/esm/models/components/oauth2token.js.map +0 -1
- package/esm/models/components/paginatedresultcampaignpreview.d.ts +0 -14
- package/esm/models/components/paginatedresultcampaignpreview.d.ts.map +0 -1
- package/esm/models/components/paginatedresultcampaignpreview.js +0 -18
- package/esm/models/components/paginatedresultcampaignpreview.js.map +0 -1
- package/esm/models/components/paginatedresultchatcompletioneventpreview.d.ts +0 -14
- package/esm/models/components/paginatedresultchatcompletioneventpreview.d.ts.map +0 -1
- package/esm/models/components/paginatedresultchatcompletioneventpreview.js +0 -18
- package/esm/models/components/paginatedresultchatcompletioneventpreview.js.map +0 -1
- package/esm/models/components/searchchatcompletioneventidsrequest.d.ts +0 -15
- package/esm/models/components/searchchatcompletioneventidsrequest.d.ts.map +0 -1
- package/esm/models/components/searchchatcompletioneventidsrequest.js +0 -21
- package/esm/models/components/searchchatcompletioneventidsrequest.js.map +0 -1
- package/esm/models/components/searchchatcompletioneventidsresponse.d.ts +0 -10
- package/esm/models/components/searchchatcompletioneventidsresponse.d.ts.map +0 -1
- package/esm/models/components/searchchatcompletioneventidsresponse.js +0 -19
- package/esm/models/components/searchchatcompletioneventidsresponse.js.map +0 -1
- package/esm/models/components/searchchatcompletioneventsrequest.d.ts +0 -15
- package/esm/models/components/searchchatcompletioneventsrequest.d.ts.map +0 -1
- package/esm/models/components/searchchatcompletioneventsrequest.js +0 -21
- package/esm/models/components/searchchatcompletioneventsrequest.js.map +0 -1
- package/esm/models/components/searchchatcompletioneventsresponse.d.ts +0 -11
- package/esm/models/components/searchchatcompletioneventsresponse.d.ts.map +0 -1
- package/esm/models/components/searchchatcompletioneventsresponse.js +0 -20
- package/esm/models/components/searchchatcompletioneventsresponse.js.map +0 -1
- package/esm/models/components/updateconnectorrequest.d.ts +0 -48
- package/esm/models/components/updateconnectorrequest.d.ts.map +0 -1
- package/esm/models/components/updateconnectorrequest.js +0 -28
- package/esm/models/components/updateconnectorrequest.js.map +0 -1
- package/esm/models/operations/connectorcreateorupdateorganizationcredentialsv1.d.ts +0 -15
- package/esm/models/operations/connectorcreateorupdateorganizationcredentialsv1.d.ts.map +0 -1
- package/esm/models/operations/connectorcreateorupdateorganizationcredentialsv1.js +0 -22
- package/esm/models/operations/connectorcreateorupdateorganizationcredentialsv1.js.map +0 -1
- package/esm/models/operations/connectorcreateorupdateusercredentialsv1.d.ts +0 -15
- package/esm/models/operations/connectorcreateorupdateusercredentialsv1.d.ts.map +0 -1
- package/esm/models/operations/connectorcreateorupdateusercredentialsv1.js +0 -21
- package/esm/models/operations/connectorcreateorupdateusercredentialsv1.js.map +0 -1
- package/esm/models/operations/connectorcreateorupdateworkspacecredentialsv1.d.ts +0 -15
- package/esm/models/operations/connectorcreateorupdateworkspacecredentialsv1.d.ts.map +0 -1
- package/esm/models/operations/connectorcreateorupdateworkspacecredentialsv1.js +0 -21
- package/esm/models/operations/connectorcreateorupdateworkspacecredentialsv1.js.map +0 -1
- package/esm/models/operations/deletecampaignv1observabilitycampaignscampaigniddelete.d.ts +0 -12
- package/esm/models/operations/deletecampaignv1observabilitycampaignscampaigniddelete.d.ts.map +0 -1
- package/esm/models/operations/deletecampaignv1observabilitycampaignscampaigniddelete.js +0 -19
- package/esm/models/operations/deletecampaignv1observabilitycampaignscampaigniddelete.js.map +0 -1
- package/esm/models/operations/getcampaignbyidv1observabilitycampaignscampaignidget.d.ts +0 -12
- package/esm/models/operations/getcampaignbyidv1observabilitycampaignscampaignidget.d.ts.map +0 -1
- package/esm/models/operations/getcampaignbyidv1observabilitycampaignscampaignidget.js +0 -19
- package/esm/models/operations/getcampaignbyidv1observabilitycampaignscampaignidget.js.map +0 -1
- package/esm/models/operations/getcampaignselectedeventsv1observabilitycampaignscampaignidselectedeventsget.d.ts +0 -16
- package/esm/models/operations/getcampaignselectedeventsv1observabilitycampaignscampaignidselectedeventsget.d.ts.map +0 -1
- package/esm/models/operations/getcampaignselectedeventsv1observabilitycampaignscampaignidselectedeventsget.js +0 -22
- package/esm/models/operations/getcampaignselectedeventsv1observabilitycampaignscampaignidselectedeventsget.js.map +0 -1
- package/esm/models/operations/getcampaignstatusbyidv1observabilitycampaignscampaignidstatusget.d.ts +0 -12
- package/esm/models/operations/getcampaignstatusbyidv1observabilitycampaignscampaignidstatusget.d.ts.map +0 -1
- package/esm/models/operations/getcampaignstatusbyidv1observabilitycampaignscampaignidstatusget.js +0 -19
- package/esm/models/operations/getcampaignstatusbyidv1observabilitycampaignscampaignidstatusget.js.map +0 -1
- package/esm/models/operations/getcampaignsv1observabilitycampaignsget.d.ts +0 -16
- package/esm/models/operations/getcampaignsv1observabilitycampaignsget.d.ts.map +0 -1
- package/esm/models/operations/getcampaignsv1observabilitycampaignsget.js +0 -20
- package/esm/models/operations/getcampaignsv1observabilitycampaignsget.js.map +0 -1
- package/esm/models/operations/getchatcompletioneventsv1observabilitychatcompletioneventssearchpost.d.ts +0 -17
- package/esm/models/operations/getchatcompletioneventsv1observabilitychatcompletioneventssearchpost.d.ts.map +0 -1
- package/esm/models/operations/getchatcompletioneventsv1observabilitychatcompletioneventssearchpost.js +0 -23
- package/esm/models/operations/getchatcompletioneventsv1observabilitychatcompletioneventssearchpost.js.map +0 -1
- package/esm/models/operations/getchatcompletioneventv1observabilitychatcompletioneventseventidget.d.ts +0 -12
- package/esm/models/operations/getchatcompletioneventv1observabilitychatcompletioneventseventidget.d.ts.map +0 -1
- package/esm/models/operations/getchatcompletioneventv1observabilitychatcompletioneventseventidget.js +0 -19
- package/esm/models/operations/getchatcompletioneventv1observabilitychatcompletioneventseventidget.js.map +0 -1
- package/esm/models/operations/getchatcompletionfieldoptionscountsv1observabilitychatcompletionfieldsfieldnameoptionscountspost.d.ts +0 -15
- package/esm/models/operations/getchatcompletionfieldoptionscountsv1observabilitychatcompletionfieldsfieldnameoptionscountspost.d.ts.map +0 -1
- package/esm/models/operations/getchatcompletionfieldoptionscountsv1observabilitychatcompletionfieldsfieldnameoptionscountspost.js +0 -22
- package/esm/models/operations/getchatcompletionfieldoptionscountsv1observabilitychatcompletionfieldsfieldnameoptionscountspost.js.map +0 -1
- package/esm/models/operations/getchatcompletionfieldoptionsv1observabilitychatcompletionfieldsfieldnameoptionsget.d.ts +0 -48
- package/esm/models/operations/getchatcompletionfieldoptionsv1observabilitychatcompletionfieldsfieldnameoptionsget.d.ts.map +0 -1
- package/esm/models/operations/getchatcompletionfieldoptionsv1observabilitychatcompletionfieldsfieldnameoptionsget.js +0 -46
- package/esm/models/operations/getchatcompletionfieldoptionsv1observabilitychatcompletionfieldsfieldnameoptionsget.js.map +0 -1
- package/esm/models/operations/getsimilarchatcompletioneventsv1observabilitychatcompletioneventseventidsimilareventsget.d.ts +0 -12
- package/esm/models/operations/getsimilarchatcompletioneventsv1observabilitychatcompletioneventseventidsimilareventsget.d.ts.map +0 -1
- package/esm/models/operations/getsimilarchatcompletioneventsv1observabilitychatcompletioneventseventidsimilareventsget.js +0 -19
- package/esm/models/operations/getsimilarchatcompletioneventsv1observabilitychatcompletioneventseventidsimilareventsget.js.map +0 -1
- package/esm/models/operations/judgechatcompletioneventv1observabilitychatcompletioneventseventidlivejudgingpost.d.ts +0 -15
- package/esm/models/operations/judgechatcompletioneventv1observabilitychatcompletioneventseventidlivejudgingpost.d.ts.map +0 -1
- package/esm/models/operations/judgechatcompletioneventv1observabilitychatcompletioneventseventidlivejudgingpost.js +0 -22
- package/esm/models/operations/judgechatcompletioneventv1observabilitychatcompletioneventseventidlivejudgingpost.js.map +0 -1
- package/esm/models/operations/postdatasetrecordsfromcampaignv1observabilitydatasetsdatasetidimportsfromcampaignpost.d.ts +0 -15
- package/esm/models/operations/postdatasetrecordsfromcampaignv1observabilitydatasetsdatasetidimportsfromcampaignpost.d.ts.map +0 -1
- package/esm/models/operations/postdatasetrecordsfromcampaignv1observabilitydatasetsdatasetidimportsfromcampaignpost.js +0 -22
- package/esm/models/operations/postdatasetrecordsfromcampaignv1observabilitydatasetsdatasetidimportsfromcampaignpost.js.map +0 -1
- package/esm/models/operations/postdatasetrecordsfromexplorerv1observabilitydatasetsdatasetidimportsfromexplorerpost.d.ts +0 -15
- package/esm/models/operations/postdatasetrecordsfromexplorerv1observabilitydatasetsdatasetidimportsfromexplorerpost.d.ts.map +0 -1
- package/esm/models/operations/postdatasetrecordsfromexplorerv1observabilitydatasetsdatasetidimportsfromexplorerpost.js +0 -22
- package/esm/models/operations/postdatasetrecordsfromexplorerv1observabilitydatasetsdatasetidimportsfromexplorerpost.js.map +0 -1
- package/esm/sdk/campaigns.d.ts +0 -30
- package/esm/sdk/campaigns.d.ts.map +0 -1
- package/esm/sdk/campaigns.js +0 -51
- package/esm/sdk/campaigns.js.map +0 -1
- package/esm/sdk/chatcompletionevents.d.ts +0 -29
- package/esm/sdk/chatcompletionevents.d.ts.map +0 -1
- package/esm/sdk/chatcompletionevents.js +0 -49
- package/esm/sdk/chatcompletionevents.js.map +0 -1
- package/esm/sdk/fields.d.ts +0 -18
- package/esm/sdk/fields.d.ts.map +0 -1
- package/esm/sdk/fields.js +0 -30
- package/esm/sdk/fields.js.map +0 -1
- package/src/funcs/betaObservabilityCampaignsFetchStatus.ts +0 -186
- package/src/funcs/betaObservabilityCampaignsListEvents.ts +0 -192
- package/src/funcs/betaObservabilityChatCompletionEventsFetchSimilarEvents.ts +0 -186
- package/src/funcs/betaObservabilityChatCompletionEventsFieldsFetchOptionCounts.ts +0 -189
- package/src/funcs/betaObservabilityChatCompletionEventsFieldsFetchOptions.ts +0 -194
- package/src/funcs/betaObservabilityChatCompletionEventsFieldsList.ts +0 -155
- package/src/funcs/betaObservabilityChatCompletionEventsSearch.ts +0 -187
- package/src/funcs/betaObservabilityDatasetsImportFromCampaign.ts +0 -189
- package/src/funcs/betaObservabilityDatasetsImportFromExplorer.ts +0 -189
- package/src/models/components/basefielddefinition.ts +0 -97
- package/src/models/components/campaign.ts +0 -63
- package/src/models/components/chatcompletionevent.ts +0 -121
- package/src/models/components/chatcompletioneventpreview.ts +0 -103
- package/src/models/components/chattranscriptionevent.ts +0 -41
- package/src/models/components/connectioncredentials.ts +0 -51
- package/src/models/components/connectorprotocol.ts +0 -21
- package/src/models/components/createcampaignrequest.ts +0 -55
- package/src/models/components/feedresultchatcompletioneventpreview.ts +0 -40
- package/src/models/components/fetchcampaignstatusresponse.ts +0 -35
- package/src/models/components/fetchchatcompletionfieldoptionsresponse.ts +0 -58
- package/src/models/components/fetchfieldoptioncountsrequest.ts +0 -43
- package/src/models/components/fetchfieldoptioncountsresponse.ts +0 -35
- package/src/models/components/fieldgroup.ts +0 -31
- package/src/models/components/fieldoptioncountitem.ts +0 -33
- package/src/models/components/filtercondition.ts +0 -89
- package/src/models/components/filtergroup.ts +0 -150
- package/src/models/components/filterpayload.ts +0 -88
- package/src/models/components/importdatasetfromcampaignrequest.ts +0 -38
- package/src/models/components/importdatasetfromexplorerrequest.ts +0 -38
- package/src/models/components/judgechatcompletioneventrequest.ts +0 -43
- package/src/models/components/listcampaignselectedeventsresponse.ts +0 -41
- package/src/models/components/listcampaignsresponse.ts +0 -35
- package/src/models/components/listchatcompletionfieldsresponse.ts +0 -44
- package/src/models/components/oauth2token.ts +0 -51
- package/src/models/components/paginatedresultcampaignpreview.ts +0 -38
- package/src/models/components/paginatedresultchatcompletioneventpreview.ts +0 -47
- package/src/models/components/searchchatcompletioneventidsrequest.ts +0 -47
- package/src/models/components/searchchatcompletioneventidsresponse.ts +0 -37
- package/src/models/components/searchchatcompletioneventsrequest.ts +0 -47
- package/src/models/components/searchchatcompletioneventsresponse.ts +0 -41
- package/src/models/components/updateconnectorrequest.ts +0 -93
- package/src/models/operations/connectorcreateorupdateorganizationcredentialsv1.ts +0 -45
- package/src/models/operations/connectorcreateorupdateusercredentialsv1.ts +0 -46
- package/src/models/operations/connectorcreateorupdateworkspacecredentialsv1.ts +0 -46
- package/src/models/operations/deletecampaignv1observabilitycampaignscampaigniddelete.ts +0 -40
- package/src/models/operations/getcampaignbyidv1observabilitycampaignscampaignidget.ts +0 -40
- package/src/models/operations/getcampaignselectedeventsv1observabilitycampaignscampaignidselectedeventsget.ts +0 -50
- package/src/models/operations/getcampaignstatusbyidv1observabilitycampaignscampaignidstatusget.ts +0 -43
- package/src/models/operations/getcampaignsv1observabilitycampaignsget.ts +0 -46
- package/src/models/operations/getchatcompletioneventsv1observabilitychatcompletioneventssearchpost.ts +0 -54
- package/src/models/operations/getchatcompletioneventv1observabilitychatcompletioneventseventidget.ts +0 -43
- package/src/models/operations/getchatcompletionfieldoptionscountsv1observabilitychatcompletionfieldsfieldnameoptionscountspost.ts +0 -50
- package/src/models/operations/getchatcompletionfieldoptionsv1observabilitychatcompletionfieldsfieldnameoptionsget.ts +0 -84
- package/src/models/operations/getsimilarchatcompletioneventsv1observabilitychatcompletioneventseventidsimilareventsget.ts +0 -43
- package/src/models/operations/judgechatcompletioneventv1observabilitychatcompletioneventseventidlivejudgingpost.ts +0 -50
- package/src/models/operations/postdatasetrecordsfromcampaignv1observabilitydatasetsdatasetidimportsfromcampaignpost.ts +0 -51
- package/src/models/operations/postdatasetrecordsfromexplorerv1observabilitydatasetsdatasetidimportsfromexplorerpost.ts +0 -51
- package/src/sdk/campaigns.ts +0 -107
- package/src/sdk/chatcompletionevents.ts +0 -96
- package/src/sdk/fields.ts +0 -58
|
@@ -1,189 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
-
* @generated-id: 8ecef13a8440
|
|
4
|
-
*/
|
|
5
|
-
|
|
6
|
-
import { MistralCore } from "../core.js";
|
|
7
|
-
import { encodeJSON, 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
|
-
* Populate the dataset with records from the explorer
|
|
33
|
-
*/
|
|
34
|
-
export function betaObservabilityDatasetsImportFromExplorer(
|
|
35
|
-
client: MistralCore,
|
|
36
|
-
request:
|
|
37
|
-
operations.PostDatasetRecordsFromExplorerV1ObservabilityDatasetsDatasetIdImportsFromExplorerPostRequest,
|
|
38
|
-
options?: RequestOptions,
|
|
39
|
-
): APIPromise<
|
|
40
|
-
Result<
|
|
41
|
-
components.DatasetImportTask,
|
|
42
|
-
| errors.ObservabilityError
|
|
43
|
-
| MistralError
|
|
44
|
-
| ResponseValidationError
|
|
45
|
-
| ConnectionError
|
|
46
|
-
| RequestAbortedError
|
|
47
|
-
| RequestTimeoutError
|
|
48
|
-
| InvalidRequestError
|
|
49
|
-
| UnexpectedClientError
|
|
50
|
-
| SDKValidationError
|
|
51
|
-
>
|
|
52
|
-
> {
|
|
53
|
-
return new APIPromise($do(
|
|
54
|
-
client,
|
|
55
|
-
request,
|
|
56
|
-
options,
|
|
57
|
-
));
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
async function $do(
|
|
61
|
-
client: MistralCore,
|
|
62
|
-
request:
|
|
63
|
-
operations.PostDatasetRecordsFromExplorerV1ObservabilityDatasetsDatasetIdImportsFromExplorerPostRequest,
|
|
64
|
-
options?: RequestOptions,
|
|
65
|
-
): Promise<
|
|
66
|
-
[
|
|
67
|
-
Result<
|
|
68
|
-
components.DatasetImportTask,
|
|
69
|
-
| errors.ObservabilityError
|
|
70
|
-
| MistralError
|
|
71
|
-
| ResponseValidationError
|
|
72
|
-
| ConnectionError
|
|
73
|
-
| RequestAbortedError
|
|
74
|
-
| RequestTimeoutError
|
|
75
|
-
| InvalidRequestError
|
|
76
|
-
| UnexpectedClientError
|
|
77
|
-
| SDKValidationError
|
|
78
|
-
>,
|
|
79
|
-
APICall,
|
|
80
|
-
]
|
|
81
|
-
> {
|
|
82
|
-
const parsed = safeParse(
|
|
83
|
-
request,
|
|
84
|
-
(value) =>
|
|
85
|
-
operations
|
|
86
|
-
.PostDatasetRecordsFromExplorerV1ObservabilityDatasetsDatasetIdImportsFromExplorerPostRequest$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 = encodeJSON("body", payload.ImportDatasetFromExplorerRequest, {
|
|
95
|
-
explode: true,
|
|
96
|
-
});
|
|
97
|
-
|
|
98
|
-
const pathParams = {
|
|
99
|
-
dataset_id: encodeSimple("dataset_id", payload.dataset_id, {
|
|
100
|
-
explode: false,
|
|
101
|
-
charEncoding: "percent",
|
|
102
|
-
}),
|
|
103
|
-
};
|
|
104
|
-
const path = pathToFunc(
|
|
105
|
-
"/v1/observability/datasets/{dataset_id}/imports/from-explorer",
|
|
106
|
-
)(pathParams);
|
|
107
|
-
|
|
108
|
-
const headers = new Headers(compactMap({
|
|
109
|
-
"Content-Type": "application/json",
|
|
110
|
-
Accept: "application/json",
|
|
111
|
-
}));
|
|
112
|
-
|
|
113
|
-
const secConfig = await extractSecurity(client._options.apiKey);
|
|
114
|
-
const securityInput = secConfig == null ? {} : { apiKey: secConfig };
|
|
115
|
-
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
116
|
-
|
|
117
|
-
const context = {
|
|
118
|
-
options: client._options,
|
|
119
|
-
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
120
|
-
operationID:
|
|
121
|
-
"post_dataset_records_from_explorer_v1_observability_datasets__dataset_id__imports_from_explorer_post",
|
|
122
|
-
oAuth2Scopes: null,
|
|
123
|
-
|
|
124
|
-
resolvedSecurity: requestSecurity,
|
|
125
|
-
|
|
126
|
-
securitySource: client._options.apiKey,
|
|
127
|
-
retryConfig: options?.retries
|
|
128
|
-
|| client._options.retryConfig
|
|
129
|
-
|| { strategy: "none" },
|
|
130
|
-
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"],
|
|
131
|
-
};
|
|
132
|
-
|
|
133
|
-
const requestRes = client._createRequest(context, {
|
|
134
|
-
security: requestSecurity,
|
|
135
|
-
method: "POST",
|
|
136
|
-
baseURL: options?.serverURL,
|
|
137
|
-
path: path,
|
|
138
|
-
headers: headers,
|
|
139
|
-
body: body,
|
|
140
|
-
userAgent: client._options.userAgent,
|
|
141
|
-
timeoutMs: options?.timeoutMs || client._options.timeoutMs || 300000,
|
|
142
|
-
}, options);
|
|
143
|
-
if (!requestRes.ok) {
|
|
144
|
-
return [requestRes, { status: "invalid" }];
|
|
145
|
-
}
|
|
146
|
-
const req = requestRes.value;
|
|
147
|
-
|
|
148
|
-
const doResult = await client._do(req, {
|
|
149
|
-
context,
|
|
150
|
-
isErrorStatusCode: (statusCode: number) =>
|
|
151
|
-
matchStatusCode({ status: statusCode } as Response, ["4XX", "5XX"]),
|
|
152
|
-
retryConfig: context.retryConfig,
|
|
153
|
-
retryCodes: context.retryCodes,
|
|
154
|
-
});
|
|
155
|
-
if (!doResult.ok) {
|
|
156
|
-
return [doResult, { status: "request-error", request: req }];
|
|
157
|
-
}
|
|
158
|
-
const response = doResult.value;
|
|
159
|
-
|
|
160
|
-
const responseFields = {
|
|
161
|
-
HttpMeta: { Response: response, Request: req },
|
|
162
|
-
};
|
|
163
|
-
|
|
164
|
-
const [result] = await M.match<
|
|
165
|
-
components.DatasetImportTask,
|
|
166
|
-
| errors.ObservabilityError
|
|
167
|
-
| MistralError
|
|
168
|
-
| ResponseValidationError
|
|
169
|
-
| ConnectionError
|
|
170
|
-
| RequestAbortedError
|
|
171
|
-
| RequestTimeoutError
|
|
172
|
-
| InvalidRequestError
|
|
173
|
-
| UnexpectedClientError
|
|
174
|
-
| SDKValidationError
|
|
175
|
-
>(
|
|
176
|
-
M.json(202, components.DatasetImportTask$inboundSchema),
|
|
177
|
-
M.jsonErr(
|
|
178
|
-
[400, 404, 408, 409, 422],
|
|
179
|
-
errors.ObservabilityError$inboundSchema,
|
|
180
|
-
),
|
|
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
|
-
}
|
|
@@ -1,97 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
-
* @generated-id: c5cc252be3b5
|
|
4
|
-
*/
|
|
5
|
-
|
|
6
|
-
import * as z from "zod/v4";
|
|
7
|
-
import { remap as remap$ } from "../../lib/primitives.js";
|
|
8
|
-
import { safeParse } from "../../lib/schemas.js";
|
|
9
|
-
import * as openEnums from "../../types/enums.js";
|
|
10
|
-
import { OpenEnum } from "../../types/enums.js";
|
|
11
|
-
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
12
|
-
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
13
|
-
|
|
14
|
-
export const BaseFieldDefinitionType = {
|
|
15
|
-
Enum: "ENUM",
|
|
16
|
-
Text: "TEXT",
|
|
17
|
-
Int: "INT",
|
|
18
|
-
Float: "FLOAT",
|
|
19
|
-
Bool: "BOOL",
|
|
20
|
-
Timestamp: "TIMESTAMP",
|
|
21
|
-
Array: "ARRAY",
|
|
22
|
-
Map: "MAP",
|
|
23
|
-
} as const;
|
|
24
|
-
export type BaseFieldDefinitionType = OpenEnum<typeof BaseFieldDefinitionType>;
|
|
25
|
-
|
|
26
|
-
export const BaseFieldDefinitionSupportedOperator = {
|
|
27
|
-
Lt: "lt",
|
|
28
|
-
Lte: "lte",
|
|
29
|
-
Gt: "gt",
|
|
30
|
-
Gte: "gte",
|
|
31
|
-
Startswith: "startswith",
|
|
32
|
-
Istartswith: "istartswith",
|
|
33
|
-
Endswith: "endswith",
|
|
34
|
-
Iendswith: "iendswith",
|
|
35
|
-
Contains: "contains",
|
|
36
|
-
Icontains: "icontains",
|
|
37
|
-
Matches: "matches",
|
|
38
|
-
Notcontains: "notcontains",
|
|
39
|
-
Inotcontains: "inotcontains",
|
|
40
|
-
Eq: "eq",
|
|
41
|
-
Neq: "neq",
|
|
42
|
-
Isnull: "isnull",
|
|
43
|
-
Includes: "includes",
|
|
44
|
-
Excludes: "excludes",
|
|
45
|
-
LenEq: "len_eq",
|
|
46
|
-
} as const;
|
|
47
|
-
export type BaseFieldDefinitionSupportedOperator = OpenEnum<
|
|
48
|
-
typeof BaseFieldDefinitionSupportedOperator
|
|
49
|
-
>;
|
|
50
|
-
|
|
51
|
-
export type BaseFieldDefinition = {
|
|
52
|
-
name: string;
|
|
53
|
-
label: string;
|
|
54
|
-
type: BaseFieldDefinitionType;
|
|
55
|
-
group?: string | null | undefined;
|
|
56
|
-
supportedOperators: Array<BaseFieldDefinitionSupportedOperator>;
|
|
57
|
-
};
|
|
58
|
-
|
|
59
|
-
/** @internal */
|
|
60
|
-
export const BaseFieldDefinitionType$inboundSchema: z.ZodType<
|
|
61
|
-
BaseFieldDefinitionType,
|
|
62
|
-
unknown
|
|
63
|
-
> = openEnums.inboundSchema(BaseFieldDefinitionType);
|
|
64
|
-
|
|
65
|
-
/** @internal */
|
|
66
|
-
export const BaseFieldDefinitionSupportedOperator$inboundSchema: z.ZodType<
|
|
67
|
-
BaseFieldDefinitionSupportedOperator,
|
|
68
|
-
unknown
|
|
69
|
-
> = openEnums.inboundSchema(BaseFieldDefinitionSupportedOperator);
|
|
70
|
-
|
|
71
|
-
/** @internal */
|
|
72
|
-
export const BaseFieldDefinition$inboundSchema: z.ZodType<
|
|
73
|
-
BaseFieldDefinition,
|
|
74
|
-
unknown
|
|
75
|
-
> = z.object({
|
|
76
|
-
name: z.string(),
|
|
77
|
-
label: z.string(),
|
|
78
|
-
type: BaseFieldDefinitionType$inboundSchema,
|
|
79
|
-
group: z.nullable(z.string()).optional(),
|
|
80
|
-
supported_operators: z.array(
|
|
81
|
-
BaseFieldDefinitionSupportedOperator$inboundSchema,
|
|
82
|
-
),
|
|
83
|
-
}).transform((v) => {
|
|
84
|
-
return remap$(v, {
|
|
85
|
-
"supported_operators": "supportedOperators",
|
|
86
|
-
});
|
|
87
|
-
});
|
|
88
|
-
|
|
89
|
-
export function baseFieldDefinitionFromJSON(
|
|
90
|
-
jsonString: string,
|
|
91
|
-
): SafeParseResult<BaseFieldDefinition, SDKValidationError> {
|
|
92
|
-
return safeParse(
|
|
93
|
-
jsonString,
|
|
94
|
-
(x) => BaseFieldDefinition$inboundSchema.parse(JSON.parse(x)),
|
|
95
|
-
`Failed to parse 'BaseFieldDefinition' from JSON`,
|
|
96
|
-
);
|
|
97
|
-
}
|
|
@@ -1,63 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
-
* @generated-id: 5e2782ba38b8
|
|
4
|
-
*/
|
|
5
|
-
|
|
6
|
-
import * as z from "zod/v4";
|
|
7
|
-
import { remap as remap$ } from "../../lib/primitives.js";
|
|
8
|
-
import { safeParse } from "../../lib/schemas.js";
|
|
9
|
-
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
10
|
-
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
11
|
-
import { FilterPayload, FilterPayload$inboundSchema } from "./filterpayload.js";
|
|
12
|
-
import { Judge, Judge$inboundSchema } from "./judge.js";
|
|
13
|
-
|
|
14
|
-
export type Campaign = {
|
|
15
|
-
id: string;
|
|
16
|
-
createdAt: Date;
|
|
17
|
-
updatedAt: Date;
|
|
18
|
-
deletedAt: Date | null;
|
|
19
|
-
name: string;
|
|
20
|
-
ownerId: string;
|
|
21
|
-
workspaceId: string;
|
|
22
|
-
description: string;
|
|
23
|
-
maxNbEvents: number;
|
|
24
|
-
searchParams: FilterPayload;
|
|
25
|
-
judge: Judge;
|
|
26
|
-
};
|
|
27
|
-
|
|
28
|
-
/** @internal */
|
|
29
|
-
export const Campaign$inboundSchema: z.ZodType<Campaign, unknown> = z.object({
|
|
30
|
-
id: z.string(),
|
|
31
|
-
created_at: z.iso.datetime({ offset: true }).transform(v => new Date(v)),
|
|
32
|
-
updated_at: z.iso.datetime({ offset: true }).transform(v => new Date(v)),
|
|
33
|
-
deleted_at: z.nullable(
|
|
34
|
-
z.iso.datetime({ offset: true }).transform(v => new Date(v)),
|
|
35
|
-
),
|
|
36
|
-
name: z.string(),
|
|
37
|
-
owner_id: z.string(),
|
|
38
|
-
workspace_id: z.string(),
|
|
39
|
-
description: z.string(),
|
|
40
|
-
max_nb_events: z.int(),
|
|
41
|
-
search_params: FilterPayload$inboundSchema,
|
|
42
|
-
judge: Judge$inboundSchema,
|
|
43
|
-
}).transform((v) => {
|
|
44
|
-
return remap$(v, {
|
|
45
|
-
"created_at": "createdAt",
|
|
46
|
-
"updated_at": "updatedAt",
|
|
47
|
-
"deleted_at": "deletedAt",
|
|
48
|
-
"owner_id": "ownerId",
|
|
49
|
-
"workspace_id": "workspaceId",
|
|
50
|
-
"max_nb_events": "maxNbEvents",
|
|
51
|
-
"search_params": "searchParams",
|
|
52
|
-
});
|
|
53
|
-
});
|
|
54
|
-
|
|
55
|
-
export function campaignFromJSON(
|
|
56
|
-
jsonString: string,
|
|
57
|
-
): SafeParseResult<Campaign, SDKValidationError> {
|
|
58
|
-
return safeParse(
|
|
59
|
-
jsonString,
|
|
60
|
-
(x) => Campaign$inboundSchema.parse(JSON.parse(x)),
|
|
61
|
-
`Failed to parse 'Campaign' from JSON`,
|
|
62
|
-
);
|
|
63
|
-
}
|
|
@@ -1,121 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
-
* @generated-id: 5696bade13cc
|
|
4
|
-
*/
|
|
5
|
-
|
|
6
|
-
import * as z from "zod/v4";
|
|
7
|
-
import { remap as remap$ } from "../../lib/primitives.js";
|
|
8
|
-
import { safeParse } from "../../lib/schemas.js";
|
|
9
|
-
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
10
|
-
import { smartUnion } from "../../types/smartUnion.js";
|
|
11
|
-
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
12
|
-
import {
|
|
13
|
-
ChatTranscriptionEvent,
|
|
14
|
-
ChatTranscriptionEvent$inboundSchema,
|
|
15
|
-
} from "./chattranscriptionevent.js";
|
|
16
|
-
|
|
17
|
-
export type ChatCompletionEventExtraFields =
|
|
18
|
-
| boolean
|
|
19
|
-
| number
|
|
20
|
-
| number
|
|
21
|
-
| string
|
|
22
|
-
| Date
|
|
23
|
-
| Array<string>
|
|
24
|
-
| { [k: string]: string };
|
|
25
|
-
|
|
26
|
-
export type ChatCompletionEvent = {
|
|
27
|
-
eventId: string;
|
|
28
|
-
correlationId: string;
|
|
29
|
-
createdAt: Date;
|
|
30
|
-
extraFields: {
|
|
31
|
-
[k: string]: boolean | number | number | string | Date | Array<string> | {
|
|
32
|
-
[k: string]: string;
|
|
33
|
-
} | null;
|
|
34
|
-
};
|
|
35
|
-
nbInputTokens: number;
|
|
36
|
-
nbOutputTokens: number;
|
|
37
|
-
enabledTools: Array<{ [k: string]: any }>;
|
|
38
|
-
requestMessages: Array<{ [k: string]: any }>;
|
|
39
|
-
responseMessages: Array<{ [k: string]: any }>;
|
|
40
|
-
nbMessages: number;
|
|
41
|
-
chatTranscriptionEvents: Array<ChatTranscriptionEvent>;
|
|
42
|
-
};
|
|
43
|
-
|
|
44
|
-
/** @internal */
|
|
45
|
-
export const ChatCompletionEventExtraFields$inboundSchema: z.ZodType<
|
|
46
|
-
ChatCompletionEventExtraFields,
|
|
47
|
-
unknown
|
|
48
|
-
> = smartUnion([
|
|
49
|
-
z.boolean(),
|
|
50
|
-
z.int(),
|
|
51
|
-
z.number(),
|
|
52
|
-
z.string(),
|
|
53
|
-
z.iso.datetime({ offset: true }).transform(v => new Date(v)),
|
|
54
|
-
z.array(z.string()),
|
|
55
|
-
z.record(z.string(), z.string()),
|
|
56
|
-
]);
|
|
57
|
-
|
|
58
|
-
export function chatCompletionEventExtraFieldsFromJSON(
|
|
59
|
-
jsonString: string,
|
|
60
|
-
): SafeParseResult<ChatCompletionEventExtraFields, SDKValidationError> {
|
|
61
|
-
return safeParse(
|
|
62
|
-
jsonString,
|
|
63
|
-
(x) => ChatCompletionEventExtraFields$inboundSchema.parse(JSON.parse(x)),
|
|
64
|
-
`Failed to parse 'ChatCompletionEventExtraFields' from JSON`,
|
|
65
|
-
);
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
/** @internal */
|
|
69
|
-
export const ChatCompletionEvent$inboundSchema: z.ZodType<
|
|
70
|
-
ChatCompletionEvent,
|
|
71
|
-
unknown
|
|
72
|
-
> = z.object({
|
|
73
|
-
event_id: z.string(),
|
|
74
|
-
correlation_id: z.string(),
|
|
75
|
-
created_at: z.iso.datetime({ offset: true }).transform(v => new Date(v)),
|
|
76
|
-
extra_fields: z.record(
|
|
77
|
-
z.string(),
|
|
78
|
-
z.nullable(
|
|
79
|
-
smartUnion([
|
|
80
|
-
z.boolean(),
|
|
81
|
-
z.int(),
|
|
82
|
-
z.number(),
|
|
83
|
-
z.string(),
|
|
84
|
-
z.iso.datetime({ offset: true }).transform(v => new Date(v)),
|
|
85
|
-
z.array(z.string()),
|
|
86
|
-
z.record(z.string(), z.string()),
|
|
87
|
-
]),
|
|
88
|
-
),
|
|
89
|
-
),
|
|
90
|
-
nb_input_tokens: z.int(),
|
|
91
|
-
nb_output_tokens: z.int(),
|
|
92
|
-
enabled_tools: z.array(z.record(z.string(), z.any())),
|
|
93
|
-
request_messages: z.array(z.record(z.string(), z.any())),
|
|
94
|
-
response_messages: z.array(z.record(z.string(), z.any())),
|
|
95
|
-
nb_messages: z.int(),
|
|
96
|
-
chat_transcription_events: z.array(ChatTranscriptionEvent$inboundSchema),
|
|
97
|
-
}).transform((v) => {
|
|
98
|
-
return remap$(v, {
|
|
99
|
-
"event_id": "eventId",
|
|
100
|
-
"correlation_id": "correlationId",
|
|
101
|
-
"created_at": "createdAt",
|
|
102
|
-
"extra_fields": "extraFields",
|
|
103
|
-
"nb_input_tokens": "nbInputTokens",
|
|
104
|
-
"nb_output_tokens": "nbOutputTokens",
|
|
105
|
-
"enabled_tools": "enabledTools",
|
|
106
|
-
"request_messages": "requestMessages",
|
|
107
|
-
"response_messages": "responseMessages",
|
|
108
|
-
"nb_messages": "nbMessages",
|
|
109
|
-
"chat_transcription_events": "chatTranscriptionEvents",
|
|
110
|
-
});
|
|
111
|
-
});
|
|
112
|
-
|
|
113
|
-
export function chatCompletionEventFromJSON(
|
|
114
|
-
jsonString: string,
|
|
115
|
-
): SafeParseResult<ChatCompletionEvent, SDKValidationError> {
|
|
116
|
-
return safeParse(
|
|
117
|
-
jsonString,
|
|
118
|
-
(x) => ChatCompletionEvent$inboundSchema.parse(JSON.parse(x)),
|
|
119
|
-
`Failed to parse 'ChatCompletionEvent' from JSON`,
|
|
120
|
-
);
|
|
121
|
-
}
|
|
@@ -1,103 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
-
* @generated-id: 49d94b5646c9
|
|
4
|
-
*/
|
|
5
|
-
|
|
6
|
-
import * as z from "zod/v4";
|
|
7
|
-
import { remap as remap$ } from "../../lib/primitives.js";
|
|
8
|
-
import { safeParse } from "../../lib/schemas.js";
|
|
9
|
-
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
10
|
-
import { smartUnion } from "../../types/smartUnion.js";
|
|
11
|
-
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
12
|
-
|
|
13
|
-
export type ChatCompletionEventPreviewExtraFields =
|
|
14
|
-
| boolean
|
|
15
|
-
| number
|
|
16
|
-
| number
|
|
17
|
-
| string
|
|
18
|
-
| Date
|
|
19
|
-
| Array<string>
|
|
20
|
-
| { [k: string]: string };
|
|
21
|
-
|
|
22
|
-
export type ChatCompletionEventPreview = {
|
|
23
|
-
eventId: string;
|
|
24
|
-
correlationId: string;
|
|
25
|
-
createdAt: Date;
|
|
26
|
-
extraFields: {
|
|
27
|
-
[k: string]: boolean | number | number | string | Date | Array<string> | {
|
|
28
|
-
[k: string]: string;
|
|
29
|
-
} | null;
|
|
30
|
-
};
|
|
31
|
-
nbInputTokens: number;
|
|
32
|
-
nbOutputTokens: number;
|
|
33
|
-
};
|
|
34
|
-
|
|
35
|
-
/** @internal */
|
|
36
|
-
export const ChatCompletionEventPreviewExtraFields$inboundSchema: z.ZodType<
|
|
37
|
-
ChatCompletionEventPreviewExtraFields,
|
|
38
|
-
unknown
|
|
39
|
-
> = smartUnion([
|
|
40
|
-
z.boolean(),
|
|
41
|
-
z.int(),
|
|
42
|
-
z.number(),
|
|
43
|
-
z.string(),
|
|
44
|
-
z.iso.datetime({ offset: true }).transform(v => new Date(v)),
|
|
45
|
-
z.array(z.string()),
|
|
46
|
-
z.record(z.string(), z.string()),
|
|
47
|
-
]);
|
|
48
|
-
|
|
49
|
-
export function chatCompletionEventPreviewExtraFieldsFromJSON(
|
|
50
|
-
jsonString: string,
|
|
51
|
-
): SafeParseResult<ChatCompletionEventPreviewExtraFields, SDKValidationError> {
|
|
52
|
-
return safeParse(
|
|
53
|
-
jsonString,
|
|
54
|
-
(x) =>
|
|
55
|
-
ChatCompletionEventPreviewExtraFields$inboundSchema.parse(JSON.parse(x)),
|
|
56
|
-
`Failed to parse 'ChatCompletionEventPreviewExtraFields' from JSON`,
|
|
57
|
-
);
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
/** @internal */
|
|
61
|
-
export const ChatCompletionEventPreview$inboundSchema: z.ZodType<
|
|
62
|
-
ChatCompletionEventPreview,
|
|
63
|
-
unknown
|
|
64
|
-
> = z.object({
|
|
65
|
-
event_id: z.string(),
|
|
66
|
-
correlation_id: z.string(),
|
|
67
|
-
created_at: z.iso.datetime({ offset: true }).transform(v => new Date(v)),
|
|
68
|
-
extra_fields: z.record(
|
|
69
|
-
z.string(),
|
|
70
|
-
z.nullable(
|
|
71
|
-
smartUnion([
|
|
72
|
-
z.boolean(),
|
|
73
|
-
z.int(),
|
|
74
|
-
z.number(),
|
|
75
|
-
z.string(),
|
|
76
|
-
z.iso.datetime({ offset: true }).transform(v => new Date(v)),
|
|
77
|
-
z.array(z.string()),
|
|
78
|
-
z.record(z.string(), z.string()),
|
|
79
|
-
]),
|
|
80
|
-
),
|
|
81
|
-
),
|
|
82
|
-
nb_input_tokens: z.int(),
|
|
83
|
-
nb_output_tokens: z.int(),
|
|
84
|
-
}).transform((v) => {
|
|
85
|
-
return remap$(v, {
|
|
86
|
-
"event_id": "eventId",
|
|
87
|
-
"correlation_id": "correlationId",
|
|
88
|
-
"created_at": "createdAt",
|
|
89
|
-
"extra_fields": "extraFields",
|
|
90
|
-
"nb_input_tokens": "nbInputTokens",
|
|
91
|
-
"nb_output_tokens": "nbOutputTokens",
|
|
92
|
-
});
|
|
93
|
-
});
|
|
94
|
-
|
|
95
|
-
export function chatCompletionEventPreviewFromJSON(
|
|
96
|
-
jsonString: string,
|
|
97
|
-
): SafeParseResult<ChatCompletionEventPreview, SDKValidationError> {
|
|
98
|
-
return safeParse(
|
|
99
|
-
jsonString,
|
|
100
|
-
(x) => ChatCompletionEventPreview$inboundSchema.parse(JSON.parse(x)),
|
|
101
|
-
`Failed to parse 'ChatCompletionEventPreview' from JSON`,
|
|
102
|
-
);
|
|
103
|
-
}
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
-
* @generated-id: a0b34988d72d
|
|
4
|
-
*/
|
|
5
|
-
|
|
6
|
-
import * as z from "zod/v4";
|
|
7
|
-
import { remap as remap$ } from "../../lib/primitives.js";
|
|
8
|
-
import { safeParse } from "../../lib/schemas.js";
|
|
9
|
-
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
10
|
-
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
11
|
-
|
|
12
|
-
export type ChatTranscriptionEvent = {
|
|
13
|
-
audioUrl: string;
|
|
14
|
-
model: string;
|
|
15
|
-
responseMessage: { [k: string]: any };
|
|
16
|
-
};
|
|
17
|
-
|
|
18
|
-
/** @internal */
|
|
19
|
-
export const ChatTranscriptionEvent$inboundSchema: z.ZodType<
|
|
20
|
-
ChatTranscriptionEvent,
|
|
21
|
-
unknown
|
|
22
|
-
> = z.object({
|
|
23
|
-
audio_url: z.string(),
|
|
24
|
-
model: z.string(),
|
|
25
|
-
response_message: z.record(z.string(), z.any()),
|
|
26
|
-
}).transform((v) => {
|
|
27
|
-
return remap$(v, {
|
|
28
|
-
"audio_url": "audioUrl",
|
|
29
|
-
"response_message": "responseMessage",
|
|
30
|
-
});
|
|
31
|
-
});
|
|
32
|
-
|
|
33
|
-
export function chatTranscriptionEventFromJSON(
|
|
34
|
-
jsonString: string,
|
|
35
|
-
): SafeParseResult<ChatTranscriptionEvent, SDKValidationError> {
|
|
36
|
-
return safeParse(
|
|
37
|
-
jsonString,
|
|
38
|
-
(x) => ChatTranscriptionEvent$inboundSchema.parse(JSON.parse(x)),
|
|
39
|
-
`Failed to parse 'ChatTranscriptionEvent' from JSON`,
|
|
40
|
-
);
|
|
41
|
-
}
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
-
* @generated-id: 6c0610cd28ac
|
|
4
|
-
*/
|
|
5
|
-
|
|
6
|
-
import * as z from "zod/v4";
|
|
7
|
-
import { remap as remap$ } from "../../lib/primitives.js";
|
|
8
|
-
import {
|
|
9
|
-
OAuth2Token,
|
|
10
|
-
OAuth2Token$Outbound,
|
|
11
|
-
OAuth2Token$outboundSchema,
|
|
12
|
-
} from "./oauth2token.js";
|
|
13
|
-
|
|
14
|
-
export type ConnectionCredentials = {
|
|
15
|
-
oauth?: OAuth2Token | null | undefined;
|
|
16
|
-
headers?: { [k: string]: string } | null | undefined;
|
|
17
|
-
bearerToken?: string | null | undefined;
|
|
18
|
-
githubInstallationId?: string | null | undefined;
|
|
19
|
-
};
|
|
20
|
-
|
|
21
|
-
/** @internal */
|
|
22
|
-
export type ConnectionCredentials$Outbound = {
|
|
23
|
-
oauth?: OAuth2Token$Outbound | null | undefined;
|
|
24
|
-
headers?: { [k: string]: string } | null | undefined;
|
|
25
|
-
bearer_token?: string | null | undefined;
|
|
26
|
-
github_installation_id?: string | null | undefined;
|
|
27
|
-
};
|
|
28
|
-
|
|
29
|
-
/** @internal */
|
|
30
|
-
export const ConnectionCredentials$outboundSchema: z.ZodType<
|
|
31
|
-
ConnectionCredentials$Outbound,
|
|
32
|
-
ConnectionCredentials
|
|
33
|
-
> = z.object({
|
|
34
|
-
oauth: z.nullable(OAuth2Token$outboundSchema).optional(),
|
|
35
|
-
headers: z.nullable(z.record(z.string(), z.string())).optional(),
|
|
36
|
-
bearerToken: z.nullable(z.string()).optional(),
|
|
37
|
-
githubInstallationId: z.nullable(z.string()).optional(),
|
|
38
|
-
}).transform((v) => {
|
|
39
|
-
return remap$(v, {
|
|
40
|
-
bearerToken: "bearer_token",
|
|
41
|
-
githubInstallationId: "github_installation_id",
|
|
42
|
-
});
|
|
43
|
-
});
|
|
44
|
-
|
|
45
|
-
export function connectionCredentialsToJSON(
|
|
46
|
-
connectionCredentials: ConnectionCredentials,
|
|
47
|
-
): string {
|
|
48
|
-
return JSON.stringify(
|
|
49
|
-
ConnectionCredentials$outboundSchema.parse(connectionCredentials),
|
|
50
|
-
);
|
|
51
|
-
}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
-
* @generated-id: de5bf5542528
|
|
4
|
-
*/
|
|
5
|
-
|
|
6
|
-
import * as z from "zod/v4";
|
|
7
|
-
import * as openEnums from "../../types/enums.js";
|
|
8
|
-
import { OpenEnum } from "../../types/enums.js";
|
|
9
|
-
|
|
10
|
-
export const ConnectorProtocol = {
|
|
11
|
-
Mcp: "mcp",
|
|
12
|
-
Http: "http",
|
|
13
|
-
Turbine: "turbine",
|
|
14
|
-
} as const;
|
|
15
|
-
export type ConnectorProtocol = OpenEnum<typeof ConnectorProtocol>;
|
|
16
|
-
|
|
17
|
-
/** @internal */
|
|
18
|
-
export const ConnectorProtocol$inboundSchema: z.ZodType<
|
|
19
|
-
ConnectorProtocol,
|
|
20
|
-
unknown
|
|
21
|
-
> = openEnums.inboundSchema(ConnectorProtocol);
|