Built motion from commit ffdca78c.|2.6.24
[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 _0x7417=['../../config/environment','./jscriptyQuestionReport.controller','get','isAuthenticated','index','describe','show','post','update','delete','/:id','destroy','exports','multer','connect-timeout','fs-extra','../../components/auth/service'];(function(_0x119140,_0x523185){var _0x5e92d1=function(_0x33f9b6){while(--_0x33f9b6){_0x119140['push'](_0x119140['shift']());}};_0x5e92d1(++_0x523185);}(_0x7417,0x10c));var _0x7741=function(_0x502c7d,_0x2f1285){_0x502c7d=_0x502c7d-0x0;var _0x30b7ed=_0x7417[_0x502c7d];return _0x30b7ed;};'use strict';var multer=require(_0x7741('0x0'));var util=require('util');var path=require('path');var timeout=require(_0x7741('0x1'));var express=require('express');var router=express['Router']();var fs_extra=require(_0x7741('0x2'));var auth=require(_0x7741('0x3'));var interaction=require('../../components/interaction/service');var config=require(_0x7741('0x4'));var controller=require(_0x7741('0x5'));router[_0x7741('0x6')]('/',auth[_0x7741('0x7')](),controller[_0x7741('0x8')]);router[_0x7741('0x6')]('/describe',auth[_0x7741('0x7')](),controller[_0x7741('0x9')]);router['get']('/:id',auth[_0x7741('0x7')](),controller[_0x7741('0xa')]);router[_0x7741('0xb')]('/',auth[_0x7741('0x7')](),controller['create']);router['put']('/:id',auth[_0x7741('0x7')](),controller[_0x7741('0xc')]);router[_0x7741('0xd')](_0x7741('0xe'),auth[_0x7741('0x7')](),controller[_0x7741('0xf')]);module[_0x7741('0x10')]=router;