@gravity-rail/sdk 0.56.0 → 0.57.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (35) hide show
  1. package/dist/{chat-interaction-B1pEnDf4.d.ts → chat-interaction-Bs0O3lwb.d.cts} +4019 -2446
  2. package/dist/{chat-interaction-Bb1dQ6iL.d.cts → chat-interaction-dRnhgwb-.d.ts} +4019 -2446
  3. package/dist/{chunk-BQOKENBF.js → chunk-7ABBH5CC.js} +471 -68
  4. package/dist/chunk-7ABBH5CC.js.map +1 -0
  5. package/dist/{chunk-HXVJF54M.js → chunk-D5VNVTUQ.js} +1 -1
  6. package/dist/chunk-D5VNVTUQ.js.map +1 -0
  7. package/dist/helpers.d.cts +4 -4
  8. package/dist/helpers.d.ts +4 -4
  9. package/dist/index.cjs +474 -67
  10. package/dist/index.cjs.map +1 -1
  11. package/dist/index.d.cts +6 -6
  12. package/dist/index.d.ts +6 -6
  13. package/dist/index.js +7 -2
  14. package/dist/index.js.map +1 -1
  15. package/dist/internal.cjs +471 -67
  16. package/dist/internal.cjs.map +1 -1
  17. package/dist/internal.d.cts +6 -136
  18. package/dist/internal.d.ts +6 -136
  19. package/dist/internal.js +4 -2
  20. package/dist/internal.js.map +1 -1
  21. package/dist/{member-import-DzuvKnMC.d.cts → member-import-C9XwZqm4.d.cts} +1 -1
  22. package/dist/{member-import-D1QvZiy5.d.ts → member-import-CdXiqRFM.d.ts} +1 -1
  23. package/dist/{path-Q4WIJjcE.d.cts → path-6wcAgEJR.d.cts} +3 -3
  24. package/dist/{path-CoJI_rv9.d.ts → path-B08DHrW4.d.ts} +3 -3
  25. package/dist/schemas.cjs +79 -41
  26. package/dist/schemas.cjs.map +1 -1
  27. package/dist/schemas.d.cts +148 -6
  28. package/dist/schemas.d.ts +148 -6
  29. package/dist/schemas.js +78 -42
  30. package/dist/schemas.js.map +1 -1
  31. package/dist/{tasks-BdYhYUpU.d.cts → tasks-BPvueNi2.d.cts} +1009 -836
  32. package/dist/{tasks-BdYhYUpU.d.ts → tasks-BPvueNi2.d.ts} +1009 -836
  33. package/package.json +3 -3
  34. package/dist/chunk-BQOKENBF.js.map +0 -1
  35. package/dist/chunk-HXVJF54M.js.map +0 -1
package/dist/index.cjs CHANGED
@@ -199,6 +199,7 @@ __export(src_exports, {
199
199
  Scope: () => Scope,
200
200
  ScopeCategory: () => ScopeCategory,
201
201
  ScopeManager: () => ScopeManager,
202
+ SeedSpeaker: () => SeedSpeaker,
202
203
  SendingNextStep: () => SendingNextStep,
203
204
  SendingStopState: () => SendingStopState,
204
205
  SetInstallationPolicyRequestUpgradePolicy: () => SetInstallationPolicyRequestUpgradePolicy,
@@ -1269,11 +1270,15 @@ var AIModelsApi = class extends BaseApiClient {
1269
1270
  return this.fetch("ai-models/manager");
1270
1271
  }
1271
1272
  /**
1272
- * Get available realtime AI models
1273
+ * Get available realtime AI models.
1274
+ *
1275
+ * `includeHidden` also lists models no longer offered for new selection
1276
+ * (deprecated, flagged `hidden: true`), so a saved selection can be named.
1273
1277
  */
1274
- async getRealtimeModels(provider) {
1278
+ async getRealtimeModels(provider, options) {
1275
1279
  const searchParams = new URLSearchParams();
1276
1280
  if (provider) searchParams.append("provider", provider);
1281
+ if (options?.includeHidden) searchParams.append("includeHidden", "true");
1277
1282
  const queryString = searchParams.toString();
1278
1283
  const url = queryString ? `ai-models/realtime?${queryString}` : "ai-models/realtime";
1279
1284
  return this.fetch(url);
@@ -2281,6 +2286,18 @@ var CallsApi = class extends BaseApiClient {
2281
2286
  `w/${wid}/calls${params.toString() ? `?${params.toString()}` : ""}`
2282
2287
  );
2283
2288
  }
2289
+ /**
2290
+ * Get one phone call by uuid — the subject a `call.*` Activity event names.
2291
+ *
2292
+ * Authorization is the call's own chat (`chats:read`, then the chat access
2293
+ * policy), so a call with no chat, or one the caller's chat access does not
2294
+ * reach, is a 404. The response carries `chatId`/`chatUuid`, the terminal
2295
+ * disposition axes and `workflowId`, which is what an Activity call card
2296
+ * needs to show the call's outcome and link to its conversation.
2297
+ */
2298
+ async getPhoneCallByUuid(wid, uuid) {
2299
+ return this.fetch(`w/${wid}/calls/by-uuid/${encodeURIComponent(uuid)}`);
2300
+ }
2284
2301
  /**
2285
2302
  * Get message timing data for a chat recording. `source` selects whose
2286
2303
  * timeline the offsets are measured against; omitted means `standard`.
@@ -2301,19 +2318,11 @@ var CallsApi = class extends BaseApiClient {
2301
2318
  async getEdgeCaptureInfo(wid, chatId) {
2302
2319
  return this.fetch(`w/${wid}/recordings/chat/${chatId}/edge-capture`);
2303
2320
  }
2304
- /**
2305
- * Get PHI-safe provenance metadata for the recording served by
2306
- * `/audio.wav` — source, encryption, channels, duration, status, etc.
2307
- * Staff-only Twilio SIDs are present only for superusers. Returns 404
2308
- * when the chat has no native recording row.
2309
- */
2310
- async getRecordingInfo(wid, chatId) {
2311
- return this.fetch(`w/${wid}/recordings/chat/${chatId}/info`);
2312
- }
2313
2321
  /**
2314
2322
  * Get a single short-lived presigned URL to download the complete call
2315
- * recording as one file: the playable Twilio-native recording, else the
2316
- * complete internal recording. 404 when neither is available.
2323
+ * recording as one file: the complete internal recording, else the newest
2324
+ * ready stored recording (`twilio_native` or `legacy_chunks`). 404 when
2325
+ * neither is available.
2317
2326
  */
2318
2327
  async getCallRecordingDownloadUrl(wid, chatId, options = {}) {
2319
2328
  const params = new URLSearchParams();
@@ -2630,6 +2639,13 @@ var ChatsApi = class extends BaseApiClient {
2630
2639
  body: JSON.stringify(override)
2631
2640
  });
2632
2641
  }
2642
+ /** Set the authenticated Member's personal star without changing Chat access. */
2643
+ async setChatStar(wid, id, isStarred) {
2644
+ return this.fetch(`w/${wid}/chats/${id}/star`, {
2645
+ method: "PUT",
2646
+ body: JSON.stringify({ isStarred })
2647
+ });
2648
+ }
2633
2649
  /** Update the mute status of a chat. */
2634
2650
  async updateChatMute(wid, id, muted, muteReason, muteExpiresOnInbound) {
2635
2651
  return this.fetch(`w/${wid}/chats/${id}/mute`, {
@@ -3609,9 +3625,16 @@ var DiscordBotsApi = class extends BaseApiClient {
3609
3625
 
3610
3626
  // src/api/slack-apps.ts
3611
3627
  var SlackAppsApi = class extends BaseApiClient {
3612
- async getSlackChannelChoices(wid, appId, cursor) {
3628
+ async removeSlackInstallation(wid, appId, installationId) {
3629
+ return this.fetch(
3630
+ `w/${wid}/app-connections/slack/apps/${appId}/installations/${installationId}`,
3631
+ { method: "DELETE" }
3632
+ );
3633
+ }
3634
+ async getSlackChannelChoices(wid, appId, cursor, teamId) {
3613
3635
  const params = new URLSearchParams({ appId: String(appId) });
3614
3636
  if (cursor) params.set("cursor", cursor);
3637
+ if (teamId) params.set("teamId", teamId);
3615
3638
  return this.fetch(
3616
3639
  `w/${wid}/app-connections/slack/channel-choices?${params}`
3617
3640
  );
@@ -3692,6 +3715,8 @@ var SlackAppsApi = class extends BaseApiClient {
3692
3715
  const params = new URLSearchParams();
3693
3716
  if (options.page) params.append("page", options.page.toString());
3694
3717
  if (options.pageSize) params.append("pageSize", options.pageSize.toString());
3718
+ if (options.search) params.set("search", options.search);
3719
+ if (options.connection) params.set("connection", options.connection);
3695
3720
  return this.fetch(
3696
3721
  `w/${wid}/app-connections/slack/apps/${appId}/installations${params.toString() ? `?${params.toString()}` : ""}`
3697
3722
  );
@@ -4141,6 +4166,36 @@ var FhirConnectionsApi = class extends BaseApiClient {
4141
4166
  body: JSON.stringify(data)
4142
4167
  });
4143
4168
  }
4169
+ /**
4170
+ * Which environments of the shared Gravity Rail athenahealth app this
4171
+ * deployment can use. Requires `apps:read`.
4172
+ */
4173
+ async getAthenaPlatformApp(wid) {
4174
+ return this.fetch(
4175
+ `w/${wid}/app-connections/fhir/athena/platform-app`
4176
+ );
4177
+ }
4178
+ /**
4179
+ * Check that the Gravity Rail athenahealth app can reach a practice in an
4180
+ * environment. Saves nothing. Requires `apps:write`.
4181
+ */
4182
+ async verifyAthenaAccess(wid, data) {
4183
+ return this.fetch(
4184
+ `w/${wid}/app-connections/fhir/athena/verify-access`,
4185
+ { method: "POST", body: JSON.stringify(data) }
4186
+ );
4187
+ }
4188
+ /**
4189
+ * Create an athenahealth connection through the shared Gravity Rail app.
4190
+ * The server re-runs the access probe and answers 400 with
4191
+ * `detail: { code, message }` when it fails. Requires `apps:write`.
4192
+ */
4193
+ async connectAthena(wid, data) {
4194
+ return this.fetch(`w/${wid}/app-connections/fhir/athena/connections`, {
4195
+ method: "POST",
4196
+ body: JSON.stringify(data)
4197
+ });
4198
+ }
4144
4199
  /**
4145
4200
  * Update an existing FHIR connection configuration.
4146
4201
  */
@@ -4359,36 +4414,6 @@ var FhirConnectionsApi = class extends BaseApiClient {
4359
4414
  { method: "POST", body: JSON.stringify(data) }
4360
4415
  );
4361
4416
  }
4362
- /**
4363
- * Start, resume, override or preview (dry run) an athenahealth connection's
4364
- * onboarding import. The body is exactly the three mode flags; the server
4365
- * traverses the connection's configured department/status pairs. Returns
4366
- * 202 with the Temporal workflow and run ids. Requires `workspace:admin`.
4367
- */
4368
- async fhirStartOnboardingImport(wid, connectionId, data = {}) {
4369
- const body = {
4370
- dryRun: data.dryRun ?? false,
4371
- resume: data.resume ?? false,
4372
- override: data.override ?? false
4373
- };
4374
- return this.fetch(
4375
- `w/${wid}/app-connections/fhir/connections/${connectionId}/onboarding-import`,
4376
- {
4377
- method: "POST",
4378
- body: JSON.stringify(body)
4379
- }
4380
- );
4381
- }
4382
- /**
4383
- * Read an athenahealth connection's onboarding-import progress (durable,
4384
- * approximate totals) and its known Temporal execution. GET-only: never
4385
- * starts or resumes work. Requires `workspace:admin`.
4386
- */
4387
- async fhirGetOnboardingImportStatus(wid, connectionId) {
4388
- return this.fetch(
4389
- `w/${wid}/app-connections/fhir/connections/${connectionId}/onboarding-import`
4390
- );
4391
- }
4392
4417
  };
4393
4418
 
4394
4419
  // src/api/patientsync-connections.ts
@@ -4410,6 +4435,33 @@ var PatientSyncConnectionsApi = class extends BaseApiClient {
4410
4435
  }
4411
4436
  };
4412
4437
 
4438
+ // src/api/claim-md.ts
4439
+ var ClaimMdApi = class extends BaseApiClient {
4440
+ async getClaimMdStatus(wid) {
4441
+ return this.fetch(`w/${wid}/app-connections/claim-md/status`);
4442
+ }
4443
+ /** Sends `{}` deliberately: the route requires a JSON body as a CSRF barrier. */
4444
+ async installClaimMd(wid) {
4445
+ return this.fetch(`w/${wid}/app-connections/claim-md/install`, {
4446
+ method: "POST",
4447
+ body: JSON.stringify({})
4448
+ });
4449
+ }
4450
+ async configureClaimMd(wid, data) {
4451
+ return this.fetch(`w/${wid}/app-connections/claim-md/configure`, {
4452
+ method: "POST",
4453
+ body: JSON.stringify(data)
4454
+ });
4455
+ }
4456
+ /** Checks a pasted AccountKey without storing it. */
4457
+ async verifyClaimMdKey(wid, data) {
4458
+ return this.fetch(`w/${wid}/app-connections/claim-md/verify`, {
4459
+ method: "POST",
4460
+ body: JSON.stringify(data)
4461
+ });
4462
+ }
4463
+ };
4464
+
4413
4465
  // src/types/generated/inbound_fax.ts
4414
4466
  var InboundFaxStatus = {
4415
4467
  pending: "pending",
@@ -5070,6 +5122,23 @@ var InboxesApi = class extends BaseApiClient {
5070
5122
  );
5071
5123
  return response.arrayBuffer();
5072
5124
  }
5125
+ /**
5126
+ * Reply and bounce rates for the emails one inbox sent in a period.
5127
+ *
5128
+ * `dateFrom` (inclusive) and `dateTo` (exclusive) are ISO 8601 instants with
5129
+ * an offset and must be passed together, at most 90 days apart; omit both
5130
+ * for the server's rolling last 30 days. Requires `inboxes:read` and
5131
+ * `analytics:read` plus admin access to the inbox. Aggregates only.
5132
+ */
5133
+ async getInboxOutboundEmailStats(wid, inboxId, period = {}) {
5134
+ const params = new URLSearchParams();
5135
+ if (period.dateFrom) params.append("date_from", period.dateFrom);
5136
+ if (period.dateTo) params.append("date_to", period.dateTo);
5137
+ const query = params.toString();
5138
+ return this.fetch(
5139
+ `w/${wid}/inboxes/${inboxId}/outbound-email-stats${query ? `?${query}` : ""}`
5140
+ );
5141
+ }
5073
5142
  /** List email threads in an inbox. */
5074
5143
  async getInboxThreads(wid, inboxId) {
5075
5144
  return this.fetch(`w/${wid}/inboxes/${inboxId}/threads`);
@@ -7394,6 +7463,18 @@ var OrgApi = class extends BaseApiClient {
7394
7463
  async listA2PBrands(orgUuid) {
7395
7464
  return this.fetch(`o/${orgUuid}/a2p-brands`);
7396
7465
  }
7466
+ /**
7467
+ * Poll Twilio for one brand now and record its brand and campaign statuses,
7468
+ * as the scheduled sync would. Returns the brand as recorded afterwards,
7469
+ * without the live workflow fields `getA2PBrand` adds.
7470
+ */
7471
+ async syncA2PBrand(orgUuid, brandUuid) {
7472
+ return this.fetch(
7473
+ `o/${orgUuid}/a2p-brands/${brandUuid}/sync`,
7474
+ // Empty JSON body is the CSRF barrier the route requires (GRA-6284).
7475
+ { method: "POST", body: JSON.stringify({}) }
7476
+ );
7477
+ }
7397
7478
  /**
7398
7479
  * Live per-brand campaign use-case eligibility. Approved brands only — a
7399
7480
  * brand still under TCR review comes back as a structured 412 the picker
@@ -7883,6 +7964,14 @@ var PhoneNumbersApi = class extends BaseApiClient {
7883
7964
  async getPhoneNumber(wid, id) {
7884
7965
  return this.fetch(`w/${wid}/phone-numbers/${id}`);
7885
7966
  }
7967
+ /**
7968
+ * What this number still needs from its organization: the texting and
7969
+ * caller ID registration states of the business it belongs to. States only —
7970
+ * readable with `phones:read`, so it carries none of the business's forms.
7971
+ */
7972
+ async getPhoneNumberSetupStatus(wid, id) {
7973
+ return this.fetch(`w/${wid}/phone-numbers/${id}/setup-status`);
7974
+ }
7886
7975
  /** Create a new phone number record. */
7887
7976
  async createPhoneNumber(wid, phoneNumber) {
7888
7977
  return this.fetch(`w/${wid}/phone-numbers`, {
@@ -8197,6 +8286,21 @@ var PersonasApi = class extends BaseApiClient {
8197
8286
  async getPersona(wid, id) {
8198
8287
  return this.fetch(`w/${wid}/personas/${id}`);
8199
8288
  }
8289
+ async getPersonaTestMember(wid, id) {
8290
+ return this.fetch(`w/${wid}/personas/${id}/test-member`);
8291
+ }
8292
+ async createPersonaTestMember(wid, id) {
8293
+ return this.fetch(`w/${wid}/personas/${id}/test-member`, {
8294
+ method: "POST",
8295
+ body: JSON.stringify({})
8296
+ });
8297
+ }
8298
+ async resetPersonaTestMember(wid, id) {
8299
+ return this.fetch(`w/${wid}/personas/${id}/test-member/reset`, {
8300
+ method: "POST",
8301
+ body: JSON.stringify({})
8302
+ });
8303
+ }
8200
8304
  async createPersona(wid, data) {
8201
8305
  return this.fetch(`w/${wid}/personas`, {
8202
8306
  method: "POST",
@@ -8372,6 +8476,21 @@ var ProjectsApi = class extends BaseApiClient {
8372
8476
 
8373
8477
  // src/api/qualifications.ts
8374
8478
  var QualificationsApi = class extends BaseApiClient {
8479
+ /** Copy an authorized test Chat prefix into an editable Scenario draft. */
8480
+ async captureScenarioDraft(wid, chatId, throughMessageId) {
8481
+ return this.fetch(`w/${wid}/qualifications/chats/${chatId}/scenario-draft`, {
8482
+ method: "POST",
8483
+ body: JSON.stringify({ throughMessageId })
8484
+ });
8485
+ }
8486
+ /** Pause before the next Persona turn; a current Agent reply may finish. */
8487
+ /** Turn feedback into an explicitly authored rubric on the same Workflow. */
8488
+ async promoteTestChatFeedback(wid, runId, request) {
8489
+ return this.fetch(`w/${wid}/qualifications/test-chat-runs/${runId}/feedback/criterion`, {
8490
+ method: "POST",
8491
+ body: JSON.stringify(request)
8492
+ });
8493
+ }
8375
8494
  /** List qualifications in a workspace, paginated. */
8376
8495
  async getQualifications(wid, params) {
8377
8496
  const query = new URLSearchParams();
@@ -8463,6 +8582,12 @@ var QualificationsApi = class extends BaseApiClient {
8463
8582
  `w/${wid}/qualifications/workflows/${workflowId}/scenario-health-summaries${qs}`
8464
8583
  );
8465
8584
  }
8585
+ /** The saved run of a test Chat, including its driver and completion state. */
8586
+ async getChatTestRun(wid, chatId) {
8587
+ return this.fetch(
8588
+ `w/${wid}/qualifications/chats/${chatId}/test-chat-run`
8589
+ );
8590
+ }
8466
8591
  async getTestChatRun(wid, runId) {
8467
8592
  return this.fetch(`w/${wid}/qualifications/test-chat-runs/${runId}`);
8468
8593
  }
@@ -8785,9 +8910,9 @@ var SalesforceApi = class extends BaseApiClient {
8785
8910
  });
8786
8911
  }
8787
8912
  /**
8788
- * Start a durable run that links unlinked members by Salesforce Id / email
8789
- * and hydrates them. One run per connection; a second start while one is
8790
- * in flight is 409.
8913
+ * @deprecated Use `linkUnlinkedMembersByIdentity(wid, connectionId)`, which
8914
+ * serves every connector that links by identity. This calls the retained
8915
+ * Salesforce-only route and will be removed once no caller remains.
8791
8916
  */
8792
8917
  async linkUnlinkedSalesforceMembersByIdentity(wid) {
8793
8918
  return this.fetch(
@@ -8914,6 +9039,20 @@ var ConnectionSyncApi = class extends BaseApiClient {
8914
9039
  { method: "PUT", body: JSON.stringify(data) }
8915
9040
  );
8916
9041
  }
9042
+ async getConnectionFieldHomes(wid, connectionId) {
9043
+ return this.fetch(`w/${wid}/app-connections/${connectionId}/field-homes`);
9044
+ }
9045
+ /** Each inbound record source's latest pass: closed status, times and counts. */
9046
+ async getInboundRecordStatus(wid, connectionId) {
9047
+ return this.fetch(
9048
+ `w/${wid}/app-connections/${connectionId}/inbound-records/status`
9049
+ );
9050
+ }
9051
+ async getConnectionWritePreview(wid, connectionId, memberId) {
9052
+ return this.fetch(
9053
+ `w/${wid}/app-connections/${connectionId}/write-preview/members/${memberId}`
9054
+ );
9055
+ }
8917
9056
  async getConnectionSyncCheckpoint(wid, connectionId, direction = "inbound", syncKey = "default") {
8918
9057
  const query = new URLSearchParams({
8919
9058
  direction,
@@ -8976,6 +9115,108 @@ var ConnectionSyncApi = class extends BaseApiClient {
8976
9115
  { method: "DELETE" }
8977
9116
  );
8978
9117
  }
9118
+ /**
9119
+ * Start a durable run that links the connection's unlinked members to
9120
+ * remote records by identity (email, phone, or the vendor's own key) and
9121
+ * hydrates them. Served for any connector that declares a remote identity
9122
+ * resolver (Salesforce, HubSpot); another connector is 400. One run per
9123
+ * connection: a second start while one is in flight is 409.
9124
+ */
9125
+ async linkUnlinkedMembersByIdentity(wid, connectionId) {
9126
+ return this.fetch(
9127
+ `w/${wid}/app-connections/${connectionId}/link-unlinked-by-identity`,
9128
+ { method: "POST", body: JSON.stringify({}) }
9129
+ );
9130
+ }
9131
+ // --- Saved subset imports (Integration Standard IM-1..IM-4) ---------------
9132
+ subsetImportsPath(wid, connectionId, suffix2 = "") {
9133
+ return `w/${wid}/app-connections/${connectionId}/subset-imports${suffix2}`;
9134
+ }
9135
+ /** The connection's saved imports, newest first, and the kinds it accepts. */
9136
+ async listSubsetImports(wid, connectionId) {
9137
+ return this.fetch(this.subsetImportsPath(wid, connectionId));
9138
+ }
9139
+ async getSubsetImport(wid, connectionId, importId) {
9140
+ return this.fetch(
9141
+ this.subsetImportsPath(wid, connectionId, `/${encodeURIComponent(importId)}`)
9142
+ );
9143
+ }
9144
+ /** Save a named selection. Saving never reads the vendor or imports. */
9145
+ async createSubsetImport(wid, connectionId, data) {
9146
+ return this.fetch(this.subsetImportsPath(wid, connectionId), {
9147
+ method: "POST",
9148
+ body: JSON.stringify(data)
9149
+ });
9150
+ }
9151
+ /** Replace a saved selection. A changed selection resets its progress. */
9152
+ async updateSubsetImport(wid, connectionId, importId, data) {
9153
+ return this.fetch(
9154
+ this.subsetImportsPath(wid, connectionId, `/${encodeURIComponent(importId)}`),
9155
+ { method: "PUT", body: JSON.stringify(data) }
9156
+ );
9157
+ }
9158
+ /** Remove a saved import. Its Members and links stay. */
9159
+ async deleteSubsetImport(wid, connectionId, importId) {
9160
+ await this.fetch(
9161
+ this.subsetImportsPath(wid, connectionId, `/${encodeURIComponent(importId)}`),
9162
+ { method: "DELETE" }
9163
+ );
9164
+ }
9165
+ /** Count and sample an unsaved selection. Never writes. */
9166
+ async previewSubsetImportSelection(wid, connectionId, selection) {
9167
+ return this.fetch(
9168
+ this.subsetImportsPath(wid, connectionId, "/preview"),
9169
+ { method: "POST", body: JSON.stringify({ selection }) }
9170
+ );
9171
+ }
9172
+ /** Count and sample a saved selection. Never writes. */
9173
+ async previewSubsetImport(wid, connectionId, importId) {
9174
+ return this.fetch(
9175
+ this.subsetImportsPath(wid, connectionId, `/${encodeURIComponent(importId)}/preview`),
9176
+ // The CSRF barrier refuses a body-less POST (422); `{}` is the request.
9177
+ { method: "POST", body: JSON.stringify({}) }
9178
+ );
9179
+ }
9180
+ /**
9181
+ * Start the import in the background (202). A failed or cancelled import
9182
+ * resumes where it stopped unless `restart` is true.
9183
+ */
9184
+ async runSubsetImport(wid, connectionId, importId, options) {
9185
+ return this.fetch(
9186
+ this.subsetImportsPath(wid, connectionId, `/${encodeURIComponent(importId)}/run`),
9187
+ { method: "POST", body: JSON.stringify({ restart: options?.restart ?? false }) }
9188
+ );
9189
+ }
9190
+ /** Ask a running import to stop (202); its progress is kept for a resume. */
9191
+ async cancelSubsetImport(wid, connectionId, importId) {
9192
+ return this.fetch(
9193
+ this.subsetImportsPath(wid, connectionId, `/${encodeURIComponent(importId)}/cancel`),
9194
+ // The CSRF barrier refuses a body-less POST (422); `{}` is the request.
9195
+ { method: "POST", body: JSON.stringify({}) }
9196
+ );
9197
+ }
9198
+ /** The connection's import-run history, newest first (counts only). */
9199
+ async listSubsetImportRuns(wid, connectionId, limit = 20) {
9200
+ return this.fetch(
9201
+ this.subsetImportsPath(wid, connectionId, `/runs?limit=${limit}`)
9202
+ );
9203
+ }
9204
+ /** Vendor lists a `vendor_list` import can name (configuration only). */
9205
+ async listSubsetImportVendorLists(wid, connectionId, options) {
9206
+ const query = new URLSearchParams({
9207
+ query: options?.query ?? "",
9208
+ limit: String(options?.limit ?? 50)
9209
+ });
9210
+ return this.fetch(
9211
+ this.subsetImportsPath(wid, connectionId, `/vendor-lists?${query}`)
9212
+ );
9213
+ }
9214
+ /** Remote fields a `field_filter` import can name, with their operators. */
9215
+ async listSubsetImportFilterFields(wid, connectionId) {
9216
+ return this.fetch(
9217
+ this.subsetImportsPath(wid, connectionId, "/filter-fields")
9218
+ );
9219
+ }
8979
9220
  };
8980
9221
 
8981
9222
  // src/api/hubspot.ts
@@ -9081,6 +9322,35 @@ var HubspotApi = class extends BaseApiClient {
9081
9322
  `w/${wid}/app-connections/hubspot/sync-settings/hs-properties`
9082
9323
  );
9083
9324
  }
9325
+ /** Mappable HubSpot deal property definitions (deal inbound record sources). */
9326
+ async getHubspotDealProperties(wid) {
9327
+ return this.fetch(
9328
+ `w/${wid}/app-connections/hubspot/sync-settings/hs-properties?objectType=deals`
9329
+ );
9330
+ }
9331
+ /** The portal's Meetings booking links, or `missing_scope` without the scheduler scope. */
9332
+ async getHubspotMeetingLinks(wid) {
9333
+ return this.fetch(
9334
+ `w/${wid}/app-connections/hubspot/sync-settings/meeting-links`
9335
+ );
9336
+ }
9337
+ /** The portal's forms and their fields, or `missing_scope` without the `forms` scope. */
9338
+ async getHubspotForms(wid) {
9339
+ return this.fetch(
9340
+ `w/${wid}/app-connections/hubspot/sync-settings/forms`
9341
+ );
9342
+ }
9343
+ /**
9344
+ * Raw HubSpot property definitions for one CRM object type
9345
+ * (`GET /get_properties/{objectType}`), as HubSpot's properties API
9346
+ * returns them. Use `getHubspotContactProperties` for the sync-mappable
9347
+ * contact property list the field mapper shows.
9348
+ */
9349
+ async getHubspotObjectProperties(wid, objectType) {
9350
+ return this.fetch(
9351
+ `w/${wid}/app-connections/hubspot/get_properties/${encodeURIComponent(objectType)}`
9352
+ );
9353
+ }
9084
9354
  async getHubspotManagedRules(wid) {
9085
9355
  return this.fetch(`w/${wid}/app-connections/hubspot/managed-rules`);
9086
9356
  }
@@ -10253,6 +10523,17 @@ var JourneysApi = class extends BaseApiClient {
10253
10523
  async getJourneyHealth(wid, journeyId) {
10254
10524
  return this.fetch(`w/${wid}/journeys/${journeyId}/health`);
10255
10525
  }
10526
+ /**
10527
+ * How many days the journey's texts take at the workspace's current sending
10528
+ * limits — advice for the publish and enroll confirmations, never a gate.
10529
+ * `additionalMembers` is the size of a batch about to be enrolled.
10530
+ */
10531
+ async getJourneySendEstimate(wid, journeyId, additionalMembers = 0) {
10532
+ const query = new URLSearchParams({ additionalMembers: String(additionalMembers) });
10533
+ return this.fetch(
10534
+ `w/${wid}/journeys/${journeyId}/send-estimate?${query.toString()}`
10535
+ );
10536
+ }
10256
10537
  /** Create a step within a journey. */
10257
10538
  async createStep(wid, journeyId, data) {
10258
10539
  return this.fetch(`w/${wid}/journeys/${journeyId}/steps`, {
@@ -11278,13 +11559,12 @@ var WorkspaceFeature = /* @__PURE__ */ ((WorkspaceFeature2) => {
11278
11559
  WorkspaceFeature2["GSHEETS"] = "gsheets";
11279
11560
  WorkspaceFeature2["MONDAY"] = "monday";
11280
11561
  WorkspaceFeature2["DOCUMO_FAX"] = "documo_fax";
11562
+ WorkspaceFeature2["CLAIM_MD"] = "claim_md";
11281
11563
  WorkspaceFeature2["RESELL_PRODUCTS"] = "resell_products";
11282
11564
  WorkspaceFeature2["SOC2_COMPLIANCE"] = "soc2_compliance";
11283
11565
  WorkspaceFeature2["EHR_FHIR"] = "ehr_fhir";
11284
11566
  WorkspaceFeature2["EHR_ECLINICALWORKS"] = "ehr_eclinicalworks";
11285
11567
  WorkspaceFeature2["EHR_HEALTHIE"] = "ehr_healthie";
11286
- WorkspaceFeature2["CRM_SALESFORCE"] = "crm_salesforce";
11287
- WorkspaceFeature2["CRM_HUBSPOT"] = "crm_hubspot";
11288
11568
  WorkspaceFeature2["CONFLUENCE"] = "confluence";
11289
11569
  WorkspaceFeature2["ZENDESK"] = "zendesk";
11290
11570
  WorkspaceFeature2["AGENT_MEMORY"] = "agent_memory";
@@ -11561,6 +11841,10 @@ var RunHealthCategory = {
11561
11841
  ungradeable: "ungradeable",
11562
11842
  incomplete: "incomplete"
11563
11843
  };
11844
+ var SeedSpeaker = {
11845
+ member: "member",
11846
+ agent: "agent"
11847
+ };
11564
11848
  var TestChatRunLane = {
11565
11849
  text: "text",
11566
11850
  web_realtime: "web_realtime",
@@ -11575,6 +11859,7 @@ var TestChatRunOutcome = {
11575
11859
  agent_silent: "agent_silent",
11576
11860
  max_turns: "max_turns",
11577
11861
  human_end: "human_end",
11862
+ single_turn: "single_turn",
11578
11863
  configuration_failure: "configuration_failure",
11579
11864
  instrument_failure: "instrument_failure"
11580
11865
  };
@@ -12250,13 +12535,10 @@ var WorkspacesApi = class extends BaseApiClient {
12250
12535
  }
12251
12536
  /** Register a Web Push subscription for the current user. */
12252
12537
  async registerPushSubscription(wid, subscription) {
12253
- return this.fetch(
12254
- `w/${wid}/push-subscriptions`,
12255
- {
12256
- method: "POST",
12257
- body: JSON.stringify(subscription)
12258
- }
12259
- );
12538
+ return this.fetch(`w/${wid}/push-subscriptions`, {
12539
+ method: "POST",
12540
+ body: JSON.stringify(subscription)
12541
+ });
12260
12542
  }
12261
12543
  /** Unregister a Web Push subscription by endpoint URL. */
12262
12544
  async unregisterPushSubscription(wid, endpoint) {
@@ -12271,6 +12553,14 @@ var WorkspacesApi = class extends BaseApiClient {
12271
12553
  async listPushSubscriptions(wid) {
12272
12554
  return this.fetch(`w/${wid}/push-subscriptions`);
12273
12555
  }
12556
+ /** Submit a fixed generic test to an owned browser registration. */
12557
+ async testPushSubscription(wid, subscriptionId) {
12558
+ const body = {};
12559
+ return this.fetch(
12560
+ `w/${wid}/push-subscriptions/${subscriptionId}/test`,
12561
+ { method: "POST", body: JSON.stringify(body) }
12562
+ );
12563
+ }
12274
12564
  /** List org domains available for workspace email inbox routing. */
12275
12565
  async getWorkspaceEmailDomains(wid) {
12276
12566
  return this.fetch(`w/${wid}/domains/for-email`);
@@ -12861,6 +13151,7 @@ function createApiModules(apiKey, baseUrl, customFetch) {
12861
13151
  patientSyncConnections: new PatientSyncConnectionsApi(apiKey, baseUrl, customFetch),
12862
13152
  healthie: new HealthieApi(apiKey, baseUrl, customFetch),
12863
13153
  documoFax: new DocumoFaxApi(apiKey, baseUrl, customFetch),
13154
+ claimMd: new ClaimMdApi(apiKey, baseUrl, customFetch),
12864
13155
  hubspot: new HubspotApi(apiKey, baseUrl, customFetch),
12865
13156
  features: new FeaturesApi(apiKey, baseUrl, customFetch),
12866
13157
  files: new FilesApi(apiKey, baseUrl, customFetch),
@@ -12944,6 +13235,7 @@ var WORKSPACE_METHOD_NAMES = [
12944
13235
  "cancelCalendarEvent",
12945
13236
  "cancelChatCallback",
12946
13237
  "cancelCredentialUpdateInvite",
13238
+ "cancelSubsetImport",
12947
13239
  "checkAvailability",
12948
13240
  "checkSiteDomainAvailability",
12949
13241
  "checkSiteSlugAvailability",
@@ -12958,6 +13250,7 @@ var WORKSPACE_METHOD_NAMES = [
12958
13250
  "commentOnWorkspaceSupportRequest",
12959
13251
  "completeDiscordLink",
12960
13252
  "configureConfluence",
13253
+ "configureClaimMd",
12961
13254
  "configureDocumoFax",
12962
13255
  "configureHealthie",
12963
13256
  "configurePatientSync",
@@ -12965,6 +13258,7 @@ var WORKSPACE_METHOD_NAMES = [
12965
13258
  "configureMondayConnection",
12966
13259
  "configureSalesforce",
12967
13260
  "configureZendeskConnection",
13261
+ "connectAthena",
12968
13262
  "convertEmail",
12969
13263
  "convertFile",
12970
13264
  "createAbility",
@@ -12973,6 +13267,15 @@ var WORKSPACE_METHOD_NAMES = [
12973
13267
  "createApiKey",
12974
13268
  "createAssignment",
12975
13269
  "bindInstallationSlots",
13270
+ "createSubsetImport",
13271
+ "deleteSubsetImport",
13272
+ "getSubsetImport",
13273
+ "listSubsetImportFilterFields",
13274
+ "listSubsetImportRuns",
13275
+ "listSubsetImports",
13276
+ "listSubsetImportVendorLists",
13277
+ "previewSubsetImport",
13278
+ "previewSubsetImportSelection",
12976
13279
  "restoreInstallationForm",
12977
13280
  "createBundle",
12978
13281
  "createCalendar",
@@ -12981,6 +13284,7 @@ var WORKSPACE_METHOD_NAMES = [
12981
13284
  "createCalendarSchedule",
12982
13285
  "createChat",
12983
13286
  "createChatInteractionSession",
13287
+ "runSubsetImport",
12984
13288
  "transitionChatInteractionSession",
12985
13289
  "createChatCompletion",
12986
13290
  "createChatFilter",
@@ -13161,7 +13465,6 @@ var WORKSPACE_METHOD_NAMES = [
13161
13465
  "fhirGetCsvImportSettings",
13162
13466
  "fhirGetEncounterSyncRuns",
13163
13467
  "fhirGetEncounterSyncStatus",
13164
- "fhirGetOnboardingImportStatus",
13165
13468
  "fhirImportPatient",
13166
13469
  "fhirLinkMember",
13167
13470
  "fhirListLinkedMembers",
@@ -13170,7 +13473,6 @@ var WORKSPACE_METHOD_NAMES = [
13170
13473
  "fhirSearchLocations",
13171
13474
  "fhirSearchPatients",
13172
13475
  "fhirSearchPractitioners",
13173
- "fhirStartOnboardingImport",
13174
13476
  "fhirSyncMember",
13175
13477
  "fhirUnlinkMember",
13176
13478
  "fhirUpdateCsvImportSettings",
@@ -13196,6 +13498,7 @@ var WORKSPACE_METHOD_NAMES = [
13196
13498
  "getAnonymousResolutions",
13197
13499
  "getApiKeys",
13198
13500
  "getArchiveBlockers",
13501
+ "getAthenaPlatformApp",
13199
13502
  "getAssignment",
13200
13503
  "getAssignmentCelContext",
13201
13504
  "getAssignmentMessages",
@@ -13258,9 +13561,12 @@ var WORKSPACE_METHOD_NAMES = [
13258
13561
  "getClientWorkspace",
13259
13562
  "getConfigurationHealth",
13260
13563
  "getConfluenceStatus",
13564
+ "getConnectionFieldHomes",
13565
+ "getInboundRecordStatus",
13261
13566
  "getConnectionSyncCapabilities",
13262
13567
  "getConnectionSyncCheckpoint",
13263
13568
  "getConnectionSyncConfig",
13569
+ "getConnectionWritePreview",
13264
13570
  "getCredentialUpdateInvites",
13265
13571
  "getCurrentMember",
13266
13572
  "clearMemberWorkflowVoice",
@@ -13297,6 +13603,7 @@ var WORKSPACE_METHOD_NAMES = [
13297
13603
  "getDiscordBots",
13298
13604
  "getDiscordGuilds",
13299
13605
  "getDiscordThreads",
13606
+ "getClaimMdStatus",
13300
13607
  "getDocumoFaxSetup",
13301
13608
  "listDocumoFaxes",
13302
13609
  "getDocumoFaxStatus",
@@ -13325,6 +13632,7 @@ var WORKSPACE_METHOD_NAMES = [
13325
13632
  "getSiteSourceTemplates",
13326
13633
  "getThemeSettings",
13327
13634
  "importSiteSourceZip",
13635
+ "installClaimMd",
13328
13636
  "installDocumoFax",
13329
13637
  "previewDataReport",
13330
13638
  "previewQuery",
@@ -13361,7 +13669,11 @@ var WORKSPACE_METHOD_NAMES = [
13361
13669
  "getHealthieStatus",
13362
13670
  "getPatientSyncStatus",
13363
13671
  "getHubspotContactProperties",
13672
+ "getHubspotDealProperties",
13673
+ "getHubspotForms",
13674
+ "getHubspotMeetingLinks",
13364
13675
  "getHubspotManagedRules",
13676
+ "getHubspotObjectProperties",
13365
13677
  "getHubspotReconciliationMatches",
13366
13678
  "getHubspotStatus",
13367
13679
  "getHubspotSyncLogs",
@@ -13373,6 +13685,7 @@ var WORKSPACE_METHOD_NAMES = [
13373
13685
  "getInbox",
13374
13686
  "getInboxEmail",
13375
13687
  "getInboxEmails",
13688
+ "getInboxOutboundEmailStats",
13376
13689
  "getInboxThreads",
13377
13690
  "getInboxes",
13378
13691
  "getInterventionRequests",
@@ -13382,6 +13695,7 @@ var WORKSPACE_METHOD_NAMES = [
13382
13695
  "getJourneyHealth",
13383
13696
  "getJourneyMembers",
13384
13697
  "getJourneyNotes",
13698
+ "getJourneySendEstimate",
13385
13699
  "getJourneyV2Validation",
13386
13700
  "getJourneys",
13387
13701
  "getLinkablePhones",
@@ -13442,11 +13756,16 @@ var WORKSPACE_METHOD_NAMES = [
13442
13756
  "getPage",
13443
13757
  "getPageBySlug",
13444
13758
  "getPersona",
13759
+ "getPersonaTestMember",
13760
+ "createPersonaTestMember",
13761
+ "resetPersonaTestMember",
13445
13762
  "getPhoneCalls",
13763
+ "getPhoneCallByUuid",
13446
13764
  "getPhoneNumber",
13447
13765
  "getPhoneNumberCalls",
13448
13766
  "getPhoneNumberFaxes",
13449
13767
  "getPhoneNumberMessages",
13768
+ "getPhoneNumberSetupStatus",
13450
13769
  "getPhoneNumberVoicemails",
13451
13770
  "getPhoneNumbers",
13452
13771
  "getPhoneUsageReport",
@@ -13462,7 +13781,6 @@ var WORKSPACE_METHOD_NAMES = [
13462
13781
  "getPublicProducts",
13463
13782
  "getQualification",
13464
13783
  "getQualifications",
13465
- "getRecordingInfo",
13466
13784
  "getResellerWorkspaces",
13467
13785
  "getRoutine",
13468
13786
  "getRoutineConfigEvents",
@@ -13489,6 +13807,7 @@ var WORKSPACE_METHOD_NAMES = [
13489
13807
  "getSlackAppAccounts",
13490
13808
  "getSlackApps",
13491
13809
  "getSlackInstallations",
13810
+ "removeSlackInstallation",
13492
13811
  "getSlackThreads",
13493
13812
  "getStepMemberCounts",
13494
13813
  "getStepMembers",
@@ -13505,6 +13824,7 @@ var WORKSPACE_METHOD_NAMES = [
13505
13824
  "getTeamsConversations",
13506
13825
  "getTeamsInstallations",
13507
13826
  "getTemplateContext",
13827
+ "getChatTestRun",
13508
13828
  "getTestChatRun",
13509
13829
  "getThreadEmails",
13510
13830
  "getTool",
@@ -13578,6 +13898,7 @@ var WORKSPACE_METHOD_NAMES = [
13578
13898
  "linkMemberToMonday",
13579
13899
  "linkMemberToSalesforce",
13580
13900
  "linkPhoneNumber",
13901
+ "linkUnlinkedMembersByIdentity",
13581
13902
  "linkUnlinkedSalesforceMembersByIdentity",
13582
13903
  "listAbilities",
13583
13904
  "listAnonymousFormSubmissions",
@@ -13661,6 +13982,7 @@ var WORKSPACE_METHOD_NAMES = [
13661
13982
  "reenrollMember",
13662
13983
  "renameFieldSlug",
13663
13984
  "registerLinkedRolesMetadata",
13985
+ "testPushSubscription",
13664
13986
  "registerPushSubscription",
13665
13987
  "reindexFolder",
13666
13988
  "releasePhoneNumber",
@@ -13672,6 +13994,7 @@ var WORKSPACE_METHOD_NAMES = [
13672
13994
  "reorderMenuItems",
13673
13995
  "reconcileInstallation",
13674
13996
  "setInstallationPolicy",
13997
+ "updateSubsetImport",
13675
13998
  "upgradeInstallation",
13676
13999
  "replaceBundleDraft",
13677
14000
  "replyToEmail",
@@ -13707,6 +14030,8 @@ var WORKSPACE_METHOD_NAMES = [
13707
14030
  "startHubspotOAuth",
13708
14031
  "startSalesforceOAuth",
13709
14032
  "startSyncRun",
14033
+ "captureScenarioDraft",
14034
+ "promoteTestChatFeedback",
13710
14035
  "startTestChatRun",
13711
14036
  "summarizeChat",
13712
14037
  "syncCalendarWithGoogle",
@@ -13746,6 +14071,7 @@ var WORKSPACE_METHOD_NAMES = [
13746
14071
  "updateChatFilter",
13747
14072
  "updateChatLabel",
13748
14073
  "updateChatModelOverride",
14074
+ "setChatStar",
13749
14075
  "updateChatMute",
13750
14076
  "updateClientWorkspace",
13751
14077
  "updateConnection",
@@ -13825,6 +14151,8 @@ var WORKSPACE_METHOD_NAMES = [
13825
14151
  "validateDataTypeSlug",
13826
14152
  "validateQuery",
13827
14153
  "validateWorkflowName",
14154
+ "verifyAthenaAccess",
14155
+ "verifyClaimMdKey",
13828
14156
  "verifyDocumoFax"
13829
14157
  ];
13830
14158
  var WORKSPACE_METHOD_NAME_SET = new Set(WORKSPACE_METHOD_NAMES);
@@ -13933,6 +14261,7 @@ function bindChatsMethods(target, chats) {
13933
14261
  target.updateChat = chats.updateChat.bind(chats);
13934
14262
  target.getChatModelOverride = chats.getChatModelOverride.bind(chats);
13935
14263
  target.updateChatModelOverride = chats.updateChatModelOverride.bind(chats);
14264
+ target.setChatStar = chats.setChatStar.bind(chats);
13936
14265
  target.updateChatMute = chats.updateChatMute.bind(chats);
13937
14266
  target.summarizeChat = chats.summarizeChat.bind(chats);
13938
14267
  target.getChatMessages = chats.getChatMessages.bind(chats);
@@ -13969,8 +14298,8 @@ function bindChatsMethods(target, chats) {
13969
14298
  // src/client/bindings/calls.ts
13970
14299
  function bindCallsMethods(target, calls, cel) {
13971
14300
  target.getPhoneCalls = calls.getPhoneCalls.bind(calls);
14301
+ target.getPhoneCallByUuid = calls.getPhoneCallByUuid.bind(calls);
13972
14302
  target.getMessageTiming = calls.getMessageTiming.bind(calls);
13973
- target.getRecordingInfo = calls.getRecordingInfo.bind(calls);
13974
14303
  target.getEdgeCaptureInfo = calls.getEdgeCaptureInfo.bind(calls);
13975
14304
  target.getCallRecordingDownloadUrl = calls.getCallRecordingDownloadUrl.bind(calls);
13976
14305
  target.getCelContext = cel.getCelContext.bind(cel);
@@ -14212,6 +14541,7 @@ function bindWorkspacesMethods(target, workspaces, signupRequests) {
14212
14541
  target.getWorkspaceScopes = workspaces.getWorkspaceScopes.bind(workspaces);
14213
14542
  target.getUsageDashboard = workspaces.getUsageDashboard.bind(workspaces);
14214
14543
  target.getVapidPublicKey = workspaces.getVapidPublicKey.bind(workspaces);
14544
+ target.testPushSubscription = workspaces.testPushSubscription.bind(workspaces);
14215
14545
  target.registerPushSubscription = workspaces.registerPushSubscription.bind(workspaces);
14216
14546
  target.unregisterPushSubscription = workspaces.unregisterPushSubscription.bind(workspaces);
14217
14547
  target.listPushSubscriptions = workspaces.listPushSubscriptions.bind(workspaces);
@@ -14538,6 +14868,7 @@ function bindCommunicationsMethods(target, phoneNumbers, inboxes, notificationRu
14538
14868
  target.createPhoneNumber = phoneNumbers.createPhoneNumber.bind(phoneNumbers);
14539
14869
  target.updatePhoneNumber = phoneNumbers.updatePhoneNumber.bind(phoneNumbers);
14540
14870
  target.getArchiveBlockers = phoneNumbers.getArchiveBlockers.bind(phoneNumbers);
14871
+ target.getPhoneNumberSetupStatus = phoneNumbers.getPhoneNumberSetupStatus.bind(phoneNumbers);
14541
14872
  target.archivePhoneNumber = phoneNumbers.archivePhoneNumber.bind(phoneNumbers);
14542
14873
  target.getPhoneNumberCalls = phoneNumbers.getPhoneNumberCalls.bind(phoneNumbers);
14543
14874
  target.getPhoneNumberOutboundAnalyticsSummary = phoneNumbers.getPhoneNumberOutboundAnalyticsSummary.bind(phoneNumbers);
@@ -14570,6 +14901,7 @@ function bindCommunicationsMethods(target, phoneNumbers, inboxes, notificationRu
14570
14901
  target.sendInboxEmail = inboxes.sendInboxEmail.bind(inboxes);
14571
14902
  target.previewInboxEmail = inboxes.previewInboxEmail.bind(inboxes);
14572
14903
  target.previewEmailReply = inboxes.previewEmailReply.bind(inboxes);
14904
+ target.getInboxOutboundEmailStats = inboxes.getInboxOutboundEmailStats.bind(inboxes);
14573
14905
  target.getNotificationRules = notificationRules.getNotificationRules.bind(notificationRules);
14574
14906
  target.createNotificationRule = notificationRules.createNotificationRule.bind(notificationRules);
14575
14907
  target.updateNotificationRule = notificationRules.updateNotificationRule.bind(notificationRules);
@@ -14686,7 +15018,7 @@ function bindAppsMethods(target, apps, builders, inquiries, oauth, oauthConnecti
14686
15018
  }
14687
15019
 
14688
15020
  // src/client/bindings/integrations.ts
14689
- function bindIntegrationsMethods(target, mondayIntegration, discordBots, slackApps, teamsApps, fhirConnections, patientSyncConnections, healthie, documoFax, salesforce, hubspot, appConnections, connectionSync, confluence) {
15021
+ function bindIntegrationsMethods(target, mondayIntegration, discordBots, slackApps, teamsApps, fhirConnections, patientSyncConnections, healthie, documoFax, claimMd, salesforce, hubspot, appConnections, connectionSync, confluence) {
14690
15022
  target.getMondayBoards = mondayIntegration.getBoards.bind(mondayIntegration);
14691
15023
  target.getMondayBoardColumns = mondayIntegration.getBoardColumns.bind(mondayIntegration);
14692
15024
  target.getMondayBoardGroups = mondayIntegration.getBoardGroups.bind(mondayIntegration);
@@ -14736,6 +15068,7 @@ function bindIntegrationsMethods(target, mondayIntegration, discordBots, slackAp
14736
15068
  target.deleteSlackApp = slackApps.deleteSlackApp.bind(slackApps);
14737
15069
  target.getSlackThreads = slackApps.getSlackThreads.bind(slackApps);
14738
15070
  target.getSlackInstallations = slackApps.getSlackInstallations.bind(slackApps);
15071
+ target.removeSlackInstallation = slackApps.removeSlackInstallation.bind(slackApps);
14739
15072
  target.getSlackChannelChoices = slackApps.getSlackChannelChoices.bind(slackApps);
14740
15073
  target.getSlackEntryPoints = slackApps.getSlackEntryPoints.bind(slackApps);
14741
15074
  target.connectSlackEntryPoint = slackApps.connectSlackEntryPoint.bind(slackApps);
@@ -14779,8 +15112,9 @@ function bindIntegrationsMethods(target, mondayIntegration, discordBots, slackAp
14779
15112
  target.fhirGetEncounterSyncRuns = fhirConnections.fhirGetEncounterSyncRuns.bind(fhirConnections);
14780
15113
  target.fhirRefreshEncounterPatient = fhirConnections.fhirRefreshEncounterPatient.bind(fhirConnections);
14781
15114
  target.fhirBackfillEncounterSync = fhirConnections.fhirBackfillEncounterSync.bind(fhirConnections);
14782
- target.fhirStartOnboardingImport = fhirConnections.fhirStartOnboardingImport.bind(fhirConnections);
14783
- target.fhirGetOnboardingImportStatus = fhirConnections.fhirGetOnboardingImportStatus.bind(fhirConnections);
15115
+ target.getAthenaPlatformApp = fhirConnections.getAthenaPlatformApp.bind(fhirConnections);
15116
+ target.verifyAthenaAccess = fhirConnections.verifyAthenaAccess.bind(fhirConnections);
15117
+ target.connectAthena = fhirConnections.connectAthena.bind(fhirConnections);
14784
15118
  target.configurePatientSync = patientSyncConnections.configurePatientSync.bind(patientSyncConnections);
14785
15119
  target.getPatientSyncStatus = patientSyncConnections.getPatientSyncStatus.bind(patientSyncConnections);
14786
15120
  target.deletePatientSyncConnection = patientSyncConnections.deletePatientSyncConnection.bind(patientSyncConnections);
@@ -14791,6 +15125,10 @@ function bindIntegrationsMethods(target, mondayIntegration, discordBots, slackAp
14791
15125
  target.configureDocumoFax = documoFax.configureDocumoFax.bind(documoFax);
14792
15126
  target.verifyDocumoFax = documoFax.verifyDocumoFax.bind(documoFax);
14793
15127
  target.rotateDocumoFaxCredentials = documoFax.rotateDocumoFaxCredentials.bind(documoFax);
15128
+ target.getClaimMdStatus = claimMd.getClaimMdStatus.bind(claimMd);
15129
+ target.installClaimMd = claimMd.installClaimMd.bind(claimMd);
15130
+ target.configureClaimMd = claimMd.configureClaimMd.bind(claimMd);
15131
+ target.verifyClaimMdKey = claimMd.verifyClaimMdKey.bind(claimMd);
14794
15132
  target.configureHealthie = healthie.configureHealthie.bind(healthie);
14795
15133
  target.getHealthieStatus = healthie.getHealthieStatus.bind(healthie);
14796
15134
  target.listHealthieProviders = healthie.listHealthieProviders.bind(healthie);
@@ -14852,6 +15190,10 @@ function bindIntegrationsMethods(target, mondayIntegration, discordBots, slackAp
14852
15190
  target.searchHubspotRecords = hubspot.searchHubspotRecords.bind(hubspot);
14853
15191
  target.importHubspotMembers = hubspot.importHubspotMembers.bind(hubspot);
14854
15192
  target.getHubspotContactProperties = hubspot.getHubspotContactProperties.bind(hubspot);
15193
+ target.getHubspotDealProperties = hubspot.getHubspotDealProperties.bind(hubspot);
15194
+ target.getHubspotForms = hubspot.getHubspotForms.bind(hubspot);
15195
+ target.getHubspotMeetingLinks = hubspot.getHubspotMeetingLinks.bind(hubspot);
15196
+ target.getHubspotObjectProperties = hubspot.getHubspotObjectProperties.bind(hubspot);
14855
15197
  target.getHubspotManagedRules = hubspot.getHubspotManagedRules.bind(hubspot);
14856
15198
  target.getHubspotSyncLogs = hubspot.getHubspotSyncLogs.bind(hubspot);
14857
15199
  target.getHubspotTransformPresets = hubspot.getHubspotTransformPresets.bind(hubspot);
@@ -14863,7 +15205,23 @@ function bindIntegrationsMethods(target, mondayIntegration, discordBots, slackAp
14863
15205
  target.getSyncRuns = connectionSync.getSyncRuns.bind(connectionSync);
14864
15206
  target.getSyncRunItems = connectionSync.getSyncRunItems.bind(connectionSync);
14865
15207
  target.getMemberSyncSummary = connectionSync.getMemberSyncSummary.bind(connectionSync);
15208
+ target.getConnectionFieldHomes = connectionSync.getConnectionFieldHomes.bind(connectionSync);
15209
+ target.getInboundRecordStatus = connectionSync.getInboundRecordStatus.bind(connectionSync);
15210
+ target.getConnectionWritePreview = connectionSync.getConnectionWritePreview.bind(connectionSync);
14866
15211
  target.clearConnectionMemberExclusion = connectionSync.clearConnectionMemberExclusion.bind(connectionSync);
15212
+ target.linkUnlinkedMembersByIdentity = connectionSync.linkUnlinkedMembersByIdentity.bind(connectionSync);
15213
+ target.listSubsetImports = connectionSync.listSubsetImports.bind(connectionSync);
15214
+ target.getSubsetImport = connectionSync.getSubsetImport.bind(connectionSync);
15215
+ target.createSubsetImport = connectionSync.createSubsetImport.bind(connectionSync);
15216
+ target.updateSubsetImport = connectionSync.updateSubsetImport.bind(connectionSync);
15217
+ target.deleteSubsetImport = connectionSync.deleteSubsetImport.bind(connectionSync);
15218
+ target.previewSubsetImportSelection = connectionSync.previewSubsetImportSelection.bind(connectionSync);
15219
+ target.previewSubsetImport = connectionSync.previewSubsetImport.bind(connectionSync);
15220
+ target.runSubsetImport = connectionSync.runSubsetImport.bind(connectionSync);
15221
+ target.cancelSubsetImport = connectionSync.cancelSubsetImport.bind(connectionSync);
15222
+ target.listSubsetImportRuns = connectionSync.listSubsetImportRuns.bind(connectionSync);
15223
+ target.listSubsetImportVendorLists = connectionSync.listSubsetImportVendorLists.bind(connectionSync);
15224
+ target.listSubsetImportFilterFields = connectionSync.listSubsetImportFilterFields.bind(connectionSync);
14867
15225
  target.listAvailableAppConnections = appConnections.listAvailableAppConnections.bind(appConnections);
14868
15226
  target.listAppConnections = appConnections.listAppConnections.bind(appConnections);
14869
15227
  target.enablePlatformApp = appConnections.enablePlatformApp.bind(appConnections);
@@ -15024,6 +15382,7 @@ function bindJourneysMethods(target, journeys) {
15024
15382
  target.getJourneyV2Validation = journeys.getJourneyV2Validation.bind(journeys);
15025
15383
  target.getJourneyFilterOptions = journeys.getJourneyFilterOptions.bind(journeys);
15026
15384
  target.getJourneyHealth = journeys.getJourneyHealth.bind(journeys);
15385
+ target.getJourneySendEstimate = journeys.getJourneySendEstimate.bind(journeys);
15027
15386
  target.cloneJourneyAsV2 = journeys.cloneJourneyAsV2.bind(journeys);
15028
15387
  target.createJourney = journeys.createJourney.bind(journeys);
15029
15388
  target.updateJourney = journeys.updateJourney.bind(journeys);
@@ -15068,11 +15427,14 @@ function bindQualificationsMethods(target, qualifications) {
15068
15427
  target.deleteScenario = qualifications.deleteScenario.bind(qualifications);
15069
15428
  target.listTestChatRuns = qualifications.listTestChatRuns.bind(qualifications);
15070
15429
  target.listScenarioHealthSummaries = qualifications.listScenarioHealthSummaries.bind(qualifications);
15430
+ target.getChatTestRun = qualifications.getChatTestRun.bind(qualifications);
15071
15431
  target.getTestChatRun = qualifications.getTestChatRun.bind(qualifications);
15072
15432
  target.listChatCapturedEffects = qualifications.listChatCapturedEffects.bind(qualifications);
15073
15433
  target.listChatRecordChanges = qualifications.listChatRecordChanges.bind(qualifications);
15074
15434
  target.takeTestChatRunEmailTurn = qualifications.takeTestChatRunEmailTurn.bind(qualifications);
15075
15435
  target.takeTestChatRunSmsTurn = qualifications.takeTestChatRunSmsTurn.bind(qualifications);
15436
+ target.captureScenarioDraft = qualifications.captureScenarioDraft.bind(qualifications);
15437
+ target.promoteTestChatFeedback = qualifications.promoteTestChatFeedback.bind(qualifications);
15076
15438
  target.startTestChatRun = qualifications.startTestChatRun.bind(qualifications);
15077
15439
  target.evaluateTestChatRun = qualifications.evaluateTestChatRun.bind(qualifications);
15078
15440
  target.endTestChatRun = qualifications.endTestChatRun.bind(qualifications);
@@ -15082,6 +15444,9 @@ function bindQualificationsMethods(target, qualifications) {
15082
15444
  function bindPersonasMethods(target, personas) {
15083
15445
  target.listPersonas = personas.listPersonas.bind(personas);
15084
15446
  target.getPersona = personas.getPersona.bind(personas);
15447
+ target.getPersonaTestMember = personas.getPersonaTestMember.bind(personas);
15448
+ target.createPersonaTestMember = personas.createPersonaTestMember.bind(personas);
15449
+ target.resetPersonaTestMember = personas.resetPersonaTestMember.bind(personas);
15085
15450
  target.createPersona = personas.createPersona.bind(personas);
15086
15451
  target.updatePersona = personas.updatePersona.bind(personas);
15087
15452
  target.archivePersona = personas.archivePersona.bind(personas);
@@ -15227,6 +15592,7 @@ var GravityRailClient = class {
15227
15592
  updateChat;
15228
15593
  getChatModelOverride;
15229
15594
  updateChatModelOverride;
15595
+ setChatStar;
15230
15596
  updateChatMute;
15231
15597
  summarizeChat;
15232
15598
  getChatMessages;
@@ -15260,8 +15626,8 @@ var GravityRailClient = class {
15260
15626
  getChatFilterCount;
15261
15627
  // Calls API
15262
15628
  getPhoneCalls;
15629
+ getPhoneCallByUuid;
15263
15630
  getMessageTiming;
15264
- getRecordingInfo;
15265
15631
  getEdgeCaptureInfo;
15266
15632
  getCallRecordingDownloadUrl;
15267
15633
  getCelContext;
@@ -15406,11 +15772,14 @@ var GravityRailClient = class {
15406
15772
  deleteScenario;
15407
15773
  listTestChatRuns;
15408
15774
  listScenarioHealthSummaries;
15775
+ getChatTestRun;
15409
15776
  getTestChatRun;
15410
15777
  listChatCapturedEffects;
15411
15778
  listChatRecordChanges;
15412
15779
  takeTestChatRunEmailTurn;
15413
15780
  takeTestChatRunSmsTurn;
15781
+ captureScenarioDraft;
15782
+ promoteTestChatFeedback;
15414
15783
  startTestChatRun;
15415
15784
  evaluateTestChatRun;
15416
15785
  endTestChatRun;
@@ -15424,6 +15793,9 @@ var GravityRailClient = class {
15424
15793
  previewDataReport;
15425
15794
  listPersonas;
15426
15795
  getPersona;
15796
+ getPersonaTestMember;
15797
+ createPersonaTestMember;
15798
+ resetPersonaTestMember;
15427
15799
  createPersona;
15428
15800
  updatePersona;
15429
15801
  archivePersona;
@@ -15494,6 +15866,7 @@ var GravityRailClient = class {
15494
15866
  getJourneyV2Validation;
15495
15867
  getJourneyFilterOptions;
15496
15868
  getJourneyHealth;
15869
+ getJourneySendEstimate;
15497
15870
  cloneJourneyAsV2;
15498
15871
  createJourney;
15499
15872
  updateJourney;
@@ -15720,6 +16093,7 @@ var GravityRailClient = class {
15720
16093
  setWorkspaceLabels;
15721
16094
  previewWorkspaceScope;
15722
16095
  getVapidPublicKey;
16096
+ testPushSubscription;
15723
16097
  registerPushSubscription;
15724
16098
  unregisterPushSubscription;
15725
16099
  listPushSubscriptions;
@@ -15999,6 +16373,7 @@ var GravityRailClient = class {
15999
16373
  createPhoneNumber;
16000
16374
  updatePhoneNumber;
16001
16375
  getArchiveBlockers;
16376
+ getPhoneNumberSetupStatus;
16002
16377
  archivePhoneNumber;
16003
16378
  getPhoneNumberCalls;
16004
16379
  getPhoneNumberOutboundAnalyticsSummary;
@@ -16031,6 +16406,7 @@ var GravityRailClient = class {
16031
16406
  sendInboxEmail;
16032
16407
  previewInboxEmail;
16033
16408
  previewEmailReply;
16409
+ getInboxOutboundEmailStats;
16034
16410
  getNotificationRules;
16035
16411
  createNotificationRule;
16036
16412
  updateNotificationRule;
@@ -16195,6 +16571,7 @@ var GravityRailClient = class {
16195
16571
  deleteSlackApp;
16196
16572
  getSlackThreads;
16197
16573
  getSlackInstallations;
16574
+ removeSlackInstallation;
16198
16575
  getSlackChannelChoices;
16199
16576
  getSlackEntryPoints;
16200
16577
  connectSlackEntryPoint;
@@ -16240,8 +16617,9 @@ var GravityRailClient = class {
16240
16617
  fhirGetEncounterSyncRuns;
16241
16618
  fhirRefreshEncounterPatient;
16242
16619
  fhirBackfillEncounterSync;
16243
- fhirStartOnboardingImport;
16244
- fhirGetOnboardingImportStatus;
16620
+ getAthenaPlatformApp;
16621
+ verifyAthenaAccess;
16622
+ connectAthena;
16245
16623
  // Healthie API
16246
16624
  getDocumoFaxStatus;
16247
16625
  getDocumoFaxSetup;
@@ -16250,6 +16628,10 @@ var GravityRailClient = class {
16250
16628
  configureDocumoFax;
16251
16629
  verifyDocumoFax;
16252
16630
  rotateDocumoFaxCredentials;
16631
+ getClaimMdStatus;
16632
+ installClaimMd;
16633
+ configureClaimMd;
16634
+ verifyClaimMdKey;
16253
16635
  configurePatientSync;
16254
16636
  getPatientSyncStatus;
16255
16637
  deletePatientSyncConnection;
@@ -16317,6 +16699,10 @@ var GravityRailClient = class {
16317
16699
  searchHubspotRecords;
16318
16700
  importHubspotMembers;
16319
16701
  getHubspotContactProperties;
16702
+ getHubspotDealProperties;
16703
+ getHubspotForms;
16704
+ getHubspotMeetingLinks;
16705
+ getHubspotObjectProperties;
16320
16706
  getHubspotManagedRules;
16321
16707
  getHubspotSyncLogs;
16322
16708
  getHubspotTransformPresets;
@@ -16329,7 +16715,23 @@ var GravityRailClient = class {
16329
16715
  getSyncRuns;
16330
16716
  getSyncRunItems;
16331
16717
  getMemberSyncSummary;
16718
+ getConnectionFieldHomes;
16719
+ getInboundRecordStatus;
16720
+ getConnectionWritePreview;
16332
16721
  clearConnectionMemberExclusion;
16722
+ linkUnlinkedMembersByIdentity;
16723
+ listSubsetImports;
16724
+ getSubsetImport;
16725
+ createSubsetImport;
16726
+ updateSubsetImport;
16727
+ deleteSubsetImport;
16728
+ previewSubsetImportSelection;
16729
+ previewSubsetImport;
16730
+ runSubsetImport;
16731
+ cancelSubsetImport;
16732
+ listSubsetImportRuns;
16733
+ listSubsetImportVendorLists;
16734
+ listSubsetImportFilterFields;
16333
16735
  // App Connections API
16334
16736
  listAvailableAppConnections;
16335
16737
  listAppConnections;
@@ -16466,6 +16868,7 @@ var GravityRailClient = class {
16466
16868
  apis.patientSyncConnections,
16467
16869
  apis.healthie,
16468
16870
  apis.documoFax,
16871
+ apis.claimMd,
16469
16872
  apis.salesforce,
16470
16873
  apis.hubspot,
16471
16874
  apis.appConnections,
@@ -19555,7 +19958,7 @@ function isChatType(value) {
19555
19958
  // src/constants/models.ts
19556
19959
  var DEFAULT_CHAT_MODEL = "openai:chat:gpt-6-luna";
19557
19960
  var DEFAULT_AGENT_CHAT_MODEL = "openai:chat:gpt-6-luna";
19558
- var DEFAULT_AGENT_REALTIME_MODEL = "xai:realtime:voice-agent-2";
19961
+ var DEFAULT_AGENT_REALTIME_MODEL = "xai:realtime:voice-agent-3";
19559
19962
  var DEFAULT_AGENT_REALTIME_MODEL_CONFIG = {
19560
19963
  ttsModel: "native",
19561
19964
  voiceModel: "xai:voice:cosmo"
@@ -19746,6 +20149,7 @@ var ActivityEventType = {
19746
20149
  importcompleted: "import.completed",
19747
20150
  assignmentstarted: "assignment.started",
19748
20151
  assignmentconcluded: "assignment.concluded",
20152
+ assignmenttask_entered: "assignment.task_entered",
19749
20153
  journeyenrolled: "journey.enrolled",
19750
20154
  journeyunenrolled: "journey.unenrolled",
19751
20155
  journeycompleted: "journey.completed",
@@ -19756,6 +20160,8 @@ var ActivityEventType = {
19756
20160
  chathuman_replied: "chat.human_replied",
19757
20161
  chatcall_ended: "chat.call_ended",
19758
20162
  chatsummary: "chat.summary",
20163
+ messagesent: "message.sent",
20164
+ membermessage_received: "member.message_received",
19759
20165
  escalationopened: "escalation.opened",
19760
20166
  escalationresolved: "escalation.resolved",
19761
20167
  callstarted: "call.started",
@@ -20870,6 +21276,7 @@ function pathDraftToStorage(draft, original) {
20870
21276
  Scope,
20871
21277
  ScopeCategory,
20872
21278
  ScopeManager,
21279
+ SeedSpeaker,
20873
21280
  SendingNextStep,
20874
21281
  SendingStopState,
20875
21282
  SetInstallationPolicyRequestUpgradePolicy,