Built motion from commit da617fac.|2.6.6
[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 _0xf99d=['index','/:id','/:id/fields','getFields','/:id/subjects','getSubjects','/:id/descriptions','getDescriptions','post','create','put','delete','destroy','exports','multer','util','path','Router','fs-extra','../../components/auth/service','./intServicenowConfiguration.controller','get','isAuthenticated'];(function(_0x14e72c,_0x4b02b2){var _0x4e5dec=function(_0x1d4c52){while(--_0x1d4c52){_0x14e72c['push'](_0x14e72c['shift']());}};_0x4e5dec(++_0x4b02b2);}(_0xf99d,0xaf));var _0xdf99=function(_0x422905,_0x3bce3a){_0x422905=_0x422905-0x0;var _0x33dc6c=_0xf99d[_0x422905];return _0x33dc6c;};'use strict';var multer=require(_0xdf99('0x0'));var util=require(_0xdf99('0x1'));var path=require(_0xdf99('0x2'));var timeout=require('connect-timeout');var express=require('express');var router=express[_0xdf99('0x3')]();var fs_extra=require(_0xdf99('0x4'));var auth=require(_0xdf99('0x5'));var interaction=require('../../components/interaction/service');var config=require('../../config/environment');var controller=require(_0xdf99('0x6'));router[_0xdf99('0x7')]('/',auth[_0xdf99('0x8')](),controller[_0xdf99('0x9')]);router['get'](_0xdf99('0xa'),auth[_0xdf99('0x8')](),controller['show']);router['get'](_0xdf99('0xb'),auth[_0xdf99('0x8')](),controller[_0xdf99('0xc')]);router[_0xdf99('0x7')](_0xdf99('0xd'),auth[_0xdf99('0x8')](),controller[_0xdf99('0xe')]);router[_0xdf99('0x7')](_0xdf99('0xf'),auth[_0xdf99('0x8')](),controller[_0xdf99('0x10')]);router[_0xdf99('0x11')]('/',auth[_0xdf99('0x8')](),controller[_0xdf99('0x12')]);router[_0xdf99('0x13')]('/:id',auth[_0xdf99('0x8')](),controller['update']);router[_0xdf99('0x14')]('/:id',auth[_0xdf99('0x8')](),controller[_0xdf99('0x15')]);module[_0xdf99('0x16')]=router;