@gravity-rail/sdk 0.16.0 → 0.18.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (36) hide show
  1. package/dist/{chunk-4B7T6MBH.js → chunk-MP5ENP4Q.js} +493 -77
  2. package/dist/chunk-MP5ENP4Q.js.map +1 -0
  3. package/dist/{chunk-GP6ICMWF.js → chunk-PJFEGUHM.js} +8 -1
  4. package/dist/chunk-PJFEGUHM.js.map +1 -0
  5. package/dist/{client-3xYGmF3t.d.ts → client-B51HZ6zY.d.cts} +2229 -217
  6. package/dist/{client-BhO_UFFz.d.cts → client-G5i59XtT.d.ts} +2229 -217
  7. package/dist/helpers.cjs +7 -0
  8. package/dist/helpers.cjs.map +1 -1
  9. package/dist/helpers.d.cts +2 -2
  10. package/dist/helpers.d.ts +2 -2
  11. package/dist/helpers.js +1 -1
  12. package/dist/index.cjs +449 -70
  13. package/dist/index.cjs.map +1 -1
  14. package/dist/index.d.cts +23 -5
  15. package/dist/index.d.ts +23 -5
  16. package/dist/index.js +77 -4
  17. package/dist/index.js.map +1 -1
  18. package/dist/internal.cjs +564 -72
  19. package/dist/internal.cjs.map +1 -1
  20. package/dist/internal.d.cts +95 -7
  21. package/dist/internal.d.ts +95 -7
  22. package/dist/internal.js +93 -6
  23. package/dist/internal.js.map +1 -1
  24. package/dist/{revision-state-Dma10N9s.d.ts → revision-state-Cc7RAf8A.d.ts} +30 -5
  25. package/dist/{revision-state-Dx8gCQIj.d.cts → revision-state-DudSCwea.d.cts} +30 -5
  26. package/dist/schemas.cjs +170 -216
  27. package/dist/schemas.cjs.map +1 -1
  28. package/dist/schemas.d.cts +11 -11
  29. package/dist/schemas.d.ts +11 -11
  30. package/dist/schemas.js +170 -209
  31. package/dist/schemas.js.map +1 -1
  32. package/dist/{tasks-vupYoJgG.d.cts → tasks-1JXJJuG8.d.cts} +256 -73
  33. package/dist/{tasks-vupYoJgG.d.ts → tasks-1JXJJuG8.d.ts} +256 -73
  34. package/package.json +3 -3
  35. package/dist/chunk-4B7T6MBH.js.map +0 -1
  36. package/dist/chunk-GP6ICMWF.js.map +0 -1
@@ -1,4 +1,4 @@
1
- import { da as PaginatedResponse, fO as MilestoneFormDataSchema, fP as MilestoneGoalFormDataSchema, cH as MilestoneSortField, ew as SortOrder, bU as WorkspaceMemberResponse, am as ChatSortField, Q as QueryPredicate, gp as EnumOption, gq as EventRuleResponse, aL as DataRecordResponse, bl as EventRuleResponse$1, b as EventRuleInput, x as AssignmentSortField, aM as DataRecordAssociationFormData, aZ as DataTypeResponse, A as AccessLevel, bp as FileSortField, d9 as PageSortField, cY as OrgMemberRole, k as AgentResponse, ar as CreateAgentRequest, eK as UpdateAgentRequest, s as ApiKeyResponse, u as ApiKeyFormData, t as ApiKeyCreatedResponse, c as AccountResponse, d as AccountFormData, ee as SendLoginCodeResponse, eX as VerifyCodeResponse, ek as SessionExchangeRequest, el as SessionExchangeResponse, ax as CreateSignupResponse, dX as RequestMagicLinkResponse, eU as ValidateMagicLinkResponse, eI as TwoFactorStatus, em as SetupTOTPRequest, ez as TOTPSetupResponse, e_ as VerifyTOTPSetupRequest, eH as TwoFactorOperationResponse, en as SetupWebAuthnRequest, e$ as VerifyWebAuthnSetupRequest, br as GenerateRecoveryCodesRequest, dS as RecoveryCodeResponse, eR as UpdateTwoFactorMethodRequest, g7 as AdminAccountOrgMembershipResponse, aE as CredentialType, aC as CredentialChangeRequestResponse, aD as CredentialChangeVerifyResponse, dc as PendingCredentialChangeResponse, ag as CancelCredentialChangeResponse, aA as CredentialChangeInviteDetailsResponse, az as CredentialChangeInviteConfirmResponse, _ as Calendar, a6 as CalendarFormData, a9 as CalendarSchedule, ab as CalendarScheduleFormData, G as AvailabilityCheck, H as AvailabilityResponse, I as AvailableSlotsRequest, J as AvailableSlotsResponse, a5 as CalendarEventsQueryParams, $ as EventResponse, a0 as CalendarEventFormData, eL as UpdateAttendeeRequest, a3 as EventTypeResponse, a4 as CalendarEventTypeFormData, bC as ICalFeedTokenResponse, bD as ICalFeedUrlResponse, bz as GoogleCalendarInfo, bB as GoogleCalendarStatusResponse, bA as GoogleCalendarInsufficientScopesResponse, bM as LinkCalendarRequest, bN as LinkCalendarResponse, eJ as UnlinkCalendarResponse, ey as SyncCalendarResponse, a$ as DataTypeFormData, aX as DataRecordsPaginatedResponse, aO as DataRecordFilterResponse, aP as DataRecordFilterFormData, aR as DataRecordFormData, aV as DataRecordUpdateResponse, bV as MemberCredentialResponse, bh as EventRule, bg as EventActionMappingsResponse, bk as EventRuleObjectType, E as EventRuleEventType, a as EventRuleActionType, bj as EventRuleFormData, eN as UpdateEventRuleFormData, eD as TestWebhookRequest, eE as TestWebhookResponse, f3 as WebhookLogsQueryParams, eb as RuleExecutionsQueryParams, aH as CursorPaginatedResponse, eg as SchedulePreviewRequest, eh as SchedulePreviewResponse, e6 as RoutineWorkflowAccessPreviewRequest, e7 as RoutineWorkflowAccessPreviewResponse, e9 as RoutinesQueryParams, dZ as Routine, aw as CreateRoutineRequest, eQ as UpdateRoutineRequest, bm as EventRunSortField, d$ as RoutineRunResponse, fo as CreateInquirySchema, fV as UpdateInquiryRequestSchema, aF as CurrentMemberResponse, c1 as MemberFormData, ct as MemberSortField, ay as CreateWorkspaceMemberRequest, eS as UpdateWorkspaceMemberRequest, b_ as MemberFilterResponse, b$ as MemberFilterFormData, cc as MemberLabelResponse, ce as MemberLabelFormData, cj as MemberRoleResponse, co as MemberRoleFormData, c6 as MemberImportPreviewResponse, cb as MemberImportStreamEvent, bE as IdentityConflictPolicy, bZ as MemberFieldListResponse, bY as MemberFieldDefinitionListResponse, bW as MemberFieldResponse, aB as CredentialChangeInviteResponse, af as CancelCredentialChangeInviteResponse, dd as PendingCredentialChangeInviteResponse, db as PendingAnonymousMembersResponse, q as AnonymousMemberResolutionResponse, dY as ResolveAnonymousMemberRequest, bn as ExpireAnonymousMemberRequest, cD as MemoryType, cf as MemberMemoriesResponse, cB as MemoryItem, N as BulkCreateMembersRequest, O as BulkCreateMembersResponse, cv as MemberSyncLink, gr as OrgDomainListResponse$1, bx as OrgDomainResponse$1, ba as EmailDomainConfigResponse, gs as EmailDnsRecord$1, gt as EmailDomainConfigGetResponse$1, b8 as EmailDisableImpactResponse, es as SiteDomainConfigResponse, gu as SiteDnsRecord$1, gv as SiteDomainConfigGetResponse$1, eq as SiteDisableImpactResponse, bs as BusinessProfileResponse$1, W as BusinessInfo, F as AuthorizedRep, i as Address, by as OwnershipDnsRecord$1, g8 as AdminOrganization, ch as MemberOrgView, aG as CurrentOrgMember, cX as OrgMemberListResponse, eO as UpdateOrgMemberRequest, cW as OrgMember, f9 as WorkspaceSortField, c_ as OwnershipVerificationResponse, bc as EmailVerificationResponse, eu as SiteVerificationResponse, Y as BusinessProfileSubmitResponse, X as BusinessProfileCancelResponse, dx as QueryFieldsResponse, dz as QueryIR, eV as ValidateQueryResponse, dL as QueryRunMode, ed as RunQueryResponse, fg as AbilityData, f6 as WorkflowSortField, b2 as DataTypeRecordScope, S as SchemaField } from './tasks-vupYoJgG.cjs';
1
+ import { dd as PaginatedResponse, bW as WorkspaceMemberResponse, an as ChatSortField, eC as SortOrder, Q as QueryPredicate, gn as EnumOption, go as EventRuleResponse, aM as DataRecordResponse, bm as EventRuleResponse$1, b as EventRuleInput, y as AssignmentSortField, aN as DataRecordAssociationFormData, a_ as DataTypeResponse, A as AccessLevel, bq as FileSortField, dc as PageSortField, c$ as OrgMemberRole, ej as SSOConfigData, cV as OIDCAdminConfigView, l as AgentResponse, as as CreateAgentRequest, eQ as UpdateAgentRequest, t as ApiKeyResponse, v as ApiKeyFormData, u as ApiKeyCreatedResponse, c as AccountResponse, e as AccountFormData, ei as SendLoginCodeResponse, f1 as VerifyCodeResponse, eq as SessionExchangeRequest, er as SessionExchangeResponse, ay as CreateSignupResponse, d_ as RequestMagicLinkResponse, e_ as ValidateMagicLinkResponse, eO as TwoFactorStatus, es as SetupTOTPRequest, eF as TOTPSetupResponse, f4 as VerifyTOTPSetupRequest, eN as TwoFactorOperationResponse, et as SetupWebAuthnRequest, f5 as VerifyWebAuthnSetupRequest, bs as GenerateRecoveryCodesRequest, dV as RecoveryCodeResponse, eX as UpdateTwoFactorMethodRequest, g5 as AdminAccountOrgMembershipResponse, aF as CredentialType, aD as CredentialChangeRequestResponse, aE as CredentialChangeVerifyResponse, df as PendingCredentialChangeResponse, ah as CancelCredentialChangeResponse, aB as CredentialChangeInviteDetailsResponse, aA as CredentialChangeInviteConfirmResponse, $ as Calendar, a7 as CalendarFormData, aa as CalendarSchedule, ac as CalendarScheduleFormData, H as AvailabilityCheck, I as AvailabilityResponse, J as AvailableSlotsRequest, K as AvailableSlotsResponse, a6 as CalendarEventsQueryParams, a0 as EventResponse, a1 as CalendarEventFormData, eR as UpdateAttendeeRequest, a4 as EventTypeResponse, a5 as CalendarEventTypeFormData, bD as ICalFeedTokenResponse, bE as ICalFeedUrlResponse, bA as GoogleCalendarInfo, bC as GoogleCalendarStatusResponse, bB as GoogleCalendarInsufficientScopesResponse, bO as LinkCalendarRequest, bP as LinkCalendarResponse, eP as UnlinkCalendarResponse, eE as SyncCalendarResponse, b0 as DataTypeFormData, aY as DataRecordsPaginatedResponse, aP as DataRecordFilterResponse, aQ as DataRecordFilterFormData, aS as DataRecordFormData, aW as DataRecordUpdateResponse, bZ as MemberCredentialResponse, bi as EventRule, bh as EventActionMappingsResponse, bl as EventRuleObjectType, E as EventRuleEventType, a as EventRuleActionType, bk as EventRuleFormData, eT as UpdateEventRuleFormData, eJ as TestWebhookRequest, eK as TestWebhookResponse, f9 as WebhookLogsQueryParams, ef as RuleExecutionsQueryParams, aI as CursorPaginatedResponse, em as SchedulePreviewRequest, en as SchedulePreviewResponse, ea as RoutineWorkflowAccessPreviewRequest, eb as RoutineWorkflowAccessPreviewResponse, ed as RoutinesQueryParams, e0 as Routine, ax as CreateRoutineRequest, eW as UpdateRoutineRequest, e1 as RoutineConfigEventResponse, bn as EventRunSortField, e3 as RoutineRunResponse, fz as CreateInquirySchema, fV as UpdateInquiryRequestSchema, aG as CurrentMemberResponse, c5 as MemberFormData, cx as MemberSortField, az as CreateWorkspaceMemberRequest, eY as UpdateWorkspaceMemberRequest, c2 as MemberFilterResponse, c3 as MemberFilterFormData, cg as MemberLabelResponse, ci as MemberLabelFormData, cn as MemberRoleResponse, cs as MemberRoleFormData, ca as MemberImportPreviewResponse, cf as MemberImportStreamEvent, bG as IdentityConflictPolicy, c1 as MemberFieldListResponse, c0 as MemberFieldDefinitionListResponse, b_ as MemberFieldResponse, aC as CredentialChangeInviteResponse, ag as CancelCredentialChangeInviteResponse, dg as PendingCredentialChangeInviteResponse, de as PendingAnonymousMembersResponse, r as AnonymousMemberResolutionResponse, d$ as ResolveAnonymousMemberRequest, bo as ExpireAnonymousMemberRequest, cH as MemoryType, cj as MemberMemoriesResponse, cF as MemoryItem, O as BulkCreateMembersRequest, P as BulkCreateMembersResponse, cz as MemberSyncLink, gp as OrgDomainListResponse$1, by as OrgDomainResponse$1, bb as EmailDomainConfigResponse, gq as EmailDnsRecord$1, gr as EmailDomainConfigGetResponse$1, b9 as EmailDisableImpactResponse, ey as SiteDomainConfigResponse, gs as SiteDnsRecord$1, gt as SiteDomainConfigGetResponse$1, ew as SiteDisableImpactResponse, bt as BusinessProfileResponse$1, X as BusinessInfo, G as AuthorizedRep, j as Address, bz as OwnershipDnsRecord$1, g6 as AdminOrganization, cl as MemberOrgView, aH as CurrentOrgMember, ek as SSOConfigRequest, c_ as OrgMemberListResponse, eU as UpdateOrgMemberRequest, cZ as OrgMember, ff as WorkspaceSortField, d1 as OwnershipVerificationResponse, bd as EmailVerificationResponse, eA as SiteVerificationResponse, Z as BusinessProfileSubmitResponse, Y as BusinessProfileCancelResponse, dA as QueryFieldsResponse, dC as QueryIR, e$ as ValidateQueryResponse, dO as QueryRunMode, eh as RunQueryResponse, fr as AbilityData, fc as WorkflowSortField, b3 as DataTypeRecordScope, S as SchemaField } from './tasks-1JXJJuG8.js';
2
2
  import { z } from 'zod';
3
3
 
4
4
  /**
@@ -520,6 +520,13 @@ declare class ApiError extends Error {
520
520
  * Populated when the backend returns a WorkflowValidationErrorResponse.
521
521
  */
522
522
  validationErrors?: ApiValidationError[];
523
+ /**
524
+ * The raw structured `detail` object when the backend returned one (a body
525
+ * with `error: true` or a `code`). Declared here rather than bolted on with
526
+ * `as any` at the throw site so consumers can narrow it with a type guard —
527
+ * see `isMemberContactConflict` in `types/member-types`.
528
+ */
529
+ errorData?: unknown;
523
530
  constructor(message: string, statusCode: number, errors?: string[], validationErrors?: ApiValidationError[]);
524
531
  }
525
532
  /**
@@ -1000,102 +1007,100 @@ declare class MondayIntegrationApi extends BaseApiClient {
1000
1007
  }
1001
1008
 
1002
1009
  /**
1003
- * Response model for milestone goal data.
1010
+ * A seeded role whose name or scopes no longer match the canonical set.
1004
1011
  */
1005
- interface MilestoneGoalResponse$1 {
1006
- id: number;
1012
+ interface DriftedSystemRoleResponse {
1013
+ roleId: number;
1007
1014
  name: string;
1008
- description: string | null;
1009
- milestoneId: number;
1010
- memberFilterId: number;
1011
- memberFilterName: string;
1012
- value: number | null;
1013
- createdAt: string;
1014
- updatedAt: string;
1015
+ systemKey: string;
1016
+ canonicalName: string;
1017
+ nameMatches: boolean;
1018
+ missingScopes?: string[];
1019
+ extraScopes?: string[];
1020
+ }
1021
+ /**
1022
+ * One proposed merge of a legacy duplicate into its seeded counterpart.
1023
+ */
1024
+ interface LegacyRoleSuggestionResponse {
1025
+ sourceRoleId: number;
1026
+ sourceRoleName: string;
1027
+ targetRoleId: number;
1028
+ targetRoleName: string;
1029
+ systemKey: string;
1030
+ /** How confident the match is. 'duplicate_name' — the role folds to the same canonical name as the target, so it is unambiguously the same role written differently; safe to merge. 'legacy_alias' — an older name for the target (e.g. 'admin' for Manager); this is a guess, the role may have been customised into something the workspace relies on, so clients should require explicit review rather than pre-selecting it. */
1031
+ matchType: string;
1032
+ /** Counts of everything in the workspace that points at the source role and would move. */
1033
+ references: RoleReferenceCountsResponse;
1034
+ /** Resources the source role can reach that the target cannot. Under the 'union' access strategy these become newly reachable for everyone who already holds the target role. */
1035
+ resourcesTargetWouldGain?: number;
1015
1036
  }
1016
1037
  /**
1017
- * Response model for milestone data.
1038
+ * Read-only description of a workspace's role hygiene.
1018
1039
  */
1019
- interface MilestoneResponse {
1020
- id: number;
1021
- name: string;
1022
- description: string | null;
1023
- targetDate: string;
1024
- goals: MilestoneGoalResponse$1[];
1025
- createdAt: string;
1026
- updatedAt: string;
1040
+ interface MemberRoleCleanupPlanResponse {
1041
+ suggestions?: LegacyRoleSuggestionResponse[];
1042
+ drifted?: DriftedSystemRoleResponse[];
1043
+ missingSystemKeys?: string[];
1044
+ isClean?: boolean;
1027
1045
  }
1028
-
1029
- type MilestoneGoalFormData = z.infer<typeof MilestoneGoalFormDataSchema>;
1030
- type MilestoneFormData = z.infer<typeof MilestoneFormDataSchema>;
1031
- type MilestoneGoal = Omit<MilestoneGoalResponse$1, 'description' | 'value'> & {
1032
- description?: string | null;
1033
- value?: number | null;
1046
+ /**
1047
+ * Fold a legacy duplicate role into another role and delete it.
1048
+ *
1049
+ * ``accessStrategy`` decides what happens to the source role's *resource*
1050
+ * access — see ``AccessMergeStrategy`` in
1051
+ * ``lib/services/member_role_cleanup_service.py``. Scopes are not merged:
1052
+ * migrated members take the target role's scopes, which is the whole point of
1053
+ * consolidating onto a clamped default.
1054
+ */
1055
+ interface MergeMemberRolesRequest {
1056
+ sourceRoleId: number;
1057
+ targetRoleId: number;
1058
+ accessStrategy?: MergeMemberRolesRequestAccessStrategy;
1059
+ }
1060
+ type MergeMemberRolesRequestAccessStrategy = typeof MergeMemberRolesRequestAccessStrategy[keyof typeof MergeMemberRolesRequestAccessStrategy];
1061
+ declare const MergeMemberRolesRequestAccessStrategy: {
1062
+ readonly union: "union";
1063
+ readonly target_only: "target_only";
1034
1064
  };
1035
- type MilestoneGoalResponse = MilestoneGoal;
1036
- interface MilestonesQueryParams {
1037
- page?: number;
1038
- pageSize?: number;
1039
- sortBy?: MilestoneSortField;
1040
- sortOrder?: SortOrder;
1041
- search?: string;
1042
- }
1043
- interface MilestoneGoalProgress {
1044
- goalId: number;
1045
- goalName: string;
1046
- targetValue?: number;
1047
- currentValue: number;
1048
- completionPercentage: number;
1049
- memberFilterId: number;
1050
- memberFilterName: string;
1051
- }
1052
- interface MilestoneProgress {
1053
- milestoneId: number;
1054
- milestoneName: string;
1055
- targetDate: string;
1056
- overallProgress: number;
1057
- isCompleted: boolean;
1058
- goalProgress: MilestoneGoalProgress[];
1059
- daysRemaining: number;
1060
- }
1061
- interface MilestoneUpdateRequest {
1062
- name?: string;
1063
- description?: string;
1064
- targetDate?: string;
1065
- goals?: MilestoneGoalFormData[];
1066
- }
1067
- interface MilestoneCreateRequest {
1068
- name: string;
1069
- description?: string;
1070
- targetDate: string;
1071
- goals: MilestoneGoalFormData[];
1072
- }
1073
- interface MilestoneDeleteResponse {
1074
- success: boolean;
1075
- message?: string;
1076
- }
1077
- interface MilestoneAnalytics {
1078
- totalMilestones: number;
1079
- completedMilestones: number;
1080
- overdueMilestones: number;
1081
- upcomingMilestones: number;
1082
- averageCompletionTime: number;
1083
- completionRate: number;
1084
- }
1085
- interface MilestoneTimelineItem {
1086
- milestoneId: number;
1087
- milestoneName: string;
1088
- targetDate: string;
1089
- completionDate?: string;
1090
- status: 'pending' | 'completed' | 'overdue';
1091
- progress: number;
1092
- }
1093
- interface MilestoneTimeline {
1094
- items: MilestoneTimelineItem[];
1095
- dateRange: {
1096
- start: string;
1097
- end: string;
1098
- };
1065
+ /**
1066
+ * What a completed merge actually moved.
1067
+ */
1068
+ interface MergeMemberRolesResponse {
1069
+ sourceRoleId: number;
1070
+ sourceRoleName: string;
1071
+ targetRoleId: number;
1072
+ targetRoleName: string;
1073
+ strategy: string;
1074
+ membersMoved?: number;
1075
+ accessRowsMoved?: number;
1076
+ accessRowsMerged?: number;
1077
+ accessRowsDiscarded?: number;
1078
+ signupSitesMoved?: number;
1079
+ signupPhoneNumbersMoved?: number;
1080
+ anonymousPhoneNumbersMoved?: number;
1081
+ personasMoved?: number;
1082
+ invitationsMoved?: number;
1083
+ }
1084
+ /**
1085
+ * Everything in the workspace that points at a role about to be merged.
1086
+ */
1087
+ interface RoleReferenceCountsResponse {
1088
+ /** Members holding the role. */
1089
+ members?: number;
1090
+ /** Resource-access grants across all association families (sites, forms, workflows, inboxes, files, folders, calendars, calendar event types). */
1091
+ resourceAccess?: number;
1092
+ /** Sites that assign this role on signup. */
1093
+ signupSites?: number;
1094
+ /** Phone numbers that assign this role on signup. */
1095
+ signupPhoneNumbers?: number;
1096
+ /** Phone numbers that assign this role to anonymous callers. */
1097
+ anonymousPhoneNumbers?: number;
1098
+ /** Agent personas that instantiate with this role. */
1099
+ personas?: number;
1100
+ /** Invitations not yet accepted or declined that would grant this role. */
1101
+ pendingInvitations?: number;
1102
+ /** Sum of every count above. */
1103
+ total?: number;
1099
1104
  }
1100
1105
 
1101
1106
  /**
@@ -1405,7 +1410,7 @@ interface ManagerSkillSummary {
1405
1410
  description: string;
1406
1411
  }
1407
1412
  /**
1408
- * Skill catalogue for the pre-Chat Manager AI composer.
1413
+ * Skill catalogue for pre-Chat Manager composers (and Routine manager tasks).
1409
1414
  */
1410
1415
  interface ManagerSkillsResponse {
1411
1416
  items: ManagerSkillSummary[];
@@ -1479,6 +1484,7 @@ interface OpenAIMessageResponse {
1479
1484
  originalContent?: OpenAIMessageResponseOriginalContent;
1480
1485
  truncationReason?: string | null;
1481
1486
  truncatedAtMs?: number | null;
1487
+ sttMetadata?: SttMetadataResponse | null;
1482
1488
  tool_calls?: OpenAIFunctionToolCall[];
1483
1489
  tool_call_id?: string | null;
1484
1490
  suggestions?: string[] | null;
@@ -1548,10 +1554,42 @@ interface ScheduledCallbackResponse {
1548
1554
  * Attributes:
1549
1555
  * loadedSkills: Skills that are currently loaded (prompts injected into context)
1550
1556
  * revealedSkills: Skills that are visible but not yet loaded
1557
+ * enabledToolkitTools: Toolkit tool URIs/names selected for this Manager chat
1551
1558
  */
1552
1559
  interface SkillsResponse {
1553
1560
  loadedSkills?: string[];
1554
1561
  revealedSkills?: string[];
1562
+ enabledToolkitTools?: string[];
1563
+ }
1564
+ /**
1565
+ * Per-turn STT confidence for a voice user turn (#21973).
1566
+ *
1567
+ * ``extra="allow"`` so a producer that adds a field does not break
1568
+ * existing clients before the SDK catches up; ``protected_namespaces``
1569
+ * is cleared because the provider key really is called ``model``.
1570
+ */
1571
+ interface SttMetadataResponse {
1572
+ model?: string | null;
1573
+ eotConfidence?: number | null;
1574
+ min?: number | null;
1575
+ mean?: number | null;
1576
+ words?: SttWordConfidenceResponse[];
1577
+ [key: string]: unknown;
1578
+ }
1579
+ /**
1580
+ * One transcribed word and how sure the recognizer was about it.
1581
+ *
1582
+ * Compact keys mirror the stored JSONB (see
1583
+ * ``lib.voice.stt_confidence.to_stt_metadata``) — they are per-word on
1584
+ * every voice turn, so the shortening is deliberate. ``s``/``e`` are
1585
+ * absent on self-hosted Flux, which returns no word timings at all.
1586
+ */
1587
+ interface SttWordConfidenceResponse {
1588
+ w: string;
1589
+ c: number;
1590
+ s?: number | null;
1591
+ e?: number | null;
1592
+ [key: string]: unknown;
1555
1593
  }
1556
1594
  /**
1557
1595
  * Response model for a single todo item.
@@ -1657,6 +1695,7 @@ declare function isChatType(value: string): value is ChatType;
1657
1695
  interface ArchiveBlockersResponse {
1658
1696
  canArchive: boolean;
1659
1697
  workflowBlockers: WorkflowBlockerResponse[];
1698
+ workspaceDefaultBlocker?: boolean;
1660
1699
  }
1661
1700
  /**
1662
1701
  * Summary of an assignment for email thread context.
@@ -2461,6 +2500,8 @@ interface LoadedSkill {
2461
2500
  interface SkillsState {
2462
2501
  loaded_skills: string[];
2463
2502
  revealed_skills: string[];
2503
+ /** Toolkit tool URIs/names enabled for this Manager chat (composer selection). */
2504
+ enabled_toolkit_tools?: string[];
2464
2505
  }
2465
2506
  interface ChatLabelFormData {
2466
2507
  name: string;
@@ -2888,6 +2929,207 @@ interface GetWorkflowFeedbackOptions {
2888
2929
  includeTest?: boolean;
2889
2930
  }
2890
2931
 
2932
+ /**
2933
+ * Generated by Orval, grouped by scripts/types-codegen/group_generated.ts
2934
+ * (group map from emit_openapi.py). Do not edit manually.
2935
+ * Group: config_health
2936
+ */
2937
+ /**
2938
+ * A finding owned by a real Ability type.
2939
+ *
2940
+ * ``abilityType`` is the Ability's registered slug. Real Ability slugs also
2941
+ * live in the ``system:*`` namespace (``system:strict_workflow``,
2942
+ * ``system:cel_routing``), which is exactly why the discriminator exists.
2943
+ */
2944
+ interface ConfigHealthAbilityProvenance {
2945
+ kind?: 'ability';
2946
+ abilityType: string;
2947
+ }
2948
+ /**
2949
+ * Completion record for one requested family.
2950
+ */
2951
+ interface ConfigHealthCheckStatus {
2952
+ checkSlug: ConfigHealthCheckStatusCheckSlug;
2953
+ status: ConfigHealthCheckStatusStatus;
2954
+ issueCount: number;
2955
+ failureCode?: ConfigHealthCheckStatusFailureCode;
2956
+ }
2957
+ type ConfigHealthCheckStatusCheckSlug = typeof ConfigHealthCheckStatusCheckSlug[keyof typeof ConfigHealthCheckStatusCheckSlug];
2958
+ declare const ConfigHealthCheckStatusCheckSlug: {
2959
+ readonly workflowconfig: "workflow.config";
2960
+ readonly journeyauthoring: "journey.authoring";
2961
+ readonly journeyruntime: "journey.runtime";
2962
+ readonly workflowaccess: "workflow.access";
2963
+ readonly routineworkflow_access: "routine.workflow_access";
2964
+ readonly workspacevalidation: "workspace.validation";
2965
+ };
2966
+ type ConfigHealthCheckStatusFailureCode = typeof ConfigHealthCheckStatusFailureCode[keyof typeof ConfigHealthCheckStatusFailureCode] | null;
2967
+ declare const ConfigHealthCheckStatusFailureCode: {
2968
+ readonly collector_error: "collector_error";
2969
+ readonly unavailable: "unavailable";
2970
+ };
2971
+ type ConfigHealthCheckStatusStatus = typeof ConfigHealthCheckStatusStatus[keyof typeof ConfigHealthCheckStatusStatus];
2972
+ declare const ConfigHealthCheckStatusStatus: {
2973
+ readonly complete: "complete";
2974
+ readonly failed: "failed";
2975
+ };
2976
+ /**
2977
+ * The workspace configuration-health read model.
2978
+ *
2979
+ * Pagination bounds serialization and rendering, **not** evaluation cost:
2980
+ * every requested family is evaluated in full before the page is sliced.
2981
+ */
2982
+ interface ConfigHealthCollection {
2983
+ summary: ConfigHealthSummary;
2984
+ checks: ConfigHealthCheckStatus[];
2985
+ issues: PaginatedResponseConfigHealthIssue;
2986
+ evaluatedAt: string;
2987
+ }
2988
+ /**
2989
+ * A finding owned by a non-Ability detector.
2990
+ */
2991
+ interface ConfigHealthDetectorProvenance {
2992
+ kind?: 'detector';
2993
+ detector: ConfigHealthDetectorProvenanceDetector;
2994
+ }
2995
+ type ConfigHealthDetectorProvenanceDetector = typeof ConfigHealthDetectorProvenanceDetector[keyof typeof ConfigHealthDetectorProvenanceDetector];
2996
+ declare const ConfigHealthDetectorProvenanceDetector: {
2997
+ readonly task_edge: "task_edge";
2998
+ readonly task_guard: "task_guard";
2999
+ readonly workflow_voice: "workflow_voice";
3000
+ readonly event_rule: "event_rule";
3001
+ readonly journey_edge: "journey_edge";
3002
+ readonly journey_goal: "journey_goal";
3003
+ readonly journey_runtime_failure: "journey_runtime_failure";
3004
+ readonly routine_workflow_access: "routine_workflow_access";
3005
+ readonly workspace_lint: "workspace_lint";
3006
+ readonly task_instructions: "task_instructions";
3007
+ readonly qualification_coverage: "qualification_coverage";
3008
+ readonly strict_routing: "strict_routing";
3009
+ readonly journey_step_rule: "journey_step_rule";
3010
+ };
3011
+ /**
3012
+ * One canonical configuration-health finding.
3013
+ *
3014
+ * Lifecycle-neutral: the workspace facade constructs it from live/current
3015
+ * saved configuration while the Workflow and Journey editor endpoints
3016
+ * construct the same shape from their existing draft/saved-editor inputs.
3017
+ * Reusing the shape must not make the facade inspect drafts nor make an
3018
+ * editor silently switch to active configuration.
3019
+ */
3020
+ interface ConfigHealthIssue {
3021
+ issueKey: string;
3022
+ checkSlug: ConfigHealthIssueCheckSlug;
3023
+ code: string;
3024
+ severity: ConfigHealthIssueSeverity;
3025
+ message: string;
3026
+ subject: ConfigHealthSubject;
3027
+ provenance?: ConfigHealthAbilityProvenance | ConfigHealthDetectorProvenance | null;
3028
+ remediation?: ConfigHealthRemediation | null;
3029
+ }
3030
+ type ConfigHealthIssueCheckSlug = typeof ConfigHealthIssueCheckSlug[keyof typeof ConfigHealthIssueCheckSlug];
3031
+ declare const ConfigHealthIssueCheckSlug: {
3032
+ readonly workflowconfig: "workflow.config";
3033
+ readonly journeyauthoring: "journey.authoring";
3034
+ readonly journeyruntime: "journey.runtime";
3035
+ readonly workflowaccess: "workflow.access";
3036
+ readonly routineworkflow_access: "routine.workflow_access";
3037
+ readonly workspacevalidation: "workspace.validation";
3038
+ };
3039
+ type ConfigHealthIssueSeverity = typeof ConfigHealthIssueSeverity[keyof typeof ConfigHealthIssueSeverity];
3040
+ declare const ConfigHealthIssueSeverity: {
3041
+ readonly critical: "critical";
3042
+ readonly warning: "warning";
3043
+ readonly info: "info";
3044
+ };
3045
+ /**
3046
+ * One structured, workspace-relative drill-down target.
3047
+ *
3048
+ * Never a complete URL, a mutation command, a permission mask, or a
3049
+ * source-details payload. Destination routes remain authoritative for
3050
+ * authorization; an issue the viewer may see but may not safely act on is
3051
+ * returned with ``remediation=None``.
3052
+ */
3053
+ interface ConfigHealthRemediation {
3054
+ destination: ConfigHealthRemediationDestination;
3055
+ resourceKind: ConfigHealthRemediationResourceKind;
3056
+ resourceId: string;
3057
+ focus?: ConfigHealthRemediationFocus;
3058
+ }
3059
+ type ConfigHealthRemediationDestination = typeof ConfigHealthRemediationDestination[keyof typeof ConfigHealthRemediationDestination];
3060
+ declare const ConfigHealthRemediationDestination: {
3061
+ readonly workflow_editor: "workflow_editor";
3062
+ readonly workflow_access: "workflow_access";
3063
+ readonly journey_editor: "journey_editor";
3064
+ readonly routine_editor: "routine_editor";
3065
+ readonly event_rule_editor: "event_rule_editor";
3066
+ readonly data_type_editor: "data_type_editor";
3067
+ readonly member_role_editor: "member_role_editor";
3068
+ };
3069
+ /**
3070
+ * Typed navigation context for one drill-down target.
3071
+ *
3072
+ * Every field is an identifier or a structural enum value. This is the
3073
+ * navigation completeness the editor dialogs need (Workflow Task grouping,
3074
+ * EventRule trigger-safe navigation, Journey edge navigation) — not a
3075
+ * back door for family-specific issue details.
3076
+ */
3077
+ interface ConfigHealthRemediationFocus {
3078
+ taskId?: number | null;
3079
+ taskAssociationId?: number | null;
3080
+ abilityUuid?: string | null;
3081
+ eventRuleId?: number | null;
3082
+ objectType?: string | null;
3083
+ eventType?: string | null;
3084
+ journeyStepConnectionId?: number | null;
3085
+ journeyGoalId?: number | null;
3086
+ roleId?: number | null;
3087
+ }
3088
+ type ConfigHealthRemediationResourceKind = typeof ConfigHealthRemediationResourceKind[keyof typeof ConfigHealthRemediationResourceKind];
3089
+ declare const ConfigHealthRemediationResourceKind: {
3090
+ readonly workflow: "workflow";
3091
+ readonly journey: "journey";
3092
+ readonly routine: "routine";
3093
+ readonly event_rule: "event_rule";
3094
+ readonly data_type: "data_type";
3095
+ readonly member_role: "member_role";
3096
+ };
3097
+ /**
3098
+ * The primary configuration object an issue is about.
3099
+ *
3100
+ * ``id`` is stringified so integer row ids and UUID-shaped ids share one
3101
+ * wire type. Typed navigation identifiers live on
3102
+ * :class:`ConfigHealthRemediationFocus`, not here.
3103
+ *
3104
+ * ``name`` is operator-authored and optional: it is omitted when the caller
3105
+ * is not authorized to read the underlying object.
3106
+ */
3107
+ interface ConfigHealthSubject {
3108
+ type: string;
3109
+ id: string;
3110
+ name?: string | null;
3111
+ }
3112
+ /**
3113
+ * Totals across every issue produced by the requested families.
3114
+ */
3115
+ interface ConfigHealthSummary {
3116
+ total: number;
3117
+ critical: number;
3118
+ warning: number;
3119
+ info: number;
3120
+ byCheck: ConfigHealthSummaryByCheck;
3121
+ }
3122
+ type ConfigHealthSummaryByCheck = {
3123
+ [key: string]: number;
3124
+ };
3125
+ interface PaginatedResponseConfigHealthIssue {
3126
+ items: ConfigHealthIssue[];
3127
+ total: number;
3128
+ page: number;
3129
+ pageSize: number;
3130
+ totalPages: number;
3131
+ }
3132
+
2891
3133
  /**
2892
3134
  * Response model for an access grant.
2893
3135
  */
@@ -3618,6 +3860,33 @@ interface OrgJoinWorkspaceResponse {
3618
3860
  memberRoleId: number;
3619
3861
  message: string;
3620
3862
  }
3863
+ /**
3864
+ * Organization settings an **org admin** may change.
3865
+ *
3866
+ * Deliberately a separate model from :class:`UpdateOrganizationRequest`
3867
+ * rather than a subset enforced at the route: the privileged fields —
3868
+ * ``primary`` and ``enforceCreditLimit`` — are *absent from the schema*, so
3869
+ * an org admin cannot set them even by crafting the request body. Pydantic
3870
+ * ignores unknown keys, and there is no code path from here to those
3871
+ * columns.
3872
+ *
3873
+ * Both remain superuser-only, on ``PUT /api/v2/admin/organizations/{id}``
3874
+ * behind ``Depends(get_superuser)``:
3875
+ *
3876
+ * - ``primary`` designates the platform's own organization.
3877
+ * - ``enforceCreditLimit`` decides whether a customer is hard-blocked (402)
3878
+ * at zero credits or merely alerted, i.e. whether they can keep spending.
3879
+ *
3880
+ * SSO is not here either — it has its own admin-scoped endpoint
3881
+ * (``PUT /api/v2/o/{org_uuid}/sso``) with its own audit trail.
3882
+ */
3883
+ interface OrgSettingsUpdateRequest {
3884
+ name?: string | null;
3885
+ slug?: string | null;
3886
+ contactEmail?: string | null;
3887
+ contactPhone?: string | null;
3888
+ logoUrl?: string | null;
3889
+ }
3621
3890
  /**
3622
3891
  * Workspace response for org context.
3623
3892
  *
@@ -3649,6 +3918,58 @@ interface OrgWorkspaceResponse$1 {
3649
3918
  type OrgWorkspaceResponseFeatureStatus = {
3650
3919
  [key: string]: string;
3651
3920
  } | null;
3921
+ /**
3922
+ * One workspace card's expensive half: workspace-schema aggregates.
3923
+ *
3924
+ * ``myRoleName`` is about the requesting account and is returned to any org
3925
+ * member who belongs to the workspace. The counts are org-administrative
3926
+ * information and are populated only for ``org:read`` holders; everyone else
3927
+ * gets ``None`` (rendered as "—" rather than zero, so the UI never implies
3928
+ * an empty workspace when it simply may not look).
3929
+ *
3930
+ * ``schemaReady`` is False while the workspace is still provisioning — its
3931
+ * tables do not exist yet, so the counts are absent for a reason the card
3932
+ * can explain instead of showing a failure.
3933
+ */
3934
+ interface OrgWorkspaceStatsResponse {
3935
+ workspaceUuid: string;
3936
+ /** False while the workspace is still provisioning, or when its schema could not be read. The counts are absent in that case. */
3937
+ schemaReady?: boolean;
3938
+ /** The REQUESTING account's member-role name in this workspace. Null when they have no member row there. */
3939
+ myRoleName?: string | null;
3940
+ /** Non-archived members in this workspace. NULL — not 0 — when the caller lacks org:read, or when the workspace schema is unreadable (schemaReady=false). Zero means the workspace really is empty. */
3941
+ memberCount?: number | null;
3942
+ /** Published and draft sites in this workspace. NULL — not 0 — when the caller lacks org:read, or when the workspace schema is unreadable (schemaReady=false). Zero means the workspace really is empty. */
3943
+ siteCount?: number | null;
3944
+ /** Email inboxes in this workspace. NULL — not 0 — when the caller lacks org:read, or when the workspace schema is unreadable (schemaReady=false). Zero means the workspace really is empty. */
3945
+ inboxCount?: number | null;
3946
+ /** Non-archived phone numbers in this workspace. NULL — not 0 — when the caller lacks org:read, or when the workspace schema is unreadable (schemaReady=false). Zero means the workspace really is empty. */
3947
+ phoneNumberCount?: number | null;
3948
+ }
3949
+ /**
3950
+ * One workspace card's cheap half: identity plus a GLB-side count.
3951
+ *
3952
+ * ``orgMemberCount`` joins workspace membership to org membership. A separate
3953
+ * "all accounts" tally was tried and dropped: the
3954
+ * ``enforce_org_membership_before_workspace`` trigger refuses a workspace
3955
+ * membership for an account with no org membership, so the two numbers are
3956
+ * equal except in the transient state after an org membership is revoked —
3957
+ * a distinction no card was showing.
3958
+ */
3959
+ interface OrgWorkspaceSummaryResponse {
3960
+ uuid: string;
3961
+ name: string;
3962
+ slug: string;
3963
+ /** WorkspaceProvisionStatus. 2 = AVAILABLE; anything else means the workspace is still being provisioned. */
3964
+ status: number;
3965
+ createdAt: string;
3966
+ isPublic?: boolean;
3967
+ allowSignup?: boolean;
3968
+ /** Whether the requesting account has a workspace membership here. */
3969
+ isMember?: boolean;
3970
+ /** Accounts with access to this workspace who are also members of this organization. */
3971
+ orgMemberCount?: number;
3972
+ }
3652
3973
  type PhiDataPolicy = typeof PhiDataPolicy[keyof typeof PhiDataPolicy];
3653
3974
  declare const PhiDataPolicy: {
3654
3975
  readonly unclassified: "unclassified";
@@ -3670,6 +3991,9 @@ declare const PhiPostureReasonCode: {
3670
3991
  readonly non_phi_policy_aligned: "non_phi_policy_aligned";
3671
3992
  readonly phi_expected_workspace_prohibited: "phi_expected_workspace_prohibited";
3672
3993
  readonly phi_authorization_not_evaluated: "phi_authorization_not_evaluated";
3994
+ readonly phi_coverage_satisfied: "phi_coverage_satisfied";
3995
+ readonly phi_coverage_missing: "phi_coverage_missing";
3996
+ readonly phi_coverage_expired: "phi_coverage_expired";
3673
3997
  readonly non_phi_org_workspace_permitted: "non_phi_org_workspace_permitted";
3674
3998
  readonly phi_permitted_org_not_expected: "phi_permitted_org_not_expected";
3675
3999
  readonly organization_review_expired: "organization_review_expired";
@@ -3822,6 +4146,8 @@ declare const AbilityConfigIssueCode: {
3822
4146
  readonly feature_disabled: "feature_disabled";
3823
4147
  readonly missing_connection: "missing_connection";
3824
4148
  readonly external_drift: "external_drift";
4149
+ readonly missing_task_instructions: "missing_task_instructions";
4150
+ readonly no_qualification_scenarios: "no_qualification_scenarios";
3825
4151
  };
3826
4152
  type AbilityConfigIssueSeverity = typeof AbilityConfigIssueSeverity[keyof typeof AbilityConfigIssueSeverity];
3827
4153
  declare const AbilityConfigIssueSeverity: {
@@ -4083,9 +4409,27 @@ declare const WorkflowAccessWarningResourceType: {
4083
4409
  * Separate from :class:`WorkflowAccessValidationResponse` because access
4084
4410
  * gaps are role-centric and have a specific remediation path, while
4085
4411
  * config issues describe drift in an ability's own references.
4412
+ *
4413
+ * ``configHealthIssues`` is the canonical contract (plan §3.9) and the
4414
+ * stable final field name — it is deliberately NOT renamed back onto
4415
+ * ``issues`` at cleanup, so consumers see only one wire-type change.
4416
+ * Discriminated provenance (a real Ability slug versus a closed detector
4417
+ * code) and typed remediation focus replace the overloaded ``abilityType``.
4418
+ *
4419
+ * ``issues`` is the LEGACY field and this is Phase 3A, the additive step: a
4420
+ * browser still running a pre-cutover bundle reads ``issues``, so removing
4421
+ * it in the same deploy that ships the canonical bundle would silently empty
4422
+ * every one of those dialogs. Both lists are produced from ONE evaluation —
4423
+ * :func:`lib.services.config_health_legacy.to_legacy_ability_issues`
4424
+ * projects the same findings — so nothing is evaluated twice and the two can
4425
+ * never disagree. Phase 3C removes ``issues`` in a later PR and deploy.
4426
+ *
4427
+ * The endpoint still evaluates the editor's DRAFT revision — the canonical
4428
+ * item shape is lifecycle-neutral.
4086
4429
  */
4087
4430
  interface WorkflowConfigValidationResponse {
4088
- issues: AbilityConfigIssue[];
4431
+ issues?: AbilityConfigIssue[];
4432
+ configHealthIssues?: ConfigHealthIssue[];
4089
4433
  }
4090
4434
  /**
4091
4435
  * Response model for workflow contributor.
@@ -4247,6 +4591,11 @@ interface WorkflowTemplateResponse {
4247
4591
  * ``taskCount`` / ``archivedTaskCount`` / ``permissions`` are the list
4248
4592
  * enrichments computed against the active graph so rows can be badged
4249
4593
  * without a per-row request.
4594
+ *
4595
+ * ``prompt`` is the active revision's workflow-level prompt for every row
4596
+ * (taskless and multi-step alike). Taskless grid cards render it in place
4597
+ * of a task-graph thumbnail; multi-step rows keep the same field for a
4598
+ * consistent list payload.
4250
4599
  */
4251
4600
  interface WorkflowListItemResponse {
4252
4601
  workflow: WorkflowResponse$1;
@@ -4254,6 +4603,7 @@ interface WorkflowListItemResponse {
4254
4603
  taskCount?: number;
4255
4604
  archivedTaskCount?: number;
4256
4605
  permissions?: number;
4606
+ prompt?: string | null;
4257
4607
  }
4258
4608
  /**
4259
4609
  * The stable workflow root.
@@ -4303,6 +4653,20 @@ interface WorkflowRevisionSummaryResponse {
4303
4653
  createdAt: string;
4304
4654
  updatedAt: string;
4305
4655
  }
4656
+ /**
4657
+ * How the engine routes a member through a workflow's tasks.
4658
+ *
4659
+ * ``open_world`` (default) keeps legacy navigation: ``task:execute`` rules +
4660
+ * ``TaskAssociation`` edges + ``set_current_task`` + ``check_edges``.
4661
+ * ``strict`` enables server-enforced Enter/Command/Exit phases with no
4662
+ * ``set_current_task`` and no edge auto-routing.
4663
+ * See docs/decisions/ai/strict-workflow/implementation-plan.md.
4664
+ */
4665
+ type WorkflowRoutingMode = typeof WorkflowRoutingMode[keyof typeof WorkflowRoutingMode];
4666
+ declare const WorkflowRoutingMode: {
4667
+ readonly open_world: "open_world";
4668
+ readonly strict: "strict";
4669
+ };
4306
4670
 
4307
4671
  /**
4308
4672
  * Generated by Orval, grouped by scripts/types-codegen/group_generated.ts
@@ -4648,6 +5012,10 @@ interface WorkflowFormData {
4648
5012
  realtimeModelId?: string | null;
4649
5013
  realtimeModelConfig?: Record<string, unknown> | null;
4650
5014
  createMode?: 'task' | 'taskless';
5015
+ /** Revision routing mode; strict additionally requires dataTypeSlug
5016
+ * (server-validated, including the high-risk DataType rejection). */
5017
+ routingMode?: WorkflowRoutingMode;
5018
+ dataTypeSlug?: string | null;
4651
5019
  defaultPhoneNumberId?: number | null;
4652
5020
  defaultInboxId?: number | null;
4653
5021
  posX?: number | null;
@@ -4709,6 +5077,7 @@ interface AppConnectionDirectoryEntry {
4709
5077
  multiplicity: string;
4710
5078
  mcpUrl?: string | null;
4711
5079
  mcpUrlHint?: string | null;
5080
+ mcpDefaultHeaderNames?: string[];
4712
5081
  supportsDirectAuth: boolean;
4713
5082
  fhirVendor?: string | null;
4714
5083
  oauthProvider?: string | null;
@@ -4961,6 +5330,7 @@ interface McpServerResponse {
4961
5330
  oauthClientId?: string | null;
4962
5331
  authMetadata?: McpServerResponseAuthMetadata;
4963
5332
  registrationUrl?: string | null;
5333
+ headerSecretNames?: string[];
4964
5334
  iconUrl?: string | null;
4965
5335
  }
4966
5336
  type McpServerResponseAuthMetadata = {
@@ -5192,6 +5562,28 @@ interface WorkflowStartAutomationResponse {
5192
5562
  unsupportedWorkflowIds?: number[];
5193
5563
  }
5194
5564
 
5565
+ /**
5566
+ * Generated by Orval, grouped by scripts/types-codegen/group_generated.ts
5567
+ * (group map from emit_openapi.py). Do not edit manually.
5568
+ * Group: mcp_server
5569
+ */
5570
+ /**
5571
+ * One static request header whose value is a secret (API key, etc.).
5572
+ *
5573
+ * On create, ``value`` must be non-empty to store the header. On update,
5574
+ * an empty/omitted ``value`` keeps the existing secret for that name
5575
+ * (password-field semantics); names omitted from the list are removed
5576
+ * when ``headerSecrets`` is provided.
5577
+ */
5578
+ interface McpHeaderSecretInput {
5579
+ /**
5580
+ * @minLength 1
5581
+ * @maxLength 256
5582
+ */
5583
+ name: string;
5584
+ value?: string | null;
5585
+ }
5586
+
5195
5587
  declare enum McpServerState {
5196
5588
  REGISTER = "register",
5197
5589
  AUTHORIZE = "authorize",
@@ -5209,6 +5601,7 @@ interface McpServerFormData {
5209
5601
  oauthClientSecret?: string;
5210
5602
  authMetadata?: Record<string, any>;
5211
5603
  supportsDirectAuth?: boolean;
5604
+ headerSecrets?: McpHeaderSecretInput[];
5212
5605
  }
5213
5606
  interface McpServerUpdateFormData {
5214
5607
  name?: string;
@@ -5221,6 +5614,8 @@ interface McpServerUpdateFormData {
5221
5614
  oauthClientSecret?: string;
5222
5615
  authMetadata?: Record<string, any>;
5223
5616
  supportsDirectAuth?: boolean;
5617
+ /** Full replace when provided; blank values keep existing secrets. */
5618
+ headerSecrets?: McpHeaderSecretInput[];
5224
5619
  }
5225
5620
 
5226
5621
  /**
@@ -5262,6 +5657,9 @@ declare const CustomToolResponseChatModel: {
5262
5657
  readonly 'openai:chat:gpt-54': "openai:chat:gpt-5.4";
5263
5658
  readonly 'openai:chat:gpt-54-mini': "openai:chat:gpt-5.4-mini";
5264
5659
  readonly 'openai:chat:gpt-54-nano': "openai:chat:gpt-5.4-nano";
5660
+ readonly 'openai:chat:gpt-56-luna': "openai:chat:gpt-5.6-luna";
5661
+ readonly 'openai:chat:gpt-56-terra': "openai:chat:gpt-5.6-terra";
5662
+ readonly 'openai:chat:gpt-56-sol': "openai:chat:gpt-5.6-sol";
5265
5663
  readonly 'google:vertex:gemini-20-flash': "google:vertex:gemini-2.0-flash";
5266
5664
  readonly 'google:vertex:gemini-flash-exp-20': "google:vertex:gemini-flash-exp-2.0";
5267
5665
  readonly 'google:vertex:gemini-25-flash': "google:vertex:gemini-2.5-flash";
@@ -6297,22 +6695,28 @@ interface ProductFeature {
6297
6695
  }
6298
6696
  /**
6299
6697
  * Workspace product feature flags.
6300
- * Matches the Python WorkspaceFeature enum in lib/constants.py
6698
+ *
6699
+ * Hand-maintained mirror of the Python `WorkspaceFeature` enum in
6700
+ * `lib/constants.py`, which is authoritative. Exact member -> slug parity is
6701
+ * enforced by `tests/lint/test_workspace_feature_enum_parity.py`; add, remove
6702
+ * or rename a member here only together with the Python one.
6301
6703
  */
6302
6704
  declare enum WorkspaceFeature {
6303
6705
  PHONE = "phone",
6706
+ A2P_REGISTRATION = "a2p_registration",// Gates A2P 10DLC / toll-free SMS registration
6304
6707
  EMAIL = "email",
6305
6708
  WHATSAPP = "whatsapp",
6306
6709
  DISCORD = "discord",
6307
6710
  SLACK = "slack",
6308
6711
  TEAMS = "teams",
6309
6712
  SITES = "sites",
6310
- FORMS = "forms",
6311
6713
  MAPS = "maps",
6312
6714
  BROWSER = "browser",
6313
6715
  WEB_SEARCH = "web_search",
6314
6716
  CALENDAR = "calendar",
6315
6717
  EXPERIMENTS = "experiments",
6718
+ MAILBOX_USER_INPUT = "mailbox_user_input",// Queue mid-turn input on the chat mailbox
6719
+ FORKED_TRAJECTORIES = "forked_trajectories",// Detach long tool trajectories into fork tasks
6316
6720
  GMAIL = "gmail",
6317
6721
  GCALENDAR = "gcalendar",
6318
6722
  GDRIVE = "gdrive",
@@ -6328,7 +6732,10 @@ declare enum WorkspaceFeature {
6328
6732
  CRM_HUBSPOT = "crm_hubspot",// HubSpot CRM integration
6329
6733
  CONFLUENCE = "confluence",// Confluence knowledge base sync
6330
6734
  AGENT_MEMORY = "agent_memory",// AgentCore long-term memory for agents
6331
- IMAGE_GENERATION = "image_generation"
6735
+ IMAGE_GENERATION = "image_generation",// AI image generation
6736
+ STRICT_NATIVE_VOICE = "strict_native_voice",
6737
+ CHARLESTON_NEPHROLOGY_PMD_PAGING = "charleston_nephrology_pmd_paging",// On-call medical paging
6738
+ PATIENTSYNC_TRANSFER = "patientsync_transfer"
6332
6739
  }
6333
6740
  /**
6334
6741
  * Member product feature flags.
@@ -7682,8 +8089,14 @@ interface XAIRealtimeModelConfig {
7682
8089
  ttsModel?: 'native';
7683
8090
  /** Canonical voice identifier (e.g., elevenlabs:voice:catt) that selects the specific assistant voice. */
7684
8091
  voiceModel: XAIRealtimeModelConfigVoiceModel;
7685
- /** Configure how the model detects when the user has finished speaking. xAI only supports server VAD. */
7686
- turnDetection?: OpenAIServerVADTurnDetection | null;
8092
+ /** Configure how the model detects when the user has finished speaking, and whether it re-engages after silence. xAI only supports server VAD. This block replaces xAI's defaults wholesale rather than merging with them. */
8093
+ turnDetection?: XAIServerVADTurnDetection | null;
8094
+ /** Domain vocabulary that biases xAI's speech recognition — drug and procedure names, clinic and department names, the call-reason words a routing menu speaks aloud. At most 100 terms of 50 characters each. NEVER patient identifiers: this list is workspace config, it is sent to the provider on every session update, and it applies to every caller on the workflow. Entries shaped like phone numbers, dates, record numbers or email addresses are rejected on save; everything else still needs human review before the list goes live. */
8095
+ keyterms?: string[] | null;
8096
+ /** BCP-47 language tag (e.g. 'en-US') telling xAI's transcriber which language to expect. Leave unset for xAI's own multilingual detection — pinning a hint on a line that takes Spanish-language calls degrades those transcripts. */
8097
+ languageHint?: string | null;
8098
+ /** Per-workflow override for xAI's background reasoning. Leave unset to use xAI's own default ('high'). 'none' trades tool-call fidelity for latency and is an EVAL SWEEP DIMENSION ONLY: never a shipped default, and never set on a workflow that can page on-call clinical staff, where a dropped or fabricated tool call is a patient-safety event. Per-task reasoning effort is deliberately not offered. */
8099
+ reasoningEffort?: XAIRealtimeModelConfigReasoningEffort;
7687
8100
  }
7688
8101
  /**
7689
8102
  * Sound to play when user stops speaking after interrupting the assistant. Provides immediate auditory feedback that input was received. Default: none.
@@ -7696,6 +8109,14 @@ declare const XAIRealtimeModelConfigInterruptionSound: {
7696
8109
  readonly organ: "organ";
7697
8110
  readonly guzheng: "guzheng";
7698
8111
  };
8112
+ /**
8113
+ * Per-workflow override for xAI's background reasoning. Leave unset to use xAI's own default ('high'). 'none' trades tool-call fidelity for latency and is an EVAL SWEEP DIMENSION ONLY: never a shipped default, and never set on a workflow that can page on-call clinical staff, where a dropped or fabricated tool call is a patient-safety event. Per-task reasoning effort is deliberately not offered.
8114
+ */
8115
+ type XAIRealtimeModelConfigReasoningEffort = typeof XAIRealtimeModelConfigReasoningEffort[keyof typeof XAIRealtimeModelConfigReasoningEffort] | null;
8116
+ declare const XAIRealtimeModelConfigReasoningEffort: {
8117
+ readonly high: "high";
8118
+ readonly none: "none";
8119
+ };
7699
8120
  /**
7700
8121
  * Sound to play while the assistant is processing tool calls. Set to 'none' or null to disable. Use 'speech' to speak one of `thinkingSpeechPhrases` in round-robin order.
7701
8122
  */
@@ -7786,6 +8207,39 @@ declare const XAIRealtimeModelConfigVoiceModel: {
7786
8207
  readonly 'xai:voice:zagan': "xai:voice:zagan";
7787
8208
  readonly 'xai:voice:zenith': "xai:voice:zenith";
7788
8209
  };
8210
+ /**
8211
+ * xAI's server-VAD block — OpenAI's fields plus ``idle_timeout_ms``.
8212
+ *
8213
+ * xAI documents ``idle_timeout_ms`` as part of its ``turn_detection``
8214
+ * schema; OpenAI's has no such field, so it lives on this subclass rather
8215
+ * than on the shared one. The adapter sends ``turnDetection`` verbatim
8216
+ * (``model_dump(exclude_none=True, by_alias=True)``), so an unset value
8217
+ * never reaches the wire and this class needs no adapter change.
8218
+ *
8219
+ * READ THIS BEFORE SETTING ANY FIELD HERE. A configured ``turnDetection``
8220
+ * REPLACES xAI's default block wholesale — it is not merged with
8221
+ * ``XAIRealtimeSocketManager._build_default_turn_detection()``. Setting
8222
+ * ``idle_timeout_ms`` alone therefore also drops the phone-tuned
8223
+ * ``threshold`` (0.6 on g711) and ``prefix_padding_ms`` (333) back to this
8224
+ * schema's OpenAI-shaped defaults (0.5 / 300). Carry the values you want
8225
+ * explicitly in the same block.
8226
+ */
8227
+ interface XAIServerVADTurnDetection {
8228
+ /** Use server-side voice activity detection */
8229
+ type?: 'server_vad';
8230
+ /** Activation threshold for voice detection (0.0 to 1.0) */
8231
+ threshold?: number | null;
8232
+ /** Milliseconds of audio to include before speech starts */
8233
+ prefix_padding_ms?: number | null;
8234
+ /** Milliseconds of silence before considering speech ended */
8235
+ silence_duration_ms?: number | null;
8236
+ /** Automatically create response when user turn ends */
8237
+ create_response?: boolean | null;
8238
+ /** Allow user to interrupt the response */
8239
+ interrupt_response?: boolean | null;
8240
+ /** How long xAI waits through caller silence before speaking again unprompted. Unset — the default — leaves re-engagement off. There is deliberately NO platform default: whether an agent should break a silence, and after how long, is a per-workflow decision made from eval evidence. xAI CLAMPS THIS UP TO ITS OWN FLOOR: an acceptance spike against grok-voice-think-fast-2.0 sent 3000 and `session.updated` echoed back 5000, so read the echoed session rather than this field when the exact wait matters. Re-engagement was not observed firing during that spike window — a live call is the only proof that a configured value does anything. */
8241
+ idle_timeout_ms?: number | null;
8242
+ }
7789
8243
 
7790
8244
  /**
7791
8245
  * Generated by Orval, grouped by scripts/types-codegen/group_generated.ts
@@ -7856,8 +8310,9 @@ declare const REALTIME_MODEL_GEMINI_VERTEX = "google:vertex:gemini-3.1-flash-liv
7856
8310
  declare const REALTIME_MODEL_NOVA_SONIC = "aws:bedrock:nova-sonic-1";
7857
8311
  declare const REALTIME_MODEL_CUSTOM = "custom:realtime:composable";
7858
8312
  declare const STT_MODEL_DEEPGRAM_FLUX = "deepgram:stt:flux-general-en";
8313
+ declare const STT_MODEL_DEEPGRAM_FLUX_SELFHOST = "deepgram:stt:flux-general-en:selfhost";
7859
8314
  declare const STT_MODEL_DEEPGRAM_FLUX_MULTI = "deepgram:stt:flux-general-multi";
7860
- declare const STT_MODEL_ELEVENLABS_SCRIBE = "elevenlabs:stt:scribe_v2_realtime";
8315
+ declare const STT_MODEL_DEEPGRAM_FLUX_MULTI_SELFHOST = "deepgram:stt:flux-general-multi:selfhost";
7861
8316
  declare const TTS_MODEL_ELEVENLABS_FLASH = "elevenlabs:tts:eleven_flash_v2_5";
7862
8317
  declare const TTS_MODEL_ELEVENLABS_TURBO = "elevenlabs:tts:eleven_turbo_v2_5";
7863
8318
  declare const TTS_MODEL_ELEVENLABS_MULTILINGUAL = "elevenlabs:tts:eleven_multilingual_v2";
@@ -8820,6 +9275,7 @@ type ChatNoteSyncConfigTriggerEvent = typeof ChatNoteSyncConfigTriggerEvent[keyo
8820
9275
  declare const ChatNoteSyncConfigTriggerEvent: {
8821
9276
  readonly 'chat:created': "chat:created";
8822
9277
  readonly 'call:summary': "call:summary";
9278
+ readonly 'chat:summary': "chat:summary";
8823
9279
  };
8824
9280
 
8825
9281
  /**
@@ -9025,13 +9481,24 @@ interface SyncLogsResponse {
9025
9481
  hasMore: boolean;
9026
9482
  nextCursor?: string;
9027
9483
  }
9028
- interface SalesforceDataRecordObjectMapping {
9029
- dataTypeId: number;
9030
- targetSobject: string;
9031
- contactLookupField: string;
9032
- fieldRules: SyncRuleOutbound[];
9033
- }
9034
9484
  type SalesforceLabelSyncMode = 'multi_select' | 'text';
9485
+ /**
9486
+ * One field from a Salesforce `describe` response.
9487
+ *
9488
+ * The upsert-eligibility flags are load-bearing, not decorative: picking a
9489
+ * field that cannot hold the value we send makes every member create a
9490
+ * duplicate record. See `salesforceUpsertFields.ts`.
9491
+ */
9492
+ interface SalesforceDescribeField {
9493
+ name: string;
9494
+ label: string;
9495
+ type: string;
9496
+ /** Salesforce can natively upsert on this field (external-ID lookup). */
9497
+ idLookup?: boolean;
9498
+ externalId?: boolean;
9499
+ updateable?: boolean;
9500
+ createable?: boolean;
9501
+ }
9035
9502
  type SalesforceRelatedObjectLookupTarget = 'linked_record' | 'member_field';
9036
9503
  /**
9037
9504
  * A read-only companion sObject polled alongside `targetSobject`.
@@ -9064,7 +9531,6 @@ interface SalesforceSyncSettings {
9064
9531
  labelTargetField: string;
9065
9532
  useCompositeApi: boolean;
9066
9533
  inboundPollIntervalMinutes: number;
9067
- dataRecordMappings: SalesforceDataRecordObjectMapping[];
9068
9534
  relatedObjects: SalesforceRelatedObject[];
9069
9535
  }
9070
9536
  /** Salesforce sync uses the same ConnectionSyncConfig as all connectors. */
@@ -9863,10 +10329,14 @@ interface TestChatRunResponse {
9863
10329
  assistantChatModelId?: string | null;
9864
10330
  assistantRealtimeModelId?: string | null;
9865
10331
  timingSummary?: TestChatRunResponseTimingSummary;
10332
+ strictTraceSummary?: TestChatRunResponseStrictTraceSummary;
9866
10333
  criterionResults?: CriterionResultResponse[];
9867
10334
  createdAt: string;
9868
10335
  updatedAt: string;
9869
10336
  }
10337
+ type TestChatRunResponseStrictTraceSummary = {
10338
+ [key: string]: unknown;
10339
+ } | null;
9870
10340
  type TestChatRunResponseTimingSummary = {
9871
10341
  [key: string]: unknown;
9872
10342
  } | null;
@@ -10115,6 +10585,45 @@ interface WorkflowAssignmentStatsResponse {
10115
10585
  items: WorkflowAssignmentStatItem[];
10116
10586
  }
10117
10587
 
10588
+ /**
10589
+ * The five families the workspace facade actually evaluates — the only values
10590
+ * its `check` query parameter accepts.
10591
+ *
10592
+ * Derived from the generated item union by subtraction rather than re-typed,
10593
+ * so a new family added to the backend arrives here automatically and cannot
10594
+ * silently diverge. `journey.runtime` is a legitimate ITEM slug (the Journey
10595
+ * editor emits it) but is structurally unreachable from the facade, so the
10596
+ * server rejects it as a filter with a 422: a filter value that can never
10597
+ * match would page over an empty list and read as a healthy workspace.
10598
+ */
10599
+ type ConfigHealthFacadeCheckSlug = Exclude<ConfigHealthIssueCheckSlug, 'journey.runtime'>;
10600
+ /** Every accepted `check` filter value, in the facade's display order. */
10601
+ declare const CONFIG_HEALTH_FACADE_CHECK_SLUGS: readonly ["workflow.config", "journey.authoring", "workflow.access", "routine.workflow_access", "workspace.validation"];
10602
+ /**
10603
+ * Narrow an item `checkSlug` to one the facade will accept as a filter.
10604
+ *
10605
+ * Needed because response items and check statuses are typed with the SIX
10606
+ * member item union: a UI that turns a returned `checkSlug` into a filter
10607
+ * chip has to prove the value is filterable first.
10608
+ */
10609
+ declare function isConfigHealthFacadeCheckSlug(value: string): value is ConfigHealthFacadeCheckSlug;
10610
+ /**
10611
+ * Query parameters for the bounded configuration-health read.
10612
+ *
10613
+ * `check` and `severity` are the server's closed vocabularies — typed here
10614
+ * from the generated literal unions so an unknown value is a compile error
10615
+ * rather than a 422 at runtime. They narrow the ISSUE LIST server-side, before
10616
+ * pagination (so a match on a later page is reachable at all); `summary` and
10617
+ * `checks` stay workspace-global on purpose, because a filtered view must
10618
+ * never make a workspace look healthy.
10619
+ */
10620
+ interface ConfigHealthQueryParams {
10621
+ page?: number;
10622
+ pageSize?: number;
10623
+ check?: ConfigHealthFacadeCheckSlug;
10624
+ severity?: ConfigHealthIssueSeverity;
10625
+ }
10626
+
10118
10627
  /**
10119
10628
  * Generated by Orval, grouped by scripts/types-codegen/group_generated.ts
10120
10629
  * (group map from emit_openapi.py). Do not edit manually.
@@ -10140,47 +10649,900 @@ interface MotdResponse {
10140
10649
  /**
10141
10650
  * Generated by Orval, grouped by scripts/types-codegen/group_generated.ts
10142
10651
  * (group map from emit_openapi.py). Do not edit manually.
10143
- * Group: journey
10652
+ * Group: operation_provenance
10144
10653
  */
10654
+ /**
10655
+ * Closed vocabulary of operations that can own history rows.
10656
+ *
10657
+ * Every member corresponds to an entry point the writer inventory PROVED has
10658
+ * a real boundary — one request or one run that a person would recognise as
10659
+ * a single action. A kind is not added speculatively: an entry point that
10660
+ * cannot demonstrate a boundary leaves provenance NULL and its rows project
10661
+ * per-resource, which is the honest rendering.
10662
+ *
10663
+ * Stored as text with a CHECK constraint rather than a PostgreSQL enum so a
10664
+ * later kind is an additive constraint change, not a type migration on two
10665
+ * large tables.
10666
+ */
10667
+ type OperationKind = typeof OperationKind[keyof typeof OperationKind];
10668
+ declare const OperationKind: {
10669
+ readonly data_records_bulk: "data_records_bulk";
10670
+ readonly data_records_csv_import: "data_records_csv_import";
10671
+ readonly member_import: "member_import";
10672
+ readonly connection_sync: "connection_sync";
10673
+ readonly rule_action: "rule_action";
10674
+ readonly routine_run: "routine_run";
10675
+ };
10145
10676
 
10146
10677
  /**
10147
- * Authoring projection for a journey definition (``JOURNEYS_WRITE`` only).
10678
+ * Generated by Orval, grouped by scripts/types-codegen/group_generated.ts
10679
+ * (group map from emit_openapi.py). Do not edit manually.
10680
+ * Group: activity_timeline
10681
+ */
10682
+
10683
+ /**
10684
+ * Who caused the activity.
10148
10685
  *
10149
- * journey-decoupling §3.5: this is a distinct response *type*, not read
10150
- * output with fields deleted after the fact. Nested edges carry raw
10151
- * ``celCondition`` and nested goals carry raw ``completionCel`` so the
10152
- * Journey editor can render and edit them. Returned only by
10153
- * ``GET /journeys/{journey_id}/authoring``.
10686
+ * ``kind`` is always present; ``member`` is populated only when the acting
10687
+ * Member is both known and authorized. An unattributed automation stays
10688
+ * ``kind="system"`` with no member rather than borrowing the subject's
10689
+ * identity.
10154
10690
  */
10155
- interface JourneyAuthoringResponse {
10156
- id: number;
10157
- uuid: string;
10158
- name: string;
10159
- description: string | null;
10160
- status: string;
10161
- ownerId: number | null;
10162
- autoEnrollFilterId: number | null;
10163
- activeHours?: JourneyAuthoringResponseActiveHours;
10164
- startStepId?: number | null;
10165
- archived: boolean;
10166
- createdAt: string;
10167
- updatedAt: string;
10168
- steps?: JourneyStepAuthoringResponse[];
10169
- goals?: JourneyGoalAuthoringResponse[];
10691
+ interface ActivityActor {
10692
+ kind: ActivityActorKind;
10693
+ member?: ActivityMemberSummary | null;
10170
10694
  }
10171
- type JourneyAuthoringResponseActiveHours = {
10172
- [key: string]: unknown;
10173
- } | null;
10174
10695
  /**
10175
- * Authoring projection for a journey goal — adds raw ``completionCel``.
10696
+ * Who caused the activity. Mirrors ``TaskTransitionInitiator`` plus the
10697
+ * attribution kinds the other sources can express.
10176
10698
  *
10177
- * Only returned by ``JOURNEYS_WRITE`` authoring surfaces (the authoring
10178
- * detail endpoint and goal create/update mutations).
10699
+ * ``API_KEY`` was added with the configuration-change source, which is the
10700
+ * first one to persist the real ``ActorType`` vocabulary from
10701
+ * ``lib/authorization/types.py`` (``human`` / ``agent`` / ``api_key`` /
10702
+ * ``system``). Without it a machine-token change would have to arrive as
10703
+ * ``system``, which says "nobody did this" about a row whose entire purpose
10704
+ * is to say who did. Every pre-existing member is untouched — ``EVENT_RULE``
10705
+ * included, because Task transitions still persist it.
10706
+ */
10707
+ type ActivityActorKind = typeof ActivityActorKind[keyof typeof ActivityActorKind];
10708
+ declare const ActivityActorKind: {
10709
+ readonly member: "member";
10710
+ readonly agent: "agent";
10711
+ readonly operator: "operator";
10712
+ readonly event_rule: "event_rule";
10713
+ readonly api_key: "api_key";
10714
+ readonly system: "system";
10715
+ };
10716
+ /**
10717
+ * Bounded description of the authorized rows one activity stands for.
10718
+ *
10719
+ * Absent on an ungrouped non-Message singleton. Every number here is computed
10720
+ * from rows the caller may read, AFTER authorization and request filters
10721
+ * (§3.9): a row the caller cannot see changes neither a count nor a group
10722
+ * boundary, so the aggregate can never become an existence oracle.
10723
+ *
10724
+ * Nothing in here identifies a source row. There is no child list, no raw
10725
+ * id, no operation UUID and no Form value — a client that wants granularity
10726
+ * follows the row's target rather than expanding a payload it was given.
10179
10727
  */
10180
- interface JourneyGoalAuthoringResponse {
10181
- id: number;
10182
- uuid: string;
10183
- name: string;
10728
+ interface ActivityAggregate {
10729
+ aggregationKind: ActivityAggregationKind;
10730
+ count: number;
10731
+ startedAt: string;
10732
+ endedAt: string;
10733
+ inboundCount?: number | null;
10734
+ outboundCount?: number | null;
10735
+ includesChatStart?: boolean;
10736
+ channelMixed?: boolean;
10737
+ actorMixed?: boolean;
10738
+ fields?: ActivityFieldSummary[];
10739
+ fieldOverflowCount?: number;
10740
+ operationKind?: OperationKind | null;
10741
+ recordCount?: number | null;
10742
+ chatCount?: number | null;
10743
+ subjectCount?: number | null;
10744
+ }
10745
+ /**
10746
+ * Why one row stands for more than one history row (§3.2, §3.5).
10747
+ *
10748
+ * Closed rather than free text so the client can select copy from the wire
10749
+ * value without the server ever sending an English phrase, and so a future
10750
+ * projection cannot quietly invent a fourth grouping semantics.
10751
+ *
10752
+ * ``BURST``
10753
+ * Same-actor Form changes on one DataRecord inside the inactivity gap.
10754
+ * Present only at or above ``FORM_RECORD_BURST_MIN_ROWS``; a single
10755
+ * change stays a singleton with no aggregate at all.
10756
+ * ``CONVERSATION_SESSION``
10757
+ * Messages in ONE authorized Chat inside the inactivity gap. There is no
10758
+ * minimum — a one-Message session is the displayed unit exactly as a
10759
+ * fourteen-Message session is (§3.5), because the Chat page is already
10760
+ * the Message-granular surface.
10761
+ * ``OPERATION``
10762
+ * A proven-causal group of projected children above the per-family
10763
+ * thresholds — the level-2 collapse over the level-1 units above. Its
10764
+ * row carries ``operationKind`` and the visible distinct counts, and its
10765
+ * target is the operation drill-through rather than any one child's
10766
+ * destination.
10767
+ */
10768
+ type ActivityAggregationKind = typeof ActivityAggregationKind[keyof typeof ActivityAggregationKind];
10769
+ declare const ActivityAggregationKind: {
10770
+ readonly burst: "burst";
10771
+ readonly conversation_session: "conversation_session";
10772
+ readonly operation: "operation";
10773
+ };
10774
+ /**
10775
+ * Closed carrier-disposition vocabulary a Call row may report.
10776
+ */
10777
+ type ActivityCallCarrierStatus = typeof ActivityCallCarrierStatus[keyof typeof ActivityCallCarrierStatus];
10778
+ declare const ActivityCallCarrierStatus: {
10779
+ readonly completed: "completed";
10780
+ readonly busy: "busy";
10781
+ readonly 'no-answer': "no-answer";
10782
+ readonly failed: "failed";
10783
+ readonly canceled: "canceled";
10784
+ readonly other: "other";
10785
+ };
10786
+ /**
10787
+ * Closed answered-by vocabulary a Call row may report.
10788
+ */
10789
+ type ActivityCallOutcome = typeof ActivityCallOutcome[keyof typeof ActivityCallOutcome];
10790
+ declare const ActivityCallOutcome: {
10791
+ readonly human: "human";
10792
+ readonly voicemail: "voicemail";
10793
+ readonly call_screening: "call_screening";
10794
+ readonly unknown: "unknown";
10795
+ readonly other: "other";
10796
+ };
10797
+ /**
10798
+ * Closed lifecycle vocabulary a Call row may report.
10799
+ *
10800
+ * ``OTHER`` is a read-side sentinel only — it is not filterable, because
10801
+ * "any value we do not recognize" is not a meaningful thing to ask for.
10802
+ *
10803
+ * ``BLOCKED`` is the app-defined terminal state for an attempt the outbound
10804
+ * safety gate suppressed before the carrier was contacted; see
10805
+ * :data:`CALL_STATUSES`. It is a persisted fact, so it IS filterable.
10806
+ */
10807
+ type ActivityCallStatus = typeof ActivityCallStatus[keyof typeof ActivityCallStatus];
10808
+ declare const ActivityCallStatus: {
10809
+ readonly CREATED: "CREATED";
10810
+ readonly STARTED: "STARTED";
10811
+ readonly FINISHED: "FINISHED";
10812
+ readonly ERROR: "ERROR";
10813
+ readonly INTERRUPTED: "INTERRUPTED";
10814
+ readonly BLOCKED: "BLOCKED";
10815
+ readonly other: "other";
10816
+ };
10817
+ /**
10818
+ * Whether a source is actively recording new history.
10819
+ */
10820
+ type ActivityCaptureState = typeof ActivityCaptureState[keyof typeof ActivityCaptureState];
10821
+ declare const ActivityCaptureState: {
10822
+ readonly active: "active";
10823
+ readonly not_started: "not_started";
10824
+ };
10825
+ /**
10826
+ * What happened to the configured thing. Mirrors ``ConfigEventAction``.
10827
+ */
10828
+ type ActivityConfigAction = typeof ActivityConfigAction[keyof typeof ActivityConfigAction];
10829
+ declare const ActivityConfigAction: {
10830
+ readonly created: "created";
10831
+ readonly updated: "updated";
10832
+ readonly deleted: "deleted";
10833
+ };
10834
+ /**
10835
+ * Which slice of workspace configuration a ``config_changed`` row is about.
10836
+ *
10837
+ * Mirrors ``ConfigEventArea`` in ``lib/models/workspace/config_event.py``,
10838
+ * restated here rather than imported because this is the **API** vocabulary:
10839
+ * the storage enum can gain a value a deployed client has never heard of, and
10840
+ * the read path clamps to this set in SQL so a stored code outside it never
10841
+ * reaches a response, a metric label or the DOM.
10842
+ */
10843
+ type ActivityConfigArea = typeof ActivityConfigArea[keyof typeof ActivityConfigArea];
10844
+ declare const ActivityConfigArea: {
10845
+ readonly inbox: "inbox";
10846
+ readonly phone_number: "phone_number";
10847
+ readonly business_hours: "business_hours";
10848
+ readonly escalation_settings: "escalation_settings";
10849
+ readonly workspace_settings: "workspace_settings";
10850
+ };
10851
+ /**
10852
+ * Authorized labels and IDs for the row's second line.
10853
+ *
10854
+ * Every field is optional: a row carries only the context its source
10855
+ * actually has. Names here are workspace configuration (Journey, Workflow,
10856
+ * Task, Form), never Member or Chat free text.
10857
+ */
10858
+ interface ActivityContext {
10859
+ journeyId?: number | null;
10860
+ journeyName?: string | null;
10861
+ journeyStepId?: number | null;
10862
+ journeyStepName?: string | null;
10863
+ memberJourneyId?: number | null;
10864
+ workflowId?: number | null;
10865
+ workflowName?: string | null;
10866
+ assignmentId?: number | null;
10867
+ taskId?: number | null;
10868
+ taskName?: string | null;
10869
+ fromTaskId?: number | null;
10870
+ fromTaskName?: string | null;
10871
+ chatId?: number | null;
10872
+ dataTypeId?: number | null;
10873
+ dataTypeName?: string | null;
10874
+ dataRecordId?: number | null;
10875
+ phoneNumberId?: number | null;
10876
+ }
10877
+ /**
10878
+ * Closed vocabulary for *why* a source's history is incomplete.
10879
+ *
10880
+ * A closed enum rather than prose so the UI can localize the explanation and
10881
+ * so no source can smuggle free text into the response.
10882
+ */
10883
+ type ActivityCoverageLimitation = typeof ActivityCoverageLimitation[keyof typeof ActivityCoverageLimitation];
10884
+ declare const ActivityCoverageLimitation: {
10885
+ readonly none: "none";
10886
+ readonly capture_started_at_cutover: "capture_started_at_cutover";
10887
+ readonly legacy_baseline_incomplete: "legacy_baseline_incomplete";
10888
+ readonly deletion_may_remove_history: "deletion_may_remove_history";
10889
+ readonly config_capture_started: "config_capture_started";
10890
+ };
10891
+ /**
10892
+ * Communication direction from the workspace's point of view.
10893
+ */
10894
+ type ActivityDirection = typeof ActivityDirection[keyof typeof ActivityDirection];
10895
+ declare const ActivityDirection: {
10896
+ readonly inbound: "inbound";
10897
+ readonly outbound: "outbound";
10898
+ };
10899
+ /**
10900
+ * Why an empty **first page** is empty (§3.7).
10901
+ *
10902
+ * Closed on purpose. "Nothing here" is three different situations with three
10903
+ * different recoveries, and only the server can tell them apart safely — the
10904
+ * client cannot ask "does activity exist outside my window?" without an
10905
+ * endpoint that would answer for rows the caller may not read.
10906
+ *
10907
+ * Absent on a non-empty response and on every continuation page. A
10908
+ * continuation page that comes back empty is a pagination edge, not a
10909
+ * statement about the collection, and classifying it would make the reason
10910
+ * depend on how far the reader had scrolled.
10911
+ */
10912
+ type ActivityEmptyReason = typeof ActivityEmptyReason[keyof typeof ActivityEmptyReason];
10913
+ declare const ActivityEmptyReason: {
10914
+ readonly collection: "collection";
10915
+ readonly period: "period";
10916
+ readonly filtered: "filtered";
10917
+ };
10918
+ /**
10919
+ * Persisted API vocabulary — snake_case by §3.1, unlike control values.
10920
+ *
10921
+ * One ``message`` type carries direction in its detail so SMS/email/voice/fax
10922
+ * filters do not multiply the schema.
10923
+ */
10924
+ type ActivityEventType = typeof ActivityEventType[keyof typeof ActivityEventType];
10925
+ declare const ActivityEventType: {
10926
+ readonly workflow_started: "workflow_started";
10927
+ readonly assignment_task_transition: "assignment_task_transition";
10928
+ readonly journey_status_changed: "journey_status_changed";
10929
+ readonly journey_step_status_changed: "journey_step_status_changed";
10930
+ readonly journey_goal_status_changed: "journey_goal_status_changed";
10931
+ readonly chat_started: "chat_started";
10932
+ readonly message: "message";
10933
+ readonly call: "call";
10934
+ readonly form_field_changed: "form_field_changed";
10935
+ readonly config_changed: "config_changed";
10936
+ };
10937
+ /**
10938
+ * A closed editorial grouping of event types, resolved by the service.
10939
+ *
10940
+ * Control vocabulary, so camelCase — unlike :class:`ActivityEventType`, which
10941
+ * is persisted API vocabulary and stays snake_case (§3.1).
10942
+ *
10943
+ * This is **not** shorthand for an ``eventTypes`` array, and the difference is
10944
+ * the whole reason it exists. A preset is authored once — by a Dashboard
10945
+ * editor curating a shared tile — and then read by viewers holding different
10946
+ * roles, so it cannot carry the strict "every named type must be authorized"
10947
+ * truth condition ``eventTypes`` has. Expanded to a strict list,
10948
+ * ``communications`` would 403 for every viewer without ``phones:read``, even
10949
+ * though Messages and Chats are perfectly readable for them. The service
10950
+ * intersects a preset with the caller's authorized sources instead (§3.2.2).
10951
+ *
10952
+ * There is deliberately no ``all`` member. Omitting both this field and
10953
+ * ``eventTypes`` already means "every type this caller may read", which is a
10954
+ * better answer than an array naming ten types no single caller may be
10955
+ * authorized for.
10956
+ *
10957
+ * There is equally deliberately no generic "intersect whatever I cannot read"
10958
+ * switch on ``eventTypes``. Lenient handling belongs to this closed,
10959
+ * server-resolved vocabulary alone; an arbitrary caller-supplied event-type
10960
+ * array must never be able to opt into it.
10961
+ *
10962
+ * ``CONFIGURATION`` is the one token that groups a source with **no subject
10963
+ * Member**. The configuration-change family landed after the widget
10964
+ * vocabulary was agreed, and folding it into any existing token would have
10965
+ * made that token's disclosure copy describe rows it does not contain, so it
10966
+ * got its own (widget plan §8 question 0, resolved 2026-08-07). Its lenient
10967
+ * resolution matters more than most: the adapter offers a caller only the
10968
+ * config *areas* their scopes cover, so a strict expansion would 403 anyone
10969
+ * who can read inbox changes but not phone-number changes.
10970
+ */
10971
+ type ActivityEventTypePreset = typeof ActivityEventTypePreset[keyof typeof ActivityEventTypePreset];
10972
+ declare const ActivityEventTypePreset: {
10973
+ readonly communications: "communications";
10974
+ readonly formUpdates: "formUpdates";
10975
+ readonly workflowTask: "workflowTask";
10976
+ readonly journey: "journey";
10977
+ readonly configuration: "configuration";
10978
+ };
10979
+ /**
10980
+ * One authorized Form field named on a burst row.
10981
+ *
10982
+ * Slug and configured label only — never a value. A burst summarizes several
10983
+ * changes, and the plan is explicit that old/new displays are returned for a
10984
+ * Form **singleton** only (§3.2): showing them for a burst would either pick
10985
+ * an arbitrary representative pair or return an unbounded list of PHI.
10986
+ */
10987
+ interface ActivityFieldSummary {
10988
+ fieldSlug: string;
10989
+ fieldName?: string | null;
10990
+ }
10991
+ /**
10992
+ * Deterministic outcome significance (§3.6). Never inferred from elapsed
10993
+ * time — Journey goals have no canonical deadline.
10994
+ */
10995
+ type ActivityGoalImpact = typeof ActivityGoalImpact[keyof typeof ActivityGoalImpact];
10996
+ declare const ActivityGoalImpact: {
10997
+ readonly neutral: "neutral";
10998
+ readonly success: "success";
10999
+ readonly attention: "attention";
11000
+ readonly failure: "failure";
11001
+ };
11002
+ /**
11003
+ * Minimal authorized Member identity for a timeline row.
11004
+ *
11005
+ * ``name`` is PHI. It is only ever populated for a caller who holds
11006
+ * ``members:read`` — the base scope for the whole endpoint — and is the same
11007
+ * identity the Members list already returns.
11008
+ */
11009
+ interface ActivityMemberSummary {
11010
+ id: number;
11011
+ uuid: string;
11012
+ name?: string | null;
11013
+ memberType?: string | null;
11014
+ }
11015
+ /**
11016
+ * Per-source honesty about what this stream can and cannot show.
11017
+ *
11018
+ * The API never fabricates a missing event; it discloses the gap here. The
11019
+ * server classifies, the UI renders — three states, not two:
11020
+ *
11021
+ * * ``complete=True`` — every row this window can return comes from the
11022
+ * source's reliable era.
11023
+ * * ``complete=False`` and ``advisory=False`` — a real gap intersects THIS
11024
+ * window. The UI warns about it.
11025
+ * * ``complete=False`` and ``advisory=True`` — see :attr:`advisory`.
11026
+ */
11027
+ interface ActivitySourceCoverage {
11028
+ source: string;
11029
+ eventTypes: ActivityEventType[];
11030
+ complete: boolean;
11031
+ advisory?: boolean;
11032
+ captureState?: ActivityCaptureState;
11033
+ completeFrom?: string | null;
11034
+ limitation?: ActivityCoverageLimitation;
11035
+ }
11036
+ /**
11037
+ * The row's one primary navigation target.
11038
+ *
11039
+ * ``href`` is an internal app path built from IDs the caller already
11040
+ * received, and it must identify the *clicked* resource on arrival — never a
11041
+ * "closest available page". When no such destination exists the item carries
11042
+ * ``target=None`` instead of a plausible-looking link (see
11043
+ * :attr:`_ActivityItemBase.target`).
11044
+ *
11045
+ * ``available`` is False when the canonical resource is gone — the UI renders
11046
+ * a disabled "Resource unavailable" rather than redirecting to a similarly
11047
+ * numbered object (§3.10). That is a DIFFERENT state from ``target=None``:
11048
+ * "there was a destination and it is gone" versus "this activity has no
11049
+ * destination at all", and the two render differently.
11050
+ *
11051
+ * ``actionLabel`` is retained for wire compatibility during the unmerged
11052
+ * contract's mixed-version window and is deliberately NOT rendered: visible
11053
+ * and accessible copy is localized on the client (§3.2).
11054
+ */
11055
+ interface ActivityTarget {
11056
+ href: string;
11057
+ actionLabel: string;
11058
+ available?: boolean;
11059
+ }
11060
+ /**
11061
+ * Activity narrowing. Every filter INTERSECTS the audience; none widens it.
11062
+ *
11063
+ * There is no free-text search: searching Message or Form values is a
11064
+ * non-goal (§2) and would require selecting content.
11065
+ *
11066
+ * Event-type selection has two mutually exclusive forms, and the difference is
11067
+ * an authorization contract rather than a convenience:
11068
+ *
11069
+ * * ``eventTypes`` — an explicit, strict list. Every named type must be
11070
+ * authorized for the caller or the whole request is a static 403. That is
11071
+ * deliberate: an operator reading the full feed must never be handed a
11072
+ * silently incomplete timeline.
11073
+ * * ``eventTypePreset`` — a closed editorial grouping, authored once on a
11074
+ * shared Dashboard tile and read by viewers holding different scopes. The
11075
+ * service resolves it to its event types and **intersects them with the
11076
+ * caller's authorized sources**, so a viewer missing one source gets the
11077
+ * rest instead of a refusal. A caller authorized for none of the preset
11078
+ * receives HTTP 200 with zero items and ``emptyReason: filtered`` — a
11079
+ * successful, authorized, empty query, not a 403.
11080
+ *
11081
+ * Sending a **non-empty** ``eventTypes`` together with ``eventTypePreset`` is
11082
+ * a static 400; neither wins. An empty ``eventTypes: []`` reads as unset here
11083
+ * exactly as it does everywhere else in this model, so it is accepted beside a
11084
+ * preset and behaves as the preset alone.
11085
+ */
11086
+ interface ActivityTimelineFilters {
11087
+ eventTypes?: ActivityEventType[] | null;
11088
+ eventTypePreset?: ActivityEventTypePreset | null;
11089
+ channels?: string[] | null;
11090
+ direction?: ActivityDirection | null;
11091
+ callStatuses?: string[] | null;
11092
+ callOutcomes?: string[] | null;
11093
+ journeyStepIds?: number[] | null;
11094
+ journeyGoalIds?: number[] | null;
11095
+ taskIds?: number[] | null;
11096
+ dataTypeId?: number | null;
11097
+ fieldSlugs?: string[] | null;
11098
+ actorKinds?: ActivityActorKind[] | null;
11099
+ goalImpacts?: ActivityGoalImpact[] | null;
11100
+ operationRef?: string | null;
11101
+ }
11102
+ /**
11103
+ * Response shape selector.
11104
+ *
11105
+ * Phase 4 adds ``stateMembers`` here. Adding a member is the whole extension
11106
+ * point — the v1 server rejects anything it does not know with a static 400
11107
+ * rather than defaulting to ``timeline``.
11108
+ */
11109
+ type ActivityTimelineProjection = typeof ActivityTimelineProjection[keyof typeof ActivityTimelineProjection];
11110
+ declare const ActivityTimelineProjection: {
11111
+ readonly timeline: "timeline";
11112
+ };
11113
+ /**
11114
+ * One request for every timeline surface.
11115
+ *
11116
+ * This is a READ. It deliberately does not inherit ``ScopedRequest``: scope
11117
+ * gating happens on the route dependency (``members:read`` for base subject
11118
+ * identity) and per source inside the service, where an unauthorized source
11119
+ * can be pruned from the capability set instead of failing the whole page.
11120
+ *
11121
+ * Phase 4 extends this class with optional ``asOf`` / ``includeStateSummary``
11122
+ * / ``stateFilter`` and one new ``projection`` value. Until then those keys
11123
+ * are unknown and produce the static 400.
11124
+ */
11125
+ interface ActivityTimelineQueryRequest {
11126
+ projection?: ActivityTimelineProjection;
11127
+ scope?: ActivityTimelineScope;
11128
+ window?: ActivityTimelineWindow;
11129
+ filters?: ActivityTimelineFilters;
11130
+ pageSize?: number;
11131
+ cursor?: string | null;
11132
+ }
11133
+ /**
11134
+ * The ``timeline`` projection.
11135
+ *
11136
+ * Extends the canonical cursor envelope (``items``, ``nextCursor``,
11137
+ * ``hasMore``, ``pageSize`` — inherited, never hand-rolled) with:
11138
+ *
11139
+ * ``snapshotAt``
11140
+ * The pinned database instant. Membership and order are fixed to it;
11141
+ * refresh discards the cursor and takes a new snapshot.
11142
+ * ``availableEventTypes``
11143
+ * The authorization-aware capability set. An omitted request filter
11144
+ * means "every type this caller may read"; an explicitly requested type
11145
+ * outside this set is a static 403. This is what stops the UI offering
11146
+ * filters that can never return a row.
11147
+ * ``coverage``
11148
+ * One entry per included source (see :class:`ActivitySourceCoverage`).
11149
+ * ``emptyReason``
11150
+ * Present only on an empty first page (see
11151
+ * :class:`ActivityEmptyReason`).
11152
+ *
11153
+ * Phase 4 adds one optional ``stateSummary`` block here. Nothing in this
11154
+ * class needs to change for that.
11155
+ */
11156
+ interface ActivityTimelineResponse {
11157
+ items: (WorkflowStartedItem | AssignmentTaskTransitionItem | JourneyStatusChangedItem | JourneyStepStatusChangedItem | JourneyGoalStatusChangedItem | ChatStartedItem | MessageItem | CallItem | FormFieldChangedItem | ConfigChangedItem)[];
11158
+ nextCursor?: string | null;
11159
+ hasMore: boolean;
11160
+ pageSize: number;
11161
+ snapshotAt: string;
11162
+ availableEventTypes: ActivityEventType[];
11163
+ coverage?: ActivitySourceCoverage[];
11164
+ emptyReason?: ActivityEmptyReason | null;
11165
+ }
11166
+ /**
11167
+ * Member audience and entity scope. All supplied terms INTERSECT.
11168
+ *
11169
+ * There is deliberately no arbitrary Member-ID array: an audience is either
11170
+ * one Member, a saved filter, a validated ad-hoc predicate, or an entity
11171
+ * relationship. A caller-supplied ID list would be an audience the server
11172
+ * never authorized as a set.
11173
+ */
11174
+ interface ActivityTimelineScope {
11175
+ memberId?: number | null;
11176
+ memberFilterId?: number | null;
11177
+ memberPredicate?: ActivityTimelineScopeMemberPredicate;
11178
+ memberTypes?: string[] | null;
11179
+ journeyId?: number | null;
11180
+ workflowId?: number | null;
11181
+ assignmentId?: number | null;
11182
+ includeTestData?: boolean;
11183
+ }
11184
+ type ActivityTimelineScopeMemberPredicate = {
11185
+ [key: string]: unknown;
11186
+ } | null;
11187
+ /**
11188
+ * Half-open UTC ``[occurredFrom, occurredBefore)``.
11189
+ *
11190
+ * Both ends are optional on the wire; :meth:`normalized` fills defaults and
11191
+ * enforces the cap. Half-open is what makes local-day grouping and DST
11192
+ * handling well defined on the client.
11193
+ */
11194
+ interface ActivityTimelineWindow {
11195
+ occurredFrom?: string | null;
11196
+ occurredBefore?: string | null;
11197
+ }
11198
+ interface AssignmentTaskTransitionItem {
11199
+ eventKey: string;
11200
+ occurredAt: string;
11201
+ subjects?: ActivityMemberSummary[];
11202
+ subjectOverflowCount?: number;
11203
+ actor?: ActivityActor | null;
11204
+ channel?: string | null;
11205
+ goalImpact?: ActivityGoalImpact;
11206
+ target?: ActivityTarget | null;
11207
+ context?: ActivityContext;
11208
+ aggregate?: ActivityAggregate | null;
11209
+ eventType?: 'assignment_task_transition';
11210
+ detail: TaskTransitionDetail;
11211
+ }
11212
+ /**
11213
+ * One inbound or outbound call ATTEMPT.
11214
+ *
11215
+ * Present even when the call never connected and has no Chat — that gap is
11216
+ * exactly why this adapter exists. Fields are allowlisted closed codes and
11217
+ * lifecycle timestamps only: no caller number or name, no provider SID, no
11218
+ * transcript, and no free-form failure detail.
11219
+ *
11220
+ * The three code fields are typed as closed enums and the Call branch clamps
11221
+ * to them in SQL, so a persisted value outside the vocabulary arrives as
11222
+ * ``other`` and the raw string never leaves the database. The underlying
11223
+ * columns are unconstrained ``String``\ s and writers already drift from the
11224
+ * declared Literals, so the clamp is live behavior, not defensive dressing.
11225
+ *
11226
+ * ``durationSeconds`` is derived from ``startedAt``/``finishedAt`` at
11227
+ * serialization time rather than stored.
11228
+ */
11229
+ interface CallDetail {
11230
+ kind?: 'call';
11231
+ direction: ActivityDirection;
11232
+ status?: ActivityCallStatus | null;
11233
+ carrierStatus?: ActivityCallCarrierStatus | null;
11234
+ callOutcome?: ActivityCallOutcome | null;
11235
+ startedAt?: string | null;
11236
+ finishedAt?: string | null;
11237
+ durationSeconds?: number | null;
11238
+ connected?: boolean;
11239
+ }
11240
+ interface CallItem {
11241
+ eventKey: string;
11242
+ occurredAt: string;
11243
+ subjects?: ActivityMemberSummary[];
11244
+ subjectOverflowCount?: number;
11245
+ actor?: ActivityActor | null;
11246
+ channel?: string | null;
11247
+ goalImpact?: ActivityGoalImpact;
11248
+ target?: ActivityTarget | null;
11249
+ context?: ActivityContext;
11250
+ aggregate?: ActivityAggregate | null;
11251
+ eventType?: 'call';
11252
+ detail: CallDetail;
11253
+ }
11254
+ /**
11255
+ * A Chat opening. Carries the Chat's shape, never its title or summary.
11256
+ */
11257
+ interface ChatStartedDetail {
11258
+ kind?: 'chat_started';
11259
+ chatType?: string | null;
11260
+ isTest?: boolean;
11261
+ }
11262
+ interface ChatStartedItem {
11263
+ eventKey: string;
11264
+ occurredAt: string;
11265
+ subjects?: ActivityMemberSummary[];
11266
+ subjectOverflowCount?: number;
11267
+ actor?: ActivityActor | null;
11268
+ channel?: string | null;
11269
+ goalImpact?: ActivityGoalImpact;
11270
+ target?: ActivityTarget | null;
11271
+ context?: ActivityContext;
11272
+ aggregate?: ActivityAggregate | null;
11273
+ eventType?: 'chat_started';
11274
+ detail: ChatStartedDetail;
11275
+ }
11276
+ /**
11277
+ * One recorded workspace configuration change.
11278
+ *
11279
+ * Ids, closed codes and column **names** only — the row this is built from
11280
+ * stores nothing else, and that is deliberate: the feed's job is to say when
11281
+ * something changed and point at who changed it, and old/new values are where
11282
+ * PHI and review burden would concentrate. There is no ``why``, no note, and
11283
+ * no value on this contract, now or later.
11284
+ *
11285
+ * ``changedFields`` carries the diffed column codes, which the writer
11286
+ * validated against a per-area allowlist. They are workspace **schema**
11287
+ * vocabulary, not data — but they are still internal column names, so the UI
11288
+ * renders them through a localized label map with a generic fallback and
11289
+ * never echoes an unmapped code.
11290
+ *
11291
+ * ``entityLabel`` is resolved at read time from the live Inbox or
11292
+ * PhoneNumber, under the same authorization the branch applied. It is absent
11293
+ * for the settings singleton (there is no entity) and for a deleted one — a
11294
+ * deletion row renders generic copy rather than a name the row never stored.
11295
+ */
11296
+ interface ConfigChangedDetail {
11297
+ kind?: 'config_changed';
11298
+ area: ActivityConfigArea;
11299
+ action: ActivityConfigAction;
11300
+ changedFields?: string[];
11301
+ entityLabel?: string | null;
11302
+ }
11303
+ /**
11304
+ * A workspace configuration change.
11305
+ *
11306
+ * The one item class with no subject Member: a configuration change is about
11307
+ * the workspace, not about a person, so ``subjects`` is always empty and the
11308
+ * row is structurally excluded from every Member-scoped query. That is the
11309
+ * correct semantics rather than a gap — the Member Activity tab answers "what
11310
+ * happened to this person", and nothing happened to anyone here.
11311
+ *
11312
+ * ``target`` is always ``None``. Informational rows are contract-sanctioned
11313
+ * (see :attr:`_ActivityItemBase.target`), and v1 deliberately ships no entity
11314
+ * destinations: the settings areas have no per-entity page, and an Inbox or
11315
+ * PhoneNumber link would be a destination for two areas out of five.
11316
+ */
11317
+ interface ConfigChangedItem {
11318
+ eventKey: string;
11319
+ occurredAt: string;
11320
+ subjects?: ActivityMemberSummary[];
11321
+ subjectOverflowCount?: number;
11322
+ actor?: ActivityActor | null;
11323
+ channel?: string | null;
11324
+ goalImpact?: ActivityGoalImpact;
11325
+ target?: ActivityTarget | null;
11326
+ context?: ActivityContext;
11327
+ aggregate?: ActivityAggregate | null;
11328
+ eventType?: 'config_changed';
11329
+ detail: ConfigChangedDetail;
11330
+ }
11331
+ /**
11332
+ * One authorized Form field change.
11333
+ *
11334
+ * ``oldDisplay``/``newDisplay`` are PHI. They are capped at
11335
+ * :data:`MAX_VALUE_DISPLAY_GRAPHEMES`, wrapped by ``Redacted`` in the UI,
11336
+ * and excluded from logs, Sentry context, error details, cursors, and
11337
+ * analytics.
11338
+ */
11339
+ interface FormFieldChangedDetail {
11340
+ kind?: 'form_field_changed';
11341
+ fieldSlug: string;
11342
+ fieldName?: string | null;
11343
+ disposition: FormValueDisposition;
11344
+ oldDisplay?: string | null;
11345
+ newDisplay?: string | null;
11346
+ source?: string | null;
11347
+ }
11348
+ interface FormFieldChangedItem {
11349
+ eventKey: string;
11350
+ occurredAt: string;
11351
+ subjects?: ActivityMemberSummary[];
11352
+ subjectOverflowCount?: number;
11353
+ actor?: ActivityActor | null;
11354
+ channel?: string | null;
11355
+ goalImpact?: ActivityGoalImpact;
11356
+ target?: ActivityTarget | null;
11357
+ context?: ActivityContext;
11358
+ aggregate?: ActivityAggregate | null;
11359
+ eventType?: 'form_field_changed';
11360
+ detail: FormFieldChangedDetail;
11361
+ }
11362
+ /**
11363
+ * Why a Form value is or is not shown.
11364
+ *
11365
+ * ``omitted_long`` and ``omitted_structured`` mean "the change happened, the
11366
+ * value is too large or not a scalar" — the caller IS authorized for the
11367
+ * field. Field changes the caller is NOT authorized for never produce a row
11368
+ * at all, so there is no disposition for them (§3.8).
11369
+ */
11370
+ type FormValueDisposition = typeof FormValueDisposition[keyof typeof FormValueDisposition];
11371
+ declare const FormValueDisposition: {
11372
+ readonly shown: "shown";
11373
+ readonly omitted_long: "omitted_long";
11374
+ readonly omitted_structured: "omitted_structured";
11375
+ readonly omitted_burst: "omitted_burst";
11376
+ };
11377
+ interface JourneyGoalStatusChangedItem {
11378
+ eventKey: string;
11379
+ occurredAt: string;
11380
+ subjects?: ActivityMemberSummary[];
11381
+ subjectOverflowCount?: number;
11382
+ actor?: ActivityActor | null;
11383
+ channel?: string | null;
11384
+ goalImpact?: ActivityGoalImpact;
11385
+ target?: ActivityTarget | null;
11386
+ context?: ActivityContext;
11387
+ aggregate?: ActivityAggregate | null;
11388
+ eventType?: 'journey_goal_status_changed';
11389
+ detail: JourneyStatusDetail;
11390
+ }
11391
+ interface JourneyStatusChangedItem {
11392
+ eventKey: string;
11393
+ occurredAt: string;
11394
+ subjects?: ActivityMemberSummary[];
11395
+ subjectOverflowCount?: number;
11396
+ actor?: ActivityActor | null;
11397
+ channel?: string | null;
11398
+ goalImpact?: ActivityGoalImpact;
11399
+ target?: ActivityTarget | null;
11400
+ context?: ActivityContext;
11401
+ aggregate?: ActivityAggregate | null;
11402
+ eventType?: 'journey_status_changed';
11403
+ detail: JourneyStatusDetail;
11404
+ }
11405
+ /**
11406
+ * A Journey / step / goal status change.
11407
+ *
11408
+ * Only status codes and IDs. ``JourneyStatusLog.reason`` is never projected:
11409
+ * goal rows embed an operator-authored goal name in it
11410
+ * (``f"Goal '{goal.name}' satisfied"``) and cancellation rows embed raw
11411
+ * step errors, so it is free text by construction.
11412
+ */
11413
+ interface JourneyStatusDetail {
11414
+ kind?: 'journey_status';
11415
+ fromStatus?: string | null;
11416
+ toStatus: string;
11417
+ journeyGoalId?: number | null;
11418
+ journeyGoalName?: string | null;
11419
+ }
11420
+ interface JourneyStepStatusChangedItem {
11421
+ eventKey: string;
11422
+ occurredAt: string;
11423
+ subjects?: ActivityMemberSummary[];
11424
+ subjectOverflowCount?: number;
11425
+ actor?: ActivityActor | null;
11426
+ channel?: string | null;
11427
+ goalImpact?: ActivityGoalImpact;
11428
+ target?: ActivityTarget | null;
11429
+ context?: ActivityContext;
11430
+ aggregate?: ActivityAggregate | null;
11431
+ eventType?: 'journey_step_status_changed';
11432
+ detail: JourneyStatusDetail;
11433
+ }
11434
+ /**
11435
+ * One member-facing Message.
11436
+ *
11437
+ * There is no preview field and there never will be one on this contract.
11438
+ * ``direction`` is derived from authoritative ``origin``/``audience`` with
11439
+ * the documented legacy ``role`` fallback — never from content.
11440
+ *
11441
+ * ``direction`` is optional because an ``operation`` row of this family has
11442
+ * no single one: it stands for conversation sessions across many Chats, and
11443
+ * the alternative to omitting it is defaulting to ``outbound`` — a value the
11444
+ * UI would render as fact. A conversation session keeps its newest turn's
11445
+ * direction, with the split reported in ``aggregate.inboundCount`` /
11446
+ * ``outboundCount``.
11447
+ */
11448
+ interface MessageDetail {
11449
+ kind?: 'message';
11450
+ direction?: ActivityDirection | null;
11451
+ messageUuid?: string | null;
11452
+ }
11453
+ interface MessageItem {
11454
+ eventKey: string;
11455
+ occurredAt: string;
11456
+ subjects?: ActivityMemberSummary[];
11457
+ subjectOverflowCount?: number;
11458
+ actor?: ActivityActor | null;
11459
+ channel?: string | null;
11460
+ goalImpact?: ActivityGoalImpact;
11461
+ target?: ActivityTarget | null;
11462
+ context?: ActivityContext;
11463
+ aggregate?: ActivityAggregate | null;
11464
+ eventType?: 'message';
11465
+ detail: MessageDetail;
11466
+ }
11467
+ /**
11468
+ * One recorded Assignment Task movement.
11469
+ *
11470
+ * ``fromTaskId is None`` means initial entry ("Entered {Task}"), not "we
11471
+ * don't know". The transition writer records the null explicitly.
11472
+ */
11473
+ interface TaskTransitionDetail {
11474
+ kind?: 'assignment_task_transition';
11475
+ initiatorKind: ActivityActorKind;
11476
+ isInitialEntry: boolean;
11477
+ }
11478
+ /**
11479
+ * A Workflow start. ``triggerSource`` is the persisted trigger tag, not
11480
+ * an inferred Journey relation.
11481
+ */
11482
+ interface WorkflowStartedDetail {
11483
+ kind?: 'workflow_started';
11484
+ triggerSource?: string | null;
11485
+ isTest?: boolean;
11486
+ }
11487
+ interface WorkflowStartedItem {
11488
+ eventKey: string;
11489
+ occurredAt: string;
11490
+ subjects?: ActivityMemberSummary[];
11491
+ subjectOverflowCount?: number;
11492
+ actor?: ActivityActor | null;
11493
+ channel?: string | null;
11494
+ goalImpact?: ActivityGoalImpact;
11495
+ target?: ActivityTarget | null;
11496
+ context?: ActivityContext;
11497
+ aggregate?: ActivityAggregate | null;
11498
+ eventType?: 'workflow_started';
11499
+ detail: WorkflowStartedDetail;
11500
+ }
11501
+
11502
+ /**
11503
+ * Generated by Orval, grouped by scripts/types-codegen/group_generated.ts
11504
+ * (group map from emit_openapi.py). Do not edit manually.
11505
+ * Group: journey
11506
+ */
11507
+
11508
+ /**
11509
+ * Authoring projection for a journey definition (``JOURNEYS_WRITE`` only).
11510
+ *
11511
+ * journey-decoupling §3.5: this is a distinct response *type*, not read
11512
+ * output with fields deleted after the fact. Nested edges carry raw
11513
+ * ``celCondition`` and nested goals carry raw ``completionCel`` so the
11514
+ * Journey editor can render and edit them. Returned only by
11515
+ * ``GET /journeys/{journey_id}/authoring``.
11516
+ */
11517
+ interface JourneyAuthoringResponse {
11518
+ id: number;
11519
+ uuid: string;
11520
+ name: string;
11521
+ description: string | null;
11522
+ status: string;
11523
+ ownerId: number | null;
11524
+ autoEnrollFilterId: number | null;
11525
+ activeHours?: JourneyAuthoringResponseActiveHours;
11526
+ startStepId?: number | null;
11527
+ archived: boolean;
11528
+ createdAt: string;
11529
+ updatedAt: string;
11530
+ steps?: JourneyStepAuthoringResponse[];
11531
+ goals?: JourneyGoalAuthoringResponse[];
11532
+ }
11533
+ type JourneyAuthoringResponseActiveHours = {
11534
+ [key: string]: unknown;
11535
+ } | null;
11536
+ /**
11537
+ * Authoring projection for a journey goal — adds raw ``completionCel``.
11538
+ *
11539
+ * Only returned by ``JOURNEYS_WRITE`` authoring surfaces (the authoring
11540
+ * detail endpoint and goal create/update mutations).
11541
+ */
11542
+ interface JourneyGoalAuthoringResponse {
11543
+ id: number;
11544
+ uuid: string;
11545
+ name: string;
10184
11546
  description: string | null;
10185
11547
  goalStepId: number | null;
10186
11548
  value: number | null;
@@ -10230,15 +11592,34 @@ interface JourneyGoalResponse {
10230
11592
  * ``journey_runtime_failure_breadcrumbs`` so operators can see
10231
11593
  * which edges have actually thrown at runtime.
10232
11594
  *
10233
- * Both lists use the existing ``AbilityConfigIssue`` shape so the UI
10234
- * does not need a second diagnostic format. PHI policy: messages
10235
- * contain only IDs, operator-authored slugs/names, counts, and
10236
- * ``error_type``. CEL text, exception messages, and Member data must
10237
- * never appear here.
11595
+ * ``configHealthAuthoringIssues`` / ``configHealthRuntimeFailures`` are the
11596
+ * canonical contract (plan §3.9) and the stable final field names.
11597
+ *
11598
+ * ``authoringIssues`` / ``runtimeFailures`` are the LEGACY lists and this is
11599
+ * Phase 3A, the additive step: a browser still running a pre-cutover bundle
11600
+ * reads them, so dropping them in the same deploy that ships the canonical
11601
+ * bundle would silently empty those dialogs. Both projections come from ONE
11602
+ * evaluation per section via
11603
+ * :func:`lib.services.config_health_legacy.to_legacy_ability_issues`, which
11604
+ * is also the only module allowed to name the historical
11605
+ * ``system:journey_edge`` / ``system:journey_goal`` /
11606
+ * ``system:journey_runtime_failure`` pseudo-Ability values. Phase 3C removes
11607
+ * the legacy fields, that module, and those values together.
11608
+ *
11609
+ * The runtime section is canonicalized for dialog reuse only. It remains
11610
+ * EXCLUDED from ``ConfigurationHealthService.collect_workspace``: runtime
11611
+ * breadcrumbs have window/recovery semantics and are not recomputable
11612
+ * current configuration. Shape reuse does not merge lifecycle.
11613
+ *
11614
+ * PHI policy: messages contain only IDs, operator-authored slugs/names,
11615
+ * counts, and ``error_type``. CEL text, exception messages, and Member data
11616
+ * must never appear here.
10238
11617
  */
10239
11618
  interface JourneyHealthResponse {
10240
11619
  authoringIssues?: AbilityConfigIssue[];
10241
11620
  runtimeFailures?: AbilityConfigIssue[];
11621
+ configHealthAuthoringIssues?: ConfigHealthIssue[];
11622
+ configHealthRuntimeFailures?: ConfigHealthIssue[];
10242
11623
  }
10243
11624
  /**
10244
11625
  * Response model for journey note.
@@ -10284,6 +11665,83 @@ interface JourneyResponse {
10284
11665
  type JourneyResponseActiveHours = {
10285
11666
  [key: string]: unknown;
10286
11667
  } | null;
11668
+ /**
11669
+ * One ``journey_status_logs`` row, projected for an operator (GRA-7341).
11670
+ *
11671
+ * Backs ``GET /journeys/{journey_id}/enrollments/{member_journey_id}/status-log``
11672
+ * — the per-enrollment answer to "what did this member's journey actually
11673
+ * do", as opposed to the per-rule-execution answer Automations → Executions
11674
+ * already gives.
11675
+ *
11676
+ * **``reason`` is redaction-gated, and that gate is the point of the model.**
11677
+ * The column is free text: goal rows embed an operator-authored goal name,
11678
+ * cancellations embed caller-supplied text, and failures embed a raw step
11679
+ * error — none of which may cross the API boundary. Exactly one ``toStatus``
11680
+ * writes a ``reason`` that is PHI-safe *by construction*: the zero-emission
11681
+ * marker, whose text is assembled from a fixed template plus integer counts
11682
+ * and EventRule ids (:func:`lib.services.journey_runtime_failures.zero_emission_reason`).
11683
+ * Everything else arrives with ``reason=None`` and ``reasonRedacted=True``,
11684
+ * so the caller can tell "no reason was recorded" from "a reason exists that
11685
+ * you may not read". The allowlist lives in
11686
+ * :mod:`lib.services.journey_status_log_service`; nothing else may populate
11687
+ * this field.
11688
+ *
11689
+ * Every other field is an identifier, a closed status code, or a timestamp.
11690
+ *
11691
+ * **Construction has exactly one permitted path:**
11692
+ * :func:`lib.services.journey_status_log_service.project_status_log_row`.
11693
+ * Two deliberate choices enforce that, and neither is stylistic:
11694
+ *
11695
+ * - **No ``from_attributes``.** ORM mode would let
11696
+ * ``model_validate(orm_row)`` populate ``reason`` straight off the
11697
+ * ``JourneyStatusLog`` attribute, bypassing ``project_reason`` and the
11698
+ * ``REASON_SAFE_STATUSES`` allowlist entirely. The whole PHI argument for
11699
+ * this endpoint rests on the projection being unavoidable, so the model
11700
+ * must not ship a second door beside it.
11701
+ * - **No field defaults.** Every field is required, so a new construction
11702
+ * site cannot silently omit ``reason``/``reasonRedacted``/``zeroEmission``
11703
+ * and get a plausible-looking row. It also makes the fields *required* in
11704
+ * the emitted OpenAPI schema, which is what stops the generated TypeScript
11705
+ * declaring ``zeroEmission?: boolean`` — an optional discriminator a
11706
+ * consumer could "correctly" treat as ``undefined`` and silently drop
11707
+ * every notice.
11708
+ */
11709
+ interface JourneyStatusLogEntryResponse {
11710
+ id: number;
11711
+ memberJourneyId: number;
11712
+ memberJourneyStepId: number | null;
11713
+ journeyStepId: number | null;
11714
+ journeyStepName: string | null;
11715
+ journeyGoalId: number | null;
11716
+ fromStatus: string | null;
11717
+ toStatus: string;
11718
+ changedById: number | null;
11719
+ createdAt: string;
11720
+ zeroEmission: boolean;
11721
+ reason: string | null;
11722
+ reasonRedacted: boolean;
11723
+ }
11724
+ /**
11725
+ * Paginated enrollment status history plus its enrollment identity.
11726
+ *
11727
+ * The enrollment ids are echoed rather than left implicit so a client that
11728
+ * holds only the response (a support transcript, a pasted payload) can still
11729
+ * say which member journey it describes. ``memberId`` is an identifier, not
11730
+ * Member data — no name, email, or phone is projected here.
11731
+ *
11732
+ * No field defaults here either, for the reason spelled out on
11733
+ * :class:`JourneyStatusLogEntryResponse`: ``zeroEmissionCount`` is the only
11734
+ * reliable "was anything dropped" signal a client has, and an optional
11735
+ * ``zeroEmissionCount?: number`` on the wire is one ``undefined`` check away
11736
+ * from silently reading as zero.
11737
+ */
11738
+ interface JourneyStatusLogResponse {
11739
+ memberJourneyId: number;
11740
+ journeyId: number;
11741
+ memberId: number;
11742
+ zeroEmissionCount: number;
11743
+ entries: PaginatedResponseJourneyStatusLogEntryResponse;
11744
+ }
10287
11745
  /**
10288
11746
  * Authoring projection for a journey step.
10289
11747
  *
@@ -10417,6 +11875,13 @@ interface MemberJourneyStepResponse$1 {
10417
11875
  error: string | null;
10418
11876
  retryCount: number;
10419
11877
  }
11878
+ interface PaginatedResponseJourneyStatusLogEntryResponse {
11879
+ items: JourneyStatusLogEntryResponse[];
11880
+ total: number;
11881
+ page: number;
11882
+ pageSize: number;
11883
+ totalPages: number;
11884
+ }
10420
11885
  /**
10421
11886
  * Response model for member counts at a journey step.
10422
11887
  */
@@ -11023,6 +12488,290 @@ declare const InboundFaxStatus: {
11023
12488
  readonly failed: "failed";
11024
12489
  };
11025
12490
 
12491
+ /**
12492
+ * Generated by Orval, grouped by scripts/types-codegen/group_generated.ts
12493
+ * (group map from emit_openapi.py). Do not edit manually.
12494
+ * Group: metric
12495
+ */
12496
+ /**
12497
+ * On-demand compute of enabled chat-source metrics for one chat.
12498
+ */
12499
+ interface ComputeChatMetricsRequest {
12500
+ /**
12501
+ * Chat id to evaluate
12502
+ * @minimum 1
12503
+ */
12504
+ chatId: number;
12505
+ }
12506
+ /**
12507
+ * Result of an on-demand chat metrics compute.
12508
+ */
12509
+ interface ComputeChatMetricsResponse {
12510
+ chatId: number;
12511
+ observationCount: number;
12512
+ }
12513
+ /**
12514
+ * Create a workspace metric definition.
12515
+ */
12516
+ interface CreateMetricRequest {
12517
+ /**
12518
+ * @minLength 1
12519
+ * @maxLength 255
12520
+ */
12521
+ name: string;
12522
+ /** Stable identifier; auto-derived from name when omitted. */
12523
+ slug?: string | null;
12524
+ description?: string | null;
12525
+ metricType: MetricType;
12526
+ source?: MetricSource;
12527
+ kind?: MetricKind;
12528
+ unit?: MetricUnit;
12529
+ celExpression?: string | null;
12530
+ evaluationPrompt?: string | null;
12531
+ /**
12532
+ * @minimum 0
12533
+ * @maximum 1
12534
+ */
12535
+ passingThreshold?: number;
12536
+ sourceConfig?: MetricSourceConfig | null;
12537
+ denominator?: MetricDenominator;
12538
+ attributionWindowSeconds?: number | null;
12539
+ enabled?: boolean;
12540
+ chatType?: MetricChatType;
12541
+ /** Workflows this chat metric measures. Required for chat metrics — pass [] to mean every workflow, deliberately. Omitting it is an error, so a scope is never chosen by accident. */
12542
+ workflowIds?: number[] | null;
12543
+ /** Optional goal for this metric — 'reach this value'. */
12544
+ targetValue?: number | null;
12545
+ /** Optional due date for targetValue. */
12546
+ targetDate?: string | null;
12547
+ }
12548
+ /**
12549
+ * Which conversation surface a chat metric measures.
12550
+ *
12551
+ * One metric measures one surface, deliberately. An assignment chat, a
12552
+ * sidebar DM and a contributor-input chat are different populations with
12553
+ * different success conditions; averaging them yields a number that
12554
+ * describes nothing. Want resolution rate for DMs too? That is a second
12555
+ * metric, and the two are legitimately comparable side by side.
12556
+ *
12557
+ * ``manager`` is absent on purpose — workspace-management chats are the
12558
+ * operator talking to the product, never a customer outcome.
12559
+ */
12560
+ type MetricChatType = typeof MetricChatType[keyof typeof MetricChatType];
12561
+ declare const MetricChatType: {
12562
+ readonly assignment: "assignment";
12563
+ readonly dm: "dm";
12564
+ readonly contributor: "contributor";
12565
+ };
12566
+ /**
12567
+ * Explicit rate denominator — stored on the definition, not a convention.
12568
+ *
12569
+ * Read it as "count once per": what the rate divides by.
12570
+ *
12571
+ * * ``OBSERVATIONS`` — each observation counts once. For every metric
12572
+ * that can exist today that is one per conversation, because a
12573
+ * conversation yields exactly one observation.
12574
+ * * ``UNIQUE_MEMBERS`` — each Member counts once no matter how many
12575
+ * chats they had in the window. Required by pilot agreements written
12576
+ * as "unique clients who respond… multiple responses from the same
12577
+ * client count as a single engagement": a member in a multi-touch
12578
+ * journey has several chats, so averaging over observations
12579
+ * double-counts them and produces a defensible number that is not the
12580
+ * number in the contract.
12581
+ *
12582
+ * There was briefly a third value, ``CHATS``, reserved so a future
12583
+ * message-sourced metric could distinguish "per observation" (per
12584
+ * message) from "per conversation". It computed an identical number to
12585
+ * ``OBSERVATIONS`` for every metric that can exist today, so it reached
12586
+ * the UI as two buttons producing the same result. Reintroduce it with
12587
+ * the ``CHAT_MESSAGE`` source (#22474), when the distinction is real.
12588
+ */
12589
+ type MetricDenominator = typeof MetricDenominator[keyof typeof MetricDenominator];
12590
+ declare const MetricDenominator: {
12591
+ readonly observations: "observations";
12592
+ readonly unique_members: "unique_members";
12593
+ };
12594
+ /**
12595
+ * Aggregation semantics for stored values.
12596
+ *
12597
+ * * ``OBSERVATION`` — one row per subject (chat/message/member). Aggregate
12598
+ * with avg/sum/count over a window. Must not be last-valued.
12599
+ * * ``GAUGE`` — point-in-time count of matching rows. Last-value only;
12600
+ * must not be summed across a window. Computed by the ``member_filter``
12601
+ * source.
12602
+ */
12603
+ type MetricKind = typeof MetricKind[keyof typeof MetricKind];
12604
+ declare const MetricKind: {
12605
+ readonly observation: "observation";
12606
+ readonly gauge: "gauge";
12607
+ };
12608
+ /**
12609
+ * One observation — reason may be PHI; gated by analytics scope.
12610
+ */
12611
+ interface MetricObservationResponse {
12612
+ id: number;
12613
+ uuid: string;
12614
+ metricId: number;
12615
+ value: number;
12616
+ observedAt: string;
12617
+ chatId: number | null;
12618
+ memberId: number | null;
12619
+ messageId: number | null;
12620
+ /** Rubric grader free text — PHI-bearing; omit from aggregate export */
12621
+ reason?: string | null;
12622
+ modelId?: string | null;
12623
+ modelVersion?: string | null;
12624
+ evaluationData?: MetricObservationResponseEvaluationData;
12625
+ createdAt: string;
12626
+ }
12627
+ type MetricObservationResponseEvaluationData = {
12628
+ [key: string]: unknown;
12629
+ } | null;
12630
+ /**
12631
+ * API shape for a Metric definition.
12632
+ */
12633
+ interface MetricResponse {
12634
+ id: number;
12635
+ uuid: string;
12636
+ name: string;
12637
+ slug: string;
12638
+ description: string | null;
12639
+ metricType: string;
12640
+ source: string;
12641
+ kind: string;
12642
+ unit: string;
12643
+ celExpression: string | null;
12644
+ evaluationPrompt: string | null;
12645
+ passingThreshold: number;
12646
+ sourceConfig: MetricResponseSourceConfig;
12647
+ denominator: string;
12648
+ attributionWindowSeconds: number | null;
12649
+ chatType: string;
12650
+ workflowIds: number[];
12651
+ targetValue: number | null;
12652
+ targetDate: string | null;
12653
+ enabled: boolean;
12654
+ archived: boolean;
12655
+ createdAt: string;
12656
+ updatedAt: string;
12657
+ }
12658
+ type MetricResponseSourceConfig = {
12659
+ [key: string]: unknown;
12660
+ } | null;
12661
+ /**
12662
+ * One time-bucket of aggregated observations.
12663
+ */
12664
+ interface MetricSeriesBucket {
12665
+ bucketStart: string;
12666
+ value: number | null;
12667
+ count: number;
12668
+ }
12669
+ /**
12670
+ * Time-series readout for a metric.
12671
+ */
12672
+ interface MetricSeriesResponse {
12673
+ metricId: number;
12674
+ metricUuid: string;
12675
+ metricName: string;
12676
+ unit: string;
12677
+ kind: string;
12678
+ denominator: string;
12679
+ aggregation: string;
12680
+ bucket: string;
12681
+ start: string;
12682
+ end: string;
12683
+ buckets: MetricSeriesBucket[];
12684
+ overallValue: number | null;
12685
+ overallCount: number;
12686
+ targetValue?: number | null;
12687
+ targetDate?: string | null;
12688
+ }
12689
+ /**
12690
+ * What triggers computation of a metric observation.
12691
+ *
12692
+ * * ``CHAT`` — rides ``ChatPostProcessingWorkflow`` after a chat goes quiet.
12693
+ * * ``MEMBER_FILTER`` — point-in-time count of Members matching a
12694
+ * :class:`~lib.models.workspace.member_filter.MemberFilter`. This is the
12695
+ * source that subsumed the former ``MilestoneGoal`` (a named target over a
12696
+ * Member cohort at a date); ``source_config`` carries
12697
+ * ``{"member_filter_id": <id>}``.
12698
+ *
12699
+ * Other sources are reserved for follow-on work.
12700
+ */
12701
+ type MetricSource = typeof MetricSource[keyof typeof MetricSource];
12702
+ declare const MetricSource: {
12703
+ readonly chat: "chat";
12704
+ readonly member_filter: "member_filter";
12705
+ };
12706
+ /**
12707
+ * Per-source parameters for a metric definition.
12708
+ *
12709
+ * Typed rather than a bare ``dict[str, Any]`` because the values are
12710
+ * load-bearing at compute time and failure is silent. A chat metric whose
12711
+ * ``minMessages`` arrives as ``"10"`` was previously ignored outright —
12712
+ * ``metric_meets_min_messages`` only honours the key when it is already an
12713
+ * ``int`` — so the metric graded conversations the author meant to exclude
12714
+ * and nothing said so. ``extra="forbid"`` gives the same treatment to a
12715
+ * typo'd key, which used to be stored and quietly do nothing.
12716
+ *
12717
+ * API keys are camelCase per the naming convention; the persisted JSONB
12718
+ * keeps snake_case because that is what ``metric_eval_service`` reads.
12719
+ * ``to_storage`` is the only place that translation happens.
12720
+ */
12721
+ interface MetricSourceConfig {
12722
+ memberFilterId?: number | null;
12723
+ minMessages?: number | null;
12724
+ }
12725
+ /**
12726
+ * How a metric value is computed.
12727
+ *
12728
+ * ``EXPRESSION`` is CEL-evaluated (synchronous, deterministic).
12729
+ * ``RUBRIC`` is LLM-evaluated (async, probabilistic). Those two mirror
12730
+ * :class:`~lib.models.workspace.qualification.CriterionType`.
12731
+ *
12732
+ * ``FILTER_COUNT`` has no authored expression at all — the value is the
12733
+ * number of rows matching a saved filter named in ``source_config``. It
12734
+ * pairs with ``source=member_filter`` + ``kind=gauge`` and is what the
12735
+ * retired MilestoneGoal computed.
12736
+ */
12737
+ type MetricType = typeof MetricType[keyof typeof MetricType];
12738
+ declare const MetricType: {
12739
+ readonly expression: "expression";
12740
+ readonly rubric: "rubric";
12741
+ readonly filter_count: "filter_count";
12742
+ };
12743
+ /**
12744
+ * Display/aggregation hint for the metric's values.
12745
+ */
12746
+ type MetricUnit = typeof MetricUnit[keyof typeof MetricUnit];
12747
+ declare const MetricUnit: {
12748
+ readonly rate: "rate";
12749
+ readonly score: "score";
12750
+ readonly count: "count";
12751
+ readonly custom: "custom";
12752
+ };
12753
+ /**
12754
+ * Partial update of a metric definition.
12755
+ *
12756
+ * ``metricType`` is immutable after create (same rule as ScenarioCriterion).
12757
+ */
12758
+ interface UpdateMetricRequest {
12759
+ name?: string | null;
12760
+ description?: string | null;
12761
+ unit?: MetricUnit | null;
12762
+ celExpression?: string | null;
12763
+ evaluationPrompt?: string | null;
12764
+ passingThreshold?: number | null;
12765
+ sourceConfig?: MetricSourceConfig | null;
12766
+ denominator?: MetricDenominator | null;
12767
+ attributionWindowSeconds?: number | null;
12768
+ enabled?: boolean | null;
12769
+ archived?: boolean | null;
12770
+ workflowIds?: number[] | null;
12771
+ targetValue?: number | null;
12772
+ targetDate?: string | null;
12773
+ }
12774
+
11026
12775
  /**
11027
12776
  * Generated by Orval, grouped by scripts/types-codegen/group_generated.ts
11028
12777
  * (group map from emit_openapi.py). Do not edit manually.
@@ -11372,7 +13121,7 @@ interface SupportRequestResponse$1 {
11372
13121
  contextPayload?: SupportRequestResponseContextPayload;
11373
13122
  createdAt: string;
11374
13123
  updatedAt: string;
11375
- updates?: SupportRequestUpdateResponse[];
13124
+ updates?: SupportRequestUpdateResponse[] | null;
11376
13125
  replyCount?: number;
11377
13126
  customerWaiting?: boolean;
11378
13127
  }
@@ -11460,6 +13209,21 @@ interface LibModelsGlbResponsesTemporalAdminResponsesWorkflowDetailResponse {
11460
13209
  history: WorkflowHistorySummary;
11461
13210
  namespace: string;
11462
13211
  }
13212
+ /**
13213
+ * Response model for SSO configuration.
13214
+ *
13215
+ * `oidc` is included only on admin reads (see `GET /sso`); the public org
13216
+ * config endpoint uses a separate `PublicOrganizationConfig` and never
13217
+ * exposes provider-specific identifiers.
13218
+ */
13219
+ interface LibRoutesOrgOrganizationSSOConfigResponse {
13220
+ provider?: string | null;
13221
+ domain?: string | null;
13222
+ authMode?: string;
13223
+ enabledAt?: string | null;
13224
+ config?: SSOConfigData | null;
13225
+ oidc?: OIDCAdminConfigView | null;
13226
+ }
11463
13227
  interface PaginatedResponseInboundFaxLogEntry {
11464
13228
  items: InboundFaxLogEntry[];
11465
13229
  total: number;
@@ -12104,6 +13868,7 @@ declare const CELContextRequestContextType: {
12104
13868
  readonly function_field: "function_field";
12105
13869
  readonly validate_field: "validate_field";
12106
13870
  readonly qualification_criterion: "qualification_criterion";
13871
+ readonly metric_criterion: "metric_criterion";
12107
13872
  readonly sync_filter: "sync_filter";
12108
13873
  };
12109
13874
  type CELContextRequestSyncDirection = typeof CELContextRequestSyncDirection[keyof typeof CELContextRequestSyncDirection] | null;
@@ -12116,6 +13881,22 @@ declare const CELValidationDiagnosticCode$1: {
12116
13881
  readonly invalid_syntax: "invalid_syntax";
12117
13882
  readonly invalid_operation: "invalid_operation";
12118
13883
  };
13884
+ /**
13885
+ * A non-blocking authoring advisory.
13886
+ *
13887
+ * Warnings never make an expression invalid — ``valid`` is decided by
13888
+ * ``diagnostics`` alone. They flag expressions that parse, validate, and
13889
+ * save, but whose runtime semantics are very unlikely to be what the author
13890
+ * meant. Messages carry no authored expression text and no member data.
13891
+ *
13892
+ * - ``clock_equality_schedule``: a one-shot rule condition (today,
13893
+ * ``journey_step:execute``) tests a ``datetime`` clock field with ``==``,
13894
+ * which drops the action whenever dispatch lands on another value (#22658).
13895
+ */
13896
+ interface CELValidationWarning$1 {
13897
+ code: 'clock_equality_schedule';
13898
+ message: string;
13899
+ }
12119
13900
 
12120
13901
  /**
12121
13902
  * Types for CEL (Common Expression Language) editor context and validation.
@@ -12169,9 +13950,18 @@ interface CELValidationDiagnostic {
12169
13950
  code: CELValidationDiagnosticCode;
12170
13951
  message: string;
12171
13952
  }
13953
+ /**
13954
+ * A non-blocking authoring advisory. Warnings never make an expression
13955
+ * invalid — `valid` is decided by `diagnostics` alone. They flag CEL that
13956
+ * parses, validates and saves but whose runtime semantics are almost
13957
+ * certainly not what the author meant.
13958
+ */
13959
+ type CELValidationWarning = CELValidationWarning$1;
12172
13960
  interface CELValidationResponse {
12173
13961
  valid: boolean;
12174
13962
  diagnostics: CELValidationDiagnostic[];
13963
+ /** Optional: absent on responses from a backend that predates advisories. */
13964
+ warnings?: CELValidationWarning[];
12175
13965
  }
12176
13966
 
12177
13967
  declare class CELApi extends BaseApiClient {
@@ -12229,8 +14019,9 @@ declare class ChatsApi extends BaseApiClient {
12229
14019
  getChatSkills(wid: string, chatId: number): Promise<{
12230
14020
  loadedSkills: string[];
12231
14021
  revealedSkills: string[];
14022
+ enabledToolkitTools?: string[];
12232
14023
  }>;
12233
- /** List built-in skills that can be selected before starting a Manager Chat. */
14024
+ /** List built-in skills selectable before a Manager Chat (and on Routine manager tasks). */
12234
14025
  getManagerSkills(wid: string): Promise<ManagerSkillsResponse>;
12235
14026
  /** List chat IDs that need a response. */
12236
14027
  getChatsNeedsResponse(wid: string): Promise<number[]>;
@@ -12536,6 +14327,22 @@ declare class DashboardsApi extends BaseApiClient {
12536
14327
  }): Promise<ChannelStatsResponse>;
12537
14328
  /** Assignment status rollup per root workflow. */
12538
14329
  getDashboardWorkflowAssignmentStats(wid: string): Promise<WorkflowAssignmentStatsResponse>;
14330
+ /**
14331
+ * Current saved-configuration health across every family (Workflow
14332
+ * configuration, Journey authoring, Workflow access, Routine → Workflow
14333
+ * access, and the workspace lint).
14334
+ *
14335
+ * Requires ALL of `workflows:read`, `journeys:read`, `automations:read`,
14336
+ * `datatypes:read`, `members:read`, and `member_roles:read` — a pruned
14337
+ * subset would render as "all configuration is healthy".
14338
+ *
14339
+ * `page`/`pageSize` bound the response only; every family is evaluated in
14340
+ * full before the issue list is sliced. `check`/`severity` narrow the issue
14341
+ * list server-side, before pagination — filtering a single page in the
14342
+ * client cannot find a match that lives on a later one. `summary` and
14343
+ * `checks` are always workspace-global.
14344
+ */
14345
+ getConfigurationHealth(wid: string, options?: ConfigHealthQueryParams): Promise<ConfigHealthCollection>;
12539
14346
  }
12540
14347
 
12541
14348
  declare class DataTypesApi extends BaseApiClient {
@@ -12573,6 +14380,15 @@ declare class DataTypesApi extends BaseApiClient {
12573
14380
  memberId?: number;
12574
14381
  /** Batch form of memberId — one request hydrates a whole table page. */
12575
14382
  memberIds?: number[];
14383
+ /**
14384
+ * Narrow to exactly this record id.
14385
+ *
14386
+ * Read-only `focus_record` deep links use it so a record is found
14387
+ * regardless of which page it would otherwise paginate onto. It
14388
+ * intersects every other filter and every server-side access check —
14389
+ * it can never reach a record the caller could not already list.
14390
+ */
14391
+ recordId?: number;
12576
14392
  search?: string;
12577
14393
  searchField?: string;
12578
14394
  /** Apply a saved data-record filter by id. */
@@ -12901,6 +14717,23 @@ declare class EventsApi extends BaseApiClient {
12901
14717
  status: string;
12902
14718
  message: string;
12903
14719
  }>;
14720
+ /**
14721
+ * Configuration change history for one routine, newest first.
14722
+ *
14723
+ * Answers "who turned this off, when, and why" — including the
14724
+ * platform-initiated pauses (finite-repeat exhaustion, outbound-safety
14725
+ * runaway auto-pause) that no other surface exposes.
14726
+ *
14727
+ * `transitionsOnly` filters to rows that record a real trigger-gate
14728
+ * transition. Prefer it for a toggle-focused view: a full-form save always
14729
+ * re-sends every field, so unfiltered history includes saves that changed
14730
+ * nothing.
14731
+ */
14732
+ getRoutineConfigEvents(wid: string, id: number, options?: {
14733
+ limit?: number;
14734
+ beforeId?: number;
14735
+ transitionsOnly?: boolean;
14736
+ }): Promise<RoutineConfigEventResponse[]>;
12904
14737
  /** List routine run history with optional filtering by routine and status. */
12905
14738
  getRoutineRuns(wid: string, options?: {
12906
14739
  page?: number;
@@ -13903,8 +15736,23 @@ declare class MembersApi extends BaseApiClient {
13903
15736
  createMemberRole(wid: string, memberRole: MemberRoleFormData): Promise<MemberRoleResponse>;
13904
15737
  /** Update a member role. */
13905
15738
  updateMemberRole(wid: string, id: number, memberRole: MemberRoleFormData): Promise<MemberRoleResponse>;
13906
- /** Delete a member role. */
15739
+ /** Delete a member role. Default roles (``systemKey`` set) return 403. */
13907
15740
  deleteMemberRole(wid: string, id: number): Promise<void>;
15741
+ /**
15742
+ * Describe legacy duplicate default roles in this workspace. Read-only.
15743
+ *
15744
+ * Workspaces seeded by older versions of the product can carry the same
15745
+ * default role under several spellings ("manager" next to "Manager"). This
15746
+ * reports which ones should be merged and exactly how many members and
15747
+ * references each merge would move.
15748
+ */
15749
+ getMemberRoleCleanupPlan(wid: string): Promise<MemberRoleCleanupPlanResponse>;
15750
+ /**
15751
+ * Move every member and reference from one role to another, then delete the
15752
+ * source role. Requires `member_roles:admin`. The source cannot be a default
15753
+ * role.
15754
+ */
15755
+ mergeMemberRoles(wid: string, request: MergeMemberRolesRequest): Promise<MergeMemberRolesResponse>;
13908
15756
  /**
13909
15757
  * Read-only preview classifying each CSV row before any write (GRA-5545).
13910
15758
  *
@@ -14023,23 +15871,31 @@ declare class MembersApi extends BaseApiClient {
14023
15871
  getMemberSyncLinks(wid: string, memberId: number): Promise<MemberSyncLink[]>;
14024
15872
  }
14025
15873
 
14026
- declare class MilestonesApi extends BaseApiClient {
14027
- /** List milestones in a workspace with optional pagination and sorting. */
14028
- getMilestones(wid: string, options?: {
14029
- page?: number;
14030
- pageSize?: number;
14031
- sortBy?: MilestoneSortField;
14032
- sortOrder?: SortOrder;
14033
- search?: string;
14034
- }): Promise<PaginatedResponse<MilestoneResponse>>;
14035
- /** Get a single milestone by ID. */
14036
- getMilestone(wid: string, id: number): Promise<MilestoneResponse>;
14037
- /** Create a new milestone in a workspace. */
14038
- createMilestone(wid: string, milestone: MilestoneFormData): Promise<MilestoneResponse>;
14039
- /** Update an existing milestone with partial data. */
14040
- updateMilestone(wid: string, id: number, milestone: Partial<MilestoneFormData>): Promise<MilestoneResponse>;
14041
- /** Delete a milestone by ID. */
14042
- deleteMilestone(wid: string, id: number): Promise<void>;
15874
+ /**
15875
+ * Activity Timeline (`POST /w/{wid}/activity-timeline/query`).
15876
+ *
15877
+ * One merged, authorized, cursor-paginated page of Member, Journey, Workflow,
15878
+ * Chat, call, and Form activity.
15879
+ *
15880
+ * POST for a read is deliberate: `scope.memberPredicate` is a structured,
15881
+ * PHI-bearing Member Query IR predicate and must not end up in a URL, browser
15882
+ * history, or an access log.
15883
+ *
15884
+ * PHI notes for callers:
15885
+ * - `subjects[].name` is Member identity. Render it; never log it.
15886
+ * - `detail.oldDisplay` / `detail.newDisplay` on a `form_field_changed` row are
15887
+ * authorized Form values. Wrap them in `Redacted`, and keep them out of logs,
15888
+ * analytics, error reports, and any cache that outlives the session.
15889
+ * - There is no message preview and no Chat title/summary on this contract by
15890
+ * design; do not add one client-side from another endpoint.
15891
+ *
15892
+ * `nextCursor` is opaque, signed, and bound to this exact request. Send it back
15893
+ * unchanged with an otherwise identical body; any other use is a 400 and the
15894
+ * caller should restart from page one.
15895
+ */
15896
+ declare class ActivityTimelineApi extends BaseApiClient {
15897
+ /** One page of activity. Omit `cursor` for a fresh snapshot. */
15898
+ queryActivityTimeline(wid: string, request?: ActivityTimelineQueryRequest): Promise<ActivityTimelineResponse>;
14043
15899
  }
14044
15900
 
14045
15901
  declare class MotdApi extends BaseApiClient {
@@ -14057,6 +15913,39 @@ declare class MotdApi extends BaseApiClient {
14057
15913
  }): Promise<MotdResponse>;
14058
15914
  }
14059
15915
 
15916
+ /**
15917
+ * One intervention request — the event that a conversation asked for a person,
15918
+ * not a per-recipient inbox row. Everyone notified shares this single status.
15919
+ */
15920
+ interface InterventionRequest {
15921
+ id: number;
15922
+ uuid: string;
15923
+ /** escalation | contributor_input | approval */
15924
+ kind: string;
15925
+ chatId?: number | null;
15926
+ requestingMemberId?: number | null;
15927
+ reasonCode?: string | null;
15928
+ /** handled | approved | denied | cancelled; null while open */
15929
+ resolution?: string | null;
15930
+ resolvedByMemberId?: number | null;
15931
+ resolvedAt?: string | null;
15932
+ createdAt: string;
15933
+ /** How many people were told. Zero means the escalation reached nobody. */
15934
+ notifiedCount: number;
15935
+ }
15936
+ interface ListInterventionRequestsParams {
15937
+ kind?: string;
15938
+ openOnly?: boolean;
15939
+ chatId?: number;
15940
+ /** Only requests that notified nobody — escalations that reached no one. */
15941
+ unroutedOnly?: boolean;
15942
+ limit?: number;
15943
+ }
15944
+ declare class InterventionRequestsApi extends BaseApiClient {
15945
+ /** List intervention requests in a workspace, newest first. */
15946
+ getInterventionRequests(wid: string, params?: ListInterventionRequestsParams): Promise<InterventionRequest[]>;
15947
+ }
15948
+
14060
15949
  declare class OperatorApi extends BaseApiClient {
14061
15950
  /** List all operator groups for a workspace. */
14062
15951
  getOperatorGroups(wid: string): Promise<OperatorGroup[]>;
@@ -14118,6 +16007,25 @@ interface VoiceTrustProductsResponse {
14118
16007
  products: VoiceTrustProductState[];
14119
16008
  }
14120
16009
 
16010
+ /**
16011
+ * Partial update — omitted fields are left unchanged.
16012
+ */
16013
+ interface UpdateA2PCampaignConfigRequest {
16014
+ description?: string | null;
16015
+ messageFlow?: string | null;
16016
+ useCase?: string | null;
16017
+ messageSamples?: string[] | null;
16018
+ optInMessage?: string | null;
16019
+ optOutMessage?: string | null;
16020
+ helpMessage?: string | null;
16021
+ privacyUrl?: string | null;
16022
+ termsUrl?: string | null;
16023
+ evidenceUrl?: string | null;
16024
+ ageGated?: boolean | null;
16025
+ consentCheckboxLabel?: string | null;
16026
+ consentDisclosure?: string | null;
16027
+ }
16028
+
14121
16029
  /**
14122
16030
  * Public organization configuration types.
14123
16031
  * Server response shapes are generated from Pydantic via emit_openapi.py → Orval.
@@ -14229,6 +16137,12 @@ interface OrgA2PBrandSummary {
14229
16137
  campaignStatus?: string | null;
14230
16138
  internalError?: string | null;
14231
16139
  evidenceUrl: string;
16140
+ /**
16141
+ * Twilio account owning this brand's Messaging Service. Compare against a
16142
+ * number's `twilioAccountSid` to tell, before submitting, that it cannot be
16143
+ * attached to this brand. Null for an org with no subaccount.
16144
+ */
16145
+ subAccountSid?: string | null;
14232
16146
  }
14233
16147
  interface OrgA2PBrandListResponse {
14234
16148
  brands: OrgA2PBrandSummary[];
@@ -14353,21 +16267,6 @@ interface A2PBrandEnrollmentUrlResponse {
14353
16267
  /** Brand-addressable enrollment URL (carries ?brand=…); null until linked. */
14354
16268
  url: string | null;
14355
16269
  }
14356
- /** Partial update of a brand's campaign config; omitted fields are unchanged. */
14357
- interface UpdateA2PCampaignConfigRequest {
14358
- description?: string;
14359
- messageFlow?: string;
14360
- useCase?: string;
14361
- messageSamples?: string[];
14362
- optInMessage?: string;
14363
- optOutMessage?: string;
14364
- helpMessage?: string;
14365
- privacyUrl?: string;
14366
- termsUrl?: string;
14367
- ageGated?: boolean;
14368
- consentCheckboxLabel?: string;
14369
- consentDisclosure?: string;
14370
- }
14371
16270
 
14372
16271
  /**
14373
16272
  * Organization API client for /api/v2/o/{org_uuid}/ routes.
@@ -14395,6 +16294,28 @@ declare class OrgApi extends BaseApiClient {
14395
16294
  * Returns the user's org membership details including their role and scopes.
14396
16295
  */
14397
16296
  getCurrentOrgMember(orgIdOrUuid: number | string): Promise<CurrentOrgMember>;
16297
+ /**
16298
+ * Update the settings an org admin owns: name, slug and contact details.
16299
+ *
16300
+ * Deliberately NOT the admin organization update — `primary` and
16301
+ * `enforceCreditLimit` are superuser-only and are not fields on this
16302
+ * endpoint's request model at all.
16303
+ */
16304
+ updateOrganizationSettings(orgIdOrUuid: number | string, data: OrgSettingsUpdateRequest): Promise<AdminOrganization>;
16305
+ /**
16306
+ * Read this organization's SSO configuration.
16307
+ *
16308
+ * Org-scoped (`org:admin`), unlike the SSO fields on the superuser admin
16309
+ * organization update — an org admin owns their own identity provider.
16310
+ */
16311
+ getOrgSsoConfig(orgIdOrUuid: number | string): Promise<LibRoutesOrgOrganizationSSOConfigResponse>;
16312
+ /** Configure this organization's SSO. Requires `org:admin`. */
16313
+ updateOrgSsoConfig(orgIdOrUuid: number | string, data: SSOConfigRequest): Promise<LibRoutesOrgOrganizationSSOConfigResponse>;
16314
+ /** Remove this organization's SSO configuration. Requires `org:admin`. */
16315
+ deleteOrgSsoConfig(orgIdOrUuid: number | string): Promise<{
16316
+ status: string;
16317
+ message: string;
16318
+ }>;
14398
16319
  /**
14399
16320
  * Get the billing customer UUID for an organization.
14400
16321
  */
@@ -14469,6 +16390,18 @@ declare class OrgApi extends BaseApiClient {
14469
16390
  * Get a single workspace in an organization.
14470
16391
  */
14471
16392
  getOrganizationWorkspace(orgIdOrUuid: number | string, workspaceUuid: string): Promise<OrgWorkspace>;
16393
+ /**
16394
+ * Workspace cards for the organization page: identity plus the GLB-side
16395
+ * counts. Any org member may call it — members get the workspaces they
16396
+ * belong to, org:read holders get all of them.
16397
+ */
16398
+ getOrganizationWorkspaceSummaries(orgIdOrUuid: number | string): Promise<OrgWorkspaceSummaryResponse[]>;
16399
+ /**
16400
+ * Workspace-schema aggregates for one card, plus the caller's own member
16401
+ * role. Separate from the list because it opens a session against the
16402
+ * workspace's own schema — each card fetches its own.
16403
+ */
16404
+ getOrganizationWorkspaceStats(orgIdOrUuid: number | string, workspaceUuid: string): Promise<OrgWorkspaceStatsResponse>;
14472
16405
  /**
14473
16406
  * Create a workspace in an organization.
14474
16407
  */
@@ -14826,6 +16759,13 @@ declare class PhoneNumbersApi extends BaseApiClient {
14826
16759
  inbound?: boolean;
14827
16760
  dateFrom?: string;
14828
16761
  dateTo?: string;
16762
+ /**
16763
+ * Narrow to exactly this call id — the read-only
16764
+ * `focus=phone_call:{id}` deep link. The server ANDs it onto the
16765
+ * `phoneNumberId` filter, so a call on another number returns an
16766
+ * empty page rather than leaking across phone numbers.
16767
+ */
16768
+ callId?: number;
14829
16769
  }): Promise<PaginatedResponse<PhoneCallResponse>>;
14830
16770
  /** List paginated voicemails for a phone number. */
14831
16771
  getPhoneNumberVoicemails(wid: string, id: number, page?: number, pageSize?: number, status?: VoicemailStatus): Promise<PaginatedResponse<Voicemail>>;
@@ -15000,6 +16940,35 @@ declare class PersonasApi extends BaseApiClient {
15000
16940
  deletePersona(wid: string, id: number): Promise<void>;
15001
16941
  }
15002
16942
 
16943
+ declare class MetricsApi extends BaseApiClient {
16944
+ /** List metric definitions in the workspace, paginated. */
16945
+ listMetrics(wid: string, params?: {
16946
+ page?: number;
16947
+ pageSize?: number;
16948
+ includeArchived?: boolean;
16949
+ source?: string;
16950
+ }): Promise<PaginatedResponse<MetricResponse>>;
16951
+ getMetric(wid: string, id: number): Promise<MetricResponse>;
16952
+ createMetric(wid: string, data: CreateMetricRequest): Promise<MetricResponse>;
16953
+ updateMetric(wid: string, id: number, data: UpdateMetricRequest): Promise<MetricResponse>;
16954
+ /** Soft-archive a metric (observations retained). */
16955
+ deleteMetric(wid: string, id: number): Promise<void>;
16956
+ listMetricObservations(wid: string, metricId: number, params: {
16957
+ start: string;
16958
+ end: string;
16959
+ page?: number;
16960
+ pageSize?: number;
16961
+ }): Promise<PaginatedResponse<MetricObservationResponse>>;
16962
+ getMetricSeries(wid: string, metricId: number, params: {
16963
+ start: string;
16964
+ end: string;
16965
+ bucket?: 'day' | 'week';
16966
+ aggregation?: 'avg' | 'sum' | 'count' | 'rate' | 'last';
16967
+ }): Promise<MetricSeriesResponse>;
16968
+ /** On-demand compute of enabled chat-source metrics for one chat. */
16969
+ computeChatMetrics(wid: string, data: ComputeChatMetricsRequest): Promise<ComputeChatMetricsResponse>;
16970
+ }
16971
+
15003
16972
  /**
15004
16973
  * Unified Query Engine API (`/w/{wid}/queries/*`).
15005
16974
  *
@@ -15431,11 +17400,7 @@ declare class SalesforceApi extends BaseApiClient {
15431
17400
  custom?: boolean;
15432
17401
  }>>;
15433
17402
  describeSalesforceObject(wid: string, sobject: string): Promise<{
15434
- fields: Array<{
15435
- name: string;
15436
- label: string;
15437
- type: string;
15438
- }>;
17403
+ fields: SalesforceDescribeField[];
15439
17404
  }>;
15440
17405
  searchSalesforceRecords(wid: string, data: SalesforceSearchRequest): Promise<SalesforceSearchResponse>;
15441
17406
  importSalesforceMembers(wid: string, data: ImportSalesforceMembersRequest): Promise<ImportSalesforceMembersResponse>;
@@ -16514,6 +18479,12 @@ declare class JourneysApi extends BaseApiClient {
16514
18479
  * the journey.
16515
18480
  */
16516
18481
  runtimeFailureEdgeId?: number;
18482
+ /**
18483
+ * Narrow to exactly this enrollment id — the read-only
18484
+ * `focus_enrollment` deep link. The server ANDs it onto the journey
18485
+ * filter, so an enrollment from another Journey yields an empty page.
18486
+ */
18487
+ memberJourneyId?: number;
16517
18488
  }): Promise<PaginatedResponse<MemberJourney>>;
16518
18489
  /** Enroll one or more members in a journey. */
16519
18490
  enrollMembers(wid: string, journeyId: number, data: EnrollMemberFormData): Promise<MemberJourney[]>;
@@ -16525,6 +18496,29 @@ declare class JourneysApi extends BaseApiClient {
16525
18496
  deleteEnrollment(wid: string, journeyId: number, memberId: number): Promise<void>;
16526
18497
  /** Get all journey enrollments for a member. */
16527
18498
  getMemberJourneys(wid: string, memberId: number): Promise<MemberJourney[]>;
18499
+ /**
18500
+ * Status history for one enrollment — the per-member journey timeline.
18501
+ *
18502
+ * This is where a step that completed having emitted nothing shows up as
18503
+ * `zeroEmission: true` with its reason, instead of being indistinguishable
18504
+ * from a step that sent (GRA-7341). Newest first.
18505
+ *
18506
+ * PHI-safe: identifiers, closed status codes, operator-authored step names,
18507
+ * counts, and timestamps. `entry.reason` is populated only for rows the
18508
+ * server allowlists; every other row reports `reasonRedacted: true`.
18509
+ *
18510
+ * `zeroEmissionOnly` narrows the page to the dropped-send rows. Use it when
18511
+ * that is all you need: without it a busy enrollment can push every
18512
+ * zero-emission row off the first page, and a caller that renders only what
18513
+ * it loaded would report "nothing was dropped" — the exact failure this
18514
+ * endpoint exists to eliminate. `zeroEmissionCount` is unaffected by the
18515
+ * filter and always counts the whole enrollment.
18516
+ */
18517
+ getEnrollmentStatusLog(wid: string, journeyId: number, memberJourneyId: number, params?: {
18518
+ page?: number;
18519
+ pageSize?: number;
18520
+ zeroEmissionOnly?: boolean;
18521
+ }): Promise<JourneyStatusLogResponse>;
16528
18522
  /** List members currently or historically associated with one journey step. */
16529
18523
  getStepMembers(wid: string, journeyId: number, stepUuid: string, params?: {
16530
18524
  status?: string;
@@ -17083,18 +19077,6 @@ interface MemberFilterExport {
17083
19077
  /** Query-engine predicate (JSON IR) stored on MemberFilter.query. */
17084
19078
  query?: Record<string, unknown> | null;
17085
19079
  }
17086
- interface MilestoneExport {
17087
- uuid: string;
17088
- name: string;
17089
- description?: string;
17090
- targetDate: string;
17091
- }
17092
- interface MilestoneGoalExport {
17093
- uuid: string;
17094
- milestoneUuid: string;
17095
- name: string;
17096
- value: number;
17097
- }
17098
19080
  interface CustomToolkitExport {
17099
19081
  uuid: string;
17100
19082
  name: string;
@@ -17194,8 +19176,6 @@ interface WorkspaceExportData {
17194
19176
  inboxes: InboxExport[];
17195
19177
  routines: RoutineExport[];
17196
19178
  memberFilters: MemberFilterExport[];
17197
- milestones: MilestoneExport[];
17198
- milestoneGoals: MilestoneGoalExport[];
17199
19179
  customToolkits: CustomToolkitExport[];
17200
19180
  customTools: CustomToolExport[];
17201
19181
  pages: PageExport[];
@@ -17232,8 +19212,6 @@ interface WorkspaceImportMapping {
17232
19212
  inboxes: Record<string, string>;
17233
19213
  routines: Record<string, string>;
17234
19214
  memberFilters: Record<string, string>;
17235
- milestones: Record<string, string>;
17236
- milestoneGoals: Record<string, string>;
17237
19215
  customToolkits: Record<string, string>;
17238
19216
  customTools: Record<string, string>;
17239
19217
  pages: Record<string, string>;
@@ -17259,8 +19237,6 @@ interface WorkspaceCreateNewEntities {
17259
19237
  inboxes: string[];
17260
19238
  routines: string[];
17261
19239
  memberFilters: string[];
17262
- milestones: string[];
17263
- milestoneGoals: string[];
17264
19240
  customToolkits: string[];
17265
19241
  customTools: string[];
17266
19242
  pages: string[];
@@ -17290,8 +19266,6 @@ interface WorkspaceAutoMapEntities {
17290
19266
  inboxes: string[];
17291
19267
  routines: string[];
17292
19268
  memberFilters: string[];
17293
- milestones: string[];
17294
- milestoneGoals: string[];
17295
19269
  customToolkits: string[];
17296
19270
  customTools: string[];
17297
19271
  pages: string[];
@@ -17646,10 +19620,11 @@ interface ApiModules {
17646
19620
  connectionSync: ConnectionSyncApi;
17647
19621
  mcpServers: McpServersApi;
17648
19622
  members: MembersApi;
17649
- milestones: MilestonesApi;
19623
+ activityTimeline: ActivityTimelineApi;
17650
19624
  motd: MotdApi;
17651
19625
  trackedLinks: TrackedLinksApi;
17652
19626
  mondayIntegration: MondayIntegrationApi;
19627
+ interventionRequests: InterventionRequestsApi;
17653
19628
  notificationRules: NotificationRulesApi;
17654
19629
  oauth: OAuthApi;
17655
19630
  operatorGroups: OperatorApi;
@@ -17659,6 +19634,7 @@ interface ApiModules {
17659
19634
  pronunciations: PronunciationsApi;
17660
19635
  qualifications: QualificationsApi;
17661
19636
  personas: PersonasApi;
19637
+ metrics: MetricsApi;
17662
19638
  queries: QueriesApi;
17663
19639
  reports: ReportsApi;
17664
19640
  salesforce: SalesforceApi;
@@ -17678,7 +19654,7 @@ interface ApiModules {
17678
19654
  }
17679
19655
  declare function createApiModules(apiKey: string | undefined, baseUrl: string, customFetch?: typeof fetch): ApiModules;
17680
19656
 
17681
- declare const WORKSPACE_METHOD_NAMES: readonly ["activateWorkflowRevision", "addGroupMember", "advanceStep", "approveWorkspaceInvitation", "archiveAgent", "archiveChat", "archiveDataType", "archiveJourney", "archiveMember", "archivePhoneNumber", "archiveStep", "archiveTask", "archiveWorkflow", "authorizeMondayConnection", "autoCreateDataTypeFromBoard", "blockWorkspaceInvitation", "bookHealthieAppointment", "buildSiteSource", "buildWorkspace", "bulkCreateMembers", "bulkLinkMembersToHubspot", "bulkLinkMembersToMonday", "bulkLinkMembersToSalesforce", "cancelAgentTask", "cancelAssignment", "cancelCalendarEvent", "cancelChatCallback", "cancelCredentialUpdateInvite", "checkAvailability", "checkSiteDomainAvailability", "checkSiteSlugAvailability", "clearConnectionMemberExclusion", "clearMemberSwitch", "clearTrackedLinkDestinations", "clickWorkspaceSupportRequestResource", "cloneDataType", "cloneTask", "cloneWorkflow", "closeWorkspaceSupportRequest", "commentOnWorkspaceSupportRequest", "completeDiscordLink", "configureConfluence", "configureDocumoFax", "configureHealthie", "configurePatientSync", "configureHubspot", "configureMondayConnection", "configureSalesforce", "convertEmail", "convertFile", "crawlSite", "createAbility", "createAccessGrant", "createAgent", "createApiKey", "createAssignment", "createCalendar", "createCalendarEvent", "createCalendarEventType", "createCalendarSchedule", "createChat", "createChatCompletion", "createChatFilter", "createChatLabel", "createClientWorkspace", "createConnection", "createCustomTool", "createCustomToolkit", "createDashboard", "createDataRecord", "createDataRecordFilter", "createDataType", "createDiscordBot", "createEventRule", "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", "createSiteSource", "createSlackApp", "createStep", "createSupervisor", "createTask", "createTeamsApp", "createTrackedLinkDestination", "createWorkflow", "createWorkflowContributor", "createWorkflowFromTemplate", "createWorkflowNote", "createWorkflowOutboundVoiceChat", "createWorkspaceMember", "createWorkspaceSupportRequest", "deleteAbility", "deleteAgent", "deleteAssignment", "deleteCalendar", "deleteCalendarEvent", "deleteCalendarEventType", "deleteCalendarSchedule", "deleteChat", "deleteChatFilter", "deleteChatLabel", "deleteClientWorkspace", "deleteConfluence", "deleteConnection", "deleteCustomTool", "deleteCustomToolkit", "deleteDashboard", "deleteDataRecord", "deleteDataRecordFilter", "deleteDataType", "deleteDiscordBot", "deleteEnrollment", "deleteEventRule", "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", "deleteSupervisor", "deleteTask", "deleteTeamsApp", "deleteTrackedLinkDestination", "deleteWidgetDomain", "deleteWorkflow", "deleteWorkflowContributor", "deleteWorkflowNote", "deleteWorkspace", "deleteWorkspaceInvitationAdmin", "denyWorkspaceInvitation", "describeSalesforceObject", "diffWorkflowRevisions", "disableConfluence", "disableCustomToolkit", "disableHubspot", "disableMcpServer", "disableMondayConnection", "disableSalesforce", "disconnectConfluence", "disconnectHubspot", "disconnectMondayConnection", "disconnectPresence", "disconnectSalesforce", "discordLinkPreflight", "discoverOAuthMetadata", "dismissAllNotifications", "dismissNotification", "downloadEmailAttachment", "downloadFilesZip", "downloadSiteSourceZip", "editWorkflowRevisionAsDraft", "enableConfluence", "enableCustomToolkit", "enableHubspot", "enableMcpServer", "enableMondayConnection", "enablePlatformApp", "enableSalesforce", "endTestChatRun", "enrollMembers", "evaluateTestChatRun", "executeAssignmentTool", "expireAnonymousMember", "exportChat", "exportChats", "exportMembers", "exportPhoneNumberOutboundAnalyticsCsv", "exportWorkspace", "fetchVoicemailAudio", "fhirBackfillEncounterSync", "fhirCheckPatientLinks", "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", "getBusinessHoursStatus", "getCalendar", "getCalendarEvent", "getCalendarEventType", "getCalendarEventTypes", "getCalendarEvents", "getCalendarSchedules", "getCalendars", "getCallRecordingDownloadUrl", "getCelContext", "getCharlestonTestDeliveryRecipients", "getChat", "getChatAssignmentTasks", "getChatCallbacks", "getChatEmails", "getChatFilter", "getChatFilterByUuid", "getChatFilterCount", "getChatFilters", "getChatLabel", "getChatLabelByUuid", "getChatLabels", "getChatMessages", "getChatModelOverride", "getChatPhoneCalls", "getChatSkills", "getManagerSkills", "getChatTodos", "getChatTokenUsage", "getChatToolCallMessages", "getChatTools", "getChats", "getChatsDailyCreationStats", "getChatsNeedsResponse", "getChildThreadMessages", "getClientWorkspace", "getConfluenceStatus", "getConnectionSyncCapabilities", "getConnectionSyncCheckpoint", "getConnectionSyncConfig", "getCredentialUpdateInvites", "getCurrentMember", "getCurrentSmsChat", "getCustomToolkit", "getCustomToolkits", "getDashboard", "getDashboardChannelStats", "getDashboardWorkflowAssignmentStats", "getDashboards", "getDataRecord", "getDataRecordChanges", "getDataRecordFilter", "getDataRecordFilterCount", "getDataRecordFilters", "getDataRecords", "getDataType", "getDataTypeByUuid", "getDataTypeBySlug", "getDataTypes", "getDiscordBot", "getDiscordBotAccounts", "getDiscordBotByUuid", "getDiscordBots", "getDiscordGuilds", "getDiscordThreads", "getDocumoFaxSetup", "listDocumoFaxes", "getDocumoFaxStatus", "getEventRule", "getEventRules", "getExperiment", "getExperimentStats", "getExperiments", "getFhirConnection", "getFhirConnectionByUuid", "getFhirConnections", "getFieldIndexStatus", "getFile", "getMondayBoardColumns", "getMondayBoardGroups", "getMondayBoards", "getMondayCurrentUserInfo", "getMotd", "getPhoneNumberOutboundAnalyticsCalls", "getPhoneNumberOutboundAnalyticsSummary", "getQueryFields", "getSiteSharing", "getSiteSource", "getSiteSourceTemplates", "getThemeSettings", "importSiteSourceZip", "installDocumoFax", "listChatRecordings", "previewQuery", "publishSiteSource", "registerDiscordSlashCommands", "reopenWorkspaceSupportRequest", "resetSiteSource", "resolveFilePath", "getFileLabel", "getFileLabelByUuid", "getFileLabels", "getFileSharing", "getFileVersionContentsUrl", "getFileVersionDiff", "getFiles", "getFirstRunState", "getFolder", "getFolderMemberAccess", "getFolderSharing", "getFolders", "getGoogleCalendarStatus", "getGranteeGrants", "getHealthieAvailableSlots", "getHealthieReconciliationMatches", "getHealthieStatus", "getPatientSyncStatus", "getHubspotContactProperties", "getHubspotManagedRules", "getHubspotReconciliationMatches", "getHubspotStatus", "getHubspotSyncLogs", "getHubspotTransformPresets", "getICalFeedUrl", "getInbox", "getInboxEmail", "getInboxEmails", "getInboxThreads", "getInboxes", "getJourney", "getJourneyAuthoring", "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", "getMemberMemory", "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", "getPhoneNumberFaxes", "getPhoneNumberMessages", "getPhoneNumberVoicemails", "getPhoneNumbers", "getPhoneUsageReport", "getPlatformApp", "getPresenceStatus", "getProducts", "getPublicFile", "getPublicFolder", "getPublicFolderFiles", "getPublicProducts", "previewPromoCode", "getQualification", "getQualifications", "getRecordingInfo", "getResellerWorkspaces", "getRoutine", "getRoutineRuns", "getRoutines", "getRuleExecutions", "getSMSUsageReport", "getSalesforceReconciliationMatches", "getSalesforceStatus", "getSalesforceSyncConfig", "getScenario", "getSite", "getSiteByUuid", "getSiteCounts", "getSiteMenu", "getSitePages", "getSiteRenderedMenu", "getSiteRenderedPage", "getSites", "getSlackApp", "getSlackAppAccounts", "getSlackApps", "getSlackInstallations", "getSlackThreads", "getStepMemberCounts", "getStepMembers", "getSupervisor", "getSupervisors", "getSyncRunItems", "getSyncRuns", "getTask", "getTaskChats", "getTasks", "getTeamsApp", "getTeamsAppAccounts", "getTeamsApps", "getTeamsConversations", "getTeamsInstallations", "getTemplateContext", "getTestChatRun", "getThreadEmails", "getTool", "getToolCallNames", "getToolkits", "getTrackedLinkDestinations", "getTrackedLinkStats", "getTrackedLinkSummary", "getTrackedLinkTimeseries", "getUnreadNotificationCount", "getUsageDashboard", "getVariableRegistry", "getVoiceToken", "getVoiceUsageReport", "getWebhookLogs", "getWorkflow", "getWorkflowAccessValidation", "getWorkflowActivity", "getWorkflowConfigValidation", "getWorkflowFeedback", "getWorkflowContributors", "getWorkflowDeletionPreview", "getWorkflowDiagram", "getWorkflowNotes", "getWorkflowRevision", "getWorkflowRevisions", "getWorkflowTaskAssignmentStats", "getWorkflowTemplates", "getWorkflowThumbnailUrl", "getWorkflows", "getWorkflowsActivityBatch", "getWorkspace", "getWorkspaceBuilder", "getWorkspaceBuilders", "getWorkspaceCounts", "getWorkspaceDefaults", "getWorkspaceEmailDomains", "getWorkspaceMember", "getWorkspaceMembers", "getWorkspaceNotices", "getWorkspaceProduct", "getWorkspaceSiteDomains", "getWorkspaceWidgetDomains", "getWorkspaceSubscriptions", "getWorkspaceSupportRequest", "getWorkspaceThemes", "importFromBoard", "importHubspotMembers", "importMembers", "importSalesforceMembers", "importWorkspace", "initiateCall", "initiateOutboundCall", "inspectPrompt", "installHubspot", "installDocumoFax", "installMondayConnection", "installSalesforce", "inviteMemberCredentialUpdate", "inviteToWorkspace", "leaveWorkspace", "linkCalendarToGoogle", "linkCalendarToHealthie", "linkMemberToHealthie", "linkMemberToHubspot", "linkMemberToMonday", "linkMemberToSalesforce", "linkPhoneNumber", "listAbilities", "listAppConnections", "listAvailableAppConnections", "listConfluencePages", "listConfluenceSpaces", "listConnectionMemberFieldKeys", "rollbackSiteSource", "rotateDocumoFaxCredentials", "runQuery", "sendMemberPhoneConfirmation", "setDefaultGooglePlatformAccount", "listFileVersions", "listGoogleCalendars", "listHealthieAppointmentTypes", "listHealthiePatients", "listHealthieProviders", "listPersonas", "listPushSubscriptions", "listSalesforceObjects", "listScenarios", "listTestChatRuns", "listWidgetDomains", "listWorkspaceInvitationsAdmin", "listWorkspaceSupportRequests", "markEmailAsRead", "markEmailAsUnread", "markNotificationAsRead", "previewImportMembers", "previewImportWorkspace", "previewRoutineWorkflowAccess", "previewSchedule", "previewTTS", "previewTemplate", "previewThinkingSound", "previewWorkspaceImport", "provisionClientWorkspace", "publishWorkflowRevision", "rateMessage", "getChatFeedback", "reenrollMember", "registerLinkedRolesMetadata", "registerPushSubscription", "reindexFolder", "releasePhoneNumber", "removeFileRole", "removeFolderRole", "removeGroupMember", "reorderEventRules", "reorderMenuItems", "replyToEmail", "rotateDocumoFaxCredentials", "requestPhoneNumber", "requestWorkspaceMembership", "resetRoutineRuns", "resolveAccessGrant", "resolveAnonymousMember", "restoreFileVersion", "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", "testWebhook", "toggleFieldIndex", "unarchiveAgent", "unarchiveChat", "unarchiveDataType", "unarchiveMember", "unarchiveStep", "unarchiveTask", "unarchiveWorkflow", "unenrollMembers", "unlinkCalendarFromGoogle", "unlinkCalendarFromHealthie", "unlinkCredential", "unlinkMemberFromHealthie", "unlinkMemberFromHubspot", "unlinkMemberFromMonday", "unlinkMemberFromSalesforce", "unregisterPushSubscription", "updateAbility", "updateAgent", "updateAssignment", "updateCalendar", "updateCalendarEvent", "updateCalendarEventType", "updateCalendarSchedule", "updateChat", "updateChatFilter", "updateChatLabel", "updateChatModelOverride", "updateChatMute", "updateChatNeedsResponse", "updateClientWorkspace", "updateConnection", "updateConnectionSyncConfig", "updateCurrentMember", "updateCustomTool", "updateCustomToolkit", "updateDashboard", "updateDataRecord", "updateDataRecordFilter", "updateDataType", "updateDiscordBot", "updateEventAttendee", "updateEventRule", "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", "updateSiteSharing", "updateSlackApp", "updateStep", "updateSupervisor", "updateTask", "updateTeamsApp", "updateThemeSettings", "updateTrackedLinkDestination", "uploadFile", "updateVoicemailStatus", "updateWorkflow", "updateWorkflowContributor", "updateWorkflowNote", "updateWorkflowRevisionMetadata", "updateWorkspace", "updateWorkspaceDefaults", "updateWorkspaceInvitationAdmin", "updateWorkspaceThemes", "upsertDataRecord", "upsertWidgetDomain", "validateCelExpression", "validateDataTypeSlug", "validateQuery", "validateWorkflowName", "verifyDocumoFax"];
19657
+ declare const WORKSPACE_METHOD_NAMES: readonly ["activateWorkflowRevision", "addGroupMember", "advanceStep", "approveWorkspaceInvitation", "archiveAgent", "archiveChat", "archiveDataType", "archiveJourney", "archiveMember", "archivePhoneNumber", "archiveStep", "archiveTask", "archiveWorkflow", "authorizeMondayConnection", "autoCreateDataTypeFromBoard", "blockWorkspaceInvitation", "bookHealthieAppointment", "buildSiteSource", "buildWorkspace", "bulkCreateMembers", "bulkLinkMembersToHubspot", "bulkLinkMembersToMonday", "bulkLinkMembersToSalesforce", "cancelAgentTask", "cancelAssignment", "cancelCalendarEvent", "cancelChatCallback", "cancelCredentialUpdateInvite", "checkAvailability", "checkSiteDomainAvailability", "checkSiteSlugAvailability", "clearConnectionMemberExclusion", "clearMemberSwitch", "clearTrackedLinkDestinations", "clickWorkspaceSupportRequestResource", "cloneDataType", "cloneTask", "cloneWorkflow", "closeWorkspaceSupportRequest", "commentOnWorkspaceSupportRequest", "completeDiscordLink", "configureConfluence", "configureDocumoFax", "configureHealthie", "configurePatientSync", "configureHubspot", "configureMondayConnection", "configureSalesforce", "convertEmail", "convertFile", "crawlSite", "createAbility", "createAccessGrant", "createAgent", "createApiKey", "createAssignment", "createCalendar", "createCalendarEvent", "createCalendarEventType", "createCalendarSchedule", "createChat", "createChatCompletion", "createChatFilter", "createChatLabel", "createClientWorkspace", "createConnection", "createCustomTool", "createCustomToolkit", "createDashboard", "createDataRecord", "createDataRecordFilter", "createDataType", "createDiscordBot", "createEventRule", "createExperiment", "createExperimentAssignment", "createExperimentGroup", "createFhirConnection", "createFile", "createFileLabel", "createFolder", "createGoal", "createInbox", "createJourney", "createJourneyNote", "createMcpServer", "createMemberField", "createMemberFilter", "createMemberLabel", "createMemberMemory", "createMemberRole", "createMenuItem", "createNotificationRule", "createOperatorGroup", "createPage", "createPersona", "createPhoneNumber", "createProduct", "createRoutine", "createScenario", "createSignup", "createSite", "createSiteSource", "createSlackApp", "createStep", "createSupervisor", "createTask", "createTeamsApp", "createTrackedLinkDestination", "createWorkflow", "createWorkflowContributor", "createWorkflowFromTemplate", "createWorkflowNote", "createWorkflowOutboundVoiceChat", "createWorkspaceMember", "createWorkspaceSupportRequest", "deleteAbility", "deleteAgent", "deleteAssignment", "deleteCalendar", "deleteCalendarEvent", "deleteCalendarEventType", "deleteCalendarSchedule", "deleteChat", "deleteChatFilter", "deleteChatLabel", "deleteClientWorkspace", "deleteConfluence", "deleteConnection", "deleteCustomTool", "deleteCustomToolkit", "deleteDashboard", "deleteDataRecord", "deleteDataRecordFilter", "deleteDataType", "deleteDiscordBot", "deleteEnrollment", "deleteEventRule", "deleteExperiment", "deleteExperimentAssignment", "deleteExperimentGroup", "deleteFhirConnection", "deletePatientSyncConnection", "deleteFile", "deleteFileLabel", "deleteFolder", "deleteGoal", "deleteHubspot", "deleteInbox", "deleteJourneyNote", "deleteMcpServer", "deleteMember", "deleteMemberField", "deleteMemberFilter", "deleteMemberLabel", "deleteMemberMemory", "deleteMemberRole", "deleteMenuItem", "deleteMondayConnection", "deleteNotificationRule", "deleteOperatorGroup", "deletePage", "deletePersona", "deletePlatformApp", "deleteProduct", "deleteRoutine", "deleteSalesforce", "deleteScenario", "deleteSite", "deleteSlackApp", "deleteSupervisor", "deleteTask", "deleteTeamsApp", "deleteTrackedLinkDestination", "deleteWidgetDomain", "deleteWorkflow", "deleteWorkflowContributor", "deleteWorkflowNote", "deleteWorkspace", "deleteWorkspaceInvitationAdmin", "denyWorkspaceInvitation", "describeSalesforceObject", "diffWorkflowRevisions", "disableConfluence", "disableCustomToolkit", "disableHubspot", "disableMcpServer", "disableMondayConnection", "disableSalesforce", "disconnectConfluence", "disconnectHubspot", "disconnectMondayConnection", "disconnectPresence", "disconnectSalesforce", "discordLinkPreflight", "discoverOAuthMetadata", "dismissAllNotifications", "dismissNotification", "downloadEmailAttachment", "downloadFilesZip", "downloadSiteSourceZip", "editWorkflowRevisionAsDraft", "enableConfluence", "enableCustomToolkit", "enableHubspot", "enableMcpServer", "enableMondayConnection", "enablePlatformApp", "enableSalesforce", "endTestChatRun", "enrollMembers", "evaluateTestChatRun", "executeAssignmentTool", "expireAnonymousMember", "exportChat", "exportChats", "exportMembers", "exportPhoneNumberOutboundAnalyticsCsv", "exportWorkspace", "fetchVoicemailAudio", "fhirBackfillEncounterSync", "fhirCheckPatientLinks", "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", "getBusinessHoursStatus", "getCalendar", "getCalendarEvent", "getCalendarEventType", "getCalendarEventTypes", "getCalendarEvents", "getCalendarSchedules", "getCalendars", "getCallRecordingDownloadUrl", "getCelContext", "getCharlestonTestDeliveryRecipients", "getChat", "getChatAssignmentTasks", "getChatCallbacks", "getChatEmails", "getChatFilter", "getChatFilterByUuid", "getChatFilterCount", "getChatFilters", "getChatLabel", "getChatLabelByUuid", "getChatLabels", "getChatMessages", "getChatModelOverride", "getChatPhoneCalls", "getChatSkills", "getManagerSkills", "getChatTodos", "getChatTokenUsage", "getChatToolCallMessages", "getChatTools", "getChats", "getChatsDailyCreationStats", "getChatsNeedsResponse", "getChildThreadMessages", "getClientWorkspace", "getConfigurationHealth", "getConfluenceStatus", "getConnectionSyncCapabilities", "getConnectionSyncCheckpoint", "getConnectionSyncConfig", "getCredentialUpdateInvites", "getCurrentMember", "getCurrentSmsChat", "getCustomToolkit", "getCustomToolkits", "getDashboard", "getDashboardChannelStats", "getDashboardWorkflowAssignmentStats", "getDashboards", "getDataRecord", "getDataRecordChanges", "getDataRecordFilter", "getDataRecordFilterCount", "getDataRecordFilters", "getDataRecords", "getDataType", "getDataTypeByUuid", "getDataTypeBySlug", "getDataTypes", "getDiscordBot", "getDiscordBotAccounts", "getDiscordBotByUuid", "getDiscordBots", "getDiscordGuilds", "getDiscordThreads", "getDocumoFaxSetup", "listDocumoFaxes", "getDocumoFaxStatus", "getEnrollmentStatusLog", "getEventRule", "getEventRules", "getExperiment", "getExperimentStats", "getExperiments", "getFhirConnection", "getFhirConnectionByUuid", "getFhirConnections", "getFieldIndexStatus", "getFile", "getMondayBoardColumns", "getMondayBoardGroups", "getMondayBoards", "getMondayCurrentUserInfo", "getMotd", "getPhoneNumberOutboundAnalyticsCalls", "getPhoneNumberOutboundAnalyticsSummary", "getQueryFields", "getSiteSharing", "getSiteSource", "getSiteSourceTemplates", "getThemeSettings", "importSiteSourceZip", "installDocumoFax", "listChatRecordings", "previewQuery", "publishSiteSource", "queryActivityTimeline", "registerDiscordSlashCommands", "reopenWorkspaceSupportRequest", "resetSiteSource", "resolveFilePath", "getFileLabel", "getFileLabelByUuid", "getFileLabels", "getFileSharing", "getFileVersionContentsUrl", "getFileVersionDiff", "getFiles", "getFirstRunState", "getFolder", "getFolderMemberAccess", "getFolderSharing", "getFolders", "getGoogleCalendarStatus", "getGranteeGrants", "getHealthieAvailableSlots", "getHealthieReconciliationMatches", "getHealthieStatus", "getPatientSyncStatus", "getHubspotContactProperties", "getHubspotManagedRules", "getHubspotReconciliationMatches", "getHubspotStatus", "getHubspotSyncLogs", "getHubspotTransformPresets", "getICalFeedUrl", "getInbox", "getInboxEmail", "getInboxEmails", "getInboxThreads", "getInboxes", "getJourney", "getJourneyAuthoring", "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", "getMemberMemory", "getMemberRecordCounts", "getMemberRole", "getMemberRoleCleanupPlan", "getMemberRoleByUuid", "getMemberRoles", "getMemberSyncLinks", "getMemberSyncSummary", "getMemberUsage", "getMembersMessageActivity", "getMenuItems", "getMessageTiming", "getMondayConnectionBoardColumns", "getMondayConnectionBoardGroups", "getMondayConnectionBoards", "getMondayConnectionStatus", "getMondayReconciliationMatches", "getMondaySyncConfig", "getMyCredentials", "getMyGivenGrants", "getMyReceivedGrants", "getNotification", "getNotificationRules", "getNotifications", "getOperatorChatMessages", "getOperatorGroup", "getOperatorGroups", "getOrCreateQualificationForWorkflow", "getOwnedMembers", "getPage", "getPageBySlug", "getPersona", "getPhoneCalls", "getPhoneNumber", "getPhoneNumberCalls", "getPhoneNumberFaxes", "getPhoneNumberMessages", "getPhoneNumberVoicemails", "getPhoneNumbers", "getPhoneUsageReport", "getPlatformApp", "getPresenceStatus", "getProducts", "getPublicFile", "getPublicFolder", "getPublicFolderFiles", "getPublicProducts", "previewPromoCode", "getQualification", "getQualifications", "getRecordingInfo", "getResellerWorkspaces", "getRoutine", "getRoutineConfigEvents", "getRoutineRuns", "getRoutines", "getRuleExecutions", "getSMSUsageReport", "getSalesforceReconciliationMatches", "getSalesforceStatus", "getSalesforceSyncConfig", "getScenario", "getSite", "getSiteByUuid", "getSiteCounts", "getSiteMenu", "getSitePages", "getSiteRenderedMenu", "getSiteRenderedPage", "getSites", "getSlackApp", "getSlackAppAccounts", "getSlackApps", "getSlackInstallations", "getSlackThreads", "getStepMemberCounts", "getStepMembers", "getSupervisor", "getSupervisors", "getSyncRunItems", "getSyncRuns", "getTask", "getTaskChats", "getTasks", "getTeamsApp", "getTeamsAppAccounts", "getTeamsApps", "getTeamsConversations", "getTeamsInstallations", "getTemplateContext", "getTestChatRun", "getThreadEmails", "getTool", "getToolCallNames", "getToolkits", "getTrackedLinkDestinations", "getTrackedLinkStats", "getTrackedLinkSummary", "getTrackedLinkTimeseries", "getUnreadNotificationCount", "getUsageDashboard", "getVariableRegistry", "getVoiceToken", "getVoiceUsageReport", "getWebhookLogs", "getWorkflow", "getWorkflowAccessValidation", "getWorkflowActivity", "getWorkflowConfigValidation", "getWorkflowFeedback", "getWorkflowContributors", "getWorkflowDeletionPreview", "getWorkflowDiagram", "getWorkflowNotes", "getWorkflowRevision", "getWorkflowRevisions", "getWorkflowTaskAssignmentStats", "getWorkflowTemplates", "getWorkflowThumbnailUrl", "getWorkflows", "getWorkflowsActivityBatch", "getWorkspace", "getWorkspaceBuilder", "getWorkspaceBuilders", "getWorkspaceCounts", "getWorkspaceDefaults", "getWorkspaceEmailDomains", "getWorkspaceMember", "getWorkspaceMembers", "getWorkspaceNotices", "getWorkspaceProduct", "getWorkspaceSiteDomains", "getWorkspaceWidgetDomains", "getWorkspaceSubscriptions", "getWorkspaceSupportRequest", "getWorkspaceThemes", "importFromBoard", "importHubspotMembers", "importMembers", "importSalesforceMembers", "importWorkspace", "initiateCall", "initiateOutboundCall", "inspectPrompt", "installHubspot", "installDocumoFax", "installMondayConnection", "installSalesforce", "inviteMemberCredentialUpdate", "inviteToWorkspace", "leaveWorkspace", "linkCalendarToGoogle", "linkCalendarToHealthie", "linkMemberToHealthie", "linkMemberToHubspot", "linkMemberToMonday", "linkMemberToSalesforce", "linkPhoneNumber", "listAbilities", "listAppConnections", "listAvailableAppConnections", "listConfluencePages", "listConfluenceSpaces", "listConnectionMemberFieldKeys", "rollbackSiteSource", "rotateDocumoFaxCredentials", "runQuery", "sendMemberPhoneConfirmation", "setDefaultGooglePlatformAccount", "listFileVersions", "listGoogleCalendars", "listHealthieAppointmentTypes", "listHealthiePatients", "listHealthieProviders", "listPersonas", "listMetrics", "getMetric", "createMetric", "updateMetric", "deleteMetric", "listMetricObservations", "getMetricSeries", "computeChatMetrics", "listPushSubscriptions", "listSalesforceObjects", "listScenarios", "listTestChatRuns", "listWidgetDomains", "listWorkspaceInvitationsAdmin", "listWorkspaceSupportRequests", "markEmailAsRead", "markEmailAsUnread", "markNotificationAsRead", "mergeMemberRoles", "previewImportMembers", "previewImportWorkspace", "previewRoutineWorkflowAccess", "previewSchedule", "previewTTS", "previewTemplate", "previewThinkingSound", "previewWorkspaceImport", "provisionClientWorkspace", "publishWorkflowRevision", "rateMessage", "getChatFeedback", "reenrollMember", "registerLinkedRolesMetadata", "registerPushSubscription", "reindexFolder", "releasePhoneNumber", "removeFileRole", "removeFolderRole", "removeGroupMember", "reorderEventRules", "reorderMenuItems", "replyToEmail", "rotateDocumoFaxCredentials", "requestPhoneNumber", "requestWorkspaceMembership", "resetRoutineRuns", "resolveAccessGrant", "resolveAnonymousMember", "restoreFileVersion", "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", "testWebhook", "toggleFieldIndex", "unarchiveAgent", "unarchiveChat", "unarchiveDataType", "unarchiveMember", "unarchiveStep", "unarchiveTask", "unarchiveWorkflow", "unenrollMembers", "unlinkCalendarFromGoogle", "unlinkCalendarFromHealthie", "unlinkCredential", "unlinkMemberFromHealthie", "unlinkMemberFromHubspot", "unlinkMemberFromMonday", "unlinkMemberFromSalesforce", "unregisterPushSubscription", "updateAbility", "updateAgent", "updateAssignment", "updateCalendar", "updateCalendarEvent", "updateCalendarEventType", "updateCalendarSchedule", "updateChat", "updateChatFilter", "updateChatLabel", "updateChatModelOverride", "updateChatMute", "updateChatNeedsResponse", "updateClientWorkspace", "updateConnection", "updateConnectionSyncConfig", "updateCurrentMember", "updateCustomTool", "updateCustomToolkit", "updateDashboard", "updateDataRecord", "updateDataRecordFilter", "updateDataType", "updateDiscordBot", "updateEventAttendee", "updateEventRule", "updateExperiment", "updateExperimentAssignment", "updateExperimentGroup", "updateFhirConnection", "updateFile", "updateFileLabel", "updateFileRoles", "updateFileSharing", "updateFirstRunState", "updateFolder", "updateFolderRoles", "updateFolderSharing", "updateGoal", "updateInbox", "updateJourney", "updateJourneyNote", "updateMcpServer", "updateMember", "updateMemberField", "updateMemberFilter", "updateMemberLabel", "updateMemberRole", "updateMenuItem", "updateMondaySyncConfig", "updateNotificationRule", "updateOperatorGroup", "updatePage", "updatePersona", "updatePhoneNumber", "updatePlatformApp", "updateProduct", "updateRoutine", "updateSalesforceSyncConfig", "updateScenario", "updateSite", "updateSiteSharing", "updateSlackApp", "updateStep", "updateSupervisor", "updateTask", "updateTeamsApp", "updateThemeSettings", "updateTrackedLinkDestination", "uploadFile", "updateVoicemailStatus", "updateWorkflow", "updateWorkflowContributor", "updateWorkflowNote", "updateWorkflowRevisionMetadata", "updateWorkspace", "updateWorkspaceDefaults", "updateWorkspaceInvitationAdmin", "updateWorkspaceThemes", "upsertDataRecord", "upsertWidgetDomain", "validateCelExpression", "validateDataTypeSlug", "validateQuery", "validateWorkflowName", "verifyDocumoFax"];
17682
19658
  type WorkspaceMethodName = (typeof WORKSPACE_METHOD_NAMES)[number];
17683
19659
  type WorkspaceMethodKey = Extract<WorkspaceMethodName, keyof GravityRailClient>;
17684
19660
  type WorkspaceBoundMethod<T> = T extends (workspaceUuid: string, ...args: infer Args) => infer R ? (...args: Args) => R : never;
@@ -17817,9 +19793,15 @@ interface DashboardsBindings {
17817
19793
  deleteDashboard: DashboardsApi['deleteDashboard'];
17818
19794
  getDashboardChannelStats: DashboardsApi['getDashboardChannelStats'];
17819
19795
  getDashboardWorkflowAssignmentStats: DashboardsApi['getDashboardWorkflowAssignmentStats'];
19796
+ getConfigurationHealth: DashboardsApi['getConfigurationHealth'];
17820
19797
  }
17821
19798
  declare function bindDashboardsMethods(target: DashboardsBindings, dashboards: DashboardsApi): void;
17822
19799
 
19800
+ interface ActivityTimelineBindings {
19801
+ queryActivityTimeline: ActivityTimelineApi['queryActivityTimeline'];
19802
+ }
19803
+ declare function bindActivityTimelineMethods(target: ActivityTimelineBindings, activityTimeline: ActivityTimelineApi): void;
19804
+
17823
19805
  interface MotdBindings {
17824
19806
  getMotd: MotdApi['getMotd'];
17825
19807
  }
@@ -17905,6 +19887,8 @@ interface MembersBindings {
17905
19887
  createMemberRole: MembersApi['createMemberRole'];
17906
19888
  updateMemberRole: MembersApi['updateMemberRole'];
17907
19889
  deleteMemberRole: MembersApi['deleteMemberRole'];
19890
+ getMemberRoleCleanupPlan: MembersApi['getMemberRoleCleanupPlan'];
19891
+ mergeMemberRoles: MembersApi['mergeMemberRoles'];
17908
19892
  getMemberFields: MembersApi['getMemberFields'];
17909
19893
  getMemberFieldDefinitions: MembersApi['getMemberFieldDefinitions'];
17910
19894
  createMemberField: MembersApi['createMemberField'];
@@ -18164,6 +20148,7 @@ interface EventsBindings {
18164
20148
  updateRoutine: EventsApi['updateRoutine'];
18165
20149
  deleteRoutine: EventsApi['deleteRoutine'];
18166
20150
  runRoutine: EventsApi['runRoutine'];
20151
+ getRoutineConfigEvents: EventsApi['getRoutineConfigEvents'];
18167
20152
  getRoutineRuns: EventsApi['getRoutineRuns'];
18168
20153
  resetRoutineRuns: EventsApi['resetRoutineRuns'];
18169
20154
  previewSchedule: EventsApi['previewSchedule'];
@@ -18270,13 +20255,8 @@ interface CalendarsBindings {
18270
20255
  linkCalendarToGoogle: CalendarsApi['linkCalendarToGoogle'];
18271
20256
  unlinkCalendarFromGoogle: CalendarsApi['unlinkCalendarFromGoogle'];
18272
20257
  syncCalendarWithGoogle: CalendarsApi['syncCalendarWithGoogle'];
18273
- getMilestones: MilestonesApi['getMilestones'];
18274
- getMilestone: MilestonesApi['getMilestone'];
18275
- createMilestone: MilestonesApi['createMilestone'];
18276
- updateMilestone: MilestonesApi['updateMilestone'];
18277
- deleteMilestone: MilestonesApi['deleteMilestone'];
18278
20258
  }
18279
- declare function bindCalendarsMethods(target: CalendarsBindings, calendars: CalendarsApi, milestones: MilestonesApi): void;
20259
+ declare function bindCalendarsMethods(target: CalendarsBindings, calendars: CalendarsApi): void;
18280
20260
 
18281
20261
  interface CommunicationsBindings {
18282
20262
  getPhoneNumbers: PhoneNumbersApi['getPhoneNumbers'];
@@ -18631,6 +20611,11 @@ interface OrgBindings {
18631
20611
  updateBusinessProfile: OrgApi['updateBusinessProfile'];
18632
20612
  submitBusinessProfile: OrgApi['submitBusinessProfile'];
18633
20613
  cancelBusinessProfile: OrgApi['cancelBusinessProfile'];
20614
+ listLegalEntities: OrgApi['listLegalEntities'];
20615
+ getLegalEntity: OrgApi['getLegalEntity'];
20616
+ createLegalEntity: OrgApi['createLegalEntity'];
20617
+ getVoiceTrustProducts: OrgApi['getVoiceTrustProducts'];
20618
+ syncVoiceTrustProducts: OrgApi['syncVoiceTrustProducts'];
18634
20619
  createOrganizationWorkspace: OrgApi['createOrganizationWorkspace'];
18635
20620
  getOrgBillingCustomer: OrgApi['getOrgBillingCustomer'];
18636
20621
  }
@@ -18677,6 +20662,7 @@ interface JourneysBindings {
18677
20662
  reenrollMember: JourneysApi['reenrollMember'];
18678
20663
  deleteEnrollment: JourneysApi['deleteEnrollment'];
18679
20664
  getMemberJourneys: JourneysApi['getMemberJourneys'];
20665
+ getEnrollmentStatusLog: JourneysApi['getEnrollmentStatusLog'];
18680
20666
  getStepMembers: JourneysApi['getStepMembers'];
18681
20667
  getStepMemberCounts: JourneysApi['getStepMemberCounts'];
18682
20668
  advanceStep: JourneysApi['advanceStep'];
@@ -18715,6 +20701,18 @@ interface PersonasBindings {
18715
20701
  }
18716
20702
  declare function bindPersonasMethods(target: PersonasBindings, personas: PersonasApi): void;
18717
20703
 
20704
+ interface MetricsBindings {
20705
+ listMetrics: MetricsApi['listMetrics'];
20706
+ getMetric: MetricsApi['getMetric'];
20707
+ createMetric: MetricsApi['createMetric'];
20708
+ updateMetric: MetricsApi['updateMetric'];
20709
+ deleteMetric: MetricsApi['deleteMetric'];
20710
+ listMetricObservations: MetricsApi['listMetricObservations'];
20711
+ getMetricSeries: MetricsApi['getMetricSeries'];
20712
+ computeChatMetrics: MetricsApi['computeChatMetrics'];
20713
+ }
20714
+ declare function bindMetricsMethods(target: MetricsBindings, metrics: MetricsApi): void;
20715
+
18718
20716
  interface QueriesBindings {
18719
20717
  getQueryFields: QueriesApi['getQueryFields'];
18720
20718
  validateQuery: QueriesApi['validateQuery'];
@@ -18784,7 +20782,7 @@ declare function bindSupportRequestMethods(target: SupportRequestsBindings, supp
18784
20782
  * admin functionality (`ApiClient`) lives in the private `@gravity-rail/client`
18785
20783
  * package and extends this class.
18786
20784
  */
18787
- 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, DashboardsBindings, MotdBindings, TrackedLinksBindings, JourneysBindings, OperatorBindings, OrgBindings, AccessGrantsBindings, PromptsBindings, SupportRequestsBindings {
20785
+ 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, DashboardsBindings, ActivityTimelineBindings, MotdBindings, TrackedLinksBindings, JourneysBindings, OperatorBindings, OrgBindings, AccessGrantsBindings, PromptsBindings, SupportRequestsBindings {
18788
20786
  workspaceInvitations: WorkspaceInvitationsApi;
18789
20787
  protected apis: ApiModules;
18790
20788
  getTasks: TasksBindings['getTasks'];
@@ -18925,6 +20923,8 @@ declare class GravityRailClient implements TasksBindings, ChatsBindings, CallsBi
18925
20923
  createMemberRole: MembersBindings['createMemberRole'];
18926
20924
  updateMemberRole: MembersBindings['updateMemberRole'];
18927
20925
  deleteMemberRole: MembersBindings['deleteMemberRole'];
20926
+ getMemberRoleCleanupPlan: MembersBindings['getMemberRoleCleanupPlan'];
20927
+ mergeMemberRoles: MembersBindings['mergeMemberRoles'];
18928
20928
  getMemberFields: MembersBindings['getMemberFields'];
18929
20929
  getMemberFieldDefinitions: MembersBindings['getMemberFieldDefinitions'];
18930
20930
  createMemberField: MembersBindings['createMemberField'];
@@ -18975,6 +20975,14 @@ declare class GravityRailClient implements TasksBindings, ChatsBindings, CallsBi
18975
20975
  createPersona: PersonasBindings['createPersona'];
18976
20976
  updatePersona: PersonasBindings['updatePersona'];
18977
20977
  deletePersona: PersonasBindings['deletePersona'];
20978
+ listMetrics: MetricsBindings['listMetrics'];
20979
+ getMetric: MetricsBindings['getMetric'];
20980
+ createMetric: MetricsBindings['createMetric'];
20981
+ updateMetric: MetricsBindings['updateMetric'];
20982
+ deleteMetric: MetricsBindings['deleteMetric'];
20983
+ listMetricObservations: MetricsBindings['listMetricObservations'];
20984
+ getMetricSeries: MetricsBindings['getMetricSeries'];
20985
+ computeChatMetrics: MetricsBindings['computeChatMetrics'];
18978
20986
  getDashboards: DashboardsBindings['getDashboards'];
18979
20987
  getDashboard: DashboardsBindings['getDashboard'];
18980
20988
  createDashboard: DashboardsBindings['createDashboard'];
@@ -18982,6 +20990,8 @@ declare class GravityRailClient implements TasksBindings, ChatsBindings, CallsBi
18982
20990
  deleteDashboard: DashboardsBindings['deleteDashboard'];
18983
20991
  getDashboardChannelStats: DashboardsBindings['getDashboardChannelStats'];
18984
20992
  getDashboardWorkflowAssignmentStats: DashboardsBindings['getDashboardWorkflowAssignmentStats'];
20993
+ getConfigurationHealth: DashboardsBindings['getConfigurationHealth'];
20994
+ queryActivityTimeline: ActivityTimelineBindings['queryActivityTimeline'];
18985
20995
  getMotd: MotdBindings['getMotd'];
18986
20996
  getTrackedLinkSummary: TrackedLinksBindings['getTrackedLinkSummary'];
18987
20997
  getTrackedLinkDestinations: TrackedLinksBindings['getTrackedLinkDestinations'];
@@ -19014,6 +21024,7 @@ declare class GravityRailClient implements TasksBindings, ChatsBindings, CallsBi
19014
21024
  reenrollMember: JourneysBindings['reenrollMember'];
19015
21025
  deleteEnrollment: JourneysBindings['deleteEnrollment'];
19016
21026
  getMemberJourneys: JourneysBindings['getMemberJourneys'];
21027
+ getEnrollmentStatusLog: JourneysBindings['getEnrollmentStatusLog'];
19017
21028
  getStepMembers: JourneysBindings['getStepMembers'];
19018
21029
  getStepMemberCounts: JourneysBindings['getStepMemberCounts'];
19019
21030
  advanceStep: JourneysBindings['advanceStep'];
@@ -19126,6 +21137,11 @@ declare class GravityRailClient implements TasksBindings, ChatsBindings, CallsBi
19126
21137
  updateBusinessProfile: OrgBindings['updateBusinessProfile'];
19127
21138
  submitBusinessProfile: OrgBindings['submitBusinessProfile'];
19128
21139
  cancelBusinessProfile: OrgBindings['cancelBusinessProfile'];
21140
+ listLegalEntities: OrgBindings['listLegalEntities'];
21141
+ getLegalEntity: OrgBindings['getLegalEntity'];
21142
+ createLegalEntity: OrgBindings['createLegalEntity'];
21143
+ getVoiceTrustProducts: OrgBindings['getVoiceTrustProducts'];
21144
+ syncVoiceTrustProducts: OrgBindings['syncVoiceTrustProducts'];
19129
21145
  createOrganizationWorkspace: OrgBindings['createOrganizationWorkspace'];
19130
21146
  getOrgBillingCustomer: OrgBindings['getOrgBillingCustomer'];
19131
21147
  getVapidPublicKey: WorkspacesBindings['getVapidPublicKey'];
@@ -19299,6 +21315,7 @@ declare class GravityRailClient implements TasksBindings, ChatsBindings, CallsBi
19299
21315
  updateRoutine: EventsBindings['updateRoutine'];
19300
21316
  deleteRoutine: EventsBindings['deleteRoutine'];
19301
21317
  runRoutine: EventsBindings['runRoutine'];
21318
+ getRoutineConfigEvents: EventsBindings['getRoutineConfigEvents'];
19302
21319
  getRoutineRuns: EventsBindings['getRoutineRuns'];
19303
21320
  resetRoutineRuns: EventsBindings['resetRoutineRuns'];
19304
21321
  previewSchedule: EventsBindings['previewSchedule'];
@@ -19380,11 +21397,6 @@ declare class GravityRailClient implements TasksBindings, ChatsBindings, CallsBi
19380
21397
  linkCalendarToGoogle: CalendarsBindings['linkCalendarToGoogle'];
19381
21398
  unlinkCalendarFromGoogle: CalendarsBindings['unlinkCalendarFromGoogle'];
19382
21399
  syncCalendarWithGoogle: CalendarsBindings['syncCalendarWithGoogle'];
19383
- getMilestones: CalendarsBindings['getMilestones'];
19384
- getMilestone: CalendarsBindings['getMilestone'];
19385
- createMilestone: CalendarsBindings['createMilestone'];
19386
- updateMilestone: CalendarsBindings['updateMilestone'];
19387
- deleteMilestone: CalendarsBindings['deleteMilestone'];
19388
21400
  getPhoneNumbers: CommunicationsBindings['getPhoneNumbers'];
19389
21401
  getAvailablePhoneNumbers: CommunicationsBindings['getAvailablePhoneNumbers'];
19390
21402
  requestPhoneNumber: CommunicationsBindings['requestPhoneNumber'];
@@ -19795,4 +21807,4 @@ declare class GravityRailClient implements TasksBindings, ChatsBindings, CallsBi
19795
21807
  getActingMember(): string | undefined;
19796
21808
  }
19797
21809
 
19798
- export { type AppConnectionType as $, type Ability as A, type AcquisitionRequest as B, type ChatModelsResponse as C, type AcquisitionResponse as D, type ActivateA2PNumberResponse as E, type ActivateWorkflowRevisionRequest as F, type GravityRailWorkspaceClient as G, type AddGroupMemberRequest as H, type AdminBulkWorkflowAccessValidationResponse as I, type AdminChatResponse as J, type AdminChatDetailResponse as K, type AdminChatsOptions as L, type ModelMetadataResponse as M, type AdminPromoCodeResponse as N, type AdminWorkspaceAccessGapSummary as O, type AgentChatParticipant as P, type AgentExport as Q, type AllModelsResponse as R, ApiError as S, type ApiScope as T, type ApiValidationError as U, type App as V, type AppBuilder as W, type AppConnectionAccessInterrupt as X, type AppConnectionDirectoryEntry as Y, type AppConnectionDirectoryResponse as Z, type AppConnectionItem as _, type A2PBrandEnrollmentUrlResponse as a, type ChatLabelFormData as a$, type AppCredentialResponse as a0, type AppListResponse as a1, type AppResponse as a2, AppsApi as a3, type Assignment as a4, type AssignmentResponse as a5, type AssignmentStatusType as a6, type AssignmentTaskResponse as a7, type AssignmentsQueryParams as a8, type AudioMessageMetadata as a9, type CELValidationDiagnosticCode as aA, type CELValidationRequest as aB, type CELValidationResponse as aC, type CELVariable as aD, CHAT_TYPES as aE, type CalendarBookingAbilityConfig as aF, CapabilityClass as aG, type Channel as aH, type CharlestonPmdAbilityConfig as aI, type CharlestonPmdSimulationOutcome as aJ, type CharlestonTestDeliveryRecipientOption as aK, type ChatResponse as aL, type ChatAIModel as aM, type ChatActivityEvent as aN, type ChatCompletionError as aO, type ChatFeedback as aP, type ChatFeedbackResponse as aQ, type ChatFeedbackSource as aR, type ChatFilterResponse as aS, type ChatFilterFilterType as aT, type ChatFilterFormData as aU, type ChatFilterObjectType as aV, type ChatFilterRuleResponse as aW, type ChatFilterRuleFormData as aX, type ChatFormData as aY, type ChatInterruptResponse as aZ, type ChatLabelResponse as a_, type AudioPlaybackAbilityConfig as aa, type AudioPlaybackFileEntry as ab, type AuthorizeRequest as ac, type AuthorizeResponse as ad, type AvailableMemberRole as ae, BUILTIN_ASSISTANT_CHAT_TYPES as af, BaseApiClient as ag, type BillingPlanInfo as ah, type ResourceCounts as ai, type UsageInfo as aj, type BoardsResponse as ak, type BuildWorkspaceRequest as al, type BuildWorkspaceResponse as am, type BuilderResponse as an, type BuilderListResponse as ao, BuildersApi as ap, type BusinessHoursDay as aq, type BusinessProfile as ar, type BusinessProfileEvaluationStatus as as, type BusinessProfileResponse as at, type BusinessProfileStatus as au, CELApi as av, type CELContextRequest as aw, type CELContextResponse as ax, type CELFunction as ay, type CELValidationDiagnostic as az, type A2PCampaignConfigResponse as b, type CustomTool as b$, type ChatMessage as b0, type ChatMessageChunk as b1, type ChatMessageObject as b2, type ChatModelOverrideResponse as b3, type ChatModelResponse as b4, type ChatNoteFollowUpConfig as b5, type ChatNoteSyncConfig as b6, type ChatNoteSyncFilters as b7, type ChatNoteTriggerEvent as b8, type ChatParticipantResponse as b9, type CreateAppRequest as bA, type CreateAssignmentFormData as bB, type CreateBuilderRequest as bC, type CreateDiscordBotRequest as bD, type CreateFhirConnectionRequest as bE, type CreateInquiryRequest as bF, type CreateLegalEntityRequest as bG, type CreateMemberFieldRequest as bH, type CreateOperatorGroupRequest as bI, type CreateOrganizationInvitationFormData as bJ, type CreatePersonaRequest as bK, type CreatePhoneVoiceOutboundChatInput as bL, type CreateProductRequest as bM, type CreatePromoCodeRequest 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 CriterionResult as bX, type CriterionResultResponse as bY, CriterionType as bZ, type CurrentSmsChatResponse as b_, type ChatParticipantFormData as ba, type ChatState as bb, type ChatTokenUsageResponse as bc, type ChatType as bd, type CheckFhirPatientLinksRequest as be, type ChildTaskResponse as bf, type ChildTaskFormData as bg, type CleanupChatsResponse as bh, type ClientWorkspace as bi, type ColumnsResponse as bj, type CompareWithStripeResponse as bk, type ConfigureDocumoFaxRequest as bl, type ConfigurePatientSyncRequest as bm, type ConflictPolicy as bn, type ConflictPolicyMode as bo, type ConfluenceConnectionResponse as bp, type ConnectionMultiplicity as bq, type ConnectionSyncConfig as br, ConsentMethod as bs, type ContributorAbilityConfig as bt, type ContributorChatParticipant as bu, type ConversationControlAbilityConfig as bv, type ConversationHistoryAbilityConfig as bw, type ConvertedFileResponse as bx, type CreateAccessGrantRequest as by, type CreateAppConnectionRequest as bz, type A2PEnrollmentSiteCandidate as c, type FhirCsvImportRunItem as c$, type CustomToolExport as c0, type CustomToolFormData as c1, type CustomToolResponse as c2, type CustomToolUpdateFormData as c3, type CustomToolkit as c4, type CustomToolkitExport as c5, type CustomToolkitFormData as c6, type CustomToolkitResponse as c7, type CustomToolkitUpdateFormData as c8, type DataAccessAbilityConfig as c9, type EmailDomainConfigGetResponse as cA, type EmptyAbilityConfig as cB, type EncounterSyncDataTypeSummary as cC, type EncounterSyncHistoryItem as cD, type EncounterSyncRunResponse as cE, type EncounterSyncStatusResponse as cF, type EnhancedAuthHandler as cG, type EnrichInquiryRequest as cH, type EntitySyncConfig as cI, type EscalationAbilityConfig as cJ, type EventRuleExport as cK, type ExecuteToolResponse as cL, FeatureCategory as cM, type FeatureDefinition as cN, type FeatureStatusValue as cO, FeatureVisibility as cP, type FeaturesResponse as cQ, type FeedbackAuthorKind as cR, FhirClientType as cS, type FhirConnection as cT, type FhirConnectionResponse as cU, type FhirConnectionSortField as cV, FhirConnectionState as cW, type FhirCreateEncounterRequest as cX, type FhirCsvColumnMeta as cY, type FhirCsvIdentifierKind as cZ, type FhirCsvImportRowStatus as c_, type DataAccessGrantInterrupt as ca, type DataTypeExport as cb, type DayAggregatedData as cc, type DayCallAggregatedData as cd, type DiscordBot as ce, type DiscordBotAccount as cf, type DiscordBotResponse as cg, type DiscordBotSortField as ch, type DiscordGuild as ci, type DiscordRespondMode as cj, type DiscordThread as ck, type DisplayFileLabelResponse as cl, type DisplayFileResponse as cm, type DocumoFaxConnectionResponse as cn, type DocumoFaxIngestionStats as co, type DocumoFaxSetupResponse as cp, type DocumoFaxStatusResponse as cq, type DomainMapping as cr, DriverMode as cs, type EditRevisionAsDraftRequest as ct, type EmailResponse as cu, type EmailAttachmentResponse as cv, type ConvertedEmailResponse as cw, type EmailDisableResponse as cx, type EmailDnsRecord as cy, type EmailDomainConfig as cz, type A2PEnrollmentSiteCandidatesResponse as d, type VoiceModelResponse$1 as d$, type FhirCsvImportRunStatus as d0, type FhirCsvImportRunSummary as d1, type FhirCsvImportSettings as d2, type FhirCsvInspectResponse as d3, type FhirFetchCareTeamRequest as d4, type FhirFetchEncountersRequest as d5, type FhirMethodResponse as d6, type FhirPatientLinkCheckResponse as d7, type FhirSearchLocationsRequest as d8, type FhirSearchPatientsRequest as d9, type FirstRunMode as dA, type FirstRunState as dB, type FolderAccessEntry as dC, type FolderMemberAccessResponse as dD, type FolderMemberRoleRelation as dE, type FolderPathSegment as dF, type FolderSearchParams as dG, type FolderSearchResultResponse as dH, type FolderSharingResponse as dI, type ForwardingNumberDef as dJ, type FunctionTool as dK, type GenerateSummariesResponse as dL, type AccessGrantResponse$1 as dM, type AppListResponse$1 as dN, type AssignmentResponse$1 as dO, type CustomToolResponse$1 as dP, type CustomToolkitResponse$1 as dQ, type DiscordBotResponse$1 as dR, type FhirConnectionResponse$1 as dS, type FileResponse$1 as dT, type FileSharingResponse$1 as dU, type FolderSharingResponse$1 as dV, type InvitationListResponse$1 as dW, type MilestoneGoalResponse$1 as dX, type SiteResponse$1 as dY, type SlackAppResponse$1 as dZ, type TaskResponse$1 as d_, type FhirSearchPractitionersRequest as da, FhirVendor as db, type File$1 as dc, type FileAccessAbilityConfig as dd, type FileAccessEntry as de, type FileAssociationFormData as df, type FileExport as dg, type FileExportItem as dh, type FileFolderResponse as di, type FileFolderExport as dj, type FileFolderFormData as dk, type FileFolderRelation as dl, type FileFormData as dm, type FileLabelResponse as dn, type FileLabelExport as dp, type FileLabelFormData as dq, type FileLabelRelation as dr, type FileResponse as ds, type FileRoleAssociationResponse as dt, type FileSharingResponse as du, type FileUploadRequest as dv, type FileUploadResponse as dw, type FileWithAccessMode as dx, type FileWithAccessModeFormData as dy, type FilesQueryParams as dz, AGENT_NOTE_ORIGINS as e, type InquiryType as e$, type WorkflowRevisionResponse as e0, type WorkflowResponse$1 as e1, type GetChatsOptions as e2, type GetWorkflowFeedbackOptions as e3, type GmailAbilityConfig as e4, type GoogleCalendarAbilityConfig as e5, type GoogleDriveAbilityConfig as e6, type GoogleSheetsAbilityConfig as e7, type GoogleWorkspaceAccessMode as e8, type GoogleWorkspaceIntegrationAbilityConfig as e9, type ImportHubSpotMembersRequest as eA, type ImportHubSpotMembersResponse as eB, type ImportHubSpotRecordRequest as eC, type ImportPreviewItem as eD, type ImportSalesforceMembersRequest as eE, type ImportSalesforceMembersResponse as eF, type ImportSalesforceRecordRequest as eG, type ImportedMemberResult as eH, type ImportedSalesforceMemberResult as eI, type InboundFaxLogEntry as eJ, InboundFaxStatus as eK, type Inbox as eL, type InboxCreateRequest as eM, type InboxExport as eN, type InboxMapping as eO, type InboxMappingResponse as eP, type InboxThreadResponse as eQ, type InboxThreadsPageResponse as eR, type InboxUpdateRequest as eS, type IncomingInteraction as eT, type InitiateCallRequest as eU, type InitiateCallResponse as eV, type InlineConnectInterrupt as eW, type InquiryResponse as eX, type InquiryListResponse as eY, type InquirySource as eZ, type InquiryStatus as e_, GravityRailClient as ea, type GreetingChannelKey as eb, type GreetingEntry as ec, type GroupsResponse as ed, type HITLActionRequest as ee, type HITLDecision as ef, type HITLRequest as eg, type HITLResponse as eh, type HITLReviewConfig as ei, type HealthieConnectionResponse as ej, type HubSpotNoteSyncConfig as ek, type HubSpotPropertyDefinition as el, type HubSpotPropertyOption as em, type HubSpotSearchRequest as en, type HubSpotSearchResponse as eo, type HubSpotSearchResult as ep, type HubSpotSearchResultMatch as eq, type HubSpotSyncSettingsRequest as er, type HubSpotSyncSettingsResponse as es, type HubSpotTaskPriority as et, type HubSpotTaskStatus as eu, type HubSpotTaskSyncConfig as ev, type HubspotConnectionResponse as ew, type HumanChatParticipant as ex, type ImageGenerationAbilityConfig as ey, type ImageUrlContent as ez, type AIUsageReport as f, type MilestoneAnalytics as f$, type InteractionAccepted as f0, type InteractionTimedOut as f1, type Invitation as f2, type InvitationAcceptedResponse as f3, type InvitationDetails as f4, type InvitationListResponse as f5, type InvitationResponse as f6, InvitationStatus as f7, type JsonSchema as f8, type JsonSchemaProperty as f9, type McpServerToolResponse as fA, type McpServerToolsResponse as fB, type McpServerUpdateFormData as fC, type McpTestConnectionResponse as fD, type McpToolResponse as fE, MemberFeature as fF, type MemberFieldVerificationAbilityConfig as fG, type MemberFilterExport as fH, MemberImportValidationError as fI, type MemberLabelExport as fJ, type MemberRoleDataTypeRelation as fK, type MemberRoleExport as fL, type MemberRoleInboxRelation as fM, type MemberRoleSiteRelation as fN, type MemberRoleTaskRelation as fO, type MenuItemResponse as fP, type MenuItemExport as fQ, type MenuItemFormData as fR, MenuItemResponseItemType as fS, type MenuTreeResponse as fT, type MessageAudience as fU, type MessageContentPart as fV, type MessageOrigin as fW, type MessageRole as fX, type MessageTimingResponse as fY, type MessageTokenUsageResponse as fZ, type MilestoneResponse as f_, type LegalEntityListResponse as fa, type LegalEntitySummary as fb, type LinkA2PEnrollmentSiteRequest as fc, type LinkablePhone as fd, type ListInvitationsParams as fe, type LiveOperatorEntry as ff, type LiveOperatorsResponse as fg, type LoadedSkill as fh, type ManagedAutomationConfig as fi, type ManagedAutomationPriority as fj, type ManagedAutomationStatus as fk, type ManagedRuleStatus as fl, type ManagerSkillSummary as fm, type ManagerSkillsResponse as fn, type MatchStrategy as fo, type MatchStrategyMode as fp, type McpPromptArgumentResponse as fq, type McpPromptResponse as fr, type McpResourceResponse as fs, type McpServerResponse as ft, type McpServerAuthRequired as fu, type McpServerExport as fv, type McpServerFormData as fw, type McpServerPromptsResponse as fx, type McpServerResourcesResponse as fy, McpServerState as fz, type AIUsageReportParams as g, type OutboundCallAnalyticsSortKey as g$, type MilestoneCreateRequest as g0, type MilestoneDeleteResponse as g1, type MilestoneExport as g2, type MilestoneFormData as g3, type MilestoneGoal as g4, type MilestoneGoalExport as g5, type MilestoneGoalFormData as g6, type MilestoneGoalProgress as g7, type MilestoneGoalResponse as g8, type MilestoneProgress as g9, type OAuthProviderSlug as gA, ORG_ONLY_RESOURCES as gB, type OperatorChildTaskDetail as gC, type OperatorGroup as gD, type OperatorGroupMemberResponse as gE, type OperatorGroupMemberInput as gF, type OperatorGroupResponse as gG, type OperatorLiveStatus as gH, type OperatorTaskDetailResponse as gI, type OrgA2PBrandDetail as gJ, type OrgA2PBrandListResponse as gK, type OrgA2PBrandSummary as gL, type OrgAccessDeniedData as gM, OrgApi as gN, type OrgAuthHandler as gO, type OrgAuthInfo as gP, type OrgDomain as gQ, type OrgDomainCapabilityStatus as gR, type OrgDomainDnsRecordStatus as gS, type OrgDomainListResponse as gT, type OrgDomainOwnershipStatus as gU, type OrgDomainResponse as gV, OrgFeature as gW, type OrganizationInvitationListResponse as gX, type OutboundCallAnalyticsFilterOptions as gY, type OutboundCallAnalyticsFilters as gZ, type OutboundCallAnalyticsRowResponse as g_, type MilestoneTimeline as ga, type MilestoneTimelineItem as gb, type MilestoneUpdateRequest as gc, type MilestonesQueryParams as gd, ModelProvider as ge, type ModelState as gf, ModelType as gg, type ModelUsageResponse as gh, type ModelUsageStats as gi, type MondayBoard as gj, type MondayColumn as gk, type MondayColumnSettings as gl, type MondayConnectionResponse as gm, type CurrentUserInfoResponse as gn, type MondayGroup as go, type MondayStatusLabel as gp, NO_ASSISTANT_PARTICIPANT_CHAT_TYPES as gq, type Notice as gr, type NoticesResponse as gs, type NotificationResponse as gt, type NotificationRule as gu, type NotificationRuleCreate as gv, type NotificationRuleResponse as gw, type NotificationRuleUpdate as gx, type OAuthAuthorizeResponse as gy, type OAuthConnectionStatus as gz, AbilityTypeResponseAttachmentScopesItem as h, type ProvisionA2PEnrollmentSiteRequest as h$, type OutboundCallAnalyticsSummary as h0, type OutboundCallRequest as h1, type OutboundCallResponse as h2, type OwnershipDnsRecord as h3, POSITIVE_RATING_THRESHOLD as h4, type PageResponse as h5, type PageExport as h6, type PageFormData as h7, type PagesQueryParams as h8, type PaginatedResponseInboundFaxLogEntry as h9, type PresenceHeartbeatMessage as hA, type PresenceLoginAck as hB, type PresenceLoginMessage as hC, type PresenceRejectInteractionMessage as hD, type PresenceServerMessage as hE, type PresenceStatusResponse as hF, type PresenceTakenOverAckMessage as hG, type Product as hH, type ProductFeature as hI, type ProductFeatureKey as hJ, type ProductImage as hK, type ProductLimits as hL, type ProductLink as hM, type ProductMetadata as hN, type LocalPlanData as hO, type ProductPlans as hP, ProductType as hQ, type PromoCodePreviewRequest as hR, type PromoCodeRedeemRequest as hS, type PromoCodeRedemptionResponse as hT, type PromoCodeResult as hU, PromoCodeStatus as hV, type PronunciationEntryResponse as hW, type PronunciationImportEntry as hX, type PronunciationImportResult as hY, type ProviderPhoneNumberResponse as hZ, type ProviderUsageSummary as h_, type PaginatedSubscriptionsResponse as ha, type PatientSyncConnectionStatus as hb, type Persona as hc, type PersonaResponse as hd, type PhoneAggregatedData as he, type PhoneBillingPricing as hf, type PhoneCallResponse as hg, type PhoneCallAggregatedData as hh, type PhoneCallToolsAbilityConfig as hi, type PhoneNumberResponse as hj, type PhoneNumberExport as hk, type PhoneNumberFormData as hl, type PhoneUsageReport as hm, type PhoneUsageReportParams as hn, type PhoneUsageRow as ho, type PlanComparisonResult as hp, type PlanConfig as hq, type PlatformAppConnectionResponse as hr, type PlatformUsageData as hs, type PresenceAcceptInteractionMessage as ht, type PresenceClientMessage as hu, type PresenceConfirmation as hv, type PresenceEndInteractionMessage as hw, type PresenceError as hx, type PresenceGoLiveMessage as hy, type PresenceGoOfflineMessage as hz, type AbilityConfig as i, type SalesforceSearchResultMatch as i$, type PublicFileMetadata as i0, type PublicFolderContents as i1, type PublicOrganizationConfig as i2, type PublicSSOConfig as i3, type PublicWorkspaceResponse as i4, type PublishWorkflowRevisionRequest as i5, type QualificationResponse as i6, type QualificationExport as i7, QueriesApi as i8, REALTIME_MODEL_CUSTOM as i9, type RuleExecutionStatus as iA, type SMSDeliveryFailureStatus as iB, type SMSDeliveryStatus as iC, type SMSMessageResponse as iD, type SMSMessageDef as iE, type SMSUsageReport as iF, type SMSUsageReportParams as iG, type SMSUsageRow as iH, SMS_DELIVERY_FAILURE_STATUSES as iI, type STTAIModel as iJ, type STTCapabilitiesResponse as iK, type STTModelResponse as iL, type STTModelsResponse as iM, type STTProviderSummary as iN, type STTUsageRow as iO, STT_MODEL_DEEPGRAM_FLUX as iP, STT_MODEL_DEEPGRAM_FLUX_MULTI as iQ, STT_MODEL_ELEVENLABS_SCRIBE as iR, type SalesforceConnectionResponse as iS, type SalesforceDataRecordObjectMapping as iT, type SalesforceLabelSyncMode as iU, type SalesforceRelatedObject as iV, type SalesforceRelatedObjectLookupTarget as iW, type SalesforceSearchObjectType as iX, type SalesforceSearchRequest as iY, type SalesforceSearchResponse as iZ, type SalesforceSearchResult as i_, REALTIME_MODEL_GEMINI as ia, REALTIME_MODEL_GEMINI_VERTEX as ib, REALTIME_MODEL_NOVA_SONIC as ic, REALTIME_MODEL_OPENAI as id, REALTIME_MODEL_OPENAI_2 as ie, REALTIME_MODEL_OPENAI_MINI as ig, type RealtimeAIModel as ih, type RealtimeChatError as ii, type RealtimeModelResponse as ij, type RecommendedVoiceResponse as ik, type RecordingInfoResponse as il, type RegistryVariable as im, type RenderedPageResponse as io, type ReorderMenuItemsData as ip, type ResellerAbilityConfig as iq, type ResolveGrantRequest as ir, type ResolvedA2PCampaignConfig as is, Resource as it, type ResourceOverage as iu, type RevokeGrantRequest as iv, type RoleAssociationEntry as iw, type RoutineExport as ix, type RoutingStrategy as iy, type RuleExecutionResponse as iz, type AbilityConfigIssue as j, type StripePriceData as j$, type SalesforceSyncConfig as j0, type SalesforceSyncConfigResponse as j1, type SalesforceSyncSettings as j2, type Scenario as j3, type ScenarioCriterion as j4, type ScenarioCriterionExport as j5, type ScenarioCriterionResponse as j6, type ScenarioDataRecord as j7, type ScenarioExport as j8, type ScenarioResponse as j9, type SiteSourceRelease as jA, type SiteSourceTemplateOption as jB, type SiteSourceTemplates as jC, type SkillsResponse as jD, type SkillsState as jE, type SlackAccount as jF, type SlackApp as jG, type SlackAppInstallation as jH, type SlackAppResponse as jI, type SlackAppSortField as jJ, type SlackRespondMode as jK, type SlackSlashCommandConfigResponse as jL, type SlackThread as jM, type SlashCommandConfigResponse as jN, type SnippetExport as jO, type SpamScore as jP, type StartA2PRegistrationResponse as jQ, type StartTestChatRunRequest as jR, type StartTestChatRunResponse as jS, type StripeAddress$1 as jT, type StripeCardDetails as jU, type StripeComparisonResult as jV, type StripeCustomerResponse as jW, type StripeCustomerCreateRequest as jX, type StripeCustomerUpdateRequest as jY, type StripePaymentMethod as jZ, type StripePlanDetail as j_, type ScheduledCallbackResponse as ja, type ScheduledCallbackListResponse as jb, type ScopesListResponse as jc, type SendSMSAbilityConfig as jd, type SendWhatsAppAbilityConfig as je, type SessionTakeover as jf, type SetupStep as jg, type SetupVoiceTrustProductRequest as jh, type SharingGrantEntry as ji, type Site as jj, type SiteCountsResponse as jk, type SiteDisableResponse as jl, type SiteDnsRecord as jm, type SiteDomainConfig as jn, type SiteDomainConfigGetResponse as jo, type SiteExport as jp, type SiteFormData as jq, type SiteMapping as jr, type SiteMappingFormData as js, type SiteResponse as jt, type SiteSharingResponse as ju, type SiteSignupResponse as jv, type SiteSlugAvailability as jw, type SiteSource as jx, type SiteSourceBuild as jy, type SiteSourcePublishResponse as jz, AbilityConfigIssueCode as k, type TemplateContextRequest as k$, type StripeProductData as k0, type StripeShipping$1 as k1, type StripeSubscriptionCreateRequest as k2, type StripeSubscriptionUpdateRequest as k3, type StripeTax as k4, type StripeUSBankAccountDetails as k5, type Subscription as k6, type SubscriptionUpdateRequest as k7, type SupervisorAbilityConfig as k8, type SupervisorActionsAbilityConfig as k9, TTS_MODEL_DEEPGRAM_AURA_2 as kA, TTS_MODEL_ELEVENLABS_FLASH as kB, TTS_MODEL_ELEVENLABS_MULTILINGUAL as kC, TTS_MODEL_ELEVENLABS_TURBO as kD, type Task as kE, type TaskAssignmentStatsResponse as kF, type TaskChatResponse as kG, type TaskChatsListResponse as kH, type TaskChildRelation as kI, type TaskDataTypeRelation as kJ, type TaskEventRuleRelation as kK, type TaskExport as kL, type TaskExportChildRelation as kM, type TaskExportFileRelation as kN, type TaskFileRelation as kO, type TaskFormData as kP, type TaskResponse as kQ, type TasksQueryParams as kR, type TeamsAccountResponse as kS, type TeamsAppResponse as kT, type TeamsAppInstallationResponse as kU, type TeamsAppSortField as kV, type TeamsCommandConfigResponse as kW, type TeamsConversation as kX, type TeamsConversationResponse as kY, type TeamsConversationType as kZ, type TeamsRespondMode as k_, type SupervisorChatParticipant as ka, type SupervisorFormData as kb, SupervisorsApi as kc, type SyncCapabilities as kd, type SyncCapabilitiesResponse as ke, type SyncCheckpoint as kf, type SyncEntityType as kg, type SyncLogEntry as kh, type SyncLogsResponse as ki, type SyncProductToStripeRequest as kj, type SyncProductToStripeResponse as kk, type SyncRule as kl, type SyncRuleInbound as km, type SyncRuleInboundTargetType as kn, type SyncRuleOutbound as ko, type SyncRunMode as kp, type SyncRunRequest as kq, type SyncRunResponse as kr, type SyncVoiceTrustProductsResponse as ks, type TTSAIModel as kt, type TTSModelResponse as ku, type TTSPreviewRequest as kv, type TTSProviderSummary as kw, type TTSUsageRow as kx, TTS_MODEL_AWS_POLLY_GENERATIVE as ky, TTS_MODEL_AWS_POLLY_NEURAL as kz, AbilityConfigIssueSeverity as l, type UpdateFhirCsvImportSettingsRequest as l$, type TemplateContextResponse as l0, type TemplatePreviewRequest as l1, type TemplatePreviewResponse as l2, type TemplateVariable as l3, TemplatesApi as l4, type TestChatRun as l5, type TestChatRunResponse as l6, type TestConnectionResponse as l7, type TextContent as l8, type ThemeResponse as l9, type TrackedLinkGranularity as lA, type TrackedLinkPurgeResponse as lB, type TrackedLinkSortField as lC, type TrackedLinkStatsParams as lD, type TrackedLinkStatsResponse as lE, type TrackedLinkSummaryResponse as lF, type TrackedLinkTimeseriesParams as lG, type TrackedLinkTimeseriesPoint as lH, type TrackedLinkTimeseriesResponse as lI, type TransformPreset as lJ, type TriggerConnectionBackfillRequest as lK, type TriggerPatientRefreshRequest as lL, type TruncationReason as lM, type UIChoiceDecision as lN, type UnauthorizedSiteResponse as lO, type UnmappedPhoneNumber as lP, type UnthreadedEmailResponse as lQ, type UpdateA2PCampaignConfigRequest as lR, type UpdateAppConnectionRequest as lS, type UpdateAppRequest as lT, type UpdateAssignmentFormData as lU, type UpdateBuilderRequest as lV, type UpdateBusinessProfileRequest as lW, type UpdateChatModelOverrideRequest as lX, type UpdateDiscordBotRequest as lY, type UpdateEncounterSyncRequest as lZ, type UpdateFhirConnectionRequest as l_, type ThemeFeatures as la, ThemeFeaturesDarkMode as lb, type ThemeName as lc, type ThemeSettingField as ld, ThemeSettingFieldType as le, type ThemeSettingsResponse as lf, type ThemesListResponse as lg, type ThinkingSoundPreviewRequest as lh, type TipTapDocumentOutput as li, type TodoItemResponse as lj, type TodoStatus as lk, type TodosResponse as ll, type Tool as lm, type ToolCall as ln, type ToolCallFunction as lo, type ToolInputSchema as lp, type ToolResponse as lq, type ToolResult as lr, type ToolType as ls, type Toolkit as lt, type ToolkitConnection as lu, type ToolkitsAbilityConfig as lv, type ToolkitsResponse as lw, type ToolsResponse as lx, type TrackedLinkDestinationResponse as ly, type TrackedLinkFilterParams as lz, type AbilityRequirementResponse as m, type WorkflowRevisionDiffAbilities as m$, type UpdateFileRoleAssociationsRequest as m0, type UpdateFileSharingRequest as m1, type UpdateInquiryRequest as m2, type UpdateInvitationFormData as m3, type UpdateMemberFieldRequest as m4, type UpdateOperatorGroupRequest as m5, type UpdatePersonaRequest as m6, type UpdatePromoCodeRequest as m7, type UpdatePronunciationEntryFormData as m8, type UpdateSalesforceSyncConfigRequest as m9, type WidgetDomainListResponse as mA, type WidgetDomainResponse as mB, type WidgetDomainUpsertRequest as mC, type WidgetEmbedPolicyResponse as mD, type Workflow as mE, type WorkflowAccessGapSummary as mF, type WorkflowAccessValidationResponse as mG, type WorkflowAccessWarning as mH, WorkflowAccessWarningResourceType as mI, type WorkflowActivity as mJ, type WorkflowConfigValidationResponse as mK, type WorkflowContributorResponse as mL, type WorkflowDetail as mM, type WorkflowExport as mN, type WorkflowFeedbackListResponse as mO, type WorkflowFeedbackSummary as mP, type WorkflowFormData as mQ, type WorkflowGreetingEntries as mR, type WorkflowListItem as mS, type WorkflowListItemResponse as mT, type WorkflowListPageResponse as mU, type WorkflowMemberRoleAccessInput as mV, type WorkflowNoteResponse as mW, type WorkflowNoteExport as mX, type WorkflowNoteFormData as mY, type WorkflowResponse as mZ, type WorkflowRevision as m_, type UpdateScenarioRequest as ma, type UpdateSlackAppRequest as mb, type UpdateTeamsAppRequest as mc, type UpdateThemeSettingsRequest as md, type UpdateWorkflowContributorRequest as me, type UpdateWorkflowRevisionMetadataRequest as mf, type UploadFileData as mg, type UploadFileRequest as mh, type UsageDashboardResponse as mi, type UsageDiscrepancy as mj, type VariableRegistryRequest as mk, type VariableRegistryResponse as ml, type VoiceModel as mm, type VoiceModelResponse as mn, type VoiceUsageResponse as mo, type VoiceModelsResponse as mp, type VoicePresetResponse as mq, type VoicePresetsResponse as mr, type VoiceTokenResponse as ms, type VoiceTrustProductKey as mt, type VoiceTrustProductState as mu, type VoiceTrustProductsResponse as mv, type VoiceUsageReport as mw, type VoiceUsageReportParams as mx, type WebSearchAbilityConfig as my, type WebhookLogResponse as mz, AbilityRequirementResponseKind as n, parseOrgAuthChallenge as n$, type WorkflowRevisionDiffEdges as n0, type WorkflowRevisionDiffEventRules as n1, type WorkflowRevisionDiffFieldChange as n2, type WorkflowRevisionDiffResponse as n3, type WorkflowRevisionDiffSide as n4, type WorkflowRevisionDiffTaskChange as n5, type WorkflowRevisionDiffTasks as n6, type WorkflowRevisionListResponse as n7, type WorkflowRevisionState as n8, type WorkflowRevisionSummary as n9, type WorkspaceImportMapping as nA, type WorkspaceImportPreviewResponse as nB, type WorkspaceImportRequest as nC, type WorkspaceImportValidation as nD, type WorkspaceJoinRequest as nE, type WorkspaceJoinResponse as nF, WorkspaceProvisionStatus as nG, type WorkspaceScope as nH, type WorkspaceScopesResponse as nI, type WorkspaceStatsResponse as nJ, areDependenciesSatisfied as nK, clearRegistry as nL, createWorkspaceClient as nM, getAllFeatures as nN, getAvailableFeaturesForUpgrade as nO, getCookieValue as nP, getFeature as nQ, getFeaturesByCategory as nR, getFeaturesByVisibility as nS, getMissingDependencies as nT, initializeFeatures as nU, isAgentNoteOrigin as nV, isChatType as nW, isFeatureAvailable as nX, isPositiveRating as nY, isRegistryInitialized as nZ, isSMSDeliveryFailureStatus as n_, type WorkflowRevisionSummaryResponse as na, type WorkflowRouteDryRunCandidate as nb, type WorkflowRouteDryRunResponse as nc, type WorkflowRunAbilityConfig as nd, type WorkflowStartAutomationResponse as ne, type WorkflowTemplateResponse as nf, type WorkspaceResponse as ng, type WorkspaceAccessDeniedData as nh, type WorkspaceAutoMapEntities as ni, type WorkspaceAvailableDomain as nj, type WorkspaceAvailableDomainsResponse as nk, type WorkspaceBuildPreview as nl, type WorkspaceBuilderExportData as nm, type WorkspaceBuilderInfo as nn, type WorkspaceBuilderListResponse as no, type WorkspaceBuilderTaskExport as np, type WorkspaceBuilderWorkflowExport as nq, type WorkspaceCountsResponse as nr, type WorkspaceCreateNewEntities as ns, type WorkspaceSettingsResponse as nt, type WorkspaceDefaultsFormData as nu, type WorkspaceExportData as nv, WorkspaceFeature as nw, type WorkspaceFeatureInfo as nx, type WorkspaceFormData as ny, type WorkspaceGrantReason as nz, type AbilityResponse as o, type CallRecordingDownloadUrlResponse as o$, requiresAssistantParticipant as o0, usesBuiltinAssistant as o1, validateFeatureDependencies as o2, type LibModelsGlbResponsesTemporalAdminResponsesWorkflowDetailResponse as o3, type WorkflowExecutionSummary as o4, type WorkflowHistorySummary as o5, PhiPostureReasonCode as o6, PhiPostureDecision as o7, PhiDataPolicy as o8, type A2PStatus as o9, type AssignmentSource as oA, type AssignmentSummary as oB, AssignmentsApi as oC, type AttachPaymentMethodRequest as oD, type AttachSupportRequestResourceRequest as oE, type AudioChunkMetadata as oF, type AudioDownloadUrlResponse as oG, AuthApi as oH, type AuthBindings as oI, type AvailableDayResponse as oJ, type AvailablePhoneNumberResponse as oK, type BillingBindings as oL, type BillingPeriodResponse as oM, type BookAppointmentRequest as oN, type BookOfBusinessAcquisitionDistribution as oO, type BookOfBusinessActiveSubscription as oP, type BookOfBusinessOrganization as oQ, type BookOfBusinessPlanDistribution as oR, type BookOfBusinessProduct as oS, type BookOfBusinessResponse as oT, type BookOfBusinessSummary as oU, type BookingResultResponse as oV, type BulkLinkHubspotRequest as oW, type BulkLinkMondayRequest as oX, type BulkLinkSalesforceRequest as oY, CalendarsApi as oZ, type CalendarsBindings as o_, AIModelsApi as oa, type AIUsageTypeSummary as ob, AbilitiesApi as oc, AccessGrantsApi as od, type AccessGrantsBindings as oe, type AdminCustomer as of, type AdminInboxMappingRequest as og, type AdminSiteMappingResponse as oh, type AdminUpdateCustomerRequest as oi, type AdminUpdateProductRequest as oj, type AdminWorkspaceResponse as ok, type AdminWorkspaceFormData as ol, type AdvanceStepFormData as om, type AgentTaskMessageResponse as on, type AgentTaskMode as oo, type AgentTaskResponse as op, type AgentTaskStatus as oq, AgentTasksApi as or, type AgentTasksBindings as os, AgentsApi as ot, type AgentsBindings as ou, ApiKeysApi as ov, type ApiModules as ow, AppConnectionsApi as ox, type AppsBindings as oy, type ArchiveBlockersResponse as oz, type AbilityTypeResponse as p, type ExperimentGroup as p$, CallsApi as p0, type CallsBindings as p1, type CancelAgentTaskResponse as p2, type ChannelPhoneNumberStat as p3, type ChannelStatItem as p4, type ChannelStatsResponse as p5, type ChatEmailsResponse as p6, type ChatSummary as p7, ChatsApi as p8, type ChatsBindings as p9, CustomToolkitsApi as pA, type Customer as pB, type CustomerAccount as pC, type CustomerAccountRole as pD, type CustomerClassification as pE, type CustomerResponse as pF, CustomersApi as pG, type CustomersBindings as pH, type DashboardResponse as pI, type DashboardWidgetResponse as pJ, type DashboardWidgetSpec as pK, DashboardsApi as pL, type DashboardsBindings as pM, DataTypesApi as pN, type DataTypesBindings as pO, type DirectSubscriptionCreateRequest as pP, DiscordBotsApi as pQ, type DistributionBucket as pR, DocumoFaxApi as pS, type DurationStats as pT, type EnrollMemberFormData as pU, EventsApi as pV, type EventsBindings as pW, type Experiment as pX, type ExperimentAssignmentCreateData as pY, type ExperimentAssignmentUpdateData as pZ, type ExperimentFormData as p_, type CheckoutSessionOptions as pa, type CloseSupportRequestRequest as pb, type CommunicationsBindings as pc, type ConfigureConfluenceRequest as pd, type ConfigureHealthieRequest as pe, type ConfigureHubspotRequest as pf, type ConfigureSalesforceRequest as pg, ConfluenceApi as ph, type ConfluenceConnectionStatus as pi, type ConfluencePagesResponse as pj, type ConfluenceSpacesResponse as pk, ConnectionSyncApi as pl, type CreateCustomerRequest as pm, type CreateDashboardRequest as pn, type CreateOutboundSupportRequestRequest as po, type CreateResellerRequest as pp, type CreateSupportRequestCommentRequest as pq, type CreateSupportRequestNoteRequest as pr, type CreateSupportRequestRequest as ps, type CreateTrackedLinkDestinationRequest as pt, type CreditBalance as pu, type CreditGrant as pv, type CreditGrantListResponse as pw, type CreditGrantStatus as px, type CreditGrantSummary as py, type CreditGrantType as pz, type AbilityTypeSlug as q, type JourneyStepAuthoringResponse as q$, type ExperimentGroupFormData as q0, type ExperimentGroupStats as q1, type ExperimentGroupUpdateData as q2, type ExperimentStatCount as q3, type ExperimentStats as q4, type ExperimentStatus as q5, type ExperimentUpdateData as q6, ExperimentsApi as q7, type ExperimentsBindings as q8, type FailedWorkflowsResponse as q9, type HealthiePatientResponse as qA, type HealthieProvider as qB, type HealthieReconciliationMatch as qC, HubspotApi as qD, type HubspotConnectionStatus as qE, type HubspotReconciliationMatch as qF, type InboxResponse as qG, type InboxRules as qH, InboxesApi as qI, InquiriesApi as qJ, type InstallSalesforceRequest as qK, type IntegrationsBindings as qL, type InvoiceResponse as qM, type Journey as qN, type JourneyActiveHours as qO, type JourneyActiveHoursDay as qP, type JourneyAuthoringResponse as qQ, type JourneyFormData as qR, type JourneyGoalAuthoringResponse as qS, type JourneyGoalFormData as qT, type JourneyGoalResponse as qU, type JourneyHealthResponse as qV, type JourneyNoteResponse as qW, type JourneyNoteFormData as qX, type JourneyRead as qY, type JourneyResponse as qZ, type JourneyStatus as q_, FeaturesApi as qa, FhirConnectionsApi as qb, type FhirLinkedMember as qc, type FileVersionDiffResponse as qd, type FileVersionListResponse as qe, type FileVersionResponse as qf, type FileVersionRestoreResponse as qg, FilesApi as qh, type FilesBindings as qi, type GenerateInvoiceRequest as qj, type AdminCustomerResponse as qk, type AdminSiteMappingResponse$1 as ql, type CustomerResponse$1 as qm, type InboxResponse$1 as qn, type MemberJourneyResponse$1 as qo, type MemberJourneyStepResponse$1 as qp, type OrgA2PStatusResponse$1 as qq, type OrgWorkspaceResponse$1 as qr, type ProductResponse$1 as qs, type ResellerResponse$1 as qt, type SubscriptionResponse as qu, type GetAgentTaskMessagesParams as qv, type GetAvailableSlotsRequest as qw, HealthieApi as qx, type HealthieAppointmentTypeResponse as qy, type HealthieConnectionStatus as qz, AbilityTypeSlugs as r, type OrgBindings as r$, type JourneyStepConnectionAuthoringResponse as r0, type JourneyStepConnectionFormData as r1, type JourneyStepConnectionResponse as r2, type JourneyStepFormData as r3, type JourneyStepResponse as r4, type JourneyTestRunConnectionResult as r5, type JourneyTestRunResponse as r6, type JourneyTestRunStepResult as r7, JourneysApi as r8, type JourneysBindings as r9, type MemberUsageReportParams as rA, MembersApi as rB, type MembersBindings as rC, type MessageCountStats as rD, MilestonesApi as rE, type MondayConnectionStatus as rF, type MondayImportRequest as rG, type MondayImportResponse as rH, MondayIntegrationApi as rI, type MondayReconciliationMatch as rJ, type MondaySyncConfigResponse as rK, MotdApi as rL, type MotdBindings as rM, type MotdResponse as rN, type MyCustomerResponse as rO, type MyResellerResponse as rP, NotificationRulesApi as rQ, type OAuthAccountSummary as rR, type OAuthAccountsResponse as rS, OAuthApi as rT, type OAuthAuthorizeOptions as rU, OAuthConnectionsApi as rV, OperatorApi as rW, type OperatorBindings as rX, type OrgA2PBrandStatus as rY, type OrgA2PStatus as rZ, type OrgA2PStatusResponse as r_, LIMIT_ONLY_RESOURCES as ra, type LinkCalendarToHealthieRequest as rb, type LinkCalendarToHealthieResponse as rc, type LinkCustomerAccountRequest as rd, type LinkMemberToHealthieRequest as re, type LinkMemberToHealthieResponse as rf, type LinkMemberToHubspotRequest as rg, type LinkMemberToMondayRequest as rh, type LinkMemberToSalesforceRequest as ri, type LinkResellerAccountRequest as rj, type LinkedHealthieMember as rk, type LinkedHubspotMember as rl, type LinkedMondayMember as rm, type LinkedMondayRecord as rn, type LinkedSalesforceMember as ro, type ListAgentTasksParams as rp, McpServersApi as rq, type MemberExperimentAssignment as rr, type MemberJourney as rs, type MemberJourneyGoalResponse as rt, type MemberJourneyResponse as ru, type MemberJourneyStatus as rv, type MemberJourneyStep as rw, type MemberJourneyStepResponse as rx, type MemberJourneyStepStatus as ry, type MemberSyncSummary as rz, type AbilityTypesResponse as s, type SupportRequestUpdateRole as s$, type OrgCreateWorkspaceFormData as s0, type OrgJoinWorkspaceRequest as s1, type OrgJoinWorkspaceResponse as s2, type OrgWorkspace as s3, type OrgWorkspaceFormData as s4, type OrgWorkspaceResponse as s5, type OutboundResourceInput as s6, PatientSyncConnectionsApi as s7, PersonasApi as s8, type PersonasBindings as s9, type SalesforceReconciliationMatch as sA, SitesApi as sB, type SitesBindings as sC, type SkipStepFormData as sD, SlackAppsApi as sE, type StepMemberResponse as sF, type StepMemberCountResponse as sG, type StuckWorkflowsResponse as sH, type SubscriptionItemResponse as sI, type SubscriptionItemPriceType as sJ, SubscriptionsApi as sK, type SupportRequest as sL, type SupportRequestClientContext as sM, type SupportRequestContextPayload as sN, type SupportRequestDirection as sO, type SupportRequestListParams as sP, type SupportRequestResourceResponse as sQ, type SupportRequestResourceAuthor as sR, type SupportRequestResourceKind as sS, type SupportRequestResponse as sT, type SupportRequestServerContext as sU, type SupportRequestSeverity as sV, type SupportRequestSource as sW, type SupportRequestStatus as sX, type SupportRequestSubmitterScope as sY, type SupportRequestType as sZ, type SupportRequestUpdateResponse as s_, type PhoneCallStatus as sa, PhoneNumbersApi as sb, type PlanInfo as sc, type ProductResponse as sd, PromptsApi as se, type PromptsBindings as sf, PronunciationsApi as sg, type PronunciationsBindings as sh, type PurchasePhoneNumberRequest as si, QualificationsApi as sj, type QualificationsBindings as sk, type QueriesBindings as sl, type RecordPaymentRequest as sm, type RecordResourceClickRequest as sn, type RecordingListResponse as so, type ReenrollMemberFormData as sp, type ReopenSupportRequestRequest as sq, ReportsApi as sr, type Reseller as ss, type ResellerAccount as st, type ResellerAccountRole as su, type ResellerResponse as sv, ResellersApi as sw, type ResellersBindings as sx, SalesforceApi as sy, type SalesforceConnectionStatus as sz, type AccessGrant as t, bindExperimentsMethods as t$, type SupportRequestUpdateType as t0, SupportRequestsApi as t1, type SupportRequestsBindings as t2, type SyncDirection as t3, type SyncItemStatus as t4, type SyncRunItemDetail as t5, type SyncRunSource as t6, type SyncRunStatus as t7, type SyncRunSummary as t8, type SyncRunUniqueFieldConflict as t9, type VoicemailResponse as tA, type VoicemailStatus as tB, type WorkflowAssignmentStatItem as tC, type WorkflowAssignmentStatsResponse as tD, type WorkflowBlockerResponse as tE, WorkflowNotesApi as tF, type WorkflowTerminatedResponse as tG, WorkflowsApi as tH, type WorkflowsBindings as tI, WorkspaceInvitationsApi as tJ, type WorkspaceSummaryBucket as tK, WorkspacesApi as tL, type WorkspacesBindings as tM, bindAccessGrantsMethods as tN, bindAgentTasksMethods as tO, bindAgentsMethods as tP, bindAppsMethods as tQ, bindAuthMethods as tR, bindBillingMethods as tS, bindCalendarsMethods as tT, bindCallsMethods as tU, bindChatsMethods as tV, bindCommunicationsMethods as tW, bindCustomersMethods as tX, bindDashboardsMethods as tY, bindDataTypesMethods as tZ, bindEventsMethods as t_, TERMINAL_TASK_STATES as ta, TasksApi as tb, type TasksBindings as tc, TeamsAppsApi as td, type TemporalSummaryBucket as te, type TemporalSummaryResponse as tf, type ThreadEmailsResponse as tg, type TokenRequest as th, type TokenResponse as ti, ToolkitsApi as tj, type ToolkitsBindings as tk, TrackedLinksApi as tl, type TrackedLinksBindings as tm, type TranscriptionStatus as tn, type UnenrollMemberFormData as to, type UnlinkMemberFromHealthieResponse as tp, type UpdateCustomerRequest as tq, type UpdateDashboardRequest as tr, type UpdateResellerRequest as ts, type UpdateSupportRequestAttributesRequest as tt, type UpdateSupportRequestStatusRequest as tu, type UpdateTrackedLinkDestinationRequest as tv, type ValidateNameResponse as tw, type ValidateWorkflowNameRequest as tx, VoiceApi as ty, type Voicemail as tz, type AccessGrantDecision as u, bindFilesMethods as u0, bindIntegrationsMethods as u1, bindJourneysMethods as u2, bindMembersMethods as u3, bindMotdMethods as u4, bindOperatorMethods as u5, bindOrgMethods as u6, bindPersonasMethods as u7, bindPromptsMethods as u8, bindPronunciationsMethods as u9, bindQualificationsMethods as ua, bindQueriesMethods as ub, bindResellersMethods as uc, bindSitesMethods as ud, bindSupportRequestMethods as ue, bindTasksMethods as uf, bindToolkitsMethods as ug, bindTrackedLinksMethods as uh, bindWorkflowsMethods as ui, bindWorkspacesMethods as uj, createApiModules as uk, parseExperimentStatCount as ul, type AccessGrantInterrupt as v, AccessGrantResourceType as w, type AccessGrantResponse as x, AccessGrantStatus as y, AccessGrantTrigger as z };
21810
+ export { type AppConnectionType as $, type Ability as A, type AcquisitionRequest as B, type ChatModelsResponse as C, type AcquisitionResponse as D, type ActivateA2PNumberResponse as E, type ActivateWorkflowRevisionRequest as F, type GravityRailWorkspaceClient as G, type AddGroupMemberRequest as H, type AdminBulkWorkflowAccessValidationResponse as I, type AdminChatResponse as J, type AdminChatDetailResponse as K, type AdminChatsOptions as L, type ModelMetadataResponse as M, type AdminPromoCodeResponse as N, type AdminWorkspaceAccessGapSummary as O, type AgentChatParticipant as P, type AgentExport as Q, type AllModelsResponse as R, ApiError as S, type ApiScope as T, type ApiValidationError as U, type App as V, type AppBuilder as W, type AppConnectionAccessInterrupt as X, type AppConnectionDirectoryEntry as Y, type AppConnectionDirectoryResponse as Z, type AppConnectionItem as _, type A2PBrandEnrollmentUrlResponse as a, type ChatLabelResponse as a$, type AppCredentialResponse as a0, type AppListResponse as a1, type AppResponse as a2, AppsApi as a3, type Assignment as a4, type AssignmentResponse as a5, type AssignmentStatusType as a6, type AssignmentTaskResponse as a7, type AssignmentsQueryParams as a8, type AudioMessageMetadata as a9, type CELValidationDiagnosticCode as aA, type CELValidationRequest as aB, type CELValidationResponse as aC, type CELValidationWarning as aD, type CELVariable as aE, CHAT_TYPES as aF, type CalendarBookingAbilityConfig as aG, CapabilityClass as aH, type Channel as aI, type CharlestonPmdAbilityConfig as aJ, type CharlestonPmdSimulationOutcome as aK, type CharlestonTestDeliveryRecipientOption as aL, type ChatResponse as aM, type ChatAIModel as aN, type ChatActivityEvent as aO, type ChatCompletionError as aP, type ChatFeedback as aQ, type ChatFeedbackResponse as aR, type ChatFeedbackSource as aS, type ChatFilterResponse as aT, type ChatFilterFilterType as aU, type ChatFilterFormData as aV, type ChatFilterObjectType as aW, type ChatFilterRuleResponse as aX, type ChatFilterRuleFormData as aY, type ChatFormData as aZ, type ChatInterruptResponse as a_, type AudioPlaybackAbilityConfig as aa, type AudioPlaybackFileEntry as ab, type AuthorizeRequest as ac, type AuthorizeResponse as ad, type AvailableMemberRole as ae, BUILTIN_ASSISTANT_CHAT_TYPES as af, BaseApiClient as ag, type BillingPlanInfo as ah, type ResourceCounts as ai, type UsageInfo as aj, type BoardsResponse as ak, type BuildWorkspaceRequest as al, type BuildWorkspaceResponse as am, type BuilderResponse as an, type BuilderListResponse as ao, BuildersApi as ap, type BusinessHoursDay as aq, type BusinessProfile as ar, type BusinessProfileEvaluationStatus as as, type BusinessProfileResponse as at, type BusinessProfileStatus as au, CELApi as av, type CELContextRequest as aw, type CELContextResponse as ax, type CELFunction as ay, type CELValidationDiagnostic as az, type A2PCampaignConfigResponse as b, type CurrentSmsChatResponse as b$, type ChatLabelFormData as b0, type ChatMessage as b1, type ChatMessageChunk as b2, type ChatMessageObject as b3, type ChatModelOverrideResponse as b4, type ChatModelResponse as b5, type ChatNoteFollowUpConfig as b6, type ChatNoteSyncConfig as b7, type ChatNoteSyncFilters as b8, type ChatNoteTriggerEvent as b9, type CreateAppConnectionRequest as bA, type CreateAppRequest as bB, type CreateAssignmentFormData as bC, type CreateBuilderRequest as bD, type CreateDiscordBotRequest as bE, type CreateFhirConnectionRequest as bF, type CreateInquiryRequest as bG, type CreateLegalEntityRequest 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 CreatePromoCodeRequest as bO, type CreatePronunciationEntryFormData as bP, type CreateScenarioRequest as bQ, type CreateSlackAppRequest as bR, type CreateTeamsAppRequest as bS, type CreateWorkflowContributorRequest as bT, type CreateWorkflowFromTemplateFormData as bU, type CreateWorkspaceInvitationFormData as bV, type CredentialProvider as bW, type CriterionInput as bX, type CriterionResult as bY, type CriterionResultResponse as bZ, CriterionType as b_, type ChatParticipantResponse as ba, type ChatParticipantFormData as bb, type ChatState as bc, type ChatTokenUsageResponse as bd, type ChatType as be, type CheckFhirPatientLinksRequest as bf, type ChildTaskResponse as bg, type ChildTaskFormData as bh, type CleanupChatsResponse as bi, type ClientWorkspace as bj, type ColumnsResponse as bk, type CompareWithStripeResponse as bl, type ConfigureDocumoFaxRequest as bm, type ConfigurePatientSyncRequest as bn, type ConflictPolicy as bo, type ConflictPolicyMode as bp, type ConfluenceConnectionResponse as bq, type ConnectionMultiplicity as br, type ConnectionSyncConfig as bs, ConsentMethod as bt, type ContributorAbilityConfig as bu, type ContributorChatParticipant as bv, type ConversationControlAbilityConfig as bw, type ConversationHistoryAbilityConfig as bx, type ConvertedFileResponse as by, type CreateAccessGrantRequest as bz, type A2PEnrollmentSiteCandidate as c, type FhirCsvIdentifierKind as c$, type CustomTool as c0, type CustomToolExport as c1, type CustomToolFormData as c2, type CustomToolResponse as c3, type CustomToolUpdateFormData as c4, type CustomToolkit as c5, type CustomToolkitExport as c6, type CustomToolkitFormData as c7, type CustomToolkitResponse as c8, type CustomToolkitUpdateFormData as c9, type EmailDnsRecord as cA, type EmailDomainConfig as cB, type EmailDomainConfigGetResponse as cC, type EmptyAbilityConfig as cD, type EncounterSyncDataTypeSummary as cE, type EncounterSyncHistoryItem as cF, type EncounterSyncRunResponse as cG, type EncounterSyncStatusResponse as cH, type EnhancedAuthHandler as cI, type EnrichInquiryRequest as cJ, type EntitySyncConfig as cK, type EscalationAbilityConfig as cL, type EventRuleExport as cM, type ExecuteToolResponse as cN, FeatureCategory as cO, type FeatureDefinition as cP, type FeatureStatusValue as cQ, FeatureVisibility as cR, type FeaturesResponse as cS, type FeedbackAuthorKind as cT, FhirClientType as cU, type FhirConnection as cV, type FhirConnectionResponse as cW, type FhirConnectionSortField as cX, FhirConnectionState as cY, type FhirCreateEncounterRequest as cZ, type FhirCsvColumnMeta as c_, type DataAccessAbilityConfig as ca, type DataAccessGrantInterrupt as cb, type DataTypeExport as cc, type DayAggregatedData as cd, type DayCallAggregatedData as ce, type DiscordBot as cf, type DiscordBotAccount as cg, type DiscordBotResponse as ch, type DiscordBotSortField as ci, type DiscordGuild as cj, type DiscordRespondMode as ck, type DiscordThread as cl, type DisplayFileLabelResponse as cm, type DisplayFileResponse as cn, type DocumoFaxConnectionResponse as co, type DocumoFaxIngestionStats as cp, type DocumoFaxSetupResponse as cq, type DocumoFaxStatusResponse as cr, type DomainMapping as cs, type DriftedSystemRoleResponse as ct, DriverMode as cu, type EditRevisionAsDraftRequest as cv, type EmailResponse as cw, type EmailAttachmentResponse as cx, type ConvertedEmailResponse as cy, type EmailDisableResponse as cz, type A2PEnrollmentSiteCandidatesResponse as d, type TaskResponse$1 as d$, type FhirCsvImportRowStatus as d0, type FhirCsvImportRunItem as d1, type FhirCsvImportRunStatus as d2, type FhirCsvImportRunSummary as d3, type FhirCsvImportSettings as d4, type FhirCsvInspectResponse as d5, type FhirFetchCareTeamRequest as d6, type FhirFetchEncountersRequest as d7, type FhirMethodResponse as d8, type FhirPatientLinkCheckResponse as d9, type FileWithAccessModeFormData as dA, type FilesQueryParams as dB, type FirstRunMode as dC, type FirstRunState as dD, type FolderAccessEntry as dE, type FolderMemberAccessResponse as dF, type FolderMemberRoleRelation as dG, type FolderPathSegment as dH, type FolderSearchParams as dI, type FolderSearchResultResponse as dJ, type FolderSharingResponse as dK, type ForwardingNumberDef as dL, type FunctionTool as dM, type GenerateSummariesResponse as dN, type AccessGrantResponse$1 as dO, type AppListResponse$1 as dP, type AssignmentResponse$1 as dQ, type CustomToolResponse$1 as dR, type CustomToolkitResponse$1 as dS, type DiscordBotResponse$1 as dT, type FhirConnectionResponse$1 as dU, type FileResponse$1 as dV, type FileSharingResponse$1 as dW, type FolderSharingResponse$1 as dX, type InvitationListResponse$1 as dY, type SiteResponse$1 as dZ, type SlackAppResponse$1 as d_, type FhirSearchLocationsRequest as da, type FhirSearchPatientsRequest as db, type FhirSearchPractitionersRequest as dc, FhirVendor as dd, type File$1 as de, type FileAccessAbilityConfig as df, type FileAccessEntry as dg, type FileAssociationFormData as dh, type FileExport as di, type FileExportItem as dj, type FileFolderResponse as dk, type FileFolderExport as dl, type FileFolderFormData as dm, type FileFolderRelation as dn, type FileFormData as dp, type FileLabelResponse as dq, type FileLabelExport as dr, type FileLabelFormData as ds, type FileLabelRelation as dt, type FileResponse as du, type FileRoleAssociationResponse as dv, type FileSharingResponse as dw, type FileUploadRequest as dx, type FileUploadResponse as dy, type FileWithAccessMode as dz, AGENT_NOTE_ORIGINS as e, type InquiryStatus as e$, type VoiceModelResponse$1 as e0, type WorkflowRevisionResponse as e1, type WorkflowResponse$1 as e2, type GetChatsOptions as e3, type GetWorkflowFeedbackOptions as e4, type GmailAbilityConfig as e5, type GoogleCalendarAbilityConfig as e6, type GoogleDriveAbilityConfig as e7, type GoogleSheetsAbilityConfig as e8, type GoogleWorkspaceAccessMode as e9, type ImageUrlContent as eA, type ImportHubSpotMembersRequest as eB, type ImportHubSpotMembersResponse as eC, type ImportHubSpotRecordRequest as eD, type ImportPreviewItem as eE, type ImportSalesforceMembersRequest as eF, type ImportSalesforceMembersResponse as eG, type ImportSalesforceRecordRequest as eH, type ImportedMemberResult as eI, type ImportedSalesforceMemberResult as eJ, type InboundFaxLogEntry as eK, InboundFaxStatus as eL, type Inbox as eM, type InboxCreateRequest as eN, type InboxExport as eO, type InboxMapping as eP, type InboxMappingResponse as eQ, type InboxThreadResponse as eR, type InboxThreadsPageResponse as eS, type InboxUpdateRequest as eT, type IncomingInteraction as eU, type InitiateCallRequest as eV, type InitiateCallResponse as eW, type InlineConnectInterrupt as eX, type InquiryResponse as eY, type InquiryListResponse as eZ, type InquirySource as e_, type GoogleWorkspaceIntegrationAbilityConfig as ea, GravityRailClient as eb, type GreetingChannelKey as ec, type GreetingEntry as ed, type GroupsResponse as ee, type HITLActionRequest as ef, type HITLDecision as eg, type HITLRequest as eh, type HITLResponse as ei, type HITLReviewConfig as ej, type HealthieConnectionResponse as ek, type HubSpotNoteSyncConfig as el, type HubSpotPropertyDefinition as em, type HubSpotPropertyOption as en, type HubSpotSearchRequest as eo, type HubSpotSearchResponse as ep, type HubSpotSearchResult as eq, type HubSpotSearchResultMatch as er, type HubSpotSyncSettingsRequest as es, type HubSpotSyncSettingsResponse as et, type HubSpotTaskPriority as eu, type HubSpotTaskStatus as ev, type HubSpotTaskSyncConfig as ew, type HubspotConnectionResponse as ex, type HumanChatParticipant as ey, type ImageGenerationAbilityConfig as ez, type AIUsageReport as f, MergeMemberRolesRequestAccessStrategy as f$, type InquiryType as f0, type InteractionAccepted as f1, type InteractionTimedOut as f2, type InterventionRequest as f3, type Invitation as f4, type InvitationAcceptedResponse as f5, type InvitationDetails as f6, type InvitationListResponse as f7, type InvitationResponse as f8, InvitationStatus as f9, type McpServerExport as fA, type McpServerFormData as fB, type McpServerPromptsResponse as fC, type McpServerResourcesResponse as fD, McpServerState as fE, type McpServerToolResponse as fF, type McpServerToolsResponse as fG, type McpServerUpdateFormData as fH, type McpTestConnectionResponse as fI, type McpToolResponse as fJ, MemberFeature as fK, type MemberFieldVerificationAbilityConfig as fL, type MemberFilterExport as fM, MemberImportValidationError as fN, type MemberLabelExport as fO, type MemberRoleCleanupPlanResponse as fP, type MemberRoleDataTypeRelation as fQ, type MemberRoleExport as fR, type MemberRoleInboxRelation as fS, type MemberRoleSiteRelation as fT, type MemberRoleTaskRelation as fU, type MenuItemResponse as fV, type MenuItemExport as fW, type MenuItemFormData as fX, MenuItemResponseItemType as fY, type MenuTreeResponse as fZ, type MergeMemberRolesRequest as f_, type JsonSchema as fa, type JsonSchemaProperty as fb, type LegacyRoleSuggestionResponse as fc, type LegalEntityListResponse as fd, type LegalEntitySummary as fe, type LinkA2PEnrollmentSiteRequest as ff, type LinkablePhone as fg, type ListInterventionRequestsParams as fh, type ListInvitationsParams as fi, type LiveOperatorEntry as fj, type LiveOperatorsResponse as fk, type LoadedSkill as fl, type ManagedAutomationConfig as fm, type ManagedAutomationPriority as fn, type ManagedAutomationStatus as fo, type ManagedRuleStatus as fp, type ManagerSkillSummary as fq, type ManagerSkillsResponse as fr, type MatchStrategy as fs, type MatchStrategyMode as ft, type McpHeaderSecretInput as fu, type McpPromptArgumentResponse as fv, type McpPromptResponse as fw, type McpResourceResponse as fx, type McpServerResponse as fy, type McpServerAuthRequired as fz, type AIUsageReportParams as g, type PageResponse as g$, type MergeMemberRolesResponse as g0, type MessageAudience as g1, type MessageContentPart as g2, type MessageOrigin as g3, type MessageRole as g4, type MessageTimingResponse as g5, type MessageTokenUsageResponse as g6, ModelProvider as g7, type ModelState as g8, ModelType as g9, type OperatorLiveStatus as gA, type OperatorTaskDetailResponse as gB, type OrgA2PBrandDetail as gC, type OrgA2PBrandListResponse as gD, type OrgA2PBrandSummary as gE, type OrgAccessDeniedData as gF, OrgApi as gG, type OrgAuthHandler as gH, type OrgAuthInfo as gI, type OrgDomain as gJ, type OrgDomainCapabilityStatus as gK, type OrgDomainDnsRecordStatus as gL, type OrgDomainListResponse as gM, type OrgDomainOwnershipStatus as gN, type OrgDomainResponse as gO, OrgFeature as gP, type LibRoutesOrgOrganizationSSOConfigResponse as gQ, type OrganizationInvitationListResponse as gR, type OutboundCallAnalyticsFilterOptions as gS, type OutboundCallAnalyticsFilters as gT, type OutboundCallAnalyticsRowResponse as gU, type OutboundCallAnalyticsSortKey as gV, type OutboundCallAnalyticsSummary as gW, type OutboundCallRequest as gX, type OutboundCallResponse as gY, type OwnershipDnsRecord as gZ, POSITIVE_RATING_THRESHOLD as g_, type ModelUsageResponse as ga, type ModelUsageStats as gb, type MondayBoard as gc, type MondayColumn as gd, type MondayColumnSettings as ge, type MondayConnectionResponse as gf, type CurrentUserInfoResponse as gg, type MondayGroup as gh, type MondayStatusLabel as gi, NO_ASSISTANT_PARTICIPANT_CHAT_TYPES as gj, type Notice as gk, type NoticesResponse as gl, type NotificationResponse as gm, type NotificationRule as gn, type NotificationRuleCreate as go, type NotificationRuleResponse as gp, type NotificationRuleUpdate as gq, type OAuthAuthorizeResponse as gr, type OAuthConnectionStatus as gs, type OAuthProviderSlug as gt, ORG_ONLY_RESOURCES as gu, type OperatorChildTaskDetail as gv, type OperatorGroup as gw, type OperatorGroupMemberResponse as gx, type OperatorGroupMemberInput as gy, type OperatorGroupResponse as gz, AbilityTypeResponseAttachmentScopesItem as h, type PublishWorkflowRevisionRequest as h$, type PageExport as h0, type PageFormData as h1, type PagesQueryParams as h2, type PaginatedResponseInboundFaxLogEntry as h3, type PaginatedSubscriptionsResponse as h4, type PatientSyncConnectionStatus as h5, type Persona as h6, type PersonaResponse as h7, type PhoneAggregatedData as h8, type PhoneBillingPricing as h9, type PresenceTakenOverAckMessage as hA, type Product as hB, type ProductFeature as hC, type ProductFeatureKey as hD, type ProductImage as hE, type ProductLimits as hF, type ProductLink as hG, type ProductMetadata as hH, type LocalPlanData as hI, type ProductPlans as hJ, ProductType as hK, type PromoCodePreviewRequest as hL, type PromoCodeRedeemRequest as hM, type PromoCodeRedemptionResponse as hN, type PromoCodeResult as hO, PromoCodeStatus as hP, type PronunciationEntryResponse as hQ, type PronunciationImportEntry as hR, type PronunciationImportResult as hS, type ProviderPhoneNumberResponse as hT, type ProviderUsageSummary as hU, type ProvisionA2PEnrollmentSiteRequest as hV, type PublicFileMetadata as hW, type PublicFolderContents as hX, type PublicOrganizationConfig as hY, type PublicSSOConfig as hZ, type PublicWorkspaceResponse as h_, type PhoneCallResponse as ha, type PhoneCallAggregatedData as hb, type PhoneCallToolsAbilityConfig as hc, type PhoneNumberResponse as hd, type PhoneNumberExport as he, type PhoneNumberFormData as hf, type PhoneUsageReport as hg, type PhoneUsageReportParams as hh, type PhoneUsageRow as hi, type PlanComparisonResult as hj, type PlanConfig as hk, type PlatformAppConnectionResponse as hl, type PlatformUsageData as hm, type PresenceAcceptInteractionMessage as hn, type PresenceClientMessage as ho, type PresenceConfirmation as hp, type PresenceEndInteractionMessage as hq, type PresenceError as hr, type PresenceGoLiveMessage as hs, type PresenceGoOfflineMessage as ht, type PresenceHeartbeatMessage as hu, type PresenceLoginAck as hv, type PresenceLoginMessage as hw, type PresenceRejectInteractionMessage as hx, type PresenceServerMessage as hy, type PresenceStatusResponse as hz, type AbilityConfig as i, type Scenario as i$, type QualificationResponse as i0, type QualificationExport as i1, QueriesApi as i2, REALTIME_MODEL_CUSTOM as i3, REALTIME_MODEL_GEMINI as i4, REALTIME_MODEL_GEMINI_VERTEX as i5, REALTIME_MODEL_NOVA_SONIC as i6, REALTIME_MODEL_OPENAI as i7, REALTIME_MODEL_OPENAI_2 as i8, REALTIME_MODEL_OPENAI_MINI as i9, type SMSUsageReport as iA, type SMSUsageReportParams as iB, type SMSUsageRow as iC, SMS_DELIVERY_FAILURE_STATUSES as iD, type STTAIModel as iE, type STTCapabilitiesResponse as iF, type STTModelResponse as iG, type STTModelsResponse as iH, type STTProviderSummary as iI, type STTUsageRow as iJ, STT_MODEL_DEEPGRAM_FLUX as iK, STT_MODEL_DEEPGRAM_FLUX_MULTI as iL, STT_MODEL_DEEPGRAM_FLUX_MULTI_SELFHOST as iM, STT_MODEL_DEEPGRAM_FLUX_SELFHOST as iN, type SalesforceConnectionResponse as iO, type SalesforceDescribeField as iP, type SalesforceLabelSyncMode as iQ, type SalesforceRelatedObject as iR, type SalesforceRelatedObjectLookupTarget as iS, type SalesforceSearchObjectType as iT, type SalesforceSearchRequest as iU, type SalesforceSearchResponse as iV, type SalesforceSearchResult as iW, type SalesforceSearchResultMatch as iX, type SalesforceSyncConfig as iY, type SalesforceSyncConfigResponse as iZ, type SalesforceSyncSettings as i_, type RealtimeAIModel as ia, type RealtimeChatError as ib, type RealtimeModelResponse as ic, type RecommendedVoiceResponse as id, type RecordingInfoResponse as ie, type RegistryVariable as ig, type RenderedPageResponse as ih, type ReorderMenuItemsData as ii, type ResellerAbilityConfig as ij, type ResolveGrantRequest as ik, type ResolvedA2PCampaignConfig as il, Resource as im, type ResourceOverage as io, type RevokeGrantRequest as ip, type RoleAssociationEntry as iq, type RoleReferenceCountsResponse as ir, type RoutineExport as is, type RoutingStrategy as it, type RuleExecutionResponse as iu, type RuleExecutionStatus as iv, type SMSDeliveryFailureStatus as iw, type SMSDeliveryStatus as ix, type SMSMessageResponse as iy, type SMSMessageDef as iz, type AbilityConfigIssue as j, type StripeSubscriptionUpdateRequest as j$, type ScenarioCriterion as j0, type ScenarioCriterionExport as j1, type ScenarioCriterionResponse as j2, type ScenarioDataRecord as j3, type ScenarioExport as j4, type ScenarioResponse as j5, type ScheduledCallbackResponse as j6, type ScheduledCallbackListResponse as j7, type ScopesListResponse as j8, type SendSMSAbilityConfig as j9, type SkillsState as jA, type SlackAccount as jB, type SlackApp as jC, type SlackAppInstallation as jD, type SlackAppResponse as jE, type SlackAppSortField as jF, type SlackRespondMode as jG, type SlackSlashCommandConfigResponse as jH, type SlackThread as jI, type SlashCommandConfigResponse as jJ, type SnippetExport as jK, type SpamScore as jL, type StartA2PRegistrationResponse as jM, type StartTestChatRunRequest as jN, type StartTestChatRunResponse as jO, type StripeAddress$1 as jP, type StripeCardDetails as jQ, type StripeComparisonResult as jR, type StripeCustomerResponse as jS, type StripeCustomerCreateRequest as jT, type StripeCustomerUpdateRequest as jU, type StripePaymentMethod as jV, type StripePlanDetail as jW, type StripePriceData as jX, type StripeProductData as jY, type StripeShipping$1 as jZ, type StripeSubscriptionCreateRequest as j_, type SendWhatsAppAbilityConfig as ja, type SessionTakeover as jb, type SetupStep as jc, type SetupVoiceTrustProductRequest as jd, type SharingGrantEntry as je, type Site as jf, type SiteCountsResponse as jg, type SiteDisableResponse as jh, type SiteDnsRecord as ji, type SiteDomainConfig as jj, type SiteDomainConfigGetResponse as jk, type SiteExport as jl, type SiteFormData as jm, type SiteMapping as jn, type SiteMappingFormData as jo, type SiteResponse as jp, type SiteSharingResponse as jq, type SiteSignupResponse as jr, type SiteSlugAvailability as js, type SiteSource as jt, type SiteSourceBuild as ju, type SiteSourcePublishResponse as jv, type SiteSourceRelease as jw, type SiteSourceTemplateOption as jx, type SiteSourceTemplates as jy, type SkillsResponse as jz, AbilityConfigIssueCode as k, type TemplateVariable as k$, type StripeTax as k0, type StripeUSBankAccountDetails as k1, type Subscription as k2, type SubscriptionUpdateRequest as k3, type SupervisorAbilityConfig as k4, type SupervisorActionsAbilityConfig as k5, type SupervisorChatParticipant as k6, type SupervisorFormData as k7, SupervisorsApi as k8, type SyncCapabilities as k9, type Task as kA, type TaskAssignmentStatsResponse as kB, type TaskChatResponse as kC, type TaskChatsListResponse as kD, type TaskChildRelation as kE, type TaskDataTypeRelation as kF, type TaskEventRuleRelation as kG, type TaskExport as kH, type TaskExportChildRelation as kI, type TaskExportFileRelation as kJ, type TaskFileRelation as kK, type TaskFormData as kL, type TaskResponse as kM, type TasksQueryParams as kN, type TeamsAccountResponse as kO, type TeamsAppResponse as kP, type TeamsAppInstallationResponse as kQ, type TeamsAppSortField as kR, type TeamsCommandConfigResponse as kS, type TeamsConversation as kT, type TeamsConversationResponse as kU, type TeamsConversationType as kV, type TeamsRespondMode as kW, type TemplateContextRequest as kX, type TemplateContextResponse as kY, type TemplatePreviewRequest as kZ, type TemplatePreviewResponse as k_, type SyncCapabilitiesResponse as ka, type SyncCheckpoint as kb, type SyncEntityType as kc, type SyncLogEntry as kd, type SyncLogsResponse as ke, type SyncProductToStripeRequest as kf, type SyncProductToStripeResponse as kg, type SyncRule as kh, type SyncRuleInbound as ki, type SyncRuleInboundTargetType as kj, type SyncRuleOutbound as kk, type SyncRunMode as kl, type SyncRunRequest as km, type SyncRunResponse as kn, type SyncVoiceTrustProductsResponse as ko, type TTSAIModel as kp, type TTSModelResponse as kq, type TTSPreviewRequest as kr, type TTSProviderSummary as ks, type TTSUsageRow as kt, TTS_MODEL_AWS_POLLY_GENERATIVE as ku, TTS_MODEL_AWS_POLLY_NEURAL as kv, TTS_MODEL_DEEPGRAM_AURA_2 as kw, TTS_MODEL_ELEVENLABS_FLASH as kx, TTS_MODEL_ELEVENLABS_MULTILINGUAL as ky, TTS_MODEL_ELEVENLABS_TURBO as kz, AbilityConfigIssueSeverity as l, type UpdateInvitationFormData as l$, TemplatesApi as l0, type TestChatRun as l1, type TestChatRunResponse as l2, type TestConnectionResponse as l3, type TextContent as l4, type ThemeResponse as l5, type ThemeFeatures as l6, ThemeFeaturesDarkMode as l7, type ThemeName as l8, type ThemeSettingField as l9, type TrackedLinkStatsResponse as lA, type TrackedLinkSummaryResponse as lB, type TrackedLinkTimeseriesParams as lC, type TrackedLinkTimeseriesPoint as lD, type TrackedLinkTimeseriesResponse as lE, type TransformPreset as lF, type TriggerConnectionBackfillRequest as lG, type TriggerPatientRefreshRequest as lH, type TruncationReason as lI, type UIChoiceDecision as lJ, type UnauthorizedSiteResponse as lK, type UnmappedPhoneNumber as lL, type UnthreadedEmailResponse as lM, type UpdateA2PCampaignConfigRequest as lN, type UpdateAppConnectionRequest as lO, type UpdateAppRequest as lP, type UpdateAssignmentFormData as lQ, type UpdateBuilderRequest as lR, type UpdateBusinessProfileRequest as lS, type UpdateChatModelOverrideRequest as lT, type UpdateDiscordBotRequest as lU, type UpdateEncounterSyncRequest as lV, type UpdateFhirConnectionRequest as lW, type UpdateFhirCsvImportSettingsRequest as lX, type UpdateFileRoleAssociationsRequest as lY, type UpdateFileSharingRequest as lZ, type UpdateInquiryRequest as l_, ThemeSettingFieldType as la, type ThemeSettingsResponse as lb, type ThemesListResponse as lc, type ThinkingSoundPreviewRequest as ld, type TipTapDocumentOutput as le, type TodoItemResponse as lf, type TodoStatus as lg, type TodosResponse as lh, type Tool as li, type ToolCall as lj, type ToolCallFunction as lk, type ToolInputSchema as ll, type ToolResponse as lm, type ToolResult as ln, type ToolType as lo, type Toolkit as lp, type ToolkitConnection as lq, type ToolkitsAbilityConfig as lr, type ToolkitsResponse as ls, type ToolsResponse as lt, type TrackedLinkDestinationResponse as lu, type TrackedLinkFilterParams as lv, type TrackedLinkGranularity as lw, type TrackedLinkPurgeResponse as lx, type TrackedLinkSortField as ly, type TrackedLinkStatsParams as lz, type AbilityRequirementResponse as m, type WorkflowRevisionDiffResponse as m$, type UpdateMemberFieldRequest as m0, type UpdateOperatorGroupRequest as m1, type UpdatePersonaRequest as m2, type UpdatePromoCodeRequest as m3, type UpdatePronunciationEntryFormData as m4, type UpdateSalesforceSyncConfigRequest as m5, type UpdateScenarioRequest as m6, type UpdateSlackAppRequest as m7, type UpdateTeamsAppRequest as m8, type UpdateThemeSettingsRequest as m9, type Workflow as mA, type WorkflowAccessGapSummary as mB, type WorkflowAccessValidationResponse as mC, type WorkflowAccessWarning as mD, WorkflowAccessWarningResourceType as mE, type WorkflowActivity as mF, type WorkflowConfigValidationResponse as mG, type WorkflowContributorResponse as mH, type WorkflowDetail as mI, type WorkflowExport as mJ, type WorkflowFeedbackListResponse as mK, type WorkflowFeedbackSummary as mL, type WorkflowFormData as mM, type WorkflowGreetingEntries as mN, type WorkflowListItem as mO, type WorkflowListItemResponse as mP, type WorkflowListPageResponse as mQ, type WorkflowMemberRoleAccessInput as mR, type WorkflowNoteResponse as mS, type WorkflowNoteExport as mT, type WorkflowNoteFormData as mU, type WorkflowResponse as mV, type WorkflowRevision as mW, type WorkflowRevisionDiffAbilities as mX, type WorkflowRevisionDiffEdges as mY, type WorkflowRevisionDiffEventRules as mZ, type WorkflowRevisionDiffFieldChange as m_, type UpdateWorkflowContributorRequest as ma, type UpdateWorkflowRevisionMetadataRequest as mb, type UploadFileData as mc, type UploadFileRequest as md, type UsageDashboardResponse as me, type UsageDiscrepancy as mf, type VariableRegistryRequest as mg, type VariableRegistryResponse as mh, type VoiceModel as mi, type VoiceModelResponse as mj, type VoiceUsageResponse as mk, type VoiceModelsResponse as ml, type VoicePresetResponse as mm, type VoicePresetsResponse as mn, type VoiceTokenResponse as mo, type VoiceTrustProductKey as mp, type VoiceTrustProductState as mq, type VoiceTrustProductsResponse as mr, type VoiceUsageReport as ms, type VoiceUsageReportParams as mt, type WebSearchAbilityConfig as mu, type WebhookLogResponse as mv, type WidgetDomainListResponse as mw, type WidgetDomainResponse as mx, type WidgetDomainUpsertRequest as my, type WidgetEmbedPolicyResponse as mz, AbilityRequirementResponseKind as n, validateFeatureDependencies as n$, type WorkflowRevisionDiffSide as n0, type WorkflowRevisionDiffTaskChange as n1, type WorkflowRevisionDiffTasks as n2, type WorkflowRevisionListResponse as n3, type WorkflowRevisionState as n4, type WorkflowRevisionSummary as n5, type WorkflowRevisionSummaryResponse as n6, type WorkflowRouteDryRunCandidate as n7, type WorkflowRouteDryRunResponse as n8, WorkflowRoutingMode as n9, type WorkspaceImportValidation as nA, type WorkspaceJoinRequest as nB, type WorkspaceJoinResponse as nC, WorkspaceProvisionStatus as nD, type WorkspaceScope as nE, type WorkspaceScopesResponse as nF, type WorkspaceStatsResponse as nG, areDependenciesSatisfied as nH, clearRegistry as nI, createWorkspaceClient as nJ, getAllFeatures as nK, getAvailableFeaturesForUpgrade as nL, getCookieValue as nM, getFeature as nN, getFeaturesByCategory as nO, getFeaturesByVisibility as nP, getMissingDependencies as nQ, initializeFeatures as nR, isAgentNoteOrigin as nS, isChatType as nT, isFeatureAvailable as nU, isPositiveRating as nV, isRegistryInitialized as nW, isSMSDeliveryFailureStatus as nX, parseOrgAuthChallenge as nY, requiresAssistantParticipant as nZ, usesBuiltinAssistant as n_, type WorkflowRunAbilityConfig as na, type WorkflowStartAutomationResponse as nb, type WorkflowTemplateResponse as nc, type WorkspaceResponse as nd, type WorkspaceAccessDeniedData as ne, type WorkspaceAutoMapEntities as nf, type WorkspaceAvailableDomain as ng, type WorkspaceAvailableDomainsResponse as nh, type WorkspaceBuildPreview as ni, type WorkspaceBuilderExportData as nj, type WorkspaceBuilderInfo as nk, type WorkspaceBuilderListResponse as nl, type WorkspaceBuilderTaskExport as nm, type WorkspaceBuilderWorkflowExport as nn, type WorkspaceCountsResponse as no, type WorkspaceCreateNewEntities as np, type WorkspaceSettingsResponse as nq, type WorkspaceDefaultsFormData as nr, type WorkspaceExportData as ns, WorkspaceFeature as nt, type WorkspaceFeatureInfo as nu, type WorkspaceFormData as nv, type WorkspaceGrantReason as nw, type WorkspaceImportMapping as nx, type WorkspaceImportPreviewResponse as ny, type WorkspaceImportRequest as nz, type AbilityResponse as o, type AgentTaskMessageResponse as o$, type WorkflowStartedItem as o0, type AssignmentTaskTransitionItem as o1, type JourneyStatusChangedItem as o2, type JourneyStepStatusChangedItem as o3, type JourneyGoalStatusChangedItem as o4, type ChatStartedItem as o5, type MessageItem as o6, type CallItem as o7, type FormFieldChangedItem as o8, type ConfigChangedItem as o9, type ActivityContext as oA, ActivityCoverageLimitation as oB, ActivityDirection as oC, ActivityEmptyReason as oD, ActivityEventType as oE, ActivityEventTypePreset as oF, type ActivityFieldSummary as oG, ActivityGoalImpact as oH, type ActivityMemberSummary as oI, type ActivitySourceCoverage as oJ, type ActivityTarget as oK, ActivityTimelineApi as oL, type ActivityTimelineBindings as oM, type ActivityTimelineFilters as oN, ActivityTimelineProjection as oO, type ActivityTimelineQueryRequest as oP, type ActivityTimelineResponse as oQ, type ActivityTimelineScope as oR, type ActivityTimelineWindow as oS, type AdminCustomer as oT, type AdminInboxMappingRequest as oU, type AdminSiteMappingResponse as oV, type AdminUpdateCustomerRequest as oW, type AdminUpdateProductRequest as oX, type AdminWorkspaceResponse as oY, type AdminWorkspaceFormData as oZ, type AdvanceStepFormData as o_, type LibModelsGlbResponsesTemporalAdminResponsesWorkflowDetailResponse as oa, type WorkflowExecutionSummary as ob, type WorkflowHistorySummary as oc, PhiPostureReasonCode as od, PhiPostureDecision as oe, PhiDataPolicy as of, type MetricResponse as og, MetricType as oh, MetricSource as oi, MetricKind as oj, MetricUnit as ok, MetricChatType as ol, MetricDenominator as om, type A2PStatus as on, AIModelsApi as oo, type AIUsageTypeSummary as op, AbilitiesApi as oq, AccessGrantsApi as or, type AccessGrantsBindings as os, type ActivityActor as ot, ActivityActorKind as ou, type ActivityAggregate as ov, ActivityAggregationKind as ow, ActivityCaptureState as ox, ActivityConfigAction as oy, ActivityConfigArea as oz, type AbilityTypeResponse as p, type ConfigHealthCollection as p$, type AgentTaskMode as p0, type AgentTaskResponse as p1, type AgentTaskStatus as p2, AgentTasksApi as p3, type AgentTasksBindings as p4, AgentsApi as p5, type AgentsBindings as p6, ApiKeysApi as p7, type ApiModules as p8, AppConnectionsApi as p9, type BulkLinkSalesforceRequest as pA, CONFIG_HEALTH_FACADE_CHECK_SLUGS as pB, CalendarsApi as pC, type CalendarsBindings as pD, type CallDetail as pE, type CallRecordingDownloadUrlResponse as pF, CallsApi as pG, type CallsBindings as pH, type CancelAgentTaskResponse as pI, type ChannelPhoneNumberStat as pJ, type ChannelStatItem as pK, type ChannelStatsResponse as pL, type ChatEmailsResponse as pM, type ChatStartedDetail as pN, type ChatSummary as pO, ChatsApi as pP, type ChatsBindings as pQ, type CheckoutSessionOptions as pR, type CloseSupportRequestRequest as pS, type CommunicationsBindings as pT, type ComputeChatMetricsRequest as pU, type ComputeChatMetricsResponse as pV, type ConfigChangedDetail as pW, type ConfigHealthAbilityProvenance as pX, type ConfigHealthCheckStatus as pY, ConfigHealthCheckStatusCheckSlug as pZ, ConfigHealthCheckStatusStatus as p_, type AppsBindings as pa, type ArchiveBlockersResponse as pb, type AssignmentSource as pc, type AssignmentSummary as pd, AssignmentsApi as pe, type AttachPaymentMethodRequest as pf, type AttachSupportRequestResourceRequest as pg, type AudioChunkMetadata as ph, type AudioDownloadUrlResponse as pi, AuthApi as pj, type AuthBindings as pk, type AvailableDayResponse as pl, type AvailablePhoneNumberResponse as pm, type BillingBindings as pn, type BillingPeriodResponse as po, type BookAppointmentRequest as pp, type BookOfBusinessAcquisitionDistribution as pq, type BookOfBusinessActiveSubscription as pr, type BookOfBusinessOrganization as ps, type BookOfBusinessPlanDistribution as pt, type BookOfBusinessProduct as pu, type BookOfBusinessResponse as pv, type BookOfBusinessSummary as pw, type BookingResultResponse as px, type BulkLinkHubspotRequest as py, type BulkLinkMondayRequest as pz, type AbilityTypeSlug as q, type ExperimentAssignmentUpdateData as q$, type ConfigHealthDetectorProvenance as q0, ConfigHealthDetectorProvenanceDetector as q1, type ConfigHealthFacadeCheckSlug as q2, type ConfigHealthIssue as q3, ConfigHealthIssueCheckSlug as q4, ConfigHealthIssueSeverity as q5, type ConfigHealthQueryParams as q6, type ConfigHealthRemediation as q7, ConfigHealthRemediationDestination as q8, type ConfigHealthRemediationFocus as q9, type CreditGrantSummary as qA, type CreditGrantType as qB, CustomToolkitsApi as qC, type Customer as qD, type CustomerAccount as qE, type CustomerAccountRole as qF, type CustomerClassification as qG, type CustomerResponse as qH, CustomersApi as qI, type CustomersBindings as qJ, type DashboardResponse as qK, type DashboardWidgetResponse as qL, type DashboardWidgetSpec as qM, DashboardsApi as qN, type DashboardsBindings as qO, DataTypesApi as qP, type DataTypesBindings as qQ, type DirectSubscriptionCreateRequest as qR, DiscordBotsApi as qS, type DistributionBucket as qT, DocumoFaxApi as qU, type DurationStats as qV, type EnrollMemberFormData as qW, EventsApi as qX, type EventsBindings as qY, type Experiment as qZ, type ExperimentAssignmentCreateData as q_, ConfigHealthRemediationResourceKind as qa, type ConfigHealthSubject as qb, type ConfigHealthSummary as qc, type ConfigHealthSummaryByCheck as qd, type ConfigureConfluenceRequest as qe, type ConfigureHealthieRequest as qf, type ConfigureHubspotRequest as qg, type ConfigureSalesforceRequest as qh, ConfluenceApi as qi, type ConfluenceConnectionStatus as qj, type ConfluencePagesResponse as qk, type ConfluenceSpacesResponse as ql, ConnectionSyncApi as qm, type CreateCustomerRequest as qn, type CreateDashboardRequest as qo, type CreateMetricRequest as qp, type CreateOutboundSupportRequestRequest as qq, type CreateResellerRequest as qr, type CreateSupportRequestCommentRequest as qs, type CreateSupportRequestNoteRequest as qt, type CreateSupportRequestRequest as qu, type CreateTrackedLinkDestinationRequest as qv, type CreditBalance as qw, type CreditGrant as qx, type CreditGrantListResponse as qy, type CreditGrantStatus as qz, AbilityTypeSlugs as r, type JourneyNoteResponse as r$, type ExperimentFormData as r0, type ExperimentGroup as r1, type ExperimentGroupFormData as r2, type ExperimentGroupStats as r3, type ExperimentGroupUpdateData as r4, type ExperimentStatCount as r5, type ExperimentStats as r6, type ExperimentStatus as r7, type ExperimentUpdateData as r8, ExperimentsApi as r9, type GetAvailableSlotsRequest as rA, HealthieApi as rB, type HealthieAppointmentTypeResponse as rC, type HealthieConnectionStatus as rD, type HealthiePatientResponse as rE, type HealthieProvider as rF, type HealthieReconciliationMatch as rG, HubspotApi as rH, type HubspotConnectionStatus as rI, type HubspotReconciliationMatch as rJ, type InboxResponse as rK, type InboxRules as rL, InboxesApi as rM, InquiriesApi as rN, type InstallSalesforceRequest as rO, type IntegrationsBindings as rP, InterventionRequestsApi as rQ, type InvoiceResponse as rR, type Journey as rS, type JourneyActiveHours as rT, type JourneyActiveHoursDay as rU, type JourneyAuthoringResponse as rV, type JourneyFormData as rW, type JourneyGoalAuthoringResponse as rX, type JourneyGoalFormData as rY, type JourneyGoalResponse as rZ, type JourneyHealthResponse as r_, type ExperimentsBindings as ra, type FailedWorkflowsResponse as rb, FeaturesApi as rc, FhirConnectionsApi as rd, type FhirLinkedMember as re, type FileVersionDiffResponse as rf, type FileVersionListResponse as rg, type FileVersionResponse as rh, type FileVersionRestoreResponse as ri, FilesApi as rj, type FilesBindings as rk, type FormFieldChangedDetail as rl, FormValueDisposition as rm, type GenerateInvoiceRequest as rn, type AdminCustomerResponse as ro, type AdminSiteMappingResponse$1 as rp, type CustomerResponse$1 as rq, type InboxResponse$1 as rr, type MemberJourneyResponse$1 as rs, type MemberJourneyStepResponse$1 as rt, type OrgA2PStatusResponse$1 as ru, type OrgWorkspaceResponse$1 as rv, type ProductResponse$1 as rw, type ResellerResponse$1 as rx, type SubscriptionResponse as ry, type GetAgentTaskMessagesParams as rz, type AbilityTypesResponse as s, type MyCustomerResponse as s$, type JourneyNoteFormData as s0, type JourneyRead as s1, type JourneyResponse as s2, type JourneyStatus as s3, type JourneyStatusDetail as s4, type JourneyStatusLogEntryResponse as s5, type JourneyStatusLogResponse as s6, type JourneyStepAuthoringResponse as s7, type JourneyStepConnectionAuthoringResponse as s8, type JourneyStepConnectionFormData as s9, type MemberJourney as sA, type MemberJourneyGoalResponse as sB, type MemberJourneyResponse as sC, type MemberJourneyStatus as sD, type MemberJourneyStep as sE, type MemberJourneyStepResponse as sF, type MemberJourneyStepStatus as sG, type MemberSyncSummary as sH, type MemberUsageReportParams as sI, MembersApi as sJ, type MembersBindings as sK, type MessageCountStats as sL, type MessageDetail as sM, type MetricObservationResponse as sN, type MetricSeriesBucket as sO, type MetricSeriesResponse as sP, MetricsApi as sQ, type MetricsBindings as sR, type MondayConnectionStatus as sS, type MondayImportRequest as sT, type MondayImportResponse as sU, MondayIntegrationApi as sV, type MondayReconciliationMatch as sW, type MondaySyncConfigResponse as sX, MotdApi as sY, type MotdBindings as sZ, type MotdResponse as s_, type JourneyStepConnectionResponse as sa, type JourneyStepFormData as sb, type JourneyStepResponse as sc, type JourneyTestRunConnectionResult as sd, type JourneyTestRunResponse as se, type JourneyTestRunStepResult as sf, JourneysApi as sg, type JourneysBindings as sh, LIMIT_ONLY_RESOURCES as si, type LinkCalendarToHealthieRequest as sj, type LinkCalendarToHealthieResponse as sk, type LinkCustomerAccountRequest as sl, type LinkMemberToHealthieRequest as sm, type LinkMemberToHealthieResponse as sn, type LinkMemberToHubspotRequest as so, type LinkMemberToMondayRequest as sp, type LinkMemberToSalesforceRequest as sq, type LinkResellerAccountRequest as sr, type LinkedHealthieMember as ss, type LinkedHubspotMember as st, type LinkedMondayMember as su, type LinkedMondayRecord as sv, type LinkedSalesforceMember as sw, type ListAgentTasksParams as sx, McpServersApi as sy, type MemberExperimentAssignment as sz, type AccessGrant as t, SubscriptionsApi as t$, type MyResellerResponse as t0, NotificationRulesApi as t1, type OAuthAccountSummary as t2, type OAuthAccountsResponse as t3, OAuthApi as t4, type OAuthAuthorizeOptions as t5, OAuthConnectionsApi as t6, OperatorApi as t7, type OperatorBindings as t8, type OrgA2PBrandStatus as t9, QualificationsApi as tA, type QualificationsBindings as tB, type QueriesBindings as tC, type RecordPaymentRequest as tD, type RecordResourceClickRequest as tE, type RecordingListResponse as tF, type ReenrollMemberFormData as tG, type ReopenSupportRequestRequest as tH, ReportsApi as tI, type Reseller as tJ, type ResellerAccount as tK, type ResellerAccountRole as tL, type ResellerResponse as tM, ResellersApi as tN, type ResellersBindings as tO, SalesforceApi as tP, type SalesforceConnectionStatus as tQ, type SalesforceReconciliationMatch as tR, SitesApi as tS, type SitesBindings as tT, type SkipStepFormData as tU, SlackAppsApi as tV, type StepMemberResponse as tW, type StepMemberCountResponse as tX, type StuckWorkflowsResponse as tY, type SubscriptionItemResponse as tZ, type SubscriptionItemPriceType as t_, type OrgA2PStatus as ta, type OrgA2PStatusResponse as tb, type OrgBindings as tc, type OrgCreateWorkspaceFormData as td, type OrgJoinWorkspaceRequest as te, type OrgJoinWorkspaceResponse as tf, type OrgSettingsUpdateRequest as tg, type OrgWorkspace as th, type OrgWorkspaceFormData as ti, type OrgWorkspaceResponse as tj, type OrgWorkspaceStatsResponse as tk, type OrgWorkspaceSummaryResponse as tl, type OutboundResourceInput as tm, type PaginatedResponseConfigHealthIssue as tn, PatientSyncConnectionsApi as to, PersonasApi as tp, type PersonasBindings as tq, type PhoneCallStatus as tr, PhoneNumbersApi as ts, type PlanInfo as tt, type ProductResponse as tu, PromptsApi as tv, type PromptsBindings as tw, PronunciationsApi as tx, type PronunciationsBindings as ty, type PurchasePhoneNumberRequest as tz, type AccessGrantDecision as u, WorkflowsApi as u$, type SupportRequest as u0, type SupportRequestClientContext as u1, type SupportRequestContextPayload as u2, type SupportRequestDirection as u3, type SupportRequestListParams as u4, type SupportRequestResourceResponse as u5, type SupportRequestResourceAuthor as u6, type SupportRequestResourceKind as u7, type SupportRequestResponse as u8, type SupportRequestServerContext as u9, type TokenResponse as uA, ToolkitsApi as uB, type ToolkitsBindings as uC, TrackedLinksApi as uD, type TrackedLinksBindings as uE, type TranscriptionStatus as uF, type UnenrollMemberFormData as uG, type UnlinkMemberFromHealthieResponse as uH, type UpdateCustomerRequest as uI, type UpdateDashboardRequest as uJ, type UpdateMetricRequest as uK, type UpdateResellerRequest as uL, type UpdateSupportRequestAttributesRequest as uM, type UpdateSupportRequestStatusRequest as uN, type UpdateTrackedLinkDestinationRequest as uO, type ValidateNameResponse as uP, type ValidateWorkflowNameRequest as uQ, VoiceApi as uR, type Voicemail as uS, type VoicemailResponse as uT, type VoicemailStatus as uU, type WorkflowAssignmentStatItem as uV, type WorkflowAssignmentStatsResponse as uW, type WorkflowBlockerResponse as uX, WorkflowNotesApi as uY, type WorkflowStartedDetail as uZ, type WorkflowTerminatedResponse as u_, type SupportRequestSeverity as ua, type SupportRequestSource as ub, type SupportRequestStatus as uc, type SupportRequestSubmitterScope as ud, type SupportRequestType as ue, type SupportRequestUpdateResponse as uf, type SupportRequestUpdateRole as ug, type SupportRequestUpdateType as uh, SupportRequestsApi as ui, type SupportRequestsBindings as uj, type SyncDirection as uk, type SyncItemStatus as ul, type SyncRunItemDetail as um, type SyncRunSource as un, type SyncRunStatus as uo, type SyncRunSummary as up, type SyncRunUniqueFieldConflict as uq, TERMINAL_TASK_STATES as ur, type TaskTransitionDetail as us, TasksApi as ut, type TasksBindings as uu, TeamsAppsApi as uv, type TemporalSummaryBucket as uw, type TemporalSummaryResponse as ux, type ThreadEmailsResponse as uy, type TokenRequest as uz, type AccessGrantInterrupt as v, type WorkflowsBindings as v0, WorkspaceInvitationsApi as v1, type WorkspaceSummaryBucket as v2, WorkspacesApi as v3, type WorkspacesBindings as v4, bindAccessGrantsMethods as v5, bindActivityTimelineMethods as v6, bindAgentTasksMethods as v7, bindAgentsMethods as v8, bindAppsMethods as v9, bindSupportRequestMethods as vA, bindTasksMethods as vB, bindToolkitsMethods as vC, bindTrackedLinksMethods as vD, bindWorkflowsMethods as vE, bindWorkspacesMethods as vF, createApiModules as vG, isConfigHealthFacadeCheckSlug as vH, parseExperimentStatCount as vI, bindAuthMethods as va, bindBillingMethods as vb, bindCalendarsMethods as vc, bindCallsMethods as vd, bindChatsMethods as ve, bindCommunicationsMethods as vf, bindCustomersMethods as vg, bindDashboardsMethods as vh, bindDataTypesMethods as vi, bindEventsMethods as vj, bindExperimentsMethods as vk, bindFilesMethods as vl, bindIntegrationsMethods as vm, bindJourneysMethods as vn, bindMembersMethods as vo, bindMetricsMethods as vp, bindMotdMethods as vq, bindOperatorMethods as vr, bindOrgMethods as vs, bindPersonasMethods as vt, bindPromptsMethods as vu, bindPronunciationsMethods as vv, bindQualificationsMethods as vw, bindQueriesMethods as vx, bindResellersMethods as vy, bindSitesMethods as vz, AccessGrantResourceType as w, type AccessGrantResponse as x, AccessGrantStatus as y, AccessGrantTrigger as z };