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 _0x56f9=['delete','destroy','exports','multer','util','connect-timeout','../../components/auth/service','../../components/interaction/service','./screenRecording.controller','get','index','/describe','isAuthenticated','/:id','show','/:id/download','post','create','update'];(function(_0x20a091,_0x7731ae){var _0x2da68e=function(_0xaffbe8){while(--_0xaffbe8){_0x20a091['push'](_0x20a091['shift']());}};_0x2da68e(++_0x7731ae);}(_0x56f9,0x120));var _0x956f=function(_0x58a248,_0x4d8d3f){_0x58a248=_0x58a248-0x0;var _0x2ebfdb=_0x56f9[_0x58a248];return _0x2ebfdb;};'use strict';var multer=require(_0x956f('0x0'));var util=require(_0x956f('0x1'));var path=require('path');var timeout=require(_0x956f('0x2'));var express=require('express');var router=express['Router']();var fs_extra=require('fs-extra');var auth=require(_0x956f('0x3'));var interaction=require(_0x956f('0x4'));var config=require('../../config/environment');var controller=require(_0x956f('0x5'));router[_0x956f('0x6')]('/',auth['isAuthenticated'](),controller[_0x956f('0x7')]);router['get'](_0x956f('0x8'),auth[_0x956f('0x9')](),controller['describe']);router[_0x956f('0x6')](_0x956f('0xa'),auth['isAuthenticated'](),controller[_0x956f('0xb')]);router[_0x956f('0x6')](_0x956f('0xc'),auth[_0x956f('0x9')](),controller['download']);router[_0x956f('0xd')]('/',auth[_0x956f('0x9')](),controller[_0x956f('0xe')]);router['put'](_0x956f('0xa'),auth[_0x956f('0x9')](),controller[_0x956f('0xf')]);router[_0x956f('0x10')]('/:id',auth[_0x956f('0x9')](),controller[_0x956f('0x11')]);module[_0x956f('0x12')]=router;