Built motion from commit 1ea47bf4.|2.6.34
[motion2.git] / server / api / whatsappAccount / index.js
index 5573c0e..4b5fa5a 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x392b=['Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./whatsappAccount.controller','isAuthenticated','/describe','get','/:id','show','/:id/dispositions','getDispositions','/:id/canned_answers','/:id/users','getAgents','/:id/applications','getApplications','post','addDisposition','addAnswer','addAgents','notify','/:id/send','send','put','update','delete','destroy','removeDispositions','removeAnswers','exports','util','path','connect-timeout','express'];(function(_0x5b02f1,_0x498631){var _0x584317=function(_0x50c507){while(--_0x50c507){_0x5b02f1['push'](_0x5b02f1['shift']());}};_0x584317(++_0x498631);}(_0x392b,0x1e6));var _0xb392=function(_0xa464c9,_0x7c86d8){_0xa464c9=_0xa464c9-0x0;var _0x3d73c4=_0x392b[_0xa464c9];return _0x3d73c4;};'use strict';var multer=require('multer');var util=require(_0xb392('0x0'));var path=require(_0xb392('0x1'));var timeout=require(_0xb392('0x2'));var express=require(_0xb392('0x3'));var router=express[_0xb392('0x4')]();var fs_extra=require('fs-extra');var auth=require(_0xb392('0x5'));var interaction=require(_0xb392('0x6'));var config=require(_0xb392('0x7'));var controller=require(_0xb392('0x8'));router['get']('/',auth[_0xb392('0x9')](),controller['index']);router['get'](_0xb392('0xa'),auth['isAuthenticated'](),controller['describe']);router[_0xb392('0xb')](_0xb392('0xc'),auth[_0xb392('0x9')](),controller[_0xb392('0xd')]);router[_0xb392('0xb')](_0xb392('0xe'),auth[_0xb392('0x9')](),controller[_0xb392('0xf')]);router['get'](_0xb392('0x10'),auth[_0xb392('0x9')](),controller['getAnswers']);router[_0xb392('0xb')](_0xb392('0x11'),auth[_0xb392('0x9')](),controller[_0xb392('0x12')]);router[_0xb392('0xb')](_0xb392('0x13'),auth['isAuthenticated'](),controller[_0xb392('0x14')]);router[_0xb392('0x15')]('/',auth[_0xb392('0x9')](),controller['create']);router[_0xb392('0x15')](_0xb392('0xe'),auth['isAuthenticated'](),controller[_0xb392('0x16')]);router['post'](_0xb392('0x10'),auth[_0xb392('0x9')](),controller[_0xb392('0x17')]);router['post'](_0xb392('0x11'),auth[_0xb392('0x9')](),controller[_0xb392('0x18')]);router[_0xb392('0x15')](_0xb392('0x13'),auth[_0xb392('0x9')](),controller['addApplications']);router['post']('/:id/notify',controller[_0xb392('0x19')]);router[_0xb392('0x15')](_0xb392('0x1a'),auth['isAuthenticated'](),controller[_0xb392('0x1b')]);router[_0xb392('0x1c')](_0xb392('0xc'),auth[_0xb392('0x9')](),controller[_0xb392('0x1d')]);router[_0xb392('0x1e')](_0xb392('0xc'),auth[_0xb392('0x9')](),controller[_0xb392('0x1f')]);router[_0xb392('0x1e')](_0xb392('0xe'),auth[_0xb392('0x9')](),controller[_0xb392('0x20')]);router[_0xb392('0x1e')](_0xb392('0x10'),auth[_0xb392('0x9')](),controller[_0xb392('0x21')]);router['delete'](_0xb392('0x11'),auth['isAuthenticated'](),controller['removeAgents']);module[_0xb392('0x22')]=router;
\ No newline at end of file
+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