Built motion from commit (unavailable).|2.5.31
[motion2.git] / server / api / whatsappInteraction / index.js
index 34d965c..f6ef7d0 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x258d=['../../components/interaction/service','../../config/environment','get','isAuthenticated','/describe','/:id','/:id/messages','getMessages','download','create','post','addMessage','/:id/tags','tracked','whatsapp','whatsappinteraction:addtags','addTags','put','whatsappinteraction:update','delete','whatsappinteraction:destroy','destroy','removeTags','exports','multer','util','path','connect-timeout','express','Router','fs-extra','../../components/auth/service'];(function(_0x4239bd,_0x1f310b){var _0x21f061=function(_0xbe0bca){while(--_0xbe0bca){_0x4239bd['push'](_0x4239bd['shift']());}};_0x21f061(++_0x1f310b);}(_0x258d,0xb8));var _0xd258=function(_0x2c91e9,_0x2fb965){_0x2c91e9=_0x2c91e9-0x0;var _0x13f0ff=_0x258d[_0x2c91e9];return _0x13f0ff;};'use strict';var multer=require(_0xd258('0x0'));var util=require(_0xd258('0x1'));var path=require(_0xd258('0x2'));var timeout=require(_0xd258('0x3'));var express=require(_0xd258('0x4'));var router=express[_0xd258('0x5')]();var fs_extra=require(_0xd258('0x6'));var auth=require(_0xd258('0x7'));var interaction=require(_0xd258('0x8'));var config=require(_0xd258('0x9'));var controller=require('./whatsappInteraction.controller');router[_0xd258('0xa')]('/',auth[_0xd258('0xb')](),controller['index']);router['get'](_0xd258('0xc'),auth[_0xd258('0xb')](),controller['describe']);router[_0xd258('0xa')](_0xd258('0xd'),auth[_0xd258('0xb')](),controller['show']);router[_0xd258('0xa')](_0xd258('0xe'),auth[_0xd258('0xb')](),controller[_0xd258('0xf')]);router['get']('/:id/download',auth[_0xd258('0xb')](),controller[_0xd258('0x10')]);router['post']('/',auth['isAuthenticated'](),controller[_0xd258('0x11')]);router[_0xd258('0x12')](_0xd258('0xe'),auth[_0xd258('0xb')](),controller[_0xd258('0x13')]);router[_0xd258('0x12')](_0xd258('0x14'),auth[_0xd258('0xb')](),interaction[_0xd258('0x15')](_0xd258('0x16'),_0xd258('0x17')),controller[_0xd258('0x18')]);router[_0xd258('0x19')]('/:id',auth[_0xd258('0xb')](),interaction['tracked'](_0xd258('0x16'),_0xd258('0x1a')),controller['update']);router[_0xd258('0x1b')](_0xd258('0xd'),auth['isAuthenticated'](),interaction[_0xd258('0x15')](_0xd258('0x16'),_0xd258('0x1c')),controller[_0xd258('0x1d')]);router[_0xd258('0x1b')](_0xd258('0x14'),auth[_0xd258('0xb')](),controller[_0xd258('0x1e')]);module[_0xd258('0x1f')]=router;
\ No newline at end of file
+var _0x48b9=['/:id/messages','whatsapp','whatsappinteraction:addtags','put','whatsappinteraction:update','update','delete','/:id','tracked','whatsappinteraction:destroy','destroy','multer','util','path','connect-timeout','express','Router','../../components/interaction/service','../../config/environment','get','isAuthenticated','index','/describe','describe','show','getMessages','post','create'];(function(_0x1a12d2,_0x482eb0){var _0x44dd3b=function(_0x5a48bc){while(--_0x5a48bc){_0x1a12d2['push'](_0x1a12d2['shift']());}};_0x44dd3b(++_0x482eb0);}(_0x48b9,0xeb));var _0x948b=function(_0x1d484c,_0x27c954){_0x1d484c=_0x1d484c-0x0;var _0xb2ec18=_0x48b9[_0x1d484c];return _0xb2ec18;};'use strict';var multer=require(_0x948b('0x0'));var util=require(_0x948b('0x1'));var path=require(_0x948b('0x2'));var timeout=require(_0x948b('0x3'));var express=require(_0x948b('0x4'));var router=express[_0x948b('0x5')]();var fs_extra=require('fs-extra');var auth=require('../../components/auth/service');var interaction=require(_0x948b('0x6'));var config=require(_0x948b('0x7'));var controller=require('./whatsappInteraction.controller');router[_0x948b('0x8')]('/',auth[_0x948b('0x9')](),controller[_0x948b('0xa')]);router['get'](_0x948b('0xb'),auth[_0x948b('0x9')](),controller[_0x948b('0xc')]);router['get']('/:id',auth[_0x948b('0x9')](),controller[_0x948b('0xd')]);router['get']('/:id/messages',auth['isAuthenticated'](),controller[_0x948b('0xe')]);router[_0x948b('0x8')]('/:id/download',auth[_0x948b('0x9')](),controller['download']);router[_0x948b('0xf')]('/',auth[_0x948b('0x9')](),controller[_0x948b('0x10')]);router[_0x948b('0xf')](_0x948b('0x11'),auth[_0x948b('0x9')](),controller['addMessage']);router[_0x948b('0xf')]('/:id/tags',auth[_0x948b('0x9')](),interaction['tracked'](_0x948b('0x12'),_0x948b('0x13')),controller['addTags']);router[_0x948b('0x14')]('/:id',auth[_0x948b('0x9')](),interaction['tracked'](_0x948b('0x12'),_0x948b('0x15')),controller[_0x948b('0x16')]);router[_0x948b('0x17')](_0x948b('0x18'),auth['isAuthenticated'](),interaction[_0x948b('0x19')](_0x948b('0x12'),_0x948b('0x1a')),controller[_0x948b('0x1b')]);router['delete']('/:id/tags',auth[_0x948b('0x9')](),controller['removeTags']);module['exports']=router;
\ No newline at end of file