@@ -8,14 +8,17 @@ 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' ;
1415import Note from './note' ;
1516import Segment from './segment' ;
17+ import Subscription from './subscription' ;
1618import Team from './team' ;
1719import Tag from './tag' ;
1820import Visitor from './visitor' ;
21+ import PhoneCallRedirect from './phoneCallRedirect' ;
1922
2023import * as packageJson from '../package.json' ;
2124
@@ -58,18 +61,21 @@ export default class Client {
5861 conversations : Conversation ;
5962 counts : Count ;
6063 dataAttributes : DataAttribute ;
64+ dataExport : DataExport ;
6165 events : Event ;
6266 helpCenter : HelpCenter ;
6367 messages : Message ;
6468 notes : Note ;
6569 segments : Segment ;
70+ subscriptions : Subscription ;
6671 passwordPart ?: string ;
6772 propertiesToOmitInRequestOpts : string [ ] ;
6873 requestOpts : Partial < AxiosDefaults > ;
6974 tags : Tag ;
7075 teams : Team ;
7176 usernamePart ?: string ;
7277 visitors : Visitor ;
78+ phoneCallRedirect : PhoneCallRedirect ;
7379
7480 constructor ( args : Constructor ) {
7581 const [ usernamePart , passwordPart ] = Client . getAuthDetails ( args ) ;
@@ -90,14 +96,17 @@ export default class Client {
9096 this . conversations = new Conversation ( this ) ;
9197 this . counts = new Count ( this ) ;
9298 this . dataAttributes = new DataAttribute ( this ) ;
99+ this . dataExport = new DataExport ( this ) ;
93100 this . events = new Event ( this ) ;
94101 this . helpCenter = new HelpCenter ( this ) ;
95102 this . messages = new Message ( this ) ;
96103 this . notes = new Note ( this ) ;
97104 this . segments = new Segment ( this ) ;
105+ this . subscriptions = new Subscription ( this ) ;
98106 this . tags = new Tag ( this ) ;
99107 this . teams = new Team ( this ) ;
100108 this . visitors = new Visitor ( this ) ;
109+ this . phoneCallRedirect = new PhoneCallRedirect ( this ) ;
101110 this . requestOpts = {
102111 baseURL : 'https://api.intercom.io' ,
103112 } ;
0 commit comments