diff --git a/src/@ionic-native/plugins/call-directory/index.ts b/src/@ionic-native/plugins/call-directory/index.ts index 573b5d1b3..689b135d1 100644 --- a/src/@ionic-native/plugins/call-directory/index.ts +++ b/src/@ionic-native/plugins/call-directory/index.ts @@ -6,6 +6,11 @@ export interface CallDirectoryItem { number: string; } +export interface CallDirectoryLog { + plugin: Array; + extension: Array; +} + /** * @name Call Directory * @description @@ -29,6 +34,10 @@ export interface CallDirectoryItem { * .then(res: string) => console.log(res)) * .catch((error: any) => console.error(error)); * ``` + * + * @Interfaces + * CallDirectoryItem + * CallDirectoryLog */ @Plugin({ pluginName: 'CallDirectory', @@ -97,4 +106,13 @@ export class CallDirectory extends IonicNativePlugin { reloadExtension(): Promise { return; } + + /** + * Get log from plugin and call directory extension + * @return {Promise} Returns a promise with an object of log messages + */ + @Cordova() + getLog(): Promise { + return; + } }