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 _0x47db=['Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./screenRecording.controller','get','index','/describe','isAuthenticated','describe','/:id','/:id/download','download','post','put','update','delete','destroy','exports','multer','util','path','connect-timeout'];(function(_0x3d8522,_0x17a7fb){var _0x2e8b82=function(_0x6f4461){while(--_0x6f4461){_0x3d8522['push'](_0x3d8522['shift']());}};_0x2e8b82(++_0x17a7fb);}(_0x47db,0x74));var _0xb47d=function(_0x3af36e,_0x339f39){_0x3af36e=_0x3af36e-0x0;var _0x585e82=_0x47db[_0x3af36e];return _0x585e82;};'use strict';var multer=require(_0xb47d('0x0'));var util=require(_0xb47d('0x1'));var path=require(_0xb47d('0x2'));var timeout=require(_0xb47d('0x3'));var express=require('express');var router=express[_0xb47d('0x4')]();var fs_extra=require(_0xb47d('0x5'));var auth=require(_0xb47d('0x6'));var interaction=require(_0xb47d('0x7'));var config=require(_0xb47d('0x8'));var controller=require(_0xb47d('0x9'));router[_0xb47d('0xa')]('/',auth['isAuthenticated'](),controller[_0xb47d('0xb')]);router[_0xb47d('0xa')](_0xb47d('0xc'),auth[_0xb47d('0xd')](),controller[_0xb47d('0xe')]);router[_0xb47d('0xa')](_0xb47d('0xf'),auth[_0xb47d('0xd')](),controller['show']);router['get'](_0xb47d('0x10'),auth[_0xb47d('0xd')](),controller[_0xb47d('0x11')]);router[_0xb47d('0x12')]('/',auth[_0xb47d('0xd')](),controller['create']);router[_0xb47d('0x13')](_0xb47d('0xf'),auth[_0xb47d('0xd')](),controller[_0xb47d('0x14')]);router[_0xb47d('0x15')](_0xb47d('0xf'),auth['isAuthenticated'](),controller[_0xb47d('0x16')]);module[_0xb47d('0x17')]=router;