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