78d273f1dbe680860677d1dae6f17eaf4de2c909
[motion-next.git] / server / api / intZohoAccount / index.js
1 const a344_0x5649=['update','Router','addConfiguration','get','/:id','/:id/fields','exports','destroy','isAuthenticated','./intZohoAccount.controller','create','express','/:id/configurations','../../components/auth/service'];(function(_0x996b08,_0x56499c){const _0x133a16=function(_0xaab492){while(--_0xaab492){_0x996b08['push'](_0x996b08['shift']());}};_0x133a16(++_0x56499c);}(a344_0x5649,0x179));const a344_0x133a=function(_0x996b08,_0x56499c){_0x996b08=_0x996b08-0x0;let _0x133a16=a344_0x5649[_0x996b08];return _0x133a16;};const _0x477199=a344_0x133a;'use strict';const express=require(_0x477199('0xc')),router=express[_0x477199('0x2')](),auth=require(_0x477199('0x0')),controller=require(_0x477199('0xa'));router[_0x477199('0x4')]('/',auth['isAuthenticated'](),controller['index']),router['get'](_0x477199('0x5'),auth[_0x477199('0x9')](),controller['show']),router[_0x477199('0x4')](_0x477199('0xd'),auth[_0x477199('0x9')](),controller['getConfigurations']),router[_0x477199('0x4')](_0x477199('0x6'),auth[_0x477199('0x9')](),controller['getFields']),router['post']('/',auth[_0x477199('0x9')](),controller[_0x477199('0xb')]),router['post'](_0x477199('0xd'),auth[_0x477199('0x9')](),controller[_0x477199('0x3')]),router['put']('/:id',auth[_0x477199('0x9')](),controller[_0x477199('0x1')]),router['delete'](_0x477199('0x5'),auth[_0x477199('0x9')](),controller[_0x477199('0x8')]),module[_0x477199('0x7')]=router;