Skip to content
This repository was archived by the owner on Jun 2, 2025. It is now read-only.
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: 2 additions & 0 deletions docs/apis/AccountingApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -6063,6 +6063,7 @@ with apideck.ApiClient(configuration) as api_client:
description="Travel US.",
total_amount=275,
billable=True,
line_number=1,
),
],
custom_fields=[
Expand Down Expand Up @@ -6549,6 +6550,7 @@ with apideck.ApiClient(configuration) as api_client:
description="Travel US.",
total_amount=275,
billable=True,
line_number=1,
),
],
custom_fields=[
Expand Down
2 changes: 2 additions & 0 deletions docs/models/Expense.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ Name | Type | Description | Notes
**updated_at** | **datetime, none_type** | The date and time when the object was last updated. | [optional] [readonly]
**created_at** | **datetime, none_type** | The date and time when the object was created. | [optional] [readonly]
**row_version** | **str, none_type** | A binary value used to detect updates to a object and prevent data conflicts. It is incremented each time an update is made to the object. | [optional]
**updated_by** | **str, none_type** | The user who last updated the object. | [optional] [readonly]
**created_by** | **str, none_type** | The user who created the object. | [optional] [readonly]
**pass_through** | [**PassThroughBody**](PassThroughBody.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)
Expand Down
1 change: 1 addition & 0 deletions docs/models/ExpenseLineItem.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ Name | Type | Description | Notes
**tax_rate** | [**LinkedTaxRate**](LinkedTaxRate.md) | | [optional]
**description** | **str, none_type** | The expense line item description | [optional]
**billable** | **bool** | Boolean that indicates if the line item is billable or not. | [optional]
**line_number** | **int, none_type** | Line number of the resource | [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
10 changes: 10 additions & 0 deletions src/apideck/model/expense.py
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,8 @@ def openapi_types():
'updated_at': (datetime, none_type,), # noqa: E501
'created_at': (datetime, none_type,), # noqa: E501
'row_version': (str, none_type,), # noqa: E501
'updated_by': (str, none_type,), # noqa: E501
'created_by': (str, none_type,), # noqa: E501
'pass_through': (PassThroughBody,), # noqa: E501
}

Expand Down Expand Up @@ -154,6 +156,8 @@ def discriminator():
'updated_at': 'updated_at', # noqa: E501
'created_at': 'created_at', # noqa: E501
'row_version': 'row_version', # noqa: E501
'updated_by': 'updated_by', # noqa: E501
'created_by': 'created_by', # noqa: E501
'pass_through': 'pass_through', # noqa: E501
}

Expand All @@ -162,6 +166,8 @@ def discriminator():
'custom_mappings', # noqa: E501
'updated_at', # noqa: E501
'created_at', # noqa: E501
'updated_by', # noqa: E501
'created_by', # noqa: E501
}

_composed_schemas = {}
Expand Down Expand Up @@ -225,6 +231,8 @@ def _from_openapi_data(cls, transaction_date, account_id, line_items, *args, **k
updated_at (datetime, none_type): The date and time when the object was last updated.. [optional] # noqa: E501
created_at (datetime, none_type): The date and time when the object was created.. [optional] # noqa: E501
row_version (str, none_type): A binary value used to detect updates to a object and prevent data conflicts. It is incremented each time an update is made to the object.. [optional] # noqa: E501
updated_by (str, none_type): The user who last updated the object.. [optional] # noqa: E501
created_by (str, none_type): The user who created the object.. [optional] # noqa: E501
pass_through (PassThroughBody): [optional] # noqa: E501
"""

Expand Down Expand Up @@ -333,6 +341,8 @@ def __init__(self, transaction_date, account_id, line_items, *args, **kwargs):
updated_at (datetime, none_type): The date and time when the object was last updated.. [optional] # noqa: E501
created_at (datetime, none_type): The date and time when the object was created.. [optional] # noqa: E501
row_version (str, none_type): A binary value used to detect updates to a object and prevent data conflicts. It is incremented each time an update is made to the object.. [optional] # noqa: E501
updated_by (str, none_type): The user who last updated the object.. [optional] # noqa: E501
created_by (str, none_type): The user who created the object.. [optional] # noqa: E501
pass_through (PassThroughBody): [optional] # noqa: E501
"""

Expand Down
4 changes: 4 additions & 0 deletions src/apideck/model/expense_line_item.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@ def openapi_types():
'tax_rate': (LinkedTaxRate,), # noqa: E501
'description': (str, none_type,), # noqa: E501
'billable': (bool,), # noqa: E501
'line_number': (int, none_type,), # noqa: E501
}

@cached_property
Expand All @@ -113,6 +114,7 @@ def discriminator():
'tax_rate': 'tax_rate', # noqa: E501
'description': 'description', # noqa: E501
'billable': 'billable', # noqa: E501
'line_number': 'line_number', # noqa: E501
}

read_only_vars = {
Expand Down Expand Up @@ -170,6 +172,7 @@ def _from_openapi_data(cls, total_amount, *args, **kwargs): # noqa: E501
tax_rate (LinkedTaxRate): [optional] # noqa: E501
description (str, none_type): The expense line item description. [optional] # noqa: E501
billable (bool): Boolean that indicates if the line item is billable or not.. [optional] # noqa: E501
line_number (int, none_type): Line number of the resource. [optional] # noqa: E501
"""

_check_type = kwargs.pop('_check_type', True)
Expand Down Expand Up @@ -265,6 +268,7 @@ def __init__(self, total_amount, *args, **kwargs): # noqa: E501
tax_rate (LinkedTaxRate): [optional] # noqa: E501
description (str, none_type): The expense line item description. [optional] # noqa: E501
billable (bool): Boolean that indicates if the line item is billable or not.. [optional] # noqa: E501
line_number (int, none_type): Line number of the resource. [optional] # noqa: E501
"""

_check_type = kwargs.pop('_check_type', True)
Expand Down
Loading