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