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 _0x3bf2=['getFields','/:id/subjects','getSubjects','/:id/descriptions','post','create','delete','destroy','exports','path','express','Router','fs-extra','../../components/auth/service','../../config/environment','./intDynamics365Configuration.controller','get','isAuthenticated','index','/:id','show','/:id/fields'];(function(_0x3555f0,_0x5381be){var _0x13f48d=function(_0x2ff449){while(--_0x2ff449){_0x3555f0['push'](_0x3555f0['shift']());}};_0x13f48d(++_0x5381be);}(_0x3bf2,0x169));var _0x23bf=function(_0x40d8fc,_0x7f3dd7){_0x40d8fc=_0x40d8fc-0x0;var _0x55971c=_0x3bf2[_0x40d8fc];return _0x55971c;};'use strict';var multer=require('multer');var util=require('util');var path=require(_0x23bf('0x0'));var timeout=require('connect-timeout');var express=require(_0x23bf('0x1'));var router=express[_0x23bf('0x2')]();var fs_extra=require(_0x23bf('0x3'));var auth=require(_0x23bf('0x4'));var interaction=require('../../components/interaction/service');var config=require(_0x23bf('0x5'));var controller=require(_0x23bf('0x6'));router[_0x23bf('0x7')]('/',auth[_0x23bf('0x8')](),controller[_0x23bf('0x9')]);router[_0x23bf('0x7')](_0x23bf('0xa'),auth[_0x23bf('0x8')](),controller[_0x23bf('0xb')]);router['get'](_0x23bf('0xc'),auth[_0x23bf('0x8')](),controller[_0x23bf('0xd')]);router['get'](_0x23bf('0xe'),auth[_0x23bf('0x8')](),controller[_0x23bf('0xf')]);router[_0x23bf('0x7')](_0x23bf('0x10'),auth[_0x23bf('0x8')](),controller['getDescriptions']);router[_0x23bf('0x11')]('/',auth[_0x23bf('0x8')](),controller[_0x23bf('0x12')]);router['put'](_0x23bf('0xa'),auth[_0x23bf('0x8')](),controller['update']);router[_0x23bf('0x13')](_0x23bf('0xa'),auth[_0x23bf('0x8')](),controller[_0x23bf('0x14')]);module[_0x23bf('0x15')]=router;