6d6b249227a3c1e241b3950e70ad9a59c6b5c4b1
[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 _0xa3d2=['/:id','isAuthenticated','show','/:id/fields','getFields','/:id/descriptions','getDescriptions','post','put','update','delete','destroy','exports','multer','util','connect-timeout','express','Router','fs-extra','../../components/interaction/service','./intServicenowConfiguration.controller','get','index'];(function(_0xa464c9,_0x7c86d8){var _0x3d73c4=function(_0x5c2056){while(--_0x5c2056){_0xa464c9['push'](_0xa464c9['shift']());}};_0x3d73c4(++_0x7c86d8);}(_0xa3d2,0x194));var _0x2a3d=function(_0x27d8bc,_0x19e010){_0x27d8bc=_0x27d8bc-0x0;var _0x4b04cb=_0xa3d2[_0x27d8bc];return _0x4b04cb;};'use strict';var multer=require(_0x2a3d('0x0'));var util=require(_0x2a3d('0x1'));var path=require('path');var timeout=require(_0x2a3d('0x2'));var express=require(_0x2a3d('0x3'));var router=express[_0x2a3d('0x4')]();var fs_extra=require(_0x2a3d('0x5'));var auth=require('../../components/auth/service');var interaction=require(_0x2a3d('0x6'));var config=require('../../config/environment');var controller=require(_0x2a3d('0x7'));router[_0x2a3d('0x8')]('/',auth['isAuthenticated'](),controller[_0x2a3d('0x9')]);router[_0x2a3d('0x8')](_0x2a3d('0xa'),auth[_0x2a3d('0xb')](),controller[_0x2a3d('0xc')]);router['get'](_0x2a3d('0xd'),auth['isAuthenticated'](),controller[_0x2a3d('0xe')]);router[_0x2a3d('0x8')]('/:id/subjects',auth[_0x2a3d('0xb')](),controller['getSubjects']);router['get'](_0x2a3d('0xf'),auth['isAuthenticated'](),controller[_0x2a3d('0x10')]);router[_0x2a3d('0x11')]('/',auth[_0x2a3d('0xb')](),controller['create']);router[_0x2a3d('0x12')](_0x2a3d('0xa'),auth[_0x2a3d('0xb')](),controller[_0x2a3d('0x13')]);router[_0x2a3d('0x14')](_0x2a3d('0xa'),auth['isAuthenticated'](),controller[_0x2a3d('0x15')]);module[_0x2a3d('0x16')]=router;