Built motion from commit (unavailable).|2.3.1
[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 _0xc1fa=['update','delete','destroy','multer','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','./jscriptyAnswerReport.controller','get','isAuthenticated','index','/describe','describe','/:id','show','post','create','put'];(function(_0x2f5a22,_0x5e9f03){var _0x326b70=function(_0x1b7bf9){while(--_0x1b7bf9){_0x2f5a22['push'](_0x2f5a22['shift']());}};_0x326b70(++_0x5e9f03);}(_0xc1fa,0x17f));var _0xac1f=function(_0x2d2c16,_0x4e88b6){_0x2d2c16=_0x2d2c16-0x0;var _0x53f2fb=_0xc1fa[_0x2d2c16];return _0x53f2fb;};'use strict';var multer=require(_0xac1f('0x0'));var util=require('util');var path=require('path');var timeout=require(_0xac1f('0x1'));var express=require(_0xac1f('0x2'));var router=express[_0xac1f('0x3')]();var auth=require(_0xac1f('0x4'));var interaction=require(_0xac1f('0x5'));var config=require('../../config/environment');var controller=require(_0xac1f('0x6'));router[_0xac1f('0x7')]('/',auth[_0xac1f('0x8')](),controller[_0xac1f('0x9')]);router[_0xac1f('0x7')](_0xac1f('0xa'),auth[_0xac1f('0x8')](),controller[_0xac1f('0xb')]);router['get'](_0xac1f('0xc'),auth[_0xac1f('0x8')](),controller[_0xac1f('0xd')]);router[_0xac1f('0xe')]('/',auth[_0xac1f('0x8')](),controller[_0xac1f('0xf')]);router[_0xac1f('0x10')](_0xac1f('0xc'),auth['isAuthenticated'](),controller[_0xac1f('0x11')]);router[_0xac1f('0x12')](_0xac1f('0xc'),auth[_0xac1f('0x8')](),controller[_0xac1f('0x13')]);module['exports']=router;