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