@gravity-rail/sdk 0.56.0 → 0.57.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (35) hide show
  1. package/dist/{chat-interaction-B1pEnDf4.d.ts → chat-interaction-Bs0O3lwb.d.cts} +4019 -2446
  2. package/dist/{chat-interaction-Bb1dQ6iL.d.cts → chat-interaction-dRnhgwb-.d.ts} +4019 -2446
  3. package/dist/{chunk-BQOKENBF.js → chunk-7ABBH5CC.js} +471 -68
  4. package/dist/chunk-7ABBH5CC.js.map +1 -0
  5. package/dist/{chunk-HXVJF54M.js → chunk-D5VNVTUQ.js} +1 -1
  6. package/dist/chunk-D5VNVTUQ.js.map +1 -0
  7. package/dist/helpers.d.cts +4 -4
  8. package/dist/helpers.d.ts +4 -4
  9. package/dist/index.cjs +474 -67
  10. package/dist/index.cjs.map +1 -1
  11. package/dist/index.d.cts +6 -6
  12. package/dist/index.d.ts +6 -6
  13. package/dist/index.js +7 -2
  14. package/dist/index.js.map +1 -1
  15. package/dist/internal.cjs +471 -67
  16. package/dist/internal.cjs.map +1 -1
  17. package/dist/internal.d.cts +6 -136
  18. package/dist/internal.d.ts +6 -136
  19. package/dist/internal.js +4 -2
  20. package/dist/internal.js.map +1 -1
  21. package/dist/{member-import-DzuvKnMC.d.cts → member-import-C9XwZqm4.d.cts} +1 -1
  22. package/dist/{member-import-D1QvZiy5.d.ts → member-import-CdXiqRFM.d.ts} +1 -1
  23. package/dist/{path-Q4WIJjcE.d.cts → path-6wcAgEJR.d.cts} +3 -3
  24. package/dist/{path-CoJI_rv9.d.ts → path-B08DHrW4.d.ts} +3 -3
  25. package/dist/schemas.cjs +79 -41
  26. package/dist/schemas.cjs.map +1 -1
  27. package/dist/schemas.d.cts +148 -6
  28. package/dist/schemas.d.ts +148 -6
  29. package/dist/schemas.js +78 -42
  30. package/dist/schemas.js.map +1 -1
  31. package/dist/{tasks-BdYhYUpU.d.cts → tasks-BPvueNi2.d.cts} +1009 -836
  32. package/dist/{tasks-BdYhYUpU.d.ts → tasks-BPvueNi2.d.ts} +1009 -836
  33. package/package.json +3 -3
  34. package/dist/chunk-BQOKENBF.js.map +0 -1
  35. package/dist/chunk-HXVJF54M.js.map +0 -1
@@ -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,16 @@ 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 removeSlackInstallation(wid, appId, installationId) {
2841
+ return this.fetch(
2842
+ `w/${wid}/app-connections/slack/apps/${appId}/installations/${installationId}`,
2843
+ { method: "DELETE" }
2844
+ );
2845
+ }
2846
+ async getSlackChannelChoices(wid, appId, cursor, teamId) {
2826
2847
  const params = new URLSearchParams({ appId: String(appId) });
2827
2848
  if (cursor) params.set("cursor", cursor);
2849
+ if (teamId) params.set("teamId", teamId);
2828
2850
  return this.fetch(
2829
2851
  `w/${wid}/app-connections/slack/channel-choices?${params}`
2830
2852
  );
@@ -2905,6 +2927,8 @@ var SlackAppsApi = class extends BaseApiClient {
2905
2927
  const params = new URLSearchParams();
2906
2928
  if (options.page) params.append("page", options.page.toString());
2907
2929
  if (options.pageSize) params.append("pageSize", options.pageSize.toString());
2930
+ if (options.search) params.set("search", options.search);
2931
+ if (options.connection) params.set("connection", options.connection);
2908
2932
  return this.fetch(
2909
2933
  `w/${wid}/app-connections/slack/apps/${appId}/installations${params.toString() ? `?${params.toString()}` : ""}`
2910
2934
  );
@@ -3199,6 +3223,36 @@ var FhirConnectionsApi = class extends BaseApiClient {
3199
3223
  body: JSON.stringify(data)
3200
3224
  });
3201
3225
  }
3226
+ /**
3227
+ * Which environments of the shared Gravity Rail athenahealth app this
3228
+ * deployment can use. Requires `apps:read`.
3229
+ */
3230
+ async getAthenaPlatformApp(wid) {
3231
+ return this.fetch(
3232
+ `w/${wid}/app-connections/fhir/athena/platform-app`
3233
+ );
3234
+ }
3235
+ /**
3236
+ * Check that the Gravity Rail athenahealth app can reach a practice in an
3237
+ * environment. Saves nothing. Requires `apps:write`.
3238
+ */
3239
+ async verifyAthenaAccess(wid, data) {
3240
+ return this.fetch(
3241
+ `w/${wid}/app-connections/fhir/athena/verify-access`,
3242
+ { method: "POST", body: JSON.stringify(data) }
3243
+ );
3244
+ }
3245
+ /**
3246
+ * Create an athenahealth connection through the shared Gravity Rail app.
3247
+ * The server re-runs the access probe and answers 400 with
3248
+ * `detail: { code, message }` when it fails. Requires `apps:write`.
3249
+ */
3250
+ async connectAthena(wid, data) {
3251
+ return this.fetch(`w/${wid}/app-connections/fhir/athena/connections`, {
3252
+ method: "POST",
3253
+ body: JSON.stringify(data)
3254
+ });
3255
+ }
3202
3256
  /**
3203
3257
  * Update an existing FHIR connection configuration.
3204
3258
  */
@@ -3417,36 +3471,6 @@ var FhirConnectionsApi = class extends BaseApiClient {
3417
3471
  { method: "POST", body: JSON.stringify(data) }
3418
3472
  );
3419
3473
  }
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
3474
  };
3451
3475
 
3452
3476
  // src/types/generated/inbound_fax.ts
@@ -4109,6 +4133,23 @@ var InboxesApi = class extends BaseApiClient {
4109
4133
  );
4110
4134
  return response.arrayBuffer();
4111
4135
  }
4136
+ /**
4137
+ * Reply and bounce rates for the emails one inbox sent in a period.
4138
+ *
4139
+ * `dateFrom` (inclusive) and `dateTo` (exclusive) are ISO 8601 instants with
4140
+ * an offset and must be passed together, at most 90 days apart; omit both
4141
+ * for the server's rolling last 30 days. Requires `inboxes:read` and
4142
+ * `analytics:read` plus admin access to the inbox. Aggregates only.
4143
+ */
4144
+ async getInboxOutboundEmailStats(wid, inboxId, period = {}) {
4145
+ const params = new URLSearchParams();
4146
+ if (period.dateFrom) params.append("date_from", period.dateFrom);
4147
+ if (period.dateTo) params.append("date_to", period.dateTo);
4148
+ const query = params.toString();
4149
+ return this.fetch(
4150
+ `w/${wid}/inboxes/${inboxId}/outbound-email-stats${query ? `?${query}` : ""}`
4151
+ );
4152
+ }
4112
4153
  /** List email threads in an inbox. */
4113
4154
  async getInboxThreads(wid, inboxId) {
4114
4155
  return this.fetch(`w/${wid}/inboxes/${inboxId}/threads`);
@@ -6145,6 +6186,18 @@ var OrgApi = class extends BaseApiClient {
6145
6186
  async listA2PBrands(orgUuid) {
6146
6187
  return this.fetch(`o/${orgUuid}/a2p-brands`);
6147
6188
  }
6189
+ /**
6190
+ * Poll Twilio for one brand now and record its brand and campaign statuses,
6191
+ * as the scheduled sync would. Returns the brand as recorded afterwards,
6192
+ * without the live workflow fields `getA2PBrand` adds.
6193
+ */
6194
+ async syncA2PBrand(orgUuid, brandUuid) {
6195
+ return this.fetch(
6196
+ `o/${orgUuid}/a2p-brands/${brandUuid}/sync`,
6197
+ // Empty JSON body is the CSRF barrier the route requires (GRA-6284).
6198
+ { method: "POST", body: JSON.stringify({}) }
6199
+ );
6200
+ }
6148
6201
  /**
6149
6202
  * Live per-brand campaign use-case eligibility. Approved brands only — a
6150
6203
  * brand still under TCR review comes back as a structured 412 the picker
@@ -6634,6 +6687,14 @@ var PhoneNumbersApi = class extends BaseApiClient {
6634
6687
  async getPhoneNumber(wid, id) {
6635
6688
  return this.fetch(`w/${wid}/phone-numbers/${id}`);
6636
6689
  }
6690
+ /**
6691
+ * What this number still needs from its organization: the texting and
6692
+ * caller ID registration states of the business it belongs to. States only —
6693
+ * readable with `phones:read`, so it carries none of the business's forms.
6694
+ */
6695
+ async getPhoneNumberSetupStatus(wid, id) {
6696
+ return this.fetch(`w/${wid}/phone-numbers/${id}/setup-status`);
6697
+ }
6637
6698
  /** Create a new phone number record. */
6638
6699
  async createPhoneNumber(wid, phoneNumber) {
6639
6700
  return this.fetch(`w/${wid}/phone-numbers`, {
@@ -6948,6 +7009,21 @@ var PersonasApi = class extends BaseApiClient {
6948
7009
  async getPersona(wid, id) {
6949
7010
  return this.fetch(`w/${wid}/personas/${id}`);
6950
7011
  }
7012
+ async getPersonaTestMember(wid, id) {
7013
+ return this.fetch(`w/${wid}/personas/${id}/test-member`);
7014
+ }
7015
+ async createPersonaTestMember(wid, id) {
7016
+ return this.fetch(`w/${wid}/personas/${id}/test-member`, {
7017
+ method: "POST",
7018
+ body: JSON.stringify({})
7019
+ });
7020
+ }
7021
+ async resetPersonaTestMember(wid, id) {
7022
+ return this.fetch(`w/${wid}/personas/${id}/test-member/reset`, {
7023
+ method: "POST",
7024
+ body: JSON.stringify({})
7025
+ });
7026
+ }
6951
7027
  async createPersona(wid, data) {
6952
7028
  return this.fetch(`w/${wid}/personas`, {
6953
7029
  method: "POST",
@@ -7010,6 +7086,21 @@ var QueriesApi = class extends BaseApiClient {
7010
7086
 
7011
7087
  // src/api/qualifications.ts
7012
7088
  var QualificationsApi = class extends BaseApiClient {
7089
+ /** Copy an authorized test Chat prefix into an editable Scenario draft. */
7090
+ async captureScenarioDraft(wid, chatId, throughMessageId) {
7091
+ return this.fetch(`w/${wid}/qualifications/chats/${chatId}/scenario-draft`, {
7092
+ method: "POST",
7093
+ body: JSON.stringify({ throughMessageId })
7094
+ });
7095
+ }
7096
+ /** Pause before the next Persona turn; a current Agent reply may finish. */
7097
+ /** Turn feedback into an explicitly authored rubric on the same Workflow. */
7098
+ async promoteTestChatFeedback(wid, runId, request) {
7099
+ return this.fetch(`w/${wid}/qualifications/test-chat-runs/${runId}/feedback/criterion`, {
7100
+ method: "POST",
7101
+ body: JSON.stringify(request)
7102
+ });
7103
+ }
7013
7104
  /** List qualifications in a workspace, paginated. */
7014
7105
  async getQualifications(wid, params) {
7015
7106
  const query = new URLSearchParams();
@@ -7101,6 +7192,12 @@ var QualificationsApi = class extends BaseApiClient {
7101
7192
  `w/${wid}/qualifications/workflows/${workflowId}/scenario-health-summaries${qs}`
7102
7193
  );
7103
7194
  }
7195
+ /** The saved run of a test Chat, including its driver and completion state. */
7196
+ async getChatTestRun(wid, chatId) {
7197
+ return this.fetch(
7198
+ `w/${wid}/qualifications/chats/${chatId}/test-chat-run`
7199
+ );
7200
+ }
7104
7201
  async getTestChatRun(wid, runId) {
7105
7202
  return this.fetch(`w/${wid}/qualifications/test-chat-runs/${runId}`);
7106
7203
  }
@@ -7423,9 +7520,9 @@ var SalesforceApi = class extends BaseApiClient {
7423
7520
  });
7424
7521
  }
7425
7522
  /**
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.
7523
+ * @deprecated Use `linkUnlinkedMembersByIdentity(wid, connectionId)`, which
7524
+ * serves every connector that links by identity. This calls the retained
7525
+ * Salesforce-only route and will be removed once no caller remains.
7429
7526
  */
7430
7527
  async linkUnlinkedSalesforceMembersByIdentity(wid) {
7431
7528
  return this.fetch(
@@ -7552,6 +7649,20 @@ var ConnectionSyncApi = class extends BaseApiClient {
7552
7649
  { method: "PUT", body: JSON.stringify(data) }
7553
7650
  );
7554
7651
  }
7652
+ async getConnectionFieldHomes(wid, connectionId) {
7653
+ return this.fetch(`w/${wid}/app-connections/${connectionId}/field-homes`);
7654
+ }
7655
+ /** Each inbound record source's latest pass: closed status, times and counts. */
7656
+ async getInboundRecordStatus(wid, connectionId) {
7657
+ return this.fetch(
7658
+ `w/${wid}/app-connections/${connectionId}/inbound-records/status`
7659
+ );
7660
+ }
7661
+ async getConnectionWritePreview(wid, connectionId, memberId) {
7662
+ return this.fetch(
7663
+ `w/${wid}/app-connections/${connectionId}/write-preview/members/${memberId}`
7664
+ );
7665
+ }
7555
7666
  async getConnectionSyncCheckpoint(wid, connectionId, direction = "inbound", syncKey = "default") {
7556
7667
  const query = new URLSearchParams({
7557
7668
  direction,
@@ -7614,6 +7725,108 @@ var ConnectionSyncApi = class extends BaseApiClient {
7614
7725
  { method: "DELETE" }
7615
7726
  );
7616
7727
  }
7728
+ /**
7729
+ * Start a durable run that links the connection's unlinked members to
7730
+ * remote records by identity (email, phone, or the vendor's own key) and
7731
+ * hydrates them. Served for any connector that declares a remote identity
7732
+ * resolver (Salesforce, HubSpot); another connector is 400. One run per
7733
+ * connection: a second start while one is in flight is 409.
7734
+ */
7735
+ async linkUnlinkedMembersByIdentity(wid, connectionId) {
7736
+ return this.fetch(
7737
+ `w/${wid}/app-connections/${connectionId}/link-unlinked-by-identity`,
7738
+ { method: "POST", body: JSON.stringify({}) }
7739
+ );
7740
+ }
7741
+ // --- Saved subset imports (Integration Standard IM-1..IM-4) ---------------
7742
+ subsetImportsPath(wid, connectionId, suffix2 = "") {
7743
+ return `w/${wid}/app-connections/${connectionId}/subset-imports${suffix2}`;
7744
+ }
7745
+ /** The connection's saved imports, newest first, and the kinds it accepts. */
7746
+ async listSubsetImports(wid, connectionId) {
7747
+ return this.fetch(this.subsetImportsPath(wid, connectionId));
7748
+ }
7749
+ async getSubsetImport(wid, connectionId, importId) {
7750
+ return this.fetch(
7751
+ this.subsetImportsPath(wid, connectionId, `/${encodeURIComponent(importId)}`)
7752
+ );
7753
+ }
7754
+ /** Save a named selection. Saving never reads the vendor or imports. */
7755
+ async createSubsetImport(wid, connectionId, data) {
7756
+ return this.fetch(this.subsetImportsPath(wid, connectionId), {
7757
+ method: "POST",
7758
+ body: JSON.stringify(data)
7759
+ });
7760
+ }
7761
+ /** Replace a saved selection. A changed selection resets its progress. */
7762
+ async updateSubsetImport(wid, connectionId, importId, data) {
7763
+ return this.fetch(
7764
+ this.subsetImportsPath(wid, connectionId, `/${encodeURIComponent(importId)}`),
7765
+ { method: "PUT", body: JSON.stringify(data) }
7766
+ );
7767
+ }
7768
+ /** Remove a saved import. Its Members and links stay. */
7769
+ async deleteSubsetImport(wid, connectionId, importId) {
7770
+ await this.fetch(
7771
+ this.subsetImportsPath(wid, connectionId, `/${encodeURIComponent(importId)}`),
7772
+ { method: "DELETE" }
7773
+ );
7774
+ }
7775
+ /** Count and sample an unsaved selection. Never writes. */
7776
+ async previewSubsetImportSelection(wid, connectionId, selection) {
7777
+ return this.fetch(
7778
+ this.subsetImportsPath(wid, connectionId, "/preview"),
7779
+ { method: "POST", body: JSON.stringify({ selection }) }
7780
+ );
7781
+ }
7782
+ /** Count and sample a saved selection. Never writes. */
7783
+ async previewSubsetImport(wid, connectionId, importId) {
7784
+ return this.fetch(
7785
+ this.subsetImportsPath(wid, connectionId, `/${encodeURIComponent(importId)}/preview`),
7786
+ // The CSRF barrier refuses a body-less POST (422); `{}` is the request.
7787
+ { method: "POST", body: JSON.stringify({}) }
7788
+ );
7789
+ }
7790
+ /**
7791
+ * Start the import in the background (202). A failed or cancelled import
7792
+ * resumes where it stopped unless `restart` is true.
7793
+ */
7794
+ async runSubsetImport(wid, connectionId, importId, options) {
7795
+ return this.fetch(
7796
+ this.subsetImportsPath(wid, connectionId, `/${encodeURIComponent(importId)}/run`),
7797
+ { method: "POST", body: JSON.stringify({ restart: options?.restart ?? false }) }
7798
+ );
7799
+ }
7800
+ /** Ask a running import to stop (202); its progress is kept for a resume. */
7801
+ async cancelSubsetImport(wid, connectionId, importId) {
7802
+ return this.fetch(
7803
+ this.subsetImportsPath(wid, connectionId, `/${encodeURIComponent(importId)}/cancel`),
7804
+ // The CSRF barrier refuses a body-less POST (422); `{}` is the request.
7805
+ { method: "POST", body: JSON.stringify({}) }
7806
+ );
7807
+ }
7808
+ /** The connection's import-run history, newest first (counts only). */
7809
+ async listSubsetImportRuns(wid, connectionId, limit = 20) {
7810
+ return this.fetch(
7811
+ this.subsetImportsPath(wid, connectionId, `/runs?limit=${limit}`)
7812
+ );
7813
+ }
7814
+ /** Vendor lists a `vendor_list` import can name (configuration only). */
7815
+ async listSubsetImportVendorLists(wid, connectionId, options) {
7816
+ const query = new URLSearchParams({
7817
+ query: options?.query ?? "",
7818
+ limit: String(options?.limit ?? 50)
7819
+ });
7820
+ return this.fetch(
7821
+ this.subsetImportsPath(wid, connectionId, `/vendor-lists?${query}`)
7822
+ );
7823
+ }
7824
+ /** Remote fields a `field_filter` import can name, with their operators. */
7825
+ async listSubsetImportFilterFields(wid, connectionId) {
7826
+ return this.fetch(
7827
+ this.subsetImportsPath(wid, connectionId, "/filter-fields")
7828
+ );
7829
+ }
7617
7830
  };
7618
7831
 
7619
7832
  // src/api/hubspot.ts
@@ -7719,6 +7932,35 @@ var HubspotApi = class extends BaseApiClient {
7719
7932
  `w/${wid}/app-connections/hubspot/sync-settings/hs-properties`
7720
7933
  );
7721
7934
  }
7935
+ /** Mappable HubSpot deal property definitions (deal inbound record sources). */
7936
+ async getHubspotDealProperties(wid) {
7937
+ return this.fetch(
7938
+ `w/${wid}/app-connections/hubspot/sync-settings/hs-properties?objectType=deals`
7939
+ );
7940
+ }
7941
+ /** The portal's Meetings booking links, or `missing_scope` without the scheduler scope. */
7942
+ async getHubspotMeetingLinks(wid) {
7943
+ return this.fetch(
7944
+ `w/${wid}/app-connections/hubspot/sync-settings/meeting-links`
7945
+ );
7946
+ }
7947
+ /** The portal's forms and their fields, or `missing_scope` without the `forms` scope. */
7948
+ async getHubspotForms(wid) {
7949
+ return this.fetch(
7950
+ `w/${wid}/app-connections/hubspot/sync-settings/forms`
7951
+ );
7952
+ }
7953
+ /**
7954
+ * Raw HubSpot property definitions for one CRM object type
7955
+ * (`GET /get_properties/{objectType}`), as HubSpot's properties API
7956
+ * returns them. Use `getHubspotContactProperties` for the sync-mappable
7957
+ * contact property list the field mapper shows.
7958
+ */
7959
+ async getHubspotObjectProperties(wid, objectType) {
7960
+ return this.fetch(
7961
+ `w/${wid}/app-connections/hubspot/get_properties/${encodeURIComponent(objectType)}`
7962
+ );
7963
+ }
7722
7964
  async getHubspotManagedRules(wid) {
7723
7965
  return this.fetch(`w/${wid}/app-connections/hubspot/managed-rules`);
7724
7966
  }
@@ -8806,6 +9048,17 @@ var JourneysApi = class extends BaseApiClient {
8806
9048
  async getJourneyHealth(wid, journeyId) {
8807
9049
  return this.fetch(`w/${wid}/journeys/${journeyId}/health`);
8808
9050
  }
9051
+ /**
9052
+ * How many days the journey's texts take at the workspace's current sending
9053
+ * limits — advice for the publish and enroll confirmations, never a gate.
9054
+ * `additionalMembers` is the size of a batch about to be enrolled.
9055
+ */
9056
+ async getJourneySendEstimate(wid, journeyId, additionalMembers = 0) {
9057
+ const query = new URLSearchParams({ additionalMembers: String(additionalMembers) });
9058
+ return this.fetch(
9059
+ `w/${wid}/journeys/${journeyId}/send-estimate?${query.toString()}`
9060
+ );
9061
+ }
8809
9062
  /** Create a step within a journey. */
8810
9063
  async createStep(wid, journeyId, data) {
8811
9064
  return this.fetch(`w/${wid}/journeys/${journeyId}/steps`, {
@@ -9831,13 +10084,12 @@ var WorkspaceFeature = /* @__PURE__ */ ((WorkspaceFeature2) => {
9831
10084
  WorkspaceFeature2["GSHEETS"] = "gsheets";
9832
10085
  WorkspaceFeature2["MONDAY"] = "monday";
9833
10086
  WorkspaceFeature2["DOCUMO_FAX"] = "documo_fax";
10087
+ WorkspaceFeature2["CLAIM_MD"] = "claim_md";
9834
10088
  WorkspaceFeature2["RESELL_PRODUCTS"] = "resell_products";
9835
10089
  WorkspaceFeature2["SOC2_COMPLIANCE"] = "soc2_compliance";
9836
10090
  WorkspaceFeature2["EHR_FHIR"] = "ehr_fhir";
9837
10091
  WorkspaceFeature2["EHR_ECLINICALWORKS"] = "ehr_eclinicalworks";
9838
10092
  WorkspaceFeature2["EHR_HEALTHIE"] = "ehr_healthie";
9839
- WorkspaceFeature2["CRM_SALESFORCE"] = "crm_salesforce";
9840
- WorkspaceFeature2["CRM_HUBSPOT"] = "crm_hubspot";
9841
10093
  WorkspaceFeature2["CONFLUENCE"] = "confluence";
9842
10094
  WorkspaceFeature2["ZENDESK"] = "zendesk";
9843
10095
  WorkspaceFeature2["AGENT_MEMORY"] = "agent_memory";
@@ -10027,6 +10279,10 @@ var RunHealthCategory = {
10027
10279
  ungradeable: "ungradeable",
10028
10280
  incomplete: "incomplete"
10029
10281
  };
10282
+ var SeedSpeaker = {
10283
+ member: "member",
10284
+ agent: "agent"
10285
+ };
10030
10286
  var TestChatRunLane = {
10031
10287
  text: "text",
10032
10288
  web_realtime: "web_realtime",
@@ -10041,6 +10297,7 @@ var TestChatRunOutcome = {
10041
10297
  agent_silent: "agent_silent",
10042
10298
  max_turns: "max_turns",
10043
10299
  human_end: "human_end",
10300
+ single_turn: "single_turn",
10044
10301
  configuration_failure: "configuration_failure",
10045
10302
  instrument_failure: "instrument_failure"
10046
10303
  };
@@ -10740,13 +10997,10 @@ var WorkspacesApi = class extends BaseApiClient {
10740
10997
  }
10741
10998
  /** Register a Web Push subscription for the current user. */
10742
10999
  async registerPushSubscription(wid, subscription) {
10743
- return this.fetch(
10744
- `w/${wid}/push-subscriptions`,
10745
- {
10746
- method: "POST",
10747
- body: JSON.stringify(subscription)
10748
- }
10749
- );
11000
+ return this.fetch(`w/${wid}/push-subscriptions`, {
11001
+ method: "POST",
11002
+ body: JSON.stringify(subscription)
11003
+ });
10750
11004
  }
10751
11005
  /** Unregister a Web Push subscription by endpoint URL. */
10752
11006
  async unregisterPushSubscription(wid, endpoint) {
@@ -10761,6 +11015,14 @@ var WorkspacesApi = class extends BaseApiClient {
10761
11015
  async listPushSubscriptions(wid) {
10762
11016
  return this.fetch(`w/${wid}/push-subscriptions`);
10763
11017
  }
11018
+ /** Submit a fixed generic test to an owned browser registration. */
11019
+ async testPushSubscription(wid, subscriptionId) {
11020
+ const body = {};
11021
+ return this.fetch(
11022
+ `w/${wid}/push-subscriptions/${subscriptionId}/test`,
11023
+ { method: "POST", body: JSON.stringify(body) }
11024
+ );
11025
+ }
10764
11026
  /** List org domains available for workspace email inbox routing. */
10765
11027
  async getWorkspaceEmailDomains(wid) {
10766
11028
  return this.fetch(`w/${wid}/domains/for-email`);
@@ -11503,6 +11765,33 @@ var PatientSyncConnectionsApi = class extends BaseApiClient {
11503
11765
  }
11504
11766
  };
11505
11767
 
11768
+ // src/api/claim-md.ts
11769
+ var ClaimMdApi = class extends BaseApiClient {
11770
+ async getClaimMdStatus(wid) {
11771
+ return this.fetch(`w/${wid}/app-connections/claim-md/status`);
11772
+ }
11773
+ /** Sends `{}` deliberately: the route requires a JSON body as a CSRF barrier. */
11774
+ async installClaimMd(wid) {
11775
+ return this.fetch(`w/${wid}/app-connections/claim-md/install`, {
11776
+ method: "POST",
11777
+ body: JSON.stringify({})
11778
+ });
11779
+ }
11780
+ async configureClaimMd(wid, data) {
11781
+ return this.fetch(`w/${wid}/app-connections/claim-md/configure`, {
11782
+ method: "POST",
11783
+ body: JSON.stringify(data)
11784
+ });
11785
+ }
11786
+ /** Checks a pasted AccountKey without storing it. */
11787
+ async verifyClaimMdKey(wid, data) {
11788
+ return this.fetch(`w/${wid}/app-connections/claim-md/verify`, {
11789
+ method: "POST",
11790
+ body: JSON.stringify(data)
11791
+ });
11792
+ }
11793
+ };
11794
+
11506
11795
  // src/api/activity.ts
11507
11796
  var ActivityApi = class extends BaseApiClient {
11508
11797
  /** The account mount: this caller's whole estate, at any grain. */
@@ -12113,6 +12402,7 @@ function createApiModules(apiKey, baseUrl, customFetch) {
12113
12402
  patientSyncConnections: new PatientSyncConnectionsApi(apiKey, baseUrl, customFetch),
12114
12403
  healthie: new HealthieApi(apiKey, baseUrl, customFetch),
12115
12404
  documoFax: new DocumoFaxApi(apiKey, baseUrl, customFetch),
12405
+ claimMd: new ClaimMdApi(apiKey, baseUrl, customFetch),
12116
12406
  hubspot: new HubspotApi(apiKey, baseUrl, customFetch),
12117
12407
  features: new FeaturesApi(apiKey, baseUrl, customFetch),
12118
12408
  files: new FilesApi(apiKey, baseUrl, customFetch),
@@ -12196,6 +12486,7 @@ var WORKSPACE_METHOD_NAMES = [
12196
12486
  "cancelCalendarEvent",
12197
12487
  "cancelChatCallback",
12198
12488
  "cancelCredentialUpdateInvite",
12489
+ "cancelSubsetImport",
12199
12490
  "checkAvailability",
12200
12491
  "checkSiteDomainAvailability",
12201
12492
  "checkSiteSlugAvailability",
@@ -12210,6 +12501,7 @@ var WORKSPACE_METHOD_NAMES = [
12210
12501
  "commentOnWorkspaceSupportRequest",
12211
12502
  "completeDiscordLink",
12212
12503
  "configureConfluence",
12504
+ "configureClaimMd",
12213
12505
  "configureDocumoFax",
12214
12506
  "configureHealthie",
12215
12507
  "configurePatientSync",
@@ -12217,6 +12509,7 @@ var WORKSPACE_METHOD_NAMES = [
12217
12509
  "configureMondayConnection",
12218
12510
  "configureSalesforce",
12219
12511
  "configureZendeskConnection",
12512
+ "connectAthena",
12220
12513
  "convertEmail",
12221
12514
  "convertFile",
12222
12515
  "createAbility",
@@ -12225,6 +12518,15 @@ var WORKSPACE_METHOD_NAMES = [
12225
12518
  "createApiKey",
12226
12519
  "createAssignment",
12227
12520
  "bindInstallationSlots",
12521
+ "createSubsetImport",
12522
+ "deleteSubsetImport",
12523
+ "getSubsetImport",
12524
+ "listSubsetImportFilterFields",
12525
+ "listSubsetImportRuns",
12526
+ "listSubsetImports",
12527
+ "listSubsetImportVendorLists",
12528
+ "previewSubsetImport",
12529
+ "previewSubsetImportSelection",
12228
12530
  "restoreInstallationForm",
12229
12531
  "createBundle",
12230
12532
  "createCalendar",
@@ -12233,6 +12535,7 @@ var WORKSPACE_METHOD_NAMES = [
12233
12535
  "createCalendarSchedule",
12234
12536
  "createChat",
12235
12537
  "createChatInteractionSession",
12538
+ "runSubsetImport",
12236
12539
  "transitionChatInteractionSession",
12237
12540
  "createChatCompletion",
12238
12541
  "createChatFilter",
@@ -12413,7 +12716,6 @@ var WORKSPACE_METHOD_NAMES = [
12413
12716
  "fhirGetCsvImportSettings",
12414
12717
  "fhirGetEncounterSyncRuns",
12415
12718
  "fhirGetEncounterSyncStatus",
12416
- "fhirGetOnboardingImportStatus",
12417
12719
  "fhirImportPatient",
12418
12720
  "fhirLinkMember",
12419
12721
  "fhirListLinkedMembers",
@@ -12422,7 +12724,6 @@ var WORKSPACE_METHOD_NAMES = [
12422
12724
  "fhirSearchLocations",
12423
12725
  "fhirSearchPatients",
12424
12726
  "fhirSearchPractitioners",
12425
- "fhirStartOnboardingImport",
12426
12727
  "fhirSyncMember",
12427
12728
  "fhirUnlinkMember",
12428
12729
  "fhirUpdateCsvImportSettings",
@@ -12448,6 +12749,7 @@ var WORKSPACE_METHOD_NAMES = [
12448
12749
  "getAnonymousResolutions",
12449
12750
  "getApiKeys",
12450
12751
  "getArchiveBlockers",
12752
+ "getAthenaPlatformApp",
12451
12753
  "getAssignment",
12452
12754
  "getAssignmentCelContext",
12453
12755
  "getAssignmentMessages",
@@ -12510,9 +12812,12 @@ var WORKSPACE_METHOD_NAMES = [
12510
12812
  "getClientWorkspace",
12511
12813
  "getConfigurationHealth",
12512
12814
  "getConfluenceStatus",
12815
+ "getConnectionFieldHomes",
12816
+ "getInboundRecordStatus",
12513
12817
  "getConnectionSyncCapabilities",
12514
12818
  "getConnectionSyncCheckpoint",
12515
12819
  "getConnectionSyncConfig",
12820
+ "getConnectionWritePreview",
12516
12821
  "getCredentialUpdateInvites",
12517
12822
  "getCurrentMember",
12518
12823
  "clearMemberWorkflowVoice",
@@ -12549,6 +12854,7 @@ var WORKSPACE_METHOD_NAMES = [
12549
12854
  "getDiscordBots",
12550
12855
  "getDiscordGuilds",
12551
12856
  "getDiscordThreads",
12857
+ "getClaimMdStatus",
12552
12858
  "getDocumoFaxSetup",
12553
12859
  "listDocumoFaxes",
12554
12860
  "getDocumoFaxStatus",
@@ -12577,6 +12883,7 @@ var WORKSPACE_METHOD_NAMES = [
12577
12883
  "getSiteSourceTemplates",
12578
12884
  "getThemeSettings",
12579
12885
  "importSiteSourceZip",
12886
+ "installClaimMd",
12580
12887
  "installDocumoFax",
12581
12888
  "previewDataReport",
12582
12889
  "previewQuery",
@@ -12613,7 +12920,11 @@ var WORKSPACE_METHOD_NAMES = [
12613
12920
  "getHealthieStatus",
12614
12921
  "getPatientSyncStatus",
12615
12922
  "getHubspotContactProperties",
12923
+ "getHubspotDealProperties",
12924
+ "getHubspotForms",
12925
+ "getHubspotMeetingLinks",
12616
12926
  "getHubspotManagedRules",
12927
+ "getHubspotObjectProperties",
12617
12928
  "getHubspotReconciliationMatches",
12618
12929
  "getHubspotStatus",
12619
12930
  "getHubspotSyncLogs",
@@ -12625,6 +12936,7 @@ var WORKSPACE_METHOD_NAMES = [
12625
12936
  "getInbox",
12626
12937
  "getInboxEmail",
12627
12938
  "getInboxEmails",
12939
+ "getInboxOutboundEmailStats",
12628
12940
  "getInboxThreads",
12629
12941
  "getInboxes",
12630
12942
  "getInterventionRequests",
@@ -12634,6 +12946,7 @@ var WORKSPACE_METHOD_NAMES = [
12634
12946
  "getJourneyHealth",
12635
12947
  "getJourneyMembers",
12636
12948
  "getJourneyNotes",
12949
+ "getJourneySendEstimate",
12637
12950
  "getJourneyV2Validation",
12638
12951
  "getJourneys",
12639
12952
  "getLinkablePhones",
@@ -12694,11 +13007,16 @@ var WORKSPACE_METHOD_NAMES = [
12694
13007
  "getPage",
12695
13008
  "getPageBySlug",
12696
13009
  "getPersona",
13010
+ "getPersonaTestMember",
13011
+ "createPersonaTestMember",
13012
+ "resetPersonaTestMember",
12697
13013
  "getPhoneCalls",
13014
+ "getPhoneCallByUuid",
12698
13015
  "getPhoneNumber",
12699
13016
  "getPhoneNumberCalls",
12700
13017
  "getPhoneNumberFaxes",
12701
13018
  "getPhoneNumberMessages",
13019
+ "getPhoneNumberSetupStatus",
12702
13020
  "getPhoneNumberVoicemails",
12703
13021
  "getPhoneNumbers",
12704
13022
  "getPhoneUsageReport",
@@ -12714,7 +13032,6 @@ var WORKSPACE_METHOD_NAMES = [
12714
13032
  "getPublicProducts",
12715
13033
  "getQualification",
12716
13034
  "getQualifications",
12717
- "getRecordingInfo",
12718
13035
  "getResellerWorkspaces",
12719
13036
  "getRoutine",
12720
13037
  "getRoutineConfigEvents",
@@ -12741,6 +13058,7 @@ var WORKSPACE_METHOD_NAMES = [
12741
13058
  "getSlackAppAccounts",
12742
13059
  "getSlackApps",
12743
13060
  "getSlackInstallations",
13061
+ "removeSlackInstallation",
12744
13062
  "getSlackThreads",
12745
13063
  "getStepMemberCounts",
12746
13064
  "getStepMembers",
@@ -12757,6 +13075,7 @@ var WORKSPACE_METHOD_NAMES = [
12757
13075
  "getTeamsConversations",
12758
13076
  "getTeamsInstallations",
12759
13077
  "getTemplateContext",
13078
+ "getChatTestRun",
12760
13079
  "getTestChatRun",
12761
13080
  "getThreadEmails",
12762
13081
  "getTool",
@@ -12830,6 +13149,7 @@ var WORKSPACE_METHOD_NAMES = [
12830
13149
  "linkMemberToMonday",
12831
13150
  "linkMemberToSalesforce",
12832
13151
  "linkPhoneNumber",
13152
+ "linkUnlinkedMembersByIdentity",
12833
13153
  "linkUnlinkedSalesforceMembersByIdentity",
12834
13154
  "listAbilities",
12835
13155
  "listAnonymousFormSubmissions",
@@ -12913,6 +13233,7 @@ var WORKSPACE_METHOD_NAMES = [
12913
13233
  "reenrollMember",
12914
13234
  "renameFieldSlug",
12915
13235
  "registerLinkedRolesMetadata",
13236
+ "testPushSubscription",
12916
13237
  "registerPushSubscription",
12917
13238
  "reindexFolder",
12918
13239
  "releasePhoneNumber",
@@ -12924,6 +13245,7 @@ var WORKSPACE_METHOD_NAMES = [
12924
13245
  "reorderMenuItems",
12925
13246
  "reconcileInstallation",
12926
13247
  "setInstallationPolicy",
13248
+ "updateSubsetImport",
12927
13249
  "upgradeInstallation",
12928
13250
  "replaceBundleDraft",
12929
13251
  "replyToEmail",
@@ -12959,6 +13281,8 @@ var WORKSPACE_METHOD_NAMES = [
12959
13281
  "startHubspotOAuth",
12960
13282
  "startSalesforceOAuth",
12961
13283
  "startSyncRun",
13284
+ "captureScenarioDraft",
13285
+ "promoteTestChatFeedback",
12962
13286
  "startTestChatRun",
12963
13287
  "summarizeChat",
12964
13288
  "syncCalendarWithGoogle",
@@ -12998,6 +13322,7 @@ var WORKSPACE_METHOD_NAMES = [
12998
13322
  "updateChatFilter",
12999
13323
  "updateChatLabel",
13000
13324
  "updateChatModelOverride",
13325
+ "setChatStar",
13001
13326
  "updateChatMute",
13002
13327
  "updateClientWorkspace",
13003
13328
  "updateConnection",
@@ -13077,6 +13402,8 @@ var WORKSPACE_METHOD_NAMES = [
13077
13402
  "validateDataTypeSlug",
13078
13403
  "validateQuery",
13079
13404
  "validateWorkflowName",
13405
+ "verifyAthenaAccess",
13406
+ "verifyClaimMdKey",
13080
13407
  "verifyDocumoFax"
13081
13408
  ];
13082
13409
  var WORKSPACE_METHOD_NAME_SET = new Set(WORKSPACE_METHOD_NAMES);
@@ -13185,6 +13512,7 @@ function bindChatsMethods(target, chats) {
13185
13512
  target.updateChat = chats.updateChat.bind(chats);
13186
13513
  target.getChatModelOverride = chats.getChatModelOverride.bind(chats);
13187
13514
  target.updateChatModelOverride = chats.updateChatModelOverride.bind(chats);
13515
+ target.setChatStar = chats.setChatStar.bind(chats);
13188
13516
  target.updateChatMute = chats.updateChatMute.bind(chats);
13189
13517
  target.summarizeChat = chats.summarizeChat.bind(chats);
13190
13518
  target.getChatMessages = chats.getChatMessages.bind(chats);
@@ -13221,8 +13549,8 @@ function bindChatsMethods(target, chats) {
13221
13549
  // src/client/bindings/calls.ts
13222
13550
  function bindCallsMethods(target, calls, cel) {
13223
13551
  target.getPhoneCalls = calls.getPhoneCalls.bind(calls);
13552
+ target.getPhoneCallByUuid = calls.getPhoneCallByUuid.bind(calls);
13224
13553
  target.getMessageTiming = calls.getMessageTiming.bind(calls);
13225
- target.getRecordingInfo = calls.getRecordingInfo.bind(calls);
13226
13554
  target.getEdgeCaptureInfo = calls.getEdgeCaptureInfo.bind(calls);
13227
13555
  target.getCallRecordingDownloadUrl = calls.getCallRecordingDownloadUrl.bind(calls);
13228
13556
  target.getCelContext = cel.getCelContext.bind(cel);
@@ -13464,6 +13792,7 @@ function bindWorkspacesMethods(target, workspaces, signupRequests) {
13464
13792
  target.getWorkspaceScopes = workspaces.getWorkspaceScopes.bind(workspaces);
13465
13793
  target.getUsageDashboard = workspaces.getUsageDashboard.bind(workspaces);
13466
13794
  target.getVapidPublicKey = workspaces.getVapidPublicKey.bind(workspaces);
13795
+ target.testPushSubscription = workspaces.testPushSubscription.bind(workspaces);
13467
13796
  target.registerPushSubscription = workspaces.registerPushSubscription.bind(workspaces);
13468
13797
  target.unregisterPushSubscription = workspaces.unregisterPushSubscription.bind(workspaces);
13469
13798
  target.listPushSubscriptions = workspaces.listPushSubscriptions.bind(workspaces);
@@ -13790,6 +14119,7 @@ function bindCommunicationsMethods(target, phoneNumbers, inboxes, notificationRu
13790
14119
  target.createPhoneNumber = phoneNumbers.createPhoneNumber.bind(phoneNumbers);
13791
14120
  target.updatePhoneNumber = phoneNumbers.updatePhoneNumber.bind(phoneNumbers);
13792
14121
  target.getArchiveBlockers = phoneNumbers.getArchiveBlockers.bind(phoneNumbers);
14122
+ target.getPhoneNumberSetupStatus = phoneNumbers.getPhoneNumberSetupStatus.bind(phoneNumbers);
13793
14123
  target.archivePhoneNumber = phoneNumbers.archivePhoneNumber.bind(phoneNumbers);
13794
14124
  target.getPhoneNumberCalls = phoneNumbers.getPhoneNumberCalls.bind(phoneNumbers);
13795
14125
  target.getPhoneNumberOutboundAnalyticsSummary = phoneNumbers.getPhoneNumberOutboundAnalyticsSummary.bind(phoneNumbers);
@@ -13822,6 +14152,7 @@ function bindCommunicationsMethods(target, phoneNumbers, inboxes, notificationRu
13822
14152
  target.sendInboxEmail = inboxes.sendInboxEmail.bind(inboxes);
13823
14153
  target.previewInboxEmail = inboxes.previewInboxEmail.bind(inboxes);
13824
14154
  target.previewEmailReply = inboxes.previewEmailReply.bind(inboxes);
14155
+ target.getInboxOutboundEmailStats = inboxes.getInboxOutboundEmailStats.bind(inboxes);
13825
14156
  target.getNotificationRules = notificationRules.getNotificationRules.bind(notificationRules);
13826
14157
  target.createNotificationRule = notificationRules.createNotificationRule.bind(notificationRules);
13827
14158
  target.updateNotificationRule = notificationRules.updateNotificationRule.bind(notificationRules);
@@ -13938,7 +14269,7 @@ function bindAppsMethods(target, apps, builders, inquiries, oauth, oauthConnecti
13938
14269
  }
13939
14270
 
13940
14271
  // src/client/bindings/integrations.ts
13941
- function bindIntegrationsMethods(target, mondayIntegration, discordBots, slackApps, teamsApps, fhirConnections, patientSyncConnections, healthie, documoFax, salesforce, hubspot, appConnections, connectionSync, confluence) {
14272
+ function bindIntegrationsMethods(target, mondayIntegration, discordBots, slackApps, teamsApps, fhirConnections, patientSyncConnections, healthie, documoFax, claimMd, salesforce, hubspot, appConnections, connectionSync, confluence) {
13942
14273
  target.getMondayBoards = mondayIntegration.getBoards.bind(mondayIntegration);
13943
14274
  target.getMondayBoardColumns = mondayIntegration.getBoardColumns.bind(mondayIntegration);
13944
14275
  target.getMondayBoardGroups = mondayIntegration.getBoardGroups.bind(mondayIntegration);
@@ -13988,6 +14319,7 @@ function bindIntegrationsMethods(target, mondayIntegration, discordBots, slackAp
13988
14319
  target.deleteSlackApp = slackApps.deleteSlackApp.bind(slackApps);
13989
14320
  target.getSlackThreads = slackApps.getSlackThreads.bind(slackApps);
13990
14321
  target.getSlackInstallations = slackApps.getSlackInstallations.bind(slackApps);
14322
+ target.removeSlackInstallation = slackApps.removeSlackInstallation.bind(slackApps);
13991
14323
  target.getSlackChannelChoices = slackApps.getSlackChannelChoices.bind(slackApps);
13992
14324
  target.getSlackEntryPoints = slackApps.getSlackEntryPoints.bind(slackApps);
13993
14325
  target.connectSlackEntryPoint = slackApps.connectSlackEntryPoint.bind(slackApps);
@@ -14031,8 +14363,9 @@ function bindIntegrationsMethods(target, mondayIntegration, discordBots, slackAp
14031
14363
  target.fhirGetEncounterSyncRuns = fhirConnections.fhirGetEncounterSyncRuns.bind(fhirConnections);
14032
14364
  target.fhirRefreshEncounterPatient = fhirConnections.fhirRefreshEncounterPatient.bind(fhirConnections);
14033
14365
  target.fhirBackfillEncounterSync = fhirConnections.fhirBackfillEncounterSync.bind(fhirConnections);
14034
- target.fhirStartOnboardingImport = fhirConnections.fhirStartOnboardingImport.bind(fhirConnections);
14035
- target.fhirGetOnboardingImportStatus = fhirConnections.fhirGetOnboardingImportStatus.bind(fhirConnections);
14366
+ target.getAthenaPlatformApp = fhirConnections.getAthenaPlatformApp.bind(fhirConnections);
14367
+ target.verifyAthenaAccess = fhirConnections.verifyAthenaAccess.bind(fhirConnections);
14368
+ target.connectAthena = fhirConnections.connectAthena.bind(fhirConnections);
14036
14369
  target.configurePatientSync = patientSyncConnections.configurePatientSync.bind(patientSyncConnections);
14037
14370
  target.getPatientSyncStatus = patientSyncConnections.getPatientSyncStatus.bind(patientSyncConnections);
14038
14371
  target.deletePatientSyncConnection = patientSyncConnections.deletePatientSyncConnection.bind(patientSyncConnections);
@@ -14043,6 +14376,10 @@ function bindIntegrationsMethods(target, mondayIntegration, discordBots, slackAp
14043
14376
  target.configureDocumoFax = documoFax.configureDocumoFax.bind(documoFax);
14044
14377
  target.verifyDocumoFax = documoFax.verifyDocumoFax.bind(documoFax);
14045
14378
  target.rotateDocumoFaxCredentials = documoFax.rotateDocumoFaxCredentials.bind(documoFax);
14379
+ target.getClaimMdStatus = claimMd.getClaimMdStatus.bind(claimMd);
14380
+ target.installClaimMd = claimMd.installClaimMd.bind(claimMd);
14381
+ target.configureClaimMd = claimMd.configureClaimMd.bind(claimMd);
14382
+ target.verifyClaimMdKey = claimMd.verifyClaimMdKey.bind(claimMd);
14046
14383
  target.configureHealthie = healthie.configureHealthie.bind(healthie);
14047
14384
  target.getHealthieStatus = healthie.getHealthieStatus.bind(healthie);
14048
14385
  target.listHealthieProviders = healthie.listHealthieProviders.bind(healthie);
@@ -14104,6 +14441,10 @@ function bindIntegrationsMethods(target, mondayIntegration, discordBots, slackAp
14104
14441
  target.searchHubspotRecords = hubspot.searchHubspotRecords.bind(hubspot);
14105
14442
  target.importHubspotMembers = hubspot.importHubspotMembers.bind(hubspot);
14106
14443
  target.getHubspotContactProperties = hubspot.getHubspotContactProperties.bind(hubspot);
14444
+ target.getHubspotDealProperties = hubspot.getHubspotDealProperties.bind(hubspot);
14445
+ target.getHubspotForms = hubspot.getHubspotForms.bind(hubspot);
14446
+ target.getHubspotMeetingLinks = hubspot.getHubspotMeetingLinks.bind(hubspot);
14447
+ target.getHubspotObjectProperties = hubspot.getHubspotObjectProperties.bind(hubspot);
14107
14448
  target.getHubspotManagedRules = hubspot.getHubspotManagedRules.bind(hubspot);
14108
14449
  target.getHubspotSyncLogs = hubspot.getHubspotSyncLogs.bind(hubspot);
14109
14450
  target.getHubspotTransformPresets = hubspot.getHubspotTransformPresets.bind(hubspot);
@@ -14115,7 +14456,23 @@ function bindIntegrationsMethods(target, mondayIntegration, discordBots, slackAp
14115
14456
  target.getSyncRuns = connectionSync.getSyncRuns.bind(connectionSync);
14116
14457
  target.getSyncRunItems = connectionSync.getSyncRunItems.bind(connectionSync);
14117
14458
  target.getMemberSyncSummary = connectionSync.getMemberSyncSummary.bind(connectionSync);
14459
+ target.getConnectionFieldHomes = connectionSync.getConnectionFieldHomes.bind(connectionSync);
14460
+ target.getInboundRecordStatus = connectionSync.getInboundRecordStatus.bind(connectionSync);
14461
+ target.getConnectionWritePreview = connectionSync.getConnectionWritePreview.bind(connectionSync);
14118
14462
  target.clearConnectionMemberExclusion = connectionSync.clearConnectionMemberExclusion.bind(connectionSync);
14463
+ target.linkUnlinkedMembersByIdentity = connectionSync.linkUnlinkedMembersByIdentity.bind(connectionSync);
14464
+ target.listSubsetImports = connectionSync.listSubsetImports.bind(connectionSync);
14465
+ target.getSubsetImport = connectionSync.getSubsetImport.bind(connectionSync);
14466
+ target.createSubsetImport = connectionSync.createSubsetImport.bind(connectionSync);
14467
+ target.updateSubsetImport = connectionSync.updateSubsetImport.bind(connectionSync);
14468
+ target.deleteSubsetImport = connectionSync.deleteSubsetImport.bind(connectionSync);
14469
+ target.previewSubsetImportSelection = connectionSync.previewSubsetImportSelection.bind(connectionSync);
14470
+ target.previewSubsetImport = connectionSync.previewSubsetImport.bind(connectionSync);
14471
+ target.runSubsetImport = connectionSync.runSubsetImport.bind(connectionSync);
14472
+ target.cancelSubsetImport = connectionSync.cancelSubsetImport.bind(connectionSync);
14473
+ target.listSubsetImportRuns = connectionSync.listSubsetImportRuns.bind(connectionSync);
14474
+ target.listSubsetImportVendorLists = connectionSync.listSubsetImportVendorLists.bind(connectionSync);
14475
+ target.listSubsetImportFilterFields = connectionSync.listSubsetImportFilterFields.bind(connectionSync);
14119
14476
  target.listAvailableAppConnections = appConnections.listAvailableAppConnections.bind(appConnections);
14120
14477
  target.listAppConnections = appConnections.listAppConnections.bind(appConnections);
14121
14478
  target.enablePlatformApp = appConnections.enablePlatformApp.bind(appConnections);
@@ -14276,6 +14633,7 @@ function bindJourneysMethods(target, journeys) {
14276
14633
  target.getJourneyV2Validation = journeys.getJourneyV2Validation.bind(journeys);
14277
14634
  target.getJourneyFilterOptions = journeys.getJourneyFilterOptions.bind(journeys);
14278
14635
  target.getJourneyHealth = journeys.getJourneyHealth.bind(journeys);
14636
+ target.getJourneySendEstimate = journeys.getJourneySendEstimate.bind(journeys);
14279
14637
  target.cloneJourneyAsV2 = journeys.cloneJourneyAsV2.bind(journeys);
14280
14638
  target.createJourney = journeys.createJourney.bind(journeys);
14281
14639
  target.updateJourney = journeys.updateJourney.bind(journeys);
@@ -14320,11 +14678,14 @@ function bindQualificationsMethods(target, qualifications) {
14320
14678
  target.deleteScenario = qualifications.deleteScenario.bind(qualifications);
14321
14679
  target.listTestChatRuns = qualifications.listTestChatRuns.bind(qualifications);
14322
14680
  target.listScenarioHealthSummaries = qualifications.listScenarioHealthSummaries.bind(qualifications);
14681
+ target.getChatTestRun = qualifications.getChatTestRun.bind(qualifications);
14323
14682
  target.getTestChatRun = qualifications.getTestChatRun.bind(qualifications);
14324
14683
  target.listChatCapturedEffects = qualifications.listChatCapturedEffects.bind(qualifications);
14325
14684
  target.listChatRecordChanges = qualifications.listChatRecordChanges.bind(qualifications);
14326
14685
  target.takeTestChatRunEmailTurn = qualifications.takeTestChatRunEmailTurn.bind(qualifications);
14327
14686
  target.takeTestChatRunSmsTurn = qualifications.takeTestChatRunSmsTurn.bind(qualifications);
14687
+ target.captureScenarioDraft = qualifications.captureScenarioDraft.bind(qualifications);
14688
+ target.promoteTestChatFeedback = qualifications.promoteTestChatFeedback.bind(qualifications);
14328
14689
  target.startTestChatRun = qualifications.startTestChatRun.bind(qualifications);
14329
14690
  target.evaluateTestChatRun = qualifications.evaluateTestChatRun.bind(qualifications);
14330
14691
  target.endTestChatRun = qualifications.endTestChatRun.bind(qualifications);
@@ -14334,6 +14695,9 @@ function bindQualificationsMethods(target, qualifications) {
14334
14695
  function bindPersonasMethods(target, personas) {
14335
14696
  target.listPersonas = personas.listPersonas.bind(personas);
14336
14697
  target.getPersona = personas.getPersona.bind(personas);
14698
+ target.getPersonaTestMember = personas.getPersonaTestMember.bind(personas);
14699
+ target.createPersonaTestMember = personas.createPersonaTestMember.bind(personas);
14700
+ target.resetPersonaTestMember = personas.resetPersonaTestMember.bind(personas);
14337
14701
  target.createPersona = personas.createPersona.bind(personas);
14338
14702
  target.updatePersona = personas.updatePersona.bind(personas);
14339
14703
  target.archivePersona = personas.archivePersona.bind(personas);
@@ -14479,6 +14843,7 @@ var GravityRailClient = class {
14479
14843
  updateChat;
14480
14844
  getChatModelOverride;
14481
14845
  updateChatModelOverride;
14846
+ setChatStar;
14482
14847
  updateChatMute;
14483
14848
  summarizeChat;
14484
14849
  getChatMessages;
@@ -14512,8 +14877,8 @@ var GravityRailClient = class {
14512
14877
  getChatFilterCount;
14513
14878
  // Calls API
14514
14879
  getPhoneCalls;
14880
+ getPhoneCallByUuid;
14515
14881
  getMessageTiming;
14516
- getRecordingInfo;
14517
14882
  getEdgeCaptureInfo;
14518
14883
  getCallRecordingDownloadUrl;
14519
14884
  getCelContext;
@@ -14658,11 +15023,14 @@ var GravityRailClient = class {
14658
15023
  deleteScenario;
14659
15024
  listTestChatRuns;
14660
15025
  listScenarioHealthSummaries;
15026
+ getChatTestRun;
14661
15027
  getTestChatRun;
14662
15028
  listChatCapturedEffects;
14663
15029
  listChatRecordChanges;
14664
15030
  takeTestChatRunEmailTurn;
14665
15031
  takeTestChatRunSmsTurn;
15032
+ captureScenarioDraft;
15033
+ promoteTestChatFeedback;
14666
15034
  startTestChatRun;
14667
15035
  evaluateTestChatRun;
14668
15036
  endTestChatRun;
@@ -14676,6 +15044,9 @@ var GravityRailClient = class {
14676
15044
  previewDataReport;
14677
15045
  listPersonas;
14678
15046
  getPersona;
15047
+ getPersonaTestMember;
15048
+ createPersonaTestMember;
15049
+ resetPersonaTestMember;
14679
15050
  createPersona;
14680
15051
  updatePersona;
14681
15052
  archivePersona;
@@ -14746,6 +15117,7 @@ var GravityRailClient = class {
14746
15117
  getJourneyV2Validation;
14747
15118
  getJourneyFilterOptions;
14748
15119
  getJourneyHealth;
15120
+ getJourneySendEstimate;
14749
15121
  cloneJourneyAsV2;
14750
15122
  createJourney;
14751
15123
  updateJourney;
@@ -14972,6 +15344,7 @@ var GravityRailClient = class {
14972
15344
  setWorkspaceLabels;
14973
15345
  previewWorkspaceScope;
14974
15346
  getVapidPublicKey;
15347
+ testPushSubscription;
14975
15348
  registerPushSubscription;
14976
15349
  unregisterPushSubscription;
14977
15350
  listPushSubscriptions;
@@ -15251,6 +15624,7 @@ var GravityRailClient = class {
15251
15624
  createPhoneNumber;
15252
15625
  updatePhoneNumber;
15253
15626
  getArchiveBlockers;
15627
+ getPhoneNumberSetupStatus;
15254
15628
  archivePhoneNumber;
15255
15629
  getPhoneNumberCalls;
15256
15630
  getPhoneNumberOutboundAnalyticsSummary;
@@ -15283,6 +15657,7 @@ var GravityRailClient = class {
15283
15657
  sendInboxEmail;
15284
15658
  previewInboxEmail;
15285
15659
  previewEmailReply;
15660
+ getInboxOutboundEmailStats;
15286
15661
  getNotificationRules;
15287
15662
  createNotificationRule;
15288
15663
  updateNotificationRule;
@@ -15447,6 +15822,7 @@ var GravityRailClient = class {
15447
15822
  deleteSlackApp;
15448
15823
  getSlackThreads;
15449
15824
  getSlackInstallations;
15825
+ removeSlackInstallation;
15450
15826
  getSlackChannelChoices;
15451
15827
  getSlackEntryPoints;
15452
15828
  connectSlackEntryPoint;
@@ -15492,8 +15868,9 @@ var GravityRailClient = class {
15492
15868
  fhirGetEncounterSyncRuns;
15493
15869
  fhirRefreshEncounterPatient;
15494
15870
  fhirBackfillEncounterSync;
15495
- fhirStartOnboardingImport;
15496
- fhirGetOnboardingImportStatus;
15871
+ getAthenaPlatformApp;
15872
+ verifyAthenaAccess;
15873
+ connectAthena;
15497
15874
  // Healthie API
15498
15875
  getDocumoFaxStatus;
15499
15876
  getDocumoFaxSetup;
@@ -15502,6 +15879,10 @@ var GravityRailClient = class {
15502
15879
  configureDocumoFax;
15503
15880
  verifyDocumoFax;
15504
15881
  rotateDocumoFaxCredentials;
15882
+ getClaimMdStatus;
15883
+ installClaimMd;
15884
+ configureClaimMd;
15885
+ verifyClaimMdKey;
15505
15886
  configurePatientSync;
15506
15887
  getPatientSyncStatus;
15507
15888
  deletePatientSyncConnection;
@@ -15569,6 +15950,10 @@ var GravityRailClient = class {
15569
15950
  searchHubspotRecords;
15570
15951
  importHubspotMembers;
15571
15952
  getHubspotContactProperties;
15953
+ getHubspotDealProperties;
15954
+ getHubspotForms;
15955
+ getHubspotMeetingLinks;
15956
+ getHubspotObjectProperties;
15572
15957
  getHubspotManagedRules;
15573
15958
  getHubspotSyncLogs;
15574
15959
  getHubspotTransformPresets;
@@ -15581,7 +15966,23 @@ var GravityRailClient = class {
15581
15966
  getSyncRuns;
15582
15967
  getSyncRunItems;
15583
15968
  getMemberSyncSummary;
15969
+ getConnectionFieldHomes;
15970
+ getInboundRecordStatus;
15971
+ getConnectionWritePreview;
15584
15972
  clearConnectionMemberExclusion;
15973
+ linkUnlinkedMembersByIdentity;
15974
+ listSubsetImports;
15975
+ getSubsetImport;
15976
+ createSubsetImport;
15977
+ updateSubsetImport;
15978
+ deleteSubsetImport;
15979
+ previewSubsetImportSelection;
15980
+ previewSubsetImport;
15981
+ runSubsetImport;
15982
+ cancelSubsetImport;
15983
+ listSubsetImportRuns;
15984
+ listSubsetImportVendorLists;
15985
+ listSubsetImportFilterFields;
15585
15986
  // App Connections API
15586
15987
  listAvailableAppConnections;
15587
15988
  listAppConnections;
@@ -15718,6 +16119,7 @@ var GravityRailClient = class {
15718
16119
  apis.patientSyncConnections,
15719
16120
  apis.healthie,
15720
16121
  apis.documoFax,
16122
+ apis.claimMd,
15721
16123
  apis.salesforce,
15722
16124
  apis.hubspot,
15723
16125
  apis.appConnections,
@@ -16281,7 +16683,7 @@ function isChatType(value) {
16281
16683
  // src/constants/models.ts
16282
16684
  var DEFAULT_CHAT_MODEL = "openai:chat:gpt-6-luna";
16283
16685
  var DEFAULT_AGENT_CHAT_MODEL = "openai:chat:gpt-6-luna";
16284
- var DEFAULT_AGENT_REALTIME_MODEL = "xai:realtime:voice-agent-2";
16686
+ var DEFAULT_AGENT_REALTIME_MODEL = "xai:realtime:voice-agent-3";
16285
16687
  var DEFAULT_AGENT_REALTIME_MODEL_CONFIG = {
16286
16688
  ttsModel: "native",
16287
16689
  voiceModel: "xai:voice:cosmo"
@@ -17362,6 +17764,7 @@ export {
17362
17764
  FhirClientType,
17363
17765
  CrmActivityKind,
17364
17766
  RunHealthCategory,
17767
+ SeedSpeaker,
17365
17768
  TestChatRunLane,
17366
17769
  TestChatRunOutcome,
17367
17770
  CapturedEffectDirection,
@@ -17532,4 +17935,4 @@ export {
17532
17935
  pathDraftFromStorage,
17533
17936
  pathDraftToStorage
17534
17937
  };
17535
- //# sourceMappingURL=chunk-BQOKENBF.js.map
17938
+ //# sourceMappingURL=chunk-7ABBH5CC.js.map