@marlinjai/mail-contract 0.12.0 → 0.14.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.
package/dist/index.d.mts CHANGED
@@ -493,12 +493,13 @@ declare const WorkspaceCreate: z.ZodObject<{
493
493
  name?: string | null | undefined;
494
494
  }>;
495
495
  /**
496
- * The signed-in person's active auth-brain company. The dashboard always
497
- * sends it, which is what links the workspace to auth-brain's company
498
- * erasure; omitted, the workspace belongs to no company and no company
499
- * erasure reaches it.
496
+ * The auth-brain company the workspace is created in. Required since 0.14.0:
497
+ * every new workspace belongs to a company, which is what links it to that
498
+ * company's erasure and lets the company's owners and admins in without an
499
+ * invitation (`members.syncCompanyRole`). A workspace created before, without
500
+ * one, keeps working and simply has no such inheritance.
500
501
  */
501
- company_id: z.ZodOptional<z.ZodString>;
502
+ company_id: z.ZodString;
502
503
  }, "strip", z.ZodTypeAny, {
503
504
  name: string;
504
505
  slug: string;
@@ -506,6 +507,7 @@ declare const WorkspaceCreate: z.ZodObject<{
506
507
  email: string;
507
508
  name?: string | null | undefined;
508
509
  };
510
+ company_id: string;
509
511
  settings?: {
510
512
  asset_policy?: "any" | "service_only" | undefined;
511
513
  default_locale?: string | undefined;
@@ -515,7 +517,6 @@ declare const WorkspaceCreate: z.ZodObject<{
515
517
  merge_defaults?: Record<string, string | number | boolean> | undefined;
516
518
  default_timezone?: string | null | undefined;
517
519
  } | undefined;
518
- company_id?: string | undefined;
519
520
  }, {
520
521
  name: string;
521
522
  slug: string;
@@ -523,6 +524,7 @@ declare const WorkspaceCreate: z.ZodObject<{
523
524
  email: string;
524
525
  name?: string | null | undefined;
525
526
  };
527
+ company_id: string;
526
528
  settings?: {
527
529
  asset_policy?: "any" | "service_only" | undefined;
528
530
  default_locale?: string | undefined;
@@ -532,7 +534,6 @@ declare const WorkspaceCreate: z.ZodObject<{
532
534
  merge_defaults?: Record<string, string | number | boolean> | undefined;
533
535
  default_timezone?: string | null | undefined;
534
536
  } | undefined;
535
- company_id?: string | undefined;
536
537
  }>;
537
538
  type WorkspaceCreate = z.infer<typeof WorkspaceCreate>;
538
539
  declare const WorkspaceUpdate: z.ZodEffects<z.ZodObject<{
@@ -732,14 +733,63 @@ declare const WorkspaceMembership: z.ZodObject<{
732
733
  role: "owner" | "admin" | "editor" | "viewer";
733
734
  }>;
734
735
  type WorkspaceMembership = z.infer<typeof WorkspaceMembership>;
736
+ /**
737
+ * Where a member row comes from.
738
+ *
739
+ * - `invited`: the person was added to this workspace itself, by creating it,
740
+ * by an invitation or by `members.add`.
741
+ * - `company`: the person has no row of their own; they are in because they are
742
+ * an owner or admin of the workspace's company in the shared login
743
+ * (`members.syncCompanyRole`).
744
+ */
745
+ declare const MEMBER_SOURCES: readonly ["invited", "company"];
746
+ declare const MemberSource: z.ZodEnum<["invited", "company"]>;
747
+ type MemberSource = z.infer<typeof MemberSource>;
748
+ /**
749
+ * The company roles that carry into a workspace: a company owner is a
750
+ * workspace `owner`, a company admin a workspace `admin`. No other company
751
+ * role (billing admin, member, viewer) inherits anything.
752
+ */
753
+ declare const COMPANY_GRANT_ROLES: readonly ["owner", "admin"];
754
+ declare const CompanyGrantRole: z.ZodEnum<["owner", "admin"]>;
755
+ type CompanyGrantRole = z.infer<typeof CompanyGrantRole>;
756
+ /**
757
+ * How long a company role stays in force after the dashboard last confirmed
758
+ * it. The service only learns a person's company role when that person uses
759
+ * the dashboard, so a role nobody has confirmed for this long counts as absent
760
+ * everywhere: for a trusted application acting for the person, for the
761
+ * last-owner rule, and for the role shown on the member. The members list
762
+ * still shows the row, as not confirmed, until it is confirmed or removed.
763
+ */
764
+ declare const COMPANY_ROLE_MAX_AGE_HOURS = 24;
735
765
  declare const Member: z.ZodObject<{
736
766
  id: z.ZodString;
737
767
  /** The person's auth-brain subject. */
738
768
  subject: z.ZodString;
739
769
  email: z.ZodString;
740
770
  name: z.ZodNullable<z.ZodString>;
771
+ /**
772
+ * The role in force: the higher of the person's own role in the workspace
773
+ * and the one a confirmed company role carries. For a `company` row that is
774
+ * no longer confirmed, the role it would carry once confirmed again.
775
+ */
741
776
  role: z.ZodEnum<["owner", "admin", "editor", "viewer"]>;
742
777
  created_at: z.ZodString;
778
+ source: z.ZodOptional<z.ZodEnum<["invited", "company"]>>;
779
+ /** The company role last reported for the person (`members.syncCompanyRole`), or null. */
780
+ company_role: z.ZodOptional<z.ZodNullable<z.ZodEnum<["owner", "admin"]>>>;
781
+ /** When the dashboard last confirmed `company_role`; null without one. */
782
+ company_checked_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
783
+ /** The person's own role in the workspace; null for a `company` row. */
784
+ direct_role: z.ZodOptional<z.ZodNullable<z.ZodEnum<["owner", "admin", "editor", "viewer"]>>>;
785
+ /**
786
+ * True while `role` is held only through a confirmed company role. Such a
787
+ * member cannot be changed or removed here (`inherited_from_company`): the
788
+ * role is managed in the shared login. A `company` row with `inherited`
789
+ * false is one whose company role has not been confirmed within
790
+ * `COMPANY_ROLE_MAX_AGE_HOURS`; it grants nothing and an admin may remove it.
791
+ */
792
+ inherited: z.ZodOptional<z.ZodBoolean>;
743
793
  }, "strip", z.ZodTypeAny, {
744
794
  id: string;
745
795
  email: string;
@@ -747,6 +797,11 @@ declare const Member: z.ZodObject<{
747
797
  subject: string;
748
798
  created_at: string;
749
799
  role: "owner" | "admin" | "editor" | "viewer";
800
+ source?: "invited" | "company" | undefined;
801
+ company_role?: "owner" | "admin" | null | undefined;
802
+ company_checked_at?: string | null | undefined;
803
+ direct_role?: "owner" | "admin" | "editor" | "viewer" | null | undefined;
804
+ inherited?: boolean | undefined;
750
805
  }, {
751
806
  id: string;
752
807
  email: string;
@@ -754,8 +809,88 @@ declare const Member: z.ZodObject<{
754
809
  subject: string;
755
810
  created_at: string;
756
811
  role: "owner" | "admin" | "editor" | "viewer";
812
+ source?: "invited" | "company" | undefined;
813
+ company_role?: "owner" | "admin" | null | undefined;
814
+ company_checked_at?: string | null | undefined;
815
+ direct_role?: "owner" | "admin" | "editor" | "viewer" | null | undefined;
816
+ inherited?: boolean | undefined;
757
817
  }>;
758
818
  type Member = z.infer<typeof Member>;
819
+ /** At most this many companies in one `members.syncCompanyRole` call. */
820
+ declare const MAX_SYNC_COMPANIES = 100;
821
+ /**
822
+ * `members.syncCompanyRole` (the dashboard only, never an API key or a trusted
823
+ * application): the complete statement of the signed-in person's owner and
824
+ * admin roles in companies, as the shared login's verified session reports
825
+ * them. The person is the one named by `x-mail-subject`; the body cannot name
826
+ * anybody else.
827
+ *
828
+ * The service then makes the member lists agree with it, in one transaction:
829
+ *
830
+ * - in every workspace whose `company_id` is one of `companies`, the person
831
+ * has a member row carrying that company role (a new `company` row, or the
832
+ * `company_role` of their own row);
833
+ * - every other company role the person still carries, in any workspace, is
834
+ * taken away: a `company` row is deactivated (its id survives for the audit
835
+ * log, and comes back with the role), an invited row falls back to its own
836
+ * role.
837
+ *
838
+ * A company is matched against the workspace's own `company_id` and nothing
839
+ * else, so naming a company never reaches a workspace of another one. An empty
840
+ * list is a valid statement: the person holds no company role any more.
841
+ */
842
+ declare const MemberCompanySync: z.ZodObject<{
843
+ email: z.ZodString;
844
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
845
+ companies: z.ZodEffects<z.ZodArray<z.ZodObject<{
846
+ company_id: z.ZodString;
847
+ role: z.ZodEnum<["owner", "admin"]>;
848
+ }, "strip", z.ZodTypeAny, {
849
+ company_id: string;
850
+ role: "owner" | "admin";
851
+ }, {
852
+ company_id: string;
853
+ role: "owner" | "admin";
854
+ }>, "many">, {
855
+ company_id: string;
856
+ role: "owner" | "admin";
857
+ }[], {
858
+ company_id: string;
859
+ role: "owner" | "admin";
860
+ }[]>;
861
+ }, "strip", z.ZodTypeAny, {
862
+ email: string;
863
+ companies: {
864
+ company_id: string;
865
+ role: "owner" | "admin";
866
+ }[];
867
+ name?: string | null | undefined;
868
+ }, {
869
+ email: string;
870
+ companies: {
871
+ company_id: string;
872
+ role: "owner" | "admin";
873
+ }[];
874
+ name?: string | null | undefined;
875
+ }>;
876
+ type MemberCompanySync = z.infer<typeof MemberCompanySync>;
877
+ declare const MemberCompanySyncResult: z.ZodObject<{
878
+ /** Workspaces in which the person now holds a company role they did not hold, or held differently, before this call. */
879
+ granted: z.ZodArray<z.ZodString, "many">;
880
+ /** Workspaces in which a company role was taken away by this call. */
881
+ revoked: z.ZodArray<z.ZodString, "many">;
882
+ /** Workspaces in which the person's company role was already as stated. */
883
+ unchanged: z.ZodArray<z.ZodString, "many">;
884
+ }, "strip", z.ZodTypeAny, {
885
+ unchanged: string[];
886
+ granted: string[];
887
+ revoked: string[];
888
+ }, {
889
+ unchanged: string[];
890
+ granted: string[];
891
+ revoked: string[];
892
+ }>;
893
+ type MemberCompanySyncResult = z.infer<typeof MemberCompanySyncResult>;
759
894
  /**
760
895
  * Adding a member. The service binds people by auth-brain subject only (it never
761
896
  * sees a login), so the dashboard resolves the person first and sends the subject
@@ -1097,7 +1232,7 @@ declare const Invite: z.ZodObject<{
1097
1232
  revoked_at: z.ZodNullable<z.ZodString>;
1098
1233
  created_at: z.ZodString;
1099
1234
  }, "strip", z.ZodTypeAny, {
1100
- status: "pending" | "accepted" | "revoked" | "expired";
1235
+ status: "pending" | "revoked" | "accepted" | "expired";
1101
1236
  id: string;
1102
1237
  email: string;
1103
1238
  created_at: string;
@@ -1110,7 +1245,7 @@ declare const Invite: z.ZodObject<{
1110
1245
  expires_at: string;
1111
1246
  accepted_at: string | null;
1112
1247
  }, {
1113
- status: "pending" | "accepted" | "revoked" | "expired";
1248
+ status: "pending" | "revoked" | "accepted" | "expired";
1114
1249
  id: string;
1115
1250
  email: string;
1116
1251
  created_at: string;
@@ -1170,7 +1305,7 @@ declare const InviteCreated: z.ZodObject<{
1170
1305
  revoked_at: z.ZodNullable<z.ZodString>;
1171
1306
  created_at: z.ZodString;
1172
1307
  }, "strip", z.ZodTypeAny, {
1173
- status: "pending" | "accepted" | "revoked" | "expired";
1308
+ status: "pending" | "revoked" | "accepted" | "expired";
1174
1309
  id: string;
1175
1310
  email: string;
1176
1311
  created_at: string;
@@ -1183,7 +1318,7 @@ declare const InviteCreated: z.ZodObject<{
1183
1318
  expires_at: string;
1184
1319
  accepted_at: string | null;
1185
1320
  }, {
1186
- status: "pending" | "accepted" | "revoked" | "expired";
1321
+ status: "pending" | "revoked" | "accepted" | "expired";
1187
1322
  id: string;
1188
1323
  email: string;
1189
1324
  created_at: string;
@@ -1199,7 +1334,7 @@ declare const InviteCreated: z.ZodObject<{
1199
1334
  token: z.ZodString;
1200
1335
  }, "strip", z.ZodTypeAny, {
1201
1336
  invite: {
1202
- status: "pending" | "accepted" | "revoked" | "expired";
1337
+ status: "pending" | "revoked" | "accepted" | "expired";
1203
1338
  id: string;
1204
1339
  email: string;
1205
1340
  created_at: string;
@@ -1215,7 +1350,7 @@ declare const InviteCreated: z.ZodObject<{
1215
1350
  token: string;
1216
1351
  }, {
1217
1352
  invite: {
1218
- status: "pending" | "accepted" | "revoked" | "expired";
1353
+ status: "pending" | "revoked" | "accepted" | "expired";
1219
1354
  id: string;
1220
1355
  email: string;
1221
1356
  created_at: string;
@@ -1237,11 +1372,11 @@ declare const InviteListQuery: z.ZodObject<{
1237
1372
  } & {
1238
1373
  status: z.ZodOptional<z.ZodEnum<["pending", "accepted", "revoked", "expired"]>>;
1239
1374
  }, "strip", z.ZodTypeAny, {
1240
- status?: "pending" | "accepted" | "revoked" | "expired" | undefined;
1375
+ status?: "pending" | "revoked" | "accepted" | "expired" | undefined;
1241
1376
  cursor?: string | undefined;
1242
1377
  limit?: number | undefined;
1243
1378
  }, {
1244
- status?: "pending" | "accepted" | "revoked" | "expired" | undefined;
1379
+ status?: "pending" | "revoked" | "accepted" | "expired" | undefined;
1245
1380
  cursor?: string | undefined;
1246
1381
  limit?: number | undefined;
1247
1382
  }>;
@@ -9532,6 +9667,7 @@ declare const Provider: z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
9532
9667
  kind: "smtp";
9533
9668
  created_at: string;
9534
9669
  updated_at: string;
9670
+ reply_to: string | null;
9535
9671
  config: {
9536
9672
  host: string;
9537
9673
  port: number;
@@ -9554,7 +9690,6 @@ declare const Provider: z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
9554
9690
  };
9555
9691
  from_name: string;
9556
9692
  from_email: string;
9557
- reply_to: string | null;
9558
9693
  policy: {
9559
9694
  daily_recipient_budget: number;
9560
9695
  min_interval_ms: number;
@@ -9566,6 +9701,7 @@ declare const Provider: z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
9566
9701
  kind: "smtp";
9567
9702
  created_at: string;
9568
9703
  updated_at: string;
9704
+ reply_to: string | null;
9569
9705
  config: {
9570
9706
  host: string;
9571
9707
  port: number;
@@ -9588,7 +9724,6 @@ declare const Provider: z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
9588
9724
  };
9589
9725
  from_name: string;
9590
9726
  from_email: string;
9591
- reply_to: string | null;
9592
9727
  policy: {
9593
9728
  daily_recipient_budget: number;
9594
9729
  min_interval_ms: number;
@@ -9713,6 +9848,7 @@ declare const Provider: z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
9713
9848
  kind: "resend";
9714
9849
  created_at: string;
9715
9850
  updated_at: string;
9851
+ reply_to: string | null;
9716
9852
  config: {};
9717
9853
  has_secret: boolean;
9718
9854
  rejections: {
@@ -9730,7 +9866,6 @@ declare const Provider: z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
9730
9866
  };
9731
9867
  from_name: string;
9732
9868
  from_email: string;
9733
- reply_to: string | null;
9734
9869
  policy: {
9735
9870
  daily_recipient_budget: number;
9736
9871
  min_interval_ms: number;
@@ -9749,6 +9884,7 @@ declare const Provider: z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
9749
9884
  kind: "resend";
9750
9885
  created_at: string;
9751
9886
  updated_at: string;
9887
+ reply_to: string | null;
9752
9888
  config: {};
9753
9889
  has_secret: boolean;
9754
9890
  rejections: {
@@ -9766,7 +9902,6 @@ declare const Provider: z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
9766
9902
  };
9767
9903
  from_name: string;
9768
9904
  from_email: string;
9769
- reply_to: string | null;
9770
9905
  policy: {
9771
9906
  daily_recipient_budget: number;
9772
9907
  min_interval_ms: number;
@@ -9824,6 +9959,7 @@ declare const ProviderCreate: z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
9824
9959
  }, "strip", z.ZodTypeAny, {
9825
9960
  name: string;
9826
9961
  kind: "smtp";
9962
+ reply_to: string | null;
9827
9963
  config: {
9828
9964
  host: string;
9829
9965
  port: number;
@@ -9833,7 +9969,6 @@ declare const ProviderCreate: z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
9833
9969
  };
9834
9970
  from_name: string;
9835
9971
  from_email: string;
9836
- reply_to: string | null;
9837
9972
  policy: {
9838
9973
  daily_recipient_budget: number;
9839
9974
  min_interval_ms: number;
@@ -9842,6 +9977,7 @@ declare const ProviderCreate: z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
9842
9977
  }, {
9843
9978
  name: string;
9844
9979
  kind: "smtp";
9980
+ reply_to: string | null;
9845
9981
  config: {
9846
9982
  host: string;
9847
9983
  port: number;
@@ -9851,7 +9987,6 @@ declare const ProviderCreate: z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
9851
9987
  };
9852
9988
  from_name: string;
9853
9989
  from_email: string;
9854
- reply_to: string | null;
9855
9990
  policy: {
9856
9991
  daily_recipient_budget: number;
9857
9992
  min_interval_ms: number;
@@ -9886,12 +10021,12 @@ declare const ProviderCreate: z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
9886
10021
  }, "strip", z.ZodTypeAny, {
9887
10022
  name: string;
9888
10023
  kind: "resend";
10024
+ reply_to: string | null;
9889
10025
  config: {
9890
10026
  api_key: string;
9891
10027
  };
9892
10028
  from_name: string;
9893
10029
  from_email: string;
9894
- reply_to: string | null;
9895
10030
  policy: {
9896
10031
  daily_recipient_budget: number;
9897
10032
  min_interval_ms: number;
@@ -9900,12 +10035,12 @@ declare const ProviderCreate: z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
9900
10035
  }, {
9901
10036
  name: string;
9902
10037
  kind: "resend";
10038
+ reply_to: string | null;
9903
10039
  config: {
9904
10040
  api_key: string;
9905
10041
  };
9906
10042
  from_name: string;
9907
10043
  from_email: string;
9908
- reply_to: string | null;
9909
10044
  policy: {
9910
10045
  daily_recipient_budget: number;
9911
10046
  min_interval_ms: number;
@@ -9958,6 +10093,7 @@ declare const ProviderUpdate: z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
9958
10093
  }, "strip", z.ZodTypeAny, {
9959
10094
  kind: "smtp";
9960
10095
  name?: string | undefined;
10096
+ reply_to?: string | null | undefined;
9961
10097
  config?: {
9962
10098
  host?: string | undefined;
9963
10099
  port?: number | undefined;
@@ -9967,7 +10103,6 @@ declare const ProviderUpdate: z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
9967
10103
  } | undefined;
9968
10104
  from_name?: string | undefined;
9969
10105
  from_email?: string | undefined;
9970
- reply_to?: string | null | undefined;
9971
10106
  policy?: {
9972
10107
  daily_recipient_budget?: number | undefined;
9973
10108
  min_interval_ms?: number | undefined;
@@ -9976,6 +10111,7 @@ declare const ProviderUpdate: z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
9976
10111
  }, {
9977
10112
  kind: "smtp";
9978
10113
  name?: string | undefined;
10114
+ reply_to?: string | null | undefined;
9979
10115
  config?: {
9980
10116
  host?: string | undefined;
9981
10117
  port?: number | undefined;
@@ -9985,7 +10121,6 @@ declare const ProviderUpdate: z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
9985
10121
  } | undefined;
9986
10122
  from_name?: string | undefined;
9987
10123
  from_email?: string | undefined;
9988
- reply_to?: string | null | undefined;
9989
10124
  policy?: {
9990
10125
  daily_recipient_budget?: number | undefined;
9991
10126
  min_interval_ms?: number | undefined;
@@ -10020,12 +10155,12 @@ declare const ProviderUpdate: z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
10020
10155
  }, "strip", z.ZodTypeAny, {
10021
10156
  kind: "resend";
10022
10157
  name?: string | undefined;
10158
+ reply_to?: string | null | undefined;
10023
10159
  config?: {
10024
10160
  api_key?: string | undefined;
10025
10161
  } | undefined;
10026
10162
  from_name?: string | undefined;
10027
10163
  from_email?: string | undefined;
10028
- reply_to?: string | null | undefined;
10029
10164
  policy?: {
10030
10165
  daily_recipient_budget?: number | undefined;
10031
10166
  min_interval_ms?: number | undefined;
@@ -10034,12 +10169,12 @@ declare const ProviderUpdate: z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
10034
10169
  }, {
10035
10170
  kind: "resend";
10036
10171
  name?: string | undefined;
10172
+ reply_to?: string | null | undefined;
10037
10173
  config?: {
10038
10174
  api_key?: string | undefined;
10039
10175
  } | undefined;
10040
10176
  from_name?: string | undefined;
10041
10177
  from_email?: string | undefined;
10042
- reply_to?: string | null | undefined;
10043
10178
  policy?: {
10044
10179
  daily_recipient_budget?: number | undefined;
10045
10180
  min_interval_ms?: number | undefined;
@@ -10451,7 +10586,7 @@ declare const Suppression: z.ZodObject<{
10451
10586
  created_at: z.ZodString;
10452
10587
  }, "strip", z.ZodTypeAny, {
10453
10588
  id: string;
10454
- reason: "manual" | "unsubscribed" | "bounced" | "complained";
10589
+ reason: "manual" | "bounced" | "complained" | "unsubscribed";
10455
10590
  email: string;
10456
10591
  note: string | null;
10457
10592
  created_at: string;
@@ -10459,7 +10594,7 @@ declare const Suppression: z.ZodObject<{
10459
10594
  source_message_id: string | null;
10460
10595
  }, {
10461
10596
  id: string;
10462
- reason: "manual" | "unsubscribed" | "bounced" | "complained";
10597
+ reason: "manual" | "bounced" | "complained" | "unsubscribed";
10463
10598
  email: string;
10464
10599
  note: string | null;
10465
10600
  created_at: string;
@@ -10495,13 +10630,13 @@ declare const SuppressionListQuery: z.ZodObject<{
10495
10630
  }, "strip", z.ZodTypeAny, {
10496
10631
  cursor?: string | undefined;
10497
10632
  limit?: number | undefined;
10498
- reason?: "manual" | "unsubscribed" | "bounced" | "complained" | undefined;
10633
+ reason?: "manual" | "bounced" | "complained" | "unsubscribed" | undefined;
10499
10634
  email?: string | undefined;
10500
10635
  topic?: string | undefined;
10501
10636
  }, {
10502
10637
  cursor?: string | undefined;
10503
10638
  limit?: number | undefined;
10504
- reason?: "manual" | "unsubscribed" | "bounced" | "complained" | undefined;
10639
+ reason?: "manual" | "bounced" | "complained" | "unsubscribed" | undefined;
10505
10640
  email?: string | undefined;
10506
10641
  topic?: string | undefined;
10507
10642
  }>;
@@ -10664,6 +10799,17 @@ declare const Mailing: z.ZodObject<{
10664
10799
  * the workspace's defaults, below the recipient's own. Empty by default.
10665
10800
  */
10666
10801
  merge: z.ZodDefault<z.ZodEffects<z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]>>, Record<string, string | number | boolean>, Record<string, string | number | boolean>>, Record<string, string | number | boolean>, Record<string, string | number | boolean>>>;
10802
+ /**
10803
+ * Where a reader's reply goes for this mailing, or null for the sending
10804
+ * provider's own reply address (see `MailingContent.reply_to`).
10805
+ */
10806
+ reply_to: z.ZodDefault<z.ZodNullable<z.ZodString>>;
10807
+ /**
10808
+ * Whether this is a transactional letter (see `MailingCreate.transactional`
10809
+ * and "Transactional letters" in the contract's documentation). False for
10810
+ * every mailing made without the flag.
10811
+ */
10812
+ transactional: z.ZodDefault<z.ZodBoolean>;
10667
10813
  scheduled_at: z.ZodNullable<z.ZodString>;
10668
10814
  /** The A/B test on subject or content (S4), null when there is none. */
10669
10815
  ab_test: z.ZodNullable<z.ZodObject<{
@@ -10760,6 +10906,8 @@ declare const Mailing: z.ZodObject<{
10760
10906
  failed: number;
10761
10907
  skipped: number;
10762
10908
  };
10909
+ reply_to: string | null;
10910
+ transactional: boolean;
10763
10911
  scheduled_at: string | null;
10764
10912
  ab_test: {
10765
10913
  status: "pending" | "testing" | "awaiting_pick" | "decided";
@@ -10829,6 +10977,8 @@ declare const Mailing: z.ZodObject<{
10829
10977
  finished_at: string | null;
10830
10978
  merge?: Record<string, string | number | boolean> | undefined;
10831
10979
  template_locale?: string | null | undefined;
10980
+ reply_to?: string | null | undefined;
10981
+ transactional?: boolean | undefined;
10832
10982
  pause_reason?: string | null | undefined;
10833
10983
  }>;
10834
10984
  type Mailing = z.infer<typeof Mailing>;
@@ -10918,6 +11068,17 @@ declare const MailingSummary: z.ZodObject<Omit<{
10918
11068
  * the workspace's defaults, below the recipient's own. Empty by default.
10919
11069
  */
10920
11070
  merge: z.ZodDefault<z.ZodEffects<z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]>>, Record<string, string | number | boolean>, Record<string, string | number | boolean>>, Record<string, string | number | boolean>, Record<string, string | number | boolean>>>;
11071
+ /**
11072
+ * Where a reader's reply goes for this mailing, or null for the sending
11073
+ * provider's own reply address (see `MailingContent.reply_to`).
11074
+ */
11075
+ reply_to: z.ZodDefault<z.ZodNullable<z.ZodString>>;
11076
+ /**
11077
+ * Whether this is a transactional letter (see `MailingCreate.transactional`
11078
+ * and "Transactional letters" in the contract's documentation). False for
11079
+ * every mailing made without the flag.
11080
+ */
11081
+ transactional: z.ZodDefault<z.ZodBoolean>;
10921
11082
  scheduled_at: z.ZodNullable<z.ZodString>;
10922
11083
  /** The A/B test on subject or content (S4), null when there is none. */
10923
11084
  ab_test: z.ZodNullable<z.ZodObject<{
@@ -11007,6 +11168,8 @@ declare const MailingSummary: z.ZodObject<Omit<{
11007
11168
  failed: number;
11008
11169
  skipped: number;
11009
11170
  };
11171
+ reply_to: string | null;
11172
+ transactional: boolean;
11010
11173
  scheduled_at: string | null;
11011
11174
  ab_test: {
11012
11175
  status: "pending" | "testing" | "awaiting_pick" | "decided";
@@ -11069,6 +11232,8 @@ declare const MailingSummary: z.ZodObject<Omit<{
11069
11232
  finished_at: string | null;
11070
11233
  merge?: Record<string, string | number | boolean> | undefined;
11071
11234
  template_locale?: string | null | undefined;
11235
+ reply_to?: string | null | undefined;
11236
+ transactional?: boolean | undefined;
11072
11237
  pause_reason?: string | null | undefined;
11073
11238
  }>;
11074
11239
  type MailingSummary = z.infer<typeof MailingSummary>;
@@ -11111,14 +11276,30 @@ declare const MailingCreate: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodObject<
11111
11276
  }, z.ZodTypeAny, "passthrough">>>;
11112
11277
  template_id: z.ZodOptional<z.ZodString>;
11113
11278
  template_locale: z.ZodOptional<z.ZodString>;
11279
+ /**
11280
+ * True makes the mailing a transactional letter: mail that answers
11281
+ * something its one reader did and that they need whatever they chose
11282
+ * about marketing (a booking's confirmation, its reminder, its
11283
+ * cancellation). It needs no `{{unsubscribe_url}}`, carries no
11284
+ * List-Unsubscribe headers and is not stopped by an unsubscribe; a hard
11285
+ * bounce, a spam complaint and a block set by hand still stop it.
11286
+ *
11287
+ * Only a key that a trusted application created may set it (`forbidden`,
11288
+ * `details.reason: "transactional_not_allowed"`), only on a letter
11289
+ * (`validation_failed`, `"transactional_needs_letter"`), from a template
11290
+ * only with `template_locale` (`"transactional_needs_template_locale"`),
11291
+ * and it is fixed when the mailing is created. See "Transactional letters" in the
11292
+ * contract's documentation.
11293
+ */
11294
+ transactional: z.ZodOptional<z.ZodBoolean>;
11114
11295
  name: z.ZodOptional<z.ZodString>;
11115
11296
  preheader: z.ZodOptional<z.ZodString>;
11116
11297
  /** See `Mailing.send_locale`. */
11117
11298
  send_locale: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11118
11299
  /**
11119
11300
  * Omitted or null makes the mailing a letter: one recipient at most, sent to
11120
- * anybody not blocked on every topic, with an unsubscribe link that offers
11121
- * every topic and no List-Unsubscribe headers. See "Letters" in the
11301
+ * anybody not blocked on every topic, with an unsubscribe link and
11302
+ * List-Unsubscribe headers that offer every topic. See "Letters" in the
11122
11303
  * contract's documentation.
11123
11304
  */
11124
11305
  topic: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -11126,6 +11307,14 @@ declare const MailingCreate: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodObject<
11126
11307
  metadata: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodString>, Record<string, string>, Record<string, string>>, Record<string, string>, Record<string, string>>>;
11127
11308
  /** See `Mailing.merge`. `first_name` and `last_name` only on a letter (no topic). */
11128
11309
  merge: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]>>, Record<string, string | number | boolean>, Record<string, string | number | boolean>>, Record<string, string | number | boolean>, Record<string, string | number | boolean>>>;
11310
+ /**
11311
+ * The Reply-To of this mailing's messages: one address, in place of the
11312
+ * sending provider's `reply_to`. Omitted or null keeps the provider's. The
11313
+ * sender (From) is always the provider's, and so is the mailto alternative
11314
+ * of the List-Unsubscribe header, since a request to leave belongs to the
11315
+ * workspace and not to whoever a reply reaches.
11316
+ */
11317
+ reply_to: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11129
11318
  }, "strip", z.ZodTypeAny, {
11130
11319
  provider_id: string;
11131
11320
  merge?: Record<string, string | number | boolean> | undefined;
@@ -11142,6 +11331,8 @@ declare const MailingCreate: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodObject<
11142
11331
  send_locale?: string | null | undefined;
11143
11332
  template_locale?: string | undefined;
11144
11333
  topic?: string | null | undefined;
11334
+ reply_to?: string | null | undefined;
11335
+ transactional?: boolean | undefined;
11145
11336
  }, {
11146
11337
  provider_id: string;
11147
11338
  merge?: Record<string, string | number | boolean> | undefined;
@@ -11158,6 +11349,8 @@ declare const MailingCreate: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodObject<
11158
11349
  send_locale?: string | null | undefined;
11159
11350
  template_locale?: string | undefined;
11160
11351
  topic?: string | null | undefined;
11352
+ reply_to?: string | null | undefined;
11353
+ transactional?: boolean | undefined;
11161
11354
  }>, {
11162
11355
  provider_id: string;
11163
11356
  merge?: Record<string, string | number | boolean> | undefined;
@@ -11174,6 +11367,8 @@ declare const MailingCreate: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodObject<
11174
11367
  send_locale?: string | null | undefined;
11175
11368
  template_locale?: string | undefined;
11176
11369
  topic?: string | null | undefined;
11370
+ reply_to?: string | null | undefined;
11371
+ transactional?: boolean | undefined;
11177
11372
  }, {
11178
11373
  provider_id: string;
11179
11374
  merge?: Record<string, string | number | boolean> | undefined;
@@ -11190,6 +11385,8 @@ declare const MailingCreate: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodObject<
11190
11385
  send_locale?: string | null | undefined;
11191
11386
  template_locale?: string | undefined;
11192
11387
  topic?: string | null | undefined;
11388
+ reply_to?: string | null | undefined;
11389
+ transactional?: boolean | undefined;
11193
11390
  }>, {
11194
11391
  provider_id: string;
11195
11392
  merge?: Record<string, string | number | boolean> | undefined;
@@ -11206,6 +11403,8 @@ declare const MailingCreate: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodObject<
11206
11403
  send_locale?: string | null | undefined;
11207
11404
  template_locale?: string | undefined;
11208
11405
  topic?: string | null | undefined;
11406
+ reply_to?: string | null | undefined;
11407
+ transactional?: boolean | undefined;
11209
11408
  }, {
11210
11409
  provider_id: string;
11211
11410
  merge?: Record<string, string | number | boolean> | undefined;
@@ -11222,6 +11421,8 @@ declare const MailingCreate: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodObject<
11222
11421
  send_locale?: string | null | undefined;
11223
11422
  template_locale?: string | undefined;
11224
11423
  topic?: string | null | undefined;
11424
+ reply_to?: string | null | undefined;
11425
+ transactional?: boolean | undefined;
11225
11426
  }>, {
11226
11427
  provider_id: string;
11227
11428
  merge?: Record<string, string | number | boolean> | undefined;
@@ -11238,6 +11439,8 @@ declare const MailingCreate: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodObject<
11238
11439
  send_locale?: string | null | undefined;
11239
11440
  template_locale?: string | undefined;
11240
11441
  topic?: string | null | undefined;
11442
+ reply_to?: string | null | undefined;
11443
+ transactional?: boolean | undefined;
11241
11444
  }, {
11242
11445
  provider_id: string;
11243
11446
  merge?: Record<string, string | number | boolean> | undefined;
@@ -11254,6 +11457,8 @@ declare const MailingCreate: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodObject<
11254
11457
  send_locale?: string | null | undefined;
11255
11458
  template_locale?: string | undefined;
11256
11459
  topic?: string | null | undefined;
11460
+ reply_to?: string | null | undefined;
11461
+ transactional?: boolean | undefined;
11257
11462
  }>;
11258
11463
  type MailingCreate = z.infer<typeof MailingCreate>;
11259
11464
  /** Changing a mailing that is still `draft` or `scheduled`. */
@@ -11273,6 +11478,8 @@ declare const MailingUpdate: z.ZodEffects<z.ZodObject<{
11273
11478
  * them.
11274
11479
  */
11275
11480
  merge: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]>>, Record<string, string | number | boolean>, Record<string, string | number | boolean>>, Record<string, string | number | boolean>, Record<string, string | number | boolean>>>;
11481
+ /** See `MailingContent.reply_to`. Null goes back to the provider's reply address. */
11482
+ reply_to: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11276
11483
  document: z.ZodOptional<z.ZodObject<{
11277
11484
  version: z.ZodEnum<["1.0", "1.1"]>;
11278
11485
  metadata: z.ZodRecord<z.ZodString, z.ZodUnknown>;
@@ -11300,6 +11507,7 @@ declare const MailingUpdate: z.ZodEffects<z.ZodObject<{
11300
11507
  send_locale?: string | null | undefined;
11301
11508
  topic?: string | null | undefined;
11302
11509
  provider_id?: string | undefined;
11510
+ reply_to?: string | null | undefined;
11303
11511
  }, {
11304
11512
  merge?: Record<string, string | number | boolean> | undefined;
11305
11513
  name?: string | null | undefined;
@@ -11314,6 +11522,7 @@ declare const MailingUpdate: z.ZodEffects<z.ZodObject<{
11314
11522
  send_locale?: string | null | undefined;
11315
11523
  topic?: string | null | undefined;
11316
11524
  provider_id?: string | undefined;
11525
+ reply_to?: string | null | undefined;
11317
11526
  }>, {
11318
11527
  merge?: Record<string, string | number | boolean> | undefined;
11319
11528
  name?: string | null | undefined;
@@ -11328,6 +11537,7 @@ declare const MailingUpdate: z.ZodEffects<z.ZodObject<{
11328
11537
  send_locale?: string | null | undefined;
11329
11538
  topic?: string | null | undefined;
11330
11539
  provider_id?: string | undefined;
11540
+ reply_to?: string | null | undefined;
11331
11541
  }, {
11332
11542
  merge?: Record<string, string | number | boolean> | undefined;
11333
11543
  name?: string | null | undefined;
@@ -11342,6 +11552,7 @@ declare const MailingUpdate: z.ZodEffects<z.ZodObject<{
11342
11552
  send_locale?: string | null | undefined;
11343
11553
  topic?: string | null | undefined;
11344
11554
  provider_id?: string | undefined;
11555
+ reply_to?: string | null | undefined;
11345
11556
  }>;
11346
11557
  type MailingUpdate = z.infer<typeof MailingUpdate>;
11347
11558
  /**
@@ -11504,6 +11715,37 @@ declare const MAX_RECIPIENTS_PER_BATCH = 1000;
11504
11715
  */
11505
11716
  declare const MAX_LETTER_RECIPIENTS = 1;
11506
11717
  declare const LETTER_RECIPIENT_REFUSAL = "letter_has_one_recipient";
11718
+ /**
11719
+ * The refusals of a transactional letter (`MailingCreate.transactional`), as
11720
+ * `details.reason`:
11721
+ * - `transactional_not_allowed` (`forbidden`): the caller is not a key that a
11722
+ * trusted application created. Asking for the flag, or changing the content,
11723
+ * the values, the Reply-To, the provider or the recipient of a transactional
11724
+ * letter, or copying one, is that key's alone.
11725
+ * - `transactional_needs_letter` (`validation_failed`): the flag on a mailing
11726
+ * with a topic, or a topic given to a transactional letter.
11727
+ * - `transactional_needs_template_locale` (`validation_failed`): made from a
11728
+ * template without `template_locale`. A transactional letter is written
11729
+ * from one language version when it is created, so that what it says is
11730
+ * fixed then and cannot change before it goes out.
11731
+ * - `transactional_has_unsubscribe_url` (`validation_failed`): the content of
11732
+ * a transactional letter places `{{unsubscribe_url}}`, which such a letter
11733
+ * has no page for; the link would lead nowhere.
11734
+ */
11735
+ declare const TRANSACTIONAL_NOT_ALLOWED_REFUSAL = "transactional_not_allowed";
11736
+ declare const TRANSACTIONAL_NEEDS_LETTER_REFUSAL = "transactional_needs_letter";
11737
+ declare const TRANSACTIONAL_NEEDS_TEMPLATE_LOCALE_REFUSAL = "transactional_needs_template_locale";
11738
+ declare const TRANSACTIONAL_UNSUBSCRIBE_URL_REFUSAL = "transactional_has_unsubscribe_url";
11739
+ /**
11740
+ * The reasons of a block on every topic that stop a transactional letter:
11741
+ * every one but `unsubscribed`. A hard bounce and a complaint protect the
11742
+ * sender's standing with mailbox providers, and a block set by hand on every
11743
+ * topic is the workspace's own decision never to write to an address; an
11744
+ * unsubscribe is a choice about marketing, which a transactional letter is
11745
+ * not. Like any letter it belongs to no topic, so a block on one topic never
11746
+ * stops it, whatever its reason.
11747
+ */
11748
+ declare const TRANSACTIONAL_BLOCKING_REASONS: readonly ["bounced", "complained", "manual"];
11507
11749
  /**
11508
11750
  * One recipient in a batch. The contact is found by `contact_id`, else
11509
11751
  * `external_id`, else `email`; an email with no contact creates one. `merge`
@@ -28826,6 +29068,13 @@ interface RouteDef {
28826
29068
  status: 200 | 201 | 202;
28827
29069
  access: RouteAccess;
28828
29070
  phase: Phase;
29071
+ /**
29072
+ * The call states how things are instead of asking for a change, so sending
29073
+ * it twice is the same as sending it once and it takes no `Idempotency-Key`
29074
+ * (see `acceptsIdempotencyKey`). For a call made on nearly every request,
29075
+ * where a ledger row per call would be the only write it causes.
29076
+ */
29077
+ statement?: true;
28829
29078
  }
28830
29079
  declare const foundationRoutes: {
28831
29080
  readonly 'workspaces.create': {
@@ -28869,7 +29118,7 @@ declare const foundationRoutes: {
28869
29118
  email: string;
28870
29119
  name?: string | null | undefined;
28871
29120
  }>;
28872
- company_id: z.ZodOptional<z.ZodString>;
29121
+ company_id: z.ZodString;
28873
29122
  }, "strip", z.ZodTypeAny, {
28874
29123
  name: string;
28875
29124
  slug: string;
@@ -28877,6 +29126,7 @@ declare const foundationRoutes: {
28877
29126
  email: string;
28878
29127
  name?: string | null | undefined;
28879
29128
  };
29129
+ company_id: string;
28880
29130
  settings?: {
28881
29131
  asset_policy?: "any" | "service_only" | undefined;
28882
29132
  default_locale?: string | undefined;
@@ -28886,7 +29136,6 @@ declare const foundationRoutes: {
28886
29136
  merge_defaults?: Record<string, string | number | boolean> | undefined;
28887
29137
  default_timezone?: string | null | undefined;
28888
29138
  } | undefined;
28889
- company_id?: string | undefined;
28890
29139
  }, {
28891
29140
  name: string;
28892
29141
  slug: string;
@@ -28894,6 +29143,7 @@ declare const foundationRoutes: {
28894
29143
  email: string;
28895
29144
  name?: string | null | undefined;
28896
29145
  };
29146
+ company_id: string;
28897
29147
  settings?: {
28898
29148
  asset_policy?: "any" | "service_only" | undefined;
28899
29149
  default_locale?: string | undefined;
@@ -28903,7 +29153,6 @@ declare const foundationRoutes: {
28903
29153
  merge_defaults?: Record<string, string | number | boolean> | undefined;
28904
29154
  default_timezone?: string | null | undefined;
28905
29155
  } | undefined;
28906
- company_id?: string | undefined;
28907
29156
  }>;
28908
29157
  readonly response: z.ZodObject<{
28909
29158
  id: z.ZodString;
@@ -29424,6 +29673,11 @@ declare const foundationRoutes: {
29424
29673
  name: z.ZodNullable<z.ZodString>;
29425
29674
  role: z.ZodEnum<["owner", "admin", "editor", "viewer"]>;
29426
29675
  created_at: z.ZodString;
29676
+ source: z.ZodOptional<z.ZodEnum<["invited", "company"]>>;
29677
+ company_role: z.ZodOptional<z.ZodNullable<z.ZodEnum<["owner", "admin"]>>>;
29678
+ company_checked_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29679
+ direct_role: z.ZodOptional<z.ZodNullable<z.ZodEnum<["owner", "admin", "editor", "viewer"]>>>;
29680
+ inherited: z.ZodOptional<z.ZodBoolean>;
29427
29681
  }, "strip", z.ZodTypeAny, {
29428
29682
  id: string;
29429
29683
  email: string;
@@ -29431,6 +29685,11 @@ declare const foundationRoutes: {
29431
29685
  subject: string;
29432
29686
  created_at: string;
29433
29687
  role: "owner" | "admin" | "editor" | "viewer";
29688
+ source?: "invited" | "company" | undefined;
29689
+ company_role?: "owner" | "admin" | null | undefined;
29690
+ company_checked_at?: string | null | undefined;
29691
+ direct_role?: "owner" | "admin" | "editor" | "viewer" | null | undefined;
29692
+ inherited?: boolean | undefined;
29434
29693
  }, {
29435
29694
  id: string;
29436
29695
  email: string;
@@ -29438,6 +29697,11 @@ declare const foundationRoutes: {
29438
29697
  subject: string;
29439
29698
  created_at: string;
29440
29699
  role: "owner" | "admin" | "editor" | "viewer";
29700
+ source?: "invited" | "company" | undefined;
29701
+ company_role?: "owner" | "admin" | null | undefined;
29702
+ company_checked_at?: string | null | undefined;
29703
+ direct_role?: "owner" | "admin" | "editor" | "viewer" | null | undefined;
29704
+ inherited?: boolean | undefined;
29441
29705
  }>, "many">;
29442
29706
  next_cursor: z.ZodNullable<z.ZodString>;
29443
29707
  }, "strip", z.ZodTypeAny, {
@@ -29448,6 +29712,11 @@ declare const foundationRoutes: {
29448
29712
  subject: string;
29449
29713
  created_at: string;
29450
29714
  role: "owner" | "admin" | "editor" | "viewer";
29715
+ source?: "invited" | "company" | undefined;
29716
+ company_role?: "owner" | "admin" | null | undefined;
29717
+ company_checked_at?: string | null | undefined;
29718
+ direct_role?: "owner" | "admin" | "editor" | "viewer" | null | undefined;
29719
+ inherited?: boolean | undefined;
29451
29720
  }[];
29452
29721
  next_cursor: string | null;
29453
29722
  }, {
@@ -29458,6 +29727,11 @@ declare const foundationRoutes: {
29458
29727
  subject: string;
29459
29728
  created_at: string;
29460
29729
  role: "owner" | "admin" | "editor" | "viewer";
29730
+ source?: "invited" | "company" | undefined;
29731
+ company_role?: "owner" | "admin" | null | undefined;
29732
+ company_checked_at?: string | null | undefined;
29733
+ direct_role?: "owner" | "admin" | "editor" | "viewer" | null | undefined;
29734
+ inherited?: boolean | undefined;
29461
29735
  }[];
29462
29736
  next_cursor: string | null;
29463
29737
  }>;
@@ -29491,6 +29765,11 @@ declare const foundationRoutes: {
29491
29765
  name: z.ZodNullable<z.ZodString>;
29492
29766
  role: z.ZodEnum<["owner", "admin", "editor", "viewer"]>;
29493
29767
  created_at: z.ZodString;
29768
+ source: z.ZodOptional<z.ZodEnum<["invited", "company"]>>;
29769
+ company_role: z.ZodOptional<z.ZodNullable<z.ZodEnum<["owner", "admin"]>>>;
29770
+ company_checked_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29771
+ direct_role: z.ZodOptional<z.ZodNullable<z.ZodEnum<["owner", "admin", "editor", "viewer"]>>>;
29772
+ inherited: z.ZodOptional<z.ZodBoolean>;
29494
29773
  }, "strip", z.ZodTypeAny, {
29495
29774
  id: string;
29496
29775
  email: string;
@@ -29498,6 +29777,11 @@ declare const foundationRoutes: {
29498
29777
  subject: string;
29499
29778
  created_at: string;
29500
29779
  role: "owner" | "admin" | "editor" | "viewer";
29780
+ source?: "invited" | "company" | undefined;
29781
+ company_role?: "owner" | "admin" | null | undefined;
29782
+ company_checked_at?: string | null | undefined;
29783
+ direct_role?: "owner" | "admin" | "editor" | "viewer" | null | undefined;
29784
+ inherited?: boolean | undefined;
29501
29785
  }, {
29502
29786
  id: string;
29503
29787
  email: string;
@@ -29505,6 +29789,11 @@ declare const foundationRoutes: {
29505
29789
  subject: string;
29506
29790
  created_at: string;
29507
29791
  role: "owner" | "admin" | "editor" | "viewer";
29792
+ source?: "invited" | "company" | undefined;
29793
+ company_role?: "owner" | "admin" | null | undefined;
29794
+ company_checked_at?: string | null | undefined;
29795
+ direct_role?: "owner" | "admin" | "editor" | "viewer" | null | undefined;
29796
+ inherited?: boolean | undefined;
29508
29797
  }>;
29509
29798
  readonly status: 201;
29510
29799
  readonly access: "admin";
@@ -29534,6 +29823,11 @@ declare const foundationRoutes: {
29534
29823
  name: z.ZodNullable<z.ZodString>;
29535
29824
  role: z.ZodEnum<["owner", "admin", "editor", "viewer"]>;
29536
29825
  created_at: z.ZodString;
29826
+ source: z.ZodOptional<z.ZodEnum<["invited", "company"]>>;
29827
+ company_role: z.ZodOptional<z.ZodNullable<z.ZodEnum<["owner", "admin"]>>>;
29828
+ company_checked_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29829
+ direct_role: z.ZodOptional<z.ZodNullable<z.ZodEnum<["owner", "admin", "editor", "viewer"]>>>;
29830
+ inherited: z.ZodOptional<z.ZodBoolean>;
29537
29831
  }, "strip", z.ZodTypeAny, {
29538
29832
  id: string;
29539
29833
  email: string;
@@ -29541,6 +29835,11 @@ declare const foundationRoutes: {
29541
29835
  subject: string;
29542
29836
  created_at: string;
29543
29837
  role: "owner" | "admin" | "editor" | "viewer";
29838
+ source?: "invited" | "company" | undefined;
29839
+ company_role?: "owner" | "admin" | null | undefined;
29840
+ company_checked_at?: string | null | undefined;
29841
+ direct_role?: "owner" | "admin" | "editor" | "viewer" | null | undefined;
29842
+ inherited?: boolean | undefined;
29544
29843
  }, {
29545
29844
  id: string;
29546
29845
  email: string;
@@ -29548,6 +29847,11 @@ declare const foundationRoutes: {
29548
29847
  subject: string;
29549
29848
  created_at: string;
29550
29849
  role: "owner" | "admin" | "editor" | "viewer";
29850
+ source?: "invited" | "company" | undefined;
29851
+ company_role?: "owner" | "admin" | null | undefined;
29852
+ company_checked_at?: string | null | undefined;
29853
+ direct_role?: "owner" | "admin" | "editor" | "viewer" | null | undefined;
29854
+ inherited?: boolean | undefined;
29551
29855
  }>;
29552
29856
  readonly status: 200;
29553
29857
  readonly access: "admin";
@@ -29574,6 +29878,69 @@ declare const foundationRoutes: {
29574
29878
  readonly access: "admin";
29575
29879
  readonly phase: "S0";
29576
29880
  };
29881
+ /**
29882
+ * The dashboard states the signed-in person's owner and admin roles in
29883
+ * companies, and the service brings the member lists in line (see
29884
+ * `MemberCompanySync`). `dashboard` access: the dashboard's service token
29885
+ * and the person's subject, no workspace. An API key is refused, and so is
29886
+ * every trusted application: it is not in any `TRUSTED_APP_OPERATIONS` list
29887
+ * and the handler refuses an application once more by itself.
29888
+ */
29889
+ readonly 'members.syncCompanyRole': {
29890
+ readonly method: "POST";
29891
+ readonly path: "/v1/members/company-sync";
29892
+ readonly body: z.ZodObject<{
29893
+ email: z.ZodString;
29894
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29895
+ companies: z.ZodEffects<z.ZodArray<z.ZodObject<{
29896
+ company_id: z.ZodString;
29897
+ role: z.ZodEnum<["owner", "admin"]>;
29898
+ }, "strip", z.ZodTypeAny, {
29899
+ company_id: string;
29900
+ role: "owner" | "admin";
29901
+ }, {
29902
+ company_id: string;
29903
+ role: "owner" | "admin";
29904
+ }>, "many">, {
29905
+ company_id: string;
29906
+ role: "owner" | "admin";
29907
+ }[], {
29908
+ company_id: string;
29909
+ role: "owner" | "admin";
29910
+ }[]>;
29911
+ }, "strip", z.ZodTypeAny, {
29912
+ email: string;
29913
+ companies: {
29914
+ company_id: string;
29915
+ role: "owner" | "admin";
29916
+ }[];
29917
+ name?: string | null | undefined;
29918
+ }, {
29919
+ email: string;
29920
+ companies: {
29921
+ company_id: string;
29922
+ role: "owner" | "admin";
29923
+ }[];
29924
+ name?: string | null | undefined;
29925
+ }>;
29926
+ readonly response: z.ZodObject<{
29927
+ granted: z.ZodArray<z.ZodString, "many">;
29928
+ revoked: z.ZodArray<z.ZodString, "many">;
29929
+ unchanged: z.ZodArray<z.ZodString, "many">;
29930
+ }, "strip", z.ZodTypeAny, {
29931
+ unchanged: string[];
29932
+ granted: string[];
29933
+ revoked: string[];
29934
+ }, {
29935
+ unchanged: string[];
29936
+ granted: string[];
29937
+ revoked: string[];
29938
+ }>;
29939
+ readonly status: 200;
29940
+ readonly access: "dashboard";
29941
+ readonly phase: "S0";
29942
+ readonly statement: true;
29943
+ };
29577
29944
  readonly 'apiKeys.list': {
29578
29945
  readonly method: "GET";
29579
29946
  readonly path: "/v1/api-keys";
@@ -37798,6 +38165,7 @@ declare const sendingRoutes: {
37798
38165
  kind: "smtp";
37799
38166
  created_at: string;
37800
38167
  updated_at: string;
38168
+ reply_to: string | null;
37801
38169
  config: {
37802
38170
  host: string;
37803
38171
  port: number;
@@ -37820,7 +38188,6 @@ declare const sendingRoutes: {
37820
38188
  };
37821
38189
  from_name: string;
37822
38190
  from_email: string;
37823
- reply_to: string | null;
37824
38191
  policy: {
37825
38192
  daily_recipient_budget: number;
37826
38193
  min_interval_ms: number;
@@ -37832,6 +38199,7 @@ declare const sendingRoutes: {
37832
38199
  kind: "smtp";
37833
38200
  created_at: string;
37834
38201
  updated_at: string;
38202
+ reply_to: string | null;
37835
38203
  config: {
37836
38204
  host: string;
37837
38205
  port: number;
@@ -37854,7 +38222,6 @@ declare const sendingRoutes: {
37854
38222
  };
37855
38223
  from_name: string;
37856
38224
  from_email: string;
37857
- reply_to: string | null;
37858
38225
  policy: {
37859
38226
  daily_recipient_budget: number;
37860
38227
  min_interval_ms: number;
@@ -37960,6 +38327,7 @@ declare const sendingRoutes: {
37960
38327
  kind: "resend";
37961
38328
  created_at: string;
37962
38329
  updated_at: string;
38330
+ reply_to: string | null;
37963
38331
  config: {};
37964
38332
  has_secret: boolean;
37965
38333
  rejections: {
@@ -37977,7 +38345,6 @@ declare const sendingRoutes: {
37977
38345
  };
37978
38346
  from_name: string;
37979
38347
  from_email: string;
37980
- reply_to: string | null;
37981
38348
  policy: {
37982
38349
  daily_recipient_budget: number;
37983
38350
  min_interval_ms: number;
@@ -37996,6 +38363,7 @@ declare const sendingRoutes: {
37996
38363
  kind: "resend";
37997
38364
  created_at: string;
37998
38365
  updated_at: string;
38366
+ reply_to: string | null;
37999
38367
  config: {};
38000
38368
  has_secret: boolean;
38001
38369
  rejections: {
@@ -38013,7 +38381,6 @@ declare const sendingRoutes: {
38013
38381
  };
38014
38382
  from_name: string;
38015
38383
  from_email: string;
38016
- reply_to: string | null;
38017
38384
  policy: {
38018
38385
  daily_recipient_budget: number;
38019
38386
  min_interval_ms: number;
@@ -38035,6 +38402,7 @@ declare const sendingRoutes: {
38035
38402
  kind: "smtp";
38036
38403
  created_at: string;
38037
38404
  updated_at: string;
38405
+ reply_to: string | null;
38038
38406
  config: {
38039
38407
  host: string;
38040
38408
  port: number;
@@ -38057,7 +38425,6 @@ declare const sendingRoutes: {
38057
38425
  };
38058
38426
  from_name: string;
38059
38427
  from_email: string;
38060
- reply_to: string | null;
38061
38428
  policy: {
38062
38429
  daily_recipient_budget: number;
38063
38430
  min_interval_ms: number;
@@ -38069,6 +38436,7 @@ declare const sendingRoutes: {
38069
38436
  kind: "resend";
38070
38437
  created_at: string;
38071
38438
  updated_at: string;
38439
+ reply_to: string | null;
38072
38440
  config: {};
38073
38441
  has_secret: boolean;
38074
38442
  rejections: {
@@ -38086,7 +38454,6 @@ declare const sendingRoutes: {
38086
38454
  };
38087
38455
  from_name: string;
38088
38456
  from_email: string;
38089
- reply_to: string | null;
38090
38457
  policy: {
38091
38458
  daily_recipient_budget: number;
38092
38459
  min_interval_ms: number;
@@ -38108,6 +38475,7 @@ declare const sendingRoutes: {
38108
38475
  kind: "smtp";
38109
38476
  created_at: string;
38110
38477
  updated_at: string;
38478
+ reply_to: string | null;
38111
38479
  config: {
38112
38480
  host: string;
38113
38481
  port: number;
@@ -38130,7 +38498,6 @@ declare const sendingRoutes: {
38130
38498
  };
38131
38499
  from_name: string;
38132
38500
  from_email: string;
38133
- reply_to: string | null;
38134
38501
  policy: {
38135
38502
  daily_recipient_budget: number;
38136
38503
  min_interval_ms: number;
@@ -38142,6 +38509,7 @@ declare const sendingRoutes: {
38142
38509
  kind: "resend";
38143
38510
  created_at: string;
38144
38511
  updated_at: string;
38512
+ reply_to: string | null;
38145
38513
  config: {};
38146
38514
  has_secret: boolean;
38147
38515
  rejections: {
@@ -38159,7 +38527,6 @@ declare const sendingRoutes: {
38159
38527
  };
38160
38528
  from_name: string;
38161
38529
  from_email: string;
38162
- reply_to: string | null;
38163
38530
  policy: {
38164
38531
  daily_recipient_budget: number;
38165
38532
  min_interval_ms: number;
@@ -38224,6 +38591,7 @@ declare const sendingRoutes: {
38224
38591
  }, "strip", z.ZodTypeAny, {
38225
38592
  name: string;
38226
38593
  kind: "smtp";
38594
+ reply_to: string | null;
38227
38595
  config: {
38228
38596
  host: string;
38229
38597
  port: number;
@@ -38233,7 +38601,6 @@ declare const sendingRoutes: {
38233
38601
  };
38234
38602
  from_name: string;
38235
38603
  from_email: string;
38236
- reply_to: string | null;
38237
38604
  policy: {
38238
38605
  daily_recipient_budget: number;
38239
38606
  min_interval_ms: number;
@@ -38242,6 +38609,7 @@ declare const sendingRoutes: {
38242
38609
  }, {
38243
38610
  name: string;
38244
38611
  kind: "smtp";
38612
+ reply_to: string | null;
38245
38613
  config: {
38246
38614
  host: string;
38247
38615
  port: number;
@@ -38251,7 +38619,6 @@ declare const sendingRoutes: {
38251
38619
  };
38252
38620
  from_name: string;
38253
38621
  from_email: string;
38254
- reply_to: string | null;
38255
38622
  policy: {
38256
38623
  daily_recipient_budget: number;
38257
38624
  min_interval_ms: number;
@@ -38286,12 +38653,12 @@ declare const sendingRoutes: {
38286
38653
  }, "strip", z.ZodTypeAny, {
38287
38654
  name: string;
38288
38655
  kind: "resend";
38656
+ reply_to: string | null;
38289
38657
  config: {
38290
38658
  api_key: string;
38291
38659
  };
38292
38660
  from_name: string;
38293
38661
  from_email: string;
38294
- reply_to: string | null;
38295
38662
  policy: {
38296
38663
  daily_recipient_budget: number;
38297
38664
  min_interval_ms: number;
@@ -38300,12 +38667,12 @@ declare const sendingRoutes: {
38300
38667
  }, {
38301
38668
  name: string;
38302
38669
  kind: "resend";
38670
+ reply_to: string | null;
38303
38671
  config: {
38304
38672
  api_key: string;
38305
38673
  };
38306
38674
  from_name: string;
38307
38675
  from_email: string;
38308
- reply_to: string | null;
38309
38676
  policy: {
38310
38677
  daily_recipient_budget: number;
38311
38678
  min_interval_ms: number;
@@ -38408,6 +38775,7 @@ declare const sendingRoutes: {
38408
38775
  kind: "smtp";
38409
38776
  created_at: string;
38410
38777
  updated_at: string;
38778
+ reply_to: string | null;
38411
38779
  config: {
38412
38780
  host: string;
38413
38781
  port: number;
@@ -38430,7 +38798,6 @@ declare const sendingRoutes: {
38430
38798
  };
38431
38799
  from_name: string;
38432
38800
  from_email: string;
38433
- reply_to: string | null;
38434
38801
  policy: {
38435
38802
  daily_recipient_budget: number;
38436
38803
  min_interval_ms: number;
@@ -38442,6 +38809,7 @@ declare const sendingRoutes: {
38442
38809
  kind: "smtp";
38443
38810
  created_at: string;
38444
38811
  updated_at: string;
38812
+ reply_to: string | null;
38445
38813
  config: {
38446
38814
  host: string;
38447
38815
  port: number;
@@ -38464,7 +38832,6 @@ declare const sendingRoutes: {
38464
38832
  };
38465
38833
  from_name: string;
38466
38834
  from_email: string;
38467
- reply_to: string | null;
38468
38835
  policy: {
38469
38836
  daily_recipient_budget: number;
38470
38837
  min_interval_ms: number;
@@ -38570,6 +38937,7 @@ declare const sendingRoutes: {
38570
38937
  kind: "resend";
38571
38938
  created_at: string;
38572
38939
  updated_at: string;
38940
+ reply_to: string | null;
38573
38941
  config: {};
38574
38942
  has_secret: boolean;
38575
38943
  rejections: {
@@ -38587,7 +38955,6 @@ declare const sendingRoutes: {
38587
38955
  };
38588
38956
  from_name: string;
38589
38957
  from_email: string;
38590
- reply_to: string | null;
38591
38958
  policy: {
38592
38959
  daily_recipient_budget: number;
38593
38960
  min_interval_ms: number;
@@ -38606,6 +38973,7 @@ declare const sendingRoutes: {
38606
38973
  kind: "resend";
38607
38974
  created_at: string;
38608
38975
  updated_at: string;
38976
+ reply_to: string | null;
38609
38977
  config: {};
38610
38978
  has_secret: boolean;
38611
38979
  rejections: {
@@ -38623,7 +38991,6 @@ declare const sendingRoutes: {
38623
38991
  };
38624
38992
  from_name: string;
38625
38993
  from_email: string;
38626
- reply_to: string | null;
38627
38994
  policy: {
38628
38995
  daily_recipient_budget: number;
38629
38996
  min_interval_ms: number;
@@ -38747,6 +39114,7 @@ declare const sendingRoutes: {
38747
39114
  kind: "smtp";
38748
39115
  created_at: string;
38749
39116
  updated_at: string;
39117
+ reply_to: string | null;
38750
39118
  config: {
38751
39119
  host: string;
38752
39120
  port: number;
@@ -38769,7 +39137,6 @@ declare const sendingRoutes: {
38769
39137
  };
38770
39138
  from_name: string;
38771
39139
  from_email: string;
38772
- reply_to: string | null;
38773
39140
  policy: {
38774
39141
  daily_recipient_budget: number;
38775
39142
  min_interval_ms: number;
@@ -38781,6 +39148,7 @@ declare const sendingRoutes: {
38781
39148
  kind: "smtp";
38782
39149
  created_at: string;
38783
39150
  updated_at: string;
39151
+ reply_to: string | null;
38784
39152
  config: {
38785
39153
  host: string;
38786
39154
  port: number;
@@ -38803,7 +39171,6 @@ declare const sendingRoutes: {
38803
39171
  };
38804
39172
  from_name: string;
38805
39173
  from_email: string;
38806
- reply_to: string | null;
38807
39174
  policy: {
38808
39175
  daily_recipient_budget: number;
38809
39176
  min_interval_ms: number;
@@ -38909,6 +39276,7 @@ declare const sendingRoutes: {
38909
39276
  kind: "resend";
38910
39277
  created_at: string;
38911
39278
  updated_at: string;
39279
+ reply_to: string | null;
38912
39280
  config: {};
38913
39281
  has_secret: boolean;
38914
39282
  rejections: {
@@ -38926,7 +39294,6 @@ declare const sendingRoutes: {
38926
39294
  };
38927
39295
  from_name: string;
38928
39296
  from_email: string;
38929
- reply_to: string | null;
38930
39297
  policy: {
38931
39298
  daily_recipient_budget: number;
38932
39299
  min_interval_ms: number;
@@ -38945,6 +39312,7 @@ declare const sendingRoutes: {
38945
39312
  kind: "resend";
38946
39313
  created_at: string;
38947
39314
  updated_at: string;
39315
+ reply_to: string | null;
38948
39316
  config: {};
38949
39317
  has_secret: boolean;
38950
39318
  rejections: {
@@ -38962,7 +39330,6 @@ declare const sendingRoutes: {
38962
39330
  };
38963
39331
  from_name: string;
38964
39332
  from_email: string;
38965
- reply_to: string | null;
38966
39333
  policy: {
38967
39334
  daily_recipient_budget: number;
38968
39335
  min_interval_ms: number;
@@ -39031,6 +39398,7 @@ declare const sendingRoutes: {
39031
39398
  }, "strip", z.ZodTypeAny, {
39032
39399
  kind: "smtp";
39033
39400
  name?: string | undefined;
39401
+ reply_to?: string | null | undefined;
39034
39402
  config?: {
39035
39403
  host?: string | undefined;
39036
39404
  port?: number | undefined;
@@ -39040,7 +39408,6 @@ declare const sendingRoutes: {
39040
39408
  } | undefined;
39041
39409
  from_name?: string | undefined;
39042
39410
  from_email?: string | undefined;
39043
- reply_to?: string | null | undefined;
39044
39411
  policy?: {
39045
39412
  daily_recipient_budget?: number | undefined;
39046
39413
  min_interval_ms?: number | undefined;
@@ -39049,6 +39416,7 @@ declare const sendingRoutes: {
39049
39416
  }, {
39050
39417
  kind: "smtp";
39051
39418
  name?: string | undefined;
39419
+ reply_to?: string | null | undefined;
39052
39420
  config?: {
39053
39421
  host?: string | undefined;
39054
39422
  port?: number | undefined;
@@ -39058,7 +39426,6 @@ declare const sendingRoutes: {
39058
39426
  } | undefined;
39059
39427
  from_name?: string | undefined;
39060
39428
  from_email?: string | undefined;
39061
- reply_to?: string | null | undefined;
39062
39429
  policy?: {
39063
39430
  daily_recipient_budget?: number | undefined;
39064
39431
  min_interval_ms?: number | undefined;
@@ -39093,12 +39460,12 @@ declare const sendingRoutes: {
39093
39460
  }, "strip", z.ZodTypeAny, {
39094
39461
  kind: "resend";
39095
39462
  name?: string | undefined;
39463
+ reply_to?: string | null | undefined;
39096
39464
  config?: {
39097
39465
  api_key?: string | undefined;
39098
39466
  } | undefined;
39099
39467
  from_name?: string | undefined;
39100
39468
  from_email?: string | undefined;
39101
- reply_to?: string | null | undefined;
39102
39469
  policy?: {
39103
39470
  daily_recipient_budget?: number | undefined;
39104
39471
  min_interval_ms?: number | undefined;
@@ -39107,12 +39474,12 @@ declare const sendingRoutes: {
39107
39474
  }, {
39108
39475
  kind: "resend";
39109
39476
  name?: string | undefined;
39477
+ reply_to?: string | null | undefined;
39110
39478
  config?: {
39111
39479
  api_key?: string | undefined;
39112
39480
  } | undefined;
39113
39481
  from_name?: string | undefined;
39114
39482
  from_email?: string | undefined;
39115
- reply_to?: string | null | undefined;
39116
39483
  policy?: {
39117
39484
  daily_recipient_budget?: number | undefined;
39118
39485
  min_interval_ms?: number | undefined;
@@ -39215,6 +39582,7 @@ declare const sendingRoutes: {
39215
39582
  kind: "smtp";
39216
39583
  created_at: string;
39217
39584
  updated_at: string;
39585
+ reply_to: string | null;
39218
39586
  config: {
39219
39587
  host: string;
39220
39588
  port: number;
@@ -39237,7 +39605,6 @@ declare const sendingRoutes: {
39237
39605
  };
39238
39606
  from_name: string;
39239
39607
  from_email: string;
39240
- reply_to: string | null;
39241
39608
  policy: {
39242
39609
  daily_recipient_budget: number;
39243
39610
  min_interval_ms: number;
@@ -39249,6 +39616,7 @@ declare const sendingRoutes: {
39249
39616
  kind: "smtp";
39250
39617
  created_at: string;
39251
39618
  updated_at: string;
39619
+ reply_to: string | null;
39252
39620
  config: {
39253
39621
  host: string;
39254
39622
  port: number;
@@ -39271,7 +39639,6 @@ declare const sendingRoutes: {
39271
39639
  };
39272
39640
  from_name: string;
39273
39641
  from_email: string;
39274
- reply_to: string | null;
39275
39642
  policy: {
39276
39643
  daily_recipient_budget: number;
39277
39644
  min_interval_ms: number;
@@ -39377,6 +39744,7 @@ declare const sendingRoutes: {
39377
39744
  kind: "resend";
39378
39745
  created_at: string;
39379
39746
  updated_at: string;
39747
+ reply_to: string | null;
39380
39748
  config: {};
39381
39749
  has_secret: boolean;
39382
39750
  rejections: {
@@ -39394,7 +39762,6 @@ declare const sendingRoutes: {
39394
39762
  };
39395
39763
  from_name: string;
39396
39764
  from_email: string;
39397
- reply_to: string | null;
39398
39765
  policy: {
39399
39766
  daily_recipient_budget: number;
39400
39767
  min_interval_ms: number;
@@ -39413,6 +39780,7 @@ declare const sendingRoutes: {
39413
39780
  kind: "resend";
39414
39781
  created_at: string;
39415
39782
  updated_at: string;
39783
+ reply_to: string | null;
39416
39784
  config: {};
39417
39785
  has_secret: boolean;
39418
39786
  rejections: {
@@ -39430,7 +39798,6 @@ declare const sendingRoutes: {
39430
39798
  };
39431
39799
  from_name: string;
39432
39800
  from_email: string;
39433
- reply_to: string | null;
39434
39801
  policy: {
39435
39802
  daily_recipient_budget: number;
39436
39803
  min_interval_ms: number;
@@ -39606,6 +39973,7 @@ declare const sendingRoutes: {
39606
39973
  kind: "smtp";
39607
39974
  created_at: string;
39608
39975
  updated_at: string;
39976
+ reply_to: string | null;
39609
39977
  config: {
39610
39978
  host: string;
39611
39979
  port: number;
@@ -39628,7 +39996,6 @@ declare const sendingRoutes: {
39628
39996
  };
39629
39997
  from_name: string;
39630
39998
  from_email: string;
39631
- reply_to: string | null;
39632
39999
  policy: {
39633
40000
  daily_recipient_budget: number;
39634
40001
  min_interval_ms: number;
@@ -39640,6 +40007,7 @@ declare const sendingRoutes: {
39640
40007
  kind: "smtp";
39641
40008
  created_at: string;
39642
40009
  updated_at: string;
40010
+ reply_to: string | null;
39643
40011
  config: {
39644
40012
  host: string;
39645
40013
  port: number;
@@ -39662,7 +40030,6 @@ declare const sendingRoutes: {
39662
40030
  };
39663
40031
  from_name: string;
39664
40032
  from_email: string;
39665
- reply_to: string | null;
39666
40033
  policy: {
39667
40034
  daily_recipient_budget: number;
39668
40035
  min_interval_ms: number;
@@ -39768,6 +40135,7 @@ declare const sendingRoutes: {
39768
40135
  kind: "resend";
39769
40136
  created_at: string;
39770
40137
  updated_at: string;
40138
+ reply_to: string | null;
39771
40139
  config: {};
39772
40140
  has_secret: boolean;
39773
40141
  rejections: {
@@ -39785,7 +40153,6 @@ declare const sendingRoutes: {
39785
40153
  };
39786
40154
  from_name: string;
39787
40155
  from_email: string;
39788
- reply_to: string | null;
39789
40156
  policy: {
39790
40157
  daily_recipient_budget: number;
39791
40158
  min_interval_ms: number;
@@ -39804,6 +40171,7 @@ declare const sendingRoutes: {
39804
40171
  kind: "resend";
39805
40172
  created_at: string;
39806
40173
  updated_at: string;
40174
+ reply_to: string | null;
39807
40175
  config: {};
39808
40176
  has_secret: boolean;
39809
40177
  rejections: {
@@ -39821,7 +40189,6 @@ declare const sendingRoutes: {
39821
40189
  };
39822
40190
  from_name: string;
39823
40191
  from_email: string;
39824
- reply_to: string | null;
39825
40192
  policy: {
39826
40193
  daily_recipient_budget: number;
39827
40194
  min_interval_ms: number;
@@ -39945,6 +40312,7 @@ declare const sendingRoutes: {
39945
40312
  kind: "smtp";
39946
40313
  created_at: string;
39947
40314
  updated_at: string;
40315
+ reply_to: string | null;
39948
40316
  config: {
39949
40317
  host: string;
39950
40318
  port: number;
@@ -39967,7 +40335,6 @@ declare const sendingRoutes: {
39967
40335
  };
39968
40336
  from_name: string;
39969
40337
  from_email: string;
39970
- reply_to: string | null;
39971
40338
  policy: {
39972
40339
  daily_recipient_budget: number;
39973
40340
  min_interval_ms: number;
@@ -39979,6 +40346,7 @@ declare const sendingRoutes: {
39979
40346
  kind: "smtp";
39980
40347
  created_at: string;
39981
40348
  updated_at: string;
40349
+ reply_to: string | null;
39982
40350
  config: {
39983
40351
  host: string;
39984
40352
  port: number;
@@ -40001,7 +40369,6 @@ declare const sendingRoutes: {
40001
40369
  };
40002
40370
  from_name: string;
40003
40371
  from_email: string;
40004
- reply_to: string | null;
40005
40372
  policy: {
40006
40373
  daily_recipient_budget: number;
40007
40374
  min_interval_ms: number;
@@ -40107,6 +40474,7 @@ declare const sendingRoutes: {
40107
40474
  kind: "resend";
40108
40475
  created_at: string;
40109
40476
  updated_at: string;
40477
+ reply_to: string | null;
40110
40478
  config: {};
40111
40479
  has_secret: boolean;
40112
40480
  rejections: {
@@ -40124,7 +40492,6 @@ declare const sendingRoutes: {
40124
40492
  };
40125
40493
  from_name: string;
40126
40494
  from_email: string;
40127
- reply_to: string | null;
40128
40495
  policy: {
40129
40496
  daily_recipient_budget: number;
40130
40497
  min_interval_ms: number;
@@ -40143,6 +40510,7 @@ declare const sendingRoutes: {
40143
40510
  kind: "resend";
40144
40511
  created_at: string;
40145
40512
  updated_at: string;
40513
+ reply_to: string | null;
40146
40514
  config: {};
40147
40515
  has_secret: boolean;
40148
40516
  rejections: {
@@ -40160,7 +40528,6 @@ declare const sendingRoutes: {
40160
40528
  };
40161
40529
  from_name: string;
40162
40530
  from_email: string;
40163
- reply_to: string | null;
40164
40531
  policy: {
40165
40532
  daily_recipient_budget: number;
40166
40533
  min_interval_ms: number;
@@ -40987,13 +41354,13 @@ declare const sendingRoutes: {
40987
41354
  }, "strip", z.ZodTypeAny, {
40988
41355
  cursor?: string | undefined;
40989
41356
  limit?: number | undefined;
40990
- reason?: "manual" | "unsubscribed" | "bounced" | "complained" | undefined;
41357
+ reason?: "manual" | "bounced" | "complained" | "unsubscribed" | undefined;
40991
41358
  email?: string | undefined;
40992
41359
  topic?: string | undefined;
40993
41360
  }, {
40994
41361
  cursor?: string | undefined;
40995
41362
  limit?: number | undefined;
40996
- reason?: "manual" | "unsubscribed" | "bounced" | "complained" | undefined;
41363
+ reason?: "manual" | "bounced" | "complained" | "unsubscribed" | undefined;
40997
41364
  email?: string | undefined;
40998
41365
  topic?: string | undefined;
40999
41366
  }>;
@@ -41008,7 +41375,7 @@ declare const sendingRoutes: {
41008
41375
  created_at: z.ZodString;
41009
41376
  }, "strip", z.ZodTypeAny, {
41010
41377
  id: string;
41011
- reason: "manual" | "unsubscribed" | "bounced" | "complained";
41378
+ reason: "manual" | "bounced" | "complained" | "unsubscribed";
41012
41379
  email: string;
41013
41380
  note: string | null;
41014
41381
  created_at: string;
@@ -41016,7 +41383,7 @@ declare const sendingRoutes: {
41016
41383
  source_message_id: string | null;
41017
41384
  }, {
41018
41385
  id: string;
41019
- reason: "manual" | "unsubscribed" | "bounced" | "complained";
41386
+ reason: "manual" | "bounced" | "complained" | "unsubscribed";
41020
41387
  email: string;
41021
41388
  note: string | null;
41022
41389
  created_at: string;
@@ -41027,7 +41394,7 @@ declare const sendingRoutes: {
41027
41394
  }, "strip", z.ZodTypeAny, {
41028
41395
  data: {
41029
41396
  id: string;
41030
- reason: "manual" | "unsubscribed" | "bounced" | "complained";
41397
+ reason: "manual" | "bounced" | "complained" | "unsubscribed";
41031
41398
  email: string;
41032
41399
  note: string | null;
41033
41400
  created_at: string;
@@ -41038,7 +41405,7 @@ declare const sendingRoutes: {
41038
41405
  }, {
41039
41406
  data: {
41040
41407
  id: string;
41041
- reason: "manual" | "unsubscribed" | "bounced" | "complained";
41408
+ reason: "manual" | "bounced" | "complained" | "unsubscribed";
41042
41409
  email: string;
41043
41410
  note: string | null;
41044
41411
  created_at: string;
@@ -41080,7 +41447,7 @@ declare const sendingRoutes: {
41080
41447
  created_at: z.ZodString;
41081
41448
  }, "strip", z.ZodTypeAny, {
41082
41449
  id: string;
41083
- reason: "manual" | "unsubscribed" | "bounced" | "complained";
41450
+ reason: "manual" | "bounced" | "complained" | "unsubscribed";
41084
41451
  email: string;
41085
41452
  note: string | null;
41086
41453
  created_at: string;
@@ -41088,7 +41455,7 @@ declare const sendingRoutes: {
41088
41455
  source_message_id: string | null;
41089
41456
  }, {
41090
41457
  id: string;
41091
- reason: "manual" | "unsubscribed" | "bounced" | "complained";
41458
+ reason: "manual" | "bounced" | "complained" | "unsubscribed";
41092
41459
  email: string;
41093
41460
  note: string | null;
41094
41461
  created_at: string;
@@ -41197,6 +41564,8 @@ declare const sendingRoutes: {
41197
41564
  }>;
41198
41565
  metadata: z.ZodEffects<z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodString>, Record<string, string>, Record<string, string>>, Record<string, string>, Record<string, string>>;
41199
41566
  merge: z.ZodDefault<z.ZodEffects<z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]>>, Record<string, string | number | boolean>, Record<string, string | number | boolean>>, Record<string, string | number | boolean>, Record<string, string | number | boolean>>>;
41567
+ reply_to: z.ZodDefault<z.ZodNullable<z.ZodString>>;
41568
+ transactional: z.ZodDefault<z.ZodBoolean>;
41200
41569
  scheduled_at: z.ZodNullable<z.ZodString>;
41201
41570
  ab_test: z.ZodNullable<z.ZodObject<{
41202
41571
  variants: z.ZodArray<z.ZodObject<{
@@ -41279,6 +41648,8 @@ declare const sendingRoutes: {
41279
41648
  failed: number;
41280
41649
  skipped: number;
41281
41650
  };
41651
+ reply_to: string | null;
41652
+ transactional: boolean;
41282
41653
  scheduled_at: string | null;
41283
41654
  ab_test: {
41284
41655
  status: "pending" | "testing" | "awaiting_pick" | "decided";
@@ -41341,6 +41712,8 @@ declare const sendingRoutes: {
41341
41712
  finished_at: string | null;
41342
41713
  merge?: Record<string, string | number | boolean> | undefined;
41343
41714
  template_locale?: string | null | undefined;
41715
+ reply_to?: string | null | undefined;
41716
+ transactional?: boolean | undefined;
41344
41717
  pause_reason?: string | null | undefined;
41345
41718
  }>, "many">;
41346
41719
  next_cursor: z.ZodNullable<z.ZodString>;
@@ -41370,6 +41743,8 @@ declare const sendingRoutes: {
41370
41743
  failed: number;
41371
41744
  skipped: number;
41372
41745
  };
41746
+ reply_to: string | null;
41747
+ transactional: boolean;
41373
41748
  scheduled_at: string | null;
41374
41749
  ab_test: {
41375
41750
  status: "pending" | "testing" | "awaiting_pick" | "decided";
@@ -41435,6 +41810,8 @@ declare const sendingRoutes: {
41435
41810
  finished_at: string | null;
41436
41811
  merge?: Record<string, string | number | boolean> | undefined;
41437
41812
  template_locale?: string | null | undefined;
41813
+ reply_to?: string | null | undefined;
41814
+ transactional?: boolean | undefined;
41438
41815
  pause_reason?: string | null | undefined;
41439
41816
  }[];
41440
41817
  next_cursor: string | null;
@@ -41463,6 +41840,7 @@ declare const sendingRoutes: {
41463
41840
  }, z.ZodTypeAny, "passthrough">>>;
41464
41841
  template_id: z.ZodOptional<z.ZodString>;
41465
41842
  template_locale: z.ZodOptional<z.ZodString>;
41843
+ transactional: z.ZodOptional<z.ZodBoolean>;
41466
41844
  name: z.ZodOptional<z.ZodString>;
41467
41845
  preheader: z.ZodOptional<z.ZodString>;
41468
41846
  send_locale: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -41470,6 +41848,7 @@ declare const sendingRoutes: {
41470
41848
  provider_id: z.ZodString;
41471
41849
  metadata: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodString>, Record<string, string>, Record<string, string>>, Record<string, string>, Record<string, string>>>;
41472
41850
  merge: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]>>, Record<string, string | number | boolean>, Record<string, string | number | boolean>>, Record<string, string | number | boolean>, Record<string, string | number | boolean>>>;
41851
+ reply_to: z.ZodOptional<z.ZodNullable<z.ZodString>>;
41473
41852
  }, "strip", z.ZodTypeAny, {
41474
41853
  provider_id: string;
41475
41854
  merge?: Record<string, string | number | boolean> | undefined;
@@ -41486,6 +41865,8 @@ declare const sendingRoutes: {
41486
41865
  send_locale?: string | null | undefined;
41487
41866
  template_locale?: string | undefined;
41488
41867
  topic?: string | null | undefined;
41868
+ reply_to?: string | null | undefined;
41869
+ transactional?: boolean | undefined;
41489
41870
  }, {
41490
41871
  provider_id: string;
41491
41872
  merge?: Record<string, string | number | boolean> | undefined;
@@ -41502,6 +41883,8 @@ declare const sendingRoutes: {
41502
41883
  send_locale?: string | null | undefined;
41503
41884
  template_locale?: string | undefined;
41504
41885
  topic?: string | null | undefined;
41886
+ reply_to?: string | null | undefined;
41887
+ transactional?: boolean | undefined;
41505
41888
  }>, {
41506
41889
  provider_id: string;
41507
41890
  merge?: Record<string, string | number | boolean> | undefined;
@@ -41518,6 +41901,8 @@ declare const sendingRoutes: {
41518
41901
  send_locale?: string | null | undefined;
41519
41902
  template_locale?: string | undefined;
41520
41903
  topic?: string | null | undefined;
41904
+ reply_to?: string | null | undefined;
41905
+ transactional?: boolean | undefined;
41521
41906
  }, {
41522
41907
  provider_id: string;
41523
41908
  merge?: Record<string, string | number | boolean> | undefined;
@@ -41534,6 +41919,8 @@ declare const sendingRoutes: {
41534
41919
  send_locale?: string | null | undefined;
41535
41920
  template_locale?: string | undefined;
41536
41921
  topic?: string | null | undefined;
41922
+ reply_to?: string | null | undefined;
41923
+ transactional?: boolean | undefined;
41537
41924
  }>, {
41538
41925
  provider_id: string;
41539
41926
  merge?: Record<string, string | number | boolean> | undefined;
@@ -41550,6 +41937,8 @@ declare const sendingRoutes: {
41550
41937
  send_locale?: string | null | undefined;
41551
41938
  template_locale?: string | undefined;
41552
41939
  topic?: string | null | undefined;
41940
+ reply_to?: string | null | undefined;
41941
+ transactional?: boolean | undefined;
41553
41942
  }, {
41554
41943
  provider_id: string;
41555
41944
  merge?: Record<string, string | number | boolean> | undefined;
@@ -41566,6 +41955,8 @@ declare const sendingRoutes: {
41566
41955
  send_locale?: string | null | undefined;
41567
41956
  template_locale?: string | undefined;
41568
41957
  topic?: string | null | undefined;
41958
+ reply_to?: string | null | undefined;
41959
+ transactional?: boolean | undefined;
41569
41960
  }>, {
41570
41961
  provider_id: string;
41571
41962
  merge?: Record<string, string | number | boolean> | undefined;
@@ -41582,6 +41973,8 @@ declare const sendingRoutes: {
41582
41973
  send_locale?: string | null | undefined;
41583
41974
  template_locale?: string | undefined;
41584
41975
  topic?: string | null | undefined;
41976
+ reply_to?: string | null | undefined;
41977
+ transactional?: boolean | undefined;
41585
41978
  }, {
41586
41979
  provider_id: string;
41587
41980
  merge?: Record<string, string | number | boolean> | undefined;
@@ -41598,6 +41991,8 @@ declare const sendingRoutes: {
41598
41991
  send_locale?: string | null | undefined;
41599
41992
  template_locale?: string | undefined;
41600
41993
  topic?: string | null | undefined;
41994
+ reply_to?: string | null | undefined;
41995
+ transactional?: boolean | undefined;
41601
41996
  }>;
41602
41997
  readonly response: z.ZodObject<{
41603
41998
  id: z.ZodString;
@@ -41649,6 +42044,8 @@ declare const sendingRoutes: {
41649
42044
  }>;
41650
42045
  metadata: z.ZodEffects<z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodString>, Record<string, string>, Record<string, string>>, Record<string, string>, Record<string, string>>;
41651
42046
  merge: z.ZodDefault<z.ZodEffects<z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]>>, Record<string, string | number | boolean>, Record<string, string | number | boolean>>, Record<string, string | number | boolean>, Record<string, string | number | boolean>>>;
42047
+ reply_to: z.ZodDefault<z.ZodNullable<z.ZodString>>;
42048
+ transactional: z.ZodDefault<z.ZodBoolean>;
41652
42049
  scheduled_at: z.ZodNullable<z.ZodString>;
41653
42050
  ab_test: z.ZodNullable<z.ZodObject<{
41654
42051
  variants: z.ZodArray<z.ZodObject<{
@@ -41738,6 +42135,8 @@ declare const sendingRoutes: {
41738
42135
  failed: number;
41739
42136
  skipped: number;
41740
42137
  };
42138
+ reply_to: string | null;
42139
+ transactional: boolean;
41741
42140
  scheduled_at: string | null;
41742
42141
  ab_test: {
41743
42142
  status: "pending" | "testing" | "awaiting_pick" | "decided";
@@ -41807,6 +42206,8 @@ declare const sendingRoutes: {
41807
42206
  finished_at: string | null;
41808
42207
  merge?: Record<string, string | number | boolean> | undefined;
41809
42208
  template_locale?: string | null | undefined;
42209
+ reply_to?: string | null | undefined;
42210
+ transactional?: boolean | undefined;
41810
42211
  pause_reason?: string | null | undefined;
41811
42212
  }>;
41812
42213
  readonly status: 201;
@@ -41873,6 +42274,8 @@ declare const sendingRoutes: {
41873
42274
  }>;
41874
42275
  metadata: z.ZodEffects<z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodString>, Record<string, string>, Record<string, string>>, Record<string, string>, Record<string, string>>;
41875
42276
  merge: z.ZodDefault<z.ZodEffects<z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]>>, Record<string, string | number | boolean>, Record<string, string | number | boolean>>, Record<string, string | number | boolean>, Record<string, string | number | boolean>>>;
42277
+ reply_to: z.ZodDefault<z.ZodNullable<z.ZodString>>;
42278
+ transactional: z.ZodDefault<z.ZodBoolean>;
41876
42279
  scheduled_at: z.ZodNullable<z.ZodString>;
41877
42280
  ab_test: z.ZodNullable<z.ZodObject<{
41878
42281
  variants: z.ZodArray<z.ZodObject<{
@@ -41962,6 +42365,8 @@ declare const sendingRoutes: {
41962
42365
  failed: number;
41963
42366
  skipped: number;
41964
42367
  };
42368
+ reply_to: string | null;
42369
+ transactional: boolean;
41965
42370
  scheduled_at: string | null;
41966
42371
  ab_test: {
41967
42372
  status: "pending" | "testing" | "awaiting_pick" | "decided";
@@ -42031,6 +42436,8 @@ declare const sendingRoutes: {
42031
42436
  finished_at: string | null;
42032
42437
  merge?: Record<string, string | number | boolean> | undefined;
42033
42438
  template_locale?: string | null | undefined;
42439
+ reply_to?: string | null | undefined;
42440
+ transactional?: boolean | undefined;
42034
42441
  pause_reason?: string | null | undefined;
42035
42442
  }>;
42036
42443
  readonly status: 200;
@@ -42079,6 +42486,7 @@ declare const sendingRoutes: {
42079
42486
  provider_id: z.ZodOptional<z.ZodString>;
42080
42487
  metadata: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodString>, Record<string, string>, Record<string, string>>, Record<string, string>, Record<string, string>>>;
42081
42488
  merge: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]>>, Record<string, string | number | boolean>, Record<string, string | number | boolean>>, Record<string, string | number | boolean>, Record<string, string | number | boolean>>>;
42489
+ reply_to: z.ZodOptional<z.ZodNullable<z.ZodString>>;
42082
42490
  document: z.ZodOptional<z.ZodObject<{
42083
42491
  version: z.ZodEnum<["1.0", "1.1"]>;
42084
42492
  metadata: z.ZodRecord<z.ZodString, z.ZodUnknown>;
@@ -42106,6 +42514,7 @@ declare const sendingRoutes: {
42106
42514
  send_locale?: string | null | undefined;
42107
42515
  topic?: string | null | undefined;
42108
42516
  provider_id?: string | undefined;
42517
+ reply_to?: string | null | undefined;
42109
42518
  }, {
42110
42519
  merge?: Record<string, string | number | boolean> | undefined;
42111
42520
  name?: string | null | undefined;
@@ -42120,6 +42529,7 @@ declare const sendingRoutes: {
42120
42529
  send_locale?: string | null | undefined;
42121
42530
  topic?: string | null | undefined;
42122
42531
  provider_id?: string | undefined;
42532
+ reply_to?: string | null | undefined;
42123
42533
  }>, {
42124
42534
  merge?: Record<string, string | number | boolean> | undefined;
42125
42535
  name?: string | null | undefined;
@@ -42134,6 +42544,7 @@ declare const sendingRoutes: {
42134
42544
  send_locale?: string | null | undefined;
42135
42545
  topic?: string | null | undefined;
42136
42546
  provider_id?: string | undefined;
42547
+ reply_to?: string | null | undefined;
42137
42548
  }, {
42138
42549
  merge?: Record<string, string | number | boolean> | undefined;
42139
42550
  name?: string | null | undefined;
@@ -42148,6 +42559,7 @@ declare const sendingRoutes: {
42148
42559
  send_locale?: string | null | undefined;
42149
42560
  topic?: string | null | undefined;
42150
42561
  provider_id?: string | undefined;
42562
+ reply_to?: string | null | undefined;
42151
42563
  }>;
42152
42564
  readonly response: z.ZodObject<{
42153
42565
  id: z.ZodString;
@@ -42199,6 +42611,8 @@ declare const sendingRoutes: {
42199
42611
  }>;
42200
42612
  metadata: z.ZodEffects<z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodString>, Record<string, string>, Record<string, string>>, Record<string, string>, Record<string, string>>;
42201
42613
  merge: z.ZodDefault<z.ZodEffects<z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]>>, Record<string, string | number | boolean>, Record<string, string | number | boolean>>, Record<string, string | number | boolean>, Record<string, string | number | boolean>>>;
42614
+ reply_to: z.ZodDefault<z.ZodNullable<z.ZodString>>;
42615
+ transactional: z.ZodDefault<z.ZodBoolean>;
42202
42616
  scheduled_at: z.ZodNullable<z.ZodString>;
42203
42617
  ab_test: z.ZodNullable<z.ZodObject<{
42204
42618
  variants: z.ZodArray<z.ZodObject<{
@@ -42288,6 +42702,8 @@ declare const sendingRoutes: {
42288
42702
  failed: number;
42289
42703
  skipped: number;
42290
42704
  };
42705
+ reply_to: string | null;
42706
+ transactional: boolean;
42291
42707
  scheduled_at: string | null;
42292
42708
  ab_test: {
42293
42709
  status: "pending" | "testing" | "awaiting_pick" | "decided";
@@ -42357,6 +42773,8 @@ declare const sendingRoutes: {
42357
42773
  finished_at: string | null;
42358
42774
  merge?: Record<string, string | number | boolean> | undefined;
42359
42775
  template_locale?: string | null | undefined;
42776
+ reply_to?: string | null | undefined;
42777
+ transactional?: boolean | undefined;
42360
42778
  pause_reason?: string | null | undefined;
42361
42779
  }>;
42362
42780
  readonly status: 200;
@@ -42890,6 +43308,8 @@ declare const sendingRoutes: {
42890
43308
  }>;
42891
43309
  metadata: z.ZodEffects<z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodString>, Record<string, string>, Record<string, string>>, Record<string, string>, Record<string, string>>;
42892
43310
  merge: z.ZodDefault<z.ZodEffects<z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]>>, Record<string, string | number | boolean>, Record<string, string | number | boolean>>, Record<string, string | number | boolean>, Record<string, string | number | boolean>>>;
43311
+ reply_to: z.ZodDefault<z.ZodNullable<z.ZodString>>;
43312
+ transactional: z.ZodDefault<z.ZodBoolean>;
42893
43313
  scheduled_at: z.ZodNullable<z.ZodString>;
42894
43314
  ab_test: z.ZodNullable<z.ZodObject<{
42895
43315
  variants: z.ZodArray<z.ZodObject<{
@@ -42979,6 +43399,8 @@ declare const sendingRoutes: {
42979
43399
  failed: number;
42980
43400
  skipped: number;
42981
43401
  };
43402
+ reply_to: string | null;
43403
+ transactional: boolean;
42982
43404
  scheduled_at: string | null;
42983
43405
  ab_test: {
42984
43406
  status: "pending" | "testing" | "awaiting_pick" | "decided";
@@ -43048,6 +43470,8 @@ declare const sendingRoutes: {
43048
43470
  finished_at: string | null;
43049
43471
  merge?: Record<string, string | number | boolean> | undefined;
43050
43472
  template_locale?: string | null | undefined;
43473
+ reply_to?: string | null | undefined;
43474
+ transactional?: boolean | undefined;
43051
43475
  pause_reason?: string | null | undefined;
43052
43476
  }>;
43053
43477
  readonly status: 202;
@@ -43115,6 +43539,8 @@ declare const sendingRoutes: {
43115
43539
  }>;
43116
43540
  metadata: z.ZodEffects<z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodString>, Record<string, string>, Record<string, string>>, Record<string, string>, Record<string, string>>;
43117
43541
  merge: z.ZodDefault<z.ZodEffects<z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]>>, Record<string, string | number | boolean>, Record<string, string | number | boolean>>, Record<string, string | number | boolean>, Record<string, string | number | boolean>>>;
43542
+ reply_to: z.ZodDefault<z.ZodNullable<z.ZodString>>;
43543
+ transactional: z.ZodDefault<z.ZodBoolean>;
43118
43544
  scheduled_at: z.ZodNullable<z.ZodString>;
43119
43545
  ab_test: z.ZodNullable<z.ZodObject<{
43120
43546
  variants: z.ZodArray<z.ZodObject<{
@@ -43204,6 +43630,8 @@ declare const sendingRoutes: {
43204
43630
  failed: number;
43205
43631
  skipped: number;
43206
43632
  };
43633
+ reply_to: string | null;
43634
+ transactional: boolean;
43207
43635
  scheduled_at: string | null;
43208
43636
  ab_test: {
43209
43637
  status: "pending" | "testing" | "awaiting_pick" | "decided";
@@ -43273,6 +43701,8 @@ declare const sendingRoutes: {
43273
43701
  finished_at: string | null;
43274
43702
  merge?: Record<string, string | number | boolean> | undefined;
43275
43703
  template_locale?: string | null | undefined;
43704
+ reply_to?: string | null | undefined;
43705
+ transactional?: boolean | undefined;
43276
43706
  pause_reason?: string | null | undefined;
43277
43707
  }>;
43278
43708
  readonly status: 200;
@@ -43340,6 +43770,8 @@ declare const sendingRoutes: {
43340
43770
  }>;
43341
43771
  metadata: z.ZodEffects<z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodString>, Record<string, string>, Record<string, string>>, Record<string, string>, Record<string, string>>;
43342
43772
  merge: z.ZodDefault<z.ZodEffects<z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]>>, Record<string, string | number | boolean>, Record<string, string | number | boolean>>, Record<string, string | number | boolean>, Record<string, string | number | boolean>>>;
43773
+ reply_to: z.ZodDefault<z.ZodNullable<z.ZodString>>;
43774
+ transactional: z.ZodDefault<z.ZodBoolean>;
43343
43775
  scheduled_at: z.ZodNullable<z.ZodString>;
43344
43776
  ab_test: z.ZodNullable<z.ZodObject<{
43345
43777
  variants: z.ZodArray<z.ZodObject<{
@@ -43429,6 +43861,8 @@ declare const sendingRoutes: {
43429
43861
  failed: number;
43430
43862
  skipped: number;
43431
43863
  };
43864
+ reply_to: string | null;
43865
+ transactional: boolean;
43432
43866
  scheduled_at: string | null;
43433
43867
  ab_test: {
43434
43868
  status: "pending" | "testing" | "awaiting_pick" | "decided";
@@ -43498,6 +43932,8 @@ declare const sendingRoutes: {
43498
43932
  finished_at: string | null;
43499
43933
  merge?: Record<string, string | number | boolean> | undefined;
43500
43934
  template_locale?: string | null | undefined;
43935
+ reply_to?: string | null | undefined;
43936
+ transactional?: boolean | undefined;
43501
43937
  pause_reason?: string | null | undefined;
43502
43938
  }>;
43503
43939
  readonly status: 202;
@@ -43565,6 +44001,8 @@ declare const sendingRoutes: {
43565
44001
  }>;
43566
44002
  metadata: z.ZodEffects<z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodString>, Record<string, string>, Record<string, string>>, Record<string, string>, Record<string, string>>;
43567
44003
  merge: z.ZodDefault<z.ZodEffects<z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]>>, Record<string, string | number | boolean>, Record<string, string | number | boolean>>, Record<string, string | number | boolean>, Record<string, string | number | boolean>>>;
44004
+ reply_to: z.ZodDefault<z.ZodNullable<z.ZodString>>;
44005
+ transactional: z.ZodDefault<z.ZodBoolean>;
43568
44006
  scheduled_at: z.ZodNullable<z.ZodString>;
43569
44007
  ab_test: z.ZodNullable<z.ZodObject<{
43570
44008
  variants: z.ZodArray<z.ZodObject<{
@@ -43654,6 +44092,8 @@ declare const sendingRoutes: {
43654
44092
  failed: number;
43655
44093
  skipped: number;
43656
44094
  };
44095
+ reply_to: string | null;
44096
+ transactional: boolean;
43657
44097
  scheduled_at: string | null;
43658
44098
  ab_test: {
43659
44099
  status: "pending" | "testing" | "awaiting_pick" | "decided";
@@ -43723,6 +44163,8 @@ declare const sendingRoutes: {
43723
44163
  finished_at: string | null;
43724
44164
  merge?: Record<string, string | number | boolean> | undefined;
43725
44165
  template_locale?: string | null | undefined;
44166
+ reply_to?: string | null | undefined;
44167
+ transactional?: boolean | undefined;
43726
44168
  pause_reason?: string | null | undefined;
43727
44169
  }>;
43728
44170
  readonly status: 200;
@@ -43796,6 +44238,8 @@ declare const sendingRoutes: {
43796
44238
  }>;
43797
44239
  metadata: z.ZodEffects<z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodString>, Record<string, string>, Record<string, string>>, Record<string, string>, Record<string, string>>;
43798
44240
  merge: z.ZodDefault<z.ZodEffects<z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]>>, Record<string, string | number | boolean>, Record<string, string | number | boolean>>, Record<string, string | number | boolean>, Record<string, string | number | boolean>>>;
44241
+ reply_to: z.ZodDefault<z.ZodNullable<z.ZodString>>;
44242
+ transactional: z.ZodDefault<z.ZodBoolean>;
43799
44243
  scheduled_at: z.ZodNullable<z.ZodString>;
43800
44244
  ab_test: z.ZodNullable<z.ZodObject<{
43801
44245
  variants: z.ZodArray<z.ZodObject<{
@@ -43885,6 +44329,8 @@ declare const sendingRoutes: {
43885
44329
  failed: number;
43886
44330
  skipped: number;
43887
44331
  };
44332
+ reply_to: string | null;
44333
+ transactional: boolean;
43888
44334
  scheduled_at: string | null;
43889
44335
  ab_test: {
43890
44336
  status: "pending" | "testing" | "awaiting_pick" | "decided";
@@ -43954,6 +44400,8 @@ declare const sendingRoutes: {
43954
44400
  finished_at: string | null;
43955
44401
  merge?: Record<string, string | number | boolean> | undefined;
43956
44402
  template_locale?: string | null | undefined;
44403
+ reply_to?: string | null | undefined;
44404
+ transactional?: boolean | undefined;
43957
44405
  pause_reason?: string | null | undefined;
43958
44406
  }>;
43959
44407
  readonly status: 202;
@@ -44027,6 +44475,8 @@ declare const sendingRoutes: {
44027
44475
  }>;
44028
44476
  metadata: z.ZodEffects<z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodString>, Record<string, string>, Record<string, string>>, Record<string, string>, Record<string, string>>;
44029
44477
  merge: z.ZodDefault<z.ZodEffects<z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]>>, Record<string, string | number | boolean>, Record<string, string | number | boolean>>, Record<string, string | number | boolean>, Record<string, string | number | boolean>>>;
44478
+ reply_to: z.ZodDefault<z.ZodNullable<z.ZodString>>;
44479
+ transactional: z.ZodDefault<z.ZodBoolean>;
44030
44480
  scheduled_at: z.ZodNullable<z.ZodString>;
44031
44481
  ab_test: z.ZodNullable<z.ZodObject<{
44032
44482
  variants: z.ZodArray<z.ZodObject<{
@@ -44116,6 +44566,8 @@ declare const sendingRoutes: {
44116
44566
  failed: number;
44117
44567
  skipped: number;
44118
44568
  };
44569
+ reply_to: string | null;
44570
+ transactional: boolean;
44119
44571
  scheduled_at: string | null;
44120
44572
  ab_test: {
44121
44573
  status: "pending" | "testing" | "awaiting_pick" | "decided";
@@ -44185,6 +44637,8 @@ declare const sendingRoutes: {
44185
44637
  finished_at: string | null;
44186
44638
  merge?: Record<string, string | number | boolean> | undefined;
44187
44639
  template_locale?: string | null | undefined;
44640
+ reply_to?: string | null | undefined;
44641
+ transactional?: boolean | undefined;
44188
44642
  pause_reason?: string | null | undefined;
44189
44643
  }>;
44190
44644
  readonly status: 201;
@@ -45595,6 +46049,8 @@ declare const platformRoutes: {
45595
46049
  }>;
45596
46050
  metadata: z.ZodEffects<z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodString>, Record<string, string>, Record<string, string>>, Record<string, string>, Record<string, string>>;
45597
46051
  merge: z.ZodDefault<z.ZodEffects<z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]>>, Record<string, string | number | boolean>, Record<string, string | number | boolean>>, Record<string, string | number | boolean>, Record<string, string | number | boolean>>>;
46052
+ reply_to: z.ZodDefault<z.ZodNullable<z.ZodString>>;
46053
+ transactional: z.ZodDefault<z.ZodBoolean>;
45598
46054
  scheduled_at: z.ZodNullable<z.ZodString>;
45599
46055
  ab_test: z.ZodNullable<z.ZodObject<{
45600
46056
  variants: z.ZodArray<z.ZodObject<{
@@ -45684,6 +46140,8 @@ declare const platformRoutes: {
45684
46140
  failed: number;
45685
46141
  skipped: number;
45686
46142
  };
46143
+ reply_to: string | null;
46144
+ transactional: boolean;
45687
46145
  scheduled_at: string | null;
45688
46146
  ab_test: {
45689
46147
  status: "pending" | "testing" | "awaiting_pick" | "decided";
@@ -45753,6 +46211,8 @@ declare const platformRoutes: {
45753
46211
  finished_at: string | null;
45754
46212
  merge?: Record<string, string | number | boolean> | undefined;
45755
46213
  template_locale?: string | null | undefined;
46214
+ reply_to?: string | null | undefined;
46215
+ transactional?: boolean | undefined;
45756
46216
  pause_reason?: string | null | undefined;
45757
46217
  }>;
45758
46218
  readonly status: 200;
@@ -45821,6 +46281,8 @@ declare const platformRoutes: {
45821
46281
  }>;
45822
46282
  metadata: z.ZodEffects<z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodString>, Record<string, string>, Record<string, string>>, Record<string, string>, Record<string, string>>;
45823
46283
  merge: z.ZodDefault<z.ZodEffects<z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]>>, Record<string, string | number | boolean>, Record<string, string | number | boolean>>, Record<string, string | number | boolean>, Record<string, string | number | boolean>>>;
46284
+ reply_to: z.ZodDefault<z.ZodNullable<z.ZodString>>;
46285
+ transactional: z.ZodDefault<z.ZodBoolean>;
45824
46286
  scheduled_at: z.ZodNullable<z.ZodString>;
45825
46287
  ab_test: z.ZodNullable<z.ZodObject<{
45826
46288
  variants: z.ZodArray<z.ZodObject<{
@@ -45910,6 +46372,8 @@ declare const platformRoutes: {
45910
46372
  failed: number;
45911
46373
  skipped: number;
45912
46374
  };
46375
+ reply_to: string | null;
46376
+ transactional: boolean;
45913
46377
  scheduled_at: string | null;
45914
46378
  ab_test: {
45915
46379
  status: "pending" | "testing" | "awaiting_pick" | "decided";
@@ -45979,6 +46443,8 @@ declare const platformRoutes: {
45979
46443
  finished_at: string | null;
45980
46444
  merge?: Record<string, string | number | boolean> | undefined;
45981
46445
  template_locale?: string | null | undefined;
46446
+ reply_to?: string | null | undefined;
46447
+ transactional?: boolean | undefined;
45982
46448
  pause_reason?: string | null | undefined;
45983
46449
  }>;
45984
46450
  readonly status: 200;
@@ -46167,6 +46633,8 @@ declare const platformRoutes: {
46167
46633
  }>;
46168
46634
  metadata: z.ZodEffects<z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodString>, Record<string, string>, Record<string, string>>, Record<string, string>, Record<string, string>>;
46169
46635
  merge: z.ZodDefault<z.ZodEffects<z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]>>, Record<string, string | number | boolean>, Record<string, string | number | boolean>>, Record<string, string | number | boolean>, Record<string, string | number | boolean>>>;
46636
+ reply_to: z.ZodDefault<z.ZodNullable<z.ZodString>>;
46637
+ transactional: z.ZodDefault<z.ZodBoolean>;
46170
46638
  scheduled_at: z.ZodNullable<z.ZodString>;
46171
46639
  ab_test: z.ZodNullable<z.ZodObject<{
46172
46640
  variants: z.ZodArray<z.ZodObject<{
@@ -46256,6 +46724,8 @@ declare const platformRoutes: {
46256
46724
  failed: number;
46257
46725
  skipped: number;
46258
46726
  };
46727
+ reply_to: string | null;
46728
+ transactional: boolean;
46259
46729
  scheduled_at: string | null;
46260
46730
  ab_test: {
46261
46731
  status: "pending" | "testing" | "awaiting_pick" | "decided";
@@ -46325,6 +46795,8 @@ declare const platformRoutes: {
46325
46795
  finished_at: string | null;
46326
46796
  merge?: Record<string, string | number | boolean> | undefined;
46327
46797
  template_locale?: string | null | undefined;
46798
+ reply_to?: string | null | undefined;
46799
+ transactional?: boolean | undefined;
46328
46800
  pause_reason?: string | null | undefined;
46329
46801
  }>;
46330
46802
  readonly status: 200;
@@ -46391,6 +46863,8 @@ declare const platformRoutes: {
46391
46863
  }>;
46392
46864
  metadata: z.ZodEffects<z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodString>, Record<string, string>, Record<string, string>>, Record<string, string>, Record<string, string>>;
46393
46865
  merge: z.ZodDefault<z.ZodEffects<z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]>>, Record<string, string | number | boolean>, Record<string, string | number | boolean>>, Record<string, string | number | boolean>, Record<string, string | number | boolean>>>;
46866
+ reply_to: z.ZodDefault<z.ZodNullable<z.ZodString>>;
46867
+ transactional: z.ZodDefault<z.ZodBoolean>;
46394
46868
  scheduled_at: z.ZodNullable<z.ZodString>;
46395
46869
  ab_test: z.ZodNullable<z.ZodObject<{
46396
46870
  variants: z.ZodArray<z.ZodObject<{
@@ -46480,6 +46954,8 @@ declare const platformRoutes: {
46480
46954
  failed: number;
46481
46955
  skipped: number;
46482
46956
  };
46957
+ reply_to: string | null;
46958
+ transactional: boolean;
46483
46959
  scheduled_at: string | null;
46484
46960
  ab_test: {
46485
46961
  status: "pending" | "testing" | "awaiting_pick" | "decided";
@@ -46549,6 +47025,8 @@ declare const platformRoutes: {
46549
47025
  finished_at: string | null;
46550
47026
  merge?: Record<string, string | number | boolean> | undefined;
46551
47027
  template_locale?: string | null | undefined;
47028
+ reply_to?: string | null | undefined;
47029
+ transactional?: boolean | undefined;
46552
47030
  pause_reason?: string | null | undefined;
46553
47031
  }>;
46554
47032
  readonly status: 200;
@@ -46623,6 +47101,8 @@ declare const platformRoutes: {
46623
47101
  }>;
46624
47102
  metadata: z.ZodEffects<z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodString>, Record<string, string>, Record<string, string>>, Record<string, string>, Record<string, string>>;
46625
47103
  merge: z.ZodDefault<z.ZodEffects<z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]>>, Record<string, string | number | boolean>, Record<string, string | number | boolean>>, Record<string, string | number | boolean>, Record<string, string | number | boolean>>>;
47104
+ reply_to: z.ZodDefault<z.ZodNullable<z.ZodString>>;
47105
+ transactional: z.ZodDefault<z.ZodBoolean>;
46626
47106
  scheduled_at: z.ZodNullable<z.ZodString>;
46627
47107
  ab_test: z.ZodNullable<z.ZodObject<{
46628
47108
  variants: z.ZodArray<z.ZodObject<{
@@ -46712,6 +47192,8 @@ declare const platformRoutes: {
46712
47192
  failed: number;
46713
47193
  skipped: number;
46714
47194
  };
47195
+ reply_to: string | null;
47196
+ transactional: boolean;
46715
47197
  scheduled_at: string | null;
46716
47198
  ab_test: {
46717
47199
  status: "pending" | "testing" | "awaiting_pick" | "decided";
@@ -46781,6 +47263,8 @@ declare const platformRoutes: {
46781
47263
  finished_at: string | null;
46782
47264
  merge?: Record<string, string | number | boolean> | undefined;
46783
47265
  template_locale?: string | null | undefined;
47266
+ reply_to?: string | null | undefined;
47267
+ transactional?: boolean | undefined;
46784
47268
  pause_reason?: string | null | undefined;
46785
47269
  }>;
46786
47270
  readonly status: 200;
@@ -49116,7 +49600,7 @@ declare const inviteRoutes: {
49116
49600
  revoked_at: z.ZodNullable<z.ZodString>;
49117
49601
  created_at: z.ZodString;
49118
49602
  }, "strip", z.ZodTypeAny, {
49119
- status: "pending" | "accepted" | "revoked" | "expired";
49603
+ status: "pending" | "revoked" | "accepted" | "expired";
49120
49604
  id: string;
49121
49605
  email: string;
49122
49606
  created_at: string;
@@ -49129,7 +49613,7 @@ declare const inviteRoutes: {
49129
49613
  expires_at: string;
49130
49614
  accepted_at: string | null;
49131
49615
  }, {
49132
- status: "pending" | "accepted" | "revoked" | "expired";
49616
+ status: "pending" | "revoked" | "accepted" | "expired";
49133
49617
  id: string;
49134
49618
  email: string;
49135
49619
  created_at: string;
@@ -49145,7 +49629,7 @@ declare const inviteRoutes: {
49145
49629
  token: z.ZodString;
49146
49630
  }, "strip", z.ZodTypeAny, {
49147
49631
  invite: {
49148
- status: "pending" | "accepted" | "revoked" | "expired";
49632
+ status: "pending" | "revoked" | "accepted" | "expired";
49149
49633
  id: string;
49150
49634
  email: string;
49151
49635
  created_at: string;
@@ -49161,7 +49645,7 @@ declare const inviteRoutes: {
49161
49645
  token: string;
49162
49646
  }, {
49163
49647
  invite: {
49164
- status: "pending" | "accepted" | "revoked" | "expired";
49648
+ status: "pending" | "revoked" | "accepted" | "expired";
49165
49649
  id: string;
49166
49650
  email: string;
49167
49651
  created_at: string;
@@ -49189,11 +49673,11 @@ declare const inviteRoutes: {
49189
49673
  } & {
49190
49674
  status: z.ZodOptional<z.ZodEnum<["pending", "accepted", "revoked", "expired"]>>;
49191
49675
  }, "strip", z.ZodTypeAny, {
49192
- status?: "pending" | "accepted" | "revoked" | "expired" | undefined;
49676
+ status?: "pending" | "revoked" | "accepted" | "expired" | undefined;
49193
49677
  cursor?: string | undefined;
49194
49678
  limit?: number | undefined;
49195
49679
  }, {
49196
- status?: "pending" | "accepted" | "revoked" | "expired" | undefined;
49680
+ status?: "pending" | "revoked" | "accepted" | "expired" | undefined;
49197
49681
  cursor?: string | undefined;
49198
49682
  limit?: number | undefined;
49199
49683
  }>;
@@ -49218,7 +49702,7 @@ declare const inviteRoutes: {
49218
49702
  revoked_at: z.ZodNullable<z.ZodString>;
49219
49703
  created_at: z.ZodString;
49220
49704
  }, "strip", z.ZodTypeAny, {
49221
- status: "pending" | "accepted" | "revoked" | "expired";
49705
+ status: "pending" | "revoked" | "accepted" | "expired";
49222
49706
  id: string;
49223
49707
  email: string;
49224
49708
  created_at: string;
@@ -49231,7 +49715,7 @@ declare const inviteRoutes: {
49231
49715
  expires_at: string;
49232
49716
  accepted_at: string | null;
49233
49717
  }, {
49234
- status: "pending" | "accepted" | "revoked" | "expired";
49718
+ status: "pending" | "revoked" | "accepted" | "expired";
49235
49719
  id: string;
49236
49720
  email: string;
49237
49721
  created_at: string;
@@ -49247,7 +49731,7 @@ declare const inviteRoutes: {
49247
49731
  next_cursor: z.ZodNullable<z.ZodString>;
49248
49732
  }, "strip", z.ZodTypeAny, {
49249
49733
  data: {
49250
- status: "pending" | "accepted" | "revoked" | "expired";
49734
+ status: "pending" | "revoked" | "accepted" | "expired";
49251
49735
  id: string;
49252
49736
  email: string;
49253
49737
  created_at: string;
@@ -49263,7 +49747,7 @@ declare const inviteRoutes: {
49263
49747
  next_cursor: string | null;
49264
49748
  }, {
49265
49749
  data: {
49266
- status: "pending" | "accepted" | "revoked" | "expired";
49750
+ status: "pending" | "revoked" | "accepted" | "expired";
49267
49751
  id: string;
49268
49752
  email: string;
49269
49753
  created_at: string;
@@ -49312,7 +49796,7 @@ declare const inviteRoutes: {
49312
49796
  revoked_at: z.ZodNullable<z.ZodString>;
49313
49797
  created_at: z.ZodString;
49314
49798
  }, "strip", z.ZodTypeAny, {
49315
- status: "pending" | "accepted" | "revoked" | "expired";
49799
+ status: "pending" | "revoked" | "accepted" | "expired";
49316
49800
  id: string;
49317
49801
  email: string;
49318
49802
  created_at: string;
@@ -49325,7 +49809,7 @@ declare const inviteRoutes: {
49325
49809
  expires_at: string;
49326
49810
  accepted_at: string | null;
49327
49811
  }, {
49328
- status: "pending" | "accepted" | "revoked" | "expired";
49812
+ status: "pending" | "revoked" | "accepted" | "expired";
49329
49813
  id: string;
49330
49814
  email: string;
49331
49815
  created_at: string;
@@ -87254,6 +87738,8 @@ declare const routes: {
87254
87738
  }>;
87255
87739
  metadata: z.ZodEffects<z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodString>, Record<string, string>, Record<string, string>>, Record<string, string>, Record<string, string>>;
87256
87740
  merge: z.ZodDefault<z.ZodEffects<z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]>>, Record<string, string | number | boolean>, Record<string, string | number | boolean>>, Record<string, string | number | boolean>, Record<string, string | number | boolean>>>;
87741
+ reply_to: z.ZodDefault<z.ZodNullable<z.ZodString>>;
87742
+ transactional: z.ZodDefault<z.ZodBoolean>;
87257
87743
  scheduled_at: z.ZodNullable<z.ZodString>;
87258
87744
  ab_test: z.ZodNullable<z.ZodObject<{
87259
87745
  variants: z.ZodArray<z.ZodObject<{
@@ -87343,6 +87829,8 @@ declare const routes: {
87343
87829
  failed: number;
87344
87830
  skipped: number;
87345
87831
  };
87832
+ reply_to: string | null;
87833
+ transactional: boolean;
87346
87834
  scheduled_at: string | null;
87347
87835
  ab_test: {
87348
87836
  status: "pending" | "testing" | "awaiting_pick" | "decided";
@@ -87412,6 +87900,8 @@ declare const routes: {
87412
87900
  finished_at: string | null;
87413
87901
  merge?: Record<string, string | number | boolean> | undefined;
87414
87902
  template_locale?: string | null | undefined;
87903
+ reply_to?: string | null | undefined;
87904
+ transactional?: boolean | undefined;
87415
87905
  pause_reason?: string | null | undefined;
87416
87906
  }>;
87417
87907
  readonly status: 200;
@@ -87480,6 +87970,8 @@ declare const routes: {
87480
87970
  }>;
87481
87971
  metadata: z.ZodEffects<z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodString>, Record<string, string>, Record<string, string>>, Record<string, string>, Record<string, string>>;
87482
87972
  merge: z.ZodDefault<z.ZodEffects<z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]>>, Record<string, string | number | boolean>, Record<string, string | number | boolean>>, Record<string, string | number | boolean>, Record<string, string | number | boolean>>>;
87973
+ reply_to: z.ZodDefault<z.ZodNullable<z.ZodString>>;
87974
+ transactional: z.ZodDefault<z.ZodBoolean>;
87483
87975
  scheduled_at: z.ZodNullable<z.ZodString>;
87484
87976
  ab_test: z.ZodNullable<z.ZodObject<{
87485
87977
  variants: z.ZodArray<z.ZodObject<{
@@ -87569,6 +88061,8 @@ declare const routes: {
87569
88061
  failed: number;
87570
88062
  skipped: number;
87571
88063
  };
88064
+ reply_to: string | null;
88065
+ transactional: boolean;
87572
88066
  scheduled_at: string | null;
87573
88067
  ab_test: {
87574
88068
  status: "pending" | "testing" | "awaiting_pick" | "decided";
@@ -87638,6 +88132,8 @@ declare const routes: {
87638
88132
  finished_at: string | null;
87639
88133
  merge?: Record<string, string | number | boolean> | undefined;
87640
88134
  template_locale?: string | null | undefined;
88135
+ reply_to?: string | null | undefined;
88136
+ transactional?: boolean | undefined;
87641
88137
  pause_reason?: string | null | undefined;
87642
88138
  }>;
87643
88139
  readonly status: 200;
@@ -87826,6 +88322,8 @@ declare const routes: {
87826
88322
  }>;
87827
88323
  metadata: z.ZodEffects<z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodString>, Record<string, string>, Record<string, string>>, Record<string, string>, Record<string, string>>;
87828
88324
  merge: z.ZodDefault<z.ZodEffects<z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]>>, Record<string, string | number | boolean>, Record<string, string | number | boolean>>, Record<string, string | number | boolean>, Record<string, string | number | boolean>>>;
88325
+ reply_to: z.ZodDefault<z.ZodNullable<z.ZodString>>;
88326
+ transactional: z.ZodDefault<z.ZodBoolean>;
87829
88327
  scheduled_at: z.ZodNullable<z.ZodString>;
87830
88328
  ab_test: z.ZodNullable<z.ZodObject<{
87831
88329
  variants: z.ZodArray<z.ZodObject<{
@@ -87915,6 +88413,8 @@ declare const routes: {
87915
88413
  failed: number;
87916
88414
  skipped: number;
87917
88415
  };
88416
+ reply_to: string | null;
88417
+ transactional: boolean;
87918
88418
  scheduled_at: string | null;
87919
88419
  ab_test: {
87920
88420
  status: "pending" | "testing" | "awaiting_pick" | "decided";
@@ -87984,6 +88484,8 @@ declare const routes: {
87984
88484
  finished_at: string | null;
87985
88485
  merge?: Record<string, string | number | boolean> | undefined;
87986
88486
  template_locale?: string | null | undefined;
88487
+ reply_to?: string | null | undefined;
88488
+ transactional?: boolean | undefined;
87987
88489
  pause_reason?: string | null | undefined;
87988
88490
  }>;
87989
88491
  readonly status: 200;
@@ -88050,6 +88552,8 @@ declare const routes: {
88050
88552
  }>;
88051
88553
  metadata: z.ZodEffects<z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodString>, Record<string, string>, Record<string, string>>, Record<string, string>, Record<string, string>>;
88052
88554
  merge: z.ZodDefault<z.ZodEffects<z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]>>, Record<string, string | number | boolean>, Record<string, string | number | boolean>>, Record<string, string | number | boolean>, Record<string, string | number | boolean>>>;
88555
+ reply_to: z.ZodDefault<z.ZodNullable<z.ZodString>>;
88556
+ transactional: z.ZodDefault<z.ZodBoolean>;
88053
88557
  scheduled_at: z.ZodNullable<z.ZodString>;
88054
88558
  ab_test: z.ZodNullable<z.ZodObject<{
88055
88559
  variants: z.ZodArray<z.ZodObject<{
@@ -88139,6 +88643,8 @@ declare const routes: {
88139
88643
  failed: number;
88140
88644
  skipped: number;
88141
88645
  };
88646
+ reply_to: string | null;
88647
+ transactional: boolean;
88142
88648
  scheduled_at: string | null;
88143
88649
  ab_test: {
88144
88650
  status: "pending" | "testing" | "awaiting_pick" | "decided";
@@ -88208,6 +88714,8 @@ declare const routes: {
88208
88714
  finished_at: string | null;
88209
88715
  merge?: Record<string, string | number | boolean> | undefined;
88210
88716
  template_locale?: string | null | undefined;
88717
+ reply_to?: string | null | undefined;
88718
+ transactional?: boolean | undefined;
88211
88719
  pause_reason?: string | null | undefined;
88212
88720
  }>;
88213
88721
  readonly status: 200;
@@ -88282,6 +88790,8 @@ declare const routes: {
88282
88790
  }>;
88283
88791
  metadata: z.ZodEffects<z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodString>, Record<string, string>, Record<string, string>>, Record<string, string>, Record<string, string>>;
88284
88792
  merge: z.ZodDefault<z.ZodEffects<z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]>>, Record<string, string | number | boolean>, Record<string, string | number | boolean>>, Record<string, string | number | boolean>, Record<string, string | number | boolean>>>;
88793
+ reply_to: z.ZodDefault<z.ZodNullable<z.ZodString>>;
88794
+ transactional: z.ZodDefault<z.ZodBoolean>;
88285
88795
  scheduled_at: z.ZodNullable<z.ZodString>;
88286
88796
  ab_test: z.ZodNullable<z.ZodObject<{
88287
88797
  variants: z.ZodArray<z.ZodObject<{
@@ -88371,6 +88881,8 @@ declare const routes: {
88371
88881
  failed: number;
88372
88882
  skipped: number;
88373
88883
  };
88884
+ reply_to: string | null;
88885
+ transactional: boolean;
88374
88886
  scheduled_at: string | null;
88375
88887
  ab_test: {
88376
88888
  status: "pending" | "testing" | "awaiting_pick" | "decided";
@@ -88440,6 +88952,8 @@ declare const routes: {
88440
88952
  finished_at: string | null;
88441
88953
  merge?: Record<string, string | number | boolean> | undefined;
88442
88954
  template_locale?: string | null | undefined;
88955
+ reply_to?: string | null | undefined;
88956
+ transactional?: boolean | undefined;
88443
88957
  pause_reason?: string | null | undefined;
88444
88958
  }>;
88445
88959
  readonly status: 200;
@@ -90479,7 +90993,7 @@ declare const routes: {
90479
90993
  revoked_at: z.ZodNullable<z.ZodString>;
90480
90994
  created_at: z.ZodString;
90481
90995
  }, "strip", z.ZodTypeAny, {
90482
- status: "pending" | "accepted" | "revoked" | "expired";
90996
+ status: "pending" | "revoked" | "accepted" | "expired";
90483
90997
  id: string;
90484
90998
  email: string;
90485
90999
  created_at: string;
@@ -90492,7 +91006,7 @@ declare const routes: {
90492
91006
  expires_at: string;
90493
91007
  accepted_at: string | null;
90494
91008
  }, {
90495
- status: "pending" | "accepted" | "revoked" | "expired";
91009
+ status: "pending" | "revoked" | "accepted" | "expired";
90496
91010
  id: string;
90497
91011
  email: string;
90498
91012
  created_at: string;
@@ -90508,7 +91022,7 @@ declare const routes: {
90508
91022
  token: z.ZodString;
90509
91023
  }, "strip", z.ZodTypeAny, {
90510
91024
  invite: {
90511
- status: "pending" | "accepted" | "revoked" | "expired";
91025
+ status: "pending" | "revoked" | "accepted" | "expired";
90512
91026
  id: string;
90513
91027
  email: string;
90514
91028
  created_at: string;
@@ -90524,7 +91038,7 @@ declare const routes: {
90524
91038
  token: string;
90525
91039
  }, {
90526
91040
  invite: {
90527
- status: "pending" | "accepted" | "revoked" | "expired";
91041
+ status: "pending" | "revoked" | "accepted" | "expired";
90528
91042
  id: string;
90529
91043
  email: string;
90530
91044
  created_at: string;
@@ -90552,11 +91066,11 @@ declare const routes: {
90552
91066
  } & {
90553
91067
  status: z.ZodOptional<z.ZodEnum<["pending", "accepted", "revoked", "expired"]>>;
90554
91068
  }, "strip", z.ZodTypeAny, {
90555
- status?: "pending" | "accepted" | "revoked" | "expired" | undefined;
91069
+ status?: "pending" | "revoked" | "accepted" | "expired" | undefined;
90556
91070
  cursor?: string | undefined;
90557
91071
  limit?: number | undefined;
90558
91072
  }, {
90559
- status?: "pending" | "accepted" | "revoked" | "expired" | undefined;
91073
+ status?: "pending" | "revoked" | "accepted" | "expired" | undefined;
90560
91074
  cursor?: string | undefined;
90561
91075
  limit?: number | undefined;
90562
91076
  }>;
@@ -90581,7 +91095,7 @@ declare const routes: {
90581
91095
  revoked_at: z.ZodNullable<z.ZodString>;
90582
91096
  created_at: z.ZodString;
90583
91097
  }, "strip", z.ZodTypeAny, {
90584
- status: "pending" | "accepted" | "revoked" | "expired";
91098
+ status: "pending" | "revoked" | "accepted" | "expired";
90585
91099
  id: string;
90586
91100
  email: string;
90587
91101
  created_at: string;
@@ -90594,7 +91108,7 @@ declare const routes: {
90594
91108
  expires_at: string;
90595
91109
  accepted_at: string | null;
90596
91110
  }, {
90597
- status: "pending" | "accepted" | "revoked" | "expired";
91111
+ status: "pending" | "revoked" | "accepted" | "expired";
90598
91112
  id: string;
90599
91113
  email: string;
90600
91114
  created_at: string;
@@ -90610,7 +91124,7 @@ declare const routes: {
90610
91124
  next_cursor: z.ZodNullable<z.ZodString>;
90611
91125
  }, "strip", z.ZodTypeAny, {
90612
91126
  data: {
90613
- status: "pending" | "accepted" | "revoked" | "expired";
91127
+ status: "pending" | "revoked" | "accepted" | "expired";
90614
91128
  id: string;
90615
91129
  email: string;
90616
91130
  created_at: string;
@@ -90626,7 +91140,7 @@ declare const routes: {
90626
91140
  next_cursor: string | null;
90627
91141
  }, {
90628
91142
  data: {
90629
- status: "pending" | "accepted" | "revoked" | "expired";
91143
+ status: "pending" | "revoked" | "accepted" | "expired";
90630
91144
  id: string;
90631
91145
  email: string;
90632
91146
  created_at: string;
@@ -90675,7 +91189,7 @@ declare const routes: {
90675
91189
  revoked_at: z.ZodNullable<z.ZodString>;
90676
91190
  created_at: z.ZodString;
90677
91191
  }, "strip", z.ZodTypeAny, {
90678
- status: "pending" | "accepted" | "revoked" | "expired";
91192
+ status: "pending" | "revoked" | "accepted" | "expired";
90679
91193
  id: string;
90680
91194
  email: string;
90681
91195
  created_at: string;
@@ -90688,7 +91202,7 @@ declare const routes: {
90688
91202
  expires_at: string;
90689
91203
  accepted_at: string | null;
90690
91204
  }, {
90691
- status: "pending" | "accepted" | "revoked" | "expired";
91205
+ status: "pending" | "revoked" | "accepted" | "expired";
90692
91206
  id: string;
90693
91207
  email: string;
90694
91208
  created_at: string;
@@ -90947,6 +91461,7 @@ declare const routes: {
90947
91461
  kind: "smtp";
90948
91462
  created_at: string;
90949
91463
  updated_at: string;
91464
+ reply_to: string | null;
90950
91465
  config: {
90951
91466
  host: string;
90952
91467
  port: number;
@@ -90969,7 +91484,6 @@ declare const routes: {
90969
91484
  };
90970
91485
  from_name: string;
90971
91486
  from_email: string;
90972
- reply_to: string | null;
90973
91487
  policy: {
90974
91488
  daily_recipient_budget: number;
90975
91489
  min_interval_ms: number;
@@ -90981,6 +91495,7 @@ declare const routes: {
90981
91495
  kind: "smtp";
90982
91496
  created_at: string;
90983
91497
  updated_at: string;
91498
+ reply_to: string | null;
90984
91499
  config: {
90985
91500
  host: string;
90986
91501
  port: number;
@@ -91003,7 +91518,6 @@ declare const routes: {
91003
91518
  };
91004
91519
  from_name: string;
91005
91520
  from_email: string;
91006
- reply_to: string | null;
91007
91521
  policy: {
91008
91522
  daily_recipient_budget: number;
91009
91523
  min_interval_ms: number;
@@ -91109,6 +91623,7 @@ declare const routes: {
91109
91623
  kind: "resend";
91110
91624
  created_at: string;
91111
91625
  updated_at: string;
91626
+ reply_to: string | null;
91112
91627
  config: {};
91113
91628
  has_secret: boolean;
91114
91629
  rejections: {
@@ -91126,7 +91641,6 @@ declare const routes: {
91126
91641
  };
91127
91642
  from_name: string;
91128
91643
  from_email: string;
91129
- reply_to: string | null;
91130
91644
  policy: {
91131
91645
  daily_recipient_budget: number;
91132
91646
  min_interval_ms: number;
@@ -91145,6 +91659,7 @@ declare const routes: {
91145
91659
  kind: "resend";
91146
91660
  created_at: string;
91147
91661
  updated_at: string;
91662
+ reply_to: string | null;
91148
91663
  config: {};
91149
91664
  has_secret: boolean;
91150
91665
  rejections: {
@@ -91162,7 +91677,6 @@ declare const routes: {
91162
91677
  };
91163
91678
  from_name: string;
91164
91679
  from_email: string;
91165
- reply_to: string | null;
91166
91680
  policy: {
91167
91681
  daily_recipient_budget: number;
91168
91682
  min_interval_ms: number;
@@ -91184,6 +91698,7 @@ declare const routes: {
91184
91698
  kind: "smtp";
91185
91699
  created_at: string;
91186
91700
  updated_at: string;
91701
+ reply_to: string | null;
91187
91702
  config: {
91188
91703
  host: string;
91189
91704
  port: number;
@@ -91206,7 +91721,6 @@ declare const routes: {
91206
91721
  };
91207
91722
  from_name: string;
91208
91723
  from_email: string;
91209
- reply_to: string | null;
91210
91724
  policy: {
91211
91725
  daily_recipient_budget: number;
91212
91726
  min_interval_ms: number;
@@ -91218,6 +91732,7 @@ declare const routes: {
91218
91732
  kind: "resend";
91219
91733
  created_at: string;
91220
91734
  updated_at: string;
91735
+ reply_to: string | null;
91221
91736
  config: {};
91222
91737
  has_secret: boolean;
91223
91738
  rejections: {
@@ -91235,7 +91750,6 @@ declare const routes: {
91235
91750
  };
91236
91751
  from_name: string;
91237
91752
  from_email: string;
91238
- reply_to: string | null;
91239
91753
  policy: {
91240
91754
  daily_recipient_budget: number;
91241
91755
  min_interval_ms: number;
@@ -91257,6 +91771,7 @@ declare const routes: {
91257
91771
  kind: "smtp";
91258
91772
  created_at: string;
91259
91773
  updated_at: string;
91774
+ reply_to: string | null;
91260
91775
  config: {
91261
91776
  host: string;
91262
91777
  port: number;
@@ -91279,7 +91794,6 @@ declare const routes: {
91279
91794
  };
91280
91795
  from_name: string;
91281
91796
  from_email: string;
91282
- reply_to: string | null;
91283
91797
  policy: {
91284
91798
  daily_recipient_budget: number;
91285
91799
  min_interval_ms: number;
@@ -91291,6 +91805,7 @@ declare const routes: {
91291
91805
  kind: "resend";
91292
91806
  created_at: string;
91293
91807
  updated_at: string;
91808
+ reply_to: string | null;
91294
91809
  config: {};
91295
91810
  has_secret: boolean;
91296
91811
  rejections: {
@@ -91308,7 +91823,6 @@ declare const routes: {
91308
91823
  };
91309
91824
  from_name: string;
91310
91825
  from_email: string;
91311
- reply_to: string | null;
91312
91826
  policy: {
91313
91827
  daily_recipient_budget: number;
91314
91828
  min_interval_ms: number;
@@ -91373,6 +91887,7 @@ declare const routes: {
91373
91887
  }, "strip", z.ZodTypeAny, {
91374
91888
  name: string;
91375
91889
  kind: "smtp";
91890
+ reply_to: string | null;
91376
91891
  config: {
91377
91892
  host: string;
91378
91893
  port: number;
@@ -91382,7 +91897,6 @@ declare const routes: {
91382
91897
  };
91383
91898
  from_name: string;
91384
91899
  from_email: string;
91385
- reply_to: string | null;
91386
91900
  policy: {
91387
91901
  daily_recipient_budget: number;
91388
91902
  min_interval_ms: number;
@@ -91391,6 +91905,7 @@ declare const routes: {
91391
91905
  }, {
91392
91906
  name: string;
91393
91907
  kind: "smtp";
91908
+ reply_to: string | null;
91394
91909
  config: {
91395
91910
  host: string;
91396
91911
  port: number;
@@ -91400,7 +91915,6 @@ declare const routes: {
91400
91915
  };
91401
91916
  from_name: string;
91402
91917
  from_email: string;
91403
- reply_to: string | null;
91404
91918
  policy: {
91405
91919
  daily_recipient_budget: number;
91406
91920
  min_interval_ms: number;
@@ -91435,12 +91949,12 @@ declare const routes: {
91435
91949
  }, "strip", z.ZodTypeAny, {
91436
91950
  name: string;
91437
91951
  kind: "resend";
91952
+ reply_to: string | null;
91438
91953
  config: {
91439
91954
  api_key: string;
91440
91955
  };
91441
91956
  from_name: string;
91442
91957
  from_email: string;
91443
- reply_to: string | null;
91444
91958
  policy: {
91445
91959
  daily_recipient_budget: number;
91446
91960
  min_interval_ms: number;
@@ -91449,12 +91963,12 @@ declare const routes: {
91449
91963
  }, {
91450
91964
  name: string;
91451
91965
  kind: "resend";
91966
+ reply_to: string | null;
91452
91967
  config: {
91453
91968
  api_key: string;
91454
91969
  };
91455
91970
  from_name: string;
91456
91971
  from_email: string;
91457
- reply_to: string | null;
91458
91972
  policy: {
91459
91973
  daily_recipient_budget: number;
91460
91974
  min_interval_ms: number;
@@ -91557,6 +92071,7 @@ declare const routes: {
91557
92071
  kind: "smtp";
91558
92072
  created_at: string;
91559
92073
  updated_at: string;
92074
+ reply_to: string | null;
91560
92075
  config: {
91561
92076
  host: string;
91562
92077
  port: number;
@@ -91579,7 +92094,6 @@ declare const routes: {
91579
92094
  };
91580
92095
  from_name: string;
91581
92096
  from_email: string;
91582
- reply_to: string | null;
91583
92097
  policy: {
91584
92098
  daily_recipient_budget: number;
91585
92099
  min_interval_ms: number;
@@ -91591,6 +92105,7 @@ declare const routes: {
91591
92105
  kind: "smtp";
91592
92106
  created_at: string;
91593
92107
  updated_at: string;
92108
+ reply_to: string | null;
91594
92109
  config: {
91595
92110
  host: string;
91596
92111
  port: number;
@@ -91613,7 +92128,6 @@ declare const routes: {
91613
92128
  };
91614
92129
  from_name: string;
91615
92130
  from_email: string;
91616
- reply_to: string | null;
91617
92131
  policy: {
91618
92132
  daily_recipient_budget: number;
91619
92133
  min_interval_ms: number;
@@ -91719,6 +92233,7 @@ declare const routes: {
91719
92233
  kind: "resend";
91720
92234
  created_at: string;
91721
92235
  updated_at: string;
92236
+ reply_to: string | null;
91722
92237
  config: {};
91723
92238
  has_secret: boolean;
91724
92239
  rejections: {
@@ -91736,7 +92251,6 @@ declare const routes: {
91736
92251
  };
91737
92252
  from_name: string;
91738
92253
  from_email: string;
91739
- reply_to: string | null;
91740
92254
  policy: {
91741
92255
  daily_recipient_budget: number;
91742
92256
  min_interval_ms: number;
@@ -91755,6 +92269,7 @@ declare const routes: {
91755
92269
  kind: "resend";
91756
92270
  created_at: string;
91757
92271
  updated_at: string;
92272
+ reply_to: string | null;
91758
92273
  config: {};
91759
92274
  has_secret: boolean;
91760
92275
  rejections: {
@@ -91772,7 +92287,6 @@ declare const routes: {
91772
92287
  };
91773
92288
  from_name: string;
91774
92289
  from_email: string;
91775
- reply_to: string | null;
91776
92290
  policy: {
91777
92291
  daily_recipient_budget: number;
91778
92292
  min_interval_ms: number;
@@ -91896,6 +92410,7 @@ declare const routes: {
91896
92410
  kind: "smtp";
91897
92411
  created_at: string;
91898
92412
  updated_at: string;
92413
+ reply_to: string | null;
91899
92414
  config: {
91900
92415
  host: string;
91901
92416
  port: number;
@@ -91918,7 +92433,6 @@ declare const routes: {
91918
92433
  };
91919
92434
  from_name: string;
91920
92435
  from_email: string;
91921
- reply_to: string | null;
91922
92436
  policy: {
91923
92437
  daily_recipient_budget: number;
91924
92438
  min_interval_ms: number;
@@ -91930,6 +92444,7 @@ declare const routes: {
91930
92444
  kind: "smtp";
91931
92445
  created_at: string;
91932
92446
  updated_at: string;
92447
+ reply_to: string | null;
91933
92448
  config: {
91934
92449
  host: string;
91935
92450
  port: number;
@@ -91952,7 +92467,6 @@ declare const routes: {
91952
92467
  };
91953
92468
  from_name: string;
91954
92469
  from_email: string;
91955
- reply_to: string | null;
91956
92470
  policy: {
91957
92471
  daily_recipient_budget: number;
91958
92472
  min_interval_ms: number;
@@ -92058,6 +92572,7 @@ declare const routes: {
92058
92572
  kind: "resend";
92059
92573
  created_at: string;
92060
92574
  updated_at: string;
92575
+ reply_to: string | null;
92061
92576
  config: {};
92062
92577
  has_secret: boolean;
92063
92578
  rejections: {
@@ -92075,7 +92590,6 @@ declare const routes: {
92075
92590
  };
92076
92591
  from_name: string;
92077
92592
  from_email: string;
92078
- reply_to: string | null;
92079
92593
  policy: {
92080
92594
  daily_recipient_budget: number;
92081
92595
  min_interval_ms: number;
@@ -92094,6 +92608,7 @@ declare const routes: {
92094
92608
  kind: "resend";
92095
92609
  created_at: string;
92096
92610
  updated_at: string;
92611
+ reply_to: string | null;
92097
92612
  config: {};
92098
92613
  has_secret: boolean;
92099
92614
  rejections: {
@@ -92111,7 +92626,6 @@ declare const routes: {
92111
92626
  };
92112
92627
  from_name: string;
92113
92628
  from_email: string;
92114
- reply_to: string | null;
92115
92629
  policy: {
92116
92630
  daily_recipient_budget: number;
92117
92631
  min_interval_ms: number;
@@ -92180,6 +92694,7 @@ declare const routes: {
92180
92694
  }, "strip", z.ZodTypeAny, {
92181
92695
  kind: "smtp";
92182
92696
  name?: string | undefined;
92697
+ reply_to?: string | null | undefined;
92183
92698
  config?: {
92184
92699
  host?: string | undefined;
92185
92700
  port?: number | undefined;
@@ -92189,7 +92704,6 @@ declare const routes: {
92189
92704
  } | undefined;
92190
92705
  from_name?: string | undefined;
92191
92706
  from_email?: string | undefined;
92192
- reply_to?: string | null | undefined;
92193
92707
  policy?: {
92194
92708
  daily_recipient_budget?: number | undefined;
92195
92709
  min_interval_ms?: number | undefined;
@@ -92198,6 +92712,7 @@ declare const routes: {
92198
92712
  }, {
92199
92713
  kind: "smtp";
92200
92714
  name?: string | undefined;
92715
+ reply_to?: string | null | undefined;
92201
92716
  config?: {
92202
92717
  host?: string | undefined;
92203
92718
  port?: number | undefined;
@@ -92207,7 +92722,6 @@ declare const routes: {
92207
92722
  } | undefined;
92208
92723
  from_name?: string | undefined;
92209
92724
  from_email?: string | undefined;
92210
- reply_to?: string | null | undefined;
92211
92725
  policy?: {
92212
92726
  daily_recipient_budget?: number | undefined;
92213
92727
  min_interval_ms?: number | undefined;
@@ -92242,12 +92756,12 @@ declare const routes: {
92242
92756
  }, "strip", z.ZodTypeAny, {
92243
92757
  kind: "resend";
92244
92758
  name?: string | undefined;
92759
+ reply_to?: string | null | undefined;
92245
92760
  config?: {
92246
92761
  api_key?: string | undefined;
92247
92762
  } | undefined;
92248
92763
  from_name?: string | undefined;
92249
92764
  from_email?: string | undefined;
92250
- reply_to?: string | null | undefined;
92251
92765
  policy?: {
92252
92766
  daily_recipient_budget?: number | undefined;
92253
92767
  min_interval_ms?: number | undefined;
@@ -92256,12 +92770,12 @@ declare const routes: {
92256
92770
  }, {
92257
92771
  kind: "resend";
92258
92772
  name?: string | undefined;
92773
+ reply_to?: string | null | undefined;
92259
92774
  config?: {
92260
92775
  api_key?: string | undefined;
92261
92776
  } | undefined;
92262
92777
  from_name?: string | undefined;
92263
92778
  from_email?: string | undefined;
92264
- reply_to?: string | null | undefined;
92265
92779
  policy?: {
92266
92780
  daily_recipient_budget?: number | undefined;
92267
92781
  min_interval_ms?: number | undefined;
@@ -92364,6 +92878,7 @@ declare const routes: {
92364
92878
  kind: "smtp";
92365
92879
  created_at: string;
92366
92880
  updated_at: string;
92881
+ reply_to: string | null;
92367
92882
  config: {
92368
92883
  host: string;
92369
92884
  port: number;
@@ -92386,7 +92901,6 @@ declare const routes: {
92386
92901
  };
92387
92902
  from_name: string;
92388
92903
  from_email: string;
92389
- reply_to: string | null;
92390
92904
  policy: {
92391
92905
  daily_recipient_budget: number;
92392
92906
  min_interval_ms: number;
@@ -92398,6 +92912,7 @@ declare const routes: {
92398
92912
  kind: "smtp";
92399
92913
  created_at: string;
92400
92914
  updated_at: string;
92915
+ reply_to: string | null;
92401
92916
  config: {
92402
92917
  host: string;
92403
92918
  port: number;
@@ -92420,7 +92935,6 @@ declare const routes: {
92420
92935
  };
92421
92936
  from_name: string;
92422
92937
  from_email: string;
92423
- reply_to: string | null;
92424
92938
  policy: {
92425
92939
  daily_recipient_budget: number;
92426
92940
  min_interval_ms: number;
@@ -92526,6 +93040,7 @@ declare const routes: {
92526
93040
  kind: "resend";
92527
93041
  created_at: string;
92528
93042
  updated_at: string;
93043
+ reply_to: string | null;
92529
93044
  config: {};
92530
93045
  has_secret: boolean;
92531
93046
  rejections: {
@@ -92543,7 +93058,6 @@ declare const routes: {
92543
93058
  };
92544
93059
  from_name: string;
92545
93060
  from_email: string;
92546
- reply_to: string | null;
92547
93061
  policy: {
92548
93062
  daily_recipient_budget: number;
92549
93063
  min_interval_ms: number;
@@ -92562,6 +93076,7 @@ declare const routes: {
92562
93076
  kind: "resend";
92563
93077
  created_at: string;
92564
93078
  updated_at: string;
93079
+ reply_to: string | null;
92565
93080
  config: {};
92566
93081
  has_secret: boolean;
92567
93082
  rejections: {
@@ -92579,7 +93094,6 @@ declare const routes: {
92579
93094
  };
92580
93095
  from_name: string;
92581
93096
  from_email: string;
92582
- reply_to: string | null;
92583
93097
  policy: {
92584
93098
  daily_recipient_budget: number;
92585
93099
  min_interval_ms: number;
@@ -92755,6 +93269,7 @@ declare const routes: {
92755
93269
  kind: "smtp";
92756
93270
  created_at: string;
92757
93271
  updated_at: string;
93272
+ reply_to: string | null;
92758
93273
  config: {
92759
93274
  host: string;
92760
93275
  port: number;
@@ -92777,7 +93292,6 @@ declare const routes: {
92777
93292
  };
92778
93293
  from_name: string;
92779
93294
  from_email: string;
92780
- reply_to: string | null;
92781
93295
  policy: {
92782
93296
  daily_recipient_budget: number;
92783
93297
  min_interval_ms: number;
@@ -92789,6 +93303,7 @@ declare const routes: {
92789
93303
  kind: "smtp";
92790
93304
  created_at: string;
92791
93305
  updated_at: string;
93306
+ reply_to: string | null;
92792
93307
  config: {
92793
93308
  host: string;
92794
93309
  port: number;
@@ -92811,7 +93326,6 @@ declare const routes: {
92811
93326
  };
92812
93327
  from_name: string;
92813
93328
  from_email: string;
92814
- reply_to: string | null;
92815
93329
  policy: {
92816
93330
  daily_recipient_budget: number;
92817
93331
  min_interval_ms: number;
@@ -92917,6 +93431,7 @@ declare const routes: {
92917
93431
  kind: "resend";
92918
93432
  created_at: string;
92919
93433
  updated_at: string;
93434
+ reply_to: string | null;
92920
93435
  config: {};
92921
93436
  has_secret: boolean;
92922
93437
  rejections: {
@@ -92934,7 +93449,6 @@ declare const routes: {
92934
93449
  };
92935
93450
  from_name: string;
92936
93451
  from_email: string;
92937
- reply_to: string | null;
92938
93452
  policy: {
92939
93453
  daily_recipient_budget: number;
92940
93454
  min_interval_ms: number;
@@ -92953,6 +93467,7 @@ declare const routes: {
92953
93467
  kind: "resend";
92954
93468
  created_at: string;
92955
93469
  updated_at: string;
93470
+ reply_to: string | null;
92956
93471
  config: {};
92957
93472
  has_secret: boolean;
92958
93473
  rejections: {
@@ -92970,7 +93485,6 @@ declare const routes: {
92970
93485
  };
92971
93486
  from_name: string;
92972
93487
  from_email: string;
92973
- reply_to: string | null;
92974
93488
  policy: {
92975
93489
  daily_recipient_budget: number;
92976
93490
  min_interval_ms: number;
@@ -93094,6 +93608,7 @@ declare const routes: {
93094
93608
  kind: "smtp";
93095
93609
  created_at: string;
93096
93610
  updated_at: string;
93611
+ reply_to: string | null;
93097
93612
  config: {
93098
93613
  host: string;
93099
93614
  port: number;
@@ -93116,7 +93631,6 @@ declare const routes: {
93116
93631
  };
93117
93632
  from_name: string;
93118
93633
  from_email: string;
93119
- reply_to: string | null;
93120
93634
  policy: {
93121
93635
  daily_recipient_budget: number;
93122
93636
  min_interval_ms: number;
@@ -93128,6 +93642,7 @@ declare const routes: {
93128
93642
  kind: "smtp";
93129
93643
  created_at: string;
93130
93644
  updated_at: string;
93645
+ reply_to: string | null;
93131
93646
  config: {
93132
93647
  host: string;
93133
93648
  port: number;
@@ -93150,7 +93665,6 @@ declare const routes: {
93150
93665
  };
93151
93666
  from_name: string;
93152
93667
  from_email: string;
93153
- reply_to: string | null;
93154
93668
  policy: {
93155
93669
  daily_recipient_budget: number;
93156
93670
  min_interval_ms: number;
@@ -93256,6 +93770,7 @@ declare const routes: {
93256
93770
  kind: "resend";
93257
93771
  created_at: string;
93258
93772
  updated_at: string;
93773
+ reply_to: string | null;
93259
93774
  config: {};
93260
93775
  has_secret: boolean;
93261
93776
  rejections: {
@@ -93273,7 +93788,6 @@ declare const routes: {
93273
93788
  };
93274
93789
  from_name: string;
93275
93790
  from_email: string;
93276
- reply_to: string | null;
93277
93791
  policy: {
93278
93792
  daily_recipient_budget: number;
93279
93793
  min_interval_ms: number;
@@ -93292,6 +93806,7 @@ declare const routes: {
93292
93806
  kind: "resend";
93293
93807
  created_at: string;
93294
93808
  updated_at: string;
93809
+ reply_to: string | null;
93295
93810
  config: {};
93296
93811
  has_secret: boolean;
93297
93812
  rejections: {
@@ -93309,7 +93824,6 @@ declare const routes: {
93309
93824
  };
93310
93825
  from_name: string;
93311
93826
  from_email: string;
93312
- reply_to: string | null;
93313
93827
  policy: {
93314
93828
  daily_recipient_budget: number;
93315
93829
  min_interval_ms: number;
@@ -94136,13 +94650,13 @@ declare const routes: {
94136
94650
  }, "strip", z.ZodTypeAny, {
94137
94651
  cursor?: string | undefined;
94138
94652
  limit?: number | undefined;
94139
- reason?: "manual" | "unsubscribed" | "bounced" | "complained" | undefined;
94653
+ reason?: "manual" | "bounced" | "complained" | "unsubscribed" | undefined;
94140
94654
  email?: string | undefined;
94141
94655
  topic?: string | undefined;
94142
94656
  }, {
94143
94657
  cursor?: string | undefined;
94144
94658
  limit?: number | undefined;
94145
- reason?: "manual" | "unsubscribed" | "bounced" | "complained" | undefined;
94659
+ reason?: "manual" | "bounced" | "complained" | "unsubscribed" | undefined;
94146
94660
  email?: string | undefined;
94147
94661
  topic?: string | undefined;
94148
94662
  }>;
@@ -94157,7 +94671,7 @@ declare const routes: {
94157
94671
  created_at: z.ZodString;
94158
94672
  }, "strip", z.ZodTypeAny, {
94159
94673
  id: string;
94160
- reason: "manual" | "unsubscribed" | "bounced" | "complained";
94674
+ reason: "manual" | "bounced" | "complained" | "unsubscribed";
94161
94675
  email: string;
94162
94676
  note: string | null;
94163
94677
  created_at: string;
@@ -94165,7 +94679,7 @@ declare const routes: {
94165
94679
  source_message_id: string | null;
94166
94680
  }, {
94167
94681
  id: string;
94168
- reason: "manual" | "unsubscribed" | "bounced" | "complained";
94682
+ reason: "manual" | "bounced" | "complained" | "unsubscribed";
94169
94683
  email: string;
94170
94684
  note: string | null;
94171
94685
  created_at: string;
@@ -94176,7 +94690,7 @@ declare const routes: {
94176
94690
  }, "strip", z.ZodTypeAny, {
94177
94691
  data: {
94178
94692
  id: string;
94179
- reason: "manual" | "unsubscribed" | "bounced" | "complained";
94693
+ reason: "manual" | "bounced" | "complained" | "unsubscribed";
94180
94694
  email: string;
94181
94695
  note: string | null;
94182
94696
  created_at: string;
@@ -94187,7 +94701,7 @@ declare const routes: {
94187
94701
  }, {
94188
94702
  data: {
94189
94703
  id: string;
94190
- reason: "manual" | "unsubscribed" | "bounced" | "complained";
94704
+ reason: "manual" | "bounced" | "complained" | "unsubscribed";
94191
94705
  email: string;
94192
94706
  note: string | null;
94193
94707
  created_at: string;
@@ -94229,7 +94743,7 @@ declare const routes: {
94229
94743
  created_at: z.ZodString;
94230
94744
  }, "strip", z.ZodTypeAny, {
94231
94745
  id: string;
94232
- reason: "manual" | "unsubscribed" | "bounced" | "complained";
94746
+ reason: "manual" | "bounced" | "complained" | "unsubscribed";
94233
94747
  email: string;
94234
94748
  note: string | null;
94235
94749
  created_at: string;
@@ -94237,7 +94751,7 @@ declare const routes: {
94237
94751
  source_message_id: string | null;
94238
94752
  }, {
94239
94753
  id: string;
94240
- reason: "manual" | "unsubscribed" | "bounced" | "complained";
94754
+ reason: "manual" | "bounced" | "complained" | "unsubscribed";
94241
94755
  email: string;
94242
94756
  note: string | null;
94243
94757
  created_at: string;
@@ -94346,6 +94860,8 @@ declare const routes: {
94346
94860
  }>;
94347
94861
  metadata: z.ZodEffects<z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodString>, Record<string, string>, Record<string, string>>, Record<string, string>, Record<string, string>>;
94348
94862
  merge: z.ZodDefault<z.ZodEffects<z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]>>, Record<string, string | number | boolean>, Record<string, string | number | boolean>>, Record<string, string | number | boolean>, Record<string, string | number | boolean>>>;
94863
+ reply_to: z.ZodDefault<z.ZodNullable<z.ZodString>>;
94864
+ transactional: z.ZodDefault<z.ZodBoolean>;
94349
94865
  scheduled_at: z.ZodNullable<z.ZodString>;
94350
94866
  ab_test: z.ZodNullable<z.ZodObject<{
94351
94867
  variants: z.ZodArray<z.ZodObject<{
@@ -94428,6 +94944,8 @@ declare const routes: {
94428
94944
  failed: number;
94429
94945
  skipped: number;
94430
94946
  };
94947
+ reply_to: string | null;
94948
+ transactional: boolean;
94431
94949
  scheduled_at: string | null;
94432
94950
  ab_test: {
94433
94951
  status: "pending" | "testing" | "awaiting_pick" | "decided";
@@ -94490,6 +95008,8 @@ declare const routes: {
94490
95008
  finished_at: string | null;
94491
95009
  merge?: Record<string, string | number | boolean> | undefined;
94492
95010
  template_locale?: string | null | undefined;
95011
+ reply_to?: string | null | undefined;
95012
+ transactional?: boolean | undefined;
94493
95013
  pause_reason?: string | null | undefined;
94494
95014
  }>, "many">;
94495
95015
  next_cursor: z.ZodNullable<z.ZodString>;
@@ -94519,6 +95039,8 @@ declare const routes: {
94519
95039
  failed: number;
94520
95040
  skipped: number;
94521
95041
  };
95042
+ reply_to: string | null;
95043
+ transactional: boolean;
94522
95044
  scheduled_at: string | null;
94523
95045
  ab_test: {
94524
95046
  status: "pending" | "testing" | "awaiting_pick" | "decided";
@@ -94584,6 +95106,8 @@ declare const routes: {
94584
95106
  finished_at: string | null;
94585
95107
  merge?: Record<string, string | number | boolean> | undefined;
94586
95108
  template_locale?: string | null | undefined;
95109
+ reply_to?: string | null | undefined;
95110
+ transactional?: boolean | undefined;
94587
95111
  pause_reason?: string | null | undefined;
94588
95112
  }[];
94589
95113
  next_cursor: string | null;
@@ -94612,6 +95136,7 @@ declare const routes: {
94612
95136
  }, z.ZodTypeAny, "passthrough">>>;
94613
95137
  template_id: z.ZodOptional<z.ZodString>;
94614
95138
  template_locale: z.ZodOptional<z.ZodString>;
95139
+ transactional: z.ZodOptional<z.ZodBoolean>;
94615
95140
  name: z.ZodOptional<z.ZodString>;
94616
95141
  preheader: z.ZodOptional<z.ZodString>;
94617
95142
  send_locale: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -94619,6 +95144,7 @@ declare const routes: {
94619
95144
  provider_id: z.ZodString;
94620
95145
  metadata: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodString>, Record<string, string>, Record<string, string>>, Record<string, string>, Record<string, string>>>;
94621
95146
  merge: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]>>, Record<string, string | number | boolean>, Record<string, string | number | boolean>>, Record<string, string | number | boolean>, Record<string, string | number | boolean>>>;
95147
+ reply_to: z.ZodOptional<z.ZodNullable<z.ZodString>>;
94622
95148
  }, "strip", z.ZodTypeAny, {
94623
95149
  provider_id: string;
94624
95150
  merge?: Record<string, string | number | boolean> | undefined;
@@ -94635,6 +95161,8 @@ declare const routes: {
94635
95161
  send_locale?: string | null | undefined;
94636
95162
  template_locale?: string | undefined;
94637
95163
  topic?: string | null | undefined;
95164
+ reply_to?: string | null | undefined;
95165
+ transactional?: boolean | undefined;
94638
95166
  }, {
94639
95167
  provider_id: string;
94640
95168
  merge?: Record<string, string | number | boolean> | undefined;
@@ -94651,6 +95179,8 @@ declare const routes: {
94651
95179
  send_locale?: string | null | undefined;
94652
95180
  template_locale?: string | undefined;
94653
95181
  topic?: string | null | undefined;
95182
+ reply_to?: string | null | undefined;
95183
+ transactional?: boolean | undefined;
94654
95184
  }>, {
94655
95185
  provider_id: string;
94656
95186
  merge?: Record<string, string | number | boolean> | undefined;
@@ -94667,6 +95197,8 @@ declare const routes: {
94667
95197
  send_locale?: string | null | undefined;
94668
95198
  template_locale?: string | undefined;
94669
95199
  topic?: string | null | undefined;
95200
+ reply_to?: string | null | undefined;
95201
+ transactional?: boolean | undefined;
94670
95202
  }, {
94671
95203
  provider_id: string;
94672
95204
  merge?: Record<string, string | number | boolean> | undefined;
@@ -94683,6 +95215,8 @@ declare const routes: {
94683
95215
  send_locale?: string | null | undefined;
94684
95216
  template_locale?: string | undefined;
94685
95217
  topic?: string | null | undefined;
95218
+ reply_to?: string | null | undefined;
95219
+ transactional?: boolean | undefined;
94686
95220
  }>, {
94687
95221
  provider_id: string;
94688
95222
  merge?: Record<string, string | number | boolean> | undefined;
@@ -94699,6 +95233,8 @@ declare const routes: {
94699
95233
  send_locale?: string | null | undefined;
94700
95234
  template_locale?: string | undefined;
94701
95235
  topic?: string | null | undefined;
95236
+ reply_to?: string | null | undefined;
95237
+ transactional?: boolean | undefined;
94702
95238
  }, {
94703
95239
  provider_id: string;
94704
95240
  merge?: Record<string, string | number | boolean> | undefined;
@@ -94715,6 +95251,8 @@ declare const routes: {
94715
95251
  send_locale?: string | null | undefined;
94716
95252
  template_locale?: string | undefined;
94717
95253
  topic?: string | null | undefined;
95254
+ reply_to?: string | null | undefined;
95255
+ transactional?: boolean | undefined;
94718
95256
  }>, {
94719
95257
  provider_id: string;
94720
95258
  merge?: Record<string, string | number | boolean> | undefined;
@@ -94731,6 +95269,8 @@ declare const routes: {
94731
95269
  send_locale?: string | null | undefined;
94732
95270
  template_locale?: string | undefined;
94733
95271
  topic?: string | null | undefined;
95272
+ reply_to?: string | null | undefined;
95273
+ transactional?: boolean | undefined;
94734
95274
  }, {
94735
95275
  provider_id: string;
94736
95276
  merge?: Record<string, string | number | boolean> | undefined;
@@ -94747,6 +95287,8 @@ declare const routes: {
94747
95287
  send_locale?: string | null | undefined;
94748
95288
  template_locale?: string | undefined;
94749
95289
  topic?: string | null | undefined;
95290
+ reply_to?: string | null | undefined;
95291
+ transactional?: boolean | undefined;
94750
95292
  }>;
94751
95293
  readonly response: z.ZodObject<{
94752
95294
  id: z.ZodString;
@@ -94798,6 +95340,8 @@ declare const routes: {
94798
95340
  }>;
94799
95341
  metadata: z.ZodEffects<z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodString>, Record<string, string>, Record<string, string>>, Record<string, string>, Record<string, string>>;
94800
95342
  merge: z.ZodDefault<z.ZodEffects<z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]>>, Record<string, string | number | boolean>, Record<string, string | number | boolean>>, Record<string, string | number | boolean>, Record<string, string | number | boolean>>>;
95343
+ reply_to: z.ZodDefault<z.ZodNullable<z.ZodString>>;
95344
+ transactional: z.ZodDefault<z.ZodBoolean>;
94801
95345
  scheduled_at: z.ZodNullable<z.ZodString>;
94802
95346
  ab_test: z.ZodNullable<z.ZodObject<{
94803
95347
  variants: z.ZodArray<z.ZodObject<{
@@ -94887,6 +95431,8 @@ declare const routes: {
94887
95431
  failed: number;
94888
95432
  skipped: number;
94889
95433
  };
95434
+ reply_to: string | null;
95435
+ transactional: boolean;
94890
95436
  scheduled_at: string | null;
94891
95437
  ab_test: {
94892
95438
  status: "pending" | "testing" | "awaiting_pick" | "decided";
@@ -94956,6 +95502,8 @@ declare const routes: {
94956
95502
  finished_at: string | null;
94957
95503
  merge?: Record<string, string | number | boolean> | undefined;
94958
95504
  template_locale?: string | null | undefined;
95505
+ reply_to?: string | null | undefined;
95506
+ transactional?: boolean | undefined;
94959
95507
  pause_reason?: string | null | undefined;
94960
95508
  }>;
94961
95509
  readonly status: 201;
@@ -95022,6 +95570,8 @@ declare const routes: {
95022
95570
  }>;
95023
95571
  metadata: z.ZodEffects<z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodString>, Record<string, string>, Record<string, string>>, Record<string, string>, Record<string, string>>;
95024
95572
  merge: z.ZodDefault<z.ZodEffects<z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]>>, Record<string, string | number | boolean>, Record<string, string | number | boolean>>, Record<string, string | number | boolean>, Record<string, string | number | boolean>>>;
95573
+ reply_to: z.ZodDefault<z.ZodNullable<z.ZodString>>;
95574
+ transactional: z.ZodDefault<z.ZodBoolean>;
95025
95575
  scheduled_at: z.ZodNullable<z.ZodString>;
95026
95576
  ab_test: z.ZodNullable<z.ZodObject<{
95027
95577
  variants: z.ZodArray<z.ZodObject<{
@@ -95111,6 +95661,8 @@ declare const routes: {
95111
95661
  failed: number;
95112
95662
  skipped: number;
95113
95663
  };
95664
+ reply_to: string | null;
95665
+ transactional: boolean;
95114
95666
  scheduled_at: string | null;
95115
95667
  ab_test: {
95116
95668
  status: "pending" | "testing" | "awaiting_pick" | "decided";
@@ -95180,6 +95732,8 @@ declare const routes: {
95180
95732
  finished_at: string | null;
95181
95733
  merge?: Record<string, string | number | boolean> | undefined;
95182
95734
  template_locale?: string | null | undefined;
95735
+ reply_to?: string | null | undefined;
95736
+ transactional?: boolean | undefined;
95183
95737
  pause_reason?: string | null | undefined;
95184
95738
  }>;
95185
95739
  readonly status: 200;
@@ -95228,6 +95782,7 @@ declare const routes: {
95228
95782
  provider_id: z.ZodOptional<z.ZodString>;
95229
95783
  metadata: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodString>, Record<string, string>, Record<string, string>>, Record<string, string>, Record<string, string>>>;
95230
95784
  merge: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]>>, Record<string, string | number | boolean>, Record<string, string | number | boolean>>, Record<string, string | number | boolean>, Record<string, string | number | boolean>>>;
95785
+ reply_to: z.ZodOptional<z.ZodNullable<z.ZodString>>;
95231
95786
  document: z.ZodOptional<z.ZodObject<{
95232
95787
  version: z.ZodEnum<["1.0", "1.1"]>;
95233
95788
  metadata: z.ZodRecord<z.ZodString, z.ZodUnknown>;
@@ -95255,6 +95810,7 @@ declare const routes: {
95255
95810
  send_locale?: string | null | undefined;
95256
95811
  topic?: string | null | undefined;
95257
95812
  provider_id?: string | undefined;
95813
+ reply_to?: string | null | undefined;
95258
95814
  }, {
95259
95815
  merge?: Record<string, string | number | boolean> | undefined;
95260
95816
  name?: string | null | undefined;
@@ -95269,6 +95825,7 @@ declare const routes: {
95269
95825
  send_locale?: string | null | undefined;
95270
95826
  topic?: string | null | undefined;
95271
95827
  provider_id?: string | undefined;
95828
+ reply_to?: string | null | undefined;
95272
95829
  }>, {
95273
95830
  merge?: Record<string, string | number | boolean> | undefined;
95274
95831
  name?: string | null | undefined;
@@ -95283,6 +95840,7 @@ declare const routes: {
95283
95840
  send_locale?: string | null | undefined;
95284
95841
  topic?: string | null | undefined;
95285
95842
  provider_id?: string | undefined;
95843
+ reply_to?: string | null | undefined;
95286
95844
  }, {
95287
95845
  merge?: Record<string, string | number | boolean> | undefined;
95288
95846
  name?: string | null | undefined;
@@ -95297,6 +95855,7 @@ declare const routes: {
95297
95855
  send_locale?: string | null | undefined;
95298
95856
  topic?: string | null | undefined;
95299
95857
  provider_id?: string | undefined;
95858
+ reply_to?: string | null | undefined;
95300
95859
  }>;
95301
95860
  readonly response: z.ZodObject<{
95302
95861
  id: z.ZodString;
@@ -95348,6 +95907,8 @@ declare const routes: {
95348
95907
  }>;
95349
95908
  metadata: z.ZodEffects<z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodString>, Record<string, string>, Record<string, string>>, Record<string, string>, Record<string, string>>;
95350
95909
  merge: z.ZodDefault<z.ZodEffects<z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]>>, Record<string, string | number | boolean>, Record<string, string | number | boolean>>, Record<string, string | number | boolean>, Record<string, string | number | boolean>>>;
95910
+ reply_to: z.ZodDefault<z.ZodNullable<z.ZodString>>;
95911
+ transactional: z.ZodDefault<z.ZodBoolean>;
95351
95912
  scheduled_at: z.ZodNullable<z.ZodString>;
95352
95913
  ab_test: z.ZodNullable<z.ZodObject<{
95353
95914
  variants: z.ZodArray<z.ZodObject<{
@@ -95437,6 +95998,8 @@ declare const routes: {
95437
95998
  failed: number;
95438
95999
  skipped: number;
95439
96000
  };
96001
+ reply_to: string | null;
96002
+ transactional: boolean;
95440
96003
  scheduled_at: string | null;
95441
96004
  ab_test: {
95442
96005
  status: "pending" | "testing" | "awaiting_pick" | "decided";
@@ -95506,6 +96069,8 @@ declare const routes: {
95506
96069
  finished_at: string | null;
95507
96070
  merge?: Record<string, string | number | boolean> | undefined;
95508
96071
  template_locale?: string | null | undefined;
96072
+ reply_to?: string | null | undefined;
96073
+ transactional?: boolean | undefined;
95509
96074
  pause_reason?: string | null | undefined;
95510
96075
  }>;
95511
96076
  readonly status: 200;
@@ -96039,6 +96604,8 @@ declare const routes: {
96039
96604
  }>;
96040
96605
  metadata: z.ZodEffects<z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodString>, Record<string, string>, Record<string, string>>, Record<string, string>, Record<string, string>>;
96041
96606
  merge: z.ZodDefault<z.ZodEffects<z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]>>, Record<string, string | number | boolean>, Record<string, string | number | boolean>>, Record<string, string | number | boolean>, Record<string, string | number | boolean>>>;
96607
+ reply_to: z.ZodDefault<z.ZodNullable<z.ZodString>>;
96608
+ transactional: z.ZodDefault<z.ZodBoolean>;
96042
96609
  scheduled_at: z.ZodNullable<z.ZodString>;
96043
96610
  ab_test: z.ZodNullable<z.ZodObject<{
96044
96611
  variants: z.ZodArray<z.ZodObject<{
@@ -96128,6 +96695,8 @@ declare const routes: {
96128
96695
  failed: number;
96129
96696
  skipped: number;
96130
96697
  };
96698
+ reply_to: string | null;
96699
+ transactional: boolean;
96131
96700
  scheduled_at: string | null;
96132
96701
  ab_test: {
96133
96702
  status: "pending" | "testing" | "awaiting_pick" | "decided";
@@ -96197,6 +96766,8 @@ declare const routes: {
96197
96766
  finished_at: string | null;
96198
96767
  merge?: Record<string, string | number | boolean> | undefined;
96199
96768
  template_locale?: string | null | undefined;
96769
+ reply_to?: string | null | undefined;
96770
+ transactional?: boolean | undefined;
96200
96771
  pause_reason?: string | null | undefined;
96201
96772
  }>;
96202
96773
  readonly status: 202;
@@ -96264,6 +96835,8 @@ declare const routes: {
96264
96835
  }>;
96265
96836
  metadata: z.ZodEffects<z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodString>, Record<string, string>, Record<string, string>>, Record<string, string>, Record<string, string>>;
96266
96837
  merge: z.ZodDefault<z.ZodEffects<z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]>>, Record<string, string | number | boolean>, Record<string, string | number | boolean>>, Record<string, string | number | boolean>, Record<string, string | number | boolean>>>;
96838
+ reply_to: z.ZodDefault<z.ZodNullable<z.ZodString>>;
96839
+ transactional: z.ZodDefault<z.ZodBoolean>;
96267
96840
  scheduled_at: z.ZodNullable<z.ZodString>;
96268
96841
  ab_test: z.ZodNullable<z.ZodObject<{
96269
96842
  variants: z.ZodArray<z.ZodObject<{
@@ -96353,6 +96926,8 @@ declare const routes: {
96353
96926
  failed: number;
96354
96927
  skipped: number;
96355
96928
  };
96929
+ reply_to: string | null;
96930
+ transactional: boolean;
96356
96931
  scheduled_at: string | null;
96357
96932
  ab_test: {
96358
96933
  status: "pending" | "testing" | "awaiting_pick" | "decided";
@@ -96422,6 +96997,8 @@ declare const routes: {
96422
96997
  finished_at: string | null;
96423
96998
  merge?: Record<string, string | number | boolean> | undefined;
96424
96999
  template_locale?: string | null | undefined;
97000
+ reply_to?: string | null | undefined;
97001
+ transactional?: boolean | undefined;
96425
97002
  pause_reason?: string | null | undefined;
96426
97003
  }>;
96427
97004
  readonly status: 200;
@@ -96489,6 +97066,8 @@ declare const routes: {
96489
97066
  }>;
96490
97067
  metadata: z.ZodEffects<z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodString>, Record<string, string>, Record<string, string>>, Record<string, string>, Record<string, string>>;
96491
97068
  merge: z.ZodDefault<z.ZodEffects<z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]>>, Record<string, string | number | boolean>, Record<string, string | number | boolean>>, Record<string, string | number | boolean>, Record<string, string | number | boolean>>>;
97069
+ reply_to: z.ZodDefault<z.ZodNullable<z.ZodString>>;
97070
+ transactional: z.ZodDefault<z.ZodBoolean>;
96492
97071
  scheduled_at: z.ZodNullable<z.ZodString>;
96493
97072
  ab_test: z.ZodNullable<z.ZodObject<{
96494
97073
  variants: z.ZodArray<z.ZodObject<{
@@ -96578,6 +97157,8 @@ declare const routes: {
96578
97157
  failed: number;
96579
97158
  skipped: number;
96580
97159
  };
97160
+ reply_to: string | null;
97161
+ transactional: boolean;
96581
97162
  scheduled_at: string | null;
96582
97163
  ab_test: {
96583
97164
  status: "pending" | "testing" | "awaiting_pick" | "decided";
@@ -96647,6 +97228,8 @@ declare const routes: {
96647
97228
  finished_at: string | null;
96648
97229
  merge?: Record<string, string | number | boolean> | undefined;
96649
97230
  template_locale?: string | null | undefined;
97231
+ reply_to?: string | null | undefined;
97232
+ transactional?: boolean | undefined;
96650
97233
  pause_reason?: string | null | undefined;
96651
97234
  }>;
96652
97235
  readonly status: 202;
@@ -96714,6 +97297,8 @@ declare const routes: {
96714
97297
  }>;
96715
97298
  metadata: z.ZodEffects<z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodString>, Record<string, string>, Record<string, string>>, Record<string, string>, Record<string, string>>;
96716
97299
  merge: z.ZodDefault<z.ZodEffects<z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]>>, Record<string, string | number | boolean>, Record<string, string | number | boolean>>, Record<string, string | number | boolean>, Record<string, string | number | boolean>>>;
97300
+ reply_to: z.ZodDefault<z.ZodNullable<z.ZodString>>;
97301
+ transactional: z.ZodDefault<z.ZodBoolean>;
96717
97302
  scheduled_at: z.ZodNullable<z.ZodString>;
96718
97303
  ab_test: z.ZodNullable<z.ZodObject<{
96719
97304
  variants: z.ZodArray<z.ZodObject<{
@@ -96803,6 +97388,8 @@ declare const routes: {
96803
97388
  failed: number;
96804
97389
  skipped: number;
96805
97390
  };
97391
+ reply_to: string | null;
97392
+ transactional: boolean;
96806
97393
  scheduled_at: string | null;
96807
97394
  ab_test: {
96808
97395
  status: "pending" | "testing" | "awaiting_pick" | "decided";
@@ -96872,6 +97459,8 @@ declare const routes: {
96872
97459
  finished_at: string | null;
96873
97460
  merge?: Record<string, string | number | boolean> | undefined;
96874
97461
  template_locale?: string | null | undefined;
97462
+ reply_to?: string | null | undefined;
97463
+ transactional?: boolean | undefined;
96875
97464
  pause_reason?: string | null | undefined;
96876
97465
  }>;
96877
97466
  readonly status: 200;
@@ -96945,6 +97534,8 @@ declare const routes: {
96945
97534
  }>;
96946
97535
  metadata: z.ZodEffects<z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodString>, Record<string, string>, Record<string, string>>, Record<string, string>, Record<string, string>>;
96947
97536
  merge: z.ZodDefault<z.ZodEffects<z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]>>, Record<string, string | number | boolean>, Record<string, string | number | boolean>>, Record<string, string | number | boolean>, Record<string, string | number | boolean>>>;
97537
+ reply_to: z.ZodDefault<z.ZodNullable<z.ZodString>>;
97538
+ transactional: z.ZodDefault<z.ZodBoolean>;
96948
97539
  scheduled_at: z.ZodNullable<z.ZodString>;
96949
97540
  ab_test: z.ZodNullable<z.ZodObject<{
96950
97541
  variants: z.ZodArray<z.ZodObject<{
@@ -97034,6 +97625,8 @@ declare const routes: {
97034
97625
  failed: number;
97035
97626
  skipped: number;
97036
97627
  };
97628
+ reply_to: string | null;
97629
+ transactional: boolean;
97037
97630
  scheduled_at: string | null;
97038
97631
  ab_test: {
97039
97632
  status: "pending" | "testing" | "awaiting_pick" | "decided";
@@ -97103,6 +97696,8 @@ declare const routes: {
97103
97696
  finished_at: string | null;
97104
97697
  merge?: Record<string, string | number | boolean> | undefined;
97105
97698
  template_locale?: string | null | undefined;
97699
+ reply_to?: string | null | undefined;
97700
+ transactional?: boolean | undefined;
97106
97701
  pause_reason?: string | null | undefined;
97107
97702
  }>;
97108
97703
  readonly status: 202;
@@ -97176,6 +97771,8 @@ declare const routes: {
97176
97771
  }>;
97177
97772
  metadata: z.ZodEffects<z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodString>, Record<string, string>, Record<string, string>>, Record<string, string>, Record<string, string>>;
97178
97773
  merge: z.ZodDefault<z.ZodEffects<z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]>>, Record<string, string | number | boolean>, Record<string, string | number | boolean>>, Record<string, string | number | boolean>, Record<string, string | number | boolean>>>;
97774
+ reply_to: z.ZodDefault<z.ZodNullable<z.ZodString>>;
97775
+ transactional: z.ZodDefault<z.ZodBoolean>;
97179
97776
  scheduled_at: z.ZodNullable<z.ZodString>;
97180
97777
  ab_test: z.ZodNullable<z.ZodObject<{
97181
97778
  variants: z.ZodArray<z.ZodObject<{
@@ -97265,6 +97862,8 @@ declare const routes: {
97265
97862
  failed: number;
97266
97863
  skipped: number;
97267
97864
  };
97865
+ reply_to: string | null;
97866
+ transactional: boolean;
97268
97867
  scheduled_at: string | null;
97269
97868
  ab_test: {
97270
97869
  status: "pending" | "testing" | "awaiting_pick" | "decided";
@@ -97334,6 +97933,8 @@ declare const routes: {
97334
97933
  finished_at: string | null;
97335
97934
  merge?: Record<string, string | number | boolean> | undefined;
97336
97935
  template_locale?: string | null | undefined;
97936
+ reply_to?: string | null | undefined;
97937
+ transactional?: boolean | undefined;
97337
97938
  pause_reason?: string | null | undefined;
97338
97939
  }>;
97339
97940
  readonly status: 201;
@@ -105917,7 +106518,7 @@ declare const routes: {
105917
106518
  email: string;
105918
106519
  name?: string | null | undefined;
105919
106520
  }>;
105920
- company_id: z.ZodOptional<z.ZodString>;
106521
+ company_id: z.ZodString;
105921
106522
  }, "strip", z.ZodTypeAny, {
105922
106523
  name: string;
105923
106524
  slug: string;
@@ -105925,6 +106526,7 @@ declare const routes: {
105925
106526
  email: string;
105926
106527
  name?: string | null | undefined;
105927
106528
  };
106529
+ company_id: string;
105928
106530
  settings?: {
105929
106531
  asset_policy?: "any" | "service_only" | undefined;
105930
106532
  default_locale?: string | undefined;
@@ -105934,7 +106536,6 @@ declare const routes: {
105934
106536
  merge_defaults?: Record<string, string | number | boolean> | undefined;
105935
106537
  default_timezone?: string | null | undefined;
105936
106538
  } | undefined;
105937
- company_id?: string | undefined;
105938
106539
  }, {
105939
106540
  name: string;
105940
106541
  slug: string;
@@ -105942,6 +106543,7 @@ declare const routes: {
105942
106543
  email: string;
105943
106544
  name?: string | null | undefined;
105944
106545
  };
106546
+ company_id: string;
105945
106547
  settings?: {
105946
106548
  asset_policy?: "any" | "service_only" | undefined;
105947
106549
  default_locale?: string | undefined;
@@ -105951,7 +106553,6 @@ declare const routes: {
105951
106553
  merge_defaults?: Record<string, string | number | boolean> | undefined;
105952
106554
  default_timezone?: string | null | undefined;
105953
106555
  } | undefined;
105954
- company_id?: string | undefined;
105955
106556
  }>;
105956
106557
  readonly response: z.ZodObject<{
105957
106558
  id: z.ZodString;
@@ -106472,6 +107073,11 @@ declare const routes: {
106472
107073
  name: z.ZodNullable<z.ZodString>;
106473
107074
  role: z.ZodEnum<["owner", "admin", "editor", "viewer"]>;
106474
107075
  created_at: z.ZodString;
107076
+ source: z.ZodOptional<z.ZodEnum<["invited", "company"]>>;
107077
+ company_role: z.ZodOptional<z.ZodNullable<z.ZodEnum<["owner", "admin"]>>>;
107078
+ company_checked_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
107079
+ direct_role: z.ZodOptional<z.ZodNullable<z.ZodEnum<["owner", "admin", "editor", "viewer"]>>>;
107080
+ inherited: z.ZodOptional<z.ZodBoolean>;
106475
107081
  }, "strip", z.ZodTypeAny, {
106476
107082
  id: string;
106477
107083
  email: string;
@@ -106479,6 +107085,11 @@ declare const routes: {
106479
107085
  subject: string;
106480
107086
  created_at: string;
106481
107087
  role: "owner" | "admin" | "editor" | "viewer";
107088
+ source?: "invited" | "company" | undefined;
107089
+ company_role?: "owner" | "admin" | null | undefined;
107090
+ company_checked_at?: string | null | undefined;
107091
+ direct_role?: "owner" | "admin" | "editor" | "viewer" | null | undefined;
107092
+ inherited?: boolean | undefined;
106482
107093
  }, {
106483
107094
  id: string;
106484
107095
  email: string;
@@ -106486,6 +107097,11 @@ declare const routes: {
106486
107097
  subject: string;
106487
107098
  created_at: string;
106488
107099
  role: "owner" | "admin" | "editor" | "viewer";
107100
+ source?: "invited" | "company" | undefined;
107101
+ company_role?: "owner" | "admin" | null | undefined;
107102
+ company_checked_at?: string | null | undefined;
107103
+ direct_role?: "owner" | "admin" | "editor" | "viewer" | null | undefined;
107104
+ inherited?: boolean | undefined;
106489
107105
  }>, "many">;
106490
107106
  next_cursor: z.ZodNullable<z.ZodString>;
106491
107107
  }, "strip", z.ZodTypeAny, {
@@ -106496,6 +107112,11 @@ declare const routes: {
106496
107112
  subject: string;
106497
107113
  created_at: string;
106498
107114
  role: "owner" | "admin" | "editor" | "viewer";
107115
+ source?: "invited" | "company" | undefined;
107116
+ company_role?: "owner" | "admin" | null | undefined;
107117
+ company_checked_at?: string | null | undefined;
107118
+ direct_role?: "owner" | "admin" | "editor" | "viewer" | null | undefined;
107119
+ inherited?: boolean | undefined;
106499
107120
  }[];
106500
107121
  next_cursor: string | null;
106501
107122
  }, {
@@ -106506,6 +107127,11 @@ declare const routes: {
106506
107127
  subject: string;
106507
107128
  created_at: string;
106508
107129
  role: "owner" | "admin" | "editor" | "viewer";
107130
+ source?: "invited" | "company" | undefined;
107131
+ company_role?: "owner" | "admin" | null | undefined;
107132
+ company_checked_at?: string | null | undefined;
107133
+ direct_role?: "owner" | "admin" | "editor" | "viewer" | null | undefined;
107134
+ inherited?: boolean | undefined;
106509
107135
  }[];
106510
107136
  next_cursor: string | null;
106511
107137
  }>;
@@ -106539,6 +107165,11 @@ declare const routes: {
106539
107165
  name: z.ZodNullable<z.ZodString>;
106540
107166
  role: z.ZodEnum<["owner", "admin", "editor", "viewer"]>;
106541
107167
  created_at: z.ZodString;
107168
+ source: z.ZodOptional<z.ZodEnum<["invited", "company"]>>;
107169
+ company_role: z.ZodOptional<z.ZodNullable<z.ZodEnum<["owner", "admin"]>>>;
107170
+ company_checked_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
107171
+ direct_role: z.ZodOptional<z.ZodNullable<z.ZodEnum<["owner", "admin", "editor", "viewer"]>>>;
107172
+ inherited: z.ZodOptional<z.ZodBoolean>;
106542
107173
  }, "strip", z.ZodTypeAny, {
106543
107174
  id: string;
106544
107175
  email: string;
@@ -106546,6 +107177,11 @@ declare const routes: {
106546
107177
  subject: string;
106547
107178
  created_at: string;
106548
107179
  role: "owner" | "admin" | "editor" | "viewer";
107180
+ source?: "invited" | "company" | undefined;
107181
+ company_role?: "owner" | "admin" | null | undefined;
107182
+ company_checked_at?: string | null | undefined;
107183
+ direct_role?: "owner" | "admin" | "editor" | "viewer" | null | undefined;
107184
+ inherited?: boolean | undefined;
106549
107185
  }, {
106550
107186
  id: string;
106551
107187
  email: string;
@@ -106553,6 +107189,11 @@ declare const routes: {
106553
107189
  subject: string;
106554
107190
  created_at: string;
106555
107191
  role: "owner" | "admin" | "editor" | "viewer";
107192
+ source?: "invited" | "company" | undefined;
107193
+ company_role?: "owner" | "admin" | null | undefined;
107194
+ company_checked_at?: string | null | undefined;
107195
+ direct_role?: "owner" | "admin" | "editor" | "viewer" | null | undefined;
107196
+ inherited?: boolean | undefined;
106556
107197
  }>;
106557
107198
  readonly status: 201;
106558
107199
  readonly access: "admin";
@@ -106582,6 +107223,11 @@ declare const routes: {
106582
107223
  name: z.ZodNullable<z.ZodString>;
106583
107224
  role: z.ZodEnum<["owner", "admin", "editor", "viewer"]>;
106584
107225
  created_at: z.ZodString;
107226
+ source: z.ZodOptional<z.ZodEnum<["invited", "company"]>>;
107227
+ company_role: z.ZodOptional<z.ZodNullable<z.ZodEnum<["owner", "admin"]>>>;
107228
+ company_checked_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
107229
+ direct_role: z.ZodOptional<z.ZodNullable<z.ZodEnum<["owner", "admin", "editor", "viewer"]>>>;
107230
+ inherited: z.ZodOptional<z.ZodBoolean>;
106585
107231
  }, "strip", z.ZodTypeAny, {
106586
107232
  id: string;
106587
107233
  email: string;
@@ -106589,6 +107235,11 @@ declare const routes: {
106589
107235
  subject: string;
106590
107236
  created_at: string;
106591
107237
  role: "owner" | "admin" | "editor" | "viewer";
107238
+ source?: "invited" | "company" | undefined;
107239
+ company_role?: "owner" | "admin" | null | undefined;
107240
+ company_checked_at?: string | null | undefined;
107241
+ direct_role?: "owner" | "admin" | "editor" | "viewer" | null | undefined;
107242
+ inherited?: boolean | undefined;
106592
107243
  }, {
106593
107244
  id: string;
106594
107245
  email: string;
@@ -106596,6 +107247,11 @@ declare const routes: {
106596
107247
  subject: string;
106597
107248
  created_at: string;
106598
107249
  role: "owner" | "admin" | "editor" | "viewer";
107250
+ source?: "invited" | "company" | undefined;
107251
+ company_role?: "owner" | "admin" | null | undefined;
107252
+ company_checked_at?: string | null | undefined;
107253
+ direct_role?: "owner" | "admin" | "editor" | "viewer" | null | undefined;
107254
+ inherited?: boolean | undefined;
106599
107255
  }>;
106600
107256
  readonly status: 200;
106601
107257
  readonly access: "admin";
@@ -106622,6 +107278,69 @@ declare const routes: {
106622
107278
  readonly access: "admin";
106623
107279
  readonly phase: "S0";
106624
107280
  };
107281
+ /**
107282
+ * The dashboard states the signed-in person's owner and admin roles in
107283
+ * companies, and the service brings the member lists in line (see
107284
+ * `MemberCompanySync`). `dashboard` access: the dashboard's service token
107285
+ * and the person's subject, no workspace. An API key is refused, and so is
107286
+ * every trusted application: it is not in any `TRUSTED_APP_OPERATIONS` list
107287
+ * and the handler refuses an application once more by itself.
107288
+ */
107289
+ readonly 'members.syncCompanyRole': {
107290
+ readonly method: "POST";
107291
+ readonly path: "/v1/members/company-sync";
107292
+ readonly body: z.ZodObject<{
107293
+ email: z.ZodString;
107294
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
107295
+ companies: z.ZodEffects<z.ZodArray<z.ZodObject<{
107296
+ company_id: z.ZodString;
107297
+ role: z.ZodEnum<["owner", "admin"]>;
107298
+ }, "strip", z.ZodTypeAny, {
107299
+ company_id: string;
107300
+ role: "owner" | "admin";
107301
+ }, {
107302
+ company_id: string;
107303
+ role: "owner" | "admin";
107304
+ }>, "many">, {
107305
+ company_id: string;
107306
+ role: "owner" | "admin";
107307
+ }[], {
107308
+ company_id: string;
107309
+ role: "owner" | "admin";
107310
+ }[]>;
107311
+ }, "strip", z.ZodTypeAny, {
107312
+ email: string;
107313
+ companies: {
107314
+ company_id: string;
107315
+ role: "owner" | "admin";
107316
+ }[];
107317
+ name?: string | null | undefined;
107318
+ }, {
107319
+ email: string;
107320
+ companies: {
107321
+ company_id: string;
107322
+ role: "owner" | "admin";
107323
+ }[];
107324
+ name?: string | null | undefined;
107325
+ }>;
107326
+ readonly response: z.ZodObject<{
107327
+ granted: z.ZodArray<z.ZodString, "many">;
107328
+ revoked: z.ZodArray<z.ZodString, "many">;
107329
+ unchanged: z.ZodArray<z.ZodString, "many">;
107330
+ }, "strip", z.ZodTypeAny, {
107331
+ unchanged: string[];
107332
+ granted: string[];
107333
+ revoked: string[];
107334
+ }, {
107335
+ unchanged: string[];
107336
+ granted: string[];
107337
+ revoked: string[];
107338
+ }>;
107339
+ readonly status: 200;
107340
+ readonly access: "dashboard";
107341
+ readonly phase: "S0";
107342
+ readonly statement: true;
107343
+ };
106625
107344
  readonly 'apiKeys.list': {
106626
107345
  readonly method: "GET";
106627
107346
  readonly path: "/v1/api-keys";
@@ -106995,7 +107714,8 @@ type RouteResponse<K extends OperationId> = Infer<Routes[K]['response']>;
106995
107714
  /**
106996
107715
  * Every mutating call accepts an `Idempotency-Key`; reads never need one. The
106997
107716
  * SDK sends a key on every non-GET request so a retry after a network failure can
106998
- * never apply twice.
107717
+ * never apply twice. The exception is a `statement` (see `RouteDef`), which is
107718
+ * safe to repeat by what it is.
106999
107719
  */
107000
107720
  declare function acceptsIdempotencyKey(route: RouteDef): boolean;
107001
107721
  /** Fills the `:name` segments of a route path, URL-encoding each value. */
@@ -107012,4 +107732,4 @@ declare function matchRoute(method: HttpMethod, pathname: string): {
107012
107732
  params: Record<string, string>;
107013
107733
  } | null;
107014
107734
 
107015
- export { AB_TEST_STATUSES, AB_WINNER_METRICS, API_KEY_SCOPES, API_VERSION_PREFIX, ASSET_CONTENT_TYPES, ASSET_POLICIES, ASSET_UPLOAD_FIELD, AUDIT_ACTIONS, AUTHORIZATION_HEADER, AUTOMATION_DATE_TRIGGER_KINDS, AUTOMATION_END_REASONS, AUTOMATION_ENTRY_REFUSALS, AUTOMATION_FILTER_FIELD_OPERATORS, AUTOMATION_FILTER_FIELD_PATTERN, AUTOMATION_ISSUE_CODES, AUTOMATION_STATUSES, AUTOMATION_STEP_KINDS, AUTOMATION_TRIGGER_KINDS, AUTOMATION_WAIT_REASONS, AbTestConfig, AbTestState, AbVariant, AbWinnerRequest, ApiKey, ApiKeyCreate, ApiKeyCreated, ApiKeyScope, Asset, AssetContentType, AssetHost, AssetImport, AssetPolicy, AuditAction, AuditActor, AuditEntry, AuditQuery, Automation, AutomationCounts, AutomationCreate, type AutomationDateTriggerKind, AutomationDuplicateRequest, AutomationEndReason, AutomationEnrollRequest, AutomationEnrollResult, AutomationEnrollment, AutomationEntryRefusal, AutomationExitRunRequest, AutomationFilter, AutomationFilterCondition, AutomationFilterField, AutomationFlow, AutomationIssue, AutomationIssueCode, AutomationJourney, AutomationListQuery, AutomationPublishMove, AutomationPublishRequest, AutomationPublishResult, AutomationReport, AutomationRun, AutomationRunCompletedData, AutomationRunExitedData, AutomationRunFailedData, AutomationRunListQuery, AutomationRunParams, AutomationRunStartedData, AutomationRunStatus, AutomationSettings, AutomationStatus, AutomationStep, AutomationStepExecution, AutomationStepKind, AutomationStepParams, AutomationStepReport, AutomationSummary, AutomationTestEmailRequest, AutomationTrigger, AutomationTriggerKind, AutomationUpdate, AutomationValidateRequest, AutomationValidation, AutomationWaitReason, AutomationWebhookData, AutomationWithFlow, BEARER_PREFIX, BILLING_NOT_CONFIGURED_REASON, BoundedAutomationFilter, BoundedSegmentFilter, CONTACT_PROPERTY_TYPES, CatalogPlan, CheckoutRequest, CheckoutSession, CompanyId, CompileMessage, CompileRequest, CompileResult, ConditionStep, Contact, ContactAutomationListQuery, ContactAutomationRun, ContactBouncedData, ContactErased, ContactListQuery, ContactPropertyDefinition, ContactPropertyKey, ContactPropertyParams, ContactPropertyType, ContactResubscribedData, ContactSubscribedData, ContactTaggedData, ContactUnsubscribedData, ContactUpdatedData, ContactUpsert, ContactUpsertResult, DATE_PASSED_ANSWERS, DEFAULT_INVITE_TTL_DAYS, DEFAULT_PAGE_LIMIT, DOCUMENT_SCHEMA_VERSIONS, DateOnly, DatePassedAnswer, DelayStep, DocumentSchemaVersion, type DraftInsertionProblem, EDITABLE_MAILING_STATUSES, ERROR_CODES, ERROR_STATUS, EXPORT_CONTENT_TYPES, EXPORT_FORMATS, EXPORT_WARNINGS_HEADER, EXPORT_WARNING_COUNT_HEADER, type EditableLanguage, Email, EmailStep, EmailStepLanguage, ErrorBody, type ErrorCode, ErrorCodeSchema, Event, EventCreate, EventListQuery, EventName, ExportFormat, FILTER_FIELD_OPERATORS, FILTER_OPERATORS, FilterCondition, FilterField, type FilterLeafProblem, FilterOperator, GotoStep, HEALTH_PATH, HOSTED_PAGE_LOCALES, type HttpMethod, ICLOUD_SMTP_POLICY, IDEMPOTENCY_KEY_HEADER, IDEMPOTENCY_KEY_MAX_LENGTH, IDEMPOTENCY_KEY_RETENTION_HOURS, IMPORT_FILE_FIELD, IMPORT_ROW_OUTCOMES, IMPORT_SKIP_REASONS, IMPORT_STATUSES, IMPORT_TERMINAL_STATUSES, INSERTION_PROBLEM_REASONS, INSERTION_TEXT_SLOTS, INVITE_REFUSAL_REASONS, INVITE_STATUSES, Id, IdParams, ImportColumnMapping, ImportCommitRequest, ImportFinishedData, ImportJob, ImportMappingRequest, ImportReport, ImportRow, ImportRowListQuery, ImportRowOutcome, ImportSkipReason, ImportStatus, ImportWarning, ImportedAsset, Insertion, InsertionChoice, InsertionChoiceKey, type InsertionChoiceMade, InsertionChoices, type InsertionEdit, InsertionName, type InsertionProblem, type InsertionProblemReason, InsertionText, Insertions, Invite, InviteAccept, InviteAccepted, InviteCreate, InviteCreated, InviteListQuery, type InviteRefusalReason, InviteStatus, JsonValue, LETTER_ONLY_MERGE_FIELDS, LETTER_RECIPIENT_REFUSAL, LIST_UNSUBSCRIBE_POST_VALUE, LOCALE_TAG_PATTERN, type LanguageDrafts, type LanguageTab, LocaleTag, MAILING_ACTIONS, MAILING_KINDS, MAILING_STATUSES, MAILING_TRANSITIONS, MAX_ALLOWED_ASSET_HOSTS, MAX_ASSET_BYTES, MAX_DELAY_SECONDS, MAX_DOCUMENT_BYTES, MAX_ENGAGEMENT_DAYS, MAX_EXPORT_WARNINGS_HEADER_LENGTH, MAX_FILTER_DEPTH, MAX_IMPORTED_REMOTE_IMAGES, MAX_IMPORT_BYTES, MAX_IMPORT_ROWS, MAX_IMPORT_URL_LENGTH, MAX_INSERTIONS, MAX_INSERTION_CHOICES, MAX_INSERTION_TEXT_LENGTH, MAX_INVITE_TTL_DAYS, MAX_IN_LIST, MAX_LETTER_RECIPIENTS, MAX_MERGE_DEFAULTS, MAX_MERGE_DEFAULT_LENGTH, MAX_MJML_DEPTH, MAX_MJML_ELEMENTS, MAX_MJML_IMPORT_BYTES, MAX_PAGE_LIMIT, MAX_PREHEADER_LENGTH, MAX_RECIPIENTS_PER_BATCH, MAX_RE_ENTRY_COOLDOWN_SECONDS, MAX_SAVED_SECTIONS, MAX_SPLIT_BRANCHES, MAX_STEPS, MAX_STEP_VISITS, MAX_SUBJECT_LENGTH, MAX_TEMPLATE_INPUTS, MAX_TEMPLATE_INPUTS_APP_LENGTH, MAX_TEMPLATE_INPUTS_SEEN, MAX_TEMPLATE_INPUT_EXAMPLE_LENGTH, MAX_TEMPLATE_INPUT_LABEL_LENGTH, MAX_TEMPLATE_INPUT_NOTE_LENGTH, MAX_TEMPLATE_INPUT_VALUES, MAX_TEMPLATE_TRANSLATIONS, MAX_TRIGGERS, MEMBER_ROLES, MERGE_FIELD_PATTERN, MESSAGE_OUTCOMES, MIN_SPLIT_BRANCHES, MJML_IMPORT_REFUSALS, Mailing, MailingAbWinnerSelectedData, MailingAction, MailingActionRequest, MailingAnalytics, MailingAudienceFromSegment, MailingCounts, MailingCreate, MailingExportQuery, MailingFinishedData, MailingKind, MailingLanguage, MailingLanguageReport, MailingLanguageStatus, MailingListQuery, MailingMerge, MailingMetadata, MailingResolveRequest, MailingResolveResult, MailingRetryFailedRequest, MailingScheduleFailedData, MailingScheduleRequest, MailingScheduledData, MailingSendRequest, MailingStartedData, MailingStatus, MailingSummary, MailingTestRequest, MailingTestResult, MailingUpdate, Member, MemberCreate, MemberRole, MemberUpdate, MergeDefaultValue, MergeDefaults, MergeFieldName, type MergeFieldUse, type MergeValue, Message, MessageFailedData, MessageListQuery, MessageOutcome, MessageSentData, MessageSummary, MessageValues, type MissingInsertionText, type MjmlImportRefusal, NAME_ON_BROADCAST_REFUSAL, NotifyRecipients, NotifyStep, ON_BEHALF_OF_HEADER, ON_BEHALF_OF_MAX_LENGTH, OffsetDays, Ok, type OperationId, PLAN_FEATURES, PLAN_IDS, PREVIEW_EMPTY, PREVIEW_FILLED, PROVIDER_KINDS, type Page, PageQuery, type Personalization, type Phase, Plan, type PlanFeature, PlanFeatures, PlanId, PlanLimits, PortalRequest, PortalSession, type PreviewControl, Properties, Provider, ProviderCreate, ProviderEvents, ProviderEventsSecret, ProviderKind, ProviderPolicy, ProviderRejections, ProviderUpdate, ProviderUsage, ProviderVerifyResult, QuietHours, RECIPIENT_REJECTIONS, RECIPIENT_STATUSES, REQUEST_ID_HEADER, RESEND_EVENT_TYPES, RESERVED_MERGE_FIELDS, RESOLVE_PROBLEMS, RESOLVE_REJECTIONS, RETRYABLE_ERRORS, RETRY_AFTER_HEADER, RE_ENTRY_MODES, ReEntryMode, Recipient, RecipientBatch, RecipientBatchResult, RecipientInput, RecipientListQuery, RecipientStatus, RemoteImage, type RenamedPlacement, ResendSigningSecret, type ReservedMergeField, ResolveProblem, ResolvedRecipient, ResolvedValue, type RouteAccess, type RouteBody, type RouteDef, type RouteParams, type RouteQuery, type RouteResponse, type Routes, SERVICE_FILLED_MERGE_FIELDS, SIGNUP_FORM_FIELDS, SKIP_REASONS, SMTP_SECURITY, SUBJECT_HEADER, SUPPRESSION_REASONS, type SaveDemotion, SavedSection, SavedSectionBody, SavedSectionCreate, SavedSectionUpdate, Segment, SegmentCreate, SegmentFilter, SegmentPreview, SegmentPreviewRequest, SignupForm, SignupFormCreate, SignupFormEmbed, SignupFormTranslation, SignupSubmission, SkipReason, Slug, SplitBranchKey, SplitStep, StepId, type StepTarget, Subscription, Suppression, SuppressionCreate, SuppressionListQuery, SuppressionReason, TEMPLATE_INPUT_KINDS, TEMPLATE_INPUT_PROBLEM_REASONS, TEMPLATE_LANGUAGE_STATUSES, TEMPLATE_SORTS, TEMPLATE_SORT_DEFAULT_ORDER, TERMINAL_MAILING_STATUSES, TRUSTED_APPS, TRUSTED_APP_OPERATIONS, Tag, TagAssignment, TagCreate, Template, TemplateCompileRequest, TemplateCreate, TemplateCreatedData, TemplateDeleteQuery, TemplateDeletedData, TemplateDocument, TemplateExportQuery, TemplateImport, TemplateImportPreview, TemplateImportPreviewRequest, TemplateImportResult, TemplateInput, type TemplateInputKind, TemplateInputMap, TemplateInputName, type TemplateInputProblem, type TemplateInputProblemReason, TemplateInputSeen, TemplateInputSource, TemplateInputValue, TemplateInputs, TemplateInputsDeclaration, TemplateInputsDeclared, TemplateInputsSeen, TemplateLanguageStatus, TemplateListQuery, TemplatePreheader, type TemplateSort, TemplateSubject, TemplateSummary, TemplateTranslation, TemplateTranslations, TemplateUpdate, TemplateUpdatedData, TemplateVersion, TemplateVersionParams, TimeOfDay, Timestamp, TimezoneName, Topic, TopicCreate, TopicUpdate, TrackingSettings, TranslationInsertion, TranslationInsertions, TrustedApp, UNSUBSCRIBE_PATH_PREFIX, UNSUBSCRIBE_SOURCES, USAGE_METRICS, USAGE_WARNING_HEADER, USAGE_WARNING_RATIO, UnfilledLink, type UnsubscribeToken, type UnsubscribeTokenClaims, Usage, UsageMetric, UsageWarning, type UsageWarningHeaderEntry, VALUE_LAYERS, type ValidationContext, ValidationIssue, ValueLayer, type ValueSources, VariantAnalytics, type VerifyWebhookInput, WEBHOOK_DELIVERY_STATUSES, WEBHOOK_EVENT_ID_HEADER, WEBHOOK_EVENT_TYPES, WEBHOOK_MAX_ATTEMPTS, WEBHOOK_RETRY_DELAYS_SECONDS, WEBHOOK_SECRET_PREFIX, WEBHOOK_SIGNATURE_HEADER, WEBHOOK_SIGNATURE_VERSION, WEBHOOK_TIMESTAMP_HEADER, WEBHOOK_TOLERANCE_SECONDS, WORKSPACE_HEADER, WebhookDelivery, WebhookDeliveryListQuery, WebhookDeliveryParams, WebhookDeliveryStatus, WebhookEndpoint, WebhookEndpointCreate, WebhookEndpointUpdate, WebhookEndpointWithSecret, WebhookEvent, type WebhookEventOf, WebhookEventType, WebhookStep, WebhookUrl, type WebhookVerifyFailure, type WebhookVerifyResult, Weekday, Workspace, WorkspaceCreate, WorkspaceMembership, WorkspaceMove, WorkspaceSettings, WorkspaceUpdate, acceptsIdempotencyKey, addInsertion, addInsertionChoice, addLanguageDraft, alignTranslationInsertions, alwaysWaits, automationFilterFamily, automationRoutes, billingRoutes, buildPath, buildTemplatePatch, canTransition, canonicalLocale, choiceKeyProblem, chooseInsertion, cycles, defaultPreviewPick, defaultSettings, demoteForSave, demotedBySave, describeMissingTexts, draftDocument, draftInsertionProblems, draftsDirty, draftsFromTemplate, draftsPatch, editInsertionText, editLanguageDraft, editMainInsertionText, editMainInsertions, effectivePreviewPicks, emptyFlow, emptyLinkValues, errorBody, escapeMergeHtml, exportFilename, filterConditions, filterDepth, filterFieldFamily, filterLeafProblem, findMergeFields, formatExportWarningsHeader, formatUsageWarningHeader, foundationRoutes, insertionByProblem, insertionChoices, insertionCoverage, insertionInputs, insertionNameProblem, insertionProblems, insertionRefusalHint, insertionSlotLabel, insertionTextSlots, insertionTokens, insertionValue, inviteRoutes, isDayEntirelyPast, isPublishable, isRetryableError, keepLanguageDocument, languageInsertions, languageName, languageTabs, letterOnlyValues, linkTokens, mainInsertionText, matchLocale, matchRoute, missingInsertionTexts, missingRequiredMergeFields, normalizeChoiceKey, nowSeconds, operationsWithAccess, ownEntry, page, parseExportWarningsHeader, parseUsageWarningHeader, personalizeHtml, personalizeText, placementProblems, platformRoutes, previewControls, previewInsertions, previewPersonalization, primaryLanguage, printedFields, rawMergeValue, reachable, readyWithoutInsertions, readyWithoutSubject, rebaseDrafts, removeInsertion, removeInsertionChoice, removeLanguageDraft, renameInsertion, renameInsertionChecked, renameInsertionChoice, renameInsertionChoiceChecked, renameInsertionEverywhere, renameInsertionPlacements, renameTokenInDocument, renameTokenInText, resolveInsertions, resolveValue, restorePatch, routes, sameJson, sampleMergeValue, saveDemotions, sendingRoutes, setInsertionBy, setInsertionFilled, setLanguageStatus, signWebhook, statusForError, stepTargets, storedTemplateLine, stronglyConnected, templateInputDrift, templateInputProblems, templateRoutes, testGroupSize, tightLoops, timingSafeEqualString, translationInsertionProblems, translationTextFromInput, triggerKey, trustedAppMayCall, unknownRefusedInsertions, unplacedInsertions, validateAutomation, valueNames, valuesRead, verifyWebhook };
107735
+ export { AB_TEST_STATUSES, AB_WINNER_METRICS, API_KEY_SCOPES, API_VERSION_PREFIX, ASSET_CONTENT_TYPES, ASSET_POLICIES, ASSET_UPLOAD_FIELD, AUDIT_ACTIONS, AUTHORIZATION_HEADER, AUTOMATION_DATE_TRIGGER_KINDS, AUTOMATION_END_REASONS, AUTOMATION_ENTRY_REFUSALS, AUTOMATION_FILTER_FIELD_OPERATORS, AUTOMATION_FILTER_FIELD_PATTERN, AUTOMATION_ISSUE_CODES, AUTOMATION_STATUSES, AUTOMATION_STEP_KINDS, AUTOMATION_TRIGGER_KINDS, AUTOMATION_WAIT_REASONS, AbTestConfig, AbTestState, AbVariant, AbWinnerRequest, ApiKey, ApiKeyCreate, ApiKeyCreated, ApiKeyScope, Asset, AssetContentType, AssetHost, AssetImport, AssetPolicy, AuditAction, AuditActor, AuditEntry, AuditQuery, Automation, AutomationCounts, AutomationCreate, type AutomationDateTriggerKind, AutomationDuplicateRequest, AutomationEndReason, AutomationEnrollRequest, AutomationEnrollResult, AutomationEnrollment, AutomationEntryRefusal, AutomationExitRunRequest, AutomationFilter, AutomationFilterCondition, AutomationFilterField, AutomationFlow, AutomationIssue, AutomationIssueCode, AutomationJourney, AutomationListQuery, AutomationPublishMove, AutomationPublishRequest, AutomationPublishResult, AutomationReport, AutomationRun, AutomationRunCompletedData, AutomationRunExitedData, AutomationRunFailedData, AutomationRunListQuery, AutomationRunParams, AutomationRunStartedData, AutomationRunStatus, AutomationSettings, AutomationStatus, AutomationStep, AutomationStepExecution, AutomationStepKind, AutomationStepParams, AutomationStepReport, AutomationSummary, AutomationTestEmailRequest, AutomationTrigger, AutomationTriggerKind, AutomationUpdate, AutomationValidateRequest, AutomationValidation, AutomationWaitReason, AutomationWebhookData, AutomationWithFlow, BEARER_PREFIX, BILLING_NOT_CONFIGURED_REASON, BoundedAutomationFilter, BoundedSegmentFilter, COMPANY_GRANT_ROLES, COMPANY_ROLE_MAX_AGE_HOURS, CONTACT_PROPERTY_TYPES, CatalogPlan, CheckoutRequest, CheckoutSession, CompanyGrantRole, CompanyId, CompileMessage, CompileRequest, CompileResult, ConditionStep, Contact, ContactAutomationListQuery, ContactAutomationRun, ContactBouncedData, ContactErased, ContactListQuery, ContactPropertyDefinition, ContactPropertyKey, ContactPropertyParams, ContactPropertyType, ContactResubscribedData, ContactSubscribedData, ContactTaggedData, ContactUnsubscribedData, ContactUpdatedData, ContactUpsert, ContactUpsertResult, DATE_PASSED_ANSWERS, DEFAULT_INVITE_TTL_DAYS, DEFAULT_PAGE_LIMIT, DOCUMENT_SCHEMA_VERSIONS, DateOnly, DatePassedAnswer, DelayStep, DocumentSchemaVersion, type DraftInsertionProblem, EDITABLE_MAILING_STATUSES, ERROR_CODES, ERROR_STATUS, EXPORT_CONTENT_TYPES, EXPORT_FORMATS, EXPORT_WARNINGS_HEADER, EXPORT_WARNING_COUNT_HEADER, type EditableLanguage, Email, EmailStep, EmailStepLanguage, ErrorBody, type ErrorCode, ErrorCodeSchema, Event, EventCreate, EventListQuery, EventName, ExportFormat, FILTER_FIELD_OPERATORS, FILTER_OPERATORS, FilterCondition, FilterField, type FilterLeafProblem, FilterOperator, GotoStep, HEALTH_PATH, HOSTED_PAGE_LOCALES, type HttpMethod, ICLOUD_SMTP_POLICY, IDEMPOTENCY_KEY_HEADER, IDEMPOTENCY_KEY_MAX_LENGTH, IDEMPOTENCY_KEY_RETENTION_HOURS, IMPORT_FILE_FIELD, IMPORT_ROW_OUTCOMES, IMPORT_SKIP_REASONS, IMPORT_STATUSES, IMPORT_TERMINAL_STATUSES, INSERTION_PROBLEM_REASONS, INSERTION_TEXT_SLOTS, INVITE_REFUSAL_REASONS, INVITE_STATUSES, Id, IdParams, ImportColumnMapping, ImportCommitRequest, ImportFinishedData, ImportJob, ImportMappingRequest, ImportReport, ImportRow, ImportRowListQuery, ImportRowOutcome, ImportSkipReason, ImportStatus, ImportWarning, ImportedAsset, Insertion, InsertionChoice, InsertionChoiceKey, type InsertionChoiceMade, InsertionChoices, type InsertionEdit, InsertionName, type InsertionProblem, type InsertionProblemReason, InsertionText, Insertions, Invite, InviteAccept, InviteAccepted, InviteCreate, InviteCreated, InviteListQuery, type InviteRefusalReason, InviteStatus, JsonValue, LETTER_ONLY_MERGE_FIELDS, LETTER_RECIPIENT_REFUSAL, LIST_UNSUBSCRIBE_POST_VALUE, LOCALE_TAG_PATTERN, type LanguageDrafts, type LanguageTab, LocaleTag, MAILING_ACTIONS, MAILING_KINDS, MAILING_STATUSES, MAILING_TRANSITIONS, MAX_ALLOWED_ASSET_HOSTS, MAX_ASSET_BYTES, MAX_DELAY_SECONDS, MAX_DOCUMENT_BYTES, MAX_ENGAGEMENT_DAYS, MAX_EXPORT_WARNINGS_HEADER_LENGTH, MAX_FILTER_DEPTH, MAX_IMPORTED_REMOTE_IMAGES, MAX_IMPORT_BYTES, MAX_IMPORT_ROWS, MAX_IMPORT_URL_LENGTH, MAX_INSERTIONS, MAX_INSERTION_CHOICES, MAX_INSERTION_TEXT_LENGTH, MAX_INVITE_TTL_DAYS, MAX_IN_LIST, MAX_LETTER_RECIPIENTS, MAX_MERGE_DEFAULTS, MAX_MERGE_DEFAULT_LENGTH, MAX_MJML_DEPTH, MAX_MJML_ELEMENTS, MAX_MJML_IMPORT_BYTES, MAX_PAGE_LIMIT, MAX_PREHEADER_LENGTH, MAX_RECIPIENTS_PER_BATCH, MAX_RE_ENTRY_COOLDOWN_SECONDS, MAX_SAVED_SECTIONS, MAX_SPLIT_BRANCHES, MAX_STEPS, MAX_STEP_VISITS, MAX_SUBJECT_LENGTH, MAX_SYNC_COMPANIES, MAX_TEMPLATE_INPUTS, MAX_TEMPLATE_INPUTS_APP_LENGTH, MAX_TEMPLATE_INPUTS_SEEN, MAX_TEMPLATE_INPUT_EXAMPLE_LENGTH, MAX_TEMPLATE_INPUT_LABEL_LENGTH, MAX_TEMPLATE_INPUT_NOTE_LENGTH, MAX_TEMPLATE_INPUT_VALUES, MAX_TEMPLATE_TRANSLATIONS, MAX_TRIGGERS, MEMBER_ROLES, MEMBER_SOURCES, MERGE_FIELD_PATTERN, MESSAGE_OUTCOMES, MIN_SPLIT_BRANCHES, MJML_IMPORT_REFUSALS, Mailing, MailingAbWinnerSelectedData, MailingAction, MailingActionRequest, MailingAnalytics, MailingAudienceFromSegment, MailingCounts, MailingCreate, MailingExportQuery, MailingFinishedData, MailingKind, MailingLanguage, MailingLanguageReport, MailingLanguageStatus, MailingListQuery, MailingMerge, MailingMetadata, MailingResolveRequest, MailingResolveResult, MailingRetryFailedRequest, MailingScheduleFailedData, MailingScheduleRequest, MailingScheduledData, MailingSendRequest, MailingStartedData, MailingStatus, MailingSummary, MailingTestRequest, MailingTestResult, MailingUpdate, Member, MemberCompanySync, MemberCompanySyncResult, MemberCreate, MemberRole, MemberSource, MemberUpdate, MergeDefaultValue, MergeDefaults, MergeFieldName, type MergeFieldUse, type MergeValue, Message, MessageFailedData, MessageListQuery, MessageOutcome, MessageSentData, MessageSummary, MessageValues, type MissingInsertionText, type MjmlImportRefusal, NAME_ON_BROADCAST_REFUSAL, NotifyRecipients, NotifyStep, ON_BEHALF_OF_HEADER, ON_BEHALF_OF_MAX_LENGTH, OffsetDays, Ok, type OperationId, PLAN_FEATURES, PLAN_IDS, PREVIEW_EMPTY, PREVIEW_FILLED, PROVIDER_KINDS, type Page, PageQuery, type Personalization, type Phase, Plan, type PlanFeature, PlanFeatures, PlanId, PlanLimits, PortalRequest, PortalSession, type PreviewControl, Properties, Provider, ProviderCreate, ProviderEvents, ProviderEventsSecret, ProviderKind, ProviderPolicy, ProviderRejections, ProviderUpdate, ProviderUsage, ProviderVerifyResult, QuietHours, RECIPIENT_REJECTIONS, RECIPIENT_STATUSES, REQUEST_ID_HEADER, RESEND_EVENT_TYPES, RESERVED_MERGE_FIELDS, RESOLVE_PROBLEMS, RESOLVE_REJECTIONS, RETRYABLE_ERRORS, RETRY_AFTER_HEADER, RE_ENTRY_MODES, ReEntryMode, Recipient, RecipientBatch, RecipientBatchResult, RecipientInput, RecipientListQuery, RecipientStatus, RemoteImage, type RenamedPlacement, ResendSigningSecret, type ReservedMergeField, ResolveProblem, ResolvedRecipient, ResolvedValue, type RouteAccess, type RouteBody, type RouteDef, type RouteParams, type RouteQuery, type RouteResponse, type Routes, SERVICE_FILLED_MERGE_FIELDS, SIGNUP_FORM_FIELDS, SKIP_REASONS, SMTP_SECURITY, SUBJECT_HEADER, SUPPRESSION_REASONS, type SaveDemotion, SavedSection, SavedSectionBody, SavedSectionCreate, SavedSectionUpdate, Segment, SegmentCreate, SegmentFilter, SegmentPreview, SegmentPreviewRequest, SignupForm, SignupFormCreate, SignupFormEmbed, SignupFormTranslation, SignupSubmission, SkipReason, Slug, SplitBranchKey, SplitStep, StepId, type StepTarget, Subscription, Suppression, SuppressionCreate, SuppressionListQuery, SuppressionReason, TEMPLATE_INPUT_KINDS, TEMPLATE_INPUT_PROBLEM_REASONS, TEMPLATE_LANGUAGE_STATUSES, TEMPLATE_SORTS, TEMPLATE_SORT_DEFAULT_ORDER, TERMINAL_MAILING_STATUSES, TRANSACTIONAL_BLOCKING_REASONS, TRANSACTIONAL_NEEDS_LETTER_REFUSAL, TRANSACTIONAL_NEEDS_TEMPLATE_LOCALE_REFUSAL, TRANSACTIONAL_NOT_ALLOWED_REFUSAL, TRANSACTIONAL_UNSUBSCRIBE_URL_REFUSAL, TRUSTED_APPS, TRUSTED_APP_OPERATIONS, Tag, TagAssignment, TagCreate, Template, TemplateCompileRequest, TemplateCreate, TemplateCreatedData, TemplateDeleteQuery, TemplateDeletedData, TemplateDocument, TemplateExportQuery, TemplateImport, TemplateImportPreview, TemplateImportPreviewRequest, TemplateImportResult, TemplateInput, type TemplateInputKind, TemplateInputMap, TemplateInputName, type TemplateInputProblem, type TemplateInputProblemReason, TemplateInputSeen, TemplateInputSource, TemplateInputValue, TemplateInputs, TemplateInputsDeclaration, TemplateInputsDeclared, TemplateInputsSeen, TemplateLanguageStatus, TemplateListQuery, TemplatePreheader, type TemplateSort, TemplateSubject, TemplateSummary, TemplateTranslation, TemplateTranslations, TemplateUpdate, TemplateUpdatedData, TemplateVersion, TemplateVersionParams, TimeOfDay, Timestamp, TimezoneName, Topic, TopicCreate, TopicUpdate, TrackingSettings, TranslationInsertion, TranslationInsertions, TrustedApp, UNSUBSCRIBE_PATH_PREFIX, UNSUBSCRIBE_SOURCES, USAGE_METRICS, USAGE_WARNING_HEADER, USAGE_WARNING_RATIO, UnfilledLink, type UnsubscribeToken, type UnsubscribeTokenClaims, Usage, UsageMetric, UsageWarning, type UsageWarningHeaderEntry, VALUE_LAYERS, type ValidationContext, ValidationIssue, ValueLayer, type ValueSources, VariantAnalytics, type VerifyWebhookInput, WEBHOOK_DELIVERY_STATUSES, WEBHOOK_EVENT_ID_HEADER, WEBHOOK_EVENT_TYPES, WEBHOOK_MAX_ATTEMPTS, WEBHOOK_RETRY_DELAYS_SECONDS, WEBHOOK_SECRET_PREFIX, WEBHOOK_SIGNATURE_HEADER, WEBHOOK_SIGNATURE_VERSION, WEBHOOK_TIMESTAMP_HEADER, WEBHOOK_TOLERANCE_SECONDS, WORKSPACE_HEADER, WebhookDelivery, WebhookDeliveryListQuery, WebhookDeliveryParams, WebhookDeliveryStatus, WebhookEndpoint, WebhookEndpointCreate, WebhookEndpointUpdate, WebhookEndpointWithSecret, WebhookEvent, type WebhookEventOf, WebhookEventType, WebhookStep, WebhookUrl, type WebhookVerifyFailure, type WebhookVerifyResult, Weekday, Workspace, WorkspaceCreate, WorkspaceMembership, WorkspaceMove, WorkspaceSettings, WorkspaceUpdate, acceptsIdempotencyKey, addInsertion, addInsertionChoice, addLanguageDraft, alignTranslationInsertions, alwaysWaits, automationFilterFamily, automationRoutes, billingRoutes, buildPath, buildTemplatePatch, canTransition, canonicalLocale, choiceKeyProblem, chooseInsertion, cycles, defaultPreviewPick, defaultSettings, demoteForSave, demotedBySave, describeMissingTexts, draftDocument, draftInsertionProblems, draftsDirty, draftsFromTemplate, draftsPatch, editInsertionText, editLanguageDraft, editMainInsertionText, editMainInsertions, effectivePreviewPicks, emptyFlow, emptyLinkValues, errorBody, escapeMergeHtml, exportFilename, filterConditions, filterDepth, filterFieldFamily, filterLeafProblem, findMergeFields, formatExportWarningsHeader, formatUsageWarningHeader, foundationRoutes, insertionByProblem, insertionChoices, insertionCoverage, insertionInputs, insertionNameProblem, insertionProblems, insertionRefusalHint, insertionSlotLabel, insertionTextSlots, insertionTokens, insertionValue, inviteRoutes, isDayEntirelyPast, isPublishable, isRetryableError, keepLanguageDocument, languageInsertions, languageName, languageTabs, letterOnlyValues, linkTokens, mainInsertionText, matchLocale, matchRoute, missingInsertionTexts, missingRequiredMergeFields, normalizeChoiceKey, nowSeconds, operationsWithAccess, ownEntry, page, parseExportWarningsHeader, parseUsageWarningHeader, personalizeHtml, personalizeText, placementProblems, platformRoutes, previewControls, previewInsertions, previewPersonalization, primaryLanguage, printedFields, rawMergeValue, reachable, readyWithoutInsertions, readyWithoutSubject, rebaseDrafts, removeInsertion, removeInsertionChoice, removeLanguageDraft, renameInsertion, renameInsertionChecked, renameInsertionChoice, renameInsertionChoiceChecked, renameInsertionEverywhere, renameInsertionPlacements, renameTokenInDocument, renameTokenInText, resolveInsertions, resolveValue, restorePatch, routes, sameJson, sampleMergeValue, saveDemotions, sendingRoutes, setInsertionBy, setInsertionFilled, setLanguageStatus, signWebhook, statusForError, stepTargets, storedTemplateLine, stronglyConnected, templateInputDrift, templateInputProblems, templateRoutes, testGroupSize, tightLoops, timingSafeEqualString, translationInsertionProblems, translationTextFromInput, triggerKey, trustedAppMayCall, unknownRefusedInsertions, unplacedInsertions, validateAutomation, valueNames, valuesRead, verifyWebhook };