1 // *************************************************************************
3 // * xCALLY Motion - The Omnichannel Contact Center *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved *
6 // *************************************************************************
8 // * Email: info@xcally.com *
9 // * Website: https://www.xcally.com *
11 // *************************************************************************
13 // * The SOFTWARE PRODUCT is protected by copyright laws and international *
14 // * copyright treaties, as well as other intellectual property laws and *
15 // * treaties. The SOFTWARE PRODUCT is licensed, not sold. *
17 // *************************************************************************
18 var _0xc677=['update','delete','destroy','exports','multer','util','path','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./intZohoAccount.controller','get','isAuthenticated','show','/:id/configurations','getConfigurations','/:id/fields','getFields','post','create','put','/:id'];(function(_0x71194c,_0x300a77){var _0x35979b=function(_0x29f04c){while(--_0x29f04c){_0x71194c['push'](_0x71194c['shift']());}};_0x35979b(++_0x300a77);}(_0xc677,0x18a));var _0x7c67=function(_0x321bb2,_0x202794){_0x321bb2=_0x321bb2-0x0;var _0x9c12ed=_0xc677[_0x321bb2];return _0x9c12ed;};'use strict';var multer=require(_0x7c67('0x0'));var util=require(_0x7c67('0x1'));var path=require(_0x7c67('0x2'));var timeout=require(_0x7c67('0x3'));var express=require(_0x7c67('0x4'));var router=express[_0x7c67('0x5')]();var fs_extra=require(_0x7c67('0x6'));var auth=require(_0x7c67('0x7'));var interaction=require(_0x7c67('0x8'));var config=require(_0x7c67('0x9'));var controller=require(_0x7c67('0xa'));router[_0x7c67('0xb')]('/',auth[_0x7c67('0xc')](),controller['index']);router[_0x7c67('0xb')]('/:id',auth[_0x7c67('0xc')](),controller[_0x7c67('0xd')]);router[_0x7c67('0xb')](_0x7c67('0xe'),auth[_0x7c67('0xc')](),controller[_0x7c67('0xf')]);router[_0x7c67('0xb')](_0x7c67('0x10'),auth[_0x7c67('0xc')](),controller[_0x7c67('0x11')]);router[_0x7c67('0x12')]('/',auth[_0x7c67('0xc')](),controller[_0x7c67('0x13')]);router[_0x7c67('0x12')](_0x7c67('0xe'),auth[_0x7c67('0xc')](),controller['addConfiguration']);router[_0x7c67('0x14')](_0x7c67('0x15'),auth[_0x7c67('0xc')](),controller[_0x7c67('0x16')]);router[_0x7c67('0x17')](_0x7c67('0x15'),auth[_0x7c67('0xc')](),controller[_0x7c67('0x18')]);module[_0x7c67('0x19')]=router;