@didomi/iabtcf-cmpapi
Version:
Ensures other in-page digital marketing technologies have access to CMP transparency and consent information for the iab. Transparency and Consent Framework (TCF).
24 lines (23 loc) • 881 B
JavaScript
/**
* EventStatus enum represents the possible values of the eventStatus property of the TCData
*/
export var EventStatus;
(function (EventStatus) {
/**
* A CMP is loaded and is prepared to surface a TC String to any calling scripts on the page
* @type {string}
*/
EventStatus["TC_LOADED"] = "tcloaded";
/**
* The UI is surfaced or re-surfaced
* And TC String is available and has rendered "Transparency" in accordance with the TCF Policy.
* @type {string}
*/
EventStatus["CMP_UI_SHOWN"] = "cmpuishown";
/**
* User has confirmed or re-confirmed their choices in accordance with TCF Policy
* and a CMP is prepared to respond to any calling scripts with the corresponding TC String.
* @type {string}
*/
EventStatus["USER_ACTION_COMPLETE"] = "useractioncomplete";
})(EventStatus || (EventStatus = {}));