@@ -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' ;
@@ -16,6 +17,7 @@ import Segment from './segment';
1617import Team from './team' ;
1718import Tag from './tag' ;
1819import Visitor from './visitor' ;
20+ import PhoneCallRedirect from './phoneCallRedirect' ;
1921
2022import * as packageJson from '../package.json' ;
2123
@@ -58,6 +60,7 @@ export default class Client {
5860 conversations : Conversation ;
5961 counts : Count ;
6062 dataAttributes : DataAttribute ;
63+ dataExport : DataExport ;
6164 events : Event ;
6265 helpCenter : HelpCenter ;
6366 messages : Message ;
@@ -70,6 +73,7 @@ export default class Client {
7073 teams : Team ;
7174 usernamePart ?: string ;
7275 visitors : Visitor ;
76+ phoneCallRedirect : PhoneCallRedirect ;
7377
7478 constructor ( args : Constructor ) {
7579 const [ usernamePart , passwordPart ] = Client . getAuthDetails ( args ) ;
@@ -90,6 +94,7 @@ export default class Client {
9094 this . conversations = new Conversation ( this ) ;
9195 this . counts = new Count ( this ) ;
9296 this . dataAttributes = new DataAttribute ( this ) ;
97+ this . dataExport = new DataExport ( this ) ;
9398 this . events = new Event ( this ) ;
9499 this . helpCenter = new HelpCenter ( this ) ;
95100 this . messages = new Message ( this ) ;
@@ -98,6 +103,7 @@ export default class Client {
98103 this . tags = new Tag ( this ) ;
99104 this . teams = new Team ( this ) ;
100105 this . visitors = new Visitor ( this ) ;
106+ this . phoneCallRedirect = new PhoneCallRedirect ( this ) ;
101107 this . requestOpts = {
102108 baseURL : 'https://api.intercom.io' ,
103109 } ;
0 commit comments