c0d8d2a05e10cc36b9bd91bd060f7aff195c42e3
[motion2.git] / server / api / intServicenowField / 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 _0xe66b=['destroy','exports','multer','util','path','connect-timeout','express','Router','./intServicenowField.controller','index','/:id','isAuthenticated','show','post','create','put','update','delete'];(function(_0x45c856,_0x5e6a1e){var _0x4961aa=function(_0x29f14d){while(--_0x29f14d){_0x45c856['push'](_0x45c856['shift']());}};_0x4961aa(++_0x5e6a1e);}(_0xe66b,0x17c));var _0xbe66=function(_0x455538,_0x4dcd30){_0x455538=_0x455538-0x0;var _0x391905=_0xe66b[_0x455538];return _0x391905;};'use strict';var multer=require(_0xbe66('0x0'));var util=require(_0xbe66('0x1'));var path=require(_0xbe66('0x2'));var timeout=require(_0xbe66('0x3'));var express=require(_0xbe66('0x4'));var router=express[_0xbe66('0x5')]();var auth=require('../../components/auth/service');var interaction=require('../../components/interaction/service');var config=require('../../config/environment');var controller=require(_0xbe66('0x6'));router['get']('/',auth['isAuthenticated'](),controller[_0xbe66('0x7')]);router['get'](_0xbe66('0x8'),auth[_0xbe66('0x9')](),controller[_0xbe66('0xa')]);router[_0xbe66('0xb')]('/',auth[_0xbe66('0x9')](),controller[_0xbe66('0xc')]);router[_0xbe66('0xd')](_0xbe66('0x8'),auth['isAuthenticated'](),controller[_0xbe66('0xe')]);router[_0xbe66('0xf')](_0xbe66('0x8'),auth[_0xbe66('0x9')](),controller[_0xbe66('0x10')]);module[_0xbe66('0x11')]=router;