@@ -2521,6 +2521,8 @@ public CompletableFuture<ListSourcesResponse> listSourcesAsync() throws AlgoliaR
2521
2521
* @param sourceType Filters the tasks with the specified source type. (optional)
2522
2522
* @param destinationID Destination IDs for filtering the list of tasks. (optional)
2523
2523
* @param triggerType Type of task trigger for filtering the list of tasks. (optional)
2524
+ * @param withEmailNotifications If specified, the response only includes tasks with
2525
+ * notifications.email.enabled set to this value. (optional)
2524
2526
* @param sort Property by which to sort the list of tasks. (optional, default to createdAt)
2525
2527
* @param order Sort order of the response, ascending or descending. (optional, default to desc)
2526
2528
* @param requestOptions The requestOptions to send along with the query, they will be merged with
@@ -2536,12 +2538,26 @@ public ListTasksResponse listTasks(
2536
2538
List <SourceType > sourceType ,
2537
2539
List <String > destinationID ,
2538
2540
List <TriggerType > triggerType ,
2541
+ Boolean withEmailNotifications ,
2539
2542
TaskSortKeys sort ,
2540
2543
OrderKeys order ,
2541
2544
RequestOptions requestOptions
2542
2545
) throws AlgoliaRuntimeException {
2543
2546
return LaunderThrowable .await (
2544
- listTasksAsync (itemsPerPage , page , action , enabled , sourceID , sourceType , destinationID , triggerType , sort , order , requestOptions )
2547
+ listTasksAsync (
2548
+ itemsPerPage ,
2549
+ page ,
2550
+ action ,
2551
+ enabled ,
2552
+ sourceID ,
2553
+ sourceType ,
2554
+ destinationID ,
2555
+ triggerType ,
2556
+ withEmailNotifications ,
2557
+ sort ,
2558
+ order ,
2559
+ requestOptions
2560
+ )
2545
2561
);
2546
2562
}
2547
2563
@@ -2556,6 +2572,8 @@ public ListTasksResponse listTasks(
2556
2572
* @param sourceType Filters the tasks with the specified source type. (optional)
2557
2573
* @param destinationID Destination IDs for filtering the list of tasks. (optional)
2558
2574
* @param triggerType Type of task trigger for filtering the list of tasks. (optional)
2575
+ * @param withEmailNotifications If specified, the response only includes tasks with
2576
+ * notifications.email.enabled set to this value. (optional)
2559
2577
* @param sort Property by which to sort the list of tasks. (optional, default to createdAt)
2560
2578
* @param order Sort order of the response, ascending or descending. (optional, default to desc)
2561
2579
* @throws AlgoliaRuntimeException If it fails to process the API call
@@ -2569,10 +2587,24 @@ public ListTasksResponse listTasks(
2569
2587
List <SourceType > sourceType ,
2570
2588
List <String > destinationID ,
2571
2589
List <TriggerType > triggerType ,
2590
+ Boolean withEmailNotifications ,
2572
2591
TaskSortKeys sort ,
2573
2592
OrderKeys order
2574
2593
) throws AlgoliaRuntimeException {
2575
- return this .listTasks (itemsPerPage , page , action , enabled , sourceID , sourceType , destinationID , triggerType , sort , order , null );
2594
+ return this .listTasks (
2595
+ itemsPerPage ,
2596
+ page ,
2597
+ action ,
2598
+ enabled ,
2599
+ sourceID ,
2600
+ sourceType ,
2601
+ destinationID ,
2602
+ triggerType ,
2603
+ withEmailNotifications ,
2604
+ sort ,
2605
+ order ,
2606
+ null
2607
+ );
2576
2608
}
2577
2609
2578
2610
/**
@@ -2583,7 +2615,7 @@ public ListTasksResponse listTasks(
2583
2615
* @throws AlgoliaRuntimeException If it fails to process the API call
2584
2616
*/
2585
2617
public ListTasksResponse listTasks (RequestOptions requestOptions ) throws AlgoliaRuntimeException {
2586
- return this .listTasks (null , null , null , null , null , null , null , null , null , null , requestOptions );
2618
+ return this .listTasks (null , null , null , null , null , null , null , null , null , null , null , requestOptions );
2587
2619
}
2588
2620
2589
2621
/**
@@ -2592,7 +2624,7 @@ public ListTasksResponse listTasks(RequestOptions requestOptions) throws Algolia
2592
2624
* @throws AlgoliaRuntimeException If it fails to process the API call
2593
2625
*/
2594
2626
public ListTasksResponse listTasks () throws AlgoliaRuntimeException {
2595
- return this .listTasks (null , null , null , null , null , null , null , null , null , null , null );
2627
+ return this .listTasks (null , null , null , null , null , null , null , null , null , null , null , null );
2596
2628
}
2597
2629
2598
2630
/**
@@ -2606,6 +2638,8 @@ public ListTasksResponse listTasks() throws AlgoliaRuntimeException {
2606
2638
* @param sourceType Filters the tasks with the specified source type. (optional)
2607
2639
* @param destinationID Destination IDs for filtering the list of tasks. (optional)
2608
2640
* @param triggerType Type of task trigger for filtering the list of tasks. (optional)
2641
+ * @param withEmailNotifications If specified, the response only includes tasks with
2642
+ * notifications.email.enabled set to this value. (optional)
2609
2643
* @param sort Property by which to sort the list of tasks. (optional, default to createdAt)
2610
2644
* @param order Sort order of the response, ascending or descending. (optional, default to desc)
2611
2645
* @param requestOptions The requestOptions to send along with the query, they will be merged with
@@ -2621,6 +2655,7 @@ public CompletableFuture<ListTasksResponse> listTasksAsync(
2621
2655
List <SourceType > sourceType ,
2622
2656
List <String > destinationID ,
2623
2657
List <TriggerType > triggerType ,
2658
+ Boolean withEmailNotifications ,
2624
2659
TaskSortKeys sort ,
2625
2660
OrderKeys order ,
2626
2661
RequestOptions requestOptions
@@ -2636,6 +2671,7 @@ public CompletableFuture<ListTasksResponse> listTasksAsync(
2636
2671
.addQueryParameter ("sourceType" , sourceType )
2637
2672
.addQueryParameter ("destinationID" , destinationID )
2638
2673
.addQueryParameter ("triggerType" , triggerType )
2674
+ .addQueryParameter ("withEmailNotifications" , withEmailNotifications )
2639
2675
.addQueryParameter ("sort" , sort )
2640
2676
.addQueryParameter ("order" , order )
2641
2677
.build ();
@@ -2653,6 +2689,8 @@ public CompletableFuture<ListTasksResponse> listTasksAsync(
2653
2689
* @param sourceType Filters the tasks with the specified source type. (optional)
2654
2690
* @param destinationID Destination IDs for filtering the list of tasks. (optional)
2655
2691
* @param triggerType Type of task trigger for filtering the list of tasks. (optional)
2692
+ * @param withEmailNotifications If specified, the response only includes tasks with
2693
+ * notifications.email.enabled set to this value. (optional)
2656
2694
* @param sort Property by which to sort the list of tasks. (optional, default to createdAt)
2657
2695
* @param order Sort order of the response, ascending or descending. (optional, default to desc)
2658
2696
* @throws AlgoliaRuntimeException If it fails to process the API call
@@ -2666,10 +2704,24 @@ public CompletableFuture<ListTasksResponse> listTasksAsync(
2666
2704
List <SourceType > sourceType ,
2667
2705
List <String > destinationID ,
2668
2706
List <TriggerType > triggerType ,
2707
+ Boolean withEmailNotifications ,
2669
2708
TaskSortKeys sort ,
2670
2709
OrderKeys order
2671
2710
) throws AlgoliaRuntimeException {
2672
- return this .listTasksAsync (itemsPerPage , page , action , enabled , sourceID , sourceType , destinationID , triggerType , sort , order , null );
2711
+ return this .listTasksAsync (
2712
+ itemsPerPage ,
2713
+ page ,
2714
+ action ,
2715
+ enabled ,
2716
+ sourceID ,
2717
+ sourceType ,
2718
+ destinationID ,
2719
+ triggerType ,
2720
+ withEmailNotifications ,
2721
+ sort ,
2722
+ order ,
2723
+ null
2724
+ );
2673
2725
}
2674
2726
2675
2727
/**
@@ -2680,7 +2732,7 @@ public CompletableFuture<ListTasksResponse> listTasksAsync(
2680
2732
* @throws AlgoliaRuntimeException If it fails to process the API call
2681
2733
*/
2682
2734
public CompletableFuture <ListTasksResponse > listTasksAsync (RequestOptions requestOptions ) throws AlgoliaRuntimeException {
2683
- return this .listTasksAsync (null , null , null , null , null , null , null , null , null , null , requestOptions );
2735
+ return this .listTasksAsync (null , null , null , null , null , null , null , null , null , null , null , requestOptions );
2684
2736
}
2685
2737
2686
2738
/**
@@ -2689,7 +2741,7 @@ public CompletableFuture<ListTasksResponse> listTasksAsync(RequestOptions reques
2689
2741
* @throws AlgoliaRuntimeException If it fails to process the API call
2690
2742
*/
2691
2743
public CompletableFuture <ListTasksResponse > listTasksAsync () throws AlgoliaRuntimeException {
2692
- return this .listTasksAsync (null , null , null , null , null , null , null , null , null , null , null );
2744
+ return this .listTasksAsync (null , null , null , null , null , null , null , null , null , null , null , null );
2693
2745
}
2694
2746
2695
2747
/**
0 commit comments