Built motion from commit (unavailable).|2.5.4
[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 _0x88ec=['isAuthenticated','index','show','/:id/fields','getFields','/:id/subjects','getSubjects','/:id/descriptions','getDescriptions','post','create','put','/:id','update','delete','destroy','multer','util','path','express','Router','../../components/auth/service','../../components/interaction/service','./intServicenowConfiguration.controller','get'];(function(_0xf20b6,_0x49ddbb){var _0x4ff567=function(_0x3ccc7f){while(--_0x3ccc7f){_0xf20b6['push'](_0xf20b6['shift']());}};_0x4ff567(++_0x49ddbb);}(_0x88ec,0x1d2));var _0xc88e=function(_0x1ecc0c,_0xce40a8){_0x1ecc0c=_0x1ecc0c-0x0;var _0x28e3f3=_0x88ec[_0x1ecc0c];return _0x28e3f3;};'use strict';var multer=require(_0xc88e('0x0'));var util=require(_0xc88e('0x1'));var path=require(_0xc88e('0x2'));var timeout=require('connect-timeout');var express=require(_0xc88e('0x3'));var router=express[_0xc88e('0x4')]();var auth=require(_0xc88e('0x5'));var interaction=require(_0xc88e('0x6'));var config=require('../../config/environment');var controller=require(_0xc88e('0x7'));router[_0xc88e('0x8')]('/',auth[_0xc88e('0x9')](),controller[_0xc88e('0xa')]);router[_0xc88e('0x8')]('/:id',auth['isAuthenticated'](),controller[_0xc88e('0xb')]);router[_0xc88e('0x8')](_0xc88e('0xc'),auth['isAuthenticated'](),controller[_0xc88e('0xd')]);router[_0xc88e('0x8')](_0xc88e('0xe'),auth['isAuthenticated'](),controller[_0xc88e('0xf')]);router[_0xc88e('0x8')](_0xc88e('0x10'),auth['isAuthenticated'](),controller[_0xc88e('0x11')]);router[_0xc88e('0x12')]('/',auth[_0xc88e('0x9')](),controller[_0xc88e('0x13')]);router[_0xc88e('0x14')](_0xc88e('0x15'),auth['isAuthenticated'](),controller[_0xc88e('0x16')]);router[_0xc88e('0x17')](_0xc88e('0x15'),auth[_0xc88e('0x9')](),controller[_0xc88e('0x18')]);module['exports']=router;