Built motion from commit 1ea47bf4.|2.6.34
[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 _0x2fc7=['connect-timeout','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./intServicenowAccount.controller','get','isAuthenticated','index','/:id','/:id/configurations','getConfigurations','/:id/fields','getFields','post','create','addConfiguration','update','delete','destroy','exports','util'];(function(_0x320a38,_0xc6a350){var _0x59785e=function(_0x2bcc98){while(--_0x2bcc98){_0x320a38['push'](_0x320a38['shift']());}};_0x59785e(++_0xc6a350);}(_0x2fc7,0x19d));var _0x72fc=function(_0x1d66d4,_0x4551db){_0x1d66d4=_0x1d66d4-0x0;var _0x21a88=_0x2fc7[_0x1d66d4];return _0x21a88;};'use strict';var multer=require('multer');var util=require(_0x72fc('0x0'));var path=require('path');var timeout=require(_0x72fc('0x1'));var express=require('express');var router=express[_0x72fc('0x2')]();var fs_extra=require(_0x72fc('0x3'));var auth=require(_0x72fc('0x4'));var interaction=require(_0x72fc('0x5'));var config=require(_0x72fc('0x6'));var controller=require(_0x72fc('0x7'));router[_0x72fc('0x8')]('/',auth[_0x72fc('0x9')](),controller[_0x72fc('0xa')]);router[_0x72fc('0x8')](_0x72fc('0xb'),auth[_0x72fc('0x9')](),controller['show']);router[_0x72fc('0x8')](_0x72fc('0xc'),auth[_0x72fc('0x9')](),controller[_0x72fc('0xd')]);router[_0x72fc('0x8')](_0x72fc('0xe'),auth['isAuthenticated'](),controller[_0x72fc('0xf')]);router[_0x72fc('0x10')]('/',auth[_0x72fc('0x9')](),controller[_0x72fc('0x11')]);router[_0x72fc('0x10')](_0x72fc('0xc'),auth[_0x72fc('0x9')](),controller[_0x72fc('0x12')]);router['put']('/:id',auth[_0x72fc('0x9')](),controller[_0x72fc('0x13')]);router[_0x72fc('0x14')]('/:id',auth['isAuthenticated'](),controller[_0x72fc('0x15')]);module[_0x72fc('0x16')]=router;