Built motion from commit 85328c08.|2.5.50
[motion2.git] / server / api / smsMessage / index.js
index 9ce7542..98b8d8e 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xbcc2=['Router','../../components/interaction/service','../../config/environment','./smsMessage.controller','get','index','/describe','isAuthenticated','describe','/:id','show','post','sms','smsmessage:create','/:id/status','status','put','/:id/accept','accept','reject','destroy','exports','multer','path','express'];(function(_0x221bc0,_0x157147){var _0x1f1ac6=function(_0x524fe3){while(--_0x524fe3){_0x221bc0['push'](_0x221bc0['shift']());}};_0x1f1ac6(++_0x157147);}(_0xbcc2,0x93));var _0x2bcc=function(_0x22dd52,_0x4c3ec9){_0x22dd52=_0x22dd52-0x0;var _0x1bbfd8=_0xbcc2[_0x22dd52];return _0x1bbfd8;};'use strict';var multer=require(_0x2bcc('0x0'));var util=require('util');var path=require(_0x2bcc('0x1'));var timeout=require('connect-timeout');var express=require(_0x2bcc('0x2'));var router=express[_0x2bcc('0x3')]();var fs_extra=require('fs-extra');var auth=require('../../components/auth/service');var interaction=require(_0x2bcc('0x4'));var config=require(_0x2bcc('0x5'));var controller=require(_0x2bcc('0x6'));router[_0x2bcc('0x7')]('/',auth['isAuthenticated'](),controller[_0x2bcc('0x8')]);router[_0x2bcc('0x7')](_0x2bcc('0x9'),auth[_0x2bcc('0xa')](),controller[_0x2bcc('0xb')]);router['get'](_0x2bcc('0xc'),auth[_0x2bcc('0xa')](),controller[_0x2bcc('0xd')]);router[_0x2bcc('0xe')]('/',auth[_0x2bcc('0xa')](),interaction['tracked'](_0x2bcc('0xf'),_0x2bcc('0x10')),controller['create']);router['post'](_0x2bcc('0x11'),controller[_0x2bcc('0x12')]);router[_0x2bcc('0x13')]('/:id',auth[_0x2bcc('0xa')](),controller['update']);router[_0x2bcc('0x13')](_0x2bcc('0x14'),auth[_0x2bcc('0xa')](),controller[_0x2bcc('0x15')]);router['put']('/:id/reject',auth[_0x2bcc('0xa')](),controller[_0x2bcc('0x16')]);router['delete'](_0x2bcc('0xc'),auth[_0x2bcc('0xa')](),controller[_0x2bcc('0x17')]);module[_0x2bcc('0x18')]=router;
\ No newline at end of file
+var _0xa3b9=['reject','delete','exports','multer','util','path','connect-timeout','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','get','index','/describe','isAuthenticated','describe','/:id','show','tracked','smsmessage:create','post','status','put','update','accept','/:id/reject'];(function(_0xf6433f,_0x23cf95){var _0x5085bf=function(_0x3d69fd){while(--_0x3d69fd){_0xf6433f['push'](_0xf6433f['shift']());}};_0x5085bf(++_0x23cf95);}(_0xa3b9,0x6b));var _0x9a3b=function(_0x60a3cc,_0x5cb5e4){_0x60a3cc=_0x60a3cc-0x0;var _0x57db5e=_0xa3b9[_0x60a3cc];return _0x57db5e;};'use strict';var multer=require(_0x9a3b('0x0'));var util=require(_0x9a3b('0x1'));var path=require(_0x9a3b('0x2'));var timeout=require(_0x9a3b('0x3'));var express=require('express');var router=express['Router']();var fs_extra=require(_0x9a3b('0x4'));var auth=require(_0x9a3b('0x5'));var interaction=require(_0x9a3b('0x6'));var config=require(_0x9a3b('0x7'));var controller=require('./smsMessage.controller');router[_0x9a3b('0x8')]('/',auth['isAuthenticated'](),controller[_0x9a3b('0x9')]);router[_0x9a3b('0x8')](_0x9a3b('0xa'),auth[_0x9a3b('0xb')](),controller[_0x9a3b('0xc')]);router[_0x9a3b('0x8')](_0x9a3b('0xd'),auth[_0x9a3b('0xb')](),controller[_0x9a3b('0xe')]);router['post']('/',auth['isAuthenticated'](),interaction[_0x9a3b('0xf')]('sms',_0x9a3b('0x10')),controller['create']);router[_0x9a3b('0x11')]('/:id/status',controller[_0x9a3b('0x12')]);router[_0x9a3b('0x13')](_0x9a3b('0xd'),auth[_0x9a3b('0xb')](),controller[_0x9a3b('0x14')]);router['put']('/:id/accept',auth[_0x9a3b('0xb')](),controller[_0x9a3b('0x15')]);router[_0x9a3b('0x13')](_0x9a3b('0x16'),auth[_0x9a3b('0xb')](),controller[_0x9a3b('0x17')]);router[_0x9a3b('0x18')](_0x9a3b('0xd'),auth[_0x9a3b('0xb')](),controller['destroy']);module[_0x9a3b('0x19')]=router;
\ No newline at end of file