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