1fc9b60fa1ede5f167ef5f9e11496c67453ba8d0
[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 _0xf776=['getQuestions','post','create','put','/:id','update','delete','destroy','exports','multer','path','connect-timeout','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','get','index','/describe','isAuthenticated','show','/:id/questions'];(function(_0x618414,_0x1a7a60){var _0x21c19a=function(_0x507b17){while(--_0x507b17){_0x618414['push'](_0x618414['shift']());}};_0x21c19a(++_0x1a7a60);}(_0xf776,0x169));var _0x6f77=function(_0x48f492,_0x42305b){_0x48f492=_0x48f492-0x0;var _0x4caf78=_0xf776[_0x48f492];return _0x4caf78;};'use strict';var multer=require(_0x6f77('0x0'));var util=require('util');var path=require(_0x6f77('0x1'));var timeout=require(_0x6f77('0x2'));var express=require('express');var router=express[_0x6f77('0x3')]();var auth=require(_0x6f77('0x4'));var interaction=require(_0x6f77('0x5'));var config=require(_0x6f77('0x6'));var controller=require('./jscriptySessionReport.controller');router[_0x6f77('0x7')]('/',auth['isAuthenticated'](),controller[_0x6f77('0x8')]);router[_0x6f77('0x7')](_0x6f77('0x9'),auth[_0x6f77('0xa')](),controller['describe']);router[_0x6f77('0x7')]('/:id',auth[_0x6f77('0xa')](),controller[_0x6f77('0xb')]);router[_0x6f77('0x7')](_0x6f77('0xc'),auth['isAuthenticated'](),controller[_0x6f77('0xd')]);router[_0x6f77('0xe')]('/',auth[_0x6f77('0xa')](),controller[_0x6f77('0xf')]);router[_0x6f77('0x10')](_0x6f77('0x11'),auth['isAuthenticated'](),controller[_0x6f77('0x12')]);router[_0x6f77('0x13')](_0x6f77('0x11'),auth[_0x6f77('0xa')](),controller[_0x6f77('0x14')]);module[_0x6f77('0x15')]=router;