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 _0xff06=['multer','util','path','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./intServicenowConfiguration.controller','get','isAuthenticated','index','/:id','show','/:id/fields','/:id/subjects','getSubjects','/:id/descriptions','getDescriptions','post','create','update','delete','destroy','exports'];(function(_0x5a4e75,_0x12f202){var _0x5bee2f=function(_0x3aa291){while(--_0x3aa291){_0x5a4e75['push'](_0x5a4e75['shift']());}};_0x5bee2f(++_0x12f202);}(_0xff06,0x1e6));var _0x6ff0=function(_0x2e7c96,_0x27804d){_0x2e7c96=_0x2e7c96-0x0;var _0x36008e=_0xff06[_0x2e7c96];return _0x36008e;};'use strict';var multer=require(_0x6ff0('0x0'));var util=require(_0x6ff0('0x1'));var path=require(_0x6ff0('0x2'));var timeout=require(_0x6ff0('0x3'));var express=require(_0x6ff0('0x4'));var router=express[_0x6ff0('0x5')]();var fs_extra=require(_0x6ff0('0x6'));var auth=require(_0x6ff0('0x7'));var interaction=require(_0x6ff0('0x8'));var config=require(_0x6ff0('0x9'));var controller=require(_0x6ff0('0xa'));router[_0x6ff0('0xb')]('/',auth[_0x6ff0('0xc')](),controller[_0x6ff0('0xd')]);router['get'](_0x6ff0('0xe'),auth[_0x6ff0('0xc')](),controller[_0x6ff0('0xf')]);router['get'](_0x6ff0('0x10'),auth[_0x6ff0('0xc')](),controller['getFields']);router[_0x6ff0('0xb')](_0x6ff0('0x11'),auth[_0x6ff0('0xc')](),controller[_0x6ff0('0x12')]);router[_0x6ff0('0xb')](_0x6ff0('0x13'),auth[_0x6ff0('0xc')](),controller[_0x6ff0('0x14')]);router[_0x6ff0('0x15')]('/',auth[_0x6ff0('0xc')](),controller[_0x6ff0('0x16')]);router['put'](_0x6ff0('0xe'),auth['isAuthenticated'](),controller[_0x6ff0('0x17')]);router[_0x6ff0('0x18')](_0x6ff0('0xe'),auth[_0x6ff0('0xc')](),controller[_0x6ff0('0x19')]);module[_0x6ff0('0x1a')]=router;