Skip to content

Commit 06cb46b

Browse files
committed
rengenerated from OAS 2.35.0
1 parent a1f85ee commit 06cb46b

File tree

14 files changed

+84
-12
lines changed

14 files changed

+84
-12
lines changed

xero_python/accounting/api/accounting_api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"""
1111

1212
"""
13-
OpenAPI spec version: 2.34.1
13+
OpenAPI spec version: 2.35.0
1414
"""
1515

1616
import importlib

xero_python/appstore/api/app_store_api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"""
1111

1212
"""
13-
OpenAPI spec version: 2.34.1
13+
OpenAPI spec version: 2.35.0
1414
"""
1515

1616
import importlib

xero_python/assets/api/asset_api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"""
1111

1212
"""
13-
OpenAPI spec version: 2.34.1
13+
OpenAPI spec version: 2.35.0
1414
"""
1515

1616
import importlib

xero_python/docs/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ These endpoints are related to managing authentication tokens and identity for X
33

44
The `xero_python` package is automatically generated by the [XeroAPI SDK 2.0 Codegen](https://github.com/xero-github/xeroapi-sdk-codegen) project:
55

6-
- API version: 2.34.1
6+
- API version: 2.35.0
77
- Package version: 1.22.0b1
88
- Build package: org.openapitools.codegen.languages.PythonClientCodegen
99
For more information, please visit [https://developer.xero.com](https://developer.xero.com)

xero_python/file/api/files_api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"""
1111

1212
"""
13-
OpenAPI spec version: 2.34.1
13+
OpenAPI spec version: 2.35.0
1414
"""
1515

1616
import importlib

xero_python/finance/api/finance_api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"""
1111

1212
"""
13-
OpenAPI spec version: 2.34.1
13+
OpenAPI spec version: 2.35.0
1414
"""
1515

1616
import importlib

xero_python/identity/api/identity_api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"""
1111

1212
"""
13-
OpenAPI spec version: 2.34.1
13+
OpenAPI spec version: 2.35.0
1414
"""
1515

1616
import importlib

xero_python/payrollau/api/payroll_au_api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"""
1111

1212
"""
13-
OpenAPI spec version: 2.34.1
13+
OpenAPI spec version: 2.35.0
1414
"""
1515

1616
import importlib

xero_python/payrollau/docs/EarningsRate.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ Name | Type | Description | Notes
99
**is_exempt_from_tax** | **bool** | Most payments are subject to tax, so you should only set this value if you are sure that a payment is exempt from PAYG withholding | [optional]
1010
**is_exempt_from_super** | **bool** | See the ATO website for details of which payments are exempt from SGC | [optional]
1111
**is_reportable_as_w1** | **bool** | Boolean to determine if the earnings rate is reportable or exempt from W1 | [optional]
12+
**allowance_contributes_to_annual_leave_rate** | **bool** | Boolean to determine if the allowance earnings rate contributes towards annual leave rate. Only applicable if EarningsType is ALLOWANCE and RateType is RATEPERUNIT | [optional]
13+
**allowance_contributes_to_overtime_rate** | **bool** | Boolean to determine if the allowance earnings rate contributes towards overtime allowance rate. Only applicable if EarningsType is ALLOWANCE and RateType is RATEPERUNIT | [optional]
1214
**earnings_type** | [**EarningsType**](EarningsType.md) | | [optional]
1315
**earnings_rate_id** | **str** | Xero identifier | [optional]
1416
**rate_type** | [**RateType**](RateType.md) | | [optional]

xero_python/payrollau/docs/PayrollAuApi.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ api_client = ApiClient(
193193
api_instance = PayrollAuApi(api_client)
194194

195195
xero_tenant_id = 'xero_tenant_id_example' # str | Xero identifier for Tenant
196-
pay_item = { "EarningsRates": [ { "Name": "MyRate", "AccountCode": "400", "TypeOfUnits": "4.00", "IsExemptFromTax": true, "IsExemptFromSuper": true, "IsReportableAsW1": false, "EarningsType": "ORDINARYTIMEEARNINGS", "EarningsRateID": "1fa4e226-b711-46ba-a8a7-4344c9c5fb87", "RateType": "MULTIPLE", "RatePerUnit": "10.0", "Multiplier": 1.5, "Amount": 5, "EmploymentTerminationPaymentType": "O" } ] } # PayItem |
196+
pay_item = { "EarningsRates": [ { "Name": "MyRate", "AccountCode": "400", "TypeOfUnits": "4.00", "IsExemptFromTax": true, "IsExemptFromSuper": true, "IsReportableAsW1": false, "AllowanceContributesToAnnualLeaveRate": false, "AllowanceContributesToOvertimeRate": false, "EarningsType": "ORDINARYTIMEEARNINGS", "EarningsRateID": "1fa4e226-b711-46ba-a8a7-4344c9c5fb87", "RateType": "MULTIPLE", "RatePerUnit": "10.0", "Multiplier": 1.5, "Amount": 5, "EmploymentTerminationPaymentType": "O" } ] } # PayItem |
197197
try:
198198
# Creates a pay item
199199
api_response = api_instance.create_pay_item(xero_tenant_id, pay_item)

0 commit comments

Comments
 (0)