@gravity-rail/sdk 0.7.4 → 0.10.1
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/README.md +38 -0
- package/dist/{chunk-ANY7WLOD.js → chunk-2BJG4GYM.js} +778 -545
- package/dist/chunk-2BJG4GYM.js.map +1 -0
- package/dist/chunk-FSSXKQR5.js +471 -0
- package/dist/chunk-FSSXKQR5.js.map +1 -0
- package/dist/{chunk-QS6ZRQUZ.js → chunk-TJT7A4CO.js} +8 -1
- package/dist/{chunk-QS6ZRQUZ.js.map → chunk-TJT7A4CO.js.map} +1 -1
- package/dist/{client-B_cweJhP.d.cts → client-BffM3KcA.d.cts} +1367 -344
- package/dist/{client-C-on7whi.d.ts → client-DfjAYbt8.d.ts} +1367 -344
- package/dist/helpers.cjs +178 -2
- package/dist/helpers.cjs.map +1 -1
- package/dist/helpers.d.cts +82 -3
- package/dist/helpers.d.ts +82 -3
- package/dist/helpers.js +156 -1
- package/dist/helpers.js.map +1 -1
- package/dist/index.cjs +992 -174
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +14 -8
- package/dist/index.d.ts +14 -8
- package/dist/index.js +144 -20
- package/dist/index.js.map +1 -1
- package/dist/{inquiries-BX3PuU-7.d.cts → inquiries-UcWNYo-Q.d.cts} +567 -79
- package/dist/{inquiries-BX3PuU-7.d.ts → inquiries-UcWNYo-Q.d.ts} +567 -79
- package/dist/internal.cjs +925 -161
- package/dist/internal.cjs.map +1 -1
- package/dist/internal.d.cts +241 -5
- package/dist/internal.d.ts +241 -5
- package/dist/internal.js +71 -7
- package/dist/internal.js.map +1 -1
- package/dist/realtime.cjs +1 -0
- package/dist/realtime.cjs.map +1 -1
- package/dist/realtime.js +1 -0
- package/dist/realtime.js.map +1 -1
- package/dist/schemas.cjs +40 -7
- package/dist/schemas.cjs.map +1 -1
- package/dist/schemas.d.cts +134 -51
- package/dist/schemas.d.ts +134 -51
- package/dist/schemas.js +40 -8
- package/dist/schemas.js.map +1 -1
- package/dist/{scopes-ColqadkM.d.ts → scopes-CjSvITpL.d.cts} +53 -8
- package/dist/{scopes-CNbQi30F.d.cts → scopes-CmNKWrzb.d.ts} +53 -8
- package/package.json +6 -6
- package/dist/chunk-ANY7WLOD.js.map +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { d6 as PaginatedResponse, fl as MilestoneFormDataSchema, fm as MilestoneGoalFormDataSchema, cD as MilestoneSortField, ep as SortOrder, bP as WorkspaceMemberResponse, al as ChatSortField, fO as EnumOption, ey as ThemeFeatures, fP as EventRuleResponse, aJ as DataRecordResponse, bh as EventRuleResponse$1, bf as EventRuleInput, z as AssignmentSortField, aK as DataRecordAssociationFormData, aU as DataTypeResponse, A as AccessLevel, bk as FileSortField, d5 as PageSortField, cU as OrgMemberRole, m as AgentResponse, aq as CreateAgentRequest, eF as UpdateAgentRequest, u as ApiKeyResponse, w as ApiKeyFormData, v as ApiKeyCreatedResponse, e as AccountResponse, f as AccountFormData, e6 as SendLoginCodeResponse, eR as VerifyCodeResponse, ed as SessionExchangeRequest, ee as SessionExchangeResponse, av as CreateSignupResponse, dT as RequestMagicLinkResponse, eO as ValidateMagicLinkResponse, eD as TwoFactorStatus, ef as SetupTOTPRequest, es as TOTPSetupResponse, eU as VerifyTOTPSetupRequest, eC as TwoFactorOperationResponse, eg as SetupWebAuthnRequest, eV as VerifyWebAuthnSetupRequest, bm as GenerateRecoveryCodesRequest, dO as RecoveryCodeResponse, eL as UpdateTwoFactorMethodRequest, fx as AdminAccountOrgMembershipResponse, aC as CredentialType, aA as CredentialChangeRequestResponse, aB as CredentialChangeVerifyResponse, d8 as PendingCredentialChangeResponse, ah as CancelCredentialChangeResponse, ay as CredentialChangeInviteDetailsResponse, ax as CredentialChangeInviteConfirmResponse, $ as Calendar, a7 as CalendarFormData, aa as CalendarSchedule, ac as CalendarScheduleFormData, I as AvailabilityCheck, J as AvailabilityResponse, K as AvailableSlotsRequest, L as AvailableSlotsResponse, a6 as CalendarEventsQueryParams, a0 as EventResponse, a1 as CalendarEventFormData, eG as UpdateAttendeeRequest, a4 as EventTypeResponse, a5 as CalendarEventTypeFormData, bx as ICalFeedTokenResponse, by as ICalFeedUrlResponse, bu as GoogleCalendarInfo, bw as GoogleCalendarStatusResponse, bv as GoogleCalendarInsufficientScopesResponse, bH as LinkCalendarRequest, bI as LinkCalendarResponse, eE as UnlinkCalendarResponse, er as SyncCalendarResponse, aW as DataTypeFormData, aS as DataRecordsPaginatedResponse, aM as DataRecordFormData, aQ as DataRecordUpdateResponse, bQ as MemberCredentialResponse, bc as EventRule, bb as EventActionMappingsResponse, bg as EventRuleObjectType, E as EventRuleEventType, a as EventRuleActionType, be as EventRuleFormData, eH as UpdateEventRuleFormData, ew as TestWebhookRequest, ex as TestWebhookResponse, eY as WebhookLogsQueryParams, e3 as RuleExecutionsQueryParams, aF as CursorPaginatedResponse, e8 as SchedulePreviewRequest, e9 as SchedulePreviewResponse, e1 as RoutinesQueryParams, dV as Routine, au as CreateRoutineRequest, eK as UpdateRoutineRequest, bi as EventRunSortField, dX as RoutineRunResponse, f3 as CreateInquirySchema, fo as UpdateInquiryRequestSchema, aD as CurrentMemberResponse, bZ as MemberFormData, cp as MemberSortField, dA as QueryPredicate, aw as CreateWorkspaceMemberRequest, eM as UpdateWorkspaceMemberRequest, bV as MemberFilterResponse, bW as MemberFilterFormData, c8 as MemberLabelResponse, ca as MemberLabelFormData, cf as MemberRoleResponse, ck as MemberRoleFormData, c2 as MemberImportPreviewResponse, c7 as MemberImportStreamEvent, bz as IdentityConflictPolicy, bU as MemberFieldListResponse, bT as MemberFieldDefinitionListResponse, bR as MemberFieldResponse, az as CredentialChangeInviteResponse, ag as CancelCredentialChangeInviteResponse, d9 as PendingCredentialChangeInviteResponse, d7 as PendingAnonymousMembersResponse, s as AnonymousMemberResolutionResponse, dU as ResolveAnonymousMemberRequest, bj as ExpireAnonymousMemberRequest, cz as MemoryType, cb as MemberMemoriesResponse, cx as MemoryItem, Q as BulkCreateMembersRequest, R as BulkCreateMembersResponse, cr as MemberSyncLink, fQ as OrgDomainListResponse$1, bs as OrgDomainResponse$1, b5 as EmailDomainConfigResponse, fR as EmailDnsRecord$1, fS as EmailDomainConfigGetResponse$1, b3 as EmailDisableImpactResponse, el as SiteDomainConfigResponse, fT as SiteDnsRecord$1, fU as SiteDomainConfigGetResponse$1, ej as SiteDisableImpactResponse, bn as BusinessProfileResponse$1, X as BusinessInfo, H as AuthorizedRep, k as Address, bt as OwnershipDnsRecord$1, fy as AdminOrganization, cd as MemberOrgView, aE as CurrentOrgMember, cT as OrgMemberListResponse, eI as UpdateOrgMemberRequest, cS as OrgMember, e_ as WorkspaceSortField, cW as OwnershipVerificationResponse, b7 as EmailVerificationResponse, en as SiteVerificationResponse, Z as BusinessProfileSubmitResponse, Y as BusinessProfileCancelResponse, dt as QueryFieldsResponse, dv as QueryIR, eP as ValidateQueryResponse, dH as QueryRunMode, e5 as RunQueryResponse, aZ as DataTypeRecordScope, ea as SchemaField } from './inquiries-UcWNYo-Q.cjs';
|
|
2
2
|
import { z } from 'zod';
|
|
3
3
|
|
|
4
4
|
/**
|
|
@@ -36,6 +36,14 @@ interface AbilityTypeResponse {
|
|
|
36
36
|
configSchema?: AbilityTypeResponseConfigSchema;
|
|
37
37
|
/** If true, only one instance of this ability can exist per scope */
|
|
38
38
|
singleton?: boolean;
|
|
39
|
+
/** If true, this is an auto-injected system ability hidden from users */
|
|
40
|
+
system?: boolean;
|
|
41
|
+
/** Workspace feature slug required for this ability to be available */
|
|
42
|
+
requiredFeature?: string | null;
|
|
43
|
+
/** If true, the ability only resolves inside a chat context */
|
|
44
|
+
requiresChat?: boolean;
|
|
45
|
+
/** Channels this ability is available on (sorted). null means all channels. Declarative introspection metadata, not an enforcement point — the ability's resolve() remains authoritative. */
|
|
46
|
+
channels?: string[] | null;
|
|
39
47
|
}
|
|
40
48
|
type AbilityTypeResponseConfigSchema = {
|
|
41
49
|
[key: string]: unknown;
|
|
@@ -63,19 +71,27 @@ declare const AbilityTypeSlugs: {
|
|
|
63
71
|
readonly TOOLKITS: "tools:toolkits";
|
|
64
72
|
readonly WEB_SEARCH: "tools:web_search";
|
|
65
73
|
readonly CONVERSATION_HISTORY: "tools:conversation_history";
|
|
74
|
+
readonly IMAGE_GENERATION: "tools:image_generation";
|
|
75
|
+
readonly CONVERSATION_CONTROL: "tools:conversation_control";
|
|
66
76
|
readonly CALENDAR_BOOKING: "integration:calendar_booking";
|
|
67
77
|
readonly FILE_ACCESS: "integration:file_access";
|
|
68
78
|
readonly DATA_ACCESS: "integration:data_access";
|
|
69
79
|
readonly GMAIL: "integration:gmail";
|
|
80
|
+
readonly GOOGLE_CALENDAR: "integration:google_calendar";
|
|
81
|
+
readonly GOOGLE_DRIVE: "integration:google_drive";
|
|
70
82
|
readonly CHARLESTON_PMD_PAGING: "integration:charleston_pmd_paging";
|
|
71
83
|
readonly PHONE_CALL_TOOLS: "communication:phone_call_tools";
|
|
72
84
|
readonly SEND_SMS: "communication:send_sms";
|
|
85
|
+
readonly SEND_WHATSAPP: "communication:send_whatsapp";
|
|
73
86
|
readonly MEMBER_ACCESS: "communication:member_access";
|
|
74
87
|
readonly AUDIO_PLAYBACK: "communication:audio_playback";
|
|
75
88
|
readonly SUPERVISOR: "oversight:supervisor";
|
|
76
89
|
readonly SUPERVISOR_ACTIONS: "oversight:supervisor_actions";
|
|
77
90
|
readonly ESCALATION: "oversight:escalation";
|
|
78
91
|
readonly MEMBER_FIELD_VERIFICATION: "identity:member_field_verification";
|
|
92
|
+
readonly CONTRIBUTOR: "delegation:contributor";
|
|
93
|
+
readonly WORKFLOW_RUN: "workflow:run";
|
|
94
|
+
readonly RESELLER: "commerce:reseller";
|
|
79
95
|
readonly USER_MESSAGE_RULES: "system:user_message_rules";
|
|
80
96
|
readonly ASSISTANT_MESSAGE_RULES: "chat:assistant_message_rules";
|
|
81
97
|
readonly CEL_ROUTING: "system:cel_routing";
|
|
@@ -178,7 +194,8 @@ interface DataAccessAbilityConfig {
|
|
|
178
194
|
/** When true, auto-create a record for the assignment if one doesn't exist (default: false) */
|
|
179
195
|
autoCreate?: boolean;
|
|
180
196
|
/**
|
|
181
|
-
* Scope for
|
|
197
|
+
* Scope for the generated agent Form tool record access (reads/writes).
|
|
198
|
+
* Applies to any Form, not only collections.
|
|
182
199
|
* - "member" (default): all of the current Member's records, including
|
|
183
200
|
* from prior Assignments (lifetime history).
|
|
184
201
|
* - "assignment": only records linked to the current Assignment via
|
|
@@ -272,8 +289,22 @@ interface ConversationHistoryAbilityConfig {
|
|
|
272
289
|
/** Recall episodic memories (default: false) */
|
|
273
290
|
memory_episodic?: boolean;
|
|
274
291
|
}
|
|
275
|
-
/**
|
|
276
|
-
type
|
|
292
|
+
/** Read-only vs read-write for member-linked Google integrations */
|
|
293
|
+
type GoogleWorkspaceAccessMode = 'read_only' | 'read_write';
|
|
294
|
+
/** Shared config for Gmail, Google Calendar, and Google Drive integration abilities */
|
|
295
|
+
interface GoogleWorkspaceIntegrationAbilityConfig {
|
|
296
|
+
/**
|
|
297
|
+
* read_only: list linked accounts and read data only.
|
|
298
|
+
* read_write: also create or modify data (and reconnect OAuth for Gmail).
|
|
299
|
+
*/
|
|
300
|
+
accessMode?: GoogleWorkspaceAccessMode;
|
|
301
|
+
}
|
|
302
|
+
/** Config for integration:gmail */
|
|
303
|
+
type GmailAbilityConfig = GoogleWorkspaceIntegrationAbilityConfig;
|
|
304
|
+
/** Config for integration:google_calendar */
|
|
305
|
+
type GoogleCalendarAbilityConfig = GoogleWorkspaceIntegrationAbilityConfig;
|
|
306
|
+
/** Config for integration:google_drive */
|
|
307
|
+
type GoogleDriveAbilityConfig = GoogleWorkspaceIntegrationAbilityConfig;
|
|
277
308
|
/** A single audio file entry in the audio_playback ability config */
|
|
278
309
|
interface AudioPlaybackFileEntry {
|
|
279
310
|
/** ID of the workspace file to expose for playback (must be a .wav file) */
|
|
@@ -288,32 +319,82 @@ interface AudioPlaybackAbilityConfig {
|
|
|
288
319
|
/** Audio files the agent may play on this task */
|
|
289
320
|
files?: AudioPlaybackFileEntry[];
|
|
290
321
|
}
|
|
291
|
-
/** One named human contact rendered in the manual-escalation message. */
|
|
292
|
-
interface CharlestonPmdManualEscalationContact {
|
|
293
|
-
/** Human-readable contact name. */
|
|
294
|
-
name: string;
|
|
295
|
-
/**
|
|
296
|
-
* Callback phone number in E.164 format
|
|
297
|
-
* (leading '+' followed by 7-15 digits).
|
|
298
|
-
*/
|
|
299
|
-
phone: string;
|
|
300
|
-
}
|
|
301
322
|
/** Config for the Charleston Nephrology PMD paging ability. */
|
|
302
323
|
interface CharlestonPmdAbilityConfig {
|
|
303
324
|
/**
|
|
304
|
-
* UUID of the workspace OperatorGroup whose members
|
|
305
|
-
* manual-escalation notifications
|
|
306
|
-
*
|
|
307
|
-
*
|
|
325
|
+
* UUID of the workspace OperatorGroup whose members are the roster for
|
|
326
|
+
* manual-escalation notifications and the after-hours escalation-call
|
|
327
|
+
* ladder. Picked from the workspace's OperatorGroup list in the ability
|
|
328
|
+
* config UI.
|
|
308
329
|
*/
|
|
309
330
|
operatorGroupUuid: string;
|
|
310
331
|
/**
|
|
311
|
-
*
|
|
312
|
-
*
|
|
313
|
-
*
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
332
|
+
* UUID of the workspace Workflow an answered after-hours escalation call
|
|
333
|
+
* is connected to. Required at save time. The final phone ladder is no
|
|
334
|
+
* longer time-window constrained: once both PMD pages go unread on an
|
|
335
|
+
* after-hours-ladder route, group members are always called in priority
|
|
336
|
+
* order.
|
|
337
|
+
*
|
|
338
|
+
* The manual-escalation contact list was removed entirely: manual
|
|
339
|
+
* escalation now sends the OperatorGroup a generic, PHI-free incident
|
|
340
|
+
* notification that links to the incident DataRecord.
|
|
341
|
+
*/
|
|
342
|
+
escalationWorkflowUuid?: string | null;
|
|
343
|
+
/**
|
|
344
|
+
* Workflow-scoped PMD paging simulation switch. Absent/null = NORMAL
|
|
345
|
+
* production behavior (real PatientSync pages, real contacts) — production
|
|
346
|
+
* Workflow 7 leaves this unset. Any allowed value makes THIS workflow's
|
|
347
|
+
* pages simulated: PatientSync is never contacted and human contact is
|
|
348
|
+
* restricted to Members labeled 'cna_pmd_simulation_safe_contact'. Set it
|
|
349
|
+
* only on a cloned test Workflow, never production. The value is a PHI-free
|
|
350
|
+
* enum and never changes the send tool's argument schema.
|
|
351
|
+
*/
|
|
352
|
+
simulationOutcome?: CharlestonPmdSimulationOutcome | null;
|
|
353
|
+
/**
|
|
354
|
+
* Optional PatientSync call-center backstop: after the escalation ladder is
|
|
355
|
+
* exhausted, POST incident context to PatientSync and dial the returned
|
|
356
|
+
* number with this voice Workflow. Requires patientsync_transfer feature.
|
|
357
|
+
*/
|
|
358
|
+
patientsyncBackstopWorkflowUuid?: string | null;
|
|
359
|
+
/** Contact Member who owns the backstop outbound chat (phone overridden at dial). */
|
|
360
|
+
patientsyncBackstopContactMemberUuid?: string | null;
|
|
361
|
+
}
|
|
362
|
+
/** Allowed values for the Charleston PMD simulation switch (v1). */
|
|
363
|
+
type CharlestonPmdSimulationOutcome = 'read' | 'reply' | 'send_failed' | 'no_response_escalate' | 'daytime_followup_unread';
|
|
364
|
+
/** Config for image_generation ability */
|
|
365
|
+
interface ImageGenerationAbilityConfig {
|
|
366
|
+
/**
|
|
367
|
+
* Preferred aspect ratio the agent uses when the user doesn't request a
|
|
368
|
+
* specific shape. 'auto' lets the agent choose per request (default: 'auto').
|
|
369
|
+
*/
|
|
370
|
+
defaultAspectRatio?: 'auto' | '1:1' | '16:9' | '9:16' | '4:3' | '3:4';
|
|
371
|
+
/** Maximum images the agent may generate in a single request, 1-4 (default: 4) */
|
|
372
|
+
maxImages?: 1 | 2 | 3 | 4;
|
|
373
|
+
}
|
|
374
|
+
/** Config for conversation_control ability */
|
|
375
|
+
interface ConversationControlAbilityConfig {
|
|
376
|
+
/** Enable scheduling callbacks to continue conversation later (default: true) */
|
|
377
|
+
scheduleCallback?: boolean;
|
|
378
|
+
/** Enable restarting the assignment from scratch (default: false) */
|
|
379
|
+
startOver?: boolean;
|
|
380
|
+
/** Enable restarting with the default workflow for phone channels (default: true) */
|
|
381
|
+
restartWorkflow?: boolean;
|
|
382
|
+
}
|
|
383
|
+
/** Config for send_whatsapp ability — no user-configurable options */
|
|
384
|
+
type SendWhatsAppAbilityConfig = EmptyAbilityConfig;
|
|
385
|
+
/** Config for contributor ability — no user-configurable options */
|
|
386
|
+
type ContributorAbilityConfig = EmptyAbilityConfig;
|
|
387
|
+
/** Config for workflow_run ability */
|
|
388
|
+
interface WorkflowRunAbilityConfig {
|
|
389
|
+
/** Workflow UUID allowlist. Empty means any authorized Workflow. */
|
|
390
|
+
allowedWorkflowUuids?: string[];
|
|
391
|
+
/** Enabled run modes (default: ['current_chat']) */
|
|
392
|
+
allowedModes?: Array<'current_chat' | 'background'>;
|
|
393
|
+
/** Background run timeout in seconds (default: 600) */
|
|
394
|
+
defaultBackgroundTimeoutSeconds?: number;
|
|
395
|
+
}
|
|
396
|
+
/** Config for reseller ability — no user-configurable options */
|
|
397
|
+
type ResellerAbilityConfig = EmptyAbilityConfig;
|
|
317
398
|
/** Config for member_field_verification ability */
|
|
318
399
|
interface MemberFieldVerificationAbilityConfig {
|
|
319
400
|
/** Enable verification against the Member name on file (default: true) */
|
|
@@ -328,7 +409,7 @@ interface MemberFieldVerificationAbilityConfig {
|
|
|
328
409
|
/** Config for abilities with no configuration */
|
|
329
410
|
type EmptyAbilityConfig = Record<string, never>;
|
|
330
411
|
/** Union type of all ability configs */
|
|
331
|
-
type AbilityConfig = CalendarBookingAbilityConfig | FileAccessAbilityConfig | SupervisorAbilityConfig | SupervisorActionsAbilityConfig | ToolkitsAbilityConfig | DataAccessAbilityConfig | PhoneCallToolsAbilityConfig | SendSMSAbilityConfig | EscalationAbilityConfig | WebSearchAbilityConfig | ConversationHistoryAbilityConfig | GmailAbilityConfig | AudioPlaybackAbilityConfig | CharlestonPmdAbilityConfig | MemberFieldVerificationAbilityConfig | EmptyAbilityConfig | Record<string, unknown>;
|
|
412
|
+
type AbilityConfig = CalendarBookingAbilityConfig | FileAccessAbilityConfig | SupervisorAbilityConfig | SupervisorActionsAbilityConfig | ToolkitsAbilityConfig | DataAccessAbilityConfig | PhoneCallToolsAbilityConfig | SendSMSAbilityConfig | EscalationAbilityConfig | WebSearchAbilityConfig | ConversationHistoryAbilityConfig | GmailAbilityConfig | GoogleCalendarAbilityConfig | GoogleDriveAbilityConfig | AudioPlaybackAbilityConfig | CharlestonPmdAbilityConfig | ConversationControlAbilityConfig | WorkflowRunAbilityConfig | MemberFieldVerificationAbilityConfig | ImageGenerationAbilityConfig | EmptyAbilityConfig | Record<string, unknown>;
|
|
332
413
|
/** Re-bind config to typed client union (OpenAPI emits `{ [key: string]: unknown }`). */
|
|
333
414
|
type AbilityResponse = Omit<AbilityResponse$1, 'config' | 'id'> & {
|
|
334
415
|
id?: number;
|
|
@@ -399,15 +480,15 @@ declare class BaseApiClient {
|
|
|
399
480
|
private orgAuthHandler?;
|
|
400
481
|
private orgAuthInProgress;
|
|
401
482
|
private actingMemberUuid?;
|
|
402
|
-
private
|
|
483
|
+
private orgSession?;
|
|
403
484
|
/**
|
|
404
|
-
* The org_uuid that issued the current
|
|
485
|
+
* The org_uuid that issued the current org auth credential. Tracked so we can detect
|
|
405
486
|
* a 401 challenge from a *different* org and re-fire the handler — the
|
|
406
|
-
*
|
|
407
|
-
*
|
|
408
|
-
*
|
|
487
|
+
* credential is opaque to the client, so without this the original guard
|
|
488
|
+
* `!this.orgSession` would prevent re-auth across orgs and surface as a silent
|
|
489
|
+
* 401 in multi-org CLI workflows.
|
|
409
490
|
*/
|
|
410
|
-
private
|
|
491
|
+
private orgSessionOrgUuid?;
|
|
411
492
|
constructor(apiKey: string | undefined, baseUrl: string, customFetch?: typeof fetch);
|
|
412
493
|
/**
|
|
413
494
|
* Set the handler for enhanced authentication requirements (RFC 9470 Step-Up Auth).
|
|
@@ -437,15 +518,20 @@ declare class BaseApiClient {
|
|
|
437
518
|
*/
|
|
438
519
|
getActingMember(): string | undefined;
|
|
439
520
|
/**
|
|
440
|
-
* Set the org
|
|
441
|
-
*
|
|
442
|
-
*
|
|
521
|
+
* Set the opaque org session credential for cross-domain requests.
|
|
522
|
+
* Opaque gr_sess_ values use X-Org-Session. Legacy orgToken JWE values still
|
|
523
|
+
* use X-Org-Token through setOrgToken() during the migration window.
|
|
443
524
|
*
|
|
444
|
-
* `orgUuid` is the org that issued the
|
|
445
|
-
* handler detect a stale
|
|
525
|
+
* `orgUuid` is the org that issued the credential; passing it lets the 401
|
|
526
|
+
* handler detect a stale session when a subsequent request targets a
|
|
446
527
|
* different org and re-fire the org-auth handler instead of silently
|
|
447
528
|
* 401-ing. Callers without that context (legacy / unknown) may omit it.
|
|
448
529
|
*/
|
|
530
|
+
setOrgSession(session: string | undefined, orgUuid?: string): void;
|
|
531
|
+
/**
|
|
532
|
+
* @deprecated Legacy compatibility for stateless orgToken JWE credentials.
|
|
533
|
+
* Prefer setOrgSession() for opaque org browser sessions.
|
|
534
|
+
*/
|
|
449
535
|
setOrgToken(token: string | undefined, orgUuid?: string): void;
|
|
450
536
|
protected fetch<T>(endpoint: string, options?: RequestInit): Promise<T>;
|
|
451
537
|
protected fetchRaw(endpoint: string, options?: RequestInit, allowedErrorStatuses?: number[]): Promise<Response>;
|
|
@@ -457,14 +543,36 @@ declare class BaseApiClient {
|
|
|
457
543
|
}
|
|
458
544
|
|
|
459
545
|
/**
|
|
460
|
-
* API client for ability types.
|
|
461
|
-
*
|
|
546
|
+
* API client for ability types and configured ability instances.
|
|
547
|
+
*
|
|
548
|
+
* Ability *types* are read-only registry introspection. Ability *instances*
|
|
549
|
+
* are configured on a workflow or task scope (never on an agent row directly —
|
|
550
|
+
* the workflow_abilities table has no agent_id).
|
|
462
551
|
*/
|
|
463
552
|
declare class AbilitiesApi extends BaseApiClient {
|
|
464
553
|
/**
|
|
465
|
-
* List
|
|
554
|
+
* List available ability types from the registry.
|
|
555
|
+
* Pass includeSystem to also return auto-injected system abilities.
|
|
556
|
+
*/
|
|
557
|
+
getAbilityTypes(wid: string, options?: {
|
|
558
|
+
includeSystem?: boolean;
|
|
559
|
+
}): Promise<AbilityTypesResponse>;
|
|
560
|
+
/** Get the full spec for a single ability type by slug. */
|
|
561
|
+
getAbilityType(wid: string, slug: string): Promise<AbilityTypeResponse>;
|
|
562
|
+
/**
|
|
563
|
+
* List configured ability instances for a workflow or task scope.
|
|
564
|
+
* Exactly one of workflowId / taskId must be provided.
|
|
466
565
|
*/
|
|
467
|
-
|
|
566
|
+
listAbilities(wid: string, options: {
|
|
567
|
+
workflowId?: number;
|
|
568
|
+
taskId?: number;
|
|
569
|
+
}): Promise<AbilityResponse[]>;
|
|
570
|
+
/** Create (enable) a configured ability on a workflow or task scope. */
|
|
571
|
+
createAbility(wid: string, body: Record<string, unknown>): Promise<AbilityResponse>;
|
|
572
|
+
/** Update a configured ability (configure / enable / disable) by UUID. */
|
|
573
|
+
updateAbility(wid: string, abilityUuid: string, body: Record<string, unknown>): Promise<AbilityResponse>;
|
|
574
|
+
/** Delete a configured ability instance by UUID. */
|
|
575
|
+
deleteAbility(wid: string, abilityUuid: string): Promise<void>;
|
|
468
576
|
}
|
|
469
577
|
|
|
470
578
|
/**
|
|
@@ -852,7 +960,7 @@ interface MilestoneCreateRequest {
|
|
|
852
960
|
name: string;
|
|
853
961
|
description?: string;
|
|
854
962
|
targetDate: string;
|
|
855
|
-
goals
|
|
963
|
+
goals: MilestoneGoalFormData[];
|
|
856
964
|
}
|
|
857
965
|
interface MilestoneDeleteResponse {
|
|
858
966
|
success: boolean;
|
|
@@ -941,6 +1049,33 @@ interface ChatFilterRuleResponse {
|
|
|
941
1049
|
objectIds?: number[] | null;
|
|
942
1050
|
query?: string | null;
|
|
943
1051
|
}
|
|
1052
|
+
/**
|
|
1053
|
+
* Pending HITL interrupt on a chat.
|
|
1054
|
+
*
|
|
1055
|
+
* Canonical API shape (camelCase) for ``GET /chats/:id`` and AG-UI
|
|
1056
|
+
* ``human_input_request`` events. Built from LangGraph ``interrupt()``
|
|
1057
|
+
* payloads via ``build_chat_interrupt_response``. Resume via
|
|
1058
|
+
* ``POST …/inference/hitl`` echoing ``interruptId`` (request body).
|
|
1059
|
+
*/
|
|
1060
|
+
interface ChatInterruptResponse {
|
|
1061
|
+
type?: string | null;
|
|
1062
|
+
interruptId?: string | null;
|
|
1063
|
+
openuiMarkup?: string | null;
|
|
1064
|
+
description?: string | null;
|
|
1065
|
+
userPrompt?: string | null;
|
|
1066
|
+
specId?: number | null;
|
|
1067
|
+
specTitle?: string | null;
|
|
1068
|
+
specData?: ChatInterruptResponseSpecData;
|
|
1069
|
+
specStatus?: string | null;
|
|
1070
|
+
checkoutUrl?: string | null;
|
|
1071
|
+
productName?: string | null;
|
|
1072
|
+
price?: string | null;
|
|
1073
|
+
paymentComplete?: boolean | null;
|
|
1074
|
+
[key: string]: unknown;
|
|
1075
|
+
}
|
|
1076
|
+
type ChatInterruptResponseSpecData = {
|
|
1077
|
+
[key: string]: unknown;
|
|
1078
|
+
} | null;
|
|
944
1079
|
/**
|
|
945
1080
|
* Response model for chat label endpoints.
|
|
946
1081
|
*/
|
|
@@ -960,7 +1095,15 @@ interface ChatParticipantResponse {
|
|
|
960
1095
|
memberType?: string | null;
|
|
961
1096
|
chatModel?: string | null;
|
|
962
1097
|
realtimeModel?: string | null;
|
|
1098
|
+
chatModelConfig?: ChatParticipantResponseChatModelConfig;
|
|
1099
|
+
realtimeModelConfig?: ChatParticipantResponseRealtimeModelConfig;
|
|
963
1100
|
}
|
|
1101
|
+
type ChatParticipantResponseChatModelConfig = {
|
|
1102
|
+
[key: string]: unknown;
|
|
1103
|
+
} | null;
|
|
1104
|
+
type ChatParticipantResponseRealtimeModelConfig = {
|
|
1105
|
+
[key: string]: unknown;
|
|
1106
|
+
} | null;
|
|
964
1107
|
/**
|
|
965
1108
|
* Response model for chat endpoints.
|
|
966
1109
|
*/
|
|
@@ -993,11 +1136,9 @@ interface ChatResponse {
|
|
|
993
1136
|
canSendAsAssistant: boolean;
|
|
994
1137
|
labels: ChatLabelResponse[];
|
|
995
1138
|
isTest: boolean;
|
|
996
|
-
interrupt?:
|
|
1139
|
+
interrupt?: ChatInterruptResponse | null;
|
|
1140
|
+
initialMessageError?: string | null;
|
|
997
1141
|
}
|
|
998
|
-
type ChatResponseInterrupt = {
|
|
999
|
-
[key: string]: unknown;
|
|
1000
|
-
} | null;
|
|
1001
1142
|
/**
|
|
1002
1143
|
* Aggregated token usage for a chat.
|
|
1003
1144
|
*/
|
|
@@ -1098,6 +1239,29 @@ interface PaginatedResponseOpenAIMessageResponse {
|
|
|
1098
1239
|
pageSize: number;
|
|
1099
1240
|
totalPages: number;
|
|
1100
1241
|
}
|
|
1242
|
+
/**
|
|
1243
|
+
* Callbacks for one chat.
|
|
1244
|
+
*/
|
|
1245
|
+
interface ScheduledCallbackListResponse {
|
|
1246
|
+
callbacks: ScheduledCallbackResponse[];
|
|
1247
|
+
}
|
|
1248
|
+
/**
|
|
1249
|
+
* One scheduled follow-up on a chat.
|
|
1250
|
+
*/
|
|
1251
|
+
interface ScheduledCallbackResponse {
|
|
1252
|
+
id: number;
|
|
1253
|
+
uuid: string;
|
|
1254
|
+
chatId: number;
|
|
1255
|
+
memberId: number;
|
|
1256
|
+
targetChannel?: string | null;
|
|
1257
|
+
reason?: string | null;
|
|
1258
|
+
scheduledTime: string;
|
|
1259
|
+
status: string;
|
|
1260
|
+
statusDetail?: string | null;
|
|
1261
|
+
createdChatId?: number | null;
|
|
1262
|
+
createdAt: string;
|
|
1263
|
+
completedAt?: string | null;
|
|
1264
|
+
}
|
|
1101
1265
|
/**
|
|
1102
1266
|
* Response model for the agent's loaded skills state.
|
|
1103
1267
|
*
|
|
@@ -1147,23 +1311,12 @@ interface VoiceUsageResponse {
|
|
|
1147
1311
|
*/
|
|
1148
1312
|
/**
|
|
1149
1313
|
* Available chat types in the system.
|
|
1150
|
-
*
|
|
1151
|
-
* @property ASSIGNMENT - Standard workflow-based chats with DB assistants
|
|
1152
|
-
* @property MANAGER - Workspace management chats using builtin manager assistant
|
|
1153
|
-
* @property CONTRIBUTOR - Contributor input chats using builtin contributor assistant
|
|
1154
|
-
* @property DEVELOPER - Developer/debugging chats using builtin developer assistant
|
|
1155
|
-
* @property MEMBER - Member-to-member chats (human-human, human-agent, or agent-agent)
|
|
1156
1314
|
*/
|
|
1157
1315
|
declare const CHAT_TYPES: {
|
|
1158
1316
|
readonly ASSIGNMENT: "assignment";
|
|
1159
1317
|
readonly MANAGER: "manager";
|
|
1160
1318
|
readonly CONTRIBUTOR: "contributor";
|
|
1161
|
-
readonly
|
|
1162
|
-
readonly MEMBER: "member";
|
|
1163
|
-
/** @deprecated Use MEMBER instead */
|
|
1164
|
-
readonly AGENT: "member";
|
|
1165
|
-
/** @deprecated Use MEMBER instead */
|
|
1166
|
-
readonly DM: "member";
|
|
1319
|
+
readonly DM: "dm";
|
|
1167
1320
|
};
|
|
1168
1321
|
/**
|
|
1169
1322
|
* Type for valid chat type values.
|
|
@@ -1171,33 +1324,22 @@ declare const CHAT_TYPES: {
|
|
|
1171
1324
|
type ChatType = (typeof CHAT_TYPES)[keyof typeof CHAT_TYPES];
|
|
1172
1325
|
/**
|
|
1173
1326
|
* Chat types that use builtin (virtual) assistants instead of DB assistants.
|
|
1174
|
-
* These chat types don't have an assistant record in the database.
|
|
1175
1327
|
*/
|
|
1176
1328
|
declare const BUILTIN_ASSISTANT_CHAT_TYPES: Set<ChatType>;
|
|
1177
1329
|
/**
|
|
1178
1330
|
* Chat types that don't require assistant participant records.
|
|
1179
|
-
* Includes builtin assistant types plus member chats.
|
|
1180
1331
|
*/
|
|
1181
1332
|
declare const NO_ASSISTANT_PARTICIPANT_CHAT_TYPES: Set<ChatType>;
|
|
1182
1333
|
/**
|
|
1183
1334
|
* Check if a chat type uses a builtin assistant.
|
|
1184
|
-
*
|
|
1185
|
-
* @param chatType - The chat type to check
|
|
1186
|
-
* @returns true if the chat type uses a builtin assistant
|
|
1187
1335
|
*/
|
|
1188
1336
|
declare function usesBuiltinAssistant(chatType: string): boolean;
|
|
1189
1337
|
/**
|
|
1190
1338
|
* Check if a chat type requires an assistant participant record.
|
|
1191
|
-
*
|
|
1192
|
-
* @param chatType - The chat type to check
|
|
1193
|
-
* @returns true if the chat type requires an assistant participant record
|
|
1194
1339
|
*/
|
|
1195
1340
|
declare function requiresAssistantParticipant(chatType: string): boolean;
|
|
1196
1341
|
/**
|
|
1197
1342
|
* Type guard to check if a string is a valid ChatType.
|
|
1198
|
-
*
|
|
1199
|
-
* @param value - The value to check
|
|
1200
|
-
* @returns true if the value is a valid ChatType
|
|
1201
1343
|
*/
|
|
1202
1344
|
declare function isChatType(value: string): value is ChatType;
|
|
1203
1345
|
|
|
@@ -1220,6 +1362,31 @@ interface AssignmentSummary {
|
|
|
1220
1362
|
createdAt?: string | null;
|
|
1221
1363
|
status?: string | null;
|
|
1222
1364
|
}
|
|
1365
|
+
/**
|
|
1366
|
+
* Metadata for a single audio chunk.
|
|
1367
|
+
*/
|
|
1368
|
+
interface AudioChunkMetadata {
|
|
1369
|
+
sortKey: string;
|
|
1370
|
+
role: string;
|
|
1371
|
+
chunkIndex: number;
|
|
1372
|
+
s3Key: string;
|
|
1373
|
+
startTime: string;
|
|
1374
|
+
audioFormat: string;
|
|
1375
|
+
sampleRate: number;
|
|
1376
|
+
mimeType: string;
|
|
1377
|
+
messageIds: string[];
|
|
1378
|
+
assistantId?: number | null;
|
|
1379
|
+
memberId?: number | null;
|
|
1380
|
+
}
|
|
1381
|
+
/**
|
|
1382
|
+
* Response containing presigned download URL.
|
|
1383
|
+
*/
|
|
1384
|
+
interface AudioDownloadUrlResponse {
|
|
1385
|
+
downloadUrl: string;
|
|
1386
|
+
expiresIn: number;
|
|
1387
|
+
s3Key: string;
|
|
1388
|
+
mimeType: string;
|
|
1389
|
+
}
|
|
1223
1390
|
/**
|
|
1224
1391
|
* Response model for an available phone number from Twilio search.
|
|
1225
1392
|
*/
|
|
@@ -1262,6 +1429,17 @@ type BaseAssistantResponseMemoryConfig = {
|
|
|
1262
1429
|
type BaseAssistantResponseRealtimeModelConfig = {
|
|
1263
1430
|
[key: string]: unknown;
|
|
1264
1431
|
} | null;
|
|
1432
|
+
/**
|
|
1433
|
+
* Response containing a presigned URL for the assembled call recording.
|
|
1434
|
+
*/
|
|
1435
|
+
interface CallRecordingDownloadUrlResponse {
|
|
1436
|
+
/** Short-lived presigned URL that downloads the complete call recording as a WAV file. */
|
|
1437
|
+
downloadUrl: string;
|
|
1438
|
+
/** Number of seconds the URL remains valid, after the server-side maximum is applied. */
|
|
1439
|
+
expiresIn: number;
|
|
1440
|
+
/** Content type of the downloaded file (always `audio/wav`). */
|
|
1441
|
+
mimeType: string;
|
|
1442
|
+
}
|
|
1265
1443
|
/**
|
|
1266
1444
|
* Paginated emails for a chat thread, with chat context.
|
|
1267
1445
|
*/
|
|
@@ -1290,7 +1468,7 @@ interface ConvertedEmailResponse {
|
|
|
1290
1468
|
subject: string;
|
|
1291
1469
|
message: string;
|
|
1292
1470
|
}
|
|
1293
|
-
type ConvertedEmailResponseFormat =
|
|
1471
|
+
type ConvertedEmailResponseFormat = typeof ConvertedEmailResponseFormat[keyof typeof ConvertedEmailResponseFormat];
|
|
1294
1472
|
declare const ConvertedEmailResponseFormat: {
|
|
1295
1473
|
readonly text: "text";
|
|
1296
1474
|
readonly markdown: "markdown";
|
|
@@ -1380,6 +1558,27 @@ interface InboxResponse$1 {
|
|
|
1380
1558
|
type InboxResponseRules = {
|
|
1381
1559
|
[key: string]: unknown;
|
|
1382
1560
|
} | null;
|
|
1561
|
+
/**
|
|
1562
|
+
* A single email thread grouped by chat_id.
|
|
1563
|
+
*/
|
|
1564
|
+
interface InboxThreadResponse {
|
|
1565
|
+
chatId: number;
|
|
1566
|
+
subject: string;
|
|
1567
|
+
participants: string[];
|
|
1568
|
+
emailCount: number;
|
|
1569
|
+
unreadCount: number;
|
|
1570
|
+
latestEmailAt?: string | null;
|
|
1571
|
+
preview?: string | null;
|
|
1572
|
+
}
|
|
1573
|
+
/**
|
|
1574
|
+
* Paginated threads and unthreaded emails for an inbox.
|
|
1575
|
+
*/
|
|
1576
|
+
interface InboxThreadsPageResponse {
|
|
1577
|
+
threads: InboxThreadResponse[];
|
|
1578
|
+
unthreadedEmails: UnthreadedEmailResponse[];
|
|
1579
|
+
totalThreads: number;
|
|
1580
|
+
totalUnthreaded: number;
|
|
1581
|
+
}
|
|
1383
1582
|
interface InitiateCallResponse {
|
|
1384
1583
|
twilioCallSid: string;
|
|
1385
1584
|
status: string;
|
|
@@ -1419,7 +1618,7 @@ interface PhoneCallResponse {
|
|
|
1419
1618
|
agent?: BaseAssistantResponse | null;
|
|
1420
1619
|
inbound: boolean;
|
|
1421
1620
|
credits?: number | null;
|
|
1422
|
-
/** How the call ended. One of: `completed` (caller hung up / normal end), `hangup` (assistant ended), `forward` (call forwarded), `busy` (line busy), `no-answer` (rang out), `failed` (Twilio rejected — invalid number, carrier error, etc.), `canceled` (canceled before connection), `timeout` (request killed before Twilio responded), `error` (legacy generic failure — new calls use the specific values above), or `null` for in-progress/unknown calls. */
|
|
1621
|
+
/** How the call ended. One of: `completed` (caller hung up / normal end), `connection_reset` (carrier drop or WebRTC failure — Twilio reported a call ErrorCode), `stream_reset` (media-stream WebSocket reset, e.g. Twilio 31921 — our /media-stream socket dropped mid-call), `hangup` (assistant ended), `forward` (call forwarded), `busy` (line busy), `no-answer` (rang out), `failed` (Twilio rejected — invalid number, carrier error, etc.), `canceled` (canceled before connection), `timeout` (request killed before Twilio responded), `error` (legacy generic failure — new calls use the specific values above), `blocked_outbound_safety` (the dial was suppressed by the outbound safety gate before Twilio was contacted; the row carries `status=BLOCKED` and a synthetic `BLOCKED:{reason}` SID), or `null` for in-progress/unknown calls. */
|
|
1423
1622
|
terminationReason?: string | null;
|
|
1424
1623
|
/** ID of the workflow associated with this call, resolved via the chat's assignment (PhoneCall.chat_id -> Chat.assignment_id -> Assignment.workflow_id). Null for direct human-to-human calls with no chat, or chats with no assignment. */
|
|
1425
1624
|
workflowId?: number | null;
|
|
@@ -1465,6 +1664,7 @@ interface PhoneNumberResponse {
|
|
|
1465
1664
|
operatorRingTimeoutSeconds?: number | null;
|
|
1466
1665
|
twilioNumberSid?: string | null;
|
|
1467
1666
|
a2pStatus?: string | null;
|
|
1667
|
+
webhookWarning?: string | null;
|
|
1468
1668
|
}
|
|
1469
1669
|
/**
|
|
1470
1670
|
* Response model for provider phone number (Twilio/etc inventory).
|
|
@@ -1501,6 +1701,16 @@ interface ProviderPhoneNumberResponse {
|
|
|
1501
1701
|
createdAt: string;
|
|
1502
1702
|
updatedAt: string;
|
|
1503
1703
|
lastSyncedAt: string | null;
|
|
1704
|
+
webhookWarning?: string | null;
|
|
1705
|
+
}
|
|
1706
|
+
/**
|
|
1707
|
+
* Response for listing recordings for a chat.
|
|
1708
|
+
*/
|
|
1709
|
+
interface RecordingListResponse {
|
|
1710
|
+
chatId: number;
|
|
1711
|
+
workspaceUuid: string;
|
|
1712
|
+
items: AudioChunkMetadata[];
|
|
1713
|
+
total: number;
|
|
1504
1714
|
}
|
|
1505
1715
|
interface SMSMessageResponse {
|
|
1506
1716
|
id: number;
|
|
@@ -1532,6 +1742,16 @@ interface ThreadEmailsResponse {
|
|
|
1532
1742
|
totalPages: number;
|
|
1533
1743
|
assignment?: AssignmentSummary | null;
|
|
1534
1744
|
}
|
|
1745
|
+
/**
|
|
1746
|
+
* A single email not associated with any chat thread.
|
|
1747
|
+
*/
|
|
1748
|
+
interface UnthreadedEmailResponse {
|
|
1749
|
+
id: number;
|
|
1750
|
+
subject: string;
|
|
1751
|
+
sender: string;
|
|
1752
|
+
createdAt?: string | null;
|
|
1753
|
+
readAt?: string | null;
|
|
1754
|
+
}
|
|
1535
1755
|
interface VoiceTokenResponse {
|
|
1536
1756
|
token: string;
|
|
1537
1757
|
identity: string;
|
|
@@ -1654,7 +1874,7 @@ interface PhoneNumberFormData {
|
|
|
1654
1874
|
}
|
|
1655
1875
|
type VoicemailStatus = 'NEW' | 'LISTENED' | 'ARCHIVED';
|
|
1656
1876
|
type TranscriptionStatus = 'PENDING' | 'COMPLETED' | 'FAILED';
|
|
1657
|
-
type PhoneCallStatus = 'CREATED' | 'STARTED' | 'FINISHED' | 'ERROR' | 'INTERRUPTED';
|
|
1877
|
+
type PhoneCallStatus = 'CREATED' | 'STARTED' | 'FINISHED' | 'ERROR' | 'INTERRUPTED' | 'BLOCKED';
|
|
1658
1878
|
interface OutboundCallResponse {
|
|
1659
1879
|
status: string;
|
|
1660
1880
|
call_sid: string;
|
|
@@ -1704,7 +1924,7 @@ interface InboxUpdateRequest {
|
|
|
1704
1924
|
recipient?: string;
|
|
1705
1925
|
orgDomainUuid?: string;
|
|
1706
1926
|
}
|
|
1707
|
-
type Channel = 'cli' | 'frame' | 'phone-sms' | 'phone-voice' | 'phone-whatsapp' | 'email' | 'background' | 'web-chat' | 'web-voice' | 'discord' | 'slack' | 'direct-message';
|
|
1927
|
+
type Channel = 'cli' | 'frame' | 'phone-sms' | 'phone-voice' | 'phone-whatsapp' | 'email' | 'background' | 'web-chat' | 'web-voice' | 'discord' | 'slack' | 'teams' | 'direct-message' | 'a2a' | 'routine';
|
|
1708
1928
|
interface InboxMapping {
|
|
1709
1929
|
id: number;
|
|
1710
1930
|
emailAddress: string;
|
|
@@ -1775,6 +1995,8 @@ interface ChatFormData {
|
|
|
1775
1995
|
memberId?: number | null;
|
|
1776
1996
|
participants?: ChatParticipantFormData[];
|
|
1777
1997
|
agentEnabled?: boolean;
|
|
1998
|
+
assistantMemberId?: number | null;
|
|
1999
|
+
/** @deprecated Use assistantMemberId. Kept as a client-side alias. */
|
|
1778
2000
|
agentMemberId?: number | null;
|
|
1779
2001
|
paused?: boolean;
|
|
1780
2002
|
muted?: boolean;
|
|
@@ -1950,19 +2172,19 @@ interface HITLActionRequest {
|
|
|
1950
2172
|
args: Record<string, any>;
|
|
1951
2173
|
}
|
|
1952
2174
|
interface HITLReviewConfig {
|
|
1953
|
-
|
|
1954
|
-
|
|
2175
|
+
actionName: string;
|
|
2176
|
+
requireReview: boolean;
|
|
1955
2177
|
}
|
|
1956
2178
|
interface HITLRequest {
|
|
1957
|
-
|
|
1958
|
-
|
|
2179
|
+
actionRequests: HITLActionRequest[];
|
|
2180
|
+
reviewConfigs: HITLReviewConfig[];
|
|
1959
2181
|
/** LangGraph interrupt ID injected by the backend so it can be echoed back on resume. */
|
|
1960
|
-
|
|
2182
|
+
interruptId?: string;
|
|
1961
2183
|
}
|
|
1962
2184
|
interface HITLDecision {
|
|
1963
2185
|
type: 'approve' | 'approve_always' | 'reject' | 'edit';
|
|
1964
2186
|
message?: string;
|
|
1965
|
-
|
|
2187
|
+
editedAction?: {
|
|
1966
2188
|
name: string;
|
|
1967
2189
|
args: Record<string, unknown>;
|
|
1968
2190
|
};
|
|
@@ -1970,35 +2192,39 @@ interface HITLDecision {
|
|
|
1970
2192
|
interface HITLResponse {
|
|
1971
2193
|
decisions: HITLDecision[];
|
|
1972
2194
|
/** LangGraph interrupt ID echoed back from the human_input_request event. */
|
|
1973
|
-
|
|
2195
|
+
interruptId?: string;
|
|
2196
|
+
}
|
|
2197
|
+
interface UIChoiceDecision {
|
|
2198
|
+
chosenValue: string;
|
|
2199
|
+
interruptId?: string;
|
|
1974
2200
|
}
|
|
1975
2201
|
interface AccessGrantDecision {
|
|
1976
2202
|
decision: 'approve' | 'approve_always' | 'reject';
|
|
1977
2203
|
/** LangGraph interrupt ID echoed back from the human_input_request event. */
|
|
1978
|
-
|
|
2204
|
+
interruptId?: string;
|
|
1979
2205
|
}
|
|
1980
2206
|
interface AppConnectionAccessInterrupt {
|
|
1981
2207
|
type: 'app_connection_access';
|
|
1982
|
-
|
|
1983
|
-
|
|
1984
|
-
|
|
1985
|
-
|
|
1986
|
-
|
|
1987
|
-
|
|
2208
|
+
grantUuid: string;
|
|
2209
|
+
appType: string;
|
|
2210
|
+
connectionId?: string;
|
|
2211
|
+
connectionName: string;
|
|
2212
|
+
connectionType: string;
|
|
2213
|
+
hasCredential: boolean;
|
|
1988
2214
|
/** LangGraph interrupt ID injected by the backend so it can be echoed back on resume. */
|
|
1989
|
-
|
|
2215
|
+
interruptId?: string;
|
|
1990
2216
|
}
|
|
1991
2217
|
interface DataAccessGrantInterrupt {
|
|
1992
2218
|
type: 'data_access_grant';
|
|
1993
|
-
|
|
1994
|
-
|
|
1995
|
-
|
|
1996
|
-
|
|
2219
|
+
grantUuid: string;
|
|
2220
|
+
dataTypeSlug: string;
|
|
2221
|
+
dataTypeName: string;
|
|
2222
|
+
accessMode: string;
|
|
1997
2223
|
limit?: number | null;
|
|
1998
|
-
|
|
1999
|
-
|
|
2224
|
+
dateFrom?: string | null;
|
|
2225
|
+
dateTo?: string | null;
|
|
2000
2226
|
/** LangGraph interrupt ID injected by the backend so it can be echoed back on resume. */
|
|
2001
|
-
|
|
2227
|
+
interruptId?: string;
|
|
2002
2228
|
}
|
|
2003
2229
|
type AccessGrantInterrupt = AppConnectionAccessInterrupt | DataAccessGrantInterrupt;
|
|
2004
2230
|
interface AdminChatsOptions {
|
|
@@ -2099,7 +2325,7 @@ interface ConvertedFileResponse {
|
|
|
2099
2325
|
filename: string;
|
|
2100
2326
|
message: string;
|
|
2101
2327
|
}
|
|
2102
|
-
type ConvertedFileResponseFormat =
|
|
2328
|
+
type ConvertedFileResponseFormat = typeof ConvertedFileResponseFormat[keyof typeof ConvertedFileResponseFormat];
|
|
2103
2329
|
declare const ConvertedFileResponseFormat: {
|
|
2104
2330
|
readonly text: "text";
|
|
2105
2331
|
readonly markdown: "markdown";
|
|
@@ -2129,6 +2355,7 @@ interface FileFolderResponse {
|
|
|
2129
2355
|
indexingCompletedAt?: string | null;
|
|
2130
2356
|
createdAt: string;
|
|
2131
2357
|
updatedAt: string;
|
|
2358
|
+
ancestors?: FolderPathSegment[];
|
|
2132
2359
|
}
|
|
2133
2360
|
/**
|
|
2134
2361
|
* Response model for file label endpoints.
|
|
@@ -2198,6 +2425,13 @@ interface FileUploadResponse {
|
|
|
2198
2425
|
type FileUploadResponseFields = {
|
|
2199
2426
|
[key: string]: string;
|
|
2200
2427
|
};
|
|
2428
|
+
/**
|
|
2429
|
+
* One crumb in a folder's root→self path, for breadcrumb address bars.
|
|
2430
|
+
*/
|
|
2431
|
+
interface FolderPathSegment {
|
|
2432
|
+
id: number;
|
|
2433
|
+
name: string;
|
|
2434
|
+
}
|
|
2201
2435
|
/**
|
|
2202
2436
|
* Response model for folder search results.
|
|
2203
2437
|
*/
|
|
@@ -2231,6 +2465,7 @@ interface FolderSharingResponse$1 {
|
|
|
2231
2465
|
* grouped by scripts/types-codegen/group_generated.ts). Do not edit manually.
|
|
2232
2466
|
* Group: site
|
|
2233
2467
|
*/
|
|
2468
|
+
|
|
2234
2469
|
/**
|
|
2235
2470
|
* Response model for a menu item.
|
|
2236
2471
|
*/
|
|
@@ -2254,7 +2489,7 @@ interface MenuItemResponse {
|
|
|
2254
2489
|
updatedAt: string;
|
|
2255
2490
|
children?: MenuItemResponse[];
|
|
2256
2491
|
}
|
|
2257
|
-
type MenuItemResponseItemType =
|
|
2492
|
+
type MenuItemResponseItemType = typeof MenuItemResponseItemType[keyof typeof MenuItemResponseItemType];
|
|
2258
2493
|
declare const MenuItemResponseItemType: {
|
|
2259
2494
|
readonly page: "page";
|
|
2260
2495
|
readonly url: "url";
|
|
@@ -2317,7 +2552,11 @@ interface SiteResponse$1 {
|
|
|
2317
2552
|
uuid: string;
|
|
2318
2553
|
slug: string;
|
|
2319
2554
|
assetsFolderId?: number | null;
|
|
2320
|
-
|
|
2555
|
+
sourceFolderId?: number | null;
|
|
2556
|
+
sourceReleaseId?: number | null;
|
|
2557
|
+
theme: 'default' | 'gravityrail-home' | 'gravityrail-home-2' | 'dml-home' | 'gravityrail-start' | 'gravityrail-pitch' | 'leapcure-home' | 'leapcure-home-no-chat' | 'leapcure-home-pre-launch' | 'admin-clinical-trial' | 'customer-basic' | 'rc360-demo' | 'patient-engagement-demo' | 'operator-product' | 'gravity-health' | 'gravity-developer' | 'gravityrail-launch' | 'gravity-rail-feb-2026' | 'cosan-enrollment' | 'gravity-health-enrollment' | 'source-site' | null;
|
|
2558
|
+
themeSettings?: SiteResponseThemeSettings;
|
|
2559
|
+
resolvedThemeSettings?: SiteResponseResolvedThemeSettings;
|
|
2321
2560
|
content: string;
|
|
2322
2561
|
authorized: boolean;
|
|
2323
2562
|
tagLine: string | null;
|
|
@@ -2359,17 +2598,86 @@ interface SiteResponse$1 {
|
|
|
2359
2598
|
availableLocales?: string[];
|
|
2360
2599
|
pageCount?: number | null;
|
|
2361
2600
|
}
|
|
2601
|
+
type SiteResponseResolvedThemeSettings = {
|
|
2602
|
+
[key: string]: unknown;
|
|
2603
|
+
};
|
|
2604
|
+
type SiteResponseThemeSettings = {
|
|
2605
|
+
[key: string]: unknown;
|
|
2606
|
+
};
|
|
2362
2607
|
interface SiteSignupResponse {
|
|
2363
2608
|
status: SiteSignupResponseStatus;
|
|
2364
2609
|
message: string;
|
|
2365
2610
|
memberId?: number | null;
|
|
2366
2611
|
roleName?: string | null;
|
|
2367
2612
|
}
|
|
2368
|
-
type SiteSignupResponseStatus =
|
|
2613
|
+
type SiteSignupResponseStatus = typeof SiteSignupResponseStatus[keyof typeof SiteSignupResponseStatus];
|
|
2369
2614
|
declare const SiteSignupResponseStatus: {
|
|
2370
2615
|
readonly success: "success";
|
|
2371
2616
|
readonly already_member: "already_member";
|
|
2372
2617
|
};
|
|
2618
|
+
/**
|
|
2619
|
+
* One configurable value a theme declares.
|
|
2620
|
+
*/
|
|
2621
|
+
interface ThemeSettingField {
|
|
2622
|
+
/** Machine name; the key under Site.theme_settings */
|
|
2623
|
+
key: string;
|
|
2624
|
+
/** Display label shown in the Theme Settings form */
|
|
2625
|
+
label: string;
|
|
2626
|
+
/** Field/value type */
|
|
2627
|
+
type: ThemeSettingFieldType;
|
|
2628
|
+
/** Help text shown under the field */
|
|
2629
|
+
description?: string | null;
|
|
2630
|
+
/** Whether a value must be set */
|
|
2631
|
+
required?: boolean;
|
|
2632
|
+
/** Default value used when none is saved */
|
|
2633
|
+
default?: unknown | null;
|
|
2634
|
+
/** Choices for a 'select' field */
|
|
2635
|
+
options?: EnumOption[] | null;
|
|
2636
|
+
/** Optional section header to group fields under */
|
|
2637
|
+
group?: string | null;
|
|
2638
|
+
/** For reference fields (e.g. data_type): a payload matching the entity's create API (DataTypeFormData), used by the field's Create button to scaffold a new entity pre-populated with the theme's defaults. */
|
|
2639
|
+
createDefaults?: ThemeSettingFieldCreateDefaults;
|
|
2640
|
+
}
|
|
2641
|
+
/**
|
|
2642
|
+
* For reference fields (e.g. data_type): a payload matching the entity's create API (DataTypeFormData), used by the field's Create button to scaffold a new entity pre-populated with the theme's defaults.
|
|
2643
|
+
*/
|
|
2644
|
+
type ThemeSettingFieldCreateDefaults = {
|
|
2645
|
+
[key: string]: unknown;
|
|
2646
|
+
} | null;
|
|
2647
|
+
/**
|
|
2648
|
+
* Field/value type
|
|
2649
|
+
*/
|
|
2650
|
+
type ThemeSettingFieldType = typeof ThemeSettingFieldType[keyof typeof ThemeSettingFieldType];
|
|
2651
|
+
declare const ThemeSettingFieldType: {
|
|
2652
|
+
readonly text: "text";
|
|
2653
|
+
readonly textarea: "textarea";
|
|
2654
|
+
readonly number: "number";
|
|
2655
|
+
readonly boolean: "boolean";
|
|
2656
|
+
readonly select: "select";
|
|
2657
|
+
readonly color: "color";
|
|
2658
|
+
readonly url: "url";
|
|
2659
|
+
readonly image: "image";
|
|
2660
|
+
readonly data_type: "data_type";
|
|
2661
|
+
readonly workflow: "workflow";
|
|
2662
|
+
readonly page: "page";
|
|
2663
|
+
readonly member_role: "member_role";
|
|
2664
|
+
};
|
|
2665
|
+
/**
|
|
2666
|
+
* The active theme's configurable settings, their saved values, and the
|
|
2667
|
+
* theme's capabilities — everything the Theme Settings tab needs in one call.
|
|
2668
|
+
*
|
|
2669
|
+
* ``fields`` is the declared schema (source-site manifest or hard-coded
|
|
2670
|
+
* registry); ``values`` are the raw saved values keyed by field key (reference
|
|
2671
|
+
* fields hold entity ids); ``features`` are the theme's capabilities.
|
|
2672
|
+
*/
|
|
2673
|
+
interface ThemeSettingsResponse {
|
|
2674
|
+
fields: ThemeSettingField[];
|
|
2675
|
+
values: ThemeSettingsResponseValues;
|
|
2676
|
+
features: ThemeFeatures;
|
|
2677
|
+
}
|
|
2678
|
+
type ThemeSettingsResponseValues = {
|
|
2679
|
+
[key: string]: unknown;
|
|
2680
|
+
};
|
|
2373
2681
|
/**
|
|
2374
2682
|
* TipTap native document structure.
|
|
2375
2683
|
*
|
|
@@ -2425,7 +2733,11 @@ interface UnauthorizedSiteResponse {
|
|
|
2425
2733
|
uuid: string;
|
|
2426
2734
|
slug: string;
|
|
2427
2735
|
assetsFolderId?: number | null;
|
|
2428
|
-
|
|
2736
|
+
sourceFolderId?: number | null;
|
|
2737
|
+
sourceReleaseId?: number | null;
|
|
2738
|
+
theme: 'default' | 'gravityrail-home' | 'gravityrail-home-2' | 'dml-home' | 'gravityrail-start' | 'gravityrail-pitch' | 'leapcure-home' | 'leapcure-home-no-chat' | 'leapcure-home-pre-launch' | 'admin-clinical-trial' | 'customer-basic' | 'rc360-demo' | 'patient-engagement-demo' | 'operator-product' | 'gravity-health' | 'gravity-developer' | 'gravityrail-launch' | 'gravity-rail-feb-2026' | 'cosan-enrollment' | 'gravity-health-enrollment' | 'source-site' | null;
|
|
2739
|
+
themeSettings?: UnauthorizedSiteResponseThemeSettings;
|
|
2740
|
+
resolvedThemeSettings?: UnauthorizedSiteResponseResolvedThemeSettings;
|
|
2429
2741
|
content: string;
|
|
2430
2742
|
authorized: boolean;
|
|
2431
2743
|
tagLine: string | null;
|
|
@@ -2467,6 +2779,24 @@ interface UnauthorizedSiteResponse {
|
|
|
2467
2779
|
availableLocales?: string[];
|
|
2468
2780
|
pageCount?: number | null;
|
|
2469
2781
|
}
|
|
2782
|
+
type UnauthorizedSiteResponseResolvedThemeSettings = {
|
|
2783
|
+
[key: string]: unknown;
|
|
2784
|
+
};
|
|
2785
|
+
type UnauthorizedSiteResponseThemeSettings = {
|
|
2786
|
+
[key: string]: unknown;
|
|
2787
|
+
};
|
|
2788
|
+
/**
|
|
2789
|
+
* Save values for the active theme's declared settings.
|
|
2790
|
+
*
|
|
2791
|
+
* Values are validated/coerced against the resolved schema in the handler
|
|
2792
|
+
* (undeclared keys dropped, references checked); see lib/services/theme_settings.py.
|
|
2793
|
+
*/
|
|
2794
|
+
interface UpdateThemeSettingsRequest {
|
|
2795
|
+
values?: UpdateThemeSettingsRequestValues;
|
|
2796
|
+
}
|
|
2797
|
+
type UpdateThemeSettingsRequestValues = {
|
|
2798
|
+
[key: string]: unknown;
|
|
2799
|
+
};
|
|
2470
2800
|
|
|
2471
2801
|
/**
|
|
2472
2802
|
* Generated by Orval (filtered by scripts/types-codegen/allowlist.txt and
|
|
@@ -2496,14 +2826,14 @@ interface AbilityConfigIssue {
|
|
|
2496
2826
|
eventType?: string | null;
|
|
2497
2827
|
message: string;
|
|
2498
2828
|
}
|
|
2499
|
-
type AbilityConfigIssueCode =
|
|
2829
|
+
type AbilityConfigIssueCode = typeof AbilityConfigIssueCode[keyof typeof AbilityConfigIssueCode];
|
|
2500
2830
|
declare const AbilityConfigIssueCode: {
|
|
2501
2831
|
readonly missing_resource: "missing_resource";
|
|
2502
2832
|
readonly invalid_state: "invalid_state";
|
|
2503
2833
|
readonly feature_disabled: "feature_disabled";
|
|
2504
2834
|
readonly external_drift: "external_drift";
|
|
2505
2835
|
};
|
|
2506
|
-
type AbilityConfigIssueSeverity =
|
|
2836
|
+
type AbilityConfigIssueSeverity = typeof AbilityConfigIssueSeverity[keyof typeof AbilityConfigIssueSeverity];
|
|
2507
2837
|
declare const AbilityConfigIssueSeverity: {
|
|
2508
2838
|
readonly warning: "warning";
|
|
2509
2839
|
readonly error: "error";
|
|
@@ -2728,7 +3058,7 @@ interface WorkflowAccessWarning {
|
|
|
2728
3058
|
neededAccess: string;
|
|
2729
3059
|
neededAccessMask: number;
|
|
2730
3060
|
}
|
|
2731
|
-
type WorkflowAccessWarningResourceType =
|
|
3061
|
+
type WorkflowAccessWarningResourceType = typeof WorkflowAccessWarningResourceType[keyof typeof WorkflowAccessWarningResourceType];
|
|
2732
3062
|
declare const WorkflowAccessWarningResourceType: {
|
|
2733
3063
|
readonly form: "form";
|
|
2734
3064
|
readonly file: "file";
|
|
@@ -2793,7 +3123,13 @@ interface WorkflowResponse$1 {
|
|
|
2793
3123
|
ownerId: number;
|
|
2794
3124
|
startTaskId?: number | null;
|
|
2795
3125
|
agentId?: number | null;
|
|
3126
|
+
chatModelId?: string | null;
|
|
3127
|
+
chatModelConfig?: WorkflowResponseChatModelConfig;
|
|
3128
|
+
realtimeModelId?: string | null;
|
|
3129
|
+
realtimeModelConfig?: WorkflowResponseRealtimeModelConfig;
|
|
2796
3130
|
archived?: boolean;
|
|
3131
|
+
routingMode?: string;
|
|
3132
|
+
dataTypeSlug?: string | null;
|
|
2797
3133
|
defaultPhoneNumberId?: number | null;
|
|
2798
3134
|
defaultInboxId?: number | null;
|
|
2799
3135
|
posX?: number | null;
|
|
@@ -2802,6 +3138,7 @@ interface WorkflowResponse$1 {
|
|
|
2802
3138
|
createdAt: string;
|
|
2803
3139
|
updatedAt: string;
|
|
2804
3140
|
taskCount?: number;
|
|
3141
|
+
archivedTaskCount?: number;
|
|
2805
3142
|
permissions?: number;
|
|
2806
3143
|
memberRoleAccess?: WorkflowMemberRoleAccessResponse[];
|
|
2807
3144
|
abilities?: AbilityResponse$1[];
|
|
@@ -2810,6 +3147,12 @@ interface WorkflowResponse$1 {
|
|
|
2810
3147
|
activeVersionName?: string | null;
|
|
2811
3148
|
activeVersionPublishedAt?: string | null;
|
|
2812
3149
|
}
|
|
3150
|
+
type WorkflowResponseChatModelConfig = {
|
|
3151
|
+
[key: string]: unknown;
|
|
3152
|
+
} | null;
|
|
3153
|
+
type WorkflowResponseRealtimeModelConfig = {
|
|
3154
|
+
[key: string]: unknown;
|
|
3155
|
+
} | null;
|
|
2813
3156
|
/**
|
|
2814
3157
|
* PHI-safe response shape for the route dry-run endpoint.
|
|
2815
3158
|
*
|
|
@@ -2822,14 +3165,16 @@ interface WorkflowResponse$1 {
|
|
|
2822
3165
|
* :class:`lib.services.cel_edge_evaluator.EdgeEvaluationStatus`
|
|
2823
3166
|
* labels (e.g. ``"no_edges"``, ``"no_match"``,
|
|
2824
3167
|
* ``"would_transition"``, ``"matched_current_task"``,
|
|
2825
|
-
* ``"missing_assignment_task"``, ``"
|
|
3168
|
+
* ``"missing_assignment_task"``, ``"transition_blocked"``,
|
|
3169
|
+
* ``"error"``).
|
|
2826
3170
|
* edgeCount — number of automatic-routing-candidate edges the
|
|
2827
3171
|
* evaluator considered.
|
|
2828
3172
|
* candidateChildTaskIds — Task IDs of every candidate edge the
|
|
2829
3173
|
* evaluator examined.
|
|
2830
3174
|
* winningChildTaskId — Task ID of the matched child Task, populated
|
|
2831
3175
|
* when ``status == "would_transition"`` or
|
|
2832
|
-
* ``"matched_current_task"`` or ``"missing_assignment_task"
|
|
3176
|
+
* ``"matched_current_task"`` or ``"missing_assignment_task"``
|
|
3177
|
+
* or ``"transition_blocked"``.
|
|
2833
3178
|
* errorType — exception class name only when ``status == "error"``;
|
|
2834
3179
|
* never the raw ``str(exc)`` message.
|
|
2835
3180
|
* issues — optional list of related ``AbilityConfigIssue`` entries
|
|
@@ -3018,7 +3363,11 @@ interface WorkflowFormData {
|
|
|
3018
3363
|
prompt?: string;
|
|
3019
3364
|
ownerId?: number;
|
|
3020
3365
|
startTaskId?: number | null;
|
|
3021
|
-
agentId?: number;
|
|
3366
|
+
agentId?: number | null;
|
|
3367
|
+
chatModelId?: string | null;
|
|
3368
|
+
chatModelConfig?: Record<string, unknown> | null;
|
|
3369
|
+
realtimeModelId?: string | null;
|
|
3370
|
+
realtimeModelConfig?: Record<string, unknown> | null;
|
|
3022
3371
|
createMode?: 'task' | 'taskless';
|
|
3023
3372
|
defaultPhoneNumberId?: number | null;
|
|
3024
3373
|
defaultInboxId?: number | null;
|
|
@@ -3131,9 +3480,7 @@ interface DiscordBotResponse$1 {
|
|
|
3131
3480
|
respondWhen?: string | null;
|
|
3132
3481
|
allowDm: boolean;
|
|
3133
3482
|
enableGateway: boolean;
|
|
3134
|
-
defaultWorkflowId
|
|
3135
|
-
memberId?: number | null;
|
|
3136
|
-
memberName?: string | null;
|
|
3483
|
+
defaultWorkflowId: number;
|
|
3137
3484
|
allowedGuildIds?: string[] | null;
|
|
3138
3485
|
allowedChannelIds?: string[] | null;
|
|
3139
3486
|
createdAt: string;
|
|
@@ -3160,16 +3507,17 @@ interface EncounterSyncRunResponse {
|
|
|
3160
3507
|
/**
|
|
3161
3508
|
* GET response for the encounter-sync configuration + runtime state.
|
|
3162
3509
|
*
|
|
3163
|
-
* Surfaces
|
|
3164
|
-
* (``
|
|
3165
|
-
*
|
|
3166
|
-
*
|
|
3167
|
-
*
|
|
3168
|
-
*
|
|
3169
|
-
*
|
|
3510
|
+
* Surfaces both freshness contracts. The demand-refresh fields
|
|
3511
|
+
* (``refreshTtlMinutes`` / ``refreshLookbackDays`` etc.) drive on-demand
|
|
3512
|
+
* and manual refresh. The scheduled-sync fields (``cadenceHours``,
|
|
3513
|
+
* ``rollingLookbackDays``, ``overlapDays``, ``initialLookbackDays``,
|
|
3514
|
+
* ``scheduledSyncPaused``) drive the daily scheduled encounter-sync
|
|
3515
|
+
* dispatcher and are surfaced in the operator UI's "Scheduled sync"
|
|
3516
|
+
* section. See docs/projects/archived/daily-ecw-encounter-sync.md.
|
|
3170
3517
|
*/
|
|
3171
3518
|
interface EncounterSyncStatusResponse {
|
|
3172
3519
|
enabled: boolean;
|
|
3520
|
+
scheduledSyncPaused?: boolean;
|
|
3173
3521
|
schemaVersion?: number | null;
|
|
3174
3522
|
refreshTtlMinutes: number;
|
|
3175
3523
|
refreshLookbackDays: number;
|
|
@@ -3186,6 +3534,7 @@ interface EncounterSyncStatusResponse {
|
|
|
3186
3534
|
dataType?: EncounterSyncDataTypeSummary | null;
|
|
3187
3535
|
observationDataType?: EncounterSyncDataTypeSummary | null;
|
|
3188
3536
|
observationSchemaVersion?: number | null;
|
|
3537
|
+
observationSyncEnabled?: boolean;
|
|
3189
3538
|
observationOverlapDays?: number;
|
|
3190
3539
|
observationRollingLookbackDays?: number;
|
|
3191
3540
|
patientProfileDataType?: EncounterSyncDataTypeSummary | null;
|
|
@@ -3379,6 +3728,12 @@ interface PlatformAppConnectionResponse {
|
|
|
3379
3728
|
config?: PlatformAppConnectionResponseConfig;
|
|
3380
3729
|
createdAt?: string | null;
|
|
3381
3730
|
updatedAt?: string | null;
|
|
3731
|
+
externalEmail?: string | null;
|
|
3732
|
+
displayLabel?: string | null;
|
|
3733
|
+
authorizedByMemberId?: number | null;
|
|
3734
|
+
authorizedAt?: string | null;
|
|
3735
|
+
allowMultipleMemberAccounts?: boolean;
|
|
3736
|
+
myLinkedAccountCount?: number;
|
|
3382
3737
|
}
|
|
3383
3738
|
type PlatformAppConnectionResponseConfig = {
|
|
3384
3739
|
[key: string]: unknown;
|
|
@@ -3411,8 +3766,7 @@ interface SlackAppResponse$1 {
|
|
|
3411
3766
|
name: string;
|
|
3412
3767
|
enabled: boolean;
|
|
3413
3768
|
creatorId?: number | null;
|
|
3414
|
-
|
|
3415
|
-
memberName?: string | null;
|
|
3769
|
+
defaultWorkflowId: number;
|
|
3416
3770
|
socketModeEnabled: boolean;
|
|
3417
3771
|
slashCommands?: SlackSlashCommandConfigResponse[] | null;
|
|
3418
3772
|
respondMode: string;
|
|
@@ -3504,8 +3858,7 @@ interface TeamsAppResponse {
|
|
|
3504
3858
|
name: string;
|
|
3505
3859
|
enabled: boolean;
|
|
3506
3860
|
creatorId?: number | null;
|
|
3507
|
-
|
|
3508
|
-
memberName?: string | null;
|
|
3861
|
+
defaultWorkflowId: number;
|
|
3509
3862
|
microsoftAppId?: string | null;
|
|
3510
3863
|
teamsManifestAppId?: string | null;
|
|
3511
3864
|
ssoClientId?: string | null;
|
|
@@ -3642,7 +3995,7 @@ interface CustomToolkitResponse$1 {
|
|
|
3642
3995
|
/**
|
|
3643
3996
|
* States of custom toolkits.
|
|
3644
3997
|
*/
|
|
3645
|
-
type ToolkitState =
|
|
3998
|
+
type ToolkitState = typeof ToolkitState[keyof typeof ToolkitState];
|
|
3646
3999
|
declare const ToolkitState: {
|
|
3647
4000
|
readonly disabled: "disabled";
|
|
3648
4001
|
readonly enabled: "enabled";
|
|
@@ -3866,7 +4219,7 @@ interface FileLabelFormData {
|
|
|
3866
4219
|
description?: string;
|
|
3867
4220
|
}
|
|
3868
4221
|
interface FileFormData {
|
|
3869
|
-
title
|
|
4222
|
+
title?: string;
|
|
3870
4223
|
filename: string;
|
|
3871
4224
|
description?: string;
|
|
3872
4225
|
mimeType: string;
|
|
@@ -4150,7 +4503,8 @@ interface ProductResponse$1 {
|
|
|
4150
4503
|
templateWorkspaceUuid: string | null;
|
|
4151
4504
|
metadata: ProductMetadata | null;
|
|
4152
4505
|
creditInclusion?: number | null;
|
|
4153
|
-
|
|
4506
|
+
aiMultiplier?: number | null;
|
|
4507
|
+
serviceRates?: ProductResponseServiceRates;
|
|
4154
4508
|
limits?: ProductResponseLimits;
|
|
4155
4509
|
requiresFeatures: string[];
|
|
4156
4510
|
providesFeatures: string[];
|
|
@@ -4164,6 +4518,9 @@ type ProductResponseLimits = {
|
|
|
4164
4518
|
type ProductResponsePlans = {
|
|
4165
4519
|
[key: string]: PlanConfig;
|
|
4166
4520
|
} | null;
|
|
4521
|
+
type ProductResponseServiceRates = {
|
|
4522
|
+
[key: string]: number;
|
|
4523
|
+
} | null;
|
|
4167
4524
|
/**
|
|
4168
4525
|
* Resource counts for the workspace.
|
|
4169
4526
|
*
|
|
@@ -4629,7 +4986,8 @@ interface CreateProductRequest {
|
|
|
4629
4986
|
requiresFeatures?: string[];
|
|
4630
4987
|
providesFeatures?: string[];
|
|
4631
4988
|
creditInclusion?: number | null;
|
|
4632
|
-
|
|
4989
|
+
aiMultiplier?: number | null;
|
|
4990
|
+
serviceRates?: Record<string, number> | null;
|
|
4633
4991
|
limits?: ProductLimits | null;
|
|
4634
4992
|
plans?: ProductPlans | null;
|
|
4635
4993
|
}
|
|
@@ -4659,7 +5017,8 @@ interface AdminUpdateProductRequest {
|
|
|
4659
5017
|
requiresFeatures?: string[];
|
|
4660
5018
|
providesFeatures?: string[];
|
|
4661
5019
|
creditInclusion?: number | null;
|
|
4662
|
-
|
|
5020
|
+
aiMultiplier?: number | null;
|
|
5021
|
+
serviceRates?: Record<string, number> | null;
|
|
4663
5022
|
limits?: ProductLimits | null;
|
|
4664
5023
|
plans?: ProductPlans | null;
|
|
4665
5024
|
}
|
|
@@ -4826,6 +5185,7 @@ interface AdminWorkspaceResponse {
|
|
|
4826
5185
|
billingOwnerName?: string | null;
|
|
4827
5186
|
subscriptionProductId?: number | null;
|
|
4828
5187
|
subscriptionProductName?: string | null;
|
|
5188
|
+
chatClassifierPrompt?: string | null;
|
|
4829
5189
|
}
|
|
4830
5190
|
type AdminWorkspaceResponseFeatureStatus = {
|
|
4831
5191
|
[key: string]: string;
|
|
@@ -5036,6 +5396,7 @@ interface AdminWorkspaceFormData {
|
|
|
5036
5396
|
templateWorkspaceUuid?: string;
|
|
5037
5397
|
locale?: string;
|
|
5038
5398
|
timezone?: string;
|
|
5399
|
+
chatClassifierPrompt?: string | null;
|
|
5039
5400
|
}
|
|
5040
5401
|
interface ClientWorkspace {
|
|
5041
5402
|
id: number;
|
|
@@ -5125,7 +5486,7 @@ type Site = Omit<SiteResponse$1, 'theme' | 'availableLocales' | 'primaryLocale'
|
|
|
5125
5486
|
};
|
|
5126
5487
|
type SiteResponse = Site;
|
|
5127
5488
|
|
|
5128
|
-
type ThemeName = 'default' | 'gravityrail-home' | 'gravityrail-home-2' | 'gravityrail-start' | 'gravityrail-pitch' | 'leapcure-home' | 'leapcure-home-no-chat' | 'leapcure-home-pre-launch' | 'dml-home' | 'rc360-demo' | 'patient-engagement-demo' | 'admin-clinical-trial' | 'customer-basic' | 'operator-product' | 'gravity-health' | 'gravity-health-enrollment' | 'gravity-developer' | 'gravityrail-launch' | 'gravity-rail-feb-2026' | 'cosan-enrollment' | 'gravity-health-enrollment';
|
|
5489
|
+
type ThemeName = 'default' | 'gravityrail-home' | 'gravityrail-home-2' | 'gravityrail-start' | 'gravityrail-pitch' | 'leapcure-home' | 'leapcure-home-no-chat' | 'leapcure-home-pre-launch' | 'dml-home' | 'rc360-demo' | 'patient-engagement-demo' | 'admin-clinical-trial' | 'customer-basic' | 'operator-product' | 'gravity-health' | 'gravity-health-enrollment' | 'gravity-developer' | 'gravityrail-launch' | 'gravity-rail-feb-2026' | 'cosan-enrollment' | 'gravity-health-enrollment' | 'source-site';
|
|
5129
5490
|
interface PageFormData {
|
|
5130
5491
|
title: string;
|
|
5131
5492
|
slug: string;
|
|
@@ -5188,6 +5549,59 @@ interface SiteFormData {
|
|
|
5188
5549
|
availableLocales?: string[];
|
|
5189
5550
|
widgetOrigins?: string[] | null;
|
|
5190
5551
|
}
|
|
5552
|
+
interface SiteSourceBuild {
|
|
5553
|
+
id: number;
|
|
5554
|
+
uuid: string;
|
|
5555
|
+
status: 'success' | 'failed' | string;
|
|
5556
|
+
logs: string;
|
|
5557
|
+
diagnostics: Record<string, unknown>;
|
|
5558
|
+
createdAt: string;
|
|
5559
|
+
}
|
|
5560
|
+
interface SiteSourceRelease {
|
|
5561
|
+
id: number;
|
|
5562
|
+
uuid: string;
|
|
5563
|
+
version: number;
|
|
5564
|
+
/** Optional version label; clients fall back to `Version {version}` when null. */
|
|
5565
|
+
name?: string | null;
|
|
5566
|
+
/** Optional free-text release note. */
|
|
5567
|
+
note?: string | null;
|
|
5568
|
+
buildId: number;
|
|
5569
|
+
createdAt: string;
|
|
5570
|
+
}
|
|
5571
|
+
interface SiteSource {
|
|
5572
|
+
siteId: number;
|
|
5573
|
+
sourceFolderId: number | null;
|
|
5574
|
+
sourceReleaseId: number | null;
|
|
5575
|
+
latestBuild?: SiteSourceBuild | null;
|
|
5576
|
+
releases: SiteSourceRelease[];
|
|
5577
|
+
previewHtml?: string | null;
|
|
5578
|
+
hasUnpublishedChanges?: boolean;
|
|
5579
|
+
updatedAt: string;
|
|
5580
|
+
}
|
|
5581
|
+
interface SiteSourcePublishResponse {
|
|
5582
|
+
source: SiteSource;
|
|
5583
|
+
build: SiteSourceBuild;
|
|
5584
|
+
release?: SiteSourceRelease | null;
|
|
5585
|
+
}
|
|
5586
|
+
interface SiteSourceTemplateOption {
|
|
5587
|
+
value: string;
|
|
5588
|
+
label: string;
|
|
5589
|
+
description: string;
|
|
5590
|
+
}
|
|
5591
|
+
/** Starter templates the caller may seed; superuser-only templates are filtered
|
|
5592
|
+
* out server-side so their names/copy never ship in the client bundle. */
|
|
5593
|
+
interface SiteSourceTemplates {
|
|
5594
|
+
templates: SiteSourceTemplateOption[];
|
|
5595
|
+
defaultTemplate: string;
|
|
5596
|
+
}
|
|
5597
|
+
interface SiteSharingResponse {
|
|
5598
|
+
ownerId: number;
|
|
5599
|
+
ownerName?: string | null;
|
|
5600
|
+
access: AccessLevel;
|
|
5601
|
+
shareable: boolean;
|
|
5602
|
+
grants: AccessGrant[];
|
|
5603
|
+
roleAssociations: FileRoleAssociationResponse[];
|
|
5604
|
+
}
|
|
5191
5605
|
interface SiteSlugAvailability {
|
|
5192
5606
|
result: boolean;
|
|
5193
5607
|
suggestions?: string[];
|
|
@@ -5198,6 +5612,7 @@ interface SiteSlugAvailability {
|
|
|
5198
5612
|
* grouped by scripts/types-codegen/group_generated.ts). Do not edit manually.
|
|
5199
5613
|
* Group: theme
|
|
5200
5614
|
*/
|
|
5615
|
+
|
|
5201
5616
|
/**
|
|
5202
5617
|
* Response model for theme information.
|
|
5203
5618
|
*/
|
|
@@ -5205,6 +5620,7 @@ interface ThemeResponse {
|
|
|
5205
5620
|
slug: string;
|
|
5206
5621
|
name: string;
|
|
5207
5622
|
description: string;
|
|
5623
|
+
features?: ThemeFeatures;
|
|
5208
5624
|
/** Present on admin theme catalog; omitted for workspace-scoped lists. */
|
|
5209
5625
|
global_access?: boolean | null;
|
|
5210
5626
|
}
|
|
@@ -5287,7 +5703,7 @@ interface InvitationResponse$1 {
|
|
|
5287
5703
|
/**
|
|
5288
5704
|
* Status of an invitation.
|
|
5289
5705
|
*/
|
|
5290
|
-
type InvitationStatus$1 =
|
|
5706
|
+
type InvitationStatus$1 = typeof InvitationStatus$1[keyof typeof InvitationStatus$1];
|
|
5291
5707
|
declare const InvitationStatus$1: {
|
|
5292
5708
|
readonly requested: "requested";
|
|
5293
5709
|
readonly invited: "invited";
|
|
@@ -5447,7 +5863,7 @@ interface ModelMetadataResponse {
|
|
|
5447
5863
|
/**
|
|
5448
5864
|
* AI model providers.
|
|
5449
5865
|
*/
|
|
5450
|
-
type ModelProvider =
|
|
5866
|
+
type ModelProvider = typeof ModelProvider[keyof typeof ModelProvider];
|
|
5451
5867
|
declare const ModelProvider: {
|
|
5452
5868
|
readonly unknown: "unknown";
|
|
5453
5869
|
readonly openai: "openai";
|
|
@@ -5456,14 +5872,13 @@ declare const ModelProvider: {
|
|
|
5456
5872
|
readonly aws: "aws";
|
|
5457
5873
|
readonly elevenlabs: "elevenlabs";
|
|
5458
5874
|
readonly deepgram: "deepgram";
|
|
5459
|
-
readonly pocket: "pocket";
|
|
5460
5875
|
readonly xai: "xai";
|
|
5461
5876
|
readonly custom: "custom";
|
|
5462
5877
|
};
|
|
5463
5878
|
/**
|
|
5464
5879
|
* AI model types.
|
|
5465
5880
|
*/
|
|
5466
|
-
type ModelType =
|
|
5881
|
+
type ModelType = typeof ModelType[keyof typeof ModelType];
|
|
5467
5882
|
declare const ModelType: {
|
|
5468
5883
|
readonly chat: "chat";
|
|
5469
5884
|
readonly realtime: "realtime";
|
|
@@ -5493,6 +5908,18 @@ interface RealtimeModelResponse {
|
|
|
5493
5908
|
outputMultiplier?: number | null;
|
|
5494
5909
|
cachedMultiplier?: number | null;
|
|
5495
5910
|
}
|
|
5911
|
+
/**
|
|
5912
|
+
* Capability flags for an STT model — the cross-layer source of truth (#14184).
|
|
5913
|
+
*
|
|
5914
|
+
* The frontend reads these instead of pattern-matching the model id. Fields
|
|
5915
|
+
* are serialized as-is (snake_case) — this route has no camelCase alias
|
|
5916
|
+
* generator — and the generated client type uses the same snake_case keys.
|
|
5917
|
+
*/
|
|
5918
|
+
interface STTCapabilitiesResponse {
|
|
5919
|
+
supports_language_hints?: boolean;
|
|
5920
|
+
supports_detect_then_lock?: boolean;
|
|
5921
|
+
detect_then_lock_default?: boolean;
|
|
5922
|
+
}
|
|
5496
5923
|
/**
|
|
5497
5924
|
* Response model for an STT language option.
|
|
5498
5925
|
*/
|
|
@@ -5515,6 +5942,13 @@ interface STTModelResponse {
|
|
|
5515
5942
|
replacement?: string | null;
|
|
5516
5943
|
multiplier?: number;
|
|
5517
5944
|
languages?: STTLanguageResponse[];
|
|
5945
|
+
capabilities?: STTCapabilitiesResponse;
|
|
5946
|
+
}
|
|
5947
|
+
/**
|
|
5948
|
+
* Response model for STT models list.
|
|
5949
|
+
*/
|
|
5950
|
+
interface STTModelsResponse {
|
|
5951
|
+
models: STTModelResponse[];
|
|
5518
5952
|
}
|
|
5519
5953
|
/**
|
|
5520
5954
|
* Response model for a text-to-speech model.
|
|
@@ -5592,7 +6026,6 @@ declare const TTS_MODEL_ELEVENLABS_MULTILINGUAL = "elevenlabs:tts:eleven_multili
|
|
|
5592
6026
|
declare const TTS_MODEL_DEEPGRAM_AURA_2 = "deepgram:tts:aura-2";
|
|
5593
6027
|
declare const TTS_MODEL_AWS_POLLY_GENERATIVE = "aws:tts:polly-generative";
|
|
5594
6028
|
declare const TTS_MODEL_AWS_POLLY_NEURAL = "aws:tts:polly-neural";
|
|
5595
|
-
declare const TTS_MODEL_POCKET = "pocket:tts:default";
|
|
5596
6029
|
|
|
5597
6030
|
/**
|
|
5598
6031
|
* Generated by Orval (filtered by scripts/types-codegen/allowlist.txt and
|
|
@@ -5631,6 +6064,8 @@ interface AppResponse$1 {
|
|
|
5631
6064
|
redirectUris: string[] | null;
|
|
5632
6065
|
authorizationServerUrl: string | null;
|
|
5633
6066
|
responseTypes: string[] | null;
|
|
6067
|
+
grantTypes: string[];
|
|
6068
|
+
tokenEndpointAuthMethod: string | null;
|
|
5634
6069
|
allowedWorkspaces: number[] | null;
|
|
5635
6070
|
allowedWorkspaceUuids: string[] | null;
|
|
5636
6071
|
isActive: boolean;
|
|
@@ -5858,7 +6293,7 @@ interface LinkResellerAccountRequest {
|
|
|
5858
6293
|
* SlackApp represents a Slack application configuration that allows
|
|
5859
6294
|
* Gravity Rail agents to interact with Slack workspaces via messages and DMs.
|
|
5860
6295
|
*
|
|
5861
|
-
* Key design:
|
|
6296
|
+
* Key design: Inbound messages run assignment workflows (defaultWorkflowId required).
|
|
5862
6297
|
* Slash commands can trigger workflows separately.
|
|
5863
6298
|
*/
|
|
5864
6299
|
|
|
@@ -5910,8 +6345,8 @@ interface SlackAccount {
|
|
|
5910
6345
|
*/
|
|
5911
6346
|
interface CreateSlackAppRequest {
|
|
5912
6347
|
name: string;
|
|
5913
|
-
/**
|
|
5914
|
-
|
|
6348
|
+
/** Default workflow for inbound Slack messages (required) */
|
|
6349
|
+
defaultWorkflowId: number;
|
|
5915
6350
|
clientId?: string;
|
|
5916
6351
|
clientSecret?: string;
|
|
5917
6352
|
signingSecret?: string;
|
|
@@ -5944,8 +6379,7 @@ interface CreateSlackAppRequest {
|
|
|
5944
6379
|
*/
|
|
5945
6380
|
interface UpdateSlackAppRequest {
|
|
5946
6381
|
name?: string;
|
|
5947
|
-
|
|
5948
|
-
memberId?: number;
|
|
6382
|
+
defaultWorkflowId?: number;
|
|
5949
6383
|
clientSecret?: string;
|
|
5950
6384
|
signingSecret?: string;
|
|
5951
6385
|
/**
|
|
@@ -6224,6 +6658,12 @@ interface FhirCsvImportRunItem {
|
|
|
6224
6658
|
*/
|
|
6225
6659
|
interface UpdateEncounterSyncRequest {
|
|
6226
6660
|
enabled: boolean;
|
|
6661
|
+
/**
|
|
6662
|
+
* Opt this connection out of the daily scheduled encounter-sync
|
|
6663
|
+
* dispatcher. Demand/manual refresh keep working. Distinct from
|
|
6664
|
+
* `enabled`. Omit to preserve the stored value (defaults False).
|
|
6665
|
+
*/
|
|
6666
|
+
scheduledSyncPaused?: boolean;
|
|
6227
6667
|
refreshTtlMinutes?: number;
|
|
6228
6668
|
refreshLookbackDays?: number;
|
|
6229
6669
|
readerLookbackDays?: number;
|
|
@@ -6242,13 +6682,20 @@ interface UpdateEncounterSyncRequest {
|
|
|
6242
6682
|
ccdaBinaryEnabled?: boolean;
|
|
6243
6683
|
/** Persist raw C-CDA XML on section rows (defaults False). */
|
|
6244
6684
|
storeRawCcdaXml?: boolean;
|
|
6245
|
-
/**
|
|
6685
|
+
/**
|
|
6686
|
+
* Per-patient Observation sync (labs, vitals, social history).
|
|
6687
|
+
* Connection-level — disables scheduled, manual, and
|
|
6688
|
+
* refresh-coordinator observation fetches alike. Omit to preserve the
|
|
6689
|
+
* stored value (defaults True).
|
|
6690
|
+
*/
|
|
6691
|
+
observationSyncEnabled?: boolean;
|
|
6692
|
+
/** First scheduled-run window for a never-synced connection (feeds compute_poll_since; default 180). */
|
|
6246
6693
|
initialLookbackDays?: number;
|
|
6247
|
-
/**
|
|
6694
|
+
/** Max age of encounters re-fetched on each scheduled run (feeds compute_poll_since; default 30). */
|
|
6248
6695
|
rollingLookbackDays?: number;
|
|
6249
|
-
/**
|
|
6696
|
+
/** Re-fetch window (by clinical date) from the last successful run to catch late charting (default 14). */
|
|
6250
6697
|
overlapDays?: number;
|
|
6251
|
-
/**
|
|
6698
|
+
/** Minimum hours between scheduled runs; daily dispatcher gates via _is_due (default 20 — sub-24 to tolerate run-completion time). */
|
|
6252
6699
|
cadenceHours?: number;
|
|
6253
6700
|
}
|
|
6254
6701
|
/**
|
|
@@ -6864,7 +7311,7 @@ interface DiscordBotAccount {
|
|
|
6864
7311
|
* allows Gravity Rail agents to interact with Teams tenants via messages,
|
|
6865
7312
|
* DMs, and channel conversations.
|
|
6866
7313
|
*
|
|
6867
|
-
* Key design:
|
|
7314
|
+
* Key design: Inbound messages run assignment workflows (defaultWorkflowId required).
|
|
6868
7315
|
* Manifest commands can trigger workflows separately.
|
|
6869
7316
|
*
|
|
6870
7317
|
* Mirrors slack-app-types.ts with Teams-specific identifiers — Microsoft
|
|
@@ -6893,8 +7340,8 @@ type TeamsConversationType = 'personal' | 'groupChat' | 'channel';
|
|
|
6893
7340
|
*/
|
|
6894
7341
|
interface CreateTeamsAppRequest {
|
|
6895
7342
|
name: string;
|
|
6896
|
-
/**
|
|
6897
|
-
|
|
7343
|
+
/** Default workflow for inbound Teams messages (required) */
|
|
7344
|
+
defaultWorkflowId: number;
|
|
6898
7345
|
/** Bot Framework MicrosoftAppId (Entra app GUID) */
|
|
6899
7346
|
microsoftAppId?: string;
|
|
6900
7347
|
/** Bot Framework MicrosoftAppPassword / client secret */
|
|
@@ -6917,7 +7364,7 @@ interface CreateTeamsAppRequest {
|
|
|
6917
7364
|
*/
|
|
6918
7365
|
interface UpdateTeamsAppRequest {
|
|
6919
7366
|
name?: string;
|
|
6920
|
-
|
|
7367
|
+
defaultWorkflowId?: number;
|
|
6921
7368
|
microsoftAppId?: string;
|
|
6922
7369
|
microsoftAppPassword?: string;
|
|
6923
7370
|
ssoClientId?: string;
|
|
@@ -7138,14 +7585,14 @@ interface PronunciationEntryResponse {
|
|
|
7138
7585
|
}
|
|
7139
7586
|
interface PronunciationImportEntry {
|
|
7140
7587
|
/**
|
|
7141
|
-
|
|
7142
|
-
|
|
7143
|
-
|
|
7588
|
+
* @maxLength 200
|
|
7589
|
+
* @pattern ^[\w\s\-.''\u00C0-\u024F]+$
|
|
7590
|
+
*/
|
|
7144
7591
|
term: string;
|
|
7145
7592
|
/**
|
|
7146
|
-
|
|
7147
|
-
|
|
7148
|
-
|
|
7593
|
+
* @maxLength 200
|
|
7594
|
+
* @pattern ^[\w\s\-.''\u00C0-\u024F]+$
|
|
7595
|
+
*/
|
|
7149
7596
|
respelling: string;
|
|
7150
7597
|
}
|
|
7151
7598
|
interface PronunciationImportResult {
|
|
@@ -7303,10 +7750,16 @@ interface TestChatRunResponse {
|
|
|
7303
7750
|
overallScore?: number | null;
|
|
7304
7751
|
passed?: boolean | null;
|
|
7305
7752
|
evaluatedAt?: string | null;
|
|
7753
|
+
assistantChatModelId?: string | null;
|
|
7754
|
+
assistantRealtimeModelId?: string | null;
|
|
7755
|
+
timingSummary?: TestChatRunResponseTimingSummary;
|
|
7306
7756
|
criterionResults?: CriterionResultResponse[];
|
|
7307
7757
|
createdAt: string;
|
|
7308
7758
|
updatedAt: string;
|
|
7309
7759
|
}
|
|
7760
|
+
type TestChatRunResponseTimingSummary = {
|
|
7761
|
+
[key: string]: unknown;
|
|
7762
|
+
} | null;
|
|
7310
7763
|
|
|
7311
7764
|
declare enum CriterionType {
|
|
7312
7765
|
EXPRESSION = "expression",
|
|
@@ -7399,10 +7852,16 @@ interface UpdatePersonaRequest {
|
|
|
7399
7852
|
interface StartTestChatRunRequest {
|
|
7400
7853
|
scenarioId?: number;
|
|
7401
7854
|
personaId?: number;
|
|
7855
|
+
/** Reuse an existing test member instead of minting one from a persona. */
|
|
7856
|
+
testMemberId?: number;
|
|
7402
7857
|
goal?: string;
|
|
7403
7858
|
channel?: string;
|
|
7404
7859
|
dataRecords?: Record<string, ScenarioDataRecord>;
|
|
7405
7860
|
driver?: DriverMode;
|
|
7861
|
+
assistantChatModelId?: string;
|
|
7862
|
+
assistantChatModelConfig?: Record<string, unknown>;
|
|
7863
|
+
assistantRealtimeModelId?: string;
|
|
7864
|
+
assistantRealtimeModelConfig?: Record<string, unknown>;
|
|
7406
7865
|
}
|
|
7407
7866
|
|
|
7408
7867
|
/**
|
|
@@ -7485,6 +7944,7 @@ interface JourneyResponse$1 {
|
|
|
7485
7944
|
status: string;
|
|
7486
7945
|
ownerId: number | null;
|
|
7487
7946
|
autoEnrollFilterId: number | null;
|
|
7947
|
+
activeHours?: JourneyResponseActiveHours;
|
|
7488
7948
|
startStepId?: number | null;
|
|
7489
7949
|
archived: boolean;
|
|
7490
7950
|
createdAt: string;
|
|
@@ -7492,6 +7952,9 @@ interface JourneyResponse$1 {
|
|
|
7492
7952
|
steps?: JourneyStepResponse[];
|
|
7493
7953
|
goals?: JourneyGoalResponse[];
|
|
7494
7954
|
}
|
|
7955
|
+
type JourneyResponseActiveHours = {
|
|
7956
|
+
[key: string]: unknown;
|
|
7957
|
+
} | null;
|
|
7495
7958
|
/**
|
|
7496
7959
|
* Response model for a journey step connection (DAG edge).
|
|
7497
7960
|
*/
|
|
@@ -7603,8 +8066,9 @@ interface StepMemberResponse {
|
|
|
7603
8066
|
type JourneyStatus = 'draft' | 'active' | 'paused' | 'archived';
|
|
7604
8067
|
type MemberJourneyStatus = 'enrolled' | 'active' | 'paused' | 'completed' | 'canceled';
|
|
7605
8068
|
type MemberJourneyStepStatus = 'pending' | 'eligible' | 'in_progress' | 'completed' | 'skipped' | 'failed' | 'timed_out';
|
|
7606
|
-
type Journey = Omit<JourneyResponse$1, 'status'> & {
|
|
8069
|
+
type Journey = Omit<JourneyResponse$1, 'status' | 'activeHours'> & {
|
|
7607
8070
|
status: JourneyStatus;
|
|
8071
|
+
activeHours?: JourneyActiveHours | null;
|
|
7608
8072
|
};
|
|
7609
8073
|
type JourneyResponse = Journey;
|
|
7610
8074
|
type MemberJourney = Omit<MemberJourneyResponse$1, 'status' | 'steps'> & {
|
|
@@ -7616,6 +8080,29 @@ type MemberJourneyStep = Omit<MemberJourneyStepResponse$1, 'status'> & {
|
|
|
7616
8080
|
status: MemberJourneyStepStatus;
|
|
7617
8081
|
};
|
|
7618
8082
|
type MemberJourneyStepResponse = MemberJourneyStep;
|
|
8083
|
+
/**
|
|
8084
|
+
* Per-journey active hours (#16839). Wall-clock day windows resolved in
|
|
8085
|
+
* each member's timezone (workspace timezone fallback) — "09:00" opens at
|
|
8086
|
+
* each member's local 9 AM. Outside the window the journey holds: no step
|
|
8087
|
+
* becomes eligible and nothing dispatches until the member's window opens.
|
|
8088
|
+
* null/undefined = always-on.
|
|
8089
|
+
*/
|
|
8090
|
+
interface JourneyActiveHoursDay {
|
|
8091
|
+
day: 'monday' | 'tuesday' | 'wednesday' | 'thursday' | 'friday' | 'saturday' | 'sunday';
|
|
8092
|
+
enabled: boolean;
|
|
8093
|
+
start?: string | null;
|
|
8094
|
+
end?: string | null;
|
|
8095
|
+
}
|
|
8096
|
+
interface JourneyActiveHours {
|
|
8097
|
+
days: JourneyActiveHoursDay[];
|
|
8098
|
+
/**
|
|
8099
|
+
* member (default): windows resolve in each member's local timezone.
|
|
8100
|
+
* workspace: one synchronous window in the workspace timezone for everyone.
|
|
8101
|
+
*/
|
|
8102
|
+
timezone_mode?: 'member' | 'workspace';
|
|
8103
|
+
/** v1 supports 'hold' only (default). */
|
|
8104
|
+
out_of_window_policy?: 'hold';
|
|
8105
|
+
}
|
|
7619
8106
|
interface JourneyFormData {
|
|
7620
8107
|
name: string;
|
|
7621
8108
|
description?: string | null;
|
|
@@ -7623,6 +8110,7 @@ interface JourneyFormData {
|
|
|
7623
8110
|
ownerId?: number | null;
|
|
7624
8111
|
autoEnrollFilterId?: number | null;
|
|
7625
8112
|
startStepId?: number | null;
|
|
8113
|
+
activeHours?: JourneyActiveHours | null;
|
|
7626
8114
|
}
|
|
7627
8115
|
interface JourneyStepFormData {
|
|
7628
8116
|
name: string;
|
|
@@ -8163,8 +8651,16 @@ declare class AgentsApi extends BaseApiClient {
|
|
|
8163
8651
|
/** Resolve runtime tools for an agent on a simulated channel. */
|
|
8164
8652
|
resolveAgentTools(wid: string, id: number, options: {
|
|
8165
8653
|
channel: string;
|
|
8166
|
-
taskId
|
|
8654
|
+
taskId?: number;
|
|
8655
|
+
taskUuid?: string;
|
|
8167
8656
|
}): Promise<ToolsResponse>;
|
|
8657
|
+
/**
|
|
8658
|
+
* List the configured abilities effective for an agent via a task's workflow.
|
|
8659
|
+
* Requires taskId because abilities are scoped to workflows/tasks, not agents.
|
|
8660
|
+
*/
|
|
8661
|
+
listAgentAbilities(wid: string, id: number, options: {
|
|
8662
|
+
taskId: number;
|
|
8663
|
+
}): Promise<AbilityResponse[]>;
|
|
8168
8664
|
}
|
|
8169
8665
|
|
|
8170
8666
|
/**
|
|
@@ -8193,9 +8689,13 @@ declare class AIModelsApi extends BaseApiClient {
|
|
|
8193
8689
|
*/
|
|
8194
8690
|
getImageModels(provider?: string): Promise<ChatModelsResponse>;
|
|
8195
8691
|
/**
|
|
8196
|
-
* Get available speech-to-text models
|
|
8692
|
+
* Get available speech-to-text models.
|
|
8693
|
+
*
|
|
8694
|
+
* Returns the per-shape `STTModelsResponse` so callers see `languages` and
|
|
8695
|
+
* `capabilities` on each model (the chat-shape `AIModelsResponse` it used
|
|
8696
|
+
* to return doesn't include either).
|
|
8197
8697
|
*/
|
|
8198
|
-
getSTTModels(provider?: string): Promise<
|
|
8698
|
+
getSTTModels(provider?: string): Promise<STTModelsResponse>;
|
|
8199
8699
|
/**
|
|
8200
8700
|
* Get available text-to-speech models
|
|
8201
8701
|
*/
|
|
@@ -8363,8 +8863,8 @@ declare class AuthApi extends BaseApiClient {
|
|
|
8363
8863
|
}): Promise<CreateSignupResponse>;
|
|
8364
8864
|
/** Request a magic link to be sent to the given email address for passwordless login. */
|
|
8365
8865
|
requestMagicLink(email: string, organizationUuid?: string, redirectUrl?: string): Promise<RequestMagicLinkResponse>;
|
|
8366
|
-
/** Validate a magic link token
|
|
8367
|
-
validateMagicLink(token: string
|
|
8866
|
+
/** Validate a magic link token to complete authentication. */
|
|
8867
|
+
validateMagicLink(token: string): Promise<ValidateMagicLinkResponse>;
|
|
8368
8868
|
/** Send a verification code to the given email address for login. */
|
|
8369
8869
|
sendEmailVerification(email: string, organizationUuid?: string): Promise<SendLoginCodeResponse>;
|
|
8370
8870
|
/** Verify an email code and complete authentication, handling 2FA if required. */
|
|
@@ -8637,6 +9137,18 @@ declare class CallsApi extends BaseApiClient {
|
|
|
8637
9137
|
getVoiceToken(wid: string): Promise<VoiceTokenResponse>;
|
|
8638
9138
|
/** Get message timing data for a chat recording. */
|
|
8639
9139
|
getMessageTiming(wid: string, chatId: number): Promise<MessageTimingResponse>;
|
|
9140
|
+
/** List the recorded audio chunks for a chat (metadata only). */
|
|
9141
|
+
listChatRecordings(wid: string, chatId: number, options?: {
|
|
9142
|
+
role?: 'assistant' | 'member';
|
|
9143
|
+
}): Promise<RecordingListResponse>;
|
|
9144
|
+
/**
|
|
9145
|
+
* Get a single short-lived presigned URL to download the complete call
|
|
9146
|
+
* recording as one WAV file. The first request assembles + caches the
|
|
9147
|
+
* full-call WAV; later requests reuse it.
|
|
9148
|
+
*/
|
|
9149
|
+
getCallRecordingDownloadUrl(wid: string, chatId: number, options?: {
|
|
9150
|
+
expiresIn?: number;
|
|
9151
|
+
}): Promise<CallRecordingDownloadUrlResponse>;
|
|
8640
9152
|
}
|
|
8641
9153
|
|
|
8642
9154
|
/**
|
|
@@ -8709,6 +9221,10 @@ declare class ChatsApi extends BaseApiClient {
|
|
|
8709
9221
|
getChat(wid: string, id: number): Promise<ChatResponse>;
|
|
8710
9222
|
/** Get token usage statistics for a chat. */
|
|
8711
9223
|
getChatTokenUsage(wid: string, chatId: number): Promise<ChatTokenUsageResponse>;
|
|
9224
|
+
/** List scheduled callbacks for a chat (newest first). */
|
|
9225
|
+
getChatCallbacks(wid: string, chatId: number): Promise<ScheduledCallbackListResponse>;
|
|
9226
|
+
/** Cancel a pending scheduled callback on a chat. */
|
|
9227
|
+
cancelChatCallback(wid: string, chatId: number, callbackId: number): Promise<ScheduledCallbackResponse>;
|
|
8712
9228
|
/** Get todo items extracted from a chat. */
|
|
8713
9229
|
getChatTodos(wid: string, chatId: number): Promise<{
|
|
8714
9230
|
todos: TodoItemResponse[];
|
|
@@ -8730,7 +9246,7 @@ declare class ChatsApi extends BaseApiClient {
|
|
|
8730
9246
|
count: number;
|
|
8731
9247
|
assignment?: number;
|
|
8732
9248
|
manager?: number;
|
|
8733
|
-
|
|
9249
|
+
dm?: number;
|
|
8734
9250
|
testing?: number;
|
|
8735
9251
|
}>;
|
|
8736
9252
|
}>;
|
|
@@ -8761,8 +9277,9 @@ declare class ChatsApi extends BaseApiClient {
|
|
|
8761
9277
|
}>;
|
|
8762
9278
|
/** Generate an AI summary for a chat, optionally updating its labels. */
|
|
8763
9279
|
summarizeChat(wid: string, id: number, updateLabels?: boolean): Promise<ChatResponse>;
|
|
8764
|
-
/** List messages in a chat with optional pagination.
|
|
8765
|
-
|
|
9280
|
+
/** List messages in a chat with optional pagination.
|
|
9281
|
+
* ``id`` is the numeric chat id (documented) or the chat uuid (accepted). */
|
|
9282
|
+
getChatMessages(wid: string, id: number | string, limit?: number, offset?: number): Promise<ChatMessage[]>;
|
|
8766
9283
|
/** List messages associated with a specific tool call in a chat. */
|
|
8767
9284
|
getChatToolCallMessages(wid: string, chatId: number, callId: string, limit?: number, offset?: number): Promise<ChatMessage[]>;
|
|
8768
9285
|
/** Get the tools available in a chat. */
|
|
@@ -8770,7 +9287,7 @@ declare class ChatsApi extends BaseApiClient {
|
|
|
8770
9287
|
/** Initiate an outbound phone call from a chat. */
|
|
8771
9288
|
initiateOutboundCall(wid: string, chatId: number, phoneNumberId: number): Promise<OutboundCallResponse>;
|
|
8772
9289
|
/** Send a message as the assistant in a chat, optionally including tool calls. */
|
|
8773
|
-
sendAssistantMessage(wid: string, chatId: number, message: string, toolCalls?: Array<{
|
|
9290
|
+
sendAssistantMessage(wid: string, chatId: number | string, message: string, toolCalls?: Array<{
|
|
8774
9291
|
type: 'function';
|
|
8775
9292
|
id: string;
|
|
8776
9293
|
function: {
|
|
@@ -9007,6 +9524,8 @@ declare class DataTypesApi extends BaseApiClient {
|
|
|
9007
9524
|
/** List data records for a data type with optional filtering and pagination. */
|
|
9008
9525
|
getDataRecords(wid: string, dataTypeId: number, options?: {
|
|
9009
9526
|
memberId?: number;
|
|
9527
|
+
/** Batch form of memberId — one request hydrates a whole table page. */
|
|
9528
|
+
memberIds?: number[];
|
|
9010
9529
|
search?: string;
|
|
9011
9530
|
searchField?: string;
|
|
9012
9531
|
page?: number;
|
|
@@ -9239,6 +9758,8 @@ declare class EventsApi extends BaseApiClient {
|
|
|
9239
9758
|
updateEventRule(wid: string, id: number, rule: UpdateEventRuleFormData): Promise<EventRule>;
|
|
9240
9759
|
/** Delete an event rule by ID. */
|
|
9241
9760
|
deleteEventRule(wid: string, id: number): Promise<void>;
|
|
9761
|
+
/** Send a one-off test webhook for an existing webhook event rule. */
|
|
9762
|
+
testWebhook(wid: string, id: number, request: TestWebhookRequest): Promise<TestWebhookResponse>;
|
|
9242
9763
|
/** Reorder event rules by specifying the desired rule ID sequence. */
|
|
9243
9764
|
reorderEventRules(wid: string, ruleIds: number[]): Promise<{
|
|
9244
9765
|
status: string;
|
|
@@ -9400,6 +9921,10 @@ interface FeatureDefinition {
|
|
|
9400
9921
|
productLabel?: string;
|
|
9401
9922
|
/** Sort order on product cards (lower = higher) */
|
|
9402
9923
|
productOrder?: number;
|
|
9924
|
+
/** Whether this feature is deprecated and scheduled for removal */
|
|
9925
|
+
deprecated?: boolean;
|
|
9926
|
+
/** ISO date string after which this feature flag must have no code references */
|
|
9927
|
+
sunsetDate?: string | null;
|
|
9403
9928
|
}
|
|
9404
9929
|
/**
|
|
9405
9930
|
* Response from the features API endpoint.
|
|
@@ -9614,6 +10139,39 @@ interface FhirLinkedMember {
|
|
|
9614
10139
|
memberPhone?: string | null;
|
|
9615
10140
|
}
|
|
9616
10141
|
|
|
10142
|
+
/**
|
|
10143
|
+
* Upsert the workspace's PatientSync connection. On first configure
|
|
10144
|
+
* `apiBaseUrl` + `apiKey` are required; later configures apply only the fields
|
|
10145
|
+
* provided (so the key can be rotated or the form changed independently).
|
|
10146
|
+
* `apiKey` is write-only — it is never returned by any endpoint.
|
|
10147
|
+
*/
|
|
10148
|
+
interface ConfigurePatientSyncRequest {
|
|
10149
|
+
apiBaseUrl?: string;
|
|
10150
|
+
apiKey?: string;
|
|
10151
|
+
requestor?: string;
|
|
10152
|
+
formSlug?: string;
|
|
10153
|
+
fallbackDid?: string;
|
|
10154
|
+
enabled?: boolean;
|
|
10155
|
+
}
|
|
10156
|
+
/** Current PatientSync connection state. Never includes the API key. */
|
|
10157
|
+
interface PatientSyncConnectionStatus {
|
|
10158
|
+
configured: boolean;
|
|
10159
|
+
enabled: boolean;
|
|
10160
|
+
hasApiKey: boolean;
|
|
10161
|
+
apiBaseUrl: string | null;
|
|
10162
|
+
requestor: string | null;
|
|
10163
|
+
formSlug: string | null;
|
|
10164
|
+
fallbackDid: string | null;
|
|
10165
|
+
}
|
|
10166
|
+
declare class PatientSyncConnectionsApi extends BaseApiClient {
|
|
10167
|
+
/** Create or update the workspace's PatientSync connection (singleton). */
|
|
10168
|
+
configurePatientSync(wid: string, data: ConfigurePatientSyncRequest): Promise<PatientSyncConnectionStatus>;
|
|
10169
|
+
/** Read the PatientSync connection status (never returns the API key). */
|
|
10170
|
+
getPatientSyncStatus(wid: string): Promise<PatientSyncConnectionStatus>;
|
|
10171
|
+
/** Delete the workspace's PatientSync connection. */
|
|
10172
|
+
deletePatientSyncConnection(wid: string): Promise<void>;
|
|
10173
|
+
}
|
|
10174
|
+
|
|
9617
10175
|
interface ConfigureHealthieRequest {
|
|
9618
10176
|
api_key: string;
|
|
9619
10177
|
base_url?: string;
|
|
@@ -9754,6 +10312,11 @@ declare class FilesApi extends BaseApiClient {
|
|
|
9754
10312
|
}): Promise<PaginatedResponse<File$1>>;
|
|
9755
10313
|
/** Get a single file by ID. */
|
|
9756
10314
|
getFile(wid: string, id: number): Promise<File$1>;
|
|
10315
|
+
/**
|
|
10316
|
+
* Download the given files + folders (folders recursively) as a single ZIP.
|
|
10317
|
+
* Returns the raw archive bytes for the caller to save.
|
|
10318
|
+
*/
|
|
10319
|
+
downloadFilesZip(wid: string, fileIds: number[], folderIds: number[]): Promise<Blob>;
|
|
9757
10320
|
/** Create a new file record in the workspace. */
|
|
9758
10321
|
createFile(wid: string, file: FileFormData): Promise<File$1>;
|
|
9759
10322
|
/** Upload in-memory file content through the API's database-backed file path. */
|
|
@@ -9859,7 +10422,7 @@ declare class InboxesApi extends BaseApiClient {
|
|
|
9859
10422
|
/** Download an email attachment as raw bytes. */
|
|
9860
10423
|
downloadEmailAttachment(wid: string, inboxId: number, emailId: number, attachmentId: string): Promise<ArrayBuffer>;
|
|
9861
10424
|
/** List email threads in an inbox. */
|
|
9862
|
-
getInboxThreads(wid: string, inboxId: number): Promise<
|
|
10425
|
+
getInboxThreads(wid: string, inboxId: number): Promise<InboxThreadsPageResponse>;
|
|
9863
10426
|
/** List emails in a thread by assignment ID with pagination. */
|
|
9864
10427
|
getThreadEmails(wid: string, inboxId: number, assignmentId: number, options?: {
|
|
9865
10428
|
page?: number;
|
|
@@ -10003,6 +10566,10 @@ declare class AppConnectionsApi extends BaseApiClient {
|
|
|
10003
10566
|
* values are intentionally never exposed. Operators can also add a
|
|
10004
10567
|
* new key via the UI's "Add custom field key" free-text action.
|
|
10005
10568
|
*/
|
|
10569
|
+
setDefaultGooglePlatformAccount(wid: string, connectionUuid: string, credentialUuid: string): Promise<{
|
|
10570
|
+
accounts: unknown[];
|
|
10571
|
+
total: number;
|
|
10572
|
+
}>;
|
|
10006
10573
|
listConnectionMemberFieldKeys(wid: string, connectionId: number): Promise<ConnectionMemberFieldKeysResponse>;
|
|
10007
10574
|
}
|
|
10008
10575
|
|
|
@@ -10074,6 +10641,16 @@ declare class McpServersApi extends BaseApiClient {
|
|
|
10074
10641
|
}>;
|
|
10075
10642
|
}
|
|
10076
10643
|
|
|
10644
|
+
/**
|
|
10645
|
+
* Thrown by previewImportMembers / importMembers when the server returns a
|
|
10646
|
+
* structured validation-error payload (`{ message, errors: string[] }`). Carries
|
|
10647
|
+
* the per-row error strings (column/field names only — PHI-safe by the server
|
|
10648
|
+
* contract) on a typed field instead of an untyped `(error as any)` cast.
|
|
10649
|
+
*/
|
|
10650
|
+
declare class MemberImportValidationError extends Error {
|
|
10651
|
+
readonly validationErrors: string[];
|
|
10652
|
+
constructor(message: string, validationErrors: string[]);
|
|
10653
|
+
}
|
|
10077
10654
|
declare class MembersApi extends BaseApiClient {
|
|
10078
10655
|
/** Get the currently authenticated member for a workspace. */
|
|
10079
10656
|
getCurrentMember(wid: string): Promise<CurrentMemberResponse>;
|
|
@@ -10099,7 +10676,11 @@ declare class MembersApi extends BaseApiClient {
|
|
|
10099
10676
|
getWorkspaceMembers(wid: string, page?: number, pageSize?: number, filters?: {
|
|
10100
10677
|
query?: string;
|
|
10101
10678
|
role?: string;
|
|
10102
|
-
} | 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[]
|
|
10679
|
+
} | 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[],
|
|
10680
|
+
/** Apply a saved member filter by id (rules AND query predicate). */
|
|
10681
|
+
memberFilterId?: number,
|
|
10682
|
+
/** Transient query-engine IR predicate (the unsaved counterpart of a saved filter's query). */
|
|
10683
|
+
query?: QueryPredicate): Promise<PaginatedResponse<WorkspaceMemberResponse>>;
|
|
10103
10684
|
/** Get a single workspace member by ID. */
|
|
10104
10685
|
getWorkspaceMember(wid: string, memberId: number): Promise<WorkspaceMemberResponse>;
|
|
10105
10686
|
/** Create a new workspace member. */
|
|
@@ -10114,6 +10695,15 @@ declare class MembersApi extends BaseApiClient {
|
|
|
10114
10695
|
archiveMember(wid: string, memberId: number): Promise<WorkspaceMemberResponse>;
|
|
10115
10696
|
/** Unarchive a previously archived workspace member. */
|
|
10116
10697
|
unarchiveMember(wid: string, memberId: number): Promise<WorkspaceMemberResponse>;
|
|
10698
|
+
/**
|
|
10699
|
+
* Send the member an SMS asking them to confirm their phone number. When they
|
|
10700
|
+
* reply, a trusted phone auth binding is created so they can use SMS as
|
|
10701
|
+
* themselves without an account (member-attested alternative to the
|
|
10702
|
+
* members:admin "Trusted" override).
|
|
10703
|
+
*/
|
|
10704
|
+
sendMemberPhoneConfirmation(wid: string, memberId: number): Promise<{
|
|
10705
|
+
status: string;
|
|
10706
|
+
}>;
|
|
10117
10707
|
/** List all saved member filters for a workspace. */
|
|
10118
10708
|
getMemberFilters(wid: string): Promise<MemberFilterResponse[]>;
|
|
10119
10709
|
/** Get a single member filter by ID. */
|
|
@@ -10122,6 +10712,19 @@ declare class MembersApi extends BaseApiClient {
|
|
|
10122
10712
|
createMemberFilter(wid: string, data: MemberFilterFormData): Promise<MemberFilterResponse>;
|
|
10123
10713
|
/** Update a saved member filter. */
|
|
10124
10714
|
updateMemberFilter(wid: string, filterId: number, data: Partial<MemberFilterFormData>): Promise<MemberFilterResponse>;
|
|
10715
|
+
/**
|
|
10716
|
+
* Convert a legacy rules filter to a query-engine predicate. One-way and
|
|
10717
|
+
* transactional: on success the filter's legacy rules are gone and
|
|
10718
|
+
* `query` holds the equivalent IR predicate. 409 if already query-format;
|
|
10719
|
+
* 422 when rules have no engine equivalent.
|
|
10720
|
+
*
|
|
10721
|
+
* With `dryRun: true` the same validation runs but nothing persists: the
|
|
10722
|
+
* response previews the normalized predicate in `query` while `rules`
|
|
10723
|
+
* stay intact on the filter.
|
|
10724
|
+
*/
|
|
10725
|
+
convertMemberFilterToQuery(wid: string, filterId: number, opts?: {
|
|
10726
|
+
dryRun?: boolean;
|
|
10727
|
+
}): Promise<MemberFilterResponse>;
|
|
10125
10728
|
/** Delete a saved member filter. */
|
|
10126
10729
|
deleteMemberFilter(wid: string, filterId: number): Promise<void>;
|
|
10127
10730
|
/** Get the count of members matching a saved filter. */
|
|
@@ -10152,8 +10755,32 @@ declare class MembersApi extends BaseApiClient {
|
|
|
10152
10755
|
updateMemberRole(wid: string, id: number, memberRole: MemberRoleFormData): Promise<MemberRoleResponse>;
|
|
10153
10756
|
/** Delete a member role. */
|
|
10154
10757
|
deleteMemberRole(wid: string, id: number): Promise<void>;
|
|
10155
|
-
/**
|
|
10156
|
-
|
|
10758
|
+
/**
|
|
10759
|
+
* Read-only preview classifying each CSV row before any write (GRA-5545).
|
|
10760
|
+
*
|
|
10761
|
+
* Returns create/update/unchanged/conflict/error counts. For phone-only
|
|
10762
|
+
* identity conflicts it also returns existing vs incoming identity so the
|
|
10763
|
+
* operator can decide whether to skip or explicitly overwrite before
|
|
10764
|
+
* committing. Requires MEMBERS_ADMIN and is bulk-PHI audited server-side.
|
|
10765
|
+
*/
|
|
10766
|
+
previewImportMembers(wid: string, file: File, newMemberRoleId: number, options?: {
|
|
10767
|
+
trustEmailAddresses?: boolean;
|
|
10768
|
+
trustPhoneNumbers?: boolean;
|
|
10769
|
+
}): Promise<MemberImportPreviewResponse>;
|
|
10770
|
+
/**
|
|
10771
|
+
* Import members from a CSV file, streaming progress updates via callback.
|
|
10772
|
+
*
|
|
10773
|
+
* ``identityConflictPolicy`` (default 'skip') controls how a row matching an
|
|
10774
|
+
* existing member ONLY by phone with different identity fields is handled.
|
|
10775
|
+
* Send 'overwrite_identity_fields' only after the operator confirms a preview.
|
|
10776
|
+
*/
|
|
10777
|
+
importMembers(wid: string, file: File, newMemberRoleId: number, onProgress?: (progress: MemberImportStreamEvent) => void, options?: {
|
|
10778
|
+
trustEmailAddresses?: boolean;
|
|
10779
|
+
trustPhoneNumbers?: boolean;
|
|
10780
|
+
identityConflictPolicy?: IdentityConflictPolicy;
|
|
10781
|
+
}): Promise<{
|
|
10782
|
+
success: boolean;
|
|
10783
|
+
}>;
|
|
10157
10784
|
/** Export members as a downloadable file with selected fields and data types. */
|
|
10158
10785
|
exportMembers(wid: string, selectedFields: string[], selectedDataTypes: number[], memberType?: 'member' | 'test' | 'anonymous'): Promise<Blob>;
|
|
10159
10786
|
/** Get message activity counts for the specified members over a time period. */
|
|
@@ -10239,6 +10866,10 @@ declare class MembersApi extends BaseApiClient {
|
|
|
10239
10866
|
deleteMemberMemory(wid: string, memberId: number, memoryKey: string, options?: {
|
|
10240
10867
|
type?: MemoryType;
|
|
10241
10868
|
}): Promise<void>;
|
|
10869
|
+
/** Bulk-create members in a workspace. */
|
|
10870
|
+
bulkCreateMembers(wid: string, request: BulkCreateMembersRequest): Promise<BulkCreateMembersResponse>;
|
|
10871
|
+
/** Get all sync links for a member across app connections. */
|
|
10872
|
+
getMemberSyncLinks(wid: string, memberId: number): Promise<MemberSyncLink[]>;
|
|
10242
10873
|
}
|
|
10243
10874
|
|
|
10244
10875
|
declare class MilestonesApi extends BaseApiClient {
|
|
@@ -10396,11 +11027,96 @@ type SiteDisableResponse = {
|
|
|
10396
11027
|
ok: false;
|
|
10397
11028
|
impact: SiteDisableImpactResponse;
|
|
10398
11029
|
};
|
|
10399
|
-
|
|
10400
|
-
|
|
10401
|
-
|
|
10402
|
-
|
|
10403
|
-
|
|
11030
|
+
/** One A2P brand in the org broker view (subset the consent editor reads). */
|
|
11031
|
+
interface OrgA2PBrandSummary {
|
|
11032
|
+
uuid: string;
|
|
11033
|
+
displayName: string;
|
|
11034
|
+
brandStatus?: string | null;
|
|
11035
|
+
campaignStatus?: string | null;
|
|
11036
|
+
evidenceUrl: string;
|
|
11037
|
+
}
|
|
11038
|
+
interface OrgA2PBrandListResponse {
|
|
11039
|
+
brands: OrgA2PBrandSummary[];
|
|
11040
|
+
}
|
|
11041
|
+
/**
|
|
11042
|
+
* Resolved A2P campaign config for one brand — compliant defaults merged with
|
|
11043
|
+
* the brand's stored overrides. `consentCheckboxLabel` + `consentDisclosure`
|
|
11044
|
+
* are the canonical opt-in text the patient sees; the MessageFlow quotes them
|
|
11045
|
+
* verbatim, so the live preview's three views render from the same data.
|
|
11046
|
+
*/
|
|
11047
|
+
interface ResolvedA2PCampaignConfig {
|
|
11048
|
+
description: string;
|
|
11049
|
+
messageFlow: string;
|
|
11050
|
+
messageSamples: string[];
|
|
11051
|
+
useCase: string;
|
|
11052
|
+
optInMessage: string;
|
|
11053
|
+
optOutMessage: string;
|
|
11054
|
+
helpMessage: string;
|
|
11055
|
+
privacyUrl: string;
|
|
11056
|
+
termsUrl: string;
|
|
11057
|
+
ageGated: boolean;
|
|
11058
|
+
evidenceUrl: string;
|
|
11059
|
+
hasEmbeddedLinks: boolean;
|
|
11060
|
+
hasEmbeddedPhone: boolean;
|
|
11061
|
+
subscriberOptIn: boolean;
|
|
11062
|
+
directLending: boolean;
|
|
11063
|
+
consentCheckboxLabel: string;
|
|
11064
|
+
consentDisclosure: string;
|
|
11065
|
+
programConsentLabel: string;
|
|
11066
|
+
}
|
|
11067
|
+
/** Stored overrides (raw) + the resolved preview for one brand. */
|
|
11068
|
+
interface A2PCampaignConfigResponse {
|
|
11069
|
+
overrides: Record<string, unknown>;
|
|
11070
|
+
resolved: ResolvedA2PCampaignConfig;
|
|
11071
|
+
/** The Site (`A2PBrand.site_uuid`) linked as this brand's opt-in surface. */
|
|
11072
|
+
enrollmentSiteUuid?: string | null;
|
|
11073
|
+
}
|
|
11074
|
+
/** A published Site the org may link as a brand's enrollment surface. */
|
|
11075
|
+
interface A2PEnrollmentSiteCandidate {
|
|
11076
|
+
workspaceUuid: string;
|
|
11077
|
+
workspaceName: string;
|
|
11078
|
+
siteUuid: string;
|
|
11079
|
+
siteName: string;
|
|
11080
|
+
}
|
|
11081
|
+
interface A2PEnrollmentSiteCandidatesResponse {
|
|
11082
|
+
candidates: A2PEnrollmentSiteCandidate[];
|
|
11083
|
+
}
|
|
11084
|
+
interface LinkA2PEnrollmentSiteRequest {
|
|
11085
|
+
workspaceUuid: string;
|
|
11086
|
+
siteUuid: string;
|
|
11087
|
+
}
|
|
11088
|
+
/**
|
|
11089
|
+
* Auto-provision the brand's opt-in Site. `workspaceUuid` is required only when
|
|
11090
|
+
* the org has multiple workspaces; with a single workspace it is inferred
|
|
11091
|
+
* (omitted). The backend treats a missing value as "infer".
|
|
11092
|
+
*/
|
|
11093
|
+
interface ProvisionA2PEnrollmentSiteRequest {
|
|
11094
|
+
workspaceUuid?: string;
|
|
11095
|
+
}
|
|
11096
|
+
interface A2PBrandEnrollmentUrlResponse {
|
|
11097
|
+
/** Brand-addressable enrollment URL (carries ?brand=…); null until linked. */
|
|
11098
|
+
url: string | null;
|
|
11099
|
+
}
|
|
11100
|
+
/** Partial update of a brand's campaign config; omitted fields are unchanged. */
|
|
11101
|
+
interface UpdateA2PCampaignConfigRequest {
|
|
11102
|
+
description?: string;
|
|
11103
|
+
messageFlow?: string;
|
|
11104
|
+
useCase?: string;
|
|
11105
|
+
messageSamples?: string[];
|
|
11106
|
+
optInMessage?: string;
|
|
11107
|
+
optOutMessage?: string;
|
|
11108
|
+
helpMessage?: string;
|
|
11109
|
+
privacyUrl?: string;
|
|
11110
|
+
termsUrl?: string;
|
|
11111
|
+
ageGated?: boolean;
|
|
11112
|
+
consentCheckboxLabel?: string;
|
|
11113
|
+
consentDisclosure?: string;
|
|
11114
|
+
}
|
|
11115
|
+
|
|
11116
|
+
/**
|
|
11117
|
+
* Organization API client for /api/v2/o/{org_uuid}/ routes.
|
|
11118
|
+
*
|
|
11119
|
+
* This client handles organization-scoped operations using the new org routes
|
|
10404
11120
|
* that support both numeric IDs and UUIDs (auto-detected on the backend).
|
|
10405
11121
|
*/
|
|
10406
11122
|
|
|
@@ -10525,6 +11241,8 @@ declare class OrgApi extends BaseApiClient {
|
|
|
10525
11241
|
* Search for available phone numbers to purchase from Twilio.
|
|
10526
11242
|
*/
|
|
10527
11243
|
searchPhoneNumbers(orgUuid: string, params?: {
|
|
11244
|
+
/** ISO 3166-1 alpha-2 country code (e.g. 'US', 'AU'). Defaults to 'US'. */
|
|
11245
|
+
country?: string;
|
|
10528
11246
|
numberType?: 'local' | 'toll_free';
|
|
10529
11247
|
areaCode?: string;
|
|
10530
11248
|
contains?: string;
|
|
@@ -10532,8 +11250,15 @@ declare class OrgApi extends BaseApiClient {
|
|
|
10532
11250
|
}): Promise<AvailablePhoneNumberResponse[]>;
|
|
10533
11251
|
/**
|
|
10534
11252
|
* Purchase a phone number from Twilio for this org inventory (org admin only).
|
|
11253
|
+
*
|
|
11254
|
+
* Numbers in regulated countries (e.g. Australia) require a Twilio regulatory
|
|
11255
|
+
* bundle and an address — pass `bundleSid` and `addressSid` for those.
|
|
10535
11256
|
*/
|
|
10536
|
-
purchasePhoneNumber(orgUuid: string, phoneNumber: string, numberType: 'local' | 'toll_free'
|
|
11257
|
+
purchasePhoneNumber(orgUuid: string, phoneNumber: string, numberType: 'local' | 'toll_free', opts?: {
|
|
11258
|
+
country?: string;
|
|
11259
|
+
bundleSid?: string;
|
|
11260
|
+
addressSid?: string;
|
|
11261
|
+
}): Promise<ProviderPhoneNumberResponse>;
|
|
10537
11262
|
/**
|
|
10538
11263
|
* Delete a phone number from the org (releases from Twilio).
|
|
10539
11264
|
*/
|
|
@@ -10636,6 +11361,47 @@ declare class OrgApi extends BaseApiClient {
|
|
|
10636
11361
|
* to `draft` so the user can edit and resubmit.
|
|
10637
11362
|
*/
|
|
10638
11363
|
cancelBusinessProfile(orgUuid: string): Promise<BusinessProfileCancelResponse>;
|
|
11364
|
+
/**
|
|
11365
|
+
* List the org's A2P brands (broker resources). The SMS-consent editor uses
|
|
11366
|
+
* this to pick which brand's consent config to edit.
|
|
11367
|
+
*/
|
|
11368
|
+
listA2PBrands(orgUuid: string): Promise<OrgA2PBrandListResponse>;
|
|
11369
|
+
/**
|
|
11370
|
+
* Fetch a brand's resolved A2P campaign config. The response carries both the
|
|
11371
|
+
* raw `overrides` and the `resolved` payload (defaults + overrides) the editor
|
|
11372
|
+
* previews — including the canonical SMS consent text.
|
|
11373
|
+
*/
|
|
11374
|
+
getA2PCampaignConfig(orgUuid: string, brandUuid: string): Promise<A2PCampaignConfigResponse>;
|
|
11375
|
+
/**
|
|
11376
|
+
* Partial-update a brand's A2P campaign config. Returns the freshly resolved
|
|
11377
|
+
* config so the editor's live preview updates without a second round-trip.
|
|
11378
|
+
*/
|
|
11379
|
+
updateA2PCampaignConfig(orgUuid: string, brandUuid: string, data: UpdateA2PCampaignConfigRequest): Promise<A2PCampaignConfigResponse>;
|
|
11380
|
+
/**
|
|
11381
|
+
* Published Sites across the org's workspaces that can be linked as this
|
|
11382
|
+
* brand's enrollment (opt-in) surface. Org-authorized, so it works even when
|
|
11383
|
+
* the admin isn't a member of the workspace holding the Site.
|
|
11384
|
+
*/
|
|
11385
|
+
listA2PEnrollmentSiteCandidates(orgUuid: string, brandUuid: string): Promise<A2PEnrollmentSiteCandidatesResponse>;
|
|
11386
|
+
/**
|
|
11387
|
+
* Link the brand to a published enrollment Site (sets `site_uuid`). Returns
|
|
11388
|
+
* the refreshed campaign config so the editor's link state updates inline.
|
|
11389
|
+
*/
|
|
11390
|
+
linkA2PEnrollmentSite(orgUuid: string, brandUuid: string, data: LinkA2PEnrollmentSiteRequest): Promise<A2PCampaignConfigResponse>;
|
|
11391
|
+
/**
|
|
11392
|
+
* Provision (or reuse) a patient-enrollment Site for the brand and link it —
|
|
11393
|
+
* the one-click path behind the SMS Consent tab. `workspaceUuid` is required
|
|
11394
|
+
* only when the org has multiple workspaces. Returns the refreshed campaign
|
|
11395
|
+
* config so the editor's link state updates inline. Idempotent.
|
|
11396
|
+
*/
|
|
11397
|
+
provisionA2PEnrollmentSite(orgUuid: string, brandUuid: string, data?: ProvisionA2PEnrollmentSiteRequest): Promise<A2PCampaignConfigResponse>;
|
|
11398
|
+
/** Clear the brand's enrollment-site link. */
|
|
11399
|
+
unlinkA2PEnrollmentSite(orgUuid: string, brandUuid: string): Promise<A2PCampaignConfigResponse>;
|
|
11400
|
+
/**
|
|
11401
|
+
* The brand-addressable enrollment form URL (carries `?brand=…`). Outreach
|
|
11402
|
+
* appends each patient's `external_id`. `url` is null until a Site is linked.
|
|
11403
|
+
*/
|
|
11404
|
+
getA2PBrandEnrollmentUrl(orgUuid: string, brandUuid: string): Promise<A2PBrandEnrollmentUrlResponse>;
|
|
10639
11405
|
/**
|
|
10640
11406
|
* List available member roles for a workspace in the organization.
|
|
10641
11407
|
*/
|
|
@@ -10646,30 +11412,37 @@ declare class OrgApi extends BaseApiClient {
|
|
|
10646
11412
|
joinWorkspace(orgIdOrUuid: number | string, workspaceUuid: string, data: OrgJoinWorkspaceRequest): Promise<OrgJoinWorkspaceResponse>;
|
|
10647
11413
|
}
|
|
10648
11414
|
|
|
10649
|
-
type OAuthProviderSlug = 'google_calendar' | 'gmail' | 'google';
|
|
11415
|
+
type OAuthProviderSlug = 'google_calendar' | 'gmail' | 'google' | 'gdrive';
|
|
10650
11416
|
interface OAuthConnectionStatus {
|
|
10651
11417
|
connected: boolean;
|
|
10652
11418
|
email?: string;
|
|
10653
11419
|
}
|
|
11420
|
+
interface OAuthAccountSummary {
|
|
11421
|
+
credentialUuid: string;
|
|
11422
|
+
displayLabel: string;
|
|
11423
|
+
externalEmail?: string;
|
|
11424
|
+
}
|
|
11425
|
+
interface OAuthAccountsResponse {
|
|
11426
|
+
accounts: OAuthAccountSummary[];
|
|
11427
|
+
total: number;
|
|
11428
|
+
}
|
|
10654
11429
|
interface OAuthAuthorizeResponse {
|
|
10655
11430
|
authorization_url: string;
|
|
10656
11431
|
}
|
|
11432
|
+
type OAuthAuthorizeOptions = {
|
|
11433
|
+
credentialUuid?: string;
|
|
11434
|
+
loginHint?: string;
|
|
11435
|
+
/** Frontend URL to return to after OAuth (stored in oauth state). */
|
|
11436
|
+
redirect?: string;
|
|
11437
|
+
};
|
|
10657
11438
|
/**
|
|
10658
|
-
* API for managing third-party OAuth connections (Google Calendar, Gmail,
|
|
11439
|
+
* API for managing third-party OAuth connections (Google Calendar, Gmail, Drive, etc.)
|
|
10659
11440
|
*/
|
|
10660
11441
|
declare class OAuthConnectionsApi extends BaseApiClient {
|
|
10661
|
-
/**
|
|
10662
|
-
* Get the connection status for an OAuth provider
|
|
10663
|
-
*/
|
|
10664
11442
|
getConnectionStatus(providerSlug: OAuthProviderSlug): Promise<OAuthConnectionStatus | null>;
|
|
10665
|
-
|
|
10666
|
-
|
|
10667
|
-
|
|
10668
|
-
getAuthorizationUrl(providerSlug: OAuthProviderSlug): Promise<OAuthAuthorizeResponse>;
|
|
10669
|
-
/**
|
|
10670
|
-
* Disconnect an OAuth provider
|
|
10671
|
-
*/
|
|
10672
|
-
disconnect(providerSlug: OAuthProviderSlug): Promise<void>;
|
|
11443
|
+
listAccounts(providerSlug: OAuthProviderSlug): Promise<OAuthAccountsResponse>;
|
|
11444
|
+
getAuthorizationUrl(providerSlug: OAuthProviderSlug, options?: OAuthAuthorizeOptions): Promise<OAuthAuthorizeResponse>;
|
|
11445
|
+
disconnect(providerSlug: OAuthProviderSlug, credentialUuid?: string): Promise<void>;
|
|
10673
11446
|
}
|
|
10674
11447
|
interface AuthorizeRequest {
|
|
10675
11448
|
clientId: string;
|
|
@@ -10700,9 +11473,6 @@ interface TokenResponse {
|
|
|
10700
11473
|
refresh_token?: string;
|
|
10701
11474
|
scope: string;
|
|
10702
11475
|
}
|
|
10703
|
-
/**
|
|
10704
|
-
* Individual scope metadata from the API
|
|
10705
|
-
*/
|
|
10706
11476
|
interface ApiScope {
|
|
10707
11477
|
name: string;
|
|
10708
11478
|
category: string;
|
|
@@ -10710,29 +11480,13 @@ interface ApiScope {
|
|
|
10710
11480
|
implies: string[];
|
|
10711
11481
|
dangerous: boolean;
|
|
10712
11482
|
}
|
|
10713
|
-
/**
|
|
10714
|
-
* Response from the scopes endpoint
|
|
10715
|
-
*/
|
|
10716
11483
|
interface ScopesListResponse {
|
|
10717
11484
|
items: ApiScope[];
|
|
10718
11485
|
categories: string[];
|
|
10719
11486
|
}
|
|
10720
11487
|
declare class OAuthApi extends BaseApiClient {
|
|
10721
|
-
/**
|
|
10722
|
-
* Get all available OAuth/API key scopes with metadata.
|
|
10723
|
-
*
|
|
10724
|
-
* This returns the full scope definitions from the backend,
|
|
10725
|
-
* ensuring the UI always shows the correct scopes.
|
|
10726
|
-
*/
|
|
10727
11488
|
getAvailableScopes(): Promise<ScopesListResponse>;
|
|
10728
|
-
/**
|
|
10729
|
-
* Create an authorization code for OAuth flow
|
|
10730
|
-
* This is called after the user approves the authorization request
|
|
10731
|
-
*/
|
|
10732
11489
|
authorize(request: AuthorizeRequest): Promise<AuthorizeResponse>;
|
|
10733
|
-
/**
|
|
10734
|
-
* Exchange authorization code for access token
|
|
10735
|
-
*/
|
|
10736
11490
|
exchangeOAuthToken(request: TokenRequest): Promise<TokenResponse>;
|
|
10737
11491
|
}
|
|
10738
11492
|
|
|
@@ -10893,6 +11647,24 @@ declare class PersonasApi extends BaseApiClient {
|
|
|
10893
11647
|
deletePersona(wid: string, id: number): Promise<void>;
|
|
10894
11648
|
}
|
|
10895
11649
|
|
|
11650
|
+
/**
|
|
11651
|
+
* Unified Query Engine API (`/w/{wid}/queries/*`).
|
|
11652
|
+
*
|
|
11653
|
+
* Carries the JSON Query IR (see `query-engine-types.ts`) — the same tree
|
|
11654
|
+
* the query-builder UI renders. PHI note: query operands may be sensitive;
|
|
11655
|
+
* never log request bodies.
|
|
11656
|
+
*/
|
|
11657
|
+
declare class QueriesApi extends BaseApiClient {
|
|
11658
|
+
/** Queryable namespace: native fields, operators per type, DataType record fields. */
|
|
11659
|
+
getQueryFields(wid: string): Promise<QueryFieldsResponse>;
|
|
11660
|
+
/** Structure / field / access / cost validation without execution. */
|
|
11661
|
+
validateQuery(wid: string, query: QueryIR): Promise<ValidateQueryResponse>;
|
|
11662
|
+
/** Bounded sample run (limit capped server-side). */
|
|
11663
|
+
previewQuery(wid: string, query: QueryIR, mode?: QueryRunMode): Promise<RunQueryResponse>;
|
|
11664
|
+
/** Execute a query (rows / count / aggregate). */
|
|
11665
|
+
runQuery(wid: string, query: QueryIR, mode?: QueryRunMode): Promise<RunQueryResponse>;
|
|
11666
|
+
}
|
|
11667
|
+
|
|
10896
11668
|
declare class QualificationsApi extends BaseApiClient {
|
|
10897
11669
|
/** List qualifications in a workspace, paginated. */
|
|
10898
11670
|
getQualifications(wid: string, params?: {
|
|
@@ -10912,6 +11684,7 @@ declare class QualificationsApi extends BaseApiClient {
|
|
|
10912
11684
|
deleteScenario(wid: string, scenarioId: number): Promise<void>;
|
|
10913
11685
|
listTestChatRuns(wid: string, workflowId: number, params?: {
|
|
10914
11686
|
scenarioId?: number;
|
|
11687
|
+
assistantChatModelId?: string;
|
|
10915
11688
|
limit?: number;
|
|
10916
11689
|
}): Promise<TestChatRunResponse[]>;
|
|
10917
11690
|
getTestChatRun(wid: string, runId: number): Promise<TestChatRunResponse>;
|
|
@@ -10922,31 +11695,15 @@ declare class QualificationsApi extends BaseApiClient {
|
|
|
10922
11695
|
endTestChatRun(wid: string, runId: number): Promise<TestChatRunResponse>;
|
|
10923
11696
|
}
|
|
10924
11697
|
|
|
10925
|
-
|
|
10926
|
-
|
|
10927
|
-
|
|
10928
|
-
|
|
10929
|
-
|
|
10930
|
-
|
|
10931
|
-
|
|
10932
|
-
|
|
10933
|
-
|
|
10934
|
-
cached_tokens: number;
|
|
10935
|
-
audio_input_tokens: number;
|
|
10936
|
-
audio_output_tokens: number;
|
|
10937
|
-
average_tokens_per_message: number;
|
|
10938
|
-
credits: number;
|
|
10939
|
-
}
|
|
10940
|
-
interface ProviderUsageSummary {
|
|
10941
|
-
provider: string;
|
|
10942
|
-
total_messages: number;
|
|
10943
|
-
total_tokens: number;
|
|
10944
|
-
total_cached_tokens: number;
|
|
10945
|
-
total_audio_input_tokens: number;
|
|
10946
|
-
total_audio_output_tokens: number;
|
|
10947
|
-
total_credits: number;
|
|
10948
|
-
models: ModelUsageStats[];
|
|
10949
|
-
}
|
|
11698
|
+
/**
|
|
11699
|
+
* Generated by Orval (filtered by scripts/types-codegen/allowlist.txt and
|
|
11700
|
+
* grouped by scripts/types-codegen/group_generated.ts). Do not edit manually.
|
|
11701
|
+
* Group: reports
|
|
11702
|
+
*/
|
|
11703
|
+
|
|
11704
|
+
/**
|
|
11705
|
+
* Complete AI usage report for a workspace.
|
|
11706
|
+
*/
|
|
10950
11707
|
interface AIUsageReport {
|
|
10951
11708
|
workspace_id: string;
|
|
10952
11709
|
workspace_name: string;
|
|
@@ -10955,120 +11712,144 @@ interface AIUsageReport {
|
|
|
10955
11712
|
total_messages: number;
|
|
10956
11713
|
total_tokens: number;
|
|
10957
11714
|
total_cached_tokens: number;
|
|
10958
|
-
total_audio_input_tokens
|
|
10959
|
-
total_audio_output_tokens
|
|
11715
|
+
total_audio_input_tokens?: number;
|
|
11716
|
+
total_audio_output_tokens?: number;
|
|
10960
11717
|
total_credits: number;
|
|
10961
11718
|
by_provider: ProviderUsageSummary[];
|
|
10962
|
-
by_type: Record<
|
|
10963
|
-
messages: number;
|
|
10964
|
-
tokens: number;
|
|
10965
|
-
cached_tokens: number;
|
|
10966
|
-
credits: number;
|
|
10967
|
-
}>;
|
|
11719
|
+
by_type: Partial<Record<ModelType, AIUsageTypeSummary>>;
|
|
10968
11720
|
top_models: ModelUsageStats[];
|
|
10969
11721
|
}
|
|
10970
|
-
|
|
10971
|
-
|
|
10972
|
-
|
|
10973
|
-
|
|
10974
|
-
|
|
10975
|
-
|
|
10976
|
-
|
|
10977
|
-
|
|
10978
|
-
|
|
10979
|
-
|
|
10980
|
-
|
|
10981
|
-
|
|
10982
|
-
|
|
11722
|
+
/**
|
|
11723
|
+
* Per-type usage totals bucket in AIUsageReport.by_type.
|
|
11724
|
+
*
|
|
11725
|
+
* Mirrors the accumulator shape in ``usage_projectors._zero_bucket``.
|
|
11726
|
+
* Audio fields are always 0 for type buckets (audio is summed at the
|
|
11727
|
+
* provider/model level) but are kept so the wire shape is uniform with the
|
|
11728
|
+
* other bucket accumulators.
|
|
11729
|
+
*/
|
|
11730
|
+
interface AIUsageTypeSummary {
|
|
11731
|
+
messages: number;
|
|
11732
|
+
tokens: number;
|
|
11733
|
+
cached_tokens: number;
|
|
11734
|
+
audio_input_tokens?: number;
|
|
11735
|
+
audio_output_tokens?: number;
|
|
11736
|
+
credits: number;
|
|
10983
11737
|
}
|
|
10984
|
-
|
|
10985
|
-
|
|
10986
|
-
|
|
10987
|
-
|
|
11738
|
+
/**
|
|
11739
|
+
* Member AI usage summary for billing period.
|
|
11740
|
+
*/
|
|
11741
|
+
interface MemberUsageReport {
|
|
11742
|
+
memberId: number;
|
|
11743
|
+
periodStart: string;
|
|
11744
|
+
periodEnd: string;
|
|
11745
|
+
totalChats: number;
|
|
10988
11746
|
totalMessages: number;
|
|
10989
|
-
|
|
10990
|
-
outbound: number;
|
|
10991
|
-
totalChars: number;
|
|
10992
|
-
totalSegments: number;
|
|
11747
|
+
totalCredits: number;
|
|
10993
11748
|
}
|
|
10994
|
-
|
|
10995
|
-
|
|
10996
|
-
|
|
10997
|
-
|
|
10998
|
-
|
|
10999
|
-
|
|
11000
|
-
|
|
11749
|
+
/**
|
|
11750
|
+
* Usage statistics for a specific AI model.
|
|
11751
|
+
*
|
|
11752
|
+
* Note: model field accepts str instead of ModelId to support legacy
|
|
11753
|
+
* model IDs that may exist in the database (e.g., "gpt-4.1" without provider prefix).
|
|
11754
|
+
*/
|
|
11755
|
+
interface ModelUsageStats {
|
|
11756
|
+
model: string;
|
|
11757
|
+
provider: ModelProvider;
|
|
11758
|
+
type: ModelType;
|
|
11759
|
+
message_count: number;
|
|
11760
|
+
chat_summary_count: number;
|
|
11761
|
+
prompt_tokens: number;
|
|
11762
|
+
completion_tokens: number;
|
|
11763
|
+
total_tokens: number;
|
|
11764
|
+
cached_tokens: number;
|
|
11765
|
+
audio_input_tokens?: number;
|
|
11766
|
+
audio_output_tokens?: number;
|
|
11767
|
+
average_tokens_per_message: number;
|
|
11768
|
+
credits: number;
|
|
11001
11769
|
}
|
|
11002
|
-
|
|
11003
|
-
|
|
11770
|
+
/**
|
|
11771
|
+
* Complete phone usage report for a workspace.
|
|
11772
|
+
*/
|
|
11773
|
+
interface PhoneUsageReport {
|
|
11774
|
+
workspaceId: number;
|
|
11004
11775
|
workspaceUuid: string;
|
|
11005
11776
|
workspaceName: string;
|
|
11006
11777
|
reportPeriodStart: string;
|
|
11007
11778
|
reportPeriodEnd: string;
|
|
11008
|
-
|
|
11779
|
+
totalCalls: number;
|
|
11009
11780
|
totalInbound: number;
|
|
11010
11781
|
totalOutbound: number;
|
|
11011
|
-
|
|
11012
|
-
|
|
11013
|
-
rows: SMSUsageRow[];
|
|
11014
|
-
}
|
|
11015
|
-
interface SMSUsageReportParams {
|
|
11016
|
-
start_date?: string;
|
|
11017
|
-
end_date?: string;
|
|
11782
|
+
totalDurationSeconds: number;
|
|
11783
|
+
rows: PhoneUsageRow[];
|
|
11018
11784
|
}
|
|
11785
|
+
/**
|
|
11786
|
+
* Phone usage data for a specific phone number and date combination.
|
|
11787
|
+
*/
|
|
11019
11788
|
interface PhoneUsageRow {
|
|
11020
11789
|
date: string;
|
|
11021
11790
|
phoneNumberId: number;
|
|
11022
11791
|
phoneNumber: string;
|
|
11023
|
-
phoneName
|
|
11792
|
+
phoneName: string | null;
|
|
11024
11793
|
inbound: number;
|
|
11025
11794
|
outbound: number;
|
|
11026
11795
|
totalDurationSeconds: number;
|
|
11027
11796
|
}
|
|
11028
|
-
|
|
11029
|
-
|
|
11030
|
-
|
|
11031
|
-
|
|
11032
|
-
|
|
11033
|
-
|
|
11034
|
-
|
|
11035
|
-
|
|
11036
|
-
|
|
11037
|
-
|
|
11038
|
-
|
|
11039
|
-
|
|
11040
|
-
inbound: number;
|
|
11041
|
-
outbound: number;
|
|
11042
|
-
totalDurationSeconds: number;
|
|
11797
|
+
/**
|
|
11798
|
+
* Summary statistics for a provider.
|
|
11799
|
+
*/
|
|
11800
|
+
interface ProviderUsageSummary {
|
|
11801
|
+
provider: ModelProvider;
|
|
11802
|
+
total_messages: number;
|
|
11803
|
+
total_tokens: number;
|
|
11804
|
+
total_cached_tokens: number;
|
|
11805
|
+
total_audio_input_tokens?: number;
|
|
11806
|
+
total_audio_output_tokens?: number;
|
|
11807
|
+
total_credits: number;
|
|
11808
|
+
models: ModelUsageStats[];
|
|
11043
11809
|
}
|
|
11044
|
-
|
|
11045
|
-
|
|
11810
|
+
/**
|
|
11811
|
+
* Complete SMS usage report for a workspace.
|
|
11812
|
+
*/
|
|
11813
|
+
interface SMSUsageReport {
|
|
11814
|
+
workspaceId: number;
|
|
11046
11815
|
workspaceUuid: string;
|
|
11047
11816
|
workspaceName: string;
|
|
11048
11817
|
reportPeriodStart: string;
|
|
11049
11818
|
reportPeriodEnd: string;
|
|
11050
|
-
|
|
11819
|
+
totalMessages: number;
|
|
11051
11820
|
totalInbound: number;
|
|
11052
11821
|
totalOutbound: number;
|
|
11053
|
-
|
|
11054
|
-
|
|
11822
|
+
totalCharacters: number;
|
|
11823
|
+
totalSegments?: number;
|
|
11824
|
+
totalInboundSegments?: number;
|
|
11825
|
+
totalOutboundSegments?: number;
|
|
11826
|
+
rows: SMSUsageRow[];
|
|
11055
11827
|
}
|
|
11056
|
-
|
|
11057
|
-
|
|
11058
|
-
|
|
11828
|
+
/**
|
|
11829
|
+
* SMS usage data for a specific phone number and date combination.
|
|
11830
|
+
*/
|
|
11831
|
+
interface SMSUsageRow {
|
|
11832
|
+
date: string;
|
|
11833
|
+
phoneNumberId: number;
|
|
11834
|
+
phoneNumber: string;
|
|
11835
|
+
phoneName: string | null;
|
|
11836
|
+
inbound: number;
|
|
11837
|
+
outbound: number;
|
|
11838
|
+
totalChars: number;
|
|
11839
|
+
totalSegments?: number;
|
|
11059
11840
|
}
|
|
11060
|
-
|
|
11061
|
-
|
|
11062
|
-
|
|
11063
|
-
|
|
11064
|
-
|
|
11841
|
+
/**
|
|
11842
|
+
* Summary statistics for an STT provider.
|
|
11843
|
+
*/
|
|
11844
|
+
interface STTProviderSummary {
|
|
11845
|
+
provider: string;
|
|
11846
|
+
model: string;
|
|
11847
|
+
totalDurationSeconds: number;
|
|
11065
11848
|
totalMessages: number;
|
|
11066
|
-
totalCredits: number;
|
|
11067
|
-
}
|
|
11068
|
-
interface MemberUsageReportParams {
|
|
11069
|
-
start_date?: string;
|
|
11070
|
-
end_date?: string;
|
|
11071
11849
|
}
|
|
11850
|
+
/**
|
|
11851
|
+
* STT usage for a specific date and provider/model combination.
|
|
11852
|
+
*/
|
|
11072
11853
|
interface STTUsageRow {
|
|
11073
11854
|
date: string;
|
|
11074
11855
|
provider: string;
|
|
@@ -11076,25 +11857,28 @@ interface STTUsageRow {
|
|
|
11076
11857
|
messageCount: number;
|
|
11077
11858
|
totalDurationSeconds: number;
|
|
11078
11859
|
}
|
|
11079
|
-
|
|
11080
|
-
|
|
11860
|
+
/**
|
|
11861
|
+
* Summary statistics for a TTS provider.
|
|
11862
|
+
*/
|
|
11863
|
+
interface TTSProviderSummary {
|
|
11081
11864
|
provider: string;
|
|
11082
11865
|
model: string;
|
|
11083
|
-
messageCount: number;
|
|
11084
11866
|
totalCharacters: number;
|
|
11085
|
-
}
|
|
11086
|
-
interface STTProviderSummary {
|
|
11087
|
-
provider: string;
|
|
11088
|
-
model: string;
|
|
11089
|
-
totalDurationSeconds: number;
|
|
11090
11867
|
totalMessages: number;
|
|
11091
11868
|
}
|
|
11092
|
-
|
|
11869
|
+
/**
|
|
11870
|
+
* TTS usage for a specific date and provider/model combination.
|
|
11871
|
+
*/
|
|
11872
|
+
interface TTSUsageRow {
|
|
11873
|
+
date: string;
|
|
11093
11874
|
provider: string;
|
|
11094
11875
|
model: string;
|
|
11876
|
+
messageCount: number;
|
|
11095
11877
|
totalCharacters: number;
|
|
11096
|
-
totalMessages: number;
|
|
11097
11878
|
}
|
|
11879
|
+
/**
|
|
11880
|
+
* Complete voice usage report for a workspace.
|
|
11881
|
+
*/
|
|
11098
11882
|
interface VoiceUsageReport {
|
|
11099
11883
|
workspaceId: string;
|
|
11100
11884
|
workspaceUuid: string;
|
|
@@ -11110,10 +11894,65 @@ interface VoiceUsageReport {
|
|
|
11110
11894
|
sttRows: STTUsageRow[];
|
|
11111
11895
|
ttsRows: TTSUsageRow[];
|
|
11112
11896
|
}
|
|
11897
|
+
|
|
11898
|
+
interface AIUsageReportParams {
|
|
11899
|
+
start_date?: string;
|
|
11900
|
+
end_date?: string;
|
|
11901
|
+
}
|
|
11902
|
+
interface SMSUsageReportParams {
|
|
11903
|
+
start_date?: string;
|
|
11904
|
+
end_date?: string;
|
|
11905
|
+
}
|
|
11906
|
+
interface PhoneUsageReportParams {
|
|
11907
|
+
start_date?: string;
|
|
11908
|
+
end_date?: string;
|
|
11909
|
+
}
|
|
11910
|
+
interface MemberUsageReportParams {
|
|
11911
|
+
start_date?: string;
|
|
11912
|
+
end_date?: string;
|
|
11913
|
+
}
|
|
11113
11914
|
interface VoiceUsageReportParams {
|
|
11114
11915
|
start_date?: string;
|
|
11115
11916
|
end_date?: string;
|
|
11116
11917
|
}
|
|
11918
|
+
/** Frontend aggregation of SMSUsageRow entries by phone number. */
|
|
11919
|
+
interface PhoneAggregatedData {
|
|
11920
|
+
phoneNumberId: number;
|
|
11921
|
+
phoneNumber: string;
|
|
11922
|
+
phoneName: string | null;
|
|
11923
|
+
totalMessages: number;
|
|
11924
|
+
inbound: number;
|
|
11925
|
+
outbound: number;
|
|
11926
|
+
totalChars: number;
|
|
11927
|
+
totalSegments: number;
|
|
11928
|
+
}
|
|
11929
|
+
/** Frontend aggregation of SMSUsageRow entries by day. */
|
|
11930
|
+
interface DayAggregatedData {
|
|
11931
|
+
date: string;
|
|
11932
|
+
totalMessages: number;
|
|
11933
|
+
inbound: number;
|
|
11934
|
+
outbound: number;
|
|
11935
|
+
totalChars: number;
|
|
11936
|
+
totalSegments: number;
|
|
11937
|
+
}
|
|
11938
|
+
/** Frontend aggregation of PhoneUsageRow entries by phone number. */
|
|
11939
|
+
interface PhoneCallAggregatedData {
|
|
11940
|
+
phoneNumberId: number;
|
|
11941
|
+
phoneNumber: string;
|
|
11942
|
+
phoneName: string | null;
|
|
11943
|
+
totalCalls: number;
|
|
11944
|
+
inbound: number;
|
|
11945
|
+
outbound: number;
|
|
11946
|
+
totalDurationSeconds: number;
|
|
11947
|
+
}
|
|
11948
|
+
/** Frontend aggregation of PhoneUsageRow entries by day. */
|
|
11949
|
+
interface DayCallAggregatedData {
|
|
11950
|
+
date: string;
|
|
11951
|
+
totalCalls: number;
|
|
11952
|
+
inbound: number;
|
|
11953
|
+
outbound: number;
|
|
11954
|
+
totalDurationSeconds: number;
|
|
11955
|
+
}
|
|
11117
11956
|
declare class ReportsApi extends BaseApiClient {
|
|
11118
11957
|
/** Get AI model usage report for a workspace within an optional date range. */
|
|
11119
11958
|
getAIUsageReport(wid: string, params?: AIUsageReportParams): Promise<AIUsageReport>;
|
|
@@ -11433,6 +12272,60 @@ declare class SitesApi extends BaseApiClient {
|
|
|
11433
12272
|
}>;
|
|
11434
12273
|
/** Get a single site by ID. */
|
|
11435
12274
|
getSite(wid: string, id: number): Promise<Site>;
|
|
12275
|
+
/** Get a site's sharing settings. */
|
|
12276
|
+
getSiteSharing(wid: string, siteId: number): Promise<SiteSharingResponse>;
|
|
12277
|
+
/** Update a site's sharing settings. */
|
|
12278
|
+
updateSiteSharing(wid: string, siteId: number, data: UpdateFileSharingRequest): Promise<SiteSharingResponse>;
|
|
12279
|
+
/** Get a site's source tree. */
|
|
12280
|
+
getSiteSource(wid: string, siteId: number): Promise<SiteSource>;
|
|
12281
|
+
/** Starter templates the caller may seed (superuser-only ones filtered server-side). */
|
|
12282
|
+
getSiteSourceTemplates(wid: string, siteId: number): Promise<SiteSourceTemplates>;
|
|
12283
|
+
/** Create a site's source tree with starter files if it does not exist. */
|
|
12284
|
+
createSiteSource(wid: string, siteId: number): Promise<SiteSource>;
|
|
12285
|
+
/** Build a site's source without publishing. */
|
|
12286
|
+
buildSiteSource(wid: string, siteId: number): Promise<SiteSourcePublishResponse>;
|
|
12287
|
+
/**
|
|
12288
|
+
* Build and publish a site's source. Optionally label the published version
|
|
12289
|
+
* with a `name` and `note`; both default to null (the UI then shows
|
|
12290
|
+
* "Version {version}").
|
|
12291
|
+
*/
|
|
12292
|
+
publishSiteSource(wid: string, siteId: number, options?: {
|
|
12293
|
+
name?: string | null;
|
|
12294
|
+
note?: string | null;
|
|
12295
|
+
}): Promise<SiteSourcePublishResponse>;
|
|
12296
|
+
/**
|
|
12297
|
+
* Reset a site's source files: load a starter template and/or wipe existing
|
|
12298
|
+
* files. `template` selects which starter to seed when `loadDefaults` is set
|
|
12299
|
+
* (defaults to "hello-world"; "patient-enrollment" is the other built-in).
|
|
12300
|
+
*/
|
|
12301
|
+
resetSiteSource(wid: string, siteId: number, options: {
|
|
12302
|
+
loadDefaults: boolean;
|
|
12303
|
+
deleteExisting: boolean;
|
|
12304
|
+
template?: string;
|
|
12305
|
+
}): Promise<SiteSource>;
|
|
12306
|
+
/**
|
|
12307
|
+
* Re-point the published release to a prior version from the history. A pure
|
|
12308
|
+
* pointer move (no rebuild); the other versions stay in the history.
|
|
12309
|
+
*/
|
|
12310
|
+
rollbackSiteSource(wid: string, siteId: number, releaseUuid: string): Promise<SiteSource>;
|
|
12311
|
+
/**
|
|
12312
|
+
* Export the site's source tree as a ZIP archive (editor-gated server-side).
|
|
12313
|
+
* Returns the raw archive bytes for the caller to save.
|
|
12314
|
+
*/
|
|
12315
|
+
downloadSiteSourceZip(wid: string, siteId: number): Promise<Blob>;
|
|
12316
|
+
/**
|
|
12317
|
+
* Replace the site's source tree with the contents of an uploaded ZIP
|
|
12318
|
+
* (clears the existing source first, like a reset that loads a template).
|
|
12319
|
+
*/
|
|
12320
|
+
importSiteSourceZip(wid: string, siteId: number, file: Blob): Promise<SiteSource>;
|
|
12321
|
+
/**
|
|
12322
|
+
* Get a theme's settings schema, the site's saved values, and capabilities.
|
|
12323
|
+
* Pass `theme` to resolve the schema for a theme other than the saved one
|
|
12324
|
+
* (e.g. one the builder has selected but not yet saved).
|
|
12325
|
+
*/
|
|
12326
|
+
getThemeSettings(wid: string, siteId: number, theme?: string): Promise<ThemeSettingsResponse>;
|
|
12327
|
+
/** Save values for the active theme's settings (validated against the schema). */
|
|
12328
|
+
updateThemeSettings(wid: string, siteId: number, values: Record<string, unknown>): Promise<ThemeSettingsResponse>;
|
|
11436
12329
|
/** Get a single site by UUID. */
|
|
11437
12330
|
getSiteByUuid(wid: string, uuid: string): Promise<Site>;
|
|
11438
12331
|
/** Get a fully rendered page from a site by slug or ID. */
|
|
@@ -11502,6 +12395,21 @@ declare class SitesApi extends BaseApiClient {
|
|
|
11502
12395
|
declare class SubscriptionsApi extends BaseApiClient {
|
|
11503
12396
|
/** List all subscriptions for the current account. */
|
|
11504
12397
|
getSubscriptions(): Promise<Subscription[]>;
|
|
12398
|
+
/**
|
|
12399
|
+
* Create a Stripe Checkout session to purchase an organization plan.
|
|
12400
|
+
* Returns the checkout URL to open in a browser. The organization, billing
|
|
12401
|
+
* customer, and subscription are created on payment by the checkout
|
|
12402
|
+
* completion handler.
|
|
12403
|
+
*/
|
|
12404
|
+
createCheckoutSession(productId: number, planPeriod?: string): Promise<{
|
|
12405
|
+
checkoutUrl: string;
|
|
12406
|
+
sessionId: string;
|
|
12407
|
+
}>;
|
|
12408
|
+
/**
|
|
12409
|
+
* List self-service, purchasable plans (org or workspace). Only plans with a
|
|
12410
|
+
* paid Stripe price are returned. No auth required.
|
|
12411
|
+
*/
|
|
12412
|
+
listSelfServeProducts(productType?: 'org' | 'workspace'): Promise<Product[]>;
|
|
11505
12413
|
/** List all subscriptions associated with a workspace. */
|
|
11506
12414
|
getWorkspaceSubscriptions(wid: string): Promise<Subscription[]>;
|
|
11507
12415
|
/** Cancel an active subscription. */
|
|
@@ -11534,6 +12442,8 @@ declare class SubscriptionsApi extends BaseApiClient {
|
|
|
11534
12442
|
subscriptionId: number;
|
|
11535
12443
|
workspaceId: number;
|
|
11536
12444
|
}>;
|
|
12445
|
+
/** List line items for a subscription. */
|
|
12446
|
+
getSubscriptionItems(subscriptionId: number): Promise<SubscriptionItemResponse[]>;
|
|
11537
12447
|
/** Purchase extra credits on a subscription (org-level). */
|
|
11538
12448
|
purchaseCredits(subscriptionId: number, amountCents: number): Promise<{
|
|
11539
12449
|
success: boolean;
|
|
@@ -11549,16 +12459,6 @@ declare class SubscriptionsApi extends BaseApiClient {
|
|
|
11549
12459
|
* grouped by scripts/types-codegen/group_generated.ts). Do not edit manually.
|
|
11550
12460
|
* Group: support_request
|
|
11551
12461
|
*/
|
|
11552
|
-
/**
|
|
11553
|
-
* Paginated support request list.
|
|
11554
|
-
*/
|
|
11555
|
-
interface SupportRequestListResponse$1 {
|
|
11556
|
-
items: SupportRequestResponse$1[];
|
|
11557
|
-
total: number;
|
|
11558
|
-
page: number;
|
|
11559
|
-
pageSize: number;
|
|
11560
|
-
totalPages: number;
|
|
11561
|
-
}
|
|
11562
12462
|
/**
|
|
11563
12463
|
* A resource attached to a support request (Proactive Support).
|
|
11564
12464
|
*
|
|
@@ -11607,6 +12507,8 @@ interface SupportRequestResponse$1 {
|
|
|
11607
12507
|
resources?: SupportRequestResourceResponse[];
|
|
11608
12508
|
organizationId?: number | null;
|
|
11609
12509
|
workspaceId?: number | null;
|
|
12510
|
+
organizationUuid?: string | null;
|
|
12511
|
+
workspaceUuid?: string | null;
|
|
11610
12512
|
createdByAccountId?: number | null;
|
|
11611
12513
|
createdByOrgAccountId?: number | null;
|
|
11612
12514
|
createdByWorkspaceMembershipId?: number | null;
|
|
@@ -11616,6 +12518,8 @@ interface SupportRequestResponse$1 {
|
|
|
11616
12518
|
createdAt: string;
|
|
11617
12519
|
updatedAt: string;
|
|
11618
12520
|
updates?: SupportRequestUpdateResponse[];
|
|
12521
|
+
replyCount?: number;
|
|
12522
|
+
customerWaiting?: boolean;
|
|
11619
12523
|
}
|
|
11620
12524
|
type SupportRequestResponseContextPayload = {
|
|
11621
12525
|
[key: string]: unknown;
|
|
@@ -11641,7 +12545,7 @@ interface SupportRequestUpdateResponse {
|
|
|
11641
12545
|
}
|
|
11642
12546
|
|
|
11643
12547
|
type SupportRequestType = 'bug' | 'feature_request' | 'question' | 'recommendation' | 'suggestion' | 'general' | 'reminder';
|
|
11644
|
-
type SupportRequestSource = 'workspace_manager' | 'app' | 'admin' | 'triage' | 'concierge';
|
|
12548
|
+
type SupportRequestSource = 'workspace_manager' | 'app' | 'admin' | 'cli' | 'triage' | 'concierge';
|
|
11645
12549
|
type SupportRequestDirection = 'inbound' | 'outbound';
|
|
11646
12550
|
type SupportRequestStatus = 'new' | 'triaged' | 'in_progress' | 'waiting_on_customer' | 'resolved' | 'closed';
|
|
11647
12551
|
type SupportRequestSeverity = 'critical' | 'high' | 'medium' | 'low';
|
|
@@ -11658,9 +12562,6 @@ type SupportRequest = Omit<SupportRequestResponse$1, 'status' | 'supportRequestT
|
|
|
11658
12562
|
updates: SupportRequestUpdateResponse[];
|
|
11659
12563
|
};
|
|
11660
12564
|
type SupportRequestResponse = SupportRequest;
|
|
11661
|
-
type SupportRequestListResponse = Omit<SupportRequestListResponse$1, 'items'> & {
|
|
11662
|
-
items: SupportRequest[];
|
|
11663
|
-
};
|
|
11664
12565
|
/** Context submitted by the originating client at ticket-creation time. */
|
|
11665
12566
|
interface SupportRequestClientContext {
|
|
11666
12567
|
organizationUuid?: string | null;
|
|
@@ -11712,6 +12613,9 @@ interface CreateSupportRequestCommentRequest {
|
|
|
11712
12613
|
interface CloseSupportRequestRequest {
|
|
11713
12614
|
reason?: string | null;
|
|
11714
12615
|
}
|
|
12616
|
+
interface ReopenSupportRequestRequest {
|
|
12617
|
+
reason?: string | null;
|
|
12618
|
+
}
|
|
11715
12619
|
interface CreateSupportRequestNoteRequest {
|
|
11716
12620
|
body: string;
|
|
11717
12621
|
}
|
|
@@ -11722,6 +12626,7 @@ interface UpdateSupportRequestAttributesRequest {
|
|
|
11722
12626
|
supportRequestType?: SupportRequestType | null;
|
|
11723
12627
|
severity?: SupportRequestSeverity | null;
|
|
11724
12628
|
}
|
|
12629
|
+
type SupportRequestSubmitterScope = 'global' | 'org';
|
|
11725
12630
|
interface SupportRequestListParams {
|
|
11726
12631
|
page?: number;
|
|
11727
12632
|
pageSize?: number;
|
|
@@ -11732,6 +12637,7 @@ interface SupportRequestListParams {
|
|
|
11732
12637
|
organizationId?: number;
|
|
11733
12638
|
workspaceId?: number;
|
|
11734
12639
|
linearLinked?: boolean;
|
|
12640
|
+
submitterScope?: SupportRequestSubmitterScope;
|
|
11735
12641
|
}
|
|
11736
12642
|
/** An inline resource attached when composing an outbound request. */
|
|
11737
12643
|
interface OutboundResourceInput {
|
|
@@ -11772,19 +12678,24 @@ interface RecordResourceClickRequest {
|
|
|
11772
12678
|
}
|
|
11773
12679
|
|
|
11774
12680
|
declare class SupportRequestsApi extends BaseApiClient {
|
|
11775
|
-
listSupportRequests(params?: SupportRequestListParams): Promise<
|
|
12681
|
+
listSupportRequests(params?: SupportRequestListParams): Promise<PaginatedResponse<SupportRequest>>;
|
|
11776
12682
|
getSupportRequest(uuid: string): Promise<SupportRequest>;
|
|
11777
12683
|
createSupportRequest(data: CreateSupportRequestRequest): Promise<SupportRequest>;
|
|
11778
12684
|
commentOnSupportRequest(uuid: string, data: CreateSupportRequestCommentRequest): Promise<SupportRequest>;
|
|
11779
|
-
listOrgSupportRequests(orgUuid: string, params?: SupportRequestListParams): Promise<
|
|
12685
|
+
listOrgSupportRequests(orgUuid: string, params?: SupportRequestListParams): Promise<PaginatedResponse<SupportRequest>>;
|
|
11780
12686
|
getOrgSupportRequest(orgUuid: string, uuid: string): Promise<SupportRequest>;
|
|
11781
12687
|
createOrgSupportRequest(orgUuid: string, data: CreateSupportRequestRequest): Promise<SupportRequest>;
|
|
11782
12688
|
commentOnOrgSupportRequest(orgUuid: string, uuid: string, data: CreateSupportRequestCommentRequest): Promise<SupportRequest>;
|
|
11783
|
-
listWorkspaceSupportRequests(workspaceUuid: string, params?: SupportRequestListParams): Promise<
|
|
12689
|
+
listWorkspaceSupportRequests(workspaceUuid: string, params?: SupportRequestListParams): Promise<PaginatedResponse<SupportRequest>>;
|
|
11784
12690
|
getWorkspaceSupportRequest(workspaceUuid: string, uuid: string): Promise<SupportRequest>;
|
|
11785
12691
|
createWorkspaceSupportRequest(workspaceUuid: string, data: CreateSupportRequestRequest): Promise<SupportRequest>;
|
|
11786
12692
|
commentOnWorkspaceSupportRequest(workspaceUuid: string, uuid: string, data: CreateSupportRequestCommentRequest): Promise<SupportRequest>;
|
|
11787
12693
|
closeWorkspaceSupportRequest(workspaceUuid: string, uuid: string, data?: CloseSupportRequestRequest): Promise<SupportRequest>;
|
|
12694
|
+
/**
|
|
12695
|
+
* Reopen a resolved support request (e.g. staff resolved it prematurely).
|
|
12696
|
+
* The server rejects requests that are not in the `resolved` state.
|
|
12697
|
+
*/
|
|
12698
|
+
reopenWorkspaceSupportRequest(workspaceUuid: string, uuid: string, data?: ReopenSupportRequestRequest): Promise<SupportRequest>;
|
|
11788
12699
|
/**
|
|
11789
12700
|
* Record a click on a pushed resource (Proactive Support). For a
|
|
11790
12701
|
* manager_prompt, pass the Manager Chat UUID it opened so the
|
|
@@ -11895,6 +12806,8 @@ declare class TasksApi extends BaseApiClient {
|
|
|
11895
12806
|
getTasks(wid: string, options?: {
|
|
11896
12807
|
includeArchived?: boolean;
|
|
11897
12808
|
workflowId?: number;
|
|
12809
|
+
sortBy?: 'name' | 'createdAt' | 'workflowId';
|
|
12810
|
+
sortOrder?: 'asc' | 'desc';
|
|
11898
12811
|
}): Promise<Task[]>;
|
|
11899
12812
|
/** Get a single task by ID. */
|
|
11900
12813
|
getTask(wid: string, id: number | string): Promise<Task>;
|
|
@@ -12241,10 +13154,21 @@ declare class WorkflowsApi extends BaseApiClient {
|
|
|
12241
13154
|
getWorkflowsActivityBatch(wid: string, workflowIds: number[], options?: {
|
|
12242
13155
|
days?: number;
|
|
12243
13156
|
}): Promise<Record<string, WorkflowActivity>>;
|
|
12244
|
-
/**
|
|
12245
|
-
|
|
13157
|
+
/**
|
|
13158
|
+
* Get the Mermaid diagram representation of a workflow.
|
|
13159
|
+
*
|
|
13160
|
+
* By default only active tasks are rendered. Pass `includeArchived: true`
|
|
13161
|
+
* to also render archived tasks (distinctly styled). `taskCount` is always
|
|
13162
|
+
* the total (active + archived); `archivedTaskCount` breaks out the archived
|
|
13163
|
+
* portion so the active count can be derived.
|
|
13164
|
+
*/
|
|
13165
|
+
getWorkflowDiagram(wid: string, id: number, options?: {
|
|
13166
|
+
includeArchived?: boolean;
|
|
13167
|
+
}): Promise<{
|
|
12246
13168
|
mermaid: string;
|
|
12247
13169
|
taskCount: number;
|
|
13170
|
+
archivedTaskCount: number;
|
|
13171
|
+
includeArchived: boolean;
|
|
12248
13172
|
}>;
|
|
12249
13173
|
/**
|
|
12250
13174
|
* Get workflow thumbnail URL.
|
|
@@ -13101,6 +14025,7 @@ interface ApiModules {
|
|
|
13101
14025
|
events: EventsApi;
|
|
13102
14026
|
experiments: ExperimentsApi;
|
|
13103
14027
|
fhirConnections: FhirConnectionsApi;
|
|
14028
|
+
patientSyncConnections: PatientSyncConnectionsApi;
|
|
13104
14029
|
healthie: HealthieApi;
|
|
13105
14030
|
hubspot: HubspotApi;
|
|
13106
14031
|
features: FeaturesApi;
|
|
@@ -13123,6 +14048,7 @@ interface ApiModules {
|
|
|
13123
14048
|
pronunciations: PronunciationsApi;
|
|
13124
14049
|
qualifications: QualificationsApi;
|
|
13125
14050
|
personas: PersonasApi;
|
|
14051
|
+
queries: QueriesApi;
|
|
13126
14052
|
reports: ReportsApi;
|
|
13127
14053
|
salesforce: SalesforceApi;
|
|
13128
14054
|
sites: SitesApi;
|
|
@@ -13141,7 +14067,7 @@ interface ApiModules {
|
|
|
13141
14067
|
}
|
|
13142
14068
|
declare function createApiModules(apiKey: string | undefined, baseUrl: string, customFetch?: typeof fetch): ApiModules;
|
|
13143
14069
|
|
|
13144
|
-
declare const WORKSPACE_METHOD_NAMES: readonly ["activateWorkflowVersion", "addGroupMember", "advanceStep", "approveWorkspaceInvitation", "archiveAgent", "archiveChat", "archiveDataType", "archiveJourney", "archiveMember", "archivePhoneNumber", "archiveStep", "archiveTask", "archiveWorkflow", "authorizeMondayConnection", "autoCreateDataTypeFromBoard", "blockWorkspaceInvitation", "bookHealthieAppointment", "buildWorkspace", "bulkLinkMembersToHubspot", "bulkLinkMembersToMonday", "bulkLinkMembersToSalesforce", "cancelAgentTask", "cancelAssignment", "cancelCalendarEvent", "cancelCredentialUpdateInvite", "checkAvailability", "checkSiteDomainAvailability", "checkSiteSlugAvailability", "clearConnectionMemberExclusion", "clearMemberSwitch", "clickWorkspaceSupportRequestResource", "cloneDataType", "cloneTask", "cloneWorkflow", "closeWorkspaceSupportRequest", "commentOnWorkspaceSupportRequest", "configureConfluence", "configureHealthie", "configureHubspot", "configureMondayConnection", "configureSalesforce", "convertEmail", "convertFile", "crawlSite", "createAccessGrant", "createAgent", "createApiKey", "createAssignment", "createCalendar", "createCalendarEvent", "createCalendarSchedule", "createChat", "createChatCompletion", "createChatFilter", "createChatLabel", "createClientWorkspace", "createConnection", "createCustomTool", "createCustomToolkit", "createDataRecord", "createDataType", "createDiscordBot", "createEventRule", "createEventType", "createExperiment", "createExperimentAssignment", "createExperimentGroup", "createFhirConnection", "createFile", "createFileLabel", "createFolder", "createGoal", "createInbox", "createJourney", "createJourneyNote", "createMcpServer", "createMemberField", "createMemberFilter", "createMemberLabel", "createMemberMemory", "createMemberRole", "createMenuItem", "createMilestone", "createNotificationRule", "createOperatorGroup", "createPage", "createPersona", "createPhoneNumber", "createProduct", "createRoutine", "createScenario", "createSignup", "createSite", "createSlackApp", "createSnippet", "createStep", "createSupervisor", "createTask", "createTeamsApp", "createWorkflow", "createWorkflowContributor", "createWorkflowFromTemplate", "createWorkflowNote", "createWorkflowOutboundVoiceChat", "createWorkspaceMember", "createWorkspaceSupportRequest", "deactivateWorkflowVersion", "deleteAgent", "deleteAssignment", "deleteCalendar", "deleteCalendarEvent", "deleteCalendarSchedule", "deleteChat", "deleteChatFilter", "deleteChatLabel", "deleteClientWorkspace", "deleteConfluence", "deleteConnection", "deleteCustomTool", "deleteCustomToolkit", "deleteDataRecord", "deleteDataType", "deleteDiscordBot", "deleteEnrollment", "deleteEventRule", "deleteEventType", "deleteExperiment", "deleteExperimentAssignment", "deleteExperimentGroup", "deleteFhirConnection", "deleteFile", "deleteFileLabel", "deleteFolder", "deleteGoal", "deleteHubspot", "deleteInbox", "deleteJourneyNote", "deleteMcpServer", "deleteMember", "deleteMemberField", "deleteMemberFilter", "deleteMemberLabel", "deleteMemberMemory", "deleteMemberRole", "deleteMenuItem", "deleteMilestone", "deleteMondayConnection", "deleteNotificationRule", "deleteOperatorGroup", "deletePage", "deletePersona", "deletePlatformApp", "deleteProduct", "deleteRoutine", "deleteSalesforce", "deleteScenario", "deleteSite", "deleteSlackApp", "deleteSnippet", "deleteSupervisor", "deleteTask", "deleteTeamsApp", "deleteWorkflow", "deleteWorkflowContributor", "deleteWorkflowNote", "deleteWorkspace", "deleteWorkspaceInvitationAdmin", "denyWorkspaceInvitation", "describeSalesforceObject", "diffWorkflowVersions", "disableConfluence", "disableCustomToolkit", "disableHubspot", "disableMcpServer", "disableMondayConnection", "disableSalesforce", "disconnectConfluence", "disconnectHubspot", "disconnectMondayConnection", "disconnectPresence", "disconnectSalesforce", "discoverOAuthMetadata", "dismissAllNotifications", "dismissNotification", "downloadEmailAttachment", "enableConfluence", "enableCustomToolkit", "enableHubspot", "enableMcpServer", "enableMondayConnection", "enablePlatformApp", "enableSalesforce", "endTestChatRun", "enrollMembers", "evaluateTestChatRun", "executeAssignmentTool", "expireAnonymousMember", "exportChat", "exportChats", "exportMembers", "exportWorkspace", "fetchVoicemailAudio", "fhirBackfillEncounterSync", "fhirCreateEncounter", "fhirCsvImportApply", "fhirCsvImportInspect", "fhirFetchCareTeam", "fhirFetchEncounters", "fhirGetCsvImportRunItems", "fhirGetCsvImportRuns", "fhirGetCsvImportSettings", "fhirGetEncounterSyncRuns", "fhirGetEncounterSyncStatus", "fhirImportPatient", "fhirLinkMember", "fhirListLinkedMembers", "fhirRefreshEncounterPatient", "fhirRunEncounterSync", "fhirSearchLocations", "fhirSearchPatients", "fhirSearchPractitioners", "fhirSyncMember", "fhirUnlinkMember", "fhirUpdateCsvImportSettings", "fhirUpdateEncounterSync", "findOrCreateDMChat", "generateFileUploadUrl", "generateICalToken", "generateSiteMediaUploadUrl", "getAIUsageReport", "getAbilityTypes", "getAccessGrant", "getAccessGrants", "getAgent", "getAgentTask", "getAgentTaskMessages", "getAgentTasks", "getAgents", "getAnonymousResolution", "getAnonymousResolutions", "getApiKeys", "getArchiveBlockers", "getAssignment", "getAssignmentCelContext", "getAssignmentMessages", "getAssignmentTask", "getAssignmentTaskDetail", "getAssignmentTools", "getAssignments", "getAvailableActions", "getAvailablePhoneNumbers", "getAvailableSlots", "getBoardColumns", "getBoardGroups", "getBoards", "getBusinessHoursStatus", "getCalendar", "getCalendarEvent", "getCalendarEvents", "getCalendarSchedules", "getCalendars", "getCelContext", "getChat", "getChatAssignmentTasks", "getChatEmails", "getChatFilter", "getChatFilterByUuid", "getChatFilterCount", "getChatFilters", "getChatLabel", "getChatLabelByUuid", "getChatLabels", "getChatMessages", "getChatPhoneCalls", "getChatSkills", "getChatTodos", "getChatTokenUsage", "getChatToolCallMessages", "getChatTools", "getChats", "getChatsDailyCreationStats", "getChatsNeedsResponse", "getClientWorkspace", "getConfluenceStatus", "getConnectionSyncCapabilities", "getConnectionSyncCheckpoint", "getConnectionSyncConfig", "getCredentialUpdateInvites", "getCurrentMember", "getCurrentUserInfo", "getCustomToolkit", "getCustomToolkits", "getDataRecord", "getDataRecordChanges", "getDataRecords", "getDataType", "getDataTypeByUuid", "getDataTypeBySlug", "getDataTypes", "getDiscordBot", "getDiscordBotAccounts", "getDiscordBotByUuid", "getDiscordBots", "getDiscordGuilds", "getDiscordThreads", "getEventRule", "getEventRules", "getEventType", "getEventTypes", "getExperiment", "getExperimentStats", "getExperiments", "getFhirConnection", "getFhirConnectionByUuid", "getFhirConnections", "getFieldIndexStatus", "getFile", "getFileLabel", "getFileLabelByUuid", "getFileLabels", "getFileSharing", "getFiles", "getFirstRunState", "getFolder", "getFolderSharing", "getFolders", "getGoogleCalendarStatus", "getHealthieAvailableSlots", "getHealthieReconciliationMatches", "getHealthieStatus", "getHubspotContactProperties", "getHubspotManagedRules", "getHubspotReconciliationMatches", "getHubspotStatus", "getHubspotSyncLogs", "getHubspotTransformPresets", "getICalFeedUrl", "getInbox", "getInboxEmail", "getInboxEmails", "getInboxThreads", "getInboxes", "getJourney", "getJourneyHealth", "getJourneyMembers", "getJourneyNotes", "getJourneys", "getLinkablePhones", "getLinkedHealthieMembers", "getLinkedHubspotMembers", "getLinkedMondayMembers", "getLinkedRecords", "getLinkedSalesforceMembers", "getLiveOperators", "getMcpServer", "getMcpServerPrompts", "getMcpServerResources", "getMcpServerTools", "getMcpServers", "getMemberExperiments", "getMemberFieldDefinitions", "getMemberFields", "getMemberFilter", "getMemberFilterCount", "getMemberFilters", "getMemberGrants", "getMemberJourneys", "getMemberLabel", "getMemberLabelByUuid", "getMemberLabels", "getMemberMemories", "getMemberRecordCounts", "getMemberRole", "getMemberRoleByUuid", "getMemberRoles", "getMemberSyncSummary", "getMemberUsage", "getMembersMessageActivity", "getMenuItems", "getMessageTiming", "getMilestone", "getMilestones", "getMondayConnectionBoardColumns", "getMondayConnectionBoardGroups", "getMondayConnectionBoards", "getMondayConnectionStatus", "getMondayReconciliationMatches", "getMondaySyncConfig", "getMyCredentials", "getMyGivenGrants", "getMyReceivedGrants", "getNotification", "getNotificationRules", "getNotifications", "getOperatorChatMessages", "getOperatorGroup", "getOperatorGroups", "getOrCreateQualificationForWorkflow", "getOwnedMembers", "getPage", "getPageBySlug", "getPersona", "getPhoneCalls", "getPhoneNumber", "getPhoneNumberCalls", "getPhoneNumberMessages", "getPhoneNumberVoicemails", "getPhoneNumbers", "getPhoneUsageReport", "getPlatformApp", "getPresenceStatus", "getProducts", "getPublicFile", "getPublicFolder", "getPublicFolderFiles", "getPublicProducts", "getQualification", "getQualifications", "getResellerWorkspaces", "getRoutine", "getRoutineRuns", "getRoutines", "getRuleExecutions", "getSMSUsageReport", "getSalesforceReconciliationMatches", "getSalesforceStatus", "getSalesforceSyncConfig", "getScenario", "getSite", "getSiteByUuid", "getSiteCounts", "getSiteMenu", "getSitePages", "getSiteRenderedMenu", "getSiteRenderedPage", "getSites", "getSlackApp", "getSlackAppAccounts", "getSlackApps", "getSlackInstallations", "getSlackThreads", "getSnippet", "getStepMemberCounts", "getStepMembers", "getSupervisor", "getSupervisors", "getSyncRunItems", "getSyncRuns", "getTask", "getTaskChats", "getTasks", "getTeamsApp", "getTeamsAppAccounts", "getTeamsApps", "getTeamsConversations", "getTeamsInstallations", "getTemplateContext", "getTestChatRun", "getThreadEmails", "getTool", "getToolCallNames", "getToolkits", "getUnreadNotificationCount", "getUsageDashboard", "getVariableRegistry", "getVoiceToken", "getVoiceUsageReport", "getWebhookLogs", "getWorkflow", "getWorkflowAccessValidation", "getWorkflowActivity", "getWorkflowConfigValidation", "getWorkflowContributors", "getWorkflowDeletionPreview", "getWorkflowDiagram", "getWorkflowNotes", "getWorkflowRouteDryRun", "getWorkflowTaskAssignmentStats", "getWorkflowTemplates", "getWorkflowThumbnailUrl", "getWorkflowVersion", "getWorkflowVersionActive", "getWorkflowVersions", "getWorkflows", "getWorkflowsActivityBatch", "getWorkspace", "getWorkspaceBuilder", "getWorkspaceBuilders", "getWorkspaceCounts", "getWorkspaceDefaults", "getWorkspaceEmailDomains", "getWorkspaceMember", "getWorkspaceMembers", "getWorkspaceNotices", "getWorkspaceProduct", "getWorkspaceSiteDomains", "getWorkspaceSubscriptions", "getWorkspaceSupportRequest", "getWorkspaceThemes", "importFromBoard", "importHubspotMembers", "importMembers", "importSalesforceMembers", "importWorkspace", "initiateCall", "initiateOutboundCall", "inspectPrompt", "inviteMemberCredentialUpdate", "inviteToWorkspace", "leaveWorkspace", "linkCalendarToGoogle", "linkCalendarToHealthie", "linkMemberToHealthie", "linkMemberToHubspot", "linkMemberToMonday", "linkMemberToSalesforce", "linkPhoneNumber", "listAppConnections", "listAvailableAppConnections", "listConfluencePages", "listConfluenceSpaces", "listConnectionMemberFieldKeys", "listGoogleCalendars", "listHealthieAppointmentTypes", "listHealthiePatients", "listHealthieProviders", "listPersonas", "listPushSubscriptions", "listScenarios", "listSnippets", "listTestChatRuns", "listWorkspaceInvitationsAdmin", "listWorkspaceSupportRequests", "markEmailAsRead", "markEmailAsUnread", "markNotificationAsRead", "previewImportWorkspace", "previewSchedule", "previewTTS", "previewTemplate", "previewThinkingSound", "previewWorkspaceImport", "provisionClientWorkspace", "publishWorkflowVersion", "rateMessage", "reenrollMember", "registerLinkedRolesMetadata", "registerPushSubscription", "registerSlashCommands", "reindexFolder", "releasePhoneNumber", "removeFileRole", "removeFolderRole", "removeGroupMember", "reorderEventRules", "reorderMenuItems", "replyToEmail", "requestPhoneNumber", "requestWorkspaceMembership", "resetRoutineRuns", "resolveAccessGrant", "resolveAgentTools", "resolveAnonymousMember", "revokeAccessGrant", "revokeApiKey", "revokeICalToken", "runRoutine", "searchEventRules", "searchFolder", "searchHubspotRecords", "searchSalesforceRecords", "selectCurrentAssignmentTask", "sendAssistantMessage", "sendChatMessage", "sendOperatorMessage", "siteGoogleOAuthInitiate", "siteSendEmailCode", "siteSendPhoneCode", "siteSignup", "siteVerifyCode", "skipStep", "startConfluenceOAuth", "startHubspotOAuth", "startSalesforceOAuth", "startSyncRun", "startTestChatRun", "summarizeChat", "switchMember", "syncCalendarWithGoogle", "syncCalendarWithHealthie", "testFhirConnection", "testMcpServerConnection", "testMondayConnection", "testRunJourney", "toggleFieldIndex", "unarchiveAgent", "unarchiveChat", "unarchiveDataType", "unarchiveMember", "unarchiveTask", "unarchiveWorkflow", "unenrollMembers", "unlinkCalendarFromGoogle", "unlinkCalendarFromHealthie", "unlinkCredential", "unlinkMemberFromHealthie", "unlinkMemberFromHubspot", "unlinkMemberFromMonday", "unlinkMemberFromSalesforce", "unregisterPushSubscription", "updateAgent", "updateAssignment", "updateCalendar", "updateCalendarEvent", "updateCalendarSchedule", "updateChat", "updateChatFilter", "updateChatLabel", "updateChatMute", "updateChatNeedsResponse", "updateClientWorkspace", "updateConnection", "updateConnectionSyncConfig", "updateCurrentMember", "updateCustomTool", "updateCustomToolkit", "updateDataRecord", "updateDataType", "updateDiscordBot", "updateEventAttendee", "updateEventRule", "updateEventType", "updateExperiment", "updateExperimentAssignment", "updateExperimentGroup", "updateFhirConnection", "updateFile", "updateFileLabel", "updateFileRoles", "updateFileSharing", "updateFirstRunState", "updateFolder", "updateFolderRoles", "updateFolderSharing", "updateGoal", "updateInbox", "updateJourney", "updateJourneyNote", "updateMcpServer", "updateMember", "updateMemberField", "updateMemberFilter", "updateMemberLabel", "updateMemberRole", "updateMenuItem", "updateMilestone", "updateMondaySyncConfig", "updateNotificationRule", "updateOperatorGroup", "updatePage", "updatePersona", "updatePhoneNumber", "updatePlatformApp", "updateProduct", "updateRoutine", "updateSalesforceSyncConfig", "updateScenario", "updateSite", "updateSlackApp", "updateSnippet", "updateStep", "updateSupervisor", "updateTask", "updateTeamsApp", "uploadFile", "updateVoicemailStatus", "updateWorkflow", "updateWorkflowContributor", "updateWorkflowNote", "updateWorkflowVersion", "updateWorkspace", "updateWorkspaceDefaults", "updateWorkspaceInvitationAdmin", "updateWorkspaceThemes", "upsertDataRecord", "validateDataTypeSlug", "validateWorkflowName"];
|
|
14070
|
+
declare const WORKSPACE_METHOD_NAMES: readonly ["activateWorkflowVersion", "addGroupMember", "advanceStep", "approveWorkspaceInvitation", "archiveAgent", "archiveChat", "archiveDataType", "archiveJourney", "archiveMember", "archivePhoneNumber", "archiveStep", "archiveTask", "archiveWorkflow", "authorizeMondayConnection", "autoCreateDataTypeFromBoard", "blockWorkspaceInvitation", "bookHealthieAppointment", "buildWorkspace", "bulkLinkMembersToHubspot", "bulkLinkMembersToMonday", "bulkLinkMembersToSalesforce", "cancelAgentTask", "cancelAssignment", "cancelCalendarEvent", "cancelChatCallback", "cancelCredentialUpdateInvite", "checkAvailability", "checkSiteDomainAvailability", "checkSiteSlugAvailability", "clearConnectionMemberExclusion", "clearMemberSwitch", "clickWorkspaceSupportRequestResource", "cloneDataType", "cloneTask", "cloneWorkflow", "closeWorkspaceSupportRequest", "commentOnWorkspaceSupportRequest", "configureConfluence", "configureHealthie", "configurePatientSync", "configureHubspot", "configureMondayConnection", "configureSalesforce", "convertEmail", "convertFile", "crawlSite", "createAbility", "createAccessGrant", "createAgent", "createApiKey", "createAssignment", "createCalendar", "createCalendarEvent", "createCalendarSchedule", "createChat", "createChatCompletion", "createChatFilter", "createChatLabel", "createClientWorkspace", "createConnection", "createCustomTool", "createCustomToolkit", "createDataRecord", "createDataType", "createDiscordBot", "createEventRule", "createEventType", "createExperiment", "createExperimentAssignment", "createExperimentGroup", "convertMemberFilterToQuery", "createFhirConnection", "createFile", "createFileLabel", "createFolder", "createGoal", "createInbox", "createJourney", "createJourneyNote", "createMcpServer", "createMemberField", "createMemberFilter", "createMemberLabel", "createMemberMemory", "createMemberRole", "createMenuItem", "createMilestone", "createNotificationRule", "createOperatorGroup", "createPage", "createPersona", "createPhoneNumber", "createProduct", "createRoutine", "createScenario", "createSignup", "createSite", "createSlackApp", "createSnippet", "createStep", "createSupervisor", "createTask", "createTeamsApp", "createWorkflow", "createWorkflowContributor", "createWorkflowFromTemplate", "createWorkflowNote", "createWorkflowOutboundVoiceChat", "createWorkspaceMember", "createWorkspaceSupportRequest", "deactivateWorkflowVersion", "deleteAbility", "deleteAgent", "deleteAssignment", "deleteCalendar", "deleteCalendarEvent", "deleteCalendarSchedule", "deleteChat", "deleteChatFilter", "deleteChatLabel", "deleteClientWorkspace", "deleteConfluence", "deleteConnection", "deleteCustomTool", "deleteCustomToolkit", "deleteDataRecord", "deleteDataType", "deleteDiscordBot", "deleteEnrollment", "deleteEventRule", "deleteEventType", "deleteExperiment", "deleteExperimentAssignment", "deleteExperimentGroup", "deleteFhirConnection", "deletePatientSyncConnection", "deleteFile", "deleteFileLabel", "deleteFolder", "deleteGoal", "deleteHubspot", "deleteInbox", "deleteJourneyNote", "deleteMcpServer", "deleteMember", "deleteMemberField", "deleteMemberFilter", "deleteMemberLabel", "deleteMemberMemory", "deleteMemberRole", "deleteMenuItem", "deleteMilestone", "deleteMondayConnection", "deleteNotificationRule", "deleteOperatorGroup", "deletePage", "deletePersona", "deletePlatformApp", "deleteProduct", "deleteRoutine", "deleteSalesforce", "deleteScenario", "deleteSite", "deleteSlackApp", "deleteSnippet", "deleteSupervisor", "deleteTask", "deleteTeamsApp", "deleteWorkflow", "deleteWorkflowContributor", "deleteWorkflowNote", "deleteWorkspace", "deleteWorkspaceInvitationAdmin", "denyWorkspaceInvitation", "describeSalesforceObject", "diffWorkflowVersions", "disableConfluence", "disableCustomToolkit", "disableHubspot", "disableMcpServer", "disableMondayConnection", "disableSalesforce", "disconnectConfluence", "disconnectHubspot", "disconnectMondayConnection", "disconnectPresence", "disconnectSalesforce", "discoverOAuthMetadata", "dismissAllNotifications", "dismissNotification", "downloadEmailAttachment", "enableConfluence", "enableCustomToolkit", "enableHubspot", "enableMcpServer", "enableMondayConnection", "enablePlatformApp", "enableSalesforce", "endTestChatRun", "enrollMembers", "evaluateTestChatRun", "executeAssignmentTool", "expireAnonymousMember", "exportChat", "exportChats", "exportMembers", "exportWorkspace", "fetchVoicemailAudio", "fhirBackfillEncounterSync", "fhirCreateEncounter", "fhirCsvImportApply", "fhirCsvImportInspect", "fhirFetchCareTeam", "fhirFetchEncounters", "fhirGetCsvImportRunItems", "fhirGetCsvImportRuns", "fhirGetCsvImportSettings", "fhirGetEncounterSyncRuns", "fhirGetEncounterSyncStatus", "fhirImportPatient", "fhirLinkMember", "fhirListLinkedMembers", "fhirRefreshEncounterPatient", "fhirRunEncounterSync", "fhirSearchLocations", "fhirSearchPatients", "fhirSearchPractitioners", "fhirSyncMember", "fhirUnlinkMember", "fhirUpdateCsvImportSettings", "fhirUpdateEncounterSync", "findOrCreateDMChat", "generateFileUploadUrl", "generateICalToken", "generateSiteMediaUploadUrl", "getAIUsageReport", "getAbilityType", "getAbilityTypes", "getAccessGrant", "getAccessGrants", "getAgent", "getAgentTask", "getAgentTaskMessages", "getAgentTasks", "getAgents", "getAnonymousResolution", "getAnonymousResolutions", "getApiKeys", "getArchiveBlockers", "getAssignment", "getAssignmentCelContext", "getAssignmentMessages", "getAssignmentTask", "getAssignmentTaskDetail", "getAssignmentTools", "getAssignments", "getAvailableActions", "getAvailablePhoneNumbers", "getAvailableSlots", "getBoardColumns", "getBoardGroups", "getBoards", "getBusinessHoursStatus", "getCalendar", "getCalendarEvent", "getCalendarEvents", "getCalendarSchedules", "getCalendars", "getCelContext", "getChat", "getChatAssignmentTasks", "getChatCallbacks", "getChatEmails", "getChatFilter", "getChatFilterByUuid", "getChatFilterCount", "getChatFilters", "getChatLabel", "getChatLabelByUuid", "getChatLabels", "getChatMessages", "getChatPhoneCalls", "getChatSkills", "getChatTodos", "getChatTokenUsage", "getChatToolCallMessages", "getChatTools", "getChats", "getChatsDailyCreationStats", "getChatsNeedsResponse", "getClientWorkspace", "getConfluenceStatus", "getConnectionSyncCapabilities", "getConnectionSyncCheckpoint", "getConnectionSyncConfig", "getCredentialUpdateInvites", "getCurrentMember", "getCurrentUserInfo", "getCustomToolkit", "getCustomToolkits", "getDataRecord", "getDataRecordChanges", "getDataRecords", "getDataType", "getDataTypeByUuid", "getDataTypeBySlug", "getDataTypes", "getDiscordBot", "getDiscordBotAccounts", "getDiscordBotByUuid", "getDiscordBots", "getDiscordGuilds", "getDiscordThreads", "getEventRule", "getEventRules", "getEventType", "getEventTypes", "getExperiment", "getExperimentStats", "getExperiments", "getFhirConnection", "getFhirConnectionByUuid", "getFhirConnections", "getFieldIndexStatus", "getFile", "getFileLabel", "getFileLabelByUuid", "getFileLabels", "getFileSharing", "getFiles", "getFirstRunState", "getFolder", "getFolderSharing", "getFolders", "getGoogleCalendarStatus", "getHealthieAvailableSlots", "getHealthieReconciliationMatches", "getHealthieStatus", "getPatientSyncStatus", "getHubspotContactProperties", "getHubspotManagedRules", "getHubspotReconciliationMatches", "getHubspotStatus", "getHubspotSyncLogs", "getHubspotTransformPresets", "getICalFeedUrl", "getInbox", "getInboxEmail", "getInboxEmails", "getInboxThreads", "getInboxes", "getJourney", "getJourneyHealth", "getJourneyMembers", "getJourneyNotes", "getJourneys", "getLinkablePhones", "getLinkedHealthieMembers", "getLinkedHubspotMembers", "getLinkedMondayMembers", "getLinkedRecords", "getLinkedSalesforceMembers", "getLiveOperators", "getMcpServer", "getMcpServerPrompts", "getMcpServerResources", "getMcpServerTools", "getMcpServers", "getMemberExperiments", "getMemberFieldDefinitions", "getMemberFields", "getMemberFilter", "getMemberFilterCount", "getMemberFilters", "getMemberGrants", "getMemberJourneys", "getMemberLabel", "getMemberLabelByUuid", "getMemberLabels", "getMemberMemories", "getMemberRecordCounts", "getMemberRole", "getMemberRoleByUuid", "getMemberRoles", "getMemberSyncLinks", "getMemberSyncSummary", "getMemberUsage", "getMembersMessageActivity", "getMenuItems", "getMessageTiming", "getMilestone", "getMilestones", "getMondayConnectionBoardColumns", "getMondayConnectionBoardGroups", "getMondayConnectionBoards", "getMondayConnectionStatus", "getMondayReconciliationMatches", "getMondaySyncConfig", "getMyCredentials", "getMyGivenGrants", "getMyReceivedGrants", "getNotification", "getNotificationRules", "getNotifications", "getOperatorChatMessages", "getOperatorGroup", "getOperatorGroups", "getOrCreateQualificationForWorkflow", "getOwnedMembers", "getPage", "getPageBySlug", "getPersona", "getPhoneCalls", "getPhoneNumber", "getPhoneNumberCalls", "getPhoneNumberMessages", "getPhoneNumberVoicemails", "getPhoneNumbers", "getPhoneUsageReport", "getPlatformApp", "getPresenceStatus", "getProducts", "getPublicFile", "getPublicFolder", "getPublicFolderFiles", "getPublicProducts", "getQualification", "getQualifications", "getResellerWorkspaces", "getRoutine", "getRoutineRuns", "getRoutines", "getRuleExecutions", "getSMSUsageReport", "getSalesforceReconciliationMatches", "getSalesforceStatus", "getSalesforceSyncConfig", "getScenario", "getSite", "getSiteByUuid", "getSiteCounts", "getSiteMenu", "getSitePages", "getSiteRenderedMenu", "getSiteRenderedPage", "getSites", "getSlackApp", "getSlackAppAccounts", "getSlackApps", "getSlackInstallations", "getSlackThreads", "getSnippet", "getStepMemberCounts", "getStepMembers", "getSupervisor", "getSupervisors", "getSyncRunItems", "getSyncRuns", "getTask", "getTaskChats", "getTasks", "getTeamsApp", "getTeamsAppAccounts", "getTeamsApps", "getTeamsConversations", "getTeamsInstallations", "getTemplateContext", "getTestChatRun", "getThreadEmails", "getTool", "getToolCallNames", "getToolkits", "getUnreadNotificationCount", "getUsageDashboard", "getVariableRegistry", "getVoiceToken", "getVoiceUsageReport", "getWebhookLogs", "getWorkflow", "getWorkflowAccessValidation", "getWorkflowActivity", "getWorkflowConfigValidation", "getWorkflowContributors", "getWorkflowDeletionPreview", "getWorkflowDiagram", "getWorkflowNotes", "getWorkflowRouteDryRun", "getWorkflowTaskAssignmentStats", "getWorkflowTemplates", "getWorkflowThumbnailUrl", "getWorkflowVersion", "getWorkflowVersionActive", "getWorkflowVersions", "getWorkflows", "getWorkflowsActivityBatch", "getWorkspace", "getWorkspaceBuilder", "getWorkspaceBuilders", "getWorkspaceCounts", "getWorkspaceDefaults", "getWorkspaceEmailDomains", "getWorkspaceMember", "getWorkspaceMembers", "getWorkspaceNotices", "getWorkspaceProduct", "getWorkspaceSiteDomains", "getWorkspaceSubscriptions", "getWorkspaceSupportRequest", "getWorkspaceThemes", "importFromBoard", "importHubspotMembers", "importMembers", "importSalesforceMembers", "importWorkspace", "initiateCall", "initiateOutboundCall", "inspectPrompt", "inviteMemberCredentialUpdate", "inviteToWorkspace", "leaveWorkspace", "linkCalendarToGoogle", "linkCalendarToHealthie", "linkMemberToHealthie", "linkMemberToHubspot", "linkMemberToMonday", "linkMemberToSalesforce", "linkPhoneNumber", "listAbilities", "listAgentAbilities", "listAppConnections", "listAvailableAppConnections", "listConfluencePages", "listConfluenceSpaces", "listConnectionMemberFieldKeys", "setDefaultGooglePlatformAccount", "listGoogleCalendars", "listHealthieAppointmentTypes", "listHealthiePatients", "listHealthieProviders", "listPersonas", "listPushSubscriptions", "listScenarios", "listSnippets", "listTestChatRuns", "listWorkspaceInvitationsAdmin", "listWorkspaceSupportRequests", "markEmailAsRead", "markEmailAsUnread", "markNotificationAsRead", "previewImportMembers", "previewImportWorkspace", "previewSchedule", "previewTTS", "previewTemplate", "previewThinkingSound", "previewWorkspaceImport", "provisionClientWorkspace", "publishWorkflowVersion", "rateMessage", "reenrollMember", "registerLinkedRolesMetadata", "registerPushSubscription", "registerSlashCommands", "reindexFolder", "releasePhoneNumber", "removeFileRole", "removeFolderRole", "removeGroupMember", "reorderEventRules", "reorderMenuItems", "replyToEmail", "requestPhoneNumber", "requestWorkspaceMembership", "resetRoutineRuns", "resolveAccessGrant", "resolveAgentTools", "resolveAnonymousMember", "revokeAccessGrant", "revokeApiKey", "revokeICalToken", "runRoutine", "searchEventRules", "searchFolder", "searchHubspotRecords", "searchSalesforceRecords", "selectCurrentAssignmentTask", "sendAssistantMessage", "sendChatMessage", "sendOperatorMessage", "siteGoogleOAuthInitiate", "siteSendEmailCode", "siteSendPhoneCode", "siteSignup", "siteVerifyCode", "skipStep", "startConfluenceOAuth", "startHubspotOAuth", "startSalesforceOAuth", "startSyncRun", "startTestChatRun", "summarizeChat", "switchMember", "syncCalendarWithGoogle", "syncCalendarWithHealthie", "testFhirConnection", "testMcpServerConnection", "testMondayConnection", "testRunJourney", "toggleFieldIndex", "unarchiveAgent", "unarchiveChat", "unarchiveDataType", "unarchiveMember", "unarchiveTask", "unarchiveWorkflow", "unenrollMembers", "unlinkCalendarFromGoogle", "unlinkCalendarFromHealthie", "unlinkCredential", "unlinkMemberFromHealthie", "unlinkMemberFromHubspot", "unlinkMemberFromMonday", "unlinkMemberFromSalesforce", "unregisterPushSubscription", "updateAbility", "updateAgent", "updateAssignment", "updateCalendar", "updateCalendarEvent", "updateCalendarSchedule", "updateChat", "updateChatFilter", "updateChatLabel", "updateChatMute", "updateChatNeedsResponse", "updateClientWorkspace", "updateConnection", "updateConnectionSyncConfig", "updateCurrentMember", "updateCustomTool", "updateCustomToolkit", "updateDataRecord", "updateDataType", "updateDiscordBot", "updateEventAttendee", "updateEventRule", "updateEventType", "updateExperiment", "updateExperimentAssignment", "updateExperimentGroup", "updateFhirConnection", "updateFile", "updateFileLabel", "updateFileRoles", "updateFileSharing", "updateFirstRunState", "updateFolder", "updateFolderRoles", "updateFolderSharing", "updateGoal", "updateInbox", "updateJourney", "updateJourneyNote", "updateMcpServer", "updateMember", "updateMemberField", "updateMemberFilter", "updateMemberLabel", "updateMemberRole", "updateMenuItem", "updateMilestone", "updateMondaySyncConfig", "updateNotificationRule", "updateOperatorGroup", "updatePage", "updatePersona", "updatePhoneNumber", "updatePlatformApp", "updateProduct", "updateRoutine", "updateSalesforceSyncConfig", "updateScenario", "updateSite", "updateSlackApp", "updateSnippet", "updateStep", "updateSupervisor", "updateTask", "updateTeamsApp", "uploadFile", "updateVoicemailStatus", "updateWorkflow", "updateWorkflowContributor", "updateWorkflowNote", "updateWorkflowVersion", "updateWorkspace", "updateWorkspaceDefaults", "updateWorkspaceInvitationAdmin", "updateWorkspaceThemes", "upsertDataRecord", "validateDataTypeSlug", "validateWorkflowName"];
|
|
13145
14071
|
type WorkspaceMethodName = (typeof WORKSPACE_METHOD_NAMES)[number];
|
|
13146
14072
|
type WorkspaceMethodKey = Extract<WorkspaceMethodName, keyof GravityRailClient>;
|
|
13147
14073
|
type WorkspaceBoundMethod<T> = T extends (workspaceUuid: string, ...args: infer Args) => infer R ? (...args: Args) => R : never;
|
|
@@ -13182,6 +14108,7 @@ interface AgentsBindings {
|
|
|
13182
14108
|
archiveAgent: AgentsApi['archiveAgent'];
|
|
13183
14109
|
unarchiveAgent: AgentsApi['unarchiveAgent'];
|
|
13184
14110
|
resolveAgentTools: AgentsApi['resolveAgentTools'];
|
|
14111
|
+
listAgentAbilities: AgentsApi['listAgentAbilities'];
|
|
13185
14112
|
}
|
|
13186
14113
|
declare function bindAgentsMethods(target: AgentsBindings, agents: AgentsApi): void;
|
|
13187
14114
|
|
|
@@ -13195,12 +14122,19 @@ interface TasksBindings {
|
|
|
13195
14122
|
unarchiveTask: TasksApi['unarchiveTask'];
|
|
13196
14123
|
cloneTask: TasksApi['cloneTask'];
|
|
13197
14124
|
getAbilityTypes: AbilitiesApi['getAbilityTypes'];
|
|
14125
|
+
getAbilityType: AbilitiesApi['getAbilityType'];
|
|
14126
|
+
listAbilities: AbilitiesApi['listAbilities'];
|
|
14127
|
+
createAbility: AbilitiesApi['createAbility'];
|
|
14128
|
+
updateAbility: AbilitiesApi['updateAbility'];
|
|
14129
|
+
deleteAbility: AbilitiesApi['deleteAbility'];
|
|
13198
14130
|
}
|
|
13199
14131
|
declare function bindTasksMethods(target: TasksBindings, tasks: TasksApi, abilities: AbilitiesApi): void;
|
|
13200
14132
|
|
|
13201
14133
|
interface ChatsBindings {
|
|
13202
14134
|
getChats: ChatsApi['getChats'];
|
|
13203
14135
|
getChat: ChatsApi['getChat'];
|
|
14136
|
+
getChatCallbacks: ChatsApi['getChatCallbacks'];
|
|
14137
|
+
cancelChatCallback: ChatsApi['cancelChatCallback'];
|
|
13204
14138
|
getChatTokenUsage: ChatsApi['getChatTokenUsage'];
|
|
13205
14139
|
getChatTodos: ChatsApi['getChatTodos'];
|
|
13206
14140
|
getChatSkills: ChatsApi['getChatSkills'];
|
|
@@ -13250,6 +14184,8 @@ interface CallsBindings {
|
|
|
13250
14184
|
initiateCall: CallsApi['initiateCall'];
|
|
13251
14185
|
getVoiceToken: CallsApi['getVoiceToken'];
|
|
13252
14186
|
getMessageTiming: CallsApi['getMessageTiming'];
|
|
14187
|
+
listChatRecordings: CallsApi['listChatRecordings'];
|
|
14188
|
+
getCallRecordingDownloadUrl: CallsApi['getCallRecordingDownloadUrl'];
|
|
13253
14189
|
getCelContext: CELApi['getCelContext'];
|
|
13254
14190
|
}
|
|
13255
14191
|
declare function bindCallsMethods(target: CallsBindings, calls: CallsApi, cel: CELApi): void;
|
|
@@ -13292,6 +14228,9 @@ interface MembersBindings {
|
|
|
13292
14228
|
deleteMember: MembersApi['deleteMember'];
|
|
13293
14229
|
archiveMember: MembersApi['archiveMember'];
|
|
13294
14230
|
unarchiveMember: MembersApi['unarchiveMember'];
|
|
14231
|
+
sendMemberPhoneConfirmation: MembersApi['sendMemberPhoneConfirmation'];
|
|
14232
|
+
bulkCreateMembers: MembersApi['bulkCreateMembers'];
|
|
14233
|
+
previewImportMembers: MembersApi['previewImportMembers'];
|
|
13295
14234
|
importMembers: MembersApi['importMembers'];
|
|
13296
14235
|
exportMembers: MembersApi['exportMembers'];
|
|
13297
14236
|
getMembersMessageActivity: MembersApi['getMembersMessageActivity'];
|
|
@@ -13299,6 +14238,7 @@ interface MembersBindings {
|
|
|
13299
14238
|
getMemberFilter: MembersApi['getMemberFilter'];
|
|
13300
14239
|
createMemberFilter: MembersApi['createMemberFilter'];
|
|
13301
14240
|
updateMemberFilter: MembersApi['updateMemberFilter'];
|
|
14241
|
+
convertMemberFilterToQuery: MembersApi['convertMemberFilterToQuery'];
|
|
13302
14242
|
deleteMemberFilter: MembersApi['deleteMemberFilter'];
|
|
13303
14243
|
getMemberFilterCount: MembersApi['getMemberFilterCount'];
|
|
13304
14244
|
getMemberLabels: MembersApi['getMemberLabels'];
|
|
@@ -13328,6 +14268,7 @@ interface MembersBindings {
|
|
|
13328
14268
|
getMemberMemories: MembersApi['getMemberMemories'];
|
|
13329
14269
|
createMemberMemory: MembersApi['createMemberMemory'];
|
|
13330
14270
|
deleteMemberMemory: MembersApi['deleteMemberMemory'];
|
|
14271
|
+
getMemberSyncLinks: MembersApi['getMemberSyncLinks'];
|
|
13331
14272
|
}
|
|
13332
14273
|
declare function bindMembersMethods(target: MembersBindings, members: MembersApi): void;
|
|
13333
14274
|
|
|
@@ -13461,6 +14402,19 @@ interface SitesBindings {
|
|
|
13461
14402
|
checkSiteSlugAvailability: SitesApi['checkSiteSlugAvailability'];
|
|
13462
14403
|
checkSiteDomainAvailability: SitesApi['checkSiteDomainAvailability'];
|
|
13463
14404
|
getSite: SitesApi['getSite'];
|
|
14405
|
+
getSiteSharing: SitesApi['getSiteSharing'];
|
|
14406
|
+
updateSiteSharing: SitesApi['updateSiteSharing'];
|
|
14407
|
+
getSiteSource: SitesApi['getSiteSource'];
|
|
14408
|
+
getSiteSourceTemplates: SitesApi['getSiteSourceTemplates'];
|
|
14409
|
+
createSiteSource: SitesApi['createSiteSource'];
|
|
14410
|
+
buildSiteSource: SitesApi['buildSiteSource'];
|
|
14411
|
+
publishSiteSource: SitesApi['publishSiteSource'];
|
|
14412
|
+
resetSiteSource: SitesApi['resetSiteSource'];
|
|
14413
|
+
rollbackSiteSource: SitesApi['rollbackSiteSource'];
|
|
14414
|
+
downloadSiteSourceZip: SitesApi['downloadSiteSourceZip'];
|
|
14415
|
+
importSiteSourceZip: SitesApi['importSiteSourceZip'];
|
|
14416
|
+
getThemeSettings: SitesApi['getThemeSettings'];
|
|
14417
|
+
updateThemeSettings: SitesApi['updateThemeSettings'];
|
|
13464
14418
|
getSiteByUuid: SitesApi['getSiteByUuid'];
|
|
13465
14419
|
getSiteRenderedPage: SitesApi['getSiteRenderedPage'];
|
|
13466
14420
|
getSiteRenderedMenu: SitesApi['getSiteRenderedMenu'];
|
|
@@ -13493,6 +14447,7 @@ declare function bindSitesMethods(target: SitesBindings, sites: SitesApi): void;
|
|
|
13493
14447
|
interface FilesBindings {
|
|
13494
14448
|
getFiles: FilesApi['getFiles'];
|
|
13495
14449
|
getFile: FilesApi['getFile'];
|
|
14450
|
+
downloadFilesZip: FilesApi['downloadFilesZip'];
|
|
13496
14451
|
createFile: FilesApi['createFile'];
|
|
13497
14452
|
uploadFile: FilesApi['uploadFile'];
|
|
13498
14453
|
updateFile: FilesApi['updateFile'];
|
|
@@ -13534,6 +14489,7 @@ interface EventsBindings {
|
|
|
13534
14489
|
createEventRule: EventsApi['createEventRule'];
|
|
13535
14490
|
updateEventRule: EventsApi['updateEventRule'];
|
|
13536
14491
|
deleteEventRule: EventsApi['deleteEventRule'];
|
|
14492
|
+
testWebhook: EventsApi['testWebhook'];
|
|
13537
14493
|
reorderEventRules: EventsApi['reorderEventRules'];
|
|
13538
14494
|
getWebhookLogs: EventsApi['getWebhookLogs'];
|
|
13539
14495
|
getRuleExecutions: EventsApi['getRuleExecutions'];
|
|
@@ -13749,6 +14705,8 @@ interface BillingBindings {
|
|
|
13749
14705
|
updateSubscription: SubscriptionsApi['updateSubscription'];
|
|
13750
14706
|
addWorkspaceToSubscription: SubscriptionsApi['addWorkspaceToSubscription'];
|
|
13751
14707
|
purchaseCredits: SubscriptionsApi['purchaseCredits'];
|
|
14708
|
+
createCheckoutSession: SubscriptionsApi['createCheckoutSession'];
|
|
14709
|
+
listSelfServeProducts: SubscriptionsApi['listSelfServeProducts'];
|
|
13752
14710
|
getAIUsageReport: ReportsApi['getAIUsageReport'];
|
|
13753
14711
|
getSMSUsageReport: ReportsApi['getSMSUsageReport'];
|
|
13754
14712
|
getPhoneUsageReport: ReportsApi['getPhoneUsageReport'];
|
|
@@ -13782,6 +14740,7 @@ interface AppsBindings {
|
|
|
13782
14740
|
exchangeOAuthToken: OAuthApi['exchangeOAuthToken'];
|
|
13783
14741
|
getAvailableScopes: OAuthApi['getAvailableScopes'];
|
|
13784
14742
|
getOAuthConnectionStatus: OAuthConnectionsApi['getConnectionStatus'];
|
|
14743
|
+
listOAuthAccounts: OAuthConnectionsApi['listAccounts'];
|
|
13785
14744
|
getOAuthAuthorizationUrl: OAuthConnectionsApi['getAuthorizationUrl'];
|
|
13786
14745
|
disconnectOAuthProvider: OAuthConnectionsApi['disconnect'];
|
|
13787
14746
|
}
|
|
@@ -13872,6 +14831,9 @@ interface IntegrationsBindings {
|
|
|
13872
14831
|
fhirGetEncounterSyncRuns: FhirConnectionsApi['fhirGetEncounterSyncRuns'];
|
|
13873
14832
|
fhirRefreshEncounterPatient: FhirConnectionsApi['fhirRefreshEncounterPatient'];
|
|
13874
14833
|
fhirBackfillEncounterSync: FhirConnectionsApi['fhirBackfillEncounterSync'];
|
|
14834
|
+
configurePatientSync: PatientSyncConnectionsApi['configurePatientSync'];
|
|
14835
|
+
getPatientSyncStatus: PatientSyncConnectionsApi['getPatientSyncStatus'];
|
|
14836
|
+
deletePatientSyncConnection: PatientSyncConnectionsApi['deletePatientSyncConnection'];
|
|
13875
14837
|
configureHealthie: HealthieApi['configureHealthie'];
|
|
13876
14838
|
getHealthieStatus: HealthieApi['getHealthieStatus'];
|
|
13877
14839
|
listHealthieProviders: HealthieApi['listHealthieProviders'];
|
|
@@ -13946,8 +14908,9 @@ interface IntegrationsBindings {
|
|
|
13946
14908
|
updatePlatformApp: AppConnectionsApi['updatePlatformApp'];
|
|
13947
14909
|
deletePlatformApp: AppConnectionsApi['deletePlatformApp'];
|
|
13948
14910
|
listConnectionMemberFieldKeys: AppConnectionsApi['listConnectionMemberFieldKeys'];
|
|
14911
|
+
setDefaultGooglePlatformAccount: AppConnectionsApi['setDefaultGooglePlatformAccount'];
|
|
13949
14912
|
}
|
|
13950
|
-
declare function bindIntegrationsMethods(target: IntegrationsBindings, mondayIntegration: MondayIntegrationApi, discordBots: DiscordBotsApi, slackApps: SlackAppsApi, teamsApps: TeamsAppsApi, fhirConnections: FhirConnectionsApi, healthie: HealthieApi, salesforce: SalesforceApi, hubspot: HubspotApi, appConnections: AppConnectionsApi, connectionSync: ConnectionSyncApi, confluence: ConfluenceApi): void;
|
|
14913
|
+
declare function bindIntegrationsMethods(target: IntegrationsBindings, mondayIntegration: MondayIntegrationApi, discordBots: DiscordBotsApi, slackApps: SlackAppsApi, teamsApps: TeamsAppsApi, fhirConnections: FhirConnectionsApi, patientSyncConnections: PatientSyncConnectionsApi, healthie: HealthieApi, salesforce: SalesforceApi, hubspot: HubspotApi, appConnections: AppConnectionsApi, connectionSync: ConnectionSyncApi, confluence: ConfluenceApi): void;
|
|
13951
14914
|
|
|
13952
14915
|
interface OperatorBindings {
|
|
13953
14916
|
getOperatorGroups: OperatorApi['getOperatorGroups'];
|
|
@@ -13983,6 +14946,8 @@ interface OrgBindings {
|
|
|
13983
14946
|
updateBusinessProfile: OrgApi['updateBusinessProfile'];
|
|
13984
14947
|
submitBusinessProfile: OrgApi['submitBusinessProfile'];
|
|
13985
14948
|
cancelBusinessProfile: OrgApi['cancelBusinessProfile'];
|
|
14949
|
+
createOrganizationWorkspace: OrgApi['createOrganizationWorkspace'];
|
|
14950
|
+
getOrgBillingCustomer: OrgApi['getOrgBillingCustomer'];
|
|
13986
14951
|
}
|
|
13987
14952
|
declare function bindOrgMethods(target: OrgBindings, org: OrgApi): void;
|
|
13988
14953
|
|
|
@@ -14063,6 +15028,14 @@ interface PersonasBindings {
|
|
|
14063
15028
|
}
|
|
14064
15029
|
declare function bindPersonasMethods(target: PersonasBindings, personas: PersonasApi): void;
|
|
14065
15030
|
|
|
15031
|
+
interface QueriesBindings {
|
|
15032
|
+
getQueryFields: QueriesApi['getQueryFields'];
|
|
15033
|
+
validateQuery: QueriesApi['validateQuery'];
|
|
15034
|
+
previewQuery: QueriesApi['previewQuery'];
|
|
15035
|
+
runQuery: QueriesApi['runQuery'];
|
|
15036
|
+
}
|
|
15037
|
+
declare function bindQueriesMethods(target: QueriesBindings, queries: QueriesApi): void;
|
|
15038
|
+
|
|
14066
15039
|
interface CustomersBindings {
|
|
14067
15040
|
getMyCustomers: CustomersApi['getMyCustomers'];
|
|
14068
15041
|
getMyCustomer: CustomersApi['getMyCustomer'];
|
|
@@ -14108,6 +15081,7 @@ interface SupportRequestsBindings {
|
|
|
14108
15081
|
createWorkspaceSupportRequest: SupportRequestsApi['createWorkspaceSupportRequest'];
|
|
14109
15082
|
commentOnWorkspaceSupportRequest: SupportRequestsApi['commentOnWorkspaceSupportRequest'];
|
|
14110
15083
|
closeWorkspaceSupportRequest: SupportRequestsApi['closeWorkspaceSupportRequest'];
|
|
15084
|
+
reopenWorkspaceSupportRequest: SupportRequestsApi['reopenWorkspaceSupportRequest'];
|
|
14111
15085
|
clickWorkspaceSupportRequestResource: SupportRequestsApi['clickWorkspaceSupportRequestResource'];
|
|
14112
15086
|
}
|
|
14113
15087
|
declare function bindSupportRequestMethods(target: SupportRequestsBindings, supportRequests: SupportRequestsApi): void;
|
|
@@ -14122,7 +15096,7 @@ declare function bindSupportRequestMethods(target: SupportRequestsBindings, supp
|
|
|
14122
15096
|
* admin functionality (`ApiClient`) lives in the private `@gravity-rail/client`
|
|
14123
15097
|
* package and extends this class.
|
|
14124
15098
|
*/
|
|
14125
|
-
declare class GravityRailClient implements TasksBindings, ChatsBindings, CallsBindings, DataTypesBindings, MembersBindings, WorkspacesBindings, AuthBindings, SitesBindings, FilesBindings, EventsBindings, ExperimentsBindings, WorkflowsBindings, CalendarsBindings, CommunicationsBindings, ToolkitsBindings, BillingBindings, AppsBindings, IntegrationsBindings, AgentTasksBindings, AgentsBindings, PronunciationsBindings, QualificationsBindings, PersonasBindings, CustomersBindings, ResellersBindings, JourneysBindings, OperatorBindings, OrgBindings, AccessGrantsBindings, PromptsBindings, SupportRequestsBindings {
|
|
15099
|
+
declare class GravityRailClient implements TasksBindings, ChatsBindings, CallsBindings, DataTypesBindings, MembersBindings, WorkspacesBindings, AuthBindings, SitesBindings, FilesBindings, EventsBindings, ExperimentsBindings, WorkflowsBindings, CalendarsBindings, CommunicationsBindings, ToolkitsBindings, BillingBindings, AppsBindings, IntegrationsBindings, AgentTasksBindings, AgentsBindings, PronunciationsBindings, QualificationsBindings, PersonasBindings, QueriesBindings, CustomersBindings, ResellersBindings, JourneysBindings, OperatorBindings, OrgBindings, AccessGrantsBindings, PromptsBindings, SupportRequestsBindings {
|
|
14126
15100
|
workspaceInvitations: WorkspaceInvitationsApi;
|
|
14127
15101
|
protected apis: ApiModules;
|
|
14128
15102
|
getTasks: TasksBindings['getTasks'];
|
|
@@ -14134,8 +15108,15 @@ declare class GravityRailClient implements TasksBindings, ChatsBindings, CallsBi
|
|
|
14134
15108
|
unarchiveTask: TasksBindings['unarchiveTask'];
|
|
14135
15109
|
cloneTask: TasksBindings['cloneTask'];
|
|
14136
15110
|
getAbilityTypes: TasksBindings['getAbilityTypes'];
|
|
15111
|
+
getAbilityType: TasksBindings['getAbilityType'];
|
|
15112
|
+
listAbilities: TasksBindings['listAbilities'];
|
|
15113
|
+
createAbility: TasksBindings['createAbility'];
|
|
15114
|
+
updateAbility: TasksBindings['updateAbility'];
|
|
15115
|
+
deleteAbility: TasksBindings['deleteAbility'];
|
|
14137
15116
|
getChats: ChatsBindings['getChats'];
|
|
14138
15117
|
getChat: ChatsBindings['getChat'];
|
|
15118
|
+
getChatCallbacks: ChatsBindings['getChatCallbacks'];
|
|
15119
|
+
cancelChatCallback: ChatsBindings['cancelChatCallback'];
|
|
14139
15120
|
getChatTokenUsage: ChatsBindings['getChatTokenUsage'];
|
|
14140
15121
|
getChatTodos: ChatsBindings['getChatTodos'];
|
|
14141
15122
|
getChatSkills: ChatsBindings['getChatSkills'];
|
|
@@ -14181,6 +15162,8 @@ declare class GravityRailClient implements TasksBindings, ChatsBindings, CallsBi
|
|
|
14181
15162
|
initiateCall: CallsBindings['initiateCall'];
|
|
14182
15163
|
getVoiceToken: CallsBindings['getVoiceToken'];
|
|
14183
15164
|
getMessageTiming: CallsBindings['getMessageTiming'];
|
|
15165
|
+
listChatRecordings: CallsBindings['listChatRecordings'];
|
|
15166
|
+
getCallRecordingDownloadUrl: CallsBindings['getCallRecordingDownloadUrl'];
|
|
14184
15167
|
getCelContext: CallsBindings['getCelContext'];
|
|
14185
15168
|
getDataTypes: DataTypesBindings['getDataTypes'];
|
|
14186
15169
|
getDataType: DataTypesBindings['getDataType'];
|
|
@@ -14215,6 +15198,9 @@ declare class GravityRailClient implements TasksBindings, ChatsBindings, CallsBi
|
|
|
14215
15198
|
deleteMember: MembersBindings['deleteMember'];
|
|
14216
15199
|
archiveMember: MembersBindings['archiveMember'];
|
|
14217
15200
|
unarchiveMember: MembersBindings['unarchiveMember'];
|
|
15201
|
+
sendMemberPhoneConfirmation: MembersBindings['sendMemberPhoneConfirmation'];
|
|
15202
|
+
bulkCreateMembers: MembersBindings['bulkCreateMembers'];
|
|
15203
|
+
previewImportMembers: MembersBindings['previewImportMembers'];
|
|
14218
15204
|
importMembers: MembersBindings['importMembers'];
|
|
14219
15205
|
exportMembers: MembersBindings['exportMembers'];
|
|
14220
15206
|
getMembersMessageActivity: MembersBindings['getMembersMessageActivity'];
|
|
@@ -14222,6 +15208,7 @@ declare class GravityRailClient implements TasksBindings, ChatsBindings, CallsBi
|
|
|
14222
15208
|
getMemberFilter: MembersBindings['getMemberFilter'];
|
|
14223
15209
|
createMemberFilter: MembersBindings['createMemberFilter'];
|
|
14224
15210
|
updateMemberFilter: MembersBindings['updateMemberFilter'];
|
|
15211
|
+
convertMemberFilterToQuery: MembersBindings['convertMemberFilterToQuery'];
|
|
14225
15212
|
deleteMemberFilter: MembersBindings['deleteMemberFilter'];
|
|
14226
15213
|
getMemberFilterCount: MembersBindings['getMemberFilterCount'];
|
|
14227
15214
|
getMemberLabels: MembersBindings['getMemberLabels'];
|
|
@@ -14251,6 +15238,7 @@ declare class GravityRailClient implements TasksBindings, ChatsBindings, CallsBi
|
|
|
14251
15238
|
getMemberMemories: MembersBindings['getMemberMemories'];
|
|
14252
15239
|
createMemberMemory: MembersBindings['createMemberMemory'];
|
|
14253
15240
|
deleteMemberMemory: MembersBindings['deleteMemberMemory'];
|
|
15241
|
+
getMemberSyncLinks: MembersBindings['getMemberSyncLinks'];
|
|
14254
15242
|
getAgentTasks: AgentTasksBindings['getAgentTasks'];
|
|
14255
15243
|
getAgentTask: AgentTasksBindings['getAgentTask'];
|
|
14256
15244
|
cancelAgentTask: AgentTasksBindings['cancelAgentTask'];
|
|
@@ -14263,6 +15251,7 @@ declare class GravityRailClient implements TasksBindings, ChatsBindings, CallsBi
|
|
|
14263
15251
|
archiveAgent: AgentsBindings['archiveAgent'];
|
|
14264
15252
|
unarchiveAgent: AgentsBindings['unarchiveAgent'];
|
|
14265
15253
|
resolveAgentTools: AgentsBindings['resolveAgentTools'];
|
|
15254
|
+
listAgentAbilities: AgentsBindings['listAgentAbilities'];
|
|
14266
15255
|
getQualifications: QualificationsBindings['getQualifications'];
|
|
14267
15256
|
getQualification: QualificationsBindings['getQualification'];
|
|
14268
15257
|
getOrCreateQualificationForWorkflow: QualificationsBindings['getOrCreateQualificationForWorkflow'];
|
|
@@ -14276,6 +15265,10 @@ declare class GravityRailClient implements TasksBindings, ChatsBindings, CallsBi
|
|
|
14276
15265
|
startTestChatRun: QualificationsBindings['startTestChatRun'];
|
|
14277
15266
|
evaluateTestChatRun: QualificationsBindings['evaluateTestChatRun'];
|
|
14278
15267
|
endTestChatRun: QualificationsBindings['endTestChatRun'];
|
|
15268
|
+
getQueryFields: QueriesBindings['getQueryFields'];
|
|
15269
|
+
validateQuery: QueriesBindings['validateQuery'];
|
|
15270
|
+
previewQuery: QueriesBindings['previewQuery'];
|
|
15271
|
+
runQuery: QueriesBindings['runQuery'];
|
|
14279
15272
|
listPersonas: PersonasBindings['listPersonas'];
|
|
14280
15273
|
getPersona: PersonasBindings['getPersona'];
|
|
14281
15274
|
createPersona: PersonasBindings['createPersona'];
|
|
@@ -14408,6 +15401,8 @@ declare class GravityRailClient implements TasksBindings, ChatsBindings, CallsBi
|
|
|
14408
15401
|
updateBusinessProfile: OrgBindings['updateBusinessProfile'];
|
|
14409
15402
|
submitBusinessProfile: OrgBindings['submitBusinessProfile'];
|
|
14410
15403
|
cancelBusinessProfile: OrgBindings['cancelBusinessProfile'];
|
|
15404
|
+
createOrganizationWorkspace: OrgBindings['createOrganizationWorkspace'];
|
|
15405
|
+
getOrgBillingCustomer: OrgBindings['getOrgBillingCustomer'];
|
|
14411
15406
|
getVapidPublicKey: WorkspacesBindings['getVapidPublicKey'];
|
|
14412
15407
|
registerPushSubscription: WorkspacesBindings['registerPushSubscription'];
|
|
14413
15408
|
unregisterPushSubscription: WorkspacesBindings['unregisterPushSubscription'];
|
|
@@ -14483,6 +15478,19 @@ declare class GravityRailClient implements TasksBindings, ChatsBindings, CallsBi
|
|
|
14483
15478
|
checkSiteSlugAvailability: SitesBindings['checkSiteSlugAvailability'];
|
|
14484
15479
|
checkSiteDomainAvailability: SitesBindings['checkSiteDomainAvailability'];
|
|
14485
15480
|
getSite: SitesBindings['getSite'];
|
|
15481
|
+
getSiteSharing: SitesBindings['getSiteSharing'];
|
|
15482
|
+
updateSiteSharing: SitesBindings['updateSiteSharing'];
|
|
15483
|
+
getSiteSource: SitesBindings['getSiteSource'];
|
|
15484
|
+
getSiteSourceTemplates: SitesBindings['getSiteSourceTemplates'];
|
|
15485
|
+
createSiteSource: SitesBindings['createSiteSource'];
|
|
15486
|
+
buildSiteSource: SitesBindings['buildSiteSource'];
|
|
15487
|
+
publishSiteSource: SitesBindings['publishSiteSource'];
|
|
15488
|
+
resetSiteSource: SitesBindings['resetSiteSource'];
|
|
15489
|
+
rollbackSiteSource: SitesBindings['rollbackSiteSource'];
|
|
15490
|
+
downloadSiteSourceZip: SitesBindings['downloadSiteSourceZip'];
|
|
15491
|
+
importSiteSourceZip: SitesBindings['importSiteSourceZip'];
|
|
15492
|
+
getThemeSettings: SitesBindings['getThemeSettings'];
|
|
15493
|
+
updateThemeSettings: SitesBindings['updateThemeSettings'];
|
|
14486
15494
|
getSiteByUuid: SitesBindings['getSiteByUuid'];
|
|
14487
15495
|
getSiteRenderedPage: SitesBindings['getSiteRenderedPage'];
|
|
14488
15496
|
getSiteRenderedMenu: SitesBindings['getSiteRenderedMenu'];
|
|
@@ -14511,6 +15519,7 @@ declare class GravityRailClient implements TasksBindings, ChatsBindings, CallsBi
|
|
|
14511
15519
|
generateSiteMediaUploadUrl: SitesBindings['generateSiteMediaUploadUrl'];
|
|
14512
15520
|
getFiles: FilesBindings['getFiles'];
|
|
14513
15521
|
getFile: FilesBindings['getFile'];
|
|
15522
|
+
downloadFilesZip: FilesBindings['downloadFilesZip'];
|
|
14514
15523
|
createFile: FilesBindings['createFile'];
|
|
14515
15524
|
uploadFile: FilesBindings['uploadFile'];
|
|
14516
15525
|
updateFile: FilesBindings['updateFile'];
|
|
@@ -14548,6 +15557,7 @@ declare class GravityRailClient implements TasksBindings, ChatsBindings, CallsBi
|
|
|
14548
15557
|
createEventRule: EventsBindings['createEventRule'];
|
|
14549
15558
|
updateEventRule: EventsBindings['updateEventRule'];
|
|
14550
15559
|
deleteEventRule: EventsBindings['deleteEventRule'];
|
|
15560
|
+
testWebhook: EventsBindings['testWebhook'];
|
|
14551
15561
|
reorderEventRules: EventsBindings['reorderEventRules'];
|
|
14552
15562
|
getWebhookLogs: EventsBindings['getWebhookLogs'];
|
|
14553
15563
|
getRuleExecutions: EventsBindings['getRuleExecutions'];
|
|
@@ -14726,6 +15736,8 @@ declare class GravityRailClient implements TasksBindings, ChatsBindings, CallsBi
|
|
|
14726
15736
|
updateSubscription: BillingBindings['updateSubscription'];
|
|
14727
15737
|
addWorkspaceToSubscription: BillingBindings['addWorkspaceToSubscription'];
|
|
14728
15738
|
purchaseCredits: BillingBindings['purchaseCredits'];
|
|
15739
|
+
createCheckoutSession: BillingBindings['createCheckoutSession'];
|
|
15740
|
+
listSelfServeProducts: BillingBindings['listSelfServeProducts'];
|
|
14729
15741
|
getAIUsageReport: BillingBindings['getAIUsageReport'];
|
|
14730
15742
|
getSMSUsageReport: BillingBindings['getSMSUsageReport'];
|
|
14731
15743
|
getPhoneUsageReport: BillingBindings['getPhoneUsageReport'];
|
|
@@ -14755,6 +15767,7 @@ declare class GravityRailClient implements TasksBindings, ChatsBindings, CallsBi
|
|
|
14755
15767
|
exchangeOAuthToken: AppsBindings['exchangeOAuthToken'];
|
|
14756
15768
|
getAvailableScopes: AppsBindings['getAvailableScopes'];
|
|
14757
15769
|
getOAuthConnectionStatus: AppsBindings['getOAuthConnectionStatus'];
|
|
15770
|
+
listOAuthAccounts: AppsBindings['listOAuthAccounts'];
|
|
14758
15771
|
getOAuthAuthorizationUrl: AppsBindings['getOAuthAuthorizationUrl'];
|
|
14759
15772
|
disconnectOAuthProvider: AppsBindings['disconnectOAuthProvider'];
|
|
14760
15773
|
getMondayBoards: IntegrationsBindings['getMondayBoards'];
|
|
@@ -14841,6 +15854,9 @@ declare class GravityRailClient implements TasksBindings, ChatsBindings, CallsBi
|
|
|
14841
15854
|
fhirGetEncounterSyncRuns: IntegrationsBindings['fhirGetEncounterSyncRuns'];
|
|
14842
15855
|
fhirRefreshEncounterPatient: IntegrationsBindings['fhirRefreshEncounterPatient'];
|
|
14843
15856
|
fhirBackfillEncounterSync: IntegrationsBindings['fhirBackfillEncounterSync'];
|
|
15857
|
+
configurePatientSync: IntegrationsBindings['configurePatientSync'];
|
|
15858
|
+
getPatientSyncStatus: IntegrationsBindings['getPatientSyncStatus'];
|
|
15859
|
+
deletePatientSyncConnection: IntegrationsBindings['deletePatientSyncConnection'];
|
|
14844
15860
|
configureHealthie: IntegrationsBindings['configureHealthie'];
|
|
14845
15861
|
getHealthieStatus: IntegrationsBindings['getHealthieStatus'];
|
|
14846
15862
|
listHealthieProviders: IntegrationsBindings['listHealthieProviders'];
|
|
@@ -14915,6 +15931,7 @@ declare class GravityRailClient implements TasksBindings, ChatsBindings, CallsBi
|
|
|
14915
15931
|
updatePlatformApp: IntegrationsBindings['updatePlatformApp'];
|
|
14916
15932
|
deletePlatformApp: IntegrationsBindings['deletePlatformApp'];
|
|
14917
15933
|
listConnectionMemberFieldKeys: IntegrationsBindings['listConnectionMemberFieldKeys'];
|
|
15934
|
+
setDefaultGooglePlatformAccount: IntegrationsBindings['setDefaultGooglePlatformAccount'];
|
|
14918
15935
|
getPronunciationEntries: PronunciationsBindings['getPronunciationEntries'];
|
|
14919
15936
|
createPronunciationEntry: PronunciationsBindings['createPronunciationEntry'];
|
|
14920
15937
|
updatePronunciationEntry: PronunciationsBindings['updatePronunciationEntry'];
|
|
@@ -14959,6 +15976,7 @@ declare class GravityRailClient implements TasksBindings, ChatsBindings, CallsBi
|
|
|
14959
15976
|
createWorkspaceSupportRequest: SupportRequestsBindings['createWorkspaceSupportRequest'];
|
|
14960
15977
|
commentOnWorkspaceSupportRequest: SupportRequestsBindings['commentOnWorkspaceSupportRequest'];
|
|
14961
15978
|
closeWorkspaceSupportRequest: SupportRequestsBindings['closeWorkspaceSupportRequest'];
|
|
15979
|
+
reopenWorkspaceSupportRequest: SupportRequestsBindings['reopenWorkspaceSupportRequest'];
|
|
14962
15980
|
clickWorkspaceSupportRequestResource: SupportRequestsBindings['clickWorkspaceSupportRequestResource'];
|
|
14963
15981
|
constructor(apiKey: string | undefined, baseUrl: string, customFetch?: typeof fetch);
|
|
14964
15982
|
/**
|
|
@@ -14988,16 +16006,21 @@ declare class GravityRailClient implements TasksBindings, ChatsBindings, CallsBi
|
|
|
14988
16006
|
*/
|
|
14989
16007
|
setOrgAuthHandler(handler: OrgAuthHandler | undefined): void;
|
|
14990
16008
|
/**
|
|
14991
|
-
* Set the org
|
|
14992
|
-
*
|
|
14993
|
-
*
|
|
16009
|
+
* Set the org session credential for cross-domain / non-browser clients (e.g. CLI).
|
|
16010
|
+
* Opaque gr_sess_ values use X-Org-Session. Legacy orgToken JWE values still
|
|
16011
|
+
* use X-Org-Token during the migration window.
|
|
14994
16012
|
*
|
|
14995
|
-
* `orgUuid` is the org that issued the
|
|
14996
|
-
* detect a stale
|
|
16013
|
+
* `orgUuid` is the org that issued the session. Pass it so the SDK can
|
|
16014
|
+
* detect a stale session (e.g. switching orgs mid-session) and re-fire the
|
|
14997
16015
|
* org-auth handler instead of silently 401-ing.
|
|
14998
16016
|
*
|
|
14999
16017
|
* Propagates to all API modules.
|
|
15000
16018
|
*/
|
|
16019
|
+
setOrgSession(session: string | undefined, orgUuid?: string): void;
|
|
16020
|
+
/**
|
|
16021
|
+
* @deprecated Legacy compatibility for stateless orgToken JWE credentials.
|
|
16022
|
+
* Prefer setOrgSession() for opaque org browser sessions.
|
|
16023
|
+
*/
|
|
15001
16024
|
setOrgToken(token: string | undefined, orgUuid?: string): void;
|
|
15002
16025
|
/**
|
|
15003
16026
|
* Update the API key across all modules.
|
|
@@ -15019,4 +16042,4 @@ declare class GravityRailClient implements TasksBindings, ChatsBindings, CallsBi
|
|
|
15019
16042
|
getActingMember(): string | undefined;
|
|
15020
16043
|
}
|
|
15021
16044
|
|
|
15022
|
-
export { type AuthorizeResponse as $, type Ability as A, type AllModelsResponse as B, type ChatModelsResponse as C, ApiError as D, type ApiScope as E, type ApiValidationError as F, type GravityRailWorkspaceClient as G, type App as H, type AppBuilder as I, type AppConnectionAccessInterrupt as J, type AppConnectionDirectoryEntry as K, type AppConnectionDirectoryResponse as L, type ModelMetadataResponse as M, type AppConnectionItem as N, type AppConnectionType as O, type AppCredentialResponse as P, type AppListResponse as Q, type AppResponse as R, AppsApi as S, type AssignmentResponse as T, type AssignmentStatusType as U, type AssignmentTaskResponse as V, type AssignmentsQueryParams as W, type AudioMessageMetadata as X, type AudioPlaybackAbilityConfig as Y, type AudioPlaybackFileEntry as Z, type AuthorizeRequest as _, type AIUsageReport as a, type ContributorChatParticipant as a$, type AvailableMemberRole as a0, BUILTIN_ASSISTANT_CHAT_TYPES as a1, BaseApiClient as a2, type BillingPlanInfo as a3, type ResourceCounts as a4, type UsageInfo as a5, type BoardsResponse as a6, type BuildWorkspaceRequest as a7, type BuildWorkspaceResponse as a8, type BuilderResponse as a9, type ChatFilterRuleFormData as aA, type ChatFormData as aB, type ChatLabelResponse as aC, type ChatLabelFormData as aD, type ChatMessage as aE, type ChatMessageChunk as aF, type ChatMessageObject as aG, type ChatModelResponse as aH, type ChatNoteSyncConfig as aI, type ChatNoteSyncFilters as aJ, type ChatParticipantResponse as aK, type ChatParticipantFormData as aL, type ChatState as aM, type ChatTokenUsageResponse as aN, type ChatType as aO, type ChildTaskResponse as aP, type ChildTaskFormData as aQ, type CleanupChatsResponse as aR, type ClientWorkspace as aS, type ColumnsResponse as aT, type CompareWithStripeResponse as aU, type ConflictPolicy as aV, type ConflictPolicyMode as aW, type ConfluenceConnectionResponse as aX, type ConnectionMultiplicity as aY, type ConnectionSyncConfig as aZ, ConsentMethod as a_, type BuilderListResponse as aa, BuildersApi as ab, type BusinessHoursDay as ac, type BusinessProfile as ad, type BusinessProfileEvaluationStatus as ae, type BusinessProfileResponse as af, type BusinessProfileStatus as ag, CELApi as ah, type CELContextRequest as ai, type CELContextResponse as aj, type CELFunction as ak, type CELVariable as al, CHAT_TYPES as am, type CalendarBookingAbilityConfig as an, type Channel as ao, type CharlestonPmdAbilityConfig as ap, type CharlestonPmdManualEscalationContact as aq, type ChatResponse as ar, type ChatAIModel as as, type ChatActivityEvent as at, type ChatCompletionError as au, type ChatFilterResponse as av, type ChatFilterFilterType as aw, type ChatFilterFormData as ax, type ChatFilterObjectType as ay, type ChatFilterRuleResponse as az, type AIUsageReportParams as b, type EncounterSyncRunResponse as b$, type ConversationHistoryAbilityConfig as b0, type ConvertedFileResponse as b1, type CreateAccessGrantRequest as b2, type CreateAppConnectionRequest as b3, type CreateAppRequest as b4, type CreateAssignmentFormData as b5, type CreateBuilderRequest as b6, type CreateDiscordBotRequest as b7, type CreateFhirConnectionRequest as b8, type CreateInquiryRequest as b9, type CustomToolkitUpdateFormData as bA, type DataAccessAbilityConfig as bB, type DataAccessGrantInterrupt as bC, type DataTypeExport as bD, type DayAggregatedData as bE, type DayCallAggregatedData as bF, type DiscordBot as bG, type DiscordBotAccount as bH, type DiscordBotResponse as bI, type DiscordBotSortField as bJ, type DiscordGuild as bK, type DiscordRespondMode as bL, type DiscordThread as bM, type DisplayFileLabelResponse as bN, type DisplayFileResponse as bO, type DomainMapping as bP, DriverMode as bQ, type EmailResponse as bR, type EmailAttachmentResponse as bS, type ConvertedEmailResponse as bT, type EmailDisableResponse as bU, type EmailDnsRecord as bV, type EmailDomainConfig as bW, type EmailDomainConfigGetResponse as bX, type EmptyAbilityConfig as bY, type EncounterSyncDataTypeSummary as bZ, type EncounterSyncHistoryItem as b_, type CreateMemberFieldRequest as ba, type CreateOperatorGroupRequest as bb, type CreateOrganizationInvitationFormData as bc, type CreatePersonaRequest as bd, type CreatePhoneVoiceOutboundChatInput as be, type CreateProductRequest as bf, type CreatePronunciationEntryFormData as bg, type CreateScenarioRequest as bh, type CreateSlackAppRequest as bi, type CreateTeamsAppRequest as bj, type CreateWorkflowContributorRequest as bk, type CreateWorkflowFromTemplateFormData as bl, type CreateWorkspaceInvitationFormData as bm, type CredentialProvider as bn, type CriterionInput as bo, type CriterionResultResponse as bp, CriterionType as bq, type CustomTool as br, type CustomToolExport as bs, type CustomToolFormData as bt, type CustomToolResponse as bu, type CustomToolUpdateFormData as bv, type CustomToolkit as bw, type CustomToolkitExport as bx, type CustomToolkitFormData as by, type CustomToolkitResponse as bz, type AbilityConfig as c, type ForwardingNumberDef as c$, type EncounterSyncStatusResponse as c0, type EnhancedAuthHandler as c1, type EnrichInquiryRequest as c2, type EntitySyncConfig as c3, type EscalationAbilityConfig as c4, type EventRuleExport as c5, type ExecuteToolResponse as c6, FeatureCategory as c7, type FeatureDefinition as c8, type FeatureStatusValue as c9, type FileAssociationFormData as cA, type FileExport as cB, type FileExportItem as cC, type FileFolderResponse as cD, type FileFolderExport as cE, type FileFolderFormData as cF, type FileFolderRelation as cG, type FileFormData as cH, type FileLabelResponse as cI, type FileLabelExport as cJ, type FileLabelFormData as cK, type FileLabelRelation as cL, type FileResponse as cM, type FileRoleAssociationResponse as cN, type FileSharingResponse as cO, type FileUploadRequest as cP, type FileUploadResponse as cQ, type FileWithAccessMode as cR, type FileWithAccessModeFormData as cS, type FilesQueryParams as cT, type FirstRunMode as cU, type FirstRunState as cV, type FolderAccessEntry as cW, type FolderMemberRoleRelation as cX, type FolderSearchParams as cY, type FolderSearchResultResponse as cZ, type FolderSharingResponse as c_, FeatureVisibility as ca, type FeaturesResponse as cb, FhirClientType as cc, type FhirConnection as cd, type FhirConnectionResponse as ce, type FhirConnectionSortField as cf, FhirConnectionState as cg, type FhirCreateEncounterRequest as ch, type FhirCsvColumnMeta as ci, type FhirCsvIdentifierKind as cj, type FhirCsvImportRowStatus as ck, type FhirCsvImportRunItem as cl, type FhirCsvImportRunStatus as cm, type FhirCsvImportRunSummary as cn, type FhirCsvImportSettings as co, type FhirCsvInspectResponse as cp, type FhirFetchCareTeamRequest as cq, type FhirFetchEncountersRequest as cr, type FhirMethodResponse as cs, type FhirSearchLocationsRequest as ct, type FhirSearchPatientsRequest as cu, type FhirSearchPractitionersRequest as cv, FhirVendor as cw, type File$1 as cx, type FileAccessAbilityConfig as cy, type FileAccessEntry as cz, type AbilityConfigIssue as d, type InquiryListResponse as d$, type FunctionTool as d0, type GenerateSummariesResponse as d1, type AccessGrantResponse$1 as d2, type AppListResponse$1 as d3, type CustomToolResponse$1 as d4, type CustomToolkitResponse$1 as d5, type DiscordBotResponse$1 as d6, type FhirConnectionResponse$1 as d7, type FileResponse$1 as d8, type FileSharingResponse$1 as d9, type HubSpotSyncSettingsRequest as dA, type HubSpotSyncSettingsResponse as dB, type HubSpotTaskPriority as dC, type HubSpotTaskStatus as dD, type HubSpotTaskSyncConfig as dE, type HubspotConnectionResponse as dF, type HumanChatParticipant as dG, type ImageUrlContent as dH, type ImportHubSpotMembersRequest as dI, type ImportHubSpotMembersResponse as dJ, type ImportHubSpotRecordRequest as dK, type ImportPreviewItem as dL, type ImportSalesforceMembersRequest as dM, type ImportSalesforceMembersResponse as dN, type ImportSalesforceRecordRequest as dO, type ImportedMemberResult as dP, type ImportedSalesforceMemberResult as dQ, type Inbox as dR, type InboxCreateRequest as dS, type InboxExport as dT, type InboxMapping as dU, type InboxMappingResponse as dV, type InboxUpdateRequest as dW, type IncomingInteraction as dX, type InitiateCallRequest as dY, type InitiateCallResponse as dZ, type InquiryResponse as d_, type FolderSharingResponse$1 as da, type InvitationListResponse$1 as db, type MilestoneGoalResponse$1 as dc, type SiteResponse$1 as dd, type SlackAppResponse$1 as de, type TaskResponse$1 as df, type VoiceModelResponse$1 as dg, type WorkflowResponse$1 as dh, type GetChatsOptions as di, type GmailAbilityConfig as dj, GravityRailClient as dk, type GroupsResponse as dl, type HITLActionRequest as dm, type HITLDecision as dn, type HITLRequest as dp, type HITLResponse as dq, type HITLReviewConfig as dr, type HealthieConnectionResponse as ds, type HubSpotNoteSyncConfig as dt, type HubSpotPropertyDefinition as du, type HubSpotPropertyOption as dv, type HubSpotSearchRequest as dw, type HubSpotSearchResponse as dx, type HubSpotSearchResult as dy, type HubSpotSearchResultMatch as dz, AbilityConfigIssueCode as e, type MilestoneGoal as e$, type InquiryStatus as e0, type InquiryType as e1, type InteractionAccepted as e2, type InteractionTimedOut as e3, type Invitation as e4, type InvitationAcceptedResponse as e5, type InvitationDetails as e6, type InvitationListResponse as e7, type InvitationResponse as e8, InvitationStatus as e9, type McpTestConnectionResponse as eA, type McpToolResponse as eB, MemberFeature as eC, type MemberFieldVerificationAbilityConfig as eD, type MemberFilterExport as eE, type MemberFilterRuleExport as eF, type MemberLabelExport as eG, type MemberRoleDataTypeRelation as eH, type MemberRoleExport as eI, type MemberRoleInboxRelation as eJ, type MemberRoleSiteRelation as eK, type MemberRoleTaskRelation as eL, type MenuItemResponse as eM, type MenuItemExport as eN, type MenuItemFormData as eO, MenuItemResponseItemType as eP, type MenuTreeResponse as eQ, type MessageContentPart as eR, type MessageRole as eS, type MessageTimingResponse as eT, type MessageTokenUsageResponse as eU, type MilestoneResponse as eV, type MilestoneAnalytics as eW, type MilestoneCreateRequest as eX, type MilestoneDeleteResponse as eY, type MilestoneExport as eZ, type MilestoneFormData as e_, type JsonSchema as ea, type JsonSchemaProperty as eb, type LinkablePhone as ec, type ListInvitationsParams as ed, type LiveOperatorEntry as ee, type LiveOperatorsResponse as ef, type LoadedSkill as eg, type ManagedAutomationConfig as eh, type ManagedAutomationPriority as ei, type ManagedAutomationStatus as ej, type ManagedRuleStatus as ek, type MatchStrategy as el, type MatchStrategyMode as em, type McpPromptArgumentResponse as en, type McpPromptResponse as eo, type McpResourceResponse as ep, type McpServerResponse as eq, type McpServerAuthRequired as er, type McpServerExport as es, type McpServerFormData as et, type McpServerPromptsResponse as eu, type McpServerResourcesResponse as ev, McpServerState as ew, type McpServerToolResponse as ex, type McpServerToolsResponse as ey, type McpServerUpdateFormData as ez, AbilityConfigIssueSeverity as f, type PhoneAggregatedData as f$, type MilestoneGoalExport as f0, type MilestoneGoalFormData as f1, type MilestoneGoalProgress as f2, type MilestoneGoalResponse as f3, type MilestoneProgress as f4, type MilestoneTimeline as f5, type MilestoneTimelineItem as f6, type MilestoneUpdateRequest as f7, type MilestonesQueryParams as f8, ModelProvider as f9, type OperatorGroupMemberResponse as fA, type OperatorGroupMemberInput as fB, type OperatorGroupResponse as fC, type OperatorLiveStatus as fD, type OperatorTaskDetailResponse as fE, type OrgAccessDeniedData as fF, OrgApi as fG, type OrgAuthHandler as fH, type OrgAuthInfo as fI, type OrgDomain as fJ, type OrgDomainCapabilityStatus as fK, type OrgDomainDnsRecordStatus as fL, type OrgDomainListResponse as fM, type OrgDomainOwnershipStatus as fN, type OrgDomainResponse as fO, OrgFeature as fP, type OrganizationInvitationListResponse as fQ, type OutboundCallRequest as fR, type OutboundCallResponse as fS, type OwnershipDnsRecord as fT, type PageResponse as fU, type PageExport as fV, type PageFormData as fW, type PagesQueryParams as fX, type PaginatedSubscriptionsResponse as fY, type Persona as fZ, type PersonaResponse as f_, type ModelState as fa, ModelType as fb, type ModelUsageResponse as fc, type ModelUsageStats as fd, type MondayBoard as fe, type MondayColumn as ff, type MondayColumnSettings as fg, type MondayConnectionResponse as fh, type CurrentUserInfoResponse as fi, type MondayGroup as fj, type MondayStatusLabel as fk, NO_ASSISTANT_PARTICIPANT_CHAT_TYPES as fl, type Notice as fm, type NoticesResponse as fn, type NotificationResponse as fo, type NotificationRule as fp, type NotificationRuleCreate as fq, type NotificationRuleResponse as fr, type NotificationRuleUpdate as fs, type OAuthAuthorizeResponse as ft, type OAuthConnectionStatus as fu, type OAuthProviderSlug as fv, ORG_ONLY_RESOURCES as fw, type OperatorChatParticipant as fx, type OperatorChildTaskDetail as fy, type OperatorGroup as fz, type AbilityResponse as g, type ResolveGrantRequest as g$, type PhoneCallResponse as g0, type PhoneCallAggregatedData as g1, type PhoneCallToolsAbilityConfig as g2, type PhoneNumberResponse as g3, type PhoneNumberExport as g4, type PhoneNumberFormData as g5, type PhoneUsageReport as g6, type PhoneUsageReportParams as g7, type PhoneUsageRow as g8, type PlanComparisonResult as g9, ProductType as gA, type PronunciationEntryResponse as gB, type PronunciationImportEntry as gC, type PronunciationImportResult as gD, type ProviderPhoneNumberResponse as gE, type ProviderUsageSummary as gF, type PublicFileMetadata as gG, type PublicFolderContents as gH, type PublicOrganizationConfig as gI, type PublicSSOConfig as gJ, type PublicWorkspaceResponse as gK, type QualificationResponse as gL, type QualificationExport as gM, REALTIME_MODEL_CUSTOM as gN, REALTIME_MODEL_GEMINI as gO, REALTIME_MODEL_GEMINI_VERTEX as gP, REALTIME_MODEL_NOVA_SONIC as gQ, REALTIME_MODEL_OPENAI as gR, REALTIME_MODEL_OPENAI_2 as gS, REALTIME_MODEL_OPENAI_MINI as gT, type RealtimeAIModel as gU, type RealtimeChatError as gV, type RealtimeModelResponse as gW, type RecommendedVoiceResponse as gX, type RegistryVariable as gY, type RenderedPageResponse as gZ, type ReorderMenuItemsData as g_, type PlanConfig as ga, type PlatformAppConnectionResponse as gb, type PlatformUsageData as gc, type PresenceAcceptInteractionMessage as gd, type PresenceClientMessage as ge, type PresenceConfirmation as gf, type PresenceEndInteractionMessage as gg, type PresenceError as gh, type PresenceGoLiveMessage as gi, type PresenceGoOfflineMessage as gj, type PresenceHeartbeatMessage as gk, type PresenceLoginAck as gl, type PresenceLoginMessage as gm, type PresenceRejectInteractionMessage as gn, type PresenceServerMessage as go, type PresenceStatusResponse as gp, type PresenceTakenOverAckMessage as gq, type Product as gr, type ProductFeature as gs, type ProductFeatureKey as gt, type ProductImage as gu, type ProductLimits as gv, type ProductLink as gw, type ProductMetadata as gx, type LocalPlanData as gy, type ProductPlans as gz, type AbilityTypeResponse as h, type SlackAppInstallation as h$, Resource as h0, type ResourceOverage as h1, type RevokeGrantRequest as h2, type RoleAssociationEntry as h3, type RoutineExport as h4, type RoutingStrategy as h5, type RuleExecutionResponse as h6, type RuleExecutionStatus as h7, type SMSDeliveryFailureStatus as h8, type SMSDeliveryStatus as h9, type ScenarioCriterionExport as hA, type ScenarioCriterionResponse as hB, type ScenarioDataRecord as hC, type ScenarioExport as hD, type ScenarioResponse as hE, type ScopesListResponse as hF, type SendSMSAbilityConfig as hG, type SessionTakeover as hH, type SetupStep as hI, type SharingGrantEntry as hJ, type Site as hK, type SiteCountsResponse as hL, type SiteDisableResponse as hM, type SiteDnsRecord as hN, type SiteDomainConfig as hO, type SiteDomainConfigGetResponse as hP, type SiteExport as hQ, type SiteFormData as hR, type SiteMapping as hS, type SiteMappingFormData as hT, type SiteResponse as hU, type SiteSignupResponse as hV, type SiteSlugAvailability as hW, type SkillsResponse as hX, type SkillsState as hY, type SlackAccount as hZ, type SlackApp as h_, type SMSMessageResponse as ha, type SMSMessageDef as hb, type SMSUsageReport as hc, type SMSUsageReportParams as hd, type SMSUsageRow as he, SMS_DELIVERY_FAILURE_STATUSES as hf, type STTAIModel as hg, type STTModelResponse as hh, type STTProviderSummary as hi, type STTUsageRow as hj, STT_MODEL_DEEPGRAM_FLUX as hk, STT_MODEL_DEEPGRAM_FLUX_MULTI as hl, STT_MODEL_ELEVENLABS_SCRIBE as hm, type SalesforceConnectionResponse as hn, type SalesforceDataRecordObjectMapping as ho, type SalesforceLabelSyncMode as hp, type SalesforceSearchObjectType as hq, type SalesforceSearchRequest as hr, type SalesforceSearchResponse as hs, type SalesforceSearchResult as ht, type SalesforceSearchResultMatch as hu, type SalesforceSyncConfig as hv, type SalesforceSyncConfigResponse as hw, type SalesforceSyncSettings as hx, type Scenario as hy, type ScenarioCriterion as hz, type AbilityTypeSlug as i, type TaskChildRelation as i$, type SlackAppResponse as i0, type SlackAppSortField as i1, type SlackRespondMode as i2, type SlackSlashCommandConfigResponse as i3, type SlackThread as i4, type SlashCommandConfigResponse as i5, type SpamScore as i6, type StartTestChatRunRequest as i7, type StartTestChatRunResponse as i8, type StripeAddress$1 as i9, type SyncLogEntry as iA, type SyncLogsResponse as iB, type SyncProductToStripeRequest as iC, type SyncProductToStripeResponse as iD, type SyncRule as iE, type SyncRuleInbound as iF, type SyncRuleInboundTargetType as iG, type SyncRuleOutbound as iH, type SyncRunMode as iI, type SyncRunRequest as iJ, type SyncRunResponse as iK, type TTSAIModel as iL, type TTSModelResponse as iM, type TTSPreviewRequest as iN, type TTSProviderSummary as iO, type TTSUsageRow as iP, TTS_MODEL_AWS_POLLY_GENERATIVE as iQ, TTS_MODEL_AWS_POLLY_NEURAL as iR, TTS_MODEL_DEEPGRAM_AURA_2 as iS, TTS_MODEL_ELEVENLABS_FLASH as iT, TTS_MODEL_ELEVENLABS_MULTILINGUAL as iU, TTS_MODEL_ELEVENLABS_TURBO as iV, TTS_MODEL_POCKET as iW, type Task as iX, type TaskAssignmentStatsResponse as iY, type TaskChatResponse as iZ, type TaskChatsListResponse as i_, type StripeCardDetails as ia, type StripeComparisonResult as ib, type StripeCustomerResponse as ic, type StripeCustomerCreateRequest as id, type StripeCustomerUpdateRequest as ie, type StripePaymentMethod as ig, type StripePlanDetail as ih, type StripePriceData as ii, type StripeProductData as ij, type StripeShipping$1 as ik, type StripeSubscriptionCreateRequest as il, type StripeSubscriptionUpdateRequest as im, type StripeTax as io, type StripeUSBankAccountDetails as ip, type Subscription as iq, type SubscriptionUpdateRequest as ir, type SupervisorAbilityConfig as is, type SupervisorActionsAbilityConfig as it, type SupervisorFormData as iu, SupervisorsApi as iv, type SyncCapabilities as iw, type SyncCapabilitiesResponse as ix, type SyncCheckpoint as iy, type SyncEntityType as iz, AbilityTypeSlugs as j, type UpdateInquiryRequest as j$, type TaskDataTypeRelation as j0, type TaskEventRuleRelation as j1, type TaskExport as j2, type TaskExportChildRelation as j3, type TaskExportFileRelation as j4, type TaskFileRelation as j5, type TaskFormData as j6, type TaskResponse as j7, type TasksQueryParams as j8, type TeamsAccountResponse as j9, type ToolCall as jA, type ToolCallFunction as jB, type ToolInputSchema as jC, type ToolResponse as jD, type ToolResult as jE, type ToolType as jF, type Toolkit as jG, type ToolkitsAbilityConfig as jH, type ToolkitsResponse as jI, type ToolsResponse as jJ, type TransformPreset as jK, type TriggerConnectionBackfillRequest as jL, type TriggerPatientRefreshRequest as jM, type TruncationReason as jN, type UnauthorizedSiteResponse as jO, type UnmappedPhoneNumber as jP, type UpdateAppConnectionRequest as jQ, type UpdateAppRequest as jR, type UpdateAssignmentFormData as jS, type UpdateBuilderRequest as jT, type UpdateBusinessProfileRequest as jU, type UpdateDiscordBotRequest as jV, type UpdateEncounterSyncRequest as jW, type UpdateFhirConnectionRequest as jX, type UpdateFhirCsvImportSettingsRequest as jY, type UpdateFileRoleAssociationsRequest as jZ, type UpdateFileSharingRequest as j_, type TeamsAppResponse as ja, type TeamsAppInstallationResponse as jb, type TeamsAppSortField as jc, type TeamsCommandConfigResponse as jd, type TeamsConversation as je, type TeamsConversationResponse as jf, type TeamsConversationType as jg, type TeamsRespondMode as jh, type TemplateContextRequest as ji, type TemplateContextResponse as jj, type TemplatePreviewRequest as jk, type TemplatePreviewResponse as jl, type TemplateVariable as jm, TemplatesApi as jn, type TestChatRunResponse as jo, type TestConnectionResponse as jp, type TextContent as jq, type ThemeResponse as jr, type ThemeName as js, type ThemesListResponse as jt, type ThinkingSoundPreviewRequest as ju, type TipTapDocumentOutput as jv, type TodoItemResponse as jw, type TodoStatus as jx, type TodosResponse as jy, type Tool as jz, type AbilityTypesResponse as k, type WorkspaceGrantReason as k$, type UpdateInvitationFormData as k0, type UpdateMemberFieldRequest as k1, type UpdateOperatorGroupRequest as k2, type UpdatePersonaRequest as k3, type UpdatePronunciationEntryFormData as k4, type UpdateSalesforceSyncConfigRequest as k5, type UpdateScenarioRequest as k6, type UpdateSlackAppRequest as k7, type UpdateTeamsAppRequest as k8, type UpdateWorkflowContributorRequest as k9, type WorkflowNoteResponse as kA, type WorkflowNoteExport as kB, type WorkflowNoteFormData as kC, type WorkflowResponse as kD, type WorkflowRouteDryRunCandidate as kE, type WorkflowRouteDryRunResponse as kF, type WorkflowStartAutomationResponse as kG, type WorkflowTemplateResponse as kH, type WorkspaceResponse as kI, type WorkspaceAccessDeniedData as kJ, type WorkspaceAutoMapEntities as kK, type WorkspaceAvailableDomain as kL, type WorkspaceAvailableDomainsResponse as kM, type WorkspaceBuildPreview as kN, type WorkspaceBuilderExportData as kO, type WorkspaceBuilderInfo as kP, type WorkspaceBuilderListResponse as kQ, type WorkspaceBuilderTaskExport as kR, type WorkspaceBuilderWorkflowExport as kS, type WorkspaceCountsResponse as kT, type WorkspaceCreateNewEntities as kU, type WorkspaceSettingsResponse as kV, type WorkspaceDefaultsFormData as kW, type WorkspaceExportData as kX, WorkspaceFeature as kY, type WorkspaceFeatureInfo as kZ, type WorkspaceFormData as k_, type UploadFileData as ka, type UploadFileRequest as kb, type UsageDashboardResponse as kc, type UsageDiscrepancy as kd, type VariableRegistryRequest as ke, type VariableRegistryResponse as kf, type VoiceModel as kg, type VoiceModelResponse as kh, type VoiceUsageResponse as ki, type VoiceModelsResponse as kj, type VoiceTokenResponse as kk, type VoiceUsageReport as kl, type VoiceUsageReportParams as km, type WebSearchAbilityConfig as kn, type WebhookLogResponse as ko, type Workflow as kp, type WorkflowAccessGapSummary as kq, type WorkflowAccessValidationResponse as kr, type WorkflowAccessWarning as ks, WorkflowAccessWarningResourceType as kt, type WorkflowActivity as ku, type WorkflowConfigValidationResponse as kv, type WorkflowContributorResponse as kw, type WorkflowExport as kx, type WorkflowFormData as ky, type WorkflowMemberRoleAccessInput as kz, type AccessGrant as l, type BulkLinkSalesforceRequest as l$, type WorkspaceImportMapping as l0, type WorkspaceImportPreviewResponse as l1, type WorkspaceImportRequest as l2, type WorkspaceImportValidation as l3, type WorkspaceJoinRequest as l4, type WorkspaceJoinResponse as l5, WorkspaceProvisionStatus as l6, type WorkspaceScope as l7, type WorkspaceScopesResponse as l8, type WorkspaceStatsResponse as l9, type AdminWorkspaceResponse as lA, type AdminWorkspaceFormData as lB, type AdvanceStepFormData as lC, type AgentTaskMessageResponse as lD, type AgentTaskMode as lE, type AgentTaskResponse as lF, type AgentTaskStatus as lG, AgentTasksApi as lH, type AgentTasksBindings as lI, AgentsApi as lJ, type AgentsBindings as lK, ApiKeysApi as lL, type ApiModules as lM, AppConnectionsApi as lN, type AppsBindings as lO, type ArchiveBlockersResponse as lP, type AssignmentSource as lQ, type AssignmentSummary as lR, AssignmentsApi as lS, type AttachSupportRequestResourceRequest as lT, AuthApi as lU, type AuthBindings as lV, type AvailablePhoneNumberResponse as lW, type BillingBindings as lX, type BillingPeriodResponse as lY, type BulkLinkHubspotRequest as lZ, type BulkLinkMondayRequest as l_, areDependenciesSatisfied as la, clearRegistry as lb, createWorkspaceClient as lc, getAllFeatures as ld, getAvailableFeaturesForUpgrade as le, getCookieValue as lf, getFeature as lg, getFeaturesByCategory as lh, getFeaturesByVisibility as li, getMissingDependencies as lj, initializeFeatures as lk, isChatType as ll, isFeatureAvailable as lm, isRegistryInitialized as ln, isSMSDeliveryFailureStatus as lo, requiresAssistantParticipant as lp, usesBuiltinAssistant as lq, validateFeatureDependencies as lr, type A2PStatus as ls, AIModelsApi as lt, AbilitiesApi as lu, AccessGrantsApi as lv, type AccessGrantsBindings as lw, type AdminInboxMappingRequest as lx, type AdminSiteMappingResponse as ly, type AdminUpdateProductRequest as lz, type AccessGrantDecision as m, FeaturesApi as m$, CalendarsApi as m0, type CalendarsBindings as m1, CallsApi as m2, type CallsBindings as m3, type CancelAgentTaskResponse as m4, type ChatEmailsResponse as m5, type ChatSummary as m6, ChatsApi as m7, type ChatsBindings as m8, type CloseSupportRequestRequest as m9, type CustomerResponse as mA, CustomersApi as mB, type CustomersBindings as mC, DataTypesApi as mD, type DataTypesBindings as mE, type DependencyManifest as mF, type DependencyStatusResponse as mG, type DiffChangeResponse as mH, type DirectSubscriptionCreateRequest as mI, DiscordBotsApi as mJ, type EnrollMemberFormData as mK, EventsApi as mL, type EventsBindings as mM, type Experiment as mN, type ExperimentAssignmentCreateData as mO, type ExperimentAssignmentUpdateData as mP, type ExperimentFormData as mQ, type ExperimentGroup as mR, type ExperimentGroupFormData as mS, type ExperimentGroupStats as mT, type ExperimentGroupUpdateData as mU, type ExperimentStatCount as mV, type ExperimentStats as mW, type ExperimentStatus as mX, type ExperimentUpdateData as mY, ExperimentsApi as mZ, type ExperimentsBindings as m_, type CommunicationsBindings as ma, type ConfigureConfluenceRequest as mb, type ConfigureHealthieRequest as mc, type ConfigureHubspotRequest as md, type ConfigureSalesforceRequest as me, ConfluenceApi as mf, type ConfluenceConnectionStatus as mg, type ConfluencePagesResponse as mh, type ConfluenceSpacesResponse as mi, ConnectionSyncApi as mj, type CreateCustomerRequest as mk, type CreateOutboundSupportRequestRequest as ml, type CreateResellerRequest as mm, type CreateSupportRequestCommentRequest as mn, type CreateSupportRequestNoteRequest as mo, type CreateSupportRequestRequest as mp, type CreditBalance as mq, type CreditGrant as mr, type CreditGrantListResponse as ms, type CreditGrantStatus as mt, type CreditGrantSummary as mu, type CreditGrantType as mv, CustomToolkitsApi as mw, type Customer as mx, type CustomerAccount as my, type CustomerAccountRole as mz, type AccessGrantInterrupt as n, type LinkedSalesforceMember as n$, FhirConnectionsApi as n0, type FhirLinkedMember as n1, type FieldChangeResponse as n2, FilesApi as n3, type FilesBindings as n4, type GenerateInvoiceRequest as n5, type AdminSiteMappingResponse$1 as n6, type CustomerResponse$1 as n7, type InboxResponse$1 as n8, type JourneyResponse$1 as n9, type JourneyHealthResponse as nA, type JourneyNoteResponse as nB, type JourneyNoteFormData as nC, type JourneyResponse as nD, type JourneyStatus as nE, type JourneyStepResponse as nF, type JourneyStepConnectionResponse as nG, type JourneyStepConnectionFormData as nH, type JourneyStepFormData as nI, type JourneyTestRunConnectionResult as nJ, type JourneyTestRunResponse as nK, type JourneyTestRunStepResult as nL, JourneysApi as nM, type JourneysBindings as nN, LIMIT_ONLY_RESOURCES as nO, type LinkCalendarToHealthieRequest as nP, type LinkCalendarToHealthieResponse as nQ, type LinkCustomerAccountRequest as nR, type LinkMemberToHealthieRequest as nS, type LinkMemberToHubspotRequest as nT, type LinkMemberToMondayRequest as nU, type LinkMemberToSalesforceRequest as nV, type LinkResellerAccountRequest as nW, type LinkedHealthieMember as nX, type LinkedHubspotMember as nY, type LinkedMondayMember as nZ, type LinkedMondayRecord as n_, type MemberJourneyResponse$1 as na, type MemberJourneyStepResponse$1 as nb, type OrgA2PStatusResponse$1 as nc, type OrgWorkspaceResponse$1 as nd, type ProductResponse$1 as ne, type ResellerResponse$1 as nf, type SubscriptionResponse as ng, type SupportRequestListResponse$1 as nh, type GetAgentTaskMessagesParams as ni, HealthieApi as nj, type HealthieConnectionStatus as nk, type HealthieProvider as nl, type HealthieReconciliationMatch as nm, HubspotApi as nn, type HubspotConnectionStatus as no, type HubspotReconciliationMatch as np, type InboxResponse as nq, type InboxRules as nr, InboxesApi as ns, InquiriesApi as nt, type IntegrationsBindings as nu, type InvoiceResponse as nv, type Journey as nw, type JourneyFormData as nx, type JourneyGoalResponse as ny, type JourneyGoalFormData as nz, AccessGrantResourceType as o, type ResourceDependency as o$, type ListAgentTasksParams as o0, McpServersApi as o1, type MemberExperimentAssignment as o2, type MemberJourney as o3, type MemberJourneyGoalResponse as o4, type MemberJourneyResponse as o5, type MemberJourneyStatus as o6, type MemberJourneyStep as o7, type MemberJourneyStepResponse as o8, type MemberJourneyStepStatus as o9, type OrgWorkspaceResponse as oA, type OutboundResourceInput as oB, PersonasApi as oC, type PersonasBindings as oD, type PhoneCallStatus as oE, PhoneNumbersApi as oF, type PlanInfo as oG, type ProductResponse as oH, PromptsApi as oI, type PromptsBindings as oJ, PronunciationsApi as oK, type PronunciationsBindings as oL, type PublishVersionRequest as oM, type PurchasePhoneNumberRequest as oN, QualificationsApi as oO, type QualificationsBindings as oP, type RecordPaymentRequest as oQ, type RecordResourceClickRequest as oR, type ReenrollMemberFormData as oS, ReportsApi as oT, type Reseller as oU, type ResellerAccount as oV, type ResellerAccountRole as oW, type ResellerResponse as oX, ResellersApi as oY, type ResellersBindings as oZ, type ResolveResourceMappingRequest as o_, type MemberSyncSummary as oa, MembersApi as ob, type MembersBindings as oc, MilestonesApi as od, type MondayConnectionStatus as oe, type MondayImportRequest as of, type MondayImportResponse as og, MondayIntegrationApi as oh, type MondayReconciliationMatch as oi, type MondaySyncConfigResponse as oj, type MyCustomerResponse as ok, type MyResellerResponse as ol, NotificationRulesApi as om, OAuthApi as on, OAuthConnectionsApi as oo, OperatorApi as op, type OperatorBindings as oq, type OrgA2PBrandStatus as or, type OrgA2PStatus as os, type OrgA2PStatusResponse as ot, type OrgBindings as ou, type OrgCreateWorkspaceFormData as ov, type OrgJoinWorkspaceRequest as ow, type OrgJoinWorkspaceResponse as ox, type OrgWorkspace as oy, type OrgWorkspaceFormData as oz, type AccessGrantResponse as p, type VoicemailResponse as p$, type ResourceMappingResponse as p0, SalesforceApi as p1, type SalesforceConnectionStatus as p2, type SalesforceReconciliationMatch as p3, SitesApi as p4, type SitesBindings as p5, type SkipStepFormData as p6, SlackAppsApi as p7, type StepMemberResponse as p8, type StepMemberCountResponse as p9, type SyncRunSource as pA, type SyncRunStatus as pB, type SyncRunSummary as pC, type SyncRunUniqueFieldConflict as pD, TERMINAL_TASK_STATES as pE, type TaskSnapshot as pF, TasksApi as pG, type TasksBindings as pH, TeamsAppsApi as pI, type ThreadEmailsResponse as pJ, type TokenRequest as pK, type TokenResponse as pL, ToolkitsApi as pM, type ToolkitsBindings as pN, type TranscriptionStatus as pO, type UnenrollMemberFormData as pP, type UpdateCustomerRequest as pQ, type UpdateResellerRequest as pR, type UpdateSupportRequestAttributesRequest as pS, type UpdateSupportRequestStatusRequest as pT, type UpdateVersionRequest as pU, type ValidateNameResponse as pV, type ValidateWorkflowNameRequest as pW, type VersionLabel as pX, type VersionDiffSummary as pY, VoiceApi as pZ, type Voicemail as p_, type SubscriptionItemResponse as pa, type SubscriptionItemPriceType as pb, SubscriptionsApi as pc, type SupportRequest as pd, type SupportRequestClientContext as pe, type SupportRequestContextPayload as pf, type SupportRequestDirection as pg, type SupportRequestListParams as ph, type SupportRequestListResponse as pi, type SupportRequestResourceResponse as pj, type SupportRequestResourceAuthor as pk, type SupportRequestResourceKind as pl, type SupportRequestResponse as pm, type SupportRequestServerContext as pn, type SupportRequestSeverity as po, type SupportRequestSource as pp, type SupportRequestStatus as pq, type SupportRequestType as pr, type SupportRequestUpdateResponse as ps, type SupportRequestUpdateRole as pt, type SupportRequestUpdateType as pu, SupportRequestsApi as pv, type SupportRequestsBindings as pw, type SyncDirection as px, type SyncItemStatus as py, type SyncRunItemDetail as pz, AccessGrantStatus as q, type VoicemailStatus as q0, type WorkflowBlockerResponse as q1, type WorkflowContributorSnapshot as q2, WorkflowNotesApi as q3, type WorkflowVersionDetailResponse as q4, type WorkflowVersionDiffResponse as q5, type WorkflowVersionListResponse as q6, type WorkflowVersionResponse as q7, type WorkflowVersionSnapshot as q8, WorkflowsApi as q9, bindPronunciationsMethods as qA, bindQualificationsMethods as qB, bindResellersMethods as qC, bindSitesMethods as qD, bindSupportRequestMethods as qE, bindTasksMethods as qF, bindToolkitsMethods as qG, bindWorkflowsMethods as qH, bindWorkspacesMethods as qI, createApiModules as qJ, parseExperimentStatCount as qK, type WorkflowsBindings as qa, WorkspaceInvitationsApi as qb, WorkspacesApi as qc, type WorkspacesBindings as qd, bindAccessGrantsMethods as qe, bindAgentTasksMethods as qf, bindAgentsMethods as qg, bindAppsMethods as qh, bindAuthMethods as qi, bindBillingMethods as qj, bindCalendarsMethods as qk, bindCallsMethods as ql, bindChatsMethods as qm, bindCommunicationsMethods as qn, bindCustomersMethods as qo, bindDataTypesMethods as qp, bindEventsMethods as qq, bindExperimentsMethods as qr, bindFilesMethods as qs, bindIntegrationsMethods as qt, bindJourneysMethods as qu, bindMembersMethods as qv, bindOperatorMethods as qw, bindOrgMethods as qx, bindPersonasMethods as qy, bindPromptsMethods as qz, AccessGrantTrigger as r, type AddGroupMemberRequest as s, type AdminBulkWorkflowAccessValidationResponse as t, type AdminChatResponse as u, type AdminChatDetailResponse as v, type AdminChatsOptions as w, type AdminWorkspaceAccessGapSummary as x, type AgentChatParticipant as y, type AgentExport as z };
|
|
16045
|
+
export { type AudioMessageMetadata as $, type Ability as A, type AdminChatsOptions as B, type ChatModelsResponse as C, type AdminWorkspaceAccessGapSummary as D, type AgentChatParticipant as E, type AgentExport as F, type GravityRailWorkspaceClient as G, type AllModelsResponse as H, ApiError as I, type ApiScope as J, type ApiValidationError as K, type App as L, type ModelMetadataResponse as M, type AppBuilder as N, type AppConnectionAccessInterrupt as O, type AppConnectionDirectoryEntry as P, type AppConnectionDirectoryResponse as Q, type AppConnectionItem as R, type AppConnectionType as S, type AppCredentialResponse as T, type AppListResponse as U, type AppResponse as V, AppsApi as W, type AssignmentResponse as X, type AssignmentStatusType as Y, type AssignmentTaskResponse as Z, type AssignmentsQueryParams as _, type A2PBrandEnrollmentUrlResponse as a, type ConflictPolicy as a$, type AudioPlaybackAbilityConfig as a0, type AudioPlaybackFileEntry as a1, type AuthorizeRequest as a2, type AuthorizeResponse as a3, type AvailableMemberRole as a4, BUILTIN_ASSISTANT_CHAT_TYPES as a5, BaseApiClient as a6, type BillingPlanInfo as a7, type ResourceCounts as a8, type UsageInfo as a9, type ChatFilterFilterType as aA, type ChatFilterFormData as aB, type ChatFilterObjectType as aC, type ChatFilterRuleResponse as aD, type ChatFilterRuleFormData as aE, type ChatFormData as aF, type ChatInterruptResponse as aG, type ChatLabelResponse as aH, type ChatLabelFormData as aI, type ChatMessage as aJ, type ChatMessageChunk as aK, type ChatMessageObject as aL, type ChatModelResponse as aM, type ChatNoteSyncConfig as aN, type ChatNoteSyncFilters as aO, type ChatParticipantResponse as aP, type ChatParticipantFormData as aQ, type ChatState as aR, type ChatTokenUsageResponse as aS, type ChatType as aT, type ChildTaskResponse as aU, type ChildTaskFormData as aV, type CleanupChatsResponse as aW, type ClientWorkspace as aX, type ColumnsResponse as aY, type CompareWithStripeResponse as aZ, type ConfigurePatientSyncRequest as a_, type BoardsResponse as aa, type BuildWorkspaceRequest as ab, type BuildWorkspaceResponse as ac, type BuilderResponse as ad, type BuilderListResponse as ae, BuildersApi as af, type BusinessHoursDay as ag, type BusinessProfile as ah, type BusinessProfileEvaluationStatus as ai, type BusinessProfileResponse as aj, type BusinessProfileStatus as ak, CELApi as al, type CELContextRequest as am, type CELContextResponse as an, type CELFunction as ao, type CELVariable as ap, CHAT_TYPES as aq, type CalendarBookingAbilityConfig as ar, type Channel as as, type CharlestonPmdAbilityConfig as at, type CharlestonPmdSimulationOutcome as au, type ChatResponse as av, type ChatAIModel as aw, type ChatActivityEvent as ax, type ChatCompletionError as ay, type ChatFilterResponse as az, type A2PCampaignConfigResponse as b, type ConvertedEmailResponse as b$, type ConflictPolicyMode as b0, type ConfluenceConnectionResponse as b1, type ConnectionMultiplicity as b2, type ConnectionSyncConfig as b3, ConsentMethod as b4, type ContributorAbilityConfig as b5, type ContributorChatParticipant as b6, type ConversationControlAbilityConfig as b7, type ConversationHistoryAbilityConfig as b8, type ConvertedFileResponse as b9, type CustomToolExport as bA, type CustomToolFormData as bB, type CustomToolResponse as bC, type CustomToolUpdateFormData as bD, type CustomToolkit as bE, type CustomToolkitExport as bF, type CustomToolkitFormData as bG, type CustomToolkitResponse as bH, type CustomToolkitUpdateFormData as bI, type DataAccessAbilityConfig as bJ, type DataAccessGrantInterrupt as bK, type DataTypeExport as bL, type DayAggregatedData as bM, type DayCallAggregatedData as bN, type DiscordBot as bO, type DiscordBotAccount as bP, type DiscordBotResponse as bQ, type DiscordBotSortField as bR, type DiscordGuild as bS, type DiscordRespondMode as bT, type DiscordThread as bU, type DisplayFileLabelResponse as bV, type DisplayFileResponse as bW, type DomainMapping as bX, DriverMode as bY, type EmailResponse as bZ, type EmailAttachmentResponse as b_, type CreateAccessGrantRequest as ba, type CreateAppConnectionRequest as bb, type CreateAppRequest as bc, type CreateAssignmentFormData as bd, type CreateBuilderRequest as be, type CreateDiscordBotRequest as bf, type CreateFhirConnectionRequest as bg, type CreateInquiryRequest as bh, type CreateMemberFieldRequest as bi, type CreateOperatorGroupRequest as bj, type CreateOrganizationInvitationFormData as bk, type CreatePersonaRequest as bl, type CreatePhoneVoiceOutboundChatInput as bm, type CreateProductRequest as bn, type CreatePronunciationEntryFormData as bo, type CreateScenarioRequest as bp, type CreateSlackAppRequest as bq, type CreateTeamsAppRequest as br, type CreateWorkflowContributorRequest as bs, type CreateWorkflowFromTemplateFormData as bt, type CreateWorkspaceInvitationFormData as bu, type CredentialProvider as bv, type CriterionInput as bw, type CriterionResultResponse as bx, CriterionType as by, type CustomTool as bz, type A2PEnrollmentSiteCandidate as c, type FilesQueryParams as c$, type EmailDisableResponse as c0, type EmailDnsRecord as c1, type EmailDomainConfig as c2, type EmailDomainConfigGetResponse as c3, type EmptyAbilityConfig as c4, type EncounterSyncDataTypeSummary as c5, type EncounterSyncHistoryItem as c6, type EncounterSyncRunResponse as c7, type EncounterSyncStatusResponse as c8, type EnhancedAuthHandler as c9, type FhirMethodResponse as cA, type FhirSearchLocationsRequest as cB, type FhirSearchPatientsRequest as cC, type FhirSearchPractitionersRequest as cD, FhirVendor as cE, type File$1 as cF, type FileAccessAbilityConfig as cG, type FileAccessEntry as cH, type FileAssociationFormData as cI, type FileExport as cJ, type FileExportItem as cK, type FileFolderResponse as cL, type FileFolderExport as cM, type FileFolderFormData as cN, type FileFolderRelation as cO, type FileFormData as cP, type FileLabelResponse as cQ, type FileLabelExport as cR, type FileLabelFormData as cS, type FileLabelRelation as cT, type FileResponse as cU, type FileRoleAssociationResponse as cV, type FileSharingResponse as cW, type FileUploadRequest as cX, type FileUploadResponse as cY, type FileWithAccessMode as cZ, type FileWithAccessModeFormData as c_, type EnrichInquiryRequest as ca, type EntitySyncConfig as cb, type EscalationAbilityConfig as cc, type EventRuleExport as cd, type ExecuteToolResponse as ce, FeatureCategory as cf, type FeatureDefinition as cg, type FeatureStatusValue as ch, FeatureVisibility as ci, type FeaturesResponse as cj, FhirClientType as ck, type FhirConnection as cl, type FhirConnectionResponse as cm, type FhirConnectionSortField as cn, FhirConnectionState as co, type FhirCreateEncounterRequest as cp, type FhirCsvColumnMeta as cq, type FhirCsvIdentifierKind as cr, type FhirCsvImportRowStatus as cs, type FhirCsvImportRunItem as ct, type FhirCsvImportRunStatus as cu, type FhirCsvImportRunSummary as cv, type FhirCsvImportSettings as cw, type FhirCsvInspectResponse as cx, type FhirFetchCareTeamRequest as cy, type FhirFetchEncountersRequest as cz, type A2PEnrollmentSiteCandidatesResponse as d, type ImportSalesforceMembersResponse as d$, type FirstRunMode as d0, type FirstRunState as d1, type FolderAccessEntry as d2, type FolderMemberRoleRelation as d3, type FolderPathSegment as d4, type FolderSearchParams as d5, type FolderSearchResultResponse as d6, type FolderSharingResponse as d7, type ForwardingNumberDef as d8, type FunctionTool as d9, type HITLActionRequest as dA, type HITLDecision as dB, type HITLRequest as dC, type HITLResponse as dD, type HITLReviewConfig as dE, type HealthieConnectionResponse as dF, type HubSpotNoteSyncConfig as dG, type HubSpotPropertyDefinition as dH, type HubSpotPropertyOption as dI, type HubSpotSearchRequest as dJ, type HubSpotSearchResponse as dK, type HubSpotSearchResult as dL, type HubSpotSearchResultMatch as dM, type HubSpotSyncSettingsRequest as dN, type HubSpotSyncSettingsResponse as dO, type HubSpotTaskPriority as dP, type HubSpotTaskStatus as dQ, type HubSpotTaskSyncConfig as dR, type HubspotConnectionResponse as dS, type HumanChatParticipant as dT, type ImageGenerationAbilityConfig as dU, type ImageUrlContent as dV, type ImportHubSpotMembersRequest as dW, type ImportHubSpotMembersResponse as dX, type ImportHubSpotRecordRequest as dY, type ImportPreviewItem as dZ, type ImportSalesforceMembersRequest as d_, type GenerateSummariesResponse as da, type AccessGrantResponse$1 as db, type AppListResponse$1 as dc, type CustomToolResponse$1 as dd, type CustomToolkitResponse$1 as de, type DiscordBotResponse$1 as df, type FhirConnectionResponse$1 as dg, type FileResponse$1 as dh, type FileSharingResponse$1 as di, type FolderSharingResponse$1 as dj, type InvitationListResponse$1 as dk, type MilestoneGoalResponse$1 as dl, type SiteResponse$1 as dm, type SlackAppResponse$1 as dn, type TaskResponse$1 as dp, type VoiceModelResponse$1 as dq, type WorkflowResponse$1 as dr, type GetChatsOptions as ds, type GmailAbilityConfig as dt, type GoogleCalendarAbilityConfig as du, type GoogleDriveAbilityConfig as dv, type GoogleWorkspaceAccessMode as dw, type GoogleWorkspaceIntegrationAbilityConfig as dx, GravityRailClient as dy, type GroupsResponse as dz, type AIUsageReport as e, type MemberRoleInboxRelation as e$, type ImportSalesforceRecordRequest as e0, type ImportedMemberResult as e1, type ImportedSalesforceMemberResult as e2, type Inbox as e3, type InboxCreateRequest as e4, type InboxExport as e5, type InboxMapping as e6, type InboxMappingResponse as e7, type InboxThreadResponse as e8, type InboxThreadsPageResponse as e9, type ManagedAutomationStatus as eA, type ManagedRuleStatus as eB, type MatchStrategy as eC, type MatchStrategyMode as eD, type McpPromptArgumentResponse as eE, type McpPromptResponse as eF, type McpResourceResponse as eG, type McpServerResponse as eH, type McpServerAuthRequired as eI, type McpServerExport as eJ, type McpServerFormData as eK, type McpServerPromptsResponse as eL, type McpServerResourcesResponse as eM, McpServerState as eN, type McpServerToolResponse as eO, type McpServerToolsResponse as eP, type McpServerUpdateFormData as eQ, type McpTestConnectionResponse as eR, type McpToolResponse as eS, MemberFeature as eT, type MemberFieldVerificationAbilityConfig as eU, type MemberFilterExport as eV, type MemberFilterRuleExport as eW, MemberImportValidationError as eX, type MemberLabelExport as eY, type MemberRoleDataTypeRelation as eZ, type MemberRoleExport as e_, type InboxUpdateRequest as ea, type IncomingInteraction as eb, type InitiateCallRequest as ec, type InitiateCallResponse as ed, type InquiryResponse as ee, type InquiryListResponse as ef, type InquiryStatus as eg, type InquiryType as eh, type InteractionAccepted as ei, type InteractionTimedOut as ej, type Invitation as ek, type InvitationAcceptedResponse as el, type InvitationDetails as em, type InvitationListResponse as en, type InvitationResponse as eo, InvitationStatus as ep, type JsonSchema as eq, type JsonSchemaProperty as er, type LinkA2PEnrollmentSiteRequest as es, type LinkablePhone as et, type ListInvitationsParams as eu, type LiveOperatorEntry as ev, type LiveOperatorsResponse as ew, type LoadedSkill as ex, type ManagedAutomationConfig as ey, type ManagedAutomationPriority as ez, type AIUsageReportParams as f, type OrgAuthHandler as f$, type MemberRoleSiteRelation as f0, type MemberRoleTaskRelation as f1, type MenuItemResponse as f2, type MenuItemExport as f3, type MenuItemFormData as f4, MenuItemResponseItemType as f5, type MenuTreeResponse as f6, type MessageContentPart as f7, type MessageRole as f8, type MessageTimingResponse as f9, type CurrentUserInfoResponse as fA, type MondayGroup as fB, type MondayStatusLabel as fC, NO_ASSISTANT_PARTICIPANT_CHAT_TYPES as fD, type Notice as fE, type NoticesResponse as fF, type NotificationResponse as fG, type NotificationRule as fH, type NotificationRuleCreate as fI, type NotificationRuleResponse as fJ, type NotificationRuleUpdate as fK, type OAuthAuthorizeResponse as fL, type OAuthConnectionStatus as fM, type OAuthProviderSlug as fN, ORG_ONLY_RESOURCES as fO, type OperatorChatParticipant as fP, type OperatorChildTaskDetail as fQ, type OperatorGroup as fR, type OperatorGroupMemberResponse as fS, type OperatorGroupMemberInput as fT, type OperatorGroupResponse as fU, type OperatorLiveStatus as fV, type OperatorTaskDetailResponse as fW, type OrgA2PBrandListResponse as fX, type OrgA2PBrandSummary as fY, type OrgAccessDeniedData as fZ, OrgApi as f_, type MessageTokenUsageResponse as fa, type MilestoneResponse as fb, type MilestoneAnalytics as fc, type MilestoneCreateRequest as fd, type MilestoneDeleteResponse as fe, type MilestoneExport as ff, type MilestoneFormData as fg, type MilestoneGoal as fh, type MilestoneGoalExport as fi, type MilestoneGoalFormData as fj, type MilestoneGoalProgress as fk, type MilestoneGoalResponse as fl, type MilestoneProgress as fm, type MilestoneTimeline as fn, type MilestoneTimelineItem as fo, type MilestoneUpdateRequest as fp, type MilestonesQueryParams as fq, ModelProvider as fr, type ModelState as fs, ModelType as ft, type ModelUsageResponse as fu, type ModelUsageStats as fv, type MondayBoard as fw, type MondayColumn as fx, type MondayColumnSettings as fy, type MondayConnectionResponse as fz, type AbilityConfig as g, type ProvisionA2PEnrollmentSiteRequest as g$, type OrgAuthInfo as g0, type OrgDomain as g1, type OrgDomainCapabilityStatus as g2, type OrgDomainDnsRecordStatus as g3, type OrgDomainListResponse as g4, type OrgDomainOwnershipStatus as g5, type OrgDomainResponse as g6, OrgFeature as g7, type OrganizationInvitationListResponse as g8, type OutboundCallRequest as g9, type PresenceConfirmation as gA, type PresenceEndInteractionMessage as gB, type PresenceError as gC, type PresenceGoLiveMessage as gD, type PresenceGoOfflineMessage as gE, type PresenceHeartbeatMessage as gF, type PresenceLoginAck as gG, type PresenceLoginMessage as gH, type PresenceRejectInteractionMessage as gI, type PresenceServerMessage as gJ, type PresenceStatusResponse as gK, type PresenceTakenOverAckMessage as gL, type Product as gM, type ProductFeature as gN, type ProductFeatureKey as gO, type ProductImage as gP, type ProductLimits as gQ, type ProductLink as gR, type ProductMetadata as gS, type LocalPlanData as gT, type ProductPlans as gU, ProductType as gV, type PronunciationEntryResponse as gW, type PronunciationImportEntry as gX, type PronunciationImportResult as gY, type ProviderPhoneNumberResponse as gZ, type ProviderUsageSummary as g_, type OutboundCallResponse as ga, type OwnershipDnsRecord as gb, type PageResponse as gc, type PageExport as gd, type PageFormData as ge, type PagesQueryParams as gf, type PaginatedSubscriptionsResponse as gg, type PatientSyncConnectionStatus as gh, type Persona as gi, type PersonaResponse as gj, type PhoneAggregatedData as gk, type PhoneCallResponse as gl, type PhoneCallAggregatedData as gm, type PhoneCallToolsAbilityConfig as gn, type PhoneNumberResponse as go, type PhoneNumberExport as gp, type PhoneNumberFormData as gq, type PhoneUsageReport as gr, type PhoneUsageReportParams as gs, type PhoneUsageRow as gt, type PlanComparisonResult as gu, type PlanConfig as gv, type PlatformAppConnectionResponse as gw, type PlatformUsageData as gx, type PresenceAcceptInteractionMessage as gy, type PresenceClientMessage as gz, type AbilityConfigIssue as h, type ScenarioCriterionExport as h$, type PublicFileMetadata as h0, type PublicFolderContents as h1, type PublicOrganizationConfig as h2, type PublicSSOConfig as h3, type PublicWorkspaceResponse as h4, type QualificationResponse as h5, type QualificationExport as h6, QueriesApi as h7, REALTIME_MODEL_CUSTOM as h8, REALTIME_MODEL_GEMINI as h9, type SMSMessageDef as hA, type SMSUsageReport as hB, type SMSUsageReportParams as hC, type SMSUsageRow as hD, SMS_DELIVERY_FAILURE_STATUSES as hE, type STTAIModel as hF, type STTCapabilitiesResponse as hG, type STTModelResponse as hH, type STTModelsResponse as hI, type STTProviderSummary as hJ, type STTUsageRow as hK, STT_MODEL_DEEPGRAM_FLUX as hL, STT_MODEL_DEEPGRAM_FLUX_MULTI as hM, STT_MODEL_ELEVENLABS_SCRIBE as hN, type SalesforceConnectionResponse as hO, type SalesforceDataRecordObjectMapping as hP, type SalesforceLabelSyncMode as hQ, type SalesforceSearchObjectType as hR, type SalesforceSearchRequest as hS, type SalesforceSearchResponse as hT, type SalesforceSearchResult as hU, type SalesforceSearchResultMatch as hV, type SalesforceSyncConfig as hW, type SalesforceSyncConfigResponse as hX, type SalesforceSyncSettings as hY, type Scenario as hZ, type ScenarioCriterion as h_, REALTIME_MODEL_GEMINI_VERTEX as ha, REALTIME_MODEL_NOVA_SONIC as hb, REALTIME_MODEL_OPENAI as hc, REALTIME_MODEL_OPENAI_2 as hd, REALTIME_MODEL_OPENAI_MINI as he, type RealtimeAIModel as hf, type RealtimeChatError as hg, type RealtimeModelResponse as hh, type RecommendedVoiceResponse as hi, type RegistryVariable as hj, type RenderedPageResponse as hk, type ReorderMenuItemsData as hl, type ResellerAbilityConfig as hm, type ResolveGrantRequest as hn, type ResolvedA2PCampaignConfig as ho, Resource as hp, type ResourceOverage as hq, type RevokeGrantRequest as hr, type RoleAssociationEntry as hs, type RoutineExport as ht, type RoutingStrategy as hu, type RuleExecutionResponse as hv, type RuleExecutionStatus as hw, type SMSDeliveryFailureStatus as hx, type SMSDeliveryStatus as hy, type SMSMessageResponse as hz, AbilityConfigIssueCode as i, type Subscription as i$, type ScenarioCriterionResponse as i0, type ScenarioDataRecord as i1, type ScenarioExport as i2, type ScenarioResponse as i3, type ScheduledCallbackResponse as i4, type ScheduledCallbackListResponse as i5, type ScopesListResponse as i6, type SendSMSAbilityConfig as i7, type SendWhatsAppAbilityConfig as i8, type SessionTakeover as i9, type SlackAccount as iA, type SlackApp as iB, type SlackAppInstallation as iC, type SlackAppResponse as iD, type SlackAppSortField as iE, type SlackRespondMode as iF, type SlackSlashCommandConfigResponse as iG, type SlackThread as iH, type SlashCommandConfigResponse as iI, type SpamScore as iJ, type StartTestChatRunRequest as iK, type StartTestChatRunResponse as iL, type StripeAddress$1 as iM, type StripeCardDetails as iN, type StripeComparisonResult as iO, type StripeCustomerResponse as iP, type StripeCustomerCreateRequest as iQ, type StripeCustomerUpdateRequest as iR, type StripePaymentMethod as iS, type StripePlanDetail as iT, type StripePriceData as iU, type StripeProductData as iV, type StripeShipping$1 as iW, type StripeSubscriptionCreateRequest as iX, type StripeSubscriptionUpdateRequest as iY, type StripeTax as iZ, type StripeUSBankAccountDetails as i_, type SetupStep as ia, type SharingGrantEntry as ib, type Site as ic, type SiteCountsResponse as id, type SiteDisableResponse as ie, type SiteDnsRecord as ig, type SiteDomainConfig as ih, type SiteDomainConfigGetResponse as ii, type SiteExport as ij, type SiteFormData as ik, type SiteMapping as il, type SiteMappingFormData as im, type SiteResponse as io, type SiteSharingResponse as ip, type SiteSignupResponse as iq, type SiteSlugAvailability as ir, type SiteSource as is, type SiteSourceBuild as it, type SiteSourcePublishResponse as iu, type SiteSourceRelease as iv, type SiteSourceTemplateOption as iw, type SiteSourceTemplates as ix, type SkillsResponse as iy, type SkillsState as iz, AbilityConfigIssueSeverity as j, type ThemeResponse as j$, type SubscriptionUpdateRequest as j0, type SupervisorAbilityConfig as j1, type SupervisorActionsAbilityConfig as j2, type SupervisorFormData as j3, SupervisorsApi as j4, type SyncCapabilities as j5, type SyncCapabilitiesResponse as j6, type SyncCheckpoint as j7, type SyncEntityType as j8, type SyncLogEntry as j9, type TaskDataTypeRelation as jA, type TaskEventRuleRelation as jB, type TaskExport as jC, type TaskExportChildRelation as jD, type TaskExportFileRelation as jE, type TaskFileRelation as jF, type TaskFormData as jG, type TaskResponse as jH, type TasksQueryParams as jI, type TeamsAccountResponse as jJ, type TeamsAppResponse as jK, type TeamsAppInstallationResponse as jL, type TeamsAppSortField as jM, type TeamsCommandConfigResponse as jN, type TeamsConversation as jO, type TeamsConversationResponse as jP, type TeamsConversationType as jQ, type TeamsRespondMode as jR, type TemplateContextRequest as jS, type TemplateContextResponse as jT, type TemplatePreviewRequest as jU, type TemplatePreviewResponse as jV, type TemplateVariable as jW, TemplatesApi as jX, type TestChatRunResponse as jY, type TestConnectionResponse as jZ, type TextContent as j_, type SyncLogsResponse as ja, type SyncProductToStripeRequest as jb, type SyncProductToStripeResponse as jc, type SyncRule as jd, type SyncRuleInbound as je, type SyncRuleInboundTargetType as jf, type SyncRuleOutbound as jg, type SyncRunMode as jh, type SyncRunRequest as ji, type SyncRunResponse as jj, type TTSAIModel as jk, type TTSModelResponse as jl, type TTSPreviewRequest as jm, type TTSProviderSummary as jn, type TTSUsageRow as jo, TTS_MODEL_AWS_POLLY_GENERATIVE as jp, TTS_MODEL_AWS_POLLY_NEURAL as jq, TTS_MODEL_DEEPGRAM_AURA_2 as jr, TTS_MODEL_ELEVENLABS_FLASH as js, TTS_MODEL_ELEVENLABS_MULTILINGUAL as jt, TTS_MODEL_ELEVENLABS_TURBO as ju, type Task as jv, type TaskAssignmentStatsResponse as jw, type TaskChatResponse as jx, type TaskChatsListResponse as jy, type TaskChildRelation as jz, type AbilityResponse as k, type VoiceTokenResponse as k$, type ThemeName as k0, type ThemeSettingField as k1, ThemeSettingFieldType as k2, type ThemeSettingsResponse as k3, type ThemesListResponse as k4, type ThinkingSoundPreviewRequest as k5, type TipTapDocumentOutput as k6, type TodoItemResponse as k7, type TodoStatus as k8, type TodosResponse as k9, type UpdateEncounterSyncRequest as kA, type UpdateFhirConnectionRequest as kB, type UpdateFhirCsvImportSettingsRequest as kC, type UpdateFileRoleAssociationsRequest as kD, type UpdateFileSharingRequest as kE, type UpdateInquiryRequest as kF, type UpdateInvitationFormData as kG, type UpdateMemberFieldRequest as kH, type UpdateOperatorGroupRequest as kI, type UpdatePersonaRequest as kJ, type UpdatePronunciationEntryFormData as kK, type UpdateSalesforceSyncConfigRequest as kL, type UpdateScenarioRequest as kM, type UpdateSlackAppRequest as kN, type UpdateTeamsAppRequest as kO, type UpdateThemeSettingsRequest as kP, type UpdateWorkflowContributorRequest as kQ, type UploadFileData as kR, type UploadFileRequest as kS, type UsageDashboardResponse as kT, type UsageDiscrepancy as kU, type VariableRegistryRequest as kV, type VariableRegistryResponse as kW, type VoiceModel as kX, type VoiceModelResponse as kY, type VoiceUsageResponse as kZ, type VoiceModelsResponse as k_, type Tool as ka, type ToolCall as kb, type ToolCallFunction as kc, type ToolInputSchema as kd, type ToolResponse as ke, type ToolResult as kf, type ToolType as kg, type Toolkit as kh, type ToolkitsAbilityConfig as ki, type ToolkitsResponse as kj, type ToolsResponse as kk, type TransformPreset as kl, type TriggerConnectionBackfillRequest as km, type TriggerPatientRefreshRequest as kn, type TruncationReason as ko, type UIChoiceDecision as kp, type UnauthorizedSiteResponse as kq, type UnmappedPhoneNumber as kr, type UnthreadedEmailResponse as ks, type UpdateA2PCampaignConfigRequest as kt, type UpdateAppConnectionRequest as ku, type UpdateAppRequest as kv, type UpdateAssignmentFormData as kw, type UpdateBuilderRequest as kx, type UpdateBusinessProfileRequest as ky, type UpdateDiscordBotRequest as kz, type AbilityTypeResponse as l, getMissingDependencies as l$, type VoiceUsageReport as l0, type VoiceUsageReportParams as l1, type WebSearchAbilityConfig as l2, type WebhookLogResponse as l3, type Workflow as l4, type WorkflowAccessGapSummary as l5, type WorkflowAccessValidationResponse as l6, type WorkflowAccessWarning as l7, WorkflowAccessWarningResourceType as l8, type WorkflowActivity as l9, type WorkspaceCreateNewEntities as lA, type WorkspaceSettingsResponse as lB, type WorkspaceDefaultsFormData as lC, type WorkspaceExportData as lD, WorkspaceFeature as lE, type WorkspaceFeatureInfo as lF, type WorkspaceFormData as lG, type WorkspaceGrantReason as lH, type WorkspaceImportMapping as lI, type WorkspaceImportPreviewResponse as lJ, type WorkspaceImportRequest as lK, type WorkspaceImportValidation as lL, type WorkspaceJoinRequest as lM, type WorkspaceJoinResponse as lN, WorkspaceProvisionStatus as lO, type WorkspaceScope as lP, type WorkspaceScopesResponse as lQ, type WorkspaceStatsResponse as lR, areDependenciesSatisfied as lS, clearRegistry as lT, createWorkspaceClient as lU, getAllFeatures as lV, getAvailableFeaturesForUpgrade as lW, getCookieValue as lX, getFeature as lY, getFeaturesByCategory as lZ, getFeaturesByVisibility as l_, type WorkflowConfigValidationResponse as la, type WorkflowContributorResponse as lb, type WorkflowExport as lc, type WorkflowFormData as ld, type WorkflowMemberRoleAccessInput as le, type WorkflowNoteResponse as lf, type WorkflowNoteExport as lg, type WorkflowNoteFormData as lh, type WorkflowResponse as li, type WorkflowRouteDryRunCandidate as lj, type WorkflowRouteDryRunResponse as lk, type WorkflowRunAbilityConfig as ll, type WorkflowStartAutomationResponse as lm, type WorkflowTemplateResponse as ln, type WorkspaceResponse as lo, type WorkspaceAccessDeniedData as lp, type WorkspaceAutoMapEntities as lq, type WorkspaceAvailableDomain as lr, type WorkspaceAvailableDomainsResponse as ls, type WorkspaceBuildPreview as lt, type WorkspaceBuilderExportData as lu, type WorkspaceBuilderInfo as lv, type WorkspaceBuilderListResponse as lw, type WorkspaceBuilderTaskExport as lx, type WorkspaceBuilderWorkflowExport as ly, type WorkspaceCountsResponse as lz, type AbilityTypeSlug as m, ConfluenceApi as m$, initializeFeatures as m0, isChatType as m1, isFeatureAvailable as m2, isRegistryInitialized as m3, isSMSDeliveryFailureStatus as m4, requiresAssistantParticipant as m5, usesBuiltinAssistant as m6, validateFeatureDependencies as m7, type A2PStatus as m8, AIModelsApi as m9, type AttachSupportRequestResourceRequest as mA, type AudioChunkMetadata as mB, type AudioDownloadUrlResponse as mC, AuthApi as mD, type AuthBindings as mE, type AvailablePhoneNumberResponse as mF, type BillingBindings as mG, type BillingPeriodResponse as mH, type BulkLinkHubspotRequest as mI, type BulkLinkMondayRequest as mJ, type BulkLinkSalesforceRequest as mK, CalendarsApi as mL, type CalendarsBindings as mM, type CallRecordingDownloadUrlResponse as mN, CallsApi as mO, type CallsBindings as mP, type CancelAgentTaskResponse as mQ, type ChatEmailsResponse as mR, type ChatSummary as mS, ChatsApi as mT, type ChatsBindings as mU, type CloseSupportRequestRequest as mV, type CommunicationsBindings as mW, type ConfigureConfluenceRequest as mX, type ConfigureHealthieRequest as mY, type ConfigureHubspotRequest as mZ, type ConfigureSalesforceRequest as m_, type AIUsageTypeSummary as ma, AbilitiesApi as mb, AccessGrantsApi as mc, type AccessGrantsBindings as md, type AdminInboxMappingRequest as me, type AdminSiteMappingResponse as mf, type AdminUpdateProductRequest as mg, type AdminWorkspaceResponse as mh, type AdminWorkspaceFormData as mi, type AdvanceStepFormData as mj, type AgentTaskMessageResponse as mk, type AgentTaskMode as ml, type AgentTaskResponse as mm, type AgentTaskStatus as mn, AgentTasksApi as mo, type AgentTasksBindings as mp, AgentsApi as mq, type AgentsBindings as mr, ApiKeysApi as ms, type ApiModules as mt, AppConnectionsApi as mu, type AppsBindings as mv, type ArchiveBlockersResponse as mw, type AssignmentSource as mx, type AssignmentSummary as my, AssignmentsApi as mz, AbilityTypeSlugs as n, type ResellerResponse$1 as n$, type ConfluenceConnectionStatus as n0, type ConfluencePagesResponse as n1, type ConfluenceSpacesResponse as n2, ConnectionSyncApi as n3, type CreateCustomerRequest as n4, type CreateOutboundSupportRequestRequest as n5, type CreateResellerRequest as n6, type CreateSupportRequestCommentRequest as n7, type CreateSupportRequestNoteRequest as n8, type CreateSupportRequestRequest as n9, type ExperimentFormData as nA, type ExperimentGroup as nB, type ExperimentGroupFormData as nC, type ExperimentGroupStats as nD, type ExperimentGroupUpdateData as nE, type ExperimentStatCount as nF, type ExperimentStats as nG, type ExperimentStatus as nH, type ExperimentUpdateData as nI, ExperimentsApi as nJ, type ExperimentsBindings as nK, FeaturesApi as nL, FhirConnectionsApi as nM, type FhirLinkedMember as nN, type FieldChangeResponse as nO, FilesApi as nP, type FilesBindings as nQ, type GenerateInvoiceRequest as nR, type AdminSiteMappingResponse$1 as nS, type CustomerResponse$1 as nT, type InboxResponse$1 as nU, type JourneyResponse$1 as nV, type MemberJourneyResponse$1 as nW, type MemberJourneyStepResponse$1 as nX, type OrgA2PStatusResponse$1 as nY, type OrgWorkspaceResponse$1 as nZ, type ProductResponse$1 as n_, type CreditBalance as na, type CreditGrant as nb, type CreditGrantListResponse as nc, type CreditGrantStatus as nd, type CreditGrantSummary as ne, type CreditGrantType as nf, CustomToolkitsApi as ng, type Customer as nh, type CustomerAccount as ni, type CustomerAccountRole as nj, type CustomerResponse as nk, CustomersApi as nl, type CustomersBindings as nm, DataTypesApi as nn, type DataTypesBindings as no, type DependencyManifest as np, type DependencyStatusResponse as nq, type DiffChangeResponse as nr, type DirectSubscriptionCreateRequest as ns, DiscordBotsApi as nt, type EnrollMemberFormData as nu, EventsApi as nv, type EventsBindings as nw, type Experiment as nx, type ExperimentAssignmentCreateData as ny, type ExperimentAssignmentUpdateData as nz, type AbilityTypesResponse as o, MilestonesApi as o$, type SubscriptionResponse as o0, type GetAgentTaskMessagesParams as o1, HealthieApi as o2, type HealthieConnectionStatus as o3, type HealthieProvider as o4, type HealthieReconciliationMatch as o5, HubspotApi as o6, type HubspotConnectionStatus as o7, type HubspotReconciliationMatch as o8, type InboxResponse as o9, type LinkCalendarToHealthieRequest as oA, type LinkCalendarToHealthieResponse as oB, type LinkCustomerAccountRequest as oC, type LinkMemberToHealthieRequest as oD, type LinkMemberToHubspotRequest as oE, type LinkMemberToMondayRequest as oF, type LinkMemberToSalesforceRequest as oG, type LinkResellerAccountRequest as oH, type LinkedHealthieMember as oI, type LinkedHubspotMember as oJ, type LinkedMondayMember as oK, type LinkedMondayRecord as oL, type LinkedSalesforceMember as oM, type ListAgentTasksParams as oN, McpServersApi as oO, type MemberExperimentAssignment as oP, type MemberJourney as oQ, type MemberJourneyGoalResponse as oR, type MemberJourneyResponse as oS, type MemberJourneyStatus as oT, type MemberJourneyStep as oU, type MemberJourneyStepResponse as oV, type MemberJourneyStepStatus as oW, type MemberSyncSummary as oX, type MemberUsageReportParams as oY, MembersApi as oZ, type MembersBindings as o_, type InboxRules as oa, InboxesApi as ob, InquiriesApi as oc, type IntegrationsBindings as od, type InvoiceResponse as oe, type Journey as of, type JourneyActiveHours as og, type JourneyActiveHoursDay as oh, type JourneyFormData as oi, type JourneyGoalResponse as oj, type JourneyGoalFormData as ok, type JourneyHealthResponse as ol, type JourneyNoteResponse as om, type JourneyNoteFormData as on, type JourneyResponse as oo, type JourneyStatus as op, type JourneyStepResponse as oq, type JourneyStepConnectionResponse as or, type JourneyStepConnectionFormData as os, type JourneyStepFormData as ot, type JourneyTestRunConnectionResult as ou, type JourneyTestRunResponse as ov, type JourneyTestRunStepResult as ow, JourneysApi as ox, type JourneysBindings as oy, LIMIT_ONLY_RESOURCES as oz, type AccessGrant as p, type SkipStepFormData as p$, type MondayConnectionStatus as p0, type MondayImportRequest as p1, type MondayImportResponse as p2, MondayIntegrationApi as p3, type MondayReconciliationMatch as p4, type MondaySyncConfigResponse as p5, type MyCustomerResponse as p6, type MyResellerResponse as p7, NotificationRulesApi as p8, type OAuthAccountSummary as p9, PronunciationsApi as pA, type PronunciationsBindings as pB, type PublishVersionRequest as pC, type PurchasePhoneNumberRequest as pD, QualificationsApi as pE, type QualificationsBindings as pF, type QueriesBindings as pG, type RecordPaymentRequest as pH, type RecordResourceClickRequest as pI, type RecordingListResponse as pJ, type ReenrollMemberFormData as pK, type ReopenSupportRequestRequest as pL, ReportsApi as pM, type Reseller as pN, type ResellerAccount as pO, type ResellerAccountRole as pP, type ResellerResponse as pQ, ResellersApi as pR, type ResellersBindings as pS, type ResolveResourceMappingRequest as pT, type ResourceDependency as pU, type ResourceMappingResponse as pV, SalesforceApi as pW, type SalesforceConnectionStatus as pX, type SalesforceReconciliationMatch as pY, SitesApi as pZ, type SitesBindings as p_, type OAuthAccountsResponse as pa, OAuthApi as pb, type OAuthAuthorizeOptions as pc, OAuthConnectionsApi as pd, OperatorApi as pe, type OperatorBindings as pf, type OrgA2PBrandStatus as pg, type OrgA2PStatus as ph, type OrgA2PStatusResponse as pi, type OrgBindings as pj, type OrgCreateWorkspaceFormData as pk, type OrgJoinWorkspaceRequest as pl, type OrgJoinWorkspaceResponse as pm, type OrgWorkspace as pn, type OrgWorkspaceFormData as po, type OrgWorkspaceResponse as pp, type OutboundResourceInput as pq, PatientSyncConnectionsApi as pr, PersonasApi as ps, type PersonasBindings as pt, type PhoneCallStatus as pu, PhoneNumbersApi as pv, type PlanInfo as pw, type ProductResponse as px, PromptsApi as py, type PromptsBindings as pz, type AccessGrantDecision as q, type WorkflowVersionListResponse as q$, SlackAppsApi as q0, type StepMemberResponse as q1, type StepMemberCountResponse as q2, type SubscriptionItemResponse as q3, type SubscriptionItemPriceType as q4, SubscriptionsApi as q5, type SupportRequest as q6, type SupportRequestClientContext as q7, type SupportRequestContextPayload as q8, type SupportRequestDirection as q9, type TasksBindings as qA, TeamsAppsApi as qB, type ThreadEmailsResponse as qC, type TokenRequest as qD, type TokenResponse as qE, ToolkitsApi as qF, type ToolkitsBindings as qG, type TranscriptionStatus as qH, type UnenrollMemberFormData as qI, type UpdateCustomerRequest as qJ, type UpdateResellerRequest as qK, type UpdateSupportRequestAttributesRequest as qL, type UpdateSupportRequestStatusRequest as qM, type UpdateVersionRequest as qN, type ValidateNameResponse as qO, type ValidateWorkflowNameRequest as qP, type VersionLabel as qQ, type VersionDiffSummary as qR, VoiceApi as qS, type Voicemail as qT, type VoicemailResponse as qU, type VoicemailStatus as qV, type WorkflowBlockerResponse as qW, type WorkflowContributorSnapshot as qX, WorkflowNotesApi as qY, type WorkflowVersionDetailResponse as qZ, type WorkflowVersionDiffResponse as q_, type SupportRequestListParams as qa, type SupportRequestResourceResponse as qb, type SupportRequestResourceAuthor as qc, type SupportRequestResourceKind as qd, type SupportRequestResponse as qe, type SupportRequestServerContext as qf, type SupportRequestSeverity as qg, type SupportRequestSource as qh, type SupportRequestStatus as qi, type SupportRequestSubmitterScope as qj, type SupportRequestType as qk, type SupportRequestUpdateResponse as ql, type SupportRequestUpdateRole as qm, type SupportRequestUpdateType as qn, SupportRequestsApi as qo, type SupportRequestsBindings as qp, type SyncDirection as qq, type SyncItemStatus as qr, type SyncRunItemDetail as qs, type SyncRunSource as qt, type SyncRunStatus as qu, type SyncRunSummary as qv, type SyncRunUniqueFieldConflict as qw, TERMINAL_TASK_STATES as qx, type TaskSnapshot as qy, TasksApi as qz, type AccessGrantInterrupt as r, type WorkflowVersionResponse as r0, type WorkflowVersionSnapshot as r1, WorkflowsApi as r2, type WorkflowsBindings as r3, WorkspaceInvitationsApi as r4, WorkspacesApi as r5, type WorkspacesBindings as r6, bindAccessGrantsMethods as r7, bindAgentTasksMethods as r8, bindAgentsMethods as r9, bindToolkitsMethods as rA, bindWorkflowsMethods as rB, bindWorkspacesMethods as rC, createApiModules as rD, parseExperimentStatCount as rE, bindAppsMethods as ra, bindAuthMethods as rb, bindBillingMethods as rc, bindCalendarsMethods as rd, bindCallsMethods as re, bindChatsMethods as rf, bindCommunicationsMethods as rg, bindCustomersMethods as rh, bindDataTypesMethods as ri, bindEventsMethods as rj, bindExperimentsMethods as rk, bindFilesMethods as rl, bindIntegrationsMethods as rm, bindJourneysMethods as rn, bindMembersMethods as ro, bindOperatorMethods as rp, bindOrgMethods as rq, bindPersonasMethods as rr, bindPromptsMethods as rs, bindPronunciationsMethods as rt, bindQualificationsMethods as ru, bindQueriesMethods as rv, bindResellersMethods as rw, bindSitesMethods as rx, bindSupportRequestMethods as ry, bindTasksMethods as rz, AccessGrantResourceType as s, type AccessGrantResponse as t, AccessGrantStatus as u, AccessGrantTrigger as v, type AddGroupMemberRequest as w, type AdminBulkWorkflowAccessValidationResponse as x, type AdminChatResponse as y, type AdminChatDetailResponse as z };
|