Built motion from commit 616d3211.|2.6.4
[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 _0x3f0a=['exports','util','path','express','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./intServicenowConfiguration.controller','get','isAuthenticated','index','/:id','show','/:id/fields','getFields','/:id/subjects','/:id/descriptions','post','create','delete','destroy'];(function(_0x10deb5,_0x3a4367){var _0x279dcd=function(_0x2816a0){while(--_0x2816a0){_0x10deb5['push'](_0x10deb5['shift']());}};_0x279dcd(++_0x3a4367);}(_0x3f0a,0x18d));var _0xa3f0=function(_0x5da25b,_0x2a0563){_0x5da25b=_0x5da25b-0x0;var _0xf45a38=_0x3f0a[_0x5da25b];return _0xf45a38;};'use strict';var multer=require('multer');var util=require(_0xa3f0('0x0'));var path=require(_0xa3f0('0x1'));var timeout=require('connect-timeout');var express=require(_0xa3f0('0x2'));var router=express['Router']();var fs_extra=require(_0xa3f0('0x3'));var auth=require(_0xa3f0('0x4'));var interaction=require(_0xa3f0('0x5'));var config=require(_0xa3f0('0x6'));var controller=require(_0xa3f0('0x7'));router[_0xa3f0('0x8')]('/',auth[_0xa3f0('0x9')](),controller[_0xa3f0('0xa')]);router[_0xa3f0('0x8')](_0xa3f0('0xb'),auth[_0xa3f0('0x9')](),controller[_0xa3f0('0xc')]);router[_0xa3f0('0x8')](_0xa3f0('0xd'),auth['isAuthenticated'](),controller[_0xa3f0('0xe')]);router[_0xa3f0('0x8')](_0xa3f0('0xf'),auth['isAuthenticated'](),controller['getSubjects']);router[_0xa3f0('0x8')](_0xa3f0('0x10'),auth[_0xa3f0('0x9')](),controller['getDescriptions']);router[_0xa3f0('0x11')]('/',auth['isAuthenticated'](),controller[_0xa3f0('0x12')]);router['put']('/:id',auth['isAuthenticated'](),controller['update']);router[_0xa3f0('0x13')](_0xa3f0('0xb'),auth[_0xa3f0('0x9')](),controller[_0xa3f0('0x14')]);module[_0xa3f0('0x15')]=router;