@harnessio/react-ssca-manager-client 0.84.21 → 0.84.22
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/ssca-manager/src/services/hooks/useGetAiWorkflowExecutionsQuery.d.ts +2 -2
- package/dist/ssca-manager/src/services/index.d.ts +1 -0
- package/dist/ssca-manager/src/services/schemas/AiWorkflowExecutionListResponse.d.ts +24 -0
- package/dist/ssca-manager/src/services/schemas/AiWorkflowExecutionListResponse.js +1 -0
- package/dist/ssca-manager/src/services/schemas/AiWorkflowExecutionStatusEnum.d.ts +1 -1
- package/dist/ssca-manager/src/services/schemas/AiWorkflowTriggerResponse.d.ts +1 -1
- package/dist/ssca-manager/src/services/schemas/AiWorkflowTypeEnum.d.ts +2 -2
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
|
-
import type {
|
|
2
|
+
import type { AiWorkflowExecutionListResponse } from '../schemas/AiWorkflowExecutionListResponse';
|
|
3
3
|
import type { AiWorkflowExecutionStatusEnum } from '../schemas/AiWorkflowExecutionStatusEnum';
|
|
4
4
|
import type { ResponseWithPagination } from '../helpers';
|
|
5
5
|
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
@@ -31,7 +31,7 @@ export interface GetAiWorkflowExecutionsQueryQueryParams {
|
|
|
31
31
|
export interface GetAiWorkflowExecutionsQueryHeaderParams {
|
|
32
32
|
'Harness-Account': string;
|
|
33
33
|
}
|
|
34
|
-
export type GetAiWorkflowExecutionsOkResponse = ResponseWithPagination<
|
|
34
|
+
export type GetAiWorkflowExecutionsOkResponse = ResponseWithPagination<AiWorkflowExecutionListResponse>;
|
|
35
35
|
export type GetAiWorkflowExecutionsErrorResponse = unknown;
|
|
36
36
|
export interface GetAiWorkflowExecutionsProps extends GetAiWorkflowExecutionsQueryPathParams, Omit<FetcherOptions<GetAiWorkflowExecutionsQueryQueryParams, unknown, GetAiWorkflowExecutionsQueryHeaderParams>, 'url'> {
|
|
37
37
|
queryParams: GetAiWorkflowExecutionsQueryQueryParams;
|
|
@@ -331,6 +331,7 @@ export type { AiWorkflowConfigRequest } from './schemas/AiWorkflowConfigRequest'
|
|
|
331
331
|
export type { AiWorkflowConfigResponse } from './schemas/AiWorkflowConfigResponse';
|
|
332
332
|
export type { AiWorkflowExclusionScope } from './schemas/AiWorkflowExclusionScope';
|
|
333
333
|
export type { AiWorkflowExecutionDetailResponse } from './schemas/AiWorkflowExecutionDetailResponse';
|
|
334
|
+
export type { AiWorkflowExecutionListResponse } from './schemas/AiWorkflowExecutionListResponse';
|
|
334
335
|
export type { AiWorkflowExecutionRequest } from './schemas/AiWorkflowExecutionRequest';
|
|
335
336
|
export type { AiWorkflowExecutionStatusEnum } from './schemas/AiWorkflowExecutionStatusEnum';
|
|
336
337
|
export type { AiWorkflowExecutionStepsResponse } from './schemas/AiWorkflowExecutionStepsResponse';
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import type { AiWorkflowExecutionSummary } from '../schemas/AiWorkflowExecutionSummary';
|
|
2
|
+
export interface AiWorkflowExecutionListResponse {
|
|
3
|
+
/**
|
|
4
|
+
* List of AI workflow executions
|
|
5
|
+
*/
|
|
6
|
+
executions?: AiWorkflowExecutionSummary[];
|
|
7
|
+
/**
|
|
8
|
+
* Current page number (zero-indexed)
|
|
9
|
+
*/
|
|
10
|
+
page?: number;
|
|
11
|
+
/**
|
|
12
|
+
* Number of items per page
|
|
13
|
+
*/
|
|
14
|
+
page_size?: number;
|
|
15
|
+
/**
|
|
16
|
+
* Total number of executions matching the current filters
|
|
17
|
+
* @format int64
|
|
18
|
+
*/
|
|
19
|
+
total_items?: number;
|
|
20
|
+
/**
|
|
21
|
+
* Total number of pages
|
|
22
|
+
*/
|
|
23
|
+
total_pages?: number;
|
|
24
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Status of an AI workflow execution
|
|
3
3
|
*/
|
|
4
|
-
export type AiWorkflowExecutionStatusEnum = '
|
|
4
|
+
export type AiWorkflowExecutionStatusEnum = 'COMPLETED' | 'FAILED' | 'PENDING' | 'RUNNING' | 'SKIPPED';
|