Skip to content

Commit

Permalink
Automated update by SDK Generator (#68)
Browse files Browse the repository at this point in the history
  • Loading branch information
nicklloyd authored May 9, 2024
1 parent 135256d commit 177ad7c
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 0 deletions.
1 change: 1 addition & 0 deletions docs/apis/AccountingApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -4610,6 +4610,7 @@ with apideck.ApiClient(configuration) as api_client:
limit = 20 # int | Number of results to return. Minimum 1, Maximum 200, Default 20 (optional) if omitted the server will use the default value of 20
filter = InvoicesFilter(
updated_since=dateutil_parser('2020-09-30T07:43:32Z'),
created_since=dateutil_parser('2020-09-30T07:43:32Z'),
) # InvoicesFilter | Apply filters (optional)
sort = InvoicesSort(
by="updated_at",
Expand Down
1 change: 1 addition & 0 deletions docs/apis/EcommerceApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -291,6 +291,7 @@ with apideck.ApiClient(configuration) as api_client:
email="[email protected]",
customer_id="123",
updated_since="2020-09-30T07:43:32.000Z",
created_since="2020-09-30T07:43:32.000Z",
) # EcommerceOrdersFilter | Apply filters (optional)
sort = OrdersSort(
by="created_at",
Expand Down
1 change: 1 addition & 0 deletions docs/models/EcommerceOrdersFilter.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ Name | Type | Description | Notes
**email** | **str** | Customer email address to filter on | [optional]
**customer_id** | **str** | Customer id to filter on | [optional]
**updated_since** | **str** | Minimum date the order was last modified | [optional]
**created_since** | **str** | Minimum date the order was created | [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/InvoicesFilter.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**updated_since** | **datetime** | | [optional]
**created_since** | **datetime** | | [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
4 changes: 4 additions & 0 deletions src/apideck/model/ecommerce_orders_filter.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ def openapi_types():
'email': (str,), # noqa: E501
'customer_id': (str,), # noqa: E501
'updated_since': (str,), # noqa: E501
'created_since': (str,), # noqa: E501
}

@cached_property
Expand All @@ -89,6 +90,7 @@ def discriminator():
'email': 'email', # noqa: E501
'customer_id': 'customer_id', # noqa: E501
'updated_since': 'updated_since', # noqa: E501
'created_since': 'created_since', # noqa: E501
}

read_only_vars = {
Expand Down Expand Up @@ -135,6 +137,7 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501
email (str): Customer email address to filter on. [optional] # noqa: E501
customer_id (str): Customer id to filter on. [optional] # noqa: E501
updated_since (str): Minimum date the order was last modified. [optional] # noqa: E501
created_since (str): Minimum date the order was created. [optional] # noqa: E501
"""

_check_type = kwargs.pop('_check_type', True)
Expand Down Expand Up @@ -219,6 +222,7 @@ def __init__(self, *args, **kwargs): # noqa: E501
email (str): Customer email address to filter on. [optional] # noqa: E501
customer_id (str): Customer id to filter on. [optional] # noqa: E501
updated_since (str): Minimum date the order was last modified. [optional] # noqa: E501
created_since (str): Minimum date the order was created. [optional] # noqa: E501
"""

_check_type = kwargs.pop('_check_type', True)
Expand Down
4 changes: 4 additions & 0 deletions src/apideck/model/invoices_filter.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ def openapi_types():
"""
return {
'updated_since': (datetime,), # noqa: E501
'created_since': (datetime,), # noqa: E501
}

@cached_property
Expand All @@ -85,6 +86,7 @@ def discriminator():

attribute_map = {
'updated_since': 'updated_since', # noqa: E501
'created_since': 'created_since', # noqa: E501
}

read_only_vars = {
Expand Down Expand Up @@ -129,6 +131,7 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501
through its discriminator because we passed in
_visited_composed_classes = (Animal,)
updated_since (datetime): [optional] # noqa: E501
created_since (datetime): [optional] # noqa: E501
"""

_check_type = kwargs.pop('_check_type', True)
Expand Down Expand Up @@ -211,6 +214,7 @@ def __init__(self, *args, **kwargs): # noqa: E501
through its discriminator because we passed in
_visited_composed_classes = (Animal,)
updated_since (datetime): [optional] # noqa: E501
created_since (datetime): [optional] # noqa: E501
"""

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

0 comments on commit 177ad7c

Please sign in to comment.