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 _0xbf45=['multer','util','path','Router','../../config/environment','get','isAuthenticated','index','/:id','show','post','create','put','update','delete','destroy','exports'];(function(_0x25d020,_0x1ea8ef){var _0x1d2d88=function(_0x11add3){while(--_0x11add3){_0x25d020['push'](_0x25d020['shift']());}};_0x1d2d88(++_0x1ea8ef);}(_0xbf45,0x1a9));var _0x5bf4=function(_0x52bdf5,_0x1f5684){_0x52bdf5=_0x52bdf5-0x0;var _0x1c10d7=_0xbf45[_0x52bdf5];return _0x1c10d7;};'use strict';var multer=require(_0x5bf4('0x0'));var util=require(_0x5bf4('0x1'));var path=require(_0x5bf4('0x2'));var timeout=require('connect-timeout');var express=require('express');var router=express[_0x5bf4('0x3')]();var auth=require('../../components/auth/service');var interaction=require('../../components/interaction/service');var config=require(_0x5bf4('0x4'));var controller=require('./intZohoField.controller');router[_0x5bf4('0x5')]('/',auth[_0x5bf4('0x6')](),controller[_0x5bf4('0x7')]);router[_0x5bf4('0x5')](_0x5bf4('0x8'),auth[_0x5bf4('0x6')](),controller[_0x5bf4('0x9')]);router[_0x5bf4('0xa')]('/',auth[_0x5bf4('0x6')](),controller[_0x5bf4('0xb')]);router[_0x5bf4('0xc')](_0x5bf4('0x8'),auth[_0x5bf4('0x6')](),controller[_0x5bf4('0xd')]);router[_0x5bf4('0xe')]('/:id',auth[_0x5bf4('0x6')](),controller[_0x5bf4('0xf')]);module[_0x5bf4('0x10')]=router;