@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).
31 lines (30 loc) • 751 B
TypeScript
/**
* An enum representing all the possible statuses for the cmpStatus returned
* through the CMP API
*
* @readonly
* @enum {string}
*/
export declare enum CmpStatus {
/**
* CMP not yet loaded – stub still in place
* @type {string}
*/
STUB = "stub",
/**
* CMP is loading
* @type {string}
*/
LOADING = "loading",
/**
* CMP is finished loading
* @type {string}
*/
LOADED = "loaded",
/**
* CMP is in an error state. A CMP shall not respond to any other API requests if this cmpStatus is present.
* A CMP may set this status if, for any reason, it is unable to perform the operations in compliance with the TCF.
* @type {string}
*/
ERROR = "error"
}