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 _0xfe42=['../../config/environment','./intDynamics365Configuration.controller','isAuthenticated','index','get','/:id','/:id/fields','getFields','/:id/subjects','/:id/descriptions','getDescriptions','post','create','put','update','delete','destroy','exports','multer','util','path','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service'];(function(_0x17841e,_0x3cb2ef){var _0x490ed5=function(_0x59572e){while(--_0x59572e){_0x17841e['push'](_0x17841e['shift']());}};_0x490ed5(++_0x3cb2ef);}(_0xfe42,0xfc));var _0x2fe4=function(_0x45d217,_0x2d0ce6){_0x45d217=_0x45d217-0x0;var _0x413bc7=_0xfe42[_0x45d217];return _0x413bc7;};'use strict';var multer=require(_0x2fe4('0x0'));var util=require(_0x2fe4('0x1'));var path=require(_0x2fe4('0x2'));var timeout=require(_0x2fe4('0x3'));var express=require(_0x2fe4('0x4'));var router=express[_0x2fe4('0x5')]();var auth=require(_0x2fe4('0x6'));var interaction=require(_0x2fe4('0x7'));var config=require(_0x2fe4('0x8'));var controller=require(_0x2fe4('0x9'));router['get']('/',auth[_0x2fe4('0xa')](),controller[_0x2fe4('0xb')]);router[_0x2fe4('0xc')](_0x2fe4('0xd'),auth['isAuthenticated'](),controller['show']);router[_0x2fe4('0xc')](_0x2fe4('0xe'),auth[_0x2fe4('0xa')](),controller[_0x2fe4('0xf')]);router[_0x2fe4('0xc')](_0x2fe4('0x10'),auth[_0x2fe4('0xa')](),controller['getSubjects']);router['get'](_0x2fe4('0x11'),auth['isAuthenticated'](),controller[_0x2fe4('0x12')]);router[_0x2fe4('0x13')]('/',auth[_0x2fe4('0xa')](),controller[_0x2fe4('0x14')]);router[_0x2fe4('0x15')](_0x2fe4('0xd'),auth[_0x2fe4('0xa')](),controller[_0x2fe4('0x16')]);router[_0x2fe4('0x17')]('/:id',auth[_0x2fe4('0xa')](),controller[_0x2fe4('0x18')]);module[_0x2fe4('0x19')]=router;