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 _0xb3ad=['Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./intVtigerField.controller','get','isAuthenticated','index','/:id','show','create','put','update','exports','path','connect-timeout'];(function(_0xa5bd84,_0x287943){var _0x22bcca=function(_0x13f6f4){while(--_0x13f6f4){_0xa5bd84['push'](_0xa5bd84['shift']());}};_0x22bcca(++_0x287943);}(_0xb3ad,0x1a7));var _0xdb3a=function(_0x433b60,_0x1e8ef9){_0x433b60=_0x433b60-0x0;var _0x3acd19=_0xb3ad[_0x433b60];return _0x3acd19;};'use strict';var multer=require('multer');var util=require('util');var path=require(_0xdb3a('0x0'));var timeout=require(_0xdb3a('0x1'));var express=require('express');var router=express[_0xdb3a('0x2')]();var fs_extra=require(_0xdb3a('0x3'));var auth=require(_0xdb3a('0x4'));var interaction=require(_0xdb3a('0x5'));var config=require(_0xdb3a('0x6'));var controller=require(_0xdb3a('0x7'));router[_0xdb3a('0x8')]('/',auth[_0xdb3a('0x9')](),controller[_0xdb3a('0xa')]);router[_0xdb3a('0x8')](_0xdb3a('0xb'),auth['isAuthenticated'](),controller[_0xdb3a('0xc')]);router['post']('/',auth[_0xdb3a('0x9')](),controller[_0xdb3a('0xd')]);router[_0xdb3a('0xe')](_0xdb3a('0xb'),auth[_0xdb3a('0x9')](),controller[_0xdb3a('0xf')]);router['delete'](_0xdb3a('0xb'),auth[_0xdb3a('0x9')](),controller['destroy']);module[_0xdb3a('0x10')]=router;