Built motion from commit (unavailable).|2.5.16
[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 _0x5f63=['show','post','update','delete','destroy','exports','multer','util','path','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','./jscriptyQuestionReport.controller','get','isAuthenticated','index','/describe','describe','/:id'];(function(_0x13ea00,_0x12f610){var _0x1f7347=function(_0x34ae63){while(--_0x34ae63){_0x13ea00['push'](_0x13ea00['shift']());}};_0x1f7347(++_0x12f610);}(_0x5f63,0x117));var _0x35f6=function(_0xebdff3,_0x1f760a){_0xebdff3=_0xebdff3-0x0;var _0x4fb3b6=_0x5f63[_0xebdff3];return _0x4fb3b6;};'use strict';var multer=require(_0x35f6('0x0'));var util=require(_0x35f6('0x1'));var path=require(_0x35f6('0x2'));var timeout=require(_0x35f6('0x3'));var express=require(_0x35f6('0x4'));var router=express[_0x35f6('0x5')]();var auth=require(_0x35f6('0x6'));var interaction=require(_0x35f6('0x7'));var config=require('../../config/environment');var controller=require(_0x35f6('0x8'));router[_0x35f6('0x9')]('/',auth[_0x35f6('0xa')](),controller[_0x35f6('0xb')]);router[_0x35f6('0x9')](_0x35f6('0xc'),auth['isAuthenticated'](),controller[_0x35f6('0xd')]);router[_0x35f6('0x9')](_0x35f6('0xe'),auth[_0x35f6('0xa')](),controller[_0x35f6('0xf')]);router[_0x35f6('0x10')]('/',auth[_0x35f6('0xa')](),controller['create']);router['put']('/:id',auth[_0x35f6('0xa')](),controller[_0x35f6('0x11')]);router[_0x35f6('0x12')]('/:id',auth[_0x35f6('0xa')](),controller[_0x35f6('0x13')]);module[_0x35f6('0x14')]=router;