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