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