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