@gravity-rail/sdk 0.56.0 → 0.57.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (43) hide show
  1. package/dist/agui.d.cts +3 -2
  2. package/dist/agui.d.ts +3 -2
  3. package/dist/audio.d.cts +3 -2
  4. package/dist/audio.d.ts +3 -2
  5. package/dist/{chat-interaction-B1pEnDf4.d.ts → chat-interaction-BlORjFix.d.cts} +5990 -4389
  6. package/dist/{chat-interaction-Bb1dQ6iL.d.cts → chat-interaction-DyQjxoyc.d.ts} +5990 -4389
  7. package/dist/{chunk-HXVJF54M.js → chunk-D5VNVTUQ.js} +1 -1
  8. package/dist/chunk-D5VNVTUQ.js.map +1 -0
  9. package/dist/{chunk-BQOKENBF.js → chunk-YDC4OVZE.js} +486 -68
  10. package/dist/chunk-YDC4OVZE.js.map +1 -0
  11. package/dist/helpers.d.cts +6 -5
  12. package/dist/helpers.d.ts +6 -5
  13. package/dist/index.cjs +489 -67
  14. package/dist/index.cjs.map +1 -1
  15. package/dist/index.d.cts +9 -7
  16. package/dist/index.d.ts +9 -7
  17. package/dist/index.js +7 -2
  18. package/dist/index.js.map +1 -1
  19. package/dist/internal.cjs +486 -67
  20. package/dist/internal.cjs.map +1 -1
  21. package/dist/internal.d.cts +7 -136
  22. package/dist/internal.d.ts +7 -136
  23. package/dist/internal.js +4 -2
  24. package/dist/internal.js.map +1 -1
  25. package/dist/{member-import-DzuvKnMC.d.cts → member-import-B8nsRMD9.d.cts} +1 -1
  26. package/dist/{member-import-D1QvZiy5.d.ts → member-import-l7j087-X.d.ts} +1 -1
  27. package/dist/{path-CoJI_rv9.d.ts → path-BKKAG8ti.d.cts} +5 -4
  28. package/dist/{path-Q4WIJjcE.d.cts → path-CdqBYuYi.d.ts} +5 -4
  29. package/dist/realtime.d.cts +4 -3
  30. package/dist/realtime.d.ts +4 -3
  31. package/dist/schemas.cjs +79 -41
  32. package/dist/schemas.cjs.map +1 -1
  33. package/dist/schemas.d.cts +207 -63
  34. package/dist/schemas.d.ts +207 -63
  35. package/dist/schemas.js +78 -42
  36. package/dist/schemas.js.map +1 -1
  37. package/dist/{tasks-BdYhYUpU.d.cts → tasks-By6Bzhwy.d.cts} +1026 -850
  38. package/dist/{tasks-BdYhYUpU.d.ts → tasks-By6Bzhwy.d.ts} +1026 -850
  39. package/dist/{types-DlfADjPR.d.cts → types-BXaWYGHj.d.cts} +2 -1
  40. package/dist/{types-DlfADjPR.d.ts → types-BXaWYGHj.d.ts} +2 -1
  41. package/package.json +5 -5
  42. package/dist/chunk-BQOKENBF.js.map +0 -1
  43. package/dist/chunk-HXVJF54M.js.map +0 -1
@@ -598,11 +598,15 @@ var AIModelsApi = class extends BaseApiClient {
598
598
  return this.fetch("ai-models/manager");
599
599
  }
600
600
  /**
601
- * Get available realtime AI models
601
+ * Get available realtime AI models.
602
+ *
603
+ * `includeHidden` also lists models no longer offered for new selection
604
+ * (deprecated, flagged `hidden: true`), so a saved selection can be named.
602
605
  */
603
- async getRealtimeModels(provider) {
606
+ async getRealtimeModels(provider, options) {
604
607
  const searchParams = new URLSearchParams();
605
608
  if (provider) searchParams.append("provider", provider);
609
+ if (options?.includeHidden) searchParams.append("includeHidden", "true");
606
610
  const queryString = searchParams.toString();
607
611
  const url = queryString ? `ai-models/realtime?${queryString}` : "ai-models/realtime";
608
612
  return this.fetch(url);
@@ -1610,6 +1614,18 @@ var CallsApi = class extends BaseApiClient {
1610
1614
  `w/${wid}/calls${params.toString() ? `?${params.toString()}` : ""}`
1611
1615
  );
1612
1616
  }
1617
+ /**
1618
+ * Get one phone call by uuid — the subject a `call.*` Activity event names.
1619
+ *
1620
+ * Authorization is the call's own chat (`chats:read`, then the chat access
1621
+ * policy), so a call with no chat, or one the caller's chat access does not
1622
+ * reach, is a 404. The response carries `chatId`/`chatUuid`, the terminal
1623
+ * disposition axes and `workflowId`, which is what an Activity call card
1624
+ * needs to show the call's outcome and link to its conversation.
1625
+ */
1626
+ async getPhoneCallByUuid(wid, uuid) {
1627
+ return this.fetch(`w/${wid}/calls/by-uuid/${encodeURIComponent(uuid)}`);
1628
+ }
1613
1629
  /**
1614
1630
  * Get message timing data for a chat recording. `source` selects whose
1615
1631
  * timeline the offsets are measured against; omitted means `standard`.
@@ -1630,19 +1646,11 @@ var CallsApi = class extends BaseApiClient {
1630
1646
  async getEdgeCaptureInfo(wid, chatId) {
1631
1647
  return this.fetch(`w/${wid}/recordings/chat/${chatId}/edge-capture`);
1632
1648
  }
1633
- /**
1634
- * Get PHI-safe provenance metadata for the recording served by
1635
- * `/audio.wav` — source, encryption, channels, duration, status, etc.
1636
- * Staff-only Twilio SIDs are present only for superusers. Returns 404
1637
- * when the chat has no native recording row.
1638
- */
1639
- async getRecordingInfo(wid, chatId) {
1640
- return this.fetch(`w/${wid}/recordings/chat/${chatId}/info`);
1641
- }
1642
1649
  /**
1643
1650
  * Get a single short-lived presigned URL to download the complete call
1644
- * recording as one file: the playable Twilio-native recording, else the
1645
- * complete internal recording. 404 when neither is available.
1651
+ * recording as one file: the complete internal recording, else the newest
1652
+ * ready stored recording (`twilio_native` or `legacy_chunks`). 404 when
1653
+ * neither is available.
1646
1654
  */
1647
1655
  async getCallRecordingDownloadUrl(wid, chatId, options = {}) {
1648
1656
  const params = new URLSearchParams();
@@ -1959,6 +1967,13 @@ var ChatsApi = class extends BaseApiClient {
1959
1967
  body: JSON.stringify(override)
1960
1968
  });
1961
1969
  }
1970
+ /** Set the authenticated Member's personal star without changing Chat access. */
1971
+ async setChatStar(wid, id, isStarred) {
1972
+ return this.fetch(`w/${wid}/chats/${id}/star`, {
1973
+ method: "PUT",
1974
+ body: JSON.stringify({ isStarred })
1975
+ });
1976
+ }
1962
1977
  /** Update the mute status of a chat. */
1963
1978
  async updateChatMute(wid, id, muted, muteReason, muteExpiresOnInbound) {
1964
1979
  return this.fetch(`w/${wid}/chats/${id}/mute`, {
@@ -2822,9 +2837,21 @@ var DiscordBotsApi = class extends BaseApiClient {
2822
2837
 
2823
2838
  // src/api/slack-apps.ts
2824
2839
  var SlackAppsApi = class extends BaseApiClient {
2825
- async getSlackChannelChoices(wid, appId, cursor) {
2840
+ async removeSlackAccount(wid, appId, credentialId) {
2841
+ return this.fetch(`w/${wid}/app-connections/slack/apps/${appId}/accounts/${credentialId}`, {
2842
+ method: "DELETE"
2843
+ });
2844
+ }
2845
+ async removeSlackInstallation(wid, appId, installationId) {
2846
+ return this.fetch(
2847
+ `w/${wid}/app-connections/slack/apps/${appId}/installations/${installationId}`,
2848
+ { method: "DELETE" }
2849
+ );
2850
+ }
2851
+ async getSlackChannelChoices(wid, appId, cursor, teamId) {
2826
2852
  const params = new URLSearchParams({ appId: String(appId) });
2827
2853
  if (cursor) params.set("cursor", cursor);
2854
+ if (teamId) params.set("teamId", teamId);
2828
2855
  return this.fetch(
2829
2856
  `w/${wid}/app-connections/slack/channel-choices?${params}`
2830
2857
  );
@@ -2833,6 +2860,8 @@ var SlackAppsApi = class extends BaseApiClient {
2833
2860
  const params = new URLSearchParams();
2834
2861
  if (options.appId) params.set("appId", String(options.appId));
2835
2862
  if (options.workflowId) params.set("workflowId", String(options.workflowId));
2863
+ if (options.offset !== void 0) params.set("offset", String(options.offset));
2864
+ if (options.limit !== void 0) params.set("limit", String(options.limit));
2836
2865
  return this.fetch(`w/${wid}/app-connections/slack/entry-points?${params}`);
2837
2866
  }
2838
2867
  async connectSlackEntryPoint(wid, data) {
@@ -2851,6 +2880,9 @@ var SlackAppsApi = class extends BaseApiClient {
2851
2880
  if (options.sortBy) params.append("sortBy", options.sortBy);
2852
2881
  if (options.sortOrder) params.append("sortOrder", options.sortOrder);
2853
2882
  if (options.search) params.append("search", options.search);
2883
+ if (options.agentId !== void 0) params.set("agentId", String(options.agentId));
2884
+ if (options.workflowId !== void 0) params.set("workflowId", String(options.workflowId));
2885
+ if (options.managed !== void 0) params.set("managed", String(options.managed));
2854
2886
  return this.fetch(
2855
2887
  `w/${wid}/app-connections/slack/apps${params.toString() ? `?${params.toString()}` : ""}`
2856
2888
  );
@@ -2905,6 +2937,8 @@ var SlackAppsApi = class extends BaseApiClient {
2905
2937
  const params = new URLSearchParams();
2906
2938
  if (options.page) params.append("page", options.page.toString());
2907
2939
  if (options.pageSize) params.append("pageSize", options.pageSize.toString());
2940
+ if (options.search) params.set("search", options.search);
2941
+ if (options.connection) params.set("connection", options.connection);
2908
2942
  return this.fetch(
2909
2943
  `w/${wid}/app-connections/slack/apps/${appId}/installations${params.toString() ? `?${params.toString()}` : ""}`
2910
2944
  );
@@ -2916,6 +2950,8 @@ var SlackAppsApi = class extends BaseApiClient {
2916
2950
  const params = new URLSearchParams();
2917
2951
  if (options.page) params.append("page", options.page.toString());
2918
2952
  if (options.pageSize) params.append("pageSize", options.pageSize.toString());
2953
+ if (options.teamId) params.set("teamId", options.teamId);
2954
+ if (options.search) params.set("search", options.search);
2919
2955
  return this.fetch(
2920
2956
  `w/${wid}/app-connections/slack/apps/${appId}/accounts${params.toString() ? `?${params.toString()}` : ""}`
2921
2957
  );
@@ -3199,6 +3235,36 @@ var FhirConnectionsApi = class extends BaseApiClient {
3199
3235
  body: JSON.stringify(data)
3200
3236
  });
3201
3237
  }
3238
+ /**
3239
+ * Which environments of the shared Gravity Rail athenahealth app this
3240
+ * deployment can use. Requires `apps:read`.
3241
+ */
3242
+ async getAthenaPlatformApp(wid) {
3243
+ return this.fetch(
3244
+ `w/${wid}/app-connections/fhir/athena/platform-app`
3245
+ );
3246
+ }
3247
+ /**
3248
+ * Check that the Gravity Rail athenahealth app can reach a practice in an
3249
+ * environment. Saves nothing. Requires `apps:write`.
3250
+ */
3251
+ async verifyAthenaAccess(wid, data) {
3252
+ return this.fetch(
3253
+ `w/${wid}/app-connections/fhir/athena/verify-access`,
3254
+ { method: "POST", body: JSON.stringify(data) }
3255
+ );
3256
+ }
3257
+ /**
3258
+ * Create an athenahealth connection through the shared Gravity Rail app.
3259
+ * The server re-runs the access probe and answers 400 with
3260
+ * `detail: { code, message }` when it fails. Requires `apps:write`.
3261
+ */
3262
+ async connectAthena(wid, data) {
3263
+ return this.fetch(`w/${wid}/app-connections/fhir/athena/connections`, {
3264
+ method: "POST",
3265
+ body: JSON.stringify(data)
3266
+ });
3267
+ }
3202
3268
  /**
3203
3269
  * Update an existing FHIR connection configuration.
3204
3270
  */
@@ -3417,36 +3483,6 @@ var FhirConnectionsApi = class extends BaseApiClient {
3417
3483
  { method: "POST", body: JSON.stringify(data) }
3418
3484
  );
3419
3485
  }
3420
- /**
3421
- * Start, resume, override or preview (dry run) an athenahealth connection's
3422
- * onboarding import. The body is exactly the three mode flags; the server
3423
- * traverses the connection's configured department/status pairs. Returns
3424
- * 202 with the Temporal workflow and run ids. Requires `workspace:admin`.
3425
- */
3426
- async fhirStartOnboardingImport(wid, connectionId, data = {}) {
3427
- const body = {
3428
- dryRun: data.dryRun ?? false,
3429
- resume: data.resume ?? false,
3430
- override: data.override ?? false
3431
- };
3432
- return this.fetch(
3433
- `w/${wid}/app-connections/fhir/connections/${connectionId}/onboarding-import`,
3434
- {
3435
- method: "POST",
3436
- body: JSON.stringify(body)
3437
- }
3438
- );
3439
- }
3440
- /**
3441
- * Read an athenahealth connection's onboarding-import progress (durable,
3442
- * approximate totals) and its known Temporal execution. GET-only: never
3443
- * starts or resumes work. Requires `workspace:admin`.
3444
- */
3445
- async fhirGetOnboardingImportStatus(wid, connectionId) {
3446
- return this.fetch(
3447
- `w/${wid}/app-connections/fhir/connections/${connectionId}/onboarding-import`
3448
- );
3449
- }
3450
3486
  };
3451
3487
 
3452
3488
  // src/types/generated/inbound_fax.ts
@@ -4109,6 +4145,23 @@ var InboxesApi = class extends BaseApiClient {
4109
4145
  );
4110
4146
  return response.arrayBuffer();
4111
4147
  }
4148
+ /**
4149
+ * Reply and bounce rates for the emails one inbox sent in a period.
4150
+ *
4151
+ * `dateFrom` (inclusive) and `dateTo` (exclusive) are ISO 8601 instants with
4152
+ * an offset and must be passed together, at most 90 days apart; omit both
4153
+ * for the server's rolling last 30 days. Requires `inboxes:read` and
4154
+ * `analytics:read` plus admin access to the inbox. Aggregates only.
4155
+ */
4156
+ async getInboxOutboundEmailStats(wid, inboxId, period = {}) {
4157
+ const params = new URLSearchParams();
4158
+ if (period.dateFrom) params.append("date_from", period.dateFrom);
4159
+ if (period.dateTo) params.append("date_to", period.dateTo);
4160
+ const query = params.toString();
4161
+ return this.fetch(
4162
+ `w/${wid}/inboxes/${inboxId}/outbound-email-stats${query ? `?${query}` : ""}`
4163
+ );
4164
+ }
4112
4165
  /** List email threads in an inbox. */
4113
4166
  async getInboxThreads(wid, inboxId) {
4114
4167
  return this.fetch(`w/${wid}/inboxes/${inboxId}/threads`);
@@ -6145,6 +6198,18 @@ var OrgApi = class extends BaseApiClient {
6145
6198
  async listA2PBrands(orgUuid) {
6146
6199
  return this.fetch(`o/${orgUuid}/a2p-brands`);
6147
6200
  }
6201
+ /**
6202
+ * Poll Twilio for one brand now and record its brand and campaign statuses,
6203
+ * as the scheduled sync would. Returns the brand as recorded afterwards,
6204
+ * without the live workflow fields `getA2PBrand` adds.
6205
+ */
6206
+ async syncA2PBrand(orgUuid, brandUuid) {
6207
+ return this.fetch(
6208
+ `o/${orgUuid}/a2p-brands/${brandUuid}/sync`,
6209
+ // Empty JSON body is the CSRF barrier the route requires (GRA-6284).
6210
+ { method: "POST", body: JSON.stringify({}) }
6211
+ );
6212
+ }
6148
6213
  /**
6149
6214
  * Live per-brand campaign use-case eligibility. Approved brands only — a
6150
6215
  * brand still under TCR review comes back as a structured 412 the picker
@@ -6634,6 +6699,14 @@ var PhoneNumbersApi = class extends BaseApiClient {
6634
6699
  async getPhoneNumber(wid, id) {
6635
6700
  return this.fetch(`w/${wid}/phone-numbers/${id}`);
6636
6701
  }
6702
+ /**
6703
+ * What this number still needs from its organization: the texting and
6704
+ * caller ID registration states of the business it belongs to. States only —
6705
+ * readable with `phones:read`, so it carries none of the business's forms.
6706
+ */
6707
+ async getPhoneNumberSetupStatus(wid, id) {
6708
+ return this.fetch(`w/${wid}/phone-numbers/${id}/setup-status`);
6709
+ }
6637
6710
  /** Create a new phone number record. */
6638
6711
  async createPhoneNumber(wid, phoneNumber) {
6639
6712
  return this.fetch(`w/${wid}/phone-numbers`, {
@@ -6948,6 +7021,21 @@ var PersonasApi = class extends BaseApiClient {
6948
7021
  async getPersona(wid, id) {
6949
7022
  return this.fetch(`w/${wid}/personas/${id}`);
6950
7023
  }
7024
+ async getPersonaTestMember(wid, id) {
7025
+ return this.fetch(`w/${wid}/personas/${id}/test-member`);
7026
+ }
7027
+ async createPersonaTestMember(wid, id) {
7028
+ return this.fetch(`w/${wid}/personas/${id}/test-member`, {
7029
+ method: "POST",
7030
+ body: JSON.stringify({})
7031
+ });
7032
+ }
7033
+ async resetPersonaTestMember(wid, id) {
7034
+ return this.fetch(`w/${wid}/personas/${id}/test-member/reset`, {
7035
+ method: "POST",
7036
+ body: JSON.stringify({})
7037
+ });
7038
+ }
6951
7039
  async createPersona(wid, data) {
6952
7040
  return this.fetch(`w/${wid}/personas`, {
6953
7041
  method: "POST",
@@ -7010,6 +7098,21 @@ var QueriesApi = class extends BaseApiClient {
7010
7098
 
7011
7099
  // src/api/qualifications.ts
7012
7100
  var QualificationsApi = class extends BaseApiClient {
7101
+ /** Copy an authorized test Chat prefix into an editable Scenario draft. */
7102
+ async captureScenarioDraft(wid, chatId, throughMessageId) {
7103
+ return this.fetch(`w/${wid}/qualifications/chats/${chatId}/scenario-draft`, {
7104
+ method: "POST",
7105
+ body: JSON.stringify({ throughMessageId })
7106
+ });
7107
+ }
7108
+ /** Pause before the next Persona turn; a current Agent reply may finish. */
7109
+ /** Turn feedback into an explicitly authored rubric on the same Workflow. */
7110
+ async promoteTestChatFeedback(wid, runId, request) {
7111
+ return this.fetch(`w/${wid}/qualifications/test-chat-runs/${runId}/feedback/criterion`, {
7112
+ method: "POST",
7113
+ body: JSON.stringify(request)
7114
+ });
7115
+ }
7013
7116
  /** List qualifications in a workspace, paginated. */
7014
7117
  async getQualifications(wid, params) {
7015
7118
  const query = new URLSearchParams();
@@ -7101,6 +7204,12 @@ var QualificationsApi = class extends BaseApiClient {
7101
7204
  `w/${wid}/qualifications/workflows/${workflowId}/scenario-health-summaries${qs}`
7102
7205
  );
7103
7206
  }
7207
+ /** The saved run of a test Chat, including its driver and completion state. */
7208
+ async getChatTestRun(wid, chatId) {
7209
+ return this.fetch(
7210
+ `w/${wid}/qualifications/chats/${chatId}/test-chat-run`
7211
+ );
7212
+ }
7104
7213
  async getTestChatRun(wid, runId) {
7105
7214
  return this.fetch(`w/${wid}/qualifications/test-chat-runs/${runId}`);
7106
7215
  }
@@ -7423,9 +7532,9 @@ var SalesforceApi = class extends BaseApiClient {
7423
7532
  });
7424
7533
  }
7425
7534
  /**
7426
- * Start a durable run that links unlinked members by Salesforce Id / email
7427
- * and hydrates them. One run per connection; a second start while one is
7428
- * in flight is 409.
7535
+ * @deprecated Use `linkUnlinkedMembersByIdentity(wid, connectionId)`, which
7536
+ * serves every connector that links by identity. This calls the retained
7537
+ * Salesforce-only route and will be removed once no caller remains.
7429
7538
  */
7430
7539
  async linkUnlinkedSalesforceMembersByIdentity(wid) {
7431
7540
  return this.fetch(
@@ -7552,6 +7661,20 @@ var ConnectionSyncApi = class extends BaseApiClient {
7552
7661
  { method: "PUT", body: JSON.stringify(data) }
7553
7662
  );
7554
7663
  }
7664
+ async getConnectionFieldHomes(wid, connectionId) {
7665
+ return this.fetch(`w/${wid}/app-connections/${connectionId}/field-homes`);
7666
+ }
7667
+ /** Each inbound record source's latest pass: closed status, times and counts. */
7668
+ async getInboundRecordStatus(wid, connectionId) {
7669
+ return this.fetch(
7670
+ `w/${wid}/app-connections/${connectionId}/inbound-records/status`
7671
+ );
7672
+ }
7673
+ async getConnectionWritePreview(wid, connectionId, memberId) {
7674
+ return this.fetch(
7675
+ `w/${wid}/app-connections/${connectionId}/write-preview/members/${memberId}`
7676
+ );
7677
+ }
7555
7678
  async getConnectionSyncCheckpoint(wid, connectionId, direction = "inbound", syncKey = "default") {
7556
7679
  const query = new URLSearchParams({
7557
7680
  direction,
@@ -7614,6 +7737,108 @@ var ConnectionSyncApi = class extends BaseApiClient {
7614
7737
  { method: "DELETE" }
7615
7738
  );
7616
7739
  }
7740
+ /**
7741
+ * Start a durable run that links the connection's unlinked members to
7742
+ * remote records by identity (email, phone, or the vendor's own key) and
7743
+ * hydrates them. Served for any connector that declares a remote identity
7744
+ * resolver (Salesforce, HubSpot); another connector is 400. One run per
7745
+ * connection: a second start while one is in flight is 409.
7746
+ */
7747
+ async linkUnlinkedMembersByIdentity(wid, connectionId) {
7748
+ return this.fetch(
7749
+ `w/${wid}/app-connections/${connectionId}/link-unlinked-by-identity`,
7750
+ { method: "POST", body: JSON.stringify({}) }
7751
+ );
7752
+ }
7753
+ // --- Saved subset imports (Integration Standard IM-1..IM-4) ---------------
7754
+ subsetImportsPath(wid, connectionId, suffix2 = "") {
7755
+ return `w/${wid}/app-connections/${connectionId}/subset-imports${suffix2}`;
7756
+ }
7757
+ /** The connection's saved imports, newest first, and the kinds it accepts. */
7758
+ async listSubsetImports(wid, connectionId) {
7759
+ return this.fetch(this.subsetImportsPath(wid, connectionId));
7760
+ }
7761
+ async getSubsetImport(wid, connectionId, importId) {
7762
+ return this.fetch(
7763
+ this.subsetImportsPath(wid, connectionId, `/${encodeURIComponent(importId)}`)
7764
+ );
7765
+ }
7766
+ /** Save a named selection. Saving never reads the vendor or imports. */
7767
+ async createSubsetImport(wid, connectionId, data) {
7768
+ return this.fetch(this.subsetImportsPath(wid, connectionId), {
7769
+ method: "POST",
7770
+ body: JSON.stringify(data)
7771
+ });
7772
+ }
7773
+ /** Replace a saved selection. A changed selection resets its progress. */
7774
+ async updateSubsetImport(wid, connectionId, importId, data) {
7775
+ return this.fetch(
7776
+ this.subsetImportsPath(wid, connectionId, `/${encodeURIComponent(importId)}`),
7777
+ { method: "PUT", body: JSON.stringify(data) }
7778
+ );
7779
+ }
7780
+ /** Remove a saved import. Its Members and links stay. */
7781
+ async deleteSubsetImport(wid, connectionId, importId) {
7782
+ await this.fetch(
7783
+ this.subsetImportsPath(wid, connectionId, `/${encodeURIComponent(importId)}`),
7784
+ { method: "DELETE" }
7785
+ );
7786
+ }
7787
+ /** Count and sample an unsaved selection. Never writes. */
7788
+ async previewSubsetImportSelection(wid, connectionId, selection) {
7789
+ return this.fetch(
7790
+ this.subsetImportsPath(wid, connectionId, "/preview"),
7791
+ { method: "POST", body: JSON.stringify({ selection }) }
7792
+ );
7793
+ }
7794
+ /** Count and sample a saved selection. Never writes. */
7795
+ async previewSubsetImport(wid, connectionId, importId) {
7796
+ return this.fetch(
7797
+ this.subsetImportsPath(wid, connectionId, `/${encodeURIComponent(importId)}/preview`),
7798
+ // The CSRF barrier refuses a body-less POST (422); `{}` is the request.
7799
+ { method: "POST", body: JSON.stringify({}) }
7800
+ );
7801
+ }
7802
+ /**
7803
+ * Start the import in the background (202). A failed or cancelled import
7804
+ * resumes where it stopped unless `restart` is true.
7805
+ */
7806
+ async runSubsetImport(wid, connectionId, importId, options) {
7807
+ return this.fetch(
7808
+ this.subsetImportsPath(wid, connectionId, `/${encodeURIComponent(importId)}/run`),
7809
+ { method: "POST", body: JSON.stringify({ restart: options?.restart ?? false }) }
7810
+ );
7811
+ }
7812
+ /** Ask a running import to stop (202); its progress is kept for a resume. */
7813
+ async cancelSubsetImport(wid, connectionId, importId) {
7814
+ return this.fetch(
7815
+ this.subsetImportsPath(wid, connectionId, `/${encodeURIComponent(importId)}/cancel`),
7816
+ // The CSRF barrier refuses a body-less POST (422); `{}` is the request.
7817
+ { method: "POST", body: JSON.stringify({}) }
7818
+ );
7819
+ }
7820
+ /** The connection's import-run history, newest first (counts only). */
7821
+ async listSubsetImportRuns(wid, connectionId, limit = 20) {
7822
+ return this.fetch(
7823
+ this.subsetImportsPath(wid, connectionId, `/runs?limit=${limit}`)
7824
+ );
7825
+ }
7826
+ /** Vendor lists a `vendor_list` import can name (configuration only). */
7827
+ async listSubsetImportVendorLists(wid, connectionId, options) {
7828
+ const query = new URLSearchParams({
7829
+ query: options?.query ?? "",
7830
+ limit: String(options?.limit ?? 50)
7831
+ });
7832
+ return this.fetch(
7833
+ this.subsetImportsPath(wid, connectionId, `/vendor-lists?${query}`)
7834
+ );
7835
+ }
7836
+ /** Remote fields a `field_filter` import can name, with their operators. */
7837
+ async listSubsetImportFilterFields(wid, connectionId) {
7838
+ return this.fetch(
7839
+ this.subsetImportsPath(wid, connectionId, "/filter-fields")
7840
+ );
7841
+ }
7617
7842
  };
7618
7843
 
7619
7844
  // src/api/hubspot.ts
@@ -7719,6 +7944,35 @@ var HubspotApi = class extends BaseApiClient {
7719
7944
  `w/${wid}/app-connections/hubspot/sync-settings/hs-properties`
7720
7945
  );
7721
7946
  }
7947
+ /** Mappable HubSpot deal property definitions (deal inbound record sources). */
7948
+ async getHubspotDealProperties(wid) {
7949
+ return this.fetch(
7950
+ `w/${wid}/app-connections/hubspot/sync-settings/hs-properties?objectType=deals`
7951
+ );
7952
+ }
7953
+ /** The portal's Meetings booking links, or `missing_scope` without the scheduler scope. */
7954
+ async getHubspotMeetingLinks(wid) {
7955
+ return this.fetch(
7956
+ `w/${wid}/app-connections/hubspot/sync-settings/meeting-links`
7957
+ );
7958
+ }
7959
+ /** The portal's forms and their fields, or `missing_scope` without the `forms` scope. */
7960
+ async getHubspotForms(wid) {
7961
+ return this.fetch(
7962
+ `w/${wid}/app-connections/hubspot/sync-settings/forms`
7963
+ );
7964
+ }
7965
+ /**
7966
+ * Raw HubSpot property definitions for one CRM object type
7967
+ * (`GET /get_properties/{objectType}`), as HubSpot's properties API
7968
+ * returns them. Use `getHubspotContactProperties` for the sync-mappable
7969
+ * contact property list the field mapper shows.
7970
+ */
7971
+ async getHubspotObjectProperties(wid, objectType) {
7972
+ return this.fetch(
7973
+ `w/${wid}/app-connections/hubspot/get_properties/${encodeURIComponent(objectType)}`
7974
+ );
7975
+ }
7722
7976
  async getHubspotManagedRules(wid) {
7723
7977
  return this.fetch(`w/${wid}/app-connections/hubspot/managed-rules`);
7724
7978
  }
@@ -8806,6 +9060,17 @@ var JourneysApi = class extends BaseApiClient {
8806
9060
  async getJourneyHealth(wid, journeyId) {
8807
9061
  return this.fetch(`w/${wid}/journeys/${journeyId}/health`);
8808
9062
  }
9063
+ /**
9064
+ * How many days the journey's texts take at the workspace's current sending
9065
+ * limits — advice for the publish and enroll confirmations, never a gate.
9066
+ * `additionalMembers` is the size of a batch about to be enrolled.
9067
+ */
9068
+ async getJourneySendEstimate(wid, journeyId, additionalMembers = 0) {
9069
+ const query = new URLSearchParams({ additionalMembers: String(additionalMembers) });
9070
+ return this.fetch(
9071
+ `w/${wid}/journeys/${journeyId}/send-estimate?${query.toString()}`
9072
+ );
9073
+ }
8809
9074
  /** Create a step within a journey. */
8810
9075
  async createStep(wid, journeyId, data) {
8811
9076
  return this.fetch(`w/${wid}/journeys/${journeyId}/steps`, {
@@ -9831,13 +10096,12 @@ var WorkspaceFeature = /* @__PURE__ */ ((WorkspaceFeature2) => {
9831
10096
  WorkspaceFeature2["GSHEETS"] = "gsheets";
9832
10097
  WorkspaceFeature2["MONDAY"] = "monday";
9833
10098
  WorkspaceFeature2["DOCUMO_FAX"] = "documo_fax";
10099
+ WorkspaceFeature2["CLAIM_MD"] = "claim_md";
9834
10100
  WorkspaceFeature2["RESELL_PRODUCTS"] = "resell_products";
9835
10101
  WorkspaceFeature2["SOC2_COMPLIANCE"] = "soc2_compliance";
9836
10102
  WorkspaceFeature2["EHR_FHIR"] = "ehr_fhir";
9837
10103
  WorkspaceFeature2["EHR_ECLINICALWORKS"] = "ehr_eclinicalworks";
9838
10104
  WorkspaceFeature2["EHR_HEALTHIE"] = "ehr_healthie";
9839
- WorkspaceFeature2["CRM_SALESFORCE"] = "crm_salesforce";
9840
- WorkspaceFeature2["CRM_HUBSPOT"] = "crm_hubspot";
9841
10105
  WorkspaceFeature2["CONFLUENCE"] = "confluence";
9842
10106
  WorkspaceFeature2["ZENDESK"] = "zendesk";
9843
10107
  WorkspaceFeature2["AGENT_MEMORY"] = "agent_memory";
@@ -10027,6 +10291,10 @@ var RunHealthCategory = {
10027
10291
  ungradeable: "ungradeable",
10028
10292
  incomplete: "incomplete"
10029
10293
  };
10294
+ var SeedSpeaker = {
10295
+ member: "member",
10296
+ agent: "agent"
10297
+ };
10030
10298
  var TestChatRunLane = {
10031
10299
  text: "text",
10032
10300
  web_realtime: "web_realtime",
@@ -10041,6 +10309,7 @@ var TestChatRunOutcome = {
10041
10309
  agent_silent: "agent_silent",
10042
10310
  max_turns: "max_turns",
10043
10311
  human_end: "human_end",
10312
+ single_turn: "single_turn",
10044
10313
  configuration_failure: "configuration_failure",
10045
10314
  instrument_failure: "instrument_failure"
10046
10315
  };
@@ -10740,13 +11009,10 @@ var WorkspacesApi = class extends BaseApiClient {
10740
11009
  }
10741
11010
  /** Register a Web Push subscription for the current user. */
10742
11011
  async registerPushSubscription(wid, subscription) {
10743
- return this.fetch(
10744
- `w/${wid}/push-subscriptions`,
10745
- {
10746
- method: "POST",
10747
- body: JSON.stringify(subscription)
10748
- }
10749
- );
11012
+ return this.fetch(`w/${wid}/push-subscriptions`, {
11013
+ method: "POST",
11014
+ body: JSON.stringify(subscription)
11015
+ });
10750
11016
  }
10751
11017
  /** Unregister a Web Push subscription by endpoint URL. */
10752
11018
  async unregisterPushSubscription(wid, endpoint) {
@@ -10761,6 +11027,14 @@ var WorkspacesApi = class extends BaseApiClient {
10761
11027
  async listPushSubscriptions(wid) {
10762
11028
  return this.fetch(`w/${wid}/push-subscriptions`);
10763
11029
  }
11030
+ /** Submit a fixed generic test to an owned browser registration. */
11031
+ async testPushSubscription(wid, subscriptionId) {
11032
+ const body = {};
11033
+ return this.fetch(
11034
+ `w/${wid}/push-subscriptions/${subscriptionId}/test`,
11035
+ { method: "POST", body: JSON.stringify(body) }
11036
+ );
11037
+ }
10764
11038
  /** List org domains available for workspace email inbox routing. */
10765
11039
  async getWorkspaceEmailDomains(wid) {
10766
11040
  return this.fetch(`w/${wid}/domains/for-email`);
@@ -11503,6 +11777,33 @@ var PatientSyncConnectionsApi = class extends BaseApiClient {
11503
11777
  }
11504
11778
  };
11505
11779
 
11780
+ // src/api/claim-md.ts
11781
+ var ClaimMdApi = class extends BaseApiClient {
11782
+ async getClaimMdStatus(wid) {
11783
+ return this.fetch(`w/${wid}/app-connections/claim-md/status`);
11784
+ }
11785
+ /** Sends `{}` deliberately: the route requires a JSON body as a CSRF barrier. */
11786
+ async installClaimMd(wid) {
11787
+ return this.fetch(`w/${wid}/app-connections/claim-md/install`, {
11788
+ method: "POST",
11789
+ body: JSON.stringify({})
11790
+ });
11791
+ }
11792
+ async configureClaimMd(wid, data) {
11793
+ return this.fetch(`w/${wid}/app-connections/claim-md/configure`, {
11794
+ method: "POST",
11795
+ body: JSON.stringify(data)
11796
+ });
11797
+ }
11798
+ /** Checks a pasted AccountKey without storing it. */
11799
+ async verifyClaimMdKey(wid, data) {
11800
+ return this.fetch(`w/${wid}/app-connections/claim-md/verify`, {
11801
+ method: "POST",
11802
+ body: JSON.stringify(data)
11803
+ });
11804
+ }
11805
+ };
11806
+
11506
11807
  // src/api/activity.ts
11507
11808
  var ActivityApi = class extends BaseApiClient {
11508
11809
  /** The account mount: this caller's whole estate, at any grain. */
@@ -12113,6 +12414,7 @@ function createApiModules(apiKey, baseUrl, customFetch) {
12113
12414
  patientSyncConnections: new PatientSyncConnectionsApi(apiKey, baseUrl, customFetch),
12114
12415
  healthie: new HealthieApi(apiKey, baseUrl, customFetch),
12115
12416
  documoFax: new DocumoFaxApi(apiKey, baseUrl, customFetch),
12417
+ claimMd: new ClaimMdApi(apiKey, baseUrl, customFetch),
12116
12418
  hubspot: new HubspotApi(apiKey, baseUrl, customFetch),
12117
12419
  features: new FeaturesApi(apiKey, baseUrl, customFetch),
12118
12420
  files: new FilesApi(apiKey, baseUrl, customFetch),
@@ -12196,6 +12498,7 @@ var WORKSPACE_METHOD_NAMES = [
12196
12498
  "cancelCalendarEvent",
12197
12499
  "cancelChatCallback",
12198
12500
  "cancelCredentialUpdateInvite",
12501
+ "cancelSubsetImport",
12199
12502
  "checkAvailability",
12200
12503
  "checkSiteDomainAvailability",
12201
12504
  "checkSiteSlugAvailability",
@@ -12210,6 +12513,7 @@ var WORKSPACE_METHOD_NAMES = [
12210
12513
  "commentOnWorkspaceSupportRequest",
12211
12514
  "completeDiscordLink",
12212
12515
  "configureConfluence",
12516
+ "configureClaimMd",
12213
12517
  "configureDocumoFax",
12214
12518
  "configureHealthie",
12215
12519
  "configurePatientSync",
@@ -12217,6 +12521,7 @@ var WORKSPACE_METHOD_NAMES = [
12217
12521
  "configureMondayConnection",
12218
12522
  "configureSalesforce",
12219
12523
  "configureZendeskConnection",
12524
+ "connectAthena",
12220
12525
  "convertEmail",
12221
12526
  "convertFile",
12222
12527
  "createAbility",
@@ -12225,6 +12530,15 @@ var WORKSPACE_METHOD_NAMES = [
12225
12530
  "createApiKey",
12226
12531
  "createAssignment",
12227
12532
  "bindInstallationSlots",
12533
+ "createSubsetImport",
12534
+ "deleteSubsetImport",
12535
+ "getSubsetImport",
12536
+ "listSubsetImportFilterFields",
12537
+ "listSubsetImportRuns",
12538
+ "listSubsetImports",
12539
+ "listSubsetImportVendorLists",
12540
+ "previewSubsetImport",
12541
+ "previewSubsetImportSelection",
12228
12542
  "restoreInstallationForm",
12229
12543
  "createBundle",
12230
12544
  "createCalendar",
@@ -12233,6 +12547,7 @@ var WORKSPACE_METHOD_NAMES = [
12233
12547
  "createCalendarSchedule",
12234
12548
  "createChat",
12235
12549
  "createChatInteractionSession",
12550
+ "runSubsetImport",
12236
12551
  "transitionChatInteractionSession",
12237
12552
  "createChatCompletion",
12238
12553
  "createChatFilter",
@@ -12413,7 +12728,6 @@ var WORKSPACE_METHOD_NAMES = [
12413
12728
  "fhirGetCsvImportSettings",
12414
12729
  "fhirGetEncounterSyncRuns",
12415
12730
  "fhirGetEncounterSyncStatus",
12416
- "fhirGetOnboardingImportStatus",
12417
12731
  "fhirImportPatient",
12418
12732
  "fhirLinkMember",
12419
12733
  "fhirListLinkedMembers",
@@ -12422,7 +12736,6 @@ var WORKSPACE_METHOD_NAMES = [
12422
12736
  "fhirSearchLocations",
12423
12737
  "fhirSearchPatients",
12424
12738
  "fhirSearchPractitioners",
12425
- "fhirStartOnboardingImport",
12426
12739
  "fhirSyncMember",
12427
12740
  "fhirUnlinkMember",
12428
12741
  "fhirUpdateCsvImportSettings",
@@ -12448,6 +12761,7 @@ var WORKSPACE_METHOD_NAMES = [
12448
12761
  "getAnonymousResolutions",
12449
12762
  "getApiKeys",
12450
12763
  "getArchiveBlockers",
12764
+ "getAthenaPlatformApp",
12451
12765
  "getAssignment",
12452
12766
  "getAssignmentCelContext",
12453
12767
  "getAssignmentMessages",
@@ -12510,9 +12824,12 @@ var WORKSPACE_METHOD_NAMES = [
12510
12824
  "getClientWorkspace",
12511
12825
  "getConfigurationHealth",
12512
12826
  "getConfluenceStatus",
12827
+ "getConnectionFieldHomes",
12828
+ "getInboundRecordStatus",
12513
12829
  "getConnectionSyncCapabilities",
12514
12830
  "getConnectionSyncCheckpoint",
12515
12831
  "getConnectionSyncConfig",
12832
+ "getConnectionWritePreview",
12516
12833
  "getCredentialUpdateInvites",
12517
12834
  "getCurrentMember",
12518
12835
  "clearMemberWorkflowVoice",
@@ -12549,6 +12866,7 @@ var WORKSPACE_METHOD_NAMES = [
12549
12866
  "getDiscordBots",
12550
12867
  "getDiscordGuilds",
12551
12868
  "getDiscordThreads",
12869
+ "getClaimMdStatus",
12552
12870
  "getDocumoFaxSetup",
12553
12871
  "listDocumoFaxes",
12554
12872
  "getDocumoFaxStatus",
@@ -12577,6 +12895,7 @@ var WORKSPACE_METHOD_NAMES = [
12577
12895
  "getSiteSourceTemplates",
12578
12896
  "getThemeSettings",
12579
12897
  "importSiteSourceZip",
12898
+ "installClaimMd",
12580
12899
  "installDocumoFax",
12581
12900
  "previewDataReport",
12582
12901
  "previewQuery",
@@ -12613,7 +12932,11 @@ var WORKSPACE_METHOD_NAMES = [
12613
12932
  "getHealthieStatus",
12614
12933
  "getPatientSyncStatus",
12615
12934
  "getHubspotContactProperties",
12935
+ "getHubspotDealProperties",
12936
+ "getHubspotForms",
12937
+ "getHubspotMeetingLinks",
12616
12938
  "getHubspotManagedRules",
12939
+ "getHubspotObjectProperties",
12617
12940
  "getHubspotReconciliationMatches",
12618
12941
  "getHubspotStatus",
12619
12942
  "getHubspotSyncLogs",
@@ -12625,6 +12948,7 @@ var WORKSPACE_METHOD_NAMES = [
12625
12948
  "getInbox",
12626
12949
  "getInboxEmail",
12627
12950
  "getInboxEmails",
12951
+ "getInboxOutboundEmailStats",
12628
12952
  "getInboxThreads",
12629
12953
  "getInboxes",
12630
12954
  "getInterventionRequests",
@@ -12634,6 +12958,7 @@ var WORKSPACE_METHOD_NAMES = [
12634
12958
  "getJourneyHealth",
12635
12959
  "getJourneyMembers",
12636
12960
  "getJourneyNotes",
12961
+ "getJourneySendEstimate",
12637
12962
  "getJourneyV2Validation",
12638
12963
  "getJourneys",
12639
12964
  "getLinkablePhones",
@@ -12694,11 +13019,16 @@ var WORKSPACE_METHOD_NAMES = [
12694
13019
  "getPage",
12695
13020
  "getPageBySlug",
12696
13021
  "getPersona",
13022
+ "getPersonaTestMember",
13023
+ "createPersonaTestMember",
13024
+ "resetPersonaTestMember",
12697
13025
  "getPhoneCalls",
13026
+ "getPhoneCallByUuid",
12698
13027
  "getPhoneNumber",
12699
13028
  "getPhoneNumberCalls",
12700
13029
  "getPhoneNumberFaxes",
12701
13030
  "getPhoneNumberMessages",
13031
+ "getPhoneNumberSetupStatus",
12702
13032
  "getPhoneNumberVoicemails",
12703
13033
  "getPhoneNumbers",
12704
13034
  "getPhoneUsageReport",
@@ -12714,7 +13044,6 @@ var WORKSPACE_METHOD_NAMES = [
12714
13044
  "getPublicProducts",
12715
13045
  "getQualification",
12716
13046
  "getQualifications",
12717
- "getRecordingInfo",
12718
13047
  "getResellerWorkspaces",
12719
13048
  "getRoutine",
12720
13049
  "getRoutineConfigEvents",
@@ -12741,6 +13070,8 @@ var WORKSPACE_METHOD_NAMES = [
12741
13070
  "getSlackAppAccounts",
12742
13071
  "getSlackApps",
12743
13072
  "getSlackInstallations",
13073
+ "removeSlackAccount",
13074
+ "removeSlackInstallation",
12744
13075
  "getSlackThreads",
12745
13076
  "getStepMemberCounts",
12746
13077
  "getStepMembers",
@@ -12757,6 +13088,7 @@ var WORKSPACE_METHOD_NAMES = [
12757
13088
  "getTeamsConversations",
12758
13089
  "getTeamsInstallations",
12759
13090
  "getTemplateContext",
13091
+ "getChatTestRun",
12760
13092
  "getTestChatRun",
12761
13093
  "getThreadEmails",
12762
13094
  "getTool",
@@ -12830,6 +13162,7 @@ var WORKSPACE_METHOD_NAMES = [
12830
13162
  "linkMemberToMonday",
12831
13163
  "linkMemberToSalesforce",
12832
13164
  "linkPhoneNumber",
13165
+ "linkUnlinkedMembersByIdentity",
12833
13166
  "linkUnlinkedSalesforceMembersByIdentity",
12834
13167
  "listAbilities",
12835
13168
  "listAnonymousFormSubmissions",
@@ -12913,6 +13246,7 @@ var WORKSPACE_METHOD_NAMES = [
12913
13246
  "reenrollMember",
12914
13247
  "renameFieldSlug",
12915
13248
  "registerLinkedRolesMetadata",
13249
+ "testPushSubscription",
12916
13250
  "registerPushSubscription",
12917
13251
  "reindexFolder",
12918
13252
  "releasePhoneNumber",
@@ -12924,6 +13258,7 @@ var WORKSPACE_METHOD_NAMES = [
12924
13258
  "reorderMenuItems",
12925
13259
  "reconcileInstallation",
12926
13260
  "setInstallationPolicy",
13261
+ "updateSubsetImport",
12927
13262
  "upgradeInstallation",
12928
13263
  "replaceBundleDraft",
12929
13264
  "replyToEmail",
@@ -12959,6 +13294,8 @@ var WORKSPACE_METHOD_NAMES = [
12959
13294
  "startHubspotOAuth",
12960
13295
  "startSalesforceOAuth",
12961
13296
  "startSyncRun",
13297
+ "captureScenarioDraft",
13298
+ "promoteTestChatFeedback",
12962
13299
  "startTestChatRun",
12963
13300
  "summarizeChat",
12964
13301
  "syncCalendarWithGoogle",
@@ -12998,6 +13335,7 @@ var WORKSPACE_METHOD_NAMES = [
12998
13335
  "updateChatFilter",
12999
13336
  "updateChatLabel",
13000
13337
  "updateChatModelOverride",
13338
+ "setChatStar",
13001
13339
  "updateChatMute",
13002
13340
  "updateClientWorkspace",
13003
13341
  "updateConnection",
@@ -13077,6 +13415,8 @@ var WORKSPACE_METHOD_NAMES = [
13077
13415
  "validateDataTypeSlug",
13078
13416
  "validateQuery",
13079
13417
  "validateWorkflowName",
13418
+ "verifyAthenaAccess",
13419
+ "verifyClaimMdKey",
13080
13420
  "verifyDocumoFax"
13081
13421
  ];
13082
13422
  var WORKSPACE_METHOD_NAME_SET = new Set(WORKSPACE_METHOD_NAMES);
@@ -13185,6 +13525,7 @@ function bindChatsMethods(target, chats) {
13185
13525
  target.updateChat = chats.updateChat.bind(chats);
13186
13526
  target.getChatModelOverride = chats.getChatModelOverride.bind(chats);
13187
13527
  target.updateChatModelOverride = chats.updateChatModelOverride.bind(chats);
13528
+ target.setChatStar = chats.setChatStar.bind(chats);
13188
13529
  target.updateChatMute = chats.updateChatMute.bind(chats);
13189
13530
  target.summarizeChat = chats.summarizeChat.bind(chats);
13190
13531
  target.getChatMessages = chats.getChatMessages.bind(chats);
@@ -13221,8 +13562,8 @@ function bindChatsMethods(target, chats) {
13221
13562
  // src/client/bindings/calls.ts
13222
13563
  function bindCallsMethods(target, calls, cel) {
13223
13564
  target.getPhoneCalls = calls.getPhoneCalls.bind(calls);
13565
+ target.getPhoneCallByUuid = calls.getPhoneCallByUuid.bind(calls);
13224
13566
  target.getMessageTiming = calls.getMessageTiming.bind(calls);
13225
- target.getRecordingInfo = calls.getRecordingInfo.bind(calls);
13226
13567
  target.getEdgeCaptureInfo = calls.getEdgeCaptureInfo.bind(calls);
13227
13568
  target.getCallRecordingDownloadUrl = calls.getCallRecordingDownloadUrl.bind(calls);
13228
13569
  target.getCelContext = cel.getCelContext.bind(cel);
@@ -13464,6 +13805,7 @@ function bindWorkspacesMethods(target, workspaces, signupRequests) {
13464
13805
  target.getWorkspaceScopes = workspaces.getWorkspaceScopes.bind(workspaces);
13465
13806
  target.getUsageDashboard = workspaces.getUsageDashboard.bind(workspaces);
13466
13807
  target.getVapidPublicKey = workspaces.getVapidPublicKey.bind(workspaces);
13808
+ target.testPushSubscription = workspaces.testPushSubscription.bind(workspaces);
13467
13809
  target.registerPushSubscription = workspaces.registerPushSubscription.bind(workspaces);
13468
13810
  target.unregisterPushSubscription = workspaces.unregisterPushSubscription.bind(workspaces);
13469
13811
  target.listPushSubscriptions = workspaces.listPushSubscriptions.bind(workspaces);
@@ -13790,6 +14132,7 @@ function bindCommunicationsMethods(target, phoneNumbers, inboxes, notificationRu
13790
14132
  target.createPhoneNumber = phoneNumbers.createPhoneNumber.bind(phoneNumbers);
13791
14133
  target.updatePhoneNumber = phoneNumbers.updatePhoneNumber.bind(phoneNumbers);
13792
14134
  target.getArchiveBlockers = phoneNumbers.getArchiveBlockers.bind(phoneNumbers);
14135
+ target.getPhoneNumberSetupStatus = phoneNumbers.getPhoneNumberSetupStatus.bind(phoneNumbers);
13793
14136
  target.archivePhoneNumber = phoneNumbers.archivePhoneNumber.bind(phoneNumbers);
13794
14137
  target.getPhoneNumberCalls = phoneNumbers.getPhoneNumberCalls.bind(phoneNumbers);
13795
14138
  target.getPhoneNumberOutboundAnalyticsSummary = phoneNumbers.getPhoneNumberOutboundAnalyticsSummary.bind(phoneNumbers);
@@ -13822,6 +14165,7 @@ function bindCommunicationsMethods(target, phoneNumbers, inboxes, notificationRu
13822
14165
  target.sendInboxEmail = inboxes.sendInboxEmail.bind(inboxes);
13823
14166
  target.previewInboxEmail = inboxes.previewInboxEmail.bind(inboxes);
13824
14167
  target.previewEmailReply = inboxes.previewEmailReply.bind(inboxes);
14168
+ target.getInboxOutboundEmailStats = inboxes.getInboxOutboundEmailStats.bind(inboxes);
13825
14169
  target.getNotificationRules = notificationRules.getNotificationRules.bind(notificationRules);
13826
14170
  target.createNotificationRule = notificationRules.createNotificationRule.bind(notificationRules);
13827
14171
  target.updateNotificationRule = notificationRules.updateNotificationRule.bind(notificationRules);
@@ -13938,7 +14282,7 @@ function bindAppsMethods(target, apps, builders, inquiries, oauth, oauthConnecti
13938
14282
  }
13939
14283
 
13940
14284
  // src/client/bindings/integrations.ts
13941
- function bindIntegrationsMethods(target, mondayIntegration, discordBots, slackApps, teamsApps, fhirConnections, patientSyncConnections, healthie, documoFax, salesforce, hubspot, appConnections, connectionSync, confluence) {
14285
+ function bindIntegrationsMethods(target, mondayIntegration, discordBots, slackApps, teamsApps, fhirConnections, patientSyncConnections, healthie, documoFax, claimMd, salesforce, hubspot, appConnections, connectionSync, confluence) {
13942
14286
  target.getMondayBoards = mondayIntegration.getBoards.bind(mondayIntegration);
13943
14287
  target.getMondayBoardColumns = mondayIntegration.getBoardColumns.bind(mondayIntegration);
13944
14288
  target.getMondayBoardGroups = mondayIntegration.getBoardGroups.bind(mondayIntegration);
@@ -13988,6 +14332,8 @@ function bindIntegrationsMethods(target, mondayIntegration, discordBots, slackAp
13988
14332
  target.deleteSlackApp = slackApps.deleteSlackApp.bind(slackApps);
13989
14333
  target.getSlackThreads = slackApps.getSlackThreads.bind(slackApps);
13990
14334
  target.getSlackInstallations = slackApps.getSlackInstallations.bind(slackApps);
14335
+ target.removeSlackAccount = slackApps.removeSlackAccount.bind(slackApps);
14336
+ target.removeSlackInstallation = slackApps.removeSlackInstallation.bind(slackApps);
13991
14337
  target.getSlackChannelChoices = slackApps.getSlackChannelChoices.bind(slackApps);
13992
14338
  target.getSlackEntryPoints = slackApps.getSlackEntryPoints.bind(slackApps);
13993
14339
  target.connectSlackEntryPoint = slackApps.connectSlackEntryPoint.bind(slackApps);
@@ -14031,8 +14377,9 @@ function bindIntegrationsMethods(target, mondayIntegration, discordBots, slackAp
14031
14377
  target.fhirGetEncounterSyncRuns = fhirConnections.fhirGetEncounterSyncRuns.bind(fhirConnections);
14032
14378
  target.fhirRefreshEncounterPatient = fhirConnections.fhirRefreshEncounterPatient.bind(fhirConnections);
14033
14379
  target.fhirBackfillEncounterSync = fhirConnections.fhirBackfillEncounterSync.bind(fhirConnections);
14034
- target.fhirStartOnboardingImport = fhirConnections.fhirStartOnboardingImport.bind(fhirConnections);
14035
- target.fhirGetOnboardingImportStatus = fhirConnections.fhirGetOnboardingImportStatus.bind(fhirConnections);
14380
+ target.getAthenaPlatformApp = fhirConnections.getAthenaPlatformApp.bind(fhirConnections);
14381
+ target.verifyAthenaAccess = fhirConnections.verifyAthenaAccess.bind(fhirConnections);
14382
+ target.connectAthena = fhirConnections.connectAthena.bind(fhirConnections);
14036
14383
  target.configurePatientSync = patientSyncConnections.configurePatientSync.bind(patientSyncConnections);
14037
14384
  target.getPatientSyncStatus = patientSyncConnections.getPatientSyncStatus.bind(patientSyncConnections);
14038
14385
  target.deletePatientSyncConnection = patientSyncConnections.deletePatientSyncConnection.bind(patientSyncConnections);
@@ -14043,6 +14390,10 @@ function bindIntegrationsMethods(target, mondayIntegration, discordBots, slackAp
14043
14390
  target.configureDocumoFax = documoFax.configureDocumoFax.bind(documoFax);
14044
14391
  target.verifyDocumoFax = documoFax.verifyDocumoFax.bind(documoFax);
14045
14392
  target.rotateDocumoFaxCredentials = documoFax.rotateDocumoFaxCredentials.bind(documoFax);
14393
+ target.getClaimMdStatus = claimMd.getClaimMdStatus.bind(claimMd);
14394
+ target.installClaimMd = claimMd.installClaimMd.bind(claimMd);
14395
+ target.configureClaimMd = claimMd.configureClaimMd.bind(claimMd);
14396
+ target.verifyClaimMdKey = claimMd.verifyClaimMdKey.bind(claimMd);
14046
14397
  target.configureHealthie = healthie.configureHealthie.bind(healthie);
14047
14398
  target.getHealthieStatus = healthie.getHealthieStatus.bind(healthie);
14048
14399
  target.listHealthieProviders = healthie.listHealthieProviders.bind(healthie);
@@ -14104,6 +14455,10 @@ function bindIntegrationsMethods(target, mondayIntegration, discordBots, slackAp
14104
14455
  target.searchHubspotRecords = hubspot.searchHubspotRecords.bind(hubspot);
14105
14456
  target.importHubspotMembers = hubspot.importHubspotMembers.bind(hubspot);
14106
14457
  target.getHubspotContactProperties = hubspot.getHubspotContactProperties.bind(hubspot);
14458
+ target.getHubspotDealProperties = hubspot.getHubspotDealProperties.bind(hubspot);
14459
+ target.getHubspotForms = hubspot.getHubspotForms.bind(hubspot);
14460
+ target.getHubspotMeetingLinks = hubspot.getHubspotMeetingLinks.bind(hubspot);
14461
+ target.getHubspotObjectProperties = hubspot.getHubspotObjectProperties.bind(hubspot);
14107
14462
  target.getHubspotManagedRules = hubspot.getHubspotManagedRules.bind(hubspot);
14108
14463
  target.getHubspotSyncLogs = hubspot.getHubspotSyncLogs.bind(hubspot);
14109
14464
  target.getHubspotTransformPresets = hubspot.getHubspotTransformPresets.bind(hubspot);
@@ -14115,7 +14470,23 @@ function bindIntegrationsMethods(target, mondayIntegration, discordBots, slackAp
14115
14470
  target.getSyncRuns = connectionSync.getSyncRuns.bind(connectionSync);
14116
14471
  target.getSyncRunItems = connectionSync.getSyncRunItems.bind(connectionSync);
14117
14472
  target.getMemberSyncSummary = connectionSync.getMemberSyncSummary.bind(connectionSync);
14473
+ target.getConnectionFieldHomes = connectionSync.getConnectionFieldHomes.bind(connectionSync);
14474
+ target.getInboundRecordStatus = connectionSync.getInboundRecordStatus.bind(connectionSync);
14475
+ target.getConnectionWritePreview = connectionSync.getConnectionWritePreview.bind(connectionSync);
14118
14476
  target.clearConnectionMemberExclusion = connectionSync.clearConnectionMemberExclusion.bind(connectionSync);
14477
+ target.linkUnlinkedMembersByIdentity = connectionSync.linkUnlinkedMembersByIdentity.bind(connectionSync);
14478
+ target.listSubsetImports = connectionSync.listSubsetImports.bind(connectionSync);
14479
+ target.getSubsetImport = connectionSync.getSubsetImport.bind(connectionSync);
14480
+ target.createSubsetImport = connectionSync.createSubsetImport.bind(connectionSync);
14481
+ target.updateSubsetImport = connectionSync.updateSubsetImport.bind(connectionSync);
14482
+ target.deleteSubsetImport = connectionSync.deleteSubsetImport.bind(connectionSync);
14483
+ target.previewSubsetImportSelection = connectionSync.previewSubsetImportSelection.bind(connectionSync);
14484
+ target.previewSubsetImport = connectionSync.previewSubsetImport.bind(connectionSync);
14485
+ target.runSubsetImport = connectionSync.runSubsetImport.bind(connectionSync);
14486
+ target.cancelSubsetImport = connectionSync.cancelSubsetImport.bind(connectionSync);
14487
+ target.listSubsetImportRuns = connectionSync.listSubsetImportRuns.bind(connectionSync);
14488
+ target.listSubsetImportVendorLists = connectionSync.listSubsetImportVendorLists.bind(connectionSync);
14489
+ target.listSubsetImportFilterFields = connectionSync.listSubsetImportFilterFields.bind(connectionSync);
14119
14490
  target.listAvailableAppConnections = appConnections.listAvailableAppConnections.bind(appConnections);
14120
14491
  target.listAppConnections = appConnections.listAppConnections.bind(appConnections);
14121
14492
  target.enablePlatformApp = appConnections.enablePlatformApp.bind(appConnections);
@@ -14276,6 +14647,7 @@ function bindJourneysMethods(target, journeys) {
14276
14647
  target.getJourneyV2Validation = journeys.getJourneyV2Validation.bind(journeys);
14277
14648
  target.getJourneyFilterOptions = journeys.getJourneyFilterOptions.bind(journeys);
14278
14649
  target.getJourneyHealth = journeys.getJourneyHealth.bind(journeys);
14650
+ target.getJourneySendEstimate = journeys.getJourneySendEstimate.bind(journeys);
14279
14651
  target.cloneJourneyAsV2 = journeys.cloneJourneyAsV2.bind(journeys);
14280
14652
  target.createJourney = journeys.createJourney.bind(journeys);
14281
14653
  target.updateJourney = journeys.updateJourney.bind(journeys);
@@ -14320,11 +14692,14 @@ function bindQualificationsMethods(target, qualifications) {
14320
14692
  target.deleteScenario = qualifications.deleteScenario.bind(qualifications);
14321
14693
  target.listTestChatRuns = qualifications.listTestChatRuns.bind(qualifications);
14322
14694
  target.listScenarioHealthSummaries = qualifications.listScenarioHealthSummaries.bind(qualifications);
14695
+ target.getChatTestRun = qualifications.getChatTestRun.bind(qualifications);
14323
14696
  target.getTestChatRun = qualifications.getTestChatRun.bind(qualifications);
14324
14697
  target.listChatCapturedEffects = qualifications.listChatCapturedEffects.bind(qualifications);
14325
14698
  target.listChatRecordChanges = qualifications.listChatRecordChanges.bind(qualifications);
14326
14699
  target.takeTestChatRunEmailTurn = qualifications.takeTestChatRunEmailTurn.bind(qualifications);
14327
14700
  target.takeTestChatRunSmsTurn = qualifications.takeTestChatRunSmsTurn.bind(qualifications);
14701
+ target.captureScenarioDraft = qualifications.captureScenarioDraft.bind(qualifications);
14702
+ target.promoteTestChatFeedback = qualifications.promoteTestChatFeedback.bind(qualifications);
14328
14703
  target.startTestChatRun = qualifications.startTestChatRun.bind(qualifications);
14329
14704
  target.evaluateTestChatRun = qualifications.evaluateTestChatRun.bind(qualifications);
14330
14705
  target.endTestChatRun = qualifications.endTestChatRun.bind(qualifications);
@@ -14334,6 +14709,9 @@ function bindQualificationsMethods(target, qualifications) {
14334
14709
  function bindPersonasMethods(target, personas) {
14335
14710
  target.listPersonas = personas.listPersonas.bind(personas);
14336
14711
  target.getPersona = personas.getPersona.bind(personas);
14712
+ target.getPersonaTestMember = personas.getPersonaTestMember.bind(personas);
14713
+ target.createPersonaTestMember = personas.createPersonaTestMember.bind(personas);
14714
+ target.resetPersonaTestMember = personas.resetPersonaTestMember.bind(personas);
14337
14715
  target.createPersona = personas.createPersona.bind(personas);
14338
14716
  target.updatePersona = personas.updatePersona.bind(personas);
14339
14717
  target.archivePersona = personas.archivePersona.bind(personas);
@@ -14479,6 +14857,7 @@ var GravityRailClient = class {
14479
14857
  updateChat;
14480
14858
  getChatModelOverride;
14481
14859
  updateChatModelOverride;
14860
+ setChatStar;
14482
14861
  updateChatMute;
14483
14862
  summarizeChat;
14484
14863
  getChatMessages;
@@ -14512,8 +14891,8 @@ var GravityRailClient = class {
14512
14891
  getChatFilterCount;
14513
14892
  // Calls API
14514
14893
  getPhoneCalls;
14894
+ getPhoneCallByUuid;
14515
14895
  getMessageTiming;
14516
- getRecordingInfo;
14517
14896
  getEdgeCaptureInfo;
14518
14897
  getCallRecordingDownloadUrl;
14519
14898
  getCelContext;
@@ -14658,11 +15037,14 @@ var GravityRailClient = class {
14658
15037
  deleteScenario;
14659
15038
  listTestChatRuns;
14660
15039
  listScenarioHealthSummaries;
15040
+ getChatTestRun;
14661
15041
  getTestChatRun;
14662
15042
  listChatCapturedEffects;
14663
15043
  listChatRecordChanges;
14664
15044
  takeTestChatRunEmailTurn;
14665
15045
  takeTestChatRunSmsTurn;
15046
+ captureScenarioDraft;
15047
+ promoteTestChatFeedback;
14666
15048
  startTestChatRun;
14667
15049
  evaluateTestChatRun;
14668
15050
  endTestChatRun;
@@ -14676,6 +15058,9 @@ var GravityRailClient = class {
14676
15058
  previewDataReport;
14677
15059
  listPersonas;
14678
15060
  getPersona;
15061
+ getPersonaTestMember;
15062
+ createPersonaTestMember;
15063
+ resetPersonaTestMember;
14679
15064
  createPersona;
14680
15065
  updatePersona;
14681
15066
  archivePersona;
@@ -14746,6 +15131,7 @@ var GravityRailClient = class {
14746
15131
  getJourneyV2Validation;
14747
15132
  getJourneyFilterOptions;
14748
15133
  getJourneyHealth;
15134
+ getJourneySendEstimate;
14749
15135
  cloneJourneyAsV2;
14750
15136
  createJourney;
14751
15137
  updateJourney;
@@ -14972,6 +15358,7 @@ var GravityRailClient = class {
14972
15358
  setWorkspaceLabels;
14973
15359
  previewWorkspaceScope;
14974
15360
  getVapidPublicKey;
15361
+ testPushSubscription;
14975
15362
  registerPushSubscription;
14976
15363
  unregisterPushSubscription;
14977
15364
  listPushSubscriptions;
@@ -15251,6 +15638,7 @@ var GravityRailClient = class {
15251
15638
  createPhoneNumber;
15252
15639
  updatePhoneNumber;
15253
15640
  getArchiveBlockers;
15641
+ getPhoneNumberSetupStatus;
15254
15642
  archivePhoneNumber;
15255
15643
  getPhoneNumberCalls;
15256
15644
  getPhoneNumberOutboundAnalyticsSummary;
@@ -15283,6 +15671,7 @@ var GravityRailClient = class {
15283
15671
  sendInboxEmail;
15284
15672
  previewInboxEmail;
15285
15673
  previewEmailReply;
15674
+ getInboxOutboundEmailStats;
15286
15675
  getNotificationRules;
15287
15676
  createNotificationRule;
15288
15677
  updateNotificationRule;
@@ -15447,6 +15836,8 @@ var GravityRailClient = class {
15447
15836
  deleteSlackApp;
15448
15837
  getSlackThreads;
15449
15838
  getSlackInstallations;
15839
+ removeSlackAccount;
15840
+ removeSlackInstallation;
15450
15841
  getSlackChannelChoices;
15451
15842
  getSlackEntryPoints;
15452
15843
  connectSlackEntryPoint;
@@ -15492,8 +15883,9 @@ var GravityRailClient = class {
15492
15883
  fhirGetEncounterSyncRuns;
15493
15884
  fhirRefreshEncounterPatient;
15494
15885
  fhirBackfillEncounterSync;
15495
- fhirStartOnboardingImport;
15496
- fhirGetOnboardingImportStatus;
15886
+ getAthenaPlatformApp;
15887
+ verifyAthenaAccess;
15888
+ connectAthena;
15497
15889
  // Healthie API
15498
15890
  getDocumoFaxStatus;
15499
15891
  getDocumoFaxSetup;
@@ -15502,6 +15894,10 @@ var GravityRailClient = class {
15502
15894
  configureDocumoFax;
15503
15895
  verifyDocumoFax;
15504
15896
  rotateDocumoFaxCredentials;
15897
+ getClaimMdStatus;
15898
+ installClaimMd;
15899
+ configureClaimMd;
15900
+ verifyClaimMdKey;
15505
15901
  configurePatientSync;
15506
15902
  getPatientSyncStatus;
15507
15903
  deletePatientSyncConnection;
@@ -15569,6 +15965,10 @@ var GravityRailClient = class {
15569
15965
  searchHubspotRecords;
15570
15966
  importHubspotMembers;
15571
15967
  getHubspotContactProperties;
15968
+ getHubspotDealProperties;
15969
+ getHubspotForms;
15970
+ getHubspotMeetingLinks;
15971
+ getHubspotObjectProperties;
15572
15972
  getHubspotManagedRules;
15573
15973
  getHubspotSyncLogs;
15574
15974
  getHubspotTransformPresets;
@@ -15581,7 +15981,23 @@ var GravityRailClient = class {
15581
15981
  getSyncRuns;
15582
15982
  getSyncRunItems;
15583
15983
  getMemberSyncSummary;
15984
+ getConnectionFieldHomes;
15985
+ getInboundRecordStatus;
15986
+ getConnectionWritePreview;
15584
15987
  clearConnectionMemberExclusion;
15988
+ linkUnlinkedMembersByIdentity;
15989
+ listSubsetImports;
15990
+ getSubsetImport;
15991
+ createSubsetImport;
15992
+ updateSubsetImport;
15993
+ deleteSubsetImport;
15994
+ previewSubsetImportSelection;
15995
+ previewSubsetImport;
15996
+ runSubsetImport;
15997
+ cancelSubsetImport;
15998
+ listSubsetImportRuns;
15999
+ listSubsetImportVendorLists;
16000
+ listSubsetImportFilterFields;
15585
16001
  // App Connections API
15586
16002
  listAvailableAppConnections;
15587
16003
  listAppConnections;
@@ -15718,6 +16134,7 @@ var GravityRailClient = class {
15718
16134
  apis.patientSyncConnections,
15719
16135
  apis.healthie,
15720
16136
  apis.documoFax,
16137
+ apis.claimMd,
15721
16138
  apis.salesforce,
15722
16139
  apis.hubspot,
15723
16140
  apis.appConnections,
@@ -16281,7 +16698,7 @@ function isChatType(value) {
16281
16698
  // src/constants/models.ts
16282
16699
  var DEFAULT_CHAT_MODEL = "openai:chat:gpt-6-luna";
16283
16700
  var DEFAULT_AGENT_CHAT_MODEL = "openai:chat:gpt-6-luna";
16284
- var DEFAULT_AGENT_REALTIME_MODEL = "xai:realtime:voice-agent-2";
16701
+ var DEFAULT_AGENT_REALTIME_MODEL = "xai:realtime:voice-agent-3";
16285
16702
  var DEFAULT_AGENT_REALTIME_MODEL_CONFIG = {
16286
16703
  ttsModel: "native",
16287
16704
  voiceModel: "xai:voice:cosmo"
@@ -17362,6 +17779,7 @@ export {
17362
17779
  FhirClientType,
17363
17780
  CrmActivityKind,
17364
17781
  RunHealthCategory,
17782
+ SeedSpeaker,
17365
17783
  TestChatRunLane,
17366
17784
  TestChatRunOutcome,
17367
17785
  CapturedEffectDirection,
@@ -17532,4 +17950,4 @@ export {
17532
17950
  pathDraftFromStorage,
17533
17951
  pathDraftToStorage
17534
17952
  };
17535
- //# sourceMappingURL=chunk-BQOKENBF.js.map
17953
+ //# sourceMappingURL=chunk-YDC4OVZE.js.map