Built motion from commit (unavailable).|2.5.30
[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 _0x27bb=['update','multer','path','connect-timeout','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','get','isAuthenticated','/describe','describe','/:id','show','/:id/download','download','post','create','put'];(function(_0x4a0d30,_0x34ac87){var _0x503729=function(_0x5c7ecf){while(--_0x5c7ecf){_0x4a0d30['push'](_0x4a0d30['shift']());}};_0x503729(++_0x34ac87);}(_0x27bb,0x141));var _0xb27b=function(_0x5ad19e,_0x2ecf85){_0x5ad19e=_0x5ad19e-0x0;var _0x5f58bc=_0x27bb[_0x5ad19e];return _0x5f58bc;};'use strict';var multer=require(_0xb27b('0x0'));var util=require('util');var path=require(_0xb27b('0x1'));var timeout=require(_0xb27b('0x2'));var express=require('express');var router=express[_0xb27b('0x3')]();var fs_extra=require(_0xb27b('0x4'));var auth=require(_0xb27b('0x5'));var interaction=require(_0xb27b('0x6'));var config=require(_0xb27b('0x7'));var controller=require('./screenRecording.controller');router[_0xb27b('0x8')]('/',auth[_0xb27b('0x9')](),controller['index']);router[_0xb27b('0x8')](_0xb27b('0xa'),auth[_0xb27b('0x9')](),controller[_0xb27b('0xb')]);router[_0xb27b('0x8')](_0xb27b('0xc'),auth[_0xb27b('0x9')](),controller[_0xb27b('0xd')]);router[_0xb27b('0x8')](_0xb27b('0xe'),auth['isAuthenticated'](),controller[_0xb27b('0xf')]);router[_0xb27b('0x10')]('/',auth['isAuthenticated'](),controller[_0xb27b('0x11')]);router[_0xb27b('0x12')](_0xb27b('0xc'),auth[_0xb27b('0x9')](),controller[_0xb27b('0x13')]);router['delete'](_0xb27b('0xc'),auth[_0xb27b('0x9')](),controller['destroy']);module['exports']=router;