Built motion from commit e02f907f.|2.6.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 _0xb63c=['destroy','exports','multer','path','express','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./jscriptySessionReport.controller','get','isAuthenticated','index','/describe','describe','show','/:id/questions','getQuestions','post','put','update','delete','/:id'];(function(_0x4d67b8,_0x565134){var _0x55af3b=function(_0x145904){while(--_0x145904){_0x4d67b8['push'](_0x4d67b8['shift']());}};_0x55af3b(++_0x565134);}(_0xb63c,0x1e5));var _0xcb63=function(_0x4afc26,_0x40c3fc){_0x4afc26=_0x4afc26-0x0;var _0x504f35=_0xb63c[_0x4afc26];return _0x504f35;};'use strict';var multer=require(_0xcb63('0x0'));var util=require('util');var path=require(_0xcb63('0x1'));var timeout=require('connect-timeout');var express=require(_0xcb63('0x2'));var router=express['Router']();var fs_extra=require(_0xcb63('0x3'));var auth=require(_0xcb63('0x4'));var interaction=require(_0xcb63('0x5'));var config=require(_0xcb63('0x6'));var controller=require(_0xcb63('0x7'));router[_0xcb63('0x8')]('/',auth[_0xcb63('0x9')](),controller[_0xcb63('0xa')]);router['get'](_0xcb63('0xb'),auth[_0xcb63('0x9')](),controller[_0xcb63('0xc')]);router[_0xcb63('0x8')]('/:id',auth['isAuthenticated'](),controller[_0xcb63('0xd')]);router[_0xcb63('0x8')](_0xcb63('0xe'),auth[_0xcb63('0x9')](),controller[_0xcb63('0xf')]);router[_0xcb63('0x10')]('/',auth[_0xcb63('0x9')](),controller['create']);router[_0xcb63('0x11')]('/:id',auth[_0xcb63('0x9')](),controller[_0xcb63('0x12')]);router[_0xcb63('0x13')](_0xcb63('0x14'),auth[_0xcb63('0x9')](),controller[_0xcb63('0x15')]);module[_0xcb63('0x16')]=router;