c771b76a97a0ace8c3da3fff509d0d82e473074e
[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 _0xaf30=['get','/describe','describe','/:id','show','/:id/download','download','post','put','update','delete','destroy','exports','util','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','./screenRecording.controller','isAuthenticated','index'];(function(_0x279d37,_0x14de3f){var _0x530173=function(_0x37fc79){while(--_0x37fc79){_0x279d37['push'](_0x279d37['shift']());}};_0x530173(++_0x14de3f);}(_0xaf30,0x1ab));var _0x0af3=function(_0x474c66,_0xbce925){_0x474c66=_0x474c66-0x0;var _0xcbd9bf=_0xaf30[_0x474c66];return _0xcbd9bf;};'use strict';var multer=require('multer');var util=require(_0x0af3('0x0'));var path=require('path');var timeout=require(_0x0af3('0x1'));var express=require(_0x0af3('0x2'));var router=express[_0x0af3('0x3')]();var fs_extra=require(_0x0af3('0x4'));var auth=require(_0x0af3('0x5'));var interaction=require(_0x0af3('0x6'));var config=require('../../config/environment');var controller=require(_0x0af3('0x7'));router['get']('/',auth[_0x0af3('0x8')](),controller[_0x0af3('0x9')]);router[_0x0af3('0xa')](_0x0af3('0xb'),auth[_0x0af3('0x8')](),controller[_0x0af3('0xc')]);router[_0x0af3('0xa')](_0x0af3('0xd'),auth[_0x0af3('0x8')](),controller[_0x0af3('0xe')]);router[_0x0af3('0xa')](_0x0af3('0xf'),auth[_0x0af3('0x8')](),controller[_0x0af3('0x10')]);router[_0x0af3('0x11')]('/',auth[_0x0af3('0x8')](),controller['create']);router[_0x0af3('0x12')](_0x0af3('0xd'),auth['isAuthenticated'](),controller[_0x0af3('0x13')]);router[_0x0af3('0x14')](_0x0af3('0xd'),auth[_0x0af3('0x8')](),controller[_0x0af3('0x15')]);module[_0x0af3('0x16')]=router;