Built motion from commit (unavailable).|2.5.24
[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 _0x3937=['isAuthenticated','index','/describe','describe','show','/:id/questions','getQuestions','/:id','update','destroy','exports','multer','path','connect-timeout','Router','../../components/interaction/service','./jscriptySessionReport.controller','get'];(function(_0x5c8b83,_0x393a8d){var _0x3f1aa6=function(_0x7d5433){while(--_0x7d5433){_0x5c8b83['push'](_0x5c8b83['shift']());}};_0x3f1aa6(++_0x393a8d);}(_0x3937,0xbf));var _0x7393=function(_0x391fc7,_0x61b906){_0x391fc7=_0x391fc7-0x0;var _0xb16669=_0x3937[_0x391fc7];return _0xb16669;};'use strict';var multer=require(_0x7393('0x0'));var util=require('util');var path=require(_0x7393('0x1'));var timeout=require(_0x7393('0x2'));var express=require('express');var router=express[_0x7393('0x3')]();var auth=require('../../components/auth/service');var interaction=require(_0x7393('0x4'));var config=require('../../config/environment');var controller=require(_0x7393('0x5'));router[_0x7393('0x6')]('/',auth[_0x7393('0x7')](),controller[_0x7393('0x8')]);router[_0x7393('0x6')](_0x7393('0x9'),auth[_0x7393('0x7')](),controller[_0x7393('0xa')]);router[_0x7393('0x6')]('/:id',auth['isAuthenticated'](),controller[_0x7393('0xb')]);router[_0x7393('0x6')](_0x7393('0xc'),auth['isAuthenticated'](),controller[_0x7393('0xd')]);router['post']('/',auth['isAuthenticated'](),controller['create']);router['put'](_0x7393('0xe'),auth[_0x7393('0x7')](),controller[_0x7393('0xf')]);router['delete'](_0x7393('0xe'),auth[_0x7393('0x7')](),controller[_0x7393('0x10')]);module[_0x7393('0x11')]=router;