Built motion from commit fe909640.|2.6.8
[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 _0xc949=['/:id','show','create','put','update','delete','destroy','exports','path','connect-timeout','express','fs-extra','../../config/environment','./jscriptyQuestionReport.controller','get','isAuthenticated','index','/describe','describe'];(function(_0x3740fe,_0x6c543c){var _0x55492b=function(_0x1f851f){while(--_0x1f851f){_0x3740fe['push'](_0x3740fe['shift']());}};_0x55492b(++_0x6c543c);}(_0xc949,0x1aa));var _0x9c94=function(_0x4d8ed9,_0x2ae284){_0x4d8ed9=_0x4d8ed9-0x0;var _0x1e2140=_0xc949[_0x4d8ed9];return _0x1e2140;};'use strict';var multer=require('multer');var util=require('util');var path=require(_0x9c94('0x0'));var timeout=require(_0x9c94('0x1'));var express=require(_0x9c94('0x2'));var router=express['Router']();var fs_extra=require(_0x9c94('0x3'));var auth=require('../../components/auth/service');var interaction=require('../../components/interaction/service');var config=require(_0x9c94('0x4'));var controller=require(_0x9c94('0x5'));router[_0x9c94('0x6')]('/',auth[_0x9c94('0x7')](),controller[_0x9c94('0x8')]);router[_0x9c94('0x6')](_0x9c94('0x9'),auth[_0x9c94('0x7')](),controller[_0x9c94('0xa')]);router[_0x9c94('0x6')](_0x9c94('0xb'),auth['isAuthenticated'](),controller[_0x9c94('0xc')]);router['post']('/',auth['isAuthenticated'](),controller[_0x9c94('0xd')]);router[_0x9c94('0xe')](_0x9c94('0xb'),auth['isAuthenticated'](),controller[_0x9c94('0xf')]);router[_0x9c94('0x10')](_0x9c94('0xb'),auth[_0x9c94('0x7')](),controller[_0x9c94('0x11')]);module[_0x9c94('0x12')]=router;