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 _0xe66a=['multer','util','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./intDynamics365Account.controller','isAuthenticated','index','/:id','show','get','/:id/configurations','getConfigurations','/:id/fields','getFields','post','create','addConfiguration','put','update','delete','exports'];(function(_0x5a175f,_0x51564a){var _0x7c9b32=function(_0x393922){while(--_0x393922){_0x5a175f['push'](_0x5a175f['shift']());}};_0x7c9b32(++_0x51564a);}(_0xe66a,0x1d4));var _0xae66=function(_0x564819,_0xb162de){_0x564819=_0x564819-0x0;var _0x1d3bd2=_0xe66a[_0x564819];return _0x1d3bd2;};'use strict';var multer=require(_0xae66('0x0'));var util=require(_0xae66('0x1'));var path=require('path');var timeout=require(_0xae66('0x2'));var express=require(_0xae66('0x3'));var router=express[_0xae66('0x4')]();var fs_extra=require(_0xae66('0x5'));var auth=require(_0xae66('0x6'));var interaction=require(_0xae66('0x7'));var config=require(_0xae66('0x8'));var controller=require(_0xae66('0x9'));router['get']('/',auth[_0xae66('0xa')](),controller[_0xae66('0xb')]);router['get'](_0xae66('0xc'),auth[_0xae66('0xa')](),controller[_0xae66('0xd')]);router[_0xae66('0xe')](_0xae66('0xf'),auth['isAuthenticated'](),controller[_0xae66('0x10')]);router[_0xae66('0xe')](_0xae66('0x11'),auth[_0xae66('0xa')](),controller[_0xae66('0x12')]);router[_0xae66('0x13')]('/',auth['isAuthenticated'](),controller[_0xae66('0x14')]);router[_0xae66('0x13')](_0xae66('0xf'),auth[_0xae66('0xa')](),controller[_0xae66('0x15')]);router[_0xae66('0x16')]('/:id',auth[_0xae66('0xa')](),controller[_0xae66('0x17')]);router[_0xae66('0x18')](_0xae66('0xc'),auth[_0xae66('0xa')](),controller['destroy']);module[_0xae66('0x19')]=router;