Built motion from commit 9d0783e6.|2.6.13
[motion2.git] / server / api / smsMessage / index.js
index c109c74..bb70574 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xdceb=['status','update','/:id/accept','accept','put','/:id/reject','reject','exports','path','connect-timeout','Router','./smsMessage.controller','isAuthenticated','index','get','/describe','describe','/:id','show','tracked','smsmessage:create','post','/:id/status'];(function(_0x4b369d,_0x265eb8){var _0x571a98=function(_0x56341a){while(--_0x56341a){_0x4b369d['push'](_0x4b369d['shift']());}};_0x571a98(++_0x265eb8);}(_0xdceb,0x178));var _0xbdce=function(_0x5d2a1d,_0x4a62d7){_0x5d2a1d=_0x5d2a1d-0x0;var _0x553e2f=_0xdceb[_0x5d2a1d];return _0x553e2f;};'use strict';var multer=require('multer');var util=require('util');var path=require(_0xbdce('0x0'));var timeout=require(_0xbdce('0x1'));var express=require('express');var router=express[_0xbdce('0x2')]();var auth=require('../../components/auth/service');var interaction=require('../../components/interaction/service');var config=require('../../config/environment');var controller=require(_0xbdce('0x3'));router['get']('/',auth[_0xbdce('0x4')](),controller[_0xbdce('0x5')]);router[_0xbdce('0x6')](_0xbdce('0x7'),auth[_0xbdce('0x4')](),controller[_0xbdce('0x8')]);router[_0xbdce('0x6')](_0xbdce('0x9'),auth['isAuthenticated'](),controller[_0xbdce('0xa')]);router['post']('/',auth[_0xbdce('0x4')](),interaction[_0xbdce('0xb')]('sms',_0xbdce('0xc')),controller['create']);router[_0xbdce('0xd')](_0xbdce('0xe'),controller[_0xbdce('0xf')]);router['put'](_0xbdce('0x9'),auth['isAuthenticated'](),controller[_0xbdce('0x10')]);router['put'](_0xbdce('0x11'),auth['isAuthenticated'](),controller[_0xbdce('0x12')]);router[_0xbdce('0x13')](_0xbdce('0x14'),auth[_0xbdce('0x4')](),controller[_0xbdce('0x15')]);router['delete'](_0xbdce('0x9'),auth[_0xbdce('0x4')](),controller['destroy']);module[_0xbdce('0x16')]=router;
\ No newline at end of file
+var _0x0c4f=['/describe','/:id','show','tracked','sms','smsmessage:create','create','post','/:id/status','put','update','/:id/accept','accept','/:id/reject','delete','destroy','exports','multer','util','path','Router','fs-extra','../../components/auth/service','../../components/interaction/service','./smsMessage.controller','get','isAuthenticated','index'];(function(_0x5f0089,_0x227e2c){var _0x193892=function(_0x24051f){while(--_0x24051f){_0x5f0089['push'](_0x5f0089['shift']());}};_0x193892(++_0x227e2c);}(_0x0c4f,0x199));var _0xf0c4=function(_0x467488,_0x38c7ae){_0x467488=_0x467488-0x0;var _0x56107f=_0x0c4f[_0x467488];return _0x56107f;};'use strict';var multer=require(_0xf0c4('0x0'));var util=require(_0xf0c4('0x1'));var path=require(_0xf0c4('0x2'));var timeout=require('connect-timeout');var express=require('express');var router=express[_0xf0c4('0x3')]();var fs_extra=require(_0xf0c4('0x4'));var auth=require(_0xf0c4('0x5'));var interaction=require(_0xf0c4('0x6'));var config=require('../../config/environment');var controller=require(_0xf0c4('0x7'));router[_0xf0c4('0x8')]('/',auth[_0xf0c4('0x9')](),controller[_0xf0c4('0xa')]);router[_0xf0c4('0x8')](_0xf0c4('0xb'),auth[_0xf0c4('0x9')](),controller['describe']);router[_0xf0c4('0x8')](_0xf0c4('0xc'),auth['isAuthenticated'](),controller[_0xf0c4('0xd')]);router['post']('/',auth[_0xf0c4('0x9')](),interaction[_0xf0c4('0xe')](_0xf0c4('0xf'),_0xf0c4('0x10')),controller[_0xf0c4('0x11')]);router[_0xf0c4('0x12')](_0xf0c4('0x13'),controller['status']);router[_0xf0c4('0x14')]('/:id',auth[_0xf0c4('0x9')](),controller[_0xf0c4('0x15')]);router[_0xf0c4('0x14')](_0xf0c4('0x16'),auth[_0xf0c4('0x9')](),controller[_0xf0c4('0x17')]);router[_0xf0c4('0x14')](_0xf0c4('0x18'),auth[_0xf0c4('0x9')](),controller['reject']);router[_0xf0c4('0x19')](_0xf0c4('0xc'),auth['isAuthenticated'](),controller[_0xf0c4('0x1a')]);module[_0xf0c4('0x1b')]=router;
\ No newline at end of file