@rapidaai/react 1.1.52 → 1.1.54
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/{chunk-ZLKWKS6B.mjs → chunk-U2JQCXY3.mjs} +2513 -1532
- package/dist/chunk-U2JQCXY3.mjs.map +1 -0
- package/dist/components/device-selector.d.mts +1 -1
- package/dist/components/device-selector.d.ts +1 -1
- package/dist/components/device-selector.js +2512 -1531
- package/dist/components/device-selector.js.map +1 -1
- package/dist/components/device-selector.mjs +1 -1
- package/dist/{device-selector-CJXc1lG8.d.mts → device-selector-BL0WiuZJ.d.mts} +438 -249
- package/dist/{device-selector-CJXc1lG8.d.ts → device-selector-BL0WiuZJ.d.ts} +438 -249
- package/dist/index.d.mts +14 -28
- package/dist/index.d.ts +14 -28
- package/dist/index.js +2599 -1470
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +340 -189
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/dist/chunk-ZLKWKS6B.mjs.map +0 -1
package/dist/index.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export { cG as AddUsersToProjectRequest, ba as AgentCallback, b9 as AgentConfig,
|
|
1
|
+
import { V as VoiceAgent, F as Feedback, A as AssistantDebuggerDeployment, a as AssistantWebpluginDeployment, b as AssistantApiDeployment, c as Assistant, R as RapidaSource, M as Message, C as ConnectionConfig, d as ClientAuthInfo, U as UserAuthInfo, I as IndexKnowledgeDocumentResponse, e as InvokeRequest, f as InvokeResponse, g as AuthenticateResponse, h as VerifyTokenResponse, i as ForgotPasswordResponse, j as CreatePasswordResponse, k as ChangePasswordRequest, l as ChangePasswordResponse, G as GetUserResponse, m as UpdateUserResponse, n as GetAllUserResponse, o as GeneralConnectResponse, p as Criteria, q as GetConnectorFilesResponse, r as CreateOrganizationResponse, s as UpdateOrganizationResponse, t as GetOrganizationResponse, u as GetAllAssistantResponse, v as UpdateAssistantVersionRequest, w as GetAssistantResponse, x as GetAssistantRequest, y as CreateAssistantRequest, z as GetAllAssistantMessageResponse, B as GetAllMessageResponse, D as GetAllConversationMessageResponse, E as CreateAssistantDeploymentRequest, H as GetAssistantDebuggerDeploymentResponse, J as GetAssistantDeploymentRequest, K as GetAssistantApiDeploymentResponse, L as GetAssistantWebpluginDeploymentResponse, N as GetAssistantPhoneDeploymentResponse, O as GetAssistantWhatsappDeploymentResponse, P as GetAllAssistantWebhookResponse, Q as GetAssistantWebhookResponse, S as GetAssistantConversationRequest, T as GetAssistantConversationResponse, W as GetAllAssistantAnalysisResponse, X as GetAssistantAnalysisResponse, Y as GetAllAssistantWebhookLogResponse, Z as GetAssistantWebhookLogResponse, _ as GetAllAssistantToolResponse, $ as Metadata, a0 as GetAssistantToolResponse, a1 as GetAllAssistantKnowledgeResponse, a2 as GetAssistantKnowledgeResponse, a3 as GetAssistantToolLogRequest, a4 as GetAssistantToolLogResponse, a5 as GetAllAssistantToolLogRequest, a6 as GetAllAssistantToolLogResponse, a7 as CreateAssistantProviderRequest, a8 as GetAssistantProviderResponse, a9 as GetAllAssistantProviderResponse, aa as GetAllAuditLogResponse, ab as GetAuditLogResponse, ac as GetAllEndpointResponse, ad as UpdateEndpointVersionResponse, ae as GetAllEndpointProviderModelResponse, af as GetEndpointResponse, ag as EndpointProviderModelAttribute, ah as CreateEndpointProviderModelResponse, ai as EndpointAttribute, aj as CreateEndpointResponse, ak as EndpointRetryConfiguration, al as EndpointCacheConfiguration, am as CreateEndpointRetryConfigurationResponse, an as CreateEndpointCacheConfigurationResponse, ao as GetAllEndpointLogResponse, ap as GetEndpointLogResponse, aq as CreateProviderCredentialRequest, ar as GetCredentialResponse, as as GetAllOrganizationCredentialResponse, at as AssistantTalkInput, au as AssistantTalkOutput, av as CreateMessageMetricRequest, aw as CreateMessageMetricResponse, ax as CreateConversationMetricRequest, ay as CreateConversationMetricResponse, az as GetAllAssistantConversationResponse, aA as CreateKnowledgeRequest, aB as CreateKnowledgeResponse, aC as GetKnowledgeResponse, aD as GetAllKnowledgeResponse, aE as DocumentContent, aF as CreateKnowledgeDocumentResponse, aG as GetAllKnowledgeDocumentResponse, aH as GetAllKnowledgeDocumentSegmentResponse, aI as BaseResponse, aJ as GetKnowledgeLogRequest, aK as GetKnowledgeLogResponse, aL as GetAllKnowledgeLogRequest, aM as GetAllKnowledgeLogResponse, aN as AddUsersToProjectResponse, aO as CreateProjectResponse, aP as UpdateProjectResponse, aQ as GetAllProjectResponse, aR as GetProjectResponse, aS as ArchiveProjectResponse, aT as GetAllProjectCredentialResponse, aU as CreateProjectCredentialResponse, aV as Error$1, aW as Metric, aX as Message$1, aY as CreatePhoneCallRequest, aZ as CreatePhoneCallResponse, a_ as CreateBulkPhoneCallRequest, a$ as CreateBulkPhoneCallResponse, b0 as GetAllAssistantTelemetryRequest, b1 as GetAllAssistantTelemetryResponse, b2 as GetNotificationSettingRequest, b3 as NotificationSettingResponse, b4 as UpdateNotificationSettingRequest } from './device-selector-BL0WiuZJ.mjs';
|
|
2
|
+
export { cG as AddUsersToProjectRequest, ba as AgentCallback, b9 as AgentConfig, dr as AggregatedEndpointAnalytics, cH as ArchiveProjectRequest, cQ as Argument, c4 as AssistantAnalysis, c$ as AssistantConversation, c_ as AssistantConversationContext, cZ as AssistantConversationMessage, d2 as AssistantConversationRecording, d5 as AssistantConversationTelephonyEvent, d3 as AssistantDefinition, bI as AssistantDeploymentService, bJ as AssistantDeploymentServiceClient, bQ as AssistantKnowledge, dO as AssistantPhoneDeployment, eh as AssistantProviderAgentkit, eg as AssistantProviderModel, ei as AssistantProviderWebsocket, d6 as AssistantService, d7 as AssistantServiceClient, dG as AssistantTool, dH as AssistantToolLog, da as AssistantWebhook, db as AssistantWebhookLog, dP as AssistantWhatsappDeployment, bW as AuditLog, dQ as AuditLoggingService, dR as AuditLoggingServiceClient, cf as AuthenticateRequest, cl as Authentication, e8 as AuthenticationService, eb as AuthenticationServiceClient, cq as AuthorizeRequest, b6 as Channel, bK as ConnectService, bL as ConnectServiceClient, b5 as ConnectionState, em as ConversationAssistantMessage, ek as ConversationConfiguration, eq as ConversationDirective, el as ConversationInterruption, eo as ConversationToolCall, ep as ConversationToolResult, en as ConversationUserMessage, c5 as CreateAssistantAnalysisRequest, bR as CreateAssistantKnowledgeRequest, e2 as CreateAssistantTagRequest, dI as CreateAssistantToolRequest, dc as CreateAssistantWebhookRequest, dz as CreateEndpointCacheConfigurationRequest, dt as CreateEndpointProviderModelRequest, dp as CreateEndpointRequest, dy as CreateEndpointRetryConfigurationRequest, dA as CreateEndpointTagRequest, dX as CreateKnowledgeDocumentRequest, dU as CreateKnowledgeTagRequest, bZ as CreateMetadataRequest, b_ as CreateMetadataResponse, cx as CreateOrganizationRequest, co as CreatePasswordRequest, cJ as CreateProjectCredentialRequest, cC as CreateProjectRequest, es as DEBUGGER_SOURCE, c8 as DeleteAssistantAnalysisRequest, bU as DeleteAssistantKnowledgeRequest, e3 as DeleteAssistantRequest, dL as DeleteAssistantToolRequest, df as DeleteAssistantWebhookRequest, e0 as DeleteKnowledgeDocumentSegmentRequest, bO as Deployment, dN as DeploymentAudioProvider, bP as DeploymentClient, ee as DeviceSelectorComponent, dl as DocumentService, dm as DocumentServiceClient, ds as Endpoint, ca as EndpointDefinition, dD as EndpointLog, dq as EndpointProviderModel, bG as EndpointService, bH as EndpointServiceClient, ck as FeaturePermission, cL as FieldSelector, cn as ForgotPasswordRequest, dB as ForkEndpointRequest, cV as FunctionCall, dj as GeneralConnectRequest, c9 as GetAllAssistantAnalysisRequest, d0 as GetAllAssistantConversationRequest, bV as GetAllAssistantKnowledgeRequest, e5 as GetAllAssistantMessageRequest, ej as GetAllAssistantProviderRequest, e4 as GetAllAssistantRequest, dM as GetAllAssistantToolRequest, dh as GetAllAssistantWebhookLogRequest, dg as GetAllAssistantWebhookRequest, bX as GetAllAuditLogRequest, d1 as GetAllConversationMessageRequest, dE as GetAllEndpointLogRequest, dw as GetAllEndpointProviderModelRequest, dv as GetAllEndpointRequest, dW as GetAllKnowledgeDocumentRequest, dZ as GetAllKnowledgeDocumentSegmentRequest, dS as GetAllKnowledgeRequest, e6 as GetAllMessageRequest, c2 as GetAllOrganizationCredentialRequest, cK as GetAllProjectCredentialRequest, cF as GetAllProjectRequest, cw as GetAllUserRequest, c7 as GetAssistantAnalysisRequest, bT as GetAssistantKnowledgeRequest, dK as GetAssistantToolRequest, di as GetAssistantWebhookLogRequest, de as GetAssistantWebhookRequest, bY as GetAuditLogRequest, dk as GetConnectorFilesRequest, c3 as GetCredentialRequest, dF as GetEndpointLogRequest, du as GetEndpointRequest, dT as GetKnowledgeRequest, cz as GetOrganizationRequest, cE as GetProjectRequest, ct as GetUserRequest, bg as HEADER_API_KEY, bh as HEADER_AUTH_ID, br as HEADER_COLOR_DEPTH, bv as HEADER_CONNECTION_EFFECTIVE_TYPE, bu as HEADER_CONNECTION_TYPE, bw as HEADER_COOKIES_ENABLED, bs as HEADER_DEVICE_MEMORY, bx as HEADER_DO_NOT_TRACK, bd as HEADER_ENVIRONMENT_KEY, bt as HEADER_HARDWARE_CONCURRENCY, bk as HEADER_LANGUAGE, bA as HEADER_LATITUDE, bB as HEADER_LONGITUDE, bl as HEADER_PLATFORM, bi as HEADER_PROJECT_ID, by as HEADER_REFERRER, bf as HEADER_REGION_KEY, bz as HEADER_REMOTE_URL, bn as HEADER_SCREEN_HEIGHT, bm as HEADER_SCREEN_WIDTH, be as HEADER_SOURCE_KEY, bq as HEADER_TIMEZONE, bj as HEADER_USER_AGENT, bp as HEADER_WINDOW_HEIGHT, bo as HEADER_WINDOW_WIDTH, dn as IndexKnowledgeDocumentRequest, b7 as InputOptions, cW as Knowledge, dV as KnowledgeDocument, dY as KnowledgeDocumentSegment, e1 as KnowledgeLog, b$ as KnowledgeService, c0 as KnowledgeServiceClient, bb as MessageRole, bc as MessageStatus, ef as NotificationSetting, cO as Ordering, cT as Organization, ci as OrganizationRole, e9 as OrganizationService, ec as OrganizationServiceClient, b8 as OutputOptions, eu as PHONE_CALL_SOURCE, cM as Paginate, cN as Paginated, cd as ProbeRequest, ce as ProbeResponse, cB as Project, cI as ProjectCredential, cj as ProjectRole, ea as ProjectService, ed as ProjectServiceClient, cg as RegisterUserRequest, et as SDK_SOURCE, cr as ScopeAuthorizeRequest, cm as ScopedAuthentication, cs as ScopedAuthenticationResponse, cv as SocialAuthenticationRequest, cS as Tag, d8 as TalkService, d9 as TalkServiceClient, d4 as Telemetry, cY as TextChatCompletePrompt, cX as TextPrompt, ch as Token, cU as ToolCall, c6 as UpdateAssistantAnalysisRequest, e7 as UpdateAssistantDetailRequest, bS as UpdateAssistantKnowledgeRequest, dJ as UpdateAssistantToolRequest, dd as UpdateAssistantWebhookRequest, cA as UpdateBillingInformationRequest, dC as UpdateEndpointDetailRequest, dx as UpdateEndpointVersionRequest, d_ as UpdateKnowledgeDetailRequest, d$ as UpdateKnowledgeDocumentSegmentRequest, cy as UpdateOrganizationRequest, cD as UpdateProjectRequest, cb as UpdateRequest, cc as UpdateResponse, cu as UpdateUserRequest, cP as User, cR as Variable, c1 as VaultCredential, bM as VaultService, bN as VaultServiceClient, cp as VerifyTokenRequest, er as WEB_PLUGIN_SOURCE, ev as WHATSAPP_SOURCE, bD as WithAuthContext, bF as WithClientContext, bC as WithPlatform, ex as fromStr, bE as getClientInfo, ew as getRapidaSourceValue } from './device-selector-BL0WiuZJ.mjs';
|
|
3
3
|
import * as jspb from 'google-protobuf';
|
|
4
4
|
import { Map } from 'google-protobuf';
|
|
5
5
|
import * as google_protobuf_any_pb from 'google-protobuf/google/protobuf/any_pb';
|
|
@@ -13,16 +13,6 @@ import 'typed-emitter';
|
|
|
13
13
|
import 'react';
|
|
14
14
|
import 'react/jsx-runtime';
|
|
15
15
|
|
|
16
|
-
type ResponseContentFormat = "raw" | "word" | "url" | "chunk";
|
|
17
|
-
/**
|
|
18
|
-
*
|
|
19
|
-
* @param str
|
|
20
|
-
* @returns
|
|
21
|
-
*/
|
|
22
|
-
declare const toTextContent: (str: string, format?: ResponseContentFormat) => Content;
|
|
23
|
-
declare const toStreamAudioContent: (raw: Uint8Array | string) => Content;
|
|
24
|
-
declare const toContentText: (cnt?: Content[]) => string;
|
|
25
|
-
|
|
26
16
|
/**
|
|
27
17
|
* Custom hook for managing agent connection in a voice system.
|
|
28
18
|
* @returns An object containing the connection handler and connection status.
|
|
@@ -1094,7 +1084,7 @@ declare function GetAllOrganizationCredential(connectionConfig: ConnectionConfig
|
|
|
1094
1084
|
* @param authHeader
|
|
1095
1085
|
* @returns
|
|
1096
1086
|
*/
|
|
1097
|
-
declare function AssistantTalk(connectionConfig: ConnectionConfig, authHeader?: UserAuthInfo | ClientAuthInfo): BidirectionalStream<
|
|
1087
|
+
declare function AssistantTalk(connectionConfig: ConnectionConfig, authHeader?: UserAuthInfo | ClientAuthInfo): BidirectionalStream<AssistantTalkInput, AssistantTalkOutput>;
|
|
1098
1088
|
/**
|
|
1099
1089
|
*
|
|
1100
1090
|
* @param conversationClient
|
|
@@ -1188,7 +1178,7 @@ declare function GetAllKnowledgeBases(config: ConnectionConfig, page: number, pa
|
|
|
1188
1178
|
* @param documentSource - The source of the document.
|
|
1189
1179
|
* @param datasource - The data source for the document.
|
|
1190
1180
|
* @param preProcessor - The pre-processing method to use.
|
|
1191
|
-
* @param
|
|
1181
|
+
* @param DocumentContents - An array of DocumentContent to include in the document.
|
|
1192
1182
|
* @param separator - The separator used in custom processing.
|
|
1193
1183
|
* @param maxchunksize - The maximum chunk size for document processing.
|
|
1194
1184
|
* @param chunkoverlap - The overlap between chunks.
|
|
@@ -1196,7 +1186,7 @@ declare function GetAllKnowledgeBases(config: ConnectionConfig, page: number, pa
|
|
|
1196
1186
|
* @param authHeader - Authentication headers for the request.
|
|
1197
1187
|
* @returns UnaryResponse - The gRPC response object.
|
|
1198
1188
|
*/
|
|
1199
|
-
declare function CreateKnowledgeDocument(config: ConnectionConfig, knowledgeId: string, documentSource: RapidaDocumentSource, datasource: string, documentType: RapidaDocumentType, preProcessor: RapidaDocumentPreProcessing,
|
|
1189
|
+
declare function CreateKnowledgeDocument(config: ConnectionConfig, knowledgeId: string, documentSource: RapidaDocumentSource, datasource: string, documentType: RapidaDocumentType, preProcessor: RapidaDocumentPreProcessing, DocumentContents: Array<DocumentContent>, separator: string, maxchunksize: number, chunkoverlap: number, cb: (err: ServiceError$1 | null, response: CreateKnowledgeDocumentResponse | null) => void, authHeader: ClientAuthInfo | UserAuthInfo): undefined;
|
|
1200
1190
|
/**
|
|
1201
1191
|
* Retrieves all documents associated with a knowledge base.
|
|
1202
1192
|
*
|
|
@@ -1639,10 +1629,8 @@ declare class Reranking extends jspb.Message {
|
|
|
1639
1629
|
getIndex(): number;
|
|
1640
1630
|
setIndex(value: number): void;
|
|
1641
1631
|
|
|
1642
|
-
|
|
1643
|
-
|
|
1644
|
-
getContent(): Content | undefined;
|
|
1645
|
-
setContent(value?: Content): void;
|
|
1632
|
+
getContent(): string;
|
|
1633
|
+
setContent(value: string): void;
|
|
1646
1634
|
|
|
1647
1635
|
getRelevancescore(): number;
|
|
1648
1636
|
setRelevancescore(value: number): void;
|
|
@@ -1660,7 +1648,7 @@ declare class Reranking extends jspb.Message {
|
|
|
1660
1648
|
declare namespace Reranking {
|
|
1661
1649
|
export type AsObject = {
|
|
1662
1650
|
index: number,
|
|
1663
|
-
content
|
|
1651
|
+
content: string,
|
|
1664
1652
|
relevancescore: number,
|
|
1665
1653
|
}
|
|
1666
1654
|
}
|
|
@@ -1674,7 +1662,7 @@ declare class RerankingRequest extends jspb.Message {
|
|
|
1674
1662
|
getQuery(): string;
|
|
1675
1663
|
setQuery(value: string): void;
|
|
1676
1664
|
|
|
1677
|
-
getContentMap(): jspb.Map<number,
|
|
1665
|
+
getContentMap(): jspb.Map<number, string>;
|
|
1678
1666
|
clearContentMap(): void;
|
|
1679
1667
|
getModelparametersMap(): jspb.Map<string, google_protobuf_any_pb.Any>;
|
|
1680
1668
|
clearModelparametersMap(): void;
|
|
@@ -1694,7 +1682,7 @@ declare namespace RerankingRequest {
|
|
|
1694
1682
|
export type AsObject = {
|
|
1695
1683
|
credential?: Credential.AsObject,
|
|
1696
1684
|
query: string,
|
|
1697
|
-
contentMap: Array<[number,
|
|
1685
|
+
contentMap: Array<[number, string]>,
|
|
1698
1686
|
modelparametersMap: Array<[string, google_protobuf_any_pb.Any.AsObject]>,
|
|
1699
1687
|
additionaldataMap: Array<[string, string]>,
|
|
1700
1688
|
}
|
|
@@ -1932,10 +1920,8 @@ declare class GetModerationRequest extends jspb.Message {
|
|
|
1932
1920
|
getVersion(): string;
|
|
1933
1921
|
setVersion(value: string): void;
|
|
1934
1922
|
|
|
1935
|
-
|
|
1936
|
-
|
|
1937
|
-
getContent(): Content | undefined;
|
|
1938
|
-
setContent(value?: Content): void;
|
|
1923
|
+
getContent(): string;
|
|
1924
|
+
setContent(value: string): void;
|
|
1939
1925
|
|
|
1940
1926
|
getAdditionaldataMap(): jspb.Map<string, string>;
|
|
1941
1927
|
clearAdditionaldataMap(): void;
|
|
@@ -1956,7 +1942,7 @@ declare namespace GetModerationRequest {
|
|
|
1956
1942
|
credential?: Credential.AsObject,
|
|
1957
1943
|
model: string,
|
|
1958
1944
|
version: string,
|
|
1959
|
-
content
|
|
1945
|
+
content: string,
|
|
1960
1946
|
additionaldataMap: Array<[string, string]>,
|
|
1961
1947
|
modelparametersMap: Array<[string, google_protobuf_any_pb.Any.AsObject]>,
|
|
1962
1948
|
}
|
|
@@ -2852,4 +2838,4 @@ declare function UpdateNotificationSetting(clientCfg: ConnectionConfig, request:
|
|
|
2852
2838
|
*/
|
|
2853
2839
|
declare function GetNotificationSetting(clientCfg: ConnectionConfig, request: GetNotificationSettingRequest, auth?: ClientAuthInfo | UserAuthInfo): Promise<NotificationSettingResponse>;
|
|
2854
2840
|
|
|
2855
|
-
export { AddUsersToProject, AddUsersToProjectResponse, type AgentDeployment, AgentEvent, AnthropicService, AnthropicServiceClient, AnyToBool, AnyToFloat, AnyToInt32, AnyToJSON, AnyToString, ArchiveProjectResponse, Assistant, AssistantApiDeployment, AssistantDebuggerDeployment,
|
|
2841
|
+
export { AddUsersToProject, AddUsersToProjectResponse, type AgentDeployment, AgentEvent, AnthropicService, AnthropicServiceClient, AnyToBool, AnyToFloat, AnyToInt32, AnyToJSON, AnyToString, ArchiveProjectResponse, Assistant, AssistantApiDeployment, AssistantDebuggerDeployment, AssistantTalk, AssistantTalkInput, AssistantTalkOutput, AssistantWebpluginDeployment, AuthenticateResponse, AuthenticateUser, AuthorizeUser, AzureService, AzureServiceClient, BaseResponse, BedrockService, BedrockServiceClient, type BidirectionalStream, BoolToAny, BytesToAny, ChangePassword, ChangePasswordRequest, ChangePasswordResponse, ChatRequest, ChatResponse, CohereService, CohereServiceClient, ConnectionConfig, CreateAnalysis, CreateAssistant, CreateAssistantApiDeployment, CreateAssistantDebuggerDeployment, CreateAssistantDeploymentRequest, CreateAssistantKnowledge, CreateAssistantPhoneDeployment, CreateAssistantProvider, CreateAssistantProviderRequest, CreateAssistantRequest, CreateAssistantTag, CreateAssistantTool, CreateAssistantWebpluginDeployment, CreateAssistantWhatsappDeployment, CreateBulkPhoneCall, CreateBulkPhoneCallRequest, CreateBulkPhoneCallResponse, CreateConversationMetric, CreateConversationMetricRequest, CreateConversationMetricResponse, CreateEndpoint, CreateEndpointCacheConfiguration, CreateEndpointCacheConfigurationResponse, CreateEndpointProviderModel, CreateEndpointProviderModelResponse, CreateEndpointResponse, CreateEndpointRetryConfiguration, CreateEndpointRetryConfigurationResponse, CreateEndpointTag, CreateKnowledge, CreateKnowledgeDocument, CreateKnowledgeDocumentResponse, CreateKnowledgeRequest, CreateKnowledgeResponse, CreateKnowledgeTag, CreateMessageMetric, CreateMessageMetricRequest, CreateMessageMetricResponse, CreateOrganization, CreateOrganizationResponse, CreatePassword, CreatePasswordResponse, CreatePhoneCall, CreatePhoneCallRequest, CreatePhoneCallResponse, CreateProject, CreateProjectCredential, CreateProjectCredentialResponse, CreateProjectResponse, CreateProviderCredentialRequest, CreateProviderKey, CreateWebhook, Credential, Criteria, DeepInfraService, DeepInfraServiceClient, DeleteAssistant, DeleteAssistantAnalysis, DeleteAssistantKnowledge, DeleteAssistantTool, DeleteAssistantWebhook, DeleteKnowledgeDocumentSegment, DeleteProject, DeleteProviderKey, Embedding, EmbeddingRequest, EmbeddingResponse, EndpointAttribute, EndpointCacheConfiguration, EndpointProviderModelAttribute, EndpointRetryConfiguration, Error$1 as Error, Feedback, FloatToAny, ForgotPassword, ForgotPasswordResponse, FunctionDefinition, FunctionParameter, FunctionParameterProperty, GeneralConnect, GeneralConnectResponse, GetActivities, GetActivity, GetAllAssistant, GetAllAssistantAnalysis, GetAllAssistantAnalysisResponse, GetAllAssistantConversation, GetAllAssistantConversationMessage, GetAllAssistantConversationResponse, GetAllAssistantKnowledge, GetAllAssistantKnowledgeResponse, GetAllAssistantMessageResponse, GetAllAssistantProvider, GetAllAssistantProviderResponse, GetAllAssistantResponse, GetAllAssistantTelemetry, GetAllAssistantTelemetryRequest, GetAllAssistantTelemetryResponse, GetAllAssistantTool, GetAllAssistantToolLog, GetAllAssistantToolLogRequest, GetAllAssistantToolLogResponse, GetAllAssistantToolResponse, GetAllAssistantWebhook, GetAllAssistantWebhookLogResponse, GetAllAssistantWebhookResponse, GetAllAuditLogResponse, GetAllConversationMessageResponse, GetAllEndpoint, GetAllEndpointLog, GetAllEndpointLogResponse, GetAllEndpointProviderModel, GetAllEndpointProviderModelResponse, GetAllEndpointResponse, GetAllKnowledgeBases, GetAllKnowledgeDocument, GetAllKnowledgeDocumentResponse, GetAllKnowledgeDocumentSegment, GetAllKnowledgeDocumentSegmentResponse, GetAllKnowledgeLog, GetAllKnowledgeLogRequest, GetAllKnowledgeLogResponse, GetAllKnowledgeResponse, GetAllMessageResponse, GetAllOrganizationCredential, GetAllOrganizationCredentialResponse, GetAllProject, GetAllProjectCredential, GetAllProjectCredentialResponse, GetAllProjectResponse, GetAllUser, GetAllUserResponse, GetAllWebhookLog, GetAssistant, GetAssistantAnalysis, GetAssistantAnalysisResponse, GetAssistantApiDeployment, GetAssistantApiDeploymentResponse, GetAssistantConversation, GetAssistantConversationRequest, GetAssistantConversationResponse, GetAssistantDebuggerDeployment, GetAssistantDebuggerDeploymentResponse, GetAssistantDeploymentRequest, GetAssistantKnowledge, GetAssistantKnowledgeResponse, GetAssistantMessages, GetAssistantPhoneDeployment, GetAssistantPhoneDeploymentResponse, GetAssistantProviderResponse, GetAssistantRequest, GetAssistantResponse, GetAssistantTool, GetAssistantToolLog, GetAssistantToolLogRequest, GetAssistantToolLogResponse, GetAssistantToolResponse, GetAssistantWebhook, GetAssistantWebhookLogResponse, GetAssistantWebhookResponse, GetAssistantWebpluginDeployment, GetAssistantWebpluginDeploymentResponse, GetAssistantWhatsappDeployment, GetAssistantWhatsappDeploymentResponse, GetAuditLogResponse, GetConnectorFiles, GetConnectorFilesResponse, GetCredentialResponse, GetDeployment, GetEndpoint, GetEndpointLog, GetEndpointLogResponse, GetEndpointResponse, GetKnowledgeBase, GetKnowledgeLog, GetKnowledgeLogRequest, GetKnowledgeLogResponse, GetKnowledgeResponse, GetMessages, GetModerationRequest, GetModerationResponse, GetNotificationSetting, GetNotificationSettingRequest, GetOrganization, GetOrganizationResponse, GetProject, GetProjectResponse, GetUser, GetUserResponse, GetWebhookLog, Github, Google, HuggingfaceService, HuggingfaceServiceClient, IndexKnowledgeDocument, IndexKnowledgeDocumentResponse, Int32ToAny, Invoke, InvokeRequest, InvokeResponse, JSONToAny, Linkedin, MapToObject, MediaDeviceFailure, Message, Metadata, Metric, MistralService, MistralServiceClient, Moderation, NotificationSettingResponse, OpenAiService, OpenAiServiceClient, Message$1 as ProtoMessage, RapidaSource, RegisterUser, ReplicateService, ReplicateServiceClient, type RequestStream, Reranking, RerankingRequest, RerankingResponse, type ResponseStream$1 as ResponseStream, type ServiceError$1 as ServiceError, StabilityAiService, StabilityAiServiceClient, type Status$1 as Status, StringArrayToAny, StringToAny, TogetherAiService, TogetherAiServiceClient, ToolDefinition, type UnaryResponse$1 as UnaryResponse, UpdateAnalysis, UpdateAssistantDetail, UpdateAssistantKnowledge, UpdateAssistantTool, UpdateAssistantVersion, UpdateAssistantVersionRequest, UpdateEndpointDetail, UpdateEndpointVersion, UpdateEndpointVersionResponse, UpdateKnowledgeDetail, UpdateKnowledgeDocumentSegment, UpdateNotificationSetting, UpdateNotificationSettingRequest, UpdateOrganization, UpdateOrganizationResponse, UpdateProject, UpdateProjectResponse, UpdateUser, UpdateUserResponse, UpdateWebhook, VerifyCredentialRequest, VerifyCredentialResponse, VerifyToken, VerifyTokenResponse, VoiceAgent, VoyageAiService, VoyageAiServiceClient, agentEventSelector, useAgentMessages, useConnectAgent, useConversationFeedback, useInputModeToggleAgent, useMessageFeedback, useMultiband3DSpeakerTrackVolume, useMultibandMicrophoneTrackVolume, useSelectInputDeviceAgent };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export { cG as AddUsersToProjectRequest, ba as AgentCallback, b9 as AgentConfig,
|
|
1
|
+
import { V as VoiceAgent, F as Feedback, A as AssistantDebuggerDeployment, a as AssistantWebpluginDeployment, b as AssistantApiDeployment, c as Assistant, R as RapidaSource, M as Message, C as ConnectionConfig, d as ClientAuthInfo, U as UserAuthInfo, I as IndexKnowledgeDocumentResponse, e as InvokeRequest, f as InvokeResponse, g as AuthenticateResponse, h as VerifyTokenResponse, i as ForgotPasswordResponse, j as CreatePasswordResponse, k as ChangePasswordRequest, l as ChangePasswordResponse, G as GetUserResponse, m as UpdateUserResponse, n as GetAllUserResponse, o as GeneralConnectResponse, p as Criteria, q as GetConnectorFilesResponse, r as CreateOrganizationResponse, s as UpdateOrganizationResponse, t as GetOrganizationResponse, u as GetAllAssistantResponse, v as UpdateAssistantVersionRequest, w as GetAssistantResponse, x as GetAssistantRequest, y as CreateAssistantRequest, z as GetAllAssistantMessageResponse, B as GetAllMessageResponse, D as GetAllConversationMessageResponse, E as CreateAssistantDeploymentRequest, H as GetAssistantDebuggerDeploymentResponse, J as GetAssistantDeploymentRequest, K as GetAssistantApiDeploymentResponse, L as GetAssistantWebpluginDeploymentResponse, N as GetAssistantPhoneDeploymentResponse, O as GetAssistantWhatsappDeploymentResponse, P as GetAllAssistantWebhookResponse, Q as GetAssistantWebhookResponse, S as GetAssistantConversationRequest, T as GetAssistantConversationResponse, W as GetAllAssistantAnalysisResponse, X as GetAssistantAnalysisResponse, Y as GetAllAssistantWebhookLogResponse, Z as GetAssistantWebhookLogResponse, _ as GetAllAssistantToolResponse, $ as Metadata, a0 as GetAssistantToolResponse, a1 as GetAllAssistantKnowledgeResponse, a2 as GetAssistantKnowledgeResponse, a3 as GetAssistantToolLogRequest, a4 as GetAssistantToolLogResponse, a5 as GetAllAssistantToolLogRequest, a6 as GetAllAssistantToolLogResponse, a7 as CreateAssistantProviderRequest, a8 as GetAssistantProviderResponse, a9 as GetAllAssistantProviderResponse, aa as GetAllAuditLogResponse, ab as GetAuditLogResponse, ac as GetAllEndpointResponse, ad as UpdateEndpointVersionResponse, ae as GetAllEndpointProviderModelResponse, af as GetEndpointResponse, ag as EndpointProviderModelAttribute, ah as CreateEndpointProviderModelResponse, ai as EndpointAttribute, aj as CreateEndpointResponse, ak as EndpointRetryConfiguration, al as EndpointCacheConfiguration, am as CreateEndpointRetryConfigurationResponse, an as CreateEndpointCacheConfigurationResponse, ao as GetAllEndpointLogResponse, ap as GetEndpointLogResponse, aq as CreateProviderCredentialRequest, ar as GetCredentialResponse, as as GetAllOrganizationCredentialResponse, at as AssistantTalkInput, au as AssistantTalkOutput, av as CreateMessageMetricRequest, aw as CreateMessageMetricResponse, ax as CreateConversationMetricRequest, ay as CreateConversationMetricResponse, az as GetAllAssistantConversationResponse, aA as CreateKnowledgeRequest, aB as CreateKnowledgeResponse, aC as GetKnowledgeResponse, aD as GetAllKnowledgeResponse, aE as DocumentContent, aF as CreateKnowledgeDocumentResponse, aG as GetAllKnowledgeDocumentResponse, aH as GetAllKnowledgeDocumentSegmentResponse, aI as BaseResponse, aJ as GetKnowledgeLogRequest, aK as GetKnowledgeLogResponse, aL as GetAllKnowledgeLogRequest, aM as GetAllKnowledgeLogResponse, aN as AddUsersToProjectResponse, aO as CreateProjectResponse, aP as UpdateProjectResponse, aQ as GetAllProjectResponse, aR as GetProjectResponse, aS as ArchiveProjectResponse, aT as GetAllProjectCredentialResponse, aU as CreateProjectCredentialResponse, aV as Error$1, aW as Metric, aX as Message$1, aY as CreatePhoneCallRequest, aZ as CreatePhoneCallResponse, a_ as CreateBulkPhoneCallRequest, a$ as CreateBulkPhoneCallResponse, b0 as GetAllAssistantTelemetryRequest, b1 as GetAllAssistantTelemetryResponse, b2 as GetNotificationSettingRequest, b3 as NotificationSettingResponse, b4 as UpdateNotificationSettingRequest } from './device-selector-BL0WiuZJ.js';
|
|
2
|
+
export { cG as AddUsersToProjectRequest, ba as AgentCallback, b9 as AgentConfig, dr as AggregatedEndpointAnalytics, cH as ArchiveProjectRequest, cQ as Argument, c4 as AssistantAnalysis, c$ as AssistantConversation, c_ as AssistantConversationContext, cZ as AssistantConversationMessage, d2 as AssistantConversationRecording, d5 as AssistantConversationTelephonyEvent, d3 as AssistantDefinition, bI as AssistantDeploymentService, bJ as AssistantDeploymentServiceClient, bQ as AssistantKnowledge, dO as AssistantPhoneDeployment, eh as AssistantProviderAgentkit, eg as AssistantProviderModel, ei as AssistantProviderWebsocket, d6 as AssistantService, d7 as AssistantServiceClient, dG as AssistantTool, dH as AssistantToolLog, da as AssistantWebhook, db as AssistantWebhookLog, dP as AssistantWhatsappDeployment, bW as AuditLog, dQ as AuditLoggingService, dR as AuditLoggingServiceClient, cf as AuthenticateRequest, cl as Authentication, e8 as AuthenticationService, eb as AuthenticationServiceClient, cq as AuthorizeRequest, b6 as Channel, bK as ConnectService, bL as ConnectServiceClient, b5 as ConnectionState, em as ConversationAssistantMessage, ek as ConversationConfiguration, eq as ConversationDirective, el as ConversationInterruption, eo as ConversationToolCall, ep as ConversationToolResult, en as ConversationUserMessage, c5 as CreateAssistantAnalysisRequest, bR as CreateAssistantKnowledgeRequest, e2 as CreateAssistantTagRequest, dI as CreateAssistantToolRequest, dc as CreateAssistantWebhookRequest, dz as CreateEndpointCacheConfigurationRequest, dt as CreateEndpointProviderModelRequest, dp as CreateEndpointRequest, dy as CreateEndpointRetryConfigurationRequest, dA as CreateEndpointTagRequest, dX as CreateKnowledgeDocumentRequest, dU as CreateKnowledgeTagRequest, bZ as CreateMetadataRequest, b_ as CreateMetadataResponse, cx as CreateOrganizationRequest, co as CreatePasswordRequest, cJ as CreateProjectCredentialRequest, cC as CreateProjectRequest, es as DEBUGGER_SOURCE, c8 as DeleteAssistantAnalysisRequest, bU as DeleteAssistantKnowledgeRequest, e3 as DeleteAssistantRequest, dL as DeleteAssistantToolRequest, df as DeleteAssistantWebhookRequest, e0 as DeleteKnowledgeDocumentSegmentRequest, bO as Deployment, dN as DeploymentAudioProvider, bP as DeploymentClient, ee as DeviceSelectorComponent, dl as DocumentService, dm as DocumentServiceClient, ds as Endpoint, ca as EndpointDefinition, dD as EndpointLog, dq as EndpointProviderModel, bG as EndpointService, bH as EndpointServiceClient, ck as FeaturePermission, cL as FieldSelector, cn as ForgotPasswordRequest, dB as ForkEndpointRequest, cV as FunctionCall, dj as GeneralConnectRequest, c9 as GetAllAssistantAnalysisRequest, d0 as GetAllAssistantConversationRequest, bV as GetAllAssistantKnowledgeRequest, e5 as GetAllAssistantMessageRequest, ej as GetAllAssistantProviderRequest, e4 as GetAllAssistantRequest, dM as GetAllAssistantToolRequest, dh as GetAllAssistantWebhookLogRequest, dg as GetAllAssistantWebhookRequest, bX as GetAllAuditLogRequest, d1 as GetAllConversationMessageRequest, dE as GetAllEndpointLogRequest, dw as GetAllEndpointProviderModelRequest, dv as GetAllEndpointRequest, dW as GetAllKnowledgeDocumentRequest, dZ as GetAllKnowledgeDocumentSegmentRequest, dS as GetAllKnowledgeRequest, e6 as GetAllMessageRequest, c2 as GetAllOrganizationCredentialRequest, cK as GetAllProjectCredentialRequest, cF as GetAllProjectRequest, cw as GetAllUserRequest, c7 as GetAssistantAnalysisRequest, bT as GetAssistantKnowledgeRequest, dK as GetAssistantToolRequest, di as GetAssistantWebhookLogRequest, de as GetAssistantWebhookRequest, bY as GetAuditLogRequest, dk as GetConnectorFilesRequest, c3 as GetCredentialRequest, dF as GetEndpointLogRequest, du as GetEndpointRequest, dT as GetKnowledgeRequest, cz as GetOrganizationRequest, cE as GetProjectRequest, ct as GetUserRequest, bg as HEADER_API_KEY, bh as HEADER_AUTH_ID, br as HEADER_COLOR_DEPTH, bv as HEADER_CONNECTION_EFFECTIVE_TYPE, bu as HEADER_CONNECTION_TYPE, bw as HEADER_COOKIES_ENABLED, bs as HEADER_DEVICE_MEMORY, bx as HEADER_DO_NOT_TRACK, bd as HEADER_ENVIRONMENT_KEY, bt as HEADER_HARDWARE_CONCURRENCY, bk as HEADER_LANGUAGE, bA as HEADER_LATITUDE, bB as HEADER_LONGITUDE, bl as HEADER_PLATFORM, bi as HEADER_PROJECT_ID, by as HEADER_REFERRER, bf as HEADER_REGION_KEY, bz as HEADER_REMOTE_URL, bn as HEADER_SCREEN_HEIGHT, bm as HEADER_SCREEN_WIDTH, be as HEADER_SOURCE_KEY, bq as HEADER_TIMEZONE, bj as HEADER_USER_AGENT, bp as HEADER_WINDOW_HEIGHT, bo as HEADER_WINDOW_WIDTH, dn as IndexKnowledgeDocumentRequest, b7 as InputOptions, cW as Knowledge, dV as KnowledgeDocument, dY as KnowledgeDocumentSegment, e1 as KnowledgeLog, b$ as KnowledgeService, c0 as KnowledgeServiceClient, bb as MessageRole, bc as MessageStatus, ef as NotificationSetting, cO as Ordering, cT as Organization, ci as OrganizationRole, e9 as OrganizationService, ec as OrganizationServiceClient, b8 as OutputOptions, eu as PHONE_CALL_SOURCE, cM as Paginate, cN as Paginated, cd as ProbeRequest, ce as ProbeResponse, cB as Project, cI as ProjectCredential, cj as ProjectRole, ea as ProjectService, ed as ProjectServiceClient, cg as RegisterUserRequest, et as SDK_SOURCE, cr as ScopeAuthorizeRequest, cm as ScopedAuthentication, cs as ScopedAuthenticationResponse, cv as SocialAuthenticationRequest, cS as Tag, d8 as TalkService, d9 as TalkServiceClient, d4 as Telemetry, cY as TextChatCompletePrompt, cX as TextPrompt, ch as Token, cU as ToolCall, c6 as UpdateAssistantAnalysisRequest, e7 as UpdateAssistantDetailRequest, bS as UpdateAssistantKnowledgeRequest, dJ as UpdateAssistantToolRequest, dd as UpdateAssistantWebhookRequest, cA as UpdateBillingInformationRequest, dC as UpdateEndpointDetailRequest, dx as UpdateEndpointVersionRequest, d_ as UpdateKnowledgeDetailRequest, d$ as UpdateKnowledgeDocumentSegmentRequest, cy as UpdateOrganizationRequest, cD as UpdateProjectRequest, cb as UpdateRequest, cc as UpdateResponse, cu as UpdateUserRequest, cP as User, cR as Variable, c1 as VaultCredential, bM as VaultService, bN as VaultServiceClient, cp as VerifyTokenRequest, er as WEB_PLUGIN_SOURCE, ev as WHATSAPP_SOURCE, bD as WithAuthContext, bF as WithClientContext, bC as WithPlatform, ex as fromStr, bE as getClientInfo, ew as getRapidaSourceValue } from './device-selector-BL0WiuZJ.js';
|
|
3
3
|
import * as jspb from 'google-protobuf';
|
|
4
4
|
import { Map } from 'google-protobuf';
|
|
5
5
|
import * as google_protobuf_any_pb from 'google-protobuf/google/protobuf/any_pb';
|
|
@@ -13,16 +13,6 @@ import 'typed-emitter';
|
|
|
13
13
|
import 'react';
|
|
14
14
|
import 'react/jsx-runtime';
|
|
15
15
|
|
|
16
|
-
type ResponseContentFormat = "raw" | "word" | "url" | "chunk";
|
|
17
|
-
/**
|
|
18
|
-
*
|
|
19
|
-
* @param str
|
|
20
|
-
* @returns
|
|
21
|
-
*/
|
|
22
|
-
declare const toTextContent: (str: string, format?: ResponseContentFormat) => Content;
|
|
23
|
-
declare const toStreamAudioContent: (raw: Uint8Array | string) => Content;
|
|
24
|
-
declare const toContentText: (cnt?: Content[]) => string;
|
|
25
|
-
|
|
26
16
|
/**
|
|
27
17
|
* Custom hook for managing agent connection in a voice system.
|
|
28
18
|
* @returns An object containing the connection handler and connection status.
|
|
@@ -1094,7 +1084,7 @@ declare function GetAllOrganizationCredential(connectionConfig: ConnectionConfig
|
|
|
1094
1084
|
* @param authHeader
|
|
1095
1085
|
* @returns
|
|
1096
1086
|
*/
|
|
1097
|
-
declare function AssistantTalk(connectionConfig: ConnectionConfig, authHeader?: UserAuthInfo | ClientAuthInfo): BidirectionalStream<
|
|
1087
|
+
declare function AssistantTalk(connectionConfig: ConnectionConfig, authHeader?: UserAuthInfo | ClientAuthInfo): BidirectionalStream<AssistantTalkInput, AssistantTalkOutput>;
|
|
1098
1088
|
/**
|
|
1099
1089
|
*
|
|
1100
1090
|
* @param conversationClient
|
|
@@ -1188,7 +1178,7 @@ declare function GetAllKnowledgeBases(config: ConnectionConfig, page: number, pa
|
|
|
1188
1178
|
* @param documentSource - The source of the document.
|
|
1189
1179
|
* @param datasource - The data source for the document.
|
|
1190
1180
|
* @param preProcessor - The pre-processing method to use.
|
|
1191
|
-
* @param
|
|
1181
|
+
* @param DocumentContents - An array of DocumentContent to include in the document.
|
|
1192
1182
|
* @param separator - The separator used in custom processing.
|
|
1193
1183
|
* @param maxchunksize - The maximum chunk size for document processing.
|
|
1194
1184
|
* @param chunkoverlap - The overlap between chunks.
|
|
@@ -1196,7 +1186,7 @@ declare function GetAllKnowledgeBases(config: ConnectionConfig, page: number, pa
|
|
|
1196
1186
|
* @param authHeader - Authentication headers for the request.
|
|
1197
1187
|
* @returns UnaryResponse - The gRPC response object.
|
|
1198
1188
|
*/
|
|
1199
|
-
declare function CreateKnowledgeDocument(config: ConnectionConfig, knowledgeId: string, documentSource: RapidaDocumentSource, datasource: string, documentType: RapidaDocumentType, preProcessor: RapidaDocumentPreProcessing,
|
|
1189
|
+
declare function CreateKnowledgeDocument(config: ConnectionConfig, knowledgeId: string, documentSource: RapidaDocumentSource, datasource: string, documentType: RapidaDocumentType, preProcessor: RapidaDocumentPreProcessing, DocumentContents: Array<DocumentContent>, separator: string, maxchunksize: number, chunkoverlap: number, cb: (err: ServiceError$1 | null, response: CreateKnowledgeDocumentResponse | null) => void, authHeader: ClientAuthInfo | UserAuthInfo): undefined;
|
|
1200
1190
|
/**
|
|
1201
1191
|
* Retrieves all documents associated with a knowledge base.
|
|
1202
1192
|
*
|
|
@@ -1639,10 +1629,8 @@ declare class Reranking extends jspb.Message {
|
|
|
1639
1629
|
getIndex(): number;
|
|
1640
1630
|
setIndex(value: number): void;
|
|
1641
1631
|
|
|
1642
|
-
|
|
1643
|
-
|
|
1644
|
-
getContent(): Content | undefined;
|
|
1645
|
-
setContent(value?: Content): void;
|
|
1632
|
+
getContent(): string;
|
|
1633
|
+
setContent(value: string): void;
|
|
1646
1634
|
|
|
1647
1635
|
getRelevancescore(): number;
|
|
1648
1636
|
setRelevancescore(value: number): void;
|
|
@@ -1660,7 +1648,7 @@ declare class Reranking extends jspb.Message {
|
|
|
1660
1648
|
declare namespace Reranking {
|
|
1661
1649
|
export type AsObject = {
|
|
1662
1650
|
index: number,
|
|
1663
|
-
content
|
|
1651
|
+
content: string,
|
|
1664
1652
|
relevancescore: number,
|
|
1665
1653
|
}
|
|
1666
1654
|
}
|
|
@@ -1674,7 +1662,7 @@ declare class RerankingRequest extends jspb.Message {
|
|
|
1674
1662
|
getQuery(): string;
|
|
1675
1663
|
setQuery(value: string): void;
|
|
1676
1664
|
|
|
1677
|
-
getContentMap(): jspb.Map<number,
|
|
1665
|
+
getContentMap(): jspb.Map<number, string>;
|
|
1678
1666
|
clearContentMap(): void;
|
|
1679
1667
|
getModelparametersMap(): jspb.Map<string, google_protobuf_any_pb.Any>;
|
|
1680
1668
|
clearModelparametersMap(): void;
|
|
@@ -1694,7 +1682,7 @@ declare namespace RerankingRequest {
|
|
|
1694
1682
|
export type AsObject = {
|
|
1695
1683
|
credential?: Credential.AsObject,
|
|
1696
1684
|
query: string,
|
|
1697
|
-
contentMap: Array<[number,
|
|
1685
|
+
contentMap: Array<[number, string]>,
|
|
1698
1686
|
modelparametersMap: Array<[string, google_protobuf_any_pb.Any.AsObject]>,
|
|
1699
1687
|
additionaldataMap: Array<[string, string]>,
|
|
1700
1688
|
}
|
|
@@ -1932,10 +1920,8 @@ declare class GetModerationRequest extends jspb.Message {
|
|
|
1932
1920
|
getVersion(): string;
|
|
1933
1921
|
setVersion(value: string): void;
|
|
1934
1922
|
|
|
1935
|
-
|
|
1936
|
-
|
|
1937
|
-
getContent(): Content | undefined;
|
|
1938
|
-
setContent(value?: Content): void;
|
|
1923
|
+
getContent(): string;
|
|
1924
|
+
setContent(value: string): void;
|
|
1939
1925
|
|
|
1940
1926
|
getAdditionaldataMap(): jspb.Map<string, string>;
|
|
1941
1927
|
clearAdditionaldataMap(): void;
|
|
@@ -1956,7 +1942,7 @@ declare namespace GetModerationRequest {
|
|
|
1956
1942
|
credential?: Credential.AsObject,
|
|
1957
1943
|
model: string,
|
|
1958
1944
|
version: string,
|
|
1959
|
-
content
|
|
1945
|
+
content: string,
|
|
1960
1946
|
additionaldataMap: Array<[string, string]>,
|
|
1961
1947
|
modelparametersMap: Array<[string, google_protobuf_any_pb.Any.AsObject]>,
|
|
1962
1948
|
}
|
|
@@ -2852,4 +2838,4 @@ declare function UpdateNotificationSetting(clientCfg: ConnectionConfig, request:
|
|
|
2852
2838
|
*/
|
|
2853
2839
|
declare function GetNotificationSetting(clientCfg: ConnectionConfig, request: GetNotificationSettingRequest, auth?: ClientAuthInfo | UserAuthInfo): Promise<NotificationSettingResponse>;
|
|
2854
2840
|
|
|
2855
|
-
export { AddUsersToProject, AddUsersToProjectResponse, type AgentDeployment, AgentEvent, AnthropicService, AnthropicServiceClient, AnyToBool, AnyToFloat, AnyToInt32, AnyToJSON, AnyToString, ArchiveProjectResponse, Assistant, AssistantApiDeployment, AssistantDebuggerDeployment,
|
|
2841
|
+
export { AddUsersToProject, AddUsersToProjectResponse, type AgentDeployment, AgentEvent, AnthropicService, AnthropicServiceClient, AnyToBool, AnyToFloat, AnyToInt32, AnyToJSON, AnyToString, ArchiveProjectResponse, Assistant, AssistantApiDeployment, AssistantDebuggerDeployment, AssistantTalk, AssistantTalkInput, AssistantTalkOutput, AssistantWebpluginDeployment, AuthenticateResponse, AuthenticateUser, AuthorizeUser, AzureService, AzureServiceClient, BaseResponse, BedrockService, BedrockServiceClient, type BidirectionalStream, BoolToAny, BytesToAny, ChangePassword, ChangePasswordRequest, ChangePasswordResponse, ChatRequest, ChatResponse, CohereService, CohereServiceClient, ConnectionConfig, CreateAnalysis, CreateAssistant, CreateAssistantApiDeployment, CreateAssistantDebuggerDeployment, CreateAssistantDeploymentRequest, CreateAssistantKnowledge, CreateAssistantPhoneDeployment, CreateAssistantProvider, CreateAssistantProviderRequest, CreateAssistantRequest, CreateAssistantTag, CreateAssistantTool, CreateAssistantWebpluginDeployment, CreateAssistantWhatsappDeployment, CreateBulkPhoneCall, CreateBulkPhoneCallRequest, CreateBulkPhoneCallResponse, CreateConversationMetric, CreateConversationMetricRequest, CreateConversationMetricResponse, CreateEndpoint, CreateEndpointCacheConfiguration, CreateEndpointCacheConfigurationResponse, CreateEndpointProviderModel, CreateEndpointProviderModelResponse, CreateEndpointResponse, CreateEndpointRetryConfiguration, CreateEndpointRetryConfigurationResponse, CreateEndpointTag, CreateKnowledge, CreateKnowledgeDocument, CreateKnowledgeDocumentResponse, CreateKnowledgeRequest, CreateKnowledgeResponse, CreateKnowledgeTag, CreateMessageMetric, CreateMessageMetricRequest, CreateMessageMetricResponse, CreateOrganization, CreateOrganizationResponse, CreatePassword, CreatePasswordResponse, CreatePhoneCall, CreatePhoneCallRequest, CreatePhoneCallResponse, CreateProject, CreateProjectCredential, CreateProjectCredentialResponse, CreateProjectResponse, CreateProviderCredentialRequest, CreateProviderKey, CreateWebhook, Credential, Criteria, DeepInfraService, DeepInfraServiceClient, DeleteAssistant, DeleteAssistantAnalysis, DeleteAssistantKnowledge, DeleteAssistantTool, DeleteAssistantWebhook, DeleteKnowledgeDocumentSegment, DeleteProject, DeleteProviderKey, Embedding, EmbeddingRequest, EmbeddingResponse, EndpointAttribute, EndpointCacheConfiguration, EndpointProviderModelAttribute, EndpointRetryConfiguration, Error$1 as Error, Feedback, FloatToAny, ForgotPassword, ForgotPasswordResponse, FunctionDefinition, FunctionParameter, FunctionParameterProperty, GeneralConnect, GeneralConnectResponse, GetActivities, GetActivity, GetAllAssistant, GetAllAssistantAnalysis, GetAllAssistantAnalysisResponse, GetAllAssistantConversation, GetAllAssistantConversationMessage, GetAllAssistantConversationResponse, GetAllAssistantKnowledge, GetAllAssistantKnowledgeResponse, GetAllAssistantMessageResponse, GetAllAssistantProvider, GetAllAssistantProviderResponse, GetAllAssistantResponse, GetAllAssistantTelemetry, GetAllAssistantTelemetryRequest, GetAllAssistantTelemetryResponse, GetAllAssistantTool, GetAllAssistantToolLog, GetAllAssistantToolLogRequest, GetAllAssistantToolLogResponse, GetAllAssistantToolResponse, GetAllAssistantWebhook, GetAllAssistantWebhookLogResponse, GetAllAssistantWebhookResponse, GetAllAuditLogResponse, GetAllConversationMessageResponse, GetAllEndpoint, GetAllEndpointLog, GetAllEndpointLogResponse, GetAllEndpointProviderModel, GetAllEndpointProviderModelResponse, GetAllEndpointResponse, GetAllKnowledgeBases, GetAllKnowledgeDocument, GetAllKnowledgeDocumentResponse, GetAllKnowledgeDocumentSegment, GetAllKnowledgeDocumentSegmentResponse, GetAllKnowledgeLog, GetAllKnowledgeLogRequest, GetAllKnowledgeLogResponse, GetAllKnowledgeResponse, GetAllMessageResponse, GetAllOrganizationCredential, GetAllOrganizationCredentialResponse, GetAllProject, GetAllProjectCredential, GetAllProjectCredentialResponse, GetAllProjectResponse, GetAllUser, GetAllUserResponse, GetAllWebhookLog, GetAssistant, GetAssistantAnalysis, GetAssistantAnalysisResponse, GetAssistantApiDeployment, GetAssistantApiDeploymentResponse, GetAssistantConversation, GetAssistantConversationRequest, GetAssistantConversationResponse, GetAssistantDebuggerDeployment, GetAssistantDebuggerDeploymentResponse, GetAssistantDeploymentRequest, GetAssistantKnowledge, GetAssistantKnowledgeResponse, GetAssistantMessages, GetAssistantPhoneDeployment, GetAssistantPhoneDeploymentResponse, GetAssistantProviderResponse, GetAssistantRequest, GetAssistantResponse, GetAssistantTool, GetAssistantToolLog, GetAssistantToolLogRequest, GetAssistantToolLogResponse, GetAssistantToolResponse, GetAssistantWebhook, GetAssistantWebhookLogResponse, GetAssistantWebhookResponse, GetAssistantWebpluginDeployment, GetAssistantWebpluginDeploymentResponse, GetAssistantWhatsappDeployment, GetAssistantWhatsappDeploymentResponse, GetAuditLogResponse, GetConnectorFiles, GetConnectorFilesResponse, GetCredentialResponse, GetDeployment, GetEndpoint, GetEndpointLog, GetEndpointLogResponse, GetEndpointResponse, GetKnowledgeBase, GetKnowledgeLog, GetKnowledgeLogRequest, GetKnowledgeLogResponse, GetKnowledgeResponse, GetMessages, GetModerationRequest, GetModerationResponse, GetNotificationSetting, GetNotificationSettingRequest, GetOrganization, GetOrganizationResponse, GetProject, GetProjectResponse, GetUser, GetUserResponse, GetWebhookLog, Github, Google, HuggingfaceService, HuggingfaceServiceClient, IndexKnowledgeDocument, IndexKnowledgeDocumentResponse, Int32ToAny, Invoke, InvokeRequest, InvokeResponse, JSONToAny, Linkedin, MapToObject, MediaDeviceFailure, Message, Metadata, Metric, MistralService, MistralServiceClient, Moderation, NotificationSettingResponse, OpenAiService, OpenAiServiceClient, Message$1 as ProtoMessage, RapidaSource, RegisterUser, ReplicateService, ReplicateServiceClient, type RequestStream, Reranking, RerankingRequest, RerankingResponse, type ResponseStream$1 as ResponseStream, type ServiceError$1 as ServiceError, StabilityAiService, StabilityAiServiceClient, type Status$1 as Status, StringArrayToAny, StringToAny, TogetherAiService, TogetherAiServiceClient, ToolDefinition, type UnaryResponse$1 as UnaryResponse, UpdateAnalysis, UpdateAssistantDetail, UpdateAssistantKnowledge, UpdateAssistantTool, UpdateAssistantVersion, UpdateAssistantVersionRequest, UpdateEndpointDetail, UpdateEndpointVersion, UpdateEndpointVersionResponse, UpdateKnowledgeDetail, UpdateKnowledgeDocumentSegment, UpdateNotificationSetting, UpdateNotificationSettingRequest, UpdateOrganization, UpdateOrganizationResponse, UpdateProject, UpdateProjectResponse, UpdateUser, UpdateUserResponse, UpdateWebhook, VerifyCredentialRequest, VerifyCredentialResponse, VerifyToken, VerifyTokenResponse, VoiceAgent, VoyageAiService, VoyageAiServiceClient, agentEventSelector, useAgentMessages, useConnectAgent, useConversationFeedback, useInputModeToggleAgent, useMessageFeedback, useMultiband3DSpeakerTrackVolume, useMultibandMicrophoneTrackVolume, useSelectInputDeviceAgent };
|