Skip to content

Commit c155190

Browse files
authored
Merge pull request #57 from XeroAPI/client-credentials-auth
fetch token using client credentials auth added
2 parents d243195 + 2790d86 commit c155190

File tree

25 files changed

+45225
-36705
lines changed

25 files changed

+45225
-36705
lines changed

README.md

Lines changed: 511 additions & 101 deletions
Large diffs are not rendered by default.

docs/v1/accounting/index.html

Lines changed: 44293 additions & 36578 deletions
Large diffs are not rendered by default.

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,5 +48,5 @@ def read_file(filename):
4848
keywords="xero python sdk API oAuth",
4949
name="xero_python",
5050
packages=find_packages(include=["xero_python", "xero_python.*"]),
51-
version="1.7.0",
51+
version="1.8.0",
5252
)

xero_python/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22

33
__author__ = """Xero Developer API"""
44
__email__ = "[email protected]"
5-
__version__ = "1.7.0"
5+
__version__ = "1.8.0"

xero_python/accounting/__init__.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,8 @@
4545
from xero_python.accounting.models.branding_theme import BrandingTheme
4646
from xero_python.accounting.models.branding_themes import BrandingThemes
4747
from xero_python.accounting.models.budget import Budget
48-
from xero_python.accounting.models.budget_lines import BudgetLines
48+
from xero_python.accounting.models.budget_balance import BudgetBalance
49+
from xero_python.accounting.models.budget_line import BudgetLine
4950
from xero_python.accounting.models.budgets import Budgets
5051
from xero_python.accounting.models.cis_org_setting import CISOrgSetting
5152
from xero_python.accounting.models.cis_org_settings import CISOrgSettings

xero_python/accounting/api/accounting_api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"""
1111

1212
"""
13-
OpenAPI spec version: 2.13.2
13+
OpenAPI spec version: 2.13.4
1414
"""
1515

1616
import importlib

xero_python/accounting/docs/Budget.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ Name | Type | Description | Notes
77
**type** | **str** | Type of Budget. OVERALL or TRACKING | [optional]
88
**description** | **str** | The Budget description | [optional]
99
**updated_date_utc** | **datetime** | UTC timestamp of last update to budget | [optional]
10-
**budget_lines** | [**BudgetLines**](BudgetLines.md) | | [optional]
11-
**tracking** | [**TrackingCategory**](TrackingCategory.md) | | [optional]
10+
**budget_lines** | [**list[BudgetLine]**](BudgetLine.md) | | [optional]
11+
**tracking** | [**list[TrackingCategory]**](TrackingCategory.md) | | [optional]
1212

1313
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
1414

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# BudgetBalance
2+
3+
## Properties
4+
Name | Type | Description | Notes
5+
------------ | ------------- | ------------- | -------------
6+
**period** | **date** | Period the amount applies to (e.g. “2019-08”) | [optional]
7+
**amount** | **int** | LineItem Quantity | [optional]
8+
**unit_amount** | **int** | Budgeted amount | [optional]
9+
**notes** | **str** | Any footnotes associated with this balance | [optional]
10+
11+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
12+
13+
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# BudgetLine
2+
3+
## Properties
4+
Name | Type | Description | Notes
5+
------------ | ------------- | ------------- | -------------
6+
**account_id** | **str** | See Accounts | [optional]
7+
**account_code** | **str** | See Accounts | [optional]
8+
**budget_balances** | [**list[BudgetBalance]**](BudgetBalance.md) | | [optional]
9+
10+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
11+
12+

xero_python/accounting/models/__init__.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,8 @@
4040
from xero_python.accounting.models.branding_theme import BrandingTheme
4141
from xero_python.accounting.models.branding_themes import BrandingThemes
4242
from xero_python.accounting.models.budget import Budget
43-
from xero_python.accounting.models.budget_lines import BudgetLines
43+
from xero_python.accounting.models.budget_balance import BudgetBalance
44+
from xero_python.accounting.models.budget_line import BudgetLine
4445
from xero_python.accounting.models.budgets import Budgets
4546
from xero_python.accounting.models.cis_org_setting import CISOrgSetting
4647
from xero_python.accounting.models.cis_org_settings import CISOrgSettings

0 commit comments

Comments
 (0)