Built motion from commit 3c2ce842.|2.6.31
[motion2.git] / server / api / whatsappAccount / index.js
index d40e3c9..d2f949e 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x4bc6=['isAuthenticated','/describe','describe','/:id','/:id/dispositions','/:id/applications','post','addAnswer','/:id/users','addAgents','addApplications','/:id/notify','notify','/:id/send','send','put','delete','destroy','removeDispositions','/:id/canned_answers','removeAnswers','removeAgents','exports','multer','util','connect-timeout','express','../../components/auth/service','../../components/interaction/service','../../config/environment','./whatsappAccount.controller','get'];(function(_0x450b86,_0x5e85ce){var _0x2f2b45=function(_0x203667){while(--_0x203667){_0x450b86['push'](_0x450b86['shift']());}};_0x2f2b45(++_0x5e85ce);}(_0x4bc6,0x157));var _0x64bc=function(_0x4ff09b,_0x53f67d){_0x4ff09b=_0x4ff09b-0x0;var _0x3f5c2e=_0x4bc6[_0x4ff09b];return _0x3f5c2e;};'use strict';var multer=require(_0x64bc('0x0'));var util=require(_0x64bc('0x1'));var path=require('path');var timeout=require(_0x64bc('0x2'));var express=require(_0x64bc('0x3'));var router=express['Router']();var fs_extra=require('fs-extra');var auth=require(_0x64bc('0x4'));var interaction=require(_0x64bc('0x5'));var config=require(_0x64bc('0x6'));var controller=require(_0x64bc('0x7'));router[_0x64bc('0x8')]('/',auth[_0x64bc('0x9')](),controller['index']);router[_0x64bc('0x8')](_0x64bc('0xa'),auth['isAuthenticated'](),controller[_0x64bc('0xb')]);router[_0x64bc('0x8')](_0x64bc('0xc'),auth[_0x64bc('0x9')](),controller['show']);router[_0x64bc('0x8')](_0x64bc('0xd'),auth[_0x64bc('0x9')](),controller['getDispositions']);router['get']('/:id/canned_answers',auth[_0x64bc('0x9')](),controller['getAnswers']);router[_0x64bc('0x8')]('/:id/users',auth[_0x64bc('0x9')](),controller['getAgents']);router[_0x64bc('0x8')](_0x64bc('0xe'),auth[_0x64bc('0x9')](),controller['getApplications']);router[_0x64bc('0xf')]('/',auth[_0x64bc('0x9')](),controller['create']);router[_0x64bc('0xf')](_0x64bc('0xd'),auth[_0x64bc('0x9')](),controller['addDisposition']);router[_0x64bc('0xf')]('/:id/canned_answers',auth[_0x64bc('0x9')](),controller[_0x64bc('0x10')]);router['post'](_0x64bc('0x11'),auth[_0x64bc('0x9')](),controller[_0x64bc('0x12')]);router[_0x64bc('0xf')](_0x64bc('0xe'),auth[_0x64bc('0x9')](),controller[_0x64bc('0x13')]);router['post'](_0x64bc('0x14'),controller[_0x64bc('0x15')]);router[_0x64bc('0xf')](_0x64bc('0x16'),auth[_0x64bc('0x9')](),controller[_0x64bc('0x17')]);router[_0x64bc('0x18')](_0x64bc('0xc'),auth[_0x64bc('0x9')](),controller['update']);router[_0x64bc('0x19')](_0x64bc('0xc'),auth[_0x64bc('0x9')](),controller[_0x64bc('0x1a')]);router['delete'](_0x64bc('0xd'),auth[_0x64bc('0x9')](),controller[_0x64bc('0x1b')]);router[_0x64bc('0x19')](_0x64bc('0x1c'),auth[_0x64bc('0x9')](),controller[_0x64bc('0x1d')]);router[_0x64bc('0x19')](_0x64bc('0x11'),auth[_0x64bc('0x9')](),controller[_0x64bc('0x1e')]);module[_0x64bc('0x1f')]=router;
\ No newline at end of file
+var _0xd2bd=['addAnswer','addAgents','/:id/applications','addApplications','/:id/notify','notify','send','put','update','destroy','delete','removeDispositions','removeAnswers','multer','util','path','connect-timeout','express','Router','../../components/interaction/service','../../config/environment','./whatsappAccount.controller','/describe','isAuthenticated','describe','/:id','get','/:id/dispositions','getDispositions','/:id/canned_answers','getAnswers','/:id/users','getAgents','getApplications','post','create'];(function(_0x4565bf,_0x5ad9d6){var _0x5610ba=function(_0x170988){while(--_0x170988){_0x4565bf['push'](_0x4565bf['shift']());}};_0x5610ba(++_0x5ad9d6);}(_0xd2bd,0xc1));var _0xdd2b=function(_0x2dd390,_0x1bc894){_0x2dd390=_0x2dd390-0x0;var _0x3afe47=_0xd2bd[_0x2dd390];return _0x3afe47;};'use strict';var multer=require(_0xdd2b('0x0'));var util=require(_0xdd2b('0x1'));var path=require(_0xdd2b('0x2'));var timeout=require(_0xdd2b('0x3'));var express=require(_0xdd2b('0x4'));var router=express[_0xdd2b('0x5')]();var fs_extra=require('fs-extra');var auth=require('../../components/auth/service');var interaction=require(_0xdd2b('0x6'));var config=require(_0xdd2b('0x7'));var controller=require(_0xdd2b('0x8'));router['get']('/',auth['isAuthenticated'](),controller['index']);router['get'](_0xdd2b('0x9'),auth[_0xdd2b('0xa')](),controller[_0xdd2b('0xb')]);router['get'](_0xdd2b('0xc'),auth[_0xdd2b('0xa')](),controller['show']);router[_0xdd2b('0xd')](_0xdd2b('0xe'),auth[_0xdd2b('0xa')](),controller[_0xdd2b('0xf')]);router[_0xdd2b('0xd')](_0xdd2b('0x10'),auth[_0xdd2b('0xa')](),controller[_0xdd2b('0x11')]);router['get'](_0xdd2b('0x12'),auth[_0xdd2b('0xa')](),controller[_0xdd2b('0x13')]);router['get']('/:id/applications',auth[_0xdd2b('0xa')](),controller[_0xdd2b('0x14')]);router[_0xdd2b('0x15')]('/',auth['isAuthenticated'](),controller[_0xdd2b('0x16')]);router[_0xdd2b('0x15')](_0xdd2b('0xe'),auth[_0xdd2b('0xa')](),controller['addDisposition']);router[_0xdd2b('0x15')](_0xdd2b('0x10'),auth[_0xdd2b('0xa')](),controller[_0xdd2b('0x17')]);router[_0xdd2b('0x15')]('/:id/users',auth[_0xdd2b('0xa')](),controller[_0xdd2b('0x18')]);router['post'](_0xdd2b('0x19'),auth[_0xdd2b('0xa')](),controller[_0xdd2b('0x1a')]);router[_0xdd2b('0x15')](_0xdd2b('0x1b'),controller[_0xdd2b('0x1c')]);router['post']('/:id/send',auth[_0xdd2b('0xa')](),controller[_0xdd2b('0x1d')]);router[_0xdd2b('0x1e')](_0xdd2b('0xc'),auth['isAuthenticated'](),controller[_0xdd2b('0x1f')]);router['delete'](_0xdd2b('0xc'),auth[_0xdd2b('0xa')](),controller[_0xdd2b('0x20')]);router[_0xdd2b('0x21')](_0xdd2b('0xe'),auth[_0xdd2b('0xa')](),controller[_0xdd2b('0x22')]);router[_0xdd2b('0x21')](_0xdd2b('0x10'),auth[_0xdd2b('0xa')](),controller[_0xdd2b('0x23')]);router[_0xdd2b('0x21')](_0xdd2b('0x12'),auth[_0xdd2b('0xa')](),controller['removeAgents']);module['exports']=router;
\ No newline at end of file