@@ -8,6 +8,7 @@ import Contact from './contact';
88import Conversation from './conversation' ;
99import Count from './count' ;
1010import DataAttribute from './dataAttribute' ;
11+ import DataExport from './dataExport' ;
1112import Event from './event' ;
1213import HelpCenter from './helpCenter' ;
1314import Message from './message' ;
@@ -17,6 +18,7 @@ import Subscription from './subscription';
1718import Team from './team' ;
1819import Tag from './tag' ;
1920import Visitor from './visitor' ;
21+ import PhoneCallRedirect from './phoneCallRedirect' ;
2022
2123import * as packageJson from '../package.json' ;
2224
@@ -59,6 +61,7 @@ export default class Client {
5961 conversations : Conversation ;
6062 counts : Count ;
6163 dataAttributes : DataAttribute ;
64+ dataExport : DataExport ;
6265 events : Event ;
6366 helpCenter : HelpCenter ;
6467 messages : Message ;
@@ -72,6 +75,7 @@ export default class Client {
7275 teams : Team ;
7376 usernamePart ?: string ;
7477 visitors : Visitor ;
78+ phoneCallRedirect : PhoneCallRedirect ;
7579
7680 constructor ( args : Constructor ) {
7781 const [ usernamePart , passwordPart ] = Client . getAuthDetails ( args ) ;
@@ -92,6 +96,7 @@ export default class Client {
9296 this . conversations = new Conversation ( this ) ;
9397 this . counts = new Count ( this ) ;
9498 this . dataAttributes = new DataAttribute ( this ) ;
99+ this . dataExport = new DataExport ( this ) ;
95100 this . events = new Event ( this ) ;
96101 this . helpCenter = new HelpCenter ( this ) ;
97102 this . messages = new Message ( this ) ;
@@ -101,6 +106,7 @@ export default class Client {
101106 this . tags = new Tag ( this ) ;
102107 this . teams = new Team ( this ) ;
103108 this . visitors = new Visitor ( this ) ;
109+ this . phoneCallRedirect = new PhoneCallRedirect ( this ) ;
104110 this . requestOpts = {
105111 baseURL : 'https://api.intercom.io' ,
106112 } ;
0 commit comments