@marcoappio/marco-config 2.0.527 → 2.0.529

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.
@@ -242,10 +242,22 @@ export declare const marcoZero: {
242
242
  }, undefined>;
243
243
  };
244
244
  user: {
245
+ createView: import("valibot").ObjectSchema<{
246
+ readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
247
+ readonly view: import("valibot").ObjectSchema<{
248
+ readonly aliasEmails: import("valibot").SchemaWithPipe<readonly [import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").RfcEmailAction<string, undefined>]>, undefined>, undefined>, import("valibot").MinLengthAction<string[], 1, undefined>, import("valibot").MaxLengthAction<string[], number, undefined>]>;
249
+ readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
250
+ readonly name: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
251
+ }, undefined>;
252
+ }, undefined>;
245
253
  deleteSettingsPushNotificationToken: import("valibot").ObjectSchema<{
246
254
  readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
247
255
  readonly token: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
248
256
  }, undefined>;
257
+ deleteView: import("valibot").ObjectSchema<{
258
+ readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
259
+ readonly viewId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
260
+ }, undefined>;
249
261
  setSettingsName: import("valibot").ObjectSchema<{
250
262
  readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
251
263
  readonly name: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
@@ -258,6 +270,41 @@ export declare const marcoZero: {
258
270
  readonly token: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
259
271
  }, undefined>;
260
272
  }, undefined>;
273
+ updateView: import("valibot").ObjectSchema<{
274
+ readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
275
+ readonly updates: Omit<import("valibot").ObjectSchema<{
276
+ readonly aliasEmails: import("valibot").SchemaWithPipe<readonly [import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").RfcEmailAction<string, undefined>]>, undefined>, undefined>, import("valibot").MinLengthAction<string[], 1, undefined>, import("valibot").MaxLengthAction<string[], number, undefined>]>;
277
+ readonly name: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
278
+ }, undefined>, "~standard" | "~run" | "~types" | "entries"> & {
279
+ readonly entries: {
280
+ readonly aliasEmails: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").RfcEmailAction<string, undefined>]>, undefined>, undefined>, import("valibot").MinLengthAction<string[], 1, undefined>, import("valibot").MaxLengthAction<string[], number, undefined>]>, undefined>;
281
+ readonly name: import("valibot").OptionalSchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
282
+ };
283
+ readonly '~standard': import("valibot").StandardProps<{
284
+ aliasEmails?: string[] | undefined;
285
+ name?: string | undefined;
286
+ }, {
287
+ aliasEmails?: string[] | undefined;
288
+ name?: string | undefined;
289
+ }>;
290
+ readonly '~run': (dataset: import("valibot").UnknownDataset, config: import("valibot").Config<import("valibot").BaseIssue<unknown>>) => import("valibot").OutputDataset<{
291
+ aliasEmails?: string[] | undefined;
292
+ name?: string | undefined;
293
+ }, import("valibot").StringIssue | import("valibot").RfcEmailIssue<string> | import("valibot").NonEmptyIssue<string> | import("valibot").MaxLengthIssue<string, number> | import("valibot").ObjectIssue | import("valibot").ArrayIssue | import("valibot").NonOptionalIssue | import("valibot").MinLengthIssue<string[], 1> | import("valibot").MaxLengthIssue<string[], number>>;
294
+ readonly '~types'?: {
295
+ readonly input: {
296
+ aliasEmails?: string[] | undefined;
297
+ name?: string | undefined;
298
+ };
299
+ readonly output: {
300
+ aliasEmails?: string[] | undefined;
301
+ name?: string | undefined;
302
+ };
303
+ readonly issue: import("valibot").StringIssue | import("valibot").RfcEmailIssue<string> | import("valibot").NonEmptyIssue<string> | import("valibot").MaxLengthIssue<string, number> | import("valibot").ObjectIssue | import("valibot").ArrayIssue | import("valibot").NonOptionalIssue | import("valibot").MinLengthIssue<string[], 1> | import("valibot").MaxLengthIssue<string[], number>;
304
+ } | undefined;
305
+ };
306
+ readonly viewId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
307
+ }, undefined>;
261
308
  };
262
309
  };
263
310
  readonly mutators: import("@rocicorp/zero").MutatorRegistry<{
@@ -719,6 +766,23 @@ export declare const marcoZero: {
719
766
  }, unknown>;
720
767
  };
721
768
  readonly user: {
769
+ readonly createView: import("@rocicorp/zero").MutatorDefinition<{
770
+ id: string;
771
+ view: {
772
+ aliasEmails: string[];
773
+ id: string;
774
+ name: string;
775
+ };
776
+ }, {
777
+ id: string;
778
+ view: {
779
+ aliasEmails: string[];
780
+ id: string;
781
+ name: string;
782
+ };
783
+ }, {
784
+ userId: string;
785
+ }, unknown>;
722
786
  readonly deleteSettingsPushNotificationToken: import("@rocicorp/zero").MutatorDefinition<{
723
787
  id: string;
724
788
  token: string;
@@ -728,6 +792,15 @@ export declare const marcoZero: {
728
792
  }, {
729
793
  userId: string;
730
794
  }, unknown>;
795
+ readonly deleteView: import("@rocicorp/zero").MutatorDefinition<{
796
+ id: string;
797
+ viewId: string;
798
+ }, {
799
+ id: string;
800
+ viewId: string;
801
+ }, {
802
+ userId: string;
803
+ }, unknown>;
731
804
  readonly setSettingsName: import("@rocicorp/zero").MutatorDefinition<{
732
805
  id: string;
733
806
  name: string | null;
@@ -754,6 +827,23 @@ export declare const marcoZero: {
754
827
  }, {
755
828
  userId: string;
756
829
  }, unknown>;
830
+ readonly updateView: import("@rocicorp/zero").MutatorDefinition<{
831
+ id: string;
832
+ updates: {
833
+ aliasEmails?: string[] | undefined;
834
+ name?: string | undefined;
835
+ };
836
+ viewId: string;
837
+ }, {
838
+ id: string;
839
+ updates: {
840
+ aliasEmails?: string[] | undefined;
841
+ name?: string | undefined;
842
+ };
843
+ viewId: string;
844
+ }, {
845
+ userId: string;
846
+ }, unknown>;
757
847
  };
758
848
  }, {
759
849
  tables: {
@@ -788,6 +878,17 @@ export declare const marcoZero: {
788
878
  } & {
789
879
  serverName: string;
790
880
  };
881
+ readonly views: Omit<{
882
+ type: "json";
883
+ optional: false;
884
+ customType: {
885
+ id: string;
886
+ name: string;
887
+ aliasEmails: string[];
888
+ }[];
889
+ }, "optional"> & {
890
+ optional: true;
891
+ };
791
892
  };
792
893
  primaryKey: readonly [string, ...string[]];
793
894
  } & {
@@ -1430,6 +1531,15 @@ export declare const marcoZero: {
1430
1531
  } & {
1431
1532
  serverName: string;
1432
1533
  };
1534
+ readonly unsubscribeUrl: Omit<{
1535
+ type: "string";
1536
+ optional: false;
1537
+ customType: string;
1538
+ }, "optional"> & {
1539
+ optional: true;
1540
+ } & {
1541
+ serverName: string;
1542
+ };
1433
1543
  };
1434
1544
  primaryKey: readonly [string, ...string[]];
1435
1545
  } & {
@@ -1517,31 +1627,31 @@ export declare const marcoZero: {
1517
1627
  relationships: {
1518
1628
  readonly user: {
1519
1629
  accounts: [{
1520
- readonly sourceField: readonly ("id" | "profilePicture" | "undoSendEnabled" | "name")[];
1630
+ readonly sourceField: readonly ("id" | "profilePicture" | "undoSendEnabled" | "name" | "views")[];
1521
1631
  readonly destField: readonly ("id" | "userId" | "color" | "displayName" | "imapConnectionStatus" | "mailProcessedCount" | "mailTotalCount" | "primaryAliasId")[];
1522
1632
  readonly destSchema: "account";
1523
1633
  readonly cardinality: "many";
1524
1634
  }];
1525
1635
  contacts: [{
1526
- readonly sourceField: readonly ("id" | "profilePicture" | "undoSendEnabled" | "name")[];
1636
+ readonly sourceField: readonly ("id" | "profilePicture" | "undoSendEnabled" | "name" | "views")[];
1527
1637
  readonly destField: readonly ("id" | "name" | "userId" | "emailAddress")[];
1528
1638
  readonly destSchema: "contact";
1529
1639
  readonly cardinality: "many";
1530
1640
  }];
1531
1641
  drafts: [{
1532
- readonly sourceField: readonly ("id" | "profilePicture" | "undoSendEnabled" | "name")[];
1642
+ readonly sourceField: readonly ("id" | "profilePicture" | "undoSendEnabled" | "name" | "views")[];
1533
1643
  readonly destField: readonly ("type" | "status" | "id" | "userId" | "accountId" | "fromAliasId" | "fromEmail" | "fromName" | "referencedMessageId" | "scheduledFor" | "updatedAt" | "body" | "error" | "subject")[];
1534
1644
  readonly destSchema: "draft";
1535
1645
  readonly cardinality: "many";
1536
1646
  }];
1537
1647
  pushNotificationTokens: [{
1538
- readonly sourceField: readonly ("id" | "profilePicture" | "undoSendEnabled" | "name")[];
1648
+ readonly sourceField: readonly ("id" | "profilePicture" | "undoSendEnabled" | "name" | "views")[];
1539
1649
  readonly destField: readonly ("id" | "createdAt" | "token" | "userId")[];
1540
1650
  readonly destSchema: "userPushNotificationToken";
1541
1651
  readonly cardinality: "many";
1542
1652
  }];
1543
1653
  threads: [{
1544
- readonly sourceField: readonly ("id" | "profilePicture" | "undoSendEnabled" | "name")[];
1654
+ readonly sourceField: readonly ("id" | "profilePicture" | "undoSendEnabled" | "name" | "views")[];
1545
1655
  readonly destField: readonly ("id" | "userId" | "accountId" | "subject" | "flagged" | "hasAttachments" | "labelIdList" | "latestMessageDate" | "latestMessageId" | "messageCount" | "previewText" | "seen" | "senderEmail" | "senderName" | "words")[];
1546
1656
  readonly destSchema: "thread";
1547
1657
  readonly cardinality: "many";
@@ -1550,7 +1660,7 @@ export declare const marcoZero: {
1550
1660
  readonly userPushNotificationToken: {
1551
1661
  user: [{
1552
1662
  readonly sourceField: readonly ("id" | "createdAt" | "token" | "userId")[];
1553
- readonly destField: readonly ("id" | "profilePicture" | "undoSendEnabled" | "name")[];
1663
+ readonly destField: readonly ("id" | "profilePicture" | "undoSendEnabled" | "name" | "views")[];
1554
1664
  readonly destSchema: "user";
1555
1665
  readonly cardinality: "one";
1556
1666
  }];
@@ -1558,7 +1668,7 @@ export declare const marcoZero: {
1558
1668
  readonly contact: {
1559
1669
  user: [{
1560
1670
  readonly sourceField: readonly ("id" | "name" | "userId" | "emailAddress")[];
1561
- readonly destField: readonly ("id" | "profilePicture" | "undoSendEnabled" | "name")[];
1671
+ readonly destField: readonly ("id" | "profilePicture" | "undoSendEnabled" | "name" | "views")[];
1562
1672
  readonly destSchema: "user";
1563
1673
  readonly cardinality: "one";
1564
1674
  }];
@@ -1596,7 +1706,7 @@ export declare const marcoZero: {
1596
1706
  }];
1597
1707
  user: [{
1598
1708
  readonly sourceField: readonly ("id" | "userId" | "color" | "displayName" | "imapConnectionStatus" | "mailProcessedCount" | "mailTotalCount" | "primaryAliasId")[];
1599
- readonly destField: readonly ("id" | "profilePicture" | "undoSendEnabled" | "name")[];
1709
+ readonly destField: readonly ("id" | "profilePicture" | "undoSendEnabled" | "name" | "views")[];
1600
1710
  readonly destSchema: "user";
1601
1711
  readonly cardinality: "one";
1602
1712
  }];
@@ -1643,7 +1753,7 @@ export declare const marcoZero: {
1643
1753
  }];
1644
1754
  user: [{
1645
1755
  readonly sourceField: readonly ("type" | "status" | "id" | "userId" | "accountId" | "fromAliasId" | "fromEmail" | "fromName" | "referencedMessageId" | "scheduledFor" | "updatedAt" | "body" | "error" | "subject")[];
1646
- readonly destField: readonly ("id" | "profilePicture" | "undoSendEnabled" | "name")[];
1756
+ readonly destField: readonly ("id" | "profilePicture" | "undoSendEnabled" | "name" | "views")[];
1647
1757
  readonly destSchema: "user";
1648
1758
  readonly cardinality: "one";
1649
1759
  }];
@@ -1676,7 +1786,7 @@ export declare const marcoZero: {
1676
1786
  }];
1677
1787
  messages: [{
1678
1788
  readonly sourceField: readonly ("id" | "userId" | "accountId" | "subject" | "flagged" | "hasAttachments" | "labelIdList" | "latestMessageDate" | "latestMessageId" | "messageCount" | "previewText" | "seen" | "senderEmail" | "senderName" | "words")[];
1679
- readonly destField: readonly ("id" | "accountId" | "previewText" | "senderEmail" | "senderName" | "threadId" | "envelopeDate" | "envelopeSubject")[];
1789
+ readonly destField: readonly ("id" | "accountId" | "previewText" | "senderEmail" | "senderName" | "threadId" | "envelopeDate" | "envelopeSubject" | "unsubscribeUrl")[];
1680
1790
  readonly destSchema: "threadMessage";
1681
1791
  readonly cardinality: "many";
1682
1792
  }];
@@ -1688,7 +1798,7 @@ export declare const marcoZero: {
1688
1798
  }];
1689
1799
  user: [{
1690
1800
  readonly sourceField: readonly ("id" | "userId" | "accountId" | "subject" | "flagged" | "hasAttachments" | "labelIdList" | "latestMessageDate" | "latestMessageId" | "messageCount" | "previewText" | "seen" | "senderEmail" | "senderName" | "words")[];
1691
- readonly destField: readonly ("id" | "profilePicture" | "undoSendEnabled" | "name")[];
1801
+ readonly destField: readonly ("id" | "profilePicture" | "undoSendEnabled" | "name" | "views")[];
1692
1802
  readonly destSchema: "user";
1693
1803
  readonly cardinality: "one";
1694
1804
  }];
@@ -1702,7 +1812,7 @@ export declare const marcoZero: {
1702
1812
  }];
1703
1813
  message: [{
1704
1814
  readonly sourceField: readonly ("accountId" | "uidValidity" | "labelId" | "lastSyncedAt" | "threadId" | "threadMessageId" | "uid")[];
1705
- readonly destField: readonly ("id" | "accountId" | "previewText" | "senderEmail" | "senderName" | "threadId" | "envelopeDate" | "envelopeSubject")[];
1815
+ readonly destField: readonly ("id" | "accountId" | "previewText" | "senderEmail" | "senderName" | "threadId" | "envelopeDate" | "envelopeSubject" | "unsubscribeUrl")[];
1706
1816
  readonly destSchema: "threadMessage";
1707
1817
  readonly cardinality: "one";
1708
1818
  }];
@@ -1729,13 +1839,13 @@ export declare const marcoZero: {
1729
1839
  };
1730
1840
  readonly threadMessage: {
1731
1841
  attachments: [{
1732
- readonly sourceField: readonly ("id" | "accountId" | "previewText" | "senderEmail" | "senderName" | "threadId" | "envelopeDate" | "envelopeSubject")[];
1842
+ readonly sourceField: readonly ("id" | "accountId" | "previewText" | "senderEmail" | "senderName" | "threadId" | "envelopeDate" | "envelopeSubject" | "unsubscribeUrl")[];
1733
1843
  readonly destField: readonly ("id" | "fileName" | "mimeType" | "threadMessageId" | "size")[];
1734
1844
  readonly destSchema: "threadMessageAttachment";
1735
1845
  readonly cardinality: "many";
1736
1846
  }];
1737
1847
  labels: [{
1738
- readonly sourceField: readonly ("id" | "accountId" | "previewText" | "senderEmail" | "senderName" | "threadId" | "envelopeDate" | "envelopeSubject")[];
1848
+ readonly sourceField: readonly ("id" | "accountId" | "previewText" | "senderEmail" | "senderName" | "threadId" | "envelopeDate" | "envelopeSubject" | "unsubscribeUrl")[];
1739
1849
  readonly destField: readonly ("accountId" | "uidValidity" | "labelId" | "lastSyncedAt" | "threadId" | "threadMessageId" | "uid")[];
1740
1850
  readonly destSchema: "threadLabel";
1741
1851
  readonly cardinality: "many";
@@ -1746,13 +1856,13 @@ export declare const marcoZero: {
1746
1856
  readonly cardinality: "many";
1747
1857
  }];
1748
1858
  recipients: [{
1749
- readonly sourceField: readonly ("id" | "accountId" | "previewText" | "senderEmail" | "senderName" | "threadId" | "envelopeDate" | "envelopeSubject")[];
1859
+ readonly sourceField: readonly ("id" | "accountId" | "previewText" | "senderEmail" | "senderName" | "threadId" | "envelopeDate" | "envelopeSubject" | "unsubscribeUrl")[];
1750
1860
  readonly destField: readonly ("type" | "id" | "name" | "emailAddress" | "threadMessageId")[];
1751
1861
  readonly destSchema: "threadMessageRecipient";
1752
1862
  readonly cardinality: "many";
1753
1863
  }];
1754
1864
  thread: [{
1755
- readonly sourceField: readonly ("id" | "accountId" | "previewText" | "senderEmail" | "senderName" | "threadId" | "envelopeDate" | "envelopeSubject")[];
1865
+ readonly sourceField: readonly ("id" | "accountId" | "previewText" | "senderEmail" | "senderName" | "threadId" | "envelopeDate" | "envelopeSubject" | "unsubscribeUrl")[];
1756
1866
  readonly destField: readonly ("id" | "userId" | "accountId" | "subject" | "flagged" | "hasAttachments" | "labelIdList" | "latestMessageDate" | "latestMessageId" | "messageCount" | "previewText" | "seen" | "senderEmail" | "senderName" | "words")[];
1757
1867
  readonly destSchema: "thread";
1758
1868
  readonly cardinality: "one";
@@ -1761,7 +1871,7 @@ export declare const marcoZero: {
1761
1871
  readonly threadMessageRecipient: {
1762
1872
  message: [{
1763
1873
  readonly sourceField: readonly ("type" | "id" | "name" | "emailAddress" | "threadMessageId")[];
1764
- readonly destField: readonly ("id" | "accountId" | "previewText" | "senderEmail" | "senderName" | "threadId" | "envelopeDate" | "envelopeSubject")[];
1874
+ readonly destField: readonly ("id" | "accountId" | "previewText" | "senderEmail" | "senderName" | "threadId" | "envelopeDate" | "envelopeSubject" | "unsubscribeUrl")[];
1765
1875
  readonly destSchema: "threadMessage";
1766
1876
  readonly cardinality: "one";
1767
1877
  }];
@@ -1769,7 +1879,7 @@ export declare const marcoZero: {
1769
1879
  readonly threadMessageAttachment: {
1770
1880
  message: [{
1771
1881
  readonly sourceField: readonly ("id" | "fileName" | "mimeType" | "threadMessageId" | "size")[];
1772
- readonly destField: readonly ("id" | "accountId" | "previewText" | "senderEmail" | "senderName" | "threadId" | "envelopeDate" | "envelopeSubject")[];
1882
+ readonly destField: readonly ("id" | "accountId" | "previewText" | "senderEmail" | "senderName" | "threadId" | "envelopeDate" | "envelopeSubject" | "unsubscribeUrl")[];
1773
1883
  readonly destSchema: "threadMessage";
1774
1884
  readonly cardinality: "one";
1775
1885
  }];
@@ -1873,6 +1983,7 @@ export declare const marcoZero: {
1873
1983
  readonly senderEmail: string;
1874
1984
  readonly senderName: string | null;
1875
1985
  readonly threadId: string;
1986
+ readonly unsubscribeUrl: string | null;
1876
1987
  } & {
1877
1988
  readonly recipients: readonly {
1878
1989
  readonly emailAddress: string;
@@ -1906,6 +2017,7 @@ export declare const marcoZero: {
1906
2017
  readonly senderEmail: string;
1907
2018
  readonly senderName: string | null;
1908
2019
  readonly threadId: string;
2020
+ readonly unsubscribeUrl: string | null;
1909
2021
  } & {
1910
2022
  readonly thread: {
1911
2023
  readonly accountId: string;
@@ -2027,6 +2139,7 @@ export declare const marcoZero: {
2027
2139
  readonly senderEmail: string;
2028
2140
  readonly senderName: string | null;
2029
2141
  readonly threadId: string;
2142
+ readonly unsubscribeUrl: string | null;
2030
2143
  } & {
2031
2144
  readonly recipients: readonly {
2032
2145
  readonly emailAddress: string;
@@ -2053,6 +2166,11 @@ export declare const marcoZero: {
2053
2166
  readonly name: string | null;
2054
2167
  readonly profilePicture: string | null;
2055
2168
  readonly undoSendEnabled: boolean;
2169
+ readonly views: {
2170
+ id: string;
2171
+ name: string;
2172
+ aliasEmails: string[];
2173
+ }[] | null;
2056
2174
  } & {
2057
2175
  readonly accounts: readonly ({
2058
2176
  readonly color: string;
@@ -2133,6 +2251,17 @@ export declare const marcoZero: {
2133
2251
  } & {
2134
2252
  serverName: string;
2135
2253
  };
2254
+ readonly views: Omit<{
2255
+ type: "json";
2256
+ optional: false;
2257
+ customType: {
2258
+ id: string;
2259
+ name: string;
2260
+ aliasEmails: string[];
2261
+ }[];
2262
+ }, "optional"> & {
2263
+ optional: true;
2264
+ };
2136
2265
  };
2137
2266
  primaryKey: readonly [string, ...string[]];
2138
2267
  } & {
@@ -2775,6 +2904,15 @@ export declare const marcoZero: {
2775
2904
  } & {
2776
2905
  serverName: string;
2777
2906
  };
2907
+ readonly unsubscribeUrl: Omit<{
2908
+ type: "string";
2909
+ optional: false;
2910
+ customType: string;
2911
+ }, "optional"> & {
2912
+ optional: true;
2913
+ } & {
2914
+ serverName: string;
2915
+ };
2778
2916
  };
2779
2917
  primaryKey: readonly [string, ...string[]];
2780
2918
  } & {
@@ -2862,31 +3000,31 @@ export declare const marcoZero: {
2862
3000
  relationships: {
2863
3001
  readonly user: {
2864
3002
  accounts: [{
2865
- readonly sourceField: readonly ("id" | "profilePicture" | "undoSendEnabled" | "name")[];
3003
+ readonly sourceField: readonly ("id" | "profilePicture" | "undoSendEnabled" | "name" | "views")[];
2866
3004
  readonly destField: readonly ("id" | "userId" | "color" | "displayName" | "imapConnectionStatus" | "mailProcessedCount" | "mailTotalCount" | "primaryAliasId")[];
2867
3005
  readonly destSchema: "account";
2868
3006
  readonly cardinality: "many";
2869
3007
  }];
2870
3008
  contacts: [{
2871
- readonly sourceField: readonly ("id" | "profilePicture" | "undoSendEnabled" | "name")[];
3009
+ readonly sourceField: readonly ("id" | "profilePicture" | "undoSendEnabled" | "name" | "views")[];
2872
3010
  readonly destField: readonly ("id" | "name" | "userId" | "emailAddress")[];
2873
3011
  readonly destSchema: "contact";
2874
3012
  readonly cardinality: "many";
2875
3013
  }];
2876
3014
  drafts: [{
2877
- readonly sourceField: readonly ("id" | "profilePicture" | "undoSendEnabled" | "name")[];
3015
+ readonly sourceField: readonly ("id" | "profilePicture" | "undoSendEnabled" | "name" | "views")[];
2878
3016
  readonly destField: readonly ("type" | "status" | "id" | "userId" | "accountId" | "fromAliasId" | "fromEmail" | "fromName" | "referencedMessageId" | "scheduledFor" | "updatedAt" | "body" | "error" | "subject")[];
2879
3017
  readonly destSchema: "draft";
2880
3018
  readonly cardinality: "many";
2881
3019
  }];
2882
3020
  pushNotificationTokens: [{
2883
- readonly sourceField: readonly ("id" | "profilePicture" | "undoSendEnabled" | "name")[];
3021
+ readonly sourceField: readonly ("id" | "profilePicture" | "undoSendEnabled" | "name" | "views")[];
2884
3022
  readonly destField: readonly ("id" | "createdAt" | "token" | "userId")[];
2885
3023
  readonly destSchema: "userPushNotificationToken";
2886
3024
  readonly cardinality: "many";
2887
3025
  }];
2888
3026
  threads: [{
2889
- readonly sourceField: readonly ("id" | "profilePicture" | "undoSendEnabled" | "name")[];
3027
+ readonly sourceField: readonly ("id" | "profilePicture" | "undoSendEnabled" | "name" | "views")[];
2890
3028
  readonly destField: readonly ("id" | "userId" | "accountId" | "subject" | "flagged" | "hasAttachments" | "labelIdList" | "latestMessageDate" | "latestMessageId" | "messageCount" | "previewText" | "seen" | "senderEmail" | "senderName" | "words")[];
2891
3029
  readonly destSchema: "thread";
2892
3030
  readonly cardinality: "many";
@@ -2895,7 +3033,7 @@ export declare const marcoZero: {
2895
3033
  readonly userPushNotificationToken: {
2896
3034
  user: [{
2897
3035
  readonly sourceField: readonly ("id" | "createdAt" | "token" | "userId")[];
2898
- readonly destField: readonly ("id" | "profilePicture" | "undoSendEnabled" | "name")[];
3036
+ readonly destField: readonly ("id" | "profilePicture" | "undoSendEnabled" | "name" | "views")[];
2899
3037
  readonly destSchema: "user";
2900
3038
  readonly cardinality: "one";
2901
3039
  }];
@@ -2903,7 +3041,7 @@ export declare const marcoZero: {
2903
3041
  readonly contact: {
2904
3042
  user: [{
2905
3043
  readonly sourceField: readonly ("id" | "name" | "userId" | "emailAddress")[];
2906
- readonly destField: readonly ("id" | "profilePicture" | "undoSendEnabled" | "name")[];
3044
+ readonly destField: readonly ("id" | "profilePicture" | "undoSendEnabled" | "name" | "views")[];
2907
3045
  readonly destSchema: "user";
2908
3046
  readonly cardinality: "one";
2909
3047
  }];
@@ -2941,7 +3079,7 @@ export declare const marcoZero: {
2941
3079
  }];
2942
3080
  user: [{
2943
3081
  readonly sourceField: readonly ("id" | "userId" | "color" | "displayName" | "imapConnectionStatus" | "mailProcessedCount" | "mailTotalCount" | "primaryAliasId")[];
2944
- readonly destField: readonly ("id" | "profilePicture" | "undoSendEnabled" | "name")[];
3082
+ readonly destField: readonly ("id" | "profilePicture" | "undoSendEnabled" | "name" | "views")[];
2945
3083
  readonly destSchema: "user";
2946
3084
  readonly cardinality: "one";
2947
3085
  }];
@@ -2988,7 +3126,7 @@ export declare const marcoZero: {
2988
3126
  }];
2989
3127
  user: [{
2990
3128
  readonly sourceField: readonly ("type" | "status" | "id" | "userId" | "accountId" | "fromAliasId" | "fromEmail" | "fromName" | "referencedMessageId" | "scheduledFor" | "updatedAt" | "body" | "error" | "subject")[];
2991
- readonly destField: readonly ("id" | "profilePicture" | "undoSendEnabled" | "name")[];
3129
+ readonly destField: readonly ("id" | "profilePicture" | "undoSendEnabled" | "name" | "views")[];
2992
3130
  readonly destSchema: "user";
2993
3131
  readonly cardinality: "one";
2994
3132
  }];
@@ -3021,7 +3159,7 @@ export declare const marcoZero: {
3021
3159
  }];
3022
3160
  messages: [{
3023
3161
  readonly sourceField: readonly ("id" | "userId" | "accountId" | "subject" | "flagged" | "hasAttachments" | "labelIdList" | "latestMessageDate" | "latestMessageId" | "messageCount" | "previewText" | "seen" | "senderEmail" | "senderName" | "words")[];
3024
- readonly destField: readonly ("id" | "accountId" | "previewText" | "senderEmail" | "senderName" | "threadId" | "envelopeDate" | "envelopeSubject")[];
3162
+ readonly destField: readonly ("id" | "accountId" | "previewText" | "senderEmail" | "senderName" | "threadId" | "envelopeDate" | "envelopeSubject" | "unsubscribeUrl")[];
3025
3163
  readonly destSchema: "threadMessage";
3026
3164
  readonly cardinality: "many";
3027
3165
  }];
@@ -3033,7 +3171,7 @@ export declare const marcoZero: {
3033
3171
  }];
3034
3172
  user: [{
3035
3173
  readonly sourceField: readonly ("id" | "userId" | "accountId" | "subject" | "flagged" | "hasAttachments" | "labelIdList" | "latestMessageDate" | "latestMessageId" | "messageCount" | "previewText" | "seen" | "senderEmail" | "senderName" | "words")[];
3036
- readonly destField: readonly ("id" | "profilePicture" | "undoSendEnabled" | "name")[];
3174
+ readonly destField: readonly ("id" | "profilePicture" | "undoSendEnabled" | "name" | "views")[];
3037
3175
  readonly destSchema: "user";
3038
3176
  readonly cardinality: "one";
3039
3177
  }];
@@ -3047,7 +3185,7 @@ export declare const marcoZero: {
3047
3185
  }];
3048
3186
  message: [{
3049
3187
  readonly sourceField: readonly ("accountId" | "uidValidity" | "labelId" | "lastSyncedAt" | "threadId" | "threadMessageId" | "uid")[];
3050
- readonly destField: readonly ("id" | "accountId" | "previewText" | "senderEmail" | "senderName" | "threadId" | "envelopeDate" | "envelopeSubject")[];
3188
+ readonly destField: readonly ("id" | "accountId" | "previewText" | "senderEmail" | "senderName" | "threadId" | "envelopeDate" | "envelopeSubject" | "unsubscribeUrl")[];
3051
3189
  readonly destSchema: "threadMessage";
3052
3190
  readonly cardinality: "one";
3053
3191
  }];
@@ -3074,13 +3212,13 @@ export declare const marcoZero: {
3074
3212
  };
3075
3213
  readonly threadMessage: {
3076
3214
  attachments: [{
3077
- readonly sourceField: readonly ("id" | "accountId" | "previewText" | "senderEmail" | "senderName" | "threadId" | "envelopeDate" | "envelopeSubject")[];
3215
+ readonly sourceField: readonly ("id" | "accountId" | "previewText" | "senderEmail" | "senderName" | "threadId" | "envelopeDate" | "envelopeSubject" | "unsubscribeUrl")[];
3078
3216
  readonly destField: readonly ("id" | "fileName" | "mimeType" | "threadMessageId" | "size")[];
3079
3217
  readonly destSchema: "threadMessageAttachment";
3080
3218
  readonly cardinality: "many";
3081
3219
  }];
3082
3220
  labels: [{
3083
- readonly sourceField: readonly ("id" | "accountId" | "previewText" | "senderEmail" | "senderName" | "threadId" | "envelopeDate" | "envelopeSubject")[];
3221
+ readonly sourceField: readonly ("id" | "accountId" | "previewText" | "senderEmail" | "senderName" | "threadId" | "envelopeDate" | "envelopeSubject" | "unsubscribeUrl")[];
3084
3222
  readonly destField: readonly ("accountId" | "uidValidity" | "labelId" | "lastSyncedAt" | "threadId" | "threadMessageId" | "uid")[];
3085
3223
  readonly destSchema: "threadLabel";
3086
3224
  readonly cardinality: "many";
@@ -3091,13 +3229,13 @@ export declare const marcoZero: {
3091
3229
  readonly cardinality: "many";
3092
3230
  }];
3093
3231
  recipients: [{
3094
- readonly sourceField: readonly ("id" | "accountId" | "previewText" | "senderEmail" | "senderName" | "threadId" | "envelopeDate" | "envelopeSubject")[];
3232
+ readonly sourceField: readonly ("id" | "accountId" | "previewText" | "senderEmail" | "senderName" | "threadId" | "envelopeDate" | "envelopeSubject" | "unsubscribeUrl")[];
3095
3233
  readonly destField: readonly ("type" | "id" | "name" | "emailAddress" | "threadMessageId")[];
3096
3234
  readonly destSchema: "threadMessageRecipient";
3097
3235
  readonly cardinality: "many";
3098
3236
  }];
3099
3237
  thread: [{
3100
- readonly sourceField: readonly ("id" | "accountId" | "previewText" | "senderEmail" | "senderName" | "threadId" | "envelopeDate" | "envelopeSubject")[];
3238
+ readonly sourceField: readonly ("id" | "accountId" | "previewText" | "senderEmail" | "senderName" | "threadId" | "envelopeDate" | "envelopeSubject" | "unsubscribeUrl")[];
3101
3239
  readonly destField: readonly ("id" | "userId" | "accountId" | "subject" | "flagged" | "hasAttachments" | "labelIdList" | "latestMessageDate" | "latestMessageId" | "messageCount" | "previewText" | "seen" | "senderEmail" | "senderName" | "words")[];
3102
3240
  readonly destSchema: "thread";
3103
3241
  readonly cardinality: "one";
@@ -3106,7 +3244,7 @@ export declare const marcoZero: {
3106
3244
  readonly threadMessageRecipient: {
3107
3245
  message: [{
3108
3246
  readonly sourceField: readonly ("type" | "id" | "name" | "emailAddress" | "threadMessageId")[];
3109
- readonly destField: readonly ("id" | "accountId" | "previewText" | "senderEmail" | "senderName" | "threadId" | "envelopeDate" | "envelopeSubject")[];
3247
+ readonly destField: readonly ("id" | "accountId" | "previewText" | "senderEmail" | "senderName" | "threadId" | "envelopeDate" | "envelopeSubject" | "unsubscribeUrl")[];
3110
3248
  readonly destSchema: "threadMessage";
3111
3249
  readonly cardinality: "one";
3112
3250
  }];
@@ -3114,7 +3252,7 @@ export declare const marcoZero: {
3114
3252
  readonly threadMessageAttachment: {
3115
3253
  message: [{
3116
3254
  readonly sourceField: readonly ("id" | "fileName" | "mimeType" | "threadMessageId" | "size")[];
3117
- readonly destField: readonly ("id" | "accountId" | "previewText" | "senderEmail" | "senderName" | "threadId" | "envelopeDate" | "envelopeSubject")[];
3255
+ readonly destField: readonly ("id" | "accountId" | "previewText" | "senderEmail" | "senderName" | "threadId" | "envelopeDate" | "envelopeSubject" | "unsubscribeUrl")[];
3118
3256
  readonly destSchema: "threadMessage";
3119
3257
  readonly cardinality: "one";
3120
3258
  }];
@@ -3156,6 +3294,17 @@ export declare const marcoZero: {
3156
3294
  } & {
3157
3295
  serverName: string;
3158
3296
  };
3297
+ readonly views: Omit<{
3298
+ type: "json";
3299
+ optional: false;
3300
+ customType: {
3301
+ id: string;
3302
+ name: string;
3303
+ aliasEmails: string[];
3304
+ }[];
3305
+ }, "optional"> & {
3306
+ optional: true;
3307
+ };
3159
3308
  };
3160
3309
  primaryKey: readonly [string, ...string[]];
3161
3310
  } & {
@@ -3798,6 +3947,15 @@ export declare const marcoZero: {
3798
3947
  } & {
3799
3948
  serverName: string;
3800
3949
  };
3950
+ readonly unsubscribeUrl: Omit<{
3951
+ type: "string";
3952
+ optional: false;
3953
+ customType: string;
3954
+ }, "optional"> & {
3955
+ optional: true;
3956
+ } & {
3957
+ serverName: string;
3958
+ };
3801
3959
  };
3802
3960
  primaryKey: readonly [string, ...string[]];
3803
3961
  } & {
@@ -3885,31 +4043,31 @@ export declare const marcoZero: {
3885
4043
  relationships: {
3886
4044
  readonly user: {
3887
4045
  accounts: [{
3888
- readonly sourceField: readonly ("id" | "profilePicture" | "undoSendEnabled" | "name")[];
4046
+ readonly sourceField: readonly ("id" | "profilePicture" | "undoSendEnabled" | "name" | "views")[];
3889
4047
  readonly destField: readonly ("id" | "userId" | "color" | "displayName" | "imapConnectionStatus" | "mailProcessedCount" | "mailTotalCount" | "primaryAliasId")[];
3890
4048
  readonly destSchema: "account";
3891
4049
  readonly cardinality: "many";
3892
4050
  }];
3893
4051
  contacts: [{
3894
- readonly sourceField: readonly ("id" | "profilePicture" | "undoSendEnabled" | "name")[];
4052
+ readonly sourceField: readonly ("id" | "profilePicture" | "undoSendEnabled" | "name" | "views")[];
3895
4053
  readonly destField: readonly ("id" | "name" | "userId" | "emailAddress")[];
3896
4054
  readonly destSchema: "contact";
3897
4055
  readonly cardinality: "many";
3898
4056
  }];
3899
4057
  drafts: [{
3900
- readonly sourceField: readonly ("id" | "profilePicture" | "undoSendEnabled" | "name")[];
4058
+ readonly sourceField: readonly ("id" | "profilePicture" | "undoSendEnabled" | "name" | "views")[];
3901
4059
  readonly destField: readonly ("type" | "status" | "id" | "userId" | "accountId" | "fromAliasId" | "fromEmail" | "fromName" | "referencedMessageId" | "scheduledFor" | "updatedAt" | "body" | "error" | "subject")[];
3902
4060
  readonly destSchema: "draft";
3903
4061
  readonly cardinality: "many";
3904
4062
  }];
3905
4063
  pushNotificationTokens: [{
3906
- readonly sourceField: readonly ("id" | "profilePicture" | "undoSendEnabled" | "name")[];
4064
+ readonly sourceField: readonly ("id" | "profilePicture" | "undoSendEnabled" | "name" | "views")[];
3907
4065
  readonly destField: readonly ("id" | "createdAt" | "token" | "userId")[];
3908
4066
  readonly destSchema: "userPushNotificationToken";
3909
4067
  readonly cardinality: "many";
3910
4068
  }];
3911
4069
  threads: [{
3912
- readonly sourceField: readonly ("id" | "profilePicture" | "undoSendEnabled" | "name")[];
4070
+ readonly sourceField: readonly ("id" | "profilePicture" | "undoSendEnabled" | "name" | "views")[];
3913
4071
  readonly destField: readonly ("id" | "userId" | "accountId" | "subject" | "flagged" | "hasAttachments" | "labelIdList" | "latestMessageDate" | "latestMessageId" | "messageCount" | "previewText" | "seen" | "senderEmail" | "senderName" | "words")[];
3914
4072
  readonly destSchema: "thread";
3915
4073
  readonly cardinality: "many";
@@ -3918,7 +4076,7 @@ export declare const marcoZero: {
3918
4076
  readonly userPushNotificationToken: {
3919
4077
  user: [{
3920
4078
  readonly sourceField: readonly ("id" | "createdAt" | "token" | "userId")[];
3921
- readonly destField: readonly ("id" | "profilePicture" | "undoSendEnabled" | "name")[];
4079
+ readonly destField: readonly ("id" | "profilePicture" | "undoSendEnabled" | "name" | "views")[];
3922
4080
  readonly destSchema: "user";
3923
4081
  readonly cardinality: "one";
3924
4082
  }];
@@ -3926,7 +4084,7 @@ export declare const marcoZero: {
3926
4084
  readonly contact: {
3927
4085
  user: [{
3928
4086
  readonly sourceField: readonly ("id" | "name" | "userId" | "emailAddress")[];
3929
- readonly destField: readonly ("id" | "profilePicture" | "undoSendEnabled" | "name")[];
4087
+ readonly destField: readonly ("id" | "profilePicture" | "undoSendEnabled" | "name" | "views")[];
3930
4088
  readonly destSchema: "user";
3931
4089
  readonly cardinality: "one";
3932
4090
  }];
@@ -3964,7 +4122,7 @@ export declare const marcoZero: {
3964
4122
  }];
3965
4123
  user: [{
3966
4124
  readonly sourceField: readonly ("id" | "userId" | "color" | "displayName" | "imapConnectionStatus" | "mailProcessedCount" | "mailTotalCount" | "primaryAliasId")[];
3967
- readonly destField: readonly ("id" | "profilePicture" | "undoSendEnabled" | "name")[];
4125
+ readonly destField: readonly ("id" | "profilePicture" | "undoSendEnabled" | "name" | "views")[];
3968
4126
  readonly destSchema: "user";
3969
4127
  readonly cardinality: "one";
3970
4128
  }];
@@ -4011,7 +4169,7 @@ export declare const marcoZero: {
4011
4169
  }];
4012
4170
  user: [{
4013
4171
  readonly sourceField: readonly ("type" | "status" | "id" | "userId" | "accountId" | "fromAliasId" | "fromEmail" | "fromName" | "referencedMessageId" | "scheduledFor" | "updatedAt" | "body" | "error" | "subject")[];
4014
- readonly destField: readonly ("id" | "profilePicture" | "undoSendEnabled" | "name")[];
4172
+ readonly destField: readonly ("id" | "profilePicture" | "undoSendEnabled" | "name" | "views")[];
4015
4173
  readonly destSchema: "user";
4016
4174
  readonly cardinality: "one";
4017
4175
  }];
@@ -4044,7 +4202,7 @@ export declare const marcoZero: {
4044
4202
  }];
4045
4203
  messages: [{
4046
4204
  readonly sourceField: readonly ("id" | "userId" | "accountId" | "subject" | "flagged" | "hasAttachments" | "labelIdList" | "latestMessageDate" | "latestMessageId" | "messageCount" | "previewText" | "seen" | "senderEmail" | "senderName" | "words")[];
4047
- readonly destField: readonly ("id" | "accountId" | "previewText" | "senderEmail" | "senderName" | "threadId" | "envelopeDate" | "envelopeSubject")[];
4205
+ readonly destField: readonly ("id" | "accountId" | "previewText" | "senderEmail" | "senderName" | "threadId" | "envelopeDate" | "envelopeSubject" | "unsubscribeUrl")[];
4048
4206
  readonly destSchema: "threadMessage";
4049
4207
  readonly cardinality: "many";
4050
4208
  }];
@@ -4056,7 +4214,7 @@ export declare const marcoZero: {
4056
4214
  }];
4057
4215
  user: [{
4058
4216
  readonly sourceField: readonly ("id" | "userId" | "accountId" | "subject" | "flagged" | "hasAttachments" | "labelIdList" | "latestMessageDate" | "latestMessageId" | "messageCount" | "previewText" | "seen" | "senderEmail" | "senderName" | "words")[];
4059
- readonly destField: readonly ("id" | "profilePicture" | "undoSendEnabled" | "name")[];
4217
+ readonly destField: readonly ("id" | "profilePicture" | "undoSendEnabled" | "name" | "views")[];
4060
4218
  readonly destSchema: "user";
4061
4219
  readonly cardinality: "one";
4062
4220
  }];
@@ -4070,7 +4228,7 @@ export declare const marcoZero: {
4070
4228
  }];
4071
4229
  message: [{
4072
4230
  readonly sourceField: readonly ("accountId" | "uidValidity" | "labelId" | "lastSyncedAt" | "threadId" | "threadMessageId" | "uid")[];
4073
- readonly destField: readonly ("id" | "accountId" | "previewText" | "senderEmail" | "senderName" | "threadId" | "envelopeDate" | "envelopeSubject")[];
4231
+ readonly destField: readonly ("id" | "accountId" | "previewText" | "senderEmail" | "senderName" | "threadId" | "envelopeDate" | "envelopeSubject" | "unsubscribeUrl")[];
4074
4232
  readonly destSchema: "threadMessage";
4075
4233
  readonly cardinality: "one";
4076
4234
  }];
@@ -4097,13 +4255,13 @@ export declare const marcoZero: {
4097
4255
  };
4098
4256
  readonly threadMessage: {
4099
4257
  attachments: [{
4100
- readonly sourceField: readonly ("id" | "accountId" | "previewText" | "senderEmail" | "senderName" | "threadId" | "envelopeDate" | "envelopeSubject")[];
4258
+ readonly sourceField: readonly ("id" | "accountId" | "previewText" | "senderEmail" | "senderName" | "threadId" | "envelopeDate" | "envelopeSubject" | "unsubscribeUrl")[];
4101
4259
  readonly destField: readonly ("id" | "fileName" | "mimeType" | "threadMessageId" | "size")[];
4102
4260
  readonly destSchema: "threadMessageAttachment";
4103
4261
  readonly cardinality: "many";
4104
4262
  }];
4105
4263
  labels: [{
4106
- readonly sourceField: readonly ("id" | "accountId" | "previewText" | "senderEmail" | "senderName" | "threadId" | "envelopeDate" | "envelopeSubject")[];
4264
+ readonly sourceField: readonly ("id" | "accountId" | "previewText" | "senderEmail" | "senderName" | "threadId" | "envelopeDate" | "envelopeSubject" | "unsubscribeUrl")[];
4107
4265
  readonly destField: readonly ("accountId" | "uidValidity" | "labelId" | "lastSyncedAt" | "threadId" | "threadMessageId" | "uid")[];
4108
4266
  readonly destSchema: "threadLabel";
4109
4267
  readonly cardinality: "many";
@@ -4114,13 +4272,13 @@ export declare const marcoZero: {
4114
4272
  readonly cardinality: "many";
4115
4273
  }];
4116
4274
  recipients: [{
4117
- readonly sourceField: readonly ("id" | "accountId" | "previewText" | "senderEmail" | "senderName" | "threadId" | "envelopeDate" | "envelopeSubject")[];
4275
+ readonly sourceField: readonly ("id" | "accountId" | "previewText" | "senderEmail" | "senderName" | "threadId" | "envelopeDate" | "envelopeSubject" | "unsubscribeUrl")[];
4118
4276
  readonly destField: readonly ("type" | "id" | "name" | "emailAddress" | "threadMessageId")[];
4119
4277
  readonly destSchema: "threadMessageRecipient";
4120
4278
  readonly cardinality: "many";
4121
4279
  }];
4122
4280
  thread: [{
4123
- readonly sourceField: readonly ("id" | "accountId" | "previewText" | "senderEmail" | "senderName" | "threadId" | "envelopeDate" | "envelopeSubject")[];
4281
+ readonly sourceField: readonly ("id" | "accountId" | "previewText" | "senderEmail" | "senderName" | "threadId" | "envelopeDate" | "envelopeSubject" | "unsubscribeUrl")[];
4124
4282
  readonly destField: readonly ("id" | "userId" | "accountId" | "subject" | "flagged" | "hasAttachments" | "labelIdList" | "latestMessageDate" | "latestMessageId" | "messageCount" | "previewText" | "seen" | "senderEmail" | "senderName" | "words")[];
4125
4283
  readonly destSchema: "thread";
4126
4284
  readonly cardinality: "one";
@@ -4129,7 +4287,7 @@ export declare const marcoZero: {
4129
4287
  readonly threadMessageRecipient: {
4130
4288
  message: [{
4131
4289
  readonly sourceField: readonly ("type" | "id" | "name" | "emailAddress" | "threadMessageId")[];
4132
- readonly destField: readonly ("id" | "accountId" | "previewText" | "senderEmail" | "senderName" | "threadId" | "envelopeDate" | "envelopeSubject")[];
4290
+ readonly destField: readonly ("id" | "accountId" | "previewText" | "senderEmail" | "senderName" | "threadId" | "envelopeDate" | "envelopeSubject" | "unsubscribeUrl")[];
4133
4291
  readonly destSchema: "threadMessage";
4134
4292
  readonly cardinality: "one";
4135
4293
  }];
@@ -4137,7 +4295,7 @@ export declare const marcoZero: {
4137
4295
  readonly threadMessageAttachment: {
4138
4296
  message: [{
4139
4297
  readonly sourceField: readonly ("id" | "fileName" | "mimeType" | "threadMessageId" | "size")[];
4140
- readonly destField: readonly ("id" | "accountId" | "previewText" | "senderEmail" | "senderName" | "threadId" | "envelopeDate" | "envelopeSubject")[];
4298
+ readonly destField: readonly ("id" | "accountId" | "previewText" | "senderEmail" | "senderName" | "threadId" | "envelopeDate" | "envelopeSubject" | "unsubscribeUrl")[];
4141
4299
  readonly destSchema: "threadMessage";
4142
4300
  readonly cardinality: "one";
4143
4301
  }];
@@ -4752,6 +4910,15 @@ export declare const marcoZero: {
4752
4910
  } & {
4753
4911
  serverName: string;
4754
4912
  };
4913
+ readonly unsubscribeUrl: Omit<{
4914
+ type: "string";
4915
+ optional: false;
4916
+ customType: string;
4917
+ }, "optional"> & {
4918
+ optional: true;
4919
+ } & {
4920
+ serverName: string;
4921
+ };
4755
4922
  };
4756
4923
  primaryKey: readonly [string, ...string[]];
4757
4924
  } & {
@@ -4866,6 +5033,17 @@ export declare const marcoZero: {
4866
5033
  } & {
4867
5034
  serverName: string;
4868
5035
  };
5036
+ readonly views: Omit<{
5037
+ type: "json";
5038
+ optional: false;
5039
+ customType: {
5040
+ id: string;
5041
+ name: string;
5042
+ aliasEmails: string[];
5043
+ }[];
5044
+ }, "optional"> & {
5045
+ optional: true;
5046
+ };
4869
5047
  };
4870
5048
  primaryKey: readonly [string, ...string[]];
4871
5049
  } & {