@@ -2508,6 +2508,7 @@ public CompletableFuture<ListSourcesResponse> listSourcesAsync() throws AlgoliaR
2508
2508
* @param action Actions for filtering the list of tasks. (optional)
2509
2509
* @param enabled Whether to filter the list of tasks by the `enabled` status. (optional)
2510
2510
* @param sourceID Source IDs for filtering the list of tasks. (optional)
2511
+ * @param sourceType Filters the tasks with the specified source type. (optional)
2511
2512
* @param destinationID Destination IDs for filtering the list of tasks. (optional)
2512
2513
* @param triggerType Type of task trigger for filtering the list of tasks. (optional)
2513
2514
* @param sort Property by which to sort the list of tasks. (optional, default to createdAt)
@@ -2522,14 +2523,15 @@ public ListTasksResponse listTasks(
2522
2523
List <ActionType > action ,
2523
2524
Boolean enabled ,
2524
2525
List <String > sourceID ,
2526
+ List <SourceType > sourceType ,
2525
2527
List <String > destinationID ,
2526
2528
List <TriggerType > triggerType ,
2527
2529
TaskSortKeys sort ,
2528
2530
OrderKeys order ,
2529
2531
RequestOptions requestOptions
2530
2532
) throws AlgoliaRuntimeException {
2531
2533
return LaunderThrowable .await (
2532
- listTasksAsync (itemsPerPage , page , action , enabled , sourceID , destinationID , triggerType , sort , order , requestOptions )
2534
+ listTasksAsync (itemsPerPage , page , action , enabled , sourceID , sourceType , destinationID , triggerType , sort , order , requestOptions )
2533
2535
);
2534
2536
}
2535
2537
@@ -2541,6 +2543,7 @@ public ListTasksResponse listTasks(
2541
2543
* @param action Actions for filtering the list of tasks. (optional)
2542
2544
* @param enabled Whether to filter the list of tasks by the `enabled` status. (optional)
2543
2545
* @param sourceID Source IDs for filtering the list of tasks. (optional)
2546
+ * @param sourceType Filters the tasks with the specified source type. (optional)
2544
2547
* @param destinationID Destination IDs for filtering the list of tasks. (optional)
2545
2548
* @param triggerType Type of task trigger for filtering the list of tasks. (optional)
2546
2549
* @param sort Property by which to sort the list of tasks. (optional, default to createdAt)
@@ -2553,12 +2556,13 @@ public ListTasksResponse listTasks(
2553
2556
List <ActionType > action ,
2554
2557
Boolean enabled ,
2555
2558
List <String > sourceID ,
2559
+ List <SourceType > sourceType ,
2556
2560
List <String > destinationID ,
2557
2561
List <TriggerType > triggerType ,
2558
2562
TaskSortKeys sort ,
2559
2563
OrderKeys order
2560
2564
) throws AlgoliaRuntimeException {
2561
- return this .listTasks (itemsPerPage , page , action , enabled , sourceID , destinationID , triggerType , sort , order , null );
2565
+ return this .listTasks (itemsPerPage , page , action , enabled , sourceID , sourceType , destinationID , triggerType , sort , order , null );
2562
2566
}
2563
2567
2564
2568
/**
@@ -2569,7 +2573,7 @@ public ListTasksResponse listTasks(
2569
2573
* @throws AlgoliaRuntimeException If it fails to process the API call
2570
2574
*/
2571
2575
public ListTasksResponse listTasks (RequestOptions requestOptions ) throws AlgoliaRuntimeException {
2572
- return this .listTasks (null , null , null , null , null , null , null , null , null , requestOptions );
2576
+ return this .listTasks (null , null , null , null , null , null , null , null , null , null , requestOptions );
2573
2577
}
2574
2578
2575
2579
/**
@@ -2578,7 +2582,7 @@ public ListTasksResponse listTasks(RequestOptions requestOptions) throws Algolia
2578
2582
* @throws AlgoliaRuntimeException If it fails to process the API call
2579
2583
*/
2580
2584
public ListTasksResponse listTasks () throws AlgoliaRuntimeException {
2581
- return this .listTasks (null , null , null , null , null , null , null , null , null , null );
2585
+ return this .listTasks (null , null , null , null , null , null , null , null , null , null , null );
2582
2586
}
2583
2587
2584
2588
/**
@@ -2589,6 +2593,7 @@ public ListTasksResponse listTasks() throws AlgoliaRuntimeException {
2589
2593
* @param action Actions for filtering the list of tasks. (optional)
2590
2594
* @param enabled Whether to filter the list of tasks by the `enabled` status. (optional)
2591
2595
* @param sourceID Source IDs for filtering the list of tasks. (optional)
2596
+ * @param sourceType Filters the tasks with the specified source type. (optional)
2592
2597
* @param destinationID Destination IDs for filtering the list of tasks. (optional)
2593
2598
* @param triggerType Type of task trigger for filtering the list of tasks. (optional)
2594
2599
* @param sort Property by which to sort the list of tasks. (optional, default to createdAt)
@@ -2603,6 +2608,7 @@ public CompletableFuture<ListTasksResponse> listTasksAsync(
2603
2608
List <ActionType > action ,
2604
2609
Boolean enabled ,
2605
2610
List <String > sourceID ,
2611
+ List <SourceType > sourceType ,
2606
2612
List <String > destinationID ,
2607
2613
List <TriggerType > triggerType ,
2608
2614
TaskSortKeys sort ,
@@ -2617,6 +2623,7 @@ public CompletableFuture<ListTasksResponse> listTasksAsync(
2617
2623
.addQueryParameter ("action" , action )
2618
2624
.addQueryParameter ("enabled" , enabled )
2619
2625
.addQueryParameter ("sourceID" , sourceID )
2626
+ .addQueryParameter ("sourceType" , sourceType )
2620
2627
.addQueryParameter ("destinationID" , destinationID )
2621
2628
.addQueryParameter ("triggerType" , triggerType )
2622
2629
.addQueryParameter ("sort" , sort )
@@ -2633,6 +2640,7 @@ public CompletableFuture<ListTasksResponse> listTasksAsync(
2633
2640
* @param action Actions for filtering the list of tasks. (optional)
2634
2641
* @param enabled Whether to filter the list of tasks by the `enabled` status. (optional)
2635
2642
* @param sourceID Source IDs for filtering the list of tasks. (optional)
2643
+ * @param sourceType Filters the tasks with the specified source type. (optional)
2636
2644
* @param destinationID Destination IDs for filtering the list of tasks. (optional)
2637
2645
* @param triggerType Type of task trigger for filtering the list of tasks. (optional)
2638
2646
* @param sort Property by which to sort the list of tasks. (optional, default to createdAt)
@@ -2645,12 +2653,13 @@ public CompletableFuture<ListTasksResponse> listTasksAsync(
2645
2653
List <ActionType > action ,
2646
2654
Boolean enabled ,
2647
2655
List <String > sourceID ,
2656
+ List <SourceType > sourceType ,
2648
2657
List <String > destinationID ,
2649
2658
List <TriggerType > triggerType ,
2650
2659
TaskSortKeys sort ,
2651
2660
OrderKeys order
2652
2661
) throws AlgoliaRuntimeException {
2653
- return this .listTasksAsync (itemsPerPage , page , action , enabled , sourceID , destinationID , triggerType , sort , order , null );
2662
+ return this .listTasksAsync (itemsPerPage , page , action , enabled , sourceID , sourceType , destinationID , triggerType , sort , order , null );
2654
2663
}
2655
2664
2656
2665
/**
@@ -2661,7 +2670,7 @@ public CompletableFuture<ListTasksResponse> listTasksAsync(
2661
2670
* @throws AlgoliaRuntimeException If it fails to process the API call
2662
2671
*/
2663
2672
public CompletableFuture <ListTasksResponse > listTasksAsync (RequestOptions requestOptions ) throws AlgoliaRuntimeException {
2664
- return this .listTasksAsync (null , null , null , null , null , null , null , null , null , requestOptions );
2673
+ return this .listTasksAsync (null , null , null , null , null , null , null , null , null , null , requestOptions );
2665
2674
}
2666
2675
2667
2676
/**
@@ -2670,7 +2679,7 @@ public CompletableFuture<ListTasksResponse> listTasksAsync(RequestOptions reques
2670
2679
* @throws AlgoliaRuntimeException If it fails to process the API call
2671
2680
*/
2672
2681
public CompletableFuture <ListTasksResponse > listTasksAsync () throws AlgoliaRuntimeException {
2673
- return this .listTasksAsync (null , null , null , null , null , null , null , null , null , null );
2682
+ return this .listTasksAsync (null , null , null , null , null , null , null , null , null , null , null );
2674
2683
}
2675
2684
2676
2685
/**
0 commit comments