@rapidaai/nodejs 1.0.12 → 1.0.14
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 +58 -276
- package/dist/index.d.ts +58 -276
- package/dist/index.js +374 -1182
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +374 -1175
- package/dist/index.mjs.map +1 -1
- package/package.json +4 -3
package/dist/index.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import * as google_protobuf_any_pb from 'google-protobuf/google/protobuf/any_pb';
|
|
2
|
-
import
|
|
2
|
+
import { Any } from 'google-protobuf/google/protobuf/any_pb';
|
|
3
3
|
export { Any } from 'google-protobuf/google/protobuf/any_pb';
|
|
4
4
|
import * as jspb from 'google-protobuf';
|
|
5
|
-
import { Map
|
|
5
|
+
import { Map } from 'google-protobuf';
|
|
6
6
|
import * as google_protobuf_timestamp_pb from 'google-protobuf/google/protobuf/timestamp_pb';
|
|
7
7
|
import * as google_protobuf_struct_pb from 'google-protobuf/google/protobuf/struct_pb';
|
|
8
8
|
import { Metadata as Metadata$1 } from '@grpc/grpc-js';
|
|
@@ -22,7 +22,7 @@ declare function AnyToJSON(anyValue: Any): object;
|
|
|
22
22
|
/**
|
|
23
23
|
*
|
|
24
24
|
*/
|
|
25
|
-
declare function MapToObject(protoMap: Map
|
|
25
|
+
declare function MapToObject(protoMap: Map<string, Any | Uint8Array>): Record<string, any>;
|
|
26
26
|
|
|
27
27
|
// package:
|
|
28
28
|
// file: common.proto
|
|
@@ -5460,90 +5460,12 @@ declare namespace UpdateAssistantDetailRequest {
|
|
|
5460
5460
|
}
|
|
5461
5461
|
}
|
|
5462
5462
|
|
|
5463
|
-
declare class GetAllAssistantUserConversationRequest extends jspb.Message {
|
|
5464
|
-
getAssistantid(): string;
|
|
5465
|
-
setAssistantid(value: string): void;
|
|
5466
|
-
|
|
5467
|
-
hasPaginate(): boolean;
|
|
5468
|
-
clearPaginate(): void;
|
|
5469
|
-
getPaginate(): Paginate | undefined;
|
|
5470
|
-
setPaginate(value?: Paginate): void;
|
|
5471
|
-
|
|
5472
|
-
clearCriteriasList(): void;
|
|
5473
|
-
getCriteriasList(): Array<Criteria>;
|
|
5474
|
-
setCriteriasList(value: Array<Criteria>): void;
|
|
5475
|
-
addCriterias(value?: Criteria, index?: number): Criteria;
|
|
5476
|
-
|
|
5477
|
-
getSource(): SourceMap[keyof SourceMap];
|
|
5478
|
-
setSource(value: SourceMap[keyof SourceMap]): void;
|
|
5479
|
-
|
|
5480
|
-
serializeBinary(): Uint8Array;
|
|
5481
|
-
toObject(includeInstance?: boolean): GetAllAssistantUserConversationRequest.AsObject;
|
|
5482
|
-
static toObject(includeInstance: boolean, msg: GetAllAssistantUserConversationRequest): GetAllAssistantUserConversationRequest.AsObject;
|
|
5483
|
-
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
5484
|
-
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
5485
|
-
static serializeBinaryToWriter(message: GetAllAssistantUserConversationRequest, writer: jspb.BinaryWriter): void;
|
|
5486
|
-
static deserializeBinary(bytes: Uint8Array): GetAllAssistantUserConversationRequest;
|
|
5487
|
-
static deserializeBinaryFromReader(message: GetAllAssistantUserConversationRequest, reader: jspb.BinaryReader): GetAllAssistantUserConversationRequest;
|
|
5488
|
-
}
|
|
5489
|
-
|
|
5490
|
-
declare namespace GetAllAssistantUserConversationRequest {
|
|
5491
|
-
export type AsObject = {
|
|
5492
|
-
assistantid: string,
|
|
5493
|
-
paginate?: Paginate.AsObject,
|
|
5494
|
-
criteriasList: Array<Criteria.AsObject>,
|
|
5495
|
-
source: SourceMap[keyof SourceMap],
|
|
5496
|
-
}
|
|
5497
|
-
}
|
|
5498
|
-
|
|
5499
|
-
declare class GetAllAssistantUserConversationResponse extends jspb.Message {
|
|
5500
|
-
getCode(): number;
|
|
5501
|
-
setCode(value: number): void;
|
|
5502
|
-
|
|
5503
|
-
getSuccess(): boolean;
|
|
5504
|
-
setSuccess(value: boolean): void;
|
|
5505
|
-
|
|
5506
|
-
clearDataList(): void;
|
|
5507
|
-
getDataList(): Array<AssistantConversation>;
|
|
5508
|
-
setDataList(value: Array<AssistantConversation>): void;
|
|
5509
|
-
addData(value?: AssistantConversation, index?: number): AssistantConversation;
|
|
5510
|
-
|
|
5511
|
-
hasError(): boolean;
|
|
5512
|
-
clearError(): void;
|
|
5513
|
-
getError(): Error | undefined;
|
|
5514
|
-
setError(value?: Error): void;
|
|
5515
|
-
|
|
5516
|
-
hasPaginated(): boolean;
|
|
5517
|
-
clearPaginated(): void;
|
|
5518
|
-
getPaginated(): Paginated | undefined;
|
|
5519
|
-
setPaginated(value?: Paginated): void;
|
|
5520
|
-
|
|
5521
|
-
serializeBinary(): Uint8Array;
|
|
5522
|
-
toObject(includeInstance?: boolean): GetAllAssistantUserConversationResponse.AsObject;
|
|
5523
|
-
static toObject(includeInstance: boolean, msg: GetAllAssistantUserConversationResponse): GetAllAssistantUserConversationResponse.AsObject;
|
|
5524
|
-
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
5525
|
-
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
5526
|
-
static serializeBinaryToWriter(message: GetAllAssistantUserConversationResponse, writer: jspb.BinaryWriter): void;
|
|
5527
|
-
static deserializeBinary(bytes: Uint8Array): GetAllAssistantUserConversationResponse;
|
|
5528
|
-
static deserializeBinaryFromReader(message: GetAllAssistantUserConversationResponse, reader: jspb.BinaryReader): GetAllAssistantUserConversationResponse;
|
|
5529
|
-
}
|
|
5530
|
-
|
|
5531
|
-
declare namespace GetAllAssistantUserConversationResponse {
|
|
5532
|
-
export type AsObject = {
|
|
5533
|
-
code: number,
|
|
5534
|
-
success: boolean,
|
|
5535
|
-
dataList: Array<AssistantConversation.AsObject>,
|
|
5536
|
-
error?: Error.AsObject,
|
|
5537
|
-
paginated?: Paginated.AsObject,
|
|
5538
|
-
}
|
|
5539
|
-
}
|
|
5540
|
-
|
|
5541
5463
|
declare class GetAssistantConversationRequest extends jspb.Message {
|
|
5542
5464
|
getAssistantid(): string;
|
|
5543
5465
|
setAssistantid(value: string): void;
|
|
5544
5466
|
|
|
5545
|
-
|
|
5546
|
-
|
|
5467
|
+
getId(): string;
|
|
5468
|
+
setId(value: string): void;
|
|
5547
5469
|
|
|
5548
5470
|
clearSelectorsList(): void;
|
|
5549
5471
|
getSelectorsList(): Array<FieldSelector>;
|
|
@@ -5563,7 +5485,7 @@ declare class GetAssistantConversationRequest extends jspb.Message {
|
|
|
5563
5485
|
declare namespace GetAssistantConversationRequest {
|
|
5564
5486
|
export type AsObject = {
|
|
5565
5487
|
assistantid: string,
|
|
5566
|
-
|
|
5488
|
+
id: string,
|
|
5567
5489
|
selectorsList: Array<FieldSelector.AsObject>,
|
|
5568
5490
|
}
|
|
5569
5491
|
}
|
|
@@ -11762,16 +11684,13 @@ declare function GetAllDeployment(client: ConnectionConfig, page: number, pageSi
|
|
|
11762
11684
|
}[]): Promise<GetAllDeploymentResponse>;
|
|
11763
11685
|
|
|
11764
11686
|
/**
|
|
11765
|
-
* Invoke an endpoint with specified parameters.
|
|
11766
11687
|
*
|
|
11767
|
-
* @param
|
|
11768
|
-
* @param
|
|
11769
|
-
* @param
|
|
11770
|
-
* @
|
|
11771
|
-
* @param metadata - Optional metadata to include in the request.
|
|
11772
|
-
* @returns Promise<InvokeResponse> - A promise that resolves with the InvokeResponse.
|
|
11688
|
+
* @param config
|
|
11689
|
+
* @param req
|
|
11690
|
+
* @param auth
|
|
11691
|
+
* @returns
|
|
11773
11692
|
*/
|
|
11774
|
-
declare function Invoke(config: ConnectionConfig,
|
|
11693
|
+
declare function Invoke(config: ConnectionConfig, req: InvokeRequest, auth?: UserAuthInfo | ClientAuthInfo): Promise<InvokeResponse>;
|
|
11775
11694
|
|
|
11776
11695
|
declare function AuthenticateUser(config: ConnectionConfig, email: string, password: string): Promise<AuthenticateResponse>;
|
|
11777
11696
|
declare function AuthorizeUser(config: ConnectionConfig, authHeader: ClientAuthInfo | UserAuthInfo): Promise<AuthenticateResponse>;
|
|
@@ -11869,146 +11788,42 @@ declare function UpdateOrganization(connectionConfig: ConnectionConfig, organiza
|
|
|
11869
11788
|
*/
|
|
11870
11789
|
declare function GetOrganization(connectionConfig: ConnectionConfig, authHeader: ClientAuthInfo | UserAuthInfo): Promise<GetOrganizationResponse>;
|
|
11871
11790
|
|
|
11872
|
-
declare function GetAllAssistant(
|
|
11873
|
-
|
|
11874
|
-
|
|
11875
|
-
|
|
11876
|
-
declare function
|
|
11877
|
-
declare function
|
|
11878
|
-
|
|
11879
|
-
|
|
11880
|
-
|
|
11881
|
-
declare function
|
|
11882
|
-
declare function
|
|
11883
|
-
declare function
|
|
11884
|
-
declare function
|
|
11885
|
-
declare function
|
|
11886
|
-
declare function
|
|
11887
|
-
|
|
11888
|
-
|
|
11889
|
-
|
|
11890
|
-
|
|
11891
|
-
declare function
|
|
11892
|
-
|
|
11893
|
-
|
|
11894
|
-
|
|
11895
|
-
|
|
11896
|
-
declare function
|
|
11897
|
-
|
|
11898
|
-
|
|
11899
|
-
|
|
11900
|
-
|
|
11901
|
-
declare function
|
|
11902
|
-
|
|
11903
|
-
|
|
11904
|
-
|
|
11905
|
-
declare function
|
|
11906
|
-
|
|
11907
|
-
|
|
11908
|
-
}[]): Promise<GetAllAssistantWebhookResponse>;
|
|
11909
|
-
/**
|
|
11910
|
-
*
|
|
11911
|
-
* @param assistantId
|
|
11912
|
-
* @param method
|
|
11913
|
-
* @param endpoint
|
|
11914
|
-
* @param headers
|
|
11915
|
-
* @param parameters
|
|
11916
|
-
* @param events
|
|
11917
|
-
* @param retryOnStatus
|
|
11918
|
-
* @param maxRetries
|
|
11919
|
-
* @param timeout
|
|
11920
|
-
* @param priority
|
|
11921
|
-
* @param cb
|
|
11922
|
-
* @param authHeader
|
|
11923
|
-
* @param description
|
|
11924
|
-
* @returns
|
|
11925
|
-
*/
|
|
11926
|
-
declare function CreateWebhook(connectionConfig: ConnectionConfig, assistantId: string, method: string, endpoint: string, headers: {
|
|
11927
|
-
key: string;
|
|
11928
|
-
value: string;
|
|
11929
|
-
}[], parameters: {
|
|
11930
|
-
key: string;
|
|
11931
|
-
value: string;
|
|
11932
|
-
}[], events: string[], retryOnStatus: string[], maxRetries: number, timeout: number, priority: number, description?: string): Promise<GetAssistantWebhookResponse>;
|
|
11933
|
-
/**
|
|
11934
|
-
*
|
|
11935
|
-
* @param assistantId
|
|
11936
|
-
* @param webhookId
|
|
11937
|
-
* @param method
|
|
11938
|
-
* @param endpoint
|
|
11939
|
-
* @param headers
|
|
11940
|
-
* @param events
|
|
11941
|
-
* @param retryOnStatus
|
|
11942
|
-
* @param maxRetries
|
|
11943
|
-
* @param timeout
|
|
11944
|
-
* @param cb
|
|
11945
|
-
* @param authHeader
|
|
11946
|
-
* @param description
|
|
11947
|
-
* @returns
|
|
11948
|
-
*/
|
|
11949
|
-
declare function UpdateWebhook(connectionConfig: ConnectionConfig, assistantId: string, webhookId: string, method: string, endpoint: string, headers: {
|
|
11950
|
-
key: string;
|
|
11951
|
-
value: string;
|
|
11952
|
-
}[], parameters: {
|
|
11953
|
-
key: string;
|
|
11954
|
-
value: string;
|
|
11955
|
-
}[], events: string[], retryOnStatus: string[], maxRetries: number, timeout: number, priority: number, description?: string): Promise<GetAssistantWebhookResponse>;
|
|
11956
|
-
declare function GetAssistantWebhook(connectionConfig: ConnectionConfig, assistantId: string, webhookId: string): Promise<GetAssistantWebhookResponse>;
|
|
11957
|
-
declare function DeleteAssistantWebhook(connectionConfig: ConnectionConfig, assistantId: string, webhookId: string): Promise<GetAssistantWebhookResponse>;
|
|
11958
|
-
declare function GetAssistantConversation(connectionConfig: ConnectionConfig, assistantId: string, conversaiontId: string): Promise<GetAssistantConversationResponse>;
|
|
11959
|
-
declare function DeleteAssistant(connectionConfig: ConnectionConfig, assistantId: string): Promise<GetAssistantResponse>;
|
|
11960
|
-
declare function GetAllAssistantAnalysis(connectionConfig: ConnectionConfig, assistantId: string, page: number, pageSize: number, criteria: {
|
|
11961
|
-
key: string;
|
|
11962
|
-
value: string;
|
|
11963
|
-
}[]): Promise<GetAllAssistantAnalysisResponse>;
|
|
11964
|
-
declare function CreateAnalysis(connectionConfig: ConnectionConfig, assistantId: string, name: string, endpointid: string, endpointversion: string, executionpriority: number, parameters: {
|
|
11965
|
-
key: string;
|
|
11966
|
-
value: string;
|
|
11967
|
-
}[], description?: string): Promise<GetAssistantAnalysisResponse>;
|
|
11968
|
-
declare function UpdateAnalysis(connectionConfig: ConnectionConfig, assistantId: string, AnalysisId: string, name: string, endpointid: string, endpointversion: string, executionpriority: number, parameters: {
|
|
11969
|
-
key: string;
|
|
11970
|
-
value: string;
|
|
11971
|
-
}[], description?: string): Promise<GetAssistantAnalysisResponse>;
|
|
11972
|
-
declare function GetAssistantAnalysis(connectionConfig: ConnectionConfig, assistantId: string, AnalysisId: string): Promise<GetAssistantAnalysisResponse>;
|
|
11973
|
-
declare function DeleteAssistantAnalysis(connectionConfig: ConnectionConfig, assistantId: string, AnalysisId: string): Promise<GetAssistantAnalysisResponse>;
|
|
11974
|
-
declare function GetAllWebhookLog(connectionConfig: ConnectionConfig, projectId: string, page: number, pageSize: number, criteria: {
|
|
11975
|
-
key: string;
|
|
11976
|
-
value: string;
|
|
11977
|
-
logic: string;
|
|
11978
|
-
}[]): Promise<GetAllAssistantWebhookLogResponse>;
|
|
11979
|
-
declare function GetWebhookLog(connectionConfig: ConnectionConfig, projectId: string, webhookLogId: string): Promise<GetAssistantWebhookLogResponse>;
|
|
11980
|
-
declare function GetAllAssistantTool(connectionConfig: ConnectionConfig, assistantId: string, page: number, pageSize: number, criteria: {
|
|
11981
|
-
key: string;
|
|
11982
|
-
value: string;
|
|
11983
|
-
}[]): Promise<GetAllAssistantToolResponse>;
|
|
11984
|
-
declare function CreateAssistantTool(connectionConfig: ConnectionConfig, assistantId: string, name: string, description: string, fields: {}, executionMethod: string, executionOptions: Metadata[]): Promise<GetAssistantToolResponse>;
|
|
11985
|
-
declare function UpdateAssistantTool(connectionConfig: ConnectionConfig, assistantId: string, assistantToolId: string, name: string, description: string, fields: {}, executionMethod: string, executionOptions: Metadata[]): Promise<GetAssistantToolResponse>;
|
|
11986
|
-
declare function GetAssistantTool(connectionConfig: ConnectionConfig, assistantId: string, ToolId: string): Promise<GetAssistantToolResponse>;
|
|
11987
|
-
declare function DeleteAssistantTool(connectionConfig: ConnectionConfig, assistantId: string, ToolId: string): Promise<GetAssistantToolResponse>;
|
|
11988
|
-
declare function GetAllAssistantKnowledge(connectionConfig: ConnectionConfig, assistantId: string, page: number, pageSize: number, criteria: {
|
|
11989
|
-
key: string;
|
|
11990
|
-
value: string;
|
|
11991
|
-
}[]): Promise<GetAllAssistantKnowledgeResponse>;
|
|
11992
|
-
declare function CreateAssistantKnowledge(connectionConfig: ConnectionConfig, assistantId: string, knowledgeId: string, config: {
|
|
11993
|
-
searchMethod: "semantic" | "fullText" | "hybrid" | "invertedIndex";
|
|
11994
|
-
rerankingEnable: boolean;
|
|
11995
|
-
rerankerModelProvider?: string;
|
|
11996
|
-
rerankerModelProviderId?: string;
|
|
11997
|
-
rerankerModelOptions?: Metadata[];
|
|
11998
|
-
topK: number;
|
|
11999
|
-
scoreThreshold: number;
|
|
12000
|
-
}): Promise<GetAssistantKnowledgeResponse>;
|
|
12001
|
-
declare function UpdateAssistantKnowledge(connectionConfig: ConnectionConfig, id: string, assistantId: string, knowledgeId: string, config: {
|
|
12002
|
-
searchMethod: "semantic" | "fullText" | "hybrid" | "invertedIndex";
|
|
12003
|
-
rerankingEnable: boolean;
|
|
12004
|
-
rerankerModelProvider?: string;
|
|
12005
|
-
rerankerModelProviderId?: string;
|
|
12006
|
-
rerankerModelOptions?: Metadata[];
|
|
12007
|
-
topK: number;
|
|
12008
|
-
scoreThreshold: number;
|
|
12009
|
-
}): Promise<GetAssistantKnowledgeResponse>;
|
|
12010
|
-
declare function GetAssistantKnowledge(connectionConfig: ConnectionConfig, assistantId: string, ToolId: string): Promise<GetAssistantKnowledgeResponse>;
|
|
12011
|
-
declare function DeleteAssistantKnowledge(connectionConfig: ConnectionConfig, assistantId: string, knowledgeId: string): Promise<GetAssistantKnowledgeResponse>;
|
|
11791
|
+
declare function GetAllAssistant(config: ConnectionConfig, req: GetAllAssistantRequest, auth?: UserAuthInfo | ClientAuthInfo): Promise<GetAllAssistantResponse>;
|
|
11792
|
+
declare function UpdateAssistantVersion(config: ConnectionConfig, req: UpdateAssistantVersionRequest, auth?: UserAuthInfo | ClientAuthInfo): Promise<GetAssistantResponse>;
|
|
11793
|
+
declare function GetAllAssistantProviderModel(config: ConnectionConfig, req: GetAllAssistantProviderModelRequest, auth?: UserAuthInfo | ClientAuthInfo): Promise<GetAllAssistantProviderModelResponse>;
|
|
11794
|
+
declare function GetAssistant(config: ConnectionConfig, req: GetAssistantRequest, auth?: UserAuthInfo | ClientAuthInfo): Promise<GetAssistantResponse>;
|
|
11795
|
+
declare function CreateAssistantProviderModel(config: ConnectionConfig, req: CreateAssistantProviderModelRequest, auth?: UserAuthInfo | ClientAuthInfo): Promise<GetAssistantProviderModelResponse>;
|
|
11796
|
+
declare function CreateAssistant(config: ConnectionConfig, req: CreateAssistantRequest, auth?: UserAuthInfo | ClientAuthInfo): Promise<GetAssistantResponse>;
|
|
11797
|
+
declare function CreateAssistantTag(config: ConnectionConfig, req: CreateAssistantTagRequest, auth?: UserAuthInfo | ClientAuthInfo): Promise<GetAssistantResponse>;
|
|
11798
|
+
declare function UpdateAssistantDetail(config: ConnectionConfig, req: UpdateAssistantDetailRequest, auth?: UserAuthInfo | ClientAuthInfo): Promise<GetAssistantResponse>;
|
|
11799
|
+
declare function GetAssistantMessages(config: ConnectionConfig, req: GetAllAssistantMessageRequest, auth?: UserAuthInfo | ClientAuthInfo): Promise<GetAllAssistantMessageResponse>;
|
|
11800
|
+
declare function GetMessages(config: ConnectionConfig, req: GetAllMessageRequest, auth?: UserAuthInfo | ClientAuthInfo): Promise<GetAllMessageResponse>;
|
|
11801
|
+
declare function GetAllAssistantConversation(config: ConnectionConfig, req: GetAllAssistantConversationRequest, auth?: UserAuthInfo | ClientAuthInfo): Promise<GetAllAssistantConversationResponse>;
|
|
11802
|
+
declare function GetAllAssistantConversationMessage(config: ConnectionConfig, req: GetAllConversationMessageRequest, auth?: UserAuthInfo | ClientAuthInfo): Promise<GetAllConversationMessageResponse>;
|
|
11803
|
+
declare function GetAllAssistantWebhook(config: ConnectionConfig, req: GetAllAssistantWebhookRequest, auth?: UserAuthInfo | ClientAuthInfo): Promise<GetAllAssistantWebhookResponse>;
|
|
11804
|
+
declare function CreateWebhook(config: ConnectionConfig, req: CreateAssistantWebhookRequest, auth?: UserAuthInfo | ClientAuthInfo): Promise<GetAssistantWebhookResponse>;
|
|
11805
|
+
declare function UpdateWebhook(config: ConnectionConfig, req: UpdateAssistantWebhookRequest, auth?: UserAuthInfo | ClientAuthInfo): Promise<GetAssistantWebhookResponse>;
|
|
11806
|
+
declare function GetAssistantWebhook(config: ConnectionConfig, req: GetAssistantWebhookRequest, auth?: UserAuthInfo | ClientAuthInfo): Promise<GetAssistantWebhookResponse>;
|
|
11807
|
+
declare function DeleteAssistantWebhook(config: ConnectionConfig, req: DeleteAssistantWebhookRequest, auth?: UserAuthInfo | ClientAuthInfo): Promise<GetAssistantWebhookResponse>;
|
|
11808
|
+
declare function GetAssistantConversation(config: ConnectionConfig, req: GetAssistantConversationRequest, auth?: UserAuthInfo | ClientAuthInfo): Promise<GetAssistantConversationResponse>;
|
|
11809
|
+
declare function DeleteAssistant(config: ConnectionConfig, req: DeleteAssistantRequest, auth?: UserAuthInfo | ClientAuthInfo): Promise<GetAssistantResponse>;
|
|
11810
|
+
declare function GetAllAssistantAnalysis(config: ConnectionConfig, req: GetAllAssistantAnalysisRequest, auth?: UserAuthInfo | ClientAuthInfo): Promise<GetAllAssistantAnalysisResponse>;
|
|
11811
|
+
declare function CreateAnalysis(config: ConnectionConfig, req: CreateAssistantAnalysisRequest, auth?: UserAuthInfo | ClientAuthInfo): Promise<GetAssistantAnalysisResponse>;
|
|
11812
|
+
declare function UpdateAnalysis(config: ConnectionConfig, req: UpdateAssistantAnalysisRequest, auth?: UserAuthInfo | ClientAuthInfo): Promise<GetAssistantAnalysisResponse>;
|
|
11813
|
+
declare function GetAssistantAnalysis(config: ConnectionConfig, req: GetAssistantAnalysisRequest, auth?: UserAuthInfo | ClientAuthInfo): Promise<GetAssistantAnalysisResponse>;
|
|
11814
|
+
declare function DeleteAssistantAnalysis(config: ConnectionConfig, req: DeleteAssistantAnalysisRequest, auth?: UserAuthInfo | ClientAuthInfo): Promise<GetAssistantAnalysisResponse>;
|
|
11815
|
+
declare function GetAllWebhookLog(config: ConnectionConfig, req: GetAllAssistantWebhookLogRequest, auth?: UserAuthInfo | ClientAuthInfo): Promise<GetAllAssistantWebhookLogResponse>;
|
|
11816
|
+
declare function GetWebhookLog(config: ConnectionConfig, req: GetAssistantWebhookLogRequest, auth?: UserAuthInfo | ClientAuthInfo): Promise<GetAssistantWebhookLogResponse>;
|
|
11817
|
+
declare function GetAllAssistantTool(config: ConnectionConfig, req: GetAllAssistantToolRequest, auth?: UserAuthInfo | ClientAuthInfo): Promise<GetAllAssistantToolResponse>;
|
|
11818
|
+
declare function CreateAssistantTool(config: ConnectionConfig, req: CreateAssistantToolRequest, auth?: UserAuthInfo | ClientAuthInfo): Promise<GetAssistantToolResponse>;
|
|
11819
|
+
declare function UpdateAssistantTool(config: ConnectionConfig, req: UpdateAssistantToolRequest, auth?: UserAuthInfo | ClientAuthInfo): Promise<GetAssistantToolResponse>;
|
|
11820
|
+
declare function GetAssistantTool(config: ConnectionConfig, req: GetAssistantToolRequest, auth?: UserAuthInfo | ClientAuthInfo): Promise<GetAssistantToolResponse>;
|
|
11821
|
+
declare function DeleteAssistantTool(config: ConnectionConfig, req: DeleteAssistantToolRequest, auth?: UserAuthInfo | ClientAuthInfo): Promise<GetAssistantToolResponse>;
|
|
11822
|
+
declare function GetAllAssistantKnowledge(config: ConnectionConfig, req: GetAllAssistantKnowledgeRequest, auth?: UserAuthInfo | ClientAuthInfo): Promise<GetAllAssistantKnowledgeResponse>;
|
|
11823
|
+
declare function CreateAssistantKnowledge(config: ConnectionConfig, req: CreateAssistantKnowledgeRequest, auth?: UserAuthInfo | ClientAuthInfo): Promise<GetAssistantKnowledgeResponse>;
|
|
11824
|
+
declare function UpdateAssistantKnowledge(config: ConnectionConfig, req: UpdateAssistantKnowledgeRequest, auth?: UserAuthInfo | ClientAuthInfo): Promise<GetAssistantKnowledgeResponse>;
|
|
11825
|
+
declare function GetAssistantKnowledge(config: ConnectionConfig, req: GetAssistantKnowledgeRequest, auth?: UserAuthInfo | ClientAuthInfo): Promise<GetAssistantKnowledgeResponse>;
|
|
11826
|
+
declare function DeleteAssistantKnowledge(config: ConnectionConfig, req: DeleteAssistantKnowledgeRequest, auth?: UserAuthInfo | ClientAuthInfo): Promise<GetAssistantKnowledgeResponse>;
|
|
12012
11827
|
|
|
12013
11828
|
/**
|
|
12014
11829
|
*
|
|
@@ -12063,38 +11878,18 @@ declare function GetActivities(connectionConfig: ConnectionConfig, projectId: st
|
|
|
12063
11878
|
declare function GetActivity(connectionConfig: ConnectionConfig, projectId: string, auditId: string): Promise<GetAuditLogResponse>;
|
|
12064
11879
|
|
|
12065
11880
|
/**
|
|
12066
|
-
* Retrieve all endpoints based on pagination and filtering criteria.
|
|
12067
11881
|
*
|
|
12068
|
-
* @param
|
|
12069
|
-
* @param
|
|
12070
|
-
* @param
|
|
12071
|
-
* @
|
|
12072
|
-
* @param cb - Callback function to handle the response.
|
|
12073
|
-
* @returns UnaryResponse - The gRPC response object.
|
|
11882
|
+
* @param config
|
|
11883
|
+
* @param req
|
|
11884
|
+
* @param auth
|
|
11885
|
+
* @returns
|
|
12074
11886
|
*/
|
|
12075
|
-
declare function GetAllEndpoint(config: ConnectionConfig,
|
|
12076
|
-
|
|
12077
|
-
|
|
12078
|
-
|
|
12079
|
-
|
|
12080
|
-
declare function
|
|
12081
|
-
declare function GetAllEndpointProviderModel(config: ConnectionConfig, endpointId: string, page: number, pageSize: number, criteria: {
|
|
12082
|
-
key: string;
|
|
12083
|
-
value: string;
|
|
12084
|
-
}[]): Promise<GetAllEndpointProviderModelResponse>;
|
|
12085
|
-
declare function GetEndpoint(config: ConnectionConfig, endpointId: string, endpointProviderModelId: string | null): Promise<GetEndpointResponse>;
|
|
12086
|
-
declare function CreateEndpointProviderModel(config: ConnectionConfig, endpointId: string, endpointProviderModel: EndpointProviderModelAttribute): Promise<CreateEndpointProviderModelResponse>;
|
|
12087
|
-
declare function CreateEndpoint(config: ConnectionConfig, endpointProviderModel: EndpointProviderModelAttribute, endpointAttributes: EndpointAttribute, tags: string[], retryConfig?: EndpointRetryConfiguration, cacheConfig?: EndpointCacheConfiguration): Promise<CreateEndpointResponse>;
|
|
12088
|
-
declare function CreateEndpointTag(config: ConnectionConfig, endpointId: string, tags: string[]): Promise<GetEndpointResponse>;
|
|
12089
|
-
declare function UpdateEndpointDetail(config: ConnectionConfig, endpointId: string, name: string, description: string): Promise<GetEndpointResponse>;
|
|
12090
|
-
declare function CreateEndpointRetryConfiguration(config: ConnectionConfig, endpointId: string, retryType: string, maxAttempts: string, delaySeconds: string, exponentialBackoff: boolean, retryables: string[]): Promise<CreateEndpointRetryConfigurationResponse>;
|
|
12091
|
-
declare function CreateEndpointCacheConfiguration(config: ConnectionConfig, endpointId: string, cacheType: string, expiryInterval: string, matchThreshold: number): Promise<CreateEndpointCacheConfigurationResponse>;
|
|
12092
|
-
declare function GetAllEndpointLog(config: ConnectionConfig, endpointId: string, page: number, pageSize: number, criteria: {
|
|
12093
|
-
key: string;
|
|
12094
|
-
value: string;
|
|
12095
|
-
logic: string;
|
|
12096
|
-
}[]): Promise<GetAllEndpointLogResponse>;
|
|
12097
|
-
declare function GetEndpointLog(config: ConnectionConfig, endpointId: string, logId: string): Promise<GetEndpointLogResponse>;
|
|
11887
|
+
declare function GetAllEndpoint(config: ConnectionConfig, req: GetAllEndpointRequest, auth?: UserAuthInfo | ClientAuthInfo): Promise<GetAllEndpointResponse>;
|
|
11888
|
+
declare function UpdateEndpointVersion(config: ConnectionConfig, req: UpdateEndpointVersionRequest, auth?: UserAuthInfo | ClientAuthInfo): Promise<UpdateEndpointVersionResponse>;
|
|
11889
|
+
declare function GetAllEndpointProviderModel(config: ConnectionConfig, req: GetAllEndpointProviderModelRequest, auth?: UserAuthInfo | ClientAuthInfo): Promise<GetAllEndpointProviderModelResponse>;
|
|
11890
|
+
declare function GetEndpoint(config: ConnectionConfig, req: GetEndpointRequest, auth?: UserAuthInfo | ClientAuthInfo): Promise<GetEndpointResponse>;
|
|
11891
|
+
declare function CreateEndpointRetryConfiguration(config: ConnectionConfig, req: CreateEndpointRetryConfigurationRequest, auth?: UserAuthInfo | ClientAuthInfo): Promise<CreateEndpointRetryConfigurationResponse>;
|
|
11892
|
+
declare function GetEndpointLog(config: ConnectionConfig, req: GetEndpointLogRequest, auth?: UserAuthInfo | ClientAuthInfo): Promise<GetEndpointLogResponse>;
|
|
12098
11893
|
|
|
12099
11894
|
/**
|
|
12100
11895
|
*
|
|
@@ -12145,19 +11940,6 @@ declare function CreateConversationMetric(connectionConfig: ConnectionConfig, as
|
|
|
12145
11940
|
value: string;
|
|
12146
11941
|
description: string;
|
|
12147
11942
|
}[]): Promise<CreateMessageMetricResponse>;
|
|
12148
|
-
/**
|
|
12149
|
-
*
|
|
12150
|
-
* @param assistantId
|
|
12151
|
-
* @param page
|
|
12152
|
-
* @param pageSize
|
|
12153
|
-
* @param criteria
|
|
12154
|
-
* @param cb
|
|
12155
|
-
* @param authHeader
|
|
12156
|
-
*/
|
|
12157
|
-
declare function GetAllAssistantConversation(connectionConfig: ConnectionConfig, assistantId: string, page: number, pageSize: number, criteria: {
|
|
12158
|
-
key: string;
|
|
12159
|
-
value: string;
|
|
12160
|
-
}[]): Promise<GetAllAssistantConversationResponse>;
|
|
12161
11943
|
|
|
12162
11944
|
declare enum RapidaDocumentSource {
|
|
12163
11945
|
MANUAL = "manual",
|
|
@@ -13252,4 +13034,4 @@ declare function CreatePhoneCall(clientCfg: ConnectionConfig, request: CreatePho
|
|
|
13252
13034
|
*/
|
|
13253
13035
|
declare function CreateBulkPhoneCall(clientCfg: ConnectionConfig, request: CreateBulkPhoneCallRequest): Promise<CreateBulkPhoneCallResponse>;
|
|
13254
13036
|
|
|
13255
|
-
export { ActionConnect, ActionConnectRequest, ActionConnectResponse, AddUsersToProject, AddUsersToProjectRequest, AddUsersToProjectResponse, AggregatedEndpointAnalytics, AllOrganizationCredential, AnyToBool, AnyToFloat, AnyToInt32, AnyToJSON, AnyToString, ArchiveProjectRequest, ArchiveProjectResponse, Argument, Assistant, AssistantAnalysis, AssistantApiDeployment, AssistantConversation, AssistantConversationAssistantMessage, AssistantConversationConfiguration, AssistantConversationContext, AssistantConversationInterruption, AssistantConversationMessage, AssistantConversationUserMessage, AssistantDebuggerDeployment, AssistantDefinition, AssistantKnowledge, AssistantMessageStage, AssistantMessagingRequest, AssistantMessagingResponse, AssistantPhoneDeployment, AssistantProviderModel, AssistantTalk, AssistantTool, AssistantWebhook, AssistantWebhookLog, AssistantWebpluginDeployment, AssistantWhatsappDeployment, AuditLog, AuthenticateRequest, AuthenticateResponse, AuthenticateUser, Authentication, AuthenticationError, AuthorizeRequest, AuthorizeUser, BaseResponse, BoolToAny, BytesToAny, ChatRequest, ChatResponse, ConnectionConfig, Contact, Content, CreateAnalysis, CreateAssistant, CreateAssistantAnalysisRequest, CreateAssistantApiDeployment, CreateAssistantDebuggerDeployment, CreateAssistantKnowledge, CreateAssistantKnowledgeRequest, CreateAssistantPhoneDeployment, CreateAssistantProviderModel, CreateAssistantProviderModelRequest, CreateAssistantRequest, CreateAssistantTag, CreateAssistantTagRequest, CreateAssistantTool, CreateAssistantToolRequest, CreateAssistantWebhookRequest, CreateAssistantWebpluginDeployment, CreateAssistantWhatsappDeployment, CreateBulkPhoneCall, CreateBulkPhoneCallRequest, CreateBulkPhoneCallResponse, CreateConversationMetric, CreateConversationMetricRequest, CreateConversationMetricResponse,
|
|
13037
|
+
export { ActionConnect, ActionConnectRequest, ActionConnectResponse, AddUsersToProject, AddUsersToProjectRequest, AddUsersToProjectResponse, AggregatedEndpointAnalytics, AllOrganizationCredential, AnyToBool, AnyToFloat, AnyToInt32, AnyToJSON, AnyToString, ArchiveProjectRequest, ArchiveProjectResponse, Argument, Assistant, AssistantAnalysis, AssistantApiDeployment, AssistantConversation, AssistantConversationAssistantMessage, AssistantConversationConfiguration, AssistantConversationContext, AssistantConversationInterruption, AssistantConversationMessage, AssistantConversationUserMessage, AssistantDebuggerDeployment, AssistantDefinition, AssistantKnowledge, AssistantMessageStage, AssistantMessagingRequest, AssistantMessagingResponse, AssistantPhoneDeployment, AssistantProviderModel, AssistantTalk, AssistantTool, AssistantWebhook, AssistantWebhookLog, AssistantWebpluginDeployment, AssistantWhatsappDeployment, AuditLog, AuthenticateRequest, AuthenticateResponse, AuthenticateUser, Authentication, AuthenticationError, AuthorizeRequest, AuthorizeUser, BaseResponse, BoolToAny, BytesToAny, ChatRequest, ChatResponse, ConnectionConfig, Contact, Content, CreateAnalysis, CreateAssistant, CreateAssistantAnalysisRequest, CreateAssistantApiDeployment, CreateAssistantDebuggerDeployment, CreateAssistantKnowledge, CreateAssistantKnowledgeRequest, CreateAssistantPhoneDeployment, CreateAssistantProviderModel, CreateAssistantProviderModelRequest, CreateAssistantRequest, CreateAssistantTag, CreateAssistantTagRequest, CreateAssistantTool, CreateAssistantToolRequest, CreateAssistantWebhookRequest, CreateAssistantWebpluginDeployment, CreateAssistantWhatsappDeployment, CreateBulkPhoneCall, CreateBulkPhoneCallRequest, CreateBulkPhoneCallResponse, CreateConversationMetric, CreateConversationMetricRequest, CreateConversationMetricResponse, CreateEndpointCacheConfigurationRequest, CreateEndpointCacheConfigurationResponse, CreateEndpointProviderModelRequest, CreateEndpointProviderModelResponse, CreateEndpointRequest, CreateEndpointResponse, CreateEndpointRetryConfiguration, CreateEndpointRetryConfigurationRequest, CreateEndpointRetryConfigurationResponse, CreateEndpointTagRequest, CreateKnowledge, CreateKnowledgeDocument, CreateKnowledgeDocumentRequest, CreateKnowledgeDocumentResponse, CreateKnowledgeRequest, CreateKnowledgeResponse, CreateKnowledgeTag, CreateKnowledgeTagRequest, CreateMessageMetric, CreateMessageMetricRequest, CreateMessageMetricResponse, CreateMetadataRequest, CreateMetadataResponse, CreateOrganization, CreateOrganizationRequest, CreateOrganizationResponse, CreatePassword, CreatePasswordRequest, CreatePasswordResponse, CreatePhoneCall, CreatePhoneCallRequest, CreatePhoneCallResponse, CreateProject, CreateProjectCredential, CreateProjectCredentialRequest, CreateProjectCredentialResponse, CreateProjectRequest, CreateProjectResponse, CreateProviderCredentialRequest, CreateProviderKey, CreateToolCredential, CreateToolCredentialRequest, CreateWebhook, Credential, Criteria, DeleteAssistant, DeleteAssistantAnalysis, DeleteAssistantAnalysisRequest, DeleteAssistantKnowledge, DeleteAssistantKnowledgeRequest, DeleteAssistantRequest, DeleteAssistantTool, DeleteAssistantToolRequest, DeleteAssistantWebhook, DeleteAssistantWebhookRequest, DeleteCredentialRequest, DeleteKnowledgeDocumentSegment, DeleteKnowledgeDocumentSegmentRequest, DeleteProject, DeleteProviderKey, DeploymentAudioProvider, Embedding, EmbeddingRequest, EmbeddingResponse, Endpoint, EndpointAttribute, EndpointCacheConfiguration, EndpointDefinition, EndpointLog, EndpointProviderModel, EndpointProviderModelAttribute, EndpointRetryConfiguration, Error, FeaturePermission, FieldSelector, FloatToAny, ForgotPassword, ForgotPasswordRequest, ForgotPasswordResponse, ForkEndpointRequest, FunctionCall, FunctionDefinition, FunctionParameter, FunctionParameterProperty, GeneralConnect, GeneralConnectRequest, GeneralConnectResponse, GetActivities, GetActivity, GetAllAssistant, GetAllAssistantAnalysis, GetAllAssistantAnalysisRequest, GetAllAssistantAnalysisResponse, GetAllAssistantConversation, GetAllAssistantConversationMessage, GetAllAssistantConversationRequest, GetAllAssistantConversationResponse, GetAllAssistantKnowledge, GetAllAssistantKnowledgeRequest, GetAllAssistantKnowledgeResponse, GetAllAssistantMessageRequest, GetAllAssistantMessageResponse, GetAllAssistantProviderModel, GetAllAssistantProviderModelRequest, GetAllAssistantProviderModelResponse, GetAllAssistantRequest, GetAllAssistantResponse, GetAllAssistantTool, GetAllAssistantToolRequest, GetAllAssistantToolResponse, GetAllAssistantWebhook, GetAllAssistantWebhookLogRequest, GetAllAssistantWebhookLogResponse, GetAllAssistantWebhookRequest, GetAllAssistantWebhookResponse, GetAllAuditLogRequest, GetAllAuditLogResponse, GetAllConversationMessageRequest, GetAllConversationMessageResponse, GetAllDeployment, GetAllDeploymentRequest, GetAllDeploymentResponse, GetAllEndpoint, GetAllEndpointLogRequest, GetAllEndpointLogResponse, GetAllEndpointProviderModel, GetAllEndpointProviderModelRequest, GetAllEndpointProviderModelResponse, GetAllEndpointRequest, GetAllEndpointResponse, GetAllKnowledgeBases, GetAllKnowledgeDocument, GetAllKnowledgeDocumentRequest, GetAllKnowledgeDocumentResponse, GetAllKnowledgeDocumentSegment, GetAllKnowledgeDocumentSegmentRequest, GetAllKnowledgeDocumentSegmentResponse, GetAllKnowledgeRequest, GetAllKnowledgeResponse, GetAllMessageRequest, GetAllMessageResponse, GetAllModelProviderRequest, GetAllModelProviderResponse, GetAllOrganizationCredentialRequest, GetAllOrganizationCredentialResponse, GetAllProject, GetAllProjectCredential, GetAllProjectCredentialRequest, GetAllProjectCredentialResponse, GetAllProjectRequest, GetAllProjectResponse, GetAllProvider, GetAllToolProvider, GetAllToolProviderRequest, GetAllToolProviderResponse, GetAllUser, GetAllUserRequest, GetAllUserResponse, GetAllWebhookLog, GetAssistant, GetAssistantAnalysis, GetAssistantAnalysisRequest, GetAssistantAnalysisResponse, GetAssistantApiDeployment, GetAssistantConversation, GetAssistantConversationRequest, GetAssistantConversationResponse, GetAssistantDebuggerDeployment, GetAssistantDeploymentRequest, GetAssistantKnowledge, GetAssistantKnowledgeRequest, GetAssistantKnowledgeResponse, GetAssistantMessages, GetAssistantPhoneDeployment, GetAssistantProviderModelResponse, GetAssistantRequest, GetAssistantResponse, GetAssistantTool, GetAssistantToolRequest, GetAssistantToolResponse, GetAssistantWebhook, GetAssistantWebhookLogRequest, GetAssistantWebhookLogResponse, GetAssistantWebhookRequest, GetAssistantWebhookResponse, GetAssistantWebpluginDeployment, GetAssistantWhatsappDeployment, GetAuditLogRequest, GetAuditLogResponse, GetConnectorFiles, GetConnectorFilesRequest, GetConnectorFilesResponse, GetCredentialResponse, GetEndpoint, GetEndpointLog, GetEndpointLogRequest, GetEndpointLogResponse, GetEndpointRequest, GetEndpointResponse, GetKnowledgeBase, GetKnowledgeRequest, GetKnowledgeResponse, GetMessages, GetModerationRequest, GetModerationResponse, GetOrganization, GetOrganizationRequest, GetOrganizationResponse, GetProject, GetProjectRequest, GetProjectResponse, GetProtoSource, GetProviderCredentialRequest, GetUser, GetUserRequest, GetUserResponse, GetWebhookLog, Github, Google, HEADER_API_KEY, HEADER_AUTH_ID, HEADER_COLOR_DEPTH, HEADER_CONNECTION_EFFECTIVE_TYPE, HEADER_CONNECTION_TYPE, HEADER_COOKIES_ENABLED, HEADER_DEVICE_MEMORY, HEADER_DO_NOT_TRACK, HEADER_ENVIRONMENT_KEY, HEADER_HARDWARE_CONCURRENCY, HEADER_LANGUAGE, HEADER_LATITUDE, HEADER_LONGITUDE, HEADER_PLATFORM, HEADER_PROJECT_ID, HEADER_REFERRER, HEADER_REGION_KEY, HEADER_REMOTE_URL, HEADER_SCREEN_HEIGHT, HEADER_SCREEN_WIDTH, HEADER_SOURCE_KEY, HEADER_TIMEZONE, HEADER_USER_AGENT, HEADER_WINDOW_HEIGHT, HEADER_WINDOW_WIDTH, IndexKnowledgeDocument, Int32ToAny, InviteMemeberEmailRequest, InviteMemeberEmailResponse, Invoke, InvokeRequest, InvokeResponse, JSONToAny, Knowledge, KnowledgeConnect, KnowledgeConnectRequest, KnowledgeConnectResponse, KnowledgeDocument, KnowledgeDocumentSegment, Linkedin, MapToObject, Metadata, Metric, Moderation, Ordering, Organization, OrganizationError, OrganizationRole, Paginate, Paginated, ProbeRequest, ProbeResponse, Project, ProjectCredential, ProjectRole, Message as ProtoMessage, Provider, RapidaSource, RegisterUser, RegisterUserRequest, Reranking, RerankingRequest, RerankingResponse, ResetPasswordEmailRequest, ResetPasswordEmailResponse, ScopeAuthorizeRequest, ScopedAuthentication, ScopedAuthenticationResponse, SearchableDeployment, SocialAuthenticationRequest, StringToAny, Tag, TextChatCompletePrompt, TextPrompt, Token, ToolCall, ToolDefinition, ToolProvider, UpdateAnalysis, UpdateAssistantAnalysisRequest, UpdateAssistantDetail, UpdateAssistantDetailRequest, UpdateAssistantKnowledge, UpdateAssistantKnowledgeRequest, UpdateAssistantTool, UpdateAssistantToolRequest, UpdateAssistantVersion, UpdateAssistantVersionRequest, UpdateAssistantWebhookRequest, UpdateBillingInformationRequest, UpdateEndpointDetailRequest, UpdateEndpointVersion, UpdateEndpointVersionRequest, UpdateEndpointVersionResponse, UpdateKnowledgeDetail, UpdateKnowledgeDetailRequest, UpdateKnowledgeDocumentSegment, UpdateKnowledgeDocumentSegmentRequest, UpdateOrganization, UpdateOrganizationRequest, UpdateOrganizationResponse, UpdateProject, UpdateProjectRequest, UpdateProjectResponse, UpdateRequest, UpdateResponse, UpdateUser, UpdateUserRequest, UpdateUserResponse, UpdateWebhook, User, Variable, VaultCredential, VerifyCredentialRequest, VerifyCredentialResponse, VerifyToken, VerifyTokenRequest, VerifyTokenResponse, WelcomeEmailRequest, WelcomeEmailResponse, WithAuthContext, WithClientContext, WithPlatform, getClientInfo };
|