Built motion from commit (unavailable).|2.3.1
[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 _0xdb19=['../../config/environment','get','index','/:id','isAuthenticated','show','/:id/fields','getFields','/:id/subjects','getSubjects','/:id/descriptions','post','create','update','delete','destroy','util','path','express','Router'];(function(_0x5413ed,_0x1a6fa0){var _0x8ab64=function(_0x43bcad){while(--_0x43bcad){_0x5413ed['push'](_0x5413ed['shift']());}};_0x8ab64(++_0x1a6fa0);}(_0xdb19,0xb0));var _0x9db1=function(_0xf36354,_0x55640e){_0xf36354=_0xf36354-0x0;var _0x559d8e=_0xdb19[_0xf36354];return _0x559d8e;};'use strict';var multer=require('multer');var util=require(_0x9db1('0x0'));var path=require(_0x9db1('0x1'));var timeout=require('connect-timeout');var express=require(_0x9db1('0x2'));var router=express[_0x9db1('0x3')]();var auth=require('../../components/auth/service');var interaction=require('../../components/interaction/service');var config=require(_0x9db1('0x4'));var controller=require('./intDynamics365Configuration.controller');router[_0x9db1('0x5')]('/',auth['isAuthenticated'](),controller[_0x9db1('0x6')]);router[_0x9db1('0x5')](_0x9db1('0x7'),auth[_0x9db1('0x8')](),controller[_0x9db1('0x9')]);router[_0x9db1('0x5')](_0x9db1('0xa'),auth[_0x9db1('0x8')](),controller[_0x9db1('0xb')]);router[_0x9db1('0x5')](_0x9db1('0xc'),auth[_0x9db1('0x8')](),controller[_0x9db1('0xd')]);router[_0x9db1('0x5')](_0x9db1('0xe'),auth[_0x9db1('0x8')](),controller['getDescriptions']);router[_0x9db1('0xf')]('/',auth[_0x9db1('0x8')](),controller[_0x9db1('0x10')]);router['put'](_0x9db1('0x7'),auth[_0x9db1('0x8')](),controller[_0x9db1('0x11')]);router[_0x9db1('0x12')](_0x9db1('0x7'),auth[_0x9db1('0x8')](),controller[_0x9db1('0x13')]);module['exports']=router;