Built motion from commit (unavailable).|2.4.3
[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 _0xf5d4=['isAuthenticated','create','put','update','delete','destroy','exports','multer','util','connect-timeout','../../components/auth/service','../../components/interaction/service','../../config/environment','get','/:id'];(function(_0x18a715,_0x227c47){var _0xef1375=function(_0x2da19c){while(--_0x2da19c){_0x18a715['push'](_0x18a715['shift']());}};_0xef1375(++_0x227c47);}(_0xf5d4,0x16f));var _0x4f5d=function(_0x2a70ae,_0x5e95ae){_0x2a70ae=_0x2a70ae-0x0;var _0x5a099b=_0xf5d4[_0x2a70ae];return _0x5a099b;};'use strict';var multer=require(_0x4f5d('0x0'));var util=require(_0x4f5d('0x1'));var path=require('path');var timeout=require(_0x4f5d('0x2'));var express=require('express');var router=express['Router']();var auth=require(_0x4f5d('0x3'));var interaction=require(_0x4f5d('0x4'));var config=require(_0x4f5d('0x5'));var controller=require('./intServicenowField.controller');router[_0x4f5d('0x6')]('/',auth['isAuthenticated'](),controller['index']);router['get'](_0x4f5d('0x7'),auth[_0x4f5d('0x8')](),controller['show']);router['post']('/',auth[_0x4f5d('0x8')](),controller[_0x4f5d('0x9')]);router[_0x4f5d('0xa')](_0x4f5d('0x7'),auth[_0x4f5d('0x8')](),controller[_0x4f5d('0xb')]);router[_0x4f5d('0xc')](_0x4f5d('0x7'),auth[_0x4f5d('0x8')](),controller[_0x4f5d('0xd')]);module[_0x4f5d('0xe')]=router;