Built motion from commit e6806ed6.|2.6.0
[motion2.git] / server / api / intServicenowConfiguration / 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 _0x1780=['isAuthenticated','index','/:id','/:id/fields','getFields','/:id/subjects','getSubjects','/:id/descriptions','getDescriptions','post','create','put','update','delete','destroy','multer','path','connect-timeout','express','../../config/environment','./intServicenowConfiguration.controller','get'];(function(_0x194137,_0x2915f1){var _0x32196a=function(_0x5e1f71){while(--_0x5e1f71){_0x194137['push'](_0x194137['shift']());}};_0x32196a(++_0x2915f1);}(_0x1780,0xbf));var _0x0178=function(_0x35dc97,_0x2b1fbb){_0x35dc97=_0x35dc97-0x0;var _0xf92e49=_0x1780[_0x35dc97];return _0xf92e49;};'use strict';var multer=require(_0x0178('0x0'));var util=require('util');var path=require(_0x0178('0x1'));var timeout=require(_0x0178('0x2'));var express=require(_0x0178('0x3'));var router=express['Router']();var fs_extra=require('fs-extra');var auth=require('../../components/auth/service');var interaction=require('../../components/interaction/service');var config=require(_0x0178('0x4'));var controller=require(_0x0178('0x5'));router[_0x0178('0x6')]('/',auth[_0x0178('0x7')](),controller[_0x0178('0x8')]);router['get'](_0x0178('0x9'),auth[_0x0178('0x7')](),controller['show']);router[_0x0178('0x6')](_0x0178('0xa'),auth[_0x0178('0x7')](),controller[_0x0178('0xb')]);router[_0x0178('0x6')](_0x0178('0xc'),auth[_0x0178('0x7')](),controller[_0x0178('0xd')]);router[_0x0178('0x6')](_0x0178('0xe'),auth['isAuthenticated'](),controller[_0x0178('0xf')]);router[_0x0178('0x10')]('/',auth[_0x0178('0x7')](),controller[_0x0178('0x11')]);router[_0x0178('0x12')](_0x0178('0x9'),auth[_0x0178('0x7')](),controller[_0x0178('0x13')]);router[_0x0178('0x14')](_0x0178('0x9'),auth[_0x0178('0x7')](),controller[_0x0178('0x15')]);module['exports']=router;