Built motion from commit (unavailable).|2.5.7
[motion2.git] / server / api / jscriptySessionReport / 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 _0x6bdc=['path','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./jscriptySessionReport.controller','isAuthenticated','index','get','/describe','describe','/:id','show','post','create','put','update','delete','destroy','exports','multer','util'];(function(_0x205307,_0x40ceb1){var _0x1652ef=function(_0x33b976){while(--_0x33b976){_0x205307['push'](_0x205307['shift']());}};_0x1652ef(++_0x40ceb1);}(_0x6bdc,0x14e));var _0xc6bd=function(_0x1a92ca,_0x276049){_0x1a92ca=_0x1a92ca-0x0;var _0x5d97cb=_0x6bdc[_0x1a92ca];return _0x5d97cb;};'use strict';var multer=require(_0xc6bd('0x0'));var util=require(_0xc6bd('0x1'));var path=require(_0xc6bd('0x2'));var timeout=require(_0xc6bd('0x3'));var express=require(_0xc6bd('0x4'));var router=express[_0xc6bd('0x5')]();var auth=require(_0xc6bd('0x6'));var interaction=require(_0xc6bd('0x7'));var config=require(_0xc6bd('0x8'));var controller=require(_0xc6bd('0x9'));router['get']('/',auth[_0xc6bd('0xa')](),controller[_0xc6bd('0xb')]);router[_0xc6bd('0xc')](_0xc6bd('0xd'),auth[_0xc6bd('0xa')](),controller[_0xc6bd('0xe')]);router['get'](_0xc6bd('0xf'),auth[_0xc6bd('0xa')](),controller[_0xc6bd('0x10')]);router['get']('/:id/questions',auth[_0xc6bd('0xa')](),controller['getQuestions']);router[_0xc6bd('0x11')]('/',auth['isAuthenticated'](),controller[_0xc6bd('0x12')]);router[_0xc6bd('0x13')](_0xc6bd('0xf'),auth[_0xc6bd('0xa')](),controller[_0xc6bd('0x14')]);router[_0xc6bd('0x15')](_0xc6bd('0xf'),auth[_0xc6bd('0xa')](),controller[_0xc6bd('0x16')]);module[_0xc6bd('0x17')]=router;