Built motion from commit (unavailable).|2.5.4
[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 _0xd04c=['delete','destroy','exports','util','express','Router','../../components/interaction/service','../../config/environment','./screenRecording.controller','/describe','isAuthenticated','get','/:id','show','/:id/download','post'];(function(_0x58a183,_0x4fbc2b){var _0x322e63=function(_0x175164){while(--_0x175164){_0x58a183['push'](_0x58a183['shift']());}};_0x322e63(++_0x4fbc2b);}(_0xd04c,0x133));var _0xcd04=function(_0x471fb4,_0x452a5c){_0x471fb4=_0x471fb4-0x0;var _0x430c84=_0xd04c[_0x471fb4];return _0x430c84;};'use strict';var multer=require('multer');var util=require(_0xcd04('0x0'));var path=require('path');var timeout=require('connect-timeout');var express=require(_0xcd04('0x1'));var router=express[_0xcd04('0x2')]();var auth=require('../../components/auth/service');var interaction=require(_0xcd04('0x3'));var config=require(_0xcd04('0x4'));var controller=require(_0xcd04('0x5'));router['get']('/',auth['isAuthenticated'](),controller['index']);router['get'](_0xcd04('0x6'),auth[_0xcd04('0x7')](),controller['describe']);router[_0xcd04('0x8')](_0xcd04('0x9'),auth[_0xcd04('0x7')](),controller[_0xcd04('0xa')]);router[_0xcd04('0x8')](_0xcd04('0xb'),auth[_0xcd04('0x7')](),controller['download']);router[_0xcd04('0xc')]('/',auth[_0xcd04('0x7')](),controller['create']);router['put'](_0xcd04('0x9'),auth['isAuthenticated'](),controller['update']);router[_0xcd04('0xd')](_0xcd04('0x9'),auth['isAuthenticated'](),controller[_0xcd04('0xe')]);module[_0xcd04('0xf')]=router;