ea0fe488d437ce95ee0f5ac7182dfd794c517907
[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 _0x9b7f=['../../components/interaction/service','./intServicenowConfiguration.controller','get','isAuthenticated','/:id','show','/:id/fields','getFields','/:id/subjects','getSubjects','/:id/descriptions','getDescriptions','create','update','destroy','exports','multer','util','path','connect-timeout','express','../../components/auth/service'];(function(_0x2aa0e7,_0x4e5145){var _0x1472c0=function(_0x4deaeb){while(--_0x4deaeb){_0x2aa0e7['push'](_0x2aa0e7['shift']());}};_0x1472c0(++_0x4e5145);}(_0x9b7f,0x1c8));var _0xf9b7=function(_0x29b7c9,_0x10cb20){_0x29b7c9=_0x29b7c9-0x0;var _0x3801b9=_0x9b7f[_0x29b7c9];return _0x3801b9;};'use strict';var multer=require(_0xf9b7('0x0'));var util=require(_0xf9b7('0x1'));var path=require(_0xf9b7('0x2'));var timeout=require(_0xf9b7('0x3'));var express=require(_0xf9b7('0x4'));var router=express['Router']();var auth=require(_0xf9b7('0x5'));var interaction=require(_0xf9b7('0x6'));var config=require('../../config/environment');var controller=require(_0xf9b7('0x7'));router[_0xf9b7('0x8')]('/',auth[_0xf9b7('0x9')](),controller['index']);router[_0xf9b7('0x8')](_0xf9b7('0xa'),auth[_0xf9b7('0x9')](),controller[_0xf9b7('0xb')]);router[_0xf9b7('0x8')](_0xf9b7('0xc'),auth['isAuthenticated'](),controller[_0xf9b7('0xd')]);router[_0xf9b7('0x8')](_0xf9b7('0xe'),auth[_0xf9b7('0x9')](),controller[_0xf9b7('0xf')]);router['get'](_0xf9b7('0x10'),auth[_0xf9b7('0x9')](),controller[_0xf9b7('0x11')]);router['post']('/',auth[_0xf9b7('0x9')](),controller[_0xf9b7('0x12')]);router['put'](_0xf9b7('0xa'),auth[_0xf9b7('0x9')](),controller[_0xf9b7('0x13')]);router['delete']('/:id',auth[_0xf9b7('0x9')](),controller[_0xf9b7('0x14')]);module[_0xf9b7('0x15')]=router;