Built motion from commit (unavailable).|2.5.11
[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 _0xb358=['post','put','update','delete','destroy','util','path','connect-timeout','express','../../components/auth/service','../../components/interaction/service','../../config/environment','get','isAuthenticated','index','/describe','describe','/:id','show'];(function(_0x17bdab,_0x199650){var _0x4e2989=function(_0x360c15){while(--_0x360c15){_0x17bdab['push'](_0x17bdab['shift']());}};_0x4e2989(++_0x199650);}(_0xb358,0x181));var _0x8b35=function(_0x213560,_0x26e9ba){_0x213560=_0x213560-0x0;var _0xb1e3bd=_0xb358[_0x213560];return _0xb1e3bd;};'use strict';var multer=require('multer');var util=require(_0x8b35('0x0'));var path=require(_0x8b35('0x1'));var timeout=require(_0x8b35('0x2'));var express=require(_0x8b35('0x3'));var router=express['Router']();var auth=require(_0x8b35('0x4'));var interaction=require(_0x8b35('0x5'));var config=require(_0x8b35('0x6'));var controller=require('./jscriptyQuestionReport.controller');router[_0x8b35('0x7')]('/',auth[_0x8b35('0x8')](),controller[_0x8b35('0x9')]);router[_0x8b35('0x7')](_0x8b35('0xa'),auth[_0x8b35('0x8')](),controller[_0x8b35('0xb')]);router[_0x8b35('0x7')](_0x8b35('0xc'),auth[_0x8b35('0x8')](),controller[_0x8b35('0xd')]);router[_0x8b35('0xe')]('/',auth[_0x8b35('0x8')](),controller['create']);router[_0x8b35('0xf')](_0x8b35('0xc'),auth[_0x8b35('0x8')](),controller[_0x8b35('0x10')]);router[_0x8b35('0x11')](_0x8b35('0xc'),auth['isAuthenticated'](),controller[_0x8b35('0x12')]);module['exports']=router;