Built motion from commit ab870f9e.|2.5.44
[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 _0x7010=['multer','util','path','connect-timeout','express','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./screenRecording.controller','get','isAuthenticated','index','/describe','describe','/:id','post','put','update','delete','destroy','exports'];(function(_0x164140,_0xc55ad9){var _0x3606bb=function(_0x10127a){while(--_0x10127a){_0x164140['push'](_0x164140['shift']());}};_0x3606bb(++_0xc55ad9);}(_0x7010,0x1b8));var _0x0701=function(_0xf35672,_0x3833af){_0xf35672=_0xf35672-0x0;var _0x26afcf=_0x7010[_0xf35672];return _0x26afcf;};'use strict';var multer=require(_0x0701('0x0'));var util=require(_0x0701('0x1'));var path=require(_0x0701('0x2'));var timeout=require(_0x0701('0x3'));var express=require(_0x0701('0x4'));var router=express['Router']();var fs_extra=require(_0x0701('0x5'));var auth=require(_0x0701('0x6'));var interaction=require(_0x0701('0x7'));var config=require(_0x0701('0x8'));var controller=require(_0x0701('0x9'));router[_0x0701('0xa')]('/',auth[_0x0701('0xb')](),controller[_0x0701('0xc')]);router['get'](_0x0701('0xd'),auth['isAuthenticated'](),controller[_0x0701('0xe')]);router[_0x0701('0xa')](_0x0701('0xf'),auth['isAuthenticated'](),controller['show']);router[_0x0701('0xa')]('/:id/download',auth[_0x0701('0xb')](),controller['download']);router[_0x0701('0x10')]('/',auth[_0x0701('0xb')](),controller['create']);router[_0x0701('0x11')]('/:id',auth['isAuthenticated'](),controller[_0x0701('0x12')]);router[_0x0701('0x13')](_0x0701('0xf'),auth[_0x0701('0xb')](),controller[_0x0701('0x14')]);module[_0x0701('0x15')]=router;