Built motion from commit (unavailable).|2.4.21
[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 _0xf3fc=['describe','show','post','put','/:id','update','delete','destroy','multer','util','connect-timeout','../../components/auth/service','./squareReport.controller','get','index','/describe','isAuthenticated'];(function(_0x3145a7,_0x34daf4){var _0x169d14=function(_0x514675){while(--_0x514675){_0x3145a7['push'](_0x3145a7['shift']());}};_0x169d14(++_0x34daf4);}(_0xf3fc,0xe5));var _0xcf3f=function(_0x21a9d9,_0x4d5ac8){_0x21a9d9=_0x21a9d9-0x0;var _0x46adce=_0xf3fc[_0x21a9d9];return _0x46adce;};'use strict';var multer=require(_0xcf3f('0x0'));var util=require(_0xcf3f('0x1'));var path=require('path');var timeout=require(_0xcf3f('0x2'));var express=require('express');var router=express['Router']();var auth=require(_0xcf3f('0x3'));var interaction=require('../../components/interaction/service');var config=require('../../config/environment');var controller=require(_0xcf3f('0x4'));router[_0xcf3f('0x5')]('/',auth['isAuthenticated'](),controller[_0xcf3f('0x6')]);router[_0xcf3f('0x5')](_0xcf3f('0x7'),auth[_0xcf3f('0x8')](),controller[_0xcf3f('0x9')]);router[_0xcf3f('0x5')]('/:id',auth[_0xcf3f('0x8')](),controller[_0xcf3f('0xa')]);router[_0xcf3f('0xb')]('/',auth[_0xcf3f('0x8')](),controller['create']);router[_0xcf3f('0xc')](_0xcf3f('0xd'),auth[_0xcf3f('0x8')](),controller[_0xcf3f('0xe')]);router[_0xcf3f('0xf')](_0xcf3f('0xd'),auth[_0xcf3f('0x8')](),controller[_0xcf3f('0x10')]);module['exports']=router;