@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.
- package/dist/{chat-interaction-DDz9ZtQ8.d.ts → chat-interaction-Bs0O3lwb.d.cts} +3140 -1534
- package/dist/{chat-interaction-C620llgG.d.cts → chat-interaction-dRnhgwb-.d.ts} +3140 -1534
- package/dist/{chunk-7R22EG5F.js → chunk-7ABBH5CC.js} +495 -78
- package/dist/chunk-7ABBH5CC.js.map +1 -0
- package/dist/{chunk-HXVJF54M.js → chunk-D5VNVTUQ.js} +1 -1
- package/dist/chunk-D5VNVTUQ.js.map +1 -0
- package/dist/helpers.d.cts +4 -4
- package/dist/helpers.d.ts +4 -4
- package/dist/index.cjs +498 -77
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +6 -6
- package/dist/index.d.ts +6 -6
- package/dist/index.js +7 -2
- package/dist/index.js.map +1 -1
- package/dist/internal.cjs +495 -77
- package/dist/internal.cjs.map +1 -1
- package/dist/internal.d.cts +6 -211
- package/dist/internal.d.ts +6 -211
- package/dist/internal.js +4 -2
- package/dist/internal.js.map +1 -1
- package/dist/{member-import-DzuvKnMC.d.cts → member-import-C9XwZqm4.d.cts} +1 -1
- package/dist/{member-import-D1QvZiy5.d.ts → member-import-CdXiqRFM.d.ts} +1 -1
- package/dist/{path-kbfnY2gB.d.ts → path-6wcAgEJR.d.cts} +11 -4
- package/dist/{path-BIk9UPr0.d.cts → path-B08DHrW4.d.ts} +11 -4
- package/dist/schemas.cjs +79 -41
- package/dist/schemas.cjs.map +1 -1
- package/dist/schemas.d.cts +148 -6
- package/dist/schemas.d.ts +148 -6
- package/dist/schemas.js +78 -42
- package/dist/schemas.js.map +1 -1
- package/dist/{tasks-BdYhYUpU.d.cts → tasks-BPvueNi2.d.cts} +1009 -836
- package/dist/{tasks-BdYhYUpU.d.ts → tasks-BPvueNi2.d.ts} +1009 -836
- package/package.json +3 -3
- package/dist/chunk-7R22EG5F.js.map +0 -1
- package/dist/chunk-HXVJF54M.js.map +0 -1
|
@@ -598,11 +598,15 @@ var AIModelsApi = class extends BaseApiClient {
|
|
|
598
598
|
return this.fetch("ai-models/manager");
|
|
599
599
|
}
|
|
600
600
|
/**
|
|
601
|
-
* Get available realtime AI models
|
|
601
|
+
* Get available realtime AI models.
|
|
602
|
+
*
|
|
603
|
+
* `includeHidden` also lists models no longer offered for new selection
|
|
604
|
+
* (deprecated, flagged `hidden: true`), so a saved selection can be named.
|
|
602
605
|
*/
|
|
603
|
-
async getRealtimeModels(provider) {
|
|
606
|
+
async getRealtimeModels(provider, options) {
|
|
604
607
|
const searchParams = new URLSearchParams();
|
|
605
608
|
if (provider) searchParams.append("provider", provider);
|
|
609
|
+
if (options?.includeHidden) searchParams.append("includeHidden", "true");
|
|
606
610
|
const queryString = searchParams.toString();
|
|
607
611
|
const url = queryString ? `ai-models/realtime?${queryString}` : "ai-models/realtime";
|
|
608
612
|
return this.fetch(url);
|
|
@@ -1610,6 +1614,18 @@ var CallsApi = class extends BaseApiClient {
|
|
|
1610
1614
|
`w/${wid}/calls${params.toString() ? `?${params.toString()}` : ""}`
|
|
1611
1615
|
);
|
|
1612
1616
|
}
|
|
1617
|
+
/**
|
|
1618
|
+
* Get one phone call by uuid — the subject a `call.*` Activity event names.
|
|
1619
|
+
*
|
|
1620
|
+
* Authorization is the call's own chat (`chats:read`, then the chat access
|
|
1621
|
+
* policy), so a call with no chat, or one the caller's chat access does not
|
|
1622
|
+
* reach, is a 404. The response carries `chatId`/`chatUuid`, the terminal
|
|
1623
|
+
* disposition axes and `workflowId`, which is what an Activity call card
|
|
1624
|
+
* needs to show the call's outcome and link to its conversation.
|
|
1625
|
+
*/
|
|
1626
|
+
async getPhoneCallByUuid(wid, uuid) {
|
|
1627
|
+
return this.fetch(`w/${wid}/calls/by-uuid/${encodeURIComponent(uuid)}`);
|
|
1628
|
+
}
|
|
1613
1629
|
/**
|
|
1614
1630
|
* Get message timing data for a chat recording. `source` selects whose
|
|
1615
1631
|
* timeline the offsets are measured against; omitted means `standard`.
|
|
@@ -1630,27 +1646,11 @@ var CallsApi = class extends BaseApiClient {
|
|
|
1630
1646
|
async getEdgeCaptureInfo(wid, chatId) {
|
|
1631
1647
|
return this.fetch(`w/${wid}/recordings/chat/${chatId}/edge-capture`);
|
|
1632
1648
|
}
|
|
1633
|
-
/**
|
|
1634
|
-
* Get PHI-safe provenance metadata for the recording served by
|
|
1635
|
-
* `/audio.wav` — source, encryption, channels, duration, status, etc.
|
|
1636
|
-
* Staff-only Twilio SIDs are present only for superusers. Returns 404
|
|
1637
|
-
* when the chat has no native recording row (legacy chunk-only playback).
|
|
1638
|
-
*/
|
|
1639
|
-
async getRecordingInfo(wid, chatId) {
|
|
1640
|
-
return this.fetch(`w/${wid}/recordings/chat/${chatId}/info`);
|
|
1641
|
-
}
|
|
1642
|
-
/** List the recorded audio chunks for a chat (metadata only). */
|
|
1643
|
-
async listChatRecordings(wid, chatId, options = {}) {
|
|
1644
|
-
const params = new URLSearchParams();
|
|
1645
|
-
if (options.role) params.set("role", options.role);
|
|
1646
|
-
return this.fetch(
|
|
1647
|
-
`w/${wid}/recordings/chat/${chatId}${params.toString() ? `?${params.toString()}` : ""}`
|
|
1648
|
-
);
|
|
1649
|
-
}
|
|
1650
1649
|
/**
|
|
1651
1650
|
* Get a single short-lived presigned URL to download the complete call
|
|
1652
|
-
* recording as one
|
|
1653
|
-
*
|
|
1651
|
+
* recording as one file: the complete internal recording, else the newest
|
|
1652
|
+
* ready stored recording (`twilio_native` or `legacy_chunks`). 404 when
|
|
1653
|
+
* neither is available.
|
|
1654
1654
|
*/
|
|
1655
1655
|
async getCallRecordingDownloadUrl(wid, chatId, options = {}) {
|
|
1656
1656
|
const params = new URLSearchParams();
|
|
@@ -1967,6 +1967,13 @@ var ChatsApi = class extends BaseApiClient {
|
|
|
1967
1967
|
body: JSON.stringify(override)
|
|
1968
1968
|
});
|
|
1969
1969
|
}
|
|
1970
|
+
/** Set the authenticated Member's personal star without changing Chat access. */
|
|
1971
|
+
async setChatStar(wid, id, isStarred) {
|
|
1972
|
+
return this.fetch(`w/${wid}/chats/${id}/star`, {
|
|
1973
|
+
method: "PUT",
|
|
1974
|
+
body: JSON.stringify({ isStarred })
|
|
1975
|
+
});
|
|
1976
|
+
}
|
|
1970
1977
|
/** Update the mute status of a chat. */
|
|
1971
1978
|
async updateChatMute(wid, id, muted, muteReason, muteExpiresOnInbound) {
|
|
1972
1979
|
return this.fetch(`w/${wid}/chats/${id}/mute`, {
|
|
@@ -2830,6 +2837,32 @@ var DiscordBotsApi = class extends BaseApiClient {
|
|
|
2830
2837
|
|
|
2831
2838
|
// src/api/slack-apps.ts
|
|
2832
2839
|
var SlackAppsApi = class extends BaseApiClient {
|
|
2840
|
+
async removeSlackInstallation(wid, appId, installationId) {
|
|
2841
|
+
return this.fetch(
|
|
2842
|
+
`w/${wid}/app-connections/slack/apps/${appId}/installations/${installationId}`,
|
|
2843
|
+
{ method: "DELETE" }
|
|
2844
|
+
);
|
|
2845
|
+
}
|
|
2846
|
+
async getSlackChannelChoices(wid, appId, cursor, teamId) {
|
|
2847
|
+
const params = new URLSearchParams({ appId: String(appId) });
|
|
2848
|
+
if (cursor) params.set("cursor", cursor);
|
|
2849
|
+
if (teamId) params.set("teamId", teamId);
|
|
2850
|
+
return this.fetch(
|
|
2851
|
+
`w/${wid}/app-connections/slack/channel-choices?${params}`
|
|
2852
|
+
);
|
|
2853
|
+
}
|
|
2854
|
+
async getSlackEntryPoints(wid, options = {}) {
|
|
2855
|
+
const params = new URLSearchParams();
|
|
2856
|
+
if (options.appId) params.set("appId", String(options.appId));
|
|
2857
|
+
if (options.workflowId) params.set("workflowId", String(options.workflowId));
|
|
2858
|
+
return this.fetch(`w/${wid}/app-connections/slack/entry-points?${params}`);
|
|
2859
|
+
}
|
|
2860
|
+
async connectSlackEntryPoint(wid, data) {
|
|
2861
|
+
return this.fetch(`w/${wid}/app-connections/slack/entry-points`, {
|
|
2862
|
+
method: "POST",
|
|
2863
|
+
body: JSON.stringify(data)
|
|
2864
|
+
});
|
|
2865
|
+
}
|
|
2833
2866
|
/**
|
|
2834
2867
|
* List all Slack apps configured for a workspace.
|
|
2835
2868
|
*/
|
|
@@ -2894,6 +2927,8 @@ var SlackAppsApi = class extends BaseApiClient {
|
|
|
2894
2927
|
const params = new URLSearchParams();
|
|
2895
2928
|
if (options.page) params.append("page", options.page.toString());
|
|
2896
2929
|
if (options.pageSize) params.append("pageSize", options.pageSize.toString());
|
|
2930
|
+
if (options.search) params.set("search", options.search);
|
|
2931
|
+
if (options.connection) params.set("connection", options.connection);
|
|
2897
2932
|
return this.fetch(
|
|
2898
2933
|
`w/${wid}/app-connections/slack/apps/${appId}/installations${params.toString() ? `?${params.toString()}` : ""}`
|
|
2899
2934
|
);
|
|
@@ -3188,6 +3223,36 @@ var FhirConnectionsApi = class extends BaseApiClient {
|
|
|
3188
3223
|
body: JSON.stringify(data)
|
|
3189
3224
|
});
|
|
3190
3225
|
}
|
|
3226
|
+
/**
|
|
3227
|
+
* Which environments of the shared Gravity Rail athenahealth app this
|
|
3228
|
+
* deployment can use. Requires `apps:read`.
|
|
3229
|
+
*/
|
|
3230
|
+
async getAthenaPlatformApp(wid) {
|
|
3231
|
+
return this.fetch(
|
|
3232
|
+
`w/${wid}/app-connections/fhir/athena/platform-app`
|
|
3233
|
+
);
|
|
3234
|
+
}
|
|
3235
|
+
/**
|
|
3236
|
+
* Check that the Gravity Rail athenahealth app can reach a practice in an
|
|
3237
|
+
* environment. Saves nothing. Requires `apps:write`.
|
|
3238
|
+
*/
|
|
3239
|
+
async verifyAthenaAccess(wid, data) {
|
|
3240
|
+
return this.fetch(
|
|
3241
|
+
`w/${wid}/app-connections/fhir/athena/verify-access`,
|
|
3242
|
+
{ method: "POST", body: JSON.stringify(data) }
|
|
3243
|
+
);
|
|
3244
|
+
}
|
|
3245
|
+
/**
|
|
3246
|
+
* Create an athenahealth connection through the shared Gravity Rail app.
|
|
3247
|
+
* The server re-runs the access probe and answers 400 with
|
|
3248
|
+
* `detail: { code, message }` when it fails. Requires `apps:write`.
|
|
3249
|
+
*/
|
|
3250
|
+
async connectAthena(wid, data) {
|
|
3251
|
+
return this.fetch(`w/${wid}/app-connections/fhir/athena/connections`, {
|
|
3252
|
+
method: "POST",
|
|
3253
|
+
body: JSON.stringify(data)
|
|
3254
|
+
});
|
|
3255
|
+
}
|
|
3191
3256
|
/**
|
|
3192
3257
|
* Update an existing FHIR connection configuration.
|
|
3193
3258
|
*/
|
|
@@ -3406,36 +3471,6 @@ var FhirConnectionsApi = class extends BaseApiClient {
|
|
|
3406
3471
|
{ method: "POST", body: JSON.stringify(data) }
|
|
3407
3472
|
);
|
|
3408
3473
|
}
|
|
3409
|
-
/**
|
|
3410
|
-
* Start, resume, override or preview (dry run) an athenahealth connection's
|
|
3411
|
-
* onboarding import. The body is exactly the three mode flags; the server
|
|
3412
|
-
* traverses the connection's configured department/status pairs. Returns
|
|
3413
|
-
* 202 with the Temporal workflow and run ids. Requires `workspace:admin`.
|
|
3414
|
-
*/
|
|
3415
|
-
async fhirStartOnboardingImport(wid, connectionId, data = {}) {
|
|
3416
|
-
const body = {
|
|
3417
|
-
dryRun: data.dryRun ?? false,
|
|
3418
|
-
resume: data.resume ?? false,
|
|
3419
|
-
override: data.override ?? false
|
|
3420
|
-
};
|
|
3421
|
-
return this.fetch(
|
|
3422
|
-
`w/${wid}/app-connections/fhir/connections/${connectionId}/onboarding-import`,
|
|
3423
|
-
{
|
|
3424
|
-
method: "POST",
|
|
3425
|
-
body: JSON.stringify(body)
|
|
3426
|
-
}
|
|
3427
|
-
);
|
|
3428
|
-
}
|
|
3429
|
-
/**
|
|
3430
|
-
* Read an athenahealth connection's onboarding-import progress (durable,
|
|
3431
|
-
* approximate totals) and its known Temporal execution. GET-only: never
|
|
3432
|
-
* starts or resumes work. Requires `workspace:admin`.
|
|
3433
|
-
*/
|
|
3434
|
-
async fhirGetOnboardingImportStatus(wid, connectionId) {
|
|
3435
|
-
return this.fetch(
|
|
3436
|
-
`w/${wid}/app-connections/fhir/connections/${connectionId}/onboarding-import`
|
|
3437
|
-
);
|
|
3438
|
-
}
|
|
3439
3474
|
};
|
|
3440
3475
|
|
|
3441
3476
|
// src/types/generated/inbound_fax.ts
|
|
@@ -4098,6 +4133,23 @@ var InboxesApi = class extends BaseApiClient {
|
|
|
4098
4133
|
);
|
|
4099
4134
|
return response.arrayBuffer();
|
|
4100
4135
|
}
|
|
4136
|
+
/**
|
|
4137
|
+
* Reply and bounce rates for the emails one inbox sent in a period.
|
|
4138
|
+
*
|
|
4139
|
+
* `dateFrom` (inclusive) and `dateTo` (exclusive) are ISO 8601 instants with
|
|
4140
|
+
* an offset and must be passed together, at most 90 days apart; omit both
|
|
4141
|
+
* for the server's rolling last 30 days. Requires `inboxes:read` and
|
|
4142
|
+
* `analytics:read` plus admin access to the inbox. Aggregates only.
|
|
4143
|
+
*/
|
|
4144
|
+
async getInboxOutboundEmailStats(wid, inboxId, period = {}) {
|
|
4145
|
+
const params = new URLSearchParams();
|
|
4146
|
+
if (period.dateFrom) params.append("date_from", period.dateFrom);
|
|
4147
|
+
if (period.dateTo) params.append("date_to", period.dateTo);
|
|
4148
|
+
const query = params.toString();
|
|
4149
|
+
return this.fetch(
|
|
4150
|
+
`w/${wid}/inboxes/${inboxId}/outbound-email-stats${query ? `?${query}` : ""}`
|
|
4151
|
+
);
|
|
4152
|
+
}
|
|
4101
4153
|
/** List email threads in an inbox. */
|
|
4102
4154
|
async getInboxThreads(wid, inboxId) {
|
|
4103
4155
|
return this.fetch(`w/${wid}/inboxes/${inboxId}/threads`);
|
|
@@ -6134,6 +6186,18 @@ var OrgApi = class extends BaseApiClient {
|
|
|
6134
6186
|
async listA2PBrands(orgUuid) {
|
|
6135
6187
|
return this.fetch(`o/${orgUuid}/a2p-brands`);
|
|
6136
6188
|
}
|
|
6189
|
+
/**
|
|
6190
|
+
* Poll Twilio for one brand now and record its brand and campaign statuses,
|
|
6191
|
+
* as the scheduled sync would. Returns the brand as recorded afterwards,
|
|
6192
|
+
* without the live workflow fields `getA2PBrand` adds.
|
|
6193
|
+
*/
|
|
6194
|
+
async syncA2PBrand(orgUuid, brandUuid) {
|
|
6195
|
+
return this.fetch(
|
|
6196
|
+
`o/${orgUuid}/a2p-brands/${brandUuid}/sync`,
|
|
6197
|
+
// Empty JSON body is the CSRF barrier the route requires (GRA-6284).
|
|
6198
|
+
{ method: "POST", body: JSON.stringify({}) }
|
|
6199
|
+
);
|
|
6200
|
+
}
|
|
6137
6201
|
/**
|
|
6138
6202
|
* Live per-brand campaign use-case eligibility. Approved brands only — a
|
|
6139
6203
|
* brand still under TCR review comes back as a structured 412 the picker
|
|
@@ -6623,6 +6687,14 @@ var PhoneNumbersApi = class extends BaseApiClient {
|
|
|
6623
6687
|
async getPhoneNumber(wid, id) {
|
|
6624
6688
|
return this.fetch(`w/${wid}/phone-numbers/${id}`);
|
|
6625
6689
|
}
|
|
6690
|
+
/**
|
|
6691
|
+
* What this number still needs from its organization: the texting and
|
|
6692
|
+
* caller ID registration states of the business it belongs to. States only —
|
|
6693
|
+
* readable with `phones:read`, so it carries none of the business's forms.
|
|
6694
|
+
*/
|
|
6695
|
+
async getPhoneNumberSetupStatus(wid, id) {
|
|
6696
|
+
return this.fetch(`w/${wid}/phone-numbers/${id}/setup-status`);
|
|
6697
|
+
}
|
|
6626
6698
|
/** Create a new phone number record. */
|
|
6627
6699
|
async createPhoneNumber(wid, phoneNumber) {
|
|
6628
6700
|
return this.fetch(`w/${wid}/phone-numbers`, {
|
|
@@ -6937,6 +7009,21 @@ var PersonasApi = class extends BaseApiClient {
|
|
|
6937
7009
|
async getPersona(wid, id) {
|
|
6938
7010
|
return this.fetch(`w/${wid}/personas/${id}`);
|
|
6939
7011
|
}
|
|
7012
|
+
async getPersonaTestMember(wid, id) {
|
|
7013
|
+
return this.fetch(`w/${wid}/personas/${id}/test-member`);
|
|
7014
|
+
}
|
|
7015
|
+
async createPersonaTestMember(wid, id) {
|
|
7016
|
+
return this.fetch(`w/${wid}/personas/${id}/test-member`, {
|
|
7017
|
+
method: "POST",
|
|
7018
|
+
body: JSON.stringify({})
|
|
7019
|
+
});
|
|
7020
|
+
}
|
|
7021
|
+
async resetPersonaTestMember(wid, id) {
|
|
7022
|
+
return this.fetch(`w/${wid}/personas/${id}/test-member/reset`, {
|
|
7023
|
+
method: "POST",
|
|
7024
|
+
body: JSON.stringify({})
|
|
7025
|
+
});
|
|
7026
|
+
}
|
|
6940
7027
|
async createPersona(wid, data) {
|
|
6941
7028
|
return this.fetch(`w/${wid}/personas`, {
|
|
6942
7029
|
method: "POST",
|
|
@@ -6999,6 +7086,21 @@ var QueriesApi = class extends BaseApiClient {
|
|
|
6999
7086
|
|
|
7000
7087
|
// src/api/qualifications.ts
|
|
7001
7088
|
var QualificationsApi = class extends BaseApiClient {
|
|
7089
|
+
/** Copy an authorized test Chat prefix into an editable Scenario draft. */
|
|
7090
|
+
async captureScenarioDraft(wid, chatId, throughMessageId) {
|
|
7091
|
+
return this.fetch(`w/${wid}/qualifications/chats/${chatId}/scenario-draft`, {
|
|
7092
|
+
method: "POST",
|
|
7093
|
+
body: JSON.stringify({ throughMessageId })
|
|
7094
|
+
});
|
|
7095
|
+
}
|
|
7096
|
+
/** Pause before the next Persona turn; a current Agent reply may finish. */
|
|
7097
|
+
/** Turn feedback into an explicitly authored rubric on the same Workflow. */
|
|
7098
|
+
async promoteTestChatFeedback(wid, runId, request) {
|
|
7099
|
+
return this.fetch(`w/${wid}/qualifications/test-chat-runs/${runId}/feedback/criterion`, {
|
|
7100
|
+
method: "POST",
|
|
7101
|
+
body: JSON.stringify(request)
|
|
7102
|
+
});
|
|
7103
|
+
}
|
|
7002
7104
|
/** List qualifications in a workspace, paginated. */
|
|
7003
7105
|
async getQualifications(wid, params) {
|
|
7004
7106
|
const query = new URLSearchParams();
|
|
@@ -7090,6 +7192,12 @@ var QualificationsApi = class extends BaseApiClient {
|
|
|
7090
7192
|
`w/${wid}/qualifications/workflows/${workflowId}/scenario-health-summaries${qs}`
|
|
7091
7193
|
);
|
|
7092
7194
|
}
|
|
7195
|
+
/** The saved run of a test Chat, including its driver and completion state. */
|
|
7196
|
+
async getChatTestRun(wid, chatId) {
|
|
7197
|
+
return this.fetch(
|
|
7198
|
+
`w/${wid}/qualifications/chats/${chatId}/test-chat-run`
|
|
7199
|
+
);
|
|
7200
|
+
}
|
|
7093
7201
|
async getTestChatRun(wid, runId) {
|
|
7094
7202
|
return this.fetch(`w/${wid}/qualifications/test-chat-runs/${runId}`);
|
|
7095
7203
|
}
|
|
@@ -7412,9 +7520,9 @@ var SalesforceApi = class extends BaseApiClient {
|
|
|
7412
7520
|
});
|
|
7413
7521
|
}
|
|
7414
7522
|
/**
|
|
7415
|
-
*
|
|
7416
|
-
*
|
|
7417
|
-
*
|
|
7523
|
+
* @deprecated Use `linkUnlinkedMembersByIdentity(wid, connectionId)`, which
|
|
7524
|
+
* serves every connector that links by identity. This calls the retained
|
|
7525
|
+
* Salesforce-only route and will be removed once no caller remains.
|
|
7418
7526
|
*/
|
|
7419
7527
|
async linkUnlinkedSalesforceMembersByIdentity(wid) {
|
|
7420
7528
|
return this.fetch(
|
|
@@ -7541,6 +7649,20 @@ var ConnectionSyncApi = class extends BaseApiClient {
|
|
|
7541
7649
|
{ method: "PUT", body: JSON.stringify(data) }
|
|
7542
7650
|
);
|
|
7543
7651
|
}
|
|
7652
|
+
async getConnectionFieldHomes(wid, connectionId) {
|
|
7653
|
+
return this.fetch(`w/${wid}/app-connections/${connectionId}/field-homes`);
|
|
7654
|
+
}
|
|
7655
|
+
/** Each inbound record source's latest pass: closed status, times and counts. */
|
|
7656
|
+
async getInboundRecordStatus(wid, connectionId) {
|
|
7657
|
+
return this.fetch(
|
|
7658
|
+
`w/${wid}/app-connections/${connectionId}/inbound-records/status`
|
|
7659
|
+
);
|
|
7660
|
+
}
|
|
7661
|
+
async getConnectionWritePreview(wid, connectionId, memberId) {
|
|
7662
|
+
return this.fetch(
|
|
7663
|
+
`w/${wid}/app-connections/${connectionId}/write-preview/members/${memberId}`
|
|
7664
|
+
);
|
|
7665
|
+
}
|
|
7544
7666
|
async getConnectionSyncCheckpoint(wid, connectionId, direction = "inbound", syncKey = "default") {
|
|
7545
7667
|
const query = new URLSearchParams({
|
|
7546
7668
|
direction,
|
|
@@ -7603,6 +7725,108 @@ var ConnectionSyncApi = class extends BaseApiClient {
|
|
|
7603
7725
|
{ method: "DELETE" }
|
|
7604
7726
|
);
|
|
7605
7727
|
}
|
|
7728
|
+
/**
|
|
7729
|
+
* Start a durable run that links the connection's unlinked members to
|
|
7730
|
+
* remote records by identity (email, phone, or the vendor's own key) and
|
|
7731
|
+
* hydrates them. Served for any connector that declares a remote identity
|
|
7732
|
+
* resolver (Salesforce, HubSpot); another connector is 400. One run per
|
|
7733
|
+
* connection: a second start while one is in flight is 409.
|
|
7734
|
+
*/
|
|
7735
|
+
async linkUnlinkedMembersByIdentity(wid, connectionId) {
|
|
7736
|
+
return this.fetch(
|
|
7737
|
+
`w/${wid}/app-connections/${connectionId}/link-unlinked-by-identity`,
|
|
7738
|
+
{ method: "POST", body: JSON.stringify({}) }
|
|
7739
|
+
);
|
|
7740
|
+
}
|
|
7741
|
+
// --- Saved subset imports (Integration Standard IM-1..IM-4) ---------------
|
|
7742
|
+
subsetImportsPath(wid, connectionId, suffix2 = "") {
|
|
7743
|
+
return `w/${wid}/app-connections/${connectionId}/subset-imports${suffix2}`;
|
|
7744
|
+
}
|
|
7745
|
+
/** The connection's saved imports, newest first, and the kinds it accepts. */
|
|
7746
|
+
async listSubsetImports(wid, connectionId) {
|
|
7747
|
+
return this.fetch(this.subsetImportsPath(wid, connectionId));
|
|
7748
|
+
}
|
|
7749
|
+
async getSubsetImport(wid, connectionId, importId) {
|
|
7750
|
+
return this.fetch(
|
|
7751
|
+
this.subsetImportsPath(wid, connectionId, `/${encodeURIComponent(importId)}`)
|
|
7752
|
+
);
|
|
7753
|
+
}
|
|
7754
|
+
/** Save a named selection. Saving never reads the vendor or imports. */
|
|
7755
|
+
async createSubsetImport(wid, connectionId, data) {
|
|
7756
|
+
return this.fetch(this.subsetImportsPath(wid, connectionId), {
|
|
7757
|
+
method: "POST",
|
|
7758
|
+
body: JSON.stringify(data)
|
|
7759
|
+
});
|
|
7760
|
+
}
|
|
7761
|
+
/** Replace a saved selection. A changed selection resets its progress. */
|
|
7762
|
+
async updateSubsetImport(wid, connectionId, importId, data) {
|
|
7763
|
+
return this.fetch(
|
|
7764
|
+
this.subsetImportsPath(wid, connectionId, `/${encodeURIComponent(importId)}`),
|
|
7765
|
+
{ method: "PUT", body: JSON.stringify(data) }
|
|
7766
|
+
);
|
|
7767
|
+
}
|
|
7768
|
+
/** Remove a saved import. Its Members and links stay. */
|
|
7769
|
+
async deleteSubsetImport(wid, connectionId, importId) {
|
|
7770
|
+
await this.fetch(
|
|
7771
|
+
this.subsetImportsPath(wid, connectionId, `/${encodeURIComponent(importId)}`),
|
|
7772
|
+
{ method: "DELETE" }
|
|
7773
|
+
);
|
|
7774
|
+
}
|
|
7775
|
+
/** Count and sample an unsaved selection. Never writes. */
|
|
7776
|
+
async previewSubsetImportSelection(wid, connectionId, selection) {
|
|
7777
|
+
return this.fetch(
|
|
7778
|
+
this.subsetImportsPath(wid, connectionId, "/preview"),
|
|
7779
|
+
{ method: "POST", body: JSON.stringify({ selection }) }
|
|
7780
|
+
);
|
|
7781
|
+
}
|
|
7782
|
+
/** Count and sample a saved selection. Never writes. */
|
|
7783
|
+
async previewSubsetImport(wid, connectionId, importId) {
|
|
7784
|
+
return this.fetch(
|
|
7785
|
+
this.subsetImportsPath(wid, connectionId, `/${encodeURIComponent(importId)}/preview`),
|
|
7786
|
+
// The CSRF barrier refuses a body-less POST (422); `{}` is the request.
|
|
7787
|
+
{ method: "POST", body: JSON.stringify({}) }
|
|
7788
|
+
);
|
|
7789
|
+
}
|
|
7790
|
+
/**
|
|
7791
|
+
* Start the import in the background (202). A failed or cancelled import
|
|
7792
|
+
* resumes where it stopped unless `restart` is true.
|
|
7793
|
+
*/
|
|
7794
|
+
async runSubsetImport(wid, connectionId, importId, options) {
|
|
7795
|
+
return this.fetch(
|
|
7796
|
+
this.subsetImportsPath(wid, connectionId, `/${encodeURIComponent(importId)}/run`),
|
|
7797
|
+
{ method: "POST", body: JSON.stringify({ restart: options?.restart ?? false }) }
|
|
7798
|
+
);
|
|
7799
|
+
}
|
|
7800
|
+
/** Ask a running import to stop (202); its progress is kept for a resume. */
|
|
7801
|
+
async cancelSubsetImport(wid, connectionId, importId) {
|
|
7802
|
+
return this.fetch(
|
|
7803
|
+
this.subsetImportsPath(wid, connectionId, `/${encodeURIComponent(importId)}/cancel`),
|
|
7804
|
+
// The CSRF barrier refuses a body-less POST (422); `{}` is the request.
|
|
7805
|
+
{ method: "POST", body: JSON.stringify({}) }
|
|
7806
|
+
);
|
|
7807
|
+
}
|
|
7808
|
+
/** The connection's import-run history, newest first (counts only). */
|
|
7809
|
+
async listSubsetImportRuns(wid, connectionId, limit = 20) {
|
|
7810
|
+
return this.fetch(
|
|
7811
|
+
this.subsetImportsPath(wid, connectionId, `/runs?limit=${limit}`)
|
|
7812
|
+
);
|
|
7813
|
+
}
|
|
7814
|
+
/** Vendor lists a `vendor_list` import can name (configuration only). */
|
|
7815
|
+
async listSubsetImportVendorLists(wid, connectionId, options) {
|
|
7816
|
+
const query = new URLSearchParams({
|
|
7817
|
+
query: options?.query ?? "",
|
|
7818
|
+
limit: String(options?.limit ?? 50)
|
|
7819
|
+
});
|
|
7820
|
+
return this.fetch(
|
|
7821
|
+
this.subsetImportsPath(wid, connectionId, `/vendor-lists?${query}`)
|
|
7822
|
+
);
|
|
7823
|
+
}
|
|
7824
|
+
/** Remote fields a `field_filter` import can name, with their operators. */
|
|
7825
|
+
async listSubsetImportFilterFields(wid, connectionId) {
|
|
7826
|
+
return this.fetch(
|
|
7827
|
+
this.subsetImportsPath(wid, connectionId, "/filter-fields")
|
|
7828
|
+
);
|
|
7829
|
+
}
|
|
7606
7830
|
};
|
|
7607
7831
|
|
|
7608
7832
|
// src/api/hubspot.ts
|
|
@@ -7708,6 +7932,35 @@ var HubspotApi = class extends BaseApiClient {
|
|
|
7708
7932
|
`w/${wid}/app-connections/hubspot/sync-settings/hs-properties`
|
|
7709
7933
|
);
|
|
7710
7934
|
}
|
|
7935
|
+
/** Mappable HubSpot deal property definitions (deal inbound record sources). */
|
|
7936
|
+
async getHubspotDealProperties(wid) {
|
|
7937
|
+
return this.fetch(
|
|
7938
|
+
`w/${wid}/app-connections/hubspot/sync-settings/hs-properties?objectType=deals`
|
|
7939
|
+
);
|
|
7940
|
+
}
|
|
7941
|
+
/** The portal's Meetings booking links, or `missing_scope` without the scheduler scope. */
|
|
7942
|
+
async getHubspotMeetingLinks(wid) {
|
|
7943
|
+
return this.fetch(
|
|
7944
|
+
`w/${wid}/app-connections/hubspot/sync-settings/meeting-links`
|
|
7945
|
+
);
|
|
7946
|
+
}
|
|
7947
|
+
/** The portal's forms and their fields, or `missing_scope` without the `forms` scope. */
|
|
7948
|
+
async getHubspotForms(wid) {
|
|
7949
|
+
return this.fetch(
|
|
7950
|
+
`w/${wid}/app-connections/hubspot/sync-settings/forms`
|
|
7951
|
+
);
|
|
7952
|
+
}
|
|
7953
|
+
/**
|
|
7954
|
+
* Raw HubSpot property definitions for one CRM object type
|
|
7955
|
+
* (`GET /get_properties/{objectType}`), as HubSpot's properties API
|
|
7956
|
+
* returns them. Use `getHubspotContactProperties` for the sync-mappable
|
|
7957
|
+
* contact property list the field mapper shows.
|
|
7958
|
+
*/
|
|
7959
|
+
async getHubspotObjectProperties(wid, objectType) {
|
|
7960
|
+
return this.fetch(
|
|
7961
|
+
`w/${wid}/app-connections/hubspot/get_properties/${encodeURIComponent(objectType)}`
|
|
7962
|
+
);
|
|
7963
|
+
}
|
|
7711
7964
|
async getHubspotManagedRules(wid) {
|
|
7712
7965
|
return this.fetch(`w/${wid}/app-connections/hubspot/managed-rules`);
|
|
7713
7966
|
}
|
|
@@ -8795,6 +9048,17 @@ var JourneysApi = class extends BaseApiClient {
|
|
|
8795
9048
|
async getJourneyHealth(wid, journeyId) {
|
|
8796
9049
|
return this.fetch(`w/${wid}/journeys/${journeyId}/health`);
|
|
8797
9050
|
}
|
|
9051
|
+
/**
|
|
9052
|
+
* How many days the journey's texts take at the workspace's current sending
|
|
9053
|
+
* limits — advice for the publish and enroll confirmations, never a gate.
|
|
9054
|
+
* `additionalMembers` is the size of a batch about to be enrolled.
|
|
9055
|
+
*/
|
|
9056
|
+
async getJourneySendEstimate(wid, journeyId, additionalMembers = 0) {
|
|
9057
|
+
const query = new URLSearchParams({ additionalMembers: String(additionalMembers) });
|
|
9058
|
+
return this.fetch(
|
|
9059
|
+
`w/${wid}/journeys/${journeyId}/send-estimate?${query.toString()}`
|
|
9060
|
+
);
|
|
9061
|
+
}
|
|
8798
9062
|
/** Create a step within a journey. */
|
|
8799
9063
|
async createStep(wid, journeyId, data) {
|
|
8800
9064
|
return this.fetch(`w/${wid}/journeys/${journeyId}/steps`, {
|
|
@@ -9820,13 +10084,12 @@ var WorkspaceFeature = /* @__PURE__ */ ((WorkspaceFeature2) => {
|
|
|
9820
10084
|
WorkspaceFeature2["GSHEETS"] = "gsheets";
|
|
9821
10085
|
WorkspaceFeature2["MONDAY"] = "monday";
|
|
9822
10086
|
WorkspaceFeature2["DOCUMO_FAX"] = "documo_fax";
|
|
10087
|
+
WorkspaceFeature2["CLAIM_MD"] = "claim_md";
|
|
9823
10088
|
WorkspaceFeature2["RESELL_PRODUCTS"] = "resell_products";
|
|
9824
10089
|
WorkspaceFeature2["SOC2_COMPLIANCE"] = "soc2_compliance";
|
|
9825
10090
|
WorkspaceFeature2["EHR_FHIR"] = "ehr_fhir";
|
|
9826
10091
|
WorkspaceFeature2["EHR_ECLINICALWORKS"] = "ehr_eclinicalworks";
|
|
9827
10092
|
WorkspaceFeature2["EHR_HEALTHIE"] = "ehr_healthie";
|
|
9828
|
-
WorkspaceFeature2["CRM_SALESFORCE"] = "crm_salesforce";
|
|
9829
|
-
WorkspaceFeature2["CRM_HUBSPOT"] = "crm_hubspot";
|
|
9830
10093
|
WorkspaceFeature2["CONFLUENCE"] = "confluence";
|
|
9831
10094
|
WorkspaceFeature2["ZENDESK"] = "zendesk";
|
|
9832
10095
|
WorkspaceFeature2["AGENT_MEMORY"] = "agent_memory";
|
|
@@ -10016,6 +10279,10 @@ var RunHealthCategory = {
|
|
|
10016
10279
|
ungradeable: "ungradeable",
|
|
10017
10280
|
incomplete: "incomplete"
|
|
10018
10281
|
};
|
|
10282
|
+
var SeedSpeaker = {
|
|
10283
|
+
member: "member",
|
|
10284
|
+
agent: "agent"
|
|
10285
|
+
};
|
|
10019
10286
|
var TestChatRunLane = {
|
|
10020
10287
|
text: "text",
|
|
10021
10288
|
web_realtime: "web_realtime",
|
|
@@ -10030,6 +10297,7 @@ var TestChatRunOutcome = {
|
|
|
10030
10297
|
agent_silent: "agent_silent",
|
|
10031
10298
|
max_turns: "max_turns",
|
|
10032
10299
|
human_end: "human_end",
|
|
10300
|
+
single_turn: "single_turn",
|
|
10033
10301
|
configuration_failure: "configuration_failure",
|
|
10034
10302
|
instrument_failure: "instrument_failure"
|
|
10035
10303
|
};
|
|
@@ -10729,13 +10997,10 @@ var WorkspacesApi = class extends BaseApiClient {
|
|
|
10729
10997
|
}
|
|
10730
10998
|
/** Register a Web Push subscription for the current user. */
|
|
10731
10999
|
async registerPushSubscription(wid, subscription) {
|
|
10732
|
-
return this.fetch(
|
|
10733
|
-
|
|
10734
|
-
|
|
10735
|
-
|
|
10736
|
-
body: JSON.stringify(subscription)
|
|
10737
|
-
}
|
|
10738
|
-
);
|
|
11000
|
+
return this.fetch(`w/${wid}/push-subscriptions`, {
|
|
11001
|
+
method: "POST",
|
|
11002
|
+
body: JSON.stringify(subscription)
|
|
11003
|
+
});
|
|
10739
11004
|
}
|
|
10740
11005
|
/** Unregister a Web Push subscription by endpoint URL. */
|
|
10741
11006
|
async unregisterPushSubscription(wid, endpoint) {
|
|
@@ -10750,6 +11015,14 @@ var WorkspacesApi = class extends BaseApiClient {
|
|
|
10750
11015
|
async listPushSubscriptions(wid) {
|
|
10751
11016
|
return this.fetch(`w/${wid}/push-subscriptions`);
|
|
10752
11017
|
}
|
|
11018
|
+
/** Submit a fixed generic test to an owned browser registration. */
|
|
11019
|
+
async testPushSubscription(wid, subscriptionId) {
|
|
11020
|
+
const body = {};
|
|
11021
|
+
return this.fetch(
|
|
11022
|
+
`w/${wid}/push-subscriptions/${subscriptionId}/test`,
|
|
11023
|
+
{ method: "POST", body: JSON.stringify(body) }
|
|
11024
|
+
);
|
|
11025
|
+
}
|
|
10753
11026
|
/** List org domains available for workspace email inbox routing. */
|
|
10754
11027
|
async getWorkspaceEmailDomains(wid) {
|
|
10755
11028
|
return this.fetch(`w/${wid}/domains/for-email`);
|
|
@@ -11492,6 +11765,33 @@ var PatientSyncConnectionsApi = class extends BaseApiClient {
|
|
|
11492
11765
|
}
|
|
11493
11766
|
};
|
|
11494
11767
|
|
|
11768
|
+
// src/api/claim-md.ts
|
|
11769
|
+
var ClaimMdApi = class extends BaseApiClient {
|
|
11770
|
+
async getClaimMdStatus(wid) {
|
|
11771
|
+
return this.fetch(`w/${wid}/app-connections/claim-md/status`);
|
|
11772
|
+
}
|
|
11773
|
+
/** Sends `{}` deliberately: the route requires a JSON body as a CSRF barrier. */
|
|
11774
|
+
async installClaimMd(wid) {
|
|
11775
|
+
return this.fetch(`w/${wid}/app-connections/claim-md/install`, {
|
|
11776
|
+
method: "POST",
|
|
11777
|
+
body: JSON.stringify({})
|
|
11778
|
+
});
|
|
11779
|
+
}
|
|
11780
|
+
async configureClaimMd(wid, data) {
|
|
11781
|
+
return this.fetch(`w/${wid}/app-connections/claim-md/configure`, {
|
|
11782
|
+
method: "POST",
|
|
11783
|
+
body: JSON.stringify(data)
|
|
11784
|
+
});
|
|
11785
|
+
}
|
|
11786
|
+
/** Checks a pasted AccountKey without storing it. */
|
|
11787
|
+
async verifyClaimMdKey(wid, data) {
|
|
11788
|
+
return this.fetch(`w/${wid}/app-connections/claim-md/verify`, {
|
|
11789
|
+
method: "POST",
|
|
11790
|
+
body: JSON.stringify(data)
|
|
11791
|
+
});
|
|
11792
|
+
}
|
|
11793
|
+
};
|
|
11794
|
+
|
|
11495
11795
|
// src/api/activity.ts
|
|
11496
11796
|
var ActivityApi = class extends BaseApiClient {
|
|
11497
11797
|
/** The account mount: this caller's whole estate, at any grain. */
|
|
@@ -12102,6 +12402,7 @@ function createApiModules(apiKey, baseUrl, customFetch) {
|
|
|
12102
12402
|
patientSyncConnections: new PatientSyncConnectionsApi(apiKey, baseUrl, customFetch),
|
|
12103
12403
|
healthie: new HealthieApi(apiKey, baseUrl, customFetch),
|
|
12104
12404
|
documoFax: new DocumoFaxApi(apiKey, baseUrl, customFetch),
|
|
12405
|
+
claimMd: new ClaimMdApi(apiKey, baseUrl, customFetch),
|
|
12105
12406
|
hubspot: new HubspotApi(apiKey, baseUrl, customFetch),
|
|
12106
12407
|
features: new FeaturesApi(apiKey, baseUrl, customFetch),
|
|
12107
12408
|
files: new FilesApi(apiKey, baseUrl, customFetch),
|
|
@@ -12185,6 +12486,7 @@ var WORKSPACE_METHOD_NAMES = [
|
|
|
12185
12486
|
"cancelCalendarEvent",
|
|
12186
12487
|
"cancelChatCallback",
|
|
12187
12488
|
"cancelCredentialUpdateInvite",
|
|
12489
|
+
"cancelSubsetImport",
|
|
12188
12490
|
"checkAvailability",
|
|
12189
12491
|
"checkSiteDomainAvailability",
|
|
12190
12492
|
"checkSiteSlugAvailability",
|
|
@@ -12199,6 +12501,7 @@ var WORKSPACE_METHOD_NAMES = [
|
|
|
12199
12501
|
"commentOnWorkspaceSupportRequest",
|
|
12200
12502
|
"completeDiscordLink",
|
|
12201
12503
|
"configureConfluence",
|
|
12504
|
+
"configureClaimMd",
|
|
12202
12505
|
"configureDocumoFax",
|
|
12203
12506
|
"configureHealthie",
|
|
12204
12507
|
"configurePatientSync",
|
|
@@ -12206,6 +12509,7 @@ var WORKSPACE_METHOD_NAMES = [
|
|
|
12206
12509
|
"configureMondayConnection",
|
|
12207
12510
|
"configureSalesforce",
|
|
12208
12511
|
"configureZendeskConnection",
|
|
12512
|
+
"connectAthena",
|
|
12209
12513
|
"convertEmail",
|
|
12210
12514
|
"convertFile",
|
|
12211
12515
|
"createAbility",
|
|
@@ -12214,6 +12518,15 @@ var WORKSPACE_METHOD_NAMES = [
|
|
|
12214
12518
|
"createApiKey",
|
|
12215
12519
|
"createAssignment",
|
|
12216
12520
|
"bindInstallationSlots",
|
|
12521
|
+
"createSubsetImport",
|
|
12522
|
+
"deleteSubsetImport",
|
|
12523
|
+
"getSubsetImport",
|
|
12524
|
+
"listSubsetImportFilterFields",
|
|
12525
|
+
"listSubsetImportRuns",
|
|
12526
|
+
"listSubsetImports",
|
|
12527
|
+
"listSubsetImportVendorLists",
|
|
12528
|
+
"previewSubsetImport",
|
|
12529
|
+
"previewSubsetImportSelection",
|
|
12217
12530
|
"restoreInstallationForm",
|
|
12218
12531
|
"createBundle",
|
|
12219
12532
|
"createCalendar",
|
|
@@ -12222,6 +12535,7 @@ var WORKSPACE_METHOD_NAMES = [
|
|
|
12222
12535
|
"createCalendarSchedule",
|
|
12223
12536
|
"createChat",
|
|
12224
12537
|
"createChatInteractionSession",
|
|
12538
|
+
"runSubsetImport",
|
|
12225
12539
|
"transitionChatInteractionSession",
|
|
12226
12540
|
"createChatCompletion",
|
|
12227
12541
|
"createChatFilter",
|
|
@@ -12402,7 +12716,6 @@ var WORKSPACE_METHOD_NAMES = [
|
|
|
12402
12716
|
"fhirGetCsvImportSettings",
|
|
12403
12717
|
"fhirGetEncounterSyncRuns",
|
|
12404
12718
|
"fhirGetEncounterSyncStatus",
|
|
12405
|
-
"fhirGetOnboardingImportStatus",
|
|
12406
12719
|
"fhirImportPatient",
|
|
12407
12720
|
"fhirLinkMember",
|
|
12408
12721
|
"fhirListLinkedMembers",
|
|
@@ -12411,7 +12724,6 @@ var WORKSPACE_METHOD_NAMES = [
|
|
|
12411
12724
|
"fhirSearchLocations",
|
|
12412
12725
|
"fhirSearchPatients",
|
|
12413
12726
|
"fhirSearchPractitioners",
|
|
12414
|
-
"fhirStartOnboardingImport",
|
|
12415
12727
|
"fhirSyncMember",
|
|
12416
12728
|
"fhirUnlinkMember",
|
|
12417
12729
|
"fhirUpdateCsvImportSettings",
|
|
@@ -12437,6 +12749,7 @@ var WORKSPACE_METHOD_NAMES = [
|
|
|
12437
12749
|
"getAnonymousResolutions",
|
|
12438
12750
|
"getApiKeys",
|
|
12439
12751
|
"getArchiveBlockers",
|
|
12752
|
+
"getAthenaPlatformApp",
|
|
12440
12753
|
"getAssignment",
|
|
12441
12754
|
"getAssignmentCelContext",
|
|
12442
12755
|
"getAssignmentMessages",
|
|
@@ -12499,9 +12812,12 @@ var WORKSPACE_METHOD_NAMES = [
|
|
|
12499
12812
|
"getClientWorkspace",
|
|
12500
12813
|
"getConfigurationHealth",
|
|
12501
12814
|
"getConfluenceStatus",
|
|
12815
|
+
"getConnectionFieldHomes",
|
|
12816
|
+
"getInboundRecordStatus",
|
|
12502
12817
|
"getConnectionSyncCapabilities",
|
|
12503
12818
|
"getConnectionSyncCheckpoint",
|
|
12504
12819
|
"getConnectionSyncConfig",
|
|
12820
|
+
"getConnectionWritePreview",
|
|
12505
12821
|
"getCredentialUpdateInvites",
|
|
12506
12822
|
"getCurrentMember",
|
|
12507
12823
|
"clearMemberWorkflowVoice",
|
|
@@ -12538,6 +12854,7 @@ var WORKSPACE_METHOD_NAMES = [
|
|
|
12538
12854
|
"getDiscordBots",
|
|
12539
12855
|
"getDiscordGuilds",
|
|
12540
12856
|
"getDiscordThreads",
|
|
12857
|
+
"getClaimMdStatus",
|
|
12541
12858
|
"getDocumoFaxSetup",
|
|
12542
12859
|
"listDocumoFaxes",
|
|
12543
12860
|
"getDocumoFaxStatus",
|
|
@@ -12566,8 +12883,8 @@ var WORKSPACE_METHOD_NAMES = [
|
|
|
12566
12883
|
"getSiteSourceTemplates",
|
|
12567
12884
|
"getThemeSettings",
|
|
12568
12885
|
"importSiteSourceZip",
|
|
12886
|
+
"installClaimMd",
|
|
12569
12887
|
"installDocumoFax",
|
|
12570
|
-
"listChatRecordings",
|
|
12571
12888
|
"previewDataReport",
|
|
12572
12889
|
"previewQuery",
|
|
12573
12890
|
"publishSiteSource",
|
|
@@ -12603,7 +12920,11 @@ var WORKSPACE_METHOD_NAMES = [
|
|
|
12603
12920
|
"getHealthieStatus",
|
|
12604
12921
|
"getPatientSyncStatus",
|
|
12605
12922
|
"getHubspotContactProperties",
|
|
12923
|
+
"getHubspotDealProperties",
|
|
12924
|
+
"getHubspotForms",
|
|
12925
|
+
"getHubspotMeetingLinks",
|
|
12606
12926
|
"getHubspotManagedRules",
|
|
12927
|
+
"getHubspotObjectProperties",
|
|
12607
12928
|
"getHubspotReconciliationMatches",
|
|
12608
12929
|
"getHubspotStatus",
|
|
12609
12930
|
"getHubspotSyncLogs",
|
|
@@ -12615,6 +12936,7 @@ var WORKSPACE_METHOD_NAMES = [
|
|
|
12615
12936
|
"getInbox",
|
|
12616
12937
|
"getInboxEmail",
|
|
12617
12938
|
"getInboxEmails",
|
|
12939
|
+
"getInboxOutboundEmailStats",
|
|
12618
12940
|
"getInboxThreads",
|
|
12619
12941
|
"getInboxes",
|
|
12620
12942
|
"getInterventionRequests",
|
|
@@ -12624,6 +12946,7 @@ var WORKSPACE_METHOD_NAMES = [
|
|
|
12624
12946
|
"getJourneyHealth",
|
|
12625
12947
|
"getJourneyMembers",
|
|
12626
12948
|
"getJourneyNotes",
|
|
12949
|
+
"getJourneySendEstimate",
|
|
12627
12950
|
"getJourneyV2Validation",
|
|
12628
12951
|
"getJourneys",
|
|
12629
12952
|
"getLinkablePhones",
|
|
@@ -12684,11 +13007,16 @@ var WORKSPACE_METHOD_NAMES = [
|
|
|
12684
13007
|
"getPage",
|
|
12685
13008
|
"getPageBySlug",
|
|
12686
13009
|
"getPersona",
|
|
13010
|
+
"getPersonaTestMember",
|
|
13011
|
+
"createPersonaTestMember",
|
|
13012
|
+
"resetPersonaTestMember",
|
|
12687
13013
|
"getPhoneCalls",
|
|
13014
|
+
"getPhoneCallByUuid",
|
|
12688
13015
|
"getPhoneNumber",
|
|
12689
13016
|
"getPhoneNumberCalls",
|
|
12690
13017
|
"getPhoneNumberFaxes",
|
|
12691
13018
|
"getPhoneNumberMessages",
|
|
13019
|
+
"getPhoneNumberSetupStatus",
|
|
12692
13020
|
"getPhoneNumberVoicemails",
|
|
12693
13021
|
"getPhoneNumbers",
|
|
12694
13022
|
"getPhoneUsageReport",
|
|
@@ -12704,7 +13032,6 @@ var WORKSPACE_METHOD_NAMES = [
|
|
|
12704
13032
|
"getPublicProducts",
|
|
12705
13033
|
"getQualification",
|
|
12706
13034
|
"getQualifications",
|
|
12707
|
-
"getRecordingInfo",
|
|
12708
13035
|
"getResellerWorkspaces",
|
|
12709
13036
|
"getRoutine",
|
|
12710
13037
|
"getRoutineConfigEvents",
|
|
@@ -12731,6 +13058,7 @@ var WORKSPACE_METHOD_NAMES = [
|
|
|
12731
13058
|
"getSlackAppAccounts",
|
|
12732
13059
|
"getSlackApps",
|
|
12733
13060
|
"getSlackInstallations",
|
|
13061
|
+
"removeSlackInstallation",
|
|
12734
13062
|
"getSlackThreads",
|
|
12735
13063
|
"getStepMemberCounts",
|
|
12736
13064
|
"getStepMembers",
|
|
@@ -12747,6 +13075,7 @@ var WORKSPACE_METHOD_NAMES = [
|
|
|
12747
13075
|
"getTeamsConversations",
|
|
12748
13076
|
"getTeamsInstallations",
|
|
12749
13077
|
"getTemplateContext",
|
|
13078
|
+
"getChatTestRun",
|
|
12750
13079
|
"getTestChatRun",
|
|
12751
13080
|
"getThreadEmails",
|
|
12752
13081
|
"getTool",
|
|
@@ -12820,6 +13149,7 @@ var WORKSPACE_METHOD_NAMES = [
|
|
|
12820
13149
|
"linkMemberToMonday",
|
|
12821
13150
|
"linkMemberToSalesforce",
|
|
12822
13151
|
"linkPhoneNumber",
|
|
13152
|
+
"linkUnlinkedMembersByIdentity",
|
|
12823
13153
|
"linkUnlinkedSalesforceMembersByIdentity",
|
|
12824
13154
|
"listAbilities",
|
|
12825
13155
|
"listAnonymousFormSubmissions",
|
|
@@ -12903,6 +13233,7 @@ var WORKSPACE_METHOD_NAMES = [
|
|
|
12903
13233
|
"reenrollMember",
|
|
12904
13234
|
"renameFieldSlug",
|
|
12905
13235
|
"registerLinkedRolesMetadata",
|
|
13236
|
+
"testPushSubscription",
|
|
12906
13237
|
"registerPushSubscription",
|
|
12907
13238
|
"reindexFolder",
|
|
12908
13239
|
"releasePhoneNumber",
|
|
@@ -12914,6 +13245,7 @@ var WORKSPACE_METHOD_NAMES = [
|
|
|
12914
13245
|
"reorderMenuItems",
|
|
12915
13246
|
"reconcileInstallation",
|
|
12916
13247
|
"setInstallationPolicy",
|
|
13248
|
+
"updateSubsetImport",
|
|
12917
13249
|
"upgradeInstallation",
|
|
12918
13250
|
"replaceBundleDraft",
|
|
12919
13251
|
"replyToEmail",
|
|
@@ -12949,6 +13281,8 @@ var WORKSPACE_METHOD_NAMES = [
|
|
|
12949
13281
|
"startHubspotOAuth",
|
|
12950
13282
|
"startSalesforceOAuth",
|
|
12951
13283
|
"startSyncRun",
|
|
13284
|
+
"captureScenarioDraft",
|
|
13285
|
+
"promoteTestChatFeedback",
|
|
12952
13286
|
"startTestChatRun",
|
|
12953
13287
|
"summarizeChat",
|
|
12954
13288
|
"syncCalendarWithGoogle",
|
|
@@ -12988,6 +13322,7 @@ var WORKSPACE_METHOD_NAMES = [
|
|
|
12988
13322
|
"updateChatFilter",
|
|
12989
13323
|
"updateChatLabel",
|
|
12990
13324
|
"updateChatModelOverride",
|
|
13325
|
+
"setChatStar",
|
|
12991
13326
|
"updateChatMute",
|
|
12992
13327
|
"updateClientWorkspace",
|
|
12993
13328
|
"updateConnection",
|
|
@@ -13067,6 +13402,8 @@ var WORKSPACE_METHOD_NAMES = [
|
|
|
13067
13402
|
"validateDataTypeSlug",
|
|
13068
13403
|
"validateQuery",
|
|
13069
13404
|
"validateWorkflowName",
|
|
13405
|
+
"verifyAthenaAccess",
|
|
13406
|
+
"verifyClaimMdKey",
|
|
13070
13407
|
"verifyDocumoFax"
|
|
13071
13408
|
];
|
|
13072
13409
|
var WORKSPACE_METHOD_NAME_SET = new Set(WORKSPACE_METHOD_NAMES);
|
|
@@ -13175,6 +13512,7 @@ function bindChatsMethods(target, chats) {
|
|
|
13175
13512
|
target.updateChat = chats.updateChat.bind(chats);
|
|
13176
13513
|
target.getChatModelOverride = chats.getChatModelOverride.bind(chats);
|
|
13177
13514
|
target.updateChatModelOverride = chats.updateChatModelOverride.bind(chats);
|
|
13515
|
+
target.setChatStar = chats.setChatStar.bind(chats);
|
|
13178
13516
|
target.updateChatMute = chats.updateChatMute.bind(chats);
|
|
13179
13517
|
target.summarizeChat = chats.summarizeChat.bind(chats);
|
|
13180
13518
|
target.getChatMessages = chats.getChatMessages.bind(chats);
|
|
@@ -13211,10 +13549,9 @@ function bindChatsMethods(target, chats) {
|
|
|
13211
13549
|
// src/client/bindings/calls.ts
|
|
13212
13550
|
function bindCallsMethods(target, calls, cel) {
|
|
13213
13551
|
target.getPhoneCalls = calls.getPhoneCalls.bind(calls);
|
|
13552
|
+
target.getPhoneCallByUuid = calls.getPhoneCallByUuid.bind(calls);
|
|
13214
13553
|
target.getMessageTiming = calls.getMessageTiming.bind(calls);
|
|
13215
|
-
target.getRecordingInfo = calls.getRecordingInfo.bind(calls);
|
|
13216
13554
|
target.getEdgeCaptureInfo = calls.getEdgeCaptureInfo.bind(calls);
|
|
13217
|
-
target.listChatRecordings = calls.listChatRecordings.bind(calls);
|
|
13218
13555
|
target.getCallRecordingDownloadUrl = calls.getCallRecordingDownloadUrl.bind(calls);
|
|
13219
13556
|
target.getCelContext = cel.getCelContext.bind(cel);
|
|
13220
13557
|
target.validateCelExpression = cel.validateCelExpression.bind(cel);
|
|
@@ -13455,6 +13792,7 @@ function bindWorkspacesMethods(target, workspaces, signupRequests) {
|
|
|
13455
13792
|
target.getWorkspaceScopes = workspaces.getWorkspaceScopes.bind(workspaces);
|
|
13456
13793
|
target.getUsageDashboard = workspaces.getUsageDashboard.bind(workspaces);
|
|
13457
13794
|
target.getVapidPublicKey = workspaces.getVapidPublicKey.bind(workspaces);
|
|
13795
|
+
target.testPushSubscription = workspaces.testPushSubscription.bind(workspaces);
|
|
13458
13796
|
target.registerPushSubscription = workspaces.registerPushSubscription.bind(workspaces);
|
|
13459
13797
|
target.unregisterPushSubscription = workspaces.unregisterPushSubscription.bind(workspaces);
|
|
13460
13798
|
target.listPushSubscriptions = workspaces.listPushSubscriptions.bind(workspaces);
|
|
@@ -13781,6 +14119,7 @@ function bindCommunicationsMethods(target, phoneNumbers, inboxes, notificationRu
|
|
|
13781
14119
|
target.createPhoneNumber = phoneNumbers.createPhoneNumber.bind(phoneNumbers);
|
|
13782
14120
|
target.updatePhoneNumber = phoneNumbers.updatePhoneNumber.bind(phoneNumbers);
|
|
13783
14121
|
target.getArchiveBlockers = phoneNumbers.getArchiveBlockers.bind(phoneNumbers);
|
|
14122
|
+
target.getPhoneNumberSetupStatus = phoneNumbers.getPhoneNumberSetupStatus.bind(phoneNumbers);
|
|
13784
14123
|
target.archivePhoneNumber = phoneNumbers.archivePhoneNumber.bind(phoneNumbers);
|
|
13785
14124
|
target.getPhoneNumberCalls = phoneNumbers.getPhoneNumberCalls.bind(phoneNumbers);
|
|
13786
14125
|
target.getPhoneNumberOutboundAnalyticsSummary = phoneNumbers.getPhoneNumberOutboundAnalyticsSummary.bind(phoneNumbers);
|
|
@@ -13813,6 +14152,7 @@ function bindCommunicationsMethods(target, phoneNumbers, inboxes, notificationRu
|
|
|
13813
14152
|
target.sendInboxEmail = inboxes.sendInboxEmail.bind(inboxes);
|
|
13814
14153
|
target.previewInboxEmail = inboxes.previewInboxEmail.bind(inboxes);
|
|
13815
14154
|
target.previewEmailReply = inboxes.previewEmailReply.bind(inboxes);
|
|
14155
|
+
target.getInboxOutboundEmailStats = inboxes.getInboxOutboundEmailStats.bind(inboxes);
|
|
13816
14156
|
target.getNotificationRules = notificationRules.getNotificationRules.bind(notificationRules);
|
|
13817
14157
|
target.createNotificationRule = notificationRules.createNotificationRule.bind(notificationRules);
|
|
13818
14158
|
target.updateNotificationRule = notificationRules.updateNotificationRule.bind(notificationRules);
|
|
@@ -13929,7 +14269,7 @@ function bindAppsMethods(target, apps, builders, inquiries, oauth, oauthConnecti
|
|
|
13929
14269
|
}
|
|
13930
14270
|
|
|
13931
14271
|
// src/client/bindings/integrations.ts
|
|
13932
|
-
function bindIntegrationsMethods(target, mondayIntegration, discordBots, slackApps, teamsApps, fhirConnections, patientSyncConnections, healthie, documoFax, salesforce, hubspot, appConnections, connectionSync, confluence) {
|
|
14272
|
+
function bindIntegrationsMethods(target, mondayIntegration, discordBots, slackApps, teamsApps, fhirConnections, patientSyncConnections, healthie, documoFax, claimMd, salesforce, hubspot, appConnections, connectionSync, confluence) {
|
|
13933
14273
|
target.getMondayBoards = mondayIntegration.getBoards.bind(mondayIntegration);
|
|
13934
14274
|
target.getMondayBoardColumns = mondayIntegration.getBoardColumns.bind(mondayIntegration);
|
|
13935
14275
|
target.getMondayBoardGroups = mondayIntegration.getBoardGroups.bind(mondayIntegration);
|
|
@@ -13979,6 +14319,10 @@ function bindIntegrationsMethods(target, mondayIntegration, discordBots, slackAp
|
|
|
13979
14319
|
target.deleteSlackApp = slackApps.deleteSlackApp.bind(slackApps);
|
|
13980
14320
|
target.getSlackThreads = slackApps.getSlackThreads.bind(slackApps);
|
|
13981
14321
|
target.getSlackInstallations = slackApps.getSlackInstallations.bind(slackApps);
|
|
14322
|
+
target.removeSlackInstallation = slackApps.removeSlackInstallation.bind(slackApps);
|
|
14323
|
+
target.getSlackChannelChoices = slackApps.getSlackChannelChoices.bind(slackApps);
|
|
14324
|
+
target.getSlackEntryPoints = slackApps.getSlackEntryPoints.bind(slackApps);
|
|
14325
|
+
target.connectSlackEntryPoint = slackApps.connectSlackEntryPoint.bind(slackApps);
|
|
13982
14326
|
target.getSlackAppAccounts = slackApps.getSlackAppAccounts.bind(slackApps);
|
|
13983
14327
|
target.getTeamsApps = teamsApps.getTeamsApps.bind(teamsApps);
|
|
13984
14328
|
target.getTeamsApp = teamsApps.getTeamsApp.bind(teamsApps);
|
|
@@ -14019,8 +14363,9 @@ function bindIntegrationsMethods(target, mondayIntegration, discordBots, slackAp
|
|
|
14019
14363
|
target.fhirGetEncounterSyncRuns = fhirConnections.fhirGetEncounterSyncRuns.bind(fhirConnections);
|
|
14020
14364
|
target.fhirRefreshEncounterPatient = fhirConnections.fhirRefreshEncounterPatient.bind(fhirConnections);
|
|
14021
14365
|
target.fhirBackfillEncounterSync = fhirConnections.fhirBackfillEncounterSync.bind(fhirConnections);
|
|
14022
|
-
target.
|
|
14023
|
-
target.
|
|
14366
|
+
target.getAthenaPlatformApp = fhirConnections.getAthenaPlatformApp.bind(fhirConnections);
|
|
14367
|
+
target.verifyAthenaAccess = fhirConnections.verifyAthenaAccess.bind(fhirConnections);
|
|
14368
|
+
target.connectAthena = fhirConnections.connectAthena.bind(fhirConnections);
|
|
14024
14369
|
target.configurePatientSync = patientSyncConnections.configurePatientSync.bind(patientSyncConnections);
|
|
14025
14370
|
target.getPatientSyncStatus = patientSyncConnections.getPatientSyncStatus.bind(patientSyncConnections);
|
|
14026
14371
|
target.deletePatientSyncConnection = patientSyncConnections.deletePatientSyncConnection.bind(patientSyncConnections);
|
|
@@ -14031,6 +14376,10 @@ function bindIntegrationsMethods(target, mondayIntegration, discordBots, slackAp
|
|
|
14031
14376
|
target.configureDocumoFax = documoFax.configureDocumoFax.bind(documoFax);
|
|
14032
14377
|
target.verifyDocumoFax = documoFax.verifyDocumoFax.bind(documoFax);
|
|
14033
14378
|
target.rotateDocumoFaxCredentials = documoFax.rotateDocumoFaxCredentials.bind(documoFax);
|
|
14379
|
+
target.getClaimMdStatus = claimMd.getClaimMdStatus.bind(claimMd);
|
|
14380
|
+
target.installClaimMd = claimMd.installClaimMd.bind(claimMd);
|
|
14381
|
+
target.configureClaimMd = claimMd.configureClaimMd.bind(claimMd);
|
|
14382
|
+
target.verifyClaimMdKey = claimMd.verifyClaimMdKey.bind(claimMd);
|
|
14034
14383
|
target.configureHealthie = healthie.configureHealthie.bind(healthie);
|
|
14035
14384
|
target.getHealthieStatus = healthie.getHealthieStatus.bind(healthie);
|
|
14036
14385
|
target.listHealthieProviders = healthie.listHealthieProviders.bind(healthie);
|
|
@@ -14092,6 +14441,10 @@ function bindIntegrationsMethods(target, mondayIntegration, discordBots, slackAp
|
|
|
14092
14441
|
target.searchHubspotRecords = hubspot.searchHubspotRecords.bind(hubspot);
|
|
14093
14442
|
target.importHubspotMembers = hubspot.importHubspotMembers.bind(hubspot);
|
|
14094
14443
|
target.getHubspotContactProperties = hubspot.getHubspotContactProperties.bind(hubspot);
|
|
14444
|
+
target.getHubspotDealProperties = hubspot.getHubspotDealProperties.bind(hubspot);
|
|
14445
|
+
target.getHubspotForms = hubspot.getHubspotForms.bind(hubspot);
|
|
14446
|
+
target.getHubspotMeetingLinks = hubspot.getHubspotMeetingLinks.bind(hubspot);
|
|
14447
|
+
target.getHubspotObjectProperties = hubspot.getHubspotObjectProperties.bind(hubspot);
|
|
14095
14448
|
target.getHubspotManagedRules = hubspot.getHubspotManagedRules.bind(hubspot);
|
|
14096
14449
|
target.getHubspotSyncLogs = hubspot.getHubspotSyncLogs.bind(hubspot);
|
|
14097
14450
|
target.getHubspotTransformPresets = hubspot.getHubspotTransformPresets.bind(hubspot);
|
|
@@ -14103,7 +14456,23 @@ function bindIntegrationsMethods(target, mondayIntegration, discordBots, slackAp
|
|
|
14103
14456
|
target.getSyncRuns = connectionSync.getSyncRuns.bind(connectionSync);
|
|
14104
14457
|
target.getSyncRunItems = connectionSync.getSyncRunItems.bind(connectionSync);
|
|
14105
14458
|
target.getMemberSyncSummary = connectionSync.getMemberSyncSummary.bind(connectionSync);
|
|
14459
|
+
target.getConnectionFieldHomes = connectionSync.getConnectionFieldHomes.bind(connectionSync);
|
|
14460
|
+
target.getInboundRecordStatus = connectionSync.getInboundRecordStatus.bind(connectionSync);
|
|
14461
|
+
target.getConnectionWritePreview = connectionSync.getConnectionWritePreview.bind(connectionSync);
|
|
14106
14462
|
target.clearConnectionMemberExclusion = connectionSync.clearConnectionMemberExclusion.bind(connectionSync);
|
|
14463
|
+
target.linkUnlinkedMembersByIdentity = connectionSync.linkUnlinkedMembersByIdentity.bind(connectionSync);
|
|
14464
|
+
target.listSubsetImports = connectionSync.listSubsetImports.bind(connectionSync);
|
|
14465
|
+
target.getSubsetImport = connectionSync.getSubsetImport.bind(connectionSync);
|
|
14466
|
+
target.createSubsetImport = connectionSync.createSubsetImport.bind(connectionSync);
|
|
14467
|
+
target.updateSubsetImport = connectionSync.updateSubsetImport.bind(connectionSync);
|
|
14468
|
+
target.deleteSubsetImport = connectionSync.deleteSubsetImport.bind(connectionSync);
|
|
14469
|
+
target.previewSubsetImportSelection = connectionSync.previewSubsetImportSelection.bind(connectionSync);
|
|
14470
|
+
target.previewSubsetImport = connectionSync.previewSubsetImport.bind(connectionSync);
|
|
14471
|
+
target.runSubsetImport = connectionSync.runSubsetImport.bind(connectionSync);
|
|
14472
|
+
target.cancelSubsetImport = connectionSync.cancelSubsetImport.bind(connectionSync);
|
|
14473
|
+
target.listSubsetImportRuns = connectionSync.listSubsetImportRuns.bind(connectionSync);
|
|
14474
|
+
target.listSubsetImportVendorLists = connectionSync.listSubsetImportVendorLists.bind(connectionSync);
|
|
14475
|
+
target.listSubsetImportFilterFields = connectionSync.listSubsetImportFilterFields.bind(connectionSync);
|
|
14107
14476
|
target.listAvailableAppConnections = appConnections.listAvailableAppConnections.bind(appConnections);
|
|
14108
14477
|
target.listAppConnections = appConnections.listAppConnections.bind(appConnections);
|
|
14109
14478
|
target.enablePlatformApp = appConnections.enablePlatformApp.bind(appConnections);
|
|
@@ -14264,6 +14633,7 @@ function bindJourneysMethods(target, journeys) {
|
|
|
14264
14633
|
target.getJourneyV2Validation = journeys.getJourneyV2Validation.bind(journeys);
|
|
14265
14634
|
target.getJourneyFilterOptions = journeys.getJourneyFilterOptions.bind(journeys);
|
|
14266
14635
|
target.getJourneyHealth = journeys.getJourneyHealth.bind(journeys);
|
|
14636
|
+
target.getJourneySendEstimate = journeys.getJourneySendEstimate.bind(journeys);
|
|
14267
14637
|
target.cloneJourneyAsV2 = journeys.cloneJourneyAsV2.bind(journeys);
|
|
14268
14638
|
target.createJourney = journeys.createJourney.bind(journeys);
|
|
14269
14639
|
target.updateJourney = journeys.updateJourney.bind(journeys);
|
|
@@ -14308,11 +14678,14 @@ function bindQualificationsMethods(target, qualifications) {
|
|
|
14308
14678
|
target.deleteScenario = qualifications.deleteScenario.bind(qualifications);
|
|
14309
14679
|
target.listTestChatRuns = qualifications.listTestChatRuns.bind(qualifications);
|
|
14310
14680
|
target.listScenarioHealthSummaries = qualifications.listScenarioHealthSummaries.bind(qualifications);
|
|
14681
|
+
target.getChatTestRun = qualifications.getChatTestRun.bind(qualifications);
|
|
14311
14682
|
target.getTestChatRun = qualifications.getTestChatRun.bind(qualifications);
|
|
14312
14683
|
target.listChatCapturedEffects = qualifications.listChatCapturedEffects.bind(qualifications);
|
|
14313
14684
|
target.listChatRecordChanges = qualifications.listChatRecordChanges.bind(qualifications);
|
|
14314
14685
|
target.takeTestChatRunEmailTurn = qualifications.takeTestChatRunEmailTurn.bind(qualifications);
|
|
14315
14686
|
target.takeTestChatRunSmsTurn = qualifications.takeTestChatRunSmsTurn.bind(qualifications);
|
|
14687
|
+
target.captureScenarioDraft = qualifications.captureScenarioDraft.bind(qualifications);
|
|
14688
|
+
target.promoteTestChatFeedback = qualifications.promoteTestChatFeedback.bind(qualifications);
|
|
14316
14689
|
target.startTestChatRun = qualifications.startTestChatRun.bind(qualifications);
|
|
14317
14690
|
target.evaluateTestChatRun = qualifications.evaluateTestChatRun.bind(qualifications);
|
|
14318
14691
|
target.endTestChatRun = qualifications.endTestChatRun.bind(qualifications);
|
|
@@ -14322,6 +14695,9 @@ function bindQualificationsMethods(target, qualifications) {
|
|
|
14322
14695
|
function bindPersonasMethods(target, personas) {
|
|
14323
14696
|
target.listPersonas = personas.listPersonas.bind(personas);
|
|
14324
14697
|
target.getPersona = personas.getPersona.bind(personas);
|
|
14698
|
+
target.getPersonaTestMember = personas.getPersonaTestMember.bind(personas);
|
|
14699
|
+
target.createPersonaTestMember = personas.createPersonaTestMember.bind(personas);
|
|
14700
|
+
target.resetPersonaTestMember = personas.resetPersonaTestMember.bind(personas);
|
|
14325
14701
|
target.createPersona = personas.createPersona.bind(personas);
|
|
14326
14702
|
target.updatePersona = personas.updatePersona.bind(personas);
|
|
14327
14703
|
target.archivePersona = personas.archivePersona.bind(personas);
|
|
@@ -14467,6 +14843,7 @@ var GravityRailClient = class {
|
|
|
14467
14843
|
updateChat;
|
|
14468
14844
|
getChatModelOverride;
|
|
14469
14845
|
updateChatModelOverride;
|
|
14846
|
+
setChatStar;
|
|
14470
14847
|
updateChatMute;
|
|
14471
14848
|
summarizeChat;
|
|
14472
14849
|
getChatMessages;
|
|
@@ -14500,10 +14877,9 @@ var GravityRailClient = class {
|
|
|
14500
14877
|
getChatFilterCount;
|
|
14501
14878
|
// Calls API
|
|
14502
14879
|
getPhoneCalls;
|
|
14880
|
+
getPhoneCallByUuid;
|
|
14503
14881
|
getMessageTiming;
|
|
14504
|
-
getRecordingInfo;
|
|
14505
14882
|
getEdgeCaptureInfo;
|
|
14506
|
-
listChatRecordings;
|
|
14507
14883
|
getCallRecordingDownloadUrl;
|
|
14508
14884
|
getCelContext;
|
|
14509
14885
|
validateCelExpression;
|
|
@@ -14647,11 +15023,14 @@ var GravityRailClient = class {
|
|
|
14647
15023
|
deleteScenario;
|
|
14648
15024
|
listTestChatRuns;
|
|
14649
15025
|
listScenarioHealthSummaries;
|
|
15026
|
+
getChatTestRun;
|
|
14650
15027
|
getTestChatRun;
|
|
14651
15028
|
listChatCapturedEffects;
|
|
14652
15029
|
listChatRecordChanges;
|
|
14653
15030
|
takeTestChatRunEmailTurn;
|
|
14654
15031
|
takeTestChatRunSmsTurn;
|
|
15032
|
+
captureScenarioDraft;
|
|
15033
|
+
promoteTestChatFeedback;
|
|
14655
15034
|
startTestChatRun;
|
|
14656
15035
|
evaluateTestChatRun;
|
|
14657
15036
|
endTestChatRun;
|
|
@@ -14665,6 +15044,9 @@ var GravityRailClient = class {
|
|
|
14665
15044
|
previewDataReport;
|
|
14666
15045
|
listPersonas;
|
|
14667
15046
|
getPersona;
|
|
15047
|
+
getPersonaTestMember;
|
|
15048
|
+
createPersonaTestMember;
|
|
15049
|
+
resetPersonaTestMember;
|
|
14668
15050
|
createPersona;
|
|
14669
15051
|
updatePersona;
|
|
14670
15052
|
archivePersona;
|
|
@@ -14735,6 +15117,7 @@ var GravityRailClient = class {
|
|
|
14735
15117
|
getJourneyV2Validation;
|
|
14736
15118
|
getJourneyFilterOptions;
|
|
14737
15119
|
getJourneyHealth;
|
|
15120
|
+
getJourneySendEstimate;
|
|
14738
15121
|
cloneJourneyAsV2;
|
|
14739
15122
|
createJourney;
|
|
14740
15123
|
updateJourney;
|
|
@@ -14961,6 +15344,7 @@ var GravityRailClient = class {
|
|
|
14961
15344
|
setWorkspaceLabels;
|
|
14962
15345
|
previewWorkspaceScope;
|
|
14963
15346
|
getVapidPublicKey;
|
|
15347
|
+
testPushSubscription;
|
|
14964
15348
|
registerPushSubscription;
|
|
14965
15349
|
unregisterPushSubscription;
|
|
14966
15350
|
listPushSubscriptions;
|
|
@@ -15240,6 +15624,7 @@ var GravityRailClient = class {
|
|
|
15240
15624
|
createPhoneNumber;
|
|
15241
15625
|
updatePhoneNumber;
|
|
15242
15626
|
getArchiveBlockers;
|
|
15627
|
+
getPhoneNumberSetupStatus;
|
|
15243
15628
|
archivePhoneNumber;
|
|
15244
15629
|
getPhoneNumberCalls;
|
|
15245
15630
|
getPhoneNumberOutboundAnalyticsSummary;
|
|
@@ -15272,6 +15657,7 @@ var GravityRailClient = class {
|
|
|
15272
15657
|
sendInboxEmail;
|
|
15273
15658
|
previewInboxEmail;
|
|
15274
15659
|
previewEmailReply;
|
|
15660
|
+
getInboxOutboundEmailStats;
|
|
15275
15661
|
getNotificationRules;
|
|
15276
15662
|
createNotificationRule;
|
|
15277
15663
|
updateNotificationRule;
|
|
@@ -15436,6 +15822,10 @@ var GravityRailClient = class {
|
|
|
15436
15822
|
deleteSlackApp;
|
|
15437
15823
|
getSlackThreads;
|
|
15438
15824
|
getSlackInstallations;
|
|
15825
|
+
removeSlackInstallation;
|
|
15826
|
+
getSlackChannelChoices;
|
|
15827
|
+
getSlackEntryPoints;
|
|
15828
|
+
connectSlackEntryPoint;
|
|
15439
15829
|
getSlackAppAccounts;
|
|
15440
15830
|
// Teams Apps API
|
|
15441
15831
|
getTeamsApps;
|
|
@@ -15478,8 +15868,9 @@ var GravityRailClient = class {
|
|
|
15478
15868
|
fhirGetEncounterSyncRuns;
|
|
15479
15869
|
fhirRefreshEncounterPatient;
|
|
15480
15870
|
fhirBackfillEncounterSync;
|
|
15481
|
-
|
|
15482
|
-
|
|
15871
|
+
getAthenaPlatformApp;
|
|
15872
|
+
verifyAthenaAccess;
|
|
15873
|
+
connectAthena;
|
|
15483
15874
|
// Healthie API
|
|
15484
15875
|
getDocumoFaxStatus;
|
|
15485
15876
|
getDocumoFaxSetup;
|
|
@@ -15488,6 +15879,10 @@ var GravityRailClient = class {
|
|
|
15488
15879
|
configureDocumoFax;
|
|
15489
15880
|
verifyDocumoFax;
|
|
15490
15881
|
rotateDocumoFaxCredentials;
|
|
15882
|
+
getClaimMdStatus;
|
|
15883
|
+
installClaimMd;
|
|
15884
|
+
configureClaimMd;
|
|
15885
|
+
verifyClaimMdKey;
|
|
15491
15886
|
configurePatientSync;
|
|
15492
15887
|
getPatientSyncStatus;
|
|
15493
15888
|
deletePatientSyncConnection;
|
|
@@ -15555,6 +15950,10 @@ var GravityRailClient = class {
|
|
|
15555
15950
|
searchHubspotRecords;
|
|
15556
15951
|
importHubspotMembers;
|
|
15557
15952
|
getHubspotContactProperties;
|
|
15953
|
+
getHubspotDealProperties;
|
|
15954
|
+
getHubspotForms;
|
|
15955
|
+
getHubspotMeetingLinks;
|
|
15956
|
+
getHubspotObjectProperties;
|
|
15558
15957
|
getHubspotManagedRules;
|
|
15559
15958
|
getHubspotSyncLogs;
|
|
15560
15959
|
getHubspotTransformPresets;
|
|
@@ -15567,7 +15966,23 @@ var GravityRailClient = class {
|
|
|
15567
15966
|
getSyncRuns;
|
|
15568
15967
|
getSyncRunItems;
|
|
15569
15968
|
getMemberSyncSummary;
|
|
15969
|
+
getConnectionFieldHomes;
|
|
15970
|
+
getInboundRecordStatus;
|
|
15971
|
+
getConnectionWritePreview;
|
|
15570
15972
|
clearConnectionMemberExclusion;
|
|
15973
|
+
linkUnlinkedMembersByIdentity;
|
|
15974
|
+
listSubsetImports;
|
|
15975
|
+
getSubsetImport;
|
|
15976
|
+
createSubsetImport;
|
|
15977
|
+
updateSubsetImport;
|
|
15978
|
+
deleteSubsetImport;
|
|
15979
|
+
previewSubsetImportSelection;
|
|
15980
|
+
previewSubsetImport;
|
|
15981
|
+
runSubsetImport;
|
|
15982
|
+
cancelSubsetImport;
|
|
15983
|
+
listSubsetImportRuns;
|
|
15984
|
+
listSubsetImportVendorLists;
|
|
15985
|
+
listSubsetImportFilterFields;
|
|
15571
15986
|
// App Connections API
|
|
15572
15987
|
listAvailableAppConnections;
|
|
15573
15988
|
listAppConnections;
|
|
@@ -15704,6 +16119,7 @@ var GravityRailClient = class {
|
|
|
15704
16119
|
apis.patientSyncConnections,
|
|
15705
16120
|
apis.healthie,
|
|
15706
16121
|
apis.documoFax,
|
|
16122
|
+
apis.claimMd,
|
|
15707
16123
|
apis.salesforce,
|
|
15708
16124
|
apis.hubspot,
|
|
15709
16125
|
apis.appConnections,
|
|
@@ -16267,7 +16683,7 @@ function isChatType(value) {
|
|
|
16267
16683
|
// src/constants/models.ts
|
|
16268
16684
|
var DEFAULT_CHAT_MODEL = "openai:chat:gpt-6-luna";
|
|
16269
16685
|
var DEFAULT_AGENT_CHAT_MODEL = "openai:chat:gpt-6-luna";
|
|
16270
|
-
var DEFAULT_AGENT_REALTIME_MODEL = "xai:realtime:voice-agent-
|
|
16686
|
+
var DEFAULT_AGENT_REALTIME_MODEL = "xai:realtime:voice-agent-3";
|
|
16271
16687
|
var DEFAULT_AGENT_REALTIME_MODEL_CONFIG = {
|
|
16272
16688
|
ttsModel: "native",
|
|
16273
16689
|
voiceModel: "xai:voice:cosmo"
|
|
@@ -17348,6 +17764,7 @@ export {
|
|
|
17348
17764
|
FhirClientType,
|
|
17349
17765
|
CrmActivityKind,
|
|
17350
17766
|
RunHealthCategory,
|
|
17767
|
+
SeedSpeaker,
|
|
17351
17768
|
TestChatRunLane,
|
|
17352
17769
|
TestChatRunOutcome,
|
|
17353
17770
|
CapturedEffectDirection,
|
|
@@ -17518,4 +17935,4 @@ export {
|
|
|
17518
17935
|
pathDraftFromStorage,
|
|
17519
17936
|
pathDraftToStorage
|
|
17520
17937
|
};
|
|
17521
|
-
//# sourceMappingURL=chunk-
|
|
17938
|
+
//# sourceMappingURL=chunk-7ABBH5CC.js.map
|