-
Notifications
You must be signed in to change notification settings - Fork 52
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ACCOUNTING Add specs for the Organisation endpoint subresource Action Add two components Actions and Action BatchPaymentDetails remove max length from Details property Adding History for Manual Journals Rename two problem currencies to TRY_LIRA and EMPTY_CURRENCY AU PAYROLL Add Timesheet Status enum REJECTED and REQUESTED NZ PAYROLL fix casing on tag for PayrollNZ …should be PayrollNz Merge PR changes #28
- Loading branch information
1 parent
0921c8a
commit afb0203
Showing
343 changed files
with
1,094 additions
and
482 deletions.
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 |
---|---|---|
|
@@ -2,4 +2,4 @@ | |
|
||
__author__ = """Xero Developer API""" | ||
__email__ = "[email protected]" | ||
__version__ = "1.0.12" | ||
__version__ = "1.0.13" |
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 |
---|---|---|
|
@@ -7,7 +7,7 @@ | |
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 | ||
OpenAPI spec version: 2.3.4 | ||
OpenAPI spec version: 2.4.0 | ||
Contact: [email protected] | ||
Generated by: https://openapi-generator.tech | ||
""" | ||
|
@@ -23,6 +23,8 @@ | |
from xero_python.accounting.models.accounts import Accounts | ||
from xero_python.accounting.models.accounts_payable import AccountsPayable | ||
from xero_python.accounting.models.accounts_receivable import AccountsReceivable | ||
from xero_python.accounting.models.action import Action | ||
from xero_python.accounting.models.actions import Actions | ||
from xero_python.accounting.models.address import Address | ||
from xero_python.accounting.models.allocation import Allocation | ||
from xero_python.accounting.models.allocations import Allocations | ||
|
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
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,11 @@ | ||
# Action | ||
|
||
## Properties | ||
Name | Type | Description | Notes | ||
------------ | ------------- | ------------- | ------------- | ||
**name** | **str** | Name of the actions for this organisation | [optional] | ||
**status** | **str** | Status of the action for this organisation | [optional] | ||
|
||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) | ||
|
||
|
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,10 @@ | ||
# Actions | ||
|
||
## Properties | ||
Name | Type | Description | Notes | ||
------------ | ------------- | ------------- | ------------- | ||
**actions** | [**list[Action]**](Action.md) | | [optional] | ||
|
||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) | ||
|
||
|
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 |
---|---|---|
|
@@ -6,7 +6,7 @@ | |
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 | ||
OpenAPI spec version: 2.3.4 | ||
OpenAPI spec version: 2.4.0 | ||
Contact: [email protected] | ||
Generated by: https://openapi-generator.tech | ||
""" | ||
|
@@ -18,6 +18,8 @@ | |
from xero_python.accounting.models.accounts import Accounts | ||
from xero_python.accounting.models.accounts_payable import AccountsPayable | ||
from xero_python.accounting.models.accounts_receivable import AccountsReceivable | ||
from xero_python.accounting.models.action import Action | ||
from xero_python.accounting.models.actions import Actions | ||
from xero_python.accounting.models.address import Address | ||
from xero_python.accounting.models.allocation import Allocation | ||
from xero_python.accounting.models.allocations import Allocations | ||
|
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 @@ | |
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 | ||
OpenAPI spec version: 2.3.4 | ||
OpenAPI spec version: 2.4.0 | ||
Contact: [email protected] | ||
Generated by: https://openapi-generator.tech | ||
""" | ||
|
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 @@ | |
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 | ||
OpenAPI spec version: 2.3.4 | ||
OpenAPI spec version: 2.4.0 | ||
Contact: [email protected] | ||
Generated by: https://openapi-generator.tech | ||
""" | ||
|
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 @@ | |
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 | ||
OpenAPI spec version: 2.3.4 | ||
OpenAPI spec version: 2.4.0 | ||
Contact: [email protected] | ||
Generated by: https://openapi-generator.tech | ||
""" | ||
|
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 @@ | |
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 | ||
OpenAPI spec version: 2.3.4 | ||
OpenAPI spec version: 2.4.0 | ||
Contact: [email protected] | ||
Generated by: https://openapi-generator.tech | ||
""" | ||
|
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 @@ | |
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 | ||
OpenAPI spec version: 2.3.4 | ||
OpenAPI spec version: 2.4.0 | ||
Contact: [email protected] | ||
Generated by: https://openapi-generator.tech | ||
""" | ||
|
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,100 @@ | ||
# coding: utf-8 | ||
|
||
""" | ||
Accounting API | ||
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 | ||
OpenAPI spec version: 2.4.0 | ||
Contact: [email protected] | ||
Generated by: https://openapi-generator.tech | ||
""" | ||
|
||
|
||
import re # noqa: F401 | ||
|
||
from xero_python.models import BaseModel | ||
|
||
|
||
class Action(BaseModel): | ||
"""NOTE: This class is auto generated by OpenAPI Generator. | ||
Ref: https://openapi-generator.tech | ||
Do not edit the class manually. | ||
""" | ||
|
||
""" | ||
Attributes: | ||
openapi_types (dict): The key is attribute name | ||
and the value is attribute type. | ||
attribute_map (dict): The key is attribute name | ||
and the value is json key in definition. | ||
""" | ||
openapi_types = {"name": "str", "status": "str"} | ||
|
||
attribute_map = {"name": "Name", "status": "Status"} | ||
|
||
def __init__(self, name=None, status=None): # noqa: E501 | ||
"""Action - a model defined in OpenAPI""" # noqa: E501 | ||
|
||
self._name = None | ||
self._status = None | ||
self.discriminator = None | ||
|
||
if name is not None: | ||
self.name = name | ||
if status is not None: | ||
self.status = status | ||
|
||
@property | ||
def name(self): | ||
"""Gets the name of this Action. # noqa: E501 | ||
Name of the actions for this organisation # noqa: E501 | ||
:return: The name of this Action. # noqa: E501 | ||
:rtype: str | ||
""" | ||
return self._name | ||
|
||
@name.setter | ||
def name(self, name): | ||
"""Sets the name of this Action. | ||
Name of the actions for this organisation # noqa: E501 | ||
:param name: The name of this Action. # noqa: E501 | ||
:type: str | ||
""" | ||
|
||
self._name = name | ||
|
||
@property | ||
def status(self): | ||
"""Gets the status of this Action. # noqa: E501 | ||
Status of the action for this organisation # noqa: E501 | ||
:return: The status of this Action. # noqa: E501 | ||
:rtype: str | ||
""" | ||
return self._status | ||
|
||
@status.setter | ||
def status(self, status): | ||
"""Sets the status of this Action. | ||
Status of the action for this organisation # noqa: E501 | ||
:param status: The status of this Action. # noqa: E501 | ||
:type: str | ||
""" | ||
allowed_values = ["ALLOWED", "NOT-ALLOWED", "None"] # noqa: E501 | ||
if status not in allowed_values: | ||
raise ValueError( | ||
"Invalid value for `status` ({0}), must be one of {1}".format( # noqa: E501 | ||
status, allowed_values | ||
) | ||
) | ||
|
||
self._status = status |
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,65 @@ | ||
# coding: utf-8 | ||
|
||
""" | ||
Accounting API | ||
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 | ||
OpenAPI spec version: 2.4.0 | ||
Contact: [email protected] | ||
Generated by: https://openapi-generator.tech | ||
""" | ||
|
||
|
||
import re # noqa: F401 | ||
|
||
from xero_python.models import BaseModel | ||
|
||
|
||
class Actions(BaseModel): | ||
"""NOTE: This class is auto generated by OpenAPI Generator. | ||
Ref: https://openapi-generator.tech | ||
Do not edit the class manually. | ||
""" | ||
|
||
""" | ||
Attributes: | ||
openapi_types (dict): The key is attribute name | ||
and the value is attribute type. | ||
attribute_map (dict): The key is attribute name | ||
and the value is json key in definition. | ||
""" | ||
openapi_types = {"actions": "list[Action]"} | ||
|
||
attribute_map = {"actions": "Actions"} | ||
|
||
def __init__(self, actions=None): # noqa: E501 | ||
"""Actions - a model defined in OpenAPI""" # noqa: E501 | ||
|
||
self._actions = None | ||
self.discriminator = None | ||
|
||
if actions is not None: | ||
self.actions = actions | ||
|
||
@property | ||
def actions(self): | ||
"""Gets the actions of this Actions. # noqa: E501 | ||
:return: The actions of this Actions. # noqa: E501 | ||
:rtype: list[Action] | ||
""" | ||
return self._actions | ||
|
||
@actions.setter | ||
def actions(self, actions): | ||
"""Sets the actions of this Actions. | ||
:param actions: The actions of this Actions. # noqa: E501 | ||
:type: list[Action] | ||
""" | ||
|
||
self._actions = actions |
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 @@ | |
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 | ||
OpenAPI spec version: 2.3.4 | ||
OpenAPI spec version: 2.4.0 | ||
Contact: [email protected] | ||
Generated by: https://openapi-generator.tech | ||
""" | ||
|
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 @@ | |
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 | ||
OpenAPI spec version: 2.3.4 | ||
OpenAPI spec version: 2.4.0 | ||
Contact: [email protected] | ||
Generated by: https://openapi-generator.tech | ||
""" | ||
|
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 @@ | |
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 | ||
OpenAPI spec version: 2.3.4 | ||
OpenAPI spec version: 2.4.0 | ||
Contact: [email protected] | ||
Generated by: https://openapi-generator.tech | ||
""" | ||
|
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 @@ | |
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 | ||
OpenAPI spec version: 2.3.4 | ||
OpenAPI spec version: 2.4.0 | ||
Contact: [email protected] | ||
Generated by: https://openapi-generator.tech | ||
""" | ||
|
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 @@ | |
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 | ||
OpenAPI spec version: 2.3.4 | ||
OpenAPI spec version: 2.4.0 | ||
Contact: [email protected] | ||
Generated by: https://openapi-generator.tech | ||
""" | ||
|
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 @@ | |
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 | ||
OpenAPI spec version: 2.3.4 | ||
OpenAPI spec version: 2.4.0 | ||
Contact: [email protected] | ||
Generated by: https://openapi-generator.tech | ||
""" | ||
|
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 @@ | |
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 | ||
OpenAPI spec version: 2.3.4 | ||
OpenAPI spec version: 2.4.0 | ||
Contact: [email protected] | ||
Generated by: https://openapi-generator.tech | ||
""" | ||
|
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 @@ | |
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 | ||
OpenAPI spec version: 2.3.4 | ||
OpenAPI spec version: 2.4.0 | ||
Contact: [email protected] | ||
Generated by: https://openapi-generator.tech | ||
""" | ||
|
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 @@ | |
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 | ||
OpenAPI spec version: 2.3.4 | ||
OpenAPI spec version: 2.4.0 | ||
Contact: [email protected] | ||
Generated by: https://openapi-generator.tech | ||
""" | ||
|
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 @@ | |
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 | ||
OpenAPI spec version: 2.3.4 | ||
OpenAPI spec version: 2.4.0 | ||
Contact: [email protected] | ||
Generated by: https://openapi-generator.tech | ||
""" | ||
|
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 @@ | |
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 | ||
OpenAPI spec version: 2.3.4 | ||
OpenAPI spec version: 2.4.0 | ||
Contact: [email protected] | ||
Generated by: https://openapi-generator.tech | ||
""" | ||
|
Oops, something went wrong.