Built motion from commit (unavailable).|2.4.20
[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 _0x5c2f=['destroy','exports','util','path','express','Router','../../components/interaction/service','./jscriptyAnswerReport.controller','get','isAuthenticated','index','describe','/:id','create','update','delete'];(function(_0x9aada2,_0xd2d349){var _0x196dff=function(_0x5ad061){while(--_0x5ad061){_0x9aada2['push'](_0x9aada2['shift']());}};_0x196dff(++_0xd2d349);}(_0x5c2f,0x1a2));var _0xf5c2=function(_0x2a40b3,_0xe1c253){_0x2a40b3=_0x2a40b3-0x0;var _0x4ac6cb=_0x5c2f[_0x2a40b3];return _0x4ac6cb;};'use strict';var multer=require('multer');var util=require(_0xf5c2('0x0'));var path=require(_0xf5c2('0x1'));var timeout=require('connect-timeout');var express=require(_0xf5c2('0x2'));var router=express[_0xf5c2('0x3')]();var auth=require('../../components/auth/service');var interaction=require(_0xf5c2('0x4'));var config=require('../../config/environment');var controller=require(_0xf5c2('0x5'));router[_0xf5c2('0x6')]('/',auth[_0xf5c2('0x7')](),controller[_0xf5c2('0x8')]);router[_0xf5c2('0x6')]('/describe',auth['isAuthenticated'](),controller[_0xf5c2('0x9')]);router[_0xf5c2('0x6')](_0xf5c2('0xa'),auth[_0xf5c2('0x7')](),controller['show']);router['post']('/',auth[_0xf5c2('0x7')](),controller[_0xf5c2('0xb')]);router['put'](_0xf5c2('0xa'),auth[_0xf5c2('0x7')](),controller[_0xf5c2('0xc')]);router[_0xf5c2('0xd')]('/:id',auth[_0xf5c2('0x7')](),controller[_0xf5c2('0xe')]);module[_0xf5c2('0xf')]=router;