Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Automated update by SDK Generator #92

Merged
merged 3 commits into from
Dec 30, 2024
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
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -347,6 +347,7 @@ x_apideck_app_id = "dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX" # str | The ID of y
x_apideck_service_id = "salesforce" # str | Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional)
filter = AgedReportFilter(
customer_id="123abc",
supplier_id="123abc",
report_as_of_date="2024-01-01",
period_count=3,
period_length=30,
Expand Down Expand Up @@ -1530,8 +1531,9 @@ _WebhookApi_ | [**webhooks_update**](docs/apis/WebhookApi.md#webhooks_update) |
- [OrderTenders](docs/models/OrderTenders.md)
- [OrderType](docs/models/OrderType.md)
- [OrdersSort](docs/models/OrdersSort.md)
- [OutstandingBalance](docs/models/OutstandingBalance.md)
- [OutstandingBalanceByCurrency](docs/models/OutstandingBalanceByCurrency.md)
- [OutstandingBalanceByCustomer](docs/models/OutstandingBalanceByCustomer.md)
- [OutstandingBalanceBySupplier](docs/models/OutstandingBalanceBySupplier.md)
- [Owner](docs/models/Owner.md)
- [PaginationCoverage](docs/models/PaginationCoverage.md)
- [PassThroughBody](docs/models/PassThroughBody.md)
Expand Down
82 changes: 82 additions & 0 deletions docs/apis/AccountingApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,7 @@ with apideck.ApiClient(configuration) as api_client:
service_id = "salesforce" # str | Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional)
filter = AgedReportFilter(
customer_id="123abc",
supplier_id="123abc",
report_as_of_date="2024-01-01",
period_count=3,
period_length=30,
Expand Down Expand Up @@ -262,6 +263,7 @@ with apideck.ApiClient(configuration) as api_client:
service_id = "salesforce" # str | Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional)
filter = AgedReportFilter(
customer_id="123abc",
supplier_id="123abc",
report_as_of_date="2024-01-01",
period_count=3,
period_length=30,
Expand Down Expand Up @@ -1770,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 @@ -2345,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 @@ -3548,6 +3566,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 +4134,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 @@ -7878,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 @@ -8379,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 @@ -11538,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 @@ -12093,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 Expand Up @@ -12250,6 +12316,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 +12797,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
2 changes: 1 addition & 1 deletion docs/models/AgedCreditors.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Name | Type | Description | Notes
**report_as_of_date** | **date** | The cutoff date for transactions included in the report. | [optional]
**period_count** | **int** | Number of aging periods shown in the report. | [optional] if omitted the server will use the default value of 4
**period_length** | **int** | Length of each aging period in days. | [optional] if omitted the server will use the default value of 30
**outstanding_balances** | [**[OutstandingBalance]**](OutstandingBalance.md) | | [optional]
**outstanding_balances** | [**[OutstandingBalanceBySupplier]**](OutstandingBalanceBySupplier.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
2 changes: 1 addition & 1 deletion docs/models/AgedDebtors.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Name | Type | Description | Notes
**report_as_of_date** | **date** | The cutoff date for transactions included in the report. | [optional]
**period_count** | **int** | Number of aging periods shown in the report. | [optional] if omitted the server will use the default value of 4
**period_length** | **int** | Length of each aging period in days. | [optional] if omitted the server will use the default value of 30
**outstanding_balances** | [**[OutstandingBalance]**](OutstandingBalance.md) | | [optional]
**outstanding_balances** | [**[OutstandingBalanceByCustomer]**](OutstandingBalanceByCustomer.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/AgedReportFilter.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**customer_id** | **str** | Filter by customer id | [optional]
**supplier_id** | **str** | Filter by supplier id | [optional]
**report_as_of_date** | **str** | The cutoff date for considering transactions | [optional]
**period_count** | **int** | Number of periods to split the aged creditors report into | [optional]
**period_length** | **int** | Length of each period in days | [optional]
Expand Down
4 changes: 2 additions & 2 deletions docs/models/BalanceByPeriod.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**start_date** | **date** | Start date of the period. | [optional]
**end_date** | **date** | End date of the period. | [optional]
**start_date** | **date, none_type** | The starting date of the period. If not provided, it represents the oldest period, where all transactions due before the specified `end_date` are included. | [optional]
**end_date** | **date, none_type** | The ending date of the period. If not provided, it represents an open-ended period starting from the `start_date`, typically capturing future-dated transactions that are not yet aged. | [optional]
**total_amount** | **float** | Total amount of the period. | [optional]
**balances_by_transaction** | [**[BalanceByTransaction]**](BalanceByTransaction.md) | | [optional]

Expand Down
1 change: 1 addition & 0 deletions docs/models/BalanceByTransaction.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ Name | Type | Description | Notes
**due_date** | **date** | Due date of the transaction. | [optional]
**original_amount** | **float** | Original amount of the transaction. | [optional]
**outstanding_balance** | **float** | Outstanding balance of the transaction. | [optional]
**transaction_number** | **str** | Transaction number of the transaction. | [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/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/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/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/OutstandingBalanceByCurrency.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**currency** | [**Currency**](Currency.md) | | [optional]
**total_amount** | **float** | Total amount of the outstanding balance. | [optional]
**balances_by_period** | [**[BalanceByPeriod]**](BalanceByPeriod.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
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
# OutstandingBalance
# OutstandingBalanceByCustomer


## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**customer_id** | **str** | Unique identifier for the customer or supplier. | [optional]
**customer_name** | **str** | Full name of the customer or supplier. | [optional]
**customer_id** | **str** | Unique identifier for the customer. | [optional]
**customer_name** | **str** | Full name of the customer. | [optional]
**outstanding_balances_by_currency** | [**[OutstandingBalanceByCurrency]**](OutstandingBalanceByCurrency.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
13 changes: 13 additions & 0 deletions docs/models/OutstandingBalanceBySupplier.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# OutstandingBalanceBySupplier


## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**supplier_id** | **str** | Unique identifier for the supplier. | [optional]
**supplier_name** | **str** | Full name of the supplier. | [optional]
**outstanding_balances_by_currency** | [**[OutstandingBalanceByCurrency]**](OutstandingBalanceByCurrency.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)


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
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
9 changes: 6 additions & 3 deletions src/.openapi-generator/FILES
Original file line number Diff line number Diff line change
Expand Up @@ -559,8 +559,9 @@ apideck/model/order_refunds.py
apideck/model/order_tenders.py
apideck/model/order_type.py
apideck/model/orders_sort.py
apideck/model/outstanding_balance.py
apideck/model/outstanding_balance_by_currency.py
apideck/model/outstanding_balance_by_customer.py
apideck/model/outstanding_balance_by_supplier.py
apideck/model/owner.py
apideck/model/pagination_coverage.py
apideck/model/pass_through_body.py
Expand Down Expand Up @@ -1273,8 +1274,9 @@ docs/OrderRefunds.md
docs/OrderTenders.md
docs/OrderType.md
docs/OrdersSort.md
docs/OutstandingBalance.md
docs/OutstandingBalanceByCurrency.md
docs/OutstandingBalanceByCustomer.md
docs/OutstandingBalanceBySupplier.md
docs/Owner.md
docs/PaginationCoverage.md
docs/PassThroughBody.md
Expand Down Expand Up @@ -1994,8 +1996,9 @@ test/test_order_refunds.py
test/test_order_tenders.py
test/test_order_type.py
test/test_orders_sort.py
test/test_outstanding_balance.py
test/test_outstanding_balance_by_currency.py
test/test_outstanding_balance_by_customer.py
test/test_outstanding_balance_by_supplier.py
test/test_owner.py
test/test_pagination_coverage.py
test/test_pass_through_body.py
Expand Down
Loading
Loading