Skip to content

Commit d6f7670

Browse files
algolia-botmillotp
andcommitted
fix(specs): add sourceType to listTasks [skip-bc] (generated)
algolia/api-clients-automation#4193 Co-authored-by: algolia-bot <[email protected]> Co-authored-by: Pierre Millot <[email protected]>
1 parent e0d0ce7 commit d6f7670

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

algoliasearch/ingestion/client.py

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2921,6 +2921,10 @@ async def list_tasks_with_http_info(
29212921
Optional[List[StrictStr]],
29222922
Field(description="Source IDs for filtering the list of tasks."),
29232923
] = None,
2924+
source_type: Annotated[
2925+
Optional[List[SourceType]],
2926+
Field(description="Filters the tasks with the specified source type."),
2927+
] = None,
29242928
destination_id: Annotated[
29252929
Optional[List[StrictStr]],
29262930
Field(description="Destination IDs for filtering the list of tasks."),
@@ -2965,6 +2969,8 @@ async def list_tasks_with_http_info(
29652969
:type enabled: bool
29662970
:param source_id: Source IDs for filtering the list of tasks.
29672971
:type source_id: List[str]
2972+
:param source_type: Filters the tasks with the specified source type.
2973+
:type source_type: List[SourceType]
29682974
:param destination_id: Destination IDs for filtering the list of tasks.
29692975
:type destination_id: List[str]
29702976
:param trigger_type: Type of task trigger for filtering the list of tasks.
@@ -2989,6 +2995,8 @@ async def list_tasks_with_http_info(
29892995
_query_parameters["enabled"] = enabled
29902996
if source_id is not None:
29912997
_query_parameters["sourceID"] = source_id
2998+
if source_type is not None:
2999+
_query_parameters["sourceType"] = source_type
29923000
if destination_id is not None:
29933001
_query_parameters["destinationID"] = destination_id
29943002
if trigger_type is not None:
@@ -3032,6 +3040,10 @@ async def list_tasks(
30323040
Optional[List[StrictStr]],
30333041
Field(description="Source IDs for filtering the list of tasks."),
30343042
] = None,
3043+
source_type: Annotated[
3044+
Optional[List[SourceType]],
3045+
Field(description="Filters the tasks with the specified source type."),
3046+
] = None,
30353047
destination_id: Annotated[
30363048
Optional[List[StrictStr]],
30373049
Field(description="Destination IDs for filtering the list of tasks."),
@@ -3076,6 +3088,8 @@ async def list_tasks(
30763088
:type enabled: bool
30773089
:param source_id: Source IDs for filtering the list of tasks.
30783090
:type source_id: List[str]
3091+
:param source_type: Filters the tasks with the specified source type.
3092+
:type source_type: List[SourceType]
30793093
:param destination_id: Destination IDs for filtering the list of tasks.
30803094
:type destination_id: List[str]
30813095
:param trigger_type: Type of task trigger for filtering the list of tasks.
@@ -3093,6 +3107,7 @@ async def list_tasks(
30933107
action,
30943108
enabled,
30953109
source_id,
3110+
source_type,
30963111
destination_id,
30973112
trigger_type,
30983113
sort,
@@ -7639,6 +7654,10 @@ def list_tasks_with_http_info(
76397654
Optional[List[StrictStr]],
76407655
Field(description="Source IDs for filtering the list of tasks."),
76417656
] = None,
7657+
source_type: Annotated[
7658+
Optional[List[SourceType]],
7659+
Field(description="Filters the tasks with the specified source type."),
7660+
] = None,
76427661
destination_id: Annotated[
76437662
Optional[List[StrictStr]],
76447663
Field(description="Destination IDs for filtering the list of tasks."),
@@ -7683,6 +7702,8 @@ def list_tasks_with_http_info(
76837702
:type enabled: bool
76847703
:param source_id: Source IDs for filtering the list of tasks.
76857704
:type source_id: List[str]
7705+
:param source_type: Filters the tasks with the specified source type.
7706+
:type source_type: List[SourceType]
76867707
:param destination_id: Destination IDs for filtering the list of tasks.
76877708
:type destination_id: List[str]
76887709
:param trigger_type: Type of task trigger for filtering the list of tasks.
@@ -7707,6 +7728,8 @@ def list_tasks_with_http_info(
77077728
_query_parameters["enabled"] = enabled
77087729
if source_id is not None:
77097730
_query_parameters["sourceID"] = source_id
7731+
if source_type is not None:
7732+
_query_parameters["sourceType"] = source_type
77107733
if destination_id is not None:
77117734
_query_parameters["destinationID"] = destination_id
77127735
if trigger_type is not None:
@@ -7750,6 +7773,10 @@ def list_tasks(
77507773
Optional[List[StrictStr]],
77517774
Field(description="Source IDs for filtering the list of tasks."),
77527775
] = None,
7776+
source_type: Annotated[
7777+
Optional[List[SourceType]],
7778+
Field(description="Filters the tasks with the specified source type."),
7779+
] = None,
77537780
destination_id: Annotated[
77547781
Optional[List[StrictStr]],
77557782
Field(description="Destination IDs for filtering the list of tasks."),
@@ -7794,6 +7821,8 @@ def list_tasks(
77947821
:type enabled: bool
77957822
:param source_id: Source IDs for filtering the list of tasks.
77967823
:type source_id: List[str]
7824+
:param source_type: Filters the tasks with the specified source type.
7825+
:type source_type: List[SourceType]
77977826
:param destination_id: Destination IDs for filtering the list of tasks.
77987827
:type destination_id: List[str]
77997828
:param trigger_type: Type of task trigger for filtering the list of tasks.
@@ -7811,6 +7840,7 @@ def list_tasks(
78117840
action,
78127841
enabled,
78137842
source_id,
7843+
source_type,
78147844
destination_id,
78157845
trigger_type,
78167846
sort,

0 commit comments

Comments
 (0)