Built motion from commit eddce310.|2.6.12
[motion2.git] / server / api / smsMessage / index.js
index 4217e37..670a315 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xc11b=['index','describe','/:id','show','post','tracked','status','put','update','/:id/accept','accept','/:id/reject','reject','delete','destroy','exports','util','connect-timeout','Router','../../components/interaction/service','../../config/environment','get','isAuthenticated'];(function(_0x11dadd,_0xfc7365){var _0x1350d0=function(_0x18a7ab){while(--_0x18a7ab){_0x11dadd['push'](_0x11dadd['shift']());}};_0x1350d0(++_0xfc7365);}(_0xc11b,0x13b));var _0xbc11=function(_0x2a2380,_0x32eee0){_0x2a2380=_0x2a2380-0x0;var _0x3cfca1=_0xc11b[_0x2a2380];return _0x3cfca1;};'use strict';var multer=require('multer');var util=require(_0xbc11('0x0'));var path=require('path');var timeout=require(_0xbc11('0x1'));var express=require('express');var router=express[_0xbc11('0x2')]();var auth=require('../../components/auth/service');var interaction=require(_0xbc11('0x3'));var config=require(_0xbc11('0x4'));var controller=require('./smsMessage.controller');router[_0xbc11('0x5')]('/',auth[_0xbc11('0x6')](),controller[_0xbc11('0x7')]);router['get']('/describe',auth[_0xbc11('0x6')](),controller[_0xbc11('0x8')]);router['get'](_0xbc11('0x9'),auth[_0xbc11('0x6')](),controller[_0xbc11('0xa')]);router[_0xbc11('0xb')]('/',auth[_0xbc11('0x6')](),interaction[_0xbc11('0xc')]('sms','smsmessage:create'),controller['create']);router[_0xbc11('0xb')]('/:id/status',controller[_0xbc11('0xd')]);router[_0xbc11('0xe')](_0xbc11('0x9'),auth[_0xbc11('0x6')](),controller[_0xbc11('0xf')]);router[_0xbc11('0xe')](_0xbc11('0x10'),auth[_0xbc11('0x6')](),controller[_0xbc11('0x11')]);router[_0xbc11('0xe')](_0xbc11('0x12'),auth[_0xbc11('0x6')](),controller[_0xbc11('0x13')]);router[_0xbc11('0x14')](_0xbc11('0x9'),auth['isAuthenticated'](),controller[_0xbc11('0x15')]);module[_0xbc11('0x16')]=router;
\ No newline at end of file
+var _0xed27=['/:id/status','status','put','update','accept','/:id/reject','reject','delete','destroy','exports','multer','util','path','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','./smsMessage.controller','get','isAuthenticated','index','/describe','describe','/:id','show','smsmessage:create','create','post'];(function(_0x56b138,_0x2396d6){var _0x3df878=function(_0x4b3ccc){while(--_0x4b3ccc){_0x56b138['push'](_0x56b138['shift']());}};_0x3df878(++_0x2396d6);}(_0xed27,0x183));var _0x7ed2=function(_0xd75ceb,_0x40b50f){_0xd75ceb=_0xd75ceb-0x0;var _0xeef392=_0xed27[_0xd75ceb];return _0xeef392;};'use strict';var multer=require(_0x7ed2('0x0'));var util=require(_0x7ed2('0x1'));var path=require(_0x7ed2('0x2'));var timeout=require('connect-timeout');var express=require(_0x7ed2('0x3'));var router=express[_0x7ed2('0x4')]();var fs_extra=require(_0x7ed2('0x5'));var auth=require(_0x7ed2('0x6'));var interaction=require(_0x7ed2('0x7'));var config=require('../../config/environment');var controller=require(_0x7ed2('0x8'));router[_0x7ed2('0x9')]('/',auth[_0x7ed2('0xa')](),controller[_0x7ed2('0xb')]);router[_0x7ed2('0x9')](_0x7ed2('0xc'),auth[_0x7ed2('0xa')](),controller[_0x7ed2('0xd')]);router[_0x7ed2('0x9')](_0x7ed2('0xe'),auth['isAuthenticated'](),controller[_0x7ed2('0xf')]);router['post']('/',auth[_0x7ed2('0xa')](),interaction['tracked']('sms',_0x7ed2('0x10')),controller[_0x7ed2('0x11')]);router[_0x7ed2('0x12')](_0x7ed2('0x13'),controller[_0x7ed2('0x14')]);router[_0x7ed2('0x15')](_0x7ed2('0xe'),auth[_0x7ed2('0xa')](),controller[_0x7ed2('0x16')]);router['put']('/:id/accept',auth['isAuthenticated'](),controller[_0x7ed2('0x17')]);router[_0x7ed2('0x15')](_0x7ed2('0x18'),auth[_0x7ed2('0xa')](),controller[_0x7ed2('0x19')]);router[_0x7ed2('0x1a')](_0x7ed2('0xe'),auth['isAuthenticated'](),controller[_0x7ed2('0x1b')]);module[_0x7ed2('0x1c')]=router;
\ No newline at end of file