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 _0x99e4=['show','/:id/configurations','getFields','post','put','update','exports','multer','path','connect-timeout','express','Router','../../components/auth/service','../../config/environment','./intDynamics365Account.controller','get','isAuthenticated','/:id'];(function(_0x3f1ec4,_0x492f6e){var _0x534f38=function(_0x2e9a3e){while(--_0x2e9a3e){_0x3f1ec4['push'](_0x3f1ec4['shift']());}};_0x534f38(++_0x492f6e);}(_0x99e4,0xdf));var _0x499e=function(_0x50fe9d,_0x22bd5a){_0x50fe9d=_0x50fe9d-0x0;var _0x272696=_0x99e4[_0x50fe9d];return _0x272696;};'use strict';var multer=require(_0x499e('0x0'));var util=require('util');var path=require(_0x499e('0x1'));var timeout=require(_0x499e('0x2'));var express=require(_0x499e('0x3'));var router=express[_0x499e('0x4')]();var auth=require(_0x499e('0x5'));var interaction=require('../../components/interaction/service');var config=require(_0x499e('0x6'));var controller=require(_0x499e('0x7'));router[_0x499e('0x8')]('/',auth[_0x499e('0x9')](),controller['index']);router[_0x499e('0x8')](_0x499e('0xa'),auth[_0x499e('0x9')](),controller[_0x499e('0xb')]);router['get'](_0x499e('0xc'),auth[_0x499e('0x9')](),controller['getConfigurations']);router['get']('/:id/fields',auth[_0x499e('0x9')](),controller[_0x499e('0xd')]);router[_0x499e('0xe')]('/',auth[_0x499e('0x9')](),controller['create']);router[_0x499e('0xe')](_0x499e('0xc'),auth[_0x499e('0x9')](),controller['addConfiguration']);router[_0x499e('0xf')](_0x499e('0xa'),auth['isAuthenticated'](),controller[_0x499e('0x10')]);router['delete'](_0x499e('0xa'),auth['isAuthenticated'](),controller['destroy']);module[_0x499e('0x11')]=router;