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 _0x430c=['exports','multer','connect-timeout','express','Router','get','isAuthenticated','show','post','create','put','/:id','update'];(function(_0x421603,_0x408ee0){var _0x1deee=function(_0x2898e1){while(--_0x2898e1){_0x421603['push'](_0x421603['shift']());}};_0x1deee(++_0x408ee0);}(_0x430c,0x1a1));var _0xc430=function(_0x5ad0d7,_0x2645f8){_0x5ad0d7=_0x5ad0d7-0x0;var _0xd83bd=_0x430c[_0x5ad0d7];return _0xd83bd;};'use strict';var multer=require(_0xc430('0x0'));var util=require('util');var path=require('path');var timeout=require(_0xc430('0x1'));var express=require(_0xc430('0x2'));var router=express[_0xc430('0x3')]();var auth=require('../../components/auth/service');var interaction=require('../../components/interaction/service');var config=require('../../config/environment');var controller=require('./intZohoField.controller');router[_0xc430('0x4')]('/',auth[_0xc430('0x5')](),controller['index']);router[_0xc430('0x4')]('/:id',auth[_0xc430('0x5')](),controller[_0xc430('0x6')]);router[_0xc430('0x7')]('/',auth[_0xc430('0x5')](),controller[_0xc430('0x8')]);router[_0xc430('0x9')](_0xc430('0xa'),auth[_0xc430('0x5')](),controller[_0xc430('0xb')]);router['delete'](_0xc430('0xa'),auth[_0xc430('0x5')](),controller['destroy']);module[_0xc430('0xc')]=router;