intercom / intercom-node

Node.js bindings for the Intercom API
https://developers.intercom.com
Other
366 stars 116 forks source link

Add switch api + data export api #331

Closed SeanHealy33 closed 1 year ago

SeanHealy33 commented 1 year ago

Why?

Data_exports

> start()
Promise { <pending> }
> {
  job_identifier: 'kby097a3e7o7rw10',
  status: 'pending',
  download_url: '',
  download_expires_at: ''
}
>
> start()
Promise { <pending> }
> {
  job_identifier: 'kby097a3e7o7rw10',
  status: 'no_data',
  download_url: '',
  download_expires_at: ''
}

Phone

> start()
Promise { <pending> }
{
  type: "phone_call_redirect",
  url: "redacted",
}