@remit/api-openapi-types 0.0.3 → 0.0.5
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 +8 -5
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
|
*/
|
|
@@ -3983,7 +3983,6 @@ declare namespace Paths {
|
|
|
3983
3983
|
}
|
|
3984
3984
|
export interface QueryParameters {
|
|
3985
3985
|
order?: Components.Schemas.SortOrder;
|
|
3986
|
-
mailboxId?: Components.Schemas.UUID;
|
|
3987
3986
|
}
|
|
3988
3987
|
namespace Responses {
|
|
3989
3988
|
export type $200 = void;
|
|
@@ -4393,7 +4392,9 @@ export interface OperationMethods {
|
|
|
4393
4392
|
config?: AxiosRequestConfig
|
|
4394
4393
|
): OperationResponse<Paths.DeleteAccount.Responses.$200>;
|
|
4395
4394
|
/**
|
|
4396
|
-
* listThreadMessages - Get all messages in a thread
|
|
4395
|
+
* listThreadMessages - Get all messages in a thread, across every mailbox of the account — a conversation spans INBOX, Sent, Archive and any folder the user filed a message in, so it is never scoped to one mailbox. Soft-deleted messages (including anything moved to Trash) are excluded.
|
|
4396
|
+
|
|
4397
|
+
One entry per piece of mail. A message synced from several folders is stored once, and where a second row exists for the same Message-ID — a copy taken with `copyMessages`, which gives its copy a fresh message id — the oldest is returned and the rest are dropped.
|
|
4397
4398
|
*/
|
|
4398
4399
|
'listThreadMessages'(
|
|
4399
4400
|
parameters?: Parameters<Paths.ListThreadMessages.PathParameters & Paths.ListThreadMessages.QueryParameters> | null,
|
|
@@ -4831,7 +4832,9 @@ export interface PathsDictionary {
|
|
|
4831
4832
|
};
|
|
4832
4833
|
['/threads/{threadId}/messages']: {
|
|
4833
4834
|
/**
|
|
4834
|
-
* listThreadMessages - Get all messages in a thread
|
|
4835
|
+
* listThreadMessages - Get all messages in a thread, across every mailbox of the account — a conversation spans INBOX, Sent, Archive and any folder the user filed a message in, so it is never scoped to one mailbox. Soft-deleted messages (including anything moved to Trash) are excluded.
|
|
4836
|
+
|
|
4837
|
+
One entry per piece of mail. A message synced from several folders is stored once, and where a second row exists for the same Message-ID — a copy taken with `copyMessages`, which gives its copy a fresh message id — the oldest is returned and the rest are dropped.
|
|
4835
4838
|
*/
|
|
4836
4839
|
'get'(
|
|
4837
4840
|
parameters?: Parameters<Paths.ListThreadMessages.PathParameters & Paths.ListThreadMessages.QueryParameters> | null,
|