Skip to content

Commit a313185

Browse files
author
sangeet-joy_xero
committed
Build from OAS 6.3.0
1 parent 536904b commit a313185

File tree

24 files changed

+62
-24
lines changed

24 files changed

+62
-24
lines changed

docs/v1/accounting/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6216,7 +6216,7 @@
62166216
<nav id="scrollingNav">
62176217
<ul class="sidenav nav nav-list">
62186218
<li class="nav-header" data-group="Accounting"><strong>SDK: </strong><span id='sdk-name'></span></li>
6219-
<li class="nav-header" data-group="Accounting"><strong>VSN: </strong>6.2.0</li>
6219+
<li class="nav-header" data-group="Accounting"><strong>VSN: </strong>6.3.0</li>
62206220
<li class="nav-header" data-group="Accounting"><a href="#api-Accounting">Methods</a></li>
62216221
<li data-group="Accounting" data-name="createAccount" class="">
62226222
<a href="#api-Accounting-createAccount">createAccount</a>

docs/v1/appstore/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1241,7 +1241,7 @@
12411241
<nav id="scrollingNav">
12421242
<ul class="sidenav nav nav-list">
12431243
<li class="nav-header" data-group="AppStore"><strong>SDK: </strong><span id='sdk-name'></span></li>
1244-
<li class="nav-header" data-group="AppStore"><strong>VSN: </strong>6.2.0</li>
1244+
<li class="nav-header" data-group="AppStore"><strong>VSN: </strong>6.3.0</li>
12451245
<li class="nav-header" data-group="AppStore"><a href="#api-AppStore">Methods</a></li>
12461246
<li data-group="AppStore" data-name="getSubscription" class="">
12471247
<a href="#api-AppStore-getSubscription">getSubscription</a>

docs/v1/assets/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1392,7 +1392,7 @@
13921392
<nav id="scrollingNav">
13931393
<ul class="sidenav nav nav-list">
13941394
<li class="nav-header" data-group="Asset"><strong>SDK: </strong><span id='sdk-name'></span></li>
1395-
<li class="nav-header" data-group="Asset"><strong>VSN: </strong>6.2.0</li>
1395+
<li class="nav-header" data-group="Asset"><strong>VSN: </strong>6.3.0</li>
13961396
<li class="nav-header" data-group="Asset"><a href="#api-Asset">Methods</a></li>
13971397
<li data-group="Asset" data-name="createAsset" class="">
13981398
<a href="#api-Asset-createAsset">createAsset</a>

docs/v1/files/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1170,7 +1170,7 @@
11701170
<nav id="scrollingNav">
11711171
<ul class="sidenav nav nav-list">
11721172
<li class="nav-header" data-group="Files"><strong>SDK: </strong><span id='sdk-name'></span></li>
1173-
<li class="nav-header" data-group="Files"><strong>VSN: </strong>6.2.0</li>
1173+
<li class="nav-header" data-group="Files"><strong>VSN: </strong>6.3.0</li>
11741174
<li class="nav-header" data-group="Files"><a href="#api-Files">Methods</a></li>
11751175
<li data-group="Files" data-name="createFileAssociation" class="">
11761176
<a href="#api-Files-createFileAssociation">createFileAssociation</a>

docs/v1/finance/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2737,7 +2737,7 @@
27372737
<nav id="scrollingNav">
27382738
<ul class="sidenav nav nav-list">
27392739
<li class="nav-header" data-group="Finance"><strong>SDK: </strong><span id='sdk-name'></span></li>
2740-
<li class="nav-header" data-group="Finance"><strong>VSN: </strong>6.2.0</li>
2740+
<li class="nav-header" data-group="Finance"><strong>VSN: </strong>6.3.0</li>
27412741
<li class="nav-header" data-group="Finance"><a href="#api-Finance">Methods</a></li>
27422742
<li data-group="Finance" data-name="getAccountingActivityAccountUsage" class="">
27432743
<a href="#api-Finance-getAccountingActivityAccountUsage">getAccountingActivityAccountUsage</a>

docs/v1/payroll-au/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3412,7 +3412,7 @@
34123412
<nav id="scrollingNav">
34133413
<ul class="sidenav nav nav-list">
34143414
<li class="nav-header" data-group="PayrollAu"><strong>SDK: </strong><span id='sdk-name'></span></li>
3415-
<li class="nav-header" data-group="PayrollAu"><strong>VSN: </strong>6.2.0</li>
3415+
<li class="nav-header" data-group="PayrollAu"><strong>VSN: </strong>6.3.0</li>
34163416
<li class="nav-header" data-group="PayrollAu"><a href="#api-PayrollAu">Methods</a></li>
34173417
<li data-group="PayrollAu" data-name="approveLeaveApplication" class="">
34183418
<a href="#api-PayrollAu-approveLeaveApplication">approveLeaveApplication</a>

docs/v1/payroll-nz/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4031,7 +4031,7 @@
40314031
<nav id="scrollingNav">
40324032
<ul class="sidenav nav nav-list">
40334033
<li class="nav-header" data-group="PayrollNz"><strong>SDK: </strong><span id='sdk-name'></span></li>
4034-
<li class="nav-header" data-group="PayrollNz"><strong>VSN: </strong>6.2.0</li>
4034+
<li class="nav-header" data-group="PayrollNz"><strong>VSN: </strong>6.3.0</li>
40354035
<li class="nav-header" data-group="PayrollNz"><a href="#api-PayrollNz">Methods</a></li>
40364036
<li data-group="PayrollNz" data-name="approveTimesheet" class="">
40374037
<a href="#api-PayrollNz-approveTimesheet">approveTimesheet</a>

docs/v1/payroll-uk/index.html

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1750,6 +1750,13 @@
17501750
"type" : "number",
17511751
"description" : "The number of hours added to the leave balance for every hour worked by the employee. This is normally 0, unless the scheduleOfAccrual chosen is \"OnHourWorked\"",
17521752
"format" : "double"
1753+
},
1754+
"scheduleOfAccrualDate" : {
1755+
"type" : "string",
1756+
"description" : "The date when an employee becomes entitled to their accrual. Only applicable when scheduleOfAccrual is \"OnAnniversaryDate\"",
1757+
"format" : "date",
1758+
"example" : "2024-04-01",
1759+
"x-is-date" : true
17531760
}
17541761
},
17551762
"description" : ""
@@ -3510,7 +3517,7 @@
35103517
<nav id="scrollingNav">
35113518
<ul class="sidenav nav nav-list">
35123519
<li class="nav-header" data-group="PayrollUk"><strong>SDK: </strong><span id='sdk-name'></span></li>
3513-
<li class="nav-header" data-group="PayrollUk"><strong>VSN: </strong>6.2.0</li>
3520+
<li class="nav-header" data-group="PayrollUk"><strong>VSN: </strong>6.3.0</li>
35143521
<li class="nav-header" data-group="PayrollUk"><a href="#api-PayrollUk">Methods</a></li>
35153522
<li data-group="PayrollUk" data-name="approveTimesheet" class="">
35163523
<a href="#api-PayrollUk-approveTimesheet">approveTimesheet</a>
@@ -4928,7 +4935,8 @@ <h3>Usage and SDK Samples</h3>
49284935
employee_leave_type = EmployeeLeaveType(
49294936
leave_type_id = "00000000-0000-0000-0000-000000000000",
49304937
schedule_of_accrual = schedule_of_accrual::BEGINNINGOFCALENDARYEAR,
4931-
opening_balance = 5.25)
4938+
opening_balance = 5.25,
4939+
schedule_of_accrual_date = )
49324940

49334941
try:
49344942
api_response = api_instance.create_employee_leave_type(xero_tenant_id, employee_id, employeeLeaveType, idempotency_key)

docs/v1/projects/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1462,7 +1462,7 @@
14621462
<nav id="scrollingNav">
14631463
<ul class="sidenav nav nav-list">
14641464
<li class="nav-header" data-group="Project"><strong>SDK: </strong><span id='sdk-name'></span></li>
1465-
<li class="nav-header" data-group="Project"><strong>VSN: </strong>6.2.0</li>
1465+
<li class="nav-header" data-group="Project"><strong>VSN: </strong>6.3.0</li>
14661466
<li class="nav-header" data-group="Project"><a href="#api-Project">Methods</a></li>
14671467
<li data-group="Project" data-name="createProject" class="">
14681468
<a href="#api-Project-createProject">createProject</a>

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="6.2.0",
51+
version="6.3.0",
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__ = "api@xero.com"
5-
__version__ = "6.2.0"
5+
__version__ = "6.3.0"

xero_python/accounting/api/accounting_api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
"""
2222

2323
"""
24-
OpenAPI spec version: 6.2.0
24+
OpenAPI spec version: 6.3.0
2525
"""
2626

2727

xero_python/appstore/api/app_store_api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
"""
2222

2323
"""
24-
OpenAPI spec version: 6.2.0
24+
OpenAPI spec version: 6.3.0
2525
"""
2626

2727

xero_python/assets/api/asset_api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
"""
2222

2323
"""
24-
OpenAPI spec version: 6.2.0
24+
OpenAPI spec version: 6.3.0
2525
"""
2626

2727

xero_python/docs/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ 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: 6.2.0
7-
- Package version: 6.2.0
6+
- API version: 6.3.0
7+
- Package version: 6.3.0
88
- Build package: org.openapitools.codegen.languages.PythonClientCodegen
99
For more information, please visit [https://developer.xero.com](https://developer.xero.com)
1010

xero_python/file/api/files_api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
"""
2222

2323
"""
24-
OpenAPI spec version: 6.2.0
24+
OpenAPI spec version: 6.3.0
2525
"""
2626

2727

xero_python/finance/api/finance_api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
"""
2222

2323
"""
24-
OpenAPI spec version: 6.2.0
24+
OpenAPI spec version: 6.3.0
2525
"""
2626

2727

xero_python/identity/api/identity_api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
"""
2222

2323
"""
24-
OpenAPI spec version: 6.2.0
24+
OpenAPI spec version: 6.3.0
2525
"""
2626

2727

xero_python/payrollau/api/payroll_au_api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
"""
2222

2323
"""
24-
OpenAPI spec version: 6.2.0
24+
OpenAPI spec version: 6.3.0
2525
"""
2626

2727

xero_python/payrollnz/api/payroll_nz_api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
"""
2222

2323
"""
24-
OpenAPI spec version: 6.2.0
24+
OpenAPI spec version: 6.3.0
2525
"""
2626

2727

xero_python/payrolluk/api/payroll_uk_api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
"""
2222

2323
"""
24-
OpenAPI spec version: 6.2.0
24+
OpenAPI spec version: 6.3.0
2525
"""
2626

2727

xero_python/payrolluk/docs/EmployeeLeaveType.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ Name | Type | Description | Notes
99
**maximum_to_accrue** | **float** | The maximum number of hours that can be accrued for the leave | [optional]
1010
**opening_balance** | **float** | The initial number of hours assigned when the leave was added to the employee | [optional]
1111
**rate_accrued_hourly** | **float** | The number of hours added to the leave balance for every hour worked by the employee. This is normally 0, unless the scheduleOfAccrual chosen is \&quot;OnHourWorked\&quot; | [optional]
12+
**schedule_of_accrual_date** | **date** | The date when an employee becomes entitled to their accrual. Only applicable when scheduleOfAccrual is \&quot;OnAnniversaryDate\&quot; | [optional]
1213

1314
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
1415

xero_python/payrolluk/models/employee_leave_type.py

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ class EmployeeLeaveType(BaseModel):
3636
"maximum_to_accrue": "float",
3737
"opening_balance": "float",
3838
"rate_accrued_hourly": "float",
39+
"schedule_of_accrual_date": "date",
3940
}
4041

4142
attribute_map = {
@@ -45,6 +46,7 @@ class EmployeeLeaveType(BaseModel):
4546
"maximum_to_accrue": "maximumToAccrue",
4647
"opening_balance": "openingBalance",
4748
"rate_accrued_hourly": "rateAccruedHourly",
49+
"schedule_of_accrual_date": "scheduleOfAccrualDate",
4850
}
4951

5052
def __init__(
@@ -55,6 +57,7 @@ def __init__(
5557
maximum_to_accrue=None,
5658
opening_balance=None,
5759
rate_accrued_hourly=None,
60+
schedule_of_accrual_date=None,
5861
): # noqa: E501
5962
"""EmployeeLeaveType - a model defined in OpenAPI""" # noqa: E501
6063

@@ -64,6 +67,7 @@ def __init__(
6467
self._maximum_to_accrue = None
6568
self._opening_balance = None
6669
self._rate_accrued_hourly = None
70+
self._schedule_of_accrual_date = None
6771
self.discriminator = None
6872

6973
self.leave_type_id = leave_type_id
@@ -76,6 +80,8 @@ def __init__(
7680
self.opening_balance = opening_balance
7781
if rate_accrued_hourly is not None:
7882
self.rate_accrued_hourly = rate_accrued_hourly
83+
if schedule_of_accrual_date is not None:
84+
self.schedule_of_accrual_date = schedule_of_accrual_date
7985

8086
@property
8187
def leave_type_id(self):
@@ -237,3 +243,26 @@ def rate_accrued_hourly(self, rate_accrued_hourly):
237243
"""
238244

239245
self._rate_accrued_hourly = rate_accrued_hourly
246+
247+
@property
248+
def schedule_of_accrual_date(self):
249+
"""Gets the schedule_of_accrual_date of this EmployeeLeaveType. # noqa: E501
250+
251+
The date when an employee becomes entitled to their accrual. Only applicable when scheduleOfAccrual is \"OnAnniversaryDate\" # noqa: E501
252+
253+
:return: The schedule_of_accrual_date of this EmployeeLeaveType. # noqa: E501
254+
:rtype: date
255+
"""
256+
return self._schedule_of_accrual_date
257+
258+
@schedule_of_accrual_date.setter
259+
def schedule_of_accrual_date(self, schedule_of_accrual_date):
260+
"""Sets the schedule_of_accrual_date of this EmployeeLeaveType.
261+
262+
The date when an employee becomes entitled to their accrual. Only applicable when scheduleOfAccrual is \"OnAnniversaryDate\" # noqa: E501
263+
264+
:param schedule_of_accrual_date: The schedule_of_accrual_date of this EmployeeLeaveType. # noqa: E501
265+
:type: date
266+
"""
267+
268+
self._schedule_of_accrual_date = schedule_of_accrual_date

xero_python/project/api/project_api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
"""
2222

2323
"""
24-
OpenAPI spec version: 6.2.0
24+
OpenAPI spec version: 6.3.0
2525
"""
2626

2727

0 commit comments

Comments
 (0)