Built motion from commit d32f51f5.|2.6.31
[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 _0x7dae=['../../config/environment','get','index','/describe','isAuthenticated','describe','/:id','show','post','create','put','update','delete','destroy','exports','util','path','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service'];(function(_0x4bfac3,_0x58324d){var _0x15f0f2=function(_0xf0c511){while(--_0xf0c511){_0x4bfac3['push'](_0x4bfac3['shift']());}};_0x15f0f2(++_0x58324d);}(_0x7dae,0xc7));var _0xe7da=function(_0x2e1359,_0x1acc9f){_0x2e1359=_0x2e1359-0x0;var _0x1869d1=_0x7dae[_0x2e1359];return _0x1869d1;};'use strict';var multer=require('multer');var util=require(_0xe7da('0x0'));var path=require(_0xe7da('0x1'));var timeout=require(_0xe7da('0x2'));var express=require(_0xe7da('0x3'));var router=express[_0xe7da('0x4')]();var fs_extra=require(_0xe7da('0x5'));var auth=require(_0xe7da('0x6'));var interaction=require(_0xe7da('0x7'));var config=require(_0xe7da('0x8'));var controller=require('./jscriptyQuestionReport.controller');router[_0xe7da('0x9')]('/',auth['isAuthenticated'](),controller[_0xe7da('0xa')]);router[_0xe7da('0x9')](_0xe7da('0xb'),auth[_0xe7da('0xc')](),controller[_0xe7da('0xd')]);router[_0xe7da('0x9')](_0xe7da('0xe'),auth[_0xe7da('0xc')](),controller[_0xe7da('0xf')]);router[_0xe7da('0x10')]('/',auth[_0xe7da('0xc')](),controller[_0xe7da('0x11')]);router[_0xe7da('0x12')]('/:id',auth['isAuthenticated'](),controller[_0xe7da('0x13')]);router[_0xe7da('0x14')](_0xe7da('0xe'),auth['isAuthenticated'](),controller[_0xe7da('0x15')]);module[_0xe7da('0x16')]=router;