@marlinjai/mail-contract 0.17.0 → 0.18.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 +33 -18
- package/dist/index.d.ts +33 -18
- package/dist/index.js +14 -0
- package/dist/index.mjs +13 -0
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -1022,8 +1022,8 @@ declare const ApiKeyCreated: z.ZodObject<{
|
|
|
1022
1022
|
};
|
|
1023
1023
|
}>;
|
|
1024
1024
|
type ApiKeyCreated = z.infer<typeof ApiKeyCreated>;
|
|
1025
|
-
declare const AUDIT_ACTIONS: readonly ["workspace.created", "workspace.updated", "workspace.company_changed", "member.added", "member.role_changed", "member.removed", "member.invited", "invite.revoked", "api_key.created", "api_key.revoked", "provider.created", "provider.updated", "provider.deleted", "provider.events_registered", "provider.events_secret_set", "provider.bounces_halted", "provider.anomaly_cleared", "sending_domain.created", "sending_domain.updated", "sending_domain.checked", "sending_domain.deleted", "topic.created", "topic.updated", "topic.deleted", "template.created", "template.updated", "template.deleted", "template.inputs_declared", "saved_section.created", "saved_section.updated", "saved_section.deleted", "asset.uploaded", "asset.imported", "contact.erased", "suppression.created", "suppression.deleted", "mailing.created", "mailing.sent", "mailing.paused", "mailing.resumed", "mailing.cancelled", "mailing.deleted", "mailing.retried", "webhook.created", "webhook.updated", "webhook.deleted", "webhook.secret_rotated", "webhook.redelivered", "contact.unsubscribed", "tag.created", "tag.deleted", "tag.assigned", "tag.unassigned", "contact_property.created", "contact_property.deleted", "segment.created", "segment.updated", "segment.deleted", "signup_form.created", "signup_form.updated", "signup_form.deleted", "contact.subscribed", "import.created", "import.mapped", "import.committed", "import.cancelled", "import.finished", "mailing.scheduled", "mailing.unscheduled", "mailing.schedule_failed", "mailing.ab_test_updated", "mailing.ab_winner_selected", "tracking.updated", "billing.checkout_started", "billing.subscription_changed", "billing.exemption_changed", "billing.extra_sending_domains_changed", "automation.created", "automation.updated", "automation.published", "automation.paused", "automation.resumed", "automation.archived", "automation.deleted", "automation.duplicated", "automation.enrolled", "automation.run_ended", "event.recorded"];
|
|
1026
|
-
declare const AuditAction: z.ZodEnum<["workspace.created", "workspace.updated", "workspace.company_changed", "member.added", "member.role_changed", "member.removed", "member.invited", "invite.revoked", "api_key.created", "api_key.revoked", "provider.created", "provider.updated", "provider.deleted", "provider.events_registered", "provider.events_secret_set", "provider.bounces_halted", "provider.anomaly_cleared", "sending_domain.created", "sending_domain.updated", "sending_domain.checked", "sending_domain.deleted", "topic.created", "topic.updated", "topic.deleted", "template.created", "template.updated", "template.deleted", "template.inputs_declared", "saved_section.created", "saved_section.updated", "saved_section.deleted", "asset.uploaded", "asset.imported", "contact.erased", "suppression.created", "suppression.deleted", "mailing.created", "mailing.sent", "mailing.paused", "mailing.resumed", "mailing.cancelled", "mailing.deleted", "mailing.retried", "webhook.created", "webhook.updated", "webhook.deleted", "webhook.secret_rotated", "webhook.redelivered", "contact.unsubscribed", "tag.created", "tag.deleted", "tag.assigned", "tag.unassigned", "contact_property.created", "contact_property.deleted", "segment.created", "segment.updated", "segment.deleted", "signup_form.created", "signup_form.updated", "signup_form.deleted", "contact.subscribed", "import.created", "import.mapped", "import.committed", "import.cancelled", "import.finished", "mailing.scheduled", "mailing.unscheduled", "mailing.schedule_failed", "mailing.ab_test_updated", "mailing.ab_winner_selected", "tracking.updated", "billing.checkout_started", "billing.subscription_changed", "billing.exemption_changed", "billing.extra_sending_domains_changed", "automation.created", "automation.updated", "automation.published", "automation.paused", "automation.resumed", "automation.archived", "automation.deleted", "automation.duplicated", "automation.enrolled", "automation.run_ended", "event.recorded"]>;
|
|
1025
|
+
declare const AUDIT_ACTIONS: readonly ["workspace.created", "workspace.updated", "workspace.company_changed", "member.added", "member.role_changed", "member.removed", "member.invited", "invite.revoked", "api_key.created", "api_key.revoked", "provider.created", "provider.updated", "provider.deleted", "provider.events_registered", "provider.events_secret_set", "provider.bounces_halted", "provider.anomaly_cleared", "sending_domain.created", "sending_domain.updated", "sending_domain.checked", "sending_domain.records_written", "sending_domain.deleted", "topic.created", "topic.updated", "topic.deleted", "template.created", "template.updated", "template.deleted", "template.inputs_declared", "saved_section.created", "saved_section.updated", "saved_section.deleted", "asset.uploaded", "asset.imported", "contact.erased", "suppression.created", "suppression.deleted", "mailing.created", "mailing.sent", "mailing.paused", "mailing.resumed", "mailing.cancelled", "mailing.deleted", "mailing.retried", "webhook.created", "webhook.updated", "webhook.deleted", "webhook.secret_rotated", "webhook.redelivered", "contact.unsubscribed", "tag.created", "tag.deleted", "tag.assigned", "tag.unassigned", "contact_property.created", "contact_property.deleted", "segment.created", "segment.updated", "segment.deleted", "signup_form.created", "signup_form.updated", "signup_form.deleted", "contact.subscribed", "import.created", "import.mapped", "import.committed", "import.cancelled", "import.finished", "mailing.scheduled", "mailing.unscheduled", "mailing.schedule_failed", "mailing.ab_test_updated", "mailing.ab_winner_selected", "tracking.updated", "billing.checkout_started", "billing.subscription_changed", "billing.exemption_changed", "billing.extra_sending_domains_changed", "automation.created", "automation.updated", "automation.published", "automation.paused", "automation.resumed", "automation.archived", "automation.deleted", "automation.duplicated", "automation.enrolled", "automation.run_ended", "event.recorded"];
|
|
1026
|
+
declare const AuditAction: z.ZodEnum<["workspace.created", "workspace.updated", "workspace.company_changed", "member.added", "member.role_changed", "member.removed", "member.invited", "invite.revoked", "api_key.created", "api_key.revoked", "provider.created", "provider.updated", "provider.deleted", "provider.events_registered", "provider.events_secret_set", "provider.bounces_halted", "provider.anomaly_cleared", "sending_domain.created", "sending_domain.updated", "sending_domain.checked", "sending_domain.records_written", "sending_domain.deleted", "topic.created", "topic.updated", "topic.deleted", "template.created", "template.updated", "template.deleted", "template.inputs_declared", "saved_section.created", "saved_section.updated", "saved_section.deleted", "asset.uploaded", "asset.imported", "contact.erased", "suppression.created", "suppression.deleted", "mailing.created", "mailing.sent", "mailing.paused", "mailing.resumed", "mailing.cancelled", "mailing.deleted", "mailing.retried", "webhook.created", "webhook.updated", "webhook.deleted", "webhook.secret_rotated", "webhook.redelivered", "contact.unsubscribed", "tag.created", "tag.deleted", "tag.assigned", "tag.unassigned", "contact_property.created", "contact_property.deleted", "segment.created", "segment.updated", "segment.deleted", "signup_form.created", "signup_form.updated", "signup_form.deleted", "contact.subscribed", "import.created", "import.mapped", "import.committed", "import.cancelled", "import.finished", "mailing.scheduled", "mailing.unscheduled", "mailing.schedule_failed", "mailing.ab_test_updated", "mailing.ab_winner_selected", "tracking.updated", "billing.checkout_started", "billing.subscription_changed", "billing.exemption_changed", "billing.extra_sending_domains_changed", "automation.created", "automation.updated", "automation.published", "automation.paused", "automation.resumed", "automation.archived", "automation.deleted", "automation.duplicated", "automation.enrolled", "automation.run_ended", "event.recorded"]>;
|
|
1027
1027
|
type AuditAction = z.infer<typeof AuditAction>;
|
|
1028
1028
|
/**
|
|
1029
1029
|
* The applications, besides the dashboard, that may act for a signed-in person:
|
|
@@ -1090,7 +1090,7 @@ declare const AuditActor: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
1090
1090
|
type AuditActor = z.infer<typeof AuditActor>;
|
|
1091
1091
|
declare const AuditEntry: z.ZodObject<{
|
|
1092
1092
|
id: z.ZodString;
|
|
1093
|
-
action: z.ZodEnum<["workspace.created", "workspace.updated", "workspace.company_changed", "member.added", "member.role_changed", "member.removed", "member.invited", "invite.revoked", "api_key.created", "api_key.revoked", "provider.created", "provider.updated", "provider.deleted", "provider.events_registered", "provider.events_secret_set", "provider.bounces_halted", "provider.anomaly_cleared", "sending_domain.created", "sending_domain.updated", "sending_domain.checked", "sending_domain.deleted", "topic.created", "topic.updated", "topic.deleted", "template.created", "template.updated", "template.deleted", "template.inputs_declared", "saved_section.created", "saved_section.updated", "saved_section.deleted", "asset.uploaded", "asset.imported", "contact.erased", "suppression.created", "suppression.deleted", "mailing.created", "mailing.sent", "mailing.paused", "mailing.resumed", "mailing.cancelled", "mailing.deleted", "mailing.retried", "webhook.created", "webhook.updated", "webhook.deleted", "webhook.secret_rotated", "webhook.redelivered", "contact.unsubscribed", "tag.created", "tag.deleted", "tag.assigned", "tag.unassigned", "contact_property.created", "contact_property.deleted", "segment.created", "segment.updated", "segment.deleted", "signup_form.created", "signup_form.updated", "signup_form.deleted", "contact.subscribed", "import.created", "import.mapped", "import.committed", "import.cancelled", "import.finished", "mailing.scheduled", "mailing.unscheduled", "mailing.schedule_failed", "mailing.ab_test_updated", "mailing.ab_winner_selected", "tracking.updated", "billing.checkout_started", "billing.subscription_changed", "billing.exemption_changed", "billing.extra_sending_domains_changed", "automation.created", "automation.updated", "automation.published", "automation.paused", "automation.resumed", "automation.archived", "automation.deleted", "automation.duplicated", "automation.enrolled", "automation.run_ended", "event.recorded"]>;
|
|
1093
|
+
action: z.ZodEnum<["workspace.created", "workspace.updated", "workspace.company_changed", "member.added", "member.role_changed", "member.removed", "member.invited", "invite.revoked", "api_key.created", "api_key.revoked", "provider.created", "provider.updated", "provider.deleted", "provider.events_registered", "provider.events_secret_set", "provider.bounces_halted", "provider.anomaly_cleared", "sending_domain.created", "sending_domain.updated", "sending_domain.checked", "sending_domain.records_written", "sending_domain.deleted", "topic.created", "topic.updated", "topic.deleted", "template.created", "template.updated", "template.deleted", "template.inputs_declared", "saved_section.created", "saved_section.updated", "saved_section.deleted", "asset.uploaded", "asset.imported", "contact.erased", "suppression.created", "suppression.deleted", "mailing.created", "mailing.sent", "mailing.paused", "mailing.resumed", "mailing.cancelled", "mailing.deleted", "mailing.retried", "webhook.created", "webhook.updated", "webhook.deleted", "webhook.secret_rotated", "webhook.redelivered", "contact.unsubscribed", "tag.created", "tag.deleted", "tag.assigned", "tag.unassigned", "contact_property.created", "contact_property.deleted", "segment.created", "segment.updated", "segment.deleted", "signup_form.created", "signup_form.updated", "signup_form.deleted", "contact.subscribed", "import.created", "import.mapped", "import.committed", "import.cancelled", "import.finished", "mailing.scheduled", "mailing.unscheduled", "mailing.schedule_failed", "mailing.ab_test_updated", "mailing.ab_winner_selected", "tracking.updated", "billing.checkout_started", "billing.subscription_changed", "billing.exemption_changed", "billing.extra_sending_domains_changed", "automation.created", "automation.updated", "automation.published", "automation.paused", "automation.resumed", "automation.archived", "automation.deleted", "automation.duplicated", "automation.enrolled", "automation.run_ended", "event.recorded"]>;
|
|
1094
1094
|
actor: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
1095
1095
|
type: z.ZodLiteral<"member">;
|
|
1096
1096
|
member_id: z.ZodString;
|
|
@@ -1146,7 +1146,7 @@ declare const AuditEntry: z.ZodObject<{
|
|
|
1146
1146
|
id: string;
|
|
1147
1147
|
details: Record<string, unknown>;
|
|
1148
1148
|
created_at: string;
|
|
1149
|
-
action: "workspace.created" | "workspace.updated" | "workspace.company_changed" | "member.added" | "member.role_changed" | "member.removed" | "member.invited" | "invite.revoked" | "api_key.created" | "api_key.revoked" | "provider.created" | "provider.updated" | "provider.deleted" | "provider.events_registered" | "provider.events_secret_set" | "provider.bounces_halted" | "provider.anomaly_cleared" | "sending_domain.created" | "sending_domain.updated" | "sending_domain.checked" | "sending_domain.deleted" | "topic.created" | "topic.updated" | "topic.deleted" | "template.created" | "template.updated" | "template.deleted" | "template.inputs_declared" | "saved_section.created" | "saved_section.updated" | "saved_section.deleted" | "asset.uploaded" | "asset.imported" | "contact.erased" | "suppression.created" | "suppression.deleted" | "mailing.created" | "mailing.sent" | "mailing.paused" | "mailing.resumed" | "mailing.cancelled" | "mailing.deleted" | "mailing.retried" | "webhook.created" | "webhook.updated" | "webhook.deleted" | "webhook.secret_rotated" | "webhook.redelivered" | "contact.unsubscribed" | "tag.created" | "tag.deleted" | "tag.assigned" | "tag.unassigned" | "contact_property.created" | "contact_property.deleted" | "segment.created" | "segment.updated" | "segment.deleted" | "signup_form.created" | "signup_form.updated" | "signup_form.deleted" | "contact.subscribed" | "import.created" | "import.mapped" | "import.committed" | "import.cancelled" | "import.finished" | "mailing.scheduled" | "mailing.unscheduled" | "mailing.schedule_failed" | "mailing.ab_test_updated" | "mailing.ab_winner_selected" | "tracking.updated" | "billing.checkout_started" | "billing.subscription_changed" | "billing.exemption_changed" | "billing.extra_sending_domains_changed" | "automation.created" | "automation.updated" | "automation.published" | "automation.paused" | "automation.resumed" | "automation.archived" | "automation.deleted" | "automation.duplicated" | "automation.enrolled" | "automation.run_ended" | "event.recorded";
|
|
1149
|
+
action: "workspace.created" | "workspace.updated" | "workspace.company_changed" | "member.added" | "member.role_changed" | "member.removed" | "member.invited" | "invite.revoked" | "api_key.created" | "api_key.revoked" | "provider.created" | "provider.updated" | "provider.deleted" | "provider.events_registered" | "provider.events_secret_set" | "provider.bounces_halted" | "provider.anomaly_cleared" | "sending_domain.created" | "sending_domain.updated" | "sending_domain.checked" | "sending_domain.records_written" | "sending_domain.deleted" | "topic.created" | "topic.updated" | "topic.deleted" | "template.created" | "template.updated" | "template.deleted" | "template.inputs_declared" | "saved_section.created" | "saved_section.updated" | "saved_section.deleted" | "asset.uploaded" | "asset.imported" | "contact.erased" | "suppression.created" | "suppression.deleted" | "mailing.created" | "mailing.sent" | "mailing.paused" | "mailing.resumed" | "mailing.cancelled" | "mailing.deleted" | "mailing.retried" | "webhook.created" | "webhook.updated" | "webhook.deleted" | "webhook.secret_rotated" | "webhook.redelivered" | "contact.unsubscribed" | "tag.created" | "tag.deleted" | "tag.assigned" | "tag.unassigned" | "contact_property.created" | "contact_property.deleted" | "segment.created" | "segment.updated" | "segment.deleted" | "signup_form.created" | "signup_form.updated" | "signup_form.deleted" | "contact.subscribed" | "import.created" | "import.mapped" | "import.committed" | "import.cancelled" | "import.finished" | "mailing.scheduled" | "mailing.unscheduled" | "mailing.schedule_failed" | "mailing.ab_test_updated" | "mailing.ab_winner_selected" | "tracking.updated" | "billing.checkout_started" | "billing.subscription_changed" | "billing.exemption_changed" | "billing.extra_sending_domains_changed" | "automation.created" | "automation.updated" | "automation.published" | "automation.paused" | "automation.resumed" | "automation.archived" | "automation.deleted" | "automation.duplicated" | "automation.enrolled" | "automation.run_ended" | "event.recorded";
|
|
1150
1150
|
actor: {
|
|
1151
1151
|
type: "member";
|
|
1152
1152
|
subject: string;
|
|
@@ -1166,7 +1166,7 @@ declare const AuditEntry: z.ZodObject<{
|
|
|
1166
1166
|
id: string;
|
|
1167
1167
|
details: Record<string, unknown>;
|
|
1168
1168
|
created_at: string;
|
|
1169
|
-
action: "workspace.created" | "workspace.updated" | "workspace.company_changed" | "member.added" | "member.role_changed" | "member.removed" | "member.invited" | "invite.revoked" | "api_key.created" | "api_key.revoked" | "provider.created" | "provider.updated" | "provider.deleted" | "provider.events_registered" | "provider.events_secret_set" | "provider.bounces_halted" | "provider.anomaly_cleared" | "sending_domain.created" | "sending_domain.updated" | "sending_domain.checked" | "sending_domain.deleted" | "topic.created" | "topic.updated" | "topic.deleted" | "template.created" | "template.updated" | "template.deleted" | "template.inputs_declared" | "saved_section.created" | "saved_section.updated" | "saved_section.deleted" | "asset.uploaded" | "asset.imported" | "contact.erased" | "suppression.created" | "suppression.deleted" | "mailing.created" | "mailing.sent" | "mailing.paused" | "mailing.resumed" | "mailing.cancelled" | "mailing.deleted" | "mailing.retried" | "webhook.created" | "webhook.updated" | "webhook.deleted" | "webhook.secret_rotated" | "webhook.redelivered" | "contact.unsubscribed" | "tag.created" | "tag.deleted" | "tag.assigned" | "tag.unassigned" | "contact_property.created" | "contact_property.deleted" | "segment.created" | "segment.updated" | "segment.deleted" | "signup_form.created" | "signup_form.updated" | "signup_form.deleted" | "contact.subscribed" | "import.created" | "import.mapped" | "import.committed" | "import.cancelled" | "import.finished" | "mailing.scheduled" | "mailing.unscheduled" | "mailing.schedule_failed" | "mailing.ab_test_updated" | "mailing.ab_winner_selected" | "tracking.updated" | "billing.checkout_started" | "billing.subscription_changed" | "billing.exemption_changed" | "billing.extra_sending_domains_changed" | "automation.created" | "automation.updated" | "automation.published" | "automation.paused" | "automation.resumed" | "automation.archived" | "automation.deleted" | "automation.duplicated" | "automation.enrolled" | "automation.run_ended" | "event.recorded";
|
|
1169
|
+
action: "workspace.created" | "workspace.updated" | "workspace.company_changed" | "member.added" | "member.role_changed" | "member.removed" | "member.invited" | "invite.revoked" | "api_key.created" | "api_key.revoked" | "provider.created" | "provider.updated" | "provider.deleted" | "provider.events_registered" | "provider.events_secret_set" | "provider.bounces_halted" | "provider.anomaly_cleared" | "sending_domain.created" | "sending_domain.updated" | "sending_domain.checked" | "sending_domain.records_written" | "sending_domain.deleted" | "topic.created" | "topic.updated" | "topic.deleted" | "template.created" | "template.updated" | "template.deleted" | "template.inputs_declared" | "saved_section.created" | "saved_section.updated" | "saved_section.deleted" | "asset.uploaded" | "asset.imported" | "contact.erased" | "suppression.created" | "suppression.deleted" | "mailing.created" | "mailing.sent" | "mailing.paused" | "mailing.resumed" | "mailing.cancelled" | "mailing.deleted" | "mailing.retried" | "webhook.created" | "webhook.updated" | "webhook.deleted" | "webhook.secret_rotated" | "webhook.redelivered" | "contact.unsubscribed" | "tag.created" | "tag.deleted" | "tag.assigned" | "tag.unassigned" | "contact_property.created" | "contact_property.deleted" | "segment.created" | "segment.updated" | "segment.deleted" | "signup_form.created" | "signup_form.updated" | "signup_form.deleted" | "contact.subscribed" | "import.created" | "import.mapped" | "import.committed" | "import.cancelled" | "import.finished" | "mailing.scheduled" | "mailing.unscheduled" | "mailing.schedule_failed" | "mailing.ab_test_updated" | "mailing.ab_winner_selected" | "tracking.updated" | "billing.checkout_started" | "billing.subscription_changed" | "billing.exemption_changed" | "billing.extra_sending_domains_changed" | "automation.created" | "automation.updated" | "automation.published" | "automation.paused" | "automation.resumed" | "automation.archived" | "automation.deleted" | "automation.duplicated" | "automation.enrolled" | "automation.run_ended" | "event.recorded";
|
|
1170
1170
|
actor: {
|
|
1171
1171
|
type: "member";
|
|
1172
1172
|
subject: string;
|
|
@@ -1188,17 +1188,17 @@ declare const AuditQuery: z.ZodObject<{
|
|
|
1188
1188
|
cursor: z.ZodOptional<z.ZodString>;
|
|
1189
1189
|
limit: z.ZodOptional<z.ZodNumber>;
|
|
1190
1190
|
} & {
|
|
1191
|
-
action: z.ZodOptional<z.ZodEnum<["workspace.created", "workspace.updated", "workspace.company_changed", "member.added", "member.role_changed", "member.removed", "member.invited", "invite.revoked", "api_key.created", "api_key.revoked", "provider.created", "provider.updated", "provider.deleted", "provider.events_registered", "provider.events_secret_set", "provider.bounces_halted", "provider.anomaly_cleared", "sending_domain.created", "sending_domain.updated", "sending_domain.checked", "sending_domain.deleted", "topic.created", "topic.updated", "topic.deleted", "template.created", "template.updated", "template.deleted", "template.inputs_declared", "saved_section.created", "saved_section.updated", "saved_section.deleted", "asset.uploaded", "asset.imported", "contact.erased", "suppression.created", "suppression.deleted", "mailing.created", "mailing.sent", "mailing.paused", "mailing.resumed", "mailing.cancelled", "mailing.deleted", "mailing.retried", "webhook.created", "webhook.updated", "webhook.deleted", "webhook.secret_rotated", "webhook.redelivered", "contact.unsubscribed", "tag.created", "tag.deleted", "tag.assigned", "tag.unassigned", "contact_property.created", "contact_property.deleted", "segment.created", "segment.updated", "segment.deleted", "signup_form.created", "signup_form.updated", "signup_form.deleted", "contact.subscribed", "import.created", "import.mapped", "import.committed", "import.cancelled", "import.finished", "mailing.scheduled", "mailing.unscheduled", "mailing.schedule_failed", "mailing.ab_test_updated", "mailing.ab_winner_selected", "tracking.updated", "billing.checkout_started", "billing.subscription_changed", "billing.exemption_changed", "billing.extra_sending_domains_changed", "automation.created", "automation.updated", "automation.published", "automation.paused", "automation.resumed", "automation.archived", "automation.deleted", "automation.duplicated", "automation.enrolled", "automation.run_ended", "event.recorded"]>>;
|
|
1191
|
+
action: z.ZodOptional<z.ZodEnum<["workspace.created", "workspace.updated", "workspace.company_changed", "member.added", "member.role_changed", "member.removed", "member.invited", "invite.revoked", "api_key.created", "api_key.revoked", "provider.created", "provider.updated", "provider.deleted", "provider.events_registered", "provider.events_secret_set", "provider.bounces_halted", "provider.anomaly_cleared", "sending_domain.created", "sending_domain.updated", "sending_domain.checked", "sending_domain.records_written", "sending_domain.deleted", "topic.created", "topic.updated", "topic.deleted", "template.created", "template.updated", "template.deleted", "template.inputs_declared", "saved_section.created", "saved_section.updated", "saved_section.deleted", "asset.uploaded", "asset.imported", "contact.erased", "suppression.created", "suppression.deleted", "mailing.created", "mailing.sent", "mailing.paused", "mailing.resumed", "mailing.cancelled", "mailing.deleted", "mailing.retried", "webhook.created", "webhook.updated", "webhook.deleted", "webhook.secret_rotated", "webhook.redelivered", "contact.unsubscribed", "tag.created", "tag.deleted", "tag.assigned", "tag.unassigned", "contact_property.created", "contact_property.deleted", "segment.created", "segment.updated", "segment.deleted", "signup_form.created", "signup_form.updated", "signup_form.deleted", "contact.subscribed", "import.created", "import.mapped", "import.committed", "import.cancelled", "import.finished", "mailing.scheduled", "mailing.unscheduled", "mailing.schedule_failed", "mailing.ab_test_updated", "mailing.ab_winner_selected", "tracking.updated", "billing.checkout_started", "billing.subscription_changed", "billing.exemption_changed", "billing.extra_sending_domains_changed", "automation.created", "automation.updated", "automation.published", "automation.paused", "automation.resumed", "automation.archived", "automation.deleted", "automation.duplicated", "automation.enrolled", "automation.run_ended", "event.recorded"]>>;
|
|
1192
1192
|
target_id: z.ZodOptional<z.ZodString>;
|
|
1193
1193
|
}, "strip", z.ZodTypeAny, {
|
|
1194
1194
|
cursor?: string | undefined;
|
|
1195
1195
|
limit?: number | undefined;
|
|
1196
|
-
action?: "workspace.created" | "workspace.updated" | "workspace.company_changed" | "member.added" | "member.role_changed" | "member.removed" | "member.invited" | "invite.revoked" | "api_key.created" | "api_key.revoked" | "provider.created" | "provider.updated" | "provider.deleted" | "provider.events_registered" | "provider.events_secret_set" | "provider.bounces_halted" | "provider.anomaly_cleared" | "sending_domain.created" | "sending_domain.updated" | "sending_domain.checked" | "sending_domain.deleted" | "topic.created" | "topic.updated" | "topic.deleted" | "template.created" | "template.updated" | "template.deleted" | "template.inputs_declared" | "saved_section.created" | "saved_section.updated" | "saved_section.deleted" | "asset.uploaded" | "asset.imported" | "contact.erased" | "suppression.created" | "suppression.deleted" | "mailing.created" | "mailing.sent" | "mailing.paused" | "mailing.resumed" | "mailing.cancelled" | "mailing.deleted" | "mailing.retried" | "webhook.created" | "webhook.updated" | "webhook.deleted" | "webhook.secret_rotated" | "webhook.redelivered" | "contact.unsubscribed" | "tag.created" | "tag.deleted" | "tag.assigned" | "tag.unassigned" | "contact_property.created" | "contact_property.deleted" | "segment.created" | "segment.updated" | "segment.deleted" | "signup_form.created" | "signup_form.updated" | "signup_form.deleted" | "contact.subscribed" | "import.created" | "import.mapped" | "import.committed" | "import.cancelled" | "import.finished" | "mailing.scheduled" | "mailing.unscheduled" | "mailing.schedule_failed" | "mailing.ab_test_updated" | "mailing.ab_winner_selected" | "tracking.updated" | "billing.checkout_started" | "billing.subscription_changed" | "billing.exemption_changed" | "billing.extra_sending_domains_changed" | "automation.created" | "automation.updated" | "automation.published" | "automation.paused" | "automation.resumed" | "automation.archived" | "automation.deleted" | "automation.duplicated" | "automation.enrolled" | "automation.run_ended" | "event.recorded" | undefined;
|
|
1196
|
+
action?: "workspace.created" | "workspace.updated" | "workspace.company_changed" | "member.added" | "member.role_changed" | "member.removed" | "member.invited" | "invite.revoked" | "api_key.created" | "api_key.revoked" | "provider.created" | "provider.updated" | "provider.deleted" | "provider.events_registered" | "provider.events_secret_set" | "provider.bounces_halted" | "provider.anomaly_cleared" | "sending_domain.created" | "sending_domain.updated" | "sending_domain.checked" | "sending_domain.records_written" | "sending_domain.deleted" | "topic.created" | "topic.updated" | "topic.deleted" | "template.created" | "template.updated" | "template.deleted" | "template.inputs_declared" | "saved_section.created" | "saved_section.updated" | "saved_section.deleted" | "asset.uploaded" | "asset.imported" | "contact.erased" | "suppression.created" | "suppression.deleted" | "mailing.created" | "mailing.sent" | "mailing.paused" | "mailing.resumed" | "mailing.cancelled" | "mailing.deleted" | "mailing.retried" | "webhook.created" | "webhook.updated" | "webhook.deleted" | "webhook.secret_rotated" | "webhook.redelivered" | "contact.unsubscribed" | "tag.created" | "tag.deleted" | "tag.assigned" | "tag.unassigned" | "contact_property.created" | "contact_property.deleted" | "segment.created" | "segment.updated" | "segment.deleted" | "signup_form.created" | "signup_form.updated" | "signup_form.deleted" | "contact.subscribed" | "import.created" | "import.mapped" | "import.committed" | "import.cancelled" | "import.finished" | "mailing.scheduled" | "mailing.unscheduled" | "mailing.schedule_failed" | "mailing.ab_test_updated" | "mailing.ab_winner_selected" | "tracking.updated" | "billing.checkout_started" | "billing.subscription_changed" | "billing.exemption_changed" | "billing.extra_sending_domains_changed" | "automation.created" | "automation.updated" | "automation.published" | "automation.paused" | "automation.resumed" | "automation.archived" | "automation.deleted" | "automation.duplicated" | "automation.enrolled" | "automation.run_ended" | "event.recorded" | undefined;
|
|
1197
1197
|
target_id?: string | undefined;
|
|
1198
1198
|
}, {
|
|
1199
1199
|
cursor?: string | undefined;
|
|
1200
1200
|
limit?: number | undefined;
|
|
1201
|
-
action?: "workspace.created" | "workspace.updated" | "workspace.company_changed" | "member.added" | "member.role_changed" | "member.removed" | "member.invited" | "invite.revoked" | "api_key.created" | "api_key.revoked" | "provider.created" | "provider.updated" | "provider.deleted" | "provider.events_registered" | "provider.events_secret_set" | "provider.bounces_halted" | "provider.anomaly_cleared" | "sending_domain.created" | "sending_domain.updated" | "sending_domain.checked" | "sending_domain.deleted" | "topic.created" | "topic.updated" | "topic.deleted" | "template.created" | "template.updated" | "template.deleted" | "template.inputs_declared" | "saved_section.created" | "saved_section.updated" | "saved_section.deleted" | "asset.uploaded" | "asset.imported" | "contact.erased" | "suppression.created" | "suppression.deleted" | "mailing.created" | "mailing.sent" | "mailing.paused" | "mailing.resumed" | "mailing.cancelled" | "mailing.deleted" | "mailing.retried" | "webhook.created" | "webhook.updated" | "webhook.deleted" | "webhook.secret_rotated" | "webhook.redelivered" | "contact.unsubscribed" | "tag.created" | "tag.deleted" | "tag.assigned" | "tag.unassigned" | "contact_property.created" | "contact_property.deleted" | "segment.created" | "segment.updated" | "segment.deleted" | "signup_form.created" | "signup_form.updated" | "signup_form.deleted" | "contact.subscribed" | "import.created" | "import.mapped" | "import.committed" | "import.cancelled" | "import.finished" | "mailing.scheduled" | "mailing.unscheduled" | "mailing.schedule_failed" | "mailing.ab_test_updated" | "mailing.ab_winner_selected" | "tracking.updated" | "billing.checkout_started" | "billing.subscription_changed" | "billing.exemption_changed" | "billing.extra_sending_domains_changed" | "automation.created" | "automation.updated" | "automation.published" | "automation.paused" | "automation.resumed" | "automation.archived" | "automation.deleted" | "automation.duplicated" | "automation.enrolled" | "automation.run_ended" | "event.recorded" | undefined;
|
|
1201
|
+
action?: "workspace.created" | "workspace.updated" | "workspace.company_changed" | "member.added" | "member.role_changed" | "member.removed" | "member.invited" | "invite.revoked" | "api_key.created" | "api_key.revoked" | "provider.created" | "provider.updated" | "provider.deleted" | "provider.events_registered" | "provider.events_secret_set" | "provider.bounces_halted" | "provider.anomaly_cleared" | "sending_domain.created" | "sending_domain.updated" | "sending_domain.checked" | "sending_domain.records_written" | "sending_domain.deleted" | "topic.created" | "topic.updated" | "topic.deleted" | "template.created" | "template.updated" | "template.deleted" | "template.inputs_declared" | "saved_section.created" | "saved_section.updated" | "saved_section.deleted" | "asset.uploaded" | "asset.imported" | "contact.erased" | "suppression.created" | "suppression.deleted" | "mailing.created" | "mailing.sent" | "mailing.paused" | "mailing.resumed" | "mailing.cancelled" | "mailing.deleted" | "mailing.retried" | "webhook.created" | "webhook.updated" | "webhook.deleted" | "webhook.secret_rotated" | "webhook.redelivered" | "contact.unsubscribed" | "tag.created" | "tag.deleted" | "tag.assigned" | "tag.unassigned" | "contact_property.created" | "contact_property.deleted" | "segment.created" | "segment.updated" | "segment.deleted" | "signup_form.created" | "signup_form.updated" | "signup_form.deleted" | "contact.subscribed" | "import.created" | "import.mapped" | "import.committed" | "import.cancelled" | "import.finished" | "mailing.scheduled" | "mailing.unscheduled" | "mailing.schedule_failed" | "mailing.ab_test_updated" | "mailing.ab_winner_selected" | "tracking.updated" | "billing.checkout_started" | "billing.subscription_changed" | "billing.exemption_changed" | "billing.extra_sending_domains_changed" | "automation.created" | "automation.updated" | "automation.published" | "automation.paused" | "automation.resumed" | "automation.archived" | "automation.deleted" | "automation.duplicated" | "automation.enrolled" | "automation.run_ended" | "event.recorded" | undefined;
|
|
1202
1202
|
target_id?: string | undefined;
|
|
1203
1203
|
}>;
|
|
1204
1204
|
type AuditQuery = z.infer<typeof AuditQuery>;
|
|
@@ -10272,6 +10272,16 @@ declare const SendingDomainRecord: z.ZodObject<{
|
|
|
10272
10272
|
priority?: number | undefined;
|
|
10273
10273
|
}>;
|
|
10274
10274
|
type SendingDomainRecord = z.infer<typeof SendingDomainRecord>;
|
|
10275
|
+
/**
|
|
10276
|
+
* A record's full name. Resend names a record relative to the registered
|
|
10277
|
+
* domain, not to the sending domain: on example.com the return path is `send`,
|
|
10278
|
+
* on news.example.com it is `send.news` (checked against Resend on
|
|
10279
|
+
* 2026-10-22). So the labels the name ends with that the sending domain starts
|
|
10280
|
+
* with are the subdomain part, and the rest of the sending domain completes it:
|
|
10281
|
+
* `send.news` on news.example.com is send.news.example.com, never
|
|
10282
|
+
* send.news.news.example.com. `@` or an empty name is the domain itself.
|
|
10283
|
+
*/
|
|
10284
|
+
declare function sendingDomainRecordFullName(domain: string, name: string): string;
|
|
10275
10285
|
/**
|
|
10276
10286
|
* A managed sending domain as read.
|
|
10277
10287
|
* - `records`: what to set at the domain's DNS host, each with Resend's own
|
|
@@ -10368,7 +10378,12 @@ declare const SendingDomain: z.ZodObject<{
|
|
|
10368
10378
|
verified_at: string | null;
|
|
10369
10379
|
}>;
|
|
10370
10380
|
type SendingDomain = z.infer<typeof SendingDomain>;
|
|
10371
|
-
/**
|
|
10381
|
+
/**
|
|
10382
|
+
* Adding a domain: the domain and the sender mail goes out as. The service
|
|
10383
|
+
* writes the records itself when the domain's zone is one Lumitra Mail manages
|
|
10384
|
+
* for the workspace's company (`dns_mode` then reads `managed`); otherwise the
|
|
10385
|
+
* customer sets them.
|
|
10386
|
+
*/
|
|
10372
10387
|
declare const SendingDomainCreate: z.ZodEffects<z.ZodObject<{
|
|
10373
10388
|
from_name: z.ZodString;
|
|
10374
10389
|
from_email: z.ZodString;
|
|
@@ -30400,23 +30415,23 @@ declare const foundationRoutes: {
|
|
|
30400
30415
|
cursor: z.ZodOptional<z.ZodString>;
|
|
30401
30416
|
limit: z.ZodOptional<z.ZodNumber>;
|
|
30402
30417
|
} & {
|
|
30403
|
-
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.deleted", "topic.created", "topic.updated", "topic.deleted", "template.created", "template.updated", "template.deleted", "template.inputs_declared", "saved_section.created", "saved_section.updated", "saved_section.deleted", "asset.uploaded", "asset.imported", "contact.erased", "suppression.created", "suppression.deleted", "mailing.created", "mailing.sent", "mailing.paused", "mailing.resumed", "mailing.cancelled", "mailing.deleted", "mailing.retried", "webhook.created", "webhook.updated", "webhook.deleted", "webhook.secret_rotated", "webhook.redelivered", "contact.unsubscribed", "tag.created", "tag.deleted", "tag.assigned", "tag.unassigned", "contact_property.created", "contact_property.deleted", "segment.created", "segment.updated", "segment.deleted", "signup_form.created", "signup_form.updated", "signup_form.deleted", "contact.subscribed", "import.created", "import.mapped", "import.committed", "import.cancelled", "import.finished", "mailing.scheduled", "mailing.unscheduled", "mailing.schedule_failed", "mailing.ab_test_updated", "mailing.ab_winner_selected", "tracking.updated", "billing.checkout_started", "billing.subscription_changed", "billing.exemption_changed", "billing.extra_sending_domains_changed", "automation.created", "automation.updated", "automation.published", "automation.paused", "automation.resumed", "automation.archived", "automation.deleted", "automation.duplicated", "automation.enrolled", "automation.run_ended", "event.recorded"]>>;
|
|
30418
|
+
action: z.ZodOptional<z.ZodEnum<["workspace.created", "workspace.updated", "workspace.company_changed", "member.added", "member.role_changed", "member.removed", "member.invited", "invite.revoked", "api_key.created", "api_key.revoked", "provider.created", "provider.updated", "provider.deleted", "provider.events_registered", "provider.events_secret_set", "provider.bounces_halted", "provider.anomaly_cleared", "sending_domain.created", "sending_domain.updated", "sending_domain.checked", "sending_domain.records_written", "sending_domain.deleted", "topic.created", "topic.updated", "topic.deleted", "template.created", "template.updated", "template.deleted", "template.inputs_declared", "saved_section.created", "saved_section.updated", "saved_section.deleted", "asset.uploaded", "asset.imported", "contact.erased", "suppression.created", "suppression.deleted", "mailing.created", "mailing.sent", "mailing.paused", "mailing.resumed", "mailing.cancelled", "mailing.deleted", "mailing.retried", "webhook.created", "webhook.updated", "webhook.deleted", "webhook.secret_rotated", "webhook.redelivered", "contact.unsubscribed", "tag.created", "tag.deleted", "tag.assigned", "tag.unassigned", "contact_property.created", "contact_property.deleted", "segment.created", "segment.updated", "segment.deleted", "signup_form.created", "signup_form.updated", "signup_form.deleted", "contact.subscribed", "import.created", "import.mapped", "import.committed", "import.cancelled", "import.finished", "mailing.scheduled", "mailing.unscheduled", "mailing.schedule_failed", "mailing.ab_test_updated", "mailing.ab_winner_selected", "tracking.updated", "billing.checkout_started", "billing.subscription_changed", "billing.exemption_changed", "billing.extra_sending_domains_changed", "automation.created", "automation.updated", "automation.published", "automation.paused", "automation.resumed", "automation.archived", "automation.deleted", "automation.duplicated", "automation.enrolled", "automation.run_ended", "event.recorded"]>>;
|
|
30404
30419
|
target_id: z.ZodOptional<z.ZodString>;
|
|
30405
30420
|
}, "strip", z.ZodTypeAny, {
|
|
30406
30421
|
cursor?: string | undefined;
|
|
30407
30422
|
limit?: number | undefined;
|
|
30408
|
-
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.deleted" | "topic.created" | "topic.updated" | "topic.deleted" | "template.created" | "template.updated" | "template.deleted" | "template.inputs_declared" | "saved_section.created" | "saved_section.updated" | "saved_section.deleted" | "asset.uploaded" | "asset.imported" | "contact.erased" | "suppression.created" | "suppression.deleted" | "mailing.created" | "mailing.sent" | "mailing.paused" | "mailing.resumed" | "mailing.cancelled" | "mailing.deleted" | "mailing.retried" | "webhook.created" | "webhook.updated" | "webhook.deleted" | "webhook.secret_rotated" | "webhook.redelivered" | "contact.unsubscribed" | "tag.created" | "tag.deleted" | "tag.assigned" | "tag.unassigned" | "contact_property.created" | "contact_property.deleted" | "segment.created" | "segment.updated" | "segment.deleted" | "signup_form.created" | "signup_form.updated" | "signup_form.deleted" | "contact.subscribed" | "import.created" | "import.mapped" | "import.committed" | "import.cancelled" | "import.finished" | "mailing.scheduled" | "mailing.unscheduled" | "mailing.schedule_failed" | "mailing.ab_test_updated" | "mailing.ab_winner_selected" | "tracking.updated" | "billing.checkout_started" | "billing.subscription_changed" | "billing.exemption_changed" | "billing.extra_sending_domains_changed" | "automation.created" | "automation.updated" | "automation.published" | "automation.paused" | "automation.resumed" | "automation.archived" | "automation.deleted" | "automation.duplicated" | "automation.enrolled" | "automation.run_ended" | "event.recorded" | undefined;
|
|
30423
|
+
action?: "workspace.created" | "workspace.updated" | "workspace.company_changed" | "member.added" | "member.role_changed" | "member.removed" | "member.invited" | "invite.revoked" | "api_key.created" | "api_key.revoked" | "provider.created" | "provider.updated" | "provider.deleted" | "provider.events_registered" | "provider.events_secret_set" | "provider.bounces_halted" | "provider.anomaly_cleared" | "sending_domain.created" | "sending_domain.updated" | "sending_domain.checked" | "sending_domain.records_written" | "sending_domain.deleted" | "topic.created" | "topic.updated" | "topic.deleted" | "template.created" | "template.updated" | "template.deleted" | "template.inputs_declared" | "saved_section.created" | "saved_section.updated" | "saved_section.deleted" | "asset.uploaded" | "asset.imported" | "contact.erased" | "suppression.created" | "suppression.deleted" | "mailing.created" | "mailing.sent" | "mailing.paused" | "mailing.resumed" | "mailing.cancelled" | "mailing.deleted" | "mailing.retried" | "webhook.created" | "webhook.updated" | "webhook.deleted" | "webhook.secret_rotated" | "webhook.redelivered" | "contact.unsubscribed" | "tag.created" | "tag.deleted" | "tag.assigned" | "tag.unassigned" | "contact_property.created" | "contact_property.deleted" | "segment.created" | "segment.updated" | "segment.deleted" | "signup_form.created" | "signup_form.updated" | "signup_form.deleted" | "contact.subscribed" | "import.created" | "import.mapped" | "import.committed" | "import.cancelled" | "import.finished" | "mailing.scheduled" | "mailing.unscheduled" | "mailing.schedule_failed" | "mailing.ab_test_updated" | "mailing.ab_winner_selected" | "tracking.updated" | "billing.checkout_started" | "billing.subscription_changed" | "billing.exemption_changed" | "billing.extra_sending_domains_changed" | "automation.created" | "automation.updated" | "automation.published" | "automation.paused" | "automation.resumed" | "automation.archived" | "automation.deleted" | "automation.duplicated" | "automation.enrolled" | "automation.run_ended" | "event.recorded" | undefined;
|
|
30409
30424
|
target_id?: string | undefined;
|
|
30410
30425
|
}, {
|
|
30411
30426
|
cursor?: string | undefined;
|
|
30412
30427
|
limit?: number | undefined;
|
|
30413
|
-
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.deleted" | "topic.created" | "topic.updated" | "topic.deleted" | "template.created" | "template.updated" | "template.deleted" | "template.inputs_declared" | "saved_section.created" | "saved_section.updated" | "saved_section.deleted" | "asset.uploaded" | "asset.imported" | "contact.erased" | "suppression.created" | "suppression.deleted" | "mailing.created" | "mailing.sent" | "mailing.paused" | "mailing.resumed" | "mailing.cancelled" | "mailing.deleted" | "mailing.retried" | "webhook.created" | "webhook.updated" | "webhook.deleted" | "webhook.secret_rotated" | "webhook.redelivered" | "contact.unsubscribed" | "tag.created" | "tag.deleted" | "tag.assigned" | "tag.unassigned" | "contact_property.created" | "contact_property.deleted" | "segment.created" | "segment.updated" | "segment.deleted" | "signup_form.created" | "signup_form.updated" | "signup_form.deleted" | "contact.subscribed" | "import.created" | "import.mapped" | "import.committed" | "import.cancelled" | "import.finished" | "mailing.scheduled" | "mailing.unscheduled" | "mailing.schedule_failed" | "mailing.ab_test_updated" | "mailing.ab_winner_selected" | "tracking.updated" | "billing.checkout_started" | "billing.subscription_changed" | "billing.exemption_changed" | "billing.extra_sending_domains_changed" | "automation.created" | "automation.updated" | "automation.published" | "automation.paused" | "automation.resumed" | "automation.archived" | "automation.deleted" | "automation.duplicated" | "automation.enrolled" | "automation.run_ended" | "event.recorded" | undefined;
|
|
30428
|
+
action?: "workspace.created" | "workspace.updated" | "workspace.company_changed" | "member.added" | "member.role_changed" | "member.removed" | "member.invited" | "invite.revoked" | "api_key.created" | "api_key.revoked" | "provider.created" | "provider.updated" | "provider.deleted" | "provider.events_registered" | "provider.events_secret_set" | "provider.bounces_halted" | "provider.anomaly_cleared" | "sending_domain.created" | "sending_domain.updated" | "sending_domain.checked" | "sending_domain.records_written" | "sending_domain.deleted" | "topic.created" | "topic.updated" | "topic.deleted" | "template.created" | "template.updated" | "template.deleted" | "template.inputs_declared" | "saved_section.created" | "saved_section.updated" | "saved_section.deleted" | "asset.uploaded" | "asset.imported" | "contact.erased" | "suppression.created" | "suppression.deleted" | "mailing.created" | "mailing.sent" | "mailing.paused" | "mailing.resumed" | "mailing.cancelled" | "mailing.deleted" | "mailing.retried" | "webhook.created" | "webhook.updated" | "webhook.deleted" | "webhook.secret_rotated" | "webhook.redelivered" | "contact.unsubscribed" | "tag.created" | "tag.deleted" | "tag.assigned" | "tag.unassigned" | "contact_property.created" | "contact_property.deleted" | "segment.created" | "segment.updated" | "segment.deleted" | "signup_form.created" | "signup_form.updated" | "signup_form.deleted" | "contact.subscribed" | "import.created" | "import.mapped" | "import.committed" | "import.cancelled" | "import.finished" | "mailing.scheduled" | "mailing.unscheduled" | "mailing.schedule_failed" | "mailing.ab_test_updated" | "mailing.ab_winner_selected" | "tracking.updated" | "billing.checkout_started" | "billing.subscription_changed" | "billing.exemption_changed" | "billing.extra_sending_domains_changed" | "automation.created" | "automation.updated" | "automation.published" | "automation.paused" | "automation.resumed" | "automation.archived" | "automation.deleted" | "automation.duplicated" | "automation.enrolled" | "automation.run_ended" | "event.recorded" | undefined;
|
|
30414
30429
|
target_id?: string | undefined;
|
|
30415
30430
|
}>;
|
|
30416
30431
|
readonly response: z.ZodObject<{
|
|
30417
30432
|
data: z.ZodArray<z.ZodObject<{
|
|
30418
30433
|
id: z.ZodString;
|
|
30419
|
-
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.deleted", "topic.created", "topic.updated", "topic.deleted", "template.created", "template.updated", "template.deleted", "template.inputs_declared", "saved_section.created", "saved_section.updated", "saved_section.deleted", "asset.uploaded", "asset.imported", "contact.erased", "suppression.created", "suppression.deleted", "mailing.created", "mailing.sent", "mailing.paused", "mailing.resumed", "mailing.cancelled", "mailing.deleted", "mailing.retried", "webhook.created", "webhook.updated", "webhook.deleted", "webhook.secret_rotated", "webhook.redelivered", "contact.unsubscribed", "tag.created", "tag.deleted", "tag.assigned", "tag.unassigned", "contact_property.created", "contact_property.deleted", "segment.created", "segment.updated", "segment.deleted", "signup_form.created", "signup_form.updated", "signup_form.deleted", "contact.subscribed", "import.created", "import.mapped", "import.committed", "import.cancelled", "import.finished", "mailing.scheduled", "mailing.unscheduled", "mailing.schedule_failed", "mailing.ab_test_updated", "mailing.ab_winner_selected", "tracking.updated", "billing.checkout_started", "billing.subscription_changed", "billing.exemption_changed", "billing.extra_sending_domains_changed", "automation.created", "automation.updated", "automation.published", "automation.paused", "automation.resumed", "automation.archived", "automation.deleted", "automation.duplicated", "automation.enrolled", "automation.run_ended", "event.recorded"]>;
|
|
30434
|
+
action: z.ZodEnum<["workspace.created", "workspace.updated", "workspace.company_changed", "member.added", "member.role_changed", "member.removed", "member.invited", "invite.revoked", "api_key.created", "api_key.revoked", "provider.created", "provider.updated", "provider.deleted", "provider.events_registered", "provider.events_secret_set", "provider.bounces_halted", "provider.anomaly_cleared", "sending_domain.created", "sending_domain.updated", "sending_domain.checked", "sending_domain.records_written", "sending_domain.deleted", "topic.created", "topic.updated", "topic.deleted", "template.created", "template.updated", "template.deleted", "template.inputs_declared", "saved_section.created", "saved_section.updated", "saved_section.deleted", "asset.uploaded", "asset.imported", "contact.erased", "suppression.created", "suppression.deleted", "mailing.created", "mailing.sent", "mailing.paused", "mailing.resumed", "mailing.cancelled", "mailing.deleted", "mailing.retried", "webhook.created", "webhook.updated", "webhook.deleted", "webhook.secret_rotated", "webhook.redelivered", "contact.unsubscribed", "tag.created", "tag.deleted", "tag.assigned", "tag.unassigned", "contact_property.created", "contact_property.deleted", "segment.created", "segment.updated", "segment.deleted", "signup_form.created", "signup_form.updated", "signup_form.deleted", "contact.subscribed", "import.created", "import.mapped", "import.committed", "import.cancelled", "import.finished", "mailing.scheduled", "mailing.unscheduled", "mailing.schedule_failed", "mailing.ab_test_updated", "mailing.ab_winner_selected", "tracking.updated", "billing.checkout_started", "billing.subscription_changed", "billing.exemption_changed", "billing.extra_sending_domains_changed", "automation.created", "automation.updated", "automation.published", "automation.paused", "automation.resumed", "automation.archived", "automation.deleted", "automation.duplicated", "automation.enrolled", "automation.run_ended", "event.recorded"]>;
|
|
30420
30435
|
actor: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
30421
30436
|
type: z.ZodLiteral<"member">;
|
|
30422
30437
|
member_id: z.ZodString;
|
|
@@ -30462,7 +30477,7 @@ declare const foundationRoutes: {
|
|
|
30462
30477
|
id: string;
|
|
30463
30478
|
details: Record<string, unknown>;
|
|
30464
30479
|
created_at: string;
|
|
30465
|
-
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.deleted" | "topic.created" | "topic.updated" | "topic.deleted" | "template.created" | "template.updated" | "template.deleted" | "template.inputs_declared" | "saved_section.created" | "saved_section.updated" | "saved_section.deleted" | "asset.uploaded" | "asset.imported" | "contact.erased" | "suppression.created" | "suppression.deleted" | "mailing.created" | "mailing.sent" | "mailing.paused" | "mailing.resumed" | "mailing.cancelled" | "mailing.deleted" | "mailing.retried" | "webhook.created" | "webhook.updated" | "webhook.deleted" | "webhook.secret_rotated" | "webhook.redelivered" | "contact.unsubscribed" | "tag.created" | "tag.deleted" | "tag.assigned" | "tag.unassigned" | "contact_property.created" | "contact_property.deleted" | "segment.created" | "segment.updated" | "segment.deleted" | "signup_form.created" | "signup_form.updated" | "signup_form.deleted" | "contact.subscribed" | "import.created" | "import.mapped" | "import.committed" | "import.cancelled" | "import.finished" | "mailing.scheduled" | "mailing.unscheduled" | "mailing.schedule_failed" | "mailing.ab_test_updated" | "mailing.ab_winner_selected" | "tracking.updated" | "billing.checkout_started" | "billing.subscription_changed" | "billing.exemption_changed" | "billing.extra_sending_domains_changed" | "automation.created" | "automation.updated" | "automation.published" | "automation.paused" | "automation.resumed" | "automation.archived" | "automation.deleted" | "automation.duplicated" | "automation.enrolled" | "automation.run_ended" | "event.recorded";
|
|
30480
|
+
action: "workspace.created" | "workspace.updated" | "workspace.company_changed" | "member.added" | "member.role_changed" | "member.removed" | "member.invited" | "invite.revoked" | "api_key.created" | "api_key.revoked" | "provider.created" | "provider.updated" | "provider.deleted" | "provider.events_registered" | "provider.events_secret_set" | "provider.bounces_halted" | "provider.anomaly_cleared" | "sending_domain.created" | "sending_domain.updated" | "sending_domain.checked" | "sending_domain.records_written" | "sending_domain.deleted" | "topic.created" | "topic.updated" | "topic.deleted" | "template.created" | "template.updated" | "template.deleted" | "template.inputs_declared" | "saved_section.created" | "saved_section.updated" | "saved_section.deleted" | "asset.uploaded" | "asset.imported" | "contact.erased" | "suppression.created" | "suppression.deleted" | "mailing.created" | "mailing.sent" | "mailing.paused" | "mailing.resumed" | "mailing.cancelled" | "mailing.deleted" | "mailing.retried" | "webhook.created" | "webhook.updated" | "webhook.deleted" | "webhook.secret_rotated" | "webhook.redelivered" | "contact.unsubscribed" | "tag.created" | "tag.deleted" | "tag.assigned" | "tag.unassigned" | "contact_property.created" | "contact_property.deleted" | "segment.created" | "segment.updated" | "segment.deleted" | "signup_form.created" | "signup_form.updated" | "signup_form.deleted" | "contact.subscribed" | "import.created" | "import.mapped" | "import.committed" | "import.cancelled" | "import.finished" | "mailing.scheduled" | "mailing.unscheduled" | "mailing.schedule_failed" | "mailing.ab_test_updated" | "mailing.ab_winner_selected" | "tracking.updated" | "billing.checkout_started" | "billing.subscription_changed" | "billing.exemption_changed" | "billing.extra_sending_domains_changed" | "automation.created" | "automation.updated" | "automation.published" | "automation.paused" | "automation.resumed" | "automation.archived" | "automation.deleted" | "automation.duplicated" | "automation.enrolled" | "automation.run_ended" | "event.recorded";
|
|
30466
30481
|
actor: {
|
|
30467
30482
|
type: "member";
|
|
30468
30483
|
subject: string;
|
|
@@ -30482,7 +30497,7 @@ declare const foundationRoutes: {
|
|
|
30482
30497
|
id: string;
|
|
30483
30498
|
details: Record<string, unknown>;
|
|
30484
30499
|
created_at: string;
|
|
30485
|
-
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.deleted" | "topic.created" | "topic.updated" | "topic.deleted" | "template.created" | "template.updated" | "template.deleted" | "template.inputs_declared" | "saved_section.created" | "saved_section.updated" | "saved_section.deleted" | "asset.uploaded" | "asset.imported" | "contact.erased" | "suppression.created" | "suppression.deleted" | "mailing.created" | "mailing.sent" | "mailing.paused" | "mailing.resumed" | "mailing.cancelled" | "mailing.deleted" | "mailing.retried" | "webhook.created" | "webhook.updated" | "webhook.deleted" | "webhook.secret_rotated" | "webhook.redelivered" | "contact.unsubscribed" | "tag.created" | "tag.deleted" | "tag.assigned" | "tag.unassigned" | "contact_property.created" | "contact_property.deleted" | "segment.created" | "segment.updated" | "segment.deleted" | "signup_form.created" | "signup_form.updated" | "signup_form.deleted" | "contact.subscribed" | "import.created" | "import.mapped" | "import.committed" | "import.cancelled" | "import.finished" | "mailing.scheduled" | "mailing.unscheduled" | "mailing.schedule_failed" | "mailing.ab_test_updated" | "mailing.ab_winner_selected" | "tracking.updated" | "billing.checkout_started" | "billing.subscription_changed" | "billing.exemption_changed" | "billing.extra_sending_domains_changed" | "automation.created" | "automation.updated" | "automation.published" | "automation.paused" | "automation.resumed" | "automation.archived" | "automation.deleted" | "automation.duplicated" | "automation.enrolled" | "automation.run_ended" | "event.recorded";
|
|
30500
|
+
action: "workspace.created" | "workspace.updated" | "workspace.company_changed" | "member.added" | "member.role_changed" | "member.removed" | "member.invited" | "invite.revoked" | "api_key.created" | "api_key.revoked" | "provider.created" | "provider.updated" | "provider.deleted" | "provider.events_registered" | "provider.events_secret_set" | "provider.bounces_halted" | "provider.anomaly_cleared" | "sending_domain.created" | "sending_domain.updated" | "sending_domain.checked" | "sending_domain.records_written" | "sending_domain.deleted" | "topic.created" | "topic.updated" | "topic.deleted" | "template.created" | "template.updated" | "template.deleted" | "template.inputs_declared" | "saved_section.created" | "saved_section.updated" | "saved_section.deleted" | "asset.uploaded" | "asset.imported" | "contact.erased" | "suppression.created" | "suppression.deleted" | "mailing.created" | "mailing.sent" | "mailing.paused" | "mailing.resumed" | "mailing.cancelled" | "mailing.deleted" | "mailing.retried" | "webhook.created" | "webhook.updated" | "webhook.deleted" | "webhook.secret_rotated" | "webhook.redelivered" | "contact.unsubscribed" | "tag.created" | "tag.deleted" | "tag.assigned" | "tag.unassigned" | "contact_property.created" | "contact_property.deleted" | "segment.created" | "segment.updated" | "segment.deleted" | "signup_form.created" | "signup_form.updated" | "signup_form.deleted" | "contact.subscribed" | "import.created" | "import.mapped" | "import.committed" | "import.cancelled" | "import.finished" | "mailing.scheduled" | "mailing.unscheduled" | "mailing.schedule_failed" | "mailing.ab_test_updated" | "mailing.ab_winner_selected" | "tracking.updated" | "billing.checkout_started" | "billing.subscription_changed" | "billing.exemption_changed" | "billing.extra_sending_domains_changed" | "automation.created" | "automation.updated" | "automation.published" | "automation.paused" | "automation.resumed" | "automation.archived" | "automation.deleted" | "automation.duplicated" | "automation.enrolled" | "automation.run_ended" | "event.recorded";
|
|
30486
30501
|
actor: {
|
|
30487
30502
|
type: "member";
|
|
30488
30503
|
subject: string;
|
|
@@ -30505,7 +30520,7 @@ declare const foundationRoutes: {
|
|
|
30505
30520
|
id: string;
|
|
30506
30521
|
details: Record<string, unknown>;
|
|
30507
30522
|
created_at: string;
|
|
30508
|
-
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.deleted" | "topic.created" | "topic.updated" | "topic.deleted" | "template.created" | "template.updated" | "template.deleted" | "template.inputs_declared" | "saved_section.created" | "saved_section.updated" | "saved_section.deleted" | "asset.uploaded" | "asset.imported" | "contact.erased" | "suppression.created" | "suppression.deleted" | "mailing.created" | "mailing.sent" | "mailing.paused" | "mailing.resumed" | "mailing.cancelled" | "mailing.deleted" | "mailing.retried" | "webhook.created" | "webhook.updated" | "webhook.deleted" | "webhook.secret_rotated" | "webhook.redelivered" | "contact.unsubscribed" | "tag.created" | "tag.deleted" | "tag.assigned" | "tag.unassigned" | "contact_property.created" | "contact_property.deleted" | "segment.created" | "segment.updated" | "segment.deleted" | "signup_form.created" | "signup_form.updated" | "signup_form.deleted" | "contact.subscribed" | "import.created" | "import.mapped" | "import.committed" | "import.cancelled" | "import.finished" | "mailing.scheduled" | "mailing.unscheduled" | "mailing.schedule_failed" | "mailing.ab_test_updated" | "mailing.ab_winner_selected" | "tracking.updated" | "billing.checkout_started" | "billing.subscription_changed" | "billing.exemption_changed" | "billing.extra_sending_domains_changed" | "automation.created" | "automation.updated" | "automation.published" | "automation.paused" | "automation.resumed" | "automation.archived" | "automation.deleted" | "automation.duplicated" | "automation.enrolled" | "automation.run_ended" | "event.recorded";
|
|
30523
|
+
action: "workspace.created" | "workspace.updated" | "workspace.company_changed" | "member.added" | "member.role_changed" | "member.removed" | "member.invited" | "invite.revoked" | "api_key.created" | "api_key.revoked" | "provider.created" | "provider.updated" | "provider.deleted" | "provider.events_registered" | "provider.events_secret_set" | "provider.bounces_halted" | "provider.anomaly_cleared" | "sending_domain.created" | "sending_domain.updated" | "sending_domain.checked" | "sending_domain.records_written" | "sending_domain.deleted" | "topic.created" | "topic.updated" | "topic.deleted" | "template.created" | "template.updated" | "template.deleted" | "template.inputs_declared" | "saved_section.created" | "saved_section.updated" | "saved_section.deleted" | "asset.uploaded" | "asset.imported" | "contact.erased" | "suppression.created" | "suppression.deleted" | "mailing.created" | "mailing.sent" | "mailing.paused" | "mailing.resumed" | "mailing.cancelled" | "mailing.deleted" | "mailing.retried" | "webhook.created" | "webhook.updated" | "webhook.deleted" | "webhook.secret_rotated" | "webhook.redelivered" | "contact.unsubscribed" | "tag.created" | "tag.deleted" | "tag.assigned" | "tag.unassigned" | "contact_property.created" | "contact_property.deleted" | "segment.created" | "segment.updated" | "segment.deleted" | "signup_form.created" | "signup_form.updated" | "signup_form.deleted" | "contact.subscribed" | "import.created" | "import.mapped" | "import.committed" | "import.cancelled" | "import.finished" | "mailing.scheduled" | "mailing.unscheduled" | "mailing.schedule_failed" | "mailing.ab_test_updated" | "mailing.ab_winner_selected" | "tracking.updated" | "billing.checkout_started" | "billing.subscription_changed" | "billing.exemption_changed" | "billing.extra_sending_domains_changed" | "automation.created" | "automation.updated" | "automation.published" | "automation.paused" | "automation.resumed" | "automation.archived" | "automation.deleted" | "automation.duplicated" | "automation.enrolled" | "automation.run_ended" | "event.recorded";
|
|
30509
30524
|
actor: {
|
|
30510
30525
|
type: "member";
|
|
30511
30526
|
subject: string;
|
|
@@ -30528,7 +30543,7 @@ declare const foundationRoutes: {
|
|
|
30528
30543
|
id: string;
|
|
30529
30544
|
details: Record<string, unknown>;
|
|
30530
30545
|
created_at: string;
|
|
30531
|
-
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.deleted" | "topic.created" | "topic.updated" | "topic.deleted" | "template.created" | "template.updated" | "template.deleted" | "template.inputs_declared" | "saved_section.created" | "saved_section.updated" | "saved_section.deleted" | "asset.uploaded" | "asset.imported" | "contact.erased" | "suppression.created" | "suppression.deleted" | "mailing.created" | "mailing.sent" | "mailing.paused" | "mailing.resumed" | "mailing.cancelled" | "mailing.deleted" | "mailing.retried" | "webhook.created" | "webhook.updated" | "webhook.deleted" | "webhook.secret_rotated" | "webhook.redelivered" | "contact.unsubscribed" | "tag.created" | "tag.deleted" | "tag.assigned" | "tag.unassigned" | "contact_property.created" | "contact_property.deleted" | "segment.created" | "segment.updated" | "segment.deleted" | "signup_form.created" | "signup_form.updated" | "signup_form.deleted" | "contact.subscribed" | "import.created" | "import.mapped" | "import.committed" | "import.cancelled" | "import.finished" | "mailing.scheduled" | "mailing.unscheduled" | "mailing.schedule_failed" | "mailing.ab_test_updated" | "mailing.ab_winner_selected" | "tracking.updated" | "billing.checkout_started" | "billing.subscription_changed" | "billing.exemption_changed" | "billing.extra_sending_domains_changed" | "automation.created" | "automation.updated" | "automation.published" | "automation.paused" | "automation.resumed" | "automation.archived" | "automation.deleted" | "automation.duplicated" | "automation.enrolled" | "automation.run_ended" | "event.recorded";
|
|
30546
|
+
action: "workspace.created" | "workspace.updated" | "workspace.company_changed" | "member.added" | "member.role_changed" | "member.removed" | "member.invited" | "invite.revoked" | "api_key.created" | "api_key.revoked" | "provider.created" | "provider.updated" | "provider.deleted" | "provider.events_registered" | "provider.events_secret_set" | "provider.bounces_halted" | "provider.anomaly_cleared" | "sending_domain.created" | "sending_domain.updated" | "sending_domain.checked" | "sending_domain.records_written" | "sending_domain.deleted" | "topic.created" | "topic.updated" | "topic.deleted" | "template.created" | "template.updated" | "template.deleted" | "template.inputs_declared" | "saved_section.created" | "saved_section.updated" | "saved_section.deleted" | "asset.uploaded" | "asset.imported" | "contact.erased" | "suppression.created" | "suppression.deleted" | "mailing.created" | "mailing.sent" | "mailing.paused" | "mailing.resumed" | "mailing.cancelled" | "mailing.deleted" | "mailing.retried" | "webhook.created" | "webhook.updated" | "webhook.deleted" | "webhook.secret_rotated" | "webhook.redelivered" | "contact.unsubscribed" | "tag.created" | "tag.deleted" | "tag.assigned" | "tag.unassigned" | "contact_property.created" | "contact_property.deleted" | "segment.created" | "segment.updated" | "segment.deleted" | "signup_form.created" | "signup_form.updated" | "signup_form.deleted" | "contact.subscribed" | "import.created" | "import.mapped" | "import.committed" | "import.cancelled" | "import.finished" | "mailing.scheduled" | "mailing.unscheduled" | "mailing.schedule_failed" | "mailing.ab_test_updated" | "mailing.ab_winner_selected" | "tracking.updated" | "billing.checkout_started" | "billing.subscription_changed" | "billing.exemption_changed" | "billing.extra_sending_domains_changed" | "automation.created" | "automation.updated" | "automation.published" | "automation.paused" | "automation.resumed" | "automation.archived" | "automation.deleted" | "automation.duplicated" | "automation.enrolled" | "automation.run_ended" | "event.recorded";
|
|
30532
30547
|
actor: {
|
|
30533
30548
|
type: "member";
|
|
30534
30549
|
subject: string;
|
|
@@ -69463,4 +69478,4 @@ declare function matchRoute(method: HttpMethod, pathname: string): {
|
|
|
69463
69478
|
params: Record<string, string>;
|
|
69464
69479
|
} | null;
|
|
69465
69480
|
|
|
69466
|
-
export { AB_TEST_STATUSES, AB_WINNER_METRICS, API_KEY_SCOPES, API_VERSION_PREFIX, ASSET_CONTENT_TYPES, ASSET_POLICIES, ASSET_UPLOAD_FIELD, AUDIT_ACTIONS, AUTHORIZATION_HEADER, AUTOMATION_DATE_TRIGGER_KINDS, AUTOMATION_END_REASONS, AUTOMATION_ENTRY_REFUSALS, AUTOMATION_FILTER_FIELD_OPERATORS, AUTOMATION_FILTER_FIELD_PATTERN, AUTOMATION_ISSUE_CODES, AUTOMATION_STATUSES, AUTOMATION_STEP_KINDS, AUTOMATION_TRIGGER_KINDS, AUTOMATION_WAIT_REASONS, AbTestConfig, AbTestState, AbVariant, AbWinnerRequest, ApiKey, ApiKeyCreate, ApiKeyCreated, ApiKeyScope, Asset, AssetContentType, AssetHost, AssetImport, AssetPolicy, AuditAction, AuditActor, AuditEntry, AuditQuery, Automation, AutomationCounts, AutomationCreate, type AutomationDateTriggerKind, AutomationDuplicateRequest, AutomationEndReason, AutomationEnrollRequest, AutomationEnrollResult, AutomationEnrollment, AutomationEntryRefusal, AutomationExitRunRequest, AutomationFilter, AutomationFilterCondition, AutomationFilterField, AutomationFlow, AutomationIssue, AutomationIssueCode, AutomationJourney, AutomationListQuery, AutomationPublishMove, AutomationPublishRequest, AutomationPublishResult, AutomationReport, AutomationRun, AutomationRunCompletedData, AutomationRunExitedData, AutomationRunFailedData, AutomationRunListQuery, AutomationRunParams, AutomationRunStartedData, AutomationRunStatus, AutomationSettings, AutomationStatus, AutomationStep, AutomationStepExecution, AutomationStepKind, AutomationStepParams, AutomationStepReport, AutomationSummary, AutomationTestEmailRequest, AutomationTrigger, AutomationTriggerKind, AutomationUpdate, AutomationValidateRequest, AutomationValidation, AutomationWaitReason, AutomationWebhookData, AutomationWithFlow, BEARER_PREFIX, BILLING_NOT_CONFIGURED_REASON, BillingAddons, BoundedAutomationFilter, BoundedSegmentFilter, COMPANY_GRANT_ROLES, COMPANY_ROLE_MAX_AGE_HOURS, CONTACT_PROPERTY_TYPES, CatalogPlan, CheckoutRequest, CheckoutSession, CompanyGrantRole, CompanyId, CompileMessage, CompileRequest, CompileResult, ConditionStep, Contact, ContactAutomationListQuery, ContactAutomationRun, ContactBouncedData, ContactErased, ContactListQuery, ContactPropertyDefinition, ContactPropertyKey, ContactPropertyParams, ContactPropertyType, ContactResubscribedData, ContactSubscribedData, ContactTaggedData, ContactUnsubscribedData, ContactUpdatedData, ContactUpsert, ContactUpsertResult, DATE_PASSED_ANSWERS, DEFAULT_INVITE_TTL_DAYS, DEFAULT_PAGE_LIMIT, DOCUMENT_SCHEMA_VERSIONS, DateOnly, DatePassedAnswer, DelayStep, DocumentSchemaVersion, type DraftInsertionProblem, EDITABLE_MAILING_STATUSES, ERROR_CODES, ERROR_STATUS, EXPORT_CONTENT_TYPES, EXPORT_FORMATS, EXPORT_WARNINGS_HEADER, EXPORT_WARNING_COUNT_HEADER, type EditableLanguage, Email, EmailStep, EmailStepLanguage, ErrorBody, type ErrorCode, ErrorCodeSchema, Event, EventCreate, EventListQuery, EventName, ExportFormat, ExtraSendingDomainsUpdate, FILTER_FIELD_OPERATORS, FILTER_OPERATORS, FilterCondition, FilterField, type FilterLeafProblem, FilterOperator, GotoStep, HEALTH_PATH, HOSTED_PAGE_LOCALES, type HttpMethod, ICLOUD_SMTP_POLICY, IDEMPOTENCY_KEY_HEADER, IDEMPOTENCY_KEY_MAX_LENGTH, IDEMPOTENCY_KEY_RETENTION_HOURS, IMPORT_FILE_FIELD, IMPORT_ROW_OUTCOMES, IMPORT_SKIP_REASONS, IMPORT_STATUSES, IMPORT_TERMINAL_STATUSES, INSERTION_PROBLEM_REASONS, INSERTION_TEXT_SLOTS, INVITE_REFUSAL_REASONS, INVITE_STATUSES, Id, IdParams, ImportColumnMapping, ImportCommitRequest, ImportFinishedData, ImportJob, ImportMappingRequest, ImportReport, ImportRow, ImportRowListQuery, ImportRowOutcome, ImportSkipReason, ImportStatus, ImportWarning, ImportedAsset, Insertion, InsertionChoice, InsertionChoiceKey, type InsertionChoiceMade, InsertionChoices, type InsertionEdit, InsertionName, type InsertionProblem, type InsertionProblemReason, InsertionText, Insertions, Invite, InviteAccept, InviteAccepted, InviteCreate, InviteCreated, InviteListQuery, type InviteRefusalReason, InviteStatus, JsonValue, LETTER_ONLY_MERGE_FIELDS, LETTER_RECIPIENT_REFUSAL, LIST_UNSUBSCRIBE_POST_VALUE, LOCALE_TAG_PATTERN, type LanguageDrafts, type LanguageTab, LocaleTag, MAILING_ACTIONS, MAILING_KINDS, MAILING_STATUSES, MAILING_TRANSITIONS, MAX_ALLOWED_ASSET_HOSTS, MAX_ASSET_BYTES, MAX_DELAY_SECONDS, MAX_DOCUMENT_BYTES, MAX_ENGAGEMENT_DAYS, MAX_EXPORT_WARNINGS_HEADER_LENGTH, MAX_EXTRA_SENDING_DOMAINS, MAX_FILTER_DEPTH, MAX_IMPORTED_REMOTE_IMAGES, MAX_IMPORT_BYTES, MAX_IMPORT_ROWS, MAX_IMPORT_URL_LENGTH, MAX_INSERTIONS, MAX_INSERTION_CHOICES, MAX_INSERTION_TEXT_LENGTH, MAX_INVITE_TTL_DAYS, MAX_IN_LIST, MAX_LETTER_RECIPIENTS, MAX_MERGE_DEFAULTS, MAX_MERGE_DEFAULT_LENGTH, MAX_MJML_DEPTH, MAX_MJML_ELEMENTS, MAX_MJML_IMPORT_BYTES, MAX_PAGE_LIMIT, MAX_PREHEADER_LENGTH, MAX_RECIPIENTS_PER_BATCH, MAX_RE_ENTRY_COOLDOWN_SECONDS, MAX_SAVED_SECTIONS, MAX_SPLIT_BRANCHES, MAX_STEPS, MAX_STEP_VISITS, MAX_SUBJECT_LENGTH, MAX_SYNC_COMPANIES, MAX_TEMPLATE_INPUTS, MAX_TEMPLATE_INPUTS_APP_LENGTH, MAX_TEMPLATE_INPUTS_SEEN, MAX_TEMPLATE_INPUT_EXAMPLE_LENGTH, MAX_TEMPLATE_INPUT_LABEL_LENGTH, MAX_TEMPLATE_INPUT_NOTE_LENGTH, MAX_TEMPLATE_INPUT_VALUES, MAX_TEMPLATE_TRANSLATIONS, MAX_TRIGGERS, MEMBER_ROLES, MEMBER_SOURCES, MERGE_FIELD_PATTERN, MESSAGE_OUTCOMES, MIN_SPLIT_BRANCHES, MJML_IMPORT_REFUSALS, Mailing, MailingAbWinnerSelectedData, MailingAction, MailingActionRequest, MailingAnalytics, MailingAudienceFromSegment, MailingCounts, MailingCreate, MailingExportQuery, MailingFinishedData, MailingKind, MailingLanguage, MailingLanguageReport, MailingLanguageStatus, MailingListQuery, MailingMerge, MailingMetadata, MailingResolveRequest, MailingResolveResult, MailingRetryFailedRequest, MailingScheduleFailedData, MailingScheduleRequest, MailingScheduledData, MailingSendRequest, MailingStartedData, MailingStatus, MailingSummary, MailingTestRequest, MailingTestResult, MailingUpdate, Member, MemberCompanySync, MemberCompanySyncResult, MemberCreate, MemberRole, MemberSource, MemberUpdate, MergeDefaultValue, MergeDefaults, MergeFieldName, type MergeFieldUse, type MergeValue, Message, MessageFailedData, MessageListQuery, MessageOutcome, MessageSentData, MessageSummary, MessageValues, type MissingInsertionText, type MjmlImportRefusal, NAME_ON_BROADCAST_REFUSAL, NotifyRecipients, NotifyStep, ON_BEHALF_OF_HEADER, ON_BEHALF_OF_MAX_LENGTH, OffsetDays, Ok, type OperationId, PLAN_FEATURES, PLAN_IDS, PREVIEW_EMPTY, PREVIEW_FILLED, PROVIDER_KINDS, type Page, PageQuery, type Personalization, type Phase, Plan, type PlanFeature, PlanFeatures, PlanId, PlanLimits, PortalRequest, PortalSession, type PreviewControl, Properties, Provider, ProviderCreate, ProviderEvents, ProviderEventsSecret, ProviderKind, ProviderPolicy, ProviderRejections, ProviderUpdate, ProviderUsage, ProviderVerifyResult, QuietHours, RECIPIENT_REJECTIONS, RECIPIENT_STATUSES, REQUEST_ID_HEADER, RESEND_EVENT_TYPES, RESERVED_MERGE_FIELDS, RESOLVE_PROBLEMS, RESOLVE_REJECTIONS, RETRYABLE_ERRORS, RETRY_AFTER_HEADER, RE_ENTRY_MODES, ReEntryMode, Recipient, RecipientBatch, RecipientBatchResult, RecipientInput, RecipientListQuery, RecipientStatus, RemoteImage, type RenamedPlacement, ResendSigningSecret, type ReservedMergeField, ResolveProblem, ResolvedRecipient, ResolvedValue, type RouteAccess, type RouteBody, type RouteDef, type RouteParams, type RouteQuery, type RouteResponse, type Routes, SENDING_DOMAIN_DNS_MODES, SENDING_DOMAIN_REGION, SENDING_DOMAIN_STATUSES, SERVICE_FILLED_MERGE_FIELDS, SIGNUP_FORM_FIELDS, SKIP_REASONS, SMTP_SECURITY, SUBJECT_HEADER, SUPPRESSION_REASONS, type SaveDemotion, SavedSection, SavedSectionBody, SavedSectionCreate, SavedSectionUpdate, Segment, SegmentCreate, SegmentFilter, SegmentPreview, SegmentPreviewRequest, SendingDomain, SendingDomainCreate, SendingDomainDnsMode, SendingDomainName, SendingDomainRecord, SendingDomainStatus, SendingDomainUpdate, SignupForm, SignupFormCreate, SignupFormEmbed, SignupFormTranslation, SignupSubmission, SkipReason, Slug, SplitBranchKey, SplitStep, StepId, type StepTarget, Subscription, Suppression, SuppressionCreate, SuppressionListQuery, SuppressionReason, TEMPLATE_INPUT_KINDS, TEMPLATE_INPUT_PROBLEM_REASONS, TEMPLATE_LANGUAGE_STATUSES, TEMPLATE_SORTS, TEMPLATE_SORT_DEFAULT_ORDER, TERMINAL_MAILING_STATUSES, TRANSACTIONAL_BLOCKING_REASONS, TRANSACTIONAL_NEEDS_LETTER_REFUSAL, TRANSACTIONAL_NEEDS_TEMPLATE_LOCALE_REFUSAL, TRANSACTIONAL_NOT_ALLOWED_REFUSAL, TRANSACTIONAL_UNSUBSCRIBE_URL_REFUSAL, TRUSTED_APPS, TRUSTED_APP_OPERATIONS, Tag, TagAssignment, TagCreate, Template, TemplateCompileRequest, TemplateCreate, TemplateCreatedData, TemplateDeleteQuery, TemplateDeletedData, TemplateDocument, TemplateExportQuery, TemplateImport, TemplateImportPreview, TemplateImportPreviewRequest, TemplateImportResult, TemplateInput, type TemplateInputKind, TemplateInputMap, TemplateInputName, type TemplateInputProblem, type TemplateInputProblemReason, TemplateInputSeen, TemplateInputSource, TemplateInputValue, TemplateInputs, TemplateInputsDeclaration, TemplateInputsDeclared, TemplateInputsSeen, TemplateLanguageStatus, TemplateListQuery, TemplatePreheader, type TemplateSort, TemplateSubject, TemplateSummary, TemplateTranslation, TemplateTranslations, TemplateUpdate, TemplateUpdatedData, TemplateVersion, TemplateVersionParams, TimeOfDay, Timestamp, TimezoneName, Topic, TopicCreate, TopicUpdate, TrackingSettings, TranslationInsertion, TranslationInsertions, TrustedApp, UNSUBSCRIBE_PATH_PREFIX, UNSUBSCRIBE_SOURCES, USAGE_METRICS, USAGE_WARNING_HEADER, USAGE_WARNING_RATIO, UnfilledLink, type UnsubscribeToken, type UnsubscribeTokenClaims, Usage, UsageMetric, UsageWarning, type UsageWarningHeaderEntry, VALUE_LAYERS, type ValidationContext, ValidationIssue, ValueLayer, type ValueSources, VariantAnalytics, type VerifyWebhookInput, WEBHOOK_DELIVERY_STATUSES, WEBHOOK_EVENT_ID_HEADER, WEBHOOK_EVENT_TYPES, WEBHOOK_MAX_ATTEMPTS, WEBHOOK_RETRY_DELAYS_SECONDS, WEBHOOK_SECRET_PREFIX, WEBHOOK_SIGNATURE_HEADER, WEBHOOK_SIGNATURE_VERSION, WEBHOOK_TIMESTAMP_HEADER, WEBHOOK_TOLERANCE_SECONDS, WORKSPACE_HEADER, WebhookDelivery, WebhookDeliveryListQuery, WebhookDeliveryParams, WebhookDeliveryStatus, WebhookEndpoint, WebhookEndpointCreate, WebhookEndpointUpdate, WebhookEndpointWithSecret, WebhookEvent, type WebhookEventOf, WebhookEventType, WebhookStep, WebhookUrl, type WebhookVerifyFailure, type WebhookVerifyResult, Weekday, Workspace, WorkspaceCreate, WorkspaceMembership, WorkspaceMove, WorkspaceSettings, WorkspaceUpdate, acceptsIdempotencyKey, addInsertion, addInsertionChoice, addLanguageDraft, alignTranslationInsertions, alwaysWaits, automationFilterFamily, automationRoutes, billingRoutes, buildPath, buildTemplatePatch, canDeleteMailing, canTransition, canonicalLocale, choiceKeyProblem, chooseInsertion, cycles, defaultPreviewPick, defaultSettings, demoteForSave, demotedBySave, describeMissingTexts, draftDocument, draftInsertionProblems, draftsDirty, draftsFromTemplate, draftsPatch, editInsertionText, editLanguageDraft, editMainInsertionText, editMainInsertions, effectivePreviewPicks, emptyFlow, emptyLinkValues, errorBody, escapeMergeHtml, exportFilename, filterConditions, filterDepth, filterFieldFamily, filterLeafProblem, findMergeFields, formatExportWarningsHeader, formatUsageWarningHeader, foundationRoutes, insertionByProblem, insertionChoices, insertionCoverage, insertionInputs, insertionNameProblem, insertionProblems, insertionRefusalHint, insertionSlotLabel, insertionTextSlots, insertionTokens, insertionValue, inviteRoutes, isDayEntirelyPast, isPublishable, isRetryableError, keepLanguageDocument, languageInsertions, languageName, languageTabs, letterOnlyValues, linkTokens, mainInsertionText, matchLocale, matchRoute, missingInsertionTexts, missingRequiredMergeFields, normalizeChoiceKey, nowSeconds, operationsWithAccess, ownEntry, page, parseExportWarningsHeader, parseUsageWarningHeader, personalizeHtml, personalizeText, placementProblems, platformRoutes, previewControls, previewInsertions, previewPersonalization, primaryLanguage, printedFields, rawMergeValue, reachable, readyWithoutInsertions, readyWithoutSubject, rebaseDrafts, removeInsertion, removeInsertionChoice, removeLanguageDraft, renameInsertion, renameInsertionChecked, renameInsertionChoice, renameInsertionChoiceChecked, renameInsertionEverywhere, renameInsertionPlacements, renameTokenInDocument, renameTokenInText, resolveInsertions, resolveValue, restorePatch, routes, sameJson, sampleMergeValue, saveDemotions, 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 };
|
|
69481
|
+
export { AB_TEST_STATUSES, AB_WINNER_METRICS, API_KEY_SCOPES, API_VERSION_PREFIX, ASSET_CONTENT_TYPES, ASSET_POLICIES, ASSET_UPLOAD_FIELD, AUDIT_ACTIONS, AUTHORIZATION_HEADER, AUTOMATION_DATE_TRIGGER_KINDS, AUTOMATION_END_REASONS, AUTOMATION_ENTRY_REFUSALS, AUTOMATION_FILTER_FIELD_OPERATORS, AUTOMATION_FILTER_FIELD_PATTERN, AUTOMATION_ISSUE_CODES, AUTOMATION_STATUSES, AUTOMATION_STEP_KINDS, AUTOMATION_TRIGGER_KINDS, AUTOMATION_WAIT_REASONS, AbTestConfig, AbTestState, AbVariant, AbWinnerRequest, ApiKey, ApiKeyCreate, ApiKeyCreated, ApiKeyScope, Asset, AssetContentType, AssetHost, AssetImport, AssetPolicy, AuditAction, AuditActor, AuditEntry, AuditQuery, Automation, AutomationCounts, AutomationCreate, type AutomationDateTriggerKind, AutomationDuplicateRequest, AutomationEndReason, AutomationEnrollRequest, AutomationEnrollResult, AutomationEnrollment, AutomationEntryRefusal, AutomationExitRunRequest, AutomationFilter, AutomationFilterCondition, AutomationFilterField, AutomationFlow, AutomationIssue, AutomationIssueCode, AutomationJourney, AutomationListQuery, AutomationPublishMove, AutomationPublishRequest, AutomationPublishResult, AutomationReport, AutomationRun, AutomationRunCompletedData, AutomationRunExitedData, AutomationRunFailedData, AutomationRunListQuery, AutomationRunParams, AutomationRunStartedData, AutomationRunStatus, AutomationSettings, AutomationStatus, AutomationStep, AutomationStepExecution, AutomationStepKind, AutomationStepParams, AutomationStepReport, AutomationSummary, AutomationTestEmailRequest, AutomationTrigger, AutomationTriggerKind, AutomationUpdate, AutomationValidateRequest, AutomationValidation, AutomationWaitReason, AutomationWebhookData, AutomationWithFlow, BEARER_PREFIX, BILLING_NOT_CONFIGURED_REASON, BillingAddons, BoundedAutomationFilter, BoundedSegmentFilter, COMPANY_GRANT_ROLES, COMPANY_ROLE_MAX_AGE_HOURS, CONTACT_PROPERTY_TYPES, CatalogPlan, CheckoutRequest, CheckoutSession, CompanyGrantRole, CompanyId, CompileMessage, CompileRequest, CompileResult, ConditionStep, Contact, ContactAutomationListQuery, ContactAutomationRun, ContactBouncedData, ContactErased, ContactListQuery, ContactPropertyDefinition, ContactPropertyKey, ContactPropertyParams, ContactPropertyType, ContactResubscribedData, ContactSubscribedData, ContactTaggedData, ContactUnsubscribedData, ContactUpdatedData, ContactUpsert, ContactUpsertResult, DATE_PASSED_ANSWERS, DEFAULT_INVITE_TTL_DAYS, DEFAULT_PAGE_LIMIT, DOCUMENT_SCHEMA_VERSIONS, DateOnly, DatePassedAnswer, DelayStep, DocumentSchemaVersion, type DraftInsertionProblem, EDITABLE_MAILING_STATUSES, ERROR_CODES, ERROR_STATUS, EXPORT_CONTENT_TYPES, EXPORT_FORMATS, EXPORT_WARNINGS_HEADER, EXPORT_WARNING_COUNT_HEADER, type EditableLanguage, Email, EmailStep, EmailStepLanguage, ErrorBody, type ErrorCode, ErrorCodeSchema, Event, EventCreate, EventListQuery, EventName, ExportFormat, ExtraSendingDomainsUpdate, FILTER_FIELD_OPERATORS, FILTER_OPERATORS, FilterCondition, FilterField, type FilterLeafProblem, FilterOperator, GotoStep, HEALTH_PATH, HOSTED_PAGE_LOCALES, type HttpMethod, ICLOUD_SMTP_POLICY, IDEMPOTENCY_KEY_HEADER, IDEMPOTENCY_KEY_MAX_LENGTH, IDEMPOTENCY_KEY_RETENTION_HOURS, IMPORT_FILE_FIELD, IMPORT_ROW_OUTCOMES, IMPORT_SKIP_REASONS, IMPORT_STATUSES, IMPORT_TERMINAL_STATUSES, INSERTION_PROBLEM_REASONS, INSERTION_TEXT_SLOTS, INVITE_REFUSAL_REASONS, INVITE_STATUSES, Id, IdParams, ImportColumnMapping, ImportCommitRequest, ImportFinishedData, ImportJob, ImportMappingRequest, ImportReport, ImportRow, ImportRowListQuery, ImportRowOutcome, ImportSkipReason, ImportStatus, ImportWarning, ImportedAsset, Insertion, InsertionChoice, InsertionChoiceKey, type InsertionChoiceMade, InsertionChoices, type InsertionEdit, InsertionName, type InsertionProblem, type InsertionProblemReason, InsertionText, Insertions, Invite, InviteAccept, InviteAccepted, InviteCreate, InviteCreated, InviteListQuery, type InviteRefusalReason, InviteStatus, JsonValue, LETTER_ONLY_MERGE_FIELDS, LETTER_RECIPIENT_REFUSAL, LIST_UNSUBSCRIBE_POST_VALUE, LOCALE_TAG_PATTERN, type LanguageDrafts, type LanguageTab, LocaleTag, MAILING_ACTIONS, MAILING_KINDS, MAILING_STATUSES, MAILING_TRANSITIONS, MAX_ALLOWED_ASSET_HOSTS, MAX_ASSET_BYTES, MAX_DELAY_SECONDS, MAX_DOCUMENT_BYTES, MAX_ENGAGEMENT_DAYS, MAX_EXPORT_WARNINGS_HEADER_LENGTH, MAX_EXTRA_SENDING_DOMAINS, MAX_FILTER_DEPTH, MAX_IMPORTED_REMOTE_IMAGES, MAX_IMPORT_BYTES, MAX_IMPORT_ROWS, MAX_IMPORT_URL_LENGTH, MAX_INSERTIONS, MAX_INSERTION_CHOICES, MAX_INSERTION_TEXT_LENGTH, MAX_INVITE_TTL_DAYS, MAX_IN_LIST, MAX_LETTER_RECIPIENTS, MAX_MERGE_DEFAULTS, MAX_MERGE_DEFAULT_LENGTH, MAX_MJML_DEPTH, MAX_MJML_ELEMENTS, MAX_MJML_IMPORT_BYTES, MAX_PAGE_LIMIT, MAX_PREHEADER_LENGTH, MAX_RECIPIENTS_PER_BATCH, MAX_RE_ENTRY_COOLDOWN_SECONDS, MAX_SAVED_SECTIONS, MAX_SPLIT_BRANCHES, MAX_STEPS, MAX_STEP_VISITS, MAX_SUBJECT_LENGTH, MAX_SYNC_COMPANIES, MAX_TEMPLATE_INPUTS, MAX_TEMPLATE_INPUTS_APP_LENGTH, MAX_TEMPLATE_INPUTS_SEEN, MAX_TEMPLATE_INPUT_EXAMPLE_LENGTH, MAX_TEMPLATE_INPUT_LABEL_LENGTH, MAX_TEMPLATE_INPUT_NOTE_LENGTH, MAX_TEMPLATE_INPUT_VALUES, MAX_TEMPLATE_TRANSLATIONS, MAX_TRIGGERS, MEMBER_ROLES, MEMBER_SOURCES, MERGE_FIELD_PATTERN, MESSAGE_OUTCOMES, MIN_SPLIT_BRANCHES, MJML_IMPORT_REFUSALS, Mailing, MailingAbWinnerSelectedData, MailingAction, MailingActionRequest, MailingAnalytics, MailingAudienceFromSegment, MailingCounts, MailingCreate, MailingExportQuery, MailingFinishedData, MailingKind, MailingLanguage, MailingLanguageReport, MailingLanguageStatus, MailingListQuery, MailingMerge, MailingMetadata, MailingResolveRequest, MailingResolveResult, MailingRetryFailedRequest, MailingScheduleFailedData, MailingScheduleRequest, MailingScheduledData, MailingSendRequest, MailingStartedData, MailingStatus, MailingSummary, MailingTestRequest, MailingTestResult, MailingUpdate, Member, MemberCompanySync, MemberCompanySyncResult, MemberCreate, MemberRole, MemberSource, MemberUpdate, MergeDefaultValue, MergeDefaults, MergeFieldName, type MergeFieldUse, type MergeValue, Message, MessageFailedData, MessageListQuery, MessageOutcome, MessageSentData, MessageSummary, MessageValues, type MissingInsertionText, type MjmlImportRefusal, NAME_ON_BROADCAST_REFUSAL, NotifyRecipients, NotifyStep, ON_BEHALF_OF_HEADER, ON_BEHALF_OF_MAX_LENGTH, OffsetDays, Ok, type OperationId, PLAN_FEATURES, PLAN_IDS, PREVIEW_EMPTY, PREVIEW_FILLED, PROVIDER_KINDS, type Page, PageQuery, type Personalization, type Phase, Plan, type PlanFeature, PlanFeatures, PlanId, PlanLimits, PortalRequest, PortalSession, type PreviewControl, Properties, Provider, ProviderCreate, ProviderEvents, ProviderEventsSecret, ProviderKind, ProviderPolicy, ProviderRejections, ProviderUpdate, ProviderUsage, ProviderVerifyResult, QuietHours, RECIPIENT_REJECTIONS, RECIPIENT_STATUSES, REQUEST_ID_HEADER, RESEND_EVENT_TYPES, RESERVED_MERGE_FIELDS, RESOLVE_PROBLEMS, RESOLVE_REJECTIONS, RETRYABLE_ERRORS, RETRY_AFTER_HEADER, RE_ENTRY_MODES, ReEntryMode, Recipient, RecipientBatch, RecipientBatchResult, RecipientInput, RecipientListQuery, RecipientStatus, RemoteImage, type RenamedPlacement, ResendSigningSecret, type ReservedMergeField, ResolveProblem, ResolvedRecipient, ResolvedValue, type RouteAccess, type RouteBody, type RouteDef, type RouteParams, type RouteQuery, type RouteResponse, type Routes, SENDING_DOMAIN_DNS_MODES, SENDING_DOMAIN_REGION, SENDING_DOMAIN_STATUSES, SERVICE_FILLED_MERGE_FIELDS, SIGNUP_FORM_FIELDS, SKIP_REASONS, SMTP_SECURITY, SUBJECT_HEADER, SUPPRESSION_REASONS, type SaveDemotion, SavedSection, SavedSectionBody, SavedSectionCreate, SavedSectionUpdate, Segment, SegmentCreate, SegmentFilter, SegmentPreview, SegmentPreviewRequest, SendingDomain, SendingDomainCreate, SendingDomainDnsMode, SendingDomainName, SendingDomainRecord, SendingDomainStatus, SendingDomainUpdate, SignupForm, SignupFormCreate, SignupFormEmbed, SignupFormTranslation, SignupSubmission, SkipReason, Slug, SplitBranchKey, SplitStep, StepId, type StepTarget, Subscription, Suppression, SuppressionCreate, SuppressionListQuery, SuppressionReason, TEMPLATE_INPUT_KINDS, TEMPLATE_INPUT_PROBLEM_REASONS, TEMPLATE_LANGUAGE_STATUSES, TEMPLATE_SORTS, TEMPLATE_SORT_DEFAULT_ORDER, TERMINAL_MAILING_STATUSES, TRANSACTIONAL_BLOCKING_REASONS, TRANSACTIONAL_NEEDS_LETTER_REFUSAL, TRANSACTIONAL_NEEDS_TEMPLATE_LOCALE_REFUSAL, TRANSACTIONAL_NOT_ALLOWED_REFUSAL, TRANSACTIONAL_UNSUBSCRIBE_URL_REFUSAL, TRUSTED_APPS, TRUSTED_APP_OPERATIONS, Tag, TagAssignment, TagCreate, Template, TemplateCompileRequest, TemplateCreate, TemplateCreatedData, TemplateDeleteQuery, TemplateDeletedData, TemplateDocument, TemplateExportQuery, TemplateImport, TemplateImportPreview, TemplateImportPreviewRequest, TemplateImportResult, TemplateInput, type TemplateInputKind, TemplateInputMap, TemplateInputName, type TemplateInputProblem, type TemplateInputProblemReason, TemplateInputSeen, TemplateInputSource, TemplateInputValue, TemplateInputs, TemplateInputsDeclaration, TemplateInputsDeclared, TemplateInputsSeen, TemplateLanguageStatus, TemplateListQuery, TemplatePreheader, type TemplateSort, TemplateSubject, TemplateSummary, TemplateTranslation, TemplateTranslations, TemplateUpdate, TemplateUpdatedData, TemplateVersion, TemplateVersionParams, TimeOfDay, Timestamp, TimezoneName, Topic, TopicCreate, TopicUpdate, TrackingSettings, TranslationInsertion, TranslationInsertions, TrustedApp, UNSUBSCRIBE_PATH_PREFIX, UNSUBSCRIBE_SOURCES, USAGE_METRICS, USAGE_WARNING_HEADER, USAGE_WARNING_RATIO, UnfilledLink, type UnsubscribeToken, type UnsubscribeTokenClaims, Usage, UsageMetric, UsageWarning, type UsageWarningHeaderEntry, VALUE_LAYERS, type ValidationContext, ValidationIssue, ValueLayer, type ValueSources, VariantAnalytics, type VerifyWebhookInput, WEBHOOK_DELIVERY_STATUSES, WEBHOOK_EVENT_ID_HEADER, WEBHOOK_EVENT_TYPES, WEBHOOK_MAX_ATTEMPTS, WEBHOOK_RETRY_DELAYS_SECONDS, WEBHOOK_SECRET_PREFIX, WEBHOOK_SIGNATURE_HEADER, WEBHOOK_SIGNATURE_VERSION, WEBHOOK_TIMESTAMP_HEADER, WEBHOOK_TOLERANCE_SECONDS, WORKSPACE_HEADER, WebhookDelivery, WebhookDeliveryListQuery, WebhookDeliveryParams, WebhookDeliveryStatus, WebhookEndpoint, WebhookEndpointCreate, WebhookEndpointUpdate, WebhookEndpointWithSecret, WebhookEvent, type WebhookEventOf, WebhookEventType, WebhookStep, WebhookUrl, type WebhookVerifyFailure, type WebhookVerifyResult, Weekday, Workspace, WorkspaceCreate, WorkspaceMembership, WorkspaceMove, WorkspaceSettings, WorkspaceUpdate, acceptsIdempotencyKey, addInsertion, addInsertionChoice, addLanguageDraft, alignTranslationInsertions, alwaysWaits, automationFilterFamily, automationRoutes, billingRoutes, buildPath, buildTemplatePatch, canDeleteMailing, canTransition, canonicalLocale, choiceKeyProblem, chooseInsertion, cycles, defaultPreviewPick, defaultSettings, demoteForSave, demotedBySave, describeMissingTexts, draftDocument, draftInsertionProblems, draftsDirty, draftsFromTemplate, draftsPatch, editInsertionText, editLanguageDraft, editMainInsertionText, editMainInsertions, effectivePreviewPicks, emptyFlow, emptyLinkValues, errorBody, escapeMergeHtml, exportFilename, filterConditions, filterDepth, filterFieldFamily, filterLeafProblem, findMergeFields, formatExportWarningsHeader, formatUsageWarningHeader, foundationRoutes, insertionByProblem, insertionChoices, insertionCoverage, insertionInputs, insertionNameProblem, insertionProblems, insertionRefusalHint, insertionSlotLabel, insertionTextSlots, insertionTokens, insertionValue, inviteRoutes, isDayEntirelyPast, isPublishable, isRetryableError, keepLanguageDocument, languageInsertions, languageName, languageTabs, letterOnlyValues, linkTokens, mainInsertionText, matchLocale, matchRoute, missingInsertionTexts, missingRequiredMergeFields, normalizeChoiceKey, nowSeconds, operationsWithAccess, ownEntry, page, parseExportWarningsHeader, parseUsageWarningHeader, personalizeHtml, personalizeText, placementProblems, platformRoutes, previewControls, previewInsertions, previewPersonalization, primaryLanguage, printedFields, rawMergeValue, reachable, readyWithoutInsertions, readyWithoutSubject, rebaseDrafts, removeInsertion, removeInsertionChoice, removeLanguageDraft, renameInsertion, renameInsertionChecked, renameInsertionChoice, renameInsertionChoiceChecked, renameInsertionEverywhere, renameInsertionPlacements, renameTokenInDocument, renameTokenInText, resolveInsertions, resolveValue, restorePatch, routes, sameJson, sampleMergeValue, saveDemotions, sendingDomainRecordFullName, sendingRoutes, setInsertionBy, setInsertionFilled, setLanguageStatus, signWebhook, statusForError, stepTargets, storedTemplateLine, stronglyConnected, templateInputDrift, templateInputProblems, templateRoutes, testGroupSize, tightLoops, timingSafeEqualString, translationInsertionProblems, translationTextFromInput, triggerKey, trustedAppMayCall, unknownRefusedInsertions, unplacedInsertions, validateAutomation, valueNames, valuesRead, verifyWebhook };
|
package/dist/index.d.ts
CHANGED
|
@@ -1022,8 +1022,8 @@ declare const ApiKeyCreated: z.ZodObject<{
|
|
|
1022
1022
|
};
|
|
1023
1023
|
}>;
|
|
1024
1024
|
type ApiKeyCreated = z.infer<typeof ApiKeyCreated>;
|
|
1025
|
-
declare const AUDIT_ACTIONS: readonly ["workspace.created", "workspace.updated", "workspace.company_changed", "member.added", "member.role_changed", "member.removed", "member.invited", "invite.revoked", "api_key.created", "api_key.revoked", "provider.created", "provider.updated", "provider.deleted", "provider.events_registered", "provider.events_secret_set", "provider.bounces_halted", "provider.anomaly_cleared", "sending_domain.created", "sending_domain.updated", "sending_domain.checked", "sending_domain.deleted", "topic.created", "topic.updated", "topic.deleted", "template.created", "template.updated", "template.deleted", "template.inputs_declared", "saved_section.created", "saved_section.updated", "saved_section.deleted", "asset.uploaded", "asset.imported", "contact.erased", "suppression.created", "suppression.deleted", "mailing.created", "mailing.sent", "mailing.paused", "mailing.resumed", "mailing.cancelled", "mailing.deleted", "mailing.retried", "webhook.created", "webhook.updated", "webhook.deleted", "webhook.secret_rotated", "webhook.redelivered", "contact.unsubscribed", "tag.created", "tag.deleted", "tag.assigned", "tag.unassigned", "contact_property.created", "contact_property.deleted", "segment.created", "segment.updated", "segment.deleted", "signup_form.created", "signup_form.updated", "signup_form.deleted", "contact.subscribed", "import.created", "import.mapped", "import.committed", "import.cancelled", "import.finished", "mailing.scheduled", "mailing.unscheduled", "mailing.schedule_failed", "mailing.ab_test_updated", "mailing.ab_winner_selected", "tracking.updated", "billing.checkout_started", "billing.subscription_changed", "billing.exemption_changed", "billing.extra_sending_domains_changed", "automation.created", "automation.updated", "automation.published", "automation.paused", "automation.resumed", "automation.archived", "automation.deleted", "automation.duplicated", "automation.enrolled", "automation.run_ended", "event.recorded"];
|
|
1026
|
-
declare const AuditAction: z.ZodEnum<["workspace.created", "workspace.updated", "workspace.company_changed", "member.added", "member.role_changed", "member.removed", "member.invited", "invite.revoked", "api_key.created", "api_key.revoked", "provider.created", "provider.updated", "provider.deleted", "provider.events_registered", "provider.events_secret_set", "provider.bounces_halted", "provider.anomaly_cleared", "sending_domain.created", "sending_domain.updated", "sending_domain.checked", "sending_domain.deleted", "topic.created", "topic.updated", "topic.deleted", "template.created", "template.updated", "template.deleted", "template.inputs_declared", "saved_section.created", "saved_section.updated", "saved_section.deleted", "asset.uploaded", "asset.imported", "contact.erased", "suppression.created", "suppression.deleted", "mailing.created", "mailing.sent", "mailing.paused", "mailing.resumed", "mailing.cancelled", "mailing.deleted", "mailing.retried", "webhook.created", "webhook.updated", "webhook.deleted", "webhook.secret_rotated", "webhook.redelivered", "contact.unsubscribed", "tag.created", "tag.deleted", "tag.assigned", "tag.unassigned", "contact_property.created", "contact_property.deleted", "segment.created", "segment.updated", "segment.deleted", "signup_form.created", "signup_form.updated", "signup_form.deleted", "contact.subscribed", "import.created", "import.mapped", "import.committed", "import.cancelled", "import.finished", "mailing.scheduled", "mailing.unscheduled", "mailing.schedule_failed", "mailing.ab_test_updated", "mailing.ab_winner_selected", "tracking.updated", "billing.checkout_started", "billing.subscription_changed", "billing.exemption_changed", "billing.extra_sending_domains_changed", "automation.created", "automation.updated", "automation.published", "automation.paused", "automation.resumed", "automation.archived", "automation.deleted", "automation.duplicated", "automation.enrolled", "automation.run_ended", "event.recorded"]>;
|
|
1025
|
+
declare const AUDIT_ACTIONS: readonly ["workspace.created", "workspace.updated", "workspace.company_changed", "member.added", "member.role_changed", "member.removed", "member.invited", "invite.revoked", "api_key.created", "api_key.revoked", "provider.created", "provider.updated", "provider.deleted", "provider.events_registered", "provider.events_secret_set", "provider.bounces_halted", "provider.anomaly_cleared", "sending_domain.created", "sending_domain.updated", "sending_domain.checked", "sending_domain.records_written", "sending_domain.deleted", "topic.created", "topic.updated", "topic.deleted", "template.created", "template.updated", "template.deleted", "template.inputs_declared", "saved_section.created", "saved_section.updated", "saved_section.deleted", "asset.uploaded", "asset.imported", "contact.erased", "suppression.created", "suppression.deleted", "mailing.created", "mailing.sent", "mailing.paused", "mailing.resumed", "mailing.cancelled", "mailing.deleted", "mailing.retried", "webhook.created", "webhook.updated", "webhook.deleted", "webhook.secret_rotated", "webhook.redelivered", "contact.unsubscribed", "tag.created", "tag.deleted", "tag.assigned", "tag.unassigned", "contact_property.created", "contact_property.deleted", "segment.created", "segment.updated", "segment.deleted", "signup_form.created", "signup_form.updated", "signup_form.deleted", "contact.subscribed", "import.created", "import.mapped", "import.committed", "import.cancelled", "import.finished", "mailing.scheduled", "mailing.unscheduled", "mailing.schedule_failed", "mailing.ab_test_updated", "mailing.ab_winner_selected", "tracking.updated", "billing.checkout_started", "billing.subscription_changed", "billing.exemption_changed", "billing.extra_sending_domains_changed", "automation.created", "automation.updated", "automation.published", "automation.paused", "automation.resumed", "automation.archived", "automation.deleted", "automation.duplicated", "automation.enrolled", "automation.run_ended", "event.recorded"];
|
|
1026
|
+
declare const AuditAction: z.ZodEnum<["workspace.created", "workspace.updated", "workspace.company_changed", "member.added", "member.role_changed", "member.removed", "member.invited", "invite.revoked", "api_key.created", "api_key.revoked", "provider.created", "provider.updated", "provider.deleted", "provider.events_registered", "provider.events_secret_set", "provider.bounces_halted", "provider.anomaly_cleared", "sending_domain.created", "sending_domain.updated", "sending_domain.checked", "sending_domain.records_written", "sending_domain.deleted", "topic.created", "topic.updated", "topic.deleted", "template.created", "template.updated", "template.deleted", "template.inputs_declared", "saved_section.created", "saved_section.updated", "saved_section.deleted", "asset.uploaded", "asset.imported", "contact.erased", "suppression.created", "suppression.deleted", "mailing.created", "mailing.sent", "mailing.paused", "mailing.resumed", "mailing.cancelled", "mailing.deleted", "mailing.retried", "webhook.created", "webhook.updated", "webhook.deleted", "webhook.secret_rotated", "webhook.redelivered", "contact.unsubscribed", "tag.created", "tag.deleted", "tag.assigned", "tag.unassigned", "contact_property.created", "contact_property.deleted", "segment.created", "segment.updated", "segment.deleted", "signup_form.created", "signup_form.updated", "signup_form.deleted", "contact.subscribed", "import.created", "import.mapped", "import.committed", "import.cancelled", "import.finished", "mailing.scheduled", "mailing.unscheduled", "mailing.schedule_failed", "mailing.ab_test_updated", "mailing.ab_winner_selected", "tracking.updated", "billing.checkout_started", "billing.subscription_changed", "billing.exemption_changed", "billing.extra_sending_domains_changed", "automation.created", "automation.updated", "automation.published", "automation.paused", "automation.resumed", "automation.archived", "automation.deleted", "automation.duplicated", "automation.enrolled", "automation.run_ended", "event.recorded"]>;
|
|
1027
1027
|
type AuditAction = z.infer<typeof AuditAction>;
|
|
1028
1028
|
/**
|
|
1029
1029
|
* The applications, besides the dashboard, that may act for a signed-in person:
|
|
@@ -1090,7 +1090,7 @@ declare const AuditActor: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
1090
1090
|
type AuditActor = z.infer<typeof AuditActor>;
|
|
1091
1091
|
declare const AuditEntry: z.ZodObject<{
|
|
1092
1092
|
id: z.ZodString;
|
|
1093
|
-
action: z.ZodEnum<["workspace.created", "workspace.updated", "workspace.company_changed", "member.added", "member.role_changed", "member.removed", "member.invited", "invite.revoked", "api_key.created", "api_key.revoked", "provider.created", "provider.updated", "provider.deleted", "provider.events_registered", "provider.events_secret_set", "provider.bounces_halted", "provider.anomaly_cleared", "sending_domain.created", "sending_domain.updated", "sending_domain.checked", "sending_domain.deleted", "topic.created", "topic.updated", "topic.deleted", "template.created", "template.updated", "template.deleted", "template.inputs_declared", "saved_section.created", "saved_section.updated", "saved_section.deleted", "asset.uploaded", "asset.imported", "contact.erased", "suppression.created", "suppression.deleted", "mailing.created", "mailing.sent", "mailing.paused", "mailing.resumed", "mailing.cancelled", "mailing.deleted", "mailing.retried", "webhook.created", "webhook.updated", "webhook.deleted", "webhook.secret_rotated", "webhook.redelivered", "contact.unsubscribed", "tag.created", "tag.deleted", "tag.assigned", "tag.unassigned", "contact_property.created", "contact_property.deleted", "segment.created", "segment.updated", "segment.deleted", "signup_form.created", "signup_form.updated", "signup_form.deleted", "contact.subscribed", "import.created", "import.mapped", "import.committed", "import.cancelled", "import.finished", "mailing.scheduled", "mailing.unscheduled", "mailing.schedule_failed", "mailing.ab_test_updated", "mailing.ab_winner_selected", "tracking.updated", "billing.checkout_started", "billing.subscription_changed", "billing.exemption_changed", "billing.extra_sending_domains_changed", "automation.created", "automation.updated", "automation.published", "automation.paused", "automation.resumed", "automation.archived", "automation.deleted", "automation.duplicated", "automation.enrolled", "automation.run_ended", "event.recorded"]>;
|
|
1093
|
+
action: z.ZodEnum<["workspace.created", "workspace.updated", "workspace.company_changed", "member.added", "member.role_changed", "member.removed", "member.invited", "invite.revoked", "api_key.created", "api_key.revoked", "provider.created", "provider.updated", "provider.deleted", "provider.events_registered", "provider.events_secret_set", "provider.bounces_halted", "provider.anomaly_cleared", "sending_domain.created", "sending_domain.updated", "sending_domain.checked", "sending_domain.records_written", "sending_domain.deleted", "topic.created", "topic.updated", "topic.deleted", "template.created", "template.updated", "template.deleted", "template.inputs_declared", "saved_section.created", "saved_section.updated", "saved_section.deleted", "asset.uploaded", "asset.imported", "contact.erased", "suppression.created", "suppression.deleted", "mailing.created", "mailing.sent", "mailing.paused", "mailing.resumed", "mailing.cancelled", "mailing.deleted", "mailing.retried", "webhook.created", "webhook.updated", "webhook.deleted", "webhook.secret_rotated", "webhook.redelivered", "contact.unsubscribed", "tag.created", "tag.deleted", "tag.assigned", "tag.unassigned", "contact_property.created", "contact_property.deleted", "segment.created", "segment.updated", "segment.deleted", "signup_form.created", "signup_form.updated", "signup_form.deleted", "contact.subscribed", "import.created", "import.mapped", "import.committed", "import.cancelled", "import.finished", "mailing.scheduled", "mailing.unscheduled", "mailing.schedule_failed", "mailing.ab_test_updated", "mailing.ab_winner_selected", "tracking.updated", "billing.checkout_started", "billing.subscription_changed", "billing.exemption_changed", "billing.extra_sending_domains_changed", "automation.created", "automation.updated", "automation.published", "automation.paused", "automation.resumed", "automation.archived", "automation.deleted", "automation.duplicated", "automation.enrolled", "automation.run_ended", "event.recorded"]>;
|
|
1094
1094
|
actor: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
1095
1095
|
type: z.ZodLiteral<"member">;
|
|
1096
1096
|
member_id: z.ZodString;
|
|
@@ -1146,7 +1146,7 @@ declare const AuditEntry: z.ZodObject<{
|
|
|
1146
1146
|
id: string;
|
|
1147
1147
|
details: Record<string, unknown>;
|
|
1148
1148
|
created_at: string;
|
|
1149
|
-
action: "workspace.created" | "workspace.updated" | "workspace.company_changed" | "member.added" | "member.role_changed" | "member.removed" | "member.invited" | "invite.revoked" | "api_key.created" | "api_key.revoked" | "provider.created" | "provider.updated" | "provider.deleted" | "provider.events_registered" | "provider.events_secret_set" | "provider.bounces_halted" | "provider.anomaly_cleared" | "sending_domain.created" | "sending_domain.updated" | "sending_domain.checked" | "sending_domain.deleted" | "topic.created" | "topic.updated" | "topic.deleted" | "template.created" | "template.updated" | "template.deleted" | "template.inputs_declared" | "saved_section.created" | "saved_section.updated" | "saved_section.deleted" | "asset.uploaded" | "asset.imported" | "contact.erased" | "suppression.created" | "suppression.deleted" | "mailing.created" | "mailing.sent" | "mailing.paused" | "mailing.resumed" | "mailing.cancelled" | "mailing.deleted" | "mailing.retried" | "webhook.created" | "webhook.updated" | "webhook.deleted" | "webhook.secret_rotated" | "webhook.redelivered" | "contact.unsubscribed" | "tag.created" | "tag.deleted" | "tag.assigned" | "tag.unassigned" | "contact_property.created" | "contact_property.deleted" | "segment.created" | "segment.updated" | "segment.deleted" | "signup_form.created" | "signup_form.updated" | "signup_form.deleted" | "contact.subscribed" | "import.created" | "import.mapped" | "import.committed" | "import.cancelled" | "import.finished" | "mailing.scheduled" | "mailing.unscheduled" | "mailing.schedule_failed" | "mailing.ab_test_updated" | "mailing.ab_winner_selected" | "tracking.updated" | "billing.checkout_started" | "billing.subscription_changed" | "billing.exemption_changed" | "billing.extra_sending_domains_changed" | "automation.created" | "automation.updated" | "automation.published" | "automation.paused" | "automation.resumed" | "automation.archived" | "automation.deleted" | "automation.duplicated" | "automation.enrolled" | "automation.run_ended" | "event.recorded";
|
|
1149
|
+
action: "workspace.created" | "workspace.updated" | "workspace.company_changed" | "member.added" | "member.role_changed" | "member.removed" | "member.invited" | "invite.revoked" | "api_key.created" | "api_key.revoked" | "provider.created" | "provider.updated" | "provider.deleted" | "provider.events_registered" | "provider.events_secret_set" | "provider.bounces_halted" | "provider.anomaly_cleared" | "sending_domain.created" | "sending_domain.updated" | "sending_domain.checked" | "sending_domain.records_written" | "sending_domain.deleted" | "topic.created" | "topic.updated" | "topic.deleted" | "template.created" | "template.updated" | "template.deleted" | "template.inputs_declared" | "saved_section.created" | "saved_section.updated" | "saved_section.deleted" | "asset.uploaded" | "asset.imported" | "contact.erased" | "suppression.created" | "suppression.deleted" | "mailing.created" | "mailing.sent" | "mailing.paused" | "mailing.resumed" | "mailing.cancelled" | "mailing.deleted" | "mailing.retried" | "webhook.created" | "webhook.updated" | "webhook.deleted" | "webhook.secret_rotated" | "webhook.redelivered" | "contact.unsubscribed" | "tag.created" | "tag.deleted" | "tag.assigned" | "tag.unassigned" | "contact_property.created" | "contact_property.deleted" | "segment.created" | "segment.updated" | "segment.deleted" | "signup_form.created" | "signup_form.updated" | "signup_form.deleted" | "contact.subscribed" | "import.created" | "import.mapped" | "import.committed" | "import.cancelled" | "import.finished" | "mailing.scheduled" | "mailing.unscheduled" | "mailing.schedule_failed" | "mailing.ab_test_updated" | "mailing.ab_winner_selected" | "tracking.updated" | "billing.checkout_started" | "billing.subscription_changed" | "billing.exemption_changed" | "billing.extra_sending_domains_changed" | "automation.created" | "automation.updated" | "automation.published" | "automation.paused" | "automation.resumed" | "automation.archived" | "automation.deleted" | "automation.duplicated" | "automation.enrolled" | "automation.run_ended" | "event.recorded";
|
|
1150
1150
|
actor: {
|
|
1151
1151
|
type: "member";
|
|
1152
1152
|
subject: string;
|
|
@@ -1166,7 +1166,7 @@ declare const AuditEntry: z.ZodObject<{
|
|
|
1166
1166
|
id: string;
|
|
1167
1167
|
details: Record<string, unknown>;
|
|
1168
1168
|
created_at: string;
|
|
1169
|
-
action: "workspace.created" | "workspace.updated" | "workspace.company_changed" | "member.added" | "member.role_changed" | "member.removed" | "member.invited" | "invite.revoked" | "api_key.created" | "api_key.revoked" | "provider.created" | "provider.updated" | "provider.deleted" | "provider.events_registered" | "provider.events_secret_set" | "provider.bounces_halted" | "provider.anomaly_cleared" | "sending_domain.created" | "sending_domain.updated" | "sending_domain.checked" | "sending_domain.deleted" | "topic.created" | "topic.updated" | "topic.deleted" | "template.created" | "template.updated" | "template.deleted" | "template.inputs_declared" | "saved_section.created" | "saved_section.updated" | "saved_section.deleted" | "asset.uploaded" | "asset.imported" | "contact.erased" | "suppression.created" | "suppression.deleted" | "mailing.created" | "mailing.sent" | "mailing.paused" | "mailing.resumed" | "mailing.cancelled" | "mailing.deleted" | "mailing.retried" | "webhook.created" | "webhook.updated" | "webhook.deleted" | "webhook.secret_rotated" | "webhook.redelivered" | "contact.unsubscribed" | "tag.created" | "tag.deleted" | "tag.assigned" | "tag.unassigned" | "contact_property.created" | "contact_property.deleted" | "segment.created" | "segment.updated" | "segment.deleted" | "signup_form.created" | "signup_form.updated" | "signup_form.deleted" | "contact.subscribed" | "import.created" | "import.mapped" | "import.committed" | "import.cancelled" | "import.finished" | "mailing.scheduled" | "mailing.unscheduled" | "mailing.schedule_failed" | "mailing.ab_test_updated" | "mailing.ab_winner_selected" | "tracking.updated" | "billing.checkout_started" | "billing.subscription_changed" | "billing.exemption_changed" | "billing.extra_sending_domains_changed" | "automation.created" | "automation.updated" | "automation.published" | "automation.paused" | "automation.resumed" | "automation.archived" | "automation.deleted" | "automation.duplicated" | "automation.enrolled" | "automation.run_ended" | "event.recorded";
|
|
1169
|
+
action: "workspace.created" | "workspace.updated" | "workspace.company_changed" | "member.added" | "member.role_changed" | "member.removed" | "member.invited" | "invite.revoked" | "api_key.created" | "api_key.revoked" | "provider.created" | "provider.updated" | "provider.deleted" | "provider.events_registered" | "provider.events_secret_set" | "provider.bounces_halted" | "provider.anomaly_cleared" | "sending_domain.created" | "sending_domain.updated" | "sending_domain.checked" | "sending_domain.records_written" | "sending_domain.deleted" | "topic.created" | "topic.updated" | "topic.deleted" | "template.created" | "template.updated" | "template.deleted" | "template.inputs_declared" | "saved_section.created" | "saved_section.updated" | "saved_section.deleted" | "asset.uploaded" | "asset.imported" | "contact.erased" | "suppression.created" | "suppression.deleted" | "mailing.created" | "mailing.sent" | "mailing.paused" | "mailing.resumed" | "mailing.cancelled" | "mailing.deleted" | "mailing.retried" | "webhook.created" | "webhook.updated" | "webhook.deleted" | "webhook.secret_rotated" | "webhook.redelivered" | "contact.unsubscribed" | "tag.created" | "tag.deleted" | "tag.assigned" | "tag.unassigned" | "contact_property.created" | "contact_property.deleted" | "segment.created" | "segment.updated" | "segment.deleted" | "signup_form.created" | "signup_form.updated" | "signup_form.deleted" | "contact.subscribed" | "import.created" | "import.mapped" | "import.committed" | "import.cancelled" | "import.finished" | "mailing.scheduled" | "mailing.unscheduled" | "mailing.schedule_failed" | "mailing.ab_test_updated" | "mailing.ab_winner_selected" | "tracking.updated" | "billing.checkout_started" | "billing.subscription_changed" | "billing.exemption_changed" | "billing.extra_sending_domains_changed" | "automation.created" | "automation.updated" | "automation.published" | "automation.paused" | "automation.resumed" | "automation.archived" | "automation.deleted" | "automation.duplicated" | "automation.enrolled" | "automation.run_ended" | "event.recorded";
|
|
1170
1170
|
actor: {
|
|
1171
1171
|
type: "member";
|
|
1172
1172
|
subject: string;
|
|
@@ -1188,17 +1188,17 @@ declare const AuditQuery: z.ZodObject<{
|
|
|
1188
1188
|
cursor: z.ZodOptional<z.ZodString>;
|
|
1189
1189
|
limit: z.ZodOptional<z.ZodNumber>;
|
|
1190
1190
|
} & {
|
|
1191
|
-
action: z.ZodOptional<z.ZodEnum<["workspace.created", "workspace.updated", "workspace.company_changed", "member.added", "member.role_changed", "member.removed", "member.invited", "invite.revoked", "api_key.created", "api_key.revoked", "provider.created", "provider.updated", "provider.deleted", "provider.events_registered", "provider.events_secret_set", "provider.bounces_halted", "provider.anomaly_cleared", "sending_domain.created", "sending_domain.updated", "sending_domain.checked", "sending_domain.deleted", "topic.created", "topic.updated", "topic.deleted", "template.created", "template.updated", "template.deleted", "template.inputs_declared", "saved_section.created", "saved_section.updated", "saved_section.deleted", "asset.uploaded", "asset.imported", "contact.erased", "suppression.created", "suppression.deleted", "mailing.created", "mailing.sent", "mailing.paused", "mailing.resumed", "mailing.cancelled", "mailing.deleted", "mailing.retried", "webhook.created", "webhook.updated", "webhook.deleted", "webhook.secret_rotated", "webhook.redelivered", "contact.unsubscribed", "tag.created", "tag.deleted", "tag.assigned", "tag.unassigned", "contact_property.created", "contact_property.deleted", "segment.created", "segment.updated", "segment.deleted", "signup_form.created", "signup_form.updated", "signup_form.deleted", "contact.subscribed", "import.created", "import.mapped", "import.committed", "import.cancelled", "import.finished", "mailing.scheduled", "mailing.unscheduled", "mailing.schedule_failed", "mailing.ab_test_updated", "mailing.ab_winner_selected", "tracking.updated", "billing.checkout_started", "billing.subscription_changed", "billing.exemption_changed", "billing.extra_sending_domains_changed", "automation.created", "automation.updated", "automation.published", "automation.paused", "automation.resumed", "automation.archived", "automation.deleted", "automation.duplicated", "automation.enrolled", "automation.run_ended", "event.recorded"]>>;
|
|
1191
|
+
action: z.ZodOptional<z.ZodEnum<["workspace.created", "workspace.updated", "workspace.company_changed", "member.added", "member.role_changed", "member.removed", "member.invited", "invite.revoked", "api_key.created", "api_key.revoked", "provider.created", "provider.updated", "provider.deleted", "provider.events_registered", "provider.events_secret_set", "provider.bounces_halted", "provider.anomaly_cleared", "sending_domain.created", "sending_domain.updated", "sending_domain.checked", "sending_domain.records_written", "sending_domain.deleted", "topic.created", "topic.updated", "topic.deleted", "template.created", "template.updated", "template.deleted", "template.inputs_declared", "saved_section.created", "saved_section.updated", "saved_section.deleted", "asset.uploaded", "asset.imported", "contact.erased", "suppression.created", "suppression.deleted", "mailing.created", "mailing.sent", "mailing.paused", "mailing.resumed", "mailing.cancelled", "mailing.deleted", "mailing.retried", "webhook.created", "webhook.updated", "webhook.deleted", "webhook.secret_rotated", "webhook.redelivered", "contact.unsubscribed", "tag.created", "tag.deleted", "tag.assigned", "tag.unassigned", "contact_property.created", "contact_property.deleted", "segment.created", "segment.updated", "segment.deleted", "signup_form.created", "signup_form.updated", "signup_form.deleted", "contact.subscribed", "import.created", "import.mapped", "import.committed", "import.cancelled", "import.finished", "mailing.scheduled", "mailing.unscheduled", "mailing.schedule_failed", "mailing.ab_test_updated", "mailing.ab_winner_selected", "tracking.updated", "billing.checkout_started", "billing.subscription_changed", "billing.exemption_changed", "billing.extra_sending_domains_changed", "automation.created", "automation.updated", "automation.published", "automation.paused", "automation.resumed", "automation.archived", "automation.deleted", "automation.duplicated", "automation.enrolled", "automation.run_ended", "event.recorded"]>>;
|
|
1192
1192
|
target_id: z.ZodOptional<z.ZodString>;
|
|
1193
1193
|
}, "strip", z.ZodTypeAny, {
|
|
1194
1194
|
cursor?: string | undefined;
|
|
1195
1195
|
limit?: number | undefined;
|
|
1196
|
-
action?: "workspace.created" | "workspace.updated" | "workspace.company_changed" | "member.added" | "member.role_changed" | "member.removed" | "member.invited" | "invite.revoked" | "api_key.created" | "api_key.revoked" | "provider.created" | "provider.updated" | "provider.deleted" | "provider.events_registered" | "provider.events_secret_set" | "provider.bounces_halted" | "provider.anomaly_cleared" | "sending_domain.created" | "sending_domain.updated" | "sending_domain.checked" | "sending_domain.deleted" | "topic.created" | "topic.updated" | "topic.deleted" | "template.created" | "template.updated" | "template.deleted" | "template.inputs_declared" | "saved_section.created" | "saved_section.updated" | "saved_section.deleted" | "asset.uploaded" | "asset.imported" | "contact.erased" | "suppression.created" | "suppression.deleted" | "mailing.created" | "mailing.sent" | "mailing.paused" | "mailing.resumed" | "mailing.cancelled" | "mailing.deleted" | "mailing.retried" | "webhook.created" | "webhook.updated" | "webhook.deleted" | "webhook.secret_rotated" | "webhook.redelivered" | "contact.unsubscribed" | "tag.created" | "tag.deleted" | "tag.assigned" | "tag.unassigned" | "contact_property.created" | "contact_property.deleted" | "segment.created" | "segment.updated" | "segment.deleted" | "signup_form.created" | "signup_form.updated" | "signup_form.deleted" | "contact.subscribed" | "import.created" | "import.mapped" | "import.committed" | "import.cancelled" | "import.finished" | "mailing.scheduled" | "mailing.unscheduled" | "mailing.schedule_failed" | "mailing.ab_test_updated" | "mailing.ab_winner_selected" | "tracking.updated" | "billing.checkout_started" | "billing.subscription_changed" | "billing.exemption_changed" | "billing.extra_sending_domains_changed" | "automation.created" | "automation.updated" | "automation.published" | "automation.paused" | "automation.resumed" | "automation.archived" | "automation.deleted" | "automation.duplicated" | "automation.enrolled" | "automation.run_ended" | "event.recorded" | undefined;
|
|
1196
|
+
action?: "workspace.created" | "workspace.updated" | "workspace.company_changed" | "member.added" | "member.role_changed" | "member.removed" | "member.invited" | "invite.revoked" | "api_key.created" | "api_key.revoked" | "provider.created" | "provider.updated" | "provider.deleted" | "provider.events_registered" | "provider.events_secret_set" | "provider.bounces_halted" | "provider.anomaly_cleared" | "sending_domain.created" | "sending_domain.updated" | "sending_domain.checked" | "sending_domain.records_written" | "sending_domain.deleted" | "topic.created" | "topic.updated" | "topic.deleted" | "template.created" | "template.updated" | "template.deleted" | "template.inputs_declared" | "saved_section.created" | "saved_section.updated" | "saved_section.deleted" | "asset.uploaded" | "asset.imported" | "contact.erased" | "suppression.created" | "suppression.deleted" | "mailing.created" | "mailing.sent" | "mailing.paused" | "mailing.resumed" | "mailing.cancelled" | "mailing.deleted" | "mailing.retried" | "webhook.created" | "webhook.updated" | "webhook.deleted" | "webhook.secret_rotated" | "webhook.redelivered" | "contact.unsubscribed" | "tag.created" | "tag.deleted" | "tag.assigned" | "tag.unassigned" | "contact_property.created" | "contact_property.deleted" | "segment.created" | "segment.updated" | "segment.deleted" | "signup_form.created" | "signup_form.updated" | "signup_form.deleted" | "contact.subscribed" | "import.created" | "import.mapped" | "import.committed" | "import.cancelled" | "import.finished" | "mailing.scheduled" | "mailing.unscheduled" | "mailing.schedule_failed" | "mailing.ab_test_updated" | "mailing.ab_winner_selected" | "tracking.updated" | "billing.checkout_started" | "billing.subscription_changed" | "billing.exemption_changed" | "billing.extra_sending_domains_changed" | "automation.created" | "automation.updated" | "automation.published" | "automation.paused" | "automation.resumed" | "automation.archived" | "automation.deleted" | "automation.duplicated" | "automation.enrolled" | "automation.run_ended" | "event.recorded" | undefined;
|
|
1197
1197
|
target_id?: string | undefined;
|
|
1198
1198
|
}, {
|
|
1199
1199
|
cursor?: string | undefined;
|
|
1200
1200
|
limit?: number | undefined;
|
|
1201
|
-
action?: "workspace.created" | "workspace.updated" | "workspace.company_changed" | "member.added" | "member.role_changed" | "member.removed" | "member.invited" | "invite.revoked" | "api_key.created" | "api_key.revoked" | "provider.created" | "provider.updated" | "provider.deleted" | "provider.events_registered" | "provider.events_secret_set" | "provider.bounces_halted" | "provider.anomaly_cleared" | "sending_domain.created" | "sending_domain.updated" | "sending_domain.checked" | "sending_domain.deleted" | "topic.created" | "topic.updated" | "topic.deleted" | "template.created" | "template.updated" | "template.deleted" | "template.inputs_declared" | "saved_section.created" | "saved_section.updated" | "saved_section.deleted" | "asset.uploaded" | "asset.imported" | "contact.erased" | "suppression.created" | "suppression.deleted" | "mailing.created" | "mailing.sent" | "mailing.paused" | "mailing.resumed" | "mailing.cancelled" | "mailing.deleted" | "mailing.retried" | "webhook.created" | "webhook.updated" | "webhook.deleted" | "webhook.secret_rotated" | "webhook.redelivered" | "contact.unsubscribed" | "tag.created" | "tag.deleted" | "tag.assigned" | "tag.unassigned" | "contact_property.created" | "contact_property.deleted" | "segment.created" | "segment.updated" | "segment.deleted" | "signup_form.created" | "signup_form.updated" | "signup_form.deleted" | "contact.subscribed" | "import.created" | "import.mapped" | "import.committed" | "import.cancelled" | "import.finished" | "mailing.scheduled" | "mailing.unscheduled" | "mailing.schedule_failed" | "mailing.ab_test_updated" | "mailing.ab_winner_selected" | "tracking.updated" | "billing.checkout_started" | "billing.subscription_changed" | "billing.exemption_changed" | "billing.extra_sending_domains_changed" | "automation.created" | "automation.updated" | "automation.published" | "automation.paused" | "automation.resumed" | "automation.archived" | "automation.deleted" | "automation.duplicated" | "automation.enrolled" | "automation.run_ended" | "event.recorded" | undefined;
|
|
1201
|
+
action?: "workspace.created" | "workspace.updated" | "workspace.company_changed" | "member.added" | "member.role_changed" | "member.removed" | "member.invited" | "invite.revoked" | "api_key.created" | "api_key.revoked" | "provider.created" | "provider.updated" | "provider.deleted" | "provider.events_registered" | "provider.events_secret_set" | "provider.bounces_halted" | "provider.anomaly_cleared" | "sending_domain.created" | "sending_domain.updated" | "sending_domain.checked" | "sending_domain.records_written" | "sending_domain.deleted" | "topic.created" | "topic.updated" | "topic.deleted" | "template.created" | "template.updated" | "template.deleted" | "template.inputs_declared" | "saved_section.created" | "saved_section.updated" | "saved_section.deleted" | "asset.uploaded" | "asset.imported" | "contact.erased" | "suppression.created" | "suppression.deleted" | "mailing.created" | "mailing.sent" | "mailing.paused" | "mailing.resumed" | "mailing.cancelled" | "mailing.deleted" | "mailing.retried" | "webhook.created" | "webhook.updated" | "webhook.deleted" | "webhook.secret_rotated" | "webhook.redelivered" | "contact.unsubscribed" | "tag.created" | "tag.deleted" | "tag.assigned" | "tag.unassigned" | "contact_property.created" | "contact_property.deleted" | "segment.created" | "segment.updated" | "segment.deleted" | "signup_form.created" | "signup_form.updated" | "signup_form.deleted" | "contact.subscribed" | "import.created" | "import.mapped" | "import.committed" | "import.cancelled" | "import.finished" | "mailing.scheduled" | "mailing.unscheduled" | "mailing.schedule_failed" | "mailing.ab_test_updated" | "mailing.ab_winner_selected" | "tracking.updated" | "billing.checkout_started" | "billing.subscription_changed" | "billing.exemption_changed" | "billing.extra_sending_domains_changed" | "automation.created" | "automation.updated" | "automation.published" | "automation.paused" | "automation.resumed" | "automation.archived" | "automation.deleted" | "automation.duplicated" | "automation.enrolled" | "automation.run_ended" | "event.recorded" | undefined;
|
|
1202
1202
|
target_id?: string | undefined;
|
|
1203
1203
|
}>;
|
|
1204
1204
|
type AuditQuery = z.infer<typeof AuditQuery>;
|
|
@@ -10272,6 +10272,16 @@ declare const SendingDomainRecord: z.ZodObject<{
|
|
|
10272
10272
|
priority?: number | undefined;
|
|
10273
10273
|
}>;
|
|
10274
10274
|
type SendingDomainRecord = z.infer<typeof SendingDomainRecord>;
|
|
10275
|
+
/**
|
|
10276
|
+
* A record's full name. Resend names a record relative to the registered
|
|
10277
|
+
* domain, not to the sending domain: on example.com the return path is `send`,
|
|
10278
|
+
* on news.example.com it is `send.news` (checked against Resend on
|
|
10279
|
+
* 2026-10-22). So the labels the name ends with that the sending domain starts
|
|
10280
|
+
* with are the subdomain part, and the rest of the sending domain completes it:
|
|
10281
|
+
* `send.news` on news.example.com is send.news.example.com, never
|
|
10282
|
+
* send.news.news.example.com. `@` or an empty name is the domain itself.
|
|
10283
|
+
*/
|
|
10284
|
+
declare function sendingDomainRecordFullName(domain: string, name: string): string;
|
|
10275
10285
|
/**
|
|
10276
10286
|
* A managed sending domain as read.
|
|
10277
10287
|
* - `records`: what to set at the domain's DNS host, each with Resend's own
|
|
@@ -10368,7 +10378,12 @@ declare const SendingDomain: z.ZodObject<{
|
|
|
10368
10378
|
verified_at: string | null;
|
|
10369
10379
|
}>;
|
|
10370
10380
|
type SendingDomain = z.infer<typeof SendingDomain>;
|
|
10371
|
-
/**
|
|
10381
|
+
/**
|
|
10382
|
+
* Adding a domain: the domain and the sender mail goes out as. The service
|
|
10383
|
+
* writes the records itself when the domain's zone is one Lumitra Mail manages
|
|
10384
|
+
* for the workspace's company (`dns_mode` then reads `managed`); otherwise the
|
|
10385
|
+
* customer sets them.
|
|
10386
|
+
*/
|
|
10372
10387
|
declare const SendingDomainCreate: z.ZodEffects<z.ZodObject<{
|
|
10373
10388
|
from_name: z.ZodString;
|
|
10374
10389
|
from_email: z.ZodString;
|
|
@@ -30400,23 +30415,23 @@ declare const foundationRoutes: {
|
|
|
30400
30415
|
cursor: z.ZodOptional<z.ZodString>;
|
|
30401
30416
|
limit: z.ZodOptional<z.ZodNumber>;
|
|
30402
30417
|
} & {
|
|
30403
|
-
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.deleted", "topic.created", "topic.updated", "topic.deleted", "template.created", "template.updated", "template.deleted", "template.inputs_declared", "saved_section.created", "saved_section.updated", "saved_section.deleted", "asset.uploaded", "asset.imported", "contact.erased", "suppression.created", "suppression.deleted", "mailing.created", "mailing.sent", "mailing.paused", "mailing.resumed", "mailing.cancelled", "mailing.deleted", "mailing.retried", "webhook.created", "webhook.updated", "webhook.deleted", "webhook.secret_rotated", "webhook.redelivered", "contact.unsubscribed", "tag.created", "tag.deleted", "tag.assigned", "tag.unassigned", "contact_property.created", "contact_property.deleted", "segment.created", "segment.updated", "segment.deleted", "signup_form.created", "signup_form.updated", "signup_form.deleted", "contact.subscribed", "import.created", "import.mapped", "import.committed", "import.cancelled", "import.finished", "mailing.scheduled", "mailing.unscheduled", "mailing.schedule_failed", "mailing.ab_test_updated", "mailing.ab_winner_selected", "tracking.updated", "billing.checkout_started", "billing.subscription_changed", "billing.exemption_changed", "billing.extra_sending_domains_changed", "automation.created", "automation.updated", "automation.published", "automation.paused", "automation.resumed", "automation.archived", "automation.deleted", "automation.duplicated", "automation.enrolled", "automation.run_ended", "event.recorded"]>>;
|
|
30418
|
+
action: z.ZodOptional<z.ZodEnum<["workspace.created", "workspace.updated", "workspace.company_changed", "member.added", "member.role_changed", "member.removed", "member.invited", "invite.revoked", "api_key.created", "api_key.revoked", "provider.created", "provider.updated", "provider.deleted", "provider.events_registered", "provider.events_secret_set", "provider.bounces_halted", "provider.anomaly_cleared", "sending_domain.created", "sending_domain.updated", "sending_domain.checked", "sending_domain.records_written", "sending_domain.deleted", "topic.created", "topic.updated", "topic.deleted", "template.created", "template.updated", "template.deleted", "template.inputs_declared", "saved_section.created", "saved_section.updated", "saved_section.deleted", "asset.uploaded", "asset.imported", "contact.erased", "suppression.created", "suppression.deleted", "mailing.created", "mailing.sent", "mailing.paused", "mailing.resumed", "mailing.cancelled", "mailing.deleted", "mailing.retried", "webhook.created", "webhook.updated", "webhook.deleted", "webhook.secret_rotated", "webhook.redelivered", "contact.unsubscribed", "tag.created", "tag.deleted", "tag.assigned", "tag.unassigned", "contact_property.created", "contact_property.deleted", "segment.created", "segment.updated", "segment.deleted", "signup_form.created", "signup_form.updated", "signup_form.deleted", "contact.subscribed", "import.created", "import.mapped", "import.committed", "import.cancelled", "import.finished", "mailing.scheduled", "mailing.unscheduled", "mailing.schedule_failed", "mailing.ab_test_updated", "mailing.ab_winner_selected", "tracking.updated", "billing.checkout_started", "billing.subscription_changed", "billing.exemption_changed", "billing.extra_sending_domains_changed", "automation.created", "automation.updated", "automation.published", "automation.paused", "automation.resumed", "automation.archived", "automation.deleted", "automation.duplicated", "automation.enrolled", "automation.run_ended", "event.recorded"]>>;
|
|
30404
30419
|
target_id: z.ZodOptional<z.ZodString>;
|
|
30405
30420
|
}, "strip", z.ZodTypeAny, {
|
|
30406
30421
|
cursor?: string | undefined;
|
|
30407
30422
|
limit?: number | undefined;
|
|
30408
|
-
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.deleted" | "topic.created" | "topic.updated" | "topic.deleted" | "template.created" | "template.updated" | "template.deleted" | "template.inputs_declared" | "saved_section.created" | "saved_section.updated" | "saved_section.deleted" | "asset.uploaded" | "asset.imported" | "contact.erased" | "suppression.created" | "suppression.deleted" | "mailing.created" | "mailing.sent" | "mailing.paused" | "mailing.resumed" | "mailing.cancelled" | "mailing.deleted" | "mailing.retried" | "webhook.created" | "webhook.updated" | "webhook.deleted" | "webhook.secret_rotated" | "webhook.redelivered" | "contact.unsubscribed" | "tag.created" | "tag.deleted" | "tag.assigned" | "tag.unassigned" | "contact_property.created" | "contact_property.deleted" | "segment.created" | "segment.updated" | "segment.deleted" | "signup_form.created" | "signup_form.updated" | "signup_form.deleted" | "contact.subscribed" | "import.created" | "import.mapped" | "import.committed" | "import.cancelled" | "import.finished" | "mailing.scheduled" | "mailing.unscheduled" | "mailing.schedule_failed" | "mailing.ab_test_updated" | "mailing.ab_winner_selected" | "tracking.updated" | "billing.checkout_started" | "billing.subscription_changed" | "billing.exemption_changed" | "billing.extra_sending_domains_changed" | "automation.created" | "automation.updated" | "automation.published" | "automation.paused" | "automation.resumed" | "automation.archived" | "automation.deleted" | "automation.duplicated" | "automation.enrolled" | "automation.run_ended" | "event.recorded" | undefined;
|
|
30423
|
+
action?: "workspace.created" | "workspace.updated" | "workspace.company_changed" | "member.added" | "member.role_changed" | "member.removed" | "member.invited" | "invite.revoked" | "api_key.created" | "api_key.revoked" | "provider.created" | "provider.updated" | "provider.deleted" | "provider.events_registered" | "provider.events_secret_set" | "provider.bounces_halted" | "provider.anomaly_cleared" | "sending_domain.created" | "sending_domain.updated" | "sending_domain.checked" | "sending_domain.records_written" | "sending_domain.deleted" | "topic.created" | "topic.updated" | "topic.deleted" | "template.created" | "template.updated" | "template.deleted" | "template.inputs_declared" | "saved_section.created" | "saved_section.updated" | "saved_section.deleted" | "asset.uploaded" | "asset.imported" | "contact.erased" | "suppression.created" | "suppression.deleted" | "mailing.created" | "mailing.sent" | "mailing.paused" | "mailing.resumed" | "mailing.cancelled" | "mailing.deleted" | "mailing.retried" | "webhook.created" | "webhook.updated" | "webhook.deleted" | "webhook.secret_rotated" | "webhook.redelivered" | "contact.unsubscribed" | "tag.created" | "tag.deleted" | "tag.assigned" | "tag.unassigned" | "contact_property.created" | "contact_property.deleted" | "segment.created" | "segment.updated" | "segment.deleted" | "signup_form.created" | "signup_form.updated" | "signup_form.deleted" | "contact.subscribed" | "import.created" | "import.mapped" | "import.committed" | "import.cancelled" | "import.finished" | "mailing.scheduled" | "mailing.unscheduled" | "mailing.schedule_failed" | "mailing.ab_test_updated" | "mailing.ab_winner_selected" | "tracking.updated" | "billing.checkout_started" | "billing.subscription_changed" | "billing.exemption_changed" | "billing.extra_sending_domains_changed" | "automation.created" | "automation.updated" | "automation.published" | "automation.paused" | "automation.resumed" | "automation.archived" | "automation.deleted" | "automation.duplicated" | "automation.enrolled" | "automation.run_ended" | "event.recorded" | undefined;
|
|
30409
30424
|
target_id?: string | undefined;
|
|
30410
30425
|
}, {
|
|
30411
30426
|
cursor?: string | undefined;
|
|
30412
30427
|
limit?: number | undefined;
|
|
30413
|
-
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.deleted" | "topic.created" | "topic.updated" | "topic.deleted" | "template.created" | "template.updated" | "template.deleted" | "template.inputs_declared" | "saved_section.created" | "saved_section.updated" | "saved_section.deleted" | "asset.uploaded" | "asset.imported" | "contact.erased" | "suppression.created" | "suppression.deleted" | "mailing.created" | "mailing.sent" | "mailing.paused" | "mailing.resumed" | "mailing.cancelled" | "mailing.deleted" | "mailing.retried" | "webhook.created" | "webhook.updated" | "webhook.deleted" | "webhook.secret_rotated" | "webhook.redelivered" | "contact.unsubscribed" | "tag.created" | "tag.deleted" | "tag.assigned" | "tag.unassigned" | "contact_property.created" | "contact_property.deleted" | "segment.created" | "segment.updated" | "segment.deleted" | "signup_form.created" | "signup_form.updated" | "signup_form.deleted" | "contact.subscribed" | "import.created" | "import.mapped" | "import.committed" | "import.cancelled" | "import.finished" | "mailing.scheduled" | "mailing.unscheduled" | "mailing.schedule_failed" | "mailing.ab_test_updated" | "mailing.ab_winner_selected" | "tracking.updated" | "billing.checkout_started" | "billing.subscription_changed" | "billing.exemption_changed" | "billing.extra_sending_domains_changed" | "automation.created" | "automation.updated" | "automation.published" | "automation.paused" | "automation.resumed" | "automation.archived" | "automation.deleted" | "automation.duplicated" | "automation.enrolled" | "automation.run_ended" | "event.recorded" | undefined;
|
|
30428
|
+
action?: "workspace.created" | "workspace.updated" | "workspace.company_changed" | "member.added" | "member.role_changed" | "member.removed" | "member.invited" | "invite.revoked" | "api_key.created" | "api_key.revoked" | "provider.created" | "provider.updated" | "provider.deleted" | "provider.events_registered" | "provider.events_secret_set" | "provider.bounces_halted" | "provider.anomaly_cleared" | "sending_domain.created" | "sending_domain.updated" | "sending_domain.checked" | "sending_domain.records_written" | "sending_domain.deleted" | "topic.created" | "topic.updated" | "topic.deleted" | "template.created" | "template.updated" | "template.deleted" | "template.inputs_declared" | "saved_section.created" | "saved_section.updated" | "saved_section.deleted" | "asset.uploaded" | "asset.imported" | "contact.erased" | "suppression.created" | "suppression.deleted" | "mailing.created" | "mailing.sent" | "mailing.paused" | "mailing.resumed" | "mailing.cancelled" | "mailing.deleted" | "mailing.retried" | "webhook.created" | "webhook.updated" | "webhook.deleted" | "webhook.secret_rotated" | "webhook.redelivered" | "contact.unsubscribed" | "tag.created" | "tag.deleted" | "tag.assigned" | "tag.unassigned" | "contact_property.created" | "contact_property.deleted" | "segment.created" | "segment.updated" | "segment.deleted" | "signup_form.created" | "signup_form.updated" | "signup_form.deleted" | "contact.subscribed" | "import.created" | "import.mapped" | "import.committed" | "import.cancelled" | "import.finished" | "mailing.scheduled" | "mailing.unscheduled" | "mailing.schedule_failed" | "mailing.ab_test_updated" | "mailing.ab_winner_selected" | "tracking.updated" | "billing.checkout_started" | "billing.subscription_changed" | "billing.exemption_changed" | "billing.extra_sending_domains_changed" | "automation.created" | "automation.updated" | "automation.published" | "automation.paused" | "automation.resumed" | "automation.archived" | "automation.deleted" | "automation.duplicated" | "automation.enrolled" | "automation.run_ended" | "event.recorded" | undefined;
|
|
30414
30429
|
target_id?: string | undefined;
|
|
30415
30430
|
}>;
|
|
30416
30431
|
readonly response: z.ZodObject<{
|
|
30417
30432
|
data: z.ZodArray<z.ZodObject<{
|
|
30418
30433
|
id: z.ZodString;
|
|
30419
|
-
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.deleted", "topic.created", "topic.updated", "topic.deleted", "template.created", "template.updated", "template.deleted", "template.inputs_declared", "saved_section.created", "saved_section.updated", "saved_section.deleted", "asset.uploaded", "asset.imported", "contact.erased", "suppression.created", "suppression.deleted", "mailing.created", "mailing.sent", "mailing.paused", "mailing.resumed", "mailing.cancelled", "mailing.deleted", "mailing.retried", "webhook.created", "webhook.updated", "webhook.deleted", "webhook.secret_rotated", "webhook.redelivered", "contact.unsubscribed", "tag.created", "tag.deleted", "tag.assigned", "tag.unassigned", "contact_property.created", "contact_property.deleted", "segment.created", "segment.updated", "segment.deleted", "signup_form.created", "signup_form.updated", "signup_form.deleted", "contact.subscribed", "import.created", "import.mapped", "import.committed", "import.cancelled", "import.finished", "mailing.scheduled", "mailing.unscheduled", "mailing.schedule_failed", "mailing.ab_test_updated", "mailing.ab_winner_selected", "tracking.updated", "billing.checkout_started", "billing.subscription_changed", "billing.exemption_changed", "billing.extra_sending_domains_changed", "automation.created", "automation.updated", "automation.published", "automation.paused", "automation.resumed", "automation.archived", "automation.deleted", "automation.duplicated", "automation.enrolled", "automation.run_ended", "event.recorded"]>;
|
|
30434
|
+
action: z.ZodEnum<["workspace.created", "workspace.updated", "workspace.company_changed", "member.added", "member.role_changed", "member.removed", "member.invited", "invite.revoked", "api_key.created", "api_key.revoked", "provider.created", "provider.updated", "provider.deleted", "provider.events_registered", "provider.events_secret_set", "provider.bounces_halted", "provider.anomaly_cleared", "sending_domain.created", "sending_domain.updated", "sending_domain.checked", "sending_domain.records_written", "sending_domain.deleted", "topic.created", "topic.updated", "topic.deleted", "template.created", "template.updated", "template.deleted", "template.inputs_declared", "saved_section.created", "saved_section.updated", "saved_section.deleted", "asset.uploaded", "asset.imported", "contact.erased", "suppression.created", "suppression.deleted", "mailing.created", "mailing.sent", "mailing.paused", "mailing.resumed", "mailing.cancelled", "mailing.deleted", "mailing.retried", "webhook.created", "webhook.updated", "webhook.deleted", "webhook.secret_rotated", "webhook.redelivered", "contact.unsubscribed", "tag.created", "tag.deleted", "tag.assigned", "tag.unassigned", "contact_property.created", "contact_property.deleted", "segment.created", "segment.updated", "segment.deleted", "signup_form.created", "signup_form.updated", "signup_form.deleted", "contact.subscribed", "import.created", "import.mapped", "import.committed", "import.cancelled", "import.finished", "mailing.scheduled", "mailing.unscheduled", "mailing.schedule_failed", "mailing.ab_test_updated", "mailing.ab_winner_selected", "tracking.updated", "billing.checkout_started", "billing.subscription_changed", "billing.exemption_changed", "billing.extra_sending_domains_changed", "automation.created", "automation.updated", "automation.published", "automation.paused", "automation.resumed", "automation.archived", "automation.deleted", "automation.duplicated", "automation.enrolled", "automation.run_ended", "event.recorded"]>;
|
|
30420
30435
|
actor: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
30421
30436
|
type: z.ZodLiteral<"member">;
|
|
30422
30437
|
member_id: z.ZodString;
|
|
@@ -30462,7 +30477,7 @@ declare const foundationRoutes: {
|
|
|
30462
30477
|
id: string;
|
|
30463
30478
|
details: Record<string, unknown>;
|
|
30464
30479
|
created_at: string;
|
|
30465
|
-
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.deleted" | "topic.created" | "topic.updated" | "topic.deleted" | "template.created" | "template.updated" | "template.deleted" | "template.inputs_declared" | "saved_section.created" | "saved_section.updated" | "saved_section.deleted" | "asset.uploaded" | "asset.imported" | "contact.erased" | "suppression.created" | "suppression.deleted" | "mailing.created" | "mailing.sent" | "mailing.paused" | "mailing.resumed" | "mailing.cancelled" | "mailing.deleted" | "mailing.retried" | "webhook.created" | "webhook.updated" | "webhook.deleted" | "webhook.secret_rotated" | "webhook.redelivered" | "contact.unsubscribed" | "tag.created" | "tag.deleted" | "tag.assigned" | "tag.unassigned" | "contact_property.created" | "contact_property.deleted" | "segment.created" | "segment.updated" | "segment.deleted" | "signup_form.created" | "signup_form.updated" | "signup_form.deleted" | "contact.subscribed" | "import.created" | "import.mapped" | "import.committed" | "import.cancelled" | "import.finished" | "mailing.scheduled" | "mailing.unscheduled" | "mailing.schedule_failed" | "mailing.ab_test_updated" | "mailing.ab_winner_selected" | "tracking.updated" | "billing.checkout_started" | "billing.subscription_changed" | "billing.exemption_changed" | "billing.extra_sending_domains_changed" | "automation.created" | "automation.updated" | "automation.published" | "automation.paused" | "automation.resumed" | "automation.archived" | "automation.deleted" | "automation.duplicated" | "automation.enrolled" | "automation.run_ended" | "event.recorded";
|
|
30480
|
+
action: "workspace.created" | "workspace.updated" | "workspace.company_changed" | "member.added" | "member.role_changed" | "member.removed" | "member.invited" | "invite.revoked" | "api_key.created" | "api_key.revoked" | "provider.created" | "provider.updated" | "provider.deleted" | "provider.events_registered" | "provider.events_secret_set" | "provider.bounces_halted" | "provider.anomaly_cleared" | "sending_domain.created" | "sending_domain.updated" | "sending_domain.checked" | "sending_domain.records_written" | "sending_domain.deleted" | "topic.created" | "topic.updated" | "topic.deleted" | "template.created" | "template.updated" | "template.deleted" | "template.inputs_declared" | "saved_section.created" | "saved_section.updated" | "saved_section.deleted" | "asset.uploaded" | "asset.imported" | "contact.erased" | "suppression.created" | "suppression.deleted" | "mailing.created" | "mailing.sent" | "mailing.paused" | "mailing.resumed" | "mailing.cancelled" | "mailing.deleted" | "mailing.retried" | "webhook.created" | "webhook.updated" | "webhook.deleted" | "webhook.secret_rotated" | "webhook.redelivered" | "contact.unsubscribed" | "tag.created" | "tag.deleted" | "tag.assigned" | "tag.unassigned" | "contact_property.created" | "contact_property.deleted" | "segment.created" | "segment.updated" | "segment.deleted" | "signup_form.created" | "signup_form.updated" | "signup_form.deleted" | "contact.subscribed" | "import.created" | "import.mapped" | "import.committed" | "import.cancelled" | "import.finished" | "mailing.scheduled" | "mailing.unscheduled" | "mailing.schedule_failed" | "mailing.ab_test_updated" | "mailing.ab_winner_selected" | "tracking.updated" | "billing.checkout_started" | "billing.subscription_changed" | "billing.exemption_changed" | "billing.extra_sending_domains_changed" | "automation.created" | "automation.updated" | "automation.published" | "automation.paused" | "automation.resumed" | "automation.archived" | "automation.deleted" | "automation.duplicated" | "automation.enrolled" | "automation.run_ended" | "event.recorded";
|
|
30466
30481
|
actor: {
|
|
30467
30482
|
type: "member";
|
|
30468
30483
|
subject: string;
|
|
@@ -30482,7 +30497,7 @@ declare const foundationRoutes: {
|
|
|
30482
30497
|
id: string;
|
|
30483
30498
|
details: Record<string, unknown>;
|
|
30484
30499
|
created_at: string;
|
|
30485
|
-
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.deleted" | "topic.created" | "topic.updated" | "topic.deleted" | "template.created" | "template.updated" | "template.deleted" | "template.inputs_declared" | "saved_section.created" | "saved_section.updated" | "saved_section.deleted" | "asset.uploaded" | "asset.imported" | "contact.erased" | "suppression.created" | "suppression.deleted" | "mailing.created" | "mailing.sent" | "mailing.paused" | "mailing.resumed" | "mailing.cancelled" | "mailing.deleted" | "mailing.retried" | "webhook.created" | "webhook.updated" | "webhook.deleted" | "webhook.secret_rotated" | "webhook.redelivered" | "contact.unsubscribed" | "tag.created" | "tag.deleted" | "tag.assigned" | "tag.unassigned" | "contact_property.created" | "contact_property.deleted" | "segment.created" | "segment.updated" | "segment.deleted" | "signup_form.created" | "signup_form.updated" | "signup_form.deleted" | "contact.subscribed" | "import.created" | "import.mapped" | "import.committed" | "import.cancelled" | "import.finished" | "mailing.scheduled" | "mailing.unscheduled" | "mailing.schedule_failed" | "mailing.ab_test_updated" | "mailing.ab_winner_selected" | "tracking.updated" | "billing.checkout_started" | "billing.subscription_changed" | "billing.exemption_changed" | "billing.extra_sending_domains_changed" | "automation.created" | "automation.updated" | "automation.published" | "automation.paused" | "automation.resumed" | "automation.archived" | "automation.deleted" | "automation.duplicated" | "automation.enrolled" | "automation.run_ended" | "event.recorded";
|
|
30500
|
+
action: "workspace.created" | "workspace.updated" | "workspace.company_changed" | "member.added" | "member.role_changed" | "member.removed" | "member.invited" | "invite.revoked" | "api_key.created" | "api_key.revoked" | "provider.created" | "provider.updated" | "provider.deleted" | "provider.events_registered" | "provider.events_secret_set" | "provider.bounces_halted" | "provider.anomaly_cleared" | "sending_domain.created" | "sending_domain.updated" | "sending_domain.checked" | "sending_domain.records_written" | "sending_domain.deleted" | "topic.created" | "topic.updated" | "topic.deleted" | "template.created" | "template.updated" | "template.deleted" | "template.inputs_declared" | "saved_section.created" | "saved_section.updated" | "saved_section.deleted" | "asset.uploaded" | "asset.imported" | "contact.erased" | "suppression.created" | "suppression.deleted" | "mailing.created" | "mailing.sent" | "mailing.paused" | "mailing.resumed" | "mailing.cancelled" | "mailing.deleted" | "mailing.retried" | "webhook.created" | "webhook.updated" | "webhook.deleted" | "webhook.secret_rotated" | "webhook.redelivered" | "contact.unsubscribed" | "tag.created" | "tag.deleted" | "tag.assigned" | "tag.unassigned" | "contact_property.created" | "contact_property.deleted" | "segment.created" | "segment.updated" | "segment.deleted" | "signup_form.created" | "signup_form.updated" | "signup_form.deleted" | "contact.subscribed" | "import.created" | "import.mapped" | "import.committed" | "import.cancelled" | "import.finished" | "mailing.scheduled" | "mailing.unscheduled" | "mailing.schedule_failed" | "mailing.ab_test_updated" | "mailing.ab_winner_selected" | "tracking.updated" | "billing.checkout_started" | "billing.subscription_changed" | "billing.exemption_changed" | "billing.extra_sending_domains_changed" | "automation.created" | "automation.updated" | "automation.published" | "automation.paused" | "automation.resumed" | "automation.archived" | "automation.deleted" | "automation.duplicated" | "automation.enrolled" | "automation.run_ended" | "event.recorded";
|
|
30486
30501
|
actor: {
|
|
30487
30502
|
type: "member";
|
|
30488
30503
|
subject: string;
|
|
@@ -30505,7 +30520,7 @@ declare const foundationRoutes: {
|
|
|
30505
30520
|
id: string;
|
|
30506
30521
|
details: Record<string, unknown>;
|
|
30507
30522
|
created_at: string;
|
|
30508
|
-
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.deleted" | "topic.created" | "topic.updated" | "topic.deleted" | "template.created" | "template.updated" | "template.deleted" | "template.inputs_declared" | "saved_section.created" | "saved_section.updated" | "saved_section.deleted" | "asset.uploaded" | "asset.imported" | "contact.erased" | "suppression.created" | "suppression.deleted" | "mailing.created" | "mailing.sent" | "mailing.paused" | "mailing.resumed" | "mailing.cancelled" | "mailing.deleted" | "mailing.retried" | "webhook.created" | "webhook.updated" | "webhook.deleted" | "webhook.secret_rotated" | "webhook.redelivered" | "contact.unsubscribed" | "tag.created" | "tag.deleted" | "tag.assigned" | "tag.unassigned" | "contact_property.created" | "contact_property.deleted" | "segment.created" | "segment.updated" | "segment.deleted" | "signup_form.created" | "signup_form.updated" | "signup_form.deleted" | "contact.subscribed" | "import.created" | "import.mapped" | "import.committed" | "import.cancelled" | "import.finished" | "mailing.scheduled" | "mailing.unscheduled" | "mailing.schedule_failed" | "mailing.ab_test_updated" | "mailing.ab_winner_selected" | "tracking.updated" | "billing.checkout_started" | "billing.subscription_changed" | "billing.exemption_changed" | "billing.extra_sending_domains_changed" | "automation.created" | "automation.updated" | "automation.published" | "automation.paused" | "automation.resumed" | "automation.archived" | "automation.deleted" | "automation.duplicated" | "automation.enrolled" | "automation.run_ended" | "event.recorded";
|
|
30523
|
+
action: "workspace.created" | "workspace.updated" | "workspace.company_changed" | "member.added" | "member.role_changed" | "member.removed" | "member.invited" | "invite.revoked" | "api_key.created" | "api_key.revoked" | "provider.created" | "provider.updated" | "provider.deleted" | "provider.events_registered" | "provider.events_secret_set" | "provider.bounces_halted" | "provider.anomaly_cleared" | "sending_domain.created" | "sending_domain.updated" | "sending_domain.checked" | "sending_domain.records_written" | "sending_domain.deleted" | "topic.created" | "topic.updated" | "topic.deleted" | "template.created" | "template.updated" | "template.deleted" | "template.inputs_declared" | "saved_section.created" | "saved_section.updated" | "saved_section.deleted" | "asset.uploaded" | "asset.imported" | "contact.erased" | "suppression.created" | "suppression.deleted" | "mailing.created" | "mailing.sent" | "mailing.paused" | "mailing.resumed" | "mailing.cancelled" | "mailing.deleted" | "mailing.retried" | "webhook.created" | "webhook.updated" | "webhook.deleted" | "webhook.secret_rotated" | "webhook.redelivered" | "contact.unsubscribed" | "tag.created" | "tag.deleted" | "tag.assigned" | "tag.unassigned" | "contact_property.created" | "contact_property.deleted" | "segment.created" | "segment.updated" | "segment.deleted" | "signup_form.created" | "signup_form.updated" | "signup_form.deleted" | "contact.subscribed" | "import.created" | "import.mapped" | "import.committed" | "import.cancelled" | "import.finished" | "mailing.scheduled" | "mailing.unscheduled" | "mailing.schedule_failed" | "mailing.ab_test_updated" | "mailing.ab_winner_selected" | "tracking.updated" | "billing.checkout_started" | "billing.subscription_changed" | "billing.exemption_changed" | "billing.extra_sending_domains_changed" | "automation.created" | "automation.updated" | "automation.published" | "automation.paused" | "automation.resumed" | "automation.archived" | "automation.deleted" | "automation.duplicated" | "automation.enrolled" | "automation.run_ended" | "event.recorded";
|
|
30509
30524
|
actor: {
|
|
30510
30525
|
type: "member";
|
|
30511
30526
|
subject: string;
|
|
@@ -30528,7 +30543,7 @@ declare const foundationRoutes: {
|
|
|
30528
30543
|
id: string;
|
|
30529
30544
|
details: Record<string, unknown>;
|
|
30530
30545
|
created_at: string;
|
|
30531
|
-
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.deleted" | "topic.created" | "topic.updated" | "topic.deleted" | "template.created" | "template.updated" | "template.deleted" | "template.inputs_declared" | "saved_section.created" | "saved_section.updated" | "saved_section.deleted" | "asset.uploaded" | "asset.imported" | "contact.erased" | "suppression.created" | "suppression.deleted" | "mailing.created" | "mailing.sent" | "mailing.paused" | "mailing.resumed" | "mailing.cancelled" | "mailing.deleted" | "mailing.retried" | "webhook.created" | "webhook.updated" | "webhook.deleted" | "webhook.secret_rotated" | "webhook.redelivered" | "contact.unsubscribed" | "tag.created" | "tag.deleted" | "tag.assigned" | "tag.unassigned" | "contact_property.created" | "contact_property.deleted" | "segment.created" | "segment.updated" | "segment.deleted" | "signup_form.created" | "signup_form.updated" | "signup_form.deleted" | "contact.subscribed" | "import.created" | "import.mapped" | "import.committed" | "import.cancelled" | "import.finished" | "mailing.scheduled" | "mailing.unscheduled" | "mailing.schedule_failed" | "mailing.ab_test_updated" | "mailing.ab_winner_selected" | "tracking.updated" | "billing.checkout_started" | "billing.subscription_changed" | "billing.exemption_changed" | "billing.extra_sending_domains_changed" | "automation.created" | "automation.updated" | "automation.published" | "automation.paused" | "automation.resumed" | "automation.archived" | "automation.deleted" | "automation.duplicated" | "automation.enrolled" | "automation.run_ended" | "event.recorded";
|
|
30546
|
+
action: "workspace.created" | "workspace.updated" | "workspace.company_changed" | "member.added" | "member.role_changed" | "member.removed" | "member.invited" | "invite.revoked" | "api_key.created" | "api_key.revoked" | "provider.created" | "provider.updated" | "provider.deleted" | "provider.events_registered" | "provider.events_secret_set" | "provider.bounces_halted" | "provider.anomaly_cleared" | "sending_domain.created" | "sending_domain.updated" | "sending_domain.checked" | "sending_domain.records_written" | "sending_domain.deleted" | "topic.created" | "topic.updated" | "topic.deleted" | "template.created" | "template.updated" | "template.deleted" | "template.inputs_declared" | "saved_section.created" | "saved_section.updated" | "saved_section.deleted" | "asset.uploaded" | "asset.imported" | "contact.erased" | "suppression.created" | "suppression.deleted" | "mailing.created" | "mailing.sent" | "mailing.paused" | "mailing.resumed" | "mailing.cancelled" | "mailing.deleted" | "mailing.retried" | "webhook.created" | "webhook.updated" | "webhook.deleted" | "webhook.secret_rotated" | "webhook.redelivered" | "contact.unsubscribed" | "tag.created" | "tag.deleted" | "tag.assigned" | "tag.unassigned" | "contact_property.created" | "contact_property.deleted" | "segment.created" | "segment.updated" | "segment.deleted" | "signup_form.created" | "signup_form.updated" | "signup_form.deleted" | "contact.subscribed" | "import.created" | "import.mapped" | "import.committed" | "import.cancelled" | "import.finished" | "mailing.scheduled" | "mailing.unscheduled" | "mailing.schedule_failed" | "mailing.ab_test_updated" | "mailing.ab_winner_selected" | "tracking.updated" | "billing.checkout_started" | "billing.subscription_changed" | "billing.exemption_changed" | "billing.extra_sending_domains_changed" | "automation.created" | "automation.updated" | "automation.published" | "automation.paused" | "automation.resumed" | "automation.archived" | "automation.deleted" | "automation.duplicated" | "automation.enrolled" | "automation.run_ended" | "event.recorded";
|
|
30532
30547
|
actor: {
|
|
30533
30548
|
type: "member";
|
|
30534
30549
|
subject: string;
|
|
@@ -69463,4 +69478,4 @@ declare function matchRoute(method: HttpMethod, pathname: string): {
|
|
|
69463
69478
|
params: Record<string, string>;
|
|
69464
69479
|
} | null;
|
|
69465
69480
|
|
|
69466
|
-
export { AB_TEST_STATUSES, AB_WINNER_METRICS, API_KEY_SCOPES, API_VERSION_PREFIX, ASSET_CONTENT_TYPES, ASSET_POLICIES, ASSET_UPLOAD_FIELD, AUDIT_ACTIONS, AUTHORIZATION_HEADER, AUTOMATION_DATE_TRIGGER_KINDS, AUTOMATION_END_REASONS, AUTOMATION_ENTRY_REFUSALS, AUTOMATION_FILTER_FIELD_OPERATORS, AUTOMATION_FILTER_FIELD_PATTERN, AUTOMATION_ISSUE_CODES, AUTOMATION_STATUSES, AUTOMATION_STEP_KINDS, AUTOMATION_TRIGGER_KINDS, AUTOMATION_WAIT_REASONS, AbTestConfig, AbTestState, AbVariant, AbWinnerRequest, ApiKey, ApiKeyCreate, ApiKeyCreated, ApiKeyScope, Asset, AssetContentType, AssetHost, AssetImport, AssetPolicy, AuditAction, AuditActor, AuditEntry, AuditQuery, Automation, AutomationCounts, AutomationCreate, type AutomationDateTriggerKind, AutomationDuplicateRequest, AutomationEndReason, AutomationEnrollRequest, AutomationEnrollResult, AutomationEnrollment, AutomationEntryRefusal, AutomationExitRunRequest, AutomationFilter, AutomationFilterCondition, AutomationFilterField, AutomationFlow, AutomationIssue, AutomationIssueCode, AutomationJourney, AutomationListQuery, AutomationPublishMove, AutomationPublishRequest, AutomationPublishResult, AutomationReport, AutomationRun, AutomationRunCompletedData, AutomationRunExitedData, AutomationRunFailedData, AutomationRunListQuery, AutomationRunParams, AutomationRunStartedData, AutomationRunStatus, AutomationSettings, AutomationStatus, AutomationStep, AutomationStepExecution, AutomationStepKind, AutomationStepParams, AutomationStepReport, AutomationSummary, AutomationTestEmailRequest, AutomationTrigger, AutomationTriggerKind, AutomationUpdate, AutomationValidateRequest, AutomationValidation, AutomationWaitReason, AutomationWebhookData, AutomationWithFlow, BEARER_PREFIX, BILLING_NOT_CONFIGURED_REASON, BillingAddons, BoundedAutomationFilter, BoundedSegmentFilter, COMPANY_GRANT_ROLES, COMPANY_ROLE_MAX_AGE_HOURS, CONTACT_PROPERTY_TYPES, CatalogPlan, CheckoutRequest, CheckoutSession, CompanyGrantRole, CompanyId, CompileMessage, CompileRequest, CompileResult, ConditionStep, Contact, ContactAutomationListQuery, ContactAutomationRun, ContactBouncedData, ContactErased, ContactListQuery, ContactPropertyDefinition, ContactPropertyKey, ContactPropertyParams, ContactPropertyType, ContactResubscribedData, ContactSubscribedData, ContactTaggedData, ContactUnsubscribedData, ContactUpdatedData, ContactUpsert, ContactUpsertResult, DATE_PASSED_ANSWERS, DEFAULT_INVITE_TTL_DAYS, DEFAULT_PAGE_LIMIT, DOCUMENT_SCHEMA_VERSIONS, DateOnly, DatePassedAnswer, DelayStep, DocumentSchemaVersion, type DraftInsertionProblem, EDITABLE_MAILING_STATUSES, ERROR_CODES, ERROR_STATUS, EXPORT_CONTENT_TYPES, EXPORT_FORMATS, EXPORT_WARNINGS_HEADER, EXPORT_WARNING_COUNT_HEADER, type EditableLanguage, Email, EmailStep, EmailStepLanguage, ErrorBody, type ErrorCode, ErrorCodeSchema, Event, EventCreate, EventListQuery, EventName, ExportFormat, ExtraSendingDomainsUpdate, FILTER_FIELD_OPERATORS, FILTER_OPERATORS, FilterCondition, FilterField, type FilterLeafProblem, FilterOperator, GotoStep, HEALTH_PATH, HOSTED_PAGE_LOCALES, type HttpMethod, ICLOUD_SMTP_POLICY, IDEMPOTENCY_KEY_HEADER, IDEMPOTENCY_KEY_MAX_LENGTH, IDEMPOTENCY_KEY_RETENTION_HOURS, IMPORT_FILE_FIELD, IMPORT_ROW_OUTCOMES, IMPORT_SKIP_REASONS, IMPORT_STATUSES, IMPORT_TERMINAL_STATUSES, INSERTION_PROBLEM_REASONS, INSERTION_TEXT_SLOTS, INVITE_REFUSAL_REASONS, INVITE_STATUSES, Id, IdParams, ImportColumnMapping, ImportCommitRequest, ImportFinishedData, ImportJob, ImportMappingRequest, ImportReport, ImportRow, ImportRowListQuery, ImportRowOutcome, ImportSkipReason, ImportStatus, ImportWarning, ImportedAsset, Insertion, InsertionChoice, InsertionChoiceKey, type InsertionChoiceMade, InsertionChoices, type InsertionEdit, InsertionName, type InsertionProblem, type InsertionProblemReason, InsertionText, Insertions, Invite, InviteAccept, InviteAccepted, InviteCreate, InviteCreated, InviteListQuery, type InviteRefusalReason, InviteStatus, JsonValue, LETTER_ONLY_MERGE_FIELDS, LETTER_RECIPIENT_REFUSAL, LIST_UNSUBSCRIBE_POST_VALUE, LOCALE_TAG_PATTERN, type LanguageDrafts, type LanguageTab, LocaleTag, MAILING_ACTIONS, MAILING_KINDS, MAILING_STATUSES, MAILING_TRANSITIONS, MAX_ALLOWED_ASSET_HOSTS, MAX_ASSET_BYTES, MAX_DELAY_SECONDS, MAX_DOCUMENT_BYTES, MAX_ENGAGEMENT_DAYS, MAX_EXPORT_WARNINGS_HEADER_LENGTH, MAX_EXTRA_SENDING_DOMAINS, MAX_FILTER_DEPTH, MAX_IMPORTED_REMOTE_IMAGES, MAX_IMPORT_BYTES, MAX_IMPORT_ROWS, MAX_IMPORT_URL_LENGTH, MAX_INSERTIONS, MAX_INSERTION_CHOICES, MAX_INSERTION_TEXT_LENGTH, MAX_INVITE_TTL_DAYS, MAX_IN_LIST, MAX_LETTER_RECIPIENTS, MAX_MERGE_DEFAULTS, MAX_MERGE_DEFAULT_LENGTH, MAX_MJML_DEPTH, MAX_MJML_ELEMENTS, MAX_MJML_IMPORT_BYTES, MAX_PAGE_LIMIT, MAX_PREHEADER_LENGTH, MAX_RECIPIENTS_PER_BATCH, MAX_RE_ENTRY_COOLDOWN_SECONDS, MAX_SAVED_SECTIONS, MAX_SPLIT_BRANCHES, MAX_STEPS, MAX_STEP_VISITS, MAX_SUBJECT_LENGTH, MAX_SYNC_COMPANIES, MAX_TEMPLATE_INPUTS, MAX_TEMPLATE_INPUTS_APP_LENGTH, MAX_TEMPLATE_INPUTS_SEEN, MAX_TEMPLATE_INPUT_EXAMPLE_LENGTH, MAX_TEMPLATE_INPUT_LABEL_LENGTH, MAX_TEMPLATE_INPUT_NOTE_LENGTH, MAX_TEMPLATE_INPUT_VALUES, MAX_TEMPLATE_TRANSLATIONS, MAX_TRIGGERS, MEMBER_ROLES, MEMBER_SOURCES, MERGE_FIELD_PATTERN, MESSAGE_OUTCOMES, MIN_SPLIT_BRANCHES, MJML_IMPORT_REFUSALS, Mailing, MailingAbWinnerSelectedData, MailingAction, MailingActionRequest, MailingAnalytics, MailingAudienceFromSegment, MailingCounts, MailingCreate, MailingExportQuery, MailingFinishedData, MailingKind, MailingLanguage, MailingLanguageReport, MailingLanguageStatus, MailingListQuery, MailingMerge, MailingMetadata, MailingResolveRequest, MailingResolveResult, MailingRetryFailedRequest, MailingScheduleFailedData, MailingScheduleRequest, MailingScheduledData, MailingSendRequest, MailingStartedData, MailingStatus, MailingSummary, MailingTestRequest, MailingTestResult, MailingUpdate, Member, MemberCompanySync, MemberCompanySyncResult, MemberCreate, MemberRole, MemberSource, MemberUpdate, MergeDefaultValue, MergeDefaults, MergeFieldName, type MergeFieldUse, type MergeValue, Message, MessageFailedData, MessageListQuery, MessageOutcome, MessageSentData, MessageSummary, MessageValues, type MissingInsertionText, type MjmlImportRefusal, NAME_ON_BROADCAST_REFUSAL, NotifyRecipients, NotifyStep, ON_BEHALF_OF_HEADER, ON_BEHALF_OF_MAX_LENGTH, OffsetDays, Ok, type OperationId, PLAN_FEATURES, PLAN_IDS, PREVIEW_EMPTY, PREVIEW_FILLED, PROVIDER_KINDS, type Page, PageQuery, type Personalization, type Phase, Plan, type PlanFeature, PlanFeatures, PlanId, PlanLimits, PortalRequest, PortalSession, type PreviewControl, Properties, Provider, ProviderCreate, ProviderEvents, ProviderEventsSecret, ProviderKind, ProviderPolicy, ProviderRejections, ProviderUpdate, ProviderUsage, ProviderVerifyResult, QuietHours, RECIPIENT_REJECTIONS, RECIPIENT_STATUSES, REQUEST_ID_HEADER, RESEND_EVENT_TYPES, RESERVED_MERGE_FIELDS, RESOLVE_PROBLEMS, RESOLVE_REJECTIONS, RETRYABLE_ERRORS, RETRY_AFTER_HEADER, RE_ENTRY_MODES, ReEntryMode, Recipient, RecipientBatch, RecipientBatchResult, RecipientInput, RecipientListQuery, RecipientStatus, RemoteImage, type RenamedPlacement, ResendSigningSecret, type ReservedMergeField, ResolveProblem, ResolvedRecipient, ResolvedValue, type RouteAccess, type RouteBody, type RouteDef, type RouteParams, type RouteQuery, type RouteResponse, type Routes, SENDING_DOMAIN_DNS_MODES, SENDING_DOMAIN_REGION, SENDING_DOMAIN_STATUSES, SERVICE_FILLED_MERGE_FIELDS, SIGNUP_FORM_FIELDS, SKIP_REASONS, SMTP_SECURITY, SUBJECT_HEADER, SUPPRESSION_REASONS, type SaveDemotion, SavedSection, SavedSectionBody, SavedSectionCreate, SavedSectionUpdate, Segment, SegmentCreate, SegmentFilter, SegmentPreview, SegmentPreviewRequest, SendingDomain, SendingDomainCreate, SendingDomainDnsMode, SendingDomainName, SendingDomainRecord, SendingDomainStatus, SendingDomainUpdate, SignupForm, SignupFormCreate, SignupFormEmbed, SignupFormTranslation, SignupSubmission, SkipReason, Slug, SplitBranchKey, SplitStep, StepId, type StepTarget, Subscription, Suppression, SuppressionCreate, SuppressionListQuery, SuppressionReason, TEMPLATE_INPUT_KINDS, TEMPLATE_INPUT_PROBLEM_REASONS, TEMPLATE_LANGUAGE_STATUSES, TEMPLATE_SORTS, TEMPLATE_SORT_DEFAULT_ORDER, TERMINAL_MAILING_STATUSES, TRANSACTIONAL_BLOCKING_REASONS, TRANSACTIONAL_NEEDS_LETTER_REFUSAL, TRANSACTIONAL_NEEDS_TEMPLATE_LOCALE_REFUSAL, TRANSACTIONAL_NOT_ALLOWED_REFUSAL, TRANSACTIONAL_UNSUBSCRIBE_URL_REFUSAL, TRUSTED_APPS, TRUSTED_APP_OPERATIONS, Tag, TagAssignment, TagCreate, Template, TemplateCompileRequest, TemplateCreate, TemplateCreatedData, TemplateDeleteQuery, TemplateDeletedData, TemplateDocument, TemplateExportQuery, TemplateImport, TemplateImportPreview, TemplateImportPreviewRequest, TemplateImportResult, TemplateInput, type TemplateInputKind, TemplateInputMap, TemplateInputName, type TemplateInputProblem, type TemplateInputProblemReason, TemplateInputSeen, TemplateInputSource, TemplateInputValue, TemplateInputs, TemplateInputsDeclaration, TemplateInputsDeclared, TemplateInputsSeen, TemplateLanguageStatus, TemplateListQuery, TemplatePreheader, type TemplateSort, TemplateSubject, TemplateSummary, TemplateTranslation, TemplateTranslations, TemplateUpdate, TemplateUpdatedData, TemplateVersion, TemplateVersionParams, TimeOfDay, Timestamp, TimezoneName, Topic, TopicCreate, TopicUpdate, TrackingSettings, TranslationInsertion, TranslationInsertions, TrustedApp, UNSUBSCRIBE_PATH_PREFIX, UNSUBSCRIBE_SOURCES, USAGE_METRICS, USAGE_WARNING_HEADER, USAGE_WARNING_RATIO, UnfilledLink, type UnsubscribeToken, type UnsubscribeTokenClaims, Usage, UsageMetric, UsageWarning, type UsageWarningHeaderEntry, VALUE_LAYERS, type ValidationContext, ValidationIssue, ValueLayer, type ValueSources, VariantAnalytics, type VerifyWebhookInput, WEBHOOK_DELIVERY_STATUSES, WEBHOOK_EVENT_ID_HEADER, WEBHOOK_EVENT_TYPES, WEBHOOK_MAX_ATTEMPTS, WEBHOOK_RETRY_DELAYS_SECONDS, WEBHOOK_SECRET_PREFIX, WEBHOOK_SIGNATURE_HEADER, WEBHOOK_SIGNATURE_VERSION, WEBHOOK_TIMESTAMP_HEADER, WEBHOOK_TOLERANCE_SECONDS, WORKSPACE_HEADER, WebhookDelivery, WebhookDeliveryListQuery, WebhookDeliveryParams, WebhookDeliveryStatus, WebhookEndpoint, WebhookEndpointCreate, WebhookEndpointUpdate, WebhookEndpointWithSecret, WebhookEvent, type WebhookEventOf, WebhookEventType, WebhookStep, WebhookUrl, type WebhookVerifyFailure, type WebhookVerifyResult, Weekday, Workspace, WorkspaceCreate, WorkspaceMembership, WorkspaceMove, WorkspaceSettings, WorkspaceUpdate, acceptsIdempotencyKey, addInsertion, addInsertionChoice, addLanguageDraft, alignTranslationInsertions, alwaysWaits, automationFilterFamily, automationRoutes, billingRoutes, buildPath, buildTemplatePatch, canDeleteMailing, canTransition, canonicalLocale, choiceKeyProblem, chooseInsertion, cycles, defaultPreviewPick, defaultSettings, demoteForSave, demotedBySave, describeMissingTexts, draftDocument, draftInsertionProblems, draftsDirty, draftsFromTemplate, draftsPatch, editInsertionText, editLanguageDraft, editMainInsertionText, editMainInsertions, effectivePreviewPicks, emptyFlow, emptyLinkValues, errorBody, escapeMergeHtml, exportFilename, filterConditions, filterDepth, filterFieldFamily, filterLeafProblem, findMergeFields, formatExportWarningsHeader, formatUsageWarningHeader, foundationRoutes, insertionByProblem, insertionChoices, insertionCoverage, insertionInputs, insertionNameProblem, insertionProblems, insertionRefusalHint, insertionSlotLabel, insertionTextSlots, insertionTokens, insertionValue, inviteRoutes, isDayEntirelyPast, isPublishable, isRetryableError, keepLanguageDocument, languageInsertions, languageName, languageTabs, letterOnlyValues, linkTokens, mainInsertionText, matchLocale, matchRoute, missingInsertionTexts, missingRequiredMergeFields, normalizeChoiceKey, nowSeconds, operationsWithAccess, ownEntry, page, parseExportWarningsHeader, parseUsageWarningHeader, personalizeHtml, personalizeText, placementProblems, platformRoutes, previewControls, previewInsertions, previewPersonalization, primaryLanguage, printedFields, rawMergeValue, reachable, readyWithoutInsertions, readyWithoutSubject, rebaseDrafts, removeInsertion, removeInsertionChoice, removeLanguageDraft, renameInsertion, renameInsertionChecked, renameInsertionChoice, renameInsertionChoiceChecked, renameInsertionEverywhere, renameInsertionPlacements, renameTokenInDocument, renameTokenInText, resolveInsertions, resolveValue, restorePatch, routes, sameJson, sampleMergeValue, saveDemotions, 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 };
|
|
69481
|
+
export { AB_TEST_STATUSES, AB_WINNER_METRICS, API_KEY_SCOPES, API_VERSION_PREFIX, ASSET_CONTENT_TYPES, ASSET_POLICIES, ASSET_UPLOAD_FIELD, AUDIT_ACTIONS, AUTHORIZATION_HEADER, AUTOMATION_DATE_TRIGGER_KINDS, AUTOMATION_END_REASONS, AUTOMATION_ENTRY_REFUSALS, AUTOMATION_FILTER_FIELD_OPERATORS, AUTOMATION_FILTER_FIELD_PATTERN, AUTOMATION_ISSUE_CODES, AUTOMATION_STATUSES, AUTOMATION_STEP_KINDS, AUTOMATION_TRIGGER_KINDS, AUTOMATION_WAIT_REASONS, AbTestConfig, AbTestState, AbVariant, AbWinnerRequest, ApiKey, ApiKeyCreate, ApiKeyCreated, ApiKeyScope, Asset, AssetContentType, AssetHost, AssetImport, AssetPolicy, AuditAction, AuditActor, AuditEntry, AuditQuery, Automation, AutomationCounts, AutomationCreate, type AutomationDateTriggerKind, AutomationDuplicateRequest, AutomationEndReason, AutomationEnrollRequest, AutomationEnrollResult, AutomationEnrollment, AutomationEntryRefusal, AutomationExitRunRequest, AutomationFilter, AutomationFilterCondition, AutomationFilterField, AutomationFlow, AutomationIssue, AutomationIssueCode, AutomationJourney, AutomationListQuery, AutomationPublishMove, AutomationPublishRequest, AutomationPublishResult, AutomationReport, AutomationRun, AutomationRunCompletedData, AutomationRunExitedData, AutomationRunFailedData, AutomationRunListQuery, AutomationRunParams, AutomationRunStartedData, AutomationRunStatus, AutomationSettings, AutomationStatus, AutomationStep, AutomationStepExecution, AutomationStepKind, AutomationStepParams, AutomationStepReport, AutomationSummary, AutomationTestEmailRequest, AutomationTrigger, AutomationTriggerKind, AutomationUpdate, AutomationValidateRequest, AutomationValidation, AutomationWaitReason, AutomationWebhookData, AutomationWithFlow, BEARER_PREFIX, BILLING_NOT_CONFIGURED_REASON, BillingAddons, BoundedAutomationFilter, BoundedSegmentFilter, COMPANY_GRANT_ROLES, COMPANY_ROLE_MAX_AGE_HOURS, CONTACT_PROPERTY_TYPES, CatalogPlan, CheckoutRequest, CheckoutSession, CompanyGrantRole, CompanyId, CompileMessage, CompileRequest, CompileResult, ConditionStep, Contact, ContactAutomationListQuery, ContactAutomationRun, ContactBouncedData, ContactErased, ContactListQuery, ContactPropertyDefinition, ContactPropertyKey, ContactPropertyParams, ContactPropertyType, ContactResubscribedData, ContactSubscribedData, ContactTaggedData, ContactUnsubscribedData, ContactUpdatedData, ContactUpsert, ContactUpsertResult, DATE_PASSED_ANSWERS, DEFAULT_INVITE_TTL_DAYS, DEFAULT_PAGE_LIMIT, DOCUMENT_SCHEMA_VERSIONS, DateOnly, DatePassedAnswer, DelayStep, DocumentSchemaVersion, type DraftInsertionProblem, EDITABLE_MAILING_STATUSES, ERROR_CODES, ERROR_STATUS, EXPORT_CONTENT_TYPES, EXPORT_FORMATS, EXPORT_WARNINGS_HEADER, EXPORT_WARNING_COUNT_HEADER, type EditableLanguage, Email, EmailStep, EmailStepLanguage, ErrorBody, type ErrorCode, ErrorCodeSchema, Event, EventCreate, EventListQuery, EventName, ExportFormat, ExtraSendingDomainsUpdate, FILTER_FIELD_OPERATORS, FILTER_OPERATORS, FilterCondition, FilterField, type FilterLeafProblem, FilterOperator, GotoStep, HEALTH_PATH, HOSTED_PAGE_LOCALES, type HttpMethod, ICLOUD_SMTP_POLICY, IDEMPOTENCY_KEY_HEADER, IDEMPOTENCY_KEY_MAX_LENGTH, IDEMPOTENCY_KEY_RETENTION_HOURS, IMPORT_FILE_FIELD, IMPORT_ROW_OUTCOMES, IMPORT_SKIP_REASONS, IMPORT_STATUSES, IMPORT_TERMINAL_STATUSES, INSERTION_PROBLEM_REASONS, INSERTION_TEXT_SLOTS, INVITE_REFUSAL_REASONS, INVITE_STATUSES, Id, IdParams, ImportColumnMapping, ImportCommitRequest, ImportFinishedData, ImportJob, ImportMappingRequest, ImportReport, ImportRow, ImportRowListQuery, ImportRowOutcome, ImportSkipReason, ImportStatus, ImportWarning, ImportedAsset, Insertion, InsertionChoice, InsertionChoiceKey, type InsertionChoiceMade, InsertionChoices, type InsertionEdit, InsertionName, type InsertionProblem, type InsertionProblemReason, InsertionText, Insertions, Invite, InviteAccept, InviteAccepted, InviteCreate, InviteCreated, InviteListQuery, type InviteRefusalReason, InviteStatus, JsonValue, LETTER_ONLY_MERGE_FIELDS, LETTER_RECIPIENT_REFUSAL, LIST_UNSUBSCRIBE_POST_VALUE, LOCALE_TAG_PATTERN, type LanguageDrafts, type LanguageTab, LocaleTag, MAILING_ACTIONS, MAILING_KINDS, MAILING_STATUSES, MAILING_TRANSITIONS, MAX_ALLOWED_ASSET_HOSTS, MAX_ASSET_BYTES, MAX_DELAY_SECONDS, MAX_DOCUMENT_BYTES, MAX_ENGAGEMENT_DAYS, MAX_EXPORT_WARNINGS_HEADER_LENGTH, MAX_EXTRA_SENDING_DOMAINS, MAX_FILTER_DEPTH, MAX_IMPORTED_REMOTE_IMAGES, MAX_IMPORT_BYTES, MAX_IMPORT_ROWS, MAX_IMPORT_URL_LENGTH, MAX_INSERTIONS, MAX_INSERTION_CHOICES, MAX_INSERTION_TEXT_LENGTH, MAX_INVITE_TTL_DAYS, MAX_IN_LIST, MAX_LETTER_RECIPIENTS, MAX_MERGE_DEFAULTS, MAX_MERGE_DEFAULT_LENGTH, MAX_MJML_DEPTH, MAX_MJML_ELEMENTS, MAX_MJML_IMPORT_BYTES, MAX_PAGE_LIMIT, MAX_PREHEADER_LENGTH, MAX_RECIPIENTS_PER_BATCH, MAX_RE_ENTRY_COOLDOWN_SECONDS, MAX_SAVED_SECTIONS, MAX_SPLIT_BRANCHES, MAX_STEPS, MAX_STEP_VISITS, MAX_SUBJECT_LENGTH, MAX_SYNC_COMPANIES, MAX_TEMPLATE_INPUTS, MAX_TEMPLATE_INPUTS_APP_LENGTH, MAX_TEMPLATE_INPUTS_SEEN, MAX_TEMPLATE_INPUT_EXAMPLE_LENGTH, MAX_TEMPLATE_INPUT_LABEL_LENGTH, MAX_TEMPLATE_INPUT_NOTE_LENGTH, MAX_TEMPLATE_INPUT_VALUES, MAX_TEMPLATE_TRANSLATIONS, MAX_TRIGGERS, MEMBER_ROLES, MEMBER_SOURCES, MERGE_FIELD_PATTERN, MESSAGE_OUTCOMES, MIN_SPLIT_BRANCHES, MJML_IMPORT_REFUSALS, Mailing, MailingAbWinnerSelectedData, MailingAction, MailingActionRequest, MailingAnalytics, MailingAudienceFromSegment, MailingCounts, MailingCreate, MailingExportQuery, MailingFinishedData, MailingKind, MailingLanguage, MailingLanguageReport, MailingLanguageStatus, MailingListQuery, MailingMerge, MailingMetadata, MailingResolveRequest, MailingResolveResult, MailingRetryFailedRequest, MailingScheduleFailedData, MailingScheduleRequest, MailingScheduledData, MailingSendRequest, MailingStartedData, MailingStatus, MailingSummary, MailingTestRequest, MailingTestResult, MailingUpdate, Member, MemberCompanySync, MemberCompanySyncResult, MemberCreate, MemberRole, MemberSource, MemberUpdate, MergeDefaultValue, MergeDefaults, MergeFieldName, type MergeFieldUse, type MergeValue, Message, MessageFailedData, MessageListQuery, MessageOutcome, MessageSentData, MessageSummary, MessageValues, type MissingInsertionText, type MjmlImportRefusal, NAME_ON_BROADCAST_REFUSAL, NotifyRecipients, NotifyStep, ON_BEHALF_OF_HEADER, ON_BEHALF_OF_MAX_LENGTH, OffsetDays, Ok, type OperationId, PLAN_FEATURES, PLAN_IDS, PREVIEW_EMPTY, PREVIEW_FILLED, PROVIDER_KINDS, type Page, PageQuery, type Personalization, type Phase, Plan, type PlanFeature, PlanFeatures, PlanId, PlanLimits, PortalRequest, PortalSession, type PreviewControl, Properties, Provider, ProviderCreate, ProviderEvents, ProviderEventsSecret, ProviderKind, ProviderPolicy, ProviderRejections, ProviderUpdate, ProviderUsage, ProviderVerifyResult, QuietHours, RECIPIENT_REJECTIONS, RECIPIENT_STATUSES, REQUEST_ID_HEADER, RESEND_EVENT_TYPES, RESERVED_MERGE_FIELDS, RESOLVE_PROBLEMS, RESOLVE_REJECTIONS, RETRYABLE_ERRORS, RETRY_AFTER_HEADER, RE_ENTRY_MODES, ReEntryMode, Recipient, RecipientBatch, RecipientBatchResult, RecipientInput, RecipientListQuery, RecipientStatus, RemoteImage, type RenamedPlacement, ResendSigningSecret, type ReservedMergeField, ResolveProblem, ResolvedRecipient, ResolvedValue, type RouteAccess, type RouteBody, type RouteDef, type RouteParams, type RouteQuery, type RouteResponse, type Routes, SENDING_DOMAIN_DNS_MODES, SENDING_DOMAIN_REGION, SENDING_DOMAIN_STATUSES, SERVICE_FILLED_MERGE_FIELDS, SIGNUP_FORM_FIELDS, SKIP_REASONS, SMTP_SECURITY, SUBJECT_HEADER, SUPPRESSION_REASONS, type SaveDemotion, SavedSection, SavedSectionBody, SavedSectionCreate, SavedSectionUpdate, Segment, SegmentCreate, SegmentFilter, SegmentPreview, SegmentPreviewRequest, SendingDomain, SendingDomainCreate, SendingDomainDnsMode, SendingDomainName, SendingDomainRecord, SendingDomainStatus, SendingDomainUpdate, SignupForm, SignupFormCreate, SignupFormEmbed, SignupFormTranslation, SignupSubmission, SkipReason, Slug, SplitBranchKey, SplitStep, StepId, type StepTarget, Subscription, Suppression, SuppressionCreate, SuppressionListQuery, SuppressionReason, TEMPLATE_INPUT_KINDS, TEMPLATE_INPUT_PROBLEM_REASONS, TEMPLATE_LANGUAGE_STATUSES, TEMPLATE_SORTS, TEMPLATE_SORT_DEFAULT_ORDER, TERMINAL_MAILING_STATUSES, TRANSACTIONAL_BLOCKING_REASONS, TRANSACTIONAL_NEEDS_LETTER_REFUSAL, TRANSACTIONAL_NEEDS_TEMPLATE_LOCALE_REFUSAL, TRANSACTIONAL_NOT_ALLOWED_REFUSAL, TRANSACTIONAL_UNSUBSCRIBE_URL_REFUSAL, TRUSTED_APPS, TRUSTED_APP_OPERATIONS, Tag, TagAssignment, TagCreate, Template, TemplateCompileRequest, TemplateCreate, TemplateCreatedData, TemplateDeleteQuery, TemplateDeletedData, TemplateDocument, TemplateExportQuery, TemplateImport, TemplateImportPreview, TemplateImportPreviewRequest, TemplateImportResult, TemplateInput, type TemplateInputKind, TemplateInputMap, TemplateInputName, type TemplateInputProblem, type TemplateInputProblemReason, TemplateInputSeen, TemplateInputSource, TemplateInputValue, TemplateInputs, TemplateInputsDeclaration, TemplateInputsDeclared, TemplateInputsSeen, TemplateLanguageStatus, TemplateListQuery, TemplatePreheader, type TemplateSort, TemplateSubject, TemplateSummary, TemplateTranslation, TemplateTranslations, TemplateUpdate, TemplateUpdatedData, TemplateVersion, TemplateVersionParams, TimeOfDay, Timestamp, TimezoneName, Topic, TopicCreate, TopicUpdate, TrackingSettings, TranslationInsertion, TranslationInsertions, TrustedApp, UNSUBSCRIBE_PATH_PREFIX, UNSUBSCRIBE_SOURCES, USAGE_METRICS, USAGE_WARNING_HEADER, USAGE_WARNING_RATIO, UnfilledLink, type UnsubscribeToken, type UnsubscribeTokenClaims, Usage, UsageMetric, UsageWarning, type UsageWarningHeaderEntry, VALUE_LAYERS, type ValidationContext, ValidationIssue, ValueLayer, type ValueSources, VariantAnalytics, type VerifyWebhookInput, WEBHOOK_DELIVERY_STATUSES, WEBHOOK_EVENT_ID_HEADER, WEBHOOK_EVENT_TYPES, WEBHOOK_MAX_ATTEMPTS, WEBHOOK_RETRY_DELAYS_SECONDS, WEBHOOK_SECRET_PREFIX, WEBHOOK_SIGNATURE_HEADER, WEBHOOK_SIGNATURE_VERSION, WEBHOOK_TIMESTAMP_HEADER, WEBHOOK_TOLERANCE_SECONDS, WORKSPACE_HEADER, WebhookDelivery, WebhookDeliveryListQuery, WebhookDeliveryParams, WebhookDeliveryStatus, WebhookEndpoint, WebhookEndpointCreate, WebhookEndpointUpdate, WebhookEndpointWithSecret, WebhookEvent, type WebhookEventOf, WebhookEventType, WebhookStep, WebhookUrl, type WebhookVerifyFailure, type WebhookVerifyResult, Weekday, Workspace, WorkspaceCreate, WorkspaceMembership, WorkspaceMove, WorkspaceSettings, WorkspaceUpdate, acceptsIdempotencyKey, addInsertion, addInsertionChoice, addLanguageDraft, alignTranslationInsertions, alwaysWaits, automationFilterFamily, automationRoutes, billingRoutes, buildPath, buildTemplatePatch, canDeleteMailing, canTransition, canonicalLocale, choiceKeyProblem, chooseInsertion, cycles, defaultPreviewPick, defaultSettings, demoteForSave, demotedBySave, describeMissingTexts, draftDocument, draftInsertionProblems, draftsDirty, draftsFromTemplate, draftsPatch, editInsertionText, editLanguageDraft, editMainInsertionText, editMainInsertions, effectivePreviewPicks, emptyFlow, emptyLinkValues, errorBody, escapeMergeHtml, exportFilename, filterConditions, filterDepth, filterFieldFamily, filterLeafProblem, findMergeFields, formatExportWarningsHeader, formatUsageWarningHeader, foundationRoutes, insertionByProblem, insertionChoices, insertionCoverage, insertionInputs, insertionNameProblem, insertionProblems, insertionRefusalHint, insertionSlotLabel, insertionTextSlots, insertionTokens, insertionValue, inviteRoutes, isDayEntirelyPast, isPublishable, isRetryableError, keepLanguageDocument, languageInsertions, languageName, languageTabs, letterOnlyValues, linkTokens, mainInsertionText, matchLocale, matchRoute, missingInsertionTexts, missingRequiredMergeFields, normalizeChoiceKey, nowSeconds, operationsWithAccess, ownEntry, page, parseExportWarningsHeader, parseUsageWarningHeader, personalizeHtml, personalizeText, placementProblems, platformRoutes, previewControls, previewInsertions, previewPersonalization, primaryLanguage, printedFields, rawMergeValue, reachable, readyWithoutInsertions, readyWithoutSubject, rebaseDrafts, removeInsertion, removeInsertionChoice, removeLanguageDraft, renameInsertion, renameInsertionChecked, renameInsertionChoice, renameInsertionChoiceChecked, renameInsertionEverywhere, renameInsertionPlacements, renameTokenInDocument, renameTokenInText, resolveInsertions, resolveValue, restorePatch, routes, sameJson, sampleMergeValue, saveDemotions, sendingDomainRecordFullName, sendingRoutes, setInsertionBy, setInsertionFilled, setLanguageStatus, signWebhook, statusForError, stepTargets, storedTemplateLine, stronglyConnected, templateInputDrift, templateInputProblems, templateRoutes, testGroupSize, tightLoops, timingSafeEqualString, translationInsertionProblems, translationTextFromInput, triggerKey, trustedAppMayCall, unknownRefusedInsertions, unplacedInsertions, validateAutomation, valueNames, valuesRead, verifyWebhook };
|
package/dist/index.js
CHANGED
|
@@ -623,6 +623,7 @@ __export(index_exports, {
|
|
|
623
623
|
sameJson: () => sameJson,
|
|
624
624
|
sampleMergeValue: () => sampleMergeValue,
|
|
625
625
|
saveDemotions: () => saveDemotions,
|
|
626
|
+
sendingDomainRecordFullName: () => sendingDomainRecordFullName,
|
|
626
627
|
sendingRoutes: () => sendingRoutes,
|
|
627
628
|
setInsertionBy: () => setInsertionBy,
|
|
628
629
|
setInsertionFilled: () => setInsertionFilled,
|
|
@@ -3618,6 +3619,7 @@ var AUDIT_ACTIONS = [
|
|
|
3618
3619
|
"sending_domain.created",
|
|
3619
3620
|
"sending_domain.updated",
|
|
3620
3621
|
"sending_domain.checked",
|
|
3622
|
+
"sending_domain.records_written",
|
|
3621
3623
|
"sending_domain.deleted",
|
|
3622
3624
|
"topic.created",
|
|
3623
3625
|
"topic.updated",
|
|
@@ -4558,6 +4560,17 @@ var SendingDomainRecord = import_zod14.z.object({
|
|
|
4558
4560
|
status: import_zod14.z.string().max(40),
|
|
4559
4561
|
priority: import_zod14.z.number().int().min(0).max(65535).optional()
|
|
4560
4562
|
});
|
|
4563
|
+
function sendingDomainRecordFullName(domain, name) {
|
|
4564
|
+
const d = domain.toLowerCase();
|
|
4565
|
+
const n = name.toLowerCase().replace(/\.$/, "");
|
|
4566
|
+
if (n === "@" || n === "") return d;
|
|
4567
|
+
const labels = d.split(".");
|
|
4568
|
+
for (let k = labels.length - 2; k >= 1; k--) {
|
|
4569
|
+
const sub = labels.slice(0, k).join(".");
|
|
4570
|
+
if (n === sub || n.endsWith(`.${sub}`)) return `${n}.${labels.slice(k).join(".")}`;
|
|
4571
|
+
}
|
|
4572
|
+
return `${n}.${d}`;
|
|
4573
|
+
}
|
|
4561
4574
|
var SendingDomain = import_zod14.z.object({
|
|
4562
4575
|
id: Id,
|
|
4563
4576
|
domain: import_zod14.z.string(),
|
|
@@ -7288,6 +7301,7 @@ function matchRoute(method, pathname) {
|
|
|
7288
7301
|
sameJson,
|
|
7289
7302
|
sampleMergeValue,
|
|
7290
7303
|
saveDemotions,
|
|
7304
|
+
sendingDomainRecordFullName,
|
|
7291
7305
|
sendingRoutes,
|
|
7292
7306
|
setInsertionBy,
|
|
7293
7307
|
setInsertionFilled,
|
package/dist/index.mjs
CHANGED
|
@@ -2965,6 +2965,7 @@ var AUDIT_ACTIONS = [
|
|
|
2965
2965
|
"sending_domain.created",
|
|
2966
2966
|
"sending_domain.updated",
|
|
2967
2967
|
"sending_domain.checked",
|
|
2968
|
+
"sending_domain.records_written",
|
|
2968
2969
|
"sending_domain.deleted",
|
|
2969
2970
|
"topic.created",
|
|
2970
2971
|
"topic.updated",
|
|
@@ -3905,6 +3906,17 @@ var SendingDomainRecord = z14.object({
|
|
|
3905
3906
|
status: z14.string().max(40),
|
|
3906
3907
|
priority: z14.number().int().min(0).max(65535).optional()
|
|
3907
3908
|
});
|
|
3909
|
+
function sendingDomainRecordFullName(domain, name) {
|
|
3910
|
+
const d = domain.toLowerCase();
|
|
3911
|
+
const n = name.toLowerCase().replace(/\.$/, "");
|
|
3912
|
+
if (n === "@" || n === "") return d;
|
|
3913
|
+
const labels = d.split(".");
|
|
3914
|
+
for (let k = labels.length - 2; k >= 1; k--) {
|
|
3915
|
+
const sub = labels.slice(0, k).join(".");
|
|
3916
|
+
if (n === sub || n.endsWith(`.${sub}`)) return `${n}.${labels.slice(k).join(".")}`;
|
|
3917
|
+
}
|
|
3918
|
+
return `${n}.${d}`;
|
|
3919
|
+
}
|
|
3908
3920
|
var SendingDomain = z14.object({
|
|
3909
3921
|
id: Id,
|
|
3910
3922
|
domain: z14.string(),
|
|
@@ -6634,6 +6646,7 @@ export {
|
|
|
6634
6646
|
sameJson,
|
|
6635
6647
|
sampleMergeValue,
|
|
6636
6648
|
saveDemotions,
|
|
6649
|
+
sendingDomainRecordFullName,
|
|
6637
6650
|
sendingRoutes,
|
|
6638
6651
|
setInsertionBy,
|
|
6639
6652
|
setInsertionFilled,
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"publishConfig": {
|
|
4
4
|
"access": "public"
|
|
5
5
|
},
|
|
6
|
-
"version": "0.
|
|
6
|
+
"version": "0.18.0",
|
|
7
7
|
"description": "The v1 API contract of the mail service: zod schemas and types for every request, response, error and webhook, the route table, and webhook signing helpers",
|
|
8
8
|
"license": "MIT",
|
|
9
9
|
"repository": {
|