dc8c6a0ee15e5d957f8c6f2b941ee8d32a2d5590
[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 _0x8bf1=['/:id','update','delete','destroy','exports','multer','path','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','get','isAuthenticated','index','show','/:id/configurations','getConfigurations','/:id/fields','post','create','addConfiguration','put'];(function(_0xde282,_0x5a0e7f){var _0x40447f=function(_0x5231ed){while(--_0x5231ed){_0xde282['push'](_0xde282['shift']());}};_0x40447f(++_0x5a0e7f);}(_0x8bf1,0x65));var _0x18bf=function(_0x3dd15e,_0x1f0015){_0x3dd15e=_0x3dd15e-0x0;var _0x231fd0=_0x8bf1[_0x3dd15e];return _0x231fd0;};'use strict';var multer=require(_0x18bf('0x0'));var util=require('util');var path=require(_0x18bf('0x1'));var timeout=require(_0x18bf('0x2'));var express=require(_0x18bf('0x3'));var router=express[_0x18bf('0x4')]();var auth=require(_0x18bf('0x5'));var interaction=require(_0x18bf('0x6'));var config=require(_0x18bf('0x7'));var controller=require('./intServicenowAccount.controller');router[_0x18bf('0x8')]('/',auth[_0x18bf('0x9')](),controller[_0x18bf('0xa')]);router[_0x18bf('0x8')]('/:id',auth[_0x18bf('0x9')](),controller[_0x18bf('0xb')]);router[_0x18bf('0x8')](_0x18bf('0xc'),auth[_0x18bf('0x9')](),controller[_0x18bf('0xd')]);router[_0x18bf('0x8')](_0x18bf('0xe'),auth[_0x18bf('0x9')](),controller['getFields']);router[_0x18bf('0xf')]('/',auth[_0x18bf('0x9')](),controller[_0x18bf('0x10')]);router[_0x18bf('0xf')](_0x18bf('0xc'),auth[_0x18bf('0x9')](),controller[_0x18bf('0x11')]);router[_0x18bf('0x12')](_0x18bf('0x13'),auth['isAuthenticated'](),controller[_0x18bf('0x14')]);router[_0x18bf('0x15')]('/:id',auth[_0x18bf('0x9')](),controller[_0x18bf('0x16')]);module[_0x18bf('0x17')]=router;