@rapidaai/react 1.1.42 → 1.1.44
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-B372Y6DW.mjs → chunk-HQHWE2DO.mjs} +415 -553
- package/dist/chunk-HQHWE2DO.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 +414 -552
- package/dist/components/device-selector.js.map +1 -1
- package/dist/components/device-selector.mjs +1 -1
- package/dist/{device-selector-BdvX9x_8.d.mts → device-selector-C2no2MF2.d.mts} +849 -1509
- package/dist/{device-selector-BdvX9x_8.d.ts → device-selector-C2no2MF2.d.ts} +849 -1509
- package/dist/index.d.mts +109 -443
- package/dist/index.d.ts +109 -443
- package/dist/index.js +6980 -10647
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +6441 -9966
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/dist/chunk-B372Y6DW.mjs.map +0 -1
package/dist/index.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { C as
|
|
2
|
-
export {
|
|
1
|
+
import { C as Content, V as VoiceAgent, F as Feedback, A as AssistantDebuggerDeployment, a as AssistantWebpluginDeployment, b as AssistantApiDeployment, c as Assistant, R as RapidaSource, M as Message, d as ConnectionConfig, e as ClientAuthInfo, U as UserAuthInfo, I as IndexKnowledgeDocumentResponse, f as InvokeRequest, g as InvokeResponse, h as AuthenticateResponse, i as VerifyTokenResponse, j as ForgotPasswordResponse, k as CreatePasswordResponse, l as ChangePasswordRequest, m as ChangePasswordResponse, G as GetUserResponse, n as UpdateUserResponse, o as GetAllUserResponse, p as GeneralConnectResponse, q as Criteria, r as GetConnectorFilesResponse, s as CreateOrganizationResponse, t as UpdateOrganizationResponse, u as GetOrganizationResponse, v as GetAllAssistantResponse, w as UpdateAssistantVersionRequest, x as GetAssistantResponse, y as GetAssistantRequest, z as CreateAssistantRequest, B as GetAllAssistantMessageResponse, D as GetAllMessageResponse, E as GetAllConversationMessageResponse, H as CreateAssistantDeploymentRequest, J as GetAssistantDebuggerDeploymentResponse, K as GetAssistantDeploymentRequest, L as GetAssistantApiDeploymentResponse, N as GetAssistantWebpluginDeploymentResponse, O as GetAssistantPhoneDeploymentResponse, P as GetAssistantWhatsappDeploymentResponse, Q as GetAllAssistantWebhookResponse, S as GetAssistantWebhookResponse, T as GetAssistantConversationRequest, W as GetAssistantConversationResponse, X as GetAllAssistantAnalysisResponse, Y as GetAssistantAnalysisResponse, Z as GetAllAssistantWebhookLogResponse, _ as GetAssistantWebhookLogResponse, $ as GetAllAssistantToolResponse, a0 as Metadata, a1 as GetAssistantToolResponse, a2 as GetAllAssistantKnowledgeResponse, a3 as GetAssistantKnowledgeResponse, a4 as GetAssistantToolLogRequest, a5 as GetAssistantToolLogResponse, a6 as GetAllAssistantToolLogRequest, a7 as GetAllAssistantToolLogResponse, a8 as CreateAssistantProviderRequest, a9 as GetAssistantProviderResponse, aa as GetAllAssistantProviderResponse, ab as GetAllAuditLogResponse, ac as GetAuditLogResponse, ad as GetAllEndpointResponse, ae as UpdateEndpointVersionResponse, af as GetAllEndpointProviderModelResponse, ag as GetEndpointResponse, ah as EndpointProviderModelAttribute, ai as CreateEndpointProviderModelResponse, aj as EndpointAttribute, ak as CreateEndpointResponse, al as EndpointRetryConfiguration, am as EndpointCacheConfiguration, an as CreateEndpointRetryConfigurationResponse, ao as CreateEndpointCacheConfigurationResponse, ap as GetAllEndpointLogResponse, aq as GetEndpointLogResponse, ar as CreateProviderCredentialRequest, as as GetCredentialResponse, at as GetAllOrganizationCredentialResponse, au as AssistantMessagingRequest, av as AssistantMessagingResponse, aw as CreateMessageMetricRequest, ax as CreateMessageMetricResponse, ay as CreateConversationMetricRequest, az as CreateConversationMetricResponse, aA as GetAllAssistantConversationResponse, aB as CreateKnowledgeRequest, aC as CreateKnowledgeResponse, aD as GetKnowledgeResponse, aE as GetAllKnowledgeResponse, 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-C2no2MF2.mjs';
|
|
2
|
+
export { cG as AddUsersToProjectRequest, ba as AgentCallback, b9 as AgentConfig, du as AggregatedEndpointAnalytics, cH as ArchiveProjectRequest, cQ as Argument, c4 as AssistantAnalysis, c$ as AssistantConversation, d8 as AssistantConversationAssistantMessage, d5 as AssistantConversationConfiguration, c_ as AssistantConversationContext, d6 as AssistantConversationInterruption, cZ as AssistantConversationMessage, d2 as AssistantConversationRecording, d7 as AssistantConversationUserMessage, d3 as AssistantDefinition, bI as AssistantDeploymentService, bJ as AssistantDeploymentServiceClient, bQ as AssistantKnowledge, dR as AssistantPhoneDeployment, ek as AssistantProviderAgentkit, ej as AssistantProviderModel, el as AssistantProviderWebsocket, d9 as AssistantService, da as AssistantServiceClient, dJ as AssistantTool, dK as AssistantToolLog, dd as AssistantWebhook, de as AssistantWebhookLog, dS as AssistantWhatsappDeployment, bW as AuditLog, dT as AuditLoggingService, dU as AuditLoggingServiceClient, cf as AuthenticateRequest, cl as Authentication, eb as AuthenticationService, ee as AuthenticationServiceClient, cq as AuthorizeRequest, b6 as Channel, bK as ConnectService, bL as ConnectServiceClient, b5 as ConnectionState, c5 as CreateAssistantAnalysisRequest, bR as CreateAssistantKnowledgeRequest, e5 as CreateAssistantTagRequest, dL as CreateAssistantToolRequest, df as CreateAssistantWebhookRequest, dC as CreateEndpointCacheConfigurationRequest, dw as CreateEndpointProviderModelRequest, ds as CreateEndpointRequest, dB as CreateEndpointRetryConfigurationRequest, dD as CreateEndpointTagRequest, d_ as CreateKnowledgeDocumentRequest, dX as CreateKnowledgeTagRequest, bZ as CreateMetadataRequest, b_ as CreateMetadataResponse, cx as CreateOrganizationRequest, co as CreatePasswordRequest, cJ as CreateProjectCredentialRequest, cC as CreateProjectRequest, eo as DEBUGGER_SOURCE, c8 as DeleteAssistantAnalysisRequest, bU as DeleteAssistantKnowledgeRequest, e6 as DeleteAssistantRequest, dO as DeleteAssistantToolRequest, di as DeleteAssistantWebhookRequest, e3 as DeleteKnowledgeDocumentSegmentRequest, bO as Deployment, dQ as DeploymentAudioProvider, bP as DeploymentClient, eh as DeviceSelectorComponent, dp as DocumentService, dq as DocumentServiceClient, dv as Endpoint, ca as EndpointDefinition, dG as EndpointLog, dt as EndpointProviderModel, bG as EndpointService, bH as EndpointServiceClient, ck as FeaturePermission, cL as FieldSelector, cn as ForgotPasswordRequest, dE as ForkEndpointRequest, cV as FunctionCall, dm as GeneralConnectRequest, c9 as GetAllAssistantAnalysisRequest, d0 as GetAllAssistantConversationRequest, bV as GetAllAssistantKnowledgeRequest, e8 as GetAllAssistantMessageRequest, em as GetAllAssistantProviderRequest, e7 as GetAllAssistantRequest, dP as GetAllAssistantToolRequest, dk as GetAllAssistantWebhookLogRequest, dj as GetAllAssistantWebhookRequest, bX as GetAllAuditLogRequest, d1 as GetAllConversationMessageRequest, dH as GetAllEndpointLogRequest, dz as GetAllEndpointProviderModelRequest, dy as GetAllEndpointRequest, dZ as GetAllKnowledgeDocumentRequest, e0 as GetAllKnowledgeDocumentSegmentRequest, dV as GetAllKnowledgeRequest, e9 as GetAllMessageRequest, c2 as GetAllOrganizationCredentialRequest, cK as GetAllProjectCredentialRequest, cF as GetAllProjectRequest, cw as GetAllUserRequest, c7 as GetAssistantAnalysisRequest, bT as GetAssistantKnowledgeRequest, dN as GetAssistantToolRequest, dl as GetAssistantWebhookLogRequest, dh as GetAssistantWebhookRequest, bY as GetAuditLogRequest, dn as GetConnectorFilesRequest, c3 as GetCredentialRequest, dI as GetEndpointLogRequest, dx as GetEndpointRequest, dW 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, dr as IndexKnowledgeDocumentRequest, b7 as InputOptions, cW as Knowledge, dY as KnowledgeDocument, d$ as KnowledgeDocumentSegment, e4 as KnowledgeLog, b$ as KnowledgeService, c0 as KnowledgeServiceClient, bb as MessageRole, bc as MessageStatus, ei as NotificationSetting, cO as Ordering, cT as Organization, ci as OrganizationRole, ec as OrganizationService, ef as OrganizationServiceClient, b8 as OutputOptions, eq 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, ed as ProjectService, eg as ProjectServiceClient, cg as RegisterUserRequest, ep as SDK_SOURCE, cr as ScopeAuthorizeRequest, cm as ScopedAuthentication, cs as ScopedAuthenticationResponse, cv as SocialAuthenticationRequest, cS as Tag, db as TalkService, dc as TalkServiceClient, d4 as Telemetry, cY as TextChatCompletePrompt, cX as TextPrompt, ch as Token, cU as ToolCall, c6 as UpdateAssistantAnalysisRequest, ea as UpdateAssistantDetailRequest, bS as UpdateAssistantKnowledgeRequest, dM as UpdateAssistantToolRequest, dg as UpdateAssistantWebhookRequest, cA as UpdateBillingInformationRequest, dF as UpdateEndpointDetailRequest, dA as UpdateEndpointVersionRequest, e1 as UpdateKnowledgeDetailRequest, e2 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, en as WEB_PLUGIN_SOURCE, er as WHATSAPP_SOURCE, bD as WithAuthContext, bF as WithClientContext, bC as WithPlatform, et as fromStr, bE as getClientInfo, es as getRapidaSourceValue } from './device-selector-C2no2MF2.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,15 +13,6 @@ import 'typed-emitter';
|
|
|
13
13
|
import 'react';
|
|
14
14
|
import 'react/jsx-runtime';
|
|
15
15
|
|
|
16
|
-
/**
|
|
17
|
-
*
|
|
18
|
-
* @param clientCfg
|
|
19
|
-
* @param request
|
|
20
|
-
* @param auth
|
|
21
|
-
* @returns
|
|
22
|
-
*/
|
|
23
|
-
declare function CreateLead(clientCfg: ConnectionConfig, request: CreateLeadRequest, auth?: ClientAuthInfo | UserAuthInfo): Promise<BaseResponse>;
|
|
24
|
-
|
|
25
16
|
type ResponseContentFormat = "raw" | "word" | "url" | "chunk";
|
|
26
17
|
/**
|
|
27
18
|
*
|
|
@@ -187,7 +178,7 @@ declare function useAgentMessages(agent: VoiceAgent): {
|
|
|
187
178
|
messages: Message[];
|
|
188
179
|
};
|
|
189
180
|
|
|
190
|
-
type ServiceError$
|
|
181
|
+
type ServiceError$1 = {
|
|
191
182
|
message: string;
|
|
192
183
|
code: number;
|
|
193
184
|
metadata: grpc.Metadata;
|
|
@@ -197,7 +188,7 @@ type Status$1 = {
|
|
|
197
188
|
code: number;
|
|
198
189
|
metadata: grpc.Metadata;
|
|
199
190
|
};
|
|
200
|
-
interface UnaryResponse$
|
|
191
|
+
interface UnaryResponse$1 {
|
|
201
192
|
cancel(): void;
|
|
202
193
|
}
|
|
203
194
|
interface ResponseStream$1<T> {
|
|
@@ -231,23 +222,7 @@ interface BidirectionalStream<ReqT, ResT> {
|
|
|
231
222
|
* @param authHeader - Authentication headers for the request.
|
|
232
223
|
* @param cb - Callback function to handle the response.
|
|
233
224
|
*/
|
|
234
|
-
declare function IndexKnowledgeDocument(client: ConnectionConfig, knowledgeId: string, knowledgeDocumentIds: string[], indexType: string, authHeader: ClientAuthInfo | UserAuthInfo, cb: (err: ServiceError$
|
|
235
|
-
|
|
236
|
-
/**
|
|
237
|
-
* Retrieve all deployments based on pagination and filtering criteria.
|
|
238
|
-
*
|
|
239
|
-
* @param page - The page number for pagination.
|
|
240
|
-
* @param pageSize - The number of results per page.
|
|
241
|
-
* @param criteria - List of filtering criteria.
|
|
242
|
-
* @param authHeader - Authentication headers for the request.
|
|
243
|
-
* @param cb - Callback function to handle the response.
|
|
244
|
-
* @returns UnaryResponse - The gRPC response object.
|
|
245
|
-
*/
|
|
246
|
-
declare function GetAllDeployment(client: ConnectionConfig, page: number, pageSize: number, criteria: {
|
|
247
|
-
key: string;
|
|
248
|
-
value: string;
|
|
249
|
-
logic: string;
|
|
250
|
-
}[], cb: (err: ServiceError$2 | null, response: GetAllDeploymentResponse | null) => void, authHeader: ClientAuthInfo | UserAuthInfo): undefined;
|
|
225
|
+
declare function IndexKnowledgeDocument(client: ConnectionConfig, knowledgeId: string, knowledgeDocumentIds: string[], indexType: string, authHeader: ClientAuthInfo | UserAuthInfo, cb: (err: ServiceError$1 | null, response: IndexKnowledgeDocumentResponse | null) => void): undefined;
|
|
251
226
|
|
|
252
227
|
/**
|
|
253
228
|
* Invoke an endpoint with specified parameters.
|
|
@@ -269,14 +244,14 @@ declare function Invoke(clientCfg: ConnectionConfig, request: InvokeRequest, aut
|
|
|
269
244
|
* @param password - The password of the user.
|
|
270
245
|
* @param cb - Callback function to handle the response.
|
|
271
246
|
*/
|
|
272
|
-
declare function AuthenticateUser(config: ConnectionConfig, email: string, password: string, cb: (err: ServiceError$
|
|
247
|
+
declare function AuthenticateUser(config: ConnectionConfig, email: string, password: string, cb: (err: ServiceError$1 | null, auth: AuthenticateResponse | null) => void): undefined;
|
|
273
248
|
/**
|
|
274
249
|
* Authorize or reauthorize the user with headers.
|
|
275
250
|
*
|
|
276
251
|
* @param cb - Callback function to handle the response.
|
|
277
252
|
* @param authHeader - Authentication headers for the request.
|
|
278
253
|
*/
|
|
279
|
-
declare function AuthorizeUser(config: ConnectionConfig, cb: (err: ServiceError$
|
|
254
|
+
declare function AuthorizeUser(config: ConnectionConfig, cb: (err: ServiceError$1 | null, org: AuthenticateResponse | null) => void, authHeader: ClientAuthInfo | UserAuthInfo): undefined;
|
|
280
255
|
/**
|
|
281
256
|
* Register a new user with email, password, and name.
|
|
282
257
|
*
|
|
@@ -285,7 +260,7 @@ declare function AuthorizeUser(config: ConnectionConfig, cb: (err: ServiceError$
|
|
|
285
260
|
* @param name - The name of the new user.
|
|
286
261
|
* @param cb - Callback function to handle the response.
|
|
287
262
|
*/
|
|
288
|
-
declare function RegisterUser(config: ConnectionConfig, email: string, password: string, name: string, cb: (err: ServiceError$
|
|
263
|
+
declare function RegisterUser(config: ConnectionConfig, email: string, password: string, name: string, cb: (err: ServiceError$1 | null, user: AuthenticateResponse | null) => void): undefined;
|
|
289
264
|
/**
|
|
290
265
|
* Verify a token for authentication or authorization.
|
|
291
266
|
*
|
|
@@ -293,14 +268,14 @@ declare function RegisterUser(config: ConnectionConfig, email: string, password:
|
|
|
293
268
|
* @param tokenType - The type of the token.
|
|
294
269
|
* @param cb - Callback function to handle the response.
|
|
295
270
|
*/
|
|
296
|
-
declare function VerifyToken(config: ConnectionConfig, token: string, tokenType: string, cb: (err: ServiceError$
|
|
271
|
+
declare function VerifyToken(config: ConnectionConfig, token: string, tokenType: string, cb: (err: ServiceError$1 | null, tokenResponse: VerifyTokenResponse | null) => void): undefined;
|
|
297
272
|
/**
|
|
298
273
|
* Request a password reset for a user.
|
|
299
274
|
*
|
|
300
275
|
* @param email - The email address of the user.
|
|
301
276
|
* @param cb - Callback function to handle the response.
|
|
302
277
|
*/
|
|
303
|
-
declare function ForgotPassword(config: ConnectionConfig, email: string, cb: (err: ServiceError$
|
|
278
|
+
declare function ForgotPassword(config: ConnectionConfig, email: string, cb: (err: ServiceError$1 | null, fpr: ForgotPasswordResponse | null) => void): undefined;
|
|
304
279
|
/**
|
|
305
280
|
* Create a new password after a password reset link.
|
|
306
281
|
*
|
|
@@ -308,14 +283,14 @@ declare function ForgotPassword(config: ConnectionConfig, email: string, cb: (er
|
|
|
308
283
|
* @param password - The new password.
|
|
309
284
|
* @param cb - Callback function to handle the response.
|
|
310
285
|
*/
|
|
311
|
-
declare function CreatePassword(config: ConnectionConfig, token: string, password: string, cb: (err: ServiceError$
|
|
286
|
+
declare function CreatePassword(config: ConnectionConfig, token: string, password: string, cb: (err: ServiceError$1 | null, fpr: CreatePasswordResponse | null) => void): undefined;
|
|
312
287
|
/**
|
|
313
288
|
* Retrieve user information with authorization headers.
|
|
314
289
|
*
|
|
315
290
|
* @param cb - Callback function to handle the response.
|
|
316
291
|
* @param authHeader - Authentication headers for the request.
|
|
317
292
|
*/
|
|
318
|
-
declare function GetUser(config: ConnectionConfig, cb: (err: ServiceError$
|
|
293
|
+
declare function GetUser(config: ConnectionConfig, cb: (err: ServiceError$1 | null, gur: GetUserResponse | null) => void, authHeader: ClientAuthInfo | UserAuthInfo): undefined;
|
|
319
294
|
/**
|
|
320
295
|
* Update user information with optional name and authorization headers.
|
|
321
296
|
*
|
|
@@ -323,7 +298,7 @@ declare function GetUser(config: ConnectionConfig, cb: (err: ServiceError$2 | nu
|
|
|
323
298
|
* @param authHeader - Authentication headers for the request.
|
|
324
299
|
* @param name - Optional new name for the user.
|
|
325
300
|
*/
|
|
326
|
-
declare function UpdateUser(config: ConnectionConfig, cb: (err: ServiceError$
|
|
301
|
+
declare function UpdateUser(config: ConnectionConfig, cb: (err: ServiceError$1 | null, uur: UpdateUserResponse | null) => void, authHeader: ClientAuthInfo | UserAuthInfo, name?: string): undefined;
|
|
327
302
|
/**
|
|
328
303
|
* Retrieve all users with pagination and criteria.
|
|
329
304
|
*
|
|
@@ -336,7 +311,7 @@ declare function UpdateUser(config: ConnectionConfig, cb: (err: ServiceError$2 |
|
|
|
336
311
|
declare function GetAllUser(config: ConnectionConfig, page: number, pageSize: number, criteria: {
|
|
337
312
|
key: string;
|
|
338
313
|
value: string;
|
|
339
|
-
}[], cb: (err: ServiceError$
|
|
314
|
+
}[], cb: (err: ServiceError$1 | null, uur: GetAllUserResponse | null) => void, authHeader: ClientAuthInfo | UserAuthInfo): undefined;
|
|
340
315
|
/**
|
|
341
316
|
* Social authentication with Google.
|
|
342
317
|
*
|
|
@@ -344,7 +319,7 @@ declare function GetAllUser(config: ConnectionConfig, page: number, pageSize: nu
|
|
|
344
319
|
* @param state - Optional state parameter for the authentication request.
|
|
345
320
|
* @param code - Optional code parameter for the authentication request.
|
|
346
321
|
*/
|
|
347
|
-
declare function Google(config: ConnectionConfig, cb: (err: ServiceError$
|
|
322
|
+
declare function Google(config: ConnectionConfig, cb: (err: ServiceError$1 | null, uur: AuthenticateResponse | null) => void, state?: string, code?: string): undefined;
|
|
348
323
|
/**
|
|
349
324
|
* Social authentication with LinkedIn.
|
|
350
325
|
*
|
|
@@ -352,7 +327,7 @@ declare function Google(config: ConnectionConfig, cb: (err: ServiceError$2 | nul
|
|
|
352
327
|
* @param state - Optional state parameter for the authentication request.
|
|
353
328
|
* @param code - Optional code parameter for the authentication request.
|
|
354
329
|
*/
|
|
355
|
-
declare function Linkedin(config: ConnectionConfig, cb: (err: ServiceError$
|
|
330
|
+
declare function Linkedin(config: ConnectionConfig, cb: (err: ServiceError$1 | null, uur: AuthenticateResponse | null) => void, state?: string, code?: string): undefined;
|
|
356
331
|
/**
|
|
357
332
|
* Social authentication with GitHub.
|
|
358
333
|
*
|
|
@@ -360,28 +335,15 @@ declare function Linkedin(config: ConnectionConfig, cb: (err: ServiceError$2 | n
|
|
|
360
335
|
* @param state - Optional state parameter for the authentication request.
|
|
361
336
|
* @param code - Optional code parameter for the authentication request.
|
|
362
337
|
*/
|
|
363
|
-
declare function Github(config: ConnectionConfig, cb: (err: ServiceError$
|
|
364
|
-
|
|
365
|
-
/**
|
|
366
|
-
* Retrieve all providers.
|
|
367
|
-
*
|
|
368
|
-
* @param cb - Callback function to handle the response.
|
|
369
|
-
* @returns UnaryResponse - The gRPC response object.
|
|
370
|
-
*/
|
|
371
|
-
declare function GetAllProvider(connectionConfig: ConnectionConfig, cb: (err: ServiceError$2 | null, response: GetAllModelProviderResponse | null) => void, authHeader?: ClientAuthInfo | UserAuthInfo): void;
|
|
338
|
+
declare function Github(config: ConnectionConfig, cb: (err: ServiceError$1 | null, uur: AuthenticateResponse | null) => void, state?: string, code?: string): undefined;
|
|
372
339
|
/**
|
|
373
340
|
*
|
|
374
|
-
* @param
|
|
375
|
-
* @param
|
|
376
|
-
* @param
|
|
377
|
-
* @param cb
|
|
378
|
-
* @param authHeader
|
|
341
|
+
* @param clientCfg
|
|
342
|
+
* @param request
|
|
343
|
+
* @param auth
|
|
379
344
|
* @returns
|
|
380
345
|
*/
|
|
381
|
-
declare function
|
|
382
|
-
key: string;
|
|
383
|
-
value: string;
|
|
384
|
-
}[], cb: (err: ServiceError$2 | null, uvcr: GetAllToolProviderResponse | null) => void, authHeader: ClientAuthInfo | UserAuthInfo): undefined;
|
|
346
|
+
declare function ChangePassword(clientCfg: ConnectionConfig, request: ChangePasswordRequest, auth?: ClientAuthInfo | UserAuthInfo): Promise<ChangePasswordResponse>;
|
|
385
347
|
|
|
386
348
|
/**
|
|
387
349
|
* Establish a general connection.
|
|
@@ -394,31 +356,7 @@ declare function GetAllToolProvider(connectionConfig: ConnectionConfig, page: nu
|
|
|
394
356
|
* @param cb - Callback function to handle the response.
|
|
395
357
|
* @returns UnaryResponse - The gRPC response object.
|
|
396
358
|
*/
|
|
397
|
-
declare function GeneralConnect(config: ConnectionConfig, connect: string, code: string, state: string, scope: string, authHeader: ClientAuthInfo | UserAuthInfo, cb: (err: ServiceError$
|
|
398
|
-
/**
|
|
399
|
-
* Establish a knowledge connection.
|
|
400
|
-
*
|
|
401
|
-
* @param connect - The connection identifier.
|
|
402
|
-
* @param code - The authorization code.
|
|
403
|
-
* @param state - The state parameter.
|
|
404
|
-
* @param scope - The requested scope.
|
|
405
|
-
* @param authHeader - Authentication headers for the request.
|
|
406
|
-
* @param cb - Callback function to handle the response.
|
|
407
|
-
* @returns UnaryResponse - The gRPC response object.
|
|
408
|
-
*/
|
|
409
|
-
declare function KnowledgeConnect(config: ConnectionConfig, connect: string, code: string, state: string, scope: string, authHeader: ClientAuthInfo | UserAuthInfo, cb: (err: ServiceError$2 | null, response: KnowledgeConnectResponse | null) => void): undefined;
|
|
410
|
-
/**
|
|
411
|
-
* Establish an action connection.
|
|
412
|
-
*
|
|
413
|
-
* @param connect - The connection identifier.
|
|
414
|
-
* @param code - The authorization code.
|
|
415
|
-
* @param state - The state parameter.
|
|
416
|
-
* @param scope - The requested scope.
|
|
417
|
-
* @param authHeader - Authentication headers for the request.
|
|
418
|
-
* @param cb - Callback function to handle the response.
|
|
419
|
-
* @returns UnaryResponse - The gRPC response object.
|
|
420
|
-
*/
|
|
421
|
-
declare function ActionConnect(config: ConnectionConfig, connect: string, code: string, state: string, scope: string, authHeader: ClientAuthInfo | UserAuthInfo, cb: (err: ServiceError$2 | null, response: ActionConnectResponse | null) => void): undefined;
|
|
359
|
+
declare function GeneralConnect(config: ConnectionConfig, connect: string, code: string, state: string, scope: string, authHeader: ClientAuthInfo | UserAuthInfo, cb: (err: ServiceError$1 | null, response: GeneralConnectResponse | null) => void): undefined;
|
|
422
360
|
/**
|
|
423
361
|
* Retrieve files associated with a connector based on specified criteria.
|
|
424
362
|
*
|
|
@@ -428,7 +366,7 @@ declare function ActionConnect(config: ConnectionConfig, connect: string, code:
|
|
|
428
366
|
* @param cb - Callback function to handle the response.
|
|
429
367
|
* @returns UnaryResponse - The gRPC response object.
|
|
430
368
|
*/
|
|
431
|
-
declare function GetConnectorFiles(config: ConnectionConfig,
|
|
369
|
+
declare function GetConnectorFiles(config: ConnectionConfig, provider: string, criterias: Criteria[], authHeader: ClientAuthInfo | UserAuthInfo, cb: (err: ServiceError$1 | null, response: GetConnectorFilesResponse | null) => void): undefined;
|
|
432
370
|
|
|
433
371
|
/**
|
|
434
372
|
* Create a new organization.
|
|
@@ -440,7 +378,7 @@ declare function GetConnectorFiles(config: ConnectionConfig, toolId: string, cri
|
|
|
440
378
|
* @param cb - Callback function to handle the response.
|
|
441
379
|
* @returns UnaryResponse - The gRPC response object.
|
|
442
380
|
*/
|
|
443
|
-
declare function CreateOrganization(connectionConfig: ConnectionConfig, name: string, size: string, industry: string, authHeader: ClientAuthInfo | UserAuthInfo, cb: (err: ServiceError$
|
|
381
|
+
declare function CreateOrganization(connectionConfig: ConnectionConfig, name: string, size: string, industry: string, authHeader: ClientAuthInfo | UserAuthInfo, cb: (err: ServiceError$1 | null, response: CreateOrganizationResponse | null) => void): undefined;
|
|
444
382
|
/**
|
|
445
383
|
* Update an existing organization.
|
|
446
384
|
*
|
|
@@ -452,7 +390,7 @@ declare function CreateOrganization(connectionConfig: ConnectionConfig, name: st
|
|
|
452
390
|
* @param cb - Callback function to handle the response.
|
|
453
391
|
* @returns UnaryResponse - The gRPC response object.
|
|
454
392
|
*/
|
|
455
|
-
declare function UpdateOrganization(connectionConfig: ConnectionConfig, organizationId: string, authHeader: ClientAuthInfo | UserAuthInfo, cb: (err: ServiceError$
|
|
393
|
+
declare function UpdateOrganization(connectionConfig: ConnectionConfig, organizationId: string, authHeader: ClientAuthInfo | UserAuthInfo, cb: (err: ServiceError$1 | null, response: UpdateOrganizationResponse | null) => void, organizationName?: string, organizationIndustry?: string, organizationContact?: string): undefined;
|
|
456
394
|
/**
|
|
457
395
|
* Retrieve details of an organization.
|
|
458
396
|
*
|
|
@@ -460,7 +398,7 @@ declare function UpdateOrganization(connectionConfig: ConnectionConfig, organiza
|
|
|
460
398
|
* @param cb - Callback function to handle the response.
|
|
461
399
|
* @returns UnaryResponse - The gRPC response object.
|
|
462
400
|
*/
|
|
463
|
-
declare function GetOrganization(connectionConfig: ConnectionConfig, authHeader: ClientAuthInfo | UserAuthInfo, cb: (err: ServiceError$
|
|
401
|
+
declare function GetOrganization(connectionConfig: ConnectionConfig, authHeader: ClientAuthInfo | UserAuthInfo, cb: (err: ServiceError$1 | null, response: GetOrganizationResponse | null) => void): undefined;
|
|
464
402
|
|
|
465
403
|
/**
|
|
466
404
|
* Retrieve all assistants with pagination and filtering criteria.
|
|
@@ -475,7 +413,7 @@ declare function GetOrganization(connectionConfig: ConnectionConfig, authHeader:
|
|
|
475
413
|
declare function GetAllAssistant(connectionConfig: ConnectionConfig, page: number, pageSize: number, criteria: {
|
|
476
414
|
key: string;
|
|
477
415
|
value: string;
|
|
478
|
-
}[], cb: (err: ServiceError$
|
|
416
|
+
}[], cb: (err: ServiceError$1 | null, response: GetAllAssistantResponse | null) => void, authHeader: ClientAuthInfo | UserAuthInfo): undefined;
|
|
479
417
|
/**
|
|
480
418
|
* Update the version of an assistant.
|
|
481
419
|
*
|
|
@@ -500,7 +438,7 @@ declare function UpdateAssistantVersion(connectionConfig: ConnectionConfig, req:
|
|
|
500
438
|
declare function GetAllAssistantProvider(connectionConfig: ConnectionConfig, assistantId: string, page: number, pageSize: number, criteria: {
|
|
501
439
|
key: string;
|
|
502
440
|
value: string;
|
|
503
|
-
}[], cb: (err: ServiceError$
|
|
441
|
+
}[], cb: (err: ServiceError$1 | null, response: GetAllAssistantProviderResponse | null) => void, authHeader: ClientAuthInfo | UserAuthInfo): undefined;
|
|
504
442
|
/**
|
|
505
443
|
* Retrieve details of a specific assistant.
|
|
506
444
|
*
|
|
@@ -536,7 +474,7 @@ declare function CreateAssistant(connectionConfig: ConnectionConfig, req: Create
|
|
|
536
474
|
* @param authHeader - Authentication headers for the request.
|
|
537
475
|
* @returns UnaryResponse - The gRPC response object.
|
|
538
476
|
*/
|
|
539
|
-
declare function CreateAssistantTag(connectionConfig: ConnectionConfig, assistantId: string, tags: string[], cb: (err: ServiceError$
|
|
477
|
+
declare function CreateAssistantTag(connectionConfig: ConnectionConfig, assistantId: string, tags: string[], cb: (err: ServiceError$1 | null, response: GetAssistantResponse | null) => void, authHeader: UserAuthInfo): undefined;
|
|
540
478
|
/**
|
|
541
479
|
* Update details of an existing assistant.
|
|
542
480
|
*
|
|
@@ -547,7 +485,7 @@ declare function CreateAssistantTag(connectionConfig: ConnectionConfig, assistan
|
|
|
547
485
|
* @param authHeader - Authentication headers for the request.
|
|
548
486
|
* @returns UnaryResponse - The gRPC response object.
|
|
549
487
|
*/
|
|
550
|
-
declare function UpdateAssistantDetail(connectionConfig: ConnectionConfig, assistantId: string, name: string, description: string, cb: (err: ServiceError$
|
|
488
|
+
declare function UpdateAssistantDetail(connectionConfig: ConnectionConfig, assistantId: string, name: string, description: string, cb: (err: ServiceError$1 | null, response: GetAssistantResponse | null) => void, authHeader: UserAuthInfo): undefined;
|
|
551
489
|
/**
|
|
552
490
|
*
|
|
553
491
|
* @param assistantId
|
|
@@ -562,7 +500,7 @@ declare function GetAssistantMessages(connectionConfig: ConnectionConfig, assist
|
|
|
562
500
|
key: string;
|
|
563
501
|
value: string;
|
|
564
502
|
logic: string;
|
|
565
|
-
}[], selectors: ("metadata" | "metric" | "stage" | "request" | "response")[], cb: (err: ServiceError$
|
|
503
|
+
}[], selectors: ("metadata" | "metric" | "stage" | "request" | "response")[], cb: (err: ServiceError$1 | null, response: GetAllAssistantMessageResponse | null) => void, authHeader: ClientAuthInfo | UserAuthInfo): undefined;
|
|
566
504
|
/**
|
|
567
505
|
*
|
|
568
506
|
* @param page
|
|
@@ -577,7 +515,7 @@ declare function GetMessages(connectionConfig: ConnectionConfig, page: number, p
|
|
|
577
515
|
key: string;
|
|
578
516
|
value: string;
|
|
579
517
|
logic: string;
|
|
580
|
-
}[], selectors: ("metadata" | "metric" | "stage" | "request" | "response")[], cb: (err: ServiceError$
|
|
518
|
+
}[], selectors: ("metadata" | "metric" | "stage" | "request" | "response")[], cb: (err: ServiceError$1 | null, response: GetAllMessageResponse | null) => void, authHeader: ClientAuthInfo | UserAuthInfo): undefined;
|
|
581
519
|
/**
|
|
582
520
|
*
|
|
583
521
|
* @param assistantId
|
|
@@ -591,7 +529,7 @@ declare function GetMessages(connectionConfig: ConnectionConfig, page: number, p
|
|
|
591
529
|
declare function GetAllAssistantConversationMessage(connectionConfig: ConnectionConfig, assistantId: string, assistantConversationId: string, page: number, pageSize: number, criteria: {
|
|
592
530
|
key: string;
|
|
593
531
|
value: string;
|
|
594
|
-
}[], authHeader: ClientAuthInfo | UserAuthInfo, cb: (err: ServiceError$
|
|
532
|
+
}[], authHeader: ClientAuthInfo | UserAuthInfo, cb: (err: ServiceError$1 | null, uvcr: GetAllConversationMessageResponse | null) => void): void;
|
|
595
533
|
/**
|
|
596
534
|
*
|
|
597
535
|
* @param assistantId
|
|
@@ -619,7 +557,7 @@ declare function GetAssistantWhatsappDeployment(clientCfg: ConnectionConfig, req
|
|
|
619
557
|
declare function GetAllAssistantWebhook(connectionConfig: ConnectionConfig, assistantId: string, page: number, pageSize: number, criteria: {
|
|
620
558
|
key: string;
|
|
621
559
|
value: string;
|
|
622
|
-
}[], cb: (err: ServiceError$
|
|
560
|
+
}[], cb: (err: ServiceError$1 | null, response: GetAllAssistantWebhookResponse | null) => void, authHeader: ClientAuthInfo | UserAuthInfo): undefined;
|
|
623
561
|
/**
|
|
624
562
|
*
|
|
625
563
|
* @param assistantId
|
|
@@ -643,7 +581,7 @@ declare function CreateWebhook(connectionConfig: ConnectionConfig, assistantId:
|
|
|
643
581
|
}[], parameters: {
|
|
644
582
|
key: string;
|
|
645
583
|
value: string;
|
|
646
|
-
}[], events: string[], retryOnStatus: string[], maxRetries: number, timeout: number, priority: number, cb: (err: ServiceError$
|
|
584
|
+
}[], events: string[], retryOnStatus: string[], maxRetries: number, timeout: number, priority: number, cb: (err: ServiceError$1 | null, response: GetAssistantWebhookResponse | null) => void, authHeader: UserAuthInfo, description?: string): undefined;
|
|
647
585
|
/**
|
|
648
586
|
*
|
|
649
587
|
* @param assistantId
|
|
@@ -666,7 +604,7 @@ declare function UpdateWebhook(connectionConfig: ConnectionConfig, assistantId:
|
|
|
666
604
|
}[], parameters: {
|
|
667
605
|
key: string;
|
|
668
606
|
value: string;
|
|
669
|
-
}[], events: string[], retryOnStatus: string[], maxRetries: number, timeout: number, priority: number, cb: (err: ServiceError$
|
|
607
|
+
}[], events: string[], retryOnStatus: string[], maxRetries: number, timeout: number, priority: number, cb: (err: ServiceError$1 | null, response: GetAssistantWebhookResponse | null) => void, authHeader: UserAuthInfo, description?: string): undefined;
|
|
670
608
|
/**
|
|
671
609
|
*
|
|
672
610
|
* @param assistantId
|
|
@@ -675,7 +613,7 @@ declare function UpdateWebhook(connectionConfig: ConnectionConfig, assistantId:
|
|
|
675
613
|
* @param authHeader
|
|
676
614
|
* @returns
|
|
677
615
|
*/
|
|
678
|
-
declare function GetAssistantWebhook(connectionConfig: ConnectionConfig, assistantId: string, webhookId: string, cb: (err: ServiceError$
|
|
616
|
+
declare function GetAssistantWebhook(connectionConfig: ConnectionConfig, assistantId: string, webhookId: string, cb: (err: ServiceError$1 | null, response: GetAssistantWebhookResponse | null) => void, authHeader: ClientAuthInfo | UserAuthInfo): undefined;
|
|
679
617
|
/**
|
|
680
618
|
*
|
|
681
619
|
* @param assistantId
|
|
@@ -684,7 +622,7 @@ declare function GetAssistantWebhook(connectionConfig: ConnectionConfig, assista
|
|
|
684
622
|
* @param authHeader
|
|
685
623
|
* @returns
|
|
686
624
|
*/
|
|
687
|
-
declare function DeleteAssistantWebhook(connectionConfig: ConnectionConfig, assistantId: string, webhookId: string, cb: (err: ServiceError$
|
|
625
|
+
declare function DeleteAssistantWebhook(connectionConfig: ConnectionConfig, assistantId: string, webhookId: string, cb: (err: ServiceError$1 | null, response: GetAssistantWebhookResponse | null) => void, authHeader: UserAuthInfo): undefined;
|
|
688
626
|
/**
|
|
689
627
|
*
|
|
690
628
|
* @param assistantId
|
|
@@ -701,7 +639,7 @@ declare function GetAssistantConversation(connectionConfig: ConnectionConfig, re
|
|
|
701
639
|
* @param authHeader
|
|
702
640
|
* @returns
|
|
703
641
|
*/
|
|
704
|
-
declare function DeleteAssistant(connectionConfig: ConnectionConfig, assistantId: string, cb: (err: ServiceError$
|
|
642
|
+
declare function DeleteAssistant(connectionConfig: ConnectionConfig, assistantId: string, cb: (err: ServiceError$1 | null, response: GetAssistantResponse | null) => void, authHeader: UserAuthInfo): undefined;
|
|
705
643
|
/**
|
|
706
644
|
*
|
|
707
645
|
* @param assistantId
|
|
@@ -715,7 +653,7 @@ declare function DeleteAssistant(connectionConfig: ConnectionConfig, assistantId
|
|
|
715
653
|
declare function GetAllAssistantAnalysis(connectionConfig: ConnectionConfig, assistantId: string, page: number, pageSize: number, criteria: {
|
|
716
654
|
key: string;
|
|
717
655
|
value: string;
|
|
718
|
-
}[], cb: (err: ServiceError$
|
|
656
|
+
}[], cb: (err: ServiceError$1 | null, response: GetAllAssistantAnalysisResponse | null) => void, authHeader: ClientAuthInfo | UserAuthInfo): undefined;
|
|
719
657
|
/**
|
|
720
658
|
*
|
|
721
659
|
* @param assistantId
|
|
@@ -732,7 +670,7 @@ declare function GetAllAssistantAnalysis(connectionConfig: ConnectionConfig, ass
|
|
|
732
670
|
declare function CreateAnalysis(connectionConfig: ConnectionConfig, assistantId: string, name: string, endpointid: string, endpointversion: string, executionpriority: number, parameters: {
|
|
733
671
|
key: string;
|
|
734
672
|
value: string;
|
|
735
|
-
}[], cb: (err: ServiceError$
|
|
673
|
+
}[], cb: (err: ServiceError$1 | null, response: GetAssistantAnalysisResponse | null) => void, authHeader: UserAuthInfo, description?: string): undefined;
|
|
736
674
|
/**
|
|
737
675
|
*
|
|
738
676
|
* @param assistantId
|
|
@@ -752,7 +690,7 @@ declare function CreateAnalysis(connectionConfig: ConnectionConfig, assistantId:
|
|
|
752
690
|
declare function UpdateAnalysis(connectionConfig: ConnectionConfig, assistantId: string, AnalysisId: string, name: string, endpointid: string, endpointversion: string, executionpriority: number, parameters: {
|
|
753
691
|
key: string;
|
|
754
692
|
value: string;
|
|
755
|
-
}[], cb: (err: ServiceError$
|
|
693
|
+
}[], cb: (err: ServiceError$1 | null, response: GetAssistantAnalysisResponse | null) => void, authHeader: UserAuthInfo, description?: string): undefined;
|
|
756
694
|
/**
|
|
757
695
|
*
|
|
758
696
|
* @param assistantId
|
|
@@ -761,7 +699,7 @@ declare function UpdateAnalysis(connectionConfig: ConnectionConfig, assistantId:
|
|
|
761
699
|
* @param authHeader
|
|
762
700
|
* @returns
|
|
763
701
|
*/
|
|
764
|
-
declare function GetAssistantAnalysis(connectionConfig: ConnectionConfig, assistantId: string, AnalysisId: string, cb: (err: ServiceError$
|
|
702
|
+
declare function GetAssistantAnalysis(connectionConfig: ConnectionConfig, assistantId: string, AnalysisId: string, cb: (err: ServiceError$1 | null, response: GetAssistantAnalysisResponse | null) => void, authHeader: ClientAuthInfo | UserAuthInfo): undefined;
|
|
765
703
|
/**
|
|
766
704
|
*
|
|
767
705
|
* @param assistantId
|
|
@@ -770,7 +708,7 @@ declare function GetAssistantAnalysis(connectionConfig: ConnectionConfig, assist
|
|
|
770
708
|
* @param authHeader
|
|
771
709
|
* @returns
|
|
772
710
|
*/
|
|
773
|
-
declare function DeleteAssistantAnalysis(connectionConfig: ConnectionConfig, assistantId: string, AnalysisId: string, cb: (err: ServiceError$
|
|
711
|
+
declare function DeleteAssistantAnalysis(connectionConfig: ConnectionConfig, assistantId: string, AnalysisId: string, cb: (err: ServiceError$1 | null, response: GetAssistantAnalysisResponse | null) => void, authHeader: UserAuthInfo): undefined;
|
|
774
712
|
/**
|
|
775
713
|
*
|
|
776
714
|
* @param page
|
|
@@ -784,7 +722,7 @@ declare function GetAllWebhookLog(connectionConfig: ConnectionConfig, projectId:
|
|
|
784
722
|
key: string;
|
|
785
723
|
value: string;
|
|
786
724
|
logic: string;
|
|
787
|
-
}[], cb: (err: ServiceError$
|
|
725
|
+
}[], cb: (err: ServiceError$1 | null, response: GetAllAssistantWebhookLogResponse | null) => void, authHeader: ClientAuthInfo | UserAuthInfo): undefined;
|
|
788
726
|
/**
|
|
789
727
|
*
|
|
790
728
|
* @param organizationId
|
|
@@ -794,7 +732,7 @@ declare function GetAllWebhookLog(connectionConfig: ConnectionConfig, projectId:
|
|
|
794
732
|
* @param authHeader
|
|
795
733
|
* @returns
|
|
796
734
|
*/
|
|
797
|
-
declare function GetWebhookLog(connectionConfig: ConnectionConfig, projectId: string, webhookLogId: string, cb: (err: ServiceError$
|
|
735
|
+
declare function GetWebhookLog(connectionConfig: ConnectionConfig, projectId: string, webhookLogId: string, cb: (err: ServiceError$1 | null, response: GetAssistantWebhookLogResponse | null) => void, authHeader: ClientAuthInfo | UserAuthInfo): undefined;
|
|
798
736
|
/**
|
|
799
737
|
*
|
|
800
738
|
* @param assistantId
|
|
@@ -808,7 +746,7 @@ declare function GetWebhookLog(connectionConfig: ConnectionConfig, projectId: st
|
|
|
808
746
|
declare function GetAllAssistantTool(connectionConfig: ConnectionConfig, assistantId: string, page: number, pageSize: number, criteria: {
|
|
809
747
|
key: string;
|
|
810
748
|
value: string;
|
|
811
|
-
}[], cb: (err: ServiceError$
|
|
749
|
+
}[], cb: (err: ServiceError$1 | null, response: GetAllAssistantToolResponse | null) => void, authHeader: ClientAuthInfo | UserAuthInfo): undefined;
|
|
812
750
|
/**
|
|
813
751
|
*
|
|
814
752
|
* @param assistantId
|
|
@@ -822,7 +760,7 @@ declare function GetAllAssistantTool(connectionConfig: ConnectionConfig, assista
|
|
|
822
760
|
* @param description
|
|
823
761
|
* @returns
|
|
824
762
|
*/
|
|
825
|
-
declare function CreateAssistantTool(connectionConfig: ConnectionConfig, assistantId: string, name: string, description: string, fields: {}, executionMethod: string, executionOptions: Metadata[], cb: (err: ServiceError$
|
|
763
|
+
declare function CreateAssistantTool(connectionConfig: ConnectionConfig, assistantId: string, name: string, description: string, fields: {}, executionMethod: string, executionOptions: Metadata[], cb: (err: ServiceError$1 | null, response: GetAssistantToolResponse | null) => void, authHeader: UserAuthInfo): undefined;
|
|
826
764
|
/**
|
|
827
765
|
*
|
|
828
766
|
* @param assistantId
|
|
@@ -839,7 +777,7 @@ declare function CreateAssistantTool(connectionConfig: ConnectionConfig, assista
|
|
|
839
777
|
* @param description
|
|
840
778
|
* @returns
|
|
841
779
|
*/
|
|
842
|
-
declare function UpdateAssistantTool(connectionConfig: ConnectionConfig, assistantId: string, assistantToolId: string, name: string, description: string, fields: {}, executionMethod: string, executionOptions: Metadata[], cb: (err: ServiceError$
|
|
780
|
+
declare function UpdateAssistantTool(connectionConfig: ConnectionConfig, assistantId: string, assistantToolId: string, name: string, description: string, fields: {}, executionMethod: string, executionOptions: Metadata[], cb: (err: ServiceError$1 | null, response: GetAssistantToolResponse | null) => void, authHeader: UserAuthInfo): undefined;
|
|
843
781
|
/**
|
|
844
782
|
*
|
|
845
783
|
* @param assistantId
|
|
@@ -848,7 +786,7 @@ declare function UpdateAssistantTool(connectionConfig: ConnectionConfig, assista
|
|
|
848
786
|
* @param authHeader
|
|
849
787
|
* @returns
|
|
850
788
|
*/
|
|
851
|
-
declare function GetAssistantTool(connectionConfig: ConnectionConfig, assistantId: string, ToolId: string, cb: (err: ServiceError$
|
|
789
|
+
declare function GetAssistantTool(connectionConfig: ConnectionConfig, assistantId: string, ToolId: string, cb: (err: ServiceError$1 | null, response: GetAssistantToolResponse | null) => void, authHeader: ClientAuthInfo | UserAuthInfo): undefined;
|
|
852
790
|
/**
|
|
853
791
|
*
|
|
854
792
|
* @param assistantId
|
|
@@ -857,7 +795,7 @@ declare function GetAssistantTool(connectionConfig: ConnectionConfig, assistantI
|
|
|
857
795
|
* @param authHeader
|
|
858
796
|
* @returns
|
|
859
797
|
*/
|
|
860
|
-
declare function DeleteAssistantTool(connectionConfig: ConnectionConfig, assistantId: string, ToolId: string, cb: (err: ServiceError$
|
|
798
|
+
declare function DeleteAssistantTool(connectionConfig: ConnectionConfig, assistantId: string, ToolId: string, cb: (err: ServiceError$1 | null, response: GetAssistantToolResponse | null) => void, authHeader: UserAuthInfo): undefined;
|
|
861
799
|
/**
|
|
862
800
|
*
|
|
863
801
|
* @param assistantId
|
|
@@ -871,7 +809,7 @@ declare function DeleteAssistantTool(connectionConfig: ConnectionConfig, assista
|
|
|
871
809
|
declare function GetAllAssistantKnowledge(connectionConfig: ConnectionConfig, assistantId: string, page: number, pageSize: number, criteria: {
|
|
872
810
|
key: string;
|
|
873
811
|
value: string;
|
|
874
|
-
}[], cb: (err: ServiceError$
|
|
812
|
+
}[], cb: (err: ServiceError$1 | null, response: GetAllAssistantKnowledgeResponse | null) => void, authHeader: ClientAuthInfo | UserAuthInfo): undefined;
|
|
875
813
|
/**
|
|
876
814
|
*
|
|
877
815
|
* @param assistantId
|
|
@@ -893,7 +831,7 @@ declare function CreateAssistantKnowledge(connectionConfig: ConnectionConfig, as
|
|
|
893
831
|
rerankerModelOptions?: Metadata[];
|
|
894
832
|
topK: number;
|
|
895
833
|
scoreThreshold: number;
|
|
896
|
-
}, cb: (err: ServiceError$
|
|
834
|
+
}, cb: (err: ServiceError$1 | null, response: GetAssistantKnowledgeResponse | null) => void, authHeader: UserAuthInfo): undefined;
|
|
897
835
|
/**
|
|
898
836
|
*
|
|
899
837
|
* @param assistantId
|
|
@@ -918,7 +856,7 @@ declare function UpdateAssistantKnowledge(connectionConfig: ConnectionConfig, id
|
|
|
918
856
|
rerankerModelOptions?: Metadata[];
|
|
919
857
|
topK: number;
|
|
920
858
|
scoreThreshold: number;
|
|
921
|
-
}, cb: (err: ServiceError$
|
|
859
|
+
}, cb: (err: ServiceError$1 | null, response: GetAssistantKnowledgeResponse | null) => void, authHeader: UserAuthInfo): undefined;
|
|
922
860
|
/**
|
|
923
861
|
*
|
|
924
862
|
* @param assistantId
|
|
@@ -927,7 +865,7 @@ declare function UpdateAssistantKnowledge(connectionConfig: ConnectionConfig, id
|
|
|
927
865
|
* @param authHeader
|
|
928
866
|
* @returns
|
|
929
867
|
*/
|
|
930
|
-
declare function GetAssistantKnowledge(connectionConfig: ConnectionConfig, assistantId: string, ToolId: string, cb: (err: ServiceError$
|
|
868
|
+
declare function GetAssistantKnowledge(connectionConfig: ConnectionConfig, assistantId: string, ToolId: string, cb: (err: ServiceError$1 | null, response: GetAssistantKnowledgeResponse | null) => void, authHeader: ClientAuthInfo | UserAuthInfo): undefined;
|
|
931
869
|
/**
|
|
932
870
|
*
|
|
933
871
|
* @param assistantId
|
|
@@ -936,7 +874,7 @@ declare function GetAssistantKnowledge(connectionConfig: ConnectionConfig, assis
|
|
|
936
874
|
* @param authHeader
|
|
937
875
|
* @returns
|
|
938
876
|
*/
|
|
939
|
-
declare function DeleteAssistantKnowledge(connectionConfig: ConnectionConfig, assistantId: string, knowledgeId: string, cb: (err: ServiceError$
|
|
877
|
+
declare function DeleteAssistantKnowledge(connectionConfig: ConnectionConfig, assistantId: string, knowledgeId: string, cb: (err: ServiceError$1 | null, response: GetAssistantKnowledgeResponse | null) => void, authHeader: UserAuthInfo): undefined;
|
|
940
878
|
/**
|
|
941
879
|
*
|
|
942
880
|
* @param clientCfg
|
|
@@ -967,7 +905,7 @@ declare function GetActivities(connectionConfig: ConnectionConfig, projectId: st
|
|
|
967
905
|
key: string;
|
|
968
906
|
value: string;
|
|
969
907
|
logic: string;
|
|
970
|
-
}[], cb: (err: ServiceError$
|
|
908
|
+
}[], cb: (err: ServiceError$1 | null, response: GetAllAuditLogResponse | null) => void, authHeader: ClientAuthInfo | UserAuthInfo): undefined;
|
|
971
909
|
/**
|
|
972
910
|
* Retrieve a specific audit log entry by its ID.
|
|
973
911
|
*
|
|
@@ -977,7 +915,7 @@ declare function GetActivities(connectionConfig: ConnectionConfig, projectId: st
|
|
|
977
915
|
* @param authHeader - Authentication headers for the request.
|
|
978
916
|
* @returns UnaryResponse - The gRPC response object.
|
|
979
917
|
*/
|
|
980
|
-
declare function GetActivity(connectionConfig: ConnectionConfig, projectId: string, auditId: string, cb: (err: ServiceError$
|
|
918
|
+
declare function GetActivity(connectionConfig: ConnectionConfig, projectId: string, auditId: string, cb: (err: ServiceError$1 | null, response: GetAuditLogResponse | null) => void, authHeader: ClientAuthInfo | UserAuthInfo): undefined;
|
|
981
919
|
|
|
982
920
|
/**
|
|
983
921
|
* Retrieve all endpoints based on pagination and filtering criteria.
|
|
@@ -993,7 +931,7 @@ declare function GetAllEndpoint(config: ConnectionConfig, page: number, pageSize
|
|
|
993
931
|
key: string;
|
|
994
932
|
value: string;
|
|
995
933
|
logic: string;
|
|
996
|
-
}[], cb: (err: ServiceError$
|
|
934
|
+
}[], cb: (err: ServiceError$1 | null, response: GetAllEndpointResponse | null) => void, authHeader: ClientAuthInfo | UserAuthInfo): undefined;
|
|
997
935
|
/**
|
|
998
936
|
* Update the version of an endpoint.
|
|
999
937
|
*
|
|
@@ -1003,7 +941,7 @@ declare function GetAllEndpoint(config: ConnectionConfig, page: number, pageSize
|
|
|
1003
941
|
* @param cb - Callback function to handle the response.
|
|
1004
942
|
|
|
1005
943
|
*/
|
|
1006
|
-
declare function UpdateEndpointVersion(config: ConnectionConfig, endpointId: string, endpointProviderModelId: string, authHeader: ClientAuthInfo | UserAuthInfo, cb: (err: ServiceError$
|
|
944
|
+
declare function UpdateEndpointVersion(config: ConnectionConfig, endpointId: string, endpointProviderModelId: string, authHeader: ClientAuthInfo | UserAuthInfo, cb: (err: ServiceError$1 | null, response: UpdateEndpointVersionResponse | null) => void): undefined;
|
|
1007
945
|
/**
|
|
1008
946
|
* Retrieve all endpoint provider models for a specific endpoint.
|
|
1009
947
|
*
|
|
@@ -1018,7 +956,7 @@ declare function UpdateEndpointVersion(config: ConnectionConfig, endpointId: str
|
|
|
1018
956
|
declare function GetAllEndpointProviderModel(config: ConnectionConfig, endpointId: string, page: number, pageSize: number, criteria: {
|
|
1019
957
|
key: string;
|
|
1020
958
|
value: string;
|
|
1021
|
-
}[], cb: (err: ServiceError$
|
|
959
|
+
}[], cb: (err: ServiceError$1 | null, response: GetAllEndpointProviderModelResponse | null) => void, authHeader: ClientAuthInfo | UserAuthInfo): undefined;
|
|
1022
960
|
/**
|
|
1023
961
|
* Retrieve details of a specific endpoint.
|
|
1024
962
|
*
|
|
@@ -1028,7 +966,7 @@ declare function GetAllEndpointProviderModel(config: ConnectionConfig, endpointI
|
|
|
1028
966
|
* @param cb - Callback function to handle the response.
|
|
1029
967
|
|
|
1030
968
|
*/
|
|
1031
|
-
declare function GetEndpoint(config: ConnectionConfig, endpointId: string, endpointProviderModelId: string | null, authHeader: ClientAuthInfo | UserAuthInfo, cb: (err: ServiceError$
|
|
969
|
+
declare function GetEndpoint(config: ConnectionConfig, endpointId: string, endpointProviderModelId: string | null, authHeader: ClientAuthInfo | UserAuthInfo, cb: (err: ServiceError$1 | null, response: GetEndpointResponse | null) => void): undefined;
|
|
1032
970
|
/**
|
|
1033
971
|
* Create a new endpoint provider model.
|
|
1034
972
|
*
|
|
@@ -1038,7 +976,7 @@ declare function GetEndpoint(config: ConnectionConfig, endpointId: string, endpo
|
|
|
1038
976
|
* @param cb - Callback function to handle the response.
|
|
1039
977
|
|
|
1040
978
|
*/
|
|
1041
|
-
declare function CreateEndpointProviderModel(config: ConnectionConfig, endpointId: string, endpointProviderModel: EndpointProviderModelAttribute, authHeader: ClientAuthInfo | UserAuthInfo, cb: (err: ServiceError$
|
|
979
|
+
declare function CreateEndpointProviderModel(config: ConnectionConfig, endpointId: string, endpointProviderModel: EndpointProviderModelAttribute, authHeader: ClientAuthInfo | UserAuthInfo, cb: (err: ServiceError$1 | null, response: CreateEndpointProviderModelResponse | null) => void): undefined;
|
|
1042
980
|
/**
|
|
1043
981
|
* Create a new endpoint with specified configurations.
|
|
1044
982
|
*
|
|
@@ -1051,7 +989,7 @@ declare function CreateEndpointProviderModel(config: ConnectionConfig, endpointI
|
|
|
1051
989
|
* @param cb - Callback function to handle the response.
|
|
1052
990
|
|
|
1053
991
|
*/
|
|
1054
|
-
declare function CreateEndpoint(config: ConnectionConfig, endpointProviderModel: EndpointProviderModelAttribute, endpointAttributes: EndpointAttribute, tags: string[], authHeader: ClientAuthInfo | UserAuthInfo, cb: (err: ServiceError$
|
|
992
|
+
declare function CreateEndpoint(config: ConnectionConfig, endpointProviderModel: EndpointProviderModelAttribute, endpointAttributes: EndpointAttribute, tags: string[], authHeader: ClientAuthInfo | UserAuthInfo, cb: (err: ServiceError$1 | null, response: CreateEndpointResponse | null) => void, retryConfig?: EndpointRetryConfiguration, cacheConfig?: EndpointCacheConfiguration): undefined;
|
|
1055
993
|
/**
|
|
1056
994
|
* Add tags to an existing endpoint.
|
|
1057
995
|
*
|
|
@@ -1061,7 +999,7 @@ declare function CreateEndpoint(config: ConnectionConfig, endpointProviderModel:
|
|
|
1061
999
|
* @param cb - Callback function to handle the response.
|
|
1062
1000
|
|
|
1063
1001
|
*/
|
|
1064
|
-
declare function CreateEndpointTag(config: ConnectionConfig, endpointId: string, tags: string[], authHeader: ClientAuthInfo | UserAuthInfo, cb: (err: ServiceError$
|
|
1002
|
+
declare function CreateEndpointTag(config: ConnectionConfig, endpointId: string, tags: string[], authHeader: ClientAuthInfo | UserAuthInfo, cb: (err: ServiceError$1 | null, response: GetEndpointResponse | null) => void): undefined;
|
|
1065
1003
|
/**
|
|
1066
1004
|
* Update the details of an endpoint.
|
|
1067
1005
|
*
|
|
@@ -1072,7 +1010,7 @@ declare function CreateEndpointTag(config: ConnectionConfig, endpointId: string,
|
|
|
1072
1010
|
* @param cb - Callback function to handle the response.
|
|
1073
1011
|
|
|
1074
1012
|
*/
|
|
1075
|
-
declare function UpdateEndpointDetail(config: ConnectionConfig, endpointId: string, name: string, description: string, authHeader: ClientAuthInfo | UserAuthInfo, cb: (err: ServiceError$
|
|
1013
|
+
declare function UpdateEndpointDetail(config: ConnectionConfig, endpointId: string, name: string, description: string, authHeader: ClientAuthInfo | UserAuthInfo, cb: (err: ServiceError$1 | null, response: GetEndpointResponse | null) => void): undefined;
|
|
1076
1014
|
/**
|
|
1077
1015
|
* Create a retry configuration for an endpoint.
|
|
1078
1016
|
*
|
|
@@ -1086,7 +1024,7 @@ declare function UpdateEndpointDetail(config: ConnectionConfig, endpointId: stri
|
|
|
1086
1024
|
* @param cb - Callback function to handle the response.
|
|
1087
1025
|
|
|
1088
1026
|
*/
|
|
1089
|
-
declare function CreateEndpointRetryConfiguration(config: ConnectionConfig, endpointId: string, retryType: string, maxAttempts: string, delaySeconds: string, exponentialBackoff: boolean, retryables: string[], authHeader: ClientAuthInfo | UserAuthInfo, cb: (err: ServiceError$
|
|
1027
|
+
declare function CreateEndpointRetryConfiguration(config: ConnectionConfig, endpointId: string, retryType: string, maxAttempts: string, delaySeconds: string, exponentialBackoff: boolean, retryables: string[], authHeader: ClientAuthInfo | UserAuthInfo, cb: (err: ServiceError$1 | null, response: CreateEndpointRetryConfigurationResponse | null) => void): undefined;
|
|
1090
1028
|
/**
|
|
1091
1029
|
* Create a cache configuration for an endpoint.
|
|
1092
1030
|
*
|
|
@@ -1098,7 +1036,7 @@ declare function CreateEndpointRetryConfiguration(config: ConnectionConfig, endp
|
|
|
1098
1036
|
* @param cb - Callback function to handle the response.
|
|
1099
1037
|
|
|
1100
1038
|
*/
|
|
1101
|
-
declare function CreateEndpointCacheConfiguration(config: ConnectionConfig, endpointId: string, cacheType: string, expiryInterval: string, matchThreshold: number, authHeader: ClientAuthInfo | UserAuthInfo, cb: (err: ServiceError$
|
|
1039
|
+
declare function CreateEndpointCacheConfiguration(config: ConnectionConfig, endpointId: string, cacheType: string, expiryInterval: string, matchThreshold: number, authHeader: ClientAuthInfo | UserAuthInfo, cb: (err: ServiceError$1 | null, response: CreateEndpointCacheConfigurationResponse | null) => void): undefined;
|
|
1102
1040
|
/**
|
|
1103
1041
|
*
|
|
1104
1042
|
* @param page
|
|
@@ -1112,7 +1050,7 @@ declare function GetAllEndpointLog(config: ConnectionConfig, endpointId: string,
|
|
|
1112
1050
|
key: string;
|
|
1113
1051
|
value: string;
|
|
1114
1052
|
logic: string;
|
|
1115
|
-
}[], cb: (err: ServiceError$
|
|
1053
|
+
}[], cb: (err: ServiceError$1 | null, response: GetAllEndpointLogResponse | null) => void, authHeader: ClientAuthInfo | UserAuthInfo): undefined;
|
|
1116
1054
|
/**
|
|
1117
1055
|
*
|
|
1118
1056
|
* @param organizationId
|
|
@@ -1122,7 +1060,7 @@ declare function GetAllEndpointLog(config: ConnectionConfig, endpointId: string,
|
|
|
1122
1060
|
* @param authHeader
|
|
1123
1061
|
* @returns
|
|
1124
1062
|
*/
|
|
1125
|
-
declare function GetEndpointLog(config: ConnectionConfig, endpointId: string, logId: string, cb: (err: ServiceError$
|
|
1063
|
+
declare function GetEndpointLog(config: ConnectionConfig, endpointId: string, logId: string, cb: (err: ServiceError$1 | null, response: GetEndpointLogResponse | null) => void, authHeader: ClientAuthInfo | UserAuthInfo): undefined;
|
|
1126
1064
|
|
|
1127
1065
|
/**
|
|
1128
1066
|
*
|
|
@@ -1140,7 +1078,7 @@ declare function CreateProviderKey(connectionConfig: ConnectionConfig, req: Crea
|
|
|
1140
1078
|
* @param keyName
|
|
1141
1079
|
* @param cb
|
|
1142
1080
|
*/
|
|
1143
|
-
declare function DeleteProviderKey(connectionConfig: ConnectionConfig, providerKeyId: string, cb: (err: ServiceError$
|
|
1081
|
+
declare function DeleteProviderKey(connectionConfig: ConnectionConfig, providerKeyId: string, cb: (err: ServiceError$1 | null, dpr: GetCredentialResponse | null) => void, authHeader: ClientAuthInfo | UserAuthInfo): void;
|
|
1144
1082
|
/**
|
|
1145
1083
|
*
|
|
1146
1084
|
* @param cb
|
|
@@ -1149,17 +1087,7 @@ declare function GetAllOrganizationCredential(connectionConfig: ConnectionConfig
|
|
|
1149
1087
|
key: string;
|
|
1150
1088
|
value: string;
|
|
1151
1089
|
logic: string;
|
|
1152
|
-
}[], cb: (err: ServiceError$
|
|
1153
|
-
/**
|
|
1154
|
-
*
|
|
1155
|
-
* @param toolId
|
|
1156
|
-
* @param toolName
|
|
1157
|
-
* @param credential
|
|
1158
|
-
* @param name
|
|
1159
|
-
* @param cb
|
|
1160
|
-
* @param authHeader
|
|
1161
|
-
*/
|
|
1162
|
-
declare function CreateToolCredential(connectionConfig: ConnectionConfig, toolId: string, toolName: string, credential: {}, name: string, cb: (err: ServiceError$2 | null, cpkr: GetCredentialResponse | null) => void, authHeader: ClientAuthInfo | UserAuthInfo): void;
|
|
1090
|
+
}[], cb: (err: ServiceError$1 | null, pcs: GetAllOrganizationCredentialResponse | null) => void, authHeader: ClientAuthInfo | UserAuthInfo): void;
|
|
1163
1091
|
|
|
1164
1092
|
/**
|
|
1165
1093
|
*
|
|
@@ -1199,7 +1127,7 @@ declare function CreateConversationMetric(connectionConfig: ConnectionConfig, re
|
|
|
1199
1127
|
declare function GetAllAssistantConversation(connectionConfig: ConnectionConfig, assistantId: string, page: number, pageSize: number, criteria: {
|
|
1200
1128
|
key: string;
|
|
1201
1129
|
value: string;
|
|
1202
|
-
}[], cb: (err: ServiceError$
|
|
1130
|
+
}[], cb: (err: ServiceError$1 | null, uvcr: GetAllAssistantConversationResponse | null) => void, authHeader: ClientAuthInfo | UserAuthInfo): void;
|
|
1203
1131
|
|
|
1204
1132
|
declare enum RapidaDocumentSource {
|
|
1205
1133
|
MANUAL = "manual",
|
|
@@ -1216,12 +1144,6 @@ declare enum RapidaDocumentType {
|
|
|
1216
1144
|
STRUCTURE_QNA = "structure.qna"
|
|
1217
1145
|
}
|
|
1218
1146
|
|
|
1219
|
-
interface ProviderConfig {
|
|
1220
|
-
providerId: string;
|
|
1221
|
-
provider: string;
|
|
1222
|
-
parameters: Metadata[];
|
|
1223
|
-
}
|
|
1224
|
-
|
|
1225
1147
|
/**
|
|
1226
1148
|
* Creates a new knowledge entry.
|
|
1227
1149
|
*
|
|
@@ -1234,7 +1156,7 @@ interface ProviderConfig {
|
|
|
1234
1156
|
* @param cb - Callback function to handle the response.
|
|
1235
1157
|
* @returns UnaryResponse - The gRPC response object.
|
|
1236
1158
|
*/
|
|
1237
|
-
declare function CreateKnowledge(
|
|
1159
|
+
declare function CreateKnowledge(connectionConfig: ConnectionConfig, req: CreateKnowledgeRequest, authHeader?: UserAuthInfo | ClientAuthInfo): Promise<CreateKnowledgeResponse>;
|
|
1238
1160
|
/**
|
|
1239
1161
|
* Retrieves a knowledge base by ID.
|
|
1240
1162
|
*
|
|
@@ -1243,7 +1165,7 @@ declare function CreateKnowledge(config: ConnectionConfig, provider: ProviderCon
|
|
|
1243
1165
|
* @param authHeader - Authentication headers for the request.
|
|
1244
1166
|
* @returns UnaryResponse - The gRPC response object.
|
|
1245
1167
|
*/
|
|
1246
|
-
declare function GetKnowledgeBase(config: ConnectionConfig, knowledgeBaseId: string, cb: (err: ServiceError$
|
|
1168
|
+
declare function GetKnowledgeBase(config: ConnectionConfig, knowledgeBaseId: string, cb: (err: ServiceError$1 | null, response: GetKnowledgeResponse | null) => void, authHeader: ClientAuthInfo | UserAuthInfo): undefined;
|
|
1247
1169
|
/**
|
|
1248
1170
|
* Retrieves all knowledge bases with pagination and filtering.
|
|
1249
1171
|
*
|
|
@@ -1258,7 +1180,7 @@ declare function GetAllKnowledgeBases(config: ConnectionConfig, page: number, pa
|
|
|
1258
1180
|
key: string;
|
|
1259
1181
|
value: string;
|
|
1260
1182
|
logic: string;
|
|
1261
|
-
}[], cb: (err: ServiceError$
|
|
1183
|
+
}[], cb: (err: ServiceError$1 | null, response: GetAllKnowledgeResponse | null) => void, authHeader: ClientAuthInfo | UserAuthInfo): undefined;
|
|
1262
1184
|
/**
|
|
1263
1185
|
* Creates a new knowledge document.
|
|
1264
1186
|
*
|
|
@@ -1274,7 +1196,7 @@ declare function GetAllKnowledgeBases(config: ConnectionConfig, page: number, pa
|
|
|
1274
1196
|
* @param authHeader - Authentication headers for the request.
|
|
1275
1197
|
* @returns UnaryResponse - The gRPC response object.
|
|
1276
1198
|
*/
|
|
1277
|
-
declare function CreateKnowledgeDocument(config: ConnectionConfig, knowledgeId: string, documentSource: RapidaDocumentSource, datasource: string, documentType: RapidaDocumentType, preProcessor: RapidaDocumentPreProcessing, contents: Array<Content>, separator: string, maxchunksize: number, chunkoverlap: number, cb: (err: ServiceError$
|
|
1199
|
+
declare function CreateKnowledgeDocument(config: ConnectionConfig, knowledgeId: string, documentSource: RapidaDocumentSource, datasource: string, documentType: RapidaDocumentType, preProcessor: RapidaDocumentPreProcessing, contents: Array<Content>, separator: string, maxchunksize: number, chunkoverlap: number, cb: (err: ServiceError$1 | null, response: CreateKnowledgeDocumentResponse | null) => void, authHeader: ClientAuthInfo | UserAuthInfo): undefined;
|
|
1278
1200
|
/**
|
|
1279
1201
|
* Retrieves all documents associated with a knowledge base.
|
|
1280
1202
|
*
|
|
@@ -1289,7 +1211,7 @@ declare function CreateKnowledgeDocument(config: ConnectionConfig, knowledgeId:
|
|
|
1289
1211
|
declare function GetAllKnowledgeDocument(config: ConnectionConfig, knowledgeId: string, page: number, pageSize: number, criteria: {
|
|
1290
1212
|
key: string;
|
|
1291
1213
|
value: string;
|
|
1292
|
-
}[], cb: (err: ServiceError$
|
|
1214
|
+
}[], cb: (err: ServiceError$1 | null, response: GetAllKnowledgeDocumentResponse | null) => void, authHeader: ClientAuthInfo | UserAuthInfo): undefined;
|
|
1293
1215
|
/**
|
|
1294
1216
|
* Retrieves all segments of documents associated with a knowledge base.
|
|
1295
1217
|
*
|
|
@@ -1304,7 +1226,7 @@ declare function GetAllKnowledgeDocument(config: ConnectionConfig, knowledgeId:
|
|
|
1304
1226
|
declare function GetAllKnowledgeDocumentSegment(config: ConnectionConfig, knowledgeId: string, page: number, pageSize: number, criteria: {
|
|
1305
1227
|
key: string;
|
|
1306
1228
|
value: string;
|
|
1307
|
-
}[], cb: (err: ServiceError$
|
|
1229
|
+
}[], cb: (err: ServiceError$1 | null, response: GetAllKnowledgeDocumentSegmentResponse | null) => void, authHeader: ClientAuthInfo | UserAuthInfo): undefined;
|
|
1308
1230
|
/**
|
|
1309
1231
|
* Adds tags to a knowledge base.
|
|
1310
1232
|
*
|
|
@@ -1314,7 +1236,7 @@ declare function GetAllKnowledgeDocumentSegment(config: ConnectionConfig, knowle
|
|
|
1314
1236
|
* @param authHeader - Authentication headers for the request.
|
|
1315
1237
|
* @returns UnaryResponse - The gRPC response object.
|
|
1316
1238
|
*/
|
|
1317
|
-
declare function CreateKnowledgeTag(config: ConnectionConfig, knowledgeId: string, tags: string[], cb: (err: ServiceError$
|
|
1239
|
+
declare function CreateKnowledgeTag(config: ConnectionConfig, knowledgeId: string, tags: string[], cb: (err: ServiceError$1 | null, response: GetKnowledgeResponse | null) => void, authHeader: ClientAuthInfo | UserAuthInfo): undefined;
|
|
1318
1240
|
/**
|
|
1319
1241
|
* Updates details of an existing knowledge base.
|
|
1320
1242
|
*
|
|
@@ -1325,7 +1247,7 @@ declare function CreateKnowledgeTag(config: ConnectionConfig, knowledgeId: strin
|
|
|
1325
1247
|
* @param authHeader - Authentication headers for the request.
|
|
1326
1248
|
* @returns UnaryResponse - The gRPC response object.
|
|
1327
1249
|
*/
|
|
1328
|
-
declare function UpdateKnowledgeDetail(config: ConnectionConfig, knowledgeId: string, name: string, description: string, cb: (err: ServiceError$
|
|
1250
|
+
declare function UpdateKnowledgeDetail(config: ConnectionConfig, knowledgeId: string, name: string, description: string, cb: (err: ServiceError$1 | null, response: GetKnowledgeResponse | null) => void, authHeader: ClientAuthInfo | UserAuthInfo): undefined;
|
|
1329
1251
|
/**
|
|
1330
1252
|
*
|
|
1331
1253
|
* @param documentId
|
|
@@ -1335,7 +1257,7 @@ declare function UpdateKnowledgeDetail(config: ConnectionConfig, knowledgeId: st
|
|
|
1335
1257
|
* @param authHeader
|
|
1336
1258
|
* @returns
|
|
1337
1259
|
*/
|
|
1338
|
-
declare function DeleteKnowledgeDocumentSegment(config: ConnectionConfig, documentId: string, index: string, reason: string, cb: (err: ServiceError$
|
|
1260
|
+
declare function DeleteKnowledgeDocumentSegment(config: ConnectionConfig, documentId: string, index: string, reason: string, cb: (err: ServiceError$1 | null, response: BaseResponse | null) => void, authHeader: ClientAuthInfo | UserAuthInfo): undefined;
|
|
1339
1261
|
/**
|
|
1340
1262
|
*
|
|
1341
1263
|
* @param documentId
|
|
@@ -1354,7 +1276,7 @@ declare function DeleteKnowledgeDocumentSegment(config: ConnectionConfig, docume
|
|
|
1354
1276
|
* @param authHeader
|
|
1355
1277
|
* @returns
|
|
1356
1278
|
*/
|
|
1357
|
-
declare function UpdateKnowledgeDocumentSegment(config: ConnectionConfig, documentId: string, index: string, organizationsList: string[], datesList: string[], productsList: string[], eventsList: string[], peopleList: string[], timesList: string[], quantitiesList: string[], locationsList: string[], industriesList: string[], documentName: string, cb: (err: ServiceError$
|
|
1279
|
+
declare function UpdateKnowledgeDocumentSegment(config: ConnectionConfig, documentId: string, index: string, organizationsList: string[], datesList: string[], productsList: string[], eventsList: string[], peopleList: string[], timesList: string[], quantitiesList: string[], locationsList: string[], industriesList: string[], documentName: string, cb: (err: ServiceError$1 | null, response: BaseResponse | null) => void, authHeader: ClientAuthInfo | UserAuthInfo): undefined;
|
|
1358
1280
|
/**
|
|
1359
1281
|
*
|
|
1360
1282
|
* @param clientCfg
|
|
@@ -1380,7 +1302,7 @@ declare function GetAllKnowledgeLog(clientCfg: ConnectionConfig, request: GetAll
|
|
|
1380
1302
|
* @param authHeader - Authentication headers for the request.
|
|
1381
1303
|
* @returns UnaryResponse - The gRPC response object.
|
|
1382
1304
|
*/
|
|
1383
|
-
declare function AddUsersToProject(connectionConfig: ConnectionConfig, email: string, role: string, projectIds: string[], cb: (err: ServiceError$
|
|
1305
|
+
declare function AddUsersToProject(connectionConfig: ConnectionConfig, email: string, role: string, projectIds: string[], cb: (err: ServiceError$1 | null, response: AddUsersToProjectResponse | null) => void, authHeader: ClientAuthInfo | UserAuthInfo): undefined;
|
|
1384
1306
|
/**
|
|
1385
1307
|
* Creates a new project with the specified details.
|
|
1386
1308
|
*
|
|
@@ -1390,7 +1312,7 @@ declare function AddUsersToProject(connectionConfig: ConnectionConfig, email: st
|
|
|
1390
1312
|
* @param cb - Callback function to handle the response.
|
|
1391
1313
|
* @returns UnaryResponse - The gRPC response object.
|
|
1392
1314
|
*/
|
|
1393
|
-
declare function CreateProject(connectionConfig: ConnectionConfig, projectName: string, projectDescription: string, authHeader: ClientAuthInfo | UserAuthInfo, cb: (err: ServiceError$
|
|
1315
|
+
declare function CreateProject(connectionConfig: ConnectionConfig, projectName: string, projectDescription: string, authHeader: ClientAuthInfo | UserAuthInfo, cb: (err: ServiceError$1 | null, response: CreateProjectResponse | null) => void): undefined;
|
|
1394
1316
|
/**
|
|
1395
1317
|
* Updates an existing project with the given details.
|
|
1396
1318
|
*
|
|
@@ -1401,7 +1323,7 @@ declare function CreateProject(connectionConfig: ConnectionConfig, projectName:
|
|
|
1401
1323
|
* @param cb - Callback function to handle the response.
|
|
1402
1324
|
* @returns UnaryResponse - The gRPC response object.
|
|
1403
1325
|
*/
|
|
1404
|
-
declare function UpdateProject(connectionConfig: ConnectionConfig, projectId: string, cb: (err: ServiceError$
|
|
1326
|
+
declare function UpdateProject(connectionConfig: ConnectionConfig, projectId: string, cb: (err: ServiceError$1 | null, response: UpdateProjectResponse | null) => void, authHeader: ClientAuthInfo | UserAuthInfo, projectName?: string, projectDescription?: string): undefined;
|
|
1405
1327
|
/**
|
|
1406
1328
|
* Retrieves a paginated list of all projects based on specified criteria.
|
|
1407
1329
|
*
|
|
@@ -1415,7 +1337,7 @@ declare function UpdateProject(connectionConfig: ConnectionConfig, projectId: st
|
|
|
1415
1337
|
declare function GetAllProject(connectionConfig: ConnectionConfig, page: number, pageSize: number, criteria: {
|
|
1416
1338
|
key: string;
|
|
1417
1339
|
value: string;
|
|
1418
|
-
}[], cb: (err: ServiceError$
|
|
1340
|
+
}[], cb: (err: ServiceError$1 | null, response: GetAllProjectResponse | null) => void, authHeader: ClientAuthInfo | UserAuthInfo): undefined;
|
|
1419
1341
|
/**
|
|
1420
1342
|
* Retrieves the details of a specific project by ID.
|
|
1421
1343
|
*
|
|
@@ -1424,7 +1346,7 @@ declare function GetAllProject(connectionConfig: ConnectionConfig, page: number,
|
|
|
1424
1346
|
* @param authHeader - Authentication headers for the request.
|
|
1425
1347
|
* @returns UnaryResponse - The gRPC response object.
|
|
1426
1348
|
*/
|
|
1427
|
-
declare function GetProject(connectionConfig: ConnectionConfig, projectId: string, cb: (err: ServiceError$
|
|
1349
|
+
declare function GetProject(connectionConfig: ConnectionConfig, projectId: string, cb: (err: ServiceError$1 | null, response: GetProjectResponse | null) => void, authHeader: ClientAuthInfo | UserAuthInfo): undefined;
|
|
1428
1350
|
/**
|
|
1429
1351
|
* Archives a project, effectively deleting it.
|
|
1430
1352
|
*
|
|
@@ -1433,7 +1355,7 @@ declare function GetProject(connectionConfig: ConnectionConfig, projectId: strin
|
|
|
1433
1355
|
* @param authHeader - Authentication headers for the request.
|
|
1434
1356
|
* @returns UnaryResponse - The gRPC response object.
|
|
1435
1357
|
*/
|
|
1436
|
-
declare function DeleteProject(connectionConfig: ConnectionConfig, projectId: string, cb: (err: ServiceError$
|
|
1358
|
+
declare function DeleteProject(connectionConfig: ConnectionConfig, projectId: string, cb: (err: ServiceError$1 | null, response: ArchiveProjectResponse | null) => void, authHeader: ClientAuthInfo | UserAuthInfo): undefined;
|
|
1437
1359
|
/**
|
|
1438
1360
|
* Retrieves all credentials associated with a specific project.
|
|
1439
1361
|
*
|
|
@@ -1442,7 +1364,7 @@ declare function DeleteProject(connectionConfig: ConnectionConfig, projectId: st
|
|
|
1442
1364
|
* @param authHeader - Authentication headers for the request.
|
|
1443
1365
|
* @returns UnaryResponse - The gRPC response object.
|
|
1444
1366
|
*/
|
|
1445
|
-
declare function GetAllProjectCredential(connectionConfig: ConnectionConfig, projectId: string, cb: (err: ServiceError$
|
|
1367
|
+
declare function GetAllProjectCredential(connectionConfig: ConnectionConfig, projectId: string, cb: (err: ServiceError$1 | null, response: GetAllProjectCredentialResponse | null) => void, authHeader: ClientAuthInfo | UserAuthInfo): undefined;
|
|
1446
1368
|
/**
|
|
1447
1369
|
* Creates a new credential for a specific project.
|
|
1448
1370
|
*
|
|
@@ -1452,280 +1374,7 @@ declare function GetAllProjectCredential(connectionConfig: ConnectionConfig, pro
|
|
|
1452
1374
|
* @param authHeader - Authentication headers for the request.
|
|
1453
1375
|
* @returns UnaryResponse - The gRPC response object.
|
|
1454
1376
|
*/
|
|
1455
|
-
declare function CreateProjectCredential(connectionConfig: ConnectionConfig, projectId: string, name: string, cb: (err: ServiceError$
|
|
1456
|
-
|
|
1457
|
-
// package: integration_api
|
|
1458
|
-
// file: sendgrid-api.proto
|
|
1459
|
-
|
|
1460
|
-
|
|
1461
|
-
|
|
1462
|
-
declare class Contact extends jspb.Message {
|
|
1463
|
-
getEmail(): string;
|
|
1464
|
-
setEmail(value: string): void;
|
|
1465
|
-
|
|
1466
|
-
getName(): string;
|
|
1467
|
-
setName(value: string): void;
|
|
1468
|
-
|
|
1469
|
-
serializeBinary(): Uint8Array;
|
|
1470
|
-
toObject(includeInstance?: boolean): Contact.AsObject;
|
|
1471
|
-
static toObject(includeInstance: boolean, msg: Contact): Contact.AsObject;
|
|
1472
|
-
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
1473
|
-
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
1474
|
-
static serializeBinaryToWriter(message: Contact, writer: jspb.BinaryWriter): void;
|
|
1475
|
-
static deserializeBinary(bytes: Uint8Array): Contact;
|
|
1476
|
-
static deserializeBinaryFromReader(message: Contact, reader: jspb.BinaryReader): Contact;
|
|
1477
|
-
}
|
|
1478
|
-
|
|
1479
|
-
declare namespace Contact {
|
|
1480
|
-
export type AsObject = {
|
|
1481
|
-
email: string,
|
|
1482
|
-
name: string,
|
|
1483
|
-
}
|
|
1484
|
-
}
|
|
1485
|
-
|
|
1486
|
-
declare class WelcomeEmailRequest extends jspb.Message {
|
|
1487
|
-
getUserid(): number;
|
|
1488
|
-
setUserid(value: number): void;
|
|
1489
|
-
|
|
1490
|
-
hasTo(): boolean;
|
|
1491
|
-
clearTo(): void;
|
|
1492
|
-
getTo(): Contact | undefined;
|
|
1493
|
-
setTo(value?: Contact): void;
|
|
1494
|
-
|
|
1495
|
-
serializeBinary(): Uint8Array;
|
|
1496
|
-
toObject(includeInstance?: boolean): WelcomeEmailRequest.AsObject;
|
|
1497
|
-
static toObject(includeInstance: boolean, msg: WelcomeEmailRequest): WelcomeEmailRequest.AsObject;
|
|
1498
|
-
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
1499
|
-
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
1500
|
-
static serializeBinaryToWriter(message: WelcomeEmailRequest, writer: jspb.BinaryWriter): void;
|
|
1501
|
-
static deserializeBinary(bytes: Uint8Array): WelcomeEmailRequest;
|
|
1502
|
-
static deserializeBinaryFromReader(message: WelcomeEmailRequest, reader: jspb.BinaryReader): WelcomeEmailRequest;
|
|
1503
|
-
}
|
|
1504
|
-
|
|
1505
|
-
declare namespace WelcomeEmailRequest {
|
|
1506
|
-
export type AsObject = {
|
|
1507
|
-
userid: number,
|
|
1508
|
-
to?: Contact.AsObject,
|
|
1509
|
-
}
|
|
1510
|
-
}
|
|
1511
|
-
|
|
1512
|
-
declare class WelcomeEmailResponse extends jspb.Message {
|
|
1513
|
-
getCode(): number;
|
|
1514
|
-
setCode(value: number): void;
|
|
1515
|
-
|
|
1516
|
-
getSuccess(): boolean;
|
|
1517
|
-
setSuccess(value: boolean): void;
|
|
1518
|
-
|
|
1519
|
-
serializeBinary(): Uint8Array;
|
|
1520
|
-
toObject(includeInstance?: boolean): WelcomeEmailResponse.AsObject;
|
|
1521
|
-
static toObject(includeInstance: boolean, msg: WelcomeEmailResponse): WelcomeEmailResponse.AsObject;
|
|
1522
|
-
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
1523
|
-
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
1524
|
-
static serializeBinaryToWriter(message: WelcomeEmailResponse, writer: jspb.BinaryWriter): void;
|
|
1525
|
-
static deserializeBinary(bytes: Uint8Array): WelcomeEmailResponse;
|
|
1526
|
-
static deserializeBinaryFromReader(message: WelcomeEmailResponse, reader: jspb.BinaryReader): WelcomeEmailResponse;
|
|
1527
|
-
}
|
|
1528
|
-
|
|
1529
|
-
declare namespace WelcomeEmailResponse {
|
|
1530
|
-
export type AsObject = {
|
|
1531
|
-
code: number,
|
|
1532
|
-
success: boolean,
|
|
1533
|
-
}
|
|
1534
|
-
}
|
|
1535
|
-
|
|
1536
|
-
declare class ResetPasswordEmailRequest extends jspb.Message {
|
|
1537
|
-
getUserid(): number;
|
|
1538
|
-
setUserid(value: number): void;
|
|
1539
|
-
|
|
1540
|
-
hasTo(): boolean;
|
|
1541
|
-
clearTo(): void;
|
|
1542
|
-
getTo(): Contact | undefined;
|
|
1543
|
-
setTo(value?: Contact): void;
|
|
1544
|
-
|
|
1545
|
-
getResetpasswordlink(): string;
|
|
1546
|
-
setResetpasswordlink(value: string): void;
|
|
1547
|
-
|
|
1548
|
-
serializeBinary(): Uint8Array;
|
|
1549
|
-
toObject(includeInstance?: boolean): ResetPasswordEmailRequest.AsObject;
|
|
1550
|
-
static toObject(includeInstance: boolean, msg: ResetPasswordEmailRequest): ResetPasswordEmailRequest.AsObject;
|
|
1551
|
-
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
1552
|
-
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
1553
|
-
static serializeBinaryToWriter(message: ResetPasswordEmailRequest, writer: jspb.BinaryWriter): void;
|
|
1554
|
-
static deserializeBinary(bytes: Uint8Array): ResetPasswordEmailRequest;
|
|
1555
|
-
static deserializeBinaryFromReader(message: ResetPasswordEmailRequest, reader: jspb.BinaryReader): ResetPasswordEmailRequest;
|
|
1556
|
-
}
|
|
1557
|
-
|
|
1558
|
-
declare namespace ResetPasswordEmailRequest {
|
|
1559
|
-
export type AsObject = {
|
|
1560
|
-
userid: number,
|
|
1561
|
-
to?: Contact.AsObject,
|
|
1562
|
-
resetpasswordlink: string,
|
|
1563
|
-
}
|
|
1564
|
-
}
|
|
1565
|
-
|
|
1566
|
-
declare class ResetPasswordEmailResponse extends jspb.Message {
|
|
1567
|
-
getCode(): number;
|
|
1568
|
-
setCode(value: number): void;
|
|
1569
|
-
|
|
1570
|
-
getSuccess(): boolean;
|
|
1571
|
-
setSuccess(value: boolean): void;
|
|
1572
|
-
|
|
1573
|
-
serializeBinary(): Uint8Array;
|
|
1574
|
-
toObject(includeInstance?: boolean): ResetPasswordEmailResponse.AsObject;
|
|
1575
|
-
static toObject(includeInstance: boolean, msg: ResetPasswordEmailResponse): ResetPasswordEmailResponse.AsObject;
|
|
1576
|
-
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
1577
|
-
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
1578
|
-
static serializeBinaryToWriter(message: ResetPasswordEmailResponse, writer: jspb.BinaryWriter): void;
|
|
1579
|
-
static deserializeBinary(bytes: Uint8Array): ResetPasswordEmailResponse;
|
|
1580
|
-
static deserializeBinaryFromReader(message: ResetPasswordEmailResponse, reader: jspb.BinaryReader): ResetPasswordEmailResponse;
|
|
1581
|
-
}
|
|
1582
|
-
|
|
1583
|
-
declare namespace ResetPasswordEmailResponse {
|
|
1584
|
-
export type AsObject = {
|
|
1585
|
-
code: number,
|
|
1586
|
-
success: boolean,
|
|
1587
|
-
}
|
|
1588
|
-
}
|
|
1589
|
-
|
|
1590
|
-
declare class InviteMemeberEmailRequest extends jspb.Message {
|
|
1591
|
-
getUserid(): number;
|
|
1592
|
-
setUserid(value: number): void;
|
|
1593
|
-
|
|
1594
|
-
hasTo(): boolean;
|
|
1595
|
-
clearTo(): void;
|
|
1596
|
-
getTo(): Contact | undefined;
|
|
1597
|
-
setTo(value?: Contact): void;
|
|
1598
|
-
|
|
1599
|
-
getOrganizationname(): string;
|
|
1600
|
-
setOrganizationname(value: string): void;
|
|
1601
|
-
|
|
1602
|
-
getProjectname(): string;
|
|
1603
|
-
setProjectname(value: string): void;
|
|
1604
|
-
|
|
1605
|
-
getInvitername(): string;
|
|
1606
|
-
setInvitername(value: string): void;
|
|
1607
|
-
|
|
1608
|
-
serializeBinary(): Uint8Array;
|
|
1609
|
-
toObject(includeInstance?: boolean): InviteMemeberEmailRequest.AsObject;
|
|
1610
|
-
static toObject(includeInstance: boolean, msg: InviteMemeberEmailRequest): InviteMemeberEmailRequest.AsObject;
|
|
1611
|
-
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
1612
|
-
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
1613
|
-
static serializeBinaryToWriter(message: InviteMemeberEmailRequest, writer: jspb.BinaryWriter): void;
|
|
1614
|
-
static deserializeBinary(bytes: Uint8Array): InviteMemeberEmailRequest;
|
|
1615
|
-
static deserializeBinaryFromReader(message: InviteMemeberEmailRequest, reader: jspb.BinaryReader): InviteMemeberEmailRequest;
|
|
1616
|
-
}
|
|
1617
|
-
|
|
1618
|
-
declare namespace InviteMemeberEmailRequest {
|
|
1619
|
-
export type AsObject = {
|
|
1620
|
-
userid: number,
|
|
1621
|
-
to?: Contact.AsObject,
|
|
1622
|
-
organizationname: string,
|
|
1623
|
-
projectname: string,
|
|
1624
|
-
invitername: string,
|
|
1625
|
-
}
|
|
1626
|
-
}
|
|
1627
|
-
|
|
1628
|
-
declare class InviteMemeberEmailResponse extends jspb.Message {
|
|
1629
|
-
getCode(): number;
|
|
1630
|
-
setCode(value: number): void;
|
|
1631
|
-
|
|
1632
|
-
getSuccess(): boolean;
|
|
1633
|
-
setSuccess(value: boolean): void;
|
|
1634
|
-
|
|
1635
|
-
serializeBinary(): Uint8Array;
|
|
1636
|
-
toObject(includeInstance?: boolean): InviteMemeberEmailResponse.AsObject;
|
|
1637
|
-
static toObject(includeInstance: boolean, msg: InviteMemeberEmailResponse): InviteMemeberEmailResponse.AsObject;
|
|
1638
|
-
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
1639
|
-
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
1640
|
-
static serializeBinaryToWriter(message: InviteMemeberEmailResponse, writer: jspb.BinaryWriter): void;
|
|
1641
|
-
static deserializeBinary(bytes: Uint8Array): InviteMemeberEmailResponse;
|
|
1642
|
-
static deserializeBinaryFromReader(message: InviteMemeberEmailResponse, reader: jspb.BinaryReader): InviteMemeberEmailResponse;
|
|
1643
|
-
}
|
|
1644
|
-
|
|
1645
|
-
declare namespace InviteMemeberEmailResponse {
|
|
1646
|
-
export type AsObject = {
|
|
1647
|
-
code: number,
|
|
1648
|
-
success: boolean,
|
|
1649
|
-
}
|
|
1650
|
-
}
|
|
1651
|
-
|
|
1652
|
-
// package: integration_api
|
|
1653
|
-
// file: sendgrid-api.proto
|
|
1654
|
-
|
|
1655
|
-
|
|
1656
|
-
|
|
1657
|
-
type SendgridServiceWelcomeEmail = {
|
|
1658
|
-
readonly methodName: string;
|
|
1659
|
-
readonly service: typeof SendgridService;
|
|
1660
|
-
readonly requestStream: false;
|
|
1661
|
-
readonly responseStream: false;
|
|
1662
|
-
readonly requestType: typeof WelcomeEmailRequest;
|
|
1663
|
-
readonly responseType: typeof WelcomeEmailResponse;
|
|
1664
|
-
};
|
|
1665
|
-
|
|
1666
|
-
type SendgridServiceResetPasswordEmail = {
|
|
1667
|
-
readonly methodName: string;
|
|
1668
|
-
readonly service: typeof SendgridService;
|
|
1669
|
-
readonly requestStream: false;
|
|
1670
|
-
readonly responseStream: false;
|
|
1671
|
-
readonly requestType: typeof ResetPasswordEmailRequest;
|
|
1672
|
-
readonly responseType: typeof ResetPasswordEmailResponse;
|
|
1673
|
-
};
|
|
1674
|
-
|
|
1675
|
-
type SendgridServiceInviteMemberEmail = {
|
|
1676
|
-
readonly methodName: string;
|
|
1677
|
-
readonly service: typeof SendgridService;
|
|
1678
|
-
readonly requestStream: false;
|
|
1679
|
-
readonly responseStream: false;
|
|
1680
|
-
readonly requestType: typeof InviteMemeberEmailRequest;
|
|
1681
|
-
readonly responseType: typeof InviteMemeberEmailResponse;
|
|
1682
|
-
};
|
|
1683
|
-
|
|
1684
|
-
declare class SendgridService {
|
|
1685
|
-
static readonly serviceName: string;
|
|
1686
|
-
static readonly WelcomeEmail: SendgridServiceWelcomeEmail;
|
|
1687
|
-
static readonly ResetPasswordEmail: SendgridServiceResetPasswordEmail;
|
|
1688
|
-
static readonly InviteMemberEmail: SendgridServiceInviteMemberEmail;
|
|
1689
|
-
}
|
|
1690
|
-
|
|
1691
|
-
type ServiceError$1 = { message: string, code: number; metadata: grpc.Metadata }
|
|
1692
|
-
|
|
1693
|
-
interface UnaryResponse$1 {
|
|
1694
|
-
cancel(): void;
|
|
1695
|
-
}
|
|
1696
|
-
|
|
1697
|
-
declare class SendgridServiceClient {
|
|
1698
|
-
readonly serviceHost: string;
|
|
1699
|
-
|
|
1700
|
-
constructor(serviceHost: string, options?: grpc.RpcOptions);
|
|
1701
|
-
welcomeEmail(
|
|
1702
|
-
requestMessage: WelcomeEmailRequest,
|
|
1703
|
-
metadata: grpc.Metadata,
|
|
1704
|
-
callback: (error: ServiceError$1|null, responseMessage: WelcomeEmailResponse|null) => void
|
|
1705
|
-
): UnaryResponse$1;
|
|
1706
|
-
welcomeEmail(
|
|
1707
|
-
requestMessage: WelcomeEmailRequest,
|
|
1708
|
-
callback: (error: ServiceError$1|null, responseMessage: WelcomeEmailResponse|null) => void
|
|
1709
|
-
): UnaryResponse$1;
|
|
1710
|
-
resetPasswordEmail(
|
|
1711
|
-
requestMessage: ResetPasswordEmailRequest,
|
|
1712
|
-
metadata: grpc.Metadata,
|
|
1713
|
-
callback: (error: ServiceError$1|null, responseMessage: ResetPasswordEmailResponse|null) => void
|
|
1714
|
-
): UnaryResponse$1;
|
|
1715
|
-
resetPasswordEmail(
|
|
1716
|
-
requestMessage: ResetPasswordEmailRequest,
|
|
1717
|
-
callback: (error: ServiceError$1|null, responseMessage: ResetPasswordEmailResponse|null) => void
|
|
1718
|
-
): UnaryResponse$1;
|
|
1719
|
-
inviteMemberEmail(
|
|
1720
|
-
requestMessage: InviteMemeberEmailRequest,
|
|
1721
|
-
metadata: grpc.Metadata,
|
|
1722
|
-
callback: (error: ServiceError$1|null, responseMessage: InviteMemeberEmailResponse|null) => void
|
|
1723
|
-
): UnaryResponse$1;
|
|
1724
|
-
inviteMemberEmail(
|
|
1725
|
-
requestMessage: InviteMemeberEmailRequest,
|
|
1726
|
-
callback: (error: ServiceError$1|null, responseMessage: InviteMemeberEmailResponse|null) => void
|
|
1727
|
-
): UnaryResponse$1;
|
|
1728
|
-
}
|
|
1377
|
+
declare function CreateProjectCredential(connectionConfig: ConnectionConfig, projectId: string, name: string, cb: (err: ServiceError$1 | null, response: CreateProjectCredentialResponse | null) => void, authHeader: ClientAuthInfo | UserAuthInfo): undefined;
|
|
1729
1378
|
|
|
1730
1379
|
// package: integration_api
|
|
1731
1380
|
// file: integration-api.proto
|
|
@@ -3264,4 +2913,21 @@ declare function agentEventSelector(agent: VoiceAgent, events: AgentEvent | Agen
|
|
|
3264
2913
|
*/
|
|
3265
2914
|
declare function GetAllAssistantTelemetry(clientCfg: ConnectionConfig, request: GetAllAssistantTelemetryRequest, auth?: ClientAuthInfo | UserAuthInfo): Promise<GetAllAssistantTelemetryResponse>;
|
|
3266
2915
|
|
|
3267
|
-
|
|
2916
|
+
/**
|
|
2917
|
+
*
|
|
2918
|
+
* @param clientCfg
|
|
2919
|
+
* @param request
|
|
2920
|
+
* @param auth
|
|
2921
|
+
* @returns
|
|
2922
|
+
*/
|
|
2923
|
+
declare function UpdateNotificationSetting(clientCfg: ConnectionConfig, request: UpdateNotificationSettingRequest, auth?: ClientAuthInfo | UserAuthInfo): Promise<NotificationSettingResponse>;
|
|
2924
|
+
/**
|
|
2925
|
+
*
|
|
2926
|
+
* @param clientCfg
|
|
2927
|
+
* @param request
|
|
2928
|
+
* @param auth
|
|
2929
|
+
* @returns
|
|
2930
|
+
*/
|
|
2931
|
+
declare function GetNotificationSetting(clientCfg: ConnectionConfig, request: GetNotificationSettingRequest, auth?: ClientAuthInfo | UserAuthInfo): Promise<NotificationSettingResponse>;
|
|
2932
|
+
|
|
2933
|
+
export { AddUsersToProject, AddUsersToProjectResponse, type AgentDeployment, AgentEvent, AnthropicService, AnthropicServiceClient, AnyToBool, AnyToFloat, AnyToInt32, AnyToJSON, AnyToString, ArchiveProjectResponse, Assistant, AssistantApiDeployment, AssistantDebuggerDeployment, AssistantMessagingRequest, AssistantMessagingResponse, AssistantTalk, AssistantWebpluginDeployment, AuthenticateResponse, AuthenticateUser, AuthorizeUser, AzureService, AzureServiceClient, BaseResponse, BedrockService, BedrockServiceClient, type BidirectionalStream, BoolToAny, BytesToAny, ChangePassword, ChangePasswordRequest, ChangePasswordResponse, ChatRequest, ChatResponse, CohereService, CohereServiceClient, ConnectionConfig, Content, 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, GoogleService, GoogleServiceClient, 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, toContentText, toStreamAudioContent, toTextContent, useAgentMessages, useConnectAgent, useConversationFeedback, useInputModeToggleAgent, useMessageFeedback, useMultiband3DSpeakerTrackVolume, useMultibandMicrophoneTrackVolume, useSelectInputDeviceAgent };
|