Built motion from commit (unavailable).|2.5.24
[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 _0xf183=['isAuthenticated','get','/:id','show','post','put','delete','destroy','exports','util','path','connect-timeout','express','../../components/auth/service','../../components/interaction/service','../../config/environment'];(function(_0x4e85c4,_0x447081){var _0x48b799=function(_0x13c2ce){while(--_0x13c2ce){_0x4e85c4['push'](_0x4e85c4['shift']());}};_0x48b799(++_0x447081);}(_0xf183,0x89));var _0x3f18=function(_0x3fe6c5,_0x19282f){_0x3fe6c5=_0x3fe6c5-0x0;var _0xa4c159=_0xf183[_0x3fe6c5];return _0xa4c159;};'use strict';var multer=require('multer');var util=require(_0x3f18('0x0'));var path=require(_0x3f18('0x1'));var timeout=require(_0x3f18('0x2'));var express=require(_0x3f18('0x3'));var router=express['Router']();var auth=require(_0x3f18('0x4'));var interaction=require(_0x3f18('0x5'));var config=require(_0x3f18('0x6'));var controller=require('./intServicenowField.controller');router['get']('/',auth[_0x3f18('0x7')](),controller['index']);router[_0x3f18('0x8')](_0x3f18('0x9'),auth[_0x3f18('0x7')](),controller[_0x3f18('0xa')]);router[_0x3f18('0xb')]('/',auth[_0x3f18('0x7')](),controller['create']);router[_0x3f18('0xc')]('/:id',auth[_0x3f18('0x7')](),controller['update']);router[_0x3f18('0xd')](_0x3f18('0x9'),auth['isAuthenticated'](),controller[_0x3f18('0xe')]);module[_0x3f18('0xf')]=router;