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 _0x4f0f=['express','Router','fs-extra','../../components/auth/service','../../config/environment','./intZohoConfiguration.controller','isAuthenticated','index','get','/:id','show','/:id/fields','/:id/subjects','getSubjects','/:id/descriptions','getDescriptions','post','create','put','update','delete','destroy','multer','util','connect-timeout'];(function(_0x173183,_0xb9740e){var _0xa3e8d3=function(_0x33bcb3){while(--_0x33bcb3){_0x173183['push'](_0x173183['shift']());}};_0xa3e8d3(++_0xb9740e);}(_0x4f0f,0x1f1));var _0xf4f0=function(_0x1fd12d,_0x16b6e2){_0x1fd12d=_0x1fd12d-0x0;var _0x455ec4=_0x4f0f[_0x1fd12d];return _0x455ec4;};'use strict';var multer=require(_0xf4f0('0x0'));var util=require(_0xf4f0('0x1'));var path=require('path');var timeout=require(_0xf4f0('0x2'));var express=require(_0xf4f0('0x3'));var router=express[_0xf4f0('0x4')]();var fs_extra=require(_0xf4f0('0x5'));var auth=require(_0xf4f0('0x6'));var interaction=require('../../components/interaction/service');var config=require(_0xf4f0('0x7'));var controller=require(_0xf4f0('0x8'));router['get']('/',auth[_0xf4f0('0x9')](),controller[_0xf4f0('0xa')]);router[_0xf4f0('0xb')](_0xf4f0('0xc'),auth['isAuthenticated'](),controller[_0xf4f0('0xd')]);router['get'](_0xf4f0('0xe'),auth['isAuthenticated'](),controller['getFields']);router[_0xf4f0('0xb')](_0xf4f0('0xf'),auth['isAuthenticated'](),controller[_0xf4f0('0x10')]);router[_0xf4f0('0xb')](_0xf4f0('0x11'),auth['isAuthenticated'](),controller[_0xf4f0('0x12')]);router[_0xf4f0('0x13')]('/',auth[_0xf4f0('0x9')](),controller[_0xf4f0('0x14')]);router[_0xf4f0('0x15')](_0xf4f0('0xc'),auth[_0xf4f0('0x9')](),controller[_0xf4f0('0x16')]);router[_0xf4f0('0x17')](_0xf4f0('0xc'),auth[_0xf4f0('0x9')](),controller[_0xf4f0('0x18')]);module['exports']=router;