Skip to content

Commit c5383ba

Browse files
authored
Merge pull request #425 from XeroAPI/12.3.0
Build for version - 12.3.0
2 parents 4970e9e + d74d2ca commit c5383ba

26 files changed

+993
-35
lines changed

docs/v4/accounting/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6340,7 +6340,7 @@
63406340
<nav id="scrollingNav">
63416341
<ul class="sidenav nav nav-list">
63426342
<li class="nav-header" data-group="Accounting"><strong>SDK: </strong><span id='sdk-name'></span></li>
6343-
<li class="nav-header" data-group="Accounting"><strong>VSN: </strong>12.2.0</li>
6343+
<li class="nav-header" data-group="Accounting"><strong>VSN: </strong>12.3.0</li>
63446344
<li class="nav-header" data-group="Accounting"><a href="#api-Accounting">Methods</a></li>
63456345
<li data-group="Accounting" data-name="createAccount" class="">
63466346
<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>12.2.0</li>
1240+
<li class="nav-header" data-group="AppStore"><strong>VSN: </strong>12.3.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
@@ -1415,7 +1415,7 @@
14151415
<nav id="scrollingNav">
14161416
<ul class="sidenav nav nav-list">
14171417
<li class="nav-header" data-group="Asset"><strong>SDK: </strong><span id='sdk-name'></span></li>
1418-
<li class="nav-header" data-group="Asset"><strong>VSN: </strong>12.2.0</li>
1418+
<li class="nav-header" data-group="Asset"><strong>VSN: </strong>12.3.0</li>
14191419
<li class="nav-header" data-group="Asset"><a href="#api-Asset">Methods</a></li>
14201420
<li data-group="Asset" data-name="createAsset" class="">
14211421
<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>12.2.0</li>
1147+
<li class="nav-header" data-group="Files"><strong>VSN: </strong>12.3.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>12.2.0</li>
2715+
<li class="nav-header" data-group="Finance"><strong>VSN: </strong>12.3.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>12.2.0</li>
3414+
<li class="nav-header" data-group="PayrollAu"><strong>VSN: </strong>12.3.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>12.2.0</li>
4086+
<li class="nav-header" data-group="PayrollNz"><strong>VSN: </strong>12.3.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: 101 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1089,6 +1089,53 @@
10891089
}
10901090
},
10911091
"description" : ""
1092+
};
1093+
defs["ContractType"] = {
1094+
"title" : "",
1095+
"type" : "string",
1096+
"description" : "The contract type of the employee.",
1097+
"example" : "FullTime",
1098+
"enum" : [ "FullTime", "PartTime", "ZeroHour", "Unspecified" ]
1099+
};
1100+
defs["Contracts"] = {
1101+
"title" : "",
1102+
"required" : [ "contractType", "employmentStatus", "startDate" ],
1103+
"type" : "object",
1104+
"properties" : {
1105+
"startDate" : {
1106+
"type" : "string",
1107+
"description" : "The contract start date of the employee. This will be locked once an employee has been paid and cannot be changed (YYYY-MM-DD)",
1108+
"format" : "date",
1109+
"example" : "2024-12-02",
1110+
"x-is-date" : true
1111+
},
1112+
"employmentStatus" : {
1113+
"$ref" : "#/components/schemas/EmploymentStatus"
1114+
},
1115+
"contractType" : {
1116+
"$ref" : "#/components/schemas/ContractType"
1117+
},
1118+
"publicKey" : {
1119+
"type" : "string",
1120+
"description" : "The public key of the contract. Public key is required if the intention is to edit an existing contract. If no key is supplied a new contract will be created",
1121+
"format" : "uuid"
1122+
},
1123+
"isFixedTerm" : {
1124+
"type" : "boolean",
1125+
"description" : "describes whether the contract is fixed term (required if trying to create Fixed term contract)"
1126+
},
1127+
"fixedTermEndDate" : {
1128+
"type" : "string",
1129+
"description" : "The fixed term end date of the employee. Not required if isFixedTerm is false or not provided (required if trying to create Fixed term contract)",
1130+
"format" : "date",
1131+
"example" : "2025-11-01",
1132+
"x-is-date" : true
1133+
},
1134+
"developmentalRoleDetails" : {
1135+
"$ref" : "#/components/schemas/DevelopmentalRoleDetails"
1136+
}
1137+
},
1138+
"description" : ""
10921139
};
10931140
defs["CourtOrderLine"] = {
10941141
"title" : "",
@@ -1247,6 +1294,38 @@
12471294
}
12481295
},
12491296
"description" : ""
1297+
};
1298+
defs["DevelopmentalRoleDetails"] = {
1299+
"title" : "",
1300+
"required" : [ "developmentalRole", "endDate", "startDate" ],
1301+
"type" : "object",
1302+
"properties" : {
1303+
"startDate" : {
1304+
"type" : "string",
1305+
"description" : "The start date of the developmental role",
1306+
"format" : "date",
1307+
"example" : "2024-12-02",
1308+
"x-is-date" : true
1309+
},
1310+
"endDate" : {
1311+
"type" : "string",
1312+
"description" : "The end date of the developmental role",
1313+
"format" : "date",
1314+
"example" : "2024-12-02",
1315+
"x-is-date" : true
1316+
},
1317+
"developmentalRole" : {
1318+
"type" : "string",
1319+
"description" : "The developmental role type - \"Apprentice\" is the only supported role currently",
1320+
"example" : "Apprentice"
1321+
},
1322+
"publicKey" : {
1323+
"type" : "string",
1324+
"description" : "The public key of the developmental role. Public key is required if the intention is to edit an existing developmental role. If no key is supplied a new developmental role will be created",
1325+
"format" : "uuid"
1326+
}
1327+
},
1328+
"description" : ""
12501329
};
12511330
defs["EarningsLine"] = {
12521331
"title" : "",
@@ -1611,6 +1690,13 @@
16111690
"isOffPayrollWorker" : {
16121691
"type" : "boolean",
16131692
"description" : "Whether the employee is an off payroll worker"
1693+
},
1694+
"contracts" : {
1695+
"type" : "array",
1696+
"description" : "The employee's contracts",
1697+
"items" : {
1698+
"$ref" : "#/components/schemas/Contracts"
1699+
}
16141700
}
16151701
},
16161702
"description" : ""
@@ -2298,6 +2384,13 @@
22982384
"items" : {
22992385
"$ref" : "#/components/schemas/NICategory"
23002386
}
2387+
},
2388+
"contracts" : {
2389+
"type" : "array",
2390+
"description" : "The employee's contracts",
2391+
"items" : {
2392+
"$ref" : "#/components/schemas/Contracts"
2393+
}
23012394
}
23022395
},
23032396
"description" : ""
@@ -2317,6 +2410,13 @@
23172410
}
23182411
},
23192412
"description" : ""
2413+
};
2414+
defs["EmploymentStatus"] = {
2415+
"title" : "",
2416+
"type" : "string",
2417+
"description" : "The employment status of the employee.",
2418+
"example" : "Employee",
2419+
"enum" : [ "Employee", "Worker", "Unspecified" ]
23202420
};
23212421
defs["InvalidField"] = {
23222422
"title" : "",
@@ -3596,7 +3696,7 @@
35963696
<nav id="scrollingNav">
35973697
<ul class="sidenav nav nav-list">
35983698
<li class="nav-header" data-group="PayrollUk"><strong>SDK: </strong><span id='sdk-name'></span></li>
3599-
<li class="nav-header" data-group="PayrollUk"><strong>VSN: </strong>12.2.0</li>
3699+
<li class="nav-header" data-group="PayrollUk"><strong>VSN: </strong>12.3.0</li>
36003700
<li class="nav-header" data-group="PayrollUk"><a href="#api-PayrollUk">Methods</a></li>
36013701
<li data-group="PayrollUk" data-name="approveTimesheet" class="">
36023702
<a href="#api-PayrollUk-approveTimesheet">approveTimesheet</a>

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>12.2.0</version>
8+
<version>12.3.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: 9.2.0
5+
* The version of the OpenAPI document: 9.3.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 = "12.2.0";
105+
private String version = "12.3.0";
106106
static final Logger logger = LoggerFactory.getLogger(AccountingApi.class);
107107

108108
/** AccountingApi */

0 commit comments

Comments
 (0)