e53b75e69442253f4e062afbc45ad2d748e6b577
[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 _0x1d0b=['/:id','post','create','put','update','delete','destroy','exports','multer','util','path','connect-timeout','express','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','get','isAuthenticated','index'];(function(_0x556fd0,_0x4e5cb7){var _0x324975=function(_0x37c283){while(--_0x37c283){_0x556fd0['push'](_0x556fd0['shift']());}};_0x324975(++_0x4e5cb7);}(_0x1d0b,0x10c));var _0xb1d0=function(_0x3dd15e,_0x1f0015){_0x3dd15e=_0x3dd15e-0x0;var _0x231fd0=_0x1d0b[_0x3dd15e];return _0x231fd0;};'use strict';var multer=require(_0xb1d0('0x0'));var util=require(_0xb1d0('0x1'));var path=require(_0xb1d0('0x2'));var timeout=require(_0xb1d0('0x3'));var express=require(_0xb1d0('0x4'));var router=express['Router']();var fs_extra=require(_0xb1d0('0x5'));var auth=require(_0xb1d0('0x6'));var interaction=require(_0xb1d0('0x7'));var config=require(_0xb1d0('0x8'));var controller=require('./intServicenowField.controller');router[_0xb1d0('0x9')]('/',auth[_0xb1d0('0xa')](),controller[_0xb1d0('0xb')]);router[_0xb1d0('0x9')](_0xb1d0('0xc'),auth[_0xb1d0('0xa')](),controller['show']);router[_0xb1d0('0xd')]('/',auth[_0xb1d0('0xa')](),controller[_0xb1d0('0xe')]);router[_0xb1d0('0xf')](_0xb1d0('0xc'),auth[_0xb1d0('0xa')](),controller[_0xb1d0('0x10')]);router[_0xb1d0('0x11')]('/:id',auth[_0xb1d0('0xa')](),controller[_0xb1d0('0x12')]);module[_0xb1d0('0x13')]=router;