@oxy.so/contracts 4.14.0 → 4.15.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (51) hide show
  1. package/dist/cjs/.tsbuildinfo +1 -1
  2. package/dist/cjs/index.js +2 -1
  3. package/dist/cjs/products/billing.js +1 -0
  4. package/dist/cjs/products/checkout.js +14 -1
  5. package/dist/cjs/products/plans.js +18 -2
  6. package/dist/cjs/userResponse.js +8 -1
  7. package/dist/esm/.tsbuildinfo +1 -1
  8. package/dist/esm/index.js +1 -1
  9. package/dist/esm/products/billing.js +1 -0
  10. package/dist/esm/products/checkout.js +13 -0
  11. package/dist/esm/products/plans.js +17 -1
  12. package/dist/esm/userResponse.js +8 -1
  13. package/dist/types/.tsbuildinfo +1 -1
  14. package/dist/types/accountGraph.d.ts +22 -22
  15. package/dist/types/accountSubject.d.ts +4 -4
  16. package/dist/types/agency.d.ts +86 -86
  17. package/dist/types/deviceDirectory.d.ts +180 -180
  18. package/dist/types/email/messages.d.ts +78 -78
  19. package/dist/types/externalIdentity.d.ts +92 -59
  20. package/dist/types/index.d.ts +1 -1
  21. package/dist/types/inference/accountBilling.d.ts +36 -36
  22. package/dist/types/inference/catalogue.d.ts +12 -12
  23. package/dist/types/inference/decisions.d.ts +16 -16
  24. package/dist/types/inference/economics.d.ts +6 -6
  25. package/dist/types/inference/embeddings.d.ts +18 -18
  26. package/dist/types/inference/entitlement.d.ts +12 -12
  27. package/dist/types/inference/errors.d.ts +4 -4
  28. package/dist/types/inference/inbox.d.ts +17 -17
  29. package/dist/types/inference/priceVersion.d.ts +8 -8
  30. package/dist/types/inference/privateAutoExecution.d.ts +12 -12
  31. package/dist/types/inference/providerConnection.d.ts +24 -24
  32. package/dist/types/inference/realtime.d.ts +26 -26
  33. package/dist/types/inference/request.d.ts +26 -26
  34. package/dist/types/inference/routingPolicy.d.ts +4 -4
  35. package/dist/types/inference/scopedExecution.d.ts +8 -8
  36. package/dist/types/inference/streamEvents.d.ts +20 -20
  37. package/dist/types/inference/usage.d.ts +8 -8
  38. package/dist/types/keyRecovery.d.ts +4 -4
  39. package/dist/types/linkedAccounts.d.ts +16 -16
  40. package/dist/types/notifications.d.ts +4 -4
  41. package/dist/types/oauth.d.ts +40 -40
  42. package/dist/types/products/access.d.ts +18 -18
  43. package/dist/types/products/billing.d.ts +32 -24
  44. package/dist/types/products/checkout.d.ts +36 -0
  45. package/dist/types/products/plans.d.ts +108 -11
  46. package/dist/types/recommendations.d.ts +30 -30
  47. package/dist/types/safety.d.ts +2 -2
  48. package/dist/types/sessionStatus.d.ts +6 -6
  49. package/dist/types/stickers.d.ts +32 -32
  50. package/dist/types/userResponse.d.ts +247 -111
  51. package/package.json +1 -1
@@ -170,16 +170,16 @@ export declare const emailMessageDeliverySchema: z.ZodObject<{
170
170
  updatedAt: z.ZodString;
171
171
  }, "strip", z.ZodTypeAny, {
172
172
  updatedAt: string;
173
- state: "failed" | "sent" | "sending" | "retrying";
174
173
  error: string | null;
174
+ state: "failed" | "sent" | "sending" | "retrying";
175
175
  attempts: number;
176
176
  maxAttempts: number;
177
177
  nextAttemptAt: string | null;
178
178
  errorCode: "rejected" | "cancelled" | "relay_unavailable" | "relay_unconfigured" | "relay_auth" | "retries_exhausted" | "bounced" | null;
179
179
  }, {
180
180
  updatedAt: string;
181
- state: "failed" | "sent" | "sending" | "retrying";
182
181
  error: string | null;
182
+ state: "failed" | "sent" | "sending" | "retrying";
183
183
  attempts: number;
184
184
  maxAttempts: number;
185
185
  nextAttemptAt: string | null;
@@ -365,16 +365,16 @@ export declare const emailMessageSchema: z.ZodObject<{
365
365
  updatedAt: z.ZodString;
366
366
  }, "strip", z.ZodTypeAny, {
367
367
  updatedAt: string;
368
- state: "failed" | "sent" | "sending" | "retrying";
369
368
  error: string | null;
369
+ state: "failed" | "sent" | "sending" | "retrying";
370
370
  attempts: number;
371
371
  maxAttempts: number;
372
372
  nextAttemptAt: string | null;
373
373
  errorCode: "rejected" | "cancelled" | "relay_unavailable" | "relay_unconfigured" | "relay_auth" | "retries_exhausted" | "bounced" | null;
374
374
  }, {
375
375
  updatedAt: string;
376
- state: "failed" | "sent" | "sending" | "retrying";
377
376
  error: string | null;
377
+ state: "failed" | "sent" | "sending" | "retrying";
378
378
  attempts: number;
379
379
  maxAttempts: number;
380
380
  nextAttemptAt: string | null;
@@ -382,9 +382,9 @@ export declare const emailMessageSchema: z.ZodObject<{
382
382
  }>>>;
383
383
  }, "strip", z.ZodTypeAny, {
384
384
  date: string;
385
- id: string;
386
385
  createdAt: string;
387
386
  updatedAt: string;
387
+ id: string;
388
388
  subject: string;
389
389
  userId: string;
390
390
  _id: string;
@@ -461,8 +461,8 @@ export declare const emailMessageSchema: z.ZodObject<{
461
461
  threadParticipants?: string[] | undefined;
462
462
  delivery?: {
463
463
  updatedAt: string;
464
- state: "failed" | "sent" | "sending" | "retrying";
465
464
  error: string | null;
465
+ state: "failed" | "sent" | "sending" | "retrying";
466
466
  attempts: number;
467
467
  maxAttempts: number;
468
468
  nextAttemptAt: string | null;
@@ -470,9 +470,9 @@ export declare const emailMessageSchema: z.ZodObject<{
470
470
  } | undefined;
471
471
  }, {
472
472
  date: string;
473
- id: string;
474
473
  createdAt: string;
475
474
  updatedAt: string;
475
+ id: string;
476
476
  subject: string;
477
477
  userId: string;
478
478
  _id: string;
@@ -566,9 +566,9 @@ export declare const emailMailboxSchema: z.ZodObject<{
566
566
  }, "strip", z.ZodTypeAny, {
567
567
  path: string;
568
568
  name: string;
569
- id: string;
570
569
  createdAt: string;
571
570
  updatedAt: string;
571
+ id: string;
572
572
  userId: string;
573
573
  _id: string;
574
574
  totalMessages: number;
@@ -579,9 +579,9 @@ export declare const emailMailboxSchema: z.ZodObject<{
579
579
  }, {
580
580
  path: string;
581
581
  name: string;
582
- id: string;
583
582
  createdAt: string;
584
583
  updatedAt: string;
584
+ id: string;
585
585
  userId: string;
586
586
  _id: string;
587
587
  totalMessages: number;
@@ -603,22 +603,22 @@ export declare const emailUserLabelSchema: z.ZodObject<{
603
603
  createdAt: z.ZodString;
604
604
  updatedAt: z.ZodString;
605
605
  }, "strip", z.ZodTypeAny, {
606
- system: false;
607
- name: string;
608
606
  color: string;
609
- id: string;
607
+ name: string;
610
608
  createdAt: string;
611
609
  updatedAt: string;
610
+ id: string;
611
+ system: false;
612
612
  userId: string;
613
613
  _id: string;
614
614
  order: number;
615
615
  }, {
616
- system: false;
617
- name: string;
618
616
  color: string;
619
- id: string;
617
+ name: string;
620
618
  createdAt: string;
621
619
  updatedAt: string;
620
+ id: string;
621
+ system: false;
622
622
  userId: string;
623
623
  _id: string;
624
624
  order: number;
@@ -632,15 +632,15 @@ export declare const emailSystemLabelSchema: z.ZodObject<{
632
632
  order: z.ZodNumber;
633
633
  system: z.ZodLiteral<true>;
634
634
  }, "strip", z.ZodTypeAny, {
635
- system: true;
636
- name: string;
637
635
  color: string;
636
+ name: string;
637
+ system: true;
638
638
  _id: string;
639
639
  order: number;
640
640
  }, {
641
- system: true;
642
- name: string;
643
641
  color: string;
642
+ name: string;
643
+ system: true;
644
644
  _id: string;
645
645
  order: number;
646
646
  }>;
@@ -656,22 +656,22 @@ export declare const emailLabelSchema: z.ZodDiscriminatedUnion<"system", [z.ZodO
656
656
  createdAt: z.ZodString;
657
657
  updatedAt: z.ZodString;
658
658
  }, "strip", z.ZodTypeAny, {
659
- system: false;
660
- name: string;
661
659
  color: string;
662
- id: string;
660
+ name: string;
663
661
  createdAt: string;
664
662
  updatedAt: string;
663
+ id: string;
664
+ system: false;
665
665
  userId: string;
666
666
  _id: string;
667
667
  order: number;
668
668
  }, {
669
- system: false;
670
- name: string;
671
669
  color: string;
672
- id: string;
670
+ name: string;
673
671
  createdAt: string;
674
672
  updatedAt: string;
673
+ id: string;
674
+ system: false;
675
675
  userId: string;
676
676
  _id: string;
677
677
  order: number;
@@ -682,15 +682,15 @@ export declare const emailLabelSchema: z.ZodDiscriminatedUnion<"system", [z.ZodO
682
682
  order: z.ZodNumber;
683
683
  system: z.ZodLiteral<true>;
684
684
  }, "strip", z.ZodTypeAny, {
685
- system: true;
686
- name: string;
687
685
  color: string;
686
+ name: string;
687
+ system: true;
688
688
  _id: string;
689
689
  order: number;
690
690
  }, {
691
- system: true;
692
- name: string;
693
691
  color: string;
692
+ name: string;
693
+ system: true;
694
694
  _id: string;
695
695
  order: number;
696
696
  }>]>;
@@ -714,10 +714,10 @@ export declare const emailFilterActionSchema: z.ZodObject<{
714
714
  type: z.ZodEnum<["move", "label", "star", "mark-read", "archive", "delete", "forward"]>;
715
715
  value: z.ZodOptional<z.ZodString>;
716
716
  }, "strip", z.ZodTypeAny, {
717
- type: "label" | "archive" | "move" | "star" | "mark-read" | "delete" | "forward";
717
+ type: "star" | "label" | "archive" | "move" | "mark-read" | "delete" | "forward";
718
718
  value?: string | undefined;
719
719
  }, {
720
- type: "label" | "archive" | "move" | "star" | "mark-read" | "delete" | "forward";
720
+ type: "star" | "label" | "archive" | "move" | "mark-read" | "delete" | "forward";
721
721
  value?: string | undefined;
722
722
  }>;
723
723
  export type EmailFilterActionWire = z.infer<typeof emailFilterActionSchema>;
@@ -746,19 +746,19 @@ export declare const emailFilterSchema: z.ZodObject<{
746
746
  type: z.ZodEnum<["move", "label", "star", "mark-read", "archive", "delete", "forward"]>;
747
747
  value: z.ZodOptional<z.ZodString>;
748
748
  }, "strip", z.ZodTypeAny, {
749
- type: "label" | "archive" | "move" | "star" | "mark-read" | "delete" | "forward";
749
+ type: "star" | "label" | "archive" | "move" | "mark-read" | "delete" | "forward";
750
750
  value?: string | undefined;
751
751
  }, {
752
- type: "label" | "archive" | "move" | "star" | "mark-read" | "delete" | "forward";
752
+ type: "star" | "label" | "archive" | "move" | "mark-read" | "delete" | "forward";
753
753
  value?: string | undefined;
754
754
  }>, "many">;
755
755
  createdAt: z.ZodString;
756
756
  updatedAt: z.ZodString;
757
757
  }, "strip", z.ZodTypeAny, {
758
758
  name: string;
759
- id: string;
760
759
  createdAt: string;
761
760
  updatedAt: string;
761
+ id: string;
762
762
  enabled: boolean;
763
763
  userId: string;
764
764
  _id: string;
@@ -770,14 +770,14 @@ export declare const emailFilterSchema: z.ZodObject<{
770
770
  operator: "contains" | "equals" | "not-contains" | "starts-with" | "ends-with" | "greater-than" | "less-than";
771
771
  }[];
772
772
  actions: {
773
- type: "label" | "archive" | "move" | "star" | "mark-read" | "delete" | "forward";
773
+ type: "star" | "label" | "archive" | "move" | "mark-read" | "delete" | "forward";
774
774
  value?: string | undefined;
775
775
  }[];
776
776
  }, {
777
777
  name: string;
778
- id: string;
779
778
  createdAt: string;
780
779
  updatedAt: string;
780
+ id: string;
781
781
  enabled: boolean;
782
782
  userId: string;
783
783
  _id: string;
@@ -789,7 +789,7 @@ export declare const emailFilterSchema: z.ZodObject<{
789
789
  operator: "contains" | "equals" | "not-contains" | "starts-with" | "ends-with" | "greater-than" | "less-than";
790
790
  }[];
791
791
  actions: {
792
- type: "label" | "archive" | "move" | "star" | "mark-read" | "delete" | "forward";
792
+ type: "star" | "label" | "archive" | "move" | "mark-read" | "delete" | "forward";
793
793
  value?: string | undefined;
794
794
  }[];
795
795
  }>;
@@ -808,11 +808,11 @@ export declare const emailBundleSchema: z.ZodObject<{
808
808
  createdAt: z.ZodString;
809
809
  updatedAt: z.ZodString;
810
810
  }, "strip", z.ZodTypeAny, {
811
- name: string;
812
811
  color: string;
813
- id: string;
812
+ name: string;
814
813
  createdAt: string;
815
814
  updatedAt: string;
815
+ id: string;
816
816
  enabled: boolean;
817
817
  userId: string;
818
818
  _id: string;
@@ -821,11 +821,11 @@ export declare const emailBundleSchema: z.ZodObject<{
821
821
  matchLabels: string[];
822
822
  collapsed: boolean;
823
823
  }, {
824
- name: string;
825
824
  color: string;
826
- id: string;
825
+ name: string;
827
826
  createdAt: string;
828
827
  updatedAt: string;
828
+ id: string;
829
829
  enabled: boolean;
830
830
  userId: string;
831
831
  _id: string;
@@ -1009,16 +1009,16 @@ export declare const emailBundledInboxSchema: z.ZodObject<{
1009
1009
  updatedAt: z.ZodString;
1010
1010
  }, "strip", z.ZodTypeAny, {
1011
1011
  updatedAt: string;
1012
- state: "failed" | "sent" | "sending" | "retrying";
1013
1012
  error: string | null;
1013
+ state: "failed" | "sent" | "sending" | "retrying";
1014
1014
  attempts: number;
1015
1015
  maxAttempts: number;
1016
1016
  nextAttemptAt: string | null;
1017
1017
  errorCode: "rejected" | "cancelled" | "relay_unavailable" | "relay_unconfigured" | "relay_auth" | "retries_exhausted" | "bounced" | null;
1018
1018
  }, {
1019
1019
  updatedAt: string;
1020
- state: "failed" | "sent" | "sending" | "retrying";
1021
1020
  error: string | null;
1021
+ state: "failed" | "sent" | "sending" | "retrying";
1022
1022
  attempts: number;
1023
1023
  maxAttempts: number;
1024
1024
  nextAttemptAt: string | null;
@@ -1026,9 +1026,9 @@ export declare const emailBundledInboxSchema: z.ZodObject<{
1026
1026
  }>>>;
1027
1027
  }, "strip", z.ZodTypeAny, {
1028
1028
  date: string;
1029
- id: string;
1030
1029
  createdAt: string;
1031
1030
  updatedAt: string;
1031
+ id: string;
1032
1032
  subject: string;
1033
1033
  userId: string;
1034
1034
  _id: string;
@@ -1105,8 +1105,8 @@ export declare const emailBundledInboxSchema: z.ZodObject<{
1105
1105
  threadParticipants?: string[] | undefined;
1106
1106
  delivery?: {
1107
1107
  updatedAt: string;
1108
- state: "failed" | "sent" | "sending" | "retrying";
1109
1108
  error: string | null;
1109
+ state: "failed" | "sent" | "sending" | "retrying";
1110
1110
  attempts: number;
1111
1111
  maxAttempts: number;
1112
1112
  nextAttemptAt: string | null;
@@ -1114,9 +1114,9 @@ export declare const emailBundledInboxSchema: z.ZodObject<{
1114
1114
  } | undefined;
1115
1115
  }, {
1116
1116
  date: string;
1117
- id: string;
1118
1117
  createdAt: string;
1119
1118
  updatedAt: string;
1119
+ id: string;
1120
1120
  subject: string;
1121
1121
  userId: string;
1122
1122
  _id: string;
@@ -1208,11 +1208,11 @@ export declare const emailBundledInboxSchema: z.ZodObject<{
1208
1208
  createdAt: z.ZodString;
1209
1209
  updatedAt: z.ZodString;
1210
1210
  }, "strip", z.ZodTypeAny, {
1211
- name: string;
1212
1211
  color: string;
1213
- id: string;
1212
+ name: string;
1214
1213
  createdAt: string;
1215
1214
  updatedAt: string;
1215
+ id: string;
1216
1216
  enabled: boolean;
1217
1217
  userId: string;
1218
1218
  _id: string;
@@ -1221,11 +1221,11 @@ export declare const emailBundledInboxSchema: z.ZodObject<{
1221
1221
  matchLabels: string[];
1222
1222
  collapsed: boolean;
1223
1223
  }, {
1224
- name: string;
1225
1224
  color: string;
1226
- id: string;
1225
+ name: string;
1227
1226
  createdAt: string;
1228
1227
  updatedAt: string;
1228
+ id: string;
1229
1229
  enabled: boolean;
1230
1230
  userId: string;
1231
1231
  _id: string;
@@ -1406,16 +1406,16 @@ export declare const emailBundledInboxSchema: z.ZodObject<{
1406
1406
  updatedAt: z.ZodString;
1407
1407
  }, "strip", z.ZodTypeAny, {
1408
1408
  updatedAt: string;
1409
- state: "failed" | "sent" | "sending" | "retrying";
1410
1409
  error: string | null;
1410
+ state: "failed" | "sent" | "sending" | "retrying";
1411
1411
  attempts: number;
1412
1412
  maxAttempts: number;
1413
1413
  nextAttemptAt: string | null;
1414
1414
  errorCode: "rejected" | "cancelled" | "relay_unavailable" | "relay_unconfigured" | "relay_auth" | "retries_exhausted" | "bounced" | null;
1415
1415
  }, {
1416
1416
  updatedAt: string;
1417
- state: "failed" | "sent" | "sending" | "retrying";
1418
1417
  error: string | null;
1418
+ state: "failed" | "sent" | "sending" | "retrying";
1419
1419
  attempts: number;
1420
1420
  maxAttempts: number;
1421
1421
  nextAttemptAt: string | null;
@@ -1423,9 +1423,9 @@ export declare const emailBundledInboxSchema: z.ZodObject<{
1423
1423
  }>>>;
1424
1424
  }, "strip", z.ZodTypeAny, {
1425
1425
  date: string;
1426
- id: string;
1427
1426
  createdAt: string;
1428
1427
  updatedAt: string;
1428
+ id: string;
1429
1429
  subject: string;
1430
1430
  userId: string;
1431
1431
  _id: string;
@@ -1502,8 +1502,8 @@ export declare const emailBundledInboxSchema: z.ZodObject<{
1502
1502
  threadParticipants?: string[] | undefined;
1503
1503
  delivery?: {
1504
1504
  updatedAt: string;
1505
- state: "failed" | "sent" | "sending" | "retrying";
1506
1505
  error: string | null;
1506
+ state: "failed" | "sent" | "sending" | "retrying";
1507
1507
  attempts: number;
1508
1508
  maxAttempts: number;
1509
1509
  nextAttemptAt: string | null;
@@ -1511,9 +1511,9 @@ export declare const emailBundledInboxSchema: z.ZodObject<{
1511
1511
  } | undefined;
1512
1512
  }, {
1513
1513
  date: string;
1514
- id: string;
1515
1514
  createdAt: string;
1516
1515
  updatedAt: string;
1516
+ id: string;
1517
1517
  subject: string;
1518
1518
  userId: string;
1519
1519
  _id: string;
@@ -1594,9 +1594,9 @@ export declare const emailBundledInboxSchema: z.ZodObject<{
1594
1594
  }, "strip", z.ZodTypeAny, {
1595
1595
  messages: {
1596
1596
  date: string;
1597
- id: string;
1598
1597
  createdAt: string;
1599
1598
  updatedAt: string;
1599
+ id: string;
1600
1600
  subject: string;
1601
1601
  userId: string;
1602
1602
  _id: string;
@@ -1673,8 +1673,8 @@ export declare const emailBundledInboxSchema: z.ZodObject<{
1673
1673
  threadParticipants?: string[] | undefined;
1674
1674
  delivery?: {
1675
1675
  updatedAt: string;
1676
- state: "failed" | "sent" | "sending" | "retrying";
1677
1676
  error: string | null;
1677
+ state: "failed" | "sent" | "sending" | "retrying";
1678
1678
  attempts: number;
1679
1679
  maxAttempts: number;
1680
1680
  nextAttemptAt: string | null;
@@ -1682,11 +1682,11 @@ export declare const emailBundledInboxSchema: z.ZodObject<{
1682
1682
  } | undefined;
1683
1683
  }[];
1684
1684
  bundle: {
1685
- name: string;
1686
1685
  color: string;
1687
- id: string;
1686
+ name: string;
1688
1687
  createdAt: string;
1689
1688
  updatedAt: string;
1689
+ id: string;
1690
1690
  enabled: boolean;
1691
1691
  userId: string;
1692
1692
  _id: string;
@@ -1699,9 +1699,9 @@ export declare const emailBundledInboxSchema: z.ZodObject<{
1699
1699
  }, {
1700
1700
  messages: {
1701
1701
  date: string;
1702
- id: string;
1703
1702
  createdAt: string;
1704
1703
  updatedAt: string;
1704
+ id: string;
1705
1705
  subject: string;
1706
1706
  userId: string;
1707
1707
  _id: string;
@@ -1779,11 +1779,11 @@ export declare const emailBundledInboxSchema: z.ZodObject<{
1779
1779
  delivery?: unknown;
1780
1780
  }[];
1781
1781
  bundle: {
1782
- name: string;
1783
1782
  color: string;
1784
- id: string;
1783
+ name: string;
1785
1784
  createdAt: string;
1786
1785
  updatedAt: string;
1786
+ id: string;
1787
1787
  enabled: boolean;
1788
1788
  userId: string;
1789
1789
  _id: string;
@@ -1799,9 +1799,9 @@ export declare const emailBundledInboxSchema: z.ZodObject<{
1799
1799
  total: number;
1800
1800
  primary: {
1801
1801
  date: string;
1802
- id: string;
1803
1802
  createdAt: string;
1804
1803
  updatedAt: string;
1804
+ id: string;
1805
1805
  subject: string;
1806
1806
  userId: string;
1807
1807
  _id: string;
@@ -1878,8 +1878,8 @@ export declare const emailBundledInboxSchema: z.ZodObject<{
1878
1878
  threadParticipants?: string[] | undefined;
1879
1879
  delivery?: {
1880
1880
  updatedAt: string;
1881
- state: "failed" | "sent" | "sending" | "retrying";
1882
1881
  error: string | null;
1882
+ state: "failed" | "sent" | "sending" | "retrying";
1883
1883
  attempts: number;
1884
1884
  maxAttempts: number;
1885
1885
  nextAttemptAt: string | null;
@@ -1889,9 +1889,9 @@ export declare const emailBundledInboxSchema: z.ZodObject<{
1889
1889
  bundles: {
1890
1890
  messages: {
1891
1891
  date: string;
1892
- id: string;
1893
1892
  createdAt: string;
1894
1893
  updatedAt: string;
1894
+ id: string;
1895
1895
  subject: string;
1896
1896
  userId: string;
1897
1897
  _id: string;
@@ -1968,8 +1968,8 @@ export declare const emailBundledInboxSchema: z.ZodObject<{
1968
1968
  threadParticipants?: string[] | undefined;
1969
1969
  delivery?: {
1970
1970
  updatedAt: string;
1971
- state: "failed" | "sent" | "sending" | "retrying";
1972
1971
  error: string | null;
1972
+ state: "failed" | "sent" | "sending" | "retrying";
1973
1973
  attempts: number;
1974
1974
  maxAttempts: number;
1975
1975
  nextAttemptAt: string | null;
@@ -1977,11 +1977,11 @@ export declare const emailBundledInboxSchema: z.ZodObject<{
1977
1977
  } | undefined;
1978
1978
  }[];
1979
1979
  bundle: {
1980
- name: string;
1981
1980
  color: string;
1982
- id: string;
1981
+ name: string;
1983
1982
  createdAt: string;
1984
1983
  updatedAt: string;
1984
+ id: string;
1985
1985
  enabled: boolean;
1986
1986
  userId: string;
1987
1987
  _id: string;
@@ -1996,9 +1996,9 @@ export declare const emailBundledInboxSchema: z.ZodObject<{
1996
1996
  total: number;
1997
1997
  primary: {
1998
1998
  date: string;
1999
- id: string;
2000
1999
  createdAt: string;
2001
2000
  updatedAt: string;
2001
+ id: string;
2002
2002
  subject: string;
2003
2003
  userId: string;
2004
2004
  _id: string;
@@ -2078,9 +2078,9 @@ export declare const emailBundledInboxSchema: z.ZodObject<{
2078
2078
  bundles: {
2079
2079
  messages: {
2080
2080
  date: string;
2081
- id: string;
2082
2081
  createdAt: string;
2083
2082
  updatedAt: string;
2083
+ id: string;
2084
2084
  subject: string;
2085
2085
  userId: string;
2086
2086
  _id: string;
@@ -2158,11 +2158,11 @@ export declare const emailBundledInboxSchema: z.ZodObject<{
2158
2158
  delivery?: unknown;
2159
2159
  }[];
2160
2160
  bundle: {
2161
- name: string;
2162
2161
  color: string;
2163
- id: string;
2162
+ name: string;
2164
2163
  createdAt: string;
2165
2164
  updatedAt: string;
2165
+ id: string;
2166
2166
  enabled: boolean;
2167
2167
  userId: string;
2168
2168
  _id: string;
@@ -2192,9 +2192,9 @@ export declare const emailContactSchema: z.ZodObject<{
2192
2192
  }, "strip", z.ZodTypeAny, {
2193
2193
  email: string;
2194
2194
  name: string;
2195
- id: string;
2196
2195
  createdAt: string;
2197
2196
  updatedAt: string;
2197
+ id: string;
2198
2198
  userId: string;
2199
2199
  _id: string;
2200
2200
  starred: boolean;
@@ -2205,9 +2205,9 @@ export declare const emailContactSchema: z.ZodObject<{
2205
2205
  }, {
2206
2206
  email: string;
2207
2207
  name: string;
2208
- id: string;
2209
2208
  createdAt: string;
2210
2209
  updatedAt: string;
2210
+ id: string;
2211
2211
  userId: string;
2212
2212
  _id: string;
2213
2213
  starred: boolean;
@@ -2234,10 +2234,10 @@ export declare const emailOutboxSchema: z.ZodObject<{
2234
2234
  createdAt: z.ZodString;
2235
2235
  updatedAt: z.ZodString;
2236
2236
  }, "strip", z.ZodTypeAny, {
2237
- status: "failed" | "pending" | "cancelled" | "sent" | "processing";
2238
- id: string;
2237
+ status: "pending" | "failed" | "cancelled" | "sent" | "processing";
2239
2238
  createdAt: string;
2240
2239
  updatedAt: string;
2240
+ id: string;
2241
2241
  messageId: string;
2242
2242
  attempts: number;
2243
2243
  maxAttempts: number;
@@ -2246,10 +2246,10 @@ export declare const emailOutboxSchema: z.ZodObject<{
2246
2246
  lastError: string | null;
2247
2247
  sentAt: string | null;
2248
2248
  }, {
2249
- status: "failed" | "pending" | "cancelled" | "sent" | "processing";
2250
- id: string;
2249
+ status: "pending" | "failed" | "cancelled" | "sent" | "processing";
2251
2250
  createdAt: string;
2252
2251
  updatedAt: string;
2252
+ id: string;
2253
2253
  messageId: string;
2254
2254
  attempts: number;
2255
2255
  maxAttempts: number;