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 _0x5c8d=['delete','destroy','exports','path','express','Router','get','isAuthenticated','index','/:id','show','post','create','put','update'];(function(_0x28b33c,_0x360db3){var _0x238f9d=function(_0x4c57ad){while(--_0x4c57ad){_0x28b33c['push'](_0x28b33c['shift']());}};_0x238f9d(++_0x360db3);}(_0x5c8d,0x1d4));var _0xd5c8=function(_0x18b3a3,_0x4e1994){_0x18b3a3=_0x18b3a3-0x0;var _0xb552e4=_0x5c8d[_0x18b3a3];return _0xb552e4;};'use strict';var multer=require('multer');var util=require('util');var path=require(_0xd5c8('0x0'));var timeout=require('connect-timeout');var express=require(_0xd5c8('0x1'));var router=express[_0xd5c8('0x2')]();var fs_extra=require('fs-extra');var auth=require('../../components/auth/service');var interaction=require('../../components/interaction/service');var config=require('../../config/environment');var controller=require('./intZohoField.controller');router[_0xd5c8('0x3')]('/',auth[_0xd5c8('0x4')](),controller[_0xd5c8('0x5')]);router[_0xd5c8('0x3')](_0xd5c8('0x6'),auth[_0xd5c8('0x4')](),controller[_0xd5c8('0x7')]);router[_0xd5c8('0x8')]('/',auth[_0xd5c8('0x4')](),controller[_0xd5c8('0x9')]);router[_0xd5c8('0xa')](_0xd5c8('0x6'),auth[_0xd5c8('0x4')](),controller[_0xd5c8('0xb')]);router[_0xd5c8('0xc')](_0xd5c8('0x6'),auth[_0xd5c8('0x4')](),controller[_0xd5c8('0xd')]);module[_0xd5c8('0xe')]=router;