Skip to content

Commit

Permalink
Automated update by SDK Generator (#92)
Browse files Browse the repository at this point in the history
  • Loading branch information
nicklloyd authored Dec 30, 2024
1 parent 4d3a037 commit d69fed4
Show file tree
Hide file tree
Showing 10 changed files with 75 additions and 0 deletions.
48 changes: 48 additions & 0 deletions docs/apis/AccountingApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -1772,6 +1772,14 @@ with apideck.ApiClient(configuration) as api_client:
),
]),
row_version="1-12345",
custom_fields=[
CustomField(
id="2389328923893298",
name="employee_level",
description="Employee Level",
value=None,
),
],
pass_through=PassThroughBody([
{
service_id="service_id_example",
Expand Down Expand Up @@ -2347,6 +2355,14 @@ with apideck.ApiClient(configuration) as api_client:
),
]),
row_version="1-12345",
custom_fields=[
CustomField(
id="2389328923893298",
name="employee_level",
description="Employee Level",
value=None,
),
],
pass_through=PassThroughBody([
{
service_id="service_id_example",
Expand Down Expand Up @@ -7896,6 +7912,14 @@ with apideck.ApiClient(configuration) as api_client:
subsidiaries=[
None,
],
custom_fields=[
CustomField(
id="2389328923893298",
name="employee_level",
description="Employee Level",
value=None,
),
],
row_version="1-12345",
pass_through=PassThroughBody([
{
Expand Down Expand Up @@ -8397,6 +8421,14 @@ with apideck.ApiClient(configuration) as api_client:
subsidiaries=[
None,
],
custom_fields=[
CustomField(
id="2389328923893298",
name="employee_level",
description="Employee Level",
value=None,
),
],
row_version="1-12345",
pass_through=PassThroughBody([
{
Expand Down Expand Up @@ -11556,6 +11588,14 @@ with apideck.ApiClient(configuration) as api_client:
status="active",
payment_method="cash",
channel="email",
custom_fields=[
CustomField(
id="2389328923893298",
name="employee_level",
description="Employee Level",
value=None,
),
],
row_version="1-12345",
pass_through=PassThroughBody([
{
Expand Down Expand Up @@ -12111,6 +12151,14 @@ with apideck.ApiClient(configuration) as api_client:
status="active",
payment_method="cash",
channel="email",
custom_fields=[
CustomField(
id="2389328923893298",
name="employee_level",
description="Employee Level",
value=None,
),
],
row_version="1-12345",
pass_through=PassThroughBody([
{
Expand Down
1 change: 1 addition & 0 deletions docs/models/Bill.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ 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]
**custom_fields** | [**[CustomField]**](CustomField.md) | | [optional]
**custom_mappings** | **{str: (bool, date, datetime, dict, float, int, list, str, none_type)}, none_type** | When custom mappings are configured on the resource, the result is included here. | [optional] [readonly]
**pass_through** | [**PassThroughBody**](PassThroughBody.md) | | [optional]
**accounting_period** | **str, none_type** | Accounting period | [optional]
Expand Down
1 change: 1 addition & 0 deletions docs/models/LedgerAccount.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ Name | Type | Description | Notes
**last_reconciliation_date** | **date, none_type** | Reconciliation Date means the last calendar day of each Reconciliation Period. | [optional]
**subsidiaries** | **[bool, date, datetime, dict, float, int, list, str, none_type]** | The subsidiaries the account belongs to. | [optional]
**custom_mappings** | **{str: (bool, date, datetime, dict, float, int, list, str, none_type)}, none_type** | When custom mappings are configured on the resource, the result is included here. | [optional] [readonly]
**custom_fields** | [**[CustomField]**](CustomField.md) | | [optional]
**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]
Expand Down
1 change: 1 addition & 0 deletions docs/models/Supplier.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ Name | Type | Description | Notes
**payment_method** | **str, none_type** | Payment method used for the transaction, such as cash, credit card, bank transfer, or check | [optional]
**channel** | **str, none_type** | The channel through which the transaction is processed. | [optional]
**custom_mappings** | **{str: (bool, date, datetime, dict, float, int, list, str, none_type)}, none_type** | When custom mappings are configured on the resource, the result is included here. | [optional] [readonly]
**custom_fields** | [**[CustomField]**](CustomField.md) | | [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]
**updated_at** | **datetime, none_type** | The date and time when the object was last updated. | [optional] [readonly]
Expand Down
6 changes: 6 additions & 0 deletions src/apideck/model/bill.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,15 @@ def lazy_import():
from apideck.model.bank_account import BankAccount
from apideck.model.bill_line_item import BillLineItem
from apideck.model.currency import Currency
from apideck.model.custom_field import CustomField
from apideck.model.linked_ledger_account import LinkedLedgerAccount
from apideck.model.linked_supplier import LinkedSupplier
from apideck.model.linked_tracking_categories import LinkedTrackingCategories
from apideck.model.pass_through_body import PassThroughBody
globals()['BankAccount'] = BankAccount
globals()['BillLineItem'] = BillLineItem
globals()['Currency'] = Currency
globals()['CustomField'] = CustomField
globals()['LinkedLedgerAccount'] = LinkedLedgerAccount
globals()['LinkedSupplier'] = LinkedSupplier
globals()['LinkedTrackingCategories'] = LinkedTrackingCategories
Expand Down Expand Up @@ -140,6 +142,7 @@ def openapi_types():
'updated_at': (datetime, none_type,), # noqa: E501
'created_at': (datetime, none_type,), # noqa: E501
'row_version': (str, none_type,), # noqa: E501
'custom_fields': ([CustomField],), # noqa: E501
'custom_mappings': ({str: (bool, date, datetime, dict, float, int, list, str, none_type)}, none_type,), # noqa: E501
'pass_through': (PassThroughBody,), # noqa: E501
'accounting_period': (str, none_type,), # noqa: E501
Expand Down Expand Up @@ -187,6 +190,7 @@ def discriminator():
'updated_at': 'updated_at', # noqa: E501
'created_at': 'created_at', # noqa: E501
'row_version': 'row_version', # noqa: E501
'custom_fields': 'custom_fields', # noqa: E501
'custom_mappings': 'custom_mappings', # noqa: E501
'pass_through': 'pass_through', # noqa: E501
'accounting_period': 'accounting_period', # noqa: E501
Expand Down Expand Up @@ -276,6 +280,7 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501
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
custom_fields ([CustomField]): [optional] # noqa: E501
custom_mappings ({str: (bool, date, datetime, dict, float, int, list, str, none_type)}, none_type): When custom mappings are configured on the resource, the result is included here.. [optional] # noqa: E501
pass_through (PassThroughBody): [optional] # noqa: E501
accounting_period (str, none_type): Accounting period. [optional] # noqa: E501
Expand Down Expand Up @@ -396,6 +401,7 @@ def __init__(self, *args, **kwargs): # noqa: E501
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
custom_fields ([CustomField]): [optional] # noqa: E501
custom_mappings ({str: (bool, date, datetime, dict, float, int, list, str, none_type)}, none_type): When custom mappings are configured on the resource, the result is included here.. [optional] # noqa: E501
pass_through (PassThroughBody): [optional] # noqa: E501
accounting_period (str, none_type): Accounting period. [optional] # noqa: E501
Expand Down
6 changes: 6 additions & 0 deletions src/apideck/model/ledger_account.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,14 @@
def lazy_import():
from apideck.model.bank_account import BankAccount
from apideck.model.currency import Currency
from apideck.model.custom_field import CustomField
from apideck.model.ledger_account_categories import LedgerAccountCategories
from apideck.model.ledger_account_parent_account import LedgerAccountParentAccount
from apideck.model.linked_tax_rate import LinkedTaxRate
from apideck.model.pass_through_body import PassThroughBody
globals()['BankAccount'] = BankAccount
globals()['Currency'] = Currency
globals()['CustomField'] = CustomField
globals()['LedgerAccountCategories'] = LedgerAccountCategories
globals()['LedgerAccountParentAccount'] = LedgerAccountParentAccount
globals()['LinkedTaxRate'] = LinkedTaxRate
Expand Down Expand Up @@ -159,6 +161,7 @@ def openapi_types():
'last_reconciliation_date': (date, none_type,), # noqa: E501
'subsidiaries': ([bool, date, datetime, dict, float, int, list, str, none_type],), # noqa: E501
'custom_mappings': ({str: (bool, date, datetime, dict, float, int, list, str, none_type)}, none_type,), # noqa: E501
'custom_fields': ([CustomField],), # noqa: E501
'row_version': (str, none_type,), # noqa: E501
'updated_by': (str, none_type,), # noqa: E501
'created_by': (str, none_type,), # noqa: E501
Expand Down Expand Up @@ -200,6 +203,7 @@ def discriminator():
'last_reconciliation_date': 'last_reconciliation_date', # noqa: E501
'subsidiaries': 'subsidiaries', # noqa: E501
'custom_mappings': 'custom_mappings', # noqa: E501
'custom_fields': 'custom_fields', # noqa: E501
'row_version': 'row_version', # noqa: E501
'updated_by': 'updated_by', # noqa: E501
'created_by': 'created_by', # noqa: E501
Expand Down Expand Up @@ -284,6 +288,7 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501
last_reconciliation_date (date, none_type): Reconciliation Date means the last calendar day of each Reconciliation Period.. [optional] # noqa: E501
subsidiaries ([bool, date, datetime, dict, float, int, list, str, none_type]): The subsidiaries the account belongs to.. [optional] # noqa: E501
custom_mappings ({str: (bool, date, datetime, dict, float, int, list, str, none_type)}, none_type): When custom mappings are configured on the resource, the result is included here.. [optional] # noqa: E501
custom_fields ([CustomField]): [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
Expand Down Expand Up @@ -398,6 +403,7 @@ def __init__(self, *args, **kwargs): # noqa: E501
last_reconciliation_date (date, none_type): Reconciliation Date means the last calendar day of each Reconciliation Period.. [optional] # noqa: E501
subsidiaries ([bool, date, datetime, dict, float, int, list, str, none_type]): The subsidiaries the account belongs to.. [optional] # noqa: E501
custom_mappings ({str: (bool, date, datetime, dict, float, int, list, str, none_type)}, none_type): When custom mappings are configured on the resource, the result is included here.. [optional] # noqa: E501
custom_fields ([CustomField]): [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
Expand Down
6 changes: 6 additions & 0 deletions src/apideck/model/supplier.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ def lazy_import():
from apideck.model.address import Address
from apideck.model.bank_account import BankAccount
from apideck.model.currency import Currency
from apideck.model.custom_field import CustomField
from apideck.model.email import Email
from apideck.model.linked_ledger_account import LinkedLedgerAccount
from apideck.model.linked_tax_rate import LinkedTaxRate
Expand All @@ -43,6 +44,7 @@ def lazy_import():
globals()['Address'] = Address
globals()['BankAccount'] = BankAccount
globals()['Currency'] = Currency
globals()['CustomField'] = CustomField
globals()['Email'] = Email
globals()['LinkedLedgerAccount'] = LinkedLedgerAccount
globals()['LinkedTaxRate'] = LinkedTaxRate
Expand Down Expand Up @@ -131,6 +133,7 @@ def openapi_types():
'payment_method': (str, none_type,), # noqa: E501
'channel': (str, none_type,), # noqa: E501
'custom_mappings': ({str: (bool, date, datetime, dict, float, int, list, str, none_type)}, none_type,), # noqa: E501
'custom_fields': ([CustomField],), # noqa: E501
'updated_by': (str, none_type,), # noqa: E501
'created_by': (str, none_type,), # noqa: E501
'updated_at': (datetime, none_type,), # noqa: E501
Expand Down Expand Up @@ -172,6 +175,7 @@ def discriminator():
'payment_method': 'payment_method', # noqa: E501
'channel': 'channel', # noqa: E501
'custom_mappings': 'custom_mappings', # noqa: E501
'custom_fields': 'custom_fields', # noqa: E501
'updated_by': 'updated_by', # noqa: E501
'created_by': 'created_by', # noqa: E501
'updated_at': 'updated_at', # noqa: E501
Expand Down Expand Up @@ -257,6 +261,7 @@ def _from_openapi_data(cls, id, *args, **kwargs): # noqa: E501
payment_method (str, none_type): Payment method used for the transaction, such as cash, credit card, bank transfer, or check. [optional] # noqa: E501
channel (str, none_type): The channel through which the transaction is processed.. [optional] # noqa: E501
custom_mappings ({str: (bool, date, datetime, dict, float, int, list, str, none_type)}, none_type): When custom mappings are configured on the resource, the result is included here.. [optional] # noqa: E501
custom_fields ([CustomField]): [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
updated_at (datetime, none_type): The date and time when the object was last updated.. [optional] # noqa: E501
Expand Down Expand Up @@ -371,6 +376,7 @@ def __init__(self, *args, **kwargs): # noqa: E501
payment_method (str, none_type): Payment method used for the transaction, such as cash, credit card, bank transfer, or check. [optional] # noqa: E501
channel (str, none_type): The channel through which the transaction is processed.. [optional] # noqa: E501
custom_mappings ({str: (bool, date, datetime, dict, float, int, list, str, none_type)}, none_type): When custom mappings are configured on the resource, the result is included here.. [optional] # noqa: E501
custom_fields ([CustomField]): [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
updated_at (datetime, none_type): The date and time when the object was last updated.. [optional] # noqa: E501
Expand Down
2 changes: 2 additions & 0 deletions src/test/test_bill.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,15 @@
from apideck.model.bank_account import BankAccount
from apideck.model.bill_line_item import BillLineItem
from apideck.model.currency import Currency
from apideck.model.custom_field import CustomField
from apideck.model.linked_ledger_account import LinkedLedgerAccount
from apideck.model.linked_supplier import LinkedSupplier
from apideck.model.linked_tracking_categories import LinkedTrackingCategories
from apideck.model.pass_through_body import PassThroughBody
globals()['BankAccount'] = BankAccount
globals()['BillLineItem'] = BillLineItem
globals()['Currency'] = Currency
globals()['CustomField'] = CustomField
globals()['LinkedLedgerAccount'] = LinkedLedgerAccount
globals()['LinkedSupplier'] = LinkedSupplier
globals()['LinkedTrackingCategories'] = LinkedTrackingCategories
Expand Down
2 changes: 2 additions & 0 deletions src/test/test_ledger_account.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,14 @@
import apideck
from apideck.model.bank_account import BankAccount
from apideck.model.currency import Currency
from apideck.model.custom_field import CustomField
from apideck.model.ledger_account_categories import LedgerAccountCategories
from apideck.model.ledger_account_parent_account import LedgerAccountParentAccount
from apideck.model.linked_tax_rate import LinkedTaxRate
from apideck.model.pass_through_body import PassThroughBody
globals()['BankAccount'] = BankAccount
globals()['Currency'] = Currency
globals()['CustomField'] = CustomField
globals()['LedgerAccountCategories'] = LedgerAccountCategories
globals()['LedgerAccountParentAccount'] = LedgerAccountParentAccount
globals()['LinkedTaxRate'] = LinkedTaxRate
Expand Down
2 changes: 2 additions & 0 deletions src/test/test_supplier.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
from apideck.model.address import Address
from apideck.model.bank_account import BankAccount
from apideck.model.currency import Currency
from apideck.model.custom_field import CustomField
from apideck.model.email import Email
from apideck.model.linked_ledger_account import LinkedLedgerAccount
from apideck.model.linked_tax_rate import LinkedTaxRate
Expand All @@ -25,6 +26,7 @@
globals()['Address'] = Address
globals()['BankAccount'] = BankAccount
globals()['Currency'] = Currency
globals()['CustomField'] = CustomField
globals()['Email'] = Email
globals()['LinkedLedgerAccount'] = LinkedLedgerAccount
globals()['LinkedTaxRate'] = LinkedTaxRate
Expand Down

0 comments on commit d69fed4

Please sign in to comment.