@remit/api-openapi-types 0.0.105 → 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 +29 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@remit/api-openapi-types",
3
- "version": "0.0.105",
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.
@@ -8390,6 +8414,7 @@ declare namespace Paths {
8390
8414
  subject?: string;
8391
8415
  accountId?: Components.Schemas.UUID;
8392
8416
  mailboxId?: Components.Schemas.UUID;
8417
+ labelId?: Components.Schemas.UUID;
8393
8418
  muted?: boolean;
8394
8419
  category?: Components.Schemas.MessageCategory[];
8395
8420
  unread?: boolean;
@@ -11269,7 +11294,7 @@ export interface Operations {
11269
11294
  };
11270
11295
  'UnifiedThreadOperations_listAllThreads': {
11271
11296
  params: {};
11272
- 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 };
11273
11298
  headers: {};
11274
11299
  cookies: {};
11275
11300
  requestBody: undefined;
@@ -11588,6 +11613,8 @@ export type CreateFilterResponse = Components.Schemas.CreateFilterResponse;
11588
11613
  export type UpdateFilterInput = Components.Schemas.UpdateFilterInput;
11589
11614
  export type Label = Components.Schemas.Label;
11590
11615
  export type LabelResponse = Components.Schemas.LabelResponse;
11616
+ export type LabelFolderPresent = Components.Schemas.LabelFolderPresent;
11617
+ export type LabelFolderMissing = Components.Schemas.LabelFolderMissing;
11591
11618
  export type CreateLabelInput = Components.Schemas.CreateLabelInput;
11592
11619
  export type UpdateLabelInput = Components.Schemas.UpdateLabelInput;
11593
11620
  export type OrganizeInput = Components.Schemas.OrganizeInput;
@@ -11781,6 +11808,7 @@ export type FilterRuleHeader = Components.Schemas.FilterRuleHeader;
11781
11808
  export type FilterRuleAddressPart = Components.Schemas.FilterRuleAddressPart;
11782
11809
  export type ClassificationLabel = Components.Schemas.ClassificationLabel;
11783
11810
  export type LabelColor = Components.Schemas.LabelColor;
11811
+ export type LabelFolderState = Components.Schemas.LabelFolderState;
11784
11812
  export type OrganizeJobState = Components.Schemas.OrganizeJobState;
11785
11813
  export type CalendarColor = Components.Schemas.CalendarColor;
11786
11814
  export type CalendarComponentSet = Components.Schemas.CalendarComponentSet;