1 // *************************************************************************
3 // * xCALLY Motion - The Omnichannel Contact Center *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved *
6 // *************************************************************************
8 // * Email: info@xcally.com *
9 // * Website: https://www.xcally.com *
11 // *************************************************************************
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. *
17 // *************************************************************************
18 var _0x9d5d=['connect-timeout','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','./intVtigerConfiguration.controller','isAuthenticated','/:id','show','get','/:id/fields','getFields','/:id/subjects','getSubjects','/:id/descriptions','post','create','put','update','destroy','exports','multer','util','path'];(function(_0x23acad,_0x503d09){var _0x55b6fd=function(_0x3192ee){while(--_0x3192ee){_0x23acad['push'](_0x23acad['shift']());}};_0x55b6fd(++_0x503d09);}(_0x9d5d,0x15b));var _0xd9d5=function(_0x298638,_0xa3b8c9){_0x298638=_0x298638-0x0;var _0x369a7f=_0x9d5d[_0x298638];return _0x369a7f;};'use strict';var multer=require(_0xd9d5('0x0'));var util=require(_0xd9d5('0x1'));var path=require(_0xd9d5('0x2'));var timeout=require(_0xd9d5('0x3'));var express=require(_0xd9d5('0x4'));var router=express[_0xd9d5('0x5')]();var fs_extra=require(_0xd9d5('0x6'));var auth=require(_0xd9d5('0x7'));var interaction=require(_0xd9d5('0x8'));var config=require('../../config/environment');var controller=require(_0xd9d5('0x9'));router['get']('/',auth[_0xd9d5('0xa')](),controller['index']);router['get'](_0xd9d5('0xb'),auth[_0xd9d5('0xa')](),controller[_0xd9d5('0xc')]);router[_0xd9d5('0xd')](_0xd9d5('0xe'),auth[_0xd9d5('0xa')](),controller[_0xd9d5('0xf')]);router[_0xd9d5('0xd')](_0xd9d5('0x10'),auth['isAuthenticated'](),controller[_0xd9d5('0x11')]);router[_0xd9d5('0xd')](_0xd9d5('0x12'),auth[_0xd9d5('0xa')](),controller['getDescriptions']);router[_0xd9d5('0x13')]('/',auth[_0xd9d5('0xa')](),controller[_0xd9d5('0x14')]);router[_0xd9d5('0x15')](_0xd9d5('0xb'),auth[_0xd9d5('0xa')](),controller[_0xd9d5('0x16')]);router['delete'](_0xd9d5('0xb'),auth[_0xd9d5('0xa')](),controller[_0xd9d5('0x17')]);module[_0xd9d5('0x18')]=router;