Skip to content

Commit a920c18

Browse files
committed
NZP-4591 put back enums for status and fix desc for anniveraryDate
1 parent 71b055c commit a920c18

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

xero-payroll-nz.yaml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6849,9 +6849,11 @@ components:
68496849
description: The type of units taken for the leave
68506850
type: string
68516851
periodStatus:
6852-
description: Status of leave. "Estimated"
6852+
description: Status of leave
68536853
type: string
68546854
enum:
6855+
- Approved
6856+
- Completed
68556857
- Estimated
68566858
EmployeeLeaveBalances:
68576859
type: object
@@ -7157,7 +7159,7 @@ components:
71577159
example: 2020-01-19
71587160
x-is-date: true
71597161
AnnualLeaveAnniversaryDate:
7160-
description: The first date the employee will accrue Annual Leave, this is typically 12 months from their start date
7162+
description: The first date the employee will accrue Annual Leave. When null the Employee's start date is used as the anniversary date
71617163
type: string
71627164
format: date
71637165
example: 2020-01-19
@@ -7200,12 +7202,12 @@ components:
72007202
description: The type of units accrued for the leave annually
72017203
type: string
72027204
maximumToAccrue:
7203-
description: The maximum number of hours that can be accrued for the leave
7205+
description: The maximum number of units that can be accrued for the leave
72047206
type: number
72057207
format: double
72067208
x-is-money: true
72077209
openingBalance:
7208-
description: The initial number of hours assigned when the leave was added to the employee
7210+
description: The initial number of units assigned when the leave was added to the employee
72097211
type: number
72107212
format: double
72117213
x-is-money: true

0 commit comments

Comments
 (0)