Built motion from commit da617fac.|2.6.6
[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 _0x5b50=['get','isAuthenticated','/describe','describe','/:id','show','post','put','update','destroy','exports','multer','util','path','connect-timeout','Router','fs-extra','../../components/auth/service','../../components/interaction/service','./jscriptyQuestionReport.controller'];(function(_0xa388a2,_0x40bde6){var _0x7ce7f6=function(_0x5a242a){while(--_0x5a242a){_0xa388a2['push'](_0xa388a2['shift']());}};_0x7ce7f6(++_0x40bde6);}(_0x5b50,0x1c3));var _0x05b5=function(_0x5e0473,_0x9b8b72){_0x5e0473=_0x5e0473-0x0;var _0x14cc6d=_0x5b50[_0x5e0473];return _0x14cc6d;};'use strict';var multer=require(_0x05b5('0x0'));var util=require(_0x05b5('0x1'));var path=require(_0x05b5('0x2'));var timeout=require(_0x05b5('0x3'));var express=require('express');var router=express[_0x05b5('0x4')]();var fs_extra=require(_0x05b5('0x5'));var auth=require(_0x05b5('0x6'));var interaction=require(_0x05b5('0x7'));var config=require('../../config/environment');var controller=require(_0x05b5('0x8'));router[_0x05b5('0x9')]('/',auth[_0x05b5('0xa')](),controller['index']);router[_0x05b5('0x9')](_0x05b5('0xb'),auth[_0x05b5('0xa')](),controller[_0x05b5('0xc')]);router[_0x05b5('0x9')](_0x05b5('0xd'),auth['isAuthenticated'](),controller[_0x05b5('0xe')]);router[_0x05b5('0xf')]('/',auth[_0x05b5('0xa')](),controller['create']);router[_0x05b5('0x10')](_0x05b5('0xd'),auth[_0x05b5('0xa')](),controller[_0x05b5('0x11')]);router['delete'](_0x05b5('0xd'),auth['isAuthenticated'](),controller[_0x05b5('0x12')]);module[_0x05b5('0x13')]=router;