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 _0x4c4a=['connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./intVtigerField.controller','get','isAuthenticated','/:id','show','post','create','put','update','delete','destroy','exports','util'];(function(_0x1e97a5,_0x37a2e9){var _0x42915d=function(_0x63f93b){while(--_0x63f93b){_0x1e97a5['push'](_0x1e97a5['shift']());}};_0x42915d(++_0x37a2e9);}(_0x4c4a,0xf6));var _0xa4c4=function(_0x54d5ba,_0x1f1ba9){_0x54d5ba=_0x54d5ba-0x0;var _0x6a592e=_0x4c4a[_0x54d5ba];return _0x6a592e;};'use strict';var multer=require('multer');var util=require(_0xa4c4('0x0'));var path=require('path');var timeout=require(_0xa4c4('0x1'));var express=require(_0xa4c4('0x2'));var router=express[_0xa4c4('0x3')]();var auth=require(_0xa4c4('0x4'));var interaction=require(_0xa4c4('0x5'));var config=require(_0xa4c4('0x6'));var controller=require(_0xa4c4('0x7'));router[_0xa4c4('0x8')]('/',auth[_0xa4c4('0x9')](),controller['index']);router[_0xa4c4('0x8')](_0xa4c4('0xa'),auth[_0xa4c4('0x9')](),controller[_0xa4c4('0xb')]);router[_0xa4c4('0xc')]('/',auth[_0xa4c4('0x9')](),controller[_0xa4c4('0xd')]);router[_0xa4c4('0xe')](_0xa4c4('0xa'),auth[_0xa4c4('0x9')](),controller[_0xa4c4('0xf')]);router[_0xa4c4('0x10')]('/:id',auth[_0xa4c4('0x9')](),controller[_0xa4c4('0x11')]);module[_0xa4c4('0x12')]=router;