@pidgeon-ai/sdk 1.55.1 → 1.59.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/CHANGELOG.md +35 -0
- package/dist/index.cjs +87 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1065 -103
- package/dist/index.d.ts +1065 -103
- package/dist/index.js +76 -0
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -839,6 +839,18 @@ var agentVerify = (options) => (options.client ?? client).post({
|
|
|
839
839
|
...options.headers
|
|
840
840
|
}
|
|
841
841
|
});
|
|
842
|
+
var cardsGet = (options) => (options.client ?? client).get({
|
|
843
|
+
url: "/cards/{id}",
|
|
844
|
+
...options
|
|
845
|
+
});
|
|
846
|
+
var verifySender = (options) => (options.client ?? client).post({
|
|
847
|
+
url: "/verify",
|
|
848
|
+
...options,
|
|
849
|
+
headers: {
|
|
850
|
+
"Content-Type": "application/json",
|
|
851
|
+
...options.headers
|
|
852
|
+
}
|
|
853
|
+
});
|
|
842
854
|
var agentConnect = (options) => (options.client ?? client).post({
|
|
843
855
|
url: "/agent/connect",
|
|
844
856
|
...options,
|
|
@@ -887,6 +899,11 @@ var identitiesUpdate = (options) => (options.client ?? client).patch(
|
|
|
887
899
|
}
|
|
888
900
|
}
|
|
889
901
|
);
|
|
902
|
+
var identitiesCard = (options) => (options.client ?? client).get({
|
|
903
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
904
|
+
url: "/identities/{id}/card",
|
|
905
|
+
...options
|
|
906
|
+
});
|
|
890
907
|
var identitiesAccessDelete = (options) => (options.client ?? client).delete({
|
|
891
908
|
security: [{ scheme: "bearer", type: "http" }],
|
|
892
909
|
url: "/identities/{id}/access",
|
|
@@ -1010,6 +1027,49 @@ var labelsUpdate = (options) => (options.client ?? client).patch({
|
|
|
1010
1027
|
...options.headers
|
|
1011
1028
|
}
|
|
1012
1029
|
});
|
|
1030
|
+
var contactsList = (options) => (options?.client ?? client).get({
|
|
1031
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1032
|
+
url: "/contacts",
|
|
1033
|
+
...options
|
|
1034
|
+
});
|
|
1035
|
+
var contactsCreate = (options) => (options.client ?? client).post({
|
|
1036
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1037
|
+
url: "/contacts",
|
|
1038
|
+
...options,
|
|
1039
|
+
headers: {
|
|
1040
|
+
"Content-Type": "application/json",
|
|
1041
|
+
...options.headers
|
|
1042
|
+
}
|
|
1043
|
+
});
|
|
1044
|
+
var contactsDelete = (options) => (options.client ?? client).delete({
|
|
1045
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1046
|
+
url: "/contacts/{id}",
|
|
1047
|
+
...options
|
|
1048
|
+
});
|
|
1049
|
+
var contactsGet = (options) => (options.client ?? client).get({
|
|
1050
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1051
|
+
url: "/contacts/{id}",
|
|
1052
|
+
...options
|
|
1053
|
+
});
|
|
1054
|
+
var contactsUpdate = (options) => (options.client ?? client).patch({
|
|
1055
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1056
|
+
url: "/contacts/{id}",
|
|
1057
|
+
...options,
|
|
1058
|
+
headers: {
|
|
1059
|
+
"Content-Type": "application/json",
|
|
1060
|
+
...options.headers
|
|
1061
|
+
}
|
|
1062
|
+
});
|
|
1063
|
+
var contactsUnblock = (options) => (options.client ?? client).delete({
|
|
1064
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1065
|
+
url: "/contacts/{id}/block",
|
|
1066
|
+
...options
|
|
1067
|
+
});
|
|
1068
|
+
var contactsBlock = (options) => (options.client ?? client).post({
|
|
1069
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1070
|
+
url: "/contacts/{id}/block",
|
|
1071
|
+
...options
|
|
1072
|
+
});
|
|
1013
1073
|
var threadsLabelsDelete = (options) => (options.client ?? client).delete({
|
|
1014
1074
|
security: [{ scheme: "bearer", type: "http" }],
|
|
1015
1075
|
url: "/threads/{id}/labels",
|
|
@@ -1466,6 +1526,11 @@ var calendarGetAgenda = (options) => (options.client ?? client).get(
|
|
|
1466
1526
|
...options
|
|
1467
1527
|
}
|
|
1468
1528
|
);
|
|
1529
|
+
var calendarFreeTime = (options) => (options.client ?? client).get({
|
|
1530
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1531
|
+
url: "/calendar/free-time",
|
|
1532
|
+
...options
|
|
1533
|
+
});
|
|
1469
1534
|
var calendarDeleteEvent = (options) => (options.client ?? client).delete({
|
|
1470
1535
|
security: [{ scheme: "bearer", type: "http" }],
|
|
1471
1536
|
url: "/identities/{id}/calendar/events/{eventId}",
|
|
@@ -1754,6 +1819,7 @@ export {
|
|
|
1754
1819
|
attachmentsUpload,
|
|
1755
1820
|
calendarCreateEvent,
|
|
1756
1821
|
calendarDeleteEvent,
|
|
1822
|
+
calendarFreeTime,
|
|
1757
1823
|
calendarGet,
|
|
1758
1824
|
calendarGetAgenda,
|
|
1759
1825
|
calendarGetEvent,
|
|
@@ -1762,7 +1828,15 @@ export {
|
|
|
1762
1828
|
calendarRespondToEvent,
|
|
1763
1829
|
calendarUpdate,
|
|
1764
1830
|
calendarUpdateEvent,
|
|
1831
|
+
cardsGet,
|
|
1765
1832
|
client,
|
|
1833
|
+
contactsBlock,
|
|
1834
|
+
contactsCreate,
|
|
1835
|
+
contactsDelete,
|
|
1836
|
+
contactsGet,
|
|
1837
|
+
contactsList,
|
|
1838
|
+
contactsUnblock,
|
|
1839
|
+
contactsUpdate,
|
|
1766
1840
|
createClient,
|
|
1767
1841
|
createConfig,
|
|
1768
1842
|
domainsCreate,
|
|
@@ -1791,6 +1865,7 @@ export {
|
|
|
1791
1865
|
identitiesAccessCreate,
|
|
1792
1866
|
identitiesAccessDelete,
|
|
1793
1867
|
identitiesAccessGet,
|
|
1868
|
+
identitiesCard,
|
|
1794
1869
|
identitiesCreate,
|
|
1795
1870
|
identitiesDelete,
|
|
1796
1871
|
identitiesGet,
|
|
@@ -1850,6 +1925,7 @@ export {
|
|
|
1850
1925
|
threadsLabelsGet,
|
|
1851
1926
|
threadsList,
|
|
1852
1927
|
threadsUpdate,
|
|
1928
|
+
verifySender,
|
|
1853
1929
|
verifyWebhook,
|
|
1854
1930
|
webhooksCreate,
|
|
1855
1931
|
webhooksDelete,
|