@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
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ApiError,
|
|
3
3
|
BaseApiClient
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-GP6ICMWF.js";
|
|
5
5
|
|
|
6
6
|
// src/api/abilities.ts
|
|
7
7
|
var AbilitiesApi = class extends BaseApiClient {
|
|
@@ -1277,6 +1277,12 @@ var CELApi = class extends BaseApiClient {
|
|
|
1277
1277
|
body: JSON.stringify(request)
|
|
1278
1278
|
});
|
|
1279
1279
|
}
|
|
1280
|
+
async validateCelExpression(wid, request) {
|
|
1281
|
+
return this.fetch(`w/${wid}/cel/validate`, {
|
|
1282
|
+
method: "POST",
|
|
1283
|
+
body: JSON.stringify(request)
|
|
1284
|
+
});
|
|
1285
|
+
}
|
|
1280
1286
|
};
|
|
1281
1287
|
|
|
1282
1288
|
// src/api/chats.ts
|
|
@@ -1494,6 +1500,24 @@ var ChatsApi = class extends BaseApiClient {
|
|
|
1494
1500
|
`w/${wid}/chats/${id}/messages${params.toString() ? `?${params.toString()}` : ""}`
|
|
1495
1501
|
);
|
|
1496
1502
|
}
|
|
1503
|
+
/** List the background-work thread hanging off a message.
|
|
1504
|
+
*
|
|
1505
|
+
* When a tool trajectory outgrows its turn it detaches and runs in the
|
|
1506
|
+
* background (ADR-11 / forked trajectories), writing its messages as a
|
|
1507
|
+
* child thread parented at the fork point. Main-history reads exclude
|
|
1508
|
+
* them, so this is how the "show work" affordance fetches them — lazily,
|
|
1509
|
+
* only when a message with a non-zero `childMessageCount` is expanded.
|
|
1510
|
+
* Returns the thread in chronological order, empty when there is none.
|
|
1511
|
+
*
|
|
1512
|
+
* `messageUuid` is the fork point's `ChatMessage.id`. */
|
|
1513
|
+
async getChildThreadMessages(wid, chatId, messageUuid, limit = 200, offset = 0) {
|
|
1514
|
+
const params = new URLSearchParams();
|
|
1515
|
+
params.append("limit", limit.toString());
|
|
1516
|
+
params.append("offset", offset.toString());
|
|
1517
|
+
return this.fetch(
|
|
1518
|
+
`w/${wid}/chats/${chatId}/messages/${messageUuid}/children?${params.toString()}`
|
|
1519
|
+
);
|
|
1520
|
+
}
|
|
1497
1521
|
/** List messages associated with a specific tool call in a chat. */
|
|
1498
1522
|
async getChatToolCallMessages(wid, chatId, callId, limit = 100, offset = 0) {
|
|
1499
1523
|
const params = new URLSearchParams();
|
|
@@ -2679,6 +2703,17 @@ var FhirConnectionsApi = class extends BaseApiClient {
|
|
|
2679
2703
|
{ method: "POST", body: JSON.stringify(data) }
|
|
2680
2704
|
);
|
|
2681
2705
|
}
|
|
2706
|
+
/**
|
|
2707
|
+
* Bounded, read-only check of which external patient IDs are already
|
|
2708
|
+
* linked on this connection. PHI-minimal: sends/returns external patient
|
|
2709
|
+
* IDs only — never demographics.
|
|
2710
|
+
*/
|
|
2711
|
+
async fhirCheckPatientLinks(wid, connectionId, data) {
|
|
2712
|
+
return this.fetch(
|
|
2713
|
+
`w/${wid}/app-connections/fhir/connections/${connectionId}/linked-members/check`,
|
|
2714
|
+
{ method: "POST", body: JSON.stringify(data) }
|
|
2715
|
+
);
|
|
2716
|
+
}
|
|
2682
2717
|
// ==================== Encounter Sync ====================
|
|
2683
2718
|
async fhirGetEncounterSyncStatus(wid, connectionId) {
|
|
2684
2719
|
return this.fetch(`w/${wid}/app-connections/fhir/connections/${connectionId}/encounter-sync`);
|
|
@@ -2715,6 +2750,79 @@ var FhirConnectionsApi = class extends BaseApiClient {
|
|
|
2715
2750
|
}
|
|
2716
2751
|
};
|
|
2717
2752
|
|
|
2753
|
+
// src/types/generated/inbound_fax.ts
|
|
2754
|
+
var InboundFaxStatus = {
|
|
2755
|
+
pending: "pending",
|
|
2756
|
+
received: "received",
|
|
2757
|
+
failed: "failed"
|
|
2758
|
+
};
|
|
2759
|
+
|
|
2760
|
+
// src/api/documo-fax.ts
|
|
2761
|
+
var DocumoFaxApi = class extends BaseApiClient {
|
|
2762
|
+
async getDocumoFaxStatus(wid) {
|
|
2763
|
+
return this.fetch(`w/${wid}/app-connections/documo-fax/status`);
|
|
2764
|
+
}
|
|
2765
|
+
async getDocumoFaxSetup(wid) {
|
|
2766
|
+
return this.fetch(`w/${wid}/app-connections/documo-fax/setup`);
|
|
2767
|
+
}
|
|
2768
|
+
/**
|
|
2769
|
+
* Received-fax log for this connection.
|
|
2770
|
+
*
|
|
2771
|
+
* Entries carry `senderNumber`, which is an unauthenticated claim by the
|
|
2772
|
+
* sending machine and is PHI. Render it; never log it.
|
|
2773
|
+
*
|
|
2774
|
+
* `status` is repeatable — one query entry per value, matching the route's
|
|
2775
|
+
* `list[str]` binding. The date bounds filter on when the delivery was
|
|
2776
|
+
* recorded, not on `receivedAt`: a fax that failed before storage never
|
|
2777
|
+
* gets a `receivedAt`, so bounding that column would hide exactly the
|
|
2778
|
+
* failures an operator filtering by date is hunting for.
|
|
2779
|
+
*/
|
|
2780
|
+
async listDocumoFaxes(wid, params) {
|
|
2781
|
+
const query = new URLSearchParams();
|
|
2782
|
+
if (params?.page !== void 0) query.set("page", String(params.page));
|
|
2783
|
+
if (params?.pageSize !== void 0) query.set("pageSize", String(params.pageSize));
|
|
2784
|
+
params?.status?.forEach((value) => query.append("status", value));
|
|
2785
|
+
if (params?.receivedAfter) query.set("receivedAfter", params.receivedAfter);
|
|
2786
|
+
if (params?.receivedBefore) query.set("receivedBefore", params.receivedBefore);
|
|
2787
|
+
const suffix = query.toString() === "" ? "" : `?${query.toString()}`;
|
|
2788
|
+
return this.fetch(
|
|
2789
|
+
`w/${wid}/app-connections/documo-fax/faxes${suffix}`
|
|
2790
|
+
);
|
|
2791
|
+
}
|
|
2792
|
+
/**
|
|
2793
|
+
* The three bodyless POSTs below send `{}` deliberately: the routes require
|
|
2794
|
+
* a JSON body as a CSRF barrier (a cross-site HTML form POST cannot set
|
|
2795
|
+
* Content-Type: application/json, so it 422s). See GRA-6284.
|
|
2796
|
+
*/
|
|
2797
|
+
async installDocumoFax(wid) {
|
|
2798
|
+
return this.fetch(`w/${wid}/app-connections/documo-fax/install`, {
|
|
2799
|
+
method: "POST",
|
|
2800
|
+
body: JSON.stringify({})
|
|
2801
|
+
});
|
|
2802
|
+
}
|
|
2803
|
+
async configureDocumoFax(wid, data) {
|
|
2804
|
+
return this.fetch(
|
|
2805
|
+
`w/${wid}/app-connections/documo-fax/configure`,
|
|
2806
|
+
{
|
|
2807
|
+
method: "POST",
|
|
2808
|
+
body: JSON.stringify(data)
|
|
2809
|
+
}
|
|
2810
|
+
);
|
|
2811
|
+
}
|
|
2812
|
+
async verifyDocumoFax(wid) {
|
|
2813
|
+
return this.fetch(`w/${wid}/app-connections/documo-fax/verify`, {
|
|
2814
|
+
method: "POST",
|
|
2815
|
+
body: JSON.stringify({})
|
|
2816
|
+
});
|
|
2817
|
+
}
|
|
2818
|
+
async rotateDocumoFaxCredentials(wid) {
|
|
2819
|
+
return this.fetch(
|
|
2820
|
+
`w/${wid}/app-connections/documo-fax/rotate-credentials`,
|
|
2821
|
+
{ method: "POST", body: JSON.stringify({}) }
|
|
2822
|
+
);
|
|
2823
|
+
}
|
|
2824
|
+
};
|
|
2825
|
+
|
|
2718
2826
|
// src/api/healthie.ts
|
|
2719
2827
|
var HealthieApi = class extends BaseApiClient {
|
|
2720
2828
|
async configureHealthie(wid, data) {
|
|
@@ -3048,6 +3156,16 @@ var FilesApi = class extends BaseApiClient {
|
|
|
3048
3156
|
async getFolderSharing(wid, folderId) {
|
|
3049
3157
|
return this.fetch(`w/${wid}/folders/${folderId}/sharing`);
|
|
3050
3158
|
}
|
|
3159
|
+
/**
|
|
3160
|
+
* Ask whether another member can read a folder, evaluated by the real
|
|
3161
|
+
* authorizer as that member. Used to tell "a landing folder is set" apart
|
|
3162
|
+
* from "the fax owner can actually open it".
|
|
3163
|
+
*/
|
|
3164
|
+
async getFolderMemberAccess(wid, folderId, memberId) {
|
|
3165
|
+
return this.fetch(
|
|
3166
|
+
`w/${wid}/folders/${folderId}/member-access?memberId=${memberId}`
|
|
3167
|
+
);
|
|
3168
|
+
}
|
|
3051
3169
|
/** Update the role associations for a folder's sharing permissions. */
|
|
3052
3170
|
async updateFolderRoles(wid, folderId, data) {
|
|
3053
3171
|
return this.fetch(
|
|
@@ -4831,7 +4949,12 @@ var OrgApi = class extends BaseApiClient {
|
|
|
4831
4949
|
`o/${orgUuid}/legal-entities/${legalEntityUuid}/trust-products`
|
|
4832
4950
|
);
|
|
4833
4951
|
}
|
|
4834
|
-
/**
|
|
4952
|
+
/**
|
|
4953
|
+
* Reconcile trust product state against Twilio (discovery + status
|
|
4954
|
+
* refresh). Returns the refreshed products plus which product keys were
|
|
4955
|
+
* newly discovered. Responds 409 when another Trust Hub operation holds
|
|
4956
|
+
* the org lock — retry shortly rather than queueing.
|
|
4957
|
+
*/
|
|
4835
4958
|
async syncVoiceTrustProducts(orgUuid, legalEntityUuid) {
|
|
4836
4959
|
return this.fetch(
|
|
4837
4960
|
`o/${orgUuid}/legal-entities/${legalEntityUuid}/trust-products/sync`,
|
|
@@ -4974,6 +5097,9 @@ function getOAuthPath(providerSlug, action) {
|
|
|
4974
5097
|
if (providerSlug === "gdrive") {
|
|
4975
5098
|
return `oauth/google/drive/${action}`;
|
|
4976
5099
|
}
|
|
5100
|
+
if (providerSlug === "gsheets") {
|
|
5101
|
+
return `oauth/google/sheets/${action}`;
|
|
5102
|
+
}
|
|
4977
5103
|
return `oauth/${providerSlug}/${action}`;
|
|
4978
5104
|
}
|
|
4979
5105
|
function buildAuthorizeQuery(options) {
|
|
@@ -5149,6 +5275,32 @@ var PhoneNumbersApi = class extends BaseApiClient {
|
|
|
5149
5275
|
`w/${wid}/phone-numbers/${id}/messages?${params}`
|
|
5150
5276
|
);
|
|
5151
5277
|
}
|
|
5278
|
+
/**
|
|
5279
|
+
* List received faxes for a phone number.
|
|
5280
|
+
*
|
|
5281
|
+
* The same log the Documo connection page shows, scoped to a number. Rows
|
|
5282
|
+
* carry `senderNumber` — an unauthenticated claim by the sending machine,
|
|
5283
|
+
* and PHI. Render it for triage; never log it.
|
|
5284
|
+
*
|
|
5285
|
+
* Same query vocabulary as `listDocumoFaxes` — one log, one spelling.
|
|
5286
|
+
* `status` is repeatable and is validated against the status enum, so a
|
|
5287
|
+
* typo is a 422 rather than a silently empty page. The date bounds filter
|
|
5288
|
+
* on when the delivery was recorded, not on `receivedAt`: a fax that failed
|
|
5289
|
+
* before storage never gets a `receivedAt`, so bounding that column would
|
|
5290
|
+
* hide exactly the failures an operator filtering by date is hunting for.
|
|
5291
|
+
*/
|
|
5292
|
+
async getPhoneNumberFaxes(wid, id, page = 1, pageSize = 10, filters) {
|
|
5293
|
+
const params = new URLSearchParams({
|
|
5294
|
+
page: String(page),
|
|
5295
|
+
pageSize: String(pageSize)
|
|
5296
|
+
});
|
|
5297
|
+
filters?.status?.forEach((value) => params.append("status", value));
|
|
5298
|
+
if (filters?.receivedAfter) params.set("receivedAfter", filters.receivedAfter);
|
|
5299
|
+
if (filters?.receivedBefore) params.set("receivedBefore", filters.receivedBefore);
|
|
5300
|
+
return this.fetch(
|
|
5301
|
+
`w/${wid}/phone-numbers/${id}/faxes?${params}`
|
|
5302
|
+
);
|
|
5303
|
+
}
|
|
5152
5304
|
/** List provider phones available for linking to workspace phone numbers. */
|
|
5153
5305
|
async getLinkablePhones(wid) {
|
|
5154
5306
|
return this.fetch(`w/${wid}/phone-numbers/linkable-phones`);
|
|
@@ -5667,6 +5819,16 @@ var SalesforceApi = class extends BaseApiClient {
|
|
|
5667
5819
|
}
|
|
5668
5820
|
);
|
|
5669
5821
|
}
|
|
5822
|
+
/**
|
|
5823
|
+
* List the sObjects available in the connected org.
|
|
5824
|
+
*
|
|
5825
|
+
* Backs the Target Object picker: the object set is org-specific (custom
|
|
5826
|
+
* objects included), so it must come from the org rather than a hardcoded
|
|
5827
|
+
* list.
|
|
5828
|
+
*/
|
|
5829
|
+
async listSalesforceObjects(wid) {
|
|
5830
|
+
return this.fetch(`w/${wid}/app-connections/salesforce/objects`);
|
|
5831
|
+
}
|
|
5670
5832
|
async describeSalesforceObject(wid, sobject) {
|
|
5671
5833
|
return this.fetch(
|
|
5672
5834
|
`w/${wid}/app-connections/salesforce/describe/${encodeURIComponent(sobject)}`
|
|
@@ -6732,7 +6894,12 @@ var ToolkitsApi = class extends BaseApiClient {
|
|
|
6732
6894
|
|
|
6733
6895
|
// src/api/journeys.ts
|
|
6734
6896
|
var JourneysApi = class extends BaseApiClient {
|
|
6735
|
-
/**
|
|
6897
|
+
/**
|
|
6898
|
+
* List journeys, optionally including archived, paginated.
|
|
6899
|
+
*
|
|
6900
|
+
* Returns the READ projection (`JourneyRead`) — CEL-free. Use
|
|
6901
|
+
* {@link getJourneyAuthoring} for the editor's expression-carrying shape.
|
|
6902
|
+
*/
|
|
6736
6903
|
async getJourneys(wid, includeArchived = false, pageOpts) {
|
|
6737
6904
|
const query = new URLSearchParams();
|
|
6738
6905
|
if (includeArchived) query.set("include_archived", "true");
|
|
@@ -6741,18 +6908,36 @@ var JourneysApi = class extends BaseApiClient {
|
|
|
6741
6908
|
const qs = query.toString() ? `?${query.toString()}` : "";
|
|
6742
6909
|
return this.fetch(`w/${wid}/journeys${qs}`);
|
|
6743
6910
|
}
|
|
6744
|
-
/**
|
|
6911
|
+
/**
|
|
6912
|
+
* Get a single journey by ID (includes steps and goals).
|
|
6913
|
+
*
|
|
6914
|
+
* Returns the READ projection (`JourneyRead`) — nested edges carry no
|
|
6915
|
+
* `celCondition` and goals no `completionCel`. The editor uses
|
|
6916
|
+
* {@link getJourneyAuthoring} for those.
|
|
6917
|
+
*/
|
|
6745
6918
|
async getJourney(wid, journeyId) {
|
|
6746
6919
|
return this.fetch(`w/${wid}/journeys/${journeyId}`);
|
|
6747
6920
|
}
|
|
6748
|
-
/**
|
|
6921
|
+
/**
|
|
6922
|
+
* Get a journey's AUTHORING projection (raw edge/goal CEL).
|
|
6923
|
+
*
|
|
6924
|
+
* journey-decoupling §3.5: the ordinary `getJourney` read projection omits
|
|
6925
|
+
* raw edge `celCondition` and goal `completionCel`. This endpoint is the
|
|
6926
|
+
* write-authorized surface that carries them for the Journey editor — it
|
|
6927
|
+
* requires the `journeys:write` scope, so a read-only caller is denied and
|
|
6928
|
+
* must not call it. Returns the authoring superset (`Journey`).
|
|
6929
|
+
*/
|
|
6930
|
+
async getJourneyAuthoring(wid, journeyId) {
|
|
6931
|
+
return this.fetch(`w/${wid}/journeys/${journeyId}/authoring`);
|
|
6932
|
+
}
|
|
6933
|
+
/** Create a new journey. Returns the READ projection (`JourneyRead`). */
|
|
6749
6934
|
async createJourney(wid, data) {
|
|
6750
6935
|
return this.fetch(`w/${wid}/journeys`, {
|
|
6751
6936
|
method: "POST",
|
|
6752
6937
|
body: JSON.stringify(data)
|
|
6753
6938
|
});
|
|
6754
6939
|
}
|
|
6755
|
-
/** Update an existing journey. */
|
|
6940
|
+
/** Update an existing journey. Returns the READ projection (`JourneyRead`). */
|
|
6756
6941
|
async updateJourney(wid, journeyId, data) {
|
|
6757
6942
|
return this.fetch(`w/${wid}/journeys/${journeyId}`, {
|
|
6758
6943
|
method: "PUT",
|
|
@@ -6793,6 +6978,18 @@ var JourneysApi = class extends BaseApiClient {
|
|
|
6793
6978
|
method: "DELETE"
|
|
6794
6979
|
});
|
|
6795
6980
|
}
|
|
6981
|
+
/**
|
|
6982
|
+
* Unarchive a step and backfill active enrollments. Idempotent —
|
|
6983
|
+
* repeated calls are harmless. The response's
|
|
6984
|
+
* `backfilledEnrollmentCount` reports how many active enrollments
|
|
6985
|
+
* received a new step row; a root step may become eligible for all of
|
|
6986
|
+
* them on the next journey sweep.
|
|
6987
|
+
*/
|
|
6988
|
+
async unarchiveStep(wid, journeyId, stepUuid) {
|
|
6989
|
+
return this.fetch(`w/${wid}/journeys/${journeyId}/steps/${stepUuid}/unarchive`, {
|
|
6990
|
+
method: "PATCH"
|
|
6991
|
+
});
|
|
6992
|
+
}
|
|
6796
6993
|
/** Create a connection (DAG edge) between two steps. */
|
|
6797
6994
|
async createConnection(wid, journeyId, data) {
|
|
6798
6995
|
return this.fetch(`w/${wid}/journeys/${journeyId}/connections`, {
|
|
@@ -7491,6 +7688,7 @@ var EventRuleObjectType = /* @__PURE__ */ ((EventRuleObjectType2) => {
|
|
|
7491
7688
|
EventRuleObjectType2["JOURNEY"] = "journey";
|
|
7492
7689
|
EventRuleObjectType2["CALL"] = "call";
|
|
7493
7690
|
EventRuleObjectType2["VOICEMAIL"] = "voicemail";
|
|
7691
|
+
EventRuleObjectType2["FAX"] = "fax";
|
|
7494
7692
|
return EventRuleObjectType2;
|
|
7495
7693
|
})(EventRuleObjectType || {});
|
|
7496
7694
|
var EventRuleEventType = /* @__PURE__ */ ((EventRuleEventType2) => {
|
|
@@ -7523,6 +7721,7 @@ var EventRuleEventType = /* @__PURE__ */ ((EventRuleEventType2) => {
|
|
|
7523
7721
|
EventRuleEventType2["CALL_COMPLETED"] = "call:completed";
|
|
7524
7722
|
EventRuleEventType2["CALL_SUMMARY"] = "call:summary";
|
|
7525
7723
|
EventRuleEventType2["VOICEMAIL_RECEIVED"] = "voicemail:received";
|
|
7724
|
+
EventRuleEventType2["FAX_RECEIVED"] = "fax:received";
|
|
7526
7725
|
return EventRuleEventType2;
|
|
7527
7726
|
})(EventRuleEventType || {});
|
|
7528
7727
|
var EventRuleActionType = /* @__PURE__ */ ((EventRuleActionType2) => {
|
|
@@ -7534,6 +7733,9 @@ var EventRuleActionType = /* @__PURE__ */ ((EventRuleActionType2) => {
|
|
|
7534
7733
|
EventRuleActionType2["ASSISTANT_MESSAGE"] = "assistant:message";
|
|
7535
7734
|
EventRuleActionType2["FORM_FIELD_UPDATE"] = "form:update_field";
|
|
7536
7735
|
EventRuleActionType2["CEL_MUTATE"] = "record:cel_mutate";
|
|
7736
|
+
EventRuleActionType2["RECORD_COPY_FIELDS"] = "record:copy_fields";
|
|
7737
|
+
EventRuleActionType2["RECORD_UPSERT_LINKED"] = "record:upsert_linked";
|
|
7738
|
+
EventRuleActionType2["RECORD_VERIFY_FIELDS"] = "record:verify_fields";
|
|
7537
7739
|
EventRuleActionType2["MESSAGE_VALIDATION"] = "message:validation";
|
|
7538
7740
|
EventRuleActionType2["CHAT_CREATE"] = "chat:create";
|
|
7539
7741
|
EventRuleActionType2["CHAT_CONTINUE"] = "chat:continue";
|
|
@@ -7573,12 +7775,14 @@ var WorkspaceFeature = /* @__PURE__ */ ((WorkspaceFeature2) => {
|
|
|
7573
7775
|
WorkspaceFeature2["BROWSER"] = "browser";
|
|
7574
7776
|
WorkspaceFeature2["WEB_SEARCH"] = "web_search";
|
|
7575
7777
|
WorkspaceFeature2["CALENDAR"] = "calendar";
|
|
7576
|
-
WorkspaceFeature2["JOURNEYS"] = "journeys";
|
|
7577
7778
|
WorkspaceFeature2["EXPERIMENTS"] = "experiments";
|
|
7578
7779
|
WorkspaceFeature2["OPERATOR"] = "operator";
|
|
7579
7780
|
WorkspaceFeature2["GMAIL"] = "gmail";
|
|
7580
7781
|
WorkspaceFeature2["GCALENDAR"] = "gcalendar";
|
|
7782
|
+
WorkspaceFeature2["GDRIVE"] = "gdrive";
|
|
7783
|
+
WorkspaceFeature2["GSHEETS"] = "gsheets";
|
|
7581
7784
|
WorkspaceFeature2["MONDAY"] = "monday";
|
|
7785
|
+
WorkspaceFeature2["DOCUMO_FAX"] = "documo_fax";
|
|
7582
7786
|
WorkspaceFeature2["RESELL_PRODUCTS"] = "resell_products";
|
|
7583
7787
|
WorkspaceFeature2["SOC2_COMPLIANCE"] = "soc2_compliance";
|
|
7584
7788
|
WorkspaceFeature2["EHR_FHIR"] = "ehr_fhir";
|
|
@@ -7761,6 +7965,7 @@ var AccessGrantResourceType = /* @__PURE__ */ ((AccessGrantResourceType2) => {
|
|
|
7761
7965
|
})(AccessGrantResourceType || {});
|
|
7762
7966
|
var CapabilityClass = /* @__PURE__ */ ((CapabilityClass2) => {
|
|
7763
7967
|
CapabilityClass2["TOOL_ALWAYS_ALLOW"] = "tool.always_allow";
|
|
7968
|
+
CapabilityClass2["SCOPE_ALWAYS_ALLOW"] = "scope.always_allow";
|
|
7764
7969
|
CapabilityClass2["SELF_MODIFICATION_SCHEDULE"] = "self_modification.schedule";
|
|
7765
7970
|
CapabilityClass2["ATTENTION_INTERRUPT_RUNG"] = "attention.interrupt_rung";
|
|
7766
7971
|
return CapabilityClass2;
|
|
@@ -8621,6 +8826,7 @@ function createApiModules(apiKey, baseUrl, customFetch) {
|
|
|
8621
8826
|
fhirConnections: new FhirConnectionsApi(apiKey, baseUrl, customFetch),
|
|
8622
8827
|
patientSyncConnections: new PatientSyncConnectionsApi(apiKey, baseUrl, customFetch),
|
|
8623
8828
|
healthie: new HealthieApi(apiKey, baseUrl, customFetch),
|
|
8829
|
+
documoFax: new DocumoFaxApi(apiKey, baseUrl, customFetch),
|
|
8624
8830
|
hubspot: new HubspotApi(apiKey, baseUrl, customFetch),
|
|
8625
8831
|
features: new FeaturesApi(apiKey, baseUrl, customFetch),
|
|
8626
8832
|
files: new FilesApi(apiKey, baseUrl, customFetch),
|
|
@@ -8682,7 +8888,9 @@ var WORKSPACE_METHOD_NAMES = [
|
|
|
8682
8888
|
"autoCreateDataTypeFromBoard",
|
|
8683
8889
|
"blockWorkspaceInvitation",
|
|
8684
8890
|
"bookHealthieAppointment",
|
|
8891
|
+
"buildSiteSource",
|
|
8685
8892
|
"buildWorkspace",
|
|
8893
|
+
"bulkCreateMembers",
|
|
8686
8894
|
"bulkLinkMembersToHubspot",
|
|
8687
8895
|
"bulkLinkMembersToMonday",
|
|
8688
8896
|
"bulkLinkMembersToSalesforce",
|
|
@@ -8702,7 +8910,9 @@ var WORKSPACE_METHOD_NAMES = [
|
|
|
8702
8910
|
"cloneWorkflow",
|
|
8703
8911
|
"closeWorkspaceSupportRequest",
|
|
8704
8912
|
"commentOnWorkspaceSupportRequest",
|
|
8913
|
+
"completeDiscordLink",
|
|
8705
8914
|
"configureConfluence",
|
|
8915
|
+
"configureDocumoFax",
|
|
8706
8916
|
"configureHealthie",
|
|
8707
8917
|
"configurePatientSync",
|
|
8708
8918
|
"configureHubspot",
|
|
@@ -8718,6 +8928,7 @@ var WORKSPACE_METHOD_NAMES = [
|
|
|
8718
8928
|
"createAssignment",
|
|
8719
8929
|
"createCalendar",
|
|
8720
8930
|
"createCalendarEvent",
|
|
8931
|
+
"createCalendarEventType",
|
|
8721
8932
|
"createCalendarSchedule",
|
|
8722
8933
|
"createChat",
|
|
8723
8934
|
"createChatCompletion",
|
|
@@ -8727,12 +8938,12 @@ var WORKSPACE_METHOD_NAMES = [
|
|
|
8727
8938
|
"createConnection",
|
|
8728
8939
|
"createCustomTool",
|
|
8729
8940
|
"createCustomToolkit",
|
|
8941
|
+
"createDashboard",
|
|
8730
8942
|
"createDataRecord",
|
|
8731
8943
|
"createDataRecordFilter",
|
|
8732
8944
|
"createDataType",
|
|
8733
8945
|
"createDiscordBot",
|
|
8734
8946
|
"createEventRule",
|
|
8735
|
-
"createEventType",
|
|
8736
8947
|
"createExperiment",
|
|
8737
8948
|
"createExperimentAssignment",
|
|
8738
8949
|
"createExperimentGroup",
|
|
@@ -8762,8 +8973,8 @@ var WORKSPACE_METHOD_NAMES = [
|
|
|
8762
8973
|
"createScenario",
|
|
8763
8974
|
"createSignup",
|
|
8764
8975
|
"createSite",
|
|
8976
|
+
"createSiteSource",
|
|
8765
8977
|
"createSlackApp",
|
|
8766
|
-
"createSnippet",
|
|
8767
8978
|
"createStep",
|
|
8768
8979
|
"createSupervisor",
|
|
8769
8980
|
"createTask",
|
|
@@ -8780,6 +8991,7 @@ var WORKSPACE_METHOD_NAMES = [
|
|
|
8780
8991
|
"deleteAssignment",
|
|
8781
8992
|
"deleteCalendar",
|
|
8782
8993
|
"deleteCalendarEvent",
|
|
8994
|
+
"deleteCalendarEventType",
|
|
8783
8995
|
"deleteCalendarSchedule",
|
|
8784
8996
|
"deleteChat",
|
|
8785
8997
|
"deleteChatFilter",
|
|
@@ -8789,13 +9001,13 @@ var WORKSPACE_METHOD_NAMES = [
|
|
|
8789
9001
|
"deleteConnection",
|
|
8790
9002
|
"deleteCustomTool",
|
|
8791
9003
|
"deleteCustomToolkit",
|
|
9004
|
+
"deleteDashboard",
|
|
8792
9005
|
"deleteDataRecord",
|
|
8793
9006
|
"deleteDataRecordFilter",
|
|
8794
9007
|
"deleteDataType",
|
|
8795
9008
|
"deleteDiscordBot",
|
|
8796
9009
|
"deleteEnrollment",
|
|
8797
9010
|
"deleteEventRule",
|
|
8798
|
-
"deleteEventType",
|
|
8799
9011
|
"deleteExperiment",
|
|
8800
9012
|
"deleteExperimentAssignment",
|
|
8801
9013
|
"deleteExperimentGroup",
|
|
@@ -8829,7 +9041,6 @@ var WORKSPACE_METHOD_NAMES = [
|
|
|
8829
9041
|
"deleteScenario",
|
|
8830
9042
|
"deleteSite",
|
|
8831
9043
|
"deleteSlackApp",
|
|
8832
|
-
"deleteSnippet",
|
|
8833
9044
|
"deleteSupervisor",
|
|
8834
9045
|
"deleteTask",
|
|
8835
9046
|
"deleteTeamsApp",
|
|
@@ -8853,10 +9064,13 @@ var WORKSPACE_METHOD_NAMES = [
|
|
|
8853
9064
|
"disconnectMondayConnection",
|
|
8854
9065
|
"disconnectPresence",
|
|
8855
9066
|
"disconnectSalesforce",
|
|
9067
|
+
"discordLinkPreflight",
|
|
8856
9068
|
"discoverOAuthMetadata",
|
|
8857
9069
|
"dismissAllNotifications",
|
|
8858
9070
|
"dismissNotification",
|
|
8859
9071
|
"downloadEmailAttachment",
|
|
9072
|
+
"downloadFilesZip",
|
|
9073
|
+
"downloadSiteSourceZip",
|
|
8860
9074
|
"editWorkflowRevisionAsDraft",
|
|
8861
9075
|
"enableConfluence",
|
|
8862
9076
|
"enableCustomToolkit",
|
|
@@ -8873,9 +9087,11 @@ var WORKSPACE_METHOD_NAMES = [
|
|
|
8873
9087
|
"exportChat",
|
|
8874
9088
|
"exportChats",
|
|
8875
9089
|
"exportMembers",
|
|
9090
|
+
"exportPhoneNumberOutboundAnalyticsCsv",
|
|
8876
9091
|
"exportWorkspace",
|
|
8877
9092
|
"fetchVoicemailAudio",
|
|
8878
9093
|
"fhirBackfillEncounterSync",
|
|
9094
|
+
"fhirCheckPatientLinks",
|
|
8879
9095
|
"fhirCreateEncounter",
|
|
8880
9096
|
"fhirCsvImportApply",
|
|
8881
9097
|
"fhirCsvImportInspect",
|
|
@@ -8926,15 +9142,15 @@ var WORKSPACE_METHOD_NAMES = [
|
|
|
8926
9142
|
"getAvailableActions",
|
|
8927
9143
|
"getAvailablePhoneNumbers",
|
|
8928
9144
|
"getAvailableSlots",
|
|
8929
|
-
"getBoardColumns",
|
|
8930
|
-
"getBoardGroups",
|
|
8931
|
-
"getBoards",
|
|
8932
9145
|
"getBusinessHoursStatus",
|
|
8933
9146
|
"getCalendar",
|
|
8934
9147
|
"getCalendarEvent",
|
|
9148
|
+
"getCalendarEventType",
|
|
9149
|
+
"getCalendarEventTypes",
|
|
8935
9150
|
"getCalendarEvents",
|
|
8936
9151
|
"getCalendarSchedules",
|
|
8937
9152
|
"getCalendars",
|
|
9153
|
+
"getCallRecordingDownloadUrl",
|
|
8938
9154
|
"getCelContext",
|
|
8939
9155
|
"getCharlestonTestDeliveryRecipients",
|
|
8940
9156
|
"getChat",
|
|
@@ -8949,6 +9165,7 @@ var WORKSPACE_METHOD_NAMES = [
|
|
|
8949
9165
|
"getChatLabelByUuid",
|
|
8950
9166
|
"getChatLabels",
|
|
8951
9167
|
"getChatMessages",
|
|
9168
|
+
"getChatModelOverride",
|
|
8952
9169
|
"getChatPhoneCalls",
|
|
8953
9170
|
"getChatSkills",
|
|
8954
9171
|
"getChatTodos",
|
|
@@ -8958,6 +9175,7 @@ var WORKSPACE_METHOD_NAMES = [
|
|
|
8958
9175
|
"getChats",
|
|
8959
9176
|
"getChatsDailyCreationStats",
|
|
8960
9177
|
"getChatsNeedsResponse",
|
|
9178
|
+
"getChildThreadMessages",
|
|
8961
9179
|
"getClientWorkspace",
|
|
8962
9180
|
"getConfluenceStatus",
|
|
8963
9181
|
"getConnectionSyncCapabilities",
|
|
@@ -8965,9 +9183,12 @@ var WORKSPACE_METHOD_NAMES = [
|
|
|
8965
9183
|
"getConnectionSyncConfig",
|
|
8966
9184
|
"getCredentialUpdateInvites",
|
|
8967
9185
|
"getCurrentMember",
|
|
8968
|
-
"getCurrentUserInfo",
|
|
8969
9186
|
"getCustomToolkit",
|
|
8970
9187
|
"getCustomToolkits",
|
|
9188
|
+
"getDashboard",
|
|
9189
|
+
"getDashboardChannelStats",
|
|
9190
|
+
"getDashboardWorkflowAssignmentStats",
|
|
9191
|
+
"getDashboards",
|
|
8971
9192
|
"getDataRecord",
|
|
8972
9193
|
"getDataRecordChanges",
|
|
8973
9194
|
"getDataRecordFilter",
|
|
@@ -8984,10 +9205,11 @@ var WORKSPACE_METHOD_NAMES = [
|
|
|
8984
9205
|
"getDiscordBots",
|
|
8985
9206
|
"getDiscordGuilds",
|
|
8986
9207
|
"getDiscordThreads",
|
|
9208
|
+
"getDocumoFaxSetup",
|
|
9209
|
+
"listDocumoFaxes",
|
|
9210
|
+
"getDocumoFaxStatus",
|
|
8987
9211
|
"getEventRule",
|
|
8988
9212
|
"getEventRules",
|
|
8989
|
-
"getEventType",
|
|
8990
|
-
"getEventTypes",
|
|
8991
9213
|
"getExperiment",
|
|
8992
9214
|
"getExperimentStats",
|
|
8993
9215
|
"getExperiments",
|
|
@@ -8996,6 +9218,26 @@ var WORKSPACE_METHOD_NAMES = [
|
|
|
8996
9218
|
"getFhirConnections",
|
|
8997
9219
|
"getFieldIndexStatus",
|
|
8998
9220
|
"getFile",
|
|
9221
|
+
"getMondayBoardColumns",
|
|
9222
|
+
"getMondayBoardGroups",
|
|
9223
|
+
"getMondayBoards",
|
|
9224
|
+
"getMondayCurrentUserInfo",
|
|
9225
|
+
"getMotd",
|
|
9226
|
+
"getPhoneNumberOutboundAnalyticsCalls",
|
|
9227
|
+
"getPhoneNumberOutboundAnalyticsSummary",
|
|
9228
|
+
"getQueryFields",
|
|
9229
|
+
"getSiteSharing",
|
|
9230
|
+
"getSiteSource",
|
|
9231
|
+
"getSiteSourceTemplates",
|
|
9232
|
+
"getThemeSettings",
|
|
9233
|
+
"importSiteSourceZip",
|
|
9234
|
+
"installDocumoFax",
|
|
9235
|
+
"listChatRecordings",
|
|
9236
|
+
"previewQuery",
|
|
9237
|
+
"publishSiteSource",
|
|
9238
|
+
"registerDiscordSlashCommands",
|
|
9239
|
+
"reopenWorkspaceSupportRequest",
|
|
9240
|
+
"resetSiteSource",
|
|
8999
9241
|
"resolveFilePath",
|
|
9000
9242
|
"getFileLabel",
|
|
9001
9243
|
"getFileLabelByUuid",
|
|
@@ -9006,6 +9248,7 @@ var WORKSPACE_METHOD_NAMES = [
|
|
|
9006
9248
|
"getFiles",
|
|
9007
9249
|
"getFirstRunState",
|
|
9008
9250
|
"getFolder",
|
|
9251
|
+
"getFolderMemberAccess",
|
|
9009
9252
|
"getFolderSharing",
|
|
9010
9253
|
"getFolders",
|
|
9011
9254
|
"getGoogleCalendarStatus",
|
|
@@ -9027,6 +9270,7 @@ var WORKSPACE_METHOD_NAMES = [
|
|
|
9027
9270
|
"getInboxThreads",
|
|
9028
9271
|
"getInboxes",
|
|
9029
9272
|
"getJourney",
|
|
9273
|
+
"getJourneyAuthoring",
|
|
9030
9274
|
"getJourneyHealth",
|
|
9031
9275
|
"getJourneyMembers",
|
|
9032
9276
|
"getJourneyNotes",
|
|
@@ -9091,6 +9335,7 @@ var WORKSPACE_METHOD_NAMES = [
|
|
|
9091
9335
|
"getPhoneCalls",
|
|
9092
9336
|
"getPhoneNumber",
|
|
9093
9337
|
"getPhoneNumberCalls",
|
|
9338
|
+
"getPhoneNumberFaxes",
|
|
9094
9339
|
"getPhoneNumberMessages",
|
|
9095
9340
|
"getPhoneNumberVoicemails",
|
|
9096
9341
|
"getPhoneNumbers",
|
|
@@ -9128,7 +9373,6 @@ var WORKSPACE_METHOD_NAMES = [
|
|
|
9128
9373
|
"getSlackApps",
|
|
9129
9374
|
"getSlackInstallations",
|
|
9130
9375
|
"getSlackThreads",
|
|
9131
|
-
"getSnippet",
|
|
9132
9376
|
"getStepMemberCounts",
|
|
9133
9377
|
"getStepMembers",
|
|
9134
9378
|
"getSupervisor",
|
|
@@ -9166,7 +9410,6 @@ var WORKSPACE_METHOD_NAMES = [
|
|
|
9166
9410
|
"getWorkflowNotes",
|
|
9167
9411
|
"getWorkflowRevision",
|
|
9168
9412
|
"getWorkflowRevisions",
|
|
9169
|
-
"getWorkflowRouteDryRun",
|
|
9170
9413
|
"getWorkflowTaskAssignmentStats",
|
|
9171
9414
|
"getWorkflowTemplates",
|
|
9172
9415
|
"getWorkflowThumbnailUrl",
|
|
@@ -9196,6 +9439,7 @@ var WORKSPACE_METHOD_NAMES = [
|
|
|
9196
9439
|
"initiateOutboundCall",
|
|
9197
9440
|
"inspectPrompt",
|
|
9198
9441
|
"installHubspot",
|
|
9442
|
+
"installDocumoFax",
|
|
9199
9443
|
"installMondayConnection",
|
|
9200
9444
|
"installSalesforce",
|
|
9201
9445
|
"inviteMemberCredentialUpdate",
|
|
@@ -9214,6 +9458,10 @@ var WORKSPACE_METHOD_NAMES = [
|
|
|
9214
9458
|
"listConfluencePages",
|
|
9215
9459
|
"listConfluenceSpaces",
|
|
9216
9460
|
"listConnectionMemberFieldKeys",
|
|
9461
|
+
"rollbackSiteSource",
|
|
9462
|
+
"rotateDocumoFaxCredentials",
|
|
9463
|
+
"runQuery",
|
|
9464
|
+
"sendMemberPhoneConfirmation",
|
|
9217
9465
|
"setDefaultGooglePlatformAccount",
|
|
9218
9466
|
"listFileVersions",
|
|
9219
9467
|
"listGoogleCalendars",
|
|
@@ -9222,8 +9470,8 @@ var WORKSPACE_METHOD_NAMES = [
|
|
|
9222
9470
|
"listHealthieProviders",
|
|
9223
9471
|
"listPersonas",
|
|
9224
9472
|
"listPushSubscriptions",
|
|
9473
|
+
"listSalesforceObjects",
|
|
9225
9474
|
"listScenarios",
|
|
9226
|
-
"listSnippets",
|
|
9227
9475
|
"listTestChatRuns",
|
|
9228
9476
|
"listWidgetDomains",
|
|
9229
9477
|
"listWorkspaceInvitationsAdmin",
|
|
@@ -9246,7 +9494,6 @@ var WORKSPACE_METHOD_NAMES = [
|
|
|
9246
9494
|
"reenrollMember",
|
|
9247
9495
|
"registerLinkedRolesMetadata",
|
|
9248
9496
|
"registerPushSubscription",
|
|
9249
|
-
"registerSlashCommands",
|
|
9250
9497
|
"reindexFolder",
|
|
9251
9498
|
"releasePhoneNumber",
|
|
9252
9499
|
"removeFileRole",
|
|
@@ -9255,6 +9502,7 @@ var WORKSPACE_METHOD_NAMES = [
|
|
|
9255
9502
|
"reorderEventRules",
|
|
9256
9503
|
"reorderMenuItems",
|
|
9257
9504
|
"replyToEmail",
|
|
9505
|
+
"rotateDocumoFaxCredentials",
|
|
9258
9506
|
"requestPhoneNumber",
|
|
9259
9507
|
"requestWorkspaceMembership",
|
|
9260
9508
|
"resetRoutineRuns",
|
|
@@ -9292,11 +9540,13 @@ var WORKSPACE_METHOD_NAMES = [
|
|
|
9292
9540
|
"testMcpServerConnection",
|
|
9293
9541
|
"testMondayConnection",
|
|
9294
9542
|
"testRunJourney",
|
|
9543
|
+
"testWebhook",
|
|
9295
9544
|
"toggleFieldIndex",
|
|
9296
9545
|
"unarchiveAgent",
|
|
9297
9546
|
"unarchiveChat",
|
|
9298
9547
|
"unarchiveDataType",
|
|
9299
9548
|
"unarchiveMember",
|
|
9549
|
+
"unarchiveStep",
|
|
9300
9550
|
"unarchiveTask",
|
|
9301
9551
|
"unarchiveWorkflow",
|
|
9302
9552
|
"unenrollMembers",
|
|
@@ -9313,10 +9563,12 @@ var WORKSPACE_METHOD_NAMES = [
|
|
|
9313
9563
|
"updateAssignment",
|
|
9314
9564
|
"updateCalendar",
|
|
9315
9565
|
"updateCalendarEvent",
|
|
9566
|
+
"updateCalendarEventType",
|
|
9316
9567
|
"updateCalendarSchedule",
|
|
9317
9568
|
"updateChat",
|
|
9318
9569
|
"updateChatFilter",
|
|
9319
9570
|
"updateChatLabel",
|
|
9571
|
+
"updateChatModelOverride",
|
|
9320
9572
|
"updateChatMute",
|
|
9321
9573
|
"updateChatNeedsResponse",
|
|
9322
9574
|
"updateClientWorkspace",
|
|
@@ -9325,13 +9577,13 @@ var WORKSPACE_METHOD_NAMES = [
|
|
|
9325
9577
|
"updateCurrentMember",
|
|
9326
9578
|
"updateCustomTool",
|
|
9327
9579
|
"updateCustomToolkit",
|
|
9580
|
+
"updateDashboard",
|
|
9328
9581
|
"updateDataRecord",
|
|
9329
9582
|
"updateDataRecordFilter",
|
|
9330
9583
|
"updateDataType",
|
|
9331
9584
|
"updateDiscordBot",
|
|
9332
9585
|
"updateEventAttendee",
|
|
9333
9586
|
"updateEventRule",
|
|
9334
|
-
"updateEventType",
|
|
9335
9587
|
"updateExperiment",
|
|
9336
9588
|
"updateExperimentAssignment",
|
|
9337
9589
|
"updateExperimentGroup",
|
|
@@ -9368,12 +9620,13 @@ var WORKSPACE_METHOD_NAMES = [
|
|
|
9368
9620
|
"updateSalesforceSyncConfig",
|
|
9369
9621
|
"updateScenario",
|
|
9370
9622
|
"updateSite",
|
|
9623
|
+
"updateSiteSharing",
|
|
9371
9624
|
"updateSlackApp",
|
|
9372
|
-
"updateSnippet",
|
|
9373
9625
|
"updateStep",
|
|
9374
9626
|
"updateSupervisor",
|
|
9375
9627
|
"updateTask",
|
|
9376
9628
|
"updateTeamsApp",
|
|
9629
|
+
"updateThemeSettings",
|
|
9377
9630
|
"uploadFile",
|
|
9378
9631
|
"updateVoicemailStatus",
|
|
9379
9632
|
"updateWorkflow",
|
|
@@ -9386,8 +9639,11 @@ var WORKSPACE_METHOD_NAMES = [
|
|
|
9386
9639
|
"updateWorkspaceThemes",
|
|
9387
9640
|
"upsertDataRecord",
|
|
9388
9641
|
"upsertWidgetDomain",
|
|
9642
|
+
"validateCelExpression",
|
|
9389
9643
|
"validateDataTypeSlug",
|
|
9390
|
-
"
|
|
9644
|
+
"validateQuery",
|
|
9645
|
+
"validateWorkflowName",
|
|
9646
|
+
"verifyDocumoFax"
|
|
9391
9647
|
];
|
|
9392
9648
|
var WORKSPACE_METHOD_NAME_SET = new Set(WORKSPACE_METHOD_NAMES);
|
|
9393
9649
|
function createWorkspaceClient(root, workspaceUuid) {
|
|
@@ -9482,6 +9738,7 @@ function bindChatsMethods(target, chats) {
|
|
|
9482
9738
|
target.updateChatNeedsResponse = chats.updateChatNeedsResponse.bind(chats);
|
|
9483
9739
|
target.summarizeChat = chats.summarizeChat.bind(chats);
|
|
9484
9740
|
target.getChatMessages = chats.getChatMessages.bind(chats);
|
|
9741
|
+
target.getChildThreadMessages = chats.getChildThreadMessages.bind(chats);
|
|
9485
9742
|
target.getChatToolCallMessages = chats.getChatToolCallMessages.bind(chats);
|
|
9486
9743
|
target.getChatTools = chats.getChatTools.bind(chats);
|
|
9487
9744
|
target.initiateOutboundCall = chats.initiateOutboundCall.bind(chats);
|
|
@@ -9520,6 +9777,7 @@ function bindCallsMethods(target, calls, cel) {
|
|
|
9520
9777
|
target.listChatRecordings = calls.listChatRecordings.bind(calls);
|
|
9521
9778
|
target.getCallRecordingDownloadUrl = calls.getCallRecordingDownloadUrl.bind(calls);
|
|
9522
9779
|
target.getCelContext = cel.getCelContext.bind(cel);
|
|
9780
|
+
target.validateCelExpression = cel.validateCelExpression.bind(cel);
|
|
9523
9781
|
}
|
|
9524
9782
|
|
|
9525
9783
|
// src/client/bindings/dashboards.ts
|
|
@@ -9836,6 +10094,7 @@ function bindFilesMethods(target, files) {
|
|
|
9836
10094
|
target.updateFileRoles = files.updateFileRoles.bind(files);
|
|
9837
10095
|
target.removeFileRole = files.removeFileRole.bind(files);
|
|
9838
10096
|
target.getFolderSharing = files.getFolderSharing.bind(files);
|
|
10097
|
+
target.getFolderMemberAccess = files.getFolderMemberAccess.bind(files);
|
|
9839
10098
|
target.updateFolderRoles = files.updateFolderRoles.bind(files);
|
|
9840
10099
|
target.removeFolderRole = files.removeFolderRole.bind(files);
|
|
9841
10100
|
target.updateFileSharing = files.updateFileSharing.bind(files);
|
|
@@ -9992,6 +10251,7 @@ function bindCommunicationsMethods(target, phoneNumbers, inboxes, notificationRu
|
|
|
9992
10251
|
target.getPhoneNumberOutboundAnalyticsCalls = phoneNumbers.getPhoneNumberOutboundAnalyticsCalls.bind(phoneNumbers);
|
|
9993
10252
|
target.exportPhoneNumberOutboundAnalyticsCsv = phoneNumbers.exportPhoneNumberOutboundAnalyticsCsv.bind(phoneNumbers);
|
|
9994
10253
|
target.getPhoneNumberMessages = phoneNumbers.getPhoneNumberMessages.bind(phoneNumbers);
|
|
10254
|
+
target.getPhoneNumberFaxes = phoneNumbers.getPhoneNumberFaxes.bind(phoneNumbers);
|
|
9995
10255
|
target.getPhoneNumberVoicemails = phoneNumbers.getPhoneNumberVoicemails.bind(phoneNumbers);
|
|
9996
10256
|
target.fetchVoicemailAudio = phoneNumbers.fetchVoicemailAudio.bind(phoneNumbers);
|
|
9997
10257
|
target.updateVoicemailStatus = phoneNumbers.updateVoicemailStatus.bind(phoneNumbers);
|
|
@@ -10115,7 +10375,7 @@ function bindAppsMethods(target, apps, builders, inquiries, oauth, oauthConnecti
|
|
|
10115
10375
|
}
|
|
10116
10376
|
|
|
10117
10377
|
// src/client/bindings/integrations.ts
|
|
10118
|
-
function bindIntegrationsMethods(target, mondayIntegration, discordBots, slackApps, teamsApps, fhirConnections, patientSyncConnections, healthie, salesforce, hubspot, appConnections, connectionSync, confluence) {
|
|
10378
|
+
function bindIntegrationsMethods(target, mondayIntegration, discordBots, slackApps, teamsApps, fhirConnections, patientSyncConnections, healthie, documoFax, salesforce, hubspot, appConnections, connectionSync, confluence) {
|
|
10119
10379
|
target.getMondayBoards = mondayIntegration.getBoards.bind(mondayIntegration);
|
|
10120
10380
|
target.getMondayBoardColumns = mondayIntegration.getBoardColumns.bind(mondayIntegration);
|
|
10121
10381
|
target.getMondayBoardGroups = mondayIntegration.getBoardGroups.bind(mondayIntegration);
|
|
@@ -10187,6 +10447,7 @@ function bindIntegrationsMethods(target, mondayIntegration, discordBots, slackAp
|
|
|
10187
10447
|
target.fhirFetchEncounters = fhirConnections.fhirFetchEncounters.bind(fhirConnections);
|
|
10188
10448
|
target.fhirCreateEncounter = fhirConnections.fhirCreateEncounter.bind(fhirConnections);
|
|
10189
10449
|
target.fhirListLinkedMembers = fhirConnections.fhirListLinkedMembers.bind(fhirConnections);
|
|
10450
|
+
target.fhirCheckPatientLinks = fhirConnections.fhirCheckPatientLinks.bind(fhirConnections);
|
|
10190
10451
|
target.fhirLinkMember = fhirConnections.fhirLinkMember.bind(fhirConnections);
|
|
10191
10452
|
target.fhirUnlinkMember = fhirConnections.fhirUnlinkMember.bind(fhirConnections);
|
|
10192
10453
|
target.fhirSyncMember = fhirConnections.fhirSyncMember.bind(fhirConnections);
|
|
@@ -10206,6 +10467,13 @@ function bindIntegrationsMethods(target, mondayIntegration, discordBots, slackAp
|
|
|
10206
10467
|
target.configurePatientSync = patientSyncConnections.configurePatientSync.bind(patientSyncConnections);
|
|
10207
10468
|
target.getPatientSyncStatus = patientSyncConnections.getPatientSyncStatus.bind(patientSyncConnections);
|
|
10208
10469
|
target.deletePatientSyncConnection = patientSyncConnections.deletePatientSyncConnection.bind(patientSyncConnections);
|
|
10470
|
+
target.getDocumoFaxStatus = documoFax.getDocumoFaxStatus.bind(documoFax);
|
|
10471
|
+
target.getDocumoFaxSetup = documoFax.getDocumoFaxSetup.bind(documoFax);
|
|
10472
|
+
target.listDocumoFaxes = documoFax.listDocumoFaxes.bind(documoFax);
|
|
10473
|
+
target.installDocumoFax = documoFax.installDocumoFax.bind(documoFax);
|
|
10474
|
+
target.configureDocumoFax = documoFax.configureDocumoFax.bind(documoFax);
|
|
10475
|
+
target.verifyDocumoFax = documoFax.verifyDocumoFax.bind(documoFax);
|
|
10476
|
+
target.rotateDocumoFaxCredentials = documoFax.rotateDocumoFaxCredentials.bind(documoFax);
|
|
10209
10477
|
target.configureHealthie = healthie.configureHealthie.bind(healthie);
|
|
10210
10478
|
target.getHealthieStatus = healthie.getHealthieStatus.bind(healthie);
|
|
10211
10479
|
target.listHealthieProviders = healthie.listHealthieProviders.bind(healthie);
|
|
@@ -10244,6 +10512,7 @@ function bindIntegrationsMethods(target, mondayIntegration, discordBots, slackAp
|
|
|
10244
10512
|
target.getLinkedSalesforceMembers = salesforce.getLinkedSalesforceMembers.bind(salesforce);
|
|
10245
10513
|
target.getSalesforceSyncConfig = salesforce.getSalesforceSyncConfig.bind(salesforce);
|
|
10246
10514
|
target.updateSalesforceSyncConfig = salesforce.updateSalesforceSyncConfig.bind(salesforce);
|
|
10515
|
+
target.listSalesforceObjects = salesforce.listSalesforceObjects.bind(salesforce);
|
|
10247
10516
|
target.describeSalesforceObject = salesforce.describeSalesforceObject.bind(salesforce);
|
|
10248
10517
|
target.searchSalesforceRecords = salesforce.searchSalesforceRecords.bind(salesforce);
|
|
10249
10518
|
target.importSalesforceMembers = salesforce.importSalesforceMembers.bind(salesforce);
|
|
@@ -10345,6 +10614,7 @@ function bindPronunciationsMethods(target, pronunciations) {
|
|
|
10345
10614
|
function bindJourneysMethods(target, journeys) {
|
|
10346
10615
|
target.getJourneys = journeys.getJourneys.bind(journeys);
|
|
10347
10616
|
target.getJourney = journeys.getJourney.bind(journeys);
|
|
10617
|
+
target.getJourneyAuthoring = journeys.getJourneyAuthoring.bind(journeys);
|
|
10348
10618
|
target.getJourneyHealth = journeys.getJourneyHealth.bind(journeys);
|
|
10349
10619
|
target.createJourney = journeys.createJourney.bind(journeys);
|
|
10350
10620
|
target.updateJourney = journeys.updateJourney.bind(journeys);
|
|
@@ -10352,6 +10622,7 @@ function bindJourneysMethods(target, journeys) {
|
|
|
10352
10622
|
target.createStep = journeys.createStep.bind(journeys);
|
|
10353
10623
|
target.updateStep = journeys.updateStep.bind(journeys);
|
|
10354
10624
|
target.archiveStep = journeys.archiveStep.bind(journeys);
|
|
10625
|
+
target.unarchiveStep = journeys.unarchiveStep.bind(journeys);
|
|
10355
10626
|
target.createConnection = journeys.createConnection.bind(journeys);
|
|
10356
10627
|
target.updateConnection = journeys.updateConnection.bind(journeys);
|
|
10357
10628
|
target.deleteConnection = journeys.deleteConnection.bind(journeys);
|
|
@@ -10505,6 +10776,7 @@ var GravityRailClient = class {
|
|
|
10505
10776
|
updateChatNeedsResponse;
|
|
10506
10777
|
summarizeChat;
|
|
10507
10778
|
getChatMessages;
|
|
10779
|
+
getChildThreadMessages;
|
|
10508
10780
|
getChatToolCallMessages;
|
|
10509
10781
|
getChatTools;
|
|
10510
10782
|
initiateOutboundCall;
|
|
@@ -10540,6 +10812,7 @@ var GravityRailClient = class {
|
|
|
10540
10812
|
listChatRecordings;
|
|
10541
10813
|
getCallRecordingDownloadUrl;
|
|
10542
10814
|
getCelContext;
|
|
10815
|
+
validateCelExpression;
|
|
10543
10816
|
// Data Types API
|
|
10544
10817
|
getDataTypes;
|
|
10545
10818
|
getDataType;
|
|
@@ -10678,6 +10951,7 @@ var GravityRailClient = class {
|
|
|
10678
10951
|
// Journeys API
|
|
10679
10952
|
getJourneys;
|
|
10680
10953
|
getJourney;
|
|
10954
|
+
getJourneyAuthoring;
|
|
10681
10955
|
getJourneyHealth;
|
|
10682
10956
|
createJourney;
|
|
10683
10957
|
updateJourney;
|
|
@@ -10685,6 +10959,7 @@ var GravityRailClient = class {
|
|
|
10685
10959
|
createStep;
|
|
10686
10960
|
updateStep;
|
|
10687
10961
|
archiveStep;
|
|
10962
|
+
unarchiveStep;
|
|
10688
10963
|
createConnection;
|
|
10689
10964
|
updateConnection;
|
|
10690
10965
|
deleteConnection;
|
|
@@ -10965,6 +11240,7 @@ var GravityRailClient = class {
|
|
|
10965
11240
|
updateFileRoles;
|
|
10966
11241
|
removeFileRole;
|
|
10967
11242
|
getFolderSharing;
|
|
11243
|
+
getFolderMemberAccess;
|
|
10968
11244
|
updateFolderRoles;
|
|
10969
11245
|
removeFolderRole;
|
|
10970
11246
|
updateFileSharing;
|
|
@@ -11093,6 +11369,7 @@ var GravityRailClient = class {
|
|
|
11093
11369
|
getPhoneNumberOutboundAnalyticsCalls;
|
|
11094
11370
|
exportPhoneNumberOutboundAnalyticsCsv;
|
|
11095
11371
|
getPhoneNumberMessages;
|
|
11372
|
+
getPhoneNumberFaxes;
|
|
11096
11373
|
getPhoneNumberVoicemails;
|
|
11097
11374
|
fetchVoicemailAudio;
|
|
11098
11375
|
updateVoicemailStatus;
|
|
@@ -11281,6 +11558,7 @@ var GravityRailClient = class {
|
|
|
11281
11558
|
fhirFetchEncounters;
|
|
11282
11559
|
fhirCreateEncounter;
|
|
11283
11560
|
fhirListLinkedMembers;
|
|
11561
|
+
fhirCheckPatientLinks;
|
|
11284
11562
|
fhirLinkMember;
|
|
11285
11563
|
fhirUnlinkMember;
|
|
11286
11564
|
fhirSyncMember;
|
|
@@ -11298,6 +11576,13 @@ var GravityRailClient = class {
|
|
|
11298
11576
|
fhirRefreshEncounterPatient;
|
|
11299
11577
|
fhirBackfillEncounterSync;
|
|
11300
11578
|
// Healthie API
|
|
11579
|
+
getDocumoFaxStatus;
|
|
11580
|
+
getDocumoFaxSetup;
|
|
11581
|
+
listDocumoFaxes;
|
|
11582
|
+
installDocumoFax;
|
|
11583
|
+
configureDocumoFax;
|
|
11584
|
+
verifyDocumoFax;
|
|
11585
|
+
rotateDocumoFaxCredentials;
|
|
11301
11586
|
configurePatientSync;
|
|
11302
11587
|
getPatientSyncStatus;
|
|
11303
11588
|
deletePatientSyncConnection;
|
|
@@ -11341,6 +11626,7 @@ var GravityRailClient = class {
|
|
|
11341
11626
|
getLinkedSalesforceMembers;
|
|
11342
11627
|
getSalesforceSyncConfig;
|
|
11343
11628
|
updateSalesforceSyncConfig;
|
|
11629
|
+
listSalesforceObjects;
|
|
11344
11630
|
describeSalesforceObject;
|
|
11345
11631
|
searchSalesforceRecords;
|
|
11346
11632
|
importSalesforceMembers;
|
|
@@ -11491,6 +11777,7 @@ var GravityRailClient = class {
|
|
|
11491
11777
|
apis.fhirConnections,
|
|
11492
11778
|
apis.patientSyncConnections,
|
|
11493
11779
|
apis.healthie,
|
|
11780
|
+
apis.documoFax,
|
|
11494
11781
|
apis.salesforce,
|
|
11495
11782
|
apis.hubspot,
|
|
11496
11783
|
apis.appConnections,
|
|
@@ -11621,6 +11908,7 @@ var AbilityTypeSlugs = {
|
|
|
11621
11908
|
GMAIL: "integration:gmail",
|
|
11622
11909
|
GOOGLE_CALENDAR: "integration:google_calendar",
|
|
11623
11910
|
GOOGLE_DRIVE: "integration:google_drive",
|
|
11911
|
+
GOOGLE_SHEETS: "integration:google_sheets",
|
|
11624
11912
|
CHARLESTON_PMD_PAGING: "integration:charleston_pmd_paging",
|
|
11625
11913
|
// Communication
|
|
11626
11914
|
PHONE_CALL_TOOLS: "communication:phone_call_tools",
|
|
@@ -11690,6 +11978,14 @@ var SMS_DELIVERY_FAILURE_STATUSES = /* @__PURE__ */ new Set([
|
|
|
11690
11978
|
function isSMSDeliveryFailureStatus(status) {
|
|
11691
11979
|
return status != null && SMS_DELIVERY_FAILURE_STATUSES.has(status);
|
|
11692
11980
|
}
|
|
11981
|
+
var AGENT_NOTE_ORIGINS = /* @__PURE__ */ new Set([
|
|
11982
|
+
"workflow",
|
|
11983
|
+
"background_run",
|
|
11984
|
+
"platform"
|
|
11985
|
+
]);
|
|
11986
|
+
function isAgentNoteOrigin(origin) {
|
|
11987
|
+
return origin != null && AGENT_NOTE_ORIGINS.has(origin);
|
|
11988
|
+
}
|
|
11693
11989
|
var POSITIVE_RATING_THRESHOLD = 0.5;
|
|
11694
11990
|
function isPositiveRating(rating) {
|
|
11695
11991
|
return rating != null && rating >= POSITIVE_RATING_THRESHOLD;
|
|
@@ -12763,6 +13059,7 @@ export {
|
|
|
12763
13059
|
EventsApi,
|
|
12764
13060
|
FeaturesApi,
|
|
12765
13061
|
FhirConnectionsApi,
|
|
13062
|
+
InboundFaxStatus,
|
|
12766
13063
|
HealthieApi,
|
|
12767
13064
|
FilesApi,
|
|
12768
13065
|
InboxesApi,
|
|
@@ -12916,6 +13213,8 @@ export {
|
|
|
12916
13213
|
QUERY_VALUELESS_OPS,
|
|
12917
13214
|
SMS_DELIVERY_FAILURE_STATUSES,
|
|
12918
13215
|
isSMSDeliveryFailureStatus,
|
|
13216
|
+
AGENT_NOTE_ORIGINS,
|
|
13217
|
+
isAgentNoteOrigin,
|
|
12919
13218
|
POSITIVE_RATING_THRESHOLD,
|
|
12920
13219
|
isPositiveRating,
|
|
12921
13220
|
BusinessIndustry,
|
|
@@ -12966,4 +13265,4 @@ export {
|
|
|
12966
13265
|
SCOPE_PRESETS,
|
|
12967
13266
|
getRevisionState
|
|
12968
13267
|
};
|
|
12969
|
-
//# sourceMappingURL=chunk-
|
|
13268
|
+
//# sourceMappingURL=chunk-K4MDFGMO.js.map
|