diff --git a/docs/v4/account-data/index.html b/docs/v4/account-data/index.html index 2d68ad97..ffd73113 100644 --- a/docs/v4/account-data/index.html +++ b/docs/v4/account-data/index.html @@ -1450,7 +1450,7 @@ SDK: - VSN: 18.5.1 + VSN: 19.0.0 Methods getAccountBalances diff --git a/docs/v4/accounting/index.html b/docs/v4/accounting/index.html index ff777eb7..9599d4fd 100644 --- a/docs/v4/accounting/index.html +++ b/docs/v4/accounting/index.html @@ -4299,8 +4299,8 @@ }, "Class" : { "type" : "string", - "description" : "Organisation Classes describe which plan the Xero organisation is on (e.g. DEMO, TRIAL, PREMIUM)", - "enum" : [ "DEMO", "TRIAL", "STARTER", "STANDARD", "PREMIUM", "PREMIUM_20", "PREMIUM_50", "PREMIUM_100", "LEDGER", "GST_CASHBOOK", "NON_GST_CASHBOOK", "ULTIMATE", "LITE", "ULTIMATE_10", "ULTIMATE_20", "ULTIMATE_50", "ULTIMATE_100", "IGNITE", "GROW", "COMPREHENSIVE", "SIMPLE", "BASICLITE", "ULTRA" ] + "description" : "Organisation Classes describe which plan the Xero organisation is on (e.g. DEMO, TRIAL, PREMIUM). This set may grow over time; treat unrecognised values as valid.", + "x-extensible-enum" : [ "DEMO", "TRIAL", "STARTER", "STANDARD", "PREMIUM", "PREMIUM_20", "PREMIUM_50", "PREMIUM_100", "LEDGER", "GST_CASHBOOK", "NON_GST_CASHBOOK", "ULTIMATE", "LITE", "ULTIMATE_10", "ULTIMATE_20", "ULTIMATE_50", "ULTIMATE_100", "IGNITE", "GROW", "COMPREHENSIVE", "SIMPLE", "BASICLITE", "ULTRA" ] }, "Edition" : { "type" : "string", @@ -6513,7 +6513,7 @@ SDK: - VSN: 18.5.1 + VSN: 19.0.0 Methods createAccount diff --git a/docs/v4/appstore/index.html b/docs/v4/appstore/index.html index 82b68881..affbc554 100644 --- a/docs/v4/appstore/index.html +++ b/docs/v4/appstore/index.html @@ -1240,7 +1240,7 @@ SDK: - VSN: 18.5.1 + VSN: 19.0.0 Methods getSubscription diff --git a/docs/v4/assets/index.html b/docs/v4/assets/index.html index 587a7319..f870ec9c 100644 --- a/docs/v4/assets/index.html +++ b/docs/v4/assets/index.html @@ -1418,7 +1418,7 @@ SDK: - VSN: 18.5.1 + VSN: 19.0.0 Methods createAsset diff --git a/docs/v4/bankfeeds-v2/index.html b/docs/v4/bankfeeds-v2/index.html index 657505de..22587281 100644 --- a/docs/v4/bankfeeds-v2/index.html +++ b/docs/v4/bankfeeds-v2/index.html @@ -1303,7 +1303,7 @@ SDK: - VSN: 18.5.1 + VSN: 19.0.0 Methods createFeedConnectionsForExistingAccounts diff --git a/docs/v4/files/index.html b/docs/v4/files/index.html index dba2d765..b0316ca6 100644 --- a/docs/v4/files/index.html +++ b/docs/v4/files/index.html @@ -1157,7 +1157,7 @@ SDK: - VSN: 18.5.1 + VSN: 19.0.0 Methods createFileAssociation diff --git a/docs/v4/finance/index.html b/docs/v4/finance/index.html index 08ae9631..ec597cdd 100644 --- a/docs/v4/finance/index.html +++ b/docs/v4/finance/index.html @@ -2374,7 +2374,7 @@ SDK: - VSN: 18.5.1 + VSN: 19.0.0 Methods getBankStatementAccounting diff --git a/docs/v4/payroll-au-v2/index.html b/docs/v4/payroll-au-v2/index.html index e238ece1..3c8748c5 100644 --- a/docs/v4/payroll-au-v2/index.html +++ b/docs/v4/payroll-au-v2/index.html @@ -1158,7 +1158,7 @@ SDK: - VSN: 18.5.1 + VSN: 19.0.0 Methods approveTimesheet diff --git a/docs/v4/payroll-au/index.html b/docs/v4/payroll-au/index.html index 67a95226..371da35f 100644 --- a/docs/v4/payroll-au/index.html +++ b/docs/v4/payroll-au/index.html @@ -3451,7 +3451,7 @@ SDK: - VSN: 18.5.1 + VSN: 19.0.0 Methods approveLeaveApplication diff --git a/docs/v4/payroll-nz/index.html b/docs/v4/payroll-nz/index.html index b4a04d54..4f78e14b 100644 --- a/docs/v4/payroll-nz/index.html +++ b/docs/v4/payroll-nz/index.html @@ -4078,7 +4078,7 @@ SDK: - VSN: 18.5.1 + VSN: 19.0.0 Methods approveTimesheet diff --git a/docs/v4/payroll-uk/index.html b/docs/v4/payroll-uk/index.html index 2596a006..7488e4fb 100644 --- a/docs/v4/payroll-uk/index.html +++ b/docs/v4/payroll-uk/index.html @@ -3699,7 +3699,7 @@ SDK: - VSN: 18.5.1 + VSN: 19.0.0 Methods approveTimesheet diff --git a/docs/v4/projects/index.html b/docs/v4/projects/index.html index c54ce839..a7b1be87 100644 --- a/docs/v4/projects/index.html +++ b/docs/v4/projects/index.html @@ -1461,7 +1461,7 @@ SDK: - VSN: 18.5.1 + VSN: 19.0.0 Methods createProject diff --git a/pom.xml b/pom.xml index db87c100..40b91f46 100644 --- a/pom.xml +++ b/pom.xml @@ -5,7 +5,7 @@ xero-java jar xero-java - 18.5.1 + 19.0.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/AccountDataApi.java b/src/main/java/com/xero/api/client/AccountDataApi.java index b48a1b36..12eaa22a 100644 --- a/src/main/java/com/xero/api/client/AccountDataApi.java +++ b/src/main/java/com/xero/api/client/AccountDataApi.java @@ -2,7 +2,7 @@ * Xero Account Data API (Beta) * **Beta:** this API is in beta. Endpoints, request parameters and response shapes may change before general availability. The Account Data API provides read access to general ledger account data for a Xero organisation: account balances as at a date, account movements over a date range, and the individual account transactions behind them. * - * The version of the OpenAPI document: 20.1.0 + * The version of the OpenAPI document: 21.0.0 * Contact: api@xero.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -45,7 +45,7 @@ public class AccountDataApi { private ApiClient apiClient; private static AccountDataApi instance = null; private String userAgent = "Default"; - private String version = "18.5.1"; + private String version = "19.0.0"; static final Logger logger = LoggerFactory.getLogger(AccountDataApi.class); /** AccountDataApi */ diff --git a/src/main/java/com/xero/api/client/AccountingApi.java b/src/main/java/com/xero/api/client/AccountingApi.java index 7d8c8fce..eae59305 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: 20.1.0 + * The version of the OpenAPI document: 21.0.0 * Contact: api@xero.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -103,7 +103,7 @@ public class AccountingApi { private ApiClient apiClient; private static AccountingApi instance = null; private String userAgent = "Default"; - private String version = "18.5.1"; + private String version = "19.0.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 5f46f569..d3ff9309 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: 20.1.0 + * The version of the OpenAPI document: 21.0.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 = "18.5.1"; + private String version = "19.0.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 980c545d..b372f316 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: 20.1.0 + * The version of the OpenAPI document: 21.0.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 = "18.5.1"; + private String version = "19.0.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 175c36b3..3c95ace0 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: 20.1.0 + * The version of the OpenAPI document: 21.0.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 = "18.5.1"; + private String version = "19.0.0"; static final Logger logger = LoggerFactory.getLogger(BankFeedsApi.class); /** BankFeedsApi */ diff --git a/src/main/java/com/xero/api/client/FeedConnectionsApi.java b/src/main/java/com/xero/api/client/FeedConnectionsApi.java index baa4d355..bfb81f38 100644 --- a/src/main/java/com/xero/api/client/FeedConnectionsApi.java +++ b/src/main/java/com/xero/api/client/FeedConnectionsApi.java @@ -2,7 +2,7 @@ * Xero Bank Feeds API v2 * The Bank Feeds API is available to financial institutions with a Xero partnership and approved app partners. For non-bank apps, it automates statement imports into Xero bank and credit card accounts; it does not create a direct bank feed. Feed Connections 2.0 is intended to replace 1.0. The customer chooses whether to connect an existing Xero account or create a new one. Use ExistingAccount with the chosen accountId, or NewAccount to create an account; Xero does not guess which account to connect or silently change an account name. The GET and delete operations also use 2.0. Statements continue to use 1.0. Partial failures are rare, and nearly all are recoverable by your app with no need to contact Xero support. If an item in a write response has `status` `PARTIAL_FAILURE`, handle only that item and read its `error.type`. For `partial-failure-new-account-creation`, do not resend the NewAccount item: connect `error.accountId` with `POST /FeedConnections/ExistingAccount`. For `partial-failure-new-account-existence-not-confirmed`, the account named in `error.accountName` may or may not exist. Use the Accounting API to check whether an account with that name exists. If it does, connect it with `POST /FeedConnections/ExistingAccount`. If it does not, resend the NewAccount item. If your app has a user, you can show them this message instead: \"Something went wrong. Please check whether your chosen account name now exists. If it does, connect it. If not, try creating the new one again.\" For any other `partial-failure-*` type, resend the same item. If the recovery request for `partial-failure-new-account-creation`, `partial-failure-previous-connection-deletion` or `partial-failure-connection-creation` returns 409 `feed-already-connected-in-current-organisation`, the earlier attempt succeeded: treat the item as created and use `GET /FeedConnections` to find its `id`. `error.subtype` is optional diagnostics; do not branch on it, and never parse `title` or `detail`. Full detail: https://developer.xero.com/documentation/api/bankfeeds/feedconnections-2-0-errors/#partial-failures * - * The version of the OpenAPI document: 20.1.0 + * The version of the OpenAPI document: 21.0.0 * Contact: api@xero.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -50,7 +50,7 @@ public class FeedConnectionsApi { private ApiClient apiClient; private static FeedConnectionsApi instance = null; private String userAgent = "Default"; - private String version = "18.5.1"; + private String version = "19.0.0"; static final Logger logger = LoggerFactory.getLogger(FeedConnectionsApi.class); /** FeedConnectionsApi */ diff --git a/src/main/java/com/xero/api/client/FilesApi.java b/src/main/java/com/xero/api/client/FilesApi.java index e237dc48..95eadfc8 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: 20.1.0 + * The version of the OpenAPI document: 21.0.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 = "18.5.1"; + private String version = "19.0.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 20b1825f..2a60d2de 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: 20.1.0 + * The version of the OpenAPI document: 21.0.0 * Contact: api@xero.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -49,7 +49,7 @@ public class FinanceApi { private ApiClient apiClient; private static FinanceApi instance = null; private String userAgent = "Default"; - private String version = "18.5.1"; + private String version = "19.0.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 4536f8dc..791fe62b 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: 20.1.0 + * The version of the OpenAPI document: 21.0.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 = "18.5.1"; + private String version = "19.0.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 d3932d5a..b74db0e5 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: 20.1.0 + * The version of the OpenAPI document: 21.0.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 = "18.5.1"; + private String version = "19.0.0"; static final Logger logger = LoggerFactory.getLogger(PayrollAuApi.class); /** PayrollAuApi */ diff --git a/src/main/java/com/xero/api/client/PayrollAuV2Api.java b/src/main/java/com/xero/api/client/PayrollAuV2Api.java index 0299cdf9..a0f01333 100644 --- a/src/main/java/com/xero/api/client/PayrollAuV2Api.java +++ b/src/main/java/com/xero/api/client/PayrollAuV2Api.java @@ -2,7 +2,7 @@ * Xero Payroll AU API 2.0 * This is the Xero Payroll API 2.0 for orgs in Australia region. * - * The version of the OpenAPI document: 20.1.0 + * The version of the OpenAPI document: 21.0.0 * Contact: api@xero.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -49,7 +49,7 @@ public class PayrollAuV2Api { private ApiClient apiClient; private static PayrollAuV2Api instance = null; private String userAgent = "Default"; - private String version = "18.5.1"; + private String version = "19.0.0"; static final Logger logger = LoggerFactory.getLogger(PayrollAuV2Api.class); /** PayrollAuV2Api */ diff --git a/src/main/java/com/xero/api/client/PayrollNzApi.java b/src/main/java/com/xero/api/client/PayrollNzApi.java index e9eb48e8..cf5916d7 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: 20.1.0 + * The version of the OpenAPI document: 21.0.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 = "18.5.1"; + private String version = "19.0.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 0b50f2e5..8946e56d 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: 20.1.0 + * The version of the OpenAPI document: 21.0.0 * Contact: api@xero.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -105,7 +105,7 @@ public class PayrollUkApi { private ApiClient apiClient; private static PayrollUkApi instance = null; private String userAgent = "Default"; - private String version = "18.5.1"; + private String version = "19.0.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 9385b63d..c8a0d019 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: 20.1.0 + * The version of the OpenAPI document: 21.0.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 = "18.5.1"; + private String version = "19.0.0"; static final Logger logger = LoggerFactory.getLogger(ProjectApi.class); /** ProjectApi */ diff --git a/src/main/java/com/xero/models/accounting/Organisation.java b/src/main/java/com/xero/models/accounting/Organisation.java index 8151baac..4726f3a7 100644 --- a/src/main/java/com/xero/models/accounting/Organisation.java +++ b/src/main/java/com/xero/models/accounting/Organisation.java @@ -1609,7 +1609,7 @@ public void setShortCode(String shortCode) { /** * Organisation Classes describe which plan the Xero organisation is on (e.g. DEMO, TRIAL, - * PREMIUM) + * PREMIUM). This set may grow over time; treat unrecognised values as valid. * * @param propertyClass String * @return Organisation @@ -1621,17 +1621,17 @@ public Organisation propertyClass(String propertyClass) { /** * Organisation Classes describe which plan the Xero organisation is on (e.g. DEMO, TRIAL, - * PREMIUM) + * PREMIUM). This set may grow over time; treat unrecognised values as valid. * * @return propertyClass */ @ApiModelProperty( value = "Organisation Classes describe which plan the Xero organisation is on (e.g. DEMO, TRIAL," - + " PREMIUM)") + + " PREMIUM). This set may grow over time; treat unrecognised values as valid.") /** * Organisation Classes describe which plan the Xero organisation is on (e.g. DEMO, TRIAL, - * PREMIUM) + * PREMIUM). This set may grow over time; treat unrecognised values as valid. * * @return propertyClass String */ @@ -1641,7 +1641,7 @@ public String getPropertyClass() { /** * Organisation Classes describe which plan the Xero organisation is on (e.g. DEMO, TRIAL, - * PREMIUM) + * PREMIUM). This set may grow over time; treat unrecognised values as valid. * * @param propertyClass String */