Built motion from commit (unavailable).|2.5.11
[motion2.git] / server / api / intServicenowConfiguration / 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 _0xdf6d=['put','update','delete','destroy','exports','multer','util','express','../../components/auth/service','../../components/interaction/service','get','isAuthenticated','/:id','show','/:id/fields','getFields','/:id/subjects','getSubjects','/:id/descriptions','getDescriptions','post','create'];(function(_0x1715af,_0x30a87f){var _0x33dc26=function(_0x434846){while(--_0x434846){_0x1715af['push'](_0x1715af['shift']());}};_0x33dc26(++_0x30a87f);}(_0xdf6d,0x1d3));var _0xddf6=function(_0x1955f8,_0x48cd83){_0x1955f8=_0x1955f8-0x0;var _0x6fefc8=_0xdf6d[_0x1955f8];return _0x6fefc8;};'use strict';var multer=require(_0xddf6('0x0'));var util=require(_0xddf6('0x1'));var path=require('path');var timeout=require('connect-timeout');var express=require(_0xddf6('0x2'));var router=express['Router']();var auth=require(_0xddf6('0x3'));var interaction=require(_0xddf6('0x4'));var config=require('../../config/environment');var controller=require('./intServicenowConfiguration.controller');router[_0xddf6('0x5')]('/',auth[_0xddf6('0x6')](),controller['index']);router['get'](_0xddf6('0x7'),auth[_0xddf6('0x6')](),controller[_0xddf6('0x8')]);router['get'](_0xddf6('0x9'),auth[_0xddf6('0x6')](),controller[_0xddf6('0xa')]);router[_0xddf6('0x5')](_0xddf6('0xb'),auth[_0xddf6('0x6')](),controller[_0xddf6('0xc')]);router[_0xddf6('0x5')](_0xddf6('0xd'),auth[_0xddf6('0x6')](),controller[_0xddf6('0xe')]);router[_0xddf6('0xf')]('/',auth['isAuthenticated'](),controller[_0xddf6('0x10')]);router[_0xddf6('0x11')](_0xddf6('0x7'),auth['isAuthenticated'](),controller[_0xddf6('0x12')]);router[_0xddf6('0x13')]('/:id',auth[_0xddf6('0x6')](),controller[_0xddf6('0x14')]);module[_0xddf6('0x15')]=router;