diff --git a/docs/apis/AccountingApi.md b/docs/apis/AccountingApi.md index 18a3c87a9..95ef3c905 100644 --- a/docs/apis/AccountingApi.md +++ b/docs/apis/AccountingApi.md @@ -6063,6 +6063,7 @@ with apideck.ApiClient(configuration) as api_client: description="Travel US.", total_amount=275, billable=True, + line_number=1, ), ], custom_fields=[ @@ -6549,6 +6550,7 @@ with apideck.ApiClient(configuration) as api_client: description="Travel US.", total_amount=275, billable=True, + line_number=1, ), ], custom_fields=[ diff --git a/docs/models/Expense.md b/docs/models/Expense.md index 1ffb71aac..e86e1b551 100644 --- a/docs/models/Expense.md +++ b/docs/models/Expense.md @@ -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) diff --git a/docs/models/ExpenseLineItem.md b/docs/models/ExpenseLineItem.md index 78a6e50cb..8afe15938 100644 --- a/docs/models/ExpenseLineItem.md +++ b/docs/models/ExpenseLineItem.md @@ -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) diff --git a/src/apideck/model/expense.py b/src/apideck/model/expense.py index f31262900..848cc49f6 100644 --- a/src/apideck/model/expense.py +++ b/src/apideck/model/expense.py @@ -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 } @@ -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 } @@ -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 = {} @@ -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 """ @@ -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 """ diff --git a/src/apideck/model/expense_line_item.py b/src/apideck/model/expense_line_item.py index d9e3965d1..950c608c9 100644 --- a/src/apideck/model/expense_line_item.py +++ b/src/apideck/model/expense_line_item.py @@ -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 @@ -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 = { @@ -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) @@ -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)