Built motion from commit d5e4af8c.|2.6.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 _0x1d0a=['../../components/auth/service','../../components/interaction/service','./screenRecording.controller','isAuthenticated','index','get','/describe','describe','/:id','/:id/download','post','create','put','update','delete','exports','util','path','connect-timeout','express','Router','fs-extra'];(function(_0x1e3e59,_0x596d22){var _0x4cdd16=function(_0xec196f){while(--_0xec196f){_0x1e3e59['push'](_0x1e3e59['shift']());}};_0x4cdd16(++_0x596d22);}(_0x1d0a,0x19c));var _0xa1d0=function(_0x4c634d,_0x30f54a){_0x4c634d=_0x4c634d-0x0;var _0x5a2575=_0x1d0a[_0x4c634d];return _0x5a2575;};'use strict';var multer=require('multer');var util=require(_0xa1d0('0x0'));var path=require(_0xa1d0('0x1'));var timeout=require(_0xa1d0('0x2'));var express=require(_0xa1d0('0x3'));var router=express[_0xa1d0('0x4')]();var fs_extra=require(_0xa1d0('0x5'));var auth=require(_0xa1d0('0x6'));var interaction=require(_0xa1d0('0x7'));var config=require('../../config/environment');var controller=require(_0xa1d0('0x8'));router['get']('/',auth[_0xa1d0('0x9')](),controller[_0xa1d0('0xa')]);router[_0xa1d0('0xb')](_0xa1d0('0xc'),auth[_0xa1d0('0x9')](),controller[_0xa1d0('0xd')]);router[_0xa1d0('0xb')](_0xa1d0('0xe'),auth[_0xa1d0('0x9')](),controller['show']);router[_0xa1d0('0xb')](_0xa1d0('0xf'),auth['isAuthenticated'](),controller['download']);router[_0xa1d0('0x10')]('/',auth[_0xa1d0('0x9')](),controller[_0xa1d0('0x11')]);router[_0xa1d0('0x12')](_0xa1d0('0xe'),auth[_0xa1d0('0x9')](),controller[_0xa1d0('0x13')]);router[_0xa1d0('0x14')](_0xa1d0('0xe'),auth['isAuthenticated'](),controller['destroy']);module[_0xa1d0('0x15')]=router;