Built motion from commit (unavailable).|2.4.21
[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 _0x98b4=['../../components/interaction/service','../../config/environment','./jscriptyAnswerReport.controller','get','isAuthenticated','/describe','describe','show','post','create','put','/:id','update','destroy','exports','path','express','Router'];(function(_0x3b6d9a,_0x45ab1b){var _0x27b509=function(_0x2eadab){while(--_0x2eadab){_0x3b6d9a['push'](_0x3b6d9a['shift']());}};_0x27b509(++_0x45ab1b);}(_0x98b4,0x177));var _0x498b=function(_0x24f31b,_0x44b8f3){_0x24f31b=_0x24f31b-0x0;var _0x488401=_0x98b4[_0x24f31b];return _0x488401;};'use strict';var multer=require('multer');var util=require('util');var path=require(_0x498b('0x0'));var timeout=require('connect-timeout');var express=require(_0x498b('0x1'));var router=express[_0x498b('0x2')]();var auth=require('../../components/auth/service');var interaction=require(_0x498b('0x3'));var config=require(_0x498b('0x4'));var controller=require(_0x498b('0x5'));router[_0x498b('0x6')]('/',auth[_0x498b('0x7')](),controller['index']);router['get'](_0x498b('0x8'),auth[_0x498b('0x7')](),controller[_0x498b('0x9')]);router[_0x498b('0x6')]('/:id',auth['isAuthenticated'](),controller[_0x498b('0xa')]);router[_0x498b('0xb')]('/',auth[_0x498b('0x7')](),controller[_0x498b('0xc')]);router[_0x498b('0xd')](_0x498b('0xe'),auth[_0x498b('0x7')](),controller[_0x498b('0xf')]);router['delete']('/:id',auth[_0x498b('0x7')](),controller[_0x498b('0x10')]);module[_0x498b('0x11')]=router;