@gravity-rail/sdk 0.13.0 → 0.14.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{chunk-FSSXKQR5.js → chunk-GP6ICMWF.js} +2 -1
- package/dist/chunk-GP6ICMWF.js.map +1 -0
- package/dist/{chunk-MUEM2BLY.js → chunk-K4MDFGMO.js} +325 -26
- package/dist/chunk-K4MDFGMO.js.map +1 -0
- package/dist/{client-BGs2ArRW.d.ts → client-CKudWmUT.d.cts} +745 -50
- package/dist/{client-DlndHSuK.d.cts → client-EAvh7w0y.d.ts} +745 -50
- package/dist/helpers.cjs.map +1 -1
- package/dist/helpers.d.cts +2 -2
- package/dist/helpers.d.ts +2 -2
- package/dist/helpers.js +1 -1
- package/dist/index.cjs +334 -31
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +6 -7
- package/dist/index.d.ts +6 -7
- package/dist/index.js +17 -10
- package/dist/index.js.map +1 -1
- package/dist/internal.cjs +319 -24
- package/dist/internal.cjs.map +1 -1
- package/dist/internal.d.cts +411 -142
- package/dist/internal.d.ts +411 -142
- package/dist/internal.js +9 -3
- package/dist/internal.js.map +1 -1
- package/dist/{revision-state-DV77AxSI.d.ts → revision-state-BUBt9Rir.d.ts} +9 -4
- package/dist/{revision-state-Dz5sHCgJ.d.cts → revision-state-CY4LBdfa.d.cts} +9 -4
- package/dist/schemas.cjs +38 -1
- package/dist/schemas.cjs.map +1 -1
- package/dist/schemas.d.cts +68 -3
- package/dist/schemas.d.ts +68 -3
- package/dist/schemas.js +36 -1
- package/dist/schemas.js.map +1 -1
- package/dist/{tasks-Bz1JR0r0.d.cts → tasks-iRrM4SaF.d.cts} +43 -3
- package/dist/{tasks-Bz1JR0r0.d.ts → tasks-iRrM4SaF.d.ts} +43 -3
- package/package.json +2 -2
- package/dist/chunk-FSSXKQR5.js.map +0 -1
- package/dist/chunk-MUEM2BLY.js.map +0 -1
package/dist/index.cjs
CHANGED
|
@@ -20,6 +20,7 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
|
|
|
20
20
|
// src/index.ts
|
|
21
21
|
var src_exports = {};
|
|
22
22
|
__export(src_exports, {
|
|
23
|
+
AGENT_NOTE_ORIGINS: () => AGENT_NOTE_ORIGINS,
|
|
23
24
|
AbilityConfigIssueCode: () => AbilityConfigIssueCode,
|
|
24
25
|
AbilityConfigIssueSeverity: () => AbilityConfigIssueSeverity,
|
|
25
26
|
AbilityTypeSlugs: () => AbilityTypeSlugs,
|
|
@@ -70,6 +71,7 @@ __export(src_exports, {
|
|
|
70
71
|
FhirVendor: () => FhirVendor,
|
|
71
72
|
FormBuilder: () => FormBuilder,
|
|
72
73
|
GravityRailClient: () => GravityRailClient,
|
|
74
|
+
InboundFaxStatusValues: () => InboundFaxStatus,
|
|
73
75
|
IndexStatus: () => IndexStatus,
|
|
74
76
|
InvitationStatus: () => InvitationStatus,
|
|
75
77
|
JobPosition: () => JobPosition,
|
|
@@ -174,11 +176,13 @@ __export(src_exports, {
|
|
|
174
176
|
getTTSProvider: () => getTTSProvider,
|
|
175
177
|
getVoiceModelId: () => getVoiceModelId,
|
|
176
178
|
initializeFeatures: () => initializeFeatures,
|
|
179
|
+
isAgentNoteOrigin: () => isAgentNoteOrigin,
|
|
177
180
|
isChatType: () => isChatType,
|
|
178
181
|
isFeatureAvailable: () => isFeatureAvailable,
|
|
179
182
|
isPositiveRating: () => isPositiveRating,
|
|
180
183
|
isRegistryInitialized: () => isRegistryInitialized,
|
|
181
184
|
isSMSDeliveryFailureStatus: () => isSMSDeliveryFailureStatus,
|
|
185
|
+
parseOrgAuthChallenge: () => parseOrgAuthChallenge,
|
|
182
186
|
requiresAssistantParticipant: () => requiresAssistantParticipant,
|
|
183
187
|
runWorkspaceScript: () => runWorkspaceScript,
|
|
184
188
|
usesBuiltinAssistant: () => usesBuiltinAssistant,
|
|
@@ -1925,6 +1929,12 @@ var CELApi = class extends BaseApiClient {
|
|
|
1925
1929
|
body: JSON.stringify(request)
|
|
1926
1930
|
});
|
|
1927
1931
|
}
|
|
1932
|
+
async validateCelExpression(wid, request) {
|
|
1933
|
+
return this.fetch(`w/${wid}/cel/validate`, {
|
|
1934
|
+
method: "POST",
|
|
1935
|
+
body: JSON.stringify(request)
|
|
1936
|
+
});
|
|
1937
|
+
}
|
|
1928
1938
|
};
|
|
1929
1939
|
|
|
1930
1940
|
// src/api/chats.ts
|
|
@@ -2142,6 +2152,24 @@ var ChatsApi = class extends BaseApiClient {
|
|
|
2142
2152
|
`w/${wid}/chats/${id}/messages${params.toString() ? `?${params.toString()}` : ""}`
|
|
2143
2153
|
);
|
|
2144
2154
|
}
|
|
2155
|
+
/** List the background-work thread hanging off a message.
|
|
2156
|
+
*
|
|
2157
|
+
* When a tool trajectory outgrows its turn it detaches and runs in the
|
|
2158
|
+
* background (ADR-11 / forked trajectories), writing its messages as a
|
|
2159
|
+
* child thread parented at the fork point. Main-history reads exclude
|
|
2160
|
+
* them, so this is how the "show work" affordance fetches them — lazily,
|
|
2161
|
+
* only when a message with a non-zero `childMessageCount` is expanded.
|
|
2162
|
+
* Returns the thread in chronological order, empty when there is none.
|
|
2163
|
+
*
|
|
2164
|
+
* `messageUuid` is the fork point's `ChatMessage.id`. */
|
|
2165
|
+
async getChildThreadMessages(wid, chatId, messageUuid, limit = 200, offset = 0) {
|
|
2166
|
+
const params = new URLSearchParams();
|
|
2167
|
+
params.append("limit", limit.toString());
|
|
2168
|
+
params.append("offset", offset.toString());
|
|
2169
|
+
return this.fetch(
|
|
2170
|
+
`w/${wid}/chats/${chatId}/messages/${messageUuid}/children?${params.toString()}`
|
|
2171
|
+
);
|
|
2172
|
+
}
|
|
2145
2173
|
/** List messages associated with a specific tool call in a chat. */
|
|
2146
2174
|
async getChatToolCallMessages(wid, chatId, callId, limit = 100, offset = 0) {
|
|
2147
2175
|
const params = new URLSearchParams();
|
|
@@ -3527,6 +3555,17 @@ var FhirConnectionsApi = class extends BaseApiClient {
|
|
|
3527
3555
|
{ method: "POST", body: JSON.stringify(data) }
|
|
3528
3556
|
);
|
|
3529
3557
|
}
|
|
3558
|
+
/**
|
|
3559
|
+
* Bounded, read-only check of which external patient IDs are already
|
|
3560
|
+
* linked on this connection. PHI-minimal: sends/returns external patient
|
|
3561
|
+
* IDs only — never demographics.
|
|
3562
|
+
*/
|
|
3563
|
+
async fhirCheckPatientLinks(wid, connectionId, data) {
|
|
3564
|
+
return this.fetch(
|
|
3565
|
+
`w/${wid}/app-connections/fhir/connections/${connectionId}/linked-members/check`,
|
|
3566
|
+
{ method: "POST", body: JSON.stringify(data) }
|
|
3567
|
+
);
|
|
3568
|
+
}
|
|
3530
3569
|
// ==================== Encounter Sync ====================
|
|
3531
3570
|
async fhirGetEncounterSyncStatus(wid, connectionId) {
|
|
3532
3571
|
return this.fetch(`w/${wid}/app-connections/fhir/connections/${connectionId}/encounter-sync`);
|
|
@@ -3582,6 +3621,79 @@ var PatientSyncConnectionsApi = class extends BaseApiClient {
|
|
|
3582
3621
|
}
|
|
3583
3622
|
};
|
|
3584
3623
|
|
|
3624
|
+
// src/types/generated/inbound_fax.ts
|
|
3625
|
+
var InboundFaxStatus = {
|
|
3626
|
+
pending: "pending",
|
|
3627
|
+
received: "received",
|
|
3628
|
+
failed: "failed"
|
|
3629
|
+
};
|
|
3630
|
+
|
|
3631
|
+
// src/api/documo-fax.ts
|
|
3632
|
+
var DocumoFaxApi = class extends BaseApiClient {
|
|
3633
|
+
async getDocumoFaxStatus(wid) {
|
|
3634
|
+
return this.fetch(`w/${wid}/app-connections/documo-fax/status`);
|
|
3635
|
+
}
|
|
3636
|
+
async getDocumoFaxSetup(wid) {
|
|
3637
|
+
return this.fetch(`w/${wid}/app-connections/documo-fax/setup`);
|
|
3638
|
+
}
|
|
3639
|
+
/**
|
|
3640
|
+
* Received-fax log for this connection.
|
|
3641
|
+
*
|
|
3642
|
+
* Entries carry `senderNumber`, which is an unauthenticated claim by the
|
|
3643
|
+
* sending machine and is PHI. Render it; never log it.
|
|
3644
|
+
*
|
|
3645
|
+
* `status` is repeatable — one query entry per value, matching the route's
|
|
3646
|
+
* `list[str]` binding. The date bounds filter on when the delivery was
|
|
3647
|
+
* recorded, not on `receivedAt`: a fax that failed before storage never
|
|
3648
|
+
* gets a `receivedAt`, so bounding that column would hide exactly the
|
|
3649
|
+
* failures an operator filtering by date is hunting for.
|
|
3650
|
+
*/
|
|
3651
|
+
async listDocumoFaxes(wid, params) {
|
|
3652
|
+
const query = new URLSearchParams();
|
|
3653
|
+
if (params?.page !== void 0) query.set("page", String(params.page));
|
|
3654
|
+
if (params?.pageSize !== void 0) query.set("pageSize", String(params.pageSize));
|
|
3655
|
+
params?.status?.forEach((value) => query.append("status", value));
|
|
3656
|
+
if (params?.receivedAfter) query.set("receivedAfter", params.receivedAfter);
|
|
3657
|
+
if (params?.receivedBefore) query.set("receivedBefore", params.receivedBefore);
|
|
3658
|
+
const suffix = query.toString() === "" ? "" : `?${query.toString()}`;
|
|
3659
|
+
return this.fetch(
|
|
3660
|
+
`w/${wid}/app-connections/documo-fax/faxes${suffix}`
|
|
3661
|
+
);
|
|
3662
|
+
}
|
|
3663
|
+
/**
|
|
3664
|
+
* The three bodyless POSTs below send `{}` deliberately: the routes require
|
|
3665
|
+
* a JSON body as a CSRF barrier (a cross-site HTML form POST cannot set
|
|
3666
|
+
* Content-Type: application/json, so it 422s). See GRA-6284.
|
|
3667
|
+
*/
|
|
3668
|
+
async installDocumoFax(wid) {
|
|
3669
|
+
return this.fetch(`w/${wid}/app-connections/documo-fax/install`, {
|
|
3670
|
+
method: "POST",
|
|
3671
|
+
body: JSON.stringify({})
|
|
3672
|
+
});
|
|
3673
|
+
}
|
|
3674
|
+
async configureDocumoFax(wid, data) {
|
|
3675
|
+
return this.fetch(
|
|
3676
|
+
`w/${wid}/app-connections/documo-fax/configure`,
|
|
3677
|
+
{
|
|
3678
|
+
method: "POST",
|
|
3679
|
+
body: JSON.stringify(data)
|
|
3680
|
+
}
|
|
3681
|
+
);
|
|
3682
|
+
}
|
|
3683
|
+
async verifyDocumoFax(wid) {
|
|
3684
|
+
return this.fetch(`w/${wid}/app-connections/documo-fax/verify`, {
|
|
3685
|
+
method: "POST",
|
|
3686
|
+
body: JSON.stringify({})
|
|
3687
|
+
});
|
|
3688
|
+
}
|
|
3689
|
+
async rotateDocumoFaxCredentials(wid) {
|
|
3690
|
+
return this.fetch(
|
|
3691
|
+
`w/${wid}/app-connections/documo-fax/rotate-credentials`,
|
|
3692
|
+
{ method: "POST", body: JSON.stringify({}) }
|
|
3693
|
+
);
|
|
3694
|
+
}
|
|
3695
|
+
};
|
|
3696
|
+
|
|
3585
3697
|
// src/api/healthie.ts
|
|
3586
3698
|
var HealthieApi = class extends BaseApiClient {
|
|
3587
3699
|
async configureHealthie(wid, data) {
|
|
@@ -3915,6 +4027,16 @@ var FilesApi = class extends BaseApiClient {
|
|
|
3915
4027
|
async getFolderSharing(wid, folderId) {
|
|
3916
4028
|
return this.fetch(`w/${wid}/folders/${folderId}/sharing`);
|
|
3917
4029
|
}
|
|
4030
|
+
/**
|
|
4031
|
+
* Ask whether another member can read a folder, evaluated by the real
|
|
4032
|
+
* authorizer as that member. Used to tell "a landing folder is set" apart
|
|
4033
|
+
* from "the fax owner can actually open it".
|
|
4034
|
+
*/
|
|
4035
|
+
async getFolderMemberAccess(wid, folderId, memberId) {
|
|
4036
|
+
return this.fetch(
|
|
4037
|
+
`w/${wid}/folders/${folderId}/member-access?memberId=${memberId}`
|
|
4038
|
+
);
|
|
4039
|
+
}
|
|
3918
4040
|
/** Update the role associations for a folder's sharing permissions. */
|
|
3919
4041
|
async updateFolderRoles(wid, folderId, data) {
|
|
3920
4042
|
return this.fetch(
|
|
@@ -5717,7 +5839,12 @@ var OrgApi = class extends BaseApiClient {
|
|
|
5717
5839
|
`o/${orgUuid}/legal-entities/${legalEntityUuid}/trust-products`
|
|
5718
5840
|
);
|
|
5719
5841
|
}
|
|
5720
|
-
/**
|
|
5842
|
+
/**
|
|
5843
|
+
* Reconcile trust product state against Twilio (discovery + status
|
|
5844
|
+
* refresh). Returns the refreshed products plus which product keys were
|
|
5845
|
+
* newly discovered. Responds 409 when another Trust Hub operation holds
|
|
5846
|
+
* the org lock — retry shortly rather than queueing.
|
|
5847
|
+
*/
|
|
5721
5848
|
async syncVoiceTrustProducts(orgUuid, legalEntityUuid) {
|
|
5722
5849
|
return this.fetch(
|
|
5723
5850
|
`o/${orgUuid}/legal-entities/${legalEntityUuid}/trust-products/sync`,
|
|
@@ -5860,6 +5987,9 @@ function getOAuthPath(providerSlug, action) {
|
|
|
5860
5987
|
if (providerSlug === "gdrive") {
|
|
5861
5988
|
return `oauth/google/drive/${action}`;
|
|
5862
5989
|
}
|
|
5990
|
+
if (providerSlug === "gsheets") {
|
|
5991
|
+
return `oauth/google/sheets/${action}`;
|
|
5992
|
+
}
|
|
5863
5993
|
return `oauth/${providerSlug}/${action}`;
|
|
5864
5994
|
}
|
|
5865
5995
|
function buildAuthorizeQuery(options) {
|
|
@@ -6035,6 +6165,32 @@ var PhoneNumbersApi = class extends BaseApiClient {
|
|
|
6035
6165
|
`w/${wid}/phone-numbers/${id}/messages?${params}`
|
|
6036
6166
|
);
|
|
6037
6167
|
}
|
|
6168
|
+
/**
|
|
6169
|
+
* List received faxes for a phone number.
|
|
6170
|
+
*
|
|
6171
|
+
* The same log the Documo connection page shows, scoped to a number. Rows
|
|
6172
|
+
* carry `senderNumber` — an unauthenticated claim by the sending machine,
|
|
6173
|
+
* and PHI. Render it for triage; never log it.
|
|
6174
|
+
*
|
|
6175
|
+
* Same query vocabulary as `listDocumoFaxes` — one log, one spelling.
|
|
6176
|
+
* `status` is repeatable and is validated against the status enum, so a
|
|
6177
|
+
* typo is a 422 rather than a silently empty page. The date bounds filter
|
|
6178
|
+
* on when the delivery was recorded, not on `receivedAt`: a fax that failed
|
|
6179
|
+
* before storage never gets a `receivedAt`, so bounding that column would
|
|
6180
|
+
* hide exactly the failures an operator filtering by date is hunting for.
|
|
6181
|
+
*/
|
|
6182
|
+
async getPhoneNumberFaxes(wid, id, page = 1, pageSize = 10, filters) {
|
|
6183
|
+
const params = new URLSearchParams({
|
|
6184
|
+
page: String(page),
|
|
6185
|
+
pageSize: String(pageSize)
|
|
6186
|
+
});
|
|
6187
|
+
filters?.status?.forEach((value) => params.append("status", value));
|
|
6188
|
+
if (filters?.receivedAfter) params.set("receivedAfter", filters.receivedAfter);
|
|
6189
|
+
if (filters?.receivedBefore) params.set("receivedBefore", filters.receivedBefore);
|
|
6190
|
+
return this.fetch(
|
|
6191
|
+
`w/${wid}/phone-numbers/${id}/faxes?${params}`
|
|
6192
|
+
);
|
|
6193
|
+
}
|
|
6038
6194
|
/** List provider phones available for linking to workspace phone numbers. */
|
|
6039
6195
|
async getLinkablePhones(wid) {
|
|
6040
6196
|
return this.fetch(`w/${wid}/phone-numbers/linkable-phones`);
|
|
@@ -6553,6 +6709,16 @@ var SalesforceApi = class extends BaseApiClient {
|
|
|
6553
6709
|
}
|
|
6554
6710
|
);
|
|
6555
6711
|
}
|
|
6712
|
+
/**
|
|
6713
|
+
* List the sObjects available in the connected org.
|
|
6714
|
+
*
|
|
6715
|
+
* Backs the Target Object picker: the object set is org-specific (custom
|
|
6716
|
+
* objects included), so it must come from the org rather than a hardcoded
|
|
6717
|
+
* list.
|
|
6718
|
+
*/
|
|
6719
|
+
async listSalesforceObjects(wid) {
|
|
6720
|
+
return this.fetch(`w/${wid}/app-connections/salesforce/objects`);
|
|
6721
|
+
}
|
|
6556
6722
|
async describeSalesforceObject(wid, sobject) {
|
|
6557
6723
|
return this.fetch(
|
|
6558
6724
|
`w/${wid}/app-connections/salesforce/describe/${encodeURIComponent(sobject)}`
|
|
@@ -7591,7 +7757,12 @@ var ToolkitsApi = class extends BaseApiClient {
|
|
|
7591
7757
|
|
|
7592
7758
|
// src/api/journeys.ts
|
|
7593
7759
|
var JourneysApi = class extends BaseApiClient {
|
|
7594
|
-
/**
|
|
7760
|
+
/**
|
|
7761
|
+
* List journeys, optionally including archived, paginated.
|
|
7762
|
+
*
|
|
7763
|
+
* Returns the READ projection (`JourneyRead`) — CEL-free. Use
|
|
7764
|
+
* {@link getJourneyAuthoring} for the editor's expression-carrying shape.
|
|
7765
|
+
*/
|
|
7595
7766
|
async getJourneys(wid, includeArchived = false, pageOpts) {
|
|
7596
7767
|
const query = new URLSearchParams();
|
|
7597
7768
|
if (includeArchived) query.set("include_archived", "true");
|
|
@@ -7600,18 +7771,36 @@ var JourneysApi = class extends BaseApiClient {
|
|
|
7600
7771
|
const qs = query.toString() ? `?${query.toString()}` : "";
|
|
7601
7772
|
return this.fetch(`w/${wid}/journeys${qs}`);
|
|
7602
7773
|
}
|
|
7603
|
-
/**
|
|
7774
|
+
/**
|
|
7775
|
+
* Get a single journey by ID (includes steps and goals).
|
|
7776
|
+
*
|
|
7777
|
+
* Returns the READ projection (`JourneyRead`) — nested edges carry no
|
|
7778
|
+
* `celCondition` and goals no `completionCel`. The editor uses
|
|
7779
|
+
* {@link getJourneyAuthoring} for those.
|
|
7780
|
+
*/
|
|
7604
7781
|
async getJourney(wid, journeyId) {
|
|
7605
7782
|
return this.fetch(`w/${wid}/journeys/${journeyId}`);
|
|
7606
7783
|
}
|
|
7607
|
-
/**
|
|
7784
|
+
/**
|
|
7785
|
+
* Get a journey's AUTHORING projection (raw edge/goal CEL).
|
|
7786
|
+
*
|
|
7787
|
+
* journey-decoupling §3.5: the ordinary `getJourney` read projection omits
|
|
7788
|
+
* raw edge `celCondition` and goal `completionCel`. This endpoint is the
|
|
7789
|
+
* write-authorized surface that carries them for the Journey editor — it
|
|
7790
|
+
* requires the `journeys:write` scope, so a read-only caller is denied and
|
|
7791
|
+
* must not call it. Returns the authoring superset (`Journey`).
|
|
7792
|
+
*/
|
|
7793
|
+
async getJourneyAuthoring(wid, journeyId) {
|
|
7794
|
+
return this.fetch(`w/${wid}/journeys/${journeyId}/authoring`);
|
|
7795
|
+
}
|
|
7796
|
+
/** Create a new journey. Returns the READ projection (`JourneyRead`). */
|
|
7608
7797
|
async createJourney(wid, data) {
|
|
7609
7798
|
return this.fetch(`w/${wid}/journeys`, {
|
|
7610
7799
|
method: "POST",
|
|
7611
7800
|
body: JSON.stringify(data)
|
|
7612
7801
|
});
|
|
7613
7802
|
}
|
|
7614
|
-
/** Update an existing journey. */
|
|
7803
|
+
/** Update an existing journey. Returns the READ projection (`JourneyRead`). */
|
|
7615
7804
|
async updateJourney(wid, journeyId, data) {
|
|
7616
7805
|
return this.fetch(`w/${wid}/journeys/${journeyId}`, {
|
|
7617
7806
|
method: "PUT",
|
|
@@ -7652,6 +7841,18 @@ var JourneysApi = class extends BaseApiClient {
|
|
|
7652
7841
|
method: "DELETE"
|
|
7653
7842
|
});
|
|
7654
7843
|
}
|
|
7844
|
+
/**
|
|
7845
|
+
* Unarchive a step and backfill active enrollments. Idempotent —
|
|
7846
|
+
* repeated calls are harmless. The response's
|
|
7847
|
+
* `backfilledEnrollmentCount` reports how many active enrollments
|
|
7848
|
+
* received a new step row; a root step may become eligible for all of
|
|
7849
|
+
* them on the next journey sweep.
|
|
7850
|
+
*/
|
|
7851
|
+
async unarchiveStep(wid, journeyId, stepUuid) {
|
|
7852
|
+
return this.fetch(`w/${wid}/journeys/${journeyId}/steps/${stepUuid}/unarchive`, {
|
|
7853
|
+
method: "PATCH"
|
|
7854
|
+
});
|
|
7855
|
+
}
|
|
7655
7856
|
/** Create a connection (DAG edge) between two steps. */
|
|
7656
7857
|
async createConnection(wid, journeyId, data) {
|
|
7657
7858
|
return this.fetch(`w/${wid}/journeys/${journeyId}/connections`, {
|
|
@@ -8350,6 +8551,7 @@ var EventRuleObjectType = /* @__PURE__ */ ((EventRuleObjectType2) => {
|
|
|
8350
8551
|
EventRuleObjectType2["JOURNEY"] = "journey";
|
|
8351
8552
|
EventRuleObjectType2["CALL"] = "call";
|
|
8352
8553
|
EventRuleObjectType2["VOICEMAIL"] = "voicemail";
|
|
8554
|
+
EventRuleObjectType2["FAX"] = "fax";
|
|
8353
8555
|
return EventRuleObjectType2;
|
|
8354
8556
|
})(EventRuleObjectType || {});
|
|
8355
8557
|
var EventRuleEventType = /* @__PURE__ */ ((EventRuleEventType2) => {
|
|
@@ -8382,6 +8584,7 @@ var EventRuleEventType = /* @__PURE__ */ ((EventRuleEventType2) => {
|
|
|
8382
8584
|
EventRuleEventType2["CALL_COMPLETED"] = "call:completed";
|
|
8383
8585
|
EventRuleEventType2["CALL_SUMMARY"] = "call:summary";
|
|
8384
8586
|
EventRuleEventType2["VOICEMAIL_RECEIVED"] = "voicemail:received";
|
|
8587
|
+
EventRuleEventType2["FAX_RECEIVED"] = "fax:received";
|
|
8385
8588
|
return EventRuleEventType2;
|
|
8386
8589
|
})(EventRuleEventType || {});
|
|
8387
8590
|
var EventRuleActionType = /* @__PURE__ */ ((EventRuleActionType2) => {
|
|
@@ -8393,6 +8596,9 @@ var EventRuleActionType = /* @__PURE__ */ ((EventRuleActionType2) => {
|
|
|
8393
8596
|
EventRuleActionType2["ASSISTANT_MESSAGE"] = "assistant:message";
|
|
8394
8597
|
EventRuleActionType2["FORM_FIELD_UPDATE"] = "form:update_field";
|
|
8395
8598
|
EventRuleActionType2["CEL_MUTATE"] = "record:cel_mutate";
|
|
8599
|
+
EventRuleActionType2["RECORD_COPY_FIELDS"] = "record:copy_fields";
|
|
8600
|
+
EventRuleActionType2["RECORD_UPSERT_LINKED"] = "record:upsert_linked";
|
|
8601
|
+
EventRuleActionType2["RECORD_VERIFY_FIELDS"] = "record:verify_fields";
|
|
8396
8602
|
EventRuleActionType2["MESSAGE_VALIDATION"] = "message:validation";
|
|
8397
8603
|
EventRuleActionType2["CHAT_CREATE"] = "chat:create";
|
|
8398
8604
|
EventRuleActionType2["CHAT_CONTINUE"] = "chat:continue";
|
|
@@ -8432,12 +8638,14 @@ var WorkspaceFeature = /* @__PURE__ */ ((WorkspaceFeature2) => {
|
|
|
8432
8638
|
WorkspaceFeature2["BROWSER"] = "browser";
|
|
8433
8639
|
WorkspaceFeature2["WEB_SEARCH"] = "web_search";
|
|
8434
8640
|
WorkspaceFeature2["CALENDAR"] = "calendar";
|
|
8435
|
-
WorkspaceFeature2["JOURNEYS"] = "journeys";
|
|
8436
8641
|
WorkspaceFeature2["EXPERIMENTS"] = "experiments";
|
|
8437
8642
|
WorkspaceFeature2["OPERATOR"] = "operator";
|
|
8438
8643
|
WorkspaceFeature2["GMAIL"] = "gmail";
|
|
8439
8644
|
WorkspaceFeature2["GCALENDAR"] = "gcalendar";
|
|
8645
|
+
WorkspaceFeature2["GDRIVE"] = "gdrive";
|
|
8646
|
+
WorkspaceFeature2["GSHEETS"] = "gsheets";
|
|
8440
8647
|
WorkspaceFeature2["MONDAY"] = "monday";
|
|
8648
|
+
WorkspaceFeature2["DOCUMO_FAX"] = "documo_fax";
|
|
8441
8649
|
WorkspaceFeature2["RESELL_PRODUCTS"] = "resell_products";
|
|
8442
8650
|
WorkspaceFeature2["SOC2_COMPLIANCE"] = "soc2_compliance";
|
|
8443
8651
|
WorkspaceFeature2["EHR_FHIR"] = "ehr_fhir";
|
|
@@ -8718,6 +8926,7 @@ var AccessGrantResourceType = /* @__PURE__ */ ((AccessGrantResourceType2) => {
|
|
|
8718
8926
|
})(AccessGrantResourceType || {});
|
|
8719
8927
|
var CapabilityClass = /* @__PURE__ */ ((CapabilityClass2) => {
|
|
8720
8928
|
CapabilityClass2["TOOL_ALWAYS_ALLOW"] = "tool.always_allow";
|
|
8929
|
+
CapabilityClass2["SCOPE_ALWAYS_ALLOW"] = "scope.always_allow";
|
|
8721
8930
|
CapabilityClass2["SELF_MODIFICATION_SCHEDULE"] = "self_modification.schedule";
|
|
8722
8931
|
CapabilityClass2["ATTENTION_INTERRUPT_RUNG"] = "attention.interrupt_rung";
|
|
8723
8932
|
return CapabilityClass2;
|
|
@@ -9327,6 +9536,7 @@ function createApiModules(apiKey, baseUrl, customFetch) {
|
|
|
9327
9536
|
fhirConnections: new FhirConnectionsApi(apiKey, baseUrl, customFetch),
|
|
9328
9537
|
patientSyncConnections: new PatientSyncConnectionsApi(apiKey, baseUrl, customFetch),
|
|
9329
9538
|
healthie: new HealthieApi(apiKey, baseUrl, customFetch),
|
|
9539
|
+
documoFax: new DocumoFaxApi(apiKey, baseUrl, customFetch),
|
|
9330
9540
|
hubspot: new HubspotApi(apiKey, baseUrl, customFetch),
|
|
9331
9541
|
features: new FeaturesApi(apiKey, baseUrl, customFetch),
|
|
9332
9542
|
files: new FilesApi(apiKey, baseUrl, customFetch),
|
|
@@ -9388,7 +9598,9 @@ var WORKSPACE_METHOD_NAMES = [
|
|
|
9388
9598
|
"autoCreateDataTypeFromBoard",
|
|
9389
9599
|
"blockWorkspaceInvitation",
|
|
9390
9600
|
"bookHealthieAppointment",
|
|
9601
|
+
"buildSiteSource",
|
|
9391
9602
|
"buildWorkspace",
|
|
9603
|
+
"bulkCreateMembers",
|
|
9392
9604
|
"bulkLinkMembersToHubspot",
|
|
9393
9605
|
"bulkLinkMembersToMonday",
|
|
9394
9606
|
"bulkLinkMembersToSalesforce",
|
|
@@ -9408,7 +9620,9 @@ var WORKSPACE_METHOD_NAMES = [
|
|
|
9408
9620
|
"cloneWorkflow",
|
|
9409
9621
|
"closeWorkspaceSupportRequest",
|
|
9410
9622
|
"commentOnWorkspaceSupportRequest",
|
|
9623
|
+
"completeDiscordLink",
|
|
9411
9624
|
"configureConfluence",
|
|
9625
|
+
"configureDocumoFax",
|
|
9412
9626
|
"configureHealthie",
|
|
9413
9627
|
"configurePatientSync",
|
|
9414
9628
|
"configureHubspot",
|
|
@@ -9424,6 +9638,7 @@ var WORKSPACE_METHOD_NAMES = [
|
|
|
9424
9638
|
"createAssignment",
|
|
9425
9639
|
"createCalendar",
|
|
9426
9640
|
"createCalendarEvent",
|
|
9641
|
+
"createCalendarEventType",
|
|
9427
9642
|
"createCalendarSchedule",
|
|
9428
9643
|
"createChat",
|
|
9429
9644
|
"createChatCompletion",
|
|
@@ -9433,12 +9648,12 @@ var WORKSPACE_METHOD_NAMES = [
|
|
|
9433
9648
|
"createConnection",
|
|
9434
9649
|
"createCustomTool",
|
|
9435
9650
|
"createCustomToolkit",
|
|
9651
|
+
"createDashboard",
|
|
9436
9652
|
"createDataRecord",
|
|
9437
9653
|
"createDataRecordFilter",
|
|
9438
9654
|
"createDataType",
|
|
9439
9655
|
"createDiscordBot",
|
|
9440
9656
|
"createEventRule",
|
|
9441
|
-
"createEventType",
|
|
9442
9657
|
"createExperiment",
|
|
9443
9658
|
"createExperimentAssignment",
|
|
9444
9659
|
"createExperimentGroup",
|
|
@@ -9468,8 +9683,8 @@ var WORKSPACE_METHOD_NAMES = [
|
|
|
9468
9683
|
"createScenario",
|
|
9469
9684
|
"createSignup",
|
|
9470
9685
|
"createSite",
|
|
9686
|
+
"createSiteSource",
|
|
9471
9687
|
"createSlackApp",
|
|
9472
|
-
"createSnippet",
|
|
9473
9688
|
"createStep",
|
|
9474
9689
|
"createSupervisor",
|
|
9475
9690
|
"createTask",
|
|
@@ -9486,6 +9701,7 @@ var WORKSPACE_METHOD_NAMES = [
|
|
|
9486
9701
|
"deleteAssignment",
|
|
9487
9702
|
"deleteCalendar",
|
|
9488
9703
|
"deleteCalendarEvent",
|
|
9704
|
+
"deleteCalendarEventType",
|
|
9489
9705
|
"deleteCalendarSchedule",
|
|
9490
9706
|
"deleteChat",
|
|
9491
9707
|
"deleteChatFilter",
|
|
@@ -9495,13 +9711,13 @@ var WORKSPACE_METHOD_NAMES = [
|
|
|
9495
9711
|
"deleteConnection",
|
|
9496
9712
|
"deleteCustomTool",
|
|
9497
9713
|
"deleteCustomToolkit",
|
|
9714
|
+
"deleteDashboard",
|
|
9498
9715
|
"deleteDataRecord",
|
|
9499
9716
|
"deleteDataRecordFilter",
|
|
9500
9717
|
"deleteDataType",
|
|
9501
9718
|
"deleteDiscordBot",
|
|
9502
9719
|
"deleteEnrollment",
|
|
9503
9720
|
"deleteEventRule",
|
|
9504
|
-
"deleteEventType",
|
|
9505
9721
|
"deleteExperiment",
|
|
9506
9722
|
"deleteExperimentAssignment",
|
|
9507
9723
|
"deleteExperimentGroup",
|
|
@@ -9535,7 +9751,6 @@ var WORKSPACE_METHOD_NAMES = [
|
|
|
9535
9751
|
"deleteScenario",
|
|
9536
9752
|
"deleteSite",
|
|
9537
9753
|
"deleteSlackApp",
|
|
9538
|
-
"deleteSnippet",
|
|
9539
9754
|
"deleteSupervisor",
|
|
9540
9755
|
"deleteTask",
|
|
9541
9756
|
"deleteTeamsApp",
|
|
@@ -9559,10 +9774,13 @@ var WORKSPACE_METHOD_NAMES = [
|
|
|
9559
9774
|
"disconnectMondayConnection",
|
|
9560
9775
|
"disconnectPresence",
|
|
9561
9776
|
"disconnectSalesforce",
|
|
9777
|
+
"discordLinkPreflight",
|
|
9562
9778
|
"discoverOAuthMetadata",
|
|
9563
9779
|
"dismissAllNotifications",
|
|
9564
9780
|
"dismissNotification",
|
|
9565
9781
|
"downloadEmailAttachment",
|
|
9782
|
+
"downloadFilesZip",
|
|
9783
|
+
"downloadSiteSourceZip",
|
|
9566
9784
|
"editWorkflowRevisionAsDraft",
|
|
9567
9785
|
"enableConfluence",
|
|
9568
9786
|
"enableCustomToolkit",
|
|
@@ -9579,9 +9797,11 @@ var WORKSPACE_METHOD_NAMES = [
|
|
|
9579
9797
|
"exportChat",
|
|
9580
9798
|
"exportChats",
|
|
9581
9799
|
"exportMembers",
|
|
9800
|
+
"exportPhoneNumberOutboundAnalyticsCsv",
|
|
9582
9801
|
"exportWorkspace",
|
|
9583
9802
|
"fetchVoicemailAudio",
|
|
9584
9803
|
"fhirBackfillEncounterSync",
|
|
9804
|
+
"fhirCheckPatientLinks",
|
|
9585
9805
|
"fhirCreateEncounter",
|
|
9586
9806
|
"fhirCsvImportApply",
|
|
9587
9807
|
"fhirCsvImportInspect",
|
|
@@ -9632,15 +9852,15 @@ var WORKSPACE_METHOD_NAMES = [
|
|
|
9632
9852
|
"getAvailableActions",
|
|
9633
9853
|
"getAvailablePhoneNumbers",
|
|
9634
9854
|
"getAvailableSlots",
|
|
9635
|
-
"getBoardColumns",
|
|
9636
|
-
"getBoardGroups",
|
|
9637
|
-
"getBoards",
|
|
9638
9855
|
"getBusinessHoursStatus",
|
|
9639
9856
|
"getCalendar",
|
|
9640
9857
|
"getCalendarEvent",
|
|
9858
|
+
"getCalendarEventType",
|
|
9859
|
+
"getCalendarEventTypes",
|
|
9641
9860
|
"getCalendarEvents",
|
|
9642
9861
|
"getCalendarSchedules",
|
|
9643
9862
|
"getCalendars",
|
|
9863
|
+
"getCallRecordingDownloadUrl",
|
|
9644
9864
|
"getCelContext",
|
|
9645
9865
|
"getCharlestonTestDeliveryRecipients",
|
|
9646
9866
|
"getChat",
|
|
@@ -9655,6 +9875,7 @@ var WORKSPACE_METHOD_NAMES = [
|
|
|
9655
9875
|
"getChatLabelByUuid",
|
|
9656
9876
|
"getChatLabels",
|
|
9657
9877
|
"getChatMessages",
|
|
9878
|
+
"getChatModelOverride",
|
|
9658
9879
|
"getChatPhoneCalls",
|
|
9659
9880
|
"getChatSkills",
|
|
9660
9881
|
"getChatTodos",
|
|
@@ -9664,6 +9885,7 @@ var WORKSPACE_METHOD_NAMES = [
|
|
|
9664
9885
|
"getChats",
|
|
9665
9886
|
"getChatsDailyCreationStats",
|
|
9666
9887
|
"getChatsNeedsResponse",
|
|
9888
|
+
"getChildThreadMessages",
|
|
9667
9889
|
"getClientWorkspace",
|
|
9668
9890
|
"getConfluenceStatus",
|
|
9669
9891
|
"getConnectionSyncCapabilities",
|
|
@@ -9671,9 +9893,12 @@ var WORKSPACE_METHOD_NAMES = [
|
|
|
9671
9893
|
"getConnectionSyncConfig",
|
|
9672
9894
|
"getCredentialUpdateInvites",
|
|
9673
9895
|
"getCurrentMember",
|
|
9674
|
-
"getCurrentUserInfo",
|
|
9675
9896
|
"getCustomToolkit",
|
|
9676
9897
|
"getCustomToolkits",
|
|
9898
|
+
"getDashboard",
|
|
9899
|
+
"getDashboardChannelStats",
|
|
9900
|
+
"getDashboardWorkflowAssignmentStats",
|
|
9901
|
+
"getDashboards",
|
|
9677
9902
|
"getDataRecord",
|
|
9678
9903
|
"getDataRecordChanges",
|
|
9679
9904
|
"getDataRecordFilter",
|
|
@@ -9690,10 +9915,11 @@ var WORKSPACE_METHOD_NAMES = [
|
|
|
9690
9915
|
"getDiscordBots",
|
|
9691
9916
|
"getDiscordGuilds",
|
|
9692
9917
|
"getDiscordThreads",
|
|
9918
|
+
"getDocumoFaxSetup",
|
|
9919
|
+
"listDocumoFaxes",
|
|
9920
|
+
"getDocumoFaxStatus",
|
|
9693
9921
|
"getEventRule",
|
|
9694
9922
|
"getEventRules",
|
|
9695
|
-
"getEventType",
|
|
9696
|
-
"getEventTypes",
|
|
9697
9923
|
"getExperiment",
|
|
9698
9924
|
"getExperimentStats",
|
|
9699
9925
|
"getExperiments",
|
|
@@ -9702,6 +9928,26 @@ var WORKSPACE_METHOD_NAMES = [
|
|
|
9702
9928
|
"getFhirConnections",
|
|
9703
9929
|
"getFieldIndexStatus",
|
|
9704
9930
|
"getFile",
|
|
9931
|
+
"getMondayBoardColumns",
|
|
9932
|
+
"getMondayBoardGroups",
|
|
9933
|
+
"getMondayBoards",
|
|
9934
|
+
"getMondayCurrentUserInfo",
|
|
9935
|
+
"getMotd",
|
|
9936
|
+
"getPhoneNumberOutboundAnalyticsCalls",
|
|
9937
|
+
"getPhoneNumberOutboundAnalyticsSummary",
|
|
9938
|
+
"getQueryFields",
|
|
9939
|
+
"getSiteSharing",
|
|
9940
|
+
"getSiteSource",
|
|
9941
|
+
"getSiteSourceTemplates",
|
|
9942
|
+
"getThemeSettings",
|
|
9943
|
+
"importSiteSourceZip",
|
|
9944
|
+
"installDocumoFax",
|
|
9945
|
+
"listChatRecordings",
|
|
9946
|
+
"previewQuery",
|
|
9947
|
+
"publishSiteSource",
|
|
9948
|
+
"registerDiscordSlashCommands",
|
|
9949
|
+
"reopenWorkspaceSupportRequest",
|
|
9950
|
+
"resetSiteSource",
|
|
9705
9951
|
"resolveFilePath",
|
|
9706
9952
|
"getFileLabel",
|
|
9707
9953
|
"getFileLabelByUuid",
|
|
@@ -9712,6 +9958,7 @@ var WORKSPACE_METHOD_NAMES = [
|
|
|
9712
9958
|
"getFiles",
|
|
9713
9959
|
"getFirstRunState",
|
|
9714
9960
|
"getFolder",
|
|
9961
|
+
"getFolderMemberAccess",
|
|
9715
9962
|
"getFolderSharing",
|
|
9716
9963
|
"getFolders",
|
|
9717
9964
|
"getGoogleCalendarStatus",
|
|
@@ -9733,6 +9980,7 @@ var WORKSPACE_METHOD_NAMES = [
|
|
|
9733
9980
|
"getInboxThreads",
|
|
9734
9981
|
"getInboxes",
|
|
9735
9982
|
"getJourney",
|
|
9983
|
+
"getJourneyAuthoring",
|
|
9736
9984
|
"getJourneyHealth",
|
|
9737
9985
|
"getJourneyMembers",
|
|
9738
9986
|
"getJourneyNotes",
|
|
@@ -9797,6 +10045,7 @@ var WORKSPACE_METHOD_NAMES = [
|
|
|
9797
10045
|
"getPhoneCalls",
|
|
9798
10046
|
"getPhoneNumber",
|
|
9799
10047
|
"getPhoneNumberCalls",
|
|
10048
|
+
"getPhoneNumberFaxes",
|
|
9800
10049
|
"getPhoneNumberMessages",
|
|
9801
10050
|
"getPhoneNumberVoicemails",
|
|
9802
10051
|
"getPhoneNumbers",
|
|
@@ -9834,7 +10083,6 @@ var WORKSPACE_METHOD_NAMES = [
|
|
|
9834
10083
|
"getSlackApps",
|
|
9835
10084
|
"getSlackInstallations",
|
|
9836
10085
|
"getSlackThreads",
|
|
9837
|
-
"getSnippet",
|
|
9838
10086
|
"getStepMemberCounts",
|
|
9839
10087
|
"getStepMembers",
|
|
9840
10088
|
"getSupervisor",
|
|
@@ -9872,7 +10120,6 @@ var WORKSPACE_METHOD_NAMES = [
|
|
|
9872
10120
|
"getWorkflowNotes",
|
|
9873
10121
|
"getWorkflowRevision",
|
|
9874
10122
|
"getWorkflowRevisions",
|
|
9875
|
-
"getWorkflowRouteDryRun",
|
|
9876
10123
|
"getWorkflowTaskAssignmentStats",
|
|
9877
10124
|
"getWorkflowTemplates",
|
|
9878
10125
|
"getWorkflowThumbnailUrl",
|
|
@@ -9902,6 +10149,7 @@ var WORKSPACE_METHOD_NAMES = [
|
|
|
9902
10149
|
"initiateOutboundCall",
|
|
9903
10150
|
"inspectPrompt",
|
|
9904
10151
|
"installHubspot",
|
|
10152
|
+
"installDocumoFax",
|
|
9905
10153
|
"installMondayConnection",
|
|
9906
10154
|
"installSalesforce",
|
|
9907
10155
|
"inviteMemberCredentialUpdate",
|
|
@@ -9920,6 +10168,10 @@ var WORKSPACE_METHOD_NAMES = [
|
|
|
9920
10168
|
"listConfluencePages",
|
|
9921
10169
|
"listConfluenceSpaces",
|
|
9922
10170
|
"listConnectionMemberFieldKeys",
|
|
10171
|
+
"rollbackSiteSource",
|
|
10172
|
+
"rotateDocumoFaxCredentials",
|
|
10173
|
+
"runQuery",
|
|
10174
|
+
"sendMemberPhoneConfirmation",
|
|
9923
10175
|
"setDefaultGooglePlatformAccount",
|
|
9924
10176
|
"listFileVersions",
|
|
9925
10177
|
"listGoogleCalendars",
|
|
@@ -9928,8 +10180,8 @@ var WORKSPACE_METHOD_NAMES = [
|
|
|
9928
10180
|
"listHealthieProviders",
|
|
9929
10181
|
"listPersonas",
|
|
9930
10182
|
"listPushSubscriptions",
|
|
10183
|
+
"listSalesforceObjects",
|
|
9931
10184
|
"listScenarios",
|
|
9932
|
-
"listSnippets",
|
|
9933
10185
|
"listTestChatRuns",
|
|
9934
10186
|
"listWidgetDomains",
|
|
9935
10187
|
"listWorkspaceInvitationsAdmin",
|
|
@@ -9952,7 +10204,6 @@ var WORKSPACE_METHOD_NAMES = [
|
|
|
9952
10204
|
"reenrollMember",
|
|
9953
10205
|
"registerLinkedRolesMetadata",
|
|
9954
10206
|
"registerPushSubscription",
|
|
9955
|
-
"registerSlashCommands",
|
|
9956
10207
|
"reindexFolder",
|
|
9957
10208
|
"releasePhoneNumber",
|
|
9958
10209
|
"removeFileRole",
|
|
@@ -9961,6 +10212,7 @@ var WORKSPACE_METHOD_NAMES = [
|
|
|
9961
10212
|
"reorderEventRules",
|
|
9962
10213
|
"reorderMenuItems",
|
|
9963
10214
|
"replyToEmail",
|
|
10215
|
+
"rotateDocumoFaxCredentials",
|
|
9964
10216
|
"requestPhoneNumber",
|
|
9965
10217
|
"requestWorkspaceMembership",
|
|
9966
10218
|
"resetRoutineRuns",
|
|
@@ -9998,11 +10250,13 @@ var WORKSPACE_METHOD_NAMES = [
|
|
|
9998
10250
|
"testMcpServerConnection",
|
|
9999
10251
|
"testMondayConnection",
|
|
10000
10252
|
"testRunJourney",
|
|
10253
|
+
"testWebhook",
|
|
10001
10254
|
"toggleFieldIndex",
|
|
10002
10255
|
"unarchiveAgent",
|
|
10003
10256
|
"unarchiveChat",
|
|
10004
10257
|
"unarchiveDataType",
|
|
10005
10258
|
"unarchiveMember",
|
|
10259
|
+
"unarchiveStep",
|
|
10006
10260
|
"unarchiveTask",
|
|
10007
10261
|
"unarchiveWorkflow",
|
|
10008
10262
|
"unenrollMembers",
|
|
@@ -10019,10 +10273,12 @@ var WORKSPACE_METHOD_NAMES = [
|
|
|
10019
10273
|
"updateAssignment",
|
|
10020
10274
|
"updateCalendar",
|
|
10021
10275
|
"updateCalendarEvent",
|
|
10276
|
+
"updateCalendarEventType",
|
|
10022
10277
|
"updateCalendarSchedule",
|
|
10023
10278
|
"updateChat",
|
|
10024
10279
|
"updateChatFilter",
|
|
10025
10280
|
"updateChatLabel",
|
|
10281
|
+
"updateChatModelOverride",
|
|
10026
10282
|
"updateChatMute",
|
|
10027
10283
|
"updateChatNeedsResponse",
|
|
10028
10284
|
"updateClientWorkspace",
|
|
@@ -10031,13 +10287,13 @@ var WORKSPACE_METHOD_NAMES = [
|
|
|
10031
10287
|
"updateCurrentMember",
|
|
10032
10288
|
"updateCustomTool",
|
|
10033
10289
|
"updateCustomToolkit",
|
|
10290
|
+
"updateDashboard",
|
|
10034
10291
|
"updateDataRecord",
|
|
10035
10292
|
"updateDataRecordFilter",
|
|
10036
10293
|
"updateDataType",
|
|
10037
10294
|
"updateDiscordBot",
|
|
10038
10295
|
"updateEventAttendee",
|
|
10039
10296
|
"updateEventRule",
|
|
10040
|
-
"updateEventType",
|
|
10041
10297
|
"updateExperiment",
|
|
10042
10298
|
"updateExperimentAssignment",
|
|
10043
10299
|
"updateExperimentGroup",
|
|
@@ -10074,12 +10330,13 @@ var WORKSPACE_METHOD_NAMES = [
|
|
|
10074
10330
|
"updateSalesforceSyncConfig",
|
|
10075
10331
|
"updateScenario",
|
|
10076
10332
|
"updateSite",
|
|
10333
|
+
"updateSiteSharing",
|
|
10077
10334
|
"updateSlackApp",
|
|
10078
|
-
"updateSnippet",
|
|
10079
10335
|
"updateStep",
|
|
10080
10336
|
"updateSupervisor",
|
|
10081
10337
|
"updateTask",
|
|
10082
10338
|
"updateTeamsApp",
|
|
10339
|
+
"updateThemeSettings",
|
|
10083
10340
|
"uploadFile",
|
|
10084
10341
|
"updateVoicemailStatus",
|
|
10085
10342
|
"updateWorkflow",
|
|
@@ -10092,8 +10349,11 @@ var WORKSPACE_METHOD_NAMES = [
|
|
|
10092
10349
|
"updateWorkspaceThemes",
|
|
10093
10350
|
"upsertDataRecord",
|
|
10094
10351
|
"upsertWidgetDomain",
|
|
10352
|
+
"validateCelExpression",
|
|
10095
10353
|
"validateDataTypeSlug",
|
|
10096
|
-
"
|
|
10354
|
+
"validateQuery",
|
|
10355
|
+
"validateWorkflowName",
|
|
10356
|
+
"verifyDocumoFax"
|
|
10097
10357
|
];
|
|
10098
10358
|
var WORKSPACE_METHOD_NAME_SET = new Set(WORKSPACE_METHOD_NAMES);
|
|
10099
10359
|
function createWorkspaceClient(root, workspaceUuid) {
|
|
@@ -10188,6 +10448,7 @@ function bindChatsMethods(target, chats) {
|
|
|
10188
10448
|
target.updateChatNeedsResponse = chats.updateChatNeedsResponse.bind(chats);
|
|
10189
10449
|
target.summarizeChat = chats.summarizeChat.bind(chats);
|
|
10190
10450
|
target.getChatMessages = chats.getChatMessages.bind(chats);
|
|
10451
|
+
target.getChildThreadMessages = chats.getChildThreadMessages.bind(chats);
|
|
10191
10452
|
target.getChatToolCallMessages = chats.getChatToolCallMessages.bind(chats);
|
|
10192
10453
|
target.getChatTools = chats.getChatTools.bind(chats);
|
|
10193
10454
|
target.initiateOutboundCall = chats.initiateOutboundCall.bind(chats);
|
|
@@ -10226,6 +10487,7 @@ function bindCallsMethods(target, calls, cel) {
|
|
|
10226
10487
|
target.listChatRecordings = calls.listChatRecordings.bind(calls);
|
|
10227
10488
|
target.getCallRecordingDownloadUrl = calls.getCallRecordingDownloadUrl.bind(calls);
|
|
10228
10489
|
target.getCelContext = cel.getCelContext.bind(cel);
|
|
10490
|
+
target.validateCelExpression = cel.validateCelExpression.bind(cel);
|
|
10229
10491
|
}
|
|
10230
10492
|
|
|
10231
10493
|
// src/client/bindings/dashboards.ts
|
|
@@ -10542,6 +10804,7 @@ function bindFilesMethods(target, files) {
|
|
|
10542
10804
|
target.updateFileRoles = files.updateFileRoles.bind(files);
|
|
10543
10805
|
target.removeFileRole = files.removeFileRole.bind(files);
|
|
10544
10806
|
target.getFolderSharing = files.getFolderSharing.bind(files);
|
|
10807
|
+
target.getFolderMemberAccess = files.getFolderMemberAccess.bind(files);
|
|
10545
10808
|
target.updateFolderRoles = files.updateFolderRoles.bind(files);
|
|
10546
10809
|
target.removeFolderRole = files.removeFolderRole.bind(files);
|
|
10547
10810
|
target.updateFileSharing = files.updateFileSharing.bind(files);
|
|
@@ -10698,6 +10961,7 @@ function bindCommunicationsMethods(target, phoneNumbers, inboxes, notificationRu
|
|
|
10698
10961
|
target.getPhoneNumberOutboundAnalyticsCalls = phoneNumbers.getPhoneNumberOutboundAnalyticsCalls.bind(phoneNumbers);
|
|
10699
10962
|
target.exportPhoneNumberOutboundAnalyticsCsv = phoneNumbers.exportPhoneNumberOutboundAnalyticsCsv.bind(phoneNumbers);
|
|
10700
10963
|
target.getPhoneNumberMessages = phoneNumbers.getPhoneNumberMessages.bind(phoneNumbers);
|
|
10964
|
+
target.getPhoneNumberFaxes = phoneNumbers.getPhoneNumberFaxes.bind(phoneNumbers);
|
|
10701
10965
|
target.getPhoneNumberVoicemails = phoneNumbers.getPhoneNumberVoicemails.bind(phoneNumbers);
|
|
10702
10966
|
target.fetchVoicemailAudio = phoneNumbers.fetchVoicemailAudio.bind(phoneNumbers);
|
|
10703
10967
|
target.updateVoicemailStatus = phoneNumbers.updateVoicemailStatus.bind(phoneNumbers);
|
|
@@ -10821,7 +11085,7 @@ function bindAppsMethods(target, apps, builders, inquiries, oauth, oauthConnecti
|
|
|
10821
11085
|
}
|
|
10822
11086
|
|
|
10823
11087
|
// src/client/bindings/integrations.ts
|
|
10824
|
-
function bindIntegrationsMethods(target, mondayIntegration, discordBots, slackApps, teamsApps, fhirConnections, patientSyncConnections, healthie, salesforce, hubspot, appConnections, connectionSync, confluence) {
|
|
11088
|
+
function bindIntegrationsMethods(target, mondayIntegration, discordBots, slackApps, teamsApps, fhirConnections, patientSyncConnections, healthie, documoFax, salesforce, hubspot, appConnections, connectionSync, confluence) {
|
|
10825
11089
|
target.getMondayBoards = mondayIntegration.getBoards.bind(mondayIntegration);
|
|
10826
11090
|
target.getMondayBoardColumns = mondayIntegration.getBoardColumns.bind(mondayIntegration);
|
|
10827
11091
|
target.getMondayBoardGroups = mondayIntegration.getBoardGroups.bind(mondayIntegration);
|
|
@@ -10893,6 +11157,7 @@ function bindIntegrationsMethods(target, mondayIntegration, discordBots, slackAp
|
|
|
10893
11157
|
target.fhirFetchEncounters = fhirConnections.fhirFetchEncounters.bind(fhirConnections);
|
|
10894
11158
|
target.fhirCreateEncounter = fhirConnections.fhirCreateEncounter.bind(fhirConnections);
|
|
10895
11159
|
target.fhirListLinkedMembers = fhirConnections.fhirListLinkedMembers.bind(fhirConnections);
|
|
11160
|
+
target.fhirCheckPatientLinks = fhirConnections.fhirCheckPatientLinks.bind(fhirConnections);
|
|
10896
11161
|
target.fhirLinkMember = fhirConnections.fhirLinkMember.bind(fhirConnections);
|
|
10897
11162
|
target.fhirUnlinkMember = fhirConnections.fhirUnlinkMember.bind(fhirConnections);
|
|
10898
11163
|
target.fhirSyncMember = fhirConnections.fhirSyncMember.bind(fhirConnections);
|
|
@@ -10912,6 +11177,13 @@ function bindIntegrationsMethods(target, mondayIntegration, discordBots, slackAp
|
|
|
10912
11177
|
target.configurePatientSync = patientSyncConnections.configurePatientSync.bind(patientSyncConnections);
|
|
10913
11178
|
target.getPatientSyncStatus = patientSyncConnections.getPatientSyncStatus.bind(patientSyncConnections);
|
|
10914
11179
|
target.deletePatientSyncConnection = patientSyncConnections.deletePatientSyncConnection.bind(patientSyncConnections);
|
|
11180
|
+
target.getDocumoFaxStatus = documoFax.getDocumoFaxStatus.bind(documoFax);
|
|
11181
|
+
target.getDocumoFaxSetup = documoFax.getDocumoFaxSetup.bind(documoFax);
|
|
11182
|
+
target.listDocumoFaxes = documoFax.listDocumoFaxes.bind(documoFax);
|
|
11183
|
+
target.installDocumoFax = documoFax.installDocumoFax.bind(documoFax);
|
|
11184
|
+
target.configureDocumoFax = documoFax.configureDocumoFax.bind(documoFax);
|
|
11185
|
+
target.verifyDocumoFax = documoFax.verifyDocumoFax.bind(documoFax);
|
|
11186
|
+
target.rotateDocumoFaxCredentials = documoFax.rotateDocumoFaxCredentials.bind(documoFax);
|
|
10915
11187
|
target.configureHealthie = healthie.configureHealthie.bind(healthie);
|
|
10916
11188
|
target.getHealthieStatus = healthie.getHealthieStatus.bind(healthie);
|
|
10917
11189
|
target.listHealthieProviders = healthie.listHealthieProviders.bind(healthie);
|
|
@@ -10950,6 +11222,7 @@ function bindIntegrationsMethods(target, mondayIntegration, discordBots, slackAp
|
|
|
10950
11222
|
target.getLinkedSalesforceMembers = salesforce.getLinkedSalesforceMembers.bind(salesforce);
|
|
10951
11223
|
target.getSalesforceSyncConfig = salesforce.getSalesforceSyncConfig.bind(salesforce);
|
|
10952
11224
|
target.updateSalesforceSyncConfig = salesforce.updateSalesforceSyncConfig.bind(salesforce);
|
|
11225
|
+
target.listSalesforceObjects = salesforce.listSalesforceObjects.bind(salesforce);
|
|
10953
11226
|
target.describeSalesforceObject = salesforce.describeSalesforceObject.bind(salesforce);
|
|
10954
11227
|
target.searchSalesforceRecords = salesforce.searchSalesforceRecords.bind(salesforce);
|
|
10955
11228
|
target.importSalesforceMembers = salesforce.importSalesforceMembers.bind(salesforce);
|
|
@@ -11051,6 +11324,7 @@ function bindPronunciationsMethods(target, pronunciations) {
|
|
|
11051
11324
|
function bindJourneysMethods(target, journeys) {
|
|
11052
11325
|
target.getJourneys = journeys.getJourneys.bind(journeys);
|
|
11053
11326
|
target.getJourney = journeys.getJourney.bind(journeys);
|
|
11327
|
+
target.getJourneyAuthoring = journeys.getJourneyAuthoring.bind(journeys);
|
|
11054
11328
|
target.getJourneyHealth = journeys.getJourneyHealth.bind(journeys);
|
|
11055
11329
|
target.createJourney = journeys.createJourney.bind(journeys);
|
|
11056
11330
|
target.updateJourney = journeys.updateJourney.bind(journeys);
|
|
@@ -11058,6 +11332,7 @@ function bindJourneysMethods(target, journeys) {
|
|
|
11058
11332
|
target.createStep = journeys.createStep.bind(journeys);
|
|
11059
11333
|
target.updateStep = journeys.updateStep.bind(journeys);
|
|
11060
11334
|
target.archiveStep = journeys.archiveStep.bind(journeys);
|
|
11335
|
+
target.unarchiveStep = journeys.unarchiveStep.bind(journeys);
|
|
11061
11336
|
target.createConnection = journeys.createConnection.bind(journeys);
|
|
11062
11337
|
target.updateConnection = journeys.updateConnection.bind(journeys);
|
|
11063
11338
|
target.deleteConnection = journeys.deleteConnection.bind(journeys);
|
|
@@ -11211,6 +11486,7 @@ var GravityRailClient = class {
|
|
|
11211
11486
|
updateChatNeedsResponse;
|
|
11212
11487
|
summarizeChat;
|
|
11213
11488
|
getChatMessages;
|
|
11489
|
+
getChildThreadMessages;
|
|
11214
11490
|
getChatToolCallMessages;
|
|
11215
11491
|
getChatTools;
|
|
11216
11492
|
initiateOutboundCall;
|
|
@@ -11246,6 +11522,7 @@ var GravityRailClient = class {
|
|
|
11246
11522
|
listChatRecordings;
|
|
11247
11523
|
getCallRecordingDownloadUrl;
|
|
11248
11524
|
getCelContext;
|
|
11525
|
+
validateCelExpression;
|
|
11249
11526
|
// Data Types API
|
|
11250
11527
|
getDataTypes;
|
|
11251
11528
|
getDataType;
|
|
@@ -11384,6 +11661,7 @@ var GravityRailClient = class {
|
|
|
11384
11661
|
// Journeys API
|
|
11385
11662
|
getJourneys;
|
|
11386
11663
|
getJourney;
|
|
11664
|
+
getJourneyAuthoring;
|
|
11387
11665
|
getJourneyHealth;
|
|
11388
11666
|
createJourney;
|
|
11389
11667
|
updateJourney;
|
|
@@ -11391,6 +11669,7 @@ var GravityRailClient = class {
|
|
|
11391
11669
|
createStep;
|
|
11392
11670
|
updateStep;
|
|
11393
11671
|
archiveStep;
|
|
11672
|
+
unarchiveStep;
|
|
11394
11673
|
createConnection;
|
|
11395
11674
|
updateConnection;
|
|
11396
11675
|
deleteConnection;
|
|
@@ -11671,6 +11950,7 @@ var GravityRailClient = class {
|
|
|
11671
11950
|
updateFileRoles;
|
|
11672
11951
|
removeFileRole;
|
|
11673
11952
|
getFolderSharing;
|
|
11953
|
+
getFolderMemberAccess;
|
|
11674
11954
|
updateFolderRoles;
|
|
11675
11955
|
removeFolderRole;
|
|
11676
11956
|
updateFileSharing;
|
|
@@ -11799,6 +12079,7 @@ var GravityRailClient = class {
|
|
|
11799
12079
|
getPhoneNumberOutboundAnalyticsCalls;
|
|
11800
12080
|
exportPhoneNumberOutboundAnalyticsCsv;
|
|
11801
12081
|
getPhoneNumberMessages;
|
|
12082
|
+
getPhoneNumberFaxes;
|
|
11802
12083
|
getPhoneNumberVoicemails;
|
|
11803
12084
|
fetchVoicemailAudio;
|
|
11804
12085
|
updateVoicemailStatus;
|
|
@@ -11987,6 +12268,7 @@ var GravityRailClient = class {
|
|
|
11987
12268
|
fhirFetchEncounters;
|
|
11988
12269
|
fhirCreateEncounter;
|
|
11989
12270
|
fhirListLinkedMembers;
|
|
12271
|
+
fhirCheckPatientLinks;
|
|
11990
12272
|
fhirLinkMember;
|
|
11991
12273
|
fhirUnlinkMember;
|
|
11992
12274
|
fhirSyncMember;
|
|
@@ -12004,6 +12286,13 @@ var GravityRailClient = class {
|
|
|
12004
12286
|
fhirRefreshEncounterPatient;
|
|
12005
12287
|
fhirBackfillEncounterSync;
|
|
12006
12288
|
// Healthie API
|
|
12289
|
+
getDocumoFaxStatus;
|
|
12290
|
+
getDocumoFaxSetup;
|
|
12291
|
+
listDocumoFaxes;
|
|
12292
|
+
installDocumoFax;
|
|
12293
|
+
configureDocumoFax;
|
|
12294
|
+
verifyDocumoFax;
|
|
12295
|
+
rotateDocumoFaxCredentials;
|
|
12007
12296
|
configurePatientSync;
|
|
12008
12297
|
getPatientSyncStatus;
|
|
12009
12298
|
deletePatientSyncConnection;
|
|
@@ -12047,6 +12336,7 @@ var GravityRailClient = class {
|
|
|
12047
12336
|
getLinkedSalesforceMembers;
|
|
12048
12337
|
getSalesforceSyncConfig;
|
|
12049
12338
|
updateSalesforceSyncConfig;
|
|
12339
|
+
listSalesforceObjects;
|
|
12050
12340
|
describeSalesforceObject;
|
|
12051
12341
|
searchSalesforceRecords;
|
|
12052
12342
|
importSalesforceMembers;
|
|
@@ -12197,6 +12487,7 @@ var GravityRailClient = class {
|
|
|
12197
12487
|
apis.fhirConnections,
|
|
12198
12488
|
apis.patientSyncConnections,
|
|
12199
12489
|
apis.healthie,
|
|
12490
|
+
apis.documoFax,
|
|
12200
12491
|
apis.salesforce,
|
|
12201
12492
|
apis.hubspot,
|
|
12202
12493
|
apis.appConnections,
|
|
@@ -12690,18 +12981,19 @@ var MemberLabelBuilder = class extends WorkspaceBuilderResource {
|
|
|
12690
12981
|
|
|
12691
12982
|
// src/workspace-builder/journeys.ts
|
|
12692
12983
|
var JourneyStepBuilder = class extends WorkspaceBuilderResource {
|
|
12693
|
-
|
|
12984
|
+
// journey-decoupling Phase 7: a Journey step no longer links to a Workflow.
|
|
12985
|
+
// A step nudges via EventRule actions instead of running a Workflow, so the
|
|
12986
|
+
// builder no longer accepts or emits a workflow reference.
|
|
12987
|
+
constructor(name, journey, order = 0, description = "") {
|
|
12694
12988
|
super();
|
|
12695
12989
|
this.name = name;
|
|
12696
12990
|
this.journey = journey;
|
|
12697
12991
|
this.order = order;
|
|
12698
|
-
this.workflow = workflow;
|
|
12699
12992
|
this.description = description;
|
|
12700
12993
|
}
|
|
12701
12994
|
name;
|
|
12702
12995
|
journey;
|
|
12703
12996
|
order;
|
|
12704
|
-
workflow;
|
|
12705
12997
|
description;
|
|
12706
12998
|
connections = [];
|
|
12707
12999
|
connectsTo(child, condition, required = false, timeoutSeconds) {
|
|
@@ -12709,15 +13001,14 @@ var JourneyStepBuilder = class extends WorkspaceBuilderResource {
|
|
|
12709
13001
|
return this;
|
|
12710
13002
|
}
|
|
12711
13003
|
planLine() {
|
|
12712
|
-
return `Step: ${this.name}
|
|
13004
|
+
return `Step: ${this.name}`;
|
|
12713
13005
|
}
|
|
12714
13006
|
async apply(client) {
|
|
12715
13007
|
if (this.journey._id === void 0) return;
|
|
12716
13008
|
const payload = {
|
|
12717
13009
|
name: this.name,
|
|
12718
13010
|
description: this.description,
|
|
12719
|
-
order: this.order
|
|
12720
|
-
...this.workflow?._id ? { workflowId: this.workflow._id } : {}
|
|
13011
|
+
order: this.order
|
|
12721
13012
|
};
|
|
12722
13013
|
const result = await client.createStep(this.journey._id, payload);
|
|
12723
13014
|
this._id = result.id;
|
|
@@ -12740,7 +13031,6 @@ var JourneyBuilder = class extends WorkspaceBuilderResource {
|
|
|
12740
13031
|
name,
|
|
12741
13032
|
this,
|
|
12742
13033
|
options.order ?? 0,
|
|
12743
|
-
options.workflow,
|
|
12744
13034
|
options.description ?? ""
|
|
12745
13035
|
);
|
|
12746
13036
|
this.steps.push(step);
|
|
@@ -13657,6 +13947,7 @@ var AbilityTypeSlugs = {
|
|
|
13657
13947
|
GMAIL: "integration:gmail",
|
|
13658
13948
|
GOOGLE_CALENDAR: "integration:google_calendar",
|
|
13659
13949
|
GOOGLE_DRIVE: "integration:google_drive",
|
|
13950
|
+
GOOGLE_SHEETS: "integration:google_sheets",
|
|
13660
13951
|
CHARLESTON_PMD_PAGING: "integration:charleston_pmd_paging",
|
|
13661
13952
|
// Communication
|
|
13662
13953
|
PHONE_CALL_TOOLS: "communication:phone_call_tools",
|
|
@@ -13726,6 +14017,14 @@ var SMS_DELIVERY_FAILURE_STATUSES = /* @__PURE__ */ new Set([
|
|
|
13726
14017
|
function isSMSDeliveryFailureStatus(status) {
|
|
13727
14018
|
return status != null && SMS_DELIVERY_FAILURE_STATUSES.has(status);
|
|
13728
14019
|
}
|
|
14020
|
+
var AGENT_NOTE_ORIGINS = /* @__PURE__ */ new Set([
|
|
14021
|
+
"workflow",
|
|
14022
|
+
"background_run",
|
|
14023
|
+
"platform"
|
|
14024
|
+
]);
|
|
14025
|
+
function isAgentNoteOrigin(origin) {
|
|
14026
|
+
return origin != null && AGENT_NOTE_ORIGINS.has(origin);
|
|
14027
|
+
}
|
|
13729
14028
|
var POSITIVE_RATING_THRESHOLD = 0.5;
|
|
13730
14029
|
function isPositiveRating(rating) {
|
|
13731
14030
|
return rating != null && rating >= POSITIVE_RATING_THRESHOLD;
|
|
@@ -14771,6 +15070,7 @@ function getRevisionState(workflow, revision) {
|
|
|
14771
15070
|
}
|
|
14772
15071
|
// Annotate the CommonJS export names for ESM import in node:
|
|
14773
15072
|
0 && (module.exports = {
|
|
15073
|
+
AGENT_NOTE_ORIGINS,
|
|
14774
15074
|
AbilityConfigIssueCode,
|
|
14775
15075
|
AbilityConfigIssueSeverity,
|
|
14776
15076
|
AbilityTypeSlugs,
|
|
@@ -14821,6 +15121,7 @@ function getRevisionState(workflow, revision) {
|
|
|
14821
15121
|
FhirVendor,
|
|
14822
15122
|
FormBuilder,
|
|
14823
15123
|
GravityRailClient,
|
|
15124
|
+
InboundFaxStatusValues,
|
|
14824
15125
|
IndexStatus,
|
|
14825
15126
|
InvitationStatus,
|
|
14826
15127
|
JobPosition,
|
|
@@ -14925,11 +15226,13 @@ function getRevisionState(workflow, revision) {
|
|
|
14925
15226
|
getTTSProvider,
|
|
14926
15227
|
getVoiceModelId,
|
|
14927
15228
|
initializeFeatures,
|
|
15229
|
+
isAgentNoteOrigin,
|
|
14928
15230
|
isChatType,
|
|
14929
15231
|
isFeatureAvailable,
|
|
14930
15232
|
isPositiveRating,
|
|
14931
15233
|
isRegistryInitialized,
|
|
14932
15234
|
isSMSDeliveryFailureStatus,
|
|
15235
|
+
parseOrgAuthChallenge,
|
|
14933
15236
|
requiresAssistantParticipant,
|
|
14934
15237
|
runWorkspaceScript,
|
|
14935
15238
|
usesBuiltinAssistant,
|