@gravity-rail/sdk 0.13.0 → 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-MUEM2BLY.js → chunk-K4MDFGMO.js} +325 -26
- package/dist/chunk-K4MDFGMO.js.map +1 -0
- package/dist/{client-BGs2ArRW.d.ts → client-CKudWmUT.d.cts} +745 -50
- package/dist/{client-DlndHSuK.d.cts → client-EAvh7w0y.d.ts} +745 -50
- 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 +334 -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 +319 -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-DV77AxSI.d.ts → revision-state-BUBt9Rir.d.ts} +9 -4
- package/dist/{revision-state-Dz5sHCgJ.d.cts → revision-state-CY4LBdfa.d.cts} +9 -4
- package/dist/schemas.cjs +38 -1
- package/dist/schemas.cjs.map +1 -1
- package/dist/schemas.d.cts +68 -3
- package/dist/schemas.d.ts +68 -3
- package/dist/schemas.js +36 -1
- package/dist/schemas.js.map +1 -1
- package/dist/{tasks-Bz1JR0r0.d.cts → tasks-iRrM4SaF.d.cts} +43 -3
- package/dist/{tasks-Bz1JR0r0.d.ts → tasks-iRrM4SaF.d.ts} +43 -3
- package/package.json +2 -2
- package/dist/chunk-FSSXKQR5.js.map +0 -1
- package/dist/chunk-MUEM2BLY.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) => {
|
|
@@ -499,6 +504,9 @@ var EventRuleActionType = /* @__PURE__ */ ((EventRuleActionType2) => {
|
|
|
499
504
|
EventRuleActionType2["ASSISTANT_MESSAGE"] = "assistant:message";
|
|
500
505
|
EventRuleActionType2["FORM_FIELD_UPDATE"] = "form:update_field";
|
|
501
506
|
EventRuleActionType2["CEL_MUTATE"] = "record:cel_mutate";
|
|
507
|
+
EventRuleActionType2["RECORD_COPY_FIELDS"] = "record:copy_fields";
|
|
508
|
+
EventRuleActionType2["RECORD_UPSERT_LINKED"] = "record:upsert_linked";
|
|
509
|
+
EventRuleActionType2["RECORD_VERIFY_FIELDS"] = "record:verify_fields";
|
|
502
510
|
EventRuleActionType2["MESSAGE_VALIDATION"] = "message:validation";
|
|
503
511
|
EventRuleActionType2["CHAT_CREATE"] = "chat:create";
|
|
504
512
|
EventRuleActionType2["CHAT_CONTINUE"] = "chat:continue";
|
|
@@ -538,12 +546,14 @@ var WorkspaceFeature = /* @__PURE__ */ ((WorkspaceFeature2) => {
|
|
|
538
546
|
WorkspaceFeature2["BROWSER"] = "browser";
|
|
539
547
|
WorkspaceFeature2["WEB_SEARCH"] = "web_search";
|
|
540
548
|
WorkspaceFeature2["CALENDAR"] = "calendar";
|
|
541
|
-
WorkspaceFeature2["JOURNEYS"] = "journeys";
|
|
542
549
|
WorkspaceFeature2["EXPERIMENTS"] = "experiments";
|
|
543
550
|
WorkspaceFeature2["OPERATOR"] = "operator";
|
|
544
551
|
WorkspaceFeature2["GMAIL"] = "gmail";
|
|
545
552
|
WorkspaceFeature2["GCALENDAR"] = "gcalendar";
|
|
553
|
+
WorkspaceFeature2["GDRIVE"] = "gdrive";
|
|
554
|
+
WorkspaceFeature2["GSHEETS"] = "gsheets";
|
|
546
555
|
WorkspaceFeature2["MONDAY"] = "monday";
|
|
556
|
+
WorkspaceFeature2["DOCUMO_FAX"] = "documo_fax";
|
|
547
557
|
WorkspaceFeature2["RESELL_PRODUCTS"] = "resell_products";
|
|
548
558
|
WorkspaceFeature2["SOC2_COMPLIANCE"] = "soc2_compliance";
|
|
549
559
|
WorkspaceFeature2["EHR_FHIR"] = "ehr_fhir";
|
|
@@ -833,6 +843,7 @@ var AccessGrantResourceType = /* @__PURE__ */ ((AccessGrantResourceType2) => {
|
|
|
833
843
|
})(AccessGrantResourceType || {});
|
|
834
844
|
var CapabilityClass = /* @__PURE__ */ ((CapabilityClass2) => {
|
|
835
845
|
CapabilityClass2["TOOL_ALWAYS_ALLOW"] = "tool.always_allow";
|
|
846
|
+
CapabilityClass2["SCOPE_ALWAYS_ALLOW"] = "scope.always_allow";
|
|
836
847
|
CapabilityClass2["SELF_MODIFICATION_SCHEDULE"] = "self_modification.schedule";
|
|
837
848
|
CapabilityClass2["ATTENTION_INTERRUPT_RUNG"] = "attention.interrupt_rung";
|
|
838
849
|
return CapabilityClass2;
|
|
@@ -890,6 +901,7 @@ var AbilityTypeSlugs = {
|
|
|
890
901
|
GMAIL: "integration:gmail",
|
|
891
902
|
GOOGLE_CALENDAR: "integration:google_calendar",
|
|
892
903
|
GOOGLE_DRIVE: "integration:google_drive",
|
|
904
|
+
GOOGLE_SHEETS: "integration:google_sheets",
|
|
893
905
|
CHARLESTON_PMD_PAGING: "integration:charleston_pmd_paging",
|
|
894
906
|
// Communication
|
|
895
907
|
PHONE_CALL_TOOLS: "communication:phone_call_tools",
|
|
@@ -1289,6 +1301,14 @@ var SMS_DELIVERY_FAILURE_STATUSES = /* @__PURE__ */ new Set([
|
|
|
1289
1301
|
function isSMSDeliveryFailureStatus(status) {
|
|
1290
1302
|
return status != null && SMS_DELIVERY_FAILURE_STATUSES.has(status);
|
|
1291
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
|
+
}
|
|
1292
1312
|
var POSITIVE_RATING_THRESHOLD = 0.5;
|
|
1293
1313
|
function isPositiveRating(rating) {
|
|
1294
1314
|
return rating != null && rating >= POSITIVE_RATING_THRESHOLD;
|
|
@@ -3904,6 +3924,12 @@ var CELApi = class extends BaseApiClient {
|
|
|
3904
3924
|
body: JSON.stringify(request)
|
|
3905
3925
|
});
|
|
3906
3926
|
}
|
|
3927
|
+
async validateCelExpression(wid, request) {
|
|
3928
|
+
return this.fetch(`w/${wid}/cel/validate`, {
|
|
3929
|
+
method: "POST",
|
|
3930
|
+
body: JSON.stringify(request)
|
|
3931
|
+
});
|
|
3932
|
+
}
|
|
3907
3933
|
};
|
|
3908
3934
|
|
|
3909
3935
|
// src/api/chats.ts
|
|
@@ -4121,6 +4147,24 @@ var ChatsApi = class extends BaseApiClient {
|
|
|
4121
4147
|
`w/${wid}/chats/${id}/messages${params.toString() ? `?${params.toString()}` : ""}`
|
|
4122
4148
|
);
|
|
4123
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
|
+
}
|
|
4124
4168
|
/** List messages associated with a specific tool call in a chat. */
|
|
4125
4169
|
async getChatToolCallMessages(wid, chatId, callId, limit = 100, offset = 0) {
|
|
4126
4170
|
const params = new URLSearchParams();
|
|
@@ -5506,6 +5550,17 @@ var FhirConnectionsApi = class extends BaseApiClient {
|
|
|
5506
5550
|
{ method: "POST", body: JSON.stringify(data) }
|
|
5507
5551
|
);
|
|
5508
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
|
+
}
|
|
5509
5564
|
// ==================== Encounter Sync ====================
|
|
5510
5565
|
async fhirGetEncounterSyncStatus(wid, connectionId) {
|
|
5511
5566
|
return this.fetch(`w/${wid}/app-connections/fhir/connections/${connectionId}/encounter-sync`);
|
|
@@ -5561,6 +5616,72 @@ var PatientSyncConnectionsApi = class extends BaseApiClient {
|
|
|
5561
5616
|
}
|
|
5562
5617
|
};
|
|
5563
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
|
+
|
|
5564
5685
|
// src/api/healthie.ts
|
|
5565
5686
|
var HealthieApi = class extends BaseApiClient {
|
|
5566
5687
|
async configureHealthie(wid, data) {
|
|
@@ -5894,6 +6015,16 @@ var FilesApi = class extends BaseApiClient {
|
|
|
5894
6015
|
async getFolderSharing(wid, folderId) {
|
|
5895
6016
|
return this.fetch(`w/${wid}/folders/${folderId}/sharing`);
|
|
5896
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
|
+
}
|
|
5897
6028
|
/** Update the role associations for a folder's sharing permissions. */
|
|
5898
6029
|
async updateFolderRoles(wid, folderId, data) {
|
|
5899
6030
|
return this.fetch(
|
|
@@ -7696,7 +7827,12 @@ var OrgApi = class extends BaseApiClient {
|
|
|
7696
7827
|
`o/${orgUuid}/legal-entities/${legalEntityUuid}/trust-products`
|
|
7697
7828
|
);
|
|
7698
7829
|
}
|
|
7699
|
-
/**
|
|
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
|
+
*/
|
|
7700
7836
|
async syncVoiceTrustProducts(orgUuid, legalEntityUuid) {
|
|
7701
7837
|
return this.fetch(
|
|
7702
7838
|
`o/${orgUuid}/legal-entities/${legalEntityUuid}/trust-products/sync`,
|
|
@@ -7839,6 +7975,9 @@ function getOAuthPath(providerSlug, action) {
|
|
|
7839
7975
|
if (providerSlug === "gdrive") {
|
|
7840
7976
|
return `oauth/google/drive/${action}`;
|
|
7841
7977
|
}
|
|
7978
|
+
if (providerSlug === "gsheets") {
|
|
7979
|
+
return `oauth/google/sheets/${action}`;
|
|
7980
|
+
}
|
|
7842
7981
|
return `oauth/${providerSlug}/${action}`;
|
|
7843
7982
|
}
|
|
7844
7983
|
function buildAuthorizeQuery(options) {
|
|
@@ -8014,6 +8153,32 @@ var PhoneNumbersApi = class extends BaseApiClient {
|
|
|
8014
8153
|
`w/${wid}/phone-numbers/${id}/messages?${params}`
|
|
8015
8154
|
);
|
|
8016
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
|
+
}
|
|
8017
8182
|
/** List provider phones available for linking to workspace phone numbers. */
|
|
8018
8183
|
async getLinkablePhones(wid) {
|
|
8019
8184
|
return this.fetch(`w/${wid}/phone-numbers/linkable-phones`);
|
|
@@ -8532,6 +8697,16 @@ var SalesforceApi = class extends BaseApiClient {
|
|
|
8532
8697
|
}
|
|
8533
8698
|
);
|
|
8534
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
|
+
}
|
|
8535
8710
|
async describeSalesforceObject(wid, sobject) {
|
|
8536
8711
|
return this.fetch(
|
|
8537
8712
|
`w/${wid}/app-connections/salesforce/describe/${encodeURIComponent(sobject)}`
|
|
@@ -9597,7 +9772,12 @@ var ToolkitsApi = class extends BaseApiClient {
|
|
|
9597
9772
|
|
|
9598
9773
|
// src/api/journeys.ts
|
|
9599
9774
|
var JourneysApi = class extends BaseApiClient {
|
|
9600
|
-
/**
|
|
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
|
+
*/
|
|
9601
9781
|
async getJourneys(wid, includeArchived = false, pageOpts) {
|
|
9602
9782
|
const query = new URLSearchParams();
|
|
9603
9783
|
if (includeArchived) query.set("include_archived", "true");
|
|
@@ -9606,18 +9786,36 @@ var JourneysApi = class extends BaseApiClient {
|
|
|
9606
9786
|
const qs = query.toString() ? `?${query.toString()}` : "";
|
|
9607
9787
|
return this.fetch(`w/${wid}/journeys${qs}`);
|
|
9608
9788
|
}
|
|
9609
|
-
/**
|
|
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
|
+
*/
|
|
9610
9796
|
async getJourney(wid, journeyId) {
|
|
9611
9797
|
return this.fetch(`w/${wid}/journeys/${journeyId}`);
|
|
9612
9798
|
}
|
|
9613
|
-
/**
|
|
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`). */
|
|
9614
9812
|
async createJourney(wid, data) {
|
|
9615
9813
|
return this.fetch(`w/${wid}/journeys`, {
|
|
9616
9814
|
method: "POST",
|
|
9617
9815
|
body: JSON.stringify(data)
|
|
9618
9816
|
});
|
|
9619
9817
|
}
|
|
9620
|
-
/** Update an existing journey. */
|
|
9818
|
+
/** Update an existing journey. Returns the READ projection (`JourneyRead`). */
|
|
9621
9819
|
async updateJourney(wid, journeyId, data) {
|
|
9622
9820
|
return this.fetch(`w/${wid}/journeys/${journeyId}`, {
|
|
9623
9821
|
method: "PUT",
|
|
@@ -9658,6 +9856,18 @@ var JourneysApi = class extends BaseApiClient {
|
|
|
9658
9856
|
method: "DELETE"
|
|
9659
9857
|
});
|
|
9660
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
|
+
}
|
|
9661
9871
|
/** Create a connection (DAG edge) between two steps. */
|
|
9662
9872
|
async createConnection(wid, journeyId, data) {
|
|
9663
9873
|
return this.fetch(`w/${wid}/journeys/${journeyId}/connections`, {
|
|
@@ -10693,6 +10903,7 @@ function createApiModules(apiKey, baseUrl, customFetch) {
|
|
|
10693
10903
|
fhirConnections: new FhirConnectionsApi(apiKey, baseUrl, customFetch),
|
|
10694
10904
|
patientSyncConnections: new PatientSyncConnectionsApi(apiKey, baseUrl, customFetch),
|
|
10695
10905
|
healthie: new HealthieApi(apiKey, baseUrl, customFetch),
|
|
10906
|
+
documoFax: new DocumoFaxApi(apiKey, baseUrl, customFetch),
|
|
10696
10907
|
hubspot: new HubspotApi(apiKey, baseUrl, customFetch),
|
|
10697
10908
|
features: new FeaturesApi(apiKey, baseUrl, customFetch),
|
|
10698
10909
|
files: new FilesApi(apiKey, baseUrl, customFetch),
|
|
@@ -10754,7 +10965,9 @@ var WORKSPACE_METHOD_NAMES = [
|
|
|
10754
10965
|
"autoCreateDataTypeFromBoard",
|
|
10755
10966
|
"blockWorkspaceInvitation",
|
|
10756
10967
|
"bookHealthieAppointment",
|
|
10968
|
+
"buildSiteSource",
|
|
10757
10969
|
"buildWorkspace",
|
|
10970
|
+
"bulkCreateMembers",
|
|
10758
10971
|
"bulkLinkMembersToHubspot",
|
|
10759
10972
|
"bulkLinkMembersToMonday",
|
|
10760
10973
|
"bulkLinkMembersToSalesforce",
|
|
@@ -10774,7 +10987,9 @@ var WORKSPACE_METHOD_NAMES = [
|
|
|
10774
10987
|
"cloneWorkflow",
|
|
10775
10988
|
"closeWorkspaceSupportRequest",
|
|
10776
10989
|
"commentOnWorkspaceSupportRequest",
|
|
10990
|
+
"completeDiscordLink",
|
|
10777
10991
|
"configureConfluence",
|
|
10992
|
+
"configureDocumoFax",
|
|
10778
10993
|
"configureHealthie",
|
|
10779
10994
|
"configurePatientSync",
|
|
10780
10995
|
"configureHubspot",
|
|
@@ -10790,6 +11005,7 @@ var WORKSPACE_METHOD_NAMES = [
|
|
|
10790
11005
|
"createAssignment",
|
|
10791
11006
|
"createCalendar",
|
|
10792
11007
|
"createCalendarEvent",
|
|
11008
|
+
"createCalendarEventType",
|
|
10793
11009
|
"createCalendarSchedule",
|
|
10794
11010
|
"createChat",
|
|
10795
11011
|
"createChatCompletion",
|
|
@@ -10799,12 +11015,12 @@ var WORKSPACE_METHOD_NAMES = [
|
|
|
10799
11015
|
"createConnection",
|
|
10800
11016
|
"createCustomTool",
|
|
10801
11017
|
"createCustomToolkit",
|
|
11018
|
+
"createDashboard",
|
|
10802
11019
|
"createDataRecord",
|
|
10803
11020
|
"createDataRecordFilter",
|
|
10804
11021
|
"createDataType",
|
|
10805
11022
|
"createDiscordBot",
|
|
10806
11023
|
"createEventRule",
|
|
10807
|
-
"createEventType",
|
|
10808
11024
|
"createExperiment",
|
|
10809
11025
|
"createExperimentAssignment",
|
|
10810
11026
|
"createExperimentGroup",
|
|
@@ -10834,8 +11050,8 @@ var WORKSPACE_METHOD_NAMES = [
|
|
|
10834
11050
|
"createScenario",
|
|
10835
11051
|
"createSignup",
|
|
10836
11052
|
"createSite",
|
|
11053
|
+
"createSiteSource",
|
|
10837
11054
|
"createSlackApp",
|
|
10838
|
-
"createSnippet",
|
|
10839
11055
|
"createStep",
|
|
10840
11056
|
"createSupervisor",
|
|
10841
11057
|
"createTask",
|
|
@@ -10852,6 +11068,7 @@ var WORKSPACE_METHOD_NAMES = [
|
|
|
10852
11068
|
"deleteAssignment",
|
|
10853
11069
|
"deleteCalendar",
|
|
10854
11070
|
"deleteCalendarEvent",
|
|
11071
|
+
"deleteCalendarEventType",
|
|
10855
11072
|
"deleteCalendarSchedule",
|
|
10856
11073
|
"deleteChat",
|
|
10857
11074
|
"deleteChatFilter",
|
|
@@ -10861,13 +11078,13 @@ var WORKSPACE_METHOD_NAMES = [
|
|
|
10861
11078
|
"deleteConnection",
|
|
10862
11079
|
"deleteCustomTool",
|
|
10863
11080
|
"deleteCustomToolkit",
|
|
11081
|
+
"deleteDashboard",
|
|
10864
11082
|
"deleteDataRecord",
|
|
10865
11083
|
"deleteDataRecordFilter",
|
|
10866
11084
|
"deleteDataType",
|
|
10867
11085
|
"deleteDiscordBot",
|
|
10868
11086
|
"deleteEnrollment",
|
|
10869
11087
|
"deleteEventRule",
|
|
10870
|
-
"deleteEventType",
|
|
10871
11088
|
"deleteExperiment",
|
|
10872
11089
|
"deleteExperimentAssignment",
|
|
10873
11090
|
"deleteExperimentGroup",
|
|
@@ -10901,7 +11118,6 @@ var WORKSPACE_METHOD_NAMES = [
|
|
|
10901
11118
|
"deleteScenario",
|
|
10902
11119
|
"deleteSite",
|
|
10903
11120
|
"deleteSlackApp",
|
|
10904
|
-
"deleteSnippet",
|
|
10905
11121
|
"deleteSupervisor",
|
|
10906
11122
|
"deleteTask",
|
|
10907
11123
|
"deleteTeamsApp",
|
|
@@ -10925,10 +11141,13 @@ var WORKSPACE_METHOD_NAMES = [
|
|
|
10925
11141
|
"disconnectMondayConnection",
|
|
10926
11142
|
"disconnectPresence",
|
|
10927
11143
|
"disconnectSalesforce",
|
|
11144
|
+
"discordLinkPreflight",
|
|
10928
11145
|
"discoverOAuthMetadata",
|
|
10929
11146
|
"dismissAllNotifications",
|
|
10930
11147
|
"dismissNotification",
|
|
10931
11148
|
"downloadEmailAttachment",
|
|
11149
|
+
"downloadFilesZip",
|
|
11150
|
+
"downloadSiteSourceZip",
|
|
10932
11151
|
"editWorkflowRevisionAsDraft",
|
|
10933
11152
|
"enableConfluence",
|
|
10934
11153
|
"enableCustomToolkit",
|
|
@@ -10945,9 +11164,11 @@ var WORKSPACE_METHOD_NAMES = [
|
|
|
10945
11164
|
"exportChat",
|
|
10946
11165
|
"exportChats",
|
|
10947
11166
|
"exportMembers",
|
|
11167
|
+
"exportPhoneNumberOutboundAnalyticsCsv",
|
|
10948
11168
|
"exportWorkspace",
|
|
10949
11169
|
"fetchVoicemailAudio",
|
|
10950
11170
|
"fhirBackfillEncounterSync",
|
|
11171
|
+
"fhirCheckPatientLinks",
|
|
10951
11172
|
"fhirCreateEncounter",
|
|
10952
11173
|
"fhirCsvImportApply",
|
|
10953
11174
|
"fhirCsvImportInspect",
|
|
@@ -10998,15 +11219,15 @@ var WORKSPACE_METHOD_NAMES = [
|
|
|
10998
11219
|
"getAvailableActions",
|
|
10999
11220
|
"getAvailablePhoneNumbers",
|
|
11000
11221
|
"getAvailableSlots",
|
|
11001
|
-
"getBoardColumns",
|
|
11002
|
-
"getBoardGroups",
|
|
11003
|
-
"getBoards",
|
|
11004
11222
|
"getBusinessHoursStatus",
|
|
11005
11223
|
"getCalendar",
|
|
11006
11224
|
"getCalendarEvent",
|
|
11225
|
+
"getCalendarEventType",
|
|
11226
|
+
"getCalendarEventTypes",
|
|
11007
11227
|
"getCalendarEvents",
|
|
11008
11228
|
"getCalendarSchedules",
|
|
11009
11229
|
"getCalendars",
|
|
11230
|
+
"getCallRecordingDownloadUrl",
|
|
11010
11231
|
"getCelContext",
|
|
11011
11232
|
"getCharlestonTestDeliveryRecipients",
|
|
11012
11233
|
"getChat",
|
|
@@ -11021,6 +11242,7 @@ var WORKSPACE_METHOD_NAMES = [
|
|
|
11021
11242
|
"getChatLabelByUuid",
|
|
11022
11243
|
"getChatLabels",
|
|
11023
11244
|
"getChatMessages",
|
|
11245
|
+
"getChatModelOverride",
|
|
11024
11246
|
"getChatPhoneCalls",
|
|
11025
11247
|
"getChatSkills",
|
|
11026
11248
|
"getChatTodos",
|
|
@@ -11030,6 +11252,7 @@ var WORKSPACE_METHOD_NAMES = [
|
|
|
11030
11252
|
"getChats",
|
|
11031
11253
|
"getChatsDailyCreationStats",
|
|
11032
11254
|
"getChatsNeedsResponse",
|
|
11255
|
+
"getChildThreadMessages",
|
|
11033
11256
|
"getClientWorkspace",
|
|
11034
11257
|
"getConfluenceStatus",
|
|
11035
11258
|
"getConnectionSyncCapabilities",
|
|
@@ -11037,9 +11260,12 @@ var WORKSPACE_METHOD_NAMES = [
|
|
|
11037
11260
|
"getConnectionSyncConfig",
|
|
11038
11261
|
"getCredentialUpdateInvites",
|
|
11039
11262
|
"getCurrentMember",
|
|
11040
|
-
"getCurrentUserInfo",
|
|
11041
11263
|
"getCustomToolkit",
|
|
11042
11264
|
"getCustomToolkits",
|
|
11265
|
+
"getDashboard",
|
|
11266
|
+
"getDashboardChannelStats",
|
|
11267
|
+
"getDashboardWorkflowAssignmentStats",
|
|
11268
|
+
"getDashboards",
|
|
11043
11269
|
"getDataRecord",
|
|
11044
11270
|
"getDataRecordChanges",
|
|
11045
11271
|
"getDataRecordFilter",
|
|
@@ -11056,10 +11282,11 @@ var WORKSPACE_METHOD_NAMES = [
|
|
|
11056
11282
|
"getDiscordBots",
|
|
11057
11283
|
"getDiscordGuilds",
|
|
11058
11284
|
"getDiscordThreads",
|
|
11285
|
+
"getDocumoFaxSetup",
|
|
11286
|
+
"listDocumoFaxes",
|
|
11287
|
+
"getDocumoFaxStatus",
|
|
11059
11288
|
"getEventRule",
|
|
11060
11289
|
"getEventRules",
|
|
11061
|
-
"getEventType",
|
|
11062
|
-
"getEventTypes",
|
|
11063
11290
|
"getExperiment",
|
|
11064
11291
|
"getExperimentStats",
|
|
11065
11292
|
"getExperiments",
|
|
@@ -11068,6 +11295,26 @@ var WORKSPACE_METHOD_NAMES = [
|
|
|
11068
11295
|
"getFhirConnections",
|
|
11069
11296
|
"getFieldIndexStatus",
|
|
11070
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",
|
|
11071
11318
|
"resolveFilePath",
|
|
11072
11319
|
"getFileLabel",
|
|
11073
11320
|
"getFileLabelByUuid",
|
|
@@ -11078,6 +11325,7 @@ var WORKSPACE_METHOD_NAMES = [
|
|
|
11078
11325
|
"getFiles",
|
|
11079
11326
|
"getFirstRunState",
|
|
11080
11327
|
"getFolder",
|
|
11328
|
+
"getFolderMemberAccess",
|
|
11081
11329
|
"getFolderSharing",
|
|
11082
11330
|
"getFolders",
|
|
11083
11331
|
"getGoogleCalendarStatus",
|
|
@@ -11099,6 +11347,7 @@ var WORKSPACE_METHOD_NAMES = [
|
|
|
11099
11347
|
"getInboxThreads",
|
|
11100
11348
|
"getInboxes",
|
|
11101
11349
|
"getJourney",
|
|
11350
|
+
"getJourneyAuthoring",
|
|
11102
11351
|
"getJourneyHealth",
|
|
11103
11352
|
"getJourneyMembers",
|
|
11104
11353
|
"getJourneyNotes",
|
|
@@ -11163,6 +11412,7 @@ var WORKSPACE_METHOD_NAMES = [
|
|
|
11163
11412
|
"getPhoneCalls",
|
|
11164
11413
|
"getPhoneNumber",
|
|
11165
11414
|
"getPhoneNumberCalls",
|
|
11415
|
+
"getPhoneNumberFaxes",
|
|
11166
11416
|
"getPhoneNumberMessages",
|
|
11167
11417
|
"getPhoneNumberVoicemails",
|
|
11168
11418
|
"getPhoneNumbers",
|
|
@@ -11200,7 +11450,6 @@ var WORKSPACE_METHOD_NAMES = [
|
|
|
11200
11450
|
"getSlackApps",
|
|
11201
11451
|
"getSlackInstallations",
|
|
11202
11452
|
"getSlackThreads",
|
|
11203
|
-
"getSnippet",
|
|
11204
11453
|
"getStepMemberCounts",
|
|
11205
11454
|
"getStepMembers",
|
|
11206
11455
|
"getSupervisor",
|
|
@@ -11238,7 +11487,6 @@ var WORKSPACE_METHOD_NAMES = [
|
|
|
11238
11487
|
"getWorkflowNotes",
|
|
11239
11488
|
"getWorkflowRevision",
|
|
11240
11489
|
"getWorkflowRevisions",
|
|
11241
|
-
"getWorkflowRouteDryRun",
|
|
11242
11490
|
"getWorkflowTaskAssignmentStats",
|
|
11243
11491
|
"getWorkflowTemplates",
|
|
11244
11492
|
"getWorkflowThumbnailUrl",
|
|
@@ -11268,6 +11516,7 @@ var WORKSPACE_METHOD_NAMES = [
|
|
|
11268
11516
|
"initiateOutboundCall",
|
|
11269
11517
|
"inspectPrompt",
|
|
11270
11518
|
"installHubspot",
|
|
11519
|
+
"installDocumoFax",
|
|
11271
11520
|
"installMondayConnection",
|
|
11272
11521
|
"installSalesforce",
|
|
11273
11522
|
"inviteMemberCredentialUpdate",
|
|
@@ -11286,6 +11535,10 @@ var WORKSPACE_METHOD_NAMES = [
|
|
|
11286
11535
|
"listConfluencePages",
|
|
11287
11536
|
"listConfluenceSpaces",
|
|
11288
11537
|
"listConnectionMemberFieldKeys",
|
|
11538
|
+
"rollbackSiteSource",
|
|
11539
|
+
"rotateDocumoFaxCredentials",
|
|
11540
|
+
"runQuery",
|
|
11541
|
+
"sendMemberPhoneConfirmation",
|
|
11289
11542
|
"setDefaultGooglePlatformAccount",
|
|
11290
11543
|
"listFileVersions",
|
|
11291
11544
|
"listGoogleCalendars",
|
|
@@ -11294,8 +11547,8 @@ var WORKSPACE_METHOD_NAMES = [
|
|
|
11294
11547
|
"listHealthieProviders",
|
|
11295
11548
|
"listPersonas",
|
|
11296
11549
|
"listPushSubscriptions",
|
|
11550
|
+
"listSalesforceObjects",
|
|
11297
11551
|
"listScenarios",
|
|
11298
|
-
"listSnippets",
|
|
11299
11552
|
"listTestChatRuns",
|
|
11300
11553
|
"listWidgetDomains",
|
|
11301
11554
|
"listWorkspaceInvitationsAdmin",
|
|
@@ -11318,7 +11571,6 @@ var WORKSPACE_METHOD_NAMES = [
|
|
|
11318
11571
|
"reenrollMember",
|
|
11319
11572
|
"registerLinkedRolesMetadata",
|
|
11320
11573
|
"registerPushSubscription",
|
|
11321
|
-
"registerSlashCommands",
|
|
11322
11574
|
"reindexFolder",
|
|
11323
11575
|
"releasePhoneNumber",
|
|
11324
11576
|
"removeFileRole",
|
|
@@ -11327,6 +11579,7 @@ var WORKSPACE_METHOD_NAMES = [
|
|
|
11327
11579
|
"reorderEventRules",
|
|
11328
11580
|
"reorderMenuItems",
|
|
11329
11581
|
"replyToEmail",
|
|
11582
|
+
"rotateDocumoFaxCredentials",
|
|
11330
11583
|
"requestPhoneNumber",
|
|
11331
11584
|
"requestWorkspaceMembership",
|
|
11332
11585
|
"resetRoutineRuns",
|
|
@@ -11364,11 +11617,13 @@ var WORKSPACE_METHOD_NAMES = [
|
|
|
11364
11617
|
"testMcpServerConnection",
|
|
11365
11618
|
"testMondayConnection",
|
|
11366
11619
|
"testRunJourney",
|
|
11620
|
+
"testWebhook",
|
|
11367
11621
|
"toggleFieldIndex",
|
|
11368
11622
|
"unarchiveAgent",
|
|
11369
11623
|
"unarchiveChat",
|
|
11370
11624
|
"unarchiveDataType",
|
|
11371
11625
|
"unarchiveMember",
|
|
11626
|
+
"unarchiveStep",
|
|
11372
11627
|
"unarchiveTask",
|
|
11373
11628
|
"unarchiveWorkflow",
|
|
11374
11629
|
"unenrollMembers",
|
|
@@ -11385,10 +11640,12 @@ var WORKSPACE_METHOD_NAMES = [
|
|
|
11385
11640
|
"updateAssignment",
|
|
11386
11641
|
"updateCalendar",
|
|
11387
11642
|
"updateCalendarEvent",
|
|
11643
|
+
"updateCalendarEventType",
|
|
11388
11644
|
"updateCalendarSchedule",
|
|
11389
11645
|
"updateChat",
|
|
11390
11646
|
"updateChatFilter",
|
|
11391
11647
|
"updateChatLabel",
|
|
11648
|
+
"updateChatModelOverride",
|
|
11392
11649
|
"updateChatMute",
|
|
11393
11650
|
"updateChatNeedsResponse",
|
|
11394
11651
|
"updateClientWorkspace",
|
|
@@ -11397,13 +11654,13 @@ var WORKSPACE_METHOD_NAMES = [
|
|
|
11397
11654
|
"updateCurrentMember",
|
|
11398
11655
|
"updateCustomTool",
|
|
11399
11656
|
"updateCustomToolkit",
|
|
11657
|
+
"updateDashboard",
|
|
11400
11658
|
"updateDataRecord",
|
|
11401
11659
|
"updateDataRecordFilter",
|
|
11402
11660
|
"updateDataType",
|
|
11403
11661
|
"updateDiscordBot",
|
|
11404
11662
|
"updateEventAttendee",
|
|
11405
11663
|
"updateEventRule",
|
|
11406
|
-
"updateEventType",
|
|
11407
11664
|
"updateExperiment",
|
|
11408
11665
|
"updateExperimentAssignment",
|
|
11409
11666
|
"updateExperimentGroup",
|
|
@@ -11440,12 +11697,13 @@ var WORKSPACE_METHOD_NAMES = [
|
|
|
11440
11697
|
"updateSalesforceSyncConfig",
|
|
11441
11698
|
"updateScenario",
|
|
11442
11699
|
"updateSite",
|
|
11700
|
+
"updateSiteSharing",
|
|
11443
11701
|
"updateSlackApp",
|
|
11444
|
-
"updateSnippet",
|
|
11445
11702
|
"updateStep",
|
|
11446
11703
|
"updateSupervisor",
|
|
11447
11704
|
"updateTask",
|
|
11448
11705
|
"updateTeamsApp",
|
|
11706
|
+
"updateThemeSettings",
|
|
11449
11707
|
"uploadFile",
|
|
11450
11708
|
"updateVoicemailStatus",
|
|
11451
11709
|
"updateWorkflow",
|
|
@@ -11458,8 +11716,11 @@ var WORKSPACE_METHOD_NAMES = [
|
|
|
11458
11716
|
"updateWorkspaceThemes",
|
|
11459
11717
|
"upsertDataRecord",
|
|
11460
11718
|
"upsertWidgetDomain",
|
|
11719
|
+
"validateCelExpression",
|
|
11461
11720
|
"validateDataTypeSlug",
|
|
11462
|
-
"
|
|
11721
|
+
"validateQuery",
|
|
11722
|
+
"validateWorkflowName",
|
|
11723
|
+
"verifyDocumoFax"
|
|
11463
11724
|
];
|
|
11464
11725
|
var WORKSPACE_METHOD_NAME_SET = new Set(WORKSPACE_METHOD_NAMES);
|
|
11465
11726
|
function createWorkspaceClient(root, workspaceUuid) {
|
|
@@ -11554,6 +11815,7 @@ function bindChatsMethods(target, chats) {
|
|
|
11554
11815
|
target.updateChatNeedsResponse = chats.updateChatNeedsResponse.bind(chats);
|
|
11555
11816
|
target.summarizeChat = chats.summarizeChat.bind(chats);
|
|
11556
11817
|
target.getChatMessages = chats.getChatMessages.bind(chats);
|
|
11818
|
+
target.getChildThreadMessages = chats.getChildThreadMessages.bind(chats);
|
|
11557
11819
|
target.getChatToolCallMessages = chats.getChatToolCallMessages.bind(chats);
|
|
11558
11820
|
target.getChatTools = chats.getChatTools.bind(chats);
|
|
11559
11821
|
target.initiateOutboundCall = chats.initiateOutboundCall.bind(chats);
|
|
@@ -11592,6 +11854,7 @@ function bindCallsMethods(target, calls, cel) {
|
|
|
11592
11854
|
target.listChatRecordings = calls.listChatRecordings.bind(calls);
|
|
11593
11855
|
target.getCallRecordingDownloadUrl = calls.getCallRecordingDownloadUrl.bind(calls);
|
|
11594
11856
|
target.getCelContext = cel.getCelContext.bind(cel);
|
|
11857
|
+
target.validateCelExpression = cel.validateCelExpression.bind(cel);
|
|
11595
11858
|
}
|
|
11596
11859
|
|
|
11597
11860
|
// src/client/bindings/dashboards.ts
|
|
@@ -11908,6 +12171,7 @@ function bindFilesMethods(target, files) {
|
|
|
11908
12171
|
target.updateFileRoles = files.updateFileRoles.bind(files);
|
|
11909
12172
|
target.removeFileRole = files.removeFileRole.bind(files);
|
|
11910
12173
|
target.getFolderSharing = files.getFolderSharing.bind(files);
|
|
12174
|
+
target.getFolderMemberAccess = files.getFolderMemberAccess.bind(files);
|
|
11911
12175
|
target.updateFolderRoles = files.updateFolderRoles.bind(files);
|
|
11912
12176
|
target.removeFolderRole = files.removeFolderRole.bind(files);
|
|
11913
12177
|
target.updateFileSharing = files.updateFileSharing.bind(files);
|
|
@@ -12064,6 +12328,7 @@ function bindCommunicationsMethods(target, phoneNumbers, inboxes, notificationRu
|
|
|
12064
12328
|
target.getPhoneNumberOutboundAnalyticsCalls = phoneNumbers.getPhoneNumberOutboundAnalyticsCalls.bind(phoneNumbers);
|
|
12065
12329
|
target.exportPhoneNumberOutboundAnalyticsCsv = phoneNumbers.exportPhoneNumberOutboundAnalyticsCsv.bind(phoneNumbers);
|
|
12066
12330
|
target.getPhoneNumberMessages = phoneNumbers.getPhoneNumberMessages.bind(phoneNumbers);
|
|
12331
|
+
target.getPhoneNumberFaxes = phoneNumbers.getPhoneNumberFaxes.bind(phoneNumbers);
|
|
12067
12332
|
target.getPhoneNumberVoicemails = phoneNumbers.getPhoneNumberVoicemails.bind(phoneNumbers);
|
|
12068
12333
|
target.fetchVoicemailAudio = phoneNumbers.fetchVoicemailAudio.bind(phoneNumbers);
|
|
12069
12334
|
target.updateVoicemailStatus = phoneNumbers.updateVoicemailStatus.bind(phoneNumbers);
|
|
@@ -12187,7 +12452,7 @@ function bindAppsMethods(target, apps, builders, inquiries, oauth, oauthConnecti
|
|
|
12187
12452
|
}
|
|
12188
12453
|
|
|
12189
12454
|
// src/client/bindings/integrations.ts
|
|
12190
|
-
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) {
|
|
12191
12456
|
target.getMondayBoards = mondayIntegration.getBoards.bind(mondayIntegration);
|
|
12192
12457
|
target.getMondayBoardColumns = mondayIntegration.getBoardColumns.bind(mondayIntegration);
|
|
12193
12458
|
target.getMondayBoardGroups = mondayIntegration.getBoardGroups.bind(mondayIntegration);
|
|
@@ -12259,6 +12524,7 @@ function bindIntegrationsMethods(target, mondayIntegration, discordBots, slackAp
|
|
|
12259
12524
|
target.fhirFetchEncounters = fhirConnections.fhirFetchEncounters.bind(fhirConnections);
|
|
12260
12525
|
target.fhirCreateEncounter = fhirConnections.fhirCreateEncounter.bind(fhirConnections);
|
|
12261
12526
|
target.fhirListLinkedMembers = fhirConnections.fhirListLinkedMembers.bind(fhirConnections);
|
|
12527
|
+
target.fhirCheckPatientLinks = fhirConnections.fhirCheckPatientLinks.bind(fhirConnections);
|
|
12262
12528
|
target.fhirLinkMember = fhirConnections.fhirLinkMember.bind(fhirConnections);
|
|
12263
12529
|
target.fhirUnlinkMember = fhirConnections.fhirUnlinkMember.bind(fhirConnections);
|
|
12264
12530
|
target.fhirSyncMember = fhirConnections.fhirSyncMember.bind(fhirConnections);
|
|
@@ -12278,6 +12544,13 @@ function bindIntegrationsMethods(target, mondayIntegration, discordBots, slackAp
|
|
|
12278
12544
|
target.configurePatientSync = patientSyncConnections.configurePatientSync.bind(patientSyncConnections);
|
|
12279
12545
|
target.getPatientSyncStatus = patientSyncConnections.getPatientSyncStatus.bind(patientSyncConnections);
|
|
12280
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);
|
|
12281
12554
|
target.configureHealthie = healthie.configureHealthie.bind(healthie);
|
|
12282
12555
|
target.getHealthieStatus = healthie.getHealthieStatus.bind(healthie);
|
|
12283
12556
|
target.listHealthieProviders = healthie.listHealthieProviders.bind(healthie);
|
|
@@ -12316,6 +12589,7 @@ function bindIntegrationsMethods(target, mondayIntegration, discordBots, slackAp
|
|
|
12316
12589
|
target.getLinkedSalesforceMembers = salesforce.getLinkedSalesforceMembers.bind(salesforce);
|
|
12317
12590
|
target.getSalesforceSyncConfig = salesforce.getSalesforceSyncConfig.bind(salesforce);
|
|
12318
12591
|
target.updateSalesforceSyncConfig = salesforce.updateSalesforceSyncConfig.bind(salesforce);
|
|
12592
|
+
target.listSalesforceObjects = salesforce.listSalesforceObjects.bind(salesforce);
|
|
12319
12593
|
target.describeSalesforceObject = salesforce.describeSalesforceObject.bind(salesforce);
|
|
12320
12594
|
target.searchSalesforceRecords = salesforce.searchSalesforceRecords.bind(salesforce);
|
|
12321
12595
|
target.importSalesforceMembers = salesforce.importSalesforceMembers.bind(salesforce);
|
|
@@ -12417,6 +12691,7 @@ function bindPronunciationsMethods(target, pronunciations) {
|
|
|
12417
12691
|
function bindJourneysMethods(target, journeys) {
|
|
12418
12692
|
target.getJourneys = journeys.getJourneys.bind(journeys);
|
|
12419
12693
|
target.getJourney = journeys.getJourney.bind(journeys);
|
|
12694
|
+
target.getJourneyAuthoring = journeys.getJourneyAuthoring.bind(journeys);
|
|
12420
12695
|
target.getJourneyHealth = journeys.getJourneyHealth.bind(journeys);
|
|
12421
12696
|
target.createJourney = journeys.createJourney.bind(journeys);
|
|
12422
12697
|
target.updateJourney = journeys.updateJourney.bind(journeys);
|
|
@@ -12424,6 +12699,7 @@ function bindJourneysMethods(target, journeys) {
|
|
|
12424
12699
|
target.createStep = journeys.createStep.bind(journeys);
|
|
12425
12700
|
target.updateStep = journeys.updateStep.bind(journeys);
|
|
12426
12701
|
target.archiveStep = journeys.archiveStep.bind(journeys);
|
|
12702
|
+
target.unarchiveStep = journeys.unarchiveStep.bind(journeys);
|
|
12427
12703
|
target.createConnection = journeys.createConnection.bind(journeys);
|
|
12428
12704
|
target.updateConnection = journeys.updateConnection.bind(journeys);
|
|
12429
12705
|
target.deleteConnection = journeys.deleteConnection.bind(journeys);
|
|
@@ -12577,6 +12853,7 @@ var GravityRailClient = class {
|
|
|
12577
12853
|
updateChatNeedsResponse;
|
|
12578
12854
|
summarizeChat;
|
|
12579
12855
|
getChatMessages;
|
|
12856
|
+
getChildThreadMessages;
|
|
12580
12857
|
getChatToolCallMessages;
|
|
12581
12858
|
getChatTools;
|
|
12582
12859
|
initiateOutboundCall;
|
|
@@ -12612,6 +12889,7 @@ var GravityRailClient = class {
|
|
|
12612
12889
|
listChatRecordings;
|
|
12613
12890
|
getCallRecordingDownloadUrl;
|
|
12614
12891
|
getCelContext;
|
|
12892
|
+
validateCelExpression;
|
|
12615
12893
|
// Data Types API
|
|
12616
12894
|
getDataTypes;
|
|
12617
12895
|
getDataType;
|
|
@@ -12750,6 +13028,7 @@ var GravityRailClient = class {
|
|
|
12750
13028
|
// Journeys API
|
|
12751
13029
|
getJourneys;
|
|
12752
13030
|
getJourney;
|
|
13031
|
+
getJourneyAuthoring;
|
|
12753
13032
|
getJourneyHealth;
|
|
12754
13033
|
createJourney;
|
|
12755
13034
|
updateJourney;
|
|
@@ -12757,6 +13036,7 @@ var GravityRailClient = class {
|
|
|
12757
13036
|
createStep;
|
|
12758
13037
|
updateStep;
|
|
12759
13038
|
archiveStep;
|
|
13039
|
+
unarchiveStep;
|
|
12760
13040
|
createConnection;
|
|
12761
13041
|
updateConnection;
|
|
12762
13042
|
deleteConnection;
|
|
@@ -13037,6 +13317,7 @@ var GravityRailClient = class {
|
|
|
13037
13317
|
updateFileRoles;
|
|
13038
13318
|
removeFileRole;
|
|
13039
13319
|
getFolderSharing;
|
|
13320
|
+
getFolderMemberAccess;
|
|
13040
13321
|
updateFolderRoles;
|
|
13041
13322
|
removeFolderRole;
|
|
13042
13323
|
updateFileSharing;
|
|
@@ -13165,6 +13446,7 @@ var GravityRailClient = class {
|
|
|
13165
13446
|
getPhoneNumberOutboundAnalyticsCalls;
|
|
13166
13447
|
exportPhoneNumberOutboundAnalyticsCsv;
|
|
13167
13448
|
getPhoneNumberMessages;
|
|
13449
|
+
getPhoneNumberFaxes;
|
|
13168
13450
|
getPhoneNumberVoicemails;
|
|
13169
13451
|
fetchVoicemailAudio;
|
|
13170
13452
|
updateVoicemailStatus;
|
|
@@ -13353,6 +13635,7 @@ var GravityRailClient = class {
|
|
|
13353
13635
|
fhirFetchEncounters;
|
|
13354
13636
|
fhirCreateEncounter;
|
|
13355
13637
|
fhirListLinkedMembers;
|
|
13638
|
+
fhirCheckPatientLinks;
|
|
13356
13639
|
fhirLinkMember;
|
|
13357
13640
|
fhirUnlinkMember;
|
|
13358
13641
|
fhirSyncMember;
|
|
@@ -13370,6 +13653,13 @@ var GravityRailClient = class {
|
|
|
13370
13653
|
fhirRefreshEncounterPatient;
|
|
13371
13654
|
fhirBackfillEncounterSync;
|
|
13372
13655
|
// Healthie API
|
|
13656
|
+
getDocumoFaxStatus;
|
|
13657
|
+
getDocumoFaxSetup;
|
|
13658
|
+
listDocumoFaxes;
|
|
13659
|
+
installDocumoFax;
|
|
13660
|
+
configureDocumoFax;
|
|
13661
|
+
verifyDocumoFax;
|
|
13662
|
+
rotateDocumoFaxCredentials;
|
|
13373
13663
|
configurePatientSync;
|
|
13374
13664
|
getPatientSyncStatus;
|
|
13375
13665
|
deletePatientSyncConnection;
|
|
@@ -13413,6 +13703,7 @@ var GravityRailClient = class {
|
|
|
13413
13703
|
getLinkedSalesforceMembers;
|
|
13414
13704
|
getSalesforceSyncConfig;
|
|
13415
13705
|
updateSalesforceSyncConfig;
|
|
13706
|
+
listSalesforceObjects;
|
|
13416
13707
|
describeSalesforceObject;
|
|
13417
13708
|
searchSalesforceRecords;
|
|
13418
13709
|
importSalesforceMembers;
|
|
@@ -13563,6 +13854,7 @@ var GravityRailClient = class {
|
|
|
13563
13854
|
apis.fhirConnections,
|
|
13564
13855
|
apis.patientSyncConnections,
|
|
13565
13856
|
apis.healthie,
|
|
13857
|
+
apis.documoFax,
|
|
13566
13858
|
apis.salesforce,
|
|
13567
13859
|
apis.hubspot,
|
|
13568
13860
|
apis.appConnections,
|
|
@@ -13679,6 +13971,7 @@ var GravityRailClient = class {
|
|
|
13679
13971
|
};
|
|
13680
13972
|
// Annotate the CommonJS export names for ESM import in node:
|
|
13681
13973
|
0 && (module.exports = {
|
|
13974
|
+
AGENT_NOTE_ORIGINS,
|
|
13682
13975
|
AIModelsApi,
|
|
13683
13976
|
AbilitiesApi,
|
|
13684
13977
|
AbilityConfigIssueCode,
|
|
@@ -13923,12 +14216,14 @@ var GravityRailClient = class {
|
|
|
13923
14216
|
getTTSProvider,
|
|
13924
14217
|
getVoiceModelId,
|
|
13925
14218
|
initializeFeatures,
|
|
14219
|
+
isAgentNoteOrigin,
|
|
13926
14220
|
isChatType,
|
|
13927
14221
|
isFeatureAvailable,
|
|
13928
14222
|
isPositiveRating,
|
|
13929
14223
|
isRegistryInitialized,
|
|
13930
14224
|
isSMSDeliveryFailureStatus,
|
|
13931
14225
|
parseExperimentStatCount,
|
|
14226
|
+
parseOrgAuthChallenge,
|
|
13932
14227
|
requiresAssistantParticipant,
|
|
13933
14228
|
usesBuiltinAssistant,
|
|
13934
14229
|
validateFeatureDependencies
|