9822cd374956f1b9b2b37ea4ee1f8ba0488edc53
[motion2.git] / server / api / squareReportDetail / 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 _0x17c3=['fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./squareReportDetail.controller','isAuthenticated','index','get','/describe','describe','/:id','show','post','create','put','update','delete','destroy','exports','multer','connect-timeout','express','Router'];(function(_0x28bdfc,_0x3d2547){var _0x5ad073=function(_0x844a35){while(--_0x844a35){_0x28bdfc['push'](_0x28bdfc['shift']());}};_0x5ad073(++_0x3d2547);}(_0x17c3,0x1c8));var _0x317c=function(_0x311578,_0x3acaf6){_0x311578=_0x311578-0x0;var _0x4288a0=_0x17c3[_0x311578];return _0x4288a0;};'use strict';var multer=require(_0x317c('0x0'));var util=require('util');var path=require('path');var timeout=require(_0x317c('0x1'));var express=require(_0x317c('0x2'));var router=express[_0x317c('0x3')]();var fs_extra=require(_0x317c('0x4'));var auth=require(_0x317c('0x5'));var interaction=require(_0x317c('0x6'));var config=require(_0x317c('0x7'));var controller=require(_0x317c('0x8'));router['get']('/',auth[_0x317c('0x9')](),controller[_0x317c('0xa')]);router[_0x317c('0xb')](_0x317c('0xc'),auth[_0x317c('0x9')](),controller[_0x317c('0xd')]);router[_0x317c('0xb')](_0x317c('0xe'),auth[_0x317c('0x9')](),controller[_0x317c('0xf')]);router[_0x317c('0x10')]('/',auth[_0x317c('0x9')](),controller[_0x317c('0x11')]);router[_0x317c('0x12')]('/:id',auth['isAuthenticated'](),controller[_0x317c('0x13')]);router[_0x317c('0x14')]('/:id',auth[_0x317c('0x9')](),controller[_0x317c('0x15')]);module[_0x317c('0x16')]=router;