Skip to content

Commit fff6193

Browse files
Build for version - 10.0.0 | NI category updates
Build for version - 10.0.0 | NI category updates
2 parents cc2599f + 9077e3f commit fff6193

27 files changed

+970
-136
lines changed

docs/v4/accounting/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6335,7 +6335,7 @@
63356335
<nav id="scrollingNav">
63366336
<ul class="sidenav nav nav-list">
63376337
<li class="nav-header" data-group="Accounting"><strong>SDK: </strong><span id='sdk-name'></span></li>
6338-
<li class="nav-header" data-group="Accounting"><strong>VSN: </strong>9.1.0</li>
6338+
<li class="nav-header" data-group="Accounting"><strong>VSN: </strong>10.0.0</li>
63396339
<li class="nav-header" data-group="Accounting"><a href="#api-Accounting">Methods</a></li>
63406340
<li data-group="Accounting" data-name="createAccount" class="">
63416341
<a href="#api-Accounting-createAccount">createAccount</a>

docs/v4/appstore/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1237,7 +1237,7 @@
12371237
<nav id="scrollingNav">
12381238
<ul class="sidenav nav nav-list">
12391239
<li class="nav-header" data-group="AppStore"><strong>SDK: </strong><span id='sdk-name'></span></li>
1240-
<li class="nav-header" data-group="AppStore"><strong>VSN: </strong>9.1.0</li>
1240+
<li class="nav-header" data-group="AppStore"><strong>VSN: </strong>10.0.0</li>
12411241
<li class="nav-header" data-group="AppStore"><a href="#api-AppStore">Methods</a></li>
12421242
<li data-group="AppStore" data-name="getSubscription" class="">
12431243
<a href="#api-AppStore-getSubscription">getSubscription</a>

docs/v4/assets/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1388,7 +1388,7 @@
13881388
<nav id="scrollingNav">
13891389
<ul class="sidenav nav nav-list">
13901390
<li class="nav-header" data-group="Asset"><strong>SDK: </strong><span id='sdk-name'></span></li>
1391-
<li class="nav-header" data-group="Asset"><strong>VSN: </strong>9.1.0</li>
1391+
<li class="nav-header" data-group="Asset"><strong>VSN: </strong>10.0.0</li>
13921392
<li class="nav-header" data-group="Asset"><a href="#api-Asset">Methods</a></li>
13931393
<li data-group="Asset" data-name="createAsset" class="">
13941394
<a href="#api-Asset-createAsset">createAsset</a>

docs/v4/files/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1144,7 +1144,7 @@
11441144
<nav id="scrollingNav">
11451145
<ul class="sidenav nav nav-list">
11461146
<li class="nav-header" data-group="Files"><strong>SDK: </strong><span id='sdk-name'></span></li>
1147-
<li class="nav-header" data-group="Files"><strong>VSN: </strong>9.1.0</li>
1147+
<li class="nav-header" data-group="Files"><strong>VSN: </strong>10.0.0</li>
11481148
<li class="nav-header" data-group="Files"><a href="#api-Files">Methods</a></li>
11491149
<li data-group="Files" data-name="createFileAssociation" class="">
11501150
<a href="#api-Files-createFileAssociation">createFileAssociation</a>

docs/v4/finance/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2712,7 +2712,7 @@
27122712
<nav id="scrollingNav">
27132713
<ul class="sidenav nav nav-list">
27142714
<li class="nav-header" data-group="Finance"><strong>SDK: </strong><span id='sdk-name'></span></li>
2715-
<li class="nav-header" data-group="Finance"><strong>VSN: </strong>9.1.0</li>
2715+
<li class="nav-header" data-group="Finance"><strong>VSN: </strong>10.0.0</li>
27162716
<li class="nav-header" data-group="Finance"><a href="#api-Finance">Methods</a></li>
27172717
<li data-group="Finance" data-name="getAccountingActivityAccountUsage" class="">
27182718
<a href="#api-Finance-getAccountingActivityAccountUsage">getAccountingActivityAccountUsage</a>

docs/v4/payroll-au/index.html

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

docs/v4/payroll-nz/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4083,7 +4083,7 @@
40834083
<nav id="scrollingNav">
40844084
<ul class="sidenav nav nav-list">
40854085
<li class="nav-header" data-group="PayrollNz"><strong>SDK: </strong><span id='sdk-name'></span></li>
4086-
<li class="nav-header" data-group="PayrollNz"><strong>VSN: </strong>9.1.0</li>
4086+
<li class="nav-header" data-group="PayrollNz"><strong>VSN: </strong>10.0.0</li>
40874087
<li class="nav-header" data-group="PayrollNz"><a href="#api-PayrollNz">Methods</a></li>
40884088
<li data-group="PayrollNz" data-name="approveTimesheet" class="">
40894089
<a href="#api-PayrollNz-approveTimesheet">approveTimesheet</a>

docs/v4/payroll-uk/index.html

Lines changed: 92 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1593,6 +1593,16 @@
15931593
"format" : "date-time",
15941594
"x-is-datetime" : true
15951595
},
1596+
"niCategory" : {
1597+
"$ref" : "#/components/schemas/NICategoryLetter"
1598+
},
1599+
"niCategories" : {
1600+
"type" : "array",
1601+
"description" : "The employee's NI categories",
1602+
"items" : {
1603+
"$ref" : "#/components/schemas/NICategory"
1604+
}
1605+
},
15961606
"nationalInsuranceNumber" : {
15971607
"type" : "string",
15981608
"description" : "National insurance number of the employee",
@@ -2260,7 +2270,7 @@
22602270
};
22612271
defs["Employment"] = {
22622272
"title" : "",
2263-
"required" : [ "EmployeeNumber", "NICategory", "PayrollCalendarID", "StartDate" ],
2273+
"required" : [ "EmployeeNumber", "NICategories", "PayrollCalendarID", "StartDate" ],
22642274
"type" : "object",
22652275
"properties" : {
22662276
"payrollCalendarID" : {
@@ -2280,10 +2290,14 @@
22802290
"example" : "7"
22812291
},
22822292
"niCategory" : {
2283-
"type" : "string",
2284-
"description" : "The NI Category of the employee",
2285-
"example" : "A",
2286-
"enum" : [ "A", "B", "C", "F", "H", "I", "J", "L", "M", "S", "V", "X", "Z" ]
2293+
"$ref" : "#/components/schemas/NICategoryLetter"
2294+
},
2295+
"niCategories" : {
2296+
"type" : "array",
2297+
"description" : "The employee's NI categories",
2298+
"items" : {
2299+
"$ref" : "#/components/schemas/NICategory"
2300+
}
22872301
}
22882302
},
22892303
"description" : ""
@@ -2500,6 +2514,75 @@
25002514
}
25012515
},
25022516
"description" : ""
2517+
};
2518+
defs["NICategory"] = {
2519+
"title" : "",
2520+
"required" : [ "niCategory", "workplacePostcode" ],
2521+
"type" : "object",
2522+
"properties" : {
2523+
"startDate" : {
2524+
"type" : "string",
2525+
"description" : "The start date of the NI category (YYYY-MM-DD)",
2526+
"format" : "date",
2527+
"example" : "2024-12-02",
2528+
"x-is-date" : true
2529+
},
2530+
"niCategory" : {
2531+
"$ref" : "#/components/schemas/NICategoryLetter"
2532+
},
2533+
"niCategoryID" : {
2534+
"type" : "number",
2535+
"description" : "Xero unique identifier for the NI category",
2536+
"example" : 15
2537+
},
2538+
"dateFirstEmployedAsCivilian" : {
2539+
"type" : "string",
2540+
"description" : "The date in which the employee was first employed as a civilian (YYYY-MM-DD)",
2541+
"format" : "date",
2542+
"example" : "2024-12-02",
2543+
"x-is-date" : true
2544+
},
2545+
"workplacePostcode" : {
2546+
"type" : "string",
2547+
"description" : "The workplace postcode",
2548+
"example" : "SW1A 1AA"
2549+
}
2550+
},
2551+
"description" : "",
2552+
"oneOf" : [ {
2553+
"$ref" : "#/components/schemas/NICategory_oneOf"
2554+
}, {
2555+
"$ref" : "#/components/schemas/NICategory_oneOf_1"
2556+
} ]
2557+
};
2558+
defs["NICategoryLetter"] = {
2559+
"title" : "",
2560+
"type" : "string",
2561+
"description" : "The employee's NI Category letter.",
2562+
"example" : "I",
2563+
"enum" : [ "A", "B", "C", "D", "E", "F", "H", "I", "J", "K", "L", "M", "N", "S", "V", "X", "Z" ]
2564+
};
2565+
defs["NICategory_oneOf"] = {
2566+
"title" : "",
2567+
"required" : [ "workplacePostcode" ],
2568+
"properties" : {
2569+
"niCategory" : {
2570+
"type" : "string",
2571+
"enum" : [ "F", "I", "L", "S", "N", "E", "D", "K" ]
2572+
}
2573+
},
2574+
"description" : ""
2575+
};
2576+
defs["NICategory_oneOf_1"] = {
2577+
"title" : "",
2578+
"required" : [ "dateFirstEmployedAsCivilian" ],
2579+
"properties" : {
2580+
"niCategory" : {
2581+
"type" : "string",
2582+
"enum" : [ "V" ]
2583+
}
2584+
},
2585+
"description" : ""
25032586
};
25042587
defs["Pagination"] = {
25052588
"title" : "",
@@ -3513,7 +3596,7 @@
35133596
<nav id="scrollingNav">
35143597
<ul class="sidenav nav nav-list">
35153598
<li class="nav-header" data-group="PayrollUk"><strong>SDK: </strong><span id='sdk-name'></span></li>
3516-
<li class="nav-header" data-group="PayrollUk"><strong>VSN: </strong>9.1.0</li>
3599+
<li class="nav-header" data-group="PayrollUk"><strong>VSN: </strong>10.0.0</li>
35173600
<li class="nav-header" data-group="PayrollUk"><a href="#api-PayrollUk">Methods</a></li>
35183601
<li data-group="PayrollUk" data-name="approveTimesheet" class="">
35193602
<a href="#api-PayrollUk-approveTimesheet">approveTimesheet</a>
@@ -5872,6 +5955,8 @@ <h3>Usage and SDK Samples</h3>
58725955
Employment employment = new Employment();
58735956
employment.setPayrollCalendarID(UUID.fromString("00000000-0000-0000-0000-000000000000"));
58745957
employment.setStartDate(startDate);
5958+
5959+
NICategories niCategories = new NICategories();
58755960

58765961
try {
58775962
EmploymentObject result = apiInstance.createEmployment(accessToken, xeroTenantId, employeeID, employment, idempotencyKey);
@@ -6006,7 +6091,7 @@ <h2>Parameters</h2>
60066091
"schema" : {
60076092
"$ref" : "#/components/schemas/Employment"
60086093
},
6009-
"example" : "{ \"PayrollCalendarID\": \"216d80e6-af55-47b1-b718-9457c3f5d2fe\", \"StartDate\": \"2020-04-01\", \"EmployeeNumber\": \"123ABC\", \"NICategory\": \"A\" }"
6094+
"example" : "{ \"PayrollCalendarID\": \"216d80e6-af55-47b1-b718-9457c3f5d2fe\", \"StartDate\": \"2020-04-01\", \"NICategories\": [ { \"NICategory\": \"A\", \"StartDate\": \"2020-05-01\" } ], \"EmployeeNumber\": \"123ABC\" }"
60106095
}
60116096
},
60126097
"required" : true

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<artifactId>xero-java</artifactId>
66
<packaging>jar</packaging>
77
<name>xero-java</name>
8-
<version>9.1.0</version>
8+
<version>10.0.0</version>
99
<url>https://github.com/XeroAPI/Xero-Java</url>
1010
<description>This is the official Java SDK for Xero API</description>
1111
<licenses>

src/main/java/com/xero/api/client/AccountingApi.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* Xero Accounting API
33
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
44
*
5-
* The version of the OpenAPI document: 7.1.0
5+
* The version of the OpenAPI document: 8.0.0
66
* Contact: [email protected]
77
*
88
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -102,7 +102,7 @@ public class AccountingApi {
102102
private ApiClient apiClient;
103103
private static AccountingApi instance = null;
104104
private String userAgent = "Default";
105-
private String version = "9.1.0";
105+
private String version = "10.0.0";
106106
static final Logger logger = LoggerFactory.getLogger(AccountingApi.class);
107107

108108
/** AccountingApi */

0 commit comments

Comments
 (0)