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