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