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 _0xf6ae=['../../components/auth/service','../../components/interaction/service','../../config/environment','./intDynamics365Configuration.controller','index','get','isAuthenticated','show','getFields','/:id/subjects','getSubjects','getDescriptions','post','put','/:id','update','delete','destroy','exports','multer','connect-timeout','Router'];(function(_0x4ce01c,_0x48f585){var _0x2772df=function(_0x112d24){while(--_0x112d24){_0x4ce01c['push'](_0x4ce01c['shift']());}};_0x2772df(++_0x48f585);}(_0xf6ae,0x19f));var _0xef6a=function(_0x44205,_0x56088b){_0x44205=_0x44205-0x0;var _0x434b18=_0xf6ae[_0x44205];return _0x434b18;};'use strict';var multer=require(_0xef6a('0x0'));var util=require('util');var path=require('path');var timeout=require(_0xef6a('0x1'));var express=require('express');var router=express[_0xef6a('0x2')]();var auth=require(_0xef6a('0x3'));var interaction=require(_0xef6a('0x4'));var config=require(_0xef6a('0x5'));var controller=require(_0xef6a('0x6'));router['get']('/',auth['isAuthenticated'](),controller[_0xef6a('0x7')]);router[_0xef6a('0x8')]('/:id',auth[_0xef6a('0x9')](),controller[_0xef6a('0xa')]);router[_0xef6a('0x8')]('/:id/fields',auth[_0xef6a('0x9')](),controller[_0xef6a('0xb')]);router['get'](_0xef6a('0xc'),auth['isAuthenticated'](),controller[_0xef6a('0xd')]);router[_0xef6a('0x8')]('/:id/descriptions',auth[_0xef6a('0x9')](),controller[_0xef6a('0xe')]);router[_0xef6a('0xf')]('/',auth[_0xef6a('0x9')](),controller['create']);router[_0xef6a('0x10')](_0xef6a('0x11'),auth['isAuthenticated'](),controller[_0xef6a('0x12')]);router[_0xef6a('0x13')]('/:id',auth[_0xef6a('0x9')](),controller[_0xef6a('0x14')]);module[_0xef6a('0x15')]=router;