Built motion from commit 994c64e1.|2.6.1
[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 _0x5fcd=['./screenRecording.controller','get','isAuthenticated','describe','/:id','show','/:id/download','download','post','create','delete','destroy','exports','multer','util','connect-timeout','fs-extra','../../components/auth/service','../../config/environment'];(function(_0x25a193,_0x2ad17a){var _0x12a577=function(_0x2ac22d){while(--_0x2ac22d){_0x25a193['push'](_0x25a193['shift']());}};_0x12a577(++_0x2ad17a);}(_0x5fcd,0x189));var _0xd5fc=function(_0x2dd545,_0x45bebd){_0x2dd545=_0x2dd545-0x0;var _0x1e40a9=_0x5fcd[_0x2dd545];return _0x1e40a9;};'use strict';var multer=require(_0xd5fc('0x0'));var util=require(_0xd5fc('0x1'));var path=require('path');var timeout=require(_0xd5fc('0x2'));var express=require('express');var router=express['Router']();var fs_extra=require(_0xd5fc('0x3'));var auth=require(_0xd5fc('0x4'));var interaction=require('../../components/interaction/service');var config=require(_0xd5fc('0x5'));var controller=require(_0xd5fc('0x6'));router['get']('/',auth['isAuthenticated'](),controller['index']);router[_0xd5fc('0x7')]('/describe',auth[_0xd5fc('0x8')](),controller[_0xd5fc('0x9')]);router[_0xd5fc('0x7')](_0xd5fc('0xa'),auth[_0xd5fc('0x8')](),controller[_0xd5fc('0xb')]);router[_0xd5fc('0x7')](_0xd5fc('0xc'),auth['isAuthenticated'](),controller[_0xd5fc('0xd')]);router[_0xd5fc('0xe')]('/',auth[_0xd5fc('0x8')](),controller[_0xd5fc('0xf')]);router['put']('/:id',auth[_0xd5fc('0x8')](),controller['update']);router[_0xd5fc('0x10')](_0xd5fc('0xa'),auth[_0xd5fc('0x8')](),controller[_0xd5fc('0x11')]);module[_0xd5fc('0x12')]=router;