Built motion from commit (unavailable).|2.5.31
[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 _0x601b=['get','isAuthenticated','/describe','describe','/:id','show','post','create','put','update','delete','destroy','exports','multer','util','connect-timeout','express','Router','fs-extra','../../components/interaction/service','./squareReport.controller'];(function(_0x2f2a56,_0x1a650a){var _0x5409e5=function(_0x506a51){while(--_0x506a51){_0x2f2a56['push'](_0x2f2a56['shift']());}};_0x5409e5(++_0x1a650a);}(_0x601b,0x109));var _0xb601=function(_0x4857b9,_0xc18792){_0x4857b9=_0x4857b9-0x0;var _0x2035d3=_0x601b[_0x4857b9];return _0x2035d3;};'use strict';var multer=require(_0xb601('0x0'));var util=require(_0xb601('0x1'));var path=require('path');var timeout=require(_0xb601('0x2'));var express=require(_0xb601('0x3'));var router=express[_0xb601('0x4')]();var fs_extra=require(_0xb601('0x5'));var auth=require('../../components/auth/service');var interaction=require(_0xb601('0x6'));var config=require('../../config/environment');var controller=require(_0xb601('0x7'));router[_0xb601('0x8')]('/',auth[_0xb601('0x9')](),controller['index']);router[_0xb601('0x8')](_0xb601('0xa'),auth[_0xb601('0x9')](),controller[_0xb601('0xb')]);router[_0xb601('0x8')](_0xb601('0xc'),auth[_0xb601('0x9')](),controller[_0xb601('0xd')]);router[_0xb601('0xe')]('/',auth[_0xb601('0x9')](),controller[_0xb601('0xf')]);router[_0xb601('0x10')](_0xb601('0xc'),auth['isAuthenticated'](),controller[_0xb601('0x11')]);router[_0xb601('0x12')]('/:id',auth[_0xb601('0x9')](),controller[_0xb601('0x13')]);module[_0xb601('0x14')]=router;