Built motion from commit 994c64e1.|2.6.1
[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 _0x23bb=['show','/:id/fields','getFields','/:id/subjects','getSubjects','getDescriptions','post','create','put','update','delete','destroy','exports','multer','util','connect-timeout','express','Router','fs-extra','../../components/auth/service','get','/:id','isAuthenticated'];(function(_0x4459b8,_0x3271b8){var _0x4a4b07=function(_0x3075f8){while(--_0x3075f8){_0x4459b8['push'](_0x4459b8['shift']());}};_0x4a4b07(++_0x3271b8);}(_0x23bb,0x97));var _0xb23b=function(_0x1cab41,_0x4bfa57){_0x1cab41=_0x1cab41-0x0;var _0x511deb=_0x23bb[_0x1cab41];return _0x511deb;};'use strict';var multer=require(_0xb23b('0x0'));var util=require(_0xb23b('0x1'));var path=require('path');var timeout=require(_0xb23b('0x2'));var express=require(_0xb23b('0x3'));var router=express[_0xb23b('0x4')]();var fs_extra=require(_0xb23b('0x5'));var auth=require(_0xb23b('0x6'));var interaction=require('../../components/interaction/service');var config=require('../../config/environment');var controller=require('./intServicenowConfiguration.controller');router[_0xb23b('0x7')]('/',auth['isAuthenticated'](),controller['index']);router[_0xb23b('0x7')](_0xb23b('0x8'),auth[_0xb23b('0x9')](),controller[_0xb23b('0xa')]);router[_0xb23b('0x7')](_0xb23b('0xb'),auth['isAuthenticated'](),controller[_0xb23b('0xc')]);router[_0xb23b('0x7')](_0xb23b('0xd'),auth[_0xb23b('0x9')](),controller[_0xb23b('0xe')]);router[_0xb23b('0x7')]('/:id/descriptions',auth[_0xb23b('0x9')](),controller[_0xb23b('0xf')]);router[_0xb23b('0x10')]('/',auth[_0xb23b('0x9')](),controller[_0xb23b('0x11')]);router[_0xb23b('0x12')](_0xb23b('0x8'),auth[_0xb23b('0x9')](),controller[_0xb23b('0x13')]);router[_0xb23b('0x14')](_0xb23b('0x8'),auth[_0xb23b('0x9')](),controller[_0xb23b('0x15')]);module[_0xb23b('0x16')]=router;