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 _0xda2d=['delete','destroy','exports','util','path','connect-timeout','express','Router','./intZohoField.controller','get','isAuthenticated','index','/:id','show','post','put','update'];(function(_0x17a296,_0x50d720){var _0x39d83b=function(_0x524183){while(--_0x524183){_0x17a296['push'](_0x17a296['shift']());}};_0x39d83b(++_0x50d720);}(_0xda2d,0x102));var _0xdda2=function(_0x2ec099,_0x23f1ea){_0x2ec099=_0x2ec099-0x0;var _0x1a26f7=_0xda2d[_0x2ec099];return _0x1a26f7;};'use strict';var multer=require('multer');var util=require(_0xdda2('0x0'));var path=require(_0xdda2('0x1'));var timeout=require(_0xdda2('0x2'));var express=require(_0xdda2('0x3'));var router=express[_0xdda2('0x4')]();var auth=require('../../components/auth/service');var interaction=require('../../components/interaction/service');var config=require('../../config/environment');var controller=require(_0xdda2('0x5'));router[_0xdda2('0x6')]('/',auth[_0xdda2('0x7')](),controller[_0xdda2('0x8')]);router[_0xdda2('0x6')](_0xdda2('0x9'),auth[_0xdda2('0x7')](),controller[_0xdda2('0xa')]);router[_0xdda2('0xb')]('/',auth[_0xdda2('0x7')](),controller['create']);router[_0xdda2('0xc')](_0xdda2('0x9'),auth['isAuthenticated'](),controller[_0xdda2('0xd')]);router[_0xdda2('0xe')](_0xdda2('0x9'),auth[_0xdda2('0x7')](),controller[_0xdda2('0xf')]);module[_0xdda2('0x10')]=router;