Built motion from commit b0a9a629.|2.6.33
[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 _0xa80f=['getQuestions','post','create','put','/:id','delete','destroy','exports','multer','path','connect-timeout','express','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./jscriptySessionReport.controller','get','isAuthenticated','index','/describe','describe','show','/:id/questions'];(function(_0x4ecdad,_0x5eadb9){var _0x5f2d11=function(_0x467dba){while(--_0x467dba){_0x4ecdad['push'](_0x4ecdad['shift']());}};_0x5f2d11(++_0x5eadb9);}(_0xa80f,0x68));var _0xfa80=function(_0x257544,_0x524c55){_0x257544=_0x257544-0x0;var _0x589d7d=_0xa80f[_0x257544];return _0x589d7d;};'use strict';var multer=require(_0xfa80('0x0'));var util=require('util');var path=require(_0xfa80('0x1'));var timeout=require(_0xfa80('0x2'));var express=require(_0xfa80('0x3'));var router=express['Router']();var fs_extra=require(_0xfa80('0x4'));var auth=require(_0xfa80('0x5'));var interaction=require(_0xfa80('0x6'));var config=require(_0xfa80('0x7'));var controller=require(_0xfa80('0x8'));router[_0xfa80('0x9')]('/',auth[_0xfa80('0xa')](),controller[_0xfa80('0xb')]);router['get'](_0xfa80('0xc'),auth[_0xfa80('0xa')](),controller[_0xfa80('0xd')]);router['get']('/:id',auth['isAuthenticated'](),controller[_0xfa80('0xe')]);router[_0xfa80('0x9')](_0xfa80('0xf'),auth[_0xfa80('0xa')](),controller[_0xfa80('0x10')]);router[_0xfa80('0x11')]('/',auth['isAuthenticated'](),controller[_0xfa80('0x12')]);router[_0xfa80('0x13')](_0xfa80('0x14'),auth[_0xfa80('0xa')](),controller['update']);router[_0xfa80('0x15')](_0xfa80('0x14'),auth[_0xfa80('0xa')](),controller[_0xfa80('0x16')]);module[_0xfa80('0x17')]=router;