Built motion from commit e1760111.|2.6.18
[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 _0xc999=['/:id','post','create','update','delete','destroy','exports','util','path','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../config/environment','get','index','/describe','isAuthenticated','describe'];(function(_0x50694c,_0x97a97d){var _0x33111e=function(_0x5f0d6f){while(--_0x5f0d6f){_0x50694c['push'](_0x50694c['shift']());}};_0x33111e(++_0x97a97d);}(_0xc999,0xe3));var _0x9c99=function(_0xf44d98,_0x12a472){_0xf44d98=_0xf44d98-0x0;var _0x5ebb04=_0xc999[_0xf44d98];return _0x5ebb04;};'use strict';var multer=require('multer');var util=require(_0x9c99('0x0'));var path=require(_0x9c99('0x1'));var timeout=require(_0x9c99('0x2'));var express=require(_0x9c99('0x3'));var router=express[_0x9c99('0x4')]();var fs_extra=require(_0x9c99('0x5'));var auth=require(_0x9c99('0x6'));var interaction=require('../../components/interaction/service');var config=require(_0x9c99('0x7'));var controller=require('./jscriptyQuestionReport.controller');router[_0x9c99('0x8')]('/',auth['isAuthenticated'](),controller[_0x9c99('0x9')]);router[_0x9c99('0x8')](_0x9c99('0xa'),auth[_0x9c99('0xb')](),controller[_0x9c99('0xc')]);router[_0x9c99('0x8')](_0x9c99('0xd'),auth[_0x9c99('0xb')](),controller['show']);router[_0x9c99('0xe')]('/',auth[_0x9c99('0xb')](),controller[_0x9c99('0xf')]);router['put']('/:id',auth[_0x9c99('0xb')](),controller[_0x9c99('0x10')]);router[_0x9c99('0x11')]('/:id',auth[_0x9c99('0xb')](),controller[_0x9c99('0x12')]);module[_0x9c99('0x13')]=router;