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 _0x1f85=['show','post','isAuthenticated','create','put','/:id','destroy','exports','multer','util','path','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./intVtigerField.controller','get','index'];(function(_0x143629,_0x56c3e3){var _0x14c8aa=function(_0x23f077){while(--_0x23f077){_0x143629['push'](_0x143629['shift']());}};_0x14c8aa(++_0x56c3e3);}(_0x1f85,0xf8));var _0x51f8=function(_0x53624f,_0x2bb5ee){_0x53624f=_0x53624f-0x0;var _0x10987f=_0x1f85[_0x53624f];return _0x10987f;};'use strict';var multer=require(_0x51f8('0x0'));var util=require(_0x51f8('0x1'));var path=require(_0x51f8('0x2'));var timeout=require(_0x51f8('0x3'));var express=require(_0x51f8('0x4'));var router=express[_0x51f8('0x5')]();var auth=require(_0x51f8('0x6'));var interaction=require(_0x51f8('0x7'));var config=require(_0x51f8('0x8'));var controller=require(_0x51f8('0x9'));router[_0x51f8('0xa')]('/',auth['isAuthenticated'](),controller[_0x51f8('0xb')]);router['get']('/:id',auth['isAuthenticated'](),controller[_0x51f8('0xc')]);router[_0x51f8('0xd')]('/',auth[_0x51f8('0xe')](),controller[_0x51f8('0xf')]);router[_0x51f8('0x10')](_0x51f8('0x11'),auth[_0x51f8('0xe')](),controller['update']);router['delete']('/:id',auth[_0x51f8('0xe')](),controller[_0x51f8('0x12')]);module[_0x51f8('0x13')]=router;