9a46362f3cc60e3b3da5360fd722032955b8e7d5
[motion2.git] / server / api / jscriptyAnswerReport / 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 _0xb56f=['show','post','put','update','delete','exports','multer','util','path','express','Router','../../components/auth/service','../../components/interaction/service','./jscriptyAnswerReport.controller','index','get','/describe','isAuthenticated','describe','/:id'];(function(_0x1bd657,_0x5baeff){var _0x4b669a=function(_0x831e3c){while(--_0x831e3c){_0x1bd657['push'](_0x1bd657['shift']());}};_0x4b669a(++_0x5baeff);}(_0xb56f,0x15a));var _0xfb56=function(_0x22e8d7,_0x5a018){_0x22e8d7=_0x22e8d7-0x0;var _0x36b6d4=_0xb56f[_0x22e8d7];return _0x36b6d4;};'use strict';var multer=require(_0xfb56('0x0'));var util=require(_0xfb56('0x1'));var path=require(_0xfb56('0x2'));var timeout=require('connect-timeout');var express=require(_0xfb56('0x3'));var router=express[_0xfb56('0x4')]();var auth=require(_0xfb56('0x5'));var interaction=require(_0xfb56('0x6'));var config=require('../../config/environment');var controller=require(_0xfb56('0x7'));router['get']('/',auth['isAuthenticated'](),controller[_0xfb56('0x8')]);router[_0xfb56('0x9')](_0xfb56('0xa'),auth[_0xfb56('0xb')](),controller[_0xfb56('0xc')]);router[_0xfb56('0x9')](_0xfb56('0xd'),auth['isAuthenticated'](),controller[_0xfb56('0xe')]);router[_0xfb56('0xf')]('/',auth[_0xfb56('0xb')](),controller['create']);router[_0xfb56('0x10')](_0xfb56('0xd'),auth['isAuthenticated'](),controller[_0xfb56('0x11')]);router[_0xfb56('0x12')](_0xfb56('0xd'),auth[_0xfb56('0xb')](),controller['destroy']);module[_0xfb56('0x13')]=router;