c14e59887823de3b919fa9193b63cb5e0c564150
[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 _0x4f17=['Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./jscriptySessionReport.controller','index','/describe','describe','get','/:id','show','/:id/questions','getQuestions','post','put','isAuthenticated','update','delete','destroy','exports','multer','path','connect-timeout'];(function(_0x1e500e,_0x2c9d74){var _0x10dc5e=function(_0x354423){while(--_0x354423){_0x1e500e['push'](_0x1e500e['shift']());}};_0x10dc5e(++_0x2c9d74);}(_0x4f17,0x9e));var _0x74f1=function(_0x228641,_0x25d636){_0x228641=_0x228641-0x0;var _0x5d5d78=_0x4f17[_0x228641];return _0x5d5d78;};'use strict';var multer=require(_0x74f1('0x0'));var util=require('util');var path=require(_0x74f1('0x1'));var timeout=require(_0x74f1('0x2'));var express=require('express');var router=express[_0x74f1('0x3')]();var auth=require(_0x74f1('0x4'));var interaction=require(_0x74f1('0x5'));var config=require(_0x74f1('0x6'));var controller=require(_0x74f1('0x7'));router['get']('/',auth['isAuthenticated'](),controller[_0x74f1('0x8')]);router['get'](_0x74f1('0x9'),auth['isAuthenticated'](),controller[_0x74f1('0xa')]);router[_0x74f1('0xb')](_0x74f1('0xc'),auth['isAuthenticated'](),controller[_0x74f1('0xd')]);router['get'](_0x74f1('0xe'),auth['isAuthenticated'](),controller[_0x74f1('0xf')]);router[_0x74f1('0x10')]('/',auth['isAuthenticated'](),controller['create']);router[_0x74f1('0x11')](_0x74f1('0xc'),auth[_0x74f1('0x12')](),controller[_0x74f1('0x13')]);router[_0x74f1('0x14')](_0x74f1('0xc'),auth[_0x74f1('0x12')](),controller[_0x74f1('0x15')]);module[_0x74f1('0x16')]=router;