Built motion from commit (unavailable).|2.5.7
[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 _0x58f1=['show','create','/:id','isAuthenticated','update','delete','exports','multer','util','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./intServicenowField.controller','index','get'];(function(_0x4940a0,_0x3f9be1){var _0x556f14=function(_0x119685){while(--_0x119685){_0x4940a0['push'](_0x4940a0['shift']());}};_0x556f14(++_0x3f9be1);}(_0x58f1,0x115));var _0x158f=function(_0x599e60,_0x5b6519){_0x599e60=_0x599e60-0x0;var _0x468e19=_0x58f1[_0x599e60];return _0x468e19;};'use strict';var multer=require(_0x158f('0x0'));var util=require(_0x158f('0x1'));var path=require('path');var timeout=require(_0x158f('0x2'));var express=require(_0x158f('0x3'));var router=express[_0x158f('0x4')]();var auth=require(_0x158f('0x5'));var interaction=require(_0x158f('0x6'));var config=require(_0x158f('0x7'));var controller=require(_0x158f('0x8'));router['get']('/',auth['isAuthenticated'](),controller[_0x158f('0x9')]);router[_0x158f('0xa')]('/:id',auth['isAuthenticated'](),controller[_0x158f('0xb')]);router['post']('/',auth['isAuthenticated'](),controller[_0x158f('0xc')]);router['put'](_0x158f('0xd'),auth[_0x158f('0xe')](),controller[_0x158f('0xf')]);router[_0x158f('0x10')](_0x158f('0xd'),auth[_0x158f('0xe')](),controller['destroy']);module[_0x158f('0x11')]=router;