X-Git-Url: http://repos.xcallymotion.com/?a=blobdiff_plain;f=server%2Fapi%2FchatInternalMessage%2Findex.js;h=d90c6439a2faeff83abaee11d9819edcab4c58b5;hb=5bcfff2cfe490b4ab0d0668e644729ef139af2a3;hp=363030fad73b1528447ab22e1ca6adb9ada33b33;hpb=625a274d7c6c9ea6be043136164c37fd3fc082d8;p=motion2.git diff --git a/server/api/chatInternalMessage/index.js b/server/api/chatInternalMessage/index.js index 363030f..d90c643 100644 --- a/server/api/chatInternalMessage/index.js +++ b/server/api/chatInternalMessage/index.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x36e1=['show','create','put','update','destroy','exports','multer','util','path','express','Router','fs-extra','../../components/interaction/service','get','index','/describe','isAuthenticated','describe','getUsers','/:id'];(function(_0x1a0145,_0x4cbc1e){var _0xd3a095=function(_0xd94985){while(--_0xd94985){_0x1a0145['push'](_0x1a0145['shift']());}};_0xd3a095(++_0x4cbc1e);}(_0x36e1,0xe2));var _0x136e=function(_0x31295c,_0x2f2b82){_0x31295c=_0x31295c-0x0;var _0x2c150e=_0x36e1[_0x31295c];return _0x2c150e;};'use strict';var multer=require(_0x136e('0x0'));var util=require(_0x136e('0x1'));var path=require(_0x136e('0x2'));var timeout=require('connect-timeout');var express=require(_0x136e('0x3'));var router=express[_0x136e('0x4')]();var fs_extra=require(_0x136e('0x5'));var auth=require('../../components/auth/service');var interaction=require(_0x136e('0x6'));var config=require('../../config/environment');var controller=require('./chatInternalMessage.controller');router[_0x136e('0x7')]('/',auth['isAuthenticated'](),controller[_0x136e('0x8')]);router[_0x136e('0x7')](_0x136e('0x9'),auth[_0x136e('0xa')](),controller[_0x136e('0xb')]);router[_0x136e('0x7')]('/users',auth[_0x136e('0xa')](),controller[_0x136e('0xc')]);router[_0x136e('0x7')](_0x136e('0xd'),auth[_0x136e('0xa')](),controller[_0x136e('0xe')]);router['post']('/',auth[_0x136e('0xa')](),controller[_0x136e('0xf')]);router[_0x136e('0x10')](_0x136e('0xd'),controller[_0x136e('0x11')]);router['delete']('/:id',auth[_0x136e('0xa')](),controller[_0x136e('0x12')]);module[_0x136e('0x13')]=router; \ No newline at end of file +var _0x8d01=['show','post','create','put','delete','destroy','exports','multer','util','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','isAuthenticated','get','/describe','describe','/users','getUsers','/:id'];(function(_0x51ec61,_0xf9d1e3){var _0x223200=function(_0x3bd510){while(--_0x3bd510){_0x51ec61['push'](_0x51ec61['shift']());}};_0x223200(++_0xf9d1e3);}(_0x8d01,0x193));var _0x18d0=function(_0x3dd15e,_0x1f0015){_0x3dd15e=_0x3dd15e-0x0;var _0x231fd0=_0x8d01[_0x3dd15e];return _0x231fd0;};'use strict';var multer=require(_0x18d0('0x0'));var util=require(_0x18d0('0x1'));var path=require('path');var timeout=require(_0x18d0('0x2'));var express=require(_0x18d0('0x3'));var router=express[_0x18d0('0x4')]();var fs_extra=require(_0x18d0('0x5'));var auth=require(_0x18d0('0x6'));var interaction=require(_0x18d0('0x7'));var config=require('../../config/environment');var controller=require('./chatInternalMessage.controller');router['get']('/',auth[_0x18d0('0x8')](),controller['index']);router[_0x18d0('0x9')](_0x18d0('0xa'),auth[_0x18d0('0x8')](),controller[_0x18d0('0xb')]);router[_0x18d0('0x9')](_0x18d0('0xc'),auth['isAuthenticated'](),controller[_0x18d0('0xd')]);router[_0x18d0('0x9')](_0x18d0('0xe'),auth[_0x18d0('0x8')](),controller[_0x18d0('0xf')]);router[_0x18d0('0x10')]('/',auth['isAuthenticated'](),controller[_0x18d0('0x11')]);router[_0x18d0('0x12')](_0x18d0('0xe'),controller['update']);router[_0x18d0('0x13')]('/:id',auth['isAuthenticated'](),controller[_0x18d0('0x14')]);module[_0x18d0('0x15')]=router; \ No newline at end of file