Built motion from commit 092f8824.|2.5.49
[motion2.git] / server / api / intDynamics365Configuration / index.js
1 // *************************************************************************
2 // *                                                                       *
3 // * xCALLY Motion -  The Omnichannel Contact Center                       *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved                     *
5 // *                                                                       *
6 // *************************************************************************
7 // *                                                                       *
8 // * Email: info@xcally.com                                                *
9 // * Website: https://www.xcally.com                                       *
10 // *                                                                       *
11 // *************************************************************************
12 // *                                                                       *
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.                         *
16 // *                                                                       *
17 // *************************************************************************
18 var _0xac0e=['getDescriptions','post','create','put','delete','destroy','exports','multer','util','path','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./intDynamics365Configuration.controller','isAuthenticated','index','get','/:id','/:id/fields','getFields','/:id/subjects','getSubjects'];(function(_0x20a584,_0xe384a5){var _0x4b41a8=function(_0x2127c6){while(--_0x2127c6){_0x20a584['push'](_0x20a584['shift']());}};_0x4b41a8(++_0xe384a5);}(_0xac0e,0x13f));var _0xeac0=function(_0x4ddb22,_0x4881fd){_0x4ddb22=_0x4ddb22-0x0;var _0x41ba46=_0xac0e[_0x4ddb22];return _0x41ba46;};'use strict';var multer=require(_0xeac0('0x0'));var util=require(_0xeac0('0x1'));var path=require(_0xeac0('0x2'));var timeout=require(_0xeac0('0x3'));var express=require(_0xeac0('0x4'));var router=express[_0xeac0('0x5')]();var fs_extra=require(_0xeac0('0x6'));var auth=require(_0xeac0('0x7'));var interaction=require(_0xeac0('0x8'));var config=require(_0xeac0('0x9'));var controller=require(_0xeac0('0xa'));router['get']('/',auth[_0xeac0('0xb')](),controller[_0xeac0('0xc')]);router[_0xeac0('0xd')](_0xeac0('0xe'),auth[_0xeac0('0xb')](),controller['show']);router[_0xeac0('0xd')](_0xeac0('0xf'),auth[_0xeac0('0xb')](),controller[_0xeac0('0x10')]);router['get'](_0xeac0('0x11'),auth[_0xeac0('0xb')](),controller[_0xeac0('0x12')]);router[_0xeac0('0xd')]('/:id/descriptions',auth[_0xeac0('0xb')](),controller[_0xeac0('0x13')]);router[_0xeac0('0x14')]('/',auth[_0xeac0('0xb')](),controller[_0xeac0('0x15')]);router[_0xeac0('0x16')]('/:id',auth[_0xeac0('0xb')](),controller['update']);router[_0xeac0('0x17')](_0xeac0('0xe'),auth[_0xeac0('0xb')](),controller[_0xeac0('0x18')]);module[_0xeac0('0x19')]=router;