271272333f83bcd9c1ad9dfa96e8d03e544be15e
[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 _0xad78=['../../components/interaction/service','../../config/environment','./intServicenowField.controller','get','index','isAuthenticated','post','create','put','/:id','delete','destroy','exports','multer','util','path','connect-timeout','express','Router','../../components/auth/service'];(function(_0x3394cb,_0x551ee2){var _0x3f52e2=function(_0x532201){while(--_0x532201){_0x3394cb['push'](_0x3394cb['shift']());}};_0x3f52e2(++_0x551ee2);}(_0xad78,0x85));var _0x8ad7=function(_0x4b5330,_0x5117cb){_0x4b5330=_0x4b5330-0x0;var _0x39393f=_0xad78[_0x4b5330];return _0x39393f;};'use strict';var multer=require(_0x8ad7('0x0'));var util=require(_0x8ad7('0x1'));var path=require(_0x8ad7('0x2'));var timeout=require(_0x8ad7('0x3'));var express=require(_0x8ad7('0x4'));var router=express[_0x8ad7('0x5')]();var auth=require(_0x8ad7('0x6'));var interaction=require(_0x8ad7('0x7'));var config=require(_0x8ad7('0x8'));var controller=require(_0x8ad7('0x9'));router[_0x8ad7('0xa')]('/',auth['isAuthenticated'](),controller[_0x8ad7('0xb')]);router[_0x8ad7('0xa')]('/:id',auth[_0x8ad7('0xc')](),controller['show']);router[_0x8ad7('0xd')]('/',auth[_0x8ad7('0xc')](),controller[_0x8ad7('0xe')]);router[_0x8ad7('0xf')](_0x8ad7('0x10'),auth[_0x8ad7('0xc')](),controller['update']);router[_0x8ad7('0x11')]('/:id',auth['isAuthenticated'](),controller[_0x8ad7('0x12')]);module[_0x8ad7('0x13')]=router;