@remit/api-openapi-types 0.0.33 → 0.0.34
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 +19 -2
package/package.json
CHANGED
package/types.d.ts
CHANGED
|
@@ -69,6 +69,10 @@ writer can reach is a vocabulary that lies about what the field means.
|
|
|
69
69
|
* Phase of the initial account sync lifecycle
|
|
70
70
|
*/
|
|
71
71
|
export type SyncPhase = "idle" | "discovering_mailboxes" | "syncing_inbox" | "syncing_others" | "complete" | "error";
|
|
72
|
+
/**
|
|
73
|
+
* 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.
|
|
74
|
+
*/
|
|
75
|
+
export type FolderAppointmentSource = "Appointed" | "Flagged" | "Reserved" | "Proposed" | "Stale" | "None";
|
|
72
76
|
/**
|
|
73
77
|
* 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).
|
|
74
78
|
*/
|
|
@@ -244,7 +248,7 @@ distinguishable from a network failure without parsing prose.
|
|
|
244
248
|
/**
|
|
245
249
|
* Known user-setting keys. Each maps, in the registry, to a required value kind and a zod schema. New keys are added deliberately by extending this enum and the registry — never as an ad-hoc column.
|
|
246
250
|
*/
|
|
247
|
-
export type AccountSettingName = "Theme" | "Density" | "DefaultComposerFormat" | "PinnedFolders" | "AccountSignaturePlainText" | "AccountSignatureHtml" | "AccountDisplayName" | "AccountMuted" | "AccountComposeLanguages" | "MailboxDisplayName" | "MailboxMuted" | "FolderRoleAppointment" | "MailboxRole";
|
|
251
|
+
export type AccountSettingName = "Theme" | "Density" | "DefaultComposerFormat" | "PinnedFolders" | "AccountSignaturePlainText" | "AccountSignatureHtml" | "AccountDisplayName" | "AccountMuted" | "AccountComposeLanguages" | "MailboxDisplayName" | "MailboxMuted" | "FolderRoleAppointment" | "FolderRoleAppointmentLabel" | "MailboxRole";
|
|
248
252
|
/**
|
|
249
253
|
* Explicit state engine for a pending placement-move marker (issue #1271, epic #1281). Recovery keys off this field, not control-flow inference: a redelivered/retried call drives a marker forward from whichever state it is actually in, rather than re-deriving intent by comparing the message's current location.
|
|
250
254
|
*/
|
|
@@ -1171,9 +1175,21 @@ never from a raw content-type line — parameters carry `name=` and
|
|
|
1171
1175
|
*/
|
|
1172
1176
|
role: CanonicalMailboxRole;
|
|
1173
1177
|
/**
|
|
1174
|
-
*
|
|
1178
|
+
* Where `mailboxId` came from. Read this rather than inferring provenance from the shape of the entry: only `Appointed` means a person decided, and only `Appointed` and `Flagged` are evidence strong enough to destroy mail with.
|
|
1179
|
+
*/
|
|
1180
|
+
source: FolderAppointmentSource;
|
|
1181
|
+
/**
|
|
1182
|
+
* The mailbox this role resolves to. Absent when resolution names none — `source: None`, or a `Stale` appointment with nothing to fall back to.
|
|
1175
1183
|
*/
|
|
1176
1184
|
mailboxId?: UUID;
|
|
1185
|
+
/**
|
|
1186
|
+
* The mailbox the user appointed, when the account no longer holds it. Present exactly when `source` is `Stale`; the appointment is kept rather than collected, so the user can repair it instead of silently losing the choice.
|
|
1187
|
+
*/
|
|
1188
|
+
staleAppointmentMailboxId?: UUID;
|
|
1189
|
+
/**
|
|
1190
|
+
* The path that stale mailbox last had, recorded beside the appointment when it was made. Display only — resolution never reads it — and present only alongside `staleAppointmentMailboxId`, and only for an appointment made after the path was first recorded.
|
|
1191
|
+
*/
|
|
1192
|
+
staleAppointmentPath?: String512;
|
|
1177
1193
|
}
|
|
1178
1194
|
/**
|
|
1179
1195
|
* 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).
|
|
@@ -6537,6 +6553,7 @@ export type AccountConfigState = Components.Schemas.AccountConfigState;
|
|
|
6537
6553
|
export type AccountAuthType = Components.Schemas.AccountAuthType;
|
|
6538
6554
|
export type ConnectionState = Components.Schemas.ConnectionState;
|
|
6539
6555
|
export type SyncPhase = Components.Schemas.SyncPhase;
|
|
6556
|
+
export type FolderAppointmentSource = Components.Schemas.FolderAppointmentSource;
|
|
6540
6557
|
export type SystemUpdateCheckStatus = Components.Schemas.SystemUpdateCheckStatus;
|
|
6541
6558
|
export type SystemUpdatePhase = Components.Schemas.SystemUpdatePhase;
|
|
6542
6559
|
export type SystemUpdateOutcome = Components.Schemas.SystemUpdateOutcome;
|