Built motion from commit ddca4d0d.|2.5.47
[motion2.git] / server / api / smsInteraction / index.js
index d949df9..df872db 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x18c3=['path','connect-timeout','../../components/auth/service','../../config/environment','isAuthenticated','/describe','describe','show','/:id/messages','getMessages','get','/:id/download','download','post','create','addMessage','tracked','sms','addTags','/:id','smsinteraction:update','update','delete','smsinteraction:destroy','/:id/tags','removeTags','exports','util'];(function(_0x1ef5ee,_0x3bbf27){var _0x477373=function(_0x32ecde){while(--_0x32ecde){_0x1ef5ee['push'](_0x1ef5ee['shift']());}};_0x477373(++_0x3bbf27);}(_0x18c3,0x1bf));var _0x318c=function(_0x1fb0cb,_0x41ccc4){_0x1fb0cb=_0x1fb0cb-0x0;var _0x4c76a4=_0x18c3[_0x1fb0cb];return _0x4c76a4;};'use strict';var multer=require('multer');var util=require(_0x318c('0x0'));var path=require(_0x318c('0x1'));var timeout=require(_0x318c('0x2'));var express=require('express');var router=express['Router']();var auth=require(_0x318c('0x3'));var interaction=require('../../components/interaction/service');var config=require(_0x318c('0x4'));var controller=require('./smsInteraction.controller');router['get']('/',auth[_0x318c('0x5')](),controller['index']);router['get'](_0x318c('0x6'),auth[_0x318c('0x5')](),controller[_0x318c('0x7')]);router['get']('/:id',auth[_0x318c('0x5')](),controller[_0x318c('0x8')]);router['get'](_0x318c('0x9'),auth[_0x318c('0x5')](),controller[_0x318c('0xa')]);router[_0x318c('0xb')](_0x318c('0xc'),auth[_0x318c('0x5')](),controller[_0x318c('0xd')]);router[_0x318c('0xe')]('/',auth[_0x318c('0x5')](),controller[_0x318c('0xf')]);router[_0x318c('0xe')](_0x318c('0x9'),auth[_0x318c('0x5')](),controller[_0x318c('0x10')]);router['post']('/:id/tags',auth[_0x318c('0x5')](),interaction[_0x318c('0x11')](_0x318c('0x12'),'smsinteraction:addtags'),controller[_0x318c('0x13')]);router['put'](_0x318c('0x14'),auth['isAuthenticated'](),interaction[_0x318c('0x11')](_0x318c('0x12'),_0x318c('0x15')),controller[_0x318c('0x16')]);router[_0x318c('0x17')]('/:id',auth['isAuthenticated'](),interaction[_0x318c('0x11')](_0x318c('0x12'),_0x318c('0x18')),controller['destroy']);router[_0x318c('0x17')](_0x318c('0x19'),auth[_0x318c('0x5')](),controller[_0x318c('0x1a')]);module[_0x318c('0x1b')]=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