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

+1-1
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

+1-1
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

+1-1
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

+1-1
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

+1-1
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

+1-1
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

+1-1
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

+92-7
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

+1-1
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

+2-2
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 */

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

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* Xero AppStore API
33
* These endpoints are for Xero Partners to interact with the App Store Billing platform
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).
@@ -46,7 +46,7 @@ public class AppStoreApi {
4646
private ApiClient apiClient;
4747
private static AppStoreApi instance = null;
4848
private String userAgent = "Default";
49-
private String version = "9.1.0";
49+
private String version = "10.0.0";
5050
static final Logger logger = LoggerFactory.getLogger(AppStoreApi.class);
5151

5252
/** AppStoreApi */

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

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* Xero Assets API
33
* The Assets API exposes fixed asset related functions of the Xero Accounting application and can be used for a variety of purposes such as creating assets, retrieving asset valuations etc.
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).
@@ -49,7 +49,7 @@ public class AssetApi {
4949
private ApiClient apiClient;
5050
private static AssetApi instance = null;
5151
private String userAgent = "Default";
52-
private String version = "9.1.0";
52+
private String version = "10.0.0";
5353
static final Logger logger = LoggerFactory.getLogger(AssetApi.class);
5454

5555
/** AssetApi */

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

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* Xero Bank Feeds API
33
* The Bank Feeds API is a closed API that is only available to financial institutions that have an established financial services partnership with Xero. If you're an existing financial services partner that wants access, contact your local Partner Manager. If you're a financial institution who wants to provide bank feeds to your business customers, contact us to become a financial services partner.
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).
@@ -48,7 +48,7 @@ public class BankFeedsApi {
4848
private ApiClient apiClient;
4949
private static BankFeedsApi instance = null;
5050
private String userAgent = "Default";
51-
private String version = "9.1.0";
51+
private String version = "10.0.0";
5252
static final Logger logger = LoggerFactory.getLogger(BankFeedsApi.class);
5353

5454
/** BankFeedsApi */

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

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* Xero Files API
33
* These endpoints are specific to Xero Files API
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).
@@ -54,7 +54,7 @@ public class FilesApi {
5454
private ApiClient apiClient;
5555
private static FilesApi instance = null;
5656
private String userAgent = "Default";
57-
private String version = "9.1.0";
57+
private String version = "10.0.0";
5858
static final Logger logger = LoggerFactory.getLogger(FilesApi.class);
5959

6060
/** FilesApi */

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

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* Xero Finance API
33
* The Finance API is a collection of endpoints which customers can use in the course of a loan application, which may assist lenders to gain the confidence they need to provide capital.
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).
@@ -53,7 +53,7 @@ public class FinanceApi {
5353
private ApiClient apiClient;
5454
private static FinanceApi instance = null;
5555
private String userAgent = "Default";
56-
private String version = "9.1.0";
56+
private String version = "10.0.0";
5757
static final Logger logger = LoggerFactory.getLogger(FinanceApi.class);
5858

5959
/** FinanceApi */

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

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* Xero OAuth 2 Identity Service API
33
* These endpoints are related to managing authentication tokens and identity for Xero API
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).
@@ -45,7 +45,7 @@ public class IdentityApi {
4545
private ApiClient apiClient;
4646
private static IdentityApi instance = null;
4747
private String userAgent = "Default";
48-
private String version = "9.1.0";
48+
private String version = "10.0.0";
4949
static final Logger logger = LoggerFactory.getLogger(IdentityApi.class);
5050

5151
/** IdentityApi */

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

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* Xero Payroll AU API
33
* This is the Xero Payroll API for orgs in Australia region.
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).
@@ -65,7 +65,7 @@ public class PayrollAuApi {
6565
private ApiClient apiClient;
6666
private static PayrollAuApi instance = null;
6767
private String userAgent = "Default";
68-
private String version = "9.1.0";
68+
private String version = "10.0.0";
6969
static final Logger logger = LoggerFactory.getLogger(PayrollAuApi.class);
7070

7171
/** PayrollAuApi */

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

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* Xero Payroll NZ
33
* This is the Xero Payroll API for orgs in the NZ region.
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).
@@ -109,7 +109,7 @@ public class PayrollNzApi {
109109
private ApiClient apiClient;
110110
private static PayrollNzApi instance = null;
111111
private String userAgent = "Default";
112-
private String version = "9.1.0";
112+
private String version = "10.0.0";
113113
static final Logger logger = LoggerFactory.getLogger(PayrollNzApi.class);
114114

115115
/** PayrollNzApi */

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

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* Xero Payroll UK
33
* This is the Xero Payroll API for orgs in the UK region.
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).
@@ -106,7 +106,7 @@ public class PayrollUkApi {
106106
private ApiClient apiClient;
107107
private static PayrollUkApi instance = null;
108108
private String userAgent = "Default";
109-
private String version = "9.1.0";
109+
private String version = "10.0.0";
110110
static final Logger logger = LoggerFactory.getLogger(PayrollUkApi.class);
111111

112112
/** PayrollUkApi */

0 commit comments

Comments
 (0)