1a5001afa723eaf2a025482cba87f87268cdf356
[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 _0xd1cc=['getDescriptions','post','update','delete','destroy','exports','multer','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./intServicenowConfiguration.controller','get','isAuthenticated','index','/:id','show','/:id/fields','/:id/subjects','/:id/descriptions'];(function(_0x546c92,_0x165c9f){var _0x55ca41=function(_0x23f5b5){while(--_0x23f5b5){_0x546c92['push'](_0x546c92['shift']());}};_0x55ca41(++_0x165c9f);}(_0xd1cc,0xb6));var _0xcd1c=function(_0x45617c,_0x4ff903){_0x45617c=_0x45617c-0x0;var _0x2d9ded=_0xd1cc[_0x45617c];return _0x2d9ded;};'use strict';var multer=require(_0xcd1c('0x0'));var util=require('util');var path=require('path');var timeout=require('connect-timeout');var express=require(_0xcd1c('0x1'));var router=express[_0xcd1c('0x2')]();var fs_extra=require(_0xcd1c('0x3'));var auth=require(_0xcd1c('0x4'));var interaction=require(_0xcd1c('0x5'));var config=require(_0xcd1c('0x6'));var controller=require(_0xcd1c('0x7'));router[_0xcd1c('0x8')]('/',auth[_0xcd1c('0x9')](),controller[_0xcd1c('0xa')]);router[_0xcd1c('0x8')](_0xcd1c('0xb'),auth[_0xcd1c('0x9')](),controller[_0xcd1c('0xc')]);router[_0xcd1c('0x8')](_0xcd1c('0xd'),auth[_0xcd1c('0x9')](),controller['getFields']);router['get'](_0xcd1c('0xe'),auth[_0xcd1c('0x9')](),controller['getSubjects']);router[_0xcd1c('0x8')](_0xcd1c('0xf'),auth[_0xcd1c('0x9')](),controller[_0xcd1c('0x10')]);router[_0xcd1c('0x11')]('/',auth[_0xcd1c('0x9')](),controller['create']);router['put'](_0xcd1c('0xb'),auth['isAuthenticated'](),controller[_0xcd1c('0x12')]);router[_0xcd1c('0x13')](_0xcd1c('0xb'),auth[_0xcd1c('0x9')](),controller[_0xcd1c('0x14')]);module[_0xcd1c('0x15')]=router;