10bab8ab59ef5d0be5d0c9d2811e071b0428572c
[motion-next.git] / server / api / intZohoAccount / index.js
1 const a344_0x7b18=['getConfigurations','../../components/auth/service','/:id/configurations','post','put','getFields','/:id','addConfiguration','Router','show','express','index','exports','delete','isAuthenticated','get','destroy'];(function(_0x3f1505,_0x7b1870){const _0x50b2b4=function(_0x17774b){while(--_0x17774b){_0x3f1505['push'](_0x3f1505['shift']());}};_0x50b2b4(++_0x7b1870);}(a344_0x7b18,0x1b5));const a344_0x50b2=function(_0x3f1505,_0x7b1870){_0x3f1505=_0x3f1505-0x0;let _0x50b2b4=a344_0x7b18[_0x3f1505];return _0x50b2b4;};const _0x41ad9e=a344_0x50b2;'use strict';const express=require(_0x41ad9e('0xf')),router=express[_0x41ad9e('0xd')](),auth=require(_0x41ad9e('0x6')),controller=require('./intZohoAccount.controller');router[_0x41ad9e('0x3')]('/',auth[_0x41ad9e('0x2')](),controller[_0x41ad9e('0x10')]),router[_0x41ad9e('0x3')](_0x41ad9e('0xb'),auth[_0x41ad9e('0x2')](),controller[_0x41ad9e('0xe')]),router[_0x41ad9e('0x3')](_0x41ad9e('0x7'),auth[_0x41ad9e('0x2')](),controller[_0x41ad9e('0x5')]),router[_0x41ad9e('0x3')]('/:id/fields',auth[_0x41ad9e('0x2')](),controller[_0x41ad9e('0xa')]),router['post']('/',auth[_0x41ad9e('0x2')](),controller['create']),router[_0x41ad9e('0x8')]('/:id/configurations',auth[_0x41ad9e('0x2')](),controller[_0x41ad9e('0xc')]),router[_0x41ad9e('0x9')](_0x41ad9e('0xb'),auth[_0x41ad9e('0x2')](),controller['update']),router[_0x41ad9e('0x1')](_0x41ad9e('0xb'),auth[_0x41ad9e('0x2')](),controller[_0x41ad9e('0x4')]),module[_0x41ad9e('0x0')]=router;