Built motion from commit (unavailable).|2.5.22
[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 _0xfac5=['put','update','delete','exports','multer','util','path','connect-timeout','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./intDynamics365Configuration.controller','isAuthenticated','/:id','show','getFields','get','getSubjects','/:id/descriptions','getDescriptions','post','create'];(function(_0x5da54c,_0x520452){var _0x1246b0=function(_0x11e60b){while(--_0x11e60b){_0x5da54c['push'](_0x5da54c['shift']());}};_0x1246b0(++_0x520452);}(_0xfac5,0x8e));var _0x5fac=function(_0x9bed67,_0x569aa8){_0x9bed67=_0x9bed67-0x0;var _0x134947=_0xfac5[_0x9bed67];return _0x134947;};'use strict';var multer=require(_0x5fac('0x0'));var util=require(_0x5fac('0x1'));var path=require(_0x5fac('0x2'));var timeout=require(_0x5fac('0x3'));var express=require('express');var router=express[_0x5fac('0x4')]();var auth=require(_0x5fac('0x5'));var interaction=require(_0x5fac('0x6'));var config=require(_0x5fac('0x7'));var controller=require(_0x5fac('0x8'));router['get']('/',auth[_0x5fac('0x9')](),controller['index']);router['get'](_0x5fac('0xa'),auth[_0x5fac('0x9')](),controller[_0x5fac('0xb')]);router['get']('/:id/fields',auth[_0x5fac('0x9')](),controller[_0x5fac('0xc')]);router[_0x5fac('0xd')]('/:id/subjects',auth[_0x5fac('0x9')](),controller[_0x5fac('0xe')]);router['get'](_0x5fac('0xf'),auth[_0x5fac('0x9')](),controller[_0x5fac('0x10')]);router[_0x5fac('0x11')]('/',auth[_0x5fac('0x9')](),controller[_0x5fac('0x12')]);router[_0x5fac('0x13')]('/:id',auth[_0x5fac('0x9')](),controller[_0x5fac('0x14')]);router[_0x5fac('0x15')](_0x5fac('0xa'),auth[_0x5fac('0x9')](),controller['destroy']);module[_0x5fac('0x16')]=router;