Built motion from commit (unavailable).|2.5.22
[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 _0x208a=['delete','destroy','exports','multer','path','express','Router','../../components/auth/service','../../components/interaction/service','./intServicenowField.controller','isAuthenticated','index','get','/:id','show','post','create','put','update'];(function(_0x8639c5,_0x38ce0c){var _0x5972c3=function(_0x5bce3d){while(--_0x5bce3d){_0x8639c5['push'](_0x8639c5['shift']());}};_0x5972c3(++_0x38ce0c);}(_0x208a,0x120));var _0xa208=function(_0x17e82b,_0x408574){_0x17e82b=_0x17e82b-0x0;var _0x3131b6=_0x208a[_0x17e82b];return _0x3131b6;};'use strict';var multer=require(_0xa208('0x0'));var util=require('util');var path=require(_0xa208('0x1'));var timeout=require('connect-timeout');var express=require(_0xa208('0x2'));var router=express[_0xa208('0x3')]();var auth=require(_0xa208('0x4'));var interaction=require(_0xa208('0x5'));var config=require('../../config/environment');var controller=require(_0xa208('0x6'));router['get']('/',auth[_0xa208('0x7')](),controller[_0xa208('0x8')]);router[_0xa208('0x9')](_0xa208('0xa'),auth[_0xa208('0x7')](),controller[_0xa208('0xb')]);router[_0xa208('0xc')]('/',auth[_0xa208('0x7')](),controller[_0xa208('0xd')]);router[_0xa208('0xe')](_0xa208('0xa'),auth['isAuthenticated'](),controller[_0xa208('0xf')]);router[_0xa208('0x10')](_0xa208('0xa'),auth[_0xa208('0x7')](),controller[_0xa208('0x11')]);module[_0xa208('0x12')]=router;