4a42af0165d7804bd28c26d7f0a8643ec9a76284
[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 _0x1f86=['../../components/auth/service','../../config/environment','./jscriptyAnswerReport.controller','get','index','isAuthenticated','describe','/:id','show','create','put','delete','destroy','exports','path','connect-timeout','express','Router','fs-extra'];(function(_0x17d9e3,_0x1f969c){var _0x14192d=function(_0x159745){while(--_0x159745){_0x17d9e3['push'](_0x17d9e3['shift']());}};_0x14192d(++_0x1f969c);}(_0x1f86,0x1b0));var _0x61f8=function(_0x100786,_0x59c23c){_0x100786=_0x100786-0x0;var _0x55a5d2=_0x1f86[_0x100786];return _0x55a5d2;};'use strict';var multer=require('multer');var util=require('util');var path=require(_0x61f8('0x0'));var timeout=require(_0x61f8('0x1'));var express=require(_0x61f8('0x2'));var router=express[_0x61f8('0x3')]();var fs_extra=require(_0x61f8('0x4'));var auth=require(_0x61f8('0x5'));var interaction=require('../../components/interaction/service');var config=require(_0x61f8('0x6'));var controller=require(_0x61f8('0x7'));router[_0x61f8('0x8')]('/',auth['isAuthenticated'](),controller[_0x61f8('0x9')]);router['get']('/describe',auth[_0x61f8('0xa')](),controller[_0x61f8('0xb')]);router['get'](_0x61f8('0xc'),auth[_0x61f8('0xa')](),controller[_0x61f8('0xd')]);router['post']('/',auth[_0x61f8('0xa')](),controller[_0x61f8('0xe')]);router[_0x61f8('0xf')](_0x61f8('0xc'),auth[_0x61f8('0xa')](),controller['update']);router[_0x61f8('0x10')]('/:id',auth['isAuthenticated'](),controller[_0x61f8('0x11')]);module[_0x61f8('0x12')]=router;