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