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