Built motion from commit (unavailable).|2.5.4
[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 _0xd1c4=['put','destroy','util','path','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./intServicenowField.controller','get','isAuthenticated','index','/:id','show','post','create'];(function(_0x368646,_0xb9ed0b){var _0x381a6d=function(_0x292332){while(--_0x292332){_0x368646['push'](_0x368646['shift']());}};_0x381a6d(++_0xb9ed0b);}(_0xd1c4,0x1bc));var _0x4d1c=function(_0x20cdd2,_0x24da9b){_0x20cdd2=_0x20cdd2-0x0;var _0x8bd09e=_0xd1c4[_0x20cdd2];return _0x8bd09e;};'use strict';var multer=require('multer');var util=require(_0x4d1c('0x0'));var path=require(_0x4d1c('0x1'));var timeout=require('connect-timeout');var express=require(_0x4d1c('0x2'));var router=express[_0x4d1c('0x3')]();var auth=require(_0x4d1c('0x4'));var interaction=require(_0x4d1c('0x5'));var config=require(_0x4d1c('0x6'));var controller=require(_0x4d1c('0x7'));router[_0x4d1c('0x8')]('/',auth[_0x4d1c('0x9')](),controller[_0x4d1c('0xa')]);router['get'](_0x4d1c('0xb'),auth[_0x4d1c('0x9')](),controller[_0x4d1c('0xc')]);router[_0x4d1c('0xd')]('/',auth['isAuthenticated'](),controller[_0x4d1c('0xe')]);router[_0x4d1c('0xf')](_0x4d1c('0xb'),auth[_0x4d1c('0x9')](),controller['update']);router['delete']('/:id',auth['isAuthenticated'](),controller[_0x4d1c('0x10')]);module['exports']=router;