/* 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 { CreateContactRequestEmailAddress } from './create-contact-request-email-address'; // May contain unused imports in some cases // @ts-ignore import { GetContactById200ResponseCustomFieldsInner } from './get-contact-by-id200-response-custom-fields-inner'; // May contain unused imports in some cases // @ts-ignore import { GetContactById200ResponseNotesInner } from './get-contact-by-id200-response-notes-inner'; // May contain unused imports in some cases // @ts-ignore import { UpdateContactRequestPhoneNumbersInner } from './update-contact-request-phone-numbers-inner'; // May contain unused imports in some cases // @ts-ignore import { UpdateContactRequestStreetAddressesInner } from './update-contact-request-street-addresses-inner'; /** * * @export * @interface CreateContactRequest */ export interface CreateContactRequest { /** * * @type {CreateContactRequestEmailAddress} * @memberof CreateContactRequest */ 'email_address'?: CreateContactRequestEmailAddress; /** * The first name of the contact. * @type {string} * @memberof CreateContactRequest */ 'first_name'?: string; /** * The last name of the contact. * @type {string} * @memberof CreateContactRequest */ 'last_name'?: string; /** * The job title of the contact. * @type {string} * @memberof CreateContactRequest */ 'job_title'?: string; /** * The name of the company where the contact works. * @type {string} * @memberof CreateContactRequest */ 'company_name'?: string; /** * Describes who added the contact; valid values are Contact or Account. Your integration must accurately identify create_source for compliance reasons; value is set on POST, and is read-only going forward. * @type {string} * @memberof CreateContactRequest */ 'create_source'?: 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 CreateContactRequest */ '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 CreateContactRequest */ 'birthday_day'?: number; /** * 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 CreateContactRequest */ 'anniversary'?: string; /** * Array of up to 25 custom_field key value pairs. * @type {Array} * @memberof CreateContactRequest */ 'custom_fields'?: Array; /** * Array of up to 3 phone numbers subresources. * @type {Array} * @memberof CreateContactRequest */ 'phone_numbers'?: Array; /** * Array of up to 3 street address subresources. * @type {Array} * @memberof CreateContactRequest */ 'street_addresses'?: Array; /** * Array of list_ids to which the contact is being subscribed, up to a maximum of 50. * @type {Array} * @memberof CreateContactRequest */ 'list_memberships'?: Array; /** * Array of tags (tag_id) assigned to the contact, up to a maximum of 50. * @type {Array} * @memberof CreateContactRequest */ 'taggings'?: Array; /** * An array of notes about the contact. * @type {Array} * @memberof CreateContactRequest */ 'notes'?: Array; }