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 _0xe260=['/:id','show','post','create','put','delete','destroy','exports','multer','util','path','connect-timeout','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./squareReport.controller','get','isAuthenticated','/describe'];(function(_0x27293d,_0x2f0d91){var _0x247ddd=function(_0x8414eb){while(--_0x8414eb){_0x27293d['push'](_0x27293d['shift']());}};_0x247ddd(++_0x2f0d91);}(_0xe260,0xb0));var _0x0e26=function(_0x2cdb1c,_0x2bb39c){_0x2cdb1c=_0x2cdb1c-0x0;var _0x4e5b7a=_0xe260[_0x2cdb1c];return _0x4e5b7a;};'use strict';var multer=require(_0x0e26('0x0'));var util=require(_0x0e26('0x1'));var path=require(_0x0e26('0x2'));var timeout=require(_0x0e26('0x3'));var express=require('express');var router=express[_0x0e26('0x4')]();var fs_extra=require(_0x0e26('0x5'));var auth=require(_0x0e26('0x6'));var interaction=require(_0x0e26('0x7'));var config=require(_0x0e26('0x8'));var controller=require(_0x0e26('0x9'));router[_0x0e26('0xa')]('/',auth[_0x0e26('0xb')](),controller['index']);router[_0x0e26('0xa')](_0x0e26('0xc'),auth[_0x0e26('0xb')](),controller['describe']);router['get'](_0x0e26('0xd'),auth[_0x0e26('0xb')](),controller[_0x0e26('0xe')]);router[_0x0e26('0xf')]('/',auth[_0x0e26('0xb')](),controller[_0x0e26('0x10')]);router[_0x0e26('0x11')](_0x0e26('0xd'),auth[_0x0e26('0xb')](),controller['update']);router[_0x0e26('0x12')](_0x0e26('0xd'),auth[_0x0e26('0xb')](),controller[_0x0e26('0x13')]);module[_0x0e26('0x14')]=router;