Built motion from commit 42801a18.|2.6.28
[motion2.git] / server / api / whatsappAccount / index.js
index dd19d69..9842ec3 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x4e6a=['../../components/interaction/service','get','isAuthenticated','index','/describe','describe','show','/:id/dispositions','getDispositions','/:id/canned_answers','getAnswers','/:id/users','getAgents','/:id/applications','post','create','addDisposition','addAnswer','addApplications','/:id/notify','notify','/:id/send','send','put','/:id','update','delete','destroy','removeDispositions','removeAnswers','removeAgents','exports','multer','util','connect-timeout','express','Router','../../components/auth/service'];(function(_0x25d452,_0x191c8b){var _0xff9d68=function(_0x1da815){while(--_0x1da815){_0x25d452['push'](_0x25d452['shift']());}};_0xff9d68(++_0x191c8b);}(_0x4e6a,0x19c));var _0xa4e6=function(_0x3cdb3c,_0x5f1ef4){_0x3cdb3c=_0x3cdb3c-0x0;var _0x41ad66=_0x4e6a[_0x3cdb3c];return _0x41ad66;};'use strict';var multer=require(_0xa4e6('0x0'));var util=require(_0xa4e6('0x1'));var path=require('path');var timeout=require(_0xa4e6('0x2'));var express=require(_0xa4e6('0x3'));var router=express[_0xa4e6('0x4')]();var fs_extra=require('fs-extra');var auth=require(_0xa4e6('0x5'));var interaction=require(_0xa4e6('0x6'));var config=require('../../config/environment');var controller=require('./whatsappAccount.controller');router[_0xa4e6('0x7')]('/',auth[_0xa4e6('0x8')](),controller[_0xa4e6('0x9')]);router['get'](_0xa4e6('0xa'),auth[_0xa4e6('0x8')](),controller[_0xa4e6('0xb')]);router[_0xa4e6('0x7')]('/:id',auth[_0xa4e6('0x8')](),controller[_0xa4e6('0xc')]);router[_0xa4e6('0x7')](_0xa4e6('0xd'),auth[_0xa4e6('0x8')](),controller[_0xa4e6('0xe')]);router[_0xa4e6('0x7')](_0xa4e6('0xf'),auth[_0xa4e6('0x8')](),controller[_0xa4e6('0x10')]);router[_0xa4e6('0x7')](_0xa4e6('0x11'),auth[_0xa4e6('0x8')](),controller[_0xa4e6('0x12')]);router[_0xa4e6('0x7')](_0xa4e6('0x13'),auth['isAuthenticated'](),controller['getApplications']);router[_0xa4e6('0x14')]('/',auth['isAuthenticated'](),controller[_0xa4e6('0x15')]);router[_0xa4e6('0x14')](_0xa4e6('0xd'),auth['isAuthenticated'](),controller[_0xa4e6('0x16')]);router[_0xa4e6('0x14')](_0xa4e6('0xf'),auth[_0xa4e6('0x8')](),controller[_0xa4e6('0x17')]);router[_0xa4e6('0x14')](_0xa4e6('0x11'),auth[_0xa4e6('0x8')](),controller['addAgents']);router[_0xa4e6('0x14')](_0xa4e6('0x13'),auth['isAuthenticated'](),controller[_0xa4e6('0x18')]);router[_0xa4e6('0x14')](_0xa4e6('0x19'),controller[_0xa4e6('0x1a')]);router[_0xa4e6('0x14')](_0xa4e6('0x1b'),auth[_0xa4e6('0x8')](),controller[_0xa4e6('0x1c')]);router[_0xa4e6('0x1d')](_0xa4e6('0x1e'),auth[_0xa4e6('0x8')](),controller[_0xa4e6('0x1f')]);router[_0xa4e6('0x20')](_0xa4e6('0x1e'),auth[_0xa4e6('0x8')](),controller[_0xa4e6('0x21')]);router['delete'](_0xa4e6('0xd'),auth[_0xa4e6('0x8')](),controller[_0xa4e6('0x22')]);router[_0xa4e6('0x20')](_0xa4e6('0xf'),auth['isAuthenticated'](),controller[_0xa4e6('0x23')]);router['delete'](_0xa4e6('0x11'),auth['isAuthenticated'](),controller[_0xa4e6('0x24')]);module[_0xa4e6('0x25')]=router;
\ No newline at end of file
+var _0x091d=['post','create','addDisposition','addAnswer','/:id/users','addApplications','/:id/notify','notify','send','put','update','delete','destroy','multer','util','path','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./whatsappAccount.controller','get','isAuthenticated','index','/:id','show','/:id/dispositions','getDispositions','/:id/canned_answers','getAnswers','/:id/applications','getApplications'];(function(_0x4d1001,_0xc3c5c3){var _0x2a5d10=function(_0x30c18a){while(--_0x30c18a){_0x4d1001['push'](_0x4d1001['shift']());}};_0x2a5d10(++_0xc3c5c3);}(_0x091d,0x125));var _0xd091=function(_0x1ac721,_0x556a17){_0x1ac721=_0x1ac721-0x0;var _0x375c66=_0x091d[_0x1ac721];return _0x375c66;};'use strict';var multer=require(_0xd091('0x0'));var util=require(_0xd091('0x1'));var path=require(_0xd091('0x2'));var timeout=require(_0xd091('0x3'));var express=require(_0xd091('0x4'));var router=express[_0xd091('0x5')]();var fs_extra=require(_0xd091('0x6'));var auth=require(_0xd091('0x7'));var interaction=require(_0xd091('0x8'));var config=require(_0xd091('0x9'));var controller=require(_0xd091('0xa'));router[_0xd091('0xb')]('/',auth[_0xd091('0xc')](),controller[_0xd091('0xd')]);router[_0xd091('0xb')]('/describe',auth[_0xd091('0xc')](),controller['describe']);router['get'](_0xd091('0xe'),auth[_0xd091('0xc')](),controller[_0xd091('0xf')]);router[_0xd091('0xb')](_0xd091('0x10'),auth[_0xd091('0xc')](),controller[_0xd091('0x11')]);router[_0xd091('0xb')](_0xd091('0x12'),auth['isAuthenticated'](),controller[_0xd091('0x13')]);router[_0xd091('0xb')]('/:id/users',auth[_0xd091('0xc')](),controller['getAgents']);router[_0xd091('0xb')](_0xd091('0x14'),auth[_0xd091('0xc')](),controller[_0xd091('0x15')]);router[_0xd091('0x16')]('/',auth[_0xd091('0xc')](),controller[_0xd091('0x17')]);router[_0xd091('0x16')](_0xd091('0x10'),auth[_0xd091('0xc')](),controller[_0xd091('0x18')]);router[_0xd091('0x16')](_0xd091('0x12'),auth[_0xd091('0xc')](),controller[_0xd091('0x19')]);router['post'](_0xd091('0x1a'),auth[_0xd091('0xc')](),controller['addAgents']);router['post']('/:id/applications',auth[_0xd091('0xc')](),controller[_0xd091('0x1b')]);router[_0xd091('0x16')](_0xd091('0x1c'),controller[_0xd091('0x1d')]);router[_0xd091('0x16')]('/:id/send',auth[_0xd091('0xc')](),controller[_0xd091('0x1e')]);router[_0xd091('0x1f')]('/:id',auth[_0xd091('0xc')](),controller[_0xd091('0x20')]);router[_0xd091('0x21')](_0xd091('0xe'),auth['isAuthenticated'](),controller[_0xd091('0x22')]);router[_0xd091('0x21')]('/:id/dispositions',auth['isAuthenticated'](),controller['removeDispositions']);router[_0xd091('0x21')]('/:id/canned_answers',auth[_0xd091('0xc')](),controller['removeAnswers']);router[_0xd091('0x21')](_0xd091('0x1a'),auth['isAuthenticated'](),controller['removeAgents']);module['exports']=router;
\ No newline at end of file