Built motion from commit 746c7d2a.|2.5.35
[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 _0xfc6a=['multer','util','express','Router','fs-extra','../../components/interaction/service','get','isAuthenticated','index','/describe','describe','/:id','show','/:id/questions','getQuestions','create','put','update','delete','destroy'];(function(_0x5b561d,_0x422b7c){var _0x431060=function(_0x401409){while(--_0x401409){_0x5b561d['push'](_0x5b561d['shift']());}};_0x431060(++_0x422b7c);}(_0xfc6a,0x1e0));var _0xafc6=function(_0x3dd15e,_0x1f0015){_0x3dd15e=_0x3dd15e-0x0;var _0x231fd0=_0xfc6a[_0x3dd15e];return _0x231fd0;};'use strict';var multer=require(_0xafc6('0x0'));var util=require(_0xafc6('0x1'));var path=require('path');var timeout=require('connect-timeout');var express=require(_0xafc6('0x2'));var router=express[_0xafc6('0x3')]();var fs_extra=require(_0xafc6('0x4'));var auth=require('../../components/auth/service');var interaction=require(_0xafc6('0x5'));var config=require('../../config/environment');var controller=require('./jscriptySessionReport.controller');router[_0xafc6('0x6')]('/',auth[_0xafc6('0x7')](),controller[_0xafc6('0x8')]);router[_0xafc6('0x6')](_0xafc6('0x9'),auth[_0xafc6('0x7')](),controller[_0xafc6('0xa')]);router['get'](_0xafc6('0xb'),auth[_0xafc6('0x7')](),controller[_0xafc6('0xc')]);router[_0xafc6('0x6')](_0xafc6('0xd'),auth[_0xafc6('0x7')](),controller[_0xafc6('0xe')]);router['post']('/',auth[_0xafc6('0x7')](),controller[_0xafc6('0xf')]);router[_0xafc6('0x10')](_0xafc6('0xb'),auth[_0xafc6('0x7')](),controller[_0xafc6('0x11')]);router[_0xafc6('0x12')](_0xafc6('0xb'),auth[_0xafc6('0x7')](),controller[_0xafc6('0x13')]);module['exports']=router;