Built motion from commit 775e2a94.|2.6.3
[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 _0x348f=['../../components/auth/service','../../config/environment','isAuthenticated','index','get','/:id','show','post','create','put','delete','destroy','exports','multer','util','path','connect-timeout','express','fs-extra'];(function(_0x4f8698,_0x224ddc){var _0x225202=function(_0x3693ff){while(--_0x3693ff){_0x4f8698['push'](_0x4f8698['shift']());}};_0x225202(++_0x224ddc);}(_0x348f,0x117));var _0xf348=function(_0x4d6179,_0x4cb0ed){_0x4d6179=_0x4d6179-0x0;var _0x58a7c3=_0x348f[_0x4d6179];return _0x58a7c3;};'use strict';var multer=require(_0xf348('0x0'));var util=require(_0xf348('0x1'));var path=require(_0xf348('0x2'));var timeout=require(_0xf348('0x3'));var express=require(_0xf348('0x4'));var router=express['Router']();var fs_extra=require(_0xf348('0x5'));var auth=require(_0xf348('0x6'));var interaction=require('../../components/interaction/service');var config=require(_0xf348('0x7'));var controller=require('./intServicenowField.controller');router['get']('/',auth[_0xf348('0x8')](),controller[_0xf348('0x9')]);router[_0xf348('0xa')](_0xf348('0xb'),auth[_0xf348('0x8')](),controller[_0xf348('0xc')]);router[_0xf348('0xd')]('/',auth['isAuthenticated'](),controller[_0xf348('0xe')]);router[_0xf348('0xf')](_0xf348('0xb'),auth['isAuthenticated'](),controller['update']);router[_0xf348('0x10')](_0xf348('0xb'),auth[_0xf348('0x8')](),controller[_0xf348('0x11')]);module[_0xf348('0x12')]=router;