Skip to content

Commit 25ff632

Browse files
committed
Build from version 2.3.0
ACCOUNTING Account Remove max length on the code field with account. Some orgs already have account codes longer than 10 chars, removing the limit allows the GET call to work correctly. BatchPayment Remove Max Length from details property as some data returned from API exceeds the previous 18 char limit AU PAYROLL EmployeeNumber -change from float to string TaxDeclaration - make employment basis not required
1 parent 5fa7402 commit 25ff632

File tree

339 files changed

+345
-357
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

339 files changed

+345
-357
lines changed

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,5 +48,5 @@ def read_file(filename):
4848
keywords="xero python sdk API oAuth",
4949
name="xero_python",
5050
packages=find_packages(include=["xero_python", "xero_python.*"]),
51-
version="1.0.9",
51+
version="1.0.10",
5252
)

xero_python/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22

33
__author__ = """Xero Developer API"""
44
__email__ = "[email protected]"
5-
__version__ = "1.0.9"
5+
__version__ = "1.0.10"

xero_python/accounting/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
88
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501
99
10-
OpenAPI spec version: 2.2.14
10+
OpenAPI spec version: 2.3.0
1111
1212
Generated by: https://openapi-generator.tech
1313
"""

xero_python/accounting/api/accounting_api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501
77

8-
OpenAPI spec version: 2.2.14
8+
OpenAPI spec version: 2.3.0
99
1010
Generated by: https://openapi-generator.tech
1111
"""

xero_python/accounting/models/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
77
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501
88
9-
OpenAPI spec version: 2.2.14
9+
OpenAPI spec version: 2.3.0
1010
1111
Generated by: https://openapi-generator.tech
1212
"""

xero_python/accounting/models/account.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
66
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501
77
8-
OpenAPI spec version: 2.2.14
8+
OpenAPI spec version: 2.3.0
99
1010
Generated by: https://openapi-generator.tech
1111
"""
@@ -184,10 +184,6 @@ def code(self, code):
184184
:param code: The code of this Account. # noqa: E501
185185
:type: str
186186
"""
187-
if code is not None and len(code) > 10:
188-
raise ValueError(
189-
"Invalid value for `code`, " "length must be less than or equal to `10`"
190-
) # noqa: E501
191187

192188
self._code = code
193189

xero_python/accounting/models/account_type.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
66
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501
77
8-
OpenAPI spec version: 2.2.14
8+
OpenAPI spec version: 2.3.0
99
1010
Generated by: https://openapi-generator.tech
1111
"""

xero_python/accounting/models/accounts.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
66
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501
77
8-
OpenAPI spec version: 2.2.14
8+
OpenAPI spec version: 2.3.0
99
1010
Generated by: https://openapi-generator.tech
1111
"""

xero_python/accounting/models/accounts_payable.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
66
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501
77
8-
OpenAPI spec version: 2.2.14
8+
OpenAPI spec version: 2.3.0
99
1010
Generated by: https://openapi-generator.tech
1111
"""

xero_python/accounting/models/accounts_receivable.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
66
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501
77
8-
OpenAPI spec version: 2.2.14
8+
OpenAPI spec version: 2.3.0
99
1010
Generated by: https://openapi-generator.tech
1111
"""

0 commit comments

Comments
 (0)