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 _0x5c7f=['get','isAuthenticated','index','describe','/:id','show','post','put','update','delete','exports','multer','util','path','connect-timeout','express','Router','../../components/interaction/service','../../config/environment','./chatQueueReport.controller'];(function(_0x9a010f,_0x54dec4){var _0x5135fb=function(_0x206154){while(--_0x206154){_0x9a010f['push'](_0x9a010f['shift']());}};_0x5135fb(++_0x54dec4);}(_0x5c7f,0x123));var _0xf5c7=function(_0x25d386,_0x108d0d){_0x25d386=_0x25d386-0x0;var _0x857f4a=_0x5c7f[_0x25d386];return _0x857f4a;};'use strict';var multer=require(_0xf5c7('0x0'));var util=require(_0xf5c7('0x1'));var path=require(_0xf5c7('0x2'));var timeout=require(_0xf5c7('0x3'));var express=require(_0xf5c7('0x4'));var router=express[_0xf5c7('0x5')]();var fs_extra=require('fs-extra');var auth=require('../../components/auth/service');var interaction=require(_0xf5c7('0x6'));var config=require(_0xf5c7('0x7'));var controller=require(_0xf5c7('0x8'));router[_0xf5c7('0x9')]('/',auth[_0xf5c7('0xa')](),controller[_0xf5c7('0xb')]);router['get']('/describe',auth[_0xf5c7('0xa')](),controller[_0xf5c7('0xc')]);router['get'](_0xf5c7('0xd'),auth[_0xf5c7('0xa')](),controller[_0xf5c7('0xe')]);router[_0xf5c7('0xf')]('/',auth['isAuthenticated'](),controller['create']);router[_0xf5c7('0x10')](_0xf5c7('0xd'),auth[_0xf5c7('0xa')](),controller[_0xf5c7('0x11')]);router[_0xf5c7('0x12')](_0xf5c7('0xd'),auth[_0xf5c7('0xa')](),controller['destroy']);module[_0xf5c7('0x13')]=router;