@remit/api-openapi-types 0.0.105 → 0.0.107

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 +39 -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.107",
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.
@@ -2943,6 +2967,14 @@ standing to persist.
2943
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.
2944
2968
  */
2945
2969
  sourceMailboxId: string;
2970
+ /**
2971
+ * Snapshot of the lower bound of the message date facet, inclusive: an ISO 8601 date-time with zone offset, or `"None"` for no lower bound.
2972
+ */
2973
+ sentAfter: string;
2974
+ /**
2975
+ * Snapshot of the upper bound of the message date facet, exclusive: an ISO 8601 date-time with zone offset, or `"None"` for no upper bound.
2976
+ */
2977
+ sentBefore: string;
2946
2978
  /**
2947
2979
  * Number of messages matched by the predicate, set when the pass completes
2948
2980
  */
@@ -8390,10 +8422,13 @@ declare namespace Paths {
8390
8422
  subject?: string;
8391
8423
  accountId?: Components.Schemas.UUID;
8392
8424
  mailboxId?: Components.Schemas.UUID;
8425
+ labelId?: Components.Schemas.UUID;
8393
8426
  muted?: boolean;
8394
8427
  category?: Components.Schemas.MessageCategory[];
8395
8428
  unread?: boolean;
8396
8429
  attachments?: boolean;
8430
+ before?: string;
8431
+ after?: string;
8397
8432
  count?: boolean;
8398
8433
  results?: boolean;
8399
8434
  }
@@ -11269,7 +11304,7 @@ export interface Operations {
11269
11304
  };
11270
11305
  'UnifiedThreadOperations_listAllThreads': {
11271
11306
  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 };
11307
+ 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; before?: string; after?: string; count?: boolean; results?: boolean };
11273
11308
  headers: {};
11274
11309
  cookies: {};
11275
11310
  requestBody: undefined;
@@ -11588,6 +11623,8 @@ export type CreateFilterResponse = Components.Schemas.CreateFilterResponse;
11588
11623
  export type UpdateFilterInput = Components.Schemas.UpdateFilterInput;
11589
11624
  export type Label = Components.Schemas.Label;
11590
11625
  export type LabelResponse = Components.Schemas.LabelResponse;
11626
+ export type LabelFolderPresent = Components.Schemas.LabelFolderPresent;
11627
+ export type LabelFolderMissing = Components.Schemas.LabelFolderMissing;
11591
11628
  export type CreateLabelInput = Components.Schemas.CreateLabelInput;
11592
11629
  export type UpdateLabelInput = Components.Schemas.UpdateLabelInput;
11593
11630
  export type OrganizeInput = Components.Schemas.OrganizeInput;
@@ -11781,6 +11818,7 @@ export type FilterRuleHeader = Components.Schemas.FilterRuleHeader;
11781
11818
  export type FilterRuleAddressPart = Components.Schemas.FilterRuleAddressPart;
11782
11819
  export type ClassificationLabel = Components.Schemas.ClassificationLabel;
11783
11820
  export type LabelColor = Components.Schemas.LabelColor;
11821
+ export type LabelFolderState = Components.Schemas.LabelFolderState;
11784
11822
  export type OrganizeJobState = Components.Schemas.OrganizeJobState;
11785
11823
  export type CalendarColor = Components.Schemas.CalendarColor;
11786
11824
  export type CalendarComponentSet = Components.Schemas.CalendarComponentSet;