Built motion from commit e6806ed6.|2.6.0
[motion2.git] / server / api / intZohoAccount / index.js
index bc84c61..73749de 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x1bea=['addConfiguration','put','update','delete','destroy','exports','multer','path','connect-timeout','Router','fs-extra','./intZohoAccount.controller','get','isAuthenticated','/:id','show','/:id/configurations','/:id/fields','getFields'];(function(_0x408f3d,_0x14ced2){var _0x29afd0=function(_0x57f12c){while(--_0x57f12c){_0x408f3d['push'](_0x408f3d['shift']());}};_0x29afd0(++_0x14ced2);}(_0x1bea,0x65));var _0xa1be=function(_0x22185a,_0x2c9c0f){_0x22185a=_0x22185a-0x0;var _0x27e1f1=_0x1bea[_0x22185a];return _0x27e1f1;};'use strict';var multer=require(_0xa1be('0x0'));var util=require('util');var path=require(_0xa1be('0x1'));var timeout=require(_0xa1be('0x2'));var express=require('express');var router=express[_0xa1be('0x3')]();var fs_extra=require(_0xa1be('0x4'));var auth=require('../../components/auth/service');var interaction=require('../../components/interaction/service');var config=require('../../config/environment');var controller=require(_0xa1be('0x5'));router[_0xa1be('0x6')]('/',auth[_0xa1be('0x7')](),controller['index']);router[_0xa1be('0x6')](_0xa1be('0x8'),auth[_0xa1be('0x7')](),controller[_0xa1be('0x9')]);router['get'](_0xa1be('0xa'),auth[_0xa1be('0x7')](),controller['getConfigurations']);router[_0xa1be('0x6')](_0xa1be('0xb'),auth[_0xa1be('0x7')](),controller[_0xa1be('0xc')]);router['post']('/',auth['isAuthenticated'](),controller['create']);router['post'](_0xa1be('0xa'),auth[_0xa1be('0x7')](),controller[_0xa1be('0xd')]);router[_0xa1be('0xe')]('/:id',auth[_0xa1be('0x7')](),controller[_0xa1be('0xf')]);router[_0xa1be('0x10')](_0xa1be('0x8'),auth[_0xa1be('0x7')](),controller[_0xa1be('0x11')]);module[_0xa1be('0x12')]=router;
\ No newline at end of file
+var _0xb5cb=['/:id','show','/:id/configurations','getConfigurations','/:id/fields','getFields','create','post','addConfiguration','put','update','destroy','exports','util','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','./intZohoAccount.controller','isAuthenticated','index','get'];(function(_0x2847d0,_0x10a787){var _0x1cc209=function(_0x3863ff){while(--_0x3863ff){_0x2847d0['push'](_0x2847d0['shift']());}};_0x1cc209(++_0x10a787);}(_0xb5cb,0xdc));var _0xbb5c=function(_0x6d7b76,_0x364c4d){_0x6d7b76=_0x6d7b76-0x0;var _0x4cddd3=_0xb5cb[_0x6d7b76];return _0x4cddd3;};'use strict';var multer=require('multer');var util=require(_0xbb5c('0x0'));var path=require('path');var timeout=require('connect-timeout');var express=require(_0xbb5c('0x1'));var router=express[_0xbb5c('0x2')]();var fs_extra=require(_0xbb5c('0x3'));var auth=require(_0xbb5c('0x4'));var interaction=require(_0xbb5c('0x5'));var config=require('../../config/environment');var controller=require(_0xbb5c('0x6'));router['get']('/',auth[_0xbb5c('0x7')](),controller[_0xbb5c('0x8')]);router[_0xbb5c('0x9')](_0xbb5c('0xa'),auth[_0xbb5c('0x7')](),controller[_0xbb5c('0xb')]);router['get'](_0xbb5c('0xc'),auth[_0xbb5c('0x7')](),controller[_0xbb5c('0xd')]);router[_0xbb5c('0x9')](_0xbb5c('0xe'),auth[_0xbb5c('0x7')](),controller[_0xbb5c('0xf')]);router['post']('/',auth['isAuthenticated'](),controller[_0xbb5c('0x10')]);router[_0xbb5c('0x11')]('/:id/configurations',auth[_0xbb5c('0x7')](),controller[_0xbb5c('0x12')]);router[_0xbb5c('0x13')]('/:id',auth[_0xbb5c('0x7')](),controller[_0xbb5c('0x14')]);router['delete']('/:id',auth['isAuthenticated'](),controller[_0xbb5c('0x15')]);module[_0xbb5c('0x16')]=router;
\ No newline at end of file