fb922f48bc23788ceb7076c5aa3fe0b76975fa94
[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 _0x22c1=['../../config/environment','./jscriptySessionReport.controller','get','index','/describe','isAuthenticated','/:id','show','/:id/questions','getQuestions','post','create','destroy','multer','util','path','connect-timeout','fs-extra','../../components/interaction/service'];(function(_0x2d760f,_0x370279){var _0x102a53=function(_0x54a311){while(--_0x54a311){_0x2d760f['push'](_0x2d760f['shift']());}};_0x102a53(++_0x370279);}(_0x22c1,0x1d5));var _0x122c=function(_0x2b26c5,_0x547bea){_0x2b26c5=_0x2b26c5-0x0;var _0xfc7f7f=_0x22c1[_0x2b26c5];return _0xfc7f7f;};'use strict';var multer=require(_0x122c('0x0'));var util=require(_0x122c('0x1'));var path=require(_0x122c('0x2'));var timeout=require(_0x122c('0x3'));var express=require('express');var router=express['Router']();var fs_extra=require(_0x122c('0x4'));var auth=require('../../components/auth/service');var interaction=require(_0x122c('0x5'));var config=require(_0x122c('0x6'));var controller=require(_0x122c('0x7'));router[_0x122c('0x8')]('/',auth['isAuthenticated'](),controller[_0x122c('0x9')]);router[_0x122c('0x8')](_0x122c('0xa'),auth[_0x122c('0xb')](),controller['describe']);router[_0x122c('0x8')](_0x122c('0xc'),auth[_0x122c('0xb')](),controller[_0x122c('0xd')]);router[_0x122c('0x8')](_0x122c('0xe'),auth[_0x122c('0xb')](),controller[_0x122c('0xf')]);router[_0x122c('0x10')]('/',auth[_0x122c('0xb')](),controller[_0x122c('0x11')]);router['put'](_0x122c('0xc'),auth[_0x122c('0xb')](),controller['update']);router['delete'](_0x122c('0xc'),auth[_0x122c('0xb')](),controller[_0x122c('0x12')]);module['exports']=router;