Built motion from commit a61a4a20.|2.5.46
[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 _0x3186=['../../components/auth/service','../../components/interaction/service','../../config/environment','get','/:id','show','post','isAuthenticated','create','put','update','delete','destroy','exports','util','path','express','Router'];(function(_0x4bfcae,_0x23dec4){var _0x3e6dfc=function(_0x372c8d){while(--_0x372c8d){_0x4bfcae['push'](_0x4bfcae['shift']());}};_0x3e6dfc(++_0x23dec4);}(_0x3186,0xb0));var _0x6318=function(_0x4ad7f6,_0x309046){_0x4ad7f6=_0x4ad7f6-0x0;var _0x4a4955=_0x3186[_0x4ad7f6];return _0x4a4955;};'use strict';var multer=require('multer');var util=require(_0x6318('0x0'));var path=require(_0x6318('0x1'));var timeout=require('connect-timeout');var express=require(_0x6318('0x2'));var router=express[_0x6318('0x3')]();var fs_extra=require('fs-extra');var auth=require(_0x6318('0x4'));var interaction=require(_0x6318('0x5'));var config=require(_0x6318('0x6'));var controller=require('./intServicenowField.controller');router[_0x6318('0x7')]('/',auth['isAuthenticated'](),controller['index']);router[_0x6318('0x7')](_0x6318('0x8'),auth['isAuthenticated'](),controller[_0x6318('0x9')]);router[_0x6318('0xa')]('/',auth[_0x6318('0xb')](),controller[_0x6318('0xc')]);router[_0x6318('0xd')](_0x6318('0x8'),auth['isAuthenticated'](),controller[_0x6318('0xe')]);router[_0x6318('0xf')](_0x6318('0x8'),auth[_0x6318('0xb')](),controller[_0x6318('0x10')]);module[_0x6318('0x11')]=router;