Built motion from commit e8d9bd62.|2.6.25
[motion2.git] / server / api / whatsappAccount / index.js
index 33d88b4..49b6b10 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x4910=['fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','get','isAuthenticated','index','/describe','describe','show','getDispositions','/:id/canned_answers','/:id/users','/:id/applications','post','create','addDisposition','addAnswer','addAgents','addApplications','/:id/notify','notify','/:id/send','send','put','/:id','update','delete','/:id/dispositions','removeDispositions','removeAnswers','removeAgents','exports','multer','util','path','connect-timeout','express'];(function(_0x331c56,_0x894b94){var _0x4b289c=function(_0x27f418){while(--_0x27f418){_0x331c56['push'](_0x331c56['shift']());}};_0x4b289c(++_0x894b94);}(_0x4910,0x1e9));var _0x0491=function(_0x2c91e9,_0x2fb965){_0x2c91e9=_0x2c91e9-0x0;var _0x13f0ff=_0x4910[_0x2c91e9];return _0x13f0ff;};'use strict';var multer=require(_0x0491('0x0'));var util=require(_0x0491('0x1'));var path=require(_0x0491('0x2'));var timeout=require(_0x0491('0x3'));var express=require(_0x0491('0x4'));var router=express['Router']();var fs_extra=require(_0x0491('0x5'));var auth=require(_0x0491('0x6'));var interaction=require(_0x0491('0x7'));var config=require(_0x0491('0x8'));var controller=require('./whatsappAccount.controller');router[_0x0491('0x9')]('/',auth[_0x0491('0xa')](),controller[_0x0491('0xb')]);router[_0x0491('0x9')](_0x0491('0xc'),auth[_0x0491('0xa')](),controller[_0x0491('0xd')]);router[_0x0491('0x9')]('/:id',auth[_0x0491('0xa')](),controller[_0x0491('0xe')]);router['get']('/:id/dispositions',auth[_0x0491('0xa')](),controller[_0x0491('0xf')]);router[_0x0491('0x9')](_0x0491('0x10'),auth[_0x0491('0xa')](),controller['getAnswers']);router[_0x0491('0x9')](_0x0491('0x11'),auth['isAuthenticated'](),controller['getAgents']);router[_0x0491('0x9')](_0x0491('0x12'),auth[_0x0491('0xa')](),controller['getApplications']);router[_0x0491('0x13')]('/',auth[_0x0491('0xa')](),controller[_0x0491('0x14')]);router[_0x0491('0x13')]('/:id/dispositions',auth['isAuthenticated'](),controller[_0x0491('0x15')]);router[_0x0491('0x13')](_0x0491('0x10'),auth[_0x0491('0xa')](),controller[_0x0491('0x16')]);router[_0x0491('0x13')](_0x0491('0x11'),auth[_0x0491('0xa')](),controller[_0x0491('0x17')]);router[_0x0491('0x13')](_0x0491('0x12'),auth['isAuthenticated'](),controller[_0x0491('0x18')]);router[_0x0491('0x13')](_0x0491('0x19'),controller[_0x0491('0x1a')]);router['post'](_0x0491('0x1b'),auth['isAuthenticated'](),controller[_0x0491('0x1c')]);router[_0x0491('0x1d')](_0x0491('0x1e'),auth[_0x0491('0xa')](),controller[_0x0491('0x1f')]);router[_0x0491('0x20')](_0x0491('0x1e'),auth[_0x0491('0xa')](),controller['destroy']);router[_0x0491('0x20')](_0x0491('0x21'),auth[_0x0491('0xa')](),controller[_0x0491('0x22')]);router[_0x0491('0x20')](_0x0491('0x10'),auth[_0x0491('0xa')](),controller[_0x0491('0x23')]);router['delete'](_0x0491('0x11'),auth[_0x0491('0xa')](),controller[_0x0491('0x24')]);module[_0x0491('0x25')]=router;
\ No newline at end of file
+var _0x9406=['get','isAuthenticated','index','/describe','/:id','show','/:id/dispositions','getDispositions','getAnswers','/:id/users','getAgents','/:id/applications','getApplications','post','create','/:id/canned_answers','addAnswer','addAgents','addApplications','/:id/notify','update','delete','removeDispositions','removeAgents','exports','multer','util','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./whatsappAccount.controller'];(function(_0x522c5f,_0x52948e){var _0x21f69b=function(_0x280a80){while(--_0x280a80){_0x522c5f['push'](_0x522c5f['shift']());}};_0x21f69b(++_0x52948e);}(_0x9406,0x1e0));var _0x6940=function(_0x385e3a,_0x2a7f5f){_0x385e3a=_0x385e3a-0x0;var _0x1e07fd=_0x9406[_0x385e3a];return _0x1e07fd;};'use strict';var multer=require(_0x6940('0x0'));var util=require(_0x6940('0x1'));var path=require('path');var timeout=require(_0x6940('0x2'));var express=require(_0x6940('0x3'));var router=express[_0x6940('0x4')]();var fs_extra=require(_0x6940('0x5'));var auth=require(_0x6940('0x6'));var interaction=require(_0x6940('0x7'));var config=require(_0x6940('0x8'));var controller=require(_0x6940('0x9'));router[_0x6940('0xa')]('/',auth[_0x6940('0xb')](),controller[_0x6940('0xc')]);router[_0x6940('0xa')](_0x6940('0xd'),auth[_0x6940('0xb')](),controller['describe']);router[_0x6940('0xa')](_0x6940('0xe'),auth[_0x6940('0xb')](),controller[_0x6940('0xf')]);router['get'](_0x6940('0x10'),auth[_0x6940('0xb')](),controller[_0x6940('0x11')]);router[_0x6940('0xa')]('/:id/canned_answers',auth[_0x6940('0xb')](),controller[_0x6940('0x12')]);router['get'](_0x6940('0x13'),auth[_0x6940('0xb')](),controller[_0x6940('0x14')]);router[_0x6940('0xa')](_0x6940('0x15'),auth[_0x6940('0xb')](),controller[_0x6940('0x16')]);router[_0x6940('0x17')]('/',auth[_0x6940('0xb')](),controller[_0x6940('0x18')]);router['post'](_0x6940('0x10'),auth[_0x6940('0xb')](),controller['addDisposition']);router[_0x6940('0x17')](_0x6940('0x19'),auth['isAuthenticated'](),controller[_0x6940('0x1a')]);router[_0x6940('0x17')](_0x6940('0x13'),auth[_0x6940('0xb')](),controller[_0x6940('0x1b')]);router[_0x6940('0x17')](_0x6940('0x15'),auth[_0x6940('0xb')](),controller[_0x6940('0x1c')]);router['post'](_0x6940('0x1d'),controller['notify']);router['post']('/:id/send',auth[_0x6940('0xb')](),controller['send']);router['put']('/:id',auth[_0x6940('0xb')](),controller[_0x6940('0x1e')]);router[_0x6940('0x1f')]('/:id',auth[_0x6940('0xb')](),controller['destroy']);router[_0x6940('0x1f')](_0x6940('0x10'),auth[_0x6940('0xb')](),controller[_0x6940('0x20')]);router[_0x6940('0x1f')](_0x6940('0x19'),auth[_0x6940('0xb')](),controller['removeAnswers']);router['delete'](_0x6940('0x13'),auth[_0x6940('0xb')](),controller[_0x6940('0x21')]);module[_0x6940('0x22')]=router;
\ No newline at end of file