Built motion from commit ddca4d0d.|2.5.47
[motion2.git] / server / api / smsInteraction / index.js
index f7ddb72..df872db 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x2210=['post','/:id/messages','addMessage','/:id/tags','sms','smsinteraction:addtags','put','/:id','tracked','smsinteraction:update','smsinteraction:destroy','destroy','delete','exports','multer','util','path','Router','../../components/auth/service','../../components/interaction/service','./smsInteraction.controller','get','index','isAuthenticated','describe','getMessages','/:id/download'];(function(_0x301200,_0x149e5e){var _0x26e3f2=function(_0x28b794){while(--_0x28b794){_0x301200['push'](_0x301200['shift']());}};_0x26e3f2(++_0x149e5e);}(_0x2210,0x1f4));var _0x0221=function(_0x4243a3,_0x447337){_0x4243a3=_0x4243a3-0x0;var _0x1b2a33=_0x2210[_0x4243a3];return _0x1b2a33;};'use strict';var multer=require(_0x0221('0x0'));var util=require(_0x0221('0x1'));var path=require(_0x0221('0x2'));var timeout=require('connect-timeout');var express=require('express');var router=express[_0x0221('0x3')]();var auth=require(_0x0221('0x4'));var interaction=require(_0x0221('0x5'));var config=require('../../config/environment');var controller=require(_0x0221('0x6'));router[_0x0221('0x7')]('/',auth['isAuthenticated'](),controller[_0x0221('0x8')]);router['get']('/describe',auth[_0x0221('0x9')](),controller[_0x0221('0xa')]);router['get']('/:id',auth[_0x0221('0x9')](),controller['show']);router[_0x0221('0x7')]('/:id/messages',auth[_0x0221('0x9')](),controller[_0x0221('0xb')]);router[_0x0221('0x7')](_0x0221('0xc'),auth['isAuthenticated'](),controller['download']);router[_0x0221('0xd')]('/',auth[_0x0221('0x9')](),controller['create']);router[_0x0221('0xd')](_0x0221('0xe'),auth['isAuthenticated'](),controller[_0x0221('0xf')]);router[_0x0221('0xd')](_0x0221('0x10'),auth[_0x0221('0x9')](),interaction['tracked'](_0x0221('0x11'),_0x0221('0x12')),controller['addTags']);router[_0x0221('0x13')](_0x0221('0x14'),auth[_0x0221('0x9')](),interaction[_0x0221('0x15')]('sms',_0x0221('0x16')),controller['update']);router['delete']('/:id',auth[_0x0221('0x9')](),interaction[_0x0221('0x15')](_0x0221('0x11'),_0x0221('0x17')),controller[_0x0221('0x18')]);router[_0x0221('0x19')](_0x0221('0x10'),auth[_0x0221('0x9')](),controller['removeTags']);module[_0x0221('0x1a')]=router;
\ No newline at end of file
+var _0xf7b4=['/describe','describe','/:id','show','getMessages','/:id/download','post','/:id/messages','addMessage','/:id/tags','tracked','sms','smsinteraction:addtags','addTags','put','smsinteraction:update','delete','destroy','exports','multer','connect-timeout','express','../../components/auth/service','../../components/interaction/service','../../config/environment','./smsInteraction.controller','get','isAuthenticated','index'];(function(_0x525a35,_0x53ccf7){var _0x113966=function(_0x54bafc){while(--_0x54bafc){_0x525a35['push'](_0x525a35['shift']());}};_0x113966(++_0x53ccf7);}(_0xf7b4,0x152));var _0x4f7b=function(_0x3cc4e0,_0x384674){_0x3cc4e0=_0x3cc4e0-0x0;var _0x80f02=_0xf7b4[_0x3cc4e0];return _0x80f02;};'use strict';var multer=require(_0x4f7b('0x0'));var util=require('util');var path=require('path');var timeout=require(_0x4f7b('0x1'));var express=require(_0x4f7b('0x2'));var router=express['Router']();var fs_extra=require('fs-extra');var auth=require(_0x4f7b('0x3'));var interaction=require(_0x4f7b('0x4'));var config=require(_0x4f7b('0x5'));var controller=require(_0x4f7b('0x6'));router[_0x4f7b('0x7')]('/',auth[_0x4f7b('0x8')](),controller[_0x4f7b('0x9')]);router[_0x4f7b('0x7')](_0x4f7b('0xa'),auth[_0x4f7b('0x8')](),controller[_0x4f7b('0xb')]);router[_0x4f7b('0x7')](_0x4f7b('0xc'),auth['isAuthenticated'](),controller[_0x4f7b('0xd')]);router[_0x4f7b('0x7')]('/:id/messages',auth[_0x4f7b('0x8')](),controller[_0x4f7b('0xe')]);router[_0x4f7b('0x7')](_0x4f7b('0xf'),auth[_0x4f7b('0x8')](),controller['download']);router[_0x4f7b('0x10')]('/',auth['isAuthenticated'](),controller['create']);router[_0x4f7b('0x10')](_0x4f7b('0x11'),auth[_0x4f7b('0x8')](),controller[_0x4f7b('0x12')]);router['post'](_0x4f7b('0x13'),auth[_0x4f7b('0x8')](),interaction[_0x4f7b('0x14')](_0x4f7b('0x15'),_0x4f7b('0x16')),controller[_0x4f7b('0x17')]);router[_0x4f7b('0x18')](_0x4f7b('0xc'),auth[_0x4f7b('0x8')](),interaction[_0x4f7b('0x14')](_0x4f7b('0x15'),_0x4f7b('0x19')),controller['update']);router[_0x4f7b('0x1a')]('/:id',auth['isAuthenticated'](),interaction[_0x4f7b('0x14')](_0x4f7b('0x15'),'smsinteraction:destroy'),controller[_0x4f7b('0x1b')]);router[_0x4f7b('0x1a')](_0x4f7b('0x13'),auth[_0x4f7b('0x8')](),controller['removeTags']);module[_0x4f7b('0x1c')]=router;
\ No newline at end of file