@gravity-rail/sdk 0.13.1 → 0.14.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{chunk-FSSXKQR5.js → chunk-GP6ICMWF.js} +2 -1
- package/dist/chunk-GP6ICMWF.js.map +1 -0
- package/dist/{chunk-YRIBZ3RM.js → chunk-K4MDFGMO.js} +322 -26
- package/dist/chunk-K4MDFGMO.js.map +1 -0
- package/dist/{client-DjyYhpnv.d.ts → client-CKudWmUT.d.cts} +741 -46
- package/dist/{client-eet1pTc_.d.cts → client-EAvh7w0y.d.ts} +741 -46
- package/dist/helpers.cjs.map +1 -1
- package/dist/helpers.d.cts +2 -2
- package/dist/helpers.d.ts +2 -2
- package/dist/helpers.js +1 -1
- package/dist/index.cjs +331 -31
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +6 -7
- package/dist/index.d.ts +6 -7
- package/dist/index.js +17 -10
- package/dist/index.js.map +1 -1
- package/dist/internal.cjs +316 -24
- package/dist/internal.cjs.map +1 -1
- package/dist/internal.d.cts +411 -142
- package/dist/internal.d.ts +411 -142
- package/dist/internal.js +9 -3
- package/dist/internal.js.map +1 -1
- package/dist/{revision-state-CC1svrGE.d.ts → revision-state-BUBt9Rir.d.ts} +9 -4
- package/dist/{revision-state-DFWcu6wD.d.cts → revision-state-CY4LBdfa.d.cts} +9 -4
- package/dist/schemas.cjs +36 -1
- package/dist/schemas.cjs.map +1 -1
- package/dist/schemas.d.cts +65 -5
- package/dist/schemas.d.ts +65 -5
- package/dist/schemas.js +34 -1
- package/dist/schemas.js.map +1 -1
- package/dist/{tasks-Dl1Dzgkf.d.cts → tasks-iRrM4SaF.d.cts} +37 -3
- package/dist/{tasks-Dl1Dzgkf.d.ts → tasks-iRrM4SaF.d.ts} +37 -3
- package/package.json +1 -1
- package/dist/chunk-FSSXKQR5.js.map +0 -1
- package/dist/chunk-YRIBZ3RM.js.map +0 -1
|
@@ -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) => {
|
|
@@ -7576,12 +7775,14 @@ var WorkspaceFeature = /* @__PURE__ */ ((WorkspaceFeature2) => {
|
|
|
7576
7775
|
WorkspaceFeature2["BROWSER"] = "browser";
|
|
7577
7776
|
WorkspaceFeature2["WEB_SEARCH"] = "web_search";
|
|
7578
7777
|
WorkspaceFeature2["CALENDAR"] = "calendar";
|
|
7579
|
-
WorkspaceFeature2["JOURNEYS"] = "journeys";
|
|
7580
7778
|
WorkspaceFeature2["EXPERIMENTS"] = "experiments";
|
|
7581
7779
|
WorkspaceFeature2["OPERATOR"] = "operator";
|
|
7582
7780
|
WorkspaceFeature2["GMAIL"] = "gmail";
|
|
7583
7781
|
WorkspaceFeature2["GCALENDAR"] = "gcalendar";
|
|
7782
|
+
WorkspaceFeature2["GDRIVE"] = "gdrive";
|
|
7783
|
+
WorkspaceFeature2["GSHEETS"] = "gsheets";
|
|
7584
7784
|
WorkspaceFeature2["MONDAY"] = "monday";
|
|
7785
|
+
WorkspaceFeature2["DOCUMO_FAX"] = "documo_fax";
|
|
7585
7786
|
WorkspaceFeature2["RESELL_PRODUCTS"] = "resell_products";
|
|
7586
7787
|
WorkspaceFeature2["SOC2_COMPLIANCE"] = "soc2_compliance";
|
|
7587
7788
|
WorkspaceFeature2["EHR_FHIR"] = "ehr_fhir";
|
|
@@ -7764,6 +7965,7 @@ var AccessGrantResourceType = /* @__PURE__ */ ((AccessGrantResourceType2) => {
|
|
|
7764
7965
|
})(AccessGrantResourceType || {});
|
|
7765
7966
|
var CapabilityClass = /* @__PURE__ */ ((CapabilityClass2) => {
|
|
7766
7967
|
CapabilityClass2["TOOL_ALWAYS_ALLOW"] = "tool.always_allow";
|
|
7968
|
+
CapabilityClass2["SCOPE_ALWAYS_ALLOW"] = "scope.always_allow";
|
|
7767
7969
|
CapabilityClass2["SELF_MODIFICATION_SCHEDULE"] = "self_modification.schedule";
|
|
7768
7970
|
CapabilityClass2["ATTENTION_INTERRUPT_RUNG"] = "attention.interrupt_rung";
|
|
7769
7971
|
return CapabilityClass2;
|
|
@@ -8624,6 +8826,7 @@ function createApiModules(apiKey, baseUrl, customFetch) {
|
|
|
8624
8826
|
fhirConnections: new FhirConnectionsApi(apiKey, baseUrl, customFetch),
|
|
8625
8827
|
patientSyncConnections: new PatientSyncConnectionsApi(apiKey, baseUrl, customFetch),
|
|
8626
8828
|
healthie: new HealthieApi(apiKey, baseUrl, customFetch),
|
|
8829
|
+
documoFax: new DocumoFaxApi(apiKey, baseUrl, customFetch),
|
|
8627
8830
|
hubspot: new HubspotApi(apiKey, baseUrl, customFetch),
|
|
8628
8831
|
features: new FeaturesApi(apiKey, baseUrl, customFetch),
|
|
8629
8832
|
files: new FilesApi(apiKey, baseUrl, customFetch),
|
|
@@ -8685,7 +8888,9 @@ var WORKSPACE_METHOD_NAMES = [
|
|
|
8685
8888
|
"autoCreateDataTypeFromBoard",
|
|
8686
8889
|
"blockWorkspaceInvitation",
|
|
8687
8890
|
"bookHealthieAppointment",
|
|
8891
|
+
"buildSiteSource",
|
|
8688
8892
|
"buildWorkspace",
|
|
8893
|
+
"bulkCreateMembers",
|
|
8689
8894
|
"bulkLinkMembersToHubspot",
|
|
8690
8895
|
"bulkLinkMembersToMonday",
|
|
8691
8896
|
"bulkLinkMembersToSalesforce",
|
|
@@ -8705,7 +8910,9 @@ var WORKSPACE_METHOD_NAMES = [
|
|
|
8705
8910
|
"cloneWorkflow",
|
|
8706
8911
|
"closeWorkspaceSupportRequest",
|
|
8707
8912
|
"commentOnWorkspaceSupportRequest",
|
|
8913
|
+
"completeDiscordLink",
|
|
8708
8914
|
"configureConfluence",
|
|
8915
|
+
"configureDocumoFax",
|
|
8709
8916
|
"configureHealthie",
|
|
8710
8917
|
"configurePatientSync",
|
|
8711
8918
|
"configureHubspot",
|
|
@@ -8721,6 +8928,7 @@ var WORKSPACE_METHOD_NAMES = [
|
|
|
8721
8928
|
"createAssignment",
|
|
8722
8929
|
"createCalendar",
|
|
8723
8930
|
"createCalendarEvent",
|
|
8931
|
+
"createCalendarEventType",
|
|
8724
8932
|
"createCalendarSchedule",
|
|
8725
8933
|
"createChat",
|
|
8726
8934
|
"createChatCompletion",
|
|
@@ -8730,12 +8938,12 @@ var WORKSPACE_METHOD_NAMES = [
|
|
|
8730
8938
|
"createConnection",
|
|
8731
8939
|
"createCustomTool",
|
|
8732
8940
|
"createCustomToolkit",
|
|
8941
|
+
"createDashboard",
|
|
8733
8942
|
"createDataRecord",
|
|
8734
8943
|
"createDataRecordFilter",
|
|
8735
8944
|
"createDataType",
|
|
8736
8945
|
"createDiscordBot",
|
|
8737
8946
|
"createEventRule",
|
|
8738
|
-
"createEventType",
|
|
8739
8947
|
"createExperiment",
|
|
8740
8948
|
"createExperimentAssignment",
|
|
8741
8949
|
"createExperimentGroup",
|
|
@@ -8765,8 +8973,8 @@ var WORKSPACE_METHOD_NAMES = [
|
|
|
8765
8973
|
"createScenario",
|
|
8766
8974
|
"createSignup",
|
|
8767
8975
|
"createSite",
|
|
8976
|
+
"createSiteSource",
|
|
8768
8977
|
"createSlackApp",
|
|
8769
|
-
"createSnippet",
|
|
8770
8978
|
"createStep",
|
|
8771
8979
|
"createSupervisor",
|
|
8772
8980
|
"createTask",
|
|
@@ -8783,6 +8991,7 @@ var WORKSPACE_METHOD_NAMES = [
|
|
|
8783
8991
|
"deleteAssignment",
|
|
8784
8992
|
"deleteCalendar",
|
|
8785
8993
|
"deleteCalendarEvent",
|
|
8994
|
+
"deleteCalendarEventType",
|
|
8786
8995
|
"deleteCalendarSchedule",
|
|
8787
8996
|
"deleteChat",
|
|
8788
8997
|
"deleteChatFilter",
|
|
@@ -8792,13 +9001,13 @@ var WORKSPACE_METHOD_NAMES = [
|
|
|
8792
9001
|
"deleteConnection",
|
|
8793
9002
|
"deleteCustomTool",
|
|
8794
9003
|
"deleteCustomToolkit",
|
|
9004
|
+
"deleteDashboard",
|
|
8795
9005
|
"deleteDataRecord",
|
|
8796
9006
|
"deleteDataRecordFilter",
|
|
8797
9007
|
"deleteDataType",
|
|
8798
9008
|
"deleteDiscordBot",
|
|
8799
9009
|
"deleteEnrollment",
|
|
8800
9010
|
"deleteEventRule",
|
|
8801
|
-
"deleteEventType",
|
|
8802
9011
|
"deleteExperiment",
|
|
8803
9012
|
"deleteExperimentAssignment",
|
|
8804
9013
|
"deleteExperimentGroup",
|
|
@@ -8832,7 +9041,6 @@ var WORKSPACE_METHOD_NAMES = [
|
|
|
8832
9041
|
"deleteScenario",
|
|
8833
9042
|
"deleteSite",
|
|
8834
9043
|
"deleteSlackApp",
|
|
8835
|
-
"deleteSnippet",
|
|
8836
9044
|
"deleteSupervisor",
|
|
8837
9045
|
"deleteTask",
|
|
8838
9046
|
"deleteTeamsApp",
|
|
@@ -8856,10 +9064,13 @@ var WORKSPACE_METHOD_NAMES = [
|
|
|
8856
9064
|
"disconnectMondayConnection",
|
|
8857
9065
|
"disconnectPresence",
|
|
8858
9066
|
"disconnectSalesforce",
|
|
9067
|
+
"discordLinkPreflight",
|
|
8859
9068
|
"discoverOAuthMetadata",
|
|
8860
9069
|
"dismissAllNotifications",
|
|
8861
9070
|
"dismissNotification",
|
|
8862
9071
|
"downloadEmailAttachment",
|
|
9072
|
+
"downloadFilesZip",
|
|
9073
|
+
"downloadSiteSourceZip",
|
|
8863
9074
|
"editWorkflowRevisionAsDraft",
|
|
8864
9075
|
"enableConfluence",
|
|
8865
9076
|
"enableCustomToolkit",
|
|
@@ -8876,9 +9087,11 @@ var WORKSPACE_METHOD_NAMES = [
|
|
|
8876
9087
|
"exportChat",
|
|
8877
9088
|
"exportChats",
|
|
8878
9089
|
"exportMembers",
|
|
9090
|
+
"exportPhoneNumberOutboundAnalyticsCsv",
|
|
8879
9091
|
"exportWorkspace",
|
|
8880
9092
|
"fetchVoicemailAudio",
|
|
8881
9093
|
"fhirBackfillEncounterSync",
|
|
9094
|
+
"fhirCheckPatientLinks",
|
|
8882
9095
|
"fhirCreateEncounter",
|
|
8883
9096
|
"fhirCsvImportApply",
|
|
8884
9097
|
"fhirCsvImportInspect",
|
|
@@ -8929,15 +9142,15 @@ var WORKSPACE_METHOD_NAMES = [
|
|
|
8929
9142
|
"getAvailableActions",
|
|
8930
9143
|
"getAvailablePhoneNumbers",
|
|
8931
9144
|
"getAvailableSlots",
|
|
8932
|
-
"getBoardColumns",
|
|
8933
|
-
"getBoardGroups",
|
|
8934
|
-
"getBoards",
|
|
8935
9145
|
"getBusinessHoursStatus",
|
|
8936
9146
|
"getCalendar",
|
|
8937
9147
|
"getCalendarEvent",
|
|
9148
|
+
"getCalendarEventType",
|
|
9149
|
+
"getCalendarEventTypes",
|
|
8938
9150
|
"getCalendarEvents",
|
|
8939
9151
|
"getCalendarSchedules",
|
|
8940
9152
|
"getCalendars",
|
|
9153
|
+
"getCallRecordingDownloadUrl",
|
|
8941
9154
|
"getCelContext",
|
|
8942
9155
|
"getCharlestonTestDeliveryRecipients",
|
|
8943
9156
|
"getChat",
|
|
@@ -8952,6 +9165,7 @@ var WORKSPACE_METHOD_NAMES = [
|
|
|
8952
9165
|
"getChatLabelByUuid",
|
|
8953
9166
|
"getChatLabels",
|
|
8954
9167
|
"getChatMessages",
|
|
9168
|
+
"getChatModelOverride",
|
|
8955
9169
|
"getChatPhoneCalls",
|
|
8956
9170
|
"getChatSkills",
|
|
8957
9171
|
"getChatTodos",
|
|
@@ -8961,6 +9175,7 @@ var WORKSPACE_METHOD_NAMES = [
|
|
|
8961
9175
|
"getChats",
|
|
8962
9176
|
"getChatsDailyCreationStats",
|
|
8963
9177
|
"getChatsNeedsResponse",
|
|
9178
|
+
"getChildThreadMessages",
|
|
8964
9179
|
"getClientWorkspace",
|
|
8965
9180
|
"getConfluenceStatus",
|
|
8966
9181
|
"getConnectionSyncCapabilities",
|
|
@@ -8968,9 +9183,12 @@ var WORKSPACE_METHOD_NAMES = [
|
|
|
8968
9183
|
"getConnectionSyncConfig",
|
|
8969
9184
|
"getCredentialUpdateInvites",
|
|
8970
9185
|
"getCurrentMember",
|
|
8971
|
-
"getCurrentUserInfo",
|
|
8972
9186
|
"getCustomToolkit",
|
|
8973
9187
|
"getCustomToolkits",
|
|
9188
|
+
"getDashboard",
|
|
9189
|
+
"getDashboardChannelStats",
|
|
9190
|
+
"getDashboardWorkflowAssignmentStats",
|
|
9191
|
+
"getDashboards",
|
|
8974
9192
|
"getDataRecord",
|
|
8975
9193
|
"getDataRecordChanges",
|
|
8976
9194
|
"getDataRecordFilter",
|
|
@@ -8987,10 +9205,11 @@ var WORKSPACE_METHOD_NAMES = [
|
|
|
8987
9205
|
"getDiscordBots",
|
|
8988
9206
|
"getDiscordGuilds",
|
|
8989
9207
|
"getDiscordThreads",
|
|
9208
|
+
"getDocumoFaxSetup",
|
|
9209
|
+
"listDocumoFaxes",
|
|
9210
|
+
"getDocumoFaxStatus",
|
|
8990
9211
|
"getEventRule",
|
|
8991
9212
|
"getEventRules",
|
|
8992
|
-
"getEventType",
|
|
8993
|
-
"getEventTypes",
|
|
8994
9213
|
"getExperiment",
|
|
8995
9214
|
"getExperimentStats",
|
|
8996
9215
|
"getExperiments",
|
|
@@ -8999,6 +9218,26 @@ var WORKSPACE_METHOD_NAMES = [
|
|
|
8999
9218
|
"getFhirConnections",
|
|
9000
9219
|
"getFieldIndexStatus",
|
|
9001
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",
|
|
9002
9241
|
"resolveFilePath",
|
|
9003
9242
|
"getFileLabel",
|
|
9004
9243
|
"getFileLabelByUuid",
|
|
@@ -9009,6 +9248,7 @@ var WORKSPACE_METHOD_NAMES = [
|
|
|
9009
9248
|
"getFiles",
|
|
9010
9249
|
"getFirstRunState",
|
|
9011
9250
|
"getFolder",
|
|
9251
|
+
"getFolderMemberAccess",
|
|
9012
9252
|
"getFolderSharing",
|
|
9013
9253
|
"getFolders",
|
|
9014
9254
|
"getGoogleCalendarStatus",
|
|
@@ -9030,6 +9270,7 @@ var WORKSPACE_METHOD_NAMES = [
|
|
|
9030
9270
|
"getInboxThreads",
|
|
9031
9271
|
"getInboxes",
|
|
9032
9272
|
"getJourney",
|
|
9273
|
+
"getJourneyAuthoring",
|
|
9033
9274
|
"getJourneyHealth",
|
|
9034
9275
|
"getJourneyMembers",
|
|
9035
9276
|
"getJourneyNotes",
|
|
@@ -9094,6 +9335,7 @@ var WORKSPACE_METHOD_NAMES = [
|
|
|
9094
9335
|
"getPhoneCalls",
|
|
9095
9336
|
"getPhoneNumber",
|
|
9096
9337
|
"getPhoneNumberCalls",
|
|
9338
|
+
"getPhoneNumberFaxes",
|
|
9097
9339
|
"getPhoneNumberMessages",
|
|
9098
9340
|
"getPhoneNumberVoicemails",
|
|
9099
9341
|
"getPhoneNumbers",
|
|
@@ -9131,7 +9373,6 @@ var WORKSPACE_METHOD_NAMES = [
|
|
|
9131
9373
|
"getSlackApps",
|
|
9132
9374
|
"getSlackInstallations",
|
|
9133
9375
|
"getSlackThreads",
|
|
9134
|
-
"getSnippet",
|
|
9135
9376
|
"getStepMemberCounts",
|
|
9136
9377
|
"getStepMembers",
|
|
9137
9378
|
"getSupervisor",
|
|
@@ -9169,7 +9410,6 @@ var WORKSPACE_METHOD_NAMES = [
|
|
|
9169
9410
|
"getWorkflowNotes",
|
|
9170
9411
|
"getWorkflowRevision",
|
|
9171
9412
|
"getWorkflowRevisions",
|
|
9172
|
-
"getWorkflowRouteDryRun",
|
|
9173
9413
|
"getWorkflowTaskAssignmentStats",
|
|
9174
9414
|
"getWorkflowTemplates",
|
|
9175
9415
|
"getWorkflowThumbnailUrl",
|
|
@@ -9199,6 +9439,7 @@ var WORKSPACE_METHOD_NAMES = [
|
|
|
9199
9439
|
"initiateOutboundCall",
|
|
9200
9440
|
"inspectPrompt",
|
|
9201
9441
|
"installHubspot",
|
|
9442
|
+
"installDocumoFax",
|
|
9202
9443
|
"installMondayConnection",
|
|
9203
9444
|
"installSalesforce",
|
|
9204
9445
|
"inviteMemberCredentialUpdate",
|
|
@@ -9217,6 +9458,10 @@ var WORKSPACE_METHOD_NAMES = [
|
|
|
9217
9458
|
"listConfluencePages",
|
|
9218
9459
|
"listConfluenceSpaces",
|
|
9219
9460
|
"listConnectionMemberFieldKeys",
|
|
9461
|
+
"rollbackSiteSource",
|
|
9462
|
+
"rotateDocumoFaxCredentials",
|
|
9463
|
+
"runQuery",
|
|
9464
|
+
"sendMemberPhoneConfirmation",
|
|
9220
9465
|
"setDefaultGooglePlatformAccount",
|
|
9221
9466
|
"listFileVersions",
|
|
9222
9467
|
"listGoogleCalendars",
|
|
@@ -9225,8 +9470,8 @@ var WORKSPACE_METHOD_NAMES = [
|
|
|
9225
9470
|
"listHealthieProviders",
|
|
9226
9471
|
"listPersonas",
|
|
9227
9472
|
"listPushSubscriptions",
|
|
9473
|
+
"listSalesforceObjects",
|
|
9228
9474
|
"listScenarios",
|
|
9229
|
-
"listSnippets",
|
|
9230
9475
|
"listTestChatRuns",
|
|
9231
9476
|
"listWidgetDomains",
|
|
9232
9477
|
"listWorkspaceInvitationsAdmin",
|
|
@@ -9249,7 +9494,6 @@ var WORKSPACE_METHOD_NAMES = [
|
|
|
9249
9494
|
"reenrollMember",
|
|
9250
9495
|
"registerLinkedRolesMetadata",
|
|
9251
9496
|
"registerPushSubscription",
|
|
9252
|
-
"registerSlashCommands",
|
|
9253
9497
|
"reindexFolder",
|
|
9254
9498
|
"releasePhoneNumber",
|
|
9255
9499
|
"removeFileRole",
|
|
@@ -9258,6 +9502,7 @@ var WORKSPACE_METHOD_NAMES = [
|
|
|
9258
9502
|
"reorderEventRules",
|
|
9259
9503
|
"reorderMenuItems",
|
|
9260
9504
|
"replyToEmail",
|
|
9505
|
+
"rotateDocumoFaxCredentials",
|
|
9261
9506
|
"requestPhoneNumber",
|
|
9262
9507
|
"requestWorkspaceMembership",
|
|
9263
9508
|
"resetRoutineRuns",
|
|
@@ -9295,11 +9540,13 @@ var WORKSPACE_METHOD_NAMES = [
|
|
|
9295
9540
|
"testMcpServerConnection",
|
|
9296
9541
|
"testMondayConnection",
|
|
9297
9542
|
"testRunJourney",
|
|
9543
|
+
"testWebhook",
|
|
9298
9544
|
"toggleFieldIndex",
|
|
9299
9545
|
"unarchiveAgent",
|
|
9300
9546
|
"unarchiveChat",
|
|
9301
9547
|
"unarchiveDataType",
|
|
9302
9548
|
"unarchiveMember",
|
|
9549
|
+
"unarchiveStep",
|
|
9303
9550
|
"unarchiveTask",
|
|
9304
9551
|
"unarchiveWorkflow",
|
|
9305
9552
|
"unenrollMembers",
|
|
@@ -9316,10 +9563,12 @@ var WORKSPACE_METHOD_NAMES = [
|
|
|
9316
9563
|
"updateAssignment",
|
|
9317
9564
|
"updateCalendar",
|
|
9318
9565
|
"updateCalendarEvent",
|
|
9566
|
+
"updateCalendarEventType",
|
|
9319
9567
|
"updateCalendarSchedule",
|
|
9320
9568
|
"updateChat",
|
|
9321
9569
|
"updateChatFilter",
|
|
9322
9570
|
"updateChatLabel",
|
|
9571
|
+
"updateChatModelOverride",
|
|
9323
9572
|
"updateChatMute",
|
|
9324
9573
|
"updateChatNeedsResponse",
|
|
9325
9574
|
"updateClientWorkspace",
|
|
@@ -9328,13 +9577,13 @@ var WORKSPACE_METHOD_NAMES = [
|
|
|
9328
9577
|
"updateCurrentMember",
|
|
9329
9578
|
"updateCustomTool",
|
|
9330
9579
|
"updateCustomToolkit",
|
|
9580
|
+
"updateDashboard",
|
|
9331
9581
|
"updateDataRecord",
|
|
9332
9582
|
"updateDataRecordFilter",
|
|
9333
9583
|
"updateDataType",
|
|
9334
9584
|
"updateDiscordBot",
|
|
9335
9585
|
"updateEventAttendee",
|
|
9336
9586
|
"updateEventRule",
|
|
9337
|
-
"updateEventType",
|
|
9338
9587
|
"updateExperiment",
|
|
9339
9588
|
"updateExperimentAssignment",
|
|
9340
9589
|
"updateExperimentGroup",
|
|
@@ -9371,12 +9620,13 @@ var WORKSPACE_METHOD_NAMES = [
|
|
|
9371
9620
|
"updateSalesforceSyncConfig",
|
|
9372
9621
|
"updateScenario",
|
|
9373
9622
|
"updateSite",
|
|
9623
|
+
"updateSiteSharing",
|
|
9374
9624
|
"updateSlackApp",
|
|
9375
|
-
"updateSnippet",
|
|
9376
9625
|
"updateStep",
|
|
9377
9626
|
"updateSupervisor",
|
|
9378
9627
|
"updateTask",
|
|
9379
9628
|
"updateTeamsApp",
|
|
9629
|
+
"updateThemeSettings",
|
|
9380
9630
|
"uploadFile",
|
|
9381
9631
|
"updateVoicemailStatus",
|
|
9382
9632
|
"updateWorkflow",
|
|
@@ -9389,8 +9639,11 @@ var WORKSPACE_METHOD_NAMES = [
|
|
|
9389
9639
|
"updateWorkspaceThemes",
|
|
9390
9640
|
"upsertDataRecord",
|
|
9391
9641
|
"upsertWidgetDomain",
|
|
9642
|
+
"validateCelExpression",
|
|
9392
9643
|
"validateDataTypeSlug",
|
|
9393
|
-
"
|
|
9644
|
+
"validateQuery",
|
|
9645
|
+
"validateWorkflowName",
|
|
9646
|
+
"verifyDocumoFax"
|
|
9394
9647
|
];
|
|
9395
9648
|
var WORKSPACE_METHOD_NAME_SET = new Set(WORKSPACE_METHOD_NAMES);
|
|
9396
9649
|
function createWorkspaceClient(root, workspaceUuid) {
|
|
@@ -9485,6 +9738,7 @@ function bindChatsMethods(target, chats) {
|
|
|
9485
9738
|
target.updateChatNeedsResponse = chats.updateChatNeedsResponse.bind(chats);
|
|
9486
9739
|
target.summarizeChat = chats.summarizeChat.bind(chats);
|
|
9487
9740
|
target.getChatMessages = chats.getChatMessages.bind(chats);
|
|
9741
|
+
target.getChildThreadMessages = chats.getChildThreadMessages.bind(chats);
|
|
9488
9742
|
target.getChatToolCallMessages = chats.getChatToolCallMessages.bind(chats);
|
|
9489
9743
|
target.getChatTools = chats.getChatTools.bind(chats);
|
|
9490
9744
|
target.initiateOutboundCall = chats.initiateOutboundCall.bind(chats);
|
|
@@ -9523,6 +9777,7 @@ function bindCallsMethods(target, calls, cel) {
|
|
|
9523
9777
|
target.listChatRecordings = calls.listChatRecordings.bind(calls);
|
|
9524
9778
|
target.getCallRecordingDownloadUrl = calls.getCallRecordingDownloadUrl.bind(calls);
|
|
9525
9779
|
target.getCelContext = cel.getCelContext.bind(cel);
|
|
9780
|
+
target.validateCelExpression = cel.validateCelExpression.bind(cel);
|
|
9526
9781
|
}
|
|
9527
9782
|
|
|
9528
9783
|
// src/client/bindings/dashboards.ts
|
|
@@ -9839,6 +10094,7 @@ function bindFilesMethods(target, files) {
|
|
|
9839
10094
|
target.updateFileRoles = files.updateFileRoles.bind(files);
|
|
9840
10095
|
target.removeFileRole = files.removeFileRole.bind(files);
|
|
9841
10096
|
target.getFolderSharing = files.getFolderSharing.bind(files);
|
|
10097
|
+
target.getFolderMemberAccess = files.getFolderMemberAccess.bind(files);
|
|
9842
10098
|
target.updateFolderRoles = files.updateFolderRoles.bind(files);
|
|
9843
10099
|
target.removeFolderRole = files.removeFolderRole.bind(files);
|
|
9844
10100
|
target.updateFileSharing = files.updateFileSharing.bind(files);
|
|
@@ -9995,6 +10251,7 @@ function bindCommunicationsMethods(target, phoneNumbers, inboxes, notificationRu
|
|
|
9995
10251
|
target.getPhoneNumberOutboundAnalyticsCalls = phoneNumbers.getPhoneNumberOutboundAnalyticsCalls.bind(phoneNumbers);
|
|
9996
10252
|
target.exportPhoneNumberOutboundAnalyticsCsv = phoneNumbers.exportPhoneNumberOutboundAnalyticsCsv.bind(phoneNumbers);
|
|
9997
10253
|
target.getPhoneNumberMessages = phoneNumbers.getPhoneNumberMessages.bind(phoneNumbers);
|
|
10254
|
+
target.getPhoneNumberFaxes = phoneNumbers.getPhoneNumberFaxes.bind(phoneNumbers);
|
|
9998
10255
|
target.getPhoneNumberVoicemails = phoneNumbers.getPhoneNumberVoicemails.bind(phoneNumbers);
|
|
9999
10256
|
target.fetchVoicemailAudio = phoneNumbers.fetchVoicemailAudio.bind(phoneNumbers);
|
|
10000
10257
|
target.updateVoicemailStatus = phoneNumbers.updateVoicemailStatus.bind(phoneNumbers);
|
|
@@ -10118,7 +10375,7 @@ function bindAppsMethods(target, apps, builders, inquiries, oauth, oauthConnecti
|
|
|
10118
10375
|
}
|
|
10119
10376
|
|
|
10120
10377
|
// src/client/bindings/integrations.ts
|
|
10121
|
-
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) {
|
|
10122
10379
|
target.getMondayBoards = mondayIntegration.getBoards.bind(mondayIntegration);
|
|
10123
10380
|
target.getMondayBoardColumns = mondayIntegration.getBoardColumns.bind(mondayIntegration);
|
|
10124
10381
|
target.getMondayBoardGroups = mondayIntegration.getBoardGroups.bind(mondayIntegration);
|
|
@@ -10190,6 +10447,7 @@ function bindIntegrationsMethods(target, mondayIntegration, discordBots, slackAp
|
|
|
10190
10447
|
target.fhirFetchEncounters = fhirConnections.fhirFetchEncounters.bind(fhirConnections);
|
|
10191
10448
|
target.fhirCreateEncounter = fhirConnections.fhirCreateEncounter.bind(fhirConnections);
|
|
10192
10449
|
target.fhirListLinkedMembers = fhirConnections.fhirListLinkedMembers.bind(fhirConnections);
|
|
10450
|
+
target.fhirCheckPatientLinks = fhirConnections.fhirCheckPatientLinks.bind(fhirConnections);
|
|
10193
10451
|
target.fhirLinkMember = fhirConnections.fhirLinkMember.bind(fhirConnections);
|
|
10194
10452
|
target.fhirUnlinkMember = fhirConnections.fhirUnlinkMember.bind(fhirConnections);
|
|
10195
10453
|
target.fhirSyncMember = fhirConnections.fhirSyncMember.bind(fhirConnections);
|
|
@@ -10209,6 +10467,13 @@ function bindIntegrationsMethods(target, mondayIntegration, discordBots, slackAp
|
|
|
10209
10467
|
target.configurePatientSync = patientSyncConnections.configurePatientSync.bind(patientSyncConnections);
|
|
10210
10468
|
target.getPatientSyncStatus = patientSyncConnections.getPatientSyncStatus.bind(patientSyncConnections);
|
|
10211
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);
|
|
10212
10477
|
target.configureHealthie = healthie.configureHealthie.bind(healthie);
|
|
10213
10478
|
target.getHealthieStatus = healthie.getHealthieStatus.bind(healthie);
|
|
10214
10479
|
target.listHealthieProviders = healthie.listHealthieProviders.bind(healthie);
|
|
@@ -10247,6 +10512,7 @@ function bindIntegrationsMethods(target, mondayIntegration, discordBots, slackAp
|
|
|
10247
10512
|
target.getLinkedSalesforceMembers = salesforce.getLinkedSalesforceMembers.bind(salesforce);
|
|
10248
10513
|
target.getSalesforceSyncConfig = salesforce.getSalesforceSyncConfig.bind(salesforce);
|
|
10249
10514
|
target.updateSalesforceSyncConfig = salesforce.updateSalesforceSyncConfig.bind(salesforce);
|
|
10515
|
+
target.listSalesforceObjects = salesforce.listSalesforceObjects.bind(salesforce);
|
|
10250
10516
|
target.describeSalesforceObject = salesforce.describeSalesforceObject.bind(salesforce);
|
|
10251
10517
|
target.searchSalesforceRecords = salesforce.searchSalesforceRecords.bind(salesforce);
|
|
10252
10518
|
target.importSalesforceMembers = salesforce.importSalesforceMembers.bind(salesforce);
|
|
@@ -10348,6 +10614,7 @@ function bindPronunciationsMethods(target, pronunciations) {
|
|
|
10348
10614
|
function bindJourneysMethods(target, journeys) {
|
|
10349
10615
|
target.getJourneys = journeys.getJourneys.bind(journeys);
|
|
10350
10616
|
target.getJourney = journeys.getJourney.bind(journeys);
|
|
10617
|
+
target.getJourneyAuthoring = journeys.getJourneyAuthoring.bind(journeys);
|
|
10351
10618
|
target.getJourneyHealth = journeys.getJourneyHealth.bind(journeys);
|
|
10352
10619
|
target.createJourney = journeys.createJourney.bind(journeys);
|
|
10353
10620
|
target.updateJourney = journeys.updateJourney.bind(journeys);
|
|
@@ -10355,6 +10622,7 @@ function bindJourneysMethods(target, journeys) {
|
|
|
10355
10622
|
target.createStep = journeys.createStep.bind(journeys);
|
|
10356
10623
|
target.updateStep = journeys.updateStep.bind(journeys);
|
|
10357
10624
|
target.archiveStep = journeys.archiveStep.bind(journeys);
|
|
10625
|
+
target.unarchiveStep = journeys.unarchiveStep.bind(journeys);
|
|
10358
10626
|
target.createConnection = journeys.createConnection.bind(journeys);
|
|
10359
10627
|
target.updateConnection = journeys.updateConnection.bind(journeys);
|
|
10360
10628
|
target.deleteConnection = journeys.deleteConnection.bind(journeys);
|
|
@@ -10508,6 +10776,7 @@ var GravityRailClient = class {
|
|
|
10508
10776
|
updateChatNeedsResponse;
|
|
10509
10777
|
summarizeChat;
|
|
10510
10778
|
getChatMessages;
|
|
10779
|
+
getChildThreadMessages;
|
|
10511
10780
|
getChatToolCallMessages;
|
|
10512
10781
|
getChatTools;
|
|
10513
10782
|
initiateOutboundCall;
|
|
@@ -10543,6 +10812,7 @@ var GravityRailClient = class {
|
|
|
10543
10812
|
listChatRecordings;
|
|
10544
10813
|
getCallRecordingDownloadUrl;
|
|
10545
10814
|
getCelContext;
|
|
10815
|
+
validateCelExpression;
|
|
10546
10816
|
// Data Types API
|
|
10547
10817
|
getDataTypes;
|
|
10548
10818
|
getDataType;
|
|
@@ -10681,6 +10951,7 @@ var GravityRailClient = class {
|
|
|
10681
10951
|
// Journeys API
|
|
10682
10952
|
getJourneys;
|
|
10683
10953
|
getJourney;
|
|
10954
|
+
getJourneyAuthoring;
|
|
10684
10955
|
getJourneyHealth;
|
|
10685
10956
|
createJourney;
|
|
10686
10957
|
updateJourney;
|
|
@@ -10688,6 +10959,7 @@ var GravityRailClient = class {
|
|
|
10688
10959
|
createStep;
|
|
10689
10960
|
updateStep;
|
|
10690
10961
|
archiveStep;
|
|
10962
|
+
unarchiveStep;
|
|
10691
10963
|
createConnection;
|
|
10692
10964
|
updateConnection;
|
|
10693
10965
|
deleteConnection;
|
|
@@ -10968,6 +11240,7 @@ var GravityRailClient = class {
|
|
|
10968
11240
|
updateFileRoles;
|
|
10969
11241
|
removeFileRole;
|
|
10970
11242
|
getFolderSharing;
|
|
11243
|
+
getFolderMemberAccess;
|
|
10971
11244
|
updateFolderRoles;
|
|
10972
11245
|
removeFolderRole;
|
|
10973
11246
|
updateFileSharing;
|
|
@@ -11096,6 +11369,7 @@ var GravityRailClient = class {
|
|
|
11096
11369
|
getPhoneNumberOutboundAnalyticsCalls;
|
|
11097
11370
|
exportPhoneNumberOutboundAnalyticsCsv;
|
|
11098
11371
|
getPhoneNumberMessages;
|
|
11372
|
+
getPhoneNumberFaxes;
|
|
11099
11373
|
getPhoneNumberVoicemails;
|
|
11100
11374
|
fetchVoicemailAudio;
|
|
11101
11375
|
updateVoicemailStatus;
|
|
@@ -11284,6 +11558,7 @@ var GravityRailClient = class {
|
|
|
11284
11558
|
fhirFetchEncounters;
|
|
11285
11559
|
fhirCreateEncounter;
|
|
11286
11560
|
fhirListLinkedMembers;
|
|
11561
|
+
fhirCheckPatientLinks;
|
|
11287
11562
|
fhirLinkMember;
|
|
11288
11563
|
fhirUnlinkMember;
|
|
11289
11564
|
fhirSyncMember;
|
|
@@ -11301,6 +11576,13 @@ var GravityRailClient = class {
|
|
|
11301
11576
|
fhirRefreshEncounterPatient;
|
|
11302
11577
|
fhirBackfillEncounterSync;
|
|
11303
11578
|
// Healthie API
|
|
11579
|
+
getDocumoFaxStatus;
|
|
11580
|
+
getDocumoFaxSetup;
|
|
11581
|
+
listDocumoFaxes;
|
|
11582
|
+
installDocumoFax;
|
|
11583
|
+
configureDocumoFax;
|
|
11584
|
+
verifyDocumoFax;
|
|
11585
|
+
rotateDocumoFaxCredentials;
|
|
11304
11586
|
configurePatientSync;
|
|
11305
11587
|
getPatientSyncStatus;
|
|
11306
11588
|
deletePatientSyncConnection;
|
|
@@ -11344,6 +11626,7 @@ var GravityRailClient = class {
|
|
|
11344
11626
|
getLinkedSalesforceMembers;
|
|
11345
11627
|
getSalesforceSyncConfig;
|
|
11346
11628
|
updateSalesforceSyncConfig;
|
|
11629
|
+
listSalesforceObjects;
|
|
11347
11630
|
describeSalesforceObject;
|
|
11348
11631
|
searchSalesforceRecords;
|
|
11349
11632
|
importSalesforceMembers;
|
|
@@ -11494,6 +11777,7 @@ var GravityRailClient = class {
|
|
|
11494
11777
|
apis.fhirConnections,
|
|
11495
11778
|
apis.patientSyncConnections,
|
|
11496
11779
|
apis.healthie,
|
|
11780
|
+
apis.documoFax,
|
|
11497
11781
|
apis.salesforce,
|
|
11498
11782
|
apis.hubspot,
|
|
11499
11783
|
apis.appConnections,
|
|
@@ -11624,6 +11908,7 @@ var AbilityTypeSlugs = {
|
|
|
11624
11908
|
GMAIL: "integration:gmail",
|
|
11625
11909
|
GOOGLE_CALENDAR: "integration:google_calendar",
|
|
11626
11910
|
GOOGLE_DRIVE: "integration:google_drive",
|
|
11911
|
+
GOOGLE_SHEETS: "integration:google_sheets",
|
|
11627
11912
|
CHARLESTON_PMD_PAGING: "integration:charleston_pmd_paging",
|
|
11628
11913
|
// Communication
|
|
11629
11914
|
PHONE_CALL_TOOLS: "communication:phone_call_tools",
|
|
@@ -11693,6 +11978,14 @@ var SMS_DELIVERY_FAILURE_STATUSES = /* @__PURE__ */ new Set([
|
|
|
11693
11978
|
function isSMSDeliveryFailureStatus(status) {
|
|
11694
11979
|
return status != null && SMS_DELIVERY_FAILURE_STATUSES.has(status);
|
|
11695
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
|
+
}
|
|
11696
11989
|
var POSITIVE_RATING_THRESHOLD = 0.5;
|
|
11697
11990
|
function isPositiveRating(rating) {
|
|
11698
11991
|
return rating != null && rating >= POSITIVE_RATING_THRESHOLD;
|
|
@@ -12766,6 +13059,7 @@ export {
|
|
|
12766
13059
|
EventsApi,
|
|
12767
13060
|
FeaturesApi,
|
|
12768
13061
|
FhirConnectionsApi,
|
|
13062
|
+
InboundFaxStatus,
|
|
12769
13063
|
HealthieApi,
|
|
12770
13064
|
FilesApi,
|
|
12771
13065
|
InboxesApi,
|
|
@@ -12919,6 +13213,8 @@ export {
|
|
|
12919
13213
|
QUERY_VALUELESS_OPS,
|
|
12920
13214
|
SMS_DELIVERY_FAILURE_STATUSES,
|
|
12921
13215
|
isSMSDeliveryFailureStatus,
|
|
13216
|
+
AGENT_NOTE_ORIGINS,
|
|
13217
|
+
isAgentNoteOrigin,
|
|
12922
13218
|
POSITIVE_RATING_THRESHOLD,
|
|
12923
13219
|
isPositiveRating,
|
|
12924
13220
|
BusinessIndustry,
|
|
@@ -12969,4 +13265,4 @@ export {
|
|
|
12969
13265
|
SCOPE_PRESETS,
|
|
12970
13266
|
getRevisionState
|
|
12971
13267
|
};
|
|
12972
|
-
//# sourceMappingURL=chunk-
|
|
13268
|
+
//# sourceMappingURL=chunk-K4MDFGMO.js.map
|