/* 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 { CreateOrUpdateContactRequestCustomFieldsInner } from './create-or-update-contact-request-custom-fields-inner'; // May contain unused imports in some cases // @ts-ignore import { CreateOrUpdateContactRequestStreetAddress } from './create-or-update-contact-request-street-address'; /** * * @export * @interface ContactCreateOrUpdateInput */ export interface ContactCreateOrUpdateInput { /** * The email address for the contact. This method identifies each unique contact using their email address. If the email address exists in the account, this method updates the contact. If the email address is new, this method creates a new contact. * @type {string} * @memberof ContactCreateOrUpdateInput */ 'email_address': string; /** * The first name of the contact. * @type {string} * @memberof ContactCreateOrUpdateInput */ 'first_name'?: string; /** * The last name of the contact. * @type {string} * @memberof ContactCreateOrUpdateInput */ 'last_name'?: string; /** * The job title of the contact. * @type {string} * @memberof ContactCreateOrUpdateInput */ 'job_title'?: string; /** * The name of the company where the contact works. * @type {string} * @memberof ContactCreateOrUpdateInput */ 'company_name'?: string; /** * The phone number for the contact. * @type {string} * @memberof ContactCreateOrUpdateInput */ 'phone_number'?: string; /** * The contact lists you want to add the contact to as an array of up to 50 contact list_id values. You must include at least one list_id. * @type {Array} * @memberof ContactCreateOrUpdateInput */ 'list_memberships': Array; /** * The custom fields you want to add to the contact as an array of up to 50 custom field objects. * @type {Array} * @memberof ContactCreateOrUpdateInput */ 'custom_fields'?: Array; /** * The anniversary date for the contact. For example, this value could be the date when the contact first became a customer of an organization in Constant Contact. Valid date formats are MM/DD/YYYY, M/D/YYYY, YYYY/MM/DD, YYYY/M/D, YYYY-MM-DD, YYYY-M-D,M-D-YYYY, or M-DD-YYYY. * @type {string} * @memberof ContactCreateOrUpdateInput */ 'anniversary'?: string; /** * The month value for the contact\'s birthday. Valid values are from 1 through 12. The birthday_month property is required if you use birthday_day. * @type {number} * @memberof ContactCreateOrUpdateInput */ 'birthday_month'?: number; /** * The day value for the contact\'s birthday. Valid values are from 1 through 31. The birthday_day property is required if you use birthday_month. * @type {number} * @memberof ContactCreateOrUpdateInput */ 'birthday_day'?: number; /** * * @type {CreateOrUpdateContactRequestStreetAddress} * @memberof ContactCreateOrUpdateInput */ 'street_address'?: CreateOrUpdateContactRequestStreetAddress; }