Built motion from commit (unavailable).|2.5.21
[motion2.git] / server / api / whatsappAccount / index.js
index 504e9dd..60854ed 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x1775=['getAgents','/:id/applications','getApplications','post','create','addDisposition','addAnswer','/:id/users','addAgents','/:id/notify','notify','/:id/send','send','put','update','delete','destroy','removeAnswers','removeAgents','util','path','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./whatsappAccount.controller','get','isAuthenticated','index','/describe','describe','/:id','show','/:id/dispositions','/:id/canned_answers','getAnswers'];(function(_0x3372c5,_0xffce3f){var _0x3fcc44=function(_0x16651f){while(--_0x16651f){_0x3372c5['push'](_0x3372c5['shift']());}};_0x3fcc44(++_0xffce3f);}(_0x1775,0x1db));var _0x5177=function(_0x17d9e3,_0x1f969c){_0x17d9e3=_0x17d9e3-0x0;var _0x14192d=_0x1775[_0x17d9e3];return _0x14192d;};'use strict';var multer=require('multer');var util=require(_0x5177('0x0'));var path=require(_0x5177('0x1'));var timeout=require(_0x5177('0x2'));var express=require(_0x5177('0x3'));var router=express[_0x5177('0x4')]();var auth=require(_0x5177('0x5'));var interaction=require(_0x5177('0x6'));var config=require(_0x5177('0x7'));var controller=require(_0x5177('0x8'));router[_0x5177('0x9')]('/',auth[_0x5177('0xa')](),controller[_0x5177('0xb')]);router[_0x5177('0x9')](_0x5177('0xc'),auth[_0x5177('0xa')](),controller[_0x5177('0xd')]);router[_0x5177('0x9')](_0x5177('0xe'),auth[_0x5177('0xa')](),controller[_0x5177('0xf')]);router[_0x5177('0x9')](_0x5177('0x10'),auth['isAuthenticated'](),controller['getDispositions']);router[_0x5177('0x9')](_0x5177('0x11'),auth[_0x5177('0xa')](),controller[_0x5177('0x12')]);router[_0x5177('0x9')]('/:id/users',auth[_0x5177('0xa')](),controller[_0x5177('0x13')]);router[_0x5177('0x9')](_0x5177('0x14'),auth[_0x5177('0xa')](),controller[_0x5177('0x15')]);router[_0x5177('0x16')]('/',auth[_0x5177('0xa')](),controller[_0x5177('0x17')]);router[_0x5177('0x16')](_0x5177('0x10'),auth[_0x5177('0xa')](),controller[_0x5177('0x18')]);router[_0x5177('0x16')](_0x5177('0x11'),auth[_0x5177('0xa')](),controller[_0x5177('0x19')]);router[_0x5177('0x16')](_0x5177('0x1a'),auth['isAuthenticated'](),controller[_0x5177('0x1b')]);router[_0x5177('0x16')](_0x5177('0x14'),auth[_0x5177('0xa')](),controller['addApplications']);router[_0x5177('0x16')](_0x5177('0x1c'),controller[_0x5177('0x1d')]);router['post'](_0x5177('0x1e'),auth['isAuthenticated'](),controller[_0x5177('0x1f')]);router[_0x5177('0x20')](_0x5177('0xe'),auth[_0x5177('0xa')](),controller[_0x5177('0x21')]);router[_0x5177('0x22')](_0x5177('0xe'),auth[_0x5177('0xa')](),controller[_0x5177('0x23')]);router[_0x5177('0x22')](_0x5177('0x10'),auth[_0x5177('0xa')](),controller['removeDispositions']);router[_0x5177('0x22')]('/:id/canned_answers',auth[_0x5177('0xa')](),controller[_0x5177('0x24')]);router[_0x5177('0x22')](_0x5177('0x1a'),auth['isAuthenticated'](),controller[_0x5177('0x25')]);module['exports']=router;
\ No newline at end of file
+var _0x4325=['connect-timeout','express','Router','../../config/environment','./whatsappAccount.controller','get','index','isAuthenticated','/:id','show','/:id/canned_answers','getAnswers','getAgents','/:id/applications','getApplications','post','create','addDisposition','addAnswer','/:id/users','addAgents','addApplications','/:id/notify','notify','/:id/send','send','put','update','delete','removeDispositions','removeAgents','exports','multer','util'];(function(_0x155839,_0x3f679d){var _0x51d322=function(_0xf96e28){while(--_0xf96e28){_0x155839['push'](_0x155839['shift']());}};_0x51d322(++_0x3f679d);}(_0x4325,0x1da));var _0x5432=function(_0x167cc1,_0x56ef5a){_0x167cc1=_0x167cc1-0x0;var _0x10bc4b=_0x4325[_0x167cc1];return _0x10bc4b;};'use strict';var multer=require(_0x5432('0x0'));var util=require(_0x5432('0x1'));var path=require('path');var timeout=require(_0x5432('0x2'));var express=require(_0x5432('0x3'));var router=express[_0x5432('0x4')]();var auth=require('../../components/auth/service');var interaction=require('../../components/interaction/service');var config=require(_0x5432('0x5'));var controller=require(_0x5432('0x6'));router[_0x5432('0x7')]('/',auth['isAuthenticated'](),controller[_0x5432('0x8')]);router[_0x5432('0x7')]('/describe',auth[_0x5432('0x9')](),controller['describe']);router[_0x5432('0x7')](_0x5432('0xa'),auth[_0x5432('0x9')](),controller[_0x5432('0xb')]);router[_0x5432('0x7')]('/:id/dispositions',auth[_0x5432('0x9')](),controller['getDispositions']);router[_0x5432('0x7')](_0x5432('0xc'),auth[_0x5432('0x9')](),controller[_0x5432('0xd')]);router['get']('/:id/users',auth[_0x5432('0x9')](),controller[_0x5432('0xe')]);router['get'](_0x5432('0xf'),auth[_0x5432('0x9')](),controller[_0x5432('0x10')]);router[_0x5432('0x11')]('/',auth[_0x5432('0x9')](),controller[_0x5432('0x12')]);router['post']('/:id/dispositions',auth[_0x5432('0x9')](),controller[_0x5432('0x13')]);router[_0x5432('0x11')](_0x5432('0xc'),auth[_0x5432('0x9')](),controller[_0x5432('0x14')]);router['post'](_0x5432('0x15'),auth['isAuthenticated'](),controller[_0x5432('0x16')]);router[_0x5432('0x11')](_0x5432('0xf'),auth[_0x5432('0x9')](),controller[_0x5432('0x17')]);router['post'](_0x5432('0x18'),controller[_0x5432('0x19')]);router[_0x5432('0x11')](_0x5432('0x1a'),auth[_0x5432('0x9')](),controller[_0x5432('0x1b')]);router[_0x5432('0x1c')]('/:id',auth[_0x5432('0x9')](),controller[_0x5432('0x1d')]);router[_0x5432('0x1e')](_0x5432('0xa'),auth[_0x5432('0x9')](),controller['destroy']);router['delete']('/:id/dispositions',auth[_0x5432('0x9')](),controller[_0x5432('0x1f')]);router[_0x5432('0x1e')](_0x5432('0xc'),auth['isAuthenticated'](),controller['removeAnswers']);router[_0x5432('0x1e')](_0x5432('0x15'),auth['isAuthenticated'](),controller[_0x5432('0x20')]);module[_0x5432('0x21')]=router;
\ No newline at end of file