Skip to content

Commit 2b796f2

Browse files
author
sangeet-joy_xero
committed
Adding Bereavement enum to EmployeeStatutoryLeaveBalance and EmployeeStatutoryLeaveSummary for UK
1 parent c9c2cfd commit 2b796f2

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

docs/v1/payroll-uk/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1954,7 +1954,7 @@
19541954
"leaveType" : {
19551955
"type" : "string",
19561956
"description" : "The type of statutory leave",
1957-
"enum" : [ "Sick", "Adoption", "Maternity", "Paternity", "Sharedparental" ]
1957+
"enum" : [ "Sick", "Adoption", "Maternity", "Paternity", "Sharedparental", "Bereavement" ]
19581958
},
19591959
"balanceRemaining" : {
19601960
"type" : "number",
@@ -2002,7 +2002,7 @@
20022002
"type" : {
20032003
"type" : "string",
20042004
"description" : "The category of statutory leave",
2005-
"enum" : [ "Sick", "Adoption", "Maternity", "Paternity", "Sharedparental" ]
2005+
"enum" : [ "Sick", "Adoption", "Maternity", "Paternity", "Sharedparental", "Bereavement" ]
20062006
},
20072007
"startDate" : {
20082008
"type" : "string",

xero_python/payrolluk/models/employee_statutory_leave_balance.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,7 @@ def leave_type(self, leave_type):
8080
"Maternity",
8181
"Paternity",
8282
"Sharedparental",
83+
"Bereavement",
8384
"None",
8485
] # noqa: E501
8586

xero_python/payrolluk/models/employee_statutory_leave_summary.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,7 @@ def type(self, type):
157157
"Maternity",
158158
"Paternity",
159159
"Sharedparental",
160+
"Bereavement",
160161
"None",
161162
] # noqa: E501
162163

0 commit comments

Comments
 (0)