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 _0x219e=['get','/:id/fields','getFields','/:id/subjects','/:id/descriptions','post','create','put','/:id','destroy','exports','path','../../components/auth/service','./intDynamics365Configuration.controller','isAuthenticated','index','show'];(function(_0x3ea78e,_0x33ddb4){var _0x4ec60b=function(_0x10770e){while(--_0x10770e){_0x3ea78e['push'](_0x3ea78e['shift']());}};_0x4ec60b(++_0x33ddb4);}(_0x219e,0x15f));var _0xe219=function(_0x2aec52,_0x59d962){_0x2aec52=_0x2aec52-0x0;var _0x3b8835=_0x219e[_0x2aec52];return _0x3b8835;};'use strict';var multer=require('multer');var util=require('util');var path=require(_0xe219('0x0'));var timeout=require('connect-timeout');var express=require('express');var router=express['Router']();var auth=require(_0xe219('0x1'));var interaction=require('../../components/interaction/service');var config=require('../../config/environment');var controller=require(_0xe219('0x2'));router['get']('/',auth[_0xe219('0x3')](),controller[_0xe219('0x4')]);router['get']('/:id',auth[_0xe219('0x3')](),controller[_0xe219('0x5')]);router[_0xe219('0x6')](_0xe219('0x7'),auth[_0xe219('0x3')](),controller[_0xe219('0x8')]);router[_0xe219('0x6')](_0xe219('0x9'),auth[_0xe219('0x3')](),controller['getSubjects']);router[_0xe219('0x6')](_0xe219('0xa'),auth[_0xe219('0x3')](),controller['getDescriptions']);router[_0xe219('0xb')]('/',auth[_0xe219('0x3')](),controller[_0xe219('0xc')]);router[_0xe219('0xd')](_0xe219('0xe'),auth[_0xe219('0x3')](),controller['update']);router['delete'](_0xe219('0xe'),auth['isAuthenticated'](),controller[_0xe219('0xf')]);module[_0xe219('0x10')]=router;