File tree Expand file tree Collapse file tree 3 files changed +19
-1
lines changed
fyle/platform/apis/v1beta/admin Expand file tree Collapse file tree 3 files changed +19
-1
lines changed Original file line number Diff line number Diff line change 11"""
22 Initializing Admin API's
33"""
4+ from .reports import Reports
45from .categories import Categories
56from .cost_centers import CostCenters
67from .employees import Employees
4142departments = Departments (version , role )
4243subscriptions = Subscriptions (version , role )
4344scheduled_callbacks = ScheduledCallbacks (version , role )
45+ reports = Reports (version , role )
Original file line number Diff line number Diff line change 1+ from ....internals .post_resources import PostResources
2+
3+
4+ class Reports (PostResources ):
5+
6+ REPORTS = '/reports'
7+ MARK_AS_PAID = '/reports/mark_paid/bulk'
8+
9+ def __init__ (self , version , role ):
10+ super ().__init__ (version , role , Reports .REPORTS )
11+
12+ def bulk_mark_as_paid (self , payload ):
13+ return self .api .make_post_request (
14+ api_url = Reports .MARK_AS_PAID ,
15+ payload = payload
16+ )
Original file line number Diff line number Diff line change 55
66setuptools .setup (
77 name = 'fyle' ,
8- version = 'v0.36.1 ' ,
8+ version = 'v0.37.0 ' ,
99 author = 'Siva Narayanan' ,
10101111 description = 'Python SDK for accessing Fyle Platform APIs' ,
You can’t perform that action at this time.
0 commit comments