X-Git-Url: http://repos.xcallymotion.com/?a=blobdiff_plain;f=server%2Fapi%2FintFreshdeskField%2Findex.js;h=945603ce88401651913bd4ad72a17a4f3cbe081a;hb=8cdeeda1196ee7d2ad7723378ea9a4f6c5d1e83a;hp=ec162c4093503d20a43f5863eb7e42fff6a5419e;hpb=b8feeab5a72cbb7651a1c603fc767034cd5922cc;p=motion2.git diff --git a/server/api/intFreshdeskField/index.js b/server/api/intFreshdeskField/index.js index ec162c4..945603c 100644 --- a/server/api/intFreshdeskField/index.js +++ b/server/api/intFreshdeskField/index.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x1f17=['get','isAuthenticated','index','show','post','put','/:id','update','delete','destroy','exports','multer','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service'];(function(_0x57b54c,_0x54ce0d){var _0x59cc19=function(_0xa33bc6){while(--_0xa33bc6){_0x57b54c['push'](_0x57b54c['shift']());}};_0x59cc19(++_0x54ce0d);}(_0x1f17,0xc6));var _0x71f1=function(_0x186edd,_0x16afae){_0x186edd=_0x186edd-0x0;var _0x447af8=_0x1f17[_0x186edd];return _0x447af8;};'use strict';var multer=require(_0x71f1('0x0'));var util=require('util');var path=require('path');var timeout=require(_0x71f1('0x1'));var express=require(_0x71f1('0x2'));var router=express[_0x71f1('0x3')]();var fs_extra=require('fs-extra');var auth=require(_0x71f1('0x4'));var interaction=require(_0x71f1('0x5'));var config=require('../../config/environment');var controller=require('./intFreshdeskField.controller');router[_0x71f1('0x6')]('/',auth[_0x71f1('0x7')](),controller[_0x71f1('0x8')]);router[_0x71f1('0x6')]('/:id',auth[_0x71f1('0x7')](),controller[_0x71f1('0x9')]);router[_0x71f1('0xa')]('/',auth[_0x71f1('0x7')](),controller['create']);router[_0x71f1('0xb')](_0x71f1('0xc'),auth[_0x71f1('0x7')](),controller[_0x71f1('0xd')]);router[_0x71f1('0xe')](_0x71f1('0xc'),auth[_0x71f1('0x7')](),controller[_0x71f1('0xf')]);module[_0x71f1('0x10')]=router; \ No newline at end of file +var _0xc413=['delete','multer','util','path','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','get','isAuthenticated','index','/:id','show','post','create','update'];(function(_0x5ab23d,_0x2bd832){var _0x4e1bef=function(_0x4182a0){while(--_0x4182a0){_0x5ab23d['push'](_0x5ab23d['shift']());}};_0x4e1bef(++_0x2bd832);}(_0xc413,0xc7));var _0x3c41=function(_0x56482c,_0x16118d){_0x56482c=_0x56482c-0x0;var _0x5aae7a=_0xc413[_0x56482c];return _0x5aae7a;};'use strict';var multer=require(_0x3c41('0x0'));var util=require(_0x3c41('0x1'));var path=require(_0x3c41('0x2'));var timeout=require(_0x3c41('0x3'));var express=require(_0x3c41('0x4'));var router=express[_0x3c41('0x5')]();var fs_extra=require(_0x3c41('0x6'));var auth=require(_0x3c41('0x7'));var interaction=require(_0x3c41('0x8'));var config=require('../../config/environment');var controller=require('./intFreshdeskField.controller');router[_0x3c41('0x9')]('/',auth[_0x3c41('0xa')](),controller[_0x3c41('0xb')]);router[_0x3c41('0x9')](_0x3c41('0xc'),auth['isAuthenticated'](),controller[_0x3c41('0xd')]);router[_0x3c41('0xe')]('/',auth[_0x3c41('0xa')](),controller[_0x3c41('0xf')]);router['put'](_0x3c41('0xc'),auth[_0x3c41('0xa')](),controller[_0x3c41('0x10')]);router[_0x3c41('0x11')]('/:id',auth['isAuthenticated'](),controller['destroy']);module['exports']=router; \ No newline at end of file