Built motion from commit 85328c08.|2.5.50
[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 _0x569f=['Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./jscriptySessionReport.controller','get','isAuthenticated','index','describe','/:id','show','getQuestions','post','create','put','update','delete','destroy','multer','util','path','connect-timeout','express'];(function(_0x6692bd,_0x4e37b6){var _0xec1a1c=function(_0x55548){while(--_0x55548){_0x6692bd['push'](_0x6692bd['shift']());}};_0xec1a1c(++_0x4e37b6);}(_0x569f,0xe1));var _0xf569=function(_0x22404e,_0x12caeb){_0x22404e=_0x22404e-0x0;var _0x5fc0f8=_0x569f[_0x22404e];return _0x5fc0f8;};'use strict';var multer=require(_0xf569('0x0'));var util=require(_0xf569('0x1'));var path=require(_0xf569('0x2'));var timeout=require(_0xf569('0x3'));var express=require(_0xf569('0x4'));var router=express[_0xf569('0x5')]();var fs_extra=require('fs-extra');var auth=require(_0xf569('0x6'));var interaction=require(_0xf569('0x7'));var config=require(_0xf569('0x8'));var controller=require(_0xf569('0x9'));router[_0xf569('0xa')]('/',auth[_0xf569('0xb')](),controller[_0xf569('0xc')]);router['get']('/describe',auth['isAuthenticated'](),controller[_0xf569('0xd')]);router[_0xf569('0xa')](_0xf569('0xe'),auth[_0xf569('0xb')](),controller[_0xf569('0xf')]);router[_0xf569('0xa')]('/:id/questions',auth[_0xf569('0xb')](),controller[_0xf569('0x10')]);router[_0xf569('0x11')]('/',auth[_0xf569('0xb')](),controller[_0xf569('0x12')]);router[_0xf569('0x13')]('/:id',auth[_0xf569('0xb')](),controller[_0xf569('0x14')]);router[_0xf569('0x15')](_0xf569('0xe'),auth[_0xf569('0xb')](),controller[_0xf569('0x16')]);module['exports']=router;