X-Git-Url: http://repos.xcallymotion.com/?a=blobdiff_plain;f=server%2Fapi%2FsquareMessage%2Findex.js;h=865908913f437870aa65dc68e552b59b676e6901;hb=24271de0e5dd1b448821a50abace88b2fad818a2;hp=fe6a3a1d292fe09df741af5699c5bb3adca0e8f6;hpb=913cc995a38cf7bfbc27d325e09fc2b6ae2f632d;p=motion2.git diff --git a/server/api/squareMessage/index.js b/server/api/squareMessage/index.js index fe6a3a1..8659089 100644 --- a/server/api/squareMessage/index.js +++ b/server/api/squareMessage/index.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x3123=['util','path','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./squareMessage.controller','get','isAuthenticated','index','/:id','show','post','put','update','destroy','exports','multer'];(function(_0x4ed259,_0x233d72){var _0x23044e=function(_0x3362db){while(--_0x3362db){_0x4ed259['push'](_0x4ed259['shift']());}};_0x23044e(++_0x233d72);}(_0x3123,0xb3));var _0x3312=function(_0x2cac23,_0x262329){_0x2cac23=_0x2cac23-0x0;var _0x141a17=_0x3123[_0x2cac23];return _0x141a17;};'use strict';var multer=require(_0x3312('0x0'));var util=require(_0x3312('0x1'));var path=require(_0x3312('0x2'));var timeout=require(_0x3312('0x3'));var express=require(_0x3312('0x4'));var router=express[_0x3312('0x5')]();var auth=require(_0x3312('0x6'));var interaction=require(_0x3312('0x7'));var config=require(_0x3312('0x8'));var controller=require(_0x3312('0x9'));router[_0x3312('0xa')]('/',auth[_0x3312('0xb')](),controller[_0x3312('0xc')]);router[_0x3312('0xa')](_0x3312('0xd'),auth[_0x3312('0xb')](),controller[_0x3312('0xe')]);router[_0x3312('0xf')]('/',auth[_0x3312('0xb')](),controller['create']);router[_0x3312('0x10')]('/:id',auth[_0x3312('0xb')](),controller[_0x3312('0x11')]);router['delete'](_0x3312('0xd'),auth[_0x3312('0xb')](),controller[_0x3312('0x12')]);module[_0x3312('0x13')]=router; \ No newline at end of file +var _0x40cd=['get','/:id','show','post','put','update','destroy','exports','path','connect-timeout','../../components/auth/service','../../components/interaction/service','../../config/environment','./squareMessage.controller','isAuthenticated','index'];(function(_0x23b787,_0x4c0438){var _0x48871e=function(_0x363ebc){while(--_0x363ebc){_0x23b787['push'](_0x23b787['shift']());}};_0x48871e(++_0x4c0438);}(_0x40cd,0x1c8));var _0xd40c=function(_0x228798,_0x3f9eb2){_0x228798=_0x228798-0x0;var _0x275304=_0x40cd[_0x228798];return _0x275304;};'use strict';var multer=require('multer');var util=require('util');var path=require(_0xd40c('0x0'));var timeout=require(_0xd40c('0x1'));var express=require('express');var router=express['Router']();var auth=require(_0xd40c('0x2'));var interaction=require(_0xd40c('0x3'));var config=require(_0xd40c('0x4'));var controller=require(_0xd40c('0x5'));router['get']('/',auth[_0xd40c('0x6')](),controller[_0xd40c('0x7')]);router[_0xd40c('0x8')](_0xd40c('0x9'),auth[_0xd40c('0x6')](),controller[_0xd40c('0xa')]);router[_0xd40c('0xb')]('/',auth[_0xd40c('0x6')](),controller['create']);router[_0xd40c('0xc')](_0xd40c('0x9'),auth[_0xd40c('0x6')](),controller[_0xd40c('0xd')]);router['delete']('/:id',auth['isAuthenticated'](),controller[_0xd40c('0xe')]);module[_0xd40c('0xf')]=router; \ No newline at end of file