X-Git-Url: http://repos.xcallymotion.com/?a=blobdiff_plain;f=server%2Fapi%2FsmsInteraction%2Findex.js;h=0b7a0170c550e93f3ca13a13ccfabc11bafa4f8c;hb=6b8dca8de1a6b807be7e36077511bb032e7382e5;hp=f7ddb72272a7f9aa4492cfe5a3fa02f3459c5bb8;hpb=44bd2814959684a7f7b774f2c71a3b12f9ba5952;p=motion2.git diff --git a/server/api/smsInteraction/index.js b/server/api/smsInteraction/index.js index f7ddb72..0b7a017 100644 --- a/server/api/smsInteraction/index.js +++ b/server/api/smsInteraction/index.js @@ -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 _0x9d6e=['/:id/messages','getMessages','post','create','addMessage','/:id/tags','tracked','sms','smsinteraction:addtags','addTags','put','smsinteraction:update','delete','removeTags','exports','multer','util','../../components/auth/service','../../components/interaction/service','../../config/environment','./smsInteraction.controller','get','isAuthenticated','index','/describe','/:id','show'];(function(_0x3d8a90,_0xf5f381){var _0x74f158=function(_0x1285f5){while(--_0x1285f5){_0x3d8a90['push'](_0x3d8a90['shift']());}};_0x74f158(++_0xf5f381);}(_0x9d6e,0xcc));var _0xe9d6=function(_0x2641f9,_0x26715f){_0x2641f9=_0x2641f9-0x0;var _0x585741=_0x9d6e[_0x2641f9];return _0x585741;};'use strict';var multer=require(_0xe9d6('0x0'));var util=require(_0xe9d6('0x1'));var path=require('path');var timeout=require('connect-timeout');var express=require('express');var router=express['Router']();var auth=require(_0xe9d6('0x2'));var interaction=require(_0xe9d6('0x3'));var config=require(_0xe9d6('0x4'));var controller=require(_0xe9d6('0x5'));router[_0xe9d6('0x6')]('/',auth[_0xe9d6('0x7')](),controller[_0xe9d6('0x8')]);router[_0xe9d6('0x6')](_0xe9d6('0x9'),auth[_0xe9d6('0x7')](),controller['describe']);router[_0xe9d6('0x6')](_0xe9d6('0xa'),auth[_0xe9d6('0x7')](),controller[_0xe9d6('0xb')]);router[_0xe9d6('0x6')](_0xe9d6('0xc'),auth[_0xe9d6('0x7')](),controller[_0xe9d6('0xd')]);router['get']('/:id/download',auth[_0xe9d6('0x7')](),controller['download']);router[_0xe9d6('0xe')]('/',auth[_0xe9d6('0x7')](),controller[_0xe9d6('0xf')]);router[_0xe9d6('0xe')]('/:id/messages',auth['isAuthenticated'](),controller[_0xe9d6('0x10')]);router[_0xe9d6('0xe')](_0xe9d6('0x11'),auth[_0xe9d6('0x7')](),interaction[_0xe9d6('0x12')](_0xe9d6('0x13'),_0xe9d6('0x14')),controller[_0xe9d6('0x15')]);router[_0xe9d6('0x16')](_0xe9d6('0xa'),auth['isAuthenticated'](),interaction[_0xe9d6('0x12')](_0xe9d6('0x13'),_0xe9d6('0x17')),controller['update']);router['delete'](_0xe9d6('0xa'),auth[_0xe9d6('0x7')](),interaction['tracked'](_0xe9d6('0x13'),'smsinteraction:destroy'),controller['destroy']);router[_0xe9d6('0x18')](_0xe9d6('0x11'),auth[_0xe9d6('0x7')](),controller[_0xe9d6('0x19')]);module[_0xe9d6('0x1a')]=router; \ No newline at end of file