/* 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: Constant Contact creates a 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 {Array} * @memberof EmailCampaignActivity */ 'contact_list_ids'?: Array; /** * The contacts that Constant Contact sends the email campaign activity to as an array containing a single segment_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} * @memberof EmailCampaignActivity */ 'segment_ids'?: Array; /** * The current status of the email campaign activity. Valid values are:
  • DRAFT — An email campaign activity that you have created but have not sent to contacts.
  • SCHEDULED — An email campaign activity that you have scheduled for Constant Contact to send to contacts.
  • EXECUTING — An email campaign activity Constant Contact is currently sending to contacts. Email campaign activities are only in this status briefly.
  • DONE — An email campaign activity that you successfully sent to contacts.
  • ERROR — An email campaign activity that encountered an error.
  • REMOVED — An email campaign that a user deleted. Users can view and restore deleted emails through the UI.
* @type {string} * @memberof EmailCampaignActivity */ 'current_status'?: string; /** * Identifies the type of email format. Valid values are:
  • 1 - A legacy custom code email created using the V2 API, the V3 API, or the legacy UI HTML editor.
  • 2 - An email created using the second generation email editor UI.
  • 3 - An email created using the third generation email editor UI. This email editor features an improved drag and drop UI and mobile responsiveness.
  • 4 - An email created using the fourth generation email editor UI.
  • 5 - A custom code email created using the V3 API or the new UI HTML editor.
* @type {number} * @memberof EmailCampaignActivity */ 'format_type'?: number; /** * The email \"From 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 */ '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; }