Skip to content

Commit

Permalink
Automated update by SDK Generator version:1.5.0 commit:9037cbf
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Dec 20, 2024
1 parent 7784c9a commit ea0c7cf
Show file tree
Hide file tree
Showing 7 changed files with 50 additions and 0 deletions.
32 changes: 32 additions & 0 deletions docs/apis/AccountingApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -3548,6 +3548,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 @@ -4108,6 +4116,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 @@ -12250,6 +12266,14 @@ with apideck.ApiClient(configuration) as api_client:
subsidiaries=[
None,
],
custom_fields=[
CustomField(
id="2389328923893298",
name="employee_level",
description="Employee Level",
value=None,
),
],
) # TaxRate |
raw = False # bool | Include raw response. Mostly used for debugging purposes (optional) if omitted the server will use the default value of False
consumer_id = "test-consumer" # str | ID of the consumer which you want to get or push data from (optional)
Expand Down Expand Up @@ -12723,6 +12747,14 @@ with apideck.ApiClient(configuration) as api_client:
subsidiaries=[
None,
],
custom_fields=[
CustomField(
id="2389328923893298",
name="employee_level",
description="Employee Level",
value=None,
),
],
) # TaxRate |
consumer_id = "test-consumer" # str | ID of the consumer which you want to get or push data from (optional)
app_id = "dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX" # str | The ID of your Unify application (optional)
Expand Down
1 change: 1 addition & 0 deletions docs/models/Customer.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ Name | Type | Description | Notes
**status** | **str, none_type** | Customer status | [optional]
**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_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]
**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/TaxRate.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ Name | Type | Description | Notes
**created_at** | **datetime, none_type** | The date and time when the object was created. | [optional] [readonly]
**pass_through** | [**PassThroughBody**](PassThroughBody.md) | | [optional]
**subsidiaries** | **[bool, date, datetime, dict, float, int, list, str, none_type]** | The subsidiaries this belongs to. | [optional]
**custom_fields** | [**[CustomField]**](CustomField.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
6 changes: 6 additions & 0 deletions src/apideck/model/customer.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_parent_customer import LinkedParentCustomer
Expand All @@ -44,6 +45,7 @@ def lazy_import():
globals()['Address'] = Address
globals()['BankAccount'] = BankAccount
globals()['Currency'] = Currency
globals()['CustomField'] = CustomField
globals()['Email'] = Email
globals()['LinkedLedgerAccount'] = LinkedLedgerAccount
globals()['LinkedParentCustomer'] = LinkedParentCustomer
Expand Down Expand Up @@ -134,6 +136,7 @@ def openapi_types():
'status': (str, none_type,), # noqa: E501
'payment_method': (str, none_type,), # noqa: E501
'channel': (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
'updated_by': (str, none_type,), # noqa: E501
'created_by': (str, none_type,), # noqa: E501
Expand Down Expand Up @@ -176,6 +179,7 @@ def discriminator():
'status': 'status', # noqa: E501
'payment_method': 'payment_method', # noqa: E501
'channel': 'channel', # noqa: E501
'custom_fields': 'custom_fields', # noqa: E501
'custom_mappings': 'custom_mappings', # noqa: E501
'updated_by': 'updated_by', # noqa: E501
'created_by': 'created_by', # noqa: E501
Expand Down Expand Up @@ -262,6 +266,7 @@ def _from_openapi_data(cls, id, *args, **kwargs): # noqa: E501
status (str, none_type): Customer status. [optional] # 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_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
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 @@ -377,6 +382,7 @@ def __init__(self, *args, **kwargs): # noqa: E501
status (str, none_type): Customer status. [optional] # 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_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
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/tax_rate.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,9 @@


def lazy_import():
from apideck.model.custom_field import CustomField
from apideck.model.pass_through_body import PassThroughBody
globals()['CustomField'] = CustomField
globals()['PassThroughBody'] = PassThroughBody


Expand Down Expand Up @@ -111,6 +113,7 @@ def openapi_types():
'created_at': (datetime, none_type,), # noqa: E501
'pass_through': (PassThroughBody,), # noqa: E501
'subsidiaries': ([bool, date, datetime, dict, float, int, list, str, none_type],), # noqa: E501
'custom_fields': ([CustomField],), # noqa: E501
}

@cached_property
Expand Down Expand Up @@ -140,6 +143,7 @@ def discriminator():
'created_at': 'created_at', # noqa: E501
'pass_through': 'pass_through', # noqa: E501
'subsidiaries': 'subsidiaries', # noqa: E501
'custom_fields': 'custom_fields', # noqa: E501
}

read_only_vars = {
Expand Down Expand Up @@ -209,6 +213,7 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501
created_at (datetime, none_type): The date and time when the object was created.. [optional] # noqa: E501
pass_through (PassThroughBody): [optional] # noqa: E501
subsidiaries ([bool, date, datetime, dict, float, int, list, str, none_type]): The subsidiaries this belongs to.. [optional] # noqa: E501
custom_fields ([CustomField]): [optional] # noqa: E501
"""

_check_type = kwargs.pop('_check_type', True)
Expand Down Expand Up @@ -311,6 +316,7 @@ def __init__(self, *args, **kwargs): # noqa: E501
created_at (datetime, none_type): The date and time when the object was created.. [optional] # noqa: E501
pass_through (PassThroughBody): [optional] # noqa: E501
subsidiaries ([bool, date, datetime, dict, float, int, list, str, none_type]): The subsidiaries this belongs to.. [optional] # noqa: E501
custom_fields ([CustomField]): [optional] # noqa: E501
"""

_check_type = kwargs.pop('_check_type', True)
Expand Down
2 changes: 2 additions & 0 deletions src/test/test_customer.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_parent_customer import LinkedParentCustomer
Expand All @@ -26,6 +27,7 @@
globals()['Address'] = Address
globals()['BankAccount'] = BankAccount
globals()['Currency'] = Currency
globals()['CustomField'] = CustomField
globals()['Email'] = Email
globals()['LinkedLedgerAccount'] = LinkedLedgerAccount
globals()['LinkedParentCustomer'] = LinkedParentCustomer
Expand Down
2 changes: 2 additions & 0 deletions src/test/test_tax_rate.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,9 @@
import unittest

import apideck
from apideck.model.custom_field import CustomField
from apideck.model.pass_through_body import PassThroughBody
globals()['CustomField'] = CustomField
globals()['PassThroughBody'] = PassThroughBody
from apideck.model.tax_rate import TaxRate

Expand Down

0 comments on commit ea0c7cf

Please sign in to comment.