@remit/api-http-client 0.0.78 → 0.0.80

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 (47) hide show
  1. package/dist/@tanstack/react-query.gen.d.ts +1363 -0
  2. package/{@tanstack/react-query.gen.ts → dist/@tanstack/react-query.gen.js} +298 -300
  3. package/dist/client/client.gen.d.ts +2 -0
  4. package/dist/client/client.gen.js +216 -0
  5. package/{client/index.ts → dist/client/index.d.ts} +2 -19
  6. package/dist/client/index.js +6 -0
  7. package/dist/client/types.gen.d.ts +120 -0
  8. package/dist/client/types.gen.js +2 -0
  9. package/dist/client/utils.gen.d.ts +37 -0
  10. package/dist/client/utils.gen.js +228 -0
  11. package/{client.gen.ts → dist/client.gen.d.ts} +2 -6
  12. package/dist/client.gen.js +3 -0
  13. package/dist/core/auth.gen.d.ts +25 -0
  14. package/dist/core/auth.gen.js +14 -0
  15. package/dist/core/bodySerializer.gen.d.ts +25 -0
  16. package/dist/core/bodySerializer.gen.js +57 -0
  17. package/dist/core/params.gen.d.ts +43 -0
  18. package/dist/core/params.gen.js +109 -0
  19. package/dist/core/pathSerializer.gen.d.ts +33 -0
  20. package/dist/core/pathSerializer.gen.js +106 -0
  21. package/dist/core/queryKeySerializer.gen.d.ts +18 -0
  22. package/dist/core/queryKeySerializer.gen.js +92 -0
  23. package/dist/core/serverSentEvents.gen.d.ts +71 -0
  24. package/dist/core/serverSentEvents.gen.js +132 -0
  25. package/dist/core/types.gen.d.ts +83 -0
  26. package/dist/core/types.gen.js +2 -0
  27. package/dist/core/utils.gen.d.ts +19 -0
  28. package/dist/core/utils.gen.js +87 -0
  29. package/{index.ts → dist/index.d.ts} +2 -4
  30. package/dist/index.js +2 -0
  31. package/dist/sdk.gen.d.ts +444 -0
  32. package/dist/sdk.gen.js +935 -0
  33. package/{types.gen.ts → dist/types.gen.d.ts} +602 -634
  34. package/dist/types.gen.js +2 -0
  35. package/package.json +19 -3
  36. package/client/client.gen.ts +0 -277
  37. package/client/types.gen.ts +0 -218
  38. package/client/utils.gen.ts +0 -316
  39. package/core/auth.gen.ts +0 -48
  40. package/core/bodySerializer.gen.ts +0 -82
  41. package/core/params.gen.ts +0 -178
  42. package/core/pathSerializer.gen.ts +0 -171
  43. package/core/queryKeySerializer.gen.ts +0 -117
  44. package/core/serverSentEvents.gen.ts +0 -242
  45. package/core/types.gen.ts +0 -110
  46. package/core/utils.gen.ts +0 -140
  47. package/sdk.gen.ts +0 -959
@@ -1,9 +1,6 @@
1
- // This file is auto-generated by @hey-api/openapi-ts
2
-
3
1
  export type ClientOptions = {
4
2
  baseUrl: 'https://api.remit.example.com' | (string & {});
5
3
  };
6
-
7
4
  /**
8
5
  * Every error the API answers with, whatever the status. The body is flat:
9
6
  * `code`, `message` and `details` sit at the top level, with no envelope around
@@ -38,7 +35,6 @@ export type ApiError = {
38
35
  [key: string]: string;
39
36
  };
40
37
  };
41
-
42
38
  export type MicrosoftOAuthStartRequest = {
43
39
  /**
44
40
  * Optional email hint for the Microsoft login page
@@ -49,14 +45,12 @@ export type MicrosoftOAuthStartRequest = {
49
45
  */
50
46
  services?: Array<RemitImapAccountService>;
51
47
  };
52
-
53
48
  export type MicrosoftOAuthStartResponse = {
54
49
  /**
55
50
  * The Microsoft authorization URL to redirect the user to
56
51
  */
57
52
  authorizationUrl: string;
58
53
  };
59
-
60
54
  /**
61
55
  * Body of `POST /calendar-suggestions/{suggestionId}/accept`. Names the collection the event is written into; there is no default, because filing someone else's invitation into a calendar the user did not pick is a decision the server does not get to make.
62
56
  */
@@ -74,12 +68,10 @@ export type RemitImapAcceptCalendarSuggestionInput = {
74
68
  */
75
69
  event?: RemitImapUpdateCalendarEventInput;
76
70
  };
77
-
78
71
  /**
79
72
  * Authentication mechanism used by an email account
80
73
  */
81
74
  export type RemitImapAccountAuthType = 'password' | 'oauthMicrosoft';
82
-
83
75
  /**
84
76
  * Account configuration response
85
77
  */
@@ -111,12 +103,10 @@ export type RemitImapAccountConfigResponse = {
111
103
  readonly createdAt: number;
112
104
  readonly updatedAt: number;
113
105
  };
114
-
115
106
  /**
116
107
  * Lifecycle state of an account configuration
117
108
  */
118
109
  export type RemitImapAccountConfigState = 'active' | 'deleting';
119
-
120
110
  /**
121
111
  * Response body for GET /me/export/{exportId}
122
112
  */
@@ -162,12 +152,10 @@ export type RemitImapAccountExportRequestResponse = {
162
152
  */
163
153
  readonly errorMessage?: string;
164
154
  };
165
-
166
155
  /**
167
156
  * Lifecycle state of an account export request
168
157
  */
169
158
  export type RemitImapAccountExportState = 'Pending' | 'Processing' | 'Ready' | 'Failed';
170
-
171
159
  /**
172
160
  * Account response (excluding sensitive fields). Display name, mute flag, and signatures are sourced from per-account AccountSetting rows (RFC 032), not the Account entity, but are surfaced here so the response shape is unchanged.
173
161
  */
@@ -299,12 +287,10 @@ export type RemitImapAccountResponse = {
299
287
  */
300
288
  folderAppointments: Array<RemitImapFolderAppointment>;
301
289
  };
302
-
303
290
  /**
304
291
  * A service an account syncs. `Mail` covers messages, folders and sending; `Calendar` covers a provider calendar read into the calendar store.
305
292
  */
306
293
  export type RemitImapAccountService = 'Mail' | 'Calendar';
307
-
308
294
  /**
309
295
  * Aggregate sync-status response for an account
310
296
  */
@@ -334,7 +320,6 @@ export type RemitImapAccountSyncStatusResponse = {
334
320
  */
335
321
  mailboxes: Array<RemitImapMailboxSyncProgress>;
336
322
  };
337
-
338
323
  /**
339
324
  * Common metadata for sender-level flags
340
325
  */
@@ -356,7 +341,6 @@ export type RemitImapAddressFlagBase = {
356
341
  */
357
342
  reason?: string;
358
343
  };
359
-
360
344
  /**
361
345
  * Common metadata for sender-level flags
362
346
  */
@@ -378,12 +362,10 @@ export type RemitImapAddressFlagBaseUpdate = {
378
362
  */
379
363
  reason?: string;
380
364
  };
381
-
382
365
  /**
383
366
  * Names a key of `AddressFlags` that a client may address in `PATCH /addresses/{addressId}`. `wellknown` is deliberately absent: it is server-owned, derived from engagement counters, and is never written or removed by a client.
384
367
  */
385
368
  export type RemitImapAddressFlagKey = 'trusted' | 'blocked' | 'muted' | 'vip' | 'junkOnly' | 'category' | 'autoArchive' | 'unsubscribed' | 'neverSpam';
386
-
387
369
  /**
388
370
  * Sender-level flags map. Absent keys mean absent flags (sparse).
389
371
  */
@@ -399,7 +381,6 @@ export type RemitImapAddressFlags = {
399
381
  autoArchive?: RemitImapAutoArchiveFlag;
400
382
  unsubscribed?: RemitImapUnsubscribedFlag;
401
383
  };
402
-
403
384
  /**
404
385
  * Address response for address book entries
405
386
  */
@@ -455,12 +436,10 @@ export type RemitImapAddressResponse = {
455
436
  readonly createdAt: number;
456
437
  readonly updatedAt: number;
457
438
  };
458
-
459
439
  /**
460
440
  * Address roles in message headers per RFC 2822 Sections 3.6.2 and 3.6.3
461
441
  */
462
442
  export type RemitImapAddressRole = 'from' | 'sender' | 'reply_to' | 'to' | 'cc' | 'bcc';
463
-
464
443
  /**
465
444
  * Request to install a specific release. `targetVersion` must equal the version the latest check reported; the backend passes exactly this one field across the control seam and resolves nothing else (RFC 037 R6).
466
445
  */
@@ -470,7 +449,6 @@ export type RemitImapApplyUpdateInput = {
470
449
  */
471
450
  targetVersion: string;
472
451
  };
473
-
474
452
  /**
475
453
  * Input for PUT /accounts/{accountId}/folder-roles/{role}. Appoints the mailbox to the role, replacing whichever mailbox previously held it (exclusive by construction — the map has one slot per role). Pass `mailboxId: null` to clear the role back to unfilled.
476
454
  */
@@ -480,21 +458,18 @@ export type RemitImapAppointFolderRoleInput = {
480
458
  */
481
459
  mailboxId: string | null;
482
460
  };
483
-
484
461
  /**
485
462
  * Auto-archive: skip inbox, file directly
486
463
  */
487
464
  export type RemitImapAutoArchiveFlag = RemitImapAddressFlagBase & {
488
465
  value: boolean;
489
466
  };
490
-
491
467
  /**
492
468
  * Auto-archive: skip inbox, file directly
493
469
  */
494
470
  export type RemitImapAutoArchiveFlagUpdate = RemitImapAddressFlagBaseUpdate & {
495
471
  value?: boolean;
496
472
  };
497
-
498
473
  /**
499
474
  * Present only when Remit auto-moved this message on body-sync. Two shapes share this model: a classifier placement move carries `action` + `fromPlacement` (Inbox/Junk direction); a standing-filter move carries `fromMailboxId` + `destinationMailboxId` + `filterId` (an arbitrary destination folder). Absent means the message was not auto-moved by Remit — clients treat absence as no indicator.
500
475
  */
@@ -520,21 +495,18 @@ export type RemitImapAutoMovedInfo = {
520
495
  */
521
496
  filterId?: Uuid;
522
497
  };
523
-
524
498
  /**
525
499
  * Sender is blocked: mail is placed in Junk, and images never load, even on explicit click
526
500
  */
527
501
  export type RemitImapBlockedFlag = RemitImapAddressFlagBase & {
528
502
  value: boolean;
529
503
  };
530
-
531
504
  /**
532
505
  * Sender is blocked: mail is placed in Junk, and images never load, even on explicit click
533
506
  */
534
507
  export type RemitImapBlockedFlagUpdate = RemitImapAddressFlagBaseUpdate & {
535
508
  value?: boolean;
536
509
  };
537
-
538
510
  /**
539
511
  * Body part information
540
512
  */
@@ -580,7 +552,6 @@ export type RemitImapBodyPartResponse = {
580
552
  */
581
553
  contentUrl: string;
582
554
  };
583
-
584
555
  /**
585
556
  * Input for bulk message operations
586
557
  */
@@ -590,7 +561,6 @@ export type RemitImapBulkMessageInput = {
590
561
  */
591
562
  messageIds: Array<Uuid>;
592
563
  };
593
-
594
564
  /**
595
565
  * Input for bulk flag update operations
596
566
  */
@@ -612,22 +582,72 @@ export type RemitImapBulkUpdateFlagsInput = {
612
582
  */
613
583
  starColor?: RemitImapStarColor;
614
584
  };
615
-
616
585
  /**
617
586
  * Whether an answered cancellation holds the calendar object this suggestion's answer wrote. A cancellation is terminal, so such an answer cannot be taken back.
618
587
  */
619
588
  export type RemitImapCalendarAnswerOvertaken = 'None' | 'Cancellation';
620
-
589
+ /**
590
+ * One person on an event's guest list, read from its ORGANIZER and ATTENDEE lines.
591
+ */
592
+ export type RemitImapCalendarAttendee = {
593
+ /**
594
+ * Mail address, lower-cased
595
+ */
596
+ email: String512;
597
+ /**
598
+ * The CN parameter. `""` when the line carries none.
599
+ */
600
+ displayName: String512;
601
+ role: RemitImapCalendarAttendeeRole;
602
+ /**
603
+ * The answer. The organizer reads as `Accepted`.
604
+ */
605
+ status: RemitImapCalendarAttendeeStatus;
606
+ };
607
+ /**
608
+ * How many people on the guest list gave each answer, the organizer counted as a yes.
609
+ */
610
+ export type RemitImapCalendarAttendeeCounts = {
611
+ accepted: number;
612
+ declined: number;
613
+ tentative: number;
614
+ needsAction: number;
615
+ };
616
+ /**
617
+ * A guest as the event editor sends one.
618
+ */
619
+ export type RemitImapCalendarAttendeeInput = {
620
+ /**
621
+ * The guest's mail address
622
+ */
623
+ email: String512;
624
+ /**
625
+ * The guest's name. The address itself when the contact has none.
626
+ */
627
+ displayName: String512;
628
+ };
629
+ /**
630
+ * What one person on an event's guest list is to it.
631
+ */
632
+ export type RemitImapCalendarAttendeeRole = 'Organizer' | 'Guest';
633
+ /**
634
+ * A guest's answer to an event, read from the ATTENDEE line's PARTSTAT (RFC 5545 3.2.12).
635
+ */
636
+ export type RemitImapCalendarAttendeeStatus = 'NeedsAction' | 'Accepted' | 'Tentative' | 'Declined';
621
637
  /**
622
638
  * Display color for a calendar collection. Positional rather than named: the palette is a client-side concern, so the store carries the slot and the client owns what it renders (issue #15).
623
639
  */
624
640
  export type RemitImapCalendarColor = 'Cal1' | 'Cal2' | 'Cal3' | 'Cal4' | 'Cal5' | 'Cal6';
625
-
626
641
  /**
627
- * Which iCalendar components a collection accepts (RFC 4791 supported-calendar-component-set). Only VEVENT is stored today; VTODO and VJOURNAL collections would be separate members, so the value is a property of the collection rather than of each object.
642
+ * Which iCalendar components a collection accepts (RFC 4791 supported-calendar-component-set). The value is a property of the collection rather than of each object, so an event collection and a task collection are separate collections.
628
643
  */
629
- export type RemitImapCalendarComponentSet = 'VeventOnly';
630
-
644
+ export type RemitImapCalendarComponentSet = 'VeventOnly' | 'VtodoOnly';
645
+ /**
646
+ * What deleting an event sent: one cancellation per guest when the reader organizes it, nothing otherwise.
647
+ */
648
+ export type RemitImapCalendarEventDeleteResponse = {
649
+ sends: Array<RemitImapCalendarSchedulingSend>;
650
+ };
631
651
  /**
632
652
  * One occurrence of an event, in the window the caller asked for (issue #15).
633
653
  *
@@ -688,8 +708,11 @@ export type RemitImapCalendarEventInstance = {
688
708
  * Whether the resource this occurrence came from expands to more than one instance. A client showing the recurrence-scope prompt gates on this.
689
709
  */
690
710
  hasRecurrence: boolean;
711
+ /**
712
+ * Where the reader stands on this occurrence. Only the reader's own answer: the guest list is on `getCalendarEvent`.
713
+ */
714
+ participation: RemitImapCalendarParticipation;
691
715
  };
692
-
693
716
  /**
694
717
  * Expanded occurrences in the requested window, in start order.
695
718
  *
@@ -700,9 +723,10 @@ export type RemitImapCalendarEventInstance = {
700
723
  export type RemitImapCalendarEventListResponse = {
701
724
  items: Array<RemitImapCalendarEventInstance>;
702
725
  };
703
-
704
726
  /**
705
- * A stored calendar resource — the bytes behind one event, plus the columns projected from them. `icalData` is canonical; every other field is derived from it on write.
727
+ * A stored calendar resource — the bytes behind one event, plus the columns
728
+ * projected from them. `icalData` is canonical; every other field is derived
729
+ * from it on write or on this read.
706
730
  */
707
731
  export type RemitImapCalendarEventResponse = {
708
732
  /**
@@ -775,13 +799,28 @@ export type RemitImapCalendarEventResponse = {
775
799
  expandedThrough: String64;
776
800
  readonly createdAt: number;
777
801
  readonly updatedAt: number;
802
+ /**
803
+ * Where the reader stands on the event's master
804
+ */
805
+ participation: RemitImapCalendarParticipation;
806
+ /**
807
+ * Mail address of the ORGANIZER, lower-cased. `""` when the event names none.
808
+ */
809
+ organizer: String512;
810
+ /**
811
+ * Everyone on the guest list, organizer first. Empty when the event has no guests.
812
+ */
813
+ attendees: Array<RemitImapCalendarAttendee>;
814
+ attendeeCounts: RemitImapCalendarAttendeeCounts;
815
+ /**
816
+ * The scheduling messages about this event still in the outbox. A write answers with the ones it queued; a read with every one not yet sent and filed.
817
+ */
818
+ sends: Array<RemitImapCalendarSchedulingSend>;
778
819
  };
779
-
780
820
  /**
781
821
  * Projection of a VEVENT's STATUS property (RFC 5545 3.8.1.11). A VEVENT with no STATUS projects as `Confirmed`, which is the value RFC 5545 gives an event whose status is unstated.
782
822
  */
783
823
  export type RemitImapCalendarEventStatus = 'Confirmed' | 'Tentative' | 'Cancelled';
784
-
785
824
  /**
786
825
  * A calendar's secret subscription address, with the token in the clear.
787
826
  *
@@ -808,7 +847,6 @@ export type RemitImapCalendarFeedResponse = {
808
847
  */
809
848
  rotatedAt: number;
810
849
  };
811
-
812
850
  /**
813
851
  * Whether a calendar has a feed address, and how old it is. The token is deliberately absent — it exists in the clear once, in the answer to the write that minted it.
814
852
  */
@@ -826,14 +864,12 @@ export type RemitImapCalendarFeedStateResponse = {
826
864
  */
827
865
  rotatedAt: number;
828
866
  };
829
-
830
867
  /**
831
868
  * Merged busy spans over the requested window, in start order. An event marked TRANSP:TRANSPARENT or STATUS:CANCELLED is not busy time and never appears here.
832
869
  */
833
870
  export type RemitImapCalendarFreeBusyResponse = {
834
871
  items: Array<RemitImapCalendarFreeBusySpan>;
835
872
  };
836
-
837
873
  /**
838
874
  * One stretch of time the caller is busy in. Merged across every calendar they
839
875
  * hold, so two overlapping meetings in two calendars are one span and a caller
@@ -849,24 +885,24 @@ export type RemitImapCalendarFreeBusySpan = {
849
885
  */
850
886
  end: String64;
851
887
  };
852
-
853
888
  /**
854
- * The answer an invitation is added to a calendar with. It is written as the user's `ATTENDEE;PARTSTAT` on the stored event (RFC 5545 3.2.12) and becomes the suggestion's state.
889
+ * The answer a guest gives an invitation. It is written as the reader's `ATTENDEE;PARTSTAT` on the stored event (RFC 5545 3.2.12).
855
890
  */
856
- export type RemitImapCalendarInviteAnswer = 'Accepted' | 'Tentative';
857
-
891
+ export type RemitImapCalendarInviteAnswer = 'Accepted' | 'Tentative' | 'Declined';
858
892
  /**
859
893
  * The iTIP method a scheduling message carries (RFC 5546 3.2), read from the VCALENDAR's METHOD property. It says what the sender is asking for, which is not derivable from the VEVENT: a cancellation and an invitation differ by this property alone.
860
894
  */
861
895
  export type RemitImapCalendarInviteMethod = 'Request' | 'Reply' | 'Cancel' | 'Counter' | 'Publish' | 'None';
862
-
863
896
  /**
864
897
  * Every calendar collection of the caller's account config, url segment first. Unpaginated: an account holds a handful of calendars, and a page boundary in a sidebar is a bug waiting to happen.
865
898
  */
866
899
  export type RemitImapCalendarListResponse = {
867
900
  items: Array<RemitImapCalendarResponse>;
868
901
  };
869
-
902
+ /**
903
+ * Where the reader stands on one occurrence, projected from its ORGANIZER and ATTENDEE lines against the addresses of the reader's own accounts.
904
+ */
905
+ export type RemitImapCalendarParticipation = 'Unscheduled' | 'Organizer' | 'NeedsAction' | 'Accepted' | 'Tentative' | 'Declined';
870
906
  /**
871
907
  * A calendar collection as the API returns it.
872
908
  */
@@ -930,12 +966,25 @@ export type RemitImapCalendarResponse = {
930
966
  readonly createdAt: number;
931
967
  readonly updatedAt: number;
932
968
  };
933
-
969
+ /**
970
+ * One scheduling message an event write put in the outbox: an invitation, a cancellation or a reply. A client follows `outboxMessageId` to learn whether it went, and resends a failed one with `sendOutboxMessage`.
971
+ */
972
+ export type RemitImapCalendarSchedulingSend = {
973
+ /**
974
+ * The one address the message is to
975
+ */
976
+ email: String512;
977
+ outboxMessageId: Uuid;
978
+ method: RemitImapCalendarInviteMethod;
979
+ /**
980
+ * Where the message stood when this response was built
981
+ */
982
+ status: RemitImapOutboxMessageStatus;
983
+ };
934
984
  /**
935
985
  * Where a calendar collection came from. `Default` is the one provisioned per account config on first use and is never deleted; `UserCreated` is one a person made; `MailDerived` is one populated from mail rather than by a person; `Subscribed` is filled from a read-only iCalendar URL and refuses every write except its own refresh.
936
986
  */
937
987
  export type RemitImapCalendarSource = 'Default' | 'UserCreated' | 'MailDerived' | 'Subscribed';
938
-
939
988
  /**
940
989
  * A suggestion as the API returns it. The raw `icalData` is not surfaced: a client renders the projected fields, and the bytes exist so that accepting can write them into a calendar unchanged.
941
990
  */
@@ -1027,41 +1076,95 @@ export type RemitImapCalendarSuggestionResponse = {
1027
1076
  */
1028
1077
  answerOvertakenBy: RemitImapCalendarAnswerOvertaken;
1029
1078
  };
1030
-
1031
1079
  /**
1032
1080
  * Where in a message a suggestion was read from. It is what a card says to explain itself, and it is what separates a suggestion carrying real iCalendar from one inferred out of prose.
1033
1081
  */
1034
1082
  export type RemitImapCalendarSuggestionSource = 'IcalendarPart' | 'IcalendarAttachment' | 'TextHeuristic';
1035
-
1036
1083
  /**
1037
1084
  * What has become of a suggestion. `Pending` is the only state that asks a person for anything; every other value is a decision already taken, and nothing but an explicit act moves a suggestion out of `Pending`.
1038
1085
  */
1039
1086
  export type RemitImapCalendarSuggestionState = 'Pending' | 'Accepted' | 'Declined' | 'Tentative' | 'Dismissed' | 'Superseded';
1040
-
1087
+ /**
1088
+ * Tasks due in the requested window, in due order. Unpaginated: the window is the bound.
1089
+ */
1090
+ export type RemitImapCalendarTaskListResponse = {
1091
+ items: Array<RemitImapCalendarTaskResponse>;
1092
+ };
1093
+ /**
1094
+ * A stored task, as the API returns it.
1095
+ */
1096
+ export type RemitImapCalendarTaskResponse = {
1097
+ /**
1098
+ * Primary identifier, derived from calendarId + resourceName
1099
+ */
1100
+ calendarTaskId: Uuid;
1101
+ /**
1102
+ * Collection this task belongs to, a `VtodoOnly` one
1103
+ */
1104
+ calendarId: Uuid;
1105
+ /**
1106
+ * Last path segment of the resource's URL, e.g. "a1b2c3.ics"
1107
+ */
1108
+ resourceName: String256;
1109
+ /**
1110
+ * The VTODO's UID property
1111
+ */
1112
+ icalUid: String512;
1113
+ /**
1114
+ * The complete VCALENDAR text — CANONICAL
1115
+ */
1116
+ readonly icalData: string;
1117
+ /**
1118
+ * Strong entity tag over the stored `icalData` bytes, for If-Match
1119
+ */
1120
+ etag: String64;
1121
+ /**
1122
+ * Projection of the VTODO's SUMMARY. `""` when it carries none.
1123
+ */
1124
+ summary: String512;
1125
+ /**
1126
+ * Projection of the VTODO's DESCRIPTION. `""` when it carries none.
1127
+ */
1128
+ description: String2048;
1129
+ /**
1130
+ * Projection of the VTODO's DUE as an ISO 8601 date-time with zone offset, read in the collection's timezone — a business date. An all-day task carries midnight of its civil date.
1131
+ */
1132
+ due: String64;
1133
+ /**
1134
+ * The same moment as `due`, as an ISO 8601 UTC instant, so `byDue` orders across zones.
1135
+ */
1136
+ dueAt: String64;
1137
+ /**
1138
+ * Whether DUE is a DATE rather than a DATE-TIME: the task is due on a day, not at a time
1139
+ */
1140
+ readonly allDay: boolean;
1141
+ /**
1142
+ * Whether the VTODO is done: `STATUS:COMPLETED`
1143
+ */
1144
+ readonly completed: boolean;
1145
+ readonly createdAt: number;
1146
+ readonly updatedAt: number;
1147
+ };
1041
1148
  /**
1042
1149
  * Projection of a VEVENT's TRANSP property (RFC 5545 3.8.2.7) — whether the event consumes free/busy time. A VEVENT with no TRANSP projects as `Opaque`, the RFC default.
1043
1150
  */
1044
1151
  export type RemitImapCalendarTransparency = 'Opaque' | 'Transparent';
1045
-
1046
1152
  /**
1047
1153
  * The fixed anchor set of canonical mailbox roles a user appoints to a folder (RFC 032 exclusive-folder-appointment, issue #976). Mirrors the IMAP SPECIAL-USE roles (RFC 6154). Each role resolves to at most one mailbox per account — see FolderAppointment.
1048
1154
  */
1049
1155
  export type RemitImapCanonicalMailboxRole = 'Inbox' | 'Drafts' | 'Sent' | 'Archive' | 'Junk' | 'Trash' | 'All' | 'Flagged';
1050
-
1051
1156
  /**
1052
1157
  * Category override for auto-classification
1053
1158
  */
1054
1159
  export type RemitImapCategoryFlag = RemitImapAddressFlagBase & {
1055
1160
  value: RemitImapMessageCategory;
1056
1161
  };
1057
-
1058
1162
  /**
1059
1163
  * Category override for auto-classification
1060
1164
  */
1061
1165
  export type RemitImapCategoryFlagUpdate = RemitImapAddressFlagBaseUpdate & {
1062
1166
  value?: RemitImapMessageCategory;
1063
1167
  };
1064
-
1065
1168
  /**
1066
1169
  * Full configuration description including accounts
1067
1170
  */
@@ -1083,7 +1186,6 @@ export type RemitImapConfigDescriptionResponse = {
1083
1186
  */
1084
1187
  pendingImport?: RemitImapPendingConfigImport;
1085
1188
  };
1086
-
1087
1189
  /**
1088
1190
  * A configuration export: one versioned document carrying every user decision this instance holds, and no credential.
1089
1191
  */
@@ -1099,7 +1201,6 @@ export type RemitImapConfigExportResponse = {
1099
1201
  [key: string]: unknown;
1100
1202
  };
1101
1203
  };
1102
-
1103
1204
  /**
1104
1205
  * What became of one item in the submitted document
1105
1206
  */
@@ -1121,17 +1222,14 @@ export type RemitImapConfigImportItemReport = {
1121
1222
  */
1122
1223
  reason?: string;
1123
1224
  };
1124
-
1125
1225
  /**
1126
1226
  * Whether an import writes. The default is the dry run, so the wizard can show what a file would do before anything lands.
1127
1227
  */
1128
1228
  export type RemitImapConfigImportMode = 'validate' | 'apply';
1129
-
1130
1229
  /**
1131
1230
  * What an import does when the configuration it is importing into is not empty.
1132
1231
  */
1133
1232
  export type RemitImapConfigImportOnExisting = 'abort' | 'merge';
1134
-
1135
1233
  /**
1136
1234
  * The outcome of a validate or an apply. A rejected document is an answer, not a failure: `valid` is false and `errors` says why.
1137
1235
  */
@@ -1169,17 +1267,14 @@ export type RemitImapConfigImportReport = {
1169
1267
  */
1170
1268
  accountsNeedingCredentials: Array<Uuid>;
1171
1269
  };
1172
-
1173
1270
  /**
1174
1271
  * IMAP connection states per RFC 9051 Section 3
1175
1272
  */
1176
1273
  export type RemitImapConnectionState = 'not_authenticated' | 'authenticated' | 'selected' | 'logout' | 'reauth_required' | 'credentials_missing';
1177
-
1178
1274
  /**
1179
1275
  * Content disposition types per RFC 2183
1180
1276
  */
1181
1277
  export type RemitImapContentDisposition = 'inline' | 'attachment';
1182
-
1183
1278
  /**
1184
1279
  * Input for copying messages to another mailbox
1185
1280
  */
@@ -1193,7 +1288,6 @@ export type RemitImapCopyMessagesInput = {
1193
1288
  */
1194
1289
  destinationMailboxId: Uuid;
1195
1290
  };
1196
-
1197
1291
  /**
1198
1292
  * Input for creating a new email account
1199
1293
  */
@@ -1267,7 +1361,6 @@ export type RemitImapCreateAccountInput = {
1267
1361
  */
1268
1362
  smtpPassword?: string;
1269
1363
  };
1270
-
1271
1364
  /**
1272
1365
  * Input for creating an event (issue #15). The server builds the VEVENT and
1273
1366
  * writes it through the single calendar write path, so an event created here,
@@ -1325,8 +1418,15 @@ export type RemitImapCreateCalendarEventInput = {
1325
1418
  * RRULE value for a recurring event, e.g. "FREQ=WEEKLY;BYDAY=MO" (RFC 5545 3.8.5.3), without the property name. `""` creates a single event. Refused with 400 when it is not a rule this server can read.
1326
1419
  */
1327
1420
  recurrenceRule?: String512;
1421
+ /**
1422
+ * The guests. Each gets an invitation from the organizer's account, queued in the same write. Absent or empty creates an event nobody is invited to.
1423
+ */
1424
+ attendees?: Array<RemitImapCalendarAttendeeInput>;
1425
+ /**
1426
+ * The account the event is organized and its invitations sent from. Refused with 400 `unknown_organizer` when it is not an account of the caller's account config, or `organizer_cannot_send` when that account has Mail turned off. Absent, an event with guests is sent from the default invitation sender in effect (`getUserSettings`).
1427
+ */
1428
+ organizerAccountId?: Uuid;
1328
1429
  };
1329
-
1330
1430
  /**
1331
1431
  * Input for creating a calendar collection (issue #15).
1332
1432
  *
@@ -1359,7 +1459,35 @@ export type RemitImapCreateCalendarInput = {
1359
1459
  */
1360
1460
  subscriptionUrl?: String2048;
1361
1461
  };
1362
-
1462
+ /**
1463
+ * Input for creating a task. The server builds the VTODO.
1464
+ */
1465
+ export type RemitImapCreateCalendarTaskInput = {
1466
+ /**
1467
+ * Collection to write the task into. Absent writes it into the account config's task collection. Refused with 400 when it names a collection that is not `VtodoOnly`.
1468
+ */
1469
+ calendarId?: Uuid;
1470
+ /**
1471
+ * SUMMARY of the task
1472
+ */
1473
+ summary: String512;
1474
+ /**
1475
+ * DESCRIPTION of the task. Absent writes none.
1476
+ */
1477
+ description?: String2048;
1478
+ /**
1479
+ * When the task is due: an ISO 8601 date-time with zone offset, or a `YYYY-MM-DD` date when `allDay` is set.
1480
+ */
1481
+ due: String64;
1482
+ /**
1483
+ * Whether the task is due on a day rather than at a time
1484
+ */
1485
+ allDay?: boolean;
1486
+ /**
1487
+ * IANA time zone the due time is anchored in. Absent anchors it in UTC.
1488
+ */
1489
+ timeZone?: String64;
1490
+ };
1363
1491
  /**
1364
1492
  * Response body for POST /me/export
1365
1493
  */
@@ -1369,7 +1497,6 @@ export type RemitImapCreateExportResponse = {
1369
1497
  */
1370
1498
  exportId: string;
1371
1499
  };
1372
-
1373
1500
  /**
1374
1501
  * Input for creating a filter (RFC 034). `ttl` is omitted — it is derived
1375
1502
  * server-side from `expiresAt` when `scope` is `Temporary` (RFC 034 Decision
@@ -1406,7 +1533,6 @@ export type RemitImapCreateFilterInput = {
1406
1533
  */
1407
1534
  actionMailboxId: string;
1408
1535
  };
1409
-
1410
1536
  /**
1411
1537
  * Response body for POST /accounts/{accountId}/filters: the created filter, plus the back-apply job that runs it over the inbox.
1412
1538
  */
@@ -1470,7 +1596,6 @@ export type RemitImapCreateFilterResponse = {
1470
1596
  */
1471
1597
  organizeJobId: string;
1472
1598
  };
1473
-
1474
1599
  /**
1475
1600
  * Input for creating a label (RFC 030). `normalizedName` is server-derived from `name` and excluded by its Read-only visibility.
1476
1601
  */
@@ -1484,7 +1609,6 @@ export type RemitImapCreateLabelInput = {
1484
1609
  */
1485
1610
  color: RemitImapLabelColor;
1486
1611
  };
1487
-
1488
1612
  /**
1489
1613
  * Input for creating a new mailbox
1490
1614
  */
@@ -1498,7 +1622,6 @@ export type RemitImapCreateMailboxInput = {
1498
1622
  */
1499
1623
  fullPath: String512;
1500
1624
  };
1501
-
1502
1625
  /**
1503
1626
  * Response body for POST /accounts/{accountId}/organize
1504
1627
  */
@@ -1512,7 +1635,6 @@ export type RemitImapCreateOrganizeJobResponse = {
1512
1635
  */
1513
1636
  state: RemitImapOrganizeJobState;
1514
1637
  };
1515
-
1516
1638
  /**
1517
1639
  * Input for creating an outbox message
1518
1640
  */
@@ -1558,7 +1680,6 @@ export type RemitImapCreateOutboxMessageInput = {
1558
1680
  */
1559
1681
  sendImmediately?: boolean;
1560
1682
  };
1561
-
1562
1683
  /**
1563
1684
  * Response for DELETE /me (account erasure request)
1564
1685
  */
@@ -1568,7 +1689,6 @@ export type RemitImapDeleteAccountConfigResponse = {
1568
1689
  */
1569
1690
  message: string;
1570
1691
  };
1571
-
1572
1692
  /**
1573
1693
  * Delete account response (tombstone)
1574
1694
  */
@@ -1586,7 +1706,6 @@ export type RemitImapDeleteAccountResponse = {
1586
1706
  */
1587
1707
  message: string;
1588
1708
  };
1589
-
1590
1709
  /**
1591
1710
  * Input for DELETE /me — requires the caller to confirm their email address
1592
1711
  */
@@ -1596,7 +1715,6 @@ export type RemitImapDeleteMeInput = {
1596
1715
  */
1597
1716
  confirmEmail: string;
1598
1717
  };
1599
-
1600
1718
  /**
1601
1719
  * Input for deleting messages
1602
1720
  */
@@ -1610,7 +1728,6 @@ export type RemitImapDeleteMessagesInput = {
1610
1728
  */
1611
1729
  permanent?: boolean;
1612
1730
  };
1613
-
1614
1731
  /**
1615
1732
  * Complete message description including all related data. Body content is delivered via the per-part `BodyPartResponse.contentUrl` (CloudFront, JWT-authorized at the edge); the legacy `bodyText`/`bodyHtml` fields were removed once content delivery cut over end-to-end (#224).
1616
1733
  */
@@ -1636,7 +1753,6 @@ export type RemitImapDescribeMessageResponse = {
1636
1753
  */
1637
1754
  references: Array<RemitImapMessageReferenceResponse>;
1638
1755
  };
1639
-
1640
1756
  /**
1641
1757
  * Body of `POST /calendar-suggestions/{suggestionId}/dismiss`.
1642
1758
  */
@@ -1646,12 +1762,10 @@ export type RemitImapDismissCalendarSuggestionInput = {
1646
1762
  */
1647
1763
  muteSender: boolean;
1648
1764
  };
1649
-
1650
1765
  /**
1651
1766
  * How the From display name relates to the From domain. `Corresponds` — the name is contained in the domain. `Lookalike` — the name is one or two characters away from a domain label. `ForeignAddress` — the name spells out an email address at a domain the sender does not send from. `Unrelated` — no relation. `NoClaim` — the name is empty, or is an address at the sending domain, so it claims no other identity.
1652
1767
  */
1653
1768
  export type RemitImapDisplayNameCorrespondence = 'Corresponds' | 'Lookalike' | 'ForeignAddress' | 'Unrelated' | 'NoClaim';
1654
-
1655
1769
  /**
1656
1770
  * Response from emptying trash
1657
1771
  */
@@ -1661,7 +1775,6 @@ export type RemitImapEmptyTrashResponse = {
1661
1775
  */
1662
1776
  deletedCount: number;
1663
1777
  };
1664
-
1665
1778
  /**
1666
1779
  * Envelope address information. Includes the resolved Address `addressId` and per-sender `flags` so the UI can render trust state without a second fetch.
1667
1780
  */
@@ -1691,7 +1804,6 @@ export type RemitImapEnvelopeAddressResponse = {
1691
1804
  */
1692
1805
  flags?: RemitImapAddressFlags;
1693
1806
  };
1694
-
1695
1807
  /**
1696
1808
  * Message envelope (header metadata)
1697
1809
  */
@@ -1741,7 +1853,6 @@ export type RemitImapEnvelopeResponse = {
1741
1853
  */
1742
1854
  senderTrust: RemitImapSenderTrust;
1743
1855
  };
1744
-
1745
1856
  /**
1746
1857
  * A single literal predicate clause (from / subject / has-words), combined with its siblings via Filter.matchOperator (RFC 031).
1747
1858
  */
@@ -1755,22 +1866,18 @@ export type RemitImapFilterClause = {
1755
1866
  */
1756
1867
  value: String256;
1757
1868
  };
1758
-
1759
1869
  /**
1760
1870
  * Message attribute a FilterClause matches against — RFC 031's Tier 0 literal predicates plus the RFC 038 D2 additions (list membership and sender domain). Every member is matched at index time and in the back-apply corpus projection.
1761
1871
  */
1762
1872
  export type RemitImapFilterClauseField = 'From' | 'Subject' | 'HasWords' | 'ListId' | 'FromDomain';
1763
-
1764
1873
  /**
1765
1874
  * Why a Filter is Disabled. `None` while the filter is not Disabled; every other value names the one thing that has to change before it can run again.
1766
1875
  */
1767
1876
  export type RemitImapFilterDisabledReason = 'None' | 'UserDisabled' | 'AwaitingFolder' | 'FolderCreateFailed' | 'FolderMissing';
1768
-
1769
1877
  /**
1770
1878
  * How a Filter's literalClauses combine (RFC 031 "literal predicates, AND/OR"). Ignored when literalClauses is empty.
1771
1879
  */
1772
1880
  export type RemitImapFilterMatchOperator = 'And' | 'Or';
1773
-
1774
1881
  /**
1775
1882
  * Filter item returned by list/get/create/update operations. `ttl` is internal bookkeeping (RFC 034 Decision 1.3) and not surfaced.
1776
1883
  */
@@ -1830,17 +1937,14 @@ export type RemitImapFilterResponse = {
1830
1937
  readonly createdAt: number;
1831
1938
  readonly updatedAt: number;
1832
1939
  };
1833
-
1834
1940
  /**
1835
1941
  * Whether a Filter is permanent or expires (RFC 034 Decision 1). A Filter row exists only for these two standing scopes — the one-time "just these" / "all like these" batch actions never create one.
1836
1942
  */
1837
1943
  export type RemitImapFilterScope = 'Standing' | 'Temporary';
1838
-
1839
1944
  /**
1840
1945
  * Whether a Filter runs, backing the byAccountAndState index (RFC 034 Decision 1.2). Active and Disabled are written; Expired is a lazily-patched cache of Filter.expiresAt, which stays the source of truth for expiry. A Disabled filter records why in Filter.disabledReason.
1841
1946
  */
1842
1947
  export type RemitImapFilterState = 'Active' | 'Expired' | 'Disabled';
1843
-
1844
1948
  /**
1845
1949
  * Per-account appointment of a canonical role to at most one mailbox (RFC 032 exclusive-folder-appointment, issue #976). A role with no `mailboxId` is unfilled — either genuinely unappointed, or the account has no matching folder yet. Persisted as per-(account, role) AccountSetting rows (RFC 032 settings tiers), surfaced on AccountResponse.folderAppointments — never on the Mailbox entity, so two folders can never both claim the same role.
1846
1950
  */
@@ -1866,12 +1970,10 @@ export type RemitImapFolderAppointment = {
1866
1970
  */
1867
1971
  staleAppointmentPath?: String512;
1868
1972
  };
1869
-
1870
1973
  /**
1871
1974
  * Where a resolved FolderAppointment came from. Total and required: every role carries one, so a surface can tell a folder somebody chose from a folder reader guessed without inferring it from which fields happen to be present.
1872
1975
  */
1873
1976
  export type RemitImapFolderAppointmentSource = 'Appointed' | 'Flagged' | 'Reserved' | 'Proposed' | 'Stale' | 'None';
1874
-
1875
1977
  /**
1876
1978
  * Request body for POST /config/import
1877
1979
  */
@@ -1891,31 +1993,26 @@ export type RemitImapImportConfigInput = {
1891
1993
  [key: string]: unknown;
1892
1994
  };
1893
1995
  };
1894
-
1895
1996
  /**
1896
1997
  * Address was only ever seen on mail in a Junk folder: withheld from autocomplete suggestions until the account corresponds with it, flags it, or meets it on live mail. Written by sync and by the boot-time repair; clear it by naming this key in `UpdateAddressInput.clearFlags`.
1897
1998
  */
1898
1999
  export type RemitImapJunkOnlyFlag = RemitImapAddressFlagBase & {
1899
2000
  value: boolean;
1900
2001
  };
1901
-
1902
2002
  /**
1903
2003
  * Address was only ever seen on mail in a Junk folder: withheld from autocomplete suggestions until the account corresponds with it, flags it, or meets it on live mail. Written by sync and by the boot-time repair; clear it by naming this key in `UpdateAddressInput.clearFlags`.
1904
2004
  */
1905
2005
  export type RemitImapJunkOnlyFlagUpdate = RemitImapAddressFlagBaseUpdate & {
1906
2006
  value?: boolean;
1907
2007
  };
1908
-
1909
2008
  /**
1910
2009
  * Manual bulk label action (issue #26) — apply or remove a label on a `just these` selection. Never sets `appliedByFilterId`: that field is reserved for filter-driven applies (RFC 034 Decision 3.3).
1911
2010
  */
1912
2011
  export type RemitImapLabelAction = 'Apply' | 'Remove';
1913
-
1914
2012
  /**
1915
2013
  * Display color for a user-defined Label (RFC 030).
1916
2014
  */
1917
2015
  export type RemitImapLabelColor = 'Default' | 'Red' | 'Orange' | 'Yellow' | 'Green' | 'Teal' | 'Blue' | 'Purple' | 'Gray';
1918
-
1919
2016
  /**
1920
2017
  * Label item returned by list/get/create/update operations (RFC 030). `filterCount` is computed at read time so a client can name the blast radius before confirming a delete — the delete itself never blocks on it (issue #26).
1921
2018
  */
@@ -1943,7 +2040,6 @@ export type RemitImapLabelResponse = {
1943
2040
  */
1944
2041
  filterCount: number;
1945
2042
  };
1946
-
1947
2043
  /**
1948
2044
  * The id, name, and color of a label applied to a message — embedded on message/thread read responses (issue #26). Never the full LabelResponse: a read-time attachment carries no filterCount.
1949
2045
  */
@@ -1952,7 +2048,6 @@ export type RemitImapLabelSummaryResponse = {
1952
2048
  name: String140;
1953
2049
  color: RemitImapLabelColor;
1954
2050
  };
1955
-
1956
2051
  /**
1957
2052
  * A page of an account's mailboxes.
1958
2053
  */
@@ -1963,7 +2058,6 @@ export type RemitImapMailboxListResponse = {
1963
2058
  continuationToken?: String800;
1964
2059
  items: Array<RemitImapMailboxResponse>;
1965
2060
  };
1966
-
1967
2061
  /**
1968
2062
  * Mailbox item returned by list/get operations. The mute flag and the display-name override are sourced from per-mailbox AccountSetting rows (RFC 032), not the Mailbox entity, but are surfaced here so the response shape is unchanged. The canonical role a folder fills is not per-mailbox state — see AccountResponse.folderAppointments (RFC 032 exclusive-folder-appointment).
1969
2063
  */
@@ -2043,7 +2137,6 @@ export type RemitImapMailboxResponse = {
2043
2137
  */
2044
2138
  displayNameOverride?: String256;
2045
2139
  };
2046
-
2047
2140
  /**
2048
2141
  * Mailbox special-use designations, named after RFC 6154 / RFC 9051 Section 7.3.1.
2049
2142
  * Values are the BARE forms (no leading backslash): Remit stores and serves
@@ -2052,7 +2145,6 @@ export type RemitImapMailboxResponse = {
2052
2145
  * current enum emitter anyway, so the wire contract uses the bare form.
2053
2146
  */
2054
2147
  export type RemitImapMailboxSpecialUse = 'All' | 'Archive' | 'Drafts' | 'Flagged' | 'Junk' | 'Sent' | 'Trash' | 'Important';
2055
-
2056
2148
  /**
2057
2149
  * Per-mailbox progress entry in the sync-status response
2058
2150
  */
@@ -2086,17 +2178,14 @@ export type RemitImapMailboxSyncProgress = {
2086
2178
  */
2087
2179
  lastSyncedAt?: number;
2088
2180
  };
2089
-
2090
2181
  /**
2091
2182
  * Sync status for mailbox operations
2092
2183
  */
2093
2184
  export type RemitImapMailboxSyncStatus = 'synced' | 'pending' | 'failed' | 'deleting';
2094
-
2095
2185
  /**
2096
2186
  * Top-level MIME media types per RFC 2046
2097
2187
  */
2098
2188
  export type RemitImapMediaType = 'TEXT' | 'IMAGE' | 'AUDIO' | 'VIDEO' | 'APPLICATION' | 'MULTIPART' | 'MESSAGE';
2099
-
2100
2189
  /**
2101
2190
  * Structured sender-authenticity signal, derived from headers at classification time. Absent for messages classified before this field was introduced — clients should treat absence as no-signal.
2102
2191
  */
@@ -2138,7 +2227,6 @@ export type RemitImapMessageAuthenticity = {
2138
2227
  */
2139
2228
  signerFirstSeenAt?: number;
2140
2229
  };
2141
-
2142
2230
  /**
2143
2231
  * Bulk operation result for message operations
2144
2232
  */
@@ -2152,12 +2240,10 @@ export type RemitImapMessageBulkOperationResult = {
2152
2240
  */
2153
2241
  failureCount: number;
2154
2242
  };
2155
-
2156
2243
  /**
2157
2244
  * Header-derived message category. Set by classifyByHeaders during body-sync. Defaults to `uncategorized`, which covers both a message that has not been classified yet and one the classifier declined to categorize; `Message.classificationState` is what tells those apart.
2158
2245
  */
2159
2246
  export type RemitImapMessageCategory = 'uncategorized' | 'personal' | 'newsletter' | 'marketing' | 'automated' | 'transactional' | 'social';
2160
-
2161
2247
  /**
2162
2248
  * Which mutation a message's placement gave up on. Read it only while
2163
2249
  * `syncStatus` is `abandoned` — outside that it is `none` and says nothing,
@@ -2171,7 +2257,6 @@ export type RemitImapMessageCategory = 'uncategorized' | 'personal' | 'newslette
2171
2257
  * explained to the user as a failed delete.
2172
2258
  */
2173
2259
  export type RemitImapMessageMutation = 'none' | 'move' | 'delete' | 'copy';
2174
-
2175
2260
  /**
2176
2261
  * Message reference response for In-Reply-To and References headers
2177
2262
  */
@@ -2189,7 +2274,6 @@ export type RemitImapMessageReferenceResponse = {
2189
2274
  */
2190
2275
  readonly referenceOrder: number;
2191
2276
  };
2192
-
2193
2277
  /**
2194
2278
  * Recorded when the user reported this message as spam via `POST /messages/report-spam`. Present means the report stands; absent means never reported, or reported and then undone via `POST /messages/not-spam` (which clears it). Backs the "Reported as spam · Undo" affordance independent of the message's current folder — the underlying move can settle, fail, or no-op (already in Junk) without changing whether the report itself is shown.
2195
2279
  */
@@ -2199,12 +2283,10 @@ export type RemitImapMessageSpamReport = {
2199
2283
  */
2200
2284
  reportedAt: number;
2201
2285
  };
2202
-
2203
2286
  /**
2204
2287
  * Message lifecycle status for move/delete operations
2205
2288
  */
2206
2289
  export type RemitImapMessageStatus = 'active' | 'deleting' | 'deleted' | 'moving';
2207
-
2208
2290
  /**
2209
2291
  * Core message metadata for API responses
2210
2292
  */
@@ -2262,14 +2344,12 @@ export type RemitImapMessageSummaryResponse = {
2262
2344
  */
2263
2345
  spamReport?: RemitImapMessageSpamReport;
2264
2346
  };
2265
-
2266
2347
  /**
2267
2348
  * Sync status for message move/delete operations. Read it as a pair with
2268
2349
  * `MessageStatus`, never alone — the six placement states and the transitions
2269
2350
  * between them are `docs/architecture/imap-mutations.md` R3.
2270
2351
  */
2271
2352
  export type RemitImapMessageSyncStatus = 'synced' | 'pending' | 'failed' | 'abandoned';
2272
-
2273
2353
  /**
2274
2354
  * What the client intends to attach, before any bytes move
2275
2355
  */
@@ -2287,7 +2367,6 @@ export type RemitImapMintOutboxAttachmentInput = {
2287
2367
  */
2288
2368
  sizeBytes: number;
2289
2369
  };
2290
-
2291
2370
  /**
2292
2371
  * A reservation and somewhere to put the bytes.
2293
2372
  *
@@ -2330,7 +2409,6 @@ export type RemitImapMintOutboxAttachmentResponse = {
2330
2409
  */
2331
2410
  uploadExpiresAt: number;
2332
2411
  };
2333
-
2334
2412
  /**
2335
2413
  * Input for moving messages
2336
2414
  */
@@ -2344,40 +2422,34 @@ export type RemitImapMoveMessagesInput = {
2344
2422
  */
2345
2423
  destinationMailboxId: Uuid;
2346
2424
  };
2347
-
2348
2425
  /**
2349
2426
  * Sender is muted: do not notify on new mail
2350
2427
  */
2351
2428
  export type RemitImapMutedFlag = RemitImapAddressFlagBase & {
2352
2429
  value: boolean;
2353
2430
  };
2354
-
2355
2431
  /**
2356
2432
  * Sender is muted: do not notify on new mail
2357
2433
  */
2358
2434
  export type RemitImapMutedFlagUpdate = RemitImapAddressFlagBaseUpdate & {
2359
2435
  value?: boolean;
2360
2436
  };
2361
-
2362
2437
  /**
2363
2438
  * IMAP namespace types per RFC 9051 Section 6.3.10
2364
2439
  */
2365
2440
  export type RemitImapNamespaceType = 'personal' | 'other_users' | 'shared';
2366
-
2367
2441
  /**
2368
2442
  * Sender is never spam: their mail is rescued from Junk whatever the authentication signals say. Mutually exclusive with `blocked` — the flag written last removes the other.
2369
2443
  */
2370
2444
  export type RemitImapNeverSpamFlag = RemitImapAddressFlagBase & {
2371
2445
  value: boolean;
2372
2446
  };
2373
-
2374
2447
  /**
2375
2448
  * Sender is never spam: their mail is rescued from Junk whatever the authentication signals say. Mutually exclusive with `blocked` — the flag written last removes the other.
2376
2449
  */
2377
2450
  export type RemitImapNeverSpamFlagUpdate = RemitImapAddressFlagBaseUpdate & {
2378
2451
  value?: boolean;
2379
2452
  };
2380
-
2381
2453
  /**
2382
2454
  * The predicate + action for a one-time "all like these" back-apply (RFC 034
2383
2455
  * recap, #1278). A distinct model, deliberately NOT a Filter: it carries no
@@ -2406,7 +2478,6 @@ export type RemitImapOrganizeInput = {
2406
2478
  */
2407
2479
  actionMailboxId: string;
2408
2480
  };
2409
-
2410
2481
  /**
2411
2482
  * Job item returned by GET /accounts/{accountId}/organize/{organizeJobId}. `ttl` is internal bookkeeping and not surfaced.
2412
2483
  */
@@ -2472,12 +2543,10 @@ export type RemitImapOrganizeJobResponse = {
2472
2543
  */
2473
2544
  readonly updatedAt: number;
2474
2545
  };
2475
-
2476
2546
  /**
2477
2547
  * Lifecycle state of a smart-organize back-apply job (RFC 034, #1278). Mirrors the account-export job's lifecycle: a Pending row the worker picks up, drives to Running, then to a terminal Complete or Failed.
2478
2548
  */
2479
2549
  export type RemitImapOrganizeJobState = 'Pending' | 'Running' | 'Complete' | 'Failed';
2480
-
2481
2550
  /**
2482
2551
  * Response body for POST /accounts/{accountId}/organize/preview — the messages the same matcher would apply the action to, without applying it. Bounded server-side.
2483
2552
  */
@@ -2491,7 +2560,6 @@ export type RemitImapOrganizePreviewResponse = {
2491
2560
  */
2492
2561
  messageIds: Array<string>;
2493
2562
  };
2494
-
2495
2563
  /**
2496
2564
  * A file the server refused, with everything the composer needs to say why
2497
2565
  */
@@ -2517,7 +2585,6 @@ export type RemitImapOutboxAttachmentRejection = {
2517
2585
  */
2518
2586
  usedBytes: number;
2519
2587
  };
2520
-
2521
2588
  /**
2522
2589
  * Why the server refused to reserve, or to accept, a file for a draft.
2523
2590
  *
@@ -2526,7 +2593,6 @@ export type RemitImapOutboxAttachmentRejection = {
2526
2593
  * distinguishable from a network failure without parsing prose.
2527
2594
  */
2528
2595
  export type RemitImapOutboxAttachmentRejectionReason = 'EmptyFile' | 'UnusableFilename' | 'FileTooLarge' | 'MessageTooLarge' | 'TooManyAttachments' | 'ReservationExpired' | 'UploadMissing' | 'SizeMismatch';
2529
-
2530
2596
  /**
2531
2597
  * A file on a draft, as the composer sees it
2532
2598
  */
@@ -2564,7 +2630,6 @@ export type RemitImapOutboxAttachmentResponse = {
2564
2630
  */
2565
2631
  contentUrl: string;
2566
2632
  };
2567
-
2568
2633
  /**
2569
2634
  * Where an attachment is between being promised and being sendable.
2570
2635
  *
@@ -2573,7 +2638,6 @@ export type RemitImapOutboxAttachmentResponse = {
2573
2638
  * than against bytes that may or may not have landed yet.
2574
2639
  */
2575
2640
  export type RemitImapOutboxAttachmentState = 'Pending' | 'Stored';
2576
-
2577
2641
  /**
2578
2642
  * A page of the current account's outbox messages.
2579
2643
  */
@@ -2584,7 +2648,6 @@ export type RemitImapOutboxMessageListResponse = {
2584
2648
  continuationToken?: String800;
2585
2649
  items: Array<RemitImapOutboxMessageResponse>;
2586
2650
  };
2587
-
2588
2651
  /**
2589
2652
  * Outbox message response
2590
2653
  */
@@ -2656,12 +2719,10 @@ export type RemitImapOutboxMessageResponse = {
2656
2719
  */
2657
2720
  attachments: Array<RemitImapOutboxAttachmentResponse>;
2658
2721
  };
2659
-
2660
2722
  /**
2661
2723
  * Status of an outbox message in the send queue
2662
2724
  */
2663
2725
  export type RemitImapOutboxMessageStatus = 'draft' | 'queued' | 'sending' | 'sent' | 'unfiled' | 'failed' | 'blocked';
2664
-
2665
2726
  /**
2666
2727
  * An import that is still waiting for IMAP discovery to produce the folders its
2667
2728
  * file named. The folder appointed to a role, a folder's own display name or
@@ -2679,12 +2740,10 @@ export type RemitImapPendingConfigImport = {
2679
2740
  */
2680
2741
  folderPaths: Array<string>;
2681
2742
  };
2682
-
2683
2743
  /**
2684
2744
  * Actionable placement verdict — the direction Remit decided to move a message. `leave` is not represented: a left-in-place verdict means the placement sub-model is absent.
2685
2745
  */
2686
2746
  export type RemitImapPlacementAction = 'MoveToInbox' | 'MoveToJunk';
2687
-
2688
2747
  /**
2689
2748
  * The specific defect within a stage.
2690
2749
  *
@@ -2704,7 +2763,6 @@ export type RemitImapPlacementAction = 'MoveToInbox' | 'MoveToJunk';
2704
2763
  * `MissingEnvelope` is absent for the same reason: see QuarantineFailureStage.
2705
2764
  */
2706
2765
  export type RemitImapQuarantineFailureCode = 'UnknownCharset' | 'UnreadableBody';
2707
-
2708
2766
  /**
2709
2767
  * The pipeline step that refused a quarantined message.
2710
2768
  *
@@ -2722,7 +2780,6 @@ export type RemitImapQuarantineFailureCode = 'UnknownCharset' | 'UnreadableBody'
2722
2780
  * the stalled-cursor alert.
2723
2781
  */
2724
2782
  export type RemitImapQuarantineFailureStage = 'BodyParse';
2725
-
2726
2783
  /**
2727
2784
  * Everything quarantined for the current user, newest first, beside the sync warnings that have failed enough rounds to surface. The quarantine list is small by design — a mailbox with a growing quarantine list is a bug being reported, not a page to paginate.
2728
2785
  */
@@ -2740,7 +2797,6 @@ export type RemitImapQuarantineListResponse = {
2740
2797
  */
2741
2798
  warningsTotal: number;
2742
2799
  };
2743
-
2744
2800
  /**
2745
2801
  * One node of a quarantined message's MIME tree, in a pre-order walk.
2746
2802
  *
@@ -2765,7 +2821,6 @@ export type RemitImapQuarantineMimeNode = {
2765
2821
  */
2766
2822
  contentType: String140;
2767
2823
  };
2768
-
2769
2824
  /**
2770
2825
  * One quarantined message as the settings surface sees it.
2771
2826
  */
@@ -2857,7 +2912,6 @@ export type RemitImapQuarantineResponse = {
2857
2912
  readonly createdAt: number;
2858
2913
  readonly updatedAt: number;
2859
2914
  };
2860
-
2861
2915
  /**
2862
2916
  * Raw RFC822/MIME source of a message (headers and body), decoded as a string for inspection.
2863
2917
  */
@@ -2867,17 +2921,14 @@ export type RemitImapRawMessageResponse = {
2867
2921
  */
2868
2922
  raw: string;
2869
2923
  };
2870
-
2871
2924
  /**
2872
2925
  * Which occurrences of a recurring event a write applies to (issue #15). A request parameter, never a stored column: the resource records what the series is, and this records what the caller meant by editing one drawing of it.
2873
2926
  */
2874
2927
  export type RemitImapRecurrenceScope = 'This' | 'Following' | 'All';
2875
-
2876
2928
  /**
2877
2929
  * Message reference types per RFC 2822 Section 3.6.4
2878
2930
  */
2879
2931
  export type RemitImapReferenceType = 'in_reply_to' | 'references';
2880
-
2881
2932
  /**
2882
2933
  * Input for updating a mailbox. Rename (IMAP sync) is triggered only when `fullPath` is provided. The `muted` flag and the `displayNameOverride` override can be updated independently without triggering IMAP machinery; pass `null` to clear either. The canonical role a folder fills is appointed separately — see FolderRoleOperations.appointFolderRole (RFC 032 exclusive-folder-appointment).
2883
2934
  */
@@ -2895,17 +2946,14 @@ export type RemitImapRenameMailboxInput = {
2895
2946
  */
2896
2947
  displayNameOverride?: string | null;
2897
2948
  };
2898
-
2899
2949
  /**
2900
2950
  * Trust level for the From address, derived at read time from AddressFlags + counters.
2901
2951
  */
2902
2952
  export type RemitImapSenderTrust = 'unknown' | 'wellknown' | 'vip';
2903
-
2904
2953
  /**
2905
2954
  * Sort order for list operations
2906
2955
  */
2907
2956
  export type RemitImapSortOrder = 'asc' | 'desc';
2908
-
2909
2957
  /**
2910
2958
  * Result of a report-spam or not-spam bulk call. Extends the standard counts with a reason per failed message: a partial failure here is an expected, routine outcome (a move from a prior press still settling) the client should be able to explain, not just count.
2911
2959
  */
@@ -2923,7 +2971,6 @@ export type RemitImapSpamReportBulkResult = {
2923
2971
  */
2924
2972
  failures?: Array<RemitImapSpamReportFailure>;
2925
2973
  };
2926
-
2927
2974
  /**
2928
2975
  * One message's failure reason within a report-spam or not-spam bulk call.
2929
2976
  */
@@ -2937,17 +2984,14 @@ export type RemitImapSpamReportFailure = {
2937
2984
  */
2938
2985
  reason: string;
2939
2986
  };
2940
-
2941
2987
  /**
2942
2988
  * Gmail-style star colors for message/thread marking
2943
2989
  */
2944
2990
  export type RemitImapStarColor = 'none' | 'yellow' | 'orange' | 'red' | 'purple' | 'blue' | 'teal' | 'green' | 'yellow_bang' | 'red_bang' | 'purple_question' | 'blue_info' | 'orange_guillemet' | 'green_check' | 'yellow_check' | 'blue_star';
2945
-
2946
2991
  /**
2947
2992
  * Phase of the initial account sync lifecycle
2948
2993
  */
2949
2994
  export type RemitImapSyncPhase = 'idle' | 'discovering_mailboxes' | 'syncing_inbox' | 'syncing_others' | 'complete' | 'error';
2950
-
2951
2995
  /**
2952
2996
  * Sync trigger response
2953
2997
  */
@@ -2961,7 +3005,6 @@ export type RemitImapSyncTriggerResponse = {
2961
3005
  */
2962
3006
  message: string;
2963
3007
  };
2964
-
2965
3008
  /**
2966
3009
  * One sync warning as the settings surface sees it.
2967
3010
  */
@@ -3003,12 +3046,10 @@ export type RemitImapSyncWarningResponse = {
3003
3046
  */
3004
3047
  readonly createdAt: number;
3005
3048
  };
3006
-
3007
3049
  /**
3008
3050
  * The sync step a message failed at.
3009
3051
  */
3010
3052
  export type RemitImapSyncWarningStage = 'Header' | 'Body';
3011
-
3012
3053
  /**
3013
3054
  * The most recent manifest check. The check block is independent of the run block: a failed check never renders as a failed update. On `failed` the version fields are absent and an `error` sentence explains why; on `disabled` only the status is present.
3014
3055
  */
@@ -3050,22 +3091,18 @@ export type RemitImapSystemUpdateCheck = {
3050
3091
  */
3051
3092
  error?: string;
3052
3093
  };
3053
-
3054
3094
  /**
3055
3095
  * Outcome of the most recent manifest check. `ok` when a manifest was fetched and validated, `failed` when it could not be, `disabled` when no manifest URL is configured or no check has ever run (RFC 037 D8).
3056
3096
  */
3057
3097
  export type RemitImapSystemUpdateCheckStatus = 'ok' | 'failed' | 'disabled';
3058
-
3059
3098
  /**
3060
3099
  * Terminal outcome of an update run. `null` while a run is in flight; `succeeded` when the new version committed, `rolledBack` when it did not and the previous version was restored, `rollbackFailed` when the restore itself failed and an operator shell is needed, `abandoned` when the run ended having changed nothing (RFC 037 R11).
3061
3100
  */
3062
3101
  export type RemitImapSystemUpdateOutcome = 'succeeded' | 'rolledBack' | 'rollbackFailed' | 'abandoned';
3063
-
3064
3102
  /**
3065
3103
  * Phase of an update run. Advances through the atomic update sequence; `checking` before anything is pulled, `committing` once the new version has answered the gate (RFC 037 R9, R11).
3066
3104
  */
3067
3105
  export type RemitImapSystemUpdatePhase = 'checking' | 'pulling' | 'snapshotting' | 'stopping' | 'starting' | 'verifying' | 'committing' | 'rollingBack' | 'recovering';
3068
-
3069
3106
  /**
3070
3107
  * The self-update resource: the running version, the outcome of the most recent manifest check, and the state of the current or last run. One read serves every interface state. The check block and the run block are independent by construction (RFC 037 D7).
3071
3108
  */
@@ -3087,7 +3124,6 @@ export type RemitImapSystemUpdateResponse = {
3087
3124
  */
3088
3125
  run: RemitImapSystemUpdateRun | null;
3089
3126
  };
3090
-
3091
3127
  /**
3092
3128
  * The current or last update run. `null` when no run has ever started. `outcome` is `null` while a run is in flight. `message` and `logCommand` are rendered to the operator verbatim: a plain sentence naming the cause and a command that can be pasted into a shell to see more (RFC 037 Interface).
3093
3129
  */
@@ -3129,7 +3165,6 @@ export type RemitImapSystemUpdateRun = {
3129
3165
  */
3130
3166
  logCommand: string;
3131
3167
  };
3132
-
3133
3168
  /**
3134
3169
  * Input for testing connection without saving
3135
3170
  */
@@ -3187,7 +3222,6 @@ export type RemitImapTestConnectionInput = {
3187
3222
  */
3188
3223
  smtpPassword?: string;
3189
3224
  };
3190
-
3191
3225
  /**
3192
3226
  * Connection test result
3193
3227
  */
@@ -3209,7 +3243,6 @@ export type RemitImapTestConnectionResponse = {
3209
3243
  */
3210
3244
  smtpError?: string;
3211
3245
  };
3212
-
3213
3246
  /**
3214
3247
  * A page of thread messages.
3215
3248
  */
@@ -3220,7 +3253,6 @@ export type RemitImapThreadMessageListResponse = {
3220
3253
  continuationToken?: String800;
3221
3254
  items: Array<RemitImapThreadMessageResponse>;
3222
3255
  };
3223
-
3224
3256
  /**
3225
3257
  * Thread message item returned by list/search operations. `senderTrust` is attached at read time via batch-fetch so the inbox row can render its badge without a per-row round trip. `category` is served from the ThreadMessage row itself, which is also the row the category filter matches, so the badge and the filter cannot disagree.
3226
3258
  */
@@ -3332,7 +3364,6 @@ export type RemitImapThreadMessageResponse = {
3332
3364
  */
3333
3365
  spamReport?: RemitImapMessageSpamReport;
3334
3366
  };
3335
-
3336
3367
  /**
3337
3368
  * Aggregate response for the filterable thread listings — `searchThreads` and
3338
3369
  * `listAllThreads`. Carries the matching rows (`items`), a pagination
@@ -3377,35 +3408,30 @@ export type RemitImapThreadSearchResponse = {
3377
3408
  */
3378
3409
  count?: number;
3379
3410
  };
3380
-
3381
3411
  /**
3382
3412
  * Sender is trusted: auto-load images, allow author backgrounds
3383
3413
  */
3384
3414
  export type RemitImapTrustedFlag = RemitImapAddressFlagBase & {
3385
3415
  value: boolean;
3386
3416
  };
3387
-
3388
3417
  /**
3389
3418
  * Sender is trusted: auto-load images, allow author backgrounds
3390
3419
  */
3391
3420
  export type RemitImapTrustedFlagUpdate = RemitImapAddressFlagBaseUpdate & {
3392
3421
  value?: boolean;
3393
3422
  };
3394
-
3395
3423
  /**
3396
3424
  * User has unsubscribed; auto-mark-read until sender stops
3397
3425
  */
3398
3426
  export type RemitImapUnsubscribedFlag = RemitImapAddressFlagBase & {
3399
3427
  value: boolean;
3400
3428
  };
3401
-
3402
3429
  /**
3403
3430
  * User has unsubscribed; auto-mark-read until sender stops
3404
3431
  */
3405
3432
  export type RemitImapUnsubscribedFlagUpdate = RemitImapAddressFlagBaseUpdate & {
3406
3433
  value?: boolean;
3407
3434
  };
3408
-
3409
3435
  /**
3410
3436
  * Input for updating an existing account
3411
3437
  */
@@ -3487,7 +3513,6 @@ export type RemitImapUpdateAccountInput = {
3487
3513
  */
3488
3514
  muted?: RemitImapMutedFlagUpdate | null;
3489
3515
  };
3490
-
3491
3516
  /**
3492
3517
  * Patch payload for AddressFlags entries. Sets the flags named here and leaves the others untouched. Removal travels in `UpdateAddressInput.clearFlags`, not here: the `null` alternative below is unreachable over OAS 3.0, where a nullable `$ref` emits as `allOf` and the request validator drops the `nullable` — and no `null` form exists at all for `category`, whose value is an enum with no false-equivalent member.
3493
3518
  */
@@ -3509,7 +3534,6 @@ export type RemitImapUpdateAddressFlagsInput = {
3509
3534
  autoArchive?: RemitImapAutoArchiveFlagUpdate | null;
3510
3535
  unsubscribed?: RemitImapUnsubscribedFlagUpdate | null;
3511
3536
  };
3512
-
3513
3537
  /**
3514
3538
  * Input for updating an Address (currently flag updates only)
3515
3539
  */
@@ -3523,7 +3547,6 @@ export type RemitImapUpdateAddressInput = {
3523
3547
  */
3524
3548
  clearFlags?: Array<RemitImapAddressFlagKey>;
3525
3549
  };
3526
-
3527
3550
  /**
3528
3551
  * Input for updating an event. Every field is optional and absence means
3529
3552
  * untouched — a patch that carries only `summary` renames the event and moves
@@ -3548,8 +3571,19 @@ export type RemitImapUpdateCalendarEventInput = {
3548
3571
  * RRULE value, or `""` to drop the rule. Only meaningful with `scope=All` or `scope=Following`: an override is one occurrence and carries no rule of its own.
3549
3572
  */
3550
3573
  recurrenceRule?: String512;
3574
+ /**
3575
+ * The whole guest list after the edit. A new guest gets an invitation and a removed one a cancellation. Refused with 400 `not_organizer` on an event the reader does not organize.
3576
+ */
3577
+ attendees?: Array<RemitImapCalendarAttendeeInput>;
3578
+ /**
3579
+ * The account that organizes the event, for an event that names no organizer yet. Refused with 400 `not_organizer` when the event already names a different one: the organizer never changes.
3580
+ */
3581
+ organizerAccountId?: Uuid;
3582
+ /**
3583
+ * The reader's answer as a guest. Writes their PARTSTAT and queues a REPLY to the organizer. `scope` `This` answers one occurrence and `All` the series; `Following` is refused with 400. Refused with 400 `not_a_guest` when the reader organizes the event or is not on its guest list.
3584
+ */
3585
+ answer?: RemitImapCalendarInviteAnswer;
3551
3586
  };
3552
-
3553
3587
  /**
3554
3588
  * Input for updating a calendar collection. The name, colour and timezone are the mutable overlay, and `subscriptionEnabled` turns a subscribed collection's refresh off and on. `urlSegment` is not among them, because it is the collection's identity and the path a client has bookmarked.
3555
3589
  */
@@ -3571,7 +3605,20 @@ export type RemitImapUpdateCalendarInput = {
3571
3605
  */
3572
3606
  subscriptionEnabled?: boolean;
3573
3607
  };
3574
-
3608
+ /**
3609
+ * Input for updating a task. Every field is optional and absence means untouched.
3610
+ */
3611
+ export type RemitImapUpdateCalendarTaskInput = {
3612
+ summary?: String512;
3613
+ description?: String2048;
3614
+ due?: String64;
3615
+ allDay?: boolean;
3616
+ timeZone?: String64;
3617
+ /**
3618
+ * Marks the task done (`STATUS:COMPLETED`) or not done again (`STATUS:NEEDS-ACTION`)
3619
+ */
3620
+ completed?: boolean;
3621
+ };
3575
3622
  /**
3576
3623
  * Input for updating a filter (RFC 034, reader #266). The name, predicate,
3577
3624
  * action, scope, and expiresAt are all updatable; `ttl` is always
@@ -3620,7 +3667,6 @@ export type RemitImapUpdateFilterInput = {
3620
3667
  */
3621
3668
  actionMailboxId?: string;
3622
3669
  };
3623
-
3624
3670
  /**
3625
3671
  * Input for updating message flags (translated to IMAP flags server-side)
3626
3672
  */
@@ -3638,7 +3684,6 @@ export type RemitImapUpdateFlagsInput = {
3638
3684
  */
3639
3685
  starColor?: RemitImapStarColor;
3640
3686
  };
3641
-
3642
3687
  /**
3643
3688
  * Input for updating a label (RFC 030). Only `name` and `color` are mutable.
3644
3689
  */
@@ -3652,7 +3697,6 @@ export type RemitImapUpdateLabelInput = {
3652
3697
  */
3653
3698
  color?: RemitImapLabelColor;
3654
3699
  };
3655
-
3656
3700
  /**
3657
3701
  * Input for a manual bulk label action — the "just these" scope (RFC 034 recap). `appliedByFilterId` never gets set on the resulting `MessageLabel` rows; that provenance is reserved for filter/organize applies (RFC 034 Decision 3.3).
3658
3702
  */
@@ -3670,7 +3714,6 @@ export type RemitImapUpdateMessageLabelsInput = {
3670
3714
  */
3671
3715
  action: RemitImapLabelAction;
3672
3716
  };
3673
-
3674
3717
  /**
3675
3718
  * Input for updating a draft outbox message
3676
3719
  */
@@ -3712,21 +3755,43 @@ export type RemitImapUpdateOutboxMessageInput = {
3712
3755
  */
3713
3756
  references?: Array<string>;
3714
3757
  };
3715
-
3758
+ /**
3759
+ * A change to the caller's settings. Every field is optional and absence means untouched.
3760
+ */
3761
+ export type RemitImapUpdateUserSettingsInput = {
3762
+ /**
3763
+ * The account invitations go out from by default. Refused with 400 `unknown_sender` when it is not an account of the caller's account config that sends mail. Cleared with `clearDefaultInvitationSender`.
3764
+ */
3765
+ defaultInvitationSenderAccountId?: Uuid;
3766
+ };
3767
+ /**
3768
+ * The caller's own settings: choices that belong to the person rather than to
3769
+ * one mail account. Each field is stored as an `AccountSetting` row of the
3770
+ * account config and read back here, so a setting added later is one more
3771
+ * field on this resource rather than one more operation.
3772
+ */
3773
+ export type RemitImapUserSettingsResponse = {
3774
+ /**
3775
+ * The account calendar invitations, updates and cancellations go out from unless the event editor picks another: the one the reader chose while it still sends mail, otherwise the account an event is on — for a new event, the first account of the account config that sends mail, since a calendar belongs to the account config rather than to one account. Absent only when no account sends mail.
3776
+ */
3777
+ defaultInvitationSenderAccountId?: Uuid;
3778
+ /**
3779
+ * Whether `defaultInvitationSenderAccountId` is the reader's own choice rather than the account an event is on.
3780
+ */
3781
+ defaultInvitationSenderChosen: boolean;
3782
+ };
3716
3783
  /**
3717
3784
  * Sender is VIP: priority surface and push escalation
3718
3785
  */
3719
3786
  export type RemitImapVipFlag = RemitImapAddressFlagBase & {
3720
3787
  value: boolean;
3721
3788
  };
3722
-
3723
3789
  /**
3724
3790
  * Sender is VIP: priority surface and push escalation
3725
3791
  */
3726
3792
  export type RemitImapVipFlagUpdate = RemitImapAddressFlagBaseUpdate & {
3727
3793
  value?: boolean;
3728
3794
  };
3729
-
3730
3795
  /**
3731
3796
  * A reciprocal-engagement candidate for VIP promotion. The user opts in via `PATCH /addresses/{addressId}` with `flags.vip = { value: true, ... }`.
3732
3797
  */
@@ -3764,7 +3829,6 @@ export type RemitImapVipSuggestionEntry = {
3764
3829
  */
3765
3830
  lastInboundAt?: number;
3766
3831
  };
3767
-
3768
3832
  /**
3769
3833
  * Response for `GET /me/vip-suggestions` — wellknown senders the user has not yet promoted to VIP, ranked by reciprocal engagement.
3770
3834
  */
@@ -3774,26 +3838,22 @@ export type RemitImapVipSuggestionsResponse = {
3774
3838
  */
3775
3839
  suggestions: Array<RemitImapVipSuggestionEntry>;
3776
3840
  };
3777
-
3778
3841
  /**
3779
3842
  * Sender is wellknown: engagement counters crossed the promotion threshold
3780
3843
  */
3781
3844
  export type RemitImapWellknownFlag = RemitImapAddressFlagBase & {
3782
3845
  value: boolean;
3783
3846
  };
3784
-
3785
3847
  /**
3786
3848
  * Sender is wellknown: engagement counters crossed the promotion threshold
3787
3849
  */
3788
3850
  export type RemitImapWellknownFlagUpdate = RemitImapAddressFlagBaseUpdate & {
3789
3851
  value?: boolean;
3790
3852
  };
3791
-
3792
3853
  /**
3793
3854
  * How confidently a stored time was placed on the clock. A calendar that cannot say this hides its worst failure: an event read in the wrong zone is off by hours and looks exactly like an event read correctly.
3794
3855
  */
3795
3856
  export type RemitImapZoneCertainty = 'Local' | 'Explicit' | 'Ambiguous';
3796
-
3797
3857
  /**
3798
3858
  * One reason a request was refused, as the validator read it. Named fields only — nothing here echoes the value that was submitted.
3799
3859
  */
@@ -3811,21 +3871,13 @@ export type RequestValidationDetail = {
3811
3871
  */
3812
3872
  message: string;
3813
3873
  };
3814
-
3815
3874
  export type String140 = string;
3816
-
3817
3875
  export type String2048 = string;
3818
-
3819
3876
  export type String256 = string;
3820
-
3821
3877
  export type String512 = string;
3822
-
3823
3878
  export type String64 = string;
3824
-
3825
3879
  export type String800 = string;
3826
-
3827
3880
  export type Uuid = string;
3828
-
3829
3881
  /**
3830
3882
  * The request was refused as malformed or contradictory. `code` is
3831
3883
  * `invalid_request` where nothing more specific is known, and the refusal's own
@@ -3866,7 +3918,6 @@ export type ValidationError = {
3866
3918
  */
3867
3919
  errors?: Array<RequestValidationDetail>;
3868
3920
  };
3869
-
3870
3921
  /**
3871
3922
  * Account response (excluding sensitive fields). Display name, mute flag, and signatures are sourced from per-account AccountSetting rows (RFC 032), not the Account entity, but are surfaced here so the response shape is unchanged.
3872
3923
  */
@@ -3896,14 +3947,12 @@ export type RemitImapAccountResponseWritable = {
3896
3947
  */
3897
3948
  folderAppointments: Array<RemitImapFolderAppointment>;
3898
3949
  };
3899
-
3900
3950
  /**
3901
3951
  * Address response for address book entries
3902
3952
  */
3903
3953
  export type RemitImapAddressResponseWritable = {
3904
3954
  [key: string]: unknown;
3905
3955
  };
3906
-
3907
3956
  /**
3908
3957
  * Body part information
3909
3958
  */
@@ -3913,14 +3962,36 @@ export type RemitImapBodyPartResponseWritable = {
3913
3962
  */
3914
3963
  contentUrl: string;
3915
3964
  };
3916
-
3965
+ /**
3966
+ * A stored calendar resource — the bytes behind one event, plus the columns
3967
+ * projected from them. `icalData` is canonical; every other field is derived
3968
+ * from it on write or on this read.
3969
+ */
3970
+ export type RemitImapCalendarEventResponseWritable = {
3971
+ /**
3972
+ * Where the reader stands on the event's master
3973
+ */
3974
+ participation: RemitImapCalendarParticipation;
3975
+ /**
3976
+ * Mail address of the ORGANIZER, lower-cased. `""` when the event names none.
3977
+ */
3978
+ organizer: String512;
3979
+ /**
3980
+ * Everyone on the guest list, organizer first. Empty when the event has no guests.
3981
+ */
3982
+ attendees: Array<RemitImapCalendarAttendee>;
3983
+ attendeeCounts: RemitImapCalendarAttendeeCounts;
3984
+ /**
3985
+ * The scheduling messages about this event still in the outbox. A write answers with the ones it queued; a read with every one not yet sent and filed.
3986
+ */
3987
+ sends: Array<RemitImapCalendarSchedulingSend>;
3988
+ };
3917
3989
  /**
3918
3990
  * Every calendar collection of the caller's account config, url segment first. Unpaginated: an account holds a handful of calendars, and a page boundary in a sidebar is a bug waiting to happen.
3919
3991
  */
3920
3992
  export type RemitImapCalendarListResponseWritable = {
3921
3993
  items: Array<RemitImapCalendarResponseWritable>;
3922
3994
  };
3923
-
3924
3995
  /**
3925
3996
  * A calendar collection as the API returns it.
3926
3997
  */
@@ -3942,7 +4013,6 @@ export type RemitImapCalendarResponseWritable = {
3942
4013
  */
3943
4014
  subscriptionEnabled: boolean;
3944
4015
  };
3945
-
3946
4016
  /**
3947
4017
  * A suggestion as the API returns it. The raw `icalData` is not surfaced: a client renders the projected fields, and the bytes exist so that accepting can write them into a calendar unchanged.
3948
4018
  */
@@ -3956,7 +4026,12 @@ export type RemitImapCalendarSuggestionResponseWritable = {
3956
4026
  */
3957
4027
  answerOvertakenBy: RemitImapCalendarAnswerOvertaken;
3958
4028
  };
3959
-
4029
+ /**
4030
+ * Tasks due in the requested window, in due order. Unpaginated: the window is the bound.
4031
+ */
4032
+ export type RemitImapCalendarTaskListResponseWritable = {
4033
+ items: Array<unknown>;
4034
+ };
3960
4035
  /**
3961
4036
  * Full configuration description including accounts
3962
4037
  */
@@ -3978,7 +4053,6 @@ export type RemitImapConfigDescriptionResponseWritable = {
3978
4053
  */
3979
4054
  pendingImport?: RemitImapPendingConfigImport;
3980
4055
  };
3981
-
3982
4056
  /**
3983
4057
  * Response body for POST /accounts/{accountId}/filters: the created filter, plus the back-apply job that runs it over the inbox.
3984
4058
  */
@@ -4020,7 +4094,6 @@ export type RemitImapCreateFilterResponseWritable = {
4020
4094
  */
4021
4095
  organizeJobId: string;
4022
4096
  };
4023
-
4024
4097
  /**
4025
4098
  * Complete message description including all related data. Body content is delivered via the per-part `BodyPartResponse.contentUrl` (CloudFront, JWT-authorized at the edge); the legacy `bodyText`/`bodyHtml` fields were removed once content delivery cut over end-to-end (#224).
4026
4099
  */
@@ -4046,7 +4119,6 @@ export type RemitImapDescribeMessageResponseWritable = {
4046
4119
  */
4047
4120
  references: Array<unknown>;
4048
4121
  };
4049
-
4050
4122
  /**
4051
4123
  * Filter item returned by list/get/create/update operations. `ttl` is internal bookkeeping (RFC 034 Decision 1.3) and not surfaced.
4052
4124
  */
@@ -4084,7 +4156,6 @@ export type RemitImapFilterResponseWritable = {
4084
4156
  */
4085
4157
  actionMailboxId: string;
4086
4158
  };
4087
-
4088
4159
  /**
4089
4160
  * Label item returned by list/get/create/update operations (RFC 030). `filterCount` is computed at read time so a client can name the blast radius before confirming a delete — the delete itself never blocks on it (issue #26).
4090
4161
  */
@@ -4102,7 +4173,6 @@ export type RemitImapLabelResponseWritable = {
4102
4173
  */
4103
4174
  filterCount: number;
4104
4175
  };
4105
-
4106
4176
  /**
4107
4177
  * A page of an account's mailboxes.
4108
4178
  */
@@ -4113,7 +4183,6 @@ export type RemitImapMailboxListResponseWritable = {
4113
4183
  continuationToken?: String800;
4114
4184
  items: Array<RemitImapMailboxResponseWritable>;
4115
4185
  };
4116
-
4117
4186
  /**
4118
4187
  * Mailbox item returned by list/get operations. The mute flag and the display-name override are sourced from per-mailbox AccountSetting rows (RFC 032), not the Mailbox entity, but are surfaced here so the response shape is unchanged. The canonical role a folder fills is not per-mailbox state — see AccountResponse.folderAppointments (RFC 032 exclusive-folder-appointment).
4119
4188
  */
@@ -4135,7 +4204,6 @@ export type RemitImapMailboxResponseWritable = {
4135
4204
  */
4136
4205
  displayNameOverride?: String256;
4137
4206
  };
4138
-
4139
4207
  /**
4140
4208
  * Core message metadata for API responses
4141
4209
  */
@@ -4153,14 +4221,12 @@ export type RemitImapMessageSummaryResponseWritable = {
4153
4221
  */
4154
4222
  spamReport?: RemitImapMessageSpamReport;
4155
4223
  };
4156
-
4157
4224
  /**
4158
4225
  * Job item returned by GET /accounts/{accountId}/organize/{organizeJobId}. `ttl` is internal bookkeeping and not surfaced.
4159
4226
  */
4160
4227
  export type RemitImapOrganizeJobResponseWritable = {
4161
4228
  [key: string]: unknown;
4162
4229
  };
4163
-
4164
4230
  /**
4165
4231
  * A file on a draft, as the composer sees it
4166
4232
  */
@@ -4174,7 +4240,6 @@ export type RemitImapOutboxAttachmentResponseWritable = {
4174
4240
  */
4175
4241
  contentUrl: string;
4176
4242
  };
4177
-
4178
4243
  /**
4179
4244
  * A page of the current account's outbox messages.
4180
4245
  */
@@ -4185,7 +4250,6 @@ export type RemitImapOutboxMessageListResponseWritable = {
4185
4250
  continuationToken?: String800;
4186
4251
  items: Array<RemitImapOutboxMessageResponseWritable>;
4187
4252
  };
4188
-
4189
4253
  /**
4190
4254
  * Outbox message response
4191
4255
  */
@@ -4195,7 +4259,6 @@ export type RemitImapOutboxMessageResponseWritable = {
4195
4259
  */
4196
4260
  attachments: Array<RemitImapOutboxAttachmentResponseWritable>;
4197
4261
  };
4198
-
4199
4262
  /**
4200
4263
  * Everything quarantined for the current user, newest first, beside the sync warnings that have failed enough rounds to surface. The quarantine list is small by design — a mailbox with a growing quarantine list is a bug being reported, not a page to paginate.
4201
4264
  */
@@ -4213,14 +4276,12 @@ export type RemitImapQuarantineListResponseWritable = {
4213
4276
  */
4214
4277
  warningsTotal: number;
4215
4278
  };
4216
-
4217
4279
  /**
4218
4280
  * One quarantined message as the settings surface sees it.
4219
4281
  */
4220
4282
  export type RemitImapQuarantineResponseWritable = {
4221
4283
  [key: string]: unknown;
4222
4284
  };
4223
-
4224
4285
  /**
4225
4286
  * A page of thread messages.
4226
4287
  */
@@ -4231,7 +4292,6 @@ export type RemitImapThreadMessageListResponseWritable = {
4231
4292
  continuationToken?: String800;
4232
4293
  items: Array<RemitImapThreadMessageResponseWritable>;
4233
4294
  };
4234
-
4235
4295
  /**
4236
4296
  * Thread message item returned by list/search operations. `senderTrust` is attached at read time via batch-fetch so the inbox row can render its badge without a per-row round trip. `category` is served from the ThreadMessage row itself, which is also the row the category filter matches, so the badge and the filter cannot disagree.
4237
4297
  */
@@ -4281,7 +4341,6 @@ export type RemitImapThreadMessageResponseWritable = {
4281
4341
  */
4282
4342
  spamReport?: RemitImapMessageSpamReport;
4283
4343
  };
4284
-
4285
4344
  /**
4286
4345
  * Aggregate response for the filterable thread listings — `searchThreads` and
4287
4346
  * `listAllThreads`. Carries the matching rows (`items`), a pagination
@@ -4326,14 +4385,12 @@ export type RemitImapThreadSearchResponseWritable = {
4326
4385
  */
4327
4386
  count?: number;
4328
4387
  };
4329
-
4330
4388
  export type AccountOperationsCreateAccountData = {
4331
4389
  body: RemitImapCreateAccountInput;
4332
4390
  path?: never;
4333
4391
  query?: never;
4334
4392
  url: '/accounts';
4335
4393
  };
4336
-
4337
4394
  export type AccountOperationsCreateAccountErrors = {
4338
4395
  /**
4339
4396
  * The request was refused as malformed or contradictory. `code` is
@@ -4367,18 +4424,14 @@ export type AccountOperationsCreateAccountErrors = {
4367
4424
  */
4368
4425
  409: ApiError;
4369
4426
  };
4370
-
4371
4427
  export type AccountOperationsCreateAccountError = AccountOperationsCreateAccountErrors[keyof AccountOperationsCreateAccountErrors];
4372
-
4373
4428
  export type AccountOperationsCreateAccountResponses = {
4374
4429
  /**
4375
4430
  * The request has succeeded.
4376
4431
  */
4377
4432
  200: RemitImapAccountResponse;
4378
4433
  };
4379
-
4380
4434
  export type AccountOperationsCreateAccountResponse = AccountOperationsCreateAccountResponses[keyof AccountOperationsCreateAccountResponses];
4381
-
4382
4435
  export type MicrosoftOAuthOperationsMicrosoftOAuthCallbackData = {
4383
4436
  body?: never;
4384
4437
  path?: never;
@@ -4389,14 +4442,12 @@ export type MicrosoftOAuthOperationsMicrosoftOAuthCallbackData = {
4389
4442
  };
4390
4443
  url: '/accounts/oauth/microsoft/callback';
4391
4444
  };
4392
-
4393
4445
  export type MicrosoftOAuthOperationsMicrosoftOAuthStartData = {
4394
4446
  body: MicrosoftOAuthStartRequest;
4395
4447
  path?: never;
4396
4448
  query?: never;
4397
4449
  url: '/accounts/oauth/microsoft/start';
4398
4450
  };
4399
-
4400
4451
  export type MicrosoftOAuthOperationsMicrosoftOAuthStartErrors = {
4401
4452
  /**
4402
4453
  * The request was refused as malformed or contradictory. `code` is
@@ -4424,25 +4475,20 @@ export type MicrosoftOAuthOperationsMicrosoftOAuthStartErrors = {
4424
4475
  */
4425
4476
  401: ApiError;
4426
4477
  };
4427
-
4428
4478
  export type MicrosoftOAuthOperationsMicrosoftOAuthStartError = MicrosoftOAuthOperationsMicrosoftOAuthStartErrors[keyof MicrosoftOAuthOperationsMicrosoftOAuthStartErrors];
4429
-
4430
4479
  export type MicrosoftOAuthOperationsMicrosoftOAuthStartResponses = {
4431
4480
  /**
4432
4481
  * The request has succeeded.
4433
4482
  */
4434
4483
  200: MicrosoftOAuthStartResponse;
4435
4484
  };
4436
-
4437
4485
  export type MicrosoftOAuthOperationsMicrosoftOAuthStartResponse = MicrosoftOAuthOperationsMicrosoftOAuthStartResponses[keyof MicrosoftOAuthOperationsMicrosoftOAuthStartResponses];
4438
-
4439
4486
  export type AccountOperationsTestConnectionData = {
4440
4487
  body: RemitImapTestConnectionInput;
4441
4488
  path?: never;
4442
4489
  query?: never;
4443
4490
  url: '/accounts/test-connection';
4444
4491
  };
4445
-
4446
4492
  export type AccountOperationsTestConnectionErrors = {
4447
4493
  /**
4448
4494
  * The request carried no usable credential. `code` is `unauthorized`.
@@ -4453,18 +4499,14 @@ export type AccountOperationsTestConnectionErrors = {
4453
4499
  */
4454
4500
  404: ApiError;
4455
4501
  };
4456
-
4457
4502
  export type AccountOperationsTestConnectionError = AccountOperationsTestConnectionErrors[keyof AccountOperationsTestConnectionErrors];
4458
-
4459
4503
  export type AccountOperationsTestConnectionResponses = {
4460
4504
  /**
4461
4505
  * The request has succeeded.
4462
4506
  */
4463
4507
  200: RemitImapTestConnectionResponse;
4464
4508
  };
4465
-
4466
4509
  export type AccountOperationsTestConnectionResponse = AccountOperationsTestConnectionResponses[keyof AccountOperationsTestConnectionResponses];
4467
-
4468
4510
  export type AccountDetailOperationsDeleteAccountData = {
4469
4511
  body?: never;
4470
4512
  path: {
@@ -4473,7 +4515,6 @@ export type AccountDetailOperationsDeleteAccountData = {
4473
4515
  query?: never;
4474
4516
  url: '/accounts/{accountId}';
4475
4517
  };
4476
-
4477
4518
  export type AccountDetailOperationsDeleteAccountErrors = {
4478
4519
  /**
4479
4520
  * The request carried no usable credential. `code` is `unauthorized`.
@@ -4488,18 +4529,14 @@ export type AccountDetailOperationsDeleteAccountErrors = {
4488
4529
  */
4489
4530
  404: ApiError;
4490
4531
  };
4491
-
4492
4532
  export type AccountDetailOperationsDeleteAccountError = AccountDetailOperationsDeleteAccountErrors[keyof AccountDetailOperationsDeleteAccountErrors];
4493
-
4494
4533
  export type AccountDetailOperationsDeleteAccountResponses = {
4495
4534
  /**
4496
4535
  * The request has succeeded.
4497
4536
  */
4498
4537
  200: RemitImapDeleteAccountResponse;
4499
4538
  };
4500
-
4501
4539
  export type AccountDetailOperationsDeleteAccountResponse = AccountDetailOperationsDeleteAccountResponses[keyof AccountDetailOperationsDeleteAccountResponses];
4502
-
4503
4540
  export type AccountDetailOperationsUpdateAccountData = {
4504
4541
  body: RemitImapUpdateAccountInput;
4505
4542
  path: {
@@ -4508,7 +4545,6 @@ export type AccountDetailOperationsUpdateAccountData = {
4508
4545
  query?: never;
4509
4546
  url: '/accounts/{accountId}';
4510
4547
  };
4511
-
4512
4548
  export type AccountDetailOperationsUpdateAccountErrors = {
4513
4549
  /**
4514
4550
  * The request carried no usable credential. `code` is `unauthorized`.
@@ -4523,18 +4559,14 @@ export type AccountDetailOperationsUpdateAccountErrors = {
4523
4559
  */
4524
4560
  404: ApiError;
4525
4561
  };
4526
-
4527
4562
  export type AccountDetailOperationsUpdateAccountError = AccountDetailOperationsUpdateAccountErrors[keyof AccountDetailOperationsUpdateAccountErrors];
4528
-
4529
4563
  export type AccountDetailOperationsUpdateAccountResponses = {
4530
4564
  /**
4531
4565
  * The request has succeeded.
4532
4566
  */
4533
4567
  200: RemitImapAccountResponse;
4534
4568
  };
4535
-
4536
4569
  export type AccountDetailOperationsUpdateAccountResponse = AccountDetailOperationsUpdateAccountResponses[keyof AccountDetailOperationsUpdateAccountResponses];
4537
-
4538
4570
  export type FilterOperationsListFiltersData = {
4539
4571
  body?: never;
4540
4572
  path: {
@@ -4545,7 +4577,6 @@ export type FilterOperationsListFiltersData = {
4545
4577
  };
4546
4578
  url: '/accounts/{accountId}/filters';
4547
4579
  };
4548
-
4549
4580
  export type FilterOperationsListFiltersErrors = {
4550
4581
  /**
4551
4582
  * The request was refused as malformed or contradictory. `code` is
@@ -4577,9 +4608,7 @@ export type FilterOperationsListFiltersErrors = {
4577
4608
  */
4578
4609
  404: ApiError;
4579
4610
  };
4580
-
4581
4611
  export type FilterOperationsListFiltersError = FilterOperationsListFiltersErrors[keyof FilterOperationsListFiltersErrors];
4582
-
4583
4612
  export type FilterOperationsListFiltersResponses = {
4584
4613
  /**
4585
4614
  * The request has succeeded.
@@ -4592,9 +4621,7 @@ export type FilterOperationsListFiltersResponses = {
4592
4621
  items: Array<RemitImapFilterResponse>;
4593
4622
  };
4594
4623
  };
4595
-
4596
4624
  export type FilterOperationsListFiltersResponse = FilterOperationsListFiltersResponses[keyof FilterOperationsListFiltersResponses];
4597
-
4598
4625
  export type FilterOperationsCreateFilterData = {
4599
4626
  body: RemitImapCreateFilterInput;
4600
4627
  path: {
@@ -4603,7 +4630,6 @@ export type FilterOperationsCreateFilterData = {
4603
4630
  query?: never;
4604
4631
  url: '/accounts/{accountId}/filters';
4605
4632
  };
4606
-
4607
4633
  export type FilterOperationsCreateFilterErrors = {
4608
4634
  /**
4609
4635
  * The request was refused as malformed or contradictory. `code` is
@@ -4647,18 +4673,14 @@ export type FilterOperationsCreateFilterErrors = {
4647
4673
  */
4648
4674
  422: ApiError;
4649
4675
  };
4650
-
4651
4676
  export type FilterOperationsCreateFilterError = FilterOperationsCreateFilterErrors[keyof FilterOperationsCreateFilterErrors];
4652
-
4653
4677
  export type FilterOperationsCreateFilterResponses = {
4654
4678
  /**
4655
4679
  * The request has succeeded.
4656
4680
  */
4657
4681
  200: RemitImapCreateFilterResponse;
4658
4682
  };
4659
-
4660
4683
  export type FilterOperationsCreateFilterResponse = FilterOperationsCreateFilterResponses[keyof FilterOperationsCreateFilterResponses];
4661
-
4662
4684
  export type FilterDetailOperationsDeleteFilterData = {
4663
4685
  body?: never;
4664
4686
  path: {
@@ -4668,7 +4690,6 @@ export type FilterDetailOperationsDeleteFilterData = {
4668
4690
  query?: never;
4669
4691
  url: '/accounts/{accountId}/filters/{filterId}';
4670
4692
  };
4671
-
4672
4693
  export type FilterDetailOperationsDeleteFilterErrors = {
4673
4694
  /**
4674
4695
  * The request carried no usable credential. `code` is `unauthorized`.
@@ -4683,18 +4704,14 @@ export type FilterDetailOperationsDeleteFilterErrors = {
4683
4704
  */
4684
4705
  404: ApiError;
4685
4706
  };
4686
-
4687
4707
  export type FilterDetailOperationsDeleteFilterError = FilterDetailOperationsDeleteFilterErrors[keyof FilterDetailOperationsDeleteFilterErrors];
4688
-
4689
4708
  export type FilterDetailOperationsDeleteFilterResponses = {
4690
4709
  /**
4691
4710
  * Nothing to return. The request succeeded and the response carries no body.
4692
4711
  */
4693
4712
  204: void;
4694
4713
  };
4695
-
4696
4714
  export type FilterDetailOperationsDeleteFilterResponse = FilterDetailOperationsDeleteFilterResponses[keyof FilterDetailOperationsDeleteFilterResponses];
4697
-
4698
4715
  export type FilterDetailOperationsGetFilterData = {
4699
4716
  body?: never;
4700
4717
  path: {
@@ -4704,7 +4721,6 @@ export type FilterDetailOperationsGetFilterData = {
4704
4721
  query?: never;
4705
4722
  url: '/accounts/{accountId}/filters/{filterId}';
4706
4723
  };
4707
-
4708
4724
  export type FilterDetailOperationsGetFilterErrors = {
4709
4725
  /**
4710
4726
  * The request carried no usable credential. `code` is `unauthorized`.
@@ -4715,18 +4731,14 @@ export type FilterDetailOperationsGetFilterErrors = {
4715
4731
  */
4716
4732
  404: ApiError;
4717
4733
  };
4718
-
4719
4734
  export type FilterDetailOperationsGetFilterError = FilterDetailOperationsGetFilterErrors[keyof FilterDetailOperationsGetFilterErrors];
4720
-
4721
4735
  export type FilterDetailOperationsGetFilterResponses = {
4722
4736
  /**
4723
4737
  * The request has succeeded.
4724
4738
  */
4725
4739
  200: RemitImapFilterResponse;
4726
4740
  };
4727
-
4728
4741
  export type FilterDetailOperationsGetFilterResponse = FilterDetailOperationsGetFilterResponses[keyof FilterDetailOperationsGetFilterResponses];
4729
-
4730
4742
  export type FilterDetailOperationsUpdateFilterData = {
4731
4743
  body: RemitImapUpdateFilterInput;
4732
4744
  path: {
@@ -4736,7 +4748,6 @@ export type FilterDetailOperationsUpdateFilterData = {
4736
4748
  query?: never;
4737
4749
  url: '/accounts/{accountId}/filters/{filterId}';
4738
4750
  };
4739
-
4740
4751
  export type FilterDetailOperationsUpdateFilterErrors = {
4741
4752
  /**
4742
4753
  * The request carried no usable credential. `code` is `unauthorized`.
@@ -4759,18 +4770,14 @@ export type FilterDetailOperationsUpdateFilterErrors = {
4759
4770
  */
4760
4771
  422: ApiError;
4761
4772
  };
4762
-
4763
4773
  export type FilterDetailOperationsUpdateFilterError = FilterDetailOperationsUpdateFilterErrors[keyof FilterDetailOperationsUpdateFilterErrors];
4764
-
4765
4774
  export type FilterDetailOperationsUpdateFilterResponses = {
4766
4775
  /**
4767
4776
  * The request has succeeded.
4768
4777
  */
4769
4778
  200: RemitImapFilterResponse;
4770
4779
  };
4771
-
4772
4780
  export type FilterDetailOperationsUpdateFilterResponse = FilterDetailOperationsUpdateFilterResponses[keyof FilterDetailOperationsUpdateFilterResponses];
4773
-
4774
4781
  export type FolderRoleOperationsAppointFolderRoleData = {
4775
4782
  body: RemitImapAppointFolderRoleInput;
4776
4783
  path: {
@@ -4780,7 +4787,6 @@ export type FolderRoleOperationsAppointFolderRoleData = {
4780
4787
  query?: never;
4781
4788
  url: '/accounts/{accountId}/folder-roles/{role}';
4782
4789
  };
4783
-
4784
4790
  export type FolderRoleOperationsAppointFolderRoleErrors = {
4785
4791
  /**
4786
4792
  * The request carried no usable credential. `code` is `unauthorized`.
@@ -4809,18 +4815,14 @@ export type FolderRoleOperationsAppointFolderRoleErrors = {
4809
4815
  */
4810
4816
  422: ApiError;
4811
4817
  };
4812
-
4813
4818
  export type FolderRoleOperationsAppointFolderRoleError = FolderRoleOperationsAppointFolderRoleErrors[keyof FolderRoleOperationsAppointFolderRoleErrors];
4814
-
4815
4819
  export type FolderRoleOperationsAppointFolderRoleResponses = {
4816
4820
  /**
4817
4821
  * The request has succeeded.
4818
4822
  */
4819
4823
  200: RemitImapAccountResponse;
4820
4824
  };
4821
-
4822
4825
  export type FolderRoleOperationsAppointFolderRoleResponse = FolderRoleOperationsAppointFolderRoleResponses[keyof FolderRoleOperationsAppointFolderRoleResponses];
4823
-
4824
4826
  export type LabelOperationsListLabelsData = {
4825
4827
  body?: never;
4826
4828
  path: {
@@ -4831,7 +4833,6 @@ export type LabelOperationsListLabelsData = {
4831
4833
  };
4832
4834
  url: '/accounts/{accountId}/labels';
4833
4835
  };
4834
-
4835
4836
  export type LabelOperationsListLabelsErrors = {
4836
4837
  /**
4837
4838
  * The request was refused as malformed or contradictory. `code` is
@@ -4863,9 +4864,7 @@ export type LabelOperationsListLabelsErrors = {
4863
4864
  */
4864
4865
  404: ApiError;
4865
4866
  };
4866
-
4867
4867
  export type LabelOperationsListLabelsError = LabelOperationsListLabelsErrors[keyof LabelOperationsListLabelsErrors];
4868
-
4869
4868
  export type LabelOperationsListLabelsResponses = {
4870
4869
  /**
4871
4870
  * The request has succeeded.
@@ -4878,9 +4877,7 @@ export type LabelOperationsListLabelsResponses = {
4878
4877
  items: Array<RemitImapLabelResponse>;
4879
4878
  };
4880
4879
  };
4881
-
4882
4880
  export type LabelOperationsListLabelsResponse = LabelOperationsListLabelsResponses[keyof LabelOperationsListLabelsResponses];
4883
-
4884
4881
  export type LabelOperationsCreateLabelData = {
4885
4882
  body: RemitImapCreateLabelInput;
4886
4883
  path: {
@@ -4889,7 +4886,6 @@ export type LabelOperationsCreateLabelData = {
4889
4886
  query?: never;
4890
4887
  url: '/accounts/{accountId}/labels';
4891
4888
  };
4892
-
4893
4889
  export type LabelOperationsCreateLabelErrors = {
4894
4890
  /**
4895
4891
  * The request carried no usable credential. `code` is `unauthorized`.
@@ -4904,18 +4900,14 @@ export type LabelOperationsCreateLabelErrors = {
4904
4900
  */
4905
4901
  404: ApiError;
4906
4902
  };
4907
-
4908
4903
  export type LabelOperationsCreateLabelError = LabelOperationsCreateLabelErrors[keyof LabelOperationsCreateLabelErrors];
4909
-
4910
4904
  export type LabelOperationsCreateLabelResponses = {
4911
4905
  /**
4912
4906
  * The request has succeeded.
4913
4907
  */
4914
4908
  200: RemitImapLabelResponse;
4915
4909
  };
4916
-
4917
4910
  export type LabelOperationsCreateLabelResponse = LabelOperationsCreateLabelResponses[keyof LabelOperationsCreateLabelResponses];
4918
-
4919
4911
  export type LabelDetailOperationsDeleteLabelData = {
4920
4912
  body?: never;
4921
4913
  path: {
@@ -4925,7 +4917,6 @@ export type LabelDetailOperationsDeleteLabelData = {
4925
4917
  query?: never;
4926
4918
  url: '/accounts/{accountId}/labels/{labelId}';
4927
4919
  };
4928
-
4929
4920
  export type LabelDetailOperationsDeleteLabelErrors = {
4930
4921
  /**
4931
4922
  * The request carried no usable credential. `code` is `unauthorized`.
@@ -4940,18 +4931,14 @@ export type LabelDetailOperationsDeleteLabelErrors = {
4940
4931
  */
4941
4932
  404: ApiError;
4942
4933
  };
4943
-
4944
4934
  export type LabelDetailOperationsDeleteLabelError = LabelDetailOperationsDeleteLabelErrors[keyof LabelDetailOperationsDeleteLabelErrors];
4945
-
4946
4935
  export type LabelDetailOperationsDeleteLabelResponses = {
4947
4936
  /**
4948
4937
  * Nothing to return. The request succeeded and the response carries no body.
4949
4938
  */
4950
4939
  204: void;
4951
4940
  };
4952
-
4953
4941
  export type LabelDetailOperationsDeleteLabelResponse = LabelDetailOperationsDeleteLabelResponses[keyof LabelDetailOperationsDeleteLabelResponses];
4954
-
4955
4942
  export type LabelDetailOperationsGetLabelData = {
4956
4943
  body?: never;
4957
4944
  path: {
@@ -4961,7 +4948,6 @@ export type LabelDetailOperationsGetLabelData = {
4961
4948
  query?: never;
4962
4949
  url: '/accounts/{accountId}/labels/{labelId}';
4963
4950
  };
4964
-
4965
4951
  export type LabelDetailOperationsGetLabelErrors = {
4966
4952
  /**
4967
4953
  * The request carried no usable credential. `code` is `unauthorized`.
@@ -4972,18 +4958,14 @@ export type LabelDetailOperationsGetLabelErrors = {
4972
4958
  */
4973
4959
  404: ApiError;
4974
4960
  };
4975
-
4976
4961
  export type LabelDetailOperationsGetLabelError = LabelDetailOperationsGetLabelErrors[keyof LabelDetailOperationsGetLabelErrors];
4977
-
4978
4962
  export type LabelDetailOperationsGetLabelResponses = {
4979
4963
  /**
4980
4964
  * The request has succeeded.
4981
4965
  */
4982
4966
  200: RemitImapLabelResponse;
4983
4967
  };
4984
-
4985
4968
  export type LabelDetailOperationsGetLabelResponse = LabelDetailOperationsGetLabelResponses[keyof LabelDetailOperationsGetLabelResponses];
4986
-
4987
4969
  export type LabelDetailOperationsUpdateLabelData = {
4988
4970
  body: RemitImapUpdateLabelInput;
4989
4971
  path: {
@@ -4993,7 +4975,6 @@ export type LabelDetailOperationsUpdateLabelData = {
4993
4975
  query?: never;
4994
4976
  url: '/accounts/{accountId}/labels/{labelId}';
4995
4977
  };
4996
-
4997
4978
  export type LabelDetailOperationsUpdateLabelErrors = {
4998
4979
  /**
4999
4980
  * The request carried no usable credential. `code` is `unauthorized`.
@@ -5008,18 +4989,14 @@ export type LabelDetailOperationsUpdateLabelErrors = {
5008
4989
  */
5009
4990
  404: ApiError;
5010
4991
  };
5011
-
5012
4992
  export type LabelDetailOperationsUpdateLabelError = LabelDetailOperationsUpdateLabelErrors[keyof LabelDetailOperationsUpdateLabelErrors];
5013
-
5014
4993
  export type LabelDetailOperationsUpdateLabelResponses = {
5015
4994
  /**
5016
4995
  * The request has succeeded.
5017
4996
  */
5018
4997
  200: RemitImapLabelResponse;
5019
4998
  };
5020
-
5021
4999
  export type LabelDetailOperationsUpdateLabelResponse = LabelDetailOperationsUpdateLabelResponses[keyof LabelDetailOperationsUpdateLabelResponses];
5022
-
5023
5000
  export type MailboxOperationsListMailboxesData = {
5024
5001
  body?: never;
5025
5002
  path: {
@@ -5030,7 +5007,6 @@ export type MailboxOperationsListMailboxesData = {
5030
5007
  };
5031
5008
  url: '/accounts/{accountId}/mailboxes';
5032
5009
  };
5033
-
5034
5010
  export type MailboxOperationsListMailboxesErrors = {
5035
5011
  /**
5036
5012
  * The request was refused as malformed or contradictory. `code` is
@@ -5062,18 +5038,14 @@ export type MailboxOperationsListMailboxesErrors = {
5062
5038
  */
5063
5039
  404: ApiError;
5064
5040
  };
5065
-
5066
5041
  export type MailboxOperationsListMailboxesError = MailboxOperationsListMailboxesErrors[keyof MailboxOperationsListMailboxesErrors];
5067
-
5068
5042
  export type MailboxOperationsListMailboxesResponses = {
5069
5043
  /**
5070
5044
  * The request has succeeded.
5071
5045
  */
5072
5046
  200: RemitImapMailboxListResponse;
5073
5047
  };
5074
-
5075
5048
  export type MailboxOperationsListMailboxesResponse = MailboxOperationsListMailboxesResponses[keyof MailboxOperationsListMailboxesResponses];
5076
-
5077
5049
  export type MailboxOperationsCreateMailboxData = {
5078
5050
  body: RemitImapCreateMailboxInput;
5079
5051
  path: {
@@ -5082,7 +5054,6 @@ export type MailboxOperationsCreateMailboxData = {
5082
5054
  query?: never;
5083
5055
  url: '/accounts/{accountId}/mailboxes';
5084
5056
  };
5085
-
5086
5057
  export type MailboxOperationsCreateMailboxErrors = {
5087
5058
  /**
5088
5059
  * The request was refused as malformed or contradictory. `code` is
@@ -5118,18 +5089,14 @@ export type MailboxOperationsCreateMailboxErrors = {
5118
5089
  */
5119
5090
  404: ApiError;
5120
5091
  };
5121
-
5122
5092
  export type MailboxOperationsCreateMailboxError = MailboxOperationsCreateMailboxErrors[keyof MailboxOperationsCreateMailboxErrors];
5123
-
5124
5093
  export type MailboxOperationsCreateMailboxResponses = {
5125
5094
  /**
5126
5095
  * The request has succeeded.
5127
5096
  */
5128
5097
  200: RemitImapMailboxResponse;
5129
5098
  };
5130
-
5131
5099
  export type MailboxOperationsCreateMailboxResponse = MailboxOperationsCreateMailboxResponses[keyof MailboxOperationsCreateMailboxResponses];
5132
-
5133
5100
  export type MailboxDetailOperationsDeleteMailboxData = {
5134
5101
  body?: never;
5135
5102
  path: {
@@ -5139,7 +5106,6 @@ export type MailboxDetailOperationsDeleteMailboxData = {
5139
5106
  query?: never;
5140
5107
  url: '/accounts/{accountId}/mailboxes/{mailboxId}';
5141
5108
  };
5142
-
5143
5109
  export type MailboxDetailOperationsDeleteMailboxErrors = {
5144
5110
  /**
5145
5111
  * The request was refused as malformed or contradictory. `code` is
@@ -5181,18 +5147,14 @@ export type MailboxDetailOperationsDeleteMailboxErrors = {
5181
5147
  */
5182
5148
  409: ApiError;
5183
5149
  };
5184
-
5185
5150
  export type MailboxDetailOperationsDeleteMailboxError = MailboxDetailOperationsDeleteMailboxErrors[keyof MailboxDetailOperationsDeleteMailboxErrors];
5186
-
5187
5151
  export type MailboxDetailOperationsDeleteMailboxResponses = {
5188
5152
  /**
5189
5153
  * Nothing to return. The request succeeded and the response carries no body.
5190
5154
  */
5191
5155
  204: void;
5192
5156
  };
5193
-
5194
5157
  export type MailboxDetailOperationsDeleteMailboxResponse = MailboxDetailOperationsDeleteMailboxResponses[keyof MailboxDetailOperationsDeleteMailboxResponses];
5195
-
5196
5158
  export type MailboxDetailOperationsGetMailboxData = {
5197
5159
  body?: never;
5198
5160
  path: {
@@ -5202,7 +5164,6 @@ export type MailboxDetailOperationsGetMailboxData = {
5202
5164
  query?: never;
5203
5165
  url: '/accounts/{accountId}/mailboxes/{mailboxId}';
5204
5166
  };
5205
-
5206
5167
  export type MailboxDetailOperationsGetMailboxErrors = {
5207
5168
  /**
5208
5169
  * The request carried no usable credential. `code` is `unauthorized`.
@@ -5213,18 +5174,14 @@ export type MailboxDetailOperationsGetMailboxErrors = {
5213
5174
  */
5214
5175
  404: ApiError;
5215
5176
  };
5216
-
5217
5177
  export type MailboxDetailOperationsGetMailboxError = MailboxDetailOperationsGetMailboxErrors[keyof MailboxDetailOperationsGetMailboxErrors];
5218
-
5219
5178
  export type MailboxDetailOperationsGetMailboxResponses = {
5220
5179
  /**
5221
5180
  * The request has succeeded.
5222
5181
  */
5223
5182
  200: RemitImapMailboxResponse;
5224
5183
  };
5225
-
5226
5184
  export type MailboxDetailOperationsGetMailboxResponse = MailboxDetailOperationsGetMailboxResponses[keyof MailboxDetailOperationsGetMailboxResponses];
5227
-
5228
5185
  export type MailboxDetailOperationsRenameMailboxData = {
5229
5186
  body: RemitImapRenameMailboxInput;
5230
5187
  path: {
@@ -5234,7 +5191,6 @@ export type MailboxDetailOperationsRenameMailboxData = {
5234
5191
  query?: never;
5235
5192
  url: '/accounts/{accountId}/mailboxes/{mailboxId}';
5236
5193
  };
5237
-
5238
5194
  export type MailboxDetailOperationsRenameMailboxErrors = {
5239
5195
  /**
5240
5196
  * The request was refused as malformed or contradictory. `code` is
@@ -5276,18 +5232,14 @@ export type MailboxDetailOperationsRenameMailboxErrors = {
5276
5232
  */
5277
5233
  409: ApiError;
5278
5234
  };
5279
-
5280
5235
  export type MailboxDetailOperationsRenameMailboxError = MailboxDetailOperationsRenameMailboxErrors[keyof MailboxDetailOperationsRenameMailboxErrors];
5281
-
5282
5236
  export type MailboxDetailOperationsRenameMailboxResponses = {
5283
5237
  /**
5284
5238
  * The request has succeeded.
5285
5239
  */
5286
5240
  200: RemitImapMailboxResponse;
5287
5241
  };
5288
-
5289
5242
  export type MailboxDetailOperationsRenameMailboxResponse = MailboxDetailOperationsRenameMailboxResponses[keyof MailboxDetailOperationsRenameMailboxResponses];
5290
-
5291
5243
  export type OrganizeOperationsCreateOrganizeJobData = {
5292
5244
  body: RemitImapOrganizeInput;
5293
5245
  path: {
@@ -5296,7 +5248,6 @@ export type OrganizeOperationsCreateOrganizeJobData = {
5296
5248
  query?: never;
5297
5249
  url: '/accounts/{accountId}/organize';
5298
5250
  };
5299
-
5300
5251
  export type OrganizeOperationsCreateOrganizeJobErrors = {
5301
5252
  /**
5302
5253
  * The request was refused as malformed or contradictory. `code` is
@@ -5332,18 +5283,14 @@ export type OrganizeOperationsCreateOrganizeJobErrors = {
5332
5283
  */
5333
5284
  404: ApiError;
5334
5285
  };
5335
-
5336
5286
  export type OrganizeOperationsCreateOrganizeJobError = OrganizeOperationsCreateOrganizeJobErrors[keyof OrganizeOperationsCreateOrganizeJobErrors];
5337
-
5338
5287
  export type OrganizeOperationsCreateOrganizeJobResponses = {
5339
5288
  /**
5340
5289
  * Response body for POST /accounts/{accountId}/organize
5341
5290
  */
5342
5291
  202: RemitImapCreateOrganizeJobResponse;
5343
5292
  };
5344
-
5345
5293
  export type OrganizeOperationsCreateOrganizeJobResponse = OrganizeOperationsCreateOrganizeJobResponses[keyof OrganizeOperationsCreateOrganizeJobResponses];
5346
-
5347
5294
  export type OrganizeOperationsPreviewOrganizeData = {
5348
5295
  body: RemitImapOrganizeInput;
5349
5296
  path: {
@@ -5352,7 +5299,6 @@ export type OrganizeOperationsPreviewOrganizeData = {
5352
5299
  query?: never;
5353
5300
  url: '/accounts/{accountId}/organize/preview';
5354
5301
  };
5355
-
5356
5302
  export type OrganizeOperationsPreviewOrganizeErrors = {
5357
5303
  /**
5358
5304
  * The request was refused as malformed or contradictory. `code` is
@@ -5384,18 +5330,14 @@ export type OrganizeOperationsPreviewOrganizeErrors = {
5384
5330
  */
5385
5331
  404: ApiError;
5386
5332
  };
5387
-
5388
5333
  export type OrganizeOperationsPreviewOrganizeError = OrganizeOperationsPreviewOrganizeErrors[keyof OrganizeOperationsPreviewOrganizeErrors];
5389
-
5390
5334
  export type OrganizeOperationsPreviewOrganizeResponses = {
5391
5335
  /**
5392
5336
  * The request has succeeded.
5393
5337
  */
5394
5338
  200: RemitImapOrganizePreviewResponse;
5395
5339
  };
5396
-
5397
5340
  export type OrganizeOperationsPreviewOrganizeResponse = OrganizeOperationsPreviewOrganizeResponses[keyof OrganizeOperationsPreviewOrganizeResponses];
5398
-
5399
5341
  export type OrganizeJobDetailOperationsGetOrganizeJobData = {
5400
5342
  body?: never;
5401
5343
  path: {
@@ -5405,7 +5347,6 @@ export type OrganizeJobDetailOperationsGetOrganizeJobData = {
5405
5347
  query?: never;
5406
5348
  url: '/accounts/{accountId}/organize/{organizeJobId}';
5407
5349
  };
5408
-
5409
5350
  export type OrganizeJobDetailOperationsGetOrganizeJobErrors = {
5410
5351
  /**
5411
5352
  * The request carried no usable credential. `code` is `unauthorized`.
@@ -5416,18 +5357,14 @@ export type OrganizeJobDetailOperationsGetOrganizeJobErrors = {
5416
5357
  */
5417
5358
  404: ApiError;
5418
5359
  };
5419
-
5420
5360
  export type OrganizeJobDetailOperationsGetOrganizeJobError = OrganizeJobDetailOperationsGetOrganizeJobErrors[keyof OrganizeJobDetailOperationsGetOrganizeJobErrors];
5421
-
5422
5361
  export type OrganizeJobDetailOperationsGetOrganizeJobResponses = {
5423
5362
  /**
5424
5363
  * The request has succeeded.
5425
5364
  */
5426
5365
  200: RemitImapOrganizeJobResponse;
5427
5366
  };
5428
-
5429
5367
  export type OrganizeJobDetailOperationsGetOrganizeJobResponse = OrganizeJobDetailOperationsGetOrganizeJobResponses[keyof OrganizeJobDetailOperationsGetOrganizeJobResponses];
5430
-
5431
5368
  export type SyncOperationsTriggerSyncData = {
5432
5369
  body?: never;
5433
5370
  path: {
@@ -5436,7 +5373,6 @@ export type SyncOperationsTriggerSyncData = {
5436
5373
  query?: never;
5437
5374
  url: '/accounts/{accountId}/sync';
5438
5375
  };
5439
-
5440
5376
  export type SyncOperationsTriggerSyncErrors = {
5441
5377
  /**
5442
5378
  * The request carried no usable credential. `code` is `unauthorized`.
@@ -5451,18 +5387,14 @@ export type SyncOperationsTriggerSyncErrors = {
5451
5387
  */
5452
5388
  404: ApiError;
5453
5389
  };
5454
-
5455
5390
  export type SyncOperationsTriggerSyncError = SyncOperationsTriggerSyncErrors[keyof SyncOperationsTriggerSyncErrors];
5456
-
5457
5391
  export type SyncOperationsTriggerSyncResponses = {
5458
5392
  /**
5459
5393
  * The request has succeeded.
5460
5394
  */
5461
5395
  200: RemitImapSyncTriggerResponse;
5462
5396
  };
5463
-
5464
5397
  export type SyncOperationsTriggerSyncResponse = SyncOperationsTriggerSyncResponses[keyof SyncOperationsTriggerSyncResponses];
5465
-
5466
5398
  export type SyncOperationsGetSyncStatusData = {
5467
5399
  body?: never;
5468
5400
  path: {
@@ -5471,7 +5403,6 @@ export type SyncOperationsGetSyncStatusData = {
5471
5403
  query?: never;
5472
5404
  url: '/accounts/{accountId}/sync/status';
5473
5405
  };
5474
-
5475
5406
  export type SyncOperationsGetSyncStatusErrors = {
5476
5407
  /**
5477
5408
  * The request carried no usable credential. `code` is `unauthorized`.
@@ -5482,18 +5413,14 @@ export type SyncOperationsGetSyncStatusErrors = {
5482
5413
  */
5483
5414
  404: ApiError;
5484
5415
  };
5485
-
5486
5416
  export type SyncOperationsGetSyncStatusError = SyncOperationsGetSyncStatusErrors[keyof SyncOperationsGetSyncStatusErrors];
5487
-
5488
5417
  export type SyncOperationsGetSyncStatusResponses = {
5489
5418
  /**
5490
5419
  * The request has succeeded.
5491
5420
  */
5492
5421
  200: RemitImapAccountSyncStatusResponse;
5493
5422
  };
5494
-
5495
5423
  export type SyncOperationsGetSyncStatusResponse = SyncOperationsGetSyncStatusResponses[keyof SyncOperationsGetSyncStatusResponses];
5496
-
5497
5424
  export type TrashOperationsEmptyTrashData = {
5498
5425
  body?: never;
5499
5426
  path: {
@@ -5502,7 +5429,6 @@ export type TrashOperationsEmptyTrashData = {
5502
5429
  query?: never;
5503
5430
  url: '/accounts/{accountId}/trash/empty';
5504
5431
  };
5505
-
5506
5432
  export type TrashOperationsEmptyTrashErrors = {
5507
5433
  /**
5508
5434
  * The request carried no usable credential. `code` is `unauthorized`.
@@ -5523,18 +5449,14 @@ export type TrashOperationsEmptyTrashErrors = {
5523
5449
  */
5524
5450
  409: ApiError;
5525
5451
  };
5526
-
5527
5452
  export type TrashOperationsEmptyTrashError = TrashOperationsEmptyTrashErrors[keyof TrashOperationsEmptyTrashErrors];
5528
-
5529
5453
  export type TrashOperationsEmptyTrashResponses = {
5530
5454
  /**
5531
5455
  * The request has succeeded.
5532
5456
  */
5533
5457
  200: RemitImapEmptyTrashResponse;
5534
5458
  };
5535
-
5536
5459
  export type TrashOperationsEmptyTrashResponse = TrashOperationsEmptyTrashResponses[keyof TrashOperationsEmptyTrashResponses];
5537
-
5538
5460
  export type AddressOperationsSearchAddressesData = {
5539
5461
  body?: never;
5540
5462
  path?: never;
@@ -5544,16 +5466,13 @@ export type AddressOperationsSearchAddressesData = {
5544
5466
  };
5545
5467
  url: '/addresses/search';
5546
5468
  };
5547
-
5548
5469
  export type AddressOperationsSearchAddressesErrors = {
5549
5470
  /**
5550
5471
  * The request carried no usable credential. `code` is `unauthorized`.
5551
5472
  */
5552
5473
  401: ApiError;
5553
5474
  };
5554
-
5555
5475
  export type AddressOperationsSearchAddressesError = AddressOperationsSearchAddressesErrors[keyof AddressOperationsSearchAddressesErrors];
5556
-
5557
5476
  export type AddressOperationsSearchAddressesResponses = {
5558
5477
  /**
5559
5478
  * The request has succeeded.
@@ -5566,9 +5485,7 @@ export type AddressOperationsSearchAddressesResponses = {
5566
5485
  items: Array<RemitImapAddressResponse>;
5567
5486
  };
5568
5487
  };
5569
-
5570
5488
  export type AddressOperationsSearchAddressesResponse = AddressOperationsSearchAddressesResponses[keyof AddressOperationsSearchAddressesResponses];
5571
-
5572
5489
  export type AddressDetailOperationsUpdateAddressData = {
5573
5490
  body: RemitImapUpdateAddressInput;
5574
5491
  path: {
@@ -5577,7 +5494,6 @@ export type AddressDetailOperationsUpdateAddressData = {
5577
5494
  query?: never;
5578
5495
  url: '/addresses/{addressId}';
5579
5496
  };
5580
-
5581
5497
  export type AddressDetailOperationsUpdateAddressErrors = {
5582
5498
  /**
5583
5499
  * The request carried no usable credential. `code` is `unauthorized`.
@@ -5592,18 +5508,14 @@ export type AddressDetailOperationsUpdateAddressErrors = {
5592
5508
  */
5593
5509
  404: ApiError;
5594
5510
  };
5595
-
5596
5511
  export type AddressDetailOperationsUpdateAddressError = AddressDetailOperationsUpdateAddressErrors[keyof AddressDetailOperationsUpdateAddressErrors];
5597
-
5598
5512
  export type AddressDetailOperationsUpdateAddressResponses = {
5599
5513
  /**
5600
5514
  * The request has succeeded.
5601
5515
  */
5602
5516
  200: RemitImapAddressResponse;
5603
5517
  };
5604
-
5605
5518
  export type AddressDetailOperationsUpdateAddressResponse = AddressDetailOperationsUpdateAddressResponses[keyof AddressDetailOperationsUpdateAddressResponses];
5606
-
5607
5519
  export type CalendarEventOperationsListCalendarEventsData = {
5608
5520
  body?: never;
5609
5521
  path?: never;
@@ -5627,7 +5539,6 @@ export type CalendarEventOperationsListCalendarEventsData = {
5627
5539
  };
5628
5540
  url: '/calendar-events';
5629
5541
  };
5630
-
5631
5542
  export type CalendarEventOperationsListCalendarEventsErrors = {
5632
5543
  /**
5633
5544
  * The request was refused as malformed or contradictory. `code` is
@@ -5659,25 +5570,20 @@ export type CalendarEventOperationsListCalendarEventsErrors = {
5659
5570
  */
5660
5571
  404: ApiError;
5661
5572
  };
5662
-
5663
5573
  export type CalendarEventOperationsListCalendarEventsError = CalendarEventOperationsListCalendarEventsErrors[keyof CalendarEventOperationsListCalendarEventsErrors];
5664
-
5665
5574
  export type CalendarEventOperationsListCalendarEventsResponses = {
5666
5575
  /**
5667
5576
  * The request has succeeded.
5668
5577
  */
5669
5578
  200: RemitImapCalendarEventListResponse;
5670
5579
  };
5671
-
5672
5580
  export type CalendarEventOperationsListCalendarEventsResponse = CalendarEventOperationsListCalendarEventsResponses[keyof CalendarEventOperationsListCalendarEventsResponses];
5673
-
5674
5581
  export type CalendarEventOperationsCreateCalendarEventData = {
5675
5582
  body: RemitImapCreateCalendarEventInput;
5676
5583
  path?: never;
5677
5584
  query?: never;
5678
5585
  url: '/calendar-events';
5679
5586
  };
5680
-
5681
5587
  export type CalendarEventOperationsCreateCalendarEventErrors = {
5682
5588
  /**
5683
5589
  * The request was refused as malformed or contradictory. `code` is
@@ -5709,18 +5615,14 @@ export type CalendarEventOperationsCreateCalendarEventErrors = {
5709
5615
  */
5710
5616
  404: ApiError;
5711
5617
  };
5712
-
5713
5618
  export type CalendarEventOperationsCreateCalendarEventError = CalendarEventOperationsCreateCalendarEventErrors[keyof CalendarEventOperationsCreateCalendarEventErrors];
5714
-
5715
5619
  export type CalendarEventOperationsCreateCalendarEventResponses = {
5716
5620
  /**
5717
5621
  * The request has succeeded.
5718
5622
  */
5719
5623
  200: RemitImapCalendarEventResponse;
5720
5624
  };
5721
-
5722
5625
  export type CalendarEventOperationsCreateCalendarEventResponse = CalendarEventOperationsCreateCalendarEventResponses[keyof CalendarEventOperationsCreateCalendarEventResponses];
5723
-
5724
5626
  export type CalendarEventDetailOperationsDeleteCalendarEventData = {
5725
5627
  body?: never;
5726
5628
  headers?: {
@@ -5745,7 +5647,6 @@ export type CalendarEventDetailOperationsDeleteCalendarEventData = {
5745
5647
  };
5746
5648
  url: '/calendar-events/{calendarObjectId}';
5747
5649
  };
5748
-
5749
5650
  export type CalendarEventDetailOperationsDeleteCalendarEventErrors = {
5750
5651
  /**
5751
5652
  * The request was refused as malformed or contradictory. `code` is
@@ -5785,18 +5686,14 @@ export type CalendarEventDetailOperationsDeleteCalendarEventErrors = {
5785
5686
  */
5786
5687
  412: ApiError;
5787
5688
  };
5788
-
5789
5689
  export type CalendarEventDetailOperationsDeleteCalendarEventError = CalendarEventDetailOperationsDeleteCalendarEventErrors[keyof CalendarEventDetailOperationsDeleteCalendarEventErrors];
5790
-
5791
5690
  export type CalendarEventDetailOperationsDeleteCalendarEventResponses = {
5792
5691
  /**
5793
- * Nothing to return. The resource, or the occurrence, is gone.
5692
+ * What deleting an event sent: one cancellation per guest when the reader organizes it, nothing otherwise.
5794
5693
  */
5795
- 204: void;
5694
+ 200: RemitImapCalendarEventDeleteResponse;
5796
5695
  };
5797
-
5798
5696
  export type CalendarEventDetailOperationsDeleteCalendarEventResponse = CalendarEventDetailOperationsDeleteCalendarEventResponses[keyof CalendarEventDetailOperationsDeleteCalendarEventResponses];
5799
-
5800
5697
  export type CalendarEventDetailOperationsGetCalendarEventData = {
5801
5698
  body?: never;
5802
5699
  path: {
@@ -5810,7 +5707,6 @@ export type CalendarEventDetailOperationsGetCalendarEventData = {
5810
5707
  };
5811
5708
  url: '/calendar-events/{calendarObjectId}';
5812
5709
  };
5813
-
5814
5710
  export type CalendarEventDetailOperationsGetCalendarEventErrors = {
5815
5711
  /**
5816
5712
  * The request was refused as malformed or contradictory. `code` is
@@ -5842,18 +5738,14 @@ export type CalendarEventDetailOperationsGetCalendarEventErrors = {
5842
5738
  */
5843
5739
  404: ApiError;
5844
5740
  };
5845
-
5846
5741
  export type CalendarEventDetailOperationsGetCalendarEventError = CalendarEventDetailOperationsGetCalendarEventErrors[keyof CalendarEventDetailOperationsGetCalendarEventErrors];
5847
-
5848
5742
  export type CalendarEventDetailOperationsGetCalendarEventResponses = {
5849
5743
  /**
5850
5744
  * The request has succeeded.
5851
5745
  */
5852
5746
  200: RemitImapCalendarEventResponse;
5853
5747
  };
5854
-
5855
5748
  export type CalendarEventDetailOperationsGetCalendarEventResponse = CalendarEventDetailOperationsGetCalendarEventResponses[keyof CalendarEventDetailOperationsGetCalendarEventResponses];
5856
-
5857
5749
  export type CalendarEventDetailOperationsUpdateCalendarEventData = {
5858
5750
  body: RemitImapUpdateCalendarEventInput;
5859
5751
  headers?: {
@@ -5878,7 +5770,6 @@ export type CalendarEventDetailOperationsUpdateCalendarEventData = {
5878
5770
  };
5879
5771
  url: '/calendar-events/{calendarObjectId}';
5880
5772
  };
5881
-
5882
5773
  export type CalendarEventDetailOperationsUpdateCalendarEventErrors = {
5883
5774
  /**
5884
5775
  * The request was refused as malformed or contradictory. `code` is
@@ -5918,18 +5809,14 @@ export type CalendarEventDetailOperationsUpdateCalendarEventErrors = {
5918
5809
  */
5919
5810
  412: ApiError;
5920
5811
  };
5921
-
5922
5812
  export type CalendarEventDetailOperationsUpdateCalendarEventError = CalendarEventDetailOperationsUpdateCalendarEventErrors[keyof CalendarEventDetailOperationsUpdateCalendarEventErrors];
5923
-
5924
5813
  export type CalendarEventDetailOperationsUpdateCalendarEventResponses = {
5925
5814
  /**
5926
5815
  * The request has succeeded.
5927
5816
  */
5928
5817
  200: RemitImapCalendarEventResponse;
5929
5818
  };
5930
-
5931
5819
  export type CalendarEventDetailOperationsUpdateCalendarEventResponse = CalendarEventDetailOperationsUpdateCalendarEventResponses[keyof CalendarEventDetailOperationsUpdateCalendarEventResponses];
5932
-
5933
5820
  export type CalendarFreeBusyOperationsListCalendarFreeBusyData = {
5934
5821
  body?: never;
5935
5822
  path?: never;
@@ -5945,7 +5832,6 @@ export type CalendarFreeBusyOperationsListCalendarFreeBusyData = {
5945
5832
  };
5946
5833
  url: '/calendar-free-busy';
5947
5834
  };
5948
-
5949
5835
  export type CalendarFreeBusyOperationsListCalendarFreeBusyErrors = {
5950
5836
  /**
5951
5837
  * The request was refused as malformed or contradictory. `code` is
@@ -5973,18 +5859,14 @@ export type CalendarFreeBusyOperationsListCalendarFreeBusyErrors = {
5973
5859
  */
5974
5860
  401: ApiError;
5975
5861
  };
5976
-
5977
5862
  export type CalendarFreeBusyOperationsListCalendarFreeBusyError = CalendarFreeBusyOperationsListCalendarFreeBusyErrors[keyof CalendarFreeBusyOperationsListCalendarFreeBusyErrors];
5978
-
5979
5863
  export type CalendarFreeBusyOperationsListCalendarFreeBusyResponses = {
5980
5864
  /**
5981
5865
  * The request has succeeded.
5982
5866
  */
5983
5867
  200: RemitImapCalendarFreeBusyResponse;
5984
5868
  };
5985
-
5986
5869
  export type CalendarFreeBusyOperationsListCalendarFreeBusyResponse = CalendarFreeBusyOperationsListCalendarFreeBusyResponses[keyof CalendarFreeBusyOperationsListCalendarFreeBusyResponses];
5987
-
5988
5870
  export type CalendarSuggestionOperationsListCalendarSuggestionsData = {
5989
5871
  body?: never;
5990
5872
  path?: never;
@@ -5994,7 +5876,6 @@ export type CalendarSuggestionOperationsListCalendarSuggestionsData = {
5994
5876
  };
5995
5877
  url: '/calendar-suggestions';
5996
5878
  };
5997
-
5998
5879
  export type CalendarSuggestionOperationsListCalendarSuggestionsErrors = {
5999
5880
  /**
6000
5881
  * The request was refused as malformed or contradictory. `code` is
@@ -6022,9 +5903,7 @@ export type CalendarSuggestionOperationsListCalendarSuggestionsErrors = {
6022
5903
  */
6023
5904
  401: ApiError;
6024
5905
  };
6025
-
6026
5906
  export type CalendarSuggestionOperationsListCalendarSuggestionsError = CalendarSuggestionOperationsListCalendarSuggestionsErrors[keyof CalendarSuggestionOperationsListCalendarSuggestionsErrors];
6027
-
6028
5907
  export type CalendarSuggestionOperationsListCalendarSuggestionsResponses = {
6029
5908
  /**
6030
5909
  * The request has succeeded.
@@ -6037,9 +5916,7 @@ export type CalendarSuggestionOperationsListCalendarSuggestionsResponses = {
6037
5916
  items: Array<RemitImapCalendarSuggestionResponse>;
6038
5917
  };
6039
5918
  };
6040
-
6041
5919
  export type CalendarSuggestionOperationsListCalendarSuggestionsResponse = CalendarSuggestionOperationsListCalendarSuggestionsResponses[keyof CalendarSuggestionOperationsListCalendarSuggestionsResponses];
6042
-
6043
5920
  export type CalendarSuggestionActionOperationsAcceptCalendarSuggestionData = {
6044
5921
  body: RemitImapAcceptCalendarSuggestionInput;
6045
5922
  path: {
@@ -6048,7 +5925,6 @@ export type CalendarSuggestionActionOperationsAcceptCalendarSuggestionData = {
6048
5925
  query?: never;
6049
5926
  url: '/calendar-suggestions/{suggestionId}/accept';
6050
5927
  };
6051
-
6052
5928
  export type CalendarSuggestionActionOperationsAcceptCalendarSuggestionErrors = {
6053
5929
  /**
6054
5930
  * The request was refused as malformed or contradictory. `code` is
@@ -6080,18 +5956,14 @@ export type CalendarSuggestionActionOperationsAcceptCalendarSuggestionErrors = {
6080
5956
  */
6081
5957
  404: ApiError;
6082
5958
  };
6083
-
6084
5959
  export type CalendarSuggestionActionOperationsAcceptCalendarSuggestionError = CalendarSuggestionActionOperationsAcceptCalendarSuggestionErrors[keyof CalendarSuggestionActionOperationsAcceptCalendarSuggestionErrors];
6085
-
6086
5960
  export type CalendarSuggestionActionOperationsAcceptCalendarSuggestionResponses = {
6087
5961
  /**
6088
5962
  * The request has succeeded.
6089
5963
  */
6090
5964
  200: RemitImapCalendarSuggestionResponse;
6091
5965
  };
6092
-
6093
5966
  export type CalendarSuggestionActionOperationsAcceptCalendarSuggestionResponse = CalendarSuggestionActionOperationsAcceptCalendarSuggestionResponses[keyof CalendarSuggestionActionOperationsAcceptCalendarSuggestionResponses];
6094
-
6095
5967
  export type CalendarSuggestionActionOperationsDeclineCalendarSuggestionData = {
6096
5968
  body?: never;
6097
5969
  path: {
@@ -6100,7 +5972,6 @@ export type CalendarSuggestionActionOperationsDeclineCalendarSuggestionData = {
6100
5972
  query?: never;
6101
5973
  url: '/calendar-suggestions/{suggestionId}/decline';
6102
5974
  };
6103
-
6104
5975
  export type CalendarSuggestionActionOperationsDeclineCalendarSuggestionErrors = {
6105
5976
  /**
6106
5977
  * The request was refused as malformed or contradictory. `code` is
@@ -6132,18 +6003,14 @@ export type CalendarSuggestionActionOperationsDeclineCalendarSuggestionErrors =
6132
6003
  */
6133
6004
  404: ApiError;
6134
6005
  };
6135
-
6136
6006
  export type CalendarSuggestionActionOperationsDeclineCalendarSuggestionError = CalendarSuggestionActionOperationsDeclineCalendarSuggestionErrors[keyof CalendarSuggestionActionOperationsDeclineCalendarSuggestionErrors];
6137
-
6138
6007
  export type CalendarSuggestionActionOperationsDeclineCalendarSuggestionResponses = {
6139
6008
  /**
6140
6009
  * The request has succeeded.
6141
6010
  */
6142
6011
  200: RemitImapCalendarSuggestionResponse;
6143
6012
  };
6144
-
6145
6013
  export type CalendarSuggestionActionOperationsDeclineCalendarSuggestionResponse = CalendarSuggestionActionOperationsDeclineCalendarSuggestionResponses[keyof CalendarSuggestionActionOperationsDeclineCalendarSuggestionResponses];
6146
-
6147
6014
  export type CalendarSuggestionActionOperationsDismissCalendarSuggestionData = {
6148
6015
  body: RemitImapDismissCalendarSuggestionInput;
6149
6016
  path: {
@@ -6152,7 +6019,6 @@ export type CalendarSuggestionActionOperationsDismissCalendarSuggestionData = {
6152
6019
  query?: never;
6153
6020
  url: '/calendar-suggestions/{suggestionId}/dismiss';
6154
6021
  };
6155
-
6156
6022
  export type CalendarSuggestionActionOperationsDismissCalendarSuggestionErrors = {
6157
6023
  /**
6158
6024
  * The request was refused as malformed or contradictory. `code` is
@@ -6184,18 +6050,14 @@ export type CalendarSuggestionActionOperationsDismissCalendarSuggestionErrors =
6184
6050
  */
6185
6051
  404: ApiError;
6186
6052
  };
6187
-
6188
6053
  export type CalendarSuggestionActionOperationsDismissCalendarSuggestionError = CalendarSuggestionActionOperationsDismissCalendarSuggestionErrors[keyof CalendarSuggestionActionOperationsDismissCalendarSuggestionErrors];
6189
-
6190
6054
  export type CalendarSuggestionActionOperationsDismissCalendarSuggestionResponses = {
6191
6055
  /**
6192
6056
  * The request has succeeded.
6193
6057
  */
6194
6058
  200: RemitImapCalendarSuggestionResponse;
6195
6059
  };
6196
-
6197
6060
  export type CalendarSuggestionActionOperationsDismissCalendarSuggestionResponse = CalendarSuggestionActionOperationsDismissCalendarSuggestionResponses[keyof CalendarSuggestionActionOperationsDismissCalendarSuggestionResponses];
6198
-
6199
6061
  export type CalendarSuggestionActionOperationsReopenCalendarSuggestionData = {
6200
6062
  body?: never;
6201
6063
  path: {
@@ -6204,7 +6066,6 @@ export type CalendarSuggestionActionOperationsReopenCalendarSuggestionData = {
6204
6066
  query?: never;
6205
6067
  url: '/calendar-suggestions/{suggestionId}/reopen';
6206
6068
  };
6207
-
6208
6069
  export type CalendarSuggestionActionOperationsReopenCalendarSuggestionErrors = {
6209
6070
  /**
6210
6071
  * The request was refused as malformed or contradictory. `code` is
@@ -6236,50 +6097,279 @@ export type CalendarSuggestionActionOperationsReopenCalendarSuggestionErrors = {
6236
6097
  */
6237
6098
  404: ApiError;
6238
6099
  };
6239
-
6240
6100
  export type CalendarSuggestionActionOperationsReopenCalendarSuggestionError = CalendarSuggestionActionOperationsReopenCalendarSuggestionErrors[keyof CalendarSuggestionActionOperationsReopenCalendarSuggestionErrors];
6241
-
6242
6101
  export type CalendarSuggestionActionOperationsReopenCalendarSuggestionResponses = {
6243
6102
  /**
6244
6103
  * The request has succeeded.
6245
6104
  */
6246
6105
  200: RemitImapCalendarSuggestionResponse;
6247
6106
  };
6248
-
6249
6107
  export type CalendarSuggestionActionOperationsReopenCalendarSuggestionResponse = CalendarSuggestionActionOperationsReopenCalendarSuggestionResponses[keyof CalendarSuggestionActionOperationsReopenCalendarSuggestionResponses];
6250
-
6108
+ export type CalendarTaskOperationsListCalendarTasksData = {
6109
+ body?: never;
6110
+ path?: never;
6111
+ query: {
6112
+ /**
6113
+ * Start of the window, an ISO 8601 date-time with zone offset. Inclusive.
6114
+ */
6115
+ from: string;
6116
+ /**
6117
+ * End of the window, an ISO 8601 date-time with zone offset. Exclusive.
6118
+ */
6119
+ to: string;
6120
+ /**
6121
+ * Restrict to these task collections, repeated once per calendar. Omitted means every one the caller holds.
6122
+ */
6123
+ calendarId?: Array<Uuid>;
6124
+ };
6125
+ url: '/calendar-tasks';
6126
+ };
6127
+ export type CalendarTaskOperationsListCalendarTasksErrors = {
6128
+ /**
6129
+ * The request was refused as malformed or contradictory. `code` is
6130
+ * `invalid_request` where nothing more specific is known, and the refusal's own
6131
+ * token where there is one.
6132
+ *
6133
+ * The calendar surface answers with the reason it read the request by:
6134
+ * `invalid_window`, `invalid_scope`, `invalid_url_segment`, `url_segment_taken`,
6135
+ * `unknown_time_zone` and `default_calendar_undeletable` on the collection and
6136
+ * the query, and, for a VCALENDAR it could not accept,
6137
+ * `malformed_icalendar`, `not_a_calendar`, `unsupported_component`, `no_event`,
6138
+ * `no_master_event`, `multiple_master_events`, `missing_uid`, `mismatched_uid`,
6139
+ * `missing_dt_start`, `backwards_end`, `invalid_date_time`,
6140
+ * `invalid_recurrence_rule`, `missing_recurrence_id`, `not_recurring`,
6141
+ * `unknown_occurrence` and `unmovable_recurrence_rule`. The outbox answers `mail_sync_off` to a
6142
+ * send from an account whose `syncedServices` leave out `Mail`, with the
6143
+ * account in `details.accountId`.
6144
+ *
6145
+ * `errors` is present only when the request failed schema validation before any
6146
+ * handler ran, and names every field that was refused.
6147
+ */
6148
+ 400: ValidationError;
6149
+ /**
6150
+ * The request carried no usable credential. `code` is `unauthorized`.
6151
+ */
6152
+ 401: ApiError;
6153
+ /**
6154
+ * Nothing answers to this address, or the caller may not learn that something does. `code` is `not_found`.
6155
+ */
6156
+ 404: ApiError;
6157
+ };
6158
+ export type CalendarTaskOperationsListCalendarTasksError = CalendarTaskOperationsListCalendarTasksErrors[keyof CalendarTaskOperationsListCalendarTasksErrors];
6159
+ export type CalendarTaskOperationsListCalendarTasksResponses = {
6160
+ /**
6161
+ * The request has succeeded.
6162
+ */
6163
+ 200: RemitImapCalendarTaskListResponse;
6164
+ };
6165
+ export type CalendarTaskOperationsListCalendarTasksResponse = CalendarTaskOperationsListCalendarTasksResponses[keyof CalendarTaskOperationsListCalendarTasksResponses];
6166
+ export type CalendarTaskOperationsCreateCalendarTaskData = {
6167
+ body: RemitImapCreateCalendarTaskInput;
6168
+ path?: never;
6169
+ query?: never;
6170
+ url: '/calendar-tasks';
6171
+ };
6172
+ export type CalendarTaskOperationsCreateCalendarTaskErrors = {
6173
+ /**
6174
+ * The request was refused as malformed or contradictory. `code` is
6175
+ * `invalid_request` where nothing more specific is known, and the refusal's own
6176
+ * token where there is one.
6177
+ *
6178
+ * The calendar surface answers with the reason it read the request by:
6179
+ * `invalid_window`, `invalid_scope`, `invalid_url_segment`, `url_segment_taken`,
6180
+ * `unknown_time_zone` and `default_calendar_undeletable` on the collection and
6181
+ * the query, and, for a VCALENDAR it could not accept,
6182
+ * `malformed_icalendar`, `not_a_calendar`, `unsupported_component`, `no_event`,
6183
+ * `no_master_event`, `multiple_master_events`, `missing_uid`, `mismatched_uid`,
6184
+ * `missing_dt_start`, `backwards_end`, `invalid_date_time`,
6185
+ * `invalid_recurrence_rule`, `missing_recurrence_id`, `not_recurring`,
6186
+ * `unknown_occurrence` and `unmovable_recurrence_rule`. The outbox answers `mail_sync_off` to a
6187
+ * send from an account whose `syncedServices` leave out `Mail`, with the
6188
+ * account in `details.accountId`.
6189
+ *
6190
+ * `errors` is present only when the request failed schema validation before any
6191
+ * handler ran, and names every field that was refused.
6192
+ */
6193
+ 400: ValidationError;
6194
+ /**
6195
+ * The request carried no usable credential. `code` is `unauthorized`.
6196
+ */
6197
+ 401: ApiError;
6198
+ /**
6199
+ * Nothing answers to this address, or the caller may not learn that something does. `code` is `not_found`.
6200
+ */
6201
+ 404: ApiError;
6202
+ };
6203
+ export type CalendarTaskOperationsCreateCalendarTaskError = CalendarTaskOperationsCreateCalendarTaskErrors[keyof CalendarTaskOperationsCreateCalendarTaskErrors];
6204
+ export type CalendarTaskOperationsCreateCalendarTaskResponses = {
6205
+ /**
6206
+ * The request has succeeded.
6207
+ */
6208
+ 200: RemitImapCalendarTaskResponse;
6209
+ };
6210
+ export type CalendarTaskOperationsCreateCalendarTaskResponse = CalendarTaskOperationsCreateCalendarTaskResponses[keyof CalendarTaskOperationsCreateCalendarTaskResponses];
6211
+ export type CalendarTaskDetailOperationsDeleteCalendarTaskData = {
6212
+ body?: never;
6213
+ headers?: {
6214
+ 'If-Match'?: string;
6215
+ };
6216
+ path: {
6217
+ calendarTaskId: Uuid;
6218
+ };
6219
+ query: {
6220
+ /**
6221
+ * Collection the task lives in
6222
+ */
6223
+ calendarId: Uuid;
6224
+ };
6225
+ url: '/calendar-tasks/{calendarTaskId}';
6226
+ };
6227
+ export type CalendarTaskDetailOperationsDeleteCalendarTaskErrors = {
6228
+ /**
6229
+ * The request carried no usable credential. `code` is `unauthorized`.
6230
+ */
6231
+ 401: ApiError;
6232
+ /**
6233
+ * Nothing answers to this address, or the caller may not learn that something does. `code` is `not_found`.
6234
+ */
6235
+ 404: ApiError;
6236
+ /**
6237
+ * The condition the request stated is no longer true. Answered when an
6238
+ * `If-Match` names an etag the stored resource no longer carries: somebody else
6239
+ * wrote it in between, so applying this request would silently discard their
6240
+ * change. The client re-reads the resource and decides what to do with the
6241
+ * version it now has. `code` is `precondition_failed`.
6242
+ */
6243
+ 412: ApiError;
6244
+ };
6245
+ export type CalendarTaskDetailOperationsDeleteCalendarTaskError = CalendarTaskDetailOperationsDeleteCalendarTaskErrors[keyof CalendarTaskDetailOperationsDeleteCalendarTaskErrors];
6246
+ export type CalendarTaskDetailOperationsDeleteCalendarTaskResponses = {
6247
+ /**
6248
+ * Nothing to return. The resource, or the occurrence, is gone.
6249
+ */
6250
+ 204: void;
6251
+ };
6252
+ export type CalendarTaskDetailOperationsDeleteCalendarTaskResponse = CalendarTaskDetailOperationsDeleteCalendarTaskResponses[keyof CalendarTaskDetailOperationsDeleteCalendarTaskResponses];
6253
+ export type CalendarTaskDetailOperationsGetCalendarTaskData = {
6254
+ body?: never;
6255
+ path: {
6256
+ calendarTaskId: Uuid;
6257
+ };
6258
+ query?: {
6259
+ /**
6260
+ * Collection the task lives in. Omitted, it is looked for in every task collection the caller holds.
6261
+ */
6262
+ calendarId?: Uuid;
6263
+ };
6264
+ url: '/calendar-tasks/{calendarTaskId}';
6265
+ };
6266
+ export type CalendarTaskDetailOperationsGetCalendarTaskErrors = {
6267
+ /**
6268
+ * The request carried no usable credential. `code` is `unauthorized`.
6269
+ */
6270
+ 401: ApiError;
6271
+ /**
6272
+ * Nothing answers to this address, or the caller may not learn that something does. `code` is `not_found`.
6273
+ */
6274
+ 404: ApiError;
6275
+ };
6276
+ export type CalendarTaskDetailOperationsGetCalendarTaskError = CalendarTaskDetailOperationsGetCalendarTaskErrors[keyof CalendarTaskDetailOperationsGetCalendarTaskErrors];
6277
+ export type CalendarTaskDetailOperationsGetCalendarTaskResponses = {
6278
+ /**
6279
+ * The request has succeeded.
6280
+ */
6281
+ 200: RemitImapCalendarTaskResponse;
6282
+ };
6283
+ export type CalendarTaskDetailOperationsGetCalendarTaskResponse = CalendarTaskDetailOperationsGetCalendarTaskResponses[keyof CalendarTaskDetailOperationsGetCalendarTaskResponses];
6284
+ export type CalendarTaskDetailOperationsUpdateCalendarTaskData = {
6285
+ body: RemitImapUpdateCalendarTaskInput;
6286
+ headers?: {
6287
+ 'If-Match'?: string;
6288
+ };
6289
+ path: {
6290
+ calendarTaskId: Uuid;
6291
+ };
6292
+ query: {
6293
+ /**
6294
+ * Collection the task lives in
6295
+ */
6296
+ calendarId: Uuid;
6297
+ };
6298
+ url: '/calendar-tasks/{calendarTaskId}';
6299
+ };
6300
+ export type CalendarTaskDetailOperationsUpdateCalendarTaskErrors = {
6301
+ /**
6302
+ * The request was refused as malformed or contradictory. `code` is
6303
+ * `invalid_request` where nothing more specific is known, and the refusal's own
6304
+ * token where there is one.
6305
+ *
6306
+ * The calendar surface answers with the reason it read the request by:
6307
+ * `invalid_window`, `invalid_scope`, `invalid_url_segment`, `url_segment_taken`,
6308
+ * `unknown_time_zone` and `default_calendar_undeletable` on the collection and
6309
+ * the query, and, for a VCALENDAR it could not accept,
6310
+ * `malformed_icalendar`, `not_a_calendar`, `unsupported_component`, `no_event`,
6311
+ * `no_master_event`, `multiple_master_events`, `missing_uid`, `mismatched_uid`,
6312
+ * `missing_dt_start`, `backwards_end`, `invalid_date_time`,
6313
+ * `invalid_recurrence_rule`, `missing_recurrence_id`, `not_recurring`,
6314
+ * `unknown_occurrence` and `unmovable_recurrence_rule`. The outbox answers `mail_sync_off` to a
6315
+ * send from an account whose `syncedServices` leave out `Mail`, with the
6316
+ * account in `details.accountId`.
6317
+ *
6318
+ * `errors` is present only when the request failed schema validation before any
6319
+ * handler ran, and names every field that was refused.
6320
+ */
6321
+ 400: ValidationError;
6322
+ /**
6323
+ * The request carried no usable credential. `code` is `unauthorized`.
6324
+ */
6325
+ 401: ApiError;
6326
+ /**
6327
+ * Nothing answers to this address, or the caller may not learn that something does. `code` is `not_found`.
6328
+ */
6329
+ 404: ApiError;
6330
+ /**
6331
+ * The condition the request stated is no longer true. Answered when an
6332
+ * `If-Match` names an etag the stored resource no longer carries: somebody else
6333
+ * wrote it in between, so applying this request would silently discard their
6334
+ * change. The client re-reads the resource and decides what to do with the
6335
+ * version it now has. `code` is `precondition_failed`.
6336
+ */
6337
+ 412: ApiError;
6338
+ };
6339
+ export type CalendarTaskDetailOperationsUpdateCalendarTaskError = CalendarTaskDetailOperationsUpdateCalendarTaskErrors[keyof CalendarTaskDetailOperationsUpdateCalendarTaskErrors];
6340
+ export type CalendarTaskDetailOperationsUpdateCalendarTaskResponses = {
6341
+ /**
6342
+ * The request has succeeded.
6343
+ */
6344
+ 200: RemitImapCalendarTaskResponse;
6345
+ };
6346
+ export type CalendarTaskDetailOperationsUpdateCalendarTaskResponse = CalendarTaskDetailOperationsUpdateCalendarTaskResponses[keyof CalendarTaskDetailOperationsUpdateCalendarTaskResponses];
6251
6347
  export type CalendarOperationsListCalendarsData = {
6252
6348
  body?: never;
6253
6349
  path?: never;
6254
6350
  query?: never;
6255
6351
  url: '/calendars';
6256
6352
  };
6257
-
6258
6353
  export type CalendarOperationsListCalendarsErrors = {
6259
6354
  /**
6260
6355
  * The request carried no usable credential. `code` is `unauthorized`.
6261
6356
  */
6262
6357
  401: ApiError;
6263
6358
  };
6264
-
6265
6359
  export type CalendarOperationsListCalendarsError = CalendarOperationsListCalendarsErrors[keyof CalendarOperationsListCalendarsErrors];
6266
-
6267
6360
  export type CalendarOperationsListCalendarsResponses = {
6268
6361
  /**
6269
6362
  * The request has succeeded.
6270
6363
  */
6271
6364
  200: RemitImapCalendarListResponse;
6272
6365
  };
6273
-
6274
6366
  export type CalendarOperationsListCalendarsResponse = CalendarOperationsListCalendarsResponses[keyof CalendarOperationsListCalendarsResponses];
6275
-
6276
6367
  export type CalendarOperationsCreateCalendarData = {
6277
6368
  body: RemitImapCreateCalendarInput;
6278
6369
  path?: never;
6279
6370
  query?: never;
6280
6371
  url: '/calendars';
6281
6372
  };
6282
-
6283
6373
  export type CalendarOperationsCreateCalendarErrors = {
6284
6374
  /**
6285
6375
  * The request was refused as malformed or contradictory. `code` is
@@ -6307,18 +6397,14 @@ export type CalendarOperationsCreateCalendarErrors = {
6307
6397
  */
6308
6398
  401: ApiError;
6309
6399
  };
6310
-
6311
6400
  export type CalendarOperationsCreateCalendarError = CalendarOperationsCreateCalendarErrors[keyof CalendarOperationsCreateCalendarErrors];
6312
-
6313
6401
  export type CalendarOperationsCreateCalendarResponses = {
6314
6402
  /**
6315
6403
  * The request has succeeded.
6316
6404
  */
6317
6405
  200: RemitImapCalendarResponse;
6318
6406
  };
6319
-
6320
6407
  export type CalendarOperationsCreateCalendarResponse = CalendarOperationsCreateCalendarResponses[keyof CalendarOperationsCreateCalendarResponses];
6321
-
6322
6408
  export type CalendarDetailOperationsDeleteCalendarData = {
6323
6409
  body?: never;
6324
6410
  path: {
@@ -6327,7 +6413,6 @@ export type CalendarDetailOperationsDeleteCalendarData = {
6327
6413
  query?: never;
6328
6414
  url: '/calendars/{calendarId}';
6329
6415
  };
6330
-
6331
6416
  export type CalendarDetailOperationsDeleteCalendarErrors = {
6332
6417
  /**
6333
6418
  * The request was refused as malformed or contradictory. `code` is
@@ -6359,18 +6444,14 @@ export type CalendarDetailOperationsDeleteCalendarErrors = {
6359
6444
  */
6360
6445
  404: ApiError;
6361
6446
  };
6362
-
6363
6447
  export type CalendarDetailOperationsDeleteCalendarError = CalendarDetailOperationsDeleteCalendarErrors[keyof CalendarDetailOperationsDeleteCalendarErrors];
6364
-
6365
6448
  export type CalendarDetailOperationsDeleteCalendarResponses = {
6366
6449
  /**
6367
6450
  * Nothing to return. The resource, or the occurrence, is gone.
6368
6451
  */
6369
6452
  204: void;
6370
6453
  };
6371
-
6372
6454
  export type CalendarDetailOperationsDeleteCalendarResponse = CalendarDetailOperationsDeleteCalendarResponses[keyof CalendarDetailOperationsDeleteCalendarResponses];
6373
-
6374
6455
  export type CalendarDetailOperationsGetCalendarData = {
6375
6456
  body?: never;
6376
6457
  path: {
@@ -6379,7 +6460,6 @@ export type CalendarDetailOperationsGetCalendarData = {
6379
6460
  query?: never;
6380
6461
  url: '/calendars/{calendarId}';
6381
6462
  };
6382
-
6383
6463
  export type CalendarDetailOperationsGetCalendarErrors = {
6384
6464
  /**
6385
6465
  * The request carried no usable credential. `code` is `unauthorized`.
@@ -6390,18 +6470,14 @@ export type CalendarDetailOperationsGetCalendarErrors = {
6390
6470
  */
6391
6471
  404: ApiError;
6392
6472
  };
6393
-
6394
6473
  export type CalendarDetailOperationsGetCalendarError = CalendarDetailOperationsGetCalendarErrors[keyof CalendarDetailOperationsGetCalendarErrors];
6395
-
6396
6474
  export type CalendarDetailOperationsGetCalendarResponses = {
6397
6475
  /**
6398
6476
  * The request has succeeded.
6399
6477
  */
6400
6478
  200: RemitImapCalendarResponse;
6401
6479
  };
6402
-
6403
6480
  export type CalendarDetailOperationsGetCalendarResponse = CalendarDetailOperationsGetCalendarResponses[keyof CalendarDetailOperationsGetCalendarResponses];
6404
-
6405
6481
  export type CalendarDetailOperationsUpdateCalendarData = {
6406
6482
  body: RemitImapUpdateCalendarInput;
6407
6483
  path: {
@@ -6410,7 +6486,6 @@ export type CalendarDetailOperationsUpdateCalendarData = {
6410
6486
  query?: never;
6411
6487
  url: '/calendars/{calendarId}';
6412
6488
  };
6413
-
6414
6489
  export type CalendarDetailOperationsUpdateCalendarErrors = {
6415
6490
  /**
6416
6491
  * The request was refused as malformed or contradictory. `code` is
@@ -6442,18 +6517,14 @@ export type CalendarDetailOperationsUpdateCalendarErrors = {
6442
6517
  */
6443
6518
  404: ApiError;
6444
6519
  };
6445
-
6446
6520
  export type CalendarDetailOperationsUpdateCalendarError = CalendarDetailOperationsUpdateCalendarErrors[keyof CalendarDetailOperationsUpdateCalendarErrors];
6447
-
6448
6521
  export type CalendarDetailOperationsUpdateCalendarResponses = {
6449
6522
  /**
6450
6523
  * The request has succeeded.
6451
6524
  */
6452
6525
  200: RemitImapCalendarResponse;
6453
6526
  };
6454
-
6455
6527
  export type CalendarDetailOperationsUpdateCalendarResponse = CalendarDetailOperationsUpdateCalendarResponses[keyof CalendarDetailOperationsUpdateCalendarResponses];
6456
-
6457
6528
  export type CalendarDetailOperationsRevokeCalendarFeedData = {
6458
6529
  body?: never;
6459
6530
  path: {
@@ -6462,7 +6533,6 @@ export type CalendarDetailOperationsRevokeCalendarFeedData = {
6462
6533
  query?: never;
6463
6534
  url: '/calendars/{calendarId}/feed';
6464
6535
  };
6465
-
6466
6536
  export type CalendarDetailOperationsRevokeCalendarFeedErrors = {
6467
6537
  /**
6468
6538
  * The request carried no usable credential. `code` is `unauthorized`.
@@ -6473,18 +6543,14 @@ export type CalendarDetailOperationsRevokeCalendarFeedErrors = {
6473
6543
  */
6474
6544
  404: ApiError;
6475
6545
  };
6476
-
6477
6546
  export type CalendarDetailOperationsRevokeCalendarFeedError = CalendarDetailOperationsRevokeCalendarFeedErrors[keyof CalendarDetailOperationsRevokeCalendarFeedErrors];
6478
-
6479
6547
  export type CalendarDetailOperationsRevokeCalendarFeedResponses = {
6480
6548
  /**
6481
6549
  * Nothing to return. The resource, or the occurrence, is gone.
6482
6550
  */
6483
6551
  204: void;
6484
6552
  };
6485
-
6486
6553
  export type CalendarDetailOperationsRevokeCalendarFeedResponse = CalendarDetailOperationsRevokeCalendarFeedResponses[keyof CalendarDetailOperationsRevokeCalendarFeedResponses];
6487
-
6488
6554
  export type CalendarDetailOperationsGetCalendarFeedData = {
6489
6555
  body?: never;
6490
6556
  path: {
@@ -6493,7 +6559,6 @@ export type CalendarDetailOperationsGetCalendarFeedData = {
6493
6559
  query?: never;
6494
6560
  url: '/calendars/{calendarId}/feed';
6495
6561
  };
6496
-
6497
6562
  export type CalendarDetailOperationsGetCalendarFeedErrors = {
6498
6563
  /**
6499
6564
  * The request carried no usable credential. `code` is `unauthorized`.
@@ -6504,18 +6569,14 @@ export type CalendarDetailOperationsGetCalendarFeedErrors = {
6504
6569
  */
6505
6570
  404: ApiError;
6506
6571
  };
6507
-
6508
6572
  export type CalendarDetailOperationsGetCalendarFeedError = CalendarDetailOperationsGetCalendarFeedErrors[keyof CalendarDetailOperationsGetCalendarFeedErrors];
6509
-
6510
6573
  export type CalendarDetailOperationsGetCalendarFeedResponses = {
6511
6574
  /**
6512
6575
  * The request has succeeded.
6513
6576
  */
6514
6577
  200: RemitImapCalendarFeedStateResponse;
6515
6578
  };
6516
-
6517
6579
  export type CalendarDetailOperationsGetCalendarFeedResponse = CalendarDetailOperationsGetCalendarFeedResponses[keyof CalendarDetailOperationsGetCalendarFeedResponses];
6518
-
6519
6580
  export type CalendarDetailOperationsPutCalendarFeedData = {
6520
6581
  body?: never;
6521
6582
  path: {
@@ -6524,7 +6585,6 @@ export type CalendarDetailOperationsPutCalendarFeedData = {
6524
6585
  query?: never;
6525
6586
  url: '/calendars/{calendarId}/feed';
6526
6587
  };
6527
-
6528
6588
  export type CalendarDetailOperationsPutCalendarFeedErrors = {
6529
6589
  /**
6530
6590
  * The request carried no usable credential. `code` is `unauthorized`.
@@ -6535,75 +6595,60 @@ export type CalendarDetailOperationsPutCalendarFeedErrors = {
6535
6595
  */
6536
6596
  404: ApiError;
6537
6597
  };
6538
-
6539
6598
  export type CalendarDetailOperationsPutCalendarFeedError = CalendarDetailOperationsPutCalendarFeedErrors[keyof CalendarDetailOperationsPutCalendarFeedErrors];
6540
-
6541
6599
  export type CalendarDetailOperationsPutCalendarFeedResponses = {
6542
6600
  /**
6543
6601
  * The request has succeeded.
6544
6602
  */
6545
6603
  200: RemitImapCalendarFeedResponse;
6546
6604
  };
6547
-
6548
6605
  export type CalendarDetailOperationsPutCalendarFeedResponse = CalendarDetailOperationsPutCalendarFeedResponses[keyof CalendarDetailOperationsPutCalendarFeedResponses];
6549
-
6550
6606
  export type ConfigOperationsGetConfigData = {
6551
6607
  body?: never;
6552
6608
  path?: never;
6553
6609
  query?: never;
6554
6610
  url: '/config';
6555
6611
  };
6556
-
6557
6612
  export type ConfigOperationsGetConfigErrors = {
6558
6613
  /**
6559
6614
  * The request carried no usable credential. `code` is `unauthorized`.
6560
6615
  */
6561
6616
  401: ApiError;
6562
6617
  };
6563
-
6564
6618
  export type ConfigOperationsGetConfigError = ConfigOperationsGetConfigErrors[keyof ConfigOperationsGetConfigErrors];
6565
-
6566
6619
  export type ConfigOperationsGetConfigResponses = {
6567
6620
  /**
6568
6621
  * The request has succeeded.
6569
6622
  */
6570
6623
  200: RemitImapConfigDescriptionResponse;
6571
6624
  };
6572
-
6573
6625
  export type ConfigOperationsGetConfigResponse = ConfigOperationsGetConfigResponses[keyof ConfigOperationsGetConfigResponses];
6574
-
6575
6626
  export type ConfigOperationsExportConfigData = {
6576
6627
  body?: never;
6577
6628
  path?: never;
6578
6629
  query?: never;
6579
6630
  url: '/config/export';
6580
6631
  };
6581
-
6582
6632
  export type ConfigOperationsExportConfigErrors = {
6583
6633
  /**
6584
6634
  * The request carried no usable credential. `code` is `unauthorized`.
6585
6635
  */
6586
6636
  401: ApiError;
6587
6637
  };
6588
-
6589
6638
  export type ConfigOperationsExportConfigError = ConfigOperationsExportConfigErrors[keyof ConfigOperationsExportConfigErrors];
6590
-
6591
6639
  export type ConfigOperationsExportConfigResponses = {
6592
6640
  /**
6593
6641
  * The request has succeeded.
6594
6642
  */
6595
6643
  200: RemitImapConfigExportResponse;
6596
6644
  };
6597
-
6598
6645
  export type ConfigOperationsExportConfigResponse = ConfigOperationsExportConfigResponses[keyof ConfigOperationsExportConfigResponses];
6599
-
6600
6646
  export type ConfigOperationsImportConfigData = {
6601
6647
  body: RemitImapImportConfigInput;
6602
6648
  path?: never;
6603
6649
  query?: never;
6604
6650
  url: '/config/import';
6605
6651
  };
6606
-
6607
6652
  export type ConfigOperationsImportConfigErrors = {
6608
6653
  /**
6609
6654
  * The request was refused as malformed or contradictory. `code` is
@@ -6640,18 +6685,14 @@ export type ConfigOperationsImportConfigErrors = {
6640
6685
  */
6641
6686
  409: ApiError;
6642
6687
  };
6643
-
6644
6688
  export type ConfigOperationsImportConfigError = ConfigOperationsImportConfigErrors[keyof ConfigOperationsImportConfigErrors];
6645
-
6646
6689
  export type ConfigOperationsImportConfigResponses = {
6647
6690
  /**
6648
6691
  * The request has succeeded.
6649
6692
  */
6650
6693
  200: RemitImapConfigImportReport;
6651
6694
  };
6652
-
6653
6695
  export type ConfigOperationsImportConfigResponse = ConfigOperationsImportConfigResponses[keyof ConfigOperationsImportConfigResponses];
6654
-
6655
6696
  export type CalendarFeedOperationsGetCalendarFeedIcalData = {
6656
6697
  body?: never;
6657
6698
  headers?: {
@@ -6670,16 +6711,13 @@ export type CalendarFeedOperationsGetCalendarFeedIcalData = {
6670
6711
  query?: never;
6671
6712
  url: '/feeds/calendar/{feedToken}.ics';
6672
6713
  };
6673
-
6674
6714
  export type CalendarFeedOperationsGetCalendarFeedIcalErrors = {
6675
6715
  /**
6676
6716
  * No feed answers to this address. Unknown, revoked and malformed tokens are one answer with one body, so a caller learns nothing about which of the three it sent.
6677
6717
  */
6678
6718
  404: string;
6679
6719
  };
6680
-
6681
6720
  export type CalendarFeedOperationsGetCalendarFeedIcalError = CalendarFeedOperationsGetCalendarFeedIcalErrors[keyof CalendarFeedOperationsGetCalendarFeedIcalErrors];
6682
-
6683
6721
  export type CalendarFeedOperationsGetCalendarFeedIcalResponses = {
6684
6722
  /**
6685
6723
  * A whole calendar as iCalendar text, for a client that subscribed to the
@@ -6696,9 +6734,7 @@ export type CalendarFeedOperationsGetCalendarFeedIcalResponses = {
6696
6734
  */
6697
6735
  200: string;
6698
6736
  };
6699
-
6700
6737
  export type CalendarFeedOperationsGetCalendarFeedIcalResponse = CalendarFeedOperationsGetCalendarFeedIcalResponses[keyof CalendarFeedOperationsGetCalendarFeedIcalResponses];
6701
-
6702
6738
  export type ThreadOperationsListThreadsData = {
6703
6739
  body?: never;
6704
6740
  path: {
@@ -6710,7 +6746,6 @@ export type ThreadOperationsListThreadsData = {
6710
6746
  };
6711
6747
  url: '/mailboxes/{mailboxId}/threads';
6712
6748
  };
6713
-
6714
6749
  export type ThreadOperationsListThreadsErrors = {
6715
6750
  /**
6716
6751
  * The request was refused as malformed or contradictory. `code` is
@@ -6738,18 +6773,14 @@ export type ThreadOperationsListThreadsErrors = {
6738
6773
  */
6739
6774
  401: ApiError;
6740
6775
  };
6741
-
6742
6776
  export type ThreadOperationsListThreadsError = ThreadOperationsListThreadsErrors[keyof ThreadOperationsListThreadsErrors];
6743
-
6744
6777
  export type ThreadOperationsListThreadsResponses = {
6745
6778
  /**
6746
6779
  * The request has succeeded.
6747
6780
  */
6748
6781
  200: RemitImapThreadMessageListResponse;
6749
6782
  };
6750
-
6751
6783
  export type ThreadOperationsListThreadsResponse = ThreadOperationsListThreadsResponses[keyof ThreadOperationsListThreadsResponses];
6752
-
6753
6784
  export type ThreadOperationsSearchThreadsData = {
6754
6785
  body?: never;
6755
6786
  path: {
@@ -6800,7 +6831,6 @@ export type ThreadOperationsSearchThreadsData = {
6800
6831
  };
6801
6832
  url: '/mailboxes/{mailboxId}/threads/search';
6802
6833
  };
6803
-
6804
6834
  export type ThreadOperationsSearchThreadsErrors = {
6805
6835
  /**
6806
6836
  * The request was refused as malformed or contradictory. `code` is
@@ -6828,25 +6858,20 @@ export type ThreadOperationsSearchThreadsErrors = {
6828
6858
  */
6829
6859
  401: ApiError;
6830
6860
  };
6831
-
6832
6861
  export type ThreadOperationsSearchThreadsError = ThreadOperationsSearchThreadsErrors[keyof ThreadOperationsSearchThreadsErrors];
6833
-
6834
6862
  export type ThreadOperationsSearchThreadsResponses = {
6835
6863
  /**
6836
6864
  * The request has succeeded.
6837
6865
  */
6838
6866
  200: RemitImapThreadSearchResponse;
6839
6867
  };
6840
-
6841
6868
  export type ThreadOperationsSearchThreadsResponse = ThreadOperationsSearchThreadsResponses[keyof ThreadOperationsSearchThreadsResponses];
6842
-
6843
6869
  export type MeOperationsDeleteMeData = {
6844
6870
  body: RemitImapDeleteMeInput;
6845
6871
  path?: never;
6846
6872
  query?: never;
6847
6873
  url: '/me';
6848
6874
  };
6849
-
6850
6875
  export type MeOperationsDeleteMeErrors = {
6851
6876
  /**
6852
6877
  * The request was refused as malformed or contradictory. `code` is
@@ -6874,43 +6899,34 @@ export type MeOperationsDeleteMeErrors = {
6874
6899
  */
6875
6900
  401: ApiError;
6876
6901
  };
6877
-
6878
6902
  export type MeOperationsDeleteMeError = MeOperationsDeleteMeErrors[keyof MeOperationsDeleteMeErrors];
6879
-
6880
6903
  export type MeOperationsDeleteMeResponses = {
6881
6904
  /**
6882
6905
  * Response for DELETE /me (account erasure request)
6883
6906
  */
6884
6907
  202: RemitImapDeleteAccountConfigResponse;
6885
6908
  };
6886
-
6887
6909
  export type MeOperationsDeleteMeResponse = MeOperationsDeleteMeResponses[keyof MeOperationsDeleteMeResponses];
6888
-
6889
6910
  export type MeOperationsCreateExportData = {
6890
6911
  body?: never;
6891
6912
  path?: never;
6892
6913
  query?: never;
6893
6914
  url: '/me/export';
6894
6915
  };
6895
-
6896
6916
  export type MeOperationsCreateExportErrors = {
6897
6917
  /**
6898
6918
  * The request carried no usable credential. `code` is `unauthorized`.
6899
6919
  */
6900
6920
  401: ApiError;
6901
6921
  };
6902
-
6903
6922
  export type MeOperationsCreateExportError = MeOperationsCreateExportErrors[keyof MeOperationsCreateExportErrors];
6904
-
6905
6923
  export type MeOperationsCreateExportResponses = {
6906
6924
  /**
6907
6925
  * Response body for POST /me/export
6908
6926
  */
6909
6927
  202: RemitImapCreateExportResponse;
6910
6928
  };
6911
-
6912
6929
  export type MeOperationsCreateExportResponse = MeOperationsCreateExportResponses[keyof MeOperationsCreateExportResponses];
6913
-
6914
6930
  export type MeOperationsGetExportData = {
6915
6931
  body?: never;
6916
6932
  path: {
@@ -6919,7 +6935,6 @@ export type MeOperationsGetExportData = {
6919
6935
  query?: never;
6920
6936
  url: '/me/export/{exportId}';
6921
6937
  };
6922
-
6923
6938
  export type MeOperationsGetExportErrors = {
6924
6939
  /**
6925
6940
  * The request carried no usable credential. `code` is `unauthorized`.
@@ -6930,75 +6945,60 @@ export type MeOperationsGetExportErrors = {
6930
6945
  */
6931
6946
  404: ApiError;
6932
6947
  };
6933
-
6934
6948
  export type MeOperationsGetExportError = MeOperationsGetExportErrors[keyof MeOperationsGetExportErrors];
6935
-
6936
6949
  export type MeOperationsGetExportResponses = {
6937
6950
  /**
6938
6951
  * The request has succeeded.
6939
6952
  */
6940
6953
  200: RemitImapAccountExportRequestResponse;
6941
6954
  };
6942
-
6943
6955
  export type MeOperationsGetExportResponse = MeOperationsGetExportResponses[keyof MeOperationsGetExportResponses];
6944
-
6945
6956
  export type MeOperationsListQuarantineData = {
6946
6957
  body?: never;
6947
6958
  path?: never;
6948
6959
  query?: never;
6949
6960
  url: '/me/quarantine';
6950
6961
  };
6951
-
6952
6962
  export type MeOperationsListQuarantineErrors = {
6953
6963
  /**
6954
6964
  * The request carried no usable credential. `code` is `unauthorized`.
6955
6965
  */
6956
6966
  401: ApiError;
6957
6967
  };
6958
-
6959
6968
  export type MeOperationsListQuarantineError = MeOperationsListQuarantineErrors[keyof MeOperationsListQuarantineErrors];
6960
-
6961
6969
  export type MeOperationsListQuarantineResponses = {
6962
6970
  /**
6963
6971
  * The request has succeeded.
6964
6972
  */
6965
6973
  200: RemitImapQuarantineListResponse;
6966
6974
  };
6967
-
6968
6975
  export type MeOperationsListQuarantineResponse = MeOperationsListQuarantineResponses[keyof MeOperationsListQuarantineResponses];
6969
-
6970
6976
  export type MeOperationsListVipSuggestionsData = {
6971
6977
  body?: never;
6972
6978
  path?: never;
6973
6979
  query?: never;
6974
6980
  url: '/me/vip-suggestions';
6975
6981
  };
6976
-
6977
6982
  export type MeOperationsListVipSuggestionsErrors = {
6978
6983
  /**
6979
6984
  * The request carried no usable credential. `code` is `unauthorized`.
6980
6985
  */
6981
6986
  401: ApiError;
6982
6987
  };
6983
-
6984
6988
  export type MeOperationsListVipSuggestionsError = MeOperationsListVipSuggestionsErrors[keyof MeOperationsListVipSuggestionsErrors];
6985
-
6986
6989
  export type MeOperationsListVipSuggestionsResponses = {
6987
6990
  /**
6988
6991
  * The request has succeeded.
6989
6992
  */
6990
6993
  200: RemitImapVipSuggestionsResponse;
6991
6994
  };
6992
-
6993
6995
  export type MeOperationsListVipSuggestionsResponse = MeOperationsListVipSuggestionsResponses[keyof MeOperationsListVipSuggestionsResponses];
6994
-
6995
6996
  export type MessageBulkOperationsCopyMessagesData = {
6996
6997
  body: RemitImapCopyMessagesInput;
6997
6998
  path?: never;
6998
6999
  query?: never;
6999
7000
  url: '/messages/copy';
7000
7001
  };
7001
-
7002
7002
  export type MessageBulkOperationsCopyMessagesErrors = {
7003
7003
  /**
7004
7004
  * The request carried no usable credential. `code` is `unauthorized`.
@@ -7027,25 +7027,20 @@ export type MessageBulkOperationsCopyMessagesErrors = {
7027
7027
  */
7028
7028
  422: ApiError;
7029
7029
  };
7030
-
7031
7030
  export type MessageBulkOperationsCopyMessagesError = MessageBulkOperationsCopyMessagesErrors[keyof MessageBulkOperationsCopyMessagesErrors];
7032
-
7033
7031
  export type MessageBulkOperationsCopyMessagesResponses = {
7034
7032
  /**
7035
7033
  * The request has succeeded.
7036
7034
  */
7037
7035
  200: RemitImapMessageBulkOperationResult;
7038
7036
  };
7039
-
7040
7037
  export type MessageBulkOperationsCopyMessagesResponse = MessageBulkOperationsCopyMessagesResponses[keyof MessageBulkOperationsCopyMessagesResponses];
7041
-
7042
7038
  export type MessageBulkOperationsDeleteMessagesData = {
7043
7039
  body: RemitImapDeleteMessagesInput;
7044
7040
  path?: never;
7045
7041
  query?: never;
7046
7042
  url: '/messages/delete';
7047
7043
  };
7048
-
7049
7044
  export type MessageBulkOperationsDeleteMessagesErrors = {
7050
7045
  /**
7051
7046
  * The request carried no usable credential. `code` is `unauthorized`.
@@ -7068,25 +7063,20 @@ export type MessageBulkOperationsDeleteMessagesErrors = {
7068
7063
  */
7069
7064
  409: ApiError;
7070
7065
  };
7071
-
7072
7066
  export type MessageBulkOperationsDeleteMessagesError = MessageBulkOperationsDeleteMessagesErrors[keyof MessageBulkOperationsDeleteMessagesErrors];
7073
-
7074
7067
  export type MessageBulkOperationsDeleteMessagesResponses = {
7075
7068
  /**
7076
7069
  * The request has succeeded.
7077
7070
  */
7078
7071
  200: RemitImapMessageBulkOperationResult;
7079
7072
  };
7080
-
7081
7073
  export type MessageBulkOperationsDeleteMessagesResponse = MessageBulkOperationsDeleteMessagesResponses[keyof MessageBulkOperationsDeleteMessagesResponses];
7082
-
7083
7074
  export type MessageBulkOperationsUpdateFlagsData = {
7084
7075
  body: RemitImapBulkUpdateFlagsInput;
7085
7076
  path?: never;
7086
7077
  query?: never;
7087
7078
  url: '/messages/flags';
7088
7079
  };
7089
-
7090
7080
  export type MessageBulkOperationsUpdateFlagsErrors = {
7091
7081
  /**
7092
7082
  * The request carried no usable credential. `code` is `unauthorized`.
@@ -7101,25 +7091,20 @@ export type MessageBulkOperationsUpdateFlagsErrors = {
7101
7091
  */
7102
7092
  404: ApiError;
7103
7093
  };
7104
-
7105
7094
  export type MessageBulkOperationsUpdateFlagsError = MessageBulkOperationsUpdateFlagsErrors[keyof MessageBulkOperationsUpdateFlagsErrors];
7106
-
7107
7095
  export type MessageBulkOperationsUpdateFlagsResponses = {
7108
7096
  /**
7109
7097
  * The request has succeeded.
7110
7098
  */
7111
7099
  200: RemitImapMessageBulkOperationResult;
7112
7100
  };
7113
-
7114
7101
  export type MessageBulkOperationsUpdateFlagsResponse = MessageBulkOperationsUpdateFlagsResponses[keyof MessageBulkOperationsUpdateFlagsResponses];
7115
-
7116
7102
  export type MessageBulkOperationsUpdateMessageLabelsData = {
7117
7103
  body: RemitImapUpdateMessageLabelsInput;
7118
7104
  path?: never;
7119
7105
  query?: never;
7120
7106
  url: '/messages/labels';
7121
7107
  };
7122
-
7123
7108
  export type MessageBulkOperationsUpdateMessageLabelsErrors = {
7124
7109
  /**
7125
7110
  * The request carried no usable credential. `code` is `unauthorized`.
@@ -7134,25 +7119,20 @@ export type MessageBulkOperationsUpdateMessageLabelsErrors = {
7134
7119
  */
7135
7120
  404: ApiError;
7136
7121
  };
7137
-
7138
7122
  export type MessageBulkOperationsUpdateMessageLabelsError = MessageBulkOperationsUpdateMessageLabelsErrors[keyof MessageBulkOperationsUpdateMessageLabelsErrors];
7139
-
7140
7123
  export type MessageBulkOperationsUpdateMessageLabelsResponses = {
7141
7124
  /**
7142
7125
  * The request has succeeded.
7143
7126
  */
7144
7127
  200: RemitImapMessageBulkOperationResult;
7145
7128
  };
7146
-
7147
7129
  export type MessageBulkOperationsUpdateMessageLabelsResponse = MessageBulkOperationsUpdateMessageLabelsResponses[keyof MessageBulkOperationsUpdateMessageLabelsResponses];
7148
-
7149
7130
  export type MessageBulkOperationsMoveMessagesData = {
7150
7131
  body: RemitImapMoveMessagesInput;
7151
7132
  path?: never;
7152
7133
  query?: never;
7153
7134
  url: '/messages/move';
7154
7135
  };
7155
-
7156
7136
  export type MessageBulkOperationsMoveMessagesErrors = {
7157
7137
  /**
7158
7138
  * The request carried no usable credential. `code` is `unauthorized`.
@@ -7181,25 +7161,20 @@ export type MessageBulkOperationsMoveMessagesErrors = {
7181
7161
  */
7182
7162
  422: ApiError;
7183
7163
  };
7184
-
7185
7164
  export type MessageBulkOperationsMoveMessagesError = MessageBulkOperationsMoveMessagesErrors[keyof MessageBulkOperationsMoveMessagesErrors];
7186
-
7187
7165
  export type MessageBulkOperationsMoveMessagesResponses = {
7188
7166
  /**
7189
7167
  * The request has succeeded.
7190
7168
  */
7191
7169
  200: RemitImapMessageBulkOperationResult;
7192
7170
  };
7193
-
7194
7171
  export type MessageBulkOperationsMoveMessagesResponse = MessageBulkOperationsMoveMessagesResponses[keyof MessageBulkOperationsMoveMessagesResponses];
7195
-
7196
7172
  export type MessageBulkOperationsNotSpamData = {
7197
7173
  body: RemitImapBulkMessageInput;
7198
7174
  path?: never;
7199
7175
  query?: never;
7200
7176
  url: '/messages/not-spam';
7201
7177
  };
7202
-
7203
7178
  export type MessageBulkOperationsNotSpamErrors = {
7204
7179
  /**
7205
7180
  * The request carried no usable credential. `code` is `unauthorized`.
@@ -7214,25 +7189,20 @@ export type MessageBulkOperationsNotSpamErrors = {
7214
7189
  */
7215
7190
  404: ApiError;
7216
7191
  };
7217
-
7218
7192
  export type MessageBulkOperationsNotSpamError = MessageBulkOperationsNotSpamErrors[keyof MessageBulkOperationsNotSpamErrors];
7219
-
7220
7193
  export type MessageBulkOperationsNotSpamResponses = {
7221
7194
  /**
7222
7195
  * The request has succeeded.
7223
7196
  */
7224
7197
  200: RemitImapSpamReportBulkResult;
7225
7198
  };
7226
-
7227
7199
  export type MessageBulkOperationsNotSpamResponse = MessageBulkOperationsNotSpamResponses[keyof MessageBulkOperationsNotSpamResponses];
7228
-
7229
7200
  export type MessageBulkOperationsReportSpamData = {
7230
7201
  body: RemitImapBulkMessageInput;
7231
7202
  path?: never;
7232
7203
  query?: never;
7233
7204
  url: '/messages/report-spam';
7234
7205
  };
7235
-
7236
7206
  export type MessageBulkOperationsReportSpamErrors = {
7237
7207
  /**
7238
7208
  * The request carried no usable credential. `code` is `unauthorized`.
@@ -7247,18 +7217,14 @@ export type MessageBulkOperationsReportSpamErrors = {
7247
7217
  */
7248
7218
  404: ApiError;
7249
7219
  };
7250
-
7251
7220
  export type MessageBulkOperationsReportSpamError = MessageBulkOperationsReportSpamErrors[keyof MessageBulkOperationsReportSpamErrors];
7252
-
7253
7221
  export type MessageBulkOperationsReportSpamResponses = {
7254
7222
  /**
7255
7223
  * The request has succeeded.
7256
7224
  */
7257
7225
  200: RemitImapSpamReportBulkResult;
7258
7226
  };
7259
-
7260
7227
  export type MessageBulkOperationsReportSpamResponse = MessageBulkOperationsReportSpamResponses[keyof MessageBulkOperationsReportSpamResponses];
7261
-
7262
7228
  export type MessageOperationsDescribeMessageData = {
7263
7229
  body?: never;
7264
7230
  path: {
@@ -7267,7 +7233,6 @@ export type MessageOperationsDescribeMessageData = {
7267
7233
  query?: never;
7268
7234
  url: '/messages/{messageId}';
7269
7235
  };
7270
-
7271
7236
  export type MessageOperationsDescribeMessageErrors = {
7272
7237
  /**
7273
7238
  * The request carried no usable credential. `code` is `unauthorized`.
@@ -7291,18 +7256,14 @@ export type MessageOperationsDescribeMessageErrors = {
7291
7256
  */
7292
7257
  422: ApiError;
7293
7258
  };
7294
-
7295
7259
  export type MessageOperationsDescribeMessageError = MessageOperationsDescribeMessageErrors[keyof MessageOperationsDescribeMessageErrors];
7296
-
7297
7260
  export type MessageOperationsDescribeMessageResponses = {
7298
7261
  /**
7299
7262
  * The request has succeeded.
7300
7263
  */
7301
7264
  200: RemitImapDescribeMessageResponse;
7302
7265
  };
7303
-
7304
7266
  export type MessageOperationsDescribeMessageResponse = MessageOperationsDescribeMessageResponses[keyof MessageOperationsDescribeMessageResponses];
7305
-
7306
7267
  export type MessageCalendarSuggestionOperationsListMessageCalendarSuggestionsData = {
7307
7268
  body?: never;
7308
7269
  path: {
@@ -7311,7 +7272,6 @@ export type MessageCalendarSuggestionOperationsListMessageCalendarSuggestionsDat
7311
7272
  query?: never;
7312
7273
  url: '/messages/{messageId}/calendar-suggestions';
7313
7274
  };
7314
-
7315
7275
  export type MessageCalendarSuggestionOperationsListMessageCalendarSuggestionsErrors = {
7316
7276
  /**
7317
7277
  * The request was refused as malformed or contradictory. `code` is
@@ -7339,9 +7299,7 @@ export type MessageCalendarSuggestionOperationsListMessageCalendarSuggestionsErr
7339
7299
  */
7340
7300
  401: ApiError;
7341
7301
  };
7342
-
7343
7302
  export type MessageCalendarSuggestionOperationsListMessageCalendarSuggestionsError = MessageCalendarSuggestionOperationsListMessageCalendarSuggestionsErrors[keyof MessageCalendarSuggestionOperationsListMessageCalendarSuggestionsErrors];
7344
-
7345
7303
  export type MessageCalendarSuggestionOperationsListMessageCalendarSuggestionsResponses = {
7346
7304
  /**
7347
7305
  * The request has succeeded.
@@ -7354,9 +7312,7 @@ export type MessageCalendarSuggestionOperationsListMessageCalendarSuggestionsRes
7354
7312
  items: Array<RemitImapCalendarSuggestionResponse>;
7355
7313
  };
7356
7314
  };
7357
-
7358
7315
  export type MessageCalendarSuggestionOperationsListMessageCalendarSuggestionsResponse = MessageCalendarSuggestionOperationsListMessageCalendarSuggestionsResponses[keyof MessageCalendarSuggestionOperationsListMessageCalendarSuggestionsResponses];
7359
-
7360
7316
  export type MessageOperationsUpdateMessageFlagsData = {
7361
7317
  body: RemitImapUpdateFlagsInput;
7362
7318
  path: {
@@ -7365,7 +7321,6 @@ export type MessageOperationsUpdateMessageFlagsData = {
7365
7321
  query?: never;
7366
7322
  url: '/messages/{messageId}/flags';
7367
7323
  };
7368
-
7369
7324
  export type MessageOperationsUpdateMessageFlagsErrors = {
7370
7325
  /**
7371
7326
  * The request carried no usable credential. `code` is `unauthorized`.
@@ -7380,9 +7335,7 @@ export type MessageOperationsUpdateMessageFlagsErrors = {
7380
7335
  */
7381
7336
  404: ApiError;
7382
7337
  };
7383
-
7384
7338
  export type MessageOperationsUpdateMessageFlagsError = MessageOperationsUpdateMessageFlagsErrors[keyof MessageOperationsUpdateMessageFlagsErrors];
7385
-
7386
7339
  export type MessageOperationsUpdateMessageFlagsResponses = {
7387
7340
  /**
7388
7341
  * The request has succeeded.
@@ -7393,9 +7346,7 @@ export type MessageOperationsUpdateMessageFlagsResponses = {
7393
7346
  isStarred: boolean;
7394
7347
  };
7395
7348
  };
7396
-
7397
7349
  export type MessageOperationsUpdateMessageFlagsResponse = MessageOperationsUpdateMessageFlagsResponses[keyof MessageOperationsUpdateMessageFlagsResponses];
7398
-
7399
7350
  export type MessageOperationsGetRawMessageData = {
7400
7351
  body?: never;
7401
7352
  path: {
@@ -7404,7 +7355,6 @@ export type MessageOperationsGetRawMessageData = {
7404
7355
  query?: never;
7405
7356
  url: '/messages/{messageId}/raw';
7406
7357
  };
7407
-
7408
7358
  export type MessageOperationsGetRawMessageErrors = {
7409
7359
  /**
7410
7360
  * The request carried no usable credential. `code` is `unauthorized`.
@@ -7424,18 +7374,14 @@ export type MessageOperationsGetRawMessageErrors = {
7424
7374
  */
7425
7375
  409: ApiError;
7426
7376
  };
7427
-
7428
7377
  export type MessageOperationsGetRawMessageError = MessageOperationsGetRawMessageErrors[keyof MessageOperationsGetRawMessageErrors];
7429
-
7430
7378
  export type MessageOperationsGetRawMessageResponses = {
7431
7379
  /**
7432
7380
  * The request has succeeded.
7433
7381
  */
7434
7382
  200: RemitImapRawMessageResponse;
7435
7383
  };
7436
-
7437
7384
  export type MessageOperationsGetRawMessageResponse = MessageOperationsGetRawMessageResponses[keyof MessageOperationsGetRawMessageResponses];
7438
-
7439
7385
  export type OutboxOperationsListOutboxMessagesData = {
7440
7386
  body?: never;
7441
7387
  path?: never;
@@ -7444,7 +7390,6 @@ export type OutboxOperationsListOutboxMessagesData = {
7444
7390
  };
7445
7391
  url: '/outbox';
7446
7392
  };
7447
-
7448
7393
  export type OutboxOperationsListOutboxMessagesErrors = {
7449
7394
  /**
7450
7395
  * The request was refused as malformed or contradictory. `code` is
@@ -7472,25 +7417,20 @@ export type OutboxOperationsListOutboxMessagesErrors = {
7472
7417
  */
7473
7418
  401: ApiError;
7474
7419
  };
7475
-
7476
7420
  export type OutboxOperationsListOutboxMessagesError = OutboxOperationsListOutboxMessagesErrors[keyof OutboxOperationsListOutboxMessagesErrors];
7477
-
7478
7421
  export type OutboxOperationsListOutboxMessagesResponses = {
7479
7422
  /**
7480
7423
  * The request has succeeded.
7481
7424
  */
7482
7425
  200: RemitImapOutboxMessageListResponse;
7483
7426
  };
7484
-
7485
7427
  export type OutboxOperationsListOutboxMessagesResponse = OutboxOperationsListOutboxMessagesResponses[keyof OutboxOperationsListOutboxMessagesResponses];
7486
-
7487
7428
  export type OutboxOperationsCreateOutboxMessageData = {
7488
7429
  body: RemitImapCreateOutboxMessageInput;
7489
7430
  path?: never;
7490
7431
  query?: never;
7491
7432
  url: '/outbox';
7492
7433
  };
7493
-
7494
7434
  export type OutboxOperationsCreateOutboxMessageErrors = {
7495
7435
  /**
7496
7436
  * The request was refused as malformed or contradictory. `code` is
@@ -7526,18 +7466,14 @@ export type OutboxOperationsCreateOutboxMessageErrors = {
7526
7466
  */
7527
7467
  404: ApiError;
7528
7468
  };
7529
-
7530
7469
  export type OutboxOperationsCreateOutboxMessageError = OutboxOperationsCreateOutboxMessageErrors[keyof OutboxOperationsCreateOutboxMessageErrors];
7531
-
7532
7470
  export type OutboxOperationsCreateOutboxMessageResponses = {
7533
7471
  /**
7534
7472
  * The request has succeeded.
7535
7473
  */
7536
7474
  200: RemitImapOutboxMessageResponse;
7537
7475
  };
7538
-
7539
7476
  export type OutboxOperationsCreateOutboxMessageResponse = OutboxOperationsCreateOutboxMessageResponses[keyof OutboxOperationsCreateOutboxMessageResponses];
7540
-
7541
7477
  export type OutboxDetailOperationsDeleteOutboxMessageData = {
7542
7478
  body?: never;
7543
7479
  path: {
@@ -7546,7 +7482,6 @@ export type OutboxDetailOperationsDeleteOutboxMessageData = {
7546
7482
  query?: never;
7547
7483
  url: '/outbox/{outboxMessageId}';
7548
7484
  };
7549
-
7550
7485
  export type OutboxDetailOperationsDeleteOutboxMessageErrors = {
7551
7486
  /**
7552
7487
  * The request carried no usable credential. `code` is `unauthorized`.
@@ -7561,18 +7496,14 @@ export type OutboxDetailOperationsDeleteOutboxMessageErrors = {
7561
7496
  */
7562
7497
  404: ApiError;
7563
7498
  };
7564
-
7565
7499
  export type OutboxDetailOperationsDeleteOutboxMessageError = OutboxDetailOperationsDeleteOutboxMessageErrors[keyof OutboxDetailOperationsDeleteOutboxMessageErrors];
7566
-
7567
7500
  export type OutboxDetailOperationsDeleteOutboxMessageResponses = {
7568
7501
  /**
7569
7502
  * Nothing to return. The request succeeded and the response carries no body.
7570
7503
  */
7571
7504
  204: void;
7572
7505
  };
7573
-
7574
7506
  export type OutboxDetailOperationsDeleteOutboxMessageResponse = OutboxDetailOperationsDeleteOutboxMessageResponses[keyof OutboxDetailOperationsDeleteOutboxMessageResponses];
7575
-
7576
7507
  export type OutboxDetailOperationsGetOutboxMessageData = {
7577
7508
  body?: never;
7578
7509
  path: {
@@ -7581,7 +7512,6 @@ export type OutboxDetailOperationsGetOutboxMessageData = {
7581
7512
  query?: never;
7582
7513
  url: '/outbox/{outboxMessageId}';
7583
7514
  };
7584
-
7585
7515
  export type OutboxDetailOperationsGetOutboxMessageErrors = {
7586
7516
  /**
7587
7517
  * The request carried no usable credential. `code` is `unauthorized`.
@@ -7592,18 +7522,14 @@ export type OutboxDetailOperationsGetOutboxMessageErrors = {
7592
7522
  */
7593
7523
  404: ApiError;
7594
7524
  };
7595
-
7596
7525
  export type OutboxDetailOperationsGetOutboxMessageError = OutboxDetailOperationsGetOutboxMessageErrors[keyof OutboxDetailOperationsGetOutboxMessageErrors];
7597
-
7598
7526
  export type OutboxDetailOperationsGetOutboxMessageResponses = {
7599
7527
  /**
7600
7528
  * The request has succeeded.
7601
7529
  */
7602
7530
  200: RemitImapOutboxMessageResponse;
7603
7531
  };
7604
-
7605
7532
  export type OutboxDetailOperationsGetOutboxMessageResponse = OutboxDetailOperationsGetOutboxMessageResponses[keyof OutboxDetailOperationsGetOutboxMessageResponses];
7606
-
7607
7533
  export type OutboxDetailOperationsUpdateOutboxMessageData = {
7608
7534
  body: RemitImapUpdateOutboxMessageInput;
7609
7535
  path: {
@@ -7612,7 +7538,6 @@ export type OutboxDetailOperationsUpdateOutboxMessageData = {
7612
7538
  query?: never;
7613
7539
  url: '/outbox/{outboxMessageId}';
7614
7540
  };
7615
-
7616
7541
  export type OutboxDetailOperationsUpdateOutboxMessageErrors = {
7617
7542
  /**
7618
7543
  * The request carried no usable credential. `code` is `unauthorized`.
@@ -7627,18 +7552,14 @@ export type OutboxDetailOperationsUpdateOutboxMessageErrors = {
7627
7552
  */
7628
7553
  404: ApiError;
7629
7554
  };
7630
-
7631
7555
  export type OutboxDetailOperationsUpdateOutboxMessageError = OutboxDetailOperationsUpdateOutboxMessageErrors[keyof OutboxDetailOperationsUpdateOutboxMessageErrors];
7632
-
7633
7556
  export type OutboxDetailOperationsUpdateOutboxMessageResponses = {
7634
7557
  /**
7635
7558
  * The request has succeeded.
7636
7559
  */
7637
7560
  200: RemitImapOutboxMessageResponse;
7638
7561
  };
7639
-
7640
7562
  export type OutboxDetailOperationsUpdateOutboxMessageResponse = OutboxDetailOperationsUpdateOutboxMessageResponses[keyof OutboxDetailOperationsUpdateOutboxMessageResponses];
7641
-
7642
7563
  export type OutboxDetailOperationsMintOutboxAttachmentData = {
7643
7564
  body: RemitImapMintOutboxAttachmentInput;
7644
7565
  path: {
@@ -7647,7 +7568,6 @@ export type OutboxDetailOperationsMintOutboxAttachmentData = {
7647
7568
  query?: never;
7648
7569
  url: '/outbox/{outboxMessageId}/attachments';
7649
7570
  };
7650
-
7651
7571
  export type OutboxDetailOperationsMintOutboxAttachmentErrors = {
7652
7572
  /**
7653
7573
  * Refusal response for an attachment. Flat, like every other error body.
@@ -7662,18 +7582,14 @@ export type OutboxDetailOperationsMintOutboxAttachmentErrors = {
7662
7582
  */
7663
7583
  413: RemitImapOutboxAttachmentRejection;
7664
7584
  };
7665
-
7666
7585
  export type OutboxDetailOperationsMintOutboxAttachmentError = OutboxDetailOperationsMintOutboxAttachmentErrors[keyof OutboxDetailOperationsMintOutboxAttachmentErrors];
7667
-
7668
7586
  export type OutboxDetailOperationsMintOutboxAttachmentResponses = {
7669
7587
  /**
7670
7588
  * The request has succeeded.
7671
7589
  */
7672
7590
  200: RemitImapMintOutboxAttachmentResponse;
7673
7591
  };
7674
-
7675
7592
  export type OutboxDetailOperationsMintOutboxAttachmentResponse = OutboxDetailOperationsMintOutboxAttachmentResponses[keyof OutboxDetailOperationsMintOutboxAttachmentResponses];
7676
-
7677
7593
  export type OutboxAttachmentOperationsCompleteOutboxAttachmentData = {
7678
7594
  body?: never;
7679
7595
  path: {
@@ -7683,7 +7599,6 @@ export type OutboxAttachmentOperationsCompleteOutboxAttachmentData = {
7683
7599
  query?: never;
7684
7600
  url: '/outbox/{outboxMessageId}/attachments/{outboxAttachmentId}/complete';
7685
7601
  };
7686
-
7687
7602
  export type OutboxAttachmentOperationsCompleteOutboxAttachmentErrors = {
7688
7603
  /**
7689
7604
  * Refusal response for an attachment. Flat, like every other error body.
@@ -7698,18 +7613,14 @@ export type OutboxAttachmentOperationsCompleteOutboxAttachmentErrors = {
7698
7613
  */
7699
7614
  413: RemitImapOutboxAttachmentRejection;
7700
7615
  };
7701
-
7702
7616
  export type OutboxAttachmentOperationsCompleteOutboxAttachmentError = OutboxAttachmentOperationsCompleteOutboxAttachmentErrors[keyof OutboxAttachmentOperationsCompleteOutboxAttachmentErrors];
7703
-
7704
7617
  export type OutboxAttachmentOperationsCompleteOutboxAttachmentResponses = {
7705
7618
  /**
7706
7619
  * The request has succeeded.
7707
7620
  */
7708
7621
  200: RemitImapOutboxAttachmentResponse;
7709
7622
  };
7710
-
7711
7623
  export type OutboxAttachmentOperationsCompleteOutboxAttachmentResponse = OutboxAttachmentOperationsCompleteOutboxAttachmentResponses[keyof OutboxAttachmentOperationsCompleteOutboxAttachmentResponses];
7712
-
7713
7624
  export type OutboxDetailOperationsSendOutboxMessageData = {
7714
7625
  body?: never;
7715
7626
  path: {
@@ -7718,7 +7629,6 @@ export type OutboxDetailOperationsSendOutboxMessageData = {
7718
7629
  query?: never;
7719
7630
  url: '/outbox/{outboxMessageId}/send';
7720
7631
  };
7721
-
7722
7632
  export type OutboxDetailOperationsSendOutboxMessageErrors = {
7723
7633
  /**
7724
7634
  * The request was refused as malformed or contradictory. `code` is
@@ -7754,18 +7664,95 @@ export type OutboxDetailOperationsSendOutboxMessageErrors = {
7754
7664
  */
7755
7665
  404: ApiError;
7756
7666
  };
7757
-
7758
7667
  export type OutboxDetailOperationsSendOutboxMessageError = OutboxDetailOperationsSendOutboxMessageErrors[keyof OutboxDetailOperationsSendOutboxMessageErrors];
7759
-
7760
7668
  export type OutboxDetailOperationsSendOutboxMessageResponses = {
7761
7669
  /**
7762
7670
  * The request has succeeded.
7763
7671
  */
7764
7672
  200: RemitImapOutboxMessageResponse;
7765
7673
  };
7766
-
7767
7674
  export type OutboxDetailOperationsSendOutboxMessageResponse = OutboxDetailOperationsSendOutboxMessageResponses[keyof OutboxDetailOperationsSendOutboxMessageResponses];
7768
-
7675
+ export type UserSettingsOperationsGetUserSettingsData = {
7676
+ body?: never;
7677
+ path?: never;
7678
+ query?: never;
7679
+ url: '/settings';
7680
+ };
7681
+ export type UserSettingsOperationsGetUserSettingsErrors = {
7682
+ /**
7683
+ * The request carried no usable credential. `code` is `unauthorized`.
7684
+ */
7685
+ 401: ApiError;
7686
+ };
7687
+ export type UserSettingsOperationsGetUserSettingsError = UserSettingsOperationsGetUserSettingsErrors[keyof UserSettingsOperationsGetUserSettingsErrors];
7688
+ export type UserSettingsOperationsGetUserSettingsResponses = {
7689
+ /**
7690
+ * The request has succeeded.
7691
+ */
7692
+ 200: RemitImapUserSettingsResponse;
7693
+ };
7694
+ export type UserSettingsOperationsGetUserSettingsResponse = UserSettingsOperationsGetUserSettingsResponses[keyof UserSettingsOperationsGetUserSettingsResponses];
7695
+ export type UserSettingsOperationsUpdateUserSettingsData = {
7696
+ body: RemitImapUpdateUserSettingsInput;
7697
+ path?: never;
7698
+ query?: never;
7699
+ url: '/settings';
7700
+ };
7701
+ export type UserSettingsOperationsUpdateUserSettingsErrors = {
7702
+ /**
7703
+ * The request was refused as malformed or contradictory. `code` is
7704
+ * `invalid_request` where nothing more specific is known, and the refusal's own
7705
+ * token where there is one.
7706
+ *
7707
+ * The calendar surface answers with the reason it read the request by:
7708
+ * `invalid_window`, `invalid_scope`, `invalid_url_segment`, `url_segment_taken`,
7709
+ * `unknown_time_zone` and `default_calendar_undeletable` on the collection and
7710
+ * the query, and, for a VCALENDAR it could not accept,
7711
+ * `malformed_icalendar`, `not_a_calendar`, `unsupported_component`, `no_event`,
7712
+ * `no_master_event`, `multiple_master_events`, `missing_uid`, `mismatched_uid`,
7713
+ * `missing_dt_start`, `backwards_end`, `invalid_date_time`,
7714
+ * `invalid_recurrence_rule`, `missing_recurrence_id`, `not_recurring`,
7715
+ * `unknown_occurrence` and `unmovable_recurrence_rule`. The outbox answers `mail_sync_off` to a
7716
+ * send from an account whose `syncedServices` leave out `Mail`, with the
7717
+ * account in `details.accountId`.
7718
+ *
7719
+ * `errors` is present only when the request failed schema validation before any
7720
+ * handler ran, and names every field that was refused.
7721
+ */
7722
+ 400: ValidationError;
7723
+ /**
7724
+ * The request carried no usable credential. `code` is `unauthorized`.
7725
+ */
7726
+ 401: ApiError;
7727
+ };
7728
+ export type UserSettingsOperationsUpdateUserSettingsError = UserSettingsOperationsUpdateUserSettingsErrors[keyof UserSettingsOperationsUpdateUserSettingsErrors];
7729
+ export type UserSettingsOperationsUpdateUserSettingsResponses = {
7730
+ /**
7731
+ * The request has succeeded.
7732
+ */
7733
+ 200: RemitImapUserSettingsResponse;
7734
+ };
7735
+ export type UserSettingsOperationsUpdateUserSettingsResponse = UserSettingsOperationsUpdateUserSettingsResponses[keyof UserSettingsOperationsUpdateUserSettingsResponses];
7736
+ export type UserSettingsOperationsClearDefaultInvitationSenderData = {
7737
+ body?: never;
7738
+ path?: never;
7739
+ query?: never;
7740
+ url: '/settings/default-invitation-sender';
7741
+ };
7742
+ export type UserSettingsOperationsClearDefaultInvitationSenderErrors = {
7743
+ /**
7744
+ * The request carried no usable credential. `code` is `unauthorized`.
7745
+ */
7746
+ 401: ApiError;
7747
+ };
7748
+ export type UserSettingsOperationsClearDefaultInvitationSenderError = UserSettingsOperationsClearDefaultInvitationSenderErrors[keyof UserSettingsOperationsClearDefaultInvitationSenderErrors];
7749
+ export type UserSettingsOperationsClearDefaultInvitationSenderResponses = {
7750
+ /**
7751
+ * The request has succeeded.
7752
+ */
7753
+ 200: RemitImapUserSettingsResponse;
7754
+ };
7755
+ export type UserSettingsOperationsClearDefaultInvitationSenderResponse = UserSettingsOperationsClearDefaultInvitationSenderResponses[keyof UserSettingsOperationsClearDefaultInvitationSenderResponses];
7769
7756
  export type SystemOperationsGetSystemUpdateData = {
7770
7757
  body?: never;
7771
7758
  path?: never;
@@ -7774,7 +7761,6 @@ export type SystemOperationsGetSystemUpdateData = {
7774
7761
  };
7775
7762
  url: '/system/update';
7776
7763
  };
7777
-
7778
7764
  export type SystemOperationsGetSystemUpdateErrors = {
7779
7765
  /**
7780
7766
  * The request carried no usable credential. `code` is `unauthorized`.
@@ -7785,25 +7771,20 @@ export type SystemOperationsGetSystemUpdateErrors = {
7785
7771
  */
7786
7772
  404: ApiError;
7787
7773
  };
7788
-
7789
7774
  export type SystemOperationsGetSystemUpdateError = SystemOperationsGetSystemUpdateErrors[keyof SystemOperationsGetSystemUpdateErrors];
7790
-
7791
7775
  export type SystemOperationsGetSystemUpdateResponses = {
7792
7776
  /**
7793
7777
  * The request has succeeded.
7794
7778
  */
7795
7779
  200: RemitImapSystemUpdateResponse;
7796
7780
  };
7797
-
7798
7781
  export type SystemOperationsGetSystemUpdateResponse = SystemOperationsGetSystemUpdateResponses[keyof SystemOperationsGetSystemUpdateResponses];
7799
-
7800
7782
  export type SystemOperationsApplySystemUpdateData = {
7801
7783
  body: RemitImapApplyUpdateInput;
7802
7784
  path?: never;
7803
7785
  query?: never;
7804
7786
  url: '/system/update';
7805
7787
  };
7806
-
7807
7788
  export type SystemOperationsApplySystemUpdateErrors = {
7808
7789
  /**
7809
7790
  * The request carried no usable credential. `code` is `unauthorized`.
@@ -7824,18 +7805,14 @@ export type SystemOperationsApplySystemUpdateErrors = {
7824
7805
  */
7825
7806
  422: ApiError;
7826
7807
  };
7827
-
7828
7808
  export type SystemOperationsApplySystemUpdateError = SystemOperationsApplySystemUpdateErrors[keyof SystemOperationsApplySystemUpdateErrors];
7829
-
7830
7809
  export type SystemOperationsApplySystemUpdateResponses = {
7831
7810
  /**
7832
7811
  * The request has succeeded.
7833
7812
  */
7834
7813
  200: RemitImapSystemUpdateResponse;
7835
7814
  };
7836
-
7837
7815
  export type SystemOperationsApplySystemUpdateResponse = SystemOperationsApplySystemUpdateResponses[keyof SystemOperationsApplySystemUpdateResponses];
7838
-
7839
7816
  export type UnifiedThreadOperationsListAllThreadsData = {
7840
7817
  body?: never;
7841
7818
  path?: never;
@@ -7894,7 +7871,6 @@ export type UnifiedThreadOperationsListAllThreadsData = {
7894
7871
  };
7895
7872
  url: '/threads';
7896
7873
  };
7897
-
7898
7874
  export type UnifiedThreadOperationsListAllThreadsErrors = {
7899
7875
  /**
7900
7876
  * The request was refused as malformed or contradictory. `code` is
@@ -7922,18 +7898,14 @@ export type UnifiedThreadOperationsListAllThreadsErrors = {
7922
7898
  */
7923
7899
  401: ApiError;
7924
7900
  };
7925
-
7926
7901
  export type UnifiedThreadOperationsListAllThreadsError = UnifiedThreadOperationsListAllThreadsErrors[keyof UnifiedThreadOperationsListAllThreadsErrors];
7927
-
7928
7902
  export type UnifiedThreadOperationsListAllThreadsResponses = {
7929
7903
  /**
7930
7904
  * The request has succeeded.
7931
7905
  */
7932
7906
  200: RemitImapThreadSearchResponse;
7933
7907
  };
7934
-
7935
7908
  export type UnifiedThreadOperationsListAllThreadsResponse = UnifiedThreadOperationsListAllThreadsResponses[keyof UnifiedThreadOperationsListAllThreadsResponses];
7936
-
7937
7909
  export type ThreadDetailOperationsListThreadMessagesData = {
7938
7910
  body?: never;
7939
7911
  path: {
@@ -7944,7 +7916,6 @@ export type ThreadDetailOperationsListThreadMessagesData = {
7944
7916
  };
7945
7917
  url: '/threads/{threadId}/messages';
7946
7918
  };
7947
-
7948
7919
  export type ThreadDetailOperationsListThreadMessagesErrors = {
7949
7920
  /**
7950
7921
  * The request carried no usable credential. `code` is `unauthorized`.
@@ -7955,14 +7926,11 @@ export type ThreadDetailOperationsListThreadMessagesErrors = {
7955
7926
  */
7956
7927
  404: ApiError;
7957
7928
  };
7958
-
7959
7929
  export type ThreadDetailOperationsListThreadMessagesError = ThreadDetailOperationsListThreadMessagesErrors[keyof ThreadDetailOperationsListThreadMessagesErrors];
7960
-
7961
7930
  export type ThreadDetailOperationsListThreadMessagesResponses = {
7962
7931
  /**
7963
7932
  * The request has succeeded.
7964
7933
  */
7965
7934
  200: RemitImapThreadMessageListResponse;
7966
7935
  };
7967
-
7968
7936
  export type ThreadDetailOperationsListThreadMessagesResponse = ThreadDetailOperationsListThreadMessagesResponses[keyof ThreadDetailOperationsListThreadMessagesResponses];