62c18d2640319b6cc9f77e1357299aefdc91f36e
[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 _0x6bab=['isAuthenticated','show','post','put','update','delete','/:id','destroy','exports','multer','connect-timeout','express','fs-extra','../../components/auth/service','../../config/environment','get','index'];(function(_0x23018a,_0xc2ce29){var _0x295a10=function(_0x988d98){while(--_0x988d98){_0x23018a['push'](_0x23018a['shift']());}};_0x295a10(++_0xc2ce29);}(_0x6bab,0x1e5));var _0xb6ba=function(_0x648163,_0x241576){_0x648163=_0x648163-0x0;var _0x199d4d=_0x6bab[_0x648163];return _0x199d4d;};'use strict';var multer=require(_0xb6ba('0x0'));var util=require('util');var path=require('path');var timeout=require(_0xb6ba('0x1'));var express=require(_0xb6ba('0x2'));var router=express['Router']();var fs_extra=require(_0xb6ba('0x3'));var auth=require(_0xb6ba('0x4'));var interaction=require('../../components/interaction/service');var config=require(_0xb6ba('0x5'));var controller=require('./jscriptyQuestionReport.controller');router[_0xb6ba('0x6')]('/',auth['isAuthenticated'](),controller[_0xb6ba('0x7')]);router[_0xb6ba('0x6')]('/describe',auth[_0xb6ba('0x8')](),controller['describe']);router[_0xb6ba('0x6')]('/:id',auth['isAuthenticated'](),controller[_0xb6ba('0x9')]);router[_0xb6ba('0xa')]('/',auth[_0xb6ba('0x8')](),controller['create']);router[_0xb6ba('0xb')]('/:id',auth[_0xb6ba('0x8')](),controller[_0xb6ba('0xc')]);router[_0xb6ba('0xd')](_0xb6ba('0xe'),auth[_0xb6ba('0x8')](),controller[_0xb6ba('0xf')]);module[_0xb6ba('0x10')]=router;