Built motion from commit (unavailable).|2.5.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 _0xc785=['path','express','Router','../../components/auth/service','../../components/interaction/service','get','isAuthenticated','index','/:id','show','getFields','/:id/subjects','getSubjects','/:id/descriptions','post','create','put','update','destroy','exports','multer'];(function(_0x1219b2,_0x2e36bc){var _0x5032a9=function(_0x4c3612){while(--_0x4c3612){_0x1219b2['push'](_0x1219b2['shift']());}};_0x5032a9(++_0x2e36bc);}(_0xc785,0x110));var _0x5c78=function(_0x49d316,_0x5637b9){_0x49d316=_0x49d316-0x0;var _0x5d4d35=_0xc785[_0x49d316];return _0x5d4d35;};'use strict';var multer=require(_0x5c78('0x0'));var util=require('util');var path=require(_0x5c78('0x1'));var timeout=require('connect-timeout');var express=require(_0x5c78('0x2'));var router=express[_0x5c78('0x3')]();var auth=require(_0x5c78('0x4'));var interaction=require(_0x5c78('0x5'));var config=require('../../config/environment');var controller=require('./intServicenowConfiguration.controller');router[_0x5c78('0x6')]('/',auth[_0x5c78('0x7')](),controller[_0x5c78('0x8')]);router[_0x5c78('0x6')](_0x5c78('0x9'),auth[_0x5c78('0x7')](),controller[_0x5c78('0xa')]);router['get']('/:id/fields',auth[_0x5c78('0x7')](),controller[_0x5c78('0xb')]);router[_0x5c78('0x6')](_0x5c78('0xc'),auth[_0x5c78('0x7')](),controller[_0x5c78('0xd')]);router[_0x5c78('0x6')](_0x5c78('0xe'),auth[_0x5c78('0x7')](),controller['getDescriptions']);router[_0x5c78('0xf')]('/',auth[_0x5c78('0x7')](),controller[_0x5c78('0x10')]);router[_0x5c78('0x11')](_0x5c78('0x9'),auth[_0x5c78('0x7')](),controller[_0x5c78('0x12')]);router['delete'](_0x5c78('0x9'),auth[_0x5c78('0x7')](),controller[_0x5c78('0x13')]);module[_0x5c78('0x14')]=router;