Built motion from commit ffdca78c.|2.6.24
[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 _0xb86a=['/:id','isAuthenticated','show','/:id/download','download','post','update','delete','destroy','exports','multer','util','path','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','./screenRecording.controller','get','index','/describe','describe'];(function(_0x2ad2a0,_0x255eaa){var _0x6762b=function(_0x1e6f88){while(--_0x1e6f88){_0x2ad2a0['push'](_0x2ad2a0['shift']());}};_0x6762b(++_0x255eaa);}(_0xb86a,0x7d));var _0xab86=function(_0x1e4360,_0x930b9b){_0x1e4360=_0x1e4360-0x0;var _0x31e6b4=_0xb86a[_0x1e4360];return _0x31e6b4;};'use strict';var multer=require(_0xab86('0x0'));var util=require(_0xab86('0x1'));var path=require(_0xab86('0x2'));var timeout=require('connect-timeout');var express=require(_0xab86('0x3'));var router=express[_0xab86('0x4')]();var fs_extra=require(_0xab86('0x5'));var auth=require(_0xab86('0x6'));var interaction=require(_0xab86('0x7'));var config=require('../../config/environment');var controller=require(_0xab86('0x8'));router[_0xab86('0x9')]('/',auth['isAuthenticated'](),controller[_0xab86('0xa')]);router['get'](_0xab86('0xb'),auth['isAuthenticated'](),controller[_0xab86('0xc')]);router['get'](_0xab86('0xd'),auth[_0xab86('0xe')](),controller[_0xab86('0xf')]);router[_0xab86('0x9')](_0xab86('0x10'),auth[_0xab86('0xe')](),controller[_0xab86('0x11')]);router[_0xab86('0x12')]('/',auth[_0xab86('0xe')](),controller['create']);router['put'](_0xab86('0xd'),auth['isAuthenticated'](),controller[_0xab86('0x13')]);router[_0xab86('0x14')](_0xab86('0xd'),auth['isAuthenticated'](),controller[_0xab86('0x15')]);module[_0xab86('0x16')]=router;