@gravity-rail/sdk 0.13.1 → 0.14.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/{chunk-FSSXKQR5.js → chunk-GP6ICMWF.js} +2 -1
- package/dist/chunk-GP6ICMWF.js.map +1 -0
- package/dist/{chunk-YRIBZ3RM.js → chunk-K4MDFGMO.js} +322 -26
- package/dist/chunk-K4MDFGMO.js.map +1 -0
- package/dist/{client-DjyYhpnv.d.ts → client-CKudWmUT.d.cts} +741 -46
- package/dist/{client-eet1pTc_.d.cts → client-EAvh7w0y.d.ts} +741 -46
- package/dist/helpers.cjs.map +1 -1
- package/dist/helpers.d.cts +2 -2
- package/dist/helpers.d.ts +2 -2
- package/dist/helpers.js +1 -1
- package/dist/index.cjs +331 -31
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +6 -7
- package/dist/index.d.ts +6 -7
- package/dist/index.js +17 -10
- package/dist/index.js.map +1 -1
- package/dist/internal.cjs +316 -24
- package/dist/internal.cjs.map +1 -1
- package/dist/internal.d.cts +411 -142
- package/dist/internal.d.ts +411 -142
- package/dist/internal.js +9 -3
- package/dist/internal.js.map +1 -1
- package/dist/{revision-state-CC1svrGE.d.ts → revision-state-BUBt9Rir.d.ts} +9 -4
- package/dist/{revision-state-DFWcu6wD.d.cts → revision-state-CY4LBdfa.d.cts} +9 -4
- package/dist/schemas.cjs +36 -1
- package/dist/schemas.cjs.map +1 -1
- package/dist/schemas.d.cts +65 -5
- package/dist/schemas.d.ts +65 -5
- package/dist/schemas.js +34 -1
- package/dist/schemas.js.map +1 -1
- package/dist/{tasks-Dl1Dzgkf.d.cts → tasks-iRrM4SaF.d.cts} +37 -3
- package/dist/{tasks-Dl1Dzgkf.d.ts → tasks-iRrM4SaF.d.ts} +37 -3
- package/package.json +1 -1
- package/dist/chunk-FSSXKQR5.js.map +0 -1
- package/dist/chunk-YRIBZ3RM.js.map +0 -1
package/dist/internal.cjs
CHANGED
|
@@ -20,6 +20,7 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
|
|
|
20
20
|
// src/internal.ts
|
|
21
21
|
var internal_exports = {};
|
|
22
22
|
__export(internal_exports, {
|
|
23
|
+
AGENT_NOTE_ORIGINS: () => AGENT_NOTE_ORIGINS,
|
|
23
24
|
AIModelsApi: () => AIModelsApi,
|
|
24
25
|
AbilitiesApi: () => AbilitiesApi,
|
|
25
26
|
AbilityConfigIssueCode: () => AbilityConfigIssueCode,
|
|
@@ -264,12 +265,14 @@ __export(internal_exports, {
|
|
|
264
265
|
getTTSProvider: () => getTTSProvider,
|
|
265
266
|
getVoiceModelId: () => getVoiceModelId,
|
|
266
267
|
initializeFeatures: () => initializeFeatures,
|
|
268
|
+
isAgentNoteOrigin: () => isAgentNoteOrigin,
|
|
267
269
|
isChatType: () => isChatType,
|
|
268
270
|
isFeatureAvailable: () => isFeatureAvailable,
|
|
269
271
|
isPositiveRating: () => isPositiveRating,
|
|
270
272
|
isRegistryInitialized: () => isRegistryInitialized,
|
|
271
273
|
isSMSDeliveryFailureStatus: () => isSMSDeliveryFailureStatus,
|
|
272
274
|
parseExperimentStatCount: () => parseExperimentStatCount,
|
|
275
|
+
parseOrgAuthChallenge: () => parseOrgAuthChallenge,
|
|
273
276
|
requiresAssistantParticipant: () => requiresAssistantParticipant,
|
|
274
277
|
usesBuiltinAssistant: () => usesBuiltinAssistant,
|
|
275
278
|
validateFeatureDependencies: () => validateFeatureDependencies
|
|
@@ -456,6 +459,7 @@ var EventRuleObjectType = /* @__PURE__ */ ((EventRuleObjectType2) => {
|
|
|
456
459
|
EventRuleObjectType2["JOURNEY"] = "journey";
|
|
457
460
|
EventRuleObjectType2["CALL"] = "call";
|
|
458
461
|
EventRuleObjectType2["VOICEMAIL"] = "voicemail";
|
|
462
|
+
EventRuleObjectType2["FAX"] = "fax";
|
|
459
463
|
return EventRuleObjectType2;
|
|
460
464
|
})(EventRuleObjectType || {});
|
|
461
465
|
var EventRuleEventType = /* @__PURE__ */ ((EventRuleEventType2) => {
|
|
@@ -488,6 +492,7 @@ var EventRuleEventType = /* @__PURE__ */ ((EventRuleEventType2) => {
|
|
|
488
492
|
EventRuleEventType2["CALL_COMPLETED"] = "call:completed";
|
|
489
493
|
EventRuleEventType2["CALL_SUMMARY"] = "call:summary";
|
|
490
494
|
EventRuleEventType2["VOICEMAIL_RECEIVED"] = "voicemail:received";
|
|
495
|
+
EventRuleEventType2["FAX_RECEIVED"] = "fax:received";
|
|
491
496
|
return EventRuleEventType2;
|
|
492
497
|
})(EventRuleEventType || {});
|
|
493
498
|
var EventRuleActionType = /* @__PURE__ */ ((EventRuleActionType2) => {
|
|
@@ -541,12 +546,14 @@ var WorkspaceFeature = /* @__PURE__ */ ((WorkspaceFeature2) => {
|
|
|
541
546
|
WorkspaceFeature2["BROWSER"] = "browser";
|
|
542
547
|
WorkspaceFeature2["WEB_SEARCH"] = "web_search";
|
|
543
548
|
WorkspaceFeature2["CALENDAR"] = "calendar";
|
|
544
|
-
WorkspaceFeature2["JOURNEYS"] = "journeys";
|
|
545
549
|
WorkspaceFeature2["EXPERIMENTS"] = "experiments";
|
|
546
550
|
WorkspaceFeature2["OPERATOR"] = "operator";
|
|
547
551
|
WorkspaceFeature2["GMAIL"] = "gmail";
|
|
548
552
|
WorkspaceFeature2["GCALENDAR"] = "gcalendar";
|
|
553
|
+
WorkspaceFeature2["GDRIVE"] = "gdrive";
|
|
554
|
+
WorkspaceFeature2["GSHEETS"] = "gsheets";
|
|
549
555
|
WorkspaceFeature2["MONDAY"] = "monday";
|
|
556
|
+
WorkspaceFeature2["DOCUMO_FAX"] = "documo_fax";
|
|
550
557
|
WorkspaceFeature2["RESELL_PRODUCTS"] = "resell_products";
|
|
551
558
|
WorkspaceFeature2["SOC2_COMPLIANCE"] = "soc2_compliance";
|
|
552
559
|
WorkspaceFeature2["EHR_FHIR"] = "ehr_fhir";
|
|
@@ -836,6 +843,7 @@ var AccessGrantResourceType = /* @__PURE__ */ ((AccessGrantResourceType2) => {
|
|
|
836
843
|
})(AccessGrantResourceType || {});
|
|
837
844
|
var CapabilityClass = /* @__PURE__ */ ((CapabilityClass2) => {
|
|
838
845
|
CapabilityClass2["TOOL_ALWAYS_ALLOW"] = "tool.always_allow";
|
|
846
|
+
CapabilityClass2["SCOPE_ALWAYS_ALLOW"] = "scope.always_allow";
|
|
839
847
|
CapabilityClass2["SELF_MODIFICATION_SCHEDULE"] = "self_modification.schedule";
|
|
840
848
|
CapabilityClass2["ATTENTION_INTERRUPT_RUNG"] = "attention.interrupt_rung";
|
|
841
849
|
return CapabilityClass2;
|
|
@@ -893,6 +901,7 @@ var AbilityTypeSlugs = {
|
|
|
893
901
|
GMAIL: "integration:gmail",
|
|
894
902
|
GOOGLE_CALENDAR: "integration:google_calendar",
|
|
895
903
|
GOOGLE_DRIVE: "integration:google_drive",
|
|
904
|
+
GOOGLE_SHEETS: "integration:google_sheets",
|
|
896
905
|
CHARLESTON_PMD_PAGING: "integration:charleston_pmd_paging",
|
|
897
906
|
// Communication
|
|
898
907
|
PHONE_CALL_TOOLS: "communication:phone_call_tools",
|
|
@@ -1292,6 +1301,14 @@ var SMS_DELIVERY_FAILURE_STATUSES = /* @__PURE__ */ new Set([
|
|
|
1292
1301
|
function isSMSDeliveryFailureStatus(status) {
|
|
1293
1302
|
return status != null && SMS_DELIVERY_FAILURE_STATUSES.has(status);
|
|
1294
1303
|
}
|
|
1304
|
+
var AGENT_NOTE_ORIGINS = /* @__PURE__ */ new Set([
|
|
1305
|
+
"workflow",
|
|
1306
|
+
"background_run",
|
|
1307
|
+
"platform"
|
|
1308
|
+
]);
|
|
1309
|
+
function isAgentNoteOrigin(origin) {
|
|
1310
|
+
return origin != null && AGENT_NOTE_ORIGINS.has(origin);
|
|
1311
|
+
}
|
|
1295
1312
|
var POSITIVE_RATING_THRESHOLD = 0.5;
|
|
1296
1313
|
function isPositiveRating(rating) {
|
|
1297
1314
|
return rating != null && rating >= POSITIVE_RATING_THRESHOLD;
|
|
@@ -3907,6 +3924,12 @@ var CELApi = class extends BaseApiClient {
|
|
|
3907
3924
|
body: JSON.stringify(request)
|
|
3908
3925
|
});
|
|
3909
3926
|
}
|
|
3927
|
+
async validateCelExpression(wid, request) {
|
|
3928
|
+
return this.fetch(`w/${wid}/cel/validate`, {
|
|
3929
|
+
method: "POST",
|
|
3930
|
+
body: JSON.stringify(request)
|
|
3931
|
+
});
|
|
3932
|
+
}
|
|
3910
3933
|
};
|
|
3911
3934
|
|
|
3912
3935
|
// src/api/chats.ts
|
|
@@ -4124,6 +4147,24 @@ var ChatsApi = class extends BaseApiClient {
|
|
|
4124
4147
|
`w/${wid}/chats/${id}/messages${params.toString() ? `?${params.toString()}` : ""}`
|
|
4125
4148
|
);
|
|
4126
4149
|
}
|
|
4150
|
+
/** List the background-work thread hanging off a message.
|
|
4151
|
+
*
|
|
4152
|
+
* When a tool trajectory outgrows its turn it detaches and runs in the
|
|
4153
|
+
* background (ADR-11 / forked trajectories), writing its messages as a
|
|
4154
|
+
* child thread parented at the fork point. Main-history reads exclude
|
|
4155
|
+
* them, so this is how the "show work" affordance fetches them — lazily,
|
|
4156
|
+
* only when a message with a non-zero `childMessageCount` is expanded.
|
|
4157
|
+
* Returns the thread in chronological order, empty when there is none.
|
|
4158
|
+
*
|
|
4159
|
+
* `messageUuid` is the fork point's `ChatMessage.id`. */
|
|
4160
|
+
async getChildThreadMessages(wid, chatId, messageUuid, limit = 200, offset = 0) {
|
|
4161
|
+
const params = new URLSearchParams();
|
|
4162
|
+
params.append("limit", limit.toString());
|
|
4163
|
+
params.append("offset", offset.toString());
|
|
4164
|
+
return this.fetch(
|
|
4165
|
+
`w/${wid}/chats/${chatId}/messages/${messageUuid}/children?${params.toString()}`
|
|
4166
|
+
);
|
|
4167
|
+
}
|
|
4127
4168
|
/** List messages associated with a specific tool call in a chat. */
|
|
4128
4169
|
async getChatToolCallMessages(wid, chatId, callId, limit = 100, offset = 0) {
|
|
4129
4170
|
const params = new URLSearchParams();
|
|
@@ -5509,6 +5550,17 @@ var FhirConnectionsApi = class extends BaseApiClient {
|
|
|
5509
5550
|
{ method: "POST", body: JSON.stringify(data) }
|
|
5510
5551
|
);
|
|
5511
5552
|
}
|
|
5553
|
+
/**
|
|
5554
|
+
* Bounded, read-only check of which external patient IDs are already
|
|
5555
|
+
* linked on this connection. PHI-minimal: sends/returns external patient
|
|
5556
|
+
* IDs only — never demographics.
|
|
5557
|
+
*/
|
|
5558
|
+
async fhirCheckPatientLinks(wid, connectionId, data) {
|
|
5559
|
+
return this.fetch(
|
|
5560
|
+
`w/${wid}/app-connections/fhir/connections/${connectionId}/linked-members/check`,
|
|
5561
|
+
{ method: "POST", body: JSON.stringify(data) }
|
|
5562
|
+
);
|
|
5563
|
+
}
|
|
5512
5564
|
// ==================== Encounter Sync ====================
|
|
5513
5565
|
async fhirGetEncounterSyncStatus(wid, connectionId) {
|
|
5514
5566
|
return this.fetch(`w/${wid}/app-connections/fhir/connections/${connectionId}/encounter-sync`);
|
|
@@ -5564,6 +5616,72 @@ var PatientSyncConnectionsApi = class extends BaseApiClient {
|
|
|
5564
5616
|
}
|
|
5565
5617
|
};
|
|
5566
5618
|
|
|
5619
|
+
// src/api/documo-fax.ts
|
|
5620
|
+
var DocumoFaxApi = class extends BaseApiClient {
|
|
5621
|
+
async getDocumoFaxStatus(wid) {
|
|
5622
|
+
return this.fetch(`w/${wid}/app-connections/documo-fax/status`);
|
|
5623
|
+
}
|
|
5624
|
+
async getDocumoFaxSetup(wid) {
|
|
5625
|
+
return this.fetch(`w/${wid}/app-connections/documo-fax/setup`);
|
|
5626
|
+
}
|
|
5627
|
+
/**
|
|
5628
|
+
* Received-fax log for this connection.
|
|
5629
|
+
*
|
|
5630
|
+
* Entries carry `senderNumber`, which is an unauthenticated claim by the
|
|
5631
|
+
* sending machine and is PHI. Render it; never log it.
|
|
5632
|
+
*
|
|
5633
|
+
* `status` is repeatable — one query entry per value, matching the route's
|
|
5634
|
+
* `list[str]` binding. The date bounds filter on when the delivery was
|
|
5635
|
+
* recorded, not on `receivedAt`: a fax that failed before storage never
|
|
5636
|
+
* gets a `receivedAt`, so bounding that column would hide exactly the
|
|
5637
|
+
* failures an operator filtering by date is hunting for.
|
|
5638
|
+
*/
|
|
5639
|
+
async listDocumoFaxes(wid, params) {
|
|
5640
|
+
const query = new URLSearchParams();
|
|
5641
|
+
if (params?.page !== void 0) query.set("page", String(params.page));
|
|
5642
|
+
if (params?.pageSize !== void 0) query.set("pageSize", String(params.pageSize));
|
|
5643
|
+
params?.status?.forEach((value) => query.append("status", value));
|
|
5644
|
+
if (params?.receivedAfter) query.set("receivedAfter", params.receivedAfter);
|
|
5645
|
+
if (params?.receivedBefore) query.set("receivedBefore", params.receivedBefore);
|
|
5646
|
+
const suffix = query.toString() === "" ? "" : `?${query.toString()}`;
|
|
5647
|
+
return this.fetch(
|
|
5648
|
+
`w/${wid}/app-connections/documo-fax/faxes${suffix}`
|
|
5649
|
+
);
|
|
5650
|
+
}
|
|
5651
|
+
/**
|
|
5652
|
+
* The three bodyless POSTs below send `{}` deliberately: the routes require
|
|
5653
|
+
* a JSON body as a CSRF barrier (a cross-site HTML form POST cannot set
|
|
5654
|
+
* Content-Type: application/json, so it 422s). See GRA-6284.
|
|
5655
|
+
*/
|
|
5656
|
+
async installDocumoFax(wid) {
|
|
5657
|
+
return this.fetch(`w/${wid}/app-connections/documo-fax/install`, {
|
|
5658
|
+
method: "POST",
|
|
5659
|
+
body: JSON.stringify({})
|
|
5660
|
+
});
|
|
5661
|
+
}
|
|
5662
|
+
async configureDocumoFax(wid, data) {
|
|
5663
|
+
return this.fetch(
|
|
5664
|
+
`w/${wid}/app-connections/documo-fax/configure`,
|
|
5665
|
+
{
|
|
5666
|
+
method: "POST",
|
|
5667
|
+
body: JSON.stringify(data)
|
|
5668
|
+
}
|
|
5669
|
+
);
|
|
5670
|
+
}
|
|
5671
|
+
async verifyDocumoFax(wid) {
|
|
5672
|
+
return this.fetch(`w/${wid}/app-connections/documo-fax/verify`, {
|
|
5673
|
+
method: "POST",
|
|
5674
|
+
body: JSON.stringify({})
|
|
5675
|
+
});
|
|
5676
|
+
}
|
|
5677
|
+
async rotateDocumoFaxCredentials(wid) {
|
|
5678
|
+
return this.fetch(
|
|
5679
|
+
`w/${wid}/app-connections/documo-fax/rotate-credentials`,
|
|
5680
|
+
{ method: "POST", body: JSON.stringify({}) }
|
|
5681
|
+
);
|
|
5682
|
+
}
|
|
5683
|
+
};
|
|
5684
|
+
|
|
5567
5685
|
// src/api/healthie.ts
|
|
5568
5686
|
var HealthieApi = class extends BaseApiClient {
|
|
5569
5687
|
async configureHealthie(wid, data) {
|
|
@@ -5897,6 +6015,16 @@ var FilesApi = class extends BaseApiClient {
|
|
|
5897
6015
|
async getFolderSharing(wid, folderId) {
|
|
5898
6016
|
return this.fetch(`w/${wid}/folders/${folderId}/sharing`);
|
|
5899
6017
|
}
|
|
6018
|
+
/**
|
|
6019
|
+
* Ask whether another member can read a folder, evaluated by the real
|
|
6020
|
+
* authorizer as that member. Used to tell "a landing folder is set" apart
|
|
6021
|
+
* from "the fax owner can actually open it".
|
|
6022
|
+
*/
|
|
6023
|
+
async getFolderMemberAccess(wid, folderId, memberId) {
|
|
6024
|
+
return this.fetch(
|
|
6025
|
+
`w/${wid}/folders/${folderId}/member-access?memberId=${memberId}`
|
|
6026
|
+
);
|
|
6027
|
+
}
|
|
5900
6028
|
/** Update the role associations for a folder's sharing permissions. */
|
|
5901
6029
|
async updateFolderRoles(wid, folderId, data) {
|
|
5902
6030
|
return this.fetch(
|
|
@@ -7699,7 +7827,12 @@ var OrgApi = class extends BaseApiClient {
|
|
|
7699
7827
|
`o/${orgUuid}/legal-entities/${legalEntityUuid}/trust-products`
|
|
7700
7828
|
);
|
|
7701
7829
|
}
|
|
7702
|
-
/**
|
|
7830
|
+
/**
|
|
7831
|
+
* Reconcile trust product state against Twilio (discovery + status
|
|
7832
|
+
* refresh). Returns the refreshed products plus which product keys were
|
|
7833
|
+
* newly discovered. Responds 409 when another Trust Hub operation holds
|
|
7834
|
+
* the org lock — retry shortly rather than queueing.
|
|
7835
|
+
*/
|
|
7703
7836
|
async syncVoiceTrustProducts(orgUuid, legalEntityUuid) {
|
|
7704
7837
|
return this.fetch(
|
|
7705
7838
|
`o/${orgUuid}/legal-entities/${legalEntityUuid}/trust-products/sync`,
|
|
@@ -7842,6 +7975,9 @@ function getOAuthPath(providerSlug, action) {
|
|
|
7842
7975
|
if (providerSlug === "gdrive") {
|
|
7843
7976
|
return `oauth/google/drive/${action}`;
|
|
7844
7977
|
}
|
|
7978
|
+
if (providerSlug === "gsheets") {
|
|
7979
|
+
return `oauth/google/sheets/${action}`;
|
|
7980
|
+
}
|
|
7845
7981
|
return `oauth/${providerSlug}/${action}`;
|
|
7846
7982
|
}
|
|
7847
7983
|
function buildAuthorizeQuery(options) {
|
|
@@ -8017,6 +8153,32 @@ var PhoneNumbersApi = class extends BaseApiClient {
|
|
|
8017
8153
|
`w/${wid}/phone-numbers/${id}/messages?${params}`
|
|
8018
8154
|
);
|
|
8019
8155
|
}
|
|
8156
|
+
/**
|
|
8157
|
+
* List received faxes for a phone number.
|
|
8158
|
+
*
|
|
8159
|
+
* The same log the Documo connection page shows, scoped to a number. Rows
|
|
8160
|
+
* carry `senderNumber` — an unauthenticated claim by the sending machine,
|
|
8161
|
+
* and PHI. Render it for triage; never log it.
|
|
8162
|
+
*
|
|
8163
|
+
* Same query vocabulary as `listDocumoFaxes` — one log, one spelling.
|
|
8164
|
+
* `status` is repeatable and is validated against the status enum, so a
|
|
8165
|
+
* typo is a 422 rather than a silently empty page. The date bounds filter
|
|
8166
|
+
* on when the delivery was recorded, not on `receivedAt`: a fax that failed
|
|
8167
|
+
* before storage never gets a `receivedAt`, so bounding that column would
|
|
8168
|
+
* hide exactly the failures an operator filtering by date is hunting for.
|
|
8169
|
+
*/
|
|
8170
|
+
async getPhoneNumberFaxes(wid, id, page = 1, pageSize = 10, filters) {
|
|
8171
|
+
const params = new URLSearchParams({
|
|
8172
|
+
page: String(page),
|
|
8173
|
+
pageSize: String(pageSize)
|
|
8174
|
+
});
|
|
8175
|
+
filters?.status?.forEach((value) => params.append("status", value));
|
|
8176
|
+
if (filters?.receivedAfter) params.set("receivedAfter", filters.receivedAfter);
|
|
8177
|
+
if (filters?.receivedBefore) params.set("receivedBefore", filters.receivedBefore);
|
|
8178
|
+
return this.fetch(
|
|
8179
|
+
`w/${wid}/phone-numbers/${id}/faxes?${params}`
|
|
8180
|
+
);
|
|
8181
|
+
}
|
|
8020
8182
|
/** List provider phones available for linking to workspace phone numbers. */
|
|
8021
8183
|
async getLinkablePhones(wid) {
|
|
8022
8184
|
return this.fetch(`w/${wid}/phone-numbers/linkable-phones`);
|
|
@@ -8535,6 +8697,16 @@ var SalesforceApi = class extends BaseApiClient {
|
|
|
8535
8697
|
}
|
|
8536
8698
|
);
|
|
8537
8699
|
}
|
|
8700
|
+
/**
|
|
8701
|
+
* List the sObjects available in the connected org.
|
|
8702
|
+
*
|
|
8703
|
+
* Backs the Target Object picker: the object set is org-specific (custom
|
|
8704
|
+
* objects included), so it must come from the org rather than a hardcoded
|
|
8705
|
+
* list.
|
|
8706
|
+
*/
|
|
8707
|
+
async listSalesforceObjects(wid) {
|
|
8708
|
+
return this.fetch(`w/${wid}/app-connections/salesforce/objects`);
|
|
8709
|
+
}
|
|
8538
8710
|
async describeSalesforceObject(wid, sobject) {
|
|
8539
8711
|
return this.fetch(
|
|
8540
8712
|
`w/${wid}/app-connections/salesforce/describe/${encodeURIComponent(sobject)}`
|
|
@@ -9600,7 +9772,12 @@ var ToolkitsApi = class extends BaseApiClient {
|
|
|
9600
9772
|
|
|
9601
9773
|
// src/api/journeys.ts
|
|
9602
9774
|
var JourneysApi = class extends BaseApiClient {
|
|
9603
|
-
/**
|
|
9775
|
+
/**
|
|
9776
|
+
* List journeys, optionally including archived, paginated.
|
|
9777
|
+
*
|
|
9778
|
+
* Returns the READ projection (`JourneyRead`) — CEL-free. Use
|
|
9779
|
+
* {@link getJourneyAuthoring} for the editor's expression-carrying shape.
|
|
9780
|
+
*/
|
|
9604
9781
|
async getJourneys(wid, includeArchived = false, pageOpts) {
|
|
9605
9782
|
const query = new URLSearchParams();
|
|
9606
9783
|
if (includeArchived) query.set("include_archived", "true");
|
|
@@ -9609,18 +9786,36 @@ var JourneysApi = class extends BaseApiClient {
|
|
|
9609
9786
|
const qs = query.toString() ? `?${query.toString()}` : "";
|
|
9610
9787
|
return this.fetch(`w/${wid}/journeys${qs}`);
|
|
9611
9788
|
}
|
|
9612
|
-
/**
|
|
9789
|
+
/**
|
|
9790
|
+
* Get a single journey by ID (includes steps and goals).
|
|
9791
|
+
*
|
|
9792
|
+
* Returns the READ projection (`JourneyRead`) — nested edges carry no
|
|
9793
|
+
* `celCondition` and goals no `completionCel`. The editor uses
|
|
9794
|
+
* {@link getJourneyAuthoring} for those.
|
|
9795
|
+
*/
|
|
9613
9796
|
async getJourney(wid, journeyId) {
|
|
9614
9797
|
return this.fetch(`w/${wid}/journeys/${journeyId}`);
|
|
9615
9798
|
}
|
|
9616
|
-
/**
|
|
9799
|
+
/**
|
|
9800
|
+
* Get a journey's AUTHORING projection (raw edge/goal CEL).
|
|
9801
|
+
*
|
|
9802
|
+
* journey-decoupling §3.5: the ordinary `getJourney` read projection omits
|
|
9803
|
+
* raw edge `celCondition` and goal `completionCel`. This endpoint is the
|
|
9804
|
+
* write-authorized surface that carries them for the Journey editor — it
|
|
9805
|
+
* requires the `journeys:write` scope, so a read-only caller is denied and
|
|
9806
|
+
* must not call it. Returns the authoring superset (`Journey`).
|
|
9807
|
+
*/
|
|
9808
|
+
async getJourneyAuthoring(wid, journeyId) {
|
|
9809
|
+
return this.fetch(`w/${wid}/journeys/${journeyId}/authoring`);
|
|
9810
|
+
}
|
|
9811
|
+
/** Create a new journey. Returns the READ projection (`JourneyRead`). */
|
|
9617
9812
|
async createJourney(wid, data) {
|
|
9618
9813
|
return this.fetch(`w/${wid}/journeys`, {
|
|
9619
9814
|
method: "POST",
|
|
9620
9815
|
body: JSON.stringify(data)
|
|
9621
9816
|
});
|
|
9622
9817
|
}
|
|
9623
|
-
/** Update an existing journey. */
|
|
9818
|
+
/** Update an existing journey. Returns the READ projection (`JourneyRead`). */
|
|
9624
9819
|
async updateJourney(wid, journeyId, data) {
|
|
9625
9820
|
return this.fetch(`w/${wid}/journeys/${journeyId}`, {
|
|
9626
9821
|
method: "PUT",
|
|
@@ -9661,6 +9856,18 @@ var JourneysApi = class extends BaseApiClient {
|
|
|
9661
9856
|
method: "DELETE"
|
|
9662
9857
|
});
|
|
9663
9858
|
}
|
|
9859
|
+
/**
|
|
9860
|
+
* Unarchive a step and backfill active enrollments. Idempotent —
|
|
9861
|
+
* repeated calls are harmless. The response's
|
|
9862
|
+
* `backfilledEnrollmentCount` reports how many active enrollments
|
|
9863
|
+
* received a new step row; a root step may become eligible for all of
|
|
9864
|
+
* them on the next journey sweep.
|
|
9865
|
+
*/
|
|
9866
|
+
async unarchiveStep(wid, journeyId, stepUuid) {
|
|
9867
|
+
return this.fetch(`w/${wid}/journeys/${journeyId}/steps/${stepUuid}/unarchive`, {
|
|
9868
|
+
method: "PATCH"
|
|
9869
|
+
});
|
|
9870
|
+
}
|
|
9664
9871
|
/** Create a connection (DAG edge) between two steps. */
|
|
9665
9872
|
async createConnection(wid, journeyId, data) {
|
|
9666
9873
|
return this.fetch(`w/${wid}/journeys/${journeyId}/connections`, {
|
|
@@ -10696,6 +10903,7 @@ function createApiModules(apiKey, baseUrl, customFetch) {
|
|
|
10696
10903
|
fhirConnections: new FhirConnectionsApi(apiKey, baseUrl, customFetch),
|
|
10697
10904
|
patientSyncConnections: new PatientSyncConnectionsApi(apiKey, baseUrl, customFetch),
|
|
10698
10905
|
healthie: new HealthieApi(apiKey, baseUrl, customFetch),
|
|
10906
|
+
documoFax: new DocumoFaxApi(apiKey, baseUrl, customFetch),
|
|
10699
10907
|
hubspot: new HubspotApi(apiKey, baseUrl, customFetch),
|
|
10700
10908
|
features: new FeaturesApi(apiKey, baseUrl, customFetch),
|
|
10701
10909
|
files: new FilesApi(apiKey, baseUrl, customFetch),
|
|
@@ -10757,7 +10965,9 @@ var WORKSPACE_METHOD_NAMES = [
|
|
|
10757
10965
|
"autoCreateDataTypeFromBoard",
|
|
10758
10966
|
"blockWorkspaceInvitation",
|
|
10759
10967
|
"bookHealthieAppointment",
|
|
10968
|
+
"buildSiteSource",
|
|
10760
10969
|
"buildWorkspace",
|
|
10970
|
+
"bulkCreateMembers",
|
|
10761
10971
|
"bulkLinkMembersToHubspot",
|
|
10762
10972
|
"bulkLinkMembersToMonday",
|
|
10763
10973
|
"bulkLinkMembersToSalesforce",
|
|
@@ -10777,7 +10987,9 @@ var WORKSPACE_METHOD_NAMES = [
|
|
|
10777
10987
|
"cloneWorkflow",
|
|
10778
10988
|
"closeWorkspaceSupportRequest",
|
|
10779
10989
|
"commentOnWorkspaceSupportRequest",
|
|
10990
|
+
"completeDiscordLink",
|
|
10780
10991
|
"configureConfluence",
|
|
10992
|
+
"configureDocumoFax",
|
|
10781
10993
|
"configureHealthie",
|
|
10782
10994
|
"configurePatientSync",
|
|
10783
10995
|
"configureHubspot",
|
|
@@ -10793,6 +11005,7 @@ var WORKSPACE_METHOD_NAMES = [
|
|
|
10793
11005
|
"createAssignment",
|
|
10794
11006
|
"createCalendar",
|
|
10795
11007
|
"createCalendarEvent",
|
|
11008
|
+
"createCalendarEventType",
|
|
10796
11009
|
"createCalendarSchedule",
|
|
10797
11010
|
"createChat",
|
|
10798
11011
|
"createChatCompletion",
|
|
@@ -10802,12 +11015,12 @@ var WORKSPACE_METHOD_NAMES = [
|
|
|
10802
11015
|
"createConnection",
|
|
10803
11016
|
"createCustomTool",
|
|
10804
11017
|
"createCustomToolkit",
|
|
11018
|
+
"createDashboard",
|
|
10805
11019
|
"createDataRecord",
|
|
10806
11020
|
"createDataRecordFilter",
|
|
10807
11021
|
"createDataType",
|
|
10808
11022
|
"createDiscordBot",
|
|
10809
11023
|
"createEventRule",
|
|
10810
|
-
"createEventType",
|
|
10811
11024
|
"createExperiment",
|
|
10812
11025
|
"createExperimentAssignment",
|
|
10813
11026
|
"createExperimentGroup",
|
|
@@ -10837,8 +11050,8 @@ var WORKSPACE_METHOD_NAMES = [
|
|
|
10837
11050
|
"createScenario",
|
|
10838
11051
|
"createSignup",
|
|
10839
11052
|
"createSite",
|
|
11053
|
+
"createSiteSource",
|
|
10840
11054
|
"createSlackApp",
|
|
10841
|
-
"createSnippet",
|
|
10842
11055
|
"createStep",
|
|
10843
11056
|
"createSupervisor",
|
|
10844
11057
|
"createTask",
|
|
@@ -10855,6 +11068,7 @@ var WORKSPACE_METHOD_NAMES = [
|
|
|
10855
11068
|
"deleteAssignment",
|
|
10856
11069
|
"deleteCalendar",
|
|
10857
11070
|
"deleteCalendarEvent",
|
|
11071
|
+
"deleteCalendarEventType",
|
|
10858
11072
|
"deleteCalendarSchedule",
|
|
10859
11073
|
"deleteChat",
|
|
10860
11074
|
"deleteChatFilter",
|
|
@@ -10864,13 +11078,13 @@ var WORKSPACE_METHOD_NAMES = [
|
|
|
10864
11078
|
"deleteConnection",
|
|
10865
11079
|
"deleteCustomTool",
|
|
10866
11080
|
"deleteCustomToolkit",
|
|
11081
|
+
"deleteDashboard",
|
|
10867
11082
|
"deleteDataRecord",
|
|
10868
11083
|
"deleteDataRecordFilter",
|
|
10869
11084
|
"deleteDataType",
|
|
10870
11085
|
"deleteDiscordBot",
|
|
10871
11086
|
"deleteEnrollment",
|
|
10872
11087
|
"deleteEventRule",
|
|
10873
|
-
"deleteEventType",
|
|
10874
11088
|
"deleteExperiment",
|
|
10875
11089
|
"deleteExperimentAssignment",
|
|
10876
11090
|
"deleteExperimentGroup",
|
|
@@ -10904,7 +11118,6 @@ var WORKSPACE_METHOD_NAMES = [
|
|
|
10904
11118
|
"deleteScenario",
|
|
10905
11119
|
"deleteSite",
|
|
10906
11120
|
"deleteSlackApp",
|
|
10907
|
-
"deleteSnippet",
|
|
10908
11121
|
"deleteSupervisor",
|
|
10909
11122
|
"deleteTask",
|
|
10910
11123
|
"deleteTeamsApp",
|
|
@@ -10928,10 +11141,13 @@ var WORKSPACE_METHOD_NAMES = [
|
|
|
10928
11141
|
"disconnectMondayConnection",
|
|
10929
11142
|
"disconnectPresence",
|
|
10930
11143
|
"disconnectSalesforce",
|
|
11144
|
+
"discordLinkPreflight",
|
|
10931
11145
|
"discoverOAuthMetadata",
|
|
10932
11146
|
"dismissAllNotifications",
|
|
10933
11147
|
"dismissNotification",
|
|
10934
11148
|
"downloadEmailAttachment",
|
|
11149
|
+
"downloadFilesZip",
|
|
11150
|
+
"downloadSiteSourceZip",
|
|
10935
11151
|
"editWorkflowRevisionAsDraft",
|
|
10936
11152
|
"enableConfluence",
|
|
10937
11153
|
"enableCustomToolkit",
|
|
@@ -10948,9 +11164,11 @@ var WORKSPACE_METHOD_NAMES = [
|
|
|
10948
11164
|
"exportChat",
|
|
10949
11165
|
"exportChats",
|
|
10950
11166
|
"exportMembers",
|
|
11167
|
+
"exportPhoneNumberOutboundAnalyticsCsv",
|
|
10951
11168
|
"exportWorkspace",
|
|
10952
11169
|
"fetchVoicemailAudio",
|
|
10953
11170
|
"fhirBackfillEncounterSync",
|
|
11171
|
+
"fhirCheckPatientLinks",
|
|
10954
11172
|
"fhirCreateEncounter",
|
|
10955
11173
|
"fhirCsvImportApply",
|
|
10956
11174
|
"fhirCsvImportInspect",
|
|
@@ -11001,15 +11219,15 @@ var WORKSPACE_METHOD_NAMES = [
|
|
|
11001
11219
|
"getAvailableActions",
|
|
11002
11220
|
"getAvailablePhoneNumbers",
|
|
11003
11221
|
"getAvailableSlots",
|
|
11004
|
-
"getBoardColumns",
|
|
11005
|
-
"getBoardGroups",
|
|
11006
|
-
"getBoards",
|
|
11007
11222
|
"getBusinessHoursStatus",
|
|
11008
11223
|
"getCalendar",
|
|
11009
11224
|
"getCalendarEvent",
|
|
11225
|
+
"getCalendarEventType",
|
|
11226
|
+
"getCalendarEventTypes",
|
|
11010
11227
|
"getCalendarEvents",
|
|
11011
11228
|
"getCalendarSchedules",
|
|
11012
11229
|
"getCalendars",
|
|
11230
|
+
"getCallRecordingDownloadUrl",
|
|
11013
11231
|
"getCelContext",
|
|
11014
11232
|
"getCharlestonTestDeliveryRecipients",
|
|
11015
11233
|
"getChat",
|
|
@@ -11024,6 +11242,7 @@ var WORKSPACE_METHOD_NAMES = [
|
|
|
11024
11242
|
"getChatLabelByUuid",
|
|
11025
11243
|
"getChatLabels",
|
|
11026
11244
|
"getChatMessages",
|
|
11245
|
+
"getChatModelOverride",
|
|
11027
11246
|
"getChatPhoneCalls",
|
|
11028
11247
|
"getChatSkills",
|
|
11029
11248
|
"getChatTodos",
|
|
@@ -11033,6 +11252,7 @@ var WORKSPACE_METHOD_NAMES = [
|
|
|
11033
11252
|
"getChats",
|
|
11034
11253
|
"getChatsDailyCreationStats",
|
|
11035
11254
|
"getChatsNeedsResponse",
|
|
11255
|
+
"getChildThreadMessages",
|
|
11036
11256
|
"getClientWorkspace",
|
|
11037
11257
|
"getConfluenceStatus",
|
|
11038
11258
|
"getConnectionSyncCapabilities",
|
|
@@ -11040,9 +11260,12 @@ var WORKSPACE_METHOD_NAMES = [
|
|
|
11040
11260
|
"getConnectionSyncConfig",
|
|
11041
11261
|
"getCredentialUpdateInvites",
|
|
11042
11262
|
"getCurrentMember",
|
|
11043
|
-
"getCurrentUserInfo",
|
|
11044
11263
|
"getCustomToolkit",
|
|
11045
11264
|
"getCustomToolkits",
|
|
11265
|
+
"getDashboard",
|
|
11266
|
+
"getDashboardChannelStats",
|
|
11267
|
+
"getDashboardWorkflowAssignmentStats",
|
|
11268
|
+
"getDashboards",
|
|
11046
11269
|
"getDataRecord",
|
|
11047
11270
|
"getDataRecordChanges",
|
|
11048
11271
|
"getDataRecordFilter",
|
|
@@ -11059,10 +11282,11 @@ var WORKSPACE_METHOD_NAMES = [
|
|
|
11059
11282
|
"getDiscordBots",
|
|
11060
11283
|
"getDiscordGuilds",
|
|
11061
11284
|
"getDiscordThreads",
|
|
11285
|
+
"getDocumoFaxSetup",
|
|
11286
|
+
"listDocumoFaxes",
|
|
11287
|
+
"getDocumoFaxStatus",
|
|
11062
11288
|
"getEventRule",
|
|
11063
11289
|
"getEventRules",
|
|
11064
|
-
"getEventType",
|
|
11065
|
-
"getEventTypes",
|
|
11066
11290
|
"getExperiment",
|
|
11067
11291
|
"getExperimentStats",
|
|
11068
11292
|
"getExperiments",
|
|
@@ -11071,6 +11295,26 @@ var WORKSPACE_METHOD_NAMES = [
|
|
|
11071
11295
|
"getFhirConnections",
|
|
11072
11296
|
"getFieldIndexStatus",
|
|
11073
11297
|
"getFile",
|
|
11298
|
+
"getMondayBoardColumns",
|
|
11299
|
+
"getMondayBoardGroups",
|
|
11300
|
+
"getMondayBoards",
|
|
11301
|
+
"getMondayCurrentUserInfo",
|
|
11302
|
+
"getMotd",
|
|
11303
|
+
"getPhoneNumberOutboundAnalyticsCalls",
|
|
11304
|
+
"getPhoneNumberOutboundAnalyticsSummary",
|
|
11305
|
+
"getQueryFields",
|
|
11306
|
+
"getSiteSharing",
|
|
11307
|
+
"getSiteSource",
|
|
11308
|
+
"getSiteSourceTemplates",
|
|
11309
|
+
"getThemeSettings",
|
|
11310
|
+
"importSiteSourceZip",
|
|
11311
|
+
"installDocumoFax",
|
|
11312
|
+
"listChatRecordings",
|
|
11313
|
+
"previewQuery",
|
|
11314
|
+
"publishSiteSource",
|
|
11315
|
+
"registerDiscordSlashCommands",
|
|
11316
|
+
"reopenWorkspaceSupportRequest",
|
|
11317
|
+
"resetSiteSource",
|
|
11074
11318
|
"resolveFilePath",
|
|
11075
11319
|
"getFileLabel",
|
|
11076
11320
|
"getFileLabelByUuid",
|
|
@@ -11081,6 +11325,7 @@ var WORKSPACE_METHOD_NAMES = [
|
|
|
11081
11325
|
"getFiles",
|
|
11082
11326
|
"getFirstRunState",
|
|
11083
11327
|
"getFolder",
|
|
11328
|
+
"getFolderMemberAccess",
|
|
11084
11329
|
"getFolderSharing",
|
|
11085
11330
|
"getFolders",
|
|
11086
11331
|
"getGoogleCalendarStatus",
|
|
@@ -11102,6 +11347,7 @@ var WORKSPACE_METHOD_NAMES = [
|
|
|
11102
11347
|
"getInboxThreads",
|
|
11103
11348
|
"getInboxes",
|
|
11104
11349
|
"getJourney",
|
|
11350
|
+
"getJourneyAuthoring",
|
|
11105
11351
|
"getJourneyHealth",
|
|
11106
11352
|
"getJourneyMembers",
|
|
11107
11353
|
"getJourneyNotes",
|
|
@@ -11166,6 +11412,7 @@ var WORKSPACE_METHOD_NAMES = [
|
|
|
11166
11412
|
"getPhoneCalls",
|
|
11167
11413
|
"getPhoneNumber",
|
|
11168
11414
|
"getPhoneNumberCalls",
|
|
11415
|
+
"getPhoneNumberFaxes",
|
|
11169
11416
|
"getPhoneNumberMessages",
|
|
11170
11417
|
"getPhoneNumberVoicemails",
|
|
11171
11418
|
"getPhoneNumbers",
|
|
@@ -11203,7 +11450,6 @@ var WORKSPACE_METHOD_NAMES = [
|
|
|
11203
11450
|
"getSlackApps",
|
|
11204
11451
|
"getSlackInstallations",
|
|
11205
11452
|
"getSlackThreads",
|
|
11206
|
-
"getSnippet",
|
|
11207
11453
|
"getStepMemberCounts",
|
|
11208
11454
|
"getStepMembers",
|
|
11209
11455
|
"getSupervisor",
|
|
@@ -11241,7 +11487,6 @@ var WORKSPACE_METHOD_NAMES = [
|
|
|
11241
11487
|
"getWorkflowNotes",
|
|
11242
11488
|
"getWorkflowRevision",
|
|
11243
11489
|
"getWorkflowRevisions",
|
|
11244
|
-
"getWorkflowRouteDryRun",
|
|
11245
11490
|
"getWorkflowTaskAssignmentStats",
|
|
11246
11491
|
"getWorkflowTemplates",
|
|
11247
11492
|
"getWorkflowThumbnailUrl",
|
|
@@ -11271,6 +11516,7 @@ var WORKSPACE_METHOD_NAMES = [
|
|
|
11271
11516
|
"initiateOutboundCall",
|
|
11272
11517
|
"inspectPrompt",
|
|
11273
11518
|
"installHubspot",
|
|
11519
|
+
"installDocumoFax",
|
|
11274
11520
|
"installMondayConnection",
|
|
11275
11521
|
"installSalesforce",
|
|
11276
11522
|
"inviteMemberCredentialUpdate",
|
|
@@ -11289,6 +11535,10 @@ var WORKSPACE_METHOD_NAMES = [
|
|
|
11289
11535
|
"listConfluencePages",
|
|
11290
11536
|
"listConfluenceSpaces",
|
|
11291
11537
|
"listConnectionMemberFieldKeys",
|
|
11538
|
+
"rollbackSiteSource",
|
|
11539
|
+
"rotateDocumoFaxCredentials",
|
|
11540
|
+
"runQuery",
|
|
11541
|
+
"sendMemberPhoneConfirmation",
|
|
11292
11542
|
"setDefaultGooglePlatformAccount",
|
|
11293
11543
|
"listFileVersions",
|
|
11294
11544
|
"listGoogleCalendars",
|
|
@@ -11297,8 +11547,8 @@ var WORKSPACE_METHOD_NAMES = [
|
|
|
11297
11547
|
"listHealthieProviders",
|
|
11298
11548
|
"listPersonas",
|
|
11299
11549
|
"listPushSubscriptions",
|
|
11550
|
+
"listSalesforceObjects",
|
|
11300
11551
|
"listScenarios",
|
|
11301
|
-
"listSnippets",
|
|
11302
11552
|
"listTestChatRuns",
|
|
11303
11553
|
"listWidgetDomains",
|
|
11304
11554
|
"listWorkspaceInvitationsAdmin",
|
|
@@ -11321,7 +11571,6 @@ var WORKSPACE_METHOD_NAMES = [
|
|
|
11321
11571
|
"reenrollMember",
|
|
11322
11572
|
"registerLinkedRolesMetadata",
|
|
11323
11573
|
"registerPushSubscription",
|
|
11324
|
-
"registerSlashCommands",
|
|
11325
11574
|
"reindexFolder",
|
|
11326
11575
|
"releasePhoneNumber",
|
|
11327
11576
|
"removeFileRole",
|
|
@@ -11330,6 +11579,7 @@ var WORKSPACE_METHOD_NAMES = [
|
|
|
11330
11579
|
"reorderEventRules",
|
|
11331
11580
|
"reorderMenuItems",
|
|
11332
11581
|
"replyToEmail",
|
|
11582
|
+
"rotateDocumoFaxCredentials",
|
|
11333
11583
|
"requestPhoneNumber",
|
|
11334
11584
|
"requestWorkspaceMembership",
|
|
11335
11585
|
"resetRoutineRuns",
|
|
@@ -11367,11 +11617,13 @@ var WORKSPACE_METHOD_NAMES = [
|
|
|
11367
11617
|
"testMcpServerConnection",
|
|
11368
11618
|
"testMondayConnection",
|
|
11369
11619
|
"testRunJourney",
|
|
11620
|
+
"testWebhook",
|
|
11370
11621
|
"toggleFieldIndex",
|
|
11371
11622
|
"unarchiveAgent",
|
|
11372
11623
|
"unarchiveChat",
|
|
11373
11624
|
"unarchiveDataType",
|
|
11374
11625
|
"unarchiveMember",
|
|
11626
|
+
"unarchiveStep",
|
|
11375
11627
|
"unarchiveTask",
|
|
11376
11628
|
"unarchiveWorkflow",
|
|
11377
11629
|
"unenrollMembers",
|
|
@@ -11388,10 +11640,12 @@ var WORKSPACE_METHOD_NAMES = [
|
|
|
11388
11640
|
"updateAssignment",
|
|
11389
11641
|
"updateCalendar",
|
|
11390
11642
|
"updateCalendarEvent",
|
|
11643
|
+
"updateCalendarEventType",
|
|
11391
11644
|
"updateCalendarSchedule",
|
|
11392
11645
|
"updateChat",
|
|
11393
11646
|
"updateChatFilter",
|
|
11394
11647
|
"updateChatLabel",
|
|
11648
|
+
"updateChatModelOverride",
|
|
11395
11649
|
"updateChatMute",
|
|
11396
11650
|
"updateChatNeedsResponse",
|
|
11397
11651
|
"updateClientWorkspace",
|
|
@@ -11400,13 +11654,13 @@ var WORKSPACE_METHOD_NAMES = [
|
|
|
11400
11654
|
"updateCurrentMember",
|
|
11401
11655
|
"updateCustomTool",
|
|
11402
11656
|
"updateCustomToolkit",
|
|
11657
|
+
"updateDashboard",
|
|
11403
11658
|
"updateDataRecord",
|
|
11404
11659
|
"updateDataRecordFilter",
|
|
11405
11660
|
"updateDataType",
|
|
11406
11661
|
"updateDiscordBot",
|
|
11407
11662
|
"updateEventAttendee",
|
|
11408
11663
|
"updateEventRule",
|
|
11409
|
-
"updateEventType",
|
|
11410
11664
|
"updateExperiment",
|
|
11411
11665
|
"updateExperimentAssignment",
|
|
11412
11666
|
"updateExperimentGroup",
|
|
@@ -11443,12 +11697,13 @@ var WORKSPACE_METHOD_NAMES = [
|
|
|
11443
11697
|
"updateSalesforceSyncConfig",
|
|
11444
11698
|
"updateScenario",
|
|
11445
11699
|
"updateSite",
|
|
11700
|
+
"updateSiteSharing",
|
|
11446
11701
|
"updateSlackApp",
|
|
11447
|
-
"updateSnippet",
|
|
11448
11702
|
"updateStep",
|
|
11449
11703
|
"updateSupervisor",
|
|
11450
11704
|
"updateTask",
|
|
11451
11705
|
"updateTeamsApp",
|
|
11706
|
+
"updateThemeSettings",
|
|
11452
11707
|
"uploadFile",
|
|
11453
11708
|
"updateVoicemailStatus",
|
|
11454
11709
|
"updateWorkflow",
|
|
@@ -11461,8 +11716,11 @@ var WORKSPACE_METHOD_NAMES = [
|
|
|
11461
11716
|
"updateWorkspaceThemes",
|
|
11462
11717
|
"upsertDataRecord",
|
|
11463
11718
|
"upsertWidgetDomain",
|
|
11719
|
+
"validateCelExpression",
|
|
11464
11720
|
"validateDataTypeSlug",
|
|
11465
|
-
"
|
|
11721
|
+
"validateQuery",
|
|
11722
|
+
"validateWorkflowName",
|
|
11723
|
+
"verifyDocumoFax"
|
|
11466
11724
|
];
|
|
11467
11725
|
var WORKSPACE_METHOD_NAME_SET = new Set(WORKSPACE_METHOD_NAMES);
|
|
11468
11726
|
function createWorkspaceClient(root, workspaceUuid) {
|
|
@@ -11557,6 +11815,7 @@ function bindChatsMethods(target, chats) {
|
|
|
11557
11815
|
target.updateChatNeedsResponse = chats.updateChatNeedsResponse.bind(chats);
|
|
11558
11816
|
target.summarizeChat = chats.summarizeChat.bind(chats);
|
|
11559
11817
|
target.getChatMessages = chats.getChatMessages.bind(chats);
|
|
11818
|
+
target.getChildThreadMessages = chats.getChildThreadMessages.bind(chats);
|
|
11560
11819
|
target.getChatToolCallMessages = chats.getChatToolCallMessages.bind(chats);
|
|
11561
11820
|
target.getChatTools = chats.getChatTools.bind(chats);
|
|
11562
11821
|
target.initiateOutboundCall = chats.initiateOutboundCall.bind(chats);
|
|
@@ -11595,6 +11854,7 @@ function bindCallsMethods(target, calls, cel) {
|
|
|
11595
11854
|
target.listChatRecordings = calls.listChatRecordings.bind(calls);
|
|
11596
11855
|
target.getCallRecordingDownloadUrl = calls.getCallRecordingDownloadUrl.bind(calls);
|
|
11597
11856
|
target.getCelContext = cel.getCelContext.bind(cel);
|
|
11857
|
+
target.validateCelExpression = cel.validateCelExpression.bind(cel);
|
|
11598
11858
|
}
|
|
11599
11859
|
|
|
11600
11860
|
// src/client/bindings/dashboards.ts
|
|
@@ -11911,6 +12171,7 @@ function bindFilesMethods(target, files) {
|
|
|
11911
12171
|
target.updateFileRoles = files.updateFileRoles.bind(files);
|
|
11912
12172
|
target.removeFileRole = files.removeFileRole.bind(files);
|
|
11913
12173
|
target.getFolderSharing = files.getFolderSharing.bind(files);
|
|
12174
|
+
target.getFolderMemberAccess = files.getFolderMemberAccess.bind(files);
|
|
11914
12175
|
target.updateFolderRoles = files.updateFolderRoles.bind(files);
|
|
11915
12176
|
target.removeFolderRole = files.removeFolderRole.bind(files);
|
|
11916
12177
|
target.updateFileSharing = files.updateFileSharing.bind(files);
|
|
@@ -12067,6 +12328,7 @@ function bindCommunicationsMethods(target, phoneNumbers, inboxes, notificationRu
|
|
|
12067
12328
|
target.getPhoneNumberOutboundAnalyticsCalls = phoneNumbers.getPhoneNumberOutboundAnalyticsCalls.bind(phoneNumbers);
|
|
12068
12329
|
target.exportPhoneNumberOutboundAnalyticsCsv = phoneNumbers.exportPhoneNumberOutboundAnalyticsCsv.bind(phoneNumbers);
|
|
12069
12330
|
target.getPhoneNumberMessages = phoneNumbers.getPhoneNumberMessages.bind(phoneNumbers);
|
|
12331
|
+
target.getPhoneNumberFaxes = phoneNumbers.getPhoneNumberFaxes.bind(phoneNumbers);
|
|
12070
12332
|
target.getPhoneNumberVoicemails = phoneNumbers.getPhoneNumberVoicemails.bind(phoneNumbers);
|
|
12071
12333
|
target.fetchVoicemailAudio = phoneNumbers.fetchVoicemailAudio.bind(phoneNumbers);
|
|
12072
12334
|
target.updateVoicemailStatus = phoneNumbers.updateVoicemailStatus.bind(phoneNumbers);
|
|
@@ -12190,7 +12452,7 @@ function bindAppsMethods(target, apps, builders, inquiries, oauth, oauthConnecti
|
|
|
12190
12452
|
}
|
|
12191
12453
|
|
|
12192
12454
|
// src/client/bindings/integrations.ts
|
|
12193
|
-
function bindIntegrationsMethods(target, mondayIntegration, discordBots, slackApps, teamsApps, fhirConnections, patientSyncConnections, healthie, salesforce, hubspot, appConnections, connectionSync, confluence) {
|
|
12455
|
+
function bindIntegrationsMethods(target, mondayIntegration, discordBots, slackApps, teamsApps, fhirConnections, patientSyncConnections, healthie, documoFax, salesforce, hubspot, appConnections, connectionSync, confluence) {
|
|
12194
12456
|
target.getMondayBoards = mondayIntegration.getBoards.bind(mondayIntegration);
|
|
12195
12457
|
target.getMondayBoardColumns = mondayIntegration.getBoardColumns.bind(mondayIntegration);
|
|
12196
12458
|
target.getMondayBoardGroups = mondayIntegration.getBoardGroups.bind(mondayIntegration);
|
|
@@ -12262,6 +12524,7 @@ function bindIntegrationsMethods(target, mondayIntegration, discordBots, slackAp
|
|
|
12262
12524
|
target.fhirFetchEncounters = fhirConnections.fhirFetchEncounters.bind(fhirConnections);
|
|
12263
12525
|
target.fhirCreateEncounter = fhirConnections.fhirCreateEncounter.bind(fhirConnections);
|
|
12264
12526
|
target.fhirListLinkedMembers = fhirConnections.fhirListLinkedMembers.bind(fhirConnections);
|
|
12527
|
+
target.fhirCheckPatientLinks = fhirConnections.fhirCheckPatientLinks.bind(fhirConnections);
|
|
12265
12528
|
target.fhirLinkMember = fhirConnections.fhirLinkMember.bind(fhirConnections);
|
|
12266
12529
|
target.fhirUnlinkMember = fhirConnections.fhirUnlinkMember.bind(fhirConnections);
|
|
12267
12530
|
target.fhirSyncMember = fhirConnections.fhirSyncMember.bind(fhirConnections);
|
|
@@ -12281,6 +12544,13 @@ function bindIntegrationsMethods(target, mondayIntegration, discordBots, slackAp
|
|
|
12281
12544
|
target.configurePatientSync = patientSyncConnections.configurePatientSync.bind(patientSyncConnections);
|
|
12282
12545
|
target.getPatientSyncStatus = patientSyncConnections.getPatientSyncStatus.bind(patientSyncConnections);
|
|
12283
12546
|
target.deletePatientSyncConnection = patientSyncConnections.deletePatientSyncConnection.bind(patientSyncConnections);
|
|
12547
|
+
target.getDocumoFaxStatus = documoFax.getDocumoFaxStatus.bind(documoFax);
|
|
12548
|
+
target.getDocumoFaxSetup = documoFax.getDocumoFaxSetup.bind(documoFax);
|
|
12549
|
+
target.listDocumoFaxes = documoFax.listDocumoFaxes.bind(documoFax);
|
|
12550
|
+
target.installDocumoFax = documoFax.installDocumoFax.bind(documoFax);
|
|
12551
|
+
target.configureDocumoFax = documoFax.configureDocumoFax.bind(documoFax);
|
|
12552
|
+
target.verifyDocumoFax = documoFax.verifyDocumoFax.bind(documoFax);
|
|
12553
|
+
target.rotateDocumoFaxCredentials = documoFax.rotateDocumoFaxCredentials.bind(documoFax);
|
|
12284
12554
|
target.configureHealthie = healthie.configureHealthie.bind(healthie);
|
|
12285
12555
|
target.getHealthieStatus = healthie.getHealthieStatus.bind(healthie);
|
|
12286
12556
|
target.listHealthieProviders = healthie.listHealthieProviders.bind(healthie);
|
|
@@ -12319,6 +12589,7 @@ function bindIntegrationsMethods(target, mondayIntegration, discordBots, slackAp
|
|
|
12319
12589
|
target.getLinkedSalesforceMembers = salesforce.getLinkedSalesforceMembers.bind(salesforce);
|
|
12320
12590
|
target.getSalesforceSyncConfig = salesforce.getSalesforceSyncConfig.bind(salesforce);
|
|
12321
12591
|
target.updateSalesforceSyncConfig = salesforce.updateSalesforceSyncConfig.bind(salesforce);
|
|
12592
|
+
target.listSalesforceObjects = salesforce.listSalesforceObjects.bind(salesforce);
|
|
12322
12593
|
target.describeSalesforceObject = salesforce.describeSalesforceObject.bind(salesforce);
|
|
12323
12594
|
target.searchSalesforceRecords = salesforce.searchSalesforceRecords.bind(salesforce);
|
|
12324
12595
|
target.importSalesforceMembers = salesforce.importSalesforceMembers.bind(salesforce);
|
|
@@ -12420,6 +12691,7 @@ function bindPronunciationsMethods(target, pronunciations) {
|
|
|
12420
12691
|
function bindJourneysMethods(target, journeys) {
|
|
12421
12692
|
target.getJourneys = journeys.getJourneys.bind(journeys);
|
|
12422
12693
|
target.getJourney = journeys.getJourney.bind(journeys);
|
|
12694
|
+
target.getJourneyAuthoring = journeys.getJourneyAuthoring.bind(journeys);
|
|
12423
12695
|
target.getJourneyHealth = journeys.getJourneyHealth.bind(journeys);
|
|
12424
12696
|
target.createJourney = journeys.createJourney.bind(journeys);
|
|
12425
12697
|
target.updateJourney = journeys.updateJourney.bind(journeys);
|
|
@@ -12427,6 +12699,7 @@ function bindJourneysMethods(target, journeys) {
|
|
|
12427
12699
|
target.createStep = journeys.createStep.bind(journeys);
|
|
12428
12700
|
target.updateStep = journeys.updateStep.bind(journeys);
|
|
12429
12701
|
target.archiveStep = journeys.archiveStep.bind(journeys);
|
|
12702
|
+
target.unarchiveStep = journeys.unarchiveStep.bind(journeys);
|
|
12430
12703
|
target.createConnection = journeys.createConnection.bind(journeys);
|
|
12431
12704
|
target.updateConnection = journeys.updateConnection.bind(journeys);
|
|
12432
12705
|
target.deleteConnection = journeys.deleteConnection.bind(journeys);
|
|
@@ -12580,6 +12853,7 @@ var GravityRailClient = class {
|
|
|
12580
12853
|
updateChatNeedsResponse;
|
|
12581
12854
|
summarizeChat;
|
|
12582
12855
|
getChatMessages;
|
|
12856
|
+
getChildThreadMessages;
|
|
12583
12857
|
getChatToolCallMessages;
|
|
12584
12858
|
getChatTools;
|
|
12585
12859
|
initiateOutboundCall;
|
|
@@ -12615,6 +12889,7 @@ var GravityRailClient = class {
|
|
|
12615
12889
|
listChatRecordings;
|
|
12616
12890
|
getCallRecordingDownloadUrl;
|
|
12617
12891
|
getCelContext;
|
|
12892
|
+
validateCelExpression;
|
|
12618
12893
|
// Data Types API
|
|
12619
12894
|
getDataTypes;
|
|
12620
12895
|
getDataType;
|
|
@@ -12753,6 +13028,7 @@ var GravityRailClient = class {
|
|
|
12753
13028
|
// Journeys API
|
|
12754
13029
|
getJourneys;
|
|
12755
13030
|
getJourney;
|
|
13031
|
+
getJourneyAuthoring;
|
|
12756
13032
|
getJourneyHealth;
|
|
12757
13033
|
createJourney;
|
|
12758
13034
|
updateJourney;
|
|
@@ -12760,6 +13036,7 @@ var GravityRailClient = class {
|
|
|
12760
13036
|
createStep;
|
|
12761
13037
|
updateStep;
|
|
12762
13038
|
archiveStep;
|
|
13039
|
+
unarchiveStep;
|
|
12763
13040
|
createConnection;
|
|
12764
13041
|
updateConnection;
|
|
12765
13042
|
deleteConnection;
|
|
@@ -13040,6 +13317,7 @@ var GravityRailClient = class {
|
|
|
13040
13317
|
updateFileRoles;
|
|
13041
13318
|
removeFileRole;
|
|
13042
13319
|
getFolderSharing;
|
|
13320
|
+
getFolderMemberAccess;
|
|
13043
13321
|
updateFolderRoles;
|
|
13044
13322
|
removeFolderRole;
|
|
13045
13323
|
updateFileSharing;
|
|
@@ -13168,6 +13446,7 @@ var GravityRailClient = class {
|
|
|
13168
13446
|
getPhoneNumberOutboundAnalyticsCalls;
|
|
13169
13447
|
exportPhoneNumberOutboundAnalyticsCsv;
|
|
13170
13448
|
getPhoneNumberMessages;
|
|
13449
|
+
getPhoneNumberFaxes;
|
|
13171
13450
|
getPhoneNumberVoicemails;
|
|
13172
13451
|
fetchVoicemailAudio;
|
|
13173
13452
|
updateVoicemailStatus;
|
|
@@ -13356,6 +13635,7 @@ var GravityRailClient = class {
|
|
|
13356
13635
|
fhirFetchEncounters;
|
|
13357
13636
|
fhirCreateEncounter;
|
|
13358
13637
|
fhirListLinkedMembers;
|
|
13638
|
+
fhirCheckPatientLinks;
|
|
13359
13639
|
fhirLinkMember;
|
|
13360
13640
|
fhirUnlinkMember;
|
|
13361
13641
|
fhirSyncMember;
|
|
@@ -13373,6 +13653,13 @@ var GravityRailClient = class {
|
|
|
13373
13653
|
fhirRefreshEncounterPatient;
|
|
13374
13654
|
fhirBackfillEncounterSync;
|
|
13375
13655
|
// Healthie API
|
|
13656
|
+
getDocumoFaxStatus;
|
|
13657
|
+
getDocumoFaxSetup;
|
|
13658
|
+
listDocumoFaxes;
|
|
13659
|
+
installDocumoFax;
|
|
13660
|
+
configureDocumoFax;
|
|
13661
|
+
verifyDocumoFax;
|
|
13662
|
+
rotateDocumoFaxCredentials;
|
|
13376
13663
|
configurePatientSync;
|
|
13377
13664
|
getPatientSyncStatus;
|
|
13378
13665
|
deletePatientSyncConnection;
|
|
@@ -13416,6 +13703,7 @@ var GravityRailClient = class {
|
|
|
13416
13703
|
getLinkedSalesforceMembers;
|
|
13417
13704
|
getSalesforceSyncConfig;
|
|
13418
13705
|
updateSalesforceSyncConfig;
|
|
13706
|
+
listSalesforceObjects;
|
|
13419
13707
|
describeSalesforceObject;
|
|
13420
13708
|
searchSalesforceRecords;
|
|
13421
13709
|
importSalesforceMembers;
|
|
@@ -13566,6 +13854,7 @@ var GravityRailClient = class {
|
|
|
13566
13854
|
apis.fhirConnections,
|
|
13567
13855
|
apis.patientSyncConnections,
|
|
13568
13856
|
apis.healthie,
|
|
13857
|
+
apis.documoFax,
|
|
13569
13858
|
apis.salesforce,
|
|
13570
13859
|
apis.hubspot,
|
|
13571
13860
|
apis.appConnections,
|
|
@@ -13682,6 +13971,7 @@ var GravityRailClient = class {
|
|
|
13682
13971
|
};
|
|
13683
13972
|
// Annotate the CommonJS export names for ESM import in node:
|
|
13684
13973
|
0 && (module.exports = {
|
|
13974
|
+
AGENT_NOTE_ORIGINS,
|
|
13685
13975
|
AIModelsApi,
|
|
13686
13976
|
AbilitiesApi,
|
|
13687
13977
|
AbilityConfigIssueCode,
|
|
@@ -13926,12 +14216,14 @@ var GravityRailClient = class {
|
|
|
13926
14216
|
getTTSProvider,
|
|
13927
14217
|
getVoiceModelId,
|
|
13928
14218
|
initializeFeatures,
|
|
14219
|
+
isAgentNoteOrigin,
|
|
13929
14220
|
isChatType,
|
|
13930
14221
|
isFeatureAvailable,
|
|
13931
14222
|
isPositiveRating,
|
|
13932
14223
|
isRegistryInitialized,
|
|
13933
14224
|
isSMSDeliveryFailureStatus,
|
|
13934
14225
|
parseExperimentStatCount,
|
|
14226
|
+
parseOrgAuthChallenge,
|
|
13935
14227
|
requiresAssistantParticipant,
|
|
13936
14228
|
usesBuiltinAssistant,
|
|
13937
14229
|
validateFeatureDependencies
|