import { Vibes } from '@awesome-cordova-plugins/vibes/ngx';
constructor(private vibes: Vibes) { }
...
this.vibes.registerDevice()
  .then((res: any) => console.log(`device registration success: ${res}`)) 
  .catch((error: any) => console.error('Error registering device', error));
this.vibes.registerPush()
  .then((res: any) => console.log(res))
  .catch((error: any) => console.error('Error registering push', error));
this.vibes.getVibesDeviceInfo()
  .then((res: any) => console.log(res)) 
  .catch((error: any) => console.error('Error retrieving deviceinfo', error));
this.vibes.fetchInboxMessages()
  .then((res: any) => console.log(res)) 
  .catch((error: any) => console.error('Error fetching inbox messages for this person', error));