Built motion from commit (unavailable).|2.5.23
[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 _0xe475=['/describe','describe','/:id/download','post','/:id','delete','destroy','exports','multer','util','express','../../components/auth/service','../../components/interaction/service','./screenRecording.controller','get','isAuthenticated','index'];(function(_0x4d5e2f,_0x5ee42f){var _0x4f96a9=function(_0x3fe447){while(--_0x3fe447){_0x4d5e2f['push'](_0x4d5e2f['shift']());}};_0x4f96a9(++_0x5ee42f);}(_0xe475,0x118));var _0x5e47=function(_0x3dd15e,_0x1f0015){_0x3dd15e=_0x3dd15e-0x0;var _0x231fd0=_0xe475[_0x3dd15e];return _0x231fd0;};'use strict';var multer=require(_0x5e47('0x0'));var util=require(_0x5e47('0x1'));var path=require('path');var timeout=require('connect-timeout');var express=require(_0x5e47('0x2'));var router=express['Router']();var auth=require(_0x5e47('0x3'));var interaction=require(_0x5e47('0x4'));var config=require('../../config/environment');var controller=require(_0x5e47('0x5'));router[_0x5e47('0x6')]('/',auth[_0x5e47('0x7')](),controller[_0x5e47('0x8')]);router[_0x5e47('0x6')](_0x5e47('0x9'),auth['isAuthenticated'](),controller[_0x5e47('0xa')]);router['get']('/:id',auth[_0x5e47('0x7')](),controller['show']);router[_0x5e47('0x6')](_0x5e47('0xb'),auth[_0x5e47('0x7')](),controller['download']);router[_0x5e47('0xc')]('/',auth[_0x5e47('0x7')](),controller['create']);router['put'](_0x5e47('0xd'),auth[_0x5e47('0x7')](),controller['update']);router[_0x5e47('0xe')](_0x5e47('0xd'),auth[_0x5e47('0x7')](),controller[_0x5e47('0xf')]);module[_0x5e47('0x10')]=router;