diff --git a/src/@awesome-cordova-plugins/plugins/clevertap/index.ts b/src/@awesome-cordova-plugins/plugins/clevertap/index.ts index 914a20c431..4206840bfd 100644 --- a/src/@awesome-cordova-plugins/plugins/clevertap/index.ts +++ b/src/@awesome-cordova-plugins/plugins/clevertap/index.ts @@ -99,7 +99,7 @@ export class CleverTap extends AwesomeCordovaNativePlugin { * Call this method to set a custom locale for the clevertap instance. * @param locale {string} * @returns {Promise} - */ + */ @Cordova() setLocale(locale: string): Promise { return; @@ -663,6 +663,28 @@ export class CleverTap extends AwesomeCordovaNativePlugin { return; } + /** + * Deletes all images and gifs which are preloaded for inapps in cs mode. + * + * @param expiredOnly {boolean} - to clear only assets which will not be needed further for inapps + * @returns {Promise} + */ + @Cordova() + clearInAppResources(expiredOnly: boolean): Promise { + return; + } + + /** + * Fetches In Apps from server. + * + * @returns {Promise} + */ + @Cordova() + fetchInApps(): Promise { + return; + } + + /******************* * Session ******************/ @@ -836,7 +858,7 @@ export class CleverTap extends AwesomeCordovaNativePlugin { markReadInboxMessageForId(messageId: string): Promise { return; } - + /** * Call this to Mark Read Inbox Messages For Ids in bulk * @@ -857,7 +879,7 @@ export class CleverTap extends AwesomeCordovaNativePlugin { dismissInbox(): Promise { return; } - + /** * Call this to Mark Push Inbox Notification Viewed Event for Id * @@ -1079,7 +1101,7 @@ export class CleverTap extends AwesomeCordovaNativePlugin { /**************************** * Product Experiences methods ****************************/ - + /** * * Uploads variables to the server. Requires Development/Debug build/configuration. @@ -1113,7 +1135,7 @@ export class CleverTap extends AwesomeCordovaNativePlugin { } /** - * Create variables. + * Create variables. * @returns {Promise} * @param {object} variables The JSON Object specifying the varibles to be created. */ @@ -1131,7 +1153,7 @@ export class CleverTap extends AwesomeCordovaNativePlugin { getVariable(name: string): Promise { return; } - + /** * Get all variables via a JSON object. * @returns {Promise} @@ -1194,7 +1216,7 @@ export class CleverTap extends AwesomeCordovaNativePlugin { return; } - + /******************* * Developer Options ******************/