6bda2e8b19eb007ccc419bbab921f32ed26187b4
[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 _0x5e39=['connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','./intServicenowConfiguration.controller','index','get','/:id','show','/:id/fields','isAuthenticated','getFields','/:id/subjects','getSubjects','/:id/descriptions','getDescriptions','post','create','put','update','delete','destroy','multer','util'];(function(_0x58b6a8,_0x307021){var _0xc566dc=function(_0x59bd76){while(--_0x59bd76){_0x58b6a8['push'](_0x58b6a8['shift']());}};_0xc566dc(++_0x307021);}(_0x5e39,0x18e));var _0x95e3=function(_0x516200,_0x34e796){_0x516200=_0x516200-0x0;var _0x3e5528=_0x5e39[_0x516200];return _0x3e5528;};'use strict';var multer=require(_0x95e3('0x0'));var util=require(_0x95e3('0x1'));var path=require('path');var timeout=require(_0x95e3('0x2'));var express=require(_0x95e3('0x3'));var router=express[_0x95e3('0x4')]();var auth=require(_0x95e3('0x5'));var interaction=require(_0x95e3('0x6'));var config=require('../../config/environment');var controller=require(_0x95e3('0x7'));router['get']('/',auth['isAuthenticated'](),controller[_0x95e3('0x8')]);router[_0x95e3('0x9')](_0x95e3('0xa'),auth['isAuthenticated'](),controller[_0x95e3('0xb')]);router['get'](_0x95e3('0xc'),auth[_0x95e3('0xd')](),controller[_0x95e3('0xe')]);router[_0x95e3('0x9')](_0x95e3('0xf'),auth[_0x95e3('0xd')](),controller[_0x95e3('0x10')]);router['get'](_0x95e3('0x11'),auth[_0x95e3('0xd')](),controller[_0x95e3('0x12')]);router[_0x95e3('0x13')]('/',auth['isAuthenticated'](),controller[_0x95e3('0x14')]);router[_0x95e3('0x15')](_0x95e3('0xa'),auth[_0x95e3('0xd')](),controller[_0x95e3('0x16')]);router[_0x95e3('0x17')]('/:id',auth[_0x95e3('0xd')](),controller[_0x95e3('0x18')]);module['exports']=router;