Built motion from commit d13fb11b.|2.6.34
[motion2.git] / server / api / whatsappAccount / index.js
index 4b5fa5a..f496f75 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x1bb3=['getAgents','/:id/applications','getApplications','post','create','addDisposition','addAnswer','addAgents','addApplications','/:id/notify','notify','/:id/send','send','put','/:id','update','delete','destroy','removeDispositions','removeAnswers','removeAgents','multer','util','connect-timeout','Router','../../components/interaction/service','../../config/environment','./whatsappAccount.controller','get','isAuthenticated','index','describe','show','/:id/dispositions','/:id/canned_answers','/:id/users'];(function(_0x314672,_0x370d21){var _0xae423c=function(_0xf91275){while(--_0xf91275){_0x314672['push'](_0x314672['shift']());}};_0xae423c(++_0x370d21);}(_0x1bb3,0xa5));var _0x31bb=function(_0x569e95,_0x41785b){_0x569e95=_0x569e95-0x0;var _0x30fa10=_0x1bb3[_0x569e95];return _0x30fa10;};'use strict';var multer=require(_0x31bb('0x0'));var util=require(_0x31bb('0x1'));var path=require('path');var timeout=require(_0x31bb('0x2'));var express=require('express');var router=express[_0x31bb('0x3')]();var fs_extra=require('fs-extra');var auth=require('../../components/auth/service');var interaction=require(_0x31bb('0x4'));var config=require(_0x31bb('0x5'));var controller=require(_0x31bb('0x6'));router[_0x31bb('0x7')]('/',auth[_0x31bb('0x8')](),controller[_0x31bb('0x9')]);router[_0x31bb('0x7')]('/describe',auth[_0x31bb('0x8')](),controller[_0x31bb('0xa')]);router[_0x31bb('0x7')]('/:id',auth[_0x31bb('0x8')](),controller[_0x31bb('0xb')]);router['get'](_0x31bb('0xc'),auth['isAuthenticated'](),controller['getDispositions']);router[_0x31bb('0x7')](_0x31bb('0xd'),auth[_0x31bb('0x8')](),controller['getAnswers']);router['get'](_0x31bb('0xe'),auth[_0x31bb('0x8')](),controller[_0x31bb('0xf')]);router[_0x31bb('0x7')](_0x31bb('0x10'),auth['isAuthenticated'](),controller[_0x31bb('0x11')]);router[_0x31bb('0x12')]('/',auth[_0x31bb('0x8')](),controller[_0x31bb('0x13')]);router[_0x31bb('0x12')](_0x31bb('0xc'),auth[_0x31bb('0x8')](),controller[_0x31bb('0x14')]);router['post'](_0x31bb('0xd'),auth[_0x31bb('0x8')](),controller[_0x31bb('0x15')]);router[_0x31bb('0x12')](_0x31bb('0xe'),auth[_0x31bb('0x8')](),controller[_0x31bb('0x16')]);router['post'](_0x31bb('0x10'),auth[_0x31bb('0x8')](),controller[_0x31bb('0x17')]);router[_0x31bb('0x12')](_0x31bb('0x18'),controller[_0x31bb('0x19')]);router[_0x31bb('0x12')](_0x31bb('0x1a'),auth[_0x31bb('0x8')](),controller[_0x31bb('0x1b')]);router[_0x31bb('0x1c')](_0x31bb('0x1d'),auth[_0x31bb('0x8')](),controller[_0x31bb('0x1e')]);router[_0x31bb('0x1f')](_0x31bb('0x1d'),auth[_0x31bb('0x8')](),controller[_0x31bb('0x20')]);router[_0x31bb('0x1f')]('/:id/dispositions',auth[_0x31bb('0x8')](),controller[_0x31bb('0x21')]);router[_0x31bb('0x1f')](_0x31bb('0xd'),auth[_0x31bb('0x8')](),controller[_0x31bb('0x22')]);router['delete']('/:id/users',auth[_0x31bb('0x8')](),controller[_0x31bb('0x23')]);module['exports']=router;
\ No newline at end of file
+var _0xa15b=['create','addAnswer','/:id/users','addAgents','addApplications','/:id/notify','/:id/send','put','update','delete','removeDispositions','removeAnswers','exports','path','connect-timeout','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','index','describe','get','/:id','/:id/dispositions','getDispositions','/:id/canned_answers','isAuthenticated','getAnswers','getAgents','/:id/applications','post'];(function(_0x217116,_0x29f7ca){var _0x556ac5=function(_0x25d337){while(--_0x25d337){_0x217116['push'](_0x217116['shift']());}};_0x556ac5(++_0x29f7ca);}(_0xa15b,0x8d));var _0xba15=function(_0x5322de,_0x564705){_0x5322de=_0x5322de-0x0;var _0x3ded50=_0xa15b[_0x5322de];return _0x3ded50;};'use strict';var multer=require('multer');var util=require('util');var path=require(_0xba15('0x0'));var timeout=require(_0xba15('0x1'));var express=require('express');var router=express[_0xba15('0x2')]();var fs_extra=require(_0xba15('0x3'));var auth=require(_0xba15('0x4'));var interaction=require(_0xba15('0x5'));var config=require(_0xba15('0x6'));var controller=require('./whatsappAccount.controller');router['get']('/',auth['isAuthenticated'](),controller[_0xba15('0x7')]);router['get']('/describe',auth['isAuthenticated'](),controller[_0xba15('0x8')]);router[_0xba15('0x9')](_0xba15('0xa'),auth['isAuthenticated'](),controller['show']);router['get'](_0xba15('0xb'),auth['isAuthenticated'](),controller[_0xba15('0xc')]);router['get'](_0xba15('0xd'),auth[_0xba15('0xe')](),controller[_0xba15('0xf')]);router[_0xba15('0x9')]('/:id/users',auth[_0xba15('0xe')](),controller[_0xba15('0x10')]);router['get'](_0xba15('0x11'),auth['isAuthenticated'](),controller['getApplications']);router[_0xba15('0x12')]('/',auth[_0xba15('0xe')](),controller[_0xba15('0x13')]);router['post'](_0xba15('0xb'),auth[_0xba15('0xe')](),controller['addDisposition']);router['post'](_0xba15('0xd'),auth[_0xba15('0xe')](),controller[_0xba15('0x14')]);router[_0xba15('0x12')](_0xba15('0x15'),auth[_0xba15('0xe')](),controller[_0xba15('0x16')]);router[_0xba15('0x12')]('/:id/applications',auth['isAuthenticated'](),controller[_0xba15('0x17')]);router[_0xba15('0x12')](_0xba15('0x18'),controller['notify']);router[_0xba15('0x12')](_0xba15('0x19'),auth[_0xba15('0xe')](),controller['send']);router[_0xba15('0x1a')](_0xba15('0xa'),auth['isAuthenticated'](),controller[_0xba15('0x1b')]);router[_0xba15('0x1c')](_0xba15('0xa'),auth[_0xba15('0xe')](),controller['destroy']);router['delete'](_0xba15('0xb'),auth[_0xba15('0xe')](),controller[_0xba15('0x1d')]);router[_0xba15('0x1c')](_0xba15('0xd'),auth[_0xba15('0xe')](),controller[_0xba15('0x1e')]);router['delete']('/:id/users',auth[_0xba15('0xe')](),controller['removeAgents']);module[_0xba15('0x1f')]=router;
\ No newline at end of file