@gravity-rail/sdk 0.56.0 → 0.57.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/agui.d.cts +3 -2
- package/dist/agui.d.ts +3 -2
- package/dist/audio.d.cts +3 -2
- package/dist/audio.d.ts +3 -2
- package/dist/{chat-interaction-B1pEnDf4.d.ts → chat-interaction-BlORjFix.d.cts} +5990 -4389
- package/dist/{chat-interaction-Bb1dQ6iL.d.cts → chat-interaction-DyQjxoyc.d.ts} +5990 -4389
- package/dist/{chunk-HXVJF54M.js → chunk-D5VNVTUQ.js} +1 -1
- package/dist/chunk-D5VNVTUQ.js.map +1 -0
- package/dist/{chunk-BQOKENBF.js → chunk-YDC4OVZE.js} +486 -68
- package/dist/chunk-YDC4OVZE.js.map +1 -0
- package/dist/helpers.d.cts +6 -5
- package/dist/helpers.d.ts +6 -5
- package/dist/index.cjs +489 -67
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +9 -7
- package/dist/index.d.ts +9 -7
- package/dist/index.js +7 -2
- package/dist/index.js.map +1 -1
- package/dist/internal.cjs +486 -67
- package/dist/internal.cjs.map +1 -1
- package/dist/internal.d.cts +7 -136
- package/dist/internal.d.ts +7 -136
- package/dist/internal.js +4 -2
- package/dist/internal.js.map +1 -1
- package/dist/{member-import-DzuvKnMC.d.cts → member-import-B8nsRMD9.d.cts} +1 -1
- package/dist/{member-import-D1QvZiy5.d.ts → member-import-l7j087-X.d.ts} +1 -1
- package/dist/{path-CoJI_rv9.d.ts → path-BKKAG8ti.d.cts} +5 -4
- package/dist/{path-Q4WIJjcE.d.cts → path-CdqBYuYi.d.ts} +5 -4
- package/dist/realtime.d.cts +4 -3
- package/dist/realtime.d.ts +4 -3
- package/dist/schemas.cjs +79 -41
- package/dist/schemas.cjs.map +1 -1
- package/dist/schemas.d.cts +207 -63
- package/dist/schemas.d.ts +207 -63
- package/dist/schemas.js +78 -42
- package/dist/schemas.js.map +1 -1
- package/dist/{tasks-BdYhYUpU.d.cts → tasks-By6Bzhwy.d.cts} +1026 -850
- package/dist/{tasks-BdYhYUpU.d.ts → tasks-By6Bzhwy.d.ts} +1026 -850
- package/dist/{types-DlfADjPR.d.cts → types-BXaWYGHj.d.cts} +2 -1
- package/dist/{types-DlfADjPR.d.ts → types-BXaWYGHj.d.ts} +2 -1
- package/package.json +5 -5
- package/dist/chunk-BQOKENBF.js.map +0 -1
- 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
|
|
2316
|
-
*
|
|
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,21 @@ var DiscordBotsApi = class extends BaseApiClient {
|
|
|
3609
3625
|
|
|
3610
3626
|
// src/api/slack-apps.ts
|
|
3611
3627
|
var SlackAppsApi = class extends BaseApiClient {
|
|
3612
|
-
async
|
|
3628
|
+
async removeSlackAccount(wid, appId, credentialId) {
|
|
3629
|
+
return this.fetch(`w/${wid}/app-connections/slack/apps/${appId}/accounts/${credentialId}`, {
|
|
3630
|
+
method: "DELETE"
|
|
3631
|
+
});
|
|
3632
|
+
}
|
|
3633
|
+
async removeSlackInstallation(wid, appId, installationId) {
|
|
3634
|
+
return this.fetch(
|
|
3635
|
+
`w/${wid}/app-connections/slack/apps/${appId}/installations/${installationId}`,
|
|
3636
|
+
{ method: "DELETE" }
|
|
3637
|
+
);
|
|
3638
|
+
}
|
|
3639
|
+
async getSlackChannelChoices(wid, appId, cursor, teamId) {
|
|
3613
3640
|
const params = new URLSearchParams({ appId: String(appId) });
|
|
3614
3641
|
if (cursor) params.set("cursor", cursor);
|
|
3642
|
+
if (teamId) params.set("teamId", teamId);
|
|
3615
3643
|
return this.fetch(
|
|
3616
3644
|
`w/${wid}/app-connections/slack/channel-choices?${params}`
|
|
3617
3645
|
);
|
|
@@ -3620,6 +3648,8 @@ var SlackAppsApi = class extends BaseApiClient {
|
|
|
3620
3648
|
const params = new URLSearchParams();
|
|
3621
3649
|
if (options.appId) params.set("appId", String(options.appId));
|
|
3622
3650
|
if (options.workflowId) params.set("workflowId", String(options.workflowId));
|
|
3651
|
+
if (options.offset !== void 0) params.set("offset", String(options.offset));
|
|
3652
|
+
if (options.limit !== void 0) params.set("limit", String(options.limit));
|
|
3623
3653
|
return this.fetch(`w/${wid}/app-connections/slack/entry-points?${params}`);
|
|
3624
3654
|
}
|
|
3625
3655
|
async connectSlackEntryPoint(wid, data) {
|
|
@@ -3638,6 +3668,9 @@ var SlackAppsApi = class extends BaseApiClient {
|
|
|
3638
3668
|
if (options.sortBy) params.append("sortBy", options.sortBy);
|
|
3639
3669
|
if (options.sortOrder) params.append("sortOrder", options.sortOrder);
|
|
3640
3670
|
if (options.search) params.append("search", options.search);
|
|
3671
|
+
if (options.agentId !== void 0) params.set("agentId", String(options.agentId));
|
|
3672
|
+
if (options.workflowId !== void 0) params.set("workflowId", String(options.workflowId));
|
|
3673
|
+
if (options.managed !== void 0) params.set("managed", String(options.managed));
|
|
3641
3674
|
return this.fetch(
|
|
3642
3675
|
`w/${wid}/app-connections/slack/apps${params.toString() ? `?${params.toString()}` : ""}`
|
|
3643
3676
|
);
|
|
@@ -3692,6 +3725,8 @@ var SlackAppsApi = class extends BaseApiClient {
|
|
|
3692
3725
|
const params = new URLSearchParams();
|
|
3693
3726
|
if (options.page) params.append("page", options.page.toString());
|
|
3694
3727
|
if (options.pageSize) params.append("pageSize", options.pageSize.toString());
|
|
3728
|
+
if (options.search) params.set("search", options.search);
|
|
3729
|
+
if (options.connection) params.set("connection", options.connection);
|
|
3695
3730
|
return this.fetch(
|
|
3696
3731
|
`w/${wid}/app-connections/slack/apps/${appId}/installations${params.toString() ? `?${params.toString()}` : ""}`
|
|
3697
3732
|
);
|
|
@@ -3703,6 +3738,8 @@ var SlackAppsApi = class extends BaseApiClient {
|
|
|
3703
3738
|
const params = new URLSearchParams();
|
|
3704
3739
|
if (options.page) params.append("page", options.page.toString());
|
|
3705
3740
|
if (options.pageSize) params.append("pageSize", options.pageSize.toString());
|
|
3741
|
+
if (options.teamId) params.set("teamId", options.teamId);
|
|
3742
|
+
if (options.search) params.set("search", options.search);
|
|
3706
3743
|
return this.fetch(
|
|
3707
3744
|
`w/${wid}/app-connections/slack/apps/${appId}/accounts${params.toString() ? `?${params.toString()}` : ""}`
|
|
3708
3745
|
);
|
|
@@ -4141,6 +4178,36 @@ var FhirConnectionsApi = class extends BaseApiClient {
|
|
|
4141
4178
|
body: JSON.stringify(data)
|
|
4142
4179
|
});
|
|
4143
4180
|
}
|
|
4181
|
+
/**
|
|
4182
|
+
* Which environments of the shared Gravity Rail athenahealth app this
|
|
4183
|
+
* deployment can use. Requires `apps:read`.
|
|
4184
|
+
*/
|
|
4185
|
+
async getAthenaPlatformApp(wid) {
|
|
4186
|
+
return this.fetch(
|
|
4187
|
+
`w/${wid}/app-connections/fhir/athena/platform-app`
|
|
4188
|
+
);
|
|
4189
|
+
}
|
|
4190
|
+
/**
|
|
4191
|
+
* Check that the Gravity Rail athenahealth app can reach a practice in an
|
|
4192
|
+
* environment. Saves nothing. Requires `apps:write`.
|
|
4193
|
+
*/
|
|
4194
|
+
async verifyAthenaAccess(wid, data) {
|
|
4195
|
+
return this.fetch(
|
|
4196
|
+
`w/${wid}/app-connections/fhir/athena/verify-access`,
|
|
4197
|
+
{ method: "POST", body: JSON.stringify(data) }
|
|
4198
|
+
);
|
|
4199
|
+
}
|
|
4200
|
+
/**
|
|
4201
|
+
* Create an athenahealth connection through the shared Gravity Rail app.
|
|
4202
|
+
* The server re-runs the access probe and answers 400 with
|
|
4203
|
+
* `detail: { code, message }` when it fails. Requires `apps:write`.
|
|
4204
|
+
*/
|
|
4205
|
+
async connectAthena(wid, data) {
|
|
4206
|
+
return this.fetch(`w/${wid}/app-connections/fhir/athena/connections`, {
|
|
4207
|
+
method: "POST",
|
|
4208
|
+
body: JSON.stringify(data)
|
|
4209
|
+
});
|
|
4210
|
+
}
|
|
4144
4211
|
/**
|
|
4145
4212
|
* Update an existing FHIR connection configuration.
|
|
4146
4213
|
*/
|
|
@@ -4359,36 +4426,6 @@ var FhirConnectionsApi = class extends BaseApiClient {
|
|
|
4359
4426
|
{ method: "POST", body: JSON.stringify(data) }
|
|
4360
4427
|
);
|
|
4361
4428
|
}
|
|
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
4429
|
};
|
|
4393
4430
|
|
|
4394
4431
|
// src/api/patientsync-connections.ts
|
|
@@ -4410,6 +4447,33 @@ var PatientSyncConnectionsApi = class extends BaseApiClient {
|
|
|
4410
4447
|
}
|
|
4411
4448
|
};
|
|
4412
4449
|
|
|
4450
|
+
// src/api/claim-md.ts
|
|
4451
|
+
var ClaimMdApi = class extends BaseApiClient {
|
|
4452
|
+
async getClaimMdStatus(wid) {
|
|
4453
|
+
return this.fetch(`w/${wid}/app-connections/claim-md/status`);
|
|
4454
|
+
}
|
|
4455
|
+
/** Sends `{}` deliberately: the route requires a JSON body as a CSRF barrier. */
|
|
4456
|
+
async installClaimMd(wid) {
|
|
4457
|
+
return this.fetch(`w/${wid}/app-connections/claim-md/install`, {
|
|
4458
|
+
method: "POST",
|
|
4459
|
+
body: JSON.stringify({})
|
|
4460
|
+
});
|
|
4461
|
+
}
|
|
4462
|
+
async configureClaimMd(wid, data) {
|
|
4463
|
+
return this.fetch(`w/${wid}/app-connections/claim-md/configure`, {
|
|
4464
|
+
method: "POST",
|
|
4465
|
+
body: JSON.stringify(data)
|
|
4466
|
+
});
|
|
4467
|
+
}
|
|
4468
|
+
/** Checks a pasted AccountKey without storing it. */
|
|
4469
|
+
async verifyClaimMdKey(wid, data) {
|
|
4470
|
+
return this.fetch(`w/${wid}/app-connections/claim-md/verify`, {
|
|
4471
|
+
method: "POST",
|
|
4472
|
+
body: JSON.stringify(data)
|
|
4473
|
+
});
|
|
4474
|
+
}
|
|
4475
|
+
};
|
|
4476
|
+
|
|
4413
4477
|
// src/types/generated/inbound_fax.ts
|
|
4414
4478
|
var InboundFaxStatus = {
|
|
4415
4479
|
pending: "pending",
|
|
@@ -5070,6 +5134,23 @@ var InboxesApi = class extends BaseApiClient {
|
|
|
5070
5134
|
);
|
|
5071
5135
|
return response.arrayBuffer();
|
|
5072
5136
|
}
|
|
5137
|
+
/**
|
|
5138
|
+
* Reply and bounce rates for the emails one inbox sent in a period.
|
|
5139
|
+
*
|
|
5140
|
+
* `dateFrom` (inclusive) and `dateTo` (exclusive) are ISO 8601 instants with
|
|
5141
|
+
* an offset and must be passed together, at most 90 days apart; omit both
|
|
5142
|
+
* for the server's rolling last 30 days. Requires `inboxes:read` and
|
|
5143
|
+
* `analytics:read` plus admin access to the inbox. Aggregates only.
|
|
5144
|
+
*/
|
|
5145
|
+
async getInboxOutboundEmailStats(wid, inboxId, period = {}) {
|
|
5146
|
+
const params = new URLSearchParams();
|
|
5147
|
+
if (period.dateFrom) params.append("date_from", period.dateFrom);
|
|
5148
|
+
if (period.dateTo) params.append("date_to", period.dateTo);
|
|
5149
|
+
const query = params.toString();
|
|
5150
|
+
return this.fetch(
|
|
5151
|
+
`w/${wid}/inboxes/${inboxId}/outbound-email-stats${query ? `?${query}` : ""}`
|
|
5152
|
+
);
|
|
5153
|
+
}
|
|
5073
5154
|
/** List email threads in an inbox. */
|
|
5074
5155
|
async getInboxThreads(wid, inboxId) {
|
|
5075
5156
|
return this.fetch(`w/${wid}/inboxes/${inboxId}/threads`);
|
|
@@ -7394,6 +7475,18 @@ var OrgApi = class extends BaseApiClient {
|
|
|
7394
7475
|
async listA2PBrands(orgUuid) {
|
|
7395
7476
|
return this.fetch(`o/${orgUuid}/a2p-brands`);
|
|
7396
7477
|
}
|
|
7478
|
+
/**
|
|
7479
|
+
* Poll Twilio for one brand now and record its brand and campaign statuses,
|
|
7480
|
+
* as the scheduled sync would. Returns the brand as recorded afterwards,
|
|
7481
|
+
* without the live workflow fields `getA2PBrand` adds.
|
|
7482
|
+
*/
|
|
7483
|
+
async syncA2PBrand(orgUuid, brandUuid) {
|
|
7484
|
+
return this.fetch(
|
|
7485
|
+
`o/${orgUuid}/a2p-brands/${brandUuid}/sync`,
|
|
7486
|
+
// Empty JSON body is the CSRF barrier the route requires (GRA-6284).
|
|
7487
|
+
{ method: "POST", body: JSON.stringify({}) }
|
|
7488
|
+
);
|
|
7489
|
+
}
|
|
7397
7490
|
/**
|
|
7398
7491
|
* Live per-brand campaign use-case eligibility. Approved brands only — a
|
|
7399
7492
|
* brand still under TCR review comes back as a structured 412 the picker
|
|
@@ -7883,6 +7976,14 @@ var PhoneNumbersApi = class extends BaseApiClient {
|
|
|
7883
7976
|
async getPhoneNumber(wid, id) {
|
|
7884
7977
|
return this.fetch(`w/${wid}/phone-numbers/${id}`);
|
|
7885
7978
|
}
|
|
7979
|
+
/**
|
|
7980
|
+
* What this number still needs from its organization: the texting and
|
|
7981
|
+
* caller ID registration states of the business it belongs to. States only —
|
|
7982
|
+
* readable with `phones:read`, so it carries none of the business's forms.
|
|
7983
|
+
*/
|
|
7984
|
+
async getPhoneNumberSetupStatus(wid, id) {
|
|
7985
|
+
return this.fetch(`w/${wid}/phone-numbers/${id}/setup-status`);
|
|
7986
|
+
}
|
|
7886
7987
|
/** Create a new phone number record. */
|
|
7887
7988
|
async createPhoneNumber(wid, phoneNumber) {
|
|
7888
7989
|
return this.fetch(`w/${wid}/phone-numbers`, {
|
|
@@ -8197,6 +8298,21 @@ var PersonasApi = class extends BaseApiClient {
|
|
|
8197
8298
|
async getPersona(wid, id) {
|
|
8198
8299
|
return this.fetch(`w/${wid}/personas/${id}`);
|
|
8199
8300
|
}
|
|
8301
|
+
async getPersonaTestMember(wid, id) {
|
|
8302
|
+
return this.fetch(`w/${wid}/personas/${id}/test-member`);
|
|
8303
|
+
}
|
|
8304
|
+
async createPersonaTestMember(wid, id) {
|
|
8305
|
+
return this.fetch(`w/${wid}/personas/${id}/test-member`, {
|
|
8306
|
+
method: "POST",
|
|
8307
|
+
body: JSON.stringify({})
|
|
8308
|
+
});
|
|
8309
|
+
}
|
|
8310
|
+
async resetPersonaTestMember(wid, id) {
|
|
8311
|
+
return this.fetch(`w/${wid}/personas/${id}/test-member/reset`, {
|
|
8312
|
+
method: "POST",
|
|
8313
|
+
body: JSON.stringify({})
|
|
8314
|
+
});
|
|
8315
|
+
}
|
|
8200
8316
|
async createPersona(wid, data) {
|
|
8201
8317
|
return this.fetch(`w/${wid}/personas`, {
|
|
8202
8318
|
method: "POST",
|
|
@@ -8372,6 +8488,21 @@ var ProjectsApi = class extends BaseApiClient {
|
|
|
8372
8488
|
|
|
8373
8489
|
// src/api/qualifications.ts
|
|
8374
8490
|
var QualificationsApi = class extends BaseApiClient {
|
|
8491
|
+
/** Copy an authorized test Chat prefix into an editable Scenario draft. */
|
|
8492
|
+
async captureScenarioDraft(wid, chatId, throughMessageId) {
|
|
8493
|
+
return this.fetch(`w/${wid}/qualifications/chats/${chatId}/scenario-draft`, {
|
|
8494
|
+
method: "POST",
|
|
8495
|
+
body: JSON.stringify({ throughMessageId })
|
|
8496
|
+
});
|
|
8497
|
+
}
|
|
8498
|
+
/** Pause before the next Persona turn; a current Agent reply may finish. */
|
|
8499
|
+
/** Turn feedback into an explicitly authored rubric on the same Workflow. */
|
|
8500
|
+
async promoteTestChatFeedback(wid, runId, request) {
|
|
8501
|
+
return this.fetch(`w/${wid}/qualifications/test-chat-runs/${runId}/feedback/criterion`, {
|
|
8502
|
+
method: "POST",
|
|
8503
|
+
body: JSON.stringify(request)
|
|
8504
|
+
});
|
|
8505
|
+
}
|
|
8375
8506
|
/** List qualifications in a workspace, paginated. */
|
|
8376
8507
|
async getQualifications(wid, params) {
|
|
8377
8508
|
const query = new URLSearchParams();
|
|
@@ -8463,6 +8594,12 @@ var QualificationsApi = class extends BaseApiClient {
|
|
|
8463
8594
|
`w/${wid}/qualifications/workflows/${workflowId}/scenario-health-summaries${qs}`
|
|
8464
8595
|
);
|
|
8465
8596
|
}
|
|
8597
|
+
/** The saved run of a test Chat, including its driver and completion state. */
|
|
8598
|
+
async getChatTestRun(wid, chatId) {
|
|
8599
|
+
return this.fetch(
|
|
8600
|
+
`w/${wid}/qualifications/chats/${chatId}/test-chat-run`
|
|
8601
|
+
);
|
|
8602
|
+
}
|
|
8466
8603
|
async getTestChatRun(wid, runId) {
|
|
8467
8604
|
return this.fetch(`w/${wid}/qualifications/test-chat-runs/${runId}`);
|
|
8468
8605
|
}
|
|
@@ -8785,9 +8922,9 @@ var SalesforceApi = class extends BaseApiClient {
|
|
|
8785
8922
|
});
|
|
8786
8923
|
}
|
|
8787
8924
|
/**
|
|
8788
|
-
*
|
|
8789
|
-
*
|
|
8790
|
-
*
|
|
8925
|
+
* @deprecated Use `linkUnlinkedMembersByIdentity(wid, connectionId)`, which
|
|
8926
|
+
* serves every connector that links by identity. This calls the retained
|
|
8927
|
+
* Salesforce-only route and will be removed once no caller remains.
|
|
8791
8928
|
*/
|
|
8792
8929
|
async linkUnlinkedSalesforceMembersByIdentity(wid) {
|
|
8793
8930
|
return this.fetch(
|
|
@@ -8914,6 +9051,20 @@ var ConnectionSyncApi = class extends BaseApiClient {
|
|
|
8914
9051
|
{ method: "PUT", body: JSON.stringify(data) }
|
|
8915
9052
|
);
|
|
8916
9053
|
}
|
|
9054
|
+
async getConnectionFieldHomes(wid, connectionId) {
|
|
9055
|
+
return this.fetch(`w/${wid}/app-connections/${connectionId}/field-homes`);
|
|
9056
|
+
}
|
|
9057
|
+
/** Each inbound record source's latest pass: closed status, times and counts. */
|
|
9058
|
+
async getInboundRecordStatus(wid, connectionId) {
|
|
9059
|
+
return this.fetch(
|
|
9060
|
+
`w/${wid}/app-connections/${connectionId}/inbound-records/status`
|
|
9061
|
+
);
|
|
9062
|
+
}
|
|
9063
|
+
async getConnectionWritePreview(wid, connectionId, memberId) {
|
|
9064
|
+
return this.fetch(
|
|
9065
|
+
`w/${wid}/app-connections/${connectionId}/write-preview/members/${memberId}`
|
|
9066
|
+
);
|
|
9067
|
+
}
|
|
8917
9068
|
async getConnectionSyncCheckpoint(wid, connectionId, direction = "inbound", syncKey = "default") {
|
|
8918
9069
|
const query = new URLSearchParams({
|
|
8919
9070
|
direction,
|
|
@@ -8976,6 +9127,108 @@ var ConnectionSyncApi = class extends BaseApiClient {
|
|
|
8976
9127
|
{ method: "DELETE" }
|
|
8977
9128
|
);
|
|
8978
9129
|
}
|
|
9130
|
+
/**
|
|
9131
|
+
* Start a durable run that links the connection's unlinked members to
|
|
9132
|
+
* remote records by identity (email, phone, or the vendor's own key) and
|
|
9133
|
+
* hydrates them. Served for any connector that declares a remote identity
|
|
9134
|
+
* resolver (Salesforce, HubSpot); another connector is 400. One run per
|
|
9135
|
+
* connection: a second start while one is in flight is 409.
|
|
9136
|
+
*/
|
|
9137
|
+
async linkUnlinkedMembersByIdentity(wid, connectionId) {
|
|
9138
|
+
return this.fetch(
|
|
9139
|
+
`w/${wid}/app-connections/${connectionId}/link-unlinked-by-identity`,
|
|
9140
|
+
{ method: "POST", body: JSON.stringify({}) }
|
|
9141
|
+
);
|
|
9142
|
+
}
|
|
9143
|
+
// --- Saved subset imports (Integration Standard IM-1..IM-4) ---------------
|
|
9144
|
+
subsetImportsPath(wid, connectionId, suffix2 = "") {
|
|
9145
|
+
return `w/${wid}/app-connections/${connectionId}/subset-imports${suffix2}`;
|
|
9146
|
+
}
|
|
9147
|
+
/** The connection's saved imports, newest first, and the kinds it accepts. */
|
|
9148
|
+
async listSubsetImports(wid, connectionId) {
|
|
9149
|
+
return this.fetch(this.subsetImportsPath(wid, connectionId));
|
|
9150
|
+
}
|
|
9151
|
+
async getSubsetImport(wid, connectionId, importId) {
|
|
9152
|
+
return this.fetch(
|
|
9153
|
+
this.subsetImportsPath(wid, connectionId, `/${encodeURIComponent(importId)}`)
|
|
9154
|
+
);
|
|
9155
|
+
}
|
|
9156
|
+
/** Save a named selection. Saving never reads the vendor or imports. */
|
|
9157
|
+
async createSubsetImport(wid, connectionId, data) {
|
|
9158
|
+
return this.fetch(this.subsetImportsPath(wid, connectionId), {
|
|
9159
|
+
method: "POST",
|
|
9160
|
+
body: JSON.stringify(data)
|
|
9161
|
+
});
|
|
9162
|
+
}
|
|
9163
|
+
/** Replace a saved selection. A changed selection resets its progress. */
|
|
9164
|
+
async updateSubsetImport(wid, connectionId, importId, data) {
|
|
9165
|
+
return this.fetch(
|
|
9166
|
+
this.subsetImportsPath(wid, connectionId, `/${encodeURIComponent(importId)}`),
|
|
9167
|
+
{ method: "PUT", body: JSON.stringify(data) }
|
|
9168
|
+
);
|
|
9169
|
+
}
|
|
9170
|
+
/** Remove a saved import. Its Members and links stay. */
|
|
9171
|
+
async deleteSubsetImport(wid, connectionId, importId) {
|
|
9172
|
+
await this.fetch(
|
|
9173
|
+
this.subsetImportsPath(wid, connectionId, `/${encodeURIComponent(importId)}`),
|
|
9174
|
+
{ method: "DELETE" }
|
|
9175
|
+
);
|
|
9176
|
+
}
|
|
9177
|
+
/** Count and sample an unsaved selection. Never writes. */
|
|
9178
|
+
async previewSubsetImportSelection(wid, connectionId, selection) {
|
|
9179
|
+
return this.fetch(
|
|
9180
|
+
this.subsetImportsPath(wid, connectionId, "/preview"),
|
|
9181
|
+
{ method: "POST", body: JSON.stringify({ selection }) }
|
|
9182
|
+
);
|
|
9183
|
+
}
|
|
9184
|
+
/** Count and sample a saved selection. Never writes. */
|
|
9185
|
+
async previewSubsetImport(wid, connectionId, importId) {
|
|
9186
|
+
return this.fetch(
|
|
9187
|
+
this.subsetImportsPath(wid, connectionId, `/${encodeURIComponent(importId)}/preview`),
|
|
9188
|
+
// The CSRF barrier refuses a body-less POST (422); `{}` is the request.
|
|
9189
|
+
{ method: "POST", body: JSON.stringify({}) }
|
|
9190
|
+
);
|
|
9191
|
+
}
|
|
9192
|
+
/**
|
|
9193
|
+
* Start the import in the background (202). A failed or cancelled import
|
|
9194
|
+
* resumes where it stopped unless `restart` is true.
|
|
9195
|
+
*/
|
|
9196
|
+
async runSubsetImport(wid, connectionId, importId, options) {
|
|
9197
|
+
return this.fetch(
|
|
9198
|
+
this.subsetImportsPath(wid, connectionId, `/${encodeURIComponent(importId)}/run`),
|
|
9199
|
+
{ method: "POST", body: JSON.stringify({ restart: options?.restart ?? false }) }
|
|
9200
|
+
);
|
|
9201
|
+
}
|
|
9202
|
+
/** Ask a running import to stop (202); its progress is kept for a resume. */
|
|
9203
|
+
async cancelSubsetImport(wid, connectionId, importId) {
|
|
9204
|
+
return this.fetch(
|
|
9205
|
+
this.subsetImportsPath(wid, connectionId, `/${encodeURIComponent(importId)}/cancel`),
|
|
9206
|
+
// The CSRF barrier refuses a body-less POST (422); `{}` is the request.
|
|
9207
|
+
{ method: "POST", body: JSON.stringify({}) }
|
|
9208
|
+
);
|
|
9209
|
+
}
|
|
9210
|
+
/** The connection's import-run history, newest first (counts only). */
|
|
9211
|
+
async listSubsetImportRuns(wid, connectionId, limit = 20) {
|
|
9212
|
+
return this.fetch(
|
|
9213
|
+
this.subsetImportsPath(wid, connectionId, `/runs?limit=${limit}`)
|
|
9214
|
+
);
|
|
9215
|
+
}
|
|
9216
|
+
/** Vendor lists a `vendor_list` import can name (configuration only). */
|
|
9217
|
+
async listSubsetImportVendorLists(wid, connectionId, options) {
|
|
9218
|
+
const query = new URLSearchParams({
|
|
9219
|
+
query: options?.query ?? "",
|
|
9220
|
+
limit: String(options?.limit ?? 50)
|
|
9221
|
+
});
|
|
9222
|
+
return this.fetch(
|
|
9223
|
+
this.subsetImportsPath(wid, connectionId, `/vendor-lists?${query}`)
|
|
9224
|
+
);
|
|
9225
|
+
}
|
|
9226
|
+
/** Remote fields a `field_filter` import can name, with their operators. */
|
|
9227
|
+
async listSubsetImportFilterFields(wid, connectionId) {
|
|
9228
|
+
return this.fetch(
|
|
9229
|
+
this.subsetImportsPath(wid, connectionId, "/filter-fields")
|
|
9230
|
+
);
|
|
9231
|
+
}
|
|
8979
9232
|
};
|
|
8980
9233
|
|
|
8981
9234
|
// src/api/hubspot.ts
|
|
@@ -9081,6 +9334,35 @@ var HubspotApi = class extends BaseApiClient {
|
|
|
9081
9334
|
`w/${wid}/app-connections/hubspot/sync-settings/hs-properties`
|
|
9082
9335
|
);
|
|
9083
9336
|
}
|
|
9337
|
+
/** Mappable HubSpot deal property definitions (deal inbound record sources). */
|
|
9338
|
+
async getHubspotDealProperties(wid) {
|
|
9339
|
+
return this.fetch(
|
|
9340
|
+
`w/${wid}/app-connections/hubspot/sync-settings/hs-properties?objectType=deals`
|
|
9341
|
+
);
|
|
9342
|
+
}
|
|
9343
|
+
/** The portal's Meetings booking links, or `missing_scope` without the scheduler scope. */
|
|
9344
|
+
async getHubspotMeetingLinks(wid) {
|
|
9345
|
+
return this.fetch(
|
|
9346
|
+
`w/${wid}/app-connections/hubspot/sync-settings/meeting-links`
|
|
9347
|
+
);
|
|
9348
|
+
}
|
|
9349
|
+
/** The portal's forms and their fields, or `missing_scope` without the `forms` scope. */
|
|
9350
|
+
async getHubspotForms(wid) {
|
|
9351
|
+
return this.fetch(
|
|
9352
|
+
`w/${wid}/app-connections/hubspot/sync-settings/forms`
|
|
9353
|
+
);
|
|
9354
|
+
}
|
|
9355
|
+
/**
|
|
9356
|
+
* Raw HubSpot property definitions for one CRM object type
|
|
9357
|
+
* (`GET /get_properties/{objectType}`), as HubSpot's properties API
|
|
9358
|
+
* returns them. Use `getHubspotContactProperties` for the sync-mappable
|
|
9359
|
+
* contact property list the field mapper shows.
|
|
9360
|
+
*/
|
|
9361
|
+
async getHubspotObjectProperties(wid, objectType) {
|
|
9362
|
+
return this.fetch(
|
|
9363
|
+
`w/${wid}/app-connections/hubspot/get_properties/${encodeURIComponent(objectType)}`
|
|
9364
|
+
);
|
|
9365
|
+
}
|
|
9084
9366
|
async getHubspotManagedRules(wid) {
|
|
9085
9367
|
return this.fetch(`w/${wid}/app-connections/hubspot/managed-rules`);
|
|
9086
9368
|
}
|
|
@@ -10253,6 +10535,17 @@ var JourneysApi = class extends BaseApiClient {
|
|
|
10253
10535
|
async getJourneyHealth(wid, journeyId) {
|
|
10254
10536
|
return this.fetch(`w/${wid}/journeys/${journeyId}/health`);
|
|
10255
10537
|
}
|
|
10538
|
+
/**
|
|
10539
|
+
* How many days the journey's texts take at the workspace's current sending
|
|
10540
|
+
* limits — advice for the publish and enroll confirmations, never a gate.
|
|
10541
|
+
* `additionalMembers` is the size of a batch about to be enrolled.
|
|
10542
|
+
*/
|
|
10543
|
+
async getJourneySendEstimate(wid, journeyId, additionalMembers = 0) {
|
|
10544
|
+
const query = new URLSearchParams({ additionalMembers: String(additionalMembers) });
|
|
10545
|
+
return this.fetch(
|
|
10546
|
+
`w/${wid}/journeys/${journeyId}/send-estimate?${query.toString()}`
|
|
10547
|
+
);
|
|
10548
|
+
}
|
|
10256
10549
|
/** Create a step within a journey. */
|
|
10257
10550
|
async createStep(wid, journeyId, data) {
|
|
10258
10551
|
return this.fetch(`w/${wid}/journeys/${journeyId}/steps`, {
|
|
@@ -11278,13 +11571,12 @@ var WorkspaceFeature = /* @__PURE__ */ ((WorkspaceFeature2) => {
|
|
|
11278
11571
|
WorkspaceFeature2["GSHEETS"] = "gsheets";
|
|
11279
11572
|
WorkspaceFeature2["MONDAY"] = "monday";
|
|
11280
11573
|
WorkspaceFeature2["DOCUMO_FAX"] = "documo_fax";
|
|
11574
|
+
WorkspaceFeature2["CLAIM_MD"] = "claim_md";
|
|
11281
11575
|
WorkspaceFeature2["RESELL_PRODUCTS"] = "resell_products";
|
|
11282
11576
|
WorkspaceFeature2["SOC2_COMPLIANCE"] = "soc2_compliance";
|
|
11283
11577
|
WorkspaceFeature2["EHR_FHIR"] = "ehr_fhir";
|
|
11284
11578
|
WorkspaceFeature2["EHR_ECLINICALWORKS"] = "ehr_eclinicalworks";
|
|
11285
11579
|
WorkspaceFeature2["EHR_HEALTHIE"] = "ehr_healthie";
|
|
11286
|
-
WorkspaceFeature2["CRM_SALESFORCE"] = "crm_salesforce";
|
|
11287
|
-
WorkspaceFeature2["CRM_HUBSPOT"] = "crm_hubspot";
|
|
11288
11580
|
WorkspaceFeature2["CONFLUENCE"] = "confluence";
|
|
11289
11581
|
WorkspaceFeature2["ZENDESK"] = "zendesk";
|
|
11290
11582
|
WorkspaceFeature2["AGENT_MEMORY"] = "agent_memory";
|
|
@@ -11561,6 +11853,10 @@ var RunHealthCategory = {
|
|
|
11561
11853
|
ungradeable: "ungradeable",
|
|
11562
11854
|
incomplete: "incomplete"
|
|
11563
11855
|
};
|
|
11856
|
+
var SeedSpeaker = {
|
|
11857
|
+
member: "member",
|
|
11858
|
+
agent: "agent"
|
|
11859
|
+
};
|
|
11564
11860
|
var TestChatRunLane = {
|
|
11565
11861
|
text: "text",
|
|
11566
11862
|
web_realtime: "web_realtime",
|
|
@@ -11575,6 +11871,7 @@ var TestChatRunOutcome = {
|
|
|
11575
11871
|
agent_silent: "agent_silent",
|
|
11576
11872
|
max_turns: "max_turns",
|
|
11577
11873
|
human_end: "human_end",
|
|
11874
|
+
single_turn: "single_turn",
|
|
11578
11875
|
configuration_failure: "configuration_failure",
|
|
11579
11876
|
instrument_failure: "instrument_failure"
|
|
11580
11877
|
};
|
|
@@ -12250,13 +12547,10 @@ var WorkspacesApi = class extends BaseApiClient {
|
|
|
12250
12547
|
}
|
|
12251
12548
|
/** Register a Web Push subscription for the current user. */
|
|
12252
12549
|
async registerPushSubscription(wid, subscription) {
|
|
12253
|
-
return this.fetch(
|
|
12254
|
-
|
|
12255
|
-
|
|
12256
|
-
|
|
12257
|
-
body: JSON.stringify(subscription)
|
|
12258
|
-
}
|
|
12259
|
-
);
|
|
12550
|
+
return this.fetch(`w/${wid}/push-subscriptions`, {
|
|
12551
|
+
method: "POST",
|
|
12552
|
+
body: JSON.stringify(subscription)
|
|
12553
|
+
});
|
|
12260
12554
|
}
|
|
12261
12555
|
/** Unregister a Web Push subscription by endpoint URL. */
|
|
12262
12556
|
async unregisterPushSubscription(wid, endpoint) {
|
|
@@ -12271,6 +12565,14 @@ var WorkspacesApi = class extends BaseApiClient {
|
|
|
12271
12565
|
async listPushSubscriptions(wid) {
|
|
12272
12566
|
return this.fetch(`w/${wid}/push-subscriptions`);
|
|
12273
12567
|
}
|
|
12568
|
+
/** Submit a fixed generic test to an owned browser registration. */
|
|
12569
|
+
async testPushSubscription(wid, subscriptionId) {
|
|
12570
|
+
const body = {};
|
|
12571
|
+
return this.fetch(
|
|
12572
|
+
`w/${wid}/push-subscriptions/${subscriptionId}/test`,
|
|
12573
|
+
{ method: "POST", body: JSON.stringify(body) }
|
|
12574
|
+
);
|
|
12575
|
+
}
|
|
12274
12576
|
/** List org domains available for workspace email inbox routing. */
|
|
12275
12577
|
async getWorkspaceEmailDomains(wid) {
|
|
12276
12578
|
return this.fetch(`w/${wid}/domains/for-email`);
|
|
@@ -12861,6 +13163,7 @@ function createApiModules(apiKey, baseUrl, customFetch) {
|
|
|
12861
13163
|
patientSyncConnections: new PatientSyncConnectionsApi(apiKey, baseUrl, customFetch),
|
|
12862
13164
|
healthie: new HealthieApi(apiKey, baseUrl, customFetch),
|
|
12863
13165
|
documoFax: new DocumoFaxApi(apiKey, baseUrl, customFetch),
|
|
13166
|
+
claimMd: new ClaimMdApi(apiKey, baseUrl, customFetch),
|
|
12864
13167
|
hubspot: new HubspotApi(apiKey, baseUrl, customFetch),
|
|
12865
13168
|
features: new FeaturesApi(apiKey, baseUrl, customFetch),
|
|
12866
13169
|
files: new FilesApi(apiKey, baseUrl, customFetch),
|
|
@@ -12944,6 +13247,7 @@ var WORKSPACE_METHOD_NAMES = [
|
|
|
12944
13247
|
"cancelCalendarEvent",
|
|
12945
13248
|
"cancelChatCallback",
|
|
12946
13249
|
"cancelCredentialUpdateInvite",
|
|
13250
|
+
"cancelSubsetImport",
|
|
12947
13251
|
"checkAvailability",
|
|
12948
13252
|
"checkSiteDomainAvailability",
|
|
12949
13253
|
"checkSiteSlugAvailability",
|
|
@@ -12958,6 +13262,7 @@ var WORKSPACE_METHOD_NAMES = [
|
|
|
12958
13262
|
"commentOnWorkspaceSupportRequest",
|
|
12959
13263
|
"completeDiscordLink",
|
|
12960
13264
|
"configureConfluence",
|
|
13265
|
+
"configureClaimMd",
|
|
12961
13266
|
"configureDocumoFax",
|
|
12962
13267
|
"configureHealthie",
|
|
12963
13268
|
"configurePatientSync",
|
|
@@ -12965,6 +13270,7 @@ var WORKSPACE_METHOD_NAMES = [
|
|
|
12965
13270
|
"configureMondayConnection",
|
|
12966
13271
|
"configureSalesforce",
|
|
12967
13272
|
"configureZendeskConnection",
|
|
13273
|
+
"connectAthena",
|
|
12968
13274
|
"convertEmail",
|
|
12969
13275
|
"convertFile",
|
|
12970
13276
|
"createAbility",
|
|
@@ -12973,6 +13279,15 @@ var WORKSPACE_METHOD_NAMES = [
|
|
|
12973
13279
|
"createApiKey",
|
|
12974
13280
|
"createAssignment",
|
|
12975
13281
|
"bindInstallationSlots",
|
|
13282
|
+
"createSubsetImport",
|
|
13283
|
+
"deleteSubsetImport",
|
|
13284
|
+
"getSubsetImport",
|
|
13285
|
+
"listSubsetImportFilterFields",
|
|
13286
|
+
"listSubsetImportRuns",
|
|
13287
|
+
"listSubsetImports",
|
|
13288
|
+
"listSubsetImportVendorLists",
|
|
13289
|
+
"previewSubsetImport",
|
|
13290
|
+
"previewSubsetImportSelection",
|
|
12976
13291
|
"restoreInstallationForm",
|
|
12977
13292
|
"createBundle",
|
|
12978
13293
|
"createCalendar",
|
|
@@ -12981,6 +13296,7 @@ var WORKSPACE_METHOD_NAMES = [
|
|
|
12981
13296
|
"createCalendarSchedule",
|
|
12982
13297
|
"createChat",
|
|
12983
13298
|
"createChatInteractionSession",
|
|
13299
|
+
"runSubsetImport",
|
|
12984
13300
|
"transitionChatInteractionSession",
|
|
12985
13301
|
"createChatCompletion",
|
|
12986
13302
|
"createChatFilter",
|
|
@@ -13161,7 +13477,6 @@ var WORKSPACE_METHOD_NAMES = [
|
|
|
13161
13477
|
"fhirGetCsvImportSettings",
|
|
13162
13478
|
"fhirGetEncounterSyncRuns",
|
|
13163
13479
|
"fhirGetEncounterSyncStatus",
|
|
13164
|
-
"fhirGetOnboardingImportStatus",
|
|
13165
13480
|
"fhirImportPatient",
|
|
13166
13481
|
"fhirLinkMember",
|
|
13167
13482
|
"fhirListLinkedMembers",
|
|
@@ -13170,7 +13485,6 @@ var WORKSPACE_METHOD_NAMES = [
|
|
|
13170
13485
|
"fhirSearchLocations",
|
|
13171
13486
|
"fhirSearchPatients",
|
|
13172
13487
|
"fhirSearchPractitioners",
|
|
13173
|
-
"fhirStartOnboardingImport",
|
|
13174
13488
|
"fhirSyncMember",
|
|
13175
13489
|
"fhirUnlinkMember",
|
|
13176
13490
|
"fhirUpdateCsvImportSettings",
|
|
@@ -13196,6 +13510,7 @@ var WORKSPACE_METHOD_NAMES = [
|
|
|
13196
13510
|
"getAnonymousResolutions",
|
|
13197
13511
|
"getApiKeys",
|
|
13198
13512
|
"getArchiveBlockers",
|
|
13513
|
+
"getAthenaPlatformApp",
|
|
13199
13514
|
"getAssignment",
|
|
13200
13515
|
"getAssignmentCelContext",
|
|
13201
13516
|
"getAssignmentMessages",
|
|
@@ -13258,9 +13573,12 @@ var WORKSPACE_METHOD_NAMES = [
|
|
|
13258
13573
|
"getClientWorkspace",
|
|
13259
13574
|
"getConfigurationHealth",
|
|
13260
13575
|
"getConfluenceStatus",
|
|
13576
|
+
"getConnectionFieldHomes",
|
|
13577
|
+
"getInboundRecordStatus",
|
|
13261
13578
|
"getConnectionSyncCapabilities",
|
|
13262
13579
|
"getConnectionSyncCheckpoint",
|
|
13263
13580
|
"getConnectionSyncConfig",
|
|
13581
|
+
"getConnectionWritePreview",
|
|
13264
13582
|
"getCredentialUpdateInvites",
|
|
13265
13583
|
"getCurrentMember",
|
|
13266
13584
|
"clearMemberWorkflowVoice",
|
|
@@ -13297,6 +13615,7 @@ var WORKSPACE_METHOD_NAMES = [
|
|
|
13297
13615
|
"getDiscordBots",
|
|
13298
13616
|
"getDiscordGuilds",
|
|
13299
13617
|
"getDiscordThreads",
|
|
13618
|
+
"getClaimMdStatus",
|
|
13300
13619
|
"getDocumoFaxSetup",
|
|
13301
13620
|
"listDocumoFaxes",
|
|
13302
13621
|
"getDocumoFaxStatus",
|
|
@@ -13325,6 +13644,7 @@ var WORKSPACE_METHOD_NAMES = [
|
|
|
13325
13644
|
"getSiteSourceTemplates",
|
|
13326
13645
|
"getThemeSettings",
|
|
13327
13646
|
"importSiteSourceZip",
|
|
13647
|
+
"installClaimMd",
|
|
13328
13648
|
"installDocumoFax",
|
|
13329
13649
|
"previewDataReport",
|
|
13330
13650
|
"previewQuery",
|
|
@@ -13361,7 +13681,11 @@ var WORKSPACE_METHOD_NAMES = [
|
|
|
13361
13681
|
"getHealthieStatus",
|
|
13362
13682
|
"getPatientSyncStatus",
|
|
13363
13683
|
"getHubspotContactProperties",
|
|
13684
|
+
"getHubspotDealProperties",
|
|
13685
|
+
"getHubspotForms",
|
|
13686
|
+
"getHubspotMeetingLinks",
|
|
13364
13687
|
"getHubspotManagedRules",
|
|
13688
|
+
"getHubspotObjectProperties",
|
|
13365
13689
|
"getHubspotReconciliationMatches",
|
|
13366
13690
|
"getHubspotStatus",
|
|
13367
13691
|
"getHubspotSyncLogs",
|
|
@@ -13373,6 +13697,7 @@ var WORKSPACE_METHOD_NAMES = [
|
|
|
13373
13697
|
"getInbox",
|
|
13374
13698
|
"getInboxEmail",
|
|
13375
13699
|
"getInboxEmails",
|
|
13700
|
+
"getInboxOutboundEmailStats",
|
|
13376
13701
|
"getInboxThreads",
|
|
13377
13702
|
"getInboxes",
|
|
13378
13703
|
"getInterventionRequests",
|
|
@@ -13382,6 +13707,7 @@ var WORKSPACE_METHOD_NAMES = [
|
|
|
13382
13707
|
"getJourneyHealth",
|
|
13383
13708
|
"getJourneyMembers",
|
|
13384
13709
|
"getJourneyNotes",
|
|
13710
|
+
"getJourneySendEstimate",
|
|
13385
13711
|
"getJourneyV2Validation",
|
|
13386
13712
|
"getJourneys",
|
|
13387
13713
|
"getLinkablePhones",
|
|
@@ -13442,11 +13768,16 @@ var WORKSPACE_METHOD_NAMES = [
|
|
|
13442
13768
|
"getPage",
|
|
13443
13769
|
"getPageBySlug",
|
|
13444
13770
|
"getPersona",
|
|
13771
|
+
"getPersonaTestMember",
|
|
13772
|
+
"createPersonaTestMember",
|
|
13773
|
+
"resetPersonaTestMember",
|
|
13445
13774
|
"getPhoneCalls",
|
|
13775
|
+
"getPhoneCallByUuid",
|
|
13446
13776
|
"getPhoneNumber",
|
|
13447
13777
|
"getPhoneNumberCalls",
|
|
13448
13778
|
"getPhoneNumberFaxes",
|
|
13449
13779
|
"getPhoneNumberMessages",
|
|
13780
|
+
"getPhoneNumberSetupStatus",
|
|
13450
13781
|
"getPhoneNumberVoicemails",
|
|
13451
13782
|
"getPhoneNumbers",
|
|
13452
13783
|
"getPhoneUsageReport",
|
|
@@ -13462,7 +13793,6 @@ var WORKSPACE_METHOD_NAMES = [
|
|
|
13462
13793
|
"getPublicProducts",
|
|
13463
13794
|
"getQualification",
|
|
13464
13795
|
"getQualifications",
|
|
13465
|
-
"getRecordingInfo",
|
|
13466
13796
|
"getResellerWorkspaces",
|
|
13467
13797
|
"getRoutine",
|
|
13468
13798
|
"getRoutineConfigEvents",
|
|
@@ -13489,6 +13819,8 @@ var WORKSPACE_METHOD_NAMES = [
|
|
|
13489
13819
|
"getSlackAppAccounts",
|
|
13490
13820
|
"getSlackApps",
|
|
13491
13821
|
"getSlackInstallations",
|
|
13822
|
+
"removeSlackAccount",
|
|
13823
|
+
"removeSlackInstallation",
|
|
13492
13824
|
"getSlackThreads",
|
|
13493
13825
|
"getStepMemberCounts",
|
|
13494
13826
|
"getStepMembers",
|
|
@@ -13505,6 +13837,7 @@ var WORKSPACE_METHOD_NAMES = [
|
|
|
13505
13837
|
"getTeamsConversations",
|
|
13506
13838
|
"getTeamsInstallations",
|
|
13507
13839
|
"getTemplateContext",
|
|
13840
|
+
"getChatTestRun",
|
|
13508
13841
|
"getTestChatRun",
|
|
13509
13842
|
"getThreadEmails",
|
|
13510
13843
|
"getTool",
|
|
@@ -13578,6 +13911,7 @@ var WORKSPACE_METHOD_NAMES = [
|
|
|
13578
13911
|
"linkMemberToMonday",
|
|
13579
13912
|
"linkMemberToSalesforce",
|
|
13580
13913
|
"linkPhoneNumber",
|
|
13914
|
+
"linkUnlinkedMembersByIdentity",
|
|
13581
13915
|
"linkUnlinkedSalesforceMembersByIdentity",
|
|
13582
13916
|
"listAbilities",
|
|
13583
13917
|
"listAnonymousFormSubmissions",
|
|
@@ -13661,6 +13995,7 @@ var WORKSPACE_METHOD_NAMES = [
|
|
|
13661
13995
|
"reenrollMember",
|
|
13662
13996
|
"renameFieldSlug",
|
|
13663
13997
|
"registerLinkedRolesMetadata",
|
|
13998
|
+
"testPushSubscription",
|
|
13664
13999
|
"registerPushSubscription",
|
|
13665
14000
|
"reindexFolder",
|
|
13666
14001
|
"releasePhoneNumber",
|
|
@@ -13672,6 +14007,7 @@ var WORKSPACE_METHOD_NAMES = [
|
|
|
13672
14007
|
"reorderMenuItems",
|
|
13673
14008
|
"reconcileInstallation",
|
|
13674
14009
|
"setInstallationPolicy",
|
|
14010
|
+
"updateSubsetImport",
|
|
13675
14011
|
"upgradeInstallation",
|
|
13676
14012
|
"replaceBundleDraft",
|
|
13677
14013
|
"replyToEmail",
|
|
@@ -13707,6 +14043,8 @@ var WORKSPACE_METHOD_NAMES = [
|
|
|
13707
14043
|
"startHubspotOAuth",
|
|
13708
14044
|
"startSalesforceOAuth",
|
|
13709
14045
|
"startSyncRun",
|
|
14046
|
+
"captureScenarioDraft",
|
|
14047
|
+
"promoteTestChatFeedback",
|
|
13710
14048
|
"startTestChatRun",
|
|
13711
14049
|
"summarizeChat",
|
|
13712
14050
|
"syncCalendarWithGoogle",
|
|
@@ -13746,6 +14084,7 @@ var WORKSPACE_METHOD_NAMES = [
|
|
|
13746
14084
|
"updateChatFilter",
|
|
13747
14085
|
"updateChatLabel",
|
|
13748
14086
|
"updateChatModelOverride",
|
|
14087
|
+
"setChatStar",
|
|
13749
14088
|
"updateChatMute",
|
|
13750
14089
|
"updateClientWorkspace",
|
|
13751
14090
|
"updateConnection",
|
|
@@ -13825,6 +14164,8 @@ var WORKSPACE_METHOD_NAMES = [
|
|
|
13825
14164
|
"validateDataTypeSlug",
|
|
13826
14165
|
"validateQuery",
|
|
13827
14166
|
"validateWorkflowName",
|
|
14167
|
+
"verifyAthenaAccess",
|
|
14168
|
+
"verifyClaimMdKey",
|
|
13828
14169
|
"verifyDocumoFax"
|
|
13829
14170
|
];
|
|
13830
14171
|
var WORKSPACE_METHOD_NAME_SET = new Set(WORKSPACE_METHOD_NAMES);
|
|
@@ -13933,6 +14274,7 @@ function bindChatsMethods(target, chats) {
|
|
|
13933
14274
|
target.updateChat = chats.updateChat.bind(chats);
|
|
13934
14275
|
target.getChatModelOverride = chats.getChatModelOverride.bind(chats);
|
|
13935
14276
|
target.updateChatModelOverride = chats.updateChatModelOverride.bind(chats);
|
|
14277
|
+
target.setChatStar = chats.setChatStar.bind(chats);
|
|
13936
14278
|
target.updateChatMute = chats.updateChatMute.bind(chats);
|
|
13937
14279
|
target.summarizeChat = chats.summarizeChat.bind(chats);
|
|
13938
14280
|
target.getChatMessages = chats.getChatMessages.bind(chats);
|
|
@@ -13969,8 +14311,8 @@ function bindChatsMethods(target, chats) {
|
|
|
13969
14311
|
// src/client/bindings/calls.ts
|
|
13970
14312
|
function bindCallsMethods(target, calls, cel) {
|
|
13971
14313
|
target.getPhoneCalls = calls.getPhoneCalls.bind(calls);
|
|
14314
|
+
target.getPhoneCallByUuid = calls.getPhoneCallByUuid.bind(calls);
|
|
13972
14315
|
target.getMessageTiming = calls.getMessageTiming.bind(calls);
|
|
13973
|
-
target.getRecordingInfo = calls.getRecordingInfo.bind(calls);
|
|
13974
14316
|
target.getEdgeCaptureInfo = calls.getEdgeCaptureInfo.bind(calls);
|
|
13975
14317
|
target.getCallRecordingDownloadUrl = calls.getCallRecordingDownloadUrl.bind(calls);
|
|
13976
14318
|
target.getCelContext = cel.getCelContext.bind(cel);
|
|
@@ -14212,6 +14554,7 @@ function bindWorkspacesMethods(target, workspaces, signupRequests) {
|
|
|
14212
14554
|
target.getWorkspaceScopes = workspaces.getWorkspaceScopes.bind(workspaces);
|
|
14213
14555
|
target.getUsageDashboard = workspaces.getUsageDashboard.bind(workspaces);
|
|
14214
14556
|
target.getVapidPublicKey = workspaces.getVapidPublicKey.bind(workspaces);
|
|
14557
|
+
target.testPushSubscription = workspaces.testPushSubscription.bind(workspaces);
|
|
14215
14558
|
target.registerPushSubscription = workspaces.registerPushSubscription.bind(workspaces);
|
|
14216
14559
|
target.unregisterPushSubscription = workspaces.unregisterPushSubscription.bind(workspaces);
|
|
14217
14560
|
target.listPushSubscriptions = workspaces.listPushSubscriptions.bind(workspaces);
|
|
@@ -14538,6 +14881,7 @@ function bindCommunicationsMethods(target, phoneNumbers, inboxes, notificationRu
|
|
|
14538
14881
|
target.createPhoneNumber = phoneNumbers.createPhoneNumber.bind(phoneNumbers);
|
|
14539
14882
|
target.updatePhoneNumber = phoneNumbers.updatePhoneNumber.bind(phoneNumbers);
|
|
14540
14883
|
target.getArchiveBlockers = phoneNumbers.getArchiveBlockers.bind(phoneNumbers);
|
|
14884
|
+
target.getPhoneNumberSetupStatus = phoneNumbers.getPhoneNumberSetupStatus.bind(phoneNumbers);
|
|
14541
14885
|
target.archivePhoneNumber = phoneNumbers.archivePhoneNumber.bind(phoneNumbers);
|
|
14542
14886
|
target.getPhoneNumberCalls = phoneNumbers.getPhoneNumberCalls.bind(phoneNumbers);
|
|
14543
14887
|
target.getPhoneNumberOutboundAnalyticsSummary = phoneNumbers.getPhoneNumberOutboundAnalyticsSummary.bind(phoneNumbers);
|
|
@@ -14570,6 +14914,7 @@ function bindCommunicationsMethods(target, phoneNumbers, inboxes, notificationRu
|
|
|
14570
14914
|
target.sendInboxEmail = inboxes.sendInboxEmail.bind(inboxes);
|
|
14571
14915
|
target.previewInboxEmail = inboxes.previewInboxEmail.bind(inboxes);
|
|
14572
14916
|
target.previewEmailReply = inboxes.previewEmailReply.bind(inboxes);
|
|
14917
|
+
target.getInboxOutboundEmailStats = inboxes.getInboxOutboundEmailStats.bind(inboxes);
|
|
14573
14918
|
target.getNotificationRules = notificationRules.getNotificationRules.bind(notificationRules);
|
|
14574
14919
|
target.createNotificationRule = notificationRules.createNotificationRule.bind(notificationRules);
|
|
14575
14920
|
target.updateNotificationRule = notificationRules.updateNotificationRule.bind(notificationRules);
|
|
@@ -14686,7 +15031,7 @@ function bindAppsMethods(target, apps, builders, inquiries, oauth, oauthConnecti
|
|
|
14686
15031
|
}
|
|
14687
15032
|
|
|
14688
15033
|
// src/client/bindings/integrations.ts
|
|
14689
|
-
function bindIntegrationsMethods(target, mondayIntegration, discordBots, slackApps, teamsApps, fhirConnections, patientSyncConnections, healthie, documoFax, salesforce, hubspot, appConnections, connectionSync, confluence) {
|
|
15034
|
+
function bindIntegrationsMethods(target, mondayIntegration, discordBots, slackApps, teamsApps, fhirConnections, patientSyncConnections, healthie, documoFax, claimMd, salesforce, hubspot, appConnections, connectionSync, confluence) {
|
|
14690
15035
|
target.getMondayBoards = mondayIntegration.getBoards.bind(mondayIntegration);
|
|
14691
15036
|
target.getMondayBoardColumns = mondayIntegration.getBoardColumns.bind(mondayIntegration);
|
|
14692
15037
|
target.getMondayBoardGroups = mondayIntegration.getBoardGroups.bind(mondayIntegration);
|
|
@@ -14736,6 +15081,8 @@ function bindIntegrationsMethods(target, mondayIntegration, discordBots, slackAp
|
|
|
14736
15081
|
target.deleteSlackApp = slackApps.deleteSlackApp.bind(slackApps);
|
|
14737
15082
|
target.getSlackThreads = slackApps.getSlackThreads.bind(slackApps);
|
|
14738
15083
|
target.getSlackInstallations = slackApps.getSlackInstallations.bind(slackApps);
|
|
15084
|
+
target.removeSlackAccount = slackApps.removeSlackAccount.bind(slackApps);
|
|
15085
|
+
target.removeSlackInstallation = slackApps.removeSlackInstallation.bind(slackApps);
|
|
14739
15086
|
target.getSlackChannelChoices = slackApps.getSlackChannelChoices.bind(slackApps);
|
|
14740
15087
|
target.getSlackEntryPoints = slackApps.getSlackEntryPoints.bind(slackApps);
|
|
14741
15088
|
target.connectSlackEntryPoint = slackApps.connectSlackEntryPoint.bind(slackApps);
|
|
@@ -14779,8 +15126,9 @@ function bindIntegrationsMethods(target, mondayIntegration, discordBots, slackAp
|
|
|
14779
15126
|
target.fhirGetEncounterSyncRuns = fhirConnections.fhirGetEncounterSyncRuns.bind(fhirConnections);
|
|
14780
15127
|
target.fhirRefreshEncounterPatient = fhirConnections.fhirRefreshEncounterPatient.bind(fhirConnections);
|
|
14781
15128
|
target.fhirBackfillEncounterSync = fhirConnections.fhirBackfillEncounterSync.bind(fhirConnections);
|
|
14782
|
-
target.
|
|
14783
|
-
target.
|
|
15129
|
+
target.getAthenaPlatformApp = fhirConnections.getAthenaPlatformApp.bind(fhirConnections);
|
|
15130
|
+
target.verifyAthenaAccess = fhirConnections.verifyAthenaAccess.bind(fhirConnections);
|
|
15131
|
+
target.connectAthena = fhirConnections.connectAthena.bind(fhirConnections);
|
|
14784
15132
|
target.configurePatientSync = patientSyncConnections.configurePatientSync.bind(patientSyncConnections);
|
|
14785
15133
|
target.getPatientSyncStatus = patientSyncConnections.getPatientSyncStatus.bind(patientSyncConnections);
|
|
14786
15134
|
target.deletePatientSyncConnection = patientSyncConnections.deletePatientSyncConnection.bind(patientSyncConnections);
|
|
@@ -14791,6 +15139,10 @@ function bindIntegrationsMethods(target, mondayIntegration, discordBots, slackAp
|
|
|
14791
15139
|
target.configureDocumoFax = documoFax.configureDocumoFax.bind(documoFax);
|
|
14792
15140
|
target.verifyDocumoFax = documoFax.verifyDocumoFax.bind(documoFax);
|
|
14793
15141
|
target.rotateDocumoFaxCredentials = documoFax.rotateDocumoFaxCredentials.bind(documoFax);
|
|
15142
|
+
target.getClaimMdStatus = claimMd.getClaimMdStatus.bind(claimMd);
|
|
15143
|
+
target.installClaimMd = claimMd.installClaimMd.bind(claimMd);
|
|
15144
|
+
target.configureClaimMd = claimMd.configureClaimMd.bind(claimMd);
|
|
15145
|
+
target.verifyClaimMdKey = claimMd.verifyClaimMdKey.bind(claimMd);
|
|
14794
15146
|
target.configureHealthie = healthie.configureHealthie.bind(healthie);
|
|
14795
15147
|
target.getHealthieStatus = healthie.getHealthieStatus.bind(healthie);
|
|
14796
15148
|
target.listHealthieProviders = healthie.listHealthieProviders.bind(healthie);
|
|
@@ -14852,6 +15204,10 @@ function bindIntegrationsMethods(target, mondayIntegration, discordBots, slackAp
|
|
|
14852
15204
|
target.searchHubspotRecords = hubspot.searchHubspotRecords.bind(hubspot);
|
|
14853
15205
|
target.importHubspotMembers = hubspot.importHubspotMembers.bind(hubspot);
|
|
14854
15206
|
target.getHubspotContactProperties = hubspot.getHubspotContactProperties.bind(hubspot);
|
|
15207
|
+
target.getHubspotDealProperties = hubspot.getHubspotDealProperties.bind(hubspot);
|
|
15208
|
+
target.getHubspotForms = hubspot.getHubspotForms.bind(hubspot);
|
|
15209
|
+
target.getHubspotMeetingLinks = hubspot.getHubspotMeetingLinks.bind(hubspot);
|
|
15210
|
+
target.getHubspotObjectProperties = hubspot.getHubspotObjectProperties.bind(hubspot);
|
|
14855
15211
|
target.getHubspotManagedRules = hubspot.getHubspotManagedRules.bind(hubspot);
|
|
14856
15212
|
target.getHubspotSyncLogs = hubspot.getHubspotSyncLogs.bind(hubspot);
|
|
14857
15213
|
target.getHubspotTransformPresets = hubspot.getHubspotTransformPresets.bind(hubspot);
|
|
@@ -14863,7 +15219,23 @@ function bindIntegrationsMethods(target, mondayIntegration, discordBots, slackAp
|
|
|
14863
15219
|
target.getSyncRuns = connectionSync.getSyncRuns.bind(connectionSync);
|
|
14864
15220
|
target.getSyncRunItems = connectionSync.getSyncRunItems.bind(connectionSync);
|
|
14865
15221
|
target.getMemberSyncSummary = connectionSync.getMemberSyncSummary.bind(connectionSync);
|
|
15222
|
+
target.getConnectionFieldHomes = connectionSync.getConnectionFieldHomes.bind(connectionSync);
|
|
15223
|
+
target.getInboundRecordStatus = connectionSync.getInboundRecordStatus.bind(connectionSync);
|
|
15224
|
+
target.getConnectionWritePreview = connectionSync.getConnectionWritePreview.bind(connectionSync);
|
|
14866
15225
|
target.clearConnectionMemberExclusion = connectionSync.clearConnectionMemberExclusion.bind(connectionSync);
|
|
15226
|
+
target.linkUnlinkedMembersByIdentity = connectionSync.linkUnlinkedMembersByIdentity.bind(connectionSync);
|
|
15227
|
+
target.listSubsetImports = connectionSync.listSubsetImports.bind(connectionSync);
|
|
15228
|
+
target.getSubsetImport = connectionSync.getSubsetImport.bind(connectionSync);
|
|
15229
|
+
target.createSubsetImport = connectionSync.createSubsetImport.bind(connectionSync);
|
|
15230
|
+
target.updateSubsetImport = connectionSync.updateSubsetImport.bind(connectionSync);
|
|
15231
|
+
target.deleteSubsetImport = connectionSync.deleteSubsetImport.bind(connectionSync);
|
|
15232
|
+
target.previewSubsetImportSelection = connectionSync.previewSubsetImportSelection.bind(connectionSync);
|
|
15233
|
+
target.previewSubsetImport = connectionSync.previewSubsetImport.bind(connectionSync);
|
|
15234
|
+
target.runSubsetImport = connectionSync.runSubsetImport.bind(connectionSync);
|
|
15235
|
+
target.cancelSubsetImport = connectionSync.cancelSubsetImport.bind(connectionSync);
|
|
15236
|
+
target.listSubsetImportRuns = connectionSync.listSubsetImportRuns.bind(connectionSync);
|
|
15237
|
+
target.listSubsetImportVendorLists = connectionSync.listSubsetImportVendorLists.bind(connectionSync);
|
|
15238
|
+
target.listSubsetImportFilterFields = connectionSync.listSubsetImportFilterFields.bind(connectionSync);
|
|
14867
15239
|
target.listAvailableAppConnections = appConnections.listAvailableAppConnections.bind(appConnections);
|
|
14868
15240
|
target.listAppConnections = appConnections.listAppConnections.bind(appConnections);
|
|
14869
15241
|
target.enablePlatformApp = appConnections.enablePlatformApp.bind(appConnections);
|
|
@@ -15024,6 +15396,7 @@ function bindJourneysMethods(target, journeys) {
|
|
|
15024
15396
|
target.getJourneyV2Validation = journeys.getJourneyV2Validation.bind(journeys);
|
|
15025
15397
|
target.getJourneyFilterOptions = journeys.getJourneyFilterOptions.bind(journeys);
|
|
15026
15398
|
target.getJourneyHealth = journeys.getJourneyHealth.bind(journeys);
|
|
15399
|
+
target.getJourneySendEstimate = journeys.getJourneySendEstimate.bind(journeys);
|
|
15027
15400
|
target.cloneJourneyAsV2 = journeys.cloneJourneyAsV2.bind(journeys);
|
|
15028
15401
|
target.createJourney = journeys.createJourney.bind(journeys);
|
|
15029
15402
|
target.updateJourney = journeys.updateJourney.bind(journeys);
|
|
@@ -15068,11 +15441,14 @@ function bindQualificationsMethods(target, qualifications) {
|
|
|
15068
15441
|
target.deleteScenario = qualifications.deleteScenario.bind(qualifications);
|
|
15069
15442
|
target.listTestChatRuns = qualifications.listTestChatRuns.bind(qualifications);
|
|
15070
15443
|
target.listScenarioHealthSummaries = qualifications.listScenarioHealthSummaries.bind(qualifications);
|
|
15444
|
+
target.getChatTestRun = qualifications.getChatTestRun.bind(qualifications);
|
|
15071
15445
|
target.getTestChatRun = qualifications.getTestChatRun.bind(qualifications);
|
|
15072
15446
|
target.listChatCapturedEffects = qualifications.listChatCapturedEffects.bind(qualifications);
|
|
15073
15447
|
target.listChatRecordChanges = qualifications.listChatRecordChanges.bind(qualifications);
|
|
15074
15448
|
target.takeTestChatRunEmailTurn = qualifications.takeTestChatRunEmailTurn.bind(qualifications);
|
|
15075
15449
|
target.takeTestChatRunSmsTurn = qualifications.takeTestChatRunSmsTurn.bind(qualifications);
|
|
15450
|
+
target.captureScenarioDraft = qualifications.captureScenarioDraft.bind(qualifications);
|
|
15451
|
+
target.promoteTestChatFeedback = qualifications.promoteTestChatFeedback.bind(qualifications);
|
|
15076
15452
|
target.startTestChatRun = qualifications.startTestChatRun.bind(qualifications);
|
|
15077
15453
|
target.evaluateTestChatRun = qualifications.evaluateTestChatRun.bind(qualifications);
|
|
15078
15454
|
target.endTestChatRun = qualifications.endTestChatRun.bind(qualifications);
|
|
@@ -15082,6 +15458,9 @@ function bindQualificationsMethods(target, qualifications) {
|
|
|
15082
15458
|
function bindPersonasMethods(target, personas) {
|
|
15083
15459
|
target.listPersonas = personas.listPersonas.bind(personas);
|
|
15084
15460
|
target.getPersona = personas.getPersona.bind(personas);
|
|
15461
|
+
target.getPersonaTestMember = personas.getPersonaTestMember.bind(personas);
|
|
15462
|
+
target.createPersonaTestMember = personas.createPersonaTestMember.bind(personas);
|
|
15463
|
+
target.resetPersonaTestMember = personas.resetPersonaTestMember.bind(personas);
|
|
15085
15464
|
target.createPersona = personas.createPersona.bind(personas);
|
|
15086
15465
|
target.updatePersona = personas.updatePersona.bind(personas);
|
|
15087
15466
|
target.archivePersona = personas.archivePersona.bind(personas);
|
|
@@ -15227,6 +15606,7 @@ var GravityRailClient = class {
|
|
|
15227
15606
|
updateChat;
|
|
15228
15607
|
getChatModelOverride;
|
|
15229
15608
|
updateChatModelOverride;
|
|
15609
|
+
setChatStar;
|
|
15230
15610
|
updateChatMute;
|
|
15231
15611
|
summarizeChat;
|
|
15232
15612
|
getChatMessages;
|
|
@@ -15260,8 +15640,8 @@ var GravityRailClient = class {
|
|
|
15260
15640
|
getChatFilterCount;
|
|
15261
15641
|
// Calls API
|
|
15262
15642
|
getPhoneCalls;
|
|
15643
|
+
getPhoneCallByUuid;
|
|
15263
15644
|
getMessageTiming;
|
|
15264
|
-
getRecordingInfo;
|
|
15265
15645
|
getEdgeCaptureInfo;
|
|
15266
15646
|
getCallRecordingDownloadUrl;
|
|
15267
15647
|
getCelContext;
|
|
@@ -15406,11 +15786,14 @@ var GravityRailClient = class {
|
|
|
15406
15786
|
deleteScenario;
|
|
15407
15787
|
listTestChatRuns;
|
|
15408
15788
|
listScenarioHealthSummaries;
|
|
15789
|
+
getChatTestRun;
|
|
15409
15790
|
getTestChatRun;
|
|
15410
15791
|
listChatCapturedEffects;
|
|
15411
15792
|
listChatRecordChanges;
|
|
15412
15793
|
takeTestChatRunEmailTurn;
|
|
15413
15794
|
takeTestChatRunSmsTurn;
|
|
15795
|
+
captureScenarioDraft;
|
|
15796
|
+
promoteTestChatFeedback;
|
|
15414
15797
|
startTestChatRun;
|
|
15415
15798
|
evaluateTestChatRun;
|
|
15416
15799
|
endTestChatRun;
|
|
@@ -15424,6 +15807,9 @@ var GravityRailClient = class {
|
|
|
15424
15807
|
previewDataReport;
|
|
15425
15808
|
listPersonas;
|
|
15426
15809
|
getPersona;
|
|
15810
|
+
getPersonaTestMember;
|
|
15811
|
+
createPersonaTestMember;
|
|
15812
|
+
resetPersonaTestMember;
|
|
15427
15813
|
createPersona;
|
|
15428
15814
|
updatePersona;
|
|
15429
15815
|
archivePersona;
|
|
@@ -15494,6 +15880,7 @@ var GravityRailClient = class {
|
|
|
15494
15880
|
getJourneyV2Validation;
|
|
15495
15881
|
getJourneyFilterOptions;
|
|
15496
15882
|
getJourneyHealth;
|
|
15883
|
+
getJourneySendEstimate;
|
|
15497
15884
|
cloneJourneyAsV2;
|
|
15498
15885
|
createJourney;
|
|
15499
15886
|
updateJourney;
|
|
@@ -15720,6 +16107,7 @@ var GravityRailClient = class {
|
|
|
15720
16107
|
setWorkspaceLabels;
|
|
15721
16108
|
previewWorkspaceScope;
|
|
15722
16109
|
getVapidPublicKey;
|
|
16110
|
+
testPushSubscription;
|
|
15723
16111
|
registerPushSubscription;
|
|
15724
16112
|
unregisterPushSubscription;
|
|
15725
16113
|
listPushSubscriptions;
|
|
@@ -15999,6 +16387,7 @@ var GravityRailClient = class {
|
|
|
15999
16387
|
createPhoneNumber;
|
|
16000
16388
|
updatePhoneNumber;
|
|
16001
16389
|
getArchiveBlockers;
|
|
16390
|
+
getPhoneNumberSetupStatus;
|
|
16002
16391
|
archivePhoneNumber;
|
|
16003
16392
|
getPhoneNumberCalls;
|
|
16004
16393
|
getPhoneNumberOutboundAnalyticsSummary;
|
|
@@ -16031,6 +16420,7 @@ var GravityRailClient = class {
|
|
|
16031
16420
|
sendInboxEmail;
|
|
16032
16421
|
previewInboxEmail;
|
|
16033
16422
|
previewEmailReply;
|
|
16423
|
+
getInboxOutboundEmailStats;
|
|
16034
16424
|
getNotificationRules;
|
|
16035
16425
|
createNotificationRule;
|
|
16036
16426
|
updateNotificationRule;
|
|
@@ -16195,6 +16585,8 @@ var GravityRailClient = class {
|
|
|
16195
16585
|
deleteSlackApp;
|
|
16196
16586
|
getSlackThreads;
|
|
16197
16587
|
getSlackInstallations;
|
|
16588
|
+
removeSlackAccount;
|
|
16589
|
+
removeSlackInstallation;
|
|
16198
16590
|
getSlackChannelChoices;
|
|
16199
16591
|
getSlackEntryPoints;
|
|
16200
16592
|
connectSlackEntryPoint;
|
|
@@ -16240,8 +16632,9 @@ var GravityRailClient = class {
|
|
|
16240
16632
|
fhirGetEncounterSyncRuns;
|
|
16241
16633
|
fhirRefreshEncounterPatient;
|
|
16242
16634
|
fhirBackfillEncounterSync;
|
|
16243
|
-
|
|
16244
|
-
|
|
16635
|
+
getAthenaPlatformApp;
|
|
16636
|
+
verifyAthenaAccess;
|
|
16637
|
+
connectAthena;
|
|
16245
16638
|
// Healthie API
|
|
16246
16639
|
getDocumoFaxStatus;
|
|
16247
16640
|
getDocumoFaxSetup;
|
|
@@ -16250,6 +16643,10 @@ var GravityRailClient = class {
|
|
|
16250
16643
|
configureDocumoFax;
|
|
16251
16644
|
verifyDocumoFax;
|
|
16252
16645
|
rotateDocumoFaxCredentials;
|
|
16646
|
+
getClaimMdStatus;
|
|
16647
|
+
installClaimMd;
|
|
16648
|
+
configureClaimMd;
|
|
16649
|
+
verifyClaimMdKey;
|
|
16253
16650
|
configurePatientSync;
|
|
16254
16651
|
getPatientSyncStatus;
|
|
16255
16652
|
deletePatientSyncConnection;
|
|
@@ -16317,6 +16714,10 @@ var GravityRailClient = class {
|
|
|
16317
16714
|
searchHubspotRecords;
|
|
16318
16715
|
importHubspotMembers;
|
|
16319
16716
|
getHubspotContactProperties;
|
|
16717
|
+
getHubspotDealProperties;
|
|
16718
|
+
getHubspotForms;
|
|
16719
|
+
getHubspotMeetingLinks;
|
|
16720
|
+
getHubspotObjectProperties;
|
|
16320
16721
|
getHubspotManagedRules;
|
|
16321
16722
|
getHubspotSyncLogs;
|
|
16322
16723
|
getHubspotTransformPresets;
|
|
@@ -16329,7 +16730,23 @@ var GravityRailClient = class {
|
|
|
16329
16730
|
getSyncRuns;
|
|
16330
16731
|
getSyncRunItems;
|
|
16331
16732
|
getMemberSyncSummary;
|
|
16733
|
+
getConnectionFieldHomes;
|
|
16734
|
+
getInboundRecordStatus;
|
|
16735
|
+
getConnectionWritePreview;
|
|
16332
16736
|
clearConnectionMemberExclusion;
|
|
16737
|
+
linkUnlinkedMembersByIdentity;
|
|
16738
|
+
listSubsetImports;
|
|
16739
|
+
getSubsetImport;
|
|
16740
|
+
createSubsetImport;
|
|
16741
|
+
updateSubsetImport;
|
|
16742
|
+
deleteSubsetImport;
|
|
16743
|
+
previewSubsetImportSelection;
|
|
16744
|
+
previewSubsetImport;
|
|
16745
|
+
runSubsetImport;
|
|
16746
|
+
cancelSubsetImport;
|
|
16747
|
+
listSubsetImportRuns;
|
|
16748
|
+
listSubsetImportVendorLists;
|
|
16749
|
+
listSubsetImportFilterFields;
|
|
16333
16750
|
// App Connections API
|
|
16334
16751
|
listAvailableAppConnections;
|
|
16335
16752
|
listAppConnections;
|
|
@@ -16466,6 +16883,7 @@ var GravityRailClient = class {
|
|
|
16466
16883
|
apis.patientSyncConnections,
|
|
16467
16884
|
apis.healthie,
|
|
16468
16885
|
apis.documoFax,
|
|
16886
|
+
apis.claimMd,
|
|
16469
16887
|
apis.salesforce,
|
|
16470
16888
|
apis.hubspot,
|
|
16471
16889
|
apis.appConnections,
|
|
@@ -19555,7 +19973,7 @@ function isChatType(value) {
|
|
|
19555
19973
|
// src/constants/models.ts
|
|
19556
19974
|
var DEFAULT_CHAT_MODEL = "openai:chat:gpt-6-luna";
|
|
19557
19975
|
var DEFAULT_AGENT_CHAT_MODEL = "openai:chat:gpt-6-luna";
|
|
19558
|
-
var DEFAULT_AGENT_REALTIME_MODEL = "xai:realtime:voice-agent-
|
|
19976
|
+
var DEFAULT_AGENT_REALTIME_MODEL = "xai:realtime:voice-agent-3";
|
|
19559
19977
|
var DEFAULT_AGENT_REALTIME_MODEL_CONFIG = {
|
|
19560
19978
|
ttsModel: "native",
|
|
19561
19979
|
voiceModel: "xai:voice:cosmo"
|
|
@@ -19746,6 +20164,7 @@ var ActivityEventType = {
|
|
|
19746
20164
|
importcompleted: "import.completed",
|
|
19747
20165
|
assignmentstarted: "assignment.started",
|
|
19748
20166
|
assignmentconcluded: "assignment.concluded",
|
|
20167
|
+
assignmenttask_entered: "assignment.task_entered",
|
|
19749
20168
|
journeyenrolled: "journey.enrolled",
|
|
19750
20169
|
journeyunenrolled: "journey.unenrolled",
|
|
19751
20170
|
journeycompleted: "journey.completed",
|
|
@@ -19756,6 +20175,8 @@ var ActivityEventType = {
|
|
|
19756
20175
|
chathuman_replied: "chat.human_replied",
|
|
19757
20176
|
chatcall_ended: "chat.call_ended",
|
|
19758
20177
|
chatsummary: "chat.summary",
|
|
20178
|
+
messagesent: "message.sent",
|
|
20179
|
+
membermessage_received: "member.message_received",
|
|
19759
20180
|
escalationopened: "escalation.opened",
|
|
19760
20181
|
escalationresolved: "escalation.resolved",
|
|
19761
20182
|
callstarted: "call.started",
|
|
@@ -20870,6 +21291,7 @@ function pathDraftToStorage(draft, original) {
|
|
|
20870
21291
|
Scope,
|
|
20871
21292
|
ScopeCategory,
|
|
20872
21293
|
ScopeManager,
|
|
21294
|
+
SeedSpeaker,
|
|
20873
21295
|
SendingNextStep,
|
|
20874
21296
|
SendingStopState,
|
|
20875
21297
|
SetInstallationPolicyRequestUpgradePolicy,
|