0c673fb333b38c52bde15e201e97198d4a276001
[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 _0x35af=['index','get','/describe','isAuthenticated','post','create','put','/:id','delete','destroy','util','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./jscriptyAnswerReport.controller'];(function(_0x2daa4b,_0x14ccf8){var _0x29c4f8=function(_0x1ba574){while(--_0x1ba574){_0x2daa4b['push'](_0x2daa4b['shift']());}};_0x29c4f8(++_0x14ccf8);}(_0x35af,0x12a));var _0xf35a=function(_0x332544,_0x56c93e){_0x332544=_0x332544-0x0;var _0x57aece=_0x35af[_0x332544];return _0x57aece;};'use strict';var multer=require('multer');var util=require(_0xf35a('0x0'));var path=require('path');var timeout=require(_0xf35a('0x1'));var express=require(_0xf35a('0x2'));var router=express[_0xf35a('0x3')]();var auth=require(_0xf35a('0x4'));var interaction=require(_0xf35a('0x5'));var config=require(_0xf35a('0x6'));var controller=require(_0xf35a('0x7'));router['get']('/',auth['isAuthenticated'](),controller[_0xf35a('0x8')]);router[_0xf35a('0x9')](_0xf35a('0xa'),auth[_0xf35a('0xb')](),controller['describe']);router['get']('/:id',auth[_0xf35a('0xb')](),controller['show']);router[_0xf35a('0xc')]('/',auth[_0xf35a('0xb')](),controller[_0xf35a('0xd')]);router[_0xf35a('0xe')](_0xf35a('0xf'),auth[_0xf35a('0xb')](),controller['update']);router[_0xf35a('0x10')](_0xf35a('0xf'),auth[_0xf35a('0xb')](),controller[_0xf35a('0x11')]);module['exports']=router;