Skip to content

Commit

Permalink
fix(specs): add sourceType to listTasks [skip-bc] (generated)
Browse files Browse the repository at this point in the history
algolia/api-clients-automation#4193

Co-authored-by: algolia-bot <[email protected]>
Co-authored-by: Pierre Millot <[email protected]>
  • Loading branch information
algolia-bot and millotp committed Dec 3, 2024
1 parent e0d0ce7 commit d6f7670
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions algoliasearch/ingestion/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -2921,6 +2921,10 @@ async def list_tasks_with_http_info(
Optional[List[StrictStr]],
Field(description="Source IDs for filtering the list of tasks."),
] = None,
source_type: Annotated[
Optional[List[SourceType]],
Field(description="Filters the tasks with the specified source type."),
] = None,
destination_id: Annotated[
Optional[List[StrictStr]],
Field(description="Destination IDs for filtering the list of tasks."),
Expand Down Expand Up @@ -2965,6 +2969,8 @@ async def list_tasks_with_http_info(
:type enabled: bool
:param source_id: Source IDs for filtering the list of tasks.
:type source_id: List[str]
:param source_type: Filters the tasks with the specified source type.
:type source_type: List[SourceType]
:param destination_id: Destination IDs for filtering the list of tasks.
:type destination_id: List[str]
:param trigger_type: Type of task trigger for filtering the list of tasks.
Expand All @@ -2989,6 +2995,8 @@ async def list_tasks_with_http_info(
_query_parameters["enabled"] = enabled
if source_id is not None:
_query_parameters["sourceID"] = source_id
if source_type is not None:
_query_parameters["sourceType"] = source_type
if destination_id is not None:
_query_parameters["destinationID"] = destination_id
if trigger_type is not None:
Expand Down Expand Up @@ -3032,6 +3040,10 @@ async def list_tasks(
Optional[List[StrictStr]],
Field(description="Source IDs for filtering the list of tasks."),
] = None,
source_type: Annotated[
Optional[List[SourceType]],
Field(description="Filters the tasks with the specified source type."),
] = None,
destination_id: Annotated[
Optional[List[StrictStr]],
Field(description="Destination IDs for filtering the list of tasks."),
Expand Down Expand Up @@ -3076,6 +3088,8 @@ async def list_tasks(
:type enabled: bool
:param source_id: Source IDs for filtering the list of tasks.
:type source_id: List[str]
:param source_type: Filters the tasks with the specified source type.
:type source_type: List[SourceType]
:param destination_id: Destination IDs for filtering the list of tasks.
:type destination_id: List[str]
:param trigger_type: Type of task trigger for filtering the list of tasks.
Expand All @@ -3093,6 +3107,7 @@ async def list_tasks(
action,
enabled,
source_id,
source_type,
destination_id,
trigger_type,
sort,
Expand Down Expand Up @@ -7639,6 +7654,10 @@ def list_tasks_with_http_info(
Optional[List[StrictStr]],
Field(description="Source IDs for filtering the list of tasks."),
] = None,
source_type: Annotated[
Optional[List[SourceType]],
Field(description="Filters the tasks with the specified source type."),
] = None,
destination_id: Annotated[
Optional[List[StrictStr]],
Field(description="Destination IDs for filtering the list of tasks."),
Expand Down Expand Up @@ -7683,6 +7702,8 @@ def list_tasks_with_http_info(
:type enabled: bool
:param source_id: Source IDs for filtering the list of tasks.
:type source_id: List[str]
:param source_type: Filters the tasks with the specified source type.
:type source_type: List[SourceType]
:param destination_id: Destination IDs for filtering the list of tasks.
:type destination_id: List[str]
:param trigger_type: Type of task trigger for filtering the list of tasks.
Expand All @@ -7707,6 +7728,8 @@ def list_tasks_with_http_info(
_query_parameters["enabled"] = enabled
if source_id is not None:
_query_parameters["sourceID"] = source_id
if source_type is not None:
_query_parameters["sourceType"] = source_type
if destination_id is not None:
_query_parameters["destinationID"] = destination_id
if trigger_type is not None:
Expand Down Expand Up @@ -7750,6 +7773,10 @@ def list_tasks(
Optional[List[StrictStr]],
Field(description="Source IDs for filtering the list of tasks."),
] = None,
source_type: Annotated[
Optional[List[SourceType]],
Field(description="Filters the tasks with the specified source type."),
] = None,
destination_id: Annotated[
Optional[List[StrictStr]],
Field(description="Destination IDs for filtering the list of tasks."),
Expand Down Expand Up @@ -7794,6 +7821,8 @@ def list_tasks(
:type enabled: bool
:param source_id: Source IDs for filtering the list of tasks.
:type source_id: List[str]
:param source_type: Filters the tasks with the specified source type.
:type source_type: List[SourceType]
:param destination_id: Destination IDs for filtering the list of tasks.
:type destination_id: List[str]
:param trigger_type: Type of task trigger for filtering the list of tasks.
Expand All @@ -7811,6 +7840,7 @@ def list_tasks(
action,
enabled,
source_id,
source_type,
destination_id,
trigger_type,
sort,
Expand Down

0 comments on commit d6f7670

Please sign in to comment.