Built motion from commit (unavailable).|2.5.14
[motion2.git] / server / api / squareReport / 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 _0x424f=['show','post','create','put','update','delete','destroy','exports','util','path','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./squareReport.controller','get','isAuthenticated','index','/describe','describe','/:id'];(function(_0x502d22,_0x2c1f84){var _0xf1552=function(_0x3775a4){while(--_0x3775a4){_0x502d22['push'](_0x502d22['shift']());}};_0xf1552(++_0x2c1f84);}(_0x424f,0x76));var _0xf424=function(_0x45dc37,_0x1ff308){_0x45dc37=_0x45dc37-0x0;var _0x3e20bc=_0x424f[_0x45dc37];return _0x3e20bc;};'use strict';var multer=require('multer');var util=require(_0xf424('0x0'));var path=require(_0xf424('0x1'));var timeout=require('connect-timeout');var express=require(_0xf424('0x2'));var router=express[_0xf424('0x3')]();var auth=require(_0xf424('0x4'));var interaction=require(_0xf424('0x5'));var config=require(_0xf424('0x6'));var controller=require(_0xf424('0x7'));router[_0xf424('0x8')]('/',auth[_0xf424('0x9')](),controller[_0xf424('0xa')]);router['get'](_0xf424('0xb'),auth['isAuthenticated'](),controller[_0xf424('0xc')]);router['get'](_0xf424('0xd'),auth[_0xf424('0x9')](),controller[_0xf424('0xe')]);router[_0xf424('0xf')]('/',auth[_0xf424('0x9')](),controller[_0xf424('0x10')]);router[_0xf424('0x11')]('/:id',auth[_0xf424('0x9')](),controller[_0xf424('0x12')]);router[_0xf424('0x13')](_0xf424('0xd'),auth['isAuthenticated'](),controller[_0xf424('0x14')]);module[_0xf424('0x15')]=router;