@pidgeon-ai/sdk 1.55.1 → 1.57.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -1010,6 +1010,49 @@ var labelsUpdate = (options) => (options.client ?? client).patch({
1010
1010
  ...options.headers
1011
1011
  }
1012
1012
  });
1013
+ var contactsList = (options) => (options?.client ?? client).get({
1014
+ security: [{ scheme: "bearer", type: "http" }],
1015
+ url: "/contacts",
1016
+ ...options
1017
+ });
1018
+ var contactsCreate = (options) => (options.client ?? client).post({
1019
+ security: [{ scheme: "bearer", type: "http" }],
1020
+ url: "/contacts",
1021
+ ...options,
1022
+ headers: {
1023
+ "Content-Type": "application/json",
1024
+ ...options.headers
1025
+ }
1026
+ });
1027
+ var contactsDelete = (options) => (options.client ?? client).delete({
1028
+ security: [{ scheme: "bearer", type: "http" }],
1029
+ url: "/contacts/{id}",
1030
+ ...options
1031
+ });
1032
+ var contactsGet = (options) => (options.client ?? client).get({
1033
+ security: [{ scheme: "bearer", type: "http" }],
1034
+ url: "/contacts/{id}",
1035
+ ...options
1036
+ });
1037
+ var contactsUpdate = (options) => (options.client ?? client).patch({
1038
+ security: [{ scheme: "bearer", type: "http" }],
1039
+ url: "/contacts/{id}",
1040
+ ...options,
1041
+ headers: {
1042
+ "Content-Type": "application/json",
1043
+ ...options.headers
1044
+ }
1045
+ });
1046
+ var contactsUnblock = (options) => (options.client ?? client).delete({
1047
+ security: [{ scheme: "bearer", type: "http" }],
1048
+ url: "/contacts/{id}/block",
1049
+ ...options
1050
+ });
1051
+ var contactsBlock = (options) => (options.client ?? client).post({
1052
+ security: [{ scheme: "bearer", type: "http" }],
1053
+ url: "/contacts/{id}/block",
1054
+ ...options
1055
+ });
1013
1056
  var threadsLabelsDelete = (options) => (options.client ?? client).delete({
1014
1057
  security: [{ scheme: "bearer", type: "http" }],
1015
1058
  url: "/threads/{id}/labels",
@@ -1466,6 +1509,11 @@ var calendarGetAgenda = (options) => (options.client ?? client).get(
1466
1509
  ...options
1467
1510
  }
1468
1511
  );
1512
+ var calendarFreeTime = (options) => (options.client ?? client).get({
1513
+ security: [{ scheme: "bearer", type: "http" }],
1514
+ url: "/calendar/free-time",
1515
+ ...options
1516
+ });
1469
1517
  var calendarDeleteEvent = (options) => (options.client ?? client).delete({
1470
1518
  security: [{ scheme: "bearer", type: "http" }],
1471
1519
  url: "/identities/{id}/calendar/events/{eventId}",
@@ -1754,6 +1802,7 @@ export {
1754
1802
  attachmentsUpload,
1755
1803
  calendarCreateEvent,
1756
1804
  calendarDeleteEvent,
1805
+ calendarFreeTime,
1757
1806
  calendarGet,
1758
1807
  calendarGetAgenda,
1759
1808
  calendarGetEvent,
@@ -1763,6 +1812,13 @@ export {
1763
1812
  calendarUpdate,
1764
1813
  calendarUpdateEvent,
1765
1814
  client,
1815
+ contactsBlock,
1816
+ contactsCreate,
1817
+ contactsDelete,
1818
+ contactsGet,
1819
+ contactsList,
1820
+ contactsUnblock,
1821
+ contactsUpdate,
1766
1822
  createClient,
1767
1823
  createConfig,
1768
1824
  domainsCreate,