a7cd4628ffcb8d71fbb7e70b2aceee18ffb491b2
[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 _0x341a=['express','Router','fs-extra','../../components/auth/service','./squareReportDetail.controller','get','isAuthenticated','index','/describe','describe','show','post','create','/:id','update','delete','destroy','exports','multer','util','connect-timeout'];(function(_0xa464c9,_0x7c86d8){var _0x3d73c4=function(_0x5c2056){while(--_0x5c2056){_0xa464c9['push'](_0xa464c9['shift']());}};_0x3d73c4(++_0x7c86d8);}(_0x341a,0xa5));var _0xa341=function(_0x391cc3,_0x55c48f){_0x391cc3=_0x391cc3-0x0;var _0x591265=_0x341a[_0x391cc3];return _0x591265;};'use strict';var multer=require(_0xa341('0x0'));var util=require(_0xa341('0x1'));var path=require('path');var timeout=require(_0xa341('0x2'));var express=require(_0xa341('0x3'));var router=express[_0xa341('0x4')]();var fs_extra=require(_0xa341('0x5'));var auth=require(_0xa341('0x6'));var interaction=require('../../components/interaction/service');var config=require('../../config/environment');var controller=require(_0xa341('0x7'));router[_0xa341('0x8')]('/',auth[_0xa341('0x9')](),controller[_0xa341('0xa')]);router[_0xa341('0x8')](_0xa341('0xb'),auth['isAuthenticated'](),controller[_0xa341('0xc')]);router[_0xa341('0x8')]('/:id',auth[_0xa341('0x9')](),controller[_0xa341('0xd')]);router[_0xa341('0xe')]('/',auth[_0xa341('0x9')](),controller[_0xa341('0xf')]);router['put'](_0xa341('0x10'),auth[_0xa341('0x9')](),controller[_0xa341('0x11')]);router[_0xa341('0x12')]('/:id',auth[_0xa341('0x9')](),controller[_0xa341('0x13')]);module[_0xa341('0x14')]=router;