Skip to content

Fix for skip and top #7

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

Merged
merged 1 commit into from
Jul 29, 2025
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
11 changes: 5 additions & 6 deletions Avalara/SDK/api/EInvoicing/V1/data_input_fields_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,7 @@
none_type,
validate_and_convert_types
)
from decimal import Decimal
from pydantic import Field, StrictStr
from pydantic import Field, StrictInt, StrictStr
from typing import Optional
from typing_extensions import Annotated
from Avalara.SDK.models.EInvoicing.V1.data_input_fields_response import DataInputFieldsResponse
Expand Down Expand Up @@ -106,9 +105,9 @@ def __set_configuration(self, api_client):
'filter':
(str,),
'top':
(decimal.Decimal,),
(int,),
'skip':
(decimal.Decimal,),
(int,),
'count':
(bool,),
'count_only':
Expand Down Expand Up @@ -168,8 +167,8 @@ def get_data_input_fields(
Keyword Args:
x_avalara_client (str): You can freely use any text you wish for this value. This feature can help you diagnose and solve problems with your software. The header can be treated like a fingerprint.. [optional]
filter (str): Filter by field name and value. This filter only supports <code>eq</code> and <code>contains</code>. Refer to [https://developer.avalara.com/avatax/filtering-in-rest/](https://developer.avalara.com/avatax/filtering-in-rest/) for more information on filtering.. [optional]
top (decimal.Decimal): If nonzero, return no more than this number of results. Used with <code>$skip</code> to provide pagination for large datasets. Unless otherwise specified, the maximum number of records that can be returned from an API call is 1,000 records.. [optional]
skip (decimal.Decimal): If nonzero, skip this number of results before returning data. Used with <code>$top</code> to provide pagination for large datasets.. [optional]
top (int): The number of items to include in the result.. [optional]
skip (int): The number of items to skip in the result.. [optional]
count (bool): When set to true, the count of the collection is also returned in the response body. [optional]
count_only (bool): When set to true, only the count of the collection is returned. [optional]
_return_http_data_only (bool): response data without head status
Expand Down
11 changes: 5 additions & 6 deletions Avalara/SDK/api/EInvoicing/V1/documents_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,7 @@
validate_and_convert_types
)
from datetime import datetime
from decimal import Decimal
from pydantic import Field, StrictBytes, StrictStr
from pydantic import Field, StrictBytes, StrictInt, StrictStr
from typing import Any, Dict, Optional, Union
from typing_extensions import Annotated
from Avalara.SDK.models.EInvoicing.V1.document_fetch import DocumentFetch
Expand Down Expand Up @@ -264,9 +263,9 @@ def __set_configuration(self, api_client):
'filter':
(str,),
'top':
(decimal.Decimal,),
(int,),
'skip':
(str,),
(int,),
},
'attribute_map': {
'avalara_version': 'avalara-version',
Expand Down Expand Up @@ -617,8 +616,8 @@ def get_document_list(
count (str): When set to true, the count of the collection is also returned in the response body. [optional]
count_only (str): When set to true, only the count of the collection is returned. [optional]
filter (str): Filter by field name and value. This filter only supports <code>eq</code> . Refer to [https://developer.avalara.com/avatax/filtering-in-rest/](https://developer.avalara.com/avatax/filtering-in-rest/) for more information on filtering. Filtering will be done over the provided startDate and endDate. If no startDate or endDate is provided, defaults will be assumed.. [optional]
top (decimal.Decimal): If nonzero, return no more than this number of results. Used with <code>$skip</code> to provide pagination for large datasets. Unless otherwise specified, the maximum number of records that can be returned from an API call is 200 records.. [optional]
skip (str): If nonzero, skip this number of results before returning data. Used with <code>$top</code> to provide pagination for large datasets.. [optional]
top (int): The number of items to include in the result.. [optional]
skip (int): The number of items to skip in the result.. [optional]
_return_http_data_only (bool): response data without head status
code and headers. Default is True.
_preload_content (bool): if False, the urllib3.HTTPResponse object
Expand Down
11 changes: 5 additions & 6 deletions Avalara/SDK/api/EInvoicing/V1/mandates_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,7 @@
none_type,
validate_and_convert_types
)
from decimal import Decimal
from pydantic import Field, StrictStr
from pydantic import Field, StrictInt, StrictStr
from typing import List, Optional
from typing_extensions import Annotated
from Avalara.SDK.models.EInvoicing.V1.mandate_data_input_field import MandateDataInputField
Expand Down Expand Up @@ -184,9 +183,9 @@ def __set_configuration(self, api_client):
'filter':
(str,),
'top':
(decimal.Decimal,),
(int,),
'skip':
(decimal.Decimal,),
(int,),
'count':
(bool,),
'count_only':
Expand Down Expand Up @@ -323,8 +322,8 @@ def get_mandates(
Keyword Args:
x_avalara_client (str): You can freely use any text you wish for this value. This feature can help you diagnose and solve problems with your software. The header can be treated like a fingerprint.. [optional]
filter (str): Filter by field name and value. This filter only supports <code>eq</code> and <code>contains</code>. Refer to [https://developer.avalara.com/avatax/filtering-in-rest/](https://developer.avalara.com/avatax/filtering-in-rest/) for more information on filtering.. [optional]
top (decimal.Decimal): If nonzero, return no more than this number of results. Used with <code>$skip</code> to provide pagination for large datasets. Unless otherwise specified, the maximum number of records that can be returned from an API call is 1,000 records.. [optional]
skip (decimal.Decimal): If nonzero, skip this number of results before returning data. Used with <code>$top</code> to provide pagination for large datasets.. [optional]
top (int): The number of items to include in the result.. [optional]
skip (int): The number of items to skip in the result.. [optional]
count (bool): When set to true, the count of the collection is also returned in the response body.. [optional]
count_only (bool): When set to true, only the count of the collection is returned. [optional]
_return_http_data_only (bool): response data without head status
Expand Down
18 changes: 9 additions & 9 deletions Avalara/SDK/api/EInvoicing/V1/trading_partners_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
none_type,
validate_and_convert_types
)
from pydantic import Field, StrictBool, StrictBytes, StrictStr
from pydantic import Field, StrictBool, StrictBytes, StrictInt, StrictStr
from typing import Optional, Union
from typing_extensions import Annotated
from Avalara.SDK.models.EInvoicing.V1.batch_search import BatchSearch
Expand Down Expand Up @@ -553,9 +553,9 @@ def __set_configuration(self, api_client):
'count':
(bool,),
'top':
(str,),
(int,),
'skip':
(str,),
(int,),
'order_by':
(str,),
'x_correlation_id':
Expand Down Expand Up @@ -646,9 +646,9 @@ def __set_configuration(self, api_client):
'filter':
(str,),
'top':
(str,),
(int,),
'skip':
(str,),
(int,),
'order_by':
(str,),
'x_correlation_id':
Expand Down Expand Up @@ -1228,8 +1228,8 @@ def list_batch_searches(
x_avalara_client (str): You can freely use any text you wish for this value. This feature can help you diagnose and solve problems with your software. The header can be treated like a \"Fingerprint\".. [optional]
filter (str): Filters the results by field name. Only the <code>eq</code> operator and the name field is supported. For more information, refer to [AvaTax filtering guide](https://developer.avalara.com/avatax/filtering-in-rest/).. [optional]
count (bool): When set to <code>true</code>, returns the total count of matching records included as <code>@recordSetCount</code> in the response body.. [optional]
top (str): If nonzero, return no more than this number of results. Used with <code>$skip</code> to provide pagination for large datasets. Unless otherwise specified, the maximum number of records that can be returned from an API call is 200 records.. [optional]
skip (str): If nonzero, skip this number of results before returning data. Used with <code>$top</code> to provide pagination for large datasets.. [optional]
top (int): The number of items to include in the result.. [optional]
skip (int): The number of items to skip in the result.. [optional]
order_by (str): The <code>$orderBy</code> query parameter specifies the field and sorting direction for ordering the result set. The value is a string that combines a field name and a sorting direction (asc for ascending or desc for descending), separated by a space.. [optional]
x_correlation_id (str): The caller can use this as an identifier to use as a correlation id to trace the call.. [optional]
_return_http_data_only (bool): response data without head status
Expand Down Expand Up @@ -1304,8 +1304,8 @@ def search_participants(
x_avalara_client (str): You can freely use any text you wish for this value. This feature can help you diagnose and solve problems with your software. The header can be treated like a \"Fingerprint\".. [optional]
count (bool): When set to <code>true</code>, returns the total count of matching records included as <code>@recordSetCount</code> in the response body.. [optional]
filter (str): Filters the results using the <code>eq</code> operator. Supported fields: <code>network</code>, <code>country</code>, <code>documentType</code>, <code>idType</code>. For more information, refer to [AvaTax filtering guide](https://developer.avalara.com/avatax/filtering-in-rest/).. [optional]
top (str): If nonzero, return no more than this number of results. Used with <code>$skip</code> to provide pagination for large datasets. Unless otherwise specified, the maximum number of records that can be returned from an API call is 200 records.. [optional]
skip (str): If nonzero, skip this number of results before returning data. Used with <code>$top</code> to provide pagination for large datasets.. [optional]
top (int): The number of items to include in the result.. [optional]
skip (int): The number of items to skip in the result.. [optional]
order_by (str): The <code>$orderBy</code> query parameter specifies the field and sorting direction for ordering the result set. The value is a string that combines a field name and a sorting direction (asc for ascending or desc for descending), separated by a space.. [optional]
x_correlation_id (str): The caller can use this as an identifier to use as a correlation id to trace the call.. [optional]
_return_http_data_only (bool): response data without head status
Expand Down
10 changes: 5 additions & 5 deletions docs/A1099/V2/CompaniesW9Api.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ with Avalara.SDK.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = companies_w9_api.CompaniesW9Api(api_client)
avalara_version = '2.0.0' # str | API version
x_correlation_id = 'fe0b2c61-3b02-476a-ab45-cffe1b04e41a' # str | Unique correlation Id in a GUID format (optional)
x_correlation_id = '144f810d-5777-472b-b372-c1028d9a13ae' # str | Unique correlation Id in a GUID format (optional)
x_avalara_client = 'Swagger UI; 22.1.0' # str | Identifies the software you are using to call this API. For more information on the client header, see [Client Headers](https://developer.avalara.com/avatax/client-headers/) . (optional)
company_create_update_request_model = Avalara.SDK.CompanyCreateUpdateRequestModel() # CompanyCreateUpdateRequestModel | The company to create (optional)
# example passing only required values which don't have defaults set
Expand Down Expand Up @@ -132,7 +132,7 @@ with Avalara.SDK.ApiClient(configuration) as api_client:
api_instance = companies_w9_api.CompaniesW9Api(api_client)
id = 'id_example' # str | The company to delete
avalara_version = '2.0.0' # str | API version
x_correlation_id = '250cdf61-a491-4fce-9544-33316d95a0a2' # str | Unique correlation Id in a GUID format (optional)
x_correlation_id = 'db071c51-528f-4929-a031-523aa34002d1' # str | Unique correlation Id in a GUID format (optional)
x_avalara_client = 'Swagger UI; 22.1.0' # str | Identifies the software you are using to call this API. For more information on the client header, see [Client Headers](https://developer.avalara.com/avatax/client-headers/) . (optional)
# example passing only required values which don't have defaults set
try:
Expand Down Expand Up @@ -224,7 +224,7 @@ with Avalara.SDK.ApiClient(configuration) as api_client:
order_by = 'order_by_example' # str | A comma separated list of sort statements in the format (fieldname) [ASC|DESC], for example id ASC. (optional)
count = True # bool | If true, return the global count of elements in the collection. (optional)
count_only = True # bool | If true, return ONLY the global count of elements in the collection. It only applies when count=true. (optional)
x_correlation_id = '9bc362f8-548a-4a98-b44b-37da159b8126' # str | Unique correlation Id in a GUID format (optional)
x_correlation_id = '7ad30f3a-b27d-440e-98da-516663741d89' # str | Unique correlation Id in a GUID format (optional)
x_avalara_client = 'Swagger UI; 22.1.0' # str | Identifies the software you are using to call this API. For more information on the client header, see [Client Headers](https://developer.avalara.com/avatax/client-headers/) . (optional)
# example passing only required values which don't have defaults set
try:
Expand Down Expand Up @@ -318,7 +318,7 @@ with Avalara.SDK.ApiClient(configuration) as api_client:
api_instance = companies_w9_api.CompaniesW9Api(api_client)
id = 'id_example' # str | Id of the company
avalara_version = '2.0.0' # str | API version
x_correlation_id = '1c9d767c-523c-42c5-bbcb-5158761b48a0' # str | Unique correlation Id in a GUID format (optional)
x_correlation_id = '77521b27-805c-40b1-a6c8-3d6339acba99' # str | Unique correlation Id in a GUID format (optional)
x_avalara_client = 'Swagger UI; 22.1.0' # str | Identifies the software you are using to call this API. For more information on the client header, see [Client Headers](https://developer.avalara.com/avatax/client-headers/) . (optional)
# example passing only required values which don't have defaults set
try:
Expand Down Expand Up @@ -408,7 +408,7 @@ with Avalara.SDK.ApiClient(configuration) as api_client:
api_instance = companies_w9_api.CompaniesW9Api(api_client)
id = 'id_example' # str | The ID of the company to update
avalara_version = '2.0.0' # str | API version
x_correlation_id = '03774e95-4208-4f91-a5c8-e218fcb3c0a4' # str | Unique correlation Id in a GUID format (optional)
x_correlation_id = '9b982dee-5208-416e-8acf-84070e235acc' # str | Unique correlation Id in a GUID format (optional)
x_avalara_client = 'Swagger UI; 22.1.0' # str | Identifies the software you are using to call this API. For more information on the client header, see [Client Headers](https://developer.avalara.com/avatax/client-headers/) . (optional)
company_create_update_request_model = Avalara.SDK.CompanyCreateUpdateRequestModel() # CompanyCreateUpdateRequestModel | The updated company data (optional)
# example passing only required values which don't have defaults set
Expand Down
Loading