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 _0x0ba4=['./intVtigerField.controller','get','isAuthenticated','index','/:id','show','post','create','put','delete','exports','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment'];(function(_0x13e741,_0x5d3c24){var _0x3f8bb3=function(_0x4440a0){while(--_0x4440a0){_0x13e741['push'](_0x13e741['shift']());}};_0x3f8bb3(++_0x5d3c24);}(_0x0ba4,0x14e));var _0x40ba=function(_0x37ea15,_0x5a0470){_0x37ea15=_0x37ea15-0x0;var _0x453798=_0x0ba4[_0x37ea15];return _0x453798;};'use strict';var multer=require('multer');var util=require('util');var path=require('path');var timeout=require(_0x40ba('0x0'));var express=require(_0x40ba('0x1'));var router=express[_0x40ba('0x2')]();var auth=require(_0x40ba('0x3'));var interaction=require(_0x40ba('0x4'));var config=require(_0x40ba('0x5'));var controller=require(_0x40ba('0x6'));router[_0x40ba('0x7')]('/',auth[_0x40ba('0x8')](),controller[_0x40ba('0x9')]);router[_0x40ba('0x7')](_0x40ba('0xa'),auth[_0x40ba('0x8')](),controller[_0x40ba('0xb')]);router[_0x40ba('0xc')]('/',auth[_0x40ba('0x8')](),controller[_0x40ba('0xd')]);router[_0x40ba('0xe')](_0x40ba('0xa'),auth[_0x40ba('0x8')](),controller['update']);router[_0x40ba('0xf')](_0x40ba('0xa'),auth[_0x40ba('0x8')](),controller['destroy']);module[_0x40ba('0x10')]=router;