@marcoappio/marco-config 2.0.526 → 2.0.528

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.
@@ -196,26 +196,22 @@ export declare const marcoZero: {
196
196
  readonly threadIds: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
197
197
  }, undefined>, undefined>;
198
198
  readonly labelPath: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
199
- readonly labelUnreadCounts: import("valibot").OptionalSchema<import("valibot").RecordSchema<import("valibot").StringSchema<undefined>, import("valibot").NumberSchema<undefined>, undefined>, undefined>;
200
199
  }, undefined>;
201
200
  delete: import("valibot").ObjectSchema<{
202
201
  readonly accounts: import("valibot").RecordSchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>, import("valibot").ObjectSchema<{
203
202
  readonly threadIds: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
204
203
  }, undefined>, undefined>;
205
- readonly labelUnreadCounts: import("valibot").OptionalSchema<import("valibot").RecordSchema<import("valibot").StringSchema<undefined>, import("valibot").NumberSchema<undefined>, undefined>, undefined>;
206
204
  }, undefined>;
207
205
  removeLabel: import("valibot").ObjectSchema<{
208
206
  readonly accounts: import("valibot").RecordSchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>, import("valibot").ObjectSchema<{
209
207
  readonly threadIds: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
210
208
  }, undefined>, undefined>;
211
209
  readonly labelPath: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
212
- readonly labelUnreadCounts: import("valibot").OptionalSchema<import("valibot").RecordSchema<import("valibot").StringSchema<undefined>, import("valibot").NumberSchema<undefined>, undefined>, undefined>;
213
210
  }, undefined>;
214
211
  setArchive: import("valibot").ObjectSchema<{
215
212
  readonly accounts: import("valibot").RecordSchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>, import("valibot").ObjectSchema<{
216
213
  readonly threadIds: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
217
214
  }, undefined>, undefined>;
218
- readonly labelUnreadCounts: import("valibot").OptionalSchema<import("valibot").RecordSchema<import("valibot").StringSchema<undefined>, import("valibot").NumberSchema<undefined>, undefined>, undefined>;
219
215
  }, undefined>;
220
216
  setFlagged: import("valibot").ObjectSchema<{
221
217
  readonly accounts: import("valibot").RecordSchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>, import("valibot").ObjectSchema<{
@@ -227,26 +223,22 @@ export declare const marcoZero: {
227
223
  readonly accounts: import("valibot").RecordSchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>, import("valibot").ObjectSchema<{
228
224
  readonly threadIds: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
229
225
  }, undefined>, undefined>;
230
- readonly labelUnreadCounts: import("valibot").OptionalSchema<import("valibot").RecordSchema<import("valibot").StringSchema<undefined>, import("valibot").NumberSchema<undefined>, undefined>, undefined>;
231
226
  }, undefined>;
232
227
  setSeen: import("valibot").ObjectSchema<{
233
228
  readonly accounts: import("valibot").RecordSchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>, import("valibot").ObjectSchema<{
234
229
  readonly threadIds: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
235
230
  }, undefined>, undefined>;
236
- readonly labelUnreadCounts: import("valibot").OptionalSchema<import("valibot").RecordSchema<import("valibot").StringSchema<undefined>, import("valibot").NumberSchema<undefined>, undefined>, undefined>;
237
231
  readonly seen: import("valibot").BooleanSchema<undefined>;
238
232
  }, undefined>;
239
233
  setSpam: import("valibot").ObjectSchema<{
240
234
  readonly accounts: import("valibot").RecordSchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>, import("valibot").ObjectSchema<{
241
235
  readonly threadIds: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
242
236
  }, undefined>, undefined>;
243
- readonly labelUnreadCounts: import("valibot").OptionalSchema<import("valibot").RecordSchema<import("valibot").StringSchema<undefined>, import("valibot").NumberSchema<undefined>, undefined>, undefined>;
244
237
  }, undefined>;
245
238
  setTrash: import("valibot").ObjectSchema<{
246
239
  readonly accounts: import("valibot").RecordSchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>, import("valibot").ObjectSchema<{
247
240
  readonly threadIds: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
248
241
  }, undefined>, undefined>;
249
- readonly labelUnreadCounts: import("valibot").OptionalSchema<import("valibot").RecordSchema<import("valibot").StringSchema<undefined>, import("valibot").NumberSchema<undefined>, undefined>, undefined>;
250
242
  }, undefined>;
251
243
  };
252
244
  user: {
@@ -589,9 +581,6 @@ export declare const marcoZero: {
589
581
  };
590
582
  };
591
583
  labelPath: string;
592
- labelUnreadCounts?: {
593
- [x: string]: number;
594
- } | undefined;
595
584
  }, {
596
585
  accounts: {
597
586
  [x: string]: {
@@ -599,9 +588,6 @@ export declare const marcoZero: {
599
588
  };
600
589
  };
601
590
  labelPath: string;
602
- labelUnreadCounts?: {
603
- [x: string]: number;
604
- } | undefined;
605
591
  }, {
606
592
  userId: string;
607
593
  }, unknown>;
@@ -611,18 +597,12 @@ export declare const marcoZero: {
611
597
  threadIds: string[];
612
598
  };
613
599
  };
614
- labelUnreadCounts?: {
615
- [x: string]: number;
616
- } | undefined;
617
600
  }, {
618
601
  accounts: {
619
602
  [x: string]: {
620
603
  threadIds: string[];
621
604
  };
622
605
  };
623
- labelUnreadCounts?: {
624
- [x: string]: number;
625
- } | undefined;
626
606
  }, {
627
607
  userId: string;
628
608
  }, unknown>;
@@ -633,9 +613,6 @@ export declare const marcoZero: {
633
613
  };
634
614
  };
635
615
  labelPath: string;
636
- labelUnreadCounts?: {
637
- [x: string]: number;
638
- } | undefined;
639
616
  }, {
640
617
  accounts: {
641
618
  [x: string]: {
@@ -643,9 +620,6 @@ export declare const marcoZero: {
643
620
  };
644
621
  };
645
622
  labelPath: string;
646
- labelUnreadCounts?: {
647
- [x: string]: number;
648
- } | undefined;
649
623
  }, {
650
624
  userId: string;
651
625
  }, unknown>;
@@ -655,18 +629,12 @@ export declare const marcoZero: {
655
629
  threadIds: string[];
656
630
  };
657
631
  };
658
- labelUnreadCounts?: {
659
- [x: string]: number;
660
- } | undefined;
661
632
  }, {
662
633
  accounts: {
663
634
  [x: string]: {
664
635
  threadIds: string[];
665
636
  };
666
637
  };
667
- labelUnreadCounts?: {
668
- [x: string]: number;
669
- } | undefined;
670
638
  }, {
671
639
  userId: string;
672
640
  }, unknown>;
@@ -693,18 +661,12 @@ export declare const marcoZero: {
693
661
  threadIds: string[];
694
662
  };
695
663
  };
696
- labelUnreadCounts?: {
697
- [x: string]: number;
698
- } | undefined;
699
664
  }, {
700
665
  accounts: {
701
666
  [x: string]: {
702
667
  threadIds: string[];
703
668
  };
704
669
  };
705
- labelUnreadCounts?: {
706
- [x: string]: number;
707
- } | undefined;
708
670
  }, {
709
671
  userId: string;
710
672
  }, unknown>;
@@ -714,9 +676,6 @@ export declare const marcoZero: {
714
676
  threadIds: string[];
715
677
  };
716
678
  };
717
- labelUnreadCounts?: {
718
- [x: string]: number;
719
- } | undefined;
720
679
  seen: boolean;
721
680
  }, {
722
681
  accounts: {
@@ -724,9 +683,6 @@ export declare const marcoZero: {
724
683
  threadIds: string[];
725
684
  };
726
685
  };
727
- labelUnreadCounts?: {
728
- [x: string]: number;
729
- } | undefined;
730
686
  seen: boolean;
731
687
  }, {
732
688
  userId: string;
@@ -737,18 +693,12 @@ export declare const marcoZero: {
737
693
  threadIds: string[];
738
694
  };
739
695
  };
740
- labelUnreadCounts?: {
741
- [x: string]: number;
742
- } | undefined;
743
696
  }, {
744
697
  accounts: {
745
698
  [x: string]: {
746
699
  threadIds: string[];
747
700
  };
748
701
  };
749
- labelUnreadCounts?: {
750
- [x: string]: number;
751
- } | undefined;
752
702
  }, {
753
703
  userId: string;
754
704
  }, unknown>;
@@ -758,18 +708,12 @@ export declare const marcoZero: {
758
708
  threadIds: string[];
759
709
  };
760
710
  };
761
- labelUnreadCounts?: {
762
- [x: string]: number;
763
- } | undefined;
764
711
  }, {
765
712
  accounts: {
766
713
  [x: string]: {
767
714
  threadIds: string[];
768
715
  };
769
716
  };
770
- labelUnreadCounts?: {
771
- [x: string]: number;
772
- } | undefined;
773
717
  }, {
774
718
  userId: string;
775
719
  }, unknown>;
@@ -1486,6 +1430,15 @@ export declare const marcoZero: {
1486
1430
  } & {
1487
1431
  serverName: string;
1488
1432
  };
1433
+ readonly unsubscribeUrl: Omit<{
1434
+ type: "string";
1435
+ optional: false;
1436
+ customType: string;
1437
+ }, "optional"> & {
1438
+ optional: true;
1439
+ } & {
1440
+ serverName: string;
1441
+ };
1489
1442
  };
1490
1443
  primaryKey: readonly [string, ...string[]];
1491
1444
  } & {
@@ -1732,7 +1685,7 @@ export declare const marcoZero: {
1732
1685
  }];
1733
1686
  messages: [{
1734
1687
  readonly sourceField: readonly ("id" | "userId" | "accountId" | "subject" | "flagged" | "hasAttachments" | "labelIdList" | "latestMessageDate" | "latestMessageId" | "messageCount" | "previewText" | "seen" | "senderEmail" | "senderName" | "words")[];
1735
- readonly destField: readonly ("id" | "accountId" | "previewText" | "senderEmail" | "senderName" | "threadId" | "envelopeDate" | "envelopeSubject")[];
1688
+ readonly destField: readonly ("id" | "accountId" | "previewText" | "senderEmail" | "senderName" | "threadId" | "envelopeDate" | "envelopeSubject" | "unsubscribeUrl")[];
1736
1689
  readonly destSchema: "threadMessage";
1737
1690
  readonly cardinality: "many";
1738
1691
  }];
@@ -1758,7 +1711,7 @@ export declare const marcoZero: {
1758
1711
  }];
1759
1712
  message: [{
1760
1713
  readonly sourceField: readonly ("accountId" | "uidValidity" | "labelId" | "lastSyncedAt" | "threadId" | "threadMessageId" | "uid")[];
1761
- readonly destField: readonly ("id" | "accountId" | "previewText" | "senderEmail" | "senderName" | "threadId" | "envelopeDate" | "envelopeSubject")[];
1714
+ readonly destField: readonly ("id" | "accountId" | "previewText" | "senderEmail" | "senderName" | "threadId" | "envelopeDate" | "envelopeSubject" | "unsubscribeUrl")[];
1762
1715
  readonly destSchema: "threadMessage";
1763
1716
  readonly cardinality: "one";
1764
1717
  }];
@@ -1785,13 +1738,13 @@ export declare const marcoZero: {
1785
1738
  };
1786
1739
  readonly threadMessage: {
1787
1740
  attachments: [{
1788
- readonly sourceField: readonly ("id" | "accountId" | "previewText" | "senderEmail" | "senderName" | "threadId" | "envelopeDate" | "envelopeSubject")[];
1741
+ readonly sourceField: readonly ("id" | "accountId" | "previewText" | "senderEmail" | "senderName" | "threadId" | "envelopeDate" | "envelopeSubject" | "unsubscribeUrl")[];
1789
1742
  readonly destField: readonly ("id" | "fileName" | "mimeType" | "threadMessageId" | "size")[];
1790
1743
  readonly destSchema: "threadMessageAttachment";
1791
1744
  readonly cardinality: "many";
1792
1745
  }];
1793
1746
  labels: [{
1794
- readonly sourceField: readonly ("id" | "accountId" | "previewText" | "senderEmail" | "senderName" | "threadId" | "envelopeDate" | "envelopeSubject")[];
1747
+ readonly sourceField: readonly ("id" | "accountId" | "previewText" | "senderEmail" | "senderName" | "threadId" | "envelopeDate" | "envelopeSubject" | "unsubscribeUrl")[];
1795
1748
  readonly destField: readonly ("accountId" | "uidValidity" | "labelId" | "lastSyncedAt" | "threadId" | "threadMessageId" | "uid")[];
1796
1749
  readonly destSchema: "threadLabel";
1797
1750
  readonly cardinality: "many";
@@ -1802,13 +1755,13 @@ export declare const marcoZero: {
1802
1755
  readonly cardinality: "many";
1803
1756
  }];
1804
1757
  recipients: [{
1805
- readonly sourceField: readonly ("id" | "accountId" | "previewText" | "senderEmail" | "senderName" | "threadId" | "envelopeDate" | "envelopeSubject")[];
1758
+ readonly sourceField: readonly ("id" | "accountId" | "previewText" | "senderEmail" | "senderName" | "threadId" | "envelopeDate" | "envelopeSubject" | "unsubscribeUrl")[];
1806
1759
  readonly destField: readonly ("type" | "id" | "name" | "emailAddress" | "threadMessageId")[];
1807
1760
  readonly destSchema: "threadMessageRecipient";
1808
1761
  readonly cardinality: "many";
1809
1762
  }];
1810
1763
  thread: [{
1811
- readonly sourceField: readonly ("id" | "accountId" | "previewText" | "senderEmail" | "senderName" | "threadId" | "envelopeDate" | "envelopeSubject")[];
1764
+ readonly sourceField: readonly ("id" | "accountId" | "previewText" | "senderEmail" | "senderName" | "threadId" | "envelopeDate" | "envelopeSubject" | "unsubscribeUrl")[];
1812
1765
  readonly destField: readonly ("id" | "userId" | "accountId" | "subject" | "flagged" | "hasAttachments" | "labelIdList" | "latestMessageDate" | "latestMessageId" | "messageCount" | "previewText" | "seen" | "senderEmail" | "senderName" | "words")[];
1813
1766
  readonly destSchema: "thread";
1814
1767
  readonly cardinality: "one";
@@ -1817,7 +1770,7 @@ export declare const marcoZero: {
1817
1770
  readonly threadMessageRecipient: {
1818
1771
  message: [{
1819
1772
  readonly sourceField: readonly ("type" | "id" | "name" | "emailAddress" | "threadMessageId")[];
1820
- readonly destField: readonly ("id" | "accountId" | "previewText" | "senderEmail" | "senderName" | "threadId" | "envelopeDate" | "envelopeSubject")[];
1773
+ readonly destField: readonly ("id" | "accountId" | "previewText" | "senderEmail" | "senderName" | "threadId" | "envelopeDate" | "envelopeSubject" | "unsubscribeUrl")[];
1821
1774
  readonly destSchema: "threadMessage";
1822
1775
  readonly cardinality: "one";
1823
1776
  }];
@@ -1825,7 +1778,7 @@ export declare const marcoZero: {
1825
1778
  readonly threadMessageAttachment: {
1826
1779
  message: [{
1827
1780
  readonly sourceField: readonly ("id" | "fileName" | "mimeType" | "threadMessageId" | "size")[];
1828
- readonly destField: readonly ("id" | "accountId" | "previewText" | "senderEmail" | "senderName" | "threadId" | "envelopeDate" | "envelopeSubject")[];
1781
+ readonly destField: readonly ("id" | "accountId" | "previewText" | "senderEmail" | "senderName" | "threadId" | "envelopeDate" | "envelopeSubject" | "unsubscribeUrl")[];
1829
1782
  readonly destSchema: "threadMessage";
1830
1783
  readonly cardinality: "one";
1831
1784
  }];
@@ -1929,6 +1882,7 @@ export declare const marcoZero: {
1929
1882
  readonly senderEmail: string;
1930
1883
  readonly senderName: string | null;
1931
1884
  readonly threadId: string;
1885
+ readonly unsubscribeUrl: string | null;
1932
1886
  } & {
1933
1887
  readonly recipients: readonly {
1934
1888
  readonly emailAddress: string;
@@ -1962,6 +1916,7 @@ export declare const marcoZero: {
1962
1916
  readonly senderEmail: string;
1963
1917
  readonly senderName: string | null;
1964
1918
  readonly threadId: string;
1919
+ readonly unsubscribeUrl: string | null;
1965
1920
  } & {
1966
1921
  readonly thread: {
1967
1922
  readonly accountId: string;
@@ -2083,6 +2038,7 @@ export declare const marcoZero: {
2083
2038
  readonly senderEmail: string;
2084
2039
  readonly senderName: string | null;
2085
2040
  readonly threadId: string;
2041
+ readonly unsubscribeUrl: string | null;
2086
2042
  } & {
2087
2043
  readonly recipients: readonly {
2088
2044
  readonly emailAddress: string;
@@ -2831,6 +2787,15 @@ export declare const marcoZero: {
2831
2787
  } & {
2832
2788
  serverName: string;
2833
2789
  };
2790
+ readonly unsubscribeUrl: Omit<{
2791
+ type: "string";
2792
+ optional: false;
2793
+ customType: string;
2794
+ }, "optional"> & {
2795
+ optional: true;
2796
+ } & {
2797
+ serverName: string;
2798
+ };
2834
2799
  };
2835
2800
  primaryKey: readonly [string, ...string[]];
2836
2801
  } & {
@@ -3077,7 +3042,7 @@ export declare const marcoZero: {
3077
3042
  }];
3078
3043
  messages: [{
3079
3044
  readonly sourceField: readonly ("id" | "userId" | "accountId" | "subject" | "flagged" | "hasAttachments" | "labelIdList" | "latestMessageDate" | "latestMessageId" | "messageCount" | "previewText" | "seen" | "senderEmail" | "senderName" | "words")[];
3080
- readonly destField: readonly ("id" | "accountId" | "previewText" | "senderEmail" | "senderName" | "threadId" | "envelopeDate" | "envelopeSubject")[];
3045
+ readonly destField: readonly ("id" | "accountId" | "previewText" | "senderEmail" | "senderName" | "threadId" | "envelopeDate" | "envelopeSubject" | "unsubscribeUrl")[];
3081
3046
  readonly destSchema: "threadMessage";
3082
3047
  readonly cardinality: "many";
3083
3048
  }];
@@ -3103,7 +3068,7 @@ export declare const marcoZero: {
3103
3068
  }];
3104
3069
  message: [{
3105
3070
  readonly sourceField: readonly ("accountId" | "uidValidity" | "labelId" | "lastSyncedAt" | "threadId" | "threadMessageId" | "uid")[];
3106
- readonly destField: readonly ("id" | "accountId" | "previewText" | "senderEmail" | "senderName" | "threadId" | "envelopeDate" | "envelopeSubject")[];
3071
+ readonly destField: readonly ("id" | "accountId" | "previewText" | "senderEmail" | "senderName" | "threadId" | "envelopeDate" | "envelopeSubject" | "unsubscribeUrl")[];
3107
3072
  readonly destSchema: "threadMessage";
3108
3073
  readonly cardinality: "one";
3109
3074
  }];
@@ -3130,13 +3095,13 @@ export declare const marcoZero: {
3130
3095
  };
3131
3096
  readonly threadMessage: {
3132
3097
  attachments: [{
3133
- readonly sourceField: readonly ("id" | "accountId" | "previewText" | "senderEmail" | "senderName" | "threadId" | "envelopeDate" | "envelopeSubject")[];
3098
+ readonly sourceField: readonly ("id" | "accountId" | "previewText" | "senderEmail" | "senderName" | "threadId" | "envelopeDate" | "envelopeSubject" | "unsubscribeUrl")[];
3134
3099
  readonly destField: readonly ("id" | "fileName" | "mimeType" | "threadMessageId" | "size")[];
3135
3100
  readonly destSchema: "threadMessageAttachment";
3136
3101
  readonly cardinality: "many";
3137
3102
  }];
3138
3103
  labels: [{
3139
- readonly sourceField: readonly ("id" | "accountId" | "previewText" | "senderEmail" | "senderName" | "threadId" | "envelopeDate" | "envelopeSubject")[];
3104
+ readonly sourceField: readonly ("id" | "accountId" | "previewText" | "senderEmail" | "senderName" | "threadId" | "envelopeDate" | "envelopeSubject" | "unsubscribeUrl")[];
3140
3105
  readonly destField: readonly ("accountId" | "uidValidity" | "labelId" | "lastSyncedAt" | "threadId" | "threadMessageId" | "uid")[];
3141
3106
  readonly destSchema: "threadLabel";
3142
3107
  readonly cardinality: "many";
@@ -3147,13 +3112,13 @@ export declare const marcoZero: {
3147
3112
  readonly cardinality: "many";
3148
3113
  }];
3149
3114
  recipients: [{
3150
- readonly sourceField: readonly ("id" | "accountId" | "previewText" | "senderEmail" | "senderName" | "threadId" | "envelopeDate" | "envelopeSubject")[];
3115
+ readonly sourceField: readonly ("id" | "accountId" | "previewText" | "senderEmail" | "senderName" | "threadId" | "envelopeDate" | "envelopeSubject" | "unsubscribeUrl")[];
3151
3116
  readonly destField: readonly ("type" | "id" | "name" | "emailAddress" | "threadMessageId")[];
3152
3117
  readonly destSchema: "threadMessageRecipient";
3153
3118
  readonly cardinality: "many";
3154
3119
  }];
3155
3120
  thread: [{
3156
- readonly sourceField: readonly ("id" | "accountId" | "previewText" | "senderEmail" | "senderName" | "threadId" | "envelopeDate" | "envelopeSubject")[];
3121
+ readonly sourceField: readonly ("id" | "accountId" | "previewText" | "senderEmail" | "senderName" | "threadId" | "envelopeDate" | "envelopeSubject" | "unsubscribeUrl")[];
3157
3122
  readonly destField: readonly ("id" | "userId" | "accountId" | "subject" | "flagged" | "hasAttachments" | "labelIdList" | "latestMessageDate" | "latestMessageId" | "messageCount" | "previewText" | "seen" | "senderEmail" | "senderName" | "words")[];
3158
3123
  readonly destSchema: "thread";
3159
3124
  readonly cardinality: "one";
@@ -3162,7 +3127,7 @@ export declare const marcoZero: {
3162
3127
  readonly threadMessageRecipient: {
3163
3128
  message: [{
3164
3129
  readonly sourceField: readonly ("type" | "id" | "name" | "emailAddress" | "threadMessageId")[];
3165
- readonly destField: readonly ("id" | "accountId" | "previewText" | "senderEmail" | "senderName" | "threadId" | "envelopeDate" | "envelopeSubject")[];
3130
+ readonly destField: readonly ("id" | "accountId" | "previewText" | "senderEmail" | "senderName" | "threadId" | "envelopeDate" | "envelopeSubject" | "unsubscribeUrl")[];
3166
3131
  readonly destSchema: "threadMessage";
3167
3132
  readonly cardinality: "one";
3168
3133
  }];
@@ -3170,7 +3135,7 @@ export declare const marcoZero: {
3170
3135
  readonly threadMessageAttachment: {
3171
3136
  message: [{
3172
3137
  readonly sourceField: readonly ("id" | "fileName" | "mimeType" | "threadMessageId" | "size")[];
3173
- readonly destField: readonly ("id" | "accountId" | "previewText" | "senderEmail" | "senderName" | "threadId" | "envelopeDate" | "envelopeSubject")[];
3138
+ readonly destField: readonly ("id" | "accountId" | "previewText" | "senderEmail" | "senderName" | "threadId" | "envelopeDate" | "envelopeSubject" | "unsubscribeUrl")[];
3174
3139
  readonly destSchema: "threadMessage";
3175
3140
  readonly cardinality: "one";
3176
3141
  }];
@@ -3854,6 +3819,15 @@ export declare const marcoZero: {
3854
3819
  } & {
3855
3820
  serverName: string;
3856
3821
  };
3822
+ readonly unsubscribeUrl: Omit<{
3823
+ type: "string";
3824
+ optional: false;
3825
+ customType: string;
3826
+ }, "optional"> & {
3827
+ optional: true;
3828
+ } & {
3829
+ serverName: string;
3830
+ };
3857
3831
  };
3858
3832
  primaryKey: readonly [string, ...string[]];
3859
3833
  } & {
@@ -4100,7 +4074,7 @@ export declare const marcoZero: {
4100
4074
  }];
4101
4075
  messages: [{
4102
4076
  readonly sourceField: readonly ("id" | "userId" | "accountId" | "subject" | "flagged" | "hasAttachments" | "labelIdList" | "latestMessageDate" | "latestMessageId" | "messageCount" | "previewText" | "seen" | "senderEmail" | "senderName" | "words")[];
4103
- readonly destField: readonly ("id" | "accountId" | "previewText" | "senderEmail" | "senderName" | "threadId" | "envelopeDate" | "envelopeSubject")[];
4077
+ readonly destField: readonly ("id" | "accountId" | "previewText" | "senderEmail" | "senderName" | "threadId" | "envelopeDate" | "envelopeSubject" | "unsubscribeUrl")[];
4104
4078
  readonly destSchema: "threadMessage";
4105
4079
  readonly cardinality: "many";
4106
4080
  }];
@@ -4126,7 +4100,7 @@ export declare const marcoZero: {
4126
4100
  }];
4127
4101
  message: [{
4128
4102
  readonly sourceField: readonly ("accountId" | "uidValidity" | "labelId" | "lastSyncedAt" | "threadId" | "threadMessageId" | "uid")[];
4129
- readonly destField: readonly ("id" | "accountId" | "previewText" | "senderEmail" | "senderName" | "threadId" | "envelopeDate" | "envelopeSubject")[];
4103
+ readonly destField: readonly ("id" | "accountId" | "previewText" | "senderEmail" | "senderName" | "threadId" | "envelopeDate" | "envelopeSubject" | "unsubscribeUrl")[];
4130
4104
  readonly destSchema: "threadMessage";
4131
4105
  readonly cardinality: "one";
4132
4106
  }];
@@ -4153,13 +4127,13 @@ export declare const marcoZero: {
4153
4127
  };
4154
4128
  readonly threadMessage: {
4155
4129
  attachments: [{
4156
- readonly sourceField: readonly ("id" | "accountId" | "previewText" | "senderEmail" | "senderName" | "threadId" | "envelopeDate" | "envelopeSubject")[];
4130
+ readonly sourceField: readonly ("id" | "accountId" | "previewText" | "senderEmail" | "senderName" | "threadId" | "envelopeDate" | "envelopeSubject" | "unsubscribeUrl")[];
4157
4131
  readonly destField: readonly ("id" | "fileName" | "mimeType" | "threadMessageId" | "size")[];
4158
4132
  readonly destSchema: "threadMessageAttachment";
4159
4133
  readonly cardinality: "many";
4160
4134
  }];
4161
4135
  labels: [{
4162
- readonly sourceField: readonly ("id" | "accountId" | "previewText" | "senderEmail" | "senderName" | "threadId" | "envelopeDate" | "envelopeSubject")[];
4136
+ readonly sourceField: readonly ("id" | "accountId" | "previewText" | "senderEmail" | "senderName" | "threadId" | "envelopeDate" | "envelopeSubject" | "unsubscribeUrl")[];
4163
4137
  readonly destField: readonly ("accountId" | "uidValidity" | "labelId" | "lastSyncedAt" | "threadId" | "threadMessageId" | "uid")[];
4164
4138
  readonly destSchema: "threadLabel";
4165
4139
  readonly cardinality: "many";
@@ -4170,13 +4144,13 @@ export declare const marcoZero: {
4170
4144
  readonly cardinality: "many";
4171
4145
  }];
4172
4146
  recipients: [{
4173
- readonly sourceField: readonly ("id" | "accountId" | "previewText" | "senderEmail" | "senderName" | "threadId" | "envelopeDate" | "envelopeSubject")[];
4147
+ readonly sourceField: readonly ("id" | "accountId" | "previewText" | "senderEmail" | "senderName" | "threadId" | "envelopeDate" | "envelopeSubject" | "unsubscribeUrl")[];
4174
4148
  readonly destField: readonly ("type" | "id" | "name" | "emailAddress" | "threadMessageId")[];
4175
4149
  readonly destSchema: "threadMessageRecipient";
4176
4150
  readonly cardinality: "many";
4177
4151
  }];
4178
4152
  thread: [{
4179
- readonly sourceField: readonly ("id" | "accountId" | "previewText" | "senderEmail" | "senderName" | "threadId" | "envelopeDate" | "envelopeSubject")[];
4153
+ readonly sourceField: readonly ("id" | "accountId" | "previewText" | "senderEmail" | "senderName" | "threadId" | "envelopeDate" | "envelopeSubject" | "unsubscribeUrl")[];
4180
4154
  readonly destField: readonly ("id" | "userId" | "accountId" | "subject" | "flagged" | "hasAttachments" | "labelIdList" | "latestMessageDate" | "latestMessageId" | "messageCount" | "previewText" | "seen" | "senderEmail" | "senderName" | "words")[];
4181
4155
  readonly destSchema: "thread";
4182
4156
  readonly cardinality: "one";
@@ -4185,7 +4159,7 @@ export declare const marcoZero: {
4185
4159
  readonly threadMessageRecipient: {
4186
4160
  message: [{
4187
4161
  readonly sourceField: readonly ("type" | "id" | "name" | "emailAddress" | "threadMessageId")[];
4188
- readonly destField: readonly ("id" | "accountId" | "previewText" | "senderEmail" | "senderName" | "threadId" | "envelopeDate" | "envelopeSubject")[];
4162
+ readonly destField: readonly ("id" | "accountId" | "previewText" | "senderEmail" | "senderName" | "threadId" | "envelopeDate" | "envelopeSubject" | "unsubscribeUrl")[];
4189
4163
  readonly destSchema: "threadMessage";
4190
4164
  readonly cardinality: "one";
4191
4165
  }];
@@ -4193,7 +4167,7 @@ export declare const marcoZero: {
4193
4167
  readonly threadMessageAttachment: {
4194
4168
  message: [{
4195
4169
  readonly sourceField: readonly ("id" | "fileName" | "mimeType" | "threadMessageId" | "size")[];
4196
- readonly destField: readonly ("id" | "accountId" | "previewText" | "senderEmail" | "senderName" | "threadId" | "envelopeDate" | "envelopeSubject")[];
4170
+ readonly destField: readonly ("id" | "accountId" | "previewText" | "senderEmail" | "senderName" | "threadId" | "envelopeDate" | "envelopeSubject" | "unsubscribeUrl")[];
4197
4171
  readonly destSchema: "threadMessage";
4198
4172
  readonly cardinality: "one";
4199
4173
  }];
@@ -4808,6 +4782,15 @@ export declare const marcoZero: {
4808
4782
  } & {
4809
4783
  serverName: string;
4810
4784
  };
4785
+ readonly unsubscribeUrl: Omit<{
4786
+ type: "string";
4787
+ optional: false;
4788
+ customType: string;
4789
+ }, "optional"> & {
4790
+ optional: true;
4791
+ } & {
4792
+ serverName: string;
4793
+ };
4811
4794
  };
4812
4795
  primaryKey: readonly [string, ...string[]];
4813
4796
  } & {
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/zero/index.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAMZ,CAAA"}
@@ -196,26 +196,22 @@ export declare const mutatorSchemas: {
196
196
  readonly threadIds: v.ArraySchema<v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
197
197
  }, undefined>, undefined>;
198
198
  readonly labelPath: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
199
- readonly labelUnreadCounts: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.NumberSchema<undefined>, undefined>, undefined>;
200
199
  }, undefined>;
201
200
  delete: v.ObjectSchema<{
202
201
  readonly accounts: v.RecordSchema<v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>, v.ObjectSchema<{
203
202
  readonly threadIds: v.ArraySchema<v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
204
203
  }, undefined>, undefined>;
205
- readonly labelUnreadCounts: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.NumberSchema<undefined>, undefined>, undefined>;
206
204
  }, undefined>;
207
205
  removeLabel: v.ObjectSchema<{
208
206
  readonly accounts: v.RecordSchema<v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>, v.ObjectSchema<{
209
207
  readonly threadIds: v.ArraySchema<v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
210
208
  }, undefined>, undefined>;
211
209
  readonly labelPath: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
212
- readonly labelUnreadCounts: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.NumberSchema<undefined>, undefined>, undefined>;
213
210
  }, undefined>;
214
211
  setArchive: v.ObjectSchema<{
215
212
  readonly accounts: v.RecordSchema<v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>, v.ObjectSchema<{
216
213
  readonly threadIds: v.ArraySchema<v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
217
214
  }, undefined>, undefined>;
218
- readonly labelUnreadCounts: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.NumberSchema<undefined>, undefined>, undefined>;
219
215
  }, undefined>;
220
216
  setFlagged: v.ObjectSchema<{
221
217
  readonly accounts: v.RecordSchema<v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>, v.ObjectSchema<{
@@ -227,26 +223,22 @@ export declare const mutatorSchemas: {
227
223
  readonly accounts: v.RecordSchema<v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>, v.ObjectSchema<{
228
224
  readonly threadIds: v.ArraySchema<v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
229
225
  }, undefined>, undefined>;
230
- readonly labelUnreadCounts: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.NumberSchema<undefined>, undefined>, undefined>;
231
226
  }, undefined>;
232
227
  setSeen: v.ObjectSchema<{
233
228
  readonly accounts: v.RecordSchema<v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>, v.ObjectSchema<{
234
229
  readonly threadIds: v.ArraySchema<v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
235
230
  }, undefined>, undefined>;
236
- readonly labelUnreadCounts: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.NumberSchema<undefined>, undefined>, undefined>;
237
231
  readonly seen: v.BooleanSchema<undefined>;
238
232
  }, undefined>;
239
233
  setSpam: v.ObjectSchema<{
240
234
  readonly accounts: v.RecordSchema<v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>, v.ObjectSchema<{
241
235
  readonly threadIds: v.ArraySchema<v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
242
236
  }, undefined>, undefined>;
243
- readonly labelUnreadCounts: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.NumberSchema<undefined>, undefined>, undefined>;
244
237
  }, undefined>;
245
238
  setTrash: v.ObjectSchema<{
246
239
  readonly accounts: v.RecordSchema<v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>, v.ObjectSchema<{
247
240
  readonly threadIds: v.ArraySchema<v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
248
241
  }, undefined>, undefined>;
249
- readonly labelUnreadCounts: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.NumberSchema<undefined>, undefined>, undefined>;
250
242
  }, undefined>;
251
243
  };
252
244
  user: {
@@ -1 +1 @@
1
- {"version":3,"file":"mutatorSchemas.d.ts","sourceRoot":"","sources":["../../src/zero/mutatorSchemas.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAyE5B,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA2I1B,CAAA"}
1
+ {"version":3,"file":"mutatorSchemas.d.ts","sourceRoot":"","sources":["../../src/zero/mutatorSchemas.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAqE5B,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA0I1B,CAAA"}
@@ -10,15 +10,12 @@ const accountAliasSchema = v.object({
10
10
  const accountsSchema = v.record(marcoSchemas.string.required(), v.object({
11
11
  threadIds: v.array(marcoSchemas.string.required()),
12
12
  }));
13
- const labelUnreadCountsSchema = v.optional(v.record(v.string(), v.number()));
14
13
  const baseThreadSchema = v.object({
15
14
  accounts: accountsSchema,
16
- labelUnreadCounts: labelUnreadCountsSchema,
17
15
  });
18
16
  const threadChangeLabelSchema = v.object({
19
17
  accounts: accountsSchema,
20
18
  labelPath: marcoSchemas.string.required(),
21
- labelUnreadCounts: labelUnreadCountsSchema,
22
19
  });
23
20
  const draftBodySchema = v.object({
24
21
  bcc: v.array(marcoSchemas.string.email()),
@@ -175,7 +172,6 @@ export const mutatorSchemas = {
175
172
  setInbox: baseThreadSchema,
176
173
  setSeen: v.object({
177
174
  accounts: accountsSchema,
178
- labelUnreadCounts: labelUnreadCountsSchema,
179
175
  seen: v.boolean(),
180
176
  }),
181
177
  setSpam: baseThreadSchema,