Built motion from commit (unavailable).|2.5.27
[motion2.git] / server / api / smsInteraction / index.js
index dc2815f..3b0e587 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x87f4=['../../components/interaction/service','../../config/environment','isAuthenticated','get','/describe','/:id','getMessages','/:id/download','download','post','create','/:id/messages','addMessage','tracked','smsinteraction:addtags','addTags','sms','smsinteraction:update','update','delete','smsinteraction:destroy','destroy','/:id/tags','removeTags','exports','util','path','express','Router'];(function(_0x4411a5,_0x56a07e){var _0x32b86f=function(_0x1775ed){while(--_0x1775ed){_0x4411a5['push'](_0x4411a5['shift']());}};_0x32b86f(++_0x56a07e);}(_0x87f4,0x70));var _0x487f=function(_0x501ca1,_0x6c6edc){_0x501ca1=_0x501ca1-0x0;var _0x2a99c4=_0x87f4[_0x501ca1];return _0x2a99c4;};'use strict';var multer=require('multer');var util=require(_0x487f('0x0'));var path=require(_0x487f('0x1'));var timeout=require('connect-timeout');var express=require(_0x487f('0x2'));var router=express[_0x487f('0x3')]();var auth=require('../../components/auth/service');var interaction=require(_0x487f('0x4'));var config=require(_0x487f('0x5'));var controller=require('./smsInteraction.controller');router['get']('/',auth[_0x487f('0x6')](),controller['index']);router[_0x487f('0x7')](_0x487f('0x8'),auth[_0x487f('0x6')](),controller['describe']);router['get'](_0x487f('0x9'),auth[_0x487f('0x6')](),controller['show']);router[_0x487f('0x7')]('/:id/messages',auth['isAuthenticated'](),controller[_0x487f('0xa')]);router[_0x487f('0x7')](_0x487f('0xb'),auth[_0x487f('0x6')](),controller[_0x487f('0xc')]);router[_0x487f('0xd')]('/',auth[_0x487f('0x6')](),controller[_0x487f('0xe')]);router[_0x487f('0xd')](_0x487f('0xf'),auth[_0x487f('0x6')](),controller[_0x487f('0x10')]);router[_0x487f('0xd')]('/:id/tags',auth[_0x487f('0x6')](),interaction[_0x487f('0x11')]('sms',_0x487f('0x12')),controller[_0x487f('0x13')]);router['put'](_0x487f('0x9'),auth[_0x487f('0x6')](),interaction[_0x487f('0x11')](_0x487f('0x14'),_0x487f('0x15')),controller[_0x487f('0x16')]);router[_0x487f('0x17')](_0x487f('0x9'),auth[_0x487f('0x6')](),interaction[_0x487f('0x11')]('sms',_0x487f('0x18')),controller[_0x487f('0x19')]);router['delete'](_0x487f('0x1a'),auth[_0x487f('0x6')](),controller[_0x487f('0x1b')]);module[_0x487f('0x1c')]=router;
\ No newline at end of file
+var _0xb491=['addMessage','/:id/tags','tracked','sms','smsinteraction:addtags','addTags','smsinteraction:update','update','delete','destroy','removeTags','exports','multer','util','path','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','./smsInteraction.controller','get','isAuthenticated','describe','/:id','show','/:id/messages','getMessages','/:id/download','download','create','post'];(function(_0x8e2ca2,_0x2d307a){var _0x25eef2=function(_0x4845fe){while(--_0x4845fe){_0x8e2ca2['push'](_0x8e2ca2['shift']());}};_0x25eef2(++_0x2d307a);}(_0xb491,0x18c));var _0x1b49=function(_0x122e9b,_0x391bf4){_0x122e9b=_0x122e9b-0x0;var _0x22c247=_0xb491[_0x122e9b];return _0x22c247;};'use strict';var multer=require(_0x1b49('0x0'));var util=require(_0x1b49('0x1'));var path=require(_0x1b49('0x2'));var timeout=require(_0x1b49('0x3'));var express=require(_0x1b49('0x4'));var router=express[_0x1b49('0x5')]();var fs_extra=require('fs-extra');var auth=require(_0x1b49('0x6'));var interaction=require(_0x1b49('0x7'));var config=require('../../config/environment');var controller=require(_0x1b49('0x8'));router[_0x1b49('0x9')]('/',auth[_0x1b49('0xa')](),controller['index']);router[_0x1b49('0x9')]('/describe',auth[_0x1b49('0xa')](),controller[_0x1b49('0xb')]);router[_0x1b49('0x9')](_0x1b49('0xc'),auth[_0x1b49('0xa')](),controller[_0x1b49('0xd')]);router[_0x1b49('0x9')](_0x1b49('0xe'),auth[_0x1b49('0xa')](),controller[_0x1b49('0xf')]);router[_0x1b49('0x9')](_0x1b49('0x10'),auth[_0x1b49('0xa')](),controller[_0x1b49('0x11')]);router['post']('/',auth['isAuthenticated'](),controller[_0x1b49('0x12')]);router[_0x1b49('0x13')](_0x1b49('0xe'),auth[_0x1b49('0xa')](),controller[_0x1b49('0x14')]);router['post'](_0x1b49('0x15'),auth['isAuthenticated'](),interaction[_0x1b49('0x16')](_0x1b49('0x17'),_0x1b49('0x18')),controller[_0x1b49('0x19')]);router['put'](_0x1b49('0xc'),auth[_0x1b49('0xa')](),interaction[_0x1b49('0x16')](_0x1b49('0x17'),_0x1b49('0x1a')),controller[_0x1b49('0x1b')]);router[_0x1b49('0x1c')](_0x1b49('0xc'),auth['isAuthenticated'](),interaction[_0x1b49('0x16')](_0x1b49('0x17'),'smsinteraction:destroy'),controller[_0x1b49('0x1d')]);router[_0x1b49('0x1c')](_0x1b49('0x15'),auth[_0x1b49('0xa')](),controller[_0x1b49('0x1e')]);module[_0x1b49('0x1f')]=router;
\ No newline at end of file