agentmail 0.5.40 → 0.5.42

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 (49) hide show
  1. package/dist/cjs/BaseClient.js +2 -2
  2. package/dist/cjs/api/resources/calendar/types/CalendarEvent.d.ts +7 -0
  3. package/dist/cjs/api/resources/calendar/types/RecurrenceInput.d.ts +2 -1
  4. package/dist/cjs/api/resources/inboxes/resources/calendar/client/Client.d.ts +24 -12
  5. package/dist/cjs/api/resources/inboxes/resources/calendar/client/Client.js +24 -12
  6. package/dist/cjs/api/resources/messages/types/Message.d.ts +1 -0
  7. package/dist/cjs/api/resources/messages/types/MessageCalendarEventId.d.ts +8 -0
  8. package/dist/cjs/api/resources/messages/types/MessageCalendarEventId.js +3 -0
  9. package/dist/cjs/api/resources/messages/types/MessageItem.d.ts +1 -0
  10. package/dist/cjs/api/resources/messages/types/index.d.ts +1 -0
  11. package/dist/cjs/api/resources/messages/types/index.js +1 -0
  12. package/dist/cjs/serialization/resources/calendar/types/CalendarEvent.d.ts +2 -0
  13. package/dist/cjs/serialization/resources/calendar/types/CalendarEvent.js +2 -0
  14. package/dist/cjs/serialization/resources/messages/types/Message.d.ts +2 -0
  15. package/dist/cjs/serialization/resources/messages/types/Message.js +2 -0
  16. package/dist/cjs/serialization/resources/messages/types/MessageCalendarEventId.d.ts +7 -0
  17. package/dist/cjs/serialization/resources/messages/types/MessageCalendarEventId.js +39 -0
  18. package/dist/cjs/serialization/resources/messages/types/MessageItem.d.ts +2 -0
  19. package/dist/cjs/serialization/resources/messages/types/MessageItem.js +2 -0
  20. package/dist/cjs/serialization/resources/messages/types/index.d.ts +1 -0
  21. package/dist/cjs/serialization/resources/messages/types/index.js +1 -0
  22. package/dist/cjs/version.d.ts +1 -1
  23. package/dist/cjs/version.js +1 -1
  24. package/dist/esm/BaseClient.mjs +2 -2
  25. package/dist/esm/api/resources/calendar/types/CalendarEvent.d.mts +7 -0
  26. package/dist/esm/api/resources/calendar/types/RecurrenceInput.d.mts +2 -1
  27. package/dist/esm/api/resources/inboxes/resources/calendar/client/Client.d.mts +24 -12
  28. package/dist/esm/api/resources/inboxes/resources/calendar/client/Client.mjs +24 -12
  29. package/dist/esm/api/resources/messages/types/Message.d.mts +1 -0
  30. package/dist/esm/api/resources/messages/types/MessageCalendarEventId.d.mts +8 -0
  31. package/dist/esm/api/resources/messages/types/MessageCalendarEventId.mjs +2 -0
  32. package/dist/esm/api/resources/messages/types/MessageItem.d.mts +1 -0
  33. package/dist/esm/api/resources/messages/types/index.d.mts +1 -0
  34. package/dist/esm/api/resources/messages/types/index.mjs +1 -0
  35. package/dist/esm/serialization/resources/calendar/types/CalendarEvent.d.mts +2 -0
  36. package/dist/esm/serialization/resources/calendar/types/CalendarEvent.mjs +2 -0
  37. package/dist/esm/serialization/resources/messages/types/Message.d.mts +2 -0
  38. package/dist/esm/serialization/resources/messages/types/Message.mjs +2 -0
  39. package/dist/esm/serialization/resources/messages/types/MessageCalendarEventId.d.mts +7 -0
  40. package/dist/esm/serialization/resources/messages/types/MessageCalendarEventId.mjs +3 -0
  41. package/dist/esm/serialization/resources/messages/types/MessageItem.d.mts +2 -0
  42. package/dist/esm/serialization/resources/messages/types/MessageItem.mjs +2 -0
  43. package/dist/esm/serialization/resources/messages/types/index.d.mts +1 -0
  44. package/dist/esm/serialization/resources/messages/types/index.mjs +1 -0
  45. package/dist/esm/version.d.mts +1 -1
  46. package/dist/esm/version.mjs +1 -1
  47. package/dist/llms.txt +22 -0
  48. package/package.json +1 -1
  49. package/reference.md +24 -12
@@ -43,8 +43,8 @@ function normalizeClientOptions(options) {
43
43
  const headers = (0, headers_js_1.mergeHeaders)({
44
44
  "X-Fern-Language": "JavaScript",
45
45
  "X-Fern-SDK-Name": "agentmail",
46
- "X-Fern-SDK-Version": "0.5.40",
47
- "User-Agent": "agentmail/0.5.40",
46
+ "X-Fern-SDK-Version": "0.5.42",
47
+ "User-Agent": "agentmail/0.5.42",
48
48
  "X-Fern-Runtime": core.RUNTIME.type,
49
49
  "X-Fern-Runtime-Version": core.RUNTIME.version,
50
50
  }, options === null || options === void 0 ? void 0 : options.headers);
@@ -43,6 +43,13 @@ export interface CalendarEvent {
43
43
  attendees?: AgentMail.Attendee[];
44
44
  /** Number of attendees. */
45
45
  attendeeCount: number;
46
+ /**
47
+ * The inbox's own response: the `status` of its entry in `attendees`. Present only on events
48
+ * the inbox can respond to: `email` events with an `organizer_email` and an
49
+ * `origin_message_id` that list the inbox as an attendee. Included on agenda and instance list
50
+ * items, which omit `attendees`. `needs_action` means the invitation is waiting for a reply.
51
+ */
52
+ responseStatus?: AgentMail.AttendeeStatus;
46
53
  /** iCalendar UID of the event. Invitations about this event carry the same UID. */
47
54
  uid: string;
48
55
  /**
@@ -7,7 +7,8 @@ export interface RecurrenceInput {
7
7
  /**
8
8
  * RFC 5545 RRULE body, with or without the `RRULE:` prefix, for example
9
9
  * `FREQ=WEEKLY;BYDAY=MO,WE,FR` or `FREQ=MONTHLY;BYDAY=-1FR;COUNT=12`. Supported parts: `FREQ`,
10
- * `INTERVAL` (1 to 366), `COUNT` (1 to 10,000), `UNTIL` (`YYYYMMDD` or `YYYYMMDDTHHMMSSZ`),
10
+ * `INTERVAL` (1 to 366), `COUNT` (1 to 10,000), `UNTIL` (`YYYYMMDD` for all-day events,
11
+ * `YYYYMMDDTHHMMSSZ` for timed events),
11
12
  * `WKST`, `BYMONTH`, `BYWEEKNO`, `BYYEARDAY`, `BYMONTHDAY`, `BYDAY`, `BYHOUR`, `BYMINUTE`,
12
13
  * `BYSECOND` and `BYSETPOS`. `COUNT` and `UNTIL` are mutually exclusive. The rule is stored in
13
14
  * a normalized form, so a response can differ textually from what you sent. At most 512
@@ -17,8 +17,9 @@ export declare class CalendarClient {
17
17
  * created. Its `etag` (also the `ETag` response header) is the value to send in `If-Match` to
18
18
  * make an update conditional.
19
19
  *
20
- * Requires the `calendar_read` permission. Calendar is in private beta: organizations without
21
- * access receive a `403`.
20
+ * Requires the `calendar_read` permission. Calendar is in private beta in US production
21
+ * (`api.agentmail.to`) and is unavailable in EU production (`api.agentmail.eu`).
22
+ * Organizations without access receive a `403`.
22
23
  *
23
24
  * @param {AgentMail.inboxes.InboxId} inbox_id
24
25
  * @param {AgentMail.inboxes.GetCalendarRequest} request
@@ -43,7 +44,8 @@ export declare class CalendarClient {
43
44
  * calendar's current `etag` in `If-Match`: a stale value returns `412`. Without `If-Match` the
44
45
  * update applies to the calendar as it is.
45
46
  *
46
- * Calendar is in private beta: organizations without access receive a `403`.
47
+ * Calendar is in private beta in US production (`api.agentmail.to`). It is unavailable in EU
48
+ * production (`api.agentmail.eu`). Organizations without access receive a `403`.
47
49
  *
48
50
  * @param {AgentMail.inboxes.InboxId} inbox_id
49
51
  * @param {AgentMail.inboxes.UpdateCalendarRequestWrapper} request
@@ -75,7 +77,8 @@ export declare class CalendarClient {
75
77
  * The list is always read in the region that serves the request, so it can trail a change made
76
78
  * moments earlier by a few seconds. Requires the `calendar_event_read` permission.
77
79
  *
78
- * Calendar is in private beta: organizations without access receive a `403`.
80
+ * Calendar is in private beta in US production (`api.agentmail.to`). It is unavailable in EU
81
+ * production (`api.agentmail.eu`). Organizations without access receive a `403`.
79
82
  *
80
83
  * @param {AgentMail.inboxes.InboxId} inbox_id
81
84
  * @param {AgentMail.inboxes.ListCalendarEventsRequest} request
@@ -100,7 +103,9 @@ export declare class CalendarClient {
100
103
  * Use it to answer "what is on the calendar".
101
104
  *
102
105
  * The window defaults to now through 90 days from now and can be at most 366 days. Items omit
103
- * `description`, `metadata` and `attendees`; get an event by ID for the full object. Dates of
106
+ * `description`, `metadata` and `attendees`; get an event by ID for the full object. An item
107
+ * the inbox is invited to still carries `response_status`, so `needs_action` marks an
108
+ * invitation waiting for a reply. Dates of
104
109
  * recurring events appear only up to about 90 days from now; use List Event Instances for a
105
110
  * recurring event's later dates. While a recurring event's dates are being regenerated after a
106
111
  * schedule change, which takes a few seconds, the agenda can briefly leave out some of them;
@@ -110,7 +115,8 @@ export declare class CalendarClient {
110
115
  * moments earlier by a few seconds. Pass `consistency=primary` to read your own change right
111
116
  * away. Requires the `calendar_event_read` permission.
112
117
  *
113
- * Calendar is in private beta: organizations without access receive a `403`.
118
+ * Calendar is in private beta in US production (`api.agentmail.to`). It is unavailable in EU
119
+ * production (`api.agentmail.eu`). Organizations without access receive a `403`.
114
120
  *
115
121
  * @param {AgentMail.inboxes.InboxId} inbox_id
116
122
  * @param {AgentMail.inboxes.GetCalendarAgendaRequest} request
@@ -152,7 +158,8 @@ export declare class CalendarClient {
152
158
  * The event's `etag` is the value to send in `If-Match` to make a later update or delete
153
159
  * conditional. Requires the `calendar_event_create` permission.
154
160
  *
155
- * Calendar is in private beta: organizations without access receive a `403`.
161
+ * Calendar is in private beta in US production (`api.agentmail.to`). It is unavailable in EU
162
+ * production (`api.agentmail.eu`). Organizations without access receive a `403`.
156
163
  *
157
164
  * @param {AgentMail.inboxes.InboxId} inbox_id
158
165
  * @param {AgentMail.CreateCalendarEventRequest} request
@@ -213,7 +220,8 @@ export declare class CalendarClient {
213
220
  * reads back as it ran, even if a later change to the series no longer produces it. Requires
214
221
  * the `calendar_event_read` permission.
215
222
  *
216
- * Calendar is in private beta: organizations without access receive a `403`.
223
+ * Calendar is in private beta in US production (`api.agentmail.to`). It is unavailable in EU
224
+ * production (`api.agentmail.eu`). Organizations without access receive a `403`.
217
225
  *
218
226
  * @param {AgentMail.inboxes.InboxId} inbox_id
219
227
  * @param {AgentMail.CalendarEventId} event_id
@@ -261,7 +269,8 @@ export declare class CalendarClient {
261
269
  * send limits, charged before the change is saved; an over-limit request returns `429`
262
270
  * `rate_limit_exceeded` and changes nothing.
263
271
  *
264
- * Calendar is in private beta: organizations without access receive a `403`.
272
+ * Calendar is in private beta in US production (`api.agentmail.to`). It is unavailable in EU
273
+ * production (`api.agentmail.eu`). Organizations without access receive a `403`.
265
274
  *
266
275
  * @param {AgentMail.inboxes.InboxId} inbox_id
267
276
  * @param {AgentMail.CalendarEventId} event_id
@@ -318,7 +327,8 @@ export declare class CalendarClient {
318
327
  * send limits, charged before the delete; an over-limit request returns `429`
319
328
  * `rate_limit_exceeded` and deletes nothing.
320
329
  *
321
- * Calendar is in private beta: organizations without access receive a `403`.
330
+ * Calendar is in private beta in US production (`api.agentmail.to`). It is unavailable in EU
331
+ * production (`api.agentmail.eu`). Organizations without access receive a `403`.
322
332
  *
323
333
  * @param {AgentMail.inboxes.InboxId} inbox_id
324
334
  * @param {AgentMail.CalendarEventId} event_id
@@ -358,7 +368,8 @@ export declare class CalendarClient {
358
368
  * trail a change made moments earlier by a few seconds; pass `consistency=primary` to read
359
369
  * your own change right away. Requires the `calendar_event_read` permission.
360
370
  *
361
- * Calendar is in private beta: organizations without access receive a `403`.
371
+ * Calendar is in private beta in US production (`api.agentmail.to`). It is unavailable in EU
372
+ * production (`api.agentmail.eu`). Organizations without access receive a `403`.
362
373
  *
363
374
  * @param {AgentMail.inboxes.InboxId} inbox_id
364
375
  * @param {string} event_id - UUID of the recurring event.
@@ -396,7 +407,8 @@ export declare class CalendarClient {
396
407
  * charged before the response is saved; an over-limit request returns `429`
397
408
  * `rate_limit_exceeded` and changes nothing.
398
409
  *
399
- * Calendar is in private beta: organizations without access receive a `403`.
410
+ * Calendar is in private beta in US production (`api.agentmail.to`). It is unavailable in EU
411
+ * production (`api.agentmail.eu`). Organizations without access receive a `403`.
400
412
  *
401
413
  * @param {AgentMail.inboxes.InboxId} inbox_id
402
414
  * @param {AgentMail.CalendarEventId} event_id
@@ -74,8 +74,9 @@ class CalendarClient {
74
74
  * created. Its `etag` (also the `ETag` response header) is the value to send in `If-Match` to
75
75
  * make an update conditional.
76
76
  *
77
- * Requires the `calendar_read` permission. Calendar is in private beta: organizations without
78
- * access receive a `403`.
77
+ * Requires the `calendar_read` permission. Calendar is in private beta in US production
78
+ * (`api.agentmail.to`) and is unavailable in EU production (`api.agentmail.eu`).
79
+ * Organizations without access receive a `403`.
79
80
  *
80
81
  * @param {AgentMail.inboxes.InboxId} inbox_id
81
82
  * @param {AgentMail.inboxes.GetCalendarRequest} request
@@ -176,7 +177,8 @@ class CalendarClient {
176
177
  * calendar's current `etag` in `If-Match`: a stale value returns `412`. Without `If-Match` the
177
178
  * update applies to the calendar as it is.
178
179
  *
179
- * Calendar is in private beta: organizations without access receive a `403`.
180
+ * Calendar is in private beta in US production (`api.agentmail.to`). It is unavailable in EU
181
+ * production (`api.agentmail.eu`). Organizations without access receive a `403`.
180
182
  *
181
183
  * @param {AgentMail.inboxes.InboxId} inbox_id
182
184
  * @param {AgentMail.inboxes.UpdateCalendarRequestWrapper} request
@@ -306,7 +308,8 @@ class CalendarClient {
306
308
  * The list is always read in the region that serves the request, so it can trail a change made
307
309
  * moments earlier by a few seconds. Requires the `calendar_event_read` permission.
308
310
  *
309
- * Calendar is in private beta: organizations without access receive a `403`.
311
+ * Calendar is in private beta in US production (`api.agentmail.to`). It is unavailable in EU
312
+ * production (`api.agentmail.eu`). Organizations without access receive a `403`.
310
313
  *
311
314
  * @param {AgentMail.inboxes.InboxId} inbox_id
312
315
  * @param {AgentMail.inboxes.ListCalendarEventsRequest} request
@@ -403,7 +406,9 @@ class CalendarClient {
403
406
  * Use it to answer "what is on the calendar".
404
407
  *
405
408
  * The window defaults to now through 90 days from now and can be at most 366 days. Items omit
406
- * `description`, `metadata` and `attendees`; get an event by ID for the full object. Dates of
409
+ * `description`, `metadata` and `attendees`; get an event by ID for the full object. An item
410
+ * the inbox is invited to still carries `response_status`, so `needs_action` marks an
411
+ * invitation waiting for a reply. Dates of
407
412
  * recurring events appear only up to about 90 days from now; use List Event Instances for a
408
413
  * recurring event's later dates. While a recurring event's dates are being regenerated after a
409
414
  * schedule change, which takes a few seconds, the agenda can briefly leave out some of them;
@@ -413,7 +418,8 @@ class CalendarClient {
413
418
  * moments earlier by a few seconds. Pass `consistency=primary` to read your own change right
414
419
  * away. Requires the `calendar_event_read` permission.
415
420
  *
416
- * Calendar is in private beta: organizations without access receive a `403`.
421
+ * Calendar is in private beta in US production (`api.agentmail.to`). It is unavailable in EU
422
+ * production (`api.agentmail.eu`). Organizations without access receive a `403`.
417
423
  *
418
424
  * @param {AgentMail.inboxes.InboxId} inbox_id
419
425
  * @param {AgentMail.inboxes.GetCalendarAgendaRequest} request
@@ -546,7 +552,8 @@ class CalendarClient {
546
552
  * The event's `etag` is the value to send in `If-Match` to make a later update or delete
547
553
  * conditional. Requires the `calendar_event_create` permission.
548
554
  *
549
- * Calendar is in private beta: organizations without access receive a `403`.
555
+ * Calendar is in private beta in US production (`api.agentmail.to`). It is unavailable in EU
556
+ * production (`api.agentmail.eu`). Organizations without access receive a `403`.
550
557
  *
551
558
  * @param {AgentMail.inboxes.InboxId} inbox_id
552
559
  * @param {AgentMail.CreateCalendarEventRequest} request
@@ -704,7 +711,8 @@ class CalendarClient {
704
711
  * reads back as it ran, even if a later change to the series no longer produces it. Requires
705
712
  * the `calendar_event_read` permission.
706
713
  *
707
- * Calendar is in private beta: organizations without access receive a `403`.
714
+ * Calendar is in private beta in US production (`api.agentmail.to`). It is unavailable in EU
715
+ * production (`api.agentmail.eu`). Organizations without access receive a `403`.
708
716
  *
709
717
  * @param {AgentMail.inboxes.InboxId} inbox_id
710
718
  * @param {AgentMail.CalendarEventId} event_id
@@ -836,7 +844,8 @@ class CalendarClient {
836
844
  * send limits, charged before the change is saved; an over-limit request returns `429`
837
845
  * `rate_limit_exceeded` and changes nothing.
838
846
  *
839
- * Calendar is in private beta: organizations without access receive a `403`.
847
+ * Calendar is in private beta in US production (`api.agentmail.to`). It is unavailable in EU
848
+ * production (`api.agentmail.eu`). Organizations without access receive a `403`.
840
849
  *
841
850
  * @param {AgentMail.inboxes.InboxId} inbox_id
842
851
  * @param {AgentMail.CalendarEventId} event_id
@@ -1015,7 +1024,8 @@ class CalendarClient {
1015
1024
  * send limits, charged before the delete; an over-limit request returns `429`
1016
1025
  * `rate_limit_exceeded` and deletes nothing.
1017
1026
  *
1018
- * Calendar is in private beta: organizations without access receive a `403`.
1027
+ * Calendar is in private beta in US production (`api.agentmail.to`). It is unavailable in EU
1028
+ * production (`api.agentmail.eu`). Organizations without access receive a `403`.
1019
1029
  *
1020
1030
  * @param {AgentMail.inboxes.InboxId} inbox_id
1021
1031
  * @param {AgentMail.CalendarEventId} event_id
@@ -1164,7 +1174,8 @@ class CalendarClient {
1164
1174
  * trail a change made moments earlier by a few seconds; pass `consistency=primary` to read
1165
1175
  * your own change right away. Requires the `calendar_event_read` permission.
1166
1176
  *
1167
- * Calendar is in private beta: organizations without access receive a `403`.
1177
+ * Calendar is in private beta in US production (`api.agentmail.to`). It is unavailable in EU
1178
+ * production (`api.agentmail.eu`). Organizations without access receive a `403`.
1168
1179
  *
1169
1180
  * @param {AgentMail.inboxes.InboxId} inbox_id
1170
1181
  * @param {string} event_id - UUID of the recurring event.
@@ -1301,7 +1312,8 @@ class CalendarClient {
1301
1312
  * charged before the response is saved; an over-limit request returns `429`
1302
1313
  * `rate_limit_exceeded` and changes nothing.
1303
1314
  *
1304
- * Calendar is in private beta: organizations without access receive a `403`.
1315
+ * Calendar is in private beta in US production (`api.agentmail.to`). It is unavailable in EU
1316
+ * production (`api.agentmail.eu`). Organizations without access receive a `403`.
1305
1317
  *
1306
1318
  * @param {AgentMail.inboxes.InboxId} inbox_id
1307
1319
  * @param {AgentMail.CalendarEventId} event_id
@@ -21,6 +21,7 @@ export interface Message {
21
21
  extractedHtml?: string;
22
22
  attachments?: AgentMail.MessageAttachments;
23
23
  inReplyTo?: AgentMail.MessageInReplyTo;
24
+ calendarEventId?: AgentMail.MessageCalendarEventId;
24
25
  references?: AgentMail.MessageReferences;
25
26
  headers?: AgentMail.MessageHeaders;
26
27
  size: AgentMail.MessageSize;
@@ -0,0 +1,8 @@
1
+ /**
2
+ * The calendar event this email's invitation was applied to: set when the email's calendar
3
+ * invitation, update, cancellation or attendee reply changed the inbox's calendar, a few seconds
4
+ * after the email arrives. For an email about one date of a recurring event, it is that date's
5
+ * event ID. Absent on other emails, and on invitations that were not imported. Calendar is in
6
+ * private beta.
7
+ */
8
+ export type MessageCalendarEventId = string;
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -13,6 +13,7 @@ export interface MessageItem {
13
13
  preview?: AgentMail.MessagePreview;
14
14
  attachments?: AgentMail.MessageAttachments;
15
15
  inReplyTo?: AgentMail.MessageInReplyTo;
16
+ calendarEventId?: AgentMail.MessageCalendarEventId;
16
17
  references?: AgentMail.MessageReferences;
17
18
  headers?: AgentMail.MessageHeaders;
18
19
  size: AgentMail.MessageSize;
@@ -9,6 +9,7 @@ export * from "./ListMessagesResponse.js";
9
9
  export * from "./Message.js";
10
10
  export * from "./MessageAttachments.js";
11
11
  export * from "./MessageBcc.js";
12
+ export * from "./MessageCalendarEventId.js";
12
13
  export * from "./MessageCc.js";
13
14
  export * from "./MessageCreatedAt.js";
14
15
  export * from "./MessageFrom.js";
@@ -25,6 +25,7 @@ __exportStar(require("./ListMessagesResponse.js"), exports);
25
25
  __exportStar(require("./Message.js"), exports);
26
26
  __exportStar(require("./MessageAttachments.js"), exports);
27
27
  __exportStar(require("./MessageBcc.js"), exports);
28
+ __exportStar(require("./MessageCalendarEventId.js"), exports);
28
29
  __exportStar(require("./MessageCc.js"), exports);
29
30
  __exportStar(require("./MessageCreatedAt.js"), exports);
30
31
  __exportStar(require("./MessageFrom.js"), exports);
@@ -2,6 +2,7 @@ import type * as AgentMail from "../../../../api/index.js";
2
2
  import * as core from "../../../../core/index.js";
3
3
  import type * as serializers from "../../../index.js";
4
4
  import { Attendee } from "./Attendee.js";
5
+ import { AttendeeStatus } from "./AttendeeStatus.js";
5
6
  import { CalendarEventId } from "./CalendarEventId.js";
6
7
  import { CalendarEventKind } from "./CalendarEventKind.js";
7
8
  import { CalendarEventSource } from "./CalendarEventSource.js";
@@ -36,6 +37,7 @@ export declare namespace CalendarEvent {
36
37
  recurrence?: Recurrence.Raw | null;
37
38
  attendees?: Attendee.Raw[] | null;
38
39
  attendee_count: number;
40
+ response_status?: AttendeeStatus.Raw | null;
39
41
  uid: string;
40
42
  sequence: number;
41
43
  source: CalendarEventSource.Raw;
@@ -37,6 +37,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
37
37
  exports.CalendarEvent = void 0;
38
38
  const core = __importStar(require("../../../../core/index.js"));
39
39
  const Attendee_js_1 = require("./Attendee.js");
40
+ const AttendeeStatus_js_1 = require("./AttendeeStatus.js");
40
41
  const CalendarEventId_js_1 = require("./CalendarEventId.js");
41
42
  const CalendarEventKind_js_1 = require("./CalendarEventKind.js");
42
43
  const CalendarEventSource_js_1 = require("./CalendarEventSource.js");
@@ -69,6 +70,7 @@ exports.CalendarEvent = core.serialization.object({
69
70
  recurrence: Recurrence_js_1.Recurrence.optional(),
70
71
  attendees: core.serialization.list(Attendee_js_1.Attendee).optional(),
71
72
  attendeeCount: core.serialization.property("attendee_count", core.serialization.number()),
73
+ responseStatus: core.serialization.property("response_status", AttendeeStatus_js_1.AttendeeStatus.optional()),
72
74
  uid: core.serialization.string(),
73
75
  sequence: core.serialization.number(),
74
76
  source: CalendarEventSource_js_1.CalendarEventSource,
@@ -5,6 +5,7 @@ import { InboxId } from "../../inboxes/types/InboxId.js";
5
5
  import { ThreadId } from "../../threads/types/ThreadId.js";
6
6
  import { MessageAttachments } from "./MessageAttachments.js";
7
7
  import { MessageBcc } from "./MessageBcc.js";
8
+ import { MessageCalendarEventId } from "./MessageCalendarEventId.js";
8
9
  import { MessageCc } from "./MessageCc.js";
9
10
  import { MessageCreatedAt } from "./MessageCreatedAt.js";
10
11
  import { MessageFrom } from "./MessageFrom.js";
@@ -42,6 +43,7 @@ export declare namespace Message {
42
43
  extracted_html?: string | null;
43
44
  attachments?: MessageAttachments.Raw | null;
44
45
  in_reply_to?: MessageInReplyTo.Raw | null;
46
+ calendar_event_id?: MessageCalendarEventId.Raw | null;
45
47
  references?: MessageReferences.Raw | null;
46
48
  headers?: MessageHeaders.Raw | null;
47
49
  size: MessageSize.Raw;
@@ -40,6 +40,7 @@ const InboxId_js_1 = require("../../inboxes/types/InboxId.js");
40
40
  const ThreadId_js_1 = require("../../threads/types/ThreadId.js");
41
41
  const MessageAttachments_js_1 = require("./MessageAttachments.js");
42
42
  const MessageBcc_js_1 = require("./MessageBcc.js");
43
+ const MessageCalendarEventId_js_1 = require("./MessageCalendarEventId.js");
43
44
  const MessageCc_js_1 = require("./MessageCc.js");
44
45
  const MessageCreatedAt_js_1 = require("./MessageCreatedAt.js");
45
46
  const MessageFrom_js_1 = require("./MessageFrom.js");
@@ -75,6 +76,7 @@ exports.Message = core.serialization.object({
75
76
  extractedHtml: core.serialization.property("extracted_html", core.serialization.string().optional()),
76
77
  attachments: MessageAttachments_js_1.MessageAttachments.optional(),
77
78
  inReplyTo: core.serialization.property("in_reply_to", MessageInReplyTo_js_1.MessageInReplyTo.optional()),
79
+ calendarEventId: core.serialization.property("calendar_event_id", MessageCalendarEventId_js_1.MessageCalendarEventId.optional()),
78
80
  references: MessageReferences_js_1.MessageReferences.optional(),
79
81
  headers: MessageHeaders_js_1.MessageHeaders.optional(),
80
82
  size: MessageSize_js_1.MessageSize,
@@ -0,0 +1,7 @@
1
+ import type * as AgentMail from "../../../../api/index.js";
2
+ import * as core from "../../../../core/index.js";
3
+ import type * as serializers from "../../../index.js";
4
+ export declare const MessageCalendarEventId: core.serialization.Schema<serializers.MessageCalendarEventId.Raw, AgentMail.MessageCalendarEventId>;
5
+ export declare namespace MessageCalendarEventId {
6
+ type Raw = string;
7
+ }
@@ -0,0 +1,39 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
4
+ if (k2 === undefined) k2 = k;
5
+ var desc = Object.getOwnPropertyDescriptor(m, k);
6
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
7
+ desc = { enumerable: true, get: function() { return m[k]; } };
8
+ }
9
+ Object.defineProperty(o, k2, desc);
10
+ }) : (function(o, m, k, k2) {
11
+ if (k2 === undefined) k2 = k;
12
+ o[k2] = m[k];
13
+ }));
14
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
15
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
16
+ }) : function(o, v) {
17
+ o["default"] = v;
18
+ });
19
+ var __importStar = (this && this.__importStar) || (function () {
20
+ var ownKeys = function(o) {
21
+ ownKeys = Object.getOwnPropertyNames || function (o) {
22
+ var ar = [];
23
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
24
+ return ar;
25
+ };
26
+ return ownKeys(o);
27
+ };
28
+ return function (mod) {
29
+ if (mod && mod.__esModule) return mod;
30
+ var result = {};
31
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
32
+ __setModuleDefault(result, mod);
33
+ return result;
34
+ };
35
+ })();
36
+ Object.defineProperty(exports, "__esModule", { value: true });
37
+ exports.MessageCalendarEventId = void 0;
38
+ const core = __importStar(require("../../../../core/index.js"));
39
+ exports.MessageCalendarEventId = core.serialization.string();
@@ -5,6 +5,7 @@ import { InboxId } from "../../inboxes/types/InboxId.js";
5
5
  import { ThreadId } from "../../threads/types/ThreadId.js";
6
6
  import { MessageAttachments } from "./MessageAttachments.js";
7
7
  import { MessageBcc } from "./MessageBcc.js";
8
+ import { MessageCalendarEventId } from "./MessageCalendarEventId.js";
8
9
  import { MessageCc } from "./MessageCc.js";
9
10
  import { MessageCreatedAt } from "./MessageCreatedAt.js";
10
11
  import { MessageFrom } from "./MessageFrom.js";
@@ -35,6 +36,7 @@ export declare namespace MessageItem {
35
36
  preview?: MessagePreview.Raw | null;
36
37
  attachments?: MessageAttachments.Raw | null;
37
38
  in_reply_to?: MessageInReplyTo.Raw | null;
39
+ calendar_event_id?: MessageCalendarEventId.Raw | null;
38
40
  references?: MessageReferences.Raw | null;
39
41
  headers?: MessageHeaders.Raw | null;
40
42
  size: MessageSize.Raw;
@@ -40,6 +40,7 @@ const InboxId_js_1 = require("../../inboxes/types/InboxId.js");
40
40
  const ThreadId_js_1 = require("../../threads/types/ThreadId.js");
41
41
  const MessageAttachments_js_1 = require("./MessageAttachments.js");
42
42
  const MessageBcc_js_1 = require("./MessageBcc.js");
43
+ const MessageCalendarEventId_js_1 = require("./MessageCalendarEventId.js");
43
44
  const MessageCc_js_1 = require("./MessageCc.js");
44
45
  const MessageCreatedAt_js_1 = require("./MessageCreatedAt.js");
45
46
  const MessageFrom_js_1 = require("./MessageFrom.js");
@@ -68,6 +69,7 @@ exports.MessageItem = core.serialization.object({
68
69
  preview: MessagePreview_js_1.MessagePreview.optional(),
69
70
  attachments: MessageAttachments_js_1.MessageAttachments.optional(),
70
71
  inReplyTo: core.serialization.property("in_reply_to", MessageInReplyTo_js_1.MessageInReplyTo.optional()),
72
+ calendarEventId: core.serialization.property("calendar_event_id", MessageCalendarEventId_js_1.MessageCalendarEventId.optional()),
71
73
  references: MessageReferences_js_1.MessageReferences.optional(),
72
74
  headers: MessageHeaders_js_1.MessageHeaders.optional(),
73
75
  size: MessageSize_js_1.MessageSize,
@@ -9,6 +9,7 @@ export * from "./ListMessagesResponse.js";
9
9
  export * from "./Message.js";
10
10
  export * from "./MessageAttachments.js";
11
11
  export * from "./MessageBcc.js";
12
+ export * from "./MessageCalendarEventId.js";
12
13
  export * from "./MessageCc.js";
13
14
  export * from "./MessageCreatedAt.js";
14
15
  export * from "./MessageFrom.js";
@@ -25,6 +25,7 @@ __exportStar(require("./ListMessagesResponse.js"), exports);
25
25
  __exportStar(require("./Message.js"), exports);
26
26
  __exportStar(require("./MessageAttachments.js"), exports);
27
27
  __exportStar(require("./MessageBcc.js"), exports);
28
+ __exportStar(require("./MessageCalendarEventId.js"), exports);
28
29
  __exportStar(require("./MessageCc.js"), exports);
29
30
  __exportStar(require("./MessageCreatedAt.js"), exports);
30
31
  __exportStar(require("./MessageFrom.js"), exports);
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "0.5.40";
1
+ export declare const SDK_VERSION = "0.5.42";
@@ -1,4 +1,4 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.SDK_VERSION = void 0;
4
- exports.SDK_VERSION = "0.5.40";
4
+ exports.SDK_VERSION = "0.5.42";
@@ -6,8 +6,8 @@ export function normalizeClientOptions(options) {
6
6
  const headers = mergeHeaders({
7
7
  "X-Fern-Language": "JavaScript",
8
8
  "X-Fern-SDK-Name": "agentmail",
9
- "X-Fern-SDK-Version": "0.5.40",
10
- "User-Agent": "agentmail/0.5.40",
9
+ "X-Fern-SDK-Version": "0.5.42",
10
+ "User-Agent": "agentmail/0.5.42",
11
11
  "X-Fern-Runtime": core.RUNTIME.type,
12
12
  "X-Fern-Runtime-Version": core.RUNTIME.version,
13
13
  }, options === null || options === void 0 ? void 0 : options.headers);
@@ -43,6 +43,13 @@ export interface CalendarEvent {
43
43
  attendees?: AgentMail.Attendee[];
44
44
  /** Number of attendees. */
45
45
  attendeeCount: number;
46
+ /**
47
+ * The inbox's own response: the `status` of its entry in `attendees`. Present only on events
48
+ * the inbox can respond to: `email` events with an `organizer_email` and an
49
+ * `origin_message_id` that list the inbox as an attendee. Included on agenda and instance list
50
+ * items, which omit `attendees`. `needs_action` means the invitation is waiting for a reply.
51
+ */
52
+ responseStatus?: AgentMail.AttendeeStatus;
46
53
  /** iCalendar UID of the event. Invitations about this event carry the same UID. */
47
54
  uid: string;
48
55
  /**
@@ -7,7 +7,8 @@ export interface RecurrenceInput {
7
7
  /**
8
8
  * RFC 5545 RRULE body, with or without the `RRULE:` prefix, for example
9
9
  * `FREQ=WEEKLY;BYDAY=MO,WE,FR` or `FREQ=MONTHLY;BYDAY=-1FR;COUNT=12`. Supported parts: `FREQ`,
10
- * `INTERVAL` (1 to 366), `COUNT` (1 to 10,000), `UNTIL` (`YYYYMMDD` or `YYYYMMDDTHHMMSSZ`),
10
+ * `INTERVAL` (1 to 366), `COUNT` (1 to 10,000), `UNTIL` (`YYYYMMDD` for all-day events,
11
+ * `YYYYMMDDTHHMMSSZ` for timed events),
11
12
  * `WKST`, `BYMONTH`, `BYWEEKNO`, `BYYEARDAY`, `BYMONTHDAY`, `BYDAY`, `BYHOUR`, `BYMINUTE`,
12
13
  * `BYSECOND` and `BYSETPOS`. `COUNT` and `UNTIL` are mutually exclusive. The rule is stored in
13
14
  * a normalized form, so a response can differ textually from what you sent. At most 512
@@ -17,8 +17,9 @@ export declare class CalendarClient {
17
17
  * created. Its `etag` (also the `ETag` response header) is the value to send in `If-Match` to
18
18
  * make an update conditional.
19
19
  *
20
- * Requires the `calendar_read` permission. Calendar is in private beta: organizations without
21
- * access receive a `403`.
20
+ * Requires the `calendar_read` permission. Calendar is in private beta in US production
21
+ * (`api.agentmail.to`) and is unavailable in EU production (`api.agentmail.eu`).
22
+ * Organizations without access receive a `403`.
22
23
  *
23
24
  * @param {AgentMail.inboxes.InboxId} inbox_id
24
25
  * @param {AgentMail.inboxes.GetCalendarRequest} request
@@ -43,7 +44,8 @@ export declare class CalendarClient {
43
44
  * calendar's current `etag` in `If-Match`: a stale value returns `412`. Without `If-Match` the
44
45
  * update applies to the calendar as it is.
45
46
  *
46
- * Calendar is in private beta: organizations without access receive a `403`.
47
+ * Calendar is in private beta in US production (`api.agentmail.to`). It is unavailable in EU
48
+ * production (`api.agentmail.eu`). Organizations without access receive a `403`.
47
49
  *
48
50
  * @param {AgentMail.inboxes.InboxId} inbox_id
49
51
  * @param {AgentMail.inboxes.UpdateCalendarRequestWrapper} request
@@ -75,7 +77,8 @@ export declare class CalendarClient {
75
77
  * The list is always read in the region that serves the request, so it can trail a change made
76
78
  * moments earlier by a few seconds. Requires the `calendar_event_read` permission.
77
79
  *
78
- * Calendar is in private beta: organizations without access receive a `403`.
80
+ * Calendar is in private beta in US production (`api.agentmail.to`). It is unavailable in EU
81
+ * production (`api.agentmail.eu`). Organizations without access receive a `403`.
79
82
  *
80
83
  * @param {AgentMail.inboxes.InboxId} inbox_id
81
84
  * @param {AgentMail.inboxes.ListCalendarEventsRequest} request
@@ -100,7 +103,9 @@ export declare class CalendarClient {
100
103
  * Use it to answer "what is on the calendar".
101
104
  *
102
105
  * The window defaults to now through 90 days from now and can be at most 366 days. Items omit
103
- * `description`, `metadata` and `attendees`; get an event by ID for the full object. Dates of
106
+ * `description`, `metadata` and `attendees`; get an event by ID for the full object. An item
107
+ * the inbox is invited to still carries `response_status`, so `needs_action` marks an
108
+ * invitation waiting for a reply. Dates of
104
109
  * recurring events appear only up to about 90 days from now; use List Event Instances for a
105
110
  * recurring event's later dates. While a recurring event's dates are being regenerated after a
106
111
  * schedule change, which takes a few seconds, the agenda can briefly leave out some of them;
@@ -110,7 +115,8 @@ export declare class CalendarClient {
110
115
  * moments earlier by a few seconds. Pass `consistency=primary` to read your own change right
111
116
  * away. Requires the `calendar_event_read` permission.
112
117
  *
113
- * Calendar is in private beta: organizations without access receive a `403`.
118
+ * Calendar is in private beta in US production (`api.agentmail.to`). It is unavailable in EU
119
+ * production (`api.agentmail.eu`). Organizations without access receive a `403`.
114
120
  *
115
121
  * @param {AgentMail.inboxes.InboxId} inbox_id
116
122
  * @param {AgentMail.inboxes.GetCalendarAgendaRequest} request
@@ -152,7 +158,8 @@ export declare class CalendarClient {
152
158
  * The event's `etag` is the value to send in `If-Match` to make a later update or delete
153
159
  * conditional. Requires the `calendar_event_create` permission.
154
160
  *
155
- * Calendar is in private beta: organizations without access receive a `403`.
161
+ * Calendar is in private beta in US production (`api.agentmail.to`). It is unavailable in EU
162
+ * production (`api.agentmail.eu`). Organizations without access receive a `403`.
156
163
  *
157
164
  * @param {AgentMail.inboxes.InboxId} inbox_id
158
165
  * @param {AgentMail.CreateCalendarEventRequest} request
@@ -213,7 +220,8 @@ export declare class CalendarClient {
213
220
  * reads back as it ran, even if a later change to the series no longer produces it. Requires
214
221
  * the `calendar_event_read` permission.
215
222
  *
216
- * Calendar is in private beta: organizations without access receive a `403`.
223
+ * Calendar is in private beta in US production (`api.agentmail.to`). It is unavailable in EU
224
+ * production (`api.agentmail.eu`). Organizations without access receive a `403`.
217
225
  *
218
226
  * @param {AgentMail.inboxes.InboxId} inbox_id
219
227
  * @param {AgentMail.CalendarEventId} event_id
@@ -261,7 +269,8 @@ export declare class CalendarClient {
261
269
  * send limits, charged before the change is saved; an over-limit request returns `429`
262
270
  * `rate_limit_exceeded` and changes nothing.
263
271
  *
264
- * Calendar is in private beta: organizations without access receive a `403`.
272
+ * Calendar is in private beta in US production (`api.agentmail.to`). It is unavailable in EU
273
+ * production (`api.agentmail.eu`). Organizations without access receive a `403`.
265
274
  *
266
275
  * @param {AgentMail.inboxes.InboxId} inbox_id
267
276
  * @param {AgentMail.CalendarEventId} event_id
@@ -318,7 +327,8 @@ export declare class CalendarClient {
318
327
  * send limits, charged before the delete; an over-limit request returns `429`
319
328
  * `rate_limit_exceeded` and deletes nothing.
320
329
  *
321
- * Calendar is in private beta: organizations without access receive a `403`.
330
+ * Calendar is in private beta in US production (`api.agentmail.to`). It is unavailable in EU
331
+ * production (`api.agentmail.eu`). Organizations without access receive a `403`.
322
332
  *
323
333
  * @param {AgentMail.inboxes.InboxId} inbox_id
324
334
  * @param {AgentMail.CalendarEventId} event_id
@@ -358,7 +368,8 @@ export declare class CalendarClient {
358
368
  * trail a change made moments earlier by a few seconds; pass `consistency=primary` to read
359
369
  * your own change right away. Requires the `calendar_event_read` permission.
360
370
  *
361
- * Calendar is in private beta: organizations without access receive a `403`.
371
+ * Calendar is in private beta in US production (`api.agentmail.to`). It is unavailable in EU
372
+ * production (`api.agentmail.eu`). Organizations without access receive a `403`.
362
373
  *
363
374
  * @param {AgentMail.inboxes.InboxId} inbox_id
364
375
  * @param {string} event_id - UUID of the recurring event.
@@ -396,7 +407,8 @@ export declare class CalendarClient {
396
407
  * charged before the response is saved; an over-limit request returns `429`
397
408
  * `rate_limit_exceeded` and changes nothing.
398
409
  *
399
- * Calendar is in private beta: organizations without access receive a `403`.
410
+ * Calendar is in private beta in US production (`api.agentmail.to`). It is unavailable in EU
411
+ * production (`api.agentmail.eu`). Organizations without access receive a `403`.
400
412
  *
401
413
  * @param {AgentMail.inboxes.InboxId} inbox_id
402
414
  * @param {AgentMail.CalendarEventId} event_id
@@ -38,8 +38,9 @@ export class CalendarClient {
38
38
  * created. Its `etag` (also the `ETag` response header) is the value to send in `If-Match` to
39
39
  * make an update conditional.
40
40
  *
41
- * Requires the `calendar_read` permission. Calendar is in private beta: organizations without
42
- * access receive a `403`.
41
+ * Requires the `calendar_read` permission. Calendar is in private beta in US production
42
+ * (`api.agentmail.to`) and is unavailable in EU production (`api.agentmail.eu`).
43
+ * Organizations without access receive a `403`.
43
44
  *
44
45
  * @param {AgentMail.inboxes.InboxId} inbox_id
45
46
  * @param {AgentMail.inboxes.GetCalendarRequest} request
@@ -140,7 +141,8 @@ export class CalendarClient {
140
141
  * calendar's current `etag` in `If-Match`: a stale value returns `412`. Without `If-Match` the
141
142
  * update applies to the calendar as it is.
142
143
  *
143
- * Calendar is in private beta: organizations without access receive a `403`.
144
+ * Calendar is in private beta in US production (`api.agentmail.to`). It is unavailable in EU
145
+ * production (`api.agentmail.eu`). Organizations without access receive a `403`.
144
146
  *
145
147
  * @param {AgentMail.inboxes.InboxId} inbox_id
146
148
  * @param {AgentMail.inboxes.UpdateCalendarRequestWrapper} request
@@ -270,7 +272,8 @@ export class CalendarClient {
270
272
  * The list is always read in the region that serves the request, so it can trail a change made
271
273
  * moments earlier by a few seconds. Requires the `calendar_event_read` permission.
272
274
  *
273
- * Calendar is in private beta: organizations without access receive a `403`.
275
+ * Calendar is in private beta in US production (`api.agentmail.to`). It is unavailable in EU
276
+ * production (`api.agentmail.eu`). Organizations without access receive a `403`.
274
277
  *
275
278
  * @param {AgentMail.inboxes.InboxId} inbox_id
276
279
  * @param {AgentMail.inboxes.ListCalendarEventsRequest} request
@@ -367,7 +370,9 @@ export class CalendarClient {
367
370
  * Use it to answer "what is on the calendar".
368
371
  *
369
372
  * The window defaults to now through 90 days from now and can be at most 366 days. Items omit
370
- * `description`, `metadata` and `attendees`; get an event by ID for the full object. Dates of
373
+ * `description`, `metadata` and `attendees`; get an event by ID for the full object. An item
374
+ * the inbox is invited to still carries `response_status`, so `needs_action` marks an
375
+ * invitation waiting for a reply. Dates of
371
376
  * recurring events appear only up to about 90 days from now; use List Event Instances for a
372
377
  * recurring event's later dates. While a recurring event's dates are being regenerated after a
373
378
  * schedule change, which takes a few seconds, the agenda can briefly leave out some of them;
@@ -377,7 +382,8 @@ export class CalendarClient {
377
382
  * moments earlier by a few seconds. Pass `consistency=primary` to read your own change right
378
383
  * away. Requires the `calendar_event_read` permission.
379
384
  *
380
- * Calendar is in private beta: organizations without access receive a `403`.
385
+ * Calendar is in private beta in US production (`api.agentmail.to`). It is unavailable in EU
386
+ * production (`api.agentmail.eu`). Organizations without access receive a `403`.
381
387
  *
382
388
  * @param {AgentMail.inboxes.InboxId} inbox_id
383
389
  * @param {AgentMail.inboxes.GetCalendarAgendaRequest} request
@@ -510,7 +516,8 @@ export class CalendarClient {
510
516
  * The event's `etag` is the value to send in `If-Match` to make a later update or delete
511
517
  * conditional. Requires the `calendar_event_create` permission.
512
518
  *
513
- * Calendar is in private beta: organizations without access receive a `403`.
519
+ * Calendar is in private beta in US production (`api.agentmail.to`). It is unavailable in EU
520
+ * production (`api.agentmail.eu`). Organizations without access receive a `403`.
514
521
  *
515
522
  * @param {AgentMail.inboxes.InboxId} inbox_id
516
523
  * @param {AgentMail.CreateCalendarEventRequest} request
@@ -668,7 +675,8 @@ export class CalendarClient {
668
675
  * reads back as it ran, even if a later change to the series no longer produces it. Requires
669
676
  * the `calendar_event_read` permission.
670
677
  *
671
- * Calendar is in private beta: organizations without access receive a `403`.
678
+ * Calendar is in private beta in US production (`api.agentmail.to`). It is unavailable in EU
679
+ * production (`api.agentmail.eu`). Organizations without access receive a `403`.
672
680
  *
673
681
  * @param {AgentMail.inboxes.InboxId} inbox_id
674
682
  * @param {AgentMail.CalendarEventId} event_id
@@ -800,7 +808,8 @@ export class CalendarClient {
800
808
  * send limits, charged before the change is saved; an over-limit request returns `429`
801
809
  * `rate_limit_exceeded` and changes nothing.
802
810
  *
803
- * Calendar is in private beta: organizations without access receive a `403`.
811
+ * Calendar is in private beta in US production (`api.agentmail.to`). It is unavailable in EU
812
+ * production (`api.agentmail.eu`). Organizations without access receive a `403`.
804
813
  *
805
814
  * @param {AgentMail.inboxes.InboxId} inbox_id
806
815
  * @param {AgentMail.CalendarEventId} event_id
@@ -979,7 +988,8 @@ export class CalendarClient {
979
988
  * send limits, charged before the delete; an over-limit request returns `429`
980
989
  * `rate_limit_exceeded` and deletes nothing.
981
990
  *
982
- * Calendar is in private beta: organizations without access receive a `403`.
991
+ * Calendar is in private beta in US production (`api.agentmail.to`). It is unavailable in EU
992
+ * production (`api.agentmail.eu`). Organizations without access receive a `403`.
983
993
  *
984
994
  * @param {AgentMail.inboxes.InboxId} inbox_id
985
995
  * @param {AgentMail.CalendarEventId} event_id
@@ -1128,7 +1138,8 @@ export class CalendarClient {
1128
1138
  * trail a change made moments earlier by a few seconds; pass `consistency=primary` to read
1129
1139
  * your own change right away. Requires the `calendar_event_read` permission.
1130
1140
  *
1131
- * Calendar is in private beta: organizations without access receive a `403`.
1141
+ * Calendar is in private beta in US production (`api.agentmail.to`). It is unavailable in EU
1142
+ * production (`api.agentmail.eu`). Organizations without access receive a `403`.
1132
1143
  *
1133
1144
  * @param {AgentMail.inboxes.InboxId} inbox_id
1134
1145
  * @param {string} event_id - UUID of the recurring event.
@@ -1265,7 +1276,8 @@ export class CalendarClient {
1265
1276
  * charged before the response is saved; an over-limit request returns `429`
1266
1277
  * `rate_limit_exceeded` and changes nothing.
1267
1278
  *
1268
- * Calendar is in private beta: organizations without access receive a `403`.
1279
+ * Calendar is in private beta in US production (`api.agentmail.to`). It is unavailable in EU
1280
+ * production (`api.agentmail.eu`). Organizations without access receive a `403`.
1269
1281
  *
1270
1282
  * @param {AgentMail.inboxes.InboxId} inbox_id
1271
1283
  * @param {AgentMail.CalendarEventId} event_id
@@ -21,6 +21,7 @@ export interface Message {
21
21
  extractedHtml?: string;
22
22
  attachments?: AgentMail.MessageAttachments;
23
23
  inReplyTo?: AgentMail.MessageInReplyTo;
24
+ calendarEventId?: AgentMail.MessageCalendarEventId;
24
25
  references?: AgentMail.MessageReferences;
25
26
  headers?: AgentMail.MessageHeaders;
26
27
  size: AgentMail.MessageSize;
@@ -0,0 +1,8 @@
1
+ /**
2
+ * The calendar event this email's invitation was applied to: set when the email's calendar
3
+ * invitation, update, cancellation or attendee reply changed the inbox's calendar, a few seconds
4
+ * after the email arrives. For an email about one date of a recurring event, it is that date's
5
+ * event ID. Absent on other emails, and on invitations that were not imported. Calendar is in
6
+ * private beta.
7
+ */
8
+ export type MessageCalendarEventId = string;
@@ -0,0 +1,2 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ export {};
@@ -13,6 +13,7 @@ export interface MessageItem {
13
13
  preview?: AgentMail.MessagePreview;
14
14
  attachments?: AgentMail.MessageAttachments;
15
15
  inReplyTo?: AgentMail.MessageInReplyTo;
16
+ calendarEventId?: AgentMail.MessageCalendarEventId;
16
17
  references?: AgentMail.MessageReferences;
17
18
  headers?: AgentMail.MessageHeaders;
18
19
  size: AgentMail.MessageSize;
@@ -9,6 +9,7 @@ export * from "./ListMessagesResponse.mjs";
9
9
  export * from "./Message.mjs";
10
10
  export * from "./MessageAttachments.mjs";
11
11
  export * from "./MessageBcc.mjs";
12
+ export * from "./MessageCalendarEventId.mjs";
12
13
  export * from "./MessageCc.mjs";
13
14
  export * from "./MessageCreatedAt.mjs";
14
15
  export * from "./MessageFrom.mjs";
@@ -9,6 +9,7 @@ export * from "./ListMessagesResponse.mjs";
9
9
  export * from "./Message.mjs";
10
10
  export * from "./MessageAttachments.mjs";
11
11
  export * from "./MessageBcc.mjs";
12
+ export * from "./MessageCalendarEventId.mjs";
12
13
  export * from "./MessageCc.mjs";
13
14
  export * from "./MessageCreatedAt.mjs";
14
15
  export * from "./MessageFrom.mjs";
@@ -2,6 +2,7 @@ import type * as AgentMail from "../../../../api/index.mjs";
2
2
  import * as core from "../../../../core/index.mjs";
3
3
  import type * as serializers from "../../../index.mjs";
4
4
  import { Attendee } from "./Attendee.mjs";
5
+ import { AttendeeStatus } from "./AttendeeStatus.mjs";
5
6
  import { CalendarEventId } from "./CalendarEventId.mjs";
6
7
  import { CalendarEventKind } from "./CalendarEventKind.mjs";
7
8
  import { CalendarEventSource } from "./CalendarEventSource.mjs";
@@ -36,6 +37,7 @@ export declare namespace CalendarEvent {
36
37
  recurrence?: Recurrence.Raw | null;
37
38
  attendees?: Attendee.Raw[] | null;
38
39
  attendee_count: number;
40
+ response_status?: AttendeeStatus.Raw | null;
39
41
  uid: string;
40
42
  sequence: number;
41
43
  source: CalendarEventSource.Raw;
@@ -1,6 +1,7 @@
1
1
  // This file was auto-generated by Fern from our API Definition.
2
2
  import * as core from "../../../../core/index.mjs";
3
3
  import { Attendee } from "./Attendee.mjs";
4
+ import { AttendeeStatus } from "./AttendeeStatus.mjs";
4
5
  import { CalendarEventId } from "./CalendarEventId.mjs";
5
6
  import { CalendarEventKind } from "./CalendarEventKind.mjs";
6
7
  import { CalendarEventSource } from "./CalendarEventSource.mjs";
@@ -33,6 +34,7 @@ export const CalendarEvent = core.serialization.object({
33
34
  recurrence: Recurrence.optional(),
34
35
  attendees: core.serialization.list(Attendee).optional(),
35
36
  attendeeCount: core.serialization.property("attendee_count", core.serialization.number()),
37
+ responseStatus: core.serialization.property("response_status", AttendeeStatus.optional()),
36
38
  uid: core.serialization.string(),
37
39
  sequence: core.serialization.number(),
38
40
  source: CalendarEventSource,
@@ -5,6 +5,7 @@ import { InboxId } from "../../inboxes/types/InboxId.mjs";
5
5
  import { ThreadId } from "../../threads/types/ThreadId.mjs";
6
6
  import { MessageAttachments } from "./MessageAttachments.mjs";
7
7
  import { MessageBcc } from "./MessageBcc.mjs";
8
+ import { MessageCalendarEventId } from "./MessageCalendarEventId.mjs";
8
9
  import { MessageCc } from "./MessageCc.mjs";
9
10
  import { MessageCreatedAt } from "./MessageCreatedAt.mjs";
10
11
  import { MessageFrom } from "./MessageFrom.mjs";
@@ -42,6 +43,7 @@ export declare namespace Message {
42
43
  extracted_html?: string | null;
43
44
  attachments?: MessageAttachments.Raw | null;
44
45
  in_reply_to?: MessageInReplyTo.Raw | null;
46
+ calendar_event_id?: MessageCalendarEventId.Raw | null;
45
47
  references?: MessageReferences.Raw | null;
46
48
  headers?: MessageHeaders.Raw | null;
47
49
  size: MessageSize.Raw;
@@ -4,6 +4,7 @@ import { InboxId } from "../../inboxes/types/InboxId.mjs";
4
4
  import { ThreadId } from "../../threads/types/ThreadId.mjs";
5
5
  import { MessageAttachments } from "./MessageAttachments.mjs";
6
6
  import { MessageBcc } from "./MessageBcc.mjs";
7
+ import { MessageCalendarEventId } from "./MessageCalendarEventId.mjs";
7
8
  import { MessageCc } from "./MessageCc.mjs";
8
9
  import { MessageCreatedAt } from "./MessageCreatedAt.mjs";
9
10
  import { MessageFrom } from "./MessageFrom.mjs";
@@ -39,6 +40,7 @@ export const Message = core.serialization.object({
39
40
  extractedHtml: core.serialization.property("extracted_html", core.serialization.string().optional()),
40
41
  attachments: MessageAttachments.optional(),
41
42
  inReplyTo: core.serialization.property("in_reply_to", MessageInReplyTo.optional()),
43
+ calendarEventId: core.serialization.property("calendar_event_id", MessageCalendarEventId.optional()),
42
44
  references: MessageReferences.optional(),
43
45
  headers: MessageHeaders.optional(),
44
46
  size: MessageSize,
@@ -0,0 +1,7 @@
1
+ import type * as AgentMail from "../../../../api/index.mjs";
2
+ import * as core from "../../../../core/index.mjs";
3
+ import type * as serializers from "../../../index.mjs";
4
+ export declare const MessageCalendarEventId: core.serialization.Schema<serializers.MessageCalendarEventId.Raw, AgentMail.MessageCalendarEventId>;
5
+ export declare namespace MessageCalendarEventId {
6
+ type Raw = string;
7
+ }
@@ -0,0 +1,3 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ import * as core from "../../../../core/index.mjs";
3
+ export const MessageCalendarEventId = core.serialization.string();
@@ -5,6 +5,7 @@ import { InboxId } from "../../inboxes/types/InboxId.mjs";
5
5
  import { ThreadId } from "../../threads/types/ThreadId.mjs";
6
6
  import { MessageAttachments } from "./MessageAttachments.mjs";
7
7
  import { MessageBcc } from "./MessageBcc.mjs";
8
+ import { MessageCalendarEventId } from "./MessageCalendarEventId.mjs";
8
9
  import { MessageCc } from "./MessageCc.mjs";
9
10
  import { MessageCreatedAt } from "./MessageCreatedAt.mjs";
10
11
  import { MessageFrom } from "./MessageFrom.mjs";
@@ -35,6 +36,7 @@ export declare namespace MessageItem {
35
36
  preview?: MessagePreview.Raw | null;
36
37
  attachments?: MessageAttachments.Raw | null;
37
38
  in_reply_to?: MessageInReplyTo.Raw | null;
39
+ calendar_event_id?: MessageCalendarEventId.Raw | null;
38
40
  references?: MessageReferences.Raw | null;
39
41
  headers?: MessageHeaders.Raw | null;
40
42
  size: MessageSize.Raw;
@@ -4,6 +4,7 @@ import { InboxId } from "../../inboxes/types/InboxId.mjs";
4
4
  import { ThreadId } from "../../threads/types/ThreadId.mjs";
5
5
  import { MessageAttachments } from "./MessageAttachments.mjs";
6
6
  import { MessageBcc } from "./MessageBcc.mjs";
7
+ import { MessageCalendarEventId } from "./MessageCalendarEventId.mjs";
7
8
  import { MessageCc } from "./MessageCc.mjs";
8
9
  import { MessageCreatedAt } from "./MessageCreatedAt.mjs";
9
10
  import { MessageFrom } from "./MessageFrom.mjs";
@@ -32,6 +33,7 @@ export const MessageItem = core.serialization.object({
32
33
  preview: MessagePreview.optional(),
33
34
  attachments: MessageAttachments.optional(),
34
35
  inReplyTo: core.serialization.property("in_reply_to", MessageInReplyTo.optional()),
36
+ calendarEventId: core.serialization.property("calendar_event_id", MessageCalendarEventId.optional()),
35
37
  references: MessageReferences.optional(),
36
38
  headers: MessageHeaders.optional(),
37
39
  size: MessageSize,
@@ -9,6 +9,7 @@ export * from "./ListMessagesResponse.mjs";
9
9
  export * from "./Message.mjs";
10
10
  export * from "./MessageAttachments.mjs";
11
11
  export * from "./MessageBcc.mjs";
12
+ export * from "./MessageCalendarEventId.mjs";
12
13
  export * from "./MessageCc.mjs";
13
14
  export * from "./MessageCreatedAt.mjs";
14
15
  export * from "./MessageFrom.mjs";
@@ -9,6 +9,7 @@ export * from "./ListMessagesResponse.mjs";
9
9
  export * from "./Message.mjs";
10
10
  export * from "./MessageAttachments.mjs";
11
11
  export * from "./MessageBcc.mjs";
12
+ export * from "./MessageCalendarEventId.mjs";
12
13
  export * from "./MessageCc.mjs";
13
14
  export * from "./MessageCreatedAt.mjs";
14
15
  export * from "./MessageFrom.mjs";
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "0.5.40";
1
+ export declare const SDK_VERSION = "0.5.42";
@@ -1 +1 @@
1
- export const SDK_VERSION = "0.5.40";
1
+ export const SDK_VERSION = "0.5.42";
package/dist/llms.txt CHANGED
@@ -22,6 +22,12 @@
22
22
  - [Attachments](https://docs.agentmail.to/attachments.md): Learn how to send files as attachments, and download incoming attachments from both messages and threads.
23
23
  - [Pods](https://docs.agentmail.to/documentation/core-concepts/pods.md): Learn how to use pods for multi-tenant email management
24
24
  - [Permissions](https://docs.agentmail.to/permissions.md): Learn how to configure fine-grained permissions on API keys to restrict access to specific resources and operations.
25
+ - [Calendar](https://docs.agentmail.to/calendar.md): Learn how AgentMail calendars work. Every inbox has a calendar that your agent can manage through the API, that fills itself from emailed invitations, and that sends webhooks when events start and end.
26
+ - [Managing Events](https://docs.agentmail.to/calendar-events.md): How to create one-off and all-day events on an AgentMail inbox calendar, list them, update them safely with ETags, and delete them.
27
+ - [Recurring Events](https://docs.agentmail.to/calendar-recurring-events.md): How to create recurring events on an AgentMail calendar with RRULE, EXDATE and RDATE, list their dates, and edit or cancel one date or every later date.
28
+ - [Invitations](https://docs.agentmail.to/calendar-invitations.md): How AgentMail calendars exchange standard iCalendar (iMIP) invitations. Send invitations from an inbox, turn emailed invitations into events automatically, and accept or decline them.
29
+ - [Calendar Webhooks](https://docs.agentmail.to/calendar-webhooks.md): The calendar.event.* webhook and WebSocket events. Payloads, when start and end events are sent, delivery guarantees, and how to handle duplicates.
30
+ - [Concurrency, Limits & Errors](https://docs.agentmail.to/calendar-reference.md): Reference for the AgentMail calendar API. How If-Match and ETags work, how to retry safely, size and rate limits, and every calendar error code.
25
31
  - [Agent Onboarding](https://docs.agentmail.to/agent-onboarding.md): Resources for AI coding assistants, MCP servers, skills, and agent-friendly documentation.
26
32
  - [Skills](https://docs.agentmail.to/integrations/skills.md): AgentMail's official skill for OpenClaw, Claude Code, Cursor, and other AI assistants
27
33
  - [MCP](https://docs.agentmail.to/integrations/mcp.md): Connect AgentMail to Claude, ChatGPT, Cursor, and other MCP clients
@@ -158,6 +164,16 @@
158
164
  - API Reference > Inboxes > API Keys [Delete API Key](https://docs.agentmail.to/api-reference/inboxes/api-keys/delete.md)
159
165
  - API Reference > Inboxes > Accounts [List Accounts](https://docs.agentmail.to/api-reference/inboxes/accounts/list.md)
160
166
  - API Reference > Inboxes > Accounts [Get Account](https://docs.agentmail.to/api-reference/inboxes/accounts/get.md)
167
+ - API Reference > Inboxes > Calendar [Get Calendar](https://docs.agentmail.to/api-reference/inboxes/calendar/get.md)
168
+ - API Reference > Inboxes > Calendar [Update Calendar](https://docs.agentmail.to/api-reference/inboxes/calendar/update.md)
169
+ - API Reference > Inboxes > Calendar [List Events](https://docs.agentmail.to/api-reference/inboxes/calendar/list-events.md)
170
+ - API Reference > Inboxes > Calendar [Get Agenda](https://docs.agentmail.to/api-reference/inboxes/calendar/get-agenda.md)
171
+ - API Reference > Inboxes > Calendar [Create Event](https://docs.agentmail.to/api-reference/inboxes/calendar/create-event.md)
172
+ - API Reference > Inboxes > Calendar [Get Event](https://docs.agentmail.to/api-reference/inboxes/calendar/get-event.md)
173
+ - API Reference > Inboxes > Calendar [Update Event](https://docs.agentmail.to/api-reference/inboxes/calendar/update-event.md)
174
+ - API Reference > Inboxes > Calendar [Delete Event](https://docs.agentmail.to/api-reference/inboxes/calendar/delete-event.md)
175
+ - API Reference > Inboxes > Calendar [List Event Instances](https://docs.agentmail.to/api-reference/inboxes/calendar/list-event-instances.md)
176
+ - API Reference > Inboxes > Calendar [Respond to Event](https://docs.agentmail.to/api-reference/inboxes/calendar/respond-to-event.md)
161
177
  - API Reference > Threads [List Threads](https://docs.agentmail.to/api-reference/threads/list.md)
162
178
  - API Reference > Threads [Search Threads](https://docs.agentmail.to/api-reference/threads/search.md)
163
179
  - API Reference > Threads [Get Thread](https://docs.agentmail.to/api-reference/threads/get.md)
@@ -182,6 +198,12 @@
182
198
  - API Reference > Webhooks > Events [Message Rejected](https://docs.agentmail.to/api-reference/webhooks/events/message-rejected.md)
183
199
  - API Reference > Webhooks > Events [Message Opened](https://docs.agentmail.to/api-reference/webhooks/events/message-opened.md)
184
200
  - API Reference > Webhooks > Events [Domain Verified](https://docs.agentmail.to/api-reference/webhooks/events/domain-verified.md)
201
+ - API Reference > Webhooks > Events [Calendar Event Created](https://docs.agentmail.to/api-reference/webhooks/events/calendar-event-created.md)
202
+ - API Reference > Webhooks > Events [Calendar Event Updated](https://docs.agentmail.to/api-reference/webhooks/events/calendar-event-updated.md)
203
+ - API Reference > Webhooks > Events [Calendar Event Deleted](https://docs.agentmail.to/api-reference/webhooks/events/calendar-event-deleted.md)
204
+ - API Reference > Webhooks > Events [Calendar Event Responded](https://docs.agentmail.to/api-reference/webhooks/events/calendar-event-responded.md)
205
+ - API Reference > Webhooks > Events [Calendar Event Starting](https://docs.agentmail.to/api-reference/webhooks/events/calendar-event-starting.md)
206
+ - API Reference > Webhooks > Events [Calendar Event Ending](https://docs.agentmail.to/api-reference/webhooks/events/calendar-event-ending.md)
185
207
  - API Reference > Websockets [Connect](https://docs.agentmail.to/api-reference/websockets/websockets.md)
186
208
  - API Reference > Domains [List Domains](https://docs.agentmail.to/api-reference/domains/list.md)
187
209
  - API Reference > Domains [Get Domain](https://docs.agentmail.to/api-reference/domains/get.md)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "agentmail",
3
- "version": "0.5.40",
3
+ "version": "0.5.42",
4
4
  "private": false,
5
5
  "repository": {
6
6
  "type": "git",
package/reference.md CHANGED
@@ -3643,8 +3643,9 @@ Gets the inbox's calendar. Every inbox has one calendar, so this works before an
3643
3643
  created. Its `etag` (also the `ETag` response header) is the value to send in `If-Match` to
3644
3644
  make an update conditional.
3645
3645
 
3646
- Requires the `calendar_read` permission. Calendar is in private beta: organizations without
3647
- access receive a `403`.
3646
+ Requires the `calendar_read` permission. Calendar is in private beta in US production
3647
+ (`api.agentmail.to`) and is unavailable in EU production (`api.agentmail.eu`).
3648
+ Organizations without access receive a `403`.
3648
3649
  </dd>
3649
3650
  </dl>
3650
3651
  </dd>
@@ -3722,7 +3723,8 @@ Requires the `calendar_update` permission. To make the update conditional, send
3722
3723
  calendar's current `etag` in `If-Match`: a stale value returns `412`. Without `If-Match` the
3723
3724
  update applies to the calendar as it is.
3724
3725
 
3725
- Calendar is in private beta: organizations without access receive a `403`.
3726
+ Calendar is in private beta in US production (`api.agentmail.to`). It is unavailable in EU
3727
+ production (`api.agentmail.eu`). Organizations without access receive a `403`.
3726
3728
  </dd>
3727
3729
  </dl>
3728
3730
  </dd>
@@ -3804,7 +3806,8 @@ use Get Agenda.
3804
3806
  The list is always read in the region that serves the request, so it can trail a change made
3805
3807
  moments earlier by a few seconds. Requires the `calendar_event_read` permission.
3806
3808
 
3807
- Calendar is in private beta: organizations without access receive a `403`.
3809
+ Calendar is in private beta in US production (`api.agentmail.to`). It is unavailable in EU
3810
+ production (`api.agentmail.eu`). Organizations without access receive a `403`.
3808
3811
  </dd>
3809
3812
  </dl>
3810
3813
  </dd>
@@ -3882,7 +3885,9 @@ and recurring events expanded into their individual dates, with cancelled dates
3882
3885
  Use it to answer "what is on the calendar".
3883
3886
 
3884
3887
  The window defaults to now through 90 days from now and can be at most 366 days. Items omit
3885
- `description`, `metadata` and `attendees`; get an event by ID for the full object. Dates of
3888
+ `description`, `metadata` and `attendees`; get an event by ID for the full object. An item
3889
+ the inbox is invited to still carries `response_status`, so `needs_action` marks an
3890
+ invitation waiting for a reply. Dates of
3886
3891
  recurring events appear only up to about 90 days from now; use List Event Instances for a
3887
3892
  recurring event's later dates. While a recurring event's dates are being regenerated after a
3888
3893
  schedule change, which takes a few seconds, the agenda can briefly leave out some of them;
@@ -3892,7 +3897,8 @@ The agenda is read in the region that serves the request, so it can trail a chan
3892
3897
  moments earlier by a few seconds. Pass `consistency=primary` to read your own change right
3893
3898
  away. Requires the `calendar_event_read` permission.
3894
3899
 
3895
- Calendar is in private beta: organizations without access receive a `403`.
3900
+ Calendar is in private beta in US production (`api.agentmail.to`). It is unavailable in EU
3901
+ production (`api.agentmail.eu`). Organizations without access receive a `403`.
3896
3902
  </dd>
3897
3903
  </dl>
3898
3904
  </dd>
@@ -3987,7 +3993,8 @@ charged again.
3987
3993
  The event's `etag` is the value to send in `If-Match` to make a later update or delete
3988
3994
  conditional. Requires the `calendar_event_create` permission.
3989
3995
 
3990
- Calendar is in private beta: organizations without access receive a `403`.
3996
+ Calendar is in private beta in US production (`api.agentmail.to`). It is unavailable in EU
3997
+ production (`api.agentmail.eu`). Organizations without access receive a `403`.
3991
3998
  </dd>
3992
3999
  </dl>
3993
4000
  </dd>
@@ -4086,7 +4093,8 @@ to read the latest state of an event or a date. A date that has already started
4086
4093
  reads back as it ran, even if a later change to the series no longer produces it. Requires
4087
4094
  the `calendar_event_read` permission.
4088
4095
 
4089
- Calendar is in private beta: organizations without access receive a `403`.
4096
+ Calendar is in private beta in US production (`api.agentmail.to`). It is unavailable in EU
4097
+ production (`api.agentmail.eu`). Organizations without access receive a `403`.
4090
4098
  </dd>
4091
4099
  </dl>
4092
4100
  </dd>
@@ -4190,7 +4198,8 @@ Emailing attendees counts one send per attendee against the organization, pod an
4190
4198
  send limits, charged before the change is saved; an over-limit request returns `429`
4191
4199
  `rate_limit_exceeded` and changes nothing.
4192
4200
 
4193
- Calendar is in private beta: organizations without access receive a `403`.
4201
+ Calendar is in private beta in US production (`api.agentmail.to`). It is unavailable in EU
4202
+ production (`api.agentmail.eu`). Organizations without access receive a `403`.
4194
4203
  </dd>
4195
4204
  </dl>
4196
4205
  </dd>
@@ -4295,7 +4304,8 @@ Emailing cancellations counts one send per attendee against the organization, po
4295
4304
  send limits, charged before the delete; an over-limit request returns `429`
4296
4305
  `rate_limit_exceeded` and deletes nothing.
4297
4306
 
4298
- Calendar is in private beta: organizations without access receive a `403`.
4307
+ Calendar is in private beta in US production (`api.agentmail.to`). It is unavailable in EU
4308
+ production (`api.agentmail.eu`). Organizations without access receive a `403`.
4299
4309
  </dd>
4300
4310
  </dl>
4301
4311
  </dd>
@@ -4386,7 +4396,8 @@ and `attendees`; get a date by its ID for the full object. Like other reads, the
4386
4396
  trail a change made moments earlier by a few seconds; pass `consistency=primary` to read
4387
4397
  your own change right away. Requires the `calendar_event_read` permission.
4388
4398
 
4389
- Calendar is in private beta: organizations without access receive a `403`.
4399
+ Calendar is in private beta in US production (`api.agentmail.to`). It is unavailable in EU
4400
+ production (`api.agentmail.eu`). Organizations without access receive a `403`.
4390
4401
  </dd>
4391
4402
  </dl>
4392
4403
  </dd>
@@ -4483,7 +4494,8 @@ A reply email counts as one send against the organization, pod and inbox send li
4483
4494
  charged before the response is saved; an over-limit request returns `429`
4484
4495
  `rate_limit_exceeded` and changes nothing.
4485
4496
 
4486
- Calendar is in private beta: organizations without access receive a `403`.
4497
+ Calendar is in private beta in US production (`api.agentmail.to`). It is unavailable in EU
4498
+ production (`api.agentmail.eu`). Organizations without access receive a `403`.
4487
4499
  </dd>
4488
4500
  </dl>
4489
4501
  </dd>