Built motion from commit (unavailable).|2.5.0
[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 _0xb46c=['show','post','create','put','update','/:id','destroy','util','connect-timeout','../../components/interaction/service','./jscriptyAnswerReport.controller','get','isAuthenticated','/describe','describe'];(function(_0x20d796,_0x90cd8a){var _0x473d3f=function(_0x4247a3){while(--_0x4247a3){_0x20d796['push'](_0x20d796['shift']());}};_0x473d3f(++_0x90cd8a);}(_0xb46c,0x1e7));var _0xcb46=function(_0x299929,_0x101e1e){_0x299929=_0x299929-0x0;var _0x31917f=_0xb46c[_0x299929];return _0x31917f;};'use strict';var multer=require('multer');var util=require(_0xcb46('0x0'));var path=require('path');var timeout=require(_0xcb46('0x1'));var express=require('express');var router=express['Router']();var auth=require('../../components/auth/service');var interaction=require(_0xcb46('0x2'));var config=require('../../config/environment');var controller=require(_0xcb46('0x3'));router[_0xcb46('0x4')]('/',auth[_0xcb46('0x5')](),controller['index']);router[_0xcb46('0x4')](_0xcb46('0x6'),auth[_0xcb46('0x5')](),controller[_0xcb46('0x7')]);router[_0xcb46('0x4')]('/:id',auth[_0xcb46('0x5')](),controller[_0xcb46('0x8')]);router[_0xcb46('0x9')]('/',auth[_0xcb46('0x5')](),controller[_0xcb46('0xa')]);router[_0xcb46('0xb')]('/:id',auth['isAuthenticated'](),controller[_0xcb46('0xc')]);router['delete'](_0xcb46('0xd'),auth[_0xcb46('0x5')](),controller[_0xcb46('0xe')]);module['exports']=router;