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 _0xb4ce=['addConfiguration','put','update','delete','destroy','exports','multer','path','connect-timeout','express','../../components/auth/service','../../config/environment','get','index','/:id','isAuthenticated','/:id/configurations','getConfigurations','/:id/fields','getFields','post','create'];(function(_0x2e9b41,_0x4807f4){var _0x2cde95=function(_0x446c73){while(--_0x446c73){_0x2e9b41['push'](_0x2e9b41['shift']());}};_0x2cde95(++_0x4807f4);}(_0xb4ce,0x166));var _0xeb4c=function(_0x1250df,_0x2db27d){_0x1250df=_0x1250df-0x0;var _0x4209ef=_0xb4ce[_0x1250df];return _0x4209ef;};'use strict';var multer=require(_0xeb4c('0x0'));var util=require('util');var path=require(_0xeb4c('0x1'));var timeout=require(_0xeb4c('0x2'));var express=require(_0xeb4c('0x3'));var router=express['Router']();var fs_extra=require('fs-extra');var auth=require(_0xeb4c('0x4'));var interaction=require('../../components/interaction/service');var config=require(_0xeb4c('0x5'));var controller=require('./intZohoAccount.controller');router[_0xeb4c('0x6')]('/',auth['isAuthenticated'](),controller[_0xeb4c('0x7')]);router[_0xeb4c('0x6')](_0xeb4c('0x8'),auth[_0xeb4c('0x9')](),controller['show']);router[_0xeb4c('0x6')](_0xeb4c('0xa'),auth[_0xeb4c('0x9')](),controller[_0xeb4c('0xb')]);router[_0xeb4c('0x6')](_0xeb4c('0xc'),auth[_0xeb4c('0x9')](),controller[_0xeb4c('0xd')]);router[_0xeb4c('0xe')]('/',auth[_0xeb4c('0x9')](),controller[_0xeb4c('0xf')]);router[_0xeb4c('0xe')](_0xeb4c('0xa'),auth[_0xeb4c('0x9')](),controller[_0xeb4c('0x10')]);router[_0xeb4c('0x11')](_0xeb4c('0x8'),auth[_0xeb4c('0x9')](),controller[_0xeb4c('0x12')]);router[_0xeb4c('0x13')](_0xeb4c('0x8'),auth[_0xeb4c('0x9')](),controller[_0xeb4c('0x14')]);module[_0xeb4c('0x15')]=router;