89bf9c2dca4e10b47d586630d4ac7fda2d100047
[motion2.git] / server / api / jscriptyQuestionReport / 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 _0xace1=['fs-extra','../../components/interaction/service','../../config/environment','./jscriptyQuestionReport.controller','isAuthenticated','index','get','/describe','/:id','show','create','put','update','delete','destroy','exports','multer','path','connect-timeout','express','Router'];(function(_0x56f086,_0x580fb8){var _0x5a80a1=function(_0x5a4bd4){while(--_0x5a4bd4){_0x56f086['push'](_0x56f086['shift']());}};_0x5a80a1(++_0x580fb8);}(_0xace1,0x18a));var _0x1ace=function(_0x5813c8,_0x150e9d){_0x5813c8=_0x5813c8-0x0;var _0x1e8d16=_0xace1[_0x5813c8];return _0x1e8d16;};'use strict';var multer=require(_0x1ace('0x0'));var util=require('util');var path=require(_0x1ace('0x1'));var timeout=require(_0x1ace('0x2'));var express=require(_0x1ace('0x3'));var router=express[_0x1ace('0x4')]();var fs_extra=require(_0x1ace('0x5'));var auth=require('../../components/auth/service');var interaction=require(_0x1ace('0x6'));var config=require(_0x1ace('0x7'));var controller=require(_0x1ace('0x8'));router['get']('/',auth[_0x1ace('0x9')](),controller[_0x1ace('0xa')]);router[_0x1ace('0xb')](_0x1ace('0xc'),auth[_0x1ace('0x9')](),controller['describe']);router['get'](_0x1ace('0xd'),auth[_0x1ace('0x9')](),controller[_0x1ace('0xe')]);router['post']('/',auth['isAuthenticated'](),controller[_0x1ace('0xf')]);router[_0x1ace('0x10')](_0x1ace('0xd'),auth[_0x1ace('0x9')](),controller[_0x1ace('0x11')]);router[_0x1ace('0x12')](_0x1ace('0xd'),auth[_0x1ace('0x9')](),controller[_0x1ace('0x13')]);module[_0x1ace('0x14')]=router;