Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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="1.3.0",
version="1.4.0",
)
2 changes: 1 addition & 1 deletion xero_python/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@

__author__ = """Xero Developer API"""
__email__ = "api@xero.com"
__version__ = "1.3.0"
__version__ = "1.4.0"
3 changes: 2 additions & 1 deletion xero_python/accounting/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# flake8: noqa

"""
Accounting API
Xero Accounting API

No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501

Expand Down Expand Up @@ -45,6 +45,7 @@
from xero_python.accounting.models.branding_theme import BrandingTheme
from xero_python.accounting.models.branding_themes import BrandingThemes
from xero_python.accounting.models.cis_org_setting import CISOrgSetting
from xero_python.accounting.models.cis_org_settings import CISOrgSettings
from xero_python.accounting.models.cis_setting import CISSetting
from xero_python.accounting.models.cis_settings import CISSettings
from xero_python.accounting.models.contact import Contact
Expand Down
450 changes: 225 additions & 225 deletions xero_python/accounting/api/accounting_api.py

Large diffs are not rendered by default.

1,722 changes: 861 additions & 861 deletions xero_python/accounting/docs/AccountingApi.md

Large diffs are not rendered by default.

10 changes: 10 additions & 0 deletions xero_python/accounting/docs/CISOrgSettings.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# CISOrgSettings

## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**cis_settings** | [**list[CISOrgSetting]**](CISOrgSetting.md) | | [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)


1 change: 1 addition & 0 deletions xero_python/accounting/docs/CreditNote.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ Name | Type | Description | Notes
**has_attachments** | **bool** | boolean to indicate if a credit note has an attachment | [optional] [default to False]
**has_errors** | **bool** | A boolean to indicate if a credit note has an validation errors | [optional] [default to False]
**validation_errors** | [**list[ValidationError]**](ValidationError.md) | Displays array of validation error messages from the API | [optional]
**warnings** | [**list[ValidationError]**](ValidationError.md) | Displays array of warning 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)

Expand Down
1 change: 1 addition & 0 deletions xero_python/accounting/docs/Payment.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ Name | Type | Description | Notes
**payment_type** | **str** | See Payment Types. | [optional]
**updated_date_utc** | **datetime** | UTC timestamp of last update to the payment | [optional]
**payment_id** | **str** | The Xero identifier for an Payment e.g. 297c2dc5-cc47-4afd-8ec8-74990b8761e9 | [optional]
**batch_payment_id** | **str** | Present if the payment was created as part of a batch. | [optional]
**bank_account_number** | **str** | The suppliers bank account number the payment is being made to | [optional]
**particulars** | **str** | The suppliers bank account number the payment is being made to | [optional]
**details** | **str** | The information to appear on the supplier's bank account | [optional]
Expand Down
3 changes: 2 additions & 1 deletion xero_python/accounting/models/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

# flake8: noqa
"""
Accounting API
Xero Accounting API

No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501

Expand Down Expand Up @@ -40,6 +40,7 @@
from xero_python.accounting.models.branding_theme import BrandingTheme
from xero_python.accounting.models.branding_themes import BrandingThemes
from xero_python.accounting.models.cis_org_setting import CISOrgSetting
from xero_python.accounting.models.cis_org_settings import CISOrgSettings
from xero_python.accounting.models.cis_setting import CISSetting
from xero_python.accounting.models.cis_settings import CISSettings
from xero_python.accounting.models.contact import Contact
Expand Down
2 changes: 1 addition & 1 deletion xero_python/accounting/models/account.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# coding: utf-8

"""
Accounting API
Xero Accounting API

No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501

Expand Down
2 changes: 1 addition & 1 deletion xero_python/accounting/models/account_type.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# coding: utf-8

"""
Accounting API
Xero Accounting API

No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501

Expand Down
2 changes: 1 addition & 1 deletion xero_python/accounting/models/accounts.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# coding: utf-8

"""
Accounting API
Xero Accounting API

No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501

Expand Down
2 changes: 1 addition & 1 deletion xero_python/accounting/models/accounts_payable.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# coding: utf-8

"""
Accounting API
Xero Accounting API

No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501

Expand Down
2 changes: 1 addition & 1 deletion xero_python/accounting/models/accounts_receivable.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# coding: utf-8

"""
Accounting API
Xero Accounting API

No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501

Expand Down
2 changes: 1 addition & 1 deletion xero_python/accounting/models/action.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# coding: utf-8

"""
Accounting API
Xero Accounting API

No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501

Expand Down
2 changes: 1 addition & 1 deletion xero_python/accounting/models/actions.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# coding: utf-8

"""
Accounting API
Xero Accounting API

No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501

Expand Down
2 changes: 1 addition & 1 deletion xero_python/accounting/models/address.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# coding: utf-8

"""
Accounting API
Xero Accounting API

No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501

Expand Down
2 changes: 1 addition & 1 deletion xero_python/accounting/models/address_for_organisation.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# coding: utf-8

"""
Accounting API
Xero Accounting API

No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501

Expand Down
2 changes: 1 addition & 1 deletion xero_python/accounting/models/allocation.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# coding: utf-8

"""
Accounting API
Xero Accounting API

No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501

Expand Down
2 changes: 1 addition & 1 deletion xero_python/accounting/models/allocations.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# coding: utf-8

"""
Accounting API
Xero Accounting API

No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501

Expand Down
2 changes: 1 addition & 1 deletion xero_python/accounting/models/attachment.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# coding: utf-8

"""
Accounting API
Xero Accounting API

No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501

Expand Down
2 changes: 1 addition & 1 deletion xero_python/accounting/models/attachments.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# coding: utf-8

"""
Accounting API
Xero Accounting API

No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501

Expand Down
2 changes: 1 addition & 1 deletion xero_python/accounting/models/balance_details.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# coding: utf-8

"""
Accounting API
Xero Accounting API

No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501

Expand Down
2 changes: 1 addition & 1 deletion xero_python/accounting/models/balances.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# coding: utf-8

"""
Accounting API
Xero Accounting API

No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501

Expand Down
2 changes: 1 addition & 1 deletion xero_python/accounting/models/bank_transaction.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# coding: utf-8

"""
Accounting API
Xero Accounting API

No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501

Expand Down
2 changes: 1 addition & 1 deletion xero_python/accounting/models/bank_transactions.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# coding: utf-8

"""
Accounting API
Xero Accounting API

No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501

Expand Down
2 changes: 1 addition & 1 deletion xero_python/accounting/models/bank_transfer.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# coding: utf-8

"""
Accounting API
Xero Accounting API

No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501

Expand Down
2 changes: 1 addition & 1 deletion xero_python/accounting/models/bank_transfers.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# coding: utf-8

"""
Accounting API
Xero Accounting API

No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501

Expand Down
2 changes: 1 addition & 1 deletion xero_python/accounting/models/batch_payment.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# coding: utf-8

"""
Accounting API
Xero Accounting API

No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501

Expand Down
2 changes: 1 addition & 1 deletion xero_python/accounting/models/batch_payment_details.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# coding: utf-8

"""
Accounting API
Xero Accounting API

No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501

Expand Down
2 changes: 1 addition & 1 deletion xero_python/accounting/models/batch_payments.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# coding: utf-8

"""
Accounting API
Xero Accounting API

No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501

Expand Down
2 changes: 1 addition & 1 deletion xero_python/accounting/models/bill.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# coding: utf-8

"""
Accounting API
Xero Accounting API

No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501

Expand Down
2 changes: 1 addition & 1 deletion xero_python/accounting/models/branding_theme.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# coding: utf-8

"""
Accounting API
Xero Accounting API

No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501

Expand Down
2 changes: 1 addition & 1 deletion xero_python/accounting/models/branding_themes.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# coding: utf-8

"""
Accounting API
Xero Accounting API

No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501

Expand Down
2 changes: 1 addition & 1 deletion xero_python/accounting/models/cis_org_setting.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# coding: utf-8

"""
Accounting API
Xero Accounting API

No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501

Expand Down
64 changes: 64 additions & 0 deletions xero_python/accounting/models/cis_org_settings.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
# coding: utf-8

"""
Xero Accounting API

No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501

Contact: api@xero.com
Generated by: https://openapi-generator.tech
"""


import re # noqa: F401

from xero_python.models import BaseModel


class CISOrgSettings(BaseModel):
"""NOTE: This class is auto generated by OpenAPI Generator.
Ref: https://openapi-generator.tech

Do not edit the class manually.
"""

"""
Attributes:
openapi_types (dict): The key is attribute name
and the value is attribute type.
attribute_map (dict): The key is attribute name
and the value is json key in definition.
"""
openapi_types = {"cis_settings": "list[CISOrgSetting]"}

attribute_map = {"cis_settings": "CISSettings"}

def __init__(self, cis_settings=None): # noqa: E501
"""CISOrgSettings - a model defined in OpenAPI""" # noqa: E501

self._cis_settings = None
self.discriminator = None

if cis_settings is not None:
self.cis_settings = cis_settings

@property
def cis_settings(self):
"""Gets the cis_settings of this CISOrgSettings. # noqa: E501


:return: The cis_settings of this CISOrgSettings. # noqa: E501
:rtype: list[CISOrgSetting]
"""
return self._cis_settings

@cis_settings.setter
def cis_settings(self, cis_settings):
"""Sets the cis_settings of this CISOrgSettings.


:param cis_settings: The cis_settings of this CISOrgSettings. # noqa: E501
:type: list[CISOrgSetting]
"""

self._cis_settings = cis_settings
2 changes: 1 addition & 1 deletion xero_python/accounting/models/cis_setting.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# coding: utf-8

"""
Accounting API
Xero Accounting API

No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501

Expand Down
2 changes: 1 addition & 1 deletion xero_python/accounting/models/cis_settings.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# coding: utf-8

"""
Accounting API
Xero Accounting API

No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501

Expand Down
2 changes: 1 addition & 1 deletion xero_python/accounting/models/contact.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# coding: utf-8

"""
Accounting API
Xero Accounting API

No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501

Expand Down
Loading