@marlinjai/mail-contract 0.18.0 → 0.20.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
@@ -500,6 +500,12 @@ declare const WorkspaceCreate: z.ZodObject<{
500
500
  * one, keeps working and simply has no such inheritance.
501
501
  */
502
502
  company_id: z.ZodString;
503
+ /**
504
+ * The person creating the workspace accepts the terms of service and the
505
+ * processing agreement for its company, of this version (required since
506
+ * 0.19.0): the workspace processes recipients' data from its first contact.
507
+ */
508
+ accept_terms: z.ZodLiteral<"2026-10-23">;
503
509
  }, "strip", z.ZodTypeAny, {
504
510
  name: string;
505
511
  slug: string;
@@ -508,6 +514,7 @@ declare const WorkspaceCreate: z.ZodObject<{
508
514
  name?: string | null | undefined;
509
515
  };
510
516
  company_id: string;
517
+ accept_terms: "2026-10-23";
511
518
  settings?: {
512
519
  asset_policy?: "any" | "service_only" | undefined;
513
520
  default_locale?: string | undefined;
@@ -525,6 +532,7 @@ declare const WorkspaceCreate: z.ZodObject<{
525
532
  name?: string | null | undefined;
526
533
  };
527
534
  company_id: string;
535
+ accept_terms: "2026-10-23";
528
536
  settings?: {
529
537
  asset_policy?: "any" | "service_only" | undefined;
530
538
  default_locale?: string | undefined;
@@ -1022,8 +1030,8 @@ declare const ApiKeyCreated: z.ZodObject<{
1022
1030
  };
1023
1031
  }>;
1024
1032
  type ApiKeyCreated = z.infer<typeof ApiKeyCreated>;
1025
- declare const AUDIT_ACTIONS: readonly ["workspace.created", "workspace.updated", "workspace.company_changed", "member.added", "member.role_changed", "member.removed", "member.invited", "invite.revoked", "api_key.created", "api_key.revoked", "provider.created", "provider.updated", "provider.deleted", "provider.events_registered", "provider.events_secret_set", "provider.bounces_halted", "provider.anomaly_cleared", "sending_domain.created", "sending_domain.updated", "sending_domain.checked", "sending_domain.records_written", "sending_domain.deleted", "topic.created", "topic.updated", "topic.deleted", "template.created", "template.updated", "template.deleted", "template.inputs_declared", "saved_section.created", "saved_section.updated", "saved_section.deleted", "asset.uploaded", "asset.imported", "contact.erased", "suppression.created", "suppression.deleted", "mailing.created", "mailing.sent", "mailing.paused", "mailing.resumed", "mailing.cancelled", "mailing.deleted", "mailing.retried", "webhook.created", "webhook.updated", "webhook.deleted", "webhook.secret_rotated", "webhook.redelivered", "contact.unsubscribed", "tag.created", "tag.deleted", "tag.assigned", "tag.unassigned", "contact_property.created", "contact_property.deleted", "segment.created", "segment.updated", "segment.deleted", "signup_form.created", "signup_form.updated", "signup_form.deleted", "contact.subscribed", "import.created", "import.mapped", "import.committed", "import.cancelled", "import.finished", "mailing.scheduled", "mailing.unscheduled", "mailing.schedule_failed", "mailing.ab_test_updated", "mailing.ab_winner_selected", "tracking.updated", "billing.checkout_started", "billing.subscription_changed", "billing.exemption_changed", "billing.extra_sending_domains_changed", "automation.created", "automation.updated", "automation.published", "automation.paused", "automation.resumed", "automation.archived", "automation.deleted", "automation.duplicated", "automation.enrolled", "automation.run_ended", "event.recorded"];
1026
- declare const AuditAction: z.ZodEnum<["workspace.created", "workspace.updated", "workspace.company_changed", "member.added", "member.role_changed", "member.removed", "member.invited", "invite.revoked", "api_key.created", "api_key.revoked", "provider.created", "provider.updated", "provider.deleted", "provider.events_registered", "provider.events_secret_set", "provider.bounces_halted", "provider.anomaly_cleared", "sending_domain.created", "sending_domain.updated", "sending_domain.checked", "sending_domain.records_written", "sending_domain.deleted", "topic.created", "topic.updated", "topic.deleted", "template.created", "template.updated", "template.deleted", "template.inputs_declared", "saved_section.created", "saved_section.updated", "saved_section.deleted", "asset.uploaded", "asset.imported", "contact.erased", "suppression.created", "suppression.deleted", "mailing.created", "mailing.sent", "mailing.paused", "mailing.resumed", "mailing.cancelled", "mailing.deleted", "mailing.retried", "webhook.created", "webhook.updated", "webhook.deleted", "webhook.secret_rotated", "webhook.redelivered", "contact.unsubscribed", "tag.created", "tag.deleted", "tag.assigned", "tag.unassigned", "contact_property.created", "contact_property.deleted", "segment.created", "segment.updated", "segment.deleted", "signup_form.created", "signup_form.updated", "signup_form.deleted", "contact.subscribed", "import.created", "import.mapped", "import.committed", "import.cancelled", "import.finished", "mailing.scheduled", "mailing.unscheduled", "mailing.schedule_failed", "mailing.ab_test_updated", "mailing.ab_winner_selected", "tracking.updated", "billing.checkout_started", "billing.subscription_changed", "billing.exemption_changed", "billing.extra_sending_domains_changed", "automation.created", "automation.updated", "automation.published", "automation.paused", "automation.resumed", "automation.archived", "automation.deleted", "automation.duplicated", "automation.enrolled", "automation.run_ended", "event.recorded"]>;
1033
+ declare const AUDIT_ACTIONS: readonly ["workspace.created", "workspace.updated", "workspace.company_changed", "member.added", "member.role_changed", "member.removed", "member.invited", "invite.revoked", "api_key.created", "api_key.revoked", "provider.created", "provider.updated", "provider.deleted", "provider.events_registered", "provider.events_secret_set", "provider.bounces_halted", "provider.anomaly_cleared", "sending_domain.created", "sending_domain.updated", "sending_domain.checked", "sending_domain.records_written", "sending_domain.deleted", "topic.created", "topic.updated", "topic.deleted", "template.created", "template.updated", "template.deleted", "template.inputs_declared", "saved_section.created", "saved_section.updated", "saved_section.deleted", "asset.uploaded", "asset.imported", "contact.erased", "suppression.created", "suppression.deleted", "mailing.created", "mailing.sent", "mailing.paused", "mailing.resumed", "mailing.cancelled", "mailing.deleted", "mailing.retried", "webhook.created", "webhook.updated", "webhook.deleted", "webhook.secret_rotated", "webhook.redelivered", "contact.unsubscribed", "tag.created", "tag.deleted", "tag.assigned", "tag.unassigned", "contact_property.created", "contact_property.deleted", "segment.created", "segment.updated", "segment.deleted", "signup_form.created", "signup_form.updated", "signup_form.deleted", "contact.subscribed", "import.created", "import.mapped", "import.committed", "import.cancelled", "import.finished", "mailing.scheduled", "mailing.unscheduled", "mailing.schedule_failed", "mailing.ab_test_updated", "mailing.ab_winner_selected", "tracking.updated", "billing.checkout_started", "billing.subscription_changed", "billing.exemption_changed", "billing.extra_sending_domains_changed", "billing.terms_accepted", "automation.created", "automation.updated", "automation.published", "automation.paused", "automation.resumed", "automation.archived", "automation.deleted", "automation.duplicated", "automation.enrolled", "automation.run_ended", "event.recorded"];
1034
+ declare const AuditAction: z.ZodEnum<["workspace.created", "workspace.updated", "workspace.company_changed", "member.added", "member.role_changed", "member.removed", "member.invited", "invite.revoked", "api_key.created", "api_key.revoked", "provider.created", "provider.updated", "provider.deleted", "provider.events_registered", "provider.events_secret_set", "provider.bounces_halted", "provider.anomaly_cleared", "sending_domain.created", "sending_domain.updated", "sending_domain.checked", "sending_domain.records_written", "sending_domain.deleted", "topic.created", "topic.updated", "topic.deleted", "template.created", "template.updated", "template.deleted", "template.inputs_declared", "saved_section.created", "saved_section.updated", "saved_section.deleted", "asset.uploaded", "asset.imported", "contact.erased", "suppression.created", "suppression.deleted", "mailing.created", "mailing.sent", "mailing.paused", "mailing.resumed", "mailing.cancelled", "mailing.deleted", "mailing.retried", "webhook.created", "webhook.updated", "webhook.deleted", "webhook.secret_rotated", "webhook.redelivered", "contact.unsubscribed", "tag.created", "tag.deleted", "tag.assigned", "tag.unassigned", "contact_property.created", "contact_property.deleted", "segment.created", "segment.updated", "segment.deleted", "signup_form.created", "signup_form.updated", "signup_form.deleted", "contact.subscribed", "import.created", "import.mapped", "import.committed", "import.cancelled", "import.finished", "mailing.scheduled", "mailing.unscheduled", "mailing.schedule_failed", "mailing.ab_test_updated", "mailing.ab_winner_selected", "tracking.updated", "billing.checkout_started", "billing.subscription_changed", "billing.exemption_changed", "billing.extra_sending_domains_changed", "billing.terms_accepted", "automation.created", "automation.updated", "automation.published", "automation.paused", "automation.resumed", "automation.archived", "automation.deleted", "automation.duplicated", "automation.enrolled", "automation.run_ended", "event.recorded"]>;
1027
1035
  type AuditAction = z.infer<typeof AuditAction>;
1028
1036
  /**
1029
1037
  * The applications, besides the dashboard, that may act for a signed-in person:
@@ -1090,7 +1098,7 @@ declare const AuditActor: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1090
1098
  type AuditActor = z.infer<typeof AuditActor>;
1091
1099
  declare const AuditEntry: z.ZodObject<{
1092
1100
  id: z.ZodString;
1093
- action: z.ZodEnum<["workspace.created", "workspace.updated", "workspace.company_changed", "member.added", "member.role_changed", "member.removed", "member.invited", "invite.revoked", "api_key.created", "api_key.revoked", "provider.created", "provider.updated", "provider.deleted", "provider.events_registered", "provider.events_secret_set", "provider.bounces_halted", "provider.anomaly_cleared", "sending_domain.created", "sending_domain.updated", "sending_domain.checked", "sending_domain.records_written", "sending_domain.deleted", "topic.created", "topic.updated", "topic.deleted", "template.created", "template.updated", "template.deleted", "template.inputs_declared", "saved_section.created", "saved_section.updated", "saved_section.deleted", "asset.uploaded", "asset.imported", "contact.erased", "suppression.created", "suppression.deleted", "mailing.created", "mailing.sent", "mailing.paused", "mailing.resumed", "mailing.cancelled", "mailing.deleted", "mailing.retried", "webhook.created", "webhook.updated", "webhook.deleted", "webhook.secret_rotated", "webhook.redelivered", "contact.unsubscribed", "tag.created", "tag.deleted", "tag.assigned", "tag.unassigned", "contact_property.created", "contact_property.deleted", "segment.created", "segment.updated", "segment.deleted", "signup_form.created", "signup_form.updated", "signup_form.deleted", "contact.subscribed", "import.created", "import.mapped", "import.committed", "import.cancelled", "import.finished", "mailing.scheduled", "mailing.unscheduled", "mailing.schedule_failed", "mailing.ab_test_updated", "mailing.ab_winner_selected", "tracking.updated", "billing.checkout_started", "billing.subscription_changed", "billing.exemption_changed", "billing.extra_sending_domains_changed", "automation.created", "automation.updated", "automation.published", "automation.paused", "automation.resumed", "automation.archived", "automation.deleted", "automation.duplicated", "automation.enrolled", "automation.run_ended", "event.recorded"]>;
1101
+ action: z.ZodEnum<["workspace.created", "workspace.updated", "workspace.company_changed", "member.added", "member.role_changed", "member.removed", "member.invited", "invite.revoked", "api_key.created", "api_key.revoked", "provider.created", "provider.updated", "provider.deleted", "provider.events_registered", "provider.events_secret_set", "provider.bounces_halted", "provider.anomaly_cleared", "sending_domain.created", "sending_domain.updated", "sending_domain.checked", "sending_domain.records_written", "sending_domain.deleted", "topic.created", "topic.updated", "topic.deleted", "template.created", "template.updated", "template.deleted", "template.inputs_declared", "saved_section.created", "saved_section.updated", "saved_section.deleted", "asset.uploaded", "asset.imported", "contact.erased", "suppression.created", "suppression.deleted", "mailing.created", "mailing.sent", "mailing.paused", "mailing.resumed", "mailing.cancelled", "mailing.deleted", "mailing.retried", "webhook.created", "webhook.updated", "webhook.deleted", "webhook.secret_rotated", "webhook.redelivered", "contact.unsubscribed", "tag.created", "tag.deleted", "tag.assigned", "tag.unassigned", "contact_property.created", "contact_property.deleted", "segment.created", "segment.updated", "segment.deleted", "signup_form.created", "signup_form.updated", "signup_form.deleted", "contact.subscribed", "import.created", "import.mapped", "import.committed", "import.cancelled", "import.finished", "mailing.scheduled", "mailing.unscheduled", "mailing.schedule_failed", "mailing.ab_test_updated", "mailing.ab_winner_selected", "tracking.updated", "billing.checkout_started", "billing.subscription_changed", "billing.exemption_changed", "billing.extra_sending_domains_changed", "billing.terms_accepted", "automation.created", "automation.updated", "automation.published", "automation.paused", "automation.resumed", "automation.archived", "automation.deleted", "automation.duplicated", "automation.enrolled", "automation.run_ended", "event.recorded"]>;
1094
1102
  actor: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1095
1103
  type: z.ZodLiteral<"member">;
1096
1104
  member_id: z.ZodString;
@@ -1146,7 +1154,7 @@ declare const AuditEntry: z.ZodObject<{
1146
1154
  id: string;
1147
1155
  details: Record<string, unknown>;
1148
1156
  created_at: string;
1149
- action: "workspace.created" | "workspace.updated" | "workspace.company_changed" | "member.added" | "member.role_changed" | "member.removed" | "member.invited" | "invite.revoked" | "api_key.created" | "api_key.revoked" | "provider.created" | "provider.updated" | "provider.deleted" | "provider.events_registered" | "provider.events_secret_set" | "provider.bounces_halted" | "provider.anomaly_cleared" | "sending_domain.created" | "sending_domain.updated" | "sending_domain.checked" | "sending_domain.records_written" | "sending_domain.deleted" | "topic.created" | "topic.updated" | "topic.deleted" | "template.created" | "template.updated" | "template.deleted" | "template.inputs_declared" | "saved_section.created" | "saved_section.updated" | "saved_section.deleted" | "asset.uploaded" | "asset.imported" | "contact.erased" | "suppression.created" | "suppression.deleted" | "mailing.created" | "mailing.sent" | "mailing.paused" | "mailing.resumed" | "mailing.cancelled" | "mailing.deleted" | "mailing.retried" | "webhook.created" | "webhook.updated" | "webhook.deleted" | "webhook.secret_rotated" | "webhook.redelivered" | "contact.unsubscribed" | "tag.created" | "tag.deleted" | "tag.assigned" | "tag.unassigned" | "contact_property.created" | "contact_property.deleted" | "segment.created" | "segment.updated" | "segment.deleted" | "signup_form.created" | "signup_form.updated" | "signup_form.deleted" | "contact.subscribed" | "import.created" | "import.mapped" | "import.committed" | "import.cancelled" | "import.finished" | "mailing.scheduled" | "mailing.unscheduled" | "mailing.schedule_failed" | "mailing.ab_test_updated" | "mailing.ab_winner_selected" | "tracking.updated" | "billing.checkout_started" | "billing.subscription_changed" | "billing.exemption_changed" | "billing.extra_sending_domains_changed" | "automation.created" | "automation.updated" | "automation.published" | "automation.paused" | "automation.resumed" | "automation.archived" | "automation.deleted" | "automation.duplicated" | "automation.enrolled" | "automation.run_ended" | "event.recorded";
1157
+ action: "workspace.created" | "workspace.updated" | "workspace.company_changed" | "member.added" | "member.role_changed" | "member.removed" | "member.invited" | "invite.revoked" | "api_key.created" | "api_key.revoked" | "provider.created" | "provider.updated" | "provider.deleted" | "provider.events_registered" | "provider.events_secret_set" | "provider.bounces_halted" | "provider.anomaly_cleared" | "sending_domain.created" | "sending_domain.updated" | "sending_domain.checked" | "sending_domain.records_written" | "sending_domain.deleted" | "topic.created" | "topic.updated" | "topic.deleted" | "template.created" | "template.updated" | "template.deleted" | "template.inputs_declared" | "saved_section.created" | "saved_section.updated" | "saved_section.deleted" | "asset.uploaded" | "asset.imported" | "contact.erased" | "suppression.created" | "suppression.deleted" | "mailing.created" | "mailing.sent" | "mailing.paused" | "mailing.resumed" | "mailing.cancelled" | "mailing.deleted" | "mailing.retried" | "webhook.created" | "webhook.updated" | "webhook.deleted" | "webhook.secret_rotated" | "webhook.redelivered" | "contact.unsubscribed" | "tag.created" | "tag.deleted" | "tag.assigned" | "tag.unassigned" | "contact_property.created" | "contact_property.deleted" | "segment.created" | "segment.updated" | "segment.deleted" | "signup_form.created" | "signup_form.updated" | "signup_form.deleted" | "contact.subscribed" | "import.created" | "import.mapped" | "import.committed" | "import.cancelled" | "import.finished" | "mailing.scheduled" | "mailing.unscheduled" | "mailing.schedule_failed" | "mailing.ab_test_updated" | "mailing.ab_winner_selected" | "tracking.updated" | "billing.checkout_started" | "billing.subscription_changed" | "billing.exemption_changed" | "billing.extra_sending_domains_changed" | "billing.terms_accepted" | "automation.created" | "automation.updated" | "automation.published" | "automation.paused" | "automation.resumed" | "automation.archived" | "automation.deleted" | "automation.duplicated" | "automation.enrolled" | "automation.run_ended" | "event.recorded";
1150
1158
  actor: {
1151
1159
  type: "member";
1152
1160
  subject: string;
@@ -1166,7 +1174,7 @@ declare const AuditEntry: z.ZodObject<{
1166
1174
  id: string;
1167
1175
  details: Record<string, unknown>;
1168
1176
  created_at: string;
1169
- action: "workspace.created" | "workspace.updated" | "workspace.company_changed" | "member.added" | "member.role_changed" | "member.removed" | "member.invited" | "invite.revoked" | "api_key.created" | "api_key.revoked" | "provider.created" | "provider.updated" | "provider.deleted" | "provider.events_registered" | "provider.events_secret_set" | "provider.bounces_halted" | "provider.anomaly_cleared" | "sending_domain.created" | "sending_domain.updated" | "sending_domain.checked" | "sending_domain.records_written" | "sending_domain.deleted" | "topic.created" | "topic.updated" | "topic.deleted" | "template.created" | "template.updated" | "template.deleted" | "template.inputs_declared" | "saved_section.created" | "saved_section.updated" | "saved_section.deleted" | "asset.uploaded" | "asset.imported" | "contact.erased" | "suppression.created" | "suppression.deleted" | "mailing.created" | "mailing.sent" | "mailing.paused" | "mailing.resumed" | "mailing.cancelled" | "mailing.deleted" | "mailing.retried" | "webhook.created" | "webhook.updated" | "webhook.deleted" | "webhook.secret_rotated" | "webhook.redelivered" | "contact.unsubscribed" | "tag.created" | "tag.deleted" | "tag.assigned" | "tag.unassigned" | "contact_property.created" | "contact_property.deleted" | "segment.created" | "segment.updated" | "segment.deleted" | "signup_form.created" | "signup_form.updated" | "signup_form.deleted" | "contact.subscribed" | "import.created" | "import.mapped" | "import.committed" | "import.cancelled" | "import.finished" | "mailing.scheduled" | "mailing.unscheduled" | "mailing.schedule_failed" | "mailing.ab_test_updated" | "mailing.ab_winner_selected" | "tracking.updated" | "billing.checkout_started" | "billing.subscription_changed" | "billing.exemption_changed" | "billing.extra_sending_domains_changed" | "automation.created" | "automation.updated" | "automation.published" | "automation.paused" | "automation.resumed" | "automation.archived" | "automation.deleted" | "automation.duplicated" | "automation.enrolled" | "automation.run_ended" | "event.recorded";
1177
+ action: "workspace.created" | "workspace.updated" | "workspace.company_changed" | "member.added" | "member.role_changed" | "member.removed" | "member.invited" | "invite.revoked" | "api_key.created" | "api_key.revoked" | "provider.created" | "provider.updated" | "provider.deleted" | "provider.events_registered" | "provider.events_secret_set" | "provider.bounces_halted" | "provider.anomaly_cleared" | "sending_domain.created" | "sending_domain.updated" | "sending_domain.checked" | "sending_domain.records_written" | "sending_domain.deleted" | "topic.created" | "topic.updated" | "topic.deleted" | "template.created" | "template.updated" | "template.deleted" | "template.inputs_declared" | "saved_section.created" | "saved_section.updated" | "saved_section.deleted" | "asset.uploaded" | "asset.imported" | "contact.erased" | "suppression.created" | "suppression.deleted" | "mailing.created" | "mailing.sent" | "mailing.paused" | "mailing.resumed" | "mailing.cancelled" | "mailing.deleted" | "mailing.retried" | "webhook.created" | "webhook.updated" | "webhook.deleted" | "webhook.secret_rotated" | "webhook.redelivered" | "contact.unsubscribed" | "tag.created" | "tag.deleted" | "tag.assigned" | "tag.unassigned" | "contact_property.created" | "contact_property.deleted" | "segment.created" | "segment.updated" | "segment.deleted" | "signup_form.created" | "signup_form.updated" | "signup_form.deleted" | "contact.subscribed" | "import.created" | "import.mapped" | "import.committed" | "import.cancelled" | "import.finished" | "mailing.scheduled" | "mailing.unscheduled" | "mailing.schedule_failed" | "mailing.ab_test_updated" | "mailing.ab_winner_selected" | "tracking.updated" | "billing.checkout_started" | "billing.subscription_changed" | "billing.exemption_changed" | "billing.extra_sending_domains_changed" | "billing.terms_accepted" | "automation.created" | "automation.updated" | "automation.published" | "automation.paused" | "automation.resumed" | "automation.archived" | "automation.deleted" | "automation.duplicated" | "automation.enrolled" | "automation.run_ended" | "event.recorded";
1170
1178
  actor: {
1171
1179
  type: "member";
1172
1180
  subject: string;
@@ -1188,17 +1196,17 @@ declare const AuditQuery: z.ZodObject<{
1188
1196
  cursor: z.ZodOptional<z.ZodString>;
1189
1197
  limit: z.ZodOptional<z.ZodNumber>;
1190
1198
  } & {
1191
- action: z.ZodOptional<z.ZodEnum<["workspace.created", "workspace.updated", "workspace.company_changed", "member.added", "member.role_changed", "member.removed", "member.invited", "invite.revoked", "api_key.created", "api_key.revoked", "provider.created", "provider.updated", "provider.deleted", "provider.events_registered", "provider.events_secret_set", "provider.bounces_halted", "provider.anomaly_cleared", "sending_domain.created", "sending_domain.updated", "sending_domain.checked", "sending_domain.records_written", "sending_domain.deleted", "topic.created", "topic.updated", "topic.deleted", "template.created", "template.updated", "template.deleted", "template.inputs_declared", "saved_section.created", "saved_section.updated", "saved_section.deleted", "asset.uploaded", "asset.imported", "contact.erased", "suppression.created", "suppression.deleted", "mailing.created", "mailing.sent", "mailing.paused", "mailing.resumed", "mailing.cancelled", "mailing.deleted", "mailing.retried", "webhook.created", "webhook.updated", "webhook.deleted", "webhook.secret_rotated", "webhook.redelivered", "contact.unsubscribed", "tag.created", "tag.deleted", "tag.assigned", "tag.unassigned", "contact_property.created", "contact_property.deleted", "segment.created", "segment.updated", "segment.deleted", "signup_form.created", "signup_form.updated", "signup_form.deleted", "contact.subscribed", "import.created", "import.mapped", "import.committed", "import.cancelled", "import.finished", "mailing.scheduled", "mailing.unscheduled", "mailing.schedule_failed", "mailing.ab_test_updated", "mailing.ab_winner_selected", "tracking.updated", "billing.checkout_started", "billing.subscription_changed", "billing.exemption_changed", "billing.extra_sending_domains_changed", "automation.created", "automation.updated", "automation.published", "automation.paused", "automation.resumed", "automation.archived", "automation.deleted", "automation.duplicated", "automation.enrolled", "automation.run_ended", "event.recorded"]>>;
1199
+ action: z.ZodOptional<z.ZodEnum<["workspace.created", "workspace.updated", "workspace.company_changed", "member.added", "member.role_changed", "member.removed", "member.invited", "invite.revoked", "api_key.created", "api_key.revoked", "provider.created", "provider.updated", "provider.deleted", "provider.events_registered", "provider.events_secret_set", "provider.bounces_halted", "provider.anomaly_cleared", "sending_domain.created", "sending_domain.updated", "sending_domain.checked", "sending_domain.records_written", "sending_domain.deleted", "topic.created", "topic.updated", "topic.deleted", "template.created", "template.updated", "template.deleted", "template.inputs_declared", "saved_section.created", "saved_section.updated", "saved_section.deleted", "asset.uploaded", "asset.imported", "contact.erased", "suppression.created", "suppression.deleted", "mailing.created", "mailing.sent", "mailing.paused", "mailing.resumed", "mailing.cancelled", "mailing.deleted", "mailing.retried", "webhook.created", "webhook.updated", "webhook.deleted", "webhook.secret_rotated", "webhook.redelivered", "contact.unsubscribed", "tag.created", "tag.deleted", "tag.assigned", "tag.unassigned", "contact_property.created", "contact_property.deleted", "segment.created", "segment.updated", "segment.deleted", "signup_form.created", "signup_form.updated", "signup_form.deleted", "contact.subscribed", "import.created", "import.mapped", "import.committed", "import.cancelled", "import.finished", "mailing.scheduled", "mailing.unscheduled", "mailing.schedule_failed", "mailing.ab_test_updated", "mailing.ab_winner_selected", "tracking.updated", "billing.checkout_started", "billing.subscription_changed", "billing.exemption_changed", "billing.extra_sending_domains_changed", "billing.terms_accepted", "automation.created", "automation.updated", "automation.published", "automation.paused", "automation.resumed", "automation.archived", "automation.deleted", "automation.duplicated", "automation.enrolled", "automation.run_ended", "event.recorded"]>>;
1192
1200
  target_id: z.ZodOptional<z.ZodString>;
1193
1201
  }, "strip", z.ZodTypeAny, {
1194
1202
  cursor?: string | undefined;
1195
1203
  limit?: number | undefined;
1196
- action?: "workspace.created" | "workspace.updated" | "workspace.company_changed" | "member.added" | "member.role_changed" | "member.removed" | "member.invited" | "invite.revoked" | "api_key.created" | "api_key.revoked" | "provider.created" | "provider.updated" | "provider.deleted" | "provider.events_registered" | "provider.events_secret_set" | "provider.bounces_halted" | "provider.anomaly_cleared" | "sending_domain.created" | "sending_domain.updated" | "sending_domain.checked" | "sending_domain.records_written" | "sending_domain.deleted" | "topic.created" | "topic.updated" | "topic.deleted" | "template.created" | "template.updated" | "template.deleted" | "template.inputs_declared" | "saved_section.created" | "saved_section.updated" | "saved_section.deleted" | "asset.uploaded" | "asset.imported" | "contact.erased" | "suppression.created" | "suppression.deleted" | "mailing.created" | "mailing.sent" | "mailing.paused" | "mailing.resumed" | "mailing.cancelled" | "mailing.deleted" | "mailing.retried" | "webhook.created" | "webhook.updated" | "webhook.deleted" | "webhook.secret_rotated" | "webhook.redelivered" | "contact.unsubscribed" | "tag.created" | "tag.deleted" | "tag.assigned" | "tag.unassigned" | "contact_property.created" | "contact_property.deleted" | "segment.created" | "segment.updated" | "segment.deleted" | "signup_form.created" | "signup_form.updated" | "signup_form.deleted" | "contact.subscribed" | "import.created" | "import.mapped" | "import.committed" | "import.cancelled" | "import.finished" | "mailing.scheduled" | "mailing.unscheduled" | "mailing.schedule_failed" | "mailing.ab_test_updated" | "mailing.ab_winner_selected" | "tracking.updated" | "billing.checkout_started" | "billing.subscription_changed" | "billing.exemption_changed" | "billing.extra_sending_domains_changed" | "automation.created" | "automation.updated" | "automation.published" | "automation.paused" | "automation.resumed" | "automation.archived" | "automation.deleted" | "automation.duplicated" | "automation.enrolled" | "automation.run_ended" | "event.recorded" | undefined;
1204
+ action?: "workspace.created" | "workspace.updated" | "workspace.company_changed" | "member.added" | "member.role_changed" | "member.removed" | "member.invited" | "invite.revoked" | "api_key.created" | "api_key.revoked" | "provider.created" | "provider.updated" | "provider.deleted" | "provider.events_registered" | "provider.events_secret_set" | "provider.bounces_halted" | "provider.anomaly_cleared" | "sending_domain.created" | "sending_domain.updated" | "sending_domain.checked" | "sending_domain.records_written" | "sending_domain.deleted" | "topic.created" | "topic.updated" | "topic.deleted" | "template.created" | "template.updated" | "template.deleted" | "template.inputs_declared" | "saved_section.created" | "saved_section.updated" | "saved_section.deleted" | "asset.uploaded" | "asset.imported" | "contact.erased" | "suppression.created" | "suppression.deleted" | "mailing.created" | "mailing.sent" | "mailing.paused" | "mailing.resumed" | "mailing.cancelled" | "mailing.deleted" | "mailing.retried" | "webhook.created" | "webhook.updated" | "webhook.deleted" | "webhook.secret_rotated" | "webhook.redelivered" | "contact.unsubscribed" | "tag.created" | "tag.deleted" | "tag.assigned" | "tag.unassigned" | "contact_property.created" | "contact_property.deleted" | "segment.created" | "segment.updated" | "segment.deleted" | "signup_form.created" | "signup_form.updated" | "signup_form.deleted" | "contact.subscribed" | "import.created" | "import.mapped" | "import.committed" | "import.cancelled" | "import.finished" | "mailing.scheduled" | "mailing.unscheduled" | "mailing.schedule_failed" | "mailing.ab_test_updated" | "mailing.ab_winner_selected" | "tracking.updated" | "billing.checkout_started" | "billing.subscription_changed" | "billing.exemption_changed" | "billing.extra_sending_domains_changed" | "billing.terms_accepted" | "automation.created" | "automation.updated" | "automation.published" | "automation.paused" | "automation.resumed" | "automation.archived" | "automation.deleted" | "automation.duplicated" | "automation.enrolled" | "automation.run_ended" | "event.recorded" | undefined;
1197
1205
  target_id?: string | undefined;
1198
1206
  }, {
1199
1207
  cursor?: string | undefined;
1200
1208
  limit?: number | undefined;
1201
- action?: "workspace.created" | "workspace.updated" | "workspace.company_changed" | "member.added" | "member.role_changed" | "member.removed" | "member.invited" | "invite.revoked" | "api_key.created" | "api_key.revoked" | "provider.created" | "provider.updated" | "provider.deleted" | "provider.events_registered" | "provider.events_secret_set" | "provider.bounces_halted" | "provider.anomaly_cleared" | "sending_domain.created" | "sending_domain.updated" | "sending_domain.checked" | "sending_domain.records_written" | "sending_domain.deleted" | "topic.created" | "topic.updated" | "topic.deleted" | "template.created" | "template.updated" | "template.deleted" | "template.inputs_declared" | "saved_section.created" | "saved_section.updated" | "saved_section.deleted" | "asset.uploaded" | "asset.imported" | "contact.erased" | "suppression.created" | "suppression.deleted" | "mailing.created" | "mailing.sent" | "mailing.paused" | "mailing.resumed" | "mailing.cancelled" | "mailing.deleted" | "mailing.retried" | "webhook.created" | "webhook.updated" | "webhook.deleted" | "webhook.secret_rotated" | "webhook.redelivered" | "contact.unsubscribed" | "tag.created" | "tag.deleted" | "tag.assigned" | "tag.unassigned" | "contact_property.created" | "contact_property.deleted" | "segment.created" | "segment.updated" | "segment.deleted" | "signup_form.created" | "signup_form.updated" | "signup_form.deleted" | "contact.subscribed" | "import.created" | "import.mapped" | "import.committed" | "import.cancelled" | "import.finished" | "mailing.scheduled" | "mailing.unscheduled" | "mailing.schedule_failed" | "mailing.ab_test_updated" | "mailing.ab_winner_selected" | "tracking.updated" | "billing.checkout_started" | "billing.subscription_changed" | "billing.exemption_changed" | "billing.extra_sending_domains_changed" | "automation.created" | "automation.updated" | "automation.published" | "automation.paused" | "automation.resumed" | "automation.archived" | "automation.deleted" | "automation.duplicated" | "automation.enrolled" | "automation.run_ended" | "event.recorded" | undefined;
1209
+ action?: "workspace.created" | "workspace.updated" | "workspace.company_changed" | "member.added" | "member.role_changed" | "member.removed" | "member.invited" | "invite.revoked" | "api_key.created" | "api_key.revoked" | "provider.created" | "provider.updated" | "provider.deleted" | "provider.events_registered" | "provider.events_secret_set" | "provider.bounces_halted" | "provider.anomaly_cleared" | "sending_domain.created" | "sending_domain.updated" | "sending_domain.checked" | "sending_domain.records_written" | "sending_domain.deleted" | "topic.created" | "topic.updated" | "topic.deleted" | "template.created" | "template.updated" | "template.deleted" | "template.inputs_declared" | "saved_section.created" | "saved_section.updated" | "saved_section.deleted" | "asset.uploaded" | "asset.imported" | "contact.erased" | "suppression.created" | "suppression.deleted" | "mailing.created" | "mailing.sent" | "mailing.paused" | "mailing.resumed" | "mailing.cancelled" | "mailing.deleted" | "mailing.retried" | "webhook.created" | "webhook.updated" | "webhook.deleted" | "webhook.secret_rotated" | "webhook.redelivered" | "contact.unsubscribed" | "tag.created" | "tag.deleted" | "tag.assigned" | "tag.unassigned" | "contact_property.created" | "contact_property.deleted" | "segment.created" | "segment.updated" | "segment.deleted" | "signup_form.created" | "signup_form.updated" | "signup_form.deleted" | "contact.subscribed" | "import.created" | "import.mapped" | "import.committed" | "import.cancelled" | "import.finished" | "mailing.scheduled" | "mailing.unscheduled" | "mailing.schedule_failed" | "mailing.ab_test_updated" | "mailing.ab_winner_selected" | "tracking.updated" | "billing.checkout_started" | "billing.subscription_changed" | "billing.exemption_changed" | "billing.extra_sending_domains_changed" | "billing.terms_accepted" | "automation.created" | "automation.updated" | "automation.published" | "automation.paused" | "automation.resumed" | "automation.archived" | "automation.deleted" | "automation.duplicated" | "automation.enrolled" | "automation.run_ended" | "event.recorded" | undefined;
1202
1210
  target_id?: string | undefined;
1203
1211
  }>;
1204
1212
  type AuditQuery = z.infer<typeof AuditQuery>;
@@ -29199,6 +29207,23 @@ type UsageWarning = z.infer<typeof UsageWarning>;
29199
29207
  * `messages` counts recipients handed to a provider in the period (tests
29200
29208
  * included), from the service's send ledger. The other metrics are counts now.
29201
29209
  */
29210
+ /**
29211
+ * Which version of the terms of service and processing agreement the
29212
+ * workspace accepted (null: none yet, a workspace created before they
29213
+ * existed) and which is current. They differ until an owner or admin
29214
+ * accepts the current one (`billing.acceptTerms`); the dashboard asks.
29215
+ */
29216
+ declare const TermsStatus: z.ZodObject<{
29217
+ accepted_version: z.ZodNullable<z.ZodString>;
29218
+ current_version: z.ZodString;
29219
+ }, "strip", z.ZodTypeAny, {
29220
+ accepted_version: string | null;
29221
+ current_version: string;
29222
+ }, {
29223
+ accepted_version: string | null;
29224
+ current_version: string;
29225
+ }>;
29226
+ type TermsStatus = z.infer<typeof TermsStatus>;
29202
29227
  declare const Usage: z.ZodObject<{
29203
29228
  plan: z.ZodEnum<["free", "starter", "growth", "design_partner"]>;
29204
29229
  period_start: z.ZodString;
@@ -29230,6 +29255,16 @@ declare const Usage: z.ZodObject<{
29230
29255
  used: number;
29231
29256
  level: "reached" | "approaching";
29232
29257
  }>, "many">;
29258
+ terms: z.ZodObject<{
29259
+ accepted_version: z.ZodNullable<z.ZodString>;
29260
+ current_version: z.ZodString;
29261
+ }, "strip", z.ZodTypeAny, {
29262
+ accepted_version: string | null;
29263
+ current_version: string;
29264
+ }, {
29265
+ accepted_version: string | null;
29266
+ current_version: string;
29267
+ }>;
29233
29268
  }, "strip", z.ZodTypeAny, {
29234
29269
  warnings: {
29235
29270
  limit: number;
@@ -29244,6 +29279,10 @@ declare const Usage: z.ZodObject<{
29244
29279
  limit: number | null;
29245
29280
  used: number;
29246
29281
  }>>;
29282
+ terms: {
29283
+ accepted_version: string | null;
29284
+ current_version: string;
29285
+ };
29247
29286
  }, {
29248
29287
  warnings: {
29249
29288
  limit: number;
@@ -29258,17 +29297,34 @@ declare const Usage: z.ZodObject<{
29258
29297
  limit: number | null;
29259
29298
  used: number;
29260
29299
  }>>;
29300
+ terms: {
29301
+ accepted_version: string | null;
29302
+ current_version: string;
29303
+ };
29261
29304
  }>;
29262
29305
  type Usage = z.infer<typeof Usage>;
29306
+ /** An owner or admin accepts the current terms of service and processing agreement for the workspace. */
29307
+ declare const TermsAcceptance: z.ZodObject<{
29308
+ accept_terms: z.ZodLiteral<"2026-10-23">;
29309
+ }, "strip", z.ZodTypeAny, {
29310
+ accept_terms: "2026-10-23";
29311
+ }, {
29312
+ accept_terms: "2026-10-23";
29313
+ }>;
29314
+ type TermsAcceptance = z.infer<typeof TermsAcceptance>;
29263
29315
  declare const CheckoutRequest: z.ZodObject<{
29264
29316
  plan: z.ZodEnum<["starter", "growth"]>;
29265
29317
  success_url: z.ZodString;
29266
29318
  cancel_url: z.ZodString;
29319
+ /** The buyer accepted the terms of service and the processing agreement of this version. */
29320
+ accept_terms: z.ZodLiteral<"2026-10-23">;
29267
29321
  }, "strip", z.ZodTypeAny, {
29322
+ accept_terms: "2026-10-23";
29268
29323
  plan: "starter" | "growth";
29269
29324
  success_url: string;
29270
29325
  cancel_url: string;
29271
29326
  }, {
29327
+ accept_terms: "2026-10-23";
29272
29328
  plan: "starter" | "growth";
29273
29329
  success_url: string;
29274
29330
  cancel_url: string;
@@ -29320,6 +29376,18 @@ declare function formatUsageWarningHeader(warnings: ReadonlyArray<Pick<UsageWarn
29320
29376
  */
29321
29377
  declare function parseUsageWarningHeader(value: string | null | undefined): UsageWarningHeaderEntry[];
29322
29378
 
29379
+ /**
29380
+ * The version (the day they last changed) of Lumitra Mail's terms of service
29381
+ * and processing agreement, published at mail.lumitra.co/terms and
29382
+ * /processing-agreement. Creating a workspace and starting a checkout each
29383
+ * carry the version the person accepted; one that names another version is
29384
+ * refused, so a change of the texts moves this and the next person accepts the
29385
+ * new one.
29386
+ */
29387
+ declare const LEGAL_TERMS_VERSION = "2026-10-23";
29388
+ /** `accept_terms`: the person accepted the terms of service and the processing agreement of the current version. */
29389
+ declare const AcceptTerms: z.ZodLiteral<"2026-10-23">;
29390
+
29323
29391
  type HttpMethod = 'GET' | 'POST' | 'PUT' | 'PATCH' | 'DELETE';
29324
29392
  /**
29325
29393
  * What a caller needs for a route.
@@ -29413,6 +29481,7 @@ declare const foundationRoutes: {
29413
29481
  name?: string | null | undefined;
29414
29482
  }>;
29415
29483
  company_id: z.ZodString;
29484
+ accept_terms: z.ZodLiteral<"2026-10-23">;
29416
29485
  }, "strip", z.ZodTypeAny, {
29417
29486
  name: string;
29418
29487
  slug: string;
@@ -29421,6 +29490,7 @@ declare const foundationRoutes: {
29421
29490
  name?: string | null | undefined;
29422
29491
  };
29423
29492
  company_id: string;
29493
+ accept_terms: "2026-10-23";
29424
29494
  settings?: {
29425
29495
  asset_policy?: "any" | "service_only" | undefined;
29426
29496
  default_locale?: string | undefined;
@@ -29438,6 +29508,7 @@ declare const foundationRoutes: {
29438
29508
  name?: string | null | undefined;
29439
29509
  };
29440
29510
  company_id: string;
29511
+ accept_terms: "2026-10-23";
29441
29512
  settings?: {
29442
29513
  asset_policy?: "any" | "service_only" | undefined;
29443
29514
  default_locale?: string | undefined;
@@ -30415,23 +30486,23 @@ declare const foundationRoutes: {
30415
30486
  cursor: z.ZodOptional<z.ZodString>;
30416
30487
  limit: z.ZodOptional<z.ZodNumber>;
30417
30488
  } & {
30418
- action: z.ZodOptional<z.ZodEnum<["workspace.created", "workspace.updated", "workspace.company_changed", "member.added", "member.role_changed", "member.removed", "member.invited", "invite.revoked", "api_key.created", "api_key.revoked", "provider.created", "provider.updated", "provider.deleted", "provider.events_registered", "provider.events_secret_set", "provider.bounces_halted", "provider.anomaly_cleared", "sending_domain.created", "sending_domain.updated", "sending_domain.checked", "sending_domain.records_written", "sending_domain.deleted", "topic.created", "topic.updated", "topic.deleted", "template.created", "template.updated", "template.deleted", "template.inputs_declared", "saved_section.created", "saved_section.updated", "saved_section.deleted", "asset.uploaded", "asset.imported", "contact.erased", "suppression.created", "suppression.deleted", "mailing.created", "mailing.sent", "mailing.paused", "mailing.resumed", "mailing.cancelled", "mailing.deleted", "mailing.retried", "webhook.created", "webhook.updated", "webhook.deleted", "webhook.secret_rotated", "webhook.redelivered", "contact.unsubscribed", "tag.created", "tag.deleted", "tag.assigned", "tag.unassigned", "contact_property.created", "contact_property.deleted", "segment.created", "segment.updated", "segment.deleted", "signup_form.created", "signup_form.updated", "signup_form.deleted", "contact.subscribed", "import.created", "import.mapped", "import.committed", "import.cancelled", "import.finished", "mailing.scheduled", "mailing.unscheduled", "mailing.schedule_failed", "mailing.ab_test_updated", "mailing.ab_winner_selected", "tracking.updated", "billing.checkout_started", "billing.subscription_changed", "billing.exemption_changed", "billing.extra_sending_domains_changed", "automation.created", "automation.updated", "automation.published", "automation.paused", "automation.resumed", "automation.archived", "automation.deleted", "automation.duplicated", "automation.enrolled", "automation.run_ended", "event.recorded"]>>;
30489
+ action: z.ZodOptional<z.ZodEnum<["workspace.created", "workspace.updated", "workspace.company_changed", "member.added", "member.role_changed", "member.removed", "member.invited", "invite.revoked", "api_key.created", "api_key.revoked", "provider.created", "provider.updated", "provider.deleted", "provider.events_registered", "provider.events_secret_set", "provider.bounces_halted", "provider.anomaly_cleared", "sending_domain.created", "sending_domain.updated", "sending_domain.checked", "sending_domain.records_written", "sending_domain.deleted", "topic.created", "topic.updated", "topic.deleted", "template.created", "template.updated", "template.deleted", "template.inputs_declared", "saved_section.created", "saved_section.updated", "saved_section.deleted", "asset.uploaded", "asset.imported", "contact.erased", "suppression.created", "suppression.deleted", "mailing.created", "mailing.sent", "mailing.paused", "mailing.resumed", "mailing.cancelled", "mailing.deleted", "mailing.retried", "webhook.created", "webhook.updated", "webhook.deleted", "webhook.secret_rotated", "webhook.redelivered", "contact.unsubscribed", "tag.created", "tag.deleted", "tag.assigned", "tag.unassigned", "contact_property.created", "contact_property.deleted", "segment.created", "segment.updated", "segment.deleted", "signup_form.created", "signup_form.updated", "signup_form.deleted", "contact.subscribed", "import.created", "import.mapped", "import.committed", "import.cancelled", "import.finished", "mailing.scheduled", "mailing.unscheduled", "mailing.schedule_failed", "mailing.ab_test_updated", "mailing.ab_winner_selected", "tracking.updated", "billing.checkout_started", "billing.subscription_changed", "billing.exemption_changed", "billing.extra_sending_domains_changed", "billing.terms_accepted", "automation.created", "automation.updated", "automation.published", "automation.paused", "automation.resumed", "automation.archived", "automation.deleted", "automation.duplicated", "automation.enrolled", "automation.run_ended", "event.recorded"]>>;
30419
30490
  target_id: z.ZodOptional<z.ZodString>;
30420
30491
  }, "strip", z.ZodTypeAny, {
30421
30492
  cursor?: string | undefined;
30422
30493
  limit?: number | undefined;
30423
- action?: "workspace.created" | "workspace.updated" | "workspace.company_changed" | "member.added" | "member.role_changed" | "member.removed" | "member.invited" | "invite.revoked" | "api_key.created" | "api_key.revoked" | "provider.created" | "provider.updated" | "provider.deleted" | "provider.events_registered" | "provider.events_secret_set" | "provider.bounces_halted" | "provider.anomaly_cleared" | "sending_domain.created" | "sending_domain.updated" | "sending_domain.checked" | "sending_domain.records_written" | "sending_domain.deleted" | "topic.created" | "topic.updated" | "topic.deleted" | "template.created" | "template.updated" | "template.deleted" | "template.inputs_declared" | "saved_section.created" | "saved_section.updated" | "saved_section.deleted" | "asset.uploaded" | "asset.imported" | "contact.erased" | "suppression.created" | "suppression.deleted" | "mailing.created" | "mailing.sent" | "mailing.paused" | "mailing.resumed" | "mailing.cancelled" | "mailing.deleted" | "mailing.retried" | "webhook.created" | "webhook.updated" | "webhook.deleted" | "webhook.secret_rotated" | "webhook.redelivered" | "contact.unsubscribed" | "tag.created" | "tag.deleted" | "tag.assigned" | "tag.unassigned" | "contact_property.created" | "contact_property.deleted" | "segment.created" | "segment.updated" | "segment.deleted" | "signup_form.created" | "signup_form.updated" | "signup_form.deleted" | "contact.subscribed" | "import.created" | "import.mapped" | "import.committed" | "import.cancelled" | "import.finished" | "mailing.scheduled" | "mailing.unscheduled" | "mailing.schedule_failed" | "mailing.ab_test_updated" | "mailing.ab_winner_selected" | "tracking.updated" | "billing.checkout_started" | "billing.subscription_changed" | "billing.exemption_changed" | "billing.extra_sending_domains_changed" | "automation.created" | "automation.updated" | "automation.published" | "automation.paused" | "automation.resumed" | "automation.archived" | "automation.deleted" | "automation.duplicated" | "automation.enrolled" | "automation.run_ended" | "event.recorded" | undefined;
30494
+ action?: "workspace.created" | "workspace.updated" | "workspace.company_changed" | "member.added" | "member.role_changed" | "member.removed" | "member.invited" | "invite.revoked" | "api_key.created" | "api_key.revoked" | "provider.created" | "provider.updated" | "provider.deleted" | "provider.events_registered" | "provider.events_secret_set" | "provider.bounces_halted" | "provider.anomaly_cleared" | "sending_domain.created" | "sending_domain.updated" | "sending_domain.checked" | "sending_domain.records_written" | "sending_domain.deleted" | "topic.created" | "topic.updated" | "topic.deleted" | "template.created" | "template.updated" | "template.deleted" | "template.inputs_declared" | "saved_section.created" | "saved_section.updated" | "saved_section.deleted" | "asset.uploaded" | "asset.imported" | "contact.erased" | "suppression.created" | "suppression.deleted" | "mailing.created" | "mailing.sent" | "mailing.paused" | "mailing.resumed" | "mailing.cancelled" | "mailing.deleted" | "mailing.retried" | "webhook.created" | "webhook.updated" | "webhook.deleted" | "webhook.secret_rotated" | "webhook.redelivered" | "contact.unsubscribed" | "tag.created" | "tag.deleted" | "tag.assigned" | "tag.unassigned" | "contact_property.created" | "contact_property.deleted" | "segment.created" | "segment.updated" | "segment.deleted" | "signup_form.created" | "signup_form.updated" | "signup_form.deleted" | "contact.subscribed" | "import.created" | "import.mapped" | "import.committed" | "import.cancelled" | "import.finished" | "mailing.scheduled" | "mailing.unscheduled" | "mailing.schedule_failed" | "mailing.ab_test_updated" | "mailing.ab_winner_selected" | "tracking.updated" | "billing.checkout_started" | "billing.subscription_changed" | "billing.exemption_changed" | "billing.extra_sending_domains_changed" | "billing.terms_accepted" | "automation.created" | "automation.updated" | "automation.published" | "automation.paused" | "automation.resumed" | "automation.archived" | "automation.deleted" | "automation.duplicated" | "automation.enrolled" | "automation.run_ended" | "event.recorded" | undefined;
30424
30495
  target_id?: string | undefined;
30425
30496
  }, {
30426
30497
  cursor?: string | undefined;
30427
30498
  limit?: number | undefined;
30428
- action?: "workspace.created" | "workspace.updated" | "workspace.company_changed" | "member.added" | "member.role_changed" | "member.removed" | "member.invited" | "invite.revoked" | "api_key.created" | "api_key.revoked" | "provider.created" | "provider.updated" | "provider.deleted" | "provider.events_registered" | "provider.events_secret_set" | "provider.bounces_halted" | "provider.anomaly_cleared" | "sending_domain.created" | "sending_domain.updated" | "sending_domain.checked" | "sending_domain.records_written" | "sending_domain.deleted" | "topic.created" | "topic.updated" | "topic.deleted" | "template.created" | "template.updated" | "template.deleted" | "template.inputs_declared" | "saved_section.created" | "saved_section.updated" | "saved_section.deleted" | "asset.uploaded" | "asset.imported" | "contact.erased" | "suppression.created" | "suppression.deleted" | "mailing.created" | "mailing.sent" | "mailing.paused" | "mailing.resumed" | "mailing.cancelled" | "mailing.deleted" | "mailing.retried" | "webhook.created" | "webhook.updated" | "webhook.deleted" | "webhook.secret_rotated" | "webhook.redelivered" | "contact.unsubscribed" | "tag.created" | "tag.deleted" | "tag.assigned" | "tag.unassigned" | "contact_property.created" | "contact_property.deleted" | "segment.created" | "segment.updated" | "segment.deleted" | "signup_form.created" | "signup_form.updated" | "signup_form.deleted" | "contact.subscribed" | "import.created" | "import.mapped" | "import.committed" | "import.cancelled" | "import.finished" | "mailing.scheduled" | "mailing.unscheduled" | "mailing.schedule_failed" | "mailing.ab_test_updated" | "mailing.ab_winner_selected" | "tracking.updated" | "billing.checkout_started" | "billing.subscription_changed" | "billing.exemption_changed" | "billing.extra_sending_domains_changed" | "automation.created" | "automation.updated" | "automation.published" | "automation.paused" | "automation.resumed" | "automation.archived" | "automation.deleted" | "automation.duplicated" | "automation.enrolled" | "automation.run_ended" | "event.recorded" | undefined;
30499
+ action?: "workspace.created" | "workspace.updated" | "workspace.company_changed" | "member.added" | "member.role_changed" | "member.removed" | "member.invited" | "invite.revoked" | "api_key.created" | "api_key.revoked" | "provider.created" | "provider.updated" | "provider.deleted" | "provider.events_registered" | "provider.events_secret_set" | "provider.bounces_halted" | "provider.anomaly_cleared" | "sending_domain.created" | "sending_domain.updated" | "sending_domain.checked" | "sending_domain.records_written" | "sending_domain.deleted" | "topic.created" | "topic.updated" | "topic.deleted" | "template.created" | "template.updated" | "template.deleted" | "template.inputs_declared" | "saved_section.created" | "saved_section.updated" | "saved_section.deleted" | "asset.uploaded" | "asset.imported" | "contact.erased" | "suppression.created" | "suppression.deleted" | "mailing.created" | "mailing.sent" | "mailing.paused" | "mailing.resumed" | "mailing.cancelled" | "mailing.deleted" | "mailing.retried" | "webhook.created" | "webhook.updated" | "webhook.deleted" | "webhook.secret_rotated" | "webhook.redelivered" | "contact.unsubscribed" | "tag.created" | "tag.deleted" | "tag.assigned" | "tag.unassigned" | "contact_property.created" | "contact_property.deleted" | "segment.created" | "segment.updated" | "segment.deleted" | "signup_form.created" | "signup_form.updated" | "signup_form.deleted" | "contact.subscribed" | "import.created" | "import.mapped" | "import.committed" | "import.cancelled" | "import.finished" | "mailing.scheduled" | "mailing.unscheduled" | "mailing.schedule_failed" | "mailing.ab_test_updated" | "mailing.ab_winner_selected" | "tracking.updated" | "billing.checkout_started" | "billing.subscription_changed" | "billing.exemption_changed" | "billing.extra_sending_domains_changed" | "billing.terms_accepted" | "automation.created" | "automation.updated" | "automation.published" | "automation.paused" | "automation.resumed" | "automation.archived" | "automation.deleted" | "automation.duplicated" | "automation.enrolled" | "automation.run_ended" | "event.recorded" | undefined;
30429
30500
  target_id?: string | undefined;
30430
30501
  }>;
30431
30502
  readonly response: z.ZodObject<{
30432
30503
  data: z.ZodArray<z.ZodObject<{
30433
30504
  id: z.ZodString;
30434
- action: z.ZodEnum<["workspace.created", "workspace.updated", "workspace.company_changed", "member.added", "member.role_changed", "member.removed", "member.invited", "invite.revoked", "api_key.created", "api_key.revoked", "provider.created", "provider.updated", "provider.deleted", "provider.events_registered", "provider.events_secret_set", "provider.bounces_halted", "provider.anomaly_cleared", "sending_domain.created", "sending_domain.updated", "sending_domain.checked", "sending_domain.records_written", "sending_domain.deleted", "topic.created", "topic.updated", "topic.deleted", "template.created", "template.updated", "template.deleted", "template.inputs_declared", "saved_section.created", "saved_section.updated", "saved_section.deleted", "asset.uploaded", "asset.imported", "contact.erased", "suppression.created", "suppression.deleted", "mailing.created", "mailing.sent", "mailing.paused", "mailing.resumed", "mailing.cancelled", "mailing.deleted", "mailing.retried", "webhook.created", "webhook.updated", "webhook.deleted", "webhook.secret_rotated", "webhook.redelivered", "contact.unsubscribed", "tag.created", "tag.deleted", "tag.assigned", "tag.unassigned", "contact_property.created", "contact_property.deleted", "segment.created", "segment.updated", "segment.deleted", "signup_form.created", "signup_form.updated", "signup_form.deleted", "contact.subscribed", "import.created", "import.mapped", "import.committed", "import.cancelled", "import.finished", "mailing.scheduled", "mailing.unscheduled", "mailing.schedule_failed", "mailing.ab_test_updated", "mailing.ab_winner_selected", "tracking.updated", "billing.checkout_started", "billing.subscription_changed", "billing.exemption_changed", "billing.extra_sending_domains_changed", "automation.created", "automation.updated", "automation.published", "automation.paused", "automation.resumed", "automation.archived", "automation.deleted", "automation.duplicated", "automation.enrolled", "automation.run_ended", "event.recorded"]>;
30505
+ action: z.ZodEnum<["workspace.created", "workspace.updated", "workspace.company_changed", "member.added", "member.role_changed", "member.removed", "member.invited", "invite.revoked", "api_key.created", "api_key.revoked", "provider.created", "provider.updated", "provider.deleted", "provider.events_registered", "provider.events_secret_set", "provider.bounces_halted", "provider.anomaly_cleared", "sending_domain.created", "sending_domain.updated", "sending_domain.checked", "sending_domain.records_written", "sending_domain.deleted", "topic.created", "topic.updated", "topic.deleted", "template.created", "template.updated", "template.deleted", "template.inputs_declared", "saved_section.created", "saved_section.updated", "saved_section.deleted", "asset.uploaded", "asset.imported", "contact.erased", "suppression.created", "suppression.deleted", "mailing.created", "mailing.sent", "mailing.paused", "mailing.resumed", "mailing.cancelled", "mailing.deleted", "mailing.retried", "webhook.created", "webhook.updated", "webhook.deleted", "webhook.secret_rotated", "webhook.redelivered", "contact.unsubscribed", "tag.created", "tag.deleted", "tag.assigned", "tag.unassigned", "contact_property.created", "contact_property.deleted", "segment.created", "segment.updated", "segment.deleted", "signup_form.created", "signup_form.updated", "signup_form.deleted", "contact.subscribed", "import.created", "import.mapped", "import.committed", "import.cancelled", "import.finished", "mailing.scheduled", "mailing.unscheduled", "mailing.schedule_failed", "mailing.ab_test_updated", "mailing.ab_winner_selected", "tracking.updated", "billing.checkout_started", "billing.subscription_changed", "billing.exemption_changed", "billing.extra_sending_domains_changed", "billing.terms_accepted", "automation.created", "automation.updated", "automation.published", "automation.paused", "automation.resumed", "automation.archived", "automation.deleted", "automation.duplicated", "automation.enrolled", "automation.run_ended", "event.recorded"]>;
30435
30506
  actor: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
30436
30507
  type: z.ZodLiteral<"member">;
30437
30508
  member_id: z.ZodString;
@@ -30477,7 +30548,7 @@ declare const foundationRoutes: {
30477
30548
  id: string;
30478
30549
  details: Record<string, unknown>;
30479
30550
  created_at: string;
30480
- action: "workspace.created" | "workspace.updated" | "workspace.company_changed" | "member.added" | "member.role_changed" | "member.removed" | "member.invited" | "invite.revoked" | "api_key.created" | "api_key.revoked" | "provider.created" | "provider.updated" | "provider.deleted" | "provider.events_registered" | "provider.events_secret_set" | "provider.bounces_halted" | "provider.anomaly_cleared" | "sending_domain.created" | "sending_domain.updated" | "sending_domain.checked" | "sending_domain.records_written" | "sending_domain.deleted" | "topic.created" | "topic.updated" | "topic.deleted" | "template.created" | "template.updated" | "template.deleted" | "template.inputs_declared" | "saved_section.created" | "saved_section.updated" | "saved_section.deleted" | "asset.uploaded" | "asset.imported" | "contact.erased" | "suppression.created" | "suppression.deleted" | "mailing.created" | "mailing.sent" | "mailing.paused" | "mailing.resumed" | "mailing.cancelled" | "mailing.deleted" | "mailing.retried" | "webhook.created" | "webhook.updated" | "webhook.deleted" | "webhook.secret_rotated" | "webhook.redelivered" | "contact.unsubscribed" | "tag.created" | "tag.deleted" | "tag.assigned" | "tag.unassigned" | "contact_property.created" | "contact_property.deleted" | "segment.created" | "segment.updated" | "segment.deleted" | "signup_form.created" | "signup_form.updated" | "signup_form.deleted" | "contact.subscribed" | "import.created" | "import.mapped" | "import.committed" | "import.cancelled" | "import.finished" | "mailing.scheduled" | "mailing.unscheduled" | "mailing.schedule_failed" | "mailing.ab_test_updated" | "mailing.ab_winner_selected" | "tracking.updated" | "billing.checkout_started" | "billing.subscription_changed" | "billing.exemption_changed" | "billing.extra_sending_domains_changed" | "automation.created" | "automation.updated" | "automation.published" | "automation.paused" | "automation.resumed" | "automation.archived" | "automation.deleted" | "automation.duplicated" | "automation.enrolled" | "automation.run_ended" | "event.recorded";
30551
+ action: "workspace.created" | "workspace.updated" | "workspace.company_changed" | "member.added" | "member.role_changed" | "member.removed" | "member.invited" | "invite.revoked" | "api_key.created" | "api_key.revoked" | "provider.created" | "provider.updated" | "provider.deleted" | "provider.events_registered" | "provider.events_secret_set" | "provider.bounces_halted" | "provider.anomaly_cleared" | "sending_domain.created" | "sending_domain.updated" | "sending_domain.checked" | "sending_domain.records_written" | "sending_domain.deleted" | "topic.created" | "topic.updated" | "topic.deleted" | "template.created" | "template.updated" | "template.deleted" | "template.inputs_declared" | "saved_section.created" | "saved_section.updated" | "saved_section.deleted" | "asset.uploaded" | "asset.imported" | "contact.erased" | "suppression.created" | "suppression.deleted" | "mailing.created" | "mailing.sent" | "mailing.paused" | "mailing.resumed" | "mailing.cancelled" | "mailing.deleted" | "mailing.retried" | "webhook.created" | "webhook.updated" | "webhook.deleted" | "webhook.secret_rotated" | "webhook.redelivered" | "contact.unsubscribed" | "tag.created" | "tag.deleted" | "tag.assigned" | "tag.unassigned" | "contact_property.created" | "contact_property.deleted" | "segment.created" | "segment.updated" | "segment.deleted" | "signup_form.created" | "signup_form.updated" | "signup_form.deleted" | "contact.subscribed" | "import.created" | "import.mapped" | "import.committed" | "import.cancelled" | "import.finished" | "mailing.scheduled" | "mailing.unscheduled" | "mailing.schedule_failed" | "mailing.ab_test_updated" | "mailing.ab_winner_selected" | "tracking.updated" | "billing.checkout_started" | "billing.subscription_changed" | "billing.exemption_changed" | "billing.extra_sending_domains_changed" | "billing.terms_accepted" | "automation.created" | "automation.updated" | "automation.published" | "automation.paused" | "automation.resumed" | "automation.archived" | "automation.deleted" | "automation.duplicated" | "automation.enrolled" | "automation.run_ended" | "event.recorded";
30481
30552
  actor: {
30482
30553
  type: "member";
30483
30554
  subject: string;
@@ -30497,7 +30568,7 @@ declare const foundationRoutes: {
30497
30568
  id: string;
30498
30569
  details: Record<string, unknown>;
30499
30570
  created_at: string;
30500
- action: "workspace.created" | "workspace.updated" | "workspace.company_changed" | "member.added" | "member.role_changed" | "member.removed" | "member.invited" | "invite.revoked" | "api_key.created" | "api_key.revoked" | "provider.created" | "provider.updated" | "provider.deleted" | "provider.events_registered" | "provider.events_secret_set" | "provider.bounces_halted" | "provider.anomaly_cleared" | "sending_domain.created" | "sending_domain.updated" | "sending_domain.checked" | "sending_domain.records_written" | "sending_domain.deleted" | "topic.created" | "topic.updated" | "topic.deleted" | "template.created" | "template.updated" | "template.deleted" | "template.inputs_declared" | "saved_section.created" | "saved_section.updated" | "saved_section.deleted" | "asset.uploaded" | "asset.imported" | "contact.erased" | "suppression.created" | "suppression.deleted" | "mailing.created" | "mailing.sent" | "mailing.paused" | "mailing.resumed" | "mailing.cancelled" | "mailing.deleted" | "mailing.retried" | "webhook.created" | "webhook.updated" | "webhook.deleted" | "webhook.secret_rotated" | "webhook.redelivered" | "contact.unsubscribed" | "tag.created" | "tag.deleted" | "tag.assigned" | "tag.unassigned" | "contact_property.created" | "contact_property.deleted" | "segment.created" | "segment.updated" | "segment.deleted" | "signup_form.created" | "signup_form.updated" | "signup_form.deleted" | "contact.subscribed" | "import.created" | "import.mapped" | "import.committed" | "import.cancelled" | "import.finished" | "mailing.scheduled" | "mailing.unscheduled" | "mailing.schedule_failed" | "mailing.ab_test_updated" | "mailing.ab_winner_selected" | "tracking.updated" | "billing.checkout_started" | "billing.subscription_changed" | "billing.exemption_changed" | "billing.extra_sending_domains_changed" | "automation.created" | "automation.updated" | "automation.published" | "automation.paused" | "automation.resumed" | "automation.archived" | "automation.deleted" | "automation.duplicated" | "automation.enrolled" | "automation.run_ended" | "event.recorded";
30571
+ action: "workspace.created" | "workspace.updated" | "workspace.company_changed" | "member.added" | "member.role_changed" | "member.removed" | "member.invited" | "invite.revoked" | "api_key.created" | "api_key.revoked" | "provider.created" | "provider.updated" | "provider.deleted" | "provider.events_registered" | "provider.events_secret_set" | "provider.bounces_halted" | "provider.anomaly_cleared" | "sending_domain.created" | "sending_domain.updated" | "sending_domain.checked" | "sending_domain.records_written" | "sending_domain.deleted" | "topic.created" | "topic.updated" | "topic.deleted" | "template.created" | "template.updated" | "template.deleted" | "template.inputs_declared" | "saved_section.created" | "saved_section.updated" | "saved_section.deleted" | "asset.uploaded" | "asset.imported" | "contact.erased" | "suppression.created" | "suppression.deleted" | "mailing.created" | "mailing.sent" | "mailing.paused" | "mailing.resumed" | "mailing.cancelled" | "mailing.deleted" | "mailing.retried" | "webhook.created" | "webhook.updated" | "webhook.deleted" | "webhook.secret_rotated" | "webhook.redelivered" | "contact.unsubscribed" | "tag.created" | "tag.deleted" | "tag.assigned" | "tag.unassigned" | "contact_property.created" | "contact_property.deleted" | "segment.created" | "segment.updated" | "segment.deleted" | "signup_form.created" | "signup_form.updated" | "signup_form.deleted" | "contact.subscribed" | "import.created" | "import.mapped" | "import.committed" | "import.cancelled" | "import.finished" | "mailing.scheduled" | "mailing.unscheduled" | "mailing.schedule_failed" | "mailing.ab_test_updated" | "mailing.ab_winner_selected" | "tracking.updated" | "billing.checkout_started" | "billing.subscription_changed" | "billing.exemption_changed" | "billing.extra_sending_domains_changed" | "billing.terms_accepted" | "automation.created" | "automation.updated" | "automation.published" | "automation.paused" | "automation.resumed" | "automation.archived" | "automation.deleted" | "automation.duplicated" | "automation.enrolled" | "automation.run_ended" | "event.recorded";
30501
30572
  actor: {
30502
30573
  type: "member";
30503
30574
  subject: string;
@@ -30520,7 +30591,7 @@ declare const foundationRoutes: {
30520
30591
  id: string;
30521
30592
  details: Record<string, unknown>;
30522
30593
  created_at: string;
30523
- action: "workspace.created" | "workspace.updated" | "workspace.company_changed" | "member.added" | "member.role_changed" | "member.removed" | "member.invited" | "invite.revoked" | "api_key.created" | "api_key.revoked" | "provider.created" | "provider.updated" | "provider.deleted" | "provider.events_registered" | "provider.events_secret_set" | "provider.bounces_halted" | "provider.anomaly_cleared" | "sending_domain.created" | "sending_domain.updated" | "sending_domain.checked" | "sending_domain.records_written" | "sending_domain.deleted" | "topic.created" | "topic.updated" | "topic.deleted" | "template.created" | "template.updated" | "template.deleted" | "template.inputs_declared" | "saved_section.created" | "saved_section.updated" | "saved_section.deleted" | "asset.uploaded" | "asset.imported" | "contact.erased" | "suppression.created" | "suppression.deleted" | "mailing.created" | "mailing.sent" | "mailing.paused" | "mailing.resumed" | "mailing.cancelled" | "mailing.deleted" | "mailing.retried" | "webhook.created" | "webhook.updated" | "webhook.deleted" | "webhook.secret_rotated" | "webhook.redelivered" | "contact.unsubscribed" | "tag.created" | "tag.deleted" | "tag.assigned" | "tag.unassigned" | "contact_property.created" | "contact_property.deleted" | "segment.created" | "segment.updated" | "segment.deleted" | "signup_form.created" | "signup_form.updated" | "signup_form.deleted" | "contact.subscribed" | "import.created" | "import.mapped" | "import.committed" | "import.cancelled" | "import.finished" | "mailing.scheduled" | "mailing.unscheduled" | "mailing.schedule_failed" | "mailing.ab_test_updated" | "mailing.ab_winner_selected" | "tracking.updated" | "billing.checkout_started" | "billing.subscription_changed" | "billing.exemption_changed" | "billing.extra_sending_domains_changed" | "automation.created" | "automation.updated" | "automation.published" | "automation.paused" | "automation.resumed" | "automation.archived" | "automation.deleted" | "automation.duplicated" | "automation.enrolled" | "automation.run_ended" | "event.recorded";
30594
+ action: "workspace.created" | "workspace.updated" | "workspace.company_changed" | "member.added" | "member.role_changed" | "member.removed" | "member.invited" | "invite.revoked" | "api_key.created" | "api_key.revoked" | "provider.created" | "provider.updated" | "provider.deleted" | "provider.events_registered" | "provider.events_secret_set" | "provider.bounces_halted" | "provider.anomaly_cleared" | "sending_domain.created" | "sending_domain.updated" | "sending_domain.checked" | "sending_domain.records_written" | "sending_domain.deleted" | "topic.created" | "topic.updated" | "topic.deleted" | "template.created" | "template.updated" | "template.deleted" | "template.inputs_declared" | "saved_section.created" | "saved_section.updated" | "saved_section.deleted" | "asset.uploaded" | "asset.imported" | "contact.erased" | "suppression.created" | "suppression.deleted" | "mailing.created" | "mailing.sent" | "mailing.paused" | "mailing.resumed" | "mailing.cancelled" | "mailing.deleted" | "mailing.retried" | "webhook.created" | "webhook.updated" | "webhook.deleted" | "webhook.secret_rotated" | "webhook.redelivered" | "contact.unsubscribed" | "tag.created" | "tag.deleted" | "tag.assigned" | "tag.unassigned" | "contact_property.created" | "contact_property.deleted" | "segment.created" | "segment.updated" | "segment.deleted" | "signup_form.created" | "signup_form.updated" | "signup_form.deleted" | "contact.subscribed" | "import.created" | "import.mapped" | "import.committed" | "import.cancelled" | "import.finished" | "mailing.scheduled" | "mailing.unscheduled" | "mailing.schedule_failed" | "mailing.ab_test_updated" | "mailing.ab_winner_selected" | "tracking.updated" | "billing.checkout_started" | "billing.subscription_changed" | "billing.exemption_changed" | "billing.extra_sending_domains_changed" | "billing.terms_accepted" | "automation.created" | "automation.updated" | "automation.published" | "automation.paused" | "automation.resumed" | "automation.archived" | "automation.deleted" | "automation.duplicated" | "automation.enrolled" | "automation.run_ended" | "event.recorded";
30524
30595
  actor: {
30525
30596
  type: "member";
30526
30597
  subject: string;
@@ -30543,7 +30614,7 @@ declare const foundationRoutes: {
30543
30614
  id: string;
30544
30615
  details: Record<string, unknown>;
30545
30616
  created_at: string;
30546
- action: "workspace.created" | "workspace.updated" | "workspace.company_changed" | "member.added" | "member.role_changed" | "member.removed" | "member.invited" | "invite.revoked" | "api_key.created" | "api_key.revoked" | "provider.created" | "provider.updated" | "provider.deleted" | "provider.events_registered" | "provider.events_secret_set" | "provider.bounces_halted" | "provider.anomaly_cleared" | "sending_domain.created" | "sending_domain.updated" | "sending_domain.checked" | "sending_domain.records_written" | "sending_domain.deleted" | "topic.created" | "topic.updated" | "topic.deleted" | "template.created" | "template.updated" | "template.deleted" | "template.inputs_declared" | "saved_section.created" | "saved_section.updated" | "saved_section.deleted" | "asset.uploaded" | "asset.imported" | "contact.erased" | "suppression.created" | "suppression.deleted" | "mailing.created" | "mailing.sent" | "mailing.paused" | "mailing.resumed" | "mailing.cancelled" | "mailing.deleted" | "mailing.retried" | "webhook.created" | "webhook.updated" | "webhook.deleted" | "webhook.secret_rotated" | "webhook.redelivered" | "contact.unsubscribed" | "tag.created" | "tag.deleted" | "tag.assigned" | "tag.unassigned" | "contact_property.created" | "contact_property.deleted" | "segment.created" | "segment.updated" | "segment.deleted" | "signup_form.created" | "signup_form.updated" | "signup_form.deleted" | "contact.subscribed" | "import.created" | "import.mapped" | "import.committed" | "import.cancelled" | "import.finished" | "mailing.scheduled" | "mailing.unscheduled" | "mailing.schedule_failed" | "mailing.ab_test_updated" | "mailing.ab_winner_selected" | "tracking.updated" | "billing.checkout_started" | "billing.subscription_changed" | "billing.exemption_changed" | "billing.extra_sending_domains_changed" | "automation.created" | "automation.updated" | "automation.published" | "automation.paused" | "automation.resumed" | "automation.archived" | "automation.deleted" | "automation.duplicated" | "automation.enrolled" | "automation.run_ended" | "event.recorded";
30617
+ action: "workspace.created" | "workspace.updated" | "workspace.company_changed" | "member.added" | "member.role_changed" | "member.removed" | "member.invited" | "invite.revoked" | "api_key.created" | "api_key.revoked" | "provider.created" | "provider.updated" | "provider.deleted" | "provider.events_registered" | "provider.events_secret_set" | "provider.bounces_halted" | "provider.anomaly_cleared" | "sending_domain.created" | "sending_domain.updated" | "sending_domain.checked" | "sending_domain.records_written" | "sending_domain.deleted" | "topic.created" | "topic.updated" | "topic.deleted" | "template.created" | "template.updated" | "template.deleted" | "template.inputs_declared" | "saved_section.created" | "saved_section.updated" | "saved_section.deleted" | "asset.uploaded" | "asset.imported" | "contact.erased" | "suppression.created" | "suppression.deleted" | "mailing.created" | "mailing.sent" | "mailing.paused" | "mailing.resumed" | "mailing.cancelled" | "mailing.deleted" | "mailing.retried" | "webhook.created" | "webhook.updated" | "webhook.deleted" | "webhook.secret_rotated" | "webhook.redelivered" | "contact.unsubscribed" | "tag.created" | "tag.deleted" | "tag.assigned" | "tag.unassigned" | "contact_property.created" | "contact_property.deleted" | "segment.created" | "segment.updated" | "segment.deleted" | "signup_form.created" | "signup_form.updated" | "signup_form.deleted" | "contact.subscribed" | "import.created" | "import.mapped" | "import.committed" | "import.cancelled" | "import.finished" | "mailing.scheduled" | "mailing.unscheduled" | "mailing.schedule_failed" | "mailing.ab_test_updated" | "mailing.ab_winner_selected" | "tracking.updated" | "billing.checkout_started" | "billing.subscription_changed" | "billing.exemption_changed" | "billing.extra_sending_domains_changed" | "billing.terms_accepted" | "automation.created" | "automation.updated" | "automation.published" | "automation.paused" | "automation.resumed" | "automation.archived" | "automation.deleted" | "automation.duplicated" | "automation.enrolled" | "automation.run_ended" | "event.recorded";
30547
30618
  actor: {
30548
30619
  type: "member";
30549
30620
  subject: string;
@@ -50468,6 +50539,16 @@ declare const billingRoutes: {
50468
50539
  used: number;
50469
50540
  level: "reached" | "approaching";
50470
50541
  }>, "many">;
50542
+ terms: z.ZodObject<{
50543
+ accepted_version: z.ZodNullable<z.ZodString>;
50544
+ current_version: z.ZodString;
50545
+ }, "strip", z.ZodTypeAny, {
50546
+ accepted_version: string | null;
50547
+ current_version: string;
50548
+ }, {
50549
+ accepted_version: string | null;
50550
+ current_version: string;
50551
+ }>;
50471
50552
  }, "strip", z.ZodTypeAny, {
50472
50553
  warnings: {
50473
50554
  limit: number;
@@ -50482,6 +50563,10 @@ declare const billingRoutes: {
50482
50563
  limit: number | null;
50483
50564
  used: number;
50484
50565
  }>>;
50566
+ terms: {
50567
+ accepted_version: string | null;
50568
+ current_version: string;
50569
+ };
50485
50570
  }, {
50486
50571
  warnings: {
50487
50572
  limit: number;
@@ -50496,6 +50581,10 @@ declare const billingRoutes: {
50496
50581
  limit: number | null;
50497
50582
  used: number;
50498
50583
  }>>;
50584
+ terms: {
50585
+ accepted_version: string | null;
50586
+ current_version: string;
50587
+ };
50499
50588
  }>;
50500
50589
  readonly status: 200;
50501
50590
  readonly access: "read";
@@ -50508,11 +50597,14 @@ declare const billingRoutes: {
50508
50597
  plan: z.ZodEnum<["starter", "growth"]>;
50509
50598
  success_url: z.ZodString;
50510
50599
  cancel_url: z.ZodString;
50600
+ accept_terms: z.ZodLiteral<"2026-10-23">;
50511
50601
  }, "strip", z.ZodTypeAny, {
50602
+ accept_terms: "2026-10-23";
50512
50603
  plan: "starter" | "growth";
50513
50604
  success_url: string;
50514
50605
  cancel_url: string;
50515
50606
  }, {
50607
+ accept_terms: "2026-10-23";
50516
50608
  plan: "starter" | "growth";
50517
50609
  success_url: string;
50518
50610
  cancel_url: string;
@@ -50591,6 +50683,30 @@ declare const billingRoutes: {
50591
50683
  readonly access: "admin";
50592
50684
  readonly phase: "S5";
50593
50685
  };
50686
+ readonly 'billing.acceptTerms': {
50687
+ readonly method: "POST";
50688
+ readonly path: "/v1/billing/terms";
50689
+ readonly body: z.ZodObject<{
50690
+ accept_terms: z.ZodLiteral<"2026-10-23">;
50691
+ }, "strip", z.ZodTypeAny, {
50692
+ accept_terms: "2026-10-23";
50693
+ }, {
50694
+ accept_terms: "2026-10-23";
50695
+ }>;
50696
+ readonly response: z.ZodObject<{
50697
+ accepted_version: z.ZodNullable<z.ZodString>;
50698
+ current_version: z.ZodString;
50699
+ }, "strip", z.ZodTypeAny, {
50700
+ accepted_version: string | null;
50701
+ current_version: string;
50702
+ }, {
50703
+ accepted_version: string | null;
50704
+ current_version: string;
50705
+ }>;
50706
+ readonly status: 200;
50707
+ readonly access: "admin";
50708
+ readonly phase: "S5";
50709
+ };
50594
50710
  };
50595
50711
  declare const inviteRoutes: {
50596
50712
  readonly 'invites.create': {
@@ -69478,4 +69594,4 @@ declare function matchRoute(method: HttpMethod, pathname: string): {
69478
69594
  params: Record<string, string>;
69479
69595
  } | null;
69480
69596
 
69481
- 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, BillingAddons, 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, ExtraSendingDomainsUpdate, 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_EXTRA_SENDING_DOMAINS, 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, SENDING_DOMAIN_DNS_MODES, SENDING_DOMAIN_REGION, SENDING_DOMAIN_STATUSES, 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, SendingDomain, SendingDomainCreate, SendingDomainDnsMode, SendingDomainName, SendingDomainRecord, SendingDomainStatus, SendingDomainUpdate, 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, canDeleteMailing, 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, sendingDomainRecordFullName, 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 };
69597
+ 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, AcceptTerms, 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, BillingAddons, 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, ExtraSendingDomainsUpdate, 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, LEGAL_TERMS_VERSION, 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_EXTRA_SENDING_DOMAINS, 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, SENDING_DOMAIN_DNS_MODES, SENDING_DOMAIN_REGION, SENDING_DOMAIN_STATUSES, 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, SendingDomain, SendingDomainCreate, SendingDomainDnsMode, SendingDomainName, SendingDomainRecord, SendingDomainStatus, SendingDomainUpdate, 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, TermsAcceptance, TermsStatus, 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, canDeleteMailing, 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, sendingDomainRecordFullName, 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 };