2a6b46be6ae5b03f03a80f6a1bbc863f98d58b49
[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 _0x220b=['index','/describe','describe','/:id','show','post','create','put','update','destroy','multer','connect-timeout','express','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','get','isAuthenticated'];(function(_0xbc4560,_0x4020b8){var _0x298cfb=function(_0x254423){while(--_0x254423){_0xbc4560['push'](_0xbc4560['shift']());}};_0x298cfb(++_0x4020b8);}(_0x220b,0x1e5));var _0xb220=function(_0x95942,_0x85da80){_0x95942=_0x95942-0x0;var _0x6d7f81=_0x220b[_0x95942];return _0x6d7f81;};'use strict';var multer=require(_0xb220('0x0'));var util=require('util');var path=require('path');var timeout=require(_0xb220('0x1'));var express=require(_0xb220('0x2'));var router=express['Router']();var fs_extra=require(_0xb220('0x3'));var auth=require(_0xb220('0x4'));var interaction=require(_0xb220('0x5'));var config=require(_0xb220('0x6'));var controller=require('./jscriptyQuestionReport.controller');router[_0xb220('0x7')]('/',auth[_0xb220('0x8')](),controller[_0xb220('0x9')]);router[_0xb220('0x7')](_0xb220('0xa'),auth[_0xb220('0x8')](),controller[_0xb220('0xb')]);router['get'](_0xb220('0xc'),auth[_0xb220('0x8')](),controller[_0xb220('0xd')]);router[_0xb220('0xe')]('/',auth['isAuthenticated'](),controller[_0xb220('0xf')]);router[_0xb220('0x10')](_0xb220('0xc'),auth['isAuthenticated'](),controller[_0xb220('0x11')]);router['delete']('/:id',auth[_0xb220('0x8')](),controller[_0xb220('0x12')]);module['exports']=router;