444d4b6f85a2cd94200d7915213aece5bd934f80
[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 _0xb9cc=['../../components/auth/service','../../components/interaction/service','./intServicenowConfiguration.controller','get','isAuthenticated','index','/:id','show','/:id/fields','getFields','/:id/subjects','post','create','put','update','delete','exports','multer','util','path','connect-timeout','express','Router'];(function(_0x4ab021,_0x2c7cc0){var _0x5aabfb=function(_0x476713){while(--_0x476713){_0x4ab021['push'](_0x4ab021['shift']());}};_0x5aabfb(++_0x2c7cc0);}(_0xb9cc,0x13c));var _0xcb9c=function(_0x256e0b,_0x49e1c1){_0x256e0b=_0x256e0b-0x0;var _0x2e9637=_0xb9cc[_0x256e0b];return _0x2e9637;};'use strict';var multer=require(_0xcb9c('0x0'));var util=require(_0xcb9c('0x1'));var path=require(_0xcb9c('0x2'));var timeout=require(_0xcb9c('0x3'));var express=require(_0xcb9c('0x4'));var router=express[_0xcb9c('0x5')]();var fs_extra=require('fs-extra');var auth=require(_0xcb9c('0x6'));var interaction=require(_0xcb9c('0x7'));var config=require('../../config/environment');var controller=require(_0xcb9c('0x8'));router[_0xcb9c('0x9')]('/',auth[_0xcb9c('0xa')](),controller[_0xcb9c('0xb')]);router[_0xcb9c('0x9')](_0xcb9c('0xc'),auth[_0xcb9c('0xa')](),controller[_0xcb9c('0xd')]);router['get'](_0xcb9c('0xe'),auth[_0xcb9c('0xa')](),controller[_0xcb9c('0xf')]);router['get'](_0xcb9c('0x10'),auth[_0xcb9c('0xa')](),controller['getSubjects']);router[_0xcb9c('0x9')]('/:id/descriptions',auth[_0xcb9c('0xa')](),controller['getDescriptions']);router[_0xcb9c('0x11')]('/',auth[_0xcb9c('0xa')](),controller[_0xcb9c('0x12')]);router[_0xcb9c('0x13')](_0xcb9c('0xc'),auth[_0xcb9c('0xa')](),controller[_0xcb9c('0x14')]);router[_0xcb9c('0x15')](_0xcb9c('0xc'),auth[_0xcb9c('0xa')](),controller['destroy']);module[_0xcb9c('0x16')]=router;