@gravity-rail/sdk 0.56.0 → 0.57.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (43) hide show
  1. package/dist/agui.d.cts +3 -2
  2. package/dist/agui.d.ts +3 -2
  3. package/dist/audio.d.cts +3 -2
  4. package/dist/audio.d.ts +3 -2
  5. package/dist/{chat-interaction-B1pEnDf4.d.ts → chat-interaction-BlORjFix.d.cts} +5990 -4389
  6. package/dist/{chat-interaction-Bb1dQ6iL.d.cts → chat-interaction-DyQjxoyc.d.ts} +5990 -4389
  7. package/dist/{chunk-HXVJF54M.js → chunk-D5VNVTUQ.js} +1 -1
  8. package/dist/chunk-D5VNVTUQ.js.map +1 -0
  9. package/dist/{chunk-BQOKENBF.js → chunk-YDC4OVZE.js} +486 -68
  10. package/dist/chunk-YDC4OVZE.js.map +1 -0
  11. package/dist/helpers.d.cts +6 -5
  12. package/dist/helpers.d.ts +6 -5
  13. package/dist/index.cjs +489 -67
  14. package/dist/index.cjs.map +1 -1
  15. package/dist/index.d.cts +9 -7
  16. package/dist/index.d.ts +9 -7
  17. package/dist/index.js +7 -2
  18. package/dist/index.js.map +1 -1
  19. package/dist/internal.cjs +486 -67
  20. package/dist/internal.cjs.map +1 -1
  21. package/dist/internal.d.cts +7 -136
  22. package/dist/internal.d.ts +7 -136
  23. package/dist/internal.js +4 -2
  24. package/dist/internal.js.map +1 -1
  25. package/dist/{member-import-DzuvKnMC.d.cts → member-import-B8nsRMD9.d.cts} +1 -1
  26. package/dist/{member-import-D1QvZiy5.d.ts → member-import-l7j087-X.d.ts} +1 -1
  27. package/dist/{path-CoJI_rv9.d.ts → path-BKKAG8ti.d.cts} +5 -4
  28. package/dist/{path-Q4WIJjcE.d.cts → path-CdqBYuYi.d.ts} +5 -4
  29. package/dist/realtime.d.cts +4 -3
  30. package/dist/realtime.d.ts +4 -3
  31. package/dist/schemas.cjs +79 -41
  32. package/dist/schemas.cjs.map +1 -1
  33. package/dist/schemas.d.cts +207 -63
  34. package/dist/schemas.d.ts +207 -63
  35. package/dist/schemas.js +78 -42
  36. package/dist/schemas.js.map +1 -1
  37. package/dist/{tasks-BdYhYUpU.d.cts → tasks-By6Bzhwy.d.cts} +1026 -850
  38. package/dist/{tasks-BdYhYUpU.d.ts → tasks-By6Bzhwy.d.ts} +1026 -850
  39. package/dist/{types-DlfADjPR.d.cts → types-BXaWYGHj.d.cts} +2 -1
  40. package/dist/{types-DlfADjPR.d.ts → types-BXaWYGHj.d.ts} +2 -1
  41. package/package.json +5 -5
  42. package/dist/chunk-BQOKENBF.js.map +0 -1
  43. package/dist/chunk-HXVJF54M.js.map +0 -1
package/dist/internal.cjs CHANGED
@@ -246,6 +246,7 @@ __export(internal_exports, {
246
246
  Scope: () => Scope,
247
247
  ScopeCategory: () => ScopeCategory,
248
248
  ScopeManager: () => ScopeManager,
249
+ SeedSpeaker: () => SeedSpeaker,
249
250
  SendingNextStep: () => SendingNextStep,
250
251
  SendingStopState: () => SendingStopState,
251
252
  SessionKind: () => SessionKind,
@@ -781,13 +782,12 @@ var WorkspaceFeature = /* @__PURE__ */ ((WorkspaceFeature2) => {
781
782
  WorkspaceFeature2["GSHEETS"] = "gsheets";
782
783
  WorkspaceFeature2["MONDAY"] = "monday";
783
784
  WorkspaceFeature2["DOCUMO_FAX"] = "documo_fax";
785
+ WorkspaceFeature2["CLAIM_MD"] = "claim_md";
784
786
  WorkspaceFeature2["RESELL_PRODUCTS"] = "resell_products";
785
787
  WorkspaceFeature2["SOC2_COMPLIANCE"] = "soc2_compliance";
786
788
  WorkspaceFeature2["EHR_FHIR"] = "ehr_fhir";
787
789
  WorkspaceFeature2["EHR_ECLINICALWORKS"] = "ehr_eclinicalworks";
788
790
  WorkspaceFeature2["EHR_HEALTHIE"] = "ehr_healthie";
789
- WorkspaceFeature2["CRM_SALESFORCE"] = "crm_salesforce";
790
- WorkspaceFeature2["CRM_HUBSPOT"] = "crm_hubspot";
791
791
  WorkspaceFeature2["CONFLUENCE"] = "confluence";
792
792
  WorkspaceFeature2["ZENDESK"] = "zendesk";
793
793
  WorkspaceFeature2["AGENT_MEMORY"] = "agent_memory";
@@ -1085,6 +1085,10 @@ var RunHealthCategory = {
1085
1085
  ungradeable: "ungradeable",
1086
1086
  incomplete: "incomplete"
1087
1087
  };
1088
+ var SeedSpeaker = {
1089
+ member: "member",
1090
+ agent: "agent"
1091
+ };
1088
1092
  var TestChatRunLane = {
1089
1093
  text: "text",
1090
1094
  web_realtime: "web_realtime",
@@ -1099,6 +1103,7 @@ var TestChatRunOutcome = {
1099
1103
  agent_silent: "agent_silent",
1100
1104
  max_turns: "max_turns",
1101
1105
  human_end: "human_end",
1106
+ single_turn: "single_turn",
1102
1107
  configuration_failure: "configuration_failure",
1103
1108
  instrument_failure: "instrument_failure"
1104
1109
  };
@@ -2402,7 +2407,7 @@ function isChatType(value) {
2402
2407
  // src/constants/models.ts
2403
2408
  var DEFAULT_CHAT_MODEL = "openai:chat:gpt-6-luna";
2404
2409
  var DEFAULT_AGENT_CHAT_MODEL = "openai:chat:gpt-6-luna";
2405
- var DEFAULT_AGENT_REALTIME_MODEL = "xai:realtime:voice-agent-2";
2410
+ var DEFAULT_AGENT_REALTIME_MODEL = "xai:realtime:voice-agent-3";
2406
2411
  var DEFAULT_AGENT_REALTIME_MODEL_CONFIG = {
2407
2412
  ttsModel: "native",
2408
2413
  voiceModel: "xai:voice:cosmo"
@@ -4087,11 +4092,15 @@ var AIModelsApi = class extends BaseApiClient {
4087
4092
  return this.fetch("ai-models/manager");
4088
4093
  }
4089
4094
  /**
4090
- * Get available realtime AI models
4095
+ * Get available realtime AI models.
4096
+ *
4097
+ * `includeHidden` also lists models no longer offered for new selection
4098
+ * (deprecated, flagged `hidden: true`), so a saved selection can be named.
4091
4099
  */
4092
- async getRealtimeModels(provider) {
4100
+ async getRealtimeModels(provider, options) {
4093
4101
  const searchParams = new URLSearchParams();
4094
4102
  if (provider) searchParams.append("provider", provider);
4103
+ if (options?.includeHidden) searchParams.append("includeHidden", "true");
4095
4104
  const queryString = searchParams.toString();
4096
4105
  const url = queryString ? `ai-models/realtime?${queryString}` : "ai-models/realtime";
4097
4106
  return this.fetch(url);
@@ -5099,6 +5108,18 @@ var CallsApi = class extends BaseApiClient {
5099
5108
  `w/${wid}/calls${params.toString() ? `?${params.toString()}` : ""}`
5100
5109
  );
5101
5110
  }
5111
+ /**
5112
+ * Get one phone call by uuid — the subject a `call.*` Activity event names.
5113
+ *
5114
+ * Authorization is the call's own chat (`chats:read`, then the chat access
5115
+ * policy), so a call with no chat, or one the caller's chat access does not
5116
+ * reach, is a 404. The response carries `chatId`/`chatUuid`, the terminal
5117
+ * disposition axes and `workflowId`, which is what an Activity call card
5118
+ * needs to show the call's outcome and link to its conversation.
5119
+ */
5120
+ async getPhoneCallByUuid(wid, uuid) {
5121
+ return this.fetch(`w/${wid}/calls/by-uuid/${encodeURIComponent(uuid)}`);
5122
+ }
5102
5123
  /**
5103
5124
  * Get message timing data for a chat recording. `source` selects whose
5104
5125
  * timeline the offsets are measured against; omitted means `standard`.
@@ -5119,19 +5140,11 @@ var CallsApi = class extends BaseApiClient {
5119
5140
  async getEdgeCaptureInfo(wid, chatId) {
5120
5141
  return this.fetch(`w/${wid}/recordings/chat/${chatId}/edge-capture`);
5121
5142
  }
5122
- /**
5123
- * Get PHI-safe provenance metadata for the recording served by
5124
- * `/audio.wav` — source, encryption, channels, duration, status, etc.
5125
- * Staff-only Twilio SIDs are present only for superusers. Returns 404
5126
- * when the chat has no native recording row.
5127
- */
5128
- async getRecordingInfo(wid, chatId) {
5129
- return this.fetch(`w/${wid}/recordings/chat/${chatId}/info`);
5130
- }
5131
5143
  /**
5132
5144
  * Get a single short-lived presigned URL to download the complete call
5133
- * recording as one file: the playable Twilio-native recording, else the
5134
- * complete internal recording. 404 when neither is available.
5145
+ * recording as one file: the complete internal recording, else the newest
5146
+ * ready stored recording (`twilio_native` or `legacy_chunks`). 404 when
5147
+ * neither is available.
5135
5148
  */
5136
5149
  async getCallRecordingDownloadUrl(wid, chatId, options = {}) {
5137
5150
  const params = new URLSearchParams();
@@ -5448,6 +5461,13 @@ var ChatsApi = class extends BaseApiClient {
5448
5461
  body: JSON.stringify(override)
5449
5462
  });
5450
5463
  }
5464
+ /** Set the authenticated Member's personal star without changing Chat access. */
5465
+ async setChatStar(wid, id, isStarred) {
5466
+ return this.fetch(`w/${wid}/chats/${id}/star`, {
5467
+ method: "PUT",
5468
+ body: JSON.stringify({ isStarred })
5469
+ });
5470
+ }
5451
5471
  /** Update the mute status of a chat. */
5452
5472
  async updateChatMute(wid, id, muted, muteReason, muteExpiresOnInbound) {
5453
5473
  return this.fetch(`w/${wid}/chats/${id}/mute`, {
@@ -6427,9 +6447,21 @@ var DiscordBotsApi = class extends BaseApiClient {
6427
6447
 
6428
6448
  // src/api/slack-apps.ts
6429
6449
  var SlackAppsApi = class extends BaseApiClient {
6430
- async getSlackChannelChoices(wid, appId, cursor) {
6450
+ async removeSlackAccount(wid, appId, credentialId) {
6451
+ return this.fetch(`w/${wid}/app-connections/slack/apps/${appId}/accounts/${credentialId}`, {
6452
+ method: "DELETE"
6453
+ });
6454
+ }
6455
+ async removeSlackInstallation(wid, appId, installationId) {
6456
+ return this.fetch(
6457
+ `w/${wid}/app-connections/slack/apps/${appId}/installations/${installationId}`,
6458
+ { method: "DELETE" }
6459
+ );
6460
+ }
6461
+ async getSlackChannelChoices(wid, appId, cursor, teamId) {
6431
6462
  const params = new URLSearchParams({ appId: String(appId) });
6432
6463
  if (cursor) params.set("cursor", cursor);
6464
+ if (teamId) params.set("teamId", teamId);
6433
6465
  return this.fetch(
6434
6466
  `w/${wid}/app-connections/slack/channel-choices?${params}`
6435
6467
  );
@@ -6438,6 +6470,8 @@ var SlackAppsApi = class extends BaseApiClient {
6438
6470
  const params = new URLSearchParams();
6439
6471
  if (options.appId) params.set("appId", String(options.appId));
6440
6472
  if (options.workflowId) params.set("workflowId", String(options.workflowId));
6473
+ if (options.offset !== void 0) params.set("offset", String(options.offset));
6474
+ if (options.limit !== void 0) params.set("limit", String(options.limit));
6441
6475
  return this.fetch(`w/${wid}/app-connections/slack/entry-points?${params}`);
6442
6476
  }
6443
6477
  async connectSlackEntryPoint(wid, data) {
@@ -6456,6 +6490,9 @@ var SlackAppsApi = class extends BaseApiClient {
6456
6490
  if (options.sortBy) params.append("sortBy", options.sortBy);
6457
6491
  if (options.sortOrder) params.append("sortOrder", options.sortOrder);
6458
6492
  if (options.search) params.append("search", options.search);
6493
+ if (options.agentId !== void 0) params.set("agentId", String(options.agentId));
6494
+ if (options.workflowId !== void 0) params.set("workflowId", String(options.workflowId));
6495
+ if (options.managed !== void 0) params.set("managed", String(options.managed));
6459
6496
  return this.fetch(
6460
6497
  `w/${wid}/app-connections/slack/apps${params.toString() ? `?${params.toString()}` : ""}`
6461
6498
  );
@@ -6510,6 +6547,8 @@ var SlackAppsApi = class extends BaseApiClient {
6510
6547
  const params = new URLSearchParams();
6511
6548
  if (options.page) params.append("page", options.page.toString());
6512
6549
  if (options.pageSize) params.append("pageSize", options.pageSize.toString());
6550
+ if (options.search) params.set("search", options.search);
6551
+ if (options.connection) params.set("connection", options.connection);
6513
6552
  return this.fetch(
6514
6553
  `w/${wid}/app-connections/slack/apps/${appId}/installations${params.toString() ? `?${params.toString()}` : ""}`
6515
6554
  );
@@ -6521,6 +6560,8 @@ var SlackAppsApi = class extends BaseApiClient {
6521
6560
  const params = new URLSearchParams();
6522
6561
  if (options.page) params.append("page", options.page.toString());
6523
6562
  if (options.pageSize) params.append("pageSize", options.pageSize.toString());
6563
+ if (options.teamId) params.set("teamId", options.teamId);
6564
+ if (options.search) params.set("search", options.search);
6524
6565
  return this.fetch(
6525
6566
  `w/${wid}/app-connections/slack/apps/${appId}/accounts${params.toString() ? `?${params.toString()}` : ""}`
6526
6567
  );
@@ -6959,6 +7000,36 @@ var FhirConnectionsApi = class extends BaseApiClient {
6959
7000
  body: JSON.stringify(data)
6960
7001
  });
6961
7002
  }
7003
+ /**
7004
+ * Which environments of the shared Gravity Rail athenahealth app this
7005
+ * deployment can use. Requires `apps:read`.
7006
+ */
7007
+ async getAthenaPlatformApp(wid) {
7008
+ return this.fetch(
7009
+ `w/${wid}/app-connections/fhir/athena/platform-app`
7010
+ );
7011
+ }
7012
+ /**
7013
+ * Check that the Gravity Rail athenahealth app can reach a practice in an
7014
+ * environment. Saves nothing. Requires `apps:write`.
7015
+ */
7016
+ async verifyAthenaAccess(wid, data) {
7017
+ return this.fetch(
7018
+ `w/${wid}/app-connections/fhir/athena/verify-access`,
7019
+ { method: "POST", body: JSON.stringify(data) }
7020
+ );
7021
+ }
7022
+ /**
7023
+ * Create an athenahealth connection through the shared Gravity Rail app.
7024
+ * The server re-runs the access probe and answers 400 with
7025
+ * `detail: { code, message }` when it fails. Requires `apps:write`.
7026
+ */
7027
+ async connectAthena(wid, data) {
7028
+ return this.fetch(`w/${wid}/app-connections/fhir/athena/connections`, {
7029
+ method: "POST",
7030
+ body: JSON.stringify(data)
7031
+ });
7032
+ }
6962
7033
  /**
6963
7034
  * Update an existing FHIR connection configuration.
6964
7035
  */
@@ -7177,36 +7248,6 @@ var FhirConnectionsApi = class extends BaseApiClient {
7177
7248
  { method: "POST", body: JSON.stringify(data) }
7178
7249
  );
7179
7250
  }
7180
- /**
7181
- * Start, resume, override or preview (dry run) an athenahealth connection's
7182
- * onboarding import. The body is exactly the three mode flags; the server
7183
- * traverses the connection's configured department/status pairs. Returns
7184
- * 202 with the Temporal workflow and run ids. Requires `workspace:admin`.
7185
- */
7186
- async fhirStartOnboardingImport(wid, connectionId, data = {}) {
7187
- const body = {
7188
- dryRun: data.dryRun ?? false,
7189
- resume: data.resume ?? false,
7190
- override: data.override ?? false
7191
- };
7192
- return this.fetch(
7193
- `w/${wid}/app-connections/fhir/connections/${connectionId}/onboarding-import`,
7194
- {
7195
- method: "POST",
7196
- body: JSON.stringify(body)
7197
- }
7198
- );
7199
- }
7200
- /**
7201
- * Read an athenahealth connection's onboarding-import progress (durable,
7202
- * approximate totals) and its known Temporal execution. GET-only: never
7203
- * starts or resumes work. Requires `workspace:admin`.
7204
- */
7205
- async fhirGetOnboardingImportStatus(wid, connectionId) {
7206
- return this.fetch(
7207
- `w/${wid}/app-connections/fhir/connections/${connectionId}/onboarding-import`
7208
- );
7209
- }
7210
7251
  };
7211
7252
 
7212
7253
  // src/api/patientsync-connections.ts
@@ -7228,6 +7269,33 @@ var PatientSyncConnectionsApi = class extends BaseApiClient {
7228
7269
  }
7229
7270
  };
7230
7271
 
7272
+ // src/api/claim-md.ts
7273
+ var ClaimMdApi = class extends BaseApiClient {
7274
+ async getClaimMdStatus(wid) {
7275
+ return this.fetch(`w/${wid}/app-connections/claim-md/status`);
7276
+ }
7277
+ /** Sends `{}` deliberately: the route requires a JSON body as a CSRF barrier. */
7278
+ async installClaimMd(wid) {
7279
+ return this.fetch(`w/${wid}/app-connections/claim-md/install`, {
7280
+ method: "POST",
7281
+ body: JSON.stringify({})
7282
+ });
7283
+ }
7284
+ async configureClaimMd(wid, data) {
7285
+ return this.fetch(`w/${wid}/app-connections/claim-md/configure`, {
7286
+ method: "POST",
7287
+ body: JSON.stringify(data)
7288
+ });
7289
+ }
7290
+ /** Checks a pasted AccountKey without storing it. */
7291
+ async verifyClaimMdKey(wid, data) {
7292
+ return this.fetch(`w/${wid}/app-connections/claim-md/verify`, {
7293
+ method: "POST",
7294
+ body: JSON.stringify(data)
7295
+ });
7296
+ }
7297
+ };
7298
+
7231
7299
  // src/api/documo-fax.ts
7232
7300
  var DocumoFaxApi = class extends BaseApiClient {
7233
7301
  async getDocumoFaxStatus(wid) {
@@ -7881,6 +7949,23 @@ var InboxesApi = class extends BaseApiClient {
7881
7949
  );
7882
7950
  return response.arrayBuffer();
7883
7951
  }
7952
+ /**
7953
+ * Reply and bounce rates for the emails one inbox sent in a period.
7954
+ *
7955
+ * `dateFrom` (inclusive) and `dateTo` (exclusive) are ISO 8601 instants with
7956
+ * an offset and must be passed together, at most 90 days apart; omit both
7957
+ * for the server's rolling last 30 days. Requires `inboxes:read` and
7958
+ * `analytics:read` plus admin access to the inbox. Aggregates only.
7959
+ */
7960
+ async getInboxOutboundEmailStats(wid, inboxId, period = {}) {
7961
+ const params = new URLSearchParams();
7962
+ if (period.dateFrom) params.append("date_from", period.dateFrom);
7963
+ if (period.dateTo) params.append("date_to", period.dateTo);
7964
+ const query = params.toString();
7965
+ return this.fetch(
7966
+ `w/${wid}/inboxes/${inboxId}/outbound-email-stats${query ? `?${query}` : ""}`
7967
+ );
7968
+ }
7884
7969
  /** List email threads in an inbox. */
7885
7970
  async getInboxThreads(wid, inboxId) {
7886
7971
  return this.fetch(`w/${wid}/inboxes/${inboxId}/threads`);
@@ -10205,6 +10290,18 @@ var OrgApi = class extends BaseApiClient {
10205
10290
  async listA2PBrands(orgUuid) {
10206
10291
  return this.fetch(`o/${orgUuid}/a2p-brands`);
10207
10292
  }
10293
+ /**
10294
+ * Poll Twilio for one brand now and record its brand and campaign statuses,
10295
+ * as the scheduled sync would. Returns the brand as recorded afterwards,
10296
+ * without the live workflow fields `getA2PBrand` adds.
10297
+ */
10298
+ async syncA2PBrand(orgUuid, brandUuid) {
10299
+ return this.fetch(
10300
+ `o/${orgUuid}/a2p-brands/${brandUuid}/sync`,
10301
+ // Empty JSON body is the CSRF barrier the route requires (GRA-6284).
10302
+ { method: "POST", body: JSON.stringify({}) }
10303
+ );
10304
+ }
10208
10305
  /**
10209
10306
  * Live per-brand campaign use-case eligibility. Approved brands only — a
10210
10307
  * brand still under TCR review comes back as a structured 412 the picker
@@ -10694,6 +10791,14 @@ var PhoneNumbersApi = class extends BaseApiClient {
10694
10791
  async getPhoneNumber(wid, id) {
10695
10792
  return this.fetch(`w/${wid}/phone-numbers/${id}`);
10696
10793
  }
10794
+ /**
10795
+ * What this number still needs from its organization: the texting and
10796
+ * caller ID registration states of the business it belongs to. States only —
10797
+ * readable with `phones:read`, so it carries none of the business's forms.
10798
+ */
10799
+ async getPhoneNumberSetupStatus(wid, id) {
10800
+ return this.fetch(`w/${wid}/phone-numbers/${id}/setup-status`);
10801
+ }
10697
10802
  /** Create a new phone number record. */
10698
10803
  async createPhoneNumber(wid, phoneNumber) {
10699
10804
  return this.fetch(`w/${wid}/phone-numbers`, {
@@ -11008,6 +11113,21 @@ var PersonasApi = class extends BaseApiClient {
11008
11113
  async getPersona(wid, id) {
11009
11114
  return this.fetch(`w/${wid}/personas/${id}`);
11010
11115
  }
11116
+ async getPersonaTestMember(wid, id) {
11117
+ return this.fetch(`w/${wid}/personas/${id}/test-member`);
11118
+ }
11119
+ async createPersonaTestMember(wid, id) {
11120
+ return this.fetch(`w/${wid}/personas/${id}/test-member`, {
11121
+ method: "POST",
11122
+ body: JSON.stringify({})
11123
+ });
11124
+ }
11125
+ async resetPersonaTestMember(wid, id) {
11126
+ return this.fetch(`w/${wid}/personas/${id}/test-member/reset`, {
11127
+ method: "POST",
11128
+ body: JSON.stringify({})
11129
+ });
11130
+ }
11011
11131
  async createPersona(wid, data) {
11012
11132
  return this.fetch(`w/${wid}/personas`, {
11013
11133
  method: "POST",
@@ -11183,6 +11303,21 @@ var ProjectsApi = class extends BaseApiClient {
11183
11303
 
11184
11304
  // src/api/qualifications.ts
11185
11305
  var QualificationsApi = class extends BaseApiClient {
11306
+ /** Copy an authorized test Chat prefix into an editable Scenario draft. */
11307
+ async captureScenarioDraft(wid, chatId, throughMessageId) {
11308
+ return this.fetch(`w/${wid}/qualifications/chats/${chatId}/scenario-draft`, {
11309
+ method: "POST",
11310
+ body: JSON.stringify({ throughMessageId })
11311
+ });
11312
+ }
11313
+ /** Pause before the next Persona turn; a current Agent reply may finish. */
11314
+ /** Turn feedback into an explicitly authored rubric on the same Workflow. */
11315
+ async promoteTestChatFeedback(wid, runId, request) {
11316
+ return this.fetch(`w/${wid}/qualifications/test-chat-runs/${runId}/feedback/criterion`, {
11317
+ method: "POST",
11318
+ body: JSON.stringify(request)
11319
+ });
11320
+ }
11186
11321
  /** List qualifications in a workspace, paginated. */
11187
11322
  async getQualifications(wid, params) {
11188
11323
  const query = new URLSearchParams();
@@ -11274,6 +11409,12 @@ var QualificationsApi = class extends BaseApiClient {
11274
11409
  `w/${wid}/qualifications/workflows/${workflowId}/scenario-health-summaries${qs}`
11275
11410
  );
11276
11411
  }
11412
+ /** The saved run of a test Chat, including its driver and completion state. */
11413
+ async getChatTestRun(wid, chatId) {
11414
+ return this.fetch(
11415
+ `w/${wid}/qualifications/chats/${chatId}/test-chat-run`
11416
+ );
11417
+ }
11277
11418
  async getTestChatRun(wid, runId) {
11278
11419
  return this.fetch(`w/${wid}/qualifications/test-chat-runs/${runId}`);
11279
11420
  }
@@ -11569,9 +11710,9 @@ var SalesforceApi = class extends BaseApiClient {
11569
11710
  });
11570
11711
  }
11571
11712
  /**
11572
- * Start a durable run that links unlinked members by Salesforce Id / email
11573
- * and hydrates them. One run per connection; a second start while one is
11574
- * in flight is 409.
11713
+ * @deprecated Use `linkUnlinkedMembersByIdentity(wid, connectionId)`, which
11714
+ * serves every connector that links by identity. This calls the retained
11715
+ * Salesforce-only route and will be removed once no caller remains.
11575
11716
  */
11576
11717
  async linkUnlinkedSalesforceMembersByIdentity(wid) {
11577
11718
  return this.fetch(
@@ -11698,6 +11839,20 @@ var ConnectionSyncApi = class extends BaseApiClient {
11698
11839
  { method: "PUT", body: JSON.stringify(data) }
11699
11840
  );
11700
11841
  }
11842
+ async getConnectionFieldHomes(wid, connectionId) {
11843
+ return this.fetch(`w/${wid}/app-connections/${connectionId}/field-homes`);
11844
+ }
11845
+ /** Each inbound record source's latest pass: closed status, times and counts. */
11846
+ async getInboundRecordStatus(wid, connectionId) {
11847
+ return this.fetch(
11848
+ `w/${wid}/app-connections/${connectionId}/inbound-records/status`
11849
+ );
11850
+ }
11851
+ async getConnectionWritePreview(wid, connectionId, memberId) {
11852
+ return this.fetch(
11853
+ `w/${wid}/app-connections/${connectionId}/write-preview/members/${memberId}`
11854
+ );
11855
+ }
11701
11856
  async getConnectionSyncCheckpoint(wid, connectionId, direction = "inbound", syncKey = "default") {
11702
11857
  const query = new URLSearchParams({
11703
11858
  direction,
@@ -11760,6 +11915,108 @@ var ConnectionSyncApi = class extends BaseApiClient {
11760
11915
  { method: "DELETE" }
11761
11916
  );
11762
11917
  }
11918
+ /**
11919
+ * Start a durable run that links the connection's unlinked members to
11920
+ * remote records by identity (email, phone, or the vendor's own key) and
11921
+ * hydrates them. Served for any connector that declares a remote identity
11922
+ * resolver (Salesforce, HubSpot); another connector is 400. One run per
11923
+ * connection: a second start while one is in flight is 409.
11924
+ */
11925
+ async linkUnlinkedMembersByIdentity(wid, connectionId) {
11926
+ return this.fetch(
11927
+ `w/${wid}/app-connections/${connectionId}/link-unlinked-by-identity`,
11928
+ { method: "POST", body: JSON.stringify({}) }
11929
+ );
11930
+ }
11931
+ // --- Saved subset imports (Integration Standard IM-1..IM-4) ---------------
11932
+ subsetImportsPath(wid, connectionId, suffix2 = "") {
11933
+ return `w/${wid}/app-connections/${connectionId}/subset-imports${suffix2}`;
11934
+ }
11935
+ /** The connection's saved imports, newest first, and the kinds it accepts. */
11936
+ async listSubsetImports(wid, connectionId) {
11937
+ return this.fetch(this.subsetImportsPath(wid, connectionId));
11938
+ }
11939
+ async getSubsetImport(wid, connectionId, importId) {
11940
+ return this.fetch(
11941
+ this.subsetImportsPath(wid, connectionId, `/${encodeURIComponent(importId)}`)
11942
+ );
11943
+ }
11944
+ /** Save a named selection. Saving never reads the vendor or imports. */
11945
+ async createSubsetImport(wid, connectionId, data) {
11946
+ return this.fetch(this.subsetImportsPath(wid, connectionId), {
11947
+ method: "POST",
11948
+ body: JSON.stringify(data)
11949
+ });
11950
+ }
11951
+ /** Replace a saved selection. A changed selection resets its progress. */
11952
+ async updateSubsetImport(wid, connectionId, importId, data) {
11953
+ return this.fetch(
11954
+ this.subsetImportsPath(wid, connectionId, `/${encodeURIComponent(importId)}`),
11955
+ { method: "PUT", body: JSON.stringify(data) }
11956
+ );
11957
+ }
11958
+ /** Remove a saved import. Its Members and links stay. */
11959
+ async deleteSubsetImport(wid, connectionId, importId) {
11960
+ await this.fetch(
11961
+ this.subsetImportsPath(wid, connectionId, `/${encodeURIComponent(importId)}`),
11962
+ { method: "DELETE" }
11963
+ );
11964
+ }
11965
+ /** Count and sample an unsaved selection. Never writes. */
11966
+ async previewSubsetImportSelection(wid, connectionId, selection) {
11967
+ return this.fetch(
11968
+ this.subsetImportsPath(wid, connectionId, "/preview"),
11969
+ { method: "POST", body: JSON.stringify({ selection }) }
11970
+ );
11971
+ }
11972
+ /** Count and sample a saved selection. Never writes. */
11973
+ async previewSubsetImport(wid, connectionId, importId) {
11974
+ return this.fetch(
11975
+ this.subsetImportsPath(wid, connectionId, `/${encodeURIComponent(importId)}/preview`),
11976
+ // The CSRF barrier refuses a body-less POST (422); `{}` is the request.
11977
+ { method: "POST", body: JSON.stringify({}) }
11978
+ );
11979
+ }
11980
+ /**
11981
+ * Start the import in the background (202). A failed or cancelled import
11982
+ * resumes where it stopped unless `restart` is true.
11983
+ */
11984
+ async runSubsetImport(wid, connectionId, importId, options) {
11985
+ return this.fetch(
11986
+ this.subsetImportsPath(wid, connectionId, `/${encodeURIComponent(importId)}/run`),
11987
+ { method: "POST", body: JSON.stringify({ restart: options?.restart ?? false }) }
11988
+ );
11989
+ }
11990
+ /** Ask a running import to stop (202); its progress is kept for a resume. */
11991
+ async cancelSubsetImport(wid, connectionId, importId) {
11992
+ return this.fetch(
11993
+ this.subsetImportsPath(wid, connectionId, `/${encodeURIComponent(importId)}/cancel`),
11994
+ // The CSRF barrier refuses a body-less POST (422); `{}` is the request.
11995
+ { method: "POST", body: JSON.stringify({}) }
11996
+ );
11997
+ }
11998
+ /** The connection's import-run history, newest first (counts only). */
11999
+ async listSubsetImportRuns(wid, connectionId, limit = 20) {
12000
+ return this.fetch(
12001
+ this.subsetImportsPath(wid, connectionId, `/runs?limit=${limit}`)
12002
+ );
12003
+ }
12004
+ /** Vendor lists a `vendor_list` import can name (configuration only). */
12005
+ async listSubsetImportVendorLists(wid, connectionId, options) {
12006
+ const query = new URLSearchParams({
12007
+ query: options?.query ?? "",
12008
+ limit: String(options?.limit ?? 50)
12009
+ });
12010
+ return this.fetch(
12011
+ this.subsetImportsPath(wid, connectionId, `/vendor-lists?${query}`)
12012
+ );
12013
+ }
12014
+ /** Remote fields a `field_filter` import can name, with their operators. */
12015
+ async listSubsetImportFilterFields(wid, connectionId) {
12016
+ return this.fetch(
12017
+ this.subsetImportsPath(wid, connectionId, "/filter-fields")
12018
+ );
12019
+ }
11763
12020
  };
11764
12021
 
11765
12022
  // src/api/hubspot.ts
@@ -11865,6 +12122,35 @@ var HubspotApi = class extends BaseApiClient {
11865
12122
  `w/${wid}/app-connections/hubspot/sync-settings/hs-properties`
11866
12123
  );
11867
12124
  }
12125
+ /** Mappable HubSpot deal property definitions (deal inbound record sources). */
12126
+ async getHubspotDealProperties(wid) {
12127
+ return this.fetch(
12128
+ `w/${wid}/app-connections/hubspot/sync-settings/hs-properties?objectType=deals`
12129
+ );
12130
+ }
12131
+ /** The portal's Meetings booking links, or `missing_scope` without the scheduler scope. */
12132
+ async getHubspotMeetingLinks(wid) {
12133
+ return this.fetch(
12134
+ `w/${wid}/app-connections/hubspot/sync-settings/meeting-links`
12135
+ );
12136
+ }
12137
+ /** The portal's forms and their fields, or `missing_scope` without the `forms` scope. */
12138
+ async getHubspotForms(wid) {
12139
+ return this.fetch(
12140
+ `w/${wid}/app-connections/hubspot/sync-settings/forms`
12141
+ );
12142
+ }
12143
+ /**
12144
+ * Raw HubSpot property definitions for one CRM object type
12145
+ * (`GET /get_properties/{objectType}`), as HubSpot's properties API
12146
+ * returns them. Use `getHubspotContactProperties` for the sync-mappable
12147
+ * contact property list the field mapper shows.
12148
+ */
12149
+ async getHubspotObjectProperties(wid, objectType) {
12150
+ return this.fetch(
12151
+ `w/${wid}/app-connections/hubspot/get_properties/${encodeURIComponent(objectType)}`
12152
+ );
12153
+ }
11868
12154
  async getHubspotManagedRules(wid) {
11869
12155
  return this.fetch(`w/${wid}/app-connections/hubspot/managed-rules`);
11870
12156
  }
@@ -13064,6 +13350,17 @@ var JourneysApi = class extends BaseApiClient {
13064
13350
  async getJourneyHealth(wid, journeyId) {
13065
13351
  return this.fetch(`w/${wid}/journeys/${journeyId}/health`);
13066
13352
  }
13353
+ /**
13354
+ * How many days the journey's texts take at the workspace's current sending
13355
+ * limits — advice for the publish and enroll confirmations, never a gate.
13356
+ * `additionalMembers` is the size of a batch about to be enrolled.
13357
+ */
13358
+ async getJourneySendEstimate(wid, journeyId, additionalMembers = 0) {
13359
+ const query = new URLSearchParams({ additionalMembers: String(additionalMembers) });
13360
+ return this.fetch(
13361
+ `w/${wid}/journeys/${journeyId}/send-estimate?${query.toString()}`
13362
+ );
13363
+ }
13067
13364
  /** Create a step within a journey. */
13068
13365
  async createStep(wid, journeyId, data) {
13069
13366
  return this.fetch(`w/${wid}/journeys/${journeyId}/steps`, {
@@ -13982,13 +14279,10 @@ var WorkspacesApi = class extends BaseApiClient {
13982
14279
  }
13983
14280
  /** Register a Web Push subscription for the current user. */
13984
14281
  async registerPushSubscription(wid, subscription) {
13985
- return this.fetch(
13986
- `w/${wid}/push-subscriptions`,
13987
- {
13988
- method: "POST",
13989
- body: JSON.stringify(subscription)
13990
- }
13991
- );
14282
+ return this.fetch(`w/${wid}/push-subscriptions`, {
14283
+ method: "POST",
14284
+ body: JSON.stringify(subscription)
14285
+ });
13992
14286
  }
13993
14287
  /** Unregister a Web Push subscription by endpoint URL. */
13994
14288
  async unregisterPushSubscription(wid, endpoint) {
@@ -14003,6 +14297,14 @@ var WorkspacesApi = class extends BaseApiClient {
14003
14297
  async listPushSubscriptions(wid) {
14004
14298
  return this.fetch(`w/${wid}/push-subscriptions`);
14005
14299
  }
14300
+ /** Submit a fixed generic test to an owned browser registration. */
14301
+ async testPushSubscription(wid, subscriptionId) {
14302
+ const body = {};
14303
+ return this.fetch(
14304
+ `w/${wid}/push-subscriptions/${subscriptionId}/test`,
14305
+ { method: "POST", body: JSON.stringify(body) }
14306
+ );
14307
+ }
14006
14308
  /** List org domains available for workspace email inbox routing. */
14007
14309
  async getWorkspaceEmailDomains(wid) {
14008
14310
  return this.fetch(`w/${wid}/domains/for-email`);
@@ -14489,6 +14791,7 @@ function createApiModules(apiKey, baseUrl, customFetch) {
14489
14791
  patientSyncConnections: new PatientSyncConnectionsApi(apiKey, baseUrl, customFetch),
14490
14792
  healthie: new HealthieApi(apiKey, baseUrl, customFetch),
14491
14793
  documoFax: new DocumoFaxApi(apiKey, baseUrl, customFetch),
14794
+ claimMd: new ClaimMdApi(apiKey, baseUrl, customFetch),
14492
14795
  hubspot: new HubspotApi(apiKey, baseUrl, customFetch),
14493
14796
  features: new FeaturesApi(apiKey, baseUrl, customFetch),
14494
14797
  files: new FilesApi(apiKey, baseUrl, customFetch),
@@ -14572,6 +14875,7 @@ var WORKSPACE_METHOD_NAMES = [
14572
14875
  "cancelCalendarEvent",
14573
14876
  "cancelChatCallback",
14574
14877
  "cancelCredentialUpdateInvite",
14878
+ "cancelSubsetImport",
14575
14879
  "checkAvailability",
14576
14880
  "checkSiteDomainAvailability",
14577
14881
  "checkSiteSlugAvailability",
@@ -14586,6 +14890,7 @@ var WORKSPACE_METHOD_NAMES = [
14586
14890
  "commentOnWorkspaceSupportRequest",
14587
14891
  "completeDiscordLink",
14588
14892
  "configureConfluence",
14893
+ "configureClaimMd",
14589
14894
  "configureDocumoFax",
14590
14895
  "configureHealthie",
14591
14896
  "configurePatientSync",
@@ -14593,6 +14898,7 @@ var WORKSPACE_METHOD_NAMES = [
14593
14898
  "configureMondayConnection",
14594
14899
  "configureSalesforce",
14595
14900
  "configureZendeskConnection",
14901
+ "connectAthena",
14596
14902
  "convertEmail",
14597
14903
  "convertFile",
14598
14904
  "createAbility",
@@ -14601,6 +14907,15 @@ var WORKSPACE_METHOD_NAMES = [
14601
14907
  "createApiKey",
14602
14908
  "createAssignment",
14603
14909
  "bindInstallationSlots",
14910
+ "createSubsetImport",
14911
+ "deleteSubsetImport",
14912
+ "getSubsetImport",
14913
+ "listSubsetImportFilterFields",
14914
+ "listSubsetImportRuns",
14915
+ "listSubsetImports",
14916
+ "listSubsetImportVendorLists",
14917
+ "previewSubsetImport",
14918
+ "previewSubsetImportSelection",
14604
14919
  "restoreInstallationForm",
14605
14920
  "createBundle",
14606
14921
  "createCalendar",
@@ -14609,6 +14924,7 @@ var WORKSPACE_METHOD_NAMES = [
14609
14924
  "createCalendarSchedule",
14610
14925
  "createChat",
14611
14926
  "createChatInteractionSession",
14927
+ "runSubsetImport",
14612
14928
  "transitionChatInteractionSession",
14613
14929
  "createChatCompletion",
14614
14930
  "createChatFilter",
@@ -14789,7 +15105,6 @@ var WORKSPACE_METHOD_NAMES = [
14789
15105
  "fhirGetCsvImportSettings",
14790
15106
  "fhirGetEncounterSyncRuns",
14791
15107
  "fhirGetEncounterSyncStatus",
14792
- "fhirGetOnboardingImportStatus",
14793
15108
  "fhirImportPatient",
14794
15109
  "fhirLinkMember",
14795
15110
  "fhirListLinkedMembers",
@@ -14798,7 +15113,6 @@ var WORKSPACE_METHOD_NAMES = [
14798
15113
  "fhirSearchLocations",
14799
15114
  "fhirSearchPatients",
14800
15115
  "fhirSearchPractitioners",
14801
- "fhirStartOnboardingImport",
14802
15116
  "fhirSyncMember",
14803
15117
  "fhirUnlinkMember",
14804
15118
  "fhirUpdateCsvImportSettings",
@@ -14824,6 +15138,7 @@ var WORKSPACE_METHOD_NAMES = [
14824
15138
  "getAnonymousResolutions",
14825
15139
  "getApiKeys",
14826
15140
  "getArchiveBlockers",
15141
+ "getAthenaPlatformApp",
14827
15142
  "getAssignment",
14828
15143
  "getAssignmentCelContext",
14829
15144
  "getAssignmentMessages",
@@ -14886,9 +15201,12 @@ var WORKSPACE_METHOD_NAMES = [
14886
15201
  "getClientWorkspace",
14887
15202
  "getConfigurationHealth",
14888
15203
  "getConfluenceStatus",
15204
+ "getConnectionFieldHomes",
15205
+ "getInboundRecordStatus",
14889
15206
  "getConnectionSyncCapabilities",
14890
15207
  "getConnectionSyncCheckpoint",
14891
15208
  "getConnectionSyncConfig",
15209
+ "getConnectionWritePreview",
14892
15210
  "getCredentialUpdateInvites",
14893
15211
  "getCurrentMember",
14894
15212
  "clearMemberWorkflowVoice",
@@ -14925,6 +15243,7 @@ var WORKSPACE_METHOD_NAMES = [
14925
15243
  "getDiscordBots",
14926
15244
  "getDiscordGuilds",
14927
15245
  "getDiscordThreads",
15246
+ "getClaimMdStatus",
14928
15247
  "getDocumoFaxSetup",
14929
15248
  "listDocumoFaxes",
14930
15249
  "getDocumoFaxStatus",
@@ -14953,6 +15272,7 @@ var WORKSPACE_METHOD_NAMES = [
14953
15272
  "getSiteSourceTemplates",
14954
15273
  "getThemeSettings",
14955
15274
  "importSiteSourceZip",
15275
+ "installClaimMd",
14956
15276
  "installDocumoFax",
14957
15277
  "previewDataReport",
14958
15278
  "previewQuery",
@@ -14989,7 +15309,11 @@ var WORKSPACE_METHOD_NAMES = [
14989
15309
  "getHealthieStatus",
14990
15310
  "getPatientSyncStatus",
14991
15311
  "getHubspotContactProperties",
15312
+ "getHubspotDealProperties",
15313
+ "getHubspotForms",
15314
+ "getHubspotMeetingLinks",
14992
15315
  "getHubspotManagedRules",
15316
+ "getHubspotObjectProperties",
14993
15317
  "getHubspotReconciliationMatches",
14994
15318
  "getHubspotStatus",
14995
15319
  "getHubspotSyncLogs",
@@ -15001,6 +15325,7 @@ var WORKSPACE_METHOD_NAMES = [
15001
15325
  "getInbox",
15002
15326
  "getInboxEmail",
15003
15327
  "getInboxEmails",
15328
+ "getInboxOutboundEmailStats",
15004
15329
  "getInboxThreads",
15005
15330
  "getInboxes",
15006
15331
  "getInterventionRequests",
@@ -15010,6 +15335,7 @@ var WORKSPACE_METHOD_NAMES = [
15010
15335
  "getJourneyHealth",
15011
15336
  "getJourneyMembers",
15012
15337
  "getJourneyNotes",
15338
+ "getJourneySendEstimate",
15013
15339
  "getJourneyV2Validation",
15014
15340
  "getJourneys",
15015
15341
  "getLinkablePhones",
@@ -15070,11 +15396,16 @@ var WORKSPACE_METHOD_NAMES = [
15070
15396
  "getPage",
15071
15397
  "getPageBySlug",
15072
15398
  "getPersona",
15399
+ "getPersonaTestMember",
15400
+ "createPersonaTestMember",
15401
+ "resetPersonaTestMember",
15073
15402
  "getPhoneCalls",
15403
+ "getPhoneCallByUuid",
15074
15404
  "getPhoneNumber",
15075
15405
  "getPhoneNumberCalls",
15076
15406
  "getPhoneNumberFaxes",
15077
15407
  "getPhoneNumberMessages",
15408
+ "getPhoneNumberSetupStatus",
15078
15409
  "getPhoneNumberVoicemails",
15079
15410
  "getPhoneNumbers",
15080
15411
  "getPhoneUsageReport",
@@ -15090,7 +15421,6 @@ var WORKSPACE_METHOD_NAMES = [
15090
15421
  "getPublicProducts",
15091
15422
  "getQualification",
15092
15423
  "getQualifications",
15093
- "getRecordingInfo",
15094
15424
  "getResellerWorkspaces",
15095
15425
  "getRoutine",
15096
15426
  "getRoutineConfigEvents",
@@ -15117,6 +15447,8 @@ var WORKSPACE_METHOD_NAMES = [
15117
15447
  "getSlackAppAccounts",
15118
15448
  "getSlackApps",
15119
15449
  "getSlackInstallations",
15450
+ "removeSlackAccount",
15451
+ "removeSlackInstallation",
15120
15452
  "getSlackThreads",
15121
15453
  "getStepMemberCounts",
15122
15454
  "getStepMembers",
@@ -15133,6 +15465,7 @@ var WORKSPACE_METHOD_NAMES = [
15133
15465
  "getTeamsConversations",
15134
15466
  "getTeamsInstallations",
15135
15467
  "getTemplateContext",
15468
+ "getChatTestRun",
15136
15469
  "getTestChatRun",
15137
15470
  "getThreadEmails",
15138
15471
  "getTool",
@@ -15206,6 +15539,7 @@ var WORKSPACE_METHOD_NAMES = [
15206
15539
  "linkMemberToMonday",
15207
15540
  "linkMemberToSalesforce",
15208
15541
  "linkPhoneNumber",
15542
+ "linkUnlinkedMembersByIdentity",
15209
15543
  "linkUnlinkedSalesforceMembersByIdentity",
15210
15544
  "listAbilities",
15211
15545
  "listAnonymousFormSubmissions",
@@ -15289,6 +15623,7 @@ var WORKSPACE_METHOD_NAMES = [
15289
15623
  "reenrollMember",
15290
15624
  "renameFieldSlug",
15291
15625
  "registerLinkedRolesMetadata",
15626
+ "testPushSubscription",
15292
15627
  "registerPushSubscription",
15293
15628
  "reindexFolder",
15294
15629
  "releasePhoneNumber",
@@ -15300,6 +15635,7 @@ var WORKSPACE_METHOD_NAMES = [
15300
15635
  "reorderMenuItems",
15301
15636
  "reconcileInstallation",
15302
15637
  "setInstallationPolicy",
15638
+ "updateSubsetImport",
15303
15639
  "upgradeInstallation",
15304
15640
  "replaceBundleDraft",
15305
15641
  "replyToEmail",
@@ -15335,6 +15671,8 @@ var WORKSPACE_METHOD_NAMES = [
15335
15671
  "startHubspotOAuth",
15336
15672
  "startSalesforceOAuth",
15337
15673
  "startSyncRun",
15674
+ "captureScenarioDraft",
15675
+ "promoteTestChatFeedback",
15338
15676
  "startTestChatRun",
15339
15677
  "summarizeChat",
15340
15678
  "syncCalendarWithGoogle",
@@ -15374,6 +15712,7 @@ var WORKSPACE_METHOD_NAMES = [
15374
15712
  "updateChatFilter",
15375
15713
  "updateChatLabel",
15376
15714
  "updateChatModelOverride",
15715
+ "setChatStar",
15377
15716
  "updateChatMute",
15378
15717
  "updateClientWorkspace",
15379
15718
  "updateConnection",
@@ -15453,6 +15792,8 @@ var WORKSPACE_METHOD_NAMES = [
15453
15792
  "validateDataTypeSlug",
15454
15793
  "validateQuery",
15455
15794
  "validateWorkflowName",
15795
+ "verifyAthenaAccess",
15796
+ "verifyClaimMdKey",
15456
15797
  "verifyDocumoFax"
15457
15798
  ];
15458
15799
  var WORKSPACE_METHOD_NAME_SET = new Set(WORKSPACE_METHOD_NAMES);
@@ -15561,6 +15902,7 @@ function bindChatsMethods(target, chats) {
15561
15902
  target.updateChat = chats.updateChat.bind(chats);
15562
15903
  target.getChatModelOverride = chats.getChatModelOverride.bind(chats);
15563
15904
  target.updateChatModelOverride = chats.updateChatModelOverride.bind(chats);
15905
+ target.setChatStar = chats.setChatStar.bind(chats);
15564
15906
  target.updateChatMute = chats.updateChatMute.bind(chats);
15565
15907
  target.summarizeChat = chats.summarizeChat.bind(chats);
15566
15908
  target.getChatMessages = chats.getChatMessages.bind(chats);
@@ -15597,8 +15939,8 @@ function bindChatsMethods(target, chats) {
15597
15939
  // src/client/bindings/calls.ts
15598
15940
  function bindCallsMethods(target, calls, cel) {
15599
15941
  target.getPhoneCalls = calls.getPhoneCalls.bind(calls);
15942
+ target.getPhoneCallByUuid = calls.getPhoneCallByUuid.bind(calls);
15600
15943
  target.getMessageTiming = calls.getMessageTiming.bind(calls);
15601
- target.getRecordingInfo = calls.getRecordingInfo.bind(calls);
15602
15944
  target.getEdgeCaptureInfo = calls.getEdgeCaptureInfo.bind(calls);
15603
15945
  target.getCallRecordingDownloadUrl = calls.getCallRecordingDownloadUrl.bind(calls);
15604
15946
  target.getCelContext = cel.getCelContext.bind(cel);
@@ -15840,6 +16182,7 @@ function bindWorkspacesMethods(target, workspaces, signupRequests) {
15840
16182
  target.getWorkspaceScopes = workspaces.getWorkspaceScopes.bind(workspaces);
15841
16183
  target.getUsageDashboard = workspaces.getUsageDashboard.bind(workspaces);
15842
16184
  target.getVapidPublicKey = workspaces.getVapidPublicKey.bind(workspaces);
16185
+ target.testPushSubscription = workspaces.testPushSubscription.bind(workspaces);
15843
16186
  target.registerPushSubscription = workspaces.registerPushSubscription.bind(workspaces);
15844
16187
  target.unregisterPushSubscription = workspaces.unregisterPushSubscription.bind(workspaces);
15845
16188
  target.listPushSubscriptions = workspaces.listPushSubscriptions.bind(workspaces);
@@ -16166,6 +16509,7 @@ function bindCommunicationsMethods(target, phoneNumbers, inboxes, notificationRu
16166
16509
  target.createPhoneNumber = phoneNumbers.createPhoneNumber.bind(phoneNumbers);
16167
16510
  target.updatePhoneNumber = phoneNumbers.updatePhoneNumber.bind(phoneNumbers);
16168
16511
  target.getArchiveBlockers = phoneNumbers.getArchiveBlockers.bind(phoneNumbers);
16512
+ target.getPhoneNumberSetupStatus = phoneNumbers.getPhoneNumberSetupStatus.bind(phoneNumbers);
16169
16513
  target.archivePhoneNumber = phoneNumbers.archivePhoneNumber.bind(phoneNumbers);
16170
16514
  target.getPhoneNumberCalls = phoneNumbers.getPhoneNumberCalls.bind(phoneNumbers);
16171
16515
  target.getPhoneNumberOutboundAnalyticsSummary = phoneNumbers.getPhoneNumberOutboundAnalyticsSummary.bind(phoneNumbers);
@@ -16198,6 +16542,7 @@ function bindCommunicationsMethods(target, phoneNumbers, inboxes, notificationRu
16198
16542
  target.sendInboxEmail = inboxes.sendInboxEmail.bind(inboxes);
16199
16543
  target.previewInboxEmail = inboxes.previewInboxEmail.bind(inboxes);
16200
16544
  target.previewEmailReply = inboxes.previewEmailReply.bind(inboxes);
16545
+ target.getInboxOutboundEmailStats = inboxes.getInboxOutboundEmailStats.bind(inboxes);
16201
16546
  target.getNotificationRules = notificationRules.getNotificationRules.bind(notificationRules);
16202
16547
  target.createNotificationRule = notificationRules.createNotificationRule.bind(notificationRules);
16203
16548
  target.updateNotificationRule = notificationRules.updateNotificationRule.bind(notificationRules);
@@ -16314,7 +16659,7 @@ function bindAppsMethods(target, apps, builders, inquiries, oauth, oauthConnecti
16314
16659
  }
16315
16660
 
16316
16661
  // src/client/bindings/integrations.ts
16317
- function bindIntegrationsMethods(target, mondayIntegration, discordBots, slackApps, teamsApps, fhirConnections, patientSyncConnections, healthie, documoFax, salesforce, hubspot, appConnections, connectionSync, confluence) {
16662
+ function bindIntegrationsMethods(target, mondayIntegration, discordBots, slackApps, teamsApps, fhirConnections, patientSyncConnections, healthie, documoFax, claimMd, salesforce, hubspot, appConnections, connectionSync, confluence) {
16318
16663
  target.getMondayBoards = mondayIntegration.getBoards.bind(mondayIntegration);
16319
16664
  target.getMondayBoardColumns = mondayIntegration.getBoardColumns.bind(mondayIntegration);
16320
16665
  target.getMondayBoardGroups = mondayIntegration.getBoardGroups.bind(mondayIntegration);
@@ -16364,6 +16709,8 @@ function bindIntegrationsMethods(target, mondayIntegration, discordBots, slackAp
16364
16709
  target.deleteSlackApp = slackApps.deleteSlackApp.bind(slackApps);
16365
16710
  target.getSlackThreads = slackApps.getSlackThreads.bind(slackApps);
16366
16711
  target.getSlackInstallations = slackApps.getSlackInstallations.bind(slackApps);
16712
+ target.removeSlackAccount = slackApps.removeSlackAccount.bind(slackApps);
16713
+ target.removeSlackInstallation = slackApps.removeSlackInstallation.bind(slackApps);
16367
16714
  target.getSlackChannelChoices = slackApps.getSlackChannelChoices.bind(slackApps);
16368
16715
  target.getSlackEntryPoints = slackApps.getSlackEntryPoints.bind(slackApps);
16369
16716
  target.connectSlackEntryPoint = slackApps.connectSlackEntryPoint.bind(slackApps);
@@ -16407,8 +16754,9 @@ function bindIntegrationsMethods(target, mondayIntegration, discordBots, slackAp
16407
16754
  target.fhirGetEncounterSyncRuns = fhirConnections.fhirGetEncounterSyncRuns.bind(fhirConnections);
16408
16755
  target.fhirRefreshEncounterPatient = fhirConnections.fhirRefreshEncounterPatient.bind(fhirConnections);
16409
16756
  target.fhirBackfillEncounterSync = fhirConnections.fhirBackfillEncounterSync.bind(fhirConnections);
16410
- target.fhirStartOnboardingImport = fhirConnections.fhirStartOnboardingImport.bind(fhirConnections);
16411
- target.fhirGetOnboardingImportStatus = fhirConnections.fhirGetOnboardingImportStatus.bind(fhirConnections);
16757
+ target.getAthenaPlatformApp = fhirConnections.getAthenaPlatformApp.bind(fhirConnections);
16758
+ target.verifyAthenaAccess = fhirConnections.verifyAthenaAccess.bind(fhirConnections);
16759
+ target.connectAthena = fhirConnections.connectAthena.bind(fhirConnections);
16412
16760
  target.configurePatientSync = patientSyncConnections.configurePatientSync.bind(patientSyncConnections);
16413
16761
  target.getPatientSyncStatus = patientSyncConnections.getPatientSyncStatus.bind(patientSyncConnections);
16414
16762
  target.deletePatientSyncConnection = patientSyncConnections.deletePatientSyncConnection.bind(patientSyncConnections);
@@ -16419,6 +16767,10 @@ function bindIntegrationsMethods(target, mondayIntegration, discordBots, slackAp
16419
16767
  target.configureDocumoFax = documoFax.configureDocumoFax.bind(documoFax);
16420
16768
  target.verifyDocumoFax = documoFax.verifyDocumoFax.bind(documoFax);
16421
16769
  target.rotateDocumoFaxCredentials = documoFax.rotateDocumoFaxCredentials.bind(documoFax);
16770
+ target.getClaimMdStatus = claimMd.getClaimMdStatus.bind(claimMd);
16771
+ target.installClaimMd = claimMd.installClaimMd.bind(claimMd);
16772
+ target.configureClaimMd = claimMd.configureClaimMd.bind(claimMd);
16773
+ target.verifyClaimMdKey = claimMd.verifyClaimMdKey.bind(claimMd);
16422
16774
  target.configureHealthie = healthie.configureHealthie.bind(healthie);
16423
16775
  target.getHealthieStatus = healthie.getHealthieStatus.bind(healthie);
16424
16776
  target.listHealthieProviders = healthie.listHealthieProviders.bind(healthie);
@@ -16480,6 +16832,10 @@ function bindIntegrationsMethods(target, mondayIntegration, discordBots, slackAp
16480
16832
  target.searchHubspotRecords = hubspot.searchHubspotRecords.bind(hubspot);
16481
16833
  target.importHubspotMembers = hubspot.importHubspotMembers.bind(hubspot);
16482
16834
  target.getHubspotContactProperties = hubspot.getHubspotContactProperties.bind(hubspot);
16835
+ target.getHubspotDealProperties = hubspot.getHubspotDealProperties.bind(hubspot);
16836
+ target.getHubspotForms = hubspot.getHubspotForms.bind(hubspot);
16837
+ target.getHubspotMeetingLinks = hubspot.getHubspotMeetingLinks.bind(hubspot);
16838
+ target.getHubspotObjectProperties = hubspot.getHubspotObjectProperties.bind(hubspot);
16483
16839
  target.getHubspotManagedRules = hubspot.getHubspotManagedRules.bind(hubspot);
16484
16840
  target.getHubspotSyncLogs = hubspot.getHubspotSyncLogs.bind(hubspot);
16485
16841
  target.getHubspotTransformPresets = hubspot.getHubspotTransformPresets.bind(hubspot);
@@ -16491,7 +16847,23 @@ function bindIntegrationsMethods(target, mondayIntegration, discordBots, slackAp
16491
16847
  target.getSyncRuns = connectionSync.getSyncRuns.bind(connectionSync);
16492
16848
  target.getSyncRunItems = connectionSync.getSyncRunItems.bind(connectionSync);
16493
16849
  target.getMemberSyncSummary = connectionSync.getMemberSyncSummary.bind(connectionSync);
16850
+ target.getConnectionFieldHomes = connectionSync.getConnectionFieldHomes.bind(connectionSync);
16851
+ target.getInboundRecordStatus = connectionSync.getInboundRecordStatus.bind(connectionSync);
16852
+ target.getConnectionWritePreview = connectionSync.getConnectionWritePreview.bind(connectionSync);
16494
16853
  target.clearConnectionMemberExclusion = connectionSync.clearConnectionMemberExclusion.bind(connectionSync);
16854
+ target.linkUnlinkedMembersByIdentity = connectionSync.linkUnlinkedMembersByIdentity.bind(connectionSync);
16855
+ target.listSubsetImports = connectionSync.listSubsetImports.bind(connectionSync);
16856
+ target.getSubsetImport = connectionSync.getSubsetImport.bind(connectionSync);
16857
+ target.createSubsetImport = connectionSync.createSubsetImport.bind(connectionSync);
16858
+ target.updateSubsetImport = connectionSync.updateSubsetImport.bind(connectionSync);
16859
+ target.deleteSubsetImport = connectionSync.deleteSubsetImport.bind(connectionSync);
16860
+ target.previewSubsetImportSelection = connectionSync.previewSubsetImportSelection.bind(connectionSync);
16861
+ target.previewSubsetImport = connectionSync.previewSubsetImport.bind(connectionSync);
16862
+ target.runSubsetImport = connectionSync.runSubsetImport.bind(connectionSync);
16863
+ target.cancelSubsetImport = connectionSync.cancelSubsetImport.bind(connectionSync);
16864
+ target.listSubsetImportRuns = connectionSync.listSubsetImportRuns.bind(connectionSync);
16865
+ target.listSubsetImportVendorLists = connectionSync.listSubsetImportVendorLists.bind(connectionSync);
16866
+ target.listSubsetImportFilterFields = connectionSync.listSubsetImportFilterFields.bind(connectionSync);
16495
16867
  target.listAvailableAppConnections = appConnections.listAvailableAppConnections.bind(appConnections);
16496
16868
  target.listAppConnections = appConnections.listAppConnections.bind(appConnections);
16497
16869
  target.enablePlatformApp = appConnections.enablePlatformApp.bind(appConnections);
@@ -16652,6 +17024,7 @@ function bindJourneysMethods(target, journeys) {
16652
17024
  target.getJourneyV2Validation = journeys.getJourneyV2Validation.bind(journeys);
16653
17025
  target.getJourneyFilterOptions = journeys.getJourneyFilterOptions.bind(journeys);
16654
17026
  target.getJourneyHealth = journeys.getJourneyHealth.bind(journeys);
17027
+ target.getJourneySendEstimate = journeys.getJourneySendEstimate.bind(journeys);
16655
17028
  target.cloneJourneyAsV2 = journeys.cloneJourneyAsV2.bind(journeys);
16656
17029
  target.createJourney = journeys.createJourney.bind(journeys);
16657
17030
  target.updateJourney = journeys.updateJourney.bind(journeys);
@@ -16696,11 +17069,14 @@ function bindQualificationsMethods(target, qualifications) {
16696
17069
  target.deleteScenario = qualifications.deleteScenario.bind(qualifications);
16697
17070
  target.listTestChatRuns = qualifications.listTestChatRuns.bind(qualifications);
16698
17071
  target.listScenarioHealthSummaries = qualifications.listScenarioHealthSummaries.bind(qualifications);
17072
+ target.getChatTestRun = qualifications.getChatTestRun.bind(qualifications);
16699
17073
  target.getTestChatRun = qualifications.getTestChatRun.bind(qualifications);
16700
17074
  target.listChatCapturedEffects = qualifications.listChatCapturedEffects.bind(qualifications);
16701
17075
  target.listChatRecordChanges = qualifications.listChatRecordChanges.bind(qualifications);
16702
17076
  target.takeTestChatRunEmailTurn = qualifications.takeTestChatRunEmailTurn.bind(qualifications);
16703
17077
  target.takeTestChatRunSmsTurn = qualifications.takeTestChatRunSmsTurn.bind(qualifications);
17078
+ target.captureScenarioDraft = qualifications.captureScenarioDraft.bind(qualifications);
17079
+ target.promoteTestChatFeedback = qualifications.promoteTestChatFeedback.bind(qualifications);
16704
17080
  target.startTestChatRun = qualifications.startTestChatRun.bind(qualifications);
16705
17081
  target.evaluateTestChatRun = qualifications.evaluateTestChatRun.bind(qualifications);
16706
17082
  target.endTestChatRun = qualifications.endTestChatRun.bind(qualifications);
@@ -16710,6 +17086,9 @@ function bindQualificationsMethods(target, qualifications) {
16710
17086
  function bindPersonasMethods(target, personas) {
16711
17087
  target.listPersonas = personas.listPersonas.bind(personas);
16712
17088
  target.getPersona = personas.getPersona.bind(personas);
17089
+ target.getPersonaTestMember = personas.getPersonaTestMember.bind(personas);
17090
+ target.createPersonaTestMember = personas.createPersonaTestMember.bind(personas);
17091
+ target.resetPersonaTestMember = personas.resetPersonaTestMember.bind(personas);
16713
17092
  target.createPersona = personas.createPersona.bind(personas);
16714
17093
  target.updatePersona = personas.updatePersona.bind(personas);
16715
17094
  target.archivePersona = personas.archivePersona.bind(personas);
@@ -16855,6 +17234,7 @@ var GravityRailClient = class {
16855
17234
  updateChat;
16856
17235
  getChatModelOverride;
16857
17236
  updateChatModelOverride;
17237
+ setChatStar;
16858
17238
  updateChatMute;
16859
17239
  summarizeChat;
16860
17240
  getChatMessages;
@@ -16888,8 +17268,8 @@ var GravityRailClient = class {
16888
17268
  getChatFilterCount;
16889
17269
  // Calls API
16890
17270
  getPhoneCalls;
17271
+ getPhoneCallByUuid;
16891
17272
  getMessageTiming;
16892
- getRecordingInfo;
16893
17273
  getEdgeCaptureInfo;
16894
17274
  getCallRecordingDownloadUrl;
16895
17275
  getCelContext;
@@ -17034,11 +17414,14 @@ var GravityRailClient = class {
17034
17414
  deleteScenario;
17035
17415
  listTestChatRuns;
17036
17416
  listScenarioHealthSummaries;
17417
+ getChatTestRun;
17037
17418
  getTestChatRun;
17038
17419
  listChatCapturedEffects;
17039
17420
  listChatRecordChanges;
17040
17421
  takeTestChatRunEmailTurn;
17041
17422
  takeTestChatRunSmsTurn;
17423
+ captureScenarioDraft;
17424
+ promoteTestChatFeedback;
17042
17425
  startTestChatRun;
17043
17426
  evaluateTestChatRun;
17044
17427
  endTestChatRun;
@@ -17052,6 +17435,9 @@ var GravityRailClient = class {
17052
17435
  previewDataReport;
17053
17436
  listPersonas;
17054
17437
  getPersona;
17438
+ getPersonaTestMember;
17439
+ createPersonaTestMember;
17440
+ resetPersonaTestMember;
17055
17441
  createPersona;
17056
17442
  updatePersona;
17057
17443
  archivePersona;
@@ -17122,6 +17508,7 @@ var GravityRailClient = class {
17122
17508
  getJourneyV2Validation;
17123
17509
  getJourneyFilterOptions;
17124
17510
  getJourneyHealth;
17511
+ getJourneySendEstimate;
17125
17512
  cloneJourneyAsV2;
17126
17513
  createJourney;
17127
17514
  updateJourney;
@@ -17348,6 +17735,7 @@ var GravityRailClient = class {
17348
17735
  setWorkspaceLabels;
17349
17736
  previewWorkspaceScope;
17350
17737
  getVapidPublicKey;
17738
+ testPushSubscription;
17351
17739
  registerPushSubscription;
17352
17740
  unregisterPushSubscription;
17353
17741
  listPushSubscriptions;
@@ -17627,6 +18015,7 @@ var GravityRailClient = class {
17627
18015
  createPhoneNumber;
17628
18016
  updatePhoneNumber;
17629
18017
  getArchiveBlockers;
18018
+ getPhoneNumberSetupStatus;
17630
18019
  archivePhoneNumber;
17631
18020
  getPhoneNumberCalls;
17632
18021
  getPhoneNumberOutboundAnalyticsSummary;
@@ -17659,6 +18048,7 @@ var GravityRailClient = class {
17659
18048
  sendInboxEmail;
17660
18049
  previewInboxEmail;
17661
18050
  previewEmailReply;
18051
+ getInboxOutboundEmailStats;
17662
18052
  getNotificationRules;
17663
18053
  createNotificationRule;
17664
18054
  updateNotificationRule;
@@ -17823,6 +18213,8 @@ var GravityRailClient = class {
17823
18213
  deleteSlackApp;
17824
18214
  getSlackThreads;
17825
18215
  getSlackInstallations;
18216
+ removeSlackAccount;
18217
+ removeSlackInstallation;
17826
18218
  getSlackChannelChoices;
17827
18219
  getSlackEntryPoints;
17828
18220
  connectSlackEntryPoint;
@@ -17868,8 +18260,9 @@ var GravityRailClient = class {
17868
18260
  fhirGetEncounterSyncRuns;
17869
18261
  fhirRefreshEncounterPatient;
17870
18262
  fhirBackfillEncounterSync;
17871
- fhirStartOnboardingImport;
17872
- fhirGetOnboardingImportStatus;
18263
+ getAthenaPlatformApp;
18264
+ verifyAthenaAccess;
18265
+ connectAthena;
17873
18266
  // Healthie API
17874
18267
  getDocumoFaxStatus;
17875
18268
  getDocumoFaxSetup;
@@ -17878,6 +18271,10 @@ var GravityRailClient = class {
17878
18271
  configureDocumoFax;
17879
18272
  verifyDocumoFax;
17880
18273
  rotateDocumoFaxCredentials;
18274
+ getClaimMdStatus;
18275
+ installClaimMd;
18276
+ configureClaimMd;
18277
+ verifyClaimMdKey;
17881
18278
  configurePatientSync;
17882
18279
  getPatientSyncStatus;
17883
18280
  deletePatientSyncConnection;
@@ -17945,6 +18342,10 @@ var GravityRailClient = class {
17945
18342
  searchHubspotRecords;
17946
18343
  importHubspotMembers;
17947
18344
  getHubspotContactProperties;
18345
+ getHubspotDealProperties;
18346
+ getHubspotForms;
18347
+ getHubspotMeetingLinks;
18348
+ getHubspotObjectProperties;
17948
18349
  getHubspotManagedRules;
17949
18350
  getHubspotSyncLogs;
17950
18351
  getHubspotTransformPresets;
@@ -17957,7 +18358,23 @@ var GravityRailClient = class {
17957
18358
  getSyncRuns;
17958
18359
  getSyncRunItems;
17959
18360
  getMemberSyncSummary;
18361
+ getConnectionFieldHomes;
18362
+ getInboundRecordStatus;
18363
+ getConnectionWritePreview;
17960
18364
  clearConnectionMemberExclusion;
18365
+ linkUnlinkedMembersByIdentity;
18366
+ listSubsetImports;
18367
+ getSubsetImport;
18368
+ createSubsetImport;
18369
+ updateSubsetImport;
18370
+ deleteSubsetImport;
18371
+ previewSubsetImportSelection;
18372
+ previewSubsetImport;
18373
+ runSubsetImport;
18374
+ cancelSubsetImport;
18375
+ listSubsetImportRuns;
18376
+ listSubsetImportVendorLists;
18377
+ listSubsetImportFilterFields;
17961
18378
  // App Connections API
17962
18379
  listAvailableAppConnections;
17963
18380
  listAppConnections;
@@ -18094,6 +18511,7 @@ var GravityRailClient = class {
18094
18511
  apis.patientSyncConnections,
18095
18512
  apis.healthie,
18096
18513
  apis.documoFax,
18514
+ apis.claimMd,
18097
18515
  apis.salesforce,
18098
18516
  apis.hubspot,
18099
18517
  apis.appConnections,
@@ -18535,6 +18953,7 @@ function pathDraftToStorage(draft, original) {
18535
18953
  Scope,
18536
18954
  ScopeCategory,
18537
18955
  ScopeManager,
18956
+ SeedSpeaker,
18538
18957
  SendingNextStep,
18539
18958
  SendingStopState,
18540
18959
  SessionKind,