Built motion from commit 6a09e18b.|2.6.11
[motion2.git] / server / api / smsMessage / index.js
index 06e1987..4d504fd 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xf0b5=['get','isAuthenticated','index','/describe','/:id','show','post','tracked','sms','smsmessage:create','create','/:id/status','status','put','update','/:id/accept','/:id/reject','delete','destroy','exports','util','connect-timeout','express','Router','fs-extra','../../config/environment'];(function(_0x41bbd7,_0x3041f8){var _0x116b13=function(_0x411319){while(--_0x411319){_0x41bbd7['push'](_0x41bbd7['shift']());}};_0x116b13(++_0x3041f8);}(_0xf0b5,0x19a));var _0x5f0b=function(_0x198e29,_0x3b8474){_0x198e29=_0x198e29-0x0;var _0x10ccb3=_0xf0b5[_0x198e29];return _0x10ccb3;};'use strict';var multer=require('multer');var util=require(_0x5f0b('0x0'));var path=require('path');var timeout=require(_0x5f0b('0x1'));var express=require(_0x5f0b('0x2'));var router=express[_0x5f0b('0x3')]();var fs_extra=require(_0x5f0b('0x4'));var auth=require('../../components/auth/service');var interaction=require('../../components/interaction/service');var config=require(_0x5f0b('0x5'));var controller=require('./smsMessage.controller');router[_0x5f0b('0x6')]('/',auth[_0x5f0b('0x7')](),controller[_0x5f0b('0x8')]);router[_0x5f0b('0x6')](_0x5f0b('0x9'),auth[_0x5f0b('0x7')](),controller['describe']);router[_0x5f0b('0x6')](_0x5f0b('0xa'),auth[_0x5f0b('0x7')](),controller[_0x5f0b('0xb')]);router[_0x5f0b('0xc')]('/',auth[_0x5f0b('0x7')](),interaction[_0x5f0b('0xd')](_0x5f0b('0xe'),_0x5f0b('0xf')),controller[_0x5f0b('0x10')]);router['post'](_0x5f0b('0x11'),controller[_0x5f0b('0x12')]);router[_0x5f0b('0x13')](_0x5f0b('0xa'),auth[_0x5f0b('0x7')](),controller[_0x5f0b('0x14')]);router[_0x5f0b('0x13')](_0x5f0b('0x15'),auth[_0x5f0b('0x7')](),controller['accept']);router[_0x5f0b('0x13')](_0x5f0b('0x16'),auth['isAuthenticated'](),controller['reject']);router[_0x5f0b('0x17')]('/:id',auth['isAuthenticated'](),controller[_0x5f0b('0x18')]);module[_0x5f0b('0x19')]=router;
\ No newline at end of file
+var _0x22f3=['../../config/environment','get','index','/describe','describe','/:id','isAuthenticated','show','post','tracked','sms','smsmessage:create','create','/:id/status','status','put','update','accept','/:id/reject','reject','delete','destroy','multer','util','path','connect-timeout','express','fs-extra','../../components/interaction/service'];(function(_0x289e47,_0x236017){var _0xcd70a2=function(_0x3b2087){while(--_0x3b2087){_0x289e47['push'](_0x289e47['shift']());}};_0xcd70a2(++_0x236017);}(_0x22f3,0x155));var _0x322f=function(_0x574b4d,_0x3b6ffb){_0x574b4d=_0x574b4d-0x0;var _0x467a23=_0x22f3[_0x574b4d];return _0x467a23;};'use strict';var multer=require(_0x322f('0x0'));var util=require(_0x322f('0x1'));var path=require(_0x322f('0x2'));var timeout=require(_0x322f('0x3'));var express=require(_0x322f('0x4'));var router=express['Router']();var fs_extra=require(_0x322f('0x5'));var auth=require('../../components/auth/service');var interaction=require(_0x322f('0x6'));var config=require(_0x322f('0x7'));var controller=require('./smsMessage.controller');router[_0x322f('0x8')]('/',auth['isAuthenticated'](),controller[_0x322f('0x9')]);router['get'](_0x322f('0xa'),auth['isAuthenticated'](),controller[_0x322f('0xb')]);router[_0x322f('0x8')](_0x322f('0xc'),auth[_0x322f('0xd')](),controller[_0x322f('0xe')]);router[_0x322f('0xf')]('/',auth[_0x322f('0xd')](),interaction[_0x322f('0x10')](_0x322f('0x11'),_0x322f('0x12')),controller[_0x322f('0x13')]);router['post'](_0x322f('0x14'),controller[_0x322f('0x15')]);router[_0x322f('0x16')](_0x322f('0xc'),auth[_0x322f('0xd')](),controller[_0x322f('0x17')]);router[_0x322f('0x16')]('/:id/accept',auth[_0x322f('0xd')](),controller[_0x322f('0x18')]);router[_0x322f('0x16')](_0x322f('0x19'),auth[_0x322f('0xd')](),controller[_0x322f('0x1a')]);router[_0x322f('0x1b')](_0x322f('0xc'),auth['isAuthenticated'](),controller[_0x322f('0x1c')]);module['exports']=router;
\ No newline at end of file