/** * Klaviyo API * The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. * * Contact: developers@klaviyo.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import { Audiences } from './audiences'; import { CampaignResponseObjectResourceAttributesSendOptions } from './campaignResponseObjectResourceAttributesSendOptions'; import { CampaignResponseObjectResourceAttributesSendStrategy } from './campaignResponseObjectResourceAttributesSendStrategy'; import { CampaignResponseObjectResourceAttributesTrackingOptions } from './campaignResponseObjectResourceAttributesTrackingOptions'; export declare class CampaignResponseObjectResourceAttributes { /** * The campaign name */ 'name': string; /** * The current status of the campaign */ 'status': CampaignResponseObjectResourceAttributes.StatusEnum | 'Adding Recipients' | 'Cancelled' | 'Cancelled: Account Disabled' | 'Cancelled: Billing Limit' | 'Cancelled: Internal Error' | 'Cancelled: Misconfigured' | 'Cancelled: No Recipients' | 'Cancelled: Smart Sending' | 'Draft' | 'Preparing to schedule' | 'Preparing to send' | 'Queued without Recipients' | 'Scheduled' | 'Sending' | 'Sending Segments' | 'Sent' | 'Unknown' | 'Variations Sent'; /** * Whether the campaign has been archived or not */ 'archived': boolean; 'audiences': Audiences; 'sendOptions': CampaignResponseObjectResourceAttributesSendOptions; 'trackingOptions'?: CampaignResponseObjectResourceAttributesTrackingOptions | null; 'sendStrategy': CampaignResponseObjectResourceAttributesSendStrategy; /** * The datetime when the campaign was created */ 'createdAt': Date; /** * The datetime when the campaign was scheduled for future sending */ 'scheduledAt'?: Date | null; /** * The datetime when the campaign was last updated by a user or the system */ 'updatedAt': Date; /** * The datetime when the campaign will be / was sent or None if not yet scheduled by a send_job. */ 'sendTime'?: Date | null; static attributeTypeMap: Array<{ name: string; baseName: string; type: string; }>; static getAttributeTypeMap(): { name: string; baseName: string; type: string; }[]; } export declare namespace CampaignResponseObjectResourceAttributes { enum StatusEnum { AddingRecipients, Cancelled, CancelledAccountDisabled, CancelledBillingLimit, CancelledInternalError, CancelledMisconfigured, CancelledNoRecipients, CancelledSmartSending, Draft, PreparingToSchedule, PreparingToSend, QueuedWithoutRecipients, Scheduled, Sending, SendingSegments, Sent, Unknown, VariationsSent } }