Built motion from commit e6806ed6.|2.6.0
[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 _0xa4d7=['update','exports','multer','path','express','../../components/auth/service','../../components/interaction/service','../../config/environment','./screenRecording.controller','get','index','isAuthenticated','describe','/:id','show','/:id/download','download','post','create','put'];(function(_0x491a7f,_0x28bb80){var _0x3d8f44=function(_0xdaa716){while(--_0xdaa716){_0x491a7f['push'](_0x491a7f['shift']());}};_0x3d8f44(++_0x28bb80);}(_0xa4d7,0x1e2));var _0x7a4d=function(_0x259b56,_0x1b18da){_0x259b56=_0x259b56-0x0;var _0x54936e=_0xa4d7[_0x259b56];return _0x54936e;};'use strict';var multer=require(_0x7a4d('0x0'));var util=require('util');var path=require(_0x7a4d('0x1'));var timeout=require('connect-timeout');var express=require(_0x7a4d('0x2'));var router=express['Router']();var fs_extra=require('fs-extra');var auth=require(_0x7a4d('0x3'));var interaction=require(_0x7a4d('0x4'));var config=require(_0x7a4d('0x5'));var controller=require(_0x7a4d('0x6'));router[_0x7a4d('0x7')]('/',auth['isAuthenticated'](),controller[_0x7a4d('0x8')]);router[_0x7a4d('0x7')]('/describe',auth[_0x7a4d('0x9')](),controller[_0x7a4d('0xa')]);router[_0x7a4d('0x7')](_0x7a4d('0xb'),auth[_0x7a4d('0x9')](),controller[_0x7a4d('0xc')]);router[_0x7a4d('0x7')](_0x7a4d('0xd'),auth['isAuthenticated'](),controller[_0x7a4d('0xe')]);router[_0x7a4d('0xf')]('/',auth[_0x7a4d('0x9')](),controller[_0x7a4d('0x10')]);router[_0x7a4d('0x11')]('/:id',auth['isAuthenticated'](),controller[_0x7a4d('0x12')]);router['delete']('/:id',auth[_0x7a4d('0x9')](),controller['destroy']);module[_0x7a4d('0x13')]=router;