Built motion from commit f74363e9.|2.6.34
[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 _0x47dd=['update','exports','multer','util','path','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../config/environment','./intServicenowField.controller','get','isAuthenticated','index','show','post','put','/:id'];(function(_0x170682,_0x1fe7b7){var _0x2d9f0e=function(_0x1912d7){while(--_0x1912d7){_0x170682['push'](_0x170682['shift']());}};_0x2d9f0e(++_0x1fe7b7);}(_0x47dd,0x1dd));var _0xd47d=function(_0x13e741,_0x5d3c24){_0x13e741=_0x13e741-0x0;var _0x3f8bb3=_0x47dd[_0x13e741];return _0x3f8bb3;};'use strict';var multer=require(_0xd47d('0x0'));var util=require(_0xd47d('0x1'));var path=require(_0xd47d('0x2'));var timeout=require(_0xd47d('0x3'));var express=require(_0xd47d('0x4'));var router=express[_0xd47d('0x5')]();var fs_extra=require(_0xd47d('0x6'));var auth=require(_0xd47d('0x7'));var interaction=require('../../components/interaction/service');var config=require(_0xd47d('0x8'));var controller=require(_0xd47d('0x9'));router[_0xd47d('0xa')]('/',auth[_0xd47d('0xb')](),controller[_0xd47d('0xc')]);router[_0xd47d('0xa')]('/:id',auth[_0xd47d('0xb')](),controller[_0xd47d('0xd')]);router[_0xd47d('0xe')]('/',auth['isAuthenticated'](),controller['create']);router[_0xd47d('0xf')](_0xd47d('0x10'),auth[_0xd47d('0xb')](),controller[_0xd47d('0x11')]);router['delete'](_0xd47d('0x10'),auth[_0xd47d('0xb')](),controller['destroy']);module[_0xd47d('0x12')]=router;