Built motion from commit (unavailable).|2.5.0
[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 _0x9dc9=['util','path','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','isAuthenticated','index','get','/describe','describe','/:id','show','post','create','put','update','delete','destroy','exports','multer'];(function(_0x3947c9,_0x4d6c97){var _0x2e7871=function(_0x1236cc){while(--_0x1236cc){_0x3947c9['push'](_0x3947c9['shift']());}};_0x2e7871(++_0x4d6c97);}(_0x9dc9,0x19d));var _0x99dc=function(_0x35e7c9,_0x448948){_0x35e7c9=_0x35e7c9-0x0;var _0x3bb16e=_0x9dc9[_0x35e7c9];return _0x3bb16e;};'use strict';var multer=require(_0x99dc('0x0'));var util=require(_0x99dc('0x1'));var path=require(_0x99dc('0x2'));var timeout=require(_0x99dc('0x3'));var express=require(_0x99dc('0x4'));var router=express[_0x99dc('0x5')]();var auth=require(_0x99dc('0x6'));var interaction=require(_0x99dc('0x7'));var config=require(_0x99dc('0x8'));var controller=require('./jscriptyQuestionReport.controller');router['get']('/',auth[_0x99dc('0x9')](),controller[_0x99dc('0xa')]);router[_0x99dc('0xb')](_0x99dc('0xc'),auth[_0x99dc('0x9')](),controller[_0x99dc('0xd')]);router[_0x99dc('0xb')](_0x99dc('0xe'),auth[_0x99dc('0x9')](),controller[_0x99dc('0xf')]);router[_0x99dc('0x10')]('/',auth[_0x99dc('0x9')](),controller[_0x99dc('0x11')]);router[_0x99dc('0x12')](_0x99dc('0xe'),auth[_0x99dc('0x9')](),controller[_0x99dc('0x13')]);router[_0x99dc('0x14')]('/:id',auth[_0x99dc('0x9')](),controller[_0x99dc('0x15')]);module[_0x99dc('0x16')]=router;