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 _0x3064=['isAuthenticated','index','get','/:id','getConfigurations','/:id/fields','post','create','/:id/configurations','addConfiguration','put','update','delete','destroy','multer','util','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./intDynamics365Account.controller'];(function(_0x4cf98e,_0xba4b79){var _0x1623ac=function(_0x459bc0){while(--_0x459bc0){_0x4cf98e['push'](_0x4cf98e['shift']());}};_0x1623ac(++_0xba4b79);}(_0x3064,0xc6));var _0x4306=function(_0x206f65,_0x236430){_0x206f65=_0x206f65-0x0;var _0x18e881=_0x3064[_0x206f65];return _0x18e881;};'use strict';var multer=require(_0x4306('0x0'));var util=require(_0x4306('0x1'));var path=require('path');var timeout=require(_0x4306('0x2'));var express=require(_0x4306('0x3'));var router=express[_0x4306('0x4')]();var auth=require(_0x4306('0x5'));var interaction=require(_0x4306('0x6'));var config=require(_0x4306('0x7'));var controller=require(_0x4306('0x8'));router['get']('/',auth[_0x4306('0x9')](),controller[_0x4306('0xa')]);router[_0x4306('0xb')](_0x4306('0xc'),auth['isAuthenticated'](),controller['show']);router[_0x4306('0xb')]('/:id/configurations',auth['isAuthenticated'](),controller[_0x4306('0xd')]);router[_0x4306('0xb')](_0x4306('0xe'),auth[_0x4306('0x9')](),controller['getFields']);router[_0x4306('0xf')]('/',auth[_0x4306('0x9')](),controller[_0x4306('0x10')]);router[_0x4306('0xf')](_0x4306('0x11'),auth[_0x4306('0x9')](),controller[_0x4306('0x12')]);router[_0x4306('0x13')](_0x4306('0xc'),auth[_0x4306('0x9')](),controller[_0x4306('0x14')]);router[_0x4306('0x15')](_0x4306('0xc'),auth[_0x4306('0x9')](),controller[_0x4306('0x16')]);module['exports']=router;