Built motion from commit eddce310.|2.6.12
[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 _0xc692=['update','destroy','exports','multer','util','connect-timeout','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','get','isAuthenticated','index','/describe','describe','/:id','show','/:id/questions','getQuestions','post','create','put'];(function(_0x4b73a2,_0x40b5fe){var _0x383c66=function(_0x3917ae){while(--_0x3917ae){_0x4b73a2['push'](_0x4b73a2['shift']());}};_0x383c66(++_0x40b5fe);}(_0xc692,0x179));var _0x2c69=function(_0x279d37,_0x14de3f){_0x279d37=_0x279d37-0x0;var _0x530173=_0xc692[_0x279d37];return _0x530173;};'use strict';var multer=require(_0x2c69('0x0'));var util=require(_0x2c69('0x1'));var path=require('path');var timeout=require(_0x2c69('0x2'));var express=require('express');var router=express['Router']();var fs_extra=require(_0x2c69('0x3'));var auth=require(_0x2c69('0x4'));var interaction=require(_0x2c69('0x5'));var config=require(_0x2c69('0x6'));var controller=require('./jscriptySessionReport.controller');router[_0x2c69('0x7')]('/',auth[_0x2c69('0x8')](),controller[_0x2c69('0x9')]);router['get'](_0x2c69('0xa'),auth[_0x2c69('0x8')](),controller[_0x2c69('0xb')]);router['get'](_0x2c69('0xc'),auth[_0x2c69('0x8')](),controller[_0x2c69('0xd')]);router['get'](_0x2c69('0xe'),auth[_0x2c69('0x8')](),controller[_0x2c69('0xf')]);router[_0x2c69('0x10')]('/',auth['isAuthenticated'](),controller[_0x2c69('0x11')]);router[_0x2c69('0x12')](_0x2c69('0xc'),auth[_0x2c69('0x8')](),controller[_0x2c69('0x13')]);router['delete'](_0x2c69('0xc'),auth['isAuthenticated'](),controller[_0x2c69('0x14')]);module[_0x2c69('0x15')]=router;