@remit/api-openapi-types 0.0.104 → 0.0.106

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 (2) hide show
  1. package/package.json +1 -1
  2. package/types.d.ts +33 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@remit/api-openapi-types",
3
- "version": "0.0.104",
3
+ "version": "0.0.106",
4
4
  "type": "module",
5
5
  "main": "types.d.ts",
6
6
  "types": "types.d.ts",
package/types.d.ts CHANGED
@@ -173,6 +173,10 @@ current enum emitter anyway, so the wire contract uses the bare form.
173
173
  * Display color for a user-defined Label (RFC 030).
174
174
  */
175
175
  export type LabelColor = "Default" | "Red" | "Orange" | "Yellow" | "Green" | "Teal" | "Blue" | "Purple" | "Gray";
176
+ /**
177
+ * Whether a label's folder exists in one mail account.
178
+ */
179
+ export type LabelFolderState = "Present" | "Pending" | "Missing";
176
180
  /**
177
181
  * 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.
178
182
  */
@@ -2806,6 +2810,26 @@ untouched.
2806
2810
  * Number of the account's filters whose `actionLabelId` is this label. Deleting the label deletes every one of them (issue #26) — a client shows this count in its delete confirmation.
2807
2811
  */
2808
2812
  filterCount: number;
2813
+ /**
2814
+ * The label's folder in every mail account of the config, one entry per account.
2815
+ */
2816
+ folders: (LabelFolderPresent | LabelFolderMissing)[];
2817
+ }
2818
+ /**
2819
+ * A label's folder in one mail account, as `Present` (synced) or `Pending` (the mail server has not confirmed it yet).
2820
+ */
2821
+ export interface LabelFolderPresent {
2822
+ accountId: UUID;
2823
+ state: any | any;
2824
+ mailboxId: UUID;
2825
+ fullPath: String512;
2826
+ }
2827
+ /**
2828
+ * A mail account that holds no folder for the label.
2829
+ */
2830
+ export interface LabelFolderMissing {
2831
+ accountId: UUID;
2832
+ state: any;
2809
2833
  }
2810
2834
  /**
2811
2835
  * Input for creating a label (RFC 030). `normalizedName` is server-derived from `name` and excluded by its Read-only visibility.
@@ -2939,6 +2963,10 @@ standing to persist.
2939
2963
  * Snapshot of the exclusive move action, or `"None"`
2940
2964
  */
2941
2965
  actionMailboxId: string;
2966
+ /**
2967
+ * Snapshot of the one folder the pass runs over, or `"None"` for every folder. With a folder, a rule with no tests matches every message in it.
2968
+ */
2969
+ sourceMailboxId: string;
2942
2970
  /**
2943
2971
  * Number of messages matched by the predicate, set when the pass completes
2944
2972
  */
@@ -8386,6 +8414,7 @@ declare namespace Paths {
8386
8414
  subject?: string;
8387
8415
  accountId?: Components.Schemas.UUID;
8388
8416
  mailboxId?: Components.Schemas.UUID;
8417
+ labelId?: Components.Schemas.UUID;
8389
8418
  muted?: boolean;
8390
8419
  category?: Components.Schemas.MessageCategory[];
8391
8420
  unread?: boolean;
@@ -11265,7 +11294,7 @@ export interface Operations {
11265
11294
  };
11266
11295
  'UnifiedThreadOperations_listAllThreads': {
11267
11296
  params: {};
11268
- query: { continuationToken?: string; order?: Components.Schemas.SortOrder; limit?: number; starred?: boolean; query?: string; from?: string; subject?: string; accountId?: Components.Schemas.UUID; mailboxId?: Components.Schemas.UUID; muted?: boolean; category?: Components.Schemas.MessageCategory[]; unread?: boolean; attachments?: boolean; count?: boolean; results?: boolean };
11297
+ query: { continuationToken?: string; order?: Components.Schemas.SortOrder; limit?: number; starred?: boolean; query?: string; from?: string; subject?: string; accountId?: Components.Schemas.UUID; mailboxId?: Components.Schemas.UUID; labelId?: Components.Schemas.UUID; muted?: boolean; category?: Components.Schemas.MessageCategory[]; unread?: boolean; attachments?: boolean; count?: boolean; results?: boolean };
11269
11298
  headers: {};
11270
11299
  cookies: {};
11271
11300
  requestBody: undefined;
@@ -11584,6 +11613,8 @@ export type CreateFilterResponse = Components.Schemas.CreateFilterResponse;
11584
11613
  export type UpdateFilterInput = Components.Schemas.UpdateFilterInput;
11585
11614
  export type Label = Components.Schemas.Label;
11586
11615
  export type LabelResponse = Components.Schemas.LabelResponse;
11616
+ export type LabelFolderPresent = Components.Schemas.LabelFolderPresent;
11617
+ export type LabelFolderMissing = Components.Schemas.LabelFolderMissing;
11587
11618
  export type CreateLabelInput = Components.Schemas.CreateLabelInput;
11588
11619
  export type UpdateLabelInput = Components.Schemas.UpdateLabelInput;
11589
11620
  export type OrganizeInput = Components.Schemas.OrganizeInput;
@@ -11777,6 +11808,7 @@ export type FilterRuleHeader = Components.Schemas.FilterRuleHeader;
11777
11808
  export type FilterRuleAddressPart = Components.Schemas.FilterRuleAddressPart;
11778
11809
  export type ClassificationLabel = Components.Schemas.ClassificationLabel;
11779
11810
  export type LabelColor = Components.Schemas.LabelColor;
11811
+ export type LabelFolderState = Components.Schemas.LabelFolderState;
11780
11812
  export type OrganizeJobState = Components.Schemas.OrganizeJobState;
11781
11813
  export type CalendarColor = Components.Schemas.CalendarColor;
11782
11814
  export type CalendarComponentSet = Components.Schemas.CalendarComponentSet;