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