From 63423ba41eabcc5495e84a9178699eb52ebb1357 Mon Sep 17 00:00:00 2001 From: Shreyansh Date: Tue, 8 Dec 2020 18:52:16 +0530 Subject: [PATCH] Added report and report approval apis --- fyle/platform/apis/v1/admin/__init__.py | 2 ++ fyle/platform/apis/v1/approver/__init__.py | 2 ++ setup.py | 2 +- 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/fyle/platform/apis/v1/admin/__init__.py b/fyle/platform/apis/v1/admin/__init__.py index 0c7661d..6a330e6 100644 --- a/fyle/platform/apis/v1/admin/__init__.py +++ b/fyle/platform/apis/v1/admin/__init__.py @@ -19,6 +19,7 @@ from .reimbursements import Reimbursements from .report_stats import ReportStats from .reports import Reports +from .report_approvals import ReportApprovals from .settlements import Settlements from .trip_requests_stats import TripRequestsStats @@ -43,5 +44,6 @@ reimbursements = Reimbursements(version, role) report_stats = ReportStats(version, role) reports = Reports(version, role) +report_approvals = ReportApprovals(version, role) settlements = Settlements(version, role) trip_requests_stats = TripRequestsStats(version, role) \ No newline at end of file diff --git a/fyle/platform/apis/v1/approver/__init__.py b/fyle/platform/apis/v1/approver/__init__.py index a8fa050..a547b6d 100644 --- a/fyle/platform/apis/v1/approver/__init__.py +++ b/fyle/platform/apis/v1/approver/__init__.py @@ -3,9 +3,11 @@ """ from .report_approvals import ReportApprovals +from .reports import Reports from ..version import version role = 'approver' report_approvals = ReportApprovals(version, role) +reports = Reports(version, role) \ No newline at end of file diff --git a/setup.py b/setup.py index 9c7a8fa..9ee0b61 100644 --- a/setup.py +++ b/setup.py @@ -5,7 +5,7 @@ setuptools.setup( name='fyle', - version='0.1.4-beta', + version='0.1.5-beta', author='Siva Narayanan', author_email='siva@fyle.in', description='Python SDK for accessing Fyle Platform APIs',