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 _0x280b=['/:id/fields','create','addConfiguration','put','update','delete','destroy','exports','multer','util','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./intServicenowAccount.controller','get','isAuthenticated','/:id','/:id/configurations','getConfigurations'];(function(_0x6dfbaa,_0x31eede){var _0xfbe02=function(_0x4adcaf){while(--_0x4adcaf){_0x6dfbaa['push'](_0x6dfbaa['shift']());}};_0xfbe02(++_0x31eede);}(_0x280b,0xce));var _0xb280=function(_0x2f5ac5,_0x1ee939){_0x2f5ac5=_0x2f5ac5-0x0;var _0x37c9a8=_0x280b[_0x2f5ac5];return _0x37c9a8;};'use strict';var multer=require(_0xb280('0x0'));var util=require(_0xb280('0x1'));var path=require('path');var timeout=require(_0xb280('0x2'));var express=require(_0xb280('0x3'));var router=express[_0xb280('0x4')]();var auth=require(_0xb280('0x5'));var interaction=require(_0xb280('0x6'));var config=require(_0xb280('0x7'));var controller=require(_0xb280('0x8'));router[_0xb280('0x9')]('/',auth[_0xb280('0xa')](),controller['index']);router['get'](_0xb280('0xb'),auth[_0xb280('0xa')](),controller['show']);router[_0xb280('0x9')](_0xb280('0xc'),auth[_0xb280('0xa')](),controller[_0xb280('0xd')]);router[_0xb280('0x9')](_0xb280('0xe'),auth[_0xb280('0xa')](),controller['getFields']);router['post']('/',auth[_0xb280('0xa')](),controller[_0xb280('0xf')]);router['post'](_0xb280('0xc'),auth[_0xb280('0xa')](),controller[_0xb280('0x10')]);router[_0xb280('0x11')](_0xb280('0xb'),auth[_0xb280('0xa')](),controller[_0xb280('0x12')]);router[_0xb280('0x13')](_0xb280('0xb'),auth[_0xb280('0xa')](),controller[_0xb280('0x14')]);module[_0xb280('0x15')]=router;