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 _0x70c6=['util','../../components/auth/service','../../components/interaction/service','../../config/environment','./intVtigerField.controller','get','isAuthenticated','/:id','show','post','create','put','delete','destroy','exports','multer'];(function(_0x2641f9,_0x26715f){var _0x585741=function(_0x2d1462){while(--_0x2d1462){_0x2641f9['push'](_0x2641f9['shift']());}};_0x585741(++_0x26715f);}(_0x70c6,0x1af));var _0x670c=function(_0x4e676e,_0x2a7c6d){_0x4e676e=_0x4e676e-0x0;var _0x336a3c=_0x70c6[_0x4e676e];return _0x336a3c;};'use strict';var multer=require(_0x670c('0x0'));var util=require(_0x670c('0x1'));var path=require('path');var timeout=require('connect-timeout');var express=require('express');var router=express['Router']();var auth=require(_0x670c('0x2'));var interaction=require(_0x670c('0x3'));var config=require(_0x670c('0x4'));var controller=require(_0x670c('0x5'));router[_0x670c('0x6')]('/',auth[_0x670c('0x7')](),controller['index']);router[_0x670c('0x6')](_0x670c('0x8'),auth[_0x670c('0x7')](),controller[_0x670c('0x9')]);router[_0x670c('0xa')]('/',auth[_0x670c('0x7')](),controller[_0x670c('0xb')]);router[_0x670c('0xc')](_0x670c('0x8'),auth[_0x670c('0x7')](),controller['update']);router[_0x670c('0xd')]('/:id',auth[_0x670c('0x7')](),controller[_0x670c('0xe')]);module[_0x670c('0xf')]=router;