Built motion from commit 0900f080.|2.5.45
[motion2.git] / server / api / smsMessage / index.js
index 95dcf8e..ecb4c02 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x0dcc=['Router','../../components/auth/service','../../components/interaction/service','../../config/environment','get','isAuthenticated','/:id','post','tracked','sms','smsmessage:create','create','status','put','update','/:id/accept','accept','delete','destroy','exports','path','express'];(function(_0x1621ef,_0x321b4e){var _0x1269e3=function(_0x4cc666){while(--_0x4cc666){_0x1621ef['push'](_0x1621ef['shift']());}};_0x1269e3(++_0x321b4e);}(_0x0dcc,0x98));var _0xc0dc=function(_0x268669,_0x53b44d){_0x268669=_0x268669-0x0;var _0x13c3ad=_0x0dcc[_0x268669];return _0x13c3ad;};'use strict';var multer=require('multer');var util=require('util');var path=require(_0xc0dc('0x0'));var timeout=require('connect-timeout');var express=require(_0xc0dc('0x1'));var router=express[_0xc0dc('0x2')]();var auth=require(_0xc0dc('0x3'));var interaction=require(_0xc0dc('0x4'));var config=require(_0xc0dc('0x5'));var controller=require('./smsMessage.controller');router[_0xc0dc('0x6')]('/',auth[_0xc0dc('0x7')](),controller['index']);router[_0xc0dc('0x6')]('/describe',auth['isAuthenticated'](),controller['describe']);router[_0xc0dc('0x6')](_0xc0dc('0x8'),auth[_0xc0dc('0x7')](),controller['show']);router[_0xc0dc('0x9')]('/',auth['isAuthenticated'](),interaction[_0xc0dc('0xa')](_0xc0dc('0xb'),_0xc0dc('0xc')),controller[_0xc0dc('0xd')]);router['post']('/:id/status',controller[_0xc0dc('0xe')]);router[_0xc0dc('0xf')](_0xc0dc('0x8'),auth[_0xc0dc('0x7')](),controller[_0xc0dc('0x10')]);router[_0xc0dc('0xf')](_0xc0dc('0x11'),auth[_0xc0dc('0x7')](),controller[_0xc0dc('0x12')]);router[_0xc0dc('0xf')]('/:id/reject',auth['isAuthenticated'](),controller['reject']);router[_0xc0dc('0x13')](_0xc0dc('0x8'),auth['isAuthenticated'](),controller[_0xc0dc('0x14')]);module[_0xc0dc('0x15')]=router;
\ No newline at end of file
+var _0xc6c2=['put','/:id','update','accept','reject','delete','destroy','exports','multer','util','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../config/environment','get','isAuthenticated','index','/describe','post','sms','smsmessage:create','create','/:id/status','status'];(function(_0x167cc1,_0x56ef5a){var _0x10bc4b=function(_0xd6a255){while(--_0xd6a255){_0x167cc1['push'](_0x167cc1['shift']());}};_0x10bc4b(++_0x56ef5a);}(_0xc6c2,0xf2));var _0x2c6c=function(_0x4c6d6f,_0x291557){_0x4c6d6f=_0x4c6d6f-0x0;var _0x2d4478=_0xc6c2[_0x4c6d6f];return _0x2d4478;};'use strict';var multer=require(_0x2c6c('0x0'));var util=require(_0x2c6c('0x1'));var path=require('path');var timeout=require(_0x2c6c('0x2'));var express=require(_0x2c6c('0x3'));var router=express[_0x2c6c('0x4')]();var fs_extra=require(_0x2c6c('0x5'));var auth=require(_0x2c6c('0x6'));var interaction=require('../../components/interaction/service');var config=require(_0x2c6c('0x7'));var controller=require('./smsMessage.controller');router[_0x2c6c('0x8')]('/',auth[_0x2c6c('0x9')](),controller[_0x2c6c('0xa')]);router[_0x2c6c('0x8')](_0x2c6c('0xb'),auth[_0x2c6c('0x9')](),controller['describe']);router[_0x2c6c('0x8')]('/:id',auth['isAuthenticated'](),controller['show']);router[_0x2c6c('0xc')]('/',auth[_0x2c6c('0x9')](),interaction['tracked'](_0x2c6c('0xd'),_0x2c6c('0xe')),controller[_0x2c6c('0xf')]);router[_0x2c6c('0xc')](_0x2c6c('0x10'),controller[_0x2c6c('0x11')]);router[_0x2c6c('0x12')](_0x2c6c('0x13'),auth[_0x2c6c('0x9')](),controller[_0x2c6c('0x14')]);router['put']('/:id/accept',auth[_0x2c6c('0x9')](),controller[_0x2c6c('0x15')]);router['put']('/:id/reject',auth[_0x2c6c('0x9')](),controller[_0x2c6c('0x16')]);router[_0x2c6c('0x17')](_0x2c6c('0x13'),auth[_0x2c6c('0x9')](),controller[_0x2c6c('0x18')]);module[_0x2c6c('0x19')]=router;
\ No newline at end of file