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 _0xa80f=['connect-timeout','express','../../components/auth/service','../../components/interaction/service','../../config/environment','./intDynamics365Field.controller','get','index','/:id','isAuthenticated','post','put','update','delete','destroy','multer','path'];(function(_0x22789a,_0x4a1c8c){var _0xede88=function(_0x49243f){while(--_0x49243f){_0x22789a['push'](_0x22789a['shift']());}};_0xede88(++_0x4a1c8c);}(_0xa80f,0xca));var _0xfa80=function(_0x44210e,_0x1c76d6){_0x44210e=_0x44210e-0x0;var _0x2c6399=_0xa80f[_0x44210e];return _0x2c6399;};'use strict';var multer=require(_0xfa80('0x0'));var util=require('util');var path=require(_0xfa80('0x1'));var timeout=require(_0xfa80('0x2'));var express=require(_0xfa80('0x3'));var router=express['Router']();var auth=require(_0xfa80('0x4'));var interaction=require(_0xfa80('0x5'));var config=require(_0xfa80('0x6'));var controller=require(_0xfa80('0x7'));router[_0xfa80('0x8')]('/',auth['isAuthenticated'](),controller[_0xfa80('0x9')]);router[_0xfa80('0x8')](_0xfa80('0xa'),auth[_0xfa80('0xb')](),controller['show']);router[_0xfa80('0xc')]('/',auth[_0xfa80('0xb')](),controller['create']);router[_0xfa80('0xd')]('/:id',auth[_0xfa80('0xb')](),controller[_0xfa80('0xe')]);router[_0xfa80('0xf')](_0xfa80('0xa'),auth[_0xfa80('0xb')](),controller[_0xfa80('0x10')]);module['exports']=router;