Built motion from commit 20b39a97.|2.6.29
[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 _0x74d3=['update','delete','exports','multer','util','express','fs-extra','../../components/auth/service','../../components/interaction/service','./jscriptyQuestionReport.controller','isAuthenticated','index','get','/describe','describe','/:id','put'];(function(_0x2b4411,_0x2625ed){var _0x8e41ef=function(_0x2aa8c1){while(--_0x2aa8c1){_0x2b4411['push'](_0x2b4411['shift']());}};_0x8e41ef(++_0x2625ed);}(_0x74d3,0x9c));var _0x374d=function(_0x5d99c6,_0x2447af){_0x5d99c6=_0x5d99c6-0x0;var _0x2d2c9a=_0x74d3[_0x5d99c6];return _0x2d2c9a;};'use strict';var multer=require(_0x374d('0x0'));var util=require(_0x374d('0x1'));var path=require('path');var timeout=require('connect-timeout');var express=require(_0x374d('0x2'));var router=express['Router']();var fs_extra=require(_0x374d('0x3'));var auth=require(_0x374d('0x4'));var interaction=require(_0x374d('0x5'));var config=require('../../config/environment');var controller=require(_0x374d('0x6'));router['get']('/',auth[_0x374d('0x7')](),controller[_0x374d('0x8')]);router[_0x374d('0x9')](_0x374d('0xa'),auth[_0x374d('0x7')](),controller[_0x374d('0xb')]);router[_0x374d('0x9')](_0x374d('0xc'),auth[_0x374d('0x7')](),controller['show']);router['post']('/',auth['isAuthenticated'](),controller['create']);router[_0x374d('0xd')](_0x374d('0xc'),auth[_0x374d('0x7')](),controller[_0x374d('0xe')]);router[_0x374d('0xf')](_0x374d('0xc'),auth[_0x374d('0x7')](),controller['destroy']);module[_0x374d('0x10')]=router;