Built motion from commit (unavailable).|2.5.4
[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 _0xf350=['getFields','post','create','/:id/configurations','addConfiguration','put','delete','destroy','exports','multer','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./intServicenowAccount.controller','get','/:id','isAuthenticated','/:id/fields'];(function(_0x332581,_0x11feb6){var _0x3674ff=function(_0x354b74){while(--_0x354b74){_0x332581['push'](_0x332581['shift']());}};_0x3674ff(++_0x11feb6);}(_0xf350,0x105));var _0x0f35=function(_0x4565bf,_0x5ad9d6){_0x4565bf=_0x4565bf-0x0;var _0x5610ba=_0xf350[_0x4565bf];return _0x5610ba;};'use strict';var multer=require(_0x0f35('0x0'));var util=require('util');var path=require('path');var timeout=require(_0x0f35('0x1'));var express=require(_0x0f35('0x2'));var router=express[_0x0f35('0x3')]();var auth=require(_0x0f35('0x4'));var interaction=require(_0x0f35('0x5'));var config=require(_0x0f35('0x6'));var controller=require(_0x0f35('0x7'));router['get']('/',auth['isAuthenticated'](),controller['index']);router[_0x0f35('0x8')](_0x0f35('0x9'),auth['isAuthenticated'](),controller['show']);router[_0x0f35('0x8')]('/:id/configurations',auth[_0x0f35('0xa')](),controller['getConfigurations']);router[_0x0f35('0x8')](_0x0f35('0xb'),auth[_0x0f35('0xa')](),controller[_0x0f35('0xc')]);router[_0x0f35('0xd')]('/',auth[_0x0f35('0xa')](),controller[_0x0f35('0xe')]);router[_0x0f35('0xd')](_0x0f35('0xf'),auth['isAuthenticated'](),controller[_0x0f35('0x10')]);router[_0x0f35('0x11')]('/:id',auth[_0x0f35('0xa')](),controller['update']);router[_0x0f35('0x12')]('/:id',auth['isAuthenticated'](),controller[_0x0f35('0x13')]);module[_0x0f35('0x14')]=router;