X-Git-Url: http://repos.xcallymotion.com/?a=blobdiff_plain;f=server%2Fapi%2FintZohoAccount%2Findex.js;h=24c12afcb13425abd96eb35bd54255f79e6f43f2;hb=b8feeab5a72cbb7651a1c603fc767034cd5922cc;hp=fab11ebc6956b2180e83c331c7ab17e49e2b0e06;hpb=5584754b2aa104a57907f7aa392d8c07dfdc6150;p=motion2.git diff --git a/server/api/intZohoAccount/index.js b/server/api/intZohoAccount/index.js index fab11eb..24c12af 100644 --- a/server/api/intZohoAccount/index.js +++ b/server/api/intZohoAccount/index.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x963f=['getFields','post','create','addConfiguration','update','/:id','destroy','exports','multer','util','path','connect-timeout','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./intZohoAccount.controller','get','isAuthenticated','index','show','/:id/configurations'];(function(_0x1b129f,_0x6d1483){var _0x117f95=function(_0x445ad7){while(--_0x445ad7){_0x1b129f['push'](_0x1b129f['shift']());}};_0x117f95(++_0x6d1483);}(_0x963f,0x92));var _0xf963=function(_0x4362ec,_0xcb74a5){_0x4362ec=_0x4362ec-0x0;var _0x41a6d9=_0x963f[_0x4362ec];return _0x41a6d9;};'use strict';var multer=require(_0xf963('0x0'));var util=require(_0xf963('0x1'));var path=require(_0xf963('0x2'));var timeout=require(_0xf963('0x3'));var express=require('express');var router=express[_0xf963('0x4')]();var fs_extra=require(_0xf963('0x5'));var auth=require(_0xf963('0x6'));var interaction=require(_0xf963('0x7'));var config=require(_0xf963('0x8'));var controller=require(_0xf963('0x9'));router[_0xf963('0xa')]('/',auth[_0xf963('0xb')](),controller[_0xf963('0xc')]);router[_0xf963('0xa')]('/:id',auth[_0xf963('0xb')](),controller[_0xf963('0xd')]);router[_0xf963('0xa')](_0xf963('0xe'),auth[_0xf963('0xb')](),controller['getConfigurations']);router[_0xf963('0xa')]('/:id/fields',auth[_0xf963('0xb')](),controller[_0xf963('0xf')]);router[_0xf963('0x10')]('/',auth[_0xf963('0xb')](),controller[_0xf963('0x11')]);router[_0xf963('0x10')](_0xf963('0xe'),auth[_0xf963('0xb')](),controller[_0xf963('0x12')]);router['put']('/:id',auth['isAuthenticated'](),controller[_0xf963('0x13')]);router['delete'](_0xf963('0x14'),auth[_0xf963('0xb')](),controller[_0xf963('0x15')]);module[_0xf963('0x16')]=router; \ No newline at end of file +var _0x7e79=['connect-timeout','express','Router','../../components/auth/service','./intZohoAccount.controller','get','index','isAuthenticated','show','/:id/configurations','getConfigurations','/:id/fields','getFields','create','post','addConfiguration','put','/:id','update','exports','multer','util','path'];(function(_0x2cb1b0,_0x910893){var _0x29a218=function(_0x7ca899){while(--_0x7ca899){_0x2cb1b0['push'](_0x2cb1b0['shift']());}};_0x29a218(++_0x910893);}(_0x7e79,0x128));var _0x97e7=function(_0x57b54c,_0x54ce0d){_0x57b54c=_0x57b54c-0x0;var _0x59cc19=_0x7e79[_0x57b54c];return _0x59cc19;};'use strict';var multer=require(_0x97e7('0x0'));var util=require(_0x97e7('0x1'));var path=require(_0x97e7('0x2'));var timeout=require(_0x97e7('0x3'));var express=require(_0x97e7('0x4'));var router=express[_0x97e7('0x5')]();var fs_extra=require('fs-extra');var auth=require(_0x97e7('0x6'));var interaction=require('../../components/interaction/service');var config=require('../../config/environment');var controller=require(_0x97e7('0x7'));router[_0x97e7('0x8')]('/',auth['isAuthenticated'](),controller[_0x97e7('0x9')]);router[_0x97e7('0x8')]('/:id',auth[_0x97e7('0xa')](),controller[_0x97e7('0xb')]);router[_0x97e7('0x8')](_0x97e7('0xc'),auth[_0x97e7('0xa')](),controller[_0x97e7('0xd')]);router[_0x97e7('0x8')](_0x97e7('0xe'),auth[_0x97e7('0xa')](),controller[_0x97e7('0xf')]);router['post']('/',auth['isAuthenticated'](),controller[_0x97e7('0x10')]);router[_0x97e7('0x11')](_0x97e7('0xc'),auth[_0x97e7('0xa')](),controller[_0x97e7('0x12')]);router[_0x97e7('0x13')](_0x97e7('0x14'),auth[_0x97e7('0xa')](),controller[_0x97e7('0x15')]);router['delete'](_0x97e7('0x14'),auth[_0x97e7('0xa')](),controller['destroy']);module[_0x97e7('0x16')]=router; \ No newline at end of file