@gravity-rail/sdk 0.3.0 → 0.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs CHANGED
@@ -20,6 +20,8 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
20
20
  // src/index.ts
21
21
  var src_exports = {};
22
22
  __export(src_exports, {
23
+ AbilityConfigIssueCode: () => AbilityConfigIssueCode,
24
+ AbilityConfigIssueSeverity: () => AbilityConfigIssueSeverity,
23
25
  AbilityTypeSlugs: () => AbilityTypeSlugs,
24
26
  AccessGrantResourceType: () => AccessGrantResourceType,
25
27
  AccessGrantStatus: () => AccessGrantStatus,
@@ -32,6 +34,9 @@ __export(src_exports, {
32
34
  BUILTIN_ASSISTANT_CHAT_TYPES: () => BUILTIN_ASSISTANT_CHAT_TYPES,
33
35
  BaseApiClient: () => BaseApiClient,
34
36
  BuildersApi: () => BuildersApi,
37
+ BulkMemberResultStatus: () => BulkMemberResultStatus,
38
+ BusinessIndustry: () => BusinessIndustry,
39
+ BusinessType: () => BusinessType,
35
40
  CELApi: () => CELApi,
36
41
  CHAT_TYPES: () => CHAT_TYPES,
37
42
  CalendarEventStatus: () => CalendarEventStatus,
@@ -44,8 +49,13 @@ __export(src_exports, {
44
49
  DEFAULT_CHAT_MODEL: () => DEFAULT_CHAT_MODEL,
45
50
  DEFAULT_CUSTOM_VOICE_MODEL: () => DEFAULT_CUSTOM_VOICE_MODEL,
46
51
  DEFAULT_THINKING_SPEECH_PHRASES: () => DEFAULT_THINKING_SPEECH_PHRASES,
52
+ DEFAULT_VOICE_INFERENCE_MODEL: () => DEFAULT_VOICE_INFERENCE_MODEL,
53
+ DataCategory: () => DataCategory,
47
54
  DataFieldType: () => DataFieldType,
55
+ DataSensitivity: () => DataSensitivity,
56
+ DataTypeRecordScope: () => DataTypeRecordScope,
48
57
  DriverMode: () => DriverMode,
58
+ EmailDnsRecordType: () => EmailDnsRecordType,
49
59
  EventRuleActionType: () => EventRuleActionType,
50
60
  EventRuleEventType: () => EventRuleEventType,
51
61
  EventRuleObjectType: () => EventRuleObjectType,
@@ -57,11 +67,17 @@ __export(src_exports, {
57
67
  GravityRailClient: () => GravityRailClient,
58
68
  IndexStatus: () => IndexStatus,
59
69
  InvitationStatus: () => InvitationStatus,
70
+ JobPosition: () => JobPosition,
60
71
  MASKED_SECRET_SENTINEL: () => MASKED_SECRET_SENTINEL,
61
72
  McpServerState: () => McpServerState,
62
73
  MemberFeature: () => MemberFeature,
63
74
  MemberType: () => MemberType,
75
+ MenuItemResponseItemType: () => MenuItemResponseItemType,
76
+ MenuItemType: () => MenuItemResponseItemType,
77
+ ModelProvider: () => ModelProvider,
78
+ ModelType: () => ModelType,
64
79
  NO_ASSISTANT_PARTICIPANT_CHAT_TYPES: () => NO_ASSISTANT_PARTICIPANT_CHAT_TYPES,
80
+ OIDCAdminConfigViewProviderType: () => OIDCAdminConfigViewProviderType,
65
81
  ORG_ONLY_RESOURCES: () => ORG_ONLY_RESOURCES,
66
82
  OrgApi: () => OrgApi,
67
83
  OrgFeature: () => OrgFeature,
@@ -81,15 +97,21 @@ __export(src_exports, {
81
97
  REALTIME_MODEL_GEMINI_VERTEX: () => REALTIME_MODEL_GEMINI_VERTEX,
82
98
  REALTIME_MODEL_NOVA_SONIC: () => REALTIME_MODEL_NOVA_SONIC,
83
99
  REALTIME_MODEL_OPENAI: () => REALTIME_MODEL_OPENAI,
100
+ REALTIME_MODEL_OPENAI_2: () => REALTIME_MODEL_OPENAI_2,
84
101
  REALTIME_MODEL_OPENAI_MINI: () => REALTIME_MODEL_OPENAI_MINI,
102
+ Region: () => Region,
103
+ RegistrationIdentifier: () => RegistrationIdentifier,
85
104
  Resource: () => Resource,
86
105
  SCOPES: () => SCOPES,
87
106
  SCOPE_PRESETS: () => SCOPE_PRESETS,
107
+ SMS_DELIVERY_FAILURE_STATUSES: () => SMS_DELIVERY_FAILURE_STATUSES,
88
108
  STT_MODEL_DEEPGRAM_FLUX: () => STT_MODEL_DEEPGRAM_FLUX,
109
+ STT_MODEL_DEEPGRAM_FLUX_MULTI: () => STT_MODEL_DEEPGRAM_FLUX_MULTI,
89
110
  STT_MODEL_ELEVENLABS_SCRIBE: () => STT_MODEL_ELEVENLABS_SCRIBE,
90
111
  Scope: () => Scope,
91
112
  ScopeCategory: () => ScopeCategory,
92
113
  ScopeManager: () => ScopeManager,
114
+ SiteDnsRecordType: () => SiteDnsRecordType,
93
115
  SupervisorsApi: () => SupervisorsApi,
94
116
  TTS_MODEL_AWS_POLLY_GENERATIVE: () => TTS_MODEL_AWS_POLLY_GENERATIVE,
95
117
  TTS_MODEL_AWS_POLLY_NEURAL: () => TTS_MODEL_AWS_POLLY_NEURAL,
@@ -101,6 +123,8 @@ __export(src_exports, {
101
123
  TTS_PREVIEW_PROVIDERS: () => TTS_PREVIEW_PROVIDERS,
102
124
  TemplatesApi: () => TemplatesApi,
103
125
  ToolkitState: () => ToolkitState,
126
+ WorkflowAccessWarningResourceType: () => WorkflowAccessWarningResourceType,
127
+ WorkflowResourceType: () => WorkflowAccessWarningResourceType,
104
128
  WorkspaceFeature: () => WorkspaceFeature,
105
129
  WorkspaceProvisionStatus: () => WorkspaceProvisionStatus,
106
130
  areDependenciesSatisfied: () => areDependenciesSatisfied,
@@ -108,6 +132,7 @@ __export(src_exports, {
108
132
  clearRegistry: () => clearRegistry,
109
133
  decodePermissions: () => decodePermissions,
110
134
  encodePermissions: () => encodePermissions,
135
+ eventRuleActionParams: () => eventRuleActionParams,
111
136
  formatAppContextAsMarkdown: () => formatAppContextAsMarkdown,
112
137
  getAllFeatures: () => getAllFeatures,
113
138
  getAllResourceSlugs: () => getAllResourceSlugs,
@@ -127,6 +152,7 @@ __export(src_exports, {
127
152
  isChatType: () => isChatType,
128
153
  isFeatureAvailable: () => isFeatureAvailable,
129
154
  isRegistryInitialized: () => isRegistryInitialized,
155
+ isSMSDeliveryFailureStatus: () => isSMSDeliveryFailureStatus,
130
156
  requiresAssistantParticipant: () => requiresAssistantParticipant,
131
157
  usesBuiltinAssistant: () => usesBuiltinAssistant,
132
158
  validateFeatureDependencies: () => validateFeatureDependencies
@@ -181,7 +207,7 @@ function parseOrgAuthChallenge(wwwAuthenticate) {
181
207
  const cookieNameMatch = wwwAuthenticate.match(/cookie_name="([^"]+)"/);
182
208
  const authUrlMatch = wwwAuthenticate.match(/auth_url="([^"]+)"/);
183
209
  if (!orgUuidMatch?.[1] || !cookieNameMatch?.[1] || !authUrlMatch?.[1]) {
184
- console.warn("Invalid org auth challenge header:", wwwAuthenticate);
210
+ console.warn("Invalid org auth challenge header: missing required fields");
185
211
  return null;
186
212
  }
187
213
  return {
@@ -198,8 +224,17 @@ var BaseApiClient = class {
198
224
  enhancedAuthHandler;
199
225
  enhancedAuthInProgress = null;
200
226
  orgAuthHandler;
227
+ orgAuthInProgress = null;
201
228
  actingMemberUuid;
202
229
  orgToken;
230
+ /**
231
+ * The org_uuid that issued the current orgToken. Tracked so we can detect
232
+ * a 401 challenge from a *different* org and re-fire the handler — the
233
+ * orgToken is an opaque JWE we cannot decrypt client-side, so without this
234
+ * the original guard `!this.orgToken` would prevent re-auth across orgs and
235
+ * surface as a silent 401 in multi-org CLI workflows.
236
+ */
237
+ orgTokenOrgUuid;
203
238
  constructor(apiKey, baseUrl, customFetch) {
204
239
  this.baseUrl = baseUrl;
205
240
  this.apiKey = apiKey;
@@ -249,9 +284,15 @@ var BaseApiClient = class {
249
284
  * Set the org token for cross-domain requests.
250
285
  * When set, all API requests will include the X-Org-Token header,
251
286
  * allowing org-level SSO verification without cookies.
287
+ *
288
+ * `orgUuid` is the org that issued the token; passing it lets the 401
289
+ * handler detect a stale token when a subsequent request targets a
290
+ * different org and re-fire the org-auth handler instead of silently
291
+ * 401-ing. Callers without that context (legacy / unknown) may omit it.
252
292
  */
253
- setOrgToken(token) {
293
+ setOrgToken(token, orgUuid) {
254
294
  this.orgToken = token;
295
+ this.orgTokenOrgUuid = token ? orgUuid : void 0;
255
296
  }
256
297
  async fetch(endpoint, options) {
257
298
  try {
@@ -299,29 +340,61 @@ var BaseApiClient = class {
299
340
  return await this.fetch(endpoint, options);
300
341
  } catch (retryError) {
301
342
  this.orgToken = void 0;
343
+ this.orgTokenOrgUuid = void 0;
302
344
  throw retryError;
303
345
  }
304
346
  }
305
347
  if (response.status === 401) {
306
348
  const orgAuthInfo = parseOrgAuthChallenge(response.headers.get("WWW-Authenticate"));
349
+ if (orgAuthInfo && this.orgToken && this.orgTokenOrgUuid && this.orgTokenOrgUuid !== orgAuthInfo.orgUuid) {
350
+ this.orgToken = void 0;
351
+ this.orgTokenOrgUuid = void 0;
352
+ }
307
353
  if (orgAuthInfo && !this.orgToken) {
308
354
  const requestCookieName = orgAuthInfo.cookieName.replace(
309
- "orgToken",
355
+ /^orgToken/,
310
356
  "requestOrgToken"
311
357
  );
312
358
  const cachedOrgToken = getCookieValue(requestCookieName);
313
359
  if (cachedOrgToken) {
314
360
  this.orgToken = cachedOrgToken;
361
+ this.orgTokenOrgUuid = orgAuthInfo.orgUuid;
315
362
  try {
316
363
  return await this.fetch(endpoint, options);
317
364
  } catch (retryError) {
318
365
  this.orgToken = void 0;
366
+ this.orgTokenOrgUuid = void 0;
319
367
  throw retryError;
320
368
  }
321
369
  }
322
370
  if (this.orgAuthHandler) {
323
- await this.orgAuthHandler(orgAuthInfo);
324
- throw new ApiError("Organization authentication required", 401);
371
+ if (!this.orgAuthInProgress) {
372
+ const handler = this.orgAuthHandler;
373
+ this.orgAuthInProgress = (async () => {
374
+ try {
375
+ await handler(orgAuthInfo);
376
+ } finally {
377
+ this.orgAuthInProgress = null;
378
+ }
379
+ })();
380
+ }
381
+ await this.orgAuthInProgress;
382
+ const postHandlerToken = getCookieValue(requestCookieName) ?? this.orgToken;
383
+ if (!postHandlerToken) {
384
+ throw new ApiError(
385
+ "Organization authentication did not issue a token",
386
+ 401
387
+ );
388
+ }
389
+ this.orgToken = postHandlerToken;
390
+ this.orgTokenOrgUuid = orgAuthInfo.orgUuid;
391
+ try {
392
+ return await this.fetch(endpoint, options);
393
+ } catch (retryError) {
394
+ this.orgToken = void 0;
395
+ this.orgTokenOrgUuid = void 0;
396
+ throw retryError;
397
+ }
325
398
  }
326
399
  }
327
400
  }
@@ -378,7 +451,7 @@ ${formattedErrors}`, response.status);
378
451
  throw error;
379
452
  }
380
453
  }
381
- async fetchRaw(endpoint, options) {
454
+ async fetchRaw(endpoint, options, allowedErrorStatuses = []) {
382
455
  try {
383
456
  const headers = new Headers({
384
457
  ...options?.headers || {}
@@ -417,35 +490,70 @@ ${formattedErrors}`, response.status);
417
490
  }
418
491
  }
419
492
  try {
420
- return await this.fetchRaw(endpoint, options);
493
+ return await this.fetchRaw(endpoint, options, allowedErrorStatuses);
421
494
  } catch (retryError) {
422
495
  this.orgToken = void 0;
496
+ this.orgTokenOrgUuid = void 0;
423
497
  throw retryError;
424
498
  }
425
499
  }
426
500
  if (response.status === 401) {
427
501
  const orgAuthInfo = parseOrgAuthChallenge(response.headers.get("WWW-Authenticate"));
502
+ if (orgAuthInfo && this.orgToken && this.orgTokenOrgUuid && this.orgTokenOrgUuid !== orgAuthInfo.orgUuid) {
503
+ this.orgToken = void 0;
504
+ this.orgTokenOrgUuid = void 0;
505
+ }
428
506
  if (orgAuthInfo && !this.orgToken) {
429
507
  const requestCookieName = orgAuthInfo.cookieName.replace(
430
- "orgToken",
508
+ /^orgToken/,
431
509
  "requestOrgToken"
432
510
  );
433
511
  const cachedOrgToken = getCookieValue(requestCookieName);
434
512
  if (cachedOrgToken) {
435
513
  this.orgToken = cachedOrgToken;
514
+ this.orgTokenOrgUuid = orgAuthInfo.orgUuid;
436
515
  try {
437
- return await this.fetchRaw(endpoint, options);
516
+ return await this.fetchRaw(endpoint, options, allowedErrorStatuses);
438
517
  } catch (retryError) {
439
518
  this.orgToken = void 0;
519
+ this.orgTokenOrgUuid = void 0;
440
520
  throw retryError;
441
521
  }
442
522
  }
443
523
  if (this.orgAuthHandler) {
444
- await this.orgAuthHandler(orgAuthInfo);
445
- throw new ApiError("Organization authentication required", 401);
524
+ if (!this.orgAuthInProgress) {
525
+ const handler = this.orgAuthHandler;
526
+ this.orgAuthInProgress = (async () => {
527
+ try {
528
+ await handler(orgAuthInfo);
529
+ } finally {
530
+ this.orgAuthInProgress = null;
531
+ }
532
+ })();
533
+ }
534
+ await this.orgAuthInProgress;
535
+ const postHandlerToken = getCookieValue(requestCookieName) ?? this.orgToken;
536
+ if (!postHandlerToken) {
537
+ throw new ApiError(
538
+ "Organization authentication did not issue a token",
539
+ 401
540
+ );
541
+ }
542
+ this.orgToken = postHandlerToken;
543
+ this.orgTokenOrgUuid = orgAuthInfo.orgUuid;
544
+ try {
545
+ return await this.fetchRaw(endpoint, options, allowedErrorStatuses);
546
+ } catch (retryError) {
547
+ this.orgToken = void 0;
548
+ this.orgTokenOrgUuid = void 0;
549
+ throw retryError;
550
+ }
446
551
  }
447
552
  }
448
553
  }
554
+ if (allowedErrorStatuses.includes(response.status)) {
555
+ return response;
556
+ }
449
557
  const errorText = await response.text().catch(() => "");
450
558
  throw new ApiError(errorText || response.statusText, response.status);
451
559
  }
@@ -515,7 +623,7 @@ var AbilitiesApi = class extends BaseApiClient {
515
623
  }
516
624
  };
517
625
 
518
- // src/api/accessGrants.ts
626
+ // src/api/access-grants.ts
519
627
  var AccessGrantsApi = class extends BaseApiClient {
520
628
  /** List access grants received by the current member. */
521
629
  async getMyReceivedGrants(wid, params) {
@@ -586,39 +694,6 @@ var AccessGrantsApi = class extends BaseApiClient {
586
694
  }
587
695
  };
588
696
 
589
- // src/api/agent-jobs.ts
590
- var AgentJobsApi = class extends BaseApiClient {
591
- async listAgentJobs(wid, params) {
592
- const searchParams = new URLSearchParams();
593
- if (params?.jobType) searchParams.set("jobType", params.jobType);
594
- if (params?.status) searchParams.set("status", params.status);
595
- if (params?.chatId) searchParams.set("chatId", String(params.chatId));
596
- const qs = searchParams.toString();
597
- return this.fetch(`w/${wid}/agent-jobs${qs ? `?${qs}` : ""}`);
598
- }
599
- async getAgentJob(wid, jobId) {
600
- return this.fetch(`w/${wid}/agent-jobs/${jobId}`);
601
- }
602
- async createAgentJob(wid, data) {
603
- return this.fetch(`w/${wid}/agent-jobs`, {
604
- method: "POST",
605
- body: JSON.stringify(data)
606
- });
607
- }
608
- async updateAgentJob(wid, jobId, data) {
609
- return this.fetch(`w/${wid}/agent-jobs/${jobId}`, {
610
- method: "PUT",
611
- body: JSON.stringify(data)
612
- });
613
- }
614
- async deleteAgentJob(wid, jobId) {
615
- await this.fetchRaw(`w/${wid}/agent-jobs/${jobId}`, { method: "DELETE" });
616
- }
617
- async getAgentJobRuns(wid, jobId) {
618
- return this.fetch(`w/${wid}/agent-jobs/${jobId}/runs`);
619
- }
620
- };
621
-
622
697
  // src/api/agent-tasks.ts
623
698
  var AgentTasksApi = class extends BaseApiClient {
624
699
  async getAgentTasks(wid, params) {
@@ -705,7 +780,7 @@ var AgentsApi = class extends BaseApiClient {
705
780
  }
706
781
  };
707
782
 
708
- // src/api/aiModels.ts
783
+ // src/api/ai-models.ts
709
784
  var AIModelsApi = class extends BaseApiClient {
710
785
  /**
711
786
  * Get available chat AI models
@@ -781,7 +856,7 @@ var AIModelsApi = class extends BaseApiClient {
781
856
  }
782
857
  };
783
858
 
784
- // src/api/apiKeys.ts
859
+ // src/api/api-keys.ts
785
860
  var ApiKeysApi = class extends BaseApiClient {
786
861
  // Workspace-specific API key methods
787
862
  /** List all API keys for a workspace. */
@@ -895,7 +970,8 @@ var AssignmentsApi = class extends BaseApiClient {
895
970
  if (options.sortOrder) params.append("sortOrder", options.sortOrder);
896
971
  if (options.mine) params.append("mine", options.mine.toString());
897
972
  if (options.taskId) params.append("taskId", options.taskId.toString());
898
- if (options.memberId) params.append("memberId", options.memberId.toString());
973
+ if (options.memberId !== void 0)
974
+ params.append("memberId", options.memberId.toString());
899
975
  if (options.status) params.append("status", options.status);
900
976
  return this.fetch(
901
977
  `w/${wid}/assignments${params.toString() ? `?${params.toString()}` : ""}`
@@ -1128,6 +1204,13 @@ var AuthApi = class extends BaseApiClient {
1128
1204
  body: JSON.stringify({ token })
1129
1205
  });
1130
1206
  }
1207
+ /** Exchange a global Account login for an opaque org-scoped session handle. */
1208
+ async exchangeSession(request) {
1209
+ return this.fetch("auth/session-exchange", {
1210
+ method: "POST",
1211
+ body: JSON.stringify(request)
1212
+ });
1213
+ }
1131
1214
  /** Get the organization and workspace mapping for a custom domain. */
1132
1215
  async getDomainMapping(customDomain) {
1133
1216
  return this.fetch(`s/mapping/${customDomain}`);
@@ -1694,6 +1777,8 @@ var ChatsApi = class extends BaseApiClient {
1694
1777
  if (options.filters && options.filters.length > 0) {
1695
1778
  params.append("filters", JSON.stringify(options.filters));
1696
1779
  }
1780
+ if (options.createdAfter) params.append("createdAfter", options.createdAfter);
1781
+ if (options.createdBefore) params.append("createdBefore", options.createdBefore);
1697
1782
  return params;
1698
1783
  }
1699
1784
  /** List chats with optional filtering, sorting, and pagination. */
@@ -1963,6 +2048,10 @@ var ChatsApi = class extends BaseApiClient {
1963
2048
  method: "DELETE"
1964
2049
  });
1965
2050
  }
2051
+ /** Get the count of chats matching a saved filter. */
2052
+ async getChatFilterCount(wid, filterId) {
2053
+ return this.fetch(`w/${wid}/chat-filters/${filterId}/count`);
2054
+ }
1966
2055
  /** Get phone calls associated with a chat. */
1967
2056
  async getChatPhoneCalls(wid, chatId) {
1968
2057
  return this.fetch(`w/${wid}/chats/${chatId}/phone-calls`);
@@ -2033,7 +2122,7 @@ var ConfluenceApi = class extends BaseApiClient {
2033
2122
  }
2034
2123
  };
2035
2124
 
2036
- // src/api/customToolkits.ts
2125
+ // src/api/custom-toolkits.ts
2037
2126
  var CustomToolkitsApi = class extends BaseApiClient {
2038
2127
  /**
2039
2128
  * List all custom toolkits in a workspace
@@ -2120,7 +2209,7 @@ var CustomToolkitsApi = class extends BaseApiClient {
2120
2209
  }
2121
2210
  };
2122
2211
 
2123
- // src/api/dataTypes.ts
2212
+ // src/api/data-types.ts
2124
2213
  var DataTypesApi = class extends BaseApiClient {
2125
2214
  /** List all data types for a workspace, optionally filtering by archived status. */
2126
2215
  async getDataTypes(wid, options) {
@@ -2181,7 +2270,7 @@ var DataTypesApi = class extends BaseApiClient {
2181
2270
  /** List data records for a data type with optional filtering and pagination. */
2182
2271
  async getDataRecords(wid, dataTypeId, options) {
2183
2272
  const params = new URLSearchParams();
2184
- if (options?.memberId) params.append("member_id", options.memberId.toString());
2273
+ if (options?.memberId !== void 0) params.append("member_id", options.memberId.toString());
2185
2274
  if (options?.search) params.append("search", options.search);
2186
2275
  if (options?.searchField) params.append("search_field", options.searchField);
2187
2276
  if (options?.page) params.append("page", options.page.toString());
@@ -2226,7 +2315,9 @@ var DataTypesApi = class extends BaseApiClient {
2226
2315
  method: "POST",
2227
2316
  body: JSON.stringify({
2228
2317
  externalId,
2229
- fieldValues: data.fieldValues
2318
+ fieldValues: data.fieldValues,
2319
+ memberId: data.memberId,
2320
+ memberExternalId: data.memberExternalId
2230
2321
  })
2231
2322
  });
2232
2323
  }
@@ -2466,6 +2557,68 @@ var SlackAppsApi = class extends BaseApiClient {
2466
2557
  }
2467
2558
  };
2468
2559
 
2560
+ // src/api/teams-apps.ts
2561
+ var TeamsAppsApi = class extends BaseApiClient {
2562
+ /**
2563
+ * List all Teams apps configured for a workspace.
2564
+ */
2565
+ async getTeamsApps(wid, options = {}) {
2566
+ const params = new URLSearchParams();
2567
+ if (options.page) params.append("page", options.page.toString());
2568
+ if (options.pageSize) params.append("pageSize", options.pageSize.toString());
2569
+ if (options.sortBy) params.append("sortBy", options.sortBy);
2570
+ if (options.sortOrder) params.append("sortOrder", options.sortOrder);
2571
+ if (options.search) params.append("search", options.search);
2572
+ return this.fetch(
2573
+ `w/${wid}/app-connections/teams/apps${params.toString() ? `?${params.toString()}` : ""}`
2574
+ );
2575
+ }
2576
+ async getTeamsApp(wid, appId) {
2577
+ return this.fetch(`w/${wid}/app-connections/teams/apps/${appId}`);
2578
+ }
2579
+ async createTeamsApp(wid, data) {
2580
+ return this.fetch(`w/${wid}/app-connections/teams/apps`, {
2581
+ method: "POST",
2582
+ body: JSON.stringify(data)
2583
+ });
2584
+ }
2585
+ async updateTeamsApp(wid, appId, data) {
2586
+ return this.fetch(`w/${wid}/app-connections/teams/apps/${appId}`, {
2587
+ method: "PUT",
2588
+ body: JSON.stringify(data)
2589
+ });
2590
+ }
2591
+ async deleteTeamsApp(wid, appId) {
2592
+ return this.fetch(`w/${wid}/app-connections/teams/apps/${appId}`, {
2593
+ method: "DELETE"
2594
+ });
2595
+ }
2596
+ async getTeamsConversations(wid, appId, options = {}) {
2597
+ const params = new URLSearchParams();
2598
+ if (options.page) params.append("page", options.page.toString());
2599
+ if (options.pageSize) params.append("pageSize", options.pageSize.toString());
2600
+ return this.fetch(
2601
+ `w/${wid}/app-connections/teams/apps/${appId}/conversations${params.toString() ? `?${params.toString()}` : ""}`
2602
+ );
2603
+ }
2604
+ async getTeamsInstallations(wid, appId, options = {}) {
2605
+ const params = new URLSearchParams();
2606
+ if (options.page) params.append("page", options.page.toString());
2607
+ if (options.pageSize) params.append("pageSize", options.pageSize.toString());
2608
+ return this.fetch(
2609
+ `w/${wid}/app-connections/teams/apps/${appId}/installations${params.toString() ? `?${params.toString()}` : ""}`
2610
+ );
2611
+ }
2612
+ async getTeamsAppAccounts(wid, appId, options = {}) {
2613
+ const params = new URLSearchParams();
2614
+ if (options.page) params.append("page", options.page.toString());
2615
+ if (options.pageSize) params.append("pageSize", options.pageSize.toString());
2616
+ return this.fetch(
2617
+ `w/${wid}/app-connections/teams/apps/${appId}/accounts${params.toString() ? `?${params.toString()}` : ""}`
2618
+ );
2619
+ }
2620
+ };
2621
+
2469
2622
  // src/api/events.ts
2470
2623
  var EventsApi = class extends BaseApiClient {
2471
2624
  /** List event rules in the workspace, paginated. */
@@ -2968,6 +3121,40 @@ var HealthieApi = class extends BaseApiClient {
2968
3121
  method: "DELETE"
2969
3122
  });
2970
3123
  }
3124
+ async listHealthieAppointmentTypes(wid, providerId) {
3125
+ const query = new URLSearchParams();
3126
+ if (providerId) query.set("provider_id", providerId);
3127
+ const qs = query.toString() ? `?${query.toString()}` : "";
3128
+ return this.fetch(
3129
+ `w/${wid}/app-connections/healthie/appointment-types${qs}`
3130
+ );
3131
+ }
3132
+ async listHealthiePatients(wid, keywords) {
3133
+ const query = new URLSearchParams();
3134
+ if (keywords?.trim()) query.set("keywords", keywords.trim());
3135
+ const qs = query.toString() ? `?${query.toString()}` : "";
3136
+ return this.fetch(
3137
+ `w/${wid}/app-connections/healthie/patients${qs}`
3138
+ );
3139
+ }
3140
+ async getHealthieAvailableSlots(wid, request) {
3141
+ return this.fetch(
3142
+ `w/${wid}/app-connections/healthie/scheduling/available-slots`,
3143
+ {
3144
+ method: "POST",
3145
+ body: JSON.stringify(request)
3146
+ }
3147
+ );
3148
+ }
3149
+ async bookHealthieAppointment(wid, request) {
3150
+ return this.fetch(
3151
+ `w/${wid}/app-connections/healthie/scheduling/book`,
3152
+ {
3153
+ method: "POST",
3154
+ body: JSON.stringify(request)
3155
+ }
3156
+ );
3157
+ }
2971
3158
  };
2972
3159
 
2973
3160
  // src/api/files.ts
@@ -3235,10 +3422,17 @@ var InboxesApi = class extends BaseApiClient {
3235
3422
  method: "POST"
3236
3423
  });
3237
3424
  }
3425
+ /** Reply to an email from the inbox. */
3426
+ async replyToEmail(wid, inboxId, emailId, content) {
3427
+ return this.fetch(`w/${wid}/inboxes/${inboxId}/emails/${emailId}/reply`, {
3428
+ method: "POST",
3429
+ body: JSON.stringify({ content })
3430
+ });
3431
+ }
3238
3432
  /** Convert an email to text, markdown, or PDF format. */
3239
- async convertEmail(wid, emailId, format = "pdf") {
3433
+ async convertEmail(wid, inboxId, emailId, format = "pdf") {
3240
3434
  return this.fetch(
3241
- `w/${wid}/inboxes/emails/${emailId}/convert?format=${format}`,
3435
+ `w/${wid}/inboxes/${inboxId}/emails/${emailId}/convert?format=${format}`,
3242
3436
  {
3243
3437
  method: "POST"
3244
3438
  }
@@ -3290,6 +3484,16 @@ var InquiriesApi = class extends BaseApiClient {
3290
3484
  body: JSON.stringify(data)
3291
3485
  });
3292
3486
  }
3487
+ /**
3488
+ * Enrich an existing inquiry with additional fields (public endpoint).
3489
+ * Uses the inquiry UUID (from cookie) to identify the inquiry.
3490
+ */
3491
+ async enrichInquiry(inquiryUuid, data) {
3492
+ return this.fetch(`inquiries/enrich/${inquiryUuid}`, {
3493
+ method: "PATCH",
3494
+ body: JSON.stringify(data)
3495
+ });
3496
+ }
3293
3497
  /**
3294
3498
  * List all inquiries (superuser only)
3295
3499
  */
@@ -3347,7 +3551,7 @@ var InquiriesApi = class extends BaseApiClient {
3347
3551
  }
3348
3552
  };
3349
3553
 
3350
- // src/api/appConnections.ts
3554
+ // src/api/app-connections.ts
3351
3555
  var AppConnectionsApi = class extends BaseApiClient {
3352
3556
  /**
3353
3557
  * List all app connection definitions the workspace can access.
@@ -3403,9 +3607,22 @@ var AppConnectionsApi = class extends BaseApiClient {
3403
3607
  { method: "DELETE" }
3404
3608
  );
3405
3609
  }
3610
+ /**
3611
+ * List distinct ``MemberField.key`` values scoped to a connection
3612
+ * (GRA-2920). Drives the Monday custom-match "Custom fields" picker.
3613
+ *
3614
+ * Returns only the set of keys already in use on this connection;
3615
+ * values are intentionally never exposed. Operators can also add a
3616
+ * new key via the UI's "Add custom field key" free-text action.
3617
+ */
3618
+ async listConnectionMemberFieldKeys(wid, connectionId) {
3619
+ return this.fetch(
3620
+ `w/${wid}/app-connections/${connectionId}/member-field-keys`
3621
+ );
3622
+ }
3406
3623
  };
3407
3624
 
3408
- // src/api/mcpServers.ts
3625
+ // src/api/mcp-servers.ts
3409
3626
  var McpServersApi = class extends BaseApiClient {
3410
3627
  /**
3411
3628
  * List all MCP servers in a workspace
@@ -3942,18 +4159,26 @@ var MembersApi = class extends BaseApiClient {
3942
4159
  // ===== Member Memories =====
3943
4160
  async getMemberMemories(wid, memberId, options) {
3944
4161
  const params = new URLSearchParams();
3945
- if (options?.strategy) params.append("strategy", options.strategy);
4162
+ if (options?.type) params.append("type", options.type);
3946
4163
  if (options?.query) params.append("query", options.query);
3947
4164
  if (options?.limit) params.append("limit", options.limit.toString());
3948
- if (options?.offset) params.append("offset", options.offset.toString());
3949
4165
  const qs = params.toString();
3950
4166
  return this.fetch(
3951
4167
  `w/${wid}/members/${memberId}/memories${qs ? `?${qs}` : ""}`
3952
4168
  );
3953
4169
  }
3954
- async deleteMemberMemory(wid, memberId, memoryKey, strategy) {
4170
+ async createMemberMemory(wid, memberId, body) {
4171
+ return this.fetch(`w/${wid}/members/${memberId}/memories`, {
4172
+ method: "POST",
4173
+ body: JSON.stringify(body)
4174
+ });
4175
+ }
4176
+ async deleteMemberMemory(wid, memberId, memoryKey, options) {
4177
+ const params = new URLSearchParams();
4178
+ if (options?.type) params.append("type", options.type);
4179
+ const qs = params.toString();
3955
4180
  await this.fetch(
3956
- `w/${wid}/members/${memberId}/memories/${encodeURIComponent(memoryKey)}?strategy=${encodeURIComponent(strategy)}`,
4181
+ `w/${wid}/members/${memberId}/memories/${encodeURIComponent(memoryKey)}${qs ? `?${qs}` : ""}`,
3957
4182
  { method: "DELETE" }
3958
4183
  );
3959
4184
  }
@@ -4017,33 +4242,6 @@ var MondayIntegrationApi = class extends BaseApiClient {
4017
4242
  );
4018
4243
  return { columns };
4019
4244
  }
4020
- /**
4021
- * Create a webhook in Monday.com
4022
- */
4023
- async createWebhook(wid, params) {
4024
- return this.fetch(`w/${wid}/app-connections/monday/webhooks`, {
4025
- method: "POST",
4026
- body: JSON.stringify(params)
4027
- });
4028
- }
4029
- /**
4030
- * Delete a webhook from Monday.com
4031
- */
4032
- async deleteWebhook(wid, webhookId) {
4033
- return this.fetch(
4034
- `w/${wid}/app-connections/monday/webhooks/${webhookId}`,
4035
- { method: "DELETE" }
4036
- );
4037
- }
4038
- /**
4039
- * Get details of a specific webhook from Monday.com
4040
- * Returns 404 if the webhook no longer exists
4041
- */
4042
- async getWebhook(wid, boardId, webhookId) {
4043
- return this.fetch(
4044
- `w/${wid}/app-connections/monday/boards/${boardId}/webhooks/${webhookId}`
4045
- );
4046
- }
4047
4245
  /**
4048
4246
  * Get groups for a specific Monday.com board
4049
4247
  */
@@ -4178,7 +4376,7 @@ var MondayIntegrationApi = class extends BaseApiClient {
4178
4376
  }
4179
4377
  };
4180
4378
 
4181
- // src/api/notificationRules.ts
4379
+ // src/api/notification-rules.ts
4182
4380
  var NotificationRulesApi = class extends BaseApiClient {
4183
4381
  /** List all notification rules in a workspace. */
4184
4382
  async getNotificationRules(wid) {
@@ -4317,15 +4515,6 @@ var OrgApi = class extends BaseApiClient {
4317
4515
  if (options?.pageSize) params.append("pageSize", options.pageSize.toString());
4318
4516
  return this.fetch(`o/${orgIdOrUuid}/members?${params.toString()}`);
4319
4517
  }
4320
- /**
4321
- * Add an account to an organization.
4322
- */
4323
- async addAccountToOrganization(orgIdOrUuid, data) {
4324
- return this.fetch(`o/${orgIdOrUuid}/members`, {
4325
- method: "POST",
4326
- body: JSON.stringify(data)
4327
- });
4328
- }
4329
4518
  /**
4330
4519
  * Check if an account is already a member of an organization.
4331
4520
  */
@@ -4517,6 +4706,125 @@ var OrgApi = class extends BaseApiClient {
4517
4706
  });
4518
4707
  }
4519
4708
  // ============================================================================
4709
+ // Organization Domains API
4710
+ // ============================================================================
4711
+ /**
4712
+ * List domains registered to an organization.
4713
+ */
4714
+ async listOrgDomains(orgIdOrUuid) {
4715
+ return this.fetch(`o/${orgIdOrUuid}/domains`);
4716
+ }
4717
+ /**
4718
+ * Register a domain with an organization and return the TXT ownership proof.
4719
+ */
4720
+ async registerOrgDomain(orgIdOrUuid, domain) {
4721
+ return this.fetch(`o/${orgIdOrUuid}/domains`, {
4722
+ method: "POST",
4723
+ body: JSON.stringify({ domain })
4724
+ });
4725
+ }
4726
+ /**
4727
+ * Get a registered organization domain by UUID.
4728
+ */
4729
+ async getOrgDomain(orgIdOrUuid, domainUuid) {
4730
+ return this.fetch(`o/${orgIdOrUuid}/domains/${domainUuid}`);
4731
+ }
4732
+ /**
4733
+ * Verify domain ownership by checking the _gravity-verify TXT record.
4734
+ */
4735
+ async verifyOrgDomainOwnership(orgIdOrUuid, domainUuid) {
4736
+ return this.fetch(
4737
+ `o/${orgIdOrUuid}/domains/${domainUuid}/verify-ownership`,
4738
+ { method: "POST" }
4739
+ );
4740
+ }
4741
+ /**
4742
+ * Delete a registered organization domain.
4743
+ */
4744
+ async deleteOrgDomain(orgIdOrUuid, domainUuid) {
4745
+ await this.fetch(`o/${orgIdOrUuid}/domains/${domainUuid}`, { method: "DELETE" });
4746
+ }
4747
+ /**
4748
+ * Enable email DNS provisioning for a verified org domain.
4749
+ */
4750
+ async enableOrgDomainEmail(orgIdOrUuid, domainUuid) {
4751
+ return this.fetch(`o/${orgIdOrUuid}/domains/${domainUuid}/email`, {
4752
+ method: "POST"
4753
+ });
4754
+ }
4755
+ /**
4756
+ * Get email DNS provisioning and verification status for an org domain.
4757
+ */
4758
+ async getOrgDomainEmail(orgIdOrUuid, domainUuid) {
4759
+ return this.fetch(
4760
+ `o/${orgIdOrUuid}/domains/${domainUuid}/email`
4761
+ );
4762
+ }
4763
+ /**
4764
+ * Verify email DNS records, including MX.
4765
+ */
4766
+ async verifyOrgDomainEmail(orgIdOrUuid, domainUuid) {
4767
+ return this.fetch(
4768
+ `o/${orgIdOrUuid}/domains/${domainUuid}/email/verify`,
4769
+ { method: "POST" }
4770
+ );
4771
+ }
4772
+ /**
4773
+ * Disable email support for an org domain.
4774
+ */
4775
+ async disableOrgDomainEmail(orgIdOrUuid, domainUuid, confirm = false) {
4776
+ const query = `?confirm=${confirm ? "true" : "false"}`;
4777
+ const response = await this.fetchRaw(
4778
+ `o/${orgIdOrUuid}/domains/${domainUuid}/email${query}`,
4779
+ { method: "DELETE" },
4780
+ [409]
4781
+ );
4782
+ if (response.status === 409) {
4783
+ const impact = await response.json();
4784
+ return { ok: false, impact };
4785
+ }
4786
+ return { ok: true };
4787
+ }
4788
+ /**
4789
+ * Enable custom site routing for a verified org domain.
4790
+ */
4791
+ async enableOrgDomainSite(orgIdOrUuid, domainUuid) {
4792
+ return this.fetch(`o/${orgIdOrUuid}/domains/${domainUuid}/site`, {
4793
+ method: "POST"
4794
+ });
4795
+ }
4796
+ /**
4797
+ * Get site CNAME provisioning and verification status for an org domain.
4798
+ */
4799
+ async getOrgDomainSite(orgIdOrUuid, domainUuid) {
4800
+ return this.fetch(`o/${orgIdOrUuid}/domains/${domainUuid}/site`);
4801
+ }
4802
+ /**
4803
+ * Verify the site CNAME points at the Gravity Rail sites domain.
4804
+ */
4805
+ async verifyOrgDomainSite(orgIdOrUuid, domainUuid) {
4806
+ return this.fetch(
4807
+ `o/${orgIdOrUuid}/domains/${domainUuid}/site/verify`,
4808
+ { method: "POST" }
4809
+ );
4810
+ }
4811
+ /**
4812
+ * Disable custom site routing for an org domain.
4813
+ */
4814
+ async disableOrgDomainSite(orgIdOrUuid, domainUuid, confirm = false) {
4815
+ const query = `?confirm=${confirm ? "true" : "false"}`;
4816
+ const response = await this.fetchRaw(
4817
+ `o/${orgIdOrUuid}/domains/${domainUuid}/site${query}`,
4818
+ { method: "DELETE" },
4819
+ [409]
4820
+ );
4821
+ if (response.status === 409) {
4822
+ const impact = await response.json();
4823
+ return { ok: false, impact };
4824
+ }
4825
+ return { ok: true };
4826
+ }
4827
+ // ============================================================================
4520
4828
  // Organization A2P Brand Registration API
4521
4829
  // ============================================================================
4522
4830
  /**
@@ -4546,6 +4854,53 @@ var OrgApi = class extends BaseApiClient {
4546
4854
  body: JSON.stringify({ sampleMessages })
4547
4855
  });
4548
4856
  }
4857
+ // ============================================================================
4858
+ // Organization Business Profile API (Twilio Trust Hub Secondary CP)
4859
+ // ============================================================================
4860
+ /**
4861
+ * Live fetch of the org's Twilio Customer Profile + related entities.
4862
+ *
4863
+ * Response carries both the lifecycle `status` and the compliance
4864
+ * `evaluationStatus`. Twilio models lifecycle and evaluation as two
4865
+ * separate enums on two separate resources, so the Submit-button gate
4866
+ * is `evaluationStatus === 'compliant'` — never `status === 'compliant'`,
4867
+ * which is impossible (lifecycle status is one of `draft` /
4868
+ * `pending-review` / `in-review` / `twilio-approved` / `twilio-rejected`).
4869
+ */
4870
+ async getBusinessProfile(orgUuid) {
4871
+ return this.fetch(`o/${orgUuid}/business-profile`);
4872
+ }
4873
+ /**
4874
+ * Upsert the org's business profile. Idempotent via cached SIDs.
4875
+ * Returns a fresh BusinessProfileResponse on success — including the
4876
+ * compliance evaluation result so the frontend can immediately enable
4877
+ * Submit without a second round-trip.
4878
+ */
4879
+ async updateBusinessProfile(orgUuid, data) {
4880
+ return this.fetch(`o/${orgUuid}/business-profile`, {
4881
+ method: "PUT",
4882
+ body: JSON.stringify(data)
4883
+ });
4884
+ }
4885
+ /**
4886
+ * Submit the business profile to Twilio for review. Server re-evaluates
4887
+ * compliance live and returns 412 if the profile is not currently
4888
+ * `compliant`; returns 409 if a review is already in flight.
4889
+ */
4890
+ async submitBusinessProfile(orgUuid) {
4891
+ return this.fetch(`o/${orgUuid}/business-profile/submit`, {
4892
+ method: "POST"
4893
+ });
4894
+ }
4895
+ /**
4896
+ * Cancel an in-flight Twilio review. Resets the cached profile state
4897
+ * to `draft` so the user can edit and resubmit.
4898
+ */
4899
+ async cancelBusinessProfile(orgUuid) {
4900
+ return this.fetch(`o/${orgUuid}/business-profile/cancel`, {
4901
+ method: "POST"
4902
+ });
4903
+ }
4549
4904
  /**
4550
4905
  * List available member roles for a workspace in the organization.
4551
4906
  */
@@ -4641,7 +4996,7 @@ var OAuthApi = class extends BaseApiClient {
4641
4996
  }
4642
4997
  };
4643
4998
 
4644
- // src/api/phoneNumbers.ts
4999
+ // src/api/phone-numbers.ts
4645
5000
  var PhoneNumbersApi = class extends BaseApiClient {
4646
5001
  /** List phone numbers in a workspace, optionally including archived. */
4647
5002
  async getPhoneNumbers(wid, options) {
@@ -4897,15 +5252,15 @@ var PronunciationsApi = class extends BaseApiClient {
4897
5252
  // src/api/prompts.ts
4898
5253
  var PromptsApi = class extends BaseApiClient {
4899
5254
  /** Inspect the full composed prompt for a task (static) or chat (live). */
4900
- async inspectPrompt(wid, taskId, options = {}) {
5255
+ async inspectPrompt(wid, options) {
4901
5256
  const params = new URLSearchParams();
4902
- if (options.chatId) {
5257
+ if (options.chatId !== void 0) {
4903
5258
  params.append("chat_id", options.chatId.toString());
4904
- } else {
4905
- params.append("task_id", taskId.toString());
5259
+ } else if (options.taskId !== void 0) {
5260
+ params.append("task_id", options.taskId.toString());
4906
5261
  }
4907
5262
  if (options.channel) params.append("channel", options.channel);
4908
- if (options.turn) params.append("turn", options.turn.toString());
5263
+ if (options.turn !== void 0) params.append("turn", options.turn.toString());
4909
5264
  return this.fetch(`w/${wid}/prompts/inspect?${params}`);
4910
5265
  }
4911
5266
  };
@@ -5258,7 +5613,8 @@ var ConnectionSyncApi = class extends BaseApiClient {
5258
5613
  dryRun: options?.dryRun ?? false,
5259
5614
  resetCheckpoints: options?.resetCheckpoints ?? false,
5260
5615
  ...options?.entityType ? { entityType: options.entityType } : {},
5261
- ...options?.boardId ? { boardId: options.boardId } : {}
5616
+ ...options?.boardId ? { boardId: options.boardId } : {},
5617
+ ...typeof options?.recordLimit === "number" ? { recordLimit: options.recordLimit } : {}
5262
5618
  })
5263
5619
  });
5264
5620
  }
@@ -5277,6 +5633,19 @@ var ConnectionSyncApi = class extends BaseApiClient {
5277
5633
  `w/${wid}/app-connections/${connectionId}/sync/runs/${runId}/items?limit=${limit}`
5278
5634
  );
5279
5635
  }
5636
+ /**
5637
+ * Clear a manual-unlink exclusion for a member on a connection so
5638
+ * subsequent outbound syncs stop silently skipping them. Idempotent:
5639
+ * returns ``cleared=false`` when no matching exclusion exists.
5640
+ * ``boardId`` is only meaningful for multi-scope connectors (Monday).
5641
+ */
5642
+ async clearConnectionMemberExclusion(wid, connectionId, memberId, options) {
5643
+ const query = options?.boardId ? `?board_id=${encodeURIComponent(options.boardId)}` : "";
5644
+ return this.fetch(
5645
+ `w/${wid}/app-connections/${connectionId}/member-exclusions/${memberId}${query}`,
5646
+ { method: "DELETE" }
5647
+ );
5648
+ }
5280
5649
  };
5281
5650
 
5282
5651
  // src/api/hubspot.ts
@@ -5650,6 +6019,98 @@ var SubscriptionsApi = class extends BaseApiClient {
5650
6019
  }
5651
6020
  };
5652
6021
 
6022
+ // src/api/support-requests.ts
6023
+ function supportRequestParams(params) {
6024
+ const searchParams = new URLSearchParams();
6025
+ if (params?.page) searchParams.append("page", params.page.toString());
6026
+ if (params?.pageSize) searchParams.append("pageSize", params.pageSize.toString());
6027
+ if (params?.status) searchParams.append("status", params.status);
6028
+ if (params?.supportRequestType) {
6029
+ searchParams.append("supportRequestType", params.supportRequestType);
6030
+ }
6031
+ if (params?.severity) searchParams.append("severity", params.severity);
6032
+ if (params?.source) searchParams.append("source", params.source);
6033
+ if (params?.organizationId !== void 0) {
6034
+ searchParams.append("organizationId", params.organizationId.toString());
6035
+ }
6036
+ if (params?.workspaceId !== void 0) {
6037
+ searchParams.append("workspaceId", params.workspaceId.toString());
6038
+ }
6039
+ if (params?.linearLinked !== void 0) {
6040
+ searchParams.append("linearLinked", params.linearLinked.toString());
6041
+ }
6042
+ const query = searchParams.toString();
6043
+ return query ? `?${query}` : "";
6044
+ }
6045
+ var SupportRequestsApi = class extends BaseApiClient {
6046
+ async listSupportRequests(params) {
6047
+ return this.fetch(
6048
+ `support-requests${supportRequestParams(params)}`
6049
+ );
6050
+ }
6051
+ async getSupportRequest(uuid) {
6052
+ return this.fetch(`support-requests/${uuid}`);
6053
+ }
6054
+ async createSupportRequest(data) {
6055
+ return this.fetch("support-requests", {
6056
+ method: "POST",
6057
+ body: JSON.stringify(data)
6058
+ });
6059
+ }
6060
+ async commentOnSupportRequest(uuid, data) {
6061
+ return this.fetch(`support-requests/${uuid}/comments`, {
6062
+ method: "POST",
6063
+ body: JSON.stringify(data)
6064
+ });
6065
+ }
6066
+ async listOrgSupportRequests(orgUuid, params) {
6067
+ return this.fetch(
6068
+ `o/${orgUuid}/support-requests${supportRequestParams(params)}`
6069
+ );
6070
+ }
6071
+ async getOrgSupportRequest(orgUuid, uuid) {
6072
+ return this.fetch(`o/${orgUuid}/support-requests/${uuid}`);
6073
+ }
6074
+ async createOrgSupportRequest(orgUuid, data) {
6075
+ return this.fetch(`o/${orgUuid}/support-requests`, {
6076
+ method: "POST",
6077
+ body: JSON.stringify(data)
6078
+ });
6079
+ }
6080
+ async commentOnOrgSupportRequest(orgUuid, uuid, data) {
6081
+ return this.fetch(`o/${orgUuid}/support-requests/${uuid}/comments`, {
6082
+ method: "POST",
6083
+ body: JSON.stringify(data)
6084
+ });
6085
+ }
6086
+ async listWorkspaceSupportRequests(workspaceUuid, params) {
6087
+ return this.fetch(
6088
+ `w/${workspaceUuid}/support-requests${supportRequestParams(params)}`
6089
+ );
6090
+ }
6091
+ async getWorkspaceSupportRequest(workspaceUuid, uuid) {
6092
+ return this.fetch(`w/${workspaceUuid}/support-requests/${uuid}`);
6093
+ }
6094
+ async createWorkspaceSupportRequest(workspaceUuid, data) {
6095
+ return this.fetch(`w/${workspaceUuid}/support-requests`, {
6096
+ method: "POST",
6097
+ body: JSON.stringify(data)
6098
+ });
6099
+ }
6100
+ async commentOnWorkspaceSupportRequest(workspaceUuid, uuid, data) {
6101
+ return this.fetch(`w/${workspaceUuid}/support-requests/${uuid}/comments`, {
6102
+ method: "POST",
6103
+ body: JSON.stringify(data)
6104
+ });
6105
+ }
6106
+ async closeWorkspaceSupportRequest(workspaceUuid, uuid, data = {}) {
6107
+ return this.fetch(`w/${workspaceUuid}/support-requests/${uuid}/close`, {
6108
+ method: "POST",
6109
+ body: JSON.stringify(data)
6110
+ });
6111
+ }
6112
+ };
6113
+
5653
6114
  // src/api/customers.ts
5654
6115
  var CustomersApi = class extends BaseApiClient {
5655
6116
  async getMyCustomers() {
@@ -5664,8 +6125,8 @@ var CustomersApi = class extends BaseApiClient {
5664
6125
  async getMyCustomerSubscriptions(uuid, opts) {
5665
6126
  const params = new URLSearchParams();
5666
6127
  if (opts?.status) params.set("status", opts.status);
5667
- if (opts?.page) params.set("page", String(opts.page));
5668
- if (opts?.pageSize) params.set("page_size", String(opts.pageSize));
6128
+ if (opts?.page !== void 0) params.set("page", String(opts.page));
6129
+ if (opts?.pageSize !== void 0) params.set("page_size", String(opts.pageSize));
5669
6130
  const qs = params.toString();
5670
6131
  return this.fetch(`customers/${uuid}/subscriptions${qs ? "?" + qs : ""}`);
5671
6132
  }
@@ -5702,6 +6163,16 @@ var CustomersApi = class extends BaseApiClient {
5702
6163
  method: "PUT"
5703
6164
  });
5704
6165
  }
6166
+ async getMyCustomerCreditGrants(uuid, opts) {
6167
+ const params = new URLSearchParams();
6168
+ if (opts?.subscriptionId !== void 0) {
6169
+ params.set("subscription_id", String(opts.subscriptionId));
6170
+ }
6171
+ if (opts?.page !== void 0) params.set("page", String(opts.page));
6172
+ if (opts?.pageSize !== void 0) params.set("page_size", String(opts.pageSize));
6173
+ const qs = params.toString();
6174
+ return this.fetch(`customers/${uuid}/credit-grants${qs ? "?" + qs : ""}`);
6175
+ }
5705
6176
  };
5706
6177
 
5707
6178
  // src/api/resellers.ts
@@ -5936,6 +6407,14 @@ var JourneysApi = class extends BaseApiClient {
5936
6407
  method: "DELETE"
5937
6408
  });
5938
6409
  }
6410
+ /**
6411
+ * Get Journey Health diagnostics — authoring issues and runtime
6412
+ * failures for a single journey. PHI-safe: response carries IDs,
6413
+ * counts, error_type strings, and timestamps only.
6414
+ */
6415
+ async getJourneyHealth(wid, journeyId) {
6416
+ return this.fetch(`w/${wid}/journeys/${journeyId}/health`);
6417
+ }
5939
6418
  /** Create a step within a journey. */
5940
6419
  async createStep(wid, journeyId, data) {
5941
6420
  return this.fetch(`w/${wid}/journeys/${journeyId}/steps`, {
@@ -6003,6 +6482,13 @@ var JourneysApi = class extends BaseApiClient {
6003
6482
  if (params?.page) qs.set("page", String(params.page));
6004
6483
  if (params?.pageSize) qs.set("pageSize", String(params.pageSize));
6005
6484
  if (params?.search) qs.set("search", params.search);
6485
+ if (params?.status) qs.set("status", params.status);
6486
+ if (params?.enrolledAfter) qs.set("enrolledAfter", params.enrolledAfter);
6487
+ if (params?.enrolledBefore) qs.set("enrolledBefore", params.enrolledBefore);
6488
+ if (params?.currentTaskId !== void 0)
6489
+ qs.set("currentTaskId", String(params.currentTaskId));
6490
+ if (params?.runtimeFailureEdgeId !== void 0)
6491
+ qs.set("runtimeFailureEdgeId", String(params.runtimeFailureEdgeId));
6006
6492
  const query = qs.toString();
6007
6493
  return this.fetch(
6008
6494
  `w/${wid}/journeys/${journeyId}/members${query ? `?${query}` : ""}`
@@ -6023,10 +6509,10 @@ var JourneysApi = class extends BaseApiClient {
6023
6509
  });
6024
6510
  }
6025
6511
  /** Re-enroll a canceled member back to enrolled status. */
6026
- async reenrollMember(wid, journeyId, memberId) {
6512
+ async reenrollMember(wid, journeyId, data) {
6027
6513
  return this.fetch(`w/${wid}/journeys/${journeyId}/reenroll`, {
6028
6514
  method: "POST",
6029
- body: JSON.stringify({ memberId })
6515
+ body: JSON.stringify(data)
6030
6516
  });
6031
6517
  }
6032
6518
  /** Hard-delete a canceled enrollment so the member can be re-enrolled fresh. */
@@ -6039,6 +6525,18 @@ var JourneysApi = class extends BaseApiClient {
6039
6525
  async getMemberJourneys(wid, memberId) {
6040
6526
  return this.fetch(`w/${wid}/journeys/by-member/${memberId}`);
6041
6527
  }
6528
+ /**
6529
+ * Dry-run heartbeat CEL evaluation for an enrolled member.
6530
+ *
6531
+ * Evaluates all PENDING steps exactly as the heartbeat would, but writes no
6532
+ * state changes. Returns step-by-step results for debugging stuck members.
6533
+ */
6534
+ async testRunJourney(wid, journeyId, memberId) {
6535
+ return this.fetch(
6536
+ `w/${wid}/journeys/${journeyId}/members/${memberId}/test-run`,
6537
+ { method: "POST" }
6538
+ );
6539
+ }
6042
6540
  // ===== JOURNEY NOTES =====
6043
6541
  /** List notes for a journey. */
6044
6542
  async getJourneyNotes(wid, journeyId) {
@@ -6191,6 +6689,30 @@ var WorkflowsApi = class extends BaseApiClient {
6191
6689
  `w/${wid}/workflows/${workflowId}/validate-config`
6192
6690
  );
6193
6691
  }
6692
+ /**
6693
+ * Replay automatic routing for a Chat without performing the transition.
6694
+ *
6695
+ * Operator tool: returns a PHI-safe trace describing what the
6696
+ * automatic-edge evaluator would do at the next turn. Never returns
6697
+ * raw CEL, Form values, Member values, Chat content, or raw
6698
+ * exception strings — only IDs, status labels, and the exception
6699
+ * class name when the evaluator raises.
6700
+ *
6701
+ * Requires Workflow edit permission.
6702
+ */
6703
+ async getWorkflowRouteDryRun(wid, workflowId, args) {
6704
+ const params = new URLSearchParams();
6705
+ params.set("chat_id", String(args.chatId));
6706
+ if (args.currentTaskId !== void 0) {
6707
+ params.set("current_task_id", String(args.currentTaskId));
6708
+ }
6709
+ if (args.currentAssignmentTaskId !== void 0) {
6710
+ params.set("current_assignment_task_id", String(args.currentAssignmentTaskId));
6711
+ }
6712
+ return this.fetch(
6713
+ `w/${wid}/workflows/${workflowId}/route-dry-run?${params.toString()}`
6714
+ );
6715
+ }
6194
6716
  // Workflow Contributors API
6195
6717
  /** List all contributors for a workflow. */
6196
6718
  async getWorkflowContributors(wid, workflowId) {
@@ -6340,7 +6862,7 @@ var WorkflowNotesApi = class extends BaseApiClient {
6340
6862
  }
6341
6863
  };
6342
6864
 
6343
- // src/types/coreTypes.ts
6865
+ // src/types/core-types.ts
6344
6866
  var AccessLevel2 = /* @__PURE__ */ ((AccessLevel3) => {
6345
6867
  AccessLevel3["PRIVATE"] = "private";
6346
6868
  AccessLevel3["PUBLIC"] = "public";
@@ -6454,7 +6976,14 @@ var Scope = /* @__PURE__ */ ((Scope2) => {
6454
6976
  return Scope2;
6455
6977
  })(Scope || {});
6456
6978
 
6457
- // src/types/memberTypes.ts
6979
+ // src/types/generated/member.ts
6980
+ var BulkMemberResultStatus = {
6981
+ created: "created",
6982
+ updated: "updated",
6983
+ failed: "failed"
6984
+ };
6985
+
6986
+ // src/types/member-types.ts
6458
6987
  var MemberType = /* @__PURE__ */ ((MemberType2) => {
6459
6988
  MemberType2["ANONYMOUS"] = "anonymous";
6460
6989
  MemberType2["TEST"] = "test";
@@ -6463,7 +6992,7 @@ var MemberType = /* @__PURE__ */ ((MemberType2) => {
6463
6992
  return MemberType2;
6464
6993
  })(MemberType || {});
6465
6994
 
6466
- // src/types/mcpServerTypes.ts
6995
+ // src/types/mcp-server-types.ts
6467
6996
  var McpServerState = /* @__PURE__ */ ((McpServerState2) => {
6468
6997
  McpServerState2["REGISTER"] = "register";
6469
6998
  McpServerState2["AUTHORIZE"] = "authorize";
@@ -6471,7 +7000,7 @@ var McpServerState = /* @__PURE__ */ ((McpServerState2) => {
6471
7000
  return McpServerState2;
6472
7001
  })(McpServerState || {});
6473
7002
 
6474
- // src/types/toolkitTypes.ts
7003
+ // src/types/toolkit-types.ts
6475
7004
  var ToolkitState = /* @__PURE__ */ ((ToolkitState2) => {
6476
7005
  ToolkitState2["DISABLED"] = "disabled";
6477
7006
  ToolkitState2["ENABLED"] = "enabled";
@@ -6479,7 +7008,7 @@ var ToolkitState = /* @__PURE__ */ ((ToolkitState2) => {
6479
7008
  return ToolkitState2;
6480
7009
  })(ToolkitState || {});
6481
7010
 
6482
- // src/types/eventTypes.ts
7011
+ // src/types/event-types.ts
6483
7012
  var EventRuleObjectType = /* @__PURE__ */ ((EventRuleObjectType2) => {
6484
7013
  EventRuleObjectType2["TASK"] = "task";
6485
7014
  EventRuleObjectType2["WORKSPACE"] = "workspace";
@@ -6490,7 +7019,6 @@ var EventRuleObjectType = /* @__PURE__ */ ((EventRuleObjectType2) => {
6490
7019
  EventRuleObjectType2["WORKFLOW"] = "workflow";
6491
7020
  EventRuleObjectType2["CALENDAR"] = "calendar";
6492
7021
  EventRuleObjectType2["CALENDAR_EVENT_TYPE"] = "calendar_event_type";
6493
- EventRuleObjectType2["MONDAY"] = "monday";
6494
7022
  EventRuleObjectType2["JOURNEY"] = "journey";
6495
7023
  EventRuleObjectType2["CALL"] = "call";
6496
7024
  return EventRuleObjectType2;
@@ -6512,7 +7040,8 @@ var EventRuleEventType = /* @__PURE__ */ ((EventRuleEventType2) => {
6512
7040
  EventRuleEventType2["CALENDAR_EVENT_CANCELLED"] = "calendar_event:cancelled";
6513
7041
  EventRuleEventType2["CALENDAR_EVENT_STARTING"] = "calendar_event:starting";
6514
7042
  EventRuleEventType2["CALENDAR_EVENT_ENDED"] = "calendar_event:ended";
6515
- EventRuleEventType2["MONDAY_WEBHOOK"] = "monday:webhook";
7043
+ EventRuleEventType2["CONNECTOR_EVENT"] = "connector:event";
7044
+ EventRuleEventType2["ASSIGNMENT_CONCLUDED"] = "assignment:concluded";
6516
7045
  EventRuleEventType2["JOURNEY_STEP_EXECUTE"] = "journey_step:execute";
6517
7046
  EventRuleEventType2["JOURNEY_ENROLLED"] = "journey:enrolled";
6518
7047
  EventRuleEventType2["JOURNEY_COMPLETED"] = "journey:completed";
@@ -6532,11 +7061,10 @@ var EventRuleActionType = /* @__PURE__ */ ((EventRuleActionType2) => {
6532
7061
  EventRuleActionType2["MESSAGE_VALIDATION"] = "message:validation";
6533
7062
  EventRuleActionType2["CHAT_CREATE"] = "chat:create";
6534
7063
  EventRuleActionType2["CHAT_CONTINUE"] = "chat:continue";
7064
+ EventRuleActionType2["CHAT_PAUSE"] = "chat:pause";
6535
7065
  EventRuleActionType2["CHAT_SUMMARIZE"] = "chat:summarize";
6536
7066
  EventRuleActionType2["EMAIL_SEND"] = "email:send";
6537
7067
  EventRuleActionType2["INVOKE_CUSTOM_TOOL"] = "custom_tool:invoke";
6538
- EventRuleActionType2["INVOKE_SUPERVISOR"] = "supervisor:invoke";
6539
- EventRuleActionType2["MONDAY_CREATE_ITEM"] = "monday:create_item";
6540
7068
  EventRuleActionType2["MONDAY_UPSERT_ITEM"] = "monday:upsert_item";
6541
7069
  EventRuleActionType2["MONDAY_REFRESH"] = "monday:refresh";
6542
7070
  EventRuleActionType2["ASSIGNMENT_CONCLUDE"] = "assignment:conclude";
@@ -6545,18 +7073,24 @@ var EventRuleActionType = /* @__PURE__ */ ((EventRuleActionType2) => {
6545
7073
  EventRuleActionType2["WHATSAPP_SEND"] = "whatsapp:send";
6546
7074
  EventRuleActionType2["PHONE_CALL"] = "phone:call";
6547
7075
  EventRuleActionType2["CONNECTION_SYNC"] = "connection:sync";
7076
+ EventRuleActionType2["CONNECTOR_OPERATION"] = "connector:operation";
6548
7077
  EventRuleActionType2["ECW_REFRESH_MEMBER_ENCOUNTERS"] = "ecw:refresh_member_encounters";
7078
+ EventRuleActionType2["PLAY_AUDIO"] = "audio:play";
6549
7079
  return EventRuleActionType2;
6550
7080
  })(EventRuleActionType || {});
7081
+ function eventRuleActionParams(params) {
7082
+ return params ?? {};
7083
+ }
6551
7084
  var MASKED_SECRET_SENTINEL = "__SECRET_SET__";
6552
7085
 
6553
- // src/types/billingTypes.ts
7086
+ // src/types/billing-types.ts
6554
7087
  var WorkspaceFeature = /* @__PURE__ */ ((WorkspaceFeature2) => {
6555
7088
  WorkspaceFeature2["PHONE"] = "phone";
6556
7089
  WorkspaceFeature2["EMAIL"] = "email";
6557
7090
  WorkspaceFeature2["WHATSAPP"] = "whatsapp";
6558
7091
  WorkspaceFeature2["DISCORD"] = "discord";
6559
7092
  WorkspaceFeature2["SLACK"] = "slack";
7093
+ WorkspaceFeature2["TEAMS"] = "teams";
6560
7094
  WorkspaceFeature2["SITES"] = "sites";
6561
7095
  WorkspaceFeature2["FORMS"] = "forms";
6562
7096
  WorkspaceFeature2["MAPS"] = "maps";
@@ -6629,7 +7163,7 @@ var ORG_ONLY_RESOURCES = /* @__PURE__ */ new Set([
6629
7163
  "phone_number" /* PHONE_NUMBER */
6630
7164
  ]);
6631
7165
 
6632
- // src/types/workspaceTypes.ts
7166
+ // src/types/workspace-types.ts
6633
7167
  var WorkspaceProvisionStatus = /* @__PURE__ */ ((WorkspaceProvisionStatus2) => {
6634
7168
  WorkspaceProvisionStatus2[WorkspaceProvisionStatus2["UNPROVISIONED"] = 0] = "UNPROVISIONED";
6635
7169
  WorkspaceProvisionStatus2[WorkspaceProvisionStatus2["PROVISIONING"] = 1] = "PROVISIONING";
@@ -6644,7 +7178,7 @@ var WorkspaceProvisionStatus = /* @__PURE__ */ ((WorkspaceProvisionStatus2) => {
6644
7178
  return WorkspaceProvisionStatus2;
6645
7179
  })(WorkspaceProvisionStatus || {});
6646
7180
 
6647
- // src/types/invitationTypes.ts
7181
+ // src/types/invitation-types.ts
6648
7182
  var InvitationStatus = /* @__PURE__ */ ((InvitationStatus2) => {
6649
7183
  InvitationStatus2["REQUESTED"] = "requested";
6650
7184
  InvitationStatus2["INVITED"] = "invited";
@@ -6655,7 +7189,7 @@ var InvitationStatus = /* @__PURE__ */ ((InvitationStatus2) => {
6655
7189
  return InvitationStatus2;
6656
7190
  })(InvitationStatus || {});
6657
7191
 
6658
- // src/types/dataTypes.ts
7192
+ // src/types/data-types.ts
6659
7193
  var DataFieldType = /* @__PURE__ */ ((DataFieldType2) => {
6660
7194
  DataFieldType2["ENUM"] = "enum";
6661
7195
  DataFieldType2["EMAIL"] = "email";
@@ -6663,35 +7197,82 @@ var DataFieldType = /* @__PURE__ */ ((DataFieldType2) => {
6663
7197
  DataFieldType2["TEXT"] = "text";
6664
7198
  DataFieldType2["LONGTEXT"] = "longtext";
6665
7199
  DataFieldType2["NUMBER"] = "number";
7200
+ DataFieldType2["INTEGER"] = "integer";
6666
7201
  DataFieldType2["DATE"] = "date";
6667
7202
  DataFieldType2["DATETIME"] = "datetime";
6668
7203
  DataFieldType2["TIME_OF_DAY"] = "time_of_day";
6669
- DataFieldType2["US_ZIP_CODE"] = "us_zip_code";
6670
- DataFieldType2["INTEGER"] = "integer";
6671
7204
  DataFieldType2["BOOLEAN"] = "boolean";
7205
+ DataFieldType2["FILE"] = "file";
7206
+ DataFieldType2["REFERENCE"] = "reference";
7207
+ DataFieldType2["FUNCTION"] = "function";
6672
7208
  DataFieldType2["ARRAY"] = "array";
6673
7209
  DataFieldType2["OBJECT"] = "object";
6674
- DataFieldType2["FUNCTION"] = "function";
7210
+ DataFieldType2["US_ZIP_CODE"] = "us_zip_code";
6675
7211
  return DataFieldType2;
6676
7212
  })(DataFieldType || {});
6677
7213
  var IndexStatus = /* @__PURE__ */ ((IndexStatus2) => {
6678
- IndexStatus2["NONE"] = "none";
6679
- IndexStatus2["PENDING"] = "pending";
6680
- IndexStatus2["CREATING"] = "creating";
6681
- IndexStatus2["REMOVING"] = "removing";
6682
- IndexStatus2["READY"] = "ready";
7214
+ IndexStatus2["NOT_INDEXED"] = "not_indexed";
7215
+ IndexStatus2["INDEXING"] = "indexing";
7216
+ IndexStatus2["INDEXED"] = "indexed";
6683
7217
  IndexStatus2["ERROR"] = "error";
6684
7218
  return IndexStatus2;
6685
7219
  })(IndexStatus || {});
7220
+ var DataTypeRecordScope = /* @__PURE__ */ ((DataTypeRecordScope2) => {
7221
+ DataTypeRecordScope2["WORKSPACE"] = "workspace";
7222
+ DataTypeRecordScope2["MEMBER"] = "member";
7223
+ return DataTypeRecordScope2;
7224
+ })(DataTypeRecordScope || {});
7225
+ var DataSensitivity = /* @__PURE__ */ ((DataSensitivity2) => {
7226
+ DataSensitivity2["PUBLIC"] = "public";
7227
+ DataSensitivity2["INTERNAL"] = "internal";
7228
+ DataSensitivity2["CONFIDENTIAL"] = "confidential";
7229
+ DataSensitivity2["RESTRICTED"] = "restricted";
7230
+ DataSensitivity2["SECRET"] = "secret";
7231
+ return DataSensitivity2;
7232
+ })(DataSensitivity || {});
7233
+ var DataCategory = /* @__PURE__ */ ((DataCategory2) => {
7234
+ DataCategory2["PHI"] = "phi";
7235
+ DataCategory2["PII"] = "pii";
7236
+ DataCategory2["FINANCIAL"] = "financial";
7237
+ DataCategory2["OPERATIONAL"] = "operational";
7238
+ DataCategory2["CREDENTIAL"] = "credential";
7239
+ DataCategory2["PERSONAL"] = "personal";
7240
+ DataCategory2["IDENTIFIER"] = "identifier";
7241
+ return DataCategory2;
7242
+ })(DataCategory || {});
7243
+
7244
+ // src/types/generated/ai_model.ts
7245
+ var ModelProvider = {
7246
+ unknown: "unknown",
7247
+ openai: "openai",
7248
+ google: "google",
7249
+ anthropic: "anthropic",
7250
+ aws: "aws",
7251
+ elevenlabs: "elevenlabs",
7252
+ deepgram: "deepgram",
7253
+ pocket: "pocket",
7254
+ xai: "xai",
7255
+ custom: "custom"
7256
+ };
7257
+ var ModelType = {
7258
+ chat: "chat",
7259
+ realtime: "realtime",
7260
+ image: "image",
7261
+ video: "video",
7262
+ stt: "stt",
7263
+ tts: "tts"
7264
+ };
6686
7265
 
6687
- // src/types/aiModelTypes.ts
7266
+ // src/types/ai-model-types.ts
6688
7267
  var REALTIME_MODEL_OPENAI = "openai:realtime:gpt-realtime";
6689
7268
  var REALTIME_MODEL_OPENAI_MINI = "openai:realtime:gpt-realtime-mini";
7269
+ var REALTIME_MODEL_OPENAI_2 = "openai:realtime:gpt-realtime-2";
6690
7270
  var REALTIME_MODEL_GEMINI = "google:aistudio:gemini-3.1-flash-live";
6691
7271
  var REALTIME_MODEL_GEMINI_VERTEX = "google:vertex:gemini-3.1-flash-live";
6692
7272
  var REALTIME_MODEL_NOVA_SONIC = "aws:bedrock:nova-sonic-1";
6693
7273
  var REALTIME_MODEL_CUSTOM = "custom:realtime:composable";
6694
7274
  var STT_MODEL_DEEPGRAM_FLUX = "deepgram:stt:flux-general-en";
7275
+ var STT_MODEL_DEEPGRAM_FLUX_MULTI = "deepgram:stt:flux-general-multi";
6695
7276
  var STT_MODEL_ELEVENLABS_SCRIBE = "elevenlabs:stt:scribe_v2_realtime";
6696
7277
  var TTS_MODEL_ELEVENLABS_FLASH = "elevenlabs:tts:eleven_flash_v2_5";
6697
7278
  var TTS_MODEL_ELEVENLABS_TURBO = "elevenlabs:tts:eleven_turbo_v2_5";
@@ -6701,7 +7282,7 @@ var TTS_MODEL_AWS_POLLY_GENERATIVE = "aws:tts:polly-generative";
6701
7282
  var TTS_MODEL_AWS_POLLY_NEURAL = "aws:tts:polly-neural";
6702
7283
  var TTS_MODEL_POCKET = "pocket:tts:default";
6703
7284
 
6704
- // src/types/calendarTypes.ts
7285
+ // src/types/calendar-types.ts
6705
7286
  var CalendarPermissionType = /* @__PURE__ */ ((CalendarPermissionType2) => {
6706
7287
  CalendarPermissionType2["NONE"] = "NONE";
6707
7288
  CalendarPermissionType2["FREE_BUSY"] = "FREE_BUSY";
@@ -6750,7 +7331,7 @@ var AttendeeResponseStatus = /* @__PURE__ */ ((AttendeeResponseStatus2) => {
6750
7331
  return AttendeeResponseStatus2;
6751
7332
  })(AttendeeResponseStatus || {});
6752
7333
 
6753
- // src/types/fhirConnectionTypes.ts
7334
+ // src/types/fhir-connection-types.ts
6754
7335
  var FhirVendor = /* @__PURE__ */ ((FhirVendor2) => {
6755
7336
  FhirVendor2["ECLINICALWORKS"] = "eclinicalworks";
6756
7337
  FhirVendor2["EPIC"] = "epic";
@@ -6770,7 +7351,7 @@ var FhirClientType = /* @__PURE__ */ ((FhirClientType2) => {
6770
7351
  return FhirClientType2;
6771
7352
  })(FhirClientType || {});
6772
7353
 
6773
- // src/types/qualificationTypes.ts
7354
+ // src/types/qualification-types.ts
6774
7355
  var CriterionType = /* @__PURE__ */ ((CriterionType2) => {
6775
7356
  CriterionType2["EXPRESSION"] = "expression";
6776
7357
  CriterionType2["RUBRIC"] = "rubric";
@@ -6782,13 +7363,15 @@ var DriverMode = /* @__PURE__ */ ((DriverMode2) => {
6782
7363
  return DriverMode2;
6783
7364
  })(DriverMode || {});
6784
7365
 
6785
- // src/types/accessGrantTypes.ts
7366
+ // src/types/access-grant-types.ts
6786
7367
  var AccessGrantResourceType = /* @__PURE__ */ ((AccessGrantResourceType2) => {
6787
7368
  AccessGrantResourceType2["DATA_RECORD"] = "data_record";
6788
7369
  AccessGrantResourceType2["DATA_TYPE"] = "data_type";
6789
7370
  AccessGrantResourceType2["FILE"] = "file";
6790
7371
  AccessGrantResourceType2["FOLDER"] = "folder";
6791
7372
  AccessGrantResourceType2["CALENDAR"] = "calendar";
7373
+ AccessGrantResourceType2["INBOX"] = "inbox";
7374
+ AccessGrantResourceType2["SITE"] = "site";
6792
7375
  AccessGrantResourceType2["ASSIGNMENT"] = "assignment";
6793
7376
  AccessGrantResourceType2["APP_CONNECTION"] = "app_connection";
6794
7377
  return AccessGrantResourceType2;
@@ -6818,7 +7401,7 @@ var ConsentMethod = /* @__PURE__ */ ((ConsentMethod2) => {
6818
7401
  return ConsentMethod2;
6819
7402
  })(ConsentMethod || {});
6820
7403
 
6821
- // src/api/workspaceInvitations.ts
7404
+ // src/api/workspace-invitations.ts
6822
7405
  var WorkspaceInvitationsApi = class extends BaseApiClient {
6823
7406
  /**
6824
7407
  * List user's own invitations (both org and workspace).
@@ -7003,6 +7586,17 @@ var WorkspacesApi = class extends BaseApiClient {
7003
7586
  body: JSON.stringify(defaults)
7004
7587
  });
7005
7588
  }
7589
+ /** Get the full first-run onboarding state for a workspace. */
7590
+ async getFirstRunState(wid) {
7591
+ return this.fetch(`w/${wid}/first-run-state`);
7592
+ }
7593
+ /** Update the first-run onboarding state for a workspace. */
7594
+ async updateFirstRunState(wid, state) {
7595
+ return this.fetch(`w/${wid}/first-run-state`, {
7596
+ method: "PUT",
7597
+ body: JSON.stringify(state)
7598
+ });
7599
+ }
7006
7600
  /** Get entity counts (members, tasks, workflows, etc.) for a workspace. */
7007
7601
  async getWorkspaceCounts(wid) {
7008
7602
  return this.fetch(`w/${wid}/counts`);
@@ -7084,6 +7678,14 @@ var WorkspacesApi = class extends BaseApiClient {
7084
7678
  async listPushSubscriptions(wid) {
7085
7679
  return this.fetch(`w/${wid}/push-subscriptions`);
7086
7680
  }
7681
+ /** List org domains available for workspace email inbox routing. */
7682
+ async getWorkspaceEmailDomains(wid) {
7683
+ return this.fetch(`w/${wid}/domains/for-email`);
7684
+ }
7685
+ /** List org domains available for workspace custom site routing. */
7686
+ async getWorkspaceSiteDomains(wid) {
7687
+ return this.fetch(`w/${wid}/domains/for-site`);
7688
+ }
7087
7689
  /** List client workspaces managed by this reseller workspace, paginated. */
7088
7690
  async getResellerWorkspaces(wid, params) {
7089
7691
  const query = new URLSearchParams();
@@ -7134,6 +7736,10 @@ var WorkspacesApi = class extends BaseApiClient {
7134
7736
  async getProduct(id) {
7135
7737
  return this.fetch(`products/${id}`);
7136
7738
  }
7739
+ /** Get a product from a reseller workspace. Requires workspace admin scope. */
7740
+ async getWorkspaceProduct(wid, id) {
7741
+ return this.fetch(`w/${wid}/reseller/products/${id}`);
7742
+ }
7137
7743
  /** List public products for a workspace's storefront. No auth required. */
7138
7744
  async getPublicProducts(workspaceUuid, featured) {
7139
7745
  const params = new URLSearchParams({ workspace_uuid: workspaceUuid });
@@ -7321,7 +7927,6 @@ function createApiModules(apiKey, baseUrl, customFetch) {
7321
7927
  return {
7322
7928
  abilities: new AbilitiesApi(apiKey, baseUrl, customFetch),
7323
7929
  accessGrants: new AccessGrantsApi(apiKey, baseUrl, customFetch),
7324
- agentJobs: new AgentJobsApi(apiKey, baseUrl, customFetch),
7325
7930
  agentTasks: new AgentTasksApi(apiKey, baseUrl, customFetch),
7326
7931
  agents: new AgentsApi(apiKey, baseUrl, customFetch),
7327
7932
  aiModels: new AIModelsApi(apiKey, baseUrl, customFetch),
@@ -7340,6 +7945,7 @@ function createApiModules(apiKey, baseUrl, customFetch) {
7340
7945
  dataTypes: new DataTypesApi(apiKey, baseUrl, customFetch),
7341
7946
  discordBots: new DiscordBotsApi(apiKey, baseUrl, customFetch),
7342
7947
  slackApps: new SlackAppsApi(apiKey, baseUrl, customFetch),
7948
+ teamsApps: new TeamsAppsApi(apiKey, baseUrl, customFetch),
7343
7949
  events: new EventsApi(apiKey, baseUrl, customFetch),
7344
7950
  fhirConnections: new FhirConnectionsApi(apiKey, baseUrl, customFetch),
7345
7951
  healthie: new HealthieApi(apiKey, baseUrl, customFetch),
@@ -7359,6 +7965,7 @@ function createApiModules(apiKey, baseUrl, customFetch) {
7359
7965
  notificationRules: new NotificationRulesApi(apiKey, baseUrl, customFetch),
7360
7966
  oauth: new OAuthApi(apiKey, baseUrl, customFetch),
7361
7967
  operatorGroups: new OperatorApi(apiKey, baseUrl, customFetch),
7968
+ org: new OrgApi(apiKey, baseUrl, customFetch),
7362
7969
  oauthConnections: new OAuthConnectionsApi(apiKey, baseUrl, customFetch),
7363
7970
  phoneNumbers: new PhoneNumbersApi(apiKey, baseUrl, customFetch),
7364
7971
  pronunciations: new PronunciationsApi(apiKey, baseUrl, customFetch),
@@ -7368,6 +7975,7 @@ function createApiModules(apiKey, baseUrl, customFetch) {
7368
7975
  salesforce: new SalesforceApi(apiKey, baseUrl, customFetch),
7369
7976
  sites: new SitesApi(apiKey, baseUrl, customFetch),
7370
7977
  subscriptions: new SubscriptionsApi(apiKey, baseUrl, customFetch),
7978
+ supportRequests: new SupportRequestsApi(apiKey, baseUrl, customFetch),
7371
7979
  supervisors: new SupervisorsApi(apiKey, baseUrl, customFetch),
7372
7980
  tasks: new TasksApi(apiKey, baseUrl, customFetch),
7373
7981
  templates: new TemplatesApi(apiKey, baseUrl, customFetch),
@@ -7393,16 +8001,6 @@ function bindAccessGrantsMethods(target, accessGrants) {
7393
8001
  target.getMemberGrants = accessGrants.getMemberGrants.bind(accessGrants);
7394
8002
  }
7395
8003
 
7396
- // src/client/bindings/agent-jobs.ts
7397
- function bindAgentJobsMethods(target, api) {
7398
- target.listAgentJobs = api.listAgentJobs.bind(api);
7399
- target.getAgentJob = api.getAgentJob.bind(api);
7400
- target.createAgentJob = api.createAgentJob.bind(api);
7401
- target.updateAgentJob = api.updateAgentJob.bind(api);
7402
- target.deleteAgentJob = api.deleteAgentJob.bind(api);
7403
- target.getAgentJobRuns = api.getAgentJobRuns.bind(api);
7404
- }
7405
-
7406
8004
  // src/client/bindings/agent-tasks.ts
7407
8005
  function bindAgentTasksMethods(target, api) {
7408
8006
  target.getAgentTasks = api.getAgentTasks.bind(api);
@@ -7478,6 +8076,7 @@ function bindChatsMethods(target, chats) {
7478
8076
  target.createChatFilter = chats.createChatFilter.bind(chats);
7479
8077
  target.updateChatFilter = chats.updateChatFilter.bind(chats);
7480
8078
  target.deleteChatFilter = chats.deleteChatFilter.bind(chats);
8079
+ target.getChatFilterCount = chats.getChatFilterCount.bind(chats);
7481
8080
  }
7482
8081
 
7483
8082
  // src/client/bindings/calls.ts
@@ -7560,6 +8159,7 @@ function bindMembersMethods(target, members) {
7560
8159
  target.resolveAnonymousMember = members.resolveAnonymousMember.bind(members);
7561
8160
  target.expireAnonymousMember = members.expireAnonymousMember.bind(members);
7562
8161
  target.getMemberMemories = members.getMemberMemories.bind(members);
8162
+ target.createMemberMemory = members.createMemberMemory.bind(members);
7563
8163
  target.deleteMemberMemory = members.deleteMemberMemory.bind(members);
7564
8164
  }
7565
8165
 
@@ -7574,6 +8174,8 @@ function bindWorkspacesMethods(target, workspaces, signupRequests) {
7574
8174
  target.leaveWorkspace = workspaces.leaveWorkspace.bind(workspaces);
7575
8175
  target.getWorkspaceDefaults = workspaces.getWorkspaceDefaults.bind(workspaces);
7576
8176
  target.updateWorkspaceDefaults = workspaces.updateWorkspaceDefaults.bind(workspaces);
8177
+ target.getFirstRunState = workspaces.getFirstRunState.bind(workspaces);
8178
+ target.updateFirstRunState = workspaces.updateFirstRunState.bind(workspaces);
7577
8179
  target.getWorkspaceCounts = workspaces.getWorkspaceCounts.bind(workspaces);
7578
8180
  target.getBusinessHoursStatus = workspaces.getBusinessHoursStatus.bind(workspaces);
7579
8181
  target.getAvailableWorkspaceFeatures = workspaces.getAvailableWorkspaceFeatures.bind(workspaces);
@@ -7592,6 +8194,7 @@ function bindWorkspacesMethods(target, workspaces, signupRequests) {
7592
8194
  target.provisionClientWorkspace = workspaces.provisionClientWorkspace.bind(workspaces);
7593
8195
  target.getProducts = workspaces.getProducts.bind(workspaces);
7594
8196
  target.getProduct = workspaces.getProduct.bind(workspaces);
8197
+ target.getWorkspaceProduct = workspaces.getWorkspaceProduct.bind(workspaces);
7595
8198
  target.getPublicProducts = workspaces.getPublicProducts.bind(workspaces);
7596
8199
  target.getPublicProduct = workspaces.getPublicProduct.bind(workspaces);
7597
8200
  target.createProduct = workspaces.createProduct.bind(workspaces);
@@ -7610,6 +8213,8 @@ function bindWorkspacesMethods(target, workspaces, signupRequests) {
7610
8213
  target.registerPushSubscription = workspaces.registerPushSubscription.bind(workspaces);
7611
8214
  target.unregisterPushSubscription = workspaces.unregisterPushSubscription.bind(workspaces);
7612
8215
  target.listPushSubscriptions = workspaces.listPushSubscriptions.bind(workspaces);
8216
+ target.getWorkspaceEmailDomains = workspaces.getWorkspaceEmailDomains.bind(workspaces);
8217
+ target.getWorkspaceSiteDomains = workspaces.getWorkspaceSiteDomains.bind(workspaces);
7613
8218
  target.listWorkspaceInvitations = signupRequests.listWorkspaceInvitations.bind(signupRequests);
7614
8219
  target.listWorkspaceInvitationsAdmin = signupRequests.listWorkspaceInvitationsAdmin.bind(signupRequests);
7615
8220
  target.getWorkspaceInvitation = signupRequests.getWorkspaceInvitation.bind(signupRequests);
@@ -7899,6 +8504,7 @@ function bindCommunicationsMethods(target, phoneNumbers, inboxes, notificationRu
7899
8504
  target.getInboxThreads = inboxes.getInboxThreads.bind(inboxes);
7900
8505
  target.getThreadEmails = inboxes.getThreadEmails.bind(inboxes);
7901
8506
  target.getChatEmails = inboxes.getChatEmails.bind(inboxes);
8507
+ target.replyToEmail = inboxes.replyToEmail.bind(inboxes);
7902
8508
  target.getNotificationRules = notificationRules.getNotificationRules.bind(notificationRules);
7903
8509
  target.createNotificationRule = notificationRules.createNotificationRule.bind(notificationRules);
7904
8510
  target.updateNotificationRule = notificationRules.updateNotificationRule.bind(notificationRules);
@@ -7983,6 +8589,7 @@ function bindAppsMethods(target, apps, builders, inquiries, oauth, oauthConnecti
7983
8589
  target.updateBuilder = builders.updateBuilder.bind(builders);
7984
8590
  target.deleteBuilder = builders.deleteBuilder.bind(builders);
7985
8591
  target.createInquiry = inquiries.createInquiry.bind(inquiries);
8592
+ target.enrichInquiry = inquiries.enrichInquiry.bind(inquiries);
7986
8593
  target.listInquiries = inquiries.listInquiries.bind(inquiries);
7987
8594
  target.getInquiry = inquiries.getInquiry.bind(inquiries);
7988
8595
  target.updateInquiry = inquiries.updateInquiry.bind(inquiries);
@@ -7997,13 +8604,10 @@ function bindAppsMethods(target, apps, builders, inquiries, oauth, oauthConnecti
7997
8604
  }
7998
8605
 
7999
8606
  // src/client/bindings/integrations.ts
8000
- function bindIntegrationsMethods(target, mondayIntegration, discordBots, slackApps, fhirConnections, healthie, salesforce, hubspot, appConnections, connectionSync, confluence) {
8607
+ function bindIntegrationsMethods(target, mondayIntegration, discordBots, slackApps, teamsApps, fhirConnections, healthie, salesforce, hubspot, appConnections, connectionSync, confluence) {
8001
8608
  target.getMondayBoards = mondayIntegration.getBoards.bind(mondayIntegration);
8002
8609
  target.getMondayBoardColumns = mondayIntegration.getBoardColumns.bind(mondayIntegration);
8003
8610
  target.getMondayBoardGroups = mondayIntegration.getBoardGroups.bind(mondayIntegration);
8004
- target.createMondayWebhook = mondayIntegration.createWebhook.bind(mondayIntegration);
8005
- target.deleteMondayWebhook = mondayIntegration.deleteWebhook.bind(mondayIntegration);
8006
- target.getMondayWebhook = mondayIntegration.getWebhook.bind(mondayIntegration);
8007
8611
  target.getMondayCurrentUserInfo = mondayIntegration.getCurrentUserInfo.bind(mondayIntegration);
8008
8612
  target.configureMondayConnection = mondayIntegration.configureMondayConnection.bind(mondayIntegration);
8009
8613
  target.getMondayConnectionStatus = mondayIntegration.getMondayConnectionStatus.bind(mondayIntegration);
@@ -8047,6 +8651,14 @@ function bindIntegrationsMethods(target, mondayIntegration, discordBots, slackAp
8047
8651
  target.getSlackThreads = slackApps.getSlackThreads.bind(slackApps);
8048
8652
  target.getSlackInstallations = slackApps.getSlackInstallations.bind(slackApps);
8049
8653
  target.getSlackAppAccounts = slackApps.getSlackAppAccounts.bind(slackApps);
8654
+ target.getTeamsApps = teamsApps.getTeamsApps.bind(teamsApps);
8655
+ target.getTeamsApp = teamsApps.getTeamsApp.bind(teamsApps);
8656
+ target.createTeamsApp = teamsApps.createTeamsApp.bind(teamsApps);
8657
+ target.updateTeamsApp = teamsApps.updateTeamsApp.bind(teamsApps);
8658
+ target.deleteTeamsApp = teamsApps.deleteTeamsApp.bind(teamsApps);
8659
+ target.getTeamsConversations = teamsApps.getTeamsConversations.bind(teamsApps);
8660
+ target.getTeamsInstallations = teamsApps.getTeamsInstallations.bind(teamsApps);
8661
+ target.getTeamsAppAccounts = teamsApps.getTeamsAppAccounts.bind(teamsApps);
8050
8662
  target.getFhirConnections = fhirConnections.getFhirConnections.bind(fhirConnections);
8051
8663
  target.getFhirConnection = fhirConnections.getFhirConnection.bind(fhirConnections);
8052
8664
  target.getFhirConnectionByUuid = fhirConnections.getFhirConnectionByUuid.bind(fhirConnections);
@@ -8087,6 +8699,10 @@ function bindIntegrationsMethods(target, mondayIntegration, discordBots, slackAp
8087
8699
  target.getHealthieReconciliationMatches = healthie.getHealthieReconciliationMatches.bind(healthie);
8088
8700
  target.linkMemberToHealthie = healthie.linkMemberToHealthie.bind(healthie);
8089
8701
  target.unlinkMemberFromHealthie = healthie.unlinkMemberFromHealthie.bind(healthie);
8702
+ target.listHealthieAppointmentTypes = healthie.listHealthieAppointmentTypes.bind(healthie);
8703
+ target.listHealthiePatients = healthie.listHealthiePatients.bind(healthie);
8704
+ target.getHealthieAvailableSlots = healthie.getHealthieAvailableSlots.bind(healthie);
8705
+ target.bookHealthieAppointment = healthie.bookHealthieAppointment.bind(healthie);
8090
8706
  target.configureConfluence = confluence.configureConfluence.bind(confluence);
8091
8707
  target.startConfluenceOAuth = confluence.startConfluenceOAuth.bind(confluence);
8092
8708
  target.getConfluenceStatus = confluence.getConfluenceStatus.bind(confluence);
@@ -8139,12 +8755,14 @@ function bindIntegrationsMethods(target, mondayIntegration, discordBots, slackAp
8139
8755
  target.getSyncRuns = connectionSync.getSyncRuns.bind(connectionSync);
8140
8756
  target.getSyncRunItems = connectionSync.getSyncRunItems.bind(connectionSync);
8141
8757
  target.getMemberSyncSummary = connectionSync.getMemberSyncSummary.bind(connectionSync);
8758
+ target.clearConnectionMemberExclusion = connectionSync.clearConnectionMemberExclusion.bind(connectionSync);
8142
8759
  target.listAvailableAppConnections = appConnections.listAvailableAppConnections.bind(appConnections);
8143
8760
  target.listAppConnections = appConnections.listAppConnections.bind(appConnections);
8144
8761
  target.enablePlatformApp = appConnections.enablePlatformApp.bind(appConnections);
8145
8762
  target.getPlatformApp = appConnections.getPlatformApp.bind(appConnections);
8146
8763
  target.updatePlatformApp = appConnections.updatePlatformApp.bind(appConnections);
8147
8764
  target.deletePlatformApp = appConnections.deletePlatformApp.bind(appConnections);
8765
+ target.listConnectionMemberFieldKeys = appConnections.listConnectionMemberFieldKeys.bind(appConnections);
8148
8766
  }
8149
8767
 
8150
8768
  // src/client/bindings/operator-groups.ts
@@ -8163,6 +8781,27 @@ function bindOperatorMethods(target, operatorGroups) {
8163
8781
  target.sendOperatorMessage = operatorGroups.sendOperatorMessage.bind(operatorGroups);
8164
8782
  }
8165
8783
 
8784
+ // src/client/bindings/org.ts
8785
+ function bindOrgMethods(target, org) {
8786
+ target.listOrgDomains = org.listOrgDomains.bind(org);
8787
+ target.registerOrgDomain = org.registerOrgDomain.bind(org);
8788
+ target.getOrgDomain = org.getOrgDomain.bind(org);
8789
+ target.verifyOrgDomainOwnership = org.verifyOrgDomainOwnership.bind(org);
8790
+ target.deleteOrgDomain = org.deleteOrgDomain.bind(org);
8791
+ target.enableOrgDomainEmail = org.enableOrgDomainEmail.bind(org);
8792
+ target.getOrgDomainEmail = org.getOrgDomainEmail.bind(org);
8793
+ target.verifyOrgDomainEmail = org.verifyOrgDomainEmail.bind(org);
8794
+ target.disableOrgDomainEmail = org.disableOrgDomainEmail.bind(org);
8795
+ target.enableOrgDomainSite = org.enableOrgDomainSite.bind(org);
8796
+ target.getOrgDomainSite = org.getOrgDomainSite.bind(org);
8797
+ target.verifyOrgDomainSite = org.verifyOrgDomainSite.bind(org);
8798
+ target.disableOrgDomainSite = org.disableOrgDomainSite.bind(org);
8799
+ target.getBusinessProfile = org.getBusinessProfile.bind(org);
8800
+ target.updateBusinessProfile = org.updateBusinessProfile.bind(org);
8801
+ target.submitBusinessProfile = org.submitBusinessProfile.bind(org);
8802
+ target.cancelBusinessProfile = org.cancelBusinessProfile.bind(org);
8803
+ }
8804
+
8166
8805
  // src/client/bindings/pronunciations.ts
8167
8806
  function bindPronunciationsMethods(target, pronunciations) {
8168
8807
  target.getPronunciationEntries = pronunciations.getPronunciationEntries.bind(pronunciations);
@@ -8184,6 +8823,7 @@ function bindPronunciationsMethods(target, pronunciations) {
8184
8823
  function bindJourneysMethods(target, journeys) {
8185
8824
  target.getJourneys = journeys.getJourneys.bind(journeys);
8186
8825
  target.getJourney = journeys.getJourney.bind(journeys);
8826
+ target.getJourneyHealth = journeys.getJourneyHealth.bind(journeys);
8187
8827
  target.createJourney = journeys.createJourney.bind(journeys);
8188
8828
  target.updateJourney = journeys.updateJourney.bind(journeys);
8189
8829
  target.archiveJourney = journeys.archiveJourney.bind(journeys);
@@ -8202,6 +8842,7 @@ function bindJourneysMethods(target, journeys) {
8202
8842
  target.reenrollMember = journeys.reenrollMember.bind(journeys);
8203
8843
  target.deleteEnrollment = journeys.deleteEnrollment.bind(journeys);
8204
8844
  target.getMemberJourneys = journeys.getMemberJourneys.bind(journeys);
8845
+ target.testRunJourney = journeys.testRunJourney.bind(journeys);
8205
8846
  target.getJourneyNotes = journeys.getJourneyNotes.bind(journeys);
8206
8847
  target.createJourneyNote = journeys.createJourneyNote.bind(journeys);
8207
8848
  target.updateJourneyNote = journeys.updateJourneyNote.bind(journeys);
@@ -8247,6 +8888,7 @@ function bindCustomersMethods(target, customers) {
8247
8888
  target.attachMyCustomerPaymentMethod = customers.attachMyCustomerPaymentMethod.bind(customers);
8248
8889
  target.detachMyCustomerPaymentMethod = customers.detachMyCustomerPaymentMethod.bind(customers);
8249
8890
  target.setDefaultMyCustomerPaymentMethod = customers.setDefaultMyCustomerPaymentMethod.bind(customers);
8891
+ target.getMyCustomerCreditGrants = customers.getMyCustomerCreditGrants.bind(customers);
8250
8892
  }
8251
8893
 
8252
8894
  // src/client/bindings/resellers.ts
@@ -8264,6 +8906,23 @@ function bindPromptsMethods(target, prompts) {
8264
8906
  target.inspectPrompt = prompts.inspectPrompt.bind(prompts);
8265
8907
  }
8266
8908
 
8909
+ // src/client/bindings/support-requests.ts
8910
+ function bindSupportRequestMethods(target, supportRequests) {
8911
+ target.listSupportRequests = supportRequests.listSupportRequests.bind(supportRequests);
8912
+ target.getSupportRequest = supportRequests.getSupportRequest.bind(supportRequests);
8913
+ target.createSupportRequest = supportRequests.createSupportRequest.bind(supportRequests);
8914
+ target.commentOnSupportRequest = supportRequests.commentOnSupportRequest.bind(supportRequests);
8915
+ target.listOrgSupportRequests = supportRequests.listOrgSupportRequests.bind(supportRequests);
8916
+ target.getOrgSupportRequest = supportRequests.getOrgSupportRequest.bind(supportRequests);
8917
+ target.createOrgSupportRequest = supportRequests.createOrgSupportRequest.bind(supportRequests);
8918
+ target.commentOnOrgSupportRequest = supportRequests.commentOnOrgSupportRequest.bind(supportRequests);
8919
+ target.listWorkspaceSupportRequests = supportRequests.listWorkspaceSupportRequests.bind(supportRequests);
8920
+ target.getWorkspaceSupportRequest = supportRequests.getWorkspaceSupportRequest.bind(supportRequests);
8921
+ target.createWorkspaceSupportRequest = supportRequests.createWorkspaceSupportRequest.bind(supportRequests);
8922
+ target.commentOnWorkspaceSupportRequest = supportRequests.commentOnWorkspaceSupportRequest.bind(supportRequests);
8923
+ target.closeWorkspaceSupportRequest = supportRequests.closeWorkspaceSupportRequest.bind(supportRequests);
8924
+ }
8925
+
8267
8926
  // src/client/client.ts
8268
8927
  var GravityRailClient = class {
8269
8928
  // WorkspaceInvitations is exposed publicly for backward compatibility
@@ -8322,6 +8981,7 @@ var GravityRailClient = class {
8322
8981
  createChatFilter;
8323
8982
  updateChatFilter;
8324
8983
  deleteChatFilter;
8984
+ getChatFilterCount;
8325
8985
  // Calls API
8326
8986
  initiateCall;
8327
8987
  getVoiceToken;
@@ -8399,14 +9059,8 @@ var GravityRailClient = class {
8399
9059
  expireAnonymousMember;
8400
9060
  // Member Memories
8401
9061
  getMemberMemories;
9062
+ createMemberMemory;
8402
9063
  deleteMemberMemory;
8403
- // Agent Jobs API
8404
- listAgentJobs;
8405
- getAgentJob;
8406
- createAgentJob;
8407
- updateAgentJob;
8408
- deleteAgentJob;
8409
- getAgentJobRuns;
8410
9064
  // Agent Tasks API (operator-facing async sub-agent inspection/cancel)
8411
9065
  getAgentTasks;
8412
9066
  getAgentTask;
@@ -8443,6 +9097,7 @@ var GravityRailClient = class {
8443
9097
  // Journeys API
8444
9098
  getJourneys;
8445
9099
  getJourney;
9100
+ getJourneyHealth;
8446
9101
  createJourney;
8447
9102
  updateJourney;
8448
9103
  archiveJourney;
@@ -8461,6 +9116,7 @@ var GravityRailClient = class {
8461
9116
  reenrollMember;
8462
9117
  deleteEnrollment;
8463
9118
  getMemberJourneys;
9119
+ testRunJourney;
8464
9120
  getJourneyNotes;
8465
9121
  createJourneyNote;
8466
9122
  updateJourneyNote;
@@ -8499,6 +9155,8 @@ var GravityRailClient = class {
8499
9155
  leaveWorkspace;
8500
9156
  getWorkspaceDefaults;
8501
9157
  updateWorkspaceDefaults;
9158
+ getFirstRunState;
9159
+ updateFirstRunState;
8502
9160
  getWorkspaceCounts;
8503
9161
  getBusinessHoursStatus;
8504
9162
  getAvailableWorkspaceFeatures;
@@ -8517,6 +9175,7 @@ var GravityRailClient = class {
8517
9175
  provisionClientWorkspace;
8518
9176
  getProducts;
8519
9177
  getProduct;
9178
+ getWorkspaceProduct;
8520
9179
  getPublicProducts;
8521
9180
  getPublicProduct;
8522
9181
  createProduct;
@@ -8531,6 +9190,26 @@ var GravityRailClient = class {
8531
9190
  getWorkspaceBySlug;
8532
9191
  getWorkspaceScopes;
8533
9192
  getUsageDashboard;
9193
+ getWorkspaceEmailDomains;
9194
+ getWorkspaceSiteDomains;
9195
+ // Org API
9196
+ listOrgDomains;
9197
+ registerOrgDomain;
9198
+ getOrgDomain;
9199
+ verifyOrgDomainOwnership;
9200
+ deleteOrgDomain;
9201
+ enableOrgDomainEmail;
9202
+ getOrgDomainEmail;
9203
+ verifyOrgDomainEmail;
9204
+ disableOrgDomainEmail;
9205
+ enableOrgDomainSite;
9206
+ getOrgDomainSite;
9207
+ verifyOrgDomainSite;
9208
+ disableOrgDomainSite;
9209
+ getBusinessProfile;
9210
+ updateBusinessProfile;
9211
+ submitBusinessProfile;
9212
+ cancelBusinessProfile;
8534
9213
  getVapidPublicKey;
8535
9214
  registerPushSubscription;
8536
9215
  unregisterPushSubscription;
@@ -8804,6 +9483,7 @@ var GravityRailClient = class {
8804
9483
  getInboxThreads;
8805
9484
  getThreadEmails;
8806
9485
  getChatEmails;
9486
+ replyToEmail;
8807
9487
  getNotificationRules;
8808
9488
  createNotificationRule;
8809
9489
  updateNotificationRule;
@@ -8879,6 +9559,7 @@ var GravityRailClient = class {
8879
9559
  updateBuilder;
8880
9560
  deleteBuilder;
8881
9561
  createInquiry;
9562
+ enrichInquiry;
8882
9563
  listInquiries;
8883
9564
  getInquiry;
8884
9565
  updateInquiry;
@@ -8894,9 +9575,6 @@ var GravityRailClient = class {
8894
9575
  getMondayBoards;
8895
9576
  getMondayBoardColumns;
8896
9577
  getMondayBoardGroups;
8897
- createMondayWebhook;
8898
- deleteMondayWebhook;
8899
- getMondayWebhook;
8900
9578
  getMondayCurrentUserInfo;
8901
9579
  // Monday.com Connection API
8902
9580
  configureMondayConnection;
@@ -8943,6 +9621,15 @@ var GravityRailClient = class {
8943
9621
  getSlackThreads;
8944
9622
  getSlackInstallations;
8945
9623
  getSlackAppAccounts;
9624
+ // Teams Apps API
9625
+ getTeamsApps;
9626
+ getTeamsApp;
9627
+ createTeamsApp;
9628
+ updateTeamsApp;
9629
+ deleteTeamsApp;
9630
+ getTeamsConversations;
9631
+ getTeamsInstallations;
9632
+ getTeamsAppAccounts;
8946
9633
  // FHIR Connections API
8947
9634
  getFhirConnections;
8948
9635
  getFhirConnection;
@@ -8985,6 +9672,10 @@ var GravityRailClient = class {
8985
9672
  getHealthieReconciliationMatches;
8986
9673
  linkMemberToHealthie;
8987
9674
  unlinkMemberFromHealthie;
9675
+ listHealthieAppointmentTypes;
9676
+ listHealthiePatients;
9677
+ getHealthieAvailableSlots;
9678
+ bookHealthieAppointment;
8988
9679
  // Confluence API
8989
9680
  configureConfluence;
8990
9681
  startConfluenceOAuth;
@@ -9041,6 +9732,7 @@ var GravityRailClient = class {
9041
9732
  getSyncRuns;
9042
9733
  getSyncRunItems;
9043
9734
  getMemberSyncSummary;
9735
+ clearConnectionMemberExclusion;
9044
9736
  // App Connections API
9045
9737
  listAvailableAppConnections;
9046
9738
  listAppConnections;
@@ -9048,6 +9740,7 @@ var GravityRailClient = class {
9048
9740
  getPlatformApp;
9049
9741
  updatePlatformApp;
9050
9742
  deletePlatformApp;
9743
+ listConnectionMemberFieldKeys;
9051
9744
  // Pronunciations API
9052
9745
  getPronunciationEntries;
9053
9746
  createPronunciationEntry;
@@ -9074,6 +9767,7 @@ var GravityRailClient = class {
9074
9767
  attachMyCustomerPaymentMethod;
9075
9768
  detachMyCustomerPaymentMethod;
9076
9769
  setDefaultMyCustomerPaymentMethod;
9770
+ getMyCustomerCreditGrants;
9077
9771
  // Resellers API (self-service reseller portal)
9078
9772
  getMyResellers;
9079
9773
  getMyReseller;
@@ -9081,6 +9775,20 @@ var GravityRailClient = class {
9081
9775
  getMyResellerProducts;
9082
9776
  getMyResellerSubscriptions;
9083
9777
  updateMyReseller;
9778
+ // Support Requests API
9779
+ listSupportRequests;
9780
+ getSupportRequest;
9781
+ createSupportRequest;
9782
+ commentOnSupportRequest;
9783
+ listOrgSupportRequests;
9784
+ getOrgSupportRequest;
9785
+ createOrgSupportRequest;
9786
+ commentOnOrgSupportRequest;
9787
+ listWorkspaceSupportRequests;
9788
+ getWorkspaceSupportRequest;
9789
+ createWorkspaceSupportRequest;
9790
+ commentOnWorkspaceSupportRequest;
9791
+ closeWorkspaceSupportRequest;
9084
9792
  constructor(apiKey, baseUrl, customFetch) {
9085
9793
  const apis = createApiModules(apiKey, baseUrl, customFetch);
9086
9794
  this.apis = apis;
@@ -9090,13 +9798,13 @@ var GravityRailClient = class {
9090
9798
  bindCallsMethods(this, apis.calls, apis.cel);
9091
9799
  bindDataTypesMethods(this, apis.dataTypes);
9092
9800
  bindMembersMethods(this, apis.members);
9093
- bindAgentJobsMethods(this, apis.agentJobs);
9094
9801
  bindAgentTasksMethods(this, apis.agentTasks);
9095
9802
  bindAgentsMethods(this, apis.agents);
9096
9803
  bindQualificationsMethods(this, apis.qualifications);
9097
9804
  bindPersonasMethods(this, apis.personas);
9098
9805
  bindJourneysMethods(this, apis.journeys);
9099
9806
  bindOperatorMethods(this, apis.operatorGroups);
9807
+ bindOrgMethods(this, apis.org);
9100
9808
  bindAccessGrantsMethods(this, apis.accessGrants);
9101
9809
  bindPromptsMethods(this, apis.prompts);
9102
9810
  bindWorkspacesMethods(this, apis.workspaces, apis.workspaceInvitations);
@@ -9130,6 +9838,7 @@ var GravityRailClient = class {
9130
9838
  apis.mondayIntegration,
9131
9839
  apis.discordBots,
9132
9840
  apis.slackApps,
9841
+ apis.teamsApps,
9133
9842
  apis.fhirConnections,
9134
9843
  apis.healthie,
9135
9844
  apis.salesforce,
@@ -9141,6 +9850,7 @@ var GravityRailClient = class {
9141
9850
  bindPronunciationsMethods(this, apis.pronunciations);
9142
9851
  bindCustomersMethods(this, apis.customers);
9143
9852
  bindResellersMethods(this, apis.resellers);
9853
+ bindSupportRequestMethods(this, apis.supportRequests);
9144
9854
  }
9145
9855
  /**
9146
9856
  * Set the handler for enhanced authentication requirements (RFC 9470 Step-Up Auth).
@@ -9168,6 +9878,24 @@ var GravityRailClient = class {
9168
9878
  }
9169
9879
  });
9170
9880
  }
9881
+ /**
9882
+ * Set the org token for cross-domain / non-browser clients (e.g. CLI).
9883
+ * When set, all API requests include the X-Org-Token header so the backend
9884
+ * accepts the request without requiring a browser cookie.
9885
+ *
9886
+ * `orgUuid` is the org that issued the token. Pass it so the SDK can
9887
+ * detect a stale token (e.g. switching orgs mid-session) and re-fire the
9888
+ * org-auth handler instead of silently 401-ing.
9889
+ *
9890
+ * Propagates to all API modules.
9891
+ */
9892
+ setOrgToken(token, orgUuid) {
9893
+ Object.values(this.apis).forEach((api) => {
9894
+ if (typeof api.setOrgToken === "function") {
9895
+ api.setOrgToken(token, orgUuid);
9896
+ }
9897
+ });
9898
+ }
9171
9899
  /**
9172
9900
  * Update the API key across all modules.
9173
9901
  * Used after successful re-authentication.
@@ -9207,7 +9935,7 @@ var GravityRailClient = class {
9207
9935
  }
9208
9936
  };
9209
9937
 
9210
- // src/types/abilityTypes.ts
9938
+ // src/types/ability-types.ts
9211
9939
  var AbilityTypeSlugs = {
9212
9940
  // Tools
9213
9941
  TOOLKITS: "tools:toolkits",
@@ -9224,19 +9952,19 @@ var AbilityTypeSlugs = {
9224
9952
  SEND_SMS: "communication:send_sms",
9225
9953
  MEMBER_ACCESS: "communication:member_access",
9226
9954
  AUDIO_PLAYBACK: "communication:audio_playback",
9227
- // Memory
9228
- AGENT_MEMORY: "memory:agent_memory",
9229
9955
  // Oversight
9230
9956
  SUPERVISOR: "oversight:supervisor",
9231
9957
  SUPERVISOR_ACTIONS: "oversight:supervisor_actions",
9232
9958
  ESCALATION: "oversight:escalation",
9959
+ // Identity
9960
+ MEMBER_FIELD_VERIFICATION: "identity:member_field_verification",
9233
9961
  // System (auto-injected, hidden from users)
9234
9962
  USER_MESSAGE_RULES: "system:user_message_rules",
9235
9963
  ASSISTANT_MESSAGE_RULES: "chat:assistant_message_rules",
9236
9964
  CEL_ROUTING: "system:cel_routing"
9237
9965
  };
9238
9966
 
9239
- // src/types/modelConfigTypes.ts
9967
+ // src/types/model-config-types.ts
9240
9968
  var DEFAULT_THINKING_SPEECH_PHRASES = [
9241
9969
  "One moment please",
9242
9970
  "I'll be right with you",
@@ -9252,7 +9980,8 @@ var TTS_PREVIEW_PROVIDERS = [
9252
9980
  "google",
9253
9981
  "aws",
9254
9982
  "pocket",
9255
- "deepgram"
9983
+ "deepgram",
9984
+ "xai"
9256
9985
  ];
9257
9986
  function getVoiceModelId(entity) {
9258
9987
  const config = entity.realtimeModelConfig;
@@ -9265,6 +9994,129 @@ function canPreviewVoice(entity) {
9265
9994
  return TTS_PREVIEW_PROVIDERS.includes(provider);
9266
9995
  }
9267
9996
 
9997
+ // src/types/chat-types.ts
9998
+ var SMS_DELIVERY_FAILURE_STATUSES = /* @__PURE__ */ new Set([
9999
+ "failed",
10000
+ "undelivered"
10001
+ ]);
10002
+ function isSMSDeliveryFailureStatus(status) {
10003
+ return status != null && SMS_DELIVERY_FAILURE_STATUSES.has(status);
10004
+ }
10005
+
10006
+ // src/types/generated/organization.ts
10007
+ var BusinessIndustry = {
10008
+ AGRICULTURE: "AGRICULTURE",
10009
+ AUTOMOTIVE: "AUTOMOTIVE",
10010
+ BANKING: "BANKING",
10011
+ CONSUMER: "CONSUMER",
10012
+ EDUCATION: "EDUCATION",
10013
+ ELECTRONICS: "ELECTRONICS",
10014
+ ENERGY: "ENERGY",
10015
+ ENGINEERING: "ENGINEERING",
10016
+ FAST_MOVING_CONSUMER_GOODS: "FAST_MOVING_CONSUMER_GOODS",
10017
+ FINANCIAL: "FINANCIAL",
10018
+ FINTECH: "FINTECH",
10019
+ FOOD_AND_BEVERAGE: "FOOD_AND_BEVERAGE",
10020
+ GOVERNMENT: "GOVERNMENT",
10021
+ HEALTHCARE: "HEALTHCARE",
10022
+ HOSPITALITY: "HOSPITALITY",
10023
+ INSURANCE: "INSURANCE",
10024
+ JEWELRY: "JEWELRY",
10025
+ LEGAL: "LEGAL",
10026
+ MANUFACTURING: "MANUFACTURING",
10027
+ MEDIA: "MEDIA",
10028
+ NOT_FOR_PROFIT: "NOT_FOR_PROFIT",
10029
+ OIL_AND_GAS: "OIL_AND_GAS",
10030
+ ONLINE: "ONLINE",
10031
+ RAW_MATERIALS: "RAW_MATERIALS",
10032
+ REAL_ESTATE: "REAL_ESTATE",
10033
+ RELIGION: "RELIGION",
10034
+ RETAIL: "RETAIL",
10035
+ TECHNOLOGY: "TECHNOLOGY",
10036
+ TELECOMMUNICATIONS: "TELECOMMUNICATIONS",
10037
+ TRANSPORTATION: "TRANSPORTATION",
10038
+ TRAVEL: "TRAVEL"
10039
+ };
10040
+ var BusinessType = {
10041
+ Sole_Proprietorship: "Sole Proprietorship",
10042
+ Partnership: "Partnership",
10043
+ Limited_Liability_Corporation: "Limited Liability Corporation",
10044
+ "Co-operative": "Co-operative",
10045
+ "Non-profit_Corporation": "Non-profit Corporation",
10046
+ Corporation: "Corporation"
10047
+ };
10048
+ var EmailDnsRecordType = {
10049
+ TXT: "TXT",
10050
+ CNAME: "CNAME",
10051
+ MX: "MX"
10052
+ };
10053
+ var JobPosition = {
10054
+ Director: "Director",
10055
+ GM: "GM",
10056
+ VP: "VP",
10057
+ CEO: "CEO",
10058
+ CFO: "CFO",
10059
+ General_Counsel: "General Counsel",
10060
+ Other: "Other"
10061
+ };
10062
+ var OIDCAdminConfigViewProviderType = {
10063
+ azure_ad: "azure_ad",
10064
+ okta: "okta",
10065
+ auth0: "auth0",
10066
+ generic: "generic"
10067
+ };
10068
+ var Region = {
10069
+ AFRICA: "AFRICA",
10070
+ ASIA: "ASIA",
10071
+ EUROPE: "EUROPE",
10072
+ LATIN_AMERICA: "LATIN_AMERICA",
10073
+ USA_AND_CANADA: "USA_AND_CANADA",
10074
+ AUSTRALIA: "AUSTRALIA"
10075
+ };
10076
+ var RegistrationIdentifier = {
10077
+ EIN: "EIN",
10078
+ CBN: "CBN",
10079
+ CN: "CN",
10080
+ ACN: "ACN",
10081
+ CIN: "CIN",
10082
+ VAT: "VAT",
10083
+ VATRN: "VATRN",
10084
+ RN: "RN",
10085
+ DUNS: "DUNS",
10086
+ Other: "Other"
10087
+ };
10088
+ var SiteDnsRecordType = {
10089
+ CNAME: "CNAME",
10090
+ A: "A",
10091
+ TXT: "TXT"
10092
+ };
10093
+
10094
+ // src/types/generated/site.ts
10095
+ var MenuItemResponseItemType = {
10096
+ page: "page",
10097
+ url: "url",
10098
+ products: "products",
10099
+ none: "none"
10100
+ };
10101
+
10102
+ // src/types/generated/task.ts
10103
+ var AbilityConfigIssueCode = {
10104
+ missing_resource: "missing_resource",
10105
+ invalid_state: "invalid_state",
10106
+ feature_disabled: "feature_disabled",
10107
+ external_drift: "external_drift"
10108
+ };
10109
+ var AbilityConfigIssueSeverity = {
10110
+ warning: "warning",
10111
+ error: "error"
10112
+ };
10113
+ var WorkflowAccessWarningResourceType = {
10114
+ form: "form",
10115
+ file: "file",
10116
+ folder: "folder",
10117
+ calendar: "calendar"
10118
+ };
10119
+
9268
10120
  // src/features/registry.ts
9269
10121
  var FeatureCategory = /* @__PURE__ */ ((FeatureCategory2) => {
9270
10122
  FeatureCategory2["COMMUNICATION"] = "communication";
@@ -9362,7 +10214,7 @@ function clearRegistry() {
9362
10214
  _features = {};
9363
10215
  }
9364
10216
 
9365
- // src/constants/chatTypes.ts
10217
+ // src/constants/chat-types.ts
9366
10218
  var CHAT_TYPES = {
9367
10219
  ASSIGNMENT: "assignment",
9368
10220
  MANAGER: "manager",
@@ -9395,9 +10247,10 @@ function isChatType(value) {
9395
10247
 
9396
10248
  // src/constants/models.ts
9397
10249
  var DEFAULT_CHAT_MODEL = "aws:bedrock:claude-4-5-haiku";
10250
+ var DEFAULT_VOICE_INFERENCE_MODEL = "google:vertex:gemini-3-flash";
9398
10251
  var DEFAULT_CUSTOM_VOICE_MODEL = "elevenlabs:voice:river";
9399
10252
 
9400
- // src/types/resourceMetadata.ts
10253
+ // src/types/resource-metadata.ts
9401
10254
  var RESOURCE_METADATA = {
9402
10255
  ["credit" /* CREDIT */]: {
9403
10256
  label: "Credits",
@@ -10157,6 +11010,8 @@ var SCOPE_PRESETS = {
10157
11010
  };
10158
11011
  // Annotate the CommonJS export names for ESM import in node:
10159
11012
  0 && (module.exports = {
11013
+ AbilityConfigIssueCode,
11014
+ AbilityConfigIssueSeverity,
10160
11015
  AbilityTypeSlugs,
10161
11016
  AccessGrantResourceType,
10162
11017
  AccessGrantStatus,
@@ -10169,6 +11024,9 @@ var SCOPE_PRESETS = {
10169
11024
  BUILTIN_ASSISTANT_CHAT_TYPES,
10170
11025
  BaseApiClient,
10171
11026
  BuildersApi,
11027
+ BulkMemberResultStatus,
11028
+ BusinessIndustry,
11029
+ BusinessType,
10172
11030
  CELApi,
10173
11031
  CHAT_TYPES,
10174
11032
  CalendarEventStatus,
@@ -10181,8 +11039,13 @@ var SCOPE_PRESETS = {
10181
11039
  DEFAULT_CHAT_MODEL,
10182
11040
  DEFAULT_CUSTOM_VOICE_MODEL,
10183
11041
  DEFAULT_THINKING_SPEECH_PHRASES,
11042
+ DEFAULT_VOICE_INFERENCE_MODEL,
11043
+ DataCategory,
10184
11044
  DataFieldType,
11045
+ DataSensitivity,
11046
+ DataTypeRecordScope,
10185
11047
  DriverMode,
11048
+ EmailDnsRecordType,
10186
11049
  EventRuleActionType,
10187
11050
  EventRuleEventType,
10188
11051
  EventRuleObjectType,
@@ -10194,11 +11057,17 @@ var SCOPE_PRESETS = {
10194
11057
  GravityRailClient,
10195
11058
  IndexStatus,
10196
11059
  InvitationStatus,
11060
+ JobPosition,
10197
11061
  MASKED_SECRET_SENTINEL,
10198
11062
  McpServerState,
10199
11063
  MemberFeature,
10200
11064
  MemberType,
11065
+ MenuItemResponseItemType,
11066
+ MenuItemType,
11067
+ ModelProvider,
11068
+ ModelType,
10201
11069
  NO_ASSISTANT_PARTICIPANT_CHAT_TYPES,
11070
+ OIDCAdminConfigViewProviderType,
10202
11071
  ORG_ONLY_RESOURCES,
10203
11072
  OrgApi,
10204
11073
  OrgFeature,
@@ -10218,15 +11087,21 @@ var SCOPE_PRESETS = {
10218
11087
  REALTIME_MODEL_GEMINI_VERTEX,
10219
11088
  REALTIME_MODEL_NOVA_SONIC,
10220
11089
  REALTIME_MODEL_OPENAI,
11090
+ REALTIME_MODEL_OPENAI_2,
10221
11091
  REALTIME_MODEL_OPENAI_MINI,
11092
+ Region,
11093
+ RegistrationIdentifier,
10222
11094
  Resource,
10223
11095
  SCOPES,
10224
11096
  SCOPE_PRESETS,
11097
+ SMS_DELIVERY_FAILURE_STATUSES,
10225
11098
  STT_MODEL_DEEPGRAM_FLUX,
11099
+ STT_MODEL_DEEPGRAM_FLUX_MULTI,
10226
11100
  STT_MODEL_ELEVENLABS_SCRIBE,
10227
11101
  Scope,
10228
11102
  ScopeCategory,
10229
11103
  ScopeManager,
11104
+ SiteDnsRecordType,
10230
11105
  SupervisorsApi,
10231
11106
  TTS_MODEL_AWS_POLLY_GENERATIVE,
10232
11107
  TTS_MODEL_AWS_POLLY_NEURAL,
@@ -10238,6 +11113,8 @@ var SCOPE_PRESETS = {
10238
11113
  TTS_PREVIEW_PROVIDERS,
10239
11114
  TemplatesApi,
10240
11115
  ToolkitState,
11116
+ WorkflowAccessWarningResourceType,
11117
+ WorkflowResourceType,
10241
11118
  WorkspaceFeature,
10242
11119
  WorkspaceProvisionStatus,
10243
11120
  areDependenciesSatisfied,
@@ -10245,6 +11122,7 @@ var SCOPE_PRESETS = {
10245
11122
  clearRegistry,
10246
11123
  decodePermissions,
10247
11124
  encodePermissions,
11125
+ eventRuleActionParams,
10248
11126
  formatAppContextAsMarkdown,
10249
11127
  getAllFeatures,
10250
11128
  getAllResourceSlugs,
@@ -10264,6 +11142,7 @@ var SCOPE_PRESETS = {
10264
11142
  isChatType,
10265
11143
  isFeatureAvailable,
10266
11144
  isRegistryInitialized,
11145
+ isSMSDeliveryFailureStatus,
10267
11146
  requiresAssistantParticipant,
10268
11147
  usesBuiltinAssistant,
10269
11148
  validateFeatureDependencies