86f58d507657d32a876bc18487502075049bf4fb
[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 _0xbf71=['connect-timeout','express','Router','fs-extra','../../config/environment','./jscriptySessionReport.controller','get','isAuthenticated','/describe','describe','show','/:id/questions','getQuestions','post','create','put','/:id','update','delete','destroy','exports','util','path'];(function(_0x48e5dd,_0x38de66){var _0x3dcc7e=function(_0x2774ea){while(--_0x2774ea){_0x48e5dd['push'](_0x48e5dd['shift']());}};_0x3dcc7e(++_0x38de66);}(_0xbf71,0xe4));var _0x1bf7=function(_0x170add,_0x206e45){_0x170add=_0x170add-0x0;var _0x1249f1=_0xbf71[_0x170add];return _0x1249f1;};'use strict';var multer=require('multer');var util=require(_0x1bf7('0x0'));var path=require(_0x1bf7('0x1'));var timeout=require(_0x1bf7('0x2'));var express=require(_0x1bf7('0x3'));var router=express[_0x1bf7('0x4')]();var fs_extra=require(_0x1bf7('0x5'));var auth=require('../../components/auth/service');var interaction=require('../../components/interaction/service');var config=require(_0x1bf7('0x6'));var controller=require(_0x1bf7('0x7'));router[_0x1bf7('0x8')]('/',auth[_0x1bf7('0x9')](),controller['index']);router[_0x1bf7('0x8')](_0x1bf7('0xa'),auth['isAuthenticated'](),controller[_0x1bf7('0xb')]);router[_0x1bf7('0x8')]('/:id',auth[_0x1bf7('0x9')](),controller[_0x1bf7('0xc')]);router[_0x1bf7('0x8')](_0x1bf7('0xd'),auth['isAuthenticated'](),controller[_0x1bf7('0xe')]);router[_0x1bf7('0xf')]('/',auth[_0x1bf7('0x9')](),controller[_0x1bf7('0x10')]);router[_0x1bf7('0x11')](_0x1bf7('0x12'),auth[_0x1bf7('0x9')](),controller[_0x1bf7('0x13')]);router[_0x1bf7('0x14')]('/:id',auth[_0x1bf7('0x9')](),controller[_0x1bf7('0x15')]);module[_0x1bf7('0x16')]=router;