@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.
Files changed (35) hide show
  1. package/dist/{chunk-FSSXKQR5.js → chunk-GP6ICMWF.js} +2 -1
  2. package/dist/chunk-GP6ICMWF.js.map +1 -0
  3. package/dist/{chunk-YRIBZ3RM.js → chunk-K4MDFGMO.js} +322 -26
  4. package/dist/chunk-K4MDFGMO.js.map +1 -0
  5. package/dist/{client-DjyYhpnv.d.ts → client-CKudWmUT.d.cts} +741 -46
  6. package/dist/{client-eet1pTc_.d.cts → client-EAvh7w0y.d.ts} +741 -46
  7. package/dist/helpers.cjs.map +1 -1
  8. package/dist/helpers.d.cts +2 -2
  9. package/dist/helpers.d.ts +2 -2
  10. package/dist/helpers.js +1 -1
  11. package/dist/index.cjs +331 -31
  12. package/dist/index.cjs.map +1 -1
  13. package/dist/index.d.cts +6 -7
  14. package/dist/index.d.ts +6 -7
  15. package/dist/index.js +17 -10
  16. package/dist/index.js.map +1 -1
  17. package/dist/internal.cjs +316 -24
  18. package/dist/internal.cjs.map +1 -1
  19. package/dist/internal.d.cts +411 -142
  20. package/dist/internal.d.ts +411 -142
  21. package/dist/internal.js +9 -3
  22. package/dist/internal.js.map +1 -1
  23. package/dist/{revision-state-CC1svrGE.d.ts → revision-state-BUBt9Rir.d.ts} +9 -4
  24. package/dist/{revision-state-DFWcu6wD.d.cts → revision-state-CY4LBdfa.d.cts} +9 -4
  25. package/dist/schemas.cjs +36 -1
  26. package/dist/schemas.cjs.map +1 -1
  27. package/dist/schemas.d.cts +65 -5
  28. package/dist/schemas.d.ts +65 -5
  29. package/dist/schemas.js +34 -1
  30. package/dist/schemas.js.map +1 -1
  31. package/dist/{tasks-Dl1Dzgkf.d.cts → tasks-iRrM4SaF.d.cts} +37 -3
  32. package/dist/{tasks-Dl1Dzgkf.d.ts → tasks-iRrM4SaF.d.ts} +37 -3
  33. package/package.json +1 -1
  34. package/dist/chunk-FSSXKQR5.js.map +0 -1
  35. package/dist/chunk-YRIBZ3RM.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
- /** Reconcile trust product state against Twilio (discovery + status refresh). */
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
- /** List journeys, optionally including archived, paginated. */
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
- /** Get a single journey by ID (includes steps and goals). */
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
- /** Create a new journey. */
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) => {
@@ -8435,12 +8638,14 @@ var WorkspaceFeature = /* @__PURE__ */ ((WorkspaceFeature2) => {
8435
8638
  WorkspaceFeature2["BROWSER"] = "browser";
8436
8639
  WorkspaceFeature2["WEB_SEARCH"] = "web_search";
8437
8640
  WorkspaceFeature2["CALENDAR"] = "calendar";
8438
- WorkspaceFeature2["JOURNEYS"] = "journeys";
8439
8641
  WorkspaceFeature2["EXPERIMENTS"] = "experiments";
8440
8642
  WorkspaceFeature2["OPERATOR"] = "operator";
8441
8643
  WorkspaceFeature2["GMAIL"] = "gmail";
8442
8644
  WorkspaceFeature2["GCALENDAR"] = "gcalendar";
8645
+ WorkspaceFeature2["GDRIVE"] = "gdrive";
8646
+ WorkspaceFeature2["GSHEETS"] = "gsheets";
8443
8647
  WorkspaceFeature2["MONDAY"] = "monday";
8648
+ WorkspaceFeature2["DOCUMO_FAX"] = "documo_fax";
8444
8649
  WorkspaceFeature2["RESELL_PRODUCTS"] = "resell_products";
8445
8650
  WorkspaceFeature2["SOC2_COMPLIANCE"] = "soc2_compliance";
8446
8651
  WorkspaceFeature2["EHR_FHIR"] = "ehr_fhir";
@@ -8721,6 +8926,7 @@ var AccessGrantResourceType = /* @__PURE__ */ ((AccessGrantResourceType2) => {
8721
8926
  })(AccessGrantResourceType || {});
8722
8927
  var CapabilityClass = /* @__PURE__ */ ((CapabilityClass2) => {
8723
8928
  CapabilityClass2["TOOL_ALWAYS_ALLOW"] = "tool.always_allow";
8929
+ CapabilityClass2["SCOPE_ALWAYS_ALLOW"] = "scope.always_allow";
8724
8930
  CapabilityClass2["SELF_MODIFICATION_SCHEDULE"] = "self_modification.schedule";
8725
8931
  CapabilityClass2["ATTENTION_INTERRUPT_RUNG"] = "attention.interrupt_rung";
8726
8932
  return CapabilityClass2;
@@ -9330,6 +9536,7 @@ function createApiModules(apiKey, baseUrl, customFetch) {
9330
9536
  fhirConnections: new FhirConnectionsApi(apiKey, baseUrl, customFetch),
9331
9537
  patientSyncConnections: new PatientSyncConnectionsApi(apiKey, baseUrl, customFetch),
9332
9538
  healthie: new HealthieApi(apiKey, baseUrl, customFetch),
9539
+ documoFax: new DocumoFaxApi(apiKey, baseUrl, customFetch),
9333
9540
  hubspot: new HubspotApi(apiKey, baseUrl, customFetch),
9334
9541
  features: new FeaturesApi(apiKey, baseUrl, customFetch),
9335
9542
  files: new FilesApi(apiKey, baseUrl, customFetch),
@@ -9391,7 +9598,9 @@ var WORKSPACE_METHOD_NAMES = [
9391
9598
  "autoCreateDataTypeFromBoard",
9392
9599
  "blockWorkspaceInvitation",
9393
9600
  "bookHealthieAppointment",
9601
+ "buildSiteSource",
9394
9602
  "buildWorkspace",
9603
+ "bulkCreateMembers",
9395
9604
  "bulkLinkMembersToHubspot",
9396
9605
  "bulkLinkMembersToMonday",
9397
9606
  "bulkLinkMembersToSalesforce",
@@ -9411,7 +9620,9 @@ var WORKSPACE_METHOD_NAMES = [
9411
9620
  "cloneWorkflow",
9412
9621
  "closeWorkspaceSupportRequest",
9413
9622
  "commentOnWorkspaceSupportRequest",
9623
+ "completeDiscordLink",
9414
9624
  "configureConfluence",
9625
+ "configureDocumoFax",
9415
9626
  "configureHealthie",
9416
9627
  "configurePatientSync",
9417
9628
  "configureHubspot",
@@ -9427,6 +9638,7 @@ var WORKSPACE_METHOD_NAMES = [
9427
9638
  "createAssignment",
9428
9639
  "createCalendar",
9429
9640
  "createCalendarEvent",
9641
+ "createCalendarEventType",
9430
9642
  "createCalendarSchedule",
9431
9643
  "createChat",
9432
9644
  "createChatCompletion",
@@ -9436,12 +9648,12 @@ var WORKSPACE_METHOD_NAMES = [
9436
9648
  "createConnection",
9437
9649
  "createCustomTool",
9438
9650
  "createCustomToolkit",
9651
+ "createDashboard",
9439
9652
  "createDataRecord",
9440
9653
  "createDataRecordFilter",
9441
9654
  "createDataType",
9442
9655
  "createDiscordBot",
9443
9656
  "createEventRule",
9444
- "createEventType",
9445
9657
  "createExperiment",
9446
9658
  "createExperimentAssignment",
9447
9659
  "createExperimentGroup",
@@ -9471,8 +9683,8 @@ var WORKSPACE_METHOD_NAMES = [
9471
9683
  "createScenario",
9472
9684
  "createSignup",
9473
9685
  "createSite",
9686
+ "createSiteSource",
9474
9687
  "createSlackApp",
9475
- "createSnippet",
9476
9688
  "createStep",
9477
9689
  "createSupervisor",
9478
9690
  "createTask",
@@ -9489,6 +9701,7 @@ var WORKSPACE_METHOD_NAMES = [
9489
9701
  "deleteAssignment",
9490
9702
  "deleteCalendar",
9491
9703
  "deleteCalendarEvent",
9704
+ "deleteCalendarEventType",
9492
9705
  "deleteCalendarSchedule",
9493
9706
  "deleteChat",
9494
9707
  "deleteChatFilter",
@@ -9498,13 +9711,13 @@ var WORKSPACE_METHOD_NAMES = [
9498
9711
  "deleteConnection",
9499
9712
  "deleteCustomTool",
9500
9713
  "deleteCustomToolkit",
9714
+ "deleteDashboard",
9501
9715
  "deleteDataRecord",
9502
9716
  "deleteDataRecordFilter",
9503
9717
  "deleteDataType",
9504
9718
  "deleteDiscordBot",
9505
9719
  "deleteEnrollment",
9506
9720
  "deleteEventRule",
9507
- "deleteEventType",
9508
9721
  "deleteExperiment",
9509
9722
  "deleteExperimentAssignment",
9510
9723
  "deleteExperimentGroup",
@@ -9538,7 +9751,6 @@ var WORKSPACE_METHOD_NAMES = [
9538
9751
  "deleteScenario",
9539
9752
  "deleteSite",
9540
9753
  "deleteSlackApp",
9541
- "deleteSnippet",
9542
9754
  "deleteSupervisor",
9543
9755
  "deleteTask",
9544
9756
  "deleteTeamsApp",
@@ -9562,10 +9774,13 @@ var WORKSPACE_METHOD_NAMES = [
9562
9774
  "disconnectMondayConnection",
9563
9775
  "disconnectPresence",
9564
9776
  "disconnectSalesforce",
9777
+ "discordLinkPreflight",
9565
9778
  "discoverOAuthMetadata",
9566
9779
  "dismissAllNotifications",
9567
9780
  "dismissNotification",
9568
9781
  "downloadEmailAttachment",
9782
+ "downloadFilesZip",
9783
+ "downloadSiteSourceZip",
9569
9784
  "editWorkflowRevisionAsDraft",
9570
9785
  "enableConfluence",
9571
9786
  "enableCustomToolkit",
@@ -9582,9 +9797,11 @@ var WORKSPACE_METHOD_NAMES = [
9582
9797
  "exportChat",
9583
9798
  "exportChats",
9584
9799
  "exportMembers",
9800
+ "exportPhoneNumberOutboundAnalyticsCsv",
9585
9801
  "exportWorkspace",
9586
9802
  "fetchVoicemailAudio",
9587
9803
  "fhirBackfillEncounterSync",
9804
+ "fhirCheckPatientLinks",
9588
9805
  "fhirCreateEncounter",
9589
9806
  "fhirCsvImportApply",
9590
9807
  "fhirCsvImportInspect",
@@ -9635,15 +9852,15 @@ var WORKSPACE_METHOD_NAMES = [
9635
9852
  "getAvailableActions",
9636
9853
  "getAvailablePhoneNumbers",
9637
9854
  "getAvailableSlots",
9638
- "getBoardColumns",
9639
- "getBoardGroups",
9640
- "getBoards",
9641
9855
  "getBusinessHoursStatus",
9642
9856
  "getCalendar",
9643
9857
  "getCalendarEvent",
9858
+ "getCalendarEventType",
9859
+ "getCalendarEventTypes",
9644
9860
  "getCalendarEvents",
9645
9861
  "getCalendarSchedules",
9646
9862
  "getCalendars",
9863
+ "getCallRecordingDownloadUrl",
9647
9864
  "getCelContext",
9648
9865
  "getCharlestonTestDeliveryRecipients",
9649
9866
  "getChat",
@@ -9658,6 +9875,7 @@ var WORKSPACE_METHOD_NAMES = [
9658
9875
  "getChatLabelByUuid",
9659
9876
  "getChatLabels",
9660
9877
  "getChatMessages",
9878
+ "getChatModelOverride",
9661
9879
  "getChatPhoneCalls",
9662
9880
  "getChatSkills",
9663
9881
  "getChatTodos",
@@ -9667,6 +9885,7 @@ var WORKSPACE_METHOD_NAMES = [
9667
9885
  "getChats",
9668
9886
  "getChatsDailyCreationStats",
9669
9887
  "getChatsNeedsResponse",
9888
+ "getChildThreadMessages",
9670
9889
  "getClientWorkspace",
9671
9890
  "getConfluenceStatus",
9672
9891
  "getConnectionSyncCapabilities",
@@ -9674,9 +9893,12 @@ var WORKSPACE_METHOD_NAMES = [
9674
9893
  "getConnectionSyncConfig",
9675
9894
  "getCredentialUpdateInvites",
9676
9895
  "getCurrentMember",
9677
- "getCurrentUserInfo",
9678
9896
  "getCustomToolkit",
9679
9897
  "getCustomToolkits",
9898
+ "getDashboard",
9899
+ "getDashboardChannelStats",
9900
+ "getDashboardWorkflowAssignmentStats",
9901
+ "getDashboards",
9680
9902
  "getDataRecord",
9681
9903
  "getDataRecordChanges",
9682
9904
  "getDataRecordFilter",
@@ -9693,10 +9915,11 @@ var WORKSPACE_METHOD_NAMES = [
9693
9915
  "getDiscordBots",
9694
9916
  "getDiscordGuilds",
9695
9917
  "getDiscordThreads",
9918
+ "getDocumoFaxSetup",
9919
+ "listDocumoFaxes",
9920
+ "getDocumoFaxStatus",
9696
9921
  "getEventRule",
9697
9922
  "getEventRules",
9698
- "getEventType",
9699
- "getEventTypes",
9700
9923
  "getExperiment",
9701
9924
  "getExperimentStats",
9702
9925
  "getExperiments",
@@ -9705,6 +9928,26 @@ var WORKSPACE_METHOD_NAMES = [
9705
9928
  "getFhirConnections",
9706
9929
  "getFieldIndexStatus",
9707
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",
9708
9951
  "resolveFilePath",
9709
9952
  "getFileLabel",
9710
9953
  "getFileLabelByUuid",
@@ -9715,6 +9958,7 @@ var WORKSPACE_METHOD_NAMES = [
9715
9958
  "getFiles",
9716
9959
  "getFirstRunState",
9717
9960
  "getFolder",
9961
+ "getFolderMemberAccess",
9718
9962
  "getFolderSharing",
9719
9963
  "getFolders",
9720
9964
  "getGoogleCalendarStatus",
@@ -9736,6 +9980,7 @@ var WORKSPACE_METHOD_NAMES = [
9736
9980
  "getInboxThreads",
9737
9981
  "getInboxes",
9738
9982
  "getJourney",
9983
+ "getJourneyAuthoring",
9739
9984
  "getJourneyHealth",
9740
9985
  "getJourneyMembers",
9741
9986
  "getJourneyNotes",
@@ -9800,6 +10045,7 @@ var WORKSPACE_METHOD_NAMES = [
9800
10045
  "getPhoneCalls",
9801
10046
  "getPhoneNumber",
9802
10047
  "getPhoneNumberCalls",
10048
+ "getPhoneNumberFaxes",
9803
10049
  "getPhoneNumberMessages",
9804
10050
  "getPhoneNumberVoicemails",
9805
10051
  "getPhoneNumbers",
@@ -9837,7 +10083,6 @@ var WORKSPACE_METHOD_NAMES = [
9837
10083
  "getSlackApps",
9838
10084
  "getSlackInstallations",
9839
10085
  "getSlackThreads",
9840
- "getSnippet",
9841
10086
  "getStepMemberCounts",
9842
10087
  "getStepMembers",
9843
10088
  "getSupervisor",
@@ -9875,7 +10120,6 @@ var WORKSPACE_METHOD_NAMES = [
9875
10120
  "getWorkflowNotes",
9876
10121
  "getWorkflowRevision",
9877
10122
  "getWorkflowRevisions",
9878
- "getWorkflowRouteDryRun",
9879
10123
  "getWorkflowTaskAssignmentStats",
9880
10124
  "getWorkflowTemplates",
9881
10125
  "getWorkflowThumbnailUrl",
@@ -9905,6 +10149,7 @@ var WORKSPACE_METHOD_NAMES = [
9905
10149
  "initiateOutboundCall",
9906
10150
  "inspectPrompt",
9907
10151
  "installHubspot",
10152
+ "installDocumoFax",
9908
10153
  "installMondayConnection",
9909
10154
  "installSalesforce",
9910
10155
  "inviteMemberCredentialUpdate",
@@ -9923,6 +10168,10 @@ var WORKSPACE_METHOD_NAMES = [
9923
10168
  "listConfluencePages",
9924
10169
  "listConfluenceSpaces",
9925
10170
  "listConnectionMemberFieldKeys",
10171
+ "rollbackSiteSource",
10172
+ "rotateDocumoFaxCredentials",
10173
+ "runQuery",
10174
+ "sendMemberPhoneConfirmation",
9926
10175
  "setDefaultGooglePlatformAccount",
9927
10176
  "listFileVersions",
9928
10177
  "listGoogleCalendars",
@@ -9931,8 +10180,8 @@ var WORKSPACE_METHOD_NAMES = [
9931
10180
  "listHealthieProviders",
9932
10181
  "listPersonas",
9933
10182
  "listPushSubscriptions",
10183
+ "listSalesforceObjects",
9934
10184
  "listScenarios",
9935
- "listSnippets",
9936
10185
  "listTestChatRuns",
9937
10186
  "listWidgetDomains",
9938
10187
  "listWorkspaceInvitationsAdmin",
@@ -9955,7 +10204,6 @@ var WORKSPACE_METHOD_NAMES = [
9955
10204
  "reenrollMember",
9956
10205
  "registerLinkedRolesMetadata",
9957
10206
  "registerPushSubscription",
9958
- "registerSlashCommands",
9959
10207
  "reindexFolder",
9960
10208
  "releasePhoneNumber",
9961
10209
  "removeFileRole",
@@ -9964,6 +10212,7 @@ var WORKSPACE_METHOD_NAMES = [
9964
10212
  "reorderEventRules",
9965
10213
  "reorderMenuItems",
9966
10214
  "replyToEmail",
10215
+ "rotateDocumoFaxCredentials",
9967
10216
  "requestPhoneNumber",
9968
10217
  "requestWorkspaceMembership",
9969
10218
  "resetRoutineRuns",
@@ -10001,11 +10250,13 @@ var WORKSPACE_METHOD_NAMES = [
10001
10250
  "testMcpServerConnection",
10002
10251
  "testMondayConnection",
10003
10252
  "testRunJourney",
10253
+ "testWebhook",
10004
10254
  "toggleFieldIndex",
10005
10255
  "unarchiveAgent",
10006
10256
  "unarchiveChat",
10007
10257
  "unarchiveDataType",
10008
10258
  "unarchiveMember",
10259
+ "unarchiveStep",
10009
10260
  "unarchiveTask",
10010
10261
  "unarchiveWorkflow",
10011
10262
  "unenrollMembers",
@@ -10022,10 +10273,12 @@ var WORKSPACE_METHOD_NAMES = [
10022
10273
  "updateAssignment",
10023
10274
  "updateCalendar",
10024
10275
  "updateCalendarEvent",
10276
+ "updateCalendarEventType",
10025
10277
  "updateCalendarSchedule",
10026
10278
  "updateChat",
10027
10279
  "updateChatFilter",
10028
10280
  "updateChatLabel",
10281
+ "updateChatModelOverride",
10029
10282
  "updateChatMute",
10030
10283
  "updateChatNeedsResponse",
10031
10284
  "updateClientWorkspace",
@@ -10034,13 +10287,13 @@ var WORKSPACE_METHOD_NAMES = [
10034
10287
  "updateCurrentMember",
10035
10288
  "updateCustomTool",
10036
10289
  "updateCustomToolkit",
10290
+ "updateDashboard",
10037
10291
  "updateDataRecord",
10038
10292
  "updateDataRecordFilter",
10039
10293
  "updateDataType",
10040
10294
  "updateDiscordBot",
10041
10295
  "updateEventAttendee",
10042
10296
  "updateEventRule",
10043
- "updateEventType",
10044
10297
  "updateExperiment",
10045
10298
  "updateExperimentAssignment",
10046
10299
  "updateExperimentGroup",
@@ -10077,12 +10330,13 @@ var WORKSPACE_METHOD_NAMES = [
10077
10330
  "updateSalesforceSyncConfig",
10078
10331
  "updateScenario",
10079
10332
  "updateSite",
10333
+ "updateSiteSharing",
10080
10334
  "updateSlackApp",
10081
- "updateSnippet",
10082
10335
  "updateStep",
10083
10336
  "updateSupervisor",
10084
10337
  "updateTask",
10085
10338
  "updateTeamsApp",
10339
+ "updateThemeSettings",
10086
10340
  "uploadFile",
10087
10341
  "updateVoicemailStatus",
10088
10342
  "updateWorkflow",
@@ -10095,8 +10349,11 @@ var WORKSPACE_METHOD_NAMES = [
10095
10349
  "updateWorkspaceThemes",
10096
10350
  "upsertDataRecord",
10097
10351
  "upsertWidgetDomain",
10352
+ "validateCelExpression",
10098
10353
  "validateDataTypeSlug",
10099
- "validateWorkflowName"
10354
+ "validateQuery",
10355
+ "validateWorkflowName",
10356
+ "verifyDocumoFax"
10100
10357
  ];
10101
10358
  var WORKSPACE_METHOD_NAME_SET = new Set(WORKSPACE_METHOD_NAMES);
10102
10359
  function createWorkspaceClient(root, workspaceUuid) {
@@ -10191,6 +10448,7 @@ function bindChatsMethods(target, chats) {
10191
10448
  target.updateChatNeedsResponse = chats.updateChatNeedsResponse.bind(chats);
10192
10449
  target.summarizeChat = chats.summarizeChat.bind(chats);
10193
10450
  target.getChatMessages = chats.getChatMessages.bind(chats);
10451
+ target.getChildThreadMessages = chats.getChildThreadMessages.bind(chats);
10194
10452
  target.getChatToolCallMessages = chats.getChatToolCallMessages.bind(chats);
10195
10453
  target.getChatTools = chats.getChatTools.bind(chats);
10196
10454
  target.initiateOutboundCall = chats.initiateOutboundCall.bind(chats);
@@ -10229,6 +10487,7 @@ function bindCallsMethods(target, calls, cel) {
10229
10487
  target.listChatRecordings = calls.listChatRecordings.bind(calls);
10230
10488
  target.getCallRecordingDownloadUrl = calls.getCallRecordingDownloadUrl.bind(calls);
10231
10489
  target.getCelContext = cel.getCelContext.bind(cel);
10490
+ target.validateCelExpression = cel.validateCelExpression.bind(cel);
10232
10491
  }
10233
10492
 
10234
10493
  // src/client/bindings/dashboards.ts
@@ -10545,6 +10804,7 @@ function bindFilesMethods(target, files) {
10545
10804
  target.updateFileRoles = files.updateFileRoles.bind(files);
10546
10805
  target.removeFileRole = files.removeFileRole.bind(files);
10547
10806
  target.getFolderSharing = files.getFolderSharing.bind(files);
10807
+ target.getFolderMemberAccess = files.getFolderMemberAccess.bind(files);
10548
10808
  target.updateFolderRoles = files.updateFolderRoles.bind(files);
10549
10809
  target.removeFolderRole = files.removeFolderRole.bind(files);
10550
10810
  target.updateFileSharing = files.updateFileSharing.bind(files);
@@ -10701,6 +10961,7 @@ function bindCommunicationsMethods(target, phoneNumbers, inboxes, notificationRu
10701
10961
  target.getPhoneNumberOutboundAnalyticsCalls = phoneNumbers.getPhoneNumberOutboundAnalyticsCalls.bind(phoneNumbers);
10702
10962
  target.exportPhoneNumberOutboundAnalyticsCsv = phoneNumbers.exportPhoneNumberOutboundAnalyticsCsv.bind(phoneNumbers);
10703
10963
  target.getPhoneNumberMessages = phoneNumbers.getPhoneNumberMessages.bind(phoneNumbers);
10964
+ target.getPhoneNumberFaxes = phoneNumbers.getPhoneNumberFaxes.bind(phoneNumbers);
10704
10965
  target.getPhoneNumberVoicemails = phoneNumbers.getPhoneNumberVoicemails.bind(phoneNumbers);
10705
10966
  target.fetchVoicemailAudio = phoneNumbers.fetchVoicemailAudio.bind(phoneNumbers);
10706
10967
  target.updateVoicemailStatus = phoneNumbers.updateVoicemailStatus.bind(phoneNumbers);
@@ -10824,7 +11085,7 @@ function bindAppsMethods(target, apps, builders, inquiries, oauth, oauthConnecti
10824
11085
  }
10825
11086
 
10826
11087
  // src/client/bindings/integrations.ts
10827
- 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) {
10828
11089
  target.getMondayBoards = mondayIntegration.getBoards.bind(mondayIntegration);
10829
11090
  target.getMondayBoardColumns = mondayIntegration.getBoardColumns.bind(mondayIntegration);
10830
11091
  target.getMondayBoardGroups = mondayIntegration.getBoardGroups.bind(mondayIntegration);
@@ -10896,6 +11157,7 @@ function bindIntegrationsMethods(target, mondayIntegration, discordBots, slackAp
10896
11157
  target.fhirFetchEncounters = fhirConnections.fhirFetchEncounters.bind(fhirConnections);
10897
11158
  target.fhirCreateEncounter = fhirConnections.fhirCreateEncounter.bind(fhirConnections);
10898
11159
  target.fhirListLinkedMembers = fhirConnections.fhirListLinkedMembers.bind(fhirConnections);
11160
+ target.fhirCheckPatientLinks = fhirConnections.fhirCheckPatientLinks.bind(fhirConnections);
10899
11161
  target.fhirLinkMember = fhirConnections.fhirLinkMember.bind(fhirConnections);
10900
11162
  target.fhirUnlinkMember = fhirConnections.fhirUnlinkMember.bind(fhirConnections);
10901
11163
  target.fhirSyncMember = fhirConnections.fhirSyncMember.bind(fhirConnections);
@@ -10915,6 +11177,13 @@ function bindIntegrationsMethods(target, mondayIntegration, discordBots, slackAp
10915
11177
  target.configurePatientSync = patientSyncConnections.configurePatientSync.bind(patientSyncConnections);
10916
11178
  target.getPatientSyncStatus = patientSyncConnections.getPatientSyncStatus.bind(patientSyncConnections);
10917
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);
10918
11187
  target.configureHealthie = healthie.configureHealthie.bind(healthie);
10919
11188
  target.getHealthieStatus = healthie.getHealthieStatus.bind(healthie);
10920
11189
  target.listHealthieProviders = healthie.listHealthieProviders.bind(healthie);
@@ -10953,6 +11222,7 @@ function bindIntegrationsMethods(target, mondayIntegration, discordBots, slackAp
10953
11222
  target.getLinkedSalesforceMembers = salesforce.getLinkedSalesforceMembers.bind(salesforce);
10954
11223
  target.getSalesforceSyncConfig = salesforce.getSalesforceSyncConfig.bind(salesforce);
10955
11224
  target.updateSalesforceSyncConfig = salesforce.updateSalesforceSyncConfig.bind(salesforce);
11225
+ target.listSalesforceObjects = salesforce.listSalesforceObjects.bind(salesforce);
10956
11226
  target.describeSalesforceObject = salesforce.describeSalesforceObject.bind(salesforce);
10957
11227
  target.searchSalesforceRecords = salesforce.searchSalesforceRecords.bind(salesforce);
10958
11228
  target.importSalesforceMembers = salesforce.importSalesforceMembers.bind(salesforce);
@@ -11054,6 +11324,7 @@ function bindPronunciationsMethods(target, pronunciations) {
11054
11324
  function bindJourneysMethods(target, journeys) {
11055
11325
  target.getJourneys = journeys.getJourneys.bind(journeys);
11056
11326
  target.getJourney = journeys.getJourney.bind(journeys);
11327
+ target.getJourneyAuthoring = journeys.getJourneyAuthoring.bind(journeys);
11057
11328
  target.getJourneyHealth = journeys.getJourneyHealth.bind(journeys);
11058
11329
  target.createJourney = journeys.createJourney.bind(journeys);
11059
11330
  target.updateJourney = journeys.updateJourney.bind(journeys);
@@ -11061,6 +11332,7 @@ function bindJourneysMethods(target, journeys) {
11061
11332
  target.createStep = journeys.createStep.bind(journeys);
11062
11333
  target.updateStep = journeys.updateStep.bind(journeys);
11063
11334
  target.archiveStep = journeys.archiveStep.bind(journeys);
11335
+ target.unarchiveStep = journeys.unarchiveStep.bind(journeys);
11064
11336
  target.createConnection = journeys.createConnection.bind(journeys);
11065
11337
  target.updateConnection = journeys.updateConnection.bind(journeys);
11066
11338
  target.deleteConnection = journeys.deleteConnection.bind(journeys);
@@ -11214,6 +11486,7 @@ var GravityRailClient = class {
11214
11486
  updateChatNeedsResponse;
11215
11487
  summarizeChat;
11216
11488
  getChatMessages;
11489
+ getChildThreadMessages;
11217
11490
  getChatToolCallMessages;
11218
11491
  getChatTools;
11219
11492
  initiateOutboundCall;
@@ -11249,6 +11522,7 @@ var GravityRailClient = class {
11249
11522
  listChatRecordings;
11250
11523
  getCallRecordingDownloadUrl;
11251
11524
  getCelContext;
11525
+ validateCelExpression;
11252
11526
  // Data Types API
11253
11527
  getDataTypes;
11254
11528
  getDataType;
@@ -11387,6 +11661,7 @@ var GravityRailClient = class {
11387
11661
  // Journeys API
11388
11662
  getJourneys;
11389
11663
  getJourney;
11664
+ getJourneyAuthoring;
11390
11665
  getJourneyHealth;
11391
11666
  createJourney;
11392
11667
  updateJourney;
@@ -11394,6 +11669,7 @@ var GravityRailClient = class {
11394
11669
  createStep;
11395
11670
  updateStep;
11396
11671
  archiveStep;
11672
+ unarchiveStep;
11397
11673
  createConnection;
11398
11674
  updateConnection;
11399
11675
  deleteConnection;
@@ -11674,6 +11950,7 @@ var GravityRailClient = class {
11674
11950
  updateFileRoles;
11675
11951
  removeFileRole;
11676
11952
  getFolderSharing;
11953
+ getFolderMemberAccess;
11677
11954
  updateFolderRoles;
11678
11955
  removeFolderRole;
11679
11956
  updateFileSharing;
@@ -11802,6 +12079,7 @@ var GravityRailClient = class {
11802
12079
  getPhoneNumberOutboundAnalyticsCalls;
11803
12080
  exportPhoneNumberOutboundAnalyticsCsv;
11804
12081
  getPhoneNumberMessages;
12082
+ getPhoneNumberFaxes;
11805
12083
  getPhoneNumberVoicemails;
11806
12084
  fetchVoicemailAudio;
11807
12085
  updateVoicemailStatus;
@@ -11990,6 +12268,7 @@ var GravityRailClient = class {
11990
12268
  fhirFetchEncounters;
11991
12269
  fhirCreateEncounter;
11992
12270
  fhirListLinkedMembers;
12271
+ fhirCheckPatientLinks;
11993
12272
  fhirLinkMember;
11994
12273
  fhirUnlinkMember;
11995
12274
  fhirSyncMember;
@@ -12007,6 +12286,13 @@ var GravityRailClient = class {
12007
12286
  fhirRefreshEncounterPatient;
12008
12287
  fhirBackfillEncounterSync;
12009
12288
  // Healthie API
12289
+ getDocumoFaxStatus;
12290
+ getDocumoFaxSetup;
12291
+ listDocumoFaxes;
12292
+ installDocumoFax;
12293
+ configureDocumoFax;
12294
+ verifyDocumoFax;
12295
+ rotateDocumoFaxCredentials;
12010
12296
  configurePatientSync;
12011
12297
  getPatientSyncStatus;
12012
12298
  deletePatientSyncConnection;
@@ -12050,6 +12336,7 @@ var GravityRailClient = class {
12050
12336
  getLinkedSalesforceMembers;
12051
12337
  getSalesforceSyncConfig;
12052
12338
  updateSalesforceSyncConfig;
12339
+ listSalesforceObjects;
12053
12340
  describeSalesforceObject;
12054
12341
  searchSalesforceRecords;
12055
12342
  importSalesforceMembers;
@@ -12200,6 +12487,7 @@ var GravityRailClient = class {
12200
12487
  apis.fhirConnections,
12201
12488
  apis.patientSyncConnections,
12202
12489
  apis.healthie,
12490
+ apis.documoFax,
12203
12491
  apis.salesforce,
12204
12492
  apis.hubspot,
12205
12493
  apis.appConnections,
@@ -12693,18 +12981,19 @@ var MemberLabelBuilder = class extends WorkspaceBuilderResource {
12693
12981
 
12694
12982
  // src/workspace-builder/journeys.ts
12695
12983
  var JourneyStepBuilder = class extends WorkspaceBuilderResource {
12696
- constructor(name, journey, order = 0, workflow, description = "") {
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 = "") {
12697
12988
  super();
12698
12989
  this.name = name;
12699
12990
  this.journey = journey;
12700
12991
  this.order = order;
12701
- this.workflow = workflow;
12702
12992
  this.description = description;
12703
12993
  }
12704
12994
  name;
12705
12995
  journey;
12706
12996
  order;
12707
- workflow;
12708
12997
  description;
12709
12998
  connections = [];
12710
12999
  connectsTo(child, condition, required = false, timeoutSeconds) {
@@ -12712,15 +13001,14 @@ var JourneyStepBuilder = class extends WorkspaceBuilderResource {
12712
13001
  return this;
12713
13002
  }
12714
13003
  planLine() {
12715
- return `Step: ${this.name}${this.workflow ? ` -> workflow '${this.workflow.name}'` : ""}`;
13004
+ return `Step: ${this.name}`;
12716
13005
  }
12717
13006
  async apply(client) {
12718
13007
  if (this.journey._id === void 0) return;
12719
13008
  const payload = {
12720
13009
  name: this.name,
12721
13010
  description: this.description,
12722
- order: this.order,
12723
- ...this.workflow?._id ? { workflowId: this.workflow._id } : {}
13011
+ order: this.order
12724
13012
  };
12725
13013
  const result = await client.createStep(this.journey._id, payload);
12726
13014
  this._id = result.id;
@@ -12743,7 +13031,6 @@ var JourneyBuilder = class extends WorkspaceBuilderResource {
12743
13031
  name,
12744
13032
  this,
12745
13033
  options.order ?? 0,
12746
- options.workflow,
12747
13034
  options.description ?? ""
12748
13035
  );
12749
13036
  this.steps.push(step);
@@ -13660,6 +13947,7 @@ var AbilityTypeSlugs = {
13660
13947
  GMAIL: "integration:gmail",
13661
13948
  GOOGLE_CALENDAR: "integration:google_calendar",
13662
13949
  GOOGLE_DRIVE: "integration:google_drive",
13950
+ GOOGLE_SHEETS: "integration:google_sheets",
13663
13951
  CHARLESTON_PMD_PAGING: "integration:charleston_pmd_paging",
13664
13952
  // Communication
13665
13953
  PHONE_CALL_TOOLS: "communication:phone_call_tools",
@@ -13729,6 +14017,14 @@ var SMS_DELIVERY_FAILURE_STATUSES = /* @__PURE__ */ new Set([
13729
14017
  function isSMSDeliveryFailureStatus(status) {
13730
14018
  return status != null && SMS_DELIVERY_FAILURE_STATUSES.has(status);
13731
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
+ }
13732
14028
  var POSITIVE_RATING_THRESHOLD = 0.5;
13733
14029
  function isPositiveRating(rating) {
13734
14030
  return rating != null && rating >= POSITIVE_RATING_THRESHOLD;
@@ -14774,6 +15070,7 @@ function getRevisionState(workflow, revision) {
14774
15070
  }
14775
15071
  // Annotate the CommonJS export names for ESM import in node:
14776
15072
  0 && (module.exports = {
15073
+ AGENT_NOTE_ORIGINS,
14777
15074
  AbilityConfigIssueCode,
14778
15075
  AbilityConfigIssueSeverity,
14779
15076
  AbilityTypeSlugs,
@@ -14824,6 +15121,7 @@ function getRevisionState(workflow, revision) {
14824
15121
  FhirVendor,
14825
15122
  FormBuilder,
14826
15123
  GravityRailClient,
15124
+ InboundFaxStatusValues,
14827
15125
  IndexStatus,
14828
15126
  InvitationStatus,
14829
15127
  JobPosition,
@@ -14928,11 +15226,13 @@ function getRevisionState(workflow, revision) {
14928
15226
  getTTSProvider,
14929
15227
  getVoiceModelId,
14930
15228
  initializeFeatures,
15229
+ isAgentNoteOrigin,
14931
15230
  isChatType,
14932
15231
  isFeatureAvailable,
14933
15232
  isPositiveRating,
14934
15233
  isRegistryInitialized,
14935
15234
  isSMSDeliveryFailureStatus,
15235
+ parseOrgAuthChallenge,
14936
15236
  requiresAssistantParticipant,
14937
15237
  runWorkspaceScript,
14938
15238
  usesBuiltinAssistant,