bcb46edae2b7d0f0365e8a14264c0a1cdb09f478
[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 _0x4e27=['create','put','update','delete','destroy','multer','util','path','connect-timeout','Router','fs-extra','../../components/auth/service','../../components/interaction/service','./screenRecording.controller','isAuthenticated','index','get','/describe','describe','/:id','show','/:id/download','download','post'];(function(_0x5ad021,_0x40a38c){var _0x2074d2=function(_0xa7b79){while(--_0xa7b79){_0x5ad021['push'](_0x5ad021['shift']());}};_0x2074d2(++_0x40a38c);}(_0x4e27,0x125));var _0x74e2=function(_0x1568e5,_0x5c8fb6){_0x1568e5=_0x1568e5-0x0;var _0x270c89=_0x4e27[_0x1568e5];return _0x270c89;};'use strict';var multer=require(_0x74e2('0x0'));var util=require(_0x74e2('0x1'));var path=require(_0x74e2('0x2'));var timeout=require(_0x74e2('0x3'));var express=require('express');var router=express[_0x74e2('0x4')]();var fs_extra=require(_0x74e2('0x5'));var auth=require(_0x74e2('0x6'));var interaction=require(_0x74e2('0x7'));var config=require('../../config/environment');var controller=require(_0x74e2('0x8'));router['get']('/',auth[_0x74e2('0x9')](),controller[_0x74e2('0xa')]);router[_0x74e2('0xb')](_0x74e2('0xc'),auth['isAuthenticated'](),controller[_0x74e2('0xd')]);router['get'](_0x74e2('0xe'),auth[_0x74e2('0x9')](),controller[_0x74e2('0xf')]);router[_0x74e2('0xb')](_0x74e2('0x10'),auth['isAuthenticated'](),controller[_0x74e2('0x11')]);router[_0x74e2('0x12')]('/',auth[_0x74e2('0x9')](),controller[_0x74e2('0x13')]);router[_0x74e2('0x14')]('/:id',auth[_0x74e2('0x9')](),controller[_0x74e2('0x15')]);router[_0x74e2('0x16')](_0x74e2('0xe'),auth[_0x74e2('0x9')](),controller[_0x74e2('0x17')]);module['exports']=router;