Built motion from commit (unavailable).|2.5.13
[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 _0xfa96=['connect-timeout','express','Router','../../components/interaction/service','../../config/environment','./screenRecording.controller','isAuthenticated','get','/describe','describe','/:id','/:id/download','download','update','delete','exports','multer'];(function(_0x62c958,_0x2bfdbc){var _0x57ec61=function(_0x5c0094){while(--_0x5c0094){_0x62c958['push'](_0x62c958['shift']());}};_0x57ec61(++_0x2bfdbc);}(_0xfa96,0xcb));var _0x6fa9=function(_0x4f9b18,_0x2cb5ca){_0x4f9b18=_0x4f9b18-0x0;var _0x29f20c=_0xfa96[_0x4f9b18];return _0x29f20c;};'use strict';var multer=require(_0x6fa9('0x0'));var util=require('util');var path=require('path');var timeout=require(_0x6fa9('0x1'));var express=require(_0x6fa9('0x2'));var router=express[_0x6fa9('0x3')]();var auth=require('../../components/auth/service');var interaction=require(_0x6fa9('0x4'));var config=require(_0x6fa9('0x5'));var controller=require(_0x6fa9('0x6'));router['get']('/',auth[_0x6fa9('0x7')](),controller['index']);router[_0x6fa9('0x8')](_0x6fa9('0x9'),auth['isAuthenticated'](),controller[_0x6fa9('0xa')]);router[_0x6fa9('0x8')](_0x6fa9('0xb'),auth[_0x6fa9('0x7')](),controller['show']);router['get'](_0x6fa9('0xc'),auth['isAuthenticated'](),controller[_0x6fa9('0xd')]);router['post']('/',auth[_0x6fa9('0x7')](),controller['create']);router['put'](_0x6fa9('0xb'),auth[_0x6fa9('0x7')](),controller[_0x6fa9('0xe')]);router[_0x6fa9('0xf')](_0x6fa9('0xb'),auth[_0x6fa9('0x7')](),controller['destroy']);module[_0x6fa9('0x10')]=router;