@gravity-rail/sdk 8.1.0 → 9.0.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 (51) hide show
  1. package/README.md +2 -3
  2. package/dist/{agent_standing_job-CaD7wjGr.d.cts → agent_team-CeErHy0t.d.ts} +846 -110
  3. package/dist/{agent_standing_job-DMLbDOjP.d.ts → agent_team-J0TyZPkg.d.cts} +846 -110
  4. package/dist/{chunk-MVWCWWRQ.js → chunk-AMJ2MMBM.js} +504 -477
  5. package/dist/chunk-AMJ2MMBM.js.map +1 -0
  6. package/dist/{chunk-IIIRXFKG.js → chunk-MWTQXZGB.js} +1 -1
  7. package/dist/chunk-MWTQXZGB.js.map +1 -0
  8. package/dist/{chunk-6KPGCPGW.js → chunk-ZJJDZUAK.js} +40 -1
  9. package/dist/chunk-ZJJDZUAK.js.map +1 -0
  10. package/dist/{chat-interaction-_mKOHRYc.d.cts → client-CO1hYs43.d.cts} +2732 -1354
  11. package/dist/{chat-interaction-exmrd2jl.d.ts → client-xtsG-YOi.d.ts} +2732 -1354
  12. package/dist/helpers.cjs +41 -0
  13. package/dist/helpers.cjs.map +1 -1
  14. package/dist/helpers.d.cts +2 -2
  15. package/dist/helpers.d.ts +2 -2
  16. package/dist/helpers.js +5 -1
  17. package/dist/helpers.js.map +1 -1
  18. package/dist/index.cjs +548 -555
  19. package/dist/index.cjs.map +1 -1
  20. package/dist/index.d.cts +7 -23
  21. package/dist/index.d.ts +7 -23
  22. package/dist/index.js +14 -84
  23. package/dist/index.js.map +1 -1
  24. package/dist/internal.cjs +512 -482
  25. package/dist/internal.cjs.map +1 -1
  26. package/dist/internal.d.cts +775 -927
  27. package/dist/internal.d.ts +775 -927
  28. package/dist/internal.js +14 -11
  29. package/dist/internal.js.map +1 -1
  30. package/dist/member-import-CzGVMtgv.d.cts +92 -0
  31. package/dist/member-import-q5-fCvfV.d.ts +92 -0
  32. package/dist/realtime.cjs +109 -54
  33. package/dist/realtime.cjs.map +1 -1
  34. package/dist/realtime.d.cts +7 -2
  35. package/dist/realtime.d.ts +7 -2
  36. package/dist/realtime.js +109 -54
  37. package/dist/realtime.js.map +1 -1
  38. package/dist/schemas.cjs +24 -6
  39. package/dist/schemas.cjs.map +1 -1
  40. package/dist/schemas.d.cts +54 -40
  41. package/dist/schemas.d.ts +54 -40
  42. package/dist/schemas.js +24 -7
  43. package/dist/schemas.js.map +1 -1
  44. package/dist/{tasks-BTURuIlD.d.cts → tasks-BM3pb5W6.d.cts} +67 -904
  45. package/dist/{tasks-2LhXIwL8.d.ts → tasks-Dc89D2Gu.d.ts} +67 -904
  46. package/package.json +3 -3
  47. package/dist/chunk-6KPGCPGW.js.map +0 -1
  48. package/dist/chunk-IIIRXFKG.js.map +0 -1
  49. package/dist/chunk-MVWCWWRQ.js.map +0 -1
  50. package/dist/member-import-4VSE3yYo.d.cts +0 -46
  51. package/dist/member-import-BQDFoSyf.d.ts +0 -46
@@ -547,8 +547,6 @@ var AgentTasksApi = class extends BaseApiClient {
547
547
  async getAgentTasks(wid, params) {
548
548
  const searchParams = new URLSearchParams();
549
549
  if (params?.status) searchParams.set("status", params.status);
550
- if (params?.agentMemberId != null)
551
- searchParams.set("agent_member_id", String(params.agentMemberId));
552
550
  if (params?.parentTaskId != null)
553
551
  searchParams.set("parent_task_id", String(params.parentTaskId));
554
552
  if (params?.limit != null) searchParams.set("limit", String(params.limit));
@@ -573,82 +571,6 @@ var AgentTasksApi = class extends BaseApiClient {
573
571
  }
574
572
  };
575
573
 
576
- // src/api/agents.ts
577
- var AgentsApi = class extends BaseApiClient {
578
- orgAgentJobsPath(orgUuid, agentUuid) {
579
- return `o/${encodeURIComponent(orgUuid)}/agents/${encodeURIComponent(agentUuid)}/jobs`;
580
- }
581
- /** List the current organization's teammate's operational Agent Jobs. */
582
- async getOrgAgentJobs(orgUuid, agentUuid, options = {}) {
583
- const params = new URLSearchParams();
584
- if (options.before) params.set("before", options.before);
585
- if (options.limit !== void 0) params.set("limit", String(options.limit));
586
- if (options.status) params.set("status", options.status);
587
- const search = params.toString();
588
- return this.fetch(
589
- `${this.orgAgentJobsPath(orgUuid, agentUuid)}${search ? `?${search}` : ""}`
590
- );
591
- }
592
- /** Stop one of the current teammate's Jobs and its active descendants. */
593
- async stopOrgAgentJob(orgUuid, agentUuid, jobUuid) {
594
- return this.fetch(
595
- `${this.orgAgentJobsPath(orgUuid, agentUuid)}/${encodeURIComponent(jobUuid)}/stop`,
596
- { method: "POST", body: JSON.stringify({}) }
597
- );
598
- }
599
- /** List agents in a workspace with optional pagination, sorting, and search. */
600
- async getAgents(wid, options = {}) {
601
- const params = new URLSearchParams();
602
- if (options.page) params.append("page", options.page.toString());
603
- if (options.pageSize) params.append("pageSize", options.pageSize.toString());
604
- if (options.sortBy) params.append("sortBy", options.sortBy);
605
- if (options.sortOrder) params.append("sortOrder", options.sortOrder);
606
- if (options.search) params.append("search", options.search);
607
- if (options.includeArchived)
608
- params.append("includeArchived", options.includeArchived.toString());
609
- return this.fetch(
610
- `w/${wid}/agents${params.toString() ? `?${params.toString()}` : ""}`
611
- );
612
- }
613
- /** Get a single agent by ID. */
614
- async getAgent(wid, id) {
615
- return this.fetch(`w/${wid}/agents/${id}`);
616
- }
617
- /** Create a new agent in a workspace. */
618
- async createAgent(wid, agent) {
619
- return this.fetch(`w/${wid}/agents`, {
620
- method: "POST",
621
- body: JSON.stringify(agent)
622
- });
623
- }
624
- /** Update an existing agent. */
625
- async updateAgent(wid, id, agent) {
626
- return this.fetch(`w/${wid}/agents/${id}`, {
627
- method: "PUT",
628
- body: JSON.stringify(agent)
629
- });
630
- }
631
- /** Delete an agent by ID, optionally forcing deletion of agents with active references. */
632
- async deleteAgent(wid, id, force) {
633
- const params = force ? "?force=true" : "";
634
- return this.fetch(`w/${wid}/agents/${id}${params}`, {
635
- method: "DELETE"
636
- });
637
- }
638
- /** Archive an agent, hiding it from default listings. */
639
- async archiveAgent(wid, id) {
640
- return this.fetch(`w/${wid}/agents/${id}/archive`, {
641
- method: "POST"
642
- });
643
- }
644
- /** Restore an archived agent back to active status. */
645
- async unarchiveAgent(wid, id) {
646
- return this.fetch(`w/${wid}/agents/${id}/unarchive`, {
647
- method: "POST"
648
- });
649
- }
650
- };
651
-
652
574
  // src/api/ai-models.ts
653
575
  var AIModelsApi = class extends BaseApiClient {
654
576
  /**
@@ -966,7 +888,7 @@ var AssignmentsApi = class extends BaseApiClient {
966
888
  var VoiceApi = class extends BaseApiClient {
967
889
  /** Generate a text-to-speech audio preview for a given voice model. */
968
890
  async previewTTS(wid, request) {
969
- const response = await this.fetchRaw(`w/${wid}/agents/tts-preview`, {
891
+ const response = await this.fetchRaw(`w/${wid}/voice/tts-preview`, {
970
892
  method: "POST",
971
893
  headers: {
972
894
  "Content-Type": "application/json"
@@ -977,7 +899,7 @@ var VoiceApi = class extends BaseApiClient {
977
899
  }
978
900
  /** Generate a thinking sound audio preview. */
979
901
  async previewThinkingSound(wid, request) {
980
- const response = await this.fetchRaw(`w/${wid}/agents/thinking-sound-preview`, {
902
+ const response = await this.fetchRaw(`w/${wid}/voice/thinking-sound-preview`, {
981
903
  method: "POST",
982
904
  headers: {
983
905
  "Content-Type": "application/json"
@@ -1917,6 +1839,29 @@ var ChatsApi = class extends BaseApiClient {
1917
1839
  `w/${wid}/chats${queryString ? `?${queryString}` : ""}`
1918
1840
  );
1919
1841
  }
1842
+ /**
1843
+ * Chats across the Workspaces an Operator Tools widget session signed in
1844
+ * for this organization shows, in queue order: waiting Chats first, longest
1845
+ * wait first, then the rest by most recent message. Each row names its
1846
+ * Workspace. `requiredScopes` leaves out every Workspace where the caller
1847
+ * lacks one of the view's scopes. Answers only to a widget session.
1848
+ */
1849
+ async queryOrgChats(orgUuid, request) {
1850
+ return this.fetch(`o/${orgUuid}/chats/query`, {
1851
+ method: "POST",
1852
+ body: JSON.stringify({ ...request, countOnly: false })
1853
+ });
1854
+ }
1855
+ /**
1856
+ * How many Chats match the same organization read, without returning any
1857
+ * Chat, Workspace or Member. Answers only to a widget session.
1858
+ */
1859
+ async countOrgChats(orgUuid, request) {
1860
+ return this.fetch(`o/${orgUuid}/chats/query`, {
1861
+ method: "POST",
1862
+ body: JSON.stringify({ ...request, countOnly: true })
1863
+ });
1864
+ }
1920
1865
  /** Export multiple chats as a downloadable blob. */
1921
1866
  async exportChats(wid, options = {}) {
1922
1867
  const params = this.buildChatsQueryParams(options, false);
@@ -2135,11 +2080,9 @@ var ChatsApi = class extends BaseApiClient {
2135
2080
  }
2136
2081
  /** Create a new chat. */
2137
2082
  async createChat(wid, chat) {
2138
- const { agentMemberId, ...rest } = chat;
2139
- const payload = agentMemberId !== void 0 && rest.assistantMemberId === void 0 ? { ...rest, assistantMemberId: agentMemberId } : rest;
2140
2083
  return this.fetch(`w/${wid}/chats`, {
2141
2084
  method: "POST",
2142
- body: JSON.stringify(payload)
2085
+ body: JSON.stringify(chat)
2143
2086
  });
2144
2087
  }
2145
2088
  /**
@@ -3080,7 +3023,6 @@ var SlackAppsApi = class extends BaseApiClient {
3080
3023
  if (options.sortBy) params.append("sortBy", options.sortBy);
3081
3024
  if (options.sortOrder) params.append("sortOrder", options.sortOrder);
3082
3025
  if (options.search) params.append("search", options.search);
3083
- if (options.agentId !== void 0) params.set("agentId", String(options.agentId));
3084
3026
  if (options.workflowId !== void 0) params.set("workflowId", String(options.workflowId));
3085
3027
  if (options.managed !== void 0) params.set("managed", String(options.managed));
3086
3028
  return this.fetch(
@@ -3277,8 +3219,6 @@ var EventsApi = class extends BaseApiClient {
3277
3219
  if (options.sortOrder) params.append("sortOrder", options.sortOrder);
3278
3220
  if (options.owner) params.append("owner", options.owner);
3279
3221
  if (options.ownerId) params.append("ownerId", options.ownerId.toString());
3280
- if (options.agentId) params.append("agentId", options.agentId.toString());
3281
- if (options.agentOnly) params.append("agentOnly", "true");
3282
3222
  return this.fetch(
3283
3223
  `w/${wid}/routines${params.toString() ? `?${params.toString()}` : ""}`
3284
3224
  );
@@ -4282,6 +4222,16 @@ var InboxesApi = class extends BaseApiClient {
4282
4222
  async getInbox(wid, id) {
4283
4223
  return this.fetch(`w/${wid}/inboxes/${id}`);
4284
4224
  }
4225
+ /**
4226
+ * List the Inboxes a new email Chat can be sent from (`chats:write`).
4227
+ *
4228
+ * Only Inboxes the Member can see that can send now, as `id`, `name` and
4229
+ * `emailAddress`. `POST /chats` refuses an `inboxId` this list would not
4230
+ * offer.
4231
+ */
4232
+ async getChatSenderInboxes(wid) {
4233
+ return this.fetch(`w/${wid}/inboxes/chat-senders`);
4234
+ }
4285
4235
  /** Create a new inbox. */
4286
4236
  async createInbox(wid, inbox) {
4287
4237
  return this.fetch(`w/${wid}/inboxes`, {
@@ -4949,6 +4899,17 @@ var MembersApi = class extends BaseApiClient {
4949
4899
  `o/${orgUuid}/activity/workspaces/${workspaceUuid}/members/${memberId}`
4950
4900
  );
4951
4901
  }
4902
+ /**
4903
+ * Members across the Workspaces an Operator Tools widget session signed in
4904
+ * for this organization shows, up to 20, each naming its Workspace. The
4905
+ * search text travels in the body. Answers only to a widget session.
4906
+ */
4907
+ async searchOrgWorkspaceMembers(orgUuid, request) {
4908
+ return this.fetch(
4909
+ `o/${orgUuid}/workspace-members/search`,
4910
+ { method: "POST", body: JSON.stringify(request) }
4911
+ );
4912
+ }
4952
4913
  /** Create a new workspace member. */
4953
4914
  async createWorkspaceMember(wid, data) {
4954
4915
  return this.fetch(`w/${wid}/members`, {
@@ -5842,14 +5803,25 @@ var NotificationRulesApi = class extends BaseApiClient {
5842
5803
  });
5843
5804
  }
5844
5805
  /**
5845
- * Approved, available shared destinations (Teams channels) a notification
5846
- * rule or Action may name. Choosing one never grants approval.
5806
+ * Approved, available shared destinations (Teams and Slack channels) a
5807
+ * notification rule or Action may name. Choosing one never grants approval.
5847
5808
  */
5848
5809
  async getNotificationDestinations(wid) {
5849
5810
  return this.fetch(
5850
5811
  `w/${wid}/notification-destinations`
5851
5812
  );
5852
5813
  }
5814
+ /**
5815
+ * The organization Bot connection that delivers this workspace's
5816
+ * notifications on one provider (`teams` or `slack`), the connections it
5817
+ * may choose, and the caller's own readiness. Reads only; nothing is sent
5818
+ * to the provider.
5819
+ */
5820
+ async getNotificationDelivery(wid, provider) {
5821
+ return this.fetch(
5822
+ `w/${wid}/notification-delivery/${provider}`
5823
+ );
5824
+ }
5853
5825
  /** Delete a notification rule. */
5854
5826
  async deleteNotificationRule(wid, ruleId) {
5855
5827
  return this.fetch(`w/${wid}/notification-rules/${ruleId}`, {
@@ -5916,11 +5888,16 @@ var OperatorApi = class extends BaseApiClient {
5916
5888
  `w/${wid}/operator/chats/${chatId}/messages?limit=${limit}&offset=${offset}`
5917
5889
  );
5918
5890
  }
5919
- /** Send a message in an operator chat. */
5920
- async sendOperatorMessage(wid, chatId, content) {
5891
+ /**
5892
+ * Send a message in an operator chat.
5893
+ *
5894
+ * `subject` applies to an email Chat only: required while the Chat holds no
5895
+ * linked Email (`operatorReplyNeedsSubject`), refused once it holds one.
5896
+ */
5897
+ async sendOperatorMessage(wid, chatId, content, subject) {
5921
5898
  return this.fetch(`w/${wid}/operator/chats/${chatId}/messages`, {
5922
5899
  method: "POST",
5923
- body: JSON.stringify({ content })
5900
+ body: JSON.stringify(subject === void 0 ? { content } : { content, subject })
5924
5901
  });
5925
5902
  }
5926
5903
  };
@@ -6731,6 +6708,35 @@ var OrgApi = class extends BaseApiClient {
6731
6708
  async getLegalEntity(orgUuid, legalEntityUuid) {
6732
6709
  return this.fetch(`o/${orgUuid}/legal-entities/${legalEntityUuid}`);
6733
6710
  }
6711
+ /** The columns a business CSV import reads, and the row and size limits on its file. */
6712
+ async getBusinessImportColumns(orgUuid) {
6713
+ return this.fetch(
6714
+ `o/${orgUuid}/legal-entities/import/columns`
6715
+ );
6716
+ }
6717
+ /** The business import template: CSV text whose only row is the header. */
6718
+ async getBusinessImportTemplate(orgUuid) {
6719
+ const response = await this.fetchRaw(`o/${orgUuid}/legal-entities/import/template`);
6720
+ return response.text();
6721
+ }
6722
+ /** Classify each row of a business CSV without writing; returns the token its import needs. */
6723
+ async previewBusinessImport(orgUuid, file) {
6724
+ return this.fetch(
6725
+ `o/${orgUuid}/legal-entities/import/preview`,
6726
+ { method: "POST", body: businessImportUpload(file) }
6727
+ );
6728
+ }
6729
+ /** Import a business CSV; without a `previewPlanToken` it previews the file first. */
6730
+ async importBusinesses(orgUuid, file, previewPlanToken) {
6731
+ const token = previewPlanToken ?? (await this.previewBusinessImport(orgUuid, file)).previewPlanToken;
6732
+ if (!token) throw new Error("The business import preview returned no plan token");
6733
+ const body = businessImportUpload(file);
6734
+ body.append("previewPlanToken", token);
6735
+ return this.fetch(`o/${orgUuid}/legal-entities/import`, {
6736
+ method: "POST",
6737
+ body
6738
+ });
6739
+ }
6734
6740
  /**
6735
6741
  * Read one registration draft for a legal entity.
6736
6742
  *
@@ -7278,10 +7284,41 @@ var OrgApi = class extends BaseApiClient {
7278
7284
  function businessProfilePath(orgUuid, legalEntityUuid) {
7279
7285
  return legalEntityUuid ? `o/${orgUuid}/legal-entities/${legalEntityUuid}/business-profile` : `o/${orgUuid}/business-profile`;
7280
7286
  }
7287
+ function businessImportUpload(file) {
7288
+ const body = new FormData();
7289
+ const name = "name" in file && typeof file.name === "string" ? file.name : "businesses.csv";
7290
+ body.append("file", file, name);
7291
+ return body;
7292
+ }
7281
7293
  function campaignQuery(options) {
7282
7294
  return options?.campaignUuid ? `?campaignUuid=${encodeURIComponent(options.campaignUuid)}` : "";
7283
7295
  }
7284
7296
 
7297
+ // src/api/bot-jobs.ts
7298
+ var BotJobsApi = class extends BaseApiClient {
7299
+ botJobsPath(orgUuid, agentUuid) {
7300
+ return `o/${encodeURIComponent(orgUuid)}/agents/${encodeURIComponent(agentUuid)}/jobs`;
7301
+ }
7302
+ /** List the organization Bot's operational Jobs. */
7303
+ async getBotJobs(orgUuid, agentUuid, options = {}) {
7304
+ const params = new URLSearchParams();
7305
+ if (options.before) params.set("before", options.before);
7306
+ if (options.limit !== void 0) params.set("limit", String(options.limit));
7307
+ if (options.status) params.set("status", options.status);
7308
+ const search = params.toString();
7309
+ return this.fetch(
7310
+ `${this.botJobsPath(orgUuid, agentUuid)}${search ? `?${search}` : ""}`
7311
+ );
7312
+ }
7313
+ /** Stop one of the organization Bot's Jobs and its active descendants. */
7314
+ async stopBotJob(orgUuid, agentUuid, jobUuid) {
7315
+ return this.fetch(
7316
+ `${this.botJobsPath(orgUuid, agentUuid)}/${encodeURIComponent(jobUuid)}/stop`,
7317
+ { method: "POST", body: JSON.stringify({}) }
7318
+ );
7319
+ }
7320
+ };
7321
+
7285
7322
  // src/api/oauth.ts
7286
7323
  function getOAuthPath(providerSlug, action) {
7287
7324
  if (providerSlug === "google_calendar") {
@@ -7427,9 +7464,10 @@ var PhoneNumbersApi = class extends BaseApiClient {
7427
7464
  * The numbers a Chat can be started from, for a Member with `chats:write`.
7428
7465
  *
7429
7466
  * Every non-archived workspace number in a slim shape (`id`, `number`,
7430
- * `name`, `isMapped`, `enableWhatsApp`) — no phone administration data, so
7431
- * it needs no `phones:read`. A row describes configuration, not permission
7432
- * to send.
7467
+ * `name`, `isMapped`, `enableWhatsApp`, `isWorkspaceDefault`, and whether
7468
+ * it can send SMS now, `canSendSms`, or place a call now, `canPlaceCall`)
7469
+ * — no phone administration data, so it needs no `phones:read`. A row
7470
+ * describes the number, not permission to send.
7433
7471
  */
7434
7472
  async getChatPhoneNumbers(wid) {
7435
7473
  return this.fetch(`w/${wid}/phone-numbers/chat-senders`);
@@ -8862,6 +8900,12 @@ var HubspotApi = class extends BaseApiClient {
8862
8900
  `w/${wid}/app-connections/hubspot/sync-settings/hs-properties?objectType=deals`
8863
8901
  );
8864
8902
  }
8903
+ /** The portal's active deal pipelines with their active stages. */
8904
+ async getHubspotDealPipelines(wid) {
8905
+ return this.fetch(
8906
+ `w/${wid}/app-connections/hubspot/sync-settings/deal-pipelines`
8907
+ );
8908
+ }
8865
8909
  /** The portal's Meetings booking links, or `missing_scope` without the scheduler scope. */
8866
8910
  async getHubspotMeetingLinks(wid) {
8867
8911
  return this.fetch(
@@ -9078,15 +9122,21 @@ var SitesApi = class extends BaseApiClient {
9078
9122
  /**
9079
9123
  * Get a theme's settings schema, the site's saved values, and capabilities.
9080
9124
  * Pass `theme` to resolve the schema for a theme other than the saved one
9081
- * (e.g. one the builder has selected but not yet saved).
9125
+ * (e.g. one the builder has selected but not yet saved). Pass `resolved: true` to
9126
+ * also receive `resolvedValues`, the saved theme's values as its render resolves them.
9082
9127
  */
9083
- async getThemeSettings(wid, siteId, theme) {
9084
- const query2 = theme ? `?theme=${encodeURIComponent(theme)}` : "";
9128
+ async getThemeSettings(wid, siteId, theme, options) {
9129
+ const params = new URLSearchParams();
9130
+ if (theme) params.set("theme", theme);
9131
+ if (options?.resolved) params.set("resolved", "true");
9132
+ const search = params.toString();
9133
+ const query2 = search ? `?${search}` : "";
9085
9134
  return this.fetch(`w/${wid}/sites/${siteId}/theme-settings${query2}`);
9086
9135
  }
9087
- /** Save values for the active theme's settings (validated against the schema). */
9088
- async updateThemeSettings(wid, siteId, values) {
9089
- return this.fetch(`w/${wid}/sites/${siteId}/theme-settings`, {
9136
+ /** Save values for the active theme's settings (validated against the schema). Pass `resolved: true` to also receive `resolvedValues`. */
9137
+ async updateThemeSettings(wid, siteId, values, options) {
9138
+ const query2 = options?.resolved ? "?resolved=true" : "";
9139
+ return this.fetch(`w/${wid}/sites/${siteId}/theme-settings${query2}`, {
9090
9140
  method: "PUT",
9091
9141
  body: JSON.stringify({ values })
9092
9142
  });
@@ -10988,7 +11038,6 @@ var MemberType = /* @__PURE__ */ ((MemberType2) => {
10988
11038
  MemberType2["ANONYMOUS"] = "anonymous";
10989
11039
  MemberType2["TEST"] = "test";
10990
11040
  MemberType2["MEMBER"] = "member";
10991
- MemberType2["AGENT"] = "agent";
10992
11041
  MemberType2["BUSINESS"] = "business";
10993
11042
  return MemberType2;
10994
11043
  })(MemberType || {});
@@ -11117,6 +11166,8 @@ var EventRuleActionType = /* @__PURE__ */ ((EventRuleActionType2) => {
11117
11166
  EventRuleActionType2["EMAIL_SEND"] = "email:send";
11118
11167
  EventRuleActionType2["INVOKE_CUSTOM_TOOL"] = "custom_tool:invoke";
11119
11168
  EventRuleActionType2["HUBSPOT_CREATE_DEAL_FROM_BOOKING"] = "hubspot:create_deal_from_booking";
11169
+ EventRuleActionType2["HUBSPOT_UPDATE_CONTACT_DEALS"] = "hubspot:update_contact_deals";
11170
+ EventRuleActionType2["HUBSPOT_UPDATE_CONTACT_PROPERTIES"] = "hubspot:update_contact_properties";
11120
11171
  EventRuleActionType2["ASSIGNMENT_CONCLUDE"] = "assignment:conclude";
11121
11172
  EventRuleActionType2["JOURNEY_ENROLL"] = "journey:enroll";
11122
11173
  EventRuleActionType2["SMS_SEND"] = "sms:send";
@@ -11655,14 +11706,12 @@ var MEMBER_RELATIONSHIP_KINDS = [
11655
11706
  "viewedMemberTypes": [
11656
11707
  "anonymous",
11657
11708
  "test",
11658
- "member",
11659
- "agent"
11709
+ "member"
11660
11710
  ],
11661
11711
  "relatedMemberTypes": [
11662
11712
  "anonymous",
11663
11713
  "test",
11664
- "member",
11665
- "agent"
11714
+ "member"
11666
11715
  ]
11667
11716
  },
11668
11717
  {
@@ -11673,14 +11722,12 @@ var MEMBER_RELATIONSHIP_KINDS = [
11673
11722
  "viewedMemberTypes": [
11674
11723
  "anonymous",
11675
11724
  "test",
11676
- "member",
11677
- "agent"
11725
+ "member"
11678
11726
  ],
11679
11727
  "relatedMemberTypes": [
11680
11728
  "anonymous",
11681
11729
  "test",
11682
- "member",
11683
- "agent"
11730
+ "member"
11684
11731
  ]
11685
11732
  }
11686
11733
  ]
@@ -11699,14 +11746,12 @@ var MEMBER_RELATIONSHIP_KINDS = [
11699
11746
  "viewedMemberTypes": [
11700
11747
  "anonymous",
11701
11748
  "test",
11702
- "member",
11703
- "agent"
11749
+ "member"
11704
11750
  ],
11705
11751
  "relatedMemberTypes": [
11706
11752
  "anonymous",
11707
11753
  "test",
11708
- "member",
11709
- "agent"
11754
+ "member"
11710
11755
  ]
11711
11756
  }
11712
11757
  ]
@@ -11725,14 +11770,12 @@ var MEMBER_RELATIONSHIP_KINDS = [
11725
11770
  "viewedMemberTypes": [
11726
11771
  "anonymous",
11727
11772
  "test",
11728
- "member",
11729
- "agent"
11773
+ "member"
11730
11774
  ],
11731
11775
  "relatedMemberTypes": [
11732
11776
  "anonymous",
11733
11777
  "test",
11734
- "member",
11735
- "agent"
11778
+ "member"
11736
11779
  ]
11737
11780
  }
11738
11781
  ]
@@ -11751,14 +11794,12 @@ var MEMBER_RELATIONSHIP_KINDS = [
11751
11794
  "viewedMemberTypes": [
11752
11795
  "anonymous",
11753
11796
  "test",
11754
- "member",
11755
- "agent"
11797
+ "member"
11756
11798
  ],
11757
11799
  "relatedMemberTypes": [
11758
11800
  "anonymous",
11759
11801
  "test",
11760
- "member",
11761
- "agent"
11802
+ "member"
11762
11803
  ]
11763
11804
  },
11764
11805
  {
@@ -11769,14 +11810,12 @@ var MEMBER_RELATIONSHIP_KINDS = [
11769
11810
  "viewedMemberTypes": [
11770
11811
  "anonymous",
11771
11812
  "test",
11772
- "member",
11773
- "agent"
11813
+ "member"
11774
11814
  ],
11775
11815
  "relatedMemberTypes": [
11776
11816
  "anonymous",
11777
11817
  "test",
11778
- "member",
11779
- "agent"
11818
+ "member"
11780
11819
  ]
11781
11820
  }
11782
11821
  ]
@@ -11795,14 +11834,12 @@ var MEMBER_RELATIONSHIP_KINDS = [
11795
11834
  "viewedMemberTypes": [
11796
11835
  "anonymous",
11797
11836
  "test",
11798
- "member",
11799
- "agent"
11837
+ "member"
11800
11838
  ],
11801
11839
  "relatedMemberTypes": [
11802
11840
  "anonymous",
11803
11841
  "test",
11804
- "member",
11805
- "agent"
11842
+ "member"
11806
11843
  ]
11807
11844
  },
11808
11845
  {
@@ -11813,14 +11850,12 @@ var MEMBER_RELATIONSHIP_KINDS = [
11813
11850
  "viewedMemberTypes": [
11814
11851
  "anonymous",
11815
11852
  "test",
11816
- "member",
11817
- "agent"
11853
+ "member"
11818
11854
  ],
11819
11855
  "relatedMemberTypes": [
11820
11856
  "anonymous",
11821
11857
  "test",
11822
- "member",
11823
- "agent"
11858
+ "member"
11824
11859
  ]
11825
11860
  }
11826
11861
  ]
@@ -11839,14 +11874,12 @@ var MEMBER_RELATIONSHIP_KINDS = [
11839
11874
  "viewedMemberTypes": [
11840
11875
  "anonymous",
11841
11876
  "test",
11842
- "member",
11843
- "agent"
11877
+ "member"
11844
11878
  ],
11845
11879
  "relatedMemberTypes": [
11846
11880
  "anonymous",
11847
11881
  "test",
11848
- "member",
11849
- "agent"
11882
+ "member"
11850
11883
  ]
11851
11884
  },
11852
11885
  {
@@ -11857,14 +11890,12 @@ var MEMBER_RELATIONSHIP_KINDS = [
11857
11890
  "viewedMemberTypes": [
11858
11891
  "anonymous",
11859
11892
  "test",
11860
- "member",
11861
- "agent"
11893
+ "member"
11862
11894
  ],
11863
11895
  "relatedMemberTypes": [
11864
11896
  "anonymous",
11865
11897
  "test",
11866
- "member",
11867
- "agent"
11898
+ "member"
11868
11899
  ]
11869
11900
  }
11870
11901
  ]
@@ -11883,14 +11914,12 @@ var MEMBER_RELATIONSHIP_KINDS = [
11883
11914
  "viewedMemberTypes": [
11884
11915
  "anonymous",
11885
11916
  "test",
11886
- "member",
11887
- "agent"
11917
+ "member"
11888
11918
  ],
11889
11919
  "relatedMemberTypes": [
11890
11920
  "anonymous",
11891
11921
  "test",
11892
- "member",
11893
- "agent"
11922
+ "member"
11894
11923
  ]
11895
11924
  },
11896
11925
  {
@@ -11901,14 +11930,12 @@ var MEMBER_RELATIONSHIP_KINDS = [
11901
11930
  "viewedMemberTypes": [
11902
11931
  "anonymous",
11903
11932
  "test",
11904
- "member",
11905
- "agent"
11933
+ "member"
11906
11934
  ],
11907
11935
  "relatedMemberTypes": [
11908
11936
  "anonymous",
11909
11937
  "test",
11910
- "member",
11911
- "agent"
11938
+ "member"
11912
11939
  ]
11913
11940
  }
11914
11941
  ]
@@ -11927,14 +11954,12 @@ var MEMBER_RELATIONSHIP_KINDS = [
11927
11954
  "viewedMemberTypes": [
11928
11955
  "anonymous",
11929
11956
  "test",
11930
- "member",
11931
- "agent"
11957
+ "member"
11932
11958
  ],
11933
11959
  "relatedMemberTypes": [
11934
11960
  "anonymous",
11935
11961
  "test",
11936
- "member",
11937
- "agent"
11962
+ "member"
11938
11963
  ]
11939
11964
  },
11940
11965
  {
@@ -11945,14 +11970,12 @@ var MEMBER_RELATIONSHIP_KINDS = [
11945
11970
  "viewedMemberTypes": [
11946
11971
  "anonymous",
11947
11972
  "test",
11948
- "member",
11949
- "agent"
11973
+ "member"
11950
11974
  ],
11951
11975
  "relatedMemberTypes": [
11952
11976
  "anonymous",
11953
11977
  "test",
11954
- "member",
11955
- "agent"
11978
+ "member"
11956
11979
  ]
11957
11980
  }
11958
11981
  ]
@@ -11971,14 +11994,12 @@ var MEMBER_RELATIONSHIP_KINDS = [
11971
11994
  "viewedMemberTypes": [
11972
11995
  "anonymous",
11973
11996
  "test",
11974
- "member",
11975
- "agent"
11997
+ "member"
11976
11998
  ],
11977
11999
  "relatedMemberTypes": [
11978
12000
  "anonymous",
11979
12001
  "test",
11980
- "member",
11981
- "agent"
12002
+ "member"
11982
12003
  ]
11983
12004
  },
11984
12005
  {
@@ -11989,14 +12010,12 @@ var MEMBER_RELATIONSHIP_KINDS = [
11989
12010
  "viewedMemberTypes": [
11990
12011
  "anonymous",
11991
12012
  "test",
11992
- "member",
11993
- "agent"
12013
+ "member"
11994
12014
  ],
11995
12015
  "relatedMemberTypes": [
11996
12016
  "anonymous",
11997
12017
  "test",
11998
- "member",
11999
- "agent"
12018
+ "member"
12000
12019
  ]
12001
12020
  }
12002
12021
  ]
@@ -12015,14 +12034,12 @@ var MEMBER_RELATIONSHIP_KINDS = [
12015
12034
  "viewedMemberTypes": [
12016
12035
  "anonymous",
12017
12036
  "test",
12018
- "member",
12019
- "agent"
12037
+ "member"
12020
12038
  ],
12021
12039
  "relatedMemberTypes": [
12022
12040
  "anonymous",
12023
12041
  "test",
12024
- "member",
12025
- "agent"
12042
+ "member"
12026
12043
  ]
12027
12044
  },
12028
12045
  {
@@ -12033,14 +12050,12 @@ var MEMBER_RELATIONSHIP_KINDS = [
12033
12050
  "viewedMemberTypes": [
12034
12051
  "anonymous",
12035
12052
  "test",
12036
- "member",
12037
- "agent"
12053
+ "member"
12038
12054
  ],
12039
12055
  "relatedMemberTypes": [
12040
12056
  "anonymous",
12041
12057
  "test",
12042
- "member",
12043
- "agent"
12058
+ "member"
12044
12059
  ]
12045
12060
  }
12046
12061
  ]
@@ -12059,14 +12074,12 @@ var MEMBER_RELATIONSHIP_KINDS = [
12059
12074
  "viewedMemberTypes": [
12060
12075
  "anonymous",
12061
12076
  "test",
12062
- "member",
12063
- "agent"
12077
+ "member"
12064
12078
  ],
12065
12079
  "relatedMemberTypes": [
12066
12080
  "anonymous",
12067
12081
  "test",
12068
- "member",
12069
- "agent"
12082
+ "member"
12070
12083
  ]
12071
12084
  },
12072
12085
  {
@@ -12077,14 +12090,12 @@ var MEMBER_RELATIONSHIP_KINDS = [
12077
12090
  "viewedMemberTypes": [
12078
12091
  "anonymous",
12079
12092
  "test",
12080
- "member",
12081
- "agent"
12093
+ "member"
12082
12094
  ],
12083
12095
  "relatedMemberTypes": [
12084
12096
  "anonymous",
12085
12097
  "test",
12086
- "member",
12087
- "agent"
12098
+ "member"
12088
12099
  ]
12089
12100
  }
12090
12101
  ]
@@ -13261,14 +13272,6 @@ var TeamsAppsApi = class extends BaseApiClient {
13261
13272
  `w/${wid}/app-connections/teams/apps/${appId}/installations${params.toString() ? `?${params.toString()}` : ""}`
13262
13273
  );
13263
13274
  }
13264
- /**
13265
- * The organization Bot Teams connection that delivers this workspace's
13266
- * notifications, the connections it may choose, and the caller's own
13267
- * readiness. Reads only; nothing is sent to Microsoft.
13268
- */
13269
- async getTeamsNotificationDelivery(wid) {
13270
- return this.fetch(`w/${wid}/notification-delivery/teams`);
13271
- }
13272
13275
  async getTeamsAppAccounts(wid, appId, options = {}) {
13273
13276
  const params = new URLSearchParams();
13274
13277
  if (options.page) params.append("page", options.page.toString());
@@ -13544,6 +13547,14 @@ var ActivityApi = class extends BaseApiClient {
13544
13547
  body: JSON.stringify(request)
13545
13548
  });
13546
13549
  }
13550
+ /**
13551
+ * The Workspaces an Operator Tools widget session signed in for this
13552
+ * organization reaches, as `{uuid, name}` pairs for its Workspace labels.
13553
+ * Answers only to a widget session; `[]` when it reaches none.
13554
+ */
13555
+ async listOrgWidgetWorkspaces(orgUuid) {
13556
+ return this.fetch(`o/${orgUuid}/widget-workspaces`, { method: "GET" });
13557
+ }
13547
13558
  /** The org mount's badge numbers. */
13548
13559
  async getOrgActivityCounts(orgUuid, request = {}) {
13549
13560
  return this.fetch(`o/${orgUuid}/activity/counts`, {
@@ -14056,7 +14067,7 @@ function createApiModules(apiKey, baseUrl, customFetch) {
14056
14067
  abilities: new AbilitiesApi(apiKey, baseUrl, customFetch),
14057
14068
  accessGrants: new AccessGrantsApi(apiKey, baseUrl, customFetch),
14058
14069
  agentTasks: new AgentTasksApi(apiKey, baseUrl, customFetch),
14059
- agents: new AgentsApi(apiKey, baseUrl, customFetch),
14070
+ botJobs: new BotJobsApi(apiKey, baseUrl, customFetch),
14060
14071
  aiModels: new AIModelsApi(apiKey, baseUrl, customFetch),
14061
14072
  apiKeys: new ApiKeysApi(apiKey, baseUrl, customFetch),
14062
14073
  appLinks: new AppLinksApi(apiKey, baseUrl, customFetch),
@@ -14145,7 +14156,6 @@ var WORKSPACE_METHOD_NAMES = [
14145
14156
  "addWorkspaceSupportRequestParticipants",
14146
14157
  "advanceStep",
14147
14158
  "approveWorkspaceInvitation",
14148
- "archiveAgent",
14149
14159
  "archiveChat",
14150
14160
  "archiveDataType",
14151
14161
  "archiveJourney",
@@ -14201,7 +14211,6 @@ var WORKSPACE_METHOD_NAMES = [
14201
14211
  "convertFile",
14202
14212
  "createAbility",
14203
14213
  "createAccessGrant",
14204
- "createAgent",
14205
14214
  "createApiKey",
14206
14215
  "createAssignment",
14207
14216
  "bindInstallationSlots",
@@ -14284,7 +14293,6 @@ var WORKSPACE_METHOD_NAMES = [
14284
14293
  "createWorkspaceRealtimeLoginToken",
14285
14294
  "createWorkspaceSupportRequest",
14286
14295
  "deleteAbility",
14287
- "deleteAgent",
14288
14296
  "deleteAssignment",
14289
14297
  "deleteCalendar",
14290
14298
  "deleteCalendarEvent",
@@ -14423,12 +14431,10 @@ var WORKSPACE_METHOD_NAMES = [
14423
14431
  "getAbilityTypes",
14424
14432
  "getAccessGrant",
14425
14433
  "getAccessGrants",
14426
- "getAgent",
14427
14434
  "getAgentModeAttention",
14428
14435
  "getAgentTask",
14429
14436
  "getAgentTaskMessages",
14430
14437
  "getAgentTasks",
14431
- "getAgents",
14432
14438
  "getAnonymousResolution",
14433
14439
  "getAnonymousFormSubmission",
14434
14440
  "getAnonymousFormSchema",
@@ -14628,6 +14634,7 @@ var WORKSPACE_METHOD_NAMES = [
14628
14634
  "getPatientSyncStatus",
14629
14635
  "getHubspotContactProperties",
14630
14636
  "getHubspotDealProperties",
14637
+ "getHubspotDealPipelines",
14631
14638
  "getHubspotForms",
14632
14639
  "getHubspotMeetingLinks",
14633
14640
  "getHubspotCrmObjects",
@@ -14647,6 +14654,7 @@ var WORKSPACE_METHOD_NAMES = [
14647
14654
  "getImportReadiness",
14648
14655
  "rebuildImportSkippedRules",
14649
14656
  "getInbox",
14657
+ "getChatSenderInboxes",
14650
14658
  "getInboxEmail",
14651
14659
  "getInboxEmails",
14652
14660
  "getInboxArchiveBlockers",
@@ -14711,6 +14719,7 @@ var WORKSPACE_METHOD_NAMES = [
14711
14719
  "getMyGivenGrants",
14712
14720
  "getMyReceivedGrants",
14713
14721
  "getNotification",
14722
+ "getNotificationDelivery",
14714
14723
  "getNotificationDestinations",
14715
14724
  "getNotificationRules",
14716
14725
  "getNotifications",
@@ -14795,7 +14804,6 @@ var WORKSPACE_METHOD_NAMES = [
14795
14804
  "getTeamsApps",
14796
14805
  "getTeamsConversations",
14797
14806
  "getTeamsInstallations",
14798
- "getTeamsNotificationDelivery",
14799
14807
  "getTemplateContext",
14800
14808
  "getChatTestRun",
14801
14809
  "getTestChatRun",
@@ -14859,7 +14867,6 @@ var WORKSPACE_METHOD_NAMES = [
14859
14867
  "initiateOutboundCall",
14860
14868
  "inspectPrompt",
14861
14869
  "installHubspot",
14862
- "installDocumoFax",
14863
14870
  "installMondayConnection",
14864
14871
  "installSalesforce",
14865
14872
  "inviteMemberCredentialUpdate",
@@ -14976,7 +14983,6 @@ var WORKSPACE_METHOD_NAMES = [
14976
14983
  "upgradeInstallation",
14977
14984
  "replaceBundleDraft",
14978
14985
  "replyToEmail",
14979
- "rotateDocumoFaxCredentials",
14980
14986
  "requestPhoneNumber",
14981
14987
  "requestWorkspaceMembership",
14982
14988
  "resetRoutineRuns",
@@ -15026,7 +15032,6 @@ var WORKSPACE_METHOD_NAMES = [
15026
15032
  "simulateJourney",
15027
15033
  "testRunJourney",
15028
15034
  "toggleFieldIndex",
15029
- "unarchiveAgent",
15030
15035
  "unarchiveChat",
15031
15036
  "unarchiveDataType",
15032
15037
  "unarchiveMember",
@@ -15045,7 +15050,6 @@ var WORKSPACE_METHOD_NAMES = [
15045
15050
  "unlinkMemberFromSalesforce",
15046
15051
  "unregisterPushSubscription",
15047
15052
  "updateAbility",
15048
- "updateAgent",
15049
15053
  "updateAssignment",
15050
15054
  "updateCalendar",
15051
15055
  "updateCalendarEvent",
@@ -15193,17 +15197,10 @@ function bindAgentTasksMethods(target, api) {
15193
15197
  target.getAgentTaskMessages = api.getAgentTaskMessages.bind(api);
15194
15198
  }
15195
15199
 
15196
- // src/client/bindings/agents.ts
15197
- function bindAgentsMethods(target, agents) {
15198
- target.getAgents = agents.getAgents.bind(agents);
15199
- target.getAgent = agents.getAgent.bind(agents);
15200
- target.createAgent = agents.createAgent.bind(agents);
15201
- target.updateAgent = agents.updateAgent.bind(agents);
15202
- target.deleteAgent = agents.deleteAgent.bind(agents);
15203
- target.archiveAgent = agents.archiveAgent.bind(agents);
15204
- target.unarchiveAgent = agents.unarchiveAgent.bind(agents);
15205
- target.getOrgAgentJobs = agents.getOrgAgentJobs.bind(agents);
15206
- target.stopOrgAgentJob = agents.stopOrgAgentJob.bind(agents);
15200
+ // src/client/bindings/bot-jobs.ts
15201
+ function bindBotJobsMethods(target, botJobs) {
15202
+ target.getBotJobs = botJobs.getBotJobs.bind(botJobs);
15203
+ target.stopBotJob = botJobs.stopBotJob.bind(botJobs);
15207
15204
  }
15208
15205
 
15209
15206
  // src/client/bindings/tasks.ts
@@ -15232,6 +15229,8 @@ function bindChatsMethods(target, chats) {
15232
15229
  target.createChatInteractionSession = chats.createChatInteractionSession.bind(chats);
15233
15230
  target.transitionChatInteractionSession = chats.transitionChatInteractionSession.bind(chats);
15234
15231
  target.getChats = chats.getChats.bind(chats);
15232
+ target.queryOrgChats = chats.queryOrgChats.bind(chats);
15233
+ target.countOrgChats = chats.countOrgChats.bind(chats);
15235
15234
  target.getChat = chats.getChat.bind(chats);
15236
15235
  target.getChatAttention = chats.getChatAttention.bind(chats);
15237
15236
  target.getChatByUuid = chats.getChatByUuid.bind(chats);
@@ -15335,6 +15334,7 @@ function bindActivityMethods(target, activity) {
15335
15334
  target.queryOrgActivityOneView = activity.queryOrgActivityOneView.bind(activity);
15336
15335
  target.queryOrgActivityDigest = activity.queryOrgActivityDigest.bind(activity);
15337
15336
  target.getOrgActivityCounts = activity.getOrgActivityCounts.bind(activity);
15337
+ target.listOrgWidgetWorkspaces = activity.listOrgWidgetWorkspaces.bind(activity);
15338
15338
  target.queryWorkspaceActivity = activity.queryWorkspaceActivity.bind(activity);
15339
15339
  target.queryWorkspaceActivityLatestSubjects = activity.queryWorkspaceActivityLatestSubjects.bind(activity);
15340
15340
  target.queryWorkspaceActivityOpenItems = activity.queryWorkspaceActivityOpenItems.bind(activity);
@@ -15429,6 +15429,7 @@ function bindMembersMethods(target, members) {
15429
15429
  target.getMemberSmsSenders = members.getMemberSmsSenders.bind(members);
15430
15430
  target.getMemberByUuid = members.getMemberByUuid.bind(members);
15431
15431
  target.getOrgWorkspaceMember = members.getOrgWorkspaceMember.bind(members);
15432
+ target.searchOrgWorkspaceMembers = members.searchOrgWorkspaceMembers.bind(members);
15432
15433
  target.createWorkspaceMember = members.createWorkspaceMember.bind(members);
15433
15434
  target.updateMember = members.updateMember.bind(members);
15434
15435
  target.deleteMember = members.deleteMember.bind(members);
@@ -15908,6 +15909,7 @@ function bindCommunicationsMethods(target, phoneNumbers, inboxes, notificationRu
15908
15909
  target.linkPhoneNumber = phoneNumbers.linkPhoneNumber.bind(phoneNumbers);
15909
15910
  target.getInboxes = inboxes.getInboxes.bind(inboxes);
15910
15911
  target.getInbox = inboxes.getInbox.bind(inboxes);
15912
+ target.getChatSenderInboxes = inboxes.getChatSenderInboxes.bind(inboxes);
15911
15913
  target.createInbox = inboxes.createInbox.bind(inboxes);
15912
15914
  target.updateInbox = inboxes.updateInbox.bind(inboxes);
15913
15915
  target.deleteInbox = inboxes.deleteInbox.bind(inboxes);
@@ -15933,6 +15935,7 @@ function bindCommunicationsMethods(target, phoneNumbers, inboxes, notificationRu
15933
15935
  target.updateNotificationRule = notificationRules.updateNotificationRule.bind(notificationRules);
15934
15936
  target.deleteNotificationRule = notificationRules.deleteNotificationRule.bind(notificationRules);
15935
15937
  target.getNotificationDestinations = notificationRules.getNotificationDestinations.bind(notificationRules);
15938
+ target.getNotificationDelivery = notificationRules.getNotificationDelivery.bind(notificationRules);
15936
15939
  }
15937
15940
 
15938
15941
  // src/client/bindings/toolkits.ts
@@ -16046,238 +16049,272 @@ function bindAppsMethods(target, apps, builders, inquiries, oauth, oauthConnecti
16046
16049
  }
16047
16050
 
16048
16051
  // src/client/bindings/integrations.ts
16049
- function bindIntegrationsMethods(target, mondayIntegration, discordBots, slackApps, teamsApps, fhirConnections, patientSyncConnections, healthie, documoFax, claimMd, stedi, salesforce, hubspot, appConnections, connectionSync, confluence) {
16050
- target.getMondayBoards = mondayIntegration.getBoards.bind(mondayIntegration);
16051
- target.getMondayBoardColumns = mondayIntegration.getBoardColumns.bind(mondayIntegration);
16052
- target.getMondayBoardGroups = mondayIntegration.getBoardGroups.bind(mondayIntegration);
16053
- target.getMondayCurrentUserInfo = mondayIntegration.getCurrentUserInfo.bind(mondayIntegration);
16054
- target.installMondayConnection = mondayIntegration.installMondayConnection.bind(mondayIntegration);
16055
- target.configureMondayConnection = mondayIntegration.configureMondayConnection.bind(mondayIntegration);
16056
- target.getMondayConnectionStatus = mondayIntegration.getMondayConnectionStatus.bind(mondayIntegration);
16057
- target.authorizeMondayConnection = mondayIntegration.authorizeMondayConnection.bind(mondayIntegration);
16058
- target.testMondayConnection = mondayIntegration.testMondayConnection.bind(mondayIntegration);
16059
- target.disconnectMondayConnection = mondayIntegration.disconnectMondayConnection.bind(mondayIntegration);
16060
- target.disableMondayConnection = mondayIntegration.disableMondayConnection.bind(mondayIntegration);
16061
- target.enableMondayConnection = mondayIntegration.enableMondayConnection.bind(mondayIntegration);
16062
- target.deleteMondayConnection = mondayIntegration.deleteMondayConnection.bind(mondayIntegration);
16063
- target.getMondayConnectionBoards = mondayIntegration.getMondayConnectionBoards.bind(mondayIntegration);
16064
- target.getMondayConnectionBoardColumns = mondayIntegration.getMondayConnectionBoardColumns.bind(mondayIntegration);
16065
- target.getMondayConnectionBoardGroups = mondayIntegration.getMondayConnectionBoardGroups.bind(mondayIntegration);
16066
- target.getMondaySyncConfig = mondayIntegration.getMondaySyncConfig.bind(mondayIntegration);
16067
- target.getMondaySyncLogs = mondayIntegration.getMondaySyncLogs.bind(mondayIntegration);
16068
- target.updateMondaySyncConfig = mondayIntegration.updateMondaySyncConfig.bind(mondayIntegration);
16069
- target.validateMondaySyncConfig = mondayIntegration.validateMondaySyncConfig.bind(mondayIntegration);
16070
- target.getLinkedMondayMembers = mondayIntegration.getLinkedMondayMembers.bind(mondayIntegration);
16071
- target.getMondayReconciliationMatches = mondayIntegration.getMondayReconciliationMatches.bind(mondayIntegration);
16072
- target.linkMemberToMonday = mondayIntegration.linkMemberToMonday.bind(mondayIntegration);
16073
- target.bulkLinkMembersToMonday = mondayIntegration.bulkLinkMembersToMonday.bind(mondayIntegration);
16074
- target.unlinkMemberFromMonday = mondayIntegration.unlinkMemberFromMonday.bind(mondayIntegration);
16075
- target.getLinkedRecords = mondayIntegration.getLinkedRecords.bind(mondayIntegration);
16076
- target.importFromBoard = mondayIntegration.importFromBoard.bind(mondayIntegration);
16077
- target.autoCreateDataTypeFromBoard = mondayIntegration.autoCreateDataTypeFromBoard.bind(mondayIntegration);
16078
- target.getDiscordBots = discordBots.getDiscordBots.bind(discordBots);
16079
- target.getDiscordBot = discordBots.getDiscordBot.bind(discordBots);
16080
- target.createDiscordBot = discordBots.createDiscordBot.bind(discordBots);
16081
- target.updateDiscordBot = discordBots.updateDiscordBot.bind(discordBots);
16082
- target.deleteDiscordBot = discordBots.deleteDiscordBot.bind(discordBots);
16083
- target.registerDiscordSlashCommands = discordBots.registerSlashCommands.bind(discordBots);
16084
- target.registerLinkedRolesMetadata = discordBots.registerLinkedRolesMetadata.bind(discordBots);
16085
- target.getDiscordThreads = discordBots.getDiscordThreads.bind(discordBots);
16086
- target.getDiscordGuilds = discordBots.getDiscordGuilds.bind(discordBots);
16087
- target.getDiscordBotAccounts = discordBots.getDiscordBotAccounts.bind(discordBots);
16088
- target.getMyCredentials = discordBots.getMyCredentials.bind(discordBots);
16089
- target.unlinkCredential = discordBots.unlinkCredential.bind(discordBots);
16090
- target.completeDiscordLink = discordBots.completeDiscordLink.bind(discordBots);
16091
- target.discordLinkPreflight = discordBots.discordLinkPreflight.bind(discordBots);
16092
- target.getSlackApps = slackApps.getSlackApps.bind(slackApps);
16093
- target.getSlackApp = slackApps.getSlackApp.bind(slackApps);
16094
- target.createSlackApp = slackApps.createSlackApp.bind(slackApps);
16095
- target.updateSlackApp = slackApps.updateSlackApp.bind(slackApps);
16096
- target.deleteSlackApp = slackApps.deleteSlackApp.bind(slackApps);
16097
- target.getSlackThreads = slackApps.getSlackThreads.bind(slackApps);
16098
- target.getSlackInstallations = slackApps.getSlackInstallations.bind(slackApps);
16099
- target.removeSlackAccount = slackApps.removeSlackAccount.bind(slackApps);
16100
- target.removeSlackInstallation = slackApps.removeSlackInstallation.bind(slackApps);
16101
- target.getSlackChannelChoices = slackApps.getSlackChannelChoices.bind(slackApps);
16102
- target.getSlackEntryPoints = slackApps.getSlackEntryPoints.bind(slackApps);
16103
- target.connectSlackEntryPoint = slackApps.connectSlackEntryPoint.bind(slackApps);
16104
- target.getSlackAppAccounts = slackApps.getSlackAppAccounts.bind(slackApps);
16105
- target.getTeamsApps = teamsApps.getTeamsApps.bind(teamsApps);
16106
- target.getTeamsApp = teamsApps.getTeamsApp.bind(teamsApps);
16107
- target.createTeamsApp = teamsApps.createTeamsApp.bind(teamsApps);
16108
- target.updateTeamsApp = teamsApps.updateTeamsApp.bind(teamsApps);
16109
- target.deleteTeamsApp = teamsApps.deleteTeamsApp.bind(teamsApps);
16110
- target.getTeamsConversations = teamsApps.getTeamsConversations.bind(teamsApps);
16111
- target.getTeamsInstallations = teamsApps.getTeamsInstallations.bind(teamsApps);
16112
- target.getTeamsAppAccounts = teamsApps.getTeamsAppAccounts.bind(teamsApps);
16113
- target.getTeamsNotificationDelivery = teamsApps.getTeamsNotificationDelivery.bind(teamsApps);
16114
- target.getFhirConnections = fhirConnections.getFhirConnections.bind(fhirConnections);
16115
- target.getFhirConnection = fhirConnections.getFhirConnection.bind(fhirConnections);
16116
- target.getFhirConnectionByUuid = fhirConnections.getFhirConnectionByUuid.bind(fhirConnections);
16117
- target.createFhirConnection = fhirConnections.createFhirConnection.bind(fhirConnections);
16118
- target.updateFhirConnection = fhirConnections.updateFhirConnection.bind(fhirConnections);
16119
- target.deleteFhirConnection = fhirConnections.deleteFhirConnection.bind(fhirConnections);
16120
- target.testFhirConnection = fhirConnections.testFhirConnection.bind(fhirConnections);
16121
- target.fhirSearchPatients = fhirConnections.fhirSearchPatients.bind(fhirConnections);
16122
- target.fhirSearchPractitioners = fhirConnections.fhirSearchPractitioners.bind(fhirConnections);
16123
- target.fhirSearchLocations = fhirConnections.fhirSearchLocations.bind(fhirConnections);
16124
- target.fhirFetchCareTeam = fhirConnections.fhirFetchCareTeam.bind(fhirConnections);
16125
- target.fhirFetchEncounters = fhirConnections.fhirFetchEncounters.bind(fhirConnections);
16126
- target.fhirCreateEncounter = fhirConnections.fhirCreateEncounter.bind(fhirConnections);
16127
- target.fhirListLinkedMembers = fhirConnections.fhirListLinkedMembers.bind(fhirConnections);
16128
- target.fhirCheckPatientLinks = fhirConnections.fhirCheckPatientLinks.bind(fhirConnections);
16129
- target.fhirLinkMember = fhirConnections.fhirLinkMember.bind(fhirConnections);
16130
- target.fhirUnlinkMember = fhirConnections.fhirUnlinkMember.bind(fhirConnections);
16131
- target.fhirSyncMember = fhirConnections.fhirSyncMember.bind(fhirConnections);
16132
- target.fhirImportPatient = fhirConnections.fhirImportPatient.bind(fhirConnections);
16133
- target.fhirCsvImportInspect = fhirConnections.fhirCsvImportInspect.bind(fhirConnections);
16134
- target.fhirGetCsvImportSettings = fhirConnections.fhirGetCsvImportSettings.bind(fhirConnections);
16135
- target.fhirUpdateCsvImportSettings = fhirConnections.fhirUpdateCsvImportSettings.bind(fhirConnections);
16136
- target.fhirCsvImportApply = fhirConnections.fhirCsvImportApply.bind(fhirConnections);
16137
- target.fhirGetCsvImportRuns = fhirConnections.fhirGetCsvImportRuns.bind(fhirConnections);
16138
- target.fhirGetCsvImportRunItems = fhirConnections.fhirGetCsvImportRunItems.bind(fhirConnections);
16139
- target.fhirGetEncounterSyncStatus = fhirConnections.fhirGetEncounterSyncStatus.bind(fhirConnections);
16140
- target.fhirUpdateEncounterSync = fhirConnections.fhirUpdateEncounterSync.bind(fhirConnections);
16141
- target.fhirRunEncounterSync = fhirConnections.fhirRunEncounterSync.bind(fhirConnections);
16142
- target.fhirGetEncounterSyncRuns = fhirConnections.fhirGetEncounterSyncRuns.bind(fhirConnections);
16143
- target.fhirRefreshEncounterPatient = fhirConnections.fhirRefreshEncounterPatient.bind(fhirConnections);
16144
- target.fhirBackfillEncounterSync = fhirConnections.fhirBackfillEncounterSync.bind(fhirConnections);
16145
- target.getFhirConnectionSyncConfig = fhirConnections.getFhirConnectionSyncConfig.bind(fhirConnections);
16146
- target.getAthenaPlatformApp = fhirConnections.getAthenaPlatformApp.bind(fhirConnections);
16147
- target.verifyAthenaAccess = fhirConnections.verifyAthenaAccess.bind(fhirConnections);
16148
- target.connectAthena = fhirConnections.connectAthena.bind(fhirConnections);
16149
- target.configurePatientSync = patientSyncConnections.configurePatientSync.bind(patientSyncConnections);
16150
- target.getPatientSyncStatus = patientSyncConnections.getPatientSyncStatus.bind(patientSyncConnections);
16151
- target.deletePatientSyncConnection = patientSyncConnections.deletePatientSyncConnection.bind(patientSyncConnections);
16152
- target.getDocumoFaxStatus = documoFax.getDocumoFaxStatus.bind(documoFax);
16153
- target.getDocumoFaxSetup = documoFax.getDocumoFaxSetup.bind(documoFax);
16154
- target.listDocumoFaxes = documoFax.listDocumoFaxes.bind(documoFax);
16155
- target.installDocumoFax = documoFax.installDocumoFax.bind(documoFax);
16156
- target.configureDocumoFax = documoFax.configureDocumoFax.bind(documoFax);
16157
- target.verifyDocumoFax = documoFax.verifyDocumoFax.bind(documoFax);
16158
- target.rotateDocumoFaxCredentials = documoFax.rotateDocumoFaxCredentials.bind(documoFax);
16159
- target.getClaimMdStatus = claimMd.getClaimMdStatus.bind(claimMd);
16160
- target.installClaimMd = claimMd.installClaimMd.bind(claimMd);
16161
- target.configureClaimMd = claimMd.configureClaimMd.bind(claimMd);
16162
- target.verifyClaimMdKey = claimMd.verifyClaimMdKey.bind(claimMd);
16163
- target.getStediConnections = stedi.getStediConnections.bind(stedi);
16164
- target.getStediConnectionStatus = stedi.getStediConnectionStatus.bind(stedi);
16165
- target.configureHealthie = healthie.configureHealthie.bind(healthie);
16166
- target.getHealthieStatus = healthie.getHealthieStatus.bind(healthie);
16167
- target.listHealthieProviders = healthie.listHealthieProviders.bind(healthie);
16168
- target.linkCalendarToHealthie = healthie.linkCalendarToHealthie.bind(healthie);
16169
- target.unlinkCalendarFromHealthie = healthie.unlinkCalendarFromHealthie.bind(healthie);
16170
- target.syncCalendarWithHealthie = healthie.syncCalendarWithHealthie.bind(healthie);
16171
- target.getLinkedHealthieMembers = healthie.getLinkedHealthieMembers.bind(healthie);
16172
- target.getHealthieReconciliationMatches = healthie.getHealthieReconciliationMatches.bind(healthie);
16173
- target.getHealthieAppointmentPatientMatches = healthie.getHealthieAppointmentPatientMatches.bind(healthie);
16174
- target.linkMemberToHealthie = healthie.linkMemberToHealthie.bind(healthie);
16175
- target.unlinkMemberFromHealthie = healthie.unlinkMemberFromHealthie.bind(healthie);
16176
- target.listHealthieAppointmentTypes = healthie.listHealthieAppointmentTypes.bind(healthie);
16177
- target.listHealthiePatients = healthie.listHealthiePatients.bind(healthie);
16178
- target.getHealthieAvailableSlots = healthie.getHealthieAvailableSlots.bind(healthie);
16179
- target.bookHealthieAppointment = healthie.bookHealthieAppointment.bind(healthie);
16180
- target.configureConfluence = confluence.configureConfluence.bind(confluence);
16181
- target.startConfluenceOAuth = confluence.startConfluenceOAuth.bind(confluence);
16182
- target.getConfluenceStatus = confluence.getConfluenceStatus.bind(confluence);
16183
- target.disconnectConfluence = confluence.disconnectConfluence.bind(confluence);
16184
- target.disableConfluence = confluence.disableConfluence.bind(confluence);
16185
- target.enableConfluence = confluence.enableConfluence.bind(confluence);
16186
- target.deleteConfluence = confluence.deleteConfluence.bind(confluence);
16187
- target.listConfluenceSpaces = confluence.listConfluenceSpaces.bind(confluence);
16188
- target.listConfluencePages = confluence.listConfluencePages.bind(confluence);
16189
- target.installSalesforce = salesforce.installSalesforce.bind(salesforce);
16190
- target.configureSalesforce = salesforce.configureSalesforce.bind(salesforce);
16191
- target.startSalesforceOAuth = salesforce.startSalesforceOAuth.bind(salesforce);
16192
- target.getSalesforceStatus = salesforce.getSalesforceStatus.bind(salesforce);
16193
- target.disconnectSalesforce = salesforce.disconnectSalesforce.bind(salesforce);
16194
- target.disableSalesforce = salesforce.disableSalesforce.bind(salesforce);
16195
- target.enableSalesforce = salesforce.enableSalesforce.bind(salesforce);
16196
- target.deleteSalesforce = salesforce.deleteSalesforce.bind(salesforce);
16197
- target.getSalesforceReconciliationMatches = salesforce.getSalesforceReconciliationMatches.bind(salesforce);
16198
- target.linkMemberToSalesforce = salesforce.linkMemberToSalesforce.bind(salesforce);
16199
- target.linkUnlinkedSalesforceMembersByIdentity = salesforce.linkUnlinkedSalesforceMembersByIdentity.bind(salesforce);
16200
- target.bulkLinkMembersToSalesforce = salesforce.bulkLinkMembersToSalesforce.bind(salesforce);
16201
- target.unlinkMemberFromSalesforce = salesforce.unlinkMemberFromSalesforce.bind(salesforce);
16202
- target.getLinkedSalesforceMembers = salesforce.getLinkedSalesforceMembers.bind(salesforce);
16203
- target.getSalesforceSyncConfig = salesforce.getSalesforceSyncConfig.bind(salesforce);
16204
- target.getSalesforceSyncLogs = salesforce.getSalesforceSyncLogs.bind(salesforce);
16205
- target.updateSalesforceSyncConfig = salesforce.updateSalesforceSyncConfig.bind(salesforce);
16206
- target.validateSalesforceSyncConfig = salesforce.validateSalesforceSyncConfig.bind(salesforce);
16207
- target.resyncSalesforceLinkedMembers = salesforce.resyncSalesforceLinkedMembers.bind(salesforce);
16208
- target.listSalesforceObjects = salesforce.listSalesforceObjects.bind(salesforce);
16209
- target.describeSalesforceObject = salesforce.describeSalesforceObject.bind(salesforce);
16210
- target.searchSalesforceRecords = salesforce.searchSalesforceRecords.bind(salesforce);
16211
- target.importSalesforceMembers = salesforce.importSalesforceMembers.bind(salesforce);
16212
- target.bindHubspotCalendar = hubspot.bindHubspotCalendar.bind(hubspot);
16213
- target.unlinkHubspotCalendar = hubspot.unlinkHubspotCalendar.bind(hubspot);
16214
- target.importHubspotCalendarEvents = hubspot.importHubspotCalendarEvents.bind(hubspot);
16215
- target.getHubspotBookingReceipt = hubspot.getHubspotBookingReceipt.bind(hubspot);
16216
- target.releaseHubspotBookingAttempt = hubspot.releaseHubspotBookingAttempt.bind(hubspot);
16217
- target.installHubspot = hubspot.installHubspot.bind(hubspot);
16218
- target.configureHubspot = hubspot.configureHubspot.bind(hubspot);
16219
- target.startHubspotOAuth = hubspot.startHubspotOAuth.bind(hubspot);
16220
- target.getHubspotStatus = hubspot.getHubspotStatus.bind(hubspot);
16221
- target.disconnectHubspot = hubspot.disconnectHubspot.bind(hubspot);
16222
- target.switchHubspotToPlatformApp = hubspot.switchHubspotToPlatformApp.bind(hubspot);
16223
- target.disableHubspot = hubspot.disableHubspot.bind(hubspot);
16224
- target.enableHubspot = hubspot.enableHubspot.bind(hubspot);
16225
- target.deleteHubspot = hubspot.deleteHubspot.bind(hubspot);
16226
- target.getHubspotReconciliationMatches = hubspot.getHubspotReconciliationMatches.bind(hubspot);
16227
- target.linkMemberToHubspot = hubspot.linkMemberToHubspot.bind(hubspot);
16228
- target.bulkLinkMembersToHubspot = hubspot.bulkLinkMembersToHubspot.bind(hubspot);
16229
- target.unlinkMemberFromHubspot = hubspot.unlinkMemberFromHubspot.bind(hubspot);
16230
- target.getLinkedHubspotMembers = hubspot.getLinkedHubspotMembers.bind(hubspot);
16231
- target.searchHubspotRecords = hubspot.searchHubspotRecords.bind(hubspot);
16232
- target.importHubspotMembers = hubspot.importHubspotMembers.bind(hubspot);
16233
- target.getHubspotContactProperties = hubspot.getHubspotContactProperties.bind(hubspot);
16234
- target.getHubspotDealProperties = hubspot.getHubspotDealProperties.bind(hubspot);
16235
- target.getHubspotForms = hubspot.getHubspotForms.bind(hubspot);
16236
- target.getHubspotMeetingLinks = hubspot.getHubspotMeetingLinks.bind(hubspot);
16237
- target.getHubspotCrmObjects = hubspot.getHubspotCrmObjects.bind(hubspot);
16238
- target.getHubspotObjectProperties = hubspot.getHubspotObjectProperties.bind(hubspot);
16239
- target.getHubspotManagedRules = hubspot.getHubspotManagedRules.bind(hubspot);
16240
- target.getHubspotSyncLogs = hubspot.getHubspotSyncLogs.bind(hubspot);
16241
- target.getHubspotTransformPresets = hubspot.getHubspotTransformPresets.bind(hubspot);
16242
- target.getConnectionSyncCapabilities = connectionSync.getConnectionSyncCapabilities.bind(connectionSync);
16243
- target.getConnectionSyncConfig = connectionSync.getConnectionSyncConfig.bind(connectionSync);
16244
- target.updateConnectionSyncConfig = connectionSync.updateConnectionSyncConfig.bind(connectionSync);
16245
- target.validateConnectionSyncConfig = connectionSync.validateConnectionSyncConfig.bind(connectionSync);
16246
- target.getConnectionSyncCheckpoint = connectionSync.getConnectionSyncCheckpoint.bind(connectionSync);
16247
- target.startSyncRun = connectionSync.startSyncRun.bind(connectionSync);
16248
- target.getSyncRuns = connectionSync.getSyncRuns.bind(connectionSync);
16249
- target.getSyncRunItems = connectionSync.getSyncRunItems.bind(connectionSync);
16250
- target.getSyncRunItemsPage = connectionSync.getSyncRunItemsPage.bind(connectionSync);
16251
- target.getMemberSyncSummary = connectionSync.getMemberSyncSummary.bind(connectionSync);
16252
- target.getSyncFailureSummary = connectionSync.getSyncFailureSummary.bind(connectionSync);
16253
- target.getSyncFailures = connectionSync.getSyncFailures.bind(connectionSync);
16254
- target.getConnectionFieldHomes = connectionSync.getConnectionFieldHomes.bind(connectionSync);
16255
- target.getInboundRecordStatus = connectionSync.getInboundRecordStatus.bind(connectionSync);
16256
- target.getOwnerMemberStatus = connectionSync.getOwnerMemberStatus.bind(connectionSync);
16257
- target.getConnectionWritePreview = connectionSync.getConnectionWritePreview.bind(connectionSync);
16258
- target.clearConnectionMemberExclusion = connectionSync.clearConnectionMemberExclusion.bind(connectionSync);
16259
- target.linkUnlinkedMembersByIdentity = connectionSync.linkUnlinkedMembersByIdentity.bind(connectionSync);
16260
- target.listSubsetImports = connectionSync.listSubsetImports.bind(connectionSync);
16261
- target.getSubsetImport = connectionSync.getSubsetImport.bind(connectionSync);
16262
- target.createSubsetImport = connectionSync.createSubsetImport.bind(connectionSync);
16263
- target.updateSubsetImport = connectionSync.updateSubsetImport.bind(connectionSync);
16264
- target.deleteSubsetImport = connectionSync.deleteSubsetImport.bind(connectionSync);
16265
- target.previewSubsetImportSelection = connectionSync.previewSubsetImportSelection.bind(connectionSync);
16266
- target.previewSubsetImport = connectionSync.previewSubsetImport.bind(connectionSync);
16267
- target.runSubsetImport = connectionSync.runSubsetImport.bind(connectionSync);
16268
- target.cancelSubsetImport = connectionSync.cancelSubsetImport.bind(connectionSync);
16269
- target.listSubsetImportRuns = connectionSync.listSubsetImportRuns.bind(connectionSync);
16270
- target.listSubsetImportVendorLists = connectionSync.listSubsetImportVendorLists.bind(connectionSync);
16271
- target.listSubsetImportFilterFields = connectionSync.listSubsetImportFilterFields.bind(connectionSync);
16272
- target.listAvailableAppConnections = appConnections.listAvailableAppConnections.bind(appConnections);
16273
- target.listAppConnections = appConnections.listAppConnections.bind(appConnections);
16274
- target.enablePlatformApp = appConnections.enablePlatformApp.bind(appConnections);
16275
- target.configureZendeskConnection = appConnections.configureZendeskConnection.bind(appConnections);
16276
- target.getPlatformApp = appConnections.getPlatformApp.bind(appConnections);
16277
- target.updatePlatformApp = appConnections.updatePlatformApp.bind(appConnections);
16278
- target.deletePlatformApp = appConnections.deletePlatformApp.bind(appConnections);
16279
- target.listConnectionMemberFieldKeys = appConnections.listConnectionMemberFieldKeys.bind(appConnections);
16280
- target.setDefaultGooglePlatformAccount = appConnections.setDefaultGooglePlatformAccount.bind(appConnections);
16052
+ function bindMethods(api, keys) {
16053
+ return Object.fromEntries(keys.map((key) => [key, api[key].bind(api)]));
16054
+ }
16055
+ function createIntegrationsBindings(apis) {
16056
+ return {
16057
+ getMondayBoards: apis.mondayIntegration.getBoards.bind(apis.mondayIntegration),
16058
+ getMondayBoardColumns: apis.mondayIntegration.getBoardColumns.bind(apis.mondayIntegration),
16059
+ getMondayBoardGroups: apis.mondayIntegration.getBoardGroups.bind(apis.mondayIntegration),
16060
+ getMondayCurrentUserInfo: apis.mondayIntegration.getCurrentUserInfo.bind(
16061
+ apis.mondayIntegration
16062
+ ),
16063
+ ...bindMethods(apis.mondayIntegration, [
16064
+ "installMondayConnection",
16065
+ "configureMondayConnection",
16066
+ "getMondayConnectionStatus",
16067
+ "authorizeMondayConnection",
16068
+ "testMondayConnection",
16069
+ "disconnectMondayConnection",
16070
+ "disableMondayConnection",
16071
+ "enableMondayConnection",
16072
+ "deleteMondayConnection",
16073
+ "getMondayConnectionBoards",
16074
+ "getMondayConnectionBoardColumns",
16075
+ "getMondayConnectionBoardGroups",
16076
+ "getMondaySyncConfig",
16077
+ "getMondaySyncLogs",
16078
+ "updateMondaySyncConfig",
16079
+ "validateMondaySyncConfig",
16080
+ "getLinkedMondayMembers",
16081
+ "getMondayReconciliationMatches",
16082
+ "linkMemberToMonday",
16083
+ "bulkLinkMembersToMonday",
16084
+ "unlinkMemberFromMonday",
16085
+ "getLinkedRecords",
16086
+ "importFromBoard",
16087
+ "autoCreateDataTypeFromBoard"
16088
+ ]),
16089
+ registerDiscordSlashCommands: apis.discordBots.registerSlashCommands.bind(apis.discordBots),
16090
+ ...bindMethods(apis.discordBots, [
16091
+ "getDiscordBots",
16092
+ "getDiscordBot",
16093
+ "createDiscordBot",
16094
+ "updateDiscordBot",
16095
+ "deleteDiscordBot",
16096
+ "registerLinkedRolesMetadata",
16097
+ "getDiscordThreads",
16098
+ "getDiscordGuilds",
16099
+ "getDiscordBotAccounts",
16100
+ "getMyCredentials",
16101
+ "unlinkCredential",
16102
+ "completeDiscordLink",
16103
+ "discordLinkPreflight"
16104
+ ]),
16105
+ ...bindMethods(apis.slackApps, [
16106
+ "getSlackApps",
16107
+ "getSlackApp",
16108
+ "createSlackApp",
16109
+ "updateSlackApp",
16110
+ "deleteSlackApp",
16111
+ "getSlackThreads",
16112
+ "getSlackInstallations",
16113
+ "removeSlackAccount",
16114
+ "removeSlackInstallation",
16115
+ "getSlackChannelChoices",
16116
+ "getSlackEntryPoints",
16117
+ "connectSlackEntryPoint",
16118
+ "getSlackAppAccounts"
16119
+ ]),
16120
+ ...bindMethods(apis.teamsApps, [
16121
+ "getTeamsApps",
16122
+ "getTeamsApp",
16123
+ "createTeamsApp",
16124
+ "updateTeamsApp",
16125
+ "deleteTeamsApp",
16126
+ "getTeamsConversations",
16127
+ "getTeamsInstallations",
16128
+ "getTeamsAppAccounts"
16129
+ ]),
16130
+ ...bindMethods(apis.fhirConnections, [
16131
+ "getFhirConnections",
16132
+ "getFhirConnection",
16133
+ "getFhirConnectionByUuid",
16134
+ "createFhirConnection",
16135
+ "updateFhirConnection",
16136
+ "deleteFhirConnection",
16137
+ "testFhirConnection",
16138
+ "fhirSearchPatients",
16139
+ "fhirSearchPractitioners",
16140
+ "fhirSearchLocations",
16141
+ "fhirFetchCareTeam",
16142
+ "fhirFetchEncounters",
16143
+ "fhirCreateEncounter",
16144
+ "fhirListLinkedMembers",
16145
+ "fhirCheckPatientLinks",
16146
+ "fhirLinkMember",
16147
+ "fhirUnlinkMember",
16148
+ "fhirSyncMember",
16149
+ "fhirImportPatient",
16150
+ "fhirCsvImportInspect",
16151
+ "fhirGetCsvImportSettings",
16152
+ "fhirUpdateCsvImportSettings",
16153
+ "fhirCsvImportApply",
16154
+ "fhirGetCsvImportRuns",
16155
+ "fhirGetCsvImportRunItems",
16156
+ "fhirGetEncounterSyncStatus",
16157
+ "fhirUpdateEncounterSync",
16158
+ "fhirRunEncounterSync",
16159
+ "fhirGetEncounterSyncRuns",
16160
+ "fhirRefreshEncounterPatient",
16161
+ "fhirBackfillEncounterSync",
16162
+ "getFhirConnectionSyncConfig",
16163
+ "getAthenaPlatformApp",
16164
+ "verifyAthenaAccess",
16165
+ "connectAthena"
16166
+ ]),
16167
+ ...bindMethods(apis.patientSyncConnections, [
16168
+ "configurePatientSync",
16169
+ "getPatientSyncStatus",
16170
+ "deletePatientSyncConnection"
16171
+ ]),
16172
+ ...bindMethods(apis.documoFax, [
16173
+ "getDocumoFaxStatus",
16174
+ "getDocumoFaxSetup",
16175
+ "listDocumoFaxes",
16176
+ "installDocumoFax",
16177
+ "configureDocumoFax",
16178
+ "verifyDocumoFax",
16179
+ "rotateDocumoFaxCredentials"
16180
+ ]),
16181
+ ...bindMethods(apis.claimMd, [
16182
+ "getClaimMdStatus",
16183
+ "installClaimMd",
16184
+ "configureClaimMd",
16185
+ "verifyClaimMdKey"
16186
+ ]),
16187
+ ...bindMethods(apis.stedi, ["getStediConnections", "getStediConnectionStatus"]),
16188
+ ...bindMethods(apis.healthie, [
16189
+ "configureHealthie",
16190
+ "getHealthieStatus",
16191
+ "listHealthieProviders",
16192
+ "linkCalendarToHealthie",
16193
+ "unlinkCalendarFromHealthie",
16194
+ "syncCalendarWithHealthie",
16195
+ "getLinkedHealthieMembers",
16196
+ "getHealthieReconciliationMatches",
16197
+ "getHealthieAppointmentPatientMatches",
16198
+ "linkMemberToHealthie",
16199
+ "unlinkMemberFromHealthie",
16200
+ "listHealthieAppointmentTypes",
16201
+ "listHealthiePatients",
16202
+ "getHealthieAvailableSlots",
16203
+ "bookHealthieAppointment"
16204
+ ]),
16205
+ ...bindMethods(apis.confluence, [
16206
+ "configureConfluence",
16207
+ "startConfluenceOAuth",
16208
+ "getConfluenceStatus",
16209
+ "disconnectConfluence",
16210
+ "disableConfluence",
16211
+ "enableConfluence",
16212
+ "deleteConfluence",
16213
+ "listConfluenceSpaces",
16214
+ "listConfluencePages"
16215
+ ]),
16216
+ ...bindMethods(apis.salesforce, [
16217
+ "installSalesforce",
16218
+ "configureSalesforce",
16219
+ "startSalesforceOAuth",
16220
+ "getSalesforceStatus",
16221
+ "disconnectSalesforce",
16222
+ "disableSalesforce",
16223
+ "enableSalesforce",
16224
+ "deleteSalesforce",
16225
+ "getSalesforceReconciliationMatches",
16226
+ "linkMemberToSalesforce",
16227
+ "linkUnlinkedSalesforceMembersByIdentity",
16228
+ "bulkLinkMembersToSalesforce",
16229
+ "unlinkMemberFromSalesforce",
16230
+ "getLinkedSalesforceMembers",
16231
+ "getSalesforceSyncConfig",
16232
+ "getSalesforceSyncLogs",
16233
+ "updateSalesforceSyncConfig",
16234
+ "validateSalesforceSyncConfig",
16235
+ "resyncSalesforceLinkedMembers",
16236
+ "listSalesforceObjects",
16237
+ "describeSalesforceObject",
16238
+ "searchSalesforceRecords",
16239
+ "importSalesforceMembers"
16240
+ ]),
16241
+ ...bindMethods(apis.hubspot, [
16242
+ "bindHubspotCalendar",
16243
+ "unlinkHubspotCalendar",
16244
+ "importHubspotCalendarEvents",
16245
+ "getHubspotBookingReceipt",
16246
+ "releaseHubspotBookingAttempt",
16247
+ "installHubspot",
16248
+ "configureHubspot",
16249
+ "startHubspotOAuth",
16250
+ "getHubspotStatus",
16251
+ "disconnectHubspot",
16252
+ "switchHubspotToPlatformApp",
16253
+ "disableHubspot",
16254
+ "enableHubspot",
16255
+ "deleteHubspot",
16256
+ "getHubspotReconciliationMatches",
16257
+ "linkMemberToHubspot",
16258
+ "bulkLinkMembersToHubspot",
16259
+ "unlinkMemberFromHubspot",
16260
+ "getLinkedHubspotMembers",
16261
+ "searchHubspotRecords",
16262
+ "importHubspotMembers",
16263
+ "getHubspotContactProperties",
16264
+ "getHubspotDealProperties",
16265
+ "getHubspotDealPipelines",
16266
+ "getHubspotForms",
16267
+ "getHubspotMeetingLinks",
16268
+ "getHubspotCrmObjects",
16269
+ "getHubspotObjectProperties",
16270
+ "getHubspotManagedRules",
16271
+ "getHubspotSyncLogs",
16272
+ "getHubspotTransformPresets"
16273
+ ]),
16274
+ ...bindMethods(apis.connectionSync, [
16275
+ "getConnectionSyncCapabilities",
16276
+ "getConnectionSyncConfig",
16277
+ "updateConnectionSyncConfig",
16278
+ "validateConnectionSyncConfig",
16279
+ "getConnectionSyncCheckpoint",
16280
+ "startSyncRun",
16281
+ "getSyncRuns",
16282
+ "getSyncRunItems",
16283
+ "getSyncRunItemsPage",
16284
+ "getMemberSyncSummary",
16285
+ "getSyncFailureSummary",
16286
+ "getSyncFailures",
16287
+ "getConnectionFieldHomes",
16288
+ "getInboundRecordStatus",
16289
+ "getOwnerMemberStatus",
16290
+ "getConnectionWritePreview",
16291
+ "clearConnectionMemberExclusion",
16292
+ "linkUnlinkedMembersByIdentity",
16293
+ "listSubsetImports",
16294
+ "getSubsetImport",
16295
+ "createSubsetImport",
16296
+ "updateSubsetImport",
16297
+ "deleteSubsetImport",
16298
+ "previewSubsetImportSelection",
16299
+ "previewSubsetImport",
16300
+ "runSubsetImport",
16301
+ "cancelSubsetImport",
16302
+ "listSubsetImportRuns",
16303
+ "listSubsetImportVendorLists",
16304
+ "listSubsetImportFilterFields"
16305
+ ]),
16306
+ ...bindMethods(apis.appConnections, [
16307
+ "listAvailableAppConnections",
16308
+ "listAppConnections",
16309
+ "enablePlatformApp",
16310
+ "configureZendeskConnection",
16311
+ "getPlatformApp",
16312
+ "updatePlatformApp",
16313
+ "deletePlatformApp",
16314
+ "listConnectionMemberFieldKeys",
16315
+ "setDefaultGooglePlatformAccount"
16316
+ ])
16317
+ };
16281
16318
  }
16282
16319
 
16283
16320
  // src/client/bindings/operator-groups.ts
@@ -16320,6 +16357,10 @@ function bindOrgMethods(target, org) {
16320
16357
  target.listLegalEntities = org.listLegalEntities.bind(org);
16321
16358
  target.getLegalEntity = org.getLegalEntity.bind(org);
16322
16359
  target.createLegalEntity = org.createLegalEntity.bind(org);
16360
+ target.getBusinessImportColumns = org.getBusinessImportColumns.bind(org);
16361
+ target.getBusinessImportTemplate = org.getBusinessImportTemplate.bind(org);
16362
+ target.previewBusinessImport = org.previewBusinessImport.bind(org);
16363
+ target.importBusinesses = org.importBusinesses.bind(org);
16323
16364
  target.getRegistrationDraft = org.getRegistrationDraft.bind(org);
16324
16365
  target.saveRegistrationDraft = org.saveRegistrationDraft.bind(org);
16325
16366
  target.getVoiceTrustProducts = org.getVoiceTrustProducts.bind(org);
@@ -16646,6 +16687,8 @@ var GravityRailClient = class {
16646
16687
  // Chats API
16647
16688
  chat;
16648
16689
  getChats;
16690
+ queryOrgChats;
16691
+ countOrgChats;
16649
16692
  getChat;
16650
16693
  getChatAttention;
16651
16694
  getChatByUuid;
@@ -16770,6 +16813,7 @@ var GravityRailClient = class {
16770
16813
  // Org-scoped, so deliberately absent from WORKSPACE_METHOD_NAMES: that proxy
16771
16814
  // passes a workspace uuid as the first argument.
16772
16815
  getOrgWorkspaceMember;
16816
+ searchOrgWorkspaceMembers;
16773
16817
  createWorkspaceMember;
16774
16818
  updateMember;
16775
16819
  deleteMember;
@@ -16836,16 +16880,9 @@ var GravityRailClient = class {
16836
16880
  getAgentTask;
16837
16881
  cancelAgentTask;
16838
16882
  getAgentTaskMessages;
16839
- // Agents API
16840
- getAgents;
16841
- getAgent;
16842
- createAgent;
16843
- updateAgent;
16844
- deleteAgent;
16845
- archiveAgent;
16846
- unarchiveAgent;
16847
- getOrgAgentJobs;
16848
- stopOrgAgentJob;
16883
+ // Org Agent Jobs API
16884
+ getBotJobs;
16885
+ stopBotJob;
16849
16886
  // Qualifications API
16850
16887
  getQualifications;
16851
16888
  getQualification;
@@ -16925,6 +16962,7 @@ var GravityRailClient = class {
16925
16962
  queryOrgActivityOneView;
16926
16963
  queryOrgActivityDigest;
16927
16964
  getOrgActivityCounts;
16965
+ listOrgWidgetWorkspaces;
16928
16966
  queryWorkspaceActivity;
16929
16967
  queryWorkspaceActivityLatestSubjects;
16930
16968
  queryWorkspaceActivityOpenItems;
@@ -17167,6 +17205,10 @@ var GravityRailClient = class {
17167
17205
  listLegalEntities;
17168
17206
  getLegalEntity;
17169
17207
  createLegalEntity;
17208
+ getBusinessImportColumns;
17209
+ getBusinessImportTemplate;
17210
+ previewBusinessImport;
17211
+ importBusinesses;
17170
17212
  getRegistrationDraft;
17171
17213
  saveRegistrationDraft;
17172
17214
  getVoiceTrustProducts;
@@ -17515,6 +17557,7 @@ var GravityRailClient = class {
17515
17557
  linkPhoneNumber;
17516
17558
  getInboxes;
17517
17559
  getInbox;
17560
+ getChatSenderInboxes;
17518
17561
  createInbox;
17519
17562
  updateInbox;
17520
17563
  deleteInbox;
@@ -17540,6 +17583,7 @@ var GravityRailClient = class {
17540
17583
  updateNotificationRule;
17541
17584
  deleteNotificationRule;
17542
17585
  getNotificationDestinations;
17586
+ getNotificationDelivery;
17543
17587
  // Toolkits API
17544
17588
  getToolkits;
17545
17589
  getTool;
@@ -17716,7 +17760,6 @@ var GravityRailClient = class {
17716
17760
  getTeamsConversations;
17717
17761
  getTeamsInstallations;
17718
17762
  getTeamsAppAccounts;
17719
- getTeamsNotificationDelivery;
17720
17763
  // FHIR Connections API
17721
17764
  getFhirConnections;
17722
17765
  getFhirConnection;
@@ -17843,6 +17886,7 @@ var GravityRailClient = class {
17843
17886
  importHubspotMembers;
17844
17887
  getHubspotContactProperties;
17845
17888
  getHubspotDealProperties;
17889
+ getHubspotDealPipelines;
17846
17890
  getHubspotForms;
17847
17891
  getHubspotMeetingLinks;
17848
17892
  getHubspotCrmObjects;
@@ -18000,7 +18044,7 @@ var GravityRailClient = class {
18000
18044
  bindDevicesMethods(this, apis.devices);
18001
18045
  bindMembersMethods(this, apis.members);
18002
18046
  bindAgentTasksMethods(this, apis.agentTasks);
18003
- bindAgentsMethods(this, apis.agents);
18047
+ bindBotJobsMethods(this, apis.botJobs);
18004
18048
  bindQualificationsMethods(this, apis.qualifications);
18005
18049
  bindPersonasMethods(this, apis.personas);
18006
18050
  bindMetricsMethods(this, apis.metrics);
@@ -18047,24 +18091,7 @@ var GravityRailClient = class {
18047
18091
  apis.oauth,
18048
18092
  apis.oauthConnections
18049
18093
  );
18050
- bindIntegrationsMethods(
18051
- this,
18052
- apis.mondayIntegration,
18053
- apis.discordBots,
18054
- apis.slackApps,
18055
- apis.teamsApps,
18056
- apis.fhirConnections,
18057
- apis.patientSyncConnections,
18058
- apis.healthie,
18059
- apis.documoFax,
18060
- apis.claimMd,
18061
- apis.stedi,
18062
- apis.salesforce,
18063
- apis.hubspot,
18064
- apis.appConnections,
18065
- apis.connectionSync,
18066
- apis.confluence
18067
- );
18094
+ Object.assign(this, createIntegrationsBindings(apis));
18068
18095
  bindPronunciationsMethods(this, apis.pronunciations);
18069
18096
  bindOrganizationBillingMethods(this, apis.customers);
18070
18097
  bindResellersMethods(this, apis.resellers);
@@ -19619,7 +19646,6 @@ export {
19619
19646
  InstallationsApi,
19620
19647
  AccessGrantsApi,
19621
19648
  AgentTasksApi,
19622
- AgentsApi,
19623
19649
  AIModelsApi,
19624
19650
  ApiKeysApi,
19625
19651
  AppLinksApi,
@@ -19659,6 +19685,7 @@ export {
19659
19685
  OrgApiKeyLimitUnconfirmedError,
19660
19686
  OrgWebhookScopeUnconfirmedError,
19661
19687
  OrgApi,
19688
+ BotJobsApi,
19662
19689
  OAuthConnectionsApi,
19663
19690
  OAuthApi,
19664
19691
  PhoneNumbersApi,
@@ -19824,7 +19851,7 @@ export {
19824
19851
  bindAppLinksMethods,
19825
19852
  bindInterventionRequestsMethods,
19826
19853
  bindAgentTasksMethods,
19827
- bindAgentsMethods,
19854
+ bindBotJobsMethods,
19828
19855
  bindTasksMethods,
19829
19856
  bindChatsMethods,
19830
19857
  bindCallsMethods,
@@ -19848,7 +19875,7 @@ export {
19848
19875
  bindToolkitsMethods,
19849
19876
  bindBillingMethods,
19850
19877
  bindAppsMethods,
19851
- bindIntegrationsMethods,
19878
+ createIntegrationsBindings,
19852
19879
  bindOperatorMethods,
19853
19880
  bindOrgMethods,
19854
19881
  bindPronunciationsMethods,
@@ -19952,4 +19979,4 @@ export {
19952
19979
  pathDraftFromStorage,
19953
19980
  pathDraftToStorage
19954
19981
  };
19955
- //# sourceMappingURL=chunk-MVWCWWRQ.js.map
19982
+ //# sourceMappingURL=chunk-AMJ2MMBM.js.map