Built motion from commit 3e059bc2.|2.5.32
[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 _0x88e4=['path','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','get','index','/describe','describe','isAuthenticated','show','/:id/download','download','post','/:id','update','delete','destroy','exports','util'];(function(_0x31e961,_0x4b5ec9){var _0x24801e=function(_0x21c750){while(--_0x21c750){_0x31e961['push'](_0x31e961['shift']());}};_0x24801e(++_0x4b5ec9);}(_0x88e4,0x11d));var _0x488e=function(_0x280ae7,_0x456fb1){_0x280ae7=_0x280ae7-0x0;var _0x418b9e=_0x88e4[_0x280ae7];return _0x418b9e;};'use strict';var multer=require('multer');var util=require(_0x488e('0x0'));var path=require(_0x488e('0x1'));var timeout=require(_0x488e('0x2'));var express=require(_0x488e('0x3'));var router=express[_0x488e('0x4')]();var fs_extra=require(_0x488e('0x5'));var auth=require(_0x488e('0x6'));var interaction=require(_0x488e('0x7'));var config=require('../../config/environment');var controller=require('./screenRecording.controller');router[_0x488e('0x8')]('/',auth['isAuthenticated'](),controller[_0x488e('0x9')]);router['get'](_0x488e('0xa'),auth['isAuthenticated'](),controller[_0x488e('0xb')]);router[_0x488e('0x8')]('/:id',auth[_0x488e('0xc')](),controller[_0x488e('0xd')]);router[_0x488e('0x8')](_0x488e('0xe'),auth[_0x488e('0xc')](),controller[_0x488e('0xf')]);router[_0x488e('0x10')]('/',auth['isAuthenticated'](),controller['create']);router['put'](_0x488e('0x11'),auth['isAuthenticated'](),controller[_0x488e('0x12')]);router[_0x488e('0x13')](_0x488e('0x11'),auth['isAuthenticated'](),controller[_0x488e('0x14')]);module[_0x488e('0x15')]=router;