Built motion from commit 3c2ce842.|2.6.31
[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 _0x7e35=['/:id/configurations','/:id/fields','post','create','addConfiguration','update','delete','destroy','exports','multer','util','path','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./intServicenowAccount.controller','get','index','/:id','isAuthenticated'];(function(_0xa464c9,_0x7c86d8){var _0x3d73c4=function(_0x5c2056){while(--_0x5c2056){_0xa464c9['push'](_0xa464c9['shift']());}};_0x3d73c4(++_0x7c86d8);}(_0x7e35,0xc9));var _0x57e3=function(_0x206b5c,_0x1112b3){_0x206b5c=_0x206b5c-0x0;var _0xb7a208=_0x7e35[_0x206b5c];return _0xb7a208;};'use strict';var multer=require(_0x57e3('0x0'));var util=require(_0x57e3('0x1'));var path=require(_0x57e3('0x2'));var timeout=require(_0x57e3('0x3'));var express=require(_0x57e3('0x4'));var router=express[_0x57e3('0x5')]();var fs_extra=require(_0x57e3('0x6'));var auth=require(_0x57e3('0x7'));var interaction=require(_0x57e3('0x8'));var config=require(_0x57e3('0x9'));var controller=require(_0x57e3('0xa'));router[_0x57e3('0xb')]('/',auth['isAuthenticated'](),controller[_0x57e3('0xc')]);router[_0x57e3('0xb')](_0x57e3('0xd'),auth[_0x57e3('0xe')](),controller['show']);router[_0x57e3('0xb')](_0x57e3('0xf'),auth[_0x57e3('0xe')](),controller['getConfigurations']);router[_0x57e3('0xb')](_0x57e3('0x10'),auth['isAuthenticated'](),controller['getFields']);router[_0x57e3('0x11')]('/',auth[_0x57e3('0xe')](),controller[_0x57e3('0x12')]);router[_0x57e3('0x11')](_0x57e3('0xf'),auth[_0x57e3('0xe')](),controller[_0x57e3('0x13')]);router['put'](_0x57e3('0xd'),auth[_0x57e3('0xe')](),controller[_0x57e3('0x14')]);router[_0x57e3('0x15')](_0x57e3('0xd'),auth[_0x57e3('0xe')](),controller[_0x57e3('0x16')]);module[_0x57e3('0x17')]=router;