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 _0xf966=['isAuthenticated','index','/:id','show','/:id/configurations','/:id/fields','getFields','create','post','addConfiguration','update','delete','exports','multer','util','path','connect-timeout','express','Router','../../components/auth/service','./intServicenowAccount.controller','get'];(function(_0x31004a,_0x91730){var _0x14ac70=function(_0x37db9e){while(--_0x37db9e){_0x31004a['push'](_0x31004a['shift']());}};_0x14ac70(++_0x91730);}(_0xf966,0x65));var _0x6f96=function(_0x164515,_0x4c9255){_0x164515=_0x164515-0x0;var _0x2409d0=_0xf966[_0x164515];return _0x2409d0;};'use strict';var multer=require(_0x6f96('0x0'));var util=require(_0x6f96('0x1'));var path=require(_0x6f96('0x2'));var timeout=require(_0x6f96('0x3'));var express=require(_0x6f96('0x4'));var router=express[_0x6f96('0x5')]();var fs_extra=require('fs-extra');var auth=require(_0x6f96('0x6'));var interaction=require('../../components/interaction/service');var config=require('../../config/environment');var controller=require(_0x6f96('0x7'));router[_0x6f96('0x8')]('/',auth[_0x6f96('0x9')](),controller[_0x6f96('0xa')]);router[_0x6f96('0x8')](_0x6f96('0xb'),auth['isAuthenticated'](),controller[_0x6f96('0xc')]);router[_0x6f96('0x8')](_0x6f96('0xd'),auth[_0x6f96('0x9')](),controller['getConfigurations']);router[_0x6f96('0x8')](_0x6f96('0xe'),auth['isAuthenticated'](),controller[_0x6f96('0xf')]);router['post']('/',auth[_0x6f96('0x9')](),controller[_0x6f96('0x10')]);router[_0x6f96('0x11')](_0x6f96('0xd'),auth[_0x6f96('0x9')](),controller[_0x6f96('0x12')]);router['put'](_0x6f96('0xb'),auth[_0x6f96('0x9')](),controller[_0x6f96('0x13')]);router[_0x6f96('0x14')](_0x6f96('0xb'),auth[_0x6f96('0x9')](),controller['destroy']);module[_0x6f96('0x15')]=router;