11b34e49e6547c880d92b8a7728060b3c5146097
[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 _0x5a32=['fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./intDynamics365Configuration.controller','get','index','/:id','isAuthenticated','/:id/fields','getFields','/:id/subjects','getSubjects','/:id/descriptions','getDescriptions','post','create','put','update','delete','exports','multer','path','connect-timeout','express','Router'];(function(_0x51f2c0,_0xb7c46e){var _0x34ffd5=function(_0x2238c0){while(--_0x2238c0){_0x51f2c0['push'](_0x51f2c0['shift']());}};_0x34ffd5(++_0xb7c46e);}(_0x5a32,0x19b));var _0x25a3=function(_0x336877,_0xaa011){_0x336877=_0x336877-0x0;var _0x1f1efb=_0x5a32[_0x336877];return _0x1f1efb;};'use strict';var multer=require(_0x25a3('0x0'));var util=require('util');var path=require(_0x25a3('0x1'));var timeout=require(_0x25a3('0x2'));var express=require(_0x25a3('0x3'));var router=express[_0x25a3('0x4')]();var fs_extra=require(_0x25a3('0x5'));var auth=require(_0x25a3('0x6'));var interaction=require(_0x25a3('0x7'));var config=require(_0x25a3('0x8'));var controller=require(_0x25a3('0x9'));router[_0x25a3('0xa')]('/',auth['isAuthenticated'](),controller[_0x25a3('0xb')]);router[_0x25a3('0xa')](_0x25a3('0xc'),auth[_0x25a3('0xd')](),controller['show']);router[_0x25a3('0xa')](_0x25a3('0xe'),auth['isAuthenticated'](),controller[_0x25a3('0xf')]);router[_0x25a3('0xa')](_0x25a3('0x10'),auth[_0x25a3('0xd')](),controller[_0x25a3('0x11')]);router['get'](_0x25a3('0x12'),auth[_0x25a3('0xd')](),controller[_0x25a3('0x13')]);router[_0x25a3('0x14')]('/',auth[_0x25a3('0xd')](),controller[_0x25a3('0x15')]);router[_0x25a3('0x16')](_0x25a3('0xc'),auth[_0x25a3('0xd')](),controller[_0x25a3('0x17')]);router[_0x25a3('0x18')](_0x25a3('0xc'),auth[_0x25a3('0xd')](),controller['destroy']);module[_0x25a3('0x19')]=router;