Built motion from commit 10af8726.|2.6.34
[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 _0x76fa=['Router','../../components/auth/service','../../components/interaction/service','./jscriptySessionReport.controller','get','isAuthenticated','index','describe','/:id','show','post','create','put','update','delete','destroy','exports','path','connect-timeout'];(function(_0x484cac,_0x30ad3a){var _0x1d6e77=function(_0x4f5f16){while(--_0x4f5f16){_0x484cac['push'](_0x484cac['shift']());}};_0x1d6e77(++_0x30ad3a);}(_0x76fa,0xa9));var _0xa76f=function(_0x11d3eb,_0x322655){_0x11d3eb=_0x11d3eb-0x0;var _0x723926=_0x76fa[_0x11d3eb];return _0x723926;};'use strict';var multer=require('multer');var util=require('util');var path=require(_0xa76f('0x0'));var timeout=require(_0xa76f('0x1'));var express=require('express');var router=express[_0xa76f('0x2')]();var fs_extra=require('fs-extra');var auth=require(_0xa76f('0x3'));var interaction=require(_0xa76f('0x4'));var config=require('../../config/environment');var controller=require(_0xa76f('0x5'));router[_0xa76f('0x6')]('/',auth[_0xa76f('0x7')](),controller[_0xa76f('0x8')]);router['get']('/describe',auth[_0xa76f('0x7')](),controller[_0xa76f('0x9')]);router['get'](_0xa76f('0xa'),auth[_0xa76f('0x7')](),controller[_0xa76f('0xb')]);router[_0xa76f('0x6')]('/:id/questions',auth[_0xa76f('0x7')](),controller['getQuestions']);router[_0xa76f('0xc')]('/',auth[_0xa76f('0x7')](),controller[_0xa76f('0xd')]);router[_0xa76f('0xe')](_0xa76f('0xa'),auth['isAuthenticated'](),controller[_0xa76f('0xf')]);router[_0xa76f('0x10')](_0xa76f('0xa'),auth[_0xa76f('0x7')](),controller[_0xa76f('0x11')]);module[_0xa76f('0x12')]=router;