From 8ad178ac9050efdbf00449dbc07ccd77f76fda28 Mon Sep 17 00:00:00 2001 From: Github Actions Date: Mon, 3 Nov 2025 22:34:33 +0000 Subject: [PATCH] chore: release new SDK versions based on update OpenAPI Spec (#397) --- Gemfile.lock | 2 +- docs/accounting/Contact.md | 2 + docs/accounting/index.html | 11 +- docs/app_store/index.html | 2 +- docs/assets/BookDepreciationDetail.md | 12 +- docs/assets/index.html | 31 ++- docs/files/index.html | 2 +- docs/finance/index.html | 2 +- docs/payroll_au/index.html | 2 +- docs/payroll_nz/Employee.md | 8 +- docs/payroll_nz/EmployeeLeaveSetup.md | 4 +- docs/payroll_nz/EmployeeLeaveType.md | 2 +- docs/payroll_nz/Employment.md | 2 +- docs/payroll_nz/PayrollNzApi.md | 72 ------- docs/payroll_nz/index.html | 185 +----------------- docs/payroll_uk/Employee.md | 6 +- docs/payroll_uk/EmployeeLeaveType.md | 2 +- docs/payroll_uk/NICategory.md | 4 +- docs/payroll_uk/PayrollUkApi.md | 72 ------- docs/payroll_uk/index.html | 185 +----------------- docs/projects/index.html | 2 +- lib/xero-ruby/api/payroll_nz_api.rb | 86 -------- lib/xero-ruby/api/payroll_uk_api.rb | 86 -------- lib/xero-ruby/models/accounting/contact.rb | 28 ++- .../models/assets/book_depreciation_detail.rb | 58 +++++- lib/xero-ruby/version.rb | 4 +- 26 files changed, 156 insertions(+), 716 deletions(-) diff --git a/Gemfile.lock b/Gemfile.lock index a2ae6c33..0127f4a4 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,7 +1,7 @@ PATH remote: . specs: - xero-ruby (12.1.0) + xero-ruby (12.2.0) faraday (>= 2.0, < 3.0) json (~> 2.1, >= 2.1.0) json-jwt (~> 1.16, >= 1.16.3) diff --git a/docs/accounting/Contact.md b/docs/accounting/Contact.md index 40a79147..040aea7f 100644 --- a/docs/accounting/Contact.md +++ b/docs/accounting/Contact.md @@ -17,6 +17,7 @@ Name | Type | Description | Notes **contact_persons** | [**Array<ContactPerson>**](ContactPerson.md) | See contact persons | [optional] **bank_account_details** | **String** | Bank account number of contact | [optional] **tax_number** | **String** | Tax number of contact – this is also known as the ABN (Australia), GST Number (New Zealand), VAT Number (UK) or Tax ID Number (US and global) in the Xero UI depending on which regionalized version of Xero you are using (max length = 50) | [optional] +**tax_number_type** | **String** | Identifier of the regional type of tax number, such as US, UK, or other regional tax identifiers | [optional] **accounts_receivable_tax_type** | **String** | The tax type from TaxRates | [optional] **accounts_payable_tax_type** | **String** | The tax type from TaxRates | [optional] **addresses** | [**Array<Address>**](Address.md) | Store certain address types for a contact – see address types | [optional] @@ -65,6 +66,7 @@ instance = XeroRuby::Accounting::Contact.new(contact_id: null, contact_persons: null, bank_account_details: null, tax_number: null, + tax_number_type: null, accounts_receivable_tax_type: null, accounts_payable_tax_type: null, addresses: null, diff --git a/docs/accounting/index.html b/docs/accounting/index.html index a1197b47..d54e23fa 100644 --- a/docs/accounting/index.html +++ b/docs/accounting/index.html @@ -2104,6 +2104,11 @@ "type" : "string", "description" : "Tax number of contact – this is also known as the ABN (Australia), GST Number (New Zealand), VAT Number (UK) or Tax ID Number (US and global) in the Xero UI depending on which regionalized version of Xero you are using (max length = 50)" }, + "TaxNumberType" : { + "type" : "string", + "description" : "Identifier of the regional type of tax number, such as US, UK, or other regional tax identifiers", + "enum" : [ "SSN", "EIN", "ITIN", "ATIN" ] + }, "AccountsReceivableTaxType" : { "type" : "string", "description" : "The tax type from TaxRates" @@ -6339,7 +6344,7 @@