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