Built motion from commit 9d0783e6.|2.6.13
[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 _0x379e=['/:id','show','download','post','create','put','update','delete','destroy','exports','multer','util','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./screenRecording.controller','get','isAuthenticated','index','describe'];(function(_0x160148,_0x5c0639){var _0x5d4a2c=function(_0x4e4317){while(--_0x4e4317){_0x160148['push'](_0x160148['shift']());}};_0x5d4a2c(++_0x5c0639);}(_0x379e,0x1a2));var _0xe379=function(_0x44ff6b,_0x13d8e9){_0x44ff6b=_0x44ff6b-0x0;var _0x402226=_0x379e[_0x44ff6b];return _0x402226;};'use strict';var multer=require(_0xe379('0x0'));var util=require(_0xe379('0x1'));var path=require('path');var timeout=require(_0xe379('0x2'));var express=require(_0xe379('0x3'));var router=express[_0xe379('0x4')]();var fs_extra=require(_0xe379('0x5'));var auth=require(_0xe379('0x6'));var interaction=require(_0xe379('0x7'));var config=require(_0xe379('0x8'));var controller=require(_0xe379('0x9'));router[_0xe379('0xa')]('/',auth[_0xe379('0xb')](),controller[_0xe379('0xc')]);router[_0xe379('0xa')]('/describe',auth[_0xe379('0xb')](),controller[_0xe379('0xd')]);router[_0xe379('0xa')](_0xe379('0xe'),auth[_0xe379('0xb')](),controller[_0xe379('0xf')]);router[_0xe379('0xa')]('/:id/download',auth['isAuthenticated'](),controller[_0xe379('0x10')]);router[_0xe379('0x11')]('/',auth[_0xe379('0xb')](),controller[_0xe379('0x12')]);router[_0xe379('0x13')](_0xe379('0xe'),auth[_0xe379('0xb')](),controller[_0xe379('0x14')]);router[_0xe379('0x15')](_0xe379('0xe'),auth['isAuthenticated'](),controller[_0xe379('0x16')]);module[_0xe379('0x17')]=router;