Skip to content

Commit 2bf7c02

Browse files
Build from OAS 7.0.0
1 parent 5f58475 commit 2bf7c02

26 files changed

+658
-258
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>8.3.0</li>
6338+
<li class="nav-header" data-group="Accounting"><strong>VSN: </strong>9.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>8.3.0</li>
1240+
<li class="nav-header" data-group="AppStore"><strong>VSN: </strong>9.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>8.3.0</li>
1391+
<li class="nav-header" data-group="Asset"><strong>VSN: </strong>9.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>8.3.0</li>
1147+
<li class="nav-header" data-group="Files"><strong>VSN: </strong>9.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: 2 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1515,7 +1515,7 @@
15151515
},
15161516
"importSourceType" : {
15171517
"type" : "string",
1518-
"description" : "Looking at the most recent bank statement, this field indicates the source of the data (direct bank feed, indirect bank feed, file upload, or manual keying)."
1518+
"description" : "Looking at the most recent bank statement, this field indicates the source of the data (direct bank feed, file upload, or manual keying)."
15191519
}
15201520
},
15211521
"additionalProperties" : false,
@@ -1531,13 +1531,6 @@
15311531
"format" : "double",
15321532
"x-is-money" : true
15331533
},
1534-
"indirectBankFeed" : {
1535-
"type" : "number",
1536-
"description" : "No longer in use.",
1537-
"format" : "double",
1538-
"deprecated" : true,
1539-
"x-is-money" : true
1540-
},
15411534
"fileUpload" : {
15421535
"type" : "number",
15431536
"description" : "Sum of the amounts of all statement lines where the source of the data was a file manually uploaded in to Xero. This gives an indication on the certainty of correctness of the data.",
@@ -1556,13 +1549,6 @@
15561549
"format" : "double",
15571550
"x-is-money" : true
15581551
},
1559-
"indirectBankFeedPos" : {
1560-
"type" : "number",
1561-
"description" : "No longer in use.",
1562-
"format" : "double",
1563-
"deprecated" : true,
1564-
"x-is-money" : true
1565-
},
15661552
"fileUploadPos" : {
15671553
"type" : "number",
15681554
"description" : "Sum of the amounts of all statement lines where the source of the data was a file manually uploaded in to Xero. This gives an indication on the certainty of correctness of the data. Only positive transactions are included.",
@@ -1581,13 +1567,6 @@
15811567
"format" : "double",
15821568
"x-is-money" : true
15831569
},
1584-
"indirectBankFeedNeg" : {
1585-
"type" : "number",
1586-
"description" : "No longer in use.",
1587-
"format" : "double",
1588-
"deprecated" : true,
1589-
"x-is-money" : true
1590-
},
15911570
"fileUploadNeg" : {
15921571
"type" : "number",
15931572
"description" : "Sum of the amounts of all statement lines where the source of the data was a file manually uploaded in to Xero. This gives an indication on the certainty of correctness of the data. Only negative transactions are included.",
@@ -2733,7 +2712,7 @@
27332712
<nav id="scrollingNav">
27342713
<ul class="sidenav nav nav-list">
27352714
<li class="nav-header" data-group="Finance"><strong>SDK: </strong><span id='sdk-name'></span></li>
2736-
<li class="nav-header" data-group="Finance"><strong>VSN: </strong>8.3.0</li>
2715+
<li class="nav-header" data-group="Finance"><strong>VSN: </strong>9.0.0</li>
27372716
<li class="nav-header" data-group="Finance"><a href="#api-Finance">Methods</a></li>
27382717
<li data-group="Finance" data-name="getAccountingActivityAccountUsage" class="">
27392718
<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>8.3.0</li>
3414+
<li class="nav-header" data-group="PayrollAu"><strong>VSN: </strong>9.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: 65 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1682,14 +1682,28 @@
16821682
},
16831683
"sickLeaveHoursToAccrueAnnually" : {
16841684
"type" : "number",
1685-
"description" : "Number of hours accrued annually for sick leave. Multiply the number of days they're entitled to by the hours worked per day",
1685+
"description" : "Deprecated use SickLeaveToAccrueAnnually",
16861686
"format" : "double",
16871687
"example" : 100.5,
16881688
"x-is-money" : true
16891689
},
16901690
"sickLeaveMaximumHoursToAccrue" : {
16911691
"type" : "number",
1692-
"description" : "Maximum number of hours accrued annually for sick leave. Multiply the maximum days they can accrue by the hours worked per day",
1692+
"description" : "Deprecated use SickLeaveMaximumToAccrue",
1693+
"format" : "double",
1694+
"example" : 200.5,
1695+
"x-is-money" : true
1696+
},
1697+
"SickLeaveToAccrueAnnually" : {
1698+
"type" : "number",
1699+
"description" : "Number of units accrued annually for sick leave. The type of units is determined by the property \"TypeOfUnitsToAccrue\" on the \"Sick Leave\" leave type",
1700+
"format" : "double",
1701+
"example" : 100.5,
1702+
"x-is-money" : true
1703+
},
1704+
"SickLeaveMaximumToAccrue" : {
1705+
"type" : "number",
1706+
"description" : "Maximum number of units accrued annually for sick leave. The type of units is determined by the property \"TypeOfUnitsToAccrue\" on the \"Sick Leave\" leave type",
16931707
"format" : "double",
16941708
"example" : 200.5,
16951709
"x-is-money" : true
@@ -1708,7 +1722,14 @@
17081722
},
17091723
"SickLeaveAnniversaryDate" : {
17101724
"type" : "string",
1711-
"description" : "If Sick Leave Schedule of Accrual is \"OnAnniversaryDate\", this is the date when entitled to Sick Leave",
1725+
"description" : "If Sick Leave Schedule of Accrual is \"OnAnniversaryDate\", this is the date when entitled to Sick Leave. When null the Employee's start date is used as the anniversary date",
1726+
"format" : "date",
1727+
"example" : "2020-01-19",
1728+
"x-is-date" : true
1729+
},
1730+
"AnnualLeaveAnniversaryDate" : {
1731+
"type" : "string",
1732+
"description" : "The first date the employee will accrue Annual Leave. When null the Employee's start date is used as the anniversary date",
17121733
"format" : "date",
17131734
"example" : "2020-01-19",
17141735
"x-is-date" : true
@@ -1748,22 +1769,36 @@
17481769
},
17491770
"hoursAccruedAnnually" : {
17501771
"type" : "number",
1751-
"description" : "The number of hours accrued for the leave annually. This is 0 when the scheduleOfAccrual chosen is \"OnHourWorked\"",
1772+
"description" : "Deprecated use UnitsAccruedAnnually",
17521773
"format" : "double",
17531774
"x-is-money" : true
17541775
},
1776+
"UnitsAccruedAnnually" : {
1777+
"type" : "number",
1778+
"description" : "The number of units accrued for the leave annually. This is 0 when the ScheduleOfAccrual chosen is \"NoAccruals\"",
1779+
"format" : "double",
1780+
"x-is-money" : true
1781+
},
1782+
"typeOfUnitsToAccrue" : {
1783+
"type" : "string",
1784+
"description" : "The type of units accrued for the leave annually"
1785+
},
17551786
"maximumToAccrue" : {
17561787
"type" : "number",
1757-
"description" : "The maximum number of hours that can be accrued for the leave",
1788+
"description" : "The maximum number of units that can be accrued for the leave",
17581789
"format" : "double",
17591790
"x-is-money" : true
17601791
},
17611792
"openingBalance" : {
17621793
"type" : "number",
1763-
"description" : "The initial number of hours assigned when the leave was added to the employee",
1794+
"description" : "The initial number of units assigned when the leave was added to the employee",
17641795
"format" : "double",
17651796
"x-is-money" : true
17661797
},
1798+
"openingBalanceTypeOfUnits" : {
1799+
"type" : "string",
1800+
"description" : "The type of units for the opening balance"
1801+
},
17671802
"rateAccruedHourly" : {
17681803
"type" : "number",
17691804
"description" : "The number of hours added to the leave balance for every hour worked by the employee. This is normally 0, unless the scheduleOfAccrual chosen is \"OnHourWorked\"",
@@ -2607,10 +2642,23 @@
26072642
"format" : "double",
26082643
"x-is-money" : true
26092644
},
2645+
"numberOfUnitsTaken" : {
2646+
"type" : "number",
2647+
"description" : "The number of units taken for the leave",
2648+
"format" : "double"
2649+
},
2650+
"typeOfUnits" : {
2651+
"type" : "string",
2652+
"description" : "The type of units paid for the leave"
2653+
},
2654+
"typeOfUnitsTaken" : {
2655+
"type" : "string",
2656+
"description" : "The type of units taken for the leave"
2657+
},
26102658
"periodStatus" : {
26112659
"type" : "string",
2612-
"description" : "Period Status",
2613-
"enum" : [ "Approved", "Completed" ]
2660+
"description" : "Status of leave",
2661+
"enum" : [ "Approved", "Completed", "Estimated" ]
26142662
}
26152663
},
26162664
"description" : ""
@@ -2665,6 +2713,14 @@
26652713
"isActive" : {
26662714
"type" : "boolean",
26672715
"description" : "Shows whether the leave type is active or not"
2716+
},
2717+
"typeOfUnits" : {
2718+
"type" : "string",
2719+
"description" : "The type of units to be paid for the leave type"
2720+
},
2721+
"typeOfUnitsToAccrue" : {
2722+
"type" : "string",
2723+
"description" : "The type of units to be accrued for the leave type"
26682724
}
26692725
},
26702726
"description" : ""
@@ -4027,7 +4083,7 @@
40274083
<nav id="scrollingNav">
40284084
<ul class="sidenav nav nav-list">
40294085
<li class="nav-header" data-group="PayrollNz"><strong>SDK: </strong><span id='sdk-name'></span></li>
4030-
<li class="nav-header" data-group="PayrollNz"><strong>VSN: </strong>8.3.0</li>
4086+
<li class="nav-header" data-group="PayrollNz"><strong>VSN: </strong>9.0.0</li>
40314087
<li class="nav-header" data-group="PayrollNz"><a href="#api-PayrollNz">Methods</a></li>
40324088
<li data-group="PayrollNz" data-name="approveTimesheet" class="">
40334089
<a href="#api-PayrollNz-approveTimesheet">approveTimesheet</a>

docs/v4/payroll-uk/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3513,7 +3513,7 @@
35133513
<nav id="scrollingNav">
35143514
<ul class="sidenav nav nav-list">
35153515
<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>8.3.0</li>
3516+
<li class="nav-header" data-group="PayrollUk"><strong>VSN: </strong>9.0.0</li>
35173517
<li class="nav-header" data-group="PayrollUk"><a href="#api-PayrollUk">Methods</a></li>
35183518
<li data-group="PayrollUk" data-name="approveTimesheet" class="">
35193519
<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>8.3.0</version>
8+
<version>9.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: 6.3.0
5+
* The version of the OpenAPI document: 7.0.0
66
* Contact: api@xero.com
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 = "8.3.0";
105+
private String version = "9.0.0";
106106
static final Logger logger = LoggerFactory.getLogger(AccountingApi.class);
107107

108108
/** AccountingApi */

0 commit comments

Comments
 (0)