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 _0xc560=['delete','destroy','exports','multer','util','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','get','isAuthenticated','index','/:id','show','put','update'];(function(_0x5d67fb,_0x1bc746){var _0x3b92e0=function(_0x512521){while(--_0x512521){_0x5d67fb['push'](_0x5d67fb['shift']());}};_0x3b92e0(++_0x1bc746);}(_0xc560,0x1c5));var _0x0c56=function(_0x108579,_0x44bc56){_0x108579=_0x108579-0x0;var _0xd11c6c=_0xc560[_0x108579];return _0xd11c6c;};'use strict';var multer=require(_0x0c56('0x0'));var util=require(_0x0c56('0x1'));var path=require('path');var timeout=require(_0x0c56('0x2'));var express=require(_0x0c56('0x3'));var router=express[_0x0c56('0x4')]();var auth=require(_0x0c56('0x5'));var interaction=require(_0x0c56('0x6'));var config=require(_0x0c56('0x7'));var controller=require('./intVtigerField.controller');router[_0x0c56('0x8')]('/',auth[_0x0c56('0x9')](),controller[_0x0c56('0xa')]);router[_0x0c56('0x8')](_0x0c56('0xb'),auth['isAuthenticated'](),controller[_0x0c56('0xc')]);router['post']('/',auth[_0x0c56('0x9')](),controller['create']);router[_0x0c56('0xd')](_0x0c56('0xb'),auth['isAuthenticated'](),controller[_0x0c56('0xe')]);router[_0x0c56('0xf')](_0x0c56('0xb'),auth[_0x0c56('0x9')](),controller[_0x0c56('0x10')]);module[_0x0c56('0x11')]=router;