@gravity-rail/sdk 0.1.0 → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +475 -54
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +480 -27
- package/dist/index.d.ts +480 -27
- package/dist/index.js +474 -54
- package/dist/index.js.map +1 -1
- package/dist/schemas.cjs +1 -0
- package/dist/schemas.cjs.map +1 -1
- package/dist/schemas.d.cts +5 -0
- package/dist/schemas.d.ts +5 -0
- package/dist/schemas.js +1 -0
- package/dist/schemas.js.map +1 -1
- package/package.json +13 -3
package/dist/index.d.ts
CHANGED
|
@@ -344,9 +344,13 @@ interface NotificationRuleUpdate {
|
|
|
344
344
|
notifyVoice?: boolean;
|
|
345
345
|
}
|
|
346
346
|
declare class NotificationRulesApi extends BaseApiClient {
|
|
347
|
+
/** List all notification rules in a workspace. */
|
|
347
348
|
getNotificationRules(wid: string): Promise<NotificationRule[]>;
|
|
349
|
+
/** Create a new notification rule. */
|
|
348
350
|
createNotificationRule(wid: string, rule: NotificationRuleCreate): Promise<NotificationRule>;
|
|
351
|
+
/** Update a notification rule. */
|
|
349
352
|
updateNotificationRule(wid: string, ruleId: number, rule: NotificationRuleUpdate): Promise<NotificationRule>;
|
|
353
|
+
/** Delete a notification rule. */
|
|
350
354
|
deleteNotificationRule(wid: string, ruleId: number): Promise<{
|
|
351
355
|
message: string;
|
|
352
356
|
}>;
|
|
@@ -691,7 +695,7 @@ interface AIChatParticipant {
|
|
|
691
695
|
* Supported TTS preview providers.
|
|
692
696
|
* These are the voice providers that support TTS preview in the UI.
|
|
693
697
|
*/
|
|
694
|
-
declare const TTS_PREVIEW_PROVIDERS: readonly ["openai", "elevenlabs", "google", "aws"];
|
|
698
|
+
declare const TTS_PREVIEW_PROVIDERS: readonly ["openai", "elevenlabs", "google", "aws", "pocket"];
|
|
695
699
|
type TTSPreviewProvider = (typeof TTS_PREVIEW_PROVIDERS)[number];
|
|
696
700
|
/**
|
|
697
701
|
* Get the canonical voice model ID for an assistant.
|
|
@@ -1037,15 +1041,18 @@ interface CleanupChatsResponse {
|
|
|
1037
1041
|
* @property MANAGER - Workspace management chats using builtin manager assistant
|
|
1038
1042
|
* @property CONTRIBUTOR - Contributor input chats using builtin contributor assistant
|
|
1039
1043
|
* @property DEVELOPER - Developer/debugging chats using builtin developer assistant
|
|
1040
|
-
* @property
|
|
1044
|
+
* @property MEMBER - Member-to-member chats (human-human, human-agent, or agent-agent)
|
|
1041
1045
|
*/
|
|
1042
1046
|
declare const CHAT_TYPES: {
|
|
1043
1047
|
readonly ASSIGNMENT: "assignment";
|
|
1044
1048
|
readonly MANAGER: "manager";
|
|
1045
1049
|
readonly CONTRIBUTOR: "contributor";
|
|
1046
1050
|
readonly DEVELOPER: "developer";
|
|
1047
|
-
readonly
|
|
1048
|
-
|
|
1051
|
+
readonly MEMBER: "member";
|
|
1052
|
+
/** @deprecated Use MEMBER instead */
|
|
1053
|
+
readonly AGENT: "member";
|
|
1054
|
+
/** @deprecated Use MEMBER instead */
|
|
1055
|
+
readonly DM: "member";
|
|
1049
1056
|
};
|
|
1050
1057
|
/**
|
|
1051
1058
|
* Type for valid chat type values.
|
|
@@ -1058,7 +1065,7 @@ type ChatType = (typeof CHAT_TYPES)[keyof typeof CHAT_TYPES];
|
|
|
1058
1065
|
declare const BUILTIN_ASSISTANT_CHAT_TYPES: Set<ChatType>;
|
|
1059
1066
|
/**
|
|
1060
1067
|
* Chat types that don't require assistant participant records.
|
|
1061
|
-
* Includes builtin assistant types plus
|
|
1068
|
+
* Includes builtin assistant types plus member chats.
|
|
1062
1069
|
*/
|
|
1063
1070
|
declare const NO_ASSISTANT_PARTICIPANT_CHAT_TYPES: Set<ChatType>;
|
|
1064
1071
|
/**
|
|
@@ -4009,7 +4016,7 @@ type RealtimeAIModel = Omit<AIModelResponse, 'serverVad' | 'clientVad'> & {
|
|
|
4009
4016
|
serverVad: boolean;
|
|
4010
4017
|
clientVad: boolean;
|
|
4011
4018
|
};
|
|
4012
|
-
type ModelProvider = 'openai' | 'google' | 'anthropic' | 'aws' | 'elevenlabs' | 'deepgram' | 'custom';
|
|
4019
|
+
type ModelProvider = 'openai' | 'google' | 'anthropic' | 'aws' | 'elevenlabs' | 'deepgram' | 'pocket' | 'custom';
|
|
4013
4020
|
type ModelType = 'chat' | 'realtime' | 'image' | 'stt' | 'tts' | 'video' | 'voice';
|
|
4014
4021
|
interface AllModelsResponse {
|
|
4015
4022
|
chat: AIModelResponse[];
|
|
@@ -4023,6 +4030,7 @@ interface VoiceModel {
|
|
|
4023
4030
|
name: string;
|
|
4024
4031
|
provider: string;
|
|
4025
4032
|
description?: string;
|
|
4033
|
+
ttsModels: string[];
|
|
4026
4034
|
}
|
|
4027
4035
|
interface VoiceModelsResponse {
|
|
4028
4036
|
voices: VoiceModel[];
|
|
@@ -4040,6 +4048,7 @@ declare const TTS_MODEL_ELEVENLABS_TURBO = "elevenlabs:tts:eleven_turbo_v2_5";
|
|
|
4040
4048
|
declare const TTS_MODEL_ELEVENLABS_MULTILINGUAL = "elevenlabs:tts:eleven_multilingual_v2";
|
|
4041
4049
|
declare const TTS_MODEL_AWS_POLLY_GENERATIVE = "aws:tts:polly-generative";
|
|
4042
4050
|
declare const TTS_MODEL_AWS_POLLY_NEURAL = "aws:tts:polly-neural";
|
|
4051
|
+
declare const TTS_MODEL_POCKET = "pocket:tts:default";
|
|
4043
4052
|
|
|
4044
4053
|
/**
|
|
4045
4054
|
* Event-action mapping types
|
|
@@ -5243,8 +5252,19 @@ interface PresenceLoginAck {
|
|
|
5243
5252
|
type: 'login_ack';
|
|
5244
5253
|
ok: boolean;
|
|
5245
5254
|
}
|
|
5255
|
+
/** Server -> Client: Chat activity event (from workspace pub/sub) */
|
|
5256
|
+
interface ChatActivityEvent {
|
|
5257
|
+
type: 'chat_activity';
|
|
5258
|
+
chatId: number;
|
|
5259
|
+
event: 'started' | 'message' | 'message_complete' | 'ended';
|
|
5260
|
+
channel?: Channel;
|
|
5261
|
+
role?: 'user' | 'assistant';
|
|
5262
|
+
memberName?: string;
|
|
5263
|
+
chatTitle?: string;
|
|
5264
|
+
timestamp: string;
|
|
5265
|
+
}
|
|
5246
5266
|
/** All server -> client message types */
|
|
5247
|
-
type PresenceServerMessage = PresenceLoginAck | IncomingInteraction | InteractionAccepted | InteractionTimedOut | PresenceConfirmation | PresenceError | SessionTakeover;
|
|
5267
|
+
type PresenceServerMessage = PresenceLoginAck | IncomingInteraction | InteractionAccepted | InteractionTimedOut | PresenceConfirmation | PresenceError | SessionTakeover | ChatActivityEvent;
|
|
5248
5268
|
/** Response from GET /presence/me */
|
|
5249
5269
|
interface PresenceStatusResponse {
|
|
5250
5270
|
isLive: boolean;
|
|
@@ -5635,20 +5655,27 @@ interface HealthMetricsResponse {
|
|
|
5635
5655
|
}
|
|
5636
5656
|
|
|
5637
5657
|
declare class AccessGrantsApi extends BaseApiClient {
|
|
5658
|
+
/** List access grants received by the current member. */
|
|
5638
5659
|
getMyReceivedGrants(wid: string, params?: {
|
|
5639
5660
|
status?: string;
|
|
5640
5661
|
page?: number;
|
|
5641
5662
|
pageSize?: number;
|
|
5642
5663
|
}): Promise<PaginatedResponse<AccessGrant>>;
|
|
5664
|
+
/** List access grants given by the current member. */
|
|
5643
5665
|
getMyGivenGrants(wid: string, params?: {
|
|
5644
5666
|
status?: string;
|
|
5645
5667
|
page?: number;
|
|
5646
5668
|
pageSize?: number;
|
|
5647
5669
|
}): Promise<PaginatedResponse<AccessGrant>>;
|
|
5670
|
+
/** Get a single access grant by UUID. */
|
|
5648
5671
|
getAccessGrant(wid: string, uuid: string): Promise<AccessGrant>;
|
|
5672
|
+
/** Create a new access grant for a resource. */
|
|
5649
5673
|
createAccessGrant(wid: string, data: CreateAccessGrantRequest): Promise<AccessGrant>;
|
|
5674
|
+
/** Resolve a pending access grant by approving or denying it. */
|
|
5650
5675
|
resolveAccessGrant(wid: string, uuid: string, data: ResolveGrantRequest): Promise<AccessGrant>;
|
|
5676
|
+
/** Revoke a previously approved access grant. */
|
|
5651
5677
|
revokeAccessGrant(wid: string, uuid: string, data: RevokeGrantRequest): Promise<AccessGrant>;
|
|
5678
|
+
/** List all access grants with optional filtering by status, resource type, and resource ID. */
|
|
5652
5679
|
getAccessGrants(wid: string, params?: {
|
|
5653
5680
|
status?: string;
|
|
5654
5681
|
resourceType?: string;
|
|
@@ -5656,6 +5683,7 @@ declare class AccessGrantsApi extends BaseApiClient {
|
|
|
5656
5683
|
page?: number;
|
|
5657
5684
|
pageSize?: number;
|
|
5658
5685
|
}): Promise<PaginatedResponse<AccessGrant>>;
|
|
5686
|
+
/** Get all access grants for a specific member. */
|
|
5659
5687
|
getMemberGrants(wid: string, memberId: number): Promise<AccessGrant[]>;
|
|
5660
5688
|
}
|
|
5661
5689
|
|
|
@@ -6106,6 +6134,7 @@ declare class AdminApi extends BaseApiClient {
|
|
|
6106
6134
|
|
|
6107
6135
|
type AgentSortField = 'createdAt' | 'updatedAt' | 'name';
|
|
6108
6136
|
declare class AgentsApi extends BaseApiClient {
|
|
6137
|
+
/** List agents in a workspace with optional pagination, sorting, and search. */
|
|
6109
6138
|
getAgents(wid: string, options?: {
|
|
6110
6139
|
page?: number;
|
|
6111
6140
|
pageSize?: number;
|
|
@@ -6114,11 +6143,17 @@ declare class AgentsApi extends BaseApiClient {
|
|
|
6114
6143
|
search?: string;
|
|
6115
6144
|
includeArchived?: boolean;
|
|
6116
6145
|
}): Promise<PaginatedResponse<Agent>>;
|
|
6146
|
+
/** Get a single agent by ID. */
|
|
6117
6147
|
getAgent(wid: string, id: number): Promise<Agent>;
|
|
6148
|
+
/** Create a new agent in a workspace. */
|
|
6118
6149
|
createAgent(wid: string, agent: CreateAgentRequest): Promise<Agent>;
|
|
6150
|
+
/** Update an existing agent. */
|
|
6119
6151
|
updateAgent(wid: string, id: number, agent: UpdateAgentRequest): Promise<Agent>;
|
|
6152
|
+
/** Delete an agent by ID, optionally forcing deletion of agents with active references. */
|
|
6120
6153
|
deleteAgent(wid: string, id: number, force?: boolean): Promise<void>;
|
|
6154
|
+
/** Archive an agent, hiding it from default listings. */
|
|
6121
6155
|
archiveAgent(wid: string, id: number): Promise<Agent>;
|
|
6156
|
+
/** Restore an archived agent back to active status. */
|
|
6122
6157
|
unarchiveAgent(wid: string, id: number): Promise<Agent>;
|
|
6123
6158
|
}
|
|
6124
6159
|
|
|
@@ -6158,11 +6193,17 @@ declare class AIModelsApi extends BaseApiClient {
|
|
|
6158
6193
|
}
|
|
6159
6194
|
|
|
6160
6195
|
declare class ApiKeysApi extends BaseApiClient {
|
|
6196
|
+
/** List all API keys for a workspace. */
|
|
6161
6197
|
getApiKeys(wid: string): Promise<ApiKey[]>;
|
|
6198
|
+
/** Create a new API key for a workspace. */
|
|
6162
6199
|
createApiKey(wid: string, apiKey: ApiKeyFormData): Promise<ApiKeyCreated>;
|
|
6200
|
+
/** Revoke a workspace API key. */
|
|
6163
6201
|
revokeApiKey(wid: string, id: number): Promise<void>;
|
|
6202
|
+
/** List all account-level API keys. */
|
|
6164
6203
|
getGlobalApiKeys(): Promise<ApiKey[]>;
|
|
6204
|
+
/** Create a new account-level API key. */
|
|
6165
6205
|
createGlobalApiKey(apiKey: ApiKeyFormData): Promise<ApiKeyCreated>;
|
|
6206
|
+
/** Revoke an account-level API key. */
|
|
6166
6207
|
revokeGlobalApiKey(id: number): Promise<void>;
|
|
6167
6208
|
}
|
|
6168
6209
|
|
|
@@ -6204,20 +6245,33 @@ declare class AppsApi extends BaseApiClient {
|
|
|
6204
6245
|
}
|
|
6205
6246
|
|
|
6206
6247
|
declare class AssignmentsApi extends BaseApiClient {
|
|
6248
|
+
/** List assignments with optional filtering, pagination, and sorting. */
|
|
6207
6249
|
getAssignments(wid: string, options?: AssignmentsQueryParams): Promise<PaginatedResponse<Assignment>>;
|
|
6250
|
+
/** Get a single assignment by ID. */
|
|
6208
6251
|
getAssignment(wid: string, id: number): Promise<Assignment>;
|
|
6252
|
+
/** Get all chat messages for an assignment. */
|
|
6209
6253
|
getAssignmentMessages(wid: string, id: number): Promise<ChatMessage[]>;
|
|
6254
|
+
/** Update an assignment by ID. */
|
|
6210
6255
|
updateAssignment(wid: string, id: number, assignment: UpdateAssignmentFormData): Promise<Assignment>;
|
|
6256
|
+
/** Delete an assignment by ID. */
|
|
6211
6257
|
deleteAssignment(wid: string, id: number): Promise<void>;
|
|
6258
|
+
/** Get a specific task within an assignment. */
|
|
6212
6259
|
getAssignmentTask(wid: string, id: number, assignmentTaskId: number): Promise<AssignmentTask>;
|
|
6260
|
+
/** Set the current active task for an assignment. */
|
|
6213
6261
|
selectCurrentAssignmentTask(wid: string, id: number, assignmentTaskId: number): Promise<void>;
|
|
6262
|
+
/** Create a new assignment for a member. */
|
|
6214
6263
|
createAssignment(wid: string, data: CreateAssignmentFormData): Promise<Assignment>;
|
|
6264
|
+
/** Get the current task detail for an assignment from the operator perspective. */
|
|
6215
6265
|
getAssignmentTaskDetail(wid: string, assignmentId: number): Promise<OperatorTaskDetailResponse>;
|
|
6266
|
+
/** Get the CEL expression evaluation context for an assignment. */
|
|
6216
6267
|
getAssignmentCelContext(wid: string, assignmentId: number): Promise<Record<string, unknown>>;
|
|
6268
|
+
/** Cancel an active assignment with an optional reason. */
|
|
6217
6269
|
cancelAssignment(wid: string, id: number, data?: {
|
|
6218
6270
|
reason?: string;
|
|
6219
6271
|
}): Promise<Assignment>;
|
|
6272
|
+
/** List available tools for an assignment. */
|
|
6220
6273
|
getAssignmentTools(wid: string, assignmentId: number): Promise<ToolsResponse>;
|
|
6274
|
+
/** Execute a tool within an assignment context. */
|
|
6221
6275
|
executeAssignmentTool(wid: string, assignmentId: number, toolName: string, parameters?: Record<string, unknown>): Promise<ExecuteToolResponse>;
|
|
6222
6276
|
}
|
|
6223
6277
|
|
|
@@ -6225,7 +6279,11 @@ interface TTSPreviewRequest {
|
|
|
6225
6279
|
voiceModel: string;
|
|
6226
6280
|
phrase?: string;
|
|
6227
6281
|
}
|
|
6282
|
+
interface ThinkingSoundPreviewRequest {
|
|
6283
|
+
sound: string;
|
|
6284
|
+
}
|
|
6228
6285
|
declare class AssistantsApi extends BaseApiClient {
|
|
6286
|
+
/** List assistants in a workspace with optional pagination, sorting, and search. */
|
|
6229
6287
|
getAssistants(wid: string, options?: {
|
|
6230
6288
|
page?: number;
|
|
6231
6289
|
pageSize?: number;
|
|
@@ -6234,42 +6292,64 @@ declare class AssistantsApi extends BaseApiClient {
|
|
|
6234
6292
|
mine?: boolean;
|
|
6235
6293
|
search?: string;
|
|
6236
6294
|
}): Promise<PaginatedResponse<Assistant>>;
|
|
6295
|
+
/** Get a single assistant by ID. */
|
|
6237
6296
|
getAssistant(wid: string, id: number): Promise<Assistant>;
|
|
6297
|
+
/** Create a new assistant in a workspace. */
|
|
6238
6298
|
createAssistant(wid: string, assistant: AssistantFormData): Promise<Assistant>;
|
|
6299
|
+
/** Update an existing assistant with partial data. */
|
|
6239
6300
|
updateAssistant(wid: string, id: number, assistant: Partial<AssistantFormData>): Promise<Assistant>;
|
|
6301
|
+
/** Delete an assistant by ID. */
|
|
6240
6302
|
deleteAssistant(wid: string, id: number): Promise<void>;
|
|
6303
|
+
/** Generate a text-to-speech audio preview for a given voice model. */
|
|
6241
6304
|
previewTTS(wid: string, request: TTSPreviewRequest): Promise<ArrayBuffer>;
|
|
6305
|
+
/** Generate a thinking sound audio preview. */
|
|
6306
|
+
previewThinkingSound(wid: string, request: ThinkingSoundPreviewRequest): Promise<ArrayBuffer>;
|
|
6242
6307
|
}
|
|
6243
6308
|
|
|
6244
6309
|
declare class AuthApi extends BaseApiClient {
|
|
6310
|
+
/** Get the authenticated user's account. */
|
|
6245
6311
|
getUserAccount(): Promise<Account>;
|
|
6312
|
+
/** Update the authenticated user's account information. */
|
|
6246
6313
|
updateUserAccount(info: AccountFormData): Promise<Account>;
|
|
6314
|
+
/** Initiate SMS login by sending a verification code to the given phone number. */
|
|
6247
6315
|
login(phoneNumber: string, wid?: string, organizationUuid?: string): Promise<SMSLoginResponse>;
|
|
6316
|
+
/** Resend the SMS verification code to the given phone number. */
|
|
6248
6317
|
resendCode(phoneNumber: string, organizationUuid?: string): Promise<SMSLoginResponse>;
|
|
6318
|
+
/** Verify an SMS code and complete authentication, handling 2FA if required. */
|
|
6249
6319
|
verifyCodeWith2FA(phoneNumber: string, code: string, organizationUuid?: string): Promise<VerifyCodeResponse>;
|
|
6320
|
+
/** Log in with email and password credentials. */
|
|
6250
6321
|
emailPasswordLogin(email: string, password: string, organizationUuid?: string): Promise<VerifyCodeResponse>;
|
|
6322
|
+
/** Sign up a new account with email and password. */
|
|
6251
6323
|
emailPasswordSignup(email: string, password: string, name?: string, organizationUuid?: string): Promise<VerifyCodeResponse>;
|
|
6324
|
+
/** Change the current account password by providing the existing password. */
|
|
6252
6325
|
changePassword(currentPassword: string, newPassword: string): Promise<{
|
|
6253
6326
|
success: boolean;
|
|
6254
6327
|
message: string;
|
|
6255
6328
|
}>;
|
|
6329
|
+
/** Set a password for an account that does not yet have one. */
|
|
6256
6330
|
setPassword(newPassword: string): Promise<{
|
|
6257
6331
|
success: boolean;
|
|
6258
6332
|
message: string;
|
|
6259
6333
|
}>;
|
|
6334
|
+
/** Check whether the current account has a password set. */
|
|
6260
6335
|
getPasswordStatus(): Promise<{
|
|
6261
6336
|
hasPassword: boolean;
|
|
6262
6337
|
}>;
|
|
6338
|
+
/** Log out the current session by clearing auth cookies. */
|
|
6263
6339
|
logout(): Promise<{
|
|
6264
6340
|
success: boolean;
|
|
6265
6341
|
}>;
|
|
6342
|
+
/** Request a cross-domain authentication token for single sign-on across domains. */
|
|
6266
6343
|
requestCrossDomainToken(): Promise<{
|
|
6267
6344
|
token: string;
|
|
6268
6345
|
}>;
|
|
6346
|
+
/** Exchange a cross-domain token for an authenticated session token. */
|
|
6269
6347
|
exchangeToken(token: string): Promise<{
|
|
6270
6348
|
token: string;
|
|
6271
6349
|
}>;
|
|
6350
|
+
/** Get the organization and workspace mapping for a custom domain. */
|
|
6272
6351
|
getDomainMapping(customDomain: string): Promise<DomainMapping>;
|
|
6352
|
+
/** Create a new signup with member and data records for a workspace. */
|
|
6273
6353
|
createSignup(wid: string, data: {
|
|
6274
6354
|
member?: {
|
|
6275
6355
|
email?: string;
|
|
@@ -6285,26 +6365,41 @@ declare class AuthApi extends BaseApiClient {
|
|
|
6285
6365
|
}>;
|
|
6286
6366
|
origin?: string;
|
|
6287
6367
|
}): Promise<CreateSignupResponse>;
|
|
6368
|
+
/** Request a magic link to be sent to the given email address for passwordless login. */
|
|
6288
6369
|
requestMagicLink(email: string, organizationUuid?: string, redirectUrl?: string): Promise<RequestMagicLinkResponse>;
|
|
6370
|
+
/** Validate a magic link token and optional OTP to complete authentication. */
|
|
6289
6371
|
validateMagicLink(token: string, otp?: string): Promise<ValidateMagicLinkResponse>;
|
|
6372
|
+
/** Send a verification code to the given email address for login. */
|
|
6290
6373
|
sendEmailVerification(email: string, organizationUuid?: string): Promise<SMSLoginResponse>;
|
|
6374
|
+
/** Verify an email code and complete authentication, handling 2FA if required. */
|
|
6291
6375
|
verifyEmail(email: string, code: string, organizationUuid?: string): Promise<VerifyCodeResponse>;
|
|
6376
|
+
/** Get the current two-factor authentication status and configured methods. */
|
|
6292
6377
|
getTwoFactorStatus(): Promise<TwoFactorStatus>;
|
|
6378
|
+
/** Initiate TOTP two-factor setup and receive the secret and QR code URI. */
|
|
6293
6379
|
setupTOTP(data: SetupTOTPRequest): Promise<TOTPSetupResponse>;
|
|
6380
|
+
/** Verify a TOTP code to complete two-factor setup. */
|
|
6294
6381
|
verifyTOTPSetup(data: VerifyTOTPSetupRequest): Promise<TwoFactorOperationResponse>;
|
|
6382
|
+
/** Initiate WebAuthn (passkey/security key) two-factor setup. */
|
|
6295
6383
|
setupWebAuthn(data: SetupWebAuthnRequest): Promise<any>;
|
|
6384
|
+
/** Verify a WebAuthn assertion to complete two-factor setup. */
|
|
6296
6385
|
verifyWebAuthnSetup(data: VerifyWebAuthnSetupRequest): Promise<TwoFactorOperationResponse>;
|
|
6386
|
+
/** Generate new two-factor recovery codes, invalidating any existing ones. */
|
|
6297
6387
|
generateRecoveryCodes(data?: GenerateRecoveryCodesRequest): Promise<RecoveryCodesResponse>;
|
|
6388
|
+
/** Disable a specific two-factor authentication method. */
|
|
6298
6389
|
disableTwoFactorMethod(methodId: number): Promise<TwoFactorOperationResponse>;
|
|
6390
|
+
/** Update settings for a two-factor authentication method. */
|
|
6299
6391
|
updateTwoFactorMethod(data: UpdateTwoFactorMethodRequest): Promise<TwoFactorOperationResponse>;
|
|
6392
|
+
/** Verify a TOTP code during login to complete two-factor authentication. */
|
|
6300
6393
|
verifyTOTPAuth(tempToken: string, code: string): Promise<{
|
|
6301
6394
|
token: string;
|
|
6302
6395
|
accountId: number;
|
|
6303
6396
|
}>;
|
|
6397
|
+
/** Verify a recovery code during login to complete two-factor authentication. */
|
|
6304
6398
|
verifyRecoveryCodeAuth(tempToken: string, code: string): Promise<{
|
|
6305
6399
|
token: string;
|
|
6306
6400
|
accountId: number;
|
|
6307
6401
|
}>;
|
|
6402
|
+
/** Get WebAuthn credential request options for two-factor login verification. */
|
|
6308
6403
|
getWebAuthnAuthOptions(tempToken: string): Promise<{
|
|
6309
6404
|
credentialRequestOptions: {
|
|
6310
6405
|
challenge: string;
|
|
@@ -6317,10 +6412,12 @@ declare class AuthApi extends BaseApiClient {
|
|
|
6317
6412
|
userVerification: string;
|
|
6318
6413
|
};
|
|
6319
6414
|
}>;
|
|
6415
|
+
/** Verify a WebAuthn assertion during login to complete two-factor authentication. */
|
|
6320
6416
|
verifyWebAuthnAuth(tempToken: string, assertionResponse: any): Promise<{
|
|
6321
6417
|
token: string;
|
|
6322
6418
|
accountId: number;
|
|
6323
6419
|
}>;
|
|
6420
|
+
/** List all organizations the current account belongs to. */
|
|
6324
6421
|
getMyOrganizations(): Promise<AdminAccountOrgMembership[]>;
|
|
6325
6422
|
/**
|
|
6326
6423
|
* Request to change email or phone credential.
|
|
@@ -6396,13 +6493,11 @@ interface UpdateBuilderRequest {
|
|
|
6396
6493
|
*/
|
|
6397
6494
|
declare class BuildersApi extends BaseApiClient {
|
|
6398
6495
|
/**
|
|
6399
|
-
* List all builders
|
|
6400
|
-
* @param all - If true, return all (superuser access required)
|
|
6496
|
+
* List all builders (optionally all with superuser access)
|
|
6401
6497
|
*/
|
|
6402
6498
|
listBuilders(all?: boolean): Promise<BuilderListResponse>;
|
|
6403
6499
|
/**
|
|
6404
6500
|
* Get a specific builder by UUID
|
|
6405
|
-
* @param builderId - Builder UUID
|
|
6406
6501
|
*/
|
|
6407
6502
|
getBuilder(builderId: string): Promise<Builder>;
|
|
6408
6503
|
/**
|
|
@@ -6426,49 +6521,83 @@ declare class BuildersApi extends BaseApiClient {
|
|
|
6426
6521
|
}
|
|
6427
6522
|
|
|
6428
6523
|
declare class CalendarsApi extends BaseApiClient {
|
|
6524
|
+
/** List calendars in a workspace with optional pagination. */
|
|
6429
6525
|
getCalendars(wid: string, params?: {
|
|
6430
6526
|
page?: number;
|
|
6431
6527
|
pageSize?: number;
|
|
6432
6528
|
includeSchedules?: boolean;
|
|
6433
6529
|
}): Promise<PaginatedResponse<Calendar>>;
|
|
6530
|
+
/** Get a single calendar by ID, optionally including its schedules. */
|
|
6434
6531
|
getCalendar(wid: string, id: number, includeSchedules?: boolean): Promise<Calendar>;
|
|
6532
|
+
/** Create a new calendar in the workspace. */
|
|
6435
6533
|
createCalendar(wid: string, calendar: CalendarFormData): Promise<Calendar>;
|
|
6534
|
+
/** Update a calendar's configuration. */
|
|
6436
6535
|
updateCalendar(wid: string, id: number, calendar: Partial<CalendarFormData>): Promise<Calendar>;
|
|
6536
|
+
/** Delete a calendar by ID. */
|
|
6437
6537
|
deleteCalendar(wid: string, id: number): Promise<void>;
|
|
6538
|
+
/** List all schedules for a calendar. */
|
|
6438
6539
|
getCalendarSchedules(wid: string, calendarId: number): Promise<CalendarSchedule[]>;
|
|
6540
|
+
/** Create a new schedule for a calendar. */
|
|
6439
6541
|
createCalendarSchedule(wid: string, calendarId: number, schedule: CalendarScheduleFormData): Promise<CalendarSchedule>;
|
|
6542
|
+
/** Update an existing calendar schedule. */
|
|
6440
6543
|
updateCalendarSchedule(wid: string, calendarId: number, scheduleId: number, schedule: Partial<CalendarScheduleFormData>): Promise<CalendarSchedule>;
|
|
6544
|
+
/** Delete a calendar schedule. */
|
|
6441
6545
|
deleteCalendarSchedule(wid: string, calendarId: number, scheduleId: number): Promise<void>;
|
|
6546
|
+
/** Check availability for a time range on a calendar. */
|
|
6442
6547
|
checkAvailability(wid: string, calendarId: number, check: AvailabilityCheck): Promise<AvailabilityResponse>;
|
|
6548
|
+
/** Get available booking slots for a calendar within a date range. */
|
|
6443
6549
|
getAvailableSlots(wid: string, calendarId: number, request: AvailableSlotsRequest): Promise<AvailableSlotsResponse>;
|
|
6550
|
+
/** List calendar events with optional filtering by date range, status, and member. */
|
|
6444
6551
|
getCalendarEvents(wid: string, options?: CalendarEventsQueryParams): Promise<PaginatedResponse<CalendarEvent>>;
|
|
6552
|
+
/** Get a single calendar event by ID. */
|
|
6445
6553
|
getCalendarEvent(wid: string, eventId: number): Promise<CalendarEvent>;
|
|
6554
|
+
/** Create a new calendar event. */
|
|
6446
6555
|
createCalendarEvent(wid: string, event: CalendarEventFormData): Promise<CalendarEvent>;
|
|
6556
|
+
/** Update an existing calendar event. */
|
|
6447
6557
|
updateCalendarEvent(wid: string, eventId: number, event: Partial<CalendarEventFormData>): Promise<CalendarEvent>;
|
|
6558
|
+
/** Cancel a calendar event with an optional reason. */
|
|
6448
6559
|
cancelCalendarEvent(wid: string, eventId: number, reason?: string): Promise<CalendarEvent>;
|
|
6560
|
+
/** Delete a calendar event by ID. */
|
|
6449
6561
|
deleteCalendarEvent(wid: string, eventId: number): Promise<void>;
|
|
6562
|
+
/** Update an attendee's details on a calendar event. */
|
|
6450
6563
|
updateEventAttendee(wid: string, eventId: number, attendeeId: number, update: UpdateAttendeeRequest): Promise<void>;
|
|
6564
|
+
/** List all calendar event types in the workspace. */
|
|
6451
6565
|
getEventTypes(wid: string): Promise<PaginatedResponse<CalendarEventType>>;
|
|
6566
|
+
/** Get a single calendar event type by ID. */
|
|
6452
6567
|
getEventType(wid: string, id: number): Promise<CalendarEventType>;
|
|
6568
|
+
/** Create a new calendar event type. */
|
|
6453
6569
|
createEventType(wid: string, eventType: CalendarEventTypeFormData): Promise<CalendarEventType>;
|
|
6570
|
+
/** Update an existing calendar event type. */
|
|
6454
6571
|
updateEventType(wid: string, id: number, eventType: Partial<CalendarEventTypeFormData>): Promise<CalendarEventType>;
|
|
6572
|
+
/** Delete a calendar event type by ID. */
|
|
6455
6573
|
deleteEventType(wid: string, id: number): Promise<void>;
|
|
6574
|
+
/** Generate or regenerate an iCal feed token for a calendar. */
|
|
6456
6575
|
generateICalToken(wid: string, calendarId: number, regenerate?: boolean): Promise<ICalFeedTokenResponse>;
|
|
6576
|
+
/** Revoke the iCal feed token for a calendar, disabling external feed access. */
|
|
6457
6577
|
revokeICalToken(wid: string, calendarId: number): Promise<{
|
|
6458
6578
|
success: boolean;
|
|
6459
6579
|
message: string;
|
|
6460
6580
|
}>;
|
|
6581
|
+
/** Get the iCal feed URL for a calendar. */
|
|
6461
6582
|
getICalFeedUrl(wid: string, calendarId: number): Promise<ICalFeedUrlResponse>;
|
|
6583
|
+
/** List Google Calendars available for linking. */
|
|
6462
6584
|
listGoogleCalendars(wid: string): Promise<GoogleCalendarInfo[]>;
|
|
6585
|
+
/** Get the Google Calendar integration status for the workspace. */
|
|
6463
6586
|
getGoogleCalendarStatus(wid: string): Promise<GoogleCalendarStatusResponse | GoogleCalendarInsufficientScopesResponse>;
|
|
6587
|
+
/** Link a calendar to a Google Calendar for two-way sync. */
|
|
6464
6588
|
linkCalendarToGoogle(wid: string, calendarId: number, request: LinkCalendarRequest): Promise<LinkCalendarResponse>;
|
|
6589
|
+
/** Unlink a calendar from its connected Google Calendar. */
|
|
6465
6590
|
unlinkCalendarFromGoogle(wid: string, calendarId: number): Promise<UnlinkCalendarResponse>;
|
|
6591
|
+
/** Trigger a manual sync between a calendar and its linked Google Calendar. */
|
|
6466
6592
|
syncCalendarWithGoogle(wid: string, calendarId: number): Promise<SyncCalendarResponse>;
|
|
6467
6593
|
}
|
|
6468
6594
|
|
|
6469
6595
|
declare class CallsApi extends BaseApiClient {
|
|
6596
|
+
/** Initiate a new outbound call. */
|
|
6470
6597
|
initiateCall(wid: string, request: InitiateCallRequest): Promise<InitiateCallResponse>;
|
|
6598
|
+
/** Get a voice authentication token for real-time audio. */
|
|
6471
6599
|
getVoiceToken(wid: string): Promise<VoiceTokenResponse>;
|
|
6600
|
+
/** Get message timing data for a chat recording. */
|
|
6472
6601
|
getMessageTiming(wid: string, chatId: number): Promise<MessageTimingResponse>;
|
|
6473
6602
|
}
|
|
6474
6603
|
|
|
@@ -6531,19 +6660,28 @@ declare class ChatsApi extends BaseApiClient {
|
|
|
6531
6660
|
* Excludes pagination params when includePagination is false.
|
|
6532
6661
|
*/
|
|
6533
6662
|
private buildChatsQueryParams;
|
|
6663
|
+
/** List chats with optional filtering, sorting, and pagination. */
|
|
6534
6664
|
getChats(wid: string, options?: GetChatsOptions): Promise<PaginatedResponse<Chat>>;
|
|
6665
|
+
/** Export multiple chats as a downloadable blob. */
|
|
6535
6666
|
exportChats(wid: string, options?: GetChatsOptions): Promise<Blob>;
|
|
6667
|
+
/** Export a single chat in the specified format as a downloadable blob. */
|
|
6536
6668
|
exportChat(wid: string, chatId: number, format?: 'jsonl'): Promise<Blob>;
|
|
6669
|
+
/** Get a single chat by ID. */
|
|
6537
6670
|
getChat(wid: string, id: number): Promise<Chat>;
|
|
6671
|
+
/** Get token usage statistics for a chat. */
|
|
6538
6672
|
getChatTokenUsage(wid: string, chatId: number): Promise<ChatTokenUsage>;
|
|
6673
|
+
/** Get todo items extracted from a chat. */
|
|
6539
6674
|
getChatTodos(wid: string, chatId: number): Promise<{
|
|
6540
6675
|
todos: TodoItem[];
|
|
6541
6676
|
}>;
|
|
6677
|
+
/** Get loaded and revealed skills for a chat. */
|
|
6542
6678
|
getChatSkills(wid: string, chatId: number): Promise<{
|
|
6543
6679
|
loadedSkills: string[];
|
|
6544
6680
|
revealedSkills: string[];
|
|
6545
6681
|
}>;
|
|
6682
|
+
/** List chat IDs that need a response. */
|
|
6546
6683
|
getChatsNeedsResponse(wid: string): Promise<number[]>;
|
|
6684
|
+
/** Get daily chat creation statistics with optional filtering. */
|
|
6547
6685
|
getChatsDailyCreationStats(wid: string, options?: {
|
|
6548
6686
|
archived?: boolean;
|
|
6549
6687
|
isTest?: boolean;
|
|
@@ -6557,24 +6695,37 @@ declare class ChatsApi extends BaseApiClient {
|
|
|
6557
6695
|
testing?: number;
|
|
6558
6696
|
}>;
|
|
6559
6697
|
}>;
|
|
6698
|
+
/** Archive a chat. */
|
|
6560
6699
|
archiveChat(wid: string, id: number): Promise<void>;
|
|
6700
|
+
/** Unarchive a chat. */
|
|
6561
6701
|
unarchiveChat(wid: string, id: number): Promise<void>;
|
|
6702
|
+
/** Create a new chat. */
|
|
6562
6703
|
createChat(wid: string, chat: ChatFormData): Promise<Chat>;
|
|
6704
|
+
/** Delete a chat, optionally providing a reason. */
|
|
6563
6705
|
deleteChat(wid: string, id: number, reason?: string): Promise<void>;
|
|
6706
|
+
/** Update a chat's properties. */
|
|
6564
6707
|
updateChat(wid: string, id: number, chat: Partial<ChatFormData>): Promise<Chat>;
|
|
6708
|
+
/** Update the mute status of a chat. */
|
|
6565
6709
|
updateChatMute(wid: string, id: number, muted: boolean): Promise<{
|
|
6566
6710
|
id: number;
|
|
6567
6711
|
muted: boolean;
|
|
6568
6712
|
}>;
|
|
6713
|
+
/** Update the needs-response flag on a chat. */
|
|
6569
6714
|
updateChatNeedsResponse(wid: string, id: number, needsResponse: boolean): Promise<{
|
|
6570
6715
|
id: number;
|
|
6571
6716
|
needsResponse: boolean;
|
|
6572
6717
|
}>;
|
|
6718
|
+
/** Generate an AI summary for a chat, optionally updating its labels. */
|
|
6573
6719
|
summarizeChat(wid: string, id: number, updateLabels?: boolean): Promise<Chat>;
|
|
6720
|
+
/** List messages in a chat with optional pagination. */
|
|
6574
6721
|
getChatMessages(wid: string, id: number, limit?: number, offset?: number): Promise<ChatMessage[]>;
|
|
6722
|
+
/** List messages associated with a specific tool call in a chat. */
|
|
6575
6723
|
getChatToolCallMessages(wid: string, chatId: number, callId: string, limit?: number, offset?: number): Promise<ChatMessage[]>;
|
|
6724
|
+
/** Get the tools available in a chat. */
|
|
6576
6725
|
getChatTools(wid: string, chatId: number): Promise<ToolsResponse>;
|
|
6726
|
+
/** Initiate an outbound phone call from a chat. */
|
|
6577
6727
|
initiateOutboundCall(wid: string, chatId: number, phoneNumberId: number): Promise<OutboundCallResponse>;
|
|
6728
|
+
/** Send a message as the assistant in a chat, optionally including tool calls. */
|
|
6578
6729
|
sendAssistantMessage(wid: string, chatId: number, message: string, toolCalls?: Array<{
|
|
6579
6730
|
type: 'function';
|
|
6580
6731
|
id: string;
|
|
@@ -6591,6 +6742,7 @@ declare class ChatsApi extends BaseApiClient {
|
|
|
6591
6742
|
content: string;
|
|
6592
6743
|
received_at: string | null;
|
|
6593
6744
|
}>;
|
|
6745
|
+
/** Rate a chat message by its UUID. */
|
|
6594
6746
|
rateMessage(wid: string, chatId: number, messageUuid: string, rating: number): Promise<{
|
|
6595
6747
|
status: string;
|
|
6596
6748
|
detail?: string;
|
|
@@ -6604,11 +6756,13 @@ declare class ChatsApi extends BaseApiClient {
|
|
|
6604
6756
|
* Send a user message in a chat (works for DM and regular chats).
|
|
6605
6757
|
*/
|
|
6606
6758
|
sendChatMessage(wid: string, chatId: number, content: string): Promise<ChatMessage>;
|
|
6759
|
+
/** Get assignment tasks linked to a chat. */
|
|
6607
6760
|
getChatAssignmentTasks(wid: string, chatId: number): Promise<Array<{
|
|
6608
6761
|
id: number;
|
|
6609
6762
|
name: string;
|
|
6610
6763
|
isCurrent: boolean;
|
|
6611
6764
|
}>>;
|
|
6765
|
+
/** Create a chat completion using the OpenAI-compatible API (used by eval scripts). */
|
|
6612
6766
|
createChatCompletion(wid: string, chatId: number, data: {
|
|
6613
6767
|
model?: string;
|
|
6614
6768
|
messages: Array<{
|
|
@@ -6634,17 +6788,29 @@ declare class ChatsApi extends BaseApiClient {
|
|
|
6634
6788
|
total_tokens: number;
|
|
6635
6789
|
};
|
|
6636
6790
|
}>;
|
|
6791
|
+
/** List all chat labels in a workspace. */
|
|
6637
6792
|
getChatLabels(wid: string): Promise<ChatLabel[]>;
|
|
6793
|
+
/** Get a chat label by ID. */
|
|
6638
6794
|
getChatLabel(wid: string, id: number): Promise<ChatLabel>;
|
|
6795
|
+
/** Get a chat label by UUID. */
|
|
6639
6796
|
getChatLabelByUuid(wid: string, uuid: string): Promise<ChatLabel>;
|
|
6797
|
+
/** Create a new chat label. */
|
|
6640
6798
|
createChatLabel(wid: string, label: ChatLabelFormData): Promise<ChatLabel>;
|
|
6799
|
+
/** Update a chat label. */
|
|
6641
6800
|
updateChatLabel(wid: string, id: number, label: Partial<ChatLabelFormData>): Promise<ChatLabel>;
|
|
6801
|
+
/** Delete a chat label. */
|
|
6642
6802
|
deleteChatLabel(wid: string, id: number): Promise<void>;
|
|
6803
|
+
/** List all chat filters in a workspace. */
|
|
6643
6804
|
getChatFilters(wid: string): Promise<ChatFilter[]>;
|
|
6805
|
+
/** Get a chat filter by ID. */
|
|
6644
6806
|
getChatFilter(wid: string, id: number): Promise<ChatFilter>;
|
|
6807
|
+
/** Get a chat filter by UUID. */
|
|
6645
6808
|
getChatFilterByUuid(wid: string, uuid: string): Promise<ChatFilter>;
|
|
6809
|
+
/** Create a new chat filter. */
|
|
6646
6810
|
createChatFilter(wid: string, filter: ChatFilterFormData): Promise<ChatFilter>;
|
|
6811
|
+
/** Update a chat filter. */
|
|
6647
6812
|
updateChatFilter(wid: string, id: number, filter: Partial<ChatFilterFormData>): Promise<ChatFilter>;
|
|
6813
|
+
/** Delete a chat filter. */
|
|
6648
6814
|
deleteChatFilter(wid: string, id: number): Promise<void>;
|
|
6649
6815
|
}
|
|
6650
6816
|
|
|
@@ -6696,24 +6862,34 @@ declare class CustomToolkitsApi extends BaseApiClient {
|
|
|
6696
6862
|
}
|
|
6697
6863
|
|
|
6698
6864
|
declare class DataTypesApi extends BaseApiClient {
|
|
6865
|
+
/** List all data types for a workspace, optionally filtering by archived status. */
|
|
6699
6866
|
getDataTypes(wid: string, options?: {
|
|
6700
6867
|
archived?: boolean;
|
|
6701
6868
|
}): Promise<DataType[]>;
|
|
6869
|
+
/** Get a single data type by ID. */
|
|
6702
6870
|
getDataType(wid: string, id: number): Promise<DataType>;
|
|
6871
|
+
/** Get a single data type by its slug. */
|
|
6703
6872
|
getDataTypeBySlug(wid: string, slug: string): Promise<DataType>;
|
|
6873
|
+
/** Create a new data type definition in the workspace. */
|
|
6704
6874
|
createDataType(wid: string, dataType: DataTypeFormData): Promise<DataType>;
|
|
6875
|
+
/** Update an existing data type definition. */
|
|
6705
6876
|
updateDataType(wid: string, id: number, dataType: Partial<DataTypeFormData>): Promise<DataType>;
|
|
6877
|
+
/** Delete a data type definition by ID. */
|
|
6706
6878
|
deleteDataType(wid: string, id: number): Promise<void>;
|
|
6879
|
+
/** Archive a data type, hiding it from default listings. */
|
|
6707
6880
|
archiveDataType(wid: string, id: number): Promise<{
|
|
6708
6881
|
status: string;
|
|
6709
6882
|
}>;
|
|
6883
|
+
/** Restore an archived data type back to active status. */
|
|
6710
6884
|
unarchiveDataType(wid: string, id: number): Promise<{
|
|
6711
6885
|
status: string;
|
|
6712
6886
|
}>;
|
|
6887
|
+
/** Clone a data type with a new name and slug. */
|
|
6713
6888
|
cloneDataType(wid: string, id: number, data: {
|
|
6714
6889
|
name: string;
|
|
6715
6890
|
slug: string;
|
|
6716
6891
|
}): Promise<DataType>;
|
|
6892
|
+
/** List data records for a data type with optional filtering and pagination. */
|
|
6717
6893
|
getDataRecords(wid: string, dataTypeId: number, options?: {
|
|
6718
6894
|
memberId?: number;
|
|
6719
6895
|
search?: string;
|
|
@@ -6721,19 +6897,27 @@ declare class DataTypesApi extends BaseApiClient {
|
|
|
6721
6897
|
page?: number;
|
|
6722
6898
|
pageSize?: number;
|
|
6723
6899
|
}): Promise<DataRecordsPaginatedResponse>;
|
|
6900
|
+
/** Get a single data record by ID. */
|
|
6724
6901
|
getDataRecord(wid: string, recordId: number): Promise<DataRecord>;
|
|
6902
|
+
/** Create a new data record under the specified data type. */
|
|
6725
6903
|
createDataRecord(wid: string, dataTypeId: number, record: DataRecordFormData): Promise<DataRecord>;
|
|
6904
|
+
/** Update an existing data record's field values. */
|
|
6726
6905
|
updateDataRecord(wid: string, dataTypeId: number, recordId: number, record: DataRecordFormData): Promise<DataRecord>;
|
|
6906
|
+
/** Delete a data record by ID. */
|
|
6727
6907
|
deleteDataRecord(wid: string, dataTypeId: number, recordId: number): Promise<void>;
|
|
6908
|
+
/** Get the change history for a data record. */
|
|
6728
6909
|
getDataRecordChanges(wid: string, dataTypeId: number, recordId: number): Promise<DataRecordUpdate[]>;
|
|
6910
|
+
/** Upsert a data record by external ID, creating or updating as needed. */
|
|
6729
6911
|
upsertDataRecord(wid: string, dataTypeId: number, externalId: string | number, data: {
|
|
6730
6912
|
fieldValues: Record<string, any>;
|
|
6731
6913
|
}): Promise<DataRecord>;
|
|
6914
|
+
/** Toggle search indexing for a data type field. */
|
|
6732
6915
|
toggleFieldIndex(wid: string, dataTypeId: number, fieldSlug: string, shouldIndex: boolean): Promise<{
|
|
6733
6916
|
status: string;
|
|
6734
6917
|
message: string;
|
|
6735
6918
|
indexStatus?: string;
|
|
6736
6919
|
}>;
|
|
6920
|
+
/** Get the index status for a data type field. */
|
|
6737
6921
|
getFieldIndexStatus(wid: string, dataTypeId: number, fieldSlug: string): Promise<{
|
|
6738
6922
|
fieldSlug: string;
|
|
6739
6923
|
fieldName: string;
|
|
@@ -6882,8 +7066,11 @@ declare class SlackAppsApi extends BaseApiClient {
|
|
|
6882
7066
|
}
|
|
6883
7067
|
|
|
6884
7068
|
declare class EventsApi extends BaseApiClient {
|
|
7069
|
+
/** List all event rules in the workspace. */
|
|
6885
7070
|
getEventRules(wid: string): Promise<EventRule[]>;
|
|
7071
|
+
/** Get the available action types that can be used in event rules. */
|
|
6886
7072
|
getAvailableActions(wid: string): Promise<EventActionMappingsResponse>;
|
|
7073
|
+
/** Search event rules by object type, event type, action type, and related entities. */
|
|
6887
7074
|
searchEventRules(wid: string, params: {
|
|
6888
7075
|
objectType?: EventRuleObjectType;
|
|
6889
7076
|
eventType?: EventRuleEventType;
|
|
@@ -6894,20 +7081,33 @@ declare class EventsApi extends BaseApiClient {
|
|
|
6894
7081
|
workflowId?: number;
|
|
6895
7082
|
includeDisabled?: boolean;
|
|
6896
7083
|
}): Promise<EventRule[]>;
|
|
7084
|
+
/** Get a single event rule by ID. */
|
|
6897
7085
|
getEventRule(wid: string, id: number): Promise<EventRule>;
|
|
7086
|
+
/** Create a new event rule in the workspace. */
|
|
6898
7087
|
createEventRule(wid: string, rule: EventRuleFormData): Promise<EventRule>;
|
|
7088
|
+
/** Update an existing event rule. */
|
|
6899
7089
|
updateEventRule(wid: string, id: number, rule: UpdateEventRuleFormData): Promise<EventRule>;
|
|
7090
|
+
/** Delete an event rule by ID. */
|
|
6900
7091
|
deleteEventRule(wid: string, id: number): Promise<void>;
|
|
7092
|
+
/** Reorder event rules by specifying the desired rule ID sequence. */
|
|
6901
7093
|
reorderEventRules(wid: string, ruleIds: number[]): Promise<{
|
|
6902
7094
|
status: string;
|
|
6903
7095
|
}>;
|
|
7096
|
+
/** List webhook logs with optional filtering by event type and success status. */
|
|
6904
7097
|
getWebhookLogs(wid: string, options?: WebhookLogsQueryParams): Promise<PaginatedResponse<WebhookLog>>;
|
|
7098
|
+
/** List event rule executions with cursor-based pagination and filtering. */
|
|
6905
7099
|
getRuleExecutions(wid: string, options?: RuleExecutionsQueryParams): Promise<CursorPaginatedResponse<RuleExecution>>;
|
|
7100
|
+
/** List scheduled events with optional pagination and active status filtering. */
|
|
6906
7101
|
getEvents(wid: string, options?: EventsQueryParams): Promise<PaginatedResponse<Event>>;
|
|
7102
|
+
/** Get a single scheduled event by ID. */
|
|
6907
7103
|
getEvent(wid: string, id: number): Promise<Event>;
|
|
7104
|
+
/** Create a new scheduled event. */
|
|
6908
7105
|
createEvent(wid: string, event: CreateEventRequest): Promise<Event>;
|
|
7106
|
+
/** Update an existing scheduled event. */
|
|
6909
7107
|
updateEvent(wid: string, id: number, event: UpdateEventRequest): Promise<Event>;
|
|
7108
|
+
/** Delete a scheduled event by ID. */
|
|
6910
7109
|
deleteEvent(wid: string, id: number): Promise<void>;
|
|
7110
|
+
/** Manually trigger a scheduled event for a specific member or member filter. */
|
|
6911
7111
|
runEvent(wid: string, id: number, params: {
|
|
6912
7112
|
memberId?: number;
|
|
6913
7113
|
memberFilterId?: number;
|
|
@@ -6915,6 +7115,7 @@ declare class EventsApi extends BaseApiClient {
|
|
|
6915
7115
|
status: string;
|
|
6916
7116
|
message: string;
|
|
6917
7117
|
}>;
|
|
7118
|
+
/** List event run history with optional filtering by event and status. */
|
|
6918
7119
|
getEventRuns(wid: string, options?: {
|
|
6919
7120
|
page?: number;
|
|
6920
7121
|
pageSize?: number;
|
|
@@ -6923,6 +7124,7 @@ declare class EventsApi extends BaseApiClient {
|
|
|
6923
7124
|
eventId?: number;
|
|
6924
7125
|
status?: string;
|
|
6925
7126
|
}): Promise<PaginatedResponse<EventRun>>;
|
|
7127
|
+
/** Delete all run history for a scheduled event. */
|
|
6926
7128
|
resetEventRuns(wid: string, eventId: number): Promise<{
|
|
6927
7129
|
status: string;
|
|
6928
7130
|
message: string;
|
|
@@ -7090,22 +7292,11 @@ interface FeaturesRegistryResponse {
|
|
|
7090
7292
|
}
|
|
7091
7293
|
declare class FeaturesApi extends BaseApiClient {
|
|
7092
7294
|
/**
|
|
7093
|
-
* Get the full feature registry with all metadata
|
|
7094
|
-
*
|
|
7095
|
-
* Returns all feature definitions including:
|
|
7096
|
-
* - Dependencies between features
|
|
7097
|
-
* - Visibility settings for upgrade prompts
|
|
7098
|
-
* - Associated abilities, tools, routes, and event types
|
|
7099
|
-
* - UI configuration (icons, sidebar groups)
|
|
7100
|
-
*
|
|
7101
|
-
* @returns Feature registry response with all feature definitions
|
|
7295
|
+
* Get the full feature registry with all metadata
|
|
7102
7296
|
*/
|
|
7103
7297
|
getFeatureRegistry(): Promise<FeaturesRegistryResponse>;
|
|
7104
7298
|
/**
|
|
7105
|
-
* Get a specific feature definition by slug
|
|
7106
|
-
*
|
|
7107
|
-
* @param slug - The feature slug (e.g., "calendar", "gmail")
|
|
7108
|
-
* @returns The full feature definition
|
|
7299
|
+
* Get a specific feature definition by slug
|
|
7109
7300
|
*/
|
|
7110
7301
|
getFeatureBySlug(slug: string): Promise<FeatureDefinition>;
|
|
7111
7302
|
}
|
|
@@ -7175,6 +7366,7 @@ declare class FhirConnectionsApi extends BaseApiClient {
|
|
|
7175
7366
|
}
|
|
7176
7367
|
|
|
7177
7368
|
declare class FilesApi extends BaseApiClient {
|
|
7369
|
+
/** List files in a workspace with optional folder filtering, sorting, and search. */
|
|
7178
7370
|
getFiles(wid: string, options?: {
|
|
7179
7371
|
folderId?: number;
|
|
7180
7372
|
page?: number;
|
|
@@ -7183,38 +7375,68 @@ declare class FilesApi extends BaseApiClient {
|
|
|
7183
7375
|
sortOrder?: SortOrder;
|
|
7184
7376
|
search?: string;
|
|
7185
7377
|
}): Promise<PaginatedResponse<File$1>>;
|
|
7378
|
+
/** Get a single file by ID. */
|
|
7186
7379
|
getFile(wid: string, id: number): Promise<File$1>;
|
|
7380
|
+
/** Create a new file record in the workspace. */
|
|
7187
7381
|
createFile(wid: string, file: FileFormData): Promise<File$1>;
|
|
7382
|
+
/** Update an existing file's metadata. */
|
|
7188
7383
|
updateFile(wid: string, id: number, file: Partial<FileFormData>): Promise<File$1>;
|
|
7384
|
+
/** Delete a file by ID. */
|
|
7189
7385
|
deleteFile(wid: string, id: number): Promise<void>;
|
|
7386
|
+
/** Convert a file to the specified format (text, markdown, or PDF). */
|
|
7190
7387
|
convertFile(wid: string, fileId: number, format?: 'text' | 'markdown' | 'pdf'): Promise<FileConversionResponse>;
|
|
7388
|
+
/** Generate a pre-signed upload URL for uploading file content. */
|
|
7191
7389
|
generateFileUploadUrl(wid: string, request: FileUploadRequest): Promise<FileUploadResponse>;
|
|
7390
|
+
/** List folders in a workspace, optionally filtered by parent folder. */
|
|
7192
7391
|
getFolders(wid: string, parentId?: number): Promise<FileFolder[]>;
|
|
7392
|
+
/** Get a single folder by ID. */
|
|
7193
7393
|
getFolder(wid: string, id: number): Promise<FileFolder>;
|
|
7394
|
+
/** Create a new folder in the workspace. */
|
|
7194
7395
|
createFolder(wid: string, directory: FileFolderFormData): Promise<FileFolder>;
|
|
7396
|
+
/** Update a folder's properties. */
|
|
7195
7397
|
updateFolder(wid: string, id: number, directory: Partial<FileFolderFormData>): Promise<FileFolder>;
|
|
7398
|
+
/** Delete a folder by ID. */
|
|
7196
7399
|
deleteFolder(wid: string, id: number): Promise<void>;
|
|
7400
|
+
/** Trigger reindexing of a folder's contents for search. */
|
|
7197
7401
|
reindexFolder(wid: string, id: number): Promise<{
|
|
7198
7402
|
status: string;
|
|
7199
7403
|
message: string;
|
|
7200
7404
|
}>;
|
|
7405
|
+
/** Search for content within a folder using semantic search. */
|
|
7201
7406
|
searchFolder(wid: string, id: number, params: FolderSearchParams): Promise<FolderSearchResult[]>;
|
|
7407
|
+
/** List all file labels in the workspace. */
|
|
7202
7408
|
getFileLabels(wid: string): Promise<FileLabel[]>;
|
|
7409
|
+
/** Get a single file label by ID. */
|
|
7203
7410
|
getFileLabel(wid: string, id: number): Promise<FileLabel>;
|
|
7411
|
+
/** Get a single file label by UUID. */
|
|
7204
7412
|
getFileLabelByUuid(wid: string, uuid: string): Promise<FileLabel>;
|
|
7413
|
+
/** Create a new file label in the workspace. */
|
|
7205
7414
|
createFileLabel(wid: string, label: FileLabelFormData): Promise<FileLabel>;
|
|
7415
|
+
/** Update a file label's properties. */
|
|
7206
7416
|
updateFileLabel(wid: string, id: number, label: Partial<FileLabelFormData>): Promise<FileLabel>;
|
|
7417
|
+
/** Delete a file label by ID. */
|
|
7207
7418
|
deleteFileLabel(wid: string, id: number): Promise<void>;
|
|
7419
|
+
/** Get sharing settings for a file. */
|
|
7208
7420
|
getFileSharing(wid: string, fileId: number): Promise<FileSharingResponse>;
|
|
7421
|
+
/** Update the role associations for a file's sharing permissions. */
|
|
7209
7422
|
updateFileRoles(wid: string, fileId: number, data: UpdateFileRoleAssociationsRequest): Promise<FileRoleAssociationResponse[]>;
|
|
7423
|
+
/** Remove a role's access to a file. */
|
|
7210
7424
|
removeFileRole(wid: string, fileId: number, roleId: number): Promise<void>;
|
|
7425
|
+
/** Get sharing settings for a folder. */
|
|
7211
7426
|
getFolderSharing(wid: string, folderId: number): Promise<FolderSharingResponse>;
|
|
7427
|
+
/** Update the role associations for a folder's sharing permissions. */
|
|
7212
7428
|
updateFolderRoles(wid: string, folderId: number, data: UpdateFileRoleAssociationsRequest): Promise<FileRoleAssociationResponse[]>;
|
|
7429
|
+
/** Remove a role's access to a folder. */
|
|
7213
7430
|
removeFolderRole(wid: string, folderId: number, roleId: number): Promise<void>;
|
|
7431
|
+
/** Update all sharing settings for a file in a single request. */
|
|
7214
7432
|
updateFileSharing(wid: string, fileId: number, data: UpdateFileSharingRequest): Promise<FileSharingResponse>;
|
|
7433
|
+
/** Update all sharing settings for a folder in a single request. */
|
|
7215
7434
|
updateFolderSharing(wid: string, folderId: number, data: UpdateFileSharingRequest): Promise<FolderSharingResponse>;
|
|
7435
|
+
/** Get metadata for a publicly shared file (unauthenticated). */
|
|
7216
7436
|
getPublicFile(wid: string, fileId: number): Promise<PublicFileMetadata>;
|
|
7437
|
+
/** Get contents of a publicly shared folder (unauthenticated). */
|
|
7217
7438
|
getPublicFolder(wid: string, folderId: number, page?: number, pageSize?: number): Promise<PublicFolderContents>;
|
|
7439
|
+
/** List files within a publicly shared folder (unauthenticated). */
|
|
7218
7440
|
getPublicFolderFiles(wid: string, folderId: number, page?: number, pageSize?: number): Promise<{
|
|
7219
7441
|
files: PublicFileMetadata[];
|
|
7220
7442
|
pagination?: any;
|
|
@@ -7222,23 +7444,37 @@ declare class FilesApi extends BaseApiClient {
|
|
|
7222
7444
|
}
|
|
7223
7445
|
|
|
7224
7446
|
declare class InboxesApi extends BaseApiClient {
|
|
7447
|
+
/** List all inboxes in a workspace. */
|
|
7225
7448
|
getInboxes(wid: string): Promise<PaginatedResponse<Inbox>>;
|
|
7449
|
+
/** Get an inbox by ID. */
|
|
7226
7450
|
getInbox(wid: string, id: number): Promise<Inbox>;
|
|
7451
|
+
/** Create a new inbox. */
|
|
7227
7452
|
createInbox(wid: string, inbox: InboxCreateRequest): Promise<Inbox>;
|
|
7453
|
+
/** Update an inbox. */
|
|
7228
7454
|
updateInbox(wid: string, id: number, inbox: InboxUpdateRequest): Promise<Inbox>;
|
|
7455
|
+
/** Delete an inbox. */
|
|
7229
7456
|
deleteInbox(wid: string, id: number): Promise<void>;
|
|
7457
|
+
/** List emails in an inbox with optional pagination and attachment inclusion. */
|
|
7230
7458
|
getInboxEmails(wid: string, inboxId: number, options?: {
|
|
7231
7459
|
limit?: number;
|
|
7232
7460
|
offset?: number;
|
|
7233
7461
|
includeAttachments?: boolean;
|
|
7234
7462
|
}): Promise<PaginatedResponse<Email>>;
|
|
7463
|
+
/** Get a single email from an inbox. */
|
|
7235
7464
|
getInboxEmail(wid: string, inboxId: number, emailId: number): Promise<Email>;
|
|
7465
|
+
/** Mark an email as read. */
|
|
7236
7466
|
markEmailAsRead(wid: string, inboxId: number, emailId: number): Promise<Email>;
|
|
7467
|
+
/** Mark an email as unread. */
|
|
7237
7468
|
markEmailAsUnread(wid: string, inboxId: number, emailId: number): Promise<Email>;
|
|
7469
|
+
/** Convert an email to text, markdown, or PDF format. */
|
|
7238
7470
|
convertEmail(wid: string, emailId: number, format?: 'text' | 'markdown' | 'pdf'): Promise<EmailConversionResponse>;
|
|
7471
|
+
/** Download an email attachment as raw bytes. */
|
|
7239
7472
|
downloadEmailAttachment(wid: string, inboxId: number, emailId: number, attachmentId: string): Promise<ArrayBuffer>;
|
|
7473
|
+
/** List email threads in an inbox. */
|
|
7240
7474
|
getInboxThreads(wid: string, inboxId: number): Promise<any>;
|
|
7475
|
+
/** List emails in a thread by assignment ID. */
|
|
7241
7476
|
getThreadEmails(wid: string, inboxId: number, assignmentId: number): Promise<any>;
|
|
7477
|
+
/** List emails associated with a chat. */
|
|
7242
7478
|
getChatEmails(wid: string, inboxId: number, chatId: number): Promise<any>;
|
|
7243
7479
|
}
|
|
7244
7480
|
|
|
@@ -7296,9 +7532,7 @@ declare class InquiriesApi extends BaseApiClient {
|
|
|
7296
7532
|
*/
|
|
7297
7533
|
deleteInquiry(inquiryId: number): Promise<void>;
|
|
7298
7534
|
/**
|
|
7299
|
-
* Export inquiries to CSV (superuser only)
|
|
7300
|
-
* @param statusFilter Optional status filter: 'new', 'in_progress', 'done', or undefined for all
|
|
7301
|
-
* @returns A Blob containing the CSV data
|
|
7535
|
+
* Export inquiries to CSV with optional status filtering (superuser only)
|
|
7302
7536
|
*/
|
|
7303
7537
|
exportInquiriesCsv(statusFilter?: string): Promise<Blob>;
|
|
7304
7538
|
}
|
|
@@ -7406,6 +7640,7 @@ declare class McpServersApi extends BaseApiClient {
|
|
|
7406
7640
|
}
|
|
7407
7641
|
|
|
7408
7642
|
declare class MembersApi extends BaseApiClient {
|
|
7643
|
+
/** Get the currently authenticated member for a workspace. */
|
|
7409
7644
|
getCurrentMember(wid: string): Promise<CurrentMember>;
|
|
7410
7645
|
/**
|
|
7411
7646
|
* Get all members owned by the current member in this workspace.
|
|
@@ -7423,41 +7658,70 @@ declare class MembersApi extends BaseApiClient {
|
|
|
7423
7658
|
* Clear the member switch and return to the authenticated member.
|
|
7424
7659
|
*/
|
|
7425
7660
|
clearMemberSwitch(wid: string): Promise<Member>;
|
|
7661
|
+
/** Update the currently authenticated member's profile. */
|
|
7426
7662
|
updateCurrentMember(wid: string, member: Partial<MemberFormData>): Promise<Member>;
|
|
7663
|
+
/** List workspace members with pagination, filtering, and sorting. */
|
|
7427
7664
|
getWorkspaceMembers(wid: string, page?: number, pageSize?: number, filters?: {
|
|
7428
7665
|
query?: string;
|
|
7429
7666
|
role?: string;
|
|
7430
7667
|
} | any[], search?: string, role?: string, sortBy?: MemberSortField, sortOrder?: SortOrder, memberType?: 'member' | 'test' | 'anonymous' | 'agent', isArchived?: boolean, isManager?: boolean, memberTypes?: ('member' | 'test' | 'anonymous' | 'agent')[], hasAccount?: boolean, excludeIds?: number[]): Promise<PaginatedResponse<Member>>;
|
|
7668
|
+
/** Get a single workspace member by ID. */
|
|
7431
7669
|
getWorkspaceMember(wid: string, memberId: number): Promise<Member>;
|
|
7670
|
+
/** Create a new workspace member. */
|
|
7432
7671
|
createWorkspaceMember(wid: string, data: CreateWorkspaceMemberRequest): Promise<Member>;
|
|
7672
|
+
/** Update a workspace member by ID. */
|
|
7433
7673
|
updateMember(wid: string, memberId: number, data: UpdateWorkspaceMemberRequest): Promise<Member>;
|
|
7674
|
+
/** Delete a workspace member, optionally forcing removal of associated data. */
|
|
7434
7675
|
deleteMember(wid: string, memberId: number, options?: {
|
|
7435
7676
|
force?: boolean;
|
|
7436
7677
|
}): Promise<void>;
|
|
7678
|
+
/** Archive a workspace member. */
|
|
7437
7679
|
archiveMember(wid: string, memberId: number): Promise<Member>;
|
|
7680
|
+
/** Unarchive a previously archived workspace member. */
|
|
7438
7681
|
unarchiveMember(wid: string, memberId: number): Promise<Member>;
|
|
7682
|
+
/** List all saved member filters for a workspace. */
|
|
7439
7683
|
getMemberFilters(wid: string): Promise<MemberFilter[]>;
|
|
7684
|
+
/** Get a single member filter by ID. */
|
|
7440
7685
|
getMemberFilter(wid: string, filterId: number): Promise<MemberFilter>;
|
|
7686
|
+
/** Create a new saved member filter. */
|
|
7441
7687
|
createMemberFilter(wid: string, data: MemberFilterFormData): Promise<MemberFilter>;
|
|
7688
|
+
/** Update a saved member filter. */
|
|
7442
7689
|
updateMemberFilter(wid: string, filterId: number, data: Partial<MemberFilterFormData>): Promise<MemberFilter>;
|
|
7690
|
+
/** Delete a saved member filter. */
|
|
7443
7691
|
deleteMemberFilter(wid: string, filterId: number): Promise<void>;
|
|
7692
|
+
/** Get the count of members matching a saved filter. */
|
|
7444
7693
|
getMemberFilterCount(wid: string, filterId: number): Promise<{
|
|
7445
7694
|
count: number;
|
|
7446
7695
|
}>;
|
|
7696
|
+
/** List all member labels for a workspace. */
|
|
7447
7697
|
getMemberLabels(wid: string): Promise<MemberLabel[]>;
|
|
7698
|
+
/** Get a single member label by ID. */
|
|
7448
7699
|
getMemberLabel(wid: string, id: number): Promise<MemberLabel>;
|
|
7700
|
+
/** Get a single member label by UUID. */
|
|
7449
7701
|
getMemberLabelByUuid(wid: string, uuid: string): Promise<MemberLabel>;
|
|
7702
|
+
/** Create a new member label. */
|
|
7450
7703
|
createMemberLabel(wid: string, label: MemberLabelFormData): Promise<MemberLabel>;
|
|
7704
|
+
/** Update a member label. */
|
|
7451
7705
|
updateMemberLabel(wid: string, id: number, label: Partial<MemberLabelFormData>): Promise<MemberLabel>;
|
|
7706
|
+
/** Delete a member label. */
|
|
7452
7707
|
deleteMemberLabel(wid: string, id: number): Promise<void>;
|
|
7708
|
+
/** List all member roles for a workspace. */
|
|
7453
7709
|
getMemberRoles(wid: string): Promise<MemberRole[]>;
|
|
7710
|
+
/** Get a single member role by ID. */
|
|
7454
7711
|
getMemberRole(wid: string, id: number): Promise<MemberRole>;
|
|
7712
|
+
/** Get a single member role by UUID. */
|
|
7455
7713
|
getMemberRoleByUuid(wid: string, uuid: string): Promise<MemberRole>;
|
|
7714
|
+
/** Create a new member role. */
|
|
7456
7715
|
createMemberRole(wid: string, memberRole: MemberRoleFormData): Promise<MemberRole>;
|
|
7716
|
+
/** Update a member role. */
|
|
7457
7717
|
updateMemberRole(wid: string, id: number, memberRole: MemberRoleFormData): Promise<MemberRole>;
|
|
7718
|
+
/** Delete a member role. */
|
|
7458
7719
|
deleteMemberRole(wid: string, id: number): Promise<void>;
|
|
7720
|
+
/** Import members from a CSV file, streaming progress updates via callback. */
|
|
7459
7721
|
importMembers(wid: string, file: File, newMemberRoleId: number, onProgress?: (progress: any) => void): Promise<any>;
|
|
7722
|
+
/** Export members as a downloadable file with selected fields and data types. */
|
|
7460
7723
|
exportMembers(wid: string, selectedFields: string[], selectedDataTypes: number[], memberType?: 'member' | 'test' | 'anonymous'): Promise<Blob>;
|
|
7724
|
+
/** Get message activity counts for the specified members over a time period. */
|
|
7461
7725
|
getMembersMessageActivity(wid: string, memberIds: number[], days?: number): Promise<Record<number, number[]>>;
|
|
7462
7726
|
/**
|
|
7463
7727
|
* Get all fields for a member.
|
|
@@ -7526,32 +7790,49 @@ declare class MembersApi extends BaseApiClient {
|
|
|
7526
7790
|
}
|
|
7527
7791
|
|
|
7528
7792
|
declare class MilestonesApi extends BaseApiClient {
|
|
7793
|
+
/** List milestones in a workspace with optional pagination and sorting. */
|
|
7529
7794
|
getMilestones(wid: string, options?: {
|
|
7530
7795
|
page?: number;
|
|
7531
7796
|
pageSize?: number;
|
|
7532
7797
|
sortBy?: MilestoneSortField;
|
|
7533
7798
|
sortOrder?: SortOrder;
|
|
7534
7799
|
}): Promise<PaginatedResponse<Milestone>>;
|
|
7800
|
+
/** Get a single milestone by ID. */
|
|
7535
7801
|
getMilestone(wid: string, id: number): Promise<Milestone>;
|
|
7802
|
+
/** Create a new milestone in a workspace. */
|
|
7536
7803
|
createMilestone(wid: string, milestone: MilestoneFormData): Promise<Milestone>;
|
|
7804
|
+
/** Update an existing milestone with partial data. */
|
|
7537
7805
|
updateMilestone(wid: string, id: number, milestone: Partial<MilestoneFormData>): Promise<Milestone>;
|
|
7806
|
+
/** Delete a milestone by ID. */
|
|
7538
7807
|
deleteMilestone(wid: string, id: number): Promise<void>;
|
|
7539
7808
|
}
|
|
7540
7809
|
|
|
7541
7810
|
declare class OperatorApi extends BaseApiClient {
|
|
7811
|
+
/** List all operator groups for a workspace. */
|
|
7542
7812
|
getOperatorGroups(wid: string): Promise<OperatorGroup[]>;
|
|
7813
|
+
/** Get a single operator group by ID. */
|
|
7543
7814
|
getOperatorGroup(wid: string, groupId: number): Promise<OperatorGroup>;
|
|
7815
|
+
/** Create a new operator group. */
|
|
7544
7816
|
createOperatorGroup(wid: string, data: CreateOperatorGroupRequest): Promise<OperatorGroup>;
|
|
7817
|
+
/** Update an operator group. */
|
|
7545
7818
|
updateOperatorGroup(wid: string, groupId: number, data: UpdateOperatorGroupRequest): Promise<OperatorGroup>;
|
|
7819
|
+
/** Delete an operator group. */
|
|
7546
7820
|
deleteOperatorGroup(wid: string, groupId: number): Promise<void>;
|
|
7821
|
+
/** Add a member to an operator group. */
|
|
7547
7822
|
addGroupMember(wid: string, groupId: number, data: AddGroupMemberRequest): Promise<OperatorGroupMember>;
|
|
7823
|
+
/** Remove a member from an operator group. */
|
|
7548
7824
|
removeGroupMember(wid: string, groupId: number, memberId: number): Promise<void>;
|
|
7825
|
+
/** Get all currently live (online) operators in a workspace. */
|
|
7549
7826
|
getLiveOperators(wid: string): Promise<LiveOperatorsResponse>;
|
|
7827
|
+
/** Get the current member's presence status. */
|
|
7550
7828
|
getPresenceStatus(wid: string): Promise<PresenceStatusResponse>;
|
|
7829
|
+
/** Disconnect the current member's presence session. */
|
|
7551
7830
|
disconnectPresence(wid: string): Promise<{
|
|
7552
7831
|
ok: boolean;
|
|
7553
7832
|
}>;
|
|
7833
|
+
/** Get paginated chat messages for an operator chat. */
|
|
7554
7834
|
getOperatorChatMessages(wid: string, chatId: number, limit?: number, offset?: number): Promise<ChatMessage[]>;
|
|
7835
|
+
/** Send a message in an operator chat. */
|
|
7555
7836
|
sendOperatorMessage(wid: string, chatId: number, content: string): Promise<{
|
|
7556
7837
|
id: number;
|
|
7557
7838
|
uuid: string | null;
|
|
@@ -7736,42 +8017,64 @@ declare class OAuthApi extends BaseApiClient {
|
|
|
7736
8017
|
}
|
|
7737
8018
|
|
|
7738
8019
|
declare class PhoneNumbersApi extends BaseApiClient {
|
|
8020
|
+
/** List all phone numbers in a workspace. */
|
|
7739
8021
|
getPhoneNumbers(wid: string): Promise<PhoneNumber[]>;
|
|
8022
|
+
/** List phone numbers available for provisioning. */
|
|
7740
8023
|
getAvailablePhoneNumbers(wid: string): Promise<Array<{
|
|
7741
8024
|
phoneNumber: string;
|
|
7742
8025
|
friendlyName: string;
|
|
7743
8026
|
}>>;
|
|
8027
|
+
/** Request provisioning of a specific phone number. */
|
|
7744
8028
|
requestPhoneNumber(wid: string, phoneNumber: string): Promise<{
|
|
7745
8029
|
status: string;
|
|
7746
8030
|
message: string;
|
|
7747
8031
|
}>;
|
|
8032
|
+
/** Get a phone number by ID. */
|
|
7748
8033
|
getPhoneNumber(wid: string, id: number): Promise<PhoneNumber>;
|
|
8034
|
+
/** Create a new phone number record. */
|
|
7749
8035
|
createPhoneNumber(wid: string, phoneNumber: PhoneNumberFormData): Promise<PhoneNumber>;
|
|
8036
|
+
/** Update a phone number record. */
|
|
7750
8037
|
updatePhoneNumber(wid: string, id: number, phoneNumber: PhoneNumberFormData): Promise<PhoneNumber>;
|
|
8038
|
+
/** Delete a phone number. */
|
|
7751
8039
|
deletePhoneNumber(wid: string, id: number): Promise<void>;
|
|
8040
|
+
/** List paginated call records for a phone number. */
|
|
7752
8041
|
getPhoneNumberCalls(wid: string, id: number, page?: number, pageSize?: number): Promise<PaginatedResponse<PhoneCall>>;
|
|
8042
|
+
/** List paginated SMS messages for a phone number. */
|
|
7753
8043
|
getPhoneNumberMessages(wid: string, id: number, page?: number, pageSize?: number): Promise<PaginatedResponse<SMSMessage>>;
|
|
7754
8044
|
}
|
|
7755
8045
|
|
|
7756
8046
|
declare class PronunciationsApi extends BaseApiClient {
|
|
8047
|
+
/** List pronunciation entries for an organization, optionally filtered by scope. */
|
|
7757
8048
|
getPronunciationEntries(orgUuid: string, options?: {
|
|
7758
8049
|
scope?: 'org' | 'account';
|
|
7759
8050
|
accountId?: number;
|
|
7760
8051
|
}): Promise<PronunciationEntry[]>;
|
|
8052
|
+
/** Create a new pronunciation entry for an organization. */
|
|
7761
8053
|
createPronunciationEntry(orgUuid: string, data: CreatePronunciationEntryFormData): Promise<PronunciationEntry>;
|
|
8054
|
+
/** Update an existing organization pronunciation entry. */
|
|
7762
8055
|
updatePronunciationEntry(orgUuid: string, id: number, data: UpdatePronunciationEntryFormData): Promise<PronunciationEntry>;
|
|
8056
|
+
/** Delete a pronunciation entry from an organization. */
|
|
7763
8057
|
deletePronunciationEntry(orgUuid: string, id: number): Promise<void>;
|
|
8058
|
+
/** Export all pronunciation entries for an organization as term/respelling pairs. */
|
|
7764
8059
|
exportPronunciationEntries(orgUuid: string): Promise<Array<{
|
|
7765
8060
|
term: string;
|
|
7766
8061
|
respelling: string;
|
|
7767
8062
|
}>>;
|
|
8063
|
+
/** Bulk import pronunciation entries into an organization. */
|
|
7768
8064
|
importPronunciationEntries(orgUuid: string, entries: PronunciationImportEntry[]): Promise<PronunciationImportResult>;
|
|
8065
|
+
/** List the current user's personal pronunciation entries. */
|
|
7769
8066
|
getMyPronunciations(): Promise<PronunciationEntry[]>;
|
|
8067
|
+
/** Create a personal pronunciation entry for the current user. */
|
|
7770
8068
|
createMyPronunciation(data: Pick<CreatePronunciationEntryFormData, 'term' | 'respelling'>): Promise<PronunciationEntry>;
|
|
8069
|
+
/** Update a personal pronunciation entry. */
|
|
7771
8070
|
updateMyPronunciation(id: number, data: UpdatePronunciationEntryFormData): Promise<PronunciationEntry>;
|
|
8071
|
+
/** Delete a personal pronunciation entry. */
|
|
7772
8072
|
deleteMyPronunciation(id: number): Promise<void>;
|
|
8073
|
+
/** Get AI-suggested respellings for a given term. */
|
|
7773
8074
|
suggestPronunciations(term: string, language?: string): Promise<string[]>;
|
|
8075
|
+
/** List recommended voices for pronunciation preview. */
|
|
7774
8076
|
getRecommendedVoices(): Promise<RecommendedVoice[]>;
|
|
8077
|
+
/** Generate an audio preview of a pronunciation respelling using a specified voice. */
|
|
7775
8078
|
previewPronunciation(data: {
|
|
7776
8079
|
respelling: string;
|
|
7777
8080
|
voiceModel: string;
|
|
@@ -7779,37 +8082,61 @@ declare class PronunciationsApi extends BaseApiClient {
|
|
|
7779
8082
|
}
|
|
7780
8083
|
|
|
7781
8084
|
declare class QualificationsApi extends BaseApiClient {
|
|
8085
|
+
/** List all qualifications in a workspace. */
|
|
7782
8086
|
getQualifications(wid: string): Promise<Qualification[]>;
|
|
8087
|
+
/** Get a single qualification by ID. */
|
|
7783
8088
|
getQualification(wid: string, id: number): Promise<Qualification>;
|
|
8089
|
+
/** Create a new qualification in a workspace. */
|
|
7784
8090
|
createQualification(wid: string, data: CreateQualificationRequest): Promise<Qualification>;
|
|
8091
|
+
/** Update an existing qualification. */
|
|
7785
8092
|
updateQualification(wid: string, id: number, data: UpdateQualificationRequest): Promise<Qualification>;
|
|
8093
|
+
/** List members assigned to a qualification with optional filtering. */
|
|
7786
8094
|
getQualificationMembers(wid: string, id: number, params?: {
|
|
7787
8095
|
status?: string;
|
|
7788
8096
|
memberType?: string;
|
|
7789
8097
|
page?: number;
|
|
7790
8098
|
pageSize?: number;
|
|
7791
8099
|
}): Promise<PaginatedResponse<QualificationMemberEntry>>;
|
|
8100
|
+
/** Archive a qualification. */
|
|
7792
8101
|
archiveQualification(wid: string, id: number): Promise<void>;
|
|
8102
|
+
/** List all qualifications assigned to a specific member. */
|
|
7793
8103
|
getMemberQualifications(wid: string, memberId: number): Promise<MemberQualification[]>;
|
|
8104
|
+
/** Assign a qualification to a member. */
|
|
7794
8105
|
assignQualification(wid: string, memberId: number, data: AssignQualificationRequest): Promise<MemberQualification>;
|
|
8106
|
+
/** Update a member's qualification status or settings. */
|
|
7795
8107
|
updateMemberQualification(wid: string, memberId: number, qualificationId: number, data: UpdateMemberQualificationRequest): Promise<MemberQualification>;
|
|
8108
|
+
/** Remove a qualification assignment from a member. */
|
|
7796
8109
|
removeMemberQualification(wid: string, memberId: number, qualificationId: number): Promise<void>;
|
|
8110
|
+
/** Get the status change history for a member's qualification. */
|
|
7797
8111
|
getMemberQualificationLog(wid: string, memberId: number, qualificationId: number): Promise<QualificationStatusLogEntry[]>;
|
|
8112
|
+
/** List all requirements for a qualification. */
|
|
7798
8113
|
listRequirements(wid: string, qualificationId: number): Promise<QualificationRequirement[]>;
|
|
8114
|
+
/** Create a new requirement for a qualification. */
|
|
7799
8115
|
createRequirement(wid: string, qualificationId: number, data: CreateRequirementRequest): Promise<QualificationRequirement>;
|
|
8116
|
+
/** Get a single qualification requirement by ID. */
|
|
7800
8117
|
getRequirement(wid: string, requirementId: number): Promise<QualificationRequirement>;
|
|
8118
|
+
/** Update a qualification requirement. */
|
|
7801
8119
|
updateRequirement(wid: string, requirementId: number, data: UpdateRequirementRequest): Promise<QualificationRequirement>;
|
|
8120
|
+
/** Delete a qualification requirement. */
|
|
7802
8121
|
deleteRequirement(wid: string, requirementId: number): Promise<void>;
|
|
8122
|
+
/** List submissions for a qualification, optionally filtered by status or member. */
|
|
7803
8123
|
listSubmissions(wid: string, qualificationId: number, params?: {
|
|
7804
8124
|
status?: string;
|
|
7805
8125
|
memberId?: number;
|
|
7806
8126
|
}): Promise<QualificationSubmission[]>;
|
|
8127
|
+
/** Get a single qualification submission by ID. */
|
|
7807
8128
|
getSubmission(wid: string, submissionId: number): Promise<QualificationSubmission>;
|
|
8129
|
+
/** Submit an answer for a qualification requirement. */
|
|
7808
8130
|
submitAnswer(wid: string, requirementId: number, data: SubmitAnswerRequest): Promise<QualificationSubmission>;
|
|
8131
|
+
/** Start a chat scenario for a qualification requirement. */
|
|
7809
8132
|
startScenario(wid: string, requirementId: number): Promise<QualificationSubmission>;
|
|
8133
|
+
/** Delete a submission to allow the member to retry. */
|
|
7810
8134
|
retrySubmission(wid: string, submissionId: number): Promise<void>;
|
|
8135
|
+
/** Submit the current user's qualification for review. */
|
|
7811
8136
|
submitForReview(wid: string, qualificationId: number): Promise<MemberQualification>;
|
|
8137
|
+
/** Review a qualification submission, approving or rejecting it. */
|
|
7812
8138
|
reviewSubmission(wid: string, submissionId: number, data: ReviewSubmissionRequest): Promise<QualificationSubmission>;
|
|
8139
|
+
/** Override the score for a specific criterion on a submission. */
|
|
7813
8140
|
overrideCriterionScore(wid: string, submissionId: number, criterionId: number, data: OverrideCriterionRequest): Promise<QualificationSubmission>;
|
|
7814
8141
|
}
|
|
7815
8142
|
|
|
@@ -8015,73 +8342,114 @@ interface VoiceUsageReportParams {
|
|
|
8015
8342
|
end_date?: string;
|
|
8016
8343
|
}
|
|
8017
8344
|
declare class ReportsApi extends BaseApiClient {
|
|
8345
|
+
/** Get AI model usage report for a workspace within an optional date range. */
|
|
8018
8346
|
getAIUsageReport(wid: string, params?: AIUsageReportParams): Promise<AIUsageReport>;
|
|
8347
|
+
/** Get SMS usage report for a workspace within an optional date range. */
|
|
8019
8348
|
getSMSUsageReport(wid: string, params?: SMSUsageReportParams): Promise<SMSUsageReport>;
|
|
8349
|
+
/** Get phone call usage report for a workspace within an optional date range. */
|
|
8020
8350
|
getPhoneUsageReport(wid: string, params?: PhoneUsageReportParams): Promise<PhoneUsageReport>;
|
|
8351
|
+
/** Get usage report for a specific member within an optional date range. */
|
|
8021
8352
|
getMemberUsage(wid: string, memberId: number, params?: MemberUsageReportParams): Promise<MemberUsageReport>;
|
|
8353
|
+
/** Get voice (STT/TTS) usage report for a workspace within an optional date range. */
|
|
8022
8354
|
getVoiceUsageReport(wid: string, params?: VoiceUsageReportParams): Promise<VoiceUsageReport>;
|
|
8023
8355
|
}
|
|
8024
8356
|
|
|
8025
8357
|
declare class SitesApi extends BaseApiClient {
|
|
8358
|
+
/** List all sites in a workspace. */
|
|
8026
8359
|
getSites(wid: string): Promise<Site[]>;
|
|
8360
|
+
/** Check whether a site slug is available for use. */
|
|
8027
8361
|
checkSiteSlugAvailability(wid: string, slug: string, siteUuid?: string | null): Promise<SiteSlugAvailability>;
|
|
8362
|
+
/** Check whether a custom domain is available for a site. */
|
|
8028
8363
|
checkSiteDomainAvailability(wid: string, domain: string, siteUuid?: string | null): Promise<{
|
|
8029
8364
|
result: boolean;
|
|
8030
8365
|
}>;
|
|
8366
|
+
/** Get a single site by ID. */
|
|
8031
8367
|
getSite(wid: string, id: number): Promise<Site>;
|
|
8368
|
+
/** Get a single site by UUID. */
|
|
8032
8369
|
getSiteByUuid(wid: string, uuid: string): Promise<Site>;
|
|
8370
|
+
/** Get a fully rendered page from a site by slug or ID. */
|
|
8033
8371
|
getSiteRenderedPage(wid: string, siteUuid: string, pageSlugOrId: string | number): Promise<RenderedPage>;
|
|
8372
|
+
/** Get the rendered navigation menu for a site, including all translations. */
|
|
8034
8373
|
getSiteRenderedMenu(wid: string, siteUuid: string): Promise<MenuTree>;
|
|
8374
|
+
/** Sign up a new user through a site's public registration. */
|
|
8035
8375
|
siteSignup(wid: string, siteUuid: string): Promise<SiteSignupResponse>;
|
|
8376
|
+
/** Send a phone verification code for site-specific authentication. */
|
|
8036
8377
|
siteSendPhoneCode(wid: string, siteUuid: string, phoneNumber: string): Promise<{
|
|
8037
8378
|
success: boolean;
|
|
8038
8379
|
message: string;
|
|
8039
8380
|
}>;
|
|
8381
|
+
/** Send an email verification code for site-specific authentication. */
|
|
8040
8382
|
siteSendEmailCode(wid: string, siteUuid: string, email: string): Promise<{
|
|
8041
8383
|
success: boolean;
|
|
8042
8384
|
message: string;
|
|
8043
8385
|
}>;
|
|
8386
|
+
/** Verify a phone or email code and complete site authentication. */
|
|
8044
8387
|
siteVerifyCode(wid: string, siteUuid: string, code: string, phoneNumber?: string, email?: string): Promise<{
|
|
8045
8388
|
token: string;
|
|
8046
8389
|
accountId: number;
|
|
8047
8390
|
memberId?: number;
|
|
8048
8391
|
}>;
|
|
8392
|
+
/** Trigger a crawl of the site's external content source. */
|
|
8049
8393
|
crawlSite(wid: string, siteId: number): Promise<Site>;
|
|
8394
|
+
/** Create a new site in the workspace. */
|
|
8050
8395
|
createSite(wid: string, site: SiteFormData): Promise<Site>;
|
|
8396
|
+
/** Update a site's configuration. */
|
|
8051
8397
|
updateSite(wid: string, id: number, site: Partial<SiteFormData>): Promise<Site>;
|
|
8398
|
+
/** Delete a site by ID. */
|
|
8052
8399
|
deleteSite(wid: string, id: number): Promise<void>;
|
|
8400
|
+
/** List pages for a site with optional pagination, sorting, and search. */
|
|
8053
8401
|
getSitePages(wid: string, siteId: number, options?: PagesQueryParams): Promise<PaginatedResponse<Page>>;
|
|
8402
|
+
/** Get a single page by ID within a site. */
|
|
8054
8403
|
getPage(wid: string, siteId: number, pageId: number): Promise<Page>;
|
|
8404
|
+
/** Get a single page by its slug within a site. */
|
|
8055
8405
|
getPageBySlug(wid: string, siteId: number, slug: string): Promise<Page>;
|
|
8406
|
+
/** Create a new page within a site. */
|
|
8056
8407
|
createPage(wid: string, siteId: number, page: PageFormData): Promise<Page>;
|
|
8408
|
+
/** Update a page's content or metadata. */
|
|
8057
8409
|
updatePage(wid: string, siteId: number, pageId: number, page: Partial<PageFormData>): Promise<Page>;
|
|
8410
|
+
/** Delete a page from a site. */
|
|
8058
8411
|
deletePage(wid: string, siteId: number, pageId: number): Promise<void>;
|
|
8412
|
+
/** Get aggregate counts (pages, menu items, etc.) for a site. */
|
|
8059
8413
|
getSiteCounts(wid: string, siteId: number): Promise<SiteCountsResponse>;
|
|
8414
|
+
/** Get the full menu tree for a site. */
|
|
8060
8415
|
getSiteMenu(wid: string, siteId: number): Promise<MenuTree>;
|
|
8416
|
+
/** List menu items for a site, optionally filtered by parent item. */
|
|
8061
8417
|
getMenuItems(wid: string, siteId: number, parentId?: number | null): Promise<MenuItem[]>;
|
|
8418
|
+
/** Create a new menu item in a site's navigation. */
|
|
8062
8419
|
createMenuItem(wid: string, siteId: number, item: MenuItemFormData): Promise<MenuItem>;
|
|
8420
|
+
/** Update a menu item's properties. */
|
|
8063
8421
|
updateMenuItem(wid: string, siteId: number, itemId: number, item: Partial<MenuItemFormData>): Promise<MenuItem>;
|
|
8422
|
+
/** Delete a menu item from a site's navigation. */
|
|
8064
8423
|
deleteMenuItem(wid: string, siteId: number, itemId: number): Promise<void>;
|
|
8424
|
+
/** Reorder menu items within a site's navigation. */
|
|
8065
8425
|
reorderMenuItems(wid: string, siteId: number, data: ReorderMenuItemsData): Promise<void>;
|
|
8426
|
+
/** Generate a pre-signed upload URL for site media content. */
|
|
8066
8427
|
generateSiteMediaUploadUrl(wid: string, siteId: number, uploadRequest: FileUploadRequest): Promise<FileUploadResponse>;
|
|
8428
|
+
/** Initiate Google OAuth flow for site-specific authentication. */
|
|
8067
8429
|
siteGoogleOAuthInitiate(wid: string, siteUuid: string, origin: string): Promise<{
|
|
8068
8430
|
authorizationUrl: string;
|
|
8069
8431
|
}>;
|
|
8070
8432
|
}
|
|
8071
8433
|
|
|
8072
8434
|
declare class SubscriptionsApi extends BaseApiClient {
|
|
8435
|
+
/** List all subscriptions for the current account. */
|
|
8073
8436
|
getSubscriptions(): Promise<Subscription[]>;
|
|
8437
|
+
/** List all subscriptions associated with a workspace. */
|
|
8074
8438
|
getWorkspaceSubscriptions(wid: string): Promise<Subscription[]>;
|
|
8439
|
+
/** Cancel an active subscription. */
|
|
8075
8440
|
cancelSubscription(subscriptionId: number): Promise<void>;
|
|
8441
|
+
/** Reactivate a previously cancelled subscription. */
|
|
8076
8442
|
reactivateSubscription(subscriptionId: number): Promise<{
|
|
8077
8443
|
message: string;
|
|
8078
8444
|
}>;
|
|
8445
|
+
/** Update a subscription's budget or plan period. */
|
|
8079
8446
|
updateSubscription(subscriptionId: number, updates: {
|
|
8080
8447
|
paygBudget?: number | null;
|
|
8081
8448
|
planPeriod?: string;
|
|
8082
8449
|
}): Promise<{
|
|
8083
8450
|
message: string;
|
|
8084
8451
|
}>;
|
|
8452
|
+
/** Provision the member role associated with a subscription. */
|
|
8085
8453
|
provisionMemberRole(subscriptionId: number): Promise<{
|
|
8086
8454
|
message: string;
|
|
8087
8455
|
}>;
|
|
@@ -8105,23 +8473,35 @@ interface SupervisorFormData {
|
|
|
8105
8473
|
}>;
|
|
8106
8474
|
}
|
|
8107
8475
|
declare class SupervisorsApi extends BaseApiClient {
|
|
8476
|
+
/** List all supervisors in a workspace. */
|
|
8108
8477
|
getSupervisors(wid: string): Promise<CustomTool[]>;
|
|
8478
|
+
/** Get a single supervisor by ID. */
|
|
8109
8479
|
getSupervisor(wid: string, id: number): Promise<CustomTool>;
|
|
8480
|
+
/** Create a new supervisor in a workspace. */
|
|
8110
8481
|
createSupervisor(wid: string, supervisor: SupervisorFormData): Promise<CustomTool>;
|
|
8482
|
+
/** Update an existing supervisor with partial data. */
|
|
8111
8483
|
updateSupervisor(wid: string, id: number, supervisor: Partial<SupervisorFormData>): Promise<CustomTool>;
|
|
8484
|
+
/** Delete a supervisor by ID. */
|
|
8112
8485
|
deleteSupervisor(wid: string, id: number): Promise<void>;
|
|
8113
8486
|
}
|
|
8114
8487
|
|
|
8115
8488
|
declare class TasksApi extends BaseApiClient {
|
|
8489
|
+
/** List all tasks in a workspace, optionally filtering by workflow or including archived. */
|
|
8116
8490
|
getTasks(wid: string, options?: {
|
|
8117
8491
|
includeArchived?: boolean;
|
|
8118
8492
|
workflowId?: number;
|
|
8119
8493
|
}): Promise<Task[]>;
|
|
8494
|
+
/** Get a single task by ID. */
|
|
8120
8495
|
getTask(wid: string, id: number | string): Promise<Task>;
|
|
8496
|
+
/** Create a new task in a workspace. */
|
|
8121
8497
|
createTask(wid: string, task: TaskFormData): Promise<Task>;
|
|
8498
|
+
/** Update an existing task with partial data. */
|
|
8122
8499
|
updateTask(wid: string, id: number, task: Partial<TaskFormData>): Promise<Task>;
|
|
8500
|
+
/** Delete a task by ID. */
|
|
8123
8501
|
deleteTask(wid: string, id: number): Promise<void>;
|
|
8502
|
+
/** Archive a task, hiding it from default listings. */
|
|
8124
8503
|
archiveTask(wid: string, id: number): Promise<Task>;
|
|
8504
|
+
/** Restore an archived task back to active status. */
|
|
8125
8505
|
unarchiveTask(wid: string, id: number): Promise<Task>;
|
|
8126
8506
|
/**
|
|
8127
8507
|
* Convert legacy task relations (files, folders, data types, calendars, tools)
|
|
@@ -8364,14 +8744,19 @@ interface ValidateWorkflowNameResponse {
|
|
|
8364
8744
|
}
|
|
8365
8745
|
|
|
8366
8746
|
declare class WorkflowsApi extends BaseApiClient {
|
|
8747
|
+
/** List all workflows in a workspace, optionally including archived ones. */
|
|
8367
8748
|
getWorkflows(wid: string, archived?: boolean): Promise<Workflow[]>;
|
|
8749
|
+
/** Get a single workflow by ID. */
|
|
8368
8750
|
getWorkflow(wid: string, id: number | string): Promise<Workflow>;
|
|
8751
|
+
/** Get activity metrics for a single workflow. */
|
|
8369
8752
|
getWorkflowActivity(wid: string, id: number, options?: {
|
|
8370
8753
|
days?: number;
|
|
8371
8754
|
}): Promise<WorkflowActivity>;
|
|
8755
|
+
/** Get activity metrics for multiple workflows in a single request. */
|
|
8372
8756
|
getWorkflowsActivityBatch(wid: string, workflowIds: number[], options?: {
|
|
8373
8757
|
days?: number;
|
|
8374
8758
|
}): Promise<Record<string, WorkflowActivity>>;
|
|
8759
|
+
/** Get the Mermaid diagram representation of a workflow. */
|
|
8375
8760
|
getWorkflowDiagram(wid: string, id: number): Promise<{
|
|
8376
8761
|
mermaid: string;
|
|
8377
8762
|
taskCount: number;
|
|
@@ -8382,8 +8767,11 @@ declare class WorkflowsApi extends BaseApiClient {
|
|
|
8382
8767
|
* For same-origin setups, returns the direct API URL.
|
|
8383
8768
|
*/
|
|
8384
8769
|
getWorkflowThumbnailUrl(wid: string, id: number): string;
|
|
8770
|
+
/** Create a new workflow in a workspace. */
|
|
8385
8771
|
createWorkflow(wid: string, workflow: WorkflowFormData): Promise<Workflow>;
|
|
8772
|
+
/** Update an existing workflow. */
|
|
8386
8773
|
updateWorkflow(wid: string, id: number, workflow: Partial<WorkflowFormData>): Promise<Workflow>;
|
|
8774
|
+
/** Preview the impact of deleting a workflow, including affected tasks and assignments. */
|
|
8387
8775
|
getWorkflowDeletionPreview(wid: string, id: number): Promise<{
|
|
8388
8776
|
taskCount: number;
|
|
8389
8777
|
tasks: Array<{
|
|
@@ -8393,26 +8781,38 @@ declare class WorkflowsApi extends BaseApiClient {
|
|
|
8393
8781
|
}>;
|
|
8394
8782
|
hasAssignments: boolean;
|
|
8395
8783
|
}>;
|
|
8784
|
+
/** Delete a workflow, optionally cascading to delete its tasks. */
|
|
8396
8785
|
deleteWorkflow(wid: string, id: number, cascade?: boolean): Promise<{
|
|
8397
8786
|
status: string;
|
|
8398
8787
|
deletedTaskCount: number;
|
|
8399
8788
|
}>;
|
|
8789
|
+
/** Archive a workflow. */
|
|
8400
8790
|
archiveWorkflow(wid: string, id: number): Promise<{
|
|
8401
8791
|
status: string;
|
|
8402
8792
|
}>;
|
|
8793
|
+
/** Unarchive a previously archived workflow. */
|
|
8403
8794
|
unarchiveWorkflow(wid: string, id: number): Promise<{
|
|
8404
8795
|
status: string;
|
|
8405
8796
|
}>;
|
|
8797
|
+
/** Clone a workflow with a new name. */
|
|
8406
8798
|
cloneWorkflow(wid: string, id: number, data: {
|
|
8407
8799
|
name: string;
|
|
8408
8800
|
}): Promise<Workflow>;
|
|
8801
|
+
/** List available workflow templates. */
|
|
8409
8802
|
getWorkflowTemplates(wid: string): Promise<WorkflowTemplate[]>;
|
|
8803
|
+
/** Create a new workflow from a template. */
|
|
8410
8804
|
createWorkflowFromTemplate(wid: string, templateUuid: string, data: CreateWorkflowFromTemplateFormData): Promise<Workflow>;
|
|
8805
|
+
/** Get task assignment statistics for a workflow within an optional date range. */
|
|
8411
8806
|
getWorkflowTaskAssignmentStats(wid: string, id: number, fromDate?: string, toDate?: string): Promise<Record<number, TaskAssignmentStats>>;
|
|
8807
|
+
/** List chats for a specific task within a workflow. */
|
|
8412
8808
|
getTaskChats(wid: string, workflowId: number, taskId: number, fromDate?: string, toDate?: string, limit?: number, offset?: number): Promise<TaskChatsListResponse>;
|
|
8809
|
+
/** List all contributors for a workflow. */
|
|
8413
8810
|
getWorkflowContributors(wid: string, workflowId: number): Promise<WorkflowContributor[]>;
|
|
8811
|
+
/** Add a contributor to a workflow. */
|
|
8414
8812
|
createWorkflowContributor(wid: string, workflowId: number, data: CreateWorkflowContributorRequest): Promise<WorkflowContributor>;
|
|
8813
|
+
/** Update a workflow contributor's settings. */
|
|
8415
8814
|
updateWorkflowContributor(wid: string, workflowId: number, contributorId: number, data: UpdateWorkflowContributorRequest): Promise<WorkflowContributor>;
|
|
8815
|
+
/** Remove a contributor from a workflow. */
|
|
8416
8816
|
deleteWorkflowContributor(wid: string, workflowId: number, contributorId: number): Promise<{
|
|
8417
8817
|
success: boolean;
|
|
8418
8818
|
}>;
|
|
@@ -8980,35 +9380,56 @@ interface WorkspaceScopesResponse {
|
|
|
8980
9380
|
categories: string[];
|
|
8981
9381
|
}
|
|
8982
9382
|
declare class WorkspacesApi extends BaseApiClient {
|
|
9383
|
+
/** List all workspaces accessible to the current user. */
|
|
8983
9384
|
getWorkspaces(): Promise<Workspace[]>;
|
|
9385
|
+
/** List all publicly visible workspaces. */
|
|
8984
9386
|
getPublicWorkspaces(): Promise<PublicWorkspace[]>;
|
|
9387
|
+
/** Get a single workspace by ID. */
|
|
8985
9388
|
getWorkspace(wid: string): Promise<Workspace>;
|
|
9389
|
+
/** Create a new workspace. */
|
|
8986
9390
|
createWorkspace(workspace: WorkspaceFormData): Promise<Workspace>;
|
|
9391
|
+
/** Update an existing workspace. */
|
|
8987
9392
|
updateWorkspace(wid: string, workspace: Partial<WorkspaceFormData>): Promise<Workspace>;
|
|
9393
|
+
/** Delete a workspace. */
|
|
8988
9394
|
deleteWorkspace(wid: string): Promise<void>;
|
|
9395
|
+
/** Leave a workspace as the current user. */
|
|
8989
9396
|
leaveWorkspace(wid: string): Promise<{
|
|
8990
9397
|
message: string;
|
|
8991
9398
|
}>;
|
|
9399
|
+
/** Get the default settings for a workspace. */
|
|
8992
9400
|
getWorkspaceDefaults(wid: string): Promise<WorkspaceDefaults>;
|
|
9401
|
+
/** Update the default settings for a workspace. */
|
|
8993
9402
|
updateWorkspaceDefaults(wid: string, defaults: WorkspaceDefaultsFormData): Promise<WorkspaceDefaults>;
|
|
9403
|
+
/** Get entity counts (members, tasks, workflows, etc.) for a workspace. */
|
|
8994
9404
|
getWorkspaceCounts(wid: string): Promise<WorkspaceCounts>;
|
|
9405
|
+
/** Check whether the workspace is currently within business hours. */
|
|
8995
9406
|
getBusinessHoursStatus(wid: string): Promise<{
|
|
8996
9407
|
isBusinessHours: boolean;
|
|
8997
9408
|
}>;
|
|
9409
|
+
/** List all available workspace feature flags from the registry. */
|
|
8998
9410
|
getAvailableWorkspaceFeatures(): Promise<WorkspaceFeatureInfo[]>;
|
|
9411
|
+
/** Get active notices for a workspace. */
|
|
8999
9412
|
getWorkspaceNotices(wid: string): Promise<NoticesResponse>;
|
|
9413
|
+
/** List notifications for the current user in a workspace. */
|
|
9000
9414
|
getNotifications(wid: string, options?: {
|
|
9001
9415
|
page?: number;
|
|
9002
9416
|
pageSize?: number;
|
|
9003
9417
|
}): Promise<PaginatedResponse<Notification>>;
|
|
9418
|
+
/** Get a single notification by ID. */
|
|
9004
9419
|
getNotification(wid: string, id: number): Promise<Notification>;
|
|
9420
|
+
/** Get the count of unread notifications for the current user. */
|
|
9005
9421
|
getUnreadNotificationCount(wid: string): Promise<number>;
|
|
9422
|
+
/** Mark a notification as read. */
|
|
9006
9423
|
markNotificationAsRead(wid: string, id: number): Promise<Notification>;
|
|
9424
|
+
/** Dismiss a single notification. */
|
|
9007
9425
|
dismissNotification(wid: string, id: number): Promise<Notification>;
|
|
9426
|
+
/** Dismiss all notifications for the current user in a workspace. */
|
|
9008
9427
|
dismissAllNotifications(wid: string): Promise<{
|
|
9009
9428
|
dismissedCount: number;
|
|
9010
9429
|
}>;
|
|
9430
|
+
/** Get the VAPID public key for Web Push subscription registration. */
|
|
9011
9431
|
getVapidPublicKey(): Promise<string | null>;
|
|
9432
|
+
/** Register a Web Push subscription for the current user. */
|
|
9012
9433
|
registerPushSubscription(wid: string, subscription: {
|
|
9013
9434
|
endpoint: string;
|
|
9014
9435
|
p256dhKey: string;
|
|
@@ -9019,48 +9440,69 @@ declare class WorkspacesApi extends BaseApiClient {
|
|
|
9019
9440
|
endpoint: string;
|
|
9020
9441
|
createdAt: string;
|
|
9021
9442
|
}>;
|
|
9443
|
+
/** Unregister a Web Push subscription by endpoint URL. */
|
|
9022
9444
|
unregisterPushSubscription(wid: string, endpoint: string): Promise<{
|
|
9023
9445
|
deleted: boolean;
|
|
9024
9446
|
}>;
|
|
9447
|
+
/** List all active Web Push subscriptions for the current user. */
|
|
9025
9448
|
listPushSubscriptions(wid: string): Promise<{
|
|
9026
9449
|
id: number;
|
|
9027
9450
|
endpoint: string;
|
|
9028
9451
|
createdAt: string;
|
|
9029
9452
|
userAgent: string | null;
|
|
9030
9453
|
}[]>;
|
|
9454
|
+
/** List all client workspaces managed by this reseller workspace. */
|
|
9031
9455
|
getResellerWorkspaces(wid: string): Promise<ClientWorkspace[]>;
|
|
9456
|
+
/** Create a new client workspace under a reseller workspace. */
|
|
9032
9457
|
createClientWorkspace(wid: string, data: {
|
|
9033
9458
|
name: string;
|
|
9034
9459
|
slug?: string;
|
|
9035
9460
|
}): Promise<ClientWorkspace>;
|
|
9461
|
+
/** Get a single client workspace by ID. */
|
|
9036
9462
|
getClientWorkspace(wid: string, workspaceId: number): Promise<ClientWorkspace>;
|
|
9463
|
+
/** Update a client workspace's name or slug. */
|
|
9037
9464
|
updateClientWorkspace(wid: string, workspaceId: number, data: {
|
|
9038
9465
|
name?: string;
|
|
9039
9466
|
slug?: string;
|
|
9040
9467
|
}): Promise<ClientWorkspace>;
|
|
9468
|
+
/** Delete a client workspace. */
|
|
9041
9469
|
deleteClientWorkspace(wid: string, workspaceId: number): Promise<{
|
|
9042
9470
|
message: string;
|
|
9043
9471
|
}>;
|
|
9472
|
+
/** Provision a client workspace, setting up its database and resources. */
|
|
9044
9473
|
provisionClientWorkspace(wid: string, workspaceId: number): Promise<{
|
|
9045
9474
|
message: string;
|
|
9046
9475
|
status: string;
|
|
9047
9476
|
}>;
|
|
9477
|
+
/** List products available from a reseller workspace, optionally filtering by featured status. */
|
|
9048
9478
|
getProducts(wid: string, featured?: boolean): Promise<Product[]>;
|
|
9479
|
+
/** Get a product by ID using the global endpoint. */
|
|
9049
9480
|
getProduct(id: number): Promise<Product>;
|
|
9481
|
+
/** Get a publicly accessible product by ID. */
|
|
9050
9482
|
getPublicProduct(id: number): Promise<Product>;
|
|
9483
|
+
/** Create a new product for a reseller workspace. */
|
|
9051
9484
|
createProduct(wid: string, product: any): Promise<Product>;
|
|
9485
|
+
/** Update an existing product. */
|
|
9052
9486
|
updateProduct(wid: string, id: number, updates: any): Promise<Product>;
|
|
9487
|
+
/** Delete a product from a reseller workspace. */
|
|
9053
9488
|
deleteProduct(wid: string, id: number): Promise<{
|
|
9054
9489
|
message: string;
|
|
9055
9490
|
}>;
|
|
9491
|
+
/** Reset and regenerate the workspace secret key. */
|
|
9056
9492
|
resetWorkspaceSecretKey(wid: string): Promise<{
|
|
9057
9493
|
secret: string;
|
|
9058
9494
|
}>;
|
|
9495
|
+
/** Export workspace configuration, optionally scoped to a single workflow. */
|
|
9059
9496
|
exportWorkspace(wid: string, workflowId?: number): Promise<WorkspaceExportData>;
|
|
9497
|
+
/** Preview the result of importing workspace configuration without applying changes. */
|
|
9060
9498
|
previewWorkspaceImport(wid: string, exportData: WorkspaceExportData, importMappings: WorkspaceImportMapping, createNew: WorkspaceCreateNewEntities, autoMap?: WorkspaceAutoMapEntities): Promise<WorkspaceImportPreviewResponse>;
|
|
9499
|
+
/** Import workspace configuration from exported data. */
|
|
9061
9500
|
importWorkspace(wid: string, exportData: WorkspaceExportData, importMappings: WorkspaceImportMapping, createNew: WorkspaceCreateNewEntities): Promise<WorkspaceImportPreviewResponse>;
|
|
9501
|
+
/** Preview a workspace import using the legacy untyped interface. */
|
|
9062
9502
|
previewImportWorkspace(wid: string, exportData: any, importMappings?: any, createNew?: any): Promise<any>;
|
|
9503
|
+
/** List available themes for a workspace. */
|
|
9063
9504
|
getWorkspaceThemes(wid: string): Promise<ThemesListResponse>;
|
|
9505
|
+
/** Update the active themes for a workspace. */
|
|
9064
9506
|
updateWorkspaceThemes(wid: string, themes: string[]): Promise<Workspace>;
|
|
9065
9507
|
/**
|
|
9066
9508
|
* Get all workspace-grantable scopes that can be assigned to member roles.
|
|
@@ -9187,10 +9629,15 @@ interface AppContext {
|
|
|
9187
9629
|
declare function formatAppContextAsMarkdown(context: AppContext | undefined): string;
|
|
9188
9630
|
|
|
9189
9631
|
declare class WorkflowNotesApi extends BaseApiClient {
|
|
9632
|
+
/** List all notes for a specific workflow. */
|
|
9190
9633
|
getWorkflowNotes(wid: string, workflowId: number): Promise<WorkflowNote[]>;
|
|
9634
|
+
/** Get a single workflow note by ID. */
|
|
9191
9635
|
getWorkflowNote(wid: string, id: number): Promise<WorkflowNote>;
|
|
9636
|
+
/** Create a new note on a workflow. */
|
|
9192
9637
|
createWorkflowNote(wid: string, note: WorkflowNoteFormData): Promise<WorkflowNote>;
|
|
9638
|
+
/** Update an existing workflow note with partial data. */
|
|
9193
9639
|
updateWorkflowNote(wid: string, id: number, note: Partial<WorkflowNoteFormData>): Promise<WorkflowNote>;
|
|
9640
|
+
/** Delete a workflow note by ID. */
|
|
9194
9641
|
deleteWorkflowNote(wid: string, id: number): Promise<void>;
|
|
9195
9642
|
}
|
|
9196
9643
|
|
|
@@ -9641,6 +10088,7 @@ interface WorkflowsBindings {
|
|
|
9641
10088
|
updateAssistant: AssistantsApi['updateAssistant'];
|
|
9642
10089
|
deleteAssistant: AssistantsApi['deleteAssistant'];
|
|
9643
10090
|
previewTTS: AssistantsApi['previewTTS'];
|
|
10091
|
+
previewThinkingSound: AssistantsApi['previewThinkingSound'];
|
|
9644
10092
|
getSupervisors: SupervisorsApi['getSupervisors'];
|
|
9645
10093
|
getSupervisor: SupervisorsApi['getSupervisor'];
|
|
9646
10094
|
createSupervisor: SupervisorsApi['createSupervisor'];
|
|
@@ -9725,6 +10173,8 @@ interface ToolkitsBindings {
|
|
|
9725
10173
|
getVariableRegistry: TemplatesApi['getVariableRegistry'];
|
|
9726
10174
|
getChatModels: AIModelsApi['getChatModels'];
|
|
9727
10175
|
getRealtimeModels: AIModelsApi['getRealtimeModels'];
|
|
10176
|
+
getSTTModels: AIModelsApi['getSTTModels'];
|
|
10177
|
+
getTTSModels: AIModelsApi['getTTSModels'];
|
|
9728
10178
|
getVoiceModels: AIModelsApi['getVoiceModels'];
|
|
9729
10179
|
getAllModels: AIModelsApi['getAllModels'];
|
|
9730
10180
|
getCustomToolkits: CustomToolkitsApi['getCustomToolkits'];
|
|
@@ -10316,6 +10766,7 @@ declare class GravityRailClient implements TasksBindings, ChatsBindings, CallsBi
|
|
|
10316
10766
|
updateAssistant: WorkflowsBindings['updateAssistant'];
|
|
10317
10767
|
deleteAssistant: WorkflowsBindings['deleteAssistant'];
|
|
10318
10768
|
previewTTS: WorkflowsBindings['previewTTS'];
|
|
10769
|
+
previewThinkingSound: WorkflowsBindings['previewThinkingSound'];
|
|
10319
10770
|
getSupervisors: WorkflowsBindings['getSupervisors'];
|
|
10320
10771
|
getSupervisor: WorkflowsBindings['getSupervisor'];
|
|
10321
10772
|
createSupervisor: WorkflowsBindings['createSupervisor'];
|
|
@@ -10391,6 +10842,8 @@ declare class GravityRailClient implements TasksBindings, ChatsBindings, CallsBi
|
|
|
10391
10842
|
getVariableRegistry: ToolkitsBindings['getVariableRegistry'];
|
|
10392
10843
|
getChatModels: ToolkitsBindings['getChatModels'];
|
|
10393
10844
|
getRealtimeModels: ToolkitsBindings['getRealtimeModels'];
|
|
10845
|
+
getSTTModels: ToolkitsBindings['getSTTModels'];
|
|
10846
|
+
getTTSModels: ToolkitsBindings['getTTSModels'];
|
|
10394
10847
|
getVoiceModels: ToolkitsBindings['getVoiceModels'];
|
|
10395
10848
|
getAllModels: ToolkitsBindings['getAllModels'];
|
|
10396
10849
|
getCustomToolkits: ToolkitsBindings['getCustomToolkits'];
|
|
@@ -11148,4 +11601,4 @@ declare const SCOPE_PRESETS: {
|
|
|
11148
11601
|
ALL: ScopeName[];
|
|
11149
11602
|
};
|
|
11150
11603
|
|
|
11151
|
-
export { type AIChatParticipant, type AIModelResponse, type AIModelUsage, type AIModelsResponse, type AIUsageDetails, type AIUsageReport, type AIUsageReportParams, type AWSRealtimeModelConfig, type Ability, type AbilityConfig, type AbilityType, type AbilityTypeSlug, AbilityTypeSlugs, type AbilityTypesResponse, type AccessGrant, type AccessGrantDecision, type AccessGrantInterrupt, AccessGrantResourceType, AccessGrantStatus, AccessGrantTrigger, AccessLevel, Account, AccountFormData, AccountLookupResponse, AccountSortField, AddAccountToOrgRequest, type AddGroupMemberRequest, Agent, type AgentSortField, type AllModelsResponse, type AnalyticsFilter, type AnalyticsQuery, AnonymousMemberResolution, ApiError, ApiKey, ApiKeyCreated, ApiKeyFormData, type ApiScope, type App, type AppConnectionAccessInterrupt, type AppConnectionBase, type AppConnectionDirectoryEntry, type AppConnectionDirectoryResponse, type AppConnectionItem, type AppConnectionType, type AppContext, type AppCredentialResponse, type AppListResponse, AppsApi, type AssignQualificationRequest, type Assignment, AssignmentSortField, type AssignmentStatusType, type AssignmentTask, type AssignmentsQueryParams, type Assistant, type AssistantExport, type AssistantExportItem, type AssistantFormData, type AssistantMessageActionParams, AssistantSortField, type AttachedAddonInfo, type AuthorizeRequest, type AuthorizeResponse, AvailabilityCheck, AvailabilityResponse, type AvailableMemberRole, AvailableSlotsRequest, AvailableSlotsResponse, BUILTIN_ASSISTANT_CHAT_TYPES, type BaseChatModelConfig, type BaseRealtimeModelConfig, type BillingDashboardResponse, type BillingPlanInfo, type BillingResourceCounts, type BillingStatistics, type BillingUsageInfo, type BoardsResponse, type BuildWorkspaceRequest, type BuildWorkspaceResponse, type Builder, type BuilderListResponse, BuildersApi, type BusinessHoursDay, CELApi, type CELContextRequest, type CELContextResponse, type CELFunction, type CELVariable, CHAT_TYPES, Calendar, type CalendarBookingAbilityConfig, CalendarEvent, CalendarEventFormData, CalendarEventType, CalendarEventTypeFormData, CalendarEventsQueryParams, CalendarFormData, CalendarSchedule, CalendarScheduleFormData, type CallEndSection, type CallEndStatusEntry, CancelCredentialChangeInviteResponse, CancelCredentialChangeResponse, type Channel, type ChannelFailures, type Chat, type ChatAIModel, type ChatCompletionError, type ChatContinueActionParams, type ChatCreateActionParams, type ChatFilter, type ChatFilterFilterType, type ChatFilterFormData, type ChatFilterObjectType, type ChatFilterRule, type ChatFilterRuleFormData, type ChatFormData, type ChatLabel, type ChatLabelFormData, type ChatMessage, type ChatMessageChunk, type ChatMessageObject, type ChatModelConfig, type ChatParticipant, type ChatParticipantFormData, ChatSortField, type ChatState, type ChatSummarizeActionParams, type ChatTokenUsage, type ChatType, type ChildTask, type ChildTaskFormData, type ClaudeChatModelConfig, type CleanupChatsResponse, type ClientWorkspace, type ColumnsResponse, type CommunicationDetails, type CompareWithStripeResponse, type ConcludeAssignmentActionParams, type ConnectionMultiplicity, ConsentMethod, type ContributorChatParticipant, type ConversationHistoryAbilityConfig, type CreateAccessGrantRequest, CreateAgentRequest, type CreateAppConnectionRequest, type CreateAppRequest, type CreateAssignmentFormData, type CreateBuilderRequest, type CreateDiscordBotRequest, type CreateEventRequest, type CreateFhirConnectionRequest, type CreateInquiryRequest, type CreateMemberFieldRequest, type CreateOperatorGroupRequest, type CreateOrganizationInvitationFormData, CreateOrganizationRequest, type CreateProductRequest, type CreatePronunciationEntryFormData, type CreateQualificationRequest, type CreateRequirementRequest, CreateSignupResponse, type CreateSlackAppRequest, type CreateWorkflowContributorRequest, type CreateWorkflowFromTemplateFormData, type CreateWorkspaceInvitationFormData, CreateWorkspaceMemberRequest, CredentialChangeInviteConfirmResponse, CredentialChangeInviteDetails, CredentialChangeInviteResponse, CredentialChangeRequestResponse, CredentialChangeVerifyResponse, type CredentialProvider, CredentialType, type CriterionInput, type CriterionResult, CriterionType, CurrentMember, CurrentOrgMember, type CurrentPlanInfo, CursorPaginatedResponse, type CustomRealtimeModelConfig, type CustomTool, type CustomToolExport, type CustomToolFormData, type CustomToolUpdateFormData, type CustomToolkit, type CustomToolkitExport, type CustomToolkitFormData, type CustomToolkitUpdateFormData, DEFAULT_CHAT_MODEL, DEFAULT_CUSTOM_VOICE_MODEL, type DailyPhoneRow, type DailySMSRow, type DashboardMetrics, type DataAccessAbilityConfig, type DataAccessGrantInterrupt, type DataFieldExport, DataRecord, DataRecordAssociationFormData, type DataRecordContext, DataRecordFormData, DataRecordUpdate, DataRecordWithAccessMode, DataRecordsPaginatedResponse, DataType, type DataTypeExport, DataTypeFormData, type DayAggregatedData, type DayCallAggregatedData, type DiscordBot, type DiscordBotAccount, type DiscordBotResponse, type DiscordBotSortField, type DiscordGuild, type DiscordRespondMode, type DiscordThread, type DisplayFileLabelResponse, type DisplayFileResponse, type DomainMapping, type EfficiencyMetrics, type Email, type EmailAttachment, type EmailConversionResponse, type EmailCountsResponse, type EmailSendActionParams, type EmailUsage, type EmptyAbilityConfig, type EnhancedAuthHandler, type EscalationAbilityConfig, type Event, type EventActionMapping, type EventActionMappingsResponse, type EventRule, EventRuleActionType, EventRuleEventType, type EventRuleExport, type EventRuleExportItem, type EventRuleFormData, type EventRuleInput, type EventRuleMetrics, EventRuleObjectType, type EventRun, EventRunSortField, type EventRunsQueryParams, EventSortField, type EventsQueryParams, type ExecuteToolResponse, ExpireAnonymousMemberRequest, type ExportStatistics, FeatureCategory, type FeatureDefinition, type FeatureStatusValue, type FeatureSyncStatus, FeatureVisibility, type FeaturesResponse, FhirClientType, type FhirConnection, type FhirConnectionResponse, type FhirConnectionSortField, FhirConnectionState, type FhirCreateEncounterRequest, type FhirFetchCareTeamRequest, type FhirFetchEncountersRequest, type FhirMethodResponse, type FhirSearchLocationsRequest, type FhirSearchPatientsRequest, type FhirSearchPractitionersRequest, FhirVendor, type File$1 as File, type FileAccessAbilityConfig, type FileAccessEntry, type FileAssociationFormData, type FileConversionResponse, type FileExport, type FileExportItem, type FileFolder, type FileFolderExport, type FileFolderFormData, type FileFolderRelation, type FileFormData, type FileLabel, type FileLabelExport, type FileLabelFormData, type FileLabelRelation, type FileRoleAssociationResponse, type FileSharingResponse, FileSortField, type FileUploadRequest, type FileUploadResponse, type FileWithAccessMode, type FileWithAccessModeFormData, type FilesQueryParams, type FolderAccessEntry, type FolderMemberRoleRelation, type FolderSearchParams, type FolderSearchResult, type FolderSharingResponse, type FormFieldUpdateActionParams, type FunctionTool, type GeminiChatModelConfig, type GeminiRealtimeModelConfig, type GeminiThinkingLevel, GenerateRecoveryCodesRequest, type GenerateSummariesResponse, type GetChatsOptions, type GmailAbilityConfig, GoogleCalendarInfo, GoogleCalendarInsufficientScopesResponse, GoogleCalendarStatusResponse, GravityRailClient, type GroupsResponse, type HITLActionRequest, type HITLDecision, type HITLRequest, type HITLResponse, type HITLReviewConfig, type HealthCheckStatistics, type HealthMetricsRequest, type HealthMetricsResponse, type HealthSummary, type HumanChatParticipant, ICalFeedTokenResponse, ICalFeedUrlResponse, type ImageUrlContent, type ImportPreviewItem, type ImportStatistics, type Inbox, type InboxCreateRequest, type InboxExport, type InboxMapping, type InboxMappingDetailResponse, type InboxUpdateRequest, type IncomingInteraction, type InitiateCallRequest, type InitiateCallResponse, type Inquiry, type InquiryListResponse, type InquiryStatus, type InquiryType, type InteractionAccepted, type InteractionTimedOut, type Invitation, type InvitationAcceptedResponse, type InvitationDetails, type InvitationListResponse, InvitationStatus, type InvokeCustomToolActionParams, type InvokeSupervisorActionParams, LinkCalendarRequest, LinkCalendarResponse, type ListInvitationsParams, type LiveOperator, type LiveOperatorsResponse, type LoadedSkill, type LocalResourceData, LogoUploadRequest, LogoUploadResponse, MASKED_SECRET_SENTINEL, type McpPromptArgumentResponse, type McpPromptResponse, type McpResourceResponse, type McpServer, type McpServerAuthRequired, type McpServerExport, type McpServerFormData, type McpServerPromptsResponse, type McpServerResourcesResponse, type McpServerResponse, McpServerState, type McpServerToolResponse, type McpServerToolsResponse, type McpServerUpdateFormData, type McpTestConnectionResponse, type McpTool, Member, type MemberCredential, MemberFeature, type MemberField, type MemberFieldDefinition, type MemberFieldDefinitionListResponse, type MemberFieldListResponse, MemberFilter, type MemberFilterExport, MemberFilterFormData, type MemberFilterRuleExport, MemberFormData, MemberLabel, type MemberLabelActionParams, type MemberLabelExport, MemberLabelFormData, type MemberNotificationPreferences, type MemberNotifyActionParams, MemberOrgView, type MemberQualification, MemberRole, type MemberRoleDataTypeRelation, type MemberRoleExport, MemberRoleFormData, type MemberRoleInboxRelation, type MemberRoleSiteRelation, type MemberRoleTaskRelation, MemberSortField, type MemberUpsertActionParams, type MemberUpsertBehavior, type MemberUsageReport$1 as MemberUsageReport, type MenuItem, type MenuItemExport, type MenuItemFormData, type MenuItemType, type MenuTree, MergeMembersRequest, MergeMembersResponse, type MessageContentPart, type MessageRole, type MessageTimingResponse, type MessageTokenUsage, type MessageValidationActionParams, type MetricDataPoint, type MetricSection, type MetricSummary, type MetricValue, type Milestone, type MilestoneAnalytics, type MilestoneCreateRequest, type MilestoneDeleteResponse, type MilestoneExport, type MilestoneFormData, type MilestoneGoal, type MilestoneGoalExport, type MilestoneGoalFormData, type MilestoneGoalProgress, type MilestoneProgress, MilestoneSortField, type MilestoneTimeline, type MilestoneTimelineItem, type MilestoneUpdateRequest, type MilestonesQueryParams, MissingMembershipItem, type ModelProvider, type ModelState, type ModelType, type ModelUsage, type ModelUsageStats, type MondayBoard, type MondayColumn, type MondayColumnMapping, type MondayColumnSettings, type CreateWebhookParams as MondayCreateWebhookParams, type CurrentUserInfoResponse as MondayCurrentUserInfoResponse, type MondayGroup, type MondayLookupType, type MondayRefreshActionParams, type MondayRefreshColumnMapping, type MondayStatusLabel, type MondayUpsertItemActionParams, type MondayUpsertMode, type WebhookConfig as MondayWebhookConfig, type WebhookDetails as MondayWebhookDetails, type WebhookResponse as MondayWebhookResponse, type MultiMatchBehavior, NO_ASSISTANT_PARTICIPANT_CHAT_TYPES, type Notice, type NoticesResponse, type Notification, type NotificationRule, type NotificationRuleCreate, type NotificationRuleUpdate, type OAuthAuthorizeResponse, type OAuthConnectionStatus, type OAuthProviderSlug, ORG_ONLY_RESOURCES, type OpenAIChatModelConfig, type OpenAIRealtimeModelConfig, type OpenAIReasoningEffort, type OpenAISemanticVADEagerness, type OpenAISemanticVADTurnDetection, type OpenAIServerVADTurnDetection, type OpenAITurnDetection, type OpenAITurnDetectionType, type OperatorChatParticipant, type OperatorChildTaskDetail, type OperatorGroup, type OperatorGroupMember, type OperatorGroupMemberInput, type OperatorLiveStatus, type OperatorTaskDetailResponse, OrgApi, type OrgAuthHandler, type OrgAuthInfo, OrgFeature, OrgMember, OrgMemberListResponse, OrgMemberRole, type OutboundCallRequest, type OutboundCallResponse, type OverageConfig, type OverrideCriterionRequest, type Page, type PageContext, type PageExport, type PageFormData, PageSortField, type PagesQueryParams, PaginatedResponse, type PaginatedSubscriptionsResponse, PendingAnonymousMembersResponse, PendingCredentialChange, PendingCredentialChangeInvite, type PerformanceMetrics, type PhoneAggregatedData, type PhoneCall, type PhoneCallAggregatedData, type PhoneCallPhoneNumberUsage, type PhoneCallToolsAbilityConfig, type PhoneCallUsage, type PhoneCommunicationDetails, type PhoneNumber, type PhoneNumberExport, type PhoneNumberFormData, type PhoneNumberMappingFormData, type PhoneNumberMappingResponse, type PhoneNumberStatus, type PhoneNumberUsage, type PhoneUsageReport, type PhoneUsageReportParams, type PhoneUsageRow, type PlanComparisonResult, type PlanConfiguration, type PlanInfo, type PlatformAppConnectionResponse, type PlatformUsageData, type PresenceAcceptInteractionMessage, type PresenceClientMessage, type PresenceConfirmation, type PresenceEndInteractionMessage, type PresenceError, type PresenceGoLiveMessage, type PresenceGoOfflineMessage, type PresenceHeartbeatMessage, type PresenceLoginAck, type PresenceLoginMessage, type PresenceRejectInteractionMessage, type PresenceServerMessage, type PresenceStatusResponse, type PresenceTakenOverAckMessage, type Product, type ProductFeature, type ProductFeatureKey, type ProductImage, type ProductInclusions, type ProductInfo, type ProductLimits, type ProductLink, type ProductMetadata, type ProductOverageConfig, type ProductPlan, type ProductPlans, type ProductResources, ProductType, type PronunciationEntry, type PronunciationImportEntry, type PronunciationImportResult, type ProviderPhoneNumber, type ProviderUsageSummary, type ProvisionPlanRequest, type ProvisionPlanResponse, type PublicFileMetadata, type PublicFolderContents, type PublicWorkspace, type Qualification, type QualificationCriterion, type QualificationCriterionExport, type QualificationExport, type QualificationMemberEntry, type QualificationRequirement, type QualificationRequirementExport, QualificationStatus, type QualificationStatusLogEntry, type QualificationSubmission, QualificationType, REALTIME_MODEL_CUSTOM, REALTIME_MODEL_GEMINI, REALTIME_MODEL_NOVA_SONIC, REALTIME_MODEL_OPENAI, REALTIME_MODEL_OPENAI_MINI, RESOURCE_TO_FEATURE_MAP, type RealtimeAIModel, type RealtimeChatError, type RealtimeModelConfig, type RecommendedVoice, RecoveryCodesResponse, type RegistryVariable, type RenderedPage, type ReorderMenuItemsData, RequestMagicLinkResponse, type RequestsSection, type RequestsStatusEntry, RequirementType, ResolveAnonymousMemberRequest, type ResolveGrantRequest, Resource, type ResourceComparisonResult, type ResourceConfiguration, type ResourceMetadata, type ResourceOverage, type ResourceScope, type ResourceUsage, type ReviewSubmissionRequest, type RevokeGrantRequest, type RoleAssociationEntry, type RoutingStrategy, type RuleExecution, RuleExecutionSortField, type RuleExecutionsQueryParams, SCOPES, SCOPE_PRESETS, type SMSCommunicationDetails, SMSLoginResponse, type SMSMessage, type SMSMessageUsage, type SMSPhoneNumberUsage, type SMSUsageReport, type SMSUsageReportParams, type SMSUsageRow, type STTProviderSummary, type STTUsageRow, STT_MODEL_DEEPGRAM_FLUX, STT_MODEL_DEEPGRAM_NOVA_2, STT_MODEL_ELEVENLABS_SCRIBE, type ScenarioDataRecord, type ScenarioDefinition, type ScenarioPersona, type ScheduledEventExport, ScopeCategory, ScopeManager, type ScopeName, type ScopesListResponse, type SessionTakeover, type SetupStep, SetupTOTPRequest, SetupWebAuthnRequest, type SharingGrantEntry, type Site, type SiteContext, type SiteCountsResponse, type SiteExport, type SiteFormData, type SiteMapping, type SiteMappingFormData, type SiteSignupResponse, type SiteSlugAvailability, type SkillsResponse, type SkillsState, type SkippedWorkspace, type SlackAccount, type SlackApp, type SlackAppInstallation, type SlackAppResponse, type SlackAppSortField, type SlackRespondMode, type SlackSlashCommandConfig, type SlackThread, type SlashCommandConfig, SortOrder, type SpamScore, type StatisticsSummary, type StripeAddress, type StripeCardDetails, type StripeComparisonResult, type StripeCustomer, type StripeCustomerCreateRequest, type StripeCustomerUpdateRequest, type StripePaymentMethod, type StripePlanDetail, type StripePrice, type StripeProduct, type StripeShipping, type StripeSubscriptionCreateRequest, type StripeSubscriptionUpdateRequest, type StripeTax, type StripeUSBankAccountDetails, SubmissionStatus, type SubmissionSummary, type SubmitAnswerRequest, type Subscription, type SubscriptionUpdateRequest, type SupervisorAbilityConfig, type SupervisorActionsAbilityConfig, type SupervisorFormData, SupervisorsApi, type SwitchTaskActionParams, SyncCalendarResponse, type SyncProductToStripeRequest, type SyncProductToStripeResponse, type SyncUsageRequest, type SyncUsageResponse, type SystemStatistics, TOTPSetupResponse, type TTSModel, type TTSPreviewProvider, type TTSPreviewRequest, type TTSProviderSummary, type TTSUsageRow, TTS_MODEL_AWS_POLLY_GENERATIVE, TTS_MODEL_AWS_POLLY_NEURAL, TTS_MODEL_ELEVENLABS_FLASH, TTS_MODEL_ELEVENLABS_MULTILINGUAL, TTS_MODEL_ELEVENLABS_TURBO, TTS_PREVIEW_PROVIDERS, type Task, type TaskAssignmentStats, type TaskChat, type TaskChatsListResponse, type TaskChildRelation, type TaskContext, type TaskCountResponse, type TaskDataTypeRelation, type TaskEventRuleRelation, type TaskExport$1 as TaskExport, type TaskExportChildRelation, type TaskExportEventRuleRelation, type TaskExportFileRelation, type TaskFileRelation, type TaskFormData, type TasksQueryParams, type TemplateContextRequest, type TemplateContextResponse, type TemplatePreviewRequest, type TemplatePreviewResponse, type TemplateVariable, TemplatesApi, type TextContent, type Theme, type ThemeName, type ThemesListResponse, type ThinkingSound, type TimeSeriesData, type TimeSeriesDataPoint, type TipTapDocument, type TodoItem, type TodoStatus, type TodosResponse, type Tool, type ToolCall, type ToolCallFunction, type ToolInputSchema, type ToolParameter, type ToolResponse, type ToolResult, type Toolkit, type ToolkitContext, ToolkitState, type ToolkitsAbilityConfig, type ToolkitsResponse, type ToolsResponse, type TopResourceOverage, type TruncationReason, type TtsReconnectOutcomeEntry, type TtsReconnectSection, type TwilioPhoneNumber, TwoFactorOperationResponse, TwoFactorStatus, UnlinkCalendarResponse, type UnmappedPhoneNumber, UpdateAgentRequest, type UpdateAppConnectionRequest, type UpdateAppRequest, type UpdateAssignmentFormData, UpdateAttendeeRequest, type UpdateBuilderRequest, type UpdateDiscordBotRequest, type UpdateEventRequest, type UpdateEventRuleFormData, type UpdateFhirConnectionRequest, type UpdateFileRoleAssociationsRequest, type UpdateFileSharingRequest, type UpdateInquiryRequest, type UpdateInvitationFormData, type UpdateMemberFieldRequest, type UpdateMemberQualificationRequest, type UpdateOperatorGroupRequest, UpdateOrgMemberRequest, UpdateOrganizationRequest, type UpdatePhoneNumberStatusRequest, type UpdatePronunciationEntryFormData, type UpdateQualificationRequest, type UpdateRequirementRequest, type UpdateSlackAppRequest, UpdateTwoFactorMethodRequest, type UpdateWorkflowContributorRequest, UpdateWorkspaceMemberRequest, type UsageDiscrepancy, type UsageProductSummary, type UsageReport, type UsageReportRequest, type UsageStatistics, ValidateMagicLinkResponse, type VariableRegistryRequest, type VariableRegistryResponse, VerifyCodeResponse, VerifyTOTPSetupRequest, VerifyWebAuthnSetupRequest, type VoiceMetricsResponse, type VoiceMetricsTimeRange, type VoiceModel, type VoiceModelUsage, type VoiceModelsResponse, type VoiceTokenResponse, type VoiceUsageReport, type VoiceUsageReportParams, type WebSearchAbilityConfig, type WebhookActionParams, type WebhookLog, WebhookLogSortField, type WebhookLogsQueryParams, type WebhookMetrics, type Workflow, type WorkflowActivity, type WorkflowContext, type WorkflowContributor, type WorkflowExport$1 as WorkflowExport, type WorkflowFormData, type WorkflowNote, type WorkflowNoteExport, type WorkflowNoteFormData, type WorkflowTemplate, type Workspace, type WorkspaceAccessDeniedData, type WorkspaceAutoMapEntities, type WorkspaceBuildPreview, type WorkspaceExportData$1 as WorkspaceBuilderExportData, type WorkspaceBuilderInfo, type WorkspaceBuilderListResponse, type WorkspaceCounts, type WorkspaceCreateNewEntities, type WorkspaceDefaults, type WorkspaceDefaultsFormData, type WorkspaceExportData, WorkspaceFeature, type WorkspaceFeatureInfo, type WorkspaceFormData, type WorkspaceGrantReason, type WorkspaceHealthResponse, type WorkspaceHealthRow, type WorkspaceImportMapping, type WorkspaceImportPreviewResponse, type WorkspaceImportRequest, type WorkspaceImportValidation, type WorkspaceJoinRequest, type WorkspaceJoinResponse, WorkspaceProvisionStatus, type WorkspaceScope, type WorkspaceScopesResponse, WorkspaceSortField, type WorkspaceStatsResponse, type WorkspaceUsageReport, areDependenciesSatisfied, canPreviewVoice, clearRegistry, formatAppContextAsMarkdown, getAllFeatures, getAllResourceSlugs, getApplicableResourceSlugs, getApplicableResources, getAvailableFeaturesForUpgrade, getCookieValue, getFeature, getFeaturesByCategory, getFeaturesByVisibility, getMissingDependencies, getRequiredFeatureForResource, getResourceMetadata, getScopeFromProductType, getTTSProvider, getVoiceModelId, initializeFeatures, isChatType, isFeatureAvailable, isRegistryInitialized, isResourceAvailable, requiresAssistantParticipant, usesBuiltinAssistant, validateFeatureDependencies };
|
|
11604
|
+
export { type AIChatParticipant, type AIModelResponse, type AIModelUsage, type AIModelsResponse, type AIUsageDetails, type AIUsageReport, type AIUsageReportParams, type AWSRealtimeModelConfig, type Ability, type AbilityConfig, type AbilityType, type AbilityTypeSlug, AbilityTypeSlugs, type AbilityTypesResponse, type AccessGrant, type AccessGrantDecision, type AccessGrantInterrupt, AccessGrantResourceType, AccessGrantStatus, AccessGrantTrigger, AccessLevel, Account, AccountFormData, AccountLookupResponse, AccountSortField, AddAccountToOrgRequest, type AddGroupMemberRequest, Agent, type AgentSortField, type AllModelsResponse, type AnalyticsFilter, type AnalyticsQuery, AnonymousMemberResolution, ApiError, ApiKey, ApiKeyCreated, ApiKeyFormData, type ApiScope, type App, type AppConnectionAccessInterrupt, type AppConnectionBase, type AppConnectionDirectoryEntry, type AppConnectionDirectoryResponse, type AppConnectionItem, type AppConnectionType, type AppContext, type AppCredentialResponse, type AppListResponse, AppsApi, type AssignQualificationRequest, type Assignment, AssignmentSortField, type AssignmentStatusType, type AssignmentTask, type AssignmentsQueryParams, type Assistant, type AssistantExport, type AssistantExportItem, type AssistantFormData, type AssistantMessageActionParams, AssistantSortField, type AttachedAddonInfo, type AuthorizeRequest, type AuthorizeResponse, AvailabilityCheck, AvailabilityResponse, type AvailableMemberRole, AvailableSlotsRequest, AvailableSlotsResponse, BUILTIN_ASSISTANT_CHAT_TYPES, type BaseChatModelConfig, type BaseRealtimeModelConfig, type BillingDashboardResponse, type BillingPlanInfo, type BillingResourceCounts, type BillingStatistics, type BillingUsageInfo, type BoardsResponse, type BuildWorkspaceRequest, type BuildWorkspaceResponse, type Builder, type BuilderListResponse, BuildersApi, type BusinessHoursDay, CELApi, type CELContextRequest, type CELContextResponse, type CELFunction, type CELVariable, CHAT_TYPES, Calendar, type CalendarBookingAbilityConfig, CalendarEvent, CalendarEventFormData, CalendarEventType, CalendarEventTypeFormData, CalendarEventsQueryParams, CalendarFormData, CalendarSchedule, CalendarScheduleFormData, type CallEndSection, type CallEndStatusEntry, CancelCredentialChangeInviteResponse, CancelCredentialChangeResponse, type Channel, type ChannelFailures, type Chat, type ChatAIModel, type ChatActivityEvent, type ChatCompletionError, type ChatContinueActionParams, type ChatCreateActionParams, type ChatFilter, type ChatFilterFilterType, type ChatFilterFormData, type ChatFilterObjectType, type ChatFilterRule, type ChatFilterRuleFormData, type ChatFormData, type ChatLabel, type ChatLabelFormData, type ChatMessage, type ChatMessageChunk, type ChatMessageObject, type ChatModelConfig, type ChatParticipant, type ChatParticipantFormData, ChatSortField, type ChatState, type ChatSummarizeActionParams, type ChatTokenUsage, type ChatType, type ChildTask, type ChildTaskFormData, type ClaudeChatModelConfig, type CleanupChatsResponse, type ClientWorkspace, type ColumnsResponse, type CommunicationDetails, type CompareWithStripeResponse, type ConcludeAssignmentActionParams, type ConnectionMultiplicity, ConsentMethod, type ContributorChatParticipant, type ConversationHistoryAbilityConfig, type CreateAccessGrantRequest, CreateAgentRequest, type CreateAppConnectionRequest, type CreateAppRequest, type CreateAssignmentFormData, type CreateBuilderRequest, type CreateDiscordBotRequest, type CreateEventRequest, type CreateFhirConnectionRequest, type CreateInquiryRequest, type CreateMemberFieldRequest, type CreateOperatorGroupRequest, type CreateOrganizationInvitationFormData, CreateOrganizationRequest, type CreateProductRequest, type CreatePronunciationEntryFormData, type CreateQualificationRequest, type CreateRequirementRequest, CreateSignupResponse, type CreateSlackAppRequest, type CreateWorkflowContributorRequest, type CreateWorkflowFromTemplateFormData, type CreateWorkspaceInvitationFormData, CreateWorkspaceMemberRequest, CredentialChangeInviteConfirmResponse, CredentialChangeInviteDetails, CredentialChangeInviteResponse, CredentialChangeRequestResponse, CredentialChangeVerifyResponse, type CredentialProvider, CredentialType, type CriterionInput, type CriterionResult, CriterionType, CurrentMember, CurrentOrgMember, type CurrentPlanInfo, CursorPaginatedResponse, type CustomRealtimeModelConfig, type CustomTool, type CustomToolExport, type CustomToolFormData, type CustomToolUpdateFormData, type CustomToolkit, type CustomToolkitExport, type CustomToolkitFormData, type CustomToolkitUpdateFormData, DEFAULT_CHAT_MODEL, DEFAULT_CUSTOM_VOICE_MODEL, type DailyPhoneRow, type DailySMSRow, type DashboardMetrics, type DataAccessAbilityConfig, type DataAccessGrantInterrupt, type DataFieldExport, DataRecord, DataRecordAssociationFormData, type DataRecordContext, DataRecordFormData, DataRecordUpdate, DataRecordWithAccessMode, DataRecordsPaginatedResponse, DataType, type DataTypeExport, DataTypeFormData, type DayAggregatedData, type DayCallAggregatedData, type DiscordBot, type DiscordBotAccount, type DiscordBotResponse, type DiscordBotSortField, type DiscordGuild, type DiscordRespondMode, type DiscordThread, type DisplayFileLabelResponse, type DisplayFileResponse, type DomainMapping, type EfficiencyMetrics, type Email, type EmailAttachment, type EmailConversionResponse, type EmailCountsResponse, type EmailSendActionParams, type EmailUsage, type EmptyAbilityConfig, type EnhancedAuthHandler, type EscalationAbilityConfig, type Event, type EventActionMapping, type EventActionMappingsResponse, type EventRule, EventRuleActionType, EventRuleEventType, type EventRuleExport, type EventRuleExportItem, type EventRuleFormData, type EventRuleInput, type EventRuleMetrics, EventRuleObjectType, type EventRun, EventRunSortField, type EventRunsQueryParams, EventSortField, type EventsQueryParams, type ExecuteToolResponse, ExpireAnonymousMemberRequest, type ExportStatistics, FeatureCategory, type FeatureDefinition, type FeatureStatusValue, type FeatureSyncStatus, FeatureVisibility, type FeaturesResponse, FhirClientType, type FhirConnection, type FhirConnectionResponse, type FhirConnectionSortField, FhirConnectionState, type FhirCreateEncounterRequest, type FhirFetchCareTeamRequest, type FhirFetchEncountersRequest, type FhirMethodResponse, type FhirSearchLocationsRequest, type FhirSearchPatientsRequest, type FhirSearchPractitionersRequest, FhirVendor, type File$1 as File, type FileAccessAbilityConfig, type FileAccessEntry, type FileAssociationFormData, type FileConversionResponse, type FileExport, type FileExportItem, type FileFolder, type FileFolderExport, type FileFolderFormData, type FileFolderRelation, type FileFormData, type FileLabel, type FileLabelExport, type FileLabelFormData, type FileLabelRelation, type FileRoleAssociationResponse, type FileSharingResponse, FileSortField, type FileUploadRequest, type FileUploadResponse, type FileWithAccessMode, type FileWithAccessModeFormData, type FilesQueryParams, type FolderAccessEntry, type FolderMemberRoleRelation, type FolderSearchParams, type FolderSearchResult, type FolderSharingResponse, type FormFieldUpdateActionParams, type FunctionTool, type GeminiChatModelConfig, type GeminiRealtimeModelConfig, type GeminiThinkingLevel, GenerateRecoveryCodesRequest, type GenerateSummariesResponse, type GetChatsOptions, type GmailAbilityConfig, GoogleCalendarInfo, GoogleCalendarInsufficientScopesResponse, GoogleCalendarStatusResponse, GravityRailClient, type GroupsResponse, type HITLActionRequest, type HITLDecision, type HITLRequest, type HITLResponse, type HITLReviewConfig, type HealthCheckStatistics, type HealthMetricsRequest, type HealthMetricsResponse, type HealthSummary, type HumanChatParticipant, ICalFeedTokenResponse, ICalFeedUrlResponse, type ImageUrlContent, type ImportPreviewItem, type ImportStatistics, type Inbox, type InboxCreateRequest, type InboxExport, type InboxMapping, type InboxMappingDetailResponse, type InboxUpdateRequest, type IncomingInteraction, type InitiateCallRequest, type InitiateCallResponse, type Inquiry, type InquiryListResponse, type InquiryStatus, type InquiryType, type InteractionAccepted, type InteractionTimedOut, type Invitation, type InvitationAcceptedResponse, type InvitationDetails, type InvitationListResponse, InvitationStatus, type InvokeCustomToolActionParams, type InvokeSupervisorActionParams, LinkCalendarRequest, LinkCalendarResponse, type ListInvitationsParams, type LiveOperator, type LiveOperatorsResponse, type LoadedSkill, type LocalResourceData, LogoUploadRequest, LogoUploadResponse, MASKED_SECRET_SENTINEL, type McpPromptArgumentResponse, type McpPromptResponse, type McpResourceResponse, type McpServer, type McpServerAuthRequired, type McpServerExport, type McpServerFormData, type McpServerPromptsResponse, type McpServerResourcesResponse, type McpServerResponse, McpServerState, type McpServerToolResponse, type McpServerToolsResponse, type McpServerUpdateFormData, type McpTestConnectionResponse, type McpTool, Member, type MemberCredential, MemberFeature, type MemberField, type MemberFieldDefinition, type MemberFieldDefinitionListResponse, type MemberFieldListResponse, MemberFilter, type MemberFilterExport, MemberFilterFormData, type MemberFilterRuleExport, MemberFormData, MemberLabel, type MemberLabelActionParams, type MemberLabelExport, MemberLabelFormData, type MemberNotificationPreferences, type MemberNotifyActionParams, MemberOrgView, type MemberQualification, MemberRole, type MemberRoleDataTypeRelation, type MemberRoleExport, MemberRoleFormData, type MemberRoleInboxRelation, type MemberRoleSiteRelation, type MemberRoleTaskRelation, MemberSortField, type MemberUpsertActionParams, type MemberUpsertBehavior, type MemberUsageReport$1 as MemberUsageReport, type MenuItem, type MenuItemExport, type MenuItemFormData, type MenuItemType, type MenuTree, MergeMembersRequest, MergeMembersResponse, type MessageContentPart, type MessageRole, type MessageTimingResponse, type MessageTokenUsage, type MessageValidationActionParams, type MetricDataPoint, type MetricSection, type MetricSummary, type MetricValue, type Milestone, type MilestoneAnalytics, type MilestoneCreateRequest, type MilestoneDeleteResponse, type MilestoneExport, type MilestoneFormData, type MilestoneGoal, type MilestoneGoalExport, type MilestoneGoalFormData, type MilestoneGoalProgress, type MilestoneProgress, MilestoneSortField, type MilestoneTimeline, type MilestoneTimelineItem, type MilestoneUpdateRequest, type MilestonesQueryParams, MissingMembershipItem, type ModelProvider, type ModelState, type ModelType, type ModelUsage, type ModelUsageStats, type MondayBoard, type MondayColumn, type MondayColumnMapping, type MondayColumnSettings, type CreateWebhookParams as MondayCreateWebhookParams, type CurrentUserInfoResponse as MondayCurrentUserInfoResponse, type MondayGroup, type MondayLookupType, type MondayRefreshActionParams, type MondayRefreshColumnMapping, type MondayStatusLabel, type MondayUpsertItemActionParams, type MondayUpsertMode, type WebhookConfig as MondayWebhookConfig, type WebhookDetails as MondayWebhookDetails, type WebhookResponse as MondayWebhookResponse, type MultiMatchBehavior, NO_ASSISTANT_PARTICIPANT_CHAT_TYPES, type Notice, type NoticesResponse, type Notification, type NotificationRule, type NotificationRuleCreate, type NotificationRuleUpdate, type OAuthAuthorizeResponse, type OAuthConnectionStatus, type OAuthProviderSlug, ORG_ONLY_RESOURCES, type OpenAIChatModelConfig, type OpenAIRealtimeModelConfig, type OpenAIReasoningEffort, type OpenAISemanticVADEagerness, type OpenAISemanticVADTurnDetection, type OpenAIServerVADTurnDetection, type OpenAITurnDetection, type OpenAITurnDetectionType, type OperatorChatParticipant, type OperatorChildTaskDetail, type OperatorGroup, type OperatorGroupMember, type OperatorGroupMemberInput, type OperatorLiveStatus, type OperatorTaskDetailResponse, OrgApi, type OrgAuthHandler, type OrgAuthInfo, OrgFeature, OrgMember, OrgMemberListResponse, OrgMemberRole, type OutboundCallRequest, type OutboundCallResponse, type OverageConfig, type OverrideCriterionRequest, type Page, type PageContext, type PageExport, type PageFormData, PageSortField, type PagesQueryParams, PaginatedResponse, type PaginatedSubscriptionsResponse, PendingAnonymousMembersResponse, PendingCredentialChange, PendingCredentialChangeInvite, type PerformanceMetrics, type PhoneAggregatedData, type PhoneCall, type PhoneCallAggregatedData, type PhoneCallPhoneNumberUsage, type PhoneCallToolsAbilityConfig, type PhoneCallUsage, type PhoneCommunicationDetails, type PhoneNumber, type PhoneNumberExport, type PhoneNumberFormData, type PhoneNumberMappingFormData, type PhoneNumberMappingResponse, type PhoneNumberStatus, type PhoneNumberUsage, type PhoneUsageReport, type PhoneUsageReportParams, type PhoneUsageRow, type PlanComparisonResult, type PlanConfiguration, type PlanInfo, type PlatformAppConnectionResponse, type PlatformUsageData, type PresenceAcceptInteractionMessage, type PresenceClientMessage, type PresenceConfirmation, type PresenceEndInteractionMessage, type PresenceError, type PresenceGoLiveMessage, type PresenceGoOfflineMessage, type PresenceHeartbeatMessage, type PresenceLoginAck, type PresenceLoginMessage, type PresenceRejectInteractionMessage, type PresenceServerMessage, type PresenceStatusResponse, type PresenceTakenOverAckMessage, type Product, type ProductFeature, type ProductFeatureKey, type ProductImage, type ProductInclusions, type ProductInfo, type ProductLimits, type ProductLink, type ProductMetadata, type ProductOverageConfig, type ProductPlan, type ProductPlans, type ProductResources, ProductType, type PronunciationEntry, type PronunciationImportEntry, type PronunciationImportResult, type ProviderPhoneNumber, type ProviderUsageSummary, type ProvisionPlanRequest, type ProvisionPlanResponse, type PublicFileMetadata, type PublicFolderContents, type PublicWorkspace, type Qualification, type QualificationCriterion, type QualificationCriterionExport, type QualificationExport, type QualificationMemberEntry, type QualificationRequirement, type QualificationRequirementExport, QualificationStatus, type QualificationStatusLogEntry, type QualificationSubmission, QualificationType, REALTIME_MODEL_CUSTOM, REALTIME_MODEL_GEMINI, REALTIME_MODEL_NOVA_SONIC, REALTIME_MODEL_OPENAI, REALTIME_MODEL_OPENAI_MINI, RESOURCE_TO_FEATURE_MAP, type RealtimeAIModel, type RealtimeChatError, type RealtimeModelConfig, type RecommendedVoice, RecoveryCodesResponse, type RegistryVariable, type RenderedPage, type ReorderMenuItemsData, RequestMagicLinkResponse, type RequestsSection, type RequestsStatusEntry, RequirementType, ResolveAnonymousMemberRequest, type ResolveGrantRequest, Resource, type ResourceComparisonResult, type ResourceConfiguration, type ResourceMetadata, type ResourceOverage, type ResourceScope, type ResourceUsage, type ReviewSubmissionRequest, type RevokeGrantRequest, type RoleAssociationEntry, type RoutingStrategy, type RuleExecution, RuleExecutionSortField, type RuleExecutionsQueryParams, SCOPES, SCOPE_PRESETS, type SMSCommunicationDetails, SMSLoginResponse, type SMSMessage, type SMSMessageUsage, type SMSPhoneNumberUsage, type SMSUsageReport, type SMSUsageReportParams, type SMSUsageRow, type STTProviderSummary, type STTUsageRow, STT_MODEL_DEEPGRAM_FLUX, STT_MODEL_DEEPGRAM_NOVA_2, STT_MODEL_ELEVENLABS_SCRIBE, type ScenarioDataRecord, type ScenarioDefinition, type ScenarioPersona, type ScheduledEventExport, ScopeCategory, ScopeManager, type ScopeName, type ScopesListResponse, type SessionTakeover, type SetupStep, SetupTOTPRequest, SetupWebAuthnRequest, type SharingGrantEntry, type Site, type SiteContext, type SiteCountsResponse, type SiteExport, type SiteFormData, type SiteMapping, type SiteMappingFormData, type SiteSignupResponse, type SiteSlugAvailability, type SkillsResponse, type SkillsState, type SkippedWorkspace, type SlackAccount, type SlackApp, type SlackAppInstallation, type SlackAppResponse, type SlackAppSortField, type SlackRespondMode, type SlackSlashCommandConfig, type SlackThread, type SlashCommandConfig, SortOrder, type SpamScore, type StatisticsSummary, type StripeAddress, type StripeCardDetails, type StripeComparisonResult, type StripeCustomer, type StripeCustomerCreateRequest, type StripeCustomerUpdateRequest, type StripePaymentMethod, type StripePlanDetail, type StripePrice, type StripeProduct, type StripeShipping, type StripeSubscriptionCreateRequest, type StripeSubscriptionUpdateRequest, type StripeTax, type StripeUSBankAccountDetails, SubmissionStatus, type SubmissionSummary, type SubmitAnswerRequest, type Subscription, type SubscriptionUpdateRequest, type SupervisorAbilityConfig, type SupervisorActionsAbilityConfig, type SupervisorFormData, SupervisorsApi, type SwitchTaskActionParams, SyncCalendarResponse, type SyncProductToStripeRequest, type SyncProductToStripeResponse, type SyncUsageRequest, type SyncUsageResponse, type SystemStatistics, TOTPSetupResponse, type TTSModel, type TTSPreviewProvider, type TTSPreviewRequest, type TTSProviderSummary, type TTSUsageRow, TTS_MODEL_AWS_POLLY_GENERATIVE, TTS_MODEL_AWS_POLLY_NEURAL, TTS_MODEL_ELEVENLABS_FLASH, TTS_MODEL_ELEVENLABS_MULTILINGUAL, TTS_MODEL_ELEVENLABS_TURBO, TTS_MODEL_POCKET, TTS_PREVIEW_PROVIDERS, type Task, type TaskAssignmentStats, type TaskChat, type TaskChatsListResponse, type TaskChildRelation, type TaskContext, type TaskCountResponse, type TaskDataTypeRelation, type TaskEventRuleRelation, type TaskExport$1 as TaskExport, type TaskExportChildRelation, type TaskExportEventRuleRelation, type TaskExportFileRelation, type TaskFileRelation, type TaskFormData, type TasksQueryParams, type TemplateContextRequest, type TemplateContextResponse, type TemplatePreviewRequest, type TemplatePreviewResponse, type TemplateVariable, TemplatesApi, type TextContent, type Theme, type ThemeName, type ThemesListResponse, type ThinkingSound, type ThinkingSoundPreviewRequest, type TimeSeriesData, type TimeSeriesDataPoint, type TipTapDocument, type TodoItem, type TodoStatus, type TodosResponse, type Tool, type ToolCall, type ToolCallFunction, type ToolInputSchema, type ToolParameter, type ToolResponse, type ToolResult, type Toolkit, type ToolkitContext, ToolkitState, type ToolkitsAbilityConfig, type ToolkitsResponse, type ToolsResponse, type TopResourceOverage, type TruncationReason, type TtsReconnectOutcomeEntry, type TtsReconnectSection, type TwilioPhoneNumber, TwoFactorOperationResponse, TwoFactorStatus, UnlinkCalendarResponse, type UnmappedPhoneNumber, UpdateAgentRequest, type UpdateAppConnectionRequest, type UpdateAppRequest, type UpdateAssignmentFormData, UpdateAttendeeRequest, type UpdateBuilderRequest, type UpdateDiscordBotRequest, type UpdateEventRequest, type UpdateEventRuleFormData, type UpdateFhirConnectionRequest, type UpdateFileRoleAssociationsRequest, type UpdateFileSharingRequest, type UpdateInquiryRequest, type UpdateInvitationFormData, type UpdateMemberFieldRequest, type UpdateMemberQualificationRequest, type UpdateOperatorGroupRequest, UpdateOrgMemberRequest, UpdateOrganizationRequest, type UpdatePhoneNumberStatusRequest, type UpdatePronunciationEntryFormData, type UpdateQualificationRequest, type UpdateRequirementRequest, type UpdateSlackAppRequest, UpdateTwoFactorMethodRequest, type UpdateWorkflowContributorRequest, UpdateWorkspaceMemberRequest, type UsageDiscrepancy, type UsageProductSummary, type UsageReport, type UsageReportRequest, type UsageStatistics, ValidateMagicLinkResponse, type VariableRegistryRequest, type VariableRegistryResponse, VerifyCodeResponse, VerifyTOTPSetupRequest, VerifyWebAuthnSetupRequest, type VoiceMetricsResponse, type VoiceMetricsTimeRange, type VoiceModel, type VoiceModelUsage, type VoiceModelsResponse, type VoiceTokenResponse, type VoiceUsageReport, type VoiceUsageReportParams, type WebSearchAbilityConfig, type WebhookActionParams, type WebhookLog, WebhookLogSortField, type WebhookLogsQueryParams, type WebhookMetrics, type Workflow, type WorkflowActivity, type WorkflowContext, type WorkflowContributor, type WorkflowExport$1 as WorkflowExport, type WorkflowFormData, type WorkflowNote, type WorkflowNoteExport, type WorkflowNoteFormData, type WorkflowTemplate, type Workspace, type WorkspaceAccessDeniedData, type WorkspaceAutoMapEntities, type WorkspaceBuildPreview, type WorkspaceExportData$1 as WorkspaceBuilderExportData, type WorkspaceBuilderInfo, type WorkspaceBuilderListResponse, type WorkspaceCounts, type WorkspaceCreateNewEntities, type WorkspaceDefaults, type WorkspaceDefaultsFormData, type WorkspaceExportData, WorkspaceFeature, type WorkspaceFeatureInfo, type WorkspaceFormData, type WorkspaceGrantReason, type WorkspaceHealthResponse, type WorkspaceHealthRow, type WorkspaceImportMapping, type WorkspaceImportPreviewResponse, type WorkspaceImportRequest, type WorkspaceImportValidation, type WorkspaceJoinRequest, type WorkspaceJoinResponse, WorkspaceProvisionStatus, type WorkspaceScope, type WorkspaceScopesResponse, WorkspaceSortField, type WorkspaceStatsResponse, type WorkspaceUsageReport, areDependenciesSatisfied, canPreviewVoice, clearRegistry, formatAppContextAsMarkdown, getAllFeatures, getAllResourceSlugs, getApplicableResourceSlugs, getApplicableResources, getAvailableFeaturesForUpgrade, getCookieValue, getFeature, getFeaturesByCategory, getFeaturesByVisibility, getMissingDependencies, getRequiredFeatureForResource, getResourceMetadata, getScopeFromProductType, getTTSProvider, getVoiceModelId, initializeFeatures, isChatType, isFeatureAvailable, isRegistryInitialized, isResourceAvailable, requiresAssistantParticipant, usesBuiltinAssistant, validateFeatureDependencies };
|