ddc05c9ea5eced463ea1304dbba1c188f1ec7b81
[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 _0x9a72=['../../config/environment','./screenRecording.controller','isAuthenticated','index','get','/describe','/:id','show','/:id/download','download','create','put','update','delete','destroy','exports','multer','util','connect-timeout','../../components/auth/service','../../components/interaction/service'];(function(_0x316724,_0x4cb1da){var _0x397cc9=function(_0x26ac5d){while(--_0x26ac5d){_0x316724['push'](_0x316724['shift']());}};_0x397cc9(++_0x4cb1da);}(_0x9a72,0x8e));var _0x29a7=function(_0x383a44,_0x1b641f){_0x383a44=_0x383a44-0x0;var _0x11ddfe=_0x9a72[_0x383a44];return _0x11ddfe;};'use strict';var multer=require(_0x29a7('0x0'));var util=require(_0x29a7('0x1'));var path=require('path');var timeout=require(_0x29a7('0x2'));var express=require('express');var router=express['Router']();var auth=require(_0x29a7('0x3'));var interaction=require(_0x29a7('0x4'));var config=require(_0x29a7('0x5'));var controller=require(_0x29a7('0x6'));router['get']('/',auth[_0x29a7('0x7')](),controller[_0x29a7('0x8')]);router[_0x29a7('0x9')](_0x29a7('0xa'),auth[_0x29a7('0x7')](),controller['describe']);router['get'](_0x29a7('0xb'),auth[_0x29a7('0x7')](),controller[_0x29a7('0xc')]);router[_0x29a7('0x9')](_0x29a7('0xd'),auth[_0x29a7('0x7')](),controller[_0x29a7('0xe')]);router['post']('/',auth['isAuthenticated'](),controller[_0x29a7('0xf')]);router[_0x29a7('0x10')](_0x29a7('0xb'),auth[_0x29a7('0x7')](),controller[_0x29a7('0x11')]);router[_0x29a7('0x12')](_0x29a7('0xb'),auth['isAuthenticated'](),controller[_0x29a7('0x13')]);module[_0x29a7('0x14')]=router;