@@ -2521,6 +2521,8 @@ public CompletableFuture<ListSourcesResponse> listSourcesAsync() throws AlgoliaR
25212521 * @param sourceType Filters the tasks with the specified source type. (optional)
25222522 * @param destinationID Destination IDs for filtering the list of tasks. (optional)
25232523 * @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)
25242526 * @param sort Property by which to sort the list of tasks. (optional, default to createdAt)
25252527 * @param order Sort order of the response, ascending or descending. (optional, default to desc)
25262528 * @param requestOptions The requestOptions to send along with the query, they will be merged with
@@ -2536,12 +2538,26 @@ public ListTasksResponse listTasks(
25362538 List <SourceType > sourceType ,
25372539 List <String > destinationID ,
25382540 List <TriggerType > triggerType ,
2541+ Boolean withEmailNotifications ,
25392542 TaskSortKeys sort ,
25402543 OrderKeys order ,
25412544 RequestOptions requestOptions
25422545 ) throws AlgoliaRuntimeException {
25432546 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+ )
25452561 );
25462562 }
25472563
@@ -2556,6 +2572,8 @@ public ListTasksResponse listTasks(
25562572 * @param sourceType Filters the tasks with the specified source type. (optional)
25572573 * @param destinationID Destination IDs for filtering the list of tasks. (optional)
25582574 * @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)
25592577 * @param sort Property by which to sort the list of tasks. (optional, default to createdAt)
25602578 * @param order Sort order of the response, ascending or descending. (optional, default to desc)
25612579 * @throws AlgoliaRuntimeException If it fails to process the API call
@@ -2569,10 +2587,24 @@ public ListTasksResponse listTasks(
25692587 List <SourceType > sourceType ,
25702588 List <String > destinationID ,
25712589 List <TriggerType > triggerType ,
2590+ Boolean withEmailNotifications ,
25722591 TaskSortKeys sort ,
25732592 OrderKeys order
25742593 ) 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+ );
25762608 }
25772609
25782610 /**
@@ -2583,7 +2615,7 @@ public ListTasksResponse listTasks(
25832615 * @throws AlgoliaRuntimeException If it fails to process the API call
25842616 */
25852617 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 );
25872619 }
25882620
25892621 /**
@@ -2592,7 +2624,7 @@ public ListTasksResponse listTasks(RequestOptions requestOptions) throws Algolia
25922624 * @throws AlgoliaRuntimeException If it fails to process the API call
25932625 */
25942626 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 );
25962628 }
25972629
25982630 /**
@@ -2606,6 +2638,8 @@ public ListTasksResponse listTasks() throws AlgoliaRuntimeException {
26062638 * @param sourceType Filters the tasks with the specified source type. (optional)
26072639 * @param destinationID Destination IDs for filtering the list of tasks. (optional)
26082640 * @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)
26092643 * @param sort Property by which to sort the list of tasks. (optional, default to createdAt)
26102644 * @param order Sort order of the response, ascending or descending. (optional, default to desc)
26112645 * @param requestOptions The requestOptions to send along with the query, they will be merged with
@@ -2621,6 +2655,7 @@ public CompletableFuture<ListTasksResponse> listTasksAsync(
26212655 List <SourceType > sourceType ,
26222656 List <String > destinationID ,
26232657 List <TriggerType > triggerType ,
2658+ Boolean withEmailNotifications ,
26242659 TaskSortKeys sort ,
26252660 OrderKeys order ,
26262661 RequestOptions requestOptions
@@ -2636,6 +2671,7 @@ public CompletableFuture<ListTasksResponse> listTasksAsync(
26362671 .addQueryParameter ("sourceType" , sourceType )
26372672 .addQueryParameter ("destinationID" , destinationID )
26382673 .addQueryParameter ("triggerType" , triggerType )
2674+ .addQueryParameter ("withEmailNotifications" , withEmailNotifications )
26392675 .addQueryParameter ("sort" , sort )
26402676 .addQueryParameter ("order" , order )
26412677 .build ();
@@ -2653,6 +2689,8 @@ public CompletableFuture<ListTasksResponse> listTasksAsync(
26532689 * @param sourceType Filters the tasks with the specified source type. (optional)
26542690 * @param destinationID Destination IDs for filtering the list of tasks. (optional)
26552691 * @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)
26562694 * @param sort Property by which to sort the list of tasks. (optional, default to createdAt)
26572695 * @param order Sort order of the response, ascending or descending. (optional, default to desc)
26582696 * @throws AlgoliaRuntimeException If it fails to process the API call
@@ -2666,10 +2704,24 @@ public CompletableFuture<ListTasksResponse> listTasksAsync(
26662704 List <SourceType > sourceType ,
26672705 List <String > destinationID ,
26682706 List <TriggerType > triggerType ,
2707+ Boolean withEmailNotifications ,
26692708 TaskSortKeys sort ,
26702709 OrderKeys order
26712710 ) 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+ );
26732725 }
26742726
26752727 /**
@@ -2680,7 +2732,7 @@ public CompletableFuture<ListTasksResponse> listTasksAsync(
26802732 * @throws AlgoliaRuntimeException If it fails to process the API call
26812733 */
26822734 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 );
26842736 }
26852737
26862738 /**
@@ -2689,7 +2741,7 @@ public CompletableFuture<ListTasksResponse> listTasksAsync(RequestOptions reques
26892741 * @throws AlgoliaRuntimeException If it fails to process the API call
26902742 */
26912743 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 );
26932745 }
26942746
26952747 /**
0 commit comments