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 _0x3de3=['../../config/environment','get','isAuthenticated','show','post','create','put','/:id','update','delete','destroy','exports','multer','path','connect-timeout','Router','../../components/auth/service','../../components/interaction/service'];(function(_0x46d14b,_0x147907){var _0x367dfd=function(_0x117d8e){while(--_0x117d8e){_0x46d14b['push'](_0x46d14b['shift']());}};_0x367dfd(++_0x147907);}(_0x3de3,0x1ce));var _0x33de=function(_0x517a54,_0x3250cb){_0x517a54=_0x517a54-0x0;var _0x44680d=_0x3de3[_0x517a54];return _0x44680d;};'use strict';var multer=require(_0x33de('0x0'));var util=require('util');var path=require(_0x33de('0x1'));var timeout=require(_0x33de('0x2'));var express=require('express');var router=express[_0x33de('0x3')]();var auth=require(_0x33de('0x4'));var interaction=require(_0x33de('0x5'));var config=require(_0x33de('0x6'));var controller=require('./intZohoField.controller');router[_0x33de('0x7')]('/',auth[_0x33de('0x8')](),controller['index']);router[_0x33de('0x7')]('/:id',auth[_0x33de('0x8')](),controller[_0x33de('0x9')]);router[_0x33de('0xa')]('/',auth['isAuthenticated'](),controller[_0x33de('0xb')]);router[_0x33de('0xc')](_0x33de('0xd'),auth['isAuthenticated'](),controller[_0x33de('0xe')]);router[_0x33de('0xf')](_0x33de('0xd'),auth[_0x33de('0x8')](),controller[_0x33de('0x10')]);module[_0x33de('0x11')]=router;