@@ -14,7 +14,7 @@ public interface IWorkflowsService
1414 /// </summary>
1515 /// <param name="cancellationToken">Token to cancel the asynchronous operation.</param>
1616 /// <returns>A result containing a list of workflow summaries.</returns>
17- Task < HttpResult < Result < IEnumerable < WorkflowListResponse > > > > ListAsync (
17+ Task < HttpResult < PaginatedResult < WorkflowListResponse > > > ListAsync (
1818 CancellationToken cancellationToken = default ) ;
1919
2020 /// <summary>
@@ -63,7 +63,7 @@ Task<HttpResult<Result<Unit>>> DeleteAsync(
6363 /// <param name="request">The request specifying filters for executions.</param>
6464 /// <param name="cancellationToken">Token to cancel the asynchronous operation.</param>
6565 /// <returns>A result containing a list of workflow executions.</returns>
66- Task < HttpResult < Result < IEnumerable < WorkflowExecutionListResponse > > > > ExecutionsAsync (
66+ Task < HttpResult < PaginatedResult < WorkflowExecutionListResponse > > > ExecutionsAsync (
6767 WorkflowExecutionListRequest request ,
6868 CancellationToken cancellationToken = default ) ;
6969
@@ -103,7 +103,7 @@ Task<HttpResult<Result<Unit>>> CancelExecutionsAsync(
103103 /// <param name="request">The request for the approvals list.</param>
104104 /// <param name="cancellationToken">Token to cancel the asynchronous operation.</param>
105105 /// <returns>A result containing a collection of workflow execution approval responses.</returns>
106- Task < HttpResult < Result < IEnumerable < WorkflowExecutionPendingApprovalsResponse > > > > ExecutionPendingApprovalsAsync (
106+ Task < HttpResult < PaginatedResult < WorkflowExecutionPendingApprovalsResponse > > > ExecutionPendingApprovalsAsync (
107107 WorkflowExecutionPendingApprovalsRequest request ,
108108 CancellationToken cancellationToken = default ) ;
109109
@@ -143,7 +143,7 @@ Task<HttpResult<Result<WorkflowExecutionLogsResponse>>> ExecutionsLogsAsync(
143143 /// <param name="request">The request object containing workflow execution identifiers associated tasks.</param>
144144 /// <param name="cancellationToken">A token that can be used to cancel the asynchronous operation.</param>
145145 /// <returns>A result containing list of execution tasks.</returns>
146- Task < HttpResult < Result < IEnumerable < WorkflowExecutionTasksResponse > > > > ExecutionTasksAsync (
146+ Task < HttpResult < PaginatedResult < WorkflowExecutionTasksResponse > > > ExecutionTasksAsync (
147147 WorkflowExecutionTasksRequest request ,
148148 CancellationToken cancellationToken = default ) ;
149149
@@ -163,7 +163,7 @@ Task<HttpResult<Result<WorkflowTaskExecutionDetailsResponse>>> TaskExecutionDeta
163163 /// <param name="request">The request specifying which task execution logs to retrieve.</param>
164164 /// <param name="cancellationToken">Token to cancel the asynchronous operation.</param>
165165 /// <returns>A result containing the task execution logs.</returns>
166- Task < HttpResult < Result < IEnumerable < WorkflowTaskExecutionLogsResponse > > > > TaskExecutionLogsAsync (
166+ Task < HttpResult < PaginatedResult < WorkflowTaskExecutionLogsResponse > > > TaskExecutionLogsAsync (
167167 WorkflowTaskExecutionLogsRequest request ,
168168 CancellationToken cancellationToken = default ) ;
169169
@@ -173,7 +173,7 @@ Task<HttpResult<Result<IEnumerable<WorkflowTaskExecutionLogsResponse>>>> TaskExe
173173 /// <param name="request">The request specifying filter criteria for triggers.</param>
174174 /// <param name="cancellationToken">Token to cancel the asynchronous operation.</param>
175175 /// <returns>A result containing a list of workflow triggers.</returns>
176- Task < HttpResult < Result < IEnumerable < WorkflowTriggersListResponse > > > > TriggersAsync (
176+ Task < HttpResult < PaginatedResult < WorkflowTriggersListResponse > > > TriggersAsync (
177177 WorkflowTriggersListRequest request ,
178178 CancellationToken cancellationToken = default ) ;
179179
0 commit comments