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