Built motion from commit (unavailable).|2.4.4
[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 _0x056f=['Router','../../components/interaction/service','../../config/environment','./intServicenowField.controller','get','isAuthenticated','index','show','create','put','/:id','destroy','multer','util','path','connect-timeout','express'];(function(_0x415964,_0x33ab82){var _0x12a52e=function(_0x5acd8e){while(--_0x5acd8e){_0x415964['push'](_0x415964['shift']());}};_0x12a52e(++_0x33ab82);}(_0x056f,0x1d7));var _0xf056=function(_0x1b490e,_0x568458){_0x1b490e=_0x1b490e-0x0;var _0x5b12a4=_0x056f[_0x1b490e];return _0x5b12a4;};'use strict';var multer=require(_0xf056('0x0'));var util=require(_0xf056('0x1'));var path=require(_0xf056('0x2'));var timeout=require(_0xf056('0x3'));var express=require(_0xf056('0x4'));var router=express[_0xf056('0x5')]();var auth=require('../../components/auth/service');var interaction=require(_0xf056('0x6'));var config=require(_0xf056('0x7'));var controller=require(_0xf056('0x8'));router[_0xf056('0x9')]('/',auth[_0xf056('0xa')](),controller[_0xf056('0xb')]);router[_0xf056('0x9')]('/:id',auth['isAuthenticated'](),controller[_0xf056('0xc')]);router['post']('/',auth[_0xf056('0xa')](),controller[_0xf056('0xd')]);router[_0xf056('0xe')](_0xf056('0xf'),auth['isAuthenticated'](),controller['update']);router['delete'](_0xf056('0xf'),auth[_0xf056('0xa')](),controller[_0xf056('0x10')]);module['exports']=router;