ae915f6883657d99d1b93ccf773a832c5c93814e
[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 _0x4817=['isAuthenticated','/describe','describe','/:id','show','getQuestions','post','create','update','destroy','exports','multer','util','connect-timeout','Router','fs-extra','../../components/interaction/service','../../config/environment','./jscriptySessionReport.controller','get'];(function(_0x5e1f58,_0x3aef56){var _0x5650f9=function(_0x59f1a0){while(--_0x59f1a0){_0x5e1f58['push'](_0x5e1f58['shift']());}};_0x5650f9(++_0x3aef56);}(_0x4817,0x1d7));var _0x7481=function(_0xef4654,_0x24607f){_0xef4654=_0xef4654-0x0;var _0x3aec55=_0x4817[_0xef4654];return _0x3aec55;};'use strict';var multer=require(_0x7481('0x0'));var util=require(_0x7481('0x1'));var path=require('path');var timeout=require(_0x7481('0x2'));var express=require('express');var router=express[_0x7481('0x3')]();var fs_extra=require(_0x7481('0x4'));var auth=require('../../components/auth/service');var interaction=require(_0x7481('0x5'));var config=require(_0x7481('0x6'));var controller=require(_0x7481('0x7'));router[_0x7481('0x8')]('/',auth[_0x7481('0x9')](),controller['index']);router[_0x7481('0x8')](_0x7481('0xa'),auth[_0x7481('0x9')](),controller[_0x7481('0xb')]);router[_0x7481('0x8')](_0x7481('0xc'),auth[_0x7481('0x9')](),controller[_0x7481('0xd')]);router[_0x7481('0x8')]('/:id/questions',auth[_0x7481('0x9')](),controller[_0x7481('0xe')]);router[_0x7481('0xf')]('/',auth[_0x7481('0x9')](),controller[_0x7481('0x10')]);router['put'](_0x7481('0xc'),auth[_0x7481('0x9')](),controller[_0x7481('0x11')]);router['delete'](_0x7481('0xc'),auth[_0x7481('0x9')](),controller[_0x7481('0x12')]);module[_0x7481('0x13')]=router;