f9f7aebfe4baf88889fa818b8d2f7a3c804a1720
[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 _0xcbeb=['create','put','update','delete','destroy','exports','multer','util','connect-timeout','Router','../../components/interaction/service','../../config/environment','./intServicenowConfiguration.controller','get','isAuthenticated','/:id','show','/:id/fields','getFields','/:id/subjects','getSubjects','/:id/descriptions','post'];(function(_0x5df90,_0x3472ab){var _0x8b1477=function(_0x183d03){while(--_0x183d03){_0x5df90['push'](_0x5df90['shift']());}};_0x8b1477(++_0x3472ab);}(_0xcbeb,0x176));var _0xbcbe=function(_0x3dd15e,_0x1f0015){_0x3dd15e=_0x3dd15e-0x0;var _0x231fd0=_0xcbeb[_0x3dd15e];return _0x231fd0;};'use strict';var multer=require(_0xbcbe('0x0'));var util=require(_0xbcbe('0x1'));var path=require('path');var timeout=require(_0xbcbe('0x2'));var express=require('express');var router=express[_0xbcbe('0x3')]();var auth=require('../../components/auth/service');var interaction=require(_0xbcbe('0x4'));var config=require(_0xbcbe('0x5'));var controller=require(_0xbcbe('0x6'));router[_0xbcbe('0x7')]('/',auth[_0xbcbe('0x8')](),controller['index']);router[_0xbcbe('0x7')](_0xbcbe('0x9'),auth[_0xbcbe('0x8')](),controller[_0xbcbe('0xa')]);router['get'](_0xbcbe('0xb'),auth[_0xbcbe('0x8')](),controller[_0xbcbe('0xc')]);router['get'](_0xbcbe('0xd'),auth['isAuthenticated'](),controller[_0xbcbe('0xe')]);router['get'](_0xbcbe('0xf'),auth[_0xbcbe('0x8')](),controller['getDescriptions']);router[_0xbcbe('0x10')]('/',auth[_0xbcbe('0x8')](),controller[_0xbcbe('0x11')]);router[_0xbcbe('0x12')]('/:id',auth[_0xbcbe('0x8')](),controller[_0xbcbe('0x13')]);router[_0xbcbe('0x14')](_0xbcbe('0x9'),auth['isAuthenticated'](),controller[_0xbcbe('0x15')]);module[_0xbcbe('0x16')]=router;