@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
package/dist/internal.cjs CHANGED
@@ -39,7 +39,6 @@ __export(internal_exports, {
39
39
  ActivityWindowBasis: () => ActivityWindowBasis,
40
40
  AdminRoomMessageDeliveryReason: () => AdminRoomMessageDeliveryReason,
41
41
  AgentTasksApi: () => AgentTasksApi,
42
- AgentsApi: () => AgentsApi,
43
42
  AiConnectorPolicy: () => AiConnectorPolicy,
44
43
  AiDisclosure: () => AiDisclosure,
45
44
  ApiError: () => ApiError,
@@ -53,6 +52,7 @@ __export(internal_exports, {
53
52
  AuthApi: () => AuthApi,
54
53
  BUILTIN_ASSISTANT_CHAT_TYPES: () => BUILTIN_ASSISTANT_CHAT_TYPES,
55
54
  BaseApiClient: () => BaseApiClient,
55
+ BotJobsApi: () => BotJobsApi,
56
56
  BuildersApi: () => BuildersApi,
57
57
  BulkMemberResultStatus: () => BulkMemberResultStatus,
58
58
  BusinessIndustry: () => BusinessIndustry,
@@ -329,11 +329,11 @@ __export(internal_exports, {
329
329
  bindAccessGrantsMethods: () => bindAccessGrantsMethods,
330
330
  bindActivityMethods: () => bindActivityMethods,
331
331
  bindAgentTasksMethods: () => bindAgentTasksMethods,
332
- bindAgentsMethods: () => bindAgentsMethods,
333
332
  bindAppLinksMethods: () => bindAppLinksMethods,
334
333
  bindAppsMethods: () => bindAppsMethods,
335
334
  bindAuthMethods: () => bindAuthMethods,
336
335
  bindBillingMethods: () => bindBillingMethods,
336
+ bindBotJobsMethods: () => bindBotJobsMethods,
337
337
  bindBundlesMethods: () => bindBundlesMethods,
338
338
  bindCalendarsMethods: () => bindCalendarsMethods,
339
339
  bindCallsMethods: () => bindCallsMethods,
@@ -347,7 +347,6 @@ __export(internal_exports, {
347
347
  bindExperimentsMethods: () => bindExperimentsMethods,
348
348
  bindFilesMethods: () => bindFilesMethods,
349
349
  bindInstallationsMethods: () => bindInstallationsMethods,
350
- bindIntegrationsMethods: () => bindIntegrationsMethods,
351
350
  bindInterventionRequestsMethods: () => bindInterventionRequestsMethods,
352
351
  bindJourneysMethods: () => bindJourneysMethods,
353
352
  bindMembersMethods: () => bindMembersMethods,
@@ -374,6 +373,7 @@ __export(internal_exports, {
374
373
  canPreviewVoice: () => canPreviewVoice,
375
374
  clearRegistry: () => clearRegistry,
376
375
  createApiModules: () => createApiModules,
376
+ createIntegrationsBindings: () => createIntegrationsBindings,
377
377
  createWorkspaceClient: () => createWorkspaceClient,
378
378
  decodePermissions: () => decodePermissions,
379
379
  encodePermissions: () => encodePermissions,
@@ -638,7 +638,6 @@ var MemberType = /* @__PURE__ */ ((MemberType2) => {
638
638
  MemberType2["ANONYMOUS"] = "anonymous";
639
639
  MemberType2["TEST"] = "test";
640
640
  MemberType2["MEMBER"] = "member";
641
- MemberType2["AGENT"] = "agent";
642
641
  MemberType2["BUSINESS"] = "business";
643
642
  return MemberType2;
644
643
  })(MemberType || {});
@@ -767,6 +766,8 @@ var EventRuleActionType = /* @__PURE__ */ ((EventRuleActionType2) => {
767
766
  EventRuleActionType2["EMAIL_SEND"] = "email:send";
768
767
  EventRuleActionType2["INVOKE_CUSTOM_TOOL"] = "custom_tool:invoke";
769
768
  EventRuleActionType2["HUBSPOT_CREATE_DEAL_FROM_BOOKING"] = "hubspot:create_deal_from_booking";
769
+ EventRuleActionType2["HUBSPOT_UPDATE_CONTACT_DEALS"] = "hubspot:update_contact_deals";
770
+ EventRuleActionType2["HUBSPOT_UPDATE_CONTACT_PROPERTIES"] = "hubspot:update_contact_properties";
770
771
  EventRuleActionType2["ASSIGNMENT_CONCLUDE"] = "assignment:conclude";
771
772
  EventRuleActionType2["JOURNEY_ENROLL"] = "journey:enroll";
772
773
  EventRuleActionType2["SMS_SEND"] = "sms:send";
@@ -1413,14 +1414,12 @@ var MEMBER_RELATIONSHIP_KINDS = [
1413
1414
  "viewedMemberTypes": [
1414
1415
  "anonymous",
1415
1416
  "test",
1416
- "member",
1417
- "agent"
1417
+ "member"
1418
1418
  ],
1419
1419
  "relatedMemberTypes": [
1420
1420
  "anonymous",
1421
1421
  "test",
1422
- "member",
1423
- "agent"
1422
+ "member"
1424
1423
  ]
1425
1424
  },
1426
1425
  {
@@ -1431,14 +1430,12 @@ var MEMBER_RELATIONSHIP_KINDS = [
1431
1430
  "viewedMemberTypes": [
1432
1431
  "anonymous",
1433
1432
  "test",
1434
- "member",
1435
- "agent"
1433
+ "member"
1436
1434
  ],
1437
1435
  "relatedMemberTypes": [
1438
1436
  "anonymous",
1439
1437
  "test",
1440
- "member",
1441
- "agent"
1438
+ "member"
1442
1439
  ]
1443
1440
  }
1444
1441
  ]
@@ -1457,14 +1454,12 @@ var MEMBER_RELATIONSHIP_KINDS = [
1457
1454
  "viewedMemberTypes": [
1458
1455
  "anonymous",
1459
1456
  "test",
1460
- "member",
1461
- "agent"
1457
+ "member"
1462
1458
  ],
1463
1459
  "relatedMemberTypes": [
1464
1460
  "anonymous",
1465
1461
  "test",
1466
- "member",
1467
- "agent"
1462
+ "member"
1468
1463
  ]
1469
1464
  }
1470
1465
  ]
@@ -1483,14 +1478,12 @@ var MEMBER_RELATIONSHIP_KINDS = [
1483
1478
  "viewedMemberTypes": [
1484
1479
  "anonymous",
1485
1480
  "test",
1486
- "member",
1487
- "agent"
1481
+ "member"
1488
1482
  ],
1489
1483
  "relatedMemberTypes": [
1490
1484
  "anonymous",
1491
1485
  "test",
1492
- "member",
1493
- "agent"
1486
+ "member"
1494
1487
  ]
1495
1488
  }
1496
1489
  ]
@@ -1509,14 +1502,12 @@ var MEMBER_RELATIONSHIP_KINDS = [
1509
1502
  "viewedMemberTypes": [
1510
1503
  "anonymous",
1511
1504
  "test",
1512
- "member",
1513
- "agent"
1505
+ "member"
1514
1506
  ],
1515
1507
  "relatedMemberTypes": [
1516
1508
  "anonymous",
1517
1509
  "test",
1518
- "member",
1519
- "agent"
1510
+ "member"
1520
1511
  ]
1521
1512
  },
1522
1513
  {
@@ -1527,14 +1518,12 @@ var MEMBER_RELATIONSHIP_KINDS = [
1527
1518
  "viewedMemberTypes": [
1528
1519
  "anonymous",
1529
1520
  "test",
1530
- "member",
1531
- "agent"
1521
+ "member"
1532
1522
  ],
1533
1523
  "relatedMemberTypes": [
1534
1524
  "anonymous",
1535
1525
  "test",
1536
- "member",
1537
- "agent"
1526
+ "member"
1538
1527
  ]
1539
1528
  }
1540
1529
  ]
@@ -1553,14 +1542,12 @@ var MEMBER_RELATIONSHIP_KINDS = [
1553
1542
  "viewedMemberTypes": [
1554
1543
  "anonymous",
1555
1544
  "test",
1556
- "member",
1557
- "agent"
1545
+ "member"
1558
1546
  ],
1559
1547
  "relatedMemberTypes": [
1560
1548
  "anonymous",
1561
1549
  "test",
1562
- "member",
1563
- "agent"
1550
+ "member"
1564
1551
  ]
1565
1552
  },
1566
1553
  {
@@ -1571,14 +1558,12 @@ var MEMBER_RELATIONSHIP_KINDS = [
1571
1558
  "viewedMemberTypes": [
1572
1559
  "anonymous",
1573
1560
  "test",
1574
- "member",
1575
- "agent"
1561
+ "member"
1576
1562
  ],
1577
1563
  "relatedMemberTypes": [
1578
1564
  "anonymous",
1579
1565
  "test",
1580
- "member",
1581
- "agent"
1566
+ "member"
1582
1567
  ]
1583
1568
  }
1584
1569
  ]
@@ -1597,14 +1582,12 @@ var MEMBER_RELATIONSHIP_KINDS = [
1597
1582
  "viewedMemberTypes": [
1598
1583
  "anonymous",
1599
1584
  "test",
1600
- "member",
1601
- "agent"
1585
+ "member"
1602
1586
  ],
1603
1587
  "relatedMemberTypes": [
1604
1588
  "anonymous",
1605
1589
  "test",
1606
- "member",
1607
- "agent"
1590
+ "member"
1608
1591
  ]
1609
1592
  },
1610
1593
  {
@@ -1615,14 +1598,12 @@ var MEMBER_RELATIONSHIP_KINDS = [
1615
1598
  "viewedMemberTypes": [
1616
1599
  "anonymous",
1617
1600
  "test",
1618
- "member",
1619
- "agent"
1601
+ "member"
1620
1602
  ],
1621
1603
  "relatedMemberTypes": [
1622
1604
  "anonymous",
1623
1605
  "test",
1624
- "member",
1625
- "agent"
1606
+ "member"
1626
1607
  ]
1627
1608
  }
1628
1609
  ]
@@ -1641,14 +1622,12 @@ var MEMBER_RELATIONSHIP_KINDS = [
1641
1622
  "viewedMemberTypes": [
1642
1623
  "anonymous",
1643
1624
  "test",
1644
- "member",
1645
- "agent"
1625
+ "member"
1646
1626
  ],
1647
1627
  "relatedMemberTypes": [
1648
1628
  "anonymous",
1649
1629
  "test",
1650
- "member",
1651
- "agent"
1630
+ "member"
1652
1631
  ]
1653
1632
  },
1654
1633
  {
@@ -1659,14 +1638,12 @@ var MEMBER_RELATIONSHIP_KINDS = [
1659
1638
  "viewedMemberTypes": [
1660
1639
  "anonymous",
1661
1640
  "test",
1662
- "member",
1663
- "agent"
1641
+ "member"
1664
1642
  ],
1665
1643
  "relatedMemberTypes": [
1666
1644
  "anonymous",
1667
1645
  "test",
1668
- "member",
1669
- "agent"
1646
+ "member"
1670
1647
  ]
1671
1648
  }
1672
1649
  ]
@@ -1685,14 +1662,12 @@ var MEMBER_RELATIONSHIP_KINDS = [
1685
1662
  "viewedMemberTypes": [
1686
1663
  "anonymous",
1687
1664
  "test",
1688
- "member",
1689
- "agent"
1665
+ "member"
1690
1666
  ],
1691
1667
  "relatedMemberTypes": [
1692
1668
  "anonymous",
1693
1669
  "test",
1694
- "member",
1695
- "agent"
1670
+ "member"
1696
1671
  ]
1697
1672
  },
1698
1673
  {
@@ -1703,14 +1678,12 @@ var MEMBER_RELATIONSHIP_KINDS = [
1703
1678
  "viewedMemberTypes": [
1704
1679
  "anonymous",
1705
1680
  "test",
1706
- "member",
1707
- "agent"
1681
+ "member"
1708
1682
  ],
1709
1683
  "relatedMemberTypes": [
1710
1684
  "anonymous",
1711
1685
  "test",
1712
- "member",
1713
- "agent"
1686
+ "member"
1714
1687
  ]
1715
1688
  }
1716
1689
  ]
@@ -1729,14 +1702,12 @@ var MEMBER_RELATIONSHIP_KINDS = [
1729
1702
  "viewedMemberTypes": [
1730
1703
  "anonymous",
1731
1704
  "test",
1732
- "member",
1733
- "agent"
1705
+ "member"
1734
1706
  ],
1735
1707
  "relatedMemberTypes": [
1736
1708
  "anonymous",
1737
1709
  "test",
1738
- "member",
1739
- "agent"
1710
+ "member"
1740
1711
  ]
1741
1712
  },
1742
1713
  {
@@ -1747,14 +1718,12 @@ var MEMBER_RELATIONSHIP_KINDS = [
1747
1718
  "viewedMemberTypes": [
1748
1719
  "anonymous",
1749
1720
  "test",
1750
- "member",
1751
- "agent"
1721
+ "member"
1752
1722
  ],
1753
1723
  "relatedMemberTypes": [
1754
1724
  "anonymous",
1755
1725
  "test",
1756
- "member",
1757
- "agent"
1726
+ "member"
1758
1727
  ]
1759
1728
  }
1760
1729
  ]
@@ -1773,14 +1742,12 @@ var MEMBER_RELATIONSHIP_KINDS = [
1773
1742
  "viewedMemberTypes": [
1774
1743
  "anonymous",
1775
1744
  "test",
1776
- "member",
1777
- "agent"
1745
+ "member"
1778
1746
  ],
1779
1747
  "relatedMemberTypes": [
1780
1748
  "anonymous",
1781
1749
  "test",
1782
- "member",
1783
- "agent"
1750
+ "member"
1784
1751
  ]
1785
1752
  },
1786
1753
  {
@@ -1791,14 +1758,12 @@ var MEMBER_RELATIONSHIP_KINDS = [
1791
1758
  "viewedMemberTypes": [
1792
1759
  "anonymous",
1793
1760
  "test",
1794
- "member",
1795
- "agent"
1761
+ "member"
1796
1762
  ],
1797
1763
  "relatedMemberTypes": [
1798
1764
  "anonymous",
1799
1765
  "test",
1800
- "member",
1801
- "agent"
1766
+ "member"
1802
1767
  ]
1803
1768
  }
1804
1769
  ]
@@ -1817,14 +1782,12 @@ var MEMBER_RELATIONSHIP_KINDS = [
1817
1782
  "viewedMemberTypes": [
1818
1783
  "anonymous",
1819
1784
  "test",
1820
- "member",
1821
- "agent"
1785
+ "member"
1822
1786
  ],
1823
1787
  "relatedMemberTypes": [
1824
1788
  "anonymous",
1825
1789
  "test",
1826
- "member",
1827
- "agent"
1790
+ "member"
1828
1791
  ]
1829
1792
  },
1830
1793
  {
@@ -1835,14 +1798,12 @@ var MEMBER_RELATIONSHIP_KINDS = [
1835
1798
  "viewedMemberTypes": [
1836
1799
  "anonymous",
1837
1800
  "test",
1838
- "member",
1839
- "agent"
1801
+ "member"
1840
1802
  ],
1841
1803
  "relatedMemberTypes": [
1842
1804
  "anonymous",
1843
1805
  "test",
1844
- "member",
1845
- "agent"
1806
+ "member"
1846
1807
  ]
1847
1808
  }
1848
1809
  ]
@@ -2539,7 +2500,6 @@ var FileAuthorKind = {
2539
2500
  };
2540
2501
  var FileKind = {
2541
2502
  FILE: "FILE",
2542
- MEMORY: "MEMORY",
2543
2503
  SKILL: "SKILL"
2544
2504
  };
2545
2505
  var FileOrder = {
@@ -2574,7 +2534,10 @@ var FolderRoot = {
2574
2534
  HOME: "HOME",
2575
2535
  MEMORY: "MEMORY",
2576
2536
  SITE: "SITE",
2577
- WORKFLOW: "WORKFLOW"
2537
+ WORKFLOW: "WORKFLOW",
2538
+ BOT: "BOT",
2539
+ ME: "ME",
2540
+ AUDIENCE: "AUDIENCE"
2578
2541
  };
2579
2542
  var FolderView = {
2580
2543
  BASIC: "BASIC",
@@ -4831,8 +4794,6 @@ var AgentTasksApi = class extends BaseApiClient {
4831
4794
  async getAgentTasks(wid, params) {
4832
4795
  const searchParams = new URLSearchParams();
4833
4796
  if (params?.status) searchParams.set("status", params.status);
4834
- if (params?.agentMemberId != null)
4835
- searchParams.set("agent_member_id", String(params.agentMemberId));
4836
4797
  if (params?.parentTaskId != null)
4837
4798
  searchParams.set("parent_task_id", String(params.parentTaskId));
4838
4799
  if (params?.limit != null) searchParams.set("limit", String(params.limit));
@@ -4857,82 +4818,6 @@ var AgentTasksApi = class extends BaseApiClient {
4857
4818
  }
4858
4819
  };
4859
4820
 
4860
- // src/api/agents.ts
4861
- var AgentsApi = class extends BaseApiClient {
4862
- orgAgentJobsPath(orgUuid, agentUuid) {
4863
- return `o/${encodeURIComponent(orgUuid)}/agents/${encodeURIComponent(agentUuid)}/jobs`;
4864
- }
4865
- /** List the current organization's teammate's operational Agent Jobs. */
4866
- async getOrgAgentJobs(orgUuid, agentUuid, options = {}) {
4867
- const params = new URLSearchParams();
4868
- if (options.before) params.set("before", options.before);
4869
- if (options.limit !== void 0) params.set("limit", String(options.limit));
4870
- if (options.status) params.set("status", options.status);
4871
- const search = params.toString();
4872
- return this.fetch(
4873
- `${this.orgAgentJobsPath(orgUuid, agentUuid)}${search ? `?${search}` : ""}`
4874
- );
4875
- }
4876
- /** Stop one of the current teammate's Jobs and its active descendants. */
4877
- async stopOrgAgentJob(orgUuid, agentUuid, jobUuid) {
4878
- return this.fetch(
4879
- `${this.orgAgentJobsPath(orgUuid, agentUuid)}/${encodeURIComponent(jobUuid)}/stop`,
4880
- { method: "POST", body: JSON.stringify({}) }
4881
- );
4882
- }
4883
- /** List agents in a workspace with optional pagination, sorting, and search. */
4884
- async getAgents(wid, options = {}) {
4885
- const params = new URLSearchParams();
4886
- if (options.page) params.append("page", options.page.toString());
4887
- if (options.pageSize) params.append("pageSize", options.pageSize.toString());
4888
- if (options.sortBy) params.append("sortBy", options.sortBy);
4889
- if (options.sortOrder) params.append("sortOrder", options.sortOrder);
4890
- if (options.search) params.append("search", options.search);
4891
- if (options.includeArchived)
4892
- params.append("includeArchived", options.includeArchived.toString());
4893
- return this.fetch(
4894
- `w/${wid}/agents${params.toString() ? `?${params.toString()}` : ""}`
4895
- );
4896
- }
4897
- /** Get a single agent by ID. */
4898
- async getAgent(wid, id) {
4899
- return this.fetch(`w/${wid}/agents/${id}`);
4900
- }
4901
- /** Create a new agent in a workspace. */
4902
- async createAgent(wid, agent) {
4903
- return this.fetch(`w/${wid}/agents`, {
4904
- method: "POST",
4905
- body: JSON.stringify(agent)
4906
- });
4907
- }
4908
- /** Update an existing agent. */
4909
- async updateAgent(wid, id, agent) {
4910
- return this.fetch(`w/${wid}/agents/${id}`, {
4911
- method: "PUT",
4912
- body: JSON.stringify(agent)
4913
- });
4914
- }
4915
- /** Delete an agent by ID, optionally forcing deletion of agents with active references. */
4916
- async deleteAgent(wid, id, force) {
4917
- const params = force ? "?force=true" : "";
4918
- return this.fetch(`w/${wid}/agents/${id}${params}`, {
4919
- method: "DELETE"
4920
- });
4921
- }
4922
- /** Archive an agent, hiding it from default listings. */
4923
- async archiveAgent(wid, id) {
4924
- return this.fetch(`w/${wid}/agents/${id}/archive`, {
4925
- method: "POST"
4926
- });
4927
- }
4928
- /** Restore an archived agent back to active status. */
4929
- async unarchiveAgent(wid, id) {
4930
- return this.fetch(`w/${wid}/agents/${id}/unarchive`, {
4931
- method: "POST"
4932
- });
4933
- }
4934
- };
4935
-
4936
4821
  // src/api/ai-models.ts
4937
4822
  var AIModelsApi = class extends BaseApiClient {
4938
4823
  /**
@@ -5250,7 +5135,7 @@ var AssignmentsApi = class extends BaseApiClient {
5250
5135
  var VoiceApi = class extends BaseApiClient {
5251
5136
  /** Generate a text-to-speech audio preview for a given voice model. */
5252
5137
  async previewTTS(wid, request) {
5253
- const response = await this.fetchRaw(`w/${wid}/agents/tts-preview`, {
5138
+ const response = await this.fetchRaw(`w/${wid}/voice/tts-preview`, {
5254
5139
  method: "POST",
5255
5140
  headers: {
5256
5141
  "Content-Type": "application/json"
@@ -5261,7 +5146,7 @@ var VoiceApi = class extends BaseApiClient {
5261
5146
  }
5262
5147
  /** Generate a thinking sound audio preview. */
5263
5148
  async previewThinkingSound(wid, request) {
5264
- const response = await this.fetchRaw(`w/${wid}/agents/thinking-sound-preview`, {
5149
+ const response = await this.fetchRaw(`w/${wid}/voice/thinking-sound-preview`, {
5265
5150
  method: "POST",
5266
5151
  headers: {
5267
5152
  "Content-Type": "application/json"
@@ -6201,6 +6086,29 @@ var ChatsApi = class extends BaseApiClient {
6201
6086
  `w/${wid}/chats${queryString ? `?${queryString}` : ""}`
6202
6087
  );
6203
6088
  }
6089
+ /**
6090
+ * Chats across the Workspaces an Operator Tools widget session signed in
6091
+ * for this organization shows, in queue order: waiting Chats first, longest
6092
+ * wait first, then the rest by most recent message. Each row names its
6093
+ * Workspace. `requiredScopes` leaves out every Workspace where the caller
6094
+ * lacks one of the view's scopes. Answers only to a widget session.
6095
+ */
6096
+ async queryOrgChats(orgUuid, request) {
6097
+ return this.fetch(`o/${orgUuid}/chats/query`, {
6098
+ method: "POST",
6099
+ body: JSON.stringify({ ...request, countOnly: false })
6100
+ });
6101
+ }
6102
+ /**
6103
+ * How many Chats match the same organization read, without returning any
6104
+ * Chat, Workspace or Member. Answers only to a widget session.
6105
+ */
6106
+ async countOrgChats(orgUuid, request) {
6107
+ return this.fetch(`o/${orgUuid}/chats/query`, {
6108
+ method: "POST",
6109
+ body: JSON.stringify({ ...request, countOnly: true })
6110
+ });
6111
+ }
6204
6112
  /** Export multiple chats as a downloadable blob. */
6205
6113
  async exportChats(wid, options = {}) {
6206
6114
  const params = this.buildChatsQueryParams(options, false);
@@ -6419,11 +6327,9 @@ var ChatsApi = class extends BaseApiClient {
6419
6327
  }
6420
6328
  /** Create a new chat. */
6421
6329
  async createChat(wid, chat) {
6422
- const { agentMemberId, ...rest } = chat;
6423
- const payload = agentMemberId !== void 0 && rest.assistantMemberId === void 0 ? { ...rest, assistantMemberId: agentMemberId } : rest;
6424
6330
  return this.fetch(`w/${wid}/chats`, {
6425
6331
  method: "POST",
6426
- body: JSON.stringify(payload)
6332
+ body: JSON.stringify(chat)
6427
6333
  });
6428
6334
  }
6429
6335
  /**
@@ -7480,7 +7386,6 @@ var SlackAppsApi = class extends BaseApiClient {
7480
7386
  if (options.sortBy) params.append("sortBy", options.sortBy);
7481
7387
  if (options.sortOrder) params.append("sortOrder", options.sortOrder);
7482
7388
  if (options.search) params.append("search", options.search);
7483
- if (options.agentId !== void 0) params.set("agentId", String(options.agentId));
7484
7389
  if (options.workflowId !== void 0) params.set("workflowId", String(options.workflowId));
7485
7390
  if (options.managed !== void 0) params.set("managed", String(options.managed));
7486
7391
  return this.fetch(
@@ -7610,14 +7515,6 @@ var TeamsAppsApi = class extends BaseApiClient {
7610
7515
  `w/${wid}/app-connections/teams/apps/${appId}/installations${params.toString() ? `?${params.toString()}` : ""}`
7611
7516
  );
7612
7517
  }
7613
- /**
7614
- * The organization Bot Teams connection that delivers this workspace's
7615
- * notifications, the connections it may choose, and the caller's own
7616
- * readiness. Reads only; nothing is sent to Microsoft.
7617
- */
7618
- async getTeamsNotificationDelivery(wid) {
7619
- return this.fetch(`w/${wid}/notification-delivery/teams`);
7620
- }
7621
7518
  async getTeamsAppAccounts(wid, appId, options = {}) {
7622
7519
  const params = new URLSearchParams();
7623
7520
  if (options.page) params.append("page", options.page.toString());
@@ -7747,8 +7644,6 @@ var EventsApi = class extends BaseApiClient {
7747
7644
  if (options.sortOrder) params.append("sortOrder", options.sortOrder);
7748
7645
  if (options.owner) params.append("owner", options.owner);
7749
7646
  if (options.ownerId) params.append("ownerId", options.ownerId.toString());
7750
- if (options.agentId) params.append("agentId", options.agentId.toString());
7751
- if (options.agentOnly) params.append("agentOnly", "true");
7752
7647
  return this.fetch(
7753
7648
  `w/${wid}/routines${params.toString() ? `?${params.toString()}` : ""}`
7754
7649
  );
@@ -8884,6 +8779,16 @@ var InboxesApi = class extends BaseApiClient {
8884
8779
  async getInbox(wid, id) {
8885
8780
  return this.fetch(`w/${wid}/inboxes/${id}`);
8886
8781
  }
8782
+ /**
8783
+ * List the Inboxes a new email Chat can be sent from (`chats:write`).
8784
+ *
8785
+ * Only Inboxes the Member can see that can send now, as `id`, `name` and
8786
+ * `emailAddress`. `POST /chats` refuses an `inboxId` this list would not
8787
+ * offer.
8788
+ */
8789
+ async getChatSenderInboxes(wid) {
8790
+ return this.fetch(`w/${wid}/inboxes/chat-senders`);
8791
+ }
8887
8792
  /** Create a new inbox. */
8888
8793
  async createInbox(wid, inbox) {
8889
8794
  return this.fetch(`w/${wid}/inboxes`, {
@@ -9551,6 +9456,17 @@ var MembersApi = class extends BaseApiClient {
9551
9456
  `o/${orgUuid}/activity/workspaces/${workspaceUuid}/members/${memberId}`
9552
9457
  );
9553
9458
  }
9459
+ /**
9460
+ * Members across the Workspaces an Operator Tools widget session signed in
9461
+ * for this organization shows, up to 20, each naming its Workspace. The
9462
+ * search text travels in the body. Answers only to a widget session.
9463
+ */
9464
+ async searchOrgWorkspaceMembers(orgUuid, request) {
9465
+ return this.fetch(
9466
+ `o/${orgUuid}/workspace-members/search`,
9467
+ { method: "POST", body: JSON.stringify(request) }
9468
+ );
9469
+ }
9554
9470
  /** Create a new workspace member. */
9555
9471
  async createWorkspaceMember(wid, data) {
9556
9472
  return this.fetch(`w/${wid}/members`, {
@@ -10335,6 +10251,14 @@ var ActivityApi = class extends BaseApiClient {
10335
10251
  body: JSON.stringify(request)
10336
10252
  });
10337
10253
  }
10254
+ /**
10255
+ * The Workspaces an Operator Tools widget session signed in for this
10256
+ * organization reaches, as `{uuid, name}` pairs for its Workspace labels.
10257
+ * Answers only to a widget session; `[]` when it reaches none.
10258
+ */
10259
+ async listOrgWidgetWorkspaces(orgUuid) {
10260
+ return this.fetch(`o/${orgUuid}/widget-workspaces`, { method: "GET" });
10261
+ }
10338
10262
  /** The org mount's badge numbers. */
10339
10263
  async getOrgActivityCounts(orgUuid, request = {}) {
10340
10264
  return this.fetch(`o/${orgUuid}/activity/counts`, {
@@ -10758,14 +10682,25 @@ var NotificationRulesApi = class extends BaseApiClient {
10758
10682
  });
10759
10683
  }
10760
10684
  /**
10761
- * Approved, available shared destinations (Teams channels) a notification
10762
- * rule or Action may name. Choosing one never grants approval.
10685
+ * Approved, available shared destinations (Teams and Slack channels) a
10686
+ * notification rule or Action may name. Choosing one never grants approval.
10763
10687
  */
10764
10688
  async getNotificationDestinations(wid) {
10765
10689
  return this.fetch(
10766
10690
  `w/${wid}/notification-destinations`
10767
10691
  );
10768
10692
  }
10693
+ /**
10694
+ * The organization Bot connection that delivers this workspace's
10695
+ * notifications on one provider (`teams` or `slack`), the connections it
10696
+ * may choose, and the caller's own readiness. Reads only; nothing is sent
10697
+ * to the provider.
10698
+ */
10699
+ async getNotificationDelivery(wid, provider) {
10700
+ return this.fetch(
10701
+ `w/${wid}/notification-delivery/${provider}`
10702
+ );
10703
+ }
10769
10704
  /** Delete a notification rule. */
10770
10705
  async deleteNotificationRule(wid, ruleId) {
10771
10706
  return this.fetch(`w/${wid}/notification-rules/${ruleId}`, {
@@ -10832,11 +10767,16 @@ var OperatorApi = class extends BaseApiClient {
10832
10767
  `w/${wid}/operator/chats/${chatId}/messages?limit=${limit}&offset=${offset}`
10833
10768
  );
10834
10769
  }
10835
- /** Send a message in an operator chat. */
10836
- async sendOperatorMessage(wid, chatId, content) {
10770
+ /**
10771
+ * Send a message in an operator chat.
10772
+ *
10773
+ * `subject` applies to an email Chat only: required while the Chat holds no
10774
+ * linked Email (`operatorReplyNeedsSubject`), refused once it holds one.
10775
+ */
10776
+ async sendOperatorMessage(wid, chatId, content, subject) {
10837
10777
  return this.fetch(`w/${wid}/operator/chats/${chatId}/messages`, {
10838
10778
  method: "POST",
10839
- body: JSON.stringify({ content })
10779
+ body: JSON.stringify(subject === void 0 ? { content } : { content, subject })
10840
10780
  });
10841
10781
  }
10842
10782
  };
@@ -11647,6 +11587,35 @@ var OrgApi = class extends BaseApiClient {
11647
11587
  async getLegalEntity(orgUuid, legalEntityUuid) {
11648
11588
  return this.fetch(`o/${orgUuid}/legal-entities/${legalEntityUuid}`);
11649
11589
  }
11590
+ /** The columns a business CSV import reads, and the row and size limits on its file. */
11591
+ async getBusinessImportColumns(orgUuid) {
11592
+ return this.fetch(
11593
+ `o/${orgUuid}/legal-entities/import/columns`
11594
+ );
11595
+ }
11596
+ /** The business import template: CSV text whose only row is the header. */
11597
+ async getBusinessImportTemplate(orgUuid) {
11598
+ const response = await this.fetchRaw(`o/${orgUuid}/legal-entities/import/template`);
11599
+ return response.text();
11600
+ }
11601
+ /** Classify each row of a business CSV without writing; returns the token its import needs. */
11602
+ async previewBusinessImport(orgUuid, file) {
11603
+ return this.fetch(
11604
+ `o/${orgUuid}/legal-entities/import/preview`,
11605
+ { method: "POST", body: businessImportUpload(file) }
11606
+ );
11607
+ }
11608
+ /** Import a business CSV; without a `previewPlanToken` it previews the file first. */
11609
+ async importBusinesses(orgUuid, file, previewPlanToken) {
11610
+ const token = previewPlanToken ?? (await this.previewBusinessImport(orgUuid, file)).previewPlanToken;
11611
+ if (!token) throw new Error("The business import preview returned no plan token");
11612
+ const body = businessImportUpload(file);
11613
+ body.append("previewPlanToken", token);
11614
+ return this.fetch(`o/${orgUuid}/legal-entities/import`, {
11615
+ method: "POST",
11616
+ body
11617
+ });
11618
+ }
11650
11619
  /**
11651
11620
  * Read one registration draft for a legal entity.
11652
11621
  *
@@ -12194,10 +12163,41 @@ var OrgApi = class extends BaseApiClient {
12194
12163
  function businessProfilePath(orgUuid, legalEntityUuid) {
12195
12164
  return legalEntityUuid ? `o/${orgUuid}/legal-entities/${legalEntityUuid}/business-profile` : `o/${orgUuid}/business-profile`;
12196
12165
  }
12166
+ function businessImportUpload(file) {
12167
+ const body = new FormData();
12168
+ const name = "name" in file && typeof file.name === "string" ? file.name : "businesses.csv";
12169
+ body.append("file", file, name);
12170
+ return body;
12171
+ }
12197
12172
  function campaignQuery(options) {
12198
12173
  return options?.campaignUuid ? `?campaignUuid=${encodeURIComponent(options.campaignUuid)}` : "";
12199
12174
  }
12200
12175
 
12176
+ // src/api/bot-jobs.ts
12177
+ var BotJobsApi = class extends BaseApiClient {
12178
+ botJobsPath(orgUuid, agentUuid) {
12179
+ return `o/${encodeURIComponent(orgUuid)}/agents/${encodeURIComponent(agentUuid)}/jobs`;
12180
+ }
12181
+ /** List the organization Bot's operational Jobs. */
12182
+ async getBotJobs(orgUuid, agentUuid, options = {}) {
12183
+ const params = new URLSearchParams();
12184
+ if (options.before) params.set("before", options.before);
12185
+ if (options.limit !== void 0) params.set("limit", String(options.limit));
12186
+ if (options.status) params.set("status", options.status);
12187
+ const search = params.toString();
12188
+ return this.fetch(
12189
+ `${this.botJobsPath(orgUuid, agentUuid)}${search ? `?${search}` : ""}`
12190
+ );
12191
+ }
12192
+ /** Stop one of the organization Bot's Jobs and its active descendants. */
12193
+ async stopBotJob(orgUuid, agentUuid, jobUuid) {
12194
+ return this.fetch(
12195
+ `${this.botJobsPath(orgUuid, agentUuid)}/${encodeURIComponent(jobUuid)}/stop`,
12196
+ { method: "POST", body: JSON.stringify({}) }
12197
+ );
12198
+ }
12199
+ };
12200
+
12201
12201
  // src/api/oauth.ts
12202
12202
  function getOAuthPath(providerSlug, action) {
12203
12203
  if (providerSlug === "google_calendar") {
@@ -12343,9 +12343,10 @@ var PhoneNumbersApi = class extends BaseApiClient {
12343
12343
  * The numbers a Chat can be started from, for a Member with `chats:write`.
12344
12344
  *
12345
12345
  * Every non-archived workspace number in a slim shape (`id`, `number`,
12346
- * `name`, `isMapped`, `enableWhatsApp`) — no phone administration data, so
12347
- * it needs no `phones:read`. A row describes configuration, not permission
12348
- * to send.
12346
+ * `name`, `isMapped`, `enableWhatsApp`, `isWorkspaceDefault`, and whether
12347
+ * it can send SMS now, `canSendSms`, or place a call now, `canPlaceCall`)
12348
+ * — no phone administration data, so it needs no `phones:read`. A row
12349
+ * describes the number, not permission to send.
12349
12350
  */
12350
12351
  async getChatPhoneNumbers(wid) {
12351
12352
  return this.fetch(`w/${wid}/phone-numbers/chat-senders`);
@@ -13875,6 +13876,12 @@ var HubspotApi = class extends BaseApiClient {
13875
13876
  `w/${wid}/app-connections/hubspot/sync-settings/hs-properties?objectType=deals`
13876
13877
  );
13877
13878
  }
13879
+ /** The portal's active deal pipelines with their active stages. */
13880
+ async getHubspotDealPipelines(wid) {
13881
+ return this.fetch(
13882
+ `w/${wid}/app-connections/hubspot/sync-settings/deal-pipelines`
13883
+ );
13884
+ }
13878
13885
  /** The portal's Meetings booking links, or `missing_scope` without the scheduler scope. */
13879
13886
  async getHubspotMeetingLinks(wid) {
13880
13887
  return this.fetch(
@@ -14091,15 +14098,21 @@ var SitesApi = class extends BaseApiClient {
14091
14098
  /**
14092
14099
  * Get a theme's settings schema, the site's saved values, and capabilities.
14093
14100
  * Pass `theme` to resolve the schema for a theme other than the saved one
14094
- * (e.g. one the builder has selected but not yet saved).
14101
+ * (e.g. one the builder has selected but not yet saved). Pass `resolved: true` to
14102
+ * also receive `resolvedValues`, the saved theme's values as its render resolves them.
14095
14103
  */
14096
- async getThemeSettings(wid, siteId, theme) {
14097
- const query2 = theme ? `?theme=${encodeURIComponent(theme)}` : "";
14104
+ async getThemeSettings(wid, siteId, theme, options) {
14105
+ const params = new URLSearchParams();
14106
+ if (theme) params.set("theme", theme);
14107
+ if (options?.resolved) params.set("resolved", "true");
14108
+ const search = params.toString();
14109
+ const query2 = search ? `?${search}` : "";
14098
14110
  return this.fetch(`w/${wid}/sites/${siteId}/theme-settings${query2}`);
14099
14111
  }
14100
- /** Save values for the active theme's settings (validated against the schema). */
14101
- async updateThemeSettings(wid, siteId, values) {
14102
- return this.fetch(`w/${wid}/sites/${siteId}/theme-settings`, {
14112
+ /** Save values for the active theme's settings (validated against the schema). Pass `resolved: true` to also receive `resolvedValues`. */
14113
+ async updateThemeSettings(wid, siteId, values, options) {
14114
+ const query2 = options?.resolved ? "?resolved=true" : "";
14115
+ return this.fetch(`w/${wid}/sites/${siteId}/theme-settings${query2}`, {
14103
14116
  method: "PUT",
14104
14117
  body: JSON.stringify({ values })
14105
14118
  });
@@ -16775,7 +16788,7 @@ function createApiModules(apiKey, baseUrl, customFetch) {
16775
16788
  abilities: new AbilitiesApi(apiKey, baseUrl, customFetch),
16776
16789
  accessGrants: new AccessGrantsApi(apiKey, baseUrl, customFetch),
16777
16790
  agentTasks: new AgentTasksApi(apiKey, baseUrl, customFetch),
16778
- agents: new AgentsApi(apiKey, baseUrl, customFetch),
16791
+ botJobs: new BotJobsApi(apiKey, baseUrl, customFetch),
16779
16792
  aiModels: new AIModelsApi(apiKey, baseUrl, customFetch),
16780
16793
  apiKeys: new ApiKeysApi(apiKey, baseUrl, customFetch),
16781
16794
  appLinks: new AppLinksApi(apiKey, baseUrl, customFetch),
@@ -16864,7 +16877,6 @@ var WORKSPACE_METHOD_NAMES = [
16864
16877
  "addWorkspaceSupportRequestParticipants",
16865
16878
  "advanceStep",
16866
16879
  "approveWorkspaceInvitation",
16867
- "archiveAgent",
16868
16880
  "archiveChat",
16869
16881
  "archiveDataType",
16870
16882
  "archiveJourney",
@@ -16920,7 +16932,6 @@ var WORKSPACE_METHOD_NAMES = [
16920
16932
  "convertFile",
16921
16933
  "createAbility",
16922
16934
  "createAccessGrant",
16923
- "createAgent",
16924
16935
  "createApiKey",
16925
16936
  "createAssignment",
16926
16937
  "bindInstallationSlots",
@@ -17003,7 +17014,6 @@ var WORKSPACE_METHOD_NAMES = [
17003
17014
  "createWorkspaceRealtimeLoginToken",
17004
17015
  "createWorkspaceSupportRequest",
17005
17016
  "deleteAbility",
17006
- "deleteAgent",
17007
17017
  "deleteAssignment",
17008
17018
  "deleteCalendar",
17009
17019
  "deleteCalendarEvent",
@@ -17142,12 +17152,10 @@ var WORKSPACE_METHOD_NAMES = [
17142
17152
  "getAbilityTypes",
17143
17153
  "getAccessGrant",
17144
17154
  "getAccessGrants",
17145
- "getAgent",
17146
17155
  "getAgentModeAttention",
17147
17156
  "getAgentTask",
17148
17157
  "getAgentTaskMessages",
17149
17158
  "getAgentTasks",
17150
- "getAgents",
17151
17159
  "getAnonymousResolution",
17152
17160
  "getAnonymousFormSubmission",
17153
17161
  "getAnonymousFormSchema",
@@ -17347,6 +17355,7 @@ var WORKSPACE_METHOD_NAMES = [
17347
17355
  "getPatientSyncStatus",
17348
17356
  "getHubspotContactProperties",
17349
17357
  "getHubspotDealProperties",
17358
+ "getHubspotDealPipelines",
17350
17359
  "getHubspotForms",
17351
17360
  "getHubspotMeetingLinks",
17352
17361
  "getHubspotCrmObjects",
@@ -17366,6 +17375,7 @@ var WORKSPACE_METHOD_NAMES = [
17366
17375
  "getImportReadiness",
17367
17376
  "rebuildImportSkippedRules",
17368
17377
  "getInbox",
17378
+ "getChatSenderInboxes",
17369
17379
  "getInboxEmail",
17370
17380
  "getInboxEmails",
17371
17381
  "getInboxArchiveBlockers",
@@ -17430,6 +17440,7 @@ var WORKSPACE_METHOD_NAMES = [
17430
17440
  "getMyGivenGrants",
17431
17441
  "getMyReceivedGrants",
17432
17442
  "getNotification",
17443
+ "getNotificationDelivery",
17433
17444
  "getNotificationDestinations",
17434
17445
  "getNotificationRules",
17435
17446
  "getNotifications",
@@ -17514,7 +17525,6 @@ var WORKSPACE_METHOD_NAMES = [
17514
17525
  "getTeamsApps",
17515
17526
  "getTeamsConversations",
17516
17527
  "getTeamsInstallations",
17517
- "getTeamsNotificationDelivery",
17518
17528
  "getTemplateContext",
17519
17529
  "getChatTestRun",
17520
17530
  "getTestChatRun",
@@ -17578,7 +17588,6 @@ var WORKSPACE_METHOD_NAMES = [
17578
17588
  "initiateOutboundCall",
17579
17589
  "inspectPrompt",
17580
17590
  "installHubspot",
17581
- "installDocumoFax",
17582
17591
  "installMondayConnection",
17583
17592
  "installSalesforce",
17584
17593
  "inviteMemberCredentialUpdate",
@@ -17695,7 +17704,6 @@ var WORKSPACE_METHOD_NAMES = [
17695
17704
  "upgradeInstallation",
17696
17705
  "replaceBundleDraft",
17697
17706
  "replyToEmail",
17698
- "rotateDocumoFaxCredentials",
17699
17707
  "requestPhoneNumber",
17700
17708
  "requestWorkspaceMembership",
17701
17709
  "resetRoutineRuns",
@@ -17745,7 +17753,6 @@ var WORKSPACE_METHOD_NAMES = [
17745
17753
  "simulateJourney",
17746
17754
  "testRunJourney",
17747
17755
  "toggleFieldIndex",
17748
- "unarchiveAgent",
17749
17756
  "unarchiveChat",
17750
17757
  "unarchiveDataType",
17751
17758
  "unarchiveMember",
@@ -17764,7 +17771,6 @@ var WORKSPACE_METHOD_NAMES = [
17764
17771
  "unlinkMemberFromSalesforce",
17765
17772
  "unregisterPushSubscription",
17766
17773
  "updateAbility",
17767
- "updateAgent",
17768
17774
  "updateAssignment",
17769
17775
  "updateCalendar",
17770
17776
  "updateCalendarEvent",
@@ -17912,17 +17918,10 @@ function bindAgentTasksMethods(target, api) {
17912
17918
  target.getAgentTaskMessages = api.getAgentTaskMessages.bind(api);
17913
17919
  }
17914
17920
 
17915
- // src/client/bindings/agents.ts
17916
- function bindAgentsMethods(target, agents) {
17917
- target.getAgents = agents.getAgents.bind(agents);
17918
- target.getAgent = agents.getAgent.bind(agents);
17919
- target.createAgent = agents.createAgent.bind(agents);
17920
- target.updateAgent = agents.updateAgent.bind(agents);
17921
- target.deleteAgent = agents.deleteAgent.bind(agents);
17922
- target.archiveAgent = agents.archiveAgent.bind(agents);
17923
- target.unarchiveAgent = agents.unarchiveAgent.bind(agents);
17924
- target.getOrgAgentJobs = agents.getOrgAgentJobs.bind(agents);
17925
- target.stopOrgAgentJob = agents.stopOrgAgentJob.bind(agents);
17921
+ // src/client/bindings/bot-jobs.ts
17922
+ function bindBotJobsMethods(target, botJobs) {
17923
+ target.getBotJobs = botJobs.getBotJobs.bind(botJobs);
17924
+ target.stopBotJob = botJobs.stopBotJob.bind(botJobs);
17926
17925
  }
17927
17926
 
17928
17927
  // src/client/bindings/tasks.ts
@@ -17951,6 +17950,8 @@ function bindChatsMethods(target, chats) {
17951
17950
  target.createChatInteractionSession = chats.createChatInteractionSession.bind(chats);
17952
17951
  target.transitionChatInteractionSession = chats.transitionChatInteractionSession.bind(chats);
17953
17952
  target.getChats = chats.getChats.bind(chats);
17953
+ target.queryOrgChats = chats.queryOrgChats.bind(chats);
17954
+ target.countOrgChats = chats.countOrgChats.bind(chats);
17954
17955
  target.getChat = chats.getChat.bind(chats);
17955
17956
  target.getChatAttention = chats.getChatAttention.bind(chats);
17956
17957
  target.getChatByUuid = chats.getChatByUuid.bind(chats);
@@ -18054,6 +18055,7 @@ function bindActivityMethods(target, activity) {
18054
18055
  target.queryOrgActivityOneView = activity.queryOrgActivityOneView.bind(activity);
18055
18056
  target.queryOrgActivityDigest = activity.queryOrgActivityDigest.bind(activity);
18056
18057
  target.getOrgActivityCounts = activity.getOrgActivityCounts.bind(activity);
18058
+ target.listOrgWidgetWorkspaces = activity.listOrgWidgetWorkspaces.bind(activity);
18057
18059
  target.queryWorkspaceActivity = activity.queryWorkspaceActivity.bind(activity);
18058
18060
  target.queryWorkspaceActivityLatestSubjects = activity.queryWorkspaceActivityLatestSubjects.bind(activity);
18059
18061
  target.queryWorkspaceActivityOpenItems = activity.queryWorkspaceActivityOpenItems.bind(activity);
@@ -18148,6 +18150,7 @@ function bindMembersMethods(target, members) {
18148
18150
  target.getMemberSmsSenders = members.getMemberSmsSenders.bind(members);
18149
18151
  target.getMemberByUuid = members.getMemberByUuid.bind(members);
18150
18152
  target.getOrgWorkspaceMember = members.getOrgWorkspaceMember.bind(members);
18153
+ target.searchOrgWorkspaceMembers = members.searchOrgWorkspaceMembers.bind(members);
18151
18154
  target.createWorkspaceMember = members.createWorkspaceMember.bind(members);
18152
18155
  target.updateMember = members.updateMember.bind(members);
18153
18156
  target.deleteMember = members.deleteMember.bind(members);
@@ -18627,6 +18630,7 @@ function bindCommunicationsMethods(target, phoneNumbers, inboxes, notificationRu
18627
18630
  target.linkPhoneNumber = phoneNumbers.linkPhoneNumber.bind(phoneNumbers);
18628
18631
  target.getInboxes = inboxes.getInboxes.bind(inboxes);
18629
18632
  target.getInbox = inboxes.getInbox.bind(inboxes);
18633
+ target.getChatSenderInboxes = inboxes.getChatSenderInboxes.bind(inboxes);
18630
18634
  target.createInbox = inboxes.createInbox.bind(inboxes);
18631
18635
  target.updateInbox = inboxes.updateInbox.bind(inboxes);
18632
18636
  target.deleteInbox = inboxes.deleteInbox.bind(inboxes);
@@ -18652,6 +18656,7 @@ function bindCommunicationsMethods(target, phoneNumbers, inboxes, notificationRu
18652
18656
  target.updateNotificationRule = notificationRules.updateNotificationRule.bind(notificationRules);
18653
18657
  target.deleteNotificationRule = notificationRules.deleteNotificationRule.bind(notificationRules);
18654
18658
  target.getNotificationDestinations = notificationRules.getNotificationDestinations.bind(notificationRules);
18659
+ target.getNotificationDelivery = notificationRules.getNotificationDelivery.bind(notificationRules);
18655
18660
  }
18656
18661
 
18657
18662
  // src/client/bindings/toolkits.ts
@@ -18765,238 +18770,272 @@ function bindAppsMethods(target, apps, builders, inquiries, oauth, oauthConnecti
18765
18770
  }
18766
18771
 
18767
18772
  // src/client/bindings/integrations.ts
18768
- function bindIntegrationsMethods(target, mondayIntegration, discordBots, slackApps, teamsApps, fhirConnections, patientSyncConnections, healthie, documoFax, claimMd, stedi, salesforce, hubspot, appConnections, connectionSync, confluence) {
18769
- target.getMondayBoards = mondayIntegration.getBoards.bind(mondayIntegration);
18770
- target.getMondayBoardColumns = mondayIntegration.getBoardColumns.bind(mondayIntegration);
18771
- target.getMondayBoardGroups = mondayIntegration.getBoardGroups.bind(mondayIntegration);
18772
- target.getMondayCurrentUserInfo = mondayIntegration.getCurrentUserInfo.bind(mondayIntegration);
18773
- target.installMondayConnection = mondayIntegration.installMondayConnection.bind(mondayIntegration);
18774
- target.configureMondayConnection = mondayIntegration.configureMondayConnection.bind(mondayIntegration);
18775
- target.getMondayConnectionStatus = mondayIntegration.getMondayConnectionStatus.bind(mondayIntegration);
18776
- target.authorizeMondayConnection = mondayIntegration.authorizeMondayConnection.bind(mondayIntegration);
18777
- target.testMondayConnection = mondayIntegration.testMondayConnection.bind(mondayIntegration);
18778
- target.disconnectMondayConnection = mondayIntegration.disconnectMondayConnection.bind(mondayIntegration);
18779
- target.disableMondayConnection = mondayIntegration.disableMondayConnection.bind(mondayIntegration);
18780
- target.enableMondayConnection = mondayIntegration.enableMondayConnection.bind(mondayIntegration);
18781
- target.deleteMondayConnection = mondayIntegration.deleteMondayConnection.bind(mondayIntegration);
18782
- target.getMondayConnectionBoards = mondayIntegration.getMondayConnectionBoards.bind(mondayIntegration);
18783
- target.getMondayConnectionBoardColumns = mondayIntegration.getMondayConnectionBoardColumns.bind(mondayIntegration);
18784
- target.getMondayConnectionBoardGroups = mondayIntegration.getMondayConnectionBoardGroups.bind(mondayIntegration);
18785
- target.getMondaySyncConfig = mondayIntegration.getMondaySyncConfig.bind(mondayIntegration);
18786
- target.getMondaySyncLogs = mondayIntegration.getMondaySyncLogs.bind(mondayIntegration);
18787
- target.updateMondaySyncConfig = mondayIntegration.updateMondaySyncConfig.bind(mondayIntegration);
18788
- target.validateMondaySyncConfig = mondayIntegration.validateMondaySyncConfig.bind(mondayIntegration);
18789
- target.getLinkedMondayMembers = mondayIntegration.getLinkedMondayMembers.bind(mondayIntegration);
18790
- target.getMondayReconciliationMatches = mondayIntegration.getMondayReconciliationMatches.bind(mondayIntegration);
18791
- target.linkMemberToMonday = mondayIntegration.linkMemberToMonday.bind(mondayIntegration);
18792
- target.bulkLinkMembersToMonday = mondayIntegration.bulkLinkMembersToMonday.bind(mondayIntegration);
18793
- target.unlinkMemberFromMonday = mondayIntegration.unlinkMemberFromMonday.bind(mondayIntegration);
18794
- target.getLinkedRecords = mondayIntegration.getLinkedRecords.bind(mondayIntegration);
18795
- target.importFromBoard = mondayIntegration.importFromBoard.bind(mondayIntegration);
18796
- target.autoCreateDataTypeFromBoard = mondayIntegration.autoCreateDataTypeFromBoard.bind(mondayIntegration);
18797
- target.getDiscordBots = discordBots.getDiscordBots.bind(discordBots);
18798
- target.getDiscordBot = discordBots.getDiscordBot.bind(discordBots);
18799
- target.createDiscordBot = discordBots.createDiscordBot.bind(discordBots);
18800
- target.updateDiscordBot = discordBots.updateDiscordBot.bind(discordBots);
18801
- target.deleteDiscordBot = discordBots.deleteDiscordBot.bind(discordBots);
18802
- target.registerDiscordSlashCommands = discordBots.registerSlashCommands.bind(discordBots);
18803
- target.registerLinkedRolesMetadata = discordBots.registerLinkedRolesMetadata.bind(discordBots);
18804
- target.getDiscordThreads = discordBots.getDiscordThreads.bind(discordBots);
18805
- target.getDiscordGuilds = discordBots.getDiscordGuilds.bind(discordBots);
18806
- target.getDiscordBotAccounts = discordBots.getDiscordBotAccounts.bind(discordBots);
18807
- target.getMyCredentials = discordBots.getMyCredentials.bind(discordBots);
18808
- target.unlinkCredential = discordBots.unlinkCredential.bind(discordBots);
18809
- target.completeDiscordLink = discordBots.completeDiscordLink.bind(discordBots);
18810
- target.discordLinkPreflight = discordBots.discordLinkPreflight.bind(discordBots);
18811
- target.getSlackApps = slackApps.getSlackApps.bind(slackApps);
18812
- target.getSlackApp = slackApps.getSlackApp.bind(slackApps);
18813
- target.createSlackApp = slackApps.createSlackApp.bind(slackApps);
18814
- target.updateSlackApp = slackApps.updateSlackApp.bind(slackApps);
18815
- target.deleteSlackApp = slackApps.deleteSlackApp.bind(slackApps);
18816
- target.getSlackThreads = slackApps.getSlackThreads.bind(slackApps);
18817
- target.getSlackInstallations = slackApps.getSlackInstallations.bind(slackApps);
18818
- target.removeSlackAccount = slackApps.removeSlackAccount.bind(slackApps);
18819
- target.removeSlackInstallation = slackApps.removeSlackInstallation.bind(slackApps);
18820
- target.getSlackChannelChoices = slackApps.getSlackChannelChoices.bind(slackApps);
18821
- target.getSlackEntryPoints = slackApps.getSlackEntryPoints.bind(slackApps);
18822
- target.connectSlackEntryPoint = slackApps.connectSlackEntryPoint.bind(slackApps);
18823
- target.getSlackAppAccounts = slackApps.getSlackAppAccounts.bind(slackApps);
18824
- target.getTeamsApps = teamsApps.getTeamsApps.bind(teamsApps);
18825
- target.getTeamsApp = teamsApps.getTeamsApp.bind(teamsApps);
18826
- target.createTeamsApp = teamsApps.createTeamsApp.bind(teamsApps);
18827
- target.updateTeamsApp = teamsApps.updateTeamsApp.bind(teamsApps);
18828
- target.deleteTeamsApp = teamsApps.deleteTeamsApp.bind(teamsApps);
18829
- target.getTeamsConversations = teamsApps.getTeamsConversations.bind(teamsApps);
18830
- target.getTeamsInstallations = teamsApps.getTeamsInstallations.bind(teamsApps);
18831
- target.getTeamsAppAccounts = teamsApps.getTeamsAppAccounts.bind(teamsApps);
18832
- target.getTeamsNotificationDelivery = teamsApps.getTeamsNotificationDelivery.bind(teamsApps);
18833
- target.getFhirConnections = fhirConnections.getFhirConnections.bind(fhirConnections);
18834
- target.getFhirConnection = fhirConnections.getFhirConnection.bind(fhirConnections);
18835
- target.getFhirConnectionByUuid = fhirConnections.getFhirConnectionByUuid.bind(fhirConnections);
18836
- target.createFhirConnection = fhirConnections.createFhirConnection.bind(fhirConnections);
18837
- target.updateFhirConnection = fhirConnections.updateFhirConnection.bind(fhirConnections);
18838
- target.deleteFhirConnection = fhirConnections.deleteFhirConnection.bind(fhirConnections);
18839
- target.testFhirConnection = fhirConnections.testFhirConnection.bind(fhirConnections);
18840
- target.fhirSearchPatients = fhirConnections.fhirSearchPatients.bind(fhirConnections);
18841
- target.fhirSearchPractitioners = fhirConnections.fhirSearchPractitioners.bind(fhirConnections);
18842
- target.fhirSearchLocations = fhirConnections.fhirSearchLocations.bind(fhirConnections);
18843
- target.fhirFetchCareTeam = fhirConnections.fhirFetchCareTeam.bind(fhirConnections);
18844
- target.fhirFetchEncounters = fhirConnections.fhirFetchEncounters.bind(fhirConnections);
18845
- target.fhirCreateEncounter = fhirConnections.fhirCreateEncounter.bind(fhirConnections);
18846
- target.fhirListLinkedMembers = fhirConnections.fhirListLinkedMembers.bind(fhirConnections);
18847
- target.fhirCheckPatientLinks = fhirConnections.fhirCheckPatientLinks.bind(fhirConnections);
18848
- target.fhirLinkMember = fhirConnections.fhirLinkMember.bind(fhirConnections);
18849
- target.fhirUnlinkMember = fhirConnections.fhirUnlinkMember.bind(fhirConnections);
18850
- target.fhirSyncMember = fhirConnections.fhirSyncMember.bind(fhirConnections);
18851
- target.fhirImportPatient = fhirConnections.fhirImportPatient.bind(fhirConnections);
18852
- target.fhirCsvImportInspect = fhirConnections.fhirCsvImportInspect.bind(fhirConnections);
18853
- target.fhirGetCsvImportSettings = fhirConnections.fhirGetCsvImportSettings.bind(fhirConnections);
18854
- target.fhirUpdateCsvImportSettings = fhirConnections.fhirUpdateCsvImportSettings.bind(fhirConnections);
18855
- target.fhirCsvImportApply = fhirConnections.fhirCsvImportApply.bind(fhirConnections);
18856
- target.fhirGetCsvImportRuns = fhirConnections.fhirGetCsvImportRuns.bind(fhirConnections);
18857
- target.fhirGetCsvImportRunItems = fhirConnections.fhirGetCsvImportRunItems.bind(fhirConnections);
18858
- target.fhirGetEncounterSyncStatus = fhirConnections.fhirGetEncounterSyncStatus.bind(fhirConnections);
18859
- target.fhirUpdateEncounterSync = fhirConnections.fhirUpdateEncounterSync.bind(fhirConnections);
18860
- target.fhirRunEncounterSync = fhirConnections.fhirRunEncounterSync.bind(fhirConnections);
18861
- target.fhirGetEncounterSyncRuns = fhirConnections.fhirGetEncounterSyncRuns.bind(fhirConnections);
18862
- target.fhirRefreshEncounterPatient = fhirConnections.fhirRefreshEncounterPatient.bind(fhirConnections);
18863
- target.fhirBackfillEncounterSync = fhirConnections.fhirBackfillEncounterSync.bind(fhirConnections);
18864
- target.getFhirConnectionSyncConfig = fhirConnections.getFhirConnectionSyncConfig.bind(fhirConnections);
18865
- target.getAthenaPlatformApp = fhirConnections.getAthenaPlatformApp.bind(fhirConnections);
18866
- target.verifyAthenaAccess = fhirConnections.verifyAthenaAccess.bind(fhirConnections);
18867
- target.connectAthena = fhirConnections.connectAthena.bind(fhirConnections);
18868
- target.configurePatientSync = patientSyncConnections.configurePatientSync.bind(patientSyncConnections);
18869
- target.getPatientSyncStatus = patientSyncConnections.getPatientSyncStatus.bind(patientSyncConnections);
18870
- target.deletePatientSyncConnection = patientSyncConnections.deletePatientSyncConnection.bind(patientSyncConnections);
18871
- target.getDocumoFaxStatus = documoFax.getDocumoFaxStatus.bind(documoFax);
18872
- target.getDocumoFaxSetup = documoFax.getDocumoFaxSetup.bind(documoFax);
18873
- target.listDocumoFaxes = documoFax.listDocumoFaxes.bind(documoFax);
18874
- target.installDocumoFax = documoFax.installDocumoFax.bind(documoFax);
18875
- target.configureDocumoFax = documoFax.configureDocumoFax.bind(documoFax);
18876
- target.verifyDocumoFax = documoFax.verifyDocumoFax.bind(documoFax);
18877
- target.rotateDocumoFaxCredentials = documoFax.rotateDocumoFaxCredentials.bind(documoFax);
18878
- target.getClaimMdStatus = claimMd.getClaimMdStatus.bind(claimMd);
18879
- target.installClaimMd = claimMd.installClaimMd.bind(claimMd);
18880
- target.configureClaimMd = claimMd.configureClaimMd.bind(claimMd);
18881
- target.verifyClaimMdKey = claimMd.verifyClaimMdKey.bind(claimMd);
18882
- target.getStediConnections = stedi.getStediConnections.bind(stedi);
18883
- target.getStediConnectionStatus = stedi.getStediConnectionStatus.bind(stedi);
18884
- target.configureHealthie = healthie.configureHealthie.bind(healthie);
18885
- target.getHealthieStatus = healthie.getHealthieStatus.bind(healthie);
18886
- target.listHealthieProviders = healthie.listHealthieProviders.bind(healthie);
18887
- target.linkCalendarToHealthie = healthie.linkCalendarToHealthie.bind(healthie);
18888
- target.unlinkCalendarFromHealthie = healthie.unlinkCalendarFromHealthie.bind(healthie);
18889
- target.syncCalendarWithHealthie = healthie.syncCalendarWithHealthie.bind(healthie);
18890
- target.getLinkedHealthieMembers = healthie.getLinkedHealthieMembers.bind(healthie);
18891
- target.getHealthieReconciliationMatches = healthie.getHealthieReconciliationMatches.bind(healthie);
18892
- target.getHealthieAppointmentPatientMatches = healthie.getHealthieAppointmentPatientMatches.bind(healthie);
18893
- target.linkMemberToHealthie = healthie.linkMemberToHealthie.bind(healthie);
18894
- target.unlinkMemberFromHealthie = healthie.unlinkMemberFromHealthie.bind(healthie);
18895
- target.listHealthieAppointmentTypes = healthie.listHealthieAppointmentTypes.bind(healthie);
18896
- target.listHealthiePatients = healthie.listHealthiePatients.bind(healthie);
18897
- target.getHealthieAvailableSlots = healthie.getHealthieAvailableSlots.bind(healthie);
18898
- target.bookHealthieAppointment = healthie.bookHealthieAppointment.bind(healthie);
18899
- target.configureConfluence = confluence.configureConfluence.bind(confluence);
18900
- target.startConfluenceOAuth = confluence.startConfluenceOAuth.bind(confluence);
18901
- target.getConfluenceStatus = confluence.getConfluenceStatus.bind(confluence);
18902
- target.disconnectConfluence = confluence.disconnectConfluence.bind(confluence);
18903
- target.disableConfluence = confluence.disableConfluence.bind(confluence);
18904
- target.enableConfluence = confluence.enableConfluence.bind(confluence);
18905
- target.deleteConfluence = confluence.deleteConfluence.bind(confluence);
18906
- target.listConfluenceSpaces = confluence.listConfluenceSpaces.bind(confluence);
18907
- target.listConfluencePages = confluence.listConfluencePages.bind(confluence);
18908
- target.installSalesforce = salesforce.installSalesforce.bind(salesforce);
18909
- target.configureSalesforce = salesforce.configureSalesforce.bind(salesforce);
18910
- target.startSalesforceOAuth = salesforce.startSalesforceOAuth.bind(salesforce);
18911
- target.getSalesforceStatus = salesforce.getSalesforceStatus.bind(salesforce);
18912
- target.disconnectSalesforce = salesforce.disconnectSalesforce.bind(salesforce);
18913
- target.disableSalesforce = salesforce.disableSalesforce.bind(salesforce);
18914
- target.enableSalesforce = salesforce.enableSalesforce.bind(salesforce);
18915
- target.deleteSalesforce = salesforce.deleteSalesforce.bind(salesforce);
18916
- target.getSalesforceReconciliationMatches = salesforce.getSalesforceReconciliationMatches.bind(salesforce);
18917
- target.linkMemberToSalesforce = salesforce.linkMemberToSalesforce.bind(salesforce);
18918
- target.linkUnlinkedSalesforceMembersByIdentity = salesforce.linkUnlinkedSalesforceMembersByIdentity.bind(salesforce);
18919
- target.bulkLinkMembersToSalesforce = salesforce.bulkLinkMembersToSalesforce.bind(salesforce);
18920
- target.unlinkMemberFromSalesforce = salesforce.unlinkMemberFromSalesforce.bind(salesforce);
18921
- target.getLinkedSalesforceMembers = salesforce.getLinkedSalesforceMembers.bind(salesforce);
18922
- target.getSalesforceSyncConfig = salesforce.getSalesforceSyncConfig.bind(salesforce);
18923
- target.getSalesforceSyncLogs = salesforce.getSalesforceSyncLogs.bind(salesforce);
18924
- target.updateSalesforceSyncConfig = salesforce.updateSalesforceSyncConfig.bind(salesforce);
18925
- target.validateSalesforceSyncConfig = salesforce.validateSalesforceSyncConfig.bind(salesforce);
18926
- target.resyncSalesforceLinkedMembers = salesforce.resyncSalesforceLinkedMembers.bind(salesforce);
18927
- target.listSalesforceObjects = salesforce.listSalesforceObjects.bind(salesforce);
18928
- target.describeSalesforceObject = salesforce.describeSalesforceObject.bind(salesforce);
18929
- target.searchSalesforceRecords = salesforce.searchSalesforceRecords.bind(salesforce);
18930
- target.importSalesforceMembers = salesforce.importSalesforceMembers.bind(salesforce);
18931
- target.bindHubspotCalendar = hubspot.bindHubspotCalendar.bind(hubspot);
18932
- target.unlinkHubspotCalendar = hubspot.unlinkHubspotCalendar.bind(hubspot);
18933
- target.importHubspotCalendarEvents = hubspot.importHubspotCalendarEvents.bind(hubspot);
18934
- target.getHubspotBookingReceipt = hubspot.getHubspotBookingReceipt.bind(hubspot);
18935
- target.releaseHubspotBookingAttempt = hubspot.releaseHubspotBookingAttempt.bind(hubspot);
18936
- target.installHubspot = hubspot.installHubspot.bind(hubspot);
18937
- target.configureHubspot = hubspot.configureHubspot.bind(hubspot);
18938
- target.startHubspotOAuth = hubspot.startHubspotOAuth.bind(hubspot);
18939
- target.getHubspotStatus = hubspot.getHubspotStatus.bind(hubspot);
18940
- target.disconnectHubspot = hubspot.disconnectHubspot.bind(hubspot);
18941
- target.switchHubspotToPlatformApp = hubspot.switchHubspotToPlatformApp.bind(hubspot);
18942
- target.disableHubspot = hubspot.disableHubspot.bind(hubspot);
18943
- target.enableHubspot = hubspot.enableHubspot.bind(hubspot);
18944
- target.deleteHubspot = hubspot.deleteHubspot.bind(hubspot);
18945
- target.getHubspotReconciliationMatches = hubspot.getHubspotReconciliationMatches.bind(hubspot);
18946
- target.linkMemberToHubspot = hubspot.linkMemberToHubspot.bind(hubspot);
18947
- target.bulkLinkMembersToHubspot = hubspot.bulkLinkMembersToHubspot.bind(hubspot);
18948
- target.unlinkMemberFromHubspot = hubspot.unlinkMemberFromHubspot.bind(hubspot);
18949
- target.getLinkedHubspotMembers = hubspot.getLinkedHubspotMembers.bind(hubspot);
18950
- target.searchHubspotRecords = hubspot.searchHubspotRecords.bind(hubspot);
18951
- target.importHubspotMembers = hubspot.importHubspotMembers.bind(hubspot);
18952
- target.getHubspotContactProperties = hubspot.getHubspotContactProperties.bind(hubspot);
18953
- target.getHubspotDealProperties = hubspot.getHubspotDealProperties.bind(hubspot);
18954
- target.getHubspotForms = hubspot.getHubspotForms.bind(hubspot);
18955
- target.getHubspotMeetingLinks = hubspot.getHubspotMeetingLinks.bind(hubspot);
18956
- target.getHubspotCrmObjects = hubspot.getHubspotCrmObjects.bind(hubspot);
18957
- target.getHubspotObjectProperties = hubspot.getHubspotObjectProperties.bind(hubspot);
18958
- target.getHubspotManagedRules = hubspot.getHubspotManagedRules.bind(hubspot);
18959
- target.getHubspotSyncLogs = hubspot.getHubspotSyncLogs.bind(hubspot);
18960
- target.getHubspotTransformPresets = hubspot.getHubspotTransformPresets.bind(hubspot);
18961
- target.getConnectionSyncCapabilities = connectionSync.getConnectionSyncCapabilities.bind(connectionSync);
18962
- target.getConnectionSyncConfig = connectionSync.getConnectionSyncConfig.bind(connectionSync);
18963
- target.updateConnectionSyncConfig = connectionSync.updateConnectionSyncConfig.bind(connectionSync);
18964
- target.validateConnectionSyncConfig = connectionSync.validateConnectionSyncConfig.bind(connectionSync);
18965
- target.getConnectionSyncCheckpoint = connectionSync.getConnectionSyncCheckpoint.bind(connectionSync);
18966
- target.startSyncRun = connectionSync.startSyncRun.bind(connectionSync);
18967
- target.getSyncRuns = connectionSync.getSyncRuns.bind(connectionSync);
18968
- target.getSyncRunItems = connectionSync.getSyncRunItems.bind(connectionSync);
18969
- target.getSyncRunItemsPage = connectionSync.getSyncRunItemsPage.bind(connectionSync);
18970
- target.getMemberSyncSummary = connectionSync.getMemberSyncSummary.bind(connectionSync);
18971
- target.getSyncFailureSummary = connectionSync.getSyncFailureSummary.bind(connectionSync);
18972
- target.getSyncFailures = connectionSync.getSyncFailures.bind(connectionSync);
18973
- target.getConnectionFieldHomes = connectionSync.getConnectionFieldHomes.bind(connectionSync);
18974
- target.getInboundRecordStatus = connectionSync.getInboundRecordStatus.bind(connectionSync);
18975
- target.getOwnerMemberStatus = connectionSync.getOwnerMemberStatus.bind(connectionSync);
18976
- target.getConnectionWritePreview = connectionSync.getConnectionWritePreview.bind(connectionSync);
18977
- target.clearConnectionMemberExclusion = connectionSync.clearConnectionMemberExclusion.bind(connectionSync);
18978
- target.linkUnlinkedMembersByIdentity = connectionSync.linkUnlinkedMembersByIdentity.bind(connectionSync);
18979
- target.listSubsetImports = connectionSync.listSubsetImports.bind(connectionSync);
18980
- target.getSubsetImport = connectionSync.getSubsetImport.bind(connectionSync);
18981
- target.createSubsetImport = connectionSync.createSubsetImport.bind(connectionSync);
18982
- target.updateSubsetImport = connectionSync.updateSubsetImport.bind(connectionSync);
18983
- target.deleteSubsetImport = connectionSync.deleteSubsetImport.bind(connectionSync);
18984
- target.previewSubsetImportSelection = connectionSync.previewSubsetImportSelection.bind(connectionSync);
18985
- target.previewSubsetImport = connectionSync.previewSubsetImport.bind(connectionSync);
18986
- target.runSubsetImport = connectionSync.runSubsetImport.bind(connectionSync);
18987
- target.cancelSubsetImport = connectionSync.cancelSubsetImport.bind(connectionSync);
18988
- target.listSubsetImportRuns = connectionSync.listSubsetImportRuns.bind(connectionSync);
18989
- target.listSubsetImportVendorLists = connectionSync.listSubsetImportVendorLists.bind(connectionSync);
18990
- target.listSubsetImportFilterFields = connectionSync.listSubsetImportFilterFields.bind(connectionSync);
18991
- target.listAvailableAppConnections = appConnections.listAvailableAppConnections.bind(appConnections);
18992
- target.listAppConnections = appConnections.listAppConnections.bind(appConnections);
18993
- target.enablePlatformApp = appConnections.enablePlatformApp.bind(appConnections);
18994
- target.configureZendeskConnection = appConnections.configureZendeskConnection.bind(appConnections);
18995
- target.getPlatformApp = appConnections.getPlatformApp.bind(appConnections);
18996
- target.updatePlatformApp = appConnections.updatePlatformApp.bind(appConnections);
18997
- target.deletePlatformApp = appConnections.deletePlatformApp.bind(appConnections);
18998
- target.listConnectionMemberFieldKeys = appConnections.listConnectionMemberFieldKeys.bind(appConnections);
18999
- target.setDefaultGooglePlatformAccount = appConnections.setDefaultGooglePlatformAccount.bind(appConnections);
18773
+ function bindMethods(api, keys) {
18774
+ return Object.fromEntries(keys.map((key) => [key, api[key].bind(api)]));
18775
+ }
18776
+ function createIntegrationsBindings(apis) {
18777
+ return {
18778
+ getMondayBoards: apis.mondayIntegration.getBoards.bind(apis.mondayIntegration),
18779
+ getMondayBoardColumns: apis.mondayIntegration.getBoardColumns.bind(apis.mondayIntegration),
18780
+ getMondayBoardGroups: apis.mondayIntegration.getBoardGroups.bind(apis.mondayIntegration),
18781
+ getMondayCurrentUserInfo: apis.mondayIntegration.getCurrentUserInfo.bind(
18782
+ apis.mondayIntegration
18783
+ ),
18784
+ ...bindMethods(apis.mondayIntegration, [
18785
+ "installMondayConnection",
18786
+ "configureMondayConnection",
18787
+ "getMondayConnectionStatus",
18788
+ "authorizeMondayConnection",
18789
+ "testMondayConnection",
18790
+ "disconnectMondayConnection",
18791
+ "disableMondayConnection",
18792
+ "enableMondayConnection",
18793
+ "deleteMondayConnection",
18794
+ "getMondayConnectionBoards",
18795
+ "getMondayConnectionBoardColumns",
18796
+ "getMondayConnectionBoardGroups",
18797
+ "getMondaySyncConfig",
18798
+ "getMondaySyncLogs",
18799
+ "updateMondaySyncConfig",
18800
+ "validateMondaySyncConfig",
18801
+ "getLinkedMondayMembers",
18802
+ "getMondayReconciliationMatches",
18803
+ "linkMemberToMonday",
18804
+ "bulkLinkMembersToMonday",
18805
+ "unlinkMemberFromMonday",
18806
+ "getLinkedRecords",
18807
+ "importFromBoard",
18808
+ "autoCreateDataTypeFromBoard"
18809
+ ]),
18810
+ registerDiscordSlashCommands: apis.discordBots.registerSlashCommands.bind(apis.discordBots),
18811
+ ...bindMethods(apis.discordBots, [
18812
+ "getDiscordBots",
18813
+ "getDiscordBot",
18814
+ "createDiscordBot",
18815
+ "updateDiscordBot",
18816
+ "deleteDiscordBot",
18817
+ "registerLinkedRolesMetadata",
18818
+ "getDiscordThreads",
18819
+ "getDiscordGuilds",
18820
+ "getDiscordBotAccounts",
18821
+ "getMyCredentials",
18822
+ "unlinkCredential",
18823
+ "completeDiscordLink",
18824
+ "discordLinkPreflight"
18825
+ ]),
18826
+ ...bindMethods(apis.slackApps, [
18827
+ "getSlackApps",
18828
+ "getSlackApp",
18829
+ "createSlackApp",
18830
+ "updateSlackApp",
18831
+ "deleteSlackApp",
18832
+ "getSlackThreads",
18833
+ "getSlackInstallations",
18834
+ "removeSlackAccount",
18835
+ "removeSlackInstallation",
18836
+ "getSlackChannelChoices",
18837
+ "getSlackEntryPoints",
18838
+ "connectSlackEntryPoint",
18839
+ "getSlackAppAccounts"
18840
+ ]),
18841
+ ...bindMethods(apis.teamsApps, [
18842
+ "getTeamsApps",
18843
+ "getTeamsApp",
18844
+ "createTeamsApp",
18845
+ "updateTeamsApp",
18846
+ "deleteTeamsApp",
18847
+ "getTeamsConversations",
18848
+ "getTeamsInstallations",
18849
+ "getTeamsAppAccounts"
18850
+ ]),
18851
+ ...bindMethods(apis.fhirConnections, [
18852
+ "getFhirConnections",
18853
+ "getFhirConnection",
18854
+ "getFhirConnectionByUuid",
18855
+ "createFhirConnection",
18856
+ "updateFhirConnection",
18857
+ "deleteFhirConnection",
18858
+ "testFhirConnection",
18859
+ "fhirSearchPatients",
18860
+ "fhirSearchPractitioners",
18861
+ "fhirSearchLocations",
18862
+ "fhirFetchCareTeam",
18863
+ "fhirFetchEncounters",
18864
+ "fhirCreateEncounter",
18865
+ "fhirListLinkedMembers",
18866
+ "fhirCheckPatientLinks",
18867
+ "fhirLinkMember",
18868
+ "fhirUnlinkMember",
18869
+ "fhirSyncMember",
18870
+ "fhirImportPatient",
18871
+ "fhirCsvImportInspect",
18872
+ "fhirGetCsvImportSettings",
18873
+ "fhirUpdateCsvImportSettings",
18874
+ "fhirCsvImportApply",
18875
+ "fhirGetCsvImportRuns",
18876
+ "fhirGetCsvImportRunItems",
18877
+ "fhirGetEncounterSyncStatus",
18878
+ "fhirUpdateEncounterSync",
18879
+ "fhirRunEncounterSync",
18880
+ "fhirGetEncounterSyncRuns",
18881
+ "fhirRefreshEncounterPatient",
18882
+ "fhirBackfillEncounterSync",
18883
+ "getFhirConnectionSyncConfig",
18884
+ "getAthenaPlatformApp",
18885
+ "verifyAthenaAccess",
18886
+ "connectAthena"
18887
+ ]),
18888
+ ...bindMethods(apis.patientSyncConnections, [
18889
+ "configurePatientSync",
18890
+ "getPatientSyncStatus",
18891
+ "deletePatientSyncConnection"
18892
+ ]),
18893
+ ...bindMethods(apis.documoFax, [
18894
+ "getDocumoFaxStatus",
18895
+ "getDocumoFaxSetup",
18896
+ "listDocumoFaxes",
18897
+ "installDocumoFax",
18898
+ "configureDocumoFax",
18899
+ "verifyDocumoFax",
18900
+ "rotateDocumoFaxCredentials"
18901
+ ]),
18902
+ ...bindMethods(apis.claimMd, [
18903
+ "getClaimMdStatus",
18904
+ "installClaimMd",
18905
+ "configureClaimMd",
18906
+ "verifyClaimMdKey"
18907
+ ]),
18908
+ ...bindMethods(apis.stedi, ["getStediConnections", "getStediConnectionStatus"]),
18909
+ ...bindMethods(apis.healthie, [
18910
+ "configureHealthie",
18911
+ "getHealthieStatus",
18912
+ "listHealthieProviders",
18913
+ "linkCalendarToHealthie",
18914
+ "unlinkCalendarFromHealthie",
18915
+ "syncCalendarWithHealthie",
18916
+ "getLinkedHealthieMembers",
18917
+ "getHealthieReconciliationMatches",
18918
+ "getHealthieAppointmentPatientMatches",
18919
+ "linkMemberToHealthie",
18920
+ "unlinkMemberFromHealthie",
18921
+ "listHealthieAppointmentTypes",
18922
+ "listHealthiePatients",
18923
+ "getHealthieAvailableSlots",
18924
+ "bookHealthieAppointment"
18925
+ ]),
18926
+ ...bindMethods(apis.confluence, [
18927
+ "configureConfluence",
18928
+ "startConfluenceOAuth",
18929
+ "getConfluenceStatus",
18930
+ "disconnectConfluence",
18931
+ "disableConfluence",
18932
+ "enableConfluence",
18933
+ "deleteConfluence",
18934
+ "listConfluenceSpaces",
18935
+ "listConfluencePages"
18936
+ ]),
18937
+ ...bindMethods(apis.salesforce, [
18938
+ "installSalesforce",
18939
+ "configureSalesforce",
18940
+ "startSalesforceOAuth",
18941
+ "getSalesforceStatus",
18942
+ "disconnectSalesforce",
18943
+ "disableSalesforce",
18944
+ "enableSalesforce",
18945
+ "deleteSalesforce",
18946
+ "getSalesforceReconciliationMatches",
18947
+ "linkMemberToSalesforce",
18948
+ "linkUnlinkedSalesforceMembersByIdentity",
18949
+ "bulkLinkMembersToSalesforce",
18950
+ "unlinkMemberFromSalesforce",
18951
+ "getLinkedSalesforceMembers",
18952
+ "getSalesforceSyncConfig",
18953
+ "getSalesforceSyncLogs",
18954
+ "updateSalesforceSyncConfig",
18955
+ "validateSalesforceSyncConfig",
18956
+ "resyncSalesforceLinkedMembers",
18957
+ "listSalesforceObjects",
18958
+ "describeSalesforceObject",
18959
+ "searchSalesforceRecords",
18960
+ "importSalesforceMembers"
18961
+ ]),
18962
+ ...bindMethods(apis.hubspot, [
18963
+ "bindHubspotCalendar",
18964
+ "unlinkHubspotCalendar",
18965
+ "importHubspotCalendarEvents",
18966
+ "getHubspotBookingReceipt",
18967
+ "releaseHubspotBookingAttempt",
18968
+ "installHubspot",
18969
+ "configureHubspot",
18970
+ "startHubspotOAuth",
18971
+ "getHubspotStatus",
18972
+ "disconnectHubspot",
18973
+ "switchHubspotToPlatformApp",
18974
+ "disableHubspot",
18975
+ "enableHubspot",
18976
+ "deleteHubspot",
18977
+ "getHubspotReconciliationMatches",
18978
+ "linkMemberToHubspot",
18979
+ "bulkLinkMembersToHubspot",
18980
+ "unlinkMemberFromHubspot",
18981
+ "getLinkedHubspotMembers",
18982
+ "searchHubspotRecords",
18983
+ "importHubspotMembers",
18984
+ "getHubspotContactProperties",
18985
+ "getHubspotDealProperties",
18986
+ "getHubspotDealPipelines",
18987
+ "getHubspotForms",
18988
+ "getHubspotMeetingLinks",
18989
+ "getHubspotCrmObjects",
18990
+ "getHubspotObjectProperties",
18991
+ "getHubspotManagedRules",
18992
+ "getHubspotSyncLogs",
18993
+ "getHubspotTransformPresets"
18994
+ ]),
18995
+ ...bindMethods(apis.connectionSync, [
18996
+ "getConnectionSyncCapabilities",
18997
+ "getConnectionSyncConfig",
18998
+ "updateConnectionSyncConfig",
18999
+ "validateConnectionSyncConfig",
19000
+ "getConnectionSyncCheckpoint",
19001
+ "startSyncRun",
19002
+ "getSyncRuns",
19003
+ "getSyncRunItems",
19004
+ "getSyncRunItemsPage",
19005
+ "getMemberSyncSummary",
19006
+ "getSyncFailureSummary",
19007
+ "getSyncFailures",
19008
+ "getConnectionFieldHomes",
19009
+ "getInboundRecordStatus",
19010
+ "getOwnerMemberStatus",
19011
+ "getConnectionWritePreview",
19012
+ "clearConnectionMemberExclusion",
19013
+ "linkUnlinkedMembersByIdentity",
19014
+ "listSubsetImports",
19015
+ "getSubsetImport",
19016
+ "createSubsetImport",
19017
+ "updateSubsetImport",
19018
+ "deleteSubsetImport",
19019
+ "previewSubsetImportSelection",
19020
+ "previewSubsetImport",
19021
+ "runSubsetImport",
19022
+ "cancelSubsetImport",
19023
+ "listSubsetImportRuns",
19024
+ "listSubsetImportVendorLists",
19025
+ "listSubsetImportFilterFields"
19026
+ ]),
19027
+ ...bindMethods(apis.appConnections, [
19028
+ "listAvailableAppConnections",
19029
+ "listAppConnections",
19030
+ "enablePlatformApp",
19031
+ "configureZendeskConnection",
19032
+ "getPlatformApp",
19033
+ "updatePlatformApp",
19034
+ "deletePlatformApp",
19035
+ "listConnectionMemberFieldKeys",
19036
+ "setDefaultGooglePlatformAccount"
19037
+ ])
19038
+ };
19000
19039
  }
19001
19040
 
19002
19041
  // src/client/bindings/operator-groups.ts
@@ -19039,6 +19078,10 @@ function bindOrgMethods(target, org) {
19039
19078
  target.listLegalEntities = org.listLegalEntities.bind(org);
19040
19079
  target.getLegalEntity = org.getLegalEntity.bind(org);
19041
19080
  target.createLegalEntity = org.createLegalEntity.bind(org);
19081
+ target.getBusinessImportColumns = org.getBusinessImportColumns.bind(org);
19082
+ target.getBusinessImportTemplate = org.getBusinessImportTemplate.bind(org);
19083
+ target.previewBusinessImport = org.previewBusinessImport.bind(org);
19084
+ target.importBusinesses = org.importBusinesses.bind(org);
19042
19085
  target.getRegistrationDraft = org.getRegistrationDraft.bind(org);
19043
19086
  target.saveRegistrationDraft = org.saveRegistrationDraft.bind(org);
19044
19087
  target.getVoiceTrustProducts = org.getVoiceTrustProducts.bind(org);
@@ -19365,6 +19408,8 @@ var GravityRailClient = class {
19365
19408
  // Chats API
19366
19409
  chat;
19367
19410
  getChats;
19411
+ queryOrgChats;
19412
+ countOrgChats;
19368
19413
  getChat;
19369
19414
  getChatAttention;
19370
19415
  getChatByUuid;
@@ -19489,6 +19534,7 @@ var GravityRailClient = class {
19489
19534
  // Org-scoped, so deliberately absent from WORKSPACE_METHOD_NAMES: that proxy
19490
19535
  // passes a workspace uuid as the first argument.
19491
19536
  getOrgWorkspaceMember;
19537
+ searchOrgWorkspaceMembers;
19492
19538
  createWorkspaceMember;
19493
19539
  updateMember;
19494
19540
  deleteMember;
@@ -19555,16 +19601,9 @@ var GravityRailClient = class {
19555
19601
  getAgentTask;
19556
19602
  cancelAgentTask;
19557
19603
  getAgentTaskMessages;
19558
- // Agents API
19559
- getAgents;
19560
- getAgent;
19561
- createAgent;
19562
- updateAgent;
19563
- deleteAgent;
19564
- archiveAgent;
19565
- unarchiveAgent;
19566
- getOrgAgentJobs;
19567
- stopOrgAgentJob;
19604
+ // Org Agent Jobs API
19605
+ getBotJobs;
19606
+ stopBotJob;
19568
19607
  // Qualifications API
19569
19608
  getQualifications;
19570
19609
  getQualification;
@@ -19644,6 +19683,7 @@ var GravityRailClient = class {
19644
19683
  queryOrgActivityOneView;
19645
19684
  queryOrgActivityDigest;
19646
19685
  getOrgActivityCounts;
19686
+ listOrgWidgetWorkspaces;
19647
19687
  queryWorkspaceActivity;
19648
19688
  queryWorkspaceActivityLatestSubjects;
19649
19689
  queryWorkspaceActivityOpenItems;
@@ -19886,6 +19926,10 @@ var GravityRailClient = class {
19886
19926
  listLegalEntities;
19887
19927
  getLegalEntity;
19888
19928
  createLegalEntity;
19929
+ getBusinessImportColumns;
19930
+ getBusinessImportTemplate;
19931
+ previewBusinessImport;
19932
+ importBusinesses;
19889
19933
  getRegistrationDraft;
19890
19934
  saveRegistrationDraft;
19891
19935
  getVoiceTrustProducts;
@@ -20234,6 +20278,7 @@ var GravityRailClient = class {
20234
20278
  linkPhoneNumber;
20235
20279
  getInboxes;
20236
20280
  getInbox;
20281
+ getChatSenderInboxes;
20237
20282
  createInbox;
20238
20283
  updateInbox;
20239
20284
  deleteInbox;
@@ -20259,6 +20304,7 @@ var GravityRailClient = class {
20259
20304
  updateNotificationRule;
20260
20305
  deleteNotificationRule;
20261
20306
  getNotificationDestinations;
20307
+ getNotificationDelivery;
20262
20308
  // Toolkits API
20263
20309
  getToolkits;
20264
20310
  getTool;
@@ -20435,7 +20481,6 @@ var GravityRailClient = class {
20435
20481
  getTeamsConversations;
20436
20482
  getTeamsInstallations;
20437
20483
  getTeamsAppAccounts;
20438
- getTeamsNotificationDelivery;
20439
20484
  // FHIR Connections API
20440
20485
  getFhirConnections;
20441
20486
  getFhirConnection;
@@ -20562,6 +20607,7 @@ var GravityRailClient = class {
20562
20607
  importHubspotMembers;
20563
20608
  getHubspotContactProperties;
20564
20609
  getHubspotDealProperties;
20610
+ getHubspotDealPipelines;
20565
20611
  getHubspotForms;
20566
20612
  getHubspotMeetingLinks;
20567
20613
  getHubspotCrmObjects;
@@ -20719,7 +20765,7 @@ var GravityRailClient = class {
20719
20765
  bindDevicesMethods(this, apis.devices);
20720
20766
  bindMembersMethods(this, apis.members);
20721
20767
  bindAgentTasksMethods(this, apis.agentTasks);
20722
- bindAgentsMethods(this, apis.agents);
20768
+ bindBotJobsMethods(this, apis.botJobs);
20723
20769
  bindQualificationsMethods(this, apis.qualifications);
20724
20770
  bindPersonasMethods(this, apis.personas);
20725
20771
  bindMetricsMethods(this, apis.metrics);
@@ -20766,24 +20812,7 @@ var GravityRailClient = class {
20766
20812
  apis.oauth,
20767
20813
  apis.oauthConnections
20768
20814
  );
20769
- bindIntegrationsMethods(
20770
- this,
20771
- apis.mondayIntegration,
20772
- apis.discordBots,
20773
- apis.slackApps,
20774
- apis.teamsApps,
20775
- apis.fhirConnections,
20776
- apis.patientSyncConnections,
20777
- apis.healthie,
20778
- apis.documoFax,
20779
- apis.claimMd,
20780
- apis.stedi,
20781
- apis.salesforce,
20782
- apis.hubspot,
20783
- apis.appConnections,
20784
- apis.connectionSync,
20785
- apis.confluence
20786
- );
20815
+ Object.assign(this, createIntegrationsBindings(apis));
20787
20816
  bindPronunciationsMethods(this, apis.pronunciations);
20788
20817
  bindOrganizationBillingMethods(this, apis.customers);
20789
20818
  bindResellersMethods(this, apis.resellers);
@@ -20986,11 +21015,12 @@ function pathDraftToStorage(draft, original) {
20986
21015
  };
20987
21016
  }
20988
21017
 
20989
- // src/types/generated/agent_admin_chat.ts
21018
+ // src/types/generated/bot_admin_chat.ts
20990
21019
  var AdminRoomMessageDeliveryReason = {
20991
21020
  authority_refused: "authority_refused",
20992
21021
  payload_invalid: "payload_invalid",
20993
21022
  unsupported_provider: "unsupported_provider",
21023
+ identity_ambiguous: "identity_ambiguous",
20994
21024
  identity_unlinked: "identity_unlinked",
20995
21025
  already_linked: "already_linked",
20996
21026
  scope_refused: "scope_refused",
@@ -21027,7 +21057,6 @@ var AdminRoomMessageDeliveryReason = {
21027
21057
  ActivityWindowBasis,
21028
21058
  AdminRoomMessageDeliveryReason,
21029
21059
  AgentTasksApi,
21030
- AgentsApi,
21031
21060
  AiConnectorPolicy,
21032
21061
  AiDisclosure,
21033
21062
  ApiError,
@@ -21041,6 +21070,7 @@ var AdminRoomMessageDeliveryReason = {
21041
21070
  AuthApi,
21042
21071
  BUILTIN_ASSISTANT_CHAT_TYPES,
21043
21072
  BaseApiClient,
21073
+ BotJobsApi,
21044
21074
  BuildersApi,
21045
21075
  BulkMemberResultStatus,
21046
21076
  BusinessIndustry,
@@ -21317,11 +21347,11 @@ var AdminRoomMessageDeliveryReason = {
21317
21347
  bindAccessGrantsMethods,
21318
21348
  bindActivityMethods,
21319
21349
  bindAgentTasksMethods,
21320
- bindAgentsMethods,
21321
21350
  bindAppLinksMethods,
21322
21351
  bindAppsMethods,
21323
21352
  bindAuthMethods,
21324
21353
  bindBillingMethods,
21354
+ bindBotJobsMethods,
21325
21355
  bindBundlesMethods,
21326
21356
  bindCalendarsMethods,
21327
21357
  bindCallsMethods,
@@ -21335,7 +21365,6 @@ var AdminRoomMessageDeliveryReason = {
21335
21365
  bindExperimentsMethods,
21336
21366
  bindFilesMethods,
21337
21367
  bindInstallationsMethods,
21338
- bindIntegrationsMethods,
21339
21368
  bindInterventionRequestsMethods,
21340
21369
  bindJourneysMethods,
21341
21370
  bindMembersMethods,
@@ -21362,6 +21391,7 @@ var AdminRoomMessageDeliveryReason = {
21362
21391
  canPreviewVoice,
21363
21392
  clearRegistry,
21364
21393
  createApiModules,
21394
+ createIntegrationsBindings,
21365
21395
  createWorkspaceClient,
21366
21396
  decodePermissions,
21367
21397
  encodePermissions,