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