Built motion from commit 994c64e1.|2.6.1
[motion2.git] / server / api / whatsappMessage / index.js
index 2448642..f29148c 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x1f8f=['util','path','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./whatsappMessage.controller','get','/describe','describe','/:id','isAuthenticated','show','tracked','create','/:id/status','status','put','update','/:id/accept','accept','/:id/reject','reject','delete','destroy','multer'];(function(_0x3ecf30,_0x5354ca){var _0x5e166c=function(_0x2e99b8){while(--_0x2e99b8){_0x3ecf30['push'](_0x3ecf30['shift']());}};_0x5e166c(++_0x5354ca);}(_0x1f8f,0x104));var _0xf1f8=function(_0x185f3e,_0x4d9e95){_0x185f3e=_0x185f3e-0x0;var _0x24ee30=_0x1f8f[_0x185f3e];return _0x24ee30;};'use strict';var multer=require(_0xf1f8('0x0'));var util=require(_0xf1f8('0x1'));var path=require(_0xf1f8('0x2'));var timeout=require(_0xf1f8('0x3'));var express=require(_0xf1f8('0x4'));var router=express[_0xf1f8('0x5')]();var fs_extra=require(_0xf1f8('0x6'));var auth=require(_0xf1f8('0x7'));var interaction=require(_0xf1f8('0x8'));var config=require(_0xf1f8('0x9'));var controller=require(_0xf1f8('0xa'));router[_0xf1f8('0xb')]('/',auth['isAuthenticated'](),controller['index']);router['get'](_0xf1f8('0xc'),auth['isAuthenticated'](),controller[_0xf1f8('0xd')]);router[_0xf1f8('0xb')](_0xf1f8('0xe'),auth[_0xf1f8('0xf')](),controller[_0xf1f8('0x10')]);router['post']('/',auth['isAuthenticated'](),interaction[_0xf1f8('0x11')]('whatsapp','whatsappmessage:create'),controller[_0xf1f8('0x12')]);router['post'](_0xf1f8('0x13'),controller[_0xf1f8('0x14')]);router[_0xf1f8('0x15')]('/:id',auth['isAuthenticated'](),controller[_0xf1f8('0x16')]);router['put'](_0xf1f8('0x17'),auth['isAuthenticated'](),controller[_0xf1f8('0x18')]);router['put'](_0xf1f8('0x19'),auth[_0xf1f8('0xf')](),controller[_0xf1f8('0x1a')]);router[_0xf1f8('0x1b')](_0xf1f8('0xe'),auth['isAuthenticated'](),controller[_0xf1f8('0x1c')]);module['exports']=router;
\ No newline at end of file
+var _0x285b=['/:id/reject','reject','delete','destroy','exports','multer','path','connect-timeout','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./whatsappMessage.controller','get','isAuthenticated','index','describe','show','post','tracked','whatsappmessage:create','/:id/status','status','put','/:id','update','/:id/accept'];(function(_0x20ede0,_0x56f9f0){var _0x369988=function(_0x3243ff){while(--_0x3243ff){_0x20ede0['push'](_0x20ede0['shift']());}};_0x369988(++_0x56f9f0);}(_0x285b,0x171));var _0xb285=function(_0x5df98f,_0x4fd622){_0x5df98f=_0x5df98f-0x0;var _0x4b9960=_0x285b[_0x5df98f];return _0x4b9960;};'use strict';var multer=require(_0xb285('0x0'));var util=require('util');var path=require(_0xb285('0x1'));var timeout=require(_0xb285('0x2'));var express=require('express');var router=express[_0xb285('0x3')]();var fs_extra=require(_0xb285('0x4'));var auth=require(_0xb285('0x5'));var interaction=require(_0xb285('0x6'));var config=require(_0xb285('0x7'));var controller=require(_0xb285('0x8'));router[_0xb285('0x9')]('/',auth[_0xb285('0xa')](),controller[_0xb285('0xb')]);router[_0xb285('0x9')]('/describe',auth[_0xb285('0xa')](),controller[_0xb285('0xc')]);router[_0xb285('0x9')]('/:id',auth['isAuthenticated'](),controller[_0xb285('0xd')]);router[_0xb285('0xe')]('/',auth[_0xb285('0xa')](),interaction[_0xb285('0xf')]('whatsapp',_0xb285('0x10')),controller['create']);router[_0xb285('0xe')](_0xb285('0x11'),controller[_0xb285('0x12')]);router[_0xb285('0x13')](_0xb285('0x14'),auth[_0xb285('0xa')](),controller[_0xb285('0x15')]);router[_0xb285('0x13')](_0xb285('0x16'),auth[_0xb285('0xa')](),controller['accept']);router['put'](_0xb285('0x17'),auth[_0xb285('0xa')](),controller[_0xb285('0x18')]);router[_0xb285('0x19')]('/:id',auth[_0xb285('0xa')](),controller[_0xb285('0x1a')]);module[_0xb285('0x1b')]=router;
\ No newline at end of file