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