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 _0x52a4=['destroy','exports','util','express','Router','fs-extra','../../components/auth/service','../../config/environment','./intDynamics365Field.controller','get','index','/:id','isAuthenticated','show','put','update'];(function(_0x34ffbe,_0x3658d8){var _0x58a04c=function(_0x6f5047){while(--_0x6f5047){_0x34ffbe['push'](_0x34ffbe['shift']());}};_0x58a04c(++_0x3658d8);}(_0x52a4,0x1f2));var _0x452a=function(_0x2a1e0a,_0xfbbc49){_0x2a1e0a=_0x2a1e0a-0x0;var _0x5ac121=_0x52a4[_0x2a1e0a];return _0x5ac121;};'use strict';var multer=require('multer');var util=require(_0x452a('0x0'));var path=require('path');var timeout=require('connect-timeout');var express=require(_0x452a('0x1'));var router=express[_0x452a('0x2')]();var fs_extra=require(_0x452a('0x3'));var auth=require(_0x452a('0x4'));var interaction=require('../../components/interaction/service');var config=require(_0x452a('0x5'));var controller=require(_0x452a('0x6'));router[_0x452a('0x7')]('/',auth['isAuthenticated'](),controller[_0x452a('0x8')]);router['get'](_0x452a('0x9'),auth[_0x452a('0xa')](),controller[_0x452a('0xb')]);router['post']('/',auth[_0x452a('0xa')](),controller['create']);router[_0x452a('0xc')]('/:id',auth[_0x452a('0xa')](),controller[_0x452a('0xd')]);router['delete'](_0x452a('0x9'),auth['isAuthenticated'](),controller[_0x452a('0xe')]);module[_0x452a('0xf')]=router;