@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/CHANGELOG.md +18 -0
- package/dist/index.cjs +64 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +774 -112
- package/dist/index.d.ts +774 -112
- package/dist/index.js +56 -0
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,24 @@ the two would publish a release for every unrelated product deploy.
|
|
|
7
7
|
Semver applies to **this package's own surface** — the exported names, the
|
|
8
8
|
call shapes, the result shape — not to the API behind it.
|
|
9
9
|
|
|
10
|
+
## 1.57.0 — free time
|
|
11
|
+
|
|
12
|
+
- `calendarFreeTime`: when several addresses are all free in a window, at
|
|
13
|
+
least `duration_minutes` long, optionally only between `day_start` and
|
|
14
|
+
`day_end` in a zone and on weekdays. Each slot comes with its wall times
|
|
15
|
+
in that zone, and each address's busy blocks without titles.
|
|
16
|
+
- `contactsList` takes `cursor` and pages through `next_cursor`, like every
|
|
17
|
+
other list.
|
|
18
|
+
|
|
19
|
+
## 1.56.0 — contacts
|
|
20
|
+
|
|
21
|
+
- `contactsList`, `contactsCreate`, `contactsGet`, `contactsUpdate`,
|
|
22
|
+
`contactsDelete`, `contactsBlock` and `contactsUnblock`: the people and
|
|
23
|
+
agents an address corresponds with, noted from the mail. Find one by part
|
|
24
|
+
of a name or an address, keep notes on them, mute them until a date
|
|
25
|
+
(`snoozed_until`), or send their mail to spam. A contact belongs to one
|
|
26
|
+
address, and a key reaches only the contacts of addresses it holds.
|
|
27
|
+
|
|
10
28
|
## 1.55.1 — the new tagline
|
|
11
29
|
|
|
12
30
|
- The package description now reads "Email inboxes for AI agents". No change
|
package/dist/index.cjs
CHANGED
|
@@ -37,6 +37,7 @@ __export(index_exports, {
|
|
|
37
37
|
attachmentsUpload: () => attachmentsUpload,
|
|
38
38
|
calendarCreateEvent: () => calendarCreateEvent,
|
|
39
39
|
calendarDeleteEvent: () => calendarDeleteEvent,
|
|
40
|
+
calendarFreeTime: () => calendarFreeTime,
|
|
40
41
|
calendarGet: () => calendarGet,
|
|
41
42
|
calendarGetAgenda: () => calendarGetAgenda,
|
|
42
43
|
calendarGetEvent: () => calendarGetEvent,
|
|
@@ -46,6 +47,13 @@ __export(index_exports, {
|
|
|
46
47
|
calendarUpdate: () => calendarUpdate,
|
|
47
48
|
calendarUpdateEvent: () => calendarUpdateEvent,
|
|
48
49
|
client: () => client,
|
|
50
|
+
contactsBlock: () => contactsBlock,
|
|
51
|
+
contactsCreate: () => contactsCreate,
|
|
52
|
+
contactsDelete: () => contactsDelete,
|
|
53
|
+
contactsGet: () => contactsGet,
|
|
54
|
+
contactsList: () => contactsList,
|
|
55
|
+
contactsUnblock: () => contactsUnblock,
|
|
56
|
+
contactsUpdate: () => contactsUpdate,
|
|
49
57
|
createClient: () => createClient,
|
|
50
58
|
createConfig: () => createConfig,
|
|
51
59
|
domainsCreate: () => domainsCreate,
|
|
@@ -1160,6 +1168,49 @@ var labelsUpdate = (options) => (options.client ?? client).patch({
|
|
|
1160
1168
|
...options.headers
|
|
1161
1169
|
}
|
|
1162
1170
|
});
|
|
1171
|
+
var contactsList = (options) => (options?.client ?? client).get({
|
|
1172
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1173
|
+
url: "/contacts",
|
|
1174
|
+
...options
|
|
1175
|
+
});
|
|
1176
|
+
var contactsCreate = (options) => (options.client ?? client).post({
|
|
1177
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1178
|
+
url: "/contacts",
|
|
1179
|
+
...options,
|
|
1180
|
+
headers: {
|
|
1181
|
+
"Content-Type": "application/json",
|
|
1182
|
+
...options.headers
|
|
1183
|
+
}
|
|
1184
|
+
});
|
|
1185
|
+
var contactsDelete = (options) => (options.client ?? client).delete({
|
|
1186
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1187
|
+
url: "/contacts/{id}",
|
|
1188
|
+
...options
|
|
1189
|
+
});
|
|
1190
|
+
var contactsGet = (options) => (options.client ?? client).get({
|
|
1191
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1192
|
+
url: "/contacts/{id}",
|
|
1193
|
+
...options
|
|
1194
|
+
});
|
|
1195
|
+
var contactsUpdate = (options) => (options.client ?? client).patch({
|
|
1196
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1197
|
+
url: "/contacts/{id}",
|
|
1198
|
+
...options,
|
|
1199
|
+
headers: {
|
|
1200
|
+
"Content-Type": "application/json",
|
|
1201
|
+
...options.headers
|
|
1202
|
+
}
|
|
1203
|
+
});
|
|
1204
|
+
var contactsUnblock = (options) => (options.client ?? client).delete({
|
|
1205
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1206
|
+
url: "/contacts/{id}/block",
|
|
1207
|
+
...options
|
|
1208
|
+
});
|
|
1209
|
+
var contactsBlock = (options) => (options.client ?? client).post({
|
|
1210
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1211
|
+
url: "/contacts/{id}/block",
|
|
1212
|
+
...options
|
|
1213
|
+
});
|
|
1163
1214
|
var threadsLabelsDelete = (options) => (options.client ?? client).delete({
|
|
1164
1215
|
security: [{ scheme: "bearer", type: "http" }],
|
|
1165
1216
|
url: "/threads/{id}/labels",
|
|
@@ -1616,6 +1667,11 @@ var calendarGetAgenda = (options) => (options.client ?? client).get(
|
|
|
1616
1667
|
...options
|
|
1617
1668
|
}
|
|
1618
1669
|
);
|
|
1670
|
+
var calendarFreeTime = (options) => (options.client ?? client).get({
|
|
1671
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1672
|
+
url: "/calendar/free-time",
|
|
1673
|
+
...options
|
|
1674
|
+
});
|
|
1619
1675
|
var calendarDeleteEvent = (options) => (options.client ?? client).delete({
|
|
1620
1676
|
security: [{ scheme: "bearer", type: "http" }],
|
|
1621
1677
|
url: "/identities/{id}/calendar/events/{eventId}",
|
|
@@ -1905,6 +1961,7 @@ function sleep(ms, signal) {
|
|
|
1905
1961
|
attachmentsUpload,
|
|
1906
1962
|
calendarCreateEvent,
|
|
1907
1963
|
calendarDeleteEvent,
|
|
1964
|
+
calendarFreeTime,
|
|
1908
1965
|
calendarGet,
|
|
1909
1966
|
calendarGetAgenda,
|
|
1910
1967
|
calendarGetEvent,
|
|
@@ -1914,6 +1971,13 @@ function sleep(ms, signal) {
|
|
|
1914
1971
|
calendarUpdate,
|
|
1915
1972
|
calendarUpdateEvent,
|
|
1916
1973
|
client,
|
|
1974
|
+
contactsBlock,
|
|
1975
|
+
contactsCreate,
|
|
1976
|
+
contactsDelete,
|
|
1977
|
+
contactsGet,
|
|
1978
|
+
contactsList,
|
|
1979
|
+
contactsUnblock,
|
|
1980
|
+
contactsUpdate,
|
|
1917
1981
|
createClient,
|
|
1918
1982
|
createConfig,
|
|
1919
1983
|
domainsCreate,
|