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