b8bec12f4631260caaffba4aeaff33bd50d6295f
[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 _0x7268=['connect-timeout','express','../../components/auth/service','../../components/interaction/service','../../config/environment','./screenRecording.controller','get','isAuthenticated','index','/describe','describe','/:id','show','/:id/download','download','put','update','delete','exports','multer','path'];(function(_0x3b380d,_0x4bf247){var _0x54502b=function(_0x35d207){while(--_0x35d207){_0x3b380d['push'](_0x3b380d['shift']());}};_0x54502b(++_0x4bf247);}(_0x7268,0x1a2));var _0x8726=function(_0x2a95ba,_0xc96504){_0x2a95ba=_0x2a95ba-0x0;var _0x28968d=_0x7268[_0x2a95ba];return _0x28968d;};'use strict';var multer=require(_0x8726('0x0'));var util=require('util');var path=require(_0x8726('0x1'));var timeout=require(_0x8726('0x2'));var express=require(_0x8726('0x3'));var router=express['Router']();var fs_extra=require('fs-extra');var auth=require(_0x8726('0x4'));var interaction=require(_0x8726('0x5'));var config=require(_0x8726('0x6'));var controller=require(_0x8726('0x7'));router[_0x8726('0x8')]('/',auth[_0x8726('0x9')](),controller[_0x8726('0xa')]);router[_0x8726('0x8')](_0x8726('0xb'),auth[_0x8726('0x9')](),controller[_0x8726('0xc')]);router[_0x8726('0x8')](_0x8726('0xd'),auth[_0x8726('0x9')](),controller[_0x8726('0xe')]);router[_0x8726('0x8')](_0x8726('0xf'),auth[_0x8726('0x9')](),controller[_0x8726('0x10')]);router['post']('/',auth[_0x8726('0x9')](),controller['create']);router[_0x8726('0x11')]('/:id',auth[_0x8726('0x9')](),controller[_0x8726('0x12')]);router[_0x8726('0x13')](_0x8726('0xd'),auth['isAuthenticated'](),controller['destroy']);module[_0x8726('0x14')]=router;