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 _0xbafc=['../../config/environment','./intDynamics365Account.controller','isAuthenticated','/:id','show','get','/:id/configurations','getConfigurations','/:id/fields','getFields','post','create','addConfiguration','put','update','util','path','connect-timeout','express','Router','fs-extra','../../components/interaction/service'];(function(_0x5241f5,_0x1a2801){var _0x3f83de=function(_0x3786b3){while(--_0x3786b3){_0x5241f5['push'](_0x5241f5['shift']());}};_0x3f83de(++_0x1a2801);}(_0xbafc,0x1c7));var _0xcbaf=function(_0x529870,_0x975245){_0x529870=_0x529870-0x0;var _0x39435f=_0xbafc[_0x529870];return _0x39435f;};'use strict';var multer=require('multer');var util=require(_0xcbaf('0x0'));var path=require(_0xcbaf('0x1'));var timeout=require(_0xcbaf('0x2'));var express=require(_0xcbaf('0x3'));var router=express[_0xcbaf('0x4')]();var fs_extra=require(_0xcbaf('0x5'));var auth=require('../../components/auth/service');var interaction=require(_0xcbaf('0x6'));var config=require(_0xcbaf('0x7'));var controller=require(_0xcbaf('0x8'));router['get']('/',auth[_0xcbaf('0x9')](),controller['index']);router['get'](_0xcbaf('0xa'),auth[_0xcbaf('0x9')](),controller[_0xcbaf('0xb')]);router[_0xcbaf('0xc')](_0xcbaf('0xd'),auth[_0xcbaf('0x9')](),controller[_0xcbaf('0xe')]);router['get'](_0xcbaf('0xf'),auth[_0xcbaf('0x9')](),controller[_0xcbaf('0x10')]);router[_0xcbaf('0x11')]('/',auth[_0xcbaf('0x9')](),controller[_0xcbaf('0x12')]);router[_0xcbaf('0x11')](_0xcbaf('0xd'),auth[_0xcbaf('0x9')](),controller[_0xcbaf('0x13')]);router[_0xcbaf('0x14')](_0xcbaf('0xa'),auth[_0xcbaf('0x9')](),controller[_0xcbaf('0x15')]);router['delete'](_0xcbaf('0xa'),auth[_0xcbaf('0x9')](),controller['destroy']);module['exports']=router;