Built motion from commit 85328c08.|2.5.50
[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 _0x78fc=['/:id/subjects','getSubjects','/:id/descriptions','getDescriptions','post','create','delete','destroy','exports','multer','util','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./intServicenowConfiguration.controller','isAuthenticated','index','/:id','show','get','/:id/fields','getFields'];(function(_0x5a511a,_0xb86431){var _0x178711=function(_0xb46f66){while(--_0xb46f66){_0x5a511a['push'](_0x5a511a['shift']());}};_0x178711(++_0xb86431);}(_0x78fc,0x1e4));var _0xc78f=function(_0x3e44fa,_0x75ed2a){_0x3e44fa=_0x3e44fa-0x0;var _0x2a0aba=_0x78fc[_0x3e44fa];return _0x2a0aba;};'use strict';var multer=require(_0xc78f('0x0'));var util=require(_0xc78f('0x1'));var path=require('path');var timeout=require('connect-timeout');var express=require(_0xc78f('0x2'));var router=express[_0xc78f('0x3')]();var fs_extra=require(_0xc78f('0x4'));var auth=require(_0xc78f('0x5'));var interaction=require(_0xc78f('0x6'));var config=require(_0xc78f('0x7'));var controller=require(_0xc78f('0x8'));router['get']('/',auth[_0xc78f('0x9')](),controller[_0xc78f('0xa')]);router['get'](_0xc78f('0xb'),auth[_0xc78f('0x9')](),controller[_0xc78f('0xc')]);router[_0xc78f('0xd')](_0xc78f('0xe'),auth[_0xc78f('0x9')](),controller[_0xc78f('0xf')]);router['get'](_0xc78f('0x10'),auth[_0xc78f('0x9')](),controller[_0xc78f('0x11')]);router[_0xc78f('0xd')](_0xc78f('0x12'),auth['isAuthenticated'](),controller[_0xc78f('0x13')]);router[_0xc78f('0x14')]('/',auth[_0xc78f('0x9')](),controller[_0xc78f('0x15')]);router['put'](_0xc78f('0xb'),auth[_0xc78f('0x9')](),controller['update']);router[_0xc78f('0x16')](_0xc78f('0xb'),auth[_0xc78f('0x9')](),controller[_0xc78f('0x17')]);module[_0xc78f('0x18')]=router;