X-Git-Url: http://repos.xcallymotion.com/?a=blobdiff_plain;f=server%2Fapi%2FsmsMessage%2Findex.js;h=1858c3b29bc96346a8e7fa332116e2fef6a78df8;hb=d0e53397894213749637bb93a101e4fc9544eaa3;hp=92435c4125ca38c4e3372fd6f5ed0a8af5d6b56e;hpb=877636f71ea4e4a4bfc9f2950f78c09e94a43e10;p=motion2.git diff --git a/server/api/smsMessage/index.js b/server/api/smsMessage/index.js index 92435c4..1858c3b 100644 --- a/server/api/smsMessage/index.js +++ b/server/api/smsMessage/index.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x6c4a=['describe','show','post','tracked','smsmessage:create','create','/:id/status','/:id','update','put','/:id/accept','/:id/reject','reject','destroy','exports','multer','path','connect-timeout','Router','../../components/interaction/service','../../config/environment','./smsMessage.controller','get','index','/describe','isAuthenticated'];(function(_0x55a08d,_0x533d95){var _0x259f14=function(_0x28a48c){while(--_0x28a48c){_0x55a08d['push'](_0x55a08d['shift']());}};_0x259f14(++_0x533d95);}(_0x6c4a,0x1e3));var _0xa6c4=function(_0x2518e4,_0x19029b){_0x2518e4=_0x2518e4-0x0;var _0x1d3326=_0x6c4a[_0x2518e4];return _0x1d3326;};'use strict';var multer=require(_0xa6c4('0x0'));var util=require('util');var path=require(_0xa6c4('0x1'));var timeout=require(_0xa6c4('0x2'));var express=require('express');var router=express[_0xa6c4('0x3')]();var auth=require('../../components/auth/service');var interaction=require(_0xa6c4('0x4'));var config=require(_0xa6c4('0x5'));var controller=require(_0xa6c4('0x6'));router[_0xa6c4('0x7')]('/',auth['isAuthenticated'](),controller[_0xa6c4('0x8')]);router['get'](_0xa6c4('0x9'),auth[_0xa6c4('0xa')](),controller[_0xa6c4('0xb')]);router[_0xa6c4('0x7')]('/:id',auth[_0xa6c4('0xa')](),controller[_0xa6c4('0xc')]);router[_0xa6c4('0xd')]('/',auth['isAuthenticated'](),interaction[_0xa6c4('0xe')]('sms',_0xa6c4('0xf')),controller[_0xa6c4('0x10')]);router['post'](_0xa6c4('0x11'),controller['status']);router['put'](_0xa6c4('0x12'),auth['isAuthenticated'](),controller[_0xa6c4('0x13')]);router[_0xa6c4('0x14')](_0xa6c4('0x15'),auth[_0xa6c4('0xa')](),controller['accept']);router[_0xa6c4('0x14')](_0xa6c4('0x16'),auth[_0xa6c4('0xa')](),controller[_0xa6c4('0x17')]);router['delete'](_0xa6c4('0x12'),auth['isAuthenticated'](),controller[_0xa6c4('0x18')]);module[_0xa6c4('0x19')]=router; \ No newline at end of file +var _0xfbee=['/:id','show','post','tracked','sms','smsmessage:create','create','status','update','put','/:id/accept','accept','/:id/reject','reject','destroy','multer','util','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','isAuthenticated','index','get','/describe','describe'];(function(_0xc57f7b,_0x245c94){var _0x1a6cb2=function(_0x3049ff){while(--_0x3049ff){_0xc57f7b['push'](_0xc57f7b['shift']());}};_0x1a6cb2(++_0x245c94);}(_0xfbee,0xb1));var _0xefbe=function(_0x14c552,_0x9a0dee){_0x14c552=_0x14c552-0x0;var _0x29dbef=_0xfbee[_0x14c552];return _0x29dbef;};'use strict';var multer=require(_0xefbe('0x0'));var util=require(_0xefbe('0x1'));var path=require('path');var timeout=require('connect-timeout');var express=require(_0xefbe('0x2'));var router=express[_0xefbe('0x3')]();var auth=require(_0xefbe('0x4'));var interaction=require(_0xefbe('0x5'));var config=require(_0xefbe('0x6'));var controller=require('./smsMessage.controller');router['get']('/',auth[_0xefbe('0x7')](),controller[_0xefbe('0x8')]);router[_0xefbe('0x9')](_0xefbe('0xa'),auth[_0xefbe('0x7')](),controller[_0xefbe('0xb')]);router[_0xefbe('0x9')](_0xefbe('0xc'),auth[_0xefbe('0x7')](),controller[_0xefbe('0xd')]);router[_0xefbe('0xe')]('/',auth[_0xefbe('0x7')](),interaction[_0xefbe('0xf')](_0xefbe('0x10'),_0xefbe('0x11')),controller[_0xefbe('0x12')]);router[_0xefbe('0xe')]('/:id/status',controller[_0xefbe('0x13')]);router['put'](_0xefbe('0xc'),auth[_0xefbe('0x7')](),controller[_0xefbe('0x14')]);router[_0xefbe('0x15')](_0xefbe('0x16'),auth[_0xefbe('0x7')](),controller[_0xefbe('0x17')]);router[_0xefbe('0x15')](_0xefbe('0x18'),auth['isAuthenticated'](),controller[_0xefbe('0x19')]);router['delete'](_0xefbe('0xc'),auth[_0xefbe('0x7')](),controller[_0xefbe('0x1a')]);module['exports']=router; \ No newline at end of file