@gravity-rail/sdk 0.53.0 → 0.55.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/README.md +89 -37
- package/dist/{chat-interaction-CklXa8iQ.d.cts → chat-interaction-CZnqOfut.d.ts} +1212 -69
- package/dist/{chat-interaction-Dei_j8Sd.d.ts → chat-interaction-DZCWRbDi.d.cts} +1212 -69
- package/dist/{chunk-6F4YJJKQ.js → chunk-BF4MOZZO.js} +339 -7
- package/dist/chunk-BF4MOZZO.js.map +1 -0
- package/dist/{chunk-MMDSZ25F.js → chunk-HXVJF54M.js} +1 -1
- package/dist/chunk-HXVJF54M.js.map +1 -0
- package/dist/helpers.d.cts +4 -4
- package/dist/helpers.d.ts +4 -4
- package/dist/index.cjs +344 -6
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +7 -6
- package/dist/index.d.ts +7 -6
- package/dist/index.js +15 -2
- package/dist/index.js.map +1 -1
- package/dist/internal.cjs +363 -9
- package/dist/internal.cjs.map +1 -1
- package/dist/internal.d.cts +6 -5
- package/dist/internal.d.ts +6 -5
- package/dist/internal.js +33 -5
- package/dist/internal.js.map +1 -1
- package/dist/{member-import-Do6D2g14.d.ts → member-import-D1QvZiy5.d.ts} +1 -1
- package/dist/{member-import-BtTWfQ46.d.cts → member-import-DzuvKnMC.d.cts} +1 -1
- package/dist/{path-DKPLfZj4.d.ts → path-C6Ujx-3w.d.cts} +51 -53
- package/dist/{path-D1ZCbboc.d.cts → path-YfkJBAbf.d.ts} +51 -53
- package/dist/realtime.cjs +26 -0
- package/dist/realtime.cjs.map +1 -1
- package/dist/realtime.d.cts +17 -0
- package/dist/realtime.d.ts +17 -0
- package/dist/realtime.js +26 -0
- package/dist/realtime.js.map +1 -1
- package/dist/schemas.d.cts +2 -2
- package/dist/schemas.d.ts +2 -2
- package/dist/schemas.js +1 -1
- package/dist/{tasks-JweebIce.d.cts → tasks-BdYhYUpU.d.cts} +92 -26
- package/dist/{tasks-JweebIce.d.ts → tasks-BdYhYUpU.d.ts} +92 -26
- package/package.json +1 -1
- package/dist/chunk-6F4YJJKQ.js.map +0 -1
- package/dist/chunk-MMDSZ25F.js.map +0 -1
package/dist/internal.cjs
CHANGED
|
@@ -212,6 +212,8 @@ __export(internal_exports, {
|
|
|
212
212
|
REALTIME_MODEL_OPENAI_2: () => REALTIME_MODEL_OPENAI_2,
|
|
213
213
|
REALTIME_MODEL_OPENAI_MINI: () => REALTIME_MODEL_OPENAI_MINI,
|
|
214
214
|
RecordChangeKind: () => RecordChangeKind,
|
|
215
|
+
RecordContactPermissionRequestChannelNote: () => RecordContactPermissionRequestChannelNote,
|
|
216
|
+
RecordMetricAggregationEnum: () => RecordMetricDefinitionAggregation,
|
|
215
217
|
RefResolutionStatus: () => RefResolutionStatus,
|
|
216
218
|
Region: () => Region,
|
|
217
219
|
RegistrationIdentifier: () => RegistrationIdentifier,
|
|
@@ -233,6 +235,7 @@ __export(internal_exports, {
|
|
|
233
235
|
STT_MODEL_DEEPGRAM_FLUX_MULTI: () => STT_MODEL_DEEPGRAM_FLUX_MULTI,
|
|
234
236
|
STT_MODEL_DEEPGRAM_FLUX_MULTI_SELFHOST: () => STT_MODEL_DEEPGRAM_FLUX_MULTI_SELFHOST,
|
|
235
237
|
STT_MODEL_DEEPGRAM_FLUX_SELFHOST: () => STT_MODEL_DEEPGRAM_FLUX_SELFHOST,
|
|
238
|
+
STT_MODEL_ELEVENLABS_SCRIBE_V2_REALTIME: () => STT_MODEL_ELEVENLABS_SCRIBE_V2_REALTIME,
|
|
236
239
|
SalesforceApi: () => SalesforceApi,
|
|
237
240
|
ScenarioHealthCaption: () => ScenarioHealthCaption,
|
|
238
241
|
ScenarioHealthHeadline: () => ScenarioHealthHeadline,
|
|
@@ -256,6 +259,10 @@ __export(internal_exports, {
|
|
|
256
259
|
TTS_MODEL_AWS_POLLY_GENERATIVE: () => TTS_MODEL_AWS_POLLY_GENERATIVE,
|
|
257
260
|
TTS_MODEL_AWS_POLLY_NEURAL: () => TTS_MODEL_AWS_POLLY_NEURAL,
|
|
258
261
|
TTS_MODEL_DEEPGRAM_AURA_2: () => TTS_MODEL_DEEPGRAM_AURA_2,
|
|
262
|
+
TTS_MODEL_ELEVENLABS_FLASH: () => TTS_MODEL_ELEVENLABS_FLASH,
|
|
263
|
+
TTS_MODEL_ELEVENLABS_MULTILINGUAL: () => TTS_MODEL_ELEVENLABS_MULTILINGUAL,
|
|
264
|
+
TTS_MODEL_ELEVENLABS_TURBO: () => TTS_MODEL_ELEVENLABS_TURBO,
|
|
265
|
+
TTS_MODEL_ELEVENLABS_V4_TURBO: () => TTS_MODEL_ELEVENLABS_V4_TURBO,
|
|
259
266
|
TTS_MODEL_XAI_V1: () => TTS_MODEL_XAI_V1,
|
|
260
267
|
TTS_PREVIEW_PROVIDERS: () => TTS_PREVIEW_PROVIDERS,
|
|
261
268
|
TaskTransitionInitiator: () => TaskTransitionInitiator,
|
|
@@ -297,6 +304,7 @@ __export(internal_exports, {
|
|
|
297
304
|
bindCommunicationsMethods: () => bindCommunicationsMethods,
|
|
298
305
|
bindCustomersMethods: () => bindCustomersMethods,
|
|
299
306
|
bindDashboardsMethods: () => bindDashboardsMethods,
|
|
307
|
+
bindDataReportsMethods: () => bindDataReportsMethods,
|
|
300
308
|
bindDataTypesMethods: () => bindDataTypesMethods,
|
|
301
309
|
bindDevicesMethods: () => bindDevicesMethods,
|
|
302
310
|
bindEventsMethods: () => bindEventsMethods,
|
|
@@ -780,6 +788,7 @@ var WorkspaceFeature = /* @__PURE__ */ ((WorkspaceFeature2) => {
|
|
|
780
788
|
WorkspaceFeature2["CRM_SALESFORCE"] = "crm_salesforce";
|
|
781
789
|
WorkspaceFeature2["CRM_HUBSPOT"] = "crm_hubspot";
|
|
782
790
|
WorkspaceFeature2["CONFLUENCE"] = "confluence";
|
|
791
|
+
WorkspaceFeature2["ZENDESK"] = "zendesk";
|
|
783
792
|
WorkspaceFeature2["AGENT_MEMORY"] = "agent_memory";
|
|
784
793
|
WorkspaceFeature2["IMAGE_GENERATION"] = "image_generation";
|
|
785
794
|
WorkspaceFeature2["CHARLESTON_NEPHROLOGY_PMD_PAGING"] = "charleston_nephrology_pmd_paging";
|
|
@@ -945,6 +954,7 @@ var ModelProvider = {
|
|
|
945
954
|
google: "google",
|
|
946
955
|
anthropic: "anthropic",
|
|
947
956
|
aws: "aws",
|
|
957
|
+
elevenlabs: "elevenlabs",
|
|
948
958
|
deepgram: "deepgram",
|
|
949
959
|
xai: "xai",
|
|
950
960
|
fireworks: "fireworks",
|
|
@@ -971,7 +981,12 @@ var STT_MODEL_DEEPGRAM_FLUX = "deepgram:stt:flux-general-en";
|
|
|
971
981
|
var STT_MODEL_DEEPGRAM_FLUX_SELFHOST = "deepgram:stt:flux-general-en:selfhost";
|
|
972
982
|
var STT_MODEL_DEEPGRAM_FLUX_MULTI = "deepgram:stt:flux-general-multi";
|
|
973
983
|
var STT_MODEL_DEEPGRAM_FLUX_MULTI_SELFHOST = "deepgram:stt:flux-general-multi:selfhost";
|
|
984
|
+
var STT_MODEL_ELEVENLABS_SCRIBE_V2_REALTIME = "elevenlabs:stt:scribe_v2_realtime";
|
|
974
985
|
var TTS_MODEL_XAI_V1 = "xai:tts:v1";
|
|
986
|
+
var TTS_MODEL_ELEVENLABS_FLASH = "elevenlabs:tts:eleven_flash_v2_5";
|
|
987
|
+
var TTS_MODEL_ELEVENLABS_TURBO = "elevenlabs:tts:eleven_turbo_v2_5";
|
|
988
|
+
var TTS_MODEL_ELEVENLABS_MULTILINGUAL = "elevenlabs:tts:eleven_multilingual_v2";
|
|
989
|
+
var TTS_MODEL_ELEVENLABS_V4_TURBO = "elevenlabs:tts:eleven_v4_turbo";
|
|
975
990
|
var TTS_MODEL_DEEPGRAM_AURA_2 = "deepgram:tts:aura-2";
|
|
976
991
|
var TTS_MODEL_AWS_POLLY_GENERATIVE = "aws:tts:polly-generative";
|
|
977
992
|
var TTS_MODEL_AWS_POLLY_NEURAL = "aws:tts:polly-neural";
|
|
@@ -1497,6 +1512,7 @@ var AbilityTypeSlugs = {
|
|
|
1497
1512
|
CALENDAR_BOOKING: "integration:calendar_booking",
|
|
1498
1513
|
FILE_ACCESS: "integration:file_access",
|
|
1499
1514
|
DATA_ACCESS: "integration:data_access",
|
|
1515
|
+
DATA_REPORTS: "integration:data_reports",
|
|
1500
1516
|
GMAIL: "integration:gmail",
|
|
1501
1517
|
GOOGLE_CALENDAR: "integration:google_calendar",
|
|
1502
1518
|
GOOGLE_DRIVE: "integration:google_drive",
|
|
@@ -1556,6 +1572,20 @@ var SessionKind = {
|
|
|
1556
1572
|
site: "site"
|
|
1557
1573
|
};
|
|
1558
1574
|
|
|
1575
|
+
// src/types/generated/contact_permission.ts
|
|
1576
|
+
var RecordContactPermissionRequestChannelNote = {
|
|
1577
|
+
phone_call: "phone_call",
|
|
1578
|
+
voicemail: "voicemail",
|
|
1579
|
+
email: "email",
|
|
1580
|
+
mail: "mail",
|
|
1581
|
+
postcard: "postcard",
|
|
1582
|
+
fax: "fax",
|
|
1583
|
+
in_person: "in_person",
|
|
1584
|
+
patient_portal: "patient_portal",
|
|
1585
|
+
web_form: "web_form",
|
|
1586
|
+
other: "other"
|
|
1587
|
+
};
|
|
1588
|
+
|
|
1559
1589
|
// src/types/query-engine-types.ts
|
|
1560
1590
|
var QUERY_VALUELESS_OPS = /* @__PURE__ */ new Set([
|
|
1561
1591
|
"isEmpty",
|
|
@@ -1641,7 +1671,8 @@ var CustomerActivityClassifierDetectorName = {
|
|
|
1641
1671
|
manager_chat_classifier: "manager_chat_classifier",
|
|
1642
1672
|
concierge_chat_classifier: "concierge_chat_classifier",
|
|
1643
1673
|
chat_review: "chat_review",
|
|
1644
|
-
a2p_agent_inferred_stop: "a2p_agent_inferred_stop"
|
|
1674
|
+
a2p_agent_inferred_stop: "a2p_agent_inferred_stop",
|
|
1675
|
+
voice_spoken_opt_out: "voice_spoken_opt_out"
|
|
1645
1676
|
};
|
|
1646
1677
|
var CustomerActivityClassifierLabel = {
|
|
1647
1678
|
user_distress: "user_distress",
|
|
@@ -1843,7 +1874,14 @@ function getTTSProvider(ttsModel) {
|
|
|
1843
1874
|
if (!ttsModel || ttsModel === "native") return ttsModel ?? null;
|
|
1844
1875
|
return ttsModel.split(":")[0] ?? null;
|
|
1845
1876
|
}
|
|
1846
|
-
var TTS_PREVIEW_PROVIDERS = [
|
|
1877
|
+
var TTS_PREVIEW_PROVIDERS = [
|
|
1878
|
+
"openai",
|
|
1879
|
+
"elevenlabs",
|
|
1880
|
+
"google",
|
|
1881
|
+
"aws",
|
|
1882
|
+
"deepgram",
|
|
1883
|
+
"xai"
|
|
1884
|
+
];
|
|
1847
1885
|
function getVoiceModelId(entity) {
|
|
1848
1886
|
const config = entity.realtimeModelConfig;
|
|
1849
1887
|
return config?.voiceModel ?? null;
|
|
@@ -2003,6 +2041,16 @@ function isPositiveRating(rating) {
|
|
|
2003
2041
|
return rating != null && rating >= POSITIVE_RATING_THRESHOLD;
|
|
2004
2042
|
}
|
|
2005
2043
|
|
|
2044
|
+
// src/types/generated/metric_record_definition.ts
|
|
2045
|
+
var RecordMetricDefinitionAggregation = {
|
|
2046
|
+
count: "count",
|
|
2047
|
+
countDistinct: "countDistinct",
|
|
2048
|
+
sum: "sum",
|
|
2049
|
+
avg: "avg",
|
|
2050
|
+
min: "min",
|
|
2051
|
+
max: "max"
|
|
2052
|
+
};
|
|
2053
|
+
|
|
2006
2054
|
// src/types/generated/metric.ts
|
|
2007
2055
|
var MetricChatType = {
|
|
2008
2056
|
assignment: "assignment",
|
|
@@ -2019,12 +2067,14 @@ var MetricKind = {
|
|
|
2019
2067
|
};
|
|
2020
2068
|
var MetricSource = {
|
|
2021
2069
|
chat: "chat",
|
|
2022
|
-
member_filter: "member_filter"
|
|
2070
|
+
member_filter: "member_filter",
|
|
2071
|
+
data_record: "data_record"
|
|
2023
2072
|
};
|
|
2024
2073
|
var MetricType = {
|
|
2025
2074
|
expression: "expression",
|
|
2026
2075
|
rubric: "rubric",
|
|
2027
|
-
filter_count: "filter_count"
|
|
2076
|
+
filter_count: "filter_count",
|
|
2077
|
+
record_aggregate: "record_aggregate"
|
|
2028
2078
|
};
|
|
2029
2079
|
var MetricUnit = {
|
|
2030
2080
|
rate: "rate",
|
|
@@ -7108,6 +7158,36 @@ var FhirConnectionsApi = class extends BaseApiClient {
|
|
|
7108
7158
|
{ method: "POST", body: JSON.stringify(data) }
|
|
7109
7159
|
);
|
|
7110
7160
|
}
|
|
7161
|
+
/**
|
|
7162
|
+
* Start, resume, override or preview (dry run) an athenahealth connection's
|
|
7163
|
+
* onboarding import. The body is exactly the three mode flags; the server
|
|
7164
|
+
* traverses the connection's configured department/status pairs. Returns
|
|
7165
|
+
* 202 with the Temporal workflow and run ids. Requires `workspace:admin`.
|
|
7166
|
+
*/
|
|
7167
|
+
async fhirStartOnboardingImport(wid, connectionId, data = {}) {
|
|
7168
|
+
const body = {
|
|
7169
|
+
dryRun: data.dryRun ?? false,
|
|
7170
|
+
resume: data.resume ?? false,
|
|
7171
|
+
override: data.override ?? false
|
|
7172
|
+
};
|
|
7173
|
+
return this.fetch(
|
|
7174
|
+
`w/${wid}/app-connections/fhir/connections/${connectionId}/onboarding-import`,
|
|
7175
|
+
{
|
|
7176
|
+
method: "POST",
|
|
7177
|
+
body: JSON.stringify(body)
|
|
7178
|
+
}
|
|
7179
|
+
);
|
|
7180
|
+
}
|
|
7181
|
+
/**
|
|
7182
|
+
* Read an athenahealth connection's onboarding-import progress (durable,
|
|
7183
|
+
* approximate totals) and its known Temporal execution. GET-only: never
|
|
7184
|
+
* starts or resumes work. Requires `workspace:admin`.
|
|
7185
|
+
*/
|
|
7186
|
+
async fhirGetOnboardingImportStatus(wid, connectionId) {
|
|
7187
|
+
return this.fetch(
|
|
7188
|
+
`w/${wid}/app-connections/fhir/connections/${connectionId}/onboarding-import`
|
|
7189
|
+
);
|
|
7190
|
+
}
|
|
7111
7191
|
};
|
|
7112
7192
|
|
|
7113
7193
|
// src/api/patientsync-connections.ts
|
|
@@ -7330,8 +7410,8 @@ var FilesApi = class extends BaseApiClient {
|
|
|
7330
7410
|
* Download one file's bytes via GET ``.../files/{id}/contents/{filename}``.
|
|
7331
7411
|
*
|
|
7332
7412
|
* Uses this client's base URL (FastAPI on the app, same-origin ``/api/v2``
|
|
7333
|
-
* on scoped site sessions)
|
|
7334
|
-
*
|
|
7413
|
+
* on scoped site sessions). The Next.js ``/api/w/.../files/...`` route
|
|
7414
|
+
* redirects to this same contents path; calling it directly skips the hop.
|
|
7335
7415
|
*/
|
|
7336
7416
|
async downloadFileContents(wid, id, filename) {
|
|
7337
7417
|
const response = await this.fetchRaw(
|
|
@@ -7415,9 +7495,9 @@ var FilesApi = class extends BaseApiClient {
|
|
|
7415
7495
|
);
|
|
7416
7496
|
}
|
|
7417
7497
|
/**
|
|
7418
|
-
* Same-origin
|
|
7419
|
-
*
|
|
7420
|
-
*
|
|
7498
|
+
* Same-origin URL for a version's raw contents. The Next.js route
|
|
7499
|
+
* requires a session and redirects to the versioned FastAPI contents
|
|
7500
|
+
* endpoint. Mirrors the shape of `FileResponse.cdnUrl`.
|
|
7421
7501
|
*/
|
|
7422
7502
|
getFileVersionContentsUrl(wid, fileId, versionNumber) {
|
|
7423
7503
|
return `/api/w/${wid}/files/${fileId}/versions/${versionNumber}/contents`;
|
|
@@ -7449,6 +7529,19 @@ var FilesApi = class extends BaseApiClient {
|
|
|
7449
7529
|
const parentId = typeof parentIdOrOpts === "number" ? parentIdOrOpts : parentIdOrOpts.parentId;
|
|
7450
7530
|
return this.fetch(`w/${wid}/folders?parent_id=${parentId}`);
|
|
7451
7531
|
}
|
|
7532
|
+
/**
|
|
7533
|
+
* Readable children of many parents in one request.
|
|
7534
|
+
*
|
|
7535
|
+
* Every id comes back as a key. A parent with no readable children maps to
|
|
7536
|
+
* an empty list. The server accepts at most 100 ids per call.
|
|
7537
|
+
*/
|
|
7538
|
+
async getFolderChildren(wid, parentIds) {
|
|
7539
|
+
const params = new URLSearchParams();
|
|
7540
|
+
for (const parentId of parentIds) {
|
|
7541
|
+
params.append("parent_ids", String(parentId));
|
|
7542
|
+
}
|
|
7543
|
+
return this.fetch(`w/${wid}/folders/children?${params}`);
|
|
7544
|
+
}
|
|
7452
7545
|
/** Get a single folder by ID. */
|
|
7453
7546
|
async getFolder(wid, id) {
|
|
7454
7547
|
return this.fetch(`w/${wid}/folders/${id}`);
|
|
@@ -7894,6 +7987,19 @@ var AppConnectionsApi = class extends BaseApiClient {
|
|
|
7894
7987
|
body: JSON.stringify(data)
|
|
7895
7988
|
});
|
|
7896
7989
|
}
|
|
7990
|
+
/**
|
|
7991
|
+
* Create a public Zendesk Help Center connection with its sync paused.
|
|
7992
|
+
*
|
|
7993
|
+
* The acting Member becomes the sync owner. Later settings edits,
|
|
7994
|
+
* pause/resume, Sync now and run history use the generic connection-sync
|
|
7995
|
+
* methods (`updateConnectionSyncConfig`, `startSyncRun`, `getSyncRuns`).
|
|
7996
|
+
*/
|
|
7997
|
+
async configureZendeskConnection(wid, data) {
|
|
7998
|
+
return this.fetch(`w/${wid}/app-connections/zendesk/configure`, {
|
|
7999
|
+
method: "POST",
|
|
8000
|
+
body: JSON.stringify(data)
|
|
8001
|
+
});
|
|
8002
|
+
}
|
|
7897
8003
|
/**
|
|
7898
8004
|
* Get platform app connection details by UUID.
|
|
7899
8005
|
*/
|
|
@@ -10235,6 +10341,45 @@ var OrgApi = class extends BaseApiClient {
|
|
|
10235
10341
|
`o/${orgIdOrUuid}/webhooks/${endpointUuid}/deliveries?limit=${limit}`
|
|
10236
10342
|
);
|
|
10237
10343
|
}
|
|
10344
|
+
/**
|
|
10345
|
+
* Requeue one dead-lettered or expired delivery on its existing row.
|
|
10346
|
+
*
|
|
10347
|
+
* The response is identifiers only. The drain signs a fresh timestamp
|
|
10348
|
+
* when it sends; this call does not POST to the receiver.
|
|
10349
|
+
*/
|
|
10350
|
+
async replayOrgWebhookDelivery(orgIdOrUuid, endpointUuid, deliveryId) {
|
|
10351
|
+
return this.fetch(
|
|
10352
|
+
`o/${orgIdOrUuid}/webhooks/${endpointUuid}/deliveries/${deliveryId}/replay`,
|
|
10353
|
+
{
|
|
10354
|
+
method: "POST",
|
|
10355
|
+
body: JSON.stringify({})
|
|
10356
|
+
}
|
|
10357
|
+
);
|
|
10358
|
+
}
|
|
10359
|
+
/**
|
|
10360
|
+
* Expire every pending delivery of a paused or disabled endpoint, so a
|
|
10361
|
+
* resume does not re-send a held backlog the receiver keeps rejecting.
|
|
10362
|
+
* Refused with 409 while the endpoint is active. Dead-lettered rows
|
|
10363
|
+
* are untouched; expired rows stay replayable one at a time.
|
|
10364
|
+
*/
|
|
10365
|
+
async discardPendingOrgWebhookDeliveries(orgIdOrUuid, endpointUuid) {
|
|
10366
|
+
return this.fetch(
|
|
10367
|
+
`o/${orgIdOrUuid}/webhooks/${endpointUuid}/deliveries/discard-pending`,
|
|
10368
|
+
{
|
|
10369
|
+
method: "POST",
|
|
10370
|
+
body: JSON.stringify({})
|
|
10371
|
+
}
|
|
10372
|
+
);
|
|
10373
|
+
}
|
|
10374
|
+
/**
|
|
10375
|
+
* Which covered workspaces have the subscribed Forms opted in
|
|
10376
|
+
* (`webhookEventsEnabled`). Record events only.
|
|
10377
|
+
*/
|
|
10378
|
+
async getOrgWebhookEndpointCoverage(orgIdOrUuid, endpointUuid) {
|
|
10379
|
+
return this.fetch(
|
|
10380
|
+
`o/${orgIdOrUuid}/webhooks/${endpointUuid}/coverage`
|
|
10381
|
+
);
|
|
10382
|
+
}
|
|
10238
10383
|
/**
|
|
10239
10384
|
* A representative delivery body for one event type — what the test-send
|
|
10240
10385
|
* editor is prefilled with, and the same builder the public event catalog
|
|
@@ -10296,6 +10441,57 @@ var OrgApi = class extends BaseApiClient {
|
|
|
10296
10441
|
method: "DELETE"
|
|
10297
10442
|
});
|
|
10298
10443
|
}
|
|
10444
|
+
// =========================================================================
|
|
10445
|
+
// Workspace labels — the organization's own taxonomy of its workspaces
|
|
10446
|
+
// =========================================================================
|
|
10447
|
+
/** Every label of the organization, with workspace and webhook-selector counts. */
|
|
10448
|
+
async listWorkspaceLabels(orgIdOrUuid) {
|
|
10449
|
+
return this.fetch(`o/${orgIdOrUuid}/workspace-labels`);
|
|
10450
|
+
}
|
|
10451
|
+
async createWorkspaceLabel(orgIdOrUuid, data) {
|
|
10452
|
+
return this.fetch(`o/${orgIdOrUuid}/workspace-labels`, {
|
|
10453
|
+
method: "POST",
|
|
10454
|
+
body: JSON.stringify(data)
|
|
10455
|
+
});
|
|
10456
|
+
}
|
|
10457
|
+
/** Rename or recolor a label. The slug never changes. */
|
|
10458
|
+
async updateWorkspaceLabel(orgIdOrUuid, labelUuid, data) {
|
|
10459
|
+
return this.fetch(`o/${orgIdOrUuid}/workspace-labels/${labelUuid}`, {
|
|
10460
|
+
method: "PATCH",
|
|
10461
|
+
body: JSON.stringify(data)
|
|
10462
|
+
});
|
|
10463
|
+
}
|
|
10464
|
+
/** Delete a label. Refused (409) while a webhook label selector requires it. */
|
|
10465
|
+
async deleteWorkspaceLabel(orgIdOrUuid, labelUuid) {
|
|
10466
|
+
return this.fetch(`o/${orgIdOrUuid}/workspace-labels/${labelUuid}`, {
|
|
10467
|
+
method: "DELETE"
|
|
10468
|
+
});
|
|
10469
|
+
}
|
|
10470
|
+
/**
|
|
10471
|
+
* Which workspaces a webhook scope (explicit workspaces plus a label
|
|
10472
|
+
* selector) would cover right now. Both empty means the whole organization.
|
|
10473
|
+
*/
|
|
10474
|
+
async previewWorkspaceScope(orgIdOrUuid, data) {
|
|
10475
|
+
return this.fetch(
|
|
10476
|
+
`o/${orgIdOrUuid}/workspace-labels/preview-scope`,
|
|
10477
|
+
{ method: "POST", body: JSON.stringify(data) }
|
|
10478
|
+
);
|
|
10479
|
+
}
|
|
10480
|
+
async getWorkspaceLabels(orgIdOrUuid, workspaceUuid) {
|
|
10481
|
+
return this.fetch(
|
|
10482
|
+
`o/${orgIdOrUuid}/workspaces/${workspaceUuid}/labels`
|
|
10483
|
+
);
|
|
10484
|
+
}
|
|
10485
|
+
/**
|
|
10486
|
+
* Replace a workspace's labels with exactly `data.labels` (slugs). A slug the
|
|
10487
|
+
* organization has not used before creates that label.
|
|
10488
|
+
*/
|
|
10489
|
+
async setWorkspaceLabels(orgIdOrUuid, workspaceUuid, data) {
|
|
10490
|
+
return this.fetch(
|
|
10491
|
+
`o/${orgIdOrUuid}/workspaces/${workspaceUuid}/labels`,
|
|
10492
|
+
{ method: "PUT", body: JSON.stringify(data) }
|
|
10493
|
+
);
|
|
10494
|
+
}
|
|
10299
10495
|
};
|
|
10300
10496
|
function businessProfilePath(orgUuid, legalEntityUuid) {
|
|
10301
10497
|
return legalEntityUuid ? `o/${orgUuid}/legal-entities/${legalEntityUuid}/business-profile` : `o/${orgUuid}/business-profile`;
|
|
@@ -10355,6 +10551,39 @@ var OAuthApi = class extends BaseApiClient {
|
|
|
10355
10551
|
body: JSON.stringify(request)
|
|
10356
10552
|
});
|
|
10357
10553
|
}
|
|
10554
|
+
async denyAuthorization(request) {
|
|
10555
|
+
return this.fetch("oauth/authorize/deny", {
|
|
10556
|
+
method: "POST",
|
|
10557
|
+
body: JSON.stringify(request)
|
|
10558
|
+
});
|
|
10559
|
+
}
|
|
10560
|
+
async getOAuthConsentClient(clientId, redirectUri, resource) {
|
|
10561
|
+
const params = new URLSearchParams({ client_id: clientId, redirect_uri: redirectUri });
|
|
10562
|
+
if (resource) params.set("resource", resource);
|
|
10563
|
+
return this.fetch(`oauth/authorize/client?${params.toString()}`);
|
|
10564
|
+
}
|
|
10565
|
+
/** The organizations and workspaces the MCP consent screen may offer. */
|
|
10566
|
+
async getMcpConsentTargets(clientId) {
|
|
10567
|
+
const params = new URLSearchParams({ client_id: clientId });
|
|
10568
|
+
return this.fetch(`oauth/authorize/mcp-targets?${params.toString()}`);
|
|
10569
|
+
}
|
|
10570
|
+
/** The signed-in account's MCP grants. */
|
|
10571
|
+
async listMcpGrants() {
|
|
10572
|
+
return this.fetch("oauth/mcp-grants");
|
|
10573
|
+
}
|
|
10574
|
+
/** Remove organizations or workspaces from one MCP grant. */
|
|
10575
|
+
async narrowMcpGrant(grantId, removeTargetIds) {
|
|
10576
|
+
return this.fetch(`oauth/mcp-grants/${encodeURIComponent(grantId)}`, {
|
|
10577
|
+
method: "PATCH",
|
|
10578
|
+
body: JSON.stringify({ removeTargetIds })
|
|
10579
|
+
});
|
|
10580
|
+
}
|
|
10581
|
+
/** Revoke one MCP grant. */
|
|
10582
|
+
async revokeMcpGrant(grantId) {
|
|
10583
|
+
return this.fetch(`oauth/mcp-grants/${encodeURIComponent(grantId)}`, {
|
|
10584
|
+
method: "DELETE"
|
|
10585
|
+
});
|
|
10586
|
+
}
|
|
10358
10587
|
async exchangeOAuthToken(request) {
|
|
10359
10588
|
const formData = new URLSearchParams();
|
|
10360
10589
|
formData.append("grant_type", request.grant_type);
|
|
@@ -10814,6 +11043,21 @@ var MetricsApi = class extends BaseApiClient {
|
|
|
10814
11043
|
}
|
|
10815
11044
|
};
|
|
10816
11045
|
|
|
11046
|
+
// src/api/data-reports.ts
|
|
11047
|
+
var DataReportsApi = class extends BaseApiClient {
|
|
11048
|
+
/**
|
|
11049
|
+
* Run a Form Reports report, saved or not, with the given parameter values.
|
|
11050
|
+
* The result is what the Agent would get: record rows or aggregate groups
|
|
11051
|
+
* within the tool's row and group caps, plus the text sent to the Agent.
|
|
11052
|
+
*/
|
|
11053
|
+
async previewDataReport(wid, request) {
|
|
11054
|
+
return this.fetch(`w/${wid}/data-reports/preview`, {
|
|
11055
|
+
method: "POST",
|
|
11056
|
+
body: JSON.stringify(request)
|
|
11057
|
+
});
|
|
11058
|
+
}
|
|
11059
|
+
};
|
|
11060
|
+
|
|
10817
11061
|
// src/api/queries.ts
|
|
10818
11062
|
var QueriesApi = class extends BaseApiClient {
|
|
10819
11063
|
/** Queryable namespace: native fields, operators per type, DataType record fields. */
|
|
@@ -13046,6 +13290,20 @@ var WorkflowsApi = class extends BaseApiClient {
|
|
|
13046
13290
|
async getWorkflowOutline(wid, id) {
|
|
13047
13291
|
return this.fetch(`w/${wid}/workflows/${id}/outline`);
|
|
13048
13292
|
}
|
|
13293
|
+
/**
|
|
13294
|
+
* Outlines for many Workflows in one request. The same shape as
|
|
13295
|
+
* {@link getWorkflowOutline}, keyed by workflow id. Ids the caller cannot
|
|
13296
|
+
* use, and outlines that cannot be read, are absent.
|
|
13297
|
+
*
|
|
13298
|
+
* The route accepts at most 100 ids. Callers with a longer list chunk.
|
|
13299
|
+
*/
|
|
13300
|
+
async getWorkflowsOutlineBatch(wid, workflowIds) {
|
|
13301
|
+
const params = new URLSearchParams();
|
|
13302
|
+
params.set("workflowIds", workflowIds.join(","));
|
|
13303
|
+
return this.fetch(
|
|
13304
|
+
`w/${wid}/workflows/outline/batch?${params.toString()}`
|
|
13305
|
+
);
|
|
13306
|
+
}
|
|
13049
13307
|
/** Create a new workflow in a workspace. */
|
|
13050
13308
|
async createWorkflow(wid, workflow) {
|
|
13051
13309
|
return this.fetch(`w/${wid}/workflows`, {
|
|
@@ -13144,6 +13402,13 @@ var WorkflowsApi = class extends BaseApiClient {
|
|
|
13144
13402
|
`w/${wid}/workflows/${workflowId}/prompt-classifications`
|
|
13145
13403
|
);
|
|
13146
13404
|
}
|
|
13405
|
+
/** Review prompt diagnoses and report rebutted findings to Customer Success. */
|
|
13406
|
+
async reviewWorkflowPromptClassifications(wid, workflowId) {
|
|
13407
|
+
return this.fetch(
|
|
13408
|
+
`w/${wid}/workflows/${workflowId}/prompt-classifications`,
|
|
13409
|
+
{ method: "POST" }
|
|
13410
|
+
);
|
|
13411
|
+
}
|
|
13147
13412
|
/**
|
|
13148
13413
|
* Replay automatic routing for a Chat without performing the transition.
|
|
13149
13414
|
*
|
|
@@ -13527,6 +13792,17 @@ var WorkspacesApi = class extends BaseApiClient {
|
|
|
13527
13792
|
async getWorkspaces(options) {
|
|
13528
13793
|
return this.fetch(`w/?${workspaceDirectoryParams(options)}`);
|
|
13529
13794
|
}
|
|
13795
|
+
/**
|
|
13796
|
+
* Page 1 of each organization's workspace directory, in one request.
|
|
13797
|
+
* Later pages stay on ``getWorkspaces({ organizationUuid, page })``.
|
|
13798
|
+
*/
|
|
13799
|
+
async getOrganizationWorkspacePages(options) {
|
|
13800
|
+
const params = new URLSearchParams();
|
|
13801
|
+
if (options.pageSize !== void 0) params.set("pageSize", String(options.pageSize));
|
|
13802
|
+
if (options.search) params.set("search", options.search);
|
|
13803
|
+
for (const uuid of options.organizationUuids) params.append("organizationUuids", uuid);
|
|
13804
|
+
return this.fetch(`w/organization-pages?${params}`);
|
|
13805
|
+
}
|
|
13530
13806
|
/** A bounded page of companion-device candidates, with admission checked per row. */
|
|
13531
13807
|
async getDeviceAdmissibleWorkspaces(options) {
|
|
13532
13808
|
const params = workspaceDirectoryParams(options);
|
|
@@ -14185,6 +14461,7 @@ function createApiModules(apiKey, baseUrl, customFetch) {
|
|
|
14185
14461
|
qualifications: new QualificationsApi(apiKey, baseUrl, customFetch),
|
|
14186
14462
|
personas: new PersonasApi(apiKey, baseUrl, customFetch),
|
|
14187
14463
|
metrics: new MetricsApi(apiKey, baseUrl, customFetch),
|
|
14464
|
+
dataReports: new DataReportsApi(apiKey, baseUrl, customFetch),
|
|
14188
14465
|
queries: new QueriesApi(apiKey, baseUrl, customFetch),
|
|
14189
14466
|
reports: new ReportsApi(apiKey, baseUrl, customFetch),
|
|
14190
14467
|
resourceWorkflows: new ResourceWorkflowsApi(apiKey, baseUrl, customFetch),
|
|
@@ -14260,6 +14537,7 @@ var WORKSPACE_METHOD_NAMES = [
|
|
|
14260
14537
|
"configureHubspot",
|
|
14261
14538
|
"configureMondayConnection",
|
|
14262
14539
|
"configureSalesforce",
|
|
14540
|
+
"configureZendeskConnection",
|
|
14263
14541
|
"convertEmail",
|
|
14264
14542
|
"convertFile",
|
|
14265
14543
|
"createAbility",
|
|
@@ -14456,6 +14734,7 @@ var WORKSPACE_METHOD_NAMES = [
|
|
|
14456
14734
|
"fhirGetCsvImportSettings",
|
|
14457
14735
|
"fhirGetEncounterSyncRuns",
|
|
14458
14736
|
"fhirGetEncounterSyncStatus",
|
|
14737
|
+
"fhirGetOnboardingImportStatus",
|
|
14459
14738
|
"fhirImportPatient",
|
|
14460
14739
|
"fhirLinkMember",
|
|
14461
14740
|
"fhirListLinkedMembers",
|
|
@@ -14464,6 +14743,7 @@ var WORKSPACE_METHOD_NAMES = [
|
|
|
14464
14743
|
"fhirSearchLocations",
|
|
14465
14744
|
"fhirSearchPatients",
|
|
14466
14745
|
"fhirSearchPractitioners",
|
|
14746
|
+
"fhirStartOnboardingImport",
|
|
14467
14747
|
"fhirSyncMember",
|
|
14468
14748
|
"fhirUnlinkMember",
|
|
14469
14749
|
"fhirUpdateCsvImportSettings",
|
|
@@ -14620,6 +14900,7 @@ var WORKSPACE_METHOD_NAMES = [
|
|
|
14620
14900
|
"importSiteSourceZip",
|
|
14621
14901
|
"installDocumoFax",
|
|
14622
14902
|
"listChatRecordings",
|
|
14903
|
+
"previewDataReport",
|
|
14623
14904
|
"previewQuery",
|
|
14624
14905
|
"publishSiteSource",
|
|
14625
14906
|
"publishDataTypeDraft",
|
|
@@ -14643,6 +14924,7 @@ var WORKSPACE_METHOD_NAMES = [
|
|
|
14643
14924
|
"getFiles",
|
|
14644
14925
|
"getFirstRunState",
|
|
14645
14926
|
"getFolder",
|
|
14927
|
+
"getFolderChildren",
|
|
14646
14928
|
"getFolderMemberAccess",
|
|
14647
14929
|
"getFolderSharing",
|
|
14648
14930
|
"getFolders",
|
|
@@ -14817,6 +15099,7 @@ var WORKSPACE_METHOD_NAMES = [
|
|
|
14817
15099
|
"getWorkflowConfigValidation",
|
|
14818
15100
|
"getWorkflowFeedback",
|
|
14819
15101
|
"getWorkflowPromptClassifications",
|
|
15102
|
+
"reviewWorkflowPromptClassifications",
|
|
14820
15103
|
"getWorkflowContributors",
|
|
14821
15104
|
"getWorkflowDeletionPreview",
|
|
14822
15105
|
"getWorkflowDiagram",
|
|
@@ -14828,6 +15111,7 @@ var WORKSPACE_METHOD_NAMES = [
|
|
|
14828
15111
|
"getWorkflowTemplates",
|
|
14829
15112
|
"getWorkflows",
|
|
14830
15113
|
"getWorkflowsActivityBatch",
|
|
15114
|
+
"getWorkflowsOutlineBatch",
|
|
14831
15115
|
"getWorkspace",
|
|
14832
15116
|
"getWorkspaceActivityCounts",
|
|
14833
15117
|
"getWorkspaceBuilder",
|
|
@@ -15450,6 +15734,7 @@ function bindMembersMethods(target, members) {
|
|
|
15450
15734
|
// src/client/bindings/workspaces.ts
|
|
15451
15735
|
function bindWorkspacesMethods(target, workspaces, signupRequests) {
|
|
15452
15736
|
target.getWorkspaces = workspaces.getWorkspaces.bind(workspaces);
|
|
15737
|
+
target.getOrganizationWorkspacePages = workspaces.getOrganizationWorkspacePages.bind(workspaces);
|
|
15453
15738
|
target.getDeviceAdmissibleWorkspaces = workspaces.getDeviceAdmissibleWorkspaces.bind(workspaces);
|
|
15454
15739
|
target.getPublicWorkspaces = workspaces.getPublicWorkspaces.bind(workspaces);
|
|
15455
15740
|
target.getWorkspace = workspaces.getWorkspace.bind(workspaces);
|
|
@@ -15651,6 +15936,7 @@ function bindFilesMethods(target, files) {
|
|
|
15651
15936
|
target.convertFile = files.convertFile.bind(files);
|
|
15652
15937
|
target.generateFileUploadUrl = files.generateFileUploadUrl.bind(files);
|
|
15653
15938
|
target.getFolders = files.getFolders.bind(files);
|
|
15939
|
+
target.getFolderChildren = files.getFolderChildren.bind(files);
|
|
15654
15940
|
target.getFolder = files.getFolder.bind(files);
|
|
15655
15941
|
target.createFolder = files.createFolder.bind(files);
|
|
15656
15942
|
target.updateFolder = files.updateFolder.bind(files);
|
|
@@ -15739,6 +16025,7 @@ function bindWorkflowsMethods(target, workflows, workflowNotes, voice, superviso
|
|
|
15739
16025
|
target.getWorkflowsActivityBatch = workflows.getWorkflowsActivityBatch.bind(workflows);
|
|
15740
16026
|
target.getWorkflowDiagram = workflows.getWorkflowDiagram.bind(workflows);
|
|
15741
16027
|
target.getWorkflowOutline = workflows.getWorkflowOutline.bind(workflows);
|
|
16028
|
+
target.getWorkflowsOutlineBatch = workflows.getWorkflowsOutlineBatch.bind(workflows);
|
|
15742
16029
|
target.createWorkflow = workflows.createWorkflow.bind(workflows);
|
|
15743
16030
|
target.updateWorkflow = workflows.updateWorkflow.bind(workflows);
|
|
15744
16031
|
target.getWorkflowDeletionPreview = workflows.getWorkflowDeletionPreview.bind(workflows);
|
|
@@ -15752,6 +16039,7 @@ function bindWorkflowsMethods(target, workflows, workflowNotes, voice, superviso
|
|
|
15752
16039
|
target.getTaskChats = workflows.getTaskChats.bind(workflows);
|
|
15753
16040
|
target.getWorkflowConfigValidation = workflows.getWorkflowConfigValidation.bind(workflows);
|
|
15754
16041
|
target.getWorkflowPromptClassifications = workflows.getWorkflowPromptClassifications.bind(workflows);
|
|
16042
|
+
target.reviewWorkflowPromptClassifications = workflows.reviewWorkflowPromptClassifications.bind(workflows);
|
|
15755
16043
|
target.getWorkflowNotes = workflowNotes.getWorkflowNotes.bind(workflowNotes);
|
|
15756
16044
|
target.createWorkflowNote = workflowNotes.createWorkflowNote.bind(workflowNotes);
|
|
15757
16045
|
target.updateWorkflowNote = workflowNotes.updateWorkflowNote.bind(workflowNotes);
|
|
@@ -15958,6 +16246,12 @@ function bindAppsMethods(target, apps, builders, inquiries, oauth, oauthConnecti
|
|
|
15958
16246
|
target.deleteInquiry = inquiries.deleteInquiry.bind(inquiries);
|
|
15959
16247
|
target.exportInquiriesCsv = inquiries.exportInquiriesCsv.bind(inquiries);
|
|
15960
16248
|
target.authorize = oauth.authorize.bind(oauth);
|
|
16249
|
+
target.denyAuthorization = oauth.denyAuthorization.bind(oauth);
|
|
16250
|
+
target.getOAuthConsentClient = oauth.getOAuthConsentClient.bind(oauth);
|
|
16251
|
+
target.getMcpConsentTargets = oauth.getMcpConsentTargets.bind(oauth);
|
|
16252
|
+
target.listMcpGrants = oauth.listMcpGrants.bind(oauth);
|
|
16253
|
+
target.narrowMcpGrant = oauth.narrowMcpGrant.bind(oauth);
|
|
16254
|
+
target.revokeMcpGrant = oauth.revokeMcpGrant.bind(oauth);
|
|
15961
16255
|
target.exchangeOAuthToken = oauth.exchangeOAuthToken.bind(oauth);
|
|
15962
16256
|
target.getAvailableScopes = oauth.getAvailableScopes.bind(oauth);
|
|
15963
16257
|
target.getOAuthConnectionStatus = oauthConnections.getConnectionStatus.bind(oauthConnections);
|
|
@@ -16057,6 +16351,8 @@ function bindIntegrationsMethods(target, mondayIntegration, discordBots, slackAp
|
|
|
16057
16351
|
target.fhirGetEncounterSyncRuns = fhirConnections.fhirGetEncounterSyncRuns.bind(fhirConnections);
|
|
16058
16352
|
target.fhirRefreshEncounterPatient = fhirConnections.fhirRefreshEncounterPatient.bind(fhirConnections);
|
|
16059
16353
|
target.fhirBackfillEncounterSync = fhirConnections.fhirBackfillEncounterSync.bind(fhirConnections);
|
|
16354
|
+
target.fhirStartOnboardingImport = fhirConnections.fhirStartOnboardingImport.bind(fhirConnections);
|
|
16355
|
+
target.fhirGetOnboardingImportStatus = fhirConnections.fhirGetOnboardingImportStatus.bind(fhirConnections);
|
|
16060
16356
|
target.configurePatientSync = patientSyncConnections.configurePatientSync.bind(patientSyncConnections);
|
|
16061
16357
|
target.getPatientSyncStatus = patientSyncConnections.getPatientSyncStatus.bind(patientSyncConnections);
|
|
16062
16358
|
target.deletePatientSyncConnection = patientSyncConnections.deletePatientSyncConnection.bind(patientSyncConnections);
|
|
@@ -16143,6 +16439,7 @@ function bindIntegrationsMethods(target, mondayIntegration, discordBots, slackAp
|
|
|
16143
16439
|
target.listAvailableAppConnections = appConnections.listAvailableAppConnections.bind(appConnections);
|
|
16144
16440
|
target.listAppConnections = appConnections.listAppConnections.bind(appConnections);
|
|
16145
16441
|
target.enablePlatformApp = appConnections.enablePlatformApp.bind(appConnections);
|
|
16442
|
+
target.configureZendeskConnection = appConnections.configureZendeskConnection.bind(appConnections);
|
|
16146
16443
|
target.getPlatformApp = appConnections.getPlatformApp.bind(appConnections);
|
|
16147
16444
|
target.updatePlatformApp = appConnections.updatePlatformApp.bind(appConnections);
|
|
16148
16445
|
target.deletePlatformApp = appConnections.deletePlatformApp.bind(appConnections);
|
|
@@ -16195,6 +16492,7 @@ function bindOrgMethods(target, org) {
|
|
|
16195
16492
|
target.getVoiceTrustProducts = org.getVoiceTrustProducts.bind(org);
|
|
16196
16493
|
target.syncVoiceTrustProducts = org.syncVoiceTrustProducts.bind(org);
|
|
16197
16494
|
target.createOrganizationWorkspace = org.createOrganizationWorkspace.bind(org);
|
|
16495
|
+
target.getOrganizationWorkspaces = org.getOrganizationWorkspaces.bind(org);
|
|
16198
16496
|
target.getOrganizationWorkspace = org.getOrganizationWorkspace.bind(org);
|
|
16199
16497
|
target.updateOrganizationWorkspace = org.updateOrganizationWorkspace.bind(org);
|
|
16200
16498
|
target.getOrgBillingCustomer = org.getOrgBillingCustomer.bind(org);
|
|
@@ -16204,7 +16502,20 @@ function bindOrgMethods(target, org) {
|
|
|
16204
16502
|
target.updateOrganizationMember = org.updateOrganizationMember.bind(org);
|
|
16205
16503
|
target.listOrgWebhookEndpoints = org.listOrgWebhookEndpoints.bind(org);
|
|
16206
16504
|
target.getOrgWebhookEndpoint = org.getOrgWebhookEndpoint.bind(org);
|
|
16505
|
+
target.createOrgWebhookEndpoint = org.createOrgWebhookEndpoint.bind(org);
|
|
16207
16506
|
target.updateOrgWebhookEndpoint = org.updateOrgWebhookEndpoint.bind(org);
|
|
16507
|
+
target.listOrgWebhookEndpointDeliveries = org.listOrgWebhookEndpointDeliveries.bind(org);
|
|
16508
|
+
target.replayOrgWebhookDelivery = org.replayOrgWebhookDelivery.bind(org);
|
|
16509
|
+
target.discardPendingOrgWebhookDeliveries = org.discardPendingOrgWebhookDeliveries.bind(org);
|
|
16510
|
+
target.getOrgWebhookEndpointCoverage = org.getOrgWebhookEndpointCoverage.bind(org);
|
|
16511
|
+
target.testOrgWebhookEndpoint = org.testOrgWebhookEndpoint.bind(org);
|
|
16512
|
+
target.listWorkspaceLabels = org.listWorkspaceLabels.bind(org);
|
|
16513
|
+
target.createWorkspaceLabel = org.createWorkspaceLabel.bind(org);
|
|
16514
|
+
target.updateWorkspaceLabel = org.updateWorkspaceLabel.bind(org);
|
|
16515
|
+
target.deleteWorkspaceLabel = org.deleteWorkspaceLabel.bind(org);
|
|
16516
|
+
target.getWorkspaceLabels = org.getWorkspaceLabels.bind(org);
|
|
16517
|
+
target.setWorkspaceLabels = org.setWorkspaceLabels.bind(org);
|
|
16518
|
+
target.previewWorkspaceScope = org.previewWorkspaceScope.bind(org);
|
|
16208
16519
|
}
|
|
16209
16520
|
|
|
16210
16521
|
// src/client/bindings/pronunciations.ts
|
|
@@ -16360,6 +16671,11 @@ function bindMetricsMethods(target, metrics) {
|
|
|
16360
16671
|
target.computeChatMetrics = metrics.computeChatMetrics.bind(metrics);
|
|
16361
16672
|
}
|
|
16362
16673
|
|
|
16674
|
+
// src/client/bindings/data-reports.ts
|
|
16675
|
+
function bindDataReportsMethods(target, dataReports) {
|
|
16676
|
+
target.previewDataReport = dataReports.previewDataReport.bind(dataReports);
|
|
16677
|
+
}
|
|
16678
|
+
|
|
16363
16679
|
// src/client/bindings/queries.ts
|
|
16364
16680
|
function bindQueriesMethods(target, queries) {
|
|
16365
16681
|
target.getQueryFields = queries.getQueryFields.bind(queries);
|
|
@@ -16675,6 +16991,8 @@ var GravityRailClient = class {
|
|
|
16675
16991
|
validateQuery;
|
|
16676
16992
|
previewQuery;
|
|
16677
16993
|
runQuery;
|
|
16994
|
+
// Form Reports
|
|
16995
|
+
previewDataReport;
|
|
16678
16996
|
listPersonas;
|
|
16679
16997
|
getPersona;
|
|
16680
16998
|
createPersona;
|
|
@@ -16859,6 +17177,7 @@ var GravityRailClient = class {
|
|
|
16859
17177
|
inspectPrompt;
|
|
16860
17178
|
// Workspaces API
|
|
16861
17179
|
getWorkspaces;
|
|
17180
|
+
getOrganizationWorkspacePages;
|
|
16862
17181
|
getDeviceAdmissibleWorkspaces;
|
|
16863
17182
|
getPublicWorkspaces;
|
|
16864
17183
|
getWorkspace;
|
|
@@ -16945,6 +17264,7 @@ var GravityRailClient = class {
|
|
|
16945
17264
|
getVoiceTrustProducts;
|
|
16946
17265
|
syncVoiceTrustProducts;
|
|
16947
17266
|
createOrganizationWorkspace;
|
|
17267
|
+
getOrganizationWorkspaces;
|
|
16948
17268
|
getOrganizationWorkspace;
|
|
16949
17269
|
updateOrganizationWorkspace;
|
|
16950
17270
|
getOrgBillingCustomer;
|
|
@@ -16954,7 +17274,20 @@ var GravityRailClient = class {
|
|
|
16954
17274
|
updateOrganizationMember;
|
|
16955
17275
|
listOrgWebhookEndpoints;
|
|
16956
17276
|
getOrgWebhookEndpoint;
|
|
17277
|
+
createOrgWebhookEndpoint;
|
|
16957
17278
|
updateOrgWebhookEndpoint;
|
|
17279
|
+
listOrgWebhookEndpointDeliveries;
|
|
17280
|
+
replayOrgWebhookDelivery;
|
|
17281
|
+
discardPendingOrgWebhookDeliveries;
|
|
17282
|
+
getOrgWebhookEndpointCoverage;
|
|
17283
|
+
testOrgWebhookEndpoint;
|
|
17284
|
+
listWorkspaceLabels;
|
|
17285
|
+
createWorkspaceLabel;
|
|
17286
|
+
updateWorkspaceLabel;
|
|
17287
|
+
deleteWorkspaceLabel;
|
|
17288
|
+
getWorkspaceLabels;
|
|
17289
|
+
setWorkspaceLabels;
|
|
17290
|
+
previewWorkspaceScope;
|
|
16958
17291
|
getVapidPublicKey;
|
|
16959
17292
|
registerPushSubscription;
|
|
16960
17293
|
unregisterPushSubscription;
|
|
@@ -17095,6 +17428,7 @@ var GravityRailClient = class {
|
|
|
17095
17428
|
convertFile;
|
|
17096
17429
|
generateFileUploadUrl;
|
|
17097
17430
|
getFolders;
|
|
17431
|
+
getFolderChildren;
|
|
17098
17432
|
getFolder;
|
|
17099
17433
|
createFolder;
|
|
17100
17434
|
updateFolder;
|
|
@@ -17152,6 +17486,7 @@ var GravityRailClient = class {
|
|
|
17152
17486
|
getWorkflowsActivityBatch;
|
|
17153
17487
|
getWorkflowDiagram;
|
|
17154
17488
|
getWorkflowOutline;
|
|
17489
|
+
getWorkflowsOutlineBatch;
|
|
17155
17490
|
createWorkflow;
|
|
17156
17491
|
updateWorkflow;
|
|
17157
17492
|
getWorkflowDeletionPreview;
|
|
@@ -17165,6 +17500,7 @@ var GravityRailClient = class {
|
|
|
17165
17500
|
getTaskChats;
|
|
17166
17501
|
getWorkflowConfigValidation;
|
|
17167
17502
|
getWorkflowPromptClassifications;
|
|
17503
|
+
reviewWorkflowPromptClassifications;
|
|
17168
17504
|
getWorkflowNotes;
|
|
17169
17505
|
createWorkflowNote;
|
|
17170
17506
|
updateWorkflowNote;
|
|
@@ -17363,6 +17699,12 @@ var GravityRailClient = class {
|
|
|
17363
17699
|
deleteInquiry;
|
|
17364
17700
|
exportInquiriesCsv;
|
|
17365
17701
|
authorize;
|
|
17702
|
+
denyAuthorization;
|
|
17703
|
+
getOAuthConsentClient;
|
|
17704
|
+
getMcpConsentTargets;
|
|
17705
|
+
listMcpGrants;
|
|
17706
|
+
narrowMcpGrant;
|
|
17707
|
+
revokeMcpGrant;
|
|
17366
17708
|
exchangeOAuthToken;
|
|
17367
17709
|
getAvailableScopes;
|
|
17368
17710
|
getOAuthConnectionStatus;
|
|
@@ -17464,6 +17806,8 @@ var GravityRailClient = class {
|
|
|
17464
17806
|
fhirGetEncounterSyncRuns;
|
|
17465
17807
|
fhirRefreshEncounterPatient;
|
|
17466
17808
|
fhirBackfillEncounterSync;
|
|
17809
|
+
fhirStartOnboardingImport;
|
|
17810
|
+
fhirGetOnboardingImportStatus;
|
|
17467
17811
|
// Healthie API
|
|
17468
17812
|
getDocumoFaxStatus;
|
|
17469
17813
|
getDocumoFaxSetup;
|
|
@@ -17556,6 +17900,7 @@ var GravityRailClient = class {
|
|
|
17556
17900
|
listAvailableAppConnections;
|
|
17557
17901
|
listAppConnections;
|
|
17558
17902
|
enablePlatformApp;
|
|
17903
|
+
configureZendeskConnection;
|
|
17559
17904
|
getPlatformApp;
|
|
17560
17905
|
updatePlatformApp;
|
|
17561
17906
|
deletePlatformApp;
|
|
@@ -17636,6 +17981,7 @@ var GravityRailClient = class {
|
|
|
17636
17981
|
bindPersonasMethods(this, apis.personas);
|
|
17637
17982
|
bindMetricsMethods(this, apis.metrics);
|
|
17638
17983
|
bindQueriesMethods(this, apis.queries);
|
|
17984
|
+
bindDataReportsMethods(this, apis.dataReports);
|
|
17639
17985
|
bindDashboardsMethods(this, apis.dashboards);
|
|
17640
17986
|
bindActivityMethods(this, apis.activity);
|
|
17641
17987
|
bindMotdMethods(this, apis.motd);
|
|
@@ -18093,6 +18439,8 @@ function pathDraftToStorage(draft, original) {
|
|
|
18093
18439
|
REALTIME_MODEL_OPENAI_2,
|
|
18094
18440
|
REALTIME_MODEL_OPENAI_MINI,
|
|
18095
18441
|
RecordChangeKind,
|
|
18442
|
+
RecordContactPermissionRequestChannelNote,
|
|
18443
|
+
RecordMetricAggregationEnum,
|
|
18096
18444
|
RefResolutionStatus,
|
|
18097
18445
|
Region,
|
|
18098
18446
|
RegistrationIdentifier,
|
|
@@ -18114,6 +18462,7 @@ function pathDraftToStorage(draft, original) {
|
|
|
18114
18462
|
STT_MODEL_DEEPGRAM_FLUX_MULTI,
|
|
18115
18463
|
STT_MODEL_DEEPGRAM_FLUX_MULTI_SELFHOST,
|
|
18116
18464
|
STT_MODEL_DEEPGRAM_FLUX_SELFHOST,
|
|
18465
|
+
STT_MODEL_ELEVENLABS_SCRIBE_V2_REALTIME,
|
|
18117
18466
|
SalesforceApi,
|
|
18118
18467
|
ScenarioHealthCaption,
|
|
18119
18468
|
ScenarioHealthHeadline,
|
|
@@ -18137,6 +18486,10 @@ function pathDraftToStorage(draft, original) {
|
|
|
18137
18486
|
TTS_MODEL_AWS_POLLY_GENERATIVE,
|
|
18138
18487
|
TTS_MODEL_AWS_POLLY_NEURAL,
|
|
18139
18488
|
TTS_MODEL_DEEPGRAM_AURA_2,
|
|
18489
|
+
TTS_MODEL_ELEVENLABS_FLASH,
|
|
18490
|
+
TTS_MODEL_ELEVENLABS_MULTILINGUAL,
|
|
18491
|
+
TTS_MODEL_ELEVENLABS_TURBO,
|
|
18492
|
+
TTS_MODEL_ELEVENLABS_V4_TURBO,
|
|
18140
18493
|
TTS_MODEL_XAI_V1,
|
|
18141
18494
|
TTS_PREVIEW_PROVIDERS,
|
|
18142
18495
|
TaskTransitionInitiator,
|
|
@@ -18178,6 +18531,7 @@ function pathDraftToStorage(draft, original) {
|
|
|
18178
18531
|
bindCommunicationsMethods,
|
|
18179
18532
|
bindCustomersMethods,
|
|
18180
18533
|
bindDashboardsMethods,
|
|
18534
|
+
bindDataReportsMethods,
|
|
18181
18535
|
bindDataTypesMethods,
|
|
18182
18536
|
bindDevicesMethods,
|
|
18183
18537
|
bindEventsMethods,
|