fix(call-log): update getCallLog signature

This commit is contained in:
Nicolas 2018-01-30 22:35:48 +01:00
parent 4b9cf17cbb
commit 61c0ecfa4f

View File

@ -28,15 +28,13 @@ export class CallLog extends IonicNativePlugin {
/**
* This function return the call logs
* @param dateFrom {string} get logs from this date (format yyyy-MM-dd)
* @param dateTo {string} get logs until this date (format yyyy-MM-dd)
* @param filters {object[]} array of object to filter the query
* Object must respect this structure {'name':'...', 'value': '...', 'operator': '=='}
* (see https://github.com/creacore-team/cordova-plugin-calllog for more details)
* @return {Promise<any>}
*/
@Cordova()
getCallLog(dateFrom: string, dateTo: string, filters: object[]): Promise<any> { return; }
getCallLog(filters: object[]): Promise<any> { return; }
/**
* Check permission