@gravity-rail/sdk 0.55.1 → 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-DDz9ZtQ8.d.ts → chat-interaction-Bs0O3lwb.d.cts} +3140 -1534
  2. package/dist/{chat-interaction-C620llgG.d.cts → chat-interaction-dRnhgwb-.d.ts} +3140 -1534
  3. package/dist/{chunk-7R22EG5F.js → chunk-7ABBH5CC.js} +495 -78
  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 +498 -77
  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 +495 -77
  16. package/dist/internal.cjs.map +1 -1
  17. package/dist/internal.d.cts +6 -211
  18. package/dist/internal.d.ts +6 -211
  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-kbfnY2gB.d.ts → path-6wcAgEJR.d.cts} +11 -4
  24. package/dist/{path-BIk9UPr0.d.cts → path-B08DHrW4.d.ts} +11 -4
  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-7R22EG5F.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,27 +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 (legacy chunk-only playback).
5127
- */
5128
- async getRecordingInfo(wid, chatId) {
5129
- return this.fetch(`w/${wid}/recordings/chat/${chatId}/info`);
5130
- }
5131
- /** List the recorded audio chunks for a chat (metadata only). */
5132
- async listChatRecordings(wid, chatId, options = {}) {
5133
- const params = new URLSearchParams();
5134
- if (options.role) params.set("role", options.role);
5135
- return this.fetch(
5136
- `w/${wid}/recordings/chat/${chatId}${params.toString() ? `?${params.toString()}` : ""}`
5137
- );
5138
- }
5139
5143
  /**
5140
5144
  * Get a single short-lived presigned URL to download the complete call
5141
- * recording as one WAV file. The first request assembles + caches the
5142
- * full-call WAV; later requests reuse it.
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.
5143
5148
  */
5144
5149
  async getCallRecordingDownloadUrl(wid, chatId, options = {}) {
5145
5150
  const params = new URLSearchParams();
@@ -5456,6 +5461,13 @@ var ChatsApi = class extends BaseApiClient {
5456
5461
  body: JSON.stringify(override)
5457
5462
  });
5458
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
+ }
5459
5471
  /** Update the mute status of a chat. */
5460
5472
  async updateChatMute(wid, id, muted, muteReason, muteExpiresOnInbound) {
5461
5473
  return this.fetch(`w/${wid}/chats/${id}/mute`, {
@@ -6435,6 +6447,32 @@ var DiscordBotsApi = class extends BaseApiClient {
6435
6447
 
6436
6448
  // src/api/slack-apps.ts
6437
6449
  var SlackAppsApi = class extends BaseApiClient {
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) {
6457
+ const params = new URLSearchParams({ appId: String(appId) });
6458
+ if (cursor) params.set("cursor", cursor);
6459
+ if (teamId) params.set("teamId", teamId);
6460
+ return this.fetch(
6461
+ `w/${wid}/app-connections/slack/channel-choices?${params}`
6462
+ );
6463
+ }
6464
+ async getSlackEntryPoints(wid, options = {}) {
6465
+ const params = new URLSearchParams();
6466
+ if (options.appId) params.set("appId", String(options.appId));
6467
+ if (options.workflowId) params.set("workflowId", String(options.workflowId));
6468
+ return this.fetch(`w/${wid}/app-connections/slack/entry-points?${params}`);
6469
+ }
6470
+ async connectSlackEntryPoint(wid, data) {
6471
+ return this.fetch(`w/${wid}/app-connections/slack/entry-points`, {
6472
+ method: "POST",
6473
+ body: JSON.stringify(data)
6474
+ });
6475
+ }
6438
6476
  /**
6439
6477
  * List all Slack apps configured for a workspace.
6440
6478
  */
@@ -6499,6 +6537,8 @@ var SlackAppsApi = class extends BaseApiClient {
6499
6537
  const params = new URLSearchParams();
6500
6538
  if (options.page) params.append("page", options.page.toString());
6501
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);
6502
6542
  return this.fetch(
6503
6543
  `w/${wid}/app-connections/slack/apps/${appId}/installations${params.toString() ? `?${params.toString()}` : ""}`
6504
6544
  );
@@ -6948,6 +6988,36 @@ var FhirConnectionsApi = class extends BaseApiClient {
6948
6988
  body: JSON.stringify(data)
6949
6989
  });
6950
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
+ }
6951
7021
  /**
6952
7022
  * Update an existing FHIR connection configuration.
6953
7023
  */
@@ -7166,36 +7236,6 @@ var FhirConnectionsApi = class extends BaseApiClient {
7166
7236
  { method: "POST", body: JSON.stringify(data) }
7167
7237
  );
7168
7238
  }
7169
- /**
7170
- * Start, resume, override or preview (dry run) an athenahealth connection's
7171
- * onboarding import. The body is exactly the three mode flags; the server
7172
- * traverses the connection's configured department/status pairs. Returns
7173
- * 202 with the Temporal workflow and run ids. Requires `workspace:admin`.
7174
- */
7175
- async fhirStartOnboardingImport(wid, connectionId, data = {}) {
7176
- const body = {
7177
- dryRun: data.dryRun ?? false,
7178
- resume: data.resume ?? false,
7179
- override: data.override ?? false
7180
- };
7181
- return this.fetch(
7182
- `w/${wid}/app-connections/fhir/connections/${connectionId}/onboarding-import`,
7183
- {
7184
- method: "POST",
7185
- body: JSON.stringify(body)
7186
- }
7187
- );
7188
- }
7189
- /**
7190
- * Read an athenahealth connection's onboarding-import progress (durable,
7191
- * approximate totals) and its known Temporal execution. GET-only: never
7192
- * starts or resumes work. Requires `workspace:admin`.
7193
- */
7194
- async fhirGetOnboardingImportStatus(wid, connectionId) {
7195
- return this.fetch(
7196
- `w/${wid}/app-connections/fhir/connections/${connectionId}/onboarding-import`
7197
- );
7198
- }
7199
7239
  };
7200
7240
 
7201
7241
  // src/api/patientsync-connections.ts
@@ -7217,6 +7257,33 @@ var PatientSyncConnectionsApi = class extends BaseApiClient {
7217
7257
  }
7218
7258
  };
7219
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
+
7220
7287
  // src/api/documo-fax.ts
7221
7288
  var DocumoFaxApi = class extends BaseApiClient {
7222
7289
  async getDocumoFaxStatus(wid) {
@@ -7870,6 +7937,23 @@ var InboxesApi = class extends BaseApiClient {
7870
7937
  );
7871
7938
  return response.arrayBuffer();
7872
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
+ }
7873
7957
  /** List email threads in an inbox. */
7874
7958
  async getInboxThreads(wid, inboxId) {
7875
7959
  return this.fetch(`w/${wid}/inboxes/${inboxId}/threads`);
@@ -10194,6 +10278,18 @@ var OrgApi = class extends BaseApiClient {
10194
10278
  async listA2PBrands(orgUuid) {
10195
10279
  return this.fetch(`o/${orgUuid}/a2p-brands`);
10196
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
+ }
10197
10293
  /**
10198
10294
  * Live per-brand campaign use-case eligibility. Approved brands only — a
10199
10295
  * brand still under TCR review comes back as a structured 412 the picker
@@ -10683,6 +10779,14 @@ var PhoneNumbersApi = class extends BaseApiClient {
10683
10779
  async getPhoneNumber(wid, id) {
10684
10780
  return this.fetch(`w/${wid}/phone-numbers/${id}`);
10685
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
+ }
10686
10790
  /** Create a new phone number record. */
10687
10791
  async createPhoneNumber(wid, phoneNumber) {
10688
10792
  return this.fetch(`w/${wid}/phone-numbers`, {
@@ -10997,6 +11101,21 @@ var PersonasApi = class extends BaseApiClient {
10997
11101
  async getPersona(wid, id) {
10998
11102
  return this.fetch(`w/${wid}/personas/${id}`);
10999
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
+ }
11000
11119
  async createPersona(wid, data) {
11001
11120
  return this.fetch(`w/${wid}/personas`, {
11002
11121
  method: "POST",
@@ -11172,6 +11291,21 @@ var ProjectsApi = class extends BaseApiClient {
11172
11291
 
11173
11292
  // src/api/qualifications.ts
11174
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
+ }
11175
11309
  /** List qualifications in a workspace, paginated. */
11176
11310
  async getQualifications(wid, params) {
11177
11311
  const query = new URLSearchParams();
@@ -11263,6 +11397,12 @@ var QualificationsApi = class extends BaseApiClient {
11263
11397
  `w/${wid}/qualifications/workflows/${workflowId}/scenario-health-summaries${qs}`
11264
11398
  );
11265
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
+ }
11266
11406
  async getTestChatRun(wid, runId) {
11267
11407
  return this.fetch(`w/${wid}/qualifications/test-chat-runs/${runId}`);
11268
11408
  }
@@ -11558,9 +11698,9 @@ var SalesforceApi = class extends BaseApiClient {
11558
11698
  });
11559
11699
  }
11560
11700
  /**
11561
- * Start a durable run that links unlinked members by Salesforce Id / email
11562
- * and hydrates them. One run per connection; a second start while one is
11563
- * 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.
11564
11704
  */
11565
11705
  async linkUnlinkedSalesforceMembersByIdentity(wid) {
11566
11706
  return this.fetch(
@@ -11687,6 +11827,20 @@ var ConnectionSyncApi = class extends BaseApiClient {
11687
11827
  { method: "PUT", body: JSON.stringify(data) }
11688
11828
  );
11689
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
+ }
11690
11844
  async getConnectionSyncCheckpoint(wid, connectionId, direction = "inbound", syncKey = "default") {
11691
11845
  const query = new URLSearchParams({
11692
11846
  direction,
@@ -11749,6 +11903,108 @@ var ConnectionSyncApi = class extends BaseApiClient {
11749
11903
  { method: "DELETE" }
11750
11904
  );
11751
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
+ }
11752
12008
  };
11753
12009
 
11754
12010
  // src/api/hubspot.ts
@@ -11854,6 +12110,35 @@ var HubspotApi = class extends BaseApiClient {
11854
12110
  `w/${wid}/app-connections/hubspot/sync-settings/hs-properties`
11855
12111
  );
11856
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
+ }
11857
12142
  async getHubspotManagedRules(wid) {
11858
12143
  return this.fetch(`w/${wid}/app-connections/hubspot/managed-rules`);
11859
12144
  }
@@ -13053,6 +13338,17 @@ var JourneysApi = class extends BaseApiClient {
13053
13338
  async getJourneyHealth(wid, journeyId) {
13054
13339
  return this.fetch(`w/${wid}/journeys/${journeyId}/health`);
13055
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
+ }
13056
13352
  /** Create a step within a journey. */
13057
13353
  async createStep(wid, journeyId, data) {
13058
13354
  return this.fetch(`w/${wid}/journeys/${journeyId}/steps`, {
@@ -13971,13 +14267,10 @@ var WorkspacesApi = class extends BaseApiClient {
13971
14267
  }
13972
14268
  /** Register a Web Push subscription for the current user. */
13973
14269
  async registerPushSubscription(wid, subscription) {
13974
- return this.fetch(
13975
- `w/${wid}/push-subscriptions`,
13976
- {
13977
- method: "POST",
13978
- body: JSON.stringify(subscription)
13979
- }
13980
- );
14270
+ return this.fetch(`w/${wid}/push-subscriptions`, {
14271
+ method: "POST",
14272
+ body: JSON.stringify(subscription)
14273
+ });
13981
14274
  }
13982
14275
  /** Unregister a Web Push subscription by endpoint URL. */
13983
14276
  async unregisterPushSubscription(wid, endpoint) {
@@ -13992,6 +14285,14 @@ var WorkspacesApi = class extends BaseApiClient {
13992
14285
  async listPushSubscriptions(wid) {
13993
14286
  return this.fetch(`w/${wid}/push-subscriptions`);
13994
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
+ }
13995
14296
  /** List org domains available for workspace email inbox routing. */
13996
14297
  async getWorkspaceEmailDomains(wid) {
13997
14298
  return this.fetch(`w/${wid}/domains/for-email`);
@@ -14478,6 +14779,7 @@ function createApiModules(apiKey, baseUrl, customFetch) {
14478
14779
  patientSyncConnections: new PatientSyncConnectionsApi(apiKey, baseUrl, customFetch),
14479
14780
  healthie: new HealthieApi(apiKey, baseUrl, customFetch),
14480
14781
  documoFax: new DocumoFaxApi(apiKey, baseUrl, customFetch),
14782
+ claimMd: new ClaimMdApi(apiKey, baseUrl, customFetch),
14481
14783
  hubspot: new HubspotApi(apiKey, baseUrl, customFetch),
14482
14784
  features: new FeaturesApi(apiKey, baseUrl, customFetch),
14483
14785
  files: new FilesApi(apiKey, baseUrl, customFetch),
@@ -14561,6 +14863,7 @@ var WORKSPACE_METHOD_NAMES = [
14561
14863
  "cancelCalendarEvent",
14562
14864
  "cancelChatCallback",
14563
14865
  "cancelCredentialUpdateInvite",
14866
+ "cancelSubsetImport",
14564
14867
  "checkAvailability",
14565
14868
  "checkSiteDomainAvailability",
14566
14869
  "checkSiteSlugAvailability",
@@ -14575,6 +14878,7 @@ var WORKSPACE_METHOD_NAMES = [
14575
14878
  "commentOnWorkspaceSupportRequest",
14576
14879
  "completeDiscordLink",
14577
14880
  "configureConfluence",
14881
+ "configureClaimMd",
14578
14882
  "configureDocumoFax",
14579
14883
  "configureHealthie",
14580
14884
  "configurePatientSync",
@@ -14582,6 +14886,7 @@ var WORKSPACE_METHOD_NAMES = [
14582
14886
  "configureMondayConnection",
14583
14887
  "configureSalesforce",
14584
14888
  "configureZendeskConnection",
14889
+ "connectAthena",
14585
14890
  "convertEmail",
14586
14891
  "convertFile",
14587
14892
  "createAbility",
@@ -14590,6 +14895,15 @@ var WORKSPACE_METHOD_NAMES = [
14590
14895
  "createApiKey",
14591
14896
  "createAssignment",
14592
14897
  "bindInstallationSlots",
14898
+ "createSubsetImport",
14899
+ "deleteSubsetImport",
14900
+ "getSubsetImport",
14901
+ "listSubsetImportFilterFields",
14902
+ "listSubsetImportRuns",
14903
+ "listSubsetImports",
14904
+ "listSubsetImportVendorLists",
14905
+ "previewSubsetImport",
14906
+ "previewSubsetImportSelection",
14593
14907
  "restoreInstallationForm",
14594
14908
  "createBundle",
14595
14909
  "createCalendar",
@@ -14598,6 +14912,7 @@ var WORKSPACE_METHOD_NAMES = [
14598
14912
  "createCalendarSchedule",
14599
14913
  "createChat",
14600
14914
  "createChatInteractionSession",
14915
+ "runSubsetImport",
14601
14916
  "transitionChatInteractionSession",
14602
14917
  "createChatCompletion",
14603
14918
  "createChatFilter",
@@ -14778,7 +15093,6 @@ var WORKSPACE_METHOD_NAMES = [
14778
15093
  "fhirGetCsvImportSettings",
14779
15094
  "fhirGetEncounterSyncRuns",
14780
15095
  "fhirGetEncounterSyncStatus",
14781
- "fhirGetOnboardingImportStatus",
14782
15096
  "fhirImportPatient",
14783
15097
  "fhirLinkMember",
14784
15098
  "fhirListLinkedMembers",
@@ -14787,7 +15101,6 @@ var WORKSPACE_METHOD_NAMES = [
14787
15101
  "fhirSearchLocations",
14788
15102
  "fhirSearchPatients",
14789
15103
  "fhirSearchPractitioners",
14790
- "fhirStartOnboardingImport",
14791
15104
  "fhirSyncMember",
14792
15105
  "fhirUnlinkMember",
14793
15106
  "fhirUpdateCsvImportSettings",
@@ -14813,6 +15126,7 @@ var WORKSPACE_METHOD_NAMES = [
14813
15126
  "getAnonymousResolutions",
14814
15127
  "getApiKeys",
14815
15128
  "getArchiveBlockers",
15129
+ "getAthenaPlatformApp",
14816
15130
  "getAssignment",
14817
15131
  "getAssignmentCelContext",
14818
15132
  "getAssignmentMessages",
@@ -14875,9 +15189,12 @@ var WORKSPACE_METHOD_NAMES = [
14875
15189
  "getClientWorkspace",
14876
15190
  "getConfigurationHealth",
14877
15191
  "getConfluenceStatus",
15192
+ "getConnectionFieldHomes",
15193
+ "getInboundRecordStatus",
14878
15194
  "getConnectionSyncCapabilities",
14879
15195
  "getConnectionSyncCheckpoint",
14880
15196
  "getConnectionSyncConfig",
15197
+ "getConnectionWritePreview",
14881
15198
  "getCredentialUpdateInvites",
14882
15199
  "getCurrentMember",
14883
15200
  "clearMemberWorkflowVoice",
@@ -14914,6 +15231,7 @@ var WORKSPACE_METHOD_NAMES = [
14914
15231
  "getDiscordBots",
14915
15232
  "getDiscordGuilds",
14916
15233
  "getDiscordThreads",
15234
+ "getClaimMdStatus",
14917
15235
  "getDocumoFaxSetup",
14918
15236
  "listDocumoFaxes",
14919
15237
  "getDocumoFaxStatus",
@@ -14942,8 +15260,8 @@ var WORKSPACE_METHOD_NAMES = [
14942
15260
  "getSiteSourceTemplates",
14943
15261
  "getThemeSettings",
14944
15262
  "importSiteSourceZip",
15263
+ "installClaimMd",
14945
15264
  "installDocumoFax",
14946
- "listChatRecordings",
14947
15265
  "previewDataReport",
14948
15266
  "previewQuery",
14949
15267
  "publishSiteSource",
@@ -14979,7 +15297,11 @@ var WORKSPACE_METHOD_NAMES = [
14979
15297
  "getHealthieStatus",
14980
15298
  "getPatientSyncStatus",
14981
15299
  "getHubspotContactProperties",
15300
+ "getHubspotDealProperties",
15301
+ "getHubspotForms",
15302
+ "getHubspotMeetingLinks",
14982
15303
  "getHubspotManagedRules",
15304
+ "getHubspotObjectProperties",
14983
15305
  "getHubspotReconciliationMatches",
14984
15306
  "getHubspotStatus",
14985
15307
  "getHubspotSyncLogs",
@@ -14991,6 +15313,7 @@ var WORKSPACE_METHOD_NAMES = [
14991
15313
  "getInbox",
14992
15314
  "getInboxEmail",
14993
15315
  "getInboxEmails",
15316
+ "getInboxOutboundEmailStats",
14994
15317
  "getInboxThreads",
14995
15318
  "getInboxes",
14996
15319
  "getInterventionRequests",
@@ -15000,6 +15323,7 @@ var WORKSPACE_METHOD_NAMES = [
15000
15323
  "getJourneyHealth",
15001
15324
  "getJourneyMembers",
15002
15325
  "getJourneyNotes",
15326
+ "getJourneySendEstimate",
15003
15327
  "getJourneyV2Validation",
15004
15328
  "getJourneys",
15005
15329
  "getLinkablePhones",
@@ -15060,11 +15384,16 @@ var WORKSPACE_METHOD_NAMES = [
15060
15384
  "getPage",
15061
15385
  "getPageBySlug",
15062
15386
  "getPersona",
15387
+ "getPersonaTestMember",
15388
+ "createPersonaTestMember",
15389
+ "resetPersonaTestMember",
15063
15390
  "getPhoneCalls",
15391
+ "getPhoneCallByUuid",
15064
15392
  "getPhoneNumber",
15065
15393
  "getPhoneNumberCalls",
15066
15394
  "getPhoneNumberFaxes",
15067
15395
  "getPhoneNumberMessages",
15396
+ "getPhoneNumberSetupStatus",
15068
15397
  "getPhoneNumberVoicemails",
15069
15398
  "getPhoneNumbers",
15070
15399
  "getPhoneUsageReport",
@@ -15080,7 +15409,6 @@ var WORKSPACE_METHOD_NAMES = [
15080
15409
  "getPublicProducts",
15081
15410
  "getQualification",
15082
15411
  "getQualifications",
15083
- "getRecordingInfo",
15084
15412
  "getResellerWorkspaces",
15085
15413
  "getRoutine",
15086
15414
  "getRoutineConfigEvents",
@@ -15107,6 +15435,7 @@ var WORKSPACE_METHOD_NAMES = [
15107
15435
  "getSlackAppAccounts",
15108
15436
  "getSlackApps",
15109
15437
  "getSlackInstallations",
15438
+ "removeSlackInstallation",
15110
15439
  "getSlackThreads",
15111
15440
  "getStepMemberCounts",
15112
15441
  "getStepMembers",
@@ -15123,6 +15452,7 @@ var WORKSPACE_METHOD_NAMES = [
15123
15452
  "getTeamsConversations",
15124
15453
  "getTeamsInstallations",
15125
15454
  "getTemplateContext",
15455
+ "getChatTestRun",
15126
15456
  "getTestChatRun",
15127
15457
  "getThreadEmails",
15128
15458
  "getTool",
@@ -15196,6 +15526,7 @@ var WORKSPACE_METHOD_NAMES = [
15196
15526
  "linkMemberToMonday",
15197
15527
  "linkMemberToSalesforce",
15198
15528
  "linkPhoneNumber",
15529
+ "linkUnlinkedMembersByIdentity",
15199
15530
  "linkUnlinkedSalesforceMembersByIdentity",
15200
15531
  "listAbilities",
15201
15532
  "listAnonymousFormSubmissions",
@@ -15279,6 +15610,7 @@ var WORKSPACE_METHOD_NAMES = [
15279
15610
  "reenrollMember",
15280
15611
  "renameFieldSlug",
15281
15612
  "registerLinkedRolesMetadata",
15613
+ "testPushSubscription",
15282
15614
  "registerPushSubscription",
15283
15615
  "reindexFolder",
15284
15616
  "releasePhoneNumber",
@@ -15290,6 +15622,7 @@ var WORKSPACE_METHOD_NAMES = [
15290
15622
  "reorderMenuItems",
15291
15623
  "reconcileInstallation",
15292
15624
  "setInstallationPolicy",
15625
+ "updateSubsetImport",
15293
15626
  "upgradeInstallation",
15294
15627
  "replaceBundleDraft",
15295
15628
  "replyToEmail",
@@ -15325,6 +15658,8 @@ var WORKSPACE_METHOD_NAMES = [
15325
15658
  "startHubspotOAuth",
15326
15659
  "startSalesforceOAuth",
15327
15660
  "startSyncRun",
15661
+ "captureScenarioDraft",
15662
+ "promoteTestChatFeedback",
15328
15663
  "startTestChatRun",
15329
15664
  "summarizeChat",
15330
15665
  "syncCalendarWithGoogle",
@@ -15364,6 +15699,7 @@ var WORKSPACE_METHOD_NAMES = [
15364
15699
  "updateChatFilter",
15365
15700
  "updateChatLabel",
15366
15701
  "updateChatModelOverride",
15702
+ "setChatStar",
15367
15703
  "updateChatMute",
15368
15704
  "updateClientWorkspace",
15369
15705
  "updateConnection",
@@ -15443,6 +15779,8 @@ var WORKSPACE_METHOD_NAMES = [
15443
15779
  "validateDataTypeSlug",
15444
15780
  "validateQuery",
15445
15781
  "validateWorkflowName",
15782
+ "verifyAthenaAccess",
15783
+ "verifyClaimMdKey",
15446
15784
  "verifyDocumoFax"
15447
15785
  ];
15448
15786
  var WORKSPACE_METHOD_NAME_SET = new Set(WORKSPACE_METHOD_NAMES);
@@ -15551,6 +15889,7 @@ function bindChatsMethods(target, chats) {
15551
15889
  target.updateChat = chats.updateChat.bind(chats);
15552
15890
  target.getChatModelOverride = chats.getChatModelOverride.bind(chats);
15553
15891
  target.updateChatModelOverride = chats.updateChatModelOverride.bind(chats);
15892
+ target.setChatStar = chats.setChatStar.bind(chats);
15554
15893
  target.updateChatMute = chats.updateChatMute.bind(chats);
15555
15894
  target.summarizeChat = chats.summarizeChat.bind(chats);
15556
15895
  target.getChatMessages = chats.getChatMessages.bind(chats);
@@ -15587,10 +15926,9 @@ function bindChatsMethods(target, chats) {
15587
15926
  // src/client/bindings/calls.ts
15588
15927
  function bindCallsMethods(target, calls, cel) {
15589
15928
  target.getPhoneCalls = calls.getPhoneCalls.bind(calls);
15929
+ target.getPhoneCallByUuid = calls.getPhoneCallByUuid.bind(calls);
15590
15930
  target.getMessageTiming = calls.getMessageTiming.bind(calls);
15591
- target.getRecordingInfo = calls.getRecordingInfo.bind(calls);
15592
15931
  target.getEdgeCaptureInfo = calls.getEdgeCaptureInfo.bind(calls);
15593
- target.listChatRecordings = calls.listChatRecordings.bind(calls);
15594
15932
  target.getCallRecordingDownloadUrl = calls.getCallRecordingDownloadUrl.bind(calls);
15595
15933
  target.getCelContext = cel.getCelContext.bind(cel);
15596
15934
  target.validateCelExpression = cel.validateCelExpression.bind(cel);
@@ -15831,6 +16169,7 @@ function bindWorkspacesMethods(target, workspaces, signupRequests) {
15831
16169
  target.getWorkspaceScopes = workspaces.getWorkspaceScopes.bind(workspaces);
15832
16170
  target.getUsageDashboard = workspaces.getUsageDashboard.bind(workspaces);
15833
16171
  target.getVapidPublicKey = workspaces.getVapidPublicKey.bind(workspaces);
16172
+ target.testPushSubscription = workspaces.testPushSubscription.bind(workspaces);
15834
16173
  target.registerPushSubscription = workspaces.registerPushSubscription.bind(workspaces);
15835
16174
  target.unregisterPushSubscription = workspaces.unregisterPushSubscription.bind(workspaces);
15836
16175
  target.listPushSubscriptions = workspaces.listPushSubscriptions.bind(workspaces);
@@ -16157,6 +16496,7 @@ function bindCommunicationsMethods(target, phoneNumbers, inboxes, notificationRu
16157
16496
  target.createPhoneNumber = phoneNumbers.createPhoneNumber.bind(phoneNumbers);
16158
16497
  target.updatePhoneNumber = phoneNumbers.updatePhoneNumber.bind(phoneNumbers);
16159
16498
  target.getArchiveBlockers = phoneNumbers.getArchiveBlockers.bind(phoneNumbers);
16499
+ target.getPhoneNumberSetupStatus = phoneNumbers.getPhoneNumberSetupStatus.bind(phoneNumbers);
16160
16500
  target.archivePhoneNumber = phoneNumbers.archivePhoneNumber.bind(phoneNumbers);
16161
16501
  target.getPhoneNumberCalls = phoneNumbers.getPhoneNumberCalls.bind(phoneNumbers);
16162
16502
  target.getPhoneNumberOutboundAnalyticsSummary = phoneNumbers.getPhoneNumberOutboundAnalyticsSummary.bind(phoneNumbers);
@@ -16189,6 +16529,7 @@ function bindCommunicationsMethods(target, phoneNumbers, inboxes, notificationRu
16189
16529
  target.sendInboxEmail = inboxes.sendInboxEmail.bind(inboxes);
16190
16530
  target.previewInboxEmail = inboxes.previewInboxEmail.bind(inboxes);
16191
16531
  target.previewEmailReply = inboxes.previewEmailReply.bind(inboxes);
16532
+ target.getInboxOutboundEmailStats = inboxes.getInboxOutboundEmailStats.bind(inboxes);
16192
16533
  target.getNotificationRules = notificationRules.getNotificationRules.bind(notificationRules);
16193
16534
  target.createNotificationRule = notificationRules.createNotificationRule.bind(notificationRules);
16194
16535
  target.updateNotificationRule = notificationRules.updateNotificationRule.bind(notificationRules);
@@ -16305,7 +16646,7 @@ function bindAppsMethods(target, apps, builders, inquiries, oauth, oauthConnecti
16305
16646
  }
16306
16647
 
16307
16648
  // src/client/bindings/integrations.ts
16308
- 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) {
16309
16650
  target.getMondayBoards = mondayIntegration.getBoards.bind(mondayIntegration);
16310
16651
  target.getMondayBoardColumns = mondayIntegration.getBoardColumns.bind(mondayIntegration);
16311
16652
  target.getMondayBoardGroups = mondayIntegration.getBoardGroups.bind(mondayIntegration);
@@ -16355,6 +16696,10 @@ function bindIntegrationsMethods(target, mondayIntegration, discordBots, slackAp
16355
16696
  target.deleteSlackApp = slackApps.deleteSlackApp.bind(slackApps);
16356
16697
  target.getSlackThreads = slackApps.getSlackThreads.bind(slackApps);
16357
16698
  target.getSlackInstallations = slackApps.getSlackInstallations.bind(slackApps);
16699
+ target.removeSlackInstallation = slackApps.removeSlackInstallation.bind(slackApps);
16700
+ target.getSlackChannelChoices = slackApps.getSlackChannelChoices.bind(slackApps);
16701
+ target.getSlackEntryPoints = slackApps.getSlackEntryPoints.bind(slackApps);
16702
+ target.connectSlackEntryPoint = slackApps.connectSlackEntryPoint.bind(slackApps);
16358
16703
  target.getSlackAppAccounts = slackApps.getSlackAppAccounts.bind(slackApps);
16359
16704
  target.getTeamsApps = teamsApps.getTeamsApps.bind(teamsApps);
16360
16705
  target.getTeamsApp = teamsApps.getTeamsApp.bind(teamsApps);
@@ -16395,8 +16740,9 @@ function bindIntegrationsMethods(target, mondayIntegration, discordBots, slackAp
16395
16740
  target.fhirGetEncounterSyncRuns = fhirConnections.fhirGetEncounterSyncRuns.bind(fhirConnections);
16396
16741
  target.fhirRefreshEncounterPatient = fhirConnections.fhirRefreshEncounterPatient.bind(fhirConnections);
16397
16742
  target.fhirBackfillEncounterSync = fhirConnections.fhirBackfillEncounterSync.bind(fhirConnections);
16398
- target.fhirStartOnboardingImport = fhirConnections.fhirStartOnboardingImport.bind(fhirConnections);
16399
- 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);
16400
16746
  target.configurePatientSync = patientSyncConnections.configurePatientSync.bind(patientSyncConnections);
16401
16747
  target.getPatientSyncStatus = patientSyncConnections.getPatientSyncStatus.bind(patientSyncConnections);
16402
16748
  target.deletePatientSyncConnection = patientSyncConnections.deletePatientSyncConnection.bind(patientSyncConnections);
@@ -16407,6 +16753,10 @@ function bindIntegrationsMethods(target, mondayIntegration, discordBots, slackAp
16407
16753
  target.configureDocumoFax = documoFax.configureDocumoFax.bind(documoFax);
16408
16754
  target.verifyDocumoFax = documoFax.verifyDocumoFax.bind(documoFax);
16409
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);
16410
16760
  target.configureHealthie = healthie.configureHealthie.bind(healthie);
16411
16761
  target.getHealthieStatus = healthie.getHealthieStatus.bind(healthie);
16412
16762
  target.listHealthieProviders = healthie.listHealthieProviders.bind(healthie);
@@ -16468,6 +16818,10 @@ function bindIntegrationsMethods(target, mondayIntegration, discordBots, slackAp
16468
16818
  target.searchHubspotRecords = hubspot.searchHubspotRecords.bind(hubspot);
16469
16819
  target.importHubspotMembers = hubspot.importHubspotMembers.bind(hubspot);
16470
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);
16471
16825
  target.getHubspotManagedRules = hubspot.getHubspotManagedRules.bind(hubspot);
16472
16826
  target.getHubspotSyncLogs = hubspot.getHubspotSyncLogs.bind(hubspot);
16473
16827
  target.getHubspotTransformPresets = hubspot.getHubspotTransformPresets.bind(hubspot);
@@ -16479,7 +16833,23 @@ function bindIntegrationsMethods(target, mondayIntegration, discordBots, slackAp
16479
16833
  target.getSyncRuns = connectionSync.getSyncRuns.bind(connectionSync);
16480
16834
  target.getSyncRunItems = connectionSync.getSyncRunItems.bind(connectionSync);
16481
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);
16482
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);
16483
16853
  target.listAvailableAppConnections = appConnections.listAvailableAppConnections.bind(appConnections);
16484
16854
  target.listAppConnections = appConnections.listAppConnections.bind(appConnections);
16485
16855
  target.enablePlatformApp = appConnections.enablePlatformApp.bind(appConnections);
@@ -16640,6 +17010,7 @@ function bindJourneysMethods(target, journeys) {
16640
17010
  target.getJourneyV2Validation = journeys.getJourneyV2Validation.bind(journeys);
16641
17011
  target.getJourneyFilterOptions = journeys.getJourneyFilterOptions.bind(journeys);
16642
17012
  target.getJourneyHealth = journeys.getJourneyHealth.bind(journeys);
17013
+ target.getJourneySendEstimate = journeys.getJourneySendEstimate.bind(journeys);
16643
17014
  target.cloneJourneyAsV2 = journeys.cloneJourneyAsV2.bind(journeys);
16644
17015
  target.createJourney = journeys.createJourney.bind(journeys);
16645
17016
  target.updateJourney = journeys.updateJourney.bind(journeys);
@@ -16684,11 +17055,14 @@ function bindQualificationsMethods(target, qualifications) {
16684
17055
  target.deleteScenario = qualifications.deleteScenario.bind(qualifications);
16685
17056
  target.listTestChatRuns = qualifications.listTestChatRuns.bind(qualifications);
16686
17057
  target.listScenarioHealthSummaries = qualifications.listScenarioHealthSummaries.bind(qualifications);
17058
+ target.getChatTestRun = qualifications.getChatTestRun.bind(qualifications);
16687
17059
  target.getTestChatRun = qualifications.getTestChatRun.bind(qualifications);
16688
17060
  target.listChatCapturedEffects = qualifications.listChatCapturedEffects.bind(qualifications);
16689
17061
  target.listChatRecordChanges = qualifications.listChatRecordChanges.bind(qualifications);
16690
17062
  target.takeTestChatRunEmailTurn = qualifications.takeTestChatRunEmailTurn.bind(qualifications);
16691
17063
  target.takeTestChatRunSmsTurn = qualifications.takeTestChatRunSmsTurn.bind(qualifications);
17064
+ target.captureScenarioDraft = qualifications.captureScenarioDraft.bind(qualifications);
17065
+ target.promoteTestChatFeedback = qualifications.promoteTestChatFeedback.bind(qualifications);
16692
17066
  target.startTestChatRun = qualifications.startTestChatRun.bind(qualifications);
16693
17067
  target.evaluateTestChatRun = qualifications.evaluateTestChatRun.bind(qualifications);
16694
17068
  target.endTestChatRun = qualifications.endTestChatRun.bind(qualifications);
@@ -16698,6 +17072,9 @@ function bindQualificationsMethods(target, qualifications) {
16698
17072
  function bindPersonasMethods(target, personas) {
16699
17073
  target.listPersonas = personas.listPersonas.bind(personas);
16700
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);
16701
17078
  target.createPersona = personas.createPersona.bind(personas);
16702
17079
  target.updatePersona = personas.updatePersona.bind(personas);
16703
17080
  target.archivePersona = personas.archivePersona.bind(personas);
@@ -16843,6 +17220,7 @@ var GravityRailClient = class {
16843
17220
  updateChat;
16844
17221
  getChatModelOverride;
16845
17222
  updateChatModelOverride;
17223
+ setChatStar;
16846
17224
  updateChatMute;
16847
17225
  summarizeChat;
16848
17226
  getChatMessages;
@@ -16876,10 +17254,9 @@ var GravityRailClient = class {
16876
17254
  getChatFilterCount;
16877
17255
  // Calls API
16878
17256
  getPhoneCalls;
17257
+ getPhoneCallByUuid;
16879
17258
  getMessageTiming;
16880
- getRecordingInfo;
16881
17259
  getEdgeCaptureInfo;
16882
- listChatRecordings;
16883
17260
  getCallRecordingDownloadUrl;
16884
17261
  getCelContext;
16885
17262
  validateCelExpression;
@@ -17023,11 +17400,14 @@ var GravityRailClient = class {
17023
17400
  deleteScenario;
17024
17401
  listTestChatRuns;
17025
17402
  listScenarioHealthSummaries;
17403
+ getChatTestRun;
17026
17404
  getTestChatRun;
17027
17405
  listChatCapturedEffects;
17028
17406
  listChatRecordChanges;
17029
17407
  takeTestChatRunEmailTurn;
17030
17408
  takeTestChatRunSmsTurn;
17409
+ captureScenarioDraft;
17410
+ promoteTestChatFeedback;
17031
17411
  startTestChatRun;
17032
17412
  evaluateTestChatRun;
17033
17413
  endTestChatRun;
@@ -17041,6 +17421,9 @@ var GravityRailClient = class {
17041
17421
  previewDataReport;
17042
17422
  listPersonas;
17043
17423
  getPersona;
17424
+ getPersonaTestMember;
17425
+ createPersonaTestMember;
17426
+ resetPersonaTestMember;
17044
17427
  createPersona;
17045
17428
  updatePersona;
17046
17429
  archivePersona;
@@ -17111,6 +17494,7 @@ var GravityRailClient = class {
17111
17494
  getJourneyV2Validation;
17112
17495
  getJourneyFilterOptions;
17113
17496
  getJourneyHealth;
17497
+ getJourneySendEstimate;
17114
17498
  cloneJourneyAsV2;
17115
17499
  createJourney;
17116
17500
  updateJourney;
@@ -17337,6 +17721,7 @@ var GravityRailClient = class {
17337
17721
  setWorkspaceLabels;
17338
17722
  previewWorkspaceScope;
17339
17723
  getVapidPublicKey;
17724
+ testPushSubscription;
17340
17725
  registerPushSubscription;
17341
17726
  unregisterPushSubscription;
17342
17727
  listPushSubscriptions;
@@ -17616,6 +18001,7 @@ var GravityRailClient = class {
17616
18001
  createPhoneNumber;
17617
18002
  updatePhoneNumber;
17618
18003
  getArchiveBlockers;
18004
+ getPhoneNumberSetupStatus;
17619
18005
  archivePhoneNumber;
17620
18006
  getPhoneNumberCalls;
17621
18007
  getPhoneNumberOutboundAnalyticsSummary;
@@ -17648,6 +18034,7 @@ var GravityRailClient = class {
17648
18034
  sendInboxEmail;
17649
18035
  previewInboxEmail;
17650
18036
  previewEmailReply;
18037
+ getInboxOutboundEmailStats;
17651
18038
  getNotificationRules;
17652
18039
  createNotificationRule;
17653
18040
  updateNotificationRule;
@@ -17812,6 +18199,10 @@ var GravityRailClient = class {
17812
18199
  deleteSlackApp;
17813
18200
  getSlackThreads;
17814
18201
  getSlackInstallations;
18202
+ removeSlackInstallation;
18203
+ getSlackChannelChoices;
18204
+ getSlackEntryPoints;
18205
+ connectSlackEntryPoint;
17815
18206
  getSlackAppAccounts;
17816
18207
  // Teams Apps API
17817
18208
  getTeamsApps;
@@ -17854,8 +18245,9 @@ var GravityRailClient = class {
17854
18245
  fhirGetEncounterSyncRuns;
17855
18246
  fhirRefreshEncounterPatient;
17856
18247
  fhirBackfillEncounterSync;
17857
- fhirStartOnboardingImport;
17858
- fhirGetOnboardingImportStatus;
18248
+ getAthenaPlatformApp;
18249
+ verifyAthenaAccess;
18250
+ connectAthena;
17859
18251
  // Healthie API
17860
18252
  getDocumoFaxStatus;
17861
18253
  getDocumoFaxSetup;
@@ -17864,6 +18256,10 @@ var GravityRailClient = class {
17864
18256
  configureDocumoFax;
17865
18257
  verifyDocumoFax;
17866
18258
  rotateDocumoFaxCredentials;
18259
+ getClaimMdStatus;
18260
+ installClaimMd;
18261
+ configureClaimMd;
18262
+ verifyClaimMdKey;
17867
18263
  configurePatientSync;
17868
18264
  getPatientSyncStatus;
17869
18265
  deletePatientSyncConnection;
@@ -17931,6 +18327,10 @@ var GravityRailClient = class {
17931
18327
  searchHubspotRecords;
17932
18328
  importHubspotMembers;
17933
18329
  getHubspotContactProperties;
18330
+ getHubspotDealProperties;
18331
+ getHubspotForms;
18332
+ getHubspotMeetingLinks;
18333
+ getHubspotObjectProperties;
17934
18334
  getHubspotManagedRules;
17935
18335
  getHubspotSyncLogs;
17936
18336
  getHubspotTransformPresets;
@@ -17943,7 +18343,23 @@ var GravityRailClient = class {
17943
18343
  getSyncRuns;
17944
18344
  getSyncRunItems;
17945
18345
  getMemberSyncSummary;
18346
+ getConnectionFieldHomes;
18347
+ getInboundRecordStatus;
18348
+ getConnectionWritePreview;
17946
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;
17947
18363
  // App Connections API
17948
18364
  listAvailableAppConnections;
17949
18365
  listAppConnections;
@@ -18080,6 +18496,7 @@ var GravityRailClient = class {
18080
18496
  apis.patientSyncConnections,
18081
18497
  apis.healthie,
18082
18498
  apis.documoFax,
18499
+ apis.claimMd,
18083
18500
  apis.salesforce,
18084
18501
  apis.hubspot,
18085
18502
  apis.appConnections,
@@ -18521,6 +18938,7 @@ function pathDraftToStorage(draft, original) {
18521
18938
  Scope,
18522
18939
  ScopeCategory,
18523
18940
  ScopeManager,
18941
+ SeedSpeaker,
18524
18942
  SendingNextStep,
18525
18943
  SendingStopState,
18526
18944
  SessionKind,