@marlinjai/mail-contract 0.3.0 → 0.4.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.ts CHANGED
@@ -833,8 +833,8 @@ declare const ApiKeyCreated: z.ZodObject<{
833
833
  };
834
834
  }>;
835
835
  type ApiKeyCreated = z.infer<typeof ApiKeyCreated>;
836
- 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", "topic.created", "topic.updated", "template.created", "template.updated", "template.deleted", "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.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", "automation.created", "automation.updated", "automation.published", "automation.paused", "automation.resumed", "automation.archived", "automation.deleted", "automation.duplicated", "automation.enrolled", "automation.run_ended", "event.recorded"];
837
- 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", "topic.created", "topic.updated", "template.created", "template.updated", "template.deleted", "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.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", "automation.created", "automation.updated", "automation.published", "automation.paused", "automation.resumed", "automation.archived", "automation.deleted", "automation.duplicated", "automation.enrolled", "automation.run_ended", "event.recorded"]>;
836
+ 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", "topic.created", "topic.updated", "topic.deleted", "template.created", "template.updated", "template.deleted", "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.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", "automation.created", "automation.updated", "automation.published", "automation.paused", "automation.resumed", "automation.archived", "automation.deleted", "automation.duplicated", "automation.enrolled", "automation.run_ended", "event.recorded"];
837
+ 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", "topic.created", "topic.updated", "topic.deleted", "template.created", "template.updated", "template.deleted", "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.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", "automation.created", "automation.updated", "automation.published", "automation.paused", "automation.resumed", "automation.archived", "automation.deleted", "automation.duplicated", "automation.enrolled", "automation.run_ended", "event.recorded"]>;
838
838
  type AuditAction = z.infer<typeof AuditAction>;
839
839
  declare const AuditActor: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
840
840
  type: z.ZodLiteral<"member">;
@@ -878,7 +878,7 @@ declare const AuditActor: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
878
878
  type AuditActor = z.infer<typeof AuditActor>;
879
879
  declare const AuditEntry: z.ZodObject<{
880
880
  id: z.ZodString;
881
- 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", "topic.created", "topic.updated", "template.created", "template.updated", "template.deleted", "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.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", "automation.created", "automation.updated", "automation.published", "automation.paused", "automation.resumed", "automation.archived", "automation.deleted", "automation.duplicated", "automation.enrolled", "automation.run_ended", "event.recorded"]>;
881
+ 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", "topic.created", "topic.updated", "topic.deleted", "template.created", "template.updated", "template.deleted", "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.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", "automation.created", "automation.updated", "automation.published", "automation.paused", "automation.resumed", "automation.archived", "automation.deleted", "automation.duplicated", "automation.enrolled", "automation.run_ended", "event.recorded"]>;
882
882
  actor: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
883
883
  type: z.ZodLiteral<"member">;
884
884
  member_id: z.ZodString;
@@ -926,7 +926,7 @@ declare const AuditEntry: z.ZodObject<{
926
926
  id: string;
927
927
  details: Record<string, unknown>;
928
928
  created_at: string;
929
- 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" | "topic.created" | "topic.updated" | "template.created" | "template.updated" | "template.deleted" | "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.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" | "automation.created" | "automation.updated" | "automation.published" | "automation.paused" | "automation.resumed" | "automation.archived" | "automation.deleted" | "automation.duplicated" | "automation.enrolled" | "automation.run_ended" | "event.recorded";
929
+ 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" | "topic.created" | "topic.updated" | "topic.deleted" | "template.created" | "template.updated" | "template.deleted" | "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.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" | "automation.created" | "automation.updated" | "automation.published" | "automation.paused" | "automation.resumed" | "automation.archived" | "automation.deleted" | "automation.duplicated" | "automation.enrolled" | "automation.run_ended" | "event.recorded";
930
930
  actor: {
931
931
  type: "member";
932
932
  subject: string;
@@ -945,7 +945,7 @@ declare const AuditEntry: z.ZodObject<{
945
945
  id: string;
946
946
  details: Record<string, unknown>;
947
947
  created_at: string;
948
- 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" | "topic.created" | "topic.updated" | "template.created" | "template.updated" | "template.deleted" | "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.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" | "automation.created" | "automation.updated" | "automation.published" | "automation.paused" | "automation.resumed" | "automation.archived" | "automation.deleted" | "automation.duplicated" | "automation.enrolled" | "automation.run_ended" | "event.recorded";
948
+ 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" | "topic.created" | "topic.updated" | "topic.deleted" | "template.created" | "template.updated" | "template.deleted" | "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.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" | "automation.created" | "automation.updated" | "automation.published" | "automation.paused" | "automation.resumed" | "automation.archived" | "automation.deleted" | "automation.duplicated" | "automation.enrolled" | "automation.run_ended" | "event.recorded";
949
949
  actor: {
950
950
  type: "member";
951
951
  subject: string;
@@ -966,17 +966,17 @@ declare const AuditQuery: z.ZodObject<{
966
966
  cursor: z.ZodOptional<z.ZodString>;
967
967
  limit: z.ZodOptional<z.ZodNumber>;
968
968
  } & {
969
- 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", "topic.created", "topic.updated", "template.created", "template.updated", "template.deleted", "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.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", "automation.created", "automation.updated", "automation.published", "automation.paused", "automation.resumed", "automation.archived", "automation.deleted", "automation.duplicated", "automation.enrolled", "automation.run_ended", "event.recorded"]>>;
969
+ 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", "topic.created", "topic.updated", "topic.deleted", "template.created", "template.updated", "template.deleted", "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.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", "automation.created", "automation.updated", "automation.published", "automation.paused", "automation.resumed", "automation.archived", "automation.deleted", "automation.duplicated", "automation.enrolled", "automation.run_ended", "event.recorded"]>>;
970
970
  target_id: z.ZodOptional<z.ZodString>;
971
971
  }, "strip", z.ZodTypeAny, {
972
972
  cursor?: string | undefined;
973
973
  limit?: number | undefined;
974
- 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" | "topic.created" | "topic.updated" | "template.created" | "template.updated" | "template.deleted" | "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.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" | "automation.created" | "automation.updated" | "automation.published" | "automation.paused" | "automation.resumed" | "automation.archived" | "automation.deleted" | "automation.duplicated" | "automation.enrolled" | "automation.run_ended" | "event.recorded" | undefined;
974
+ 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" | "topic.created" | "topic.updated" | "topic.deleted" | "template.created" | "template.updated" | "template.deleted" | "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.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" | "automation.created" | "automation.updated" | "automation.published" | "automation.paused" | "automation.resumed" | "automation.archived" | "automation.deleted" | "automation.duplicated" | "automation.enrolled" | "automation.run_ended" | "event.recorded" | undefined;
975
975
  target_id?: string | undefined;
976
976
  }, {
977
977
  cursor?: string | undefined;
978
978
  limit?: number | undefined;
979
- 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" | "topic.created" | "topic.updated" | "template.created" | "template.updated" | "template.deleted" | "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.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" | "automation.created" | "automation.updated" | "automation.published" | "automation.paused" | "automation.resumed" | "automation.archived" | "automation.deleted" | "automation.duplicated" | "automation.enrolled" | "automation.run_ended" | "event.recorded" | undefined;
979
+ 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" | "topic.created" | "topic.updated" | "topic.deleted" | "template.created" | "template.updated" | "template.deleted" | "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.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" | "automation.created" | "automation.updated" | "automation.published" | "automation.paused" | "automation.resumed" | "automation.archived" | "automation.deleted" | "automation.duplicated" | "automation.enrolled" | "automation.run_ended" | "event.recorded" | undefined;
980
980
  target_id?: string | undefined;
981
981
  }>;
982
982
  type AuditQuery = z.infer<typeof AuditQuery>;
@@ -3735,7 +3735,12 @@ declare const Mailing: z.ZodObject<{
3735
3735
  metadata: z.ZodRecord<z.ZodString, z.ZodUnknown>;
3736
3736
  sections: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">;
3737
3737
  }, z.ZodTypeAny, "passthrough">>;
3738
- topic: z.ZodString;
3738
+ /**
3739
+ * The topic the mailing is sent under. Null for a letter (a one-to-one
3740
+ * mailing with at most one recipient, which belongs to no topic and whose
3741
+ * unsubscribe link offers every topic) and for an automation's notification.
3742
+ */
3743
+ topic: z.ZodNullable<z.ZodString>;
3739
3744
  provider_id: z.ZodString;
3740
3745
  status: z.ZodEnum<["draft", "scheduled", "sending", "paused", "sent", "partially_failed", "cancelled"]>;
3741
3746
  counts: z.ZodObject<{
@@ -3843,7 +3848,7 @@ declare const Mailing: z.ZodObject<{
3843
3848
  subject: string;
3844
3849
  kind: "broadcast" | "automation" | "notification";
3845
3850
  preheader: string | null;
3846
- topic: string;
3851
+ topic: string | null;
3847
3852
  provider_id: string;
3848
3853
  counts: {
3849
3854
  sending: number;
@@ -3890,7 +3895,7 @@ declare const Mailing: z.ZodObject<{
3890
3895
  subject: string;
3891
3896
  kind: "broadcast" | "automation" | "notification";
3892
3897
  preheader: string | null;
3893
- topic: string;
3898
+ topic: string | null;
3894
3899
  provider_id: string;
3895
3900
  counts: {
3896
3901
  sending: number;
@@ -3942,7 +3947,12 @@ declare const MailingSummary: z.ZodObject<Omit<{
3942
3947
  metadata: z.ZodRecord<z.ZodString, z.ZodUnknown>;
3943
3948
  sections: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">;
3944
3949
  }, z.ZodTypeAny, "passthrough">>;
3945
- topic: z.ZodString;
3950
+ /**
3951
+ * The topic the mailing is sent under. Null for a letter (a one-to-one
3952
+ * mailing with at most one recipient, which belongs to no topic and whose
3953
+ * unsubscribe link offers every topic) and for an automation's notification.
3954
+ */
3955
+ topic: z.ZodNullable<z.ZodString>;
3946
3956
  provider_id: z.ZodString;
3947
3957
  status: z.ZodEnum<["draft", "scheduled", "sending", "paused", "sent", "partially_failed", "cancelled"]>;
3948
3958
  counts: z.ZodObject<{
@@ -4043,7 +4053,7 @@ declare const MailingSummary: z.ZodObject<Omit<{
4043
4053
  subject: string;
4044
4054
  kind: "broadcast" | "automation" | "notification";
4045
4055
  preheader: string | null;
4046
- topic: string;
4056
+ topic: string | null;
4047
4057
  provider_id: string;
4048
4058
  counts: {
4049
4059
  sending: number;
@@ -4083,7 +4093,7 @@ declare const MailingSummary: z.ZodObject<Omit<{
4083
4093
  subject: string;
4084
4094
  kind: "broadcast" | "automation" | "notification";
4085
4095
  preheader: string | null;
4086
- topic: string;
4096
+ topic: string | null;
4087
4097
  provider_id: string;
4088
4098
  counts: {
4089
4099
  sending: number;
@@ -4137,12 +4147,17 @@ declare const MailingCreate: z.ZodEffects<z.ZodObject<{
4137
4147
  name: z.ZodOptional<z.ZodString>;
4138
4148
  subject: z.ZodString;
4139
4149
  preheader: z.ZodOptional<z.ZodString>;
4140
- topic: z.ZodString;
4150
+ /**
4151
+ * Omitted or null makes the mailing a letter: one recipient at most, sent to
4152
+ * anybody not blocked on every topic, with an unsubscribe link that offers
4153
+ * every topic and no List-Unsubscribe headers. See "Letters" in the
4154
+ * contract's documentation.
4155
+ */
4156
+ topic: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4141
4157
  provider_id: z.ZodString;
4142
4158
  metadata: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodString>, Record<string, string>, Record<string, string>>, Record<string, string>, Record<string, string>>>;
4143
4159
  }, "strip", z.ZodTypeAny, {
4144
4160
  subject: string;
4145
- topic: string;
4146
4161
  provider_id: string;
4147
4162
  metadata?: Record<string, string> | undefined;
4148
4163
  name?: string | undefined;
@@ -4153,9 +4168,9 @@ declare const MailingCreate: z.ZodEffects<z.ZodObject<{
4153
4168
  }, z.ZodTypeAny, "passthrough"> | undefined;
4154
4169
  template_id?: string | undefined;
4155
4170
  preheader?: string | undefined;
4171
+ topic?: string | null | undefined;
4156
4172
  }, {
4157
4173
  subject: string;
4158
- topic: string;
4159
4174
  provider_id: string;
4160
4175
  metadata?: Record<string, string> | undefined;
4161
4176
  name?: string | undefined;
@@ -4166,9 +4181,9 @@ declare const MailingCreate: z.ZodEffects<z.ZodObject<{
4166
4181
  }, z.ZodTypeAny, "passthrough"> | undefined;
4167
4182
  template_id?: string | undefined;
4168
4183
  preheader?: string | undefined;
4184
+ topic?: string | null | undefined;
4169
4185
  }>, {
4170
4186
  subject: string;
4171
- topic: string;
4172
4187
  provider_id: string;
4173
4188
  metadata?: Record<string, string> | undefined;
4174
4189
  name?: string | undefined;
@@ -4179,9 +4194,9 @@ declare const MailingCreate: z.ZodEffects<z.ZodObject<{
4179
4194
  }, z.ZodTypeAny, "passthrough"> | undefined;
4180
4195
  template_id?: string | undefined;
4181
4196
  preheader?: string | undefined;
4197
+ topic?: string | null | undefined;
4182
4198
  }, {
4183
4199
  subject: string;
4184
- topic: string;
4185
4200
  provider_id: string;
4186
4201
  metadata?: Record<string, string> | undefined;
4187
4202
  name?: string | undefined;
@@ -4192,6 +4207,7 @@ declare const MailingCreate: z.ZodEffects<z.ZodObject<{
4192
4207
  }, z.ZodTypeAny, "passthrough"> | undefined;
4193
4208
  template_id?: string | undefined;
4194
4209
  preheader?: string | undefined;
4210
+ topic?: string | null | undefined;
4195
4211
  }>;
4196
4212
  type MailingCreate = z.infer<typeof MailingCreate>;
4197
4213
  /** Changing a mailing that is still `draft` or `scheduled`. */
@@ -4199,7 +4215,8 @@ declare const MailingUpdate: z.ZodEffects<z.ZodObject<{
4199
4215
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4200
4216
  subject: z.ZodOptional<z.ZodString>;
4201
4217
  preheader: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4202
- topic: z.ZodOptional<z.ZodString>;
4218
+ /** Null turns a draft into a letter, which it can only be with at most one recipient. */
4219
+ topic: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4203
4220
  provider_id: z.ZodOptional<z.ZodString>;
4204
4221
  metadata: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodString>, Record<string, string>, Record<string, string>>, Record<string, string>, Record<string, string>>>;
4205
4222
  document: z.ZodOptional<z.ZodObject<{
@@ -4225,7 +4242,7 @@ declare const MailingUpdate: z.ZodEffects<z.ZodObject<{
4225
4242
  }, z.ZodTypeAny, "passthrough"> | undefined;
4226
4243
  subject?: string | undefined;
4227
4244
  preheader?: string | null | undefined;
4228
- topic?: string | undefined;
4245
+ topic?: string | null | undefined;
4229
4246
  provider_id?: string | undefined;
4230
4247
  }, {
4231
4248
  metadata?: Record<string, string> | undefined;
@@ -4237,7 +4254,7 @@ declare const MailingUpdate: z.ZodEffects<z.ZodObject<{
4237
4254
  }, z.ZodTypeAny, "passthrough"> | undefined;
4238
4255
  subject?: string | undefined;
4239
4256
  preheader?: string | null | undefined;
4240
- topic?: string | undefined;
4257
+ topic?: string | null | undefined;
4241
4258
  provider_id?: string | undefined;
4242
4259
  }>, {
4243
4260
  metadata?: Record<string, string> | undefined;
@@ -4249,7 +4266,7 @@ declare const MailingUpdate: z.ZodEffects<z.ZodObject<{
4249
4266
  }, z.ZodTypeAny, "passthrough"> | undefined;
4250
4267
  subject?: string | undefined;
4251
4268
  preheader?: string | null | undefined;
4252
- topic?: string | undefined;
4269
+ topic?: string | null | undefined;
4253
4270
  provider_id?: string | undefined;
4254
4271
  }, {
4255
4272
  metadata?: Record<string, string> | undefined;
@@ -4261,7 +4278,7 @@ declare const MailingUpdate: z.ZodEffects<z.ZodObject<{
4261
4278
  }, z.ZodTypeAny, "passthrough"> | undefined;
4262
4279
  subject?: string | undefined;
4263
4280
  preheader?: string | null | undefined;
4264
- topic?: string | undefined;
4281
+ topic?: string | null | undefined;
4265
4282
  provider_id?: string | undefined;
4266
4283
  }>;
4267
4284
  type MailingUpdate = z.infer<typeof MailingUpdate>;
@@ -4403,6 +4420,16 @@ declare const Recipient: z.ZodObject<{
4403
4420
  }>;
4404
4421
  type Recipient = z.infer<typeof Recipient>;
4405
4422
  declare const MAX_RECIPIENTS_PER_BATCH = 1000;
4423
+ /**
4424
+ * A letter (a mailing with no topic) holds one recipient at most. It skips the
4425
+ * subscription check a broadcast makes, since there is no topic to be
4426
+ * subscribed to, so the cap is what keeps it from being a broadcast to people
4427
+ * who never subscribed to anything. Exceeding it, through a batch, a segment
4428
+ * audience, an A/B test or by clearing the topic of a mailing that holds more,
4429
+ * is `validation_failed` with `details.reason` set to this value.
4430
+ */
4431
+ declare const MAX_LETTER_RECIPIENTS = 1;
4432
+ declare const LETTER_RECIPIENT_REFUSAL = "letter_has_one_recipient";
4406
4433
  /**
4407
4434
  * One recipient in a batch. The contact is found by `contact_id`, else
4408
4435
  * `external_id`, else `email`; an email with no contact creates one. `merge`
@@ -19909,23 +19936,23 @@ declare const foundationRoutes: {
19909
19936
  cursor: z.ZodOptional<z.ZodString>;
19910
19937
  limit: z.ZodOptional<z.ZodNumber>;
19911
19938
  } & {
19912
- 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", "topic.created", "topic.updated", "template.created", "template.updated", "template.deleted", "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.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", "automation.created", "automation.updated", "automation.published", "automation.paused", "automation.resumed", "automation.archived", "automation.deleted", "automation.duplicated", "automation.enrolled", "automation.run_ended", "event.recorded"]>>;
19939
+ 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", "topic.created", "topic.updated", "topic.deleted", "template.created", "template.updated", "template.deleted", "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.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", "automation.created", "automation.updated", "automation.published", "automation.paused", "automation.resumed", "automation.archived", "automation.deleted", "automation.duplicated", "automation.enrolled", "automation.run_ended", "event.recorded"]>>;
19913
19940
  target_id: z.ZodOptional<z.ZodString>;
19914
19941
  }, "strip", z.ZodTypeAny, {
19915
19942
  cursor?: string | undefined;
19916
19943
  limit?: number | undefined;
19917
- 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" | "topic.created" | "topic.updated" | "template.created" | "template.updated" | "template.deleted" | "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.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" | "automation.created" | "automation.updated" | "automation.published" | "automation.paused" | "automation.resumed" | "automation.archived" | "automation.deleted" | "automation.duplicated" | "automation.enrolled" | "automation.run_ended" | "event.recorded" | undefined;
19944
+ 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" | "topic.created" | "topic.updated" | "topic.deleted" | "template.created" | "template.updated" | "template.deleted" | "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.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" | "automation.created" | "automation.updated" | "automation.published" | "automation.paused" | "automation.resumed" | "automation.archived" | "automation.deleted" | "automation.duplicated" | "automation.enrolled" | "automation.run_ended" | "event.recorded" | undefined;
19918
19945
  target_id?: string | undefined;
19919
19946
  }, {
19920
19947
  cursor?: string | undefined;
19921
19948
  limit?: number | undefined;
19922
- 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" | "topic.created" | "topic.updated" | "template.created" | "template.updated" | "template.deleted" | "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.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" | "automation.created" | "automation.updated" | "automation.published" | "automation.paused" | "automation.resumed" | "automation.archived" | "automation.deleted" | "automation.duplicated" | "automation.enrolled" | "automation.run_ended" | "event.recorded" | undefined;
19949
+ 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" | "topic.created" | "topic.updated" | "topic.deleted" | "template.created" | "template.updated" | "template.deleted" | "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.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" | "automation.created" | "automation.updated" | "automation.published" | "automation.paused" | "automation.resumed" | "automation.archived" | "automation.deleted" | "automation.duplicated" | "automation.enrolled" | "automation.run_ended" | "event.recorded" | undefined;
19923
19950
  target_id?: string | undefined;
19924
19951
  }>;
19925
19952
  readonly response: z.ZodObject<{
19926
19953
  data: z.ZodArray<z.ZodObject<{
19927
19954
  id: z.ZodString;
19928
- 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", "topic.created", "topic.updated", "template.created", "template.updated", "template.deleted", "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.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", "automation.created", "automation.updated", "automation.published", "automation.paused", "automation.resumed", "automation.archived", "automation.deleted", "automation.duplicated", "automation.enrolled", "automation.run_ended", "event.recorded"]>;
19955
+ 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", "topic.created", "topic.updated", "topic.deleted", "template.created", "template.updated", "template.deleted", "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.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", "automation.created", "automation.updated", "automation.published", "automation.paused", "automation.resumed", "automation.archived", "automation.deleted", "automation.duplicated", "automation.enrolled", "automation.run_ended", "event.recorded"]>;
19929
19956
  actor: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
19930
19957
  type: z.ZodLiteral<"member">;
19931
19958
  member_id: z.ZodString;
@@ -19968,7 +19995,7 @@ declare const foundationRoutes: {
19968
19995
  id: string;
19969
19996
  details: Record<string, unknown>;
19970
19997
  created_at: string;
19971
- 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" | "topic.created" | "topic.updated" | "template.created" | "template.updated" | "template.deleted" | "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.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" | "automation.created" | "automation.updated" | "automation.published" | "automation.paused" | "automation.resumed" | "automation.archived" | "automation.deleted" | "automation.duplicated" | "automation.enrolled" | "automation.run_ended" | "event.recorded";
19998
+ 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" | "topic.created" | "topic.updated" | "topic.deleted" | "template.created" | "template.updated" | "template.deleted" | "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.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" | "automation.created" | "automation.updated" | "automation.published" | "automation.paused" | "automation.resumed" | "automation.archived" | "automation.deleted" | "automation.duplicated" | "automation.enrolled" | "automation.run_ended" | "event.recorded";
19972
19999
  actor: {
19973
20000
  type: "member";
19974
20001
  subject: string;
@@ -19987,7 +20014,7 @@ declare const foundationRoutes: {
19987
20014
  id: string;
19988
20015
  details: Record<string, unknown>;
19989
20016
  created_at: string;
19990
- 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" | "topic.created" | "topic.updated" | "template.created" | "template.updated" | "template.deleted" | "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.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" | "automation.created" | "automation.updated" | "automation.published" | "automation.paused" | "automation.resumed" | "automation.archived" | "automation.deleted" | "automation.duplicated" | "automation.enrolled" | "automation.run_ended" | "event.recorded";
20017
+ 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" | "topic.created" | "topic.updated" | "topic.deleted" | "template.created" | "template.updated" | "template.deleted" | "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.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" | "automation.created" | "automation.updated" | "automation.published" | "automation.paused" | "automation.resumed" | "automation.archived" | "automation.deleted" | "automation.duplicated" | "automation.enrolled" | "automation.run_ended" | "event.recorded";
19991
20018
  actor: {
19992
20019
  type: "member";
19993
20020
  subject: string;
@@ -20009,7 +20036,7 @@ declare const foundationRoutes: {
20009
20036
  id: string;
20010
20037
  details: Record<string, unknown>;
20011
20038
  created_at: string;
20012
- 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" | "topic.created" | "topic.updated" | "template.created" | "template.updated" | "template.deleted" | "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.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" | "automation.created" | "automation.updated" | "automation.published" | "automation.paused" | "automation.resumed" | "automation.archived" | "automation.deleted" | "automation.duplicated" | "automation.enrolled" | "automation.run_ended" | "event.recorded";
20039
+ 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" | "topic.created" | "topic.updated" | "topic.deleted" | "template.created" | "template.updated" | "template.deleted" | "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.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" | "automation.created" | "automation.updated" | "automation.published" | "automation.paused" | "automation.resumed" | "automation.archived" | "automation.deleted" | "automation.duplicated" | "automation.enrolled" | "automation.run_ended" | "event.recorded";
20013
20040
  actor: {
20014
20041
  type: "member";
20015
20042
  subject: string;
@@ -20031,7 +20058,7 @@ declare const foundationRoutes: {
20031
20058
  id: string;
20032
20059
  details: Record<string, unknown>;
20033
20060
  created_at: string;
20034
- 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" | "topic.created" | "topic.updated" | "template.created" | "template.updated" | "template.deleted" | "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.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" | "automation.created" | "automation.updated" | "automation.published" | "automation.paused" | "automation.resumed" | "automation.archived" | "automation.deleted" | "automation.duplicated" | "automation.enrolled" | "automation.run_ended" | "event.recorded";
20061
+ 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" | "topic.created" | "topic.updated" | "topic.deleted" | "template.created" | "template.updated" | "template.deleted" | "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.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" | "automation.created" | "automation.updated" | "automation.published" | "automation.paused" | "automation.resumed" | "automation.archived" | "automation.deleted" | "automation.duplicated" | "automation.enrolled" | "automation.run_ended" | "event.recorded";
20035
20062
  actor: {
20036
20063
  type: "member";
20037
20064
  subject: string;
@@ -24285,6 +24312,28 @@ declare const sendingRoutes: {
24285
24312
  readonly access: "admin";
24286
24313
  readonly phase: "S2";
24287
24314
  };
24315
+ /** Refused with `conflict` while a mailing or an automation step still uses the topic; subscriptions and suppressions on it go with it. */
24316
+ readonly 'topics.delete': {
24317
+ readonly method: "DELETE";
24318
+ readonly path: "/v1/topics/:id";
24319
+ readonly params: z.ZodObject<{
24320
+ id: z.ZodString;
24321
+ }, "strip", z.ZodTypeAny, {
24322
+ id: string;
24323
+ }, {
24324
+ id: string;
24325
+ }>;
24326
+ readonly response: z.ZodObject<{
24327
+ ok: z.ZodLiteral<true>;
24328
+ }, "strip", z.ZodTypeAny, {
24329
+ ok: true;
24330
+ }, {
24331
+ ok: true;
24332
+ }>;
24333
+ readonly status: 200;
24334
+ readonly access: "admin";
24335
+ readonly phase: "S2";
24336
+ };
24288
24337
  readonly 'contacts.upsert': {
24289
24338
  readonly method: "POST";
24290
24339
  readonly path: "/v1/contacts";
@@ -24896,7 +24945,7 @@ declare const sendingRoutes: {
24896
24945
  metadata: z.ZodRecord<z.ZodString, z.ZodUnknown>;
24897
24946
  sections: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">;
24898
24947
  }, z.ZodTypeAny, "passthrough">>;
24899
- topic: z.ZodString;
24948
+ topic: z.ZodNullable<z.ZodString>;
24900
24949
  provider_id: z.ZodString;
24901
24950
  status: z.ZodEnum<["draft", "scheduled", "sending", "paused", "sent", "partially_failed", "cancelled"]>;
24902
24951
  counts: z.ZodObject<{
@@ -24990,7 +25039,7 @@ declare const sendingRoutes: {
24990
25039
  subject: string;
24991
25040
  kind: "broadcast" | "automation" | "notification";
24992
25041
  preheader: string | null;
24993
- topic: string;
25042
+ topic: string | null;
24994
25043
  provider_id: string;
24995
25044
  counts: {
24996
25045
  sending: number;
@@ -25030,7 +25079,7 @@ declare const sendingRoutes: {
25030
25079
  subject: string;
25031
25080
  kind: "broadcast" | "automation" | "notification";
25032
25081
  preheader: string | null;
25033
- topic: string;
25082
+ topic: string | null;
25034
25083
  provider_id: string;
25035
25084
  counts: {
25036
25085
  sending: number;
@@ -25073,7 +25122,7 @@ declare const sendingRoutes: {
25073
25122
  subject: string;
25074
25123
  kind: "broadcast" | "automation" | "notification";
25075
25124
  preheader: string | null;
25076
- topic: string;
25125
+ topic: string | null;
25077
25126
  provider_id: string;
25078
25127
  counts: {
25079
25128
  sending: number;
@@ -25116,7 +25165,7 @@ declare const sendingRoutes: {
25116
25165
  subject: string;
25117
25166
  kind: "broadcast" | "automation" | "notification";
25118
25167
  preheader: string | null;
25119
- topic: string;
25168
+ topic: string | null;
25120
25169
  provider_id: string;
25121
25170
  counts: {
25122
25171
  sending: number;
@@ -25173,12 +25222,11 @@ declare const sendingRoutes: {
25173
25222
  name: z.ZodOptional<z.ZodString>;
25174
25223
  subject: z.ZodString;
25175
25224
  preheader: z.ZodOptional<z.ZodString>;
25176
- topic: z.ZodString;
25225
+ topic: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25177
25226
  provider_id: z.ZodString;
25178
25227
  metadata: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodString>, Record<string, string>, Record<string, string>>, Record<string, string>, Record<string, string>>>;
25179
25228
  }, "strip", z.ZodTypeAny, {
25180
25229
  subject: string;
25181
- topic: string;
25182
25230
  provider_id: string;
25183
25231
  metadata?: Record<string, string> | undefined;
25184
25232
  name?: string | undefined;
@@ -25189,9 +25237,9 @@ declare const sendingRoutes: {
25189
25237
  }, z.ZodTypeAny, "passthrough"> | undefined;
25190
25238
  template_id?: string | undefined;
25191
25239
  preheader?: string | undefined;
25240
+ topic?: string | null | undefined;
25192
25241
  }, {
25193
25242
  subject: string;
25194
- topic: string;
25195
25243
  provider_id: string;
25196
25244
  metadata?: Record<string, string> | undefined;
25197
25245
  name?: string | undefined;
@@ -25202,9 +25250,9 @@ declare const sendingRoutes: {
25202
25250
  }, z.ZodTypeAny, "passthrough"> | undefined;
25203
25251
  template_id?: string | undefined;
25204
25252
  preheader?: string | undefined;
25253
+ topic?: string | null | undefined;
25205
25254
  }>, {
25206
25255
  subject: string;
25207
- topic: string;
25208
25256
  provider_id: string;
25209
25257
  metadata?: Record<string, string> | undefined;
25210
25258
  name?: string | undefined;
@@ -25215,9 +25263,9 @@ declare const sendingRoutes: {
25215
25263
  }, z.ZodTypeAny, "passthrough"> | undefined;
25216
25264
  template_id?: string | undefined;
25217
25265
  preheader?: string | undefined;
25266
+ topic?: string | null | undefined;
25218
25267
  }, {
25219
25268
  subject: string;
25220
- topic: string;
25221
25269
  provider_id: string;
25222
25270
  metadata?: Record<string, string> | undefined;
25223
25271
  name?: string | undefined;
@@ -25228,6 +25276,7 @@ declare const sendingRoutes: {
25228
25276
  }, z.ZodTypeAny, "passthrough"> | undefined;
25229
25277
  template_id?: string | undefined;
25230
25278
  preheader?: string | undefined;
25279
+ topic?: string | null | undefined;
25231
25280
  }>;
25232
25281
  readonly response: z.ZodObject<{
25233
25282
  id: z.ZodString;
@@ -25249,7 +25298,7 @@ declare const sendingRoutes: {
25249
25298
  metadata: z.ZodRecord<z.ZodString, z.ZodUnknown>;
25250
25299
  sections: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">;
25251
25300
  }, z.ZodTypeAny, "passthrough">>;
25252
- topic: z.ZodString;
25301
+ topic: z.ZodNullable<z.ZodString>;
25253
25302
  provider_id: z.ZodString;
25254
25303
  status: z.ZodEnum<["draft", "scheduled", "sending", "paused", "sent", "partially_failed", "cancelled"]>;
25255
25304
  counts: z.ZodObject<{
@@ -25350,7 +25399,7 @@ declare const sendingRoutes: {
25350
25399
  subject: string;
25351
25400
  kind: "broadcast" | "automation" | "notification";
25352
25401
  preheader: string | null;
25353
- topic: string;
25402
+ topic: string | null;
25354
25403
  provider_id: string;
25355
25404
  counts: {
25356
25405
  sending: number;
@@ -25397,7 +25446,7 @@ declare const sendingRoutes: {
25397
25446
  subject: string;
25398
25447
  kind: "broadcast" | "automation" | "notification";
25399
25448
  preheader: string | null;
25400
- topic: string;
25449
+ topic: string | null;
25401
25450
  provider_id: string;
25402
25451
  counts: {
25403
25452
  sending: number;
@@ -25461,7 +25510,7 @@ declare const sendingRoutes: {
25461
25510
  metadata: z.ZodRecord<z.ZodString, z.ZodUnknown>;
25462
25511
  sections: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">;
25463
25512
  }, z.ZodTypeAny, "passthrough">>;
25464
- topic: z.ZodString;
25513
+ topic: z.ZodNullable<z.ZodString>;
25465
25514
  provider_id: z.ZodString;
25466
25515
  status: z.ZodEnum<["draft", "scheduled", "sending", "paused", "sent", "partially_failed", "cancelled"]>;
25467
25516
  counts: z.ZodObject<{
@@ -25562,7 +25611,7 @@ declare const sendingRoutes: {
25562
25611
  subject: string;
25563
25612
  kind: "broadcast" | "automation" | "notification";
25564
25613
  preheader: string | null;
25565
- topic: string;
25614
+ topic: string | null;
25566
25615
  provider_id: string;
25567
25616
  counts: {
25568
25617
  sending: number;
@@ -25609,7 +25658,7 @@ declare const sendingRoutes: {
25609
25658
  subject: string;
25610
25659
  kind: "broadcast" | "automation" | "notification";
25611
25660
  preheader: string | null;
25612
- topic: string;
25661
+ topic: string | null;
25613
25662
  provider_id: string;
25614
25663
  counts: {
25615
25664
  sending: number;
@@ -25680,7 +25729,7 @@ declare const sendingRoutes: {
25680
25729
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25681
25730
  subject: z.ZodOptional<z.ZodString>;
25682
25731
  preheader: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25683
- topic: z.ZodOptional<z.ZodString>;
25732
+ topic: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25684
25733
  provider_id: z.ZodOptional<z.ZodString>;
25685
25734
  metadata: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodString>, Record<string, string>, Record<string, string>>, Record<string, string>, Record<string, string>>>;
25686
25735
  document: z.ZodOptional<z.ZodObject<{
@@ -25706,7 +25755,7 @@ declare const sendingRoutes: {
25706
25755
  }, z.ZodTypeAny, "passthrough"> | undefined;
25707
25756
  subject?: string | undefined;
25708
25757
  preheader?: string | null | undefined;
25709
- topic?: string | undefined;
25758
+ topic?: string | null | undefined;
25710
25759
  provider_id?: string | undefined;
25711
25760
  }, {
25712
25761
  metadata?: Record<string, string> | undefined;
@@ -25718,7 +25767,7 @@ declare const sendingRoutes: {
25718
25767
  }, z.ZodTypeAny, "passthrough"> | undefined;
25719
25768
  subject?: string | undefined;
25720
25769
  preheader?: string | null | undefined;
25721
- topic?: string | undefined;
25770
+ topic?: string | null | undefined;
25722
25771
  provider_id?: string | undefined;
25723
25772
  }>, {
25724
25773
  metadata?: Record<string, string> | undefined;
@@ -25730,7 +25779,7 @@ declare const sendingRoutes: {
25730
25779
  }, z.ZodTypeAny, "passthrough"> | undefined;
25731
25780
  subject?: string | undefined;
25732
25781
  preheader?: string | null | undefined;
25733
- topic?: string | undefined;
25782
+ topic?: string | null | undefined;
25734
25783
  provider_id?: string | undefined;
25735
25784
  }, {
25736
25785
  metadata?: Record<string, string> | undefined;
@@ -25742,7 +25791,7 @@ declare const sendingRoutes: {
25742
25791
  }, z.ZodTypeAny, "passthrough"> | undefined;
25743
25792
  subject?: string | undefined;
25744
25793
  preheader?: string | null | undefined;
25745
- topic?: string | undefined;
25794
+ topic?: string | null | undefined;
25746
25795
  provider_id?: string | undefined;
25747
25796
  }>;
25748
25797
  readonly response: z.ZodObject<{
@@ -25765,7 +25814,7 @@ declare const sendingRoutes: {
25765
25814
  metadata: z.ZodRecord<z.ZodString, z.ZodUnknown>;
25766
25815
  sections: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">;
25767
25816
  }, z.ZodTypeAny, "passthrough">>;
25768
- topic: z.ZodString;
25817
+ topic: z.ZodNullable<z.ZodString>;
25769
25818
  provider_id: z.ZodString;
25770
25819
  status: z.ZodEnum<["draft", "scheduled", "sending", "paused", "sent", "partially_failed", "cancelled"]>;
25771
25820
  counts: z.ZodObject<{
@@ -25866,7 +25915,7 @@ declare const sendingRoutes: {
25866
25915
  subject: string;
25867
25916
  kind: "broadcast" | "automation" | "notification";
25868
25917
  preheader: string | null;
25869
- topic: string;
25918
+ topic: string | null;
25870
25919
  provider_id: string;
25871
25920
  counts: {
25872
25921
  sending: number;
@@ -25913,7 +25962,7 @@ declare const sendingRoutes: {
25913
25962
  subject: string;
25914
25963
  kind: "broadcast" | "automation" | "notification";
25915
25964
  preheader: string | null;
25916
- topic: string;
25965
+ topic: string | null;
25917
25966
  provider_id: string;
25918
25967
  counts: {
25919
25968
  sending: number;
@@ -26202,7 +26251,7 @@ declare const sendingRoutes: {
26202
26251
  metadata: z.ZodRecord<z.ZodString, z.ZodUnknown>;
26203
26252
  sections: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">;
26204
26253
  }, z.ZodTypeAny, "passthrough">>;
26205
- topic: z.ZodString;
26254
+ topic: z.ZodNullable<z.ZodString>;
26206
26255
  provider_id: z.ZodString;
26207
26256
  status: z.ZodEnum<["draft", "scheduled", "sending", "paused", "sent", "partially_failed", "cancelled"]>;
26208
26257
  counts: z.ZodObject<{
@@ -26303,7 +26352,7 @@ declare const sendingRoutes: {
26303
26352
  subject: string;
26304
26353
  kind: "broadcast" | "automation" | "notification";
26305
26354
  preheader: string | null;
26306
- topic: string;
26355
+ topic: string | null;
26307
26356
  provider_id: string;
26308
26357
  counts: {
26309
26358
  sending: number;
@@ -26350,7 +26399,7 @@ declare const sendingRoutes: {
26350
26399
  subject: string;
26351
26400
  kind: "broadcast" | "automation" | "notification";
26352
26401
  preheader: string | null;
26353
- topic: string;
26402
+ topic: string | null;
26354
26403
  provider_id: string;
26355
26404
  counts: {
26356
26405
  sending: number;
@@ -26415,7 +26464,7 @@ declare const sendingRoutes: {
26415
26464
  metadata: z.ZodRecord<z.ZodString, z.ZodUnknown>;
26416
26465
  sections: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">;
26417
26466
  }, z.ZodTypeAny, "passthrough">>;
26418
- topic: z.ZodString;
26467
+ topic: z.ZodNullable<z.ZodString>;
26419
26468
  provider_id: z.ZodString;
26420
26469
  status: z.ZodEnum<["draft", "scheduled", "sending", "paused", "sent", "partially_failed", "cancelled"]>;
26421
26470
  counts: z.ZodObject<{
@@ -26516,7 +26565,7 @@ declare const sendingRoutes: {
26516
26565
  subject: string;
26517
26566
  kind: "broadcast" | "automation" | "notification";
26518
26567
  preheader: string | null;
26519
- topic: string;
26568
+ topic: string | null;
26520
26569
  provider_id: string;
26521
26570
  counts: {
26522
26571
  sending: number;
@@ -26563,7 +26612,7 @@ declare const sendingRoutes: {
26563
26612
  subject: string;
26564
26613
  kind: "broadcast" | "automation" | "notification";
26565
26614
  preheader: string | null;
26566
- topic: string;
26615
+ topic: string | null;
26567
26616
  provider_id: string;
26568
26617
  counts: {
26569
26618
  sending: number;
@@ -26628,7 +26677,7 @@ declare const sendingRoutes: {
26628
26677
  metadata: z.ZodRecord<z.ZodString, z.ZodUnknown>;
26629
26678
  sections: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">;
26630
26679
  }, z.ZodTypeAny, "passthrough">>;
26631
- topic: z.ZodString;
26680
+ topic: z.ZodNullable<z.ZodString>;
26632
26681
  provider_id: z.ZodString;
26633
26682
  status: z.ZodEnum<["draft", "scheduled", "sending", "paused", "sent", "partially_failed", "cancelled"]>;
26634
26683
  counts: z.ZodObject<{
@@ -26729,7 +26778,7 @@ declare const sendingRoutes: {
26729
26778
  subject: string;
26730
26779
  kind: "broadcast" | "automation" | "notification";
26731
26780
  preheader: string | null;
26732
- topic: string;
26781
+ topic: string | null;
26733
26782
  provider_id: string;
26734
26783
  counts: {
26735
26784
  sending: number;
@@ -26776,7 +26825,7 @@ declare const sendingRoutes: {
26776
26825
  subject: string;
26777
26826
  kind: "broadcast" | "automation" | "notification";
26778
26827
  preheader: string | null;
26779
- topic: string;
26828
+ topic: string | null;
26780
26829
  provider_id: string;
26781
26830
  counts: {
26782
26831
  sending: number;
@@ -26841,7 +26890,7 @@ declare const sendingRoutes: {
26841
26890
  metadata: z.ZodRecord<z.ZodString, z.ZodUnknown>;
26842
26891
  sections: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">;
26843
26892
  }, z.ZodTypeAny, "passthrough">>;
26844
- topic: z.ZodString;
26893
+ topic: z.ZodNullable<z.ZodString>;
26845
26894
  provider_id: z.ZodString;
26846
26895
  status: z.ZodEnum<["draft", "scheduled", "sending", "paused", "sent", "partially_failed", "cancelled"]>;
26847
26896
  counts: z.ZodObject<{
@@ -26942,7 +26991,7 @@ declare const sendingRoutes: {
26942
26991
  subject: string;
26943
26992
  kind: "broadcast" | "automation" | "notification";
26944
26993
  preheader: string | null;
26945
- topic: string;
26994
+ topic: string | null;
26946
26995
  provider_id: string;
26947
26996
  counts: {
26948
26997
  sending: number;
@@ -26989,7 +27038,7 @@ declare const sendingRoutes: {
26989
27038
  subject: string;
26990
27039
  kind: "broadcast" | "automation" | "notification";
26991
27040
  preheader: string | null;
26992
- topic: string;
27041
+ topic: string | null;
26993
27042
  provider_id: string;
26994
27043
  counts: {
26995
27044
  sending: number;
@@ -27060,7 +27109,7 @@ declare const sendingRoutes: {
27060
27109
  metadata: z.ZodRecord<z.ZodString, z.ZodUnknown>;
27061
27110
  sections: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">;
27062
27111
  }, z.ZodTypeAny, "passthrough">>;
27063
- topic: z.ZodString;
27112
+ topic: z.ZodNullable<z.ZodString>;
27064
27113
  provider_id: z.ZodString;
27065
27114
  status: z.ZodEnum<["draft", "scheduled", "sending", "paused", "sent", "partially_failed", "cancelled"]>;
27066
27115
  counts: z.ZodObject<{
@@ -27161,7 +27210,7 @@ declare const sendingRoutes: {
27161
27210
  subject: string;
27162
27211
  kind: "broadcast" | "automation" | "notification";
27163
27212
  preheader: string | null;
27164
- topic: string;
27213
+ topic: string | null;
27165
27214
  provider_id: string;
27166
27215
  counts: {
27167
27216
  sending: number;
@@ -27208,7 +27257,7 @@ declare const sendingRoutes: {
27208
27257
  subject: string;
27209
27258
  kind: "broadcast" | "automation" | "notification";
27210
27259
  preheader: string | null;
27211
- topic: string;
27260
+ topic: string | null;
27212
27261
  provider_id: string;
27213
27262
  counts: {
27214
27263
  sending: number;
@@ -27279,7 +27328,7 @@ declare const sendingRoutes: {
27279
27328
  metadata: z.ZodRecord<z.ZodString, z.ZodUnknown>;
27280
27329
  sections: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">;
27281
27330
  }, z.ZodTypeAny, "passthrough">>;
27282
- topic: z.ZodString;
27331
+ topic: z.ZodNullable<z.ZodString>;
27283
27332
  provider_id: z.ZodString;
27284
27333
  status: z.ZodEnum<["draft", "scheduled", "sending", "paused", "sent", "partially_failed", "cancelled"]>;
27285
27334
  counts: z.ZodObject<{
@@ -27380,7 +27429,7 @@ declare const sendingRoutes: {
27380
27429
  subject: string;
27381
27430
  kind: "broadcast" | "automation" | "notification";
27382
27431
  preheader: string | null;
27383
- topic: string;
27432
+ topic: string | null;
27384
27433
  provider_id: string;
27385
27434
  counts: {
27386
27435
  sending: number;
@@ -27427,7 +27476,7 @@ declare const sendingRoutes: {
27427
27476
  subject: string;
27428
27477
  kind: "broadcast" | "automation" | "notification";
27429
27478
  preheader: string | null;
27430
- topic: string;
27479
+ topic: string | null;
27431
27480
  provider_id: string;
27432
27481
  counts: {
27433
27482
  sending: number;
@@ -28727,7 +28776,7 @@ declare const platformRoutes: {
28727
28776
  metadata: z.ZodRecord<z.ZodString, z.ZodUnknown>;
28728
28777
  sections: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">;
28729
28778
  }, z.ZodTypeAny, "passthrough">>;
28730
- topic: z.ZodString;
28779
+ topic: z.ZodNullable<z.ZodString>;
28731
28780
  provider_id: z.ZodString;
28732
28781
  status: z.ZodEnum<["draft", "scheduled", "sending", "paused", "sent", "partially_failed", "cancelled"]>;
28733
28782
  counts: z.ZodObject<{
@@ -28828,7 +28877,7 @@ declare const platformRoutes: {
28828
28877
  subject: string;
28829
28878
  kind: "broadcast" | "automation" | "notification";
28830
28879
  preheader: string | null;
28831
- topic: string;
28880
+ topic: string | null;
28832
28881
  provider_id: string;
28833
28882
  counts: {
28834
28883
  sending: number;
@@ -28875,7 +28924,7 @@ declare const platformRoutes: {
28875
28924
  subject: string;
28876
28925
  kind: "broadcast" | "automation" | "notification";
28877
28926
  preheader: string | null;
28878
- topic: string;
28927
+ topic: string | null;
28879
28928
  provider_id: string;
28880
28929
  counts: {
28881
28930
  sending: number;
@@ -28941,7 +28990,7 @@ declare const platformRoutes: {
28941
28990
  metadata: z.ZodRecord<z.ZodString, z.ZodUnknown>;
28942
28991
  sections: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">;
28943
28992
  }, z.ZodTypeAny, "passthrough">>;
28944
- topic: z.ZodString;
28993
+ topic: z.ZodNullable<z.ZodString>;
28945
28994
  provider_id: z.ZodString;
28946
28995
  status: z.ZodEnum<["draft", "scheduled", "sending", "paused", "sent", "partially_failed", "cancelled"]>;
28947
28996
  counts: z.ZodObject<{
@@ -29042,7 +29091,7 @@ declare const platformRoutes: {
29042
29091
  subject: string;
29043
29092
  kind: "broadcast" | "automation" | "notification";
29044
29093
  preheader: string | null;
29045
- topic: string;
29094
+ topic: string | null;
29046
29095
  provider_id: string;
29047
29096
  counts: {
29048
29097
  sending: number;
@@ -29089,7 +29138,7 @@ declare const platformRoutes: {
29089
29138
  subject: string;
29090
29139
  kind: "broadcast" | "automation" | "notification";
29091
29140
  preheader: string | null;
29092
- topic: string;
29141
+ topic: string | null;
29093
29142
  provider_id: string;
29094
29143
  counts: {
29095
29144
  sending: number;
@@ -29275,7 +29324,7 @@ declare const platformRoutes: {
29275
29324
  metadata: z.ZodRecord<z.ZodString, z.ZodUnknown>;
29276
29325
  sections: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">;
29277
29326
  }, z.ZodTypeAny, "passthrough">>;
29278
- topic: z.ZodString;
29327
+ topic: z.ZodNullable<z.ZodString>;
29279
29328
  provider_id: z.ZodString;
29280
29329
  status: z.ZodEnum<["draft", "scheduled", "sending", "paused", "sent", "partially_failed", "cancelled"]>;
29281
29330
  counts: z.ZodObject<{
@@ -29376,7 +29425,7 @@ declare const platformRoutes: {
29376
29425
  subject: string;
29377
29426
  kind: "broadcast" | "automation" | "notification";
29378
29427
  preheader: string | null;
29379
- topic: string;
29428
+ topic: string | null;
29380
29429
  provider_id: string;
29381
29430
  counts: {
29382
29431
  sending: number;
@@ -29423,7 +29472,7 @@ declare const platformRoutes: {
29423
29472
  subject: string;
29424
29473
  kind: "broadcast" | "automation" | "notification";
29425
29474
  preheader: string | null;
29426
- topic: string;
29475
+ topic: string | null;
29427
29476
  provider_id: string;
29428
29477
  counts: {
29429
29478
  sending: number;
@@ -29487,7 +29536,7 @@ declare const platformRoutes: {
29487
29536
  metadata: z.ZodRecord<z.ZodString, z.ZodUnknown>;
29488
29537
  sections: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">;
29489
29538
  }, z.ZodTypeAny, "passthrough">>;
29490
- topic: z.ZodString;
29539
+ topic: z.ZodNullable<z.ZodString>;
29491
29540
  provider_id: z.ZodString;
29492
29541
  status: z.ZodEnum<["draft", "scheduled", "sending", "paused", "sent", "partially_failed", "cancelled"]>;
29493
29542
  counts: z.ZodObject<{
@@ -29588,7 +29637,7 @@ declare const platformRoutes: {
29588
29637
  subject: string;
29589
29638
  kind: "broadcast" | "automation" | "notification";
29590
29639
  preheader: string | null;
29591
- topic: string;
29640
+ topic: string | null;
29592
29641
  provider_id: string;
29593
29642
  counts: {
29594
29643
  sending: number;
@@ -29635,7 +29684,7 @@ declare const platformRoutes: {
29635
29684
  subject: string;
29636
29685
  kind: "broadcast" | "automation" | "notification";
29637
29686
  preheader: string | null;
29638
- topic: string;
29687
+ topic: string | null;
29639
29688
  provider_id: string;
29640
29689
  counts: {
29641
29690
  sending: number;
@@ -29707,7 +29756,7 @@ declare const platformRoutes: {
29707
29756
  metadata: z.ZodRecord<z.ZodString, z.ZodUnknown>;
29708
29757
  sections: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">;
29709
29758
  }, z.ZodTypeAny, "passthrough">>;
29710
- topic: z.ZodString;
29759
+ topic: z.ZodNullable<z.ZodString>;
29711
29760
  provider_id: z.ZodString;
29712
29761
  status: z.ZodEnum<["draft", "scheduled", "sending", "paused", "sent", "partially_failed", "cancelled"]>;
29713
29762
  counts: z.ZodObject<{
@@ -29808,7 +29857,7 @@ declare const platformRoutes: {
29808
29857
  subject: string;
29809
29858
  kind: "broadcast" | "automation" | "notification";
29810
29859
  preheader: string | null;
29811
- topic: string;
29860
+ topic: string | null;
29812
29861
  provider_id: string;
29813
29862
  counts: {
29814
29863
  sending: number;
@@ -29855,7 +29904,7 @@ declare const platformRoutes: {
29855
29904
  subject: string;
29856
29905
  kind: "broadcast" | "automation" | "notification";
29857
29906
  preheader: string | null;
29858
- topic: string;
29907
+ topic: string | null;
29859
29908
  provider_id: string;
29860
29909
  counts: {
29861
29910
  sending: number;
@@ -64711,7 +64760,7 @@ declare const routes: {
64711
64760
  metadata: z.ZodRecord<z.ZodString, z.ZodUnknown>;
64712
64761
  sections: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">;
64713
64762
  }, z.ZodTypeAny, "passthrough">>;
64714
- topic: z.ZodString;
64763
+ topic: z.ZodNullable<z.ZodString>;
64715
64764
  provider_id: z.ZodString;
64716
64765
  status: z.ZodEnum<["draft", "scheduled", "sending", "paused", "sent", "partially_failed", "cancelled"]>;
64717
64766
  counts: z.ZodObject<{
@@ -64812,7 +64861,7 @@ declare const routes: {
64812
64861
  subject: string;
64813
64862
  kind: "broadcast" | "automation" | "notification";
64814
64863
  preheader: string | null;
64815
- topic: string;
64864
+ topic: string | null;
64816
64865
  provider_id: string;
64817
64866
  counts: {
64818
64867
  sending: number;
@@ -64859,7 +64908,7 @@ declare const routes: {
64859
64908
  subject: string;
64860
64909
  kind: "broadcast" | "automation" | "notification";
64861
64910
  preheader: string | null;
64862
- topic: string;
64911
+ topic: string | null;
64863
64912
  provider_id: string;
64864
64913
  counts: {
64865
64914
  sending: number;
@@ -64925,7 +64974,7 @@ declare const routes: {
64925
64974
  metadata: z.ZodRecord<z.ZodString, z.ZodUnknown>;
64926
64975
  sections: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">;
64927
64976
  }, z.ZodTypeAny, "passthrough">>;
64928
- topic: z.ZodString;
64977
+ topic: z.ZodNullable<z.ZodString>;
64929
64978
  provider_id: z.ZodString;
64930
64979
  status: z.ZodEnum<["draft", "scheduled", "sending", "paused", "sent", "partially_failed", "cancelled"]>;
64931
64980
  counts: z.ZodObject<{
@@ -65026,7 +65075,7 @@ declare const routes: {
65026
65075
  subject: string;
65027
65076
  kind: "broadcast" | "automation" | "notification";
65028
65077
  preheader: string | null;
65029
- topic: string;
65078
+ topic: string | null;
65030
65079
  provider_id: string;
65031
65080
  counts: {
65032
65081
  sending: number;
@@ -65073,7 +65122,7 @@ declare const routes: {
65073
65122
  subject: string;
65074
65123
  kind: "broadcast" | "automation" | "notification";
65075
65124
  preheader: string | null;
65076
- topic: string;
65125
+ topic: string | null;
65077
65126
  provider_id: string;
65078
65127
  counts: {
65079
65128
  sending: number;
@@ -65259,7 +65308,7 @@ declare const routes: {
65259
65308
  metadata: z.ZodRecord<z.ZodString, z.ZodUnknown>;
65260
65309
  sections: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">;
65261
65310
  }, z.ZodTypeAny, "passthrough">>;
65262
- topic: z.ZodString;
65311
+ topic: z.ZodNullable<z.ZodString>;
65263
65312
  provider_id: z.ZodString;
65264
65313
  status: z.ZodEnum<["draft", "scheduled", "sending", "paused", "sent", "partially_failed", "cancelled"]>;
65265
65314
  counts: z.ZodObject<{
@@ -65360,7 +65409,7 @@ declare const routes: {
65360
65409
  subject: string;
65361
65410
  kind: "broadcast" | "automation" | "notification";
65362
65411
  preheader: string | null;
65363
- topic: string;
65412
+ topic: string | null;
65364
65413
  provider_id: string;
65365
65414
  counts: {
65366
65415
  sending: number;
@@ -65407,7 +65456,7 @@ declare const routes: {
65407
65456
  subject: string;
65408
65457
  kind: "broadcast" | "automation" | "notification";
65409
65458
  preheader: string | null;
65410
- topic: string;
65459
+ topic: string | null;
65411
65460
  provider_id: string;
65412
65461
  counts: {
65413
65462
  sending: number;
@@ -65471,7 +65520,7 @@ declare const routes: {
65471
65520
  metadata: z.ZodRecord<z.ZodString, z.ZodUnknown>;
65472
65521
  sections: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">;
65473
65522
  }, z.ZodTypeAny, "passthrough">>;
65474
- topic: z.ZodString;
65523
+ topic: z.ZodNullable<z.ZodString>;
65475
65524
  provider_id: z.ZodString;
65476
65525
  status: z.ZodEnum<["draft", "scheduled", "sending", "paused", "sent", "partially_failed", "cancelled"]>;
65477
65526
  counts: z.ZodObject<{
@@ -65572,7 +65621,7 @@ declare const routes: {
65572
65621
  subject: string;
65573
65622
  kind: "broadcast" | "automation" | "notification";
65574
65623
  preheader: string | null;
65575
- topic: string;
65624
+ topic: string | null;
65576
65625
  provider_id: string;
65577
65626
  counts: {
65578
65627
  sending: number;
@@ -65619,7 +65668,7 @@ declare const routes: {
65619
65668
  subject: string;
65620
65669
  kind: "broadcast" | "automation" | "notification";
65621
65670
  preheader: string | null;
65622
- topic: string;
65671
+ topic: string | null;
65623
65672
  provider_id: string;
65624
65673
  counts: {
65625
65674
  sending: number;
@@ -65691,7 +65740,7 @@ declare const routes: {
65691
65740
  metadata: z.ZodRecord<z.ZodString, z.ZodUnknown>;
65692
65741
  sections: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">;
65693
65742
  }, z.ZodTypeAny, "passthrough">>;
65694
- topic: z.ZodString;
65743
+ topic: z.ZodNullable<z.ZodString>;
65695
65744
  provider_id: z.ZodString;
65696
65745
  status: z.ZodEnum<["draft", "scheduled", "sending", "paused", "sent", "partially_failed", "cancelled"]>;
65697
65746
  counts: z.ZodObject<{
@@ -65792,7 +65841,7 @@ declare const routes: {
65792
65841
  subject: string;
65793
65842
  kind: "broadcast" | "automation" | "notification";
65794
65843
  preheader: string | null;
65795
- topic: string;
65844
+ topic: string | null;
65796
65845
  provider_id: string;
65797
65846
  counts: {
65798
65847
  sending: number;
@@ -65839,7 +65888,7 @@ declare const routes: {
65839
65888
  subject: string;
65840
65889
  kind: "broadcast" | "automation" | "notification";
65841
65890
  preheader: string | null;
65842
- topic: string;
65891
+ topic: string | null;
65843
65892
  provider_id: string;
65844
65893
  counts: {
65845
65894
  sending: number;
@@ -70945,6 +70994,28 @@ declare const routes: {
70945
70994
  readonly access: "admin";
70946
70995
  readonly phase: "S2";
70947
70996
  };
70997
+ /** Refused with `conflict` while a mailing or an automation step still uses the topic; subscriptions and suppressions on it go with it. */
70998
+ readonly 'topics.delete': {
70999
+ readonly method: "DELETE";
71000
+ readonly path: "/v1/topics/:id";
71001
+ readonly params: z.ZodObject<{
71002
+ id: z.ZodString;
71003
+ }, "strip", z.ZodTypeAny, {
71004
+ id: string;
71005
+ }, {
71006
+ id: string;
71007
+ }>;
71008
+ readonly response: z.ZodObject<{
71009
+ ok: z.ZodLiteral<true>;
71010
+ }, "strip", z.ZodTypeAny, {
71011
+ ok: true;
71012
+ }, {
71013
+ ok: true;
71014
+ }>;
71015
+ readonly status: 200;
71016
+ readonly access: "admin";
71017
+ readonly phase: "S2";
71018
+ };
70948
71019
  readonly 'contacts.upsert': {
70949
71020
  readonly method: "POST";
70950
71021
  readonly path: "/v1/contacts";
@@ -71556,7 +71627,7 @@ declare const routes: {
71556
71627
  metadata: z.ZodRecord<z.ZodString, z.ZodUnknown>;
71557
71628
  sections: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">;
71558
71629
  }, z.ZodTypeAny, "passthrough">>;
71559
- topic: z.ZodString;
71630
+ topic: z.ZodNullable<z.ZodString>;
71560
71631
  provider_id: z.ZodString;
71561
71632
  status: z.ZodEnum<["draft", "scheduled", "sending", "paused", "sent", "partially_failed", "cancelled"]>;
71562
71633
  counts: z.ZodObject<{
@@ -71650,7 +71721,7 @@ declare const routes: {
71650
71721
  subject: string;
71651
71722
  kind: "broadcast" | "automation" | "notification";
71652
71723
  preheader: string | null;
71653
- topic: string;
71724
+ topic: string | null;
71654
71725
  provider_id: string;
71655
71726
  counts: {
71656
71727
  sending: number;
@@ -71690,7 +71761,7 @@ declare const routes: {
71690
71761
  subject: string;
71691
71762
  kind: "broadcast" | "automation" | "notification";
71692
71763
  preheader: string | null;
71693
- topic: string;
71764
+ topic: string | null;
71694
71765
  provider_id: string;
71695
71766
  counts: {
71696
71767
  sending: number;
@@ -71733,7 +71804,7 @@ declare const routes: {
71733
71804
  subject: string;
71734
71805
  kind: "broadcast" | "automation" | "notification";
71735
71806
  preheader: string | null;
71736
- topic: string;
71807
+ topic: string | null;
71737
71808
  provider_id: string;
71738
71809
  counts: {
71739
71810
  sending: number;
@@ -71776,7 +71847,7 @@ declare const routes: {
71776
71847
  subject: string;
71777
71848
  kind: "broadcast" | "automation" | "notification";
71778
71849
  preheader: string | null;
71779
- topic: string;
71850
+ topic: string | null;
71780
71851
  provider_id: string;
71781
71852
  counts: {
71782
71853
  sending: number;
@@ -71833,12 +71904,11 @@ declare const routes: {
71833
71904
  name: z.ZodOptional<z.ZodString>;
71834
71905
  subject: z.ZodString;
71835
71906
  preheader: z.ZodOptional<z.ZodString>;
71836
- topic: z.ZodString;
71907
+ topic: z.ZodOptional<z.ZodNullable<z.ZodString>>;
71837
71908
  provider_id: z.ZodString;
71838
71909
  metadata: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodString>, Record<string, string>, Record<string, string>>, Record<string, string>, Record<string, string>>>;
71839
71910
  }, "strip", z.ZodTypeAny, {
71840
71911
  subject: string;
71841
- topic: string;
71842
71912
  provider_id: string;
71843
71913
  metadata?: Record<string, string> | undefined;
71844
71914
  name?: string | undefined;
@@ -71849,9 +71919,9 @@ declare const routes: {
71849
71919
  }, z.ZodTypeAny, "passthrough"> | undefined;
71850
71920
  template_id?: string | undefined;
71851
71921
  preheader?: string | undefined;
71922
+ topic?: string | null | undefined;
71852
71923
  }, {
71853
71924
  subject: string;
71854
- topic: string;
71855
71925
  provider_id: string;
71856
71926
  metadata?: Record<string, string> | undefined;
71857
71927
  name?: string | undefined;
@@ -71862,9 +71932,9 @@ declare const routes: {
71862
71932
  }, z.ZodTypeAny, "passthrough"> | undefined;
71863
71933
  template_id?: string | undefined;
71864
71934
  preheader?: string | undefined;
71935
+ topic?: string | null | undefined;
71865
71936
  }>, {
71866
71937
  subject: string;
71867
- topic: string;
71868
71938
  provider_id: string;
71869
71939
  metadata?: Record<string, string> | undefined;
71870
71940
  name?: string | undefined;
@@ -71875,9 +71945,9 @@ declare const routes: {
71875
71945
  }, z.ZodTypeAny, "passthrough"> | undefined;
71876
71946
  template_id?: string | undefined;
71877
71947
  preheader?: string | undefined;
71948
+ topic?: string | null | undefined;
71878
71949
  }, {
71879
71950
  subject: string;
71880
- topic: string;
71881
71951
  provider_id: string;
71882
71952
  metadata?: Record<string, string> | undefined;
71883
71953
  name?: string | undefined;
@@ -71888,6 +71958,7 @@ declare const routes: {
71888
71958
  }, z.ZodTypeAny, "passthrough"> | undefined;
71889
71959
  template_id?: string | undefined;
71890
71960
  preheader?: string | undefined;
71961
+ topic?: string | null | undefined;
71891
71962
  }>;
71892
71963
  readonly response: z.ZodObject<{
71893
71964
  id: z.ZodString;
@@ -71909,7 +71980,7 @@ declare const routes: {
71909
71980
  metadata: z.ZodRecord<z.ZodString, z.ZodUnknown>;
71910
71981
  sections: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">;
71911
71982
  }, z.ZodTypeAny, "passthrough">>;
71912
- topic: z.ZodString;
71983
+ topic: z.ZodNullable<z.ZodString>;
71913
71984
  provider_id: z.ZodString;
71914
71985
  status: z.ZodEnum<["draft", "scheduled", "sending", "paused", "sent", "partially_failed", "cancelled"]>;
71915
71986
  counts: z.ZodObject<{
@@ -72010,7 +72081,7 @@ declare const routes: {
72010
72081
  subject: string;
72011
72082
  kind: "broadcast" | "automation" | "notification";
72012
72083
  preheader: string | null;
72013
- topic: string;
72084
+ topic: string | null;
72014
72085
  provider_id: string;
72015
72086
  counts: {
72016
72087
  sending: number;
@@ -72057,7 +72128,7 @@ declare const routes: {
72057
72128
  subject: string;
72058
72129
  kind: "broadcast" | "automation" | "notification";
72059
72130
  preheader: string | null;
72060
- topic: string;
72131
+ topic: string | null;
72061
72132
  provider_id: string;
72062
72133
  counts: {
72063
72134
  sending: number;
@@ -72121,7 +72192,7 @@ declare const routes: {
72121
72192
  metadata: z.ZodRecord<z.ZodString, z.ZodUnknown>;
72122
72193
  sections: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">;
72123
72194
  }, z.ZodTypeAny, "passthrough">>;
72124
- topic: z.ZodString;
72195
+ topic: z.ZodNullable<z.ZodString>;
72125
72196
  provider_id: z.ZodString;
72126
72197
  status: z.ZodEnum<["draft", "scheduled", "sending", "paused", "sent", "partially_failed", "cancelled"]>;
72127
72198
  counts: z.ZodObject<{
@@ -72222,7 +72293,7 @@ declare const routes: {
72222
72293
  subject: string;
72223
72294
  kind: "broadcast" | "automation" | "notification";
72224
72295
  preheader: string | null;
72225
- topic: string;
72296
+ topic: string | null;
72226
72297
  provider_id: string;
72227
72298
  counts: {
72228
72299
  sending: number;
@@ -72269,7 +72340,7 @@ declare const routes: {
72269
72340
  subject: string;
72270
72341
  kind: "broadcast" | "automation" | "notification";
72271
72342
  preheader: string | null;
72272
- topic: string;
72343
+ topic: string | null;
72273
72344
  provider_id: string;
72274
72345
  counts: {
72275
72346
  sending: number;
@@ -72340,7 +72411,7 @@ declare const routes: {
72340
72411
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
72341
72412
  subject: z.ZodOptional<z.ZodString>;
72342
72413
  preheader: z.ZodOptional<z.ZodNullable<z.ZodString>>;
72343
- topic: z.ZodOptional<z.ZodString>;
72414
+ topic: z.ZodOptional<z.ZodNullable<z.ZodString>>;
72344
72415
  provider_id: z.ZodOptional<z.ZodString>;
72345
72416
  metadata: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodString>, Record<string, string>, Record<string, string>>, Record<string, string>, Record<string, string>>>;
72346
72417
  document: z.ZodOptional<z.ZodObject<{
@@ -72366,7 +72437,7 @@ declare const routes: {
72366
72437
  }, z.ZodTypeAny, "passthrough"> | undefined;
72367
72438
  subject?: string | undefined;
72368
72439
  preheader?: string | null | undefined;
72369
- topic?: string | undefined;
72440
+ topic?: string | null | undefined;
72370
72441
  provider_id?: string | undefined;
72371
72442
  }, {
72372
72443
  metadata?: Record<string, string> | undefined;
@@ -72378,7 +72449,7 @@ declare const routes: {
72378
72449
  }, z.ZodTypeAny, "passthrough"> | undefined;
72379
72450
  subject?: string | undefined;
72380
72451
  preheader?: string | null | undefined;
72381
- topic?: string | undefined;
72452
+ topic?: string | null | undefined;
72382
72453
  provider_id?: string | undefined;
72383
72454
  }>, {
72384
72455
  metadata?: Record<string, string> | undefined;
@@ -72390,7 +72461,7 @@ declare const routes: {
72390
72461
  }, z.ZodTypeAny, "passthrough"> | undefined;
72391
72462
  subject?: string | undefined;
72392
72463
  preheader?: string | null | undefined;
72393
- topic?: string | undefined;
72464
+ topic?: string | null | undefined;
72394
72465
  provider_id?: string | undefined;
72395
72466
  }, {
72396
72467
  metadata?: Record<string, string> | undefined;
@@ -72402,7 +72473,7 @@ declare const routes: {
72402
72473
  }, z.ZodTypeAny, "passthrough"> | undefined;
72403
72474
  subject?: string | undefined;
72404
72475
  preheader?: string | null | undefined;
72405
- topic?: string | undefined;
72476
+ topic?: string | null | undefined;
72406
72477
  provider_id?: string | undefined;
72407
72478
  }>;
72408
72479
  readonly response: z.ZodObject<{
@@ -72425,7 +72496,7 @@ declare const routes: {
72425
72496
  metadata: z.ZodRecord<z.ZodString, z.ZodUnknown>;
72426
72497
  sections: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">;
72427
72498
  }, z.ZodTypeAny, "passthrough">>;
72428
- topic: z.ZodString;
72499
+ topic: z.ZodNullable<z.ZodString>;
72429
72500
  provider_id: z.ZodString;
72430
72501
  status: z.ZodEnum<["draft", "scheduled", "sending", "paused", "sent", "partially_failed", "cancelled"]>;
72431
72502
  counts: z.ZodObject<{
@@ -72526,7 +72597,7 @@ declare const routes: {
72526
72597
  subject: string;
72527
72598
  kind: "broadcast" | "automation" | "notification";
72528
72599
  preheader: string | null;
72529
- topic: string;
72600
+ topic: string | null;
72530
72601
  provider_id: string;
72531
72602
  counts: {
72532
72603
  sending: number;
@@ -72573,7 +72644,7 @@ declare const routes: {
72573
72644
  subject: string;
72574
72645
  kind: "broadcast" | "automation" | "notification";
72575
72646
  preheader: string | null;
72576
- topic: string;
72647
+ topic: string | null;
72577
72648
  provider_id: string;
72578
72649
  counts: {
72579
72650
  sending: number;
@@ -72862,7 +72933,7 @@ declare const routes: {
72862
72933
  metadata: z.ZodRecord<z.ZodString, z.ZodUnknown>;
72863
72934
  sections: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">;
72864
72935
  }, z.ZodTypeAny, "passthrough">>;
72865
- topic: z.ZodString;
72936
+ topic: z.ZodNullable<z.ZodString>;
72866
72937
  provider_id: z.ZodString;
72867
72938
  status: z.ZodEnum<["draft", "scheduled", "sending", "paused", "sent", "partially_failed", "cancelled"]>;
72868
72939
  counts: z.ZodObject<{
@@ -72963,7 +73034,7 @@ declare const routes: {
72963
73034
  subject: string;
72964
73035
  kind: "broadcast" | "automation" | "notification";
72965
73036
  preheader: string | null;
72966
- topic: string;
73037
+ topic: string | null;
72967
73038
  provider_id: string;
72968
73039
  counts: {
72969
73040
  sending: number;
@@ -73010,7 +73081,7 @@ declare const routes: {
73010
73081
  subject: string;
73011
73082
  kind: "broadcast" | "automation" | "notification";
73012
73083
  preheader: string | null;
73013
- topic: string;
73084
+ topic: string | null;
73014
73085
  provider_id: string;
73015
73086
  counts: {
73016
73087
  sending: number;
@@ -73075,7 +73146,7 @@ declare const routes: {
73075
73146
  metadata: z.ZodRecord<z.ZodString, z.ZodUnknown>;
73076
73147
  sections: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">;
73077
73148
  }, z.ZodTypeAny, "passthrough">>;
73078
- topic: z.ZodString;
73149
+ topic: z.ZodNullable<z.ZodString>;
73079
73150
  provider_id: z.ZodString;
73080
73151
  status: z.ZodEnum<["draft", "scheduled", "sending", "paused", "sent", "partially_failed", "cancelled"]>;
73081
73152
  counts: z.ZodObject<{
@@ -73176,7 +73247,7 @@ declare const routes: {
73176
73247
  subject: string;
73177
73248
  kind: "broadcast" | "automation" | "notification";
73178
73249
  preheader: string | null;
73179
- topic: string;
73250
+ topic: string | null;
73180
73251
  provider_id: string;
73181
73252
  counts: {
73182
73253
  sending: number;
@@ -73223,7 +73294,7 @@ declare const routes: {
73223
73294
  subject: string;
73224
73295
  kind: "broadcast" | "automation" | "notification";
73225
73296
  preheader: string | null;
73226
- topic: string;
73297
+ topic: string | null;
73227
73298
  provider_id: string;
73228
73299
  counts: {
73229
73300
  sending: number;
@@ -73288,7 +73359,7 @@ declare const routes: {
73288
73359
  metadata: z.ZodRecord<z.ZodString, z.ZodUnknown>;
73289
73360
  sections: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">;
73290
73361
  }, z.ZodTypeAny, "passthrough">>;
73291
- topic: z.ZodString;
73362
+ topic: z.ZodNullable<z.ZodString>;
73292
73363
  provider_id: z.ZodString;
73293
73364
  status: z.ZodEnum<["draft", "scheduled", "sending", "paused", "sent", "partially_failed", "cancelled"]>;
73294
73365
  counts: z.ZodObject<{
@@ -73389,7 +73460,7 @@ declare const routes: {
73389
73460
  subject: string;
73390
73461
  kind: "broadcast" | "automation" | "notification";
73391
73462
  preheader: string | null;
73392
- topic: string;
73463
+ topic: string | null;
73393
73464
  provider_id: string;
73394
73465
  counts: {
73395
73466
  sending: number;
@@ -73436,7 +73507,7 @@ declare const routes: {
73436
73507
  subject: string;
73437
73508
  kind: "broadcast" | "automation" | "notification";
73438
73509
  preheader: string | null;
73439
- topic: string;
73510
+ topic: string | null;
73440
73511
  provider_id: string;
73441
73512
  counts: {
73442
73513
  sending: number;
@@ -73501,7 +73572,7 @@ declare const routes: {
73501
73572
  metadata: z.ZodRecord<z.ZodString, z.ZodUnknown>;
73502
73573
  sections: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">;
73503
73574
  }, z.ZodTypeAny, "passthrough">>;
73504
- topic: z.ZodString;
73575
+ topic: z.ZodNullable<z.ZodString>;
73505
73576
  provider_id: z.ZodString;
73506
73577
  status: z.ZodEnum<["draft", "scheduled", "sending", "paused", "sent", "partially_failed", "cancelled"]>;
73507
73578
  counts: z.ZodObject<{
@@ -73602,7 +73673,7 @@ declare const routes: {
73602
73673
  subject: string;
73603
73674
  kind: "broadcast" | "automation" | "notification";
73604
73675
  preheader: string | null;
73605
- topic: string;
73676
+ topic: string | null;
73606
73677
  provider_id: string;
73607
73678
  counts: {
73608
73679
  sending: number;
@@ -73649,7 +73720,7 @@ declare const routes: {
73649
73720
  subject: string;
73650
73721
  kind: "broadcast" | "automation" | "notification";
73651
73722
  preheader: string | null;
73652
- topic: string;
73723
+ topic: string | null;
73653
73724
  provider_id: string;
73654
73725
  counts: {
73655
73726
  sending: number;
@@ -73720,7 +73791,7 @@ declare const routes: {
73720
73791
  metadata: z.ZodRecord<z.ZodString, z.ZodUnknown>;
73721
73792
  sections: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">;
73722
73793
  }, z.ZodTypeAny, "passthrough">>;
73723
- topic: z.ZodString;
73794
+ topic: z.ZodNullable<z.ZodString>;
73724
73795
  provider_id: z.ZodString;
73725
73796
  status: z.ZodEnum<["draft", "scheduled", "sending", "paused", "sent", "partially_failed", "cancelled"]>;
73726
73797
  counts: z.ZodObject<{
@@ -73821,7 +73892,7 @@ declare const routes: {
73821
73892
  subject: string;
73822
73893
  kind: "broadcast" | "automation" | "notification";
73823
73894
  preheader: string | null;
73824
- topic: string;
73895
+ topic: string | null;
73825
73896
  provider_id: string;
73826
73897
  counts: {
73827
73898
  sending: number;
@@ -73868,7 +73939,7 @@ declare const routes: {
73868
73939
  subject: string;
73869
73940
  kind: "broadcast" | "automation" | "notification";
73870
73941
  preheader: string | null;
73871
- topic: string;
73942
+ topic: string | null;
73872
73943
  provider_id: string;
73873
73944
  counts: {
73874
73945
  sending: number;
@@ -73939,7 +74010,7 @@ declare const routes: {
73939
74010
  metadata: z.ZodRecord<z.ZodString, z.ZodUnknown>;
73940
74011
  sections: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">;
73941
74012
  }, z.ZodTypeAny, "passthrough">>;
73942
- topic: z.ZodString;
74013
+ topic: z.ZodNullable<z.ZodString>;
73943
74014
  provider_id: z.ZodString;
73944
74015
  status: z.ZodEnum<["draft", "scheduled", "sending", "paused", "sent", "partially_failed", "cancelled"]>;
73945
74016
  counts: z.ZodObject<{
@@ -74040,7 +74111,7 @@ declare const routes: {
74040
74111
  subject: string;
74041
74112
  kind: "broadcast" | "automation" | "notification";
74042
74113
  preheader: string | null;
74043
- topic: string;
74114
+ topic: string | null;
74044
74115
  provider_id: string;
74045
74116
  counts: {
74046
74117
  sending: number;
@@ -74087,7 +74158,7 @@ declare const routes: {
74087
74158
  subject: string;
74088
74159
  kind: "broadcast" | "automation" | "notification";
74089
74160
  preheader: string | null;
74090
- topic: string;
74161
+ topic: string | null;
74091
74162
  provider_id: string;
74092
74163
  counts: {
74093
74164
  sending: number;
@@ -77142,23 +77213,23 @@ declare const routes: {
77142
77213
  cursor: z.ZodOptional<z.ZodString>;
77143
77214
  limit: z.ZodOptional<z.ZodNumber>;
77144
77215
  } & {
77145
- 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", "topic.created", "topic.updated", "template.created", "template.updated", "template.deleted", "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.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", "automation.created", "automation.updated", "automation.published", "automation.paused", "automation.resumed", "automation.archived", "automation.deleted", "automation.duplicated", "automation.enrolled", "automation.run_ended", "event.recorded"]>>;
77216
+ 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", "topic.created", "topic.updated", "topic.deleted", "template.created", "template.updated", "template.deleted", "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.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", "automation.created", "automation.updated", "automation.published", "automation.paused", "automation.resumed", "automation.archived", "automation.deleted", "automation.duplicated", "automation.enrolled", "automation.run_ended", "event.recorded"]>>;
77146
77217
  target_id: z.ZodOptional<z.ZodString>;
77147
77218
  }, "strip", z.ZodTypeAny, {
77148
77219
  cursor?: string | undefined;
77149
77220
  limit?: number | undefined;
77150
- 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" | "topic.created" | "topic.updated" | "template.created" | "template.updated" | "template.deleted" | "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.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" | "automation.created" | "automation.updated" | "automation.published" | "automation.paused" | "automation.resumed" | "automation.archived" | "automation.deleted" | "automation.duplicated" | "automation.enrolled" | "automation.run_ended" | "event.recorded" | undefined;
77221
+ 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" | "topic.created" | "topic.updated" | "topic.deleted" | "template.created" | "template.updated" | "template.deleted" | "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.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" | "automation.created" | "automation.updated" | "automation.published" | "automation.paused" | "automation.resumed" | "automation.archived" | "automation.deleted" | "automation.duplicated" | "automation.enrolled" | "automation.run_ended" | "event.recorded" | undefined;
77151
77222
  target_id?: string | undefined;
77152
77223
  }, {
77153
77224
  cursor?: string | undefined;
77154
77225
  limit?: number | undefined;
77155
- 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" | "topic.created" | "topic.updated" | "template.created" | "template.updated" | "template.deleted" | "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.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" | "automation.created" | "automation.updated" | "automation.published" | "automation.paused" | "automation.resumed" | "automation.archived" | "automation.deleted" | "automation.duplicated" | "automation.enrolled" | "automation.run_ended" | "event.recorded" | undefined;
77226
+ 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" | "topic.created" | "topic.updated" | "topic.deleted" | "template.created" | "template.updated" | "template.deleted" | "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.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" | "automation.created" | "automation.updated" | "automation.published" | "automation.paused" | "automation.resumed" | "automation.archived" | "automation.deleted" | "automation.duplicated" | "automation.enrolled" | "automation.run_ended" | "event.recorded" | undefined;
77156
77227
  target_id?: string | undefined;
77157
77228
  }>;
77158
77229
  readonly response: z.ZodObject<{
77159
77230
  data: z.ZodArray<z.ZodObject<{
77160
77231
  id: z.ZodString;
77161
- 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", "topic.created", "topic.updated", "template.created", "template.updated", "template.deleted", "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.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", "automation.created", "automation.updated", "automation.published", "automation.paused", "automation.resumed", "automation.archived", "automation.deleted", "automation.duplicated", "automation.enrolled", "automation.run_ended", "event.recorded"]>;
77232
+ 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", "topic.created", "topic.updated", "topic.deleted", "template.created", "template.updated", "template.deleted", "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.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", "automation.created", "automation.updated", "automation.published", "automation.paused", "automation.resumed", "automation.archived", "automation.deleted", "automation.duplicated", "automation.enrolled", "automation.run_ended", "event.recorded"]>;
77162
77233
  actor: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
77163
77234
  type: z.ZodLiteral<"member">;
77164
77235
  member_id: z.ZodString;
@@ -77201,7 +77272,7 @@ declare const routes: {
77201
77272
  id: string;
77202
77273
  details: Record<string, unknown>;
77203
77274
  created_at: string;
77204
- 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" | "topic.created" | "topic.updated" | "template.created" | "template.updated" | "template.deleted" | "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.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" | "automation.created" | "automation.updated" | "automation.published" | "automation.paused" | "automation.resumed" | "automation.archived" | "automation.deleted" | "automation.duplicated" | "automation.enrolled" | "automation.run_ended" | "event.recorded";
77275
+ 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" | "topic.created" | "topic.updated" | "topic.deleted" | "template.created" | "template.updated" | "template.deleted" | "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.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" | "automation.created" | "automation.updated" | "automation.published" | "automation.paused" | "automation.resumed" | "automation.archived" | "automation.deleted" | "automation.duplicated" | "automation.enrolled" | "automation.run_ended" | "event.recorded";
77205
77276
  actor: {
77206
77277
  type: "member";
77207
77278
  subject: string;
@@ -77220,7 +77291,7 @@ declare const routes: {
77220
77291
  id: string;
77221
77292
  details: Record<string, unknown>;
77222
77293
  created_at: string;
77223
- 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" | "topic.created" | "topic.updated" | "template.created" | "template.updated" | "template.deleted" | "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.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" | "automation.created" | "automation.updated" | "automation.published" | "automation.paused" | "automation.resumed" | "automation.archived" | "automation.deleted" | "automation.duplicated" | "automation.enrolled" | "automation.run_ended" | "event.recorded";
77294
+ 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" | "topic.created" | "topic.updated" | "topic.deleted" | "template.created" | "template.updated" | "template.deleted" | "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.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" | "automation.created" | "automation.updated" | "automation.published" | "automation.paused" | "automation.resumed" | "automation.archived" | "automation.deleted" | "automation.duplicated" | "automation.enrolled" | "automation.run_ended" | "event.recorded";
77224
77295
  actor: {
77225
77296
  type: "member";
77226
77297
  subject: string;
@@ -77242,7 +77313,7 @@ declare const routes: {
77242
77313
  id: string;
77243
77314
  details: Record<string, unknown>;
77244
77315
  created_at: string;
77245
- 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" | "topic.created" | "topic.updated" | "template.created" | "template.updated" | "template.deleted" | "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.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" | "automation.created" | "automation.updated" | "automation.published" | "automation.paused" | "automation.resumed" | "automation.archived" | "automation.deleted" | "automation.duplicated" | "automation.enrolled" | "automation.run_ended" | "event.recorded";
77316
+ 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" | "topic.created" | "topic.updated" | "topic.deleted" | "template.created" | "template.updated" | "template.deleted" | "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.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" | "automation.created" | "automation.updated" | "automation.published" | "automation.paused" | "automation.resumed" | "automation.archived" | "automation.deleted" | "automation.duplicated" | "automation.enrolled" | "automation.run_ended" | "event.recorded";
77246
77317
  actor: {
77247
77318
  type: "member";
77248
77319
  subject: string;
@@ -77264,7 +77335,7 @@ declare const routes: {
77264
77335
  id: string;
77265
77336
  details: Record<string, unknown>;
77266
77337
  created_at: string;
77267
- 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" | "topic.created" | "topic.updated" | "template.created" | "template.updated" | "template.deleted" | "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.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" | "automation.created" | "automation.updated" | "automation.published" | "automation.paused" | "automation.resumed" | "automation.archived" | "automation.deleted" | "automation.duplicated" | "automation.enrolled" | "automation.run_ended" | "event.recorded";
77338
+ 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" | "topic.created" | "topic.updated" | "topic.deleted" | "template.created" | "template.updated" | "template.deleted" | "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.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" | "automation.created" | "automation.updated" | "automation.published" | "automation.paused" | "automation.resumed" | "automation.archived" | "automation.deleted" | "automation.duplicated" | "automation.enrolled" | "automation.run_ended" | "event.recorded";
77268
77339
  actor: {
77269
77340
  type: "member";
77270
77341
  subject: string;
@@ -77320,4 +77391,4 @@ declare function matchRoute(method: HttpMethod, pathname: string): {
77320
77391
  params: Record<string, string>;
77321
77392
  } | null;
77322
77393
 
77323
- export { AB_TEST_STATUSES, AB_WINNER_METRICS, API_KEY_SCOPES, API_VERSION_PREFIX, ASSET_CONTENT_TYPES, ASSET_POLICIES, ASSET_UPLOAD_FIELD, AUDIT_ACTIONS, AUTHORIZATION_HEADER, AUTOMATION_DATE_TRIGGER_KINDS, AUTOMATION_END_REASONS, AUTOMATION_ENTRY_REFUSALS, AUTOMATION_FILTER_FIELD_OPERATORS, AUTOMATION_FILTER_FIELD_PATTERN, AUTOMATION_ISSUE_CODES, AUTOMATION_STATUSES, AUTOMATION_STEP_KINDS, AUTOMATION_TRIGGER_KINDS, AUTOMATION_WAIT_REASONS, AbTestConfig, AbTestState, AbVariant, AbWinnerRequest, ApiKey, ApiKeyCreate, ApiKeyCreated, ApiKeyScope, Asset, AssetContentType, AssetHost, AssetImport, AssetPolicy, AuditAction, AuditActor, AuditEntry, AuditQuery, Automation, AutomationCounts, AutomationCreate, type AutomationDateTriggerKind, AutomationDuplicateRequest, AutomationEndReason, AutomationEnrollRequest, AutomationEnrollResult, AutomationEnrollment, AutomationEntryRefusal, AutomationExitRunRequest, AutomationFilter, AutomationFilterCondition, AutomationFilterField, AutomationFlow, AutomationIssue, AutomationIssueCode, AutomationJourney, AutomationListQuery, AutomationPublishMove, AutomationPublishRequest, AutomationPublishResult, AutomationReport, AutomationRun, AutomationRunCompletedData, AutomationRunExitedData, AutomationRunFailedData, AutomationRunListQuery, AutomationRunParams, AutomationRunStartedData, AutomationRunStatus, AutomationSettings, AutomationStatus, AutomationStep, AutomationStepExecution, AutomationStepKind, AutomationStepParams, AutomationStepReport, AutomationSummary, AutomationTestEmailRequest, AutomationTrigger, AutomationTriggerKind, AutomationUpdate, AutomationValidateRequest, AutomationValidation, AutomationWaitReason, AutomationWebhookData, AutomationWithFlow, BEARER_PREFIX, BILLING_NOT_CONFIGURED_REASON, BoundedAutomationFilter, BoundedSegmentFilter, CONTACT_PROPERTY_TYPES, CatalogPlan, CheckoutRequest, CheckoutSession, CompanyId, CompileMessage, CompileRequest, CompileResult, ConditionStep, Contact, ContactAutomationListQuery, ContactAutomationRun, ContactBouncedData, ContactErased, ContactListQuery, ContactPropertyDefinition, ContactPropertyKey, ContactPropertyParams, ContactPropertyType, ContactResubscribedData, ContactSubscribedData, ContactTaggedData, ContactUnsubscribedData, ContactUpdatedData, ContactUpsert, ContactUpsertResult, DATE_PASSED_ANSWERS, DEFAULT_INVITE_TTL_DAYS, DEFAULT_PAGE_LIMIT, DOCUMENT_SCHEMA_VERSIONS, DateOnly, DatePassedAnswer, DelayStep, DocumentSchemaVersion, EDITABLE_MAILING_STATUSES, ERROR_CODES, ERROR_STATUS, EXPORT_CONTENT_TYPES, EXPORT_FORMATS, EXPORT_WARNINGS_HEADER, EXPORT_WARNING_COUNT_HEADER, Email, EmailStep, ErrorBody, type ErrorCode, ErrorCodeSchema, Event, EventCreate, EventListQuery, EventName, ExportFormat, FILTER_FIELD_OPERATORS, FILTER_OPERATORS, FilterCondition, FilterField, type FilterLeafProblem, FilterOperator, GotoStep, HEALTH_PATH, HOSTED_PAGE_LOCALES, type HttpMethod, ICLOUD_SMTP_POLICY, IDEMPOTENCY_KEY_HEADER, IDEMPOTENCY_KEY_MAX_LENGTH, IDEMPOTENCY_KEY_RETENTION_HOURS, IMPORT_FILE_FIELD, IMPORT_ROW_OUTCOMES, IMPORT_SKIP_REASONS, IMPORT_STATUSES, IMPORT_TERMINAL_STATUSES, INVITE_REFUSAL_REASONS, INVITE_STATUSES, Id, IdParams, ImportColumnMapping, ImportCommitRequest, ImportFinishedData, ImportJob, ImportMappingRequest, ImportReport, ImportRow, ImportRowListQuery, ImportRowOutcome, ImportSkipReason, ImportStatus, ImportWarning, ImportedAsset, Invite, InviteAccept, InviteAccepted, InviteCreate, InviteCreated, InviteListQuery, type InviteRefusalReason, InviteStatus, JsonValue, LIST_UNSUBSCRIBE_POST_VALUE, MAILING_ACTIONS, MAILING_KINDS, MAILING_STATUSES, MAILING_TRANSITIONS, MAX_ALLOWED_ASSET_HOSTS, MAX_ASSET_BYTES, MAX_DELAY_SECONDS, MAX_DOCUMENT_BYTES, MAX_ENGAGEMENT_DAYS, MAX_EXPORT_WARNINGS_HEADER_LENGTH, MAX_FILTER_DEPTH, MAX_IMPORTED_REMOTE_IMAGES, MAX_IMPORT_BYTES, MAX_IMPORT_ROWS, MAX_IMPORT_URL_LENGTH, MAX_INVITE_TTL_DAYS, MAX_IN_LIST, MAX_MERGE_DEFAULTS, MAX_MERGE_DEFAULT_LENGTH, MAX_MJML_DEPTH, MAX_MJML_ELEMENTS, MAX_MJML_IMPORT_BYTES, MAX_PAGE_LIMIT, MAX_RECIPIENTS_PER_BATCH, MAX_RE_ENTRY_COOLDOWN_SECONDS, MAX_SAVED_SECTIONS, MAX_SPLIT_BRANCHES, MAX_STEPS, MAX_STEP_VISITS, MAX_TRIGGERS, MEMBER_ROLES, MERGE_FIELD_PATTERN, MESSAGE_OUTCOMES, MIN_SPLIT_BRANCHES, MJML_IMPORT_REFUSALS, Mailing, MailingAbWinnerSelectedData, MailingAction, MailingActionRequest, MailingAnalytics, MailingAudienceFromSegment, MailingCounts, MailingCreate, MailingExportQuery, MailingFinishedData, MailingKind, MailingListQuery, MailingMetadata, MailingRetryFailedRequest, MailingScheduleFailedData, MailingScheduleRequest, MailingScheduledData, MailingSendRequest, MailingStartedData, MailingStatus, MailingSummary, MailingTestRequest, MailingTestResult, MailingUpdate, Member, MemberCreate, MemberRole, MemberUpdate, MergeDefaultValue, MergeDefaults, MergeFieldName, type MergeFieldUse, Message, MessageFailedData, MessageListQuery, MessageOutcome, MessageSentData, MessageSummary, type MjmlImportRefusal, NotifyRecipients, NotifyStep, ON_BEHALF_OF_HEADER, ON_BEHALF_OF_MAX_LENGTH, OffsetDays, Ok, type OperationId, PLAN_FEATURES, PLAN_IDS, PROVIDER_KINDS, type Page, PageQuery, type Phase, Plan, type PlanFeature, PlanFeatures, PlanId, PlanLimits, PortalRequest, PortalSession, 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, RETRYABLE_ERRORS, RETRY_AFTER_HEADER, RE_ENTRY_MODES, ReEntryMode, Recipient, RecipientBatch, RecipientBatchResult, RecipientInput, RecipientListQuery, RecipientStatus, RemoteImage, ResendSigningSecret, type ReservedMergeField, type RouteAccess, type RouteBody, type RouteDef, type RouteParams, type RouteQuery, type RouteResponse, type Routes, SIGNUP_FORM_FIELDS, SKIP_REASONS, SMTP_SECURITY, SUBJECT_HEADER, SUPPRESSION_REASONS, SavedSection, SavedSectionBody, SavedSectionCreate, SavedSectionUpdate, Segment, SegmentCreate, SegmentFilter, SegmentPreview, SegmentPreviewRequest, SignupForm, SignupFormCreate, SignupFormEmbed, SignupFormTranslation, SignupSubmission, SkipReason, Slug, SplitBranchKey, SplitStep, StepId, type StepTarget, Subscription, Suppression, SuppressionCreate, SuppressionListQuery, SuppressionReason, TERMINAL_MAILING_STATUSES, Tag, TagAssignment, TagCreate, Template, TemplateCompileRequest, TemplateCreate, TemplateCreatedData, TemplateDeletedData, TemplateDocument, TemplateExportQuery, TemplateImport, TemplateImportPreview, TemplateImportPreviewRequest, TemplateImportResult, TemplateListQuery, TemplateSummary, TemplateUpdate, TemplateUpdatedData, TemplateVersion, TemplateVersionParams, TimeOfDay, Timestamp, TimezoneName, Topic, TopicCreate, TopicUpdate, TrackingSettings, UNSUBSCRIBE_PATH_PREFIX, UNSUBSCRIBE_SOURCES, USAGE_METRICS, USAGE_WARNING_HEADER, USAGE_WARNING_RATIO, type UnsubscribeToken, type UnsubscribeTokenClaims, Usage, UsageMetric, UsageWarning, type UsageWarningHeaderEntry, type ValidationContext, ValidationIssue, 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, alwaysWaits, automationFilterFamily, automationRoutes, billingRoutes, buildPath, canTransition, cycles, defaultSettings, emptyFlow, errorBody, exportFilename, filterConditions, filterDepth, filterFieldFamily, filterLeafProblem, findMergeFields, formatExportWarningsHeader, formatUsageWarningHeader, foundationRoutes, inviteRoutes, isDayEntirelyPast, isPublishable, isRetryableError, matchRoute, missingRequiredMergeFields, nowSeconds, operationsWithAccess, page, parseExportWarningsHeader, parseUsageWarningHeader, platformRoutes, reachable, routes, sendingRoutes, signWebhook, statusForError, stepTargets, stronglyConnected, templateRoutes, testGroupSize, tightLoops, timingSafeEqualString, triggerKey, validateAutomation, verifyWebhook };
77394
+ export { AB_TEST_STATUSES, AB_WINNER_METRICS, API_KEY_SCOPES, API_VERSION_PREFIX, ASSET_CONTENT_TYPES, ASSET_POLICIES, ASSET_UPLOAD_FIELD, AUDIT_ACTIONS, AUTHORIZATION_HEADER, AUTOMATION_DATE_TRIGGER_KINDS, AUTOMATION_END_REASONS, AUTOMATION_ENTRY_REFUSALS, AUTOMATION_FILTER_FIELD_OPERATORS, AUTOMATION_FILTER_FIELD_PATTERN, AUTOMATION_ISSUE_CODES, AUTOMATION_STATUSES, AUTOMATION_STEP_KINDS, AUTOMATION_TRIGGER_KINDS, AUTOMATION_WAIT_REASONS, AbTestConfig, AbTestState, AbVariant, AbWinnerRequest, ApiKey, ApiKeyCreate, ApiKeyCreated, ApiKeyScope, Asset, AssetContentType, AssetHost, AssetImport, AssetPolicy, AuditAction, AuditActor, AuditEntry, AuditQuery, Automation, AutomationCounts, AutomationCreate, type AutomationDateTriggerKind, AutomationDuplicateRequest, AutomationEndReason, AutomationEnrollRequest, AutomationEnrollResult, AutomationEnrollment, AutomationEntryRefusal, AutomationExitRunRequest, AutomationFilter, AutomationFilterCondition, AutomationFilterField, AutomationFlow, AutomationIssue, AutomationIssueCode, AutomationJourney, AutomationListQuery, AutomationPublishMove, AutomationPublishRequest, AutomationPublishResult, AutomationReport, AutomationRun, AutomationRunCompletedData, AutomationRunExitedData, AutomationRunFailedData, AutomationRunListQuery, AutomationRunParams, AutomationRunStartedData, AutomationRunStatus, AutomationSettings, AutomationStatus, AutomationStep, AutomationStepExecution, AutomationStepKind, AutomationStepParams, AutomationStepReport, AutomationSummary, AutomationTestEmailRequest, AutomationTrigger, AutomationTriggerKind, AutomationUpdate, AutomationValidateRequest, AutomationValidation, AutomationWaitReason, AutomationWebhookData, AutomationWithFlow, BEARER_PREFIX, BILLING_NOT_CONFIGURED_REASON, BoundedAutomationFilter, BoundedSegmentFilter, CONTACT_PROPERTY_TYPES, CatalogPlan, CheckoutRequest, CheckoutSession, CompanyId, CompileMessage, CompileRequest, CompileResult, ConditionStep, Contact, ContactAutomationListQuery, ContactAutomationRun, ContactBouncedData, ContactErased, ContactListQuery, ContactPropertyDefinition, ContactPropertyKey, ContactPropertyParams, ContactPropertyType, ContactResubscribedData, ContactSubscribedData, ContactTaggedData, ContactUnsubscribedData, ContactUpdatedData, ContactUpsert, ContactUpsertResult, DATE_PASSED_ANSWERS, DEFAULT_INVITE_TTL_DAYS, DEFAULT_PAGE_LIMIT, DOCUMENT_SCHEMA_VERSIONS, DateOnly, DatePassedAnswer, DelayStep, DocumentSchemaVersion, EDITABLE_MAILING_STATUSES, ERROR_CODES, ERROR_STATUS, EXPORT_CONTENT_TYPES, EXPORT_FORMATS, EXPORT_WARNINGS_HEADER, EXPORT_WARNING_COUNT_HEADER, Email, EmailStep, ErrorBody, type ErrorCode, ErrorCodeSchema, Event, EventCreate, EventListQuery, EventName, ExportFormat, FILTER_FIELD_OPERATORS, FILTER_OPERATORS, FilterCondition, FilterField, type FilterLeafProblem, FilterOperator, GotoStep, HEALTH_PATH, HOSTED_PAGE_LOCALES, type HttpMethod, ICLOUD_SMTP_POLICY, IDEMPOTENCY_KEY_HEADER, IDEMPOTENCY_KEY_MAX_LENGTH, IDEMPOTENCY_KEY_RETENTION_HOURS, IMPORT_FILE_FIELD, IMPORT_ROW_OUTCOMES, IMPORT_SKIP_REASONS, IMPORT_STATUSES, IMPORT_TERMINAL_STATUSES, INVITE_REFUSAL_REASONS, INVITE_STATUSES, Id, IdParams, ImportColumnMapping, ImportCommitRequest, ImportFinishedData, ImportJob, ImportMappingRequest, ImportReport, ImportRow, ImportRowListQuery, ImportRowOutcome, ImportSkipReason, ImportStatus, ImportWarning, ImportedAsset, Invite, InviteAccept, InviteAccepted, InviteCreate, InviteCreated, InviteListQuery, type InviteRefusalReason, InviteStatus, JsonValue, LETTER_RECIPIENT_REFUSAL, LIST_UNSUBSCRIBE_POST_VALUE, MAILING_ACTIONS, MAILING_KINDS, MAILING_STATUSES, MAILING_TRANSITIONS, MAX_ALLOWED_ASSET_HOSTS, MAX_ASSET_BYTES, MAX_DELAY_SECONDS, MAX_DOCUMENT_BYTES, MAX_ENGAGEMENT_DAYS, MAX_EXPORT_WARNINGS_HEADER_LENGTH, MAX_FILTER_DEPTH, MAX_IMPORTED_REMOTE_IMAGES, MAX_IMPORT_BYTES, MAX_IMPORT_ROWS, MAX_IMPORT_URL_LENGTH, MAX_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_RECIPIENTS_PER_BATCH, MAX_RE_ENTRY_COOLDOWN_SECONDS, MAX_SAVED_SECTIONS, MAX_SPLIT_BRANCHES, MAX_STEPS, MAX_STEP_VISITS, MAX_TRIGGERS, MEMBER_ROLES, MERGE_FIELD_PATTERN, MESSAGE_OUTCOMES, MIN_SPLIT_BRANCHES, MJML_IMPORT_REFUSALS, Mailing, MailingAbWinnerSelectedData, MailingAction, MailingActionRequest, MailingAnalytics, MailingAudienceFromSegment, MailingCounts, MailingCreate, MailingExportQuery, MailingFinishedData, MailingKind, MailingListQuery, MailingMetadata, MailingRetryFailedRequest, MailingScheduleFailedData, MailingScheduleRequest, MailingScheduledData, MailingSendRequest, MailingStartedData, MailingStatus, MailingSummary, MailingTestRequest, MailingTestResult, MailingUpdate, Member, MemberCreate, MemberRole, MemberUpdate, MergeDefaultValue, MergeDefaults, MergeFieldName, type MergeFieldUse, Message, MessageFailedData, MessageListQuery, MessageOutcome, MessageSentData, MessageSummary, type MjmlImportRefusal, NotifyRecipients, NotifyStep, ON_BEHALF_OF_HEADER, ON_BEHALF_OF_MAX_LENGTH, OffsetDays, Ok, type OperationId, PLAN_FEATURES, PLAN_IDS, PROVIDER_KINDS, type Page, PageQuery, type Phase, Plan, type PlanFeature, PlanFeatures, PlanId, PlanLimits, PortalRequest, PortalSession, 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, RETRYABLE_ERRORS, RETRY_AFTER_HEADER, RE_ENTRY_MODES, ReEntryMode, Recipient, RecipientBatch, RecipientBatchResult, RecipientInput, RecipientListQuery, RecipientStatus, RemoteImage, ResendSigningSecret, type ReservedMergeField, type RouteAccess, type RouteBody, type RouteDef, type RouteParams, type RouteQuery, type RouteResponse, type Routes, SIGNUP_FORM_FIELDS, SKIP_REASONS, SMTP_SECURITY, SUBJECT_HEADER, SUPPRESSION_REASONS, SavedSection, SavedSectionBody, SavedSectionCreate, SavedSectionUpdate, Segment, SegmentCreate, SegmentFilter, SegmentPreview, SegmentPreviewRequest, SignupForm, SignupFormCreate, SignupFormEmbed, SignupFormTranslation, SignupSubmission, SkipReason, Slug, SplitBranchKey, SplitStep, StepId, type StepTarget, Subscription, Suppression, SuppressionCreate, SuppressionListQuery, SuppressionReason, TERMINAL_MAILING_STATUSES, Tag, TagAssignment, TagCreate, Template, TemplateCompileRequest, TemplateCreate, TemplateCreatedData, TemplateDeletedData, TemplateDocument, TemplateExportQuery, TemplateImport, TemplateImportPreview, TemplateImportPreviewRequest, TemplateImportResult, TemplateListQuery, TemplateSummary, TemplateUpdate, TemplateUpdatedData, TemplateVersion, TemplateVersionParams, TimeOfDay, Timestamp, TimezoneName, Topic, TopicCreate, TopicUpdate, TrackingSettings, UNSUBSCRIBE_PATH_PREFIX, UNSUBSCRIBE_SOURCES, USAGE_METRICS, USAGE_WARNING_HEADER, USAGE_WARNING_RATIO, type UnsubscribeToken, type UnsubscribeTokenClaims, Usage, UsageMetric, UsageWarning, type UsageWarningHeaderEntry, type ValidationContext, ValidationIssue, 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, alwaysWaits, automationFilterFamily, automationRoutes, billingRoutes, buildPath, canTransition, cycles, defaultSettings, emptyFlow, errorBody, exportFilename, filterConditions, filterDepth, filterFieldFamily, filterLeafProblem, findMergeFields, formatExportWarningsHeader, formatUsageWarningHeader, foundationRoutes, inviteRoutes, isDayEntirelyPast, isPublishable, isRetryableError, matchRoute, missingRequiredMergeFields, nowSeconds, operationsWithAccess, page, parseExportWarningsHeader, parseUsageWarningHeader, platformRoutes, reachable, routes, sendingRoutes, signWebhook, statusForError, stepTargets, stronglyConnected, templateRoutes, testGroupSize, tightLoops, timingSafeEqualString, triggerKey, validateAutomation, verifyWebhook };