-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support for Tax Groups and Expenses APIs (#13)
* Support for Tax Groups and Expenses APIs
- Loading branch information
Showing
4 changed files
with
39 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
""" | ||
V1 Admin Expenses | ||
""" | ||
|
||
from ....internals.get_resources import GetResources | ||
from ....internals.list_all_resources import ListAllResources | ||
from ....internals.list_resources import ListResources | ||
from ....internals.post_resources import PostResources | ||
|
||
|
||
class Expenses(ListResources, ListAllResources, PostResources, GetResources): | ||
"""Class for Expenses APIs.""" | ||
|
||
EXPENSES = '/expenses' | ||
|
||
def __init__(self, version, role): | ||
super().__init__(version, role, Expenses.EXPENSES) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
""" | ||
V1 Admin Tax Groups | ||
""" | ||
|
||
from ....internals.get_resources import GetResources | ||
from ....internals.list_all_resources import ListAllResources | ||
from ....internals.list_resources import ListResources | ||
from ....internals.post_resources import PostResources | ||
|
||
|
||
class TaxGroups(ListResources, ListAllResources, PostResources, GetResources): | ||
"""Class for Tax Groups APIs.""" | ||
|
||
TAX_GROUPS = '/tax_groups' | ||
|
||
def __init__(self, version, role): | ||
super().__init__(version, role, TaxGroups.TAX_GROUPS) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,7 +5,7 @@ | |
|
||
setuptools.setup( | ||
name='fyle', | ||
version='v0.8.0', | ||
version='v0.9.0', | ||
author='Siva Narayanan', | ||
author_email='[email protected]', | ||
description='Python SDK for accessing Fyle Platform APIs', | ||
|