57a4573a827187558e419839fa60c1fe3934eaf2
[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 _0xbc69=['fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./intServicenowConfiguration.controller','get','isAuthenticated','index','/:id','show','/:id/fields','/:id/subjects','getSubjects','/:id/descriptions','post','put','delete','destroy','multer','util','path','express','Router'];(function(_0x537848,_0x4ff8e3){var _0x256ab5=function(_0x23ad34){while(--_0x23ad34){_0x537848['push'](_0x537848['shift']());}};_0x256ab5(++_0x4ff8e3);}(_0xbc69,0x6e));var _0x9bc6=function(_0x3ab51d,_0x2fa01d){_0x3ab51d=_0x3ab51d-0x0;var _0x29a04e=_0xbc69[_0x3ab51d];return _0x29a04e;};'use strict';var multer=require(_0x9bc6('0x0'));var util=require(_0x9bc6('0x1'));var path=require(_0x9bc6('0x2'));var timeout=require('connect-timeout');var express=require(_0x9bc6('0x3'));var router=express[_0x9bc6('0x4')]();var fs_extra=require(_0x9bc6('0x5'));var auth=require(_0x9bc6('0x6'));var interaction=require(_0x9bc6('0x7'));var config=require(_0x9bc6('0x8'));var controller=require(_0x9bc6('0x9'));router[_0x9bc6('0xa')]('/',auth[_0x9bc6('0xb')](),controller[_0x9bc6('0xc')]);router[_0x9bc6('0xa')](_0x9bc6('0xd'),auth[_0x9bc6('0xb')](),controller[_0x9bc6('0xe')]);router[_0x9bc6('0xa')](_0x9bc6('0xf'),auth[_0x9bc6('0xb')](),controller['getFields']);router[_0x9bc6('0xa')](_0x9bc6('0x10'),auth[_0x9bc6('0xb')](),controller[_0x9bc6('0x11')]);router['get'](_0x9bc6('0x12'),auth['isAuthenticated'](),controller['getDescriptions']);router[_0x9bc6('0x13')]('/',auth[_0x9bc6('0xb')](),controller['create']);router[_0x9bc6('0x14')](_0x9bc6('0xd'),auth['isAuthenticated'](),controller['update']);router[_0x9bc6('0x15')](_0x9bc6('0xd'),auth[_0x9bc6('0xb')](),controller[_0x9bc6('0x16')]);module['exports']=router;