diff --git a/src/@awesome-cordova-plugins/plugins/clevertap/index.ts b/src/@awesome-cordova-plugins/plugins/clevertap/index.ts index 1ba0233d0d..5ad10be292 100644 --- a/src/@awesome-cordova-plugins/plugins/clevertap/index.ts +++ b/src/@awesome-cordova-plugins/plugins/clevertap/index.ts @@ -121,13 +121,14 @@ export class CleverTap extends AwesomeCordovaNativePlugin { } /** - * Sets the device's Xiaomi push token - * + * Sets the device's Xiaomi push token. + * clevertap-cordova 2.6.0 onwards method requires region as a mandatory parameter. * @param token {string} + * @param region {string} * @returns {Promise} */ @Cordova() - setPushXiaomiToken(token: string): Promise { + setPushXiaomiToken(token: string, region: string): Promise { return; } @@ -804,6 +805,17 @@ export class CleverTap extends AwesomeCordovaNativePlugin { return; } + /** + * Call this method to delete bulk Inbox Messages for Given Message Ids + * + * @param messageIds {any} array of strings + * @returns {Promise} + */ + @Cordova() + deleteInboxMessagesForIds(messageIds: any): Promise { + return; + } + /** * Call this to Mark Read Inbox Message For Id *