@marlinjai/mail-contract 0.13.0 → 0.15.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 +525 -71
- package/dist/index.d.ts +525 -71
- package/dist/index.js +112 -7
- package/dist/index.mjs +103 -7
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -493,12 +493,13 @@ declare const WorkspaceCreate: z.ZodObject<{
|
|
|
493
493
|
name?: string | null | undefined;
|
|
494
494
|
}>;
|
|
495
495
|
/**
|
|
496
|
-
* The
|
|
497
|
-
*
|
|
498
|
-
* erasure
|
|
499
|
-
*
|
|
496
|
+
* The auth-brain company the workspace is created in. Required since 0.14.0:
|
|
497
|
+
* every new workspace belongs to a company, which is what links it to that
|
|
498
|
+
* company's erasure and lets the company's owners and admins in without an
|
|
499
|
+
* invitation (`members.syncCompanyRole`). A workspace created before, without
|
|
500
|
+
* one, keeps working and simply has no such inheritance.
|
|
500
501
|
*/
|
|
501
|
-
company_id: z.
|
|
502
|
+
company_id: z.ZodString;
|
|
502
503
|
}, "strip", z.ZodTypeAny, {
|
|
503
504
|
name: string;
|
|
504
505
|
slug: string;
|
|
@@ -506,6 +507,7 @@ declare const WorkspaceCreate: z.ZodObject<{
|
|
|
506
507
|
email: string;
|
|
507
508
|
name?: string | null | undefined;
|
|
508
509
|
};
|
|
510
|
+
company_id: string;
|
|
509
511
|
settings?: {
|
|
510
512
|
asset_policy?: "any" | "service_only" | undefined;
|
|
511
513
|
default_locale?: string | undefined;
|
|
@@ -515,7 +517,6 @@ declare const WorkspaceCreate: z.ZodObject<{
|
|
|
515
517
|
merge_defaults?: Record<string, string | number | boolean> | undefined;
|
|
516
518
|
default_timezone?: string | null | undefined;
|
|
517
519
|
} | undefined;
|
|
518
|
-
company_id?: string | undefined;
|
|
519
520
|
}, {
|
|
520
521
|
name: string;
|
|
521
522
|
slug: string;
|
|
@@ -523,6 +524,7 @@ declare const WorkspaceCreate: z.ZodObject<{
|
|
|
523
524
|
email: string;
|
|
524
525
|
name?: string | null | undefined;
|
|
525
526
|
};
|
|
527
|
+
company_id: string;
|
|
526
528
|
settings?: {
|
|
527
529
|
asset_policy?: "any" | "service_only" | undefined;
|
|
528
530
|
default_locale?: string | undefined;
|
|
@@ -532,7 +534,6 @@ declare const WorkspaceCreate: z.ZodObject<{
|
|
|
532
534
|
merge_defaults?: Record<string, string | number | boolean> | undefined;
|
|
533
535
|
default_timezone?: string | null | undefined;
|
|
534
536
|
} | undefined;
|
|
535
|
-
company_id?: string | undefined;
|
|
536
537
|
}>;
|
|
537
538
|
type WorkspaceCreate = z.infer<typeof WorkspaceCreate>;
|
|
538
539
|
declare const WorkspaceUpdate: z.ZodEffects<z.ZodObject<{
|
|
@@ -732,14 +733,63 @@ declare const WorkspaceMembership: z.ZodObject<{
|
|
|
732
733
|
role: "owner" | "admin" | "editor" | "viewer";
|
|
733
734
|
}>;
|
|
734
735
|
type WorkspaceMembership = z.infer<typeof WorkspaceMembership>;
|
|
736
|
+
/**
|
|
737
|
+
* Where a member row comes from.
|
|
738
|
+
*
|
|
739
|
+
* - `invited`: the person was added to this workspace itself, by creating it,
|
|
740
|
+
* by an invitation or by `members.add`.
|
|
741
|
+
* - `company`: the person has no row of their own; they are in because they are
|
|
742
|
+
* an owner or admin of the workspace's company in the shared login
|
|
743
|
+
* (`members.syncCompanyRole`).
|
|
744
|
+
*/
|
|
745
|
+
declare const MEMBER_SOURCES: readonly ["invited", "company"];
|
|
746
|
+
declare const MemberSource: z.ZodEnum<["invited", "company"]>;
|
|
747
|
+
type MemberSource = z.infer<typeof MemberSource>;
|
|
748
|
+
/**
|
|
749
|
+
* The company roles that carry into a workspace: a company owner is a
|
|
750
|
+
* workspace `owner`, a company admin a workspace `admin`. No other company
|
|
751
|
+
* role (billing admin, member, viewer) inherits anything.
|
|
752
|
+
*/
|
|
753
|
+
declare const COMPANY_GRANT_ROLES: readonly ["owner", "admin"];
|
|
754
|
+
declare const CompanyGrantRole: z.ZodEnum<["owner", "admin"]>;
|
|
755
|
+
type CompanyGrantRole = z.infer<typeof CompanyGrantRole>;
|
|
756
|
+
/**
|
|
757
|
+
* How long a company role stays in force after the dashboard last confirmed
|
|
758
|
+
* it. The service only learns a person's company role when that person uses
|
|
759
|
+
* the dashboard, so a role nobody has confirmed for this long counts as absent
|
|
760
|
+
* everywhere: for a trusted application acting for the person, for the
|
|
761
|
+
* last-owner rule, and for the role shown on the member. The members list
|
|
762
|
+
* still shows the row, as not confirmed, until it is confirmed or removed.
|
|
763
|
+
*/
|
|
764
|
+
declare const COMPANY_ROLE_MAX_AGE_HOURS = 24;
|
|
735
765
|
declare const Member: z.ZodObject<{
|
|
736
766
|
id: z.ZodString;
|
|
737
767
|
/** The person's auth-brain subject. */
|
|
738
768
|
subject: z.ZodString;
|
|
739
769
|
email: z.ZodString;
|
|
740
770
|
name: z.ZodNullable<z.ZodString>;
|
|
771
|
+
/**
|
|
772
|
+
* The role in force: the higher of the person's own role in the workspace
|
|
773
|
+
* and the one a confirmed company role carries. For a `company` row that is
|
|
774
|
+
* no longer confirmed, the role it would carry once confirmed again.
|
|
775
|
+
*/
|
|
741
776
|
role: z.ZodEnum<["owner", "admin", "editor", "viewer"]>;
|
|
742
777
|
created_at: z.ZodString;
|
|
778
|
+
source: z.ZodOptional<z.ZodEnum<["invited", "company"]>>;
|
|
779
|
+
/** The company role last reported for the person (`members.syncCompanyRole`), or null. */
|
|
780
|
+
company_role: z.ZodOptional<z.ZodNullable<z.ZodEnum<["owner", "admin"]>>>;
|
|
781
|
+
/** When the dashboard last confirmed `company_role`; null without one. */
|
|
782
|
+
company_checked_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
783
|
+
/** The person's own role in the workspace; null for a `company` row. */
|
|
784
|
+
direct_role: z.ZodOptional<z.ZodNullable<z.ZodEnum<["owner", "admin", "editor", "viewer"]>>>;
|
|
785
|
+
/**
|
|
786
|
+
* True while `role` is held only through a confirmed company role. Such a
|
|
787
|
+
* member cannot be changed or removed here (`inherited_from_company`): the
|
|
788
|
+
* role is managed in the shared login. A `company` row with `inherited`
|
|
789
|
+
* false is one whose company role has not been confirmed within
|
|
790
|
+
* `COMPANY_ROLE_MAX_AGE_HOURS`; it grants nothing and an admin may remove it.
|
|
791
|
+
*/
|
|
792
|
+
inherited: z.ZodOptional<z.ZodBoolean>;
|
|
743
793
|
}, "strip", z.ZodTypeAny, {
|
|
744
794
|
id: string;
|
|
745
795
|
email: string;
|
|
@@ -747,6 +797,11 @@ declare const Member: z.ZodObject<{
|
|
|
747
797
|
subject: string;
|
|
748
798
|
created_at: string;
|
|
749
799
|
role: "owner" | "admin" | "editor" | "viewer";
|
|
800
|
+
source?: "invited" | "company" | undefined;
|
|
801
|
+
company_role?: "owner" | "admin" | null | undefined;
|
|
802
|
+
company_checked_at?: string | null | undefined;
|
|
803
|
+
direct_role?: "owner" | "admin" | "editor" | "viewer" | null | undefined;
|
|
804
|
+
inherited?: boolean | undefined;
|
|
750
805
|
}, {
|
|
751
806
|
id: string;
|
|
752
807
|
email: string;
|
|
@@ -754,8 +809,88 @@ declare const Member: z.ZodObject<{
|
|
|
754
809
|
subject: string;
|
|
755
810
|
created_at: string;
|
|
756
811
|
role: "owner" | "admin" | "editor" | "viewer";
|
|
812
|
+
source?: "invited" | "company" | undefined;
|
|
813
|
+
company_role?: "owner" | "admin" | null | undefined;
|
|
814
|
+
company_checked_at?: string | null | undefined;
|
|
815
|
+
direct_role?: "owner" | "admin" | "editor" | "viewer" | null | undefined;
|
|
816
|
+
inherited?: boolean | undefined;
|
|
757
817
|
}>;
|
|
758
818
|
type Member = z.infer<typeof Member>;
|
|
819
|
+
/** At most this many companies in one `members.syncCompanyRole` call. */
|
|
820
|
+
declare const MAX_SYNC_COMPANIES = 100;
|
|
821
|
+
/**
|
|
822
|
+
* `members.syncCompanyRole` (the dashboard only, never an API key or a trusted
|
|
823
|
+
* application): the complete statement of the signed-in person's owner and
|
|
824
|
+
* admin roles in companies, as the shared login's verified session reports
|
|
825
|
+
* them. The person is the one named by `x-mail-subject`; the body cannot name
|
|
826
|
+
* anybody else.
|
|
827
|
+
*
|
|
828
|
+
* The service then makes the member lists agree with it, in one transaction:
|
|
829
|
+
*
|
|
830
|
+
* - in every workspace whose `company_id` is one of `companies`, the person
|
|
831
|
+
* has a member row carrying that company role (a new `company` row, or the
|
|
832
|
+
* `company_role` of their own row);
|
|
833
|
+
* - every other company role the person still carries, in any workspace, is
|
|
834
|
+
* taken away: a `company` row is deactivated (its id survives for the audit
|
|
835
|
+
* log, and comes back with the role), an invited row falls back to its own
|
|
836
|
+
* role.
|
|
837
|
+
*
|
|
838
|
+
* A company is matched against the workspace's own `company_id` and nothing
|
|
839
|
+
* else, so naming a company never reaches a workspace of another one. An empty
|
|
840
|
+
* list is a valid statement: the person holds no company role any more.
|
|
841
|
+
*/
|
|
842
|
+
declare const MemberCompanySync: z.ZodObject<{
|
|
843
|
+
email: z.ZodString;
|
|
844
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
845
|
+
companies: z.ZodEffects<z.ZodArray<z.ZodObject<{
|
|
846
|
+
company_id: z.ZodString;
|
|
847
|
+
role: z.ZodEnum<["owner", "admin"]>;
|
|
848
|
+
}, "strip", z.ZodTypeAny, {
|
|
849
|
+
company_id: string;
|
|
850
|
+
role: "owner" | "admin";
|
|
851
|
+
}, {
|
|
852
|
+
company_id: string;
|
|
853
|
+
role: "owner" | "admin";
|
|
854
|
+
}>, "many">, {
|
|
855
|
+
company_id: string;
|
|
856
|
+
role: "owner" | "admin";
|
|
857
|
+
}[], {
|
|
858
|
+
company_id: string;
|
|
859
|
+
role: "owner" | "admin";
|
|
860
|
+
}[]>;
|
|
861
|
+
}, "strip", z.ZodTypeAny, {
|
|
862
|
+
email: string;
|
|
863
|
+
companies: {
|
|
864
|
+
company_id: string;
|
|
865
|
+
role: "owner" | "admin";
|
|
866
|
+
}[];
|
|
867
|
+
name?: string | null | undefined;
|
|
868
|
+
}, {
|
|
869
|
+
email: string;
|
|
870
|
+
companies: {
|
|
871
|
+
company_id: string;
|
|
872
|
+
role: "owner" | "admin";
|
|
873
|
+
}[];
|
|
874
|
+
name?: string | null | undefined;
|
|
875
|
+
}>;
|
|
876
|
+
type MemberCompanySync = z.infer<typeof MemberCompanySync>;
|
|
877
|
+
declare const MemberCompanySyncResult: z.ZodObject<{
|
|
878
|
+
/** Workspaces in which the person now holds a company role they did not hold, or held differently, before this call. */
|
|
879
|
+
granted: z.ZodArray<z.ZodString, "many">;
|
|
880
|
+
/** Workspaces in which a company role was taken away by this call. */
|
|
881
|
+
revoked: z.ZodArray<z.ZodString, "many">;
|
|
882
|
+
/** Workspaces in which the person's company role was already as stated. */
|
|
883
|
+
unchanged: z.ZodArray<z.ZodString, "many">;
|
|
884
|
+
}, "strip", z.ZodTypeAny, {
|
|
885
|
+
unchanged: string[];
|
|
886
|
+
granted: string[];
|
|
887
|
+
revoked: string[];
|
|
888
|
+
}, {
|
|
889
|
+
unchanged: string[];
|
|
890
|
+
granted: string[];
|
|
891
|
+
revoked: string[];
|
|
892
|
+
}>;
|
|
893
|
+
type MemberCompanySyncResult = z.infer<typeof MemberCompanySyncResult>;
|
|
759
894
|
/**
|
|
760
895
|
* Adding a member. The service binds people by auth-brain subject only (it never
|
|
761
896
|
* sees a login), so the dashboard resolves the person first and sends the subject
|
|
@@ -887,8 +1022,8 @@ declare const ApiKeyCreated: z.ZodObject<{
|
|
|
887
1022
|
};
|
|
888
1023
|
}>;
|
|
889
1024
|
type ApiKeyCreated = z.infer<typeof ApiKeyCreated>;
|
|
890
|
-
declare const AUDIT_ACTIONS: readonly ["workspace.created", "workspace.updated", "workspace.company_changed", "member.added", "member.role_changed", "member.removed", "member.invited", "invite.revoked", "api_key.created", "api_key.revoked", "provider.created", "provider.updated", "provider.deleted", "provider.events_registered", "provider.events_secret_set", "provider.bounces_halted", "provider.anomaly_cleared", "topic.created", "topic.updated", "topic.deleted", "template.created", "template.updated", "template.deleted", "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.retried", "webhook.created", "webhook.updated", "webhook.deleted", "webhook.secret_rotated", "webhook.redelivered", "contact.unsubscribed", "tag.created", "tag.deleted", "tag.assigned", "tag.unassigned", "contact_property.created", "contact_property.deleted", "segment.created", "segment.updated", "segment.deleted", "signup_form.created", "signup_form.updated", "signup_form.deleted", "contact.subscribed", "import.created", "import.mapped", "import.committed", "import.cancelled", "import.finished", "mailing.scheduled", "mailing.unscheduled", "mailing.schedule_failed", "mailing.ab_test_updated", "mailing.ab_winner_selected", "tracking.updated", "billing.checkout_started", "billing.subscription_changed", "billing.exemption_changed", "automation.created", "automation.updated", "automation.published", "automation.paused", "automation.resumed", "automation.archived", "automation.deleted", "automation.duplicated", "automation.enrolled", "automation.run_ended", "event.recorded"];
|
|
891
|
-
declare const AuditAction: z.ZodEnum<["workspace.created", "workspace.updated", "workspace.company_changed", "member.added", "member.role_changed", "member.removed", "member.invited", "invite.revoked", "api_key.created", "api_key.revoked", "provider.created", "provider.updated", "provider.deleted", "provider.events_registered", "provider.events_secret_set", "provider.bounces_halted", "provider.anomaly_cleared", "topic.created", "topic.updated", "topic.deleted", "template.created", "template.updated", "template.deleted", "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.retried", "webhook.created", "webhook.updated", "webhook.deleted", "webhook.secret_rotated", "webhook.redelivered", "contact.unsubscribed", "tag.created", "tag.deleted", "tag.assigned", "tag.unassigned", "contact_property.created", "contact_property.deleted", "segment.created", "segment.updated", "segment.deleted", "signup_form.created", "signup_form.updated", "signup_form.deleted", "contact.subscribed", "import.created", "import.mapped", "import.committed", "import.cancelled", "import.finished", "mailing.scheduled", "mailing.unscheduled", "mailing.schedule_failed", "mailing.ab_test_updated", "mailing.ab_winner_selected", "tracking.updated", "billing.checkout_started", "billing.subscription_changed", "billing.exemption_changed", "automation.created", "automation.updated", "automation.published", "automation.paused", "automation.resumed", "automation.archived", "automation.deleted", "automation.duplicated", "automation.enrolled", "automation.run_ended", "event.recorded"]>;
|
|
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", "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", "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", "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", "automation.created", "automation.updated", "automation.published", "automation.paused", "automation.resumed", "automation.archived", "automation.deleted", "automation.duplicated", "automation.enrolled", "automation.run_ended", "event.recorded"]>;
|
|
892
1027
|
type AuditAction = z.infer<typeof AuditAction>;
|
|
893
1028
|
/**
|
|
894
1029
|
* The applications, besides the dashboard, that may act for a signed-in person:
|
|
@@ -955,7 +1090,7 @@ declare const AuditActor: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
955
1090
|
type AuditActor = z.infer<typeof AuditActor>;
|
|
956
1091
|
declare const AuditEntry: z.ZodObject<{
|
|
957
1092
|
id: z.ZodString;
|
|
958
|
-
action: z.ZodEnum<["workspace.created", "workspace.updated", "workspace.company_changed", "member.added", "member.role_changed", "member.removed", "member.invited", "invite.revoked", "api_key.created", "api_key.revoked", "provider.created", "provider.updated", "provider.deleted", "provider.events_registered", "provider.events_secret_set", "provider.bounces_halted", "provider.anomaly_cleared", "topic.created", "topic.updated", "topic.deleted", "template.created", "template.updated", "template.deleted", "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.retried", "webhook.created", "webhook.updated", "webhook.deleted", "webhook.secret_rotated", "webhook.redelivered", "contact.unsubscribed", "tag.created", "tag.deleted", "tag.assigned", "tag.unassigned", "contact_property.created", "contact_property.deleted", "segment.created", "segment.updated", "segment.deleted", "signup_form.created", "signup_form.updated", "signup_form.deleted", "contact.subscribed", "import.created", "import.mapped", "import.committed", "import.cancelled", "import.finished", "mailing.scheduled", "mailing.unscheduled", "mailing.schedule_failed", "mailing.ab_test_updated", "mailing.ab_winner_selected", "tracking.updated", "billing.checkout_started", "billing.subscription_changed", "billing.exemption_changed", "automation.created", "automation.updated", "automation.published", "automation.paused", "automation.resumed", "automation.archived", "automation.deleted", "automation.duplicated", "automation.enrolled", "automation.run_ended", "event.recorded"]>;
|
|
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", "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", "automation.created", "automation.updated", "automation.published", "automation.paused", "automation.resumed", "automation.archived", "automation.deleted", "automation.duplicated", "automation.enrolled", "automation.run_ended", "event.recorded"]>;
|
|
959
1094
|
actor: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
960
1095
|
type: z.ZodLiteral<"member">;
|
|
961
1096
|
member_id: z.ZodString;
|
|
@@ -1011,7 +1146,7 @@ declare const AuditEntry: z.ZodObject<{
|
|
|
1011
1146
|
id: string;
|
|
1012
1147
|
details: Record<string, unknown>;
|
|
1013
1148
|
created_at: string;
|
|
1014
|
-
action: "workspace.created" | "workspace.updated" | "workspace.company_changed" | "member.added" | "member.role_changed" | "member.removed" | "member.invited" | "invite.revoked" | "api_key.created" | "api_key.revoked" | "provider.created" | "provider.updated" | "provider.deleted" | "provider.events_registered" | "provider.events_secret_set" | "provider.bounces_halted" | "provider.anomaly_cleared" | "topic.created" | "topic.updated" | "topic.deleted" | "template.created" | "template.updated" | "template.deleted" | "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.retried" | "webhook.created" | "webhook.updated" | "webhook.deleted" | "webhook.secret_rotated" | "webhook.redelivered" | "contact.unsubscribed" | "tag.created" | "tag.deleted" | "tag.assigned" | "tag.unassigned" | "contact_property.created" | "contact_property.deleted" | "segment.created" | "segment.updated" | "segment.deleted" | "signup_form.created" | "signup_form.updated" | "signup_form.deleted" | "contact.subscribed" | "import.created" | "import.mapped" | "import.committed" | "import.cancelled" | "import.finished" | "mailing.scheduled" | "mailing.unscheduled" | "mailing.schedule_failed" | "mailing.ab_test_updated" | "mailing.ab_winner_selected" | "tracking.updated" | "billing.checkout_started" | "billing.subscription_changed" | "billing.exemption_changed" | "automation.created" | "automation.updated" | "automation.published" | "automation.paused" | "automation.resumed" | "automation.archived" | "automation.deleted" | "automation.duplicated" | "automation.enrolled" | "automation.run_ended" | "event.recorded";
|
|
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" | "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" | "automation.created" | "automation.updated" | "automation.published" | "automation.paused" | "automation.resumed" | "automation.archived" | "automation.deleted" | "automation.duplicated" | "automation.enrolled" | "automation.run_ended" | "event.recorded";
|
|
1015
1150
|
actor: {
|
|
1016
1151
|
type: "member";
|
|
1017
1152
|
subject: string;
|
|
@@ -1031,7 +1166,7 @@ declare const AuditEntry: z.ZodObject<{
|
|
|
1031
1166
|
id: string;
|
|
1032
1167
|
details: Record<string, unknown>;
|
|
1033
1168
|
created_at: string;
|
|
1034
|
-
action: "workspace.created" | "workspace.updated" | "workspace.company_changed" | "member.added" | "member.role_changed" | "member.removed" | "member.invited" | "invite.revoked" | "api_key.created" | "api_key.revoked" | "provider.created" | "provider.updated" | "provider.deleted" | "provider.events_registered" | "provider.events_secret_set" | "provider.bounces_halted" | "provider.anomaly_cleared" | "topic.created" | "topic.updated" | "topic.deleted" | "template.created" | "template.updated" | "template.deleted" | "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.retried" | "webhook.created" | "webhook.updated" | "webhook.deleted" | "webhook.secret_rotated" | "webhook.redelivered" | "contact.unsubscribed" | "tag.created" | "tag.deleted" | "tag.assigned" | "tag.unassigned" | "contact_property.created" | "contact_property.deleted" | "segment.created" | "segment.updated" | "segment.deleted" | "signup_form.created" | "signup_form.updated" | "signup_form.deleted" | "contact.subscribed" | "import.created" | "import.mapped" | "import.committed" | "import.cancelled" | "import.finished" | "mailing.scheduled" | "mailing.unscheduled" | "mailing.schedule_failed" | "mailing.ab_test_updated" | "mailing.ab_winner_selected" | "tracking.updated" | "billing.checkout_started" | "billing.subscription_changed" | "billing.exemption_changed" | "automation.created" | "automation.updated" | "automation.published" | "automation.paused" | "automation.resumed" | "automation.archived" | "automation.deleted" | "automation.duplicated" | "automation.enrolled" | "automation.run_ended" | "event.recorded";
|
|
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" | "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" | "automation.created" | "automation.updated" | "automation.published" | "automation.paused" | "automation.resumed" | "automation.archived" | "automation.deleted" | "automation.duplicated" | "automation.enrolled" | "automation.run_ended" | "event.recorded";
|
|
1035
1170
|
actor: {
|
|
1036
1171
|
type: "member";
|
|
1037
1172
|
subject: string;
|
|
@@ -1053,17 +1188,17 @@ declare const AuditQuery: z.ZodObject<{
|
|
|
1053
1188
|
cursor: z.ZodOptional<z.ZodString>;
|
|
1054
1189
|
limit: z.ZodOptional<z.ZodNumber>;
|
|
1055
1190
|
} & {
|
|
1056
|
-
action: z.ZodOptional<z.ZodEnum<["workspace.created", "workspace.updated", "workspace.company_changed", "member.added", "member.role_changed", "member.removed", "member.invited", "invite.revoked", "api_key.created", "api_key.revoked", "provider.created", "provider.updated", "provider.deleted", "provider.events_registered", "provider.events_secret_set", "provider.bounces_halted", "provider.anomaly_cleared", "topic.created", "topic.updated", "topic.deleted", "template.created", "template.updated", "template.deleted", "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.retried", "webhook.created", "webhook.updated", "webhook.deleted", "webhook.secret_rotated", "webhook.redelivered", "contact.unsubscribed", "tag.created", "tag.deleted", "tag.assigned", "tag.unassigned", "contact_property.created", "contact_property.deleted", "segment.created", "segment.updated", "segment.deleted", "signup_form.created", "signup_form.updated", "signup_form.deleted", "contact.subscribed", "import.created", "import.mapped", "import.committed", "import.cancelled", "import.finished", "mailing.scheduled", "mailing.unscheduled", "mailing.schedule_failed", "mailing.ab_test_updated", "mailing.ab_winner_selected", "tracking.updated", "billing.checkout_started", "billing.subscription_changed", "billing.exemption_changed", "automation.created", "automation.updated", "automation.published", "automation.paused", "automation.resumed", "automation.archived", "automation.deleted", "automation.duplicated", "automation.enrolled", "automation.run_ended", "event.recorded"]>>;
|
|
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", "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", "automation.created", "automation.updated", "automation.published", "automation.paused", "automation.resumed", "automation.archived", "automation.deleted", "automation.duplicated", "automation.enrolled", "automation.run_ended", "event.recorded"]>>;
|
|
1057
1192
|
target_id: z.ZodOptional<z.ZodString>;
|
|
1058
1193
|
}, "strip", z.ZodTypeAny, {
|
|
1059
1194
|
cursor?: string | undefined;
|
|
1060
1195
|
limit?: number | undefined;
|
|
1061
|
-
action?: "workspace.created" | "workspace.updated" | "workspace.company_changed" | "member.added" | "member.role_changed" | "member.removed" | "member.invited" | "invite.revoked" | "api_key.created" | "api_key.revoked" | "provider.created" | "provider.updated" | "provider.deleted" | "provider.events_registered" | "provider.events_secret_set" | "provider.bounces_halted" | "provider.anomaly_cleared" | "topic.created" | "topic.updated" | "topic.deleted" | "template.created" | "template.updated" | "template.deleted" | "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.retried" | "webhook.created" | "webhook.updated" | "webhook.deleted" | "webhook.secret_rotated" | "webhook.redelivered" | "contact.unsubscribed" | "tag.created" | "tag.deleted" | "tag.assigned" | "tag.unassigned" | "contact_property.created" | "contact_property.deleted" | "segment.created" | "segment.updated" | "segment.deleted" | "signup_form.created" | "signup_form.updated" | "signup_form.deleted" | "contact.subscribed" | "import.created" | "import.mapped" | "import.committed" | "import.cancelled" | "import.finished" | "mailing.scheduled" | "mailing.unscheduled" | "mailing.schedule_failed" | "mailing.ab_test_updated" | "mailing.ab_winner_selected" | "tracking.updated" | "billing.checkout_started" | "billing.subscription_changed" | "billing.exemption_changed" | "automation.created" | "automation.updated" | "automation.published" | "automation.paused" | "automation.resumed" | "automation.archived" | "automation.deleted" | "automation.duplicated" | "automation.enrolled" | "automation.run_ended" | "event.recorded" | undefined;
|
|
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" | "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" | "automation.created" | "automation.updated" | "automation.published" | "automation.paused" | "automation.resumed" | "automation.archived" | "automation.deleted" | "automation.duplicated" | "automation.enrolled" | "automation.run_ended" | "event.recorded" | undefined;
|
|
1062
1197
|
target_id?: string | undefined;
|
|
1063
1198
|
}, {
|
|
1064
1199
|
cursor?: string | undefined;
|
|
1065
1200
|
limit?: number | undefined;
|
|
1066
|
-
action?: "workspace.created" | "workspace.updated" | "workspace.company_changed" | "member.added" | "member.role_changed" | "member.removed" | "member.invited" | "invite.revoked" | "api_key.created" | "api_key.revoked" | "provider.created" | "provider.updated" | "provider.deleted" | "provider.events_registered" | "provider.events_secret_set" | "provider.bounces_halted" | "provider.anomaly_cleared" | "topic.created" | "topic.updated" | "topic.deleted" | "template.created" | "template.updated" | "template.deleted" | "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.retried" | "webhook.created" | "webhook.updated" | "webhook.deleted" | "webhook.secret_rotated" | "webhook.redelivered" | "contact.unsubscribed" | "tag.created" | "tag.deleted" | "tag.assigned" | "tag.unassigned" | "contact_property.created" | "contact_property.deleted" | "segment.created" | "segment.updated" | "segment.deleted" | "signup_form.created" | "signup_form.updated" | "signup_form.deleted" | "contact.subscribed" | "import.created" | "import.mapped" | "import.committed" | "import.cancelled" | "import.finished" | "mailing.scheduled" | "mailing.unscheduled" | "mailing.schedule_failed" | "mailing.ab_test_updated" | "mailing.ab_winner_selected" | "tracking.updated" | "billing.checkout_started" | "billing.subscription_changed" | "billing.exemption_changed" | "automation.created" | "automation.updated" | "automation.published" | "automation.paused" | "automation.resumed" | "automation.archived" | "automation.deleted" | "automation.duplicated" | "automation.enrolled" | "automation.run_ended" | "event.recorded" | undefined;
|
|
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" | "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" | "automation.created" | "automation.updated" | "automation.published" | "automation.paused" | "automation.resumed" | "automation.archived" | "automation.deleted" | "automation.duplicated" | "automation.enrolled" | "automation.run_ended" | "event.recorded" | undefined;
|
|
1067
1202
|
target_id?: string | undefined;
|
|
1068
1203
|
}>;
|
|
1069
1204
|
type AuditQuery = z.infer<typeof AuditQuery>;
|
|
@@ -1097,7 +1232,7 @@ declare const Invite: z.ZodObject<{
|
|
|
1097
1232
|
revoked_at: z.ZodNullable<z.ZodString>;
|
|
1098
1233
|
created_at: z.ZodString;
|
|
1099
1234
|
}, "strip", z.ZodTypeAny, {
|
|
1100
|
-
status: "pending" | "
|
|
1235
|
+
status: "pending" | "revoked" | "accepted" | "expired";
|
|
1101
1236
|
id: string;
|
|
1102
1237
|
email: string;
|
|
1103
1238
|
created_at: string;
|
|
@@ -1110,7 +1245,7 @@ declare const Invite: z.ZodObject<{
|
|
|
1110
1245
|
expires_at: string;
|
|
1111
1246
|
accepted_at: string | null;
|
|
1112
1247
|
}, {
|
|
1113
|
-
status: "pending" | "
|
|
1248
|
+
status: "pending" | "revoked" | "accepted" | "expired";
|
|
1114
1249
|
id: string;
|
|
1115
1250
|
email: string;
|
|
1116
1251
|
created_at: string;
|
|
@@ -1170,7 +1305,7 @@ declare const InviteCreated: z.ZodObject<{
|
|
|
1170
1305
|
revoked_at: z.ZodNullable<z.ZodString>;
|
|
1171
1306
|
created_at: z.ZodString;
|
|
1172
1307
|
}, "strip", z.ZodTypeAny, {
|
|
1173
|
-
status: "pending" | "
|
|
1308
|
+
status: "pending" | "revoked" | "accepted" | "expired";
|
|
1174
1309
|
id: string;
|
|
1175
1310
|
email: string;
|
|
1176
1311
|
created_at: string;
|
|
@@ -1183,7 +1318,7 @@ declare const InviteCreated: z.ZodObject<{
|
|
|
1183
1318
|
expires_at: string;
|
|
1184
1319
|
accepted_at: string | null;
|
|
1185
1320
|
}, {
|
|
1186
|
-
status: "pending" | "
|
|
1321
|
+
status: "pending" | "revoked" | "accepted" | "expired";
|
|
1187
1322
|
id: string;
|
|
1188
1323
|
email: string;
|
|
1189
1324
|
created_at: string;
|
|
@@ -1199,7 +1334,7 @@ declare const InviteCreated: z.ZodObject<{
|
|
|
1199
1334
|
token: z.ZodString;
|
|
1200
1335
|
}, "strip", z.ZodTypeAny, {
|
|
1201
1336
|
invite: {
|
|
1202
|
-
status: "pending" | "
|
|
1337
|
+
status: "pending" | "revoked" | "accepted" | "expired";
|
|
1203
1338
|
id: string;
|
|
1204
1339
|
email: string;
|
|
1205
1340
|
created_at: string;
|
|
@@ -1215,7 +1350,7 @@ declare const InviteCreated: z.ZodObject<{
|
|
|
1215
1350
|
token: string;
|
|
1216
1351
|
}, {
|
|
1217
1352
|
invite: {
|
|
1218
|
-
status: "pending" | "
|
|
1353
|
+
status: "pending" | "revoked" | "accepted" | "expired";
|
|
1219
1354
|
id: string;
|
|
1220
1355
|
email: string;
|
|
1221
1356
|
created_at: string;
|
|
@@ -1237,11 +1372,11 @@ declare const InviteListQuery: z.ZodObject<{
|
|
|
1237
1372
|
} & {
|
|
1238
1373
|
status: z.ZodOptional<z.ZodEnum<["pending", "accepted", "revoked", "expired"]>>;
|
|
1239
1374
|
}, "strip", z.ZodTypeAny, {
|
|
1240
|
-
status?: "pending" | "
|
|
1375
|
+
status?: "pending" | "revoked" | "accepted" | "expired" | undefined;
|
|
1241
1376
|
cursor?: string | undefined;
|
|
1242
1377
|
limit?: number | undefined;
|
|
1243
1378
|
}, {
|
|
1244
|
-
status?: "pending" | "
|
|
1379
|
+
status?: "pending" | "revoked" | "accepted" | "expired" | undefined;
|
|
1245
1380
|
cursor?: string | undefined;
|
|
1246
1381
|
limit?: number | undefined;
|
|
1247
1382
|
}>;
|
|
@@ -11102,6 +11237,19 @@ declare const MailingSummary: z.ZodObject<Omit<{
|
|
|
11102
11237
|
pause_reason?: string | null | undefined;
|
|
11103
11238
|
}>;
|
|
11104
11239
|
type MailingSummary = z.infer<typeof MailingSummary>;
|
|
11240
|
+
/**
|
|
11241
|
+
* Whether `mailings.delete` would take this mailing: a broadcast that never
|
|
11242
|
+
* started, so a `draft`, or one `cancelled` before any send began
|
|
11243
|
+
* (`started_at` is null). A scheduled mailing is unscheduled first. A mailing
|
|
11244
|
+
* that started is the record of what was sent and stays, and an automation's
|
|
11245
|
+
* step or notification is the automation's. The service decides from the same
|
|
11246
|
+
* function, so a client that shows its delete button from it offers exactly
|
|
11247
|
+
* what would be accepted. It does not know who is asking: a transactional
|
|
11248
|
+
* letter is refused to every caller but the application that may write one.
|
|
11249
|
+
*
|
|
11250
|
+
* Takes a full mailing or a row of `mailings.list`.
|
|
11251
|
+
*/
|
|
11252
|
+
declare function canDeleteMailing(mailing: Pick<Mailing, 'kind' | 'status' | 'started_at'>): boolean;
|
|
11105
11253
|
/**
|
|
11106
11254
|
* A new mailing, in `draft`. The content is either a document or a saved
|
|
11107
11255
|
* template (whose current version is snapshotted), never both. An unknown topic
|
|
@@ -28933,6 +29081,13 @@ interface RouteDef {
|
|
|
28933
29081
|
status: 200 | 201 | 202;
|
|
28934
29082
|
access: RouteAccess;
|
|
28935
29083
|
phase: Phase;
|
|
29084
|
+
/**
|
|
29085
|
+
* The call states how things are instead of asking for a change, so sending
|
|
29086
|
+
* it twice is the same as sending it once and it takes no `Idempotency-Key`
|
|
29087
|
+
* (see `acceptsIdempotencyKey`). For a call made on nearly every request,
|
|
29088
|
+
* where a ledger row per call would be the only write it causes.
|
|
29089
|
+
*/
|
|
29090
|
+
statement?: true;
|
|
28936
29091
|
}
|
|
28937
29092
|
declare const foundationRoutes: {
|
|
28938
29093
|
readonly 'workspaces.create': {
|
|
@@ -28976,7 +29131,7 @@ declare const foundationRoutes: {
|
|
|
28976
29131
|
email: string;
|
|
28977
29132
|
name?: string | null | undefined;
|
|
28978
29133
|
}>;
|
|
28979
|
-
company_id: z.
|
|
29134
|
+
company_id: z.ZodString;
|
|
28980
29135
|
}, "strip", z.ZodTypeAny, {
|
|
28981
29136
|
name: string;
|
|
28982
29137
|
slug: string;
|
|
@@ -28984,6 +29139,7 @@ declare const foundationRoutes: {
|
|
|
28984
29139
|
email: string;
|
|
28985
29140
|
name?: string | null | undefined;
|
|
28986
29141
|
};
|
|
29142
|
+
company_id: string;
|
|
28987
29143
|
settings?: {
|
|
28988
29144
|
asset_policy?: "any" | "service_only" | undefined;
|
|
28989
29145
|
default_locale?: string | undefined;
|
|
@@ -28993,7 +29149,6 @@ declare const foundationRoutes: {
|
|
|
28993
29149
|
merge_defaults?: Record<string, string | number | boolean> | undefined;
|
|
28994
29150
|
default_timezone?: string | null | undefined;
|
|
28995
29151
|
} | undefined;
|
|
28996
|
-
company_id?: string | undefined;
|
|
28997
29152
|
}, {
|
|
28998
29153
|
name: string;
|
|
28999
29154
|
slug: string;
|
|
@@ -29001,6 +29156,7 @@ declare const foundationRoutes: {
|
|
|
29001
29156
|
email: string;
|
|
29002
29157
|
name?: string | null | undefined;
|
|
29003
29158
|
};
|
|
29159
|
+
company_id: string;
|
|
29004
29160
|
settings?: {
|
|
29005
29161
|
asset_policy?: "any" | "service_only" | undefined;
|
|
29006
29162
|
default_locale?: string | undefined;
|
|
@@ -29010,7 +29166,6 @@ declare const foundationRoutes: {
|
|
|
29010
29166
|
merge_defaults?: Record<string, string | number | boolean> | undefined;
|
|
29011
29167
|
default_timezone?: string | null | undefined;
|
|
29012
29168
|
} | undefined;
|
|
29013
|
-
company_id?: string | undefined;
|
|
29014
29169
|
}>;
|
|
29015
29170
|
readonly response: z.ZodObject<{
|
|
29016
29171
|
id: z.ZodString;
|
|
@@ -29531,6 +29686,11 @@ declare const foundationRoutes: {
|
|
|
29531
29686
|
name: z.ZodNullable<z.ZodString>;
|
|
29532
29687
|
role: z.ZodEnum<["owner", "admin", "editor", "viewer"]>;
|
|
29533
29688
|
created_at: z.ZodString;
|
|
29689
|
+
source: z.ZodOptional<z.ZodEnum<["invited", "company"]>>;
|
|
29690
|
+
company_role: z.ZodOptional<z.ZodNullable<z.ZodEnum<["owner", "admin"]>>>;
|
|
29691
|
+
company_checked_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
29692
|
+
direct_role: z.ZodOptional<z.ZodNullable<z.ZodEnum<["owner", "admin", "editor", "viewer"]>>>;
|
|
29693
|
+
inherited: z.ZodOptional<z.ZodBoolean>;
|
|
29534
29694
|
}, "strip", z.ZodTypeAny, {
|
|
29535
29695
|
id: string;
|
|
29536
29696
|
email: string;
|
|
@@ -29538,6 +29698,11 @@ declare const foundationRoutes: {
|
|
|
29538
29698
|
subject: string;
|
|
29539
29699
|
created_at: string;
|
|
29540
29700
|
role: "owner" | "admin" | "editor" | "viewer";
|
|
29701
|
+
source?: "invited" | "company" | undefined;
|
|
29702
|
+
company_role?: "owner" | "admin" | null | undefined;
|
|
29703
|
+
company_checked_at?: string | null | undefined;
|
|
29704
|
+
direct_role?: "owner" | "admin" | "editor" | "viewer" | null | undefined;
|
|
29705
|
+
inherited?: boolean | undefined;
|
|
29541
29706
|
}, {
|
|
29542
29707
|
id: string;
|
|
29543
29708
|
email: string;
|
|
@@ -29545,6 +29710,11 @@ declare const foundationRoutes: {
|
|
|
29545
29710
|
subject: string;
|
|
29546
29711
|
created_at: string;
|
|
29547
29712
|
role: "owner" | "admin" | "editor" | "viewer";
|
|
29713
|
+
source?: "invited" | "company" | undefined;
|
|
29714
|
+
company_role?: "owner" | "admin" | null | undefined;
|
|
29715
|
+
company_checked_at?: string | null | undefined;
|
|
29716
|
+
direct_role?: "owner" | "admin" | "editor" | "viewer" | null | undefined;
|
|
29717
|
+
inherited?: boolean | undefined;
|
|
29548
29718
|
}>, "many">;
|
|
29549
29719
|
next_cursor: z.ZodNullable<z.ZodString>;
|
|
29550
29720
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -29555,6 +29725,11 @@ declare const foundationRoutes: {
|
|
|
29555
29725
|
subject: string;
|
|
29556
29726
|
created_at: string;
|
|
29557
29727
|
role: "owner" | "admin" | "editor" | "viewer";
|
|
29728
|
+
source?: "invited" | "company" | undefined;
|
|
29729
|
+
company_role?: "owner" | "admin" | null | undefined;
|
|
29730
|
+
company_checked_at?: string | null | undefined;
|
|
29731
|
+
direct_role?: "owner" | "admin" | "editor" | "viewer" | null | undefined;
|
|
29732
|
+
inherited?: boolean | undefined;
|
|
29558
29733
|
}[];
|
|
29559
29734
|
next_cursor: string | null;
|
|
29560
29735
|
}, {
|
|
@@ -29565,6 +29740,11 @@ declare const foundationRoutes: {
|
|
|
29565
29740
|
subject: string;
|
|
29566
29741
|
created_at: string;
|
|
29567
29742
|
role: "owner" | "admin" | "editor" | "viewer";
|
|
29743
|
+
source?: "invited" | "company" | undefined;
|
|
29744
|
+
company_role?: "owner" | "admin" | null | undefined;
|
|
29745
|
+
company_checked_at?: string | null | undefined;
|
|
29746
|
+
direct_role?: "owner" | "admin" | "editor" | "viewer" | null | undefined;
|
|
29747
|
+
inherited?: boolean | undefined;
|
|
29568
29748
|
}[];
|
|
29569
29749
|
next_cursor: string | null;
|
|
29570
29750
|
}>;
|
|
@@ -29598,6 +29778,11 @@ declare const foundationRoutes: {
|
|
|
29598
29778
|
name: z.ZodNullable<z.ZodString>;
|
|
29599
29779
|
role: z.ZodEnum<["owner", "admin", "editor", "viewer"]>;
|
|
29600
29780
|
created_at: z.ZodString;
|
|
29781
|
+
source: z.ZodOptional<z.ZodEnum<["invited", "company"]>>;
|
|
29782
|
+
company_role: z.ZodOptional<z.ZodNullable<z.ZodEnum<["owner", "admin"]>>>;
|
|
29783
|
+
company_checked_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
29784
|
+
direct_role: z.ZodOptional<z.ZodNullable<z.ZodEnum<["owner", "admin", "editor", "viewer"]>>>;
|
|
29785
|
+
inherited: z.ZodOptional<z.ZodBoolean>;
|
|
29601
29786
|
}, "strip", z.ZodTypeAny, {
|
|
29602
29787
|
id: string;
|
|
29603
29788
|
email: string;
|
|
@@ -29605,6 +29790,11 @@ declare const foundationRoutes: {
|
|
|
29605
29790
|
subject: string;
|
|
29606
29791
|
created_at: string;
|
|
29607
29792
|
role: "owner" | "admin" | "editor" | "viewer";
|
|
29793
|
+
source?: "invited" | "company" | undefined;
|
|
29794
|
+
company_role?: "owner" | "admin" | null | undefined;
|
|
29795
|
+
company_checked_at?: string | null | undefined;
|
|
29796
|
+
direct_role?: "owner" | "admin" | "editor" | "viewer" | null | undefined;
|
|
29797
|
+
inherited?: boolean | undefined;
|
|
29608
29798
|
}, {
|
|
29609
29799
|
id: string;
|
|
29610
29800
|
email: string;
|
|
@@ -29612,6 +29802,11 @@ declare const foundationRoutes: {
|
|
|
29612
29802
|
subject: string;
|
|
29613
29803
|
created_at: string;
|
|
29614
29804
|
role: "owner" | "admin" | "editor" | "viewer";
|
|
29805
|
+
source?: "invited" | "company" | undefined;
|
|
29806
|
+
company_role?: "owner" | "admin" | null | undefined;
|
|
29807
|
+
company_checked_at?: string | null | undefined;
|
|
29808
|
+
direct_role?: "owner" | "admin" | "editor" | "viewer" | null | undefined;
|
|
29809
|
+
inherited?: boolean | undefined;
|
|
29615
29810
|
}>;
|
|
29616
29811
|
readonly status: 201;
|
|
29617
29812
|
readonly access: "admin";
|
|
@@ -29641,6 +29836,11 @@ declare const foundationRoutes: {
|
|
|
29641
29836
|
name: z.ZodNullable<z.ZodString>;
|
|
29642
29837
|
role: z.ZodEnum<["owner", "admin", "editor", "viewer"]>;
|
|
29643
29838
|
created_at: z.ZodString;
|
|
29839
|
+
source: z.ZodOptional<z.ZodEnum<["invited", "company"]>>;
|
|
29840
|
+
company_role: z.ZodOptional<z.ZodNullable<z.ZodEnum<["owner", "admin"]>>>;
|
|
29841
|
+
company_checked_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
29842
|
+
direct_role: z.ZodOptional<z.ZodNullable<z.ZodEnum<["owner", "admin", "editor", "viewer"]>>>;
|
|
29843
|
+
inherited: z.ZodOptional<z.ZodBoolean>;
|
|
29644
29844
|
}, "strip", z.ZodTypeAny, {
|
|
29645
29845
|
id: string;
|
|
29646
29846
|
email: string;
|
|
@@ -29648,6 +29848,11 @@ declare const foundationRoutes: {
|
|
|
29648
29848
|
subject: string;
|
|
29649
29849
|
created_at: string;
|
|
29650
29850
|
role: "owner" | "admin" | "editor" | "viewer";
|
|
29851
|
+
source?: "invited" | "company" | undefined;
|
|
29852
|
+
company_role?: "owner" | "admin" | null | undefined;
|
|
29853
|
+
company_checked_at?: string | null | undefined;
|
|
29854
|
+
direct_role?: "owner" | "admin" | "editor" | "viewer" | null | undefined;
|
|
29855
|
+
inherited?: boolean | undefined;
|
|
29651
29856
|
}, {
|
|
29652
29857
|
id: string;
|
|
29653
29858
|
email: string;
|
|
@@ -29655,6 +29860,11 @@ declare const foundationRoutes: {
|
|
|
29655
29860
|
subject: string;
|
|
29656
29861
|
created_at: string;
|
|
29657
29862
|
role: "owner" | "admin" | "editor" | "viewer";
|
|
29863
|
+
source?: "invited" | "company" | undefined;
|
|
29864
|
+
company_role?: "owner" | "admin" | null | undefined;
|
|
29865
|
+
company_checked_at?: string | null | undefined;
|
|
29866
|
+
direct_role?: "owner" | "admin" | "editor" | "viewer" | null | undefined;
|
|
29867
|
+
inherited?: boolean | undefined;
|
|
29658
29868
|
}>;
|
|
29659
29869
|
readonly status: 200;
|
|
29660
29870
|
readonly access: "admin";
|
|
@@ -29681,6 +29891,69 @@ declare const foundationRoutes: {
|
|
|
29681
29891
|
readonly access: "admin";
|
|
29682
29892
|
readonly phase: "S0";
|
|
29683
29893
|
};
|
|
29894
|
+
/**
|
|
29895
|
+
* The dashboard states the signed-in person's owner and admin roles in
|
|
29896
|
+
* companies, and the service brings the member lists in line (see
|
|
29897
|
+
* `MemberCompanySync`). `dashboard` access: the dashboard's service token
|
|
29898
|
+
* and the person's subject, no workspace. An API key is refused, and so is
|
|
29899
|
+
* every trusted application: it is not in any `TRUSTED_APP_OPERATIONS` list
|
|
29900
|
+
* and the handler refuses an application once more by itself.
|
|
29901
|
+
*/
|
|
29902
|
+
readonly 'members.syncCompanyRole': {
|
|
29903
|
+
readonly method: "POST";
|
|
29904
|
+
readonly path: "/v1/members/company-sync";
|
|
29905
|
+
readonly body: z.ZodObject<{
|
|
29906
|
+
email: z.ZodString;
|
|
29907
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
29908
|
+
companies: z.ZodEffects<z.ZodArray<z.ZodObject<{
|
|
29909
|
+
company_id: z.ZodString;
|
|
29910
|
+
role: z.ZodEnum<["owner", "admin"]>;
|
|
29911
|
+
}, "strip", z.ZodTypeAny, {
|
|
29912
|
+
company_id: string;
|
|
29913
|
+
role: "owner" | "admin";
|
|
29914
|
+
}, {
|
|
29915
|
+
company_id: string;
|
|
29916
|
+
role: "owner" | "admin";
|
|
29917
|
+
}>, "many">, {
|
|
29918
|
+
company_id: string;
|
|
29919
|
+
role: "owner" | "admin";
|
|
29920
|
+
}[], {
|
|
29921
|
+
company_id: string;
|
|
29922
|
+
role: "owner" | "admin";
|
|
29923
|
+
}[]>;
|
|
29924
|
+
}, "strip", z.ZodTypeAny, {
|
|
29925
|
+
email: string;
|
|
29926
|
+
companies: {
|
|
29927
|
+
company_id: string;
|
|
29928
|
+
role: "owner" | "admin";
|
|
29929
|
+
}[];
|
|
29930
|
+
name?: string | null | undefined;
|
|
29931
|
+
}, {
|
|
29932
|
+
email: string;
|
|
29933
|
+
companies: {
|
|
29934
|
+
company_id: string;
|
|
29935
|
+
role: "owner" | "admin";
|
|
29936
|
+
}[];
|
|
29937
|
+
name?: string | null | undefined;
|
|
29938
|
+
}>;
|
|
29939
|
+
readonly response: z.ZodObject<{
|
|
29940
|
+
granted: z.ZodArray<z.ZodString, "many">;
|
|
29941
|
+
revoked: z.ZodArray<z.ZodString, "many">;
|
|
29942
|
+
unchanged: z.ZodArray<z.ZodString, "many">;
|
|
29943
|
+
}, "strip", z.ZodTypeAny, {
|
|
29944
|
+
unchanged: string[];
|
|
29945
|
+
granted: string[];
|
|
29946
|
+
revoked: string[];
|
|
29947
|
+
}, {
|
|
29948
|
+
unchanged: string[];
|
|
29949
|
+
granted: string[];
|
|
29950
|
+
revoked: string[];
|
|
29951
|
+
}>;
|
|
29952
|
+
readonly status: 200;
|
|
29953
|
+
readonly access: "dashboard";
|
|
29954
|
+
readonly phase: "S0";
|
|
29955
|
+
readonly statement: true;
|
|
29956
|
+
};
|
|
29684
29957
|
readonly 'apiKeys.list': {
|
|
29685
29958
|
readonly method: "GET";
|
|
29686
29959
|
readonly path: "/v1/api-keys";
|
|
@@ -29861,23 +30134,23 @@ declare const foundationRoutes: {
|
|
|
29861
30134
|
cursor: z.ZodOptional<z.ZodString>;
|
|
29862
30135
|
limit: z.ZodOptional<z.ZodNumber>;
|
|
29863
30136
|
} & {
|
|
29864
|
-
action: z.ZodOptional<z.ZodEnum<["workspace.created", "workspace.updated", "workspace.company_changed", "member.added", "member.role_changed", "member.removed", "member.invited", "invite.revoked", "api_key.created", "api_key.revoked", "provider.created", "provider.updated", "provider.deleted", "provider.events_registered", "provider.events_secret_set", "provider.bounces_halted", "provider.anomaly_cleared", "topic.created", "topic.updated", "topic.deleted", "template.created", "template.updated", "template.deleted", "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.retried", "webhook.created", "webhook.updated", "webhook.deleted", "webhook.secret_rotated", "webhook.redelivered", "contact.unsubscribed", "tag.created", "tag.deleted", "tag.assigned", "tag.unassigned", "contact_property.created", "contact_property.deleted", "segment.created", "segment.updated", "segment.deleted", "signup_form.created", "signup_form.updated", "signup_form.deleted", "contact.subscribed", "import.created", "import.mapped", "import.committed", "import.cancelled", "import.finished", "mailing.scheduled", "mailing.unscheduled", "mailing.schedule_failed", "mailing.ab_test_updated", "mailing.ab_winner_selected", "tracking.updated", "billing.checkout_started", "billing.subscription_changed", "billing.exemption_changed", "automation.created", "automation.updated", "automation.published", "automation.paused", "automation.resumed", "automation.archived", "automation.deleted", "automation.duplicated", "automation.enrolled", "automation.run_ended", "event.recorded"]>>;
|
|
30137
|
+
action: z.ZodOptional<z.ZodEnum<["workspace.created", "workspace.updated", "workspace.company_changed", "member.added", "member.role_changed", "member.removed", "member.invited", "invite.revoked", "api_key.created", "api_key.revoked", "provider.created", "provider.updated", "provider.deleted", "provider.events_registered", "provider.events_secret_set", "provider.bounces_halted", "provider.anomaly_cleared", "topic.created", "topic.updated", "topic.deleted", "template.created", "template.updated", "template.deleted", "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", "automation.created", "automation.updated", "automation.published", "automation.paused", "automation.resumed", "automation.archived", "automation.deleted", "automation.duplicated", "automation.enrolled", "automation.run_ended", "event.recorded"]>>;
|
|
29865
30138
|
target_id: z.ZodOptional<z.ZodString>;
|
|
29866
30139
|
}, "strip", z.ZodTypeAny, {
|
|
29867
30140
|
cursor?: string | undefined;
|
|
29868
30141
|
limit?: number | undefined;
|
|
29869
|
-
action?: "workspace.created" | "workspace.updated" | "workspace.company_changed" | "member.added" | "member.role_changed" | "member.removed" | "member.invited" | "invite.revoked" | "api_key.created" | "api_key.revoked" | "provider.created" | "provider.updated" | "provider.deleted" | "provider.events_registered" | "provider.events_secret_set" | "provider.bounces_halted" | "provider.anomaly_cleared" | "topic.created" | "topic.updated" | "topic.deleted" | "template.created" | "template.updated" | "template.deleted" | "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.retried" | "webhook.created" | "webhook.updated" | "webhook.deleted" | "webhook.secret_rotated" | "webhook.redelivered" | "contact.unsubscribed" | "tag.created" | "tag.deleted" | "tag.assigned" | "tag.unassigned" | "contact_property.created" | "contact_property.deleted" | "segment.created" | "segment.updated" | "segment.deleted" | "signup_form.created" | "signup_form.updated" | "signup_form.deleted" | "contact.subscribed" | "import.created" | "import.mapped" | "import.committed" | "import.cancelled" | "import.finished" | "mailing.scheduled" | "mailing.unscheduled" | "mailing.schedule_failed" | "mailing.ab_test_updated" | "mailing.ab_winner_selected" | "tracking.updated" | "billing.checkout_started" | "billing.subscription_changed" | "billing.exemption_changed" | "automation.created" | "automation.updated" | "automation.published" | "automation.paused" | "automation.resumed" | "automation.archived" | "automation.deleted" | "automation.duplicated" | "automation.enrolled" | "automation.run_ended" | "event.recorded" | undefined;
|
|
30142
|
+
action?: "workspace.created" | "workspace.updated" | "workspace.company_changed" | "member.added" | "member.role_changed" | "member.removed" | "member.invited" | "invite.revoked" | "api_key.created" | "api_key.revoked" | "provider.created" | "provider.updated" | "provider.deleted" | "provider.events_registered" | "provider.events_secret_set" | "provider.bounces_halted" | "provider.anomaly_cleared" | "topic.created" | "topic.updated" | "topic.deleted" | "template.created" | "template.updated" | "template.deleted" | "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" | "automation.created" | "automation.updated" | "automation.published" | "automation.paused" | "automation.resumed" | "automation.archived" | "automation.deleted" | "automation.duplicated" | "automation.enrolled" | "automation.run_ended" | "event.recorded" | undefined;
|
|
29870
30143
|
target_id?: string | undefined;
|
|
29871
30144
|
}, {
|
|
29872
30145
|
cursor?: string | undefined;
|
|
29873
30146
|
limit?: number | undefined;
|
|
29874
|
-
action?: "workspace.created" | "workspace.updated" | "workspace.company_changed" | "member.added" | "member.role_changed" | "member.removed" | "member.invited" | "invite.revoked" | "api_key.created" | "api_key.revoked" | "provider.created" | "provider.updated" | "provider.deleted" | "provider.events_registered" | "provider.events_secret_set" | "provider.bounces_halted" | "provider.anomaly_cleared" | "topic.created" | "topic.updated" | "topic.deleted" | "template.created" | "template.updated" | "template.deleted" | "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.retried" | "webhook.created" | "webhook.updated" | "webhook.deleted" | "webhook.secret_rotated" | "webhook.redelivered" | "contact.unsubscribed" | "tag.created" | "tag.deleted" | "tag.assigned" | "tag.unassigned" | "contact_property.created" | "contact_property.deleted" | "segment.created" | "segment.updated" | "segment.deleted" | "signup_form.created" | "signup_form.updated" | "signup_form.deleted" | "contact.subscribed" | "import.created" | "import.mapped" | "import.committed" | "import.cancelled" | "import.finished" | "mailing.scheduled" | "mailing.unscheduled" | "mailing.schedule_failed" | "mailing.ab_test_updated" | "mailing.ab_winner_selected" | "tracking.updated" | "billing.checkout_started" | "billing.subscription_changed" | "billing.exemption_changed" | "automation.created" | "automation.updated" | "automation.published" | "automation.paused" | "automation.resumed" | "automation.archived" | "automation.deleted" | "automation.duplicated" | "automation.enrolled" | "automation.run_ended" | "event.recorded" | undefined;
|
|
30147
|
+
action?: "workspace.created" | "workspace.updated" | "workspace.company_changed" | "member.added" | "member.role_changed" | "member.removed" | "member.invited" | "invite.revoked" | "api_key.created" | "api_key.revoked" | "provider.created" | "provider.updated" | "provider.deleted" | "provider.events_registered" | "provider.events_secret_set" | "provider.bounces_halted" | "provider.anomaly_cleared" | "topic.created" | "topic.updated" | "topic.deleted" | "template.created" | "template.updated" | "template.deleted" | "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" | "automation.created" | "automation.updated" | "automation.published" | "automation.paused" | "automation.resumed" | "automation.archived" | "automation.deleted" | "automation.duplicated" | "automation.enrolled" | "automation.run_ended" | "event.recorded" | undefined;
|
|
29875
30148
|
target_id?: string | undefined;
|
|
29876
30149
|
}>;
|
|
29877
30150
|
readonly response: z.ZodObject<{
|
|
29878
30151
|
data: z.ZodArray<z.ZodObject<{
|
|
29879
30152
|
id: z.ZodString;
|
|
29880
|
-
action: z.ZodEnum<["workspace.created", "workspace.updated", "workspace.company_changed", "member.added", "member.role_changed", "member.removed", "member.invited", "invite.revoked", "api_key.created", "api_key.revoked", "provider.created", "provider.updated", "provider.deleted", "provider.events_registered", "provider.events_secret_set", "provider.bounces_halted", "provider.anomaly_cleared", "topic.created", "topic.updated", "topic.deleted", "template.created", "template.updated", "template.deleted", "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.retried", "webhook.created", "webhook.updated", "webhook.deleted", "webhook.secret_rotated", "webhook.redelivered", "contact.unsubscribed", "tag.created", "tag.deleted", "tag.assigned", "tag.unassigned", "contact_property.created", "contact_property.deleted", "segment.created", "segment.updated", "segment.deleted", "signup_form.created", "signup_form.updated", "signup_form.deleted", "contact.subscribed", "import.created", "import.mapped", "import.committed", "import.cancelled", "import.finished", "mailing.scheduled", "mailing.unscheduled", "mailing.schedule_failed", "mailing.ab_test_updated", "mailing.ab_winner_selected", "tracking.updated", "billing.checkout_started", "billing.subscription_changed", "billing.exemption_changed", "automation.created", "automation.updated", "automation.published", "automation.paused", "automation.resumed", "automation.archived", "automation.deleted", "automation.duplicated", "automation.enrolled", "automation.run_ended", "event.recorded"]>;
|
|
30153
|
+
action: z.ZodEnum<["workspace.created", "workspace.updated", "workspace.company_changed", "member.added", "member.role_changed", "member.removed", "member.invited", "invite.revoked", "api_key.created", "api_key.revoked", "provider.created", "provider.updated", "provider.deleted", "provider.events_registered", "provider.events_secret_set", "provider.bounces_halted", "provider.anomaly_cleared", "topic.created", "topic.updated", "topic.deleted", "template.created", "template.updated", "template.deleted", "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", "automation.created", "automation.updated", "automation.published", "automation.paused", "automation.resumed", "automation.archived", "automation.deleted", "automation.duplicated", "automation.enrolled", "automation.run_ended", "event.recorded"]>;
|
|
29881
30154
|
actor: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
29882
30155
|
type: z.ZodLiteral<"member">;
|
|
29883
30156
|
member_id: z.ZodString;
|
|
@@ -29923,7 +30196,7 @@ declare const foundationRoutes: {
|
|
|
29923
30196
|
id: string;
|
|
29924
30197
|
details: Record<string, unknown>;
|
|
29925
30198
|
created_at: string;
|
|
29926
|
-
action: "workspace.created" | "workspace.updated" | "workspace.company_changed" | "member.added" | "member.role_changed" | "member.removed" | "member.invited" | "invite.revoked" | "api_key.created" | "api_key.revoked" | "provider.created" | "provider.updated" | "provider.deleted" | "provider.events_registered" | "provider.events_secret_set" | "provider.bounces_halted" | "provider.anomaly_cleared" | "topic.created" | "topic.updated" | "topic.deleted" | "template.created" | "template.updated" | "template.deleted" | "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.retried" | "webhook.created" | "webhook.updated" | "webhook.deleted" | "webhook.secret_rotated" | "webhook.redelivered" | "contact.unsubscribed" | "tag.created" | "tag.deleted" | "tag.assigned" | "tag.unassigned" | "contact_property.created" | "contact_property.deleted" | "segment.created" | "segment.updated" | "segment.deleted" | "signup_form.created" | "signup_form.updated" | "signup_form.deleted" | "contact.subscribed" | "import.created" | "import.mapped" | "import.committed" | "import.cancelled" | "import.finished" | "mailing.scheduled" | "mailing.unscheduled" | "mailing.schedule_failed" | "mailing.ab_test_updated" | "mailing.ab_winner_selected" | "tracking.updated" | "billing.checkout_started" | "billing.subscription_changed" | "billing.exemption_changed" | "automation.created" | "automation.updated" | "automation.published" | "automation.paused" | "automation.resumed" | "automation.archived" | "automation.deleted" | "automation.duplicated" | "automation.enrolled" | "automation.run_ended" | "event.recorded";
|
|
30199
|
+
action: "workspace.created" | "workspace.updated" | "workspace.company_changed" | "member.added" | "member.role_changed" | "member.removed" | "member.invited" | "invite.revoked" | "api_key.created" | "api_key.revoked" | "provider.created" | "provider.updated" | "provider.deleted" | "provider.events_registered" | "provider.events_secret_set" | "provider.bounces_halted" | "provider.anomaly_cleared" | "topic.created" | "topic.updated" | "topic.deleted" | "template.created" | "template.updated" | "template.deleted" | "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" | "automation.created" | "automation.updated" | "automation.published" | "automation.paused" | "automation.resumed" | "automation.archived" | "automation.deleted" | "automation.duplicated" | "automation.enrolled" | "automation.run_ended" | "event.recorded";
|
|
29927
30200
|
actor: {
|
|
29928
30201
|
type: "member";
|
|
29929
30202
|
subject: string;
|
|
@@ -29943,7 +30216,7 @@ declare const foundationRoutes: {
|
|
|
29943
30216
|
id: string;
|
|
29944
30217
|
details: Record<string, unknown>;
|
|
29945
30218
|
created_at: string;
|
|
29946
|
-
action: "workspace.created" | "workspace.updated" | "workspace.company_changed" | "member.added" | "member.role_changed" | "member.removed" | "member.invited" | "invite.revoked" | "api_key.created" | "api_key.revoked" | "provider.created" | "provider.updated" | "provider.deleted" | "provider.events_registered" | "provider.events_secret_set" | "provider.bounces_halted" | "provider.anomaly_cleared" | "topic.created" | "topic.updated" | "topic.deleted" | "template.created" | "template.updated" | "template.deleted" | "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.retried" | "webhook.created" | "webhook.updated" | "webhook.deleted" | "webhook.secret_rotated" | "webhook.redelivered" | "contact.unsubscribed" | "tag.created" | "tag.deleted" | "tag.assigned" | "tag.unassigned" | "contact_property.created" | "contact_property.deleted" | "segment.created" | "segment.updated" | "segment.deleted" | "signup_form.created" | "signup_form.updated" | "signup_form.deleted" | "contact.subscribed" | "import.created" | "import.mapped" | "import.committed" | "import.cancelled" | "import.finished" | "mailing.scheduled" | "mailing.unscheduled" | "mailing.schedule_failed" | "mailing.ab_test_updated" | "mailing.ab_winner_selected" | "tracking.updated" | "billing.checkout_started" | "billing.subscription_changed" | "billing.exemption_changed" | "automation.created" | "automation.updated" | "automation.published" | "automation.paused" | "automation.resumed" | "automation.archived" | "automation.deleted" | "automation.duplicated" | "automation.enrolled" | "automation.run_ended" | "event.recorded";
|
|
30219
|
+
action: "workspace.created" | "workspace.updated" | "workspace.company_changed" | "member.added" | "member.role_changed" | "member.removed" | "member.invited" | "invite.revoked" | "api_key.created" | "api_key.revoked" | "provider.created" | "provider.updated" | "provider.deleted" | "provider.events_registered" | "provider.events_secret_set" | "provider.bounces_halted" | "provider.anomaly_cleared" | "topic.created" | "topic.updated" | "topic.deleted" | "template.created" | "template.updated" | "template.deleted" | "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" | "automation.created" | "automation.updated" | "automation.published" | "automation.paused" | "automation.resumed" | "automation.archived" | "automation.deleted" | "automation.duplicated" | "automation.enrolled" | "automation.run_ended" | "event.recorded";
|
|
29947
30220
|
actor: {
|
|
29948
30221
|
type: "member";
|
|
29949
30222
|
subject: string;
|
|
@@ -29966,7 +30239,7 @@ declare const foundationRoutes: {
|
|
|
29966
30239
|
id: string;
|
|
29967
30240
|
details: Record<string, unknown>;
|
|
29968
30241
|
created_at: string;
|
|
29969
|
-
action: "workspace.created" | "workspace.updated" | "workspace.company_changed" | "member.added" | "member.role_changed" | "member.removed" | "member.invited" | "invite.revoked" | "api_key.created" | "api_key.revoked" | "provider.created" | "provider.updated" | "provider.deleted" | "provider.events_registered" | "provider.events_secret_set" | "provider.bounces_halted" | "provider.anomaly_cleared" | "topic.created" | "topic.updated" | "topic.deleted" | "template.created" | "template.updated" | "template.deleted" | "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.retried" | "webhook.created" | "webhook.updated" | "webhook.deleted" | "webhook.secret_rotated" | "webhook.redelivered" | "contact.unsubscribed" | "tag.created" | "tag.deleted" | "tag.assigned" | "tag.unassigned" | "contact_property.created" | "contact_property.deleted" | "segment.created" | "segment.updated" | "segment.deleted" | "signup_form.created" | "signup_form.updated" | "signup_form.deleted" | "contact.subscribed" | "import.created" | "import.mapped" | "import.committed" | "import.cancelled" | "import.finished" | "mailing.scheduled" | "mailing.unscheduled" | "mailing.schedule_failed" | "mailing.ab_test_updated" | "mailing.ab_winner_selected" | "tracking.updated" | "billing.checkout_started" | "billing.subscription_changed" | "billing.exemption_changed" | "automation.created" | "automation.updated" | "automation.published" | "automation.paused" | "automation.resumed" | "automation.archived" | "automation.deleted" | "automation.duplicated" | "automation.enrolled" | "automation.run_ended" | "event.recorded";
|
|
30242
|
+
action: "workspace.created" | "workspace.updated" | "workspace.company_changed" | "member.added" | "member.role_changed" | "member.removed" | "member.invited" | "invite.revoked" | "api_key.created" | "api_key.revoked" | "provider.created" | "provider.updated" | "provider.deleted" | "provider.events_registered" | "provider.events_secret_set" | "provider.bounces_halted" | "provider.anomaly_cleared" | "topic.created" | "topic.updated" | "topic.deleted" | "template.created" | "template.updated" | "template.deleted" | "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" | "automation.created" | "automation.updated" | "automation.published" | "automation.paused" | "automation.resumed" | "automation.archived" | "automation.deleted" | "automation.duplicated" | "automation.enrolled" | "automation.run_ended" | "event.recorded";
|
|
29970
30243
|
actor: {
|
|
29971
30244
|
type: "member";
|
|
29972
30245
|
subject: string;
|
|
@@ -29989,7 +30262,7 @@ declare const foundationRoutes: {
|
|
|
29989
30262
|
id: string;
|
|
29990
30263
|
details: Record<string, unknown>;
|
|
29991
30264
|
created_at: string;
|
|
29992
|
-
action: "workspace.created" | "workspace.updated" | "workspace.company_changed" | "member.added" | "member.role_changed" | "member.removed" | "member.invited" | "invite.revoked" | "api_key.created" | "api_key.revoked" | "provider.created" | "provider.updated" | "provider.deleted" | "provider.events_registered" | "provider.events_secret_set" | "provider.bounces_halted" | "provider.anomaly_cleared" | "topic.created" | "topic.updated" | "topic.deleted" | "template.created" | "template.updated" | "template.deleted" | "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.retried" | "webhook.created" | "webhook.updated" | "webhook.deleted" | "webhook.secret_rotated" | "webhook.redelivered" | "contact.unsubscribed" | "tag.created" | "tag.deleted" | "tag.assigned" | "tag.unassigned" | "contact_property.created" | "contact_property.deleted" | "segment.created" | "segment.updated" | "segment.deleted" | "signup_form.created" | "signup_form.updated" | "signup_form.deleted" | "contact.subscribed" | "import.created" | "import.mapped" | "import.committed" | "import.cancelled" | "import.finished" | "mailing.scheduled" | "mailing.unscheduled" | "mailing.schedule_failed" | "mailing.ab_test_updated" | "mailing.ab_winner_selected" | "tracking.updated" | "billing.checkout_started" | "billing.subscription_changed" | "billing.exemption_changed" | "automation.created" | "automation.updated" | "automation.published" | "automation.paused" | "automation.resumed" | "automation.archived" | "automation.deleted" | "automation.duplicated" | "automation.enrolled" | "automation.run_ended" | "event.recorded";
|
|
30265
|
+
action: "workspace.created" | "workspace.updated" | "workspace.company_changed" | "member.added" | "member.role_changed" | "member.removed" | "member.invited" | "invite.revoked" | "api_key.created" | "api_key.revoked" | "provider.created" | "provider.updated" | "provider.deleted" | "provider.events_registered" | "provider.events_secret_set" | "provider.bounces_halted" | "provider.anomaly_cleared" | "topic.created" | "topic.updated" | "topic.deleted" | "template.created" | "template.updated" | "template.deleted" | "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" | "automation.created" | "automation.updated" | "automation.published" | "automation.paused" | "automation.resumed" | "automation.archived" | "automation.deleted" | "automation.duplicated" | "automation.enrolled" | "automation.run_ended" | "event.recorded";
|
|
29993
30266
|
actor: {
|
|
29994
30267
|
type: "member";
|
|
29995
30268
|
subject: string;
|
|
@@ -43911,6 +44184,37 @@ declare const sendingRoutes: {
|
|
|
43911
44184
|
readonly access: "write";
|
|
43912
44185
|
readonly phase: "S2";
|
|
43913
44186
|
};
|
|
44187
|
+
/**
|
|
44188
|
+
* Deletes a mailing that never started: a broadcast in `draft`, or one
|
|
44189
|
+
* `cancelled` before any send began (`canDeleteMailing`). Its recipients,
|
|
44190
|
+
* A/B variants and compiled content go with it. Test sends made from it stay
|
|
44191
|
+
* in the archive, with `mailing_id` null: they are mail that really went out.
|
|
44192
|
+
* Anything else is `mailing_invalid_state` (409): a scheduled mailing is
|
|
44193
|
+
* unscheduled first, and a mailing that started is the record of what was
|
|
44194
|
+
* sent. An automation's mailing is `conflict`; a transactional letter is
|
|
44195
|
+
* deleted only by a key that may write one (`forbidden`).
|
|
44196
|
+
*/
|
|
44197
|
+
readonly 'mailings.delete': {
|
|
44198
|
+
readonly method: "DELETE";
|
|
44199
|
+
readonly path: "/v1/mailings/:id";
|
|
44200
|
+
readonly params: z.ZodObject<{
|
|
44201
|
+
id: z.ZodString;
|
|
44202
|
+
}, "strip", z.ZodTypeAny, {
|
|
44203
|
+
id: string;
|
|
44204
|
+
}, {
|
|
44205
|
+
id: string;
|
|
44206
|
+
}>;
|
|
44207
|
+
readonly response: z.ZodObject<{
|
|
44208
|
+
ok: z.ZodLiteral<true>;
|
|
44209
|
+
}, "strip", z.ZodTypeAny, {
|
|
44210
|
+
ok: true;
|
|
44211
|
+
}, {
|
|
44212
|
+
ok: true;
|
|
44213
|
+
}>;
|
|
44214
|
+
readonly status: 200;
|
|
44215
|
+
readonly access: "write";
|
|
44216
|
+
readonly phase: "S2";
|
|
44217
|
+
};
|
|
43914
44218
|
readonly 'mailings.retryFailed': {
|
|
43915
44219
|
readonly method: "POST";
|
|
43916
44220
|
readonly path: "/v1/mailings/:id/retry-failed";
|
|
@@ -49340,7 +49644,7 @@ declare const inviteRoutes: {
|
|
|
49340
49644
|
revoked_at: z.ZodNullable<z.ZodString>;
|
|
49341
49645
|
created_at: z.ZodString;
|
|
49342
49646
|
}, "strip", z.ZodTypeAny, {
|
|
49343
|
-
status: "pending" | "
|
|
49647
|
+
status: "pending" | "revoked" | "accepted" | "expired";
|
|
49344
49648
|
id: string;
|
|
49345
49649
|
email: string;
|
|
49346
49650
|
created_at: string;
|
|
@@ -49353,7 +49657,7 @@ declare const inviteRoutes: {
|
|
|
49353
49657
|
expires_at: string;
|
|
49354
49658
|
accepted_at: string | null;
|
|
49355
49659
|
}, {
|
|
49356
|
-
status: "pending" | "
|
|
49660
|
+
status: "pending" | "revoked" | "accepted" | "expired";
|
|
49357
49661
|
id: string;
|
|
49358
49662
|
email: string;
|
|
49359
49663
|
created_at: string;
|
|
@@ -49369,7 +49673,7 @@ declare const inviteRoutes: {
|
|
|
49369
49673
|
token: z.ZodString;
|
|
49370
49674
|
}, "strip", z.ZodTypeAny, {
|
|
49371
49675
|
invite: {
|
|
49372
|
-
status: "pending" | "
|
|
49676
|
+
status: "pending" | "revoked" | "accepted" | "expired";
|
|
49373
49677
|
id: string;
|
|
49374
49678
|
email: string;
|
|
49375
49679
|
created_at: string;
|
|
@@ -49385,7 +49689,7 @@ declare const inviteRoutes: {
|
|
|
49385
49689
|
token: string;
|
|
49386
49690
|
}, {
|
|
49387
49691
|
invite: {
|
|
49388
|
-
status: "pending" | "
|
|
49692
|
+
status: "pending" | "revoked" | "accepted" | "expired";
|
|
49389
49693
|
id: string;
|
|
49390
49694
|
email: string;
|
|
49391
49695
|
created_at: string;
|
|
@@ -49413,11 +49717,11 @@ declare const inviteRoutes: {
|
|
|
49413
49717
|
} & {
|
|
49414
49718
|
status: z.ZodOptional<z.ZodEnum<["pending", "accepted", "revoked", "expired"]>>;
|
|
49415
49719
|
}, "strip", z.ZodTypeAny, {
|
|
49416
|
-
status?: "pending" | "
|
|
49720
|
+
status?: "pending" | "revoked" | "accepted" | "expired" | undefined;
|
|
49417
49721
|
cursor?: string | undefined;
|
|
49418
49722
|
limit?: number | undefined;
|
|
49419
49723
|
}, {
|
|
49420
|
-
status?: "pending" | "
|
|
49724
|
+
status?: "pending" | "revoked" | "accepted" | "expired" | undefined;
|
|
49421
49725
|
cursor?: string | undefined;
|
|
49422
49726
|
limit?: number | undefined;
|
|
49423
49727
|
}>;
|
|
@@ -49442,7 +49746,7 @@ declare const inviteRoutes: {
|
|
|
49442
49746
|
revoked_at: z.ZodNullable<z.ZodString>;
|
|
49443
49747
|
created_at: z.ZodString;
|
|
49444
49748
|
}, "strip", z.ZodTypeAny, {
|
|
49445
|
-
status: "pending" | "
|
|
49749
|
+
status: "pending" | "revoked" | "accepted" | "expired";
|
|
49446
49750
|
id: string;
|
|
49447
49751
|
email: string;
|
|
49448
49752
|
created_at: string;
|
|
@@ -49455,7 +49759,7 @@ declare const inviteRoutes: {
|
|
|
49455
49759
|
expires_at: string;
|
|
49456
49760
|
accepted_at: string | null;
|
|
49457
49761
|
}, {
|
|
49458
|
-
status: "pending" | "
|
|
49762
|
+
status: "pending" | "revoked" | "accepted" | "expired";
|
|
49459
49763
|
id: string;
|
|
49460
49764
|
email: string;
|
|
49461
49765
|
created_at: string;
|
|
@@ -49471,7 +49775,7 @@ declare const inviteRoutes: {
|
|
|
49471
49775
|
next_cursor: z.ZodNullable<z.ZodString>;
|
|
49472
49776
|
}, "strip", z.ZodTypeAny, {
|
|
49473
49777
|
data: {
|
|
49474
|
-
status: "pending" | "
|
|
49778
|
+
status: "pending" | "revoked" | "accepted" | "expired";
|
|
49475
49779
|
id: string;
|
|
49476
49780
|
email: string;
|
|
49477
49781
|
created_at: string;
|
|
@@ -49487,7 +49791,7 @@ declare const inviteRoutes: {
|
|
|
49487
49791
|
next_cursor: string | null;
|
|
49488
49792
|
}, {
|
|
49489
49793
|
data: {
|
|
49490
|
-
status: "pending" | "
|
|
49794
|
+
status: "pending" | "revoked" | "accepted" | "expired";
|
|
49491
49795
|
id: string;
|
|
49492
49796
|
email: string;
|
|
49493
49797
|
created_at: string;
|
|
@@ -49536,7 +49840,7 @@ declare const inviteRoutes: {
|
|
|
49536
49840
|
revoked_at: z.ZodNullable<z.ZodString>;
|
|
49537
49841
|
created_at: z.ZodString;
|
|
49538
49842
|
}, "strip", z.ZodTypeAny, {
|
|
49539
|
-
status: "pending" | "
|
|
49843
|
+
status: "pending" | "revoked" | "accepted" | "expired";
|
|
49540
49844
|
id: string;
|
|
49541
49845
|
email: string;
|
|
49542
49846
|
created_at: string;
|
|
@@ -49549,7 +49853,7 @@ declare const inviteRoutes: {
|
|
|
49549
49853
|
expires_at: string;
|
|
49550
49854
|
accepted_at: string | null;
|
|
49551
49855
|
}, {
|
|
49552
|
-
status: "pending" | "
|
|
49856
|
+
status: "pending" | "revoked" | "accepted" | "expired";
|
|
49553
49857
|
id: string;
|
|
49554
49858
|
email: string;
|
|
49555
49859
|
created_at: string;
|
|
@@ -90733,7 +91037,7 @@ declare const routes: {
|
|
|
90733
91037
|
revoked_at: z.ZodNullable<z.ZodString>;
|
|
90734
91038
|
created_at: z.ZodString;
|
|
90735
91039
|
}, "strip", z.ZodTypeAny, {
|
|
90736
|
-
status: "pending" | "
|
|
91040
|
+
status: "pending" | "revoked" | "accepted" | "expired";
|
|
90737
91041
|
id: string;
|
|
90738
91042
|
email: string;
|
|
90739
91043
|
created_at: string;
|
|
@@ -90746,7 +91050,7 @@ declare const routes: {
|
|
|
90746
91050
|
expires_at: string;
|
|
90747
91051
|
accepted_at: string | null;
|
|
90748
91052
|
}, {
|
|
90749
|
-
status: "pending" | "
|
|
91053
|
+
status: "pending" | "revoked" | "accepted" | "expired";
|
|
90750
91054
|
id: string;
|
|
90751
91055
|
email: string;
|
|
90752
91056
|
created_at: string;
|
|
@@ -90762,7 +91066,7 @@ declare const routes: {
|
|
|
90762
91066
|
token: z.ZodString;
|
|
90763
91067
|
}, "strip", z.ZodTypeAny, {
|
|
90764
91068
|
invite: {
|
|
90765
|
-
status: "pending" | "
|
|
91069
|
+
status: "pending" | "revoked" | "accepted" | "expired";
|
|
90766
91070
|
id: string;
|
|
90767
91071
|
email: string;
|
|
90768
91072
|
created_at: string;
|
|
@@ -90778,7 +91082,7 @@ declare const routes: {
|
|
|
90778
91082
|
token: string;
|
|
90779
91083
|
}, {
|
|
90780
91084
|
invite: {
|
|
90781
|
-
status: "pending" | "
|
|
91085
|
+
status: "pending" | "revoked" | "accepted" | "expired";
|
|
90782
91086
|
id: string;
|
|
90783
91087
|
email: string;
|
|
90784
91088
|
created_at: string;
|
|
@@ -90806,11 +91110,11 @@ declare const routes: {
|
|
|
90806
91110
|
} & {
|
|
90807
91111
|
status: z.ZodOptional<z.ZodEnum<["pending", "accepted", "revoked", "expired"]>>;
|
|
90808
91112
|
}, "strip", z.ZodTypeAny, {
|
|
90809
|
-
status?: "pending" | "
|
|
91113
|
+
status?: "pending" | "revoked" | "accepted" | "expired" | undefined;
|
|
90810
91114
|
cursor?: string | undefined;
|
|
90811
91115
|
limit?: number | undefined;
|
|
90812
91116
|
}, {
|
|
90813
|
-
status?: "pending" | "
|
|
91117
|
+
status?: "pending" | "revoked" | "accepted" | "expired" | undefined;
|
|
90814
91118
|
cursor?: string | undefined;
|
|
90815
91119
|
limit?: number | undefined;
|
|
90816
91120
|
}>;
|
|
@@ -90835,7 +91139,7 @@ declare const routes: {
|
|
|
90835
91139
|
revoked_at: z.ZodNullable<z.ZodString>;
|
|
90836
91140
|
created_at: z.ZodString;
|
|
90837
91141
|
}, "strip", z.ZodTypeAny, {
|
|
90838
|
-
status: "pending" | "
|
|
91142
|
+
status: "pending" | "revoked" | "accepted" | "expired";
|
|
90839
91143
|
id: string;
|
|
90840
91144
|
email: string;
|
|
90841
91145
|
created_at: string;
|
|
@@ -90848,7 +91152,7 @@ declare const routes: {
|
|
|
90848
91152
|
expires_at: string;
|
|
90849
91153
|
accepted_at: string | null;
|
|
90850
91154
|
}, {
|
|
90851
|
-
status: "pending" | "
|
|
91155
|
+
status: "pending" | "revoked" | "accepted" | "expired";
|
|
90852
91156
|
id: string;
|
|
90853
91157
|
email: string;
|
|
90854
91158
|
created_at: string;
|
|
@@ -90864,7 +91168,7 @@ declare const routes: {
|
|
|
90864
91168
|
next_cursor: z.ZodNullable<z.ZodString>;
|
|
90865
91169
|
}, "strip", z.ZodTypeAny, {
|
|
90866
91170
|
data: {
|
|
90867
|
-
status: "pending" | "
|
|
91171
|
+
status: "pending" | "revoked" | "accepted" | "expired";
|
|
90868
91172
|
id: string;
|
|
90869
91173
|
email: string;
|
|
90870
91174
|
created_at: string;
|
|
@@ -90880,7 +91184,7 @@ declare const routes: {
|
|
|
90880
91184
|
next_cursor: string | null;
|
|
90881
91185
|
}, {
|
|
90882
91186
|
data: {
|
|
90883
|
-
status: "pending" | "
|
|
91187
|
+
status: "pending" | "revoked" | "accepted" | "expired";
|
|
90884
91188
|
id: string;
|
|
90885
91189
|
email: string;
|
|
90886
91190
|
created_at: string;
|
|
@@ -90929,7 +91233,7 @@ declare const routes: {
|
|
|
90929
91233
|
revoked_at: z.ZodNullable<z.ZodString>;
|
|
90930
91234
|
created_at: z.ZodString;
|
|
90931
91235
|
}, "strip", z.ZodTypeAny, {
|
|
90932
|
-
status: "pending" | "
|
|
91236
|
+
status: "pending" | "revoked" | "accepted" | "expired";
|
|
90933
91237
|
id: string;
|
|
90934
91238
|
email: string;
|
|
90935
91239
|
created_at: string;
|
|
@@ -90942,7 +91246,7 @@ declare const routes: {
|
|
|
90942
91246
|
expires_at: string;
|
|
90943
91247
|
accepted_at: string | null;
|
|
90944
91248
|
}, {
|
|
90945
|
-
status: "pending" | "
|
|
91249
|
+
status: "pending" | "revoked" | "accepted" | "expired";
|
|
90946
91250
|
id: string;
|
|
90947
91251
|
email: string;
|
|
90948
91252
|
created_at: string;
|
|
@@ -97207,6 +97511,37 @@ declare const routes: {
|
|
|
97207
97511
|
readonly access: "write";
|
|
97208
97512
|
readonly phase: "S2";
|
|
97209
97513
|
};
|
|
97514
|
+
/**
|
|
97515
|
+
* Deletes a mailing that never started: a broadcast in `draft`, or one
|
|
97516
|
+
* `cancelled` before any send began (`canDeleteMailing`). Its recipients,
|
|
97517
|
+
* A/B variants and compiled content go with it. Test sends made from it stay
|
|
97518
|
+
* in the archive, with `mailing_id` null: they are mail that really went out.
|
|
97519
|
+
* Anything else is `mailing_invalid_state` (409): a scheduled mailing is
|
|
97520
|
+
* unscheduled first, and a mailing that started is the record of what was
|
|
97521
|
+
* sent. An automation's mailing is `conflict`; a transactional letter is
|
|
97522
|
+
* deleted only by a key that may write one (`forbidden`).
|
|
97523
|
+
*/
|
|
97524
|
+
readonly 'mailings.delete': {
|
|
97525
|
+
readonly method: "DELETE";
|
|
97526
|
+
readonly path: "/v1/mailings/:id";
|
|
97527
|
+
readonly params: z.ZodObject<{
|
|
97528
|
+
id: z.ZodString;
|
|
97529
|
+
}, "strip", z.ZodTypeAny, {
|
|
97530
|
+
id: string;
|
|
97531
|
+
}, {
|
|
97532
|
+
id: string;
|
|
97533
|
+
}>;
|
|
97534
|
+
readonly response: z.ZodObject<{
|
|
97535
|
+
ok: z.ZodLiteral<true>;
|
|
97536
|
+
}, "strip", z.ZodTypeAny, {
|
|
97537
|
+
ok: true;
|
|
97538
|
+
}, {
|
|
97539
|
+
ok: true;
|
|
97540
|
+
}>;
|
|
97541
|
+
readonly status: 200;
|
|
97542
|
+
readonly access: "write";
|
|
97543
|
+
readonly phase: "S2";
|
|
97544
|
+
};
|
|
97210
97545
|
readonly 'mailings.retryFailed': {
|
|
97211
97546
|
readonly method: "POST";
|
|
97212
97547
|
readonly path: "/v1/mailings/:id/retry-failed";
|
|
@@ -106258,7 +106593,7 @@ declare const routes: {
|
|
|
106258
106593
|
email: string;
|
|
106259
106594
|
name?: string | null | undefined;
|
|
106260
106595
|
}>;
|
|
106261
|
-
company_id: z.
|
|
106596
|
+
company_id: z.ZodString;
|
|
106262
106597
|
}, "strip", z.ZodTypeAny, {
|
|
106263
106598
|
name: string;
|
|
106264
106599
|
slug: string;
|
|
@@ -106266,6 +106601,7 @@ declare const routes: {
|
|
|
106266
106601
|
email: string;
|
|
106267
106602
|
name?: string | null | undefined;
|
|
106268
106603
|
};
|
|
106604
|
+
company_id: string;
|
|
106269
106605
|
settings?: {
|
|
106270
106606
|
asset_policy?: "any" | "service_only" | undefined;
|
|
106271
106607
|
default_locale?: string | undefined;
|
|
@@ -106275,7 +106611,6 @@ declare const routes: {
|
|
|
106275
106611
|
merge_defaults?: Record<string, string | number | boolean> | undefined;
|
|
106276
106612
|
default_timezone?: string | null | undefined;
|
|
106277
106613
|
} | undefined;
|
|
106278
|
-
company_id?: string | undefined;
|
|
106279
106614
|
}, {
|
|
106280
106615
|
name: string;
|
|
106281
106616
|
slug: string;
|
|
@@ -106283,6 +106618,7 @@ declare const routes: {
|
|
|
106283
106618
|
email: string;
|
|
106284
106619
|
name?: string | null | undefined;
|
|
106285
106620
|
};
|
|
106621
|
+
company_id: string;
|
|
106286
106622
|
settings?: {
|
|
106287
106623
|
asset_policy?: "any" | "service_only" | undefined;
|
|
106288
106624
|
default_locale?: string | undefined;
|
|
@@ -106292,7 +106628,6 @@ declare const routes: {
|
|
|
106292
106628
|
merge_defaults?: Record<string, string | number | boolean> | undefined;
|
|
106293
106629
|
default_timezone?: string | null | undefined;
|
|
106294
106630
|
} | undefined;
|
|
106295
|
-
company_id?: string | undefined;
|
|
106296
106631
|
}>;
|
|
106297
106632
|
readonly response: z.ZodObject<{
|
|
106298
106633
|
id: z.ZodString;
|
|
@@ -106813,6 +107148,11 @@ declare const routes: {
|
|
|
106813
107148
|
name: z.ZodNullable<z.ZodString>;
|
|
106814
107149
|
role: z.ZodEnum<["owner", "admin", "editor", "viewer"]>;
|
|
106815
107150
|
created_at: z.ZodString;
|
|
107151
|
+
source: z.ZodOptional<z.ZodEnum<["invited", "company"]>>;
|
|
107152
|
+
company_role: z.ZodOptional<z.ZodNullable<z.ZodEnum<["owner", "admin"]>>>;
|
|
107153
|
+
company_checked_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
107154
|
+
direct_role: z.ZodOptional<z.ZodNullable<z.ZodEnum<["owner", "admin", "editor", "viewer"]>>>;
|
|
107155
|
+
inherited: z.ZodOptional<z.ZodBoolean>;
|
|
106816
107156
|
}, "strip", z.ZodTypeAny, {
|
|
106817
107157
|
id: string;
|
|
106818
107158
|
email: string;
|
|
@@ -106820,6 +107160,11 @@ declare const routes: {
|
|
|
106820
107160
|
subject: string;
|
|
106821
107161
|
created_at: string;
|
|
106822
107162
|
role: "owner" | "admin" | "editor" | "viewer";
|
|
107163
|
+
source?: "invited" | "company" | undefined;
|
|
107164
|
+
company_role?: "owner" | "admin" | null | undefined;
|
|
107165
|
+
company_checked_at?: string | null | undefined;
|
|
107166
|
+
direct_role?: "owner" | "admin" | "editor" | "viewer" | null | undefined;
|
|
107167
|
+
inherited?: boolean | undefined;
|
|
106823
107168
|
}, {
|
|
106824
107169
|
id: string;
|
|
106825
107170
|
email: string;
|
|
@@ -106827,6 +107172,11 @@ declare const routes: {
|
|
|
106827
107172
|
subject: string;
|
|
106828
107173
|
created_at: string;
|
|
106829
107174
|
role: "owner" | "admin" | "editor" | "viewer";
|
|
107175
|
+
source?: "invited" | "company" | undefined;
|
|
107176
|
+
company_role?: "owner" | "admin" | null | undefined;
|
|
107177
|
+
company_checked_at?: string | null | undefined;
|
|
107178
|
+
direct_role?: "owner" | "admin" | "editor" | "viewer" | null | undefined;
|
|
107179
|
+
inherited?: boolean | undefined;
|
|
106830
107180
|
}>, "many">;
|
|
106831
107181
|
next_cursor: z.ZodNullable<z.ZodString>;
|
|
106832
107182
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -106837,6 +107187,11 @@ declare const routes: {
|
|
|
106837
107187
|
subject: string;
|
|
106838
107188
|
created_at: string;
|
|
106839
107189
|
role: "owner" | "admin" | "editor" | "viewer";
|
|
107190
|
+
source?: "invited" | "company" | undefined;
|
|
107191
|
+
company_role?: "owner" | "admin" | null | undefined;
|
|
107192
|
+
company_checked_at?: string | null | undefined;
|
|
107193
|
+
direct_role?: "owner" | "admin" | "editor" | "viewer" | null | undefined;
|
|
107194
|
+
inherited?: boolean | undefined;
|
|
106840
107195
|
}[];
|
|
106841
107196
|
next_cursor: string | null;
|
|
106842
107197
|
}, {
|
|
@@ -106847,6 +107202,11 @@ declare const routes: {
|
|
|
106847
107202
|
subject: string;
|
|
106848
107203
|
created_at: string;
|
|
106849
107204
|
role: "owner" | "admin" | "editor" | "viewer";
|
|
107205
|
+
source?: "invited" | "company" | undefined;
|
|
107206
|
+
company_role?: "owner" | "admin" | null | undefined;
|
|
107207
|
+
company_checked_at?: string | null | undefined;
|
|
107208
|
+
direct_role?: "owner" | "admin" | "editor" | "viewer" | null | undefined;
|
|
107209
|
+
inherited?: boolean | undefined;
|
|
106850
107210
|
}[];
|
|
106851
107211
|
next_cursor: string | null;
|
|
106852
107212
|
}>;
|
|
@@ -106880,6 +107240,11 @@ declare const routes: {
|
|
|
106880
107240
|
name: z.ZodNullable<z.ZodString>;
|
|
106881
107241
|
role: z.ZodEnum<["owner", "admin", "editor", "viewer"]>;
|
|
106882
107242
|
created_at: z.ZodString;
|
|
107243
|
+
source: z.ZodOptional<z.ZodEnum<["invited", "company"]>>;
|
|
107244
|
+
company_role: z.ZodOptional<z.ZodNullable<z.ZodEnum<["owner", "admin"]>>>;
|
|
107245
|
+
company_checked_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
107246
|
+
direct_role: z.ZodOptional<z.ZodNullable<z.ZodEnum<["owner", "admin", "editor", "viewer"]>>>;
|
|
107247
|
+
inherited: z.ZodOptional<z.ZodBoolean>;
|
|
106883
107248
|
}, "strip", z.ZodTypeAny, {
|
|
106884
107249
|
id: string;
|
|
106885
107250
|
email: string;
|
|
@@ -106887,6 +107252,11 @@ declare const routes: {
|
|
|
106887
107252
|
subject: string;
|
|
106888
107253
|
created_at: string;
|
|
106889
107254
|
role: "owner" | "admin" | "editor" | "viewer";
|
|
107255
|
+
source?: "invited" | "company" | undefined;
|
|
107256
|
+
company_role?: "owner" | "admin" | null | undefined;
|
|
107257
|
+
company_checked_at?: string | null | undefined;
|
|
107258
|
+
direct_role?: "owner" | "admin" | "editor" | "viewer" | null | undefined;
|
|
107259
|
+
inherited?: boolean | undefined;
|
|
106890
107260
|
}, {
|
|
106891
107261
|
id: string;
|
|
106892
107262
|
email: string;
|
|
@@ -106894,6 +107264,11 @@ declare const routes: {
|
|
|
106894
107264
|
subject: string;
|
|
106895
107265
|
created_at: string;
|
|
106896
107266
|
role: "owner" | "admin" | "editor" | "viewer";
|
|
107267
|
+
source?: "invited" | "company" | undefined;
|
|
107268
|
+
company_role?: "owner" | "admin" | null | undefined;
|
|
107269
|
+
company_checked_at?: string | null | undefined;
|
|
107270
|
+
direct_role?: "owner" | "admin" | "editor" | "viewer" | null | undefined;
|
|
107271
|
+
inherited?: boolean | undefined;
|
|
106897
107272
|
}>;
|
|
106898
107273
|
readonly status: 201;
|
|
106899
107274
|
readonly access: "admin";
|
|
@@ -106923,6 +107298,11 @@ declare const routes: {
|
|
|
106923
107298
|
name: z.ZodNullable<z.ZodString>;
|
|
106924
107299
|
role: z.ZodEnum<["owner", "admin", "editor", "viewer"]>;
|
|
106925
107300
|
created_at: z.ZodString;
|
|
107301
|
+
source: z.ZodOptional<z.ZodEnum<["invited", "company"]>>;
|
|
107302
|
+
company_role: z.ZodOptional<z.ZodNullable<z.ZodEnum<["owner", "admin"]>>>;
|
|
107303
|
+
company_checked_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
107304
|
+
direct_role: z.ZodOptional<z.ZodNullable<z.ZodEnum<["owner", "admin", "editor", "viewer"]>>>;
|
|
107305
|
+
inherited: z.ZodOptional<z.ZodBoolean>;
|
|
106926
107306
|
}, "strip", z.ZodTypeAny, {
|
|
106927
107307
|
id: string;
|
|
106928
107308
|
email: string;
|
|
@@ -106930,6 +107310,11 @@ declare const routes: {
|
|
|
106930
107310
|
subject: string;
|
|
106931
107311
|
created_at: string;
|
|
106932
107312
|
role: "owner" | "admin" | "editor" | "viewer";
|
|
107313
|
+
source?: "invited" | "company" | undefined;
|
|
107314
|
+
company_role?: "owner" | "admin" | null | undefined;
|
|
107315
|
+
company_checked_at?: string | null | undefined;
|
|
107316
|
+
direct_role?: "owner" | "admin" | "editor" | "viewer" | null | undefined;
|
|
107317
|
+
inherited?: boolean | undefined;
|
|
106933
107318
|
}, {
|
|
106934
107319
|
id: string;
|
|
106935
107320
|
email: string;
|
|
@@ -106937,6 +107322,11 @@ declare const routes: {
|
|
|
106937
107322
|
subject: string;
|
|
106938
107323
|
created_at: string;
|
|
106939
107324
|
role: "owner" | "admin" | "editor" | "viewer";
|
|
107325
|
+
source?: "invited" | "company" | undefined;
|
|
107326
|
+
company_role?: "owner" | "admin" | null | undefined;
|
|
107327
|
+
company_checked_at?: string | null | undefined;
|
|
107328
|
+
direct_role?: "owner" | "admin" | "editor" | "viewer" | null | undefined;
|
|
107329
|
+
inherited?: boolean | undefined;
|
|
106940
107330
|
}>;
|
|
106941
107331
|
readonly status: 200;
|
|
106942
107332
|
readonly access: "admin";
|
|
@@ -106963,6 +107353,69 @@ declare const routes: {
|
|
|
106963
107353
|
readonly access: "admin";
|
|
106964
107354
|
readonly phase: "S0";
|
|
106965
107355
|
};
|
|
107356
|
+
/**
|
|
107357
|
+
* The dashboard states the signed-in person's owner and admin roles in
|
|
107358
|
+
* companies, and the service brings the member lists in line (see
|
|
107359
|
+
* `MemberCompanySync`). `dashboard` access: the dashboard's service token
|
|
107360
|
+
* and the person's subject, no workspace. An API key is refused, and so is
|
|
107361
|
+
* every trusted application: it is not in any `TRUSTED_APP_OPERATIONS` list
|
|
107362
|
+
* and the handler refuses an application once more by itself.
|
|
107363
|
+
*/
|
|
107364
|
+
readonly 'members.syncCompanyRole': {
|
|
107365
|
+
readonly method: "POST";
|
|
107366
|
+
readonly path: "/v1/members/company-sync";
|
|
107367
|
+
readonly body: z.ZodObject<{
|
|
107368
|
+
email: z.ZodString;
|
|
107369
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
107370
|
+
companies: z.ZodEffects<z.ZodArray<z.ZodObject<{
|
|
107371
|
+
company_id: z.ZodString;
|
|
107372
|
+
role: z.ZodEnum<["owner", "admin"]>;
|
|
107373
|
+
}, "strip", z.ZodTypeAny, {
|
|
107374
|
+
company_id: string;
|
|
107375
|
+
role: "owner" | "admin";
|
|
107376
|
+
}, {
|
|
107377
|
+
company_id: string;
|
|
107378
|
+
role: "owner" | "admin";
|
|
107379
|
+
}>, "many">, {
|
|
107380
|
+
company_id: string;
|
|
107381
|
+
role: "owner" | "admin";
|
|
107382
|
+
}[], {
|
|
107383
|
+
company_id: string;
|
|
107384
|
+
role: "owner" | "admin";
|
|
107385
|
+
}[]>;
|
|
107386
|
+
}, "strip", z.ZodTypeAny, {
|
|
107387
|
+
email: string;
|
|
107388
|
+
companies: {
|
|
107389
|
+
company_id: string;
|
|
107390
|
+
role: "owner" | "admin";
|
|
107391
|
+
}[];
|
|
107392
|
+
name?: string | null | undefined;
|
|
107393
|
+
}, {
|
|
107394
|
+
email: string;
|
|
107395
|
+
companies: {
|
|
107396
|
+
company_id: string;
|
|
107397
|
+
role: "owner" | "admin";
|
|
107398
|
+
}[];
|
|
107399
|
+
name?: string | null | undefined;
|
|
107400
|
+
}>;
|
|
107401
|
+
readonly response: z.ZodObject<{
|
|
107402
|
+
granted: z.ZodArray<z.ZodString, "many">;
|
|
107403
|
+
revoked: z.ZodArray<z.ZodString, "many">;
|
|
107404
|
+
unchanged: z.ZodArray<z.ZodString, "many">;
|
|
107405
|
+
}, "strip", z.ZodTypeAny, {
|
|
107406
|
+
unchanged: string[];
|
|
107407
|
+
granted: string[];
|
|
107408
|
+
revoked: string[];
|
|
107409
|
+
}, {
|
|
107410
|
+
unchanged: string[];
|
|
107411
|
+
granted: string[];
|
|
107412
|
+
revoked: string[];
|
|
107413
|
+
}>;
|
|
107414
|
+
readonly status: 200;
|
|
107415
|
+
readonly access: "dashboard";
|
|
107416
|
+
readonly phase: "S0";
|
|
107417
|
+
readonly statement: true;
|
|
107418
|
+
};
|
|
106966
107419
|
readonly 'apiKeys.list': {
|
|
106967
107420
|
readonly method: "GET";
|
|
106968
107421
|
readonly path: "/v1/api-keys";
|
|
@@ -107143,23 +107596,23 @@ declare const routes: {
|
|
|
107143
107596
|
cursor: z.ZodOptional<z.ZodString>;
|
|
107144
107597
|
limit: z.ZodOptional<z.ZodNumber>;
|
|
107145
107598
|
} & {
|
|
107146
|
-
action: z.ZodOptional<z.ZodEnum<["workspace.created", "workspace.updated", "workspace.company_changed", "member.added", "member.role_changed", "member.removed", "member.invited", "invite.revoked", "api_key.created", "api_key.revoked", "provider.created", "provider.updated", "provider.deleted", "provider.events_registered", "provider.events_secret_set", "provider.bounces_halted", "provider.anomaly_cleared", "topic.created", "topic.updated", "topic.deleted", "template.created", "template.updated", "template.deleted", "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.retried", "webhook.created", "webhook.updated", "webhook.deleted", "webhook.secret_rotated", "webhook.redelivered", "contact.unsubscribed", "tag.created", "tag.deleted", "tag.assigned", "tag.unassigned", "contact_property.created", "contact_property.deleted", "segment.created", "segment.updated", "segment.deleted", "signup_form.created", "signup_form.updated", "signup_form.deleted", "contact.subscribed", "import.created", "import.mapped", "import.committed", "import.cancelled", "import.finished", "mailing.scheduled", "mailing.unscheduled", "mailing.schedule_failed", "mailing.ab_test_updated", "mailing.ab_winner_selected", "tracking.updated", "billing.checkout_started", "billing.subscription_changed", "billing.exemption_changed", "automation.created", "automation.updated", "automation.published", "automation.paused", "automation.resumed", "automation.archived", "automation.deleted", "automation.duplicated", "automation.enrolled", "automation.run_ended", "event.recorded"]>>;
|
|
107599
|
+
action: z.ZodOptional<z.ZodEnum<["workspace.created", "workspace.updated", "workspace.company_changed", "member.added", "member.role_changed", "member.removed", "member.invited", "invite.revoked", "api_key.created", "api_key.revoked", "provider.created", "provider.updated", "provider.deleted", "provider.events_registered", "provider.events_secret_set", "provider.bounces_halted", "provider.anomaly_cleared", "topic.created", "topic.updated", "topic.deleted", "template.created", "template.updated", "template.deleted", "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", "automation.created", "automation.updated", "automation.published", "automation.paused", "automation.resumed", "automation.archived", "automation.deleted", "automation.duplicated", "automation.enrolled", "automation.run_ended", "event.recorded"]>>;
|
|
107147
107600
|
target_id: z.ZodOptional<z.ZodString>;
|
|
107148
107601
|
}, "strip", z.ZodTypeAny, {
|
|
107149
107602
|
cursor?: string | undefined;
|
|
107150
107603
|
limit?: number | undefined;
|
|
107151
|
-
action?: "workspace.created" | "workspace.updated" | "workspace.company_changed" | "member.added" | "member.role_changed" | "member.removed" | "member.invited" | "invite.revoked" | "api_key.created" | "api_key.revoked" | "provider.created" | "provider.updated" | "provider.deleted" | "provider.events_registered" | "provider.events_secret_set" | "provider.bounces_halted" | "provider.anomaly_cleared" | "topic.created" | "topic.updated" | "topic.deleted" | "template.created" | "template.updated" | "template.deleted" | "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.retried" | "webhook.created" | "webhook.updated" | "webhook.deleted" | "webhook.secret_rotated" | "webhook.redelivered" | "contact.unsubscribed" | "tag.created" | "tag.deleted" | "tag.assigned" | "tag.unassigned" | "contact_property.created" | "contact_property.deleted" | "segment.created" | "segment.updated" | "segment.deleted" | "signup_form.created" | "signup_form.updated" | "signup_form.deleted" | "contact.subscribed" | "import.created" | "import.mapped" | "import.committed" | "import.cancelled" | "import.finished" | "mailing.scheduled" | "mailing.unscheduled" | "mailing.schedule_failed" | "mailing.ab_test_updated" | "mailing.ab_winner_selected" | "tracking.updated" | "billing.checkout_started" | "billing.subscription_changed" | "billing.exemption_changed" | "automation.created" | "automation.updated" | "automation.published" | "automation.paused" | "automation.resumed" | "automation.archived" | "automation.deleted" | "automation.duplicated" | "automation.enrolled" | "automation.run_ended" | "event.recorded" | undefined;
|
|
107604
|
+
action?: "workspace.created" | "workspace.updated" | "workspace.company_changed" | "member.added" | "member.role_changed" | "member.removed" | "member.invited" | "invite.revoked" | "api_key.created" | "api_key.revoked" | "provider.created" | "provider.updated" | "provider.deleted" | "provider.events_registered" | "provider.events_secret_set" | "provider.bounces_halted" | "provider.anomaly_cleared" | "topic.created" | "topic.updated" | "topic.deleted" | "template.created" | "template.updated" | "template.deleted" | "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" | "automation.created" | "automation.updated" | "automation.published" | "automation.paused" | "automation.resumed" | "automation.archived" | "automation.deleted" | "automation.duplicated" | "automation.enrolled" | "automation.run_ended" | "event.recorded" | undefined;
|
|
107152
107605
|
target_id?: string | undefined;
|
|
107153
107606
|
}, {
|
|
107154
107607
|
cursor?: string | undefined;
|
|
107155
107608
|
limit?: number | undefined;
|
|
107156
|
-
action?: "workspace.created" | "workspace.updated" | "workspace.company_changed" | "member.added" | "member.role_changed" | "member.removed" | "member.invited" | "invite.revoked" | "api_key.created" | "api_key.revoked" | "provider.created" | "provider.updated" | "provider.deleted" | "provider.events_registered" | "provider.events_secret_set" | "provider.bounces_halted" | "provider.anomaly_cleared" | "topic.created" | "topic.updated" | "topic.deleted" | "template.created" | "template.updated" | "template.deleted" | "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.retried" | "webhook.created" | "webhook.updated" | "webhook.deleted" | "webhook.secret_rotated" | "webhook.redelivered" | "contact.unsubscribed" | "tag.created" | "tag.deleted" | "tag.assigned" | "tag.unassigned" | "contact_property.created" | "contact_property.deleted" | "segment.created" | "segment.updated" | "segment.deleted" | "signup_form.created" | "signup_form.updated" | "signup_form.deleted" | "contact.subscribed" | "import.created" | "import.mapped" | "import.committed" | "import.cancelled" | "import.finished" | "mailing.scheduled" | "mailing.unscheduled" | "mailing.schedule_failed" | "mailing.ab_test_updated" | "mailing.ab_winner_selected" | "tracking.updated" | "billing.checkout_started" | "billing.subscription_changed" | "billing.exemption_changed" | "automation.created" | "automation.updated" | "automation.published" | "automation.paused" | "automation.resumed" | "automation.archived" | "automation.deleted" | "automation.duplicated" | "automation.enrolled" | "automation.run_ended" | "event.recorded" | undefined;
|
|
107609
|
+
action?: "workspace.created" | "workspace.updated" | "workspace.company_changed" | "member.added" | "member.role_changed" | "member.removed" | "member.invited" | "invite.revoked" | "api_key.created" | "api_key.revoked" | "provider.created" | "provider.updated" | "provider.deleted" | "provider.events_registered" | "provider.events_secret_set" | "provider.bounces_halted" | "provider.anomaly_cleared" | "topic.created" | "topic.updated" | "topic.deleted" | "template.created" | "template.updated" | "template.deleted" | "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" | "automation.created" | "automation.updated" | "automation.published" | "automation.paused" | "automation.resumed" | "automation.archived" | "automation.deleted" | "automation.duplicated" | "automation.enrolled" | "automation.run_ended" | "event.recorded" | undefined;
|
|
107157
107610
|
target_id?: string | undefined;
|
|
107158
107611
|
}>;
|
|
107159
107612
|
readonly response: z.ZodObject<{
|
|
107160
107613
|
data: z.ZodArray<z.ZodObject<{
|
|
107161
107614
|
id: z.ZodString;
|
|
107162
|
-
action: z.ZodEnum<["workspace.created", "workspace.updated", "workspace.company_changed", "member.added", "member.role_changed", "member.removed", "member.invited", "invite.revoked", "api_key.created", "api_key.revoked", "provider.created", "provider.updated", "provider.deleted", "provider.events_registered", "provider.events_secret_set", "provider.bounces_halted", "provider.anomaly_cleared", "topic.created", "topic.updated", "topic.deleted", "template.created", "template.updated", "template.deleted", "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.retried", "webhook.created", "webhook.updated", "webhook.deleted", "webhook.secret_rotated", "webhook.redelivered", "contact.unsubscribed", "tag.created", "tag.deleted", "tag.assigned", "tag.unassigned", "contact_property.created", "contact_property.deleted", "segment.created", "segment.updated", "segment.deleted", "signup_form.created", "signup_form.updated", "signup_form.deleted", "contact.subscribed", "import.created", "import.mapped", "import.committed", "import.cancelled", "import.finished", "mailing.scheduled", "mailing.unscheduled", "mailing.schedule_failed", "mailing.ab_test_updated", "mailing.ab_winner_selected", "tracking.updated", "billing.checkout_started", "billing.subscription_changed", "billing.exemption_changed", "automation.created", "automation.updated", "automation.published", "automation.paused", "automation.resumed", "automation.archived", "automation.deleted", "automation.duplicated", "automation.enrolled", "automation.run_ended", "event.recorded"]>;
|
|
107615
|
+
action: z.ZodEnum<["workspace.created", "workspace.updated", "workspace.company_changed", "member.added", "member.role_changed", "member.removed", "member.invited", "invite.revoked", "api_key.created", "api_key.revoked", "provider.created", "provider.updated", "provider.deleted", "provider.events_registered", "provider.events_secret_set", "provider.bounces_halted", "provider.anomaly_cleared", "topic.created", "topic.updated", "topic.deleted", "template.created", "template.updated", "template.deleted", "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", "automation.created", "automation.updated", "automation.published", "automation.paused", "automation.resumed", "automation.archived", "automation.deleted", "automation.duplicated", "automation.enrolled", "automation.run_ended", "event.recorded"]>;
|
|
107163
107616
|
actor: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
107164
107617
|
type: z.ZodLiteral<"member">;
|
|
107165
107618
|
member_id: z.ZodString;
|
|
@@ -107205,7 +107658,7 @@ declare const routes: {
|
|
|
107205
107658
|
id: string;
|
|
107206
107659
|
details: Record<string, unknown>;
|
|
107207
107660
|
created_at: string;
|
|
107208
|
-
action: "workspace.created" | "workspace.updated" | "workspace.company_changed" | "member.added" | "member.role_changed" | "member.removed" | "member.invited" | "invite.revoked" | "api_key.created" | "api_key.revoked" | "provider.created" | "provider.updated" | "provider.deleted" | "provider.events_registered" | "provider.events_secret_set" | "provider.bounces_halted" | "provider.anomaly_cleared" | "topic.created" | "topic.updated" | "topic.deleted" | "template.created" | "template.updated" | "template.deleted" | "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.retried" | "webhook.created" | "webhook.updated" | "webhook.deleted" | "webhook.secret_rotated" | "webhook.redelivered" | "contact.unsubscribed" | "tag.created" | "tag.deleted" | "tag.assigned" | "tag.unassigned" | "contact_property.created" | "contact_property.deleted" | "segment.created" | "segment.updated" | "segment.deleted" | "signup_form.created" | "signup_form.updated" | "signup_form.deleted" | "contact.subscribed" | "import.created" | "import.mapped" | "import.committed" | "import.cancelled" | "import.finished" | "mailing.scheduled" | "mailing.unscheduled" | "mailing.schedule_failed" | "mailing.ab_test_updated" | "mailing.ab_winner_selected" | "tracking.updated" | "billing.checkout_started" | "billing.subscription_changed" | "billing.exemption_changed" | "automation.created" | "automation.updated" | "automation.published" | "automation.paused" | "automation.resumed" | "automation.archived" | "automation.deleted" | "automation.duplicated" | "automation.enrolled" | "automation.run_ended" | "event.recorded";
|
|
107661
|
+
action: "workspace.created" | "workspace.updated" | "workspace.company_changed" | "member.added" | "member.role_changed" | "member.removed" | "member.invited" | "invite.revoked" | "api_key.created" | "api_key.revoked" | "provider.created" | "provider.updated" | "provider.deleted" | "provider.events_registered" | "provider.events_secret_set" | "provider.bounces_halted" | "provider.anomaly_cleared" | "topic.created" | "topic.updated" | "topic.deleted" | "template.created" | "template.updated" | "template.deleted" | "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" | "automation.created" | "automation.updated" | "automation.published" | "automation.paused" | "automation.resumed" | "automation.archived" | "automation.deleted" | "automation.duplicated" | "automation.enrolled" | "automation.run_ended" | "event.recorded";
|
|
107209
107662
|
actor: {
|
|
107210
107663
|
type: "member";
|
|
107211
107664
|
subject: string;
|
|
@@ -107225,7 +107678,7 @@ declare const routes: {
|
|
|
107225
107678
|
id: string;
|
|
107226
107679
|
details: Record<string, unknown>;
|
|
107227
107680
|
created_at: string;
|
|
107228
|
-
action: "workspace.created" | "workspace.updated" | "workspace.company_changed" | "member.added" | "member.role_changed" | "member.removed" | "member.invited" | "invite.revoked" | "api_key.created" | "api_key.revoked" | "provider.created" | "provider.updated" | "provider.deleted" | "provider.events_registered" | "provider.events_secret_set" | "provider.bounces_halted" | "provider.anomaly_cleared" | "topic.created" | "topic.updated" | "topic.deleted" | "template.created" | "template.updated" | "template.deleted" | "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.retried" | "webhook.created" | "webhook.updated" | "webhook.deleted" | "webhook.secret_rotated" | "webhook.redelivered" | "contact.unsubscribed" | "tag.created" | "tag.deleted" | "tag.assigned" | "tag.unassigned" | "contact_property.created" | "contact_property.deleted" | "segment.created" | "segment.updated" | "segment.deleted" | "signup_form.created" | "signup_form.updated" | "signup_form.deleted" | "contact.subscribed" | "import.created" | "import.mapped" | "import.committed" | "import.cancelled" | "import.finished" | "mailing.scheduled" | "mailing.unscheduled" | "mailing.schedule_failed" | "mailing.ab_test_updated" | "mailing.ab_winner_selected" | "tracking.updated" | "billing.checkout_started" | "billing.subscription_changed" | "billing.exemption_changed" | "automation.created" | "automation.updated" | "automation.published" | "automation.paused" | "automation.resumed" | "automation.archived" | "automation.deleted" | "automation.duplicated" | "automation.enrolled" | "automation.run_ended" | "event.recorded";
|
|
107681
|
+
action: "workspace.created" | "workspace.updated" | "workspace.company_changed" | "member.added" | "member.role_changed" | "member.removed" | "member.invited" | "invite.revoked" | "api_key.created" | "api_key.revoked" | "provider.created" | "provider.updated" | "provider.deleted" | "provider.events_registered" | "provider.events_secret_set" | "provider.bounces_halted" | "provider.anomaly_cleared" | "topic.created" | "topic.updated" | "topic.deleted" | "template.created" | "template.updated" | "template.deleted" | "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" | "automation.created" | "automation.updated" | "automation.published" | "automation.paused" | "automation.resumed" | "automation.archived" | "automation.deleted" | "automation.duplicated" | "automation.enrolled" | "automation.run_ended" | "event.recorded";
|
|
107229
107682
|
actor: {
|
|
107230
107683
|
type: "member";
|
|
107231
107684
|
subject: string;
|
|
@@ -107248,7 +107701,7 @@ declare const routes: {
|
|
|
107248
107701
|
id: string;
|
|
107249
107702
|
details: Record<string, unknown>;
|
|
107250
107703
|
created_at: string;
|
|
107251
|
-
action: "workspace.created" | "workspace.updated" | "workspace.company_changed" | "member.added" | "member.role_changed" | "member.removed" | "member.invited" | "invite.revoked" | "api_key.created" | "api_key.revoked" | "provider.created" | "provider.updated" | "provider.deleted" | "provider.events_registered" | "provider.events_secret_set" | "provider.bounces_halted" | "provider.anomaly_cleared" | "topic.created" | "topic.updated" | "topic.deleted" | "template.created" | "template.updated" | "template.deleted" | "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.retried" | "webhook.created" | "webhook.updated" | "webhook.deleted" | "webhook.secret_rotated" | "webhook.redelivered" | "contact.unsubscribed" | "tag.created" | "tag.deleted" | "tag.assigned" | "tag.unassigned" | "contact_property.created" | "contact_property.deleted" | "segment.created" | "segment.updated" | "segment.deleted" | "signup_form.created" | "signup_form.updated" | "signup_form.deleted" | "contact.subscribed" | "import.created" | "import.mapped" | "import.committed" | "import.cancelled" | "import.finished" | "mailing.scheduled" | "mailing.unscheduled" | "mailing.schedule_failed" | "mailing.ab_test_updated" | "mailing.ab_winner_selected" | "tracking.updated" | "billing.checkout_started" | "billing.subscription_changed" | "billing.exemption_changed" | "automation.created" | "automation.updated" | "automation.published" | "automation.paused" | "automation.resumed" | "automation.archived" | "automation.deleted" | "automation.duplicated" | "automation.enrolled" | "automation.run_ended" | "event.recorded";
|
|
107704
|
+
action: "workspace.created" | "workspace.updated" | "workspace.company_changed" | "member.added" | "member.role_changed" | "member.removed" | "member.invited" | "invite.revoked" | "api_key.created" | "api_key.revoked" | "provider.created" | "provider.updated" | "provider.deleted" | "provider.events_registered" | "provider.events_secret_set" | "provider.bounces_halted" | "provider.anomaly_cleared" | "topic.created" | "topic.updated" | "topic.deleted" | "template.created" | "template.updated" | "template.deleted" | "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" | "automation.created" | "automation.updated" | "automation.published" | "automation.paused" | "automation.resumed" | "automation.archived" | "automation.deleted" | "automation.duplicated" | "automation.enrolled" | "automation.run_ended" | "event.recorded";
|
|
107252
107705
|
actor: {
|
|
107253
107706
|
type: "member";
|
|
107254
107707
|
subject: string;
|
|
@@ -107271,7 +107724,7 @@ declare const routes: {
|
|
|
107271
107724
|
id: string;
|
|
107272
107725
|
details: Record<string, unknown>;
|
|
107273
107726
|
created_at: string;
|
|
107274
|
-
action: "workspace.created" | "workspace.updated" | "workspace.company_changed" | "member.added" | "member.role_changed" | "member.removed" | "member.invited" | "invite.revoked" | "api_key.created" | "api_key.revoked" | "provider.created" | "provider.updated" | "provider.deleted" | "provider.events_registered" | "provider.events_secret_set" | "provider.bounces_halted" | "provider.anomaly_cleared" | "topic.created" | "topic.updated" | "topic.deleted" | "template.created" | "template.updated" | "template.deleted" | "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.retried" | "webhook.created" | "webhook.updated" | "webhook.deleted" | "webhook.secret_rotated" | "webhook.redelivered" | "contact.unsubscribed" | "tag.created" | "tag.deleted" | "tag.assigned" | "tag.unassigned" | "contact_property.created" | "contact_property.deleted" | "segment.created" | "segment.updated" | "segment.deleted" | "signup_form.created" | "signup_form.updated" | "signup_form.deleted" | "contact.subscribed" | "import.created" | "import.mapped" | "import.committed" | "import.cancelled" | "import.finished" | "mailing.scheduled" | "mailing.unscheduled" | "mailing.schedule_failed" | "mailing.ab_test_updated" | "mailing.ab_winner_selected" | "tracking.updated" | "billing.checkout_started" | "billing.subscription_changed" | "billing.exemption_changed" | "automation.created" | "automation.updated" | "automation.published" | "automation.paused" | "automation.resumed" | "automation.archived" | "automation.deleted" | "automation.duplicated" | "automation.enrolled" | "automation.run_ended" | "event.recorded";
|
|
107727
|
+
action: "workspace.created" | "workspace.updated" | "workspace.company_changed" | "member.added" | "member.role_changed" | "member.removed" | "member.invited" | "invite.revoked" | "api_key.created" | "api_key.revoked" | "provider.created" | "provider.updated" | "provider.deleted" | "provider.events_registered" | "provider.events_secret_set" | "provider.bounces_halted" | "provider.anomaly_cleared" | "topic.created" | "topic.updated" | "topic.deleted" | "template.created" | "template.updated" | "template.deleted" | "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" | "automation.created" | "automation.updated" | "automation.published" | "automation.paused" | "automation.resumed" | "automation.archived" | "automation.deleted" | "automation.duplicated" | "automation.enrolled" | "automation.run_ended" | "event.recorded";
|
|
107275
107728
|
actor: {
|
|
107276
107729
|
type: "member";
|
|
107277
107730
|
subject: string;
|
|
@@ -107336,7 +107789,8 @@ type RouteResponse<K extends OperationId> = Infer<Routes[K]['response']>;
|
|
|
107336
107789
|
/**
|
|
107337
107790
|
* Every mutating call accepts an `Idempotency-Key`; reads never need one. The
|
|
107338
107791
|
* SDK sends a key on every non-GET request so a retry after a network failure can
|
|
107339
|
-
* never apply twice.
|
|
107792
|
+
* never apply twice. The exception is a `statement` (see `RouteDef`), which is
|
|
107793
|
+
* safe to repeat by what it is.
|
|
107340
107794
|
*/
|
|
107341
107795
|
declare function acceptsIdempotencyKey(route: RouteDef): boolean;
|
|
107342
107796
|
/** Fills the `:name` segments of a route path, URL-encoding each value. */
|
|
@@ -107353,4 +107807,4 @@ declare function matchRoute(method: HttpMethod, pathname: string): {
|
|
|
107353
107807
|
params: Record<string, string>;
|
|
107354
107808
|
} | null;
|
|
107355
107809
|
|
|
107356
|
-
export { AB_TEST_STATUSES, AB_WINNER_METRICS, API_KEY_SCOPES, API_VERSION_PREFIX, ASSET_CONTENT_TYPES, ASSET_POLICIES, ASSET_UPLOAD_FIELD, AUDIT_ACTIONS, AUTHORIZATION_HEADER, AUTOMATION_DATE_TRIGGER_KINDS, AUTOMATION_END_REASONS, AUTOMATION_ENTRY_REFUSALS, AUTOMATION_FILTER_FIELD_OPERATORS, AUTOMATION_FILTER_FIELD_PATTERN, AUTOMATION_ISSUE_CODES, AUTOMATION_STATUSES, AUTOMATION_STEP_KINDS, AUTOMATION_TRIGGER_KINDS, AUTOMATION_WAIT_REASONS, AbTestConfig, AbTestState, AbVariant, AbWinnerRequest, ApiKey, ApiKeyCreate, ApiKeyCreated, ApiKeyScope, Asset, AssetContentType, AssetHost, AssetImport, AssetPolicy, AuditAction, AuditActor, AuditEntry, AuditQuery, Automation, AutomationCounts, AutomationCreate, type AutomationDateTriggerKind, AutomationDuplicateRequest, AutomationEndReason, AutomationEnrollRequest, AutomationEnrollResult, AutomationEnrollment, AutomationEntryRefusal, AutomationExitRunRequest, AutomationFilter, AutomationFilterCondition, AutomationFilterField, AutomationFlow, AutomationIssue, AutomationIssueCode, AutomationJourney, AutomationListQuery, AutomationPublishMove, AutomationPublishRequest, AutomationPublishResult, AutomationReport, AutomationRun, AutomationRunCompletedData, AutomationRunExitedData, AutomationRunFailedData, AutomationRunListQuery, AutomationRunParams, AutomationRunStartedData, AutomationRunStatus, AutomationSettings, AutomationStatus, AutomationStep, AutomationStepExecution, AutomationStepKind, AutomationStepParams, AutomationStepReport, AutomationSummary, AutomationTestEmailRequest, AutomationTrigger, AutomationTriggerKind, AutomationUpdate, AutomationValidateRequest, AutomationValidation, AutomationWaitReason, AutomationWebhookData, AutomationWithFlow, BEARER_PREFIX, BILLING_NOT_CONFIGURED_REASON, BoundedAutomationFilter, BoundedSegmentFilter, CONTACT_PROPERTY_TYPES, CatalogPlan, CheckoutRequest, CheckoutSession, CompanyId, CompileMessage, CompileRequest, CompileResult, ConditionStep, Contact, ContactAutomationListQuery, ContactAutomationRun, ContactBouncedData, ContactErased, ContactListQuery, ContactPropertyDefinition, ContactPropertyKey, ContactPropertyParams, ContactPropertyType, ContactResubscribedData, ContactSubscribedData, ContactTaggedData, ContactUnsubscribedData, ContactUpdatedData, ContactUpsert, ContactUpsertResult, DATE_PASSED_ANSWERS, DEFAULT_INVITE_TTL_DAYS, DEFAULT_PAGE_LIMIT, DOCUMENT_SCHEMA_VERSIONS, DateOnly, DatePassedAnswer, DelayStep, DocumentSchemaVersion, 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, 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_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_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, 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, MemberCreate, MemberRole, 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, 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, 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, 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 };
|
|
107810
|
+
export { AB_TEST_STATUSES, AB_WINNER_METRICS, API_KEY_SCOPES, API_VERSION_PREFIX, ASSET_CONTENT_TYPES, ASSET_POLICIES, ASSET_UPLOAD_FIELD, AUDIT_ACTIONS, AUTHORIZATION_HEADER, AUTOMATION_DATE_TRIGGER_KINDS, AUTOMATION_END_REASONS, AUTOMATION_ENTRY_REFUSALS, AUTOMATION_FILTER_FIELD_OPERATORS, AUTOMATION_FILTER_FIELD_PATTERN, AUTOMATION_ISSUE_CODES, AUTOMATION_STATUSES, AUTOMATION_STEP_KINDS, AUTOMATION_TRIGGER_KINDS, AUTOMATION_WAIT_REASONS, AbTestConfig, AbTestState, AbVariant, AbWinnerRequest, ApiKey, ApiKeyCreate, ApiKeyCreated, ApiKeyScope, Asset, AssetContentType, AssetHost, AssetImport, AssetPolicy, AuditAction, AuditActor, AuditEntry, AuditQuery, Automation, AutomationCounts, AutomationCreate, type AutomationDateTriggerKind, AutomationDuplicateRequest, AutomationEndReason, AutomationEnrollRequest, AutomationEnrollResult, AutomationEnrollment, AutomationEntryRefusal, AutomationExitRunRequest, AutomationFilter, AutomationFilterCondition, AutomationFilterField, AutomationFlow, AutomationIssue, AutomationIssueCode, AutomationJourney, AutomationListQuery, AutomationPublishMove, AutomationPublishRequest, AutomationPublishResult, AutomationReport, AutomationRun, AutomationRunCompletedData, AutomationRunExitedData, AutomationRunFailedData, AutomationRunListQuery, AutomationRunParams, AutomationRunStartedData, AutomationRunStatus, AutomationSettings, AutomationStatus, AutomationStep, AutomationStepExecution, AutomationStepKind, AutomationStepParams, AutomationStepReport, AutomationSummary, AutomationTestEmailRequest, AutomationTrigger, AutomationTriggerKind, AutomationUpdate, AutomationValidateRequest, AutomationValidation, AutomationWaitReason, AutomationWebhookData, AutomationWithFlow, BEARER_PREFIX, BILLING_NOT_CONFIGURED_REASON, BoundedAutomationFilter, BoundedSegmentFilter, 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, 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_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, 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, 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 };
|