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 _0xf018=['post','create','put','update','delete','destroy','exports','multer','util','path','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./intVtigerField.controller','get','isAuthenticated','index','/:id','show'];(function(_0x407387,_0xec3601){var _0x167d61=function(_0x36a285){while(--_0x36a285){_0x407387['push'](_0x407387['shift']());}};_0x167d61(++_0xec3601);}(_0xf018,0x85));var _0x8f01=function(_0x167cc1,_0x56ef5a){_0x167cc1=_0x167cc1-0x0;var _0x10bc4b=_0xf018[_0x167cc1];return _0x10bc4b;};'use strict';var multer=require(_0x8f01('0x0'));var util=require(_0x8f01('0x1'));var path=require(_0x8f01('0x2'));var timeout=require('connect-timeout');var express=require('express');var router=express[_0x8f01('0x3')]();var fs_extra=require(_0x8f01('0x4'));var auth=require(_0x8f01('0x5'));var interaction=require(_0x8f01('0x6'));var config=require(_0x8f01('0x7'));var controller=require(_0x8f01('0x8'));router[_0x8f01('0x9')]('/',auth[_0x8f01('0xa')](),controller[_0x8f01('0xb')]);router[_0x8f01('0x9')](_0x8f01('0xc'),auth[_0x8f01('0xa')](),controller[_0x8f01('0xd')]);router[_0x8f01('0xe')]('/',auth[_0x8f01('0xa')](),controller[_0x8f01('0xf')]);router[_0x8f01('0x10')](_0x8f01('0xc'),auth['isAuthenticated'](),controller[_0x8f01('0x11')]);router[_0x8f01('0x12')]('/:id',auth[_0x8f01('0xa')](),controller[_0x8f01('0x13')]);module[_0x8f01('0x14')]=router;