Built motion from commit (unavailable).|2.3.4
[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 _0x2d04=['express','../../components/interaction/service','../../config/environment','isAuthenticated','index','/describe','describe','get','show','/:id/questions','getQuestions','post','create','/:id','update','destroy','exports','multer','util','path'];(function(_0x5dfc2a,_0x1a953f){var _0x3f1a71=function(_0x15916){while(--_0x15916){_0x5dfc2a['push'](_0x5dfc2a['shift']());}};_0x3f1a71(++_0x1a953f);}(_0x2d04,0x129));var _0x42d0=function(_0x51c440,_0x3b6802){_0x51c440=_0x51c440-0x0;var _0x67a2d6=_0x2d04[_0x51c440];return _0x67a2d6;};'use strict';var multer=require(_0x42d0('0x0'));var util=require(_0x42d0('0x1'));var path=require(_0x42d0('0x2'));var timeout=require('connect-timeout');var express=require(_0x42d0('0x3'));var router=express['Router']();var auth=require('../../components/auth/service');var interaction=require(_0x42d0('0x4'));var config=require(_0x42d0('0x5'));var controller=require('./jscriptySessionReport.controller');router['get']('/',auth[_0x42d0('0x6')](),controller[_0x42d0('0x7')]);router['get'](_0x42d0('0x8'),auth[_0x42d0('0x6')](),controller[_0x42d0('0x9')]);router[_0x42d0('0xa')]('/:id',auth[_0x42d0('0x6')](),controller[_0x42d0('0xb')]);router[_0x42d0('0xa')](_0x42d0('0xc'),auth[_0x42d0('0x6')](),controller[_0x42d0('0xd')]);router[_0x42d0('0xe')]('/',auth[_0x42d0('0x6')](),controller[_0x42d0('0xf')]);router['put'](_0x42d0('0x10'),auth[_0x42d0('0x6')](),controller[_0x42d0('0x11')]);router['delete']('/:id',auth[_0x42d0('0x6')](),controller[_0x42d0('0x12')]);module[_0x42d0('0x13')]=router;