diff --git a/docs/v4/accounting/index.html b/docs/v4/accounting/index.html index 3f15e1d5..de938103 100644 --- a/docs/v4/accounting/index.html +++ b/docs/v4/accounting/index.html @@ -6335,7 +6335,7 @@ SDK: - VSN: 10.1.0 + VSN: 10.2.0 Methods createAccount diff --git a/docs/v4/appstore/index.html b/docs/v4/appstore/index.html index 57bbb307..7e2fdbe9 100644 --- a/docs/v4/appstore/index.html +++ b/docs/v4/appstore/index.html @@ -1237,7 +1237,7 @@ SDK: - VSN: 10.1.0 + VSN: 10.2.0 Methods getSubscription diff --git a/docs/v4/assets/index.html b/docs/v4/assets/index.html index d318ce72..dea1009d 100644 --- a/docs/v4/assets/index.html +++ b/docs/v4/assets/index.html @@ -1388,7 +1388,7 @@ SDK: - VSN: 10.1.0 + VSN: 10.2.0 Methods createAsset diff --git a/docs/v4/files/index.html b/docs/v4/files/index.html index 6db75c61..034ffbef 100644 --- a/docs/v4/files/index.html +++ b/docs/v4/files/index.html @@ -1144,7 +1144,7 @@ SDK: - VSN: 10.1.0 + VSN: 10.2.0 Methods createFileAssociation diff --git a/docs/v4/finance/index.html b/docs/v4/finance/index.html index cf44100f..5caea966 100644 --- a/docs/v4/finance/index.html +++ b/docs/v4/finance/index.html @@ -2712,7 +2712,7 @@ SDK: - VSN: 10.1.0 + VSN: 10.2.0 Methods getAccountingActivityAccountUsage diff --git a/docs/v4/payroll-au/index.html b/docs/v4/payroll-au/index.html index b8cd5b4f..7c1f535e 100644 --- a/docs/v4/payroll-au/index.html +++ b/docs/v4/payroll-au/index.html @@ -3411,7 +3411,7 @@ SDK: - VSN: 10.1.0 + VSN: 10.2.0 Methods approveLeaveApplication diff --git a/docs/v4/payroll-nz/index.html b/docs/v4/payroll-nz/index.html index 0192cba3..3c156d55 100644 --- a/docs/v4/payroll-nz/index.html +++ b/docs/v4/payroll-nz/index.html @@ -4083,7 +4083,7 @@ SDK: - VSN: 10.1.0 + VSN: 10.2.0 Methods approveTimesheet diff --git a/docs/v4/payroll-uk/index.html b/docs/v4/payroll-uk/index.html index fdd2fd96..c6d2fd60 100644 --- a/docs/v4/payroll-uk/index.html +++ b/docs/v4/payroll-uk/index.html @@ -1952,7 +1952,7 @@ "leaveType" : { "type" : "string", "description" : "The type of statutory leave", - "enum" : [ "Sick", "Adoption", "Maternity", "Paternity", "Sharedparental" ] + "enum" : [ "Sick", "Adoption", "Maternity", "Paternity", "Sharedparental", "Bereavement" ] }, "balanceRemaining" : { "type" : "number", @@ -2000,7 +2000,7 @@ "type" : { "type" : "string", "description" : "The category of statutory leave", - "enum" : [ "Sick", "Adoption", "Maternity", "Paternity", "Sharedparental" ] + "enum" : [ "Sick", "Adoption", "Maternity", "Paternity", "Sharedparental", "Bereavement" ] }, "startDate" : { "type" : "string", @@ -3596,7 +3596,7 @@ SDK: - VSN: 10.1.0 + VSN: 10.2.0 Methods approveTimesheet diff --git a/pom.xml b/pom.xml index 3ef51e9d..c30114eb 100644 --- a/pom.xml +++ b/pom.xml @@ -5,7 +5,7 @@ xero-java jar xero-java - 10.1.0 + 10.2.0 https://github.com/XeroAPI/Xero-Java This is the official Java SDK for Xero API diff --git a/src/main/java/com/xero/api/client/AccountingApi.java b/src/main/java/com/xero/api/client/AccountingApi.java index a6bd2283..1fa15e7f 100644 --- a/src/main/java/com/xero/api/client/AccountingApi.java +++ b/src/main/java/com/xero/api/client/AccountingApi.java @@ -2,7 +2,7 @@ * Xero Accounting API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 8.1.0 + * The version of the OpenAPI document: 8.2.0 * Contact: api@xero.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -102,7 +102,7 @@ public class AccountingApi { private ApiClient apiClient; private static AccountingApi instance = null; private String userAgent = "Default"; - private String version = "10.1.0"; + private String version = "10.2.0"; static final Logger logger = LoggerFactory.getLogger(AccountingApi.class); /** AccountingApi */ diff --git a/src/main/java/com/xero/api/client/AppStoreApi.java b/src/main/java/com/xero/api/client/AppStoreApi.java index aed19449..88a85418 100644 --- a/src/main/java/com/xero/api/client/AppStoreApi.java +++ b/src/main/java/com/xero/api/client/AppStoreApi.java @@ -2,7 +2,7 @@ * Xero AppStore API * These endpoints are for Xero Partners to interact with the App Store Billing platform * - * The version of the OpenAPI document: 8.1.0 + * The version of the OpenAPI document: 8.2.0 * Contact: api@xero.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -46,7 +46,7 @@ public class AppStoreApi { private ApiClient apiClient; private static AppStoreApi instance = null; private String userAgent = "Default"; - private String version = "10.1.0"; + private String version = "10.2.0"; static final Logger logger = LoggerFactory.getLogger(AppStoreApi.class); /** AppStoreApi */ diff --git a/src/main/java/com/xero/api/client/AssetApi.java b/src/main/java/com/xero/api/client/AssetApi.java index 24e96ee8..e46c2edd 100644 --- a/src/main/java/com/xero/api/client/AssetApi.java +++ b/src/main/java/com/xero/api/client/AssetApi.java @@ -2,7 +2,7 @@ * Xero Assets API * 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. * - * The version of the OpenAPI document: 8.1.0 + * The version of the OpenAPI document: 8.2.0 * Contact: api@xero.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -49,7 +49,7 @@ public class AssetApi { private ApiClient apiClient; private static AssetApi instance = null; private String userAgent = "Default"; - private String version = "10.1.0"; + private String version = "10.2.0"; static final Logger logger = LoggerFactory.getLogger(AssetApi.class); /** AssetApi */ diff --git a/src/main/java/com/xero/api/client/BankFeedsApi.java b/src/main/java/com/xero/api/client/BankFeedsApi.java index a76d9b62..44a32c6e 100644 --- a/src/main/java/com/xero/api/client/BankFeedsApi.java +++ b/src/main/java/com/xero/api/client/BankFeedsApi.java @@ -2,7 +2,7 @@ * Xero Bank Feeds API * 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. * - * The version of the OpenAPI document: 8.1.0 + * The version of the OpenAPI document: 8.2.0 * Contact: api@xero.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -48,7 +48,7 @@ public class BankFeedsApi { private ApiClient apiClient; private static BankFeedsApi instance = null; private String userAgent = "Default"; - private String version = "10.1.0"; + private String version = "10.2.0"; static final Logger logger = LoggerFactory.getLogger(BankFeedsApi.class); /** BankFeedsApi */ diff --git a/src/main/java/com/xero/api/client/FilesApi.java b/src/main/java/com/xero/api/client/FilesApi.java index d3b6f777..133881c3 100644 --- a/src/main/java/com/xero/api/client/FilesApi.java +++ b/src/main/java/com/xero/api/client/FilesApi.java @@ -2,7 +2,7 @@ * Xero Files API * These endpoints are specific to Xero Files API * - * The version of the OpenAPI document: 8.1.0 + * The version of the OpenAPI document: 8.2.0 * Contact: api@xero.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -54,7 +54,7 @@ public class FilesApi { private ApiClient apiClient; private static FilesApi instance = null; private String userAgent = "Default"; - private String version = "10.1.0"; + private String version = "10.2.0"; static final Logger logger = LoggerFactory.getLogger(FilesApi.class); /** FilesApi */ diff --git a/src/main/java/com/xero/api/client/FinanceApi.java b/src/main/java/com/xero/api/client/FinanceApi.java index e331eba4..13c3b1d8 100644 --- a/src/main/java/com/xero/api/client/FinanceApi.java +++ b/src/main/java/com/xero/api/client/FinanceApi.java @@ -2,7 +2,7 @@ * Xero Finance API * 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. * - * The version of the OpenAPI document: 8.1.0 + * The version of the OpenAPI document: 8.2.0 * Contact: api@xero.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -53,7 +53,7 @@ public class FinanceApi { private ApiClient apiClient; private static FinanceApi instance = null; private String userAgent = "Default"; - private String version = "10.1.0"; + private String version = "10.2.0"; static final Logger logger = LoggerFactory.getLogger(FinanceApi.class); /** FinanceApi */ diff --git a/src/main/java/com/xero/api/client/IdentityApi.java b/src/main/java/com/xero/api/client/IdentityApi.java index 0c554788..b8f26b61 100644 --- a/src/main/java/com/xero/api/client/IdentityApi.java +++ b/src/main/java/com/xero/api/client/IdentityApi.java @@ -2,7 +2,7 @@ * Xero OAuth 2 Identity Service API * These endpoints are related to managing authentication tokens and identity for Xero API * - * The version of the OpenAPI document: 8.1.0 + * The version of the OpenAPI document: 8.2.0 * Contact: api@xero.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -45,7 +45,7 @@ public class IdentityApi { private ApiClient apiClient; private static IdentityApi instance = null; private String userAgent = "Default"; - private String version = "10.1.0"; + private String version = "10.2.0"; static final Logger logger = LoggerFactory.getLogger(IdentityApi.class); /** IdentityApi */ diff --git a/src/main/java/com/xero/api/client/PayrollAuApi.java b/src/main/java/com/xero/api/client/PayrollAuApi.java index b90c9811..e1dd2720 100644 --- a/src/main/java/com/xero/api/client/PayrollAuApi.java +++ b/src/main/java/com/xero/api/client/PayrollAuApi.java @@ -2,7 +2,7 @@ * Xero Payroll AU API * This is the Xero Payroll API for orgs in Australia region. * - * The version of the OpenAPI document: 8.1.0 + * The version of the OpenAPI document: 8.2.0 * Contact: api@xero.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -65,7 +65,7 @@ public class PayrollAuApi { private ApiClient apiClient; private static PayrollAuApi instance = null; private String userAgent = "Default"; - private String version = "10.1.0"; + private String version = "10.2.0"; static final Logger logger = LoggerFactory.getLogger(PayrollAuApi.class); /** PayrollAuApi */ diff --git a/src/main/java/com/xero/api/client/PayrollNzApi.java b/src/main/java/com/xero/api/client/PayrollNzApi.java index 5c47762f..9fc8c585 100644 --- a/src/main/java/com/xero/api/client/PayrollNzApi.java +++ b/src/main/java/com/xero/api/client/PayrollNzApi.java @@ -2,7 +2,7 @@ * Xero Payroll NZ * This is the Xero Payroll API for orgs in the NZ region. * - * The version of the OpenAPI document: 8.1.0 + * The version of the OpenAPI document: 8.2.0 * Contact: api@xero.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -109,7 +109,7 @@ public class PayrollNzApi { private ApiClient apiClient; private static PayrollNzApi instance = null; private String userAgent = "Default"; - private String version = "10.1.0"; + private String version = "10.2.0"; static final Logger logger = LoggerFactory.getLogger(PayrollNzApi.class); /** PayrollNzApi */ diff --git a/src/main/java/com/xero/api/client/PayrollUkApi.java b/src/main/java/com/xero/api/client/PayrollUkApi.java index 2715e9bd..5f028cff 100644 --- a/src/main/java/com/xero/api/client/PayrollUkApi.java +++ b/src/main/java/com/xero/api/client/PayrollUkApi.java @@ -2,7 +2,7 @@ * Xero Payroll UK * This is the Xero Payroll API for orgs in the UK region. * - * The version of the OpenAPI document: 8.1.0 + * The version of the OpenAPI document: 8.2.0 * Contact: api@xero.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -106,7 +106,7 @@ public class PayrollUkApi { private ApiClient apiClient; private static PayrollUkApi instance = null; private String userAgent = "Default"; - private String version = "10.1.0"; + private String version = "10.2.0"; static final Logger logger = LoggerFactory.getLogger(PayrollUkApi.class); /** PayrollUkApi */ diff --git a/src/main/java/com/xero/api/client/ProjectApi.java b/src/main/java/com/xero/api/client/ProjectApi.java index 76e9b82b..3cd2f5bf 100644 --- a/src/main/java/com/xero/api/client/ProjectApi.java +++ b/src/main/java/com/xero/api/client/ProjectApi.java @@ -2,7 +2,7 @@ * Xero Projects API * This is the Xero Projects API * - * The version of the OpenAPI document: 8.1.0 + * The version of the OpenAPI document: 8.2.0 * Contact: api@xero.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -57,7 +57,7 @@ public class ProjectApi { private ApiClient apiClient; private static ProjectApi instance = null; private String userAgent = "Default"; - private String version = "10.1.0"; + private String version = "10.2.0"; static final Logger logger = LoggerFactory.getLogger(ProjectApi.class); /** ProjectApi */ diff --git a/src/main/java/com/xero/models/payrolluk/EmployeeStatutoryLeaveBalance.java b/src/main/java/com/xero/models/payrolluk/EmployeeStatutoryLeaveBalance.java index df8a60f6..dea8131c 100644 --- a/src/main/java/com/xero/models/payrolluk/EmployeeStatutoryLeaveBalance.java +++ b/src/main/java/com/xero/models/payrolluk/EmployeeStatutoryLeaveBalance.java @@ -36,7 +36,10 @@ public enum LeaveTypeEnum { PATERNITY("Paternity"), /** SHAREDPARENTAL */ - SHAREDPARENTAL("Sharedparental"); + SHAREDPARENTAL("Sharedparental"), + + /** BEREAVEMENT */ + BEREAVEMENT("Bereavement"); private String value; diff --git a/src/main/java/com/xero/models/payrolluk/EmployeeStatutoryLeaveSummary.java b/src/main/java/com/xero/models/payrolluk/EmployeeStatutoryLeaveSummary.java index d7e2920a..d3a936d9 100644 --- a/src/main/java/com/xero/models/payrolluk/EmployeeStatutoryLeaveSummary.java +++ b/src/main/java/com/xero/models/payrolluk/EmployeeStatutoryLeaveSummary.java @@ -44,7 +44,10 @@ public enum TypeEnum { PATERNITY("Paternity"), /** SHAREDPARENTAL */ - SHAREDPARENTAL("Sharedparental"); + SHAREDPARENTAL("Sharedparental"), + + /** BEREAVEMENT */ + BEREAVEMENT("Bereavement"); private String value;