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