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