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 _0xf726=['multer','util','path','connect-timeout','express','Router','../../components/interaction/service','../../config/environment','./intVtigerField.controller','isAuthenticated','index','get','/:id','show','post','create','put','update','delete','destroy','exports'];(function(_0x64924c,_0x472da8){var _0x1b8e46=function(_0x3561fe){while(--_0x3561fe){_0x64924c['push'](_0x64924c['shift']());}};_0x1b8e46(++_0x472da8);}(_0xf726,0x18f));var _0x6f72=function(_0x27d3d3,_0x56dc7e){_0x27d3d3=_0x27d3d3-0x0;var _0x290cdb=_0xf726[_0x27d3d3];return _0x290cdb;};'use strict';var multer=require(_0x6f72('0x0'));var util=require(_0x6f72('0x1'));var path=require(_0x6f72('0x2'));var timeout=require(_0x6f72('0x3'));var express=require(_0x6f72('0x4'));var router=express[_0x6f72('0x5')]();var auth=require('../../components/auth/service');var interaction=require(_0x6f72('0x6'));var config=require(_0x6f72('0x7'));var controller=require(_0x6f72('0x8'));router['get']('/',auth[_0x6f72('0x9')](),controller[_0x6f72('0xa')]);router[_0x6f72('0xb')](_0x6f72('0xc'),auth[_0x6f72('0x9')](),controller[_0x6f72('0xd')]);router[_0x6f72('0xe')]('/',auth[_0x6f72('0x9')](),controller[_0x6f72('0xf')]);router[_0x6f72('0x10')](_0x6f72('0xc'),auth[_0x6f72('0x9')](),controller[_0x6f72('0x11')]);router[_0x6f72('0x12')](_0x6f72('0xc'),auth[_0x6f72('0x9')](),controller[_0x6f72('0x13')]);module[_0x6f72('0x14')]=router;