Built motion from commit 52c8a02d.|2.6.29
[motion2.git] / server / api / smsMessage / index.js
index 9ce7542..7c3f1bf 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 _0x536f=['../../components/auth/service','../../components/interaction/service','./smsMessage.controller','isAuthenticated','index','get','describe','/:id','tracked','create','post','/:id/status','status','put','/:id/accept','accept','/:id/reject','reject','delete','destroy','multer','Router','fs-extra'];(function(_0x42cae2,_0x284ef8){var _0x5f256f=function(_0x41abc8){while(--_0x41abc8){_0x42cae2['push'](_0x42cae2['shift']());}};_0x5f256f(++_0x284ef8);}(_0x536f,0x70));var _0xf536=function(_0x321bb2,_0x202794){_0x321bb2=_0x321bb2-0x0;var _0x9c12ed=_0x536f[_0x321bb2];return _0x9c12ed;};'use strict';var multer=require(_0xf536('0x0'));var util=require('util');var path=require('path');var timeout=require('connect-timeout');var express=require('express');var router=express[_0xf536('0x1')]();var fs_extra=require(_0xf536('0x2'));var auth=require(_0xf536('0x3'));var interaction=require(_0xf536('0x4'));var config=require('../../config/environment');var controller=require(_0xf536('0x5'));router['get']('/',auth[_0xf536('0x6')](),controller[_0xf536('0x7')]);router[_0xf536('0x8')]('/describe',auth['isAuthenticated'](),controller[_0xf536('0x9')]);router[_0xf536('0x8')](_0xf536('0xa'),auth[_0xf536('0x6')](),controller['show']);router['post']('/',auth[_0xf536('0x6')](),interaction[_0xf536('0xb')]('sms','smsmessage:create'),controller[_0xf536('0xc')]);router[_0xf536('0xd')](_0xf536('0xe'),controller[_0xf536('0xf')]);router[_0xf536('0x10')]('/:id',auth[_0xf536('0x6')](),controller['update']);router[_0xf536('0x10')](_0xf536('0x11'),auth[_0xf536('0x6')](),controller[_0xf536('0x12')]);router[_0xf536('0x10')](_0xf536('0x13'),auth[_0xf536('0x6')](),controller[_0xf536('0x14')]);router[_0xf536('0x15')](_0xf536('0xa'),auth[_0xf536('0x6')](),controller[_0xf536('0x16')]);module['exports']=router;
\ No newline at end of file