16d9dec52e8c686a009840109b62d8102b839fe3
[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 _0x1bde=['/:id/fields','getFields','post','create','/:id/configurations','addConfiguration','put','update','delete','destroy','exports','multer','util','path','connect-timeout','../../components/auth/service','../../components/interaction/service','../../config/environment','./intServicenowAccount.controller','isAuthenticated','index','get','/:id','show'];(function(_0x3b6d35,_0x413679){var _0x5d20c1=function(_0x53dcf4){while(--_0x53dcf4){_0x3b6d35['push'](_0x3b6d35['shift']());}};_0x5d20c1(++_0x413679);}(_0x1bde,0xe3));var _0xe1bd=function(_0x36df0b,_0x461795){_0x36df0b=_0x36df0b-0x0;var _0x326ed7=_0x1bde[_0x36df0b];return _0x326ed7;};'use strict';var multer=require(_0xe1bd('0x0'));var util=require(_0xe1bd('0x1'));var path=require(_0xe1bd('0x2'));var timeout=require(_0xe1bd('0x3'));var express=require('express');var router=express['Router']();var auth=require(_0xe1bd('0x4'));var interaction=require(_0xe1bd('0x5'));var config=require(_0xe1bd('0x6'));var controller=require(_0xe1bd('0x7'));router['get']('/',auth[_0xe1bd('0x8')](),controller[_0xe1bd('0x9')]);router[_0xe1bd('0xa')](_0xe1bd('0xb'),auth[_0xe1bd('0x8')](),controller[_0xe1bd('0xc')]);router[_0xe1bd('0xa')]('/:id/configurations',auth[_0xe1bd('0x8')](),controller['getConfigurations']);router[_0xe1bd('0xa')](_0xe1bd('0xd'),auth['isAuthenticated'](),controller[_0xe1bd('0xe')]);router[_0xe1bd('0xf')]('/',auth[_0xe1bd('0x8')](),controller[_0xe1bd('0x10')]);router[_0xe1bd('0xf')](_0xe1bd('0x11'),auth['isAuthenticated'](),controller[_0xe1bd('0x12')]);router[_0xe1bd('0x13')](_0xe1bd('0xb'),auth[_0xe1bd('0x8')](),controller[_0xe1bd('0x14')]);router[_0xe1bd('0x15')]('/:id',auth[_0xe1bd('0x8')](),controller[_0xe1bd('0x16')]);module[_0xe1bd('0x17')]=router;