@gravity-rail/sdk 0.56.0 → 0.57.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (35) hide show
  1. package/dist/{chat-interaction-B1pEnDf4.d.ts → chat-interaction-Bs0O3lwb.d.cts} +4019 -2446
  2. package/dist/{chat-interaction-Bb1dQ6iL.d.cts → chat-interaction-dRnhgwb-.d.ts} +4019 -2446
  3. package/dist/{chunk-BQOKENBF.js → chunk-7ABBH5CC.js} +471 -68
  4. package/dist/chunk-7ABBH5CC.js.map +1 -0
  5. package/dist/{chunk-HXVJF54M.js → chunk-D5VNVTUQ.js} +1 -1
  6. package/dist/chunk-D5VNVTUQ.js.map +1 -0
  7. package/dist/helpers.d.cts +4 -4
  8. package/dist/helpers.d.ts +4 -4
  9. package/dist/index.cjs +474 -67
  10. package/dist/index.cjs.map +1 -1
  11. package/dist/index.d.cts +6 -6
  12. package/dist/index.d.ts +6 -6
  13. package/dist/index.js +7 -2
  14. package/dist/index.js.map +1 -1
  15. package/dist/internal.cjs +471 -67
  16. package/dist/internal.cjs.map +1 -1
  17. package/dist/internal.d.cts +6 -136
  18. package/dist/internal.d.ts +6 -136
  19. package/dist/internal.js +4 -2
  20. package/dist/internal.js.map +1 -1
  21. package/dist/{member-import-DzuvKnMC.d.cts → member-import-C9XwZqm4.d.cts} +1 -1
  22. package/dist/{member-import-D1QvZiy5.d.ts → member-import-CdXiqRFM.d.ts} +1 -1
  23. package/dist/{path-Q4WIJjcE.d.cts → path-6wcAgEJR.d.cts} +3 -3
  24. package/dist/{path-CoJI_rv9.d.ts → path-B08DHrW4.d.ts} +3 -3
  25. package/dist/schemas.cjs +79 -41
  26. package/dist/schemas.cjs.map +1 -1
  27. package/dist/schemas.d.cts +148 -6
  28. package/dist/schemas.d.ts +148 -6
  29. package/dist/schemas.js +78 -42
  30. package/dist/schemas.js.map +1 -1
  31. package/dist/{tasks-BdYhYUpU.d.cts → tasks-BPvueNi2.d.cts} +1009 -836
  32. package/dist/{tasks-BdYhYUpU.d.ts → tasks-BPvueNi2.d.ts} +1009 -836
  33. package/package.json +3 -3
  34. package/dist/chunk-BQOKENBF.js.map +0 -1
  35. 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,16 @@ 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 removeSlackInstallation(wid, appId, installationId) {
6451
+ return this.fetch(
6452
+ `w/${wid}/app-connections/slack/apps/${appId}/installations/${installationId}`,
6453
+ { method: "DELETE" }
6454
+ );
6455
+ }
6456
+ async getSlackChannelChoices(wid, appId, cursor, teamId) {
6431
6457
  const params = new URLSearchParams({ appId: String(appId) });
6432
6458
  if (cursor) params.set("cursor", cursor);
6459
+ if (teamId) params.set("teamId", teamId);
6433
6460
  return this.fetch(
6434
6461
  `w/${wid}/app-connections/slack/channel-choices?${params}`
6435
6462
  );
@@ -6510,6 +6537,8 @@ var SlackAppsApi = class extends BaseApiClient {
6510
6537
  const params = new URLSearchParams();
6511
6538
  if (options.page) params.append("page", options.page.toString());
6512
6539
  if (options.pageSize) params.append("pageSize", options.pageSize.toString());
6540
+ if (options.search) params.set("search", options.search);
6541
+ if (options.connection) params.set("connection", options.connection);
6513
6542
  return this.fetch(
6514
6543
  `w/${wid}/app-connections/slack/apps/${appId}/installations${params.toString() ? `?${params.toString()}` : ""}`
6515
6544
  );
@@ -6959,6 +6988,36 @@ var FhirConnectionsApi = class extends BaseApiClient {
6959
6988
  body: JSON.stringify(data)
6960
6989
  });
6961
6990
  }
6991
+ /**
6992
+ * Which environments of the shared Gravity Rail athenahealth app this
6993
+ * deployment can use. Requires `apps:read`.
6994
+ */
6995
+ async getAthenaPlatformApp(wid) {
6996
+ return this.fetch(
6997
+ `w/${wid}/app-connections/fhir/athena/platform-app`
6998
+ );
6999
+ }
7000
+ /**
7001
+ * Check that the Gravity Rail athenahealth app can reach a practice in an
7002
+ * environment. Saves nothing. Requires `apps:write`.
7003
+ */
7004
+ async verifyAthenaAccess(wid, data) {
7005
+ return this.fetch(
7006
+ `w/${wid}/app-connections/fhir/athena/verify-access`,
7007
+ { method: "POST", body: JSON.stringify(data) }
7008
+ );
7009
+ }
7010
+ /**
7011
+ * Create an athenahealth connection through the shared Gravity Rail app.
7012
+ * The server re-runs the access probe and answers 400 with
7013
+ * `detail: { code, message }` when it fails. Requires `apps:write`.
7014
+ */
7015
+ async connectAthena(wid, data) {
7016
+ return this.fetch(`w/${wid}/app-connections/fhir/athena/connections`, {
7017
+ method: "POST",
7018
+ body: JSON.stringify(data)
7019
+ });
7020
+ }
6962
7021
  /**
6963
7022
  * Update an existing FHIR connection configuration.
6964
7023
  */
@@ -7177,36 +7236,6 @@ var FhirConnectionsApi = class extends BaseApiClient {
7177
7236
  { method: "POST", body: JSON.stringify(data) }
7178
7237
  );
7179
7238
  }
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
7239
  };
7211
7240
 
7212
7241
  // src/api/patientsync-connections.ts
@@ -7228,6 +7257,33 @@ var PatientSyncConnectionsApi = class extends BaseApiClient {
7228
7257
  }
7229
7258
  };
7230
7259
 
7260
+ // src/api/claim-md.ts
7261
+ var ClaimMdApi = class extends BaseApiClient {
7262
+ async getClaimMdStatus(wid) {
7263
+ return this.fetch(`w/${wid}/app-connections/claim-md/status`);
7264
+ }
7265
+ /** Sends `{}` deliberately: the route requires a JSON body as a CSRF barrier. */
7266
+ async installClaimMd(wid) {
7267
+ return this.fetch(`w/${wid}/app-connections/claim-md/install`, {
7268
+ method: "POST",
7269
+ body: JSON.stringify({})
7270
+ });
7271
+ }
7272
+ async configureClaimMd(wid, data) {
7273
+ return this.fetch(`w/${wid}/app-connections/claim-md/configure`, {
7274
+ method: "POST",
7275
+ body: JSON.stringify(data)
7276
+ });
7277
+ }
7278
+ /** Checks a pasted AccountKey without storing it. */
7279
+ async verifyClaimMdKey(wid, data) {
7280
+ return this.fetch(`w/${wid}/app-connections/claim-md/verify`, {
7281
+ method: "POST",
7282
+ body: JSON.stringify(data)
7283
+ });
7284
+ }
7285
+ };
7286
+
7231
7287
  // src/api/documo-fax.ts
7232
7288
  var DocumoFaxApi = class extends BaseApiClient {
7233
7289
  async getDocumoFaxStatus(wid) {
@@ -7881,6 +7937,23 @@ var InboxesApi = class extends BaseApiClient {
7881
7937
  );
7882
7938
  return response.arrayBuffer();
7883
7939
  }
7940
+ /**
7941
+ * Reply and bounce rates for the emails one inbox sent in a period.
7942
+ *
7943
+ * `dateFrom` (inclusive) and `dateTo` (exclusive) are ISO 8601 instants with
7944
+ * an offset and must be passed together, at most 90 days apart; omit both
7945
+ * for the server's rolling last 30 days. Requires `inboxes:read` and
7946
+ * `analytics:read` plus admin access to the inbox. Aggregates only.
7947
+ */
7948
+ async getInboxOutboundEmailStats(wid, inboxId, period = {}) {
7949
+ const params = new URLSearchParams();
7950
+ if (period.dateFrom) params.append("date_from", period.dateFrom);
7951
+ if (period.dateTo) params.append("date_to", period.dateTo);
7952
+ const query = params.toString();
7953
+ return this.fetch(
7954
+ `w/${wid}/inboxes/${inboxId}/outbound-email-stats${query ? `?${query}` : ""}`
7955
+ );
7956
+ }
7884
7957
  /** List email threads in an inbox. */
7885
7958
  async getInboxThreads(wid, inboxId) {
7886
7959
  return this.fetch(`w/${wid}/inboxes/${inboxId}/threads`);
@@ -10205,6 +10278,18 @@ var OrgApi = class extends BaseApiClient {
10205
10278
  async listA2PBrands(orgUuid) {
10206
10279
  return this.fetch(`o/${orgUuid}/a2p-brands`);
10207
10280
  }
10281
+ /**
10282
+ * Poll Twilio for one brand now and record its brand and campaign statuses,
10283
+ * as the scheduled sync would. Returns the brand as recorded afterwards,
10284
+ * without the live workflow fields `getA2PBrand` adds.
10285
+ */
10286
+ async syncA2PBrand(orgUuid, brandUuid) {
10287
+ return this.fetch(
10288
+ `o/${orgUuid}/a2p-brands/${brandUuid}/sync`,
10289
+ // Empty JSON body is the CSRF barrier the route requires (GRA-6284).
10290
+ { method: "POST", body: JSON.stringify({}) }
10291
+ );
10292
+ }
10208
10293
  /**
10209
10294
  * Live per-brand campaign use-case eligibility. Approved brands only — a
10210
10295
  * brand still under TCR review comes back as a structured 412 the picker
@@ -10694,6 +10779,14 @@ var PhoneNumbersApi = class extends BaseApiClient {
10694
10779
  async getPhoneNumber(wid, id) {
10695
10780
  return this.fetch(`w/${wid}/phone-numbers/${id}`);
10696
10781
  }
10782
+ /**
10783
+ * What this number still needs from its organization: the texting and
10784
+ * caller ID registration states of the business it belongs to. States only —
10785
+ * readable with `phones:read`, so it carries none of the business's forms.
10786
+ */
10787
+ async getPhoneNumberSetupStatus(wid, id) {
10788
+ return this.fetch(`w/${wid}/phone-numbers/${id}/setup-status`);
10789
+ }
10697
10790
  /** Create a new phone number record. */
10698
10791
  async createPhoneNumber(wid, phoneNumber) {
10699
10792
  return this.fetch(`w/${wid}/phone-numbers`, {
@@ -11008,6 +11101,21 @@ var PersonasApi = class extends BaseApiClient {
11008
11101
  async getPersona(wid, id) {
11009
11102
  return this.fetch(`w/${wid}/personas/${id}`);
11010
11103
  }
11104
+ async getPersonaTestMember(wid, id) {
11105
+ return this.fetch(`w/${wid}/personas/${id}/test-member`);
11106
+ }
11107
+ async createPersonaTestMember(wid, id) {
11108
+ return this.fetch(`w/${wid}/personas/${id}/test-member`, {
11109
+ method: "POST",
11110
+ body: JSON.stringify({})
11111
+ });
11112
+ }
11113
+ async resetPersonaTestMember(wid, id) {
11114
+ return this.fetch(`w/${wid}/personas/${id}/test-member/reset`, {
11115
+ method: "POST",
11116
+ body: JSON.stringify({})
11117
+ });
11118
+ }
11011
11119
  async createPersona(wid, data) {
11012
11120
  return this.fetch(`w/${wid}/personas`, {
11013
11121
  method: "POST",
@@ -11183,6 +11291,21 @@ var ProjectsApi = class extends BaseApiClient {
11183
11291
 
11184
11292
  // src/api/qualifications.ts
11185
11293
  var QualificationsApi = class extends BaseApiClient {
11294
+ /** Copy an authorized test Chat prefix into an editable Scenario draft. */
11295
+ async captureScenarioDraft(wid, chatId, throughMessageId) {
11296
+ return this.fetch(`w/${wid}/qualifications/chats/${chatId}/scenario-draft`, {
11297
+ method: "POST",
11298
+ body: JSON.stringify({ throughMessageId })
11299
+ });
11300
+ }
11301
+ /** Pause before the next Persona turn; a current Agent reply may finish. */
11302
+ /** Turn feedback into an explicitly authored rubric on the same Workflow. */
11303
+ async promoteTestChatFeedback(wid, runId, request) {
11304
+ return this.fetch(`w/${wid}/qualifications/test-chat-runs/${runId}/feedback/criterion`, {
11305
+ method: "POST",
11306
+ body: JSON.stringify(request)
11307
+ });
11308
+ }
11186
11309
  /** List qualifications in a workspace, paginated. */
11187
11310
  async getQualifications(wid, params) {
11188
11311
  const query = new URLSearchParams();
@@ -11274,6 +11397,12 @@ var QualificationsApi = class extends BaseApiClient {
11274
11397
  `w/${wid}/qualifications/workflows/${workflowId}/scenario-health-summaries${qs}`
11275
11398
  );
11276
11399
  }
11400
+ /** The saved run of a test Chat, including its driver and completion state. */
11401
+ async getChatTestRun(wid, chatId) {
11402
+ return this.fetch(
11403
+ `w/${wid}/qualifications/chats/${chatId}/test-chat-run`
11404
+ );
11405
+ }
11277
11406
  async getTestChatRun(wid, runId) {
11278
11407
  return this.fetch(`w/${wid}/qualifications/test-chat-runs/${runId}`);
11279
11408
  }
@@ -11569,9 +11698,9 @@ var SalesforceApi = class extends BaseApiClient {
11569
11698
  });
11570
11699
  }
11571
11700
  /**
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.
11701
+ * @deprecated Use `linkUnlinkedMembersByIdentity(wid, connectionId)`, which
11702
+ * serves every connector that links by identity. This calls the retained
11703
+ * Salesforce-only route and will be removed once no caller remains.
11575
11704
  */
11576
11705
  async linkUnlinkedSalesforceMembersByIdentity(wid) {
11577
11706
  return this.fetch(
@@ -11698,6 +11827,20 @@ var ConnectionSyncApi = class extends BaseApiClient {
11698
11827
  { method: "PUT", body: JSON.stringify(data) }
11699
11828
  );
11700
11829
  }
11830
+ async getConnectionFieldHomes(wid, connectionId) {
11831
+ return this.fetch(`w/${wid}/app-connections/${connectionId}/field-homes`);
11832
+ }
11833
+ /** Each inbound record source's latest pass: closed status, times and counts. */
11834
+ async getInboundRecordStatus(wid, connectionId) {
11835
+ return this.fetch(
11836
+ `w/${wid}/app-connections/${connectionId}/inbound-records/status`
11837
+ );
11838
+ }
11839
+ async getConnectionWritePreview(wid, connectionId, memberId) {
11840
+ return this.fetch(
11841
+ `w/${wid}/app-connections/${connectionId}/write-preview/members/${memberId}`
11842
+ );
11843
+ }
11701
11844
  async getConnectionSyncCheckpoint(wid, connectionId, direction = "inbound", syncKey = "default") {
11702
11845
  const query = new URLSearchParams({
11703
11846
  direction,
@@ -11760,6 +11903,108 @@ var ConnectionSyncApi = class extends BaseApiClient {
11760
11903
  { method: "DELETE" }
11761
11904
  );
11762
11905
  }
11906
+ /**
11907
+ * Start a durable run that links the connection's unlinked members to
11908
+ * remote records by identity (email, phone, or the vendor's own key) and
11909
+ * hydrates them. Served for any connector that declares a remote identity
11910
+ * resolver (Salesforce, HubSpot); another connector is 400. One run per
11911
+ * connection: a second start while one is in flight is 409.
11912
+ */
11913
+ async linkUnlinkedMembersByIdentity(wid, connectionId) {
11914
+ return this.fetch(
11915
+ `w/${wid}/app-connections/${connectionId}/link-unlinked-by-identity`,
11916
+ { method: "POST", body: JSON.stringify({}) }
11917
+ );
11918
+ }
11919
+ // --- Saved subset imports (Integration Standard IM-1..IM-4) ---------------
11920
+ subsetImportsPath(wid, connectionId, suffix2 = "") {
11921
+ return `w/${wid}/app-connections/${connectionId}/subset-imports${suffix2}`;
11922
+ }
11923
+ /** The connection's saved imports, newest first, and the kinds it accepts. */
11924
+ async listSubsetImports(wid, connectionId) {
11925
+ return this.fetch(this.subsetImportsPath(wid, connectionId));
11926
+ }
11927
+ async getSubsetImport(wid, connectionId, importId) {
11928
+ return this.fetch(
11929
+ this.subsetImportsPath(wid, connectionId, `/${encodeURIComponent(importId)}`)
11930
+ );
11931
+ }
11932
+ /** Save a named selection. Saving never reads the vendor or imports. */
11933
+ async createSubsetImport(wid, connectionId, data) {
11934
+ return this.fetch(this.subsetImportsPath(wid, connectionId), {
11935
+ method: "POST",
11936
+ body: JSON.stringify(data)
11937
+ });
11938
+ }
11939
+ /** Replace a saved selection. A changed selection resets its progress. */
11940
+ async updateSubsetImport(wid, connectionId, importId, data) {
11941
+ return this.fetch(
11942
+ this.subsetImportsPath(wid, connectionId, `/${encodeURIComponent(importId)}`),
11943
+ { method: "PUT", body: JSON.stringify(data) }
11944
+ );
11945
+ }
11946
+ /** Remove a saved import. Its Members and links stay. */
11947
+ async deleteSubsetImport(wid, connectionId, importId) {
11948
+ await this.fetch(
11949
+ this.subsetImportsPath(wid, connectionId, `/${encodeURIComponent(importId)}`),
11950
+ { method: "DELETE" }
11951
+ );
11952
+ }
11953
+ /** Count and sample an unsaved selection. Never writes. */
11954
+ async previewSubsetImportSelection(wid, connectionId, selection) {
11955
+ return this.fetch(
11956
+ this.subsetImportsPath(wid, connectionId, "/preview"),
11957
+ { method: "POST", body: JSON.stringify({ selection }) }
11958
+ );
11959
+ }
11960
+ /** Count and sample a saved selection. Never writes. */
11961
+ async previewSubsetImport(wid, connectionId, importId) {
11962
+ return this.fetch(
11963
+ this.subsetImportsPath(wid, connectionId, `/${encodeURIComponent(importId)}/preview`),
11964
+ // The CSRF barrier refuses a body-less POST (422); `{}` is the request.
11965
+ { method: "POST", body: JSON.stringify({}) }
11966
+ );
11967
+ }
11968
+ /**
11969
+ * Start the import in the background (202). A failed or cancelled import
11970
+ * resumes where it stopped unless `restart` is true.
11971
+ */
11972
+ async runSubsetImport(wid, connectionId, importId, options) {
11973
+ return this.fetch(
11974
+ this.subsetImportsPath(wid, connectionId, `/${encodeURIComponent(importId)}/run`),
11975
+ { method: "POST", body: JSON.stringify({ restart: options?.restart ?? false }) }
11976
+ );
11977
+ }
11978
+ /** Ask a running import to stop (202); its progress is kept for a resume. */
11979
+ async cancelSubsetImport(wid, connectionId, importId) {
11980
+ return this.fetch(
11981
+ this.subsetImportsPath(wid, connectionId, `/${encodeURIComponent(importId)}/cancel`),
11982
+ // The CSRF barrier refuses a body-less POST (422); `{}` is the request.
11983
+ { method: "POST", body: JSON.stringify({}) }
11984
+ );
11985
+ }
11986
+ /** The connection's import-run history, newest first (counts only). */
11987
+ async listSubsetImportRuns(wid, connectionId, limit = 20) {
11988
+ return this.fetch(
11989
+ this.subsetImportsPath(wid, connectionId, `/runs?limit=${limit}`)
11990
+ );
11991
+ }
11992
+ /** Vendor lists a `vendor_list` import can name (configuration only). */
11993
+ async listSubsetImportVendorLists(wid, connectionId, options) {
11994
+ const query = new URLSearchParams({
11995
+ query: options?.query ?? "",
11996
+ limit: String(options?.limit ?? 50)
11997
+ });
11998
+ return this.fetch(
11999
+ this.subsetImportsPath(wid, connectionId, `/vendor-lists?${query}`)
12000
+ );
12001
+ }
12002
+ /** Remote fields a `field_filter` import can name, with their operators. */
12003
+ async listSubsetImportFilterFields(wid, connectionId) {
12004
+ return this.fetch(
12005
+ this.subsetImportsPath(wid, connectionId, "/filter-fields")
12006
+ );
12007
+ }
11763
12008
  };
11764
12009
 
11765
12010
  // src/api/hubspot.ts
@@ -11865,6 +12110,35 @@ var HubspotApi = class extends BaseApiClient {
11865
12110
  `w/${wid}/app-connections/hubspot/sync-settings/hs-properties`
11866
12111
  );
11867
12112
  }
12113
+ /** Mappable HubSpot deal property definitions (deal inbound record sources). */
12114
+ async getHubspotDealProperties(wid) {
12115
+ return this.fetch(
12116
+ `w/${wid}/app-connections/hubspot/sync-settings/hs-properties?objectType=deals`
12117
+ );
12118
+ }
12119
+ /** The portal's Meetings booking links, or `missing_scope` without the scheduler scope. */
12120
+ async getHubspotMeetingLinks(wid) {
12121
+ return this.fetch(
12122
+ `w/${wid}/app-connections/hubspot/sync-settings/meeting-links`
12123
+ );
12124
+ }
12125
+ /** The portal's forms and their fields, or `missing_scope` without the `forms` scope. */
12126
+ async getHubspotForms(wid) {
12127
+ return this.fetch(
12128
+ `w/${wid}/app-connections/hubspot/sync-settings/forms`
12129
+ );
12130
+ }
12131
+ /**
12132
+ * Raw HubSpot property definitions for one CRM object type
12133
+ * (`GET /get_properties/{objectType}`), as HubSpot's properties API
12134
+ * returns them. Use `getHubspotContactProperties` for the sync-mappable
12135
+ * contact property list the field mapper shows.
12136
+ */
12137
+ async getHubspotObjectProperties(wid, objectType) {
12138
+ return this.fetch(
12139
+ `w/${wid}/app-connections/hubspot/get_properties/${encodeURIComponent(objectType)}`
12140
+ );
12141
+ }
11868
12142
  async getHubspotManagedRules(wid) {
11869
12143
  return this.fetch(`w/${wid}/app-connections/hubspot/managed-rules`);
11870
12144
  }
@@ -13064,6 +13338,17 @@ var JourneysApi = class extends BaseApiClient {
13064
13338
  async getJourneyHealth(wid, journeyId) {
13065
13339
  return this.fetch(`w/${wid}/journeys/${journeyId}/health`);
13066
13340
  }
13341
+ /**
13342
+ * How many days the journey's texts take at the workspace's current sending
13343
+ * limits — advice for the publish and enroll confirmations, never a gate.
13344
+ * `additionalMembers` is the size of a batch about to be enrolled.
13345
+ */
13346
+ async getJourneySendEstimate(wid, journeyId, additionalMembers = 0) {
13347
+ const query = new URLSearchParams({ additionalMembers: String(additionalMembers) });
13348
+ return this.fetch(
13349
+ `w/${wid}/journeys/${journeyId}/send-estimate?${query.toString()}`
13350
+ );
13351
+ }
13067
13352
  /** Create a step within a journey. */
13068
13353
  async createStep(wid, journeyId, data) {
13069
13354
  return this.fetch(`w/${wid}/journeys/${journeyId}/steps`, {
@@ -13982,13 +14267,10 @@ var WorkspacesApi = class extends BaseApiClient {
13982
14267
  }
13983
14268
  /** Register a Web Push subscription for the current user. */
13984
14269
  async registerPushSubscription(wid, subscription) {
13985
- return this.fetch(
13986
- `w/${wid}/push-subscriptions`,
13987
- {
13988
- method: "POST",
13989
- body: JSON.stringify(subscription)
13990
- }
13991
- );
14270
+ return this.fetch(`w/${wid}/push-subscriptions`, {
14271
+ method: "POST",
14272
+ body: JSON.stringify(subscription)
14273
+ });
13992
14274
  }
13993
14275
  /** Unregister a Web Push subscription by endpoint URL. */
13994
14276
  async unregisterPushSubscription(wid, endpoint) {
@@ -14003,6 +14285,14 @@ var WorkspacesApi = class extends BaseApiClient {
14003
14285
  async listPushSubscriptions(wid) {
14004
14286
  return this.fetch(`w/${wid}/push-subscriptions`);
14005
14287
  }
14288
+ /** Submit a fixed generic test to an owned browser registration. */
14289
+ async testPushSubscription(wid, subscriptionId) {
14290
+ const body = {};
14291
+ return this.fetch(
14292
+ `w/${wid}/push-subscriptions/${subscriptionId}/test`,
14293
+ { method: "POST", body: JSON.stringify(body) }
14294
+ );
14295
+ }
14006
14296
  /** List org domains available for workspace email inbox routing. */
14007
14297
  async getWorkspaceEmailDomains(wid) {
14008
14298
  return this.fetch(`w/${wid}/domains/for-email`);
@@ -14489,6 +14779,7 @@ function createApiModules(apiKey, baseUrl, customFetch) {
14489
14779
  patientSyncConnections: new PatientSyncConnectionsApi(apiKey, baseUrl, customFetch),
14490
14780
  healthie: new HealthieApi(apiKey, baseUrl, customFetch),
14491
14781
  documoFax: new DocumoFaxApi(apiKey, baseUrl, customFetch),
14782
+ claimMd: new ClaimMdApi(apiKey, baseUrl, customFetch),
14492
14783
  hubspot: new HubspotApi(apiKey, baseUrl, customFetch),
14493
14784
  features: new FeaturesApi(apiKey, baseUrl, customFetch),
14494
14785
  files: new FilesApi(apiKey, baseUrl, customFetch),
@@ -14572,6 +14863,7 @@ var WORKSPACE_METHOD_NAMES = [
14572
14863
  "cancelCalendarEvent",
14573
14864
  "cancelChatCallback",
14574
14865
  "cancelCredentialUpdateInvite",
14866
+ "cancelSubsetImport",
14575
14867
  "checkAvailability",
14576
14868
  "checkSiteDomainAvailability",
14577
14869
  "checkSiteSlugAvailability",
@@ -14586,6 +14878,7 @@ var WORKSPACE_METHOD_NAMES = [
14586
14878
  "commentOnWorkspaceSupportRequest",
14587
14879
  "completeDiscordLink",
14588
14880
  "configureConfluence",
14881
+ "configureClaimMd",
14589
14882
  "configureDocumoFax",
14590
14883
  "configureHealthie",
14591
14884
  "configurePatientSync",
@@ -14593,6 +14886,7 @@ var WORKSPACE_METHOD_NAMES = [
14593
14886
  "configureMondayConnection",
14594
14887
  "configureSalesforce",
14595
14888
  "configureZendeskConnection",
14889
+ "connectAthena",
14596
14890
  "convertEmail",
14597
14891
  "convertFile",
14598
14892
  "createAbility",
@@ -14601,6 +14895,15 @@ var WORKSPACE_METHOD_NAMES = [
14601
14895
  "createApiKey",
14602
14896
  "createAssignment",
14603
14897
  "bindInstallationSlots",
14898
+ "createSubsetImport",
14899
+ "deleteSubsetImport",
14900
+ "getSubsetImport",
14901
+ "listSubsetImportFilterFields",
14902
+ "listSubsetImportRuns",
14903
+ "listSubsetImports",
14904
+ "listSubsetImportVendorLists",
14905
+ "previewSubsetImport",
14906
+ "previewSubsetImportSelection",
14604
14907
  "restoreInstallationForm",
14605
14908
  "createBundle",
14606
14909
  "createCalendar",
@@ -14609,6 +14912,7 @@ var WORKSPACE_METHOD_NAMES = [
14609
14912
  "createCalendarSchedule",
14610
14913
  "createChat",
14611
14914
  "createChatInteractionSession",
14915
+ "runSubsetImport",
14612
14916
  "transitionChatInteractionSession",
14613
14917
  "createChatCompletion",
14614
14918
  "createChatFilter",
@@ -14789,7 +15093,6 @@ var WORKSPACE_METHOD_NAMES = [
14789
15093
  "fhirGetCsvImportSettings",
14790
15094
  "fhirGetEncounterSyncRuns",
14791
15095
  "fhirGetEncounterSyncStatus",
14792
- "fhirGetOnboardingImportStatus",
14793
15096
  "fhirImportPatient",
14794
15097
  "fhirLinkMember",
14795
15098
  "fhirListLinkedMembers",
@@ -14798,7 +15101,6 @@ var WORKSPACE_METHOD_NAMES = [
14798
15101
  "fhirSearchLocations",
14799
15102
  "fhirSearchPatients",
14800
15103
  "fhirSearchPractitioners",
14801
- "fhirStartOnboardingImport",
14802
15104
  "fhirSyncMember",
14803
15105
  "fhirUnlinkMember",
14804
15106
  "fhirUpdateCsvImportSettings",
@@ -14824,6 +15126,7 @@ var WORKSPACE_METHOD_NAMES = [
14824
15126
  "getAnonymousResolutions",
14825
15127
  "getApiKeys",
14826
15128
  "getArchiveBlockers",
15129
+ "getAthenaPlatformApp",
14827
15130
  "getAssignment",
14828
15131
  "getAssignmentCelContext",
14829
15132
  "getAssignmentMessages",
@@ -14886,9 +15189,12 @@ var WORKSPACE_METHOD_NAMES = [
14886
15189
  "getClientWorkspace",
14887
15190
  "getConfigurationHealth",
14888
15191
  "getConfluenceStatus",
15192
+ "getConnectionFieldHomes",
15193
+ "getInboundRecordStatus",
14889
15194
  "getConnectionSyncCapabilities",
14890
15195
  "getConnectionSyncCheckpoint",
14891
15196
  "getConnectionSyncConfig",
15197
+ "getConnectionWritePreview",
14892
15198
  "getCredentialUpdateInvites",
14893
15199
  "getCurrentMember",
14894
15200
  "clearMemberWorkflowVoice",
@@ -14925,6 +15231,7 @@ var WORKSPACE_METHOD_NAMES = [
14925
15231
  "getDiscordBots",
14926
15232
  "getDiscordGuilds",
14927
15233
  "getDiscordThreads",
15234
+ "getClaimMdStatus",
14928
15235
  "getDocumoFaxSetup",
14929
15236
  "listDocumoFaxes",
14930
15237
  "getDocumoFaxStatus",
@@ -14953,6 +15260,7 @@ var WORKSPACE_METHOD_NAMES = [
14953
15260
  "getSiteSourceTemplates",
14954
15261
  "getThemeSettings",
14955
15262
  "importSiteSourceZip",
15263
+ "installClaimMd",
14956
15264
  "installDocumoFax",
14957
15265
  "previewDataReport",
14958
15266
  "previewQuery",
@@ -14989,7 +15297,11 @@ var WORKSPACE_METHOD_NAMES = [
14989
15297
  "getHealthieStatus",
14990
15298
  "getPatientSyncStatus",
14991
15299
  "getHubspotContactProperties",
15300
+ "getHubspotDealProperties",
15301
+ "getHubspotForms",
15302
+ "getHubspotMeetingLinks",
14992
15303
  "getHubspotManagedRules",
15304
+ "getHubspotObjectProperties",
14993
15305
  "getHubspotReconciliationMatches",
14994
15306
  "getHubspotStatus",
14995
15307
  "getHubspotSyncLogs",
@@ -15001,6 +15313,7 @@ var WORKSPACE_METHOD_NAMES = [
15001
15313
  "getInbox",
15002
15314
  "getInboxEmail",
15003
15315
  "getInboxEmails",
15316
+ "getInboxOutboundEmailStats",
15004
15317
  "getInboxThreads",
15005
15318
  "getInboxes",
15006
15319
  "getInterventionRequests",
@@ -15010,6 +15323,7 @@ var WORKSPACE_METHOD_NAMES = [
15010
15323
  "getJourneyHealth",
15011
15324
  "getJourneyMembers",
15012
15325
  "getJourneyNotes",
15326
+ "getJourneySendEstimate",
15013
15327
  "getJourneyV2Validation",
15014
15328
  "getJourneys",
15015
15329
  "getLinkablePhones",
@@ -15070,11 +15384,16 @@ var WORKSPACE_METHOD_NAMES = [
15070
15384
  "getPage",
15071
15385
  "getPageBySlug",
15072
15386
  "getPersona",
15387
+ "getPersonaTestMember",
15388
+ "createPersonaTestMember",
15389
+ "resetPersonaTestMember",
15073
15390
  "getPhoneCalls",
15391
+ "getPhoneCallByUuid",
15074
15392
  "getPhoneNumber",
15075
15393
  "getPhoneNumberCalls",
15076
15394
  "getPhoneNumberFaxes",
15077
15395
  "getPhoneNumberMessages",
15396
+ "getPhoneNumberSetupStatus",
15078
15397
  "getPhoneNumberVoicemails",
15079
15398
  "getPhoneNumbers",
15080
15399
  "getPhoneUsageReport",
@@ -15090,7 +15409,6 @@ var WORKSPACE_METHOD_NAMES = [
15090
15409
  "getPublicProducts",
15091
15410
  "getQualification",
15092
15411
  "getQualifications",
15093
- "getRecordingInfo",
15094
15412
  "getResellerWorkspaces",
15095
15413
  "getRoutine",
15096
15414
  "getRoutineConfigEvents",
@@ -15117,6 +15435,7 @@ var WORKSPACE_METHOD_NAMES = [
15117
15435
  "getSlackAppAccounts",
15118
15436
  "getSlackApps",
15119
15437
  "getSlackInstallations",
15438
+ "removeSlackInstallation",
15120
15439
  "getSlackThreads",
15121
15440
  "getStepMemberCounts",
15122
15441
  "getStepMembers",
@@ -15133,6 +15452,7 @@ var WORKSPACE_METHOD_NAMES = [
15133
15452
  "getTeamsConversations",
15134
15453
  "getTeamsInstallations",
15135
15454
  "getTemplateContext",
15455
+ "getChatTestRun",
15136
15456
  "getTestChatRun",
15137
15457
  "getThreadEmails",
15138
15458
  "getTool",
@@ -15206,6 +15526,7 @@ var WORKSPACE_METHOD_NAMES = [
15206
15526
  "linkMemberToMonday",
15207
15527
  "linkMemberToSalesforce",
15208
15528
  "linkPhoneNumber",
15529
+ "linkUnlinkedMembersByIdentity",
15209
15530
  "linkUnlinkedSalesforceMembersByIdentity",
15210
15531
  "listAbilities",
15211
15532
  "listAnonymousFormSubmissions",
@@ -15289,6 +15610,7 @@ var WORKSPACE_METHOD_NAMES = [
15289
15610
  "reenrollMember",
15290
15611
  "renameFieldSlug",
15291
15612
  "registerLinkedRolesMetadata",
15613
+ "testPushSubscription",
15292
15614
  "registerPushSubscription",
15293
15615
  "reindexFolder",
15294
15616
  "releasePhoneNumber",
@@ -15300,6 +15622,7 @@ var WORKSPACE_METHOD_NAMES = [
15300
15622
  "reorderMenuItems",
15301
15623
  "reconcileInstallation",
15302
15624
  "setInstallationPolicy",
15625
+ "updateSubsetImport",
15303
15626
  "upgradeInstallation",
15304
15627
  "replaceBundleDraft",
15305
15628
  "replyToEmail",
@@ -15335,6 +15658,8 @@ var WORKSPACE_METHOD_NAMES = [
15335
15658
  "startHubspotOAuth",
15336
15659
  "startSalesforceOAuth",
15337
15660
  "startSyncRun",
15661
+ "captureScenarioDraft",
15662
+ "promoteTestChatFeedback",
15338
15663
  "startTestChatRun",
15339
15664
  "summarizeChat",
15340
15665
  "syncCalendarWithGoogle",
@@ -15374,6 +15699,7 @@ var WORKSPACE_METHOD_NAMES = [
15374
15699
  "updateChatFilter",
15375
15700
  "updateChatLabel",
15376
15701
  "updateChatModelOverride",
15702
+ "setChatStar",
15377
15703
  "updateChatMute",
15378
15704
  "updateClientWorkspace",
15379
15705
  "updateConnection",
@@ -15453,6 +15779,8 @@ var WORKSPACE_METHOD_NAMES = [
15453
15779
  "validateDataTypeSlug",
15454
15780
  "validateQuery",
15455
15781
  "validateWorkflowName",
15782
+ "verifyAthenaAccess",
15783
+ "verifyClaimMdKey",
15456
15784
  "verifyDocumoFax"
15457
15785
  ];
15458
15786
  var WORKSPACE_METHOD_NAME_SET = new Set(WORKSPACE_METHOD_NAMES);
@@ -15561,6 +15889,7 @@ function bindChatsMethods(target, chats) {
15561
15889
  target.updateChat = chats.updateChat.bind(chats);
15562
15890
  target.getChatModelOverride = chats.getChatModelOverride.bind(chats);
15563
15891
  target.updateChatModelOverride = chats.updateChatModelOverride.bind(chats);
15892
+ target.setChatStar = chats.setChatStar.bind(chats);
15564
15893
  target.updateChatMute = chats.updateChatMute.bind(chats);
15565
15894
  target.summarizeChat = chats.summarizeChat.bind(chats);
15566
15895
  target.getChatMessages = chats.getChatMessages.bind(chats);
@@ -15597,8 +15926,8 @@ function bindChatsMethods(target, chats) {
15597
15926
  // src/client/bindings/calls.ts
15598
15927
  function bindCallsMethods(target, calls, cel) {
15599
15928
  target.getPhoneCalls = calls.getPhoneCalls.bind(calls);
15929
+ target.getPhoneCallByUuid = calls.getPhoneCallByUuid.bind(calls);
15600
15930
  target.getMessageTiming = calls.getMessageTiming.bind(calls);
15601
- target.getRecordingInfo = calls.getRecordingInfo.bind(calls);
15602
15931
  target.getEdgeCaptureInfo = calls.getEdgeCaptureInfo.bind(calls);
15603
15932
  target.getCallRecordingDownloadUrl = calls.getCallRecordingDownloadUrl.bind(calls);
15604
15933
  target.getCelContext = cel.getCelContext.bind(cel);
@@ -15840,6 +16169,7 @@ function bindWorkspacesMethods(target, workspaces, signupRequests) {
15840
16169
  target.getWorkspaceScopes = workspaces.getWorkspaceScopes.bind(workspaces);
15841
16170
  target.getUsageDashboard = workspaces.getUsageDashboard.bind(workspaces);
15842
16171
  target.getVapidPublicKey = workspaces.getVapidPublicKey.bind(workspaces);
16172
+ target.testPushSubscription = workspaces.testPushSubscription.bind(workspaces);
15843
16173
  target.registerPushSubscription = workspaces.registerPushSubscription.bind(workspaces);
15844
16174
  target.unregisterPushSubscription = workspaces.unregisterPushSubscription.bind(workspaces);
15845
16175
  target.listPushSubscriptions = workspaces.listPushSubscriptions.bind(workspaces);
@@ -16166,6 +16496,7 @@ function bindCommunicationsMethods(target, phoneNumbers, inboxes, notificationRu
16166
16496
  target.createPhoneNumber = phoneNumbers.createPhoneNumber.bind(phoneNumbers);
16167
16497
  target.updatePhoneNumber = phoneNumbers.updatePhoneNumber.bind(phoneNumbers);
16168
16498
  target.getArchiveBlockers = phoneNumbers.getArchiveBlockers.bind(phoneNumbers);
16499
+ target.getPhoneNumberSetupStatus = phoneNumbers.getPhoneNumberSetupStatus.bind(phoneNumbers);
16169
16500
  target.archivePhoneNumber = phoneNumbers.archivePhoneNumber.bind(phoneNumbers);
16170
16501
  target.getPhoneNumberCalls = phoneNumbers.getPhoneNumberCalls.bind(phoneNumbers);
16171
16502
  target.getPhoneNumberOutboundAnalyticsSummary = phoneNumbers.getPhoneNumberOutboundAnalyticsSummary.bind(phoneNumbers);
@@ -16198,6 +16529,7 @@ function bindCommunicationsMethods(target, phoneNumbers, inboxes, notificationRu
16198
16529
  target.sendInboxEmail = inboxes.sendInboxEmail.bind(inboxes);
16199
16530
  target.previewInboxEmail = inboxes.previewInboxEmail.bind(inboxes);
16200
16531
  target.previewEmailReply = inboxes.previewEmailReply.bind(inboxes);
16532
+ target.getInboxOutboundEmailStats = inboxes.getInboxOutboundEmailStats.bind(inboxes);
16201
16533
  target.getNotificationRules = notificationRules.getNotificationRules.bind(notificationRules);
16202
16534
  target.createNotificationRule = notificationRules.createNotificationRule.bind(notificationRules);
16203
16535
  target.updateNotificationRule = notificationRules.updateNotificationRule.bind(notificationRules);
@@ -16314,7 +16646,7 @@ function bindAppsMethods(target, apps, builders, inquiries, oauth, oauthConnecti
16314
16646
  }
16315
16647
 
16316
16648
  // src/client/bindings/integrations.ts
16317
- function bindIntegrationsMethods(target, mondayIntegration, discordBots, slackApps, teamsApps, fhirConnections, patientSyncConnections, healthie, documoFax, salesforce, hubspot, appConnections, connectionSync, confluence) {
16649
+ function bindIntegrationsMethods(target, mondayIntegration, discordBots, slackApps, teamsApps, fhirConnections, patientSyncConnections, healthie, documoFax, claimMd, salesforce, hubspot, appConnections, connectionSync, confluence) {
16318
16650
  target.getMondayBoards = mondayIntegration.getBoards.bind(mondayIntegration);
16319
16651
  target.getMondayBoardColumns = mondayIntegration.getBoardColumns.bind(mondayIntegration);
16320
16652
  target.getMondayBoardGroups = mondayIntegration.getBoardGroups.bind(mondayIntegration);
@@ -16364,6 +16696,7 @@ function bindIntegrationsMethods(target, mondayIntegration, discordBots, slackAp
16364
16696
  target.deleteSlackApp = slackApps.deleteSlackApp.bind(slackApps);
16365
16697
  target.getSlackThreads = slackApps.getSlackThreads.bind(slackApps);
16366
16698
  target.getSlackInstallations = slackApps.getSlackInstallations.bind(slackApps);
16699
+ target.removeSlackInstallation = slackApps.removeSlackInstallation.bind(slackApps);
16367
16700
  target.getSlackChannelChoices = slackApps.getSlackChannelChoices.bind(slackApps);
16368
16701
  target.getSlackEntryPoints = slackApps.getSlackEntryPoints.bind(slackApps);
16369
16702
  target.connectSlackEntryPoint = slackApps.connectSlackEntryPoint.bind(slackApps);
@@ -16407,8 +16740,9 @@ function bindIntegrationsMethods(target, mondayIntegration, discordBots, slackAp
16407
16740
  target.fhirGetEncounterSyncRuns = fhirConnections.fhirGetEncounterSyncRuns.bind(fhirConnections);
16408
16741
  target.fhirRefreshEncounterPatient = fhirConnections.fhirRefreshEncounterPatient.bind(fhirConnections);
16409
16742
  target.fhirBackfillEncounterSync = fhirConnections.fhirBackfillEncounterSync.bind(fhirConnections);
16410
- target.fhirStartOnboardingImport = fhirConnections.fhirStartOnboardingImport.bind(fhirConnections);
16411
- target.fhirGetOnboardingImportStatus = fhirConnections.fhirGetOnboardingImportStatus.bind(fhirConnections);
16743
+ target.getAthenaPlatformApp = fhirConnections.getAthenaPlatformApp.bind(fhirConnections);
16744
+ target.verifyAthenaAccess = fhirConnections.verifyAthenaAccess.bind(fhirConnections);
16745
+ target.connectAthena = fhirConnections.connectAthena.bind(fhirConnections);
16412
16746
  target.configurePatientSync = patientSyncConnections.configurePatientSync.bind(patientSyncConnections);
16413
16747
  target.getPatientSyncStatus = patientSyncConnections.getPatientSyncStatus.bind(patientSyncConnections);
16414
16748
  target.deletePatientSyncConnection = patientSyncConnections.deletePatientSyncConnection.bind(patientSyncConnections);
@@ -16419,6 +16753,10 @@ function bindIntegrationsMethods(target, mondayIntegration, discordBots, slackAp
16419
16753
  target.configureDocumoFax = documoFax.configureDocumoFax.bind(documoFax);
16420
16754
  target.verifyDocumoFax = documoFax.verifyDocumoFax.bind(documoFax);
16421
16755
  target.rotateDocumoFaxCredentials = documoFax.rotateDocumoFaxCredentials.bind(documoFax);
16756
+ target.getClaimMdStatus = claimMd.getClaimMdStatus.bind(claimMd);
16757
+ target.installClaimMd = claimMd.installClaimMd.bind(claimMd);
16758
+ target.configureClaimMd = claimMd.configureClaimMd.bind(claimMd);
16759
+ target.verifyClaimMdKey = claimMd.verifyClaimMdKey.bind(claimMd);
16422
16760
  target.configureHealthie = healthie.configureHealthie.bind(healthie);
16423
16761
  target.getHealthieStatus = healthie.getHealthieStatus.bind(healthie);
16424
16762
  target.listHealthieProviders = healthie.listHealthieProviders.bind(healthie);
@@ -16480,6 +16818,10 @@ function bindIntegrationsMethods(target, mondayIntegration, discordBots, slackAp
16480
16818
  target.searchHubspotRecords = hubspot.searchHubspotRecords.bind(hubspot);
16481
16819
  target.importHubspotMembers = hubspot.importHubspotMembers.bind(hubspot);
16482
16820
  target.getHubspotContactProperties = hubspot.getHubspotContactProperties.bind(hubspot);
16821
+ target.getHubspotDealProperties = hubspot.getHubspotDealProperties.bind(hubspot);
16822
+ target.getHubspotForms = hubspot.getHubspotForms.bind(hubspot);
16823
+ target.getHubspotMeetingLinks = hubspot.getHubspotMeetingLinks.bind(hubspot);
16824
+ target.getHubspotObjectProperties = hubspot.getHubspotObjectProperties.bind(hubspot);
16483
16825
  target.getHubspotManagedRules = hubspot.getHubspotManagedRules.bind(hubspot);
16484
16826
  target.getHubspotSyncLogs = hubspot.getHubspotSyncLogs.bind(hubspot);
16485
16827
  target.getHubspotTransformPresets = hubspot.getHubspotTransformPresets.bind(hubspot);
@@ -16491,7 +16833,23 @@ function bindIntegrationsMethods(target, mondayIntegration, discordBots, slackAp
16491
16833
  target.getSyncRuns = connectionSync.getSyncRuns.bind(connectionSync);
16492
16834
  target.getSyncRunItems = connectionSync.getSyncRunItems.bind(connectionSync);
16493
16835
  target.getMemberSyncSummary = connectionSync.getMemberSyncSummary.bind(connectionSync);
16836
+ target.getConnectionFieldHomes = connectionSync.getConnectionFieldHomes.bind(connectionSync);
16837
+ target.getInboundRecordStatus = connectionSync.getInboundRecordStatus.bind(connectionSync);
16838
+ target.getConnectionWritePreview = connectionSync.getConnectionWritePreview.bind(connectionSync);
16494
16839
  target.clearConnectionMemberExclusion = connectionSync.clearConnectionMemberExclusion.bind(connectionSync);
16840
+ target.linkUnlinkedMembersByIdentity = connectionSync.linkUnlinkedMembersByIdentity.bind(connectionSync);
16841
+ target.listSubsetImports = connectionSync.listSubsetImports.bind(connectionSync);
16842
+ target.getSubsetImport = connectionSync.getSubsetImport.bind(connectionSync);
16843
+ target.createSubsetImport = connectionSync.createSubsetImport.bind(connectionSync);
16844
+ target.updateSubsetImport = connectionSync.updateSubsetImport.bind(connectionSync);
16845
+ target.deleteSubsetImport = connectionSync.deleteSubsetImport.bind(connectionSync);
16846
+ target.previewSubsetImportSelection = connectionSync.previewSubsetImportSelection.bind(connectionSync);
16847
+ target.previewSubsetImport = connectionSync.previewSubsetImport.bind(connectionSync);
16848
+ target.runSubsetImport = connectionSync.runSubsetImport.bind(connectionSync);
16849
+ target.cancelSubsetImport = connectionSync.cancelSubsetImport.bind(connectionSync);
16850
+ target.listSubsetImportRuns = connectionSync.listSubsetImportRuns.bind(connectionSync);
16851
+ target.listSubsetImportVendorLists = connectionSync.listSubsetImportVendorLists.bind(connectionSync);
16852
+ target.listSubsetImportFilterFields = connectionSync.listSubsetImportFilterFields.bind(connectionSync);
16495
16853
  target.listAvailableAppConnections = appConnections.listAvailableAppConnections.bind(appConnections);
16496
16854
  target.listAppConnections = appConnections.listAppConnections.bind(appConnections);
16497
16855
  target.enablePlatformApp = appConnections.enablePlatformApp.bind(appConnections);
@@ -16652,6 +17010,7 @@ function bindJourneysMethods(target, journeys) {
16652
17010
  target.getJourneyV2Validation = journeys.getJourneyV2Validation.bind(journeys);
16653
17011
  target.getJourneyFilterOptions = journeys.getJourneyFilterOptions.bind(journeys);
16654
17012
  target.getJourneyHealth = journeys.getJourneyHealth.bind(journeys);
17013
+ target.getJourneySendEstimate = journeys.getJourneySendEstimate.bind(journeys);
16655
17014
  target.cloneJourneyAsV2 = journeys.cloneJourneyAsV2.bind(journeys);
16656
17015
  target.createJourney = journeys.createJourney.bind(journeys);
16657
17016
  target.updateJourney = journeys.updateJourney.bind(journeys);
@@ -16696,11 +17055,14 @@ function bindQualificationsMethods(target, qualifications) {
16696
17055
  target.deleteScenario = qualifications.deleteScenario.bind(qualifications);
16697
17056
  target.listTestChatRuns = qualifications.listTestChatRuns.bind(qualifications);
16698
17057
  target.listScenarioHealthSummaries = qualifications.listScenarioHealthSummaries.bind(qualifications);
17058
+ target.getChatTestRun = qualifications.getChatTestRun.bind(qualifications);
16699
17059
  target.getTestChatRun = qualifications.getTestChatRun.bind(qualifications);
16700
17060
  target.listChatCapturedEffects = qualifications.listChatCapturedEffects.bind(qualifications);
16701
17061
  target.listChatRecordChanges = qualifications.listChatRecordChanges.bind(qualifications);
16702
17062
  target.takeTestChatRunEmailTurn = qualifications.takeTestChatRunEmailTurn.bind(qualifications);
16703
17063
  target.takeTestChatRunSmsTurn = qualifications.takeTestChatRunSmsTurn.bind(qualifications);
17064
+ target.captureScenarioDraft = qualifications.captureScenarioDraft.bind(qualifications);
17065
+ target.promoteTestChatFeedback = qualifications.promoteTestChatFeedback.bind(qualifications);
16704
17066
  target.startTestChatRun = qualifications.startTestChatRun.bind(qualifications);
16705
17067
  target.evaluateTestChatRun = qualifications.evaluateTestChatRun.bind(qualifications);
16706
17068
  target.endTestChatRun = qualifications.endTestChatRun.bind(qualifications);
@@ -16710,6 +17072,9 @@ function bindQualificationsMethods(target, qualifications) {
16710
17072
  function bindPersonasMethods(target, personas) {
16711
17073
  target.listPersonas = personas.listPersonas.bind(personas);
16712
17074
  target.getPersona = personas.getPersona.bind(personas);
17075
+ target.getPersonaTestMember = personas.getPersonaTestMember.bind(personas);
17076
+ target.createPersonaTestMember = personas.createPersonaTestMember.bind(personas);
17077
+ target.resetPersonaTestMember = personas.resetPersonaTestMember.bind(personas);
16713
17078
  target.createPersona = personas.createPersona.bind(personas);
16714
17079
  target.updatePersona = personas.updatePersona.bind(personas);
16715
17080
  target.archivePersona = personas.archivePersona.bind(personas);
@@ -16855,6 +17220,7 @@ var GravityRailClient = class {
16855
17220
  updateChat;
16856
17221
  getChatModelOverride;
16857
17222
  updateChatModelOverride;
17223
+ setChatStar;
16858
17224
  updateChatMute;
16859
17225
  summarizeChat;
16860
17226
  getChatMessages;
@@ -16888,8 +17254,8 @@ var GravityRailClient = class {
16888
17254
  getChatFilterCount;
16889
17255
  // Calls API
16890
17256
  getPhoneCalls;
17257
+ getPhoneCallByUuid;
16891
17258
  getMessageTiming;
16892
- getRecordingInfo;
16893
17259
  getEdgeCaptureInfo;
16894
17260
  getCallRecordingDownloadUrl;
16895
17261
  getCelContext;
@@ -17034,11 +17400,14 @@ var GravityRailClient = class {
17034
17400
  deleteScenario;
17035
17401
  listTestChatRuns;
17036
17402
  listScenarioHealthSummaries;
17403
+ getChatTestRun;
17037
17404
  getTestChatRun;
17038
17405
  listChatCapturedEffects;
17039
17406
  listChatRecordChanges;
17040
17407
  takeTestChatRunEmailTurn;
17041
17408
  takeTestChatRunSmsTurn;
17409
+ captureScenarioDraft;
17410
+ promoteTestChatFeedback;
17042
17411
  startTestChatRun;
17043
17412
  evaluateTestChatRun;
17044
17413
  endTestChatRun;
@@ -17052,6 +17421,9 @@ var GravityRailClient = class {
17052
17421
  previewDataReport;
17053
17422
  listPersonas;
17054
17423
  getPersona;
17424
+ getPersonaTestMember;
17425
+ createPersonaTestMember;
17426
+ resetPersonaTestMember;
17055
17427
  createPersona;
17056
17428
  updatePersona;
17057
17429
  archivePersona;
@@ -17122,6 +17494,7 @@ var GravityRailClient = class {
17122
17494
  getJourneyV2Validation;
17123
17495
  getJourneyFilterOptions;
17124
17496
  getJourneyHealth;
17497
+ getJourneySendEstimate;
17125
17498
  cloneJourneyAsV2;
17126
17499
  createJourney;
17127
17500
  updateJourney;
@@ -17348,6 +17721,7 @@ var GravityRailClient = class {
17348
17721
  setWorkspaceLabels;
17349
17722
  previewWorkspaceScope;
17350
17723
  getVapidPublicKey;
17724
+ testPushSubscription;
17351
17725
  registerPushSubscription;
17352
17726
  unregisterPushSubscription;
17353
17727
  listPushSubscriptions;
@@ -17627,6 +18001,7 @@ var GravityRailClient = class {
17627
18001
  createPhoneNumber;
17628
18002
  updatePhoneNumber;
17629
18003
  getArchiveBlockers;
18004
+ getPhoneNumberSetupStatus;
17630
18005
  archivePhoneNumber;
17631
18006
  getPhoneNumberCalls;
17632
18007
  getPhoneNumberOutboundAnalyticsSummary;
@@ -17659,6 +18034,7 @@ var GravityRailClient = class {
17659
18034
  sendInboxEmail;
17660
18035
  previewInboxEmail;
17661
18036
  previewEmailReply;
18037
+ getInboxOutboundEmailStats;
17662
18038
  getNotificationRules;
17663
18039
  createNotificationRule;
17664
18040
  updateNotificationRule;
@@ -17823,6 +18199,7 @@ var GravityRailClient = class {
17823
18199
  deleteSlackApp;
17824
18200
  getSlackThreads;
17825
18201
  getSlackInstallations;
18202
+ removeSlackInstallation;
17826
18203
  getSlackChannelChoices;
17827
18204
  getSlackEntryPoints;
17828
18205
  connectSlackEntryPoint;
@@ -17868,8 +18245,9 @@ var GravityRailClient = class {
17868
18245
  fhirGetEncounterSyncRuns;
17869
18246
  fhirRefreshEncounterPatient;
17870
18247
  fhirBackfillEncounterSync;
17871
- fhirStartOnboardingImport;
17872
- fhirGetOnboardingImportStatus;
18248
+ getAthenaPlatformApp;
18249
+ verifyAthenaAccess;
18250
+ connectAthena;
17873
18251
  // Healthie API
17874
18252
  getDocumoFaxStatus;
17875
18253
  getDocumoFaxSetup;
@@ -17878,6 +18256,10 @@ var GravityRailClient = class {
17878
18256
  configureDocumoFax;
17879
18257
  verifyDocumoFax;
17880
18258
  rotateDocumoFaxCredentials;
18259
+ getClaimMdStatus;
18260
+ installClaimMd;
18261
+ configureClaimMd;
18262
+ verifyClaimMdKey;
17881
18263
  configurePatientSync;
17882
18264
  getPatientSyncStatus;
17883
18265
  deletePatientSyncConnection;
@@ -17945,6 +18327,10 @@ var GravityRailClient = class {
17945
18327
  searchHubspotRecords;
17946
18328
  importHubspotMembers;
17947
18329
  getHubspotContactProperties;
18330
+ getHubspotDealProperties;
18331
+ getHubspotForms;
18332
+ getHubspotMeetingLinks;
18333
+ getHubspotObjectProperties;
17948
18334
  getHubspotManagedRules;
17949
18335
  getHubspotSyncLogs;
17950
18336
  getHubspotTransformPresets;
@@ -17957,7 +18343,23 @@ var GravityRailClient = class {
17957
18343
  getSyncRuns;
17958
18344
  getSyncRunItems;
17959
18345
  getMemberSyncSummary;
18346
+ getConnectionFieldHomes;
18347
+ getInboundRecordStatus;
18348
+ getConnectionWritePreview;
17960
18349
  clearConnectionMemberExclusion;
18350
+ linkUnlinkedMembersByIdentity;
18351
+ listSubsetImports;
18352
+ getSubsetImport;
18353
+ createSubsetImport;
18354
+ updateSubsetImport;
18355
+ deleteSubsetImport;
18356
+ previewSubsetImportSelection;
18357
+ previewSubsetImport;
18358
+ runSubsetImport;
18359
+ cancelSubsetImport;
18360
+ listSubsetImportRuns;
18361
+ listSubsetImportVendorLists;
18362
+ listSubsetImportFilterFields;
17961
18363
  // App Connections API
17962
18364
  listAvailableAppConnections;
17963
18365
  listAppConnections;
@@ -18094,6 +18496,7 @@ var GravityRailClient = class {
18094
18496
  apis.patientSyncConnections,
18095
18497
  apis.healthie,
18096
18498
  apis.documoFax,
18499
+ apis.claimMd,
18097
18500
  apis.salesforce,
18098
18501
  apis.hubspot,
18099
18502
  apis.appConnections,
@@ -18535,6 +18938,7 @@ function pathDraftToStorage(draft, original) {
18535
18938
  Scope,
18536
18939
  ScopeCategory,
18537
18940
  ScopeManager,
18941
+ SeedSpeaker,
18538
18942
  SendingNextStep,
18539
18943
  SendingStopState,
18540
18944
  SessionKind,