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 _0xdd01=['delete','exports','multer','util','../../components/auth/service','../../components/interaction/service','./intVtigerField.controller','get','isAuthenticated','/:id','show','post','put','update'];(function(_0x3a8772,_0x32cc0a){var _0x1cedfc=function(_0x3c1c5d){while(--_0x3c1c5d){_0x3a8772['push'](_0x3a8772['shift']());}};_0x1cedfc(++_0x32cc0a);}(_0xdd01,0xaa));var _0x1dd0=function(_0xbd08b4,_0x4790ed){_0xbd08b4=_0xbd08b4-0x0;var _0x314f1e=_0xdd01[_0xbd08b4];return _0x314f1e;};'use strict';var multer=require(_0x1dd0('0x0'));var util=require(_0x1dd0('0x1'));var path=require('path');var timeout=require('connect-timeout');var express=require('express');var router=express['Router']();var auth=require(_0x1dd0('0x2'));var interaction=require(_0x1dd0('0x3'));var config=require('../../config/environment');var controller=require(_0x1dd0('0x4'));router[_0x1dd0('0x5')]('/',auth[_0x1dd0('0x6')](),controller['index']);router[_0x1dd0('0x5')](_0x1dd0('0x7'),auth[_0x1dd0('0x6')](),controller[_0x1dd0('0x8')]);router[_0x1dd0('0x9')]('/',auth[_0x1dd0('0x6')](),controller['create']);router[_0x1dd0('0xa')](_0x1dd0('0x7'),auth[_0x1dd0('0x6')](),controller[_0x1dd0('0xb')]);router[_0x1dd0('0xc')](_0x1dd0('0x7'),auth[_0x1dd0('0x6')](),controller['destroy']);module[_0x1dd0('0xd')]=router;