/* tslint:disable */ /* eslint-disable */ /** * Constant Contact API v3 * Swagger build version 3.0.2475 * * The version of the OpenAPI document: 1.0.116 * Contact: webservices@constantcontact.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ // May contain unused imports in some cases // @ts-ignore import { GetEmailCampaignActivity200ResponseDocumentProperties } from './get-email-campaign-activity200-response-document-properties'; // May contain unused imports in some cases // @ts-ignore import { GetEmailCampaignActivity200ResponsePhysicalAddressInFooter } from './get-email-campaign-activity200-response-physical-address-in-footer'; /** * * @export * @interface EmailCampaignActivity */ export interface EmailCampaignActivity { /** * Identifies a campaign activity in the V3 API. * @type {string} * @memberof EmailCampaignActivity */ 'campaign_activity_id'?: string; /** * Identifies a campaign in the V3 API. * @type {string} * @memberof EmailCampaignActivity */ 'campaign_id'?: string; /** * The purpose of the individual campaign activity in the larger email campaign effort. Valid values are:
primary_email contains the complete email content.primary_email content without any personalized email information. For example, permalinks do not contain any of the contact details that you add to the primary_email email content. primary_email and a permalink role campaign activity when you create an email campaign.
* @type {string}
* @memberof EmailCampaignActivity
*/
'role'?: string;
/**
* The contacts that Constant Contact sends the email campaign activity to as an array of contact list_id values. You cannot use contact lists and segments at the same time in an email campaign activity.
* @type {Arraysegment_id value. Only format_type 3, 4, and 5 email campaign activities support segments. You cannot use contact lists and segments at the same time in an email campaign activity.
* @type {Array/account/emails to return a collection of account emails and their confirmation status.
* @type {string}
* @memberof EmailCampaignActivity
*/
'from_email': string;
/**
* The email \"From Name\" field for the email campaign activity.
* @type {string}
* @memberof EmailCampaignActivity
*/
'from_name': string;
/**
* The email \"Reply To Email\" field for the email campaign activity. You must use a confirmed Constant Contact account email address. Make a GET call to /account/emails to return a collection of account emails and their confirmation status.
* @type {string}
* @memberof EmailCampaignActivity
*/
'reply_to_email': string;
/**
* The email \"Subject\" field for the email campaign activity.
* @type {string}
* @memberof EmailCampaignActivity
*/
'subject': string;
/**
* The HTML or XHTML content for the email campaign activity. Only format_type 1 and 5 (legacy custom code emails or modern custom code emails) can contain html_content.
* @type {string}
* @memberof EmailCampaignActivity
*/
'html_content'?: string;
/**
* Identifies the email layout and design template that the email campaign activity is using as a base.
* @type {string}
* @memberof EmailCampaignActivity
*/
'template_id'?: string;
/**
* The permanent link to a web accessible version of the email campaign content without any personalized email information. The permalink URL becomes accessible after you send an email campaign to contacts.
* @type {string}
* @memberof EmailCampaignActivity
*/
'permalink_url'?: string;
/**
* The email preheader for the email campaign activity. Only format_type 3, 4, and 5 email campaign activities use the preheader property.
* @type {string}
* @memberof EmailCampaignActivity
*/
'preheader'?: string;
/**
*
* @type {GetEmailCampaignActivity200ResponsePhysicalAddressInFooter}
* @memberof EmailCampaignActivity
*/
'physical_address_in_footer'?: GetEmailCampaignActivity200ResponsePhysicalAddressInFooter;
/**
*
* @type {GetEmailCampaignActivity200ResponseDocumentProperties}
* @memberof EmailCampaignActivity
*/
'document_properties'?: GetEmailCampaignActivity200ResponseDocumentProperties;
}