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 _0xb4e9=['post','create','put','/:id','update','delete','exports','multer','path','connect-timeout','express','../../components/auth/service','../../config/environment','./intVtigerField.controller','isAuthenticated','get','show'];(function(_0x5cae4c,_0x5eb2b8){var _0x3649d9=function(_0x4873c0){while(--_0x4873c0){_0x5cae4c['push'](_0x5cae4c['shift']());}};_0x3649d9(++_0x5eb2b8);}(_0xb4e9,0xa0));var _0x9b4e=function(_0x31ff34,_0x58ca07){_0x31ff34=_0x31ff34-0x0;var _0x1d40cd=_0xb4e9[_0x31ff34];return _0x1d40cd;};'use strict';var multer=require(_0x9b4e('0x0'));var util=require('util');var path=require(_0x9b4e('0x1'));var timeout=require(_0x9b4e('0x2'));var express=require(_0x9b4e('0x3'));var router=express['Router']();var auth=require(_0x9b4e('0x4'));var interaction=require('../../components/interaction/service');var config=require(_0x9b4e('0x5'));var controller=require(_0x9b4e('0x6'));router['get']('/',auth[_0x9b4e('0x7')](),controller['index']);router[_0x9b4e('0x8')]('/:id',auth[_0x9b4e('0x7')](),controller[_0x9b4e('0x9')]);router[_0x9b4e('0xa')]('/',auth[_0x9b4e('0x7')](),controller[_0x9b4e('0xb')]);router[_0x9b4e('0xc')](_0x9b4e('0xd'),auth[_0x9b4e('0x7')](),controller[_0x9b4e('0xe')]);router[_0x9b4e('0xf')](_0x9b4e('0xd'),auth[_0x9b4e('0x7')](),controller['destroy']);module[_0x9b4e('0x10')]=router;