Built motion from commit (unavailable).|2.4.18
[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 _0x6755=['./jscriptyAnswerReport.controller','get','isAuthenticated','index','/describe','describe','/:id','post','create','put','update','delete','destroy','exports','util','path','express','Router','../../components/auth/service','../../config/environment'];(function(_0x5baa64,_0x1e8833){var _0x1d11d7=function(_0x2c7fd4){while(--_0x2c7fd4){_0x5baa64['push'](_0x5baa64['shift']());}};_0x1d11d7(++_0x1e8833);}(_0x6755,0x19e));var _0x5675=function(_0x825629,_0x184ebb){_0x825629=_0x825629-0x0;var _0xc88361=_0x6755[_0x825629];return _0xc88361;};'use strict';var multer=require('multer');var util=require(_0x5675('0x0'));var path=require(_0x5675('0x1'));var timeout=require('connect-timeout');var express=require(_0x5675('0x2'));var router=express[_0x5675('0x3')]();var auth=require(_0x5675('0x4'));var interaction=require('../../components/interaction/service');var config=require(_0x5675('0x5'));var controller=require(_0x5675('0x6'));router[_0x5675('0x7')]('/',auth[_0x5675('0x8')](),controller[_0x5675('0x9')]);router[_0x5675('0x7')](_0x5675('0xa'),auth[_0x5675('0x8')](),controller[_0x5675('0xb')]);router[_0x5675('0x7')](_0x5675('0xc'),auth[_0x5675('0x8')](),controller['show']);router[_0x5675('0xd')]('/',auth[_0x5675('0x8')](),controller[_0x5675('0xe')]);router[_0x5675('0xf')]('/:id',auth['isAuthenticated'](),controller[_0x5675('0x10')]);router[_0x5675('0x11')](_0x5675('0xc'),auth[_0x5675('0x8')](),controller[_0x5675('0x12')]);module[_0x5675('0x13')]=router;