@@ -92,29 +92,24 @@ export default class ChatwootClient {
92
92
93
93
constructor ( { config } : { config : ChatwootAPIConfig } ) {
94
94
this . chatwootAPI = config ;
95
-
96
95
this . client = {
97
96
contacts : new ContactsApi ( { config : config } ) ,
98
97
conversations : new ConversationsApi ( { config : config } ) ,
99
98
messages : new MessagesApi ( { config : config } ) ,
100
99
} ;
101
-
102
100
this . platform = {
103
101
accounts : new Accounts ( { config : config } ) ,
104
102
accountUsers : new AccountUsers ( { config : config } ) ,
105
103
agentBots : new AgentBots ( { config : config } ) ,
106
104
users : new Users ( { config : config } ) ,
107
105
} ;
108
-
109
106
this . accountAgentBots = new AccountAgentBots ( { config : config } ) ;
110
-
111
107
this . agentBots = new AgentBots ( { config : config } ) ;
112
108
this . agents = new Agents ( { config : config } ) ;
113
109
this . automationRule = new AutomationRules ( { config : config } ) ;
114
110
this . cannedResponses = new CannedResponses ( { config : config } ) ;
115
111
this . contact = new Contact ( { config : config } ) ;
116
112
this . contacts = new Contacts ( { config : config } ) ;
117
-
118
113
this . customAttributes = new CustomAttributes ( { config : config } ) ;
119
114
this . conversationAssignment = new ConversationAssignment ( { config : config } ) ;
120
115
this . conversationLabels = new ConversationLabels ( { config : config } ) ;
@@ -123,7 +118,6 @@ export default class ChatwootClient {
123
118
this . inboxes = new Inboxes ( { config : config } ) ;
124
119
this . integrations = new Integrations ( { config : config } ) ;
125
120
this . messages = new Messages ( { config : config } ) ;
126
-
127
121
this . profile = new Profile ( { config : config } ) ;
128
122
this . reports = new Reports ( { config : config } ) ;
129
123
this . teams = new Teams ( { config : config } ) ;
0 commit comments