Built motion from commit 71df090e.|2.6.31
[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 _0xd84d=['Router','fs-extra','../../components/interaction/service','./jscriptySessionReport.controller','get','isAuthenticated','index','/describe','describe','/:id','show','/:id/questions','getQuestions','post','create','put','update','delete','destroy','exports','multer','connect-timeout','express'];(function(_0x432682,_0x253044){var _0x463d05=function(_0xa73403){while(--_0xa73403){_0x432682['push'](_0x432682['shift']());}};_0x463d05(++_0x253044);}(_0xd84d,0x19b));var _0xdd84=function(_0x4deb51,_0x3edc5c){_0x4deb51=_0x4deb51-0x0;var _0x496ced=_0xd84d[_0x4deb51];return _0x496ced;};'use strict';var multer=require(_0xdd84('0x0'));var util=require('util');var path=require('path');var timeout=require(_0xdd84('0x1'));var express=require(_0xdd84('0x2'));var router=express[_0xdd84('0x3')]();var fs_extra=require(_0xdd84('0x4'));var auth=require('../../components/auth/service');var interaction=require(_0xdd84('0x5'));var config=require('../../config/environment');var controller=require(_0xdd84('0x6'));router[_0xdd84('0x7')]('/',auth[_0xdd84('0x8')](),controller[_0xdd84('0x9')]);router[_0xdd84('0x7')](_0xdd84('0xa'),auth['isAuthenticated'](),controller[_0xdd84('0xb')]);router[_0xdd84('0x7')](_0xdd84('0xc'),auth[_0xdd84('0x8')](),controller[_0xdd84('0xd')]);router[_0xdd84('0x7')](_0xdd84('0xe'),auth[_0xdd84('0x8')](),controller[_0xdd84('0xf')]);router[_0xdd84('0x10')]('/',auth[_0xdd84('0x8')](),controller[_0xdd84('0x11')]);router[_0xdd84('0x12')](_0xdd84('0xc'),auth[_0xdd84('0x8')](),controller[_0xdd84('0x13')]);router[_0xdd84('0x14')](_0xdd84('0xc'),auth[_0xdd84('0x8')](),controller[_0xdd84('0x15')]);module[_0xdd84('0x16')]=router;