Built motion from commit 3e059bc2.|2.5.32
[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 _0x94f4=['isAuthenticated','describe','/:id','show','post','create','update','delete','destroy','exports','multer','path','connect-timeout','express','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./jscriptyQuestionReport.controller','get','index','/describe'];(function(_0x4cac1c,_0xe00de5){var _0x439147=function(_0xf10b55){while(--_0xf10b55){_0x4cac1c['push'](_0x4cac1c['shift']());}};_0x439147(++_0xe00de5);}(_0x94f4,0x13e));var _0x494f=function(_0x44b7a8,_0x2d594b){_0x44b7a8=_0x44b7a8-0x0;var _0x1c089c=_0x94f4[_0x44b7a8];return _0x1c089c;};'use strict';var multer=require(_0x494f('0x0'));var util=require('util');var path=require(_0x494f('0x1'));var timeout=require(_0x494f('0x2'));var express=require(_0x494f('0x3'));var router=express['Router']();var fs_extra=require(_0x494f('0x4'));var auth=require(_0x494f('0x5'));var interaction=require(_0x494f('0x6'));var config=require(_0x494f('0x7'));var controller=require(_0x494f('0x8'));router[_0x494f('0x9')]('/',auth['isAuthenticated'](),controller[_0x494f('0xa')]);router[_0x494f('0x9')](_0x494f('0xb'),auth[_0x494f('0xc')](),controller[_0x494f('0xd')]);router[_0x494f('0x9')](_0x494f('0xe'),auth[_0x494f('0xc')](),controller[_0x494f('0xf')]);router[_0x494f('0x10')]('/',auth[_0x494f('0xc')](),controller[_0x494f('0x11')]);router['put'](_0x494f('0xe'),auth[_0x494f('0xc')](),controller[_0x494f('0x12')]);router[_0x494f('0x13')]('/:id',auth[_0x494f('0xc')](),controller[_0x494f('0x14')]);module[_0x494f('0x15')]=router;