Built motion from commit eddce310.|2.6.12
[motion2.git] / server / api / smsMessage / index.js
index 5b78556..670a315 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x02a4=['create','/:id/status','status','put','/:id','update','/:id/reject','reject','destroy','multer','util','path','connect-timeout','express','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./smsMessage.controller','isAuthenticated','index','get','/describe','describe','show','post','tracked','sms','smsmessage:create'];(function(_0xe5ff56,_0x4b8d84){var _0x42c2e8=function(_0x8b5913){while(--_0x8b5913){_0xe5ff56['push'](_0xe5ff56['shift']());}};_0x42c2e8(++_0x4b8d84);}(_0x02a4,0x7d));var _0x402a=function(_0x4e71a0,_0xfe895a){_0x4e71a0=_0x4e71a0-0x0;var _0x302f7b=_0x02a4[_0x4e71a0];return _0x302f7b;};'use strict';var multer=require(_0x402a('0x0'));var util=require(_0x402a('0x1'));var path=require(_0x402a('0x2'));var timeout=require(_0x402a('0x3'));var express=require(_0x402a('0x4'));var router=express['Router']();var fs_extra=require(_0x402a('0x5'));var auth=require(_0x402a('0x6'));var interaction=require(_0x402a('0x7'));var config=require(_0x402a('0x8'));var controller=require(_0x402a('0x9'));router['get']('/',auth[_0x402a('0xa')](),controller[_0x402a('0xb')]);router[_0x402a('0xc')](_0x402a('0xd'),auth[_0x402a('0xa')](),controller[_0x402a('0xe')]);router[_0x402a('0xc')]('/:id',auth[_0x402a('0xa')](),controller[_0x402a('0xf')]);router[_0x402a('0x10')]('/',auth['isAuthenticated'](),interaction[_0x402a('0x11')](_0x402a('0x12'),_0x402a('0x13')),controller[_0x402a('0x14')]);router[_0x402a('0x10')](_0x402a('0x15'),controller[_0x402a('0x16')]);router[_0x402a('0x17')](_0x402a('0x18'),auth[_0x402a('0xa')](),controller[_0x402a('0x19')]);router[_0x402a('0x17')]('/:id/accept',auth[_0x402a('0xa')](),controller['accept']);router[_0x402a('0x17')](_0x402a('0x1a'),auth['isAuthenticated'](),controller[_0x402a('0x1b')]);router['delete']('/:id',auth[_0x402a('0xa')](),controller[_0x402a('0x1c')]);module['exports']=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