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 _0x72db=['multer','util','path','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./intZohoField.controller','get','index','/:id','isAuthenticated','post','create','put','update','delete','destroy','exports'];(function(_0x58ee32,_0x2450cc){var _0x22a1d9=function(_0x253807){while(--_0x253807){_0x58ee32['push'](_0x58ee32['shift']());}};_0x22a1d9(++_0x2450cc);}(_0x72db,0xa8));var _0xb72d=function(_0x14add3,_0x13ce8d){_0x14add3=_0x14add3-0x0;var _0x4a174f=_0x72db[_0x14add3];return _0x4a174f;};'use strict';var multer=require(_0xb72d('0x0'));var util=require(_0xb72d('0x1'));var path=require(_0xb72d('0x2'));var timeout=require('connect-timeout');var express=require(_0xb72d('0x3'));var router=express[_0xb72d('0x4')]();var fs_extra=require(_0xb72d('0x5'));var auth=require(_0xb72d('0x6'));var interaction=require(_0xb72d('0x7'));var config=require(_0xb72d('0x8'));var controller=require(_0xb72d('0x9'));router[_0xb72d('0xa')]('/',auth['isAuthenticated'](),controller[_0xb72d('0xb')]);router[_0xb72d('0xa')](_0xb72d('0xc'),auth[_0xb72d('0xd')](),controller['show']);router[_0xb72d('0xe')]('/',auth[_0xb72d('0xd')](),controller[_0xb72d('0xf')]);router[_0xb72d('0x10')](_0xb72d('0xc'),auth['isAuthenticated'](),controller[_0xb72d('0x11')]);router[_0xb72d('0x12')](_0xb72d('0xc'),auth[_0xb72d('0xd')](),controller[_0xb72d('0x13')]);module[_0xb72d('0x14')]=router;