Built motion from commit (unavailable).|2.5.27
[motion2.git] / server / api / smsInteraction / index.js
index 6750994..3b0e587 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x71a1=['smsinteraction:addtags','addTags','put','smsinteraction:update','update','delete','smsinteraction:destroy','destroy','/:id/tags','removeTags','exports','multer','util','path','connect-timeout','express','../../components/interaction/service','../../config/environment','isAuthenticated','index','/describe','describe','get','/:id','show','getMessages','/:id/download','download','post','addMessage','tracked','sms'];(function(_0x14add3,_0x13ce8d){var _0x4a174f=function(_0x2b3ed7){while(--_0x2b3ed7){_0x14add3['push'](_0x14add3['shift']());}};_0x4a174f(++_0x13ce8d);}(_0x71a1,0x1eb));var _0x171a=function(_0x3b1a85,_0x73c2b6){_0x3b1a85=_0x3b1a85-0x0;var _0x53757f=_0x71a1[_0x3b1a85];return _0x53757f;};'use strict';var multer=require(_0x171a('0x0'));var util=require(_0x171a('0x1'));var path=require(_0x171a('0x2'));var timeout=require(_0x171a('0x3'));var express=require(_0x171a('0x4'));var router=express['Router']();var auth=require('../../components/auth/service');var interaction=require(_0x171a('0x5'));var config=require(_0x171a('0x6'));var controller=require('./smsInteraction.controller');router['get']('/',auth[_0x171a('0x7')](),controller[_0x171a('0x8')]);router['get'](_0x171a('0x9'),auth[_0x171a('0x7')](),controller[_0x171a('0xa')]);router[_0x171a('0xb')](_0x171a('0xc'),auth[_0x171a('0x7')](),controller[_0x171a('0xd')]);router[_0x171a('0xb')]('/:id/messages',auth['isAuthenticated'](),controller[_0x171a('0xe')]);router[_0x171a('0xb')](_0x171a('0xf'),auth[_0x171a('0x7')](),controller[_0x171a('0x10')]);router[_0x171a('0x11')]('/',auth[_0x171a('0x7')](),controller['create']);router[_0x171a('0x11')]('/:id/messages',auth[_0x171a('0x7')](),controller[_0x171a('0x12')]);router['post']('/:id/tags',auth[_0x171a('0x7')](),interaction[_0x171a('0x13')](_0x171a('0x14'),_0x171a('0x15')),controller[_0x171a('0x16')]);router[_0x171a('0x17')](_0x171a('0xc'),auth[_0x171a('0x7')](),interaction[_0x171a('0x13')](_0x171a('0x14'),_0x171a('0x18')),controller[_0x171a('0x19')]);router[_0x171a('0x1a')](_0x171a('0xc'),auth[_0x171a('0x7')](),interaction[_0x171a('0x13')](_0x171a('0x14'),_0x171a('0x1b')),controller[_0x171a('0x1c')]);router[_0x171a('0x1a')](_0x171a('0x1d'),auth['isAuthenticated'](),controller[_0x171a('0x1e')]);module[_0x171a('0x1f')]=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