@remit/api-http-client 0.0.79 → 0.0.81
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/@tanstack/react-query.gen.d.ts +149 -1
- package/dist/@tanstack/react-query.gen.js +209 -1
- package/dist/index.d.ts +2 -2
- package/dist/index.js +1 -1
- package/dist/sdk.gen.d.ts +53 -1
- package/dist/sdk.gen.js +132 -0
- package/dist/types.gen.d.ts +915 -37
- package/package.json +1 -1
package/dist/types.gen.d.ts
CHANGED
|
@@ -586,14 +586,68 @@ export type RemitImapBulkUpdateFlagsInput = {
|
|
|
586
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.
|
|
587
587
|
*/
|
|
588
588
|
export type RemitImapCalendarAnswerOvertaken = 'None' | 'Cancellation';
|
|
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';
|
|
589
637
|
/**
|
|
590
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).
|
|
591
639
|
*/
|
|
592
640
|
export type RemitImapCalendarColor = 'Cal1' | 'Cal2' | 'Cal3' | 'Cal4' | 'Cal5' | 'Cal6';
|
|
593
641
|
/**
|
|
594
|
-
* Which iCalendar components a collection accepts (RFC 4791 supported-calendar-component-set).
|
|
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.
|
|
643
|
+
*/
|
|
644
|
+
export type RemitImapCalendarComponentSet = 'VeventOnly' | 'VtodoOnly';
|
|
645
|
+
/**
|
|
646
|
+
* What deleting an event sent: one cancellation per guest when the reader organizes it, nothing otherwise.
|
|
595
647
|
*/
|
|
596
|
-
export type
|
|
648
|
+
export type RemitImapCalendarEventDeleteResponse = {
|
|
649
|
+
sends: Array<RemitImapCalendarSchedulingSend>;
|
|
650
|
+
};
|
|
597
651
|
/**
|
|
598
652
|
* One occurrence of an event, in the window the caller asked for (issue #15).
|
|
599
653
|
*
|
|
@@ -654,6 +708,10 @@ export type RemitImapCalendarEventInstance = {
|
|
|
654
708
|
* Whether the resource this occurrence came from expands to more than one instance. A client showing the recurrence-scope prompt gates on this.
|
|
655
709
|
*/
|
|
656
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;
|
|
657
715
|
};
|
|
658
716
|
/**
|
|
659
717
|
* Expanded occurrences in the requested window, in start order.
|
|
@@ -666,7 +724,9 @@ export type RemitImapCalendarEventListResponse = {
|
|
|
666
724
|
items: Array<RemitImapCalendarEventInstance>;
|
|
667
725
|
};
|
|
668
726
|
/**
|
|
669
|
-
* A stored calendar resource — the bytes behind one event, plus the columns
|
|
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.
|
|
670
730
|
*/
|
|
671
731
|
export type RemitImapCalendarEventResponse = {
|
|
672
732
|
/**
|
|
@@ -739,6 +799,23 @@ export type RemitImapCalendarEventResponse = {
|
|
|
739
799
|
expandedThrough: String64;
|
|
740
800
|
readonly createdAt: number;
|
|
741
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>;
|
|
742
819
|
};
|
|
743
820
|
/**
|
|
744
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.
|
|
@@ -809,9 +886,9 @@ export type RemitImapCalendarFreeBusySpan = {
|
|
|
809
886
|
end: String64;
|
|
810
887
|
};
|
|
811
888
|
/**
|
|
812
|
-
* The answer
|
|
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).
|
|
813
890
|
*/
|
|
814
|
-
export type RemitImapCalendarInviteAnswer = 'Accepted' | 'Tentative';
|
|
891
|
+
export type RemitImapCalendarInviteAnswer = 'Accepted' | 'Tentative' | 'Declined';
|
|
815
892
|
/**
|
|
816
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.
|
|
817
894
|
*/
|
|
@@ -822,6 +899,10 @@ export type RemitImapCalendarInviteMethod = 'Request' | 'Reply' | 'Cancel' | 'Co
|
|
|
822
899
|
export type RemitImapCalendarListResponse = {
|
|
823
900
|
items: Array<RemitImapCalendarResponse>;
|
|
824
901
|
};
|
|
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';
|
|
825
906
|
/**
|
|
826
907
|
* A calendar collection as the API returns it.
|
|
827
908
|
*/
|
|
@@ -885,6 +966,21 @@ export type RemitImapCalendarResponse = {
|
|
|
885
966
|
readonly createdAt: number;
|
|
886
967
|
readonly updatedAt: number;
|
|
887
968
|
};
|
|
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
|
+
};
|
|
888
984
|
/**
|
|
889
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.
|
|
890
986
|
*/
|
|
@@ -988,6 +1084,67 @@ export type RemitImapCalendarSuggestionSource = 'IcalendarPart' | 'IcalendarAtta
|
|
|
988
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`.
|
|
989
1085
|
*/
|
|
990
1086
|
export type RemitImapCalendarSuggestionState = 'Pending' | 'Accepted' | 'Declined' | 'Tentative' | 'Dismissed' | 'Superseded';
|
|
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
|
+
};
|
|
991
1148
|
/**
|
|
992
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.
|
|
993
1150
|
*/
|
|
@@ -1261,6 +1418,14 @@ export type RemitImapCreateCalendarEventInput = {
|
|
|
1261
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.
|
|
1262
1419
|
*/
|
|
1263
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;
|
|
1264
1429
|
};
|
|
1265
1430
|
/**
|
|
1266
1431
|
* Input for creating a calendar collection (issue #15).
|
|
@@ -1294,6 +1459,35 @@ export type RemitImapCreateCalendarInput = {
|
|
|
1294
1459
|
*/
|
|
1295
1460
|
subscriptionUrl?: String2048;
|
|
1296
1461
|
};
|
|
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
|
+
};
|
|
1297
1491
|
/**
|
|
1298
1492
|
* Response body for POST /me/export
|
|
1299
1493
|
*/
|
|
@@ -1486,6 +1680,12 @@ export type RemitImapCreateOutboxMessageInput = {
|
|
|
1486
1680
|
*/
|
|
1487
1681
|
sendImmediately?: boolean;
|
|
1488
1682
|
};
|
|
1683
|
+
/**
|
|
1684
|
+
* Issue a password reset link for the person. Their old password stops working and their sessions are revoked.
|
|
1685
|
+
*/
|
|
1686
|
+
export type RemitImapCreatePasswordResetInput = {
|
|
1687
|
+
stepUpToken: string;
|
|
1688
|
+
};
|
|
1489
1689
|
/**
|
|
1490
1690
|
* Response for DELETE /me (account erasure request)
|
|
1491
1691
|
*/
|
|
@@ -2529,6 +2729,20 @@ export type RemitImapOutboxMessageResponse = {
|
|
|
2529
2729
|
* Status of an outbox message in the send queue
|
|
2530
2730
|
*/
|
|
2531
2731
|
export type RemitImapOutboxMessageStatus = 'draft' | 'queued' | 'sending' | 'sent' | 'unfiled' | 'failed' | 'blocked';
|
|
2732
|
+
/**
|
|
2733
|
+
* The person, and the reset link to hand them. The link is shown once and works once.
|
|
2734
|
+
*/
|
|
2735
|
+
export type RemitImapPasswordResetResponse = {
|
|
2736
|
+
person: RemitImapPerson;
|
|
2737
|
+
/**
|
|
2738
|
+
* The single-use reset link. It exists only in this response.
|
|
2739
|
+
*/
|
|
2740
|
+
resetUrl: string;
|
|
2741
|
+
/**
|
|
2742
|
+
* When the link stops working, epoch milliseconds: issue time plus 24 hours.
|
|
2743
|
+
*/
|
|
2744
|
+
expiresAt: number;
|
|
2745
|
+
};
|
|
2532
2746
|
/**
|
|
2533
2747
|
* An import that is still waiting for IMAP discovery to produce the folders its
|
|
2534
2748
|
* file named. The folder appointed to a role, a folder's own display name or
|
|
@@ -2546,6 +2760,49 @@ export type RemitImapPendingConfigImport = {
|
|
|
2546
2760
|
*/
|
|
2547
2761
|
folderPaths: Array<string>;
|
|
2548
2762
|
};
|
|
2763
|
+
/**
|
|
2764
|
+
* Everyone who signs in to this instance, ordered by email.
|
|
2765
|
+
*/
|
|
2766
|
+
export type RemitImapPeopleListResponse = {
|
|
2767
|
+
people: Array<RemitImapPerson>;
|
|
2768
|
+
};
|
|
2769
|
+
/**
|
|
2770
|
+
* One person who signs in to this self-hosted instance.
|
|
2771
|
+
*/
|
|
2772
|
+
export type RemitImapPerson = {
|
|
2773
|
+
/**
|
|
2774
|
+
* The person's user id.
|
|
2775
|
+
*/
|
|
2776
|
+
userId: string;
|
|
2777
|
+
/**
|
|
2778
|
+
* The address the person signs in with.
|
|
2779
|
+
*/
|
|
2780
|
+
email: string;
|
|
2781
|
+
/**
|
|
2782
|
+
* When the account was created, epoch milliseconds.
|
|
2783
|
+
*/
|
|
2784
|
+
createdAt: number;
|
|
2785
|
+
/**
|
|
2786
|
+
* When the person last signed in, epoch milliseconds.
|
|
2787
|
+
*/
|
|
2788
|
+
lastSignInAt: number;
|
|
2789
|
+
/**
|
|
2790
|
+
* Unexpired browser sessions the person holds.
|
|
2791
|
+
*/
|
|
2792
|
+
sessionCount: number;
|
|
2793
|
+
/**
|
|
2794
|
+
* Whether the person may sign in.
|
|
2795
|
+
*/
|
|
2796
|
+
status: RemitImapPersonStatus;
|
|
2797
|
+
/**
|
|
2798
|
+
* Whether this row is the caller.
|
|
2799
|
+
*/
|
|
2800
|
+
isCaller: boolean;
|
|
2801
|
+
};
|
|
2802
|
+
/**
|
|
2803
|
+
* Whether a person may sign in. A disabled person's sessions, MCP grants and calendar feeds are revoked, and every sign-in is refused.
|
|
2804
|
+
*/
|
|
2805
|
+
export type RemitImapPersonStatus = 'Active' | 'Disabled';
|
|
2549
2806
|
/**
|
|
2550
2807
|
* 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.
|
|
2551
2808
|
*/
|
|
@@ -2756,6 +3013,12 @@ export type RemitImapRenameMailboxInput = {
|
|
|
2756
3013
|
* Trust level for the From address, derived at read time from AddressFlags + counters.
|
|
2757
3014
|
*/
|
|
2758
3015
|
export type RemitImapSenderTrust = 'unknown' | 'wellknown' | 'vip';
|
|
3016
|
+
/**
|
|
3017
|
+
* Sign the person out of every browser session and MCP connection.
|
|
3018
|
+
*/
|
|
3019
|
+
export type RemitImapSignOutPersonInput = {
|
|
3020
|
+
stepUpToken: string;
|
|
3021
|
+
};
|
|
2759
3022
|
/**
|
|
2760
3023
|
* Sort order for list operations
|
|
2761
3024
|
*/
|
|
@@ -2794,6 +3057,34 @@ export type RemitImapSpamReportFailure = {
|
|
|
2794
3057
|
* Gmail-style star colors for message/thread marking
|
|
2795
3058
|
*/
|
|
2796
3059
|
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';
|
|
3060
|
+
/**
|
|
3061
|
+
* The operation a step-up token is spent on. `updatePerson` maps `Disabled` to `Disable` and `Active` to `Enable`.
|
|
3062
|
+
*/
|
|
3063
|
+
export type RemitImapStepUpAction = 'SignOut' | 'Disable' | 'Enable' | 'ResetPassword';
|
|
3064
|
+
/**
|
|
3065
|
+
* The caller's current password, and the one action on one person the token will allow.
|
|
3066
|
+
*/
|
|
3067
|
+
export type RemitImapStepUpInput = {
|
|
3068
|
+
/**
|
|
3069
|
+
* The caller's own current password.
|
|
3070
|
+
*/
|
|
3071
|
+
password: string;
|
|
3072
|
+
action: RemitImapStepUpAction;
|
|
3073
|
+
/**
|
|
3074
|
+
* The person the token will act on.
|
|
3075
|
+
*/
|
|
3076
|
+
userId: string;
|
|
3077
|
+
};
|
|
3078
|
+
/**
|
|
3079
|
+
* A single-use token for one action on one person. Spend it at once; it is never stored by the client.
|
|
3080
|
+
*/
|
|
3081
|
+
export type RemitImapStepUpResponse = {
|
|
3082
|
+
stepUpToken: string;
|
|
3083
|
+
/**
|
|
3084
|
+
* When the token stops working, epoch milliseconds.
|
|
3085
|
+
*/
|
|
3086
|
+
expiresAt: number;
|
|
3087
|
+
};
|
|
2797
3088
|
/**
|
|
2798
3089
|
* Phase of the initial account sync lifecycle
|
|
2799
3090
|
*/
|
|
@@ -3377,6 +3668,18 @@ export type RemitImapUpdateCalendarEventInput = {
|
|
|
3377
3668
|
* 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.
|
|
3378
3669
|
*/
|
|
3379
3670
|
recurrenceRule?: String512;
|
|
3671
|
+
/**
|
|
3672
|
+
* 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.
|
|
3673
|
+
*/
|
|
3674
|
+
attendees?: Array<RemitImapCalendarAttendeeInput>;
|
|
3675
|
+
/**
|
|
3676
|
+
* 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.
|
|
3677
|
+
*/
|
|
3678
|
+
organizerAccountId?: Uuid;
|
|
3679
|
+
/**
|
|
3680
|
+
* 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.
|
|
3681
|
+
*/
|
|
3682
|
+
answer?: RemitImapCalendarInviteAnswer;
|
|
3380
3683
|
};
|
|
3381
3684
|
/**
|
|
3382
3685
|
* 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.
|
|
@@ -3399,6 +3702,20 @@ export type RemitImapUpdateCalendarInput = {
|
|
|
3399
3702
|
*/
|
|
3400
3703
|
subscriptionEnabled?: boolean;
|
|
3401
3704
|
};
|
|
3705
|
+
/**
|
|
3706
|
+
* Input for updating a task. Every field is optional and absence means untouched.
|
|
3707
|
+
*/
|
|
3708
|
+
export type RemitImapUpdateCalendarTaskInput = {
|
|
3709
|
+
summary?: String512;
|
|
3710
|
+
description?: String2048;
|
|
3711
|
+
due?: String64;
|
|
3712
|
+
allDay?: boolean;
|
|
3713
|
+
timeZone?: String64;
|
|
3714
|
+
/**
|
|
3715
|
+
* Marks the task done (`STATUS:COMPLETED`) or not done again (`STATUS:NEEDS-ACTION`)
|
|
3716
|
+
*/
|
|
3717
|
+
completed?: boolean;
|
|
3718
|
+
};
|
|
3402
3719
|
/**
|
|
3403
3720
|
* Input for updating a filter (RFC 034, reader #266). The name, predicate,
|
|
3404
3721
|
* action, scope, and expiresAt are all updatable; `ttl` is always
|
|
@@ -3535,6 +3852,38 @@ export type RemitImapUpdateOutboxMessageInput = {
|
|
|
3535
3852
|
*/
|
|
3536
3853
|
references?: Array<string>;
|
|
3537
3854
|
};
|
|
3855
|
+
/**
|
|
3856
|
+
* Disable or enable the person. Disabling also revokes their sessions, MCP grants and calendar feeds.
|
|
3857
|
+
*/
|
|
3858
|
+
export type RemitImapUpdatePersonInput = {
|
|
3859
|
+
status: RemitImapPersonStatus;
|
|
3860
|
+
stepUpToken: string;
|
|
3861
|
+
};
|
|
3862
|
+
/**
|
|
3863
|
+
* A change to the caller's settings. Every field is optional and absence means untouched.
|
|
3864
|
+
*/
|
|
3865
|
+
export type RemitImapUpdateUserSettingsInput = {
|
|
3866
|
+
/**
|
|
3867
|
+
* 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`.
|
|
3868
|
+
*/
|
|
3869
|
+
defaultInvitationSenderAccountId?: Uuid;
|
|
3870
|
+
};
|
|
3871
|
+
/**
|
|
3872
|
+
* The caller's own settings: choices that belong to the person rather than to
|
|
3873
|
+
* one mail account. Each field is stored as an `AccountSetting` row of the
|
|
3874
|
+
* account config and read back here, so a setting added later is one more
|
|
3875
|
+
* field on this resource rather than one more operation.
|
|
3876
|
+
*/
|
|
3877
|
+
export type RemitImapUserSettingsResponse = {
|
|
3878
|
+
/**
|
|
3879
|
+
* 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.
|
|
3880
|
+
*/
|
|
3881
|
+
defaultInvitationSenderAccountId?: Uuid;
|
|
3882
|
+
/**
|
|
3883
|
+
* Whether `defaultInvitationSenderAccountId` is the reader's own choice rather than the account an event is on.
|
|
3884
|
+
*/
|
|
3885
|
+
defaultInvitationSenderChosen: boolean;
|
|
3886
|
+
};
|
|
3538
3887
|
/**
|
|
3539
3888
|
* Sender is VIP: priority surface and push escalation
|
|
3540
3889
|
*/
|
|
@@ -3717,6 +4066,30 @@ export type RemitImapBodyPartResponseWritable = {
|
|
|
3717
4066
|
*/
|
|
3718
4067
|
contentUrl: string;
|
|
3719
4068
|
};
|
|
4069
|
+
/**
|
|
4070
|
+
* A stored calendar resource — the bytes behind one event, plus the columns
|
|
4071
|
+
* projected from them. `icalData` is canonical; every other field is derived
|
|
4072
|
+
* from it on write or on this read.
|
|
4073
|
+
*/
|
|
4074
|
+
export type RemitImapCalendarEventResponseWritable = {
|
|
4075
|
+
/**
|
|
4076
|
+
* Where the reader stands on the event's master
|
|
4077
|
+
*/
|
|
4078
|
+
participation: RemitImapCalendarParticipation;
|
|
4079
|
+
/**
|
|
4080
|
+
* Mail address of the ORGANIZER, lower-cased. `""` when the event names none.
|
|
4081
|
+
*/
|
|
4082
|
+
organizer: String512;
|
|
4083
|
+
/**
|
|
4084
|
+
* Everyone on the guest list, organizer first. Empty when the event has no guests.
|
|
4085
|
+
*/
|
|
4086
|
+
attendees: Array<RemitImapCalendarAttendee>;
|
|
4087
|
+
attendeeCounts: RemitImapCalendarAttendeeCounts;
|
|
4088
|
+
/**
|
|
4089
|
+
* 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.
|
|
4090
|
+
*/
|
|
4091
|
+
sends: Array<RemitImapCalendarSchedulingSend>;
|
|
4092
|
+
};
|
|
3720
4093
|
/**
|
|
3721
4094
|
* 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.
|
|
3722
4095
|
*/
|
|
@@ -3757,6 +4130,12 @@ export type RemitImapCalendarSuggestionResponseWritable = {
|
|
|
3757
4130
|
*/
|
|
3758
4131
|
answerOvertakenBy: RemitImapCalendarAnswerOvertaken;
|
|
3759
4132
|
};
|
|
4133
|
+
/**
|
|
4134
|
+
* Tasks due in the requested window, in due order. Unpaginated: the window is the bound.
|
|
4135
|
+
*/
|
|
4136
|
+
export type RemitImapCalendarTaskListResponseWritable = {
|
|
4137
|
+
items: Array<unknown>;
|
|
4138
|
+
};
|
|
3760
4139
|
/**
|
|
3761
4140
|
* Full configuration description including accounts
|
|
3762
4141
|
*/
|
|
@@ -5414,9 +5793,9 @@ export type CalendarEventDetailOperationsDeleteCalendarEventErrors = {
|
|
|
5414
5793
|
export type CalendarEventDetailOperationsDeleteCalendarEventError = CalendarEventDetailOperationsDeleteCalendarEventErrors[keyof CalendarEventDetailOperationsDeleteCalendarEventErrors];
|
|
5415
5794
|
export type CalendarEventDetailOperationsDeleteCalendarEventResponses = {
|
|
5416
5795
|
/**
|
|
5417
|
-
*
|
|
5796
|
+
* What deleting an event sent: one cancellation per guest when the reader organizes it, nothing otherwise.
|
|
5418
5797
|
*/
|
|
5419
|
-
|
|
5798
|
+
200: RemitImapCalendarEventDeleteResponse;
|
|
5420
5799
|
};
|
|
5421
5800
|
export type CalendarEventDetailOperationsDeleteCalendarEventResponse = CalendarEventDetailOperationsDeleteCalendarEventResponses[keyof CalendarEventDetailOperationsDeleteCalendarEventResponses];
|
|
5422
5801
|
export type CalendarEventDetailOperationsGetCalendarEventData = {
|
|
@@ -5830,33 +6209,26 @@ export type CalendarSuggestionActionOperationsReopenCalendarSuggestionResponses
|
|
|
5830
6209
|
200: RemitImapCalendarSuggestionResponse;
|
|
5831
6210
|
};
|
|
5832
6211
|
export type CalendarSuggestionActionOperationsReopenCalendarSuggestionResponse = CalendarSuggestionActionOperationsReopenCalendarSuggestionResponses[keyof CalendarSuggestionActionOperationsReopenCalendarSuggestionResponses];
|
|
5833
|
-
export type
|
|
6212
|
+
export type CalendarTaskOperationsListCalendarTasksData = {
|
|
5834
6213
|
body?: never;
|
|
5835
6214
|
path?: never;
|
|
5836
|
-
query
|
|
5837
|
-
|
|
5838
|
-
|
|
5839
|
-
|
|
5840
|
-
|
|
5841
|
-
|
|
5842
|
-
|
|
5843
|
-
|
|
5844
|
-
|
|
5845
|
-
|
|
5846
|
-
|
|
5847
|
-
|
|
5848
|
-
|
|
5849
|
-
|
|
5850
|
-
|
|
5851
|
-
};
|
|
5852
|
-
export type CalendarOperationsListCalendarsResponse = CalendarOperationsListCalendarsResponses[keyof CalendarOperationsListCalendarsResponses];
|
|
5853
|
-
export type CalendarOperationsCreateCalendarData = {
|
|
5854
|
-
body: RemitImapCreateCalendarInput;
|
|
5855
|
-
path?: never;
|
|
5856
|
-
query?: never;
|
|
5857
|
-
url: '/calendars';
|
|
6215
|
+
query: {
|
|
6216
|
+
/**
|
|
6217
|
+
* Start of the window, an ISO 8601 date-time with zone offset. Inclusive.
|
|
6218
|
+
*/
|
|
6219
|
+
from: string;
|
|
6220
|
+
/**
|
|
6221
|
+
* End of the window, an ISO 8601 date-time with zone offset. Exclusive.
|
|
6222
|
+
*/
|
|
6223
|
+
to: string;
|
|
6224
|
+
/**
|
|
6225
|
+
* Restrict to these task collections, repeated once per calendar. Omitted means every one the caller holds.
|
|
6226
|
+
*/
|
|
6227
|
+
calendarId?: Array<Uuid>;
|
|
6228
|
+
};
|
|
6229
|
+
url: '/calendar-tasks';
|
|
5858
6230
|
};
|
|
5859
|
-
export type
|
|
6231
|
+
export type CalendarTaskOperationsListCalendarTasksErrors = {
|
|
5860
6232
|
/**
|
|
5861
6233
|
* The request was refused as malformed or contradictory. `code` is
|
|
5862
6234
|
* `invalid_request` where nothing more specific is known, and the refusal's own
|
|
@@ -5882,17 +6254,263 @@ export type CalendarOperationsCreateCalendarErrors = {
|
|
|
5882
6254
|
* The request carried no usable credential. `code` is `unauthorized`.
|
|
5883
6255
|
*/
|
|
5884
6256
|
401: ApiError;
|
|
6257
|
+
/**
|
|
6258
|
+
* Nothing answers to this address, or the caller may not learn that something does. `code` is `not_found`.
|
|
6259
|
+
*/
|
|
6260
|
+
404: ApiError;
|
|
5885
6261
|
};
|
|
5886
|
-
export type
|
|
5887
|
-
export type
|
|
6262
|
+
export type CalendarTaskOperationsListCalendarTasksError = CalendarTaskOperationsListCalendarTasksErrors[keyof CalendarTaskOperationsListCalendarTasksErrors];
|
|
6263
|
+
export type CalendarTaskOperationsListCalendarTasksResponses = {
|
|
5888
6264
|
/**
|
|
5889
6265
|
* The request has succeeded.
|
|
5890
6266
|
*/
|
|
5891
|
-
200:
|
|
6267
|
+
200: RemitImapCalendarTaskListResponse;
|
|
5892
6268
|
};
|
|
5893
|
-
export type
|
|
5894
|
-
export type
|
|
5895
|
-
body
|
|
6269
|
+
export type CalendarTaskOperationsListCalendarTasksResponse = CalendarTaskOperationsListCalendarTasksResponses[keyof CalendarTaskOperationsListCalendarTasksResponses];
|
|
6270
|
+
export type CalendarTaskOperationsCreateCalendarTaskData = {
|
|
6271
|
+
body: RemitImapCreateCalendarTaskInput;
|
|
6272
|
+
path?: never;
|
|
6273
|
+
query?: never;
|
|
6274
|
+
url: '/calendar-tasks';
|
|
6275
|
+
};
|
|
6276
|
+
export type CalendarTaskOperationsCreateCalendarTaskErrors = {
|
|
6277
|
+
/**
|
|
6278
|
+
* The request was refused as malformed or contradictory. `code` is
|
|
6279
|
+
* `invalid_request` where nothing more specific is known, and the refusal's own
|
|
6280
|
+
* token where there is one.
|
|
6281
|
+
*
|
|
6282
|
+
* The calendar surface answers with the reason it read the request by:
|
|
6283
|
+
* `invalid_window`, `invalid_scope`, `invalid_url_segment`, `url_segment_taken`,
|
|
6284
|
+
* `unknown_time_zone` and `default_calendar_undeletable` on the collection and
|
|
6285
|
+
* the query, and, for a VCALENDAR it could not accept,
|
|
6286
|
+
* `malformed_icalendar`, `not_a_calendar`, `unsupported_component`, `no_event`,
|
|
6287
|
+
* `no_master_event`, `multiple_master_events`, `missing_uid`, `mismatched_uid`,
|
|
6288
|
+
* `missing_dt_start`, `backwards_end`, `invalid_date_time`,
|
|
6289
|
+
* `invalid_recurrence_rule`, `missing_recurrence_id`, `not_recurring`,
|
|
6290
|
+
* `unknown_occurrence` and `unmovable_recurrence_rule`. The outbox answers `mail_sync_off` to a
|
|
6291
|
+
* send from an account whose `syncedServices` leave out `Mail`, with the
|
|
6292
|
+
* account in `details.accountId`.
|
|
6293
|
+
*
|
|
6294
|
+
* `errors` is present only when the request failed schema validation before any
|
|
6295
|
+
* handler ran, and names every field that was refused.
|
|
6296
|
+
*/
|
|
6297
|
+
400: ValidationError;
|
|
6298
|
+
/**
|
|
6299
|
+
* The request carried no usable credential. `code` is `unauthorized`.
|
|
6300
|
+
*/
|
|
6301
|
+
401: ApiError;
|
|
6302
|
+
/**
|
|
6303
|
+
* Nothing answers to this address, or the caller may not learn that something does. `code` is `not_found`.
|
|
6304
|
+
*/
|
|
6305
|
+
404: ApiError;
|
|
6306
|
+
};
|
|
6307
|
+
export type CalendarTaskOperationsCreateCalendarTaskError = CalendarTaskOperationsCreateCalendarTaskErrors[keyof CalendarTaskOperationsCreateCalendarTaskErrors];
|
|
6308
|
+
export type CalendarTaskOperationsCreateCalendarTaskResponses = {
|
|
6309
|
+
/**
|
|
6310
|
+
* The request has succeeded.
|
|
6311
|
+
*/
|
|
6312
|
+
200: RemitImapCalendarTaskResponse;
|
|
6313
|
+
};
|
|
6314
|
+
export type CalendarTaskOperationsCreateCalendarTaskResponse = CalendarTaskOperationsCreateCalendarTaskResponses[keyof CalendarTaskOperationsCreateCalendarTaskResponses];
|
|
6315
|
+
export type CalendarTaskDetailOperationsDeleteCalendarTaskData = {
|
|
6316
|
+
body?: never;
|
|
6317
|
+
headers?: {
|
|
6318
|
+
'If-Match'?: string;
|
|
6319
|
+
};
|
|
6320
|
+
path: {
|
|
6321
|
+
calendarTaskId: Uuid;
|
|
6322
|
+
};
|
|
6323
|
+
query: {
|
|
6324
|
+
/**
|
|
6325
|
+
* Collection the task lives in
|
|
6326
|
+
*/
|
|
6327
|
+
calendarId: Uuid;
|
|
6328
|
+
};
|
|
6329
|
+
url: '/calendar-tasks/{calendarTaskId}';
|
|
6330
|
+
};
|
|
6331
|
+
export type CalendarTaskDetailOperationsDeleteCalendarTaskErrors = {
|
|
6332
|
+
/**
|
|
6333
|
+
* The request carried no usable credential. `code` is `unauthorized`.
|
|
6334
|
+
*/
|
|
6335
|
+
401: ApiError;
|
|
6336
|
+
/**
|
|
6337
|
+
* Nothing answers to this address, or the caller may not learn that something does. `code` is `not_found`.
|
|
6338
|
+
*/
|
|
6339
|
+
404: ApiError;
|
|
6340
|
+
/**
|
|
6341
|
+
* The condition the request stated is no longer true. Answered when an
|
|
6342
|
+
* `If-Match` names an etag the stored resource no longer carries: somebody else
|
|
6343
|
+
* wrote it in between, so applying this request would silently discard their
|
|
6344
|
+
* change. The client re-reads the resource and decides what to do with the
|
|
6345
|
+
* version it now has. `code` is `precondition_failed`.
|
|
6346
|
+
*/
|
|
6347
|
+
412: ApiError;
|
|
6348
|
+
};
|
|
6349
|
+
export type CalendarTaskDetailOperationsDeleteCalendarTaskError = CalendarTaskDetailOperationsDeleteCalendarTaskErrors[keyof CalendarTaskDetailOperationsDeleteCalendarTaskErrors];
|
|
6350
|
+
export type CalendarTaskDetailOperationsDeleteCalendarTaskResponses = {
|
|
6351
|
+
/**
|
|
6352
|
+
* Nothing to return. The resource, or the occurrence, is gone.
|
|
6353
|
+
*/
|
|
6354
|
+
204: void;
|
|
6355
|
+
};
|
|
6356
|
+
export type CalendarTaskDetailOperationsDeleteCalendarTaskResponse = CalendarTaskDetailOperationsDeleteCalendarTaskResponses[keyof CalendarTaskDetailOperationsDeleteCalendarTaskResponses];
|
|
6357
|
+
export type CalendarTaskDetailOperationsGetCalendarTaskData = {
|
|
6358
|
+
body?: never;
|
|
6359
|
+
path: {
|
|
6360
|
+
calendarTaskId: Uuid;
|
|
6361
|
+
};
|
|
6362
|
+
query?: {
|
|
6363
|
+
/**
|
|
6364
|
+
* Collection the task lives in. Omitted, it is looked for in every task collection the caller holds.
|
|
6365
|
+
*/
|
|
6366
|
+
calendarId?: Uuid;
|
|
6367
|
+
};
|
|
6368
|
+
url: '/calendar-tasks/{calendarTaskId}';
|
|
6369
|
+
};
|
|
6370
|
+
export type CalendarTaskDetailOperationsGetCalendarTaskErrors = {
|
|
6371
|
+
/**
|
|
6372
|
+
* The request carried no usable credential. `code` is `unauthorized`.
|
|
6373
|
+
*/
|
|
6374
|
+
401: ApiError;
|
|
6375
|
+
/**
|
|
6376
|
+
* Nothing answers to this address, or the caller may not learn that something does. `code` is `not_found`.
|
|
6377
|
+
*/
|
|
6378
|
+
404: ApiError;
|
|
6379
|
+
};
|
|
6380
|
+
export type CalendarTaskDetailOperationsGetCalendarTaskError = CalendarTaskDetailOperationsGetCalendarTaskErrors[keyof CalendarTaskDetailOperationsGetCalendarTaskErrors];
|
|
6381
|
+
export type CalendarTaskDetailOperationsGetCalendarTaskResponses = {
|
|
6382
|
+
/**
|
|
6383
|
+
* The request has succeeded.
|
|
6384
|
+
*/
|
|
6385
|
+
200: RemitImapCalendarTaskResponse;
|
|
6386
|
+
};
|
|
6387
|
+
export type CalendarTaskDetailOperationsGetCalendarTaskResponse = CalendarTaskDetailOperationsGetCalendarTaskResponses[keyof CalendarTaskDetailOperationsGetCalendarTaskResponses];
|
|
6388
|
+
export type CalendarTaskDetailOperationsUpdateCalendarTaskData = {
|
|
6389
|
+
body: RemitImapUpdateCalendarTaskInput;
|
|
6390
|
+
headers?: {
|
|
6391
|
+
'If-Match'?: string;
|
|
6392
|
+
};
|
|
6393
|
+
path: {
|
|
6394
|
+
calendarTaskId: Uuid;
|
|
6395
|
+
};
|
|
6396
|
+
query: {
|
|
6397
|
+
/**
|
|
6398
|
+
* Collection the task lives in
|
|
6399
|
+
*/
|
|
6400
|
+
calendarId: Uuid;
|
|
6401
|
+
};
|
|
6402
|
+
url: '/calendar-tasks/{calendarTaskId}';
|
|
6403
|
+
};
|
|
6404
|
+
export type CalendarTaskDetailOperationsUpdateCalendarTaskErrors = {
|
|
6405
|
+
/**
|
|
6406
|
+
* The request was refused as malformed or contradictory. `code` is
|
|
6407
|
+
* `invalid_request` where nothing more specific is known, and the refusal's own
|
|
6408
|
+
* token where there is one.
|
|
6409
|
+
*
|
|
6410
|
+
* The calendar surface answers with the reason it read the request by:
|
|
6411
|
+
* `invalid_window`, `invalid_scope`, `invalid_url_segment`, `url_segment_taken`,
|
|
6412
|
+
* `unknown_time_zone` and `default_calendar_undeletable` on the collection and
|
|
6413
|
+
* the query, and, for a VCALENDAR it could not accept,
|
|
6414
|
+
* `malformed_icalendar`, `not_a_calendar`, `unsupported_component`, `no_event`,
|
|
6415
|
+
* `no_master_event`, `multiple_master_events`, `missing_uid`, `mismatched_uid`,
|
|
6416
|
+
* `missing_dt_start`, `backwards_end`, `invalid_date_time`,
|
|
6417
|
+
* `invalid_recurrence_rule`, `missing_recurrence_id`, `not_recurring`,
|
|
6418
|
+
* `unknown_occurrence` and `unmovable_recurrence_rule`. The outbox answers `mail_sync_off` to a
|
|
6419
|
+
* send from an account whose `syncedServices` leave out `Mail`, with the
|
|
6420
|
+
* account in `details.accountId`.
|
|
6421
|
+
*
|
|
6422
|
+
* `errors` is present only when the request failed schema validation before any
|
|
6423
|
+
* handler ran, and names every field that was refused.
|
|
6424
|
+
*/
|
|
6425
|
+
400: ValidationError;
|
|
6426
|
+
/**
|
|
6427
|
+
* The request carried no usable credential. `code` is `unauthorized`.
|
|
6428
|
+
*/
|
|
6429
|
+
401: ApiError;
|
|
6430
|
+
/**
|
|
6431
|
+
* Nothing answers to this address, or the caller may not learn that something does. `code` is `not_found`.
|
|
6432
|
+
*/
|
|
6433
|
+
404: ApiError;
|
|
6434
|
+
/**
|
|
6435
|
+
* The condition the request stated is no longer true. Answered when an
|
|
6436
|
+
* `If-Match` names an etag the stored resource no longer carries: somebody else
|
|
6437
|
+
* wrote it in between, so applying this request would silently discard their
|
|
6438
|
+
* change. The client re-reads the resource and decides what to do with the
|
|
6439
|
+
* version it now has. `code` is `precondition_failed`.
|
|
6440
|
+
*/
|
|
6441
|
+
412: ApiError;
|
|
6442
|
+
};
|
|
6443
|
+
export type CalendarTaskDetailOperationsUpdateCalendarTaskError = CalendarTaskDetailOperationsUpdateCalendarTaskErrors[keyof CalendarTaskDetailOperationsUpdateCalendarTaskErrors];
|
|
6444
|
+
export type CalendarTaskDetailOperationsUpdateCalendarTaskResponses = {
|
|
6445
|
+
/**
|
|
6446
|
+
* The request has succeeded.
|
|
6447
|
+
*/
|
|
6448
|
+
200: RemitImapCalendarTaskResponse;
|
|
6449
|
+
};
|
|
6450
|
+
export type CalendarTaskDetailOperationsUpdateCalendarTaskResponse = CalendarTaskDetailOperationsUpdateCalendarTaskResponses[keyof CalendarTaskDetailOperationsUpdateCalendarTaskResponses];
|
|
6451
|
+
export type CalendarOperationsListCalendarsData = {
|
|
6452
|
+
body?: never;
|
|
6453
|
+
path?: never;
|
|
6454
|
+
query?: never;
|
|
6455
|
+
url: '/calendars';
|
|
6456
|
+
};
|
|
6457
|
+
export type CalendarOperationsListCalendarsErrors = {
|
|
6458
|
+
/**
|
|
6459
|
+
* The request carried no usable credential. `code` is `unauthorized`.
|
|
6460
|
+
*/
|
|
6461
|
+
401: ApiError;
|
|
6462
|
+
};
|
|
6463
|
+
export type CalendarOperationsListCalendarsError = CalendarOperationsListCalendarsErrors[keyof CalendarOperationsListCalendarsErrors];
|
|
6464
|
+
export type CalendarOperationsListCalendarsResponses = {
|
|
6465
|
+
/**
|
|
6466
|
+
* The request has succeeded.
|
|
6467
|
+
*/
|
|
6468
|
+
200: RemitImapCalendarListResponse;
|
|
6469
|
+
};
|
|
6470
|
+
export type CalendarOperationsListCalendarsResponse = CalendarOperationsListCalendarsResponses[keyof CalendarOperationsListCalendarsResponses];
|
|
6471
|
+
export type CalendarOperationsCreateCalendarData = {
|
|
6472
|
+
body: RemitImapCreateCalendarInput;
|
|
6473
|
+
path?: never;
|
|
6474
|
+
query?: never;
|
|
6475
|
+
url: '/calendars';
|
|
6476
|
+
};
|
|
6477
|
+
export type CalendarOperationsCreateCalendarErrors = {
|
|
6478
|
+
/**
|
|
6479
|
+
* The request was refused as malformed or contradictory. `code` is
|
|
6480
|
+
* `invalid_request` where nothing more specific is known, and the refusal's own
|
|
6481
|
+
* token where there is one.
|
|
6482
|
+
*
|
|
6483
|
+
* The calendar surface answers with the reason it read the request by:
|
|
6484
|
+
* `invalid_window`, `invalid_scope`, `invalid_url_segment`, `url_segment_taken`,
|
|
6485
|
+
* `unknown_time_zone` and `default_calendar_undeletable` on the collection and
|
|
6486
|
+
* the query, and, for a VCALENDAR it could not accept,
|
|
6487
|
+
* `malformed_icalendar`, `not_a_calendar`, `unsupported_component`, `no_event`,
|
|
6488
|
+
* `no_master_event`, `multiple_master_events`, `missing_uid`, `mismatched_uid`,
|
|
6489
|
+
* `missing_dt_start`, `backwards_end`, `invalid_date_time`,
|
|
6490
|
+
* `invalid_recurrence_rule`, `missing_recurrence_id`, `not_recurring`,
|
|
6491
|
+
* `unknown_occurrence` and `unmovable_recurrence_rule`. The outbox answers `mail_sync_off` to a
|
|
6492
|
+
* send from an account whose `syncedServices` leave out `Mail`, with the
|
|
6493
|
+
* account in `details.accountId`.
|
|
6494
|
+
*
|
|
6495
|
+
* `errors` is present only when the request failed schema validation before any
|
|
6496
|
+
* handler ran, and names every field that was refused.
|
|
6497
|
+
*/
|
|
6498
|
+
400: ValidationError;
|
|
6499
|
+
/**
|
|
6500
|
+
* The request carried no usable credential. `code` is `unauthorized`.
|
|
6501
|
+
*/
|
|
6502
|
+
401: ApiError;
|
|
6503
|
+
};
|
|
6504
|
+
export type CalendarOperationsCreateCalendarError = CalendarOperationsCreateCalendarErrors[keyof CalendarOperationsCreateCalendarErrors];
|
|
6505
|
+
export type CalendarOperationsCreateCalendarResponses = {
|
|
6506
|
+
/**
|
|
6507
|
+
* The request has succeeded.
|
|
6508
|
+
*/
|
|
6509
|
+
200: RemitImapCalendarResponse;
|
|
6510
|
+
};
|
|
6511
|
+
export type CalendarOperationsCreateCalendarResponse = CalendarOperationsCreateCalendarResponses[keyof CalendarOperationsCreateCalendarResponses];
|
|
6512
|
+
export type CalendarDetailOperationsDeleteCalendarData = {
|
|
6513
|
+
body?: never;
|
|
5896
6514
|
path: {
|
|
5897
6515
|
calendarId: Uuid;
|
|
5898
6516
|
};
|
|
@@ -7158,6 +7776,266 @@ export type OutboxDetailOperationsSendOutboxMessageResponses = {
|
|
|
7158
7776
|
200: RemitImapOutboxMessageResponse;
|
|
7159
7777
|
};
|
|
7160
7778
|
export type OutboxDetailOperationsSendOutboxMessageResponse = OutboxDetailOperationsSendOutboxMessageResponses[keyof OutboxDetailOperationsSendOutboxMessageResponses];
|
|
7779
|
+
export type PeopleOperationsListPeopleData = {
|
|
7780
|
+
body?: never;
|
|
7781
|
+
path?: never;
|
|
7782
|
+
query?: never;
|
|
7783
|
+
url: '/people';
|
|
7784
|
+
};
|
|
7785
|
+
export type PeopleOperationsListPeopleErrors = {
|
|
7786
|
+
/**
|
|
7787
|
+
* The request carried no usable credential. `code` is `unauthorized`.
|
|
7788
|
+
*/
|
|
7789
|
+
401: ApiError;
|
|
7790
|
+
/**
|
|
7791
|
+
* The People operation is refused for the caller. `code` is one of
|
|
7792
|
+
* `sign_in_disabled` (the kill switch is on), `caller_disabled` (the caller's
|
|
7793
|
+
* account is disabled or gone), `foreign_origin` (an unsafe request from an
|
|
7794
|
+
* origin this instance does not serve), `step_up_required` (the step-up token
|
|
7795
|
+
* is missing, spent, expired, or bound to another caller, action or person) and
|
|
7796
|
+
* `wrong_password` (the step-up password is wrong).
|
|
7797
|
+
*/
|
|
7798
|
+
403: ApiError;
|
|
7799
|
+
/**
|
|
7800
|
+
* Nothing answers to this address, or the caller may not learn that something does. `code` is `not_found`.
|
|
7801
|
+
*/
|
|
7802
|
+
404: ApiError;
|
|
7803
|
+
};
|
|
7804
|
+
export type PeopleOperationsListPeopleError = PeopleOperationsListPeopleErrors[keyof PeopleOperationsListPeopleErrors];
|
|
7805
|
+
export type PeopleOperationsListPeopleResponses = {
|
|
7806
|
+
/**
|
|
7807
|
+
* The request has succeeded.
|
|
7808
|
+
*/
|
|
7809
|
+
200: RemitImapPeopleListResponse;
|
|
7810
|
+
};
|
|
7811
|
+
export type PeopleOperationsListPeopleResponse = PeopleOperationsListPeopleResponses[keyof PeopleOperationsListPeopleResponses];
|
|
7812
|
+
export type PeopleOperationsCreateStepUpData = {
|
|
7813
|
+
body: RemitImapStepUpInput;
|
|
7814
|
+
path?: never;
|
|
7815
|
+
query?: never;
|
|
7816
|
+
url: '/people/step-up';
|
|
7817
|
+
};
|
|
7818
|
+
export type PeopleOperationsCreateStepUpErrors = {
|
|
7819
|
+
/**
|
|
7820
|
+
* The request carried no usable credential. `code` is `unauthorized`.
|
|
7821
|
+
*/
|
|
7822
|
+
401: ApiError;
|
|
7823
|
+
/**
|
|
7824
|
+
* The People operation is refused for the caller. `code` is one of
|
|
7825
|
+
* `sign_in_disabled` (the kill switch is on), `caller_disabled` (the caller's
|
|
7826
|
+
* account is disabled or gone), `foreign_origin` (an unsafe request from an
|
|
7827
|
+
* origin this instance does not serve), `step_up_required` (the step-up token
|
|
7828
|
+
* is missing, spent, expired, or bound to another caller, action or person) and
|
|
7829
|
+
* `wrong_password` (the step-up password is wrong).
|
|
7830
|
+
*/
|
|
7831
|
+
403: ApiError;
|
|
7832
|
+
/**
|
|
7833
|
+
* Nothing answers to this address, or the caller may not learn that something does. `code` is `not_found`.
|
|
7834
|
+
*/
|
|
7835
|
+
404: ApiError;
|
|
7836
|
+
/**
|
|
7837
|
+
* Five wrong step-up passwords in 15 minutes. `code` is `step_up_locked`.
|
|
7838
|
+
*/
|
|
7839
|
+
429: ApiError;
|
|
7840
|
+
};
|
|
7841
|
+
export type PeopleOperationsCreateStepUpError = PeopleOperationsCreateStepUpErrors[keyof PeopleOperationsCreateStepUpErrors];
|
|
7842
|
+
export type PeopleOperationsCreateStepUpResponses = {
|
|
7843
|
+
/**
|
|
7844
|
+
* The request has succeeded.
|
|
7845
|
+
*/
|
|
7846
|
+
200: RemitImapStepUpResponse;
|
|
7847
|
+
};
|
|
7848
|
+
export type PeopleOperationsCreateStepUpResponse = PeopleOperationsCreateStepUpResponses[keyof PeopleOperationsCreateStepUpResponses];
|
|
7849
|
+
export type PeopleOperationsUpdatePersonData = {
|
|
7850
|
+
body: RemitImapUpdatePersonInput;
|
|
7851
|
+
path: {
|
|
7852
|
+
userId: string;
|
|
7853
|
+
};
|
|
7854
|
+
query?: never;
|
|
7855
|
+
url: '/people/{userId}';
|
|
7856
|
+
};
|
|
7857
|
+
export type PeopleOperationsUpdatePersonErrors = {
|
|
7858
|
+
/**
|
|
7859
|
+
* The request carried no usable credential. `code` is `unauthorized`.
|
|
7860
|
+
*/
|
|
7861
|
+
401: ApiError;
|
|
7862
|
+
/**
|
|
7863
|
+
* The People operation is refused for the caller. `code` is one of
|
|
7864
|
+
* `sign_in_disabled` (the kill switch is on), `caller_disabled` (the caller's
|
|
7865
|
+
* account is disabled or gone), `foreign_origin` (an unsafe request from an
|
|
7866
|
+
* origin this instance does not serve), `step_up_required` (the step-up token
|
|
7867
|
+
* is missing, spent, expired, or bound to another caller, action or person) and
|
|
7868
|
+
* `wrong_password` (the step-up password is wrong).
|
|
7869
|
+
*/
|
|
7870
|
+
403: ApiError;
|
|
7871
|
+
/**
|
|
7872
|
+
* Nothing answers to this address, or the caller may not learn that something does. `code` is `not_found`.
|
|
7873
|
+
*/
|
|
7874
|
+
404: ApiError;
|
|
7875
|
+
/**
|
|
7876
|
+
* A person cannot disable themselves. `code` is `cannot_disable_self`.
|
|
7877
|
+
*/
|
|
7878
|
+
409: ApiError;
|
|
7879
|
+
};
|
|
7880
|
+
export type PeopleOperationsUpdatePersonError = PeopleOperationsUpdatePersonErrors[keyof PeopleOperationsUpdatePersonErrors];
|
|
7881
|
+
export type PeopleOperationsUpdatePersonResponses = {
|
|
7882
|
+
/**
|
|
7883
|
+
* The request has succeeded.
|
|
7884
|
+
*/
|
|
7885
|
+
200: RemitImapPerson;
|
|
7886
|
+
};
|
|
7887
|
+
export type PeopleOperationsUpdatePersonResponse = PeopleOperationsUpdatePersonResponses[keyof PeopleOperationsUpdatePersonResponses];
|
|
7888
|
+
export type PeopleOperationsCreatePasswordResetData = {
|
|
7889
|
+
body: RemitImapCreatePasswordResetInput;
|
|
7890
|
+
path: {
|
|
7891
|
+
userId: string;
|
|
7892
|
+
};
|
|
7893
|
+
query?: never;
|
|
7894
|
+
url: '/people/{userId}/password-reset';
|
|
7895
|
+
};
|
|
7896
|
+
export type PeopleOperationsCreatePasswordResetErrors = {
|
|
7897
|
+
/**
|
|
7898
|
+
* The request carried no usable credential. `code` is `unauthorized`.
|
|
7899
|
+
*/
|
|
7900
|
+
401: ApiError;
|
|
7901
|
+
/**
|
|
7902
|
+
* The People operation is refused for the caller. `code` is one of
|
|
7903
|
+
* `sign_in_disabled` (the kill switch is on), `caller_disabled` (the caller's
|
|
7904
|
+
* account is disabled or gone), `foreign_origin` (an unsafe request from an
|
|
7905
|
+
* origin this instance does not serve), `step_up_required` (the step-up token
|
|
7906
|
+
* is missing, spent, expired, or bound to another caller, action or person) and
|
|
7907
|
+
* `wrong_password` (the step-up password is wrong).
|
|
7908
|
+
*/
|
|
7909
|
+
403: ApiError;
|
|
7910
|
+
/**
|
|
7911
|
+
* Nothing answers to this address, or the caller may not learn that something does. `code` is `not_found`.
|
|
7912
|
+
*/
|
|
7913
|
+
404: ApiError;
|
|
7914
|
+
};
|
|
7915
|
+
export type PeopleOperationsCreatePasswordResetError = PeopleOperationsCreatePasswordResetErrors[keyof PeopleOperationsCreatePasswordResetErrors];
|
|
7916
|
+
export type PeopleOperationsCreatePasswordResetResponses = {
|
|
7917
|
+
/**
|
|
7918
|
+
* The request has succeeded.
|
|
7919
|
+
*/
|
|
7920
|
+
200: RemitImapPasswordResetResponse;
|
|
7921
|
+
};
|
|
7922
|
+
export type PeopleOperationsCreatePasswordResetResponse = PeopleOperationsCreatePasswordResetResponses[keyof PeopleOperationsCreatePasswordResetResponses];
|
|
7923
|
+
export type PeopleOperationsSignOutPersonData = {
|
|
7924
|
+
body: RemitImapSignOutPersonInput;
|
|
7925
|
+
path: {
|
|
7926
|
+
userId: string;
|
|
7927
|
+
};
|
|
7928
|
+
query?: never;
|
|
7929
|
+
url: '/people/{userId}/sign-out';
|
|
7930
|
+
};
|
|
7931
|
+
export type PeopleOperationsSignOutPersonErrors = {
|
|
7932
|
+
/**
|
|
7933
|
+
* The request carried no usable credential. `code` is `unauthorized`.
|
|
7934
|
+
*/
|
|
7935
|
+
401: ApiError;
|
|
7936
|
+
/**
|
|
7937
|
+
* The People operation is refused for the caller. `code` is one of
|
|
7938
|
+
* `sign_in_disabled` (the kill switch is on), `caller_disabled` (the caller's
|
|
7939
|
+
* account is disabled or gone), `foreign_origin` (an unsafe request from an
|
|
7940
|
+
* origin this instance does not serve), `step_up_required` (the step-up token
|
|
7941
|
+
* is missing, spent, expired, or bound to another caller, action or person) and
|
|
7942
|
+
* `wrong_password` (the step-up password is wrong).
|
|
7943
|
+
*/
|
|
7944
|
+
403: ApiError;
|
|
7945
|
+
/**
|
|
7946
|
+
* Nothing answers to this address, or the caller may not learn that something does. `code` is `not_found`.
|
|
7947
|
+
*/
|
|
7948
|
+
404: ApiError;
|
|
7949
|
+
};
|
|
7950
|
+
export type PeopleOperationsSignOutPersonError = PeopleOperationsSignOutPersonErrors[keyof PeopleOperationsSignOutPersonErrors];
|
|
7951
|
+
export type PeopleOperationsSignOutPersonResponses = {
|
|
7952
|
+
/**
|
|
7953
|
+
* The request has succeeded.
|
|
7954
|
+
*/
|
|
7955
|
+
200: RemitImapPerson;
|
|
7956
|
+
};
|
|
7957
|
+
export type PeopleOperationsSignOutPersonResponse = PeopleOperationsSignOutPersonResponses[keyof PeopleOperationsSignOutPersonResponses];
|
|
7958
|
+
export type UserSettingsOperationsGetUserSettingsData = {
|
|
7959
|
+
body?: never;
|
|
7960
|
+
path?: never;
|
|
7961
|
+
query?: never;
|
|
7962
|
+
url: '/settings';
|
|
7963
|
+
};
|
|
7964
|
+
export type UserSettingsOperationsGetUserSettingsErrors = {
|
|
7965
|
+
/**
|
|
7966
|
+
* The request carried no usable credential. `code` is `unauthorized`.
|
|
7967
|
+
*/
|
|
7968
|
+
401: ApiError;
|
|
7969
|
+
};
|
|
7970
|
+
export type UserSettingsOperationsGetUserSettingsError = UserSettingsOperationsGetUserSettingsErrors[keyof UserSettingsOperationsGetUserSettingsErrors];
|
|
7971
|
+
export type UserSettingsOperationsGetUserSettingsResponses = {
|
|
7972
|
+
/**
|
|
7973
|
+
* The request has succeeded.
|
|
7974
|
+
*/
|
|
7975
|
+
200: RemitImapUserSettingsResponse;
|
|
7976
|
+
};
|
|
7977
|
+
export type UserSettingsOperationsGetUserSettingsResponse = UserSettingsOperationsGetUserSettingsResponses[keyof UserSettingsOperationsGetUserSettingsResponses];
|
|
7978
|
+
export type UserSettingsOperationsUpdateUserSettingsData = {
|
|
7979
|
+
body: RemitImapUpdateUserSettingsInput;
|
|
7980
|
+
path?: never;
|
|
7981
|
+
query?: never;
|
|
7982
|
+
url: '/settings';
|
|
7983
|
+
};
|
|
7984
|
+
export type UserSettingsOperationsUpdateUserSettingsErrors = {
|
|
7985
|
+
/**
|
|
7986
|
+
* The request was refused as malformed or contradictory. `code` is
|
|
7987
|
+
* `invalid_request` where nothing more specific is known, and the refusal's own
|
|
7988
|
+
* token where there is one.
|
|
7989
|
+
*
|
|
7990
|
+
* The calendar surface answers with the reason it read the request by:
|
|
7991
|
+
* `invalid_window`, `invalid_scope`, `invalid_url_segment`, `url_segment_taken`,
|
|
7992
|
+
* `unknown_time_zone` and `default_calendar_undeletable` on the collection and
|
|
7993
|
+
* the query, and, for a VCALENDAR it could not accept,
|
|
7994
|
+
* `malformed_icalendar`, `not_a_calendar`, `unsupported_component`, `no_event`,
|
|
7995
|
+
* `no_master_event`, `multiple_master_events`, `missing_uid`, `mismatched_uid`,
|
|
7996
|
+
* `missing_dt_start`, `backwards_end`, `invalid_date_time`,
|
|
7997
|
+
* `invalid_recurrence_rule`, `missing_recurrence_id`, `not_recurring`,
|
|
7998
|
+
* `unknown_occurrence` and `unmovable_recurrence_rule`. The outbox answers `mail_sync_off` to a
|
|
7999
|
+
* send from an account whose `syncedServices` leave out `Mail`, with the
|
|
8000
|
+
* account in `details.accountId`.
|
|
8001
|
+
*
|
|
8002
|
+
* `errors` is present only when the request failed schema validation before any
|
|
8003
|
+
* handler ran, and names every field that was refused.
|
|
8004
|
+
*/
|
|
8005
|
+
400: ValidationError;
|
|
8006
|
+
/**
|
|
8007
|
+
* The request carried no usable credential. `code` is `unauthorized`.
|
|
8008
|
+
*/
|
|
8009
|
+
401: ApiError;
|
|
8010
|
+
};
|
|
8011
|
+
export type UserSettingsOperationsUpdateUserSettingsError = UserSettingsOperationsUpdateUserSettingsErrors[keyof UserSettingsOperationsUpdateUserSettingsErrors];
|
|
8012
|
+
export type UserSettingsOperationsUpdateUserSettingsResponses = {
|
|
8013
|
+
/**
|
|
8014
|
+
* The request has succeeded.
|
|
8015
|
+
*/
|
|
8016
|
+
200: RemitImapUserSettingsResponse;
|
|
8017
|
+
};
|
|
8018
|
+
export type UserSettingsOperationsUpdateUserSettingsResponse = UserSettingsOperationsUpdateUserSettingsResponses[keyof UserSettingsOperationsUpdateUserSettingsResponses];
|
|
8019
|
+
export type UserSettingsOperationsClearDefaultInvitationSenderData = {
|
|
8020
|
+
body?: never;
|
|
8021
|
+
path?: never;
|
|
8022
|
+
query?: never;
|
|
8023
|
+
url: '/settings/default-invitation-sender';
|
|
8024
|
+
};
|
|
8025
|
+
export type UserSettingsOperationsClearDefaultInvitationSenderErrors = {
|
|
8026
|
+
/**
|
|
8027
|
+
* The request carried no usable credential. `code` is `unauthorized`.
|
|
8028
|
+
*/
|
|
8029
|
+
401: ApiError;
|
|
8030
|
+
};
|
|
8031
|
+
export type UserSettingsOperationsClearDefaultInvitationSenderError = UserSettingsOperationsClearDefaultInvitationSenderErrors[keyof UserSettingsOperationsClearDefaultInvitationSenderErrors];
|
|
8032
|
+
export type UserSettingsOperationsClearDefaultInvitationSenderResponses = {
|
|
8033
|
+
/**
|
|
8034
|
+
* The request has succeeded.
|
|
8035
|
+
*/
|
|
8036
|
+
200: RemitImapUserSettingsResponse;
|
|
8037
|
+
};
|
|
8038
|
+
export type UserSettingsOperationsClearDefaultInvitationSenderResponse = UserSettingsOperationsClearDefaultInvitationSenderResponses[keyof UserSettingsOperationsClearDefaultInvitationSenderResponses];
|
|
7161
8039
|
export type SystemOperationsGetSystemUpdateData = {
|
|
7162
8040
|
body?: never;
|
|
7163
8041
|
path?: never;
|