44cc6e5f9d2029bbda810a2a81fc07e43c78d35e
[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 _0x76de=['/:id','show','post','create','update','destroy','exports','multer','util','path','connect-timeout','express','fs-extra','../../components/auth/service','../../components/interaction/service','get','isAuthenticated','index','/describe','describe'];(function(_0x1573ea,_0x434f02){var _0x51c0e2=function(_0x5c9b28){while(--_0x5c9b28){_0x1573ea['push'](_0x1573ea['shift']());}};_0x51c0e2(++_0x434f02);}(_0x76de,0x15b));var _0xe76d=function(_0x3ad59b,_0x13aca3){_0x3ad59b=_0x3ad59b-0x0;var _0x453202=_0x76de[_0x3ad59b];return _0x453202;};'use strict';var multer=require(_0xe76d('0x0'));var util=require(_0xe76d('0x1'));var path=require(_0xe76d('0x2'));var timeout=require(_0xe76d('0x3'));var express=require(_0xe76d('0x4'));var router=express['Router']();var fs_extra=require(_0xe76d('0x5'));var auth=require(_0xe76d('0x6'));var interaction=require(_0xe76d('0x7'));var config=require('../../config/environment');var controller=require('./jscriptyQuestionReport.controller');router[_0xe76d('0x8')]('/',auth[_0xe76d('0x9')](),controller[_0xe76d('0xa')]);router[_0xe76d('0x8')](_0xe76d('0xb'),auth[_0xe76d('0x9')](),controller[_0xe76d('0xc')]);router[_0xe76d('0x8')](_0xe76d('0xd'),auth[_0xe76d('0x9')](),controller[_0xe76d('0xe')]);router[_0xe76d('0xf')]('/',auth[_0xe76d('0x9')](),controller[_0xe76d('0x10')]);router['put'](_0xe76d('0xd'),auth[_0xe76d('0x9')](),controller[_0xe76d('0x11')]);router['delete']('/:id',auth[_0xe76d('0x9')](),controller[_0xe76d('0x12')]);module[_0xe76d('0x13')]=router;