Built motion from commit f7863d46.|2.5.41
[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 _0xfa2b=['delete','destroy','exports','path','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../config/environment','./screenRecording.controller','get','isAuthenticated','/describe','describe','/:id','show','/:id/download','download','post','create'];(function(_0x4efdfd,_0x4a27df){var _0x2b413=function(_0x14a082){while(--_0x14a082){_0x4efdfd['push'](_0x4efdfd['shift']());}};_0x2b413(++_0x4a27df);}(_0xfa2b,0x1bc));var _0xbfa2=function(_0x15257e,_0x1c0646){_0x15257e=_0x15257e-0x0;var _0x49c0af=_0xfa2b[_0x15257e];return _0x49c0af;};'use strict';var multer=require('multer');var util=require('util');var path=require(_0xbfa2('0x0'));var timeout=require(_0xbfa2('0x1'));var express=require(_0xbfa2('0x2'));var router=express[_0xbfa2('0x3')]();var fs_extra=require(_0xbfa2('0x4'));var auth=require(_0xbfa2('0x5'));var interaction=require('../../components/interaction/service');var config=require(_0xbfa2('0x6'));var controller=require(_0xbfa2('0x7'));router[_0xbfa2('0x8')]('/',auth[_0xbfa2('0x9')](),controller['index']);router[_0xbfa2('0x8')](_0xbfa2('0xa'),auth[_0xbfa2('0x9')](),controller[_0xbfa2('0xb')]);router[_0xbfa2('0x8')](_0xbfa2('0xc'),auth[_0xbfa2('0x9')](),controller[_0xbfa2('0xd')]);router['get'](_0xbfa2('0xe'),auth[_0xbfa2('0x9')](),controller[_0xbfa2('0xf')]);router[_0xbfa2('0x10')]('/',auth['isAuthenticated'](),controller[_0xbfa2('0x11')]);router['put']('/:id',auth[_0xbfa2('0x9')](),controller['update']);router[_0xbfa2('0x12')](_0xbfa2('0xc'),auth[_0xbfa2('0x9')](),controller[_0xbfa2('0x13')]);module[_0xbfa2('0x14')]=router;