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