Built motion from commit (unavailable).|2.5.6
[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 _0xe151=['put','update','delete','destroy','exports','multer','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','./intServicenowField.controller','isAuthenticated','index','get','/:id','post','create'];(function(_0x437b49,_0x4a4fd1){var _0xad1e06=function(_0x3419e4){while(--_0x3419e4){_0x437b49['push'](_0x437b49['shift']());}};_0xad1e06(++_0x4a4fd1);}(_0xe151,0x137));var _0x1e15=function(_0x4de1e5,_0x2301ee){_0x4de1e5=_0x4de1e5-0x0;var _0x1bc1e4=_0xe151[_0x4de1e5];return _0x1bc1e4;};'use strict';var multer=require(_0x1e15('0x0'));var util=require('util');var path=require('path');var timeout=require(_0x1e15('0x1'));var express=require(_0x1e15('0x2'));var router=express[_0x1e15('0x3')]();var auth=require(_0x1e15('0x4'));var interaction=require(_0x1e15('0x5'));var config=require('../../config/environment');var controller=require(_0x1e15('0x6'));router['get']('/',auth[_0x1e15('0x7')](),controller[_0x1e15('0x8')]);router[_0x1e15('0x9')](_0x1e15('0xa'),auth[_0x1e15('0x7')](),controller['show']);router[_0x1e15('0xb')]('/',auth[_0x1e15('0x7')](),controller[_0x1e15('0xc')]);router[_0x1e15('0xd')](_0x1e15('0xa'),auth[_0x1e15('0x7')](),controller[_0x1e15('0xe')]);router[_0x1e15('0xf')](_0x1e15('0xa'),auth[_0x1e15('0x7')](),controller[_0x1e15('0x10')]);module[_0x1e15('0x11')]=router;