c9c311c9e8f0601ce888c8de5a0b4973c4043c16
[motion2.git] / server / api / screenRecording / index.js
1 // *************************************************************************
2 // *                                                                       *
3 // * xCALLY Motion -  The Omnichannel Contact Center                       *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved                     *
5 // *                                                                       *
6 // *************************************************************************
7 // *                                                                       *
8 // * Email: info@xcally.com                                                *
9 // * Website: https://www.xcally.com                                       *
10 // *                                                                       *
11 // *************************************************************************
12 // *                                                                       *
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.                         *
16 // *                                                                       *
17 // *************************************************************************
18 var _0x0f1c=['/describe','describe','/:id','show','/:id/download','download','post','create','put','delete','destroy','exports','multer','util','connect-timeout','express','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./screenRecording.controller','isAuthenticated','get'];(function(_0x376cb7,_0x219273){var _0x54d5a6=function(_0x38affa){while(--_0x38affa){_0x376cb7['push'](_0x376cb7['shift']());}};_0x54d5a6(++_0x219273);}(_0x0f1c,0x96));var _0xc0f1=function(_0x3dd15e,_0x1f0015){_0x3dd15e=_0x3dd15e-0x0;var _0x231fd0=_0x0f1c[_0x3dd15e];return _0x231fd0;};'use strict';var multer=require(_0xc0f1('0x0'));var util=require(_0xc0f1('0x1'));var path=require('path');var timeout=require(_0xc0f1('0x2'));var express=require(_0xc0f1('0x3'));var router=express['Router']();var fs_extra=require(_0xc0f1('0x4'));var auth=require(_0xc0f1('0x5'));var interaction=require(_0xc0f1('0x6'));var config=require(_0xc0f1('0x7'));var controller=require(_0xc0f1('0x8'));router['get']('/',auth[_0xc0f1('0x9')](),controller['index']);router[_0xc0f1('0xa')](_0xc0f1('0xb'),auth[_0xc0f1('0x9')](),controller[_0xc0f1('0xc')]);router[_0xc0f1('0xa')](_0xc0f1('0xd'),auth['isAuthenticated'](),controller[_0xc0f1('0xe')]);router[_0xc0f1('0xa')](_0xc0f1('0xf'),auth[_0xc0f1('0x9')](),controller[_0xc0f1('0x10')]);router[_0xc0f1('0x11')]('/',auth[_0xc0f1('0x9')](),controller[_0xc0f1('0x12')]);router[_0xc0f1('0x13')](_0xc0f1('0xd'),auth['isAuthenticated'](),controller['update']);router[_0xc0f1('0x14')](_0xc0f1('0xd'),auth[_0xc0f1('0x9')](),controller[_0xc0f1('0x15')]);module[_0xc0f1('0x16')]=router;