Ionic pro methods undefined

// Get app info
this.pro.getAppInfo().then((res: AppInfo) => {
  console.log(res)
})
*
// Get live update info
this.pro.deploy.info().then((res: DeployInfo) => {
  console.log(res)
})

showing error for getAppInfo and info