df994183d1bb6961ef99a6869bc43d48122afffe
[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 _0x5c24=['/:id/descriptions','post','create','put','/:id','update','delete','destroy','exports','multer','path','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','get','isAuthenticated','index','/:id/fields','getFields','/:id/subjects','getSubjects'];(function(_0xba5885,_0x35616f){var _0x1ff18b=function(_0x30711e){while(--_0x30711e){_0xba5885['push'](_0xba5885['shift']());}};_0x1ff18b(++_0x35616f);}(_0x5c24,0xf9));var _0x45c2=function(_0x16771d,_0x224c60){_0x16771d=_0x16771d-0x0;var _0x386f11=_0x5c24[_0x16771d];return _0x386f11;};'use strict';var multer=require(_0x45c2('0x0'));var util=require('util');var path=require(_0x45c2('0x1'));var timeout=require('connect-timeout');var express=require(_0x45c2('0x2'));var router=express[_0x45c2('0x3')]();var fs_extra=require(_0x45c2('0x4'));var auth=require(_0x45c2('0x5'));var interaction=require(_0x45c2('0x6'));var config=require(_0x45c2('0x7'));var controller=require('./intServicenowConfiguration.controller');router[_0x45c2('0x8')]('/',auth[_0x45c2('0x9')](),controller[_0x45c2('0xa')]);router[_0x45c2('0x8')]('/:id',auth[_0x45c2('0x9')](),controller['show']);router[_0x45c2('0x8')](_0x45c2('0xb'),auth['isAuthenticated'](),controller[_0x45c2('0xc')]);router[_0x45c2('0x8')](_0x45c2('0xd'),auth[_0x45c2('0x9')](),controller[_0x45c2('0xe')]);router['get'](_0x45c2('0xf'),auth['isAuthenticated'](),controller['getDescriptions']);router[_0x45c2('0x10')]('/',auth[_0x45c2('0x9')](),controller[_0x45c2('0x11')]);router[_0x45c2('0x12')](_0x45c2('0x13'),auth[_0x45c2('0x9')](),controller[_0x45c2('0x14')]);router[_0x45c2('0x15')](_0x45c2('0x13'),auth['isAuthenticated'](),controller[_0x45c2('0x16')]);module[_0x45c2('0x17')]=router;