Built motion from commit d1eab355.|2.6.28
[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 _0x4270=['./jscriptySessionReport.controller','get','isAuthenticated','/describe','describe','/:id','show','/:id/questions','getQuestions','post','create','update','delete','destroy','exports','util','path','connect-timeout','express','Router','../../components/interaction/service','../../config/environment'];(function(_0x596bd6,_0x328b98){var _0x3b1a72=function(_0x1a26cb){while(--_0x1a26cb){_0x596bd6['push'](_0x596bd6['shift']());}};_0x3b1a72(++_0x328b98);}(_0x4270,0x185));var _0x0427=function(_0x17c26d,_0x599569){_0x17c26d=_0x17c26d-0x0;var _0x4b5580=_0x4270[_0x17c26d];return _0x4b5580;};'use strict';var multer=require('multer');var util=require(_0x0427('0x0'));var path=require(_0x0427('0x1'));var timeout=require(_0x0427('0x2'));var express=require(_0x0427('0x3'));var router=express[_0x0427('0x4')]();var fs_extra=require('fs-extra');var auth=require('../../components/auth/service');var interaction=require(_0x0427('0x5'));var config=require(_0x0427('0x6'));var controller=require(_0x0427('0x7'));router[_0x0427('0x8')]('/',auth[_0x0427('0x9')](),controller['index']);router[_0x0427('0x8')](_0x0427('0xa'),auth['isAuthenticated'](),controller[_0x0427('0xb')]);router[_0x0427('0x8')](_0x0427('0xc'),auth['isAuthenticated'](),controller[_0x0427('0xd')]);router['get'](_0x0427('0xe'),auth[_0x0427('0x9')](),controller[_0x0427('0xf')]);router[_0x0427('0x10')]('/',auth[_0x0427('0x9')](),controller[_0x0427('0x11')]);router['put'](_0x0427('0xc'),auth[_0x0427('0x9')](),controller[_0x0427('0x12')]);router[_0x0427('0x13')]('/:id',auth[_0x0427('0x9')](),controller[_0x0427('0x14')]);module[_0x0427('0x15')]=router;