Built motion from commit (unavailable).|2.5.14
[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 _0xc500=['/describe','describe','/:id','show','create','delete','destroy','exports','multer','path','connect-timeout','express','Router','../../components/interaction/service','./jscriptyAnswerReport.controller','get','isAuthenticated','index'];(function(_0x19e35c,_0x29cd1e){var _0x3e1fe8=function(_0x17258b){while(--_0x17258b){_0x19e35c['push'](_0x19e35c['shift']());}};_0x3e1fe8(++_0x29cd1e);}(_0xc500,0xaa));var _0x0c50=function(_0x3dd15e,_0x1f0015){_0x3dd15e=_0x3dd15e-0x0;var _0x231fd0=_0xc500[_0x3dd15e];return _0x231fd0;};'use strict';var multer=require(_0x0c50('0x0'));var util=require('util');var path=require(_0x0c50('0x1'));var timeout=require(_0x0c50('0x2'));var express=require(_0x0c50('0x3'));var router=express[_0x0c50('0x4')]();var auth=require('../../components/auth/service');var interaction=require(_0x0c50('0x5'));var config=require('../../config/environment');var controller=require(_0x0c50('0x6'));router[_0x0c50('0x7')]('/',auth[_0x0c50('0x8')](),controller[_0x0c50('0x9')]);router[_0x0c50('0x7')](_0x0c50('0xa'),auth[_0x0c50('0x8')](),controller[_0x0c50('0xb')]);router[_0x0c50('0x7')](_0x0c50('0xc'),auth['isAuthenticated'](),controller[_0x0c50('0xd')]);router['post']('/',auth[_0x0c50('0x8')](),controller[_0x0c50('0xe')]);router['put'](_0x0c50('0xc'),auth[_0x0c50('0x8')](),controller['update']);router[_0x0c50('0xf')]('/:id',auth[_0x0c50('0x8')](),controller[_0x0c50('0x10')]);module[_0x0c50('0x11')]=router;