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 _0x9975=['destroy','util','express','Router','../../components/interaction/service','get','isAuthenticated','/:id','show','post','create','put','update','delete'];(function(_0x33cdf2,_0xc28dac){var _0x3d05de=function(_0x37b977){while(--_0x37b977){_0x33cdf2['push'](_0x33cdf2['shift']());}};_0x3d05de(++_0xc28dac);}(_0x9975,0x16d));var _0x5997=function(_0xc1cf9d,_0xc32847){_0xc1cf9d=_0xc1cf9d-0x0;var _0x34c92a=_0x9975[_0xc1cf9d];return _0x34c92a;};'use strict';var multer=require('multer');var util=require(_0x5997('0x0'));var path=require('path');var timeout=require('connect-timeout');var express=require(_0x5997('0x1'));var router=express[_0x5997('0x2')]();var auth=require('../../components/auth/service');var interaction=require(_0x5997('0x3'));var config=require('../../config/environment');var controller=require('./squareReport.controller');router[_0x5997('0x4')]('/',auth['isAuthenticated'](),controller['index']);router[_0x5997('0x4')]('/describe',auth[_0x5997('0x5')](),controller['describe']);router[_0x5997('0x4')](_0x5997('0x6'),auth[_0x5997('0x5')](),controller[_0x5997('0x7')]);router[_0x5997('0x8')]('/',auth['isAuthenticated'](),controller[_0x5997('0x9')]);router[_0x5997('0xa')](_0x5997('0x6'),auth[_0x5997('0x5')](),controller[_0x5997('0xb')]);router[_0x5997('0xc')](_0x5997('0x6'),auth[_0x5997('0x5')](),controller[_0x5997('0xd')]);module['exports']=router;