@marlinjai/mail-contract 0.19.0 → 0.21.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.mts CHANGED
@@ -216,6 +216,14 @@ declare const RETRYABLE_ERRORS: readonly ErrorCode[];
216
216
  * configuration state, not an outage, so retrying does not help.
217
217
  */
218
218
  declare const BILLING_NOT_CONFIGURED_REASON = "billing_not_configured";
219
+ /**
220
+ * `details.reason` of a `service_unavailable` from `domains.search` and
221
+ * `domainOrders.create` while buying domains is not set up on the instance
222
+ * (no registrar token, no Stripe): lasting, like BILLING_NOT_CONFIGURED_REASON.
223
+ */
224
+ declare const DOMAIN_BUYING_NOT_CONFIGURED_REASON = "domain_buying_not_configured";
225
+ /** `details.reason` of the `conflict` when a name's price changed since it was shown; `details.price_cents` is the new one. */
226
+ declare const DOMAIN_PRICE_CHANGED_REASON = "price_changed";
219
227
  /** Whether a refusal may be retried unchanged: a RETRYABLE_ERRORS code, unless its reason is a lasting configuration state. */
220
228
  declare function isRetryableError(code: ErrorCode, details?: Record<string, unknown>): boolean;
221
229
 
@@ -505,7 +513,7 @@ declare const WorkspaceCreate: z.ZodObject<{
505
513
  * processing agreement for its company, of this version (required since
506
514
  * 0.19.0): the workspace processes recipients' data from its first contact.
507
515
  */
508
- accept_terms: z.ZodLiteral<"2026-10-23">;
516
+ accept_terms: z.ZodLiteral<"2026-10-28">;
509
517
  }, "strip", z.ZodTypeAny, {
510
518
  name: string;
511
519
  slug: string;
@@ -514,7 +522,7 @@ declare const WorkspaceCreate: z.ZodObject<{
514
522
  name?: string | null | undefined;
515
523
  };
516
524
  company_id: string;
517
- accept_terms: "2026-10-23";
525
+ accept_terms: "2026-10-28";
518
526
  settings?: {
519
527
  asset_policy?: "any" | "service_only" | undefined;
520
528
  default_locale?: string | undefined;
@@ -532,7 +540,7 @@ declare const WorkspaceCreate: z.ZodObject<{
532
540
  name?: string | null | undefined;
533
541
  };
534
542
  company_id: string;
535
- accept_terms: "2026-10-23";
543
+ accept_terms: "2026-10-28";
536
544
  settings?: {
537
545
  asset_policy?: "any" | "service_only" | undefined;
538
546
  default_locale?: string | undefined;
@@ -1030,8 +1038,8 @@ declare const ApiKeyCreated: z.ZodObject<{
1030
1038
  };
1031
1039
  }>;
1032
1040
  type ApiKeyCreated = z.infer<typeof ApiKeyCreated>;
1033
- declare const AUDIT_ACTIONS: readonly ["workspace.created", "workspace.updated", "workspace.company_changed", "member.added", "member.role_changed", "member.removed", "member.invited", "invite.revoked", "api_key.created", "api_key.revoked", "provider.created", "provider.updated", "provider.deleted", "provider.events_registered", "provider.events_secret_set", "provider.bounces_halted", "provider.anomaly_cleared", "sending_domain.created", "sending_domain.updated", "sending_domain.checked", "sending_domain.records_written", "sending_domain.deleted", "topic.created", "topic.updated", "topic.deleted", "template.created", "template.updated", "template.deleted", "template.inputs_declared", "saved_section.created", "saved_section.updated", "saved_section.deleted", "asset.uploaded", "asset.imported", "contact.erased", "suppression.created", "suppression.deleted", "mailing.created", "mailing.sent", "mailing.paused", "mailing.resumed", "mailing.cancelled", "mailing.deleted", "mailing.retried", "webhook.created", "webhook.updated", "webhook.deleted", "webhook.secret_rotated", "webhook.redelivered", "contact.unsubscribed", "tag.created", "tag.deleted", "tag.assigned", "tag.unassigned", "contact_property.created", "contact_property.deleted", "segment.created", "segment.updated", "segment.deleted", "signup_form.created", "signup_form.updated", "signup_form.deleted", "contact.subscribed", "import.created", "import.mapped", "import.committed", "import.cancelled", "import.finished", "mailing.scheduled", "mailing.unscheduled", "mailing.schedule_failed", "mailing.ab_test_updated", "mailing.ab_winner_selected", "tracking.updated", "billing.checkout_started", "billing.subscription_changed", "billing.exemption_changed", "billing.extra_sending_domains_changed", "automation.created", "automation.updated", "automation.published", "automation.paused", "automation.resumed", "automation.archived", "automation.deleted", "automation.duplicated", "automation.enrolled", "automation.run_ended", "event.recorded"];
1034
- declare const AuditAction: z.ZodEnum<["workspace.created", "workspace.updated", "workspace.company_changed", "member.added", "member.role_changed", "member.removed", "member.invited", "invite.revoked", "api_key.created", "api_key.revoked", "provider.created", "provider.updated", "provider.deleted", "provider.events_registered", "provider.events_secret_set", "provider.bounces_halted", "provider.anomaly_cleared", "sending_domain.created", "sending_domain.updated", "sending_domain.checked", "sending_domain.records_written", "sending_domain.deleted", "topic.created", "topic.updated", "topic.deleted", "template.created", "template.updated", "template.deleted", "template.inputs_declared", "saved_section.created", "saved_section.updated", "saved_section.deleted", "asset.uploaded", "asset.imported", "contact.erased", "suppression.created", "suppression.deleted", "mailing.created", "mailing.sent", "mailing.paused", "mailing.resumed", "mailing.cancelled", "mailing.deleted", "mailing.retried", "webhook.created", "webhook.updated", "webhook.deleted", "webhook.secret_rotated", "webhook.redelivered", "contact.unsubscribed", "tag.created", "tag.deleted", "tag.assigned", "tag.unassigned", "contact_property.created", "contact_property.deleted", "segment.created", "segment.updated", "segment.deleted", "signup_form.created", "signup_form.updated", "signup_form.deleted", "contact.subscribed", "import.created", "import.mapped", "import.committed", "import.cancelled", "import.finished", "mailing.scheduled", "mailing.unscheduled", "mailing.schedule_failed", "mailing.ab_test_updated", "mailing.ab_winner_selected", "tracking.updated", "billing.checkout_started", "billing.subscription_changed", "billing.exemption_changed", "billing.extra_sending_domains_changed", "automation.created", "automation.updated", "automation.published", "automation.paused", "automation.resumed", "automation.archived", "automation.deleted", "automation.duplicated", "automation.enrolled", "automation.run_ended", "event.recorded"]>;
1041
+ declare const AUDIT_ACTIONS: readonly ["workspace.created", "workspace.updated", "workspace.company_changed", "member.added", "member.role_changed", "member.removed", "member.invited", "invite.revoked", "api_key.created", "api_key.revoked", "provider.created", "provider.updated", "provider.deleted", "provider.events_registered", "provider.events_secret_set", "provider.bounces_halted", "provider.anomaly_cleared", "sending_domain.created", "sending_domain.updated", "sending_domain.checked", "sending_domain.records_written", "sending_domain.deleted", "topic.created", "topic.updated", "topic.deleted", "template.created", "template.updated", "template.deleted", "template.inputs_declared", "saved_section.created", "saved_section.updated", "saved_section.deleted", "asset.uploaded", "asset.imported", "contact.erased", "suppression.created", "suppression.deleted", "mailing.created", "mailing.sent", "mailing.paused", "mailing.resumed", "mailing.cancelled", "mailing.deleted", "mailing.retried", "webhook.created", "webhook.updated", "webhook.deleted", "webhook.secret_rotated", "webhook.redelivered", "contact.unsubscribed", "tag.created", "tag.deleted", "tag.assigned", "tag.unassigned", "contact_property.created", "contact_property.deleted", "segment.created", "segment.updated", "segment.deleted", "signup_form.created", "signup_form.updated", "signup_form.deleted", "contact.subscribed", "import.created", "import.mapped", "import.committed", "import.cancelled", "import.finished", "mailing.scheduled", "mailing.unscheduled", "mailing.schedule_failed", "mailing.ab_test_updated", "mailing.ab_winner_selected", "tracking.updated", "billing.checkout_started", "billing.subscription_changed", "billing.exemption_changed", "billing.extra_sending_domains_changed", "billing.terms_accepted", "domain_order.created", "domain_order.paid", "domain_order.registered", "domain_order.ready", "domain_order.needs_attention", "domain_order.refunded", "domain_order.cancelled", "automation.created", "automation.updated", "automation.published", "automation.paused", "automation.resumed", "automation.archived", "automation.deleted", "automation.duplicated", "automation.enrolled", "automation.run_ended", "event.recorded"];
1042
+ declare const AuditAction: z.ZodEnum<["workspace.created", "workspace.updated", "workspace.company_changed", "member.added", "member.role_changed", "member.removed", "member.invited", "invite.revoked", "api_key.created", "api_key.revoked", "provider.created", "provider.updated", "provider.deleted", "provider.events_registered", "provider.events_secret_set", "provider.bounces_halted", "provider.anomaly_cleared", "sending_domain.created", "sending_domain.updated", "sending_domain.checked", "sending_domain.records_written", "sending_domain.deleted", "topic.created", "topic.updated", "topic.deleted", "template.created", "template.updated", "template.deleted", "template.inputs_declared", "saved_section.created", "saved_section.updated", "saved_section.deleted", "asset.uploaded", "asset.imported", "contact.erased", "suppression.created", "suppression.deleted", "mailing.created", "mailing.sent", "mailing.paused", "mailing.resumed", "mailing.cancelled", "mailing.deleted", "mailing.retried", "webhook.created", "webhook.updated", "webhook.deleted", "webhook.secret_rotated", "webhook.redelivered", "contact.unsubscribed", "tag.created", "tag.deleted", "tag.assigned", "tag.unassigned", "contact_property.created", "contact_property.deleted", "segment.created", "segment.updated", "segment.deleted", "signup_form.created", "signup_form.updated", "signup_form.deleted", "contact.subscribed", "import.created", "import.mapped", "import.committed", "import.cancelled", "import.finished", "mailing.scheduled", "mailing.unscheduled", "mailing.schedule_failed", "mailing.ab_test_updated", "mailing.ab_winner_selected", "tracking.updated", "billing.checkout_started", "billing.subscription_changed", "billing.exemption_changed", "billing.extra_sending_domains_changed", "billing.terms_accepted", "domain_order.created", "domain_order.paid", "domain_order.registered", "domain_order.ready", "domain_order.needs_attention", "domain_order.refunded", "domain_order.cancelled", "automation.created", "automation.updated", "automation.published", "automation.paused", "automation.resumed", "automation.archived", "automation.deleted", "automation.duplicated", "automation.enrolled", "automation.run_ended", "event.recorded"]>;
1035
1043
  type AuditAction = z.infer<typeof AuditAction>;
1036
1044
  /**
1037
1045
  * The applications, besides the dashboard, that may act for a signed-in person:
@@ -1044,9 +1052,12 @@ type AuditAction = z.infer<typeof AuditAction>;
1044
1052
  * - `booking`: Lumitra Booking, which connects a host's booking pages to one
1045
1053
  * of the person's workspaces (it lists them, reads the providers, creates a
1046
1054
  * `send` key for itself and revokes that key again).
1055
+ * - `sites`: Lumitra Sites (the website builder with its shop), which connects
1056
+ * a shop to one of its company's workspaces the same way, so a paid order's
1057
+ * buyer gets the order confirmation with the receipt link.
1047
1058
  */
1048
- declare const TRUSTED_APPS: readonly ["booking"];
1049
- declare const TrustedApp: z.ZodEnum<["booking"]>;
1059
+ declare const TRUSTED_APPS: readonly ["booking", "sites"];
1060
+ declare const TrustedApp: z.ZodEnum<["booking", "sites"]>;
1050
1061
  type TrustedApp = z.infer<typeof TrustedApp>;
1051
1062
  declare const AuditActor: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1052
1063
  type: z.ZodLiteral<"member">;
@@ -1057,17 +1068,17 @@ declare const AuditActor: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1057
1068
  * the service set it from the service token the call carried, so it is
1058
1069
  * verified, unlike a key's `on_behalf_of`. Absent for the dashboard.
1059
1070
  */
1060
- app: z.ZodOptional<z.ZodEnum<["booking"]>>;
1071
+ app: z.ZodOptional<z.ZodEnum<["booking", "sites"]>>;
1061
1072
  }, "strip", z.ZodTypeAny, {
1062
1073
  type: "member";
1063
1074
  subject: string;
1064
1075
  member_id: string;
1065
- app?: "booking" | undefined;
1076
+ app?: "booking" | "sites" | undefined;
1066
1077
  }, {
1067
1078
  type: "member";
1068
1079
  subject: string;
1069
1080
  member_id: string;
1070
- app?: "booking" | undefined;
1081
+ app?: "booking" | "sites" | undefined;
1071
1082
  }>, z.ZodObject<{
1072
1083
  type: z.ZodLiteral<"api_key">;
1073
1084
  api_key_id: z.ZodString;
@@ -1098,7 +1109,7 @@ declare const AuditActor: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1098
1109
  type AuditActor = z.infer<typeof AuditActor>;
1099
1110
  declare const AuditEntry: z.ZodObject<{
1100
1111
  id: z.ZodString;
1101
- action: z.ZodEnum<["workspace.created", "workspace.updated", "workspace.company_changed", "member.added", "member.role_changed", "member.removed", "member.invited", "invite.revoked", "api_key.created", "api_key.revoked", "provider.created", "provider.updated", "provider.deleted", "provider.events_registered", "provider.events_secret_set", "provider.bounces_halted", "provider.anomaly_cleared", "sending_domain.created", "sending_domain.updated", "sending_domain.checked", "sending_domain.records_written", "sending_domain.deleted", "topic.created", "topic.updated", "topic.deleted", "template.created", "template.updated", "template.deleted", "template.inputs_declared", "saved_section.created", "saved_section.updated", "saved_section.deleted", "asset.uploaded", "asset.imported", "contact.erased", "suppression.created", "suppression.deleted", "mailing.created", "mailing.sent", "mailing.paused", "mailing.resumed", "mailing.cancelled", "mailing.deleted", "mailing.retried", "webhook.created", "webhook.updated", "webhook.deleted", "webhook.secret_rotated", "webhook.redelivered", "contact.unsubscribed", "tag.created", "tag.deleted", "tag.assigned", "tag.unassigned", "contact_property.created", "contact_property.deleted", "segment.created", "segment.updated", "segment.deleted", "signup_form.created", "signup_form.updated", "signup_form.deleted", "contact.subscribed", "import.created", "import.mapped", "import.committed", "import.cancelled", "import.finished", "mailing.scheduled", "mailing.unscheduled", "mailing.schedule_failed", "mailing.ab_test_updated", "mailing.ab_winner_selected", "tracking.updated", "billing.checkout_started", "billing.subscription_changed", "billing.exemption_changed", "billing.extra_sending_domains_changed", "automation.created", "automation.updated", "automation.published", "automation.paused", "automation.resumed", "automation.archived", "automation.deleted", "automation.duplicated", "automation.enrolled", "automation.run_ended", "event.recorded"]>;
1112
+ action: z.ZodEnum<["workspace.created", "workspace.updated", "workspace.company_changed", "member.added", "member.role_changed", "member.removed", "member.invited", "invite.revoked", "api_key.created", "api_key.revoked", "provider.created", "provider.updated", "provider.deleted", "provider.events_registered", "provider.events_secret_set", "provider.bounces_halted", "provider.anomaly_cleared", "sending_domain.created", "sending_domain.updated", "sending_domain.checked", "sending_domain.records_written", "sending_domain.deleted", "topic.created", "topic.updated", "topic.deleted", "template.created", "template.updated", "template.deleted", "template.inputs_declared", "saved_section.created", "saved_section.updated", "saved_section.deleted", "asset.uploaded", "asset.imported", "contact.erased", "suppression.created", "suppression.deleted", "mailing.created", "mailing.sent", "mailing.paused", "mailing.resumed", "mailing.cancelled", "mailing.deleted", "mailing.retried", "webhook.created", "webhook.updated", "webhook.deleted", "webhook.secret_rotated", "webhook.redelivered", "contact.unsubscribed", "tag.created", "tag.deleted", "tag.assigned", "tag.unassigned", "contact_property.created", "contact_property.deleted", "segment.created", "segment.updated", "segment.deleted", "signup_form.created", "signup_form.updated", "signup_form.deleted", "contact.subscribed", "import.created", "import.mapped", "import.committed", "import.cancelled", "import.finished", "mailing.scheduled", "mailing.unscheduled", "mailing.schedule_failed", "mailing.ab_test_updated", "mailing.ab_winner_selected", "tracking.updated", "billing.checkout_started", "billing.subscription_changed", "billing.exemption_changed", "billing.extra_sending_domains_changed", "billing.terms_accepted", "domain_order.created", "domain_order.paid", "domain_order.registered", "domain_order.ready", "domain_order.needs_attention", "domain_order.refunded", "domain_order.cancelled", "automation.created", "automation.updated", "automation.published", "automation.paused", "automation.resumed", "automation.archived", "automation.deleted", "automation.duplicated", "automation.enrolled", "automation.run_ended", "event.recorded"]>;
1102
1113
  actor: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1103
1114
  type: z.ZodLiteral<"member">;
1104
1115
  member_id: z.ZodString;
@@ -1108,17 +1119,17 @@ declare const AuditEntry: z.ZodObject<{
1108
1119
  * the service set it from the service token the call carried, so it is
1109
1120
  * verified, unlike a key's `on_behalf_of`. Absent for the dashboard.
1110
1121
  */
1111
- app: z.ZodOptional<z.ZodEnum<["booking"]>>;
1122
+ app: z.ZodOptional<z.ZodEnum<["booking", "sites"]>>;
1112
1123
  }, "strip", z.ZodTypeAny, {
1113
1124
  type: "member";
1114
1125
  subject: string;
1115
1126
  member_id: string;
1116
- app?: "booking" | undefined;
1127
+ app?: "booking" | "sites" | undefined;
1117
1128
  }, {
1118
1129
  type: "member";
1119
1130
  subject: string;
1120
1131
  member_id: string;
1121
- app?: "booking" | undefined;
1132
+ app?: "booking" | "sites" | undefined;
1122
1133
  }>, z.ZodObject<{
1123
1134
  type: z.ZodLiteral<"api_key">;
1124
1135
  api_key_id: z.ZodString;
@@ -1154,12 +1165,12 @@ declare const AuditEntry: z.ZodObject<{
1154
1165
  id: string;
1155
1166
  details: Record<string, unknown>;
1156
1167
  created_at: string;
1157
- action: "workspace.created" | "workspace.updated" | "workspace.company_changed" | "member.added" | "member.role_changed" | "member.removed" | "member.invited" | "invite.revoked" | "api_key.created" | "api_key.revoked" | "provider.created" | "provider.updated" | "provider.deleted" | "provider.events_registered" | "provider.events_secret_set" | "provider.bounces_halted" | "provider.anomaly_cleared" | "sending_domain.created" | "sending_domain.updated" | "sending_domain.checked" | "sending_domain.records_written" | "sending_domain.deleted" | "topic.created" | "topic.updated" | "topic.deleted" | "template.created" | "template.updated" | "template.deleted" | "template.inputs_declared" | "saved_section.created" | "saved_section.updated" | "saved_section.deleted" | "asset.uploaded" | "asset.imported" | "contact.erased" | "suppression.created" | "suppression.deleted" | "mailing.created" | "mailing.sent" | "mailing.paused" | "mailing.resumed" | "mailing.cancelled" | "mailing.deleted" | "mailing.retried" | "webhook.created" | "webhook.updated" | "webhook.deleted" | "webhook.secret_rotated" | "webhook.redelivered" | "contact.unsubscribed" | "tag.created" | "tag.deleted" | "tag.assigned" | "tag.unassigned" | "contact_property.created" | "contact_property.deleted" | "segment.created" | "segment.updated" | "segment.deleted" | "signup_form.created" | "signup_form.updated" | "signup_form.deleted" | "contact.subscribed" | "import.created" | "import.mapped" | "import.committed" | "import.cancelled" | "import.finished" | "mailing.scheduled" | "mailing.unscheduled" | "mailing.schedule_failed" | "mailing.ab_test_updated" | "mailing.ab_winner_selected" | "tracking.updated" | "billing.checkout_started" | "billing.subscription_changed" | "billing.exemption_changed" | "billing.extra_sending_domains_changed" | "automation.created" | "automation.updated" | "automation.published" | "automation.paused" | "automation.resumed" | "automation.archived" | "automation.deleted" | "automation.duplicated" | "automation.enrolled" | "automation.run_ended" | "event.recorded";
1168
+ action: "workspace.created" | "workspace.updated" | "workspace.company_changed" | "member.added" | "member.role_changed" | "member.removed" | "member.invited" | "invite.revoked" | "api_key.created" | "api_key.revoked" | "provider.created" | "provider.updated" | "provider.deleted" | "provider.events_registered" | "provider.events_secret_set" | "provider.bounces_halted" | "provider.anomaly_cleared" | "sending_domain.created" | "sending_domain.updated" | "sending_domain.checked" | "sending_domain.records_written" | "sending_domain.deleted" | "topic.created" | "topic.updated" | "topic.deleted" | "template.created" | "template.updated" | "template.deleted" | "template.inputs_declared" | "saved_section.created" | "saved_section.updated" | "saved_section.deleted" | "asset.uploaded" | "asset.imported" | "contact.erased" | "suppression.created" | "suppression.deleted" | "mailing.created" | "mailing.sent" | "mailing.paused" | "mailing.resumed" | "mailing.cancelled" | "mailing.deleted" | "mailing.retried" | "webhook.created" | "webhook.updated" | "webhook.deleted" | "webhook.secret_rotated" | "webhook.redelivered" | "contact.unsubscribed" | "tag.created" | "tag.deleted" | "tag.assigned" | "tag.unassigned" | "contact_property.created" | "contact_property.deleted" | "segment.created" | "segment.updated" | "segment.deleted" | "signup_form.created" | "signup_form.updated" | "signup_form.deleted" | "contact.subscribed" | "import.created" | "import.mapped" | "import.committed" | "import.cancelled" | "import.finished" | "mailing.scheduled" | "mailing.unscheduled" | "mailing.schedule_failed" | "mailing.ab_test_updated" | "mailing.ab_winner_selected" | "tracking.updated" | "billing.checkout_started" | "billing.subscription_changed" | "billing.exemption_changed" | "billing.extra_sending_domains_changed" | "billing.terms_accepted" | "domain_order.created" | "domain_order.paid" | "domain_order.registered" | "domain_order.ready" | "domain_order.needs_attention" | "domain_order.refunded" | "domain_order.cancelled" | "automation.created" | "automation.updated" | "automation.published" | "automation.paused" | "automation.resumed" | "automation.archived" | "automation.deleted" | "automation.duplicated" | "automation.enrolled" | "automation.run_ended" | "event.recorded";
1158
1169
  actor: {
1159
1170
  type: "member";
1160
1171
  subject: string;
1161
1172
  member_id: string;
1162
- app?: "booking" | undefined;
1173
+ app?: "booking" | "sites" | undefined;
1163
1174
  } | {
1164
1175
  type: "api_key";
1165
1176
  api_key_id: string;
@@ -1174,12 +1185,12 @@ declare const AuditEntry: z.ZodObject<{
1174
1185
  id: string;
1175
1186
  details: Record<string, unknown>;
1176
1187
  created_at: string;
1177
- action: "workspace.created" | "workspace.updated" | "workspace.company_changed" | "member.added" | "member.role_changed" | "member.removed" | "member.invited" | "invite.revoked" | "api_key.created" | "api_key.revoked" | "provider.created" | "provider.updated" | "provider.deleted" | "provider.events_registered" | "provider.events_secret_set" | "provider.bounces_halted" | "provider.anomaly_cleared" | "sending_domain.created" | "sending_domain.updated" | "sending_domain.checked" | "sending_domain.records_written" | "sending_domain.deleted" | "topic.created" | "topic.updated" | "topic.deleted" | "template.created" | "template.updated" | "template.deleted" | "template.inputs_declared" | "saved_section.created" | "saved_section.updated" | "saved_section.deleted" | "asset.uploaded" | "asset.imported" | "contact.erased" | "suppression.created" | "suppression.deleted" | "mailing.created" | "mailing.sent" | "mailing.paused" | "mailing.resumed" | "mailing.cancelled" | "mailing.deleted" | "mailing.retried" | "webhook.created" | "webhook.updated" | "webhook.deleted" | "webhook.secret_rotated" | "webhook.redelivered" | "contact.unsubscribed" | "tag.created" | "tag.deleted" | "tag.assigned" | "tag.unassigned" | "contact_property.created" | "contact_property.deleted" | "segment.created" | "segment.updated" | "segment.deleted" | "signup_form.created" | "signup_form.updated" | "signup_form.deleted" | "contact.subscribed" | "import.created" | "import.mapped" | "import.committed" | "import.cancelled" | "import.finished" | "mailing.scheduled" | "mailing.unscheduled" | "mailing.schedule_failed" | "mailing.ab_test_updated" | "mailing.ab_winner_selected" | "tracking.updated" | "billing.checkout_started" | "billing.subscription_changed" | "billing.exemption_changed" | "billing.extra_sending_domains_changed" | "automation.created" | "automation.updated" | "automation.published" | "automation.paused" | "automation.resumed" | "automation.archived" | "automation.deleted" | "automation.duplicated" | "automation.enrolled" | "automation.run_ended" | "event.recorded";
1188
+ action: "workspace.created" | "workspace.updated" | "workspace.company_changed" | "member.added" | "member.role_changed" | "member.removed" | "member.invited" | "invite.revoked" | "api_key.created" | "api_key.revoked" | "provider.created" | "provider.updated" | "provider.deleted" | "provider.events_registered" | "provider.events_secret_set" | "provider.bounces_halted" | "provider.anomaly_cleared" | "sending_domain.created" | "sending_domain.updated" | "sending_domain.checked" | "sending_domain.records_written" | "sending_domain.deleted" | "topic.created" | "topic.updated" | "topic.deleted" | "template.created" | "template.updated" | "template.deleted" | "template.inputs_declared" | "saved_section.created" | "saved_section.updated" | "saved_section.deleted" | "asset.uploaded" | "asset.imported" | "contact.erased" | "suppression.created" | "suppression.deleted" | "mailing.created" | "mailing.sent" | "mailing.paused" | "mailing.resumed" | "mailing.cancelled" | "mailing.deleted" | "mailing.retried" | "webhook.created" | "webhook.updated" | "webhook.deleted" | "webhook.secret_rotated" | "webhook.redelivered" | "contact.unsubscribed" | "tag.created" | "tag.deleted" | "tag.assigned" | "tag.unassigned" | "contact_property.created" | "contact_property.deleted" | "segment.created" | "segment.updated" | "segment.deleted" | "signup_form.created" | "signup_form.updated" | "signup_form.deleted" | "contact.subscribed" | "import.created" | "import.mapped" | "import.committed" | "import.cancelled" | "import.finished" | "mailing.scheduled" | "mailing.unscheduled" | "mailing.schedule_failed" | "mailing.ab_test_updated" | "mailing.ab_winner_selected" | "tracking.updated" | "billing.checkout_started" | "billing.subscription_changed" | "billing.exemption_changed" | "billing.extra_sending_domains_changed" | "billing.terms_accepted" | "domain_order.created" | "domain_order.paid" | "domain_order.registered" | "domain_order.ready" | "domain_order.needs_attention" | "domain_order.refunded" | "domain_order.cancelled" | "automation.created" | "automation.updated" | "automation.published" | "automation.paused" | "automation.resumed" | "automation.archived" | "automation.deleted" | "automation.duplicated" | "automation.enrolled" | "automation.run_ended" | "event.recorded";
1178
1189
  actor: {
1179
1190
  type: "member";
1180
1191
  subject: string;
1181
1192
  member_id: string;
1182
- app?: "booking" | undefined;
1193
+ app?: "booking" | "sites" | undefined;
1183
1194
  } | {
1184
1195
  type: "api_key";
1185
1196
  api_key_id: string;
@@ -1196,17 +1207,17 @@ declare const AuditQuery: z.ZodObject<{
1196
1207
  cursor: z.ZodOptional<z.ZodString>;
1197
1208
  limit: z.ZodOptional<z.ZodNumber>;
1198
1209
  } & {
1199
- action: z.ZodOptional<z.ZodEnum<["workspace.created", "workspace.updated", "workspace.company_changed", "member.added", "member.role_changed", "member.removed", "member.invited", "invite.revoked", "api_key.created", "api_key.revoked", "provider.created", "provider.updated", "provider.deleted", "provider.events_registered", "provider.events_secret_set", "provider.bounces_halted", "provider.anomaly_cleared", "sending_domain.created", "sending_domain.updated", "sending_domain.checked", "sending_domain.records_written", "sending_domain.deleted", "topic.created", "topic.updated", "topic.deleted", "template.created", "template.updated", "template.deleted", "template.inputs_declared", "saved_section.created", "saved_section.updated", "saved_section.deleted", "asset.uploaded", "asset.imported", "contact.erased", "suppression.created", "suppression.deleted", "mailing.created", "mailing.sent", "mailing.paused", "mailing.resumed", "mailing.cancelled", "mailing.deleted", "mailing.retried", "webhook.created", "webhook.updated", "webhook.deleted", "webhook.secret_rotated", "webhook.redelivered", "contact.unsubscribed", "tag.created", "tag.deleted", "tag.assigned", "tag.unassigned", "contact_property.created", "contact_property.deleted", "segment.created", "segment.updated", "segment.deleted", "signup_form.created", "signup_form.updated", "signup_form.deleted", "contact.subscribed", "import.created", "import.mapped", "import.committed", "import.cancelled", "import.finished", "mailing.scheduled", "mailing.unscheduled", "mailing.schedule_failed", "mailing.ab_test_updated", "mailing.ab_winner_selected", "tracking.updated", "billing.checkout_started", "billing.subscription_changed", "billing.exemption_changed", "billing.extra_sending_domains_changed", "automation.created", "automation.updated", "automation.published", "automation.paused", "automation.resumed", "automation.archived", "automation.deleted", "automation.duplicated", "automation.enrolled", "automation.run_ended", "event.recorded"]>>;
1210
+ action: z.ZodOptional<z.ZodEnum<["workspace.created", "workspace.updated", "workspace.company_changed", "member.added", "member.role_changed", "member.removed", "member.invited", "invite.revoked", "api_key.created", "api_key.revoked", "provider.created", "provider.updated", "provider.deleted", "provider.events_registered", "provider.events_secret_set", "provider.bounces_halted", "provider.anomaly_cleared", "sending_domain.created", "sending_domain.updated", "sending_domain.checked", "sending_domain.records_written", "sending_domain.deleted", "topic.created", "topic.updated", "topic.deleted", "template.created", "template.updated", "template.deleted", "template.inputs_declared", "saved_section.created", "saved_section.updated", "saved_section.deleted", "asset.uploaded", "asset.imported", "contact.erased", "suppression.created", "suppression.deleted", "mailing.created", "mailing.sent", "mailing.paused", "mailing.resumed", "mailing.cancelled", "mailing.deleted", "mailing.retried", "webhook.created", "webhook.updated", "webhook.deleted", "webhook.secret_rotated", "webhook.redelivered", "contact.unsubscribed", "tag.created", "tag.deleted", "tag.assigned", "tag.unassigned", "contact_property.created", "contact_property.deleted", "segment.created", "segment.updated", "segment.deleted", "signup_form.created", "signup_form.updated", "signup_form.deleted", "contact.subscribed", "import.created", "import.mapped", "import.committed", "import.cancelled", "import.finished", "mailing.scheduled", "mailing.unscheduled", "mailing.schedule_failed", "mailing.ab_test_updated", "mailing.ab_winner_selected", "tracking.updated", "billing.checkout_started", "billing.subscription_changed", "billing.exemption_changed", "billing.extra_sending_domains_changed", "billing.terms_accepted", "domain_order.created", "domain_order.paid", "domain_order.registered", "domain_order.ready", "domain_order.needs_attention", "domain_order.refunded", "domain_order.cancelled", "automation.created", "automation.updated", "automation.published", "automation.paused", "automation.resumed", "automation.archived", "automation.deleted", "automation.duplicated", "automation.enrolled", "automation.run_ended", "event.recorded"]>>;
1200
1211
  target_id: z.ZodOptional<z.ZodString>;
1201
1212
  }, "strip", z.ZodTypeAny, {
1202
1213
  cursor?: string | undefined;
1203
1214
  limit?: number | undefined;
1204
- action?: "workspace.created" | "workspace.updated" | "workspace.company_changed" | "member.added" | "member.role_changed" | "member.removed" | "member.invited" | "invite.revoked" | "api_key.created" | "api_key.revoked" | "provider.created" | "provider.updated" | "provider.deleted" | "provider.events_registered" | "provider.events_secret_set" | "provider.bounces_halted" | "provider.anomaly_cleared" | "sending_domain.created" | "sending_domain.updated" | "sending_domain.checked" | "sending_domain.records_written" | "sending_domain.deleted" | "topic.created" | "topic.updated" | "topic.deleted" | "template.created" | "template.updated" | "template.deleted" | "template.inputs_declared" | "saved_section.created" | "saved_section.updated" | "saved_section.deleted" | "asset.uploaded" | "asset.imported" | "contact.erased" | "suppression.created" | "suppression.deleted" | "mailing.created" | "mailing.sent" | "mailing.paused" | "mailing.resumed" | "mailing.cancelled" | "mailing.deleted" | "mailing.retried" | "webhook.created" | "webhook.updated" | "webhook.deleted" | "webhook.secret_rotated" | "webhook.redelivered" | "contact.unsubscribed" | "tag.created" | "tag.deleted" | "tag.assigned" | "tag.unassigned" | "contact_property.created" | "contact_property.deleted" | "segment.created" | "segment.updated" | "segment.deleted" | "signup_form.created" | "signup_form.updated" | "signup_form.deleted" | "contact.subscribed" | "import.created" | "import.mapped" | "import.committed" | "import.cancelled" | "import.finished" | "mailing.scheduled" | "mailing.unscheduled" | "mailing.schedule_failed" | "mailing.ab_test_updated" | "mailing.ab_winner_selected" | "tracking.updated" | "billing.checkout_started" | "billing.subscription_changed" | "billing.exemption_changed" | "billing.extra_sending_domains_changed" | "automation.created" | "automation.updated" | "automation.published" | "automation.paused" | "automation.resumed" | "automation.archived" | "automation.deleted" | "automation.duplicated" | "automation.enrolled" | "automation.run_ended" | "event.recorded" | undefined;
1215
+ action?: "workspace.created" | "workspace.updated" | "workspace.company_changed" | "member.added" | "member.role_changed" | "member.removed" | "member.invited" | "invite.revoked" | "api_key.created" | "api_key.revoked" | "provider.created" | "provider.updated" | "provider.deleted" | "provider.events_registered" | "provider.events_secret_set" | "provider.bounces_halted" | "provider.anomaly_cleared" | "sending_domain.created" | "sending_domain.updated" | "sending_domain.checked" | "sending_domain.records_written" | "sending_domain.deleted" | "topic.created" | "topic.updated" | "topic.deleted" | "template.created" | "template.updated" | "template.deleted" | "template.inputs_declared" | "saved_section.created" | "saved_section.updated" | "saved_section.deleted" | "asset.uploaded" | "asset.imported" | "contact.erased" | "suppression.created" | "suppression.deleted" | "mailing.created" | "mailing.sent" | "mailing.paused" | "mailing.resumed" | "mailing.cancelled" | "mailing.deleted" | "mailing.retried" | "webhook.created" | "webhook.updated" | "webhook.deleted" | "webhook.secret_rotated" | "webhook.redelivered" | "contact.unsubscribed" | "tag.created" | "tag.deleted" | "tag.assigned" | "tag.unassigned" | "contact_property.created" | "contact_property.deleted" | "segment.created" | "segment.updated" | "segment.deleted" | "signup_form.created" | "signup_form.updated" | "signup_form.deleted" | "contact.subscribed" | "import.created" | "import.mapped" | "import.committed" | "import.cancelled" | "import.finished" | "mailing.scheduled" | "mailing.unscheduled" | "mailing.schedule_failed" | "mailing.ab_test_updated" | "mailing.ab_winner_selected" | "tracking.updated" | "billing.checkout_started" | "billing.subscription_changed" | "billing.exemption_changed" | "billing.extra_sending_domains_changed" | "billing.terms_accepted" | "domain_order.created" | "domain_order.paid" | "domain_order.registered" | "domain_order.ready" | "domain_order.needs_attention" | "domain_order.refunded" | "domain_order.cancelled" | "automation.created" | "automation.updated" | "automation.published" | "automation.paused" | "automation.resumed" | "automation.archived" | "automation.deleted" | "automation.duplicated" | "automation.enrolled" | "automation.run_ended" | "event.recorded" | undefined;
1205
1216
  target_id?: string | undefined;
1206
1217
  }, {
1207
1218
  cursor?: string | undefined;
1208
1219
  limit?: number | undefined;
1209
- action?: "workspace.created" | "workspace.updated" | "workspace.company_changed" | "member.added" | "member.role_changed" | "member.removed" | "member.invited" | "invite.revoked" | "api_key.created" | "api_key.revoked" | "provider.created" | "provider.updated" | "provider.deleted" | "provider.events_registered" | "provider.events_secret_set" | "provider.bounces_halted" | "provider.anomaly_cleared" | "sending_domain.created" | "sending_domain.updated" | "sending_domain.checked" | "sending_domain.records_written" | "sending_domain.deleted" | "topic.created" | "topic.updated" | "topic.deleted" | "template.created" | "template.updated" | "template.deleted" | "template.inputs_declared" | "saved_section.created" | "saved_section.updated" | "saved_section.deleted" | "asset.uploaded" | "asset.imported" | "contact.erased" | "suppression.created" | "suppression.deleted" | "mailing.created" | "mailing.sent" | "mailing.paused" | "mailing.resumed" | "mailing.cancelled" | "mailing.deleted" | "mailing.retried" | "webhook.created" | "webhook.updated" | "webhook.deleted" | "webhook.secret_rotated" | "webhook.redelivered" | "contact.unsubscribed" | "tag.created" | "tag.deleted" | "tag.assigned" | "tag.unassigned" | "contact_property.created" | "contact_property.deleted" | "segment.created" | "segment.updated" | "segment.deleted" | "signup_form.created" | "signup_form.updated" | "signup_form.deleted" | "contact.subscribed" | "import.created" | "import.mapped" | "import.committed" | "import.cancelled" | "import.finished" | "mailing.scheduled" | "mailing.unscheduled" | "mailing.schedule_failed" | "mailing.ab_test_updated" | "mailing.ab_winner_selected" | "tracking.updated" | "billing.checkout_started" | "billing.subscription_changed" | "billing.exemption_changed" | "billing.extra_sending_domains_changed" | "automation.created" | "automation.updated" | "automation.published" | "automation.paused" | "automation.resumed" | "automation.archived" | "automation.deleted" | "automation.duplicated" | "automation.enrolled" | "automation.run_ended" | "event.recorded" | undefined;
1220
+ action?: "workspace.created" | "workspace.updated" | "workspace.company_changed" | "member.added" | "member.role_changed" | "member.removed" | "member.invited" | "invite.revoked" | "api_key.created" | "api_key.revoked" | "provider.created" | "provider.updated" | "provider.deleted" | "provider.events_registered" | "provider.events_secret_set" | "provider.bounces_halted" | "provider.anomaly_cleared" | "sending_domain.created" | "sending_domain.updated" | "sending_domain.checked" | "sending_domain.records_written" | "sending_domain.deleted" | "topic.created" | "topic.updated" | "topic.deleted" | "template.created" | "template.updated" | "template.deleted" | "template.inputs_declared" | "saved_section.created" | "saved_section.updated" | "saved_section.deleted" | "asset.uploaded" | "asset.imported" | "contact.erased" | "suppression.created" | "suppression.deleted" | "mailing.created" | "mailing.sent" | "mailing.paused" | "mailing.resumed" | "mailing.cancelled" | "mailing.deleted" | "mailing.retried" | "webhook.created" | "webhook.updated" | "webhook.deleted" | "webhook.secret_rotated" | "webhook.redelivered" | "contact.unsubscribed" | "tag.created" | "tag.deleted" | "tag.assigned" | "tag.unassigned" | "contact_property.created" | "contact_property.deleted" | "segment.created" | "segment.updated" | "segment.deleted" | "signup_form.created" | "signup_form.updated" | "signup_form.deleted" | "contact.subscribed" | "import.created" | "import.mapped" | "import.committed" | "import.cancelled" | "import.finished" | "mailing.scheduled" | "mailing.unscheduled" | "mailing.schedule_failed" | "mailing.ab_test_updated" | "mailing.ab_winner_selected" | "tracking.updated" | "billing.checkout_started" | "billing.subscription_changed" | "billing.exemption_changed" | "billing.extra_sending_domains_changed" | "billing.terms_accepted" | "domain_order.created" | "domain_order.paid" | "domain_order.registered" | "domain_order.ready" | "domain_order.needs_attention" | "domain_order.refunded" | "domain_order.cancelled" | "automation.created" | "automation.updated" | "automation.published" | "automation.paused" | "automation.resumed" | "automation.archived" | "automation.deleted" | "automation.duplicated" | "automation.enrolled" | "automation.run_ended" | "event.recorded" | undefined;
1210
1221
  target_id?: string | undefined;
1211
1222
  }>;
1212
1223
  type AuditQuery = z.infer<typeof AuditQuery>;
@@ -10447,6 +10458,319 @@ declare const SendingDomainUpdate: z.ZodEffects<z.ZodObject<{
10447
10458
  }>;
10448
10459
  type SendingDomainUpdate = z.infer<typeof SendingDomainUpdate>;
10449
10460
 
10461
+ /** A search: a word (`bakery berlin`) or a whole name (`bakery-berlin.com`). */
10462
+ declare const DomainSearchQuery: z.ZodObject<{
10463
+ q: z.ZodString;
10464
+ }, "strip", z.ZodTypeAny, {
10465
+ q: string;
10466
+ }, {
10467
+ q: string;
10468
+ }>;
10469
+ type DomainSearchQuery = z.infer<typeof DomainSearchQuery>;
10470
+ /**
10471
+ * Why a name cannot be bought here:
10472
+ * - `taken`: somebody holds it.
10473
+ * - `extension_not_supported`: the registrar cannot register this ending
10474
+ * through its API (`.de` among them, for now).
10475
+ * - `premium`: the registry prices it as premium; not sold here.
10476
+ * - `not_registrable`: anything else the registry refuses.
10477
+ */
10478
+ declare const DOMAIN_UNAVAILABLE_REASONS: readonly ["taken", "extension_not_supported", "premium", "not_registrable"];
10479
+ declare const DomainUnavailableReason: z.ZodEnum<["taken", "extension_not_supported", "premium", "not_registrable"]>;
10480
+ type DomainUnavailableReason = z.infer<typeof DomainUnavailableReason>;
10481
+ /**
10482
+ * One name as the registry answered just now (never from a cache). Prices are
10483
+ * final, in euro cents per year: the first year and each renewal can differ.
10484
+ */
10485
+ declare const DomainOffer: z.ZodObject<{
10486
+ domain: z.ZodString;
10487
+ available: z.ZodBoolean;
10488
+ reason: z.ZodNullable<z.ZodEnum<["taken", "extension_not_supported", "premium", "not_registrable"]>>;
10489
+ price_cents: z.ZodNullable<z.ZodNumber>;
10490
+ renewal_price_cents: z.ZodNullable<z.ZodNumber>;
10491
+ currency: z.ZodLiteral<"EUR">;
10492
+ }, "strip", z.ZodTypeAny, {
10493
+ reason: "taken" | "extension_not_supported" | "premium" | "not_registrable" | null;
10494
+ currency: "EUR";
10495
+ domain: string;
10496
+ available: boolean;
10497
+ price_cents: number | null;
10498
+ renewal_price_cents: number | null;
10499
+ }, {
10500
+ reason: "taken" | "extension_not_supported" | "premium" | "not_registrable" | null;
10501
+ currency: "EUR";
10502
+ domain: string;
10503
+ available: boolean;
10504
+ price_cents: number | null;
10505
+ renewal_price_cents: number | null;
10506
+ }>;
10507
+ type DomainOffer = z.infer<typeof DomainOffer>;
10508
+ /**
10509
+ * Why this workspace cannot buy right now, null when it can:
10510
+ * - `not_configured`: buying is not set up on this instance.
10511
+ * - `paid_plan_required`: buying needs an active paid plan (not Free, not a
10512
+ * subscription whose payment failed, not a design partner outside billing).
10513
+ * - `no_company`: the workspace belongs to no company, and a domain belongs to one.
10514
+ */
10515
+ declare const DOMAIN_BUYING_BLOCKS: readonly ["not_configured", "paid_plan_required", "no_company"];
10516
+ declare const DomainBuyingBlock: z.ZodEnum<["not_configured", "paid_plan_required", "no_company"]>;
10517
+ type DomainBuyingBlock = z.infer<typeof DomainBuyingBlock>;
10518
+ declare const DomainSearchResult: z.ZodObject<{
10519
+ data: z.ZodArray<z.ZodObject<{
10520
+ domain: z.ZodString;
10521
+ available: z.ZodBoolean;
10522
+ reason: z.ZodNullable<z.ZodEnum<["taken", "extension_not_supported", "premium", "not_registrable"]>>;
10523
+ price_cents: z.ZodNullable<z.ZodNumber>;
10524
+ renewal_price_cents: z.ZodNullable<z.ZodNumber>;
10525
+ currency: z.ZodLiteral<"EUR">;
10526
+ }, "strip", z.ZodTypeAny, {
10527
+ reason: "taken" | "extension_not_supported" | "premium" | "not_registrable" | null;
10528
+ currency: "EUR";
10529
+ domain: string;
10530
+ available: boolean;
10531
+ price_cents: number | null;
10532
+ renewal_price_cents: number | null;
10533
+ }, {
10534
+ reason: "taken" | "extension_not_supported" | "premium" | "not_registrable" | null;
10535
+ currency: "EUR";
10536
+ domain: string;
10537
+ available: boolean;
10538
+ price_cents: number | null;
10539
+ renewal_price_cents: number | null;
10540
+ }>, "many">;
10541
+ blocked: z.ZodNullable<z.ZodEnum<["not_configured", "paid_plan_required", "no_company"]>>;
10542
+ }, "strip", z.ZodTypeAny, {
10543
+ data: {
10544
+ reason: "taken" | "extension_not_supported" | "premium" | "not_registrable" | null;
10545
+ currency: "EUR";
10546
+ domain: string;
10547
+ available: boolean;
10548
+ price_cents: number | null;
10549
+ renewal_price_cents: number | null;
10550
+ }[];
10551
+ blocked: "not_configured" | "paid_plan_required" | "no_company" | null;
10552
+ }, {
10553
+ data: {
10554
+ reason: "taken" | "extension_not_supported" | "premium" | "not_registrable" | null;
10555
+ currency: "EUR";
10556
+ domain: string;
10557
+ available: boolean;
10558
+ price_cents: number | null;
10559
+ renewal_price_cents: number | null;
10560
+ }[];
10561
+ blocked: "not_configured" | "paid_plan_required" | "no_company" | null;
10562
+ }>;
10563
+ type DomainSearchResult = z.infer<typeof DomainSearchResult>;
10564
+ /**
10565
+ * The legal holder of the domain: the customer (a person or their company).
10566
+ * `phone` as +<country code>.<number> (+49.3012345678), as registries take it;
10567
+ * `state` is the region (Berlin, BE); `country_code` two letters (DE).
10568
+ */
10569
+ declare const DomainRegistrant: z.ZodObject<{
10570
+ name: z.ZodString;
10571
+ organization: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10572
+ email: z.ZodString;
10573
+ phone: z.ZodString;
10574
+ street: z.ZodString;
10575
+ city: z.ZodString;
10576
+ state: z.ZodString;
10577
+ postal_code: z.ZodString;
10578
+ country_code: z.ZodString;
10579
+ }, "strip", z.ZodTypeAny, {
10580
+ email: string;
10581
+ name: string;
10582
+ phone: string;
10583
+ street: string;
10584
+ city: string;
10585
+ state: string;
10586
+ postal_code: string;
10587
+ country_code: string;
10588
+ organization?: string | null | undefined;
10589
+ }, {
10590
+ email: string;
10591
+ name: string;
10592
+ phone: string;
10593
+ street: string;
10594
+ city: string;
10595
+ state: string;
10596
+ postal_code: string;
10597
+ country_code: string;
10598
+ organization?: string | null | undefined;
10599
+ }>;
10600
+ type DomainRegistrant = z.infer<typeof DomainRegistrant>;
10601
+ /** The most domains one workspace may start buying in 24 hours. */
10602
+ declare const MAX_DOMAIN_ORDERS_PER_DAY = 2;
10603
+ /**
10604
+ * Buying a name. `price_cents` is the first year's price the customer was
10605
+ * shown: when the registry's price has changed since, nothing is charged and
10606
+ * the order is refused with the new price (`price_changed`), to be shown
10607
+ * again. `from_name` and `from_local_part` are the sender mail goes out as
10608
+ * once the domain is set up (`hello` for hello@<domain>).
10609
+ */
10610
+ declare const DomainOrderCreate: z.ZodObject<{
10611
+ domain: z.ZodString;
10612
+ price_cents: z.ZodNumber;
10613
+ registrant: z.ZodObject<{
10614
+ name: z.ZodString;
10615
+ organization: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10616
+ email: z.ZodString;
10617
+ phone: z.ZodString;
10618
+ street: z.ZodString;
10619
+ city: z.ZodString;
10620
+ state: z.ZodString;
10621
+ postal_code: z.ZodString;
10622
+ country_code: z.ZodString;
10623
+ }, "strip", z.ZodTypeAny, {
10624
+ email: string;
10625
+ name: string;
10626
+ phone: string;
10627
+ street: string;
10628
+ city: string;
10629
+ state: string;
10630
+ postal_code: string;
10631
+ country_code: string;
10632
+ organization?: string | null | undefined;
10633
+ }, {
10634
+ email: string;
10635
+ name: string;
10636
+ phone: string;
10637
+ street: string;
10638
+ city: string;
10639
+ state: string;
10640
+ postal_code: string;
10641
+ country_code: string;
10642
+ organization?: string | null | undefined;
10643
+ }>;
10644
+ from_name: z.ZodString;
10645
+ from_local_part: z.ZodString;
10646
+ /**
10647
+ * Where Stripe returns to after paying, and after leaving the payment. The
10648
+ * service adds `domain_order=<order id>` to both, so the page coming back
10649
+ * knows which order to show (and read: `domainOrders.get` confirms a
10650
+ * payment at once, before Stripe's webhook arrives).
10651
+ */
10652
+ success_url: z.ZodString;
10653
+ cancel_url: z.ZodString;
10654
+ /** The buyer accepted the terms of service (which cover bought domains) of this version. */
10655
+ accept_terms: z.ZodLiteral<"2026-10-28">;
10656
+ }, "strip", z.ZodTypeAny, {
10657
+ accept_terms: "2026-10-28";
10658
+ from_name: string;
10659
+ domain: string;
10660
+ price_cents: number;
10661
+ registrant: {
10662
+ email: string;
10663
+ name: string;
10664
+ phone: string;
10665
+ street: string;
10666
+ city: string;
10667
+ state: string;
10668
+ postal_code: string;
10669
+ country_code: string;
10670
+ organization?: string | null | undefined;
10671
+ };
10672
+ from_local_part: string;
10673
+ success_url: string;
10674
+ cancel_url: string;
10675
+ }, {
10676
+ accept_terms: "2026-10-28";
10677
+ from_name: string;
10678
+ domain: string;
10679
+ price_cents: number;
10680
+ registrant: {
10681
+ email: string;
10682
+ name: string;
10683
+ phone: string;
10684
+ street: string;
10685
+ city: string;
10686
+ state: string;
10687
+ postal_code: string;
10688
+ country_code: string;
10689
+ organization?: string | null | undefined;
10690
+ };
10691
+ from_local_part: string;
10692
+ success_url: string;
10693
+ cancel_url: string;
10694
+ }>;
10695
+ type DomainOrderCreate = z.infer<typeof DomainOrderCreate>;
10696
+ /**
10697
+ * Where an order stands:
10698
+ * - `awaiting_payment`: the checkout is open (`checkout_url`).
10699
+ * - `paid`: paid; registering starts within a minute.
10700
+ * - `registering`: the registry is registering it.
10701
+ * - `setting_up`: registered; the sending domain and its records are being set up.
10702
+ * - `ready`: done; the domain is a sending domain of the workspace
10703
+ * (`sending_domain_id`), whose verification continues there.
10704
+ * - `needs_attention`: registered or paid, and something needs Lumitra's
10705
+ * support (they are told and act; nothing is lost).
10706
+ * - `refunded`: the registry refused after payment; the payment was refunded.
10707
+ * - `cancelled`: not paid (the checkout was left, expired, or replaced by
10708
+ * another order).
10709
+ */
10710
+ declare const DOMAIN_ORDER_STATES: readonly ["awaiting_payment", "paid", "registering", "setting_up", "ready", "needs_attention", "refunded", "cancelled"];
10711
+ declare const DomainOrderState: z.ZodEnum<["awaiting_payment", "paid", "registering", "setting_up", "ready", "needs_attention", "refunded", "cancelled"]>;
10712
+ type DomainOrderState = z.infer<typeof DomainOrderState>;
10713
+ declare const DomainOrder: z.ZodObject<{
10714
+ id: z.ZodString;
10715
+ domain: z.ZodString;
10716
+ state: z.ZodEnum<["awaiting_payment", "paid", "registering", "setting_up", "ready", "needs_attention", "refunded", "cancelled"]>;
10717
+ price_cents: z.ZodNumber;
10718
+ renewal_price_cents: z.ZodNumber;
10719
+ currency: z.ZodLiteral<"EUR">;
10720
+ /** Stripe's payment page while `awaiting_payment`; null otherwise. */
10721
+ checkout_url: z.ZodNullable<z.ZodString>;
10722
+ registrant_name: z.ZodString;
10723
+ from_name: z.ZodString;
10724
+ from_email: z.ZodString;
10725
+ /** The sending domain once `ready`. */
10726
+ sending_domain_id: z.ZodNullable<z.ZodString>;
10727
+ /** When the paid year ends, once registered. */
10728
+ expires_at: z.ZodNullable<z.ZodString>;
10729
+ /** What went wrong, for `needs_attention` and `refunded`; null otherwise. */
10730
+ last_error: z.ZodNullable<z.ZodString>;
10731
+ paid_at: z.ZodNullable<z.ZodString>;
10732
+ registered_at: z.ZodNullable<z.ZodString>;
10733
+ created_at: z.ZodString;
10734
+ updated_at: z.ZodString;
10735
+ }, "strip", z.ZodTypeAny, {
10736
+ id: string;
10737
+ created_at: string;
10738
+ updated_at: string;
10739
+ last_error: string | null;
10740
+ expires_at: string | null;
10741
+ currency: "EUR";
10742
+ from_name: string;
10743
+ from_email: string;
10744
+ domain: string;
10745
+ price_cents: number;
10746
+ renewal_price_cents: number;
10747
+ state: "ready" | "cancelled" | "awaiting_payment" | "paid" | "registering" | "setting_up" | "needs_attention" | "refunded";
10748
+ checkout_url: string | null;
10749
+ registrant_name: string;
10750
+ sending_domain_id: string | null;
10751
+ paid_at: string | null;
10752
+ registered_at: string | null;
10753
+ }, {
10754
+ id: string;
10755
+ created_at: string;
10756
+ updated_at: string;
10757
+ last_error: string | null;
10758
+ expires_at: string | null;
10759
+ currency: "EUR";
10760
+ from_name: string;
10761
+ from_email: string;
10762
+ domain: string;
10763
+ price_cents: number;
10764
+ renewal_price_cents: number;
10765
+ state: "ready" | "cancelled" | "awaiting_payment" | "paid" | "registering" | "setting_up" | "needs_attention" | "refunded";
10766
+ checkout_url: string | null;
10767
+ registrant_name: string;
10768
+ sending_domain_id: string | null;
10769
+ paid_at: string | null;
10770
+ registered_at: string | null;
10771
+ }>;
10772
+ type DomainOrder = z.infer<typeof DomainOrder>;
10773
+
10450
10774
  declare const Topic: z.ZodObject<{
10451
10775
  id: z.ZodString;
10452
10776
  slug: z.ZodString;
@@ -29207,6 +29531,23 @@ type UsageWarning = z.infer<typeof UsageWarning>;
29207
29531
  * `messages` counts recipients handed to a provider in the period (tests
29208
29532
  * included), from the service's send ledger. The other metrics are counts now.
29209
29533
  */
29534
+ /**
29535
+ * Which version of the terms of service and processing agreement the
29536
+ * workspace accepted (null: none yet, a workspace created before they
29537
+ * existed) and which is current. They differ until an owner or admin
29538
+ * accepts the current one (`billing.acceptTerms`); the dashboard asks.
29539
+ */
29540
+ declare const TermsStatus: z.ZodObject<{
29541
+ accepted_version: z.ZodNullable<z.ZodString>;
29542
+ current_version: z.ZodString;
29543
+ }, "strip", z.ZodTypeAny, {
29544
+ accepted_version: string | null;
29545
+ current_version: string;
29546
+ }, {
29547
+ accepted_version: string | null;
29548
+ current_version: string;
29549
+ }>;
29550
+ type TermsStatus = z.infer<typeof TermsStatus>;
29210
29551
  declare const Usage: z.ZodObject<{
29211
29552
  plan: z.ZodEnum<["free", "starter", "growth", "design_partner"]>;
29212
29553
  period_start: z.ZodString;
@@ -29238,6 +29579,16 @@ declare const Usage: z.ZodObject<{
29238
29579
  used: number;
29239
29580
  level: "reached" | "approaching";
29240
29581
  }>, "many">;
29582
+ terms: z.ZodObject<{
29583
+ accepted_version: z.ZodNullable<z.ZodString>;
29584
+ current_version: z.ZodString;
29585
+ }, "strip", z.ZodTypeAny, {
29586
+ accepted_version: string | null;
29587
+ current_version: string;
29588
+ }, {
29589
+ accepted_version: string | null;
29590
+ current_version: string;
29591
+ }>;
29241
29592
  }, "strip", z.ZodTypeAny, {
29242
29593
  warnings: {
29243
29594
  limit: number;
@@ -29252,6 +29603,10 @@ declare const Usage: z.ZodObject<{
29252
29603
  limit: number | null;
29253
29604
  used: number;
29254
29605
  }>>;
29606
+ terms: {
29607
+ accepted_version: string | null;
29608
+ current_version: string;
29609
+ };
29255
29610
  }, {
29256
29611
  warnings: {
29257
29612
  limit: number;
@@ -29266,24 +29621,37 @@ declare const Usage: z.ZodObject<{
29266
29621
  limit: number | null;
29267
29622
  used: number;
29268
29623
  }>>;
29624
+ terms: {
29625
+ accepted_version: string | null;
29626
+ current_version: string;
29627
+ };
29269
29628
  }>;
29270
29629
  type Usage = z.infer<typeof Usage>;
29630
+ /** An owner or admin accepts the current terms of service and processing agreement for the workspace. */
29631
+ declare const TermsAcceptance: z.ZodObject<{
29632
+ accept_terms: z.ZodLiteral<"2026-10-28">;
29633
+ }, "strip", z.ZodTypeAny, {
29634
+ accept_terms: "2026-10-28";
29635
+ }, {
29636
+ accept_terms: "2026-10-28";
29637
+ }>;
29638
+ type TermsAcceptance = z.infer<typeof TermsAcceptance>;
29271
29639
  declare const CheckoutRequest: z.ZodObject<{
29272
29640
  plan: z.ZodEnum<["starter", "growth"]>;
29273
29641
  success_url: z.ZodString;
29274
29642
  cancel_url: z.ZodString;
29275
29643
  /** The buyer accepted the terms of service and the processing agreement of this version. */
29276
- accept_terms: z.ZodLiteral<"2026-10-23">;
29644
+ accept_terms: z.ZodLiteral<"2026-10-28">;
29277
29645
  }, "strip", z.ZodTypeAny, {
29278
- accept_terms: "2026-10-23";
29279
- plan: "starter" | "growth";
29646
+ accept_terms: "2026-10-28";
29280
29647
  success_url: string;
29281
29648
  cancel_url: string;
29282
- }, {
29283
- accept_terms: "2026-10-23";
29284
29649
  plan: "starter" | "growth";
29650
+ }, {
29651
+ accept_terms: "2026-10-28";
29285
29652
  success_url: string;
29286
29653
  cancel_url: string;
29654
+ plan: "starter" | "growth";
29287
29655
  }>;
29288
29656
  type CheckoutRequest = z.infer<typeof CheckoutRequest>;
29289
29657
  declare const CheckoutSession: z.ZodObject<{
@@ -29340,9 +29708,9 @@ declare function parseUsageWarningHeader(value: string | null | undefined): Usag
29340
29708
  * refused, so a change of the texts moves this and the next person accepts the
29341
29709
  * new one.
29342
29710
  */
29343
- declare const LEGAL_TERMS_VERSION = "2026-10-23";
29711
+ declare const LEGAL_TERMS_VERSION = "2026-10-28";
29344
29712
  /** `accept_terms`: the person accepted the terms of service and the processing agreement of the current version. */
29345
- declare const AcceptTerms: z.ZodLiteral<"2026-10-23">;
29713
+ declare const AcceptTerms: z.ZodLiteral<"2026-10-28">;
29346
29714
 
29347
29715
  type HttpMethod = 'GET' | 'POST' | 'PUT' | 'PATCH' | 'DELETE';
29348
29716
  /**
@@ -29437,7 +29805,7 @@ declare const foundationRoutes: {
29437
29805
  name?: string | null | undefined;
29438
29806
  }>;
29439
29807
  company_id: z.ZodString;
29440
- accept_terms: z.ZodLiteral<"2026-10-23">;
29808
+ accept_terms: z.ZodLiteral<"2026-10-28">;
29441
29809
  }, "strip", z.ZodTypeAny, {
29442
29810
  name: string;
29443
29811
  slug: string;
@@ -29446,7 +29814,7 @@ declare const foundationRoutes: {
29446
29814
  name?: string | null | undefined;
29447
29815
  };
29448
29816
  company_id: string;
29449
- accept_terms: "2026-10-23";
29817
+ accept_terms: "2026-10-28";
29450
29818
  settings?: {
29451
29819
  asset_policy?: "any" | "service_only" | undefined;
29452
29820
  default_locale?: string | undefined;
@@ -29464,7 +29832,7 @@ declare const foundationRoutes: {
29464
29832
  name?: string | null | undefined;
29465
29833
  };
29466
29834
  company_id: string;
29467
- accept_terms: "2026-10-23";
29835
+ accept_terms: "2026-10-28";
29468
29836
  settings?: {
29469
29837
  asset_policy?: "any" | "service_only" | undefined;
29470
29838
  default_locale?: string | undefined;
@@ -30442,38 +30810,38 @@ declare const foundationRoutes: {
30442
30810
  cursor: z.ZodOptional<z.ZodString>;
30443
30811
  limit: z.ZodOptional<z.ZodNumber>;
30444
30812
  } & {
30445
- action: z.ZodOptional<z.ZodEnum<["workspace.created", "workspace.updated", "workspace.company_changed", "member.added", "member.role_changed", "member.removed", "member.invited", "invite.revoked", "api_key.created", "api_key.revoked", "provider.created", "provider.updated", "provider.deleted", "provider.events_registered", "provider.events_secret_set", "provider.bounces_halted", "provider.anomaly_cleared", "sending_domain.created", "sending_domain.updated", "sending_domain.checked", "sending_domain.records_written", "sending_domain.deleted", "topic.created", "topic.updated", "topic.deleted", "template.created", "template.updated", "template.deleted", "template.inputs_declared", "saved_section.created", "saved_section.updated", "saved_section.deleted", "asset.uploaded", "asset.imported", "contact.erased", "suppression.created", "suppression.deleted", "mailing.created", "mailing.sent", "mailing.paused", "mailing.resumed", "mailing.cancelled", "mailing.deleted", "mailing.retried", "webhook.created", "webhook.updated", "webhook.deleted", "webhook.secret_rotated", "webhook.redelivered", "contact.unsubscribed", "tag.created", "tag.deleted", "tag.assigned", "tag.unassigned", "contact_property.created", "contact_property.deleted", "segment.created", "segment.updated", "segment.deleted", "signup_form.created", "signup_form.updated", "signup_form.deleted", "contact.subscribed", "import.created", "import.mapped", "import.committed", "import.cancelled", "import.finished", "mailing.scheduled", "mailing.unscheduled", "mailing.schedule_failed", "mailing.ab_test_updated", "mailing.ab_winner_selected", "tracking.updated", "billing.checkout_started", "billing.subscription_changed", "billing.exemption_changed", "billing.extra_sending_domains_changed", "automation.created", "automation.updated", "automation.published", "automation.paused", "automation.resumed", "automation.archived", "automation.deleted", "automation.duplicated", "automation.enrolled", "automation.run_ended", "event.recorded"]>>;
30813
+ action: z.ZodOptional<z.ZodEnum<["workspace.created", "workspace.updated", "workspace.company_changed", "member.added", "member.role_changed", "member.removed", "member.invited", "invite.revoked", "api_key.created", "api_key.revoked", "provider.created", "provider.updated", "provider.deleted", "provider.events_registered", "provider.events_secret_set", "provider.bounces_halted", "provider.anomaly_cleared", "sending_domain.created", "sending_domain.updated", "sending_domain.checked", "sending_domain.records_written", "sending_domain.deleted", "topic.created", "topic.updated", "topic.deleted", "template.created", "template.updated", "template.deleted", "template.inputs_declared", "saved_section.created", "saved_section.updated", "saved_section.deleted", "asset.uploaded", "asset.imported", "contact.erased", "suppression.created", "suppression.deleted", "mailing.created", "mailing.sent", "mailing.paused", "mailing.resumed", "mailing.cancelled", "mailing.deleted", "mailing.retried", "webhook.created", "webhook.updated", "webhook.deleted", "webhook.secret_rotated", "webhook.redelivered", "contact.unsubscribed", "tag.created", "tag.deleted", "tag.assigned", "tag.unassigned", "contact_property.created", "contact_property.deleted", "segment.created", "segment.updated", "segment.deleted", "signup_form.created", "signup_form.updated", "signup_form.deleted", "contact.subscribed", "import.created", "import.mapped", "import.committed", "import.cancelled", "import.finished", "mailing.scheduled", "mailing.unscheduled", "mailing.schedule_failed", "mailing.ab_test_updated", "mailing.ab_winner_selected", "tracking.updated", "billing.checkout_started", "billing.subscription_changed", "billing.exemption_changed", "billing.extra_sending_domains_changed", "billing.terms_accepted", "domain_order.created", "domain_order.paid", "domain_order.registered", "domain_order.ready", "domain_order.needs_attention", "domain_order.refunded", "domain_order.cancelled", "automation.created", "automation.updated", "automation.published", "automation.paused", "automation.resumed", "automation.archived", "automation.deleted", "automation.duplicated", "automation.enrolled", "automation.run_ended", "event.recorded"]>>;
30446
30814
  target_id: z.ZodOptional<z.ZodString>;
30447
30815
  }, "strip", z.ZodTypeAny, {
30448
30816
  cursor?: string | undefined;
30449
30817
  limit?: number | undefined;
30450
- action?: "workspace.created" | "workspace.updated" | "workspace.company_changed" | "member.added" | "member.role_changed" | "member.removed" | "member.invited" | "invite.revoked" | "api_key.created" | "api_key.revoked" | "provider.created" | "provider.updated" | "provider.deleted" | "provider.events_registered" | "provider.events_secret_set" | "provider.bounces_halted" | "provider.anomaly_cleared" | "sending_domain.created" | "sending_domain.updated" | "sending_domain.checked" | "sending_domain.records_written" | "sending_domain.deleted" | "topic.created" | "topic.updated" | "topic.deleted" | "template.created" | "template.updated" | "template.deleted" | "template.inputs_declared" | "saved_section.created" | "saved_section.updated" | "saved_section.deleted" | "asset.uploaded" | "asset.imported" | "contact.erased" | "suppression.created" | "suppression.deleted" | "mailing.created" | "mailing.sent" | "mailing.paused" | "mailing.resumed" | "mailing.cancelled" | "mailing.deleted" | "mailing.retried" | "webhook.created" | "webhook.updated" | "webhook.deleted" | "webhook.secret_rotated" | "webhook.redelivered" | "contact.unsubscribed" | "tag.created" | "tag.deleted" | "tag.assigned" | "tag.unassigned" | "contact_property.created" | "contact_property.deleted" | "segment.created" | "segment.updated" | "segment.deleted" | "signup_form.created" | "signup_form.updated" | "signup_form.deleted" | "contact.subscribed" | "import.created" | "import.mapped" | "import.committed" | "import.cancelled" | "import.finished" | "mailing.scheduled" | "mailing.unscheduled" | "mailing.schedule_failed" | "mailing.ab_test_updated" | "mailing.ab_winner_selected" | "tracking.updated" | "billing.checkout_started" | "billing.subscription_changed" | "billing.exemption_changed" | "billing.extra_sending_domains_changed" | "automation.created" | "automation.updated" | "automation.published" | "automation.paused" | "automation.resumed" | "automation.archived" | "automation.deleted" | "automation.duplicated" | "automation.enrolled" | "automation.run_ended" | "event.recorded" | undefined;
30818
+ action?: "workspace.created" | "workspace.updated" | "workspace.company_changed" | "member.added" | "member.role_changed" | "member.removed" | "member.invited" | "invite.revoked" | "api_key.created" | "api_key.revoked" | "provider.created" | "provider.updated" | "provider.deleted" | "provider.events_registered" | "provider.events_secret_set" | "provider.bounces_halted" | "provider.anomaly_cleared" | "sending_domain.created" | "sending_domain.updated" | "sending_domain.checked" | "sending_domain.records_written" | "sending_domain.deleted" | "topic.created" | "topic.updated" | "topic.deleted" | "template.created" | "template.updated" | "template.deleted" | "template.inputs_declared" | "saved_section.created" | "saved_section.updated" | "saved_section.deleted" | "asset.uploaded" | "asset.imported" | "contact.erased" | "suppression.created" | "suppression.deleted" | "mailing.created" | "mailing.sent" | "mailing.paused" | "mailing.resumed" | "mailing.cancelled" | "mailing.deleted" | "mailing.retried" | "webhook.created" | "webhook.updated" | "webhook.deleted" | "webhook.secret_rotated" | "webhook.redelivered" | "contact.unsubscribed" | "tag.created" | "tag.deleted" | "tag.assigned" | "tag.unassigned" | "contact_property.created" | "contact_property.deleted" | "segment.created" | "segment.updated" | "segment.deleted" | "signup_form.created" | "signup_form.updated" | "signup_form.deleted" | "contact.subscribed" | "import.created" | "import.mapped" | "import.committed" | "import.cancelled" | "import.finished" | "mailing.scheduled" | "mailing.unscheduled" | "mailing.schedule_failed" | "mailing.ab_test_updated" | "mailing.ab_winner_selected" | "tracking.updated" | "billing.checkout_started" | "billing.subscription_changed" | "billing.exemption_changed" | "billing.extra_sending_domains_changed" | "billing.terms_accepted" | "domain_order.created" | "domain_order.paid" | "domain_order.registered" | "domain_order.ready" | "domain_order.needs_attention" | "domain_order.refunded" | "domain_order.cancelled" | "automation.created" | "automation.updated" | "automation.published" | "automation.paused" | "automation.resumed" | "automation.archived" | "automation.deleted" | "automation.duplicated" | "automation.enrolled" | "automation.run_ended" | "event.recorded" | undefined;
30451
30819
  target_id?: string | undefined;
30452
30820
  }, {
30453
30821
  cursor?: string | undefined;
30454
30822
  limit?: number | undefined;
30455
- action?: "workspace.created" | "workspace.updated" | "workspace.company_changed" | "member.added" | "member.role_changed" | "member.removed" | "member.invited" | "invite.revoked" | "api_key.created" | "api_key.revoked" | "provider.created" | "provider.updated" | "provider.deleted" | "provider.events_registered" | "provider.events_secret_set" | "provider.bounces_halted" | "provider.anomaly_cleared" | "sending_domain.created" | "sending_domain.updated" | "sending_domain.checked" | "sending_domain.records_written" | "sending_domain.deleted" | "topic.created" | "topic.updated" | "topic.deleted" | "template.created" | "template.updated" | "template.deleted" | "template.inputs_declared" | "saved_section.created" | "saved_section.updated" | "saved_section.deleted" | "asset.uploaded" | "asset.imported" | "contact.erased" | "suppression.created" | "suppression.deleted" | "mailing.created" | "mailing.sent" | "mailing.paused" | "mailing.resumed" | "mailing.cancelled" | "mailing.deleted" | "mailing.retried" | "webhook.created" | "webhook.updated" | "webhook.deleted" | "webhook.secret_rotated" | "webhook.redelivered" | "contact.unsubscribed" | "tag.created" | "tag.deleted" | "tag.assigned" | "tag.unassigned" | "contact_property.created" | "contact_property.deleted" | "segment.created" | "segment.updated" | "segment.deleted" | "signup_form.created" | "signup_form.updated" | "signup_form.deleted" | "contact.subscribed" | "import.created" | "import.mapped" | "import.committed" | "import.cancelled" | "import.finished" | "mailing.scheduled" | "mailing.unscheduled" | "mailing.schedule_failed" | "mailing.ab_test_updated" | "mailing.ab_winner_selected" | "tracking.updated" | "billing.checkout_started" | "billing.subscription_changed" | "billing.exemption_changed" | "billing.extra_sending_domains_changed" | "automation.created" | "automation.updated" | "automation.published" | "automation.paused" | "automation.resumed" | "automation.archived" | "automation.deleted" | "automation.duplicated" | "automation.enrolled" | "automation.run_ended" | "event.recorded" | undefined;
30823
+ action?: "workspace.created" | "workspace.updated" | "workspace.company_changed" | "member.added" | "member.role_changed" | "member.removed" | "member.invited" | "invite.revoked" | "api_key.created" | "api_key.revoked" | "provider.created" | "provider.updated" | "provider.deleted" | "provider.events_registered" | "provider.events_secret_set" | "provider.bounces_halted" | "provider.anomaly_cleared" | "sending_domain.created" | "sending_domain.updated" | "sending_domain.checked" | "sending_domain.records_written" | "sending_domain.deleted" | "topic.created" | "topic.updated" | "topic.deleted" | "template.created" | "template.updated" | "template.deleted" | "template.inputs_declared" | "saved_section.created" | "saved_section.updated" | "saved_section.deleted" | "asset.uploaded" | "asset.imported" | "contact.erased" | "suppression.created" | "suppression.deleted" | "mailing.created" | "mailing.sent" | "mailing.paused" | "mailing.resumed" | "mailing.cancelled" | "mailing.deleted" | "mailing.retried" | "webhook.created" | "webhook.updated" | "webhook.deleted" | "webhook.secret_rotated" | "webhook.redelivered" | "contact.unsubscribed" | "tag.created" | "tag.deleted" | "tag.assigned" | "tag.unassigned" | "contact_property.created" | "contact_property.deleted" | "segment.created" | "segment.updated" | "segment.deleted" | "signup_form.created" | "signup_form.updated" | "signup_form.deleted" | "contact.subscribed" | "import.created" | "import.mapped" | "import.committed" | "import.cancelled" | "import.finished" | "mailing.scheduled" | "mailing.unscheduled" | "mailing.schedule_failed" | "mailing.ab_test_updated" | "mailing.ab_winner_selected" | "tracking.updated" | "billing.checkout_started" | "billing.subscription_changed" | "billing.exemption_changed" | "billing.extra_sending_domains_changed" | "billing.terms_accepted" | "domain_order.created" | "domain_order.paid" | "domain_order.registered" | "domain_order.ready" | "domain_order.needs_attention" | "domain_order.refunded" | "domain_order.cancelled" | "automation.created" | "automation.updated" | "automation.published" | "automation.paused" | "automation.resumed" | "automation.archived" | "automation.deleted" | "automation.duplicated" | "automation.enrolled" | "automation.run_ended" | "event.recorded" | undefined;
30456
30824
  target_id?: string | undefined;
30457
30825
  }>;
30458
30826
  readonly response: z.ZodObject<{
30459
30827
  data: z.ZodArray<z.ZodObject<{
30460
30828
  id: z.ZodString;
30461
- action: z.ZodEnum<["workspace.created", "workspace.updated", "workspace.company_changed", "member.added", "member.role_changed", "member.removed", "member.invited", "invite.revoked", "api_key.created", "api_key.revoked", "provider.created", "provider.updated", "provider.deleted", "provider.events_registered", "provider.events_secret_set", "provider.bounces_halted", "provider.anomaly_cleared", "sending_domain.created", "sending_domain.updated", "sending_domain.checked", "sending_domain.records_written", "sending_domain.deleted", "topic.created", "topic.updated", "topic.deleted", "template.created", "template.updated", "template.deleted", "template.inputs_declared", "saved_section.created", "saved_section.updated", "saved_section.deleted", "asset.uploaded", "asset.imported", "contact.erased", "suppression.created", "suppression.deleted", "mailing.created", "mailing.sent", "mailing.paused", "mailing.resumed", "mailing.cancelled", "mailing.deleted", "mailing.retried", "webhook.created", "webhook.updated", "webhook.deleted", "webhook.secret_rotated", "webhook.redelivered", "contact.unsubscribed", "tag.created", "tag.deleted", "tag.assigned", "tag.unassigned", "contact_property.created", "contact_property.deleted", "segment.created", "segment.updated", "segment.deleted", "signup_form.created", "signup_form.updated", "signup_form.deleted", "contact.subscribed", "import.created", "import.mapped", "import.committed", "import.cancelled", "import.finished", "mailing.scheduled", "mailing.unscheduled", "mailing.schedule_failed", "mailing.ab_test_updated", "mailing.ab_winner_selected", "tracking.updated", "billing.checkout_started", "billing.subscription_changed", "billing.exemption_changed", "billing.extra_sending_domains_changed", "automation.created", "automation.updated", "automation.published", "automation.paused", "automation.resumed", "automation.archived", "automation.deleted", "automation.duplicated", "automation.enrolled", "automation.run_ended", "event.recorded"]>;
30829
+ action: z.ZodEnum<["workspace.created", "workspace.updated", "workspace.company_changed", "member.added", "member.role_changed", "member.removed", "member.invited", "invite.revoked", "api_key.created", "api_key.revoked", "provider.created", "provider.updated", "provider.deleted", "provider.events_registered", "provider.events_secret_set", "provider.bounces_halted", "provider.anomaly_cleared", "sending_domain.created", "sending_domain.updated", "sending_domain.checked", "sending_domain.records_written", "sending_domain.deleted", "topic.created", "topic.updated", "topic.deleted", "template.created", "template.updated", "template.deleted", "template.inputs_declared", "saved_section.created", "saved_section.updated", "saved_section.deleted", "asset.uploaded", "asset.imported", "contact.erased", "suppression.created", "suppression.deleted", "mailing.created", "mailing.sent", "mailing.paused", "mailing.resumed", "mailing.cancelled", "mailing.deleted", "mailing.retried", "webhook.created", "webhook.updated", "webhook.deleted", "webhook.secret_rotated", "webhook.redelivered", "contact.unsubscribed", "tag.created", "tag.deleted", "tag.assigned", "tag.unassigned", "contact_property.created", "contact_property.deleted", "segment.created", "segment.updated", "segment.deleted", "signup_form.created", "signup_form.updated", "signup_form.deleted", "contact.subscribed", "import.created", "import.mapped", "import.committed", "import.cancelled", "import.finished", "mailing.scheduled", "mailing.unscheduled", "mailing.schedule_failed", "mailing.ab_test_updated", "mailing.ab_winner_selected", "tracking.updated", "billing.checkout_started", "billing.subscription_changed", "billing.exemption_changed", "billing.extra_sending_domains_changed", "billing.terms_accepted", "domain_order.created", "domain_order.paid", "domain_order.registered", "domain_order.ready", "domain_order.needs_attention", "domain_order.refunded", "domain_order.cancelled", "automation.created", "automation.updated", "automation.published", "automation.paused", "automation.resumed", "automation.archived", "automation.deleted", "automation.duplicated", "automation.enrolled", "automation.run_ended", "event.recorded"]>;
30462
30830
  actor: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
30463
30831
  type: z.ZodLiteral<"member">;
30464
30832
  member_id: z.ZodString;
30465
30833
  subject: z.ZodString;
30466
- app: z.ZodOptional<z.ZodEnum<["booking"]>>;
30834
+ app: z.ZodOptional<z.ZodEnum<["booking", "sites"]>>;
30467
30835
  }, "strip", z.ZodTypeAny, {
30468
30836
  type: "member";
30469
30837
  subject: string;
30470
30838
  member_id: string;
30471
- app?: "booking" | undefined;
30839
+ app?: "booking" | "sites" | undefined;
30472
30840
  }, {
30473
30841
  type: "member";
30474
30842
  subject: string;
30475
30843
  member_id: string;
30476
- app?: "booking" | undefined;
30844
+ app?: "booking" | "sites" | undefined;
30477
30845
  }>, z.ZodObject<{
30478
30846
  type: z.ZodLiteral<"api_key">;
30479
30847
  api_key_id: z.ZodString;
@@ -30504,12 +30872,12 @@ declare const foundationRoutes: {
30504
30872
  id: string;
30505
30873
  details: Record<string, unknown>;
30506
30874
  created_at: string;
30507
- action: "workspace.created" | "workspace.updated" | "workspace.company_changed" | "member.added" | "member.role_changed" | "member.removed" | "member.invited" | "invite.revoked" | "api_key.created" | "api_key.revoked" | "provider.created" | "provider.updated" | "provider.deleted" | "provider.events_registered" | "provider.events_secret_set" | "provider.bounces_halted" | "provider.anomaly_cleared" | "sending_domain.created" | "sending_domain.updated" | "sending_domain.checked" | "sending_domain.records_written" | "sending_domain.deleted" | "topic.created" | "topic.updated" | "topic.deleted" | "template.created" | "template.updated" | "template.deleted" | "template.inputs_declared" | "saved_section.created" | "saved_section.updated" | "saved_section.deleted" | "asset.uploaded" | "asset.imported" | "contact.erased" | "suppression.created" | "suppression.deleted" | "mailing.created" | "mailing.sent" | "mailing.paused" | "mailing.resumed" | "mailing.cancelled" | "mailing.deleted" | "mailing.retried" | "webhook.created" | "webhook.updated" | "webhook.deleted" | "webhook.secret_rotated" | "webhook.redelivered" | "contact.unsubscribed" | "tag.created" | "tag.deleted" | "tag.assigned" | "tag.unassigned" | "contact_property.created" | "contact_property.deleted" | "segment.created" | "segment.updated" | "segment.deleted" | "signup_form.created" | "signup_form.updated" | "signup_form.deleted" | "contact.subscribed" | "import.created" | "import.mapped" | "import.committed" | "import.cancelled" | "import.finished" | "mailing.scheduled" | "mailing.unscheduled" | "mailing.schedule_failed" | "mailing.ab_test_updated" | "mailing.ab_winner_selected" | "tracking.updated" | "billing.checkout_started" | "billing.subscription_changed" | "billing.exemption_changed" | "billing.extra_sending_domains_changed" | "automation.created" | "automation.updated" | "automation.published" | "automation.paused" | "automation.resumed" | "automation.archived" | "automation.deleted" | "automation.duplicated" | "automation.enrolled" | "automation.run_ended" | "event.recorded";
30875
+ action: "workspace.created" | "workspace.updated" | "workspace.company_changed" | "member.added" | "member.role_changed" | "member.removed" | "member.invited" | "invite.revoked" | "api_key.created" | "api_key.revoked" | "provider.created" | "provider.updated" | "provider.deleted" | "provider.events_registered" | "provider.events_secret_set" | "provider.bounces_halted" | "provider.anomaly_cleared" | "sending_domain.created" | "sending_domain.updated" | "sending_domain.checked" | "sending_domain.records_written" | "sending_domain.deleted" | "topic.created" | "topic.updated" | "topic.deleted" | "template.created" | "template.updated" | "template.deleted" | "template.inputs_declared" | "saved_section.created" | "saved_section.updated" | "saved_section.deleted" | "asset.uploaded" | "asset.imported" | "contact.erased" | "suppression.created" | "suppression.deleted" | "mailing.created" | "mailing.sent" | "mailing.paused" | "mailing.resumed" | "mailing.cancelled" | "mailing.deleted" | "mailing.retried" | "webhook.created" | "webhook.updated" | "webhook.deleted" | "webhook.secret_rotated" | "webhook.redelivered" | "contact.unsubscribed" | "tag.created" | "tag.deleted" | "tag.assigned" | "tag.unassigned" | "contact_property.created" | "contact_property.deleted" | "segment.created" | "segment.updated" | "segment.deleted" | "signup_form.created" | "signup_form.updated" | "signup_form.deleted" | "contact.subscribed" | "import.created" | "import.mapped" | "import.committed" | "import.cancelled" | "import.finished" | "mailing.scheduled" | "mailing.unscheduled" | "mailing.schedule_failed" | "mailing.ab_test_updated" | "mailing.ab_winner_selected" | "tracking.updated" | "billing.checkout_started" | "billing.subscription_changed" | "billing.exemption_changed" | "billing.extra_sending_domains_changed" | "billing.terms_accepted" | "domain_order.created" | "domain_order.paid" | "domain_order.registered" | "domain_order.ready" | "domain_order.needs_attention" | "domain_order.refunded" | "domain_order.cancelled" | "automation.created" | "automation.updated" | "automation.published" | "automation.paused" | "automation.resumed" | "automation.archived" | "automation.deleted" | "automation.duplicated" | "automation.enrolled" | "automation.run_ended" | "event.recorded";
30508
30876
  actor: {
30509
30877
  type: "member";
30510
30878
  subject: string;
30511
30879
  member_id: string;
30512
- app?: "booking" | undefined;
30880
+ app?: "booking" | "sites" | undefined;
30513
30881
  } | {
30514
30882
  type: "api_key";
30515
30883
  api_key_id: string;
@@ -30524,12 +30892,12 @@ declare const foundationRoutes: {
30524
30892
  id: string;
30525
30893
  details: Record<string, unknown>;
30526
30894
  created_at: string;
30527
- action: "workspace.created" | "workspace.updated" | "workspace.company_changed" | "member.added" | "member.role_changed" | "member.removed" | "member.invited" | "invite.revoked" | "api_key.created" | "api_key.revoked" | "provider.created" | "provider.updated" | "provider.deleted" | "provider.events_registered" | "provider.events_secret_set" | "provider.bounces_halted" | "provider.anomaly_cleared" | "sending_domain.created" | "sending_domain.updated" | "sending_domain.checked" | "sending_domain.records_written" | "sending_domain.deleted" | "topic.created" | "topic.updated" | "topic.deleted" | "template.created" | "template.updated" | "template.deleted" | "template.inputs_declared" | "saved_section.created" | "saved_section.updated" | "saved_section.deleted" | "asset.uploaded" | "asset.imported" | "contact.erased" | "suppression.created" | "suppression.deleted" | "mailing.created" | "mailing.sent" | "mailing.paused" | "mailing.resumed" | "mailing.cancelled" | "mailing.deleted" | "mailing.retried" | "webhook.created" | "webhook.updated" | "webhook.deleted" | "webhook.secret_rotated" | "webhook.redelivered" | "contact.unsubscribed" | "tag.created" | "tag.deleted" | "tag.assigned" | "tag.unassigned" | "contact_property.created" | "contact_property.deleted" | "segment.created" | "segment.updated" | "segment.deleted" | "signup_form.created" | "signup_form.updated" | "signup_form.deleted" | "contact.subscribed" | "import.created" | "import.mapped" | "import.committed" | "import.cancelled" | "import.finished" | "mailing.scheduled" | "mailing.unscheduled" | "mailing.schedule_failed" | "mailing.ab_test_updated" | "mailing.ab_winner_selected" | "tracking.updated" | "billing.checkout_started" | "billing.subscription_changed" | "billing.exemption_changed" | "billing.extra_sending_domains_changed" | "automation.created" | "automation.updated" | "automation.published" | "automation.paused" | "automation.resumed" | "automation.archived" | "automation.deleted" | "automation.duplicated" | "automation.enrolled" | "automation.run_ended" | "event.recorded";
30895
+ action: "workspace.created" | "workspace.updated" | "workspace.company_changed" | "member.added" | "member.role_changed" | "member.removed" | "member.invited" | "invite.revoked" | "api_key.created" | "api_key.revoked" | "provider.created" | "provider.updated" | "provider.deleted" | "provider.events_registered" | "provider.events_secret_set" | "provider.bounces_halted" | "provider.anomaly_cleared" | "sending_domain.created" | "sending_domain.updated" | "sending_domain.checked" | "sending_domain.records_written" | "sending_domain.deleted" | "topic.created" | "topic.updated" | "topic.deleted" | "template.created" | "template.updated" | "template.deleted" | "template.inputs_declared" | "saved_section.created" | "saved_section.updated" | "saved_section.deleted" | "asset.uploaded" | "asset.imported" | "contact.erased" | "suppression.created" | "suppression.deleted" | "mailing.created" | "mailing.sent" | "mailing.paused" | "mailing.resumed" | "mailing.cancelled" | "mailing.deleted" | "mailing.retried" | "webhook.created" | "webhook.updated" | "webhook.deleted" | "webhook.secret_rotated" | "webhook.redelivered" | "contact.unsubscribed" | "tag.created" | "tag.deleted" | "tag.assigned" | "tag.unassigned" | "contact_property.created" | "contact_property.deleted" | "segment.created" | "segment.updated" | "segment.deleted" | "signup_form.created" | "signup_form.updated" | "signup_form.deleted" | "contact.subscribed" | "import.created" | "import.mapped" | "import.committed" | "import.cancelled" | "import.finished" | "mailing.scheduled" | "mailing.unscheduled" | "mailing.schedule_failed" | "mailing.ab_test_updated" | "mailing.ab_winner_selected" | "tracking.updated" | "billing.checkout_started" | "billing.subscription_changed" | "billing.exemption_changed" | "billing.extra_sending_domains_changed" | "billing.terms_accepted" | "domain_order.created" | "domain_order.paid" | "domain_order.registered" | "domain_order.ready" | "domain_order.needs_attention" | "domain_order.refunded" | "domain_order.cancelled" | "automation.created" | "automation.updated" | "automation.published" | "automation.paused" | "automation.resumed" | "automation.archived" | "automation.deleted" | "automation.duplicated" | "automation.enrolled" | "automation.run_ended" | "event.recorded";
30528
30896
  actor: {
30529
30897
  type: "member";
30530
30898
  subject: string;
30531
30899
  member_id: string;
30532
- app?: "booking" | undefined;
30900
+ app?: "booking" | "sites" | undefined;
30533
30901
  } | {
30534
30902
  type: "api_key";
30535
30903
  api_key_id: string;
@@ -30547,12 +30915,12 @@ declare const foundationRoutes: {
30547
30915
  id: string;
30548
30916
  details: Record<string, unknown>;
30549
30917
  created_at: string;
30550
- action: "workspace.created" | "workspace.updated" | "workspace.company_changed" | "member.added" | "member.role_changed" | "member.removed" | "member.invited" | "invite.revoked" | "api_key.created" | "api_key.revoked" | "provider.created" | "provider.updated" | "provider.deleted" | "provider.events_registered" | "provider.events_secret_set" | "provider.bounces_halted" | "provider.anomaly_cleared" | "sending_domain.created" | "sending_domain.updated" | "sending_domain.checked" | "sending_domain.records_written" | "sending_domain.deleted" | "topic.created" | "topic.updated" | "topic.deleted" | "template.created" | "template.updated" | "template.deleted" | "template.inputs_declared" | "saved_section.created" | "saved_section.updated" | "saved_section.deleted" | "asset.uploaded" | "asset.imported" | "contact.erased" | "suppression.created" | "suppression.deleted" | "mailing.created" | "mailing.sent" | "mailing.paused" | "mailing.resumed" | "mailing.cancelled" | "mailing.deleted" | "mailing.retried" | "webhook.created" | "webhook.updated" | "webhook.deleted" | "webhook.secret_rotated" | "webhook.redelivered" | "contact.unsubscribed" | "tag.created" | "tag.deleted" | "tag.assigned" | "tag.unassigned" | "contact_property.created" | "contact_property.deleted" | "segment.created" | "segment.updated" | "segment.deleted" | "signup_form.created" | "signup_form.updated" | "signup_form.deleted" | "contact.subscribed" | "import.created" | "import.mapped" | "import.committed" | "import.cancelled" | "import.finished" | "mailing.scheduled" | "mailing.unscheduled" | "mailing.schedule_failed" | "mailing.ab_test_updated" | "mailing.ab_winner_selected" | "tracking.updated" | "billing.checkout_started" | "billing.subscription_changed" | "billing.exemption_changed" | "billing.extra_sending_domains_changed" | "automation.created" | "automation.updated" | "automation.published" | "automation.paused" | "automation.resumed" | "automation.archived" | "automation.deleted" | "automation.duplicated" | "automation.enrolled" | "automation.run_ended" | "event.recorded";
30918
+ action: "workspace.created" | "workspace.updated" | "workspace.company_changed" | "member.added" | "member.role_changed" | "member.removed" | "member.invited" | "invite.revoked" | "api_key.created" | "api_key.revoked" | "provider.created" | "provider.updated" | "provider.deleted" | "provider.events_registered" | "provider.events_secret_set" | "provider.bounces_halted" | "provider.anomaly_cleared" | "sending_domain.created" | "sending_domain.updated" | "sending_domain.checked" | "sending_domain.records_written" | "sending_domain.deleted" | "topic.created" | "topic.updated" | "topic.deleted" | "template.created" | "template.updated" | "template.deleted" | "template.inputs_declared" | "saved_section.created" | "saved_section.updated" | "saved_section.deleted" | "asset.uploaded" | "asset.imported" | "contact.erased" | "suppression.created" | "suppression.deleted" | "mailing.created" | "mailing.sent" | "mailing.paused" | "mailing.resumed" | "mailing.cancelled" | "mailing.deleted" | "mailing.retried" | "webhook.created" | "webhook.updated" | "webhook.deleted" | "webhook.secret_rotated" | "webhook.redelivered" | "contact.unsubscribed" | "tag.created" | "tag.deleted" | "tag.assigned" | "tag.unassigned" | "contact_property.created" | "contact_property.deleted" | "segment.created" | "segment.updated" | "segment.deleted" | "signup_form.created" | "signup_form.updated" | "signup_form.deleted" | "contact.subscribed" | "import.created" | "import.mapped" | "import.committed" | "import.cancelled" | "import.finished" | "mailing.scheduled" | "mailing.unscheduled" | "mailing.schedule_failed" | "mailing.ab_test_updated" | "mailing.ab_winner_selected" | "tracking.updated" | "billing.checkout_started" | "billing.subscription_changed" | "billing.exemption_changed" | "billing.extra_sending_domains_changed" | "billing.terms_accepted" | "domain_order.created" | "domain_order.paid" | "domain_order.registered" | "domain_order.ready" | "domain_order.needs_attention" | "domain_order.refunded" | "domain_order.cancelled" | "automation.created" | "automation.updated" | "automation.published" | "automation.paused" | "automation.resumed" | "automation.archived" | "automation.deleted" | "automation.duplicated" | "automation.enrolled" | "automation.run_ended" | "event.recorded";
30551
30919
  actor: {
30552
30920
  type: "member";
30553
30921
  subject: string;
30554
30922
  member_id: string;
30555
- app?: "booking" | undefined;
30923
+ app?: "booking" | "sites" | undefined;
30556
30924
  } | {
30557
30925
  type: "api_key";
30558
30926
  api_key_id: string;
@@ -30570,12 +30938,12 @@ declare const foundationRoutes: {
30570
30938
  id: string;
30571
30939
  details: Record<string, unknown>;
30572
30940
  created_at: string;
30573
- action: "workspace.created" | "workspace.updated" | "workspace.company_changed" | "member.added" | "member.role_changed" | "member.removed" | "member.invited" | "invite.revoked" | "api_key.created" | "api_key.revoked" | "provider.created" | "provider.updated" | "provider.deleted" | "provider.events_registered" | "provider.events_secret_set" | "provider.bounces_halted" | "provider.anomaly_cleared" | "sending_domain.created" | "sending_domain.updated" | "sending_domain.checked" | "sending_domain.records_written" | "sending_domain.deleted" | "topic.created" | "topic.updated" | "topic.deleted" | "template.created" | "template.updated" | "template.deleted" | "template.inputs_declared" | "saved_section.created" | "saved_section.updated" | "saved_section.deleted" | "asset.uploaded" | "asset.imported" | "contact.erased" | "suppression.created" | "suppression.deleted" | "mailing.created" | "mailing.sent" | "mailing.paused" | "mailing.resumed" | "mailing.cancelled" | "mailing.deleted" | "mailing.retried" | "webhook.created" | "webhook.updated" | "webhook.deleted" | "webhook.secret_rotated" | "webhook.redelivered" | "contact.unsubscribed" | "tag.created" | "tag.deleted" | "tag.assigned" | "tag.unassigned" | "contact_property.created" | "contact_property.deleted" | "segment.created" | "segment.updated" | "segment.deleted" | "signup_form.created" | "signup_form.updated" | "signup_form.deleted" | "contact.subscribed" | "import.created" | "import.mapped" | "import.committed" | "import.cancelled" | "import.finished" | "mailing.scheduled" | "mailing.unscheduled" | "mailing.schedule_failed" | "mailing.ab_test_updated" | "mailing.ab_winner_selected" | "tracking.updated" | "billing.checkout_started" | "billing.subscription_changed" | "billing.exemption_changed" | "billing.extra_sending_domains_changed" | "automation.created" | "automation.updated" | "automation.published" | "automation.paused" | "automation.resumed" | "automation.archived" | "automation.deleted" | "automation.duplicated" | "automation.enrolled" | "automation.run_ended" | "event.recorded";
30941
+ action: "workspace.created" | "workspace.updated" | "workspace.company_changed" | "member.added" | "member.role_changed" | "member.removed" | "member.invited" | "invite.revoked" | "api_key.created" | "api_key.revoked" | "provider.created" | "provider.updated" | "provider.deleted" | "provider.events_registered" | "provider.events_secret_set" | "provider.bounces_halted" | "provider.anomaly_cleared" | "sending_domain.created" | "sending_domain.updated" | "sending_domain.checked" | "sending_domain.records_written" | "sending_domain.deleted" | "topic.created" | "topic.updated" | "topic.deleted" | "template.created" | "template.updated" | "template.deleted" | "template.inputs_declared" | "saved_section.created" | "saved_section.updated" | "saved_section.deleted" | "asset.uploaded" | "asset.imported" | "contact.erased" | "suppression.created" | "suppression.deleted" | "mailing.created" | "mailing.sent" | "mailing.paused" | "mailing.resumed" | "mailing.cancelled" | "mailing.deleted" | "mailing.retried" | "webhook.created" | "webhook.updated" | "webhook.deleted" | "webhook.secret_rotated" | "webhook.redelivered" | "contact.unsubscribed" | "tag.created" | "tag.deleted" | "tag.assigned" | "tag.unassigned" | "contact_property.created" | "contact_property.deleted" | "segment.created" | "segment.updated" | "segment.deleted" | "signup_form.created" | "signup_form.updated" | "signup_form.deleted" | "contact.subscribed" | "import.created" | "import.mapped" | "import.committed" | "import.cancelled" | "import.finished" | "mailing.scheduled" | "mailing.unscheduled" | "mailing.schedule_failed" | "mailing.ab_test_updated" | "mailing.ab_winner_selected" | "tracking.updated" | "billing.checkout_started" | "billing.subscription_changed" | "billing.exemption_changed" | "billing.extra_sending_domains_changed" | "billing.terms_accepted" | "domain_order.created" | "domain_order.paid" | "domain_order.registered" | "domain_order.ready" | "domain_order.needs_attention" | "domain_order.refunded" | "domain_order.cancelled" | "automation.created" | "automation.updated" | "automation.published" | "automation.paused" | "automation.resumed" | "automation.archived" | "automation.deleted" | "automation.duplicated" | "automation.enrolled" | "automation.run_ended" | "event.recorded";
30574
30942
  actor: {
30575
30943
  type: "member";
30576
30944
  subject: string;
30577
30945
  member_id: string;
30578
- app?: "booking" | undefined;
30946
+ app?: "booking" | "sites" | undefined;
30579
30947
  } | {
30580
30948
  type: "api_key";
30581
30949
  api_key_id: string;
@@ -50495,6 +50863,16 @@ declare const billingRoutes: {
50495
50863
  used: number;
50496
50864
  level: "reached" | "approaching";
50497
50865
  }>, "many">;
50866
+ terms: z.ZodObject<{
50867
+ accepted_version: z.ZodNullable<z.ZodString>;
50868
+ current_version: z.ZodString;
50869
+ }, "strip", z.ZodTypeAny, {
50870
+ accepted_version: string | null;
50871
+ current_version: string;
50872
+ }, {
50873
+ accepted_version: string | null;
50874
+ current_version: string;
50875
+ }>;
50498
50876
  }, "strip", z.ZodTypeAny, {
50499
50877
  warnings: {
50500
50878
  limit: number;
@@ -50509,6 +50887,10 @@ declare const billingRoutes: {
50509
50887
  limit: number | null;
50510
50888
  used: number;
50511
50889
  }>>;
50890
+ terms: {
50891
+ accepted_version: string | null;
50892
+ current_version: string;
50893
+ };
50512
50894
  }, {
50513
50895
  warnings: {
50514
50896
  limit: number;
@@ -50523,6 +50905,10 @@ declare const billingRoutes: {
50523
50905
  limit: number | null;
50524
50906
  used: number;
50525
50907
  }>>;
50908
+ terms: {
50909
+ accepted_version: string | null;
50910
+ current_version: string;
50911
+ };
50526
50912
  }>;
50527
50913
  readonly status: 200;
50528
50914
  readonly access: "read";
@@ -50535,17 +50921,17 @@ declare const billingRoutes: {
50535
50921
  plan: z.ZodEnum<["starter", "growth"]>;
50536
50922
  success_url: z.ZodString;
50537
50923
  cancel_url: z.ZodString;
50538
- accept_terms: z.ZodLiteral<"2026-10-23">;
50924
+ accept_terms: z.ZodLiteral<"2026-10-28">;
50539
50925
  }, "strip", z.ZodTypeAny, {
50540
- accept_terms: "2026-10-23";
50541
- plan: "starter" | "growth";
50926
+ accept_terms: "2026-10-28";
50542
50927
  success_url: string;
50543
50928
  cancel_url: string;
50544
- }, {
50545
- accept_terms: "2026-10-23";
50546
50929
  plan: "starter" | "growth";
50930
+ }, {
50931
+ accept_terms: "2026-10-28";
50547
50932
  success_url: string;
50548
50933
  cancel_url: string;
50934
+ plan: "starter" | "growth";
50549
50935
  }>;
50550
50936
  readonly response: z.ZodObject<{
50551
50937
  url: z.ZodString;
@@ -50621,6 +51007,417 @@ declare const billingRoutes: {
50621
51007
  readonly access: "admin";
50622
51008
  readonly phase: "S5";
50623
51009
  };
51010
+ readonly 'billing.acceptTerms': {
51011
+ readonly method: "POST";
51012
+ readonly path: "/v1/billing/terms";
51013
+ readonly body: z.ZodObject<{
51014
+ accept_terms: z.ZodLiteral<"2026-10-28">;
51015
+ }, "strip", z.ZodTypeAny, {
51016
+ accept_terms: "2026-10-28";
51017
+ }, {
51018
+ accept_terms: "2026-10-28";
51019
+ }>;
51020
+ readonly response: z.ZodObject<{
51021
+ accepted_version: z.ZodNullable<z.ZodString>;
51022
+ current_version: z.ZodString;
51023
+ }, "strip", z.ZodTypeAny, {
51024
+ accepted_version: string | null;
51025
+ current_version: string;
51026
+ }, {
51027
+ accepted_version: string | null;
51028
+ current_version: string;
51029
+ }>;
51030
+ readonly status: 200;
51031
+ readonly access: "admin";
51032
+ readonly phase: "S5";
51033
+ };
51034
+ };
51035
+ declare const domainBuyingRoutes: {
51036
+ readonly 'domains.search': {
51037
+ readonly method: "GET";
51038
+ readonly path: "/v1/domains/search";
51039
+ readonly query: z.ZodObject<{
51040
+ q: z.ZodString;
51041
+ }, "strip", z.ZodTypeAny, {
51042
+ q: string;
51043
+ }, {
51044
+ q: string;
51045
+ }>;
51046
+ readonly response: z.ZodObject<{
51047
+ data: z.ZodArray<z.ZodObject<{
51048
+ domain: z.ZodString;
51049
+ available: z.ZodBoolean;
51050
+ reason: z.ZodNullable<z.ZodEnum<["taken", "extension_not_supported", "premium", "not_registrable"]>>;
51051
+ price_cents: z.ZodNullable<z.ZodNumber>;
51052
+ renewal_price_cents: z.ZodNullable<z.ZodNumber>;
51053
+ currency: z.ZodLiteral<"EUR">;
51054
+ }, "strip", z.ZodTypeAny, {
51055
+ reason: "taken" | "extension_not_supported" | "premium" | "not_registrable" | null;
51056
+ currency: "EUR";
51057
+ domain: string;
51058
+ available: boolean;
51059
+ price_cents: number | null;
51060
+ renewal_price_cents: number | null;
51061
+ }, {
51062
+ reason: "taken" | "extension_not_supported" | "premium" | "not_registrable" | null;
51063
+ currency: "EUR";
51064
+ domain: string;
51065
+ available: boolean;
51066
+ price_cents: number | null;
51067
+ renewal_price_cents: number | null;
51068
+ }>, "many">;
51069
+ blocked: z.ZodNullable<z.ZodEnum<["not_configured", "paid_plan_required", "no_company"]>>;
51070
+ }, "strip", z.ZodTypeAny, {
51071
+ data: {
51072
+ reason: "taken" | "extension_not_supported" | "premium" | "not_registrable" | null;
51073
+ currency: "EUR";
51074
+ domain: string;
51075
+ available: boolean;
51076
+ price_cents: number | null;
51077
+ renewal_price_cents: number | null;
51078
+ }[];
51079
+ blocked: "not_configured" | "paid_plan_required" | "no_company" | null;
51080
+ }, {
51081
+ data: {
51082
+ reason: "taken" | "extension_not_supported" | "premium" | "not_registrable" | null;
51083
+ currency: "EUR";
51084
+ domain: string;
51085
+ available: boolean;
51086
+ price_cents: number | null;
51087
+ renewal_price_cents: number | null;
51088
+ }[];
51089
+ blocked: "not_configured" | "paid_plan_required" | "no_company" | null;
51090
+ }>;
51091
+ readonly status: 200;
51092
+ readonly access: "admin";
51093
+ readonly phase: "S5";
51094
+ };
51095
+ readonly 'domainOrders.create': {
51096
+ readonly method: "POST";
51097
+ readonly path: "/v1/domain-orders";
51098
+ readonly body: z.ZodObject<{
51099
+ domain: z.ZodString;
51100
+ price_cents: z.ZodNumber;
51101
+ registrant: z.ZodObject<{
51102
+ name: z.ZodString;
51103
+ organization: z.ZodOptional<z.ZodNullable<z.ZodString>>;
51104
+ email: z.ZodString;
51105
+ phone: z.ZodString;
51106
+ street: z.ZodString;
51107
+ city: z.ZodString;
51108
+ state: z.ZodString;
51109
+ postal_code: z.ZodString;
51110
+ country_code: z.ZodString;
51111
+ }, "strip", z.ZodTypeAny, {
51112
+ email: string;
51113
+ name: string;
51114
+ phone: string;
51115
+ street: string;
51116
+ city: string;
51117
+ state: string;
51118
+ postal_code: string;
51119
+ country_code: string;
51120
+ organization?: string | null | undefined;
51121
+ }, {
51122
+ email: string;
51123
+ name: string;
51124
+ phone: string;
51125
+ street: string;
51126
+ city: string;
51127
+ state: string;
51128
+ postal_code: string;
51129
+ country_code: string;
51130
+ organization?: string | null | undefined;
51131
+ }>;
51132
+ from_name: z.ZodString;
51133
+ from_local_part: z.ZodString;
51134
+ success_url: z.ZodString;
51135
+ cancel_url: z.ZodString;
51136
+ accept_terms: z.ZodLiteral<"2026-10-28">;
51137
+ }, "strip", z.ZodTypeAny, {
51138
+ accept_terms: "2026-10-28";
51139
+ from_name: string;
51140
+ domain: string;
51141
+ price_cents: number;
51142
+ registrant: {
51143
+ email: string;
51144
+ name: string;
51145
+ phone: string;
51146
+ street: string;
51147
+ city: string;
51148
+ state: string;
51149
+ postal_code: string;
51150
+ country_code: string;
51151
+ organization?: string | null | undefined;
51152
+ };
51153
+ from_local_part: string;
51154
+ success_url: string;
51155
+ cancel_url: string;
51156
+ }, {
51157
+ accept_terms: "2026-10-28";
51158
+ from_name: string;
51159
+ domain: string;
51160
+ price_cents: number;
51161
+ registrant: {
51162
+ email: string;
51163
+ name: string;
51164
+ phone: string;
51165
+ street: string;
51166
+ city: string;
51167
+ state: string;
51168
+ postal_code: string;
51169
+ country_code: string;
51170
+ organization?: string | null | undefined;
51171
+ };
51172
+ from_local_part: string;
51173
+ success_url: string;
51174
+ cancel_url: string;
51175
+ }>;
51176
+ readonly response: z.ZodObject<{
51177
+ id: z.ZodString;
51178
+ domain: z.ZodString;
51179
+ state: z.ZodEnum<["awaiting_payment", "paid", "registering", "setting_up", "ready", "needs_attention", "refunded", "cancelled"]>;
51180
+ price_cents: z.ZodNumber;
51181
+ renewal_price_cents: z.ZodNumber;
51182
+ currency: z.ZodLiteral<"EUR">;
51183
+ checkout_url: z.ZodNullable<z.ZodString>;
51184
+ registrant_name: z.ZodString;
51185
+ from_name: z.ZodString;
51186
+ from_email: z.ZodString;
51187
+ sending_domain_id: z.ZodNullable<z.ZodString>;
51188
+ expires_at: z.ZodNullable<z.ZodString>;
51189
+ last_error: z.ZodNullable<z.ZodString>;
51190
+ paid_at: z.ZodNullable<z.ZodString>;
51191
+ registered_at: z.ZodNullable<z.ZodString>;
51192
+ created_at: z.ZodString;
51193
+ updated_at: z.ZodString;
51194
+ }, "strip", z.ZodTypeAny, {
51195
+ id: string;
51196
+ created_at: string;
51197
+ updated_at: string;
51198
+ last_error: string | null;
51199
+ expires_at: string | null;
51200
+ currency: "EUR";
51201
+ from_name: string;
51202
+ from_email: string;
51203
+ domain: string;
51204
+ price_cents: number;
51205
+ renewal_price_cents: number;
51206
+ state: "ready" | "cancelled" | "awaiting_payment" | "paid" | "registering" | "setting_up" | "needs_attention" | "refunded";
51207
+ checkout_url: string | null;
51208
+ registrant_name: string;
51209
+ sending_domain_id: string | null;
51210
+ paid_at: string | null;
51211
+ registered_at: string | null;
51212
+ }, {
51213
+ id: string;
51214
+ created_at: string;
51215
+ updated_at: string;
51216
+ last_error: string | null;
51217
+ expires_at: string | null;
51218
+ currency: "EUR";
51219
+ from_name: string;
51220
+ from_email: string;
51221
+ domain: string;
51222
+ price_cents: number;
51223
+ renewal_price_cents: number;
51224
+ state: "ready" | "cancelled" | "awaiting_payment" | "paid" | "registering" | "setting_up" | "needs_attention" | "refunded";
51225
+ checkout_url: string | null;
51226
+ registrant_name: string;
51227
+ sending_domain_id: string | null;
51228
+ paid_at: string | null;
51229
+ registered_at: string | null;
51230
+ }>;
51231
+ readonly status: 201;
51232
+ readonly access: "admin";
51233
+ readonly phase: "S5";
51234
+ };
51235
+ readonly 'domainOrders.list': {
51236
+ readonly method: "GET";
51237
+ readonly path: "/v1/domain-orders";
51238
+ readonly query: z.ZodObject<{
51239
+ cursor: z.ZodOptional<z.ZodString>;
51240
+ limit: z.ZodOptional<z.ZodNumber>;
51241
+ }, "strip", z.ZodTypeAny, {
51242
+ cursor?: string | undefined;
51243
+ limit?: number | undefined;
51244
+ }, {
51245
+ cursor?: string | undefined;
51246
+ limit?: number | undefined;
51247
+ }>;
51248
+ readonly response: z.ZodObject<{
51249
+ data: z.ZodArray<z.ZodObject<{
51250
+ id: z.ZodString;
51251
+ domain: z.ZodString;
51252
+ state: z.ZodEnum<["awaiting_payment", "paid", "registering", "setting_up", "ready", "needs_attention", "refunded", "cancelled"]>;
51253
+ price_cents: z.ZodNumber;
51254
+ renewal_price_cents: z.ZodNumber;
51255
+ currency: z.ZodLiteral<"EUR">;
51256
+ checkout_url: z.ZodNullable<z.ZodString>;
51257
+ registrant_name: z.ZodString;
51258
+ from_name: z.ZodString;
51259
+ from_email: z.ZodString;
51260
+ sending_domain_id: z.ZodNullable<z.ZodString>;
51261
+ expires_at: z.ZodNullable<z.ZodString>;
51262
+ last_error: z.ZodNullable<z.ZodString>;
51263
+ paid_at: z.ZodNullable<z.ZodString>;
51264
+ registered_at: z.ZodNullable<z.ZodString>;
51265
+ created_at: z.ZodString;
51266
+ updated_at: z.ZodString;
51267
+ }, "strip", z.ZodTypeAny, {
51268
+ id: string;
51269
+ created_at: string;
51270
+ updated_at: string;
51271
+ last_error: string | null;
51272
+ expires_at: string | null;
51273
+ currency: "EUR";
51274
+ from_name: string;
51275
+ from_email: string;
51276
+ domain: string;
51277
+ price_cents: number;
51278
+ renewal_price_cents: number;
51279
+ state: "ready" | "cancelled" | "awaiting_payment" | "paid" | "registering" | "setting_up" | "needs_attention" | "refunded";
51280
+ checkout_url: string | null;
51281
+ registrant_name: string;
51282
+ sending_domain_id: string | null;
51283
+ paid_at: string | null;
51284
+ registered_at: string | null;
51285
+ }, {
51286
+ id: string;
51287
+ created_at: string;
51288
+ updated_at: string;
51289
+ last_error: string | null;
51290
+ expires_at: string | null;
51291
+ currency: "EUR";
51292
+ from_name: string;
51293
+ from_email: string;
51294
+ domain: string;
51295
+ price_cents: number;
51296
+ renewal_price_cents: number;
51297
+ state: "ready" | "cancelled" | "awaiting_payment" | "paid" | "registering" | "setting_up" | "needs_attention" | "refunded";
51298
+ checkout_url: string | null;
51299
+ registrant_name: string;
51300
+ sending_domain_id: string | null;
51301
+ paid_at: string | null;
51302
+ registered_at: string | null;
51303
+ }>, "many">;
51304
+ next_cursor: z.ZodNullable<z.ZodString>;
51305
+ }, "strip", z.ZodTypeAny, {
51306
+ data: {
51307
+ id: string;
51308
+ created_at: string;
51309
+ updated_at: string;
51310
+ last_error: string | null;
51311
+ expires_at: string | null;
51312
+ currency: "EUR";
51313
+ from_name: string;
51314
+ from_email: string;
51315
+ domain: string;
51316
+ price_cents: number;
51317
+ renewal_price_cents: number;
51318
+ state: "ready" | "cancelled" | "awaiting_payment" | "paid" | "registering" | "setting_up" | "needs_attention" | "refunded";
51319
+ checkout_url: string | null;
51320
+ registrant_name: string;
51321
+ sending_domain_id: string | null;
51322
+ paid_at: string | null;
51323
+ registered_at: string | null;
51324
+ }[];
51325
+ next_cursor: string | null;
51326
+ }, {
51327
+ data: {
51328
+ id: string;
51329
+ created_at: string;
51330
+ updated_at: string;
51331
+ last_error: string | null;
51332
+ expires_at: string | null;
51333
+ currency: "EUR";
51334
+ from_name: string;
51335
+ from_email: string;
51336
+ domain: string;
51337
+ price_cents: number;
51338
+ renewal_price_cents: number;
51339
+ state: "ready" | "cancelled" | "awaiting_payment" | "paid" | "registering" | "setting_up" | "needs_attention" | "refunded";
51340
+ checkout_url: string | null;
51341
+ registrant_name: string;
51342
+ sending_domain_id: string | null;
51343
+ paid_at: string | null;
51344
+ registered_at: string | null;
51345
+ }[];
51346
+ next_cursor: string | null;
51347
+ }>;
51348
+ readonly status: 200;
51349
+ readonly access: "admin";
51350
+ readonly phase: "S5";
51351
+ };
51352
+ readonly 'domainOrders.get': {
51353
+ readonly method: "GET";
51354
+ readonly path: "/v1/domain-orders/:id";
51355
+ readonly params: z.ZodObject<{
51356
+ id: z.ZodString;
51357
+ }, "strip", z.ZodTypeAny, {
51358
+ id: string;
51359
+ }, {
51360
+ id: string;
51361
+ }>;
51362
+ readonly response: z.ZodObject<{
51363
+ id: z.ZodString;
51364
+ domain: z.ZodString;
51365
+ state: z.ZodEnum<["awaiting_payment", "paid", "registering", "setting_up", "ready", "needs_attention", "refunded", "cancelled"]>;
51366
+ price_cents: z.ZodNumber;
51367
+ renewal_price_cents: z.ZodNumber;
51368
+ currency: z.ZodLiteral<"EUR">;
51369
+ checkout_url: z.ZodNullable<z.ZodString>;
51370
+ registrant_name: z.ZodString;
51371
+ from_name: z.ZodString;
51372
+ from_email: z.ZodString;
51373
+ sending_domain_id: z.ZodNullable<z.ZodString>;
51374
+ expires_at: z.ZodNullable<z.ZodString>;
51375
+ last_error: z.ZodNullable<z.ZodString>;
51376
+ paid_at: z.ZodNullable<z.ZodString>;
51377
+ registered_at: z.ZodNullable<z.ZodString>;
51378
+ created_at: z.ZodString;
51379
+ updated_at: z.ZodString;
51380
+ }, "strip", z.ZodTypeAny, {
51381
+ id: string;
51382
+ created_at: string;
51383
+ updated_at: string;
51384
+ last_error: string | null;
51385
+ expires_at: string | null;
51386
+ currency: "EUR";
51387
+ from_name: string;
51388
+ from_email: string;
51389
+ domain: string;
51390
+ price_cents: number;
51391
+ renewal_price_cents: number;
51392
+ state: "ready" | "cancelled" | "awaiting_payment" | "paid" | "registering" | "setting_up" | "needs_attention" | "refunded";
51393
+ checkout_url: string | null;
51394
+ registrant_name: string;
51395
+ sending_domain_id: string | null;
51396
+ paid_at: string | null;
51397
+ registered_at: string | null;
51398
+ }, {
51399
+ id: string;
51400
+ created_at: string;
51401
+ updated_at: string;
51402
+ last_error: string | null;
51403
+ expires_at: string | null;
51404
+ currency: "EUR";
51405
+ from_name: string;
51406
+ from_email: string;
51407
+ domain: string;
51408
+ price_cents: number;
51409
+ renewal_price_cents: number;
51410
+ state: "ready" | "cancelled" | "awaiting_payment" | "paid" | "registering" | "setting_up" | "needs_attention" | "refunded";
51411
+ checkout_url: string | null;
51412
+ registrant_name: string;
51413
+ sending_domain_id: string | null;
51414
+ paid_at: string | null;
51415
+ registered_at: string | null;
51416
+ }>;
51417
+ readonly status: 200;
51418
+ readonly access: "admin";
51419
+ readonly phase: "S5";
51420
+ };
50624
51421
  };
50625
51422
  declare const inviteRoutes: {
50626
51423
  readonly 'invites.create': {
@@ -69445,7 +70242,7 @@ declare const automationRoutes: {
69445
70242
  * groups by name: spelled out, the merged type grew past what the declaration
69446
70243
  * emitter will write (TS7056) once the plan limits gained a field.
69447
70244
  */
69448
- type Routes = typeof foundationRoutes & typeof templateRoutes & typeof sendingRoutes & typeof inviteRoutes & typeof platformRoutes & typeof billingRoutes & typeof automationRoutes;
70245
+ type Routes = typeof foundationRoutes & typeof templateRoutes & typeof sendingRoutes & typeof inviteRoutes & typeof platformRoutes & typeof billingRoutes & typeof domainBuyingRoutes & typeof automationRoutes;
69449
70246
  declare const routes: Routes;
69450
70247
  type OperationId = keyof Routes;
69451
70248
  /**
@@ -69473,6 +70270,7 @@ type OperationId = keyof Routes;
69473
70270
  */
69474
70271
  declare const TRUSTED_APP_OPERATIONS: {
69475
70272
  readonly booking: readonly ["workspaces.list", "workspace.update", "providers.list", "sendingDomains.list", "apiKeys.create", "apiKeys.revoke"];
70273
+ readonly sites: readonly ["workspaces.list", "workspace.update", "providers.list", "sendingDomains.list", "apiKeys.create", "apiKeys.revoke"];
69476
70274
  };
69477
70275
  /** Whether a trusted application may call an operation at all. */
69478
70276
  declare function trustedAppMayCall(app: TrustedApp, id: OperationId): boolean;
@@ -69508,4 +70306,4 @@ declare function matchRoute(method: HttpMethod, pathname: string): {
69508
70306
  params: Record<string, string>;
69509
70307
  } | null;
69510
70308
 
69511
- export { AB_TEST_STATUSES, AB_WINNER_METRICS, API_KEY_SCOPES, API_VERSION_PREFIX, ASSET_CONTENT_TYPES, ASSET_POLICIES, ASSET_UPLOAD_FIELD, AUDIT_ACTIONS, AUTHORIZATION_HEADER, AUTOMATION_DATE_TRIGGER_KINDS, AUTOMATION_END_REASONS, AUTOMATION_ENTRY_REFUSALS, AUTOMATION_FILTER_FIELD_OPERATORS, AUTOMATION_FILTER_FIELD_PATTERN, AUTOMATION_ISSUE_CODES, AUTOMATION_STATUSES, AUTOMATION_STEP_KINDS, AUTOMATION_TRIGGER_KINDS, AUTOMATION_WAIT_REASONS, AbTestConfig, AbTestState, AbVariant, AbWinnerRequest, AcceptTerms, ApiKey, ApiKeyCreate, ApiKeyCreated, ApiKeyScope, Asset, AssetContentType, AssetHost, AssetImport, AssetPolicy, AuditAction, AuditActor, AuditEntry, AuditQuery, Automation, AutomationCounts, AutomationCreate, type AutomationDateTriggerKind, AutomationDuplicateRequest, AutomationEndReason, AutomationEnrollRequest, AutomationEnrollResult, AutomationEnrollment, AutomationEntryRefusal, AutomationExitRunRequest, AutomationFilter, AutomationFilterCondition, AutomationFilterField, AutomationFlow, AutomationIssue, AutomationIssueCode, AutomationJourney, AutomationListQuery, AutomationPublishMove, AutomationPublishRequest, AutomationPublishResult, AutomationReport, AutomationRun, AutomationRunCompletedData, AutomationRunExitedData, AutomationRunFailedData, AutomationRunListQuery, AutomationRunParams, AutomationRunStartedData, AutomationRunStatus, AutomationSettings, AutomationStatus, AutomationStep, AutomationStepExecution, AutomationStepKind, AutomationStepParams, AutomationStepReport, AutomationSummary, AutomationTestEmailRequest, AutomationTrigger, AutomationTriggerKind, AutomationUpdate, AutomationValidateRequest, AutomationValidation, AutomationWaitReason, AutomationWebhookData, AutomationWithFlow, BEARER_PREFIX, BILLING_NOT_CONFIGURED_REASON, BillingAddons, BoundedAutomationFilter, BoundedSegmentFilter, COMPANY_GRANT_ROLES, COMPANY_ROLE_MAX_AGE_HOURS, CONTACT_PROPERTY_TYPES, CatalogPlan, CheckoutRequest, CheckoutSession, CompanyGrantRole, CompanyId, CompileMessage, CompileRequest, CompileResult, ConditionStep, Contact, ContactAutomationListQuery, ContactAutomationRun, ContactBouncedData, ContactErased, ContactListQuery, ContactPropertyDefinition, ContactPropertyKey, ContactPropertyParams, ContactPropertyType, ContactResubscribedData, ContactSubscribedData, ContactTaggedData, ContactUnsubscribedData, ContactUpdatedData, ContactUpsert, ContactUpsertResult, DATE_PASSED_ANSWERS, DEFAULT_INVITE_TTL_DAYS, DEFAULT_PAGE_LIMIT, DOCUMENT_SCHEMA_VERSIONS, DateOnly, DatePassedAnswer, DelayStep, DocumentSchemaVersion, type DraftInsertionProblem, EDITABLE_MAILING_STATUSES, ERROR_CODES, ERROR_STATUS, EXPORT_CONTENT_TYPES, EXPORT_FORMATS, EXPORT_WARNINGS_HEADER, EXPORT_WARNING_COUNT_HEADER, type EditableLanguage, Email, EmailStep, EmailStepLanguage, ErrorBody, type ErrorCode, ErrorCodeSchema, Event, EventCreate, EventListQuery, EventName, ExportFormat, ExtraSendingDomainsUpdate, FILTER_FIELD_OPERATORS, FILTER_OPERATORS, FilterCondition, FilterField, type FilterLeafProblem, FilterOperator, GotoStep, HEALTH_PATH, HOSTED_PAGE_LOCALES, type HttpMethod, ICLOUD_SMTP_POLICY, IDEMPOTENCY_KEY_HEADER, IDEMPOTENCY_KEY_MAX_LENGTH, IDEMPOTENCY_KEY_RETENTION_HOURS, IMPORT_FILE_FIELD, IMPORT_ROW_OUTCOMES, IMPORT_SKIP_REASONS, IMPORT_STATUSES, IMPORT_TERMINAL_STATUSES, INSERTION_PROBLEM_REASONS, INSERTION_TEXT_SLOTS, INVITE_REFUSAL_REASONS, INVITE_STATUSES, Id, IdParams, ImportColumnMapping, ImportCommitRequest, ImportFinishedData, ImportJob, ImportMappingRequest, ImportReport, ImportRow, ImportRowListQuery, ImportRowOutcome, ImportSkipReason, ImportStatus, ImportWarning, ImportedAsset, Insertion, InsertionChoice, InsertionChoiceKey, type InsertionChoiceMade, InsertionChoices, type InsertionEdit, InsertionName, type InsertionProblem, type InsertionProblemReason, InsertionText, Insertions, Invite, InviteAccept, InviteAccepted, InviteCreate, InviteCreated, InviteListQuery, type InviteRefusalReason, InviteStatus, JsonValue, LEGAL_TERMS_VERSION, LETTER_ONLY_MERGE_FIELDS, LETTER_RECIPIENT_REFUSAL, LIST_UNSUBSCRIBE_POST_VALUE, LOCALE_TAG_PATTERN, type LanguageDrafts, type LanguageTab, LocaleTag, MAILING_ACTIONS, MAILING_KINDS, MAILING_STATUSES, MAILING_TRANSITIONS, MAX_ALLOWED_ASSET_HOSTS, MAX_ASSET_BYTES, MAX_DELAY_SECONDS, MAX_DOCUMENT_BYTES, MAX_ENGAGEMENT_DAYS, MAX_EXPORT_WARNINGS_HEADER_LENGTH, MAX_EXTRA_SENDING_DOMAINS, MAX_FILTER_DEPTH, MAX_IMPORTED_REMOTE_IMAGES, MAX_IMPORT_BYTES, MAX_IMPORT_ROWS, MAX_IMPORT_URL_LENGTH, MAX_INSERTIONS, MAX_INSERTION_CHOICES, MAX_INSERTION_TEXT_LENGTH, MAX_INVITE_TTL_DAYS, MAX_IN_LIST, MAX_LETTER_RECIPIENTS, MAX_MERGE_DEFAULTS, MAX_MERGE_DEFAULT_LENGTH, MAX_MJML_DEPTH, MAX_MJML_ELEMENTS, MAX_MJML_IMPORT_BYTES, MAX_PAGE_LIMIT, MAX_PREHEADER_LENGTH, MAX_RECIPIENTS_PER_BATCH, MAX_RE_ENTRY_COOLDOWN_SECONDS, MAX_SAVED_SECTIONS, MAX_SPLIT_BRANCHES, MAX_STEPS, MAX_STEP_VISITS, MAX_SUBJECT_LENGTH, MAX_SYNC_COMPANIES, MAX_TEMPLATE_INPUTS, MAX_TEMPLATE_INPUTS_APP_LENGTH, MAX_TEMPLATE_INPUTS_SEEN, MAX_TEMPLATE_INPUT_EXAMPLE_LENGTH, MAX_TEMPLATE_INPUT_LABEL_LENGTH, MAX_TEMPLATE_INPUT_NOTE_LENGTH, MAX_TEMPLATE_INPUT_VALUES, MAX_TEMPLATE_TRANSLATIONS, MAX_TRIGGERS, MEMBER_ROLES, MEMBER_SOURCES, MERGE_FIELD_PATTERN, MESSAGE_OUTCOMES, MIN_SPLIT_BRANCHES, MJML_IMPORT_REFUSALS, Mailing, MailingAbWinnerSelectedData, MailingAction, MailingActionRequest, MailingAnalytics, MailingAudienceFromSegment, MailingCounts, MailingCreate, MailingExportQuery, MailingFinishedData, MailingKind, MailingLanguage, MailingLanguageReport, MailingLanguageStatus, MailingListQuery, MailingMerge, MailingMetadata, MailingResolveRequest, MailingResolveResult, MailingRetryFailedRequest, MailingScheduleFailedData, MailingScheduleRequest, MailingScheduledData, MailingSendRequest, MailingStartedData, MailingStatus, MailingSummary, MailingTestRequest, MailingTestResult, MailingUpdate, Member, MemberCompanySync, MemberCompanySyncResult, MemberCreate, MemberRole, MemberSource, MemberUpdate, MergeDefaultValue, MergeDefaults, MergeFieldName, type MergeFieldUse, type MergeValue, Message, MessageFailedData, MessageListQuery, MessageOutcome, MessageSentData, MessageSummary, MessageValues, type MissingInsertionText, type MjmlImportRefusal, NAME_ON_BROADCAST_REFUSAL, NotifyRecipients, NotifyStep, ON_BEHALF_OF_HEADER, ON_BEHALF_OF_MAX_LENGTH, OffsetDays, Ok, type OperationId, PLAN_FEATURES, PLAN_IDS, PREVIEW_EMPTY, PREVIEW_FILLED, PROVIDER_KINDS, type Page, PageQuery, type Personalization, type Phase, Plan, type PlanFeature, PlanFeatures, PlanId, PlanLimits, PortalRequest, PortalSession, type PreviewControl, Properties, Provider, ProviderCreate, ProviderEvents, ProviderEventsSecret, ProviderKind, ProviderPolicy, ProviderRejections, ProviderUpdate, ProviderUsage, ProviderVerifyResult, QuietHours, RECIPIENT_REJECTIONS, RECIPIENT_STATUSES, REQUEST_ID_HEADER, RESEND_EVENT_TYPES, RESERVED_MERGE_FIELDS, RESOLVE_PROBLEMS, RESOLVE_REJECTIONS, RETRYABLE_ERRORS, RETRY_AFTER_HEADER, RE_ENTRY_MODES, ReEntryMode, Recipient, RecipientBatch, RecipientBatchResult, RecipientInput, RecipientListQuery, RecipientStatus, RemoteImage, type RenamedPlacement, ResendSigningSecret, type ReservedMergeField, ResolveProblem, ResolvedRecipient, ResolvedValue, type RouteAccess, type RouteBody, type RouteDef, type RouteParams, type RouteQuery, type RouteResponse, type Routes, SENDING_DOMAIN_DNS_MODES, SENDING_DOMAIN_REGION, SENDING_DOMAIN_STATUSES, SERVICE_FILLED_MERGE_FIELDS, SIGNUP_FORM_FIELDS, SKIP_REASONS, SMTP_SECURITY, SUBJECT_HEADER, SUPPRESSION_REASONS, type SaveDemotion, SavedSection, SavedSectionBody, SavedSectionCreate, SavedSectionUpdate, Segment, SegmentCreate, SegmentFilter, SegmentPreview, SegmentPreviewRequest, SendingDomain, SendingDomainCreate, SendingDomainDnsMode, SendingDomainName, SendingDomainRecord, SendingDomainStatus, SendingDomainUpdate, SignupForm, SignupFormCreate, SignupFormEmbed, SignupFormTranslation, SignupSubmission, SkipReason, Slug, SplitBranchKey, SplitStep, StepId, type StepTarget, Subscription, Suppression, SuppressionCreate, SuppressionListQuery, SuppressionReason, TEMPLATE_INPUT_KINDS, TEMPLATE_INPUT_PROBLEM_REASONS, TEMPLATE_LANGUAGE_STATUSES, TEMPLATE_SORTS, TEMPLATE_SORT_DEFAULT_ORDER, TERMINAL_MAILING_STATUSES, TRANSACTIONAL_BLOCKING_REASONS, TRANSACTIONAL_NEEDS_LETTER_REFUSAL, TRANSACTIONAL_NEEDS_TEMPLATE_LOCALE_REFUSAL, TRANSACTIONAL_NOT_ALLOWED_REFUSAL, TRANSACTIONAL_UNSUBSCRIBE_URL_REFUSAL, TRUSTED_APPS, TRUSTED_APP_OPERATIONS, Tag, TagAssignment, TagCreate, Template, TemplateCompileRequest, TemplateCreate, TemplateCreatedData, TemplateDeleteQuery, TemplateDeletedData, TemplateDocument, TemplateExportQuery, TemplateImport, TemplateImportPreview, TemplateImportPreviewRequest, TemplateImportResult, TemplateInput, type TemplateInputKind, TemplateInputMap, TemplateInputName, type TemplateInputProblem, type TemplateInputProblemReason, TemplateInputSeen, TemplateInputSource, TemplateInputValue, TemplateInputs, TemplateInputsDeclaration, TemplateInputsDeclared, TemplateInputsSeen, TemplateLanguageStatus, TemplateListQuery, TemplatePreheader, type TemplateSort, TemplateSubject, TemplateSummary, TemplateTranslation, TemplateTranslations, TemplateUpdate, TemplateUpdatedData, TemplateVersion, TemplateVersionParams, TimeOfDay, Timestamp, TimezoneName, Topic, TopicCreate, TopicUpdate, TrackingSettings, TranslationInsertion, TranslationInsertions, TrustedApp, UNSUBSCRIBE_PATH_PREFIX, UNSUBSCRIBE_SOURCES, USAGE_METRICS, USAGE_WARNING_HEADER, USAGE_WARNING_RATIO, UnfilledLink, type UnsubscribeToken, type UnsubscribeTokenClaims, Usage, UsageMetric, UsageWarning, type UsageWarningHeaderEntry, VALUE_LAYERS, type ValidationContext, ValidationIssue, ValueLayer, type ValueSources, VariantAnalytics, type VerifyWebhookInput, WEBHOOK_DELIVERY_STATUSES, WEBHOOK_EVENT_ID_HEADER, WEBHOOK_EVENT_TYPES, WEBHOOK_MAX_ATTEMPTS, WEBHOOK_RETRY_DELAYS_SECONDS, WEBHOOK_SECRET_PREFIX, WEBHOOK_SIGNATURE_HEADER, WEBHOOK_SIGNATURE_VERSION, WEBHOOK_TIMESTAMP_HEADER, WEBHOOK_TOLERANCE_SECONDS, WORKSPACE_HEADER, WebhookDelivery, WebhookDeliveryListQuery, WebhookDeliveryParams, WebhookDeliveryStatus, WebhookEndpoint, WebhookEndpointCreate, WebhookEndpointUpdate, WebhookEndpointWithSecret, WebhookEvent, type WebhookEventOf, WebhookEventType, WebhookStep, WebhookUrl, type WebhookVerifyFailure, type WebhookVerifyResult, Weekday, Workspace, WorkspaceCreate, WorkspaceMembership, WorkspaceMove, WorkspaceSettings, WorkspaceUpdate, acceptsIdempotencyKey, addInsertion, addInsertionChoice, addLanguageDraft, alignTranslationInsertions, alwaysWaits, automationFilterFamily, automationRoutes, billingRoutes, buildPath, buildTemplatePatch, canDeleteMailing, canTransition, canonicalLocale, choiceKeyProblem, chooseInsertion, cycles, defaultPreviewPick, defaultSettings, demoteForSave, demotedBySave, describeMissingTexts, draftDocument, draftInsertionProblems, draftsDirty, draftsFromTemplate, draftsPatch, editInsertionText, editLanguageDraft, editMainInsertionText, editMainInsertions, effectivePreviewPicks, emptyFlow, emptyLinkValues, errorBody, escapeMergeHtml, exportFilename, filterConditions, filterDepth, filterFieldFamily, filterLeafProblem, findMergeFields, formatExportWarningsHeader, formatUsageWarningHeader, foundationRoutes, insertionByProblem, insertionChoices, insertionCoverage, insertionInputs, insertionNameProblem, insertionProblems, insertionRefusalHint, insertionSlotLabel, insertionTextSlots, insertionTokens, insertionValue, inviteRoutes, isDayEntirelyPast, isPublishable, isRetryableError, keepLanguageDocument, languageInsertions, languageName, languageTabs, letterOnlyValues, linkTokens, mainInsertionText, matchLocale, matchRoute, missingInsertionTexts, missingRequiredMergeFields, normalizeChoiceKey, nowSeconds, operationsWithAccess, ownEntry, page, parseExportWarningsHeader, parseUsageWarningHeader, personalizeHtml, personalizeText, placementProblems, platformRoutes, previewControls, previewInsertions, previewPersonalization, primaryLanguage, printedFields, rawMergeValue, reachable, readyWithoutInsertions, readyWithoutSubject, rebaseDrafts, removeInsertion, removeInsertionChoice, removeLanguageDraft, renameInsertion, renameInsertionChecked, renameInsertionChoice, renameInsertionChoiceChecked, renameInsertionEverywhere, renameInsertionPlacements, renameTokenInDocument, renameTokenInText, resolveInsertions, resolveValue, restorePatch, routes, sameJson, sampleMergeValue, saveDemotions, sendingDomainRecordFullName, sendingRoutes, setInsertionBy, setInsertionFilled, setLanguageStatus, signWebhook, statusForError, stepTargets, storedTemplateLine, stronglyConnected, templateInputDrift, templateInputProblems, templateRoutes, testGroupSize, tightLoops, timingSafeEqualString, translationInsertionProblems, translationTextFromInput, triggerKey, trustedAppMayCall, unknownRefusedInsertions, unplacedInsertions, validateAutomation, valueNames, valuesRead, verifyWebhook };
70309
+ export { AB_TEST_STATUSES, AB_WINNER_METRICS, API_KEY_SCOPES, API_VERSION_PREFIX, ASSET_CONTENT_TYPES, ASSET_POLICIES, ASSET_UPLOAD_FIELD, AUDIT_ACTIONS, AUTHORIZATION_HEADER, AUTOMATION_DATE_TRIGGER_KINDS, AUTOMATION_END_REASONS, AUTOMATION_ENTRY_REFUSALS, AUTOMATION_FILTER_FIELD_OPERATORS, AUTOMATION_FILTER_FIELD_PATTERN, AUTOMATION_ISSUE_CODES, AUTOMATION_STATUSES, AUTOMATION_STEP_KINDS, AUTOMATION_TRIGGER_KINDS, AUTOMATION_WAIT_REASONS, AbTestConfig, AbTestState, AbVariant, AbWinnerRequest, AcceptTerms, ApiKey, ApiKeyCreate, ApiKeyCreated, ApiKeyScope, Asset, AssetContentType, AssetHost, AssetImport, AssetPolicy, AuditAction, AuditActor, AuditEntry, AuditQuery, Automation, AutomationCounts, AutomationCreate, type AutomationDateTriggerKind, AutomationDuplicateRequest, AutomationEndReason, AutomationEnrollRequest, AutomationEnrollResult, AutomationEnrollment, AutomationEntryRefusal, AutomationExitRunRequest, AutomationFilter, AutomationFilterCondition, AutomationFilterField, AutomationFlow, AutomationIssue, AutomationIssueCode, AutomationJourney, AutomationListQuery, AutomationPublishMove, AutomationPublishRequest, AutomationPublishResult, AutomationReport, AutomationRun, AutomationRunCompletedData, AutomationRunExitedData, AutomationRunFailedData, AutomationRunListQuery, AutomationRunParams, AutomationRunStartedData, AutomationRunStatus, AutomationSettings, AutomationStatus, AutomationStep, AutomationStepExecution, AutomationStepKind, AutomationStepParams, AutomationStepReport, AutomationSummary, AutomationTestEmailRequest, AutomationTrigger, AutomationTriggerKind, AutomationUpdate, AutomationValidateRequest, AutomationValidation, AutomationWaitReason, AutomationWebhookData, AutomationWithFlow, BEARER_PREFIX, BILLING_NOT_CONFIGURED_REASON, BillingAddons, BoundedAutomationFilter, BoundedSegmentFilter, COMPANY_GRANT_ROLES, COMPANY_ROLE_MAX_AGE_HOURS, CONTACT_PROPERTY_TYPES, CatalogPlan, CheckoutRequest, CheckoutSession, CompanyGrantRole, CompanyId, CompileMessage, CompileRequest, CompileResult, ConditionStep, Contact, ContactAutomationListQuery, ContactAutomationRun, ContactBouncedData, ContactErased, ContactListQuery, ContactPropertyDefinition, ContactPropertyKey, ContactPropertyParams, ContactPropertyType, ContactResubscribedData, ContactSubscribedData, ContactTaggedData, ContactUnsubscribedData, ContactUpdatedData, ContactUpsert, ContactUpsertResult, DATE_PASSED_ANSWERS, DEFAULT_INVITE_TTL_DAYS, DEFAULT_PAGE_LIMIT, DOCUMENT_SCHEMA_VERSIONS, DOMAIN_BUYING_BLOCKS, DOMAIN_BUYING_NOT_CONFIGURED_REASON, DOMAIN_ORDER_STATES, DOMAIN_PRICE_CHANGED_REASON, DOMAIN_UNAVAILABLE_REASONS, DateOnly, DatePassedAnswer, DelayStep, DocumentSchemaVersion, DomainBuyingBlock, DomainOffer, DomainOrder, DomainOrderCreate, DomainOrderState, DomainRegistrant, DomainSearchQuery, DomainSearchResult, DomainUnavailableReason, type DraftInsertionProblem, EDITABLE_MAILING_STATUSES, ERROR_CODES, ERROR_STATUS, EXPORT_CONTENT_TYPES, EXPORT_FORMATS, EXPORT_WARNINGS_HEADER, EXPORT_WARNING_COUNT_HEADER, type EditableLanguage, Email, EmailStep, EmailStepLanguage, ErrorBody, type ErrorCode, ErrorCodeSchema, Event, EventCreate, EventListQuery, EventName, ExportFormat, ExtraSendingDomainsUpdate, FILTER_FIELD_OPERATORS, FILTER_OPERATORS, FilterCondition, FilterField, type FilterLeafProblem, FilterOperator, GotoStep, HEALTH_PATH, HOSTED_PAGE_LOCALES, type HttpMethod, ICLOUD_SMTP_POLICY, IDEMPOTENCY_KEY_HEADER, IDEMPOTENCY_KEY_MAX_LENGTH, IDEMPOTENCY_KEY_RETENTION_HOURS, IMPORT_FILE_FIELD, IMPORT_ROW_OUTCOMES, IMPORT_SKIP_REASONS, IMPORT_STATUSES, IMPORT_TERMINAL_STATUSES, INSERTION_PROBLEM_REASONS, INSERTION_TEXT_SLOTS, INVITE_REFUSAL_REASONS, INVITE_STATUSES, Id, IdParams, ImportColumnMapping, ImportCommitRequest, ImportFinishedData, ImportJob, ImportMappingRequest, ImportReport, ImportRow, ImportRowListQuery, ImportRowOutcome, ImportSkipReason, ImportStatus, ImportWarning, ImportedAsset, Insertion, InsertionChoice, InsertionChoiceKey, type InsertionChoiceMade, InsertionChoices, type InsertionEdit, InsertionName, type InsertionProblem, type InsertionProblemReason, InsertionText, Insertions, Invite, InviteAccept, InviteAccepted, InviteCreate, InviteCreated, InviteListQuery, type InviteRefusalReason, InviteStatus, JsonValue, LEGAL_TERMS_VERSION, LETTER_ONLY_MERGE_FIELDS, LETTER_RECIPIENT_REFUSAL, LIST_UNSUBSCRIBE_POST_VALUE, LOCALE_TAG_PATTERN, type LanguageDrafts, type LanguageTab, LocaleTag, MAILING_ACTIONS, MAILING_KINDS, MAILING_STATUSES, MAILING_TRANSITIONS, MAX_ALLOWED_ASSET_HOSTS, MAX_ASSET_BYTES, MAX_DELAY_SECONDS, MAX_DOCUMENT_BYTES, MAX_DOMAIN_ORDERS_PER_DAY, MAX_ENGAGEMENT_DAYS, MAX_EXPORT_WARNINGS_HEADER_LENGTH, MAX_EXTRA_SENDING_DOMAINS, MAX_FILTER_DEPTH, MAX_IMPORTED_REMOTE_IMAGES, MAX_IMPORT_BYTES, MAX_IMPORT_ROWS, MAX_IMPORT_URL_LENGTH, MAX_INSERTIONS, MAX_INSERTION_CHOICES, MAX_INSERTION_TEXT_LENGTH, MAX_INVITE_TTL_DAYS, MAX_IN_LIST, MAX_LETTER_RECIPIENTS, MAX_MERGE_DEFAULTS, MAX_MERGE_DEFAULT_LENGTH, MAX_MJML_DEPTH, MAX_MJML_ELEMENTS, MAX_MJML_IMPORT_BYTES, MAX_PAGE_LIMIT, MAX_PREHEADER_LENGTH, MAX_RECIPIENTS_PER_BATCH, MAX_RE_ENTRY_COOLDOWN_SECONDS, MAX_SAVED_SECTIONS, MAX_SPLIT_BRANCHES, MAX_STEPS, MAX_STEP_VISITS, MAX_SUBJECT_LENGTH, MAX_SYNC_COMPANIES, MAX_TEMPLATE_INPUTS, MAX_TEMPLATE_INPUTS_APP_LENGTH, MAX_TEMPLATE_INPUTS_SEEN, MAX_TEMPLATE_INPUT_EXAMPLE_LENGTH, MAX_TEMPLATE_INPUT_LABEL_LENGTH, MAX_TEMPLATE_INPUT_NOTE_LENGTH, MAX_TEMPLATE_INPUT_VALUES, MAX_TEMPLATE_TRANSLATIONS, MAX_TRIGGERS, MEMBER_ROLES, MEMBER_SOURCES, MERGE_FIELD_PATTERN, MESSAGE_OUTCOMES, MIN_SPLIT_BRANCHES, MJML_IMPORT_REFUSALS, Mailing, MailingAbWinnerSelectedData, MailingAction, MailingActionRequest, MailingAnalytics, MailingAudienceFromSegment, MailingCounts, MailingCreate, MailingExportQuery, MailingFinishedData, MailingKind, MailingLanguage, MailingLanguageReport, MailingLanguageStatus, MailingListQuery, MailingMerge, MailingMetadata, MailingResolveRequest, MailingResolveResult, MailingRetryFailedRequest, MailingScheduleFailedData, MailingScheduleRequest, MailingScheduledData, MailingSendRequest, MailingStartedData, MailingStatus, MailingSummary, MailingTestRequest, MailingTestResult, MailingUpdate, Member, MemberCompanySync, MemberCompanySyncResult, MemberCreate, MemberRole, MemberSource, MemberUpdate, MergeDefaultValue, MergeDefaults, MergeFieldName, type MergeFieldUse, type MergeValue, Message, MessageFailedData, MessageListQuery, MessageOutcome, MessageSentData, MessageSummary, MessageValues, type MissingInsertionText, type MjmlImportRefusal, NAME_ON_BROADCAST_REFUSAL, NotifyRecipients, NotifyStep, ON_BEHALF_OF_HEADER, ON_BEHALF_OF_MAX_LENGTH, OffsetDays, Ok, type OperationId, PLAN_FEATURES, PLAN_IDS, PREVIEW_EMPTY, PREVIEW_FILLED, PROVIDER_KINDS, type Page, PageQuery, type Personalization, type Phase, Plan, type PlanFeature, PlanFeatures, PlanId, PlanLimits, PortalRequest, PortalSession, type PreviewControl, Properties, Provider, ProviderCreate, ProviderEvents, ProviderEventsSecret, ProviderKind, ProviderPolicy, ProviderRejections, ProviderUpdate, ProviderUsage, ProviderVerifyResult, QuietHours, RECIPIENT_REJECTIONS, RECIPIENT_STATUSES, REQUEST_ID_HEADER, RESEND_EVENT_TYPES, RESERVED_MERGE_FIELDS, RESOLVE_PROBLEMS, RESOLVE_REJECTIONS, RETRYABLE_ERRORS, RETRY_AFTER_HEADER, RE_ENTRY_MODES, ReEntryMode, Recipient, RecipientBatch, RecipientBatchResult, RecipientInput, RecipientListQuery, RecipientStatus, RemoteImage, type RenamedPlacement, ResendSigningSecret, type ReservedMergeField, ResolveProblem, ResolvedRecipient, ResolvedValue, type RouteAccess, type RouteBody, type RouteDef, type RouteParams, type RouteQuery, type RouteResponse, type Routes, SENDING_DOMAIN_DNS_MODES, SENDING_DOMAIN_REGION, SENDING_DOMAIN_STATUSES, SERVICE_FILLED_MERGE_FIELDS, SIGNUP_FORM_FIELDS, SKIP_REASONS, SMTP_SECURITY, SUBJECT_HEADER, SUPPRESSION_REASONS, type SaveDemotion, SavedSection, SavedSectionBody, SavedSectionCreate, SavedSectionUpdate, Segment, SegmentCreate, SegmentFilter, SegmentPreview, SegmentPreviewRequest, SendingDomain, SendingDomainCreate, SendingDomainDnsMode, SendingDomainName, SendingDomainRecord, SendingDomainStatus, SendingDomainUpdate, SignupForm, SignupFormCreate, SignupFormEmbed, SignupFormTranslation, SignupSubmission, SkipReason, Slug, SplitBranchKey, SplitStep, StepId, type StepTarget, Subscription, Suppression, SuppressionCreate, SuppressionListQuery, SuppressionReason, TEMPLATE_INPUT_KINDS, TEMPLATE_INPUT_PROBLEM_REASONS, TEMPLATE_LANGUAGE_STATUSES, TEMPLATE_SORTS, TEMPLATE_SORT_DEFAULT_ORDER, TERMINAL_MAILING_STATUSES, TRANSACTIONAL_BLOCKING_REASONS, TRANSACTIONAL_NEEDS_LETTER_REFUSAL, TRANSACTIONAL_NEEDS_TEMPLATE_LOCALE_REFUSAL, TRANSACTIONAL_NOT_ALLOWED_REFUSAL, TRANSACTIONAL_UNSUBSCRIBE_URL_REFUSAL, TRUSTED_APPS, TRUSTED_APP_OPERATIONS, Tag, TagAssignment, TagCreate, Template, TemplateCompileRequest, TemplateCreate, TemplateCreatedData, TemplateDeleteQuery, TemplateDeletedData, TemplateDocument, TemplateExportQuery, TemplateImport, TemplateImportPreview, TemplateImportPreviewRequest, TemplateImportResult, TemplateInput, type TemplateInputKind, TemplateInputMap, TemplateInputName, type TemplateInputProblem, type TemplateInputProblemReason, TemplateInputSeen, TemplateInputSource, TemplateInputValue, TemplateInputs, TemplateInputsDeclaration, TemplateInputsDeclared, TemplateInputsSeen, TemplateLanguageStatus, TemplateListQuery, TemplatePreheader, type TemplateSort, TemplateSubject, TemplateSummary, TemplateTranslation, TemplateTranslations, TemplateUpdate, TemplateUpdatedData, TemplateVersion, TemplateVersionParams, TermsAcceptance, TermsStatus, TimeOfDay, Timestamp, TimezoneName, Topic, TopicCreate, TopicUpdate, TrackingSettings, TranslationInsertion, TranslationInsertions, TrustedApp, UNSUBSCRIBE_PATH_PREFIX, UNSUBSCRIBE_SOURCES, USAGE_METRICS, USAGE_WARNING_HEADER, USAGE_WARNING_RATIO, UnfilledLink, type UnsubscribeToken, type UnsubscribeTokenClaims, Usage, UsageMetric, UsageWarning, type UsageWarningHeaderEntry, VALUE_LAYERS, type ValidationContext, ValidationIssue, ValueLayer, type ValueSources, VariantAnalytics, type VerifyWebhookInput, WEBHOOK_DELIVERY_STATUSES, WEBHOOK_EVENT_ID_HEADER, WEBHOOK_EVENT_TYPES, WEBHOOK_MAX_ATTEMPTS, WEBHOOK_RETRY_DELAYS_SECONDS, WEBHOOK_SECRET_PREFIX, WEBHOOK_SIGNATURE_HEADER, WEBHOOK_SIGNATURE_VERSION, WEBHOOK_TIMESTAMP_HEADER, WEBHOOK_TOLERANCE_SECONDS, WORKSPACE_HEADER, WebhookDelivery, WebhookDeliveryListQuery, WebhookDeliveryParams, WebhookDeliveryStatus, WebhookEndpoint, WebhookEndpointCreate, WebhookEndpointUpdate, WebhookEndpointWithSecret, WebhookEvent, type WebhookEventOf, WebhookEventType, WebhookStep, WebhookUrl, type WebhookVerifyFailure, type WebhookVerifyResult, Weekday, Workspace, WorkspaceCreate, WorkspaceMembership, WorkspaceMove, WorkspaceSettings, WorkspaceUpdate, acceptsIdempotencyKey, addInsertion, addInsertionChoice, addLanguageDraft, alignTranslationInsertions, alwaysWaits, automationFilterFamily, automationRoutes, billingRoutes, buildPath, buildTemplatePatch, canDeleteMailing, canTransition, canonicalLocale, choiceKeyProblem, chooseInsertion, cycles, defaultPreviewPick, defaultSettings, demoteForSave, demotedBySave, describeMissingTexts, domainBuyingRoutes, draftDocument, draftInsertionProblems, draftsDirty, draftsFromTemplate, draftsPatch, editInsertionText, editLanguageDraft, editMainInsertionText, editMainInsertions, effectivePreviewPicks, emptyFlow, emptyLinkValues, errorBody, escapeMergeHtml, exportFilename, filterConditions, filterDepth, filterFieldFamily, filterLeafProblem, findMergeFields, formatExportWarningsHeader, formatUsageWarningHeader, foundationRoutes, insertionByProblem, insertionChoices, insertionCoverage, insertionInputs, insertionNameProblem, insertionProblems, insertionRefusalHint, insertionSlotLabel, insertionTextSlots, insertionTokens, insertionValue, inviteRoutes, isDayEntirelyPast, isPublishable, isRetryableError, keepLanguageDocument, languageInsertions, languageName, languageTabs, letterOnlyValues, linkTokens, mainInsertionText, matchLocale, matchRoute, missingInsertionTexts, missingRequiredMergeFields, normalizeChoiceKey, nowSeconds, operationsWithAccess, ownEntry, page, parseExportWarningsHeader, parseUsageWarningHeader, personalizeHtml, personalizeText, placementProblems, platformRoutes, previewControls, previewInsertions, previewPersonalization, primaryLanguage, printedFields, rawMergeValue, reachable, readyWithoutInsertions, readyWithoutSubject, rebaseDrafts, removeInsertion, removeInsertionChoice, removeLanguageDraft, renameInsertion, renameInsertionChecked, renameInsertionChoice, renameInsertionChoiceChecked, renameInsertionEverywhere, renameInsertionPlacements, renameTokenInDocument, renameTokenInText, resolveInsertions, resolveValue, restorePatch, routes, sameJson, sampleMergeValue, saveDemotions, sendingDomainRecordFullName, sendingRoutes, setInsertionBy, setInsertionFilled, setLanguageStatus, signWebhook, statusForError, stepTargets, storedTemplateLine, stronglyConnected, templateInputDrift, templateInputProblems, templateRoutes, testGroupSize, tightLoops, timingSafeEqualString, translationInsertionProblems, translationTextFromInput, triggerKey, trustedAppMayCall, unknownRefusedInsertions, unplacedInsertions, validateAutomation, valueNames, valuesRead, verifyWebhook };