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