Built motion from commit (unavailable).|2.5.31
[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 _0xebe4=['getDescriptions','create','update','delete','exports','multer','util','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../config/environment','./intServicenowConfiguration.controller','isAuthenticated','get','/:id','/:id/fields','/:id/subjects','getSubjects','/:id/descriptions'];(function(_0xc1136d,_0x3d339f){var _0x3ba510=function(_0x1e5a6b){while(--_0x1e5a6b){_0xc1136d['push'](_0xc1136d['shift']());}};_0x3ba510(++_0x3d339f);}(_0xebe4,0x1e8));var _0x4ebe=function(_0x4848ea,_0x21a826){_0x4848ea=_0x4848ea-0x0;var _0x5211e6=_0xebe4[_0x4848ea];return _0x5211e6;};'use strict';var multer=require(_0x4ebe('0x0'));var util=require(_0x4ebe('0x1'));var path=require('path');var timeout=require(_0x4ebe('0x2'));var express=require(_0x4ebe('0x3'));var router=express[_0x4ebe('0x4')]();var fs_extra=require(_0x4ebe('0x5'));var auth=require(_0x4ebe('0x6'));var interaction=require('../../components/interaction/service');var config=require(_0x4ebe('0x7'));var controller=require(_0x4ebe('0x8'));router['get']('/',auth[_0x4ebe('0x9')](),controller['index']);router[_0x4ebe('0xa')](_0x4ebe('0xb'),auth[_0x4ebe('0x9')](),controller['show']);router[_0x4ebe('0xa')](_0x4ebe('0xc'),auth[_0x4ebe('0x9')](),controller['getFields']);router[_0x4ebe('0xa')](_0x4ebe('0xd'),auth[_0x4ebe('0x9')](),controller[_0x4ebe('0xe')]);router['get'](_0x4ebe('0xf'),auth[_0x4ebe('0x9')](),controller[_0x4ebe('0x10')]);router['post']('/',auth[_0x4ebe('0x9')](),controller[_0x4ebe('0x11')]);router['put'](_0x4ebe('0xb'),auth['isAuthenticated'](),controller[_0x4ebe('0x12')]);router[_0x4ebe('0x13')](_0x4ebe('0xb'),auth[_0x4ebe('0x9')](),controller['destroy']);module[_0x4ebe('0x14')]=router;