Built motion from commit e2351160.|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 _0x43f9=['./intServicenowField.controller','get','isAuthenticated','/:id','show','post','create','update','destroy','exports','path','connect-timeout','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment'];(function(_0x460e8e,_0x1d6177){var _0x290a1c=function(_0x2be6e3){while(--_0x2be6e3){_0x460e8e['push'](_0x460e8e['shift']());}};_0x290a1c(++_0x1d6177);}(_0x43f9,0xe7));var _0x943f=function(_0x3f72e2,_0x309274){_0x3f72e2=_0x3f72e2-0x0;var _0x2fae38=_0x43f9[_0x3f72e2];return _0x2fae38;};'use strict';var multer=require('multer');var util=require('util');var path=require(_0x943f('0x0'));var timeout=require(_0x943f('0x1'));var express=require('express');var router=express[_0x943f('0x2')]();var fs_extra=require(_0x943f('0x3'));var auth=require(_0x943f('0x4'));var interaction=require(_0x943f('0x5'));var config=require(_0x943f('0x6'));var controller=require(_0x943f('0x7'));router[_0x943f('0x8')]('/',auth[_0x943f('0x9')](),controller['index']);router[_0x943f('0x8')](_0x943f('0xa'),auth[_0x943f('0x9')](),controller[_0x943f('0xb')]);router[_0x943f('0xc')]('/',auth[_0x943f('0x9')](),controller[_0x943f('0xd')]);router['put'](_0x943f('0xa'),auth['isAuthenticated'](),controller[_0x943f('0xe')]);router['delete'](_0x943f('0xa'),auth[_0x943f('0x9')](),controller[_0x943f('0xf')]);module[_0x943f('0x10')]=router;