Built motion from commit (unavailable).|2.4.21
[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 _0x53cf=['Router','../../components/auth/service','../../config/environment','./intServicenowAccount.controller','get','isAuthenticated','index','/:id','/:id/configurations','getConfigurations','/:id/fields','getFields','post','put','update','delete','destroy','exports','multer','util','path','connect-timeout','express'];(function(_0x11f0a6,_0x1ce59d){var _0xa5ab4b=function(_0x42fd28){while(--_0x42fd28){_0x11f0a6['push'](_0x11f0a6['shift']());}};_0xa5ab4b(++_0x1ce59d);}(_0x53cf,0x1b0));var _0xf53c=function(_0x5ed6e1,_0xfaceb4){_0x5ed6e1=_0x5ed6e1-0x0;var _0x3c1a3c=_0x53cf[_0x5ed6e1];return _0x3c1a3c;};'use strict';var multer=require(_0xf53c('0x0'));var util=require(_0xf53c('0x1'));var path=require(_0xf53c('0x2'));var timeout=require(_0xf53c('0x3'));var express=require(_0xf53c('0x4'));var router=express[_0xf53c('0x5')]();var auth=require(_0xf53c('0x6'));var interaction=require('../../components/interaction/service');var config=require(_0xf53c('0x7'));var controller=require(_0xf53c('0x8'));router[_0xf53c('0x9')]('/',auth[_0xf53c('0xa')](),controller[_0xf53c('0xb')]);router[_0xf53c('0x9')](_0xf53c('0xc'),auth[_0xf53c('0xa')](),controller['show']);router['get'](_0xf53c('0xd'),auth['isAuthenticated'](),controller[_0xf53c('0xe')]);router[_0xf53c('0x9')](_0xf53c('0xf'),auth['isAuthenticated'](),controller[_0xf53c('0x10')]);router[_0xf53c('0x11')]('/',auth['isAuthenticated'](),controller['create']);router[_0xf53c('0x11')](_0xf53c('0xd'),auth['isAuthenticated'](),controller['addConfiguration']);router[_0xf53c('0x12')](_0xf53c('0xc'),auth[_0xf53c('0xa')](),controller[_0xf53c('0x13')]);router[_0xf53c('0x14')](_0xf53c('0xc'),auth[_0xf53c('0xa')](),controller[_0xf53c('0x15')]);module[_0xf53c('0x16')]=router;