113d8e51cdecf6ace9e6ee23d1946f05136a64dc
[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 _0x7eb3=['Router','../../components/auth/service','../../config/environment','./squareReport.controller','get','isAuthenticated','/:id','show','post','create','put','update','delete','destroy','multer','path'];(function(_0x5ca386,_0x3447d1){var _0x362843=function(_0xc1e2d9){while(--_0xc1e2d9){_0x5ca386['push'](_0x5ca386['shift']());}};_0x362843(++_0x3447d1);}(_0x7eb3,0x12e));var _0x37eb=function(_0x2fdf25,_0x474989){_0x2fdf25=_0x2fdf25-0x0;var _0xc6f663=_0x7eb3[_0x2fdf25];return _0xc6f663;};'use strict';var multer=require(_0x37eb('0x0'));var util=require('util');var path=require(_0x37eb('0x1'));var timeout=require('connect-timeout');var express=require('express');var router=express[_0x37eb('0x2')]();var auth=require(_0x37eb('0x3'));var interaction=require('../../components/interaction/service');var config=require(_0x37eb('0x4'));var controller=require(_0x37eb('0x5'));router[_0x37eb('0x6')]('/',auth[_0x37eb('0x7')](),controller['index']);router[_0x37eb('0x6')]('/describe',auth[_0x37eb('0x7')](),controller['describe']);router[_0x37eb('0x6')](_0x37eb('0x8'),auth[_0x37eb('0x7')](),controller[_0x37eb('0x9')]);router[_0x37eb('0xa')]('/',auth[_0x37eb('0x7')](),controller[_0x37eb('0xb')]);router[_0x37eb('0xc')]('/:id',auth[_0x37eb('0x7')](),controller[_0x37eb('0xd')]);router[_0x37eb('0xe')]('/:id',auth[_0x37eb('0x7')](),controller[_0x37eb('0xf')]);module['exports']=router;