@marlinjai/mail-contract 0.20.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", "billing.terms_accepted", "automation.created", "automation.updated", "automation.published", "automation.paused", "automation.resumed", "automation.archived", "automation.deleted", "automation.duplicated", "automation.enrolled", "automation.run_ended", "event.recorded"];
1034
- declare const AuditAction: z.ZodEnum<["workspace.created", "workspace.updated", "workspace.company_changed", "member.added", "member.role_changed", "member.removed", "member.invited", "invite.revoked", "api_key.created", "api_key.revoked", "provider.created", "provider.updated", "provider.deleted", "provider.events_registered", "provider.events_secret_set", "provider.bounces_halted", "provider.anomaly_cleared", "sending_domain.created", "sending_domain.updated", "sending_domain.checked", "sending_domain.records_written", "sending_domain.deleted", "topic.created", "topic.updated", "topic.deleted", "template.created", "template.updated", "template.deleted", "template.inputs_declared", "saved_section.created", "saved_section.updated", "saved_section.deleted", "asset.uploaded", "asset.imported", "contact.erased", "suppression.created", "suppression.deleted", "mailing.created", "mailing.sent", "mailing.paused", "mailing.resumed", "mailing.cancelled", "mailing.deleted", "mailing.retried", "webhook.created", "webhook.updated", "webhook.deleted", "webhook.secret_rotated", "webhook.redelivered", "contact.unsubscribed", "tag.created", "tag.deleted", "tag.assigned", "tag.unassigned", "contact_property.created", "contact_property.deleted", "segment.created", "segment.updated", "segment.deleted", "signup_form.created", "signup_form.updated", "signup_form.deleted", "contact.subscribed", "import.created", "import.mapped", "import.committed", "import.cancelled", "import.finished", "mailing.scheduled", "mailing.unscheduled", "mailing.schedule_failed", "mailing.ab_test_updated", "mailing.ab_winner_selected", "tracking.updated", "billing.checkout_started", "billing.subscription_changed", "billing.exemption_changed", "billing.extra_sending_domains_changed", "billing.terms_accepted", "automation.created", "automation.updated", "automation.published", "automation.paused", "automation.resumed", "automation.archived", "automation.deleted", "automation.duplicated", "automation.enrolled", "automation.run_ended", "event.recorded"]>;
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", "billing.terms_accepted", "automation.created", "automation.updated", "automation.published", "automation.paused", "automation.resumed", "automation.archived", "automation.deleted", "automation.duplicated", "automation.enrolled", "automation.run_ended", "event.recorded"]>;
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" | "billing.terms_accepted" | "automation.created" | "automation.updated" | "automation.published" | "automation.paused" | "automation.resumed" | "automation.archived" | "automation.deleted" | "automation.duplicated" | "automation.enrolled" | "automation.run_ended" | "event.recorded";
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" | "billing.terms_accepted" | "automation.created" | "automation.updated" | "automation.published" | "automation.paused" | "automation.resumed" | "automation.archived" | "automation.deleted" | "automation.duplicated" | "automation.enrolled" | "automation.run_ended" | "event.recorded";
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", "billing.terms_accepted", "automation.created", "automation.updated", "automation.published", "automation.paused", "automation.resumed", "automation.archived", "automation.deleted", "automation.duplicated", "automation.enrolled", "automation.run_ended", "event.recorded"]>>;
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" | "billing.terms_accepted" | "automation.created" | "automation.updated" | "automation.published" | "automation.paused" | "automation.resumed" | "automation.archived" | "automation.deleted" | "automation.duplicated" | "automation.enrolled" | "automation.run_ended" | "event.recorded" | undefined;
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" | "billing.terms_accepted" | "automation.created" | "automation.updated" | "automation.published" | "automation.paused" | "automation.resumed" | "automation.archived" | "automation.deleted" | "automation.duplicated" | "automation.enrolled" | "automation.run_ended" | "event.recorded" | undefined;
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;
@@ -29305,11 +29629,11 @@ declare const Usage: z.ZodObject<{
29305
29629
  type Usage = z.infer<typeof Usage>;
29306
29630
  /** An owner or admin accepts the current terms of service and processing agreement for the workspace. */
29307
29631
  declare const TermsAcceptance: z.ZodObject<{
29308
- accept_terms: z.ZodLiteral<"2026-10-23">;
29632
+ accept_terms: z.ZodLiteral<"2026-10-28">;
29309
29633
  }, "strip", z.ZodTypeAny, {
29310
- accept_terms: "2026-10-23";
29634
+ accept_terms: "2026-10-28";
29311
29635
  }, {
29312
- accept_terms: "2026-10-23";
29636
+ accept_terms: "2026-10-28";
29313
29637
  }>;
29314
29638
  type TermsAcceptance = z.infer<typeof TermsAcceptance>;
29315
29639
  declare const CheckoutRequest: z.ZodObject<{
@@ -29317,17 +29641,17 @@ declare const CheckoutRequest: z.ZodObject<{
29317
29641
  success_url: z.ZodString;
29318
29642
  cancel_url: z.ZodString;
29319
29643
  /** The buyer accepted the terms of service and the processing agreement of this version. */
29320
- accept_terms: z.ZodLiteral<"2026-10-23">;
29644
+ accept_terms: z.ZodLiteral<"2026-10-28">;
29321
29645
  }, "strip", z.ZodTypeAny, {
29322
- accept_terms: "2026-10-23";
29323
- plan: "starter" | "growth";
29646
+ accept_terms: "2026-10-28";
29324
29647
  success_url: string;
29325
29648
  cancel_url: string;
29326
- }, {
29327
- accept_terms: "2026-10-23";
29328
29649
  plan: "starter" | "growth";
29650
+ }, {
29651
+ accept_terms: "2026-10-28";
29329
29652
  success_url: string;
29330
29653
  cancel_url: string;
29654
+ plan: "starter" | "growth";
29331
29655
  }>;
29332
29656
  type CheckoutRequest = z.infer<typeof CheckoutRequest>;
29333
29657
  declare const CheckoutSession: z.ZodObject<{
@@ -29384,9 +29708,9 @@ declare function parseUsageWarningHeader(value: string | null | undefined): Usag
29384
29708
  * refused, so a change of the texts moves this and the next person accepts the
29385
29709
  * new one.
29386
29710
  */
29387
- declare const LEGAL_TERMS_VERSION = "2026-10-23";
29711
+ declare const LEGAL_TERMS_VERSION = "2026-10-28";
29388
29712
  /** `accept_terms`: the person accepted the terms of service and the processing agreement of the current version. */
29389
- declare const AcceptTerms: z.ZodLiteral<"2026-10-23">;
29713
+ declare const AcceptTerms: z.ZodLiteral<"2026-10-28">;
29390
29714
 
29391
29715
  type HttpMethod = 'GET' | 'POST' | 'PUT' | 'PATCH' | 'DELETE';
29392
29716
  /**
@@ -29481,7 +29805,7 @@ declare const foundationRoutes: {
29481
29805
  name?: string | null | undefined;
29482
29806
  }>;
29483
29807
  company_id: z.ZodString;
29484
- accept_terms: z.ZodLiteral<"2026-10-23">;
29808
+ accept_terms: z.ZodLiteral<"2026-10-28">;
29485
29809
  }, "strip", z.ZodTypeAny, {
29486
29810
  name: string;
29487
29811
  slug: string;
@@ -29490,7 +29814,7 @@ declare const foundationRoutes: {
29490
29814
  name?: string | null | undefined;
29491
29815
  };
29492
29816
  company_id: string;
29493
- accept_terms: "2026-10-23";
29817
+ accept_terms: "2026-10-28";
29494
29818
  settings?: {
29495
29819
  asset_policy?: "any" | "service_only" | undefined;
29496
29820
  default_locale?: string | undefined;
@@ -29508,7 +29832,7 @@ declare const foundationRoutes: {
29508
29832
  name?: string | null | undefined;
29509
29833
  };
29510
29834
  company_id: string;
29511
- accept_terms: "2026-10-23";
29835
+ accept_terms: "2026-10-28";
29512
29836
  settings?: {
29513
29837
  asset_policy?: "any" | "service_only" | undefined;
29514
29838
  default_locale?: string | undefined;
@@ -30486,38 +30810,38 @@ declare const foundationRoutes: {
30486
30810
  cursor: z.ZodOptional<z.ZodString>;
30487
30811
  limit: z.ZodOptional<z.ZodNumber>;
30488
30812
  } & {
30489
- action: z.ZodOptional<z.ZodEnum<["workspace.created", "workspace.updated", "workspace.company_changed", "member.added", "member.role_changed", "member.removed", "member.invited", "invite.revoked", "api_key.created", "api_key.revoked", "provider.created", "provider.updated", "provider.deleted", "provider.events_registered", "provider.events_secret_set", "provider.bounces_halted", "provider.anomaly_cleared", "sending_domain.created", "sending_domain.updated", "sending_domain.checked", "sending_domain.records_written", "sending_domain.deleted", "topic.created", "topic.updated", "topic.deleted", "template.created", "template.updated", "template.deleted", "template.inputs_declared", "saved_section.created", "saved_section.updated", "saved_section.deleted", "asset.uploaded", "asset.imported", "contact.erased", "suppression.created", "suppression.deleted", "mailing.created", "mailing.sent", "mailing.paused", "mailing.resumed", "mailing.cancelled", "mailing.deleted", "mailing.retried", "webhook.created", "webhook.updated", "webhook.deleted", "webhook.secret_rotated", "webhook.redelivered", "contact.unsubscribed", "tag.created", "tag.deleted", "tag.assigned", "tag.unassigned", "contact_property.created", "contact_property.deleted", "segment.created", "segment.updated", "segment.deleted", "signup_form.created", "signup_form.updated", "signup_form.deleted", "contact.subscribed", "import.created", "import.mapped", "import.committed", "import.cancelled", "import.finished", "mailing.scheduled", "mailing.unscheduled", "mailing.schedule_failed", "mailing.ab_test_updated", "mailing.ab_winner_selected", "tracking.updated", "billing.checkout_started", "billing.subscription_changed", "billing.exemption_changed", "billing.extra_sending_domains_changed", "billing.terms_accepted", "automation.created", "automation.updated", "automation.published", "automation.paused", "automation.resumed", "automation.archived", "automation.deleted", "automation.duplicated", "automation.enrolled", "automation.run_ended", "event.recorded"]>>;
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"]>>;
30490
30814
  target_id: z.ZodOptional<z.ZodString>;
30491
30815
  }, "strip", z.ZodTypeAny, {
30492
30816
  cursor?: string | undefined;
30493
30817
  limit?: number | undefined;
30494
- action?: "workspace.created" | "workspace.updated" | "workspace.company_changed" | "member.added" | "member.role_changed" | "member.removed" | "member.invited" | "invite.revoked" | "api_key.created" | "api_key.revoked" | "provider.created" | "provider.updated" | "provider.deleted" | "provider.events_registered" | "provider.events_secret_set" | "provider.bounces_halted" | "provider.anomaly_cleared" | "sending_domain.created" | "sending_domain.updated" | "sending_domain.checked" | "sending_domain.records_written" | "sending_domain.deleted" | "topic.created" | "topic.updated" | "topic.deleted" | "template.created" | "template.updated" | "template.deleted" | "template.inputs_declared" | "saved_section.created" | "saved_section.updated" | "saved_section.deleted" | "asset.uploaded" | "asset.imported" | "contact.erased" | "suppression.created" | "suppression.deleted" | "mailing.created" | "mailing.sent" | "mailing.paused" | "mailing.resumed" | "mailing.cancelled" | "mailing.deleted" | "mailing.retried" | "webhook.created" | "webhook.updated" | "webhook.deleted" | "webhook.secret_rotated" | "webhook.redelivered" | "contact.unsubscribed" | "tag.created" | "tag.deleted" | "tag.assigned" | "tag.unassigned" | "contact_property.created" | "contact_property.deleted" | "segment.created" | "segment.updated" | "segment.deleted" | "signup_form.created" | "signup_form.updated" | "signup_form.deleted" | "contact.subscribed" | "import.created" | "import.mapped" | "import.committed" | "import.cancelled" | "import.finished" | "mailing.scheduled" | "mailing.unscheduled" | "mailing.schedule_failed" | "mailing.ab_test_updated" | "mailing.ab_winner_selected" | "tracking.updated" | "billing.checkout_started" | "billing.subscription_changed" | "billing.exemption_changed" | "billing.extra_sending_domains_changed" | "billing.terms_accepted" | "automation.created" | "automation.updated" | "automation.published" | "automation.paused" | "automation.resumed" | "automation.archived" | "automation.deleted" | "automation.duplicated" | "automation.enrolled" | "automation.run_ended" | "event.recorded" | undefined;
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;
30495
30819
  target_id?: string | undefined;
30496
30820
  }, {
30497
30821
  cursor?: string | undefined;
30498
30822
  limit?: number | undefined;
30499
- action?: "workspace.created" | "workspace.updated" | "workspace.company_changed" | "member.added" | "member.role_changed" | "member.removed" | "member.invited" | "invite.revoked" | "api_key.created" | "api_key.revoked" | "provider.created" | "provider.updated" | "provider.deleted" | "provider.events_registered" | "provider.events_secret_set" | "provider.bounces_halted" | "provider.anomaly_cleared" | "sending_domain.created" | "sending_domain.updated" | "sending_domain.checked" | "sending_domain.records_written" | "sending_domain.deleted" | "topic.created" | "topic.updated" | "topic.deleted" | "template.created" | "template.updated" | "template.deleted" | "template.inputs_declared" | "saved_section.created" | "saved_section.updated" | "saved_section.deleted" | "asset.uploaded" | "asset.imported" | "contact.erased" | "suppression.created" | "suppression.deleted" | "mailing.created" | "mailing.sent" | "mailing.paused" | "mailing.resumed" | "mailing.cancelled" | "mailing.deleted" | "mailing.retried" | "webhook.created" | "webhook.updated" | "webhook.deleted" | "webhook.secret_rotated" | "webhook.redelivered" | "contact.unsubscribed" | "tag.created" | "tag.deleted" | "tag.assigned" | "tag.unassigned" | "contact_property.created" | "contact_property.deleted" | "segment.created" | "segment.updated" | "segment.deleted" | "signup_form.created" | "signup_form.updated" | "signup_form.deleted" | "contact.subscribed" | "import.created" | "import.mapped" | "import.committed" | "import.cancelled" | "import.finished" | "mailing.scheduled" | "mailing.unscheduled" | "mailing.schedule_failed" | "mailing.ab_test_updated" | "mailing.ab_winner_selected" | "tracking.updated" | "billing.checkout_started" | "billing.subscription_changed" | "billing.exemption_changed" | "billing.extra_sending_domains_changed" | "billing.terms_accepted" | "automation.created" | "automation.updated" | "automation.published" | "automation.paused" | "automation.resumed" | "automation.archived" | "automation.deleted" | "automation.duplicated" | "automation.enrolled" | "automation.run_ended" | "event.recorded" | undefined;
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;
30500
30824
  target_id?: string | undefined;
30501
30825
  }>;
30502
30826
  readonly response: z.ZodObject<{
30503
30827
  data: z.ZodArray<z.ZodObject<{
30504
30828
  id: z.ZodString;
30505
- action: z.ZodEnum<["workspace.created", "workspace.updated", "workspace.company_changed", "member.added", "member.role_changed", "member.removed", "member.invited", "invite.revoked", "api_key.created", "api_key.revoked", "provider.created", "provider.updated", "provider.deleted", "provider.events_registered", "provider.events_secret_set", "provider.bounces_halted", "provider.anomaly_cleared", "sending_domain.created", "sending_domain.updated", "sending_domain.checked", "sending_domain.records_written", "sending_domain.deleted", "topic.created", "topic.updated", "topic.deleted", "template.created", "template.updated", "template.deleted", "template.inputs_declared", "saved_section.created", "saved_section.updated", "saved_section.deleted", "asset.uploaded", "asset.imported", "contact.erased", "suppression.created", "suppression.deleted", "mailing.created", "mailing.sent", "mailing.paused", "mailing.resumed", "mailing.cancelled", "mailing.deleted", "mailing.retried", "webhook.created", "webhook.updated", "webhook.deleted", "webhook.secret_rotated", "webhook.redelivered", "contact.unsubscribed", "tag.created", "tag.deleted", "tag.assigned", "tag.unassigned", "contact_property.created", "contact_property.deleted", "segment.created", "segment.updated", "segment.deleted", "signup_form.created", "signup_form.updated", "signup_form.deleted", "contact.subscribed", "import.created", "import.mapped", "import.committed", "import.cancelled", "import.finished", "mailing.scheduled", "mailing.unscheduled", "mailing.schedule_failed", "mailing.ab_test_updated", "mailing.ab_winner_selected", "tracking.updated", "billing.checkout_started", "billing.subscription_changed", "billing.exemption_changed", "billing.extra_sending_domains_changed", "billing.terms_accepted", "automation.created", "automation.updated", "automation.published", "automation.paused", "automation.resumed", "automation.archived", "automation.deleted", "automation.duplicated", "automation.enrolled", "automation.run_ended", "event.recorded"]>;
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"]>;
30506
30830
  actor: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
30507
30831
  type: z.ZodLiteral<"member">;
30508
30832
  member_id: z.ZodString;
30509
30833
  subject: z.ZodString;
30510
- app: z.ZodOptional<z.ZodEnum<["booking"]>>;
30834
+ app: z.ZodOptional<z.ZodEnum<["booking", "sites"]>>;
30511
30835
  }, "strip", z.ZodTypeAny, {
30512
30836
  type: "member";
30513
30837
  subject: string;
30514
30838
  member_id: string;
30515
- app?: "booking" | undefined;
30839
+ app?: "booking" | "sites" | undefined;
30516
30840
  }, {
30517
30841
  type: "member";
30518
30842
  subject: string;
30519
30843
  member_id: string;
30520
- app?: "booking" | undefined;
30844
+ app?: "booking" | "sites" | undefined;
30521
30845
  }>, z.ZodObject<{
30522
30846
  type: z.ZodLiteral<"api_key">;
30523
30847
  api_key_id: z.ZodString;
@@ -30548,12 +30872,12 @@ declare const foundationRoutes: {
30548
30872
  id: string;
30549
30873
  details: Record<string, unknown>;
30550
30874
  created_at: string;
30551
- action: "workspace.created" | "workspace.updated" | "workspace.company_changed" | "member.added" | "member.role_changed" | "member.removed" | "member.invited" | "invite.revoked" | "api_key.created" | "api_key.revoked" | "provider.created" | "provider.updated" | "provider.deleted" | "provider.events_registered" | "provider.events_secret_set" | "provider.bounces_halted" | "provider.anomaly_cleared" | "sending_domain.created" | "sending_domain.updated" | "sending_domain.checked" | "sending_domain.records_written" | "sending_domain.deleted" | "topic.created" | "topic.updated" | "topic.deleted" | "template.created" | "template.updated" | "template.deleted" | "template.inputs_declared" | "saved_section.created" | "saved_section.updated" | "saved_section.deleted" | "asset.uploaded" | "asset.imported" | "contact.erased" | "suppression.created" | "suppression.deleted" | "mailing.created" | "mailing.sent" | "mailing.paused" | "mailing.resumed" | "mailing.cancelled" | "mailing.deleted" | "mailing.retried" | "webhook.created" | "webhook.updated" | "webhook.deleted" | "webhook.secret_rotated" | "webhook.redelivered" | "contact.unsubscribed" | "tag.created" | "tag.deleted" | "tag.assigned" | "tag.unassigned" | "contact_property.created" | "contact_property.deleted" | "segment.created" | "segment.updated" | "segment.deleted" | "signup_form.created" | "signup_form.updated" | "signup_form.deleted" | "contact.subscribed" | "import.created" | "import.mapped" | "import.committed" | "import.cancelled" | "import.finished" | "mailing.scheduled" | "mailing.unscheduled" | "mailing.schedule_failed" | "mailing.ab_test_updated" | "mailing.ab_winner_selected" | "tracking.updated" | "billing.checkout_started" | "billing.subscription_changed" | "billing.exemption_changed" | "billing.extra_sending_domains_changed" | "billing.terms_accepted" | "automation.created" | "automation.updated" | "automation.published" | "automation.paused" | "automation.resumed" | "automation.archived" | "automation.deleted" | "automation.duplicated" | "automation.enrolled" | "automation.run_ended" | "event.recorded";
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";
30552
30876
  actor: {
30553
30877
  type: "member";
30554
30878
  subject: string;
30555
30879
  member_id: string;
30556
- app?: "booking" | undefined;
30880
+ app?: "booking" | "sites" | undefined;
30557
30881
  } | {
30558
30882
  type: "api_key";
30559
30883
  api_key_id: string;
@@ -30568,12 +30892,12 @@ declare const foundationRoutes: {
30568
30892
  id: string;
30569
30893
  details: Record<string, unknown>;
30570
30894
  created_at: string;
30571
- action: "workspace.created" | "workspace.updated" | "workspace.company_changed" | "member.added" | "member.role_changed" | "member.removed" | "member.invited" | "invite.revoked" | "api_key.created" | "api_key.revoked" | "provider.created" | "provider.updated" | "provider.deleted" | "provider.events_registered" | "provider.events_secret_set" | "provider.bounces_halted" | "provider.anomaly_cleared" | "sending_domain.created" | "sending_domain.updated" | "sending_domain.checked" | "sending_domain.records_written" | "sending_domain.deleted" | "topic.created" | "topic.updated" | "topic.deleted" | "template.created" | "template.updated" | "template.deleted" | "template.inputs_declared" | "saved_section.created" | "saved_section.updated" | "saved_section.deleted" | "asset.uploaded" | "asset.imported" | "contact.erased" | "suppression.created" | "suppression.deleted" | "mailing.created" | "mailing.sent" | "mailing.paused" | "mailing.resumed" | "mailing.cancelled" | "mailing.deleted" | "mailing.retried" | "webhook.created" | "webhook.updated" | "webhook.deleted" | "webhook.secret_rotated" | "webhook.redelivered" | "contact.unsubscribed" | "tag.created" | "tag.deleted" | "tag.assigned" | "tag.unassigned" | "contact_property.created" | "contact_property.deleted" | "segment.created" | "segment.updated" | "segment.deleted" | "signup_form.created" | "signup_form.updated" | "signup_form.deleted" | "contact.subscribed" | "import.created" | "import.mapped" | "import.committed" | "import.cancelled" | "import.finished" | "mailing.scheduled" | "mailing.unscheduled" | "mailing.schedule_failed" | "mailing.ab_test_updated" | "mailing.ab_winner_selected" | "tracking.updated" | "billing.checkout_started" | "billing.subscription_changed" | "billing.exemption_changed" | "billing.extra_sending_domains_changed" | "billing.terms_accepted" | "automation.created" | "automation.updated" | "automation.published" | "automation.paused" | "automation.resumed" | "automation.archived" | "automation.deleted" | "automation.duplicated" | "automation.enrolled" | "automation.run_ended" | "event.recorded";
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";
30572
30896
  actor: {
30573
30897
  type: "member";
30574
30898
  subject: string;
30575
30899
  member_id: string;
30576
- app?: "booking" | undefined;
30900
+ app?: "booking" | "sites" | undefined;
30577
30901
  } | {
30578
30902
  type: "api_key";
30579
30903
  api_key_id: string;
@@ -30591,12 +30915,12 @@ declare const foundationRoutes: {
30591
30915
  id: string;
30592
30916
  details: Record<string, unknown>;
30593
30917
  created_at: string;
30594
- action: "workspace.created" | "workspace.updated" | "workspace.company_changed" | "member.added" | "member.role_changed" | "member.removed" | "member.invited" | "invite.revoked" | "api_key.created" | "api_key.revoked" | "provider.created" | "provider.updated" | "provider.deleted" | "provider.events_registered" | "provider.events_secret_set" | "provider.bounces_halted" | "provider.anomaly_cleared" | "sending_domain.created" | "sending_domain.updated" | "sending_domain.checked" | "sending_domain.records_written" | "sending_domain.deleted" | "topic.created" | "topic.updated" | "topic.deleted" | "template.created" | "template.updated" | "template.deleted" | "template.inputs_declared" | "saved_section.created" | "saved_section.updated" | "saved_section.deleted" | "asset.uploaded" | "asset.imported" | "contact.erased" | "suppression.created" | "suppression.deleted" | "mailing.created" | "mailing.sent" | "mailing.paused" | "mailing.resumed" | "mailing.cancelled" | "mailing.deleted" | "mailing.retried" | "webhook.created" | "webhook.updated" | "webhook.deleted" | "webhook.secret_rotated" | "webhook.redelivered" | "contact.unsubscribed" | "tag.created" | "tag.deleted" | "tag.assigned" | "tag.unassigned" | "contact_property.created" | "contact_property.deleted" | "segment.created" | "segment.updated" | "segment.deleted" | "signup_form.created" | "signup_form.updated" | "signup_form.deleted" | "contact.subscribed" | "import.created" | "import.mapped" | "import.committed" | "import.cancelled" | "import.finished" | "mailing.scheduled" | "mailing.unscheduled" | "mailing.schedule_failed" | "mailing.ab_test_updated" | "mailing.ab_winner_selected" | "tracking.updated" | "billing.checkout_started" | "billing.subscription_changed" | "billing.exemption_changed" | "billing.extra_sending_domains_changed" | "billing.terms_accepted" | "automation.created" | "automation.updated" | "automation.published" | "automation.paused" | "automation.resumed" | "automation.archived" | "automation.deleted" | "automation.duplicated" | "automation.enrolled" | "automation.run_ended" | "event.recorded";
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";
30595
30919
  actor: {
30596
30920
  type: "member";
30597
30921
  subject: string;
30598
30922
  member_id: string;
30599
- app?: "booking" | undefined;
30923
+ app?: "booking" | "sites" | undefined;
30600
30924
  } | {
30601
30925
  type: "api_key";
30602
30926
  api_key_id: string;
@@ -30614,12 +30938,12 @@ declare const foundationRoutes: {
30614
30938
  id: string;
30615
30939
  details: Record<string, unknown>;
30616
30940
  created_at: string;
30617
- action: "workspace.created" | "workspace.updated" | "workspace.company_changed" | "member.added" | "member.role_changed" | "member.removed" | "member.invited" | "invite.revoked" | "api_key.created" | "api_key.revoked" | "provider.created" | "provider.updated" | "provider.deleted" | "provider.events_registered" | "provider.events_secret_set" | "provider.bounces_halted" | "provider.anomaly_cleared" | "sending_domain.created" | "sending_domain.updated" | "sending_domain.checked" | "sending_domain.records_written" | "sending_domain.deleted" | "topic.created" | "topic.updated" | "topic.deleted" | "template.created" | "template.updated" | "template.deleted" | "template.inputs_declared" | "saved_section.created" | "saved_section.updated" | "saved_section.deleted" | "asset.uploaded" | "asset.imported" | "contact.erased" | "suppression.created" | "suppression.deleted" | "mailing.created" | "mailing.sent" | "mailing.paused" | "mailing.resumed" | "mailing.cancelled" | "mailing.deleted" | "mailing.retried" | "webhook.created" | "webhook.updated" | "webhook.deleted" | "webhook.secret_rotated" | "webhook.redelivered" | "contact.unsubscribed" | "tag.created" | "tag.deleted" | "tag.assigned" | "tag.unassigned" | "contact_property.created" | "contact_property.deleted" | "segment.created" | "segment.updated" | "segment.deleted" | "signup_form.created" | "signup_form.updated" | "signup_form.deleted" | "contact.subscribed" | "import.created" | "import.mapped" | "import.committed" | "import.cancelled" | "import.finished" | "mailing.scheduled" | "mailing.unscheduled" | "mailing.schedule_failed" | "mailing.ab_test_updated" | "mailing.ab_winner_selected" | "tracking.updated" | "billing.checkout_started" | "billing.subscription_changed" | "billing.exemption_changed" | "billing.extra_sending_domains_changed" | "billing.terms_accepted" | "automation.created" | "automation.updated" | "automation.published" | "automation.paused" | "automation.resumed" | "automation.archived" | "automation.deleted" | "automation.duplicated" | "automation.enrolled" | "automation.run_ended" | "event.recorded";
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";
30618
30942
  actor: {
30619
30943
  type: "member";
30620
30944
  subject: string;
30621
30945
  member_id: string;
30622
- app?: "booking" | undefined;
30946
+ app?: "booking" | "sites" | undefined;
30623
30947
  } | {
30624
30948
  type: "api_key";
30625
30949
  api_key_id: string;
@@ -50597,17 +50921,17 @@ declare const billingRoutes: {
50597
50921
  plan: z.ZodEnum<["starter", "growth"]>;
50598
50922
  success_url: z.ZodString;
50599
50923
  cancel_url: z.ZodString;
50600
- accept_terms: z.ZodLiteral<"2026-10-23">;
50924
+ accept_terms: z.ZodLiteral<"2026-10-28">;
50601
50925
  }, "strip", z.ZodTypeAny, {
50602
- accept_terms: "2026-10-23";
50603
- plan: "starter" | "growth";
50926
+ accept_terms: "2026-10-28";
50604
50927
  success_url: string;
50605
50928
  cancel_url: string;
50606
- }, {
50607
- accept_terms: "2026-10-23";
50608
50929
  plan: "starter" | "growth";
50930
+ }, {
50931
+ accept_terms: "2026-10-28";
50609
50932
  success_url: string;
50610
50933
  cancel_url: string;
50934
+ plan: "starter" | "growth";
50611
50935
  }>;
50612
50936
  readonly response: z.ZodObject<{
50613
50937
  url: z.ZodString;
@@ -50687,11 +51011,11 @@ declare const billingRoutes: {
50687
51011
  readonly method: "POST";
50688
51012
  readonly path: "/v1/billing/terms";
50689
51013
  readonly body: z.ZodObject<{
50690
- accept_terms: z.ZodLiteral<"2026-10-23">;
51014
+ accept_terms: z.ZodLiteral<"2026-10-28">;
50691
51015
  }, "strip", z.ZodTypeAny, {
50692
- accept_terms: "2026-10-23";
51016
+ accept_terms: "2026-10-28";
50693
51017
  }, {
50694
- accept_terms: "2026-10-23";
51018
+ accept_terms: "2026-10-28";
50695
51019
  }>;
50696
51020
  readonly response: z.ZodObject<{
50697
51021
  accepted_version: z.ZodNullable<z.ZodString>;
@@ -50708,6 +51032,393 @@ declare const billingRoutes: {
50708
51032
  readonly phase: "S5";
50709
51033
  };
50710
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
+ };
51421
+ };
50711
51422
  declare const inviteRoutes: {
50712
51423
  readonly 'invites.create': {
50713
51424
  readonly method: "POST";
@@ -69531,7 +70242,7 @@ declare const automationRoutes: {
69531
70242
  * groups by name: spelled out, the merged type grew past what the declaration
69532
70243
  * emitter will write (TS7056) once the plan limits gained a field.
69533
70244
  */
69534
- 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;
69535
70246
  declare const routes: Routes;
69536
70247
  type OperationId = keyof Routes;
69537
70248
  /**
@@ -69559,6 +70270,7 @@ type OperationId = keyof Routes;
69559
70270
  */
69560
70271
  declare const TRUSTED_APP_OPERATIONS: {
69561
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"];
69562
70274
  };
69563
70275
  /** Whether a trusted application may call an operation at all. */
69564
70276
  declare function trustedAppMayCall(app: TrustedApp, id: OperationId): boolean;
@@ -69594,4 +70306,4 @@ declare function matchRoute(method: HttpMethod, pathname: string): {
69594
70306
  params: Record<string, string>;
69595
70307
  } | null;
69596
70308
 
69597
- export { AB_TEST_STATUSES, AB_WINNER_METRICS, API_KEY_SCOPES, API_VERSION_PREFIX, ASSET_CONTENT_TYPES, ASSET_POLICIES, ASSET_UPLOAD_FIELD, AUDIT_ACTIONS, AUTHORIZATION_HEADER, AUTOMATION_DATE_TRIGGER_KINDS, AUTOMATION_END_REASONS, AUTOMATION_ENTRY_REFUSALS, AUTOMATION_FILTER_FIELD_OPERATORS, AUTOMATION_FILTER_FIELD_PATTERN, AUTOMATION_ISSUE_CODES, AUTOMATION_STATUSES, AUTOMATION_STEP_KINDS, AUTOMATION_TRIGGER_KINDS, AUTOMATION_WAIT_REASONS, AbTestConfig, AbTestState, AbVariant, AbWinnerRequest, AcceptTerms, ApiKey, ApiKeyCreate, ApiKeyCreated, ApiKeyScope, Asset, AssetContentType, AssetHost, AssetImport, AssetPolicy, AuditAction, AuditActor, AuditEntry, AuditQuery, Automation, AutomationCounts, AutomationCreate, type AutomationDateTriggerKind, AutomationDuplicateRequest, AutomationEndReason, AutomationEnrollRequest, AutomationEnrollResult, AutomationEnrollment, AutomationEntryRefusal, AutomationExitRunRequest, AutomationFilter, AutomationFilterCondition, AutomationFilterField, AutomationFlow, AutomationIssue, AutomationIssueCode, AutomationJourney, AutomationListQuery, AutomationPublishMove, AutomationPublishRequest, AutomationPublishResult, AutomationReport, AutomationRun, AutomationRunCompletedData, AutomationRunExitedData, AutomationRunFailedData, AutomationRunListQuery, AutomationRunParams, AutomationRunStartedData, AutomationRunStatus, AutomationSettings, AutomationStatus, AutomationStep, AutomationStepExecution, AutomationStepKind, AutomationStepParams, AutomationStepReport, AutomationSummary, AutomationTestEmailRequest, AutomationTrigger, AutomationTriggerKind, AutomationUpdate, AutomationValidateRequest, AutomationValidation, AutomationWaitReason, AutomationWebhookData, AutomationWithFlow, BEARER_PREFIX, BILLING_NOT_CONFIGURED_REASON, BillingAddons, BoundedAutomationFilter, BoundedSegmentFilter, COMPANY_GRANT_ROLES, COMPANY_ROLE_MAX_AGE_HOURS, CONTACT_PROPERTY_TYPES, CatalogPlan, CheckoutRequest, CheckoutSession, CompanyGrantRole, CompanyId, CompileMessage, CompileRequest, CompileResult, ConditionStep, Contact, ContactAutomationListQuery, ContactAutomationRun, ContactBouncedData, ContactErased, ContactListQuery, ContactPropertyDefinition, ContactPropertyKey, ContactPropertyParams, ContactPropertyType, ContactResubscribedData, ContactSubscribedData, ContactTaggedData, ContactUnsubscribedData, ContactUpdatedData, ContactUpsert, ContactUpsertResult, DATE_PASSED_ANSWERS, DEFAULT_INVITE_TTL_DAYS, DEFAULT_PAGE_LIMIT, DOCUMENT_SCHEMA_VERSIONS, DateOnly, DatePassedAnswer, DelayStep, DocumentSchemaVersion, type DraftInsertionProblem, EDITABLE_MAILING_STATUSES, ERROR_CODES, ERROR_STATUS, EXPORT_CONTENT_TYPES, EXPORT_FORMATS, EXPORT_WARNINGS_HEADER, EXPORT_WARNING_COUNT_HEADER, type EditableLanguage, Email, EmailStep, EmailStepLanguage, ErrorBody, type ErrorCode, ErrorCodeSchema, Event, EventCreate, EventListQuery, EventName, ExportFormat, ExtraSendingDomainsUpdate, FILTER_FIELD_OPERATORS, FILTER_OPERATORS, FilterCondition, FilterField, type FilterLeafProblem, FilterOperator, GotoStep, HEALTH_PATH, HOSTED_PAGE_LOCALES, type HttpMethod, ICLOUD_SMTP_POLICY, IDEMPOTENCY_KEY_HEADER, IDEMPOTENCY_KEY_MAX_LENGTH, IDEMPOTENCY_KEY_RETENTION_HOURS, IMPORT_FILE_FIELD, IMPORT_ROW_OUTCOMES, IMPORT_SKIP_REASONS, IMPORT_STATUSES, IMPORT_TERMINAL_STATUSES, INSERTION_PROBLEM_REASONS, INSERTION_TEXT_SLOTS, INVITE_REFUSAL_REASONS, INVITE_STATUSES, Id, IdParams, ImportColumnMapping, ImportCommitRequest, ImportFinishedData, ImportJob, ImportMappingRequest, ImportReport, ImportRow, ImportRowListQuery, ImportRowOutcome, ImportSkipReason, ImportStatus, ImportWarning, ImportedAsset, Insertion, InsertionChoice, InsertionChoiceKey, type InsertionChoiceMade, InsertionChoices, type InsertionEdit, InsertionName, type InsertionProblem, type InsertionProblemReason, InsertionText, Insertions, Invite, InviteAccept, InviteAccepted, InviteCreate, InviteCreated, InviteListQuery, type InviteRefusalReason, InviteStatus, JsonValue, LEGAL_TERMS_VERSION, LETTER_ONLY_MERGE_FIELDS, LETTER_RECIPIENT_REFUSAL, LIST_UNSUBSCRIBE_POST_VALUE, LOCALE_TAG_PATTERN, type LanguageDrafts, type LanguageTab, LocaleTag, MAILING_ACTIONS, MAILING_KINDS, MAILING_STATUSES, MAILING_TRANSITIONS, MAX_ALLOWED_ASSET_HOSTS, MAX_ASSET_BYTES, MAX_DELAY_SECONDS, MAX_DOCUMENT_BYTES, MAX_ENGAGEMENT_DAYS, MAX_EXPORT_WARNINGS_HEADER_LENGTH, MAX_EXTRA_SENDING_DOMAINS, MAX_FILTER_DEPTH, MAX_IMPORTED_REMOTE_IMAGES, MAX_IMPORT_BYTES, MAX_IMPORT_ROWS, MAX_IMPORT_URL_LENGTH, MAX_INSERTIONS, MAX_INSERTION_CHOICES, MAX_INSERTION_TEXT_LENGTH, MAX_INVITE_TTL_DAYS, MAX_IN_LIST, MAX_LETTER_RECIPIENTS, MAX_MERGE_DEFAULTS, MAX_MERGE_DEFAULT_LENGTH, MAX_MJML_DEPTH, MAX_MJML_ELEMENTS, MAX_MJML_IMPORT_BYTES, MAX_PAGE_LIMIT, MAX_PREHEADER_LENGTH, MAX_RECIPIENTS_PER_BATCH, MAX_RE_ENTRY_COOLDOWN_SECONDS, MAX_SAVED_SECTIONS, MAX_SPLIT_BRANCHES, MAX_STEPS, MAX_STEP_VISITS, MAX_SUBJECT_LENGTH, MAX_SYNC_COMPANIES, MAX_TEMPLATE_INPUTS, MAX_TEMPLATE_INPUTS_APP_LENGTH, MAX_TEMPLATE_INPUTS_SEEN, MAX_TEMPLATE_INPUT_EXAMPLE_LENGTH, MAX_TEMPLATE_INPUT_LABEL_LENGTH, MAX_TEMPLATE_INPUT_NOTE_LENGTH, MAX_TEMPLATE_INPUT_VALUES, MAX_TEMPLATE_TRANSLATIONS, MAX_TRIGGERS, MEMBER_ROLES, MEMBER_SOURCES, MERGE_FIELD_PATTERN, MESSAGE_OUTCOMES, MIN_SPLIT_BRANCHES, MJML_IMPORT_REFUSALS, Mailing, MailingAbWinnerSelectedData, MailingAction, MailingActionRequest, MailingAnalytics, MailingAudienceFromSegment, MailingCounts, MailingCreate, MailingExportQuery, MailingFinishedData, MailingKind, MailingLanguage, MailingLanguageReport, MailingLanguageStatus, MailingListQuery, MailingMerge, MailingMetadata, MailingResolveRequest, MailingResolveResult, MailingRetryFailedRequest, MailingScheduleFailedData, MailingScheduleRequest, MailingScheduledData, MailingSendRequest, MailingStartedData, MailingStatus, MailingSummary, MailingTestRequest, MailingTestResult, MailingUpdate, Member, MemberCompanySync, MemberCompanySyncResult, MemberCreate, MemberRole, MemberSource, MemberUpdate, MergeDefaultValue, MergeDefaults, MergeFieldName, type MergeFieldUse, type MergeValue, Message, MessageFailedData, MessageListQuery, MessageOutcome, MessageSentData, MessageSummary, MessageValues, type MissingInsertionText, type MjmlImportRefusal, NAME_ON_BROADCAST_REFUSAL, NotifyRecipients, NotifyStep, ON_BEHALF_OF_HEADER, ON_BEHALF_OF_MAX_LENGTH, OffsetDays, Ok, type OperationId, PLAN_FEATURES, PLAN_IDS, PREVIEW_EMPTY, PREVIEW_FILLED, PROVIDER_KINDS, type Page, PageQuery, type Personalization, type Phase, Plan, type PlanFeature, PlanFeatures, PlanId, PlanLimits, PortalRequest, PortalSession, type PreviewControl, Properties, Provider, ProviderCreate, ProviderEvents, ProviderEventsSecret, ProviderKind, ProviderPolicy, ProviderRejections, ProviderUpdate, ProviderUsage, ProviderVerifyResult, QuietHours, RECIPIENT_REJECTIONS, RECIPIENT_STATUSES, REQUEST_ID_HEADER, RESEND_EVENT_TYPES, RESERVED_MERGE_FIELDS, RESOLVE_PROBLEMS, RESOLVE_REJECTIONS, RETRYABLE_ERRORS, RETRY_AFTER_HEADER, RE_ENTRY_MODES, ReEntryMode, Recipient, RecipientBatch, RecipientBatchResult, RecipientInput, RecipientListQuery, RecipientStatus, RemoteImage, type RenamedPlacement, ResendSigningSecret, type ReservedMergeField, ResolveProblem, ResolvedRecipient, ResolvedValue, type RouteAccess, type RouteBody, type RouteDef, type RouteParams, type RouteQuery, type RouteResponse, type Routes, SENDING_DOMAIN_DNS_MODES, SENDING_DOMAIN_REGION, SENDING_DOMAIN_STATUSES, SERVICE_FILLED_MERGE_FIELDS, SIGNUP_FORM_FIELDS, SKIP_REASONS, SMTP_SECURITY, SUBJECT_HEADER, SUPPRESSION_REASONS, type SaveDemotion, SavedSection, SavedSectionBody, SavedSectionCreate, SavedSectionUpdate, Segment, SegmentCreate, SegmentFilter, SegmentPreview, SegmentPreviewRequest, SendingDomain, SendingDomainCreate, SendingDomainDnsMode, SendingDomainName, SendingDomainRecord, SendingDomainStatus, SendingDomainUpdate, SignupForm, SignupFormCreate, SignupFormEmbed, SignupFormTranslation, SignupSubmission, SkipReason, Slug, SplitBranchKey, SplitStep, StepId, type StepTarget, Subscription, Suppression, SuppressionCreate, SuppressionListQuery, SuppressionReason, TEMPLATE_INPUT_KINDS, TEMPLATE_INPUT_PROBLEM_REASONS, TEMPLATE_LANGUAGE_STATUSES, TEMPLATE_SORTS, TEMPLATE_SORT_DEFAULT_ORDER, TERMINAL_MAILING_STATUSES, TRANSACTIONAL_BLOCKING_REASONS, TRANSACTIONAL_NEEDS_LETTER_REFUSAL, TRANSACTIONAL_NEEDS_TEMPLATE_LOCALE_REFUSAL, TRANSACTIONAL_NOT_ALLOWED_REFUSAL, TRANSACTIONAL_UNSUBSCRIBE_URL_REFUSAL, TRUSTED_APPS, TRUSTED_APP_OPERATIONS, Tag, TagAssignment, TagCreate, Template, TemplateCompileRequest, TemplateCreate, TemplateCreatedData, TemplateDeleteQuery, TemplateDeletedData, TemplateDocument, TemplateExportQuery, TemplateImport, TemplateImportPreview, TemplateImportPreviewRequest, TemplateImportResult, TemplateInput, type TemplateInputKind, TemplateInputMap, TemplateInputName, type TemplateInputProblem, type TemplateInputProblemReason, TemplateInputSeen, TemplateInputSource, TemplateInputValue, TemplateInputs, TemplateInputsDeclaration, TemplateInputsDeclared, TemplateInputsSeen, TemplateLanguageStatus, TemplateListQuery, TemplatePreheader, type TemplateSort, TemplateSubject, TemplateSummary, TemplateTranslation, TemplateTranslations, TemplateUpdate, TemplateUpdatedData, TemplateVersion, TemplateVersionParams, TermsAcceptance, TermsStatus, TimeOfDay, Timestamp, TimezoneName, Topic, TopicCreate, TopicUpdate, TrackingSettings, TranslationInsertion, TranslationInsertions, TrustedApp, UNSUBSCRIBE_PATH_PREFIX, UNSUBSCRIBE_SOURCES, USAGE_METRICS, USAGE_WARNING_HEADER, USAGE_WARNING_RATIO, UnfilledLink, type UnsubscribeToken, type UnsubscribeTokenClaims, Usage, UsageMetric, UsageWarning, type UsageWarningHeaderEntry, VALUE_LAYERS, type ValidationContext, ValidationIssue, ValueLayer, type ValueSources, VariantAnalytics, type VerifyWebhookInput, WEBHOOK_DELIVERY_STATUSES, WEBHOOK_EVENT_ID_HEADER, WEBHOOK_EVENT_TYPES, WEBHOOK_MAX_ATTEMPTS, WEBHOOK_RETRY_DELAYS_SECONDS, WEBHOOK_SECRET_PREFIX, WEBHOOK_SIGNATURE_HEADER, WEBHOOK_SIGNATURE_VERSION, WEBHOOK_TIMESTAMP_HEADER, WEBHOOK_TOLERANCE_SECONDS, WORKSPACE_HEADER, WebhookDelivery, WebhookDeliveryListQuery, WebhookDeliveryParams, WebhookDeliveryStatus, WebhookEndpoint, WebhookEndpointCreate, WebhookEndpointUpdate, WebhookEndpointWithSecret, WebhookEvent, type WebhookEventOf, WebhookEventType, WebhookStep, WebhookUrl, type WebhookVerifyFailure, type WebhookVerifyResult, Weekday, Workspace, WorkspaceCreate, WorkspaceMembership, WorkspaceMove, WorkspaceSettings, WorkspaceUpdate, acceptsIdempotencyKey, addInsertion, addInsertionChoice, addLanguageDraft, alignTranslationInsertions, alwaysWaits, automationFilterFamily, automationRoutes, billingRoutes, buildPath, buildTemplatePatch, canDeleteMailing, canTransition, canonicalLocale, choiceKeyProblem, chooseInsertion, cycles, defaultPreviewPick, defaultSettings, demoteForSave, demotedBySave, describeMissingTexts, draftDocument, draftInsertionProblems, draftsDirty, draftsFromTemplate, draftsPatch, editInsertionText, editLanguageDraft, editMainInsertionText, editMainInsertions, effectivePreviewPicks, emptyFlow, emptyLinkValues, errorBody, escapeMergeHtml, exportFilename, filterConditions, filterDepth, filterFieldFamily, filterLeafProblem, findMergeFields, formatExportWarningsHeader, formatUsageWarningHeader, foundationRoutes, insertionByProblem, insertionChoices, insertionCoverage, insertionInputs, insertionNameProblem, insertionProblems, insertionRefusalHint, insertionSlotLabel, insertionTextSlots, insertionTokens, insertionValue, inviteRoutes, isDayEntirelyPast, isPublishable, isRetryableError, keepLanguageDocument, languageInsertions, languageName, languageTabs, letterOnlyValues, linkTokens, mainInsertionText, matchLocale, matchRoute, missingInsertionTexts, missingRequiredMergeFields, normalizeChoiceKey, nowSeconds, operationsWithAccess, ownEntry, page, parseExportWarningsHeader, parseUsageWarningHeader, personalizeHtml, personalizeText, placementProblems, platformRoutes, previewControls, previewInsertions, previewPersonalization, primaryLanguage, printedFields, rawMergeValue, reachable, readyWithoutInsertions, readyWithoutSubject, rebaseDrafts, removeInsertion, removeInsertionChoice, removeLanguageDraft, renameInsertion, renameInsertionChecked, renameInsertionChoice, renameInsertionChoiceChecked, renameInsertionEverywhere, renameInsertionPlacements, renameTokenInDocument, renameTokenInText, resolveInsertions, resolveValue, restorePatch, routes, sameJson, sampleMergeValue, saveDemotions, sendingDomainRecordFullName, sendingRoutes, setInsertionBy, setInsertionFilled, setLanguageStatus, signWebhook, statusForError, stepTargets, storedTemplateLine, stronglyConnected, templateInputDrift, templateInputProblems, templateRoutes, testGroupSize, tightLoops, timingSafeEqualString, translationInsertionProblems, translationTextFromInput, triggerKey, trustedAppMayCall, unknownRefusedInsertions, unplacedInsertions, validateAutomation, valueNames, valuesRead, verifyWebhook };
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 };