@remit/electrodb-entities 0.0.24 → 0.0.26
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/index.cjs +34 -7
- package/index.d.cts +32 -5
- package/index.d.mts +32 -5
- package/index.d.ts +32 -5
- package/index.mjs +34 -7
- package/package.json +1 -1
package/index.cjs
CHANGED
|
@@ -892,22 +892,23 @@ exports.Mailbox = {
|
|
|
892
892
|
},
|
|
893
893
|
syncStatus: {
|
|
894
894
|
type: ["synced", "pending", "failed", "deleting"],
|
|
895
|
-
required: false
|
|
896
|
-
},
|
|
897
|
-
cursorState: {
|
|
898
|
-
type: ["normal", "cursor_invalid", "rebuilding"],
|
|
899
895
|
required: true,
|
|
900
|
-
default: "
|
|
896
|
+
default: "synced"
|
|
901
897
|
},
|
|
902
|
-
|
|
898
|
+
pendingPath: {
|
|
903
899
|
type: "string",
|
|
904
900
|
required: false,
|
|
905
901
|
validate: value => {
|
|
906
902
|
if (typeof value === "string" && value.length > 512)
|
|
907
|
-
throw new Error("'
|
|
903
|
+
throw new Error("'pendingPath' must be at most 512 characters");
|
|
908
904
|
return true;
|
|
909
905
|
}
|
|
910
906
|
},
|
|
907
|
+
cursorState: {
|
|
908
|
+
type: ["normal", "cursor_invalid", "rebuilding"],
|
|
909
|
+
required: true,
|
|
910
|
+
default: "normal"
|
|
911
|
+
},
|
|
911
912
|
specialUse: {
|
|
912
913
|
type: "set",
|
|
913
914
|
items: ["All", "Archive", "Drafts", "Flagged", "Junk", "Sent", "Trash", "Important"],
|
|
@@ -2411,6 +2412,32 @@ exports.Address = {
|
|
|
2411
2412
|
},
|
|
2412
2413
|
required: false
|
|
2413
2414
|
},
|
|
2415
|
+
neverSpam: {
|
|
2416
|
+
type: "map",
|
|
2417
|
+
properties: {
|
|
2418
|
+
value: {
|
|
2419
|
+
type: "boolean",
|
|
2420
|
+
required: true
|
|
2421
|
+
},
|
|
2422
|
+
setAt: {
|
|
2423
|
+
type: "number",
|
|
2424
|
+
required: true
|
|
2425
|
+
},
|
|
2426
|
+
setBy: {
|
|
2427
|
+
type: "string",
|
|
2428
|
+
required: false
|
|
2429
|
+
},
|
|
2430
|
+
expiresAt: {
|
|
2431
|
+
type: "number",
|
|
2432
|
+
required: false
|
|
2433
|
+
},
|
|
2434
|
+
reason: {
|
|
2435
|
+
type: "string",
|
|
2436
|
+
required: false
|
|
2437
|
+
}
|
|
2438
|
+
},
|
|
2439
|
+
required: false
|
|
2440
|
+
},
|
|
2414
2441
|
muted: {
|
|
2415
2442
|
type: "map",
|
|
2416
2443
|
properties: {
|
package/index.d.cts
CHANGED
|
@@ -632,18 +632,19 @@ export declare const Mailbox: {
|
|
|
632
632
|
};
|
|
633
633
|
readonly syncStatus: {
|
|
634
634
|
readonly type: readonly ["synced", "pending", "failed", "deleting"];
|
|
635
|
+
readonly required: true;
|
|
636
|
+
readonly default: "synced";
|
|
637
|
+
};
|
|
638
|
+
readonly pendingPath: {
|
|
639
|
+
readonly type: "string";
|
|
635
640
|
readonly required: false;
|
|
641
|
+
readonly validate: (value: unknown) => boolean;
|
|
636
642
|
};
|
|
637
643
|
readonly cursorState: {
|
|
638
644
|
readonly type: readonly ["normal", "cursor_invalid", "rebuilding"];
|
|
639
645
|
readonly required: true;
|
|
640
646
|
readonly default: "normal";
|
|
641
647
|
};
|
|
642
|
-
readonly oldPath: {
|
|
643
|
-
readonly type: "string";
|
|
644
|
-
readonly required: false;
|
|
645
|
-
readonly validate: (value: unknown) => boolean;
|
|
646
|
-
};
|
|
647
648
|
readonly specialUse: {
|
|
648
649
|
readonly type: "set";
|
|
649
650
|
readonly items: readonly ["All", "Archive", "Drafts", "Flagged", "Junk", "Sent", "Trash", "Important"];
|
|
@@ -1835,6 +1836,32 @@ export declare const Address: {
|
|
|
1835
1836
|
};
|
|
1836
1837
|
readonly required: false;
|
|
1837
1838
|
};
|
|
1839
|
+
readonly neverSpam: {
|
|
1840
|
+
readonly type: "map";
|
|
1841
|
+
readonly properties: {
|
|
1842
|
+
readonly value: {
|
|
1843
|
+
readonly type: "boolean";
|
|
1844
|
+
readonly required: true;
|
|
1845
|
+
};
|
|
1846
|
+
readonly setAt: {
|
|
1847
|
+
readonly type: "number";
|
|
1848
|
+
readonly required: true;
|
|
1849
|
+
};
|
|
1850
|
+
readonly setBy: {
|
|
1851
|
+
readonly type: "string";
|
|
1852
|
+
readonly required: false;
|
|
1853
|
+
};
|
|
1854
|
+
readonly expiresAt: {
|
|
1855
|
+
readonly type: "number";
|
|
1856
|
+
readonly required: false;
|
|
1857
|
+
};
|
|
1858
|
+
readonly reason: {
|
|
1859
|
+
readonly type: "string";
|
|
1860
|
+
readonly required: false;
|
|
1861
|
+
};
|
|
1862
|
+
};
|
|
1863
|
+
readonly required: false;
|
|
1864
|
+
};
|
|
1838
1865
|
readonly muted: {
|
|
1839
1866
|
readonly type: "map";
|
|
1840
1867
|
readonly properties: {
|
package/index.d.mts
CHANGED
|
@@ -632,18 +632,19 @@ export declare const Mailbox: {
|
|
|
632
632
|
};
|
|
633
633
|
readonly syncStatus: {
|
|
634
634
|
readonly type: readonly ["synced", "pending", "failed", "deleting"];
|
|
635
|
+
readonly required: true;
|
|
636
|
+
readonly default: "synced";
|
|
637
|
+
};
|
|
638
|
+
readonly pendingPath: {
|
|
639
|
+
readonly type: "string";
|
|
635
640
|
readonly required: false;
|
|
641
|
+
readonly validate: (value: unknown) => boolean;
|
|
636
642
|
};
|
|
637
643
|
readonly cursorState: {
|
|
638
644
|
readonly type: readonly ["normal", "cursor_invalid", "rebuilding"];
|
|
639
645
|
readonly required: true;
|
|
640
646
|
readonly default: "normal";
|
|
641
647
|
};
|
|
642
|
-
readonly oldPath: {
|
|
643
|
-
readonly type: "string";
|
|
644
|
-
readonly required: false;
|
|
645
|
-
readonly validate: (value: unknown) => boolean;
|
|
646
|
-
};
|
|
647
648
|
readonly specialUse: {
|
|
648
649
|
readonly type: "set";
|
|
649
650
|
readonly items: readonly ["All", "Archive", "Drafts", "Flagged", "Junk", "Sent", "Trash", "Important"];
|
|
@@ -1835,6 +1836,32 @@ export declare const Address: {
|
|
|
1835
1836
|
};
|
|
1836
1837
|
readonly required: false;
|
|
1837
1838
|
};
|
|
1839
|
+
readonly neverSpam: {
|
|
1840
|
+
readonly type: "map";
|
|
1841
|
+
readonly properties: {
|
|
1842
|
+
readonly value: {
|
|
1843
|
+
readonly type: "boolean";
|
|
1844
|
+
readonly required: true;
|
|
1845
|
+
};
|
|
1846
|
+
readonly setAt: {
|
|
1847
|
+
readonly type: "number";
|
|
1848
|
+
readonly required: true;
|
|
1849
|
+
};
|
|
1850
|
+
readonly setBy: {
|
|
1851
|
+
readonly type: "string";
|
|
1852
|
+
readonly required: false;
|
|
1853
|
+
};
|
|
1854
|
+
readonly expiresAt: {
|
|
1855
|
+
readonly type: "number";
|
|
1856
|
+
readonly required: false;
|
|
1857
|
+
};
|
|
1858
|
+
readonly reason: {
|
|
1859
|
+
readonly type: "string";
|
|
1860
|
+
readonly required: false;
|
|
1861
|
+
};
|
|
1862
|
+
};
|
|
1863
|
+
readonly required: false;
|
|
1864
|
+
};
|
|
1838
1865
|
readonly muted: {
|
|
1839
1866
|
readonly type: "map";
|
|
1840
1867
|
readonly properties: {
|
package/index.d.ts
CHANGED
|
@@ -632,18 +632,19 @@ export declare const Mailbox: {
|
|
|
632
632
|
};
|
|
633
633
|
readonly syncStatus: {
|
|
634
634
|
readonly type: readonly ["synced", "pending", "failed", "deleting"];
|
|
635
|
+
readonly required: true;
|
|
636
|
+
readonly default: "synced";
|
|
637
|
+
};
|
|
638
|
+
readonly pendingPath: {
|
|
639
|
+
readonly type: "string";
|
|
635
640
|
readonly required: false;
|
|
641
|
+
readonly validate: (value: unknown) => boolean;
|
|
636
642
|
};
|
|
637
643
|
readonly cursorState: {
|
|
638
644
|
readonly type: readonly ["normal", "cursor_invalid", "rebuilding"];
|
|
639
645
|
readonly required: true;
|
|
640
646
|
readonly default: "normal";
|
|
641
647
|
};
|
|
642
|
-
readonly oldPath: {
|
|
643
|
-
readonly type: "string";
|
|
644
|
-
readonly required: false;
|
|
645
|
-
readonly validate: (value: unknown) => boolean;
|
|
646
|
-
};
|
|
647
648
|
readonly specialUse: {
|
|
648
649
|
readonly type: "set";
|
|
649
650
|
readonly items: readonly ["All", "Archive", "Drafts", "Flagged", "Junk", "Sent", "Trash", "Important"];
|
|
@@ -1835,6 +1836,32 @@ export declare const Address: {
|
|
|
1835
1836
|
};
|
|
1836
1837
|
readonly required: false;
|
|
1837
1838
|
};
|
|
1839
|
+
readonly neverSpam: {
|
|
1840
|
+
readonly type: "map";
|
|
1841
|
+
readonly properties: {
|
|
1842
|
+
readonly value: {
|
|
1843
|
+
readonly type: "boolean";
|
|
1844
|
+
readonly required: true;
|
|
1845
|
+
};
|
|
1846
|
+
readonly setAt: {
|
|
1847
|
+
readonly type: "number";
|
|
1848
|
+
readonly required: true;
|
|
1849
|
+
};
|
|
1850
|
+
readonly setBy: {
|
|
1851
|
+
readonly type: "string";
|
|
1852
|
+
readonly required: false;
|
|
1853
|
+
};
|
|
1854
|
+
readonly expiresAt: {
|
|
1855
|
+
readonly type: "number";
|
|
1856
|
+
readonly required: false;
|
|
1857
|
+
};
|
|
1858
|
+
readonly reason: {
|
|
1859
|
+
readonly type: "string";
|
|
1860
|
+
readonly required: false;
|
|
1861
|
+
};
|
|
1862
|
+
};
|
|
1863
|
+
readonly required: false;
|
|
1864
|
+
};
|
|
1838
1865
|
readonly muted: {
|
|
1839
1866
|
readonly type: "map";
|
|
1840
1867
|
readonly properties: {
|
package/index.mjs
CHANGED
|
@@ -889,22 +889,23 @@ export const Mailbox = {
|
|
|
889
889
|
},
|
|
890
890
|
syncStatus: {
|
|
891
891
|
type: ["synced", "pending", "failed", "deleting"],
|
|
892
|
-
required: false
|
|
893
|
-
},
|
|
894
|
-
cursorState: {
|
|
895
|
-
type: ["normal", "cursor_invalid", "rebuilding"],
|
|
896
892
|
required: true,
|
|
897
|
-
default: "
|
|
893
|
+
default: "synced"
|
|
898
894
|
},
|
|
899
|
-
|
|
895
|
+
pendingPath: {
|
|
900
896
|
type: "string",
|
|
901
897
|
required: false,
|
|
902
898
|
validate: value => {
|
|
903
899
|
if (typeof value === "string" && value.length > 512)
|
|
904
|
-
throw new Error("'
|
|
900
|
+
throw new Error("'pendingPath' must be at most 512 characters");
|
|
905
901
|
return true;
|
|
906
902
|
}
|
|
907
903
|
},
|
|
904
|
+
cursorState: {
|
|
905
|
+
type: ["normal", "cursor_invalid", "rebuilding"],
|
|
906
|
+
required: true,
|
|
907
|
+
default: "normal"
|
|
908
|
+
},
|
|
908
909
|
specialUse: {
|
|
909
910
|
type: "set",
|
|
910
911
|
items: ["All", "Archive", "Drafts", "Flagged", "Junk", "Sent", "Trash", "Important"],
|
|
@@ -2408,6 +2409,32 @@ export const Address = {
|
|
|
2408
2409
|
},
|
|
2409
2410
|
required: false
|
|
2410
2411
|
},
|
|
2412
|
+
neverSpam: {
|
|
2413
|
+
type: "map",
|
|
2414
|
+
properties: {
|
|
2415
|
+
value: {
|
|
2416
|
+
type: "boolean",
|
|
2417
|
+
required: true
|
|
2418
|
+
},
|
|
2419
|
+
setAt: {
|
|
2420
|
+
type: "number",
|
|
2421
|
+
required: true
|
|
2422
|
+
},
|
|
2423
|
+
setBy: {
|
|
2424
|
+
type: "string",
|
|
2425
|
+
required: false
|
|
2426
|
+
},
|
|
2427
|
+
expiresAt: {
|
|
2428
|
+
type: "number",
|
|
2429
|
+
required: false
|
|
2430
|
+
},
|
|
2431
|
+
reason: {
|
|
2432
|
+
type: "string",
|
|
2433
|
+
required: false
|
|
2434
|
+
}
|
|
2435
|
+
},
|
|
2436
|
+
required: false
|
|
2437
|
+
},
|
|
2411
2438
|
muted: {
|
|
2412
2439
|
type: "map",
|
|
2413
2440
|
properties: {
|