Built motion from commit 3a7e82ea.|2.6.29
[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 _0xad01=['path','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../config/environment','./intServicenowField.controller','get','isAuthenticated','index','/:id','show','post','create','put','update','delete','destroy','exports','multer','util'];(function(_0x544bde,_0xc4ad39){var _0x53f06e=function(_0x4e3750){while(--_0x4e3750){_0x544bde['push'](_0x544bde['shift']());}};_0x53f06e(++_0xc4ad39);}(_0xad01,0x18a));var _0x1ad0=function(_0x55fe82,_0x329b56){_0x55fe82=_0x55fe82-0x0;var _0xc3b698=_0xad01[_0x55fe82];return _0xc3b698;};'use strict';var multer=require(_0x1ad0('0x0'));var util=require(_0x1ad0('0x1'));var path=require(_0x1ad0('0x2'));var timeout=require(_0x1ad0('0x3'));var express=require(_0x1ad0('0x4'));var router=express[_0x1ad0('0x5')]();var fs_extra=require(_0x1ad0('0x6'));var auth=require(_0x1ad0('0x7'));var interaction=require('../../components/interaction/service');var config=require(_0x1ad0('0x8'));var controller=require(_0x1ad0('0x9'));router[_0x1ad0('0xa')]('/',auth[_0x1ad0('0xb')](),controller[_0x1ad0('0xc')]);router[_0x1ad0('0xa')](_0x1ad0('0xd'),auth[_0x1ad0('0xb')](),controller[_0x1ad0('0xe')]);router[_0x1ad0('0xf')]('/',auth[_0x1ad0('0xb')](),controller[_0x1ad0('0x10')]);router[_0x1ad0('0x11')]('/:id',auth[_0x1ad0('0xb')](),controller[_0x1ad0('0x12')]);router[_0x1ad0('0x13')](_0x1ad0('0xd'),auth[_0x1ad0('0xb')](),controller[_0x1ad0('0x14')]);module[_0x1ad0('0x15')]=router;