Built motion from commit (unavailable).|2.5.28
[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 _0x1646=['show','post','create','put','update','delete','destroy','exports','multer','util','path','connect-timeout','Router','../../components/auth/service','../../config/environment','get','isAuthenticated','describe','/:id'];(function(_0xf059e8,_0x493ff8){var _0x52d2f6=function(_0x505e1d){while(--_0x505e1d){_0xf059e8['push'](_0xf059e8['shift']());}};_0x52d2f6(++_0x493ff8);}(_0x1646,0x1bd));var _0x6164=function(_0x10f68e,_0xf198ea){_0x10f68e=_0x10f68e-0x0;var _0x4c8372=_0x1646[_0x10f68e];return _0x4c8372;};'use strict';var multer=require(_0x6164('0x0'));var util=require(_0x6164('0x1'));var path=require(_0x6164('0x2'));var timeout=require(_0x6164('0x3'));var express=require('express');var router=express[_0x6164('0x4')]();var fs_extra=require('fs-extra');var auth=require(_0x6164('0x5'));var interaction=require('../../components/interaction/service');var config=require(_0x6164('0x6'));var controller=require('./jscriptyQuestionReport.controller');router[_0x6164('0x7')]('/',auth[_0x6164('0x8')](),controller['index']);router[_0x6164('0x7')]('/describe',auth[_0x6164('0x8')](),controller[_0x6164('0x9')]);router[_0x6164('0x7')](_0x6164('0xa'),auth[_0x6164('0x8')](),controller[_0x6164('0xb')]);router[_0x6164('0xc')]('/',auth['isAuthenticated'](),controller[_0x6164('0xd')]);router[_0x6164('0xe')]('/:id',auth[_0x6164('0x8')](),controller[_0x6164('0xf')]);router[_0x6164('0x10')](_0x6164('0xa'),auth['isAuthenticated'](),controller[_0x6164('0x11')]);module[_0x6164('0x12')]=router;