/* 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 { GetContactById200ResponseCustomFieldsInner } from './get-contact-by-id200-response-custom-fields-inner'; // May contain unused imports in some cases // @ts-ignore import { GetContactById200ResponseEmailAddress } from './get-contact-by-id200-response-email-address'; // 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 { GetContactById200ResponsePhoneNumbersInner } from './get-contact-by-id200-response-phone-numbers-inner'; // May contain unused imports in some cases // @ts-ignore import { GetContactById200ResponseSmsChannel } from './get-contact-by-id200-response-sms-channel'; // May contain unused imports in some cases // @ts-ignore import { GetContactById200ResponseStreetAddressesInner } from './get-contact-by-id200-response-street-addresses-inner'; /** * Use this endpoint to retrieve (GET), update (PUT), or DELETE an existing contact resource specified using the contact_id path parameter. * @export * @interface ContactResource */ export interface ContactResource { /** * Unique ID for each contact resource * @type {string} * @memberof ContactResource */ 'contact_id'?: string; /** * * @type {GetContactById200ResponseEmailAddress} * @memberof ContactResource */ 'email_address'?: GetContactById200ResponseEmailAddress; /** * The first name of the contact. * @type {string} * @memberof ContactResource */ 'first_name'?: string; /** * The last name of the contact. * @type {string} * @memberof ContactResource */ 'last_name'?: string; /** * The job title of the contact. * @type {string} * @memberof ContactResource */ 'job_title'?: string; /** * The name of the company where the contact works. * @type {string} * @memberof ContactResource */ 'company_name'?: string; /** * The month value for the contact\'s birthday. Valid values are from 1 through 12. You must use this property with birthday_month. * @type {number} * @memberof ContactResource */ 'birthday_month'?: number; /** * The day value for the contact\'s birthday. Valid values are from 1 through 12. You must use this property with birthday_day. * @type {number} * @memberof ContactResource */ '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 ContactResource */ 'anniversary'?: string; /** * Identifies who last updated the contact; valid values are Contact or Account. * @type {string} * @memberof ContactResource */ 'update_source'?: 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 when contact is created. * @type {string} * @memberof ContactResource */ 'create_source'?: string; /** * System generated date and time that the resource was created, in ISO-8601 format. * @type {string} * @memberof ContactResource */ 'created_at'?: string; /** * System generated date and time that the contact was last updated, in ISO-8601 format. * @type {string} * @memberof ContactResource */ 'updated_at'?: string; /** * For deleted contacts (email_address contains opt_out_source and opt_out_date), shows the date of deletion. * @type {string} * @memberof ContactResource */ 'deleted_at'?: string; /** * Array of up to 25 custom_field subresources. * @type {Array} * @memberof ContactResource */ 'custom_fields'?: Array; /** * Array of up to 3 phone_numbers subresources. * @type {Array} * @memberof ContactResource */ 'phone_numbers'?: Array; /** * Array of up to 3 street_addresses subresources. * @type {Array} * @memberof ContactResource */ 'street_addresses'?: Array; /** * Array of up to 50 list_ids to which the contact is subscribed. * @type {Array} * @memberof ContactResource */ 'list_memberships'?: Array; /** * Array of tags (tag_id) assigned to the contact, up to a maximum of 50. * @type {Array} * @memberof ContactResource */ 'taggings'?: Array; /** * An array of notes about the contact listed by most recent note first. * @type {Array} * @memberof ContactResource */ 'notes'?: Array; /** * * @type {GetContactById200ResponseSmsChannel} * @memberof ContactResource */ 'sms_channel'?: GetContactById200ResponseSmsChannel; }