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 _0x94da=['/:id/configurations','getConfigurations','getFields','post','addConfiguration','put','update','delete','destroy','exports','multer','connect-timeout','express','Router','../../components/auth/service','./intDynamics365Account.controller','get','isAuthenticated','index','/:id'];(function(_0x454944,_0x31279d){var _0xf3ec64=function(_0x55cb85){while(--_0x55cb85){_0x454944['push'](_0x454944['shift']());}};_0xf3ec64(++_0x31279d);}(_0x94da,0x1ea));var _0xa94d=function(_0x38537f,_0x252124){_0x38537f=_0x38537f-0x0;var _0x141e23=_0x94da[_0x38537f];return _0x141e23;};'use strict';var multer=require(_0xa94d('0x0'));var util=require('util');var path=require('path');var timeout=require(_0xa94d('0x1'));var express=require(_0xa94d('0x2'));var router=express[_0xa94d('0x3')]();var auth=require(_0xa94d('0x4'));var interaction=require('../../components/interaction/service');var config=require('../../config/environment');var controller=require(_0xa94d('0x5'));router[_0xa94d('0x6')]('/',auth[_0xa94d('0x7')](),controller[_0xa94d('0x8')]);router['get'](_0xa94d('0x9'),auth[_0xa94d('0x7')](),controller['show']);router['get'](_0xa94d('0xa'),auth[_0xa94d('0x7')](),controller[_0xa94d('0xb')]);router[_0xa94d('0x6')]('/:id/fields',auth[_0xa94d('0x7')](),controller[_0xa94d('0xc')]);router[_0xa94d('0xd')]('/',auth[_0xa94d('0x7')](),controller['create']);router[_0xa94d('0xd')](_0xa94d('0xa'),auth['isAuthenticated'](),controller[_0xa94d('0xe')]);router[_0xa94d('0xf')](_0xa94d('0x9'),auth['isAuthenticated'](),controller[_0xa94d('0x10')]);router[_0xa94d('0x11')]('/:id',auth[_0xa94d('0x7')](),controller[_0xa94d('0x12')]);module[_0xa94d('0x13')]=router;