Built motion from commit (unavailable).|2.4.0
[motion2.git] / server / api / smsInteraction / index.js
index e8f9d2c..c52b13f 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xf53e=['/describe','describe','/:id','/:id/messages','getMessages','download','post','create','/:id/tags','tracked','sms','smsinteraction:addtags','addTags','put','smsinteraction:update','update','smsinteraction:destroy','delete','exports','multer','util','path','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','get','isAuthenticated'];(function(_0x2ca8c7,_0x27750e){var _0x581f26=function(_0x4aa781){while(--_0x4aa781){_0x2ca8c7['push'](_0x2ca8c7['shift']());}};_0x581f26(++_0x27750e);}(_0xf53e,0x13f));var _0xef53=function(_0x14add3,_0x13ce8d){_0x14add3=_0x14add3-0x0;var _0x4a174f=_0xf53e[_0x14add3];return _0x4a174f;};'use strict';var multer=require(_0xef53('0x0'));var util=require(_0xef53('0x1'));var path=require(_0xef53('0x2'));var timeout=require(_0xef53('0x3'));var express=require(_0xef53('0x4'));var router=express[_0xef53('0x5')]();var auth=require(_0xef53('0x6'));var interaction=require(_0xef53('0x7'));var config=require(_0xef53('0x8'));var controller=require('./smsInteraction.controller');router[_0xef53('0x9')]('/',auth[_0xef53('0xa')](),controller['index']);router[_0xef53('0x9')](_0xef53('0xb'),auth[_0xef53('0xa')](),controller[_0xef53('0xc')]);router['get'](_0xef53('0xd'),auth[_0xef53('0xa')](),controller['show']);router[_0xef53('0x9')](_0xef53('0xe'),auth['isAuthenticated'](),controller[_0xef53('0xf')]);router[_0xef53('0x9')]('/:id/download',auth['isAuthenticated'](),controller[_0xef53('0x10')]);router[_0xef53('0x11')]('/',auth[_0xef53('0xa')](),controller[_0xef53('0x12')]);router[_0xef53('0x11')](_0xef53('0xe'),auth['isAuthenticated'](),controller['addMessage']);router[_0xef53('0x11')](_0xef53('0x13'),auth[_0xef53('0xa')](),interaction[_0xef53('0x14')](_0xef53('0x15'),_0xef53('0x16')),controller[_0xef53('0x17')]);router[_0xef53('0x18')](_0xef53('0xd'),auth[_0xef53('0xa')](),interaction[_0xef53('0x14')](_0xef53('0x15'),_0xef53('0x19')),controller[_0xef53('0x1a')]);router['delete'](_0xef53('0xd'),auth[_0xef53('0xa')](),interaction[_0xef53('0x14')](_0xef53('0x15'),_0xef53('0x1b')),controller['destroy']);router[_0xef53('0x1c')](_0xef53('0x13'),auth[_0xef53('0xa')](),controller['removeTags']);module[_0xef53('0x1d')]=router;
\ No newline at end of file
+var _0x1baa=['isAuthenticated','index','describe','show','/:id/messages','getMessages','download','create','post','addMessage','tracked','sms','smsinteraction:addtags','put','/:id','smsinteraction:destroy','destroy','delete','/:id/tags','removeTags','exports','multer','util','connect-timeout','express','Router','../../config/environment','get'];(function(_0x37c22c,_0x28a70d){var _0x119d79=function(_0x243a13){while(--_0x243a13){_0x37c22c['push'](_0x37c22c['shift']());}};_0x119d79(++_0x28a70d);}(_0x1baa,0x111));var _0xa1ba=function(_0x19e35c,_0x29cd1e){_0x19e35c=_0x19e35c-0x0;var _0x3e1fe8=_0x1baa[_0x19e35c];return _0x3e1fe8;};'use strict';var multer=require(_0xa1ba('0x0'));var util=require(_0xa1ba('0x1'));var path=require('path');var timeout=require(_0xa1ba('0x2'));var express=require(_0xa1ba('0x3'));var router=express[_0xa1ba('0x4')]();var auth=require('../../components/auth/service');var interaction=require('../../components/interaction/service');var config=require(_0xa1ba('0x5'));var controller=require('./smsInteraction.controller');router[_0xa1ba('0x6')]('/',auth[_0xa1ba('0x7')](),controller[_0xa1ba('0x8')]);router['get']('/describe',auth[_0xa1ba('0x7')](),controller[_0xa1ba('0x9')]);router[_0xa1ba('0x6')]('/:id',auth[_0xa1ba('0x7')](),controller[_0xa1ba('0xa')]);router[_0xa1ba('0x6')](_0xa1ba('0xb'),auth[_0xa1ba('0x7')](),controller[_0xa1ba('0xc')]);router[_0xa1ba('0x6')]('/:id/download',auth[_0xa1ba('0x7')](),controller[_0xa1ba('0xd')]);router['post']('/',auth[_0xa1ba('0x7')](),controller[_0xa1ba('0xe')]);router[_0xa1ba('0xf')]('/:id/messages',auth[_0xa1ba('0x7')](),controller[_0xa1ba('0x10')]);router[_0xa1ba('0xf')]('/:id/tags',auth[_0xa1ba('0x7')](),interaction[_0xa1ba('0x11')](_0xa1ba('0x12'),_0xa1ba('0x13')),controller['addTags']);router[_0xa1ba('0x14')](_0xa1ba('0x15'),auth['isAuthenticated'](),interaction[_0xa1ba('0x11')]('sms','smsinteraction:update'),controller['update']);router['delete'](_0xa1ba('0x15'),auth['isAuthenticated'](),interaction[_0xa1ba('0x11')](_0xa1ba('0x12'),_0xa1ba('0x16')),controller[_0xa1ba('0x17')]);router[_0xa1ba('0x18')](_0xa1ba('0x19'),auth[_0xa1ba('0x7')](),controller[_0xa1ba('0x1a')]);module[_0xa1ba('0x1b')]=router;
\ No newline at end of file