Built motion from commit 10af8726.|2.6.34
[motion2.git] / server / api / whatsappAccount / index.js
index 7c312db..f53da05 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x20a9=['/:id/canned_answers','/:id/applications','getApplications','post','create','/:id/dispositions','addDisposition','addAnswer','/:id/users','addApplications','/:id/notify','notify','/:id/send','put','/:id','delete','destroy','removeAnswers','removeAgents','multer','util','path','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./whatsappAccount.controller','get','isAuthenticated','index','/describe','describe','show'];(function(_0xbe6968,_0x2d5094){var _0x53d936=function(_0x1d4171){while(--_0x1d4171){_0xbe6968['push'](_0xbe6968['shift']());}};_0x53d936(++_0x2d5094);}(_0x20a9,0x12b));var _0x920a=function(_0x4e783c,_0x51a362){_0x4e783c=_0x4e783c-0x0;var _0x2fbd6d=_0x20a9[_0x4e783c];return _0x2fbd6d;};'use strict';var multer=require(_0x920a('0x0'));var util=require(_0x920a('0x1'));var path=require(_0x920a('0x2'));var timeout=require(_0x920a('0x3'));var express=require(_0x920a('0x4'));var router=express[_0x920a('0x5')]();var fs_extra=require('fs-extra');var auth=require(_0x920a('0x6'));var interaction=require(_0x920a('0x7'));var config=require(_0x920a('0x8'));var controller=require(_0x920a('0x9'));router[_0x920a('0xa')]('/',auth[_0x920a('0xb')](),controller[_0x920a('0xc')]);router[_0x920a('0xa')](_0x920a('0xd'),auth[_0x920a('0xb')](),controller[_0x920a('0xe')]);router[_0x920a('0xa')]('/:id',auth[_0x920a('0xb')](),controller[_0x920a('0xf')]);router[_0x920a('0xa')]('/:id/dispositions',auth[_0x920a('0xb')](),controller['getDispositions']);router[_0x920a('0xa')](_0x920a('0x10'),auth[_0x920a('0xb')](),controller['getAnswers']);router[_0x920a('0xa')]('/:id/users',auth[_0x920a('0xb')](),controller['getAgents']);router['get'](_0x920a('0x11'),auth[_0x920a('0xb')](),controller[_0x920a('0x12')]);router[_0x920a('0x13')]('/',auth[_0x920a('0xb')](),controller[_0x920a('0x14')]);router[_0x920a('0x13')](_0x920a('0x15'),auth[_0x920a('0xb')](),controller[_0x920a('0x16')]);router[_0x920a('0x13')](_0x920a('0x10'),auth[_0x920a('0xb')](),controller[_0x920a('0x17')]);router[_0x920a('0x13')](_0x920a('0x18'),auth[_0x920a('0xb')](),controller['addAgents']);router[_0x920a('0x13')](_0x920a('0x11'),auth['isAuthenticated'](),controller[_0x920a('0x19')]);router[_0x920a('0x13')](_0x920a('0x1a'),controller[_0x920a('0x1b')]);router['post'](_0x920a('0x1c'),auth[_0x920a('0xb')](),controller['send']);router[_0x920a('0x1d')](_0x920a('0x1e'),auth[_0x920a('0xb')](),controller['update']);router[_0x920a('0x1f')]('/:id',auth[_0x920a('0xb')](),controller[_0x920a('0x20')]);router['delete'](_0x920a('0x15'),auth[_0x920a('0xb')](),controller['removeDispositions']);router[_0x920a('0x1f')]('/:id/canned_answers',auth['isAuthenticated'](),controller[_0x920a('0x21')]);router[_0x920a('0x1f')](_0x920a('0x18'),auth[_0x920a('0xb')](),controller[_0x920a('0x22')]);module['exports']=router;
\ No newline at end of file
+var _0xbd15=['delete','removeDispositions','removeAnswers','exports','multer','util','express','../../components/auth/service','../../components/interaction/service','../../config/environment','get','isAuthenticated','index','/describe','describe','/:id','show','getDispositions','/:id/canned_answers','getAnswers','/:id/applications','getApplications','post','create','/:id/dispositions','addDisposition','addAnswer','/:id/users','addAgents','/:id/notify','notify','/:id/send','send','put','update'];(function(_0x26cdab,_0x2e55cb){var _0x2a13a7=function(_0x51508e){while(--_0x51508e){_0x26cdab['push'](_0x26cdab['shift']());}};_0x2a13a7(++_0x2e55cb);}(_0xbd15,0x90));var _0x5bd1=function(_0x90e575,_0x48c2ec){_0x90e575=_0x90e575-0x0;var _0x1aae60=_0xbd15[_0x90e575];return _0x1aae60;};'use strict';var multer=require(_0x5bd1('0x0'));var util=require(_0x5bd1('0x1'));var path=require('path');var timeout=require('connect-timeout');var express=require(_0x5bd1('0x2'));var router=express['Router']();var fs_extra=require('fs-extra');var auth=require(_0x5bd1('0x3'));var interaction=require(_0x5bd1('0x4'));var config=require(_0x5bd1('0x5'));var controller=require('./whatsappAccount.controller');router[_0x5bd1('0x6')]('/',auth[_0x5bd1('0x7')](),controller[_0x5bd1('0x8')]);router[_0x5bd1('0x6')](_0x5bd1('0x9'),auth[_0x5bd1('0x7')](),controller[_0x5bd1('0xa')]);router[_0x5bd1('0x6')](_0x5bd1('0xb'),auth[_0x5bd1('0x7')](),controller[_0x5bd1('0xc')]);router[_0x5bd1('0x6')]('/:id/dispositions',auth['isAuthenticated'](),controller[_0x5bd1('0xd')]);router[_0x5bd1('0x6')](_0x5bd1('0xe'),auth[_0x5bd1('0x7')](),controller[_0x5bd1('0xf')]);router[_0x5bd1('0x6')]('/:id/users',auth['isAuthenticated'](),controller['getAgents']);router[_0x5bd1('0x6')](_0x5bd1('0x10'),auth['isAuthenticated'](),controller[_0x5bd1('0x11')]);router[_0x5bd1('0x12')]('/',auth[_0x5bd1('0x7')](),controller[_0x5bd1('0x13')]);router['post'](_0x5bd1('0x14'),auth[_0x5bd1('0x7')](),controller[_0x5bd1('0x15')]);router['post']('/:id/canned_answers',auth[_0x5bd1('0x7')](),controller[_0x5bd1('0x16')]);router['post'](_0x5bd1('0x17'),auth[_0x5bd1('0x7')](),controller[_0x5bd1('0x18')]);router['post'](_0x5bd1('0x10'),auth[_0x5bd1('0x7')](),controller['addApplications']);router['post'](_0x5bd1('0x19'),controller[_0x5bd1('0x1a')]);router[_0x5bd1('0x12')](_0x5bd1('0x1b'),auth[_0x5bd1('0x7')](),controller[_0x5bd1('0x1c')]);router[_0x5bd1('0x1d')](_0x5bd1('0xb'),auth[_0x5bd1('0x7')](),controller[_0x5bd1('0x1e')]);router[_0x5bd1('0x1f')](_0x5bd1('0xb'),auth[_0x5bd1('0x7')](),controller['destroy']);router[_0x5bd1('0x1f')]('/:id/dispositions',auth['isAuthenticated'](),controller[_0x5bd1('0x20')]);router['delete'](_0x5bd1('0xe'),auth[_0x5bd1('0x7')](),controller[_0x5bd1('0x21')]);router[_0x5bd1('0x1f')](_0x5bd1('0x17'),auth[_0x5bd1('0x7')](),controller['removeAgents']);module[_0x5bd1('0x22')]=router;
\ No newline at end of file