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 _0xbc1c=['express','Router','fs-extra','../../components/auth/service','../../config/environment','./intVtigerField.controller','isAuthenticated','index','get','/:id','show','post','create','put','delete','exports','multer','util','path'];(function(_0x3a0d89,_0x4256f8){var _0x51c8f1=function(_0x965c3){while(--_0x965c3){_0x3a0d89['push'](_0x3a0d89['shift']());}};_0x51c8f1(++_0x4256f8);}(_0xbc1c,0x140));var _0xcbc1=function(_0x4fd82a,_0x29d9d5){_0x4fd82a=_0x4fd82a-0x0;var _0x21d2a8=_0xbc1c[_0x4fd82a];return _0x21d2a8;};'use strict';var multer=require(_0xcbc1('0x0'));var util=require(_0xcbc1('0x1'));var path=require(_0xcbc1('0x2'));var timeout=require('connect-timeout');var express=require(_0xcbc1('0x3'));var router=express[_0xcbc1('0x4')]();var fs_extra=require(_0xcbc1('0x5'));var auth=require(_0xcbc1('0x6'));var interaction=require('../../components/interaction/service');var config=require(_0xcbc1('0x7'));var controller=require(_0xcbc1('0x8'));router['get']('/',auth[_0xcbc1('0x9')](),controller[_0xcbc1('0xa')]);router[_0xcbc1('0xb')](_0xcbc1('0xc'),auth[_0xcbc1('0x9')](),controller[_0xcbc1('0xd')]);router[_0xcbc1('0xe')]('/',auth[_0xcbc1('0x9')](),controller[_0xcbc1('0xf')]);router[_0xcbc1('0x10')]('/:id',auth[_0xcbc1('0x9')](),controller['update']);router[_0xcbc1('0x11')](_0xcbc1('0xc'),auth[_0xcbc1('0x9')](),controller['destroy']);module[_0xcbc1('0x12')]=router;