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 _0x2b61=['Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./intVtigerConfiguration.controller','get','isAuthenticated','/:id','show','getFields','/:id/descriptions','getDescriptions','post','create','put','update','delete','destroy','exports','util','path','connect-timeout','express'];(function(_0x242349,_0x389cae){var _0x1b5bde=function(_0x48ec5b){while(--_0x48ec5b){_0x242349['push'](_0x242349['shift']());}};_0x1b5bde(++_0x389cae);}(_0x2b61,0x1dc));var _0x12b6=function(_0x5227ab,_0x514da4){_0x5227ab=_0x5227ab-0x0;var _0x3dc702=_0x2b61[_0x5227ab];return _0x3dc702;};'use strict';var multer=require('multer');var util=require(_0x12b6('0x0'));var path=require(_0x12b6('0x1'));var timeout=require(_0x12b6('0x2'));var express=require(_0x12b6('0x3'));var router=express[_0x12b6('0x4')]();var fs_extra=require(_0x12b6('0x5'));var auth=require(_0x12b6('0x6'));var interaction=require(_0x12b6('0x7'));var config=require(_0x12b6('0x8'));var controller=require(_0x12b6('0x9'));router[_0x12b6('0xa')]('/',auth[_0x12b6('0xb')](),controller['index']);router[_0x12b6('0xa')](_0x12b6('0xc'),auth[_0x12b6('0xb')](),controller[_0x12b6('0xd')]);router[_0x12b6('0xa')]('/:id/fields',auth['isAuthenticated'](),controller[_0x12b6('0xe')]);router['get']('/:id/subjects',auth['isAuthenticated'](),controller['getSubjects']);router[_0x12b6('0xa')](_0x12b6('0xf'),auth[_0x12b6('0xb')](),controller[_0x12b6('0x10')]);router[_0x12b6('0x11')]('/',auth[_0x12b6('0xb')](),controller[_0x12b6('0x12')]);router[_0x12b6('0x13')](_0x12b6('0xc'),auth[_0x12b6('0xb')](),controller[_0x12b6('0x14')]);router[_0x12b6('0x15')](_0x12b6('0xc'),auth[_0x12b6('0xb')](),controller[_0x12b6('0x16')]);module[_0x12b6('0x17')]=router;