import { GetCampaignRequest as GetCampaignRequest$1, GetCampaignResponse as GetCampaignResponse$1, ListCampaignsRequest as ListCampaignsRequest$1, ListCampaignsResponse as ListCampaignsResponse$1, PublishCampaignRequest as PublishCampaignRequest$1, PublishCampaignResponse as PublishCampaignResponse$1, SendTestRequest as SendTestRequest$1, SendTestResponse as SendTestResponse$1, PauseSchedulingRequest as PauseSchedulingRequest$1, PauseSchedulingResponse as PauseSchedulingResponse$1, RescheduleRequest as RescheduleRequest$1, RescheduleResponse as RescheduleResponse$1, DeleteCampaignRequest as DeleteCampaignRequest$1, DeleteCampaignResponse as DeleteCampaignResponse$1, ReuseCampaignRequest as ReuseCampaignRequest$1, ReuseCampaignResponse as ReuseCampaignResponse$1, GetAudienceRequest as GetAudienceRequest$1, GetAudienceResponse as GetAudienceResponse$1, IdentifySenderAddressRequest as IdentifySenderAddressRequest$1, IdentifySenderAddressResponse as IdentifySenderAddressResponse$1, ValidateLinkRequest as ValidateLinkRequest$1, ValidateLinkResponse as ValidateLinkResponse$1, ValidateHtmlLinksRequest as ValidateHtmlLinksRequest$1, ValidateHtmlLinksResponse as ValidateHtmlLinksResponse$1, ListStatisticsRequest as ListStatisticsRequest$1, ListStatisticsResponse as ListStatisticsResponse$1, ListRecipientsRequest as ListRecipientsRequest$1, ListRecipientsResponse as ListRecipientsResponse$1 } from './index.typings.js'; import '@wix/sdk-types'; interface Campaign { /** * Campaign ID. * @format GUID */ campaignId?: string; /** Marketing campaign title. If you don't provide the value, the title automatically gets the value of an email subject. */ title?: string | null; /** * URL of the first image after the logo. * @format WEB_URL */ firstImageUrl?: string | null; /** Editor type. */ editorType?: CampaignEditorTypeEnumWithLiterals; /** Campaign status. */ status?: CampaignStatusEnumWithLiterals; /** Campaign visibility status. */ visibilityStatus?: CampaignVisibilityStatusEnumWithLiterals; /** Campaign distribution status. */ distributionStatus?: EnumWithLiterals; /** Publishing data. The field is returned empty if the campaign isn't published. */ publishingData?: PublishingData; /** Date and time when the campaign was created. */ dateCreated?: Date | null; /** Date and time when the campaign was updated. */ dateUpdated?: Date | null; /** * Email subject of the campaign (initially copied from the template). * @maxLength 1000 * @deprecated */ emailSubject?: string; } declare enum CampaignEditorTypeEnum { /** Unknown editor. This value isn't used. */ UNKNOWN = "UNKNOWN", /** Classic web editor. */ WEB = "WEB", /** Classic mobile editor. */ MOBILE = "MOBILE", /** Chat (AI) based web editor. */ MJML = "MJML" } /** @enumType */ type CampaignEditorTypeEnumWithLiterals = CampaignEditorTypeEnum | 'UNKNOWN' | 'WEB' | 'MOBILE' | 'MJML'; declare enum CampaignStatusEnum { /** Unknown campaign. This value isn't used. */ UNKNOWN = "UNKNOWN", /** Campaign is active. */ ACTIVE = "ACTIVE", /** Campaign is archived. */ ARCHIVED = "ARCHIVED", /** Campaign is deleted. */ DELETED = "DELETED" } /** @enumType */ type CampaignStatusEnumWithLiterals = CampaignStatusEnum | 'UNKNOWN' | 'ACTIVE' | 'ARCHIVED' | 'DELETED'; declare enum CampaignVisibilityStatusEnum { /** Unknown status. This value isn't used. */ UNKNOWN = "UNKNOWN", /** Campaign isn't published yet. */ DRAFT = "DRAFT", /** Campaign is published. */ PUBLISHED = "PUBLISHED", /** Campaign is a template. */ TEMPLATE = "TEMPLATE" } /** @enumType */ type CampaignVisibilityStatusEnumWithLiterals = CampaignVisibilityStatusEnum | 'UNKNOWN' | 'DRAFT' | 'PUBLISHED' | 'TEMPLATE'; declare enum Enum { /** Unknown distribution status. */ UNKNOWN = "UNKNOWN", /** Campaign isn't distributed to recipients yet. */ NOT_STARTED = "NOT_STARTED", /** Campaign is scheduled for distribution. */ SCHEDULED = "SCHEDULED", /** Campaign is in screening for malicious content. */ IN_DETECTION = "IN_DETECTION", /** Campaign is in review by the site moderators. */ IN_MODERATION = "IN_MODERATION", /** Several recipients are selected for campaign testing, and campaign is sent out to them. */ SAMPLING = "SAMPLING", /** Campaign is being sent out to all recipients. */ SENDING = "SENDING", /** Campaign is rejected. */ REJECTED = "REJECTED", /** Campaign is terminated after a failed sampling test. */ TERMINATED = "TERMINATED", /** Campaign is fully distributed to all recipients. */ DISTRIBUTED = "DISTRIBUTED", /** Scheduled campaign is paused. */ PAUSED = "PAUSED" } /** @enumType */ type EnumWithLiterals = Enum | 'UNKNOWN' | 'NOT_STARTED' | 'SCHEDULED' | 'IN_DETECTION' | 'IN_MODERATION' | 'SAMPLING' | 'SENDING' | 'REJECTED' | 'TERMINATED' | 'DISTRIBUTED' | 'PAUSED'; interface PublishingData { /** * Landing page URL. * @format WEB_URL */ landingPageUrl?: string; /** Marketing campaign statistics. */ statistics?: CampaignStatistics; /** Marketing campaign publish date. */ datePublished?: Date | null; } interface CampaignStatistics { /** Landing page statistics of a marketing campaign. */ landingPage?: LandingPageStatistics; /** Email distribution statistics of a marketing campaign. */ emailCampaign?: DistributionStatistics; /** Combined statistics of landing page and email distribution. */ total?: TotalStatistics; } interface LandingPageStatistics { /** Number of times when a landing page was loaded or viewed. */ opened?: number; /** Number of times a link was clicked in a landing page. */ clicked?: number; } interface DistributionStatistics { /** Number of delivered emails. */ delivered?: number; /** * Number of recipients who opened an email. * * If the same recipient opened the same email twice, it is counted as a one unique open. */ opened?: number; /** * Number of recipients who clicked a link in the email. * * If the same recipient clicked the same link twice, it is counted as a one unique click. * * If the same recipient clicked different links, it is counted as a one unique click. */ clicked?: number; /** Number of emails that didn't reach the recipient. */ bounced?: number; /** Number of recipients who reported the email as a spam. */ complained?: number; /** Number of emails that weren't sent due to the campaign termination. */ notSent?: number; } interface TotalStatistics { /** Total number of emails sent. */ mailsSent?: number; /** Number of landing page views and opened emails. */ opened?: number; /** Number of landing page and email link clicks. */ clicked?: number; } interface RejectionData { rejectionReasons?: RejectionReasonEnumWithLiterals[]; } declare enum RejectionReasonEnum { UNKNOWN = "UNKNOWN", LOW_ENGAGEMENT = "LOW_ENGAGEMENT", SENDER_DETAILS = "SENDER_DETAILS", SPAM_TRAPS = "SPAM_TRAPS", OTHER = "OTHER", ADULT_SEXUAL_CONTENT = "ADULT_SEXUAL_CONTENT", AFFILIATE_MARKETING = "AFFILIATE_MARKETING", BETTING_OR_GAMBLING = "BETTING_OR_GAMBLING", CREDIT_REPAIR_OR_DEBT_RELIEF = "CREDIT_REPAIR_OR_DEBT_RELIEF", GET_RICH_QUICK_SCHEME = "GET_RICH_QUICK_SCHEME", ILLEGAL_SUBSTANCES_OR_WEAPONS = "ILLEGAL_SUBSTANCES_OR_WEAPONS", MISLEADING_SUBJECT_LINE = "MISLEADING_SUBJECT_LINE", TRADING_OR_CRYPTOCURRENCIES = "TRADING_OR_CRYPTOCURRENCIES", UNSOLICITED_CONTENT = "UNSOLICITED_CONTENT", MAX_AUDIENCE_SIZE_EXCEEDED = "MAX_AUDIENCE_SIZE_EXCEEDED" } /** @enumType */ type RejectionReasonEnumWithLiterals = RejectionReasonEnum | 'UNKNOWN' | 'LOW_ENGAGEMENT' | 'SENDER_DETAILS' | 'SPAM_TRAPS' | 'OTHER' | 'ADULT_SEXUAL_CONTENT' | 'AFFILIATE_MARKETING' | 'BETTING_OR_GAMBLING' | 'CREDIT_REPAIR_OR_DEBT_RELIEF' | 'GET_RICH_QUICK_SCHEME' | 'ILLEGAL_SUBSTANCES_OR_WEAPONS' | 'MISLEADING_SUBJECT_LINE' | 'TRADING_OR_CRYPTOCURRENCIES' | 'UNSOLICITED_CONTENT' | 'MAX_AUDIENCE_SIZE_EXCEEDED'; declare enum CampaignSendingStateEnum { /** Campaign not yet published. */ DRAFT = "DRAFT", /** Campaign is being reviewed. */ REVIEW = "REVIEW", /** Campaign was rejected. */ REJECTED = "REJECTED", /** Campaign is scheduled. */ SCHEDULED = "SCHEDULED", /** Scheduled campaign was paused. */ PAUSED = "PAUSED", /** Campaign is published. */ PUBLISHED = "PUBLISHED", /** Campaign is being send. */ SENDING = "SENDING", /** * Campaign was partially sent. * Happens when too many recipients bounce. */ PARTIALLY_SENT = "PARTIALLY_SENT", /** Campaign was sent. */ SENT = "SENT" } /** @enumType */ type CampaignSendingStateEnumWithLiterals = CampaignSendingStateEnum | 'DRAFT' | 'REVIEW' | 'REJECTED' | 'SCHEDULED' | 'PAUSED' | 'PUBLISHED' | 'SENDING' | 'PARTIALLY_SENT' | 'SENT'; declare enum CampaignTypeEnum { UNKNOWN = "UNKNOWN", /** Email marketing campaign. */ EMAIL_MARKETING = "EMAIL_MARKETING", /** Mobile place invitation email. */ INVITATION = "INVITATION", /** Automation campaign. */ AUTOMATION = "AUTOMATION", /** Triggered email. */ TRIGGERED = "TRIGGERED" } /** @enumType */ type CampaignTypeEnumWithLiterals = CampaignTypeEnum | 'UNKNOWN' | 'EMAIL_MARKETING' | 'INVITATION' | 'AUTOMATION' | 'TRIGGERED'; interface GetPlaceholderKeysRequest { /** * Campaign ID. * @format GUID */ campaignId?: string; } interface GetPlaceholderKeysResponse { /** Keys of placeholders used in the campaign. */ placeholderKeys?: string[]; } interface GetDefaultComponentsRequest { } interface GetDefaultComponentsResponse { footer?: Record | null; logo?: Record | null; follow?: Record | null; } interface GetCampaignRequest { /** * Campaign ID. * @format GUID */ campaignId: string; /** * Whether a returned campaign should include `publishingData.statistics`. * * Default: `false`. */ optionIncludeStatistics?: boolean; } interface GetCampaignResponse { /** Campaign information. */ campaign?: Campaign; } interface ListCampaignsRequest { /** Paging parameters. */ paging?: Paging; /** * Whether to include `publishingData.statistics` in the returned campaign object. * * Default: `false`. */ optionIncludeStatistics?: boolean; /** Campaign status. */ statuses?: CampaignStatusEnumWithLiterals[]; /** Visibility status. */ visibilityStatuses?: CampaignVisibilityStatusEnumWithLiterals[]; } interface Paging { /** Number of items to load. */ limit?: number | null; /** Number of items to skip in the current sort order. */ offset?: number | null; } /** Editor type. */ interface CampaignEditorType { value?: CampaignEditorTypeEnumWithLiterals; } interface ListCampaignsResponse { /** Paging parameters. */ paging?: Paging; /** List of campaigns. */ campaigns?: Campaign[]; } interface CountCampaignsRequest { /** Since when should we start counting (optional, default value "1970-01-01T00:00:00.000Z") */ dateFrom?: Date | null; } interface CountCampaignsResponse { /** "drafts" + "scheduled" + "published" (excluding "archived"). */ total?: number; /** Non published (draft) campaigns. */ drafts?: number; /** Campaigns scheduled for publishing in the future. */ scheduled?: number; /** Campaigns published or sent. */ published?: number; /** Campaigns moved to archive (regardless of the status). */ archived?: number; } interface CreateFromTemplateRequest { /** * ID of the template to fork. * @format GUID */ templateId?: string; /** Values to replace template placeholders with (unique for each template). */ variables?: Record; /** Campaign editor type. */ campaignEditorType?: CampaignEditorTypeEnumWithLiterals; } interface CreateFromTemplateResponse { /** Campaign information. */ campaign?: Campaign; } interface CreateUserTemplateRequest { /** * ID of campaign to create template from. * @format GUID */ campaignId?: string; /** * Title of template. * @maxLength 1000 */ title?: string | null; } interface CreateUserTemplateResponse { /** Created user template information. */ campaign?: Campaign; } interface CreateFromUserTemplateRequest { /** * ID of the user template campaign to use. * @format GUID */ campaignId?: string; } interface CreateFromUserTemplateResponse { /** Campaign created from user template. */ campaign?: Campaign; } interface PublishCampaignRequest { /** * Campaign ID * @format GUID */ campaignId: string; /** Email distribution options. Pass this object in the request if you need to distribute your marketing campaign with emails. */ emailDistributionOptions?: EmailDistributionOptions; } interface EmailDistributionOptions { /** * The subject line for the email campaign, which appears in recipients’ inboxes. * @maxLength 1000 */ emailSubject?: string | null; /** Contact label IDs. */ labelIds?: string[]; /** * IDs of contacts to whom to send out the campaign. * @format GUID */ contactIds?: string[]; /** * Filter ids to send campaign to (unsupported). * @format GUID * @deprecated Filter ids to send campaign to (unsupported). * @replacedBy contacts_filter * @targetRemovalDate 2023-10-10 */ filterIds?: string[]; /** Campaign scheduling. You can schedule the campaign no less than 30 minutes until the sending time. [Upgrade your plan](https://support.wix.com/en/article/email-marketing-upgrading-your-email-marketing-plan) to schedule the campaign. */ sendAt?: Date | null; } interface PublishCampaignResponse { /** Publishing info. */ publishingData?: PublishingData; } interface Rejected { /** * ID of the campaign that was rejected. * @format GUID */ campaignId?: string; } interface Published { /** * ID of the campaign that was published. * @format GUID */ campaignId?: string; /** * Campaign landing page URL. * @format WEB_URL * @maxLength 2048 */ landingPageUrl?: string; /** Estimation of recipient list size (optional). */ mailingListSizeEstimate?: number | null; } interface Terminated { /** * ID of the campaign that was terminated. * @format GUID */ campaignId?: string; } interface Distributed { /** * ID of the campaign that was distributed. * @format GUID */ campaignId?: string; } interface EmailActivityUpdated extends EmailActivityUpdatedEventTypeOneOf { /** Recipient clicked on an email. */ click?: Click; /** Recipient opened an email. */ open?: Open; /** * Email soft bounced when sent to a recipient. * * Indicates a temporary issue sending your email. For example, the email server receiving the email is under a heavy load. * For soft bounces, you should wait and try again at a later time. */ softBounce?: SoftBounce; /** * Email hard bounced when sent to a recipient. * * Indicates a permanent error sending your email. For example, the email address does not exist. */ hardBounce?: HardBounce; /** * Campaign ID. * @format GUID */ campaignId?: string; /** * [Contact ID](https://dev.wix.com/api/rest/contacts/contacts/contacts-v4/contact-object) of a recipient. * @format GUID */ contactId?: string; /** * Email address of a recipient. * @format EMAIL */ recipientEmailAddress?: string; /** Date and time of the event. */ timestamp?: Date | null; activityType?: ActivityTypeWithLiterals; /** * email metadata * @maxSize 20 */ metadata?: Record; } /** @oneof */ interface EmailActivityUpdatedEventTypeOneOf { /** Recipient clicked on an email. */ click?: Click; /** Recipient opened an email. */ open?: Open; /** * Email soft bounced when sent to a recipient. * * Indicates a temporary issue sending your email. For example, the email server receiving the email is under a heavy load. * For soft bounces, you should wait and try again at a later time. */ softBounce?: SoftBounce; /** * Email hard bounced when sent to a recipient. * * Indicates a permanent error sending your email. For example, the email address does not exist. */ hardBounce?: HardBounce; } /** The type of email activity that triggered the webhook. */ declare enum ActivityType { /** Triggered when an email is delivered to the recipient. */ DELIVERY = "DELIVERY", /** Triggered when the recipient clicks on a URL inside of the email. */ CLICK = "CLICK", /** Triggered when the email is opened by the recipient. */ OPEN = "OPEN", /** Triggered when the email is bounced softly. */ SOFT_BOUNCE = "SOFT_BOUNCE", /** Triggered when the email bounces. */ HARD_BOUNCED = "HARD_BOUNCED" } /** @enumType */ type ActivityTypeWithLiterals = ActivityType | 'DELIVERY' | 'CLICK' | 'OPEN' | 'SOFT_BOUNCE' | 'HARD_BOUNCED'; interface Click { /** URL that was clicked. */ url?: string; /** Browser user agent of the recipient. */ userAgent?: string; } interface Open { /** Browser user agent of the recipient. */ userAgent?: string; } interface SoftBounce { /** Reason the email soft bounced. */ reason?: string; } interface HardBounce { /** Reason the email hard bounced. */ reason?: string; } interface Scheduled { /** * ID of the campaign that was scheduled. * @format GUID */ campaignId?: string; /** The timestamp campaign is scheduled for. */ sendAt?: Date | null; /** Shows if this is a rescheduling of previously scheduled campaign. */ rescheduled?: boolean; } interface SendTestRequest { /** * Campaign ID. * @format GUID */ campaignId: string; /** * Email subject. * @maxLength 1000 */ emailSubject?: string | null; /** * Recipient email address. * @format EMAIL */ toEmailAddress: string; } interface PlaceholderContent extends PlaceholderContentValueOneOf { text?: PlainText; html?: Html; money?: Money; dateTime?: DateTime; map?: Map; array?: _Array; enum?: PlaceholderContentEnum; attachment?: Attachment; integer?: Integer; decimal?: Decimal; localDate?: LocalDate; } /** @oneof */ interface PlaceholderContentValueOneOf { text?: PlainText; html?: Html; money?: Money; dateTime?: DateTime; map?: Map; array?: _Array; enum?: PlaceholderContentEnum; attachment?: Attachment; integer?: Integer; decimal?: Decimal; localDate?: LocalDate; } interface PlainText { text?: string; } interface Html { html?: string; } /** * Money. * Default format to use. Sufficiently compliant with majority of standards: w3c, ISO 4217, ISO 20022, ISO 8583:2003. */ interface Money { /** * Monetary amount. Decimal string with a period as a decimal separator (e.g., 3.99). Optionally, a single (-), to indicate that the amount is negative. * @format DECIMAL_VALUE */ value?: string; /** * Currency code. Must be valid ISO 4217 currency code (e.g., USD). * @format CURRENCY */ currency?: string; /** Monetary amount. Decimal string in local format (e.g., 1 000,30). Optionally, a single (-), to indicate that the amount is negative. */ formattedValue?: string | null; } interface DateTime { timestamp?: Date | null; /** optional time zone is the full name. example: "Asia/Jerusalem" */ timeZone?: string | null; } interface Map { variables?: Record; } interface _Array { items?: PlaceholderContent[]; } interface PlaceholderContentEnum { value?: string; translation?: string; } interface Attachment { fileName?: string; downloadUrl?: string; } interface Integer { /** min value: -2147483648, max value: 2147483647 */ value?: number; } interface Decimal { /** * when converted from Double, has a limitation of max 16 digits (including fractional part) * highest possible value for precise representation is 9999999999999998 (9999999999999999 is represented as 10000000000000000) * @format DECIMAL_VALUE */ value?: string; } interface LocalDate { /** @format LOCAL_DATE */ value?: string; } interface SendTestResponse { } interface PauseSchedulingRequest { /** * Campaign ID. * @format GUID */ campaignId: string; } interface PauseSchedulingResponse { } interface Paused { /** * ID of the campaign that was paused. * @format GUID */ campaignId?: string; } interface RescheduleRequest { /** * ID of the campaign to reschedule. * @format GUID */ campaignId: string; /** New time for sending out the campaign. */ sendAt: Date | null; } interface RescheduleResponse { } interface ArchiveCampaignRequest { /** * ID of the campaign to archive. * @format GUID */ campaignId?: string; } interface ArchiveCampaignResponse { } /** Sent when status of the campaign is changed from "Active" to "Archived" */ interface Archived { /** * ID of the campaign that was archived. * @format GUID */ campaignId?: string; } interface UnarchiveCampaignRequest { /** * ID of the campaign to unarchive. * @format GUID */ campaignId?: string; } interface UnarchiveCampaignResponse { } /** Sent when status of the campaign is changed from "Archived" to "Active" */ interface Unarchived { /** * ID of the campaign whose status was changed to active. * @format GUID */ campaignId?: string; } interface UpdateTitleRequest { /** * ID of the campaign to change title of. * @format GUID */ campaignId?: string; /** * New title to set. * @maxLength 1000 */ title?: string; } interface UpdateTitleResponse { } interface DeleteCampaignRequest { /** * Campaign ID. * @format GUID */ campaignId: string; } interface DeleteCampaignResponse { } interface ReuseCampaignRequest { /** * ID of the message to be duplicated. * @format GUID */ campaignId: string; } interface ReuseCampaignResponse { /** Campaign information. */ campaign?: Campaign; } interface PreviewCampaignRequest { /** * ID of the campaign to preview. * @format GUID */ campaignId?: string; /** * Preferred language for campaign content (optional). * @format LANGUAGE */ language?: string | null; /** Values to replace campaign placeholders with (unique for each campaign). */ placeholders?: Record; /** Whether to hide the ad (default value "false"). */ forceHideAd?: boolean; /** * When true, unresolved placeholders are removed from the preview. * When false (default), unresolved placeholders remain visible. */ removeMissingPlaceholders?: boolean; } interface PreviewCampaignResponse { /** Preview HTML. */ html?: string; /** * Email subject with resolved dynamic parameters. * @maxLength 1000 */ emailSubject?: string; } interface GetComposerRequest { /** * Campaign ID. * @format GUID */ campaignId?: string; /** * Preferred language for campaign content (optional). * @format LANGUAGE */ language?: string | null; } interface GetComposerResponse { /** Composer. */ composer?: Composer; /** * Campaign subject. * @maxLength 1000 */ emailSubject?: string; /** * Campaign preheader (optional). * @maxLength 1000 */ emailPreheader?: string | null; } interface Composer { /** * Internal data structure for editor/viewer to render the campaign. * @maxLength 10000000 */ composerDataJson?: string; /** Default values of existing placeholders. */ defaultValues?: DefaultValues; } interface DefaultValues { /** @maxSize 500 */ map?: Record; } interface UpdateComposerRequest { /** * Campaign ID. * @format GUID */ campaignId?: string; /** Campaign composer. */ composer?: Composer; /** Campaign editor type (optional, default "WEB"). */ campaignEditorType?: CampaignEditorType; /** * Campaign subject (optional). * @maxLength 1000 */ emailSubject?: string | null; /** * Campaign preheader (optional). * @maxLength 1000 */ emailPreheader?: string | null; } interface UpdateComposerResponse { } interface CreateCampaignRequest { /** Campaign composer. */ composer?: Composer; /** Campaign editor type (optional, default "WEB"). */ campaignEditorType?: CampaignEditorType; /** * Campaign subject (optional). * @maxLength 1000 */ emailSubject?: string | null; /** * Campaign preheader (optional). * @maxLength 1000 */ emailPreheader?: string | null; } interface CreateCampaignResponse { /** Campaign information. */ campaign?: Campaign; } interface ResendToNonOpenersRequest { /** * ID of the campaign to resend. * @format GUID */ campaignId?: string; /** * Subject line to use with the resent copy of campaign. * @maxLength 1000 */ emailSubject?: string | null; } interface ResendToNonOpenersResponse { /** * ID of the newly created and resent campaign. * @format GUID */ campaignId?: string; } interface GetAudienceRequest { /** * Campaign ID. * @format GUID */ campaignId: string; } interface GetAudienceResponse { /** Campaign audience. */ audience?: CampaignAudience; } interface CampaignAudience { /** * IDs of contacts to whom to send the campaign. * @format GUID * @maxSize 100 */ contactIds?: string[]; /** * Labels IDs. * @maxLength 100 * @maxSize 20 */ labelIds?: string[]; /** * Segment IDs. * @format GUID * @maxSize 20 */ segmentIds?: string[]; /** Filter for contacts in JSON format. */ contactsFilter?: Record | null; /** * Contacts plain text search expression (searches in name, phone and email fields). * @minLength 1 * @maxLength 100 */ contactsSearchTerm?: string | null; /** Should "inactive" contacts be excluded or not. */ activeContactsOnly?: boolean; } interface IdentifySenderAddressRequest { /** * Email address to verify. * @format EMAIL * @minLength 6 * @maxLength 254 */ emailAddress: string; } interface IdentifySenderAddressResponse { /** * Actual "from" address that will be used for sending emails. * @format EMAIL * @minLength 6 * @maxLength 254 */ senderAddress?: string; } interface CopyUserTemplateToSiteRequest { /** * ID of the user template to copy. * @format GUID */ campaignId?: string; /** * ID of the target meta site where the user template will be copied. * @format GUID */ targetMetaSiteId?: string; } interface CopyUserTemplateToSiteResponse { /** * ID of the newly created user template in the target meta site. * @format GUID */ campaignId?: string; } interface DomainEvent extends DomainEventBodyOneOf { createdEvent?: EntityCreatedEvent; updatedEvent?: EntityUpdatedEvent; deletedEvent?: EntityDeletedEvent; actionEvent?: ActionEvent; /** Event ID. With this ID you can easily spot duplicated events and ignore them. */ id?: string; /** * Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities. * For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`. */ entityFqdn?: string; /** * Event action name, placed at the top level to make it easier for users to dispatch messages. * For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`. */ slug?: string; /** ID of the entity associated with the event. */ entityId?: string; /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */ eventTime?: Date | null; /** * Whether the event was triggered as a result of a privacy regulation application * (for example, GDPR). */ triggeredByAnonymizeRequest?: boolean | null; /** If present, indicates the action that triggered the event. */ originatedFrom?: string | null; /** * A sequence number that indicates the order of updates to an entity. For example, if an entity was updated at 16:00 and then again at 16:01, the second update will always have a higher sequence number. * You can use this number to make sure you're handling updates in the right order. Just save the latest sequence number on your end and compare it to the one in each new message. If the new message has an older (lower) number, you can safely ignore it. */ entityEventSequence?: string | null; } /** @oneof */ interface DomainEventBodyOneOf { createdEvent?: EntityCreatedEvent; updatedEvent?: EntityUpdatedEvent; deletedEvent?: EntityDeletedEvent; actionEvent?: ActionEvent; } interface EntityCreatedEvent { entityAsJson?: string; /** Indicates the event was triggered by a restore-from-trashbin operation for a previously deleted entity */ restoreInfo?: RestoreInfo; } interface RestoreInfo { deletedDate?: Date | null; } interface EntityUpdatedEvent { /** * Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff. * This means that to generate a list of changed fields (as opposed to sent fields) one needs to traverse both objects. * We don't want to impose this on all developers and so we leave this traversal to the notification recipients which need it. */ currentEntityAsJson?: string; } interface EntityDeletedEvent { /** Entity that was deleted. */ deletedEntityAsJson?: string | null; } interface ActionEvent { bodyAsJson?: string; } interface MessageEnvelope { /** * App instance ID. * @format GUID */ instanceId?: string | null; /** * Event type. * @maxLength 150 */ eventType?: string; /** The identification type and identity data. */ identity?: IdentificationData; /** Stringify payload. */ data?: string; /** Details related to the account */ accountInfo?: AccountInfo; } interface IdentificationData extends IdentificationDataIdOneOf { /** * ID of a site visitor that has not logged in to the site. * @format GUID */ anonymousVisitorId?: string; /** * ID of a site visitor that has logged in to the site. * @format GUID */ memberId?: string; /** * ID of a Wix user (site owner, contributor, etc.). * @format GUID */ wixUserId?: string; /** * ID of an app. * @format GUID */ appId?: string; /** @readonly */ identityType?: WebhookIdentityTypeWithLiterals; } /** @oneof */ interface IdentificationDataIdOneOf { /** * ID of a site visitor that has not logged in to the site. * @format GUID */ anonymousVisitorId?: string; /** * ID of a site visitor that has logged in to the site. * @format GUID */ memberId?: string; /** * ID of a Wix user (site owner, contributor, etc.). * @format GUID */ wixUserId?: string; /** * ID of an app. * @format GUID */ appId?: string; } declare enum WebhookIdentityType { UNKNOWN = "UNKNOWN", ANONYMOUS_VISITOR = "ANONYMOUS_VISITOR", MEMBER = "MEMBER", WIX_USER = "WIX_USER", APP = "APP" } /** @enumType */ type WebhookIdentityTypeWithLiterals = WebhookIdentityType | 'UNKNOWN' | 'ANONYMOUS_VISITOR' | 'MEMBER' | 'WIX_USER' | 'APP'; interface AccountInfo { /** * ID of the Wix account associated with the event. * @format GUID */ accountId?: string | null; /** * ID of the parent Wix account. Only included when accountId belongs to a child account. * @format GUID */ parentAccountId?: string | null; /** * ID of the Wix site associated with the event. Only included when the event is tied to a specific site. * @format GUID */ siteId?: string | null; } interface EstimateFilterSizeRequest { /** Contacts filter expression. */ filter?: Record | null; /** Should "inactive" contacts be excluded or not (default value "false"). */ activeContactsOnly?: boolean; /** * Contacts plain text search expression (searches in name, phone and email fields). * @minLength 1 * @maxLength 100 */ search?: string | null; } interface EstimateFilterSizeResponse { /** Mailing list size estimation. */ estimation?: number; } interface EstimateAudienceSizeRequest { /** * Contact IDs of a campaign audience. * @format GUID */ contactIds?: string[]; /** Label IDs of a campaign audience. */ labelIds?: string[]; /** Contacts filter expression (json). */ contactsFilter?: Record | null; /** * Contacts plain text search expression (searches in name, phone and email fields). * @minLength 1 * @maxLength 100 */ search?: string | null; /** * Segment ids of a campaign audience. * @format GUID */ segmentIds?: string[]; /** Should "inactive" contacts be excluded or not (default value "false"). */ activeContactsOnly?: boolean; /** * Id of a campaign that is to be resent. * @format GUID */ resendCampaignId?: string | null; /** Should total number of contacts in provided audience be returned or not (default value "false"). */ withTotal?: boolean; } interface EstimateAudienceSizeResponse { /** Audience size (estimated number of emails to be sent). */ estimation?: number; /** Total number of contacts in provided audience (optional). */ total?: number | null; } interface ReconcileContactRequest { /** * Email address of the contact. * @format EMAIL */ emailAddress?: string; } interface ReconcileContactResponse { /** Created or retrieved contact. */ contact?: Contact; } interface Contact { /** * Unique ID of the contact entity. * @format GUID */ id?: string; /** * Primary email address of the contact. * @format EMAIL */ emailAddress?: string; /** * Full name of the contact (optional). * @maxLength 100 */ fullName?: string | null; /** * Profile picture of the contact (optional). * @format WEB_URL * @maxLength 2048 */ pictureUrl?: string | null; } interface SearchContactsRequest { /** * Text to search contacts by - can search by name or email address. * @maxLength 100 */ searchTerm?: string; /** Should "inactive" contacts be excluded or not (default value "false"). */ activeContactsOnly?: boolean; /** * Page size (default 50, max 1000). * @max 1000 */ pageSize?: number | null; } interface SearchContactsResponse { /** Search results. */ contacts?: Contact[]; } interface GetLabelsRequest { /** Should "inactive" contacts be excluded or not (default value "false"). */ activeContactsOnly?: boolean; } interface GetLabelsResponse { /** Returned labels with contact counts. */ labels?: Label[]; } interface Label { /** * Unique ID of the label entity. * @maxLength 100 */ id?: string; /** * Name of the label. * @maxLength 100 */ name?: string; /** Amount of contacts assigned to the label. */ contactsCount?: number; } interface SubscribeFromLandingPageRequest { /** * Campaign ID that the subscription is happening from. * @format GUID */ campaignId?: string; /** * Email address that is entered into subscription field. * @format EMAIL */ emailAddress?: string; /** Did UoU explicitly consent to terms of use or not (optional, default value "false") */ consent?: boolean; } interface SubscribeFromLandingPageResponse { /** @format GUID */ contactId?: string; } interface ValidateLinkRequest { /** * URL to validate. * @minLength 1 */ url: string; } interface ValidateLinkResponse { /** Whether the link is valid. */ valid?: boolean; } interface ValidateHtmlLinksRequest { /** * HTML string with links. * @maxLength 1000000 */ html: string; } interface ValidateHtmlLinksResponse { /** Non-valid links. */ blacklistedLinks?: string[]; } interface GetCampaignMappingRequest { /** * rule ID in automations * @format GUID */ automationRuleId?: string; /** * template ID configured for the automation * @format GUID */ templateId?: string; } interface GetCampaignMappingResponse { /** @format GUID */ campaignId?: string; } interface UpsertTranslationRequest { /** * Campaign ID. * @format GUID */ campaignId?: string; /** Composer data. */ composer?: Composer; /** * Translation language (optional, default value "EN"). * @format LANGUAGE */ language?: string | null; /** * For BI event [36:1031] only (optional, default value "n/a"). * @format GUID */ automationRuleId?: string | null; /** Should campaign also be published or not (default value "false"). */ publish?: boolean; /** * Campaign subject (optional). * @maxLength 1000 */ emailSubject?: string | null; /** * Campaign preheader (optional). * @maxLength 1000 */ emailPreheader?: string | null; } interface UpsertTranslationResponse { } interface GetUsedPlaceholderKeysRequest { /** * Campaign ID. * @format GUID */ campaignId?: string; } interface GetUsedPlaceholderKeysResponse { /** * Keys of placeholders used in the automation. * @maxLength 200 * @maxSize 300 */ placeholderKeys?: string[]; } interface LookupCampaignMappingRequest { /** * rule ID in automations * @format GUID */ automationRuleId?: string; /** * template ID configured for the automation * @format GUID */ templateId?: string; } interface LookupCampaignMappingResponse { /** @format GUID */ campaignId?: string | null; } interface UpsertAutomationTranslatorContentRequest { /** * Campaign ID that the content belongs to * @format GUID */ campaignId?: string; /** Automation translator content */ automationTranslatorContent?: AutomationTranslatorContent; } /** Automation Translator Content */ interface AutomationTranslatorContent { /** * AutomationTranslatorContent ID * @minLength 1 * @maxLength 256 * @immutable */ id?: string; /** * Content that can contain multiple strings. It represents a json file, that is stored on Smartling * @minLength 1 * @maxLength 800000 */ json?: string; } interface UpsertAutomationTranslatorContentResponse { } interface GetAutomationTranslatorContentRequest { /** * Campaign ID * @format GUID */ campaignId?: string; } interface GetAutomationTranslatorContentResponse { /** Automation translator content */ automationTranslatorContent?: AutomationTranslatorContent; } interface SendTestBulkRequest { /** * Campaign ID * @format GUID */ campaignId?: string; /** * Recipient email address * @format EMAIL */ toEmailAddress?: string; /** Values to replace campaign placeholders with (unique for each campaign) */ placeholders?: Record; /** * Sender from name * @maxLength 100 */ fromName?: string | null; /** * Reply-to email address * @format EMAIL */ replyToEmailAddress?: string | null; /** * Preferred language for campaign content (optional). If not provided, a test email for each campaign language is sent * @format LANGUAGE */ language?: string | null; } interface SendTestBulkResponse { } interface ListStatisticsRequest { /** * IDs of the campaigns to retrieve (max 100 campaigns). * @format GUID * @minSize 1 * @maxSize 100 */ campaignIds: string[]; } interface ListStatisticsResponse { /** List of statistics. */ statistics?: CampaignStatisticsContainer[]; } interface CampaignStatisticsContainer { /** * Campaign ID. * @format GUID */ campaignId?: string; /** Landing page statistics. */ landingPage?: LandingPageStatistics; /** Email campaign statistics. */ email?: DistributionStatistics; } interface ListRecipientsRequest { /** * Campaign ID. * @format GUID */ campaignId: string; /** Email activity to filter. */ activity: RecipientsActivityEnumWithLiterals; /** Pagination options. */ paging?: CursorPaging; } declare enum RecipientsActivityEnum { DELIVERED = "DELIVERED", OPENED = "OPENED", CLICKED = "CLICKED", BOUNCED = "BOUNCED", NOT_SENT = "NOT_SENT", SENT = "SENT", NOT_OPENED = "NOT_OPENED" } /** @enumType */ type RecipientsActivityEnumWithLiterals = RecipientsActivityEnum | 'DELIVERED' | 'OPENED' | 'CLICKED' | 'BOUNCED' | 'NOT_SENT' | 'SENT' | 'NOT_OPENED'; interface CursorPaging { /** * Number of items to load. * @max 1000 */ limit?: number | null; /** * Pointer to the next or previous page in the list of results. * * You can get the relevant cursor token * from the `pagingMetadata` object in the previous call's response. * Not relevant for the first request. * @maxLength 1000 */ cursor?: string | null; } interface ListRecipientsResponse { /** List of recipients. */ recipients?: CampaignRecipientDetails[]; /** Details on the paged set of returned results. */ pagingMetadata?: PagingMetadataV2; } interface CampaignRecipientDetails { /** * Contact ID. * @format GUID */ contactId?: string; /** Date and time of the last activity. */ lastActivityDate?: Date | null; /** * Primary email address of the contact. * @format EMAIL */ emailAddress?: string; /** * Full name of the contact (optional). * @maxLength 100 */ fullName?: string | null; /** Is this contact currently deleted from the site or not. */ contactDeleted?: boolean; } interface PagingMetadataV2 { /** Number of items returned in the response. */ count?: number | null; /** Offset that was requested. */ offset?: number | null; /** Total number of items that match the query. Returned if offset paging is used and the `tooManyToCount` flag is not set. */ total?: number | null; /** Flag that indicates the server failed to calculate the `total` field. */ tooManyToCount?: boolean | null; /** Cursors to navigate through the result pages using `next` and `prev`. Returned if cursor paging is used. */ cursors?: Cursors; } interface Cursors { /** * Cursor string pointing to the next page in the list of results. * @maxLength 16000 */ next?: string | null; /** * Cursor pointing to the previous page in the list of results. * @maxLength 16000 */ prev?: string | null; } /** @docsIgnore */ type PublishApplicationErrors = { code?: 'ALREADY_PUBLISHED'; description?: string; data?: Record; } | { code?: 'SCHEDULING_FEATURE_UNAVAILABLE'; description?: string; data?: Record; } | { code?: 'INVALID_SEND_AT'; description?: string; data?: Record; }; type __PublicMethodMetaInfo = { getUrl: (context: any) => string; httpMethod: K; path: string; pathParams: M; __requestType: T; __originalRequestType: S; __responseType: Q; __originalResponseType: R; }; declare function getCampaign(): __PublicMethodMetaInfo<'GET', { campaignId: string; }, GetCampaignRequest$1, GetCampaignRequest, GetCampaignResponse$1, GetCampaignResponse>; declare function listCampaigns(): __PublicMethodMetaInfo<'GET', {}, ListCampaignsRequest$1, ListCampaignsRequest, ListCampaignsResponse$1, ListCampaignsResponse>; declare function publishCampaign(): __PublicMethodMetaInfo<'POST', { campaignId: string; }, PublishCampaignRequest$1, PublishCampaignRequest, PublishCampaignResponse$1, PublishCampaignResponse>; declare function sendTest(): __PublicMethodMetaInfo<'POST', { campaignId: string; }, SendTestRequest$1, SendTestRequest, SendTestResponse$1, SendTestResponse>; declare function pauseScheduling(): __PublicMethodMetaInfo<'POST', { campaignId: string; }, PauseSchedulingRequest$1, PauseSchedulingRequest, PauseSchedulingResponse$1, PauseSchedulingResponse>; declare function reschedule(): __PublicMethodMetaInfo<'POST', { campaignId: string; }, RescheduleRequest$1, RescheduleRequest, RescheduleResponse$1, RescheduleResponse>; declare function deleteCampaign(): __PublicMethodMetaInfo<'DELETE', { campaignId: string; }, DeleteCampaignRequest$1, DeleteCampaignRequest, DeleteCampaignResponse$1, DeleteCampaignResponse>; declare function reuseCampaign(): __PublicMethodMetaInfo<'POST', { campaignId: string; }, ReuseCampaignRequest$1, ReuseCampaignRequest, ReuseCampaignResponse$1, ReuseCampaignResponse>; declare function getAudience(): __PublicMethodMetaInfo<'POST', { campaignId: string; }, GetAudienceRequest$1, GetAudienceRequest, GetAudienceResponse$1, GetAudienceResponse>; declare function identifySenderAddress(): __PublicMethodMetaInfo<'POST', {}, IdentifySenderAddressRequest$1, IdentifySenderAddressRequest, IdentifySenderAddressResponse$1, IdentifySenderAddressResponse>; declare function validateLink(): __PublicMethodMetaInfo<'POST', {}, ValidateLinkRequest$1, ValidateLinkRequest, ValidateLinkResponse$1, ValidateLinkResponse>; declare function validateHtmlLinks(): __PublicMethodMetaInfo<'POST', {}, ValidateHtmlLinksRequest$1, ValidateHtmlLinksRequest, ValidateHtmlLinksResponse$1, ValidateHtmlLinksResponse>; declare function listStatistics(): __PublicMethodMetaInfo<'GET', {}, ListStatisticsRequest$1, ListStatisticsRequest, ListStatisticsResponse$1, ListStatisticsResponse>; declare function listRecipients(): __PublicMethodMetaInfo<'GET', { campaignId: string; }, ListRecipientsRequest$1, ListRecipientsRequest, ListRecipientsResponse$1, ListRecipientsResponse>; export { type AccountInfo as AccountInfoOriginal, type ActionEvent as ActionEventOriginal, ActivityType as ActivityTypeOriginal, type ActivityTypeWithLiterals as ActivityTypeWithLiteralsOriginal, type ArchiveCampaignRequest as ArchiveCampaignRequestOriginal, type ArchiveCampaignResponse as ArchiveCampaignResponseOriginal, type Archived as ArchivedOriginal, type Attachment as AttachmentOriginal, type AutomationTranslatorContent as AutomationTranslatorContentOriginal, type CampaignAudience as CampaignAudienceOriginal, CampaignEditorTypeEnum as CampaignEditorTypeEnumOriginal, type CampaignEditorTypeEnumWithLiterals as CampaignEditorTypeEnumWithLiteralsOriginal, type CampaignEditorType as CampaignEditorTypeOriginal, type Campaign as CampaignOriginal, type CampaignRecipientDetails as CampaignRecipientDetailsOriginal, CampaignSendingStateEnum as CampaignSendingStateEnumOriginal, type CampaignSendingStateEnumWithLiterals as CampaignSendingStateEnumWithLiteralsOriginal, type CampaignStatisticsContainer as CampaignStatisticsContainerOriginal, type CampaignStatistics as CampaignStatisticsOriginal, CampaignStatusEnum as CampaignStatusEnumOriginal, type CampaignStatusEnumWithLiterals as CampaignStatusEnumWithLiteralsOriginal, CampaignTypeEnum as CampaignTypeEnumOriginal, type CampaignTypeEnumWithLiterals as CampaignTypeEnumWithLiteralsOriginal, CampaignVisibilityStatusEnum as CampaignVisibilityStatusEnumOriginal, type CampaignVisibilityStatusEnumWithLiterals as CampaignVisibilityStatusEnumWithLiteralsOriginal, type Click as ClickOriginal, type Composer as ComposerOriginal, type Contact as ContactOriginal, type CopyUserTemplateToSiteRequest as CopyUserTemplateToSiteRequestOriginal, type CopyUserTemplateToSiteResponse as CopyUserTemplateToSiteResponseOriginal, type CountCampaignsRequest as CountCampaignsRequestOriginal, type CountCampaignsResponse as CountCampaignsResponseOriginal, type CreateCampaignRequest as CreateCampaignRequestOriginal, type CreateCampaignResponse as CreateCampaignResponseOriginal, type CreateFromTemplateRequest as CreateFromTemplateRequestOriginal, type CreateFromTemplateResponse as CreateFromTemplateResponseOriginal, type CreateFromUserTemplateRequest as CreateFromUserTemplateRequestOriginal, type CreateFromUserTemplateResponse as CreateFromUserTemplateResponseOriginal, type CreateUserTemplateRequest as CreateUserTemplateRequestOriginal, type CreateUserTemplateResponse as CreateUserTemplateResponseOriginal, type CursorPaging as CursorPagingOriginal, type Cursors as CursorsOriginal, type DateTime as DateTimeOriginal, type Decimal as DecimalOriginal, type DefaultValues as DefaultValuesOriginal, type DeleteCampaignRequest as DeleteCampaignRequestOriginal, type DeleteCampaignResponse as DeleteCampaignResponseOriginal, type Distributed as DistributedOriginal, type DistributionStatistics as DistributionStatisticsOriginal, type DomainEventBodyOneOf as DomainEventBodyOneOfOriginal, type DomainEvent as DomainEventOriginal, type EmailActivityUpdatedEventTypeOneOf as EmailActivityUpdatedEventTypeOneOfOriginal, type EmailActivityUpdated as EmailActivityUpdatedOriginal, type EmailDistributionOptions as EmailDistributionOptionsOriginal, type EntityCreatedEvent as EntityCreatedEventOriginal, type EntityDeletedEvent as EntityDeletedEventOriginal, type EntityUpdatedEvent as EntityUpdatedEventOriginal, Enum as EnumOriginal, type EnumWithLiterals as EnumWithLiteralsOriginal, type EstimateAudienceSizeRequest as EstimateAudienceSizeRequestOriginal, type EstimateAudienceSizeResponse as EstimateAudienceSizeResponseOriginal, type EstimateFilterSizeRequest as EstimateFilterSizeRequestOriginal, type EstimateFilterSizeResponse as EstimateFilterSizeResponseOriginal, type GetAudienceRequest as GetAudienceRequestOriginal, type GetAudienceResponse as GetAudienceResponseOriginal, type GetAutomationTranslatorContentRequest as GetAutomationTranslatorContentRequestOriginal, type GetAutomationTranslatorContentResponse as GetAutomationTranslatorContentResponseOriginal, type GetCampaignMappingRequest as GetCampaignMappingRequestOriginal, type GetCampaignMappingResponse as GetCampaignMappingResponseOriginal, type GetCampaignRequest as GetCampaignRequestOriginal, type GetCampaignResponse as GetCampaignResponseOriginal, type GetComposerRequest as GetComposerRequestOriginal, type GetComposerResponse as GetComposerResponseOriginal, type GetDefaultComponentsRequest as GetDefaultComponentsRequestOriginal, type GetDefaultComponentsResponse as GetDefaultComponentsResponseOriginal, type GetLabelsRequest as GetLabelsRequestOriginal, type GetLabelsResponse as GetLabelsResponseOriginal, type GetPlaceholderKeysRequest as GetPlaceholderKeysRequestOriginal, type GetPlaceholderKeysResponse as GetPlaceholderKeysResponseOriginal, type GetUsedPlaceholderKeysRequest as GetUsedPlaceholderKeysRequestOriginal, type GetUsedPlaceholderKeysResponse as GetUsedPlaceholderKeysResponseOriginal, type HardBounce as HardBounceOriginal, type Html as HtmlOriginal, type IdentificationDataIdOneOf as IdentificationDataIdOneOfOriginal, type IdentificationData as IdentificationDataOriginal, type IdentifySenderAddressRequest as IdentifySenderAddressRequestOriginal, type IdentifySenderAddressResponse as IdentifySenderAddressResponseOriginal, type Integer as IntegerOriginal, type Label as LabelOriginal, type LandingPageStatistics as LandingPageStatisticsOriginal, type ListCampaignsRequest as ListCampaignsRequestOriginal, type ListCampaignsResponse as ListCampaignsResponseOriginal, type ListRecipientsRequest as ListRecipientsRequestOriginal, type ListRecipientsResponse as ListRecipientsResponseOriginal, type ListStatisticsRequest as ListStatisticsRequestOriginal, type ListStatisticsResponse as ListStatisticsResponseOriginal, type LocalDate as LocalDateOriginal, type LookupCampaignMappingRequest as LookupCampaignMappingRequestOriginal, type LookupCampaignMappingResponse as LookupCampaignMappingResponseOriginal, type Map as MapOriginal, type MessageEnvelope as MessageEnvelopeOriginal, type Money as MoneyOriginal, type Open as OpenOriginal, type PagingMetadataV2 as PagingMetadataV2Original, type Paging as PagingOriginal, type PauseSchedulingRequest as PauseSchedulingRequestOriginal, type PauseSchedulingResponse as PauseSchedulingResponseOriginal, type Paused as PausedOriginal, type PlaceholderContentEnum as PlaceholderContentEnumOriginal, type PlaceholderContent as PlaceholderContentOriginal, type PlaceholderContentValueOneOf as PlaceholderContentValueOneOfOriginal, type PlainText as PlainTextOriginal, type PreviewCampaignRequest as PreviewCampaignRequestOriginal, type PreviewCampaignResponse as PreviewCampaignResponseOriginal, type PublishApplicationErrors as PublishApplicationErrorsOriginal, type PublishCampaignRequest as PublishCampaignRequestOriginal, type PublishCampaignResponse as PublishCampaignResponseOriginal, type Published as PublishedOriginal, type PublishingData as PublishingDataOriginal, RecipientsActivityEnum as RecipientsActivityEnumOriginal, type RecipientsActivityEnumWithLiterals as RecipientsActivityEnumWithLiteralsOriginal, type ReconcileContactRequest as ReconcileContactRequestOriginal, type ReconcileContactResponse as ReconcileContactResponseOriginal, type Rejected as RejectedOriginal, type RejectionData as RejectionDataOriginal, RejectionReasonEnum as RejectionReasonEnumOriginal, type RejectionReasonEnumWithLiterals as RejectionReasonEnumWithLiteralsOriginal, type RescheduleRequest as RescheduleRequestOriginal, type RescheduleResponse as RescheduleResponseOriginal, type ResendToNonOpenersRequest as ResendToNonOpenersRequestOriginal, type ResendToNonOpenersResponse as ResendToNonOpenersResponseOriginal, type RestoreInfo as RestoreInfoOriginal, type ReuseCampaignRequest as ReuseCampaignRequestOriginal, type ReuseCampaignResponse as ReuseCampaignResponseOriginal, type Scheduled as ScheduledOriginal, type SearchContactsRequest as SearchContactsRequestOriginal, type SearchContactsResponse as SearchContactsResponseOriginal, type SendTestBulkRequest as SendTestBulkRequestOriginal, type SendTestBulkResponse as SendTestBulkResponseOriginal, type SendTestRequest as SendTestRequestOriginal, type SendTestResponse as SendTestResponseOriginal, type SoftBounce as SoftBounceOriginal, type SubscribeFromLandingPageRequest as SubscribeFromLandingPageRequestOriginal, type SubscribeFromLandingPageResponse as SubscribeFromLandingPageResponseOriginal, type Terminated as TerminatedOriginal, type TotalStatistics as TotalStatisticsOriginal, type UnarchiveCampaignRequest as UnarchiveCampaignRequestOriginal, type UnarchiveCampaignResponse as UnarchiveCampaignResponseOriginal, type Unarchived as UnarchivedOriginal, type UpdateComposerRequest as UpdateComposerRequestOriginal, type UpdateComposerResponse as UpdateComposerResponseOriginal, type UpdateTitleRequest as UpdateTitleRequestOriginal, type UpdateTitleResponse as UpdateTitleResponseOriginal, type UpsertAutomationTranslatorContentRequest as UpsertAutomationTranslatorContentRequestOriginal, type UpsertAutomationTranslatorContentResponse as UpsertAutomationTranslatorContentResponseOriginal, type UpsertTranslationRequest as UpsertTranslationRequestOriginal, type UpsertTranslationResponse as UpsertTranslationResponseOriginal, type ValidateHtmlLinksRequest as ValidateHtmlLinksRequestOriginal, type ValidateHtmlLinksResponse as ValidateHtmlLinksResponseOriginal, type ValidateLinkRequest as ValidateLinkRequestOriginal, type ValidateLinkResponse as ValidateLinkResponseOriginal, WebhookIdentityType as WebhookIdentityTypeOriginal, type WebhookIdentityTypeWithLiterals as WebhookIdentityTypeWithLiteralsOriginal, type _Array as _ArrayOriginal, type __PublicMethodMetaInfo, deleteCampaign, getAudience, getCampaign, identifySenderAddress, listCampaigns, listRecipients, listStatistics, pauseScheduling, publishCampaign, reschedule, reuseCampaign, sendTest, validateHtmlLinks, validateLink };