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