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 _0x7b88=['../../components/auth/service','../../components/interaction/service','../../config/environment','./intServicenowField.controller','get','index','isAuthenticated','create','put','/:id','update','delete','destroy','exports','util','connect-timeout','express','Router'];(function(_0x4c5b3e,_0x11b454){var _0x1c3a80=function(_0x373c94){while(--_0x373c94){_0x4c5b3e['push'](_0x4c5b3e['shift']());}};_0x1c3a80(++_0x11b454);}(_0x7b88,0x19a));var _0x87b8=function(_0x2b9b7f,_0x4d47df){_0x2b9b7f=_0x2b9b7f-0x0;var _0x4ed19a=_0x7b88[_0x2b9b7f];return _0x4ed19a;};'use strict';var multer=require('multer');var util=require(_0x87b8('0x0'));var path=require('path');var timeout=require(_0x87b8('0x1'));var express=require(_0x87b8('0x2'));var router=express[_0x87b8('0x3')]();var fs_extra=require('fs-extra');var auth=require(_0x87b8('0x4'));var interaction=require(_0x87b8('0x5'));var config=require(_0x87b8('0x6'));var controller=require(_0x87b8('0x7'));router[_0x87b8('0x8')]('/',auth['isAuthenticated'](),controller[_0x87b8('0x9')]);router[_0x87b8('0x8')]('/:id',auth[_0x87b8('0xa')](),controller['show']);router['post']('/',auth[_0x87b8('0xa')](),controller[_0x87b8('0xb')]);router[_0x87b8('0xc')](_0x87b8('0xd'),auth[_0x87b8('0xa')](),controller[_0x87b8('0xe')]);router[_0x87b8('0xf')](_0x87b8('0xd'),auth[_0x87b8('0xa')](),controller[_0x87b8('0x10')]);module[_0x87b8('0x11')]=router;