@lob/lob-typescript-sdk
Version:
Lob API wrapper
90 lines (89 loc) • 3.03 kB
TypeScript
/**
* Lob
* The Lob API is organized around REST. Our API is designed to have predictable, resource-oriented URLs and uses HTTP response codes to indicate any API errors. <p> Looking for our [previous documentation](https://lob.github.io/legacy-docs/)?
*
* The version of the OpenAPI document: 1.3.0
* Contact: lob-openapi@lob.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 { CmpScheduleType } from "./cmp-schedule-type";
import { CmpUseType } from "./cmp-use-type";
/**
*
* @export
* @class CampaignUpdatable
*/
export declare class CampaignUpdatable {
constructor(input?: any);
/**
*
* @type {string}
* @memberof CampaignUpdatable
*/
"name"?: string;
/**
* An internal description that identifies this resource. Must be no longer than 255 characters.
* @type {string}
* @memberof CampaignUpdatable
*/
"description"?: string | null;
/**
*
* @type {CmpScheduleType}
* @memberof CampaignUpdatable
*/
"schedule_type"?: CmpScheduleType;
/**
* If `schedule_type` is `target_delivery_date`, provide a targeted delivery date for mail pieces in this campaign.
* @type {string}
* @memberof CampaignUpdatable
*/
"target_delivery_date"?: string;
/**
* If `schedule_type` is `scheduled_send_date`, provide a date to send this campaign.
* @type {string}
* @memberof CampaignUpdatable
*/
"send_date"?: string;
/**
* A window, in minutes, within which the campaign can be canceled.
* @type {number}
* @memberof CampaignUpdatable
*/
"cancel_window_campaign_minutes"?: number;
/**
* Use metadata to store custom information for tagging and labeling back to your internal systems. Must be an object with up to 20 key-value pairs. Keys must be at most 40 characters and values must be at most 500 characters. Neither can contain the characters `\"` and `\\`. i.e. \'{\"customer_id\" : \"NEWYORK2015\"}\' Nested objects are not supported. See [Metadata](#section/Metadata) for more information.
* @type {{ [key: string]: string; }}
* @memberof CampaignUpdatable
*/
"metadata"?: {
[key: string]: string;
};
/**
* Whether or not the campaign is still a draft.
* @type {boolean}
* @memberof CampaignUpdatable
*/
"is_draft"?: boolean;
/**
*
* @type {CmpUseType}
* @memberof CampaignUpdatable
*/
"use_type"?: CmpUseType | null;
/**
* Whether or not a mail piece should be automatically canceled and not sent if the address is updated via NCOA.
* @type {boolean}
* @memberof CampaignUpdatable
*/
"auto_cancel_if_ncoa"?: boolean;
toJSON(): {};
}
/**
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/