Built motion from commit 19a84241.|2.5.34
[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 _0x0133=['show','/:id/fields','/:id/subjects','getSubjects','/:id/descriptions','getDescriptions','post','create','destroy','exports','multer','util','path','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','get','isAuthenticated','index','/:id'];(function(_0x28bf31,_0x4b3c90){var _0x5270dc=function(_0x555ff7){while(--_0x555ff7){_0x28bf31['push'](_0x28bf31['shift']());}};_0x5270dc(++_0x4b3c90);}(_0x0133,0xd9));var _0x3013=function(_0x3054be,_0x1bdc8b){_0x3054be=_0x3054be-0x0;var _0x3df150=_0x0133[_0x3054be];return _0x3df150;};'use strict';var multer=require(_0x3013('0x0'));var util=require(_0x3013('0x1'));var path=require(_0x3013('0x2'));var timeout=require('connect-timeout');var express=require(_0x3013('0x3'));var router=express[_0x3013('0x4')]();var fs_extra=require(_0x3013('0x5'));var auth=require(_0x3013('0x6'));var interaction=require(_0x3013('0x7'));var config=require(_0x3013('0x8'));var controller=require('./intServicenowConfiguration.controller');router[_0x3013('0x9')]('/',auth[_0x3013('0xa')](),controller[_0x3013('0xb')]);router[_0x3013('0x9')](_0x3013('0xc'),auth[_0x3013('0xa')](),controller[_0x3013('0xd')]);router['get'](_0x3013('0xe'),auth[_0x3013('0xa')](),controller['getFields']);router['get'](_0x3013('0xf'),auth[_0x3013('0xa')](),controller[_0x3013('0x10')]);router['get'](_0x3013('0x11'),auth[_0x3013('0xa')](),controller[_0x3013('0x12')]);router[_0x3013('0x13')]('/',auth[_0x3013('0xa')](),controller[_0x3013('0x14')]);router['put'](_0x3013('0xc'),auth[_0x3013('0xa')](),controller['update']);router['delete']('/:id',auth[_0x3013('0xa')](),controller[_0x3013('0x15')]);module[_0x3013('0x16')]=router;