Built motion from commit (unavailable).|2.5.23
[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 _0x3ac4=['create','put','update','delete','destroy','exports','multer','util','path','connect-timeout','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./intServicenowField.controller','get','isAuthenticated','index','/:id','show','post'];(function(_0x1d850e,_0x723bc4){var _0x2efd1f=function(_0x4aabc7){while(--_0x4aabc7){_0x1d850e['push'](_0x1d850e['shift']());}};_0x2efd1f(++_0x723bc4);}(_0x3ac4,0x16b));var _0x43ac=function(_0x142bff,_0x5d8f7b){_0x142bff=_0x142bff-0x0;var _0x41439a=_0x3ac4[_0x142bff];return _0x41439a;};'use strict';var multer=require(_0x43ac('0x0'));var util=require(_0x43ac('0x1'));var path=require(_0x43ac('0x2'));var timeout=require(_0x43ac('0x3'));var express=require('express');var router=express[_0x43ac('0x4')]();var auth=require(_0x43ac('0x5'));var interaction=require(_0x43ac('0x6'));var config=require(_0x43ac('0x7'));var controller=require(_0x43ac('0x8'));router[_0x43ac('0x9')]('/',auth[_0x43ac('0xa')](),controller[_0x43ac('0xb')]);router[_0x43ac('0x9')](_0x43ac('0xc'),auth[_0x43ac('0xa')](),controller[_0x43ac('0xd')]);router[_0x43ac('0xe')]('/',auth[_0x43ac('0xa')](),controller[_0x43ac('0xf')]);router[_0x43ac('0x10')]('/:id',auth['isAuthenticated'](),controller[_0x43ac('0x11')]);router[_0x43ac('0x12')](_0x43ac('0xc'),auth['isAuthenticated'](),controller[_0x43ac('0x13')]);module[_0x43ac('0x14')]=router;