Built motion from commit d5e4af8c.|2.6.23
[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 _0x23a8=['util','path','connect-timeout','express','fs-extra','../../components/auth/service','../../components/interaction/service','./jscriptyQuestionReport.controller','get','isAuthenticated','index','/describe','describe','/:id','show','create','update','delete','destroy','exports','multer'];(function(_0x3a0ebd,_0x47f368){var _0x51a660=function(_0x4023e6){while(--_0x4023e6){_0x3a0ebd['push'](_0x3a0ebd['shift']());}};_0x51a660(++_0x47f368);}(_0x23a8,0xd1));var _0x823a=function(_0x240837,_0x3dc212){_0x240837=_0x240837-0x0;var _0x36bd37=_0x23a8[_0x240837];return _0x36bd37;};'use strict';var multer=require(_0x823a('0x0'));var util=require(_0x823a('0x1'));var path=require(_0x823a('0x2'));var timeout=require(_0x823a('0x3'));var express=require(_0x823a('0x4'));var router=express['Router']();var fs_extra=require(_0x823a('0x5'));var auth=require(_0x823a('0x6'));var interaction=require(_0x823a('0x7'));var config=require('../../config/environment');var controller=require(_0x823a('0x8'));router[_0x823a('0x9')]('/',auth[_0x823a('0xa')](),controller[_0x823a('0xb')]);router[_0x823a('0x9')](_0x823a('0xc'),auth[_0x823a('0xa')](),controller[_0x823a('0xd')]);router[_0x823a('0x9')](_0x823a('0xe'),auth[_0x823a('0xa')](),controller[_0x823a('0xf')]);router['post']('/',auth['isAuthenticated'](),controller[_0x823a('0x10')]);router['put'](_0x823a('0xe'),auth[_0x823a('0xa')](),controller[_0x823a('0x11')]);router[_0x823a('0x12')](_0x823a('0xe'),auth[_0x823a('0xa')](),controller[_0x823a('0x13')]);module[_0x823a('0x14')]=router;