From 5a1e248c74898838e7a4aa18316a4e88d31d401a Mon Sep 17 00:00:00 2001 From: SidneyAllen Date: Wed, 17 Jun 2020 17:52:27 -0700 Subject: [PATCH] Build from OpenAPI spec 2.2.2 Update to version 0.2.3 --- setup.py | 2 +- xero_python/__init__.py | 2 +- xero_python/accounting/__init__.py | 2 +- xero_python/accounting/api/accounting_api.py | 7 +- xero_python/accounting/docs/AccountingApi.md | 6 +- xero_python/accounting/docs/Allocation.md | 5 + xero_python/accounting/docs/Organisation.md | 1 + xero_python/accounting/docs/Quote.md | 2 + xero_python/accounting/models/__init__.py | 2 +- xero_python/accounting/models/account.py | 2 +- xero_python/accounting/models/account_type.py | 2 +- xero_python/accounting/models/accounts.py | 2 +- .../accounting/models/accounts_payable.py | 2 +- .../accounting/models/accounts_receivable.py | 2 +- xero_python/accounting/models/address.py | 2 +- xero_python/accounting/models/allocation.py | 164 +++++++++++++++++- xero_python/accounting/models/allocations.py | 2 +- xero_python/accounting/models/attachment.py | 2 +- xero_python/accounting/models/attachments.py | 2 +- xero_python/accounting/models/balances.py | 2 +- .../accounting/models/bank_transaction.py | 2 +- .../accounting/models/bank_transactions.py | 2 +- .../accounting/models/bank_transfer.py | 2 +- .../accounting/models/bank_transfers.py | 2 +- .../accounting/models/batch_payment.py | 2 +- .../models/batch_payment_details.py | 2 +- .../accounting/models/batch_payments.py | 2 +- xero_python/accounting/models/bill.py | 2 +- .../accounting/models/branding_theme.py | 2 +- .../accounting/models/branding_themes.py | 2 +- .../accounting/models/cis_org_setting.py | 2 +- xero_python/accounting/models/cis_setting.py | 2 +- xero_python/accounting/models/cis_settings.py | 2 +- xero_python/accounting/models/contact.py | 2 +- .../accounting/models/contact_group.py | 2 +- .../accounting/models/contact_groups.py | 2 +- .../accounting/models/contact_person.py | 2 +- xero_python/accounting/models/contacts.py | 2 +- xero_python/accounting/models/country_code.py | 2 +- xero_python/accounting/models/credit_note.py | 2 +- xero_python/accounting/models/credit_notes.py | 2 +- xero_python/accounting/models/currencies.py | 2 +- xero_python/accounting/models/currency.py | 2 +- .../accounting/models/currency_code.py | 2 +- xero_python/accounting/models/element.py | 2 +- xero_python/accounting/models/employee.py | 2 +- xero_python/accounting/models/employees.py | 2 +- xero_python/accounting/models/error.py | 2 +- .../accounting/models/expense_claim.py | 2 +- .../accounting/models/expense_claims.py | 2 +- .../accounting/models/external_link.py | 2 +- .../accounting/models/history_record.py | 2 +- .../accounting/models/history_records.py | 2 +- xero_python/accounting/models/invoice.py | 2 +- .../accounting/models/invoice_reminder.py | 2 +- .../accounting/models/invoice_reminders.py | 2 +- xero_python/accounting/models/invoices.py | 2 +- xero_python/accounting/models/item.py | 2 +- xero_python/accounting/models/items.py | 2 +- xero_python/accounting/models/journal.py | 2 +- xero_python/accounting/models/journal_line.py | 2 +- xero_python/accounting/models/journals.py | 2 +- .../accounting/models/line_amount_types.py | 2 +- xero_python/accounting/models/line_item.py | 2 +- .../accounting/models/line_item_tracking.py | 2 +- .../accounting/models/linked_transaction.py | 2 +- .../accounting/models/linked_transactions.py | 2 +- .../accounting/models/manual_journal.py | 2 +- .../accounting/models/manual_journal_line.py | 2 +- .../accounting/models/manual_journals.py | 2 +- .../accounting/models/online_invoice.py | 2 +- .../accounting/models/online_invoices.py | 2 +- xero_python/accounting/models/organisation.py | 31 +++- .../accounting/models/organisations.py | 2 +- xero_python/accounting/models/overpayment.py | 2 +- xero_python/accounting/models/overpayments.py | 2 +- xero_python/accounting/models/payment.py | 2 +- .../accounting/models/payment_delete.py | 2 +- .../accounting/models/payment_service.py | 2 +- .../accounting/models/payment_services.py | 2 +- xero_python/accounting/models/payment_term.py | 2 +- .../accounting/models/payment_term_type.py | 2 +- xero_python/accounting/models/payments.py | 2 +- xero_python/accounting/models/phone.py | 2 +- xero_python/accounting/models/prepayment.py | 2 +- xero_python/accounting/models/prepayments.py | 2 +- xero_python/accounting/models/purchase.py | 2 +- .../accounting/models/purchase_order.py | 2 +- .../accounting/models/purchase_orders.py | 2 +- xero_python/accounting/models/quote.py | 60 ++++++- .../models/quote_line_amount_types.py | 2 +- .../accounting/models/quote_status_codes.py | 2 +- xero_python/accounting/models/quotes.py | 2 +- xero_python/accounting/models/receipt.py | 2 +- xero_python/accounting/models/receipts.py | 2 +- .../accounting/models/repeating_invoice.py | 2 +- .../accounting/models/repeating_invoices.py | 2 +- xero_python/accounting/models/report.py | 2 +- .../accounting/models/report_attribute.py | 2 +- xero_python/accounting/models/report_cell.py | 2 +- .../accounting/models/report_fields.py | 2 +- xero_python/accounting/models/report_row.py | 2 +- xero_python/accounting/models/report_rows.py | 2 +- .../accounting/models/report_with_row.py | 2 +- .../accounting/models/report_with_rows.py | 2 +- xero_python/accounting/models/reports.py | 2 +- .../accounting/models/request_empty.py | 2 +- xero_python/accounting/models/row_type.py | 2 +- .../models/sales_tracking_category.py | 2 +- xero_python/accounting/models/schedule.py | 4 +- .../accounting/models/tax_component.py | 2 +- xero_python/accounting/models/tax_rate.py | 22 ++- xero_python/accounting/models/tax_rates.py | 2 +- xero_python/accounting/models/tax_type.py | 2 +- .../models/ten_nintey_nine_contact.py | 2 +- xero_python/accounting/models/time_zone.py | 2 +- .../accounting/models/tracking_categories.py | 2 +- .../accounting/models/tracking_category.py | 2 +- .../accounting/models/tracking_option.py | 2 +- .../accounting/models/tracking_options.py | 2 +- xero_python/accounting/models/user.py | 2 +- xero_python/accounting/models/users.py | 2 +- .../accounting/models/validation_error.py | 2 +- xero_python/docs/README.md | 4 +- xero_python/identity/__init__.py | 2 +- xero_python/identity/api/identity_api.py | 2 +- xero_python/identity/models/__init__.py | 2 +- xero_python/identity/models/access_token.py | 2 +- xero_python/identity/models/connection.py | 2 +- xero_python/identity/models/refresh_token.py | 2 +- xero_python/rest.py | 2 +- 131 files changed, 411 insertions(+), 135 deletions(-) diff --git a/setup.py b/setup.py index 59f9b851..df78ad68 100644 --- a/setup.py +++ b/setup.py @@ -48,5 +48,5 @@ def read_file(filename): keywords="xero python sdk API oAuth", name="xero_python", packages=find_packages(include=["xero_python", "xero_python.*"]), - version="0.2.2", + version="0.2.3", ) diff --git a/xero_python/__init__.py b/xero_python/__init__.py index 741e93ee..b76edf2c 100644 --- a/xero_python/__init__.py +++ b/xero_python/__init__.py @@ -2,4 +2,4 @@ __author__ = """Xero Developer API""" __email__ = "api@xero.com" -__version__ = "0.2.2" +__version__ = "0.2.3" diff --git a/xero_python/accounting/__init__.py b/xero_python/accounting/__init__.py index 503b31c0..99dd1132 100644 --- a/xero_python/accounting/__init__.py +++ b/xero_python/accounting/__init__.py @@ -7,7 +7,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 2.1.6 + OpenAPI spec version: 2.2.2 Contact: api@xero.com Generated by: https://openapi-generator.tech """ diff --git a/xero_python/accounting/api/accounting_api.py b/xero_python/accounting/api/accounting_api.py index dff227a8..612e3d13 100644 --- a/xero_python/accounting/api/accounting_api.py +++ b/xero_python/accounting/api/accounting_api.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 2.1.6 + OpenAPI spec version: 2.2.2 Contact: api@xero.com Generated by: https://openapi-generator.tech """ @@ -11628,6 +11628,7 @@ def get_payments( if_modified_since=empty, where=empty, order=empty, + page=empty, _return_http_data_only=True, _preload_content=True, _request_timeout=None, @@ -11638,6 +11639,7 @@ def get_payments( :param datetime if_modified_since: Only records created or modified since this timestamp will be returned :param str where: Filter by an any element :param str order: Order by an any element + :param int page: Up to 100 payments will be returned in a single API call :param bool _return_http_data_only: return received data only :param bool _preload_content: load received data in models :param bool _request_timeout: maximum wait time for response @@ -11662,6 +11664,9 @@ def get_payments( if order is not empty: query_params.append(("order", order)) + if page is not empty: + query_params.append(("page", page)) + header_params = { "xero-tenant-id": xero_tenant_id, } diff --git a/xero_python/accounting/docs/AccountingApi.md b/xero_python/accounting/docs/AccountingApi.md index e400e070..be5120dc 100644 --- a/xero_python/accounting/docs/AccountingApi.md +++ b/xero_python/accounting/docs/AccountingApi.md @@ -9071,7 +9071,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **get_payments** -> Payments get_payments(xero_tenant_id, if_modified_since=if_modified_since, where=where, order=order) +> Payments get_payments(xero_tenant_id, if_modified_since=if_modified_since, where=where, order=order, page=page) Allows you to retrieve payments for invoices and credit notes @@ -9105,9 +9105,10 @@ xero_tenant_id = 'YOUR_XERO_TENANT_ID' # str | Xero identifier for Tenant if_modified_since = '2020-02-06T12:17:43.202-08:00' # datetime | Only records created or modified since this timestamp will be returned (optional) where = 'Status==\"' + Payment.StatusEnum.AUTHORISED + '\"' # str | Filter by an any element (optional) order = 'Amount ASC' # str | Order by an any element (optional) +page = 1 # int | Up to 100 payments will be returned in a single API call (optional) try: # Allows you to retrieve payments for invoices and credit notes - api_response = api_instance.get_payments(xero_tenant_id, if_modified_since=if_modified_since, where=where, order=order) + api_response = api_instance.get_payments(xero_tenant_id, if_modified_since=if_modified_since, where=where, order=order, page=page) pprint(api_response) except ApiException as e: print("Exception when calling AccountingApi->get_payments: %s\n" % e) @@ -9121,6 +9122,7 @@ Name | Type | Description | Notes **if_modified_since** | **datetime**| Only records created or modified since this timestamp will be returned | [optional] **where** | **str**| Filter by an any element | [optional] **order** | **str**| Order by an any element | [optional] + **page** | **int**| Up to 100 payments will be returned in a single API call | [optional] ### Return type diff --git a/xero_python/accounting/docs/Allocation.md b/xero_python/accounting/docs/Allocation.md index 0373cf35..d6b94be1 100644 --- a/xero_python/accounting/docs/Allocation.md +++ b/xero_python/accounting/docs/Allocation.md @@ -4,8 +4,13 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **invoice** | [**Invoice**](Invoice.md) | | +**overpayment** | [**Overpayment**](Overpayment.md) | | [optional] +**prepayment** | [**Prepayment**](Prepayment.md) | | [optional] +**credit_note** | [**CreditNote**](CreditNote.md) | | [optional] **amount** | **float** | the amount being applied to the invoice | **date** | **date** | the date the allocation is applied YYYY-MM-DD. | +**status_attribute_string** | **str** | A string to indicate if a invoice status | [optional] +**validation_errors** | [**list[ValidationError]**](ValidationError.md) | Displays array of validation error messages from the API | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/xero_python/accounting/docs/Organisation.md b/xero_python/accounting/docs/Organisation.md index e68f47f5..34d6c188 100644 --- a/xero_python/accounting/docs/Organisation.md +++ b/xero_python/accounting/docs/Organisation.md @@ -15,6 +15,7 @@ Name | Type | Description | Notes **is_demo_company** | **bool** | Boolean to describe if organisation is a demo company. | [optional] **organisation_status** | **str** | Will be set to ACTIVE if you can connect to organisation via the Xero API | [optional] **registration_number** | **str** | Shows for New Zealand, Australian and UK organisations | [optional] +**employer_identification_number** | **str** | Shown if set. US Only. | [optional] **tax_number** | **str** | Shown if set. Displays in the Xero UI as Tax File Number (AU), GST Number (NZ), VAT Number (UK) and Tax ID Number (US & Global). | [optional] **financial_year_end_day** | **int** | Calendar day e.g. 0-31 | [optional] **financial_year_end_month** | **int** | Calendar Month e.g. 1-12 | [optional] diff --git a/xero_python/accounting/docs/Quote.md b/xero_python/accounting/docs/Quote.md index 26eb5510..acf4ce31 100644 --- a/xero_python/accounting/docs/Quote.md +++ b/xero_python/accounting/docs/Quote.md @@ -25,6 +25,8 @@ Name | Type | Description | Notes **branding_theme_id** | **str** | See BrandingThemes | [optional] **updated_date_utc** | **datetime** | Last modified date UTC format | [optional] **line_amount_types** | [**QuoteLineAmountTypes**](QuoteLineAmountTypes.md) | | [optional] +**status_attribute_string** | **str** | A string to indicate if a invoice status | [optional] +**validation_errors** | [**list[ValidationError]**](ValidationError.md) | Displays array of validation error messages from the API | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/xero_python/accounting/models/__init__.py b/xero_python/accounting/models/__init__.py index ae9edda4..fcb9e264 100644 --- a/xero_python/accounting/models/__init__.py +++ b/xero_python/accounting/models/__init__.py @@ -6,7 +6,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 2.1.6 + OpenAPI spec version: 2.2.2 Contact: api@xero.com Generated by: https://openapi-generator.tech """ diff --git a/xero_python/accounting/models/account.py b/xero_python/accounting/models/account.py index a102775d..a1ae8556 100644 --- a/xero_python/accounting/models/account.py +++ b/xero_python/accounting/models/account.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 2.1.6 + OpenAPI spec version: 2.2.2 Contact: api@xero.com Generated by: https://openapi-generator.tech """ diff --git a/xero_python/accounting/models/account_type.py b/xero_python/accounting/models/account_type.py index 18b290e9..c059d024 100644 --- a/xero_python/accounting/models/account_type.py +++ b/xero_python/accounting/models/account_type.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 2.1.6 + OpenAPI spec version: 2.2.2 Contact: api@xero.com Generated by: https://openapi-generator.tech """ diff --git a/xero_python/accounting/models/accounts.py b/xero_python/accounting/models/accounts.py index e7fce027..12a58a3a 100644 --- a/xero_python/accounting/models/accounts.py +++ b/xero_python/accounting/models/accounts.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 2.1.6 + OpenAPI spec version: 2.2.2 Contact: api@xero.com Generated by: https://openapi-generator.tech """ diff --git a/xero_python/accounting/models/accounts_payable.py b/xero_python/accounting/models/accounts_payable.py index 062b8dfa..5adcae43 100644 --- a/xero_python/accounting/models/accounts_payable.py +++ b/xero_python/accounting/models/accounts_payable.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 2.1.6 + OpenAPI spec version: 2.2.2 Contact: api@xero.com Generated by: https://openapi-generator.tech """ diff --git a/xero_python/accounting/models/accounts_receivable.py b/xero_python/accounting/models/accounts_receivable.py index 1e7d8a1d..8e705833 100644 --- a/xero_python/accounting/models/accounts_receivable.py +++ b/xero_python/accounting/models/accounts_receivable.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 2.1.6 + OpenAPI spec version: 2.2.2 Contact: api@xero.com Generated by: https://openapi-generator.tech """ diff --git a/xero_python/accounting/models/address.py b/xero_python/accounting/models/address.py index 6c81f9b0..051bd04d 100644 --- a/xero_python/accounting/models/address.py +++ b/xero_python/accounting/models/address.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 2.1.6 + OpenAPI spec version: 2.2.2 Contact: api@xero.com Generated by: https://openapi-generator.tech """ diff --git a/xero_python/accounting/models/allocation.py b/xero_python/accounting/models/allocation.py index 07936886..1f03c43a 100644 --- a/xero_python/accounting/models/allocation.py +++ b/xero_python/accounting/models/allocation.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 2.1.6 + OpenAPI spec version: 2.2.2 Contact: api@xero.com Generated by: https://openapi-generator.tech """ @@ -30,21 +30,64 @@ class Allocation(BaseModel): attribute_map (dict): The key is attribute name and the value is json key in definition. """ - openapi_types = {"invoice": "Invoice", "amount": "float", "date": "date[ms-format]"} - - attribute_map = {"invoice": "Invoice", "amount": "Amount", "date": "Date"} - - def __init__(self, invoice=None, amount=None, date=None): # noqa: E501 + openapi_types = { + "invoice": "Invoice", + "overpayment": "Overpayment", + "prepayment": "Prepayment", + "credit_note": "CreditNote", + "amount": "float", + "date": "date[ms-format]", + "status_attribute_string": "str", + "validation_errors": "list[ValidationError]", + } + + attribute_map = { + "invoice": "Invoice", + "overpayment": "Overpayment", + "prepayment": "Prepayment", + "credit_note": "CreditNote", + "amount": "Amount", + "date": "Date", + "status_attribute_string": "StatusAttributeString", + "validation_errors": "ValidationErrors", + } + + def __init__( + self, + invoice=None, + overpayment=None, + prepayment=None, + credit_note=None, + amount=None, + date=None, + status_attribute_string=None, + validation_errors=None, + ): # noqa: E501 """Allocation - a model defined in OpenAPI""" # noqa: E501 self._invoice = None + self._overpayment = None + self._prepayment = None + self._credit_note = None self._amount = None self._date = None + self._status_attribute_string = None + self._validation_errors = None self.discriminator = None self.invoice = invoice + if overpayment is not None: + self.overpayment = overpayment + if prepayment is not None: + self.prepayment = prepayment + if credit_note is not None: + self.credit_note = credit_note self.amount = amount self.date = date + if status_attribute_string is not None: + self.status_attribute_string = status_attribute_string + if validation_errors is not None: + self.validation_errors = validation_errors @property def invoice(self): @@ -71,6 +114,69 @@ def invoice(self, invoice): self._invoice = invoice + @property + def overpayment(self): + """Gets the overpayment of this Allocation. # noqa: E501 + + + :return: The overpayment of this Allocation. # noqa: E501 + :rtype: Overpayment + """ + return self._overpayment + + @overpayment.setter + def overpayment(self, overpayment): + """Sets the overpayment of this Allocation. + + + :param overpayment: The overpayment of this Allocation. # noqa: E501 + :type: Overpayment + """ + + self._overpayment = overpayment + + @property + def prepayment(self): + """Gets the prepayment of this Allocation. # noqa: E501 + + + :return: The prepayment of this Allocation. # noqa: E501 + :rtype: Prepayment + """ + return self._prepayment + + @prepayment.setter + def prepayment(self, prepayment): + """Sets the prepayment of this Allocation. + + + :param prepayment: The prepayment of this Allocation. # noqa: E501 + :type: Prepayment + """ + + self._prepayment = prepayment + + @property + def credit_note(self): + """Gets the credit_note of this Allocation. # noqa: E501 + + + :return: The credit_note of this Allocation. # noqa: E501 + :rtype: CreditNote + """ + return self._credit_note + + @credit_note.setter + def credit_note(self, credit_note): + """Sets the credit_note of this Allocation. + + + :param credit_note: The credit_note of this Allocation. # noqa: E501 + :type: CreditNote + """ + + self._credit_note = credit_note + @property def amount(self): """Gets the amount of this Allocation. # noqa: E501 @@ -124,3 +230,49 @@ def date(self, date): ) # noqa: E501 self._date = date + + @property + def status_attribute_string(self): + """Gets the status_attribute_string of this Allocation. # noqa: E501 + + A string to indicate if a invoice status # noqa: E501 + + :return: The status_attribute_string of this Allocation. # noqa: E501 + :rtype: str + """ + return self._status_attribute_string + + @status_attribute_string.setter + def status_attribute_string(self, status_attribute_string): + """Sets the status_attribute_string of this Allocation. + + A string to indicate if a invoice status # noqa: E501 + + :param status_attribute_string: The status_attribute_string of this Allocation. # noqa: E501 + :type: str + """ + + self._status_attribute_string = status_attribute_string + + @property + def validation_errors(self): + """Gets the validation_errors of this Allocation. # noqa: E501 + + Displays array of validation error messages from the API # noqa: E501 + + :return: The validation_errors of this Allocation. # noqa: E501 + :rtype: list[ValidationError] + """ + return self._validation_errors + + @validation_errors.setter + def validation_errors(self, validation_errors): + """Sets the validation_errors of this Allocation. + + Displays array of validation error messages from the API # noqa: E501 + + :param validation_errors: The validation_errors of this Allocation. # noqa: E501 + :type: list[ValidationError] + """ + + self._validation_errors = validation_errors diff --git a/xero_python/accounting/models/allocations.py b/xero_python/accounting/models/allocations.py index a800a57b..8092f4c7 100644 --- a/xero_python/accounting/models/allocations.py +++ b/xero_python/accounting/models/allocations.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 2.1.6 + OpenAPI spec version: 2.2.2 Contact: api@xero.com Generated by: https://openapi-generator.tech """ diff --git a/xero_python/accounting/models/attachment.py b/xero_python/accounting/models/attachment.py index 1e68ee45..e5c7bcfe 100644 --- a/xero_python/accounting/models/attachment.py +++ b/xero_python/accounting/models/attachment.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 2.1.6 + OpenAPI spec version: 2.2.2 Contact: api@xero.com Generated by: https://openapi-generator.tech """ diff --git a/xero_python/accounting/models/attachments.py b/xero_python/accounting/models/attachments.py index 4d29b504..a4d062f3 100644 --- a/xero_python/accounting/models/attachments.py +++ b/xero_python/accounting/models/attachments.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 2.1.6 + OpenAPI spec version: 2.2.2 Contact: api@xero.com Generated by: https://openapi-generator.tech """ diff --git a/xero_python/accounting/models/balances.py b/xero_python/accounting/models/balances.py index a56d89c0..4893e7e3 100644 --- a/xero_python/accounting/models/balances.py +++ b/xero_python/accounting/models/balances.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 2.1.6 + OpenAPI spec version: 2.2.2 Contact: api@xero.com Generated by: https://openapi-generator.tech """ diff --git a/xero_python/accounting/models/bank_transaction.py b/xero_python/accounting/models/bank_transaction.py index 0679da4b..95683d9f 100644 --- a/xero_python/accounting/models/bank_transaction.py +++ b/xero_python/accounting/models/bank_transaction.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 2.1.6 + OpenAPI spec version: 2.2.2 Contact: api@xero.com Generated by: https://openapi-generator.tech """ diff --git a/xero_python/accounting/models/bank_transactions.py b/xero_python/accounting/models/bank_transactions.py index 076082a2..9a5ce0e9 100644 --- a/xero_python/accounting/models/bank_transactions.py +++ b/xero_python/accounting/models/bank_transactions.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 2.1.6 + OpenAPI spec version: 2.2.2 Contact: api@xero.com Generated by: https://openapi-generator.tech """ diff --git a/xero_python/accounting/models/bank_transfer.py b/xero_python/accounting/models/bank_transfer.py index 54f9b07a..c3cbf58a 100644 --- a/xero_python/accounting/models/bank_transfer.py +++ b/xero_python/accounting/models/bank_transfer.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 2.1.6 + OpenAPI spec version: 2.2.2 Contact: api@xero.com Generated by: https://openapi-generator.tech """ diff --git a/xero_python/accounting/models/bank_transfers.py b/xero_python/accounting/models/bank_transfers.py index f90cc68c..5542343c 100644 --- a/xero_python/accounting/models/bank_transfers.py +++ b/xero_python/accounting/models/bank_transfers.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 2.1.6 + OpenAPI spec version: 2.2.2 Contact: api@xero.com Generated by: https://openapi-generator.tech """ diff --git a/xero_python/accounting/models/batch_payment.py b/xero_python/accounting/models/batch_payment.py index af5ec130..25bda3d4 100644 --- a/xero_python/accounting/models/batch_payment.py +++ b/xero_python/accounting/models/batch_payment.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 2.1.6 + OpenAPI spec version: 2.2.2 Contact: api@xero.com Generated by: https://openapi-generator.tech """ diff --git a/xero_python/accounting/models/batch_payment_details.py b/xero_python/accounting/models/batch_payment_details.py index 9ef72be7..61869e7c 100644 --- a/xero_python/accounting/models/batch_payment_details.py +++ b/xero_python/accounting/models/batch_payment_details.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 2.1.6 + OpenAPI spec version: 2.2.2 Contact: api@xero.com Generated by: https://openapi-generator.tech """ diff --git a/xero_python/accounting/models/batch_payments.py b/xero_python/accounting/models/batch_payments.py index a1613b62..d894f56e 100644 --- a/xero_python/accounting/models/batch_payments.py +++ b/xero_python/accounting/models/batch_payments.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 2.1.6 + OpenAPI spec version: 2.2.2 Contact: api@xero.com Generated by: https://openapi-generator.tech """ diff --git a/xero_python/accounting/models/bill.py b/xero_python/accounting/models/bill.py index 703ec273..b7da6c2f 100644 --- a/xero_python/accounting/models/bill.py +++ b/xero_python/accounting/models/bill.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 2.1.6 + OpenAPI spec version: 2.2.2 Contact: api@xero.com Generated by: https://openapi-generator.tech """ diff --git a/xero_python/accounting/models/branding_theme.py b/xero_python/accounting/models/branding_theme.py index 614fc178..205c7b83 100644 --- a/xero_python/accounting/models/branding_theme.py +++ b/xero_python/accounting/models/branding_theme.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 2.1.6 + OpenAPI spec version: 2.2.2 Contact: api@xero.com Generated by: https://openapi-generator.tech """ diff --git a/xero_python/accounting/models/branding_themes.py b/xero_python/accounting/models/branding_themes.py index 3f98ace9..1a1f38ce 100644 --- a/xero_python/accounting/models/branding_themes.py +++ b/xero_python/accounting/models/branding_themes.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 2.1.6 + OpenAPI spec version: 2.2.2 Contact: api@xero.com Generated by: https://openapi-generator.tech """ diff --git a/xero_python/accounting/models/cis_org_setting.py b/xero_python/accounting/models/cis_org_setting.py index 247630bd..18be63c5 100644 --- a/xero_python/accounting/models/cis_org_setting.py +++ b/xero_python/accounting/models/cis_org_setting.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 2.1.6 + OpenAPI spec version: 2.2.2 Contact: api@xero.com Generated by: https://openapi-generator.tech """ diff --git a/xero_python/accounting/models/cis_setting.py b/xero_python/accounting/models/cis_setting.py index 2b9263f5..60b02ba3 100644 --- a/xero_python/accounting/models/cis_setting.py +++ b/xero_python/accounting/models/cis_setting.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 2.1.6 + OpenAPI spec version: 2.2.2 Contact: api@xero.com Generated by: https://openapi-generator.tech """ diff --git a/xero_python/accounting/models/cis_settings.py b/xero_python/accounting/models/cis_settings.py index 2273f531..3af71545 100644 --- a/xero_python/accounting/models/cis_settings.py +++ b/xero_python/accounting/models/cis_settings.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 2.1.6 + OpenAPI spec version: 2.2.2 Contact: api@xero.com Generated by: https://openapi-generator.tech """ diff --git a/xero_python/accounting/models/contact.py b/xero_python/accounting/models/contact.py index 6c1c4b0b..23dd7183 100644 --- a/xero_python/accounting/models/contact.py +++ b/xero_python/accounting/models/contact.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 2.1.6 + OpenAPI spec version: 2.2.2 Contact: api@xero.com Generated by: https://openapi-generator.tech """ diff --git a/xero_python/accounting/models/contact_group.py b/xero_python/accounting/models/contact_group.py index c2221b82..58b159a5 100644 --- a/xero_python/accounting/models/contact_group.py +++ b/xero_python/accounting/models/contact_group.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 2.1.6 + OpenAPI spec version: 2.2.2 Contact: api@xero.com Generated by: https://openapi-generator.tech """ diff --git a/xero_python/accounting/models/contact_groups.py b/xero_python/accounting/models/contact_groups.py index fa9e996d..684adee8 100644 --- a/xero_python/accounting/models/contact_groups.py +++ b/xero_python/accounting/models/contact_groups.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 2.1.6 + OpenAPI spec version: 2.2.2 Contact: api@xero.com Generated by: https://openapi-generator.tech """ diff --git a/xero_python/accounting/models/contact_person.py b/xero_python/accounting/models/contact_person.py index 8b319da6..480681c1 100644 --- a/xero_python/accounting/models/contact_person.py +++ b/xero_python/accounting/models/contact_person.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 2.1.6 + OpenAPI spec version: 2.2.2 Contact: api@xero.com Generated by: https://openapi-generator.tech """ diff --git a/xero_python/accounting/models/contacts.py b/xero_python/accounting/models/contacts.py index 37de51b8..42b62c29 100644 --- a/xero_python/accounting/models/contacts.py +++ b/xero_python/accounting/models/contacts.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 2.1.6 + OpenAPI spec version: 2.2.2 Contact: api@xero.com Generated by: https://openapi-generator.tech """ diff --git a/xero_python/accounting/models/country_code.py b/xero_python/accounting/models/country_code.py index 63fed9b7..0384e993 100644 --- a/xero_python/accounting/models/country_code.py +++ b/xero_python/accounting/models/country_code.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 2.1.6 + OpenAPI spec version: 2.2.2 Contact: api@xero.com Generated by: https://openapi-generator.tech """ diff --git a/xero_python/accounting/models/credit_note.py b/xero_python/accounting/models/credit_note.py index e13d04b5..545f21e2 100644 --- a/xero_python/accounting/models/credit_note.py +++ b/xero_python/accounting/models/credit_note.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 2.1.6 + OpenAPI spec version: 2.2.2 Contact: api@xero.com Generated by: https://openapi-generator.tech """ diff --git a/xero_python/accounting/models/credit_notes.py b/xero_python/accounting/models/credit_notes.py index eec557ca..77600462 100644 --- a/xero_python/accounting/models/credit_notes.py +++ b/xero_python/accounting/models/credit_notes.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 2.1.6 + OpenAPI spec version: 2.2.2 Contact: api@xero.com Generated by: https://openapi-generator.tech """ diff --git a/xero_python/accounting/models/currencies.py b/xero_python/accounting/models/currencies.py index 0fcabdbf..0485817d 100644 --- a/xero_python/accounting/models/currencies.py +++ b/xero_python/accounting/models/currencies.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 2.1.6 + OpenAPI spec version: 2.2.2 Contact: api@xero.com Generated by: https://openapi-generator.tech """ diff --git a/xero_python/accounting/models/currency.py b/xero_python/accounting/models/currency.py index c04ca712..1f08b1ae 100644 --- a/xero_python/accounting/models/currency.py +++ b/xero_python/accounting/models/currency.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 2.1.6 + OpenAPI spec version: 2.2.2 Contact: api@xero.com Generated by: https://openapi-generator.tech """ diff --git a/xero_python/accounting/models/currency_code.py b/xero_python/accounting/models/currency_code.py index 77054a95..db930b7a 100644 --- a/xero_python/accounting/models/currency_code.py +++ b/xero_python/accounting/models/currency_code.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 2.1.6 + OpenAPI spec version: 2.2.2 Contact: api@xero.com Generated by: https://openapi-generator.tech """ diff --git a/xero_python/accounting/models/element.py b/xero_python/accounting/models/element.py index 9249a74b..97ca39cb 100644 --- a/xero_python/accounting/models/element.py +++ b/xero_python/accounting/models/element.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 2.1.6 + OpenAPI spec version: 2.2.2 Contact: api@xero.com Generated by: https://openapi-generator.tech """ diff --git a/xero_python/accounting/models/employee.py b/xero_python/accounting/models/employee.py index c736840c..284cd796 100644 --- a/xero_python/accounting/models/employee.py +++ b/xero_python/accounting/models/employee.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 2.1.6 + OpenAPI spec version: 2.2.2 Contact: api@xero.com Generated by: https://openapi-generator.tech """ diff --git a/xero_python/accounting/models/employees.py b/xero_python/accounting/models/employees.py index 6251533a..70d689d3 100644 --- a/xero_python/accounting/models/employees.py +++ b/xero_python/accounting/models/employees.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 2.1.6 + OpenAPI spec version: 2.2.2 Contact: api@xero.com Generated by: https://openapi-generator.tech """ diff --git a/xero_python/accounting/models/error.py b/xero_python/accounting/models/error.py index 4522a29e..2669e10c 100644 --- a/xero_python/accounting/models/error.py +++ b/xero_python/accounting/models/error.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 2.1.6 + OpenAPI spec version: 2.2.2 Contact: api@xero.com Generated by: https://openapi-generator.tech """ diff --git a/xero_python/accounting/models/expense_claim.py b/xero_python/accounting/models/expense_claim.py index cbf2924f..ddbbb50c 100644 --- a/xero_python/accounting/models/expense_claim.py +++ b/xero_python/accounting/models/expense_claim.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 2.1.6 + OpenAPI spec version: 2.2.2 Contact: api@xero.com Generated by: https://openapi-generator.tech """ diff --git a/xero_python/accounting/models/expense_claims.py b/xero_python/accounting/models/expense_claims.py index 27c6e0ac..59a59b3d 100644 --- a/xero_python/accounting/models/expense_claims.py +++ b/xero_python/accounting/models/expense_claims.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 2.1.6 + OpenAPI spec version: 2.2.2 Contact: api@xero.com Generated by: https://openapi-generator.tech """ diff --git a/xero_python/accounting/models/external_link.py b/xero_python/accounting/models/external_link.py index 295b4c16..78973dbc 100644 --- a/xero_python/accounting/models/external_link.py +++ b/xero_python/accounting/models/external_link.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 2.1.6 + OpenAPI spec version: 2.2.2 Contact: api@xero.com Generated by: https://openapi-generator.tech """ diff --git a/xero_python/accounting/models/history_record.py b/xero_python/accounting/models/history_record.py index 87ab3763..95a506f9 100644 --- a/xero_python/accounting/models/history_record.py +++ b/xero_python/accounting/models/history_record.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 2.1.6 + OpenAPI spec version: 2.2.2 Contact: api@xero.com Generated by: https://openapi-generator.tech """ diff --git a/xero_python/accounting/models/history_records.py b/xero_python/accounting/models/history_records.py index fd8738da..99ee97a6 100644 --- a/xero_python/accounting/models/history_records.py +++ b/xero_python/accounting/models/history_records.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 2.1.6 + OpenAPI spec version: 2.2.2 Contact: api@xero.com Generated by: https://openapi-generator.tech """ diff --git a/xero_python/accounting/models/invoice.py b/xero_python/accounting/models/invoice.py index e2595183..ff8f16fc 100644 --- a/xero_python/accounting/models/invoice.py +++ b/xero_python/accounting/models/invoice.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 2.1.6 + OpenAPI spec version: 2.2.2 Contact: api@xero.com Generated by: https://openapi-generator.tech """ diff --git a/xero_python/accounting/models/invoice_reminder.py b/xero_python/accounting/models/invoice_reminder.py index 9fccf9e6..59a6de82 100644 --- a/xero_python/accounting/models/invoice_reminder.py +++ b/xero_python/accounting/models/invoice_reminder.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 2.1.6 + OpenAPI spec version: 2.2.2 Contact: api@xero.com Generated by: https://openapi-generator.tech """ diff --git a/xero_python/accounting/models/invoice_reminders.py b/xero_python/accounting/models/invoice_reminders.py index a8e41d4b..679d2315 100644 --- a/xero_python/accounting/models/invoice_reminders.py +++ b/xero_python/accounting/models/invoice_reminders.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 2.1.6 + OpenAPI spec version: 2.2.2 Contact: api@xero.com Generated by: https://openapi-generator.tech """ diff --git a/xero_python/accounting/models/invoices.py b/xero_python/accounting/models/invoices.py index 7fcb2829..b3ec21ca 100644 --- a/xero_python/accounting/models/invoices.py +++ b/xero_python/accounting/models/invoices.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 2.1.6 + OpenAPI spec version: 2.2.2 Contact: api@xero.com Generated by: https://openapi-generator.tech """ diff --git a/xero_python/accounting/models/item.py b/xero_python/accounting/models/item.py index a3f63422..0b669723 100644 --- a/xero_python/accounting/models/item.py +++ b/xero_python/accounting/models/item.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 2.1.6 + OpenAPI spec version: 2.2.2 Contact: api@xero.com Generated by: https://openapi-generator.tech """ diff --git a/xero_python/accounting/models/items.py b/xero_python/accounting/models/items.py index 2c1598f7..73dcfe4b 100644 --- a/xero_python/accounting/models/items.py +++ b/xero_python/accounting/models/items.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 2.1.6 + OpenAPI spec version: 2.2.2 Contact: api@xero.com Generated by: https://openapi-generator.tech """ diff --git a/xero_python/accounting/models/journal.py b/xero_python/accounting/models/journal.py index 55a459c0..5c3725b0 100644 --- a/xero_python/accounting/models/journal.py +++ b/xero_python/accounting/models/journal.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 2.1.6 + OpenAPI spec version: 2.2.2 Contact: api@xero.com Generated by: https://openapi-generator.tech """ diff --git a/xero_python/accounting/models/journal_line.py b/xero_python/accounting/models/journal_line.py index 165e9b76..6294f5ef 100644 --- a/xero_python/accounting/models/journal_line.py +++ b/xero_python/accounting/models/journal_line.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 2.1.6 + OpenAPI spec version: 2.2.2 Contact: api@xero.com Generated by: https://openapi-generator.tech """ diff --git a/xero_python/accounting/models/journals.py b/xero_python/accounting/models/journals.py index ab3909d6..4eed45c0 100644 --- a/xero_python/accounting/models/journals.py +++ b/xero_python/accounting/models/journals.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 2.1.6 + OpenAPI spec version: 2.2.2 Contact: api@xero.com Generated by: https://openapi-generator.tech """ diff --git a/xero_python/accounting/models/line_amount_types.py b/xero_python/accounting/models/line_amount_types.py index 10e91f9f..abe7b16d 100644 --- a/xero_python/accounting/models/line_amount_types.py +++ b/xero_python/accounting/models/line_amount_types.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 2.1.6 + OpenAPI spec version: 2.2.2 Contact: api@xero.com Generated by: https://openapi-generator.tech """ diff --git a/xero_python/accounting/models/line_item.py b/xero_python/accounting/models/line_item.py index 5178a1be..fabcdec9 100644 --- a/xero_python/accounting/models/line_item.py +++ b/xero_python/accounting/models/line_item.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 2.1.6 + OpenAPI spec version: 2.2.2 Contact: api@xero.com Generated by: https://openapi-generator.tech """ diff --git a/xero_python/accounting/models/line_item_tracking.py b/xero_python/accounting/models/line_item_tracking.py index f98350ca..9dd2dd13 100644 --- a/xero_python/accounting/models/line_item_tracking.py +++ b/xero_python/accounting/models/line_item_tracking.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 2.1.6 + OpenAPI spec version: 2.2.2 Contact: api@xero.com Generated by: https://openapi-generator.tech """ diff --git a/xero_python/accounting/models/linked_transaction.py b/xero_python/accounting/models/linked_transaction.py index 690d51ff..d6d54470 100644 --- a/xero_python/accounting/models/linked_transaction.py +++ b/xero_python/accounting/models/linked_transaction.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 2.1.6 + OpenAPI spec version: 2.2.2 Contact: api@xero.com Generated by: https://openapi-generator.tech """ diff --git a/xero_python/accounting/models/linked_transactions.py b/xero_python/accounting/models/linked_transactions.py index 3b5deeb6..8e496da6 100644 --- a/xero_python/accounting/models/linked_transactions.py +++ b/xero_python/accounting/models/linked_transactions.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 2.1.6 + OpenAPI spec version: 2.2.2 Contact: api@xero.com Generated by: https://openapi-generator.tech """ diff --git a/xero_python/accounting/models/manual_journal.py b/xero_python/accounting/models/manual_journal.py index 60827cf6..9efb5095 100644 --- a/xero_python/accounting/models/manual_journal.py +++ b/xero_python/accounting/models/manual_journal.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 2.1.6 + OpenAPI spec version: 2.2.2 Contact: api@xero.com Generated by: https://openapi-generator.tech """ diff --git a/xero_python/accounting/models/manual_journal_line.py b/xero_python/accounting/models/manual_journal_line.py index c3ed869c..454ff26d 100644 --- a/xero_python/accounting/models/manual_journal_line.py +++ b/xero_python/accounting/models/manual_journal_line.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 2.1.6 + OpenAPI spec version: 2.2.2 Contact: api@xero.com Generated by: https://openapi-generator.tech """ diff --git a/xero_python/accounting/models/manual_journals.py b/xero_python/accounting/models/manual_journals.py index ac5144ec..01940e4e 100644 --- a/xero_python/accounting/models/manual_journals.py +++ b/xero_python/accounting/models/manual_journals.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 2.1.6 + OpenAPI spec version: 2.2.2 Contact: api@xero.com Generated by: https://openapi-generator.tech """ diff --git a/xero_python/accounting/models/online_invoice.py b/xero_python/accounting/models/online_invoice.py index fcc2289c..a89e55dd 100644 --- a/xero_python/accounting/models/online_invoice.py +++ b/xero_python/accounting/models/online_invoice.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 2.1.6 + OpenAPI spec version: 2.2.2 Contact: api@xero.com Generated by: https://openapi-generator.tech """ diff --git a/xero_python/accounting/models/online_invoices.py b/xero_python/accounting/models/online_invoices.py index f90fcdca..491975d9 100644 --- a/xero_python/accounting/models/online_invoices.py +++ b/xero_python/accounting/models/online_invoices.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 2.1.6 + OpenAPI spec version: 2.2.2 Contact: api@xero.com Generated by: https://openapi-generator.tech """ diff --git a/xero_python/accounting/models/organisation.py b/xero_python/accounting/models/organisation.py index cc3f467d..47f7fa4d 100644 --- a/xero_python/accounting/models/organisation.py +++ b/xero_python/accounting/models/organisation.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 2.1.6 + OpenAPI spec version: 2.2.2 Contact: api@xero.com Generated by: https://openapi-generator.tech """ @@ -43,6 +43,7 @@ class Organisation(BaseModel): "is_demo_company": "bool", "organisation_status": "str", "registration_number": "str", + "employer_identification_number": "str", "tax_number": "str", "financial_year_end_day": "int", "financial_year_end_month": "int", @@ -78,6 +79,7 @@ class Organisation(BaseModel): "is_demo_company": "IsDemoCompany", "organisation_status": "OrganisationStatus", "registration_number": "RegistrationNumber", + "employer_identification_number": "EmployerIdentificationNumber", "tax_number": "TaxNumber", "financial_year_end_day": "FinancialYearEndDay", "financial_year_end_month": "FinancialYearEndMonth", @@ -114,6 +116,7 @@ def __init__( is_demo_company=None, organisation_status=None, registration_number=None, + employer_identification_number=None, tax_number=None, financial_year_end_day=None, financial_year_end_month=None, @@ -149,6 +152,7 @@ def __init__( self._is_demo_company = None self._organisation_status = None self._registration_number = None + self._employer_identification_number = None self._tax_number = None self._financial_year_end_day = None self._financial_year_end_month = None @@ -195,6 +199,8 @@ def __init__( self.organisation_status = organisation_status if registration_number is not None: self.registration_number = registration_number + if employer_identification_number is not None: + self.employer_identification_number = employer_identification_number if tax_number is not None: self.tax_number = tax_number if financial_year_end_day is not None: @@ -546,6 +552,29 @@ def registration_number(self, registration_number): self._registration_number = registration_number + @property + def employer_identification_number(self): + """Gets the employer_identification_number of this Organisation. # noqa: E501 + + Shown if set. US Only. # noqa: E501 + + :return: The employer_identification_number of this Organisation. # noqa: E501 + :rtype: str + """ + return self._employer_identification_number + + @employer_identification_number.setter + def employer_identification_number(self, employer_identification_number): + """Sets the employer_identification_number of this Organisation. + + Shown if set. US Only. # noqa: E501 + + :param employer_identification_number: The employer_identification_number of this Organisation. # noqa: E501 + :type: str + """ + + self._employer_identification_number = employer_identification_number + @property def tax_number(self): """Gets the tax_number of this Organisation. # noqa: E501 diff --git a/xero_python/accounting/models/organisations.py b/xero_python/accounting/models/organisations.py index 658afdc4..7ccce1cd 100644 --- a/xero_python/accounting/models/organisations.py +++ b/xero_python/accounting/models/organisations.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 2.1.6 + OpenAPI spec version: 2.2.2 Contact: api@xero.com Generated by: https://openapi-generator.tech """ diff --git a/xero_python/accounting/models/overpayment.py b/xero_python/accounting/models/overpayment.py index c418a7ec..7a095b28 100644 --- a/xero_python/accounting/models/overpayment.py +++ b/xero_python/accounting/models/overpayment.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 2.1.6 + OpenAPI spec version: 2.2.2 Contact: api@xero.com Generated by: https://openapi-generator.tech """ diff --git a/xero_python/accounting/models/overpayments.py b/xero_python/accounting/models/overpayments.py index 67e8dc92..de89da92 100644 --- a/xero_python/accounting/models/overpayments.py +++ b/xero_python/accounting/models/overpayments.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 2.1.6 + OpenAPI spec version: 2.2.2 Contact: api@xero.com Generated by: https://openapi-generator.tech """ diff --git a/xero_python/accounting/models/payment.py b/xero_python/accounting/models/payment.py index 5a06a87f..b22eb701 100644 --- a/xero_python/accounting/models/payment.py +++ b/xero_python/accounting/models/payment.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 2.1.6 + OpenAPI spec version: 2.2.2 Contact: api@xero.com Generated by: https://openapi-generator.tech """ diff --git a/xero_python/accounting/models/payment_delete.py b/xero_python/accounting/models/payment_delete.py index 431d151e..5b74a4b8 100644 --- a/xero_python/accounting/models/payment_delete.py +++ b/xero_python/accounting/models/payment_delete.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 2.1.6 + OpenAPI spec version: 2.2.2 Contact: api@xero.com Generated by: https://openapi-generator.tech """ diff --git a/xero_python/accounting/models/payment_service.py b/xero_python/accounting/models/payment_service.py index d80c3bdd..d85fa51e 100644 --- a/xero_python/accounting/models/payment_service.py +++ b/xero_python/accounting/models/payment_service.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 2.1.6 + OpenAPI spec version: 2.2.2 Contact: api@xero.com Generated by: https://openapi-generator.tech """ diff --git a/xero_python/accounting/models/payment_services.py b/xero_python/accounting/models/payment_services.py index f95e89bc..be1d6dfc 100644 --- a/xero_python/accounting/models/payment_services.py +++ b/xero_python/accounting/models/payment_services.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 2.1.6 + OpenAPI spec version: 2.2.2 Contact: api@xero.com Generated by: https://openapi-generator.tech """ diff --git a/xero_python/accounting/models/payment_term.py b/xero_python/accounting/models/payment_term.py index 3299b7c5..55151a4b 100644 --- a/xero_python/accounting/models/payment_term.py +++ b/xero_python/accounting/models/payment_term.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 2.1.6 + OpenAPI spec version: 2.2.2 Contact: api@xero.com Generated by: https://openapi-generator.tech """ diff --git a/xero_python/accounting/models/payment_term_type.py b/xero_python/accounting/models/payment_term_type.py index bd9a432f..ac81e1fe 100644 --- a/xero_python/accounting/models/payment_term_type.py +++ b/xero_python/accounting/models/payment_term_type.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 2.1.6 + OpenAPI spec version: 2.2.2 Contact: api@xero.com Generated by: https://openapi-generator.tech """ diff --git a/xero_python/accounting/models/payments.py b/xero_python/accounting/models/payments.py index fa1cb630..c80fc578 100644 --- a/xero_python/accounting/models/payments.py +++ b/xero_python/accounting/models/payments.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 2.1.6 + OpenAPI spec version: 2.2.2 Contact: api@xero.com Generated by: https://openapi-generator.tech """ diff --git a/xero_python/accounting/models/phone.py b/xero_python/accounting/models/phone.py index b4d1cefe..d68fb569 100644 --- a/xero_python/accounting/models/phone.py +++ b/xero_python/accounting/models/phone.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 2.1.6 + OpenAPI spec version: 2.2.2 Contact: api@xero.com Generated by: https://openapi-generator.tech """ diff --git a/xero_python/accounting/models/prepayment.py b/xero_python/accounting/models/prepayment.py index 43a0a7fa..73eccf3e 100644 --- a/xero_python/accounting/models/prepayment.py +++ b/xero_python/accounting/models/prepayment.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 2.1.6 + OpenAPI spec version: 2.2.2 Contact: api@xero.com Generated by: https://openapi-generator.tech """ diff --git a/xero_python/accounting/models/prepayments.py b/xero_python/accounting/models/prepayments.py index bc772992..f6b8bfb9 100644 --- a/xero_python/accounting/models/prepayments.py +++ b/xero_python/accounting/models/prepayments.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 2.1.6 + OpenAPI spec version: 2.2.2 Contact: api@xero.com Generated by: https://openapi-generator.tech """ diff --git a/xero_python/accounting/models/purchase.py b/xero_python/accounting/models/purchase.py index 0720070d..8de2b922 100644 --- a/xero_python/accounting/models/purchase.py +++ b/xero_python/accounting/models/purchase.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 2.1.6 + OpenAPI spec version: 2.2.2 Contact: api@xero.com Generated by: https://openapi-generator.tech """ diff --git a/xero_python/accounting/models/purchase_order.py b/xero_python/accounting/models/purchase_order.py index 024e70cb..29e7a995 100644 --- a/xero_python/accounting/models/purchase_order.py +++ b/xero_python/accounting/models/purchase_order.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 2.1.6 + OpenAPI spec version: 2.2.2 Contact: api@xero.com Generated by: https://openapi-generator.tech """ diff --git a/xero_python/accounting/models/purchase_orders.py b/xero_python/accounting/models/purchase_orders.py index 41a2a62e..155ac36b 100644 --- a/xero_python/accounting/models/purchase_orders.py +++ b/xero_python/accounting/models/purchase_orders.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 2.1.6 + OpenAPI spec version: 2.2.2 Contact: api@xero.com Generated by: https://openapi-generator.tech """ diff --git a/xero_python/accounting/models/quote.py b/xero_python/accounting/models/quote.py index a733ff8f..5967468d 100644 --- a/xero_python/accounting/models/quote.py +++ b/xero_python/accounting/models/quote.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 2.1.6 + OpenAPI spec version: 2.2.2 Contact: api@xero.com Generated by: https://openapi-generator.tech """ @@ -53,6 +53,8 @@ class Quote(BaseModel): "branding_theme_id": "str", "updated_date_utc": "datetime[ms-format]", "line_amount_types": "QuoteLineAmountTypes", + "status_attribute_string": "str", + "validation_errors": "list[ValidationError]", } attribute_map = { @@ -78,6 +80,8 @@ class Quote(BaseModel): "branding_theme_id": "BrandingThemeID", "updated_date_utc": "UpdatedDateUTC", "line_amount_types": "LineAmountTypes", + "status_attribute_string": "StatusAttributeString", + "validation_errors": "ValidationErrors", } def __init__( @@ -104,6 +108,8 @@ def __init__( branding_theme_id=None, updated_date_utc=None, line_amount_types=None, + status_attribute_string=None, + validation_errors=None, ): # noqa: E501 """Quote - a model defined in OpenAPI""" # noqa: E501 @@ -129,6 +135,8 @@ def __init__( self._branding_theme_id = None self._updated_date_utc = None self._line_amount_types = None + self._status_attribute_string = None + self._validation_errors = None self.discriminator = None if quote_id is not None: @@ -175,6 +183,10 @@ def __init__( self.updated_date_utc = updated_date_utc if line_amount_types is not None: self.line_amount_types = line_amount_types + if status_attribute_string is not None: + self.status_attribute_string = status_attribute_string + if validation_errors is not None: + self.validation_errors = validation_errors @property def quote_id(self): @@ -698,3 +710,49 @@ def line_amount_types(self, line_amount_types): """ self._line_amount_types = line_amount_types + + @property + def status_attribute_string(self): + """Gets the status_attribute_string of this Quote. # noqa: E501 + + A string to indicate if a invoice status # noqa: E501 + + :return: The status_attribute_string of this Quote. # noqa: E501 + :rtype: str + """ + return self._status_attribute_string + + @status_attribute_string.setter + def status_attribute_string(self, status_attribute_string): + """Sets the status_attribute_string of this Quote. + + A string to indicate if a invoice status # noqa: E501 + + :param status_attribute_string: The status_attribute_string of this Quote. # noqa: E501 + :type: str + """ + + self._status_attribute_string = status_attribute_string + + @property + def validation_errors(self): + """Gets the validation_errors of this Quote. # noqa: E501 + + Displays array of validation error messages from the API # noqa: E501 + + :return: The validation_errors of this Quote. # noqa: E501 + :rtype: list[ValidationError] + """ + return self._validation_errors + + @validation_errors.setter + def validation_errors(self, validation_errors): + """Sets the validation_errors of this Quote. + + Displays array of validation error messages from the API # noqa: E501 + + :param validation_errors: The validation_errors of this Quote. # noqa: E501 + :type: list[ValidationError] + """ + + self._validation_errors = validation_errors diff --git a/xero_python/accounting/models/quote_line_amount_types.py b/xero_python/accounting/models/quote_line_amount_types.py index cc34d3d5..af0f94c5 100644 --- a/xero_python/accounting/models/quote_line_amount_types.py +++ b/xero_python/accounting/models/quote_line_amount_types.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 2.1.6 + OpenAPI spec version: 2.2.2 Contact: api@xero.com Generated by: https://openapi-generator.tech """ diff --git a/xero_python/accounting/models/quote_status_codes.py b/xero_python/accounting/models/quote_status_codes.py index 1e055e3f..764bd184 100644 --- a/xero_python/accounting/models/quote_status_codes.py +++ b/xero_python/accounting/models/quote_status_codes.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 2.1.6 + OpenAPI spec version: 2.2.2 Contact: api@xero.com Generated by: https://openapi-generator.tech """ diff --git a/xero_python/accounting/models/quotes.py b/xero_python/accounting/models/quotes.py index bfa882e2..9c2ea6b0 100644 --- a/xero_python/accounting/models/quotes.py +++ b/xero_python/accounting/models/quotes.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 2.1.6 + OpenAPI spec version: 2.2.2 Contact: api@xero.com Generated by: https://openapi-generator.tech """ diff --git a/xero_python/accounting/models/receipt.py b/xero_python/accounting/models/receipt.py index 6e8a524b..ffa54f40 100644 --- a/xero_python/accounting/models/receipt.py +++ b/xero_python/accounting/models/receipt.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 2.1.6 + OpenAPI spec version: 2.2.2 Contact: api@xero.com Generated by: https://openapi-generator.tech """ diff --git a/xero_python/accounting/models/receipts.py b/xero_python/accounting/models/receipts.py index 81042685..7f8648ae 100644 --- a/xero_python/accounting/models/receipts.py +++ b/xero_python/accounting/models/receipts.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 2.1.6 + OpenAPI spec version: 2.2.2 Contact: api@xero.com Generated by: https://openapi-generator.tech """ diff --git a/xero_python/accounting/models/repeating_invoice.py b/xero_python/accounting/models/repeating_invoice.py index f71a8bd2..d93dafd4 100644 --- a/xero_python/accounting/models/repeating_invoice.py +++ b/xero_python/accounting/models/repeating_invoice.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 2.1.6 + OpenAPI spec version: 2.2.2 Contact: api@xero.com Generated by: https://openapi-generator.tech """ diff --git a/xero_python/accounting/models/repeating_invoices.py b/xero_python/accounting/models/repeating_invoices.py index 0e4a3ad1..10b68d10 100644 --- a/xero_python/accounting/models/repeating_invoices.py +++ b/xero_python/accounting/models/repeating_invoices.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 2.1.6 + OpenAPI spec version: 2.2.2 Contact: api@xero.com Generated by: https://openapi-generator.tech """ diff --git a/xero_python/accounting/models/report.py b/xero_python/accounting/models/report.py index 97652e68..c9f05add 100644 --- a/xero_python/accounting/models/report.py +++ b/xero_python/accounting/models/report.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 2.1.6 + OpenAPI spec version: 2.2.2 Contact: api@xero.com Generated by: https://openapi-generator.tech """ diff --git a/xero_python/accounting/models/report_attribute.py b/xero_python/accounting/models/report_attribute.py index 9ec866d9..f50f295b 100644 --- a/xero_python/accounting/models/report_attribute.py +++ b/xero_python/accounting/models/report_attribute.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 2.1.6 + OpenAPI spec version: 2.2.2 Contact: api@xero.com Generated by: https://openapi-generator.tech """ diff --git a/xero_python/accounting/models/report_cell.py b/xero_python/accounting/models/report_cell.py index b8b92c75..ec72fb09 100644 --- a/xero_python/accounting/models/report_cell.py +++ b/xero_python/accounting/models/report_cell.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 2.1.6 + OpenAPI spec version: 2.2.2 Contact: api@xero.com Generated by: https://openapi-generator.tech """ diff --git a/xero_python/accounting/models/report_fields.py b/xero_python/accounting/models/report_fields.py index b0733ff0..2463399d 100644 --- a/xero_python/accounting/models/report_fields.py +++ b/xero_python/accounting/models/report_fields.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 2.1.6 + OpenAPI spec version: 2.2.2 Contact: api@xero.com Generated by: https://openapi-generator.tech """ diff --git a/xero_python/accounting/models/report_row.py b/xero_python/accounting/models/report_row.py index 312c632f..6ed9c46b 100644 --- a/xero_python/accounting/models/report_row.py +++ b/xero_python/accounting/models/report_row.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 2.1.6 + OpenAPI spec version: 2.2.2 Contact: api@xero.com Generated by: https://openapi-generator.tech """ diff --git a/xero_python/accounting/models/report_rows.py b/xero_python/accounting/models/report_rows.py index 4a0813b4..7f380598 100644 --- a/xero_python/accounting/models/report_rows.py +++ b/xero_python/accounting/models/report_rows.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 2.1.6 + OpenAPI spec version: 2.2.2 Contact: api@xero.com Generated by: https://openapi-generator.tech """ diff --git a/xero_python/accounting/models/report_with_row.py b/xero_python/accounting/models/report_with_row.py index fdf22dfe..1748be8b 100644 --- a/xero_python/accounting/models/report_with_row.py +++ b/xero_python/accounting/models/report_with_row.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 2.1.6 + OpenAPI spec version: 2.2.2 Contact: api@xero.com Generated by: https://openapi-generator.tech """ diff --git a/xero_python/accounting/models/report_with_rows.py b/xero_python/accounting/models/report_with_rows.py index d8e46471..e6dc7ee5 100644 --- a/xero_python/accounting/models/report_with_rows.py +++ b/xero_python/accounting/models/report_with_rows.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 2.1.6 + OpenAPI spec version: 2.2.2 Contact: api@xero.com Generated by: https://openapi-generator.tech """ diff --git a/xero_python/accounting/models/reports.py b/xero_python/accounting/models/reports.py index 664ec061..4c010cb1 100644 --- a/xero_python/accounting/models/reports.py +++ b/xero_python/accounting/models/reports.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 2.1.6 + OpenAPI spec version: 2.2.2 Contact: api@xero.com Generated by: https://openapi-generator.tech """ diff --git a/xero_python/accounting/models/request_empty.py b/xero_python/accounting/models/request_empty.py index c8bae73d..4a798562 100644 --- a/xero_python/accounting/models/request_empty.py +++ b/xero_python/accounting/models/request_empty.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 2.1.6 + OpenAPI spec version: 2.2.2 Contact: api@xero.com Generated by: https://openapi-generator.tech """ diff --git a/xero_python/accounting/models/row_type.py b/xero_python/accounting/models/row_type.py index 84550774..b3983b68 100644 --- a/xero_python/accounting/models/row_type.py +++ b/xero_python/accounting/models/row_type.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 2.1.6 + OpenAPI spec version: 2.2.2 Contact: api@xero.com Generated by: https://openapi-generator.tech """ diff --git a/xero_python/accounting/models/sales_tracking_category.py b/xero_python/accounting/models/sales_tracking_category.py index 09a58ff7..a36a4dda 100644 --- a/xero_python/accounting/models/sales_tracking_category.py +++ b/xero_python/accounting/models/sales_tracking_category.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 2.1.6 + OpenAPI spec version: 2.2.2 Contact: api@xero.com Generated by: https://openapi-generator.tech """ diff --git a/xero_python/accounting/models/schedule.py b/xero_python/accounting/models/schedule.py index 58f6051e..c7b5c12a 100644 --- a/xero_python/accounting/models/schedule.py +++ b/xero_python/accounting/models/schedule.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 2.1.6 + OpenAPI spec version: 2.2.2 Contact: api@xero.com Generated by: https://openapi-generator.tech """ @@ -185,6 +185,8 @@ def due_date_type(self, due_date_type): allowed_values = [ "DAYSAFTERBILLDATE", "DAYSAFTERBILLMONTH", + "DAYSAFTERINVOICEDATE", + "DAYSAFTERINVOICEMONTH", "OFCURRENTMONTH", "OFFOLLOWINGMONTH", ] # noqa: E501 diff --git a/xero_python/accounting/models/tax_component.py b/xero_python/accounting/models/tax_component.py index ccb70678..d8d7aa54 100644 --- a/xero_python/accounting/models/tax_component.py +++ b/xero_python/accounting/models/tax_component.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 2.1.6 + OpenAPI spec version: 2.2.2 Contact: api@xero.com Generated by: https://openapi-generator.tech """ diff --git a/xero_python/accounting/models/tax_rate.py b/xero_python/accounting/models/tax_rate.py index 4dc84885..159917ce 100644 --- a/xero_python/accounting/models/tax_rate.py +++ b/xero_python/accounting/models/tax_rate.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 2.1.6 + OpenAPI spec version: 2.2.2 Contact: api@xero.com Generated by: https://openapi-generator.tech """ @@ -290,6 +290,26 @@ def report_tax_type(self, report_tax_type): "ZERORATEDOUTPUT", "DRCHARGESUPPLY", "DRCHARGE", + "CAPINPUT", + "CAPIMPORTS", + "IMINPUT", + "INPUT2", + "CIUINPUT", + "SRINPUT", + "OUTPUT2", + "SROUTPUT", + "CAPOUTPUT", + "SROUTPUT2", + "CIUOUTPUT", + "ZROUTPUT", + "ZREXPORT", + "ACC28PLUS", + "ACCUPTO28", + "OTHEROUTPUT", + "SHOUTPUT", + "ZRINPUT", + "BADDEBT", + "OTHERINPUT", ] # noqa: E501 if report_tax_type not in allowed_values: raise ValueError( diff --git a/xero_python/accounting/models/tax_rates.py b/xero_python/accounting/models/tax_rates.py index 8a332a53..214d7d36 100644 --- a/xero_python/accounting/models/tax_rates.py +++ b/xero_python/accounting/models/tax_rates.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 2.1.6 + OpenAPI spec version: 2.2.2 Contact: api@xero.com Generated by: https://openapi-generator.tech """ diff --git a/xero_python/accounting/models/tax_type.py b/xero_python/accounting/models/tax_type.py index 8b3b8e73..86ffe4ab 100644 --- a/xero_python/accounting/models/tax_type.py +++ b/xero_python/accounting/models/tax_type.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 2.1.6 + OpenAPI spec version: 2.2.2 Contact: api@xero.com Generated by: https://openapi-generator.tech """ diff --git a/xero_python/accounting/models/ten_nintey_nine_contact.py b/xero_python/accounting/models/ten_nintey_nine_contact.py index 137ca5a8..adc2151a 100644 --- a/xero_python/accounting/models/ten_nintey_nine_contact.py +++ b/xero_python/accounting/models/ten_nintey_nine_contact.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 2.1.6 + OpenAPI spec version: 2.2.2 Contact: api@xero.com Generated by: https://openapi-generator.tech """ diff --git a/xero_python/accounting/models/time_zone.py b/xero_python/accounting/models/time_zone.py index d99a5c3b..7f068a0b 100644 --- a/xero_python/accounting/models/time_zone.py +++ b/xero_python/accounting/models/time_zone.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 2.1.6 + OpenAPI spec version: 2.2.2 Contact: api@xero.com Generated by: https://openapi-generator.tech """ diff --git a/xero_python/accounting/models/tracking_categories.py b/xero_python/accounting/models/tracking_categories.py index 1edc2203..a21dbcad 100644 --- a/xero_python/accounting/models/tracking_categories.py +++ b/xero_python/accounting/models/tracking_categories.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 2.1.6 + OpenAPI spec version: 2.2.2 Contact: api@xero.com Generated by: https://openapi-generator.tech """ diff --git a/xero_python/accounting/models/tracking_category.py b/xero_python/accounting/models/tracking_category.py index 734d6d94..fee7a607 100644 --- a/xero_python/accounting/models/tracking_category.py +++ b/xero_python/accounting/models/tracking_category.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 2.1.6 + OpenAPI spec version: 2.2.2 Contact: api@xero.com Generated by: https://openapi-generator.tech """ diff --git a/xero_python/accounting/models/tracking_option.py b/xero_python/accounting/models/tracking_option.py index 8f15ca4a..0cb9ca8b 100644 --- a/xero_python/accounting/models/tracking_option.py +++ b/xero_python/accounting/models/tracking_option.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 2.1.6 + OpenAPI spec version: 2.2.2 Contact: api@xero.com Generated by: https://openapi-generator.tech """ diff --git a/xero_python/accounting/models/tracking_options.py b/xero_python/accounting/models/tracking_options.py index 397462f9..a2a2f80d 100644 --- a/xero_python/accounting/models/tracking_options.py +++ b/xero_python/accounting/models/tracking_options.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 2.1.6 + OpenAPI spec version: 2.2.2 Contact: api@xero.com Generated by: https://openapi-generator.tech """ diff --git a/xero_python/accounting/models/user.py b/xero_python/accounting/models/user.py index 8856b3ff..6232e604 100644 --- a/xero_python/accounting/models/user.py +++ b/xero_python/accounting/models/user.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 2.1.6 + OpenAPI spec version: 2.2.2 Contact: api@xero.com Generated by: https://openapi-generator.tech """ diff --git a/xero_python/accounting/models/users.py b/xero_python/accounting/models/users.py index 7508a0d2..1bf7430e 100644 --- a/xero_python/accounting/models/users.py +++ b/xero_python/accounting/models/users.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 2.1.6 + OpenAPI spec version: 2.2.2 Contact: api@xero.com Generated by: https://openapi-generator.tech """ diff --git a/xero_python/accounting/models/validation_error.py b/xero_python/accounting/models/validation_error.py index c6a08fec..e578e07f 100644 --- a/xero_python/accounting/models/validation_error.py +++ b/xero_python/accounting/models/validation_error.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 2.1.6 + OpenAPI spec version: 2.2.2 Contact: api@xero.com Generated by: https://openapi-generator.tech """ diff --git a/xero_python/docs/README.md b/xero_python/docs/README.md index 60a17eba..c876cfc4 100644 --- a/xero_python/docs/README.md +++ b/xero_python/docs/README.md @@ -3,8 +3,8 @@ This specifing endpoints related to managing authentication tokens and identity The `xero_python` package is automatically generated by the [XeroAPI SDK 2.0 Codegen](https://github.com/xero-github/xeroapi-sdk-codegen) project: -- API version: 2.1.6 -- Package version: 0.2.2 +- API version: 2.2.2 +- Package version: 0.2.3 - Build package: org.openapitools.codegen.languages.PythonClientCodegen For more information, please visit [https://developer.xero.com](https://developer.xero.com) diff --git a/xero_python/identity/__init__.py b/xero_python/identity/__init__.py index 15e043d3..d1fcfa8f 100644 --- a/xero_python/identity/__init__.py +++ b/xero_python/identity/__init__.py @@ -7,7 +7,7 @@ This specifing endpoints related to managing authentication tokens and identity for Xero API # noqa: E501 - OpenAPI spec version: 2.1.6 + OpenAPI spec version: 2.2.2 Contact: api@xero.com Generated by: https://openapi-generator.tech """ diff --git a/xero_python/identity/api/identity_api.py b/xero_python/identity/api/identity_api.py index 7939393f..152eb3b9 100644 --- a/xero_python/identity/api/identity_api.py +++ b/xero_python/identity/api/identity_api.py @@ -5,7 +5,7 @@ This specifing endpoints related to managing authentication tokens and identity for Xero API # noqa: E501 - OpenAPI spec version: 2.1.6 + OpenAPI spec version: 2.2.2 Contact: api@xero.com Generated by: https://openapi-generator.tech """ diff --git a/xero_python/identity/models/__init__.py b/xero_python/identity/models/__init__.py index f9fdb6fd..74bf3f8d 100644 --- a/xero_python/identity/models/__init__.py +++ b/xero_python/identity/models/__init__.py @@ -6,7 +6,7 @@ This specifing endpoints related to managing authentication tokens and identity for Xero API # noqa: E501 - OpenAPI spec version: 2.1.6 + OpenAPI spec version: 2.2.2 Contact: api@xero.com Generated by: https://openapi-generator.tech """ diff --git a/xero_python/identity/models/access_token.py b/xero_python/identity/models/access_token.py index 9b359abb..ad99ef63 100644 --- a/xero_python/identity/models/access_token.py +++ b/xero_python/identity/models/access_token.py @@ -5,7 +5,7 @@ This specifing endpoints related to managing authentication tokens and identity for Xero API # noqa: E501 - OpenAPI spec version: 2.1.6 + OpenAPI spec version: 2.2.2 Contact: api@xero.com Generated by: https://openapi-generator.tech """ diff --git a/xero_python/identity/models/connection.py b/xero_python/identity/models/connection.py index e55f90a4..49dbe0f5 100644 --- a/xero_python/identity/models/connection.py +++ b/xero_python/identity/models/connection.py @@ -5,7 +5,7 @@ This specifing endpoints related to managing authentication tokens and identity for Xero API # noqa: E501 - OpenAPI spec version: 2.1.6 + OpenAPI spec version: 2.2.2 Contact: api@xero.com Generated by: https://openapi-generator.tech """ diff --git a/xero_python/identity/models/refresh_token.py b/xero_python/identity/models/refresh_token.py index fe4c4dd0..9f34278d 100644 --- a/xero_python/identity/models/refresh_token.py +++ b/xero_python/identity/models/refresh_token.py @@ -5,7 +5,7 @@ This specifing endpoints related to managing authentication tokens and identity for Xero API # noqa: E501 - OpenAPI spec version: 2.1.6 + OpenAPI spec version: 2.2.2 Contact: api@xero.com Generated by: https://openapi-generator.tech """ diff --git a/xero_python/rest.py b/xero_python/rest.py index 7af2b1f0..02f39f3b 100644 --- a/xero_python/rest.py +++ b/xero_python/rest.py @@ -5,7 +5,7 @@ This specifing endpoints related to managing authentication tokens and identity for Xero API # noqa: E501 - OpenAPI spec version: 2.1.6 + OpenAPI spec version: 2.2.2 Contact: api@xero.com Generated by: https://openapi-generator.tech """