b77018224acd5f73ece3b2ace99d263c62895b7e
[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 _0x8366=['../../components/interaction/service','../../config/environment','./jscriptyAnswerReport.controller','/describe','isAuthenticated','describe','get','show','post','create','put','/:id','delete','destroy','exports','multer','util','path','connect-timeout','express','../../components/auth/service'];(function(_0x3dd15e,_0x1f0015){var _0x231fd0=function(_0x4f680a){while(--_0x4f680a){_0x3dd15e['push'](_0x3dd15e['shift']());}};_0x231fd0(++_0x1f0015);}(_0x8366,0xf6));var _0x6836=function(_0x37cf38,_0x3f1bbc){_0x37cf38=_0x37cf38-0x0;var _0x3bf014=_0x8366[_0x37cf38];return _0x3bf014;};'use strict';var multer=require(_0x6836('0x0'));var util=require(_0x6836('0x1'));var path=require(_0x6836('0x2'));var timeout=require(_0x6836('0x3'));var express=require(_0x6836('0x4'));var router=express['Router']();var auth=require(_0x6836('0x5'));var interaction=require(_0x6836('0x6'));var config=require(_0x6836('0x7'));var controller=require(_0x6836('0x8'));router['get']('/',auth['isAuthenticated'](),controller['index']);router['get'](_0x6836('0x9'),auth[_0x6836('0xa')](),controller[_0x6836('0xb')]);router[_0x6836('0xc')]('/:id',auth[_0x6836('0xa')](),controller[_0x6836('0xd')]);router[_0x6836('0xe')]('/',auth[_0x6836('0xa')](),controller[_0x6836('0xf')]);router[_0x6836('0x10')](_0x6836('0x11'),auth[_0x6836('0xa')](),controller['update']);router[_0x6836('0x12')](_0x6836('0x11'),auth[_0x6836('0xa')](),controller[_0x6836('0x13')]);module[_0x6836('0x14')]=router;