react-native-efilli-sdk
Version:
Efilli SDK for React Native - Consent Management Solution
26 lines (25 loc) • 887 B
TypeScript
/**
* Categories model representing the various consent categories that can be granted or denied
*/
export declare class Categories {
/** Essential cookies that are necessary for the website to function */
essential: boolean;
/** Functional cookies that enhance the usability of the website */
functional: boolean;
/** Marketing cookies used for targeting and advertising */
marketing: boolean;
/** Other cookies not falling into the above categories */
other: boolean;
/**
* Create a Categories instance
*/
constructor(essential?: boolean, functional?: boolean, marketing?: boolean, other?: boolean);
/**
* Create a Categories instance from a plain object or JSON string
*/
static fromJSON(data: object | string): Categories;
/**
* Convert to a plain object
*/
toJSON(): Record<string, boolean>;
}