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 _0x0a22=['/:id/descriptions','post','create','update','destroy','exports','multer','path','express','../../components/auth/service','../../config/environment','./intDynamics365Configuration.controller','get','isAuthenticated','index','/:id','show','/:id/fields','/:id/subjects','getSubjects'];(function(_0x1bb67d,_0x19d49c){var _0x2a3ce2=function(_0x5cbcc7){while(--_0x5cbcc7){_0x1bb67d['push'](_0x1bb67d['shift']());}};_0x2a3ce2(++_0x19d49c);}(_0x0a22,0x11e));var _0x20a2=function(_0x5736e8,_0x2f933f){_0x5736e8=_0x5736e8-0x0;var _0xd092d4=_0x0a22[_0x5736e8];return _0xd092d4;};'use strict';var multer=require(_0x20a2('0x0'));var util=require('util');var path=require(_0x20a2('0x1'));var timeout=require('connect-timeout');var express=require(_0x20a2('0x2'));var router=express['Router']();var auth=require(_0x20a2('0x3'));var interaction=require('../../components/interaction/service');var config=require(_0x20a2('0x4'));var controller=require(_0x20a2('0x5'));router[_0x20a2('0x6')]('/',auth[_0x20a2('0x7')](),controller[_0x20a2('0x8')]);router[_0x20a2('0x6')](_0x20a2('0x9'),auth[_0x20a2('0x7')](),controller[_0x20a2('0xa')]);router['get'](_0x20a2('0xb'),auth[_0x20a2('0x7')](),controller['getFields']);router['get'](_0x20a2('0xc'),auth[_0x20a2('0x7')](),controller[_0x20a2('0xd')]);router[_0x20a2('0x6')](_0x20a2('0xe'),auth[_0x20a2('0x7')](),controller['getDescriptions']);router[_0x20a2('0xf')]('/',auth[_0x20a2('0x7')](),controller[_0x20a2('0x10')]);router['put'](_0x20a2('0x9'),auth['isAuthenticated'](),controller[_0x20a2('0x11')]);router['delete'](_0x20a2('0x9'),auth[_0x20a2('0x7')](),controller[_0x20a2('0x12')]);module[_0x20a2('0x13')]=router;