Built motion from commit (unavailable).|2.5.7
[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 _0xeaa7=['../../config/environment','./screenRecording.controller','get','index','/describe','isAuthenticated','show','/:id/download','download','post','put','/:id','update','delete','exports','multer','util','connect-timeout','Router','../../components/interaction/service'];(function(_0x295a92,_0x22095f){var _0x383ca2=function(_0x51aa9a){while(--_0x51aa9a){_0x295a92['push'](_0x295a92['shift']());}};_0x383ca2(++_0x22095f);}(_0xeaa7,0x1db));var _0x7eaa=function(_0x5d4f12,_0x11e67c){_0x5d4f12=_0x5d4f12-0x0;var _0x4eb577=_0xeaa7[_0x5d4f12];return _0x4eb577;};'use strict';var multer=require(_0x7eaa('0x0'));var util=require(_0x7eaa('0x1'));var path=require('path');var timeout=require(_0x7eaa('0x2'));var express=require('express');var router=express[_0x7eaa('0x3')]();var auth=require('../../components/auth/service');var interaction=require(_0x7eaa('0x4'));var config=require(_0x7eaa('0x5'));var controller=require(_0x7eaa('0x6'));router[_0x7eaa('0x7')]('/',auth['isAuthenticated'](),controller[_0x7eaa('0x8')]);router[_0x7eaa('0x7')](_0x7eaa('0x9'),auth[_0x7eaa('0xa')](),controller['describe']);router['get']('/:id',auth['isAuthenticated'](),controller[_0x7eaa('0xb')]);router[_0x7eaa('0x7')](_0x7eaa('0xc'),auth[_0x7eaa('0xa')](),controller[_0x7eaa('0xd')]);router[_0x7eaa('0xe')]('/',auth[_0x7eaa('0xa')](),controller['create']);router[_0x7eaa('0xf')](_0x7eaa('0x10'),auth[_0x7eaa('0xa')](),controller[_0x7eaa('0x11')]);router[_0x7eaa('0x12')](_0x7eaa('0x10'),auth['isAuthenticated'](),controller['destroy']);module[_0x7eaa('0x13')]=router;