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 _0xc064=['/describe','describe','show','/:id/download','download','post','put','/:id','update','delete','exports','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./screenRecording.controller','get','isAuthenticated'];(function(_0x2e2dc2,_0x91637f){var _0x394e1d=function(_0x3a4e72){while(--_0x3a4e72){_0x2e2dc2['push'](_0x2e2dc2['shift']());}};_0x394e1d(++_0x91637f);}(_0xc064,0x173));var _0x4c06=function(_0x4fc7d9,_0x54b223){_0x4fc7d9=_0x4fc7d9-0x0;var _0xab10e=_0xc064[_0x4fc7d9];return _0xab10e;};'use strict';var multer=require('multer');var util=require('util');var path=require('path');var timeout=require('connect-timeout');var express=require('express');var router=express['Router']();var fs_extra=require(_0x4c06('0x0'));var auth=require(_0x4c06('0x1'));var interaction=require(_0x4c06('0x2'));var config=require(_0x4c06('0x3'));var controller=require(_0x4c06('0x4'));router[_0x4c06('0x5')]('/',auth[_0x4c06('0x6')](),controller['index']);router[_0x4c06('0x5')](_0x4c06('0x7'),auth['isAuthenticated'](),controller[_0x4c06('0x8')]);router[_0x4c06('0x5')]('/:id',auth[_0x4c06('0x6')](),controller[_0x4c06('0x9')]);router[_0x4c06('0x5')](_0x4c06('0xa'),auth[_0x4c06('0x6')](),controller[_0x4c06('0xb')]);router[_0x4c06('0xc')]('/',auth['isAuthenticated'](),controller['create']);router[_0x4c06('0xd')](_0x4c06('0xe'),auth[_0x4c06('0x6')](),controller[_0x4c06('0xf')]);router[_0x4c06('0x10')](_0x4c06('0xe'),auth[_0x4c06('0x6')](),controller['destroy']);module[_0x4c06('0x11')]=router;