Built motion from commit 994c64e1.|2.6.1
[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 _0x4c47=['show','post','create','put','update','delete','destroy','exports','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','./jscriptyQuestionReport.controller','get','isAuthenticated','index','/describe','describe','/:id'];(function(_0x40b2ed,_0x2b1765){var _0x18397d=function(_0xc6a86f){while(--_0xc6a86f){_0x40b2ed['push'](_0x40b2ed['shift']());}};_0x18397d(++_0x2b1765);}(_0x4c47,0x71));var _0x74c4=function(_0x483410,_0x229e5d){_0x483410=_0x483410-0x0;var _0x45a1c9=_0x4c47[_0x483410];return _0x45a1c9;};'use strict';var multer=require('multer');var util=require('util');var path=require('path');var timeout=require(_0x74c4('0x0'));var express=require(_0x74c4('0x1'));var router=express[_0x74c4('0x2')]();var fs_extra=require(_0x74c4('0x3'));var auth=require(_0x74c4('0x4'));var interaction=require(_0x74c4('0x5'));var config=require('../../config/environment');var controller=require(_0x74c4('0x6'));router[_0x74c4('0x7')]('/',auth[_0x74c4('0x8')](),controller[_0x74c4('0x9')]);router[_0x74c4('0x7')](_0x74c4('0xa'),auth[_0x74c4('0x8')](),controller[_0x74c4('0xb')]);router[_0x74c4('0x7')](_0x74c4('0xc'),auth[_0x74c4('0x8')](),controller[_0x74c4('0xd')]);router[_0x74c4('0xe')]('/',auth['isAuthenticated'](),controller[_0x74c4('0xf')]);router[_0x74c4('0x10')]('/:id',auth[_0x74c4('0x8')](),controller[_0x74c4('0x11')]);router[_0x74c4('0x12')](_0x74c4('0xc'),auth[_0x74c4('0x8')](),controller[_0x74c4('0x13')]);module[_0x74c4('0x14')]=router;