Built motion from commit d301b742.|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 _0x35ff=['../../components/auth/service','../../config/environment','./jscriptyQuestionReport.controller','isAuthenticated','index','get','describe','/:id','show','post','create','put','update','delete','exports','util','path','connect-timeout','express','Router','fs-extra'];(function(_0x138adb,_0x193fee){var _0x1b27f2=function(_0x5e97a2){while(--_0x5e97a2){_0x138adb['push'](_0x138adb['shift']());}};_0x1b27f2(++_0x193fee);}(_0x35ff,0x78));var _0xf35f=function(_0x2d6b83,_0x481b74){_0x2d6b83=_0x2d6b83-0x0;var _0x4ecccd=_0x35ff[_0x2d6b83];return _0x4ecccd;};'use strict';var multer=require('multer');var util=require(_0xf35f('0x0'));var path=require(_0xf35f('0x1'));var timeout=require(_0xf35f('0x2'));var express=require(_0xf35f('0x3'));var router=express[_0xf35f('0x4')]();var fs_extra=require(_0xf35f('0x5'));var auth=require(_0xf35f('0x6'));var interaction=require('../../components/interaction/service');var config=require(_0xf35f('0x7'));var controller=require(_0xf35f('0x8'));router['get']('/',auth[_0xf35f('0x9')](),controller[_0xf35f('0xa')]);router[_0xf35f('0xb')]('/describe',auth[_0xf35f('0x9')](),controller[_0xf35f('0xc')]);router[_0xf35f('0xb')](_0xf35f('0xd'),auth[_0xf35f('0x9')](),controller[_0xf35f('0xe')]);router[_0xf35f('0xf')]('/',auth[_0xf35f('0x9')](),controller[_0xf35f('0x10')]);router[_0xf35f('0x11')]('/:id',auth[_0xf35f('0x9')](),controller[_0xf35f('0x12')]);router[_0xf35f('0x13')](_0xf35f('0xd'),auth[_0xf35f('0x9')](),controller['destroy']);module[_0xf35f('0x14')]=router;