@gravity-rail/sdk 0.55.1 → 0.57.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (35) hide show
  1. package/dist/{chat-interaction-DDz9ZtQ8.d.ts → chat-interaction-Bs0O3lwb.d.cts} +3140 -1534
  2. package/dist/{chat-interaction-C620llgG.d.cts → chat-interaction-dRnhgwb-.d.ts} +3140 -1534
  3. package/dist/{chunk-7R22EG5F.js → chunk-7ABBH5CC.js} +495 -78
  4. package/dist/chunk-7ABBH5CC.js.map +1 -0
  5. package/dist/{chunk-HXVJF54M.js → chunk-D5VNVTUQ.js} +1 -1
  6. package/dist/chunk-D5VNVTUQ.js.map +1 -0
  7. package/dist/helpers.d.cts +4 -4
  8. package/dist/helpers.d.ts +4 -4
  9. package/dist/index.cjs +498 -77
  10. package/dist/index.cjs.map +1 -1
  11. package/dist/index.d.cts +6 -6
  12. package/dist/index.d.ts +6 -6
  13. package/dist/index.js +7 -2
  14. package/dist/index.js.map +1 -1
  15. package/dist/internal.cjs +495 -77
  16. package/dist/internal.cjs.map +1 -1
  17. package/dist/internal.d.cts +6 -211
  18. package/dist/internal.d.ts +6 -211
  19. package/dist/internal.js +4 -2
  20. package/dist/internal.js.map +1 -1
  21. package/dist/{member-import-DzuvKnMC.d.cts → member-import-C9XwZqm4.d.cts} +1 -1
  22. package/dist/{member-import-D1QvZiy5.d.ts → member-import-CdXiqRFM.d.ts} +1 -1
  23. package/dist/{path-kbfnY2gB.d.ts → path-6wcAgEJR.d.cts} +11 -4
  24. package/dist/{path-BIk9UPr0.d.cts → path-B08DHrW4.d.ts} +11 -4
  25. package/dist/schemas.cjs +79 -41
  26. package/dist/schemas.cjs.map +1 -1
  27. package/dist/schemas.d.cts +148 -6
  28. package/dist/schemas.d.ts +148 -6
  29. package/dist/schemas.js +78 -42
  30. package/dist/schemas.js.map +1 -1
  31. package/dist/{tasks-BdYhYUpU.d.cts → tasks-BPvueNi2.d.cts} +1009 -836
  32. package/dist/{tasks-BdYhYUpU.d.ts → tasks-BPvueNi2.d.ts} +1009 -836
  33. package/package.json +3 -3
  34. package/dist/chunk-7R22EG5F.js.map +0 -1
  35. package/dist/chunk-HXVJF54M.js.map +0 -1
package/dist/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,27 +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 (legacy chunk-only playback).
2309
- */
2310
- async getRecordingInfo(wid, chatId) {
2311
- return this.fetch(`w/${wid}/recordings/chat/${chatId}/info`);
2312
- }
2313
- /** List the recorded audio chunks for a chat (metadata only). */
2314
- async listChatRecordings(wid, chatId, options = {}) {
2315
- const params = new URLSearchParams();
2316
- if (options.role) params.set("role", options.role);
2317
- return this.fetch(
2318
- `w/${wid}/recordings/chat/${chatId}${params.toString() ? `?${params.toString()}` : ""}`
2319
- );
2320
- }
2321
2321
  /**
2322
2322
  * Get a single short-lived presigned URL to download the complete call
2323
- * recording as one WAV file. The first request assembles + caches the
2324
- * full-call WAV; later requests reuse it.
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.
2325
2326
  */
2326
2327
  async getCallRecordingDownloadUrl(wid, chatId, options = {}) {
2327
2328
  const params = new URLSearchParams();
@@ -2638,6 +2639,13 @@ var ChatsApi = class extends BaseApiClient {
2638
2639
  body: JSON.stringify(override)
2639
2640
  });
2640
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
+ }
2641
2649
  /** Update the mute status of a chat. */
2642
2650
  async updateChatMute(wid, id, muted, muteReason, muteExpiresOnInbound) {
2643
2651
  return this.fetch(`w/${wid}/chats/${id}/mute`, {
@@ -3617,6 +3625,32 @@ var DiscordBotsApi = class extends BaseApiClient {
3617
3625
 
3618
3626
  // src/api/slack-apps.ts
3619
3627
  var SlackAppsApi = class extends BaseApiClient {
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) {
3635
+ const params = new URLSearchParams({ appId: String(appId) });
3636
+ if (cursor) params.set("cursor", cursor);
3637
+ if (teamId) params.set("teamId", teamId);
3638
+ return this.fetch(
3639
+ `w/${wid}/app-connections/slack/channel-choices?${params}`
3640
+ );
3641
+ }
3642
+ async getSlackEntryPoints(wid, options = {}) {
3643
+ const params = new URLSearchParams();
3644
+ if (options.appId) params.set("appId", String(options.appId));
3645
+ if (options.workflowId) params.set("workflowId", String(options.workflowId));
3646
+ return this.fetch(`w/${wid}/app-connections/slack/entry-points?${params}`);
3647
+ }
3648
+ async connectSlackEntryPoint(wid, data) {
3649
+ return this.fetch(`w/${wid}/app-connections/slack/entry-points`, {
3650
+ method: "POST",
3651
+ body: JSON.stringify(data)
3652
+ });
3653
+ }
3620
3654
  /**
3621
3655
  * List all Slack apps configured for a workspace.
3622
3656
  */
@@ -3681,6 +3715,8 @@ var SlackAppsApi = class extends BaseApiClient {
3681
3715
  const params = new URLSearchParams();
3682
3716
  if (options.page) params.append("page", options.page.toString());
3683
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);
3684
3720
  return this.fetch(
3685
3721
  `w/${wid}/app-connections/slack/apps/${appId}/installations${params.toString() ? `?${params.toString()}` : ""}`
3686
3722
  );
@@ -4130,6 +4166,36 @@ var FhirConnectionsApi = class extends BaseApiClient {
4130
4166
  body: JSON.stringify(data)
4131
4167
  });
4132
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
+ }
4133
4199
  /**
4134
4200
  * Update an existing FHIR connection configuration.
4135
4201
  */
@@ -4348,36 +4414,6 @@ var FhirConnectionsApi = class extends BaseApiClient {
4348
4414
  { method: "POST", body: JSON.stringify(data) }
4349
4415
  );
4350
4416
  }
4351
- /**
4352
- * Start, resume, override or preview (dry run) an athenahealth connection's
4353
- * onboarding import. The body is exactly the three mode flags; the server
4354
- * traverses the connection's configured department/status pairs. Returns
4355
- * 202 with the Temporal workflow and run ids. Requires `workspace:admin`.
4356
- */
4357
- async fhirStartOnboardingImport(wid, connectionId, data = {}) {
4358
- const body = {
4359
- dryRun: data.dryRun ?? false,
4360
- resume: data.resume ?? false,
4361
- override: data.override ?? false
4362
- };
4363
- return this.fetch(
4364
- `w/${wid}/app-connections/fhir/connections/${connectionId}/onboarding-import`,
4365
- {
4366
- method: "POST",
4367
- body: JSON.stringify(body)
4368
- }
4369
- );
4370
- }
4371
- /**
4372
- * Read an athenahealth connection's onboarding-import progress (durable,
4373
- * approximate totals) and its known Temporal execution. GET-only: never
4374
- * starts or resumes work. Requires `workspace:admin`.
4375
- */
4376
- async fhirGetOnboardingImportStatus(wid, connectionId) {
4377
- return this.fetch(
4378
- `w/${wid}/app-connections/fhir/connections/${connectionId}/onboarding-import`
4379
- );
4380
- }
4381
4417
  };
4382
4418
 
4383
4419
  // src/api/patientsync-connections.ts
@@ -4399,6 +4435,33 @@ var PatientSyncConnectionsApi = class extends BaseApiClient {
4399
4435
  }
4400
4436
  };
4401
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
+
4402
4465
  // src/types/generated/inbound_fax.ts
4403
4466
  var InboundFaxStatus = {
4404
4467
  pending: "pending",
@@ -5059,6 +5122,23 @@ var InboxesApi = class extends BaseApiClient {
5059
5122
  );
5060
5123
  return response.arrayBuffer();
5061
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
+ }
5062
5142
  /** List email threads in an inbox. */
5063
5143
  async getInboxThreads(wid, inboxId) {
5064
5144
  return this.fetch(`w/${wid}/inboxes/${inboxId}/threads`);
@@ -7383,6 +7463,18 @@ var OrgApi = class extends BaseApiClient {
7383
7463
  async listA2PBrands(orgUuid) {
7384
7464
  return this.fetch(`o/${orgUuid}/a2p-brands`);
7385
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
+ }
7386
7478
  /**
7387
7479
  * Live per-brand campaign use-case eligibility. Approved brands only — a
7388
7480
  * brand still under TCR review comes back as a structured 412 the picker
@@ -7872,6 +7964,14 @@ var PhoneNumbersApi = class extends BaseApiClient {
7872
7964
  async getPhoneNumber(wid, id) {
7873
7965
  return this.fetch(`w/${wid}/phone-numbers/${id}`);
7874
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
+ }
7875
7975
  /** Create a new phone number record. */
7876
7976
  async createPhoneNumber(wid, phoneNumber) {
7877
7977
  return this.fetch(`w/${wid}/phone-numbers`, {
@@ -8186,6 +8286,21 @@ var PersonasApi = class extends BaseApiClient {
8186
8286
  async getPersona(wid, id) {
8187
8287
  return this.fetch(`w/${wid}/personas/${id}`);
8188
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
+ }
8189
8304
  async createPersona(wid, data) {
8190
8305
  return this.fetch(`w/${wid}/personas`, {
8191
8306
  method: "POST",
@@ -8361,6 +8476,21 @@ var ProjectsApi = class extends BaseApiClient {
8361
8476
 
8362
8477
  // src/api/qualifications.ts
8363
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
+ }
8364
8494
  /** List qualifications in a workspace, paginated. */
8365
8495
  async getQualifications(wid, params) {
8366
8496
  const query = new URLSearchParams();
@@ -8452,6 +8582,12 @@ var QualificationsApi = class extends BaseApiClient {
8452
8582
  `w/${wid}/qualifications/workflows/${workflowId}/scenario-health-summaries${qs}`
8453
8583
  );
8454
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
+ }
8455
8591
  async getTestChatRun(wid, runId) {
8456
8592
  return this.fetch(`w/${wid}/qualifications/test-chat-runs/${runId}`);
8457
8593
  }
@@ -8774,9 +8910,9 @@ var SalesforceApi = class extends BaseApiClient {
8774
8910
  });
8775
8911
  }
8776
8912
  /**
8777
- * Start a durable run that links unlinked members by Salesforce Id / email
8778
- * and hydrates them. One run per connection; a second start while one is
8779
- * 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.
8780
8916
  */
8781
8917
  async linkUnlinkedSalesforceMembersByIdentity(wid) {
8782
8918
  return this.fetch(
@@ -8903,6 +9039,20 @@ var ConnectionSyncApi = class extends BaseApiClient {
8903
9039
  { method: "PUT", body: JSON.stringify(data) }
8904
9040
  );
8905
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
+ }
8906
9056
  async getConnectionSyncCheckpoint(wid, connectionId, direction = "inbound", syncKey = "default") {
8907
9057
  const query = new URLSearchParams({
8908
9058
  direction,
@@ -8965,6 +9115,108 @@ var ConnectionSyncApi = class extends BaseApiClient {
8965
9115
  { method: "DELETE" }
8966
9116
  );
8967
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
+ }
8968
9220
  };
8969
9221
 
8970
9222
  // src/api/hubspot.ts
@@ -9070,6 +9322,35 @@ var HubspotApi = class extends BaseApiClient {
9070
9322
  `w/${wid}/app-connections/hubspot/sync-settings/hs-properties`
9071
9323
  );
9072
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
+ }
9073
9354
  async getHubspotManagedRules(wid) {
9074
9355
  return this.fetch(`w/${wid}/app-connections/hubspot/managed-rules`);
9075
9356
  }
@@ -10242,6 +10523,17 @@ var JourneysApi = class extends BaseApiClient {
10242
10523
  async getJourneyHealth(wid, journeyId) {
10243
10524
  return this.fetch(`w/${wid}/journeys/${journeyId}/health`);
10244
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
+ }
10245
10537
  /** Create a step within a journey. */
10246
10538
  async createStep(wid, journeyId, data) {
10247
10539
  return this.fetch(`w/${wid}/journeys/${journeyId}/steps`, {
@@ -11267,13 +11559,12 @@ var WorkspaceFeature = /* @__PURE__ */ ((WorkspaceFeature2) => {
11267
11559
  WorkspaceFeature2["GSHEETS"] = "gsheets";
11268
11560
  WorkspaceFeature2["MONDAY"] = "monday";
11269
11561
  WorkspaceFeature2["DOCUMO_FAX"] = "documo_fax";
11562
+ WorkspaceFeature2["CLAIM_MD"] = "claim_md";
11270
11563
  WorkspaceFeature2["RESELL_PRODUCTS"] = "resell_products";
11271
11564
  WorkspaceFeature2["SOC2_COMPLIANCE"] = "soc2_compliance";
11272
11565
  WorkspaceFeature2["EHR_FHIR"] = "ehr_fhir";
11273
11566
  WorkspaceFeature2["EHR_ECLINICALWORKS"] = "ehr_eclinicalworks";
11274
11567
  WorkspaceFeature2["EHR_HEALTHIE"] = "ehr_healthie";
11275
- WorkspaceFeature2["CRM_SALESFORCE"] = "crm_salesforce";
11276
- WorkspaceFeature2["CRM_HUBSPOT"] = "crm_hubspot";
11277
11568
  WorkspaceFeature2["CONFLUENCE"] = "confluence";
11278
11569
  WorkspaceFeature2["ZENDESK"] = "zendesk";
11279
11570
  WorkspaceFeature2["AGENT_MEMORY"] = "agent_memory";
@@ -11550,6 +11841,10 @@ var RunHealthCategory = {
11550
11841
  ungradeable: "ungradeable",
11551
11842
  incomplete: "incomplete"
11552
11843
  };
11844
+ var SeedSpeaker = {
11845
+ member: "member",
11846
+ agent: "agent"
11847
+ };
11553
11848
  var TestChatRunLane = {
11554
11849
  text: "text",
11555
11850
  web_realtime: "web_realtime",
@@ -11564,6 +11859,7 @@ var TestChatRunOutcome = {
11564
11859
  agent_silent: "agent_silent",
11565
11860
  max_turns: "max_turns",
11566
11861
  human_end: "human_end",
11862
+ single_turn: "single_turn",
11567
11863
  configuration_failure: "configuration_failure",
11568
11864
  instrument_failure: "instrument_failure"
11569
11865
  };
@@ -12239,13 +12535,10 @@ var WorkspacesApi = class extends BaseApiClient {
12239
12535
  }
12240
12536
  /** Register a Web Push subscription for the current user. */
12241
12537
  async registerPushSubscription(wid, subscription) {
12242
- return this.fetch(
12243
- `w/${wid}/push-subscriptions`,
12244
- {
12245
- method: "POST",
12246
- body: JSON.stringify(subscription)
12247
- }
12248
- );
12538
+ return this.fetch(`w/${wid}/push-subscriptions`, {
12539
+ method: "POST",
12540
+ body: JSON.stringify(subscription)
12541
+ });
12249
12542
  }
12250
12543
  /** Unregister a Web Push subscription by endpoint URL. */
12251
12544
  async unregisterPushSubscription(wid, endpoint) {
@@ -12260,6 +12553,14 @@ var WorkspacesApi = class extends BaseApiClient {
12260
12553
  async listPushSubscriptions(wid) {
12261
12554
  return this.fetch(`w/${wid}/push-subscriptions`);
12262
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
+ }
12263
12564
  /** List org domains available for workspace email inbox routing. */
12264
12565
  async getWorkspaceEmailDomains(wid) {
12265
12566
  return this.fetch(`w/${wid}/domains/for-email`);
@@ -12850,6 +13151,7 @@ function createApiModules(apiKey, baseUrl, customFetch) {
12850
13151
  patientSyncConnections: new PatientSyncConnectionsApi(apiKey, baseUrl, customFetch),
12851
13152
  healthie: new HealthieApi(apiKey, baseUrl, customFetch),
12852
13153
  documoFax: new DocumoFaxApi(apiKey, baseUrl, customFetch),
13154
+ claimMd: new ClaimMdApi(apiKey, baseUrl, customFetch),
12853
13155
  hubspot: new HubspotApi(apiKey, baseUrl, customFetch),
12854
13156
  features: new FeaturesApi(apiKey, baseUrl, customFetch),
12855
13157
  files: new FilesApi(apiKey, baseUrl, customFetch),
@@ -12933,6 +13235,7 @@ var WORKSPACE_METHOD_NAMES = [
12933
13235
  "cancelCalendarEvent",
12934
13236
  "cancelChatCallback",
12935
13237
  "cancelCredentialUpdateInvite",
13238
+ "cancelSubsetImport",
12936
13239
  "checkAvailability",
12937
13240
  "checkSiteDomainAvailability",
12938
13241
  "checkSiteSlugAvailability",
@@ -12947,6 +13250,7 @@ var WORKSPACE_METHOD_NAMES = [
12947
13250
  "commentOnWorkspaceSupportRequest",
12948
13251
  "completeDiscordLink",
12949
13252
  "configureConfluence",
13253
+ "configureClaimMd",
12950
13254
  "configureDocumoFax",
12951
13255
  "configureHealthie",
12952
13256
  "configurePatientSync",
@@ -12954,6 +13258,7 @@ var WORKSPACE_METHOD_NAMES = [
12954
13258
  "configureMondayConnection",
12955
13259
  "configureSalesforce",
12956
13260
  "configureZendeskConnection",
13261
+ "connectAthena",
12957
13262
  "convertEmail",
12958
13263
  "convertFile",
12959
13264
  "createAbility",
@@ -12962,6 +13267,15 @@ var WORKSPACE_METHOD_NAMES = [
12962
13267
  "createApiKey",
12963
13268
  "createAssignment",
12964
13269
  "bindInstallationSlots",
13270
+ "createSubsetImport",
13271
+ "deleteSubsetImport",
13272
+ "getSubsetImport",
13273
+ "listSubsetImportFilterFields",
13274
+ "listSubsetImportRuns",
13275
+ "listSubsetImports",
13276
+ "listSubsetImportVendorLists",
13277
+ "previewSubsetImport",
13278
+ "previewSubsetImportSelection",
12965
13279
  "restoreInstallationForm",
12966
13280
  "createBundle",
12967
13281
  "createCalendar",
@@ -12970,6 +13284,7 @@ var WORKSPACE_METHOD_NAMES = [
12970
13284
  "createCalendarSchedule",
12971
13285
  "createChat",
12972
13286
  "createChatInteractionSession",
13287
+ "runSubsetImport",
12973
13288
  "transitionChatInteractionSession",
12974
13289
  "createChatCompletion",
12975
13290
  "createChatFilter",
@@ -13150,7 +13465,6 @@ var WORKSPACE_METHOD_NAMES = [
13150
13465
  "fhirGetCsvImportSettings",
13151
13466
  "fhirGetEncounterSyncRuns",
13152
13467
  "fhirGetEncounterSyncStatus",
13153
- "fhirGetOnboardingImportStatus",
13154
13468
  "fhirImportPatient",
13155
13469
  "fhirLinkMember",
13156
13470
  "fhirListLinkedMembers",
@@ -13159,7 +13473,6 @@ var WORKSPACE_METHOD_NAMES = [
13159
13473
  "fhirSearchLocations",
13160
13474
  "fhirSearchPatients",
13161
13475
  "fhirSearchPractitioners",
13162
- "fhirStartOnboardingImport",
13163
13476
  "fhirSyncMember",
13164
13477
  "fhirUnlinkMember",
13165
13478
  "fhirUpdateCsvImportSettings",
@@ -13185,6 +13498,7 @@ var WORKSPACE_METHOD_NAMES = [
13185
13498
  "getAnonymousResolutions",
13186
13499
  "getApiKeys",
13187
13500
  "getArchiveBlockers",
13501
+ "getAthenaPlatformApp",
13188
13502
  "getAssignment",
13189
13503
  "getAssignmentCelContext",
13190
13504
  "getAssignmentMessages",
@@ -13247,9 +13561,12 @@ var WORKSPACE_METHOD_NAMES = [
13247
13561
  "getClientWorkspace",
13248
13562
  "getConfigurationHealth",
13249
13563
  "getConfluenceStatus",
13564
+ "getConnectionFieldHomes",
13565
+ "getInboundRecordStatus",
13250
13566
  "getConnectionSyncCapabilities",
13251
13567
  "getConnectionSyncCheckpoint",
13252
13568
  "getConnectionSyncConfig",
13569
+ "getConnectionWritePreview",
13253
13570
  "getCredentialUpdateInvites",
13254
13571
  "getCurrentMember",
13255
13572
  "clearMemberWorkflowVoice",
@@ -13286,6 +13603,7 @@ var WORKSPACE_METHOD_NAMES = [
13286
13603
  "getDiscordBots",
13287
13604
  "getDiscordGuilds",
13288
13605
  "getDiscordThreads",
13606
+ "getClaimMdStatus",
13289
13607
  "getDocumoFaxSetup",
13290
13608
  "listDocumoFaxes",
13291
13609
  "getDocumoFaxStatus",
@@ -13314,8 +13632,8 @@ var WORKSPACE_METHOD_NAMES = [
13314
13632
  "getSiteSourceTemplates",
13315
13633
  "getThemeSettings",
13316
13634
  "importSiteSourceZip",
13635
+ "installClaimMd",
13317
13636
  "installDocumoFax",
13318
- "listChatRecordings",
13319
13637
  "previewDataReport",
13320
13638
  "previewQuery",
13321
13639
  "publishSiteSource",
@@ -13351,7 +13669,11 @@ var WORKSPACE_METHOD_NAMES = [
13351
13669
  "getHealthieStatus",
13352
13670
  "getPatientSyncStatus",
13353
13671
  "getHubspotContactProperties",
13672
+ "getHubspotDealProperties",
13673
+ "getHubspotForms",
13674
+ "getHubspotMeetingLinks",
13354
13675
  "getHubspotManagedRules",
13676
+ "getHubspotObjectProperties",
13355
13677
  "getHubspotReconciliationMatches",
13356
13678
  "getHubspotStatus",
13357
13679
  "getHubspotSyncLogs",
@@ -13363,6 +13685,7 @@ var WORKSPACE_METHOD_NAMES = [
13363
13685
  "getInbox",
13364
13686
  "getInboxEmail",
13365
13687
  "getInboxEmails",
13688
+ "getInboxOutboundEmailStats",
13366
13689
  "getInboxThreads",
13367
13690
  "getInboxes",
13368
13691
  "getInterventionRequests",
@@ -13372,6 +13695,7 @@ var WORKSPACE_METHOD_NAMES = [
13372
13695
  "getJourneyHealth",
13373
13696
  "getJourneyMembers",
13374
13697
  "getJourneyNotes",
13698
+ "getJourneySendEstimate",
13375
13699
  "getJourneyV2Validation",
13376
13700
  "getJourneys",
13377
13701
  "getLinkablePhones",
@@ -13432,11 +13756,16 @@ var WORKSPACE_METHOD_NAMES = [
13432
13756
  "getPage",
13433
13757
  "getPageBySlug",
13434
13758
  "getPersona",
13759
+ "getPersonaTestMember",
13760
+ "createPersonaTestMember",
13761
+ "resetPersonaTestMember",
13435
13762
  "getPhoneCalls",
13763
+ "getPhoneCallByUuid",
13436
13764
  "getPhoneNumber",
13437
13765
  "getPhoneNumberCalls",
13438
13766
  "getPhoneNumberFaxes",
13439
13767
  "getPhoneNumberMessages",
13768
+ "getPhoneNumberSetupStatus",
13440
13769
  "getPhoneNumberVoicemails",
13441
13770
  "getPhoneNumbers",
13442
13771
  "getPhoneUsageReport",
@@ -13452,7 +13781,6 @@ var WORKSPACE_METHOD_NAMES = [
13452
13781
  "getPublicProducts",
13453
13782
  "getQualification",
13454
13783
  "getQualifications",
13455
- "getRecordingInfo",
13456
13784
  "getResellerWorkspaces",
13457
13785
  "getRoutine",
13458
13786
  "getRoutineConfigEvents",
@@ -13479,6 +13807,7 @@ var WORKSPACE_METHOD_NAMES = [
13479
13807
  "getSlackAppAccounts",
13480
13808
  "getSlackApps",
13481
13809
  "getSlackInstallations",
13810
+ "removeSlackInstallation",
13482
13811
  "getSlackThreads",
13483
13812
  "getStepMemberCounts",
13484
13813
  "getStepMembers",
@@ -13495,6 +13824,7 @@ var WORKSPACE_METHOD_NAMES = [
13495
13824
  "getTeamsConversations",
13496
13825
  "getTeamsInstallations",
13497
13826
  "getTemplateContext",
13827
+ "getChatTestRun",
13498
13828
  "getTestChatRun",
13499
13829
  "getThreadEmails",
13500
13830
  "getTool",
@@ -13568,6 +13898,7 @@ var WORKSPACE_METHOD_NAMES = [
13568
13898
  "linkMemberToMonday",
13569
13899
  "linkMemberToSalesforce",
13570
13900
  "linkPhoneNumber",
13901
+ "linkUnlinkedMembersByIdentity",
13571
13902
  "linkUnlinkedSalesforceMembersByIdentity",
13572
13903
  "listAbilities",
13573
13904
  "listAnonymousFormSubmissions",
@@ -13651,6 +13982,7 @@ var WORKSPACE_METHOD_NAMES = [
13651
13982
  "reenrollMember",
13652
13983
  "renameFieldSlug",
13653
13984
  "registerLinkedRolesMetadata",
13985
+ "testPushSubscription",
13654
13986
  "registerPushSubscription",
13655
13987
  "reindexFolder",
13656
13988
  "releasePhoneNumber",
@@ -13662,6 +13994,7 @@ var WORKSPACE_METHOD_NAMES = [
13662
13994
  "reorderMenuItems",
13663
13995
  "reconcileInstallation",
13664
13996
  "setInstallationPolicy",
13997
+ "updateSubsetImport",
13665
13998
  "upgradeInstallation",
13666
13999
  "replaceBundleDraft",
13667
14000
  "replyToEmail",
@@ -13697,6 +14030,8 @@ var WORKSPACE_METHOD_NAMES = [
13697
14030
  "startHubspotOAuth",
13698
14031
  "startSalesforceOAuth",
13699
14032
  "startSyncRun",
14033
+ "captureScenarioDraft",
14034
+ "promoteTestChatFeedback",
13700
14035
  "startTestChatRun",
13701
14036
  "summarizeChat",
13702
14037
  "syncCalendarWithGoogle",
@@ -13736,6 +14071,7 @@ var WORKSPACE_METHOD_NAMES = [
13736
14071
  "updateChatFilter",
13737
14072
  "updateChatLabel",
13738
14073
  "updateChatModelOverride",
14074
+ "setChatStar",
13739
14075
  "updateChatMute",
13740
14076
  "updateClientWorkspace",
13741
14077
  "updateConnection",
@@ -13815,6 +14151,8 @@ var WORKSPACE_METHOD_NAMES = [
13815
14151
  "validateDataTypeSlug",
13816
14152
  "validateQuery",
13817
14153
  "validateWorkflowName",
14154
+ "verifyAthenaAccess",
14155
+ "verifyClaimMdKey",
13818
14156
  "verifyDocumoFax"
13819
14157
  ];
13820
14158
  var WORKSPACE_METHOD_NAME_SET = new Set(WORKSPACE_METHOD_NAMES);
@@ -13923,6 +14261,7 @@ function bindChatsMethods(target, chats) {
13923
14261
  target.updateChat = chats.updateChat.bind(chats);
13924
14262
  target.getChatModelOverride = chats.getChatModelOverride.bind(chats);
13925
14263
  target.updateChatModelOverride = chats.updateChatModelOverride.bind(chats);
14264
+ target.setChatStar = chats.setChatStar.bind(chats);
13926
14265
  target.updateChatMute = chats.updateChatMute.bind(chats);
13927
14266
  target.summarizeChat = chats.summarizeChat.bind(chats);
13928
14267
  target.getChatMessages = chats.getChatMessages.bind(chats);
@@ -13959,10 +14298,9 @@ function bindChatsMethods(target, chats) {
13959
14298
  // src/client/bindings/calls.ts
13960
14299
  function bindCallsMethods(target, calls, cel) {
13961
14300
  target.getPhoneCalls = calls.getPhoneCalls.bind(calls);
14301
+ target.getPhoneCallByUuid = calls.getPhoneCallByUuid.bind(calls);
13962
14302
  target.getMessageTiming = calls.getMessageTiming.bind(calls);
13963
- target.getRecordingInfo = calls.getRecordingInfo.bind(calls);
13964
14303
  target.getEdgeCaptureInfo = calls.getEdgeCaptureInfo.bind(calls);
13965
- target.listChatRecordings = calls.listChatRecordings.bind(calls);
13966
14304
  target.getCallRecordingDownloadUrl = calls.getCallRecordingDownloadUrl.bind(calls);
13967
14305
  target.getCelContext = cel.getCelContext.bind(cel);
13968
14306
  target.validateCelExpression = cel.validateCelExpression.bind(cel);
@@ -14203,6 +14541,7 @@ function bindWorkspacesMethods(target, workspaces, signupRequests) {
14203
14541
  target.getWorkspaceScopes = workspaces.getWorkspaceScopes.bind(workspaces);
14204
14542
  target.getUsageDashboard = workspaces.getUsageDashboard.bind(workspaces);
14205
14543
  target.getVapidPublicKey = workspaces.getVapidPublicKey.bind(workspaces);
14544
+ target.testPushSubscription = workspaces.testPushSubscription.bind(workspaces);
14206
14545
  target.registerPushSubscription = workspaces.registerPushSubscription.bind(workspaces);
14207
14546
  target.unregisterPushSubscription = workspaces.unregisterPushSubscription.bind(workspaces);
14208
14547
  target.listPushSubscriptions = workspaces.listPushSubscriptions.bind(workspaces);
@@ -14529,6 +14868,7 @@ function bindCommunicationsMethods(target, phoneNumbers, inboxes, notificationRu
14529
14868
  target.createPhoneNumber = phoneNumbers.createPhoneNumber.bind(phoneNumbers);
14530
14869
  target.updatePhoneNumber = phoneNumbers.updatePhoneNumber.bind(phoneNumbers);
14531
14870
  target.getArchiveBlockers = phoneNumbers.getArchiveBlockers.bind(phoneNumbers);
14871
+ target.getPhoneNumberSetupStatus = phoneNumbers.getPhoneNumberSetupStatus.bind(phoneNumbers);
14532
14872
  target.archivePhoneNumber = phoneNumbers.archivePhoneNumber.bind(phoneNumbers);
14533
14873
  target.getPhoneNumberCalls = phoneNumbers.getPhoneNumberCalls.bind(phoneNumbers);
14534
14874
  target.getPhoneNumberOutboundAnalyticsSummary = phoneNumbers.getPhoneNumberOutboundAnalyticsSummary.bind(phoneNumbers);
@@ -14561,6 +14901,7 @@ function bindCommunicationsMethods(target, phoneNumbers, inboxes, notificationRu
14561
14901
  target.sendInboxEmail = inboxes.sendInboxEmail.bind(inboxes);
14562
14902
  target.previewInboxEmail = inboxes.previewInboxEmail.bind(inboxes);
14563
14903
  target.previewEmailReply = inboxes.previewEmailReply.bind(inboxes);
14904
+ target.getInboxOutboundEmailStats = inboxes.getInboxOutboundEmailStats.bind(inboxes);
14564
14905
  target.getNotificationRules = notificationRules.getNotificationRules.bind(notificationRules);
14565
14906
  target.createNotificationRule = notificationRules.createNotificationRule.bind(notificationRules);
14566
14907
  target.updateNotificationRule = notificationRules.updateNotificationRule.bind(notificationRules);
@@ -14677,7 +15018,7 @@ function bindAppsMethods(target, apps, builders, inquiries, oauth, oauthConnecti
14677
15018
  }
14678
15019
 
14679
15020
  // src/client/bindings/integrations.ts
14680
- 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) {
14681
15022
  target.getMondayBoards = mondayIntegration.getBoards.bind(mondayIntegration);
14682
15023
  target.getMondayBoardColumns = mondayIntegration.getBoardColumns.bind(mondayIntegration);
14683
15024
  target.getMondayBoardGroups = mondayIntegration.getBoardGroups.bind(mondayIntegration);
@@ -14727,6 +15068,10 @@ function bindIntegrationsMethods(target, mondayIntegration, discordBots, slackAp
14727
15068
  target.deleteSlackApp = slackApps.deleteSlackApp.bind(slackApps);
14728
15069
  target.getSlackThreads = slackApps.getSlackThreads.bind(slackApps);
14729
15070
  target.getSlackInstallations = slackApps.getSlackInstallations.bind(slackApps);
15071
+ target.removeSlackInstallation = slackApps.removeSlackInstallation.bind(slackApps);
15072
+ target.getSlackChannelChoices = slackApps.getSlackChannelChoices.bind(slackApps);
15073
+ target.getSlackEntryPoints = slackApps.getSlackEntryPoints.bind(slackApps);
15074
+ target.connectSlackEntryPoint = slackApps.connectSlackEntryPoint.bind(slackApps);
14730
15075
  target.getSlackAppAccounts = slackApps.getSlackAppAccounts.bind(slackApps);
14731
15076
  target.getTeamsApps = teamsApps.getTeamsApps.bind(teamsApps);
14732
15077
  target.getTeamsApp = teamsApps.getTeamsApp.bind(teamsApps);
@@ -14767,8 +15112,9 @@ function bindIntegrationsMethods(target, mondayIntegration, discordBots, slackAp
14767
15112
  target.fhirGetEncounterSyncRuns = fhirConnections.fhirGetEncounterSyncRuns.bind(fhirConnections);
14768
15113
  target.fhirRefreshEncounterPatient = fhirConnections.fhirRefreshEncounterPatient.bind(fhirConnections);
14769
15114
  target.fhirBackfillEncounterSync = fhirConnections.fhirBackfillEncounterSync.bind(fhirConnections);
14770
- target.fhirStartOnboardingImport = fhirConnections.fhirStartOnboardingImport.bind(fhirConnections);
14771
- 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);
14772
15118
  target.configurePatientSync = patientSyncConnections.configurePatientSync.bind(patientSyncConnections);
14773
15119
  target.getPatientSyncStatus = patientSyncConnections.getPatientSyncStatus.bind(patientSyncConnections);
14774
15120
  target.deletePatientSyncConnection = patientSyncConnections.deletePatientSyncConnection.bind(patientSyncConnections);
@@ -14779,6 +15125,10 @@ function bindIntegrationsMethods(target, mondayIntegration, discordBots, slackAp
14779
15125
  target.configureDocumoFax = documoFax.configureDocumoFax.bind(documoFax);
14780
15126
  target.verifyDocumoFax = documoFax.verifyDocumoFax.bind(documoFax);
14781
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);
14782
15132
  target.configureHealthie = healthie.configureHealthie.bind(healthie);
14783
15133
  target.getHealthieStatus = healthie.getHealthieStatus.bind(healthie);
14784
15134
  target.listHealthieProviders = healthie.listHealthieProviders.bind(healthie);
@@ -14840,6 +15190,10 @@ function bindIntegrationsMethods(target, mondayIntegration, discordBots, slackAp
14840
15190
  target.searchHubspotRecords = hubspot.searchHubspotRecords.bind(hubspot);
14841
15191
  target.importHubspotMembers = hubspot.importHubspotMembers.bind(hubspot);
14842
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);
14843
15197
  target.getHubspotManagedRules = hubspot.getHubspotManagedRules.bind(hubspot);
14844
15198
  target.getHubspotSyncLogs = hubspot.getHubspotSyncLogs.bind(hubspot);
14845
15199
  target.getHubspotTransformPresets = hubspot.getHubspotTransformPresets.bind(hubspot);
@@ -14851,7 +15205,23 @@ function bindIntegrationsMethods(target, mondayIntegration, discordBots, slackAp
14851
15205
  target.getSyncRuns = connectionSync.getSyncRuns.bind(connectionSync);
14852
15206
  target.getSyncRunItems = connectionSync.getSyncRunItems.bind(connectionSync);
14853
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);
14854
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);
14855
15225
  target.listAvailableAppConnections = appConnections.listAvailableAppConnections.bind(appConnections);
14856
15226
  target.listAppConnections = appConnections.listAppConnections.bind(appConnections);
14857
15227
  target.enablePlatformApp = appConnections.enablePlatformApp.bind(appConnections);
@@ -15012,6 +15382,7 @@ function bindJourneysMethods(target, journeys) {
15012
15382
  target.getJourneyV2Validation = journeys.getJourneyV2Validation.bind(journeys);
15013
15383
  target.getJourneyFilterOptions = journeys.getJourneyFilterOptions.bind(journeys);
15014
15384
  target.getJourneyHealth = journeys.getJourneyHealth.bind(journeys);
15385
+ target.getJourneySendEstimate = journeys.getJourneySendEstimate.bind(journeys);
15015
15386
  target.cloneJourneyAsV2 = journeys.cloneJourneyAsV2.bind(journeys);
15016
15387
  target.createJourney = journeys.createJourney.bind(journeys);
15017
15388
  target.updateJourney = journeys.updateJourney.bind(journeys);
@@ -15056,11 +15427,14 @@ function bindQualificationsMethods(target, qualifications) {
15056
15427
  target.deleteScenario = qualifications.deleteScenario.bind(qualifications);
15057
15428
  target.listTestChatRuns = qualifications.listTestChatRuns.bind(qualifications);
15058
15429
  target.listScenarioHealthSummaries = qualifications.listScenarioHealthSummaries.bind(qualifications);
15430
+ target.getChatTestRun = qualifications.getChatTestRun.bind(qualifications);
15059
15431
  target.getTestChatRun = qualifications.getTestChatRun.bind(qualifications);
15060
15432
  target.listChatCapturedEffects = qualifications.listChatCapturedEffects.bind(qualifications);
15061
15433
  target.listChatRecordChanges = qualifications.listChatRecordChanges.bind(qualifications);
15062
15434
  target.takeTestChatRunEmailTurn = qualifications.takeTestChatRunEmailTurn.bind(qualifications);
15063
15435
  target.takeTestChatRunSmsTurn = qualifications.takeTestChatRunSmsTurn.bind(qualifications);
15436
+ target.captureScenarioDraft = qualifications.captureScenarioDraft.bind(qualifications);
15437
+ target.promoteTestChatFeedback = qualifications.promoteTestChatFeedback.bind(qualifications);
15064
15438
  target.startTestChatRun = qualifications.startTestChatRun.bind(qualifications);
15065
15439
  target.evaluateTestChatRun = qualifications.evaluateTestChatRun.bind(qualifications);
15066
15440
  target.endTestChatRun = qualifications.endTestChatRun.bind(qualifications);
@@ -15070,6 +15444,9 @@ function bindQualificationsMethods(target, qualifications) {
15070
15444
  function bindPersonasMethods(target, personas) {
15071
15445
  target.listPersonas = personas.listPersonas.bind(personas);
15072
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);
15073
15450
  target.createPersona = personas.createPersona.bind(personas);
15074
15451
  target.updatePersona = personas.updatePersona.bind(personas);
15075
15452
  target.archivePersona = personas.archivePersona.bind(personas);
@@ -15215,6 +15592,7 @@ var GravityRailClient = class {
15215
15592
  updateChat;
15216
15593
  getChatModelOverride;
15217
15594
  updateChatModelOverride;
15595
+ setChatStar;
15218
15596
  updateChatMute;
15219
15597
  summarizeChat;
15220
15598
  getChatMessages;
@@ -15248,10 +15626,9 @@ var GravityRailClient = class {
15248
15626
  getChatFilterCount;
15249
15627
  // Calls API
15250
15628
  getPhoneCalls;
15629
+ getPhoneCallByUuid;
15251
15630
  getMessageTiming;
15252
- getRecordingInfo;
15253
15631
  getEdgeCaptureInfo;
15254
- listChatRecordings;
15255
15632
  getCallRecordingDownloadUrl;
15256
15633
  getCelContext;
15257
15634
  validateCelExpression;
@@ -15395,11 +15772,14 @@ var GravityRailClient = class {
15395
15772
  deleteScenario;
15396
15773
  listTestChatRuns;
15397
15774
  listScenarioHealthSummaries;
15775
+ getChatTestRun;
15398
15776
  getTestChatRun;
15399
15777
  listChatCapturedEffects;
15400
15778
  listChatRecordChanges;
15401
15779
  takeTestChatRunEmailTurn;
15402
15780
  takeTestChatRunSmsTurn;
15781
+ captureScenarioDraft;
15782
+ promoteTestChatFeedback;
15403
15783
  startTestChatRun;
15404
15784
  evaluateTestChatRun;
15405
15785
  endTestChatRun;
@@ -15413,6 +15793,9 @@ var GravityRailClient = class {
15413
15793
  previewDataReport;
15414
15794
  listPersonas;
15415
15795
  getPersona;
15796
+ getPersonaTestMember;
15797
+ createPersonaTestMember;
15798
+ resetPersonaTestMember;
15416
15799
  createPersona;
15417
15800
  updatePersona;
15418
15801
  archivePersona;
@@ -15483,6 +15866,7 @@ var GravityRailClient = class {
15483
15866
  getJourneyV2Validation;
15484
15867
  getJourneyFilterOptions;
15485
15868
  getJourneyHealth;
15869
+ getJourneySendEstimate;
15486
15870
  cloneJourneyAsV2;
15487
15871
  createJourney;
15488
15872
  updateJourney;
@@ -15709,6 +16093,7 @@ var GravityRailClient = class {
15709
16093
  setWorkspaceLabels;
15710
16094
  previewWorkspaceScope;
15711
16095
  getVapidPublicKey;
16096
+ testPushSubscription;
15712
16097
  registerPushSubscription;
15713
16098
  unregisterPushSubscription;
15714
16099
  listPushSubscriptions;
@@ -15988,6 +16373,7 @@ var GravityRailClient = class {
15988
16373
  createPhoneNumber;
15989
16374
  updatePhoneNumber;
15990
16375
  getArchiveBlockers;
16376
+ getPhoneNumberSetupStatus;
15991
16377
  archivePhoneNumber;
15992
16378
  getPhoneNumberCalls;
15993
16379
  getPhoneNumberOutboundAnalyticsSummary;
@@ -16020,6 +16406,7 @@ var GravityRailClient = class {
16020
16406
  sendInboxEmail;
16021
16407
  previewInboxEmail;
16022
16408
  previewEmailReply;
16409
+ getInboxOutboundEmailStats;
16023
16410
  getNotificationRules;
16024
16411
  createNotificationRule;
16025
16412
  updateNotificationRule;
@@ -16184,6 +16571,10 @@ var GravityRailClient = class {
16184
16571
  deleteSlackApp;
16185
16572
  getSlackThreads;
16186
16573
  getSlackInstallations;
16574
+ removeSlackInstallation;
16575
+ getSlackChannelChoices;
16576
+ getSlackEntryPoints;
16577
+ connectSlackEntryPoint;
16187
16578
  getSlackAppAccounts;
16188
16579
  // Teams Apps API
16189
16580
  getTeamsApps;
@@ -16226,8 +16617,9 @@ var GravityRailClient = class {
16226
16617
  fhirGetEncounterSyncRuns;
16227
16618
  fhirRefreshEncounterPatient;
16228
16619
  fhirBackfillEncounterSync;
16229
- fhirStartOnboardingImport;
16230
- fhirGetOnboardingImportStatus;
16620
+ getAthenaPlatformApp;
16621
+ verifyAthenaAccess;
16622
+ connectAthena;
16231
16623
  // Healthie API
16232
16624
  getDocumoFaxStatus;
16233
16625
  getDocumoFaxSetup;
@@ -16236,6 +16628,10 @@ var GravityRailClient = class {
16236
16628
  configureDocumoFax;
16237
16629
  verifyDocumoFax;
16238
16630
  rotateDocumoFaxCredentials;
16631
+ getClaimMdStatus;
16632
+ installClaimMd;
16633
+ configureClaimMd;
16634
+ verifyClaimMdKey;
16239
16635
  configurePatientSync;
16240
16636
  getPatientSyncStatus;
16241
16637
  deletePatientSyncConnection;
@@ -16303,6 +16699,10 @@ var GravityRailClient = class {
16303
16699
  searchHubspotRecords;
16304
16700
  importHubspotMembers;
16305
16701
  getHubspotContactProperties;
16702
+ getHubspotDealProperties;
16703
+ getHubspotForms;
16704
+ getHubspotMeetingLinks;
16705
+ getHubspotObjectProperties;
16306
16706
  getHubspotManagedRules;
16307
16707
  getHubspotSyncLogs;
16308
16708
  getHubspotTransformPresets;
@@ -16315,7 +16715,23 @@ var GravityRailClient = class {
16315
16715
  getSyncRuns;
16316
16716
  getSyncRunItems;
16317
16717
  getMemberSyncSummary;
16718
+ getConnectionFieldHomes;
16719
+ getInboundRecordStatus;
16720
+ getConnectionWritePreview;
16318
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;
16319
16735
  // App Connections API
16320
16736
  listAvailableAppConnections;
16321
16737
  listAppConnections;
@@ -16452,6 +16868,7 @@ var GravityRailClient = class {
16452
16868
  apis.patientSyncConnections,
16453
16869
  apis.healthie,
16454
16870
  apis.documoFax,
16871
+ apis.claimMd,
16455
16872
  apis.salesforce,
16456
16873
  apis.hubspot,
16457
16874
  apis.appConnections,
@@ -19541,7 +19958,7 @@ function isChatType(value) {
19541
19958
  // src/constants/models.ts
19542
19959
  var DEFAULT_CHAT_MODEL = "openai:chat:gpt-6-luna";
19543
19960
  var DEFAULT_AGENT_CHAT_MODEL = "openai:chat:gpt-6-luna";
19544
- var DEFAULT_AGENT_REALTIME_MODEL = "xai:realtime:voice-agent-2";
19961
+ var DEFAULT_AGENT_REALTIME_MODEL = "xai:realtime:voice-agent-3";
19545
19962
  var DEFAULT_AGENT_REALTIME_MODEL_CONFIG = {
19546
19963
  ttsModel: "native",
19547
19964
  voiceModel: "xai:voice:cosmo"
@@ -19732,6 +20149,7 @@ var ActivityEventType = {
19732
20149
  importcompleted: "import.completed",
19733
20150
  assignmentstarted: "assignment.started",
19734
20151
  assignmentconcluded: "assignment.concluded",
20152
+ assignmenttask_entered: "assignment.task_entered",
19735
20153
  journeyenrolled: "journey.enrolled",
19736
20154
  journeyunenrolled: "journey.unenrolled",
19737
20155
  journeycompleted: "journey.completed",
@@ -19742,6 +20160,8 @@ var ActivityEventType = {
19742
20160
  chathuman_replied: "chat.human_replied",
19743
20161
  chatcall_ended: "chat.call_ended",
19744
20162
  chatsummary: "chat.summary",
20163
+ messagesent: "message.sent",
20164
+ membermessage_received: "member.message_received",
19745
20165
  escalationopened: "escalation.opened",
19746
20166
  escalationresolved: "escalation.resolved",
19747
20167
  callstarted: "call.started",
@@ -20856,6 +21276,7 @@ function pathDraftToStorage(draft, original) {
20856
21276
  Scope,
20857
21277
  ScopeCategory,
20858
21278
  ScopeManager,
21279
+ SeedSpeaker,
20859
21280
  SendingNextStep,
20860
21281
  SendingStopState,
20861
21282
  SetInstallationPolicyRequestUpgradePolicy,