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 _0xda14=['index','get','/:id','isAuthenticated','show','create','put','update','delete','destroy','exports','multer','connect-timeout','fs-extra','../../components/auth/service','../../config/environment','./intDynamics365Field.controller'];(function(_0x50fd35,_0x3633cc){var _0x4948a1=function(_0x5dfb48){while(--_0x5dfb48){_0x50fd35['push'](_0x50fd35['shift']());}};_0x4948a1(++_0x3633cc);}(_0xda14,0x13d));var _0x4da1=function(_0xfbdff6,_0x2af690){_0xfbdff6=_0xfbdff6-0x0;var _0x4cb9be=_0xda14[_0xfbdff6];return _0x4cb9be;};'use strict';var multer=require(_0x4da1('0x0'));var util=require('util');var path=require('path');var timeout=require(_0x4da1('0x1'));var express=require('express');var router=express['Router']();var fs_extra=require(_0x4da1('0x2'));var auth=require(_0x4da1('0x3'));var interaction=require('../../components/interaction/service');var config=require(_0x4da1('0x4'));var controller=require(_0x4da1('0x5'));router['get']('/',auth['isAuthenticated'](),controller[_0x4da1('0x6')]);router[_0x4da1('0x7')](_0x4da1('0x8'),auth[_0x4da1('0x9')](),controller[_0x4da1('0xa')]);router['post']('/',auth[_0x4da1('0x9')](),controller[_0x4da1('0xb')]);router[_0x4da1('0xc')](_0x4da1('0x8'),auth[_0x4da1('0x9')](),controller[_0x4da1('0xd')]);router[_0x4da1('0xe')](_0x4da1('0x8'),auth[_0x4da1('0x9')](),controller[_0x4da1('0xf')]);module[_0x4da1('0x10')]=router;