Built motion from commit (unavailable).|2.5.14
[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 _0x2ce1=['delete','destroy','exports','connect-timeout','express','Router','../../components/auth/service','../../config/environment','./jscriptySessionReport.controller','isAuthenticated','index','get','/:id','/:id/questions','getQuestions','put','update'];(function(_0x5ec94f,_0x5581c8){var _0x39c511=function(_0x144fc4){while(--_0x144fc4){_0x5ec94f['push'](_0x5ec94f['shift']());}};_0x39c511(++_0x5581c8);}(_0x2ce1,0x8b));var _0x12ce=function(_0x43e204,_0x170c00){_0x43e204=_0x43e204-0x0;var _0x470361=_0x2ce1[_0x43e204];return _0x470361;};'use strict';var multer=require('multer');var util=require('util');var path=require('path');var timeout=require(_0x12ce('0x0'));var express=require(_0x12ce('0x1'));var router=express[_0x12ce('0x2')]();var auth=require(_0x12ce('0x3'));var interaction=require('../../components/interaction/service');var config=require(_0x12ce('0x4'));var controller=require(_0x12ce('0x5'));router['get']('/',auth[_0x12ce('0x6')](),controller[_0x12ce('0x7')]);router[_0x12ce('0x8')]('/describe',auth[_0x12ce('0x6')](),controller['describe']);router[_0x12ce('0x8')](_0x12ce('0x9'),auth[_0x12ce('0x6')](),controller['show']);router[_0x12ce('0x8')](_0x12ce('0xa'),auth[_0x12ce('0x6')](),controller[_0x12ce('0xb')]);router['post']('/',auth[_0x12ce('0x6')](),controller['create']);router[_0x12ce('0xc')]('/:id',auth['isAuthenticated'](),controller[_0x12ce('0xd')]);router[_0x12ce('0xe')](_0x12ce('0x9'),auth[_0x12ce('0x6')](),controller[_0x12ce('0xf')]);module[_0x12ce('0x10')]=router;