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 _0xc579=['multer','util','path','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./intVtigerField.controller','get','isAuthenticated','/:id','show','post','create','put','update','delete','destroy','exports'];(function(_0x158f01,_0x12af3e){var _0x5ef74e=function(_0x5e7adc){while(--_0x5e7adc){_0x158f01['push'](_0x158f01['shift']());}};_0x5ef74e(++_0x12af3e);}(_0xc579,0xf7));var _0x9c57=function(_0xd26501,_0x22c758){_0xd26501=_0xd26501-0x0;var _0x5e8a92=_0xc579[_0xd26501];return _0x5e8a92;};'use strict';var multer=require(_0x9c57('0x0'));var util=require(_0x9c57('0x1'));var path=require(_0x9c57('0x2'));var timeout=require('connect-timeout');var express=require('express');var router=express['Router']();var fs_extra=require(_0x9c57('0x3'));var auth=require(_0x9c57('0x4'));var interaction=require(_0x9c57('0x5'));var config=require(_0x9c57('0x6'));var controller=require(_0x9c57('0x7'));router[_0x9c57('0x8')]('/',auth[_0x9c57('0x9')](),controller['index']);router[_0x9c57('0x8')](_0x9c57('0xa'),auth[_0x9c57('0x9')](),controller[_0x9c57('0xb')]);router[_0x9c57('0xc')]('/',auth['isAuthenticated'](),controller[_0x9c57('0xd')]);router[_0x9c57('0xe')](_0x9c57('0xa'),auth[_0x9c57('0x9')](),controller[_0x9c57('0xf')]);router[_0x9c57('0x10')]('/:id',auth['isAuthenticated'](),controller[_0x9c57('0x11')]);module[_0x9c57('0x12')]=router;