58d8b562caf1030fe804c3926dda84e2eec2d6a5
[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 _0x2393=['get','isAuthenticated','index','/describe','describe','/:id','show','post','put','update','delete','destroy','path','connect-timeout','express','../../components/auth/service','../../components/interaction/service','../../config/environment','./jscriptyAnswerReport.controller'];(function(_0x3dd15e,_0x1f0015){var _0x231fd0=function(_0x4f680a){while(--_0x4f680a){_0x3dd15e['push'](_0x3dd15e['shift']());}};_0x231fd0(++_0x1f0015);}(_0x2393,0x116));var _0x3239=function(_0x4489f2,_0x1f9128){_0x4489f2=_0x4489f2-0x0;var _0x5cc527=_0x2393[_0x4489f2];return _0x5cc527;};'use strict';var multer=require('multer');var util=require('util');var path=require(_0x3239('0x0'));var timeout=require(_0x3239('0x1'));var express=require(_0x3239('0x2'));var router=express['Router']();var auth=require(_0x3239('0x3'));var interaction=require(_0x3239('0x4'));var config=require(_0x3239('0x5'));var controller=require(_0x3239('0x6'));router[_0x3239('0x7')]('/',auth[_0x3239('0x8')](),controller[_0x3239('0x9')]);router[_0x3239('0x7')](_0x3239('0xa'),auth[_0x3239('0x8')](),controller[_0x3239('0xb')]);router[_0x3239('0x7')](_0x3239('0xc'),auth['isAuthenticated'](),controller[_0x3239('0xd')]);router[_0x3239('0xe')]('/',auth[_0x3239('0x8')](),controller['create']);router[_0x3239('0xf')](_0x3239('0xc'),auth[_0x3239('0x8')](),controller[_0x3239('0x10')]);router[_0x3239('0x11')](_0x3239('0xc'),auth[_0x3239('0x8')](),controller[_0x3239('0x12')]);module['exports']=router;