62a7c69212f0fa424642b5eb02f7ecdd47b9dd0b
[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 _0xc2aa=['./jscriptySessionReport.controller','isAuthenticated','index','describe','get','show','/:id/questions','getQuestions','post','create','put','/:id','update','delete','destroy','exports','multer','util','path','fs-extra','../../components/auth/service','../../config/environment'];(function(_0x34157c,_0x514757){var _0x450721=function(_0x551e38){while(--_0x551e38){_0x34157c['push'](_0x34157c['shift']());}};_0x450721(++_0x514757);}(_0xc2aa,0x12e));var _0xac2a=function(_0x20a726,_0x1af270){_0x20a726=_0x20a726-0x0;var _0x3ee0b6=_0xc2aa[_0x20a726];return _0x3ee0b6;};'use strict';var multer=require(_0xac2a('0x0'));var util=require(_0xac2a('0x1'));var path=require(_0xac2a('0x2'));var timeout=require('connect-timeout');var express=require('express');var router=express['Router']();var fs_extra=require(_0xac2a('0x3'));var auth=require(_0xac2a('0x4'));var interaction=require('../../components/interaction/service');var config=require(_0xac2a('0x5'));var controller=require(_0xac2a('0x6'));router['get']('/',auth[_0xac2a('0x7')](),controller[_0xac2a('0x8')]);router['get']('/describe',auth[_0xac2a('0x7')](),controller[_0xac2a('0x9')]);router[_0xac2a('0xa')]('/:id',auth['isAuthenticated'](),controller[_0xac2a('0xb')]);router[_0xac2a('0xa')](_0xac2a('0xc'),auth[_0xac2a('0x7')](),controller[_0xac2a('0xd')]);router[_0xac2a('0xe')]('/',auth[_0xac2a('0x7')](),controller[_0xac2a('0xf')]);router[_0xac2a('0x10')](_0xac2a('0x11'),auth[_0xac2a('0x7')](),controller[_0xac2a('0x12')]);router[_0xac2a('0x13')]('/:id',auth[_0xac2a('0x7')](),controller[_0xac2a('0x14')]);module[_0xac2a('0x15')]=router;