b1eed12d94973df73c61751cd9810e01f7068de9
[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 _0xb13a=['Router','../../components/interaction/service','./screenRecording.controller','get','index','isAuthenticated','describe','/:id','show','/:id/download','download','post','put','update','delete','destroy','exports','multer','path','connect-timeout','express'];(function(_0x2e9fd9,_0xf5890f){var _0x1ca1b9=function(_0x169d7f){while(--_0x169d7f){_0x2e9fd9['push'](_0x2e9fd9['shift']());}};_0x1ca1b9(++_0xf5890f);}(_0xb13a,0xce));var _0xab13=function(_0x379a60,_0x206cb4){_0x379a60=_0x379a60-0x0;var _0x4f2f73=_0xb13a[_0x379a60];return _0x4f2f73;};'use strict';var multer=require(_0xab13('0x0'));var util=require('util');var path=require(_0xab13('0x1'));var timeout=require(_0xab13('0x2'));var express=require(_0xab13('0x3'));var router=express[_0xab13('0x4')]();var auth=require('../../components/auth/service');var interaction=require(_0xab13('0x5'));var config=require('../../config/environment');var controller=require(_0xab13('0x6'));router[_0xab13('0x7')]('/',auth['isAuthenticated'](),controller[_0xab13('0x8')]);router[_0xab13('0x7')]('/describe',auth[_0xab13('0x9')](),controller[_0xab13('0xa')]);router[_0xab13('0x7')](_0xab13('0xb'),auth[_0xab13('0x9')](),controller[_0xab13('0xc')]);router[_0xab13('0x7')](_0xab13('0xd'),auth['isAuthenticated'](),controller[_0xab13('0xe')]);router[_0xab13('0xf')]('/',auth[_0xab13('0x9')](),controller['create']);router[_0xab13('0x10')](_0xab13('0xb'),auth[_0xab13('0x9')](),controller[_0xab13('0x11')]);router[_0xab13('0x12')](_0xab13('0xb'),auth[_0xab13('0x9')](),controller[_0xab13('0x13')]);module[_0xab13('0x14')]=router;