@rapidaai/nodejs 1.0.12 → 1.0.13
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/dist/index.d.mts +51 -198
- package/dist/index.d.ts +51 -198
- package/dist/index.js +371 -828
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +371 -821
- package/dist/index.mjs.map +1 -1
- package/package.json +4 -3
package/dist/index.js
CHANGED
|
@@ -56951,7 +56951,7 @@ __export(index_exports, {
|
|
|
56951
56951
|
AddUsersToProject: () => AddUsersToProject,
|
|
56952
56952
|
AddUsersToProjectRequest: () => import_web_api_pb4.AddUsersToProjectRequest,
|
|
56953
56953
|
AddUsersToProjectResponse: () => import_web_api_pb4.AddUsersToProjectResponse,
|
|
56954
|
-
AggregatedEndpointAnalytics: () =>
|
|
56954
|
+
AggregatedEndpointAnalytics: () => import_endpoint_api_pb.AggregatedEndpointAnalytics,
|
|
56955
56955
|
AllOrganizationCredential: () => AllOrganizationCredential,
|
|
56956
56956
|
Any: () => import_any_pb2.Any,
|
|
56957
56957
|
AnyToBool: () => AnyToBool,
|
|
@@ -56961,29 +56961,29 @@ __export(index_exports, {
|
|
|
56961
56961
|
AnyToString: () => AnyToString,
|
|
56962
56962
|
ArchiveProjectRequest: () => import_web_api_pb4.ArchiveProjectRequest,
|
|
56963
56963
|
ArchiveProjectResponse: () => import_web_api_pb4.ArchiveProjectResponse,
|
|
56964
|
-
Argument: () =>
|
|
56965
|
-
Assistant: () =>
|
|
56966
|
-
AssistantAnalysis: () =>
|
|
56964
|
+
Argument: () => import_common_pb11.Argument,
|
|
56965
|
+
Assistant: () => import_assistant_api_pb.Assistant,
|
|
56966
|
+
AssistantAnalysis: () => import_assistant_analysis_pb.AssistantAnalysis,
|
|
56967
56967
|
AssistantApiDeployment: () => import_assistant_deployment_pb.AssistantApiDeployment,
|
|
56968
|
-
AssistantConversation: () =>
|
|
56968
|
+
AssistantConversation: () => import_common_pb11.AssistantConversation,
|
|
56969
56969
|
AssistantConversationAssistantMessage: () => import_talk_api_pb3.AssistantConversationAssistantMessage,
|
|
56970
56970
|
AssistantConversationConfiguration: () => import_talk_api_pb3.AssistantConversationConfiguration,
|
|
56971
|
-
AssistantConversationContext: () =>
|
|
56971
|
+
AssistantConversationContext: () => import_common_pb11.AssistantConversationContext,
|
|
56972
56972
|
AssistantConversationInterruption: () => import_talk_api_pb3.AssistantConversationInterruption,
|
|
56973
|
-
AssistantConversationMessage: () =>
|
|
56973
|
+
AssistantConversationMessage: () => import_common_pb11.AssistantConversationMessage,
|
|
56974
56974
|
AssistantConversationUserMessage: () => import_talk_api_pb3.AssistantConversationUserMessage,
|
|
56975
56975
|
AssistantDebuggerDeployment: () => import_assistant_deployment_pb.AssistantDebuggerDeployment,
|
|
56976
56976
|
AssistantDefinition: () => import_talk_api_pb3.AssistantDefinition,
|
|
56977
|
-
AssistantKnowledge: () =>
|
|
56978
|
-
AssistantMessageStage: () =>
|
|
56977
|
+
AssistantKnowledge: () => import_assistant_knowledge_pb.AssistantKnowledge,
|
|
56978
|
+
AssistantMessageStage: () => import_common_pb11.AssistantMessageStage,
|
|
56979
56979
|
AssistantMessagingRequest: () => import_talk_api_pb3.AssistantMessagingRequest,
|
|
56980
56980
|
AssistantMessagingResponse: () => import_talk_api_pb3.AssistantMessagingResponse,
|
|
56981
56981
|
AssistantPhoneDeployment: () => import_assistant_deployment_pb.AssistantPhoneDeployment,
|
|
56982
|
-
AssistantProviderModel: () =>
|
|
56982
|
+
AssistantProviderModel: () => import_assistant_api_pb.AssistantProviderModel,
|
|
56983
56983
|
AssistantTalk: () => AssistantTalk,
|
|
56984
|
-
AssistantTool: () =>
|
|
56985
|
-
AssistantWebhook: () =>
|
|
56986
|
-
AssistantWebhookLog: () =>
|
|
56984
|
+
AssistantTool: () => import_assistant_tool_pb.AssistantTool,
|
|
56985
|
+
AssistantWebhook: () => import_assistant_webhook_pb.AssistantWebhook,
|
|
56986
|
+
AssistantWebhookLog: () => import_assistant_webhook_pb.AssistantWebhookLog,
|
|
56987
56987
|
AssistantWebpluginDeployment: () => import_assistant_deployment_pb.AssistantWebpluginDeployment,
|
|
56988
56988
|
AssistantWhatsappDeployment: () => import_assistant_deployment_pb.AssistantWhatsappDeployment,
|
|
56989
56989
|
AuditLog: () => import_audit_logging_api_pb2.AuditLog,
|
|
@@ -56994,30 +56994,30 @@ __export(index_exports, {
|
|
|
56994
56994
|
AuthenticationError: () => import_web_api_pb4.AuthenticationError,
|
|
56995
56995
|
AuthorizeRequest: () => import_web_api_pb4.AuthorizeRequest,
|
|
56996
56996
|
AuthorizeUser: () => AuthorizeUser,
|
|
56997
|
-
BaseResponse: () =>
|
|
56997
|
+
BaseResponse: () => import_common_pb11.BaseResponse,
|
|
56998
56998
|
BoolToAny: () => BoolToAny,
|
|
56999
56999
|
BytesToAny: () => BytesToAny,
|
|
57000
57000
|
ChatRequest: () => import_integration_api_pb.ChatRequest,
|
|
57001
57001
|
ChatResponse: () => import_integration_api_pb.ChatResponse,
|
|
57002
57002
|
ConnectionConfig: () => ConnectionConfig,
|
|
57003
57003
|
Contact: () => import_sendgrid_api_pb.Contact,
|
|
57004
|
-
Content: () =>
|
|
57004
|
+
Content: () => import_common_pb11.Content,
|
|
57005
57005
|
CreateAnalysis: () => CreateAnalysis,
|
|
57006
57006
|
CreateAssistant: () => CreateAssistant,
|
|
57007
|
-
CreateAssistantAnalysisRequest: () =>
|
|
57007
|
+
CreateAssistantAnalysisRequest: () => import_assistant_analysis_pb.CreateAssistantAnalysisRequest,
|
|
57008
57008
|
CreateAssistantApiDeployment: () => CreateAssistantApiDeployment,
|
|
57009
57009
|
CreateAssistantDebuggerDeployment: () => CreateAssistantDebuggerDeployment,
|
|
57010
57010
|
CreateAssistantKnowledge: () => CreateAssistantKnowledge,
|
|
57011
|
-
CreateAssistantKnowledgeRequest: () =>
|
|
57011
|
+
CreateAssistantKnowledgeRequest: () => import_assistant_knowledge_pb.CreateAssistantKnowledgeRequest,
|
|
57012
57012
|
CreateAssistantPhoneDeployment: () => CreateAssistantPhoneDeployment,
|
|
57013
57013
|
CreateAssistantProviderModel: () => CreateAssistantProviderModel,
|
|
57014
|
-
CreateAssistantProviderModelRequest: () =>
|
|
57015
|
-
CreateAssistantRequest: () =>
|
|
57014
|
+
CreateAssistantProviderModelRequest: () => import_assistant_api_pb.CreateAssistantProviderModelRequest,
|
|
57015
|
+
CreateAssistantRequest: () => import_assistant_api_pb.CreateAssistantRequest,
|
|
57016
57016
|
CreateAssistantTag: () => CreateAssistantTag,
|
|
57017
|
-
CreateAssistantTagRequest: () =>
|
|
57017
|
+
CreateAssistantTagRequest: () => import_assistant_api_pb.CreateAssistantTagRequest,
|
|
57018
57018
|
CreateAssistantTool: () => CreateAssistantTool,
|
|
57019
|
-
CreateAssistantToolRequest: () =>
|
|
57020
|
-
CreateAssistantWebhookRequest: () =>
|
|
57019
|
+
CreateAssistantToolRequest: () => import_assistant_tool_pb.CreateAssistantToolRequest,
|
|
57020
|
+
CreateAssistantWebhookRequest: () => import_assistant_webhook_pb.CreateAssistantWebhookRequest,
|
|
57021
57021
|
CreateAssistantWebpluginDeployment: () => CreateAssistantWebpluginDeployment,
|
|
57022
57022
|
CreateAssistantWhatsappDeployment: () => CreateAssistantWhatsappDeployment,
|
|
57023
57023
|
CreateBulkPhoneCall: () => CreateBulkPhoneCall,
|
|
@@ -57026,20 +57026,16 @@ __export(index_exports, {
|
|
|
57026
57026
|
CreateConversationMetric: () => CreateConversationMetric,
|
|
57027
57027
|
CreateConversationMetricRequest: () => import_talk_api_pb3.CreateConversationMetricRequest,
|
|
57028
57028
|
CreateConversationMetricResponse: () => import_talk_api_pb3.CreateConversationMetricResponse,
|
|
57029
|
-
|
|
57030
|
-
|
|
57031
|
-
|
|
57032
|
-
|
|
57033
|
-
|
|
57034
|
-
|
|
57035
|
-
CreateEndpointProviderModelResponse: () => import_endpoint_api_pb2.CreateEndpointProviderModelResponse,
|
|
57036
|
-
CreateEndpointRequest: () => import_endpoint_api_pb2.CreateEndpointRequest,
|
|
57037
|
-
CreateEndpointResponse: () => import_endpoint_api_pb2.CreateEndpointResponse,
|
|
57029
|
+
CreateEndpointCacheConfigurationRequest: () => import_endpoint_api_pb.CreateEndpointCacheConfigurationRequest,
|
|
57030
|
+
CreateEndpointCacheConfigurationResponse: () => import_endpoint_api_pb.CreateEndpointCacheConfigurationResponse,
|
|
57031
|
+
CreateEndpointProviderModelRequest: () => import_endpoint_api_pb.CreateEndpointProviderModelRequest,
|
|
57032
|
+
CreateEndpointProviderModelResponse: () => import_endpoint_api_pb.CreateEndpointProviderModelResponse,
|
|
57033
|
+
CreateEndpointRequest: () => import_endpoint_api_pb.CreateEndpointRequest,
|
|
57034
|
+
CreateEndpointResponse: () => import_endpoint_api_pb.CreateEndpointResponse,
|
|
57038
57035
|
CreateEndpointRetryConfiguration: () => CreateEndpointRetryConfiguration,
|
|
57039
|
-
CreateEndpointRetryConfigurationRequest: () =>
|
|
57040
|
-
CreateEndpointRetryConfigurationResponse: () =>
|
|
57041
|
-
|
|
57042
|
-
CreateEndpointTagRequest: () => import_endpoint_api_pb2.CreateEndpointTagRequest,
|
|
57036
|
+
CreateEndpointRetryConfigurationRequest: () => import_endpoint_api_pb.CreateEndpointRetryConfigurationRequest,
|
|
57037
|
+
CreateEndpointRetryConfigurationResponse: () => import_endpoint_api_pb.CreateEndpointRetryConfigurationResponse,
|
|
57038
|
+
CreateEndpointTagRequest: () => import_endpoint_api_pb.CreateEndpointTagRequest,
|
|
57043
57039
|
CreateKnowledge: () => CreateKnowledge,
|
|
57044
57040
|
CreateKnowledgeDocument: () => CreateKnowledgeDocument,
|
|
57045
57041
|
CreateKnowledgeDocumentRequest: () => import_knowledge_api_pb3.CreateKnowledgeDocumentRequest,
|
|
@@ -57074,17 +57070,17 @@ __export(index_exports, {
|
|
|
57074
57070
|
CreateToolCredentialRequest: () => import_vault_api_pb2.CreateToolCredentialRequest,
|
|
57075
57071
|
CreateWebhook: () => CreateWebhook,
|
|
57076
57072
|
Credential: () => import_integration_api_pb.Credential,
|
|
57077
|
-
Criteria: () =>
|
|
57073
|
+
Criteria: () => import_common_pb11.Criteria,
|
|
57078
57074
|
DeleteAssistant: () => DeleteAssistant,
|
|
57079
57075
|
DeleteAssistantAnalysis: () => DeleteAssistantAnalysis,
|
|
57080
|
-
DeleteAssistantAnalysisRequest: () =>
|
|
57076
|
+
DeleteAssistantAnalysisRequest: () => import_assistant_analysis_pb.DeleteAssistantAnalysisRequest,
|
|
57081
57077
|
DeleteAssistantKnowledge: () => DeleteAssistantKnowledge,
|
|
57082
|
-
DeleteAssistantKnowledgeRequest: () =>
|
|
57083
|
-
DeleteAssistantRequest: () =>
|
|
57078
|
+
DeleteAssistantKnowledgeRequest: () => import_assistant_knowledge_pb.DeleteAssistantKnowledgeRequest,
|
|
57079
|
+
DeleteAssistantRequest: () => import_assistant_api_pb.DeleteAssistantRequest,
|
|
57084
57080
|
DeleteAssistantTool: () => DeleteAssistantTool,
|
|
57085
|
-
DeleteAssistantToolRequest: () =>
|
|
57081
|
+
DeleteAssistantToolRequest: () => import_assistant_tool_pb.DeleteAssistantToolRequest,
|
|
57086
57082
|
DeleteAssistantWebhook: () => DeleteAssistantWebhook,
|
|
57087
|
-
DeleteAssistantWebhookRequest: () =>
|
|
57083
|
+
DeleteAssistantWebhookRequest: () => import_assistant_webhook_pb.DeleteAssistantWebhookRequest,
|
|
57088
57084
|
DeleteCredentialRequest: () => import_vault_api_pb2.DeleteCredentialRequest,
|
|
57089
57085
|
DeleteKnowledgeDocumentSegment: () => DeleteKnowledgeDocumentSegment,
|
|
57090
57086
|
DeleteKnowledgeDocumentSegmentRequest: () => import_knowledge_api_pb3.DeleteKnowledgeDocumentSegmentRequest,
|
|
@@ -57094,23 +57090,23 @@ __export(index_exports, {
|
|
|
57094
57090
|
Embedding: () => import_integration_api_pb.Embedding,
|
|
57095
57091
|
EmbeddingRequest: () => import_integration_api_pb.EmbeddingRequest,
|
|
57096
57092
|
EmbeddingResponse: () => import_integration_api_pb.EmbeddingResponse,
|
|
57097
|
-
Endpoint: () =>
|
|
57098
|
-
EndpointAttribute: () =>
|
|
57099
|
-
EndpointCacheConfiguration: () =>
|
|
57100
|
-
EndpointDefinition: () =>
|
|
57101
|
-
EndpointLog: () =>
|
|
57102
|
-
EndpointProviderModel: () =>
|
|
57103
|
-
EndpointProviderModelAttribute: () =>
|
|
57104
|
-
EndpointRetryConfiguration: () =>
|
|
57105
|
-
Error: () =>
|
|
57093
|
+
Endpoint: () => import_endpoint_api_pb.Endpoint,
|
|
57094
|
+
EndpointAttribute: () => import_endpoint_api_pb.EndpointAttribute,
|
|
57095
|
+
EndpointCacheConfiguration: () => import_endpoint_api_pb.EndpointCacheConfiguration,
|
|
57096
|
+
EndpointDefinition: () => import_invoker_api_pb.EndpointDefinition,
|
|
57097
|
+
EndpointLog: () => import_endpoint_api_pb.EndpointLog,
|
|
57098
|
+
EndpointProviderModel: () => import_endpoint_api_pb.EndpointProviderModel,
|
|
57099
|
+
EndpointProviderModelAttribute: () => import_endpoint_api_pb.EndpointProviderModelAttribute,
|
|
57100
|
+
EndpointRetryConfiguration: () => import_endpoint_api_pb.EndpointRetryConfiguration,
|
|
57101
|
+
Error: () => import_common_pb11.Error,
|
|
57106
57102
|
FeaturePermission: () => import_web_api_pb4.FeaturePermission,
|
|
57107
|
-
FieldSelector: () =>
|
|
57103
|
+
FieldSelector: () => import_common_pb11.FieldSelector,
|
|
57108
57104
|
FloatToAny: () => FloatToAny,
|
|
57109
57105
|
ForgotPassword: () => ForgotPassword,
|
|
57110
57106
|
ForgotPasswordRequest: () => import_web_api_pb4.ForgotPasswordRequest,
|
|
57111
57107
|
ForgotPasswordResponse: () => import_web_api_pb4.ForgotPasswordResponse,
|
|
57112
|
-
ForkEndpointRequest: () =>
|
|
57113
|
-
FunctionCall: () =>
|
|
57108
|
+
ForkEndpointRequest: () => import_endpoint_api_pb.ForkEndpointRequest,
|
|
57109
|
+
FunctionCall: () => import_common_pb11.FunctionCall,
|
|
57114
57110
|
FunctionDefinition: () => import_integration_api_pb.FunctionDefinition,
|
|
57115
57111
|
FunctionParameter: () => import_integration_api_pb.FunctionParameter,
|
|
57116
57112
|
FunctionParameterProperty: () => import_integration_api_pb.FunctionParameterProperty,
|
|
@@ -57121,49 +57117,47 @@ __export(index_exports, {
|
|
|
57121
57117
|
GetActivity: () => GetActivity,
|
|
57122
57118
|
GetAllAssistant: () => GetAllAssistant,
|
|
57123
57119
|
GetAllAssistantAnalysis: () => GetAllAssistantAnalysis,
|
|
57124
|
-
GetAllAssistantAnalysisRequest: () =>
|
|
57125
|
-
GetAllAssistantAnalysisResponse: () =>
|
|
57120
|
+
GetAllAssistantAnalysisRequest: () => import_assistant_analysis_pb.GetAllAssistantAnalysisRequest,
|
|
57121
|
+
GetAllAssistantAnalysisResponse: () => import_assistant_analysis_pb.GetAllAssistantAnalysisResponse,
|
|
57126
57122
|
GetAllAssistantConversation: () => GetAllAssistantConversation,
|
|
57127
57123
|
GetAllAssistantConversationMessage: () => GetAllAssistantConversationMessage,
|
|
57128
|
-
GetAllAssistantConversationRequest: () =>
|
|
57129
|
-
GetAllAssistantConversationResponse: () =>
|
|
57124
|
+
GetAllAssistantConversationRequest: () => import_common_pb11.GetAllAssistantConversationRequest,
|
|
57125
|
+
GetAllAssistantConversationResponse: () => import_common_pb11.GetAllAssistantConversationResponse,
|
|
57130
57126
|
GetAllAssistantKnowledge: () => GetAllAssistantKnowledge,
|
|
57131
|
-
GetAllAssistantKnowledgeRequest: () =>
|
|
57132
|
-
GetAllAssistantKnowledgeResponse: () =>
|
|
57133
|
-
GetAllAssistantMessageRequest: () =>
|
|
57134
|
-
GetAllAssistantMessageResponse: () =>
|
|
57127
|
+
GetAllAssistantKnowledgeRequest: () => import_assistant_knowledge_pb.GetAllAssistantKnowledgeRequest,
|
|
57128
|
+
GetAllAssistantKnowledgeResponse: () => import_assistant_knowledge_pb.GetAllAssistantKnowledgeResponse,
|
|
57129
|
+
GetAllAssistantMessageRequest: () => import_assistant_api_pb.GetAllAssistantMessageRequest,
|
|
57130
|
+
GetAllAssistantMessageResponse: () => import_assistant_api_pb.GetAllAssistantMessageResponse,
|
|
57135
57131
|
GetAllAssistantProviderModel: () => GetAllAssistantProviderModel,
|
|
57136
|
-
GetAllAssistantProviderModelRequest: () =>
|
|
57137
|
-
GetAllAssistantProviderModelResponse: () =>
|
|
57138
|
-
GetAllAssistantRequest: () =>
|
|
57139
|
-
GetAllAssistantResponse: () =>
|
|
57140
|
-
GetAllAssistantSession: () => GetAllAssistantSession,
|
|
57132
|
+
GetAllAssistantProviderModelRequest: () => import_assistant_api_pb.GetAllAssistantProviderModelRequest,
|
|
57133
|
+
GetAllAssistantProviderModelResponse: () => import_assistant_api_pb.GetAllAssistantProviderModelResponse,
|
|
57134
|
+
GetAllAssistantRequest: () => import_assistant_api_pb.GetAllAssistantRequest,
|
|
57135
|
+
GetAllAssistantResponse: () => import_assistant_api_pb.GetAllAssistantResponse,
|
|
57141
57136
|
GetAllAssistantTool: () => GetAllAssistantTool,
|
|
57142
|
-
GetAllAssistantToolRequest: () =>
|
|
57143
|
-
GetAllAssistantToolResponse: () =>
|
|
57144
|
-
GetAllAssistantUserConversationRequest: () =>
|
|
57145
|
-
GetAllAssistantUserConversationResponse: () =>
|
|
57137
|
+
GetAllAssistantToolRequest: () => import_assistant_tool_pb.GetAllAssistantToolRequest,
|
|
57138
|
+
GetAllAssistantToolResponse: () => import_assistant_tool_pb.GetAllAssistantToolResponse,
|
|
57139
|
+
GetAllAssistantUserConversationRequest: () => import_assistant_api_pb.GetAllAssistantUserConversationRequest,
|
|
57140
|
+
GetAllAssistantUserConversationResponse: () => import_assistant_api_pb.GetAllAssistantUserConversationResponse,
|
|
57146
57141
|
GetAllAssistantWebhook: () => GetAllAssistantWebhook,
|
|
57147
|
-
GetAllAssistantWebhookLogRequest: () =>
|
|
57148
|
-
GetAllAssistantWebhookLogResponse: () =>
|
|
57149
|
-
GetAllAssistantWebhookRequest: () =>
|
|
57150
|
-
GetAllAssistantWebhookResponse: () =>
|
|
57142
|
+
GetAllAssistantWebhookLogRequest: () => import_assistant_webhook_pb.GetAllAssistantWebhookLogRequest,
|
|
57143
|
+
GetAllAssistantWebhookLogResponse: () => import_assistant_webhook_pb.GetAllAssistantWebhookLogResponse,
|
|
57144
|
+
GetAllAssistantWebhookRequest: () => import_assistant_webhook_pb.GetAllAssistantWebhookRequest,
|
|
57145
|
+
GetAllAssistantWebhookResponse: () => import_assistant_webhook_pb.GetAllAssistantWebhookResponse,
|
|
57151
57146
|
GetAllAuditLogRequest: () => import_audit_logging_api_pb2.GetAllAuditLogRequest,
|
|
57152
57147
|
GetAllAuditLogResponse: () => import_audit_logging_api_pb2.GetAllAuditLogResponse,
|
|
57153
|
-
GetAllConversationMessageRequest: () =>
|
|
57154
|
-
GetAllConversationMessageResponse: () =>
|
|
57148
|
+
GetAllConversationMessageRequest: () => import_common_pb11.GetAllConversationMessageRequest,
|
|
57149
|
+
GetAllConversationMessageResponse: () => import_common_pb11.GetAllConversationMessageResponse,
|
|
57155
57150
|
GetAllDeployment: () => GetAllDeployment,
|
|
57156
57151
|
GetAllDeploymentRequest: () => import_marketplace_api_pb2.GetAllDeploymentRequest,
|
|
57157
57152
|
GetAllDeploymentResponse: () => import_marketplace_api_pb2.GetAllDeploymentResponse,
|
|
57158
57153
|
GetAllEndpoint: () => GetAllEndpoint,
|
|
57159
|
-
|
|
57160
|
-
|
|
57161
|
-
GetAllEndpointLogResponse: () => import_endpoint_api_pb2.GetAllEndpointLogResponse,
|
|
57154
|
+
GetAllEndpointLogRequest: () => import_endpoint_api_pb.GetAllEndpointLogRequest,
|
|
57155
|
+
GetAllEndpointLogResponse: () => import_endpoint_api_pb.GetAllEndpointLogResponse,
|
|
57162
57156
|
GetAllEndpointProviderModel: () => GetAllEndpointProviderModel,
|
|
57163
|
-
GetAllEndpointProviderModelRequest: () =>
|
|
57164
|
-
GetAllEndpointProviderModelResponse: () =>
|
|
57165
|
-
GetAllEndpointRequest: () =>
|
|
57166
|
-
GetAllEndpointResponse: () =>
|
|
57157
|
+
GetAllEndpointProviderModelRequest: () => import_endpoint_api_pb.GetAllEndpointProviderModelRequest,
|
|
57158
|
+
GetAllEndpointProviderModelResponse: () => import_endpoint_api_pb.GetAllEndpointProviderModelResponse,
|
|
57159
|
+
GetAllEndpointRequest: () => import_endpoint_api_pb.GetAllEndpointRequest,
|
|
57160
|
+
GetAllEndpointResponse: () => import_endpoint_api_pb.GetAllEndpointResponse,
|
|
57167
57161
|
GetAllKnowledgeBases: () => GetAllKnowledgeBases,
|
|
57168
57162
|
GetAllKnowledgeDocument: () => GetAllKnowledgeDocument,
|
|
57169
57163
|
GetAllKnowledgeDocumentRequest: () => import_knowledge_api_pb3.GetAllKnowledgeDocumentRequest,
|
|
@@ -57173,8 +57167,8 @@ __export(index_exports, {
|
|
|
57173
57167
|
GetAllKnowledgeDocumentSegmentResponse: () => import_knowledge_api_pb3.GetAllKnowledgeDocumentSegmentResponse,
|
|
57174
57168
|
GetAllKnowledgeRequest: () => import_knowledge_api_pb3.GetAllKnowledgeRequest,
|
|
57175
57169
|
GetAllKnowledgeResponse: () => import_knowledge_api_pb3.GetAllKnowledgeResponse,
|
|
57176
|
-
GetAllMessageRequest: () =>
|
|
57177
|
-
GetAllMessageResponse: () =>
|
|
57170
|
+
GetAllMessageRequest: () => import_assistant_api_pb.GetAllMessageRequest,
|
|
57171
|
+
GetAllMessageResponse: () => import_assistant_api_pb.GetAllMessageResponse,
|
|
57178
57172
|
GetAllModelProviderRequest: () => import_provider_api_pb2.GetAllModelProviderRequest,
|
|
57179
57173
|
GetAllModelProviderResponse: () => import_provider_api_pb2.GetAllModelProviderResponse,
|
|
57180
57174
|
GetAllOrganizationCredentialRequest: () => import_vault_api_pb2.GetAllOrganizationCredentialRequest,
|
|
@@ -57195,30 +57189,30 @@ __export(index_exports, {
|
|
|
57195
57189
|
GetAllWebhookLog: () => GetAllWebhookLog,
|
|
57196
57190
|
GetAssistant: () => GetAssistant,
|
|
57197
57191
|
GetAssistantAnalysis: () => GetAssistantAnalysis,
|
|
57198
|
-
GetAssistantAnalysisRequest: () =>
|
|
57199
|
-
GetAssistantAnalysisResponse: () =>
|
|
57192
|
+
GetAssistantAnalysisRequest: () => import_assistant_analysis_pb.GetAssistantAnalysisRequest,
|
|
57193
|
+
GetAssistantAnalysisResponse: () => import_assistant_analysis_pb.GetAssistantAnalysisResponse,
|
|
57200
57194
|
GetAssistantApiDeployment: () => GetAssistantApiDeployment,
|
|
57201
57195
|
GetAssistantConversation: () => GetAssistantConversation,
|
|
57202
|
-
GetAssistantConversationRequest: () =>
|
|
57203
|
-
GetAssistantConversationResponse: () =>
|
|
57196
|
+
GetAssistantConversationRequest: () => import_assistant_api_pb.GetAssistantConversationRequest,
|
|
57197
|
+
GetAssistantConversationResponse: () => import_assistant_api_pb.GetAssistantConversationResponse,
|
|
57204
57198
|
GetAssistantDebuggerDeployment: () => GetAssistantDebuggerDeployment,
|
|
57205
57199
|
GetAssistantDeploymentRequest: () => import_assistant_deployment_pb.GetAssistantDeploymentRequest,
|
|
57206
57200
|
GetAssistantKnowledge: () => GetAssistantKnowledge,
|
|
57207
|
-
GetAssistantKnowledgeRequest: () =>
|
|
57208
|
-
GetAssistantKnowledgeResponse: () =>
|
|
57201
|
+
GetAssistantKnowledgeRequest: () => import_assistant_knowledge_pb.GetAssistantKnowledgeRequest,
|
|
57202
|
+
GetAssistantKnowledgeResponse: () => import_assistant_knowledge_pb.GetAssistantKnowledgeResponse,
|
|
57209
57203
|
GetAssistantMessages: () => GetAssistantMessages,
|
|
57210
57204
|
GetAssistantPhoneDeployment: () => GetAssistantPhoneDeployment,
|
|
57211
|
-
GetAssistantProviderModelResponse: () =>
|
|
57212
|
-
GetAssistantRequest: () =>
|
|
57213
|
-
GetAssistantResponse: () =>
|
|
57205
|
+
GetAssistantProviderModelResponse: () => import_assistant_api_pb.GetAssistantProviderModelResponse,
|
|
57206
|
+
GetAssistantRequest: () => import_assistant_api_pb.GetAssistantRequest,
|
|
57207
|
+
GetAssistantResponse: () => import_assistant_api_pb.GetAssistantResponse,
|
|
57214
57208
|
GetAssistantTool: () => GetAssistantTool,
|
|
57215
|
-
GetAssistantToolRequest: () =>
|
|
57216
|
-
GetAssistantToolResponse: () =>
|
|
57209
|
+
GetAssistantToolRequest: () => import_assistant_tool_pb.GetAssistantToolRequest,
|
|
57210
|
+
GetAssistantToolResponse: () => import_assistant_tool_pb.GetAssistantToolResponse,
|
|
57217
57211
|
GetAssistantWebhook: () => GetAssistantWebhook,
|
|
57218
|
-
GetAssistantWebhookLogRequest: () =>
|
|
57219
|
-
GetAssistantWebhookLogResponse: () =>
|
|
57220
|
-
GetAssistantWebhookRequest: () =>
|
|
57221
|
-
GetAssistantWebhookResponse: () =>
|
|
57212
|
+
GetAssistantWebhookLogRequest: () => import_assistant_webhook_pb.GetAssistantWebhookLogRequest,
|
|
57213
|
+
GetAssistantWebhookLogResponse: () => import_assistant_webhook_pb.GetAssistantWebhookLogResponse,
|
|
57214
|
+
GetAssistantWebhookRequest: () => import_assistant_webhook_pb.GetAssistantWebhookRequest,
|
|
57215
|
+
GetAssistantWebhookResponse: () => import_assistant_webhook_pb.GetAssistantWebhookResponse,
|
|
57222
57216
|
GetAssistantWebpluginDeployment: () => GetAssistantWebpluginDeployment,
|
|
57223
57217
|
GetAssistantWhatsappDeployment: () => GetAssistantWhatsappDeployment,
|
|
57224
57218
|
GetAuditLogRequest: () => import_audit_logging_api_pb2.GetAuditLogRequest,
|
|
@@ -57229,10 +57223,10 @@ __export(index_exports, {
|
|
|
57229
57223
|
GetCredentialResponse: () => import_vault_api_pb2.GetCredentialResponse,
|
|
57230
57224
|
GetEndpoint: () => GetEndpoint,
|
|
57231
57225
|
GetEndpointLog: () => GetEndpointLog,
|
|
57232
|
-
GetEndpointLogRequest: () =>
|
|
57233
|
-
GetEndpointLogResponse: () =>
|
|
57234
|
-
GetEndpointRequest: () =>
|
|
57235
|
-
GetEndpointResponse: () =>
|
|
57226
|
+
GetEndpointLogRequest: () => import_endpoint_api_pb.GetEndpointLogRequest,
|
|
57227
|
+
GetEndpointLogResponse: () => import_endpoint_api_pb.GetEndpointLogResponse,
|
|
57228
|
+
GetEndpointRequest: () => import_endpoint_api_pb.GetEndpointRequest,
|
|
57229
|
+
GetEndpointResponse: () => import_endpoint_api_pb.GetEndpointResponse,
|
|
57236
57230
|
GetKnowledgeBase: () => GetKnowledgeBase,
|
|
57237
57231
|
GetKnowledgeRequest: () => import_knowledge_api_pb3.GetKnowledgeRequest,
|
|
57238
57232
|
GetKnowledgeResponse: () => import_knowledge_api_pb3.GetKnowledgeResponse,
|
|
@@ -57283,10 +57277,10 @@ __export(index_exports, {
|
|
|
57283
57277
|
InviteMemeberEmailRequest: () => import_sendgrid_api_pb.InviteMemeberEmailRequest,
|
|
57284
57278
|
InviteMemeberEmailResponse: () => import_sendgrid_api_pb.InviteMemeberEmailResponse,
|
|
57285
57279
|
Invoke: () => Invoke,
|
|
57286
|
-
InvokeRequest: () =>
|
|
57287
|
-
InvokeResponse: () =>
|
|
57280
|
+
InvokeRequest: () => import_invoker_api_pb.InvokeRequest,
|
|
57281
|
+
InvokeResponse: () => import_invoker_api_pb.InvokeResponse,
|
|
57288
57282
|
JSONToAny: () => JSONToAny,
|
|
57289
|
-
Knowledge: () =>
|
|
57283
|
+
Knowledge: () => import_common_pb11.Knowledge,
|
|
57290
57284
|
KnowledgeConnect: () => KnowledgeConnect,
|
|
57291
57285
|
KnowledgeConnectRequest: () => import_connect_api_pb2.KnowledgeConnectRequest,
|
|
57292
57286
|
KnowledgeConnectResponse: () => import_connect_api_pb2.KnowledgeConnectResponse,
|
|
@@ -57294,22 +57288,22 @@ __export(index_exports, {
|
|
|
57294
57288
|
KnowledgeDocumentSegment: () => import_knowledge_api_pb3.KnowledgeDocumentSegment,
|
|
57295
57289
|
Linkedin: () => Linkedin,
|
|
57296
57290
|
MapToObject: () => MapToObject,
|
|
57297
|
-
Metadata: () =>
|
|
57298
|
-
Metric: () =>
|
|
57291
|
+
Metadata: () => import_common_pb11.Metadata,
|
|
57292
|
+
Metric: () => import_common_pb11.Metric,
|
|
57299
57293
|
Moderation: () => import_integration_api_pb.Moderation,
|
|
57300
|
-
Ordering: () =>
|
|
57301
|
-
Organization: () =>
|
|
57294
|
+
Ordering: () => import_common_pb11.Ordering,
|
|
57295
|
+
Organization: () => import_common_pb11.Organization,
|
|
57302
57296
|
OrganizationError: () => import_web_api_pb4.OrganizationError,
|
|
57303
57297
|
OrganizationRole: () => import_web_api_pb4.OrganizationRole,
|
|
57304
|
-
Paginate: () =>
|
|
57305
|
-
Paginated: () =>
|
|
57306
|
-
ProbeRequest: () =>
|
|
57307
|
-
ProbeResponse: () =>
|
|
57298
|
+
Paginate: () => import_common_pb11.Paginate,
|
|
57299
|
+
Paginated: () => import_common_pb11.Paginated,
|
|
57300
|
+
ProbeRequest: () => import_invoker_api_pb.ProbeRequest,
|
|
57301
|
+
ProbeResponse: () => import_invoker_api_pb.ProbeResponse,
|
|
57308
57302
|
Project: () => import_web_api_pb4.Project,
|
|
57309
57303
|
ProjectCredential: () => import_web_api_pb4.ProjectCredential,
|
|
57310
57304
|
ProjectRole: () => import_web_api_pb4.ProjectRole,
|
|
57311
|
-
ProtoMessage: () =>
|
|
57312
|
-
Provider: () =>
|
|
57305
|
+
ProtoMessage: () => import_common_pb11.Message,
|
|
57306
|
+
Provider: () => import_common_pb11.Provider,
|
|
57313
57307
|
RapidaSource: () => RapidaSource,
|
|
57314
57308
|
RegisterUser: () => RegisterUser,
|
|
57315
57309
|
RegisterUserRequest: () => import_web_api_pb4.RegisterUserRequest,
|
|
@@ -57324,30 +57318,29 @@ __export(index_exports, {
|
|
|
57324
57318
|
SearchableDeployment: () => import_marketplace_api_pb2.SearchableDeployment,
|
|
57325
57319
|
SocialAuthenticationRequest: () => import_web_api_pb4.SocialAuthenticationRequest,
|
|
57326
57320
|
StringToAny: () => StringToAny,
|
|
57327
|
-
Tag: () =>
|
|
57328
|
-
TextChatCompletePrompt: () =>
|
|
57329
|
-
TextPrompt: () =>
|
|
57321
|
+
Tag: () => import_common_pb11.Tag,
|
|
57322
|
+
TextChatCompletePrompt: () => import_common_pb11.TextChatCompletePrompt,
|
|
57323
|
+
TextPrompt: () => import_common_pb11.TextPrompt,
|
|
57330
57324
|
Token: () => import_web_api_pb4.Token,
|
|
57331
|
-
ToolCall: () =>
|
|
57325
|
+
ToolCall: () => import_common_pb11.ToolCall,
|
|
57332
57326
|
ToolDefinition: () => import_integration_api_pb.ToolDefinition,
|
|
57333
57327
|
ToolProvider: () => import_provider_api_pb2.ToolProvider,
|
|
57334
57328
|
UpdateAnalysis: () => UpdateAnalysis,
|
|
57335
|
-
UpdateAssistantAnalysisRequest: () =>
|
|
57329
|
+
UpdateAssistantAnalysisRequest: () => import_assistant_analysis_pb.UpdateAssistantAnalysisRequest,
|
|
57336
57330
|
UpdateAssistantDetail: () => UpdateAssistantDetail,
|
|
57337
|
-
UpdateAssistantDetailRequest: () =>
|
|
57331
|
+
UpdateAssistantDetailRequest: () => import_assistant_api_pb.UpdateAssistantDetailRequest,
|
|
57338
57332
|
UpdateAssistantKnowledge: () => UpdateAssistantKnowledge,
|
|
57339
|
-
UpdateAssistantKnowledgeRequest: () =>
|
|
57333
|
+
UpdateAssistantKnowledgeRequest: () => import_assistant_knowledge_pb.UpdateAssistantKnowledgeRequest,
|
|
57340
57334
|
UpdateAssistantTool: () => UpdateAssistantTool,
|
|
57341
|
-
UpdateAssistantToolRequest: () =>
|
|
57335
|
+
UpdateAssistantToolRequest: () => import_assistant_tool_pb.UpdateAssistantToolRequest,
|
|
57342
57336
|
UpdateAssistantVersion: () => UpdateAssistantVersion,
|
|
57343
|
-
UpdateAssistantVersionRequest: () =>
|
|
57344
|
-
UpdateAssistantWebhookRequest: () =>
|
|
57337
|
+
UpdateAssistantVersionRequest: () => import_assistant_api_pb.UpdateAssistantVersionRequest,
|
|
57338
|
+
UpdateAssistantWebhookRequest: () => import_assistant_webhook_pb.UpdateAssistantWebhookRequest,
|
|
57345
57339
|
UpdateBillingInformationRequest: () => import_web_api_pb4.UpdateBillingInformationRequest,
|
|
57346
|
-
|
|
57347
|
-
UpdateEndpointDetailRequest: () => import_endpoint_api_pb2.UpdateEndpointDetailRequest,
|
|
57340
|
+
UpdateEndpointDetailRequest: () => import_endpoint_api_pb.UpdateEndpointDetailRequest,
|
|
57348
57341
|
UpdateEndpointVersion: () => UpdateEndpointVersion,
|
|
57349
|
-
UpdateEndpointVersionRequest: () =>
|
|
57350
|
-
UpdateEndpointVersionResponse: () =>
|
|
57342
|
+
UpdateEndpointVersionRequest: () => import_endpoint_api_pb.UpdateEndpointVersionRequest,
|
|
57343
|
+
UpdateEndpointVersionResponse: () => import_endpoint_api_pb.UpdateEndpointVersionResponse,
|
|
57351
57344
|
UpdateKnowledgeDetail: () => UpdateKnowledgeDetail,
|
|
57352
57345
|
UpdateKnowledgeDetailRequest: () => import_knowledge_api_pb3.UpdateKnowledgeDetailRequest,
|
|
57353
57346
|
UpdateKnowledgeDocumentSegment: () => UpdateKnowledgeDocumentSegment,
|
|
@@ -57358,14 +57351,14 @@ __export(index_exports, {
|
|
|
57358
57351
|
UpdateProject: () => UpdateProject,
|
|
57359
57352
|
UpdateProjectRequest: () => import_web_api_pb4.UpdateProjectRequest,
|
|
57360
57353
|
UpdateProjectResponse: () => import_web_api_pb4.UpdateProjectResponse,
|
|
57361
|
-
UpdateRequest: () =>
|
|
57362
|
-
UpdateResponse: () =>
|
|
57354
|
+
UpdateRequest: () => import_invoker_api_pb.UpdateRequest,
|
|
57355
|
+
UpdateResponse: () => import_invoker_api_pb.UpdateResponse,
|
|
57363
57356
|
UpdateUser: () => UpdateUser,
|
|
57364
57357
|
UpdateUserRequest: () => import_web_api_pb4.UpdateUserRequest,
|
|
57365
57358
|
UpdateUserResponse: () => import_web_api_pb4.UpdateUserResponse,
|
|
57366
57359
|
UpdateWebhook: () => UpdateWebhook,
|
|
57367
|
-
User: () =>
|
|
57368
|
-
Variable: () =>
|
|
57360
|
+
User: () => import_common_pb11.User,
|
|
57361
|
+
Variable: () => import_common_pb11.Variable,
|
|
57369
57362
|
VaultCredential: () => import_vault_api_pb2.VaultCredential,
|
|
57370
57363
|
VerifyCredentialRequest: () => import_integration_api_pb.VerifyCredentialRequest,
|
|
57371
57364
|
VerifyCredentialResponse: () => import_integration_api_pb.VerifyCredentialResponse,
|
|
@@ -58028,29 +58021,11 @@ function GetAllDeployment(client, page, pageSize, criteria) {
|
|
|
58028
58021
|
}
|
|
58029
58022
|
|
|
58030
58023
|
// src/clients/invoke.ts
|
|
58031
|
-
|
|
58032
|
-
function Invoke(config, endpointId, parameters, version, metadata) {
|
|
58024
|
+
function Invoke(config, req, auth) {
|
|
58033
58025
|
return new Promise((resolve, reject) => {
|
|
58034
|
-
const req = new import_invoker_api_pb.InvokeRequest();
|
|
58035
|
-
const endpoint = new import_invoker_api_pb.EndpointDefinition();
|
|
58036
|
-
endpoint.setEndpointid(endpointId);
|
|
58037
|
-
if (version) {
|
|
58038
|
-
endpoint.setVersion(version);
|
|
58039
|
-
} else {
|
|
58040
|
-
endpoint.setVersion("latest");
|
|
58041
|
-
}
|
|
58042
|
-
req.setEndpoint(endpoint);
|
|
58043
|
-
parameters.forEach((value, key) => {
|
|
58044
|
-
req.getArgsMap().set(key, value);
|
|
58045
|
-
});
|
|
58046
|
-
if (metadata) {
|
|
58047
|
-
metadata.forEach((value, key) => {
|
|
58048
|
-
req.getMetadataMap().set(key, StringToAny(value));
|
|
58049
|
-
});
|
|
58050
|
-
}
|
|
58051
58026
|
return config.deploymentClient.invoke(
|
|
58052
58027
|
req,
|
|
58053
|
-
WithAuthContext(config.auth),
|
|
58028
|
+
WithAuthContext(auth || config.auth),
|
|
58054
58029
|
(err, response) => {
|
|
58055
58030
|
if (err) reject(err);
|
|
58056
58031
|
else resolve(response);
|
|
@@ -58401,30 +58376,11 @@ function GetOrganization(connectionConfig, authHeader) {
|
|
|
58401
58376
|
}
|
|
58402
58377
|
|
|
58403
58378
|
// src/clients/assistant.ts
|
|
58404
|
-
|
|
58405
|
-
var import_assistant_api_pb = __toESM(require_assistant_api_pb());
|
|
58406
|
-
var import_assistant_analysis_pb = __toESM(require_assistant_analysis_pb());
|
|
58407
|
-
var import_assistant_tool_pb = __toESM(require_assistant_tool_pb());
|
|
58408
|
-
var import_assistant_knowledge_pb = __toESM(require_assistant_knowledge_pb());
|
|
58409
|
-
var import_assistant_webhook_pb = __toESM(require_assistant_webhook_pb());
|
|
58410
|
-
var import_common_pb6 = __toESM(require_common_pb());
|
|
58411
|
-
var import_struct_pb3 = require("google-protobuf/google/protobuf/struct_pb");
|
|
58412
|
-
function GetAllAssistant(connectionConfig, page, pageSize, criteria) {
|
|
58379
|
+
function GetAllAssistant(config, req, auth) {
|
|
58413
58380
|
return new Promise((resolve, reject) => {
|
|
58414
|
-
|
|
58415
|
-
const paginate = new import_common_pb5.Paginate();
|
|
58416
|
-
criteria.forEach(({ key, value }) => {
|
|
58417
|
-
const ctr = new import_common_pb5.Criteria();
|
|
58418
|
-
ctr.setKey(key);
|
|
58419
|
-
ctr.setValue(value);
|
|
58420
|
-
req.addCriterias(ctr);
|
|
58421
|
-
});
|
|
58422
|
-
paginate.setPage(page);
|
|
58423
|
-
paginate.setPagesize(pageSize);
|
|
58424
|
-
req.setPaginate(paginate);
|
|
58425
|
-
connectionConfig.assistantClient.getAllAssistant(
|
|
58381
|
+
config.assistantClient.getAllAssistant(
|
|
58426
58382
|
req,
|
|
58427
|
-
WithAuthContext(
|
|
58383
|
+
WithAuthContext(auth || config.auth),
|
|
58428
58384
|
(err, response) => {
|
|
58429
58385
|
if (err) reject(err);
|
|
58430
58386
|
else resolve(response);
|
|
@@ -58432,14 +58388,11 @@ function GetAllAssistant(connectionConfig, page, pageSize, criteria) {
|
|
|
58432
58388
|
);
|
|
58433
58389
|
});
|
|
58434
58390
|
}
|
|
58435
|
-
function UpdateAssistantVersion(
|
|
58391
|
+
function UpdateAssistantVersion(config, req, auth) {
|
|
58436
58392
|
return new Promise((resolve, reject) => {
|
|
58437
|
-
|
|
58438
|
-
req.setAssistantid(assistantId);
|
|
58439
|
-
req.setAssistantprovidermodelid(assistantProviderModelId);
|
|
58440
|
-
connectionConfig.assistantClient.updateAssistantVersion(
|
|
58393
|
+
config.assistantClient.updateAssistantVersion(
|
|
58441
58394
|
req,
|
|
58442
|
-
WithAuthContext(
|
|
58395
|
+
WithAuthContext(auth || config.auth),
|
|
58443
58396
|
(err, response) => {
|
|
58444
58397
|
if (err) reject(err);
|
|
58445
58398
|
else resolve(response);
|
|
@@ -58447,23 +58400,11 @@ function UpdateAssistantVersion(connectionConfig, assistantId, assistantProvider
|
|
|
58447
58400
|
);
|
|
58448
58401
|
});
|
|
58449
58402
|
}
|
|
58450
|
-
function GetAllAssistantProviderModel(
|
|
58403
|
+
function GetAllAssistantProviderModel(config, req, auth) {
|
|
58451
58404
|
return new Promise((resolve, reject) => {
|
|
58452
|
-
|
|
58453
|
-
req.setAssistantid(assistantId);
|
|
58454
|
-
const paginate = new import_common_pb5.Paginate();
|
|
58455
|
-
criteria.forEach(({ key, value }) => {
|
|
58456
|
-
const ctr = new import_common_pb5.Criteria();
|
|
58457
|
-
ctr.setKey(key);
|
|
58458
|
-
ctr.setValue(value);
|
|
58459
|
-
req.addCriterias(ctr);
|
|
58460
|
-
});
|
|
58461
|
-
paginate.setPage(page);
|
|
58462
|
-
paginate.setPagesize(pageSize);
|
|
58463
|
-
req.setPaginate(paginate);
|
|
58464
|
-
connectionConfig.assistantClient.getAllAssistantProviderModel(
|
|
58405
|
+
config.assistantClient.getAllAssistantProviderModel(
|
|
58465
58406
|
req,
|
|
58466
|
-
WithAuthContext(
|
|
58407
|
+
WithAuthContext(auth || config.auth),
|
|
58467
58408
|
(err, response) => {
|
|
58468
58409
|
if (err) reject(err);
|
|
58469
58410
|
else resolve(response);
|
|
@@ -58471,16 +58412,11 @@ function GetAllAssistantProviderModel(connectionConfig, assistantId, page, pageS
|
|
|
58471
58412
|
);
|
|
58472
58413
|
});
|
|
58473
58414
|
}
|
|
58474
|
-
function GetAssistant(
|
|
58415
|
+
function GetAssistant(config, req, auth) {
|
|
58475
58416
|
return new Promise((resolve, reject) => {
|
|
58476
|
-
|
|
58477
|
-
req.setId(assistantId);
|
|
58478
|
-
if (assistantProviderModelId) {
|
|
58479
|
-
req.setAssistantprovidermodelid(assistantProviderModelId);
|
|
58480
|
-
}
|
|
58481
|
-
connectionConfig.assistantClient.getAssistant(
|
|
58417
|
+
config.assistantClient.getAssistant(
|
|
58482
58418
|
req,
|
|
58483
|
-
WithAuthContext(
|
|
58419
|
+
WithAuthContext(auth || config.auth),
|
|
58484
58420
|
(err, response) => {
|
|
58485
58421
|
if (err) reject(err);
|
|
58486
58422
|
else resolve(response);
|
|
@@ -58488,18 +58424,11 @@ function GetAssistant(connectionConfig, assistantId, assistantProviderModelId) {
|
|
|
58488
58424
|
);
|
|
58489
58425
|
});
|
|
58490
58426
|
}
|
|
58491
|
-
function CreateAssistantProviderModel(
|
|
58427
|
+
function CreateAssistantProviderModel(config, req, auth) {
|
|
58492
58428
|
return new Promise((resolve, reject) => {
|
|
58493
|
-
|
|
58494
|
-
req.setAssistantid(assistantId);
|
|
58495
|
-
req.setDescription(description);
|
|
58496
|
-
req.setAssistantmodeloptionsList(modelProviderOptions);
|
|
58497
|
-
req.setModelproviderid(modelProviderId);
|
|
58498
|
-
req.setTemplate(template);
|
|
58499
|
-
req.setModelprovidername(modelProviderName);
|
|
58500
|
-
connectionConfig.assistantClient.createAssistantProviderModel(
|
|
58429
|
+
config.assistantClient.createAssistantProviderModel(
|
|
58501
58430
|
req,
|
|
58502
|
-
WithAuthContext(
|
|
58431
|
+
WithAuthContext(auth || config.auth),
|
|
58503
58432
|
(err, response) => {
|
|
58504
58433
|
if (err) reject(err);
|
|
58505
58434
|
else resolve(response);
|
|
@@ -58507,20 +58436,11 @@ function CreateAssistantProviderModel(connectionConfig, assistantId, template, m
|
|
|
58507
58436
|
);
|
|
58508
58437
|
});
|
|
58509
58438
|
}
|
|
58510
|
-
function CreateAssistant(
|
|
58439
|
+
function CreateAssistant(config, req, auth) {
|
|
58511
58440
|
return new Promise((resolve, reject) => {
|
|
58512
|
-
|
|
58513
|
-
req.setName(name);
|
|
58514
|
-
req.setDescription(description);
|
|
58515
|
-
req.setTagsList(tagsList);
|
|
58516
|
-
req.setAssistantprovidermodel(assistantProviderModel);
|
|
58517
|
-
if (assistantKnowledgeConfig)
|
|
58518
|
-
req.setAssistantknowledgesList(assistantKnowledgeConfig);
|
|
58519
|
-
if (assistantToolConfig) req.setAssistanttoolsList(assistantToolConfig);
|
|
58520
|
-
req.setTagsList(tags);
|
|
58521
|
-
connectionConfig.assistantClient.createAssistant(
|
|
58441
|
+
config.assistantClient.createAssistant(
|
|
58522
58442
|
req,
|
|
58523
|
-
WithAuthContext(
|
|
58443
|
+
WithAuthContext(auth || config.auth),
|
|
58524
58444
|
(err, response) => {
|
|
58525
58445
|
if (err) reject(err);
|
|
58526
58446
|
else resolve(response);
|
|
@@ -58528,14 +58448,11 @@ function CreateAssistant(connectionConfig, name, description, tagsList, assistan
|
|
|
58528
58448
|
);
|
|
58529
58449
|
});
|
|
58530
58450
|
}
|
|
58531
|
-
function CreateAssistantTag(
|
|
58451
|
+
function CreateAssistantTag(config, req, auth) {
|
|
58532
58452
|
return new Promise((resolve, reject) => {
|
|
58533
|
-
|
|
58534
|
-
req.setTagsList(tags);
|
|
58535
|
-
req.setAssistantid(assistantId);
|
|
58536
|
-
connectionConfig.assistantClient.createAssistantTag(
|
|
58453
|
+
config.assistantClient.createAssistantTag(
|
|
58537
58454
|
req,
|
|
58538
|
-
WithAuthContext(
|
|
58455
|
+
WithAuthContext(auth || config.auth),
|
|
58539
58456
|
(err, response) => {
|
|
58540
58457
|
if (err) reject(err);
|
|
58541
58458
|
else resolve(response);
|
|
@@ -58543,15 +58460,11 @@ function CreateAssistantTag(connectionConfig, assistantId, tags) {
|
|
|
58543
58460
|
);
|
|
58544
58461
|
});
|
|
58545
58462
|
}
|
|
58546
|
-
function UpdateAssistantDetail(
|
|
58463
|
+
function UpdateAssistantDetail(config, req, auth) {
|
|
58547
58464
|
return new Promise((resolve, reject) => {
|
|
58548
|
-
|
|
58549
|
-
req.setName(name);
|
|
58550
|
-
req.setDescription(description);
|
|
58551
|
-
req.setAssistantid(assistantId);
|
|
58552
|
-
connectionConfig.assistantClient.updateAssistantDetail(
|
|
58465
|
+
config.assistantClient.updateAssistantDetail(
|
|
58553
58466
|
req,
|
|
58554
|
-
WithAuthContext(
|
|
58467
|
+
WithAuthContext(auth || config.auth),
|
|
58555
58468
|
(err, response) => {
|
|
58556
58469
|
if (err) reject(err);
|
|
58557
58470
|
else resolve(response);
|
|
@@ -58559,33 +58472,11 @@ function UpdateAssistantDetail(connectionConfig, assistantId, name, description)
|
|
|
58559
58472
|
);
|
|
58560
58473
|
});
|
|
58561
58474
|
}
|
|
58562
|
-
function GetAssistantMessages(
|
|
58475
|
+
function GetAssistantMessages(config, req, auth) {
|
|
58563
58476
|
return new Promise((resolve, reject) => {
|
|
58564
|
-
|
|
58565
|
-
const paginate = new import_common_pb5.Paginate();
|
|
58566
|
-
criteria.forEach(({ key, value, logic }) => {
|
|
58567
|
-
const ctr = new import_common_pb5.Criteria();
|
|
58568
|
-
ctr.setKey(key);
|
|
58569
|
-
ctr.setValue(value);
|
|
58570
|
-
ctr.setLogic(logic);
|
|
58571
|
-
req.addCriterias(ctr);
|
|
58572
|
-
});
|
|
58573
|
-
req.setAssistantid(assistantId);
|
|
58574
|
-
selectors.forEach((v) => {
|
|
58575
|
-
const selectors2 = new import_common_pb5.FieldSelector();
|
|
58576
|
-
selectors2.setField(v);
|
|
58577
|
-
req.addSelectors(selectors2);
|
|
58578
|
-
});
|
|
58579
|
-
paginate.setPage(page);
|
|
58580
|
-
paginate.setPagesize(pageSize);
|
|
58581
|
-
const order = new import_common_pb5.Ordering();
|
|
58582
|
-
order.setColumn("created_date");
|
|
58583
|
-
order.setOrder("desc");
|
|
58584
|
-
req.setOrder(order);
|
|
58585
|
-
req.setPaginate(paginate);
|
|
58586
|
-
connectionConfig.assistantClient.getAllAssistantMessage(
|
|
58477
|
+
config.assistantClient.getAllAssistantMessage(
|
|
58587
58478
|
req,
|
|
58588
|
-
WithAuthContext(
|
|
58479
|
+
WithAuthContext(auth || config.auth),
|
|
58589
58480
|
(err, response) => {
|
|
58590
58481
|
if (err) reject(err);
|
|
58591
58482
|
else resolve(response);
|
|
@@ -58593,32 +58484,11 @@ function GetAssistantMessages(connectionConfig, assistantId, page, pageSize, cri
|
|
|
58593
58484
|
);
|
|
58594
58485
|
});
|
|
58595
58486
|
}
|
|
58596
|
-
function GetMessages(
|
|
58487
|
+
function GetMessages(config, req, auth) {
|
|
58597
58488
|
return new Promise((resolve, reject) => {
|
|
58598
|
-
|
|
58599
|
-
const paginate = new import_common_pb5.Paginate();
|
|
58600
|
-
criteria.forEach(({ key, value, logic }) => {
|
|
58601
|
-
const ctr = new import_common_pb5.Criteria();
|
|
58602
|
-
ctr.setKey(key);
|
|
58603
|
-
ctr.setValue(value);
|
|
58604
|
-
ctr.setLogic(logic);
|
|
58605
|
-
req.addCriterias(ctr);
|
|
58606
|
-
});
|
|
58607
|
-
selectors.forEach((v) => {
|
|
58608
|
-
const selectors2 = new import_common_pb5.FieldSelector();
|
|
58609
|
-
selectors2.setField(v);
|
|
58610
|
-
req.addSelectors(selectors2);
|
|
58611
|
-
});
|
|
58612
|
-
paginate.setPage(page);
|
|
58613
|
-
paginate.setPagesize(pageSize);
|
|
58614
|
-
const order = new import_common_pb5.Ordering();
|
|
58615
|
-
order.setColumn("created_date");
|
|
58616
|
-
order.setOrder("desc");
|
|
58617
|
-
req.setOrder(order);
|
|
58618
|
-
req.setPaginate(paginate);
|
|
58619
|
-
connectionConfig.assistantClient.getAllMessage(
|
|
58489
|
+
config.assistantClient.getAllMessage(
|
|
58620
58490
|
req,
|
|
58621
|
-
WithAuthContext(
|
|
58491
|
+
WithAuthContext(auth || config.auth),
|
|
58622
58492
|
(err, response) => {
|
|
58623
58493
|
if (err) reject(err);
|
|
58624
58494
|
else resolve(response);
|
|
@@ -58626,24 +58496,11 @@ function GetMessages(connectionConfig, page, pageSize, criteria, selectors) {
|
|
|
58626
58496
|
);
|
|
58627
58497
|
});
|
|
58628
58498
|
}
|
|
58629
|
-
function
|
|
58499
|
+
function GetAllAssistantConversation(config, req, auth) {
|
|
58630
58500
|
return new Promise((resolve, reject) => {
|
|
58631
|
-
|
|
58632
|
-
req.setAssistantid(assistantId);
|
|
58633
|
-
const paginate = new import_common_pb5.Paginate();
|
|
58634
|
-
criteria.forEach((x) => {
|
|
58635
|
-
let ctr = new import_common_pb5.Criteria();
|
|
58636
|
-
ctr.setKey(x.key);
|
|
58637
|
-
ctr.setValue(x.value);
|
|
58638
|
-
ctr.setLogic(x.logic);
|
|
58639
|
-
req.addCriterias(ctr);
|
|
58640
|
-
});
|
|
58641
|
-
paginate.setPage(page);
|
|
58642
|
-
paginate.setPagesize(pageSize);
|
|
58643
|
-
req.setPaginate(paginate);
|
|
58644
|
-
connectionConfig.assistantClient.getAllAssistantConversation(
|
|
58501
|
+
config.assistantClient.getAllAssistantConversation(
|
|
58645
58502
|
req,
|
|
58646
|
-
WithAuthContext(
|
|
58503
|
+
WithAuthContext(auth || config.auth),
|
|
58647
58504
|
(err, response) => {
|
|
58648
58505
|
if (err) reject(err);
|
|
58649
58506
|
else resolve(response);
|
|
@@ -58651,24 +58508,11 @@ function GetAllAssistantSession(connectionConfig, assistantId, page, pageSize, c
|
|
|
58651
58508
|
);
|
|
58652
58509
|
});
|
|
58653
58510
|
}
|
|
58654
|
-
function GetAllAssistantConversationMessage(
|
|
58511
|
+
function GetAllAssistantConversationMessage(config, req, auth) {
|
|
58655
58512
|
return new Promise((resolve, reject) => {
|
|
58656
|
-
|
|
58657
|
-
req.setAssistantid(assistantId);
|
|
58658
|
-
req.setAssistantconversationid(assistantConversationId);
|
|
58659
|
-
const paginate = new import_common_pb5.Paginate();
|
|
58660
|
-
criteria.forEach((x) => {
|
|
58661
|
-
let ctr = new import_common_pb5.Criteria();
|
|
58662
|
-
ctr.setKey(x.key);
|
|
58663
|
-
ctr.setValue(x.value);
|
|
58664
|
-
req.addCriterias(ctr);
|
|
58665
|
-
});
|
|
58666
|
-
paginate.setPage(page);
|
|
58667
|
-
paginate.setPagesize(pageSize);
|
|
58668
|
-
req.setPaginate(paginate);
|
|
58669
|
-
connectionConfig.assistantClient.getAllConversationMessage(
|
|
58513
|
+
config.assistantClient.getAllConversationMessage(
|
|
58670
58514
|
req,
|
|
58671
|
-
WithAuthContext(
|
|
58515
|
+
WithAuthContext(auth || config.auth),
|
|
58672
58516
|
(err, response) => {
|
|
58673
58517
|
if (err) reject(err);
|
|
58674
58518
|
else resolve(response);
|
|
@@ -58676,23 +58520,11 @@ function GetAllAssistantConversationMessage(connectionConfig, assistantId, assis
|
|
|
58676
58520
|
);
|
|
58677
58521
|
});
|
|
58678
58522
|
}
|
|
58679
|
-
function GetAllAssistantWebhook(
|
|
58523
|
+
function GetAllAssistantWebhook(config, req, auth) {
|
|
58680
58524
|
return new Promise((resolve, reject) => {
|
|
58681
|
-
|
|
58682
|
-
const paginate = new import_common_pb5.Paginate();
|
|
58683
|
-
criteria.forEach(({ key, value }) => {
|
|
58684
|
-
const ctr = new import_common_pb5.Criteria();
|
|
58685
|
-
ctr.setKey(key);
|
|
58686
|
-
ctr.setValue(value);
|
|
58687
|
-
req.addCriterias(ctr);
|
|
58688
|
-
});
|
|
58689
|
-
paginate.setPage(page);
|
|
58690
|
-
paginate.setPagesize(pageSize);
|
|
58691
|
-
req.setPaginate(paginate);
|
|
58692
|
-
req.setAssistantid(assistantId);
|
|
58693
|
-
return connectionConfig.assistantClient.getAllAssistantWebhook(
|
|
58525
|
+
config.assistantClient.getAllAssistantWebhook(
|
|
58694
58526
|
req,
|
|
58695
|
-
WithAuthContext(
|
|
58527
|
+
WithAuthContext(auth || config.auth),
|
|
58696
58528
|
(err, response) => {
|
|
58697
58529
|
if (err) reject(err);
|
|
58698
58530
|
else resolve(response);
|
|
@@ -58700,383 +58532,279 @@ function GetAllAssistantWebhook(connectionConfig, assistantId, page, pageSize, c
|
|
|
58700
58532
|
);
|
|
58701
58533
|
});
|
|
58702
58534
|
}
|
|
58703
|
-
function CreateWebhook(
|
|
58535
|
+
function CreateWebhook(config, req, auth) {
|
|
58704
58536
|
return new Promise((resolve, reject) => {
|
|
58705
|
-
|
|
58706
|
-
req.setAssistantid(assistantId);
|
|
58707
|
-
req.setHttpurl(endpoint);
|
|
58708
|
-
req.setHttpmethod(method);
|
|
58709
|
-
req.setAssistanteventsList(events);
|
|
58710
|
-
headers.forEach((k) => {
|
|
58711
|
-
req.getHttpheadersMap().set(k.key, k.value);
|
|
58712
|
-
});
|
|
58713
|
-
parameters.forEach((k) => {
|
|
58714
|
-
req.getHttpbodyMap().set(k.key, k.value);
|
|
58715
|
-
});
|
|
58716
|
-
req.setRetrystatuscodesList(retryOnStatus);
|
|
58717
|
-
req.setMaxretrycount(maxRetries);
|
|
58718
|
-
req.setTimeoutsecond(timeout);
|
|
58719
|
-
req.setExecutionpriority(priority);
|
|
58720
|
-
if (description) req.setDescription(description);
|
|
58721
|
-
connectionConfig.assistantClient.createAssistantWebhook(
|
|
58537
|
+
config.assistantClient.createAssistantWebhook(
|
|
58722
58538
|
req,
|
|
58723
|
-
WithAuthContext(
|
|
58539
|
+
WithAuthContext(auth || config.auth),
|
|
58724
58540
|
(err, response) => {
|
|
58725
|
-
if (err)
|
|
58726
|
-
|
|
58727
|
-
} else {
|
|
58728
|
-
resolve(response);
|
|
58729
|
-
}
|
|
58541
|
+
if (err) reject(err);
|
|
58542
|
+
else resolve(response);
|
|
58730
58543
|
}
|
|
58731
58544
|
);
|
|
58732
58545
|
});
|
|
58733
58546
|
}
|
|
58734
|
-
function UpdateWebhook(
|
|
58735
|
-
const req = new import_assistant_webhook_pb.UpdateAssistantWebhookRequest();
|
|
58736
|
-
req.setId(webhookId);
|
|
58737
|
-
req.setAssistantid(assistantId);
|
|
58738
|
-
req.setHttpurl(endpoint);
|
|
58739
|
-
req.setHttpmethod(method);
|
|
58740
|
-
req.setAssistanteventsList(events);
|
|
58741
|
-
headers.forEach((k) => req.getHttpheadersMap().set(k.key, k.value));
|
|
58742
|
-
parameters.forEach((k) => req.getHttpbodyMap().set(k.key, k.value));
|
|
58743
|
-
req.setRetrystatuscodesList(retryOnStatus);
|
|
58744
|
-
req.setMaxretrycount(maxRetries);
|
|
58745
|
-
req.setTimeoutsecond(timeout);
|
|
58746
|
-
req.setExecutionpriority(priority);
|
|
58747
|
-
if (description) req.setDescription(description);
|
|
58547
|
+
function UpdateWebhook(config, req, auth) {
|
|
58748
58548
|
return new Promise((resolve, reject) => {
|
|
58749
|
-
|
|
58549
|
+
config.assistantClient.updateAssistantWebhook(
|
|
58750
58550
|
req,
|
|
58751
|
-
WithAuthContext(
|
|
58752
|
-
(err, response) =>
|
|
58551
|
+
WithAuthContext(auth || config.auth),
|
|
58552
|
+
(err, response) => {
|
|
58553
|
+
if (err) reject(err);
|
|
58554
|
+
else resolve(response);
|
|
58555
|
+
}
|
|
58753
58556
|
);
|
|
58754
58557
|
});
|
|
58755
58558
|
}
|
|
58756
|
-
function GetAssistantWebhook(
|
|
58757
|
-
const req = new import_assistant_webhook_pb.GetAssistantWebhookRequest();
|
|
58758
|
-
req.setAssistantid(assistantId);
|
|
58759
|
-
req.setId(webhookId);
|
|
58559
|
+
function GetAssistantWebhook(config, req, auth) {
|
|
58760
58560
|
return new Promise((resolve, reject) => {
|
|
58761
|
-
|
|
58561
|
+
config.assistantClient.getAssistantWebhook(
|
|
58762
58562
|
req,
|
|
58763
|
-
WithAuthContext(
|
|
58764
|
-
(err, response) =>
|
|
58563
|
+
WithAuthContext(auth || config.auth),
|
|
58564
|
+
(err, response) => {
|
|
58565
|
+
if (err) reject(err);
|
|
58566
|
+
else resolve(response);
|
|
58567
|
+
}
|
|
58765
58568
|
);
|
|
58766
58569
|
});
|
|
58767
58570
|
}
|
|
58768
|
-
function DeleteAssistantWebhook(
|
|
58769
|
-
const req = new import_assistant_webhook_pb.DeleteAssistantWebhookRequest();
|
|
58770
|
-
req.setAssistantid(assistantId);
|
|
58771
|
-
req.setId(webhookId);
|
|
58571
|
+
function DeleteAssistantWebhook(config, req, auth) {
|
|
58772
58572
|
return new Promise((resolve, reject) => {
|
|
58773
|
-
|
|
58573
|
+
config.assistantClient.deleteAssistantWebhook(
|
|
58774
58574
|
req,
|
|
58775
|
-
WithAuthContext(
|
|
58776
|
-
(err, response) =>
|
|
58575
|
+
WithAuthContext(auth || config.auth),
|
|
58576
|
+
(err, response) => {
|
|
58577
|
+
if (err) reject(err);
|
|
58578
|
+
else resolve(response);
|
|
58579
|
+
}
|
|
58777
58580
|
);
|
|
58778
58581
|
});
|
|
58779
58582
|
}
|
|
58780
|
-
function GetAssistantConversation(
|
|
58781
|
-
const req = new import_assistant_api_pb.GetAssistantConversationRequest();
|
|
58782
|
-
req.setAssistantid(assistantId);
|
|
58783
|
-
req.setAssistantconversationid(conversaiontId);
|
|
58583
|
+
function GetAssistantConversation(config, req, auth) {
|
|
58784
58584
|
return new Promise((resolve, reject) => {
|
|
58785
|
-
|
|
58585
|
+
config.assistantClient.getAssistantConversation(
|
|
58786
58586
|
req,
|
|
58787
|
-
WithAuthContext(
|
|
58788
|
-
(err, response) =>
|
|
58587
|
+
WithAuthContext(auth || config.auth),
|
|
58588
|
+
(err, response) => {
|
|
58589
|
+
if (err) reject(err);
|
|
58590
|
+
else resolve(response);
|
|
58591
|
+
}
|
|
58789
58592
|
);
|
|
58790
58593
|
});
|
|
58791
58594
|
}
|
|
58792
|
-
function DeleteAssistant(
|
|
58793
|
-
const req = new import_assistant_api_pb.DeleteAssistantRequest();
|
|
58794
|
-
req.setId(assistantId);
|
|
58595
|
+
function DeleteAssistant(config, req, auth) {
|
|
58795
58596
|
return new Promise((resolve, reject) => {
|
|
58796
|
-
|
|
58597
|
+
config.assistantClient.deleteAssistant(
|
|
58797
58598
|
req,
|
|
58798
|
-
WithAuthContext(
|
|
58799
|
-
(err, response) =>
|
|
58599
|
+
WithAuthContext(auth || config.auth),
|
|
58600
|
+
(err, response) => {
|
|
58601
|
+
if (err) reject(err);
|
|
58602
|
+
else resolve(response);
|
|
58603
|
+
}
|
|
58800
58604
|
);
|
|
58801
58605
|
});
|
|
58802
58606
|
}
|
|
58803
|
-
function GetAllAssistantAnalysis(
|
|
58804
|
-
const req = new import_assistant_analysis_pb.GetAllAssistantAnalysisRequest();
|
|
58805
|
-
req.setAssistantid(assistantId);
|
|
58806
|
-
const paginate = new import_common_pb5.Paginate();
|
|
58807
|
-
criteria.forEach(({ key, value }) => {
|
|
58808
|
-
const ctr = new import_common_pb5.Criteria();
|
|
58809
|
-
ctr.setKey(key);
|
|
58810
|
-
ctr.setValue(value);
|
|
58811
|
-
req.addCriterias(ctr);
|
|
58812
|
-
});
|
|
58813
|
-
paginate.setPage(page);
|
|
58814
|
-
paginate.setPagesize(pageSize);
|
|
58815
|
-
req.setPaginate(paginate);
|
|
58607
|
+
function GetAllAssistantAnalysis(config, req, auth) {
|
|
58816
58608
|
return new Promise((resolve, reject) => {
|
|
58817
|
-
|
|
58609
|
+
config.assistantClient.getAllAssistantAnalysis(
|
|
58818
58610
|
req,
|
|
58819
|
-
WithAuthContext(
|
|
58820
|
-
(err, response) =>
|
|
58611
|
+
WithAuthContext(auth || config.auth),
|
|
58612
|
+
(err, response) => {
|
|
58613
|
+
if (err) reject(err);
|
|
58614
|
+
else resolve(response);
|
|
58615
|
+
}
|
|
58821
58616
|
);
|
|
58822
58617
|
});
|
|
58823
58618
|
}
|
|
58824
|
-
function CreateAnalysis(
|
|
58825
|
-
const req = new import_assistant_analysis_pb.CreateAssistantAnalysisRequest();
|
|
58826
|
-
req.setAssistantid(assistantId);
|
|
58827
|
-
req.setEndpointid(endpointid);
|
|
58828
|
-
req.setEndpointversion(endpointversion);
|
|
58829
|
-
req.setName(name);
|
|
58830
|
-
req.setExecutionpriority(executionpriority);
|
|
58831
|
-
parameters.forEach((k) => req.getEndpointparametersMap().set(k.key, k.value));
|
|
58832
|
-
if (description) req.setDescription(description);
|
|
58619
|
+
function CreateAnalysis(config, req, auth) {
|
|
58833
58620
|
return new Promise((resolve, reject) => {
|
|
58834
|
-
|
|
58621
|
+
config.assistantClient.createAssistantAnalysis(
|
|
58835
58622
|
req,
|
|
58836
|
-
WithAuthContext(
|
|
58837
|
-
(err, response) =>
|
|
58623
|
+
WithAuthContext(auth || config.auth),
|
|
58624
|
+
(err, response) => {
|
|
58625
|
+
if (err) reject(err);
|
|
58626
|
+
else resolve(response);
|
|
58627
|
+
}
|
|
58838
58628
|
);
|
|
58839
58629
|
});
|
|
58840
58630
|
}
|
|
58841
|
-
function UpdateAnalysis(
|
|
58842
|
-
const req = new import_assistant_analysis_pb.UpdateAssistantAnalysisRequest();
|
|
58843
|
-
req.setId(AnalysisId);
|
|
58844
|
-
req.setAssistantid(assistantId);
|
|
58845
|
-
req.setEndpointid(endpointid);
|
|
58846
|
-
req.setEndpointversion(endpointversion);
|
|
58847
|
-
req.setName(name);
|
|
58848
|
-
req.setExecutionpriority(executionpriority);
|
|
58849
|
-
parameters.forEach((k) => req.getEndpointparametersMap().set(k.key, k.value));
|
|
58850
|
-
if (description) req.setDescription(description);
|
|
58631
|
+
function UpdateAnalysis(config, req, auth) {
|
|
58851
58632
|
return new Promise((resolve, reject) => {
|
|
58852
|
-
|
|
58633
|
+
config.assistantClient.updateAssistantAnalysis(
|
|
58853
58634
|
req,
|
|
58854
|
-
WithAuthContext(
|
|
58855
|
-
(err, response) =>
|
|
58635
|
+
WithAuthContext(auth || config.auth),
|
|
58636
|
+
(err, response) => {
|
|
58637
|
+
if (err) reject(err);
|
|
58638
|
+
else resolve(response);
|
|
58639
|
+
}
|
|
58856
58640
|
);
|
|
58857
58641
|
});
|
|
58858
58642
|
}
|
|
58859
|
-
function GetAssistantAnalysis(
|
|
58860
|
-
const req = new import_assistant_analysis_pb.GetAssistantAnalysisRequest();
|
|
58861
|
-
req.setAssistantid(assistantId);
|
|
58862
|
-
req.setId(AnalysisId);
|
|
58643
|
+
function GetAssistantAnalysis(config, req, auth) {
|
|
58863
58644
|
return new Promise((resolve, reject) => {
|
|
58864
|
-
|
|
58645
|
+
config.assistantClient.getAssistantAnalysis(
|
|
58865
58646
|
req,
|
|
58866
|
-
WithAuthContext(
|
|
58867
|
-
(err, response) =>
|
|
58647
|
+
WithAuthContext(auth || config.auth),
|
|
58648
|
+
(err, response) => {
|
|
58649
|
+
if (err) reject(err);
|
|
58650
|
+
else resolve(response);
|
|
58651
|
+
}
|
|
58868
58652
|
);
|
|
58869
58653
|
});
|
|
58870
58654
|
}
|
|
58871
|
-
function DeleteAssistantAnalysis(
|
|
58872
|
-
const req = new import_assistant_analysis_pb.DeleteAssistantAnalysisRequest();
|
|
58873
|
-
req.setAssistantid(assistantId);
|
|
58874
|
-
req.setId(AnalysisId);
|
|
58655
|
+
function DeleteAssistantAnalysis(config, req, auth) {
|
|
58875
58656
|
return new Promise((resolve, reject) => {
|
|
58876
|
-
|
|
58657
|
+
config.assistantClient.deleteAssistantAnalysis(
|
|
58877
58658
|
req,
|
|
58878
|
-
WithAuthContext(
|
|
58879
|
-
(err, response) =>
|
|
58659
|
+
WithAuthContext(auth || config.auth),
|
|
58660
|
+
(err, response) => {
|
|
58661
|
+
if (err) reject(err);
|
|
58662
|
+
else resolve(response);
|
|
58663
|
+
}
|
|
58880
58664
|
);
|
|
58881
58665
|
});
|
|
58882
58666
|
}
|
|
58883
|
-
function GetAllWebhookLog(
|
|
58884
|
-
const req = new import_assistant_webhook_pb.GetAllAssistantWebhookLogRequest();
|
|
58885
|
-
req.setProjectid(projectId);
|
|
58886
|
-
const paginate = new import_common_pb5.Paginate();
|
|
58887
|
-
criteria.forEach(({ key, value, logic }) => {
|
|
58888
|
-
const ctr = new import_common_pb5.Criteria();
|
|
58889
|
-
ctr.setKey(key);
|
|
58890
|
-
ctr.setValue(value);
|
|
58891
|
-
ctr.setLogic(logic);
|
|
58892
|
-
req.addCriterias(ctr);
|
|
58893
|
-
});
|
|
58894
|
-
paginate.setPage(page);
|
|
58895
|
-
paginate.setPagesize(pageSize);
|
|
58896
|
-
req.setPaginate(paginate);
|
|
58667
|
+
function GetAllWebhookLog(config, req, auth) {
|
|
58897
58668
|
return new Promise((resolve, reject) => {
|
|
58898
|
-
|
|
58669
|
+
config.assistantClient.getAllAssistantWebhookLog(
|
|
58899
58670
|
req,
|
|
58900
|
-
WithAuthContext(
|
|
58901
|
-
(err, response) =>
|
|
58671
|
+
WithAuthContext(auth || config.auth),
|
|
58672
|
+
(err, response) => {
|
|
58673
|
+
if (err) reject(err);
|
|
58674
|
+
else resolve(response);
|
|
58675
|
+
}
|
|
58902
58676
|
);
|
|
58903
58677
|
});
|
|
58904
58678
|
}
|
|
58905
|
-
function GetWebhookLog(
|
|
58906
|
-
const req = new import_assistant_webhook_pb.GetAssistantWebhookLogRequest();
|
|
58907
|
-
req.setProjectid(projectId);
|
|
58908
|
-
req.setId(webhookLogId);
|
|
58679
|
+
function GetWebhookLog(config, req, auth) {
|
|
58909
58680
|
return new Promise((resolve, reject) => {
|
|
58910
|
-
|
|
58681
|
+
config.assistantClient.getAssistantWebhookLog(
|
|
58911
58682
|
req,
|
|
58912
|
-
WithAuthContext(
|
|
58913
|
-
(err, response) =>
|
|
58683
|
+
WithAuthContext(auth || config.auth),
|
|
58684
|
+
(err, response) => {
|
|
58685
|
+
if (err) reject(err);
|
|
58686
|
+
else resolve(response);
|
|
58687
|
+
}
|
|
58914
58688
|
);
|
|
58915
58689
|
});
|
|
58916
58690
|
}
|
|
58917
|
-
function GetAllAssistantTool(
|
|
58918
|
-
const req = new import_assistant_tool_pb.GetAllAssistantToolRequest();
|
|
58919
|
-
req.setAssistantid(assistantId);
|
|
58920
|
-
const paginate = new import_common_pb5.Paginate();
|
|
58921
|
-
criteria.forEach(({ key, value }) => {
|
|
58922
|
-
const ctr = new import_common_pb5.Criteria();
|
|
58923
|
-
ctr.setKey(key);
|
|
58924
|
-
ctr.setValue(value);
|
|
58925
|
-
req.addCriterias(ctr);
|
|
58926
|
-
});
|
|
58927
|
-
paginate.setPage(page);
|
|
58928
|
-
paginate.setPagesize(pageSize);
|
|
58929
|
-
req.setPaginate(paginate);
|
|
58691
|
+
function GetAllAssistantTool(config, req, auth) {
|
|
58930
58692
|
return new Promise((resolve, reject) => {
|
|
58931
|
-
|
|
58693
|
+
config.assistantClient.getAllAssistantTool(
|
|
58932
58694
|
req,
|
|
58933
|
-
WithAuthContext(
|
|
58934
|
-
(err, response) =>
|
|
58695
|
+
WithAuthContext(auth || config.auth),
|
|
58696
|
+
(err, response) => {
|
|
58697
|
+
if (err) reject(err);
|
|
58698
|
+
else resolve(response);
|
|
58699
|
+
}
|
|
58935
58700
|
);
|
|
58936
58701
|
});
|
|
58937
58702
|
}
|
|
58938
|
-
function CreateAssistantTool(
|
|
58939
|
-
const req = new import_assistant_tool_pb.CreateAssistantToolRequest();
|
|
58940
|
-
req.setAssistantid(assistantId);
|
|
58941
|
-
req.setName(name);
|
|
58942
|
-
req.setDescription(description);
|
|
58943
|
-
req.setFields(import_struct_pb3.Struct.fromJavaScript(fields));
|
|
58944
|
-
req.setExecutionmethod(executionMethod);
|
|
58945
|
-
executionOptions.forEach((x) => req.addExecutionoptions(x));
|
|
58703
|
+
function CreateAssistantTool(config, req, auth) {
|
|
58946
58704
|
return new Promise((resolve, reject) => {
|
|
58947
|
-
|
|
58705
|
+
config.assistantClient.createAssistantTool(
|
|
58948
58706
|
req,
|
|
58949
|
-
WithAuthContext(
|
|
58950
|
-
(err, response) =>
|
|
58707
|
+
WithAuthContext(auth || config.auth),
|
|
58708
|
+
(err, response) => {
|
|
58709
|
+
if (err) reject(err);
|
|
58710
|
+
else resolve(response);
|
|
58711
|
+
}
|
|
58951
58712
|
);
|
|
58952
58713
|
});
|
|
58953
58714
|
}
|
|
58954
|
-
function UpdateAssistantTool(
|
|
58955
|
-
const req = new import_assistant_tool_pb.UpdateAssistantToolRequest();
|
|
58956
|
-
req.setId(assistantToolId);
|
|
58957
|
-
req.setAssistantid(assistantId);
|
|
58958
|
-
req.setName(name);
|
|
58959
|
-
req.setDescription(description);
|
|
58960
|
-
req.setFields(import_struct_pb3.Struct.fromJavaScript(fields));
|
|
58961
|
-
req.setExecutionmethod(executionMethod);
|
|
58962
|
-
executionOptions.forEach((x) => req.addExecutionoptions(x));
|
|
58715
|
+
function UpdateAssistantTool(config, req, auth) {
|
|
58963
58716
|
return new Promise((resolve, reject) => {
|
|
58964
|
-
|
|
58717
|
+
config.assistantClient.updateAssistantTool(
|
|
58965
58718
|
req,
|
|
58966
|
-
WithAuthContext(
|
|
58967
|
-
(err, response) =>
|
|
58719
|
+
WithAuthContext(auth || config.auth),
|
|
58720
|
+
(err, response) => {
|
|
58721
|
+
if (err) reject(err);
|
|
58722
|
+
else resolve(response);
|
|
58723
|
+
}
|
|
58968
58724
|
);
|
|
58969
58725
|
});
|
|
58970
58726
|
}
|
|
58971
|
-
function GetAssistantTool(
|
|
58972
|
-
const req = new import_assistant_tool_pb.GetAssistantToolRequest();
|
|
58973
|
-
req.setAssistantid(assistantId);
|
|
58974
|
-
req.setId(ToolId);
|
|
58727
|
+
function GetAssistantTool(config, req, auth) {
|
|
58975
58728
|
return new Promise((resolve, reject) => {
|
|
58976
|
-
|
|
58729
|
+
config.assistantClient.getAssistantTool(
|
|
58977
58730
|
req,
|
|
58978
|
-
WithAuthContext(
|
|
58979
|
-
(err, response) =>
|
|
58731
|
+
WithAuthContext(auth || config.auth),
|
|
58732
|
+
(err, response) => {
|
|
58733
|
+
if (err) reject(err);
|
|
58734
|
+
else resolve(response);
|
|
58735
|
+
}
|
|
58980
58736
|
);
|
|
58981
58737
|
});
|
|
58982
58738
|
}
|
|
58983
|
-
function DeleteAssistantTool(
|
|
58984
|
-
const req = new import_assistant_tool_pb.DeleteAssistantToolRequest();
|
|
58985
|
-
req.setAssistantid(assistantId);
|
|
58986
|
-
req.setId(ToolId);
|
|
58739
|
+
function DeleteAssistantTool(config, req, auth) {
|
|
58987
58740
|
return new Promise((resolve, reject) => {
|
|
58988
|
-
|
|
58741
|
+
config.assistantClient.deleteAssistantTool(
|
|
58989
58742
|
req,
|
|
58990
|
-
WithAuthContext(
|
|
58991
|
-
(err, response) =>
|
|
58743
|
+
WithAuthContext(auth || config.auth),
|
|
58744
|
+
(err, response) => {
|
|
58745
|
+
if (err) reject(err);
|
|
58746
|
+
else resolve(response);
|
|
58747
|
+
}
|
|
58992
58748
|
);
|
|
58993
58749
|
});
|
|
58994
58750
|
}
|
|
58995
|
-
function GetAllAssistantKnowledge(
|
|
58996
|
-
const req = new import_assistant_knowledge_pb.GetAllAssistantKnowledgeRequest();
|
|
58997
|
-
req.setAssistantid(assistantId);
|
|
58998
|
-
const paginate = new import_common_pb5.Paginate();
|
|
58999
|
-
criteria.forEach(({ key, value }) => {
|
|
59000
|
-
const ctr = new import_common_pb5.Criteria();
|
|
59001
|
-
ctr.setKey(key);
|
|
59002
|
-
ctr.setValue(value);
|
|
59003
|
-
req.addCriterias(ctr);
|
|
59004
|
-
});
|
|
59005
|
-
paginate.setPage(page);
|
|
59006
|
-
paginate.setPagesize(pageSize);
|
|
59007
|
-
req.setPaginate(paginate);
|
|
58751
|
+
function GetAllAssistantKnowledge(config, req, auth) {
|
|
59008
58752
|
return new Promise((resolve, reject) => {
|
|
59009
|
-
|
|
58753
|
+
config.assistantClient.getAllAssistantKnowledge(
|
|
59010
58754
|
req,
|
|
59011
|
-
WithAuthContext(
|
|
59012
|
-
(err, response) =>
|
|
58755
|
+
WithAuthContext(auth || config.auth),
|
|
58756
|
+
(err, response) => {
|
|
58757
|
+
if (err) reject(err);
|
|
58758
|
+
else resolve(response);
|
|
58759
|
+
}
|
|
59013
58760
|
);
|
|
59014
58761
|
});
|
|
59015
58762
|
}
|
|
59016
|
-
function CreateAssistantKnowledge(
|
|
59017
|
-
const req = new import_assistant_knowledge_pb.CreateAssistantKnowledgeRequest();
|
|
59018
|
-
req.setKnowledgeid(knowledgeId);
|
|
59019
|
-
req.setAssistantid(assistantId);
|
|
59020
|
-
if (config.rerankingEnable) {
|
|
59021
|
-
req.setRerankerenable(config.rerankingEnable);
|
|
59022
|
-
req.setRerankermodelproviderid(config.rerankerModelProviderId);
|
|
59023
|
-
req.setRerankermodelprovidername(config.rerankerModelProvider);
|
|
59024
|
-
req.setAssistantknowledgererankeroptionsList(config.rerankerModelOptions);
|
|
59025
|
-
}
|
|
59026
|
-
req.setTopk(config.topK);
|
|
59027
|
-
req.setScorethreshold(config.scoreThreshold);
|
|
59028
|
-
req.setRetrievalmethod(config.searchMethod);
|
|
58763
|
+
function CreateAssistantKnowledge(config, req, auth) {
|
|
59029
58764
|
return new Promise((resolve, reject) => {
|
|
59030
|
-
|
|
58765
|
+
config.assistantClient.createAssistantKnowledge(
|
|
59031
58766
|
req,
|
|
59032
|
-
WithAuthContext(
|
|
59033
|
-
(err, response) =>
|
|
58767
|
+
WithAuthContext(auth || config.auth),
|
|
58768
|
+
(err, response) => {
|
|
58769
|
+
if (err) reject(err);
|
|
58770
|
+
else resolve(response);
|
|
58771
|
+
}
|
|
59034
58772
|
);
|
|
59035
58773
|
});
|
|
59036
58774
|
}
|
|
59037
|
-
function UpdateAssistantKnowledge(
|
|
59038
|
-
const req = new import_assistant_knowledge_pb.UpdateAssistantKnowledgeRequest();
|
|
59039
|
-
req.setKnowledgeid(knowledgeId);
|
|
59040
|
-
req.setAssistantid(assistantId);
|
|
59041
|
-
req.setId(id);
|
|
59042
|
-
if (config.rerankingEnable) {
|
|
59043
|
-
req.setRerankerenable(config.rerankingEnable);
|
|
59044
|
-
req.setRerankermodelproviderid(config.rerankerModelProviderId);
|
|
59045
|
-
req.setRerankermodelprovidername(config.rerankerModelProvider);
|
|
59046
|
-
req.setAssistantknowledgererankeroptionsList(config.rerankerModelOptions);
|
|
59047
|
-
}
|
|
59048
|
-
req.setTopk(config.topK);
|
|
59049
|
-
req.setScorethreshold(config.scoreThreshold);
|
|
59050
|
-
req.setRetrievalmethod(config.searchMethod);
|
|
58775
|
+
function UpdateAssistantKnowledge(config, req, auth) {
|
|
59051
58776
|
return new Promise((resolve, reject) => {
|
|
59052
|
-
|
|
58777
|
+
config.assistantClient.updateAssistantKnowledge(
|
|
59053
58778
|
req,
|
|
59054
|
-
WithAuthContext(
|
|
59055
|
-
(err, response) =>
|
|
58779
|
+
WithAuthContext(auth || config.auth),
|
|
58780
|
+
(err, response) => {
|
|
58781
|
+
if (err) reject(err);
|
|
58782
|
+
else resolve(response);
|
|
58783
|
+
}
|
|
59056
58784
|
);
|
|
59057
58785
|
});
|
|
59058
58786
|
}
|
|
59059
|
-
function GetAssistantKnowledge(
|
|
59060
|
-
const req = new import_assistant_knowledge_pb.GetAssistantKnowledgeRequest();
|
|
59061
|
-
req.setAssistantid(assistantId);
|
|
59062
|
-
req.setId(ToolId);
|
|
58787
|
+
function GetAssistantKnowledge(config, req, auth) {
|
|
59063
58788
|
return new Promise((resolve, reject) => {
|
|
59064
|
-
|
|
58789
|
+
config.assistantClient.getAssistantKnowledge(
|
|
59065
58790
|
req,
|
|
59066
|
-
WithAuthContext(
|
|
59067
|
-
(err, response) =>
|
|
58791
|
+
WithAuthContext(auth || config.auth),
|
|
58792
|
+
(err, response) => {
|
|
58793
|
+
if (err) reject(err);
|
|
58794
|
+
else resolve(response);
|
|
58795
|
+
}
|
|
59068
58796
|
);
|
|
59069
58797
|
});
|
|
59070
58798
|
}
|
|
59071
|
-
function DeleteAssistantKnowledge(
|
|
59072
|
-
const req = new import_assistant_knowledge_pb.DeleteAssistantKnowledgeRequest();
|
|
59073
|
-
req.setAssistantid(assistantId);
|
|
59074
|
-
req.setId(knowledgeId);
|
|
58799
|
+
function DeleteAssistantKnowledge(config, req, auth) {
|
|
59075
58800
|
return new Promise((resolve, reject) => {
|
|
59076
|
-
|
|
58801
|
+
config.assistantClient.deleteAssistantKnowledge(
|
|
59077
58802
|
req,
|
|
59078
|
-
WithAuthContext(
|
|
59079
|
-
(err, response) =>
|
|
58803
|
+
WithAuthContext(auth || config.auth),
|
|
58804
|
+
(err, response) => {
|
|
58805
|
+
if (err) reject(err);
|
|
58806
|
+
else resolve(response);
|
|
58807
|
+
}
|
|
59080
58808
|
);
|
|
59081
58809
|
});
|
|
59082
58810
|
}
|
|
@@ -59204,15 +58932,15 @@ function GetAssistantWhatsappDeployment(clientCfg, req, auth) {
|
|
|
59204
58932
|
}
|
|
59205
58933
|
|
|
59206
58934
|
// src/clients/activity.ts
|
|
59207
|
-
var
|
|
58935
|
+
var import_common_pb5 = __toESM(require_common_pb());
|
|
59208
58936
|
var import_audit_logging_api_pb = __toESM(require_audit_logging_api_pb());
|
|
59209
58937
|
function GetActivities(connectionConfig, projectId, page, pageSize, criteria) {
|
|
59210
58938
|
return new Promise((resolve, reject) => {
|
|
59211
58939
|
const req = new import_audit_logging_api_pb.GetAllAuditLogRequest();
|
|
59212
58940
|
req.setProjectid(projectId);
|
|
59213
|
-
const paginate = new
|
|
58941
|
+
const paginate = new import_common_pb5.Paginate();
|
|
59214
58942
|
criteria.forEach(({ key, value, logic }) => {
|
|
59215
|
-
const ctr = new
|
|
58943
|
+
const ctr = new import_common_pb5.Criteria();
|
|
59216
58944
|
ctr.setKey(key);
|
|
59217
58945
|
ctr.setValue(value);
|
|
59218
58946
|
ctr.setLogic(logic);
|
|
@@ -59248,25 +58976,11 @@ function GetActivity(connectionConfig, projectId, auditId) {
|
|
|
59248
58976
|
}
|
|
59249
58977
|
|
|
59250
58978
|
// src/clients/endpoint.ts
|
|
59251
|
-
|
|
59252
|
-
var import_endpoint_api_pb = __toESM(require_endpoint_api_pb());
|
|
59253
|
-
function GetAllEndpoint(config, page, pageSize, criteria) {
|
|
58979
|
+
function GetAllEndpoint(config, req, auth) {
|
|
59254
58980
|
return new Promise((resolve, reject) => {
|
|
59255
|
-
const req = new import_endpoint_api_pb.GetAllEndpointRequest();
|
|
59256
|
-
const paginate = new import_common_pb8.Paginate();
|
|
59257
|
-
criteria.forEach(({ key, value, logic }) => {
|
|
59258
|
-
const ctr = new import_common_pb8.Criteria();
|
|
59259
|
-
ctr.setKey(key);
|
|
59260
|
-
ctr.setValue(value);
|
|
59261
|
-
ctr.setLogic(logic);
|
|
59262
|
-
req.addCriterias(ctr);
|
|
59263
|
-
});
|
|
59264
|
-
paginate.setPage(page);
|
|
59265
|
-
paginate.setPagesize(pageSize);
|
|
59266
|
-
req.setPaginate(paginate);
|
|
59267
58981
|
config.endpointClient.getAllEndpoint(
|
|
59268
58982
|
req,
|
|
59269
|
-
WithAuthContext(config.auth),
|
|
58983
|
+
WithAuthContext(auth || config.auth),
|
|
59270
58984
|
(err, response) => {
|
|
59271
58985
|
if (err) reject(err);
|
|
59272
58986
|
else resolve(response);
|
|
@@ -59274,14 +58988,11 @@ function GetAllEndpoint(config, page, pageSize, criteria) {
|
|
|
59274
58988
|
);
|
|
59275
58989
|
});
|
|
59276
58990
|
}
|
|
59277
|
-
function UpdateEndpointVersion(config,
|
|
58991
|
+
function UpdateEndpointVersion(config, req, auth) {
|
|
59278
58992
|
return new Promise((resolve, reject) => {
|
|
59279
|
-
const req = new import_endpoint_api_pb.UpdateEndpointVersionRequest();
|
|
59280
|
-
req.setEndpointid(endpointId);
|
|
59281
|
-
req.setEndpointprovidermodelid(endpointProviderModelId);
|
|
59282
58993
|
config.endpointClient.updateEndpointVersion(
|
|
59283
58994
|
req,
|
|
59284
|
-
WithAuthContext(config.auth),
|
|
58995
|
+
WithAuthContext(auth || config.auth),
|
|
59285
58996
|
(err, response) => {
|
|
59286
58997
|
if (err) reject(err);
|
|
59287
58998
|
else resolve(response);
|
|
@@ -59289,23 +59000,11 @@ function UpdateEndpointVersion(config, endpointId, endpointProviderModelId) {
|
|
|
59289
59000
|
);
|
|
59290
59001
|
});
|
|
59291
59002
|
}
|
|
59292
|
-
function GetAllEndpointProviderModel(config,
|
|
59003
|
+
function GetAllEndpointProviderModel(config, req, auth) {
|
|
59293
59004
|
return new Promise((resolve, reject) => {
|
|
59294
|
-
const req = new import_endpoint_api_pb.GetAllEndpointProviderModelRequest();
|
|
59295
|
-
req.setEndpointid(endpointId);
|
|
59296
|
-
const paginate = new import_common_pb8.Paginate();
|
|
59297
|
-
criteria.forEach(({ key, value }) => {
|
|
59298
|
-
const ctr = new import_common_pb8.Criteria();
|
|
59299
|
-
ctr.setKey(key);
|
|
59300
|
-
ctr.setValue(value);
|
|
59301
|
-
req.addCriterias(ctr);
|
|
59302
|
-
});
|
|
59303
|
-
paginate.setPage(page);
|
|
59304
|
-
paginate.setPagesize(pageSize);
|
|
59305
|
-
req.setPaginate(paginate);
|
|
59306
59005
|
config.endpointClient.getAllEndpointProviderModel(
|
|
59307
59006
|
req,
|
|
59308
|
-
WithAuthContext(config.auth),
|
|
59007
|
+
WithAuthContext(auth || config.auth),
|
|
59309
59008
|
(err, response) => {
|
|
59310
59009
|
if (err) reject(err);
|
|
59311
59010
|
else resolve(response);
|
|
@@ -59313,31 +59012,11 @@ function GetAllEndpointProviderModel(config, endpointId, page, pageSize, criteri
|
|
|
59313
59012
|
);
|
|
59314
59013
|
});
|
|
59315
59014
|
}
|
|
59316
|
-
function GetEndpoint(config,
|
|
59015
|
+
function GetEndpoint(config, req, auth) {
|
|
59317
59016
|
return new Promise((resolve, reject) => {
|
|
59318
|
-
const req = new import_endpoint_api_pb.GetEndpointRequest();
|
|
59319
|
-
req.setId(endpointId);
|
|
59320
|
-
if (endpointProviderModelId) {
|
|
59321
|
-
req.setEndpointprovidermodelid(endpointProviderModelId);
|
|
59322
|
-
}
|
|
59323
59017
|
config.endpointClient.getEndpoint(
|
|
59324
59018
|
req,
|
|
59325
|
-
WithAuthContext(config.auth),
|
|
59326
|
-
(err, response) => {
|
|
59327
|
-
if (err) reject(err);
|
|
59328
|
-
else resolve(response);
|
|
59329
|
-
}
|
|
59330
|
-
);
|
|
59331
|
-
});
|
|
59332
|
-
}
|
|
59333
|
-
function CreateEndpointProviderModel(config, endpointId, endpointProviderModel) {
|
|
59334
|
-
return new Promise((resolve, reject) => {
|
|
59335
|
-
const req = new import_endpoint_api_pb.CreateEndpointProviderModelRequest();
|
|
59336
|
-
req.setEndpointid(endpointId);
|
|
59337
|
-
req.setEndpointprovidermodelattribute(endpointProviderModel);
|
|
59338
|
-
config.endpointClient.createEndpointProviderModel(
|
|
59339
|
-
req,
|
|
59340
|
-
WithAuthContext(config.auth),
|
|
59019
|
+
WithAuthContext(auth || config.auth),
|
|
59341
59020
|
(err, response) => {
|
|
59342
59021
|
if (err) reject(err);
|
|
59343
59022
|
else resolve(response);
|
|
@@ -59345,113 +59024,11 @@ function CreateEndpointProviderModel(config, endpointId, endpointProviderModel)
|
|
|
59345
59024
|
);
|
|
59346
59025
|
});
|
|
59347
59026
|
}
|
|
59348
|
-
function
|
|
59027
|
+
function CreateEndpointRetryConfiguration(config, req, auth) {
|
|
59349
59028
|
return new Promise((resolve, reject) => {
|
|
59350
|
-
const req = new import_endpoint_api_pb.CreateEndpointRequest();
|
|
59351
|
-
req.setEndpointattribute(endpointAttributes);
|
|
59352
|
-
req.setEndpointprovidermodelattribute(endpointProviderModel);
|
|
59353
|
-
if (cacheConfig) req.setCacheconfiguration(cacheConfig);
|
|
59354
|
-
if (retryConfig) req.setRetryconfiguration(retryConfig);
|
|
59355
|
-
req.setTagsList(tags);
|
|
59356
|
-
config.endpointClient.createEndpoint(
|
|
59357
|
-
req,
|
|
59358
|
-
WithAuthContext(config.auth),
|
|
59359
|
-
(err, response) => {
|
|
59360
|
-
if (err) reject(err);
|
|
59361
|
-
else resolve(response);
|
|
59362
|
-
}
|
|
59363
|
-
);
|
|
59364
|
-
});
|
|
59365
|
-
}
|
|
59366
|
-
function CreateEndpointTag(config, endpointId, tags) {
|
|
59367
|
-
return new Promise((resolve, reject) => {
|
|
59368
|
-
const req = new import_endpoint_api_pb.CreateEndpointTagRequest();
|
|
59369
|
-
req.setTagsList(tags);
|
|
59370
|
-
req.setEndpointid(endpointId);
|
|
59371
|
-
config.endpointClient.createEndpointTag(
|
|
59372
|
-
req,
|
|
59373
|
-
WithAuthContext(config.auth),
|
|
59374
|
-
(err, response) => {
|
|
59375
|
-
if (err) reject(err);
|
|
59376
|
-
else resolve(response);
|
|
59377
|
-
}
|
|
59378
|
-
);
|
|
59379
|
-
});
|
|
59380
|
-
}
|
|
59381
|
-
function UpdateEndpointDetail(config, endpointId, name, description) {
|
|
59382
|
-
return new Promise((resolve, reject) => {
|
|
59383
|
-
const req = new import_endpoint_api_pb.UpdateEndpointDetailRequest();
|
|
59384
|
-
req.setName(name);
|
|
59385
|
-
req.setDescription(description);
|
|
59386
|
-
req.setEndpointid(endpointId);
|
|
59387
|
-
config.endpointClient.updateEndpointDetail(
|
|
59388
|
-
req,
|
|
59389
|
-
WithAuthContext(config.auth),
|
|
59390
|
-
(err, response) => {
|
|
59391
|
-
if (err) reject(err);
|
|
59392
|
-
else resolve(response);
|
|
59393
|
-
}
|
|
59394
|
-
);
|
|
59395
|
-
});
|
|
59396
|
-
}
|
|
59397
|
-
function CreateEndpointRetryConfiguration(config, endpointId, retryType, maxAttempts, delaySeconds, exponentialBackoff, retryables) {
|
|
59398
|
-
return new Promise((resolve, reject) => {
|
|
59399
|
-
const request = new import_endpoint_api_pb.CreateEndpointRetryConfigurationRequest();
|
|
59400
|
-
const data = new import_endpoint_api_pb.EndpointRetryConfiguration();
|
|
59401
|
-
data.setRetryablesList(retryables);
|
|
59402
|
-
data.setExponentialbackoff(exponentialBackoff);
|
|
59403
|
-
data.setDelayseconds(delaySeconds);
|
|
59404
|
-
data.setMaxattempts(maxAttempts);
|
|
59405
|
-
data.setRetrytype(retryType);
|
|
59406
|
-
request.setEndpointid(endpointId);
|
|
59407
|
-
request.setData(data);
|
|
59408
59029
|
config.endpointClient.createEndpointRetryConfiguration(
|
|
59409
|
-
request,
|
|
59410
|
-
WithAuthContext(config.auth),
|
|
59411
|
-
(err, response) => {
|
|
59412
|
-
if (err) reject(err);
|
|
59413
|
-
else resolve(response);
|
|
59414
|
-
}
|
|
59415
|
-
);
|
|
59416
|
-
});
|
|
59417
|
-
}
|
|
59418
|
-
function CreateEndpointCacheConfiguration(config, endpointId, cacheType, expiryInterval, matchThreshold) {
|
|
59419
|
-
return new Promise((resolve, reject) => {
|
|
59420
|
-
const request = new import_endpoint_api_pb.CreateEndpointCacheConfigurationRequest();
|
|
59421
|
-
const data = new import_endpoint_api_pb.EndpointCacheConfiguration();
|
|
59422
|
-
data.setMatchthreshold(matchThreshold);
|
|
59423
|
-
data.setExpiryinterval(expiryInterval);
|
|
59424
|
-
data.setCachetype(cacheType);
|
|
59425
|
-
request.setEndpointid(endpointId);
|
|
59426
|
-
request.setData(data);
|
|
59427
|
-
config.endpointClient.createEndpointCacheConfiguration(
|
|
59428
|
-
request,
|
|
59429
|
-
WithAuthContext(config.auth),
|
|
59430
|
-
(err, response) => {
|
|
59431
|
-
if (err) reject(err);
|
|
59432
|
-
else resolve(response);
|
|
59433
|
-
}
|
|
59434
|
-
);
|
|
59435
|
-
});
|
|
59436
|
-
}
|
|
59437
|
-
function GetAllEndpointLog(config, endpointId, page, pageSize, criteria) {
|
|
59438
|
-
return new Promise((resolve, reject) => {
|
|
59439
|
-
const req = new import_endpoint_api_pb.GetAllEndpointLogRequest();
|
|
59440
|
-
req.setEndpointid(endpointId);
|
|
59441
|
-
const paginate = new import_common_pb8.Paginate();
|
|
59442
|
-
criteria.forEach(({ key, value, logic }) => {
|
|
59443
|
-
const ctr = new import_common_pb8.Criteria();
|
|
59444
|
-
ctr.setKey(key);
|
|
59445
|
-
ctr.setValue(value);
|
|
59446
|
-
ctr.setLogic(logic);
|
|
59447
|
-
req.addCriterias(ctr);
|
|
59448
|
-
});
|
|
59449
|
-
paginate.setPage(page);
|
|
59450
|
-
paginate.setPagesize(pageSize);
|
|
59451
|
-
req.setPaginate(paginate);
|
|
59452
|
-
config.endpointClient.getAllEndpointLog(
|
|
59453
59030
|
req,
|
|
59454
|
-
WithAuthContext(config.auth),
|
|
59031
|
+
WithAuthContext(auth || config.auth),
|
|
59455
59032
|
(err, response) => {
|
|
59456
59033
|
if (err) reject(err);
|
|
59457
59034
|
else resolve(response);
|
|
@@ -59459,14 +59036,11 @@ function GetAllEndpointLog(config, endpointId, page, pageSize, criteria) {
|
|
|
59459
59036
|
);
|
|
59460
59037
|
});
|
|
59461
59038
|
}
|
|
59462
|
-
function GetEndpointLog(config,
|
|
59039
|
+
function GetEndpointLog(config, req, auth) {
|
|
59463
59040
|
return new Promise((resolve, reject) => {
|
|
59464
|
-
const req = new import_endpoint_api_pb.GetEndpointLogRequest();
|
|
59465
|
-
req.setEndpointid(endpointId);
|
|
59466
|
-
req.setId(logId);
|
|
59467
59041
|
config.endpointClient.getEndpointLog(
|
|
59468
59042
|
req,
|
|
59469
|
-
WithAuthContext(config.auth),
|
|
59043
|
+
WithAuthContext(auth || config.auth),
|
|
59470
59044
|
(err, response) => {
|
|
59471
59045
|
if (err) reject(err);
|
|
59472
59046
|
else resolve(response);
|
|
@@ -59477,14 +59051,14 @@ function GetEndpointLog(config, endpointId, logId) {
|
|
|
59477
59051
|
|
|
59478
59052
|
// src/clients/vault.ts
|
|
59479
59053
|
var import_vault_api_pb = __toESM(require_vault_api_pb());
|
|
59480
|
-
var
|
|
59481
|
-
var
|
|
59054
|
+
var import_common_pb6 = __toESM(require_common_pb());
|
|
59055
|
+
var import_struct_pb3 = require("google-protobuf/google/protobuf/struct_pb");
|
|
59482
59056
|
function CreateProviderKey(connectionConfig, providerId, providerName, credential, name, authHeader) {
|
|
59483
59057
|
return new Promise((resolve, reject) => {
|
|
59484
59058
|
const requestObject = new import_vault_api_pb.CreateProviderCredentialRequest();
|
|
59485
59059
|
requestObject.setProviderid(providerId);
|
|
59486
59060
|
requestObject.setProvidername(providerName);
|
|
59487
|
-
requestObject.setCredential(
|
|
59061
|
+
requestObject.setCredential(import_struct_pb3.Struct.fromJavaScript(credential));
|
|
59488
59062
|
requestObject.setName(name);
|
|
59489
59063
|
connectionConfig.vaultClient.createProviderCredential(
|
|
59490
59064
|
requestObject,
|
|
@@ -59513,9 +59087,9 @@ function DeleteProviderKey(connectionConfig, providerKeyId, authHeader) {
|
|
|
59513
59087
|
function AllOrganizationCredential(connectionConfig, page, pageSize, criteria, authHeader) {
|
|
59514
59088
|
return new Promise((resolve, reject) => {
|
|
59515
59089
|
const req = new import_vault_api_pb.GetAllOrganizationCredentialRequest();
|
|
59516
|
-
const paginate = new
|
|
59090
|
+
const paginate = new import_common_pb6.Paginate();
|
|
59517
59091
|
criteria.forEach((x) => {
|
|
59518
|
-
let ctr = new
|
|
59092
|
+
let ctr = new import_common_pb6.Criteria();
|
|
59519
59093
|
ctr.setKey(x.key);
|
|
59520
59094
|
ctr.setValue(x.value);
|
|
59521
59095
|
req.addCriterias(ctr);
|
|
@@ -59538,7 +59112,7 @@ function CreateToolCredential(connectionConfig, toolId, toolName, credential, na
|
|
|
59538
59112
|
const requestObject = new import_vault_api_pb.CreateToolCredentialRequest();
|
|
59539
59113
|
requestObject.setToolid(toolId);
|
|
59540
59114
|
requestObject.setToolname(toolName);
|
|
59541
|
-
requestObject.setCredential(
|
|
59115
|
+
requestObject.setCredential(import_struct_pb3.Struct.fromJavaScript(credential));
|
|
59542
59116
|
requestObject.setName(name);
|
|
59543
59117
|
connectionConfig.vaultClient.createToolCredential(
|
|
59544
59118
|
requestObject,
|
|
@@ -59552,8 +59126,8 @@ function CreateToolCredential(connectionConfig, toolId, toolName, credential, na
|
|
|
59552
59126
|
}
|
|
59553
59127
|
|
|
59554
59128
|
// src/clients/talk.ts
|
|
59555
|
-
var
|
|
59556
|
-
var
|
|
59129
|
+
var import_common_pb7 = __toESM(require_common_pb());
|
|
59130
|
+
var import_common_pb8 = __toESM(require_common_pb());
|
|
59557
59131
|
var import_talk_api_pb = __toESM(require_talk_api_pb());
|
|
59558
59132
|
var import_talk_api_pb2 = __toESM(require_talk_api_pb());
|
|
59559
59133
|
function AssistantTalk(conversationStreamClient, authHeader) {
|
|
@@ -59566,7 +59140,7 @@ function CreateMessageMetric(connectionConfig, assistantId, assistantConversatio
|
|
|
59566
59140
|
req.setAssistantconversationid(assistantConversationId);
|
|
59567
59141
|
req.setMessageid(messageId);
|
|
59568
59142
|
for (var mtr of metrics) {
|
|
59569
|
-
const _m = new
|
|
59143
|
+
const _m = new import_common_pb7.Metric();
|
|
59570
59144
|
_m.setName(mtr.name);
|
|
59571
59145
|
_m.setValue(mtr.value);
|
|
59572
59146
|
_m.setDescription(mtr.description);
|
|
@@ -59588,7 +59162,7 @@ function CreateConversationMetric(connectionConfig, assistantId, assistantConver
|
|
|
59588
59162
|
req.setAssistantid(assistantId);
|
|
59589
59163
|
req.setAssistantconversationid(assistantConversationId);
|
|
59590
59164
|
for (var mtr of metrics) {
|
|
59591
|
-
const _m = new
|
|
59165
|
+
const _m = new import_common_pb7.Metric();
|
|
59592
59166
|
_m.setName(mtr.name);
|
|
59593
59167
|
_m.setValue(mtr.value);
|
|
59594
59168
|
_m.setDescription(mtr.description);
|
|
@@ -59604,33 +59178,9 @@ function CreateConversationMetric(connectionConfig, assistantId, assistantConver
|
|
|
59604
59178
|
);
|
|
59605
59179
|
});
|
|
59606
59180
|
}
|
|
59607
|
-
function GetAllAssistantConversation(connectionConfig, assistantId, page, pageSize, criteria) {
|
|
59608
|
-
return new Promise((resolve, reject) => {
|
|
59609
|
-
const req = new import_common_pb10.GetAllAssistantConversationRequest();
|
|
59610
|
-
req.setAssistantid(assistantId);
|
|
59611
|
-
const paginate = new import_common_pb11.Paginate();
|
|
59612
|
-
criteria.forEach((x) => {
|
|
59613
|
-
let ctr = new import_common_pb11.Criteria();
|
|
59614
|
-
ctr.setKey(x.key);
|
|
59615
|
-
ctr.setValue(x.value);
|
|
59616
|
-
req.addCriterias(ctr);
|
|
59617
|
-
});
|
|
59618
|
-
paginate.setPage(page);
|
|
59619
|
-
paginate.setPagesize(pageSize);
|
|
59620
|
-
req.setPaginate(paginate);
|
|
59621
|
-
connectionConfig.conversationClient.getAllAssistantConversation(
|
|
59622
|
-
req,
|
|
59623
|
-
WithAuthContext(connectionConfig.auth),
|
|
59624
|
-
(err, uvcr) => {
|
|
59625
|
-
if (err) reject(err);
|
|
59626
|
-
else resolve(uvcr);
|
|
59627
|
-
}
|
|
59628
|
-
);
|
|
59629
|
-
});
|
|
59630
|
-
}
|
|
59631
59181
|
|
|
59632
59182
|
// src/clients/knowledge.ts
|
|
59633
|
-
var
|
|
59183
|
+
var import_common_pb9 = __toESM(require_common_pb());
|
|
59634
59184
|
var import_knowledge_api_pb = __toESM(require_knowledge_api_pb());
|
|
59635
59185
|
var import_knowledge_api_pb2 = __toESM(require_knowledge_api_pb());
|
|
59636
59186
|
function CreateKnowledge(config, provider, name, description, tags) {
|
|
@@ -59669,9 +59219,9 @@ function GetKnowledgeBase(config, knowledgeBaseId) {
|
|
|
59669
59219
|
function GetAllKnowledgeBases(config, page, pageSize, criteria) {
|
|
59670
59220
|
return new Promise((resolve, reject) => {
|
|
59671
59221
|
const req = new import_knowledge_api_pb.GetAllKnowledgeRequest();
|
|
59672
|
-
const paginate = new
|
|
59222
|
+
const paginate = new import_common_pb9.Paginate();
|
|
59673
59223
|
criteria.forEach(({ key, value, logic }) => {
|
|
59674
|
-
const ctr = new
|
|
59224
|
+
const ctr = new import_common_pb9.Criteria();
|
|
59675
59225
|
ctr.setKey(key);
|
|
59676
59226
|
ctr.setValue(value);
|
|
59677
59227
|
ctr.setLogic(logic);
|
|
@@ -59723,9 +59273,9 @@ function GetAllKnowledgeDocument(config, knowledgeId, page, pageSize, criteria)
|
|
|
59723
59273
|
return new Promise((resolve, reject) => {
|
|
59724
59274
|
const req = new import_knowledge_api_pb.GetAllKnowledgeDocumentRequest();
|
|
59725
59275
|
req.setKnowledgeid(knowledgeId);
|
|
59726
|
-
const paginate = new
|
|
59276
|
+
const paginate = new import_common_pb9.Paginate();
|
|
59727
59277
|
criteria.forEach(({ key, value }) => {
|
|
59728
|
-
const ctr = new
|
|
59278
|
+
const ctr = new import_common_pb9.Criteria();
|
|
59729
59279
|
ctr.setKey(key);
|
|
59730
59280
|
ctr.setValue(value);
|
|
59731
59281
|
req.addCriterias(ctr);
|
|
@@ -59747,9 +59297,9 @@ function GetAllKnowledgeDocumentSegment(config, knowledgeId, page, pageSize, cri
|
|
|
59747
59297
|
return new Promise((resolve, reject) => {
|
|
59748
59298
|
const req = new import_knowledge_api_pb.GetAllKnowledgeDocumentSegmentRequest();
|
|
59749
59299
|
req.setKnowledgeid(knowledgeId);
|
|
59750
|
-
const paginate = new
|
|
59300
|
+
const paginate = new import_common_pb9.Paginate();
|
|
59751
59301
|
criteria.forEach(({ key, value }) => {
|
|
59752
|
-
const ctr = new
|
|
59302
|
+
const ctr = new import_common_pb9.Criteria();
|
|
59753
59303
|
ctr.setKey(key);
|
|
59754
59304
|
ctr.setValue(value);
|
|
59755
59305
|
req.addCriterias(ctr);
|
|
@@ -59842,7 +59392,7 @@ function UpdateKnowledgeDocumentSegment(config, documentId, index, organizations
|
|
|
59842
59392
|
|
|
59843
59393
|
// src/clients/project.ts
|
|
59844
59394
|
var import_web_api_pb3 = __toESM(require_web_api_pb());
|
|
59845
|
-
var
|
|
59395
|
+
var import_common_pb10 = __toESM(require_common_pb());
|
|
59846
59396
|
function AddUsersToProject(connectionConfig, email, role, projectIds, authHeader) {
|
|
59847
59397
|
return new Promise((resolve, reject) => {
|
|
59848
59398
|
const requestObject = new import_web_api_pb3.AddUsersToProjectRequest();
|
|
@@ -59894,9 +59444,9 @@ function UpdateProject(connectionConfig, projectId, authHeader, projectName, pro
|
|
|
59894
59444
|
function GetAllProject(connectionConfig, page, pageSize, criteria, authHeader) {
|
|
59895
59445
|
return new Promise((resolve, reject) => {
|
|
59896
59446
|
const req = new import_web_api_pb3.GetAllProjectRequest();
|
|
59897
|
-
const paginate = new
|
|
59447
|
+
const paginate = new import_common_pb10.Paginate();
|
|
59898
59448
|
criteria.forEach(({ key, value }) => {
|
|
59899
|
-
const ctr = new
|
|
59449
|
+
const ctr = new import_common_pb10.Criteria();
|
|
59900
59450
|
ctr.setKey(key);
|
|
59901
59451
|
ctr.setValue(value);
|
|
59902
59452
|
req.addCriterias(ctr);
|
|
@@ -59973,25 +59523,25 @@ function CreateProjectCredential(connectionConfig, projectId, name, authHeader)
|
|
|
59973
59523
|
}
|
|
59974
59524
|
|
|
59975
59525
|
// src/index.ts
|
|
59976
|
-
var
|
|
59526
|
+
var import_assistant_knowledge_pb = __toESM(require_assistant_knowledge_pb());
|
|
59977
59527
|
var import_marketplace_api_pb2 = __toESM(require_marketplace_api_pb());
|
|
59978
59528
|
var import_audit_logging_api_pb2 = __toESM(require_audit_logging_api_pb());
|
|
59979
59529
|
var import_provider_api_pb2 = __toESM(require_provider_api_pb());
|
|
59980
59530
|
var import_vault_api_pb2 = __toESM(require_vault_api_pb());
|
|
59981
59531
|
var import_talk_api_pb3 = __toESM(require_talk_api_pb());
|
|
59982
|
-
var
|
|
59532
|
+
var import_assistant_analysis_pb = __toESM(require_assistant_analysis_pb());
|
|
59983
59533
|
var import_sendgrid_api_pb = __toESM(require_sendgrid_api_pb());
|
|
59984
|
-
var
|
|
59534
|
+
var import_invoker_api_pb = __toESM(require_invoker_api_pb());
|
|
59985
59535
|
var import_web_api_pb4 = __toESM(require_web_api_pb());
|
|
59986
|
-
var
|
|
59987
|
-
var
|
|
59536
|
+
var import_common_pb11 = __toESM(require_common_pb());
|
|
59537
|
+
var import_assistant_webhook_pb = __toESM(require_assistant_webhook_pb());
|
|
59988
59538
|
var import_connect_api_pb2 = __toESM(require_connect_api_pb());
|
|
59989
|
-
var
|
|
59990
|
-
var
|
|
59539
|
+
var import_endpoint_api_pb = __toESM(require_endpoint_api_pb());
|
|
59540
|
+
var import_assistant_tool_pb = __toESM(require_assistant_tool_pb());
|
|
59991
59541
|
var import_integration_api_pb = __toESM(require_integration_api_pb());
|
|
59992
59542
|
var import_assistant_deployment_pb = __toESM(require_assistant_deployment_pb());
|
|
59993
59543
|
var import_knowledge_api_pb3 = __toESM(require_knowledge_api_pb());
|
|
59994
|
-
var
|
|
59544
|
+
var import_assistant_api_pb = __toESM(require_assistant_api_pb());
|
|
59995
59545
|
|
|
59996
59546
|
// src/clients/call.ts
|
|
59997
59547
|
function CreatePhoneCall(clientCfg, request) {
|
|
@@ -60104,11 +59654,8 @@ var import_talk_api_pb4 = __toESM(require_talk_api_pb());
|
|
|
60104
59654
|
CreateConversationMetric,
|
|
60105
59655
|
CreateConversationMetricRequest,
|
|
60106
59656
|
CreateConversationMetricResponse,
|
|
60107
|
-
CreateEndpoint,
|
|
60108
|
-
CreateEndpointCacheConfiguration,
|
|
60109
59657
|
CreateEndpointCacheConfigurationRequest,
|
|
60110
59658
|
CreateEndpointCacheConfigurationResponse,
|
|
60111
|
-
CreateEndpointProviderModel,
|
|
60112
59659
|
CreateEndpointProviderModelRequest,
|
|
60113
59660
|
CreateEndpointProviderModelResponse,
|
|
60114
59661
|
CreateEndpointRequest,
|
|
@@ -60116,7 +59663,6 @@ var import_talk_api_pb4 = __toESM(require_talk_api_pb());
|
|
|
60116
59663
|
CreateEndpointRetryConfiguration,
|
|
60117
59664
|
CreateEndpointRetryConfigurationRequest,
|
|
60118
59665
|
CreateEndpointRetryConfigurationResponse,
|
|
60119
|
-
CreateEndpointTag,
|
|
60120
59666
|
CreateEndpointTagRequest,
|
|
60121
59667
|
CreateKnowledge,
|
|
60122
59668
|
CreateKnowledgeDocument,
|
|
@@ -60215,7 +59761,6 @@ var import_talk_api_pb4 = __toESM(require_talk_api_pb());
|
|
|
60215
59761
|
GetAllAssistantProviderModelResponse,
|
|
60216
59762
|
GetAllAssistantRequest,
|
|
60217
59763
|
GetAllAssistantResponse,
|
|
60218
|
-
GetAllAssistantSession,
|
|
60219
59764
|
GetAllAssistantTool,
|
|
60220
59765
|
GetAllAssistantToolRequest,
|
|
60221
59766
|
GetAllAssistantToolResponse,
|
|
@@ -60234,7 +59779,6 @@ var import_talk_api_pb4 = __toESM(require_talk_api_pb());
|
|
|
60234
59779
|
GetAllDeploymentRequest,
|
|
60235
59780
|
GetAllDeploymentResponse,
|
|
60236
59781
|
GetAllEndpoint,
|
|
60237
|
-
GetAllEndpointLog,
|
|
60238
59782
|
GetAllEndpointLogRequest,
|
|
60239
59783
|
GetAllEndpointLogResponse,
|
|
60240
59784
|
GetAllEndpointProviderModel,
|
|
@@ -60421,7 +59965,6 @@ var import_talk_api_pb4 = __toESM(require_talk_api_pb());
|
|
|
60421
59965
|
UpdateAssistantVersionRequest,
|
|
60422
59966
|
UpdateAssistantWebhookRequest,
|
|
60423
59967
|
UpdateBillingInformationRequest,
|
|
60424
|
-
UpdateEndpointDetail,
|
|
60425
59968
|
UpdateEndpointDetailRequest,
|
|
60426
59969
|
UpdateEndpointVersion,
|
|
60427
59970
|
UpdateEndpointVersionRequest,
|