c1e8b2e4df38bdf4e6b06de549a4b43465f72137
[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 _0x1867=['post','create','put','delete','destroy','multer','util','path','connect-timeout','Router','./jscriptyAnswerReport.controller','get','isAuthenticated','index','/describe','describe','/:id','show'];(function(_0x22430d,_0x4284b6){var _0xbffb28=function(_0x383a38){while(--_0x383a38){_0x22430d['push'](_0x22430d['shift']());}};_0xbffb28(++_0x4284b6);}(_0x1867,0x16d));var _0x7186=function(_0x1756c9,_0x2940ac){_0x1756c9=_0x1756c9-0x0;var _0x1cf476=_0x1867[_0x1756c9];return _0x1cf476;};'use strict';var multer=require(_0x7186('0x0'));var util=require(_0x7186('0x1'));var path=require(_0x7186('0x2'));var timeout=require(_0x7186('0x3'));var express=require('express');var router=express[_0x7186('0x4')]();var auth=require('../../components/auth/service');var interaction=require('../../components/interaction/service');var config=require('../../config/environment');var controller=require(_0x7186('0x5'));router[_0x7186('0x6')]('/',auth[_0x7186('0x7')](),controller[_0x7186('0x8')]);router[_0x7186('0x6')](_0x7186('0x9'),auth[_0x7186('0x7')](),controller[_0x7186('0xa')]);router['get'](_0x7186('0xb'),auth[_0x7186('0x7')](),controller[_0x7186('0xc')]);router[_0x7186('0xd')]('/',auth[_0x7186('0x7')](),controller[_0x7186('0xe')]);router[_0x7186('0xf')](_0x7186('0xb'),auth[_0x7186('0x7')](),controller['update']);router[_0x7186('0x10')](_0x7186('0xb'),auth[_0x7186('0x7')](),controller[_0x7186('0x11')]);module['exports']=router;