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 _0xfef3=['/:id','show','post','create','put','update','delete','exports','multer','path','express','Router','../../components/interaction/service','../../config/environment','get','isAuthenticated'];(function(_0x1b6c6d,_0x2983b0){var _0x290d9d=function(_0x5b9779){while(--_0x5b9779){_0x1b6c6d['push'](_0x1b6c6d['shift']());}};_0x290d9d(++_0x2983b0);}(_0xfef3,0x118));var _0x3fef=function(_0x5cfa6a,_0x4d69e8){_0x5cfa6a=_0x5cfa6a-0x0;var _0x204e10=_0xfef3[_0x5cfa6a];return _0x204e10;};'use strict';var multer=require(_0x3fef('0x0'));var util=require('util');var path=require(_0x3fef('0x1'));var timeout=require('connect-timeout');var express=require(_0x3fef('0x2'));var router=express[_0x3fef('0x3')]();var auth=require('../../components/auth/service');var interaction=require(_0x3fef('0x4'));var config=require(_0x3fef('0x5'));var controller=require('./intZohoField.controller');router[_0x3fef('0x6')]('/',auth[_0x3fef('0x7')](),controller['index']);router[_0x3fef('0x6')](_0x3fef('0x8'),auth[_0x3fef('0x7')](),controller[_0x3fef('0x9')]);router[_0x3fef('0xa')]('/',auth[_0x3fef('0x7')](),controller[_0x3fef('0xb')]);router[_0x3fef('0xc')](_0x3fef('0x8'),auth[_0x3fef('0x7')](),controller[_0x3fef('0xd')]);router[_0x3fef('0xe')](_0x3fef('0x8'),auth[_0x3fef('0x7')](),controller['destroy']);module[_0x3fef('0xf')]=router;