Built motion from commit (unavailable).|2.3.1
[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 _0x4e40=['multer','util','path','express','Router','../../components/auth/service','../../components/interaction/service','./intServicenowField.controller','get','isAuthenticated','/:id','show','put','update','delete','exports'];(function(_0x934425,_0x5af72f){var _0x31d596=function(_0x219869){while(--_0x219869){_0x934425['push'](_0x934425['shift']());}};_0x31d596(++_0x5af72f);}(_0x4e40,0x1f0));var _0x04e4=function(_0x2b0f8c,_0x2c51bc){_0x2b0f8c=_0x2b0f8c-0x0;var _0x407a38=_0x4e40[_0x2b0f8c];return _0x407a38;};'use strict';var multer=require(_0x04e4('0x0'));var util=require(_0x04e4('0x1'));var path=require(_0x04e4('0x2'));var timeout=require('connect-timeout');var express=require(_0x04e4('0x3'));var router=express[_0x04e4('0x4')]();var auth=require(_0x04e4('0x5'));var interaction=require(_0x04e4('0x6'));var config=require('../../config/environment');var controller=require(_0x04e4('0x7'));router[_0x04e4('0x8')]('/',auth[_0x04e4('0x9')](),controller['index']);router[_0x04e4('0x8')](_0x04e4('0xa'),auth['isAuthenticated'](),controller[_0x04e4('0xb')]);router['post']('/',auth['isAuthenticated'](),controller['create']);router[_0x04e4('0xc')](_0x04e4('0xa'),auth[_0x04e4('0x9')](),controller[_0x04e4('0xd')]);router[_0x04e4('0xe')]('/:id',auth[_0x04e4('0x9')](),controller['destroy']);module[_0x04e4('0xf')]=router;