Built motion from commit (unavailable).|2.4.18
[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 _0x5d33=['download','post','create','delete','destroy','connect-timeout','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./screenRecording.controller','get','isAuthenticated','index','/describe','describe','/:id','show','/:id/download'];(function(_0x20a584,_0xe384a5){var _0x4b41a8=function(_0x2127c6){while(--_0x2127c6){_0x20a584['push'](_0x20a584['shift']());}};_0x4b41a8(++_0xe384a5);}(_0x5d33,0x122));var _0x35d3=function(_0x374dfb,_0x1b7bdd){_0x374dfb=_0x374dfb-0x0;var _0xb196d6=_0x5d33[_0x374dfb];return _0xb196d6;};'use strict';var multer=require('multer');var util=require('util');var path=require('path');var timeout=require(_0x35d3('0x0'));var express=require('express');var router=express[_0x35d3('0x1')]();var auth=require(_0x35d3('0x2'));var interaction=require(_0x35d3('0x3'));var config=require(_0x35d3('0x4'));var controller=require(_0x35d3('0x5'));router[_0x35d3('0x6')]('/',auth[_0x35d3('0x7')](),controller[_0x35d3('0x8')]);router[_0x35d3('0x6')](_0x35d3('0x9'),auth[_0x35d3('0x7')](),controller[_0x35d3('0xa')]);router[_0x35d3('0x6')](_0x35d3('0xb'),auth['isAuthenticated'](),controller[_0x35d3('0xc')]);router['get'](_0x35d3('0xd'),auth[_0x35d3('0x7')](),controller[_0x35d3('0xe')]);router[_0x35d3('0xf')]('/',auth[_0x35d3('0x7')](),controller[_0x35d3('0x10')]);router['put']('/:id',auth[_0x35d3('0x7')](),controller['update']);router[_0x35d3('0x11')](_0x35d3('0xb'),auth['isAuthenticated'](),controller[_0x35d3('0x12')]);module['exports']=router;