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 _0x183e=['../../components/auth/service','../../components/interaction/service','../../config/environment','./intServicenowAccount.controller','isAuthenticated','index','/:id','get','/:id/configurations','getConfigurations','/:id/fields','getFields','post','create','addConfiguration','put','delete','destroy','exports','multer','util','path','express','Router'];(function(_0x354164,_0x4c30de){var _0x5db9a8=function(_0x319b08){while(--_0x319b08){_0x354164['push'](_0x354164['shift']());}};_0x5db9a8(++_0x4c30de);}(_0x183e,0x193));var _0xe183=function(_0x9706d0,_0x2cb8b7){_0x9706d0=_0x9706d0-0x0;var _0x1d2cf5=_0x183e[_0x9706d0];return _0x1d2cf5;};'use strict';var multer=require(_0xe183('0x0'));var util=require(_0xe183('0x1'));var path=require(_0xe183('0x2'));var timeout=require('connect-timeout');var express=require(_0xe183('0x3'));var router=express[_0xe183('0x4')]();var auth=require(_0xe183('0x5'));var interaction=require(_0xe183('0x6'));var config=require(_0xe183('0x7'));var controller=require(_0xe183('0x8'));router['get']('/',auth[_0xe183('0x9')](),controller[_0xe183('0xa')]);router['get'](_0xe183('0xb'),auth[_0xe183('0x9')](),controller['show']);router[_0xe183('0xc')](_0xe183('0xd'),auth[_0xe183('0x9')](),controller[_0xe183('0xe')]);router[_0xe183('0xc')](_0xe183('0xf'),auth['isAuthenticated'](),controller[_0xe183('0x10')]);router[_0xe183('0x11')]('/',auth[_0xe183('0x9')](),controller[_0xe183('0x12')]);router[_0xe183('0x11')](_0xe183('0xd'),auth[_0xe183('0x9')](),controller[_0xe183('0x13')]);router[_0xe183('0x14')](_0xe183('0xb'),auth[_0xe183('0x9')](),controller['update']);router[_0xe183('0x15')](_0xe183('0xb'),auth[_0xe183('0x9')](),controller[_0xe183('0x16')]);module[_0xe183('0x17')]=router;