Built motion from commit 85328c08.|2.5.50
[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 _0xb0bf=['./intServicenowField.controller','get','index','/:id','show','post','isAuthenticated','create','put','update','delete','destroy','exports','path','connect-timeout','../../components/auth/service','../../components/interaction/service'];(function(_0x30ae5e,_0x391fc4){var _0x1f2e93=function(_0x60307d){while(--_0x60307d){_0x30ae5e['push'](_0x30ae5e['shift']());}};_0x1f2e93(++_0x391fc4);}(_0xb0bf,0xb7));var _0xfb0b=function(_0x481761,_0x3a01d4){_0x481761=_0x481761-0x0;var _0x4531f6=_0xb0bf[_0x481761];return _0x4531f6;};'use strict';var multer=require('multer');var util=require('util');var path=require(_0xfb0b('0x0'));var timeout=require(_0xfb0b('0x1'));var express=require('express');var router=express['Router']();var fs_extra=require('fs-extra');var auth=require(_0xfb0b('0x2'));var interaction=require(_0xfb0b('0x3'));var config=require('../../config/environment');var controller=require(_0xfb0b('0x4'));router[_0xfb0b('0x5')]('/',auth['isAuthenticated'](),controller[_0xfb0b('0x6')]);router[_0xfb0b('0x5')](_0xfb0b('0x7'),auth['isAuthenticated'](),controller[_0xfb0b('0x8')]);router[_0xfb0b('0x9')]('/',auth[_0xfb0b('0xa')](),controller[_0xfb0b('0xb')]);router[_0xfb0b('0xc')](_0xfb0b('0x7'),auth['isAuthenticated'](),controller[_0xfb0b('0xd')]);router[_0xfb0b('0xe')](_0xfb0b('0x7'),auth[_0xfb0b('0xa')](),controller[_0xfb0b('0xf')]);module[_0xfb0b('0x10')]=router;