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 _0xa933=['index','/:id','show','post','create','put','update','delete','destroy','exports','multer','util','path','connect-timeout','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','get','isAuthenticated'];(function(_0xdd2bfa,_0x5bd304){var _0x55397e=function(_0x196f7d){while(--_0x196f7d){_0xdd2bfa['push'](_0xdd2bfa['shift']());}};_0x55397e(++_0x5bd304);}(_0xa933,0x1d6));var _0x3a93=function(_0x45ebb2,_0x59675f){_0x45ebb2=_0x45ebb2-0x0;var _0x51a148=_0xa933[_0x45ebb2];return _0x51a148;};'use strict';var multer=require(_0x3a93('0x0'));var util=require(_0x3a93('0x1'));var path=require(_0x3a93('0x2'));var timeout=require(_0x3a93('0x3'));var express=require('express');var router=express['Router']();var fs_extra=require(_0x3a93('0x4'));var auth=require(_0x3a93('0x5'));var interaction=require(_0x3a93('0x6'));var config=require(_0x3a93('0x7'));var controller=require('./intDynamics365Field.controller');router[_0x3a93('0x8')]('/',auth[_0x3a93('0x9')](),controller[_0x3a93('0xa')]);router[_0x3a93('0x8')](_0x3a93('0xb'),auth[_0x3a93('0x9')](),controller[_0x3a93('0xc')]);router[_0x3a93('0xd')]('/',auth[_0x3a93('0x9')](),controller[_0x3a93('0xe')]);router[_0x3a93('0xf')](_0x3a93('0xb'),auth[_0x3a93('0x9')](),controller[_0x3a93('0x10')]);router[_0x3a93('0x11')](_0x3a93('0xb'),auth[_0x3a93('0x9')](),controller[_0x3a93('0x12')]);module[_0x3a93('0x13')]=router;