@marlinjai/mail-contract 0.22.0 → 0.24.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 +920 -19
- package/dist/index.d.ts +920 -19
- package/dist/index.js +391 -182
- package/dist/index.mjs +374 -182
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1038,8 +1038,8 @@ declare const ApiKeyCreated: z.ZodObject<{
|
|
|
1038
1038
|
};
|
|
1039
1039
|
}>;
|
|
1040
1040
|
type ApiKeyCreated = z.infer<typeof ApiKeyCreated>;
|
|
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.kind_changed", "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.kind_changed", "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"]>;
|
|
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.kind_changed", "domain_order.no_charge", "domain_order.refunded", "domain_order.cancelled", "domain_record.created", "domain_record.updated", "domain_record.deleted", "domain_leave.requested", "domain_leave.done", "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.kind_changed", "domain_order.no_charge", "domain_order.refunded", "domain_order.cancelled", "domain_record.created", "domain_record.updated", "domain_record.deleted", "domain_leave.requested", "domain_leave.done", "automation.created", "automation.updated", "automation.published", "automation.paused", "automation.resumed", "automation.archived", "automation.deleted", "automation.duplicated", "automation.enrolled", "automation.run_ended", "event.recorded"]>;
|
|
1043
1043
|
type AuditAction = z.infer<typeof AuditAction>;
|
|
1044
1044
|
/**
|
|
1045
1045
|
* The applications, besides the dashboard, that may act for a signed-in person:
|
|
@@ -1109,7 +1109,7 @@ declare const AuditActor: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
1109
1109
|
type AuditActor = z.infer<typeof AuditActor>;
|
|
1110
1110
|
declare const AuditEntry: z.ZodObject<{
|
|
1111
1111
|
id: z.ZodString;
|
|
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.kind_changed", "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"]>;
|
|
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.kind_changed", "domain_order.no_charge", "domain_order.refunded", "domain_order.cancelled", "domain_record.created", "domain_record.updated", "domain_record.deleted", "domain_leave.requested", "domain_leave.done", "automation.created", "automation.updated", "automation.published", "automation.paused", "automation.resumed", "automation.archived", "automation.deleted", "automation.duplicated", "automation.enrolled", "automation.run_ended", "event.recorded"]>;
|
|
1113
1113
|
actor: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
1114
1114
|
type: z.ZodLiteral<"member">;
|
|
1115
1115
|
member_id: z.ZodString;
|
|
@@ -1165,7 +1165,7 @@ declare const AuditEntry: z.ZodObject<{
|
|
|
1165
1165
|
id: string;
|
|
1166
1166
|
details: Record<string, unknown>;
|
|
1167
1167
|
created_at: string;
|
|
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.kind_changed" | "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";
|
|
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.kind_changed" | "domain_order.no_charge" | "domain_order.refunded" | "domain_order.cancelled" | "domain_record.created" | "domain_record.updated" | "domain_record.deleted" | "domain_leave.requested" | "domain_leave.done" | "automation.created" | "automation.updated" | "automation.published" | "automation.paused" | "automation.resumed" | "automation.archived" | "automation.deleted" | "automation.duplicated" | "automation.enrolled" | "automation.run_ended" | "event.recorded";
|
|
1169
1169
|
actor: {
|
|
1170
1170
|
type: "member";
|
|
1171
1171
|
subject: string;
|
|
@@ -1185,7 +1185,7 @@ declare const AuditEntry: z.ZodObject<{
|
|
|
1185
1185
|
id: string;
|
|
1186
1186
|
details: Record<string, unknown>;
|
|
1187
1187
|
created_at: string;
|
|
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.kind_changed" | "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";
|
|
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.kind_changed" | "domain_order.no_charge" | "domain_order.refunded" | "domain_order.cancelled" | "domain_record.created" | "domain_record.updated" | "domain_record.deleted" | "domain_leave.requested" | "domain_leave.done" | "automation.created" | "automation.updated" | "automation.published" | "automation.paused" | "automation.resumed" | "automation.archived" | "automation.deleted" | "automation.duplicated" | "automation.enrolled" | "automation.run_ended" | "event.recorded";
|
|
1189
1189
|
actor: {
|
|
1190
1190
|
type: "member";
|
|
1191
1191
|
subject: string;
|
|
@@ -1207,17 +1207,17 @@ declare const AuditQuery: z.ZodObject<{
|
|
|
1207
1207
|
cursor: z.ZodOptional<z.ZodString>;
|
|
1208
1208
|
limit: z.ZodOptional<z.ZodNumber>;
|
|
1209
1209
|
} & {
|
|
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.kind_changed", "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"]>>;
|
|
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.kind_changed", "domain_order.no_charge", "domain_order.refunded", "domain_order.cancelled", "domain_record.created", "domain_record.updated", "domain_record.deleted", "domain_leave.requested", "domain_leave.done", "automation.created", "automation.updated", "automation.published", "automation.paused", "automation.resumed", "automation.archived", "automation.deleted", "automation.duplicated", "automation.enrolled", "automation.run_ended", "event.recorded"]>>;
|
|
1211
1211
|
target_id: z.ZodOptional<z.ZodString>;
|
|
1212
1212
|
}, "strip", z.ZodTypeAny, {
|
|
1213
1213
|
cursor?: string | undefined;
|
|
1214
1214
|
limit?: number | 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.kind_changed" | "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;
|
|
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.kind_changed" | "domain_order.no_charge" | "domain_order.refunded" | "domain_order.cancelled" | "domain_record.created" | "domain_record.updated" | "domain_record.deleted" | "domain_leave.requested" | "domain_leave.done" | "automation.created" | "automation.updated" | "automation.published" | "automation.paused" | "automation.resumed" | "automation.archived" | "automation.deleted" | "automation.duplicated" | "automation.enrolled" | "automation.run_ended" | "event.recorded" | undefined;
|
|
1216
1216
|
target_id?: string | undefined;
|
|
1217
1217
|
}, {
|
|
1218
1218
|
cursor?: string | undefined;
|
|
1219
1219
|
limit?: number | 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.kind_changed" | "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;
|
|
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.kind_changed" | "domain_order.no_charge" | "domain_order.refunded" | "domain_order.cancelled" | "domain_record.created" | "domain_record.updated" | "domain_record.deleted" | "domain_leave.requested" | "domain_leave.done" | "automation.created" | "automation.updated" | "automation.published" | "automation.paused" | "automation.resumed" | "automation.archived" | "automation.deleted" | "automation.duplicated" | "automation.enrolled" | "automation.run_ended" | "event.recorded" | undefined;
|
|
1221
1221
|
target_id?: string | undefined;
|
|
1222
1222
|
}>;
|
|
1223
1223
|
type AuditQuery = z.infer<typeof AuditQuery>;
|
|
@@ -10509,7 +10509,8 @@ type DomainOffer = z.infer<typeof DomainOffer>;
|
|
|
10509
10509
|
* Why this workspace cannot buy right now, null when it can:
|
|
10510
10510
|
* - `not_configured`: buying is not set up on this instance.
|
|
10511
10511
|
* - `paid_plan_required`: buying needs an active paid plan (not Free, not a
|
|
10512
|
-
* subscription whose payment failed
|
|
10512
|
+
* subscription whose payment failed). A design partner outside billing may
|
|
10513
|
+
* buy, and pays the domain by card at the checkout like everyone.
|
|
10513
10514
|
* - `no_company`: the workspace belongs to no company, and a domain belongs to one.
|
|
10514
10515
|
*/
|
|
10515
10516
|
declare const DOMAIN_BUYING_BLOCKS: readonly ["not_configured", "paid_plan_required", "no_company"];
|
|
@@ -10915,6 +10916,314 @@ declare const DomainOrder: z.ZodObject<{
|
|
|
10915
10916
|
}>;
|
|
10916
10917
|
type DomainOrder = z.infer<typeof DomainOrder>;
|
|
10917
10918
|
|
|
10919
|
+
declare const DOMAIN_LEAVE_WAYS: readonly ["cloudflare_account", "transfer"];
|
|
10920
|
+
declare const DomainLeaveWay: z.ZodEnum<["cloudflare_account", "transfer"]>;
|
|
10921
|
+
type DomainLeaveWay = z.infer<typeof DomainLeaveWay>;
|
|
10922
|
+
/** `requested`: support is on it. `done`: moved, or the transfer code is here. `cancelled`: withdrawn by support. */
|
|
10923
|
+
declare const DOMAIN_LEAVE_STATES: readonly ["requested", "done", "cancelled"];
|
|
10924
|
+
declare const DomainLeaveState: z.ZodEnum<["requested", "done", "cancelled"]>;
|
|
10925
|
+
type DomainLeaveState = z.infer<typeof DomainLeaveState>;
|
|
10926
|
+
declare const DomainLeave: z.ZodObject<{
|
|
10927
|
+
id: z.ZodString;
|
|
10928
|
+
way: z.ZodEnum<["cloudflare_account", "transfer"]>;
|
|
10929
|
+
state: z.ZodEnum<["requested", "done", "cancelled"]>;
|
|
10930
|
+
/** The Cloudflare account the domain moves into (way `cloudflare_account`). */
|
|
10931
|
+
target_account_id: z.ZodNullable<z.ZodString>;
|
|
10932
|
+
/** The transfer code, once support has it (way `transfer`, state `done`); only owners and admins read it. */
|
|
10933
|
+
auth_code: z.ZodNullable<z.ZodString>;
|
|
10934
|
+
requested_at: z.ZodString;
|
|
10935
|
+
done_at: z.ZodNullable<z.ZodString>;
|
|
10936
|
+
}, "strip", z.ZodTypeAny, {
|
|
10937
|
+
id: string;
|
|
10938
|
+
state: "cancelled" | "requested" | "done";
|
|
10939
|
+
way: "cloudflare_account" | "transfer";
|
|
10940
|
+
target_account_id: string | null;
|
|
10941
|
+
auth_code: string | null;
|
|
10942
|
+
requested_at: string;
|
|
10943
|
+
done_at: string | null;
|
|
10944
|
+
}, {
|
|
10945
|
+
id: string;
|
|
10946
|
+
state: "cancelled" | "requested" | "done";
|
|
10947
|
+
way: "cloudflare_account" | "transfer";
|
|
10948
|
+
target_account_id: string | null;
|
|
10949
|
+
auth_code: string | null;
|
|
10950
|
+
requested_at: string;
|
|
10951
|
+
done_at: string | null;
|
|
10952
|
+
}>;
|
|
10953
|
+
type DomainLeave = z.infer<typeof DomainLeave>;
|
|
10954
|
+
/**
|
|
10955
|
+
* The renewal of the current year (src/domain-renewal-job.ts in the service):
|
|
10956
|
+
* - `invoiced`: charged to the card saved at purchase; Stripe is collecting.
|
|
10957
|
+
* - `failed`: the card was not charged; `pay_url` is Stripe's page to pay.
|
|
10958
|
+
* - `paid`: paid; Cloudflare renews it before it expires.
|
|
10959
|
+
* - `stopped`: still unpaid 35 days before expiry, so it no longer renews on
|
|
10960
|
+
* its own; paying at `pay_url` switches that on again while it can.
|
|
10961
|
+
* - `lapsed`: expired unpaid.
|
|
10962
|
+
*/
|
|
10963
|
+
declare const DOMAIN_RENEWAL_STATES: readonly ["invoiced", "failed", "paid", "stopped", "lapsed"];
|
|
10964
|
+
declare const DomainRenewalState: z.ZodEnum<["invoiced", "failed", "paid", "stopped", "lapsed"]>;
|
|
10965
|
+
type DomainRenewalState = z.infer<typeof DomainRenewalState>;
|
|
10966
|
+
declare const DomainRenewal: z.ZodObject<{
|
|
10967
|
+
state: z.ZodEnum<["invoiced", "failed", "paid", "stopped", "lapsed"]>;
|
|
10968
|
+
amount_cents: z.ZodNumber;
|
|
10969
|
+
/** Stripe's hosted page to pay the renewal by hand; null until Stripe has made it. */
|
|
10970
|
+
pay_url: z.ZodNullable<z.ZodString>;
|
|
10971
|
+
}, "strip", z.ZodTypeAny, {
|
|
10972
|
+
state: "failed" | "paid" | "invoiced" | "stopped" | "lapsed";
|
|
10973
|
+
amount_cents: number;
|
|
10974
|
+
pay_url: string | null;
|
|
10975
|
+
}, {
|
|
10976
|
+
state: "failed" | "paid" | "invoiced" | "stopped" | "lapsed";
|
|
10977
|
+
amount_cents: number;
|
|
10978
|
+
pay_url: string | null;
|
|
10979
|
+
}>;
|
|
10980
|
+
type DomainRenewal = z.infer<typeof DomainRenewal>;
|
|
10981
|
+
declare const BoughtDomain: z.ZodObject<{
|
|
10982
|
+
/** The order the domain was bought with. */
|
|
10983
|
+
id: z.ZodString;
|
|
10984
|
+
domain: z.ZodString;
|
|
10985
|
+
kind: z.ZodEnum<["sending", "domain_only"]>;
|
|
10986
|
+
registrant_name: z.ZodString;
|
|
10987
|
+
registered_at: z.ZodString;
|
|
10988
|
+
/** When the paid year ends. */
|
|
10989
|
+
expires_at: z.ZodNullable<z.ZodString>;
|
|
10990
|
+
/** Each further year, final, in euro cents; 0 for a domain registered without a charge. */
|
|
10991
|
+
renewal_price_cents: z.ZodNumber;
|
|
10992
|
+
currency: z.ZodLiteral<"EUR">;
|
|
10993
|
+
/** Registered for one of Lumitra's own companies, never charged. */
|
|
10994
|
+
no_charge: z.ZodBoolean;
|
|
10995
|
+
/** When the next year is charged (45 days before expiry); null when it is never charged. */
|
|
10996
|
+
next_charge_at: z.ZodNullable<z.ZodString>;
|
|
10997
|
+
/** The current year's renewal, once it was charged; null before. */
|
|
10998
|
+
renewal: z.ZodNullable<z.ZodObject<{
|
|
10999
|
+
state: z.ZodEnum<["invoiced", "failed", "paid", "stopped", "lapsed"]>;
|
|
11000
|
+
amount_cents: z.ZodNumber;
|
|
11001
|
+
/** Stripe's hosted page to pay the renewal by hand; null until Stripe has made it. */
|
|
11002
|
+
pay_url: z.ZodNullable<z.ZodString>;
|
|
11003
|
+
}, "strip", z.ZodTypeAny, {
|
|
11004
|
+
state: "failed" | "paid" | "invoiced" | "stopped" | "lapsed";
|
|
11005
|
+
amount_cents: number;
|
|
11006
|
+
pay_url: string | null;
|
|
11007
|
+
}, {
|
|
11008
|
+
state: "failed" | "paid" | "invoiced" | "stopped" | "lapsed";
|
|
11009
|
+
amount_cents: number;
|
|
11010
|
+
pay_url: string | null;
|
|
11011
|
+
}>>;
|
|
11012
|
+
/** The earliest moment each way of leaving is possible. */
|
|
11013
|
+
move_account_from: z.ZodString;
|
|
11014
|
+
transfer_from: z.ZodString;
|
|
11015
|
+
/** The latest request to leave, if any. */
|
|
11016
|
+
leave: z.ZodNullable<z.ZodObject<{
|
|
11017
|
+
id: z.ZodString;
|
|
11018
|
+
way: z.ZodEnum<["cloudflare_account", "transfer"]>;
|
|
11019
|
+
state: z.ZodEnum<["requested", "done", "cancelled"]>;
|
|
11020
|
+
/** The Cloudflare account the domain moves into (way `cloudflare_account`). */
|
|
11021
|
+
target_account_id: z.ZodNullable<z.ZodString>;
|
|
11022
|
+
/** The transfer code, once support has it (way `transfer`, state `done`); only owners and admins read it. */
|
|
11023
|
+
auth_code: z.ZodNullable<z.ZodString>;
|
|
11024
|
+
requested_at: z.ZodString;
|
|
11025
|
+
done_at: z.ZodNullable<z.ZodString>;
|
|
11026
|
+
}, "strip", z.ZodTypeAny, {
|
|
11027
|
+
id: string;
|
|
11028
|
+
state: "cancelled" | "requested" | "done";
|
|
11029
|
+
way: "cloudflare_account" | "transfer";
|
|
11030
|
+
target_account_id: string | null;
|
|
11031
|
+
auth_code: string | null;
|
|
11032
|
+
requested_at: string;
|
|
11033
|
+
done_at: string | null;
|
|
11034
|
+
}, {
|
|
11035
|
+
id: string;
|
|
11036
|
+
state: "cancelled" | "requested" | "done";
|
|
11037
|
+
way: "cloudflare_account" | "transfer";
|
|
11038
|
+
target_account_id: string | null;
|
|
11039
|
+
auth_code: string | null;
|
|
11040
|
+
requested_at: string;
|
|
11041
|
+
done_at: string | null;
|
|
11042
|
+
}>>;
|
|
11043
|
+
/** True once the domain has left: its records are no longer Lumitra Mail's to edit. */
|
|
11044
|
+
left: z.ZodBoolean;
|
|
11045
|
+
}, "strip", z.ZodTypeAny, {
|
|
11046
|
+
id: string;
|
|
11047
|
+
kind: "sending" | "domain_only";
|
|
11048
|
+
expires_at: string | null;
|
|
11049
|
+
currency: "EUR";
|
|
11050
|
+
domain: string;
|
|
11051
|
+
renewal_price_cents: number;
|
|
11052
|
+
registrant_name: string;
|
|
11053
|
+
registered_at: string;
|
|
11054
|
+
no_charge: boolean;
|
|
11055
|
+
next_charge_at: string | null;
|
|
11056
|
+
renewal: {
|
|
11057
|
+
state: "failed" | "paid" | "invoiced" | "stopped" | "lapsed";
|
|
11058
|
+
amount_cents: number;
|
|
11059
|
+
pay_url: string | null;
|
|
11060
|
+
} | null;
|
|
11061
|
+
move_account_from: string;
|
|
11062
|
+
transfer_from: string;
|
|
11063
|
+
leave: {
|
|
11064
|
+
id: string;
|
|
11065
|
+
state: "cancelled" | "requested" | "done";
|
|
11066
|
+
way: "cloudflare_account" | "transfer";
|
|
11067
|
+
target_account_id: string | null;
|
|
11068
|
+
auth_code: string | null;
|
|
11069
|
+
requested_at: string;
|
|
11070
|
+
done_at: string | null;
|
|
11071
|
+
} | null;
|
|
11072
|
+
left: boolean;
|
|
11073
|
+
}, {
|
|
11074
|
+
id: string;
|
|
11075
|
+
kind: "sending" | "domain_only";
|
|
11076
|
+
expires_at: string | null;
|
|
11077
|
+
currency: "EUR";
|
|
11078
|
+
domain: string;
|
|
11079
|
+
renewal_price_cents: number;
|
|
11080
|
+
registrant_name: string;
|
|
11081
|
+
registered_at: string;
|
|
11082
|
+
no_charge: boolean;
|
|
11083
|
+
next_charge_at: string | null;
|
|
11084
|
+
renewal: {
|
|
11085
|
+
state: "failed" | "paid" | "invoiced" | "stopped" | "lapsed";
|
|
11086
|
+
amount_cents: number;
|
|
11087
|
+
pay_url: string | null;
|
|
11088
|
+
} | null;
|
|
11089
|
+
move_account_from: string;
|
|
11090
|
+
transfer_from: string;
|
|
11091
|
+
leave: {
|
|
11092
|
+
id: string;
|
|
11093
|
+
state: "cancelled" | "requested" | "done";
|
|
11094
|
+
way: "cloudflare_account" | "transfer";
|
|
11095
|
+
target_account_id: string | null;
|
|
11096
|
+
auth_code: string | null;
|
|
11097
|
+
requested_at: string;
|
|
11098
|
+
done_at: string | null;
|
|
11099
|
+
} | null;
|
|
11100
|
+
left: boolean;
|
|
11101
|
+
}>;
|
|
11102
|
+
type BoughtDomain = z.infer<typeof BoughtDomain>;
|
|
11103
|
+
/** The record types the holder edits; others (written by Cloudflare or support) are shown, locked. */
|
|
11104
|
+
declare const DNS_RECORD_TYPES: readonly ["A", "AAAA", "CNAME", "TXT", "MX", "NS"];
|
|
11105
|
+
declare const DnsRecordType: z.ZodEnum<["A", "AAAA", "CNAME", "TXT", "MX", "NS"]>;
|
|
11106
|
+
type DnsRecordType = z.infer<typeof DnsRecordType>;
|
|
11107
|
+
declare const DomainRecord: z.ZodObject<{
|
|
11108
|
+
id: z.ZodString;
|
|
11109
|
+
type: z.ZodString;
|
|
11110
|
+
/** The full name (www.example.com). */
|
|
11111
|
+
name: z.ZodString;
|
|
11112
|
+
content: z.ZodString;
|
|
11113
|
+
/** Seconds; 1 is automatic. */
|
|
11114
|
+
ttl: z.ZodNumber;
|
|
11115
|
+
/** Served through Cloudflare's proxy (A, AAAA, CNAME only). */
|
|
11116
|
+
proxied: z.ZodBoolean;
|
|
11117
|
+
priority: z.ZodNullable<z.ZodNumber>;
|
|
11118
|
+
/**
|
|
11119
|
+
* Not the holder's to change: a record Lumitra Mail wrote for sending (it
|
|
11120
|
+
* keeps those right itself), or a type the dashboard does not edit.
|
|
11121
|
+
*/
|
|
11122
|
+
locked: z.ZodBoolean;
|
|
11123
|
+
}, "strip", z.ZodTypeAny, {
|
|
11124
|
+
type: string;
|
|
11125
|
+
id: string;
|
|
11126
|
+
name: string;
|
|
11127
|
+
ttl: number;
|
|
11128
|
+
priority: number | null;
|
|
11129
|
+
content: string;
|
|
11130
|
+
proxied: boolean;
|
|
11131
|
+
locked: boolean;
|
|
11132
|
+
}, {
|
|
11133
|
+
type: string;
|
|
11134
|
+
id: string;
|
|
11135
|
+
name: string;
|
|
11136
|
+
ttl: number;
|
|
11137
|
+
priority: number | null;
|
|
11138
|
+
content: string;
|
|
11139
|
+
proxied: boolean;
|
|
11140
|
+
locked: boolean;
|
|
11141
|
+
}>;
|
|
11142
|
+
type DomainRecord = z.infer<typeof DomainRecord>;
|
|
11143
|
+
/**
|
|
11144
|
+
* A record to write. `name` is relative to the domain (`@` for the domain
|
|
11145
|
+
* itself, `www`, `_dmarc`) or the full name; the service refuses a name outside
|
|
11146
|
+
* the domain. `ttl` 1 is automatic; `proxied` only for A, AAAA and CNAME;
|
|
11147
|
+
* `priority` only, and always, for MX.
|
|
11148
|
+
*/
|
|
11149
|
+
declare const DomainRecordInput: z.ZodEffects<z.ZodObject<{
|
|
11150
|
+
type: z.ZodEnum<["A", "AAAA", "CNAME", "TXT", "MX", "NS"]>;
|
|
11151
|
+
name: z.ZodString;
|
|
11152
|
+
content: z.ZodString;
|
|
11153
|
+
ttl: z.ZodDefault<z.ZodUnion<[z.ZodLiteral<1>, z.ZodNumber]>>;
|
|
11154
|
+
proxied: z.ZodDefault<z.ZodBoolean>;
|
|
11155
|
+
priority: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
11156
|
+
}, "strip", z.ZodTypeAny, {
|
|
11157
|
+
type: "MX" | "A" | "AAAA" | "CNAME" | "TXT" | "NS";
|
|
11158
|
+
name: string;
|
|
11159
|
+
ttl: number;
|
|
11160
|
+
content: string;
|
|
11161
|
+
proxied: boolean;
|
|
11162
|
+
priority?: number | null | undefined;
|
|
11163
|
+
}, {
|
|
11164
|
+
type: "MX" | "A" | "AAAA" | "CNAME" | "TXT" | "NS";
|
|
11165
|
+
name: string;
|
|
11166
|
+
content: string;
|
|
11167
|
+
ttl?: number | undefined;
|
|
11168
|
+
priority?: number | null | undefined;
|
|
11169
|
+
proxied?: boolean | undefined;
|
|
11170
|
+
}>, {
|
|
11171
|
+
type: "MX" | "A" | "AAAA" | "CNAME" | "TXT" | "NS";
|
|
11172
|
+
name: string;
|
|
11173
|
+
ttl: number;
|
|
11174
|
+
content: string;
|
|
11175
|
+
proxied: boolean;
|
|
11176
|
+
priority?: number | null | undefined;
|
|
11177
|
+
}, {
|
|
11178
|
+
type: "MX" | "A" | "AAAA" | "CNAME" | "TXT" | "NS";
|
|
11179
|
+
name: string;
|
|
11180
|
+
content: string;
|
|
11181
|
+
ttl?: number | undefined;
|
|
11182
|
+
priority?: number | null | undefined;
|
|
11183
|
+
proxied?: boolean | undefined;
|
|
11184
|
+
}>;
|
|
11185
|
+
type DomainRecordInput = z.infer<typeof DomainRecordInput>;
|
|
11186
|
+
declare const BoughtDomainRecordParams: z.ZodObject<{
|
|
11187
|
+
id: z.ZodString;
|
|
11188
|
+
record_id: z.ZodString;
|
|
11189
|
+
}, "strip", z.ZodTypeAny, {
|
|
11190
|
+
id: string;
|
|
11191
|
+
record_id: string;
|
|
11192
|
+
}, {
|
|
11193
|
+
id: string;
|
|
11194
|
+
record_id: string;
|
|
11195
|
+
}>;
|
|
11196
|
+
declare const DomainLeaveCreate: z.ZodEffects<z.ZodObject<{
|
|
11197
|
+
way: z.ZodEnum<["cloudflare_account", "transfer"]>;
|
|
11198
|
+
/** The holder's own Cloudflare account id (32 hex characters), for `cloudflare_account`. */
|
|
11199
|
+
target_account_id: z.ZodOptional<z.ZodString>;
|
|
11200
|
+
}, "strip", z.ZodTypeAny, {
|
|
11201
|
+
way: "cloudflare_account" | "transfer";
|
|
11202
|
+
target_account_id?: string | undefined;
|
|
11203
|
+
}, {
|
|
11204
|
+
way: "cloudflare_account" | "transfer";
|
|
11205
|
+
target_account_id?: string | undefined;
|
|
11206
|
+
}>, {
|
|
11207
|
+
way: "cloudflare_account" | "transfer";
|
|
11208
|
+
target_account_id?: string | undefined;
|
|
11209
|
+
}, {
|
|
11210
|
+
way: "cloudflare_account" | "transfer";
|
|
11211
|
+
target_account_id?: string | undefined;
|
|
11212
|
+
}>;
|
|
11213
|
+
type DomainLeaveCreate = z.infer<typeof DomainLeaveCreate>;
|
|
11214
|
+
/** The zone's records as a BIND zone file, for rebuilding them wherever the domain goes. */
|
|
11215
|
+
declare const ZoneFile: z.ZodObject<{
|
|
11216
|
+
domain: z.ZodString;
|
|
11217
|
+
zone_file: z.ZodString;
|
|
11218
|
+
}, "strip", z.ZodTypeAny, {
|
|
11219
|
+
domain: string;
|
|
11220
|
+
zone_file: string;
|
|
11221
|
+
}, {
|
|
11222
|
+
domain: string;
|
|
11223
|
+
zone_file: string;
|
|
11224
|
+
}>;
|
|
11225
|
+
type ZoneFile = z.infer<typeof ZoneFile>;
|
|
11226
|
+
|
|
10918
11227
|
/**
|
|
10919
11228
|
* Phone numbers as people write them, turned into the form domain registries
|
|
10920
11229
|
* take: `+<country code>.<number>` (+49.3012345678). Marlin, 2026-11-02, on
|
|
@@ -30971,23 +31280,23 @@ declare const foundationRoutes: {
|
|
|
30971
31280
|
cursor: z.ZodOptional<z.ZodString>;
|
|
30972
31281
|
limit: z.ZodOptional<z.ZodNumber>;
|
|
30973
31282
|
} & {
|
|
30974
|
-
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.kind_changed", "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"]>>;
|
|
31283
|
+
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.kind_changed", "domain_order.no_charge", "domain_order.refunded", "domain_order.cancelled", "domain_record.created", "domain_record.updated", "domain_record.deleted", "domain_leave.requested", "domain_leave.done", "automation.created", "automation.updated", "automation.published", "automation.paused", "automation.resumed", "automation.archived", "automation.deleted", "automation.duplicated", "automation.enrolled", "automation.run_ended", "event.recorded"]>>;
|
|
30975
31284
|
target_id: z.ZodOptional<z.ZodString>;
|
|
30976
31285
|
}, "strip", z.ZodTypeAny, {
|
|
30977
31286
|
cursor?: string | undefined;
|
|
30978
31287
|
limit?: number | undefined;
|
|
30979
|
-
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.kind_changed" | "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;
|
|
31288
|
+
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.kind_changed" | "domain_order.no_charge" | "domain_order.refunded" | "domain_order.cancelled" | "domain_record.created" | "domain_record.updated" | "domain_record.deleted" | "domain_leave.requested" | "domain_leave.done" | "automation.created" | "automation.updated" | "automation.published" | "automation.paused" | "automation.resumed" | "automation.archived" | "automation.deleted" | "automation.duplicated" | "automation.enrolled" | "automation.run_ended" | "event.recorded" | undefined;
|
|
30980
31289
|
target_id?: string | undefined;
|
|
30981
31290
|
}, {
|
|
30982
31291
|
cursor?: string | undefined;
|
|
30983
31292
|
limit?: number | undefined;
|
|
30984
|
-
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.kind_changed" | "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;
|
|
31293
|
+
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.kind_changed" | "domain_order.no_charge" | "domain_order.refunded" | "domain_order.cancelled" | "domain_record.created" | "domain_record.updated" | "domain_record.deleted" | "domain_leave.requested" | "domain_leave.done" | "automation.created" | "automation.updated" | "automation.published" | "automation.paused" | "automation.resumed" | "automation.archived" | "automation.deleted" | "automation.duplicated" | "automation.enrolled" | "automation.run_ended" | "event.recorded" | undefined;
|
|
30985
31294
|
target_id?: string | undefined;
|
|
30986
31295
|
}>;
|
|
30987
31296
|
readonly response: z.ZodObject<{
|
|
30988
31297
|
data: z.ZodArray<z.ZodObject<{
|
|
30989
31298
|
id: z.ZodString;
|
|
30990
|
-
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.kind_changed", "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"]>;
|
|
31299
|
+
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.kind_changed", "domain_order.no_charge", "domain_order.refunded", "domain_order.cancelled", "domain_record.created", "domain_record.updated", "domain_record.deleted", "domain_leave.requested", "domain_leave.done", "automation.created", "automation.updated", "automation.published", "automation.paused", "automation.resumed", "automation.archived", "automation.deleted", "automation.duplicated", "automation.enrolled", "automation.run_ended", "event.recorded"]>;
|
|
30991
31300
|
actor: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
30992
31301
|
type: z.ZodLiteral<"member">;
|
|
30993
31302
|
member_id: z.ZodString;
|
|
@@ -31033,7 +31342,7 @@ declare const foundationRoutes: {
|
|
|
31033
31342
|
id: string;
|
|
31034
31343
|
details: Record<string, unknown>;
|
|
31035
31344
|
created_at: string;
|
|
31036
|
-
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.kind_changed" | "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";
|
|
31345
|
+
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.kind_changed" | "domain_order.no_charge" | "domain_order.refunded" | "domain_order.cancelled" | "domain_record.created" | "domain_record.updated" | "domain_record.deleted" | "domain_leave.requested" | "domain_leave.done" | "automation.created" | "automation.updated" | "automation.published" | "automation.paused" | "automation.resumed" | "automation.archived" | "automation.deleted" | "automation.duplicated" | "automation.enrolled" | "automation.run_ended" | "event.recorded";
|
|
31037
31346
|
actor: {
|
|
31038
31347
|
type: "member";
|
|
31039
31348
|
subject: string;
|
|
@@ -31053,7 +31362,7 @@ declare const foundationRoutes: {
|
|
|
31053
31362
|
id: string;
|
|
31054
31363
|
details: Record<string, unknown>;
|
|
31055
31364
|
created_at: string;
|
|
31056
|
-
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.kind_changed" | "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";
|
|
31365
|
+
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.kind_changed" | "domain_order.no_charge" | "domain_order.refunded" | "domain_order.cancelled" | "domain_record.created" | "domain_record.updated" | "domain_record.deleted" | "domain_leave.requested" | "domain_leave.done" | "automation.created" | "automation.updated" | "automation.published" | "automation.paused" | "automation.resumed" | "automation.archived" | "automation.deleted" | "automation.duplicated" | "automation.enrolled" | "automation.run_ended" | "event.recorded";
|
|
31057
31366
|
actor: {
|
|
31058
31367
|
type: "member";
|
|
31059
31368
|
subject: string;
|
|
@@ -31076,7 +31385,7 @@ declare const foundationRoutes: {
|
|
|
31076
31385
|
id: string;
|
|
31077
31386
|
details: Record<string, unknown>;
|
|
31078
31387
|
created_at: string;
|
|
31079
|
-
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.kind_changed" | "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";
|
|
31388
|
+
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.kind_changed" | "domain_order.no_charge" | "domain_order.refunded" | "domain_order.cancelled" | "domain_record.created" | "domain_record.updated" | "domain_record.deleted" | "domain_leave.requested" | "domain_leave.done" | "automation.created" | "automation.updated" | "automation.published" | "automation.paused" | "automation.resumed" | "automation.archived" | "automation.deleted" | "automation.duplicated" | "automation.enrolled" | "automation.run_ended" | "event.recorded";
|
|
31080
31389
|
actor: {
|
|
31081
31390
|
type: "member";
|
|
31082
31391
|
subject: string;
|
|
@@ -31099,7 +31408,7 @@ declare const foundationRoutes: {
|
|
|
31099
31408
|
id: string;
|
|
31100
31409
|
details: Record<string, unknown>;
|
|
31101
31410
|
created_at: string;
|
|
31102
|
-
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.kind_changed" | "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";
|
|
31411
|
+
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.kind_changed" | "domain_order.no_charge" | "domain_order.refunded" | "domain_order.cancelled" | "domain_record.created" | "domain_record.updated" | "domain_record.deleted" | "domain_leave.requested" | "domain_leave.done" | "automation.created" | "automation.updated" | "automation.published" | "automation.paused" | "automation.resumed" | "automation.archived" | "automation.deleted" | "automation.duplicated" | "automation.enrolled" | "automation.run_ended" | "event.recorded";
|
|
31103
31412
|
actor: {
|
|
31104
31413
|
type: "member";
|
|
31105
31414
|
subject: string;
|
|
@@ -51674,6 +51983,598 @@ declare const domainBuyingRoutes: {
|
|
|
51674
51983
|
readonly phase: "S5";
|
|
51675
51984
|
};
|
|
51676
51985
|
};
|
|
51986
|
+
declare const boughtDomainRoutes: {
|
|
51987
|
+
readonly 'boughtDomains.list': {
|
|
51988
|
+
readonly method: "GET";
|
|
51989
|
+
readonly path: "/v1/bought-domains";
|
|
51990
|
+
readonly response: z.ZodObject<{
|
|
51991
|
+
data: z.ZodArray<z.ZodObject<{
|
|
51992
|
+
id: z.ZodString;
|
|
51993
|
+
domain: z.ZodString;
|
|
51994
|
+
kind: z.ZodEnum<["sending", "domain_only"]>;
|
|
51995
|
+
registrant_name: z.ZodString;
|
|
51996
|
+
registered_at: z.ZodString;
|
|
51997
|
+
expires_at: z.ZodNullable<z.ZodString>;
|
|
51998
|
+
renewal_price_cents: z.ZodNumber;
|
|
51999
|
+
currency: z.ZodLiteral<"EUR">;
|
|
52000
|
+
no_charge: z.ZodBoolean;
|
|
52001
|
+
next_charge_at: z.ZodNullable<z.ZodString>;
|
|
52002
|
+
renewal: z.ZodNullable<z.ZodObject<{
|
|
52003
|
+
state: z.ZodEnum<["invoiced", "failed", "paid", "stopped", "lapsed"]>;
|
|
52004
|
+
amount_cents: z.ZodNumber;
|
|
52005
|
+
pay_url: z.ZodNullable<z.ZodString>;
|
|
52006
|
+
}, "strip", z.ZodTypeAny, {
|
|
52007
|
+
state: "failed" | "paid" | "invoiced" | "stopped" | "lapsed";
|
|
52008
|
+
amount_cents: number;
|
|
52009
|
+
pay_url: string | null;
|
|
52010
|
+
}, {
|
|
52011
|
+
state: "failed" | "paid" | "invoiced" | "stopped" | "lapsed";
|
|
52012
|
+
amount_cents: number;
|
|
52013
|
+
pay_url: string | null;
|
|
52014
|
+
}>>;
|
|
52015
|
+
move_account_from: z.ZodString;
|
|
52016
|
+
transfer_from: z.ZodString;
|
|
52017
|
+
leave: z.ZodNullable<z.ZodObject<{
|
|
52018
|
+
id: z.ZodString;
|
|
52019
|
+
way: z.ZodEnum<["cloudflare_account", "transfer"]>;
|
|
52020
|
+
state: z.ZodEnum<["requested", "done", "cancelled"]>;
|
|
52021
|
+
target_account_id: z.ZodNullable<z.ZodString>;
|
|
52022
|
+
auth_code: z.ZodNullable<z.ZodString>;
|
|
52023
|
+
requested_at: z.ZodString;
|
|
52024
|
+
done_at: z.ZodNullable<z.ZodString>;
|
|
52025
|
+
}, "strip", z.ZodTypeAny, {
|
|
52026
|
+
id: string;
|
|
52027
|
+
state: "cancelled" | "requested" | "done";
|
|
52028
|
+
way: "cloudflare_account" | "transfer";
|
|
52029
|
+
target_account_id: string | null;
|
|
52030
|
+
auth_code: string | null;
|
|
52031
|
+
requested_at: string;
|
|
52032
|
+
done_at: string | null;
|
|
52033
|
+
}, {
|
|
52034
|
+
id: string;
|
|
52035
|
+
state: "cancelled" | "requested" | "done";
|
|
52036
|
+
way: "cloudflare_account" | "transfer";
|
|
52037
|
+
target_account_id: string | null;
|
|
52038
|
+
auth_code: string | null;
|
|
52039
|
+
requested_at: string;
|
|
52040
|
+
done_at: string | null;
|
|
52041
|
+
}>>;
|
|
52042
|
+
left: z.ZodBoolean;
|
|
52043
|
+
}, "strip", z.ZodTypeAny, {
|
|
52044
|
+
id: string;
|
|
52045
|
+
kind: "sending" | "domain_only";
|
|
52046
|
+
expires_at: string | null;
|
|
52047
|
+
currency: "EUR";
|
|
52048
|
+
domain: string;
|
|
52049
|
+
renewal_price_cents: number;
|
|
52050
|
+
registrant_name: string;
|
|
52051
|
+
registered_at: string;
|
|
52052
|
+
no_charge: boolean;
|
|
52053
|
+
next_charge_at: string | null;
|
|
52054
|
+
renewal: {
|
|
52055
|
+
state: "failed" | "paid" | "invoiced" | "stopped" | "lapsed";
|
|
52056
|
+
amount_cents: number;
|
|
52057
|
+
pay_url: string | null;
|
|
52058
|
+
} | null;
|
|
52059
|
+
move_account_from: string;
|
|
52060
|
+
transfer_from: string;
|
|
52061
|
+
leave: {
|
|
52062
|
+
id: string;
|
|
52063
|
+
state: "cancelled" | "requested" | "done";
|
|
52064
|
+
way: "cloudflare_account" | "transfer";
|
|
52065
|
+
target_account_id: string | null;
|
|
52066
|
+
auth_code: string | null;
|
|
52067
|
+
requested_at: string;
|
|
52068
|
+
done_at: string | null;
|
|
52069
|
+
} | null;
|
|
52070
|
+
left: boolean;
|
|
52071
|
+
}, {
|
|
52072
|
+
id: string;
|
|
52073
|
+
kind: "sending" | "domain_only";
|
|
52074
|
+
expires_at: string | null;
|
|
52075
|
+
currency: "EUR";
|
|
52076
|
+
domain: string;
|
|
52077
|
+
renewal_price_cents: number;
|
|
52078
|
+
registrant_name: string;
|
|
52079
|
+
registered_at: string;
|
|
52080
|
+
no_charge: boolean;
|
|
52081
|
+
next_charge_at: string | null;
|
|
52082
|
+
renewal: {
|
|
52083
|
+
state: "failed" | "paid" | "invoiced" | "stopped" | "lapsed";
|
|
52084
|
+
amount_cents: number;
|
|
52085
|
+
pay_url: string | null;
|
|
52086
|
+
} | null;
|
|
52087
|
+
move_account_from: string;
|
|
52088
|
+
transfer_from: string;
|
|
52089
|
+
leave: {
|
|
52090
|
+
id: string;
|
|
52091
|
+
state: "cancelled" | "requested" | "done";
|
|
52092
|
+
way: "cloudflare_account" | "transfer";
|
|
52093
|
+
target_account_id: string | null;
|
|
52094
|
+
auth_code: string | null;
|
|
52095
|
+
requested_at: string;
|
|
52096
|
+
done_at: string | null;
|
|
52097
|
+
} | null;
|
|
52098
|
+
left: boolean;
|
|
52099
|
+
}>, "many">;
|
|
52100
|
+
}, "strip", z.ZodTypeAny, {
|
|
52101
|
+
data: {
|
|
52102
|
+
id: string;
|
|
52103
|
+
kind: "sending" | "domain_only";
|
|
52104
|
+
expires_at: string | null;
|
|
52105
|
+
currency: "EUR";
|
|
52106
|
+
domain: string;
|
|
52107
|
+
renewal_price_cents: number;
|
|
52108
|
+
registrant_name: string;
|
|
52109
|
+
registered_at: string;
|
|
52110
|
+
no_charge: boolean;
|
|
52111
|
+
next_charge_at: string | null;
|
|
52112
|
+
renewal: {
|
|
52113
|
+
state: "failed" | "paid" | "invoiced" | "stopped" | "lapsed";
|
|
52114
|
+
amount_cents: number;
|
|
52115
|
+
pay_url: string | null;
|
|
52116
|
+
} | null;
|
|
52117
|
+
move_account_from: string;
|
|
52118
|
+
transfer_from: string;
|
|
52119
|
+
leave: {
|
|
52120
|
+
id: string;
|
|
52121
|
+
state: "cancelled" | "requested" | "done";
|
|
52122
|
+
way: "cloudflare_account" | "transfer";
|
|
52123
|
+
target_account_id: string | null;
|
|
52124
|
+
auth_code: string | null;
|
|
52125
|
+
requested_at: string;
|
|
52126
|
+
done_at: string | null;
|
|
52127
|
+
} | null;
|
|
52128
|
+
left: boolean;
|
|
52129
|
+
}[];
|
|
52130
|
+
}, {
|
|
52131
|
+
data: {
|
|
52132
|
+
id: string;
|
|
52133
|
+
kind: "sending" | "domain_only";
|
|
52134
|
+
expires_at: string | null;
|
|
52135
|
+
currency: "EUR";
|
|
52136
|
+
domain: string;
|
|
52137
|
+
renewal_price_cents: number;
|
|
52138
|
+
registrant_name: string;
|
|
52139
|
+
registered_at: string;
|
|
52140
|
+
no_charge: boolean;
|
|
52141
|
+
next_charge_at: string | null;
|
|
52142
|
+
renewal: {
|
|
52143
|
+
state: "failed" | "paid" | "invoiced" | "stopped" | "lapsed";
|
|
52144
|
+
amount_cents: number;
|
|
52145
|
+
pay_url: string | null;
|
|
52146
|
+
} | null;
|
|
52147
|
+
move_account_from: string;
|
|
52148
|
+
transfer_from: string;
|
|
52149
|
+
leave: {
|
|
52150
|
+
id: string;
|
|
52151
|
+
state: "cancelled" | "requested" | "done";
|
|
52152
|
+
way: "cloudflare_account" | "transfer";
|
|
52153
|
+
target_account_id: string | null;
|
|
52154
|
+
auth_code: string | null;
|
|
52155
|
+
requested_at: string;
|
|
52156
|
+
done_at: string | null;
|
|
52157
|
+
} | null;
|
|
52158
|
+
left: boolean;
|
|
52159
|
+
}[];
|
|
52160
|
+
}>;
|
|
52161
|
+
readonly status: 200;
|
|
52162
|
+
readonly access: "admin";
|
|
52163
|
+
readonly phase: "S5";
|
|
52164
|
+
};
|
|
52165
|
+
readonly 'boughtDomains.records': {
|
|
52166
|
+
readonly method: "GET";
|
|
52167
|
+
readonly path: "/v1/bought-domains/:id/records";
|
|
52168
|
+
readonly params: z.ZodObject<{
|
|
52169
|
+
id: z.ZodString;
|
|
52170
|
+
}, "strip", z.ZodTypeAny, {
|
|
52171
|
+
id: string;
|
|
52172
|
+
}, {
|
|
52173
|
+
id: string;
|
|
52174
|
+
}>;
|
|
52175
|
+
readonly response: z.ZodObject<{
|
|
52176
|
+
data: z.ZodArray<z.ZodObject<{
|
|
52177
|
+
id: z.ZodString;
|
|
52178
|
+
type: z.ZodString;
|
|
52179
|
+
name: z.ZodString;
|
|
52180
|
+
content: z.ZodString;
|
|
52181
|
+
ttl: z.ZodNumber;
|
|
52182
|
+
proxied: z.ZodBoolean;
|
|
52183
|
+
priority: z.ZodNullable<z.ZodNumber>;
|
|
52184
|
+
locked: z.ZodBoolean;
|
|
52185
|
+
}, "strip", z.ZodTypeAny, {
|
|
52186
|
+
type: string;
|
|
52187
|
+
id: string;
|
|
52188
|
+
name: string;
|
|
52189
|
+
ttl: number;
|
|
52190
|
+
priority: number | null;
|
|
52191
|
+
content: string;
|
|
52192
|
+
proxied: boolean;
|
|
52193
|
+
locked: boolean;
|
|
52194
|
+
}, {
|
|
52195
|
+
type: string;
|
|
52196
|
+
id: string;
|
|
52197
|
+
name: string;
|
|
52198
|
+
ttl: number;
|
|
52199
|
+
priority: number | null;
|
|
52200
|
+
content: string;
|
|
52201
|
+
proxied: boolean;
|
|
52202
|
+
locked: boolean;
|
|
52203
|
+
}>, "many">;
|
|
52204
|
+
}, "strip", z.ZodTypeAny, {
|
|
52205
|
+
data: {
|
|
52206
|
+
type: string;
|
|
52207
|
+
id: string;
|
|
52208
|
+
name: string;
|
|
52209
|
+
ttl: number;
|
|
52210
|
+
priority: number | null;
|
|
52211
|
+
content: string;
|
|
52212
|
+
proxied: boolean;
|
|
52213
|
+
locked: boolean;
|
|
52214
|
+
}[];
|
|
52215
|
+
}, {
|
|
52216
|
+
data: {
|
|
52217
|
+
type: string;
|
|
52218
|
+
id: string;
|
|
52219
|
+
name: string;
|
|
52220
|
+
ttl: number;
|
|
52221
|
+
priority: number | null;
|
|
52222
|
+
content: string;
|
|
52223
|
+
proxied: boolean;
|
|
52224
|
+
locked: boolean;
|
|
52225
|
+
}[];
|
|
52226
|
+
}>;
|
|
52227
|
+
readonly status: 200;
|
|
52228
|
+
readonly access: "admin";
|
|
52229
|
+
readonly phase: "S5";
|
|
52230
|
+
};
|
|
52231
|
+
readonly 'boughtDomains.createRecord': {
|
|
52232
|
+
readonly method: "POST";
|
|
52233
|
+
readonly path: "/v1/bought-domains/:id/records";
|
|
52234
|
+
readonly params: z.ZodObject<{
|
|
52235
|
+
id: z.ZodString;
|
|
52236
|
+
}, "strip", z.ZodTypeAny, {
|
|
52237
|
+
id: string;
|
|
52238
|
+
}, {
|
|
52239
|
+
id: string;
|
|
52240
|
+
}>;
|
|
52241
|
+
readonly body: z.ZodEffects<z.ZodObject<{
|
|
52242
|
+
type: z.ZodEnum<["A", "AAAA", "CNAME", "TXT", "MX", "NS"]>;
|
|
52243
|
+
name: z.ZodString;
|
|
52244
|
+
content: z.ZodString;
|
|
52245
|
+
ttl: z.ZodDefault<z.ZodUnion<[z.ZodLiteral<1>, z.ZodNumber]>>;
|
|
52246
|
+
proxied: z.ZodDefault<z.ZodBoolean>;
|
|
52247
|
+
priority: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
52248
|
+
}, "strip", z.ZodTypeAny, {
|
|
52249
|
+
type: "MX" | "A" | "AAAA" | "CNAME" | "TXT" | "NS";
|
|
52250
|
+
name: string;
|
|
52251
|
+
ttl: number;
|
|
52252
|
+
content: string;
|
|
52253
|
+
proxied: boolean;
|
|
52254
|
+
priority?: number | null | undefined;
|
|
52255
|
+
}, {
|
|
52256
|
+
type: "MX" | "A" | "AAAA" | "CNAME" | "TXT" | "NS";
|
|
52257
|
+
name: string;
|
|
52258
|
+
content: string;
|
|
52259
|
+
ttl?: number | undefined;
|
|
52260
|
+
priority?: number | null | undefined;
|
|
52261
|
+
proxied?: boolean | undefined;
|
|
52262
|
+
}>, {
|
|
52263
|
+
type: "MX" | "A" | "AAAA" | "CNAME" | "TXT" | "NS";
|
|
52264
|
+
name: string;
|
|
52265
|
+
ttl: number;
|
|
52266
|
+
content: string;
|
|
52267
|
+
proxied: boolean;
|
|
52268
|
+
priority?: number | null | undefined;
|
|
52269
|
+
}, {
|
|
52270
|
+
type: "MX" | "A" | "AAAA" | "CNAME" | "TXT" | "NS";
|
|
52271
|
+
name: string;
|
|
52272
|
+
content: string;
|
|
52273
|
+
ttl?: number | undefined;
|
|
52274
|
+
priority?: number | null | undefined;
|
|
52275
|
+
proxied?: boolean | undefined;
|
|
52276
|
+
}>;
|
|
52277
|
+
readonly response: z.ZodObject<{
|
|
52278
|
+
id: z.ZodString;
|
|
52279
|
+
type: z.ZodString;
|
|
52280
|
+
name: z.ZodString;
|
|
52281
|
+
content: z.ZodString;
|
|
52282
|
+
ttl: z.ZodNumber;
|
|
52283
|
+
proxied: z.ZodBoolean;
|
|
52284
|
+
priority: z.ZodNullable<z.ZodNumber>;
|
|
52285
|
+
locked: z.ZodBoolean;
|
|
52286
|
+
}, "strip", z.ZodTypeAny, {
|
|
52287
|
+
type: string;
|
|
52288
|
+
id: string;
|
|
52289
|
+
name: string;
|
|
52290
|
+
ttl: number;
|
|
52291
|
+
priority: number | null;
|
|
52292
|
+
content: string;
|
|
52293
|
+
proxied: boolean;
|
|
52294
|
+
locked: boolean;
|
|
52295
|
+
}, {
|
|
52296
|
+
type: string;
|
|
52297
|
+
id: string;
|
|
52298
|
+
name: string;
|
|
52299
|
+
ttl: number;
|
|
52300
|
+
priority: number | null;
|
|
52301
|
+
content: string;
|
|
52302
|
+
proxied: boolean;
|
|
52303
|
+
locked: boolean;
|
|
52304
|
+
}>;
|
|
52305
|
+
readonly status: 201;
|
|
52306
|
+
readonly access: "admin";
|
|
52307
|
+
readonly phase: "S5";
|
|
52308
|
+
};
|
|
52309
|
+
readonly 'boughtDomains.updateRecord': {
|
|
52310
|
+
readonly method: "PATCH";
|
|
52311
|
+
readonly path: "/v1/bought-domains/:id/records/:record_id";
|
|
52312
|
+
readonly params: z.ZodObject<{
|
|
52313
|
+
id: z.ZodString;
|
|
52314
|
+
record_id: z.ZodString;
|
|
52315
|
+
}, "strip", z.ZodTypeAny, {
|
|
52316
|
+
id: string;
|
|
52317
|
+
record_id: string;
|
|
52318
|
+
}, {
|
|
52319
|
+
id: string;
|
|
52320
|
+
record_id: string;
|
|
52321
|
+
}>;
|
|
52322
|
+
readonly body: z.ZodEffects<z.ZodObject<{
|
|
52323
|
+
type: z.ZodEnum<["A", "AAAA", "CNAME", "TXT", "MX", "NS"]>;
|
|
52324
|
+
name: z.ZodString;
|
|
52325
|
+
content: z.ZodString;
|
|
52326
|
+
ttl: z.ZodDefault<z.ZodUnion<[z.ZodLiteral<1>, z.ZodNumber]>>;
|
|
52327
|
+
proxied: z.ZodDefault<z.ZodBoolean>;
|
|
52328
|
+
priority: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
52329
|
+
}, "strip", z.ZodTypeAny, {
|
|
52330
|
+
type: "MX" | "A" | "AAAA" | "CNAME" | "TXT" | "NS";
|
|
52331
|
+
name: string;
|
|
52332
|
+
ttl: number;
|
|
52333
|
+
content: string;
|
|
52334
|
+
proxied: boolean;
|
|
52335
|
+
priority?: number | null | undefined;
|
|
52336
|
+
}, {
|
|
52337
|
+
type: "MX" | "A" | "AAAA" | "CNAME" | "TXT" | "NS";
|
|
52338
|
+
name: string;
|
|
52339
|
+
content: string;
|
|
52340
|
+
ttl?: number | undefined;
|
|
52341
|
+
priority?: number | null | undefined;
|
|
52342
|
+
proxied?: boolean | undefined;
|
|
52343
|
+
}>, {
|
|
52344
|
+
type: "MX" | "A" | "AAAA" | "CNAME" | "TXT" | "NS";
|
|
52345
|
+
name: string;
|
|
52346
|
+
ttl: number;
|
|
52347
|
+
content: string;
|
|
52348
|
+
proxied: boolean;
|
|
52349
|
+
priority?: number | null | undefined;
|
|
52350
|
+
}, {
|
|
52351
|
+
type: "MX" | "A" | "AAAA" | "CNAME" | "TXT" | "NS";
|
|
52352
|
+
name: string;
|
|
52353
|
+
content: string;
|
|
52354
|
+
ttl?: number | undefined;
|
|
52355
|
+
priority?: number | null | undefined;
|
|
52356
|
+
proxied?: boolean | undefined;
|
|
52357
|
+
}>;
|
|
52358
|
+
readonly response: z.ZodObject<{
|
|
52359
|
+
id: z.ZodString;
|
|
52360
|
+
type: z.ZodString;
|
|
52361
|
+
name: z.ZodString;
|
|
52362
|
+
content: z.ZodString;
|
|
52363
|
+
ttl: z.ZodNumber;
|
|
52364
|
+
proxied: z.ZodBoolean;
|
|
52365
|
+
priority: z.ZodNullable<z.ZodNumber>;
|
|
52366
|
+
locked: z.ZodBoolean;
|
|
52367
|
+
}, "strip", z.ZodTypeAny, {
|
|
52368
|
+
type: string;
|
|
52369
|
+
id: string;
|
|
52370
|
+
name: string;
|
|
52371
|
+
ttl: number;
|
|
52372
|
+
priority: number | null;
|
|
52373
|
+
content: string;
|
|
52374
|
+
proxied: boolean;
|
|
52375
|
+
locked: boolean;
|
|
52376
|
+
}, {
|
|
52377
|
+
type: string;
|
|
52378
|
+
id: string;
|
|
52379
|
+
name: string;
|
|
52380
|
+
ttl: number;
|
|
52381
|
+
priority: number | null;
|
|
52382
|
+
content: string;
|
|
52383
|
+
proxied: boolean;
|
|
52384
|
+
locked: boolean;
|
|
52385
|
+
}>;
|
|
52386
|
+
readonly status: 200;
|
|
52387
|
+
readonly access: "admin";
|
|
52388
|
+
readonly phase: "S5";
|
|
52389
|
+
};
|
|
52390
|
+
readonly 'boughtDomains.deleteRecord': {
|
|
52391
|
+
readonly method: "DELETE";
|
|
52392
|
+
readonly path: "/v1/bought-domains/:id/records/:record_id";
|
|
52393
|
+
readonly params: z.ZodObject<{
|
|
52394
|
+
id: z.ZodString;
|
|
52395
|
+
record_id: z.ZodString;
|
|
52396
|
+
}, "strip", z.ZodTypeAny, {
|
|
52397
|
+
id: string;
|
|
52398
|
+
record_id: string;
|
|
52399
|
+
}, {
|
|
52400
|
+
id: string;
|
|
52401
|
+
record_id: string;
|
|
52402
|
+
}>;
|
|
52403
|
+
readonly response: z.ZodObject<{
|
|
52404
|
+
ok: z.ZodLiteral<true>;
|
|
52405
|
+
}, "strip", z.ZodTypeAny, {
|
|
52406
|
+
ok: true;
|
|
52407
|
+
}, {
|
|
52408
|
+
ok: true;
|
|
52409
|
+
}>;
|
|
52410
|
+
readonly status: 200;
|
|
52411
|
+
readonly access: "admin";
|
|
52412
|
+
readonly phase: "S5";
|
|
52413
|
+
};
|
|
52414
|
+
readonly 'boughtDomains.zoneFile': {
|
|
52415
|
+
readonly method: "GET";
|
|
52416
|
+
readonly path: "/v1/bought-domains/:id/zone-file";
|
|
52417
|
+
readonly params: z.ZodObject<{
|
|
52418
|
+
id: z.ZodString;
|
|
52419
|
+
}, "strip", z.ZodTypeAny, {
|
|
52420
|
+
id: string;
|
|
52421
|
+
}, {
|
|
52422
|
+
id: string;
|
|
52423
|
+
}>;
|
|
52424
|
+
readonly response: z.ZodObject<{
|
|
52425
|
+
domain: z.ZodString;
|
|
52426
|
+
zone_file: z.ZodString;
|
|
52427
|
+
}, "strip", z.ZodTypeAny, {
|
|
52428
|
+
domain: string;
|
|
52429
|
+
zone_file: string;
|
|
52430
|
+
}, {
|
|
52431
|
+
domain: string;
|
|
52432
|
+
zone_file: string;
|
|
52433
|
+
}>;
|
|
52434
|
+
readonly status: 200;
|
|
52435
|
+
readonly access: "admin";
|
|
52436
|
+
readonly phase: "S5";
|
|
52437
|
+
};
|
|
52438
|
+
readonly 'boughtDomains.leave': {
|
|
52439
|
+
readonly method: "POST";
|
|
52440
|
+
readonly path: "/v1/bought-domains/:id/leave";
|
|
52441
|
+
readonly params: z.ZodObject<{
|
|
52442
|
+
id: z.ZodString;
|
|
52443
|
+
}, "strip", z.ZodTypeAny, {
|
|
52444
|
+
id: string;
|
|
52445
|
+
}, {
|
|
52446
|
+
id: string;
|
|
52447
|
+
}>;
|
|
52448
|
+
readonly body: z.ZodEffects<z.ZodObject<{
|
|
52449
|
+
way: z.ZodEnum<["cloudflare_account", "transfer"]>;
|
|
52450
|
+
target_account_id: z.ZodOptional<z.ZodString>;
|
|
52451
|
+
}, "strip", z.ZodTypeAny, {
|
|
52452
|
+
way: "cloudflare_account" | "transfer";
|
|
52453
|
+
target_account_id?: string | undefined;
|
|
52454
|
+
}, {
|
|
52455
|
+
way: "cloudflare_account" | "transfer";
|
|
52456
|
+
target_account_id?: string | undefined;
|
|
52457
|
+
}>, {
|
|
52458
|
+
way: "cloudflare_account" | "transfer";
|
|
52459
|
+
target_account_id?: string | undefined;
|
|
52460
|
+
}, {
|
|
52461
|
+
way: "cloudflare_account" | "transfer";
|
|
52462
|
+
target_account_id?: string | undefined;
|
|
52463
|
+
}>;
|
|
52464
|
+
readonly response: z.ZodObject<{
|
|
52465
|
+
id: z.ZodString;
|
|
52466
|
+
domain: z.ZodString;
|
|
52467
|
+
kind: z.ZodEnum<["sending", "domain_only"]>;
|
|
52468
|
+
registrant_name: z.ZodString;
|
|
52469
|
+
registered_at: z.ZodString;
|
|
52470
|
+
expires_at: z.ZodNullable<z.ZodString>;
|
|
52471
|
+
renewal_price_cents: z.ZodNumber;
|
|
52472
|
+
currency: z.ZodLiteral<"EUR">;
|
|
52473
|
+
no_charge: z.ZodBoolean;
|
|
52474
|
+
next_charge_at: z.ZodNullable<z.ZodString>;
|
|
52475
|
+
renewal: z.ZodNullable<z.ZodObject<{
|
|
52476
|
+
state: z.ZodEnum<["invoiced", "failed", "paid", "stopped", "lapsed"]>;
|
|
52477
|
+
amount_cents: z.ZodNumber;
|
|
52478
|
+
pay_url: z.ZodNullable<z.ZodString>;
|
|
52479
|
+
}, "strip", z.ZodTypeAny, {
|
|
52480
|
+
state: "failed" | "paid" | "invoiced" | "stopped" | "lapsed";
|
|
52481
|
+
amount_cents: number;
|
|
52482
|
+
pay_url: string | null;
|
|
52483
|
+
}, {
|
|
52484
|
+
state: "failed" | "paid" | "invoiced" | "stopped" | "lapsed";
|
|
52485
|
+
amount_cents: number;
|
|
52486
|
+
pay_url: string | null;
|
|
52487
|
+
}>>;
|
|
52488
|
+
move_account_from: z.ZodString;
|
|
52489
|
+
transfer_from: z.ZodString;
|
|
52490
|
+
leave: z.ZodNullable<z.ZodObject<{
|
|
52491
|
+
id: z.ZodString;
|
|
52492
|
+
way: z.ZodEnum<["cloudflare_account", "transfer"]>;
|
|
52493
|
+
state: z.ZodEnum<["requested", "done", "cancelled"]>;
|
|
52494
|
+
target_account_id: z.ZodNullable<z.ZodString>;
|
|
52495
|
+
auth_code: z.ZodNullable<z.ZodString>;
|
|
52496
|
+
requested_at: z.ZodString;
|
|
52497
|
+
done_at: z.ZodNullable<z.ZodString>;
|
|
52498
|
+
}, "strip", z.ZodTypeAny, {
|
|
52499
|
+
id: string;
|
|
52500
|
+
state: "cancelled" | "requested" | "done";
|
|
52501
|
+
way: "cloudflare_account" | "transfer";
|
|
52502
|
+
target_account_id: string | null;
|
|
52503
|
+
auth_code: string | null;
|
|
52504
|
+
requested_at: string;
|
|
52505
|
+
done_at: string | null;
|
|
52506
|
+
}, {
|
|
52507
|
+
id: string;
|
|
52508
|
+
state: "cancelled" | "requested" | "done";
|
|
52509
|
+
way: "cloudflare_account" | "transfer";
|
|
52510
|
+
target_account_id: string | null;
|
|
52511
|
+
auth_code: string | null;
|
|
52512
|
+
requested_at: string;
|
|
52513
|
+
done_at: string | null;
|
|
52514
|
+
}>>;
|
|
52515
|
+
left: z.ZodBoolean;
|
|
52516
|
+
}, "strip", z.ZodTypeAny, {
|
|
52517
|
+
id: string;
|
|
52518
|
+
kind: "sending" | "domain_only";
|
|
52519
|
+
expires_at: string | null;
|
|
52520
|
+
currency: "EUR";
|
|
52521
|
+
domain: string;
|
|
52522
|
+
renewal_price_cents: number;
|
|
52523
|
+
registrant_name: string;
|
|
52524
|
+
registered_at: string;
|
|
52525
|
+
no_charge: boolean;
|
|
52526
|
+
next_charge_at: string | null;
|
|
52527
|
+
renewal: {
|
|
52528
|
+
state: "failed" | "paid" | "invoiced" | "stopped" | "lapsed";
|
|
52529
|
+
amount_cents: number;
|
|
52530
|
+
pay_url: string | null;
|
|
52531
|
+
} | null;
|
|
52532
|
+
move_account_from: string;
|
|
52533
|
+
transfer_from: string;
|
|
52534
|
+
leave: {
|
|
52535
|
+
id: string;
|
|
52536
|
+
state: "cancelled" | "requested" | "done";
|
|
52537
|
+
way: "cloudflare_account" | "transfer";
|
|
52538
|
+
target_account_id: string | null;
|
|
52539
|
+
auth_code: string | null;
|
|
52540
|
+
requested_at: string;
|
|
52541
|
+
done_at: string | null;
|
|
52542
|
+
} | null;
|
|
52543
|
+
left: boolean;
|
|
52544
|
+
}, {
|
|
52545
|
+
id: string;
|
|
52546
|
+
kind: "sending" | "domain_only";
|
|
52547
|
+
expires_at: string | null;
|
|
52548
|
+
currency: "EUR";
|
|
52549
|
+
domain: string;
|
|
52550
|
+
renewal_price_cents: number;
|
|
52551
|
+
registrant_name: string;
|
|
52552
|
+
registered_at: string;
|
|
52553
|
+
no_charge: boolean;
|
|
52554
|
+
next_charge_at: string | null;
|
|
52555
|
+
renewal: {
|
|
52556
|
+
state: "failed" | "paid" | "invoiced" | "stopped" | "lapsed";
|
|
52557
|
+
amount_cents: number;
|
|
52558
|
+
pay_url: string | null;
|
|
52559
|
+
} | null;
|
|
52560
|
+
move_account_from: string;
|
|
52561
|
+
transfer_from: string;
|
|
52562
|
+
leave: {
|
|
52563
|
+
id: string;
|
|
52564
|
+
state: "cancelled" | "requested" | "done";
|
|
52565
|
+
way: "cloudflare_account" | "transfer";
|
|
52566
|
+
target_account_id: string | null;
|
|
52567
|
+
auth_code: string | null;
|
|
52568
|
+
requested_at: string;
|
|
52569
|
+
done_at: string | null;
|
|
52570
|
+
} | null;
|
|
52571
|
+
left: boolean;
|
|
52572
|
+
}>;
|
|
52573
|
+
readonly status: 201;
|
|
52574
|
+
readonly access: "admin";
|
|
52575
|
+
readonly phase: "S5";
|
|
52576
|
+
};
|
|
52577
|
+
};
|
|
51677
52578
|
declare const inviteRoutes: {
|
|
51678
52579
|
readonly 'invites.create': {
|
|
51679
52580
|
readonly method: "POST";
|
|
@@ -70497,7 +71398,7 @@ declare const automationRoutes: {
|
|
|
70497
71398
|
* groups by name: spelled out, the merged type grew past what the declaration
|
|
70498
71399
|
* emitter will write (TS7056) once the plan limits gained a field.
|
|
70499
71400
|
*/
|
|
70500
|
-
type Routes = typeof foundationRoutes & typeof templateRoutes & typeof sendingRoutes & typeof inviteRoutes & typeof platformRoutes & typeof billingRoutes & typeof domainBuyingRoutes & typeof automationRoutes;
|
|
71401
|
+
type Routes = typeof foundationRoutes & typeof templateRoutes & typeof sendingRoutes & typeof inviteRoutes & typeof platformRoutes & typeof billingRoutes & typeof domainBuyingRoutes & typeof boughtDomainRoutes & typeof automationRoutes;
|
|
70501
71402
|
declare const routes: Routes;
|
|
70502
71403
|
type OperationId = keyof Routes;
|
|
70503
71404
|
/**
|
|
@@ -70561,4 +71462,4 @@ declare function matchRoute(method: HttpMethod, pathname: string): {
|
|
|
70561
71462
|
params: Record<string, string>;
|
|
70562
71463
|
} | null;
|
|
70563
71464
|
|
|
70564
|
-
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_KINDS, DOMAIN_ORDER_STATES, DOMAIN_PRICE_CHANGED_REASON, DOMAIN_UNAVAILABLE_REASONS, DateOnly, DatePassedAnswer, DelayStep, DocumentSchemaVersion, DomainBuyingBlock, DomainOffer, DomainOrder, DomainOrderCreate, DomainOrderKind, 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, REGISTRY_PHONE, 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, normalizePhone, 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 };
|
|
71465
|
+
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, BoughtDomain, BoughtDomainRecordParams, 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, DNS_RECORD_TYPES, DOCUMENT_SCHEMA_VERSIONS, DOMAIN_BUYING_BLOCKS, DOMAIN_BUYING_NOT_CONFIGURED_REASON, DOMAIN_LEAVE_STATES, DOMAIN_LEAVE_WAYS, DOMAIN_ORDER_KINDS, DOMAIN_ORDER_STATES, DOMAIN_PRICE_CHANGED_REASON, DOMAIN_RENEWAL_STATES, DOMAIN_UNAVAILABLE_REASONS, DateOnly, DatePassedAnswer, DelayStep, DnsRecordType, DocumentSchemaVersion, DomainBuyingBlock, DomainLeave, DomainLeaveCreate, DomainLeaveState, DomainLeaveWay, DomainOffer, DomainOrder, DomainOrderCreate, DomainOrderKind, DomainOrderState, DomainRecord, DomainRecordInput, DomainRegistrant, DomainRenewal, DomainRenewalState, 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, REGISTRY_PHONE, 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, ZoneFile, acceptsIdempotencyKey, addInsertion, addInsertionChoice, addLanguageDraft, alignTranslationInsertions, alwaysWaits, automationFilterFamily, automationRoutes, billingRoutes, boughtDomainRoutes, 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, normalizePhone, 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 };
|