Skip to content

Commit dae2c8f

Browse files
committed
[PETOSS-856] Remove content type header (#402)
Reverts part of #378
1 parent 20e6ce4 commit dae2c8f

File tree

14 files changed

+20
-182
lines changed

14 files changed

+20
-182
lines changed

docs/v4/payroll-nz/index.html

Lines changed: 3 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1680,20 +1680,6 @@
16801680
"example" : 10.0,
16811681
"x-is-money" : true
16821682
},
1683-
"sickLeaveHoursToAccrueAnnually" : {
1684-
"type" : "number",
1685-
"description" : "Deprecated use SickLeaveToAccrueAnnually",
1686-
"format" : "double",
1687-
"example" : 100.5,
1688-
"x-is-money" : true
1689-
},
1690-
"sickLeaveMaximumHoursToAccrue" : {
1691-
"type" : "number",
1692-
"description" : "Deprecated use SickLeaveMaximumToAccrue",
1693-
"format" : "double",
1694-
"example" : 200.5,
1695-
"x-is-money" : true
1696-
},
16971683
"SickLeaveToAccrueAnnually" : {
16981684
"type" : "number",
16991685
"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",
@@ -1767,13 +1753,7 @@
17671753
"description" : "The schedule of accrual",
17681754
"enum" : [ "AnnuallyAfter6Months", "OnAnniversaryDate", "PercentageOfGrossEarnings", "NoAccruals" ]
17691755
},
1770-
"hoursAccruedAnnually" : {
1771-
"type" : "number",
1772-
"description" : "Deprecated use UnitsAccruedAnnually",
1773-
"format" : "double",
1774-
"x-is-money" : true
1775-
},
1776-
"UnitsAccruedAnnually" : {
1756+
"unitsAccruedAnnually" : {
17771757
"type" : "number",
17781758
"description" : "The number of units accrued for the leave annually. This is 0 when the ScheduleOfAccrual chosen is \"NoAccruals\"",
17791759
"format" : "double",
@@ -1801,7 +1781,7 @@
18011781
},
18021782
"rateAccruedHourly" : {
18031783
"type" : "number",
1804-
"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\"",
1784+
"description" : "not supported in Payroll NZ",
18051785
"format" : "double",
18061786
"x-is-money" : true
18071787
},
@@ -5400,8 +5380,6 @@ <h3>Usage and SDK Samples</h3>
54005380
employeeLeaveSetup.setIncludeHolidayPay(false);
54015381
employeeLeaveSetup.setHolidayPayOpeningBalance(10.5);
54025382
employeeLeaveSetup.setAnnualLeaveOpeningBalance(25.89);
5403-
employeeLeaveSetup.setSickLeaveHoursToAccrueAnnually(100.0);
5404-
employeeLeaveSetup.setSickLeaveMaximumHoursToAccrue(200.0);
54055383
employeeLeaveSetup.setSickLeaveOpeningBalance(10.5);
54065384
employeeLeaveSetup.setSickLeaveToAccrueAnnually(100.0);
54075385
employeeLeaveSetup.setSickLeaveMaximumToAccrue(200.0);
@@ -5545,7 +5523,6 @@ <h2>Parameters</h2>
55455523
"example" : {
55465524
"holidayPayOpeningBalance" : 10,
55475525
"annualLeaveOpeningBalance" : 100,
5548-
"sickLeaveHoursToAccrueAnnually" : 20,
55495526
"sickLeaveToAccrueAnnually" : 20,
55505527
"sickLeaveOpeningBalance" : 10,
55515528
"sickLeaveScheduleOfAccrual" : "OnAnniversaryDate",
@@ -5744,13 +5721,12 @@ <h2>Parameters</h2>
57445721
"example" : {
57455722
"leaveTypeID" : "35da97ae-05b9-427f-9a98-69157ba42cec",
57465723
"scheduleOfAccrual" : "AnnuallyAfter6Months",
5747-
"hoursAccruedAnnually" : 10,
57485724
"unitsAccruedAnnually" : 10,
57495725
"typeOfUnitsToAccrue" : "Hours",
57505726
"openingBalanceTypeOfUnits" : "Hours",
57515727
"maximumToAccrue" : 80,
57525728
"openingBalance" : 100,
5753-
"rateAccruedHourly" : 3.5
5729+
"rateAccruedHourly" : null
57545730
}
57555731
}
57565732
},

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

Lines changed: 1 addition & 1 deletion
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.3.0
5+
* The version of the OpenAPI document: 10.0.0
66
* Contact: [email protected]
77
*
88
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).

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

Lines changed: 1 addition & 1 deletion
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: 9.3.0
5+
* The version of the OpenAPI document: 10.0.0
66
* Contact: [email protected]
77
*
88
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).

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

Lines changed: 1 addition & 1 deletion
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: 9.3.0
5+
* The version of the OpenAPI document: 10.0.0
66
* Contact: [email protected]
77
*
88
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).

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

Lines changed: 1 addition & 1 deletion
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: 9.3.0
5+
* The version of the OpenAPI document: 10.0.0
66
* Contact: [email protected]
77
*
88
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).

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

Lines changed: 1 addition & 1 deletion
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: 9.3.0
5+
* The version of the OpenAPI document: 10.0.0
66
* Contact: [email protected]
77
*
88
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).

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

Lines changed: 1 addition & 1 deletion
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: 9.3.0
5+
* The version of the OpenAPI document: 10.0.0
66
* Contact: [email protected]
77
*
88
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).

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

Lines changed: 1 addition & 1 deletion
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: 9.3.0
5+
* The version of the OpenAPI document: 10.0.0
66
* Contact: [email protected]
77
*
88
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).

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

Lines changed: 1 addition & 1 deletion
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: 9.3.0
5+
* The version of the OpenAPI document: 10.0.0
66
* Contact: [email protected]
77
*
88
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).

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

Lines changed: 1 addition & 1 deletion
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: 9.3.0
5+
* The version of the OpenAPI document: 10.0.0
66
* Contact: [email protected]
77
*
88
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).

0 commit comments

Comments
 (0)