@gravity-rail/sdk 0.53.1 → 0.55.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{chat-interaction-BDWwGHdp.d.cts → chat-interaction-C620llgG.d.cts} +1554 -285
- package/dist/{chat-interaction-pkhyXbVv.d.ts → chat-interaction-DDz9ZtQ8.d.ts} +1554 -285
- package/dist/{chunk-JRK77RT4.js → chunk-7R22EG5F.js} +379 -9
- package/dist/chunk-7R22EG5F.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 +385 -8
- 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 +17 -2
- package/dist/index.js.map +1 -1
- package/dist/internal.cjs +404 -11
- package/dist/internal.cjs.map +1 -1
- package/dist/internal.d.cts +7 -6
- package/dist/internal.d.ts +7 -6
- package/dist/internal.js +35 -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-UGcX8CEF.d.ts → path-BIk9UPr0.d.cts} +95 -53
- package/dist/{path-J_F_cq4m.d.cts → path-kbfnY2gB.d.ts} +95 -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 +3 -3
- package/dist/chunk-JRK77RT4.js.map +0 -1
- package/dist/chunk-MMDSZ25F.js.map +0 -1
package/dist/internal.cjs
CHANGED
|
@@ -40,6 +40,7 @@ __export(internal_exports, {
|
|
|
40
40
|
AddonMutationResponseScope: () => AddonMutationResponseScope,
|
|
41
41
|
AgentTasksApi: () => AgentTasksApi,
|
|
42
42
|
AgentsApi: () => AgentsApi,
|
|
43
|
+
AiConnectorPolicy: () => AiConnectorPolicy,
|
|
43
44
|
ApiError: () => ApiError,
|
|
44
45
|
ApiKeysApi: () => ApiKeysApi,
|
|
45
46
|
AppConnectionsApi: () => AppConnectionsApi,
|
|
@@ -212,6 +213,8 @@ __export(internal_exports, {
|
|
|
212
213
|
REALTIME_MODEL_OPENAI_2: () => REALTIME_MODEL_OPENAI_2,
|
|
213
214
|
REALTIME_MODEL_OPENAI_MINI: () => REALTIME_MODEL_OPENAI_MINI,
|
|
214
215
|
RecordChangeKind: () => RecordChangeKind,
|
|
216
|
+
RecordContactPermissionRequestChannelNote: () => RecordContactPermissionRequestChannelNote,
|
|
217
|
+
RecordMetricAggregationEnum: () => RecordMetricDefinitionAggregation,
|
|
215
218
|
RefResolutionStatus: () => RefResolutionStatus,
|
|
216
219
|
Region: () => Region,
|
|
217
220
|
RegistrationIdentifier: () => RegistrationIdentifier,
|
|
@@ -233,6 +236,7 @@ __export(internal_exports, {
|
|
|
233
236
|
STT_MODEL_DEEPGRAM_FLUX_MULTI: () => STT_MODEL_DEEPGRAM_FLUX_MULTI,
|
|
234
237
|
STT_MODEL_DEEPGRAM_FLUX_MULTI_SELFHOST: () => STT_MODEL_DEEPGRAM_FLUX_MULTI_SELFHOST,
|
|
235
238
|
STT_MODEL_DEEPGRAM_FLUX_SELFHOST: () => STT_MODEL_DEEPGRAM_FLUX_SELFHOST,
|
|
239
|
+
STT_MODEL_ELEVENLABS_SCRIBE_V2_REALTIME: () => STT_MODEL_ELEVENLABS_SCRIBE_V2_REALTIME,
|
|
236
240
|
SalesforceApi: () => SalesforceApi,
|
|
237
241
|
ScenarioHealthCaption: () => ScenarioHealthCaption,
|
|
238
242
|
ScenarioHealthHeadline: () => ScenarioHealthHeadline,
|
|
@@ -256,6 +260,10 @@ __export(internal_exports, {
|
|
|
256
260
|
TTS_MODEL_AWS_POLLY_GENERATIVE: () => TTS_MODEL_AWS_POLLY_GENERATIVE,
|
|
257
261
|
TTS_MODEL_AWS_POLLY_NEURAL: () => TTS_MODEL_AWS_POLLY_NEURAL,
|
|
258
262
|
TTS_MODEL_DEEPGRAM_AURA_2: () => TTS_MODEL_DEEPGRAM_AURA_2,
|
|
263
|
+
TTS_MODEL_ELEVENLABS_FLASH: () => TTS_MODEL_ELEVENLABS_FLASH,
|
|
264
|
+
TTS_MODEL_ELEVENLABS_MULTILINGUAL: () => TTS_MODEL_ELEVENLABS_MULTILINGUAL,
|
|
265
|
+
TTS_MODEL_ELEVENLABS_TURBO: () => TTS_MODEL_ELEVENLABS_TURBO,
|
|
266
|
+
TTS_MODEL_ELEVENLABS_V4_TURBO: () => TTS_MODEL_ELEVENLABS_V4_TURBO,
|
|
259
267
|
TTS_MODEL_XAI_V1: () => TTS_MODEL_XAI_V1,
|
|
260
268
|
TTS_PREVIEW_PROVIDERS: () => TTS_PREVIEW_PROVIDERS,
|
|
261
269
|
TaskTransitionInitiator: () => TaskTransitionInitiator,
|
|
@@ -297,6 +305,7 @@ __export(internal_exports, {
|
|
|
297
305
|
bindCommunicationsMethods: () => bindCommunicationsMethods,
|
|
298
306
|
bindCustomersMethods: () => bindCustomersMethods,
|
|
299
307
|
bindDashboardsMethods: () => bindDashboardsMethods,
|
|
308
|
+
bindDataReportsMethods: () => bindDataReportsMethods,
|
|
300
309
|
bindDataTypesMethods: () => bindDataTypesMethods,
|
|
301
310
|
bindDevicesMethods: () => bindDevicesMethods,
|
|
302
311
|
bindEventsMethods: () => bindEventsMethods,
|
|
@@ -780,6 +789,7 @@ var WorkspaceFeature = /* @__PURE__ */ ((WorkspaceFeature2) => {
|
|
|
780
789
|
WorkspaceFeature2["CRM_SALESFORCE"] = "crm_salesforce";
|
|
781
790
|
WorkspaceFeature2["CRM_HUBSPOT"] = "crm_hubspot";
|
|
782
791
|
WorkspaceFeature2["CONFLUENCE"] = "confluence";
|
|
792
|
+
WorkspaceFeature2["ZENDESK"] = "zendesk";
|
|
783
793
|
WorkspaceFeature2["AGENT_MEMORY"] = "agent_memory";
|
|
784
794
|
WorkspaceFeature2["IMAGE_GENERATION"] = "image_generation";
|
|
785
795
|
WorkspaceFeature2["CHARLESTON_NEPHROLOGY_PMD_PAGING"] = "charleston_nephrology_pmd_paging";
|
|
@@ -945,6 +955,7 @@ var ModelProvider = {
|
|
|
945
955
|
google: "google",
|
|
946
956
|
anthropic: "anthropic",
|
|
947
957
|
aws: "aws",
|
|
958
|
+
elevenlabs: "elevenlabs",
|
|
948
959
|
deepgram: "deepgram",
|
|
949
960
|
xai: "xai",
|
|
950
961
|
fireworks: "fireworks",
|
|
@@ -971,7 +982,12 @@ var STT_MODEL_DEEPGRAM_FLUX = "deepgram:stt:flux-general-en";
|
|
|
971
982
|
var STT_MODEL_DEEPGRAM_FLUX_SELFHOST = "deepgram:stt:flux-general-en:selfhost";
|
|
972
983
|
var STT_MODEL_DEEPGRAM_FLUX_MULTI = "deepgram:stt:flux-general-multi";
|
|
973
984
|
var STT_MODEL_DEEPGRAM_FLUX_MULTI_SELFHOST = "deepgram:stt:flux-general-multi:selfhost";
|
|
985
|
+
var STT_MODEL_ELEVENLABS_SCRIBE_V2_REALTIME = "elevenlabs:stt:scribe_v2_realtime";
|
|
974
986
|
var TTS_MODEL_XAI_V1 = "xai:tts:v1";
|
|
987
|
+
var TTS_MODEL_ELEVENLABS_FLASH = "elevenlabs:tts:eleven_flash_v2_5";
|
|
988
|
+
var TTS_MODEL_ELEVENLABS_TURBO = "elevenlabs:tts:eleven_turbo_v2_5";
|
|
989
|
+
var TTS_MODEL_ELEVENLABS_MULTILINGUAL = "elevenlabs:tts:eleven_multilingual_v2";
|
|
990
|
+
var TTS_MODEL_ELEVENLABS_V4_TURBO = "elevenlabs:tts:eleven_v4_turbo";
|
|
975
991
|
var TTS_MODEL_DEEPGRAM_AURA_2 = "deepgram:tts:aura-2";
|
|
976
992
|
var TTS_MODEL_AWS_POLLY_GENERATIVE = "aws:tts:polly-generative";
|
|
977
993
|
var TTS_MODEL_AWS_POLLY_NEURAL = "aws:tts:polly-neural";
|
|
@@ -1497,12 +1513,14 @@ var AbilityTypeSlugs = {
|
|
|
1497
1513
|
CALENDAR_BOOKING: "integration:calendar_booking",
|
|
1498
1514
|
FILE_ACCESS: "integration:file_access",
|
|
1499
1515
|
DATA_ACCESS: "integration:data_access",
|
|
1516
|
+
DATA_REPORTS: "integration:data_reports",
|
|
1500
1517
|
GMAIL: "integration:gmail",
|
|
1501
1518
|
GOOGLE_CALENDAR: "integration:google_calendar",
|
|
1502
1519
|
GOOGLE_DRIVE: "integration:google_drive",
|
|
1503
1520
|
GOOGLE_SHEETS: "integration:google_sheets",
|
|
1504
1521
|
CHARLESTON_PMD_PAGING: "integration:charleston_pmd_paging",
|
|
1505
1522
|
COSAN_PATHWAYS_SCHEDULING: "integration:cosan_pathways_scheduling",
|
|
1523
|
+
ATHENA_SCHEDULING: "integration:athena_scheduling",
|
|
1506
1524
|
// Communication
|
|
1507
1525
|
PHONE_CALL_TOOLS: "communication:phone_call_tools",
|
|
1508
1526
|
SEND_SMS: "communication:send_sms",
|
|
@@ -1556,6 +1574,20 @@ var SessionKind = {
|
|
|
1556
1574
|
site: "site"
|
|
1557
1575
|
};
|
|
1558
1576
|
|
|
1577
|
+
// src/types/generated/contact_permission.ts
|
|
1578
|
+
var RecordContactPermissionRequestChannelNote = {
|
|
1579
|
+
phone_call: "phone_call",
|
|
1580
|
+
voicemail: "voicemail",
|
|
1581
|
+
email: "email",
|
|
1582
|
+
mail: "mail",
|
|
1583
|
+
postcard: "postcard",
|
|
1584
|
+
fax: "fax",
|
|
1585
|
+
in_person: "in_person",
|
|
1586
|
+
patient_portal: "patient_portal",
|
|
1587
|
+
web_form: "web_form",
|
|
1588
|
+
other: "other"
|
|
1589
|
+
};
|
|
1590
|
+
|
|
1559
1591
|
// src/types/query-engine-types.ts
|
|
1560
1592
|
var QUERY_VALUELESS_OPS = /* @__PURE__ */ new Set([
|
|
1561
1593
|
"isEmpty",
|
|
@@ -1641,7 +1673,8 @@ var CustomerActivityClassifierDetectorName = {
|
|
|
1641
1673
|
manager_chat_classifier: "manager_chat_classifier",
|
|
1642
1674
|
concierge_chat_classifier: "concierge_chat_classifier",
|
|
1643
1675
|
chat_review: "chat_review",
|
|
1644
|
-
a2p_agent_inferred_stop: "a2p_agent_inferred_stop"
|
|
1676
|
+
a2p_agent_inferred_stop: "a2p_agent_inferred_stop",
|
|
1677
|
+
voice_spoken_opt_out: "voice_spoken_opt_out"
|
|
1645
1678
|
};
|
|
1646
1679
|
var CustomerActivityClassifierLabel = {
|
|
1647
1680
|
user_distress: "user_distress",
|
|
@@ -1843,7 +1876,14 @@ function getTTSProvider(ttsModel) {
|
|
|
1843
1876
|
if (!ttsModel || ttsModel === "native") return ttsModel ?? null;
|
|
1844
1877
|
return ttsModel.split(":")[0] ?? null;
|
|
1845
1878
|
}
|
|
1846
|
-
var TTS_PREVIEW_PROVIDERS = [
|
|
1879
|
+
var TTS_PREVIEW_PROVIDERS = [
|
|
1880
|
+
"openai",
|
|
1881
|
+
"elevenlabs",
|
|
1882
|
+
"google",
|
|
1883
|
+
"aws",
|
|
1884
|
+
"deepgram",
|
|
1885
|
+
"xai"
|
|
1886
|
+
];
|
|
1847
1887
|
function getVoiceModelId(entity) {
|
|
1848
1888
|
const config = entity.realtimeModelConfig;
|
|
1849
1889
|
return config?.voiceModel ?? null;
|
|
@@ -2003,6 +2043,16 @@ function isPositiveRating(rating) {
|
|
|
2003
2043
|
return rating != null && rating >= POSITIVE_RATING_THRESHOLD;
|
|
2004
2044
|
}
|
|
2005
2045
|
|
|
2046
|
+
// src/types/generated/metric_record_definition.ts
|
|
2047
|
+
var RecordMetricDefinitionAggregation = {
|
|
2048
|
+
count: "count",
|
|
2049
|
+
countDistinct: "countDistinct",
|
|
2050
|
+
sum: "sum",
|
|
2051
|
+
avg: "avg",
|
|
2052
|
+
min: "min",
|
|
2053
|
+
max: "max"
|
|
2054
|
+
};
|
|
2055
|
+
|
|
2006
2056
|
// src/types/generated/metric.ts
|
|
2007
2057
|
var MetricChatType = {
|
|
2008
2058
|
assignment: "assignment",
|
|
@@ -2019,12 +2069,14 @@ var MetricKind = {
|
|
|
2019
2069
|
};
|
|
2020
2070
|
var MetricSource = {
|
|
2021
2071
|
chat: "chat",
|
|
2022
|
-
member_filter: "member_filter"
|
|
2072
|
+
member_filter: "member_filter",
|
|
2073
|
+
data_record: "data_record"
|
|
2023
2074
|
};
|
|
2024
2075
|
var MetricType = {
|
|
2025
2076
|
expression: "expression",
|
|
2026
2077
|
rubric: "rubric",
|
|
2027
|
-
filter_count: "filter_count"
|
|
2078
|
+
filter_count: "filter_count",
|
|
2079
|
+
record_aggregate: "record_aggregate"
|
|
2028
2080
|
};
|
|
2029
2081
|
var MetricUnit = {
|
|
2030
2082
|
rate: "rate",
|
|
@@ -2033,6 +2085,12 @@ var MetricUnit = {
|
|
|
2033
2085
|
custom: "custom"
|
|
2034
2086
|
};
|
|
2035
2087
|
|
|
2088
|
+
// src/types/generated/ai_connector_policy.ts
|
|
2089
|
+
var AiConnectorPolicy = {
|
|
2090
|
+
any: "any",
|
|
2091
|
+
allowlist: "allowlist"
|
|
2092
|
+
};
|
|
2093
|
+
|
|
2036
2094
|
// src/types/generated/site.ts
|
|
2037
2095
|
var MenuItemResponseItemType = {
|
|
2038
2096
|
page: "page",
|
|
@@ -7108,6 +7166,36 @@ var FhirConnectionsApi = class extends BaseApiClient {
|
|
|
7108
7166
|
{ method: "POST", body: JSON.stringify(data) }
|
|
7109
7167
|
);
|
|
7110
7168
|
}
|
|
7169
|
+
/**
|
|
7170
|
+
* Start, resume, override or preview (dry run) an athenahealth connection's
|
|
7171
|
+
* onboarding import. The body is exactly the three mode flags; the server
|
|
7172
|
+
* traverses the connection's configured department/status pairs. Returns
|
|
7173
|
+
* 202 with the Temporal workflow and run ids. Requires `workspace:admin`.
|
|
7174
|
+
*/
|
|
7175
|
+
async fhirStartOnboardingImport(wid, connectionId, data = {}) {
|
|
7176
|
+
const body = {
|
|
7177
|
+
dryRun: data.dryRun ?? false,
|
|
7178
|
+
resume: data.resume ?? false,
|
|
7179
|
+
override: data.override ?? false
|
|
7180
|
+
};
|
|
7181
|
+
return this.fetch(
|
|
7182
|
+
`w/${wid}/app-connections/fhir/connections/${connectionId}/onboarding-import`,
|
|
7183
|
+
{
|
|
7184
|
+
method: "POST",
|
|
7185
|
+
body: JSON.stringify(body)
|
|
7186
|
+
}
|
|
7187
|
+
);
|
|
7188
|
+
}
|
|
7189
|
+
/**
|
|
7190
|
+
* Read an athenahealth connection's onboarding-import progress (durable,
|
|
7191
|
+
* approximate totals) and its known Temporal execution. GET-only: never
|
|
7192
|
+
* starts or resumes work. Requires `workspace:admin`.
|
|
7193
|
+
*/
|
|
7194
|
+
async fhirGetOnboardingImportStatus(wid, connectionId) {
|
|
7195
|
+
return this.fetch(
|
|
7196
|
+
`w/${wid}/app-connections/fhir/connections/${connectionId}/onboarding-import`
|
|
7197
|
+
);
|
|
7198
|
+
}
|
|
7111
7199
|
};
|
|
7112
7200
|
|
|
7113
7201
|
// src/api/patientsync-connections.ts
|
|
@@ -7330,8 +7418,8 @@ var FilesApi = class extends BaseApiClient {
|
|
|
7330
7418
|
* Download one file's bytes via GET ``.../files/{id}/contents/{filename}``.
|
|
7331
7419
|
*
|
|
7332
7420
|
* Uses this client's base URL (FastAPI on the app, same-origin ``/api/v2``
|
|
7333
|
-
* on scoped site sessions)
|
|
7334
|
-
*
|
|
7421
|
+
* on scoped site sessions). The Next.js ``/api/w/.../files/...`` route
|
|
7422
|
+
* redirects to this same contents path; calling it directly skips the hop.
|
|
7335
7423
|
*/
|
|
7336
7424
|
async downloadFileContents(wid, id, filename) {
|
|
7337
7425
|
const response = await this.fetchRaw(
|
|
@@ -7415,9 +7503,9 @@ var FilesApi = class extends BaseApiClient {
|
|
|
7415
7503
|
);
|
|
7416
7504
|
}
|
|
7417
7505
|
/**
|
|
7418
|
-
* Same-origin
|
|
7419
|
-
*
|
|
7420
|
-
*
|
|
7506
|
+
* Same-origin URL for a version's raw contents. The Next.js route
|
|
7507
|
+
* requires a session and redirects to the versioned FastAPI contents
|
|
7508
|
+
* endpoint. Mirrors the shape of `FileResponse.cdnUrl`.
|
|
7421
7509
|
*/
|
|
7422
7510
|
getFileVersionContentsUrl(wid, fileId, versionNumber) {
|
|
7423
7511
|
return `/api/w/${wid}/files/${fileId}/versions/${versionNumber}/contents`;
|
|
@@ -7449,6 +7537,19 @@ var FilesApi = class extends BaseApiClient {
|
|
|
7449
7537
|
const parentId = typeof parentIdOrOpts === "number" ? parentIdOrOpts : parentIdOrOpts.parentId;
|
|
7450
7538
|
return this.fetch(`w/${wid}/folders?parent_id=${parentId}`);
|
|
7451
7539
|
}
|
|
7540
|
+
/**
|
|
7541
|
+
* Readable children of many parents in one request.
|
|
7542
|
+
*
|
|
7543
|
+
* Every id comes back as a key. A parent with no readable children maps to
|
|
7544
|
+
* an empty list. The server accepts at most 100 ids per call.
|
|
7545
|
+
*/
|
|
7546
|
+
async getFolderChildren(wid, parentIds) {
|
|
7547
|
+
const params = new URLSearchParams();
|
|
7548
|
+
for (const parentId of parentIds) {
|
|
7549
|
+
params.append("parent_ids", String(parentId));
|
|
7550
|
+
}
|
|
7551
|
+
return this.fetch(`w/${wid}/folders/children?${params}`);
|
|
7552
|
+
}
|
|
7452
7553
|
/** Get a single folder by ID. */
|
|
7453
7554
|
async getFolder(wid, id) {
|
|
7454
7555
|
return this.fetch(`w/${wid}/folders/${id}`);
|
|
@@ -7894,6 +7995,19 @@ var AppConnectionsApi = class extends BaseApiClient {
|
|
|
7894
7995
|
body: JSON.stringify(data)
|
|
7895
7996
|
});
|
|
7896
7997
|
}
|
|
7998
|
+
/**
|
|
7999
|
+
* Create a public Zendesk Help Center connection with its sync paused.
|
|
8000
|
+
*
|
|
8001
|
+
* The acting Member becomes the sync owner. Later settings edits,
|
|
8002
|
+
* pause/resume, Sync now and run history use the generic connection-sync
|
|
8003
|
+
* methods (`updateConnectionSyncConfig`, `startSyncRun`, `getSyncRuns`).
|
|
8004
|
+
*/
|
|
8005
|
+
async configureZendeskConnection(wid, data) {
|
|
8006
|
+
return this.fetch(`w/${wid}/app-connections/zendesk/configure`, {
|
|
8007
|
+
method: "POST",
|
|
8008
|
+
body: JSON.stringify(data)
|
|
8009
|
+
});
|
|
8010
|
+
}
|
|
7897
8011
|
/**
|
|
7898
8012
|
* Get platform app connection details by UUID.
|
|
7899
8013
|
*/
|
|
@@ -9403,6 +9517,33 @@ var OrgApi = class extends BaseApiClient {
|
|
|
9403
9517
|
method: "DELETE"
|
|
9404
9518
|
});
|
|
9405
9519
|
}
|
|
9520
|
+
/**
|
|
9521
|
+
* Read the organization's AI connector policy and the connectors (MCP
|
|
9522
|
+
* clients such as claude.ai or ChatGPT) that have requested access to it.
|
|
9523
|
+
* Requires `org:admin`.
|
|
9524
|
+
*/
|
|
9525
|
+
async getOrgAiConnectorPolicy(orgIdOrUuid) {
|
|
9526
|
+
return this.fetch(`o/${orgIdOrUuid}/ai-connectors`);
|
|
9527
|
+
}
|
|
9528
|
+
/** Set the AI connector mode: `any` or `allowlist`. Requires `org:admin`. */
|
|
9529
|
+
async updateOrgAiConnectorPolicy(orgIdOrUuid, data) {
|
|
9530
|
+
return this.fetch(`o/${orgIdOrUuid}/ai-connectors`, {
|
|
9531
|
+
method: "PUT",
|
|
9532
|
+
body: JSON.stringify(data)
|
|
9533
|
+
});
|
|
9534
|
+
}
|
|
9535
|
+
/** Allow a connector that has requested access. Requires `org:admin`. */
|
|
9536
|
+
async allowOrgAiConnector(orgIdOrUuid, appId) {
|
|
9537
|
+
return this.fetch(`o/${orgIdOrUuid}/ai-connectors/clients/${appId}`, {
|
|
9538
|
+
method: "PUT"
|
|
9539
|
+
});
|
|
9540
|
+
}
|
|
9541
|
+
/** Remove a connector from the allowlist. Requires `org:admin`. */
|
|
9542
|
+
async removeOrgAiConnector(orgIdOrUuid, appId) {
|
|
9543
|
+
return this.fetch(`o/${orgIdOrUuid}/ai-connectors/clients/${appId}`, {
|
|
9544
|
+
method: "DELETE"
|
|
9545
|
+
});
|
|
9546
|
+
}
|
|
9406
9547
|
/**
|
|
9407
9548
|
* Get the billing customer and this organization's billable subscription.
|
|
9408
9549
|
*
|
|
@@ -10230,9 +10371,57 @@ var OrgApi = class extends BaseApiClient {
|
|
|
10230
10371
|
method: "DELETE"
|
|
10231
10372
|
});
|
|
10232
10373
|
}
|
|
10233
|
-
async listOrgWebhookEndpointDeliveries(orgIdOrUuid, endpointUuid, limit = 50) {
|
|
10374
|
+
async listOrgWebhookEndpointDeliveries(orgIdOrUuid, endpointUuid, limit = 50, offset = 0) {
|
|
10375
|
+
return this.fetch(
|
|
10376
|
+
`o/${orgIdOrUuid}/webhooks/${endpointUuid}/deliveries?limit=${limit}&offset=${offset}`
|
|
10377
|
+
);
|
|
10378
|
+
}
|
|
10379
|
+
async getOrgWebhookDeliveryDetail(orgIdOrUuid, endpointUuid, deliveryId) {
|
|
10380
|
+
return this.fetch(`o/${orgIdOrUuid}/webhooks/${endpointUuid}/deliveries/${deliveryId}`);
|
|
10381
|
+
}
|
|
10382
|
+
async clearOrgWebhookDeliveries(orgIdOrUuid, endpointUuid, failedOnly) {
|
|
10383
|
+
return this.fetch(`o/${orgIdOrUuid}/webhooks/${endpointUuid}/deliveries/clear`, {
|
|
10384
|
+
method: "POST",
|
|
10385
|
+
body: JSON.stringify({ failedOnly })
|
|
10386
|
+
});
|
|
10387
|
+
}
|
|
10388
|
+
/**
|
|
10389
|
+
* Requeue one failed or expired delivery on its existing row.
|
|
10390
|
+
*
|
|
10391
|
+
* The response is identifiers only. The drain signs a fresh timestamp
|
|
10392
|
+
* when it sends; this call does not POST to the receiver.
|
|
10393
|
+
*/
|
|
10394
|
+
async replayOrgWebhookDelivery(orgIdOrUuid, endpointUuid, deliveryId) {
|
|
10395
|
+
return this.fetch(
|
|
10396
|
+
`o/${orgIdOrUuid}/webhooks/${endpointUuid}/deliveries/${deliveryId}/replay`,
|
|
10397
|
+
{
|
|
10398
|
+
method: "POST",
|
|
10399
|
+
body: JSON.stringify({})
|
|
10400
|
+
}
|
|
10401
|
+
);
|
|
10402
|
+
}
|
|
10403
|
+
/**
|
|
10404
|
+
* Expire every pending delivery of a paused or disabled endpoint, so a
|
|
10405
|
+
* resume does not re-send a held backlog the receiver keeps rejecting.
|
|
10406
|
+
* Refused with 409 while the endpoint is active. Dead-lettered rows
|
|
10407
|
+
* are untouched; expired rows stay replayable one at a time.
|
|
10408
|
+
*/
|
|
10409
|
+
async discardPendingOrgWebhookDeliveries(orgIdOrUuid, endpointUuid) {
|
|
10410
|
+
return this.fetch(
|
|
10411
|
+
`o/${orgIdOrUuid}/webhooks/${endpointUuid}/deliveries/discard-pending`,
|
|
10412
|
+
{
|
|
10413
|
+
method: "POST",
|
|
10414
|
+
body: JSON.stringify({})
|
|
10415
|
+
}
|
|
10416
|
+
);
|
|
10417
|
+
}
|
|
10418
|
+
/**
|
|
10419
|
+
* Which covered workspaces have the subscribed Forms opted in
|
|
10420
|
+
* (`webhookEventsEnabled`). Record events only.
|
|
10421
|
+
*/
|
|
10422
|
+
async getOrgWebhookEndpointCoverage(orgIdOrUuid, endpointUuid) {
|
|
10234
10423
|
return this.fetch(
|
|
10235
|
-
`o/${orgIdOrUuid}/webhooks/${endpointUuid}/
|
|
10424
|
+
`o/${orgIdOrUuid}/webhooks/${endpointUuid}/coverage`
|
|
10236
10425
|
);
|
|
10237
10426
|
}
|
|
10238
10427
|
/**
|
|
@@ -10296,6 +10485,57 @@ var OrgApi = class extends BaseApiClient {
|
|
|
10296
10485
|
method: "DELETE"
|
|
10297
10486
|
});
|
|
10298
10487
|
}
|
|
10488
|
+
// =========================================================================
|
|
10489
|
+
// Workspace labels — the organization's own taxonomy of its workspaces
|
|
10490
|
+
// =========================================================================
|
|
10491
|
+
/** Every label of the organization, with workspace and webhook-selector counts. */
|
|
10492
|
+
async listWorkspaceLabels(orgIdOrUuid) {
|
|
10493
|
+
return this.fetch(`o/${orgIdOrUuid}/workspace-labels`);
|
|
10494
|
+
}
|
|
10495
|
+
async createWorkspaceLabel(orgIdOrUuid, data) {
|
|
10496
|
+
return this.fetch(`o/${orgIdOrUuid}/workspace-labels`, {
|
|
10497
|
+
method: "POST",
|
|
10498
|
+
body: JSON.stringify(data)
|
|
10499
|
+
});
|
|
10500
|
+
}
|
|
10501
|
+
/** Rename or recolor a label. The slug never changes. */
|
|
10502
|
+
async updateWorkspaceLabel(orgIdOrUuid, labelUuid, data) {
|
|
10503
|
+
return this.fetch(`o/${orgIdOrUuid}/workspace-labels/${labelUuid}`, {
|
|
10504
|
+
method: "PATCH",
|
|
10505
|
+
body: JSON.stringify(data)
|
|
10506
|
+
});
|
|
10507
|
+
}
|
|
10508
|
+
/** Delete a label. Refused (409) while a webhook label selector requires it. */
|
|
10509
|
+
async deleteWorkspaceLabel(orgIdOrUuid, labelUuid) {
|
|
10510
|
+
return this.fetch(`o/${orgIdOrUuid}/workspace-labels/${labelUuid}`, {
|
|
10511
|
+
method: "DELETE"
|
|
10512
|
+
});
|
|
10513
|
+
}
|
|
10514
|
+
/**
|
|
10515
|
+
* Which workspaces a webhook scope (explicit workspaces plus a label
|
|
10516
|
+
* selector) would cover right now. Both empty means the whole organization.
|
|
10517
|
+
*/
|
|
10518
|
+
async previewWorkspaceScope(orgIdOrUuid, data) {
|
|
10519
|
+
return this.fetch(
|
|
10520
|
+
`o/${orgIdOrUuid}/workspace-labels/preview-scope`,
|
|
10521
|
+
{ method: "POST", body: JSON.stringify(data) }
|
|
10522
|
+
);
|
|
10523
|
+
}
|
|
10524
|
+
async getWorkspaceLabels(orgIdOrUuid, workspaceUuid) {
|
|
10525
|
+
return this.fetch(
|
|
10526
|
+
`o/${orgIdOrUuid}/workspaces/${workspaceUuid}/labels`
|
|
10527
|
+
);
|
|
10528
|
+
}
|
|
10529
|
+
/**
|
|
10530
|
+
* Replace a workspace's labels with exactly `data.labels` (slugs). A slug the
|
|
10531
|
+
* organization has not used before creates that label.
|
|
10532
|
+
*/
|
|
10533
|
+
async setWorkspaceLabels(orgIdOrUuid, workspaceUuid, data) {
|
|
10534
|
+
return this.fetch(
|
|
10535
|
+
`o/${orgIdOrUuid}/workspaces/${workspaceUuid}/labels`,
|
|
10536
|
+
{ method: "PUT", body: JSON.stringify(data) }
|
|
10537
|
+
);
|
|
10538
|
+
}
|
|
10299
10539
|
};
|
|
10300
10540
|
function businessProfilePath(orgUuid, legalEntityUuid) {
|
|
10301
10541
|
return legalEntityUuid ? `o/${orgUuid}/legal-entities/${legalEntityUuid}/business-profile` : `o/${orgUuid}/business-profile`;
|
|
@@ -10355,6 +10595,39 @@ var OAuthApi = class extends BaseApiClient {
|
|
|
10355
10595
|
body: JSON.stringify(request)
|
|
10356
10596
|
});
|
|
10357
10597
|
}
|
|
10598
|
+
async denyAuthorization(request) {
|
|
10599
|
+
return this.fetch("oauth/authorize/deny", {
|
|
10600
|
+
method: "POST",
|
|
10601
|
+
body: JSON.stringify(request)
|
|
10602
|
+
});
|
|
10603
|
+
}
|
|
10604
|
+
async getOAuthConsentClient(clientId, redirectUri, resource) {
|
|
10605
|
+
const params = new URLSearchParams({ client_id: clientId, redirect_uri: redirectUri });
|
|
10606
|
+
if (resource) params.set("resource", resource);
|
|
10607
|
+
return this.fetch(`oauth/authorize/client?${params.toString()}`);
|
|
10608
|
+
}
|
|
10609
|
+
/** The organizations and workspaces the MCP consent screen may offer. */
|
|
10610
|
+
async getMcpConsentTargets(clientId) {
|
|
10611
|
+
const params = new URLSearchParams({ client_id: clientId });
|
|
10612
|
+
return this.fetch(`oauth/authorize/mcp-targets?${params.toString()}`);
|
|
10613
|
+
}
|
|
10614
|
+
/** The signed-in account's MCP grants. */
|
|
10615
|
+
async listMcpGrants() {
|
|
10616
|
+
return this.fetch("oauth/mcp-grants");
|
|
10617
|
+
}
|
|
10618
|
+
/** Remove organizations or workspaces from one MCP grant. */
|
|
10619
|
+
async narrowMcpGrant(grantId, removeTargetIds) {
|
|
10620
|
+
return this.fetch(`oauth/mcp-grants/${encodeURIComponent(grantId)}`, {
|
|
10621
|
+
method: "PATCH",
|
|
10622
|
+
body: JSON.stringify({ removeTargetIds })
|
|
10623
|
+
});
|
|
10624
|
+
}
|
|
10625
|
+
/** Revoke one MCP grant. */
|
|
10626
|
+
async revokeMcpGrant(grantId) {
|
|
10627
|
+
return this.fetch(`oauth/mcp-grants/${encodeURIComponent(grantId)}`, {
|
|
10628
|
+
method: "DELETE"
|
|
10629
|
+
});
|
|
10630
|
+
}
|
|
10358
10631
|
async exchangeOAuthToken(request) {
|
|
10359
10632
|
const formData = new URLSearchParams();
|
|
10360
10633
|
formData.append("grant_type", request.grant_type);
|
|
@@ -10814,6 +11087,21 @@ var MetricsApi = class extends BaseApiClient {
|
|
|
10814
11087
|
}
|
|
10815
11088
|
};
|
|
10816
11089
|
|
|
11090
|
+
// src/api/data-reports.ts
|
|
11091
|
+
var DataReportsApi = class extends BaseApiClient {
|
|
11092
|
+
/**
|
|
11093
|
+
* Run a Form Reports report, saved or not, with the given parameter values.
|
|
11094
|
+
* The result is what the Agent would get: record rows or aggregate groups
|
|
11095
|
+
* within the tool's row and group caps, plus the text sent to the Agent.
|
|
11096
|
+
*/
|
|
11097
|
+
async previewDataReport(wid, request) {
|
|
11098
|
+
return this.fetch(`w/${wid}/data-reports/preview`, {
|
|
11099
|
+
method: "POST",
|
|
11100
|
+
body: JSON.stringify(request)
|
|
11101
|
+
});
|
|
11102
|
+
}
|
|
11103
|
+
};
|
|
11104
|
+
|
|
10817
11105
|
// src/api/queries.ts
|
|
10818
11106
|
var QueriesApi = class extends BaseApiClient {
|
|
10819
11107
|
/** Queryable namespace: native fields, operators per type, DataType record fields. */
|
|
@@ -13046,6 +13334,20 @@ var WorkflowsApi = class extends BaseApiClient {
|
|
|
13046
13334
|
async getWorkflowOutline(wid, id) {
|
|
13047
13335
|
return this.fetch(`w/${wid}/workflows/${id}/outline`);
|
|
13048
13336
|
}
|
|
13337
|
+
/**
|
|
13338
|
+
* Outlines for many Workflows in one request. The same shape as
|
|
13339
|
+
* {@link getWorkflowOutline}, keyed by workflow id. Ids the caller cannot
|
|
13340
|
+
* use, and outlines that cannot be read, are absent.
|
|
13341
|
+
*
|
|
13342
|
+
* The route accepts at most 100 ids. Callers with a longer list chunk.
|
|
13343
|
+
*/
|
|
13344
|
+
async getWorkflowsOutlineBatch(wid, workflowIds) {
|
|
13345
|
+
const params = new URLSearchParams();
|
|
13346
|
+
params.set("workflowIds", workflowIds.join(","));
|
|
13347
|
+
return this.fetch(
|
|
13348
|
+
`w/${wid}/workflows/outline/batch?${params.toString()}`
|
|
13349
|
+
);
|
|
13350
|
+
}
|
|
13049
13351
|
/** Create a new workflow in a workspace. */
|
|
13050
13352
|
async createWorkflow(wid, workflow) {
|
|
13051
13353
|
return this.fetch(`w/${wid}/workflows`, {
|
|
@@ -13534,6 +13836,17 @@ var WorkspacesApi = class extends BaseApiClient {
|
|
|
13534
13836
|
async getWorkspaces(options) {
|
|
13535
13837
|
return this.fetch(`w/?${workspaceDirectoryParams(options)}`);
|
|
13536
13838
|
}
|
|
13839
|
+
/**
|
|
13840
|
+
* Page 1 of each organization's workspace directory, in one request.
|
|
13841
|
+
* Later pages stay on ``getWorkspaces({ organizationUuid, page })``.
|
|
13842
|
+
*/
|
|
13843
|
+
async getOrganizationWorkspacePages(options) {
|
|
13844
|
+
const params = new URLSearchParams();
|
|
13845
|
+
if (options.pageSize !== void 0) params.set("pageSize", String(options.pageSize));
|
|
13846
|
+
if (options.search) params.set("search", options.search);
|
|
13847
|
+
for (const uuid of options.organizationUuids) params.append("organizationUuids", uuid);
|
|
13848
|
+
return this.fetch(`w/organization-pages?${params}`);
|
|
13849
|
+
}
|
|
13537
13850
|
/** A bounded page of companion-device candidates, with admission checked per row. */
|
|
13538
13851
|
async getDeviceAdmissibleWorkspaces(options) {
|
|
13539
13852
|
const params = workspaceDirectoryParams(options);
|
|
@@ -14192,6 +14505,7 @@ function createApiModules(apiKey, baseUrl, customFetch) {
|
|
|
14192
14505
|
qualifications: new QualificationsApi(apiKey, baseUrl, customFetch),
|
|
14193
14506
|
personas: new PersonasApi(apiKey, baseUrl, customFetch),
|
|
14194
14507
|
metrics: new MetricsApi(apiKey, baseUrl, customFetch),
|
|
14508
|
+
dataReports: new DataReportsApi(apiKey, baseUrl, customFetch),
|
|
14195
14509
|
queries: new QueriesApi(apiKey, baseUrl, customFetch),
|
|
14196
14510
|
reports: new ReportsApi(apiKey, baseUrl, customFetch),
|
|
14197
14511
|
resourceWorkflows: new ResourceWorkflowsApi(apiKey, baseUrl, customFetch),
|
|
@@ -14267,6 +14581,7 @@ var WORKSPACE_METHOD_NAMES = [
|
|
|
14267
14581
|
"configureHubspot",
|
|
14268
14582
|
"configureMondayConnection",
|
|
14269
14583
|
"configureSalesforce",
|
|
14584
|
+
"configureZendeskConnection",
|
|
14270
14585
|
"convertEmail",
|
|
14271
14586
|
"convertFile",
|
|
14272
14587
|
"createAbility",
|
|
@@ -14463,6 +14778,7 @@ var WORKSPACE_METHOD_NAMES = [
|
|
|
14463
14778
|
"fhirGetCsvImportSettings",
|
|
14464
14779
|
"fhirGetEncounterSyncRuns",
|
|
14465
14780
|
"fhirGetEncounterSyncStatus",
|
|
14781
|
+
"fhirGetOnboardingImportStatus",
|
|
14466
14782
|
"fhirImportPatient",
|
|
14467
14783
|
"fhirLinkMember",
|
|
14468
14784
|
"fhirListLinkedMembers",
|
|
@@ -14471,6 +14787,7 @@ var WORKSPACE_METHOD_NAMES = [
|
|
|
14471
14787
|
"fhirSearchLocations",
|
|
14472
14788
|
"fhirSearchPatients",
|
|
14473
14789
|
"fhirSearchPractitioners",
|
|
14790
|
+
"fhirStartOnboardingImport",
|
|
14474
14791
|
"fhirSyncMember",
|
|
14475
14792
|
"fhirUnlinkMember",
|
|
14476
14793
|
"fhirUpdateCsvImportSettings",
|
|
@@ -14627,6 +14944,7 @@ var WORKSPACE_METHOD_NAMES = [
|
|
|
14627
14944
|
"importSiteSourceZip",
|
|
14628
14945
|
"installDocumoFax",
|
|
14629
14946
|
"listChatRecordings",
|
|
14947
|
+
"previewDataReport",
|
|
14630
14948
|
"previewQuery",
|
|
14631
14949
|
"publishSiteSource",
|
|
14632
14950
|
"publishDataTypeDraft",
|
|
@@ -14650,6 +14968,7 @@ var WORKSPACE_METHOD_NAMES = [
|
|
|
14650
14968
|
"getFiles",
|
|
14651
14969
|
"getFirstRunState",
|
|
14652
14970
|
"getFolder",
|
|
14971
|
+
"getFolderChildren",
|
|
14653
14972
|
"getFolderMemberAccess",
|
|
14654
14973
|
"getFolderSharing",
|
|
14655
14974
|
"getFolders",
|
|
@@ -14836,6 +15155,7 @@ var WORKSPACE_METHOD_NAMES = [
|
|
|
14836
15155
|
"getWorkflowTemplates",
|
|
14837
15156
|
"getWorkflows",
|
|
14838
15157
|
"getWorkflowsActivityBatch",
|
|
15158
|
+
"getWorkflowsOutlineBatch",
|
|
14839
15159
|
"getWorkspace",
|
|
14840
15160
|
"getWorkspaceActivityCounts",
|
|
14841
15161
|
"getWorkspaceBuilder",
|
|
@@ -15458,6 +15778,7 @@ function bindMembersMethods(target, members) {
|
|
|
15458
15778
|
// src/client/bindings/workspaces.ts
|
|
15459
15779
|
function bindWorkspacesMethods(target, workspaces, signupRequests) {
|
|
15460
15780
|
target.getWorkspaces = workspaces.getWorkspaces.bind(workspaces);
|
|
15781
|
+
target.getOrganizationWorkspacePages = workspaces.getOrganizationWorkspacePages.bind(workspaces);
|
|
15461
15782
|
target.getDeviceAdmissibleWorkspaces = workspaces.getDeviceAdmissibleWorkspaces.bind(workspaces);
|
|
15462
15783
|
target.getPublicWorkspaces = workspaces.getPublicWorkspaces.bind(workspaces);
|
|
15463
15784
|
target.getWorkspace = workspaces.getWorkspace.bind(workspaces);
|
|
@@ -15659,6 +15980,7 @@ function bindFilesMethods(target, files) {
|
|
|
15659
15980
|
target.convertFile = files.convertFile.bind(files);
|
|
15660
15981
|
target.generateFileUploadUrl = files.generateFileUploadUrl.bind(files);
|
|
15661
15982
|
target.getFolders = files.getFolders.bind(files);
|
|
15983
|
+
target.getFolderChildren = files.getFolderChildren.bind(files);
|
|
15662
15984
|
target.getFolder = files.getFolder.bind(files);
|
|
15663
15985
|
target.createFolder = files.createFolder.bind(files);
|
|
15664
15986
|
target.updateFolder = files.updateFolder.bind(files);
|
|
@@ -15747,6 +16069,7 @@ function bindWorkflowsMethods(target, workflows, workflowNotes, voice, superviso
|
|
|
15747
16069
|
target.getWorkflowsActivityBatch = workflows.getWorkflowsActivityBatch.bind(workflows);
|
|
15748
16070
|
target.getWorkflowDiagram = workflows.getWorkflowDiagram.bind(workflows);
|
|
15749
16071
|
target.getWorkflowOutline = workflows.getWorkflowOutline.bind(workflows);
|
|
16072
|
+
target.getWorkflowsOutlineBatch = workflows.getWorkflowsOutlineBatch.bind(workflows);
|
|
15750
16073
|
target.createWorkflow = workflows.createWorkflow.bind(workflows);
|
|
15751
16074
|
target.updateWorkflow = workflows.updateWorkflow.bind(workflows);
|
|
15752
16075
|
target.getWorkflowDeletionPreview = workflows.getWorkflowDeletionPreview.bind(workflows);
|
|
@@ -15967,6 +16290,12 @@ function bindAppsMethods(target, apps, builders, inquiries, oauth, oauthConnecti
|
|
|
15967
16290
|
target.deleteInquiry = inquiries.deleteInquiry.bind(inquiries);
|
|
15968
16291
|
target.exportInquiriesCsv = inquiries.exportInquiriesCsv.bind(inquiries);
|
|
15969
16292
|
target.authorize = oauth.authorize.bind(oauth);
|
|
16293
|
+
target.denyAuthorization = oauth.denyAuthorization.bind(oauth);
|
|
16294
|
+
target.getOAuthConsentClient = oauth.getOAuthConsentClient.bind(oauth);
|
|
16295
|
+
target.getMcpConsentTargets = oauth.getMcpConsentTargets.bind(oauth);
|
|
16296
|
+
target.listMcpGrants = oauth.listMcpGrants.bind(oauth);
|
|
16297
|
+
target.narrowMcpGrant = oauth.narrowMcpGrant.bind(oauth);
|
|
16298
|
+
target.revokeMcpGrant = oauth.revokeMcpGrant.bind(oauth);
|
|
15970
16299
|
target.exchangeOAuthToken = oauth.exchangeOAuthToken.bind(oauth);
|
|
15971
16300
|
target.getAvailableScopes = oauth.getAvailableScopes.bind(oauth);
|
|
15972
16301
|
target.getOAuthConnectionStatus = oauthConnections.getConnectionStatus.bind(oauthConnections);
|
|
@@ -16066,6 +16395,8 @@ function bindIntegrationsMethods(target, mondayIntegration, discordBots, slackAp
|
|
|
16066
16395
|
target.fhirGetEncounterSyncRuns = fhirConnections.fhirGetEncounterSyncRuns.bind(fhirConnections);
|
|
16067
16396
|
target.fhirRefreshEncounterPatient = fhirConnections.fhirRefreshEncounterPatient.bind(fhirConnections);
|
|
16068
16397
|
target.fhirBackfillEncounterSync = fhirConnections.fhirBackfillEncounterSync.bind(fhirConnections);
|
|
16398
|
+
target.fhirStartOnboardingImport = fhirConnections.fhirStartOnboardingImport.bind(fhirConnections);
|
|
16399
|
+
target.fhirGetOnboardingImportStatus = fhirConnections.fhirGetOnboardingImportStatus.bind(fhirConnections);
|
|
16069
16400
|
target.configurePatientSync = patientSyncConnections.configurePatientSync.bind(patientSyncConnections);
|
|
16070
16401
|
target.getPatientSyncStatus = patientSyncConnections.getPatientSyncStatus.bind(patientSyncConnections);
|
|
16071
16402
|
target.deletePatientSyncConnection = patientSyncConnections.deletePatientSyncConnection.bind(patientSyncConnections);
|
|
@@ -16152,6 +16483,7 @@ function bindIntegrationsMethods(target, mondayIntegration, discordBots, slackAp
|
|
|
16152
16483
|
target.listAvailableAppConnections = appConnections.listAvailableAppConnections.bind(appConnections);
|
|
16153
16484
|
target.listAppConnections = appConnections.listAppConnections.bind(appConnections);
|
|
16154
16485
|
target.enablePlatformApp = appConnections.enablePlatformApp.bind(appConnections);
|
|
16486
|
+
target.configureZendeskConnection = appConnections.configureZendeskConnection.bind(appConnections);
|
|
16155
16487
|
target.getPlatformApp = appConnections.getPlatformApp.bind(appConnections);
|
|
16156
16488
|
target.updatePlatformApp = appConnections.updatePlatformApp.bind(appConnections);
|
|
16157
16489
|
target.deletePlatformApp = appConnections.deletePlatformApp.bind(appConnections);
|
|
@@ -16204,6 +16536,7 @@ function bindOrgMethods(target, org) {
|
|
|
16204
16536
|
target.getVoiceTrustProducts = org.getVoiceTrustProducts.bind(org);
|
|
16205
16537
|
target.syncVoiceTrustProducts = org.syncVoiceTrustProducts.bind(org);
|
|
16206
16538
|
target.createOrganizationWorkspace = org.createOrganizationWorkspace.bind(org);
|
|
16539
|
+
target.getOrganizationWorkspaces = org.getOrganizationWorkspaces.bind(org);
|
|
16207
16540
|
target.getOrganizationWorkspace = org.getOrganizationWorkspace.bind(org);
|
|
16208
16541
|
target.updateOrganizationWorkspace = org.updateOrganizationWorkspace.bind(org);
|
|
16209
16542
|
target.getOrgBillingCustomer = org.getOrgBillingCustomer.bind(org);
|
|
@@ -16213,7 +16546,22 @@ function bindOrgMethods(target, org) {
|
|
|
16213
16546
|
target.updateOrganizationMember = org.updateOrganizationMember.bind(org);
|
|
16214
16547
|
target.listOrgWebhookEndpoints = org.listOrgWebhookEndpoints.bind(org);
|
|
16215
16548
|
target.getOrgWebhookEndpoint = org.getOrgWebhookEndpoint.bind(org);
|
|
16549
|
+
target.createOrgWebhookEndpoint = org.createOrgWebhookEndpoint.bind(org);
|
|
16216
16550
|
target.updateOrgWebhookEndpoint = org.updateOrgWebhookEndpoint.bind(org);
|
|
16551
|
+
target.listOrgWebhookEndpointDeliveries = org.listOrgWebhookEndpointDeliveries.bind(org);
|
|
16552
|
+
target.replayOrgWebhookDelivery = org.replayOrgWebhookDelivery.bind(org);
|
|
16553
|
+
target.discardPendingOrgWebhookDeliveries = org.discardPendingOrgWebhookDeliveries.bind(org);
|
|
16554
|
+
target.getOrgWebhookDeliveryDetail = org.getOrgWebhookDeliveryDetail.bind(org);
|
|
16555
|
+
target.clearOrgWebhookDeliveries = org.clearOrgWebhookDeliveries.bind(org);
|
|
16556
|
+
target.getOrgWebhookEndpointCoverage = org.getOrgWebhookEndpointCoverage.bind(org);
|
|
16557
|
+
target.testOrgWebhookEndpoint = org.testOrgWebhookEndpoint.bind(org);
|
|
16558
|
+
target.listWorkspaceLabels = org.listWorkspaceLabels.bind(org);
|
|
16559
|
+
target.createWorkspaceLabel = org.createWorkspaceLabel.bind(org);
|
|
16560
|
+
target.updateWorkspaceLabel = org.updateWorkspaceLabel.bind(org);
|
|
16561
|
+
target.deleteWorkspaceLabel = org.deleteWorkspaceLabel.bind(org);
|
|
16562
|
+
target.getWorkspaceLabels = org.getWorkspaceLabels.bind(org);
|
|
16563
|
+
target.setWorkspaceLabels = org.setWorkspaceLabels.bind(org);
|
|
16564
|
+
target.previewWorkspaceScope = org.previewWorkspaceScope.bind(org);
|
|
16217
16565
|
}
|
|
16218
16566
|
|
|
16219
16567
|
// src/client/bindings/pronunciations.ts
|
|
@@ -16369,6 +16717,11 @@ function bindMetricsMethods(target, metrics) {
|
|
|
16369
16717
|
target.computeChatMetrics = metrics.computeChatMetrics.bind(metrics);
|
|
16370
16718
|
}
|
|
16371
16719
|
|
|
16720
|
+
// src/client/bindings/data-reports.ts
|
|
16721
|
+
function bindDataReportsMethods(target, dataReports) {
|
|
16722
|
+
target.previewDataReport = dataReports.previewDataReport.bind(dataReports);
|
|
16723
|
+
}
|
|
16724
|
+
|
|
16372
16725
|
// src/client/bindings/queries.ts
|
|
16373
16726
|
function bindQueriesMethods(target, queries) {
|
|
16374
16727
|
target.getQueryFields = queries.getQueryFields.bind(queries);
|
|
@@ -16684,6 +17037,8 @@ var GravityRailClient = class {
|
|
|
16684
17037
|
validateQuery;
|
|
16685
17038
|
previewQuery;
|
|
16686
17039
|
runQuery;
|
|
17040
|
+
// Form Reports
|
|
17041
|
+
previewDataReport;
|
|
16687
17042
|
listPersonas;
|
|
16688
17043
|
getPersona;
|
|
16689
17044
|
createPersona;
|
|
@@ -16868,6 +17223,7 @@ var GravityRailClient = class {
|
|
|
16868
17223
|
inspectPrompt;
|
|
16869
17224
|
// Workspaces API
|
|
16870
17225
|
getWorkspaces;
|
|
17226
|
+
getOrganizationWorkspacePages;
|
|
16871
17227
|
getDeviceAdmissibleWorkspaces;
|
|
16872
17228
|
getPublicWorkspaces;
|
|
16873
17229
|
getWorkspace;
|
|
@@ -16954,6 +17310,7 @@ var GravityRailClient = class {
|
|
|
16954
17310
|
getVoiceTrustProducts;
|
|
16955
17311
|
syncVoiceTrustProducts;
|
|
16956
17312
|
createOrganizationWorkspace;
|
|
17313
|
+
getOrganizationWorkspaces;
|
|
16957
17314
|
getOrganizationWorkspace;
|
|
16958
17315
|
updateOrganizationWorkspace;
|
|
16959
17316
|
getOrgBillingCustomer;
|
|
@@ -16963,7 +17320,22 @@ var GravityRailClient = class {
|
|
|
16963
17320
|
updateOrganizationMember;
|
|
16964
17321
|
listOrgWebhookEndpoints;
|
|
16965
17322
|
getOrgWebhookEndpoint;
|
|
17323
|
+
createOrgWebhookEndpoint;
|
|
16966
17324
|
updateOrgWebhookEndpoint;
|
|
17325
|
+
listOrgWebhookEndpointDeliveries;
|
|
17326
|
+
replayOrgWebhookDelivery;
|
|
17327
|
+
discardPendingOrgWebhookDeliveries;
|
|
17328
|
+
getOrgWebhookDeliveryDetail;
|
|
17329
|
+
clearOrgWebhookDeliveries;
|
|
17330
|
+
getOrgWebhookEndpointCoverage;
|
|
17331
|
+
testOrgWebhookEndpoint;
|
|
17332
|
+
listWorkspaceLabels;
|
|
17333
|
+
createWorkspaceLabel;
|
|
17334
|
+
updateWorkspaceLabel;
|
|
17335
|
+
deleteWorkspaceLabel;
|
|
17336
|
+
getWorkspaceLabels;
|
|
17337
|
+
setWorkspaceLabels;
|
|
17338
|
+
previewWorkspaceScope;
|
|
16967
17339
|
getVapidPublicKey;
|
|
16968
17340
|
registerPushSubscription;
|
|
16969
17341
|
unregisterPushSubscription;
|
|
@@ -17104,6 +17476,7 @@ var GravityRailClient = class {
|
|
|
17104
17476
|
convertFile;
|
|
17105
17477
|
generateFileUploadUrl;
|
|
17106
17478
|
getFolders;
|
|
17479
|
+
getFolderChildren;
|
|
17107
17480
|
getFolder;
|
|
17108
17481
|
createFolder;
|
|
17109
17482
|
updateFolder;
|
|
@@ -17161,6 +17534,7 @@ var GravityRailClient = class {
|
|
|
17161
17534
|
getWorkflowsActivityBatch;
|
|
17162
17535
|
getWorkflowDiagram;
|
|
17163
17536
|
getWorkflowOutline;
|
|
17537
|
+
getWorkflowsOutlineBatch;
|
|
17164
17538
|
createWorkflow;
|
|
17165
17539
|
updateWorkflow;
|
|
17166
17540
|
getWorkflowDeletionPreview;
|
|
@@ -17373,6 +17747,12 @@ var GravityRailClient = class {
|
|
|
17373
17747
|
deleteInquiry;
|
|
17374
17748
|
exportInquiriesCsv;
|
|
17375
17749
|
authorize;
|
|
17750
|
+
denyAuthorization;
|
|
17751
|
+
getOAuthConsentClient;
|
|
17752
|
+
getMcpConsentTargets;
|
|
17753
|
+
listMcpGrants;
|
|
17754
|
+
narrowMcpGrant;
|
|
17755
|
+
revokeMcpGrant;
|
|
17376
17756
|
exchangeOAuthToken;
|
|
17377
17757
|
getAvailableScopes;
|
|
17378
17758
|
getOAuthConnectionStatus;
|
|
@@ -17474,6 +17854,8 @@ var GravityRailClient = class {
|
|
|
17474
17854
|
fhirGetEncounterSyncRuns;
|
|
17475
17855
|
fhirRefreshEncounterPatient;
|
|
17476
17856
|
fhirBackfillEncounterSync;
|
|
17857
|
+
fhirStartOnboardingImport;
|
|
17858
|
+
fhirGetOnboardingImportStatus;
|
|
17477
17859
|
// Healthie API
|
|
17478
17860
|
getDocumoFaxStatus;
|
|
17479
17861
|
getDocumoFaxSetup;
|
|
@@ -17566,6 +17948,7 @@ var GravityRailClient = class {
|
|
|
17566
17948
|
listAvailableAppConnections;
|
|
17567
17949
|
listAppConnections;
|
|
17568
17950
|
enablePlatformApp;
|
|
17951
|
+
configureZendeskConnection;
|
|
17569
17952
|
getPlatformApp;
|
|
17570
17953
|
updatePlatformApp;
|
|
17571
17954
|
deletePlatformApp;
|
|
@@ -17646,6 +18029,7 @@ var GravityRailClient = class {
|
|
|
17646
18029
|
bindPersonasMethods(this, apis.personas);
|
|
17647
18030
|
bindMetricsMethods(this, apis.metrics);
|
|
17648
18031
|
bindQueriesMethods(this, apis.queries);
|
|
18032
|
+
bindDataReportsMethods(this, apis.dataReports);
|
|
17649
18033
|
bindDashboardsMethods(this, apis.dashboards);
|
|
17650
18034
|
bindActivityMethods(this, apis.activity);
|
|
17651
18035
|
bindMotdMethods(this, apis.motd);
|
|
@@ -17931,6 +18315,7 @@ function pathDraftToStorage(draft, original) {
|
|
|
17931
18315
|
AddonMutationResponseScope,
|
|
17932
18316
|
AgentTasksApi,
|
|
17933
18317
|
AgentsApi,
|
|
18318
|
+
AiConnectorPolicy,
|
|
17934
18319
|
ApiError,
|
|
17935
18320
|
ApiKeysApi,
|
|
17936
18321
|
AppConnectionsApi,
|
|
@@ -18103,6 +18488,8 @@ function pathDraftToStorage(draft, original) {
|
|
|
18103
18488
|
REALTIME_MODEL_OPENAI_2,
|
|
18104
18489
|
REALTIME_MODEL_OPENAI_MINI,
|
|
18105
18490
|
RecordChangeKind,
|
|
18491
|
+
RecordContactPermissionRequestChannelNote,
|
|
18492
|
+
RecordMetricAggregationEnum,
|
|
18106
18493
|
RefResolutionStatus,
|
|
18107
18494
|
Region,
|
|
18108
18495
|
RegistrationIdentifier,
|
|
@@ -18124,6 +18511,7 @@ function pathDraftToStorage(draft, original) {
|
|
|
18124
18511
|
STT_MODEL_DEEPGRAM_FLUX_MULTI,
|
|
18125
18512
|
STT_MODEL_DEEPGRAM_FLUX_MULTI_SELFHOST,
|
|
18126
18513
|
STT_MODEL_DEEPGRAM_FLUX_SELFHOST,
|
|
18514
|
+
STT_MODEL_ELEVENLABS_SCRIBE_V2_REALTIME,
|
|
18127
18515
|
SalesforceApi,
|
|
18128
18516
|
ScenarioHealthCaption,
|
|
18129
18517
|
ScenarioHealthHeadline,
|
|
@@ -18147,6 +18535,10 @@ function pathDraftToStorage(draft, original) {
|
|
|
18147
18535
|
TTS_MODEL_AWS_POLLY_GENERATIVE,
|
|
18148
18536
|
TTS_MODEL_AWS_POLLY_NEURAL,
|
|
18149
18537
|
TTS_MODEL_DEEPGRAM_AURA_2,
|
|
18538
|
+
TTS_MODEL_ELEVENLABS_FLASH,
|
|
18539
|
+
TTS_MODEL_ELEVENLABS_MULTILINGUAL,
|
|
18540
|
+
TTS_MODEL_ELEVENLABS_TURBO,
|
|
18541
|
+
TTS_MODEL_ELEVENLABS_V4_TURBO,
|
|
18150
18542
|
TTS_MODEL_XAI_V1,
|
|
18151
18543
|
TTS_PREVIEW_PROVIDERS,
|
|
18152
18544
|
TaskTransitionInitiator,
|
|
@@ -18188,6 +18580,7 @@ function pathDraftToStorage(draft, original) {
|
|
|
18188
18580
|
bindCommunicationsMethods,
|
|
18189
18581
|
bindCustomersMethods,
|
|
18190
18582
|
bindDashboardsMethods,
|
|
18583
|
+
bindDataReportsMethods,
|
|
18191
18584
|
bindDataTypesMethods,
|
|
18192
18585
|
bindDevicesMethods,
|
|
18193
18586
|
bindEventsMethods,
|