Built motion from commit 3c2ce842.|2.6.31
[motion2.git] / server / api / whatsappInteraction / index.js
index 50ed4d9..6ebef1e 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xfdbd=['getMessages','download','create','post','addMessage','/:id/tags','whatsapp','addTags','put','/:id','tracked','delete','whatsappinteraction:destroy','destroy','removeTags','exports','multer','util','path','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','./whatsappInteraction.controller','isAuthenticated','index','describe','get','show','/:id/messages'];(function(_0x2997b8,_0x2bd9ca){var _0x4fbff6=function(_0x110b3e){while(--_0x110b3e){_0x2997b8['push'](_0x2997b8['shift']());}};_0x4fbff6(++_0x2bd9ca);}(_0xfdbd,0xf0));var _0xdfdb=function(_0x184cc6,_0x4961ee){_0x184cc6=_0x184cc6-0x0;var _0x3f7435=_0xfdbd[_0x184cc6];return _0x3f7435;};'use strict';var multer=require(_0xdfdb('0x0'));var util=require(_0xdfdb('0x1'));var path=require(_0xdfdb('0x2'));var timeout=require(_0xdfdb('0x3'));var express=require(_0xdfdb('0x4'));var router=express[_0xdfdb('0x5')]();var fs_extra=require(_0xdfdb('0x6'));var auth=require(_0xdfdb('0x7'));var interaction=require(_0xdfdb('0x8'));var config=require('../../config/environment');var controller=require(_0xdfdb('0x9'));router['get']('/',auth[_0xdfdb('0xa')](),controller[_0xdfdb('0xb')]);router['get']('/describe',auth['isAuthenticated'](),controller[_0xdfdb('0xc')]);router[_0xdfdb('0xd')]('/:id',auth[_0xdfdb('0xa')](),controller[_0xdfdb('0xe')]);router[_0xdfdb('0xd')](_0xdfdb('0xf'),auth[_0xdfdb('0xa')](),controller[_0xdfdb('0x10')]);router[_0xdfdb('0xd')]('/:id/download',auth[_0xdfdb('0xa')](),controller[_0xdfdb('0x11')]);router['post']('/',auth[_0xdfdb('0xa')](),controller[_0xdfdb('0x12')]);router[_0xdfdb('0x13')](_0xdfdb('0xf'),auth[_0xdfdb('0xa')](),controller[_0xdfdb('0x14')]);router[_0xdfdb('0x13')](_0xdfdb('0x15'),auth['isAuthenticated'](),interaction['tracked'](_0xdfdb('0x16'),'whatsappinteraction:addtags'),controller[_0xdfdb('0x17')]);router[_0xdfdb('0x18')](_0xdfdb('0x19'),auth[_0xdfdb('0xa')](),interaction[_0xdfdb('0x1a')](_0xdfdb('0x16'),'whatsappinteraction:update'),controller['update']);router[_0xdfdb('0x1b')](_0xdfdb('0x19'),auth[_0xdfdb('0xa')](),interaction['tracked'](_0xdfdb('0x16'),_0xdfdb('0x1c')),controller[_0xdfdb('0x1d')]);router[_0xdfdb('0x1b')](_0xdfdb('0x15'),auth[_0xdfdb('0xa')](),controller[_0xdfdb('0x1e')]);module[_0xdfdb('0x1f')]=router;
\ No newline at end of file
+var _0xe0ae=['update','delete','destroy','/:id/tags','exports','path','connect-timeout','Router','../../components/auth/service','../../components/interaction/service','./whatsappInteraction.controller','index','get','/describe','isAuthenticated','show','/:id/messages','getMessages','post','addMessage','tracked','whatsapp','whatsappinteraction:addtags','addTags','/:id','whatsappinteraction:update'];(function(_0x4da034,_0x38249c){var _0x6238bf=function(_0x290feb){while(--_0x290feb){_0x4da034['push'](_0x4da034['shift']());}};_0x6238bf(++_0x38249c);}(_0xe0ae,0xa1));var _0xee0a=function(_0x5d31f3,_0x4239b0){_0x5d31f3=_0x5d31f3-0x0;var _0x1cc88c=_0xe0ae[_0x5d31f3];return _0x1cc88c;};'use strict';var multer=require('multer');var util=require('util');var path=require(_0xee0a('0x0'));var timeout=require(_0xee0a('0x1'));var express=require('express');var router=express[_0xee0a('0x2')]();var fs_extra=require('fs-extra');var auth=require(_0xee0a('0x3'));var interaction=require(_0xee0a('0x4'));var config=require('../../config/environment');var controller=require(_0xee0a('0x5'));router['get']('/',auth['isAuthenticated'](),controller[_0xee0a('0x6')]);router[_0xee0a('0x7')](_0xee0a('0x8'),auth[_0xee0a('0x9')](),controller['describe']);router[_0xee0a('0x7')]('/:id',auth['isAuthenticated'](),controller[_0xee0a('0xa')]);router[_0xee0a('0x7')](_0xee0a('0xb'),auth['isAuthenticated'](),controller[_0xee0a('0xc')]);router[_0xee0a('0x7')]('/:id/download',auth[_0xee0a('0x9')](),controller['download']);router[_0xee0a('0xd')]('/',auth[_0xee0a('0x9')](),controller['create']);router[_0xee0a('0xd')]('/:id/messages',auth[_0xee0a('0x9')](),controller[_0xee0a('0xe')]);router['post']('/:id/tags',auth[_0xee0a('0x9')](),interaction[_0xee0a('0xf')](_0xee0a('0x10'),_0xee0a('0x11')),controller[_0xee0a('0x12')]);router['put'](_0xee0a('0x13'),auth[_0xee0a('0x9')](),interaction['tracked'](_0xee0a('0x10'),_0xee0a('0x14')),controller[_0xee0a('0x15')]);router[_0xee0a('0x16')]('/:id',auth[_0xee0a('0x9')](),interaction[_0xee0a('0xf')](_0xee0a('0x10'),'whatsappinteraction:destroy'),controller[_0xee0a('0x17')]);router[_0xee0a('0x16')](_0xee0a('0x18'),auth[_0xee0a('0x9')](),controller['removeTags']);module[_0xee0a('0x19')]=router;
\ No newline at end of file