Built motion from commit 953226e6.|2.6.32
[motion2.git] / server / api / whatsappAccount / index.js
index 968d78e..a91ef11 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xa781=['/:id','destroy','/:id/dispositions','removeAnswers','removeAgents','exports','multer','util','path','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./whatsappAccount.controller','get','isAuthenticated','index','/describe','describe','show','getDispositions','/:id/canned_answers','getAnswers','/:id/users','getAgents','getApplications','post','create','addDisposition','addAgents','/:id/applications','addApplications','/:id/notify','/:id/send','send','put','update','delete'];(function(_0x311552,_0x91f5cf){var _0x5d5c3c=function(_0x2e4555){while(--_0x2e4555){_0x311552['push'](_0x311552['shift']());}};_0x5d5c3c(++_0x91f5cf);}(_0xa781,0x1be));var _0x1a78=function(_0x3dd15e,_0x1f0015){_0x3dd15e=_0x3dd15e-0x0;var _0x231fd0=_0xa781[_0x3dd15e];return _0x231fd0;};'use strict';var multer=require(_0x1a78('0x0'));var util=require(_0x1a78('0x1'));var path=require(_0x1a78('0x2'));var timeout=require(_0x1a78('0x3'));var express=require(_0x1a78('0x4'));var router=express[_0x1a78('0x5')]();var fs_extra=require('fs-extra');var auth=require(_0x1a78('0x6'));var interaction=require(_0x1a78('0x7'));var config=require(_0x1a78('0x8'));var controller=require(_0x1a78('0x9'));router[_0x1a78('0xa')]('/',auth[_0x1a78('0xb')](),controller[_0x1a78('0xc')]);router[_0x1a78('0xa')](_0x1a78('0xd'),auth[_0x1a78('0xb')](),controller[_0x1a78('0xe')]);router[_0x1a78('0xa')]('/:id',auth[_0x1a78('0xb')](),controller[_0x1a78('0xf')]);router[_0x1a78('0xa')]('/:id/dispositions',auth[_0x1a78('0xb')](),controller[_0x1a78('0x10')]);router[_0x1a78('0xa')](_0x1a78('0x11'),auth['isAuthenticated'](),controller[_0x1a78('0x12')]);router[_0x1a78('0xa')](_0x1a78('0x13'),auth[_0x1a78('0xb')](),controller[_0x1a78('0x14')]);router[_0x1a78('0xa')]('/:id/applications',auth[_0x1a78('0xb')](),controller[_0x1a78('0x15')]);router[_0x1a78('0x16')]('/',auth[_0x1a78('0xb')](),controller[_0x1a78('0x17')]);router[_0x1a78('0x16')]('/:id/dispositions',auth['isAuthenticated'](),controller[_0x1a78('0x18')]);router[_0x1a78('0x16')](_0x1a78('0x11'),auth['isAuthenticated'](),controller['addAnswer']);router['post']('/:id/users',auth[_0x1a78('0xb')](),controller[_0x1a78('0x19')]);router[_0x1a78('0x16')](_0x1a78('0x1a'),auth[_0x1a78('0xb')](),controller[_0x1a78('0x1b')]);router[_0x1a78('0x16')](_0x1a78('0x1c'),controller['notify']);router[_0x1a78('0x16')](_0x1a78('0x1d'),auth[_0x1a78('0xb')](),controller[_0x1a78('0x1e')]);router[_0x1a78('0x1f')]('/:id',auth[_0x1a78('0xb')](),controller[_0x1a78('0x20')]);router[_0x1a78('0x21')](_0x1a78('0x22'),auth[_0x1a78('0xb')](),controller[_0x1a78('0x23')]);router[_0x1a78('0x21')](_0x1a78('0x24'),auth['isAuthenticated'](),controller['removeDispositions']);router['delete']('/:id/canned_answers',auth['isAuthenticated'](),controller[_0x1a78('0x25')]);router[_0x1a78('0x21')](_0x1a78('0x13'),auth['isAuthenticated'](),controller[_0x1a78('0x26')]);module[_0x1a78('0x27')]=router;
\ No newline at end of file
+var _0xab4a=['show','/:id/dispositions','getDispositions','/:id/canned_answers','getAnswers','/:id/users','getAgents','post','addDisposition','addAnswer','addApplications','/:id/notify','notify','/:id/send','send','put','/:id','update','delete','destroy','removeDispositions','removeAnswers','removeAgents','exports','multer','util','path','express','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','isAuthenticated','index','get','describe'];(function(_0x3dd15e,_0x1f0015){var _0x231fd0=function(_0x4f680a){while(--_0x4f680a){_0x3dd15e['push'](_0x3dd15e['shift']());}};_0x231fd0(++_0x1f0015);}(_0xab4a,0xa8));var _0xaab4=function(_0x2e53e1,_0x12aed1){_0x2e53e1=_0x2e53e1-0x0;var _0x3a23de=_0xab4a[_0x2e53e1];return _0x3a23de;};'use strict';var multer=require(_0xaab4('0x0'));var util=require(_0xaab4('0x1'));var path=require(_0xaab4('0x2'));var timeout=require('connect-timeout');var express=require(_0xaab4('0x3'));var router=express['Router']();var fs_extra=require(_0xaab4('0x4'));var auth=require(_0xaab4('0x5'));var interaction=require(_0xaab4('0x6'));var config=require(_0xaab4('0x7'));var controller=require('./whatsappAccount.controller');router['get']('/',auth[_0xaab4('0x8')](),controller[_0xaab4('0x9')]);router[_0xaab4('0xa')]('/describe',auth[_0xaab4('0x8')](),controller[_0xaab4('0xb')]);router[_0xaab4('0xa')]('/:id',auth['isAuthenticated'](),controller[_0xaab4('0xc')]);router[_0xaab4('0xa')](_0xaab4('0xd'),auth[_0xaab4('0x8')](),controller[_0xaab4('0xe')]);router[_0xaab4('0xa')](_0xaab4('0xf'),auth[_0xaab4('0x8')](),controller[_0xaab4('0x10')]);router[_0xaab4('0xa')](_0xaab4('0x11'),auth['isAuthenticated'](),controller[_0xaab4('0x12')]);router['get']('/:id/applications',auth[_0xaab4('0x8')](),controller['getApplications']);router['post']('/',auth[_0xaab4('0x8')](),controller['create']);router[_0xaab4('0x13')]('/:id/dispositions',auth['isAuthenticated'](),controller[_0xaab4('0x14')]);router[_0xaab4('0x13')]('/:id/canned_answers',auth[_0xaab4('0x8')](),controller[_0xaab4('0x15')]);router['post'](_0xaab4('0x11'),auth['isAuthenticated'](),controller['addAgents']);router['post']('/:id/applications',auth[_0xaab4('0x8')](),controller[_0xaab4('0x16')]);router[_0xaab4('0x13')](_0xaab4('0x17'),controller[_0xaab4('0x18')]);router[_0xaab4('0x13')](_0xaab4('0x19'),auth['isAuthenticated'](),controller[_0xaab4('0x1a')]);router[_0xaab4('0x1b')](_0xaab4('0x1c'),auth[_0xaab4('0x8')](),controller[_0xaab4('0x1d')]);router[_0xaab4('0x1e')](_0xaab4('0x1c'),auth[_0xaab4('0x8')](),controller[_0xaab4('0x1f')]);router[_0xaab4('0x1e')](_0xaab4('0xd'),auth[_0xaab4('0x8')](),controller[_0xaab4('0x20')]);router[_0xaab4('0x1e')](_0xaab4('0xf'),auth[_0xaab4('0x8')](),controller[_0xaab4('0x21')]);router[_0xaab4('0x1e')](_0xaab4('0x11'),auth[_0xaab4('0x8')](),controller[_0xaab4('0x22')]);module[_0xaab4('0x23')]=router;
\ No newline at end of file