/* 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.
*/
/**
* Additional details about the SMS consent actions (opt-in, opt-out) in JSON format. The consent_action_type and the method used to add or update a contacts SMS details determines which properties are returned in the results.
* @export
* @interface HistoryDetails
*/
export interface HistoryDetails {
/**
* The code representing the consent state, including E for optin and O for Optin.
* @type {string}
* @memberof HistoryDetails
*/
'state'?: string;
/**
* The code representing the consent source type, including A for Account, C for Contact, and S\' for System.
* @type {string}
* @memberof HistoryDetails
*/
'source'?: string;
/**
* The type of SMS consent used.
* @type {string}
* @memberof HistoryDetails
*/
'consent_type'?: string;
/**
* The date and time that SMS engagement data was last updated, in ISO-8601 format. System generated.
* @type {string}
* @memberof HistoryDetails
*/
'consent_action_time'?: string;
/**
* The type of consent action provided.
* @type {string}
* @memberof HistoryDetails
*/
'consent_action_type'?: string;
/**
* The code representing the medium used to provide consent. Medium types include mobile device (MD). lead generation form(LF), deactivation by carrier(CD), import_file:(FI), and system (SY).
* @type {string}
* @memberof HistoryDetails
*/
'consent_medium_type'?: string;
/**
* The time that SMS consent was last updated.
* @type {string}
* @memberof HistoryDetails
*/
'source_consent_timestamp'?: string;
/**
* If applicable, the IP address from which the consent came.
* @type {string}
* @memberof HistoryDetails
*/
'source_ip'?: string;
/**
* If applicable, the SMS consent number associated with the source.
* @type {string}
* @memberof HistoryDetails
*/
'source_sms_number'?: string;
/**
* If applicable, the advertising numeric component used to advertise to the contact.. For example, if advertised_frequency is set to 2 , and advertised_interval is set to M, the contact receives advertisements twice a month.
* @type {number}
* @memberof HistoryDetails
*/
'advertised_frequency'?: number;
/**
* If applicable, the interval component used to advertise to the contact. For example, if advertised_frequency is set to 2 , and advertised_interval is set to M, the contact receives advertisements twice a month.
* @type {string}
* @memberof HistoryDetails
*/
'advertised_interval'?: string;
}