Built motion from commit fade34fd.|2.5.41
[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 _0x72cb=['show','post','update','destroy','exports','multer','util','path','express','Router','../../components/auth/service','isAuthenticated','get','/describe','/:id'];(function(_0x435ba5,_0x55875f){var _0x5af51d=function(_0x35b1ed){while(--_0x35b1ed){_0x435ba5['push'](_0x435ba5['shift']());}};_0x5af51d(++_0x55875f);}(_0x72cb,0x7d));var _0xb72c=function(_0x2c072b,_0x6c4449){_0x2c072b=_0x2c072b-0x0;var _0x167ee3=_0x72cb[_0x2c072b];return _0x167ee3;};'use strict';var multer=require(_0xb72c('0x0'));var util=require(_0xb72c('0x1'));var path=require(_0xb72c('0x2'));var timeout=require('connect-timeout');var express=require(_0xb72c('0x3'));var router=express[_0xb72c('0x4')]();var fs_extra=require('fs-extra');var auth=require(_0xb72c('0x5'));var interaction=require('../../components/interaction/service');var config=require('../../config/environment');var controller=require('./jscriptyQuestionReport.controller');router['get']('/',auth[_0xb72c('0x6')](),controller['index']);router[_0xb72c('0x7')](_0xb72c('0x8'),auth[_0xb72c('0x6')](),controller['describe']);router[_0xb72c('0x7')](_0xb72c('0x9'),auth[_0xb72c('0x6')](),controller[_0xb72c('0xa')]);router[_0xb72c('0xb')]('/',auth[_0xb72c('0x6')](),controller['create']);router['put'](_0xb72c('0x9'),auth[_0xb72c('0x6')](),controller[_0xb72c('0xc')]);router['delete'](_0xb72c('0x9'),auth[_0xb72c('0x6')](),controller[_0xb72c('0xd')]);module[_0xb72c('0xe')]=router;