@remit/api-openapi-types 0.0.2 → 0.0.4
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/package.json +1 -1
- package/types.d.ts +9 -4
package/package.json
CHANGED
package/types.d.ts
CHANGED
|
@@ -144,7 +144,7 @@ current enum emitter anyway, so the wire contract uses the bare form.
|
|
|
144
144
|
/**
|
|
145
145
|
* System message flags defined in RFC 9051 Section 2.3.2 - MUST be supported by all servers
|
|
146
146
|
*/
|
|
147
|
-
export type MessageSystemFlag = "
|
|
147
|
+
export type MessageSystemFlag = "\\Seen" | "\\Answered" | "\\Flagged" | "\\Deleted" | "\\Draft";
|
|
148
148
|
/**
|
|
149
149
|
* Common keyword flags (non-system flags) for messages - widely supported but not required
|
|
150
150
|
*/
|
|
@@ -152,7 +152,7 @@ current enum emitter anyway, so the wire contract uses the bare form.
|
|
|
152
152
|
/**
|
|
153
153
|
* Mailbox attributes per RFC 9051 Section 7.3.1
|
|
154
154
|
*/
|
|
155
|
-
export type MailboxAttribute = "
|
|
155
|
+
export type MailboxAttribute = "\\NonExistent" | "\\Noinferiors" | "\\Noselect" | "\\HasChildren" | "\\HasNoChildren" | "\\Marked" | "\\Unmarked" | "\\Subscribed" | "\\Remote";
|
|
156
156
|
/**
|
|
157
157
|
* Storage backend types for message and body part content
|
|
158
158
|
*/
|
|
@@ -3994,6 +3994,7 @@ declare namespace Paths {
|
|
|
3994
3994
|
continuationToken?: string;
|
|
3995
3995
|
order?: Components.Schemas.SortOrder;
|
|
3996
3996
|
limit?: number;
|
|
3997
|
+
starred?: boolean;
|
|
3997
3998
|
}
|
|
3998
3999
|
namespace Responses {
|
|
3999
4000
|
export type $200 = void;
|
|
@@ -4406,7 +4407,9 @@ INBOX scope: results are filtered to each account's top-level INBOX, matched by
|
|
|
4406
4407
|
|
|
4407
4408
|
Mute exclusion: muted accounts and muted mailboxes are excluded. The inbox/mute filter set is rebuilt per page from live state, so muting/unmuting a mailbox mid-pagination takes effect on the next page (never retroactively).
|
|
4408
4409
|
|
|
4409
|
-
Pagination: pass the returned `continuationToken` to fetch the next page; keep paging until it is absent.
|
|
4410
|
+
Pagination: pass the returned `continuationToken` to fetch the next page; keep paging until it is absent. In the default (INBOX) mode the INBOX/deleted filter is applied after the index read with a bounded read window per request, so a page may return FEWER than `limit` rows while still carrying a `continuationToken` — treat the presence of the token (not a full page) as the "more results" signal. No rows are skipped or duplicated across pages.
|
|
4411
|
+
|
|
4412
|
+
Starred mode (`starred=true`): served by the `byStarred` LSI4 instead. A star is a marker on the mail rather than on its placement, so the INBOX scope does not apply and a starred thread in Archive is still returned. Excluded are muted and soft-deleted rows as usual, plus the folders a star never surfaces from: Junk, Trash, and Gmail's All Mail (a second copy of everything, whose rows would otherwise double every starred message). All filtering happens in the query, so a page is short only when the results are exhausted. Rows are per mailbox: the same mail filed in two folders is two rows sharing a `threadId`, and a client rendering one row per conversation collapses by `threadId` across the pages it has accumulated.
|
|
4410
4413
|
*/
|
|
4411
4414
|
'listAllThreads'(
|
|
4412
4415
|
parameters?: Parameters<Paths.ListAllThreads.QueryParameters> | null,
|
|
@@ -4844,7 +4847,9 @@ INBOX scope: results are filtered to each account's top-level INBOX, matched by
|
|
|
4844
4847
|
|
|
4845
4848
|
Mute exclusion: muted accounts and muted mailboxes are excluded. The inbox/mute filter set is rebuilt per page from live state, so muting/unmuting a mailbox mid-pagination takes effect on the next page (never retroactively).
|
|
4846
4849
|
|
|
4847
|
-
Pagination: pass the returned `continuationToken` to fetch the next page; keep paging until it is absent.
|
|
4850
|
+
Pagination: pass the returned `continuationToken` to fetch the next page; keep paging until it is absent. In the default (INBOX) mode the INBOX/deleted filter is applied after the index read with a bounded read window per request, so a page may return FEWER than `limit` rows while still carrying a `continuationToken` — treat the presence of the token (not a full page) as the "more results" signal. No rows are skipped or duplicated across pages.
|
|
4851
|
+
|
|
4852
|
+
Starred mode (`starred=true`): served by the `byStarred` LSI4 instead. A star is a marker on the mail rather than on its placement, so the INBOX scope does not apply and a starred thread in Archive is still returned. Excluded are muted and soft-deleted rows as usual, plus the folders a star never surfaces from: Junk, Trash, and Gmail's All Mail (a second copy of everything, whose rows would otherwise double every starred message). All filtering happens in the query, so a page is short only when the results are exhausted. Rows are per mailbox: the same mail filed in two folders is two rows sharing a `threadId`, and a client rendering one row per conversation collapses by `threadId` across the pages it has accumulated.
|
|
4848
4853
|
*/
|
|
4849
4854
|
'get'(
|
|
4850
4855
|
parameters?: Parameters<Paths.ListAllThreads.QueryParameters> | null,
|