Built motion from commit b5996064.|2.6.21
[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 _0x6af4=['fs-extra','../../components/interaction/service','./screenRecording.controller','get','isAuthenticated','/describe','describe','/:id','show','/:id/download','download','post','create','put','update','delete','destroy','multer','path','connect-timeout'];(function(_0x502c7d,_0x2f1285){var _0x30b7ed=function(_0x2d92f3){while(--_0x2d92f3){_0x502c7d['push'](_0x502c7d['shift']());}};_0x30b7ed(++_0x2f1285);}(_0x6af4,0xd9));var _0x46af=function(_0x45fbf8,_0x305eac){_0x45fbf8=_0x45fbf8-0x0;var _0x21986c=_0x6af4[_0x45fbf8];return _0x21986c;};'use strict';var multer=require(_0x46af('0x0'));var util=require('util');var path=require(_0x46af('0x1'));var timeout=require(_0x46af('0x2'));var express=require('express');var router=express['Router']();var fs_extra=require(_0x46af('0x3'));var auth=require('../../components/auth/service');var interaction=require(_0x46af('0x4'));var config=require('../../config/environment');var controller=require(_0x46af('0x5'));router[_0x46af('0x6')]('/',auth[_0x46af('0x7')](),controller['index']);router['get'](_0x46af('0x8'),auth[_0x46af('0x7')](),controller[_0x46af('0x9')]);router[_0x46af('0x6')](_0x46af('0xa'),auth[_0x46af('0x7')](),controller[_0x46af('0xb')]);router[_0x46af('0x6')](_0x46af('0xc'),auth[_0x46af('0x7')](),controller[_0x46af('0xd')]);router[_0x46af('0xe')]('/',auth[_0x46af('0x7')](),controller[_0x46af('0xf')]);router[_0x46af('0x10')](_0x46af('0xa'),auth[_0x46af('0x7')](),controller[_0x46af('0x11')]);router[_0x46af('0x12')]('/:id',auth['isAuthenticated'](),controller[_0x46af('0x13')]);module['exports']=router;