Built motion from commit (unavailable).|2.4.17
[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 _0x6c95=['connect-timeout','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./squareReport.controller','get','isAuthenticated','index','/describe','/:id','show','create','put','update','destroy','util'];(function(_0x1a974c,_0x3c8740){var _0x7c9971=function(_0x3706d0){while(--_0x3706d0){_0x1a974c['push'](_0x1a974c['shift']());}};_0x7c9971(++_0x3c8740);}(_0x6c95,0xa9));var _0x56c9=function(_0x2d1856,_0x3e30a5){_0x2d1856=_0x2d1856-0x0;var _0x5783ee=_0x6c95[_0x2d1856];return _0x5783ee;};'use strict';var multer=require('multer');var util=require(_0x56c9('0x0'));var path=require('path');var timeout=require(_0x56c9('0x1'));var express=require('express');var router=express[_0x56c9('0x2')]();var auth=require(_0x56c9('0x3'));var interaction=require(_0x56c9('0x4'));var config=require(_0x56c9('0x5'));var controller=require(_0x56c9('0x6'));router[_0x56c9('0x7')]('/',auth[_0x56c9('0x8')](),controller[_0x56c9('0x9')]);router[_0x56c9('0x7')](_0x56c9('0xa'),auth[_0x56c9('0x8')](),controller['describe']);router[_0x56c9('0x7')](_0x56c9('0xb'),auth[_0x56c9('0x8')](),controller[_0x56c9('0xc')]);router['post']('/',auth[_0x56c9('0x8')](),controller[_0x56c9('0xd')]);router[_0x56c9('0xe')]('/:id',auth[_0x56c9('0x8')](),controller[_0x56c9('0xf')]);router['delete'](_0x56c9('0xb'),auth[_0x56c9('0x8')](),controller[_0x56c9('0x10')]);module['exports']=router;