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