Built motion from commit 9d1906d1.|2.5.40
[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 _0x30fb=['isAuthenticated','index','/describe','describe','/:id','show','/:id/download','download','post','put','update','delete','destroy','multer','util','path','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./screenRecording.controller','get'];(function(_0x1814d9,_0x538add){var _0x8bfc84=function(_0x36e1af){while(--_0x36e1af){_0x1814d9['push'](_0x1814d9['shift']());}};_0x8bfc84(++_0x538add);}(_0x30fb,0x1b6));var _0xb30f=function(_0x4dcb2d,_0x52e704){_0x4dcb2d=_0x4dcb2d-0x0;var _0x5c7b7a=_0x30fb[_0x4dcb2d];return _0x5c7b7a;};'use strict';var multer=require(_0xb30f('0x0'));var util=require(_0xb30f('0x1'));var path=require(_0xb30f('0x2'));var timeout=require(_0xb30f('0x3'));var express=require(_0xb30f('0x4'));var router=express[_0xb30f('0x5')]();var fs_extra=require(_0xb30f('0x6'));var auth=require(_0xb30f('0x7'));var interaction=require(_0xb30f('0x8'));var config=require(_0xb30f('0x9'));var controller=require(_0xb30f('0xa'));router[_0xb30f('0xb')]('/',auth[_0xb30f('0xc')](),controller[_0xb30f('0xd')]);router[_0xb30f('0xb')](_0xb30f('0xe'),auth['isAuthenticated'](),controller[_0xb30f('0xf')]);router[_0xb30f('0xb')](_0xb30f('0x10'),auth[_0xb30f('0xc')](),controller[_0xb30f('0x11')]);router['get'](_0xb30f('0x12'),auth[_0xb30f('0xc')](),controller[_0xb30f('0x13')]);router[_0xb30f('0x14')]('/',auth[_0xb30f('0xc')](),controller['create']);router[_0xb30f('0x15')](_0xb30f('0x10'),auth[_0xb30f('0xc')](),controller[_0xb30f('0x16')]);router[_0xb30f('0x17')](_0xb30f('0x10'),auth['isAuthenticated'](),controller[_0xb30f('0x18')]);module['exports']=router;