d6d6e621f4ddaec57d075044b35f65fad6f934bc
[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 _0xc370=['/describe','/:id','post','create','put','update','delete','destroy','exports','multer','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','isAuthenticated','index','get'];(function(_0x550d12,_0x5384bd){var _0x12103d=function(_0x2a9834){while(--_0x2a9834){_0x550d12['push'](_0x550d12['shift']());}};_0x12103d(++_0x5384bd);}(_0xc370,0x14d));var _0x0c37=function(_0x4b7ec0,_0x483760){_0x4b7ec0=_0x4b7ec0-0x0;var _0x205762=_0xc370[_0x4b7ec0];return _0x205762;};'use strict';var multer=require(_0x0c37('0x0'));var util=require('util');var path=require('path');var timeout=require(_0x0c37('0x1'));var express=require(_0x0c37('0x2'));var router=express[_0x0c37('0x3')]();var auth=require(_0x0c37('0x4'));var interaction=require(_0x0c37('0x5'));var config=require('../../config/environment');var controller=require('./jscriptyAnswerReport.controller');router['get']('/',auth[_0x0c37('0x6')](),controller[_0x0c37('0x7')]);router[_0x0c37('0x8')](_0x0c37('0x9'),auth[_0x0c37('0x6')](),controller['describe']);router[_0x0c37('0x8')](_0x0c37('0xa'),auth[_0x0c37('0x6')](),controller['show']);router[_0x0c37('0xb')]('/',auth[_0x0c37('0x6')](),controller[_0x0c37('0xc')]);router[_0x0c37('0xd')](_0x0c37('0xa'),auth[_0x0c37('0x6')](),controller[_0x0c37('0xe')]);router[_0x0c37('0xf')](_0x0c37('0xa'),auth[_0x0c37('0x6')](),controller[_0x0c37('0x10')]);module[_0x0c37('0x11')]=router;