Built motion from commit (unavailable).|2.6.0
[motion2.git] / server / api / whatsappAccount / index.js
index 9de9262..d2d6dc7 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xcf35=['../../config/environment','./whatsappAccount.controller','get','isAuthenticated','index','describe','/:id','show','/:id/dispositions','/:id/users','getAgents','/:id/applications','post','create','addDisposition','/:id/canned_answers','addAnswer','addAgents','addApplications','/:id/notify','notify','send','put','update','delete','removeDispositions','removeAnswers','removeAgents','exports','multer','path','express','Router','fs-extra'];(function(_0x46530d,_0x121f73){var _0x4774c3=function(_0x2f5c02){while(--_0x2f5c02){_0x46530d['push'](_0x46530d['shift']());}};_0x4774c3(++_0x121f73);}(_0xcf35,0x83));var _0x5cf3=function(_0x3c414c,_0x399dbb){_0x3c414c=_0x3c414c-0x0;var _0x4f3062=_0xcf35[_0x3c414c];return _0x4f3062;};'use strict';var multer=require(_0x5cf3('0x0'));var util=require('util');var path=require(_0x5cf3('0x1'));var timeout=require('connect-timeout');var express=require(_0x5cf3('0x2'));var router=express[_0x5cf3('0x3')]();var fs_extra=require(_0x5cf3('0x4'));var auth=require('../../components/auth/service');var interaction=require('../../components/interaction/service');var config=require(_0x5cf3('0x5'));var controller=require(_0x5cf3('0x6'));router[_0x5cf3('0x7')]('/',auth[_0x5cf3('0x8')](),controller[_0x5cf3('0x9')]);router[_0x5cf3('0x7')]('/describe',auth[_0x5cf3('0x8')](),controller[_0x5cf3('0xa')]);router[_0x5cf3('0x7')](_0x5cf3('0xb'),auth[_0x5cf3('0x8')](),controller[_0x5cf3('0xc')]);router[_0x5cf3('0x7')](_0x5cf3('0xd'),auth['isAuthenticated'](),controller['getDispositions']);router[_0x5cf3('0x7')]('/:id/canned_answers',auth[_0x5cf3('0x8')](),controller['getAnswers']);router[_0x5cf3('0x7')](_0x5cf3('0xe'),auth[_0x5cf3('0x8')](),controller[_0x5cf3('0xf')]);router[_0x5cf3('0x7')](_0x5cf3('0x10'),auth['isAuthenticated'](),controller['getApplications']);router[_0x5cf3('0x11')]('/',auth[_0x5cf3('0x8')](),controller[_0x5cf3('0x12')]);router[_0x5cf3('0x11')](_0x5cf3('0xd'),auth[_0x5cf3('0x8')](),controller[_0x5cf3('0x13')]);router['post'](_0x5cf3('0x14'),auth[_0x5cf3('0x8')](),controller[_0x5cf3('0x15')]);router[_0x5cf3('0x11')]('/:id/users',auth[_0x5cf3('0x8')](),controller[_0x5cf3('0x16')]);router[_0x5cf3('0x11')](_0x5cf3('0x10'),auth['isAuthenticated'](),controller[_0x5cf3('0x17')]);router[_0x5cf3('0x11')](_0x5cf3('0x18'),controller[_0x5cf3('0x19')]);router[_0x5cf3('0x11')]('/:id/send',auth[_0x5cf3('0x8')](),controller[_0x5cf3('0x1a')]);router[_0x5cf3('0x1b')](_0x5cf3('0xb'),auth['isAuthenticated'](),controller[_0x5cf3('0x1c')]);router[_0x5cf3('0x1d')](_0x5cf3('0xb'),auth[_0x5cf3('0x8')](),controller['destroy']);router[_0x5cf3('0x1d')]('/:id/dispositions',auth[_0x5cf3('0x8')](),controller[_0x5cf3('0x1e')]);router[_0x5cf3('0x1d')](_0x5cf3('0x14'),auth[_0x5cf3('0x8')](),controller[_0x5cf3('0x1f')]);router[_0x5cf3('0x1d')](_0x5cf3('0xe'),auth[_0x5cf3('0x8')](),controller[_0x5cf3('0x20')]);module[_0x5cf3('0x21')]=router;
\ No newline at end of file
+var _0x4b4d=['describe','/:id','/:id/dispositions','/:id/users','getAgents','create','post','addDisposition','/:id/canned_answers','addAgents','/:id/applications','/:id/notify','/:id/send','put','update','delete','destroy','removeAnswers','multer','util','path','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./whatsappAccount.controller','get','index','/describe','isAuthenticated'];(function(_0x1c8408,_0x31828c){var _0x34d134=function(_0xc18d96){while(--_0xc18d96){_0x1c8408['push'](_0x1c8408['shift']());}};_0x34d134(++_0x31828c);}(_0x4b4d,0xd8));var _0xd4b4=function(_0x2938b8,_0x2c9c72){_0x2938b8=_0x2938b8-0x0;var _0x3ece20=_0x4b4d[_0x2938b8];return _0x3ece20;};'use strict';var multer=require(_0xd4b4('0x0'));var util=require(_0xd4b4('0x1'));var path=require(_0xd4b4('0x2'));var timeout=require(_0xd4b4('0x3'));var express=require(_0xd4b4('0x4'));var router=express[_0xd4b4('0x5')]();var fs_extra=require(_0xd4b4('0x6'));var auth=require(_0xd4b4('0x7'));var interaction=require(_0xd4b4('0x8'));var config=require(_0xd4b4('0x9'));var controller=require(_0xd4b4('0xa'));router[_0xd4b4('0xb')]('/',auth['isAuthenticated'](),controller[_0xd4b4('0xc')]);router['get'](_0xd4b4('0xd'),auth[_0xd4b4('0xe')](),controller[_0xd4b4('0xf')]);router[_0xd4b4('0xb')](_0xd4b4('0x10'),auth[_0xd4b4('0xe')](),controller['show']);router[_0xd4b4('0xb')](_0xd4b4('0x11'),auth[_0xd4b4('0xe')](),controller['getDispositions']);router[_0xd4b4('0xb')]('/:id/canned_answers',auth[_0xd4b4('0xe')](),controller['getAnswers']);router[_0xd4b4('0xb')](_0xd4b4('0x12'),auth['isAuthenticated'](),controller[_0xd4b4('0x13')]);router[_0xd4b4('0xb')]('/:id/applications',auth[_0xd4b4('0xe')](),controller['getApplications']);router['post']('/',auth['isAuthenticated'](),controller[_0xd4b4('0x14')]);router[_0xd4b4('0x15')](_0xd4b4('0x11'),auth['isAuthenticated'](),controller[_0xd4b4('0x16')]);router[_0xd4b4('0x15')](_0xd4b4('0x17'),auth[_0xd4b4('0xe')](),controller['addAnswer']);router[_0xd4b4('0x15')]('/:id/users',auth[_0xd4b4('0xe')](),controller[_0xd4b4('0x18')]);router['post'](_0xd4b4('0x19'),auth['isAuthenticated'](),controller['addApplications']);router[_0xd4b4('0x15')](_0xd4b4('0x1a'),controller['notify']);router[_0xd4b4('0x15')](_0xd4b4('0x1b'),auth['isAuthenticated'](),controller['send']);router[_0xd4b4('0x1c')](_0xd4b4('0x10'),auth[_0xd4b4('0xe')](),controller[_0xd4b4('0x1d')]);router[_0xd4b4('0x1e')](_0xd4b4('0x10'),auth[_0xd4b4('0xe')](),controller[_0xd4b4('0x1f')]);router[_0xd4b4('0x1e')](_0xd4b4('0x11'),auth['isAuthenticated'](),controller['removeDispositions']);router[_0xd4b4('0x1e')]('/:id/canned_answers',auth[_0xd4b4('0xe')](),controller[_0xd4b4('0x20')]);router[_0xd4b4('0x1e')](_0xd4b4('0x12'),auth['isAuthenticated'](),controller['removeAgents']);module['exports']=router;
\ No newline at end of file