|
1954 | 1954 | "leaveType" : { |
1955 | 1955 | "type" : "string", |
1956 | 1956 | "description" : "The type of statutory leave", |
1957 | | - "enum" : [ "Sick", "Adoption", "Maternity", "Paternity", "Sharedparental" ] |
| 1957 | + "enum" : [ "Sick", "Adoption", "Maternity", "Paternity", "Sharedparental", "Bereavement", "NeonatalCare" ] |
1958 | 1958 | }, |
1959 | 1959 | "balanceRemaining" : { |
1960 | 1960 | "type" : "number", |
|
2002 | 2002 | "type" : { |
2003 | 2003 | "type" : "string", |
2004 | 2004 | "description" : "The category of statutory leave", |
2005 | | - "enum" : [ "Sick", "Adoption", "Maternity", "Paternity", "Sharedparental" ] |
| 2005 | + "enum" : [ "Sick", "Adoption", "Maternity", "Paternity", "Sharedparental", "Bereavement", "NeonatalCare" ] |
2006 | 2006 | }, |
2007 | 2007 | "startDate" : { |
2008 | 2008 | "type" : "string", |
|
2272 | 2272 | }; |
2273 | 2273 | defs["Employment"] = { |
2274 | 2274 | "title" : "", |
2275 | | - "required" : [ "employeeNumber", "niCategories", "payrollCalendarID", "startDate" ], |
| 2275 | + "required" : [ "EmployeeNumber", "NICategories", "PayrollCalendarID", "StartDate" ], |
2276 | 2276 | "type" : "object", |
2277 | 2277 | "properties" : { |
2278 | 2278 | "payrollCalendarID" : { |
|
3601 | 3601 | <nav id="scrollingNav"> |
3602 | 3602 | <ul class="sidenav nav nav-list"> |
3603 | 3603 | <li class="nav-header" data-group="PayrollUk"><strong>SDK: </strong><span id='sdk-name'></span></li> |
3604 | | - <li class="nav-header" data-group="PayrollUk"><strong>VSN: </strong>11.1.0</li> |
| 3604 | + <li class="nav-header" data-group="PayrollUk"><strong>VSN: </strong>12.0.0</li> |
3605 | 3605 | <li class="nav-header" data-group="PayrollUk"><a href="#api-PayrollUk">Methods</a></li> |
3606 | 3606 | <li data-group="PayrollUk" data-name="approveTimesheet" class=""> |
3607 | 3607 | <a href="#api-PayrollUk-approveTimesheet">approveTimesheet</a> |
@@ -4558,7 +4558,7 @@ <h2>Parameters</h2> |
4558 | 4558 | "title" : "Mr", |
4559 | 4559 | "firstName" : "Mike", |
4560 | 4560 | "lastName" : "Fancy", |
4561 | | - "dateOfBirth" : "1999-01-01T00:00:00Z", |
| 4561 | + "dateOfBirth" : "1999-01-01T00:00:00", |
4562 | 4562 | "gender" : "M", |
4563 | 4563 | |
4564 | 4564 | "isOffPayrollWorker" : false, |
@@ -6003,16 +6003,7 @@ <h2>Parameters</h2> |
6003 | 6003 | "schema" : { |
6004 | 6004 | "$ref" : "#/components/schemas/Employment" |
6005 | 6005 | }, |
6006 | | - "example" : { |
6007 | | - "payrollCalendarID" : "cdfb8371-0b21-4b8a-8903-1024df6c391e", |
6008 | | - "startDate" : "2024-04-01", |
6009 | | - "niCategories" : [ { |
6010 | | - "niCategory" : "I", |
6011 | | - "startDate" : "2020-05-01", |
6012 | | - "workplacePostcode" : "SW1A 1AA" |
6013 | | - } ], |
6014 | | - "employeeNumber" : "123ABC" |
6015 | | - } |
| 6006 | + "example" : "{ \"PayrollCalendarID\": \"216d80e6-af55-47b1-b718-9457c3f5d2fe\", \"StartDate\": \"2020-04-01\", \"NICategories\": [ { \"NICategory\": \"A\", \"StartDate\": \"2020-05-01\" } ], \"EmployeeNumber\": \"123ABC\" }" |
6016 | 6007 | } |
6017 | 6008 | }, |
6018 | 6009 | "required" : true |
@@ -12732,7 +12723,7 @@ <h2>Parameters</h2> |
12732 | 12723 | "title" : "Mr.", |
12733 | 12724 | "firstName" : "TestDataUK", |
12734 | 12725 | "lastName" : "Tester", |
12735 | | - "dateOfBirth" : "1992-11-22T00:00:00Z", |
| 12726 | + "dateOfBirth" : "1992-11-22T00:00:00", |
12736 | 12727 | "gender" : "M", |
12737 | 12728 | |
12738 | 12729 | "phoneNumber" : "0400123456", |
|
0 commit comments