Built motion from commit (unavailable).|2.5.29
[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 _0xc293=['connect-timeout','express','Router','./intServicenowConfiguration.controller','isAuthenticated','index','get','/:id','show','/:id/fields','getFields','getSubjects','getDescriptions','post','create','put','update','delete','destroy','exports','multer','util','path'];(function(_0x37bd26,_0x5ad346){var _0xe83dc4=function(_0x1ac229){while(--_0x1ac229){_0x37bd26['push'](_0x37bd26['shift']());}};_0xe83dc4(++_0x5ad346);}(_0xc293,0xfa));var _0x3c29=function(_0xb03c1c,_0x2f98ed){_0xb03c1c=_0xb03c1c-0x0;var _0x507e93=_0xc293[_0xb03c1c];return _0x507e93;};'use strict';var multer=require(_0x3c29('0x0'));var util=require(_0x3c29('0x1'));var path=require(_0x3c29('0x2'));var timeout=require(_0x3c29('0x3'));var express=require(_0x3c29('0x4'));var router=express[_0x3c29('0x5')]();var fs_extra=require('fs-extra');var auth=require('../../components/auth/service');var interaction=require('../../components/interaction/service');var config=require('../../config/environment');var controller=require(_0x3c29('0x6'));router['get']('/',auth[_0x3c29('0x7')](),controller[_0x3c29('0x8')]);router[_0x3c29('0x9')](_0x3c29('0xa'),auth[_0x3c29('0x7')](),controller[_0x3c29('0xb')]);router[_0x3c29('0x9')](_0x3c29('0xc'),auth[_0x3c29('0x7')](),controller[_0x3c29('0xd')]);router[_0x3c29('0x9')]('/:id/subjects',auth[_0x3c29('0x7')](),controller[_0x3c29('0xe')]);router[_0x3c29('0x9')]('/:id/descriptions',auth[_0x3c29('0x7')](),controller[_0x3c29('0xf')]);router[_0x3c29('0x10')]('/',auth[_0x3c29('0x7')](),controller[_0x3c29('0x11')]);router[_0x3c29('0x12')](_0x3c29('0xa'),auth[_0x3c29('0x7')](),controller[_0x3c29('0x13')]);router[_0x3c29('0x14')](_0x3c29('0xa'),auth[_0x3c29('0x7')](),controller[_0x3c29('0x15')]);module[_0x3c29('0x16')]=router;