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