Built motion from commit 67e5df37.|2.0.66
[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 _0xf302=['../../config/environment','./squareReport.controller','get','index','/describe','isAuthenticated','describe','/:id','show','post','create','put','delete','destroy','exports','multer','Router','../../components/interaction/service'];(function(_0x1c63df,_0x3e9923){var _0x154265=function(_0x5509c8){while(--_0x5509c8){_0x1c63df['push'](_0x1c63df['shift']());}};_0x154265(++_0x3e9923);}(_0xf302,0x8d));var _0x2f30=function(_0x48dd59,_0x8ae020){_0x48dd59=_0x48dd59-0x0;var _0x189c24=_0xf302[_0x48dd59];return _0x189c24;};'use strict';var multer=require(_0x2f30('0x0'));var util=require('util');var path=require('path');var express=require('express');var router=express[_0x2f30('0x1')]();var auth=require('../../components/auth/service');var interaction=require(_0x2f30('0x2'));var config=require(_0x2f30('0x3'));var controller=require(_0x2f30('0x4'));router[_0x2f30('0x5')]('/',auth['isAuthenticated'](),controller[_0x2f30('0x6')]);router['get'](_0x2f30('0x7'),auth[_0x2f30('0x8')](),controller[_0x2f30('0x9')]);router[_0x2f30('0x5')](_0x2f30('0xa'),auth[_0x2f30('0x8')](),controller[_0x2f30('0xb')]);router[_0x2f30('0xc')]('/',auth[_0x2f30('0x8')](),controller[_0x2f30('0xd')]);router[_0x2f30('0xe')](_0x2f30('0xa'),auth[_0x2f30('0x8')](),controller['update']);router[_0x2f30('0xf')](_0x2f30('0xa'),auth[_0x2f30('0x8')](),controller[_0x2f30('0x10')]);module[_0x2f30('0x11')]=router;