Built motion from commit 20b39a97.|2.6.29
[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 _0x4171=['../../components/auth/service','../../config/environment','./jscriptySessionReport.controller','get','isAuthenticated','index','/describe','/:id','show','/:id/questions','post','create','put','update','delete','multer','util','path','connect-timeout','Router'];(function(_0x5cade0,_0x5e5eef){var _0x10d5ff=function(_0x1d0f8f){while(--_0x1d0f8f){_0x5cade0['push'](_0x5cade0['shift']());}};_0x10d5ff(++_0x5e5eef);}(_0x4171,0x177));var _0x1417=function(_0xc1fa0d,_0x110a3f){_0xc1fa0d=_0xc1fa0d-0x0;var _0x537a74=_0x4171[_0xc1fa0d];return _0x537a74;};'use strict';var multer=require(_0x1417('0x0'));var util=require(_0x1417('0x1'));var path=require(_0x1417('0x2'));var timeout=require(_0x1417('0x3'));var express=require('express');var router=express[_0x1417('0x4')]();var fs_extra=require('fs-extra');var auth=require(_0x1417('0x5'));var interaction=require('../../components/interaction/service');var config=require(_0x1417('0x6'));var controller=require(_0x1417('0x7'));router[_0x1417('0x8')]('/',auth[_0x1417('0x9')](),controller[_0x1417('0xa')]);router[_0x1417('0x8')](_0x1417('0xb'),auth[_0x1417('0x9')](),controller['describe']);router[_0x1417('0x8')](_0x1417('0xc'),auth['isAuthenticated'](),controller[_0x1417('0xd')]);router['get'](_0x1417('0xe'),auth[_0x1417('0x9')](),controller['getQuestions']);router[_0x1417('0xf')]('/',auth[_0x1417('0x9')](),controller[_0x1417('0x10')]);router[_0x1417('0x11')](_0x1417('0xc'),auth['isAuthenticated'](),controller[_0x1417('0x12')]);router[_0x1417('0x13')]('/:id',auth[_0x1417('0x9')](),controller['destroy']);module['exports']=router;