Built motion from commit (unavailable).|2.5.31
[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 _0x1d0c=['index','/describe','describe','show','/:id/download','download','post','create','put','/:id','update','delete','destroy','multer','util','path','Router','../../components/auth/service','../../config/environment','./screenRecording.controller','get','isAuthenticated'];(function(_0x46698a,_0x8de1e4){var _0x356db0=function(_0x19e83c){while(--_0x19e83c){_0x46698a['push'](_0x46698a['shift']());}};_0x356db0(++_0x8de1e4);}(_0x1d0c,0x141));var _0xc1d0=function(_0x253cd2,_0x2023c4){_0x253cd2=_0x253cd2-0x0;var _0x28aa38=_0x1d0c[_0x253cd2];return _0x28aa38;};'use strict';var multer=require(_0xc1d0('0x0'));var util=require(_0xc1d0('0x1'));var path=require(_0xc1d0('0x2'));var timeout=require('connect-timeout');var express=require('express');var router=express[_0xc1d0('0x3')]();var fs_extra=require('fs-extra');var auth=require(_0xc1d0('0x4'));var interaction=require('../../components/interaction/service');var config=require(_0xc1d0('0x5'));var controller=require(_0xc1d0('0x6'));router[_0xc1d0('0x7')]('/',auth[_0xc1d0('0x8')](),controller[_0xc1d0('0x9')]);router[_0xc1d0('0x7')](_0xc1d0('0xa'),auth[_0xc1d0('0x8')](),controller[_0xc1d0('0xb')]);router[_0xc1d0('0x7')]('/:id',auth[_0xc1d0('0x8')](),controller[_0xc1d0('0xc')]);router[_0xc1d0('0x7')](_0xc1d0('0xd'),auth[_0xc1d0('0x8')](),controller[_0xc1d0('0xe')]);router[_0xc1d0('0xf')]('/',auth['isAuthenticated'](),controller[_0xc1d0('0x10')]);router[_0xc1d0('0x11')](_0xc1d0('0x12'),auth[_0xc1d0('0x8')](),controller[_0xc1d0('0x13')]);router[_0xc1d0('0x14')](_0xc1d0('0x12'),auth['isAuthenticated'](),controller[_0xc1d0('0x15')]);module['exports']=router;