6ac0bab933b64a6cf1d2a1fe05f5dbd863c09c92
[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 _0xc953=['isAuthenticated','index','/describe','describe','show','/:id/questions','getQuestions','post','create','put','/:id','update','delete','destroy','exports','util','path','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./jscriptySessionReport.controller','get'];(function(_0x39d5f5,_0x5f48fd){var _0x20cc3b=function(_0x11f029){while(--_0x11f029){_0x39d5f5['push'](_0x39d5f5['shift']());}};_0x20cc3b(++_0x5f48fd);}(_0xc953,0x1b8));var _0x3c95=function(_0x4d07cc,_0x587613){_0x4d07cc=_0x4d07cc-0x0;var _0x42de3b=_0xc953[_0x4d07cc];return _0x42de3b;};'use strict';var multer=require('multer');var util=require(_0x3c95('0x0'));var path=require(_0x3c95('0x1'));var timeout=require(_0x3c95('0x2'));var express=require(_0x3c95('0x3'));var router=express[_0x3c95('0x4')]();var fs_extra=require('fs-extra');var auth=require(_0x3c95('0x5'));var interaction=require(_0x3c95('0x6'));var config=require(_0x3c95('0x7'));var controller=require(_0x3c95('0x8'));router[_0x3c95('0x9')]('/',auth[_0x3c95('0xa')](),controller[_0x3c95('0xb')]);router[_0x3c95('0x9')](_0x3c95('0xc'),auth[_0x3c95('0xa')](),controller[_0x3c95('0xd')]);router[_0x3c95('0x9')]('/:id',auth[_0x3c95('0xa')](),controller[_0x3c95('0xe')]);router[_0x3c95('0x9')](_0x3c95('0xf'),auth[_0x3c95('0xa')](),controller[_0x3c95('0x10')]);router[_0x3c95('0x11')]('/',auth['isAuthenticated'](),controller[_0x3c95('0x12')]);router[_0x3c95('0x13')](_0x3c95('0x14'),auth[_0x3c95('0xa')](),controller[_0x3c95('0x15')]);router[_0x3c95('0x16')](_0x3c95('0x14'),auth[_0x3c95('0xa')](),controller[_0x3c95('0x17')]);module[_0x3c95('0x18')]=router;