Built motion from commit (unavailable).|2.5.7
[motion2.git] / server / api / intServicenowAccount / 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 _0xb91a=['isAuthenticated','index','/:id','show','/:id/fields','getFields','post','create','/:id/configurations','addConfiguration','put','delete','destroy','exports','multer','util','path','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./intServicenowAccount.controller','get'];(function(_0x40bb84,_0x5dba45){var _0x455bd5=function(_0x3b7953){while(--_0x3b7953){_0x40bb84['push'](_0x40bb84['shift']());}};_0x455bd5(++_0x5dba45);}(_0xb91a,0xf4));var _0xab91=function(_0x27057a,_0x5e27a7){_0x27057a=_0x27057a-0x0;var _0x19c1c7=_0xb91a[_0x27057a];return _0x19c1c7;};'use strict';var multer=require(_0xab91('0x0'));var util=require(_0xab91('0x1'));var path=require(_0xab91('0x2'));var timeout=require('connect-timeout');var express=require('express');var router=express[_0xab91('0x3')]();var auth=require(_0xab91('0x4'));var interaction=require(_0xab91('0x5'));var config=require(_0xab91('0x6'));var controller=require(_0xab91('0x7'));router[_0xab91('0x8')]('/',auth[_0xab91('0x9')](),controller[_0xab91('0xa')]);router[_0xab91('0x8')](_0xab91('0xb'),auth['isAuthenticated'](),controller[_0xab91('0xc')]);router[_0xab91('0x8')]('/:id/configurations',auth['isAuthenticated'](),controller['getConfigurations']);router[_0xab91('0x8')](_0xab91('0xd'),auth[_0xab91('0x9')](),controller[_0xab91('0xe')]);router[_0xab91('0xf')]('/',auth[_0xab91('0x9')](),controller[_0xab91('0x10')]);router[_0xab91('0xf')](_0xab91('0x11'),auth[_0xab91('0x9')](),controller[_0xab91('0x12')]);router[_0xab91('0x13')](_0xab91('0xb'),auth['isAuthenticated'](),controller['update']);router[_0xab91('0x14')](_0xab91('0xb'),auth[_0xab91('0x9')](),controller[_0xab91('0x15')]);module[_0xab91('0x16')]=router;