@harnessio/react-chaos-manager-client 1.84.0 → 1.86.0

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.
Files changed (34) hide show
  1. package/dist/chaos-manager/src/services/hooks/useGetExperimentRunsCsvMutation.d.ts +1 -1
  2. package/dist/chaos-manager/src/services/hooks/useGetExperimentTemplateRevisionsQuery.d.ts +1 -1
  3. package/dist/chaos-manager/src/services/hooks/useListActionMetadataQuery.d.ts +1 -1
  4. package/dist/chaos-manager/src/services/hooks/useListAllChaosExperimentRunsV3Query.d.ts +45 -0
  5. package/dist/chaos-manager/src/services/hooks/useListAllChaosExperimentRunsV3Query.js +14 -0
  6. package/dist/chaos-manager/src/services/hooks/useListChaosExperimentRunsV3Query.d.ts +2 -1
  7. package/dist/chaos-manager/src/services/hooks/useListChaosServiceDrRunsQuery.d.ts +1 -1
  8. package/dist/chaos-manager/src/services/hooks/useListChaosServiceExecutionsQuery.d.ts +1 -1
  9. package/dist/chaos-manager/src/services/hooks/useListChaosServiceLoadTestsQuery.d.ts +1 -1
  10. package/dist/chaos-manager/src/services/hooks/useListChaosServicesQuery.d.ts +1 -1
  11. package/dist/chaos-manager/src/services/hooks/useListConditionQuery.d.ts +1 -1
  12. package/dist/chaos-manager/src/services/hooks/useListDashboardsV3Query.d.ts +1 -1
  13. package/dist/chaos-manager/src/services/hooks/useListExperimentMetadataQuery.d.ts +1 -1
  14. package/dist/chaos-manager/src/services/hooks/useListExperimentOrTemplateQuery.d.ts +1 -1
  15. package/dist/chaos-manager/src/services/hooks/useListExperimentRunsOfFaultQuery.d.ts +1 -1
  16. package/dist/chaos-manager/src/services/hooks/useListExperimentTemplateQuery.d.ts +1 -1
  17. package/dist/chaos-manager/src/services/hooks/useListExperimentsV3Query.d.ts +1 -1
  18. package/dist/chaos-manager/src/services/hooks/useListFaultMetadataQuery.d.ts +1 -1
  19. package/dist/chaos-manager/src/services/hooks/useListFaultTemplateQuery.d.ts +1 -1
  20. package/dist/chaos-manager/src/services/hooks/useListFaultv2Query.d.ts +1 -1
  21. package/dist/chaos-manager/src/services/hooks/useListGamedayMetadataQuery.d.ts +1 -1
  22. package/dist/chaos-manager/src/services/hooks/useListHubMetadataQuery.d.ts +1 -1
  23. package/dist/chaos-manager/src/services/hooks/useListProbeExecutionsQuery.d.ts +1 -1
  24. package/dist/chaos-manager/src/services/hooks/useListProbeMetadataQuery.d.ts +1 -1
  25. package/dist/chaos-manager/src/services/hooks/useListRiskRulesQuery.d.ts +1 -1
  26. package/dist/chaos-manager/src/services/hooks/useListRiskScansQuery.d.ts +1 -1
  27. package/dist/chaos-manager/src/services/hooks/useListRisksQuery.d.ts +1 -1
  28. package/dist/chaos-manager/src/services/hooks/useListRuleQuery.d.ts +1 -1
  29. package/dist/chaos-manager/src/services/hooks/useListScannedRiskOccurrencesQuery.d.ts +1 -1
  30. package/dist/chaos-manager/src/services/index.d.ts +2 -0
  31. package/dist/chaos-manager/src/services/index.js +1 -0
  32. package/dist/chaos-manager/src/services/schemas/RiskscansScannedRiskWithOccurrences.d.ts +3 -0
  33. package/dist/chaos-manager/src/services/schemas/ScannedrisksServiceRiskSummaryQuery.d.ts +1 -1
  34. package/package.json +1 -1
@@ -9,7 +9,7 @@ export interface GetExperimentRunsCsvMutationQueryParams {
9
9
  projectIdentifier?: string;
10
10
  search?: string;
11
11
  sortAscending?: boolean;
12
- sortField?: 'experimentName' | 'lastExecuted' | 'lastUpdated' | 'name';
12
+ sortField?: 'createdAt' | 'experimentName' | 'lastExecuted' | 'lastUpdated' | 'name';
13
13
  startTime?: number;
14
14
  }
15
15
  export type GetExperimentRunsCsvOkResponse = unknown;
@@ -25,7 +25,7 @@ export interface GetExperimentTemplateRevisionsQueryQueryParams {
25
25
  projectIdentifier?: string;
26
26
  search?: string;
27
27
  sortAscending?: boolean;
28
- sortField?: 'experimentName' | 'lastExecuted' | 'lastUpdated' | 'name';
28
+ sortField?: 'createdAt' | 'experimentName' | 'lastExecuted' | 'lastUpdated' | 'name';
29
29
  tags?: string;
30
30
  verbose?: boolean;
31
31
  }
@@ -20,7 +20,7 @@ export interface ListActionMetadataQueryQueryParams {
20
20
  projectIdentifier?: string;
21
21
  search?: string;
22
22
  sortAscending?: boolean;
23
- sortField?: 'experimentName' | 'lastExecuted' | 'lastUpdated' | 'name';
23
+ sortField?: 'createdAt' | 'experimentName' | 'lastExecuted' | 'lastUpdated' | 'name';
24
24
  tags?: string;
25
25
  }
26
26
  export type ListActionMetadataRequestBody = TypesListMetadataRequest;
@@ -0,0 +1,45 @@
1
+ import { UseQueryOptions } from '@tanstack/react-query';
2
+ import type { ExperimentrunsListExperimentRunsResponse } from '../schemas/ExperimentrunsListExperimentRunsResponse';
3
+ import type { SharedError } from '../schemas/SharedError';
4
+ import { FetcherOptions } from '../../../../custom-fetcher/index.js';
5
+ export interface ListAllChaosExperimentRunsV3QueryQueryParams {
6
+ accountIdentifier: string;
7
+ correlationID?: string;
8
+ endTime?: number;
9
+ experimentIDs?: string;
10
+ experimentRunIDs?: string;
11
+ infraIDs?: string;
12
+ /**
13
+ * @default 15
14
+ */
15
+ limit?: number;
16
+ myExecutions?: boolean;
17
+ notifyIDs?: string;
18
+ organizationIdentifier?: string;
19
+ /**
20
+ * @default 0
21
+ */
22
+ page?: number;
23
+ parentUniqueId?: string;
24
+ phases?: string;
25
+ projectIdentifier?: string;
26
+ runSequence?: number;
27
+ search?: string;
28
+ sortAscending?: boolean;
29
+ sortField?: 'createdAt' | 'experimentName' | 'lastExecuted' | 'lastUpdated' | 'name';
30
+ startTime?: number;
31
+ }
32
+ export type ListAllChaosExperimentRunsV3OkResponse = ExperimentrunsListExperimentRunsResponse;
33
+ export type ListAllChaosExperimentRunsV3ErrorResponse = SharedError;
34
+ export interface ListAllChaosExperimentRunsV3Props extends Omit<FetcherOptions<ListAllChaosExperimentRunsV3QueryQueryParams, unknown>, 'url'> {
35
+ queryParams: ListAllChaosExperimentRunsV3QueryQueryParams;
36
+ }
37
+ export interface ListAllChaosExperimentRunsV3ResponseContainer {
38
+ body: ListAllChaosExperimentRunsV3OkResponse;
39
+ headers: Headers;
40
+ }
41
+ export declare function listAllChaosExperimentRunsV3(props: ListAllChaosExperimentRunsV3Props): Promise<ListAllChaosExperimentRunsV3ResponseContainer>;
42
+ /**
43
+ * Lists every experiment run in the requested account/organization/project with the V3 filter+pagination conventions. Use this for cross-experiment run history and reporting views.
44
+ */
45
+ export declare function useListAllChaosExperimentRunsV3Query(props: ListAllChaosExperimentRunsV3Props, options?: Omit<UseQueryOptions<ListAllChaosExperimentRunsV3ResponseContainer, ListAllChaosExperimentRunsV3ErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<ListAllChaosExperimentRunsV3ResponseContainer, SharedError>;
@@ -0,0 +1,14 @@
1
+ /* eslint-disable */
2
+ // This code is autogenerated using @harnessio/oats-cli.
3
+ // Please do not modify this code directly.
4
+ import { useQuery } from '@tanstack/react-query';
5
+ import { fetcher } from '../../../../custom-fetcher/index.js';
6
+ export function listAllChaosExperimentRunsV3(props) {
7
+ return fetcher(Object.assign({ url: `/v3/experiment-runs`, method: 'GET' }, props));
8
+ }
9
+ /**
10
+ * Lists every experiment run in the requested account/organization/project with the V3 filter+pagination conventions. Use this for cross-experiment run history and reporting views.
11
+ */
12
+ export function useListAllChaosExperimentRunsV3Query(props, options) {
13
+ return useQuery(['listAllChaosExperimentRunsV3', props.queryParams], ({ signal }) => listAllChaosExperimentRunsV3(Object.assign(Object.assign({}, props), { signal })), options);
14
+ }
@@ -16,6 +16,7 @@ export interface ListChaosExperimentRunsV3QueryQueryParams {
16
16
  * @default 15
17
17
  */
18
18
  limit?: number;
19
+ myExecutions?: boolean;
19
20
  notifyIDs?: string;
20
21
  organizationIdentifier?: string;
21
22
  /**
@@ -28,7 +29,7 @@ export interface ListChaosExperimentRunsV3QueryQueryParams {
28
29
  runSequence?: number;
29
30
  search?: string;
30
31
  sortAscending?: boolean;
31
- sortField?: 'experimentName' | 'lastExecuted' | 'lastUpdated' | 'name';
32
+ sortField?: 'createdAt' | 'experimentName' | 'lastExecuted' | 'lastUpdated' | 'name';
32
33
  startTime?: number;
33
34
  }
34
35
  export type ListChaosExperimentRunsV3OkResponse = ExperimentrunsListExperimentRunsResponse;
@@ -23,7 +23,7 @@ export interface ListChaosServiceDrRunsQueryQueryParams {
23
23
  projectIdentifier?: string;
24
24
  search?: string;
25
25
  sortAscending?: boolean;
26
- sortField?: 'experimentName' | 'lastExecuted' | 'lastUpdated' | 'name';
26
+ sortField?: 'createdAt' | 'experimentName' | 'lastExecuted' | 'lastUpdated' | 'name';
27
27
  statuses?: string;
28
28
  useParentUniqueID?: boolean;
29
29
  }
@@ -24,7 +24,7 @@ export interface ListChaosServiceExecutionsQueryQueryParams {
24
24
  search?: string;
25
25
  '-'?: string;
26
26
  sortAscending?: boolean;
27
- sortField?: 'experimentName' | 'lastExecuted' | 'lastUpdated' | 'name';
27
+ sortField?: 'createdAt' | 'experimentName' | 'lastExecuted' | 'lastUpdated' | 'name';
28
28
  statuses?: string;
29
29
  stepTypes?: string;
30
30
  useParentUniqueID?: boolean;
@@ -25,7 +25,7 @@ export interface ListChaosServiceLoadTestsQueryQueryParams {
25
25
  search?: string;
26
26
  '-'?: string;
27
27
  sortAscending?: boolean;
28
- sortField?: 'experimentName' | 'lastExecuted' | 'lastUpdated' | 'name';
28
+ sortField?: 'createdAt' | 'experimentName' | 'lastExecuted' | 'lastUpdated' | 'name';
29
29
  tags?: string;
30
30
  toolType?: string;
31
31
  useParentUniqueID?: boolean;
@@ -23,7 +23,7 @@ export interface ListChaosServicesQueryQueryParams {
23
23
  projectIdentifier?: string;
24
24
  search?: string;
25
25
  sortAscending?: boolean;
26
- sortField?: 'experimentName' | 'lastExecuted' | 'lastUpdated' | 'name';
26
+ sortField?: 'createdAt' | 'experimentName' | 'lastExecuted' | 'lastUpdated' | 'name';
27
27
  tags?: string;
28
28
  useParentUniqueID?: boolean;
29
29
  }
@@ -19,7 +19,7 @@ export interface ListConditionQueryQueryParams {
19
19
  projectIdentifier?: string;
20
20
  search?: string;
21
21
  sortAscending?: boolean;
22
- sortField?: 'experimentName' | 'lastExecuted' | 'lastUpdated' | 'name';
22
+ sortField?: 'createdAt' | 'experimentName' | 'lastExecuted' | 'lastUpdated' | 'name';
23
23
  tags?: string;
24
24
  }
25
25
  export type ListConditionOkResponse = ChaosguardconditionsListConditionResponse;
@@ -20,7 +20,7 @@ export interface ListDashboardsV3QueryQueryParams {
20
20
  projectIdentifier?: string;
21
21
  search?: string;
22
22
  sortAscending?: boolean;
23
- sortField?: 'experimentName' | 'lastExecuted' | 'lastUpdated' | 'name';
23
+ sortField?: 'createdAt' | 'experimentName' | 'lastExecuted' | 'lastUpdated' | 'name';
24
24
  tags?: string;
25
25
  useParentUniqueID?: boolean;
26
26
  }
@@ -20,7 +20,7 @@ export interface ListExperimentMetadataQueryQueryParams {
20
20
  projectIdentifier?: string;
21
21
  search?: string;
22
22
  sortAscending?: boolean;
23
- sortField?: 'experimentName' | 'lastExecuted' | 'lastUpdated' | 'name';
23
+ sortField?: 'createdAt' | 'experimentName' | 'lastExecuted' | 'lastUpdated' | 'name';
24
24
  tags?: string;
25
25
  }
26
26
  export type ListExperimentMetadataRequestBody = TypesListMetadataRequest;
@@ -22,7 +22,7 @@ export interface ListExperimentOrTemplateQueryQueryParams {
22
22
  projectIdentifier?: string;
23
23
  search?: string;
24
24
  sortAscending?: boolean;
25
- sortField?: 'experimentName' | 'lastExecuted' | 'lastUpdated' | 'name';
25
+ sortField?: 'createdAt' | 'experimentName' | 'lastExecuted' | 'lastUpdated' | 'name';
26
26
  startTime?: number;
27
27
  tags?: string;
28
28
  useParentUniqueID?: boolean;
@@ -23,7 +23,7 @@ export interface ListExperimentRunsOfFaultQueryQueryParams {
23
23
  projectIdentifier?: string;
24
24
  search?: string;
25
25
  sortAscending?: boolean;
26
- sortField?: 'experimentName' | 'lastExecuted' | 'lastUpdated' | 'name';
26
+ sortField?: 'createdAt' | 'experimentName' | 'lastExecuted' | 'lastUpdated' | 'name';
27
27
  }
28
28
  export type ListExperimentRunsOfFaultOkResponse = ChaosfaultListExperimentRunsInFaultResponse;
29
29
  export type ListExperimentRunsOfFaultErrorResponse = ApiRestError;
@@ -22,7 +22,7 @@ export interface ListExperimentTemplateQueryQueryParams {
22
22
  projectIdentifier?: string;
23
23
  search?: string;
24
24
  sortAscending?: boolean;
25
- sortField?: 'experimentName' | 'lastExecuted' | 'lastUpdated' | 'name';
25
+ sortField?: 'createdAt' | 'experimentName' | 'lastExecuted' | 'lastUpdated' | 'name';
26
26
  tags?: string;
27
27
  verbose?: boolean;
28
28
  }
@@ -29,7 +29,7 @@ export interface ListExperimentsV3QueryQueryParams {
29
29
  projectIdentifier?: string;
30
30
  search?: string;
31
31
  sortAscending?: boolean;
32
- sortField?: 'experimentName' | 'lastExecuted' | 'lastUpdated' | 'name';
32
+ sortField?: 'createdAt' | 'experimentName' | 'lastExecuted' | 'lastUpdated' | 'name';
33
33
  startTime?: number;
34
34
  status?: string;
35
35
  tags?: string;
@@ -20,7 +20,7 @@ export interface ListFaultMetadataQueryQueryParams {
20
20
  projectIdentifier?: string;
21
21
  search?: string;
22
22
  sortAscending?: boolean;
23
- sortField?: 'experimentName' | 'lastExecuted' | 'lastUpdated' | 'name';
23
+ sortField?: 'createdAt' | 'experimentName' | 'lastExecuted' | 'lastUpdated' | 'name';
24
24
  tags?: string;
25
25
  }
26
26
  export type ListFaultMetadataRequestBody = TypesListMetadataRequest;
@@ -24,7 +24,7 @@ export interface ListFaultTemplateQueryQueryParams {
24
24
  projectIdentifier?: string;
25
25
  search?: string;
26
26
  sortAscending?: boolean;
27
- sortField?: 'experimentName' | 'lastExecuted' | 'lastUpdated' | 'name';
27
+ sortField?: 'createdAt' | 'experimentName' | 'lastExecuted' | 'lastUpdated' | 'name';
28
28
  tags?: string;
29
29
  type?: string;
30
30
  }
@@ -22,7 +22,7 @@ export interface ListFaultv2QueryQueryParams {
22
22
  projectIdentifier?: string;
23
23
  search?: string;
24
24
  sortAscending?: boolean;
25
- sortField?: 'experimentName' | 'lastExecuted' | 'lastUpdated' | 'name';
25
+ sortField?: 'createdAt' | 'experimentName' | 'lastExecuted' | 'lastUpdated' | 'name';
26
26
  tags?: string;
27
27
  type?: string;
28
28
  }
@@ -20,7 +20,7 @@ export interface ListGamedayMetadataQueryQueryParams {
20
20
  projectIdentifier?: string;
21
21
  search?: string;
22
22
  sortAscending?: boolean;
23
- sortField?: 'experimentName' | 'lastExecuted' | 'lastUpdated' | 'name';
23
+ sortField?: 'createdAt' | 'experimentName' | 'lastExecuted' | 'lastUpdated' | 'name';
24
24
  tags?: string;
25
25
  }
26
26
  export type ListGamedayMetadataRequestBody = TypesListMetadataRequest;
@@ -20,7 +20,7 @@ export interface ListHubMetadataQueryQueryParams {
20
20
  projectIdentifier?: string;
21
21
  search?: string;
22
22
  sortAscending?: boolean;
23
- sortField?: 'experimentName' | 'lastExecuted' | 'lastUpdated' | 'name';
23
+ sortField?: 'createdAt' | 'experimentName' | 'lastExecuted' | 'lastUpdated' | 'name';
24
24
  tags?: string;
25
25
  }
26
26
  export type ListHubMetadataRequestBody = TypesListMetadataRequest;
@@ -23,7 +23,7 @@ export interface ListProbeExecutionsQueryQueryParams {
23
23
  projectIdentifier?: string;
24
24
  search?: string;
25
25
  sortAscending?: boolean;
26
- sortField?: 'experimentName' | 'lastExecuted' | 'lastUpdated' | 'name';
26
+ sortField?: 'createdAt' | 'experimentName' | 'lastExecuted' | 'lastUpdated' | 'name';
27
27
  startTime?: number;
28
28
  status?: 'Failed' | 'Passed';
29
29
  tags?: string;
@@ -20,7 +20,7 @@ export interface ListProbeMetadataQueryQueryParams {
20
20
  projectIdentifier?: string;
21
21
  search?: string;
22
22
  sortAscending?: boolean;
23
- sortField?: 'experimentName' | 'lastExecuted' | 'lastUpdated' | 'name';
23
+ sortField?: 'createdAt' | 'experimentName' | 'lastExecuted' | 'lastUpdated' | 'name';
24
24
  tags?: string;
25
25
  }
26
26
  export type ListProbeMetadataRequestBody = TypesListMetadataRequest;
@@ -21,7 +21,7 @@ export interface ListRiskRulesQueryQueryParams {
21
21
  projectIdentifier?: string;
22
22
  search?: string;
23
23
  sortAscending?: boolean;
24
- sortField?: 'experimentName' | 'lastExecuted' | 'lastUpdated' | 'name';
24
+ sortField?: 'createdAt' | 'experimentName' | 'lastExecuted' | 'lastUpdated' | 'name';
25
25
  tags?: string;
26
26
  }
27
27
  export type ListRiskRulesOkResponse = RiskrulesListResponse;
@@ -23,7 +23,7 @@ export interface ListRiskScansQueryQueryParams {
23
23
  scanType?: string;
24
24
  search?: string;
25
25
  sortAscending?: boolean;
26
- sortField?: 'experimentName' | 'lastExecuted' | 'lastUpdated' | 'name';
26
+ sortField?: 'createdAt' | 'experimentName' | 'lastExecuted' | 'lastUpdated' | 'name';
27
27
  startTime?: number;
28
28
  status?: string;
29
29
  tags?: string;
@@ -22,7 +22,7 @@ export interface ListRisksQueryQueryParams {
22
22
  resourceIdentifiers?: string[];
23
23
  search?: string;
24
24
  sortAscending?: boolean;
25
- sortField?: 'experimentName' | 'lastExecuted' | 'lastUpdated' | 'name';
25
+ sortField?: 'createdAt' | 'experimentName' | 'lastExecuted' | 'lastUpdated' | 'name';
26
26
  tags?: string;
27
27
  useParentUniqueID?: boolean;
28
28
  }
@@ -19,7 +19,7 @@ export interface ListRuleQueryQueryParams {
19
19
  projectIdentifier?: string;
20
20
  search?: string;
21
21
  sortAscending?: boolean;
22
- sortField?: 'experimentName' | 'lastExecuted' | 'lastUpdated' | 'name';
22
+ sortField?: 'createdAt' | 'experimentName' | 'lastExecuted' | 'lastUpdated' | 'name';
23
23
  tags?: string;
24
24
  }
25
25
  export type ListRuleOkResponse = ChaosguardrulesListRuleResponse;
@@ -23,7 +23,7 @@ export interface ListScannedRiskOccurrencesQueryQueryParams {
23
23
  scanType?: string;
24
24
  search?: string;
25
25
  sortAscending?: boolean;
26
- sortField?: 'experimentName' | 'lastExecuted' | 'lastUpdated' | 'name';
26
+ sortField?: 'createdAt' | 'experimentName' | 'lastExecuted' | 'lastUpdated' | 'name';
27
27
  source?: 'DiscoveryAgent' | 'PipelineExecution' | 'ProbeExecution';
28
28
  startTime?: number;
29
29
  validationType?: string;
@@ -314,6 +314,8 @@ export type { ListActionTemplateRevisionsErrorResponse, ListActionTemplateRevisi
314
314
  export { listActionTemplateRevisions, useListActionTemplateRevisionsQuery, } from './hooks/useListActionTemplateRevisionsQuery';
315
315
  export type { ListActionsErrorResponse, ListActionsOkResponse, ListActionsProps, ListActionsQueryQueryParams, } from './hooks/useListActionsQuery';
316
316
  export { listActions, useListActionsQuery } from './hooks/useListActionsQuery';
317
+ export type { ListAllChaosExperimentRunsV3ErrorResponse, ListAllChaosExperimentRunsV3OkResponse, ListAllChaosExperimentRunsV3Props, ListAllChaosExperimentRunsV3QueryQueryParams, } from './hooks/useListAllChaosExperimentRunsV3Query';
318
+ export { listAllChaosExperimentRunsV3, useListAllChaosExperimentRunsV3Query, } from './hooks/useListAllChaosExperimentRunsV3Query';
317
319
  export type { ListApplicationErrorResponse, ListApplicationOkResponse, ListApplicationProps, ListApplicationQueryPathParams, ListApplicationQueryQueryParams, } from './hooks/useListApplicationQuery';
318
320
  export { listApplication, useListApplicationQuery } from './hooks/useListApplicationQuery';
319
321
  export type { ListChaosComponentErrorResponse, ListChaosComponentOkResponse, ListChaosComponentProps, ListChaosComponentQueryPathParams, ListChaosComponentQueryQueryParams, } from './hooks/useListChaosComponentQuery';
@@ -156,6 +156,7 @@ export { listActionMetadata, useListActionMetadataQuery } from './hooks/useListA
156
156
  export { listActionTemplate, useListActionTemplateQuery } from './hooks/useListActionTemplateQuery';
157
157
  export { listActionTemplateRevisions, useListActionTemplateRevisionsQuery, } from './hooks/useListActionTemplateRevisionsQuery';
158
158
  export { listActions, useListActionsQuery } from './hooks/useListActionsQuery';
159
+ export { listAllChaosExperimentRunsV3, useListAllChaosExperimentRunsV3Query, } from './hooks/useListAllChaosExperimentRunsV3Query';
159
160
  export { listApplication, useListApplicationQuery } from './hooks/useListApplicationQuery';
160
161
  export { listChaosComponent, useListChaosComponentQuery } from './hooks/useListChaosComponentQuery';
161
162
  export { listChaosEnabledInfraV2, useListChaosEnabledInfraV2Query, } from './hooks/useListChaosEnabledInfraV2Query';
@@ -8,6 +8,9 @@ export interface RiskscansScannedRiskWithOccurrences {
8
8
  };
9
9
  name?: string;
10
10
  occurrences?: RiskscansOccurrenceDetails[];
11
+ serviceIdentity?: string;
12
+ serviceName?: string;
13
+ serviceType?: string;
11
14
  severity?: string;
12
15
  status?: string;
13
16
  tags?: string[];
@@ -57,7 +57,7 @@ export interface ScannedrisksServiceRiskSummaryQuery {
57
57
  /**
58
58
  * field name that you want to sort
59
59
  */
60
- sortField?: 'experimentName' | 'lastExecuted' | 'lastUpdated' | 'name';
60
+ sortField?: 'createdAt' | 'experimentName' | 'lastExecuted' | 'lastUpdated' | 'name';
61
61
  /**
62
62
  * Timeframe filter on spec.last_detected
63
63
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@harnessio/react-chaos-manager-client",
3
- "version": "1.84.0",
3
+ "version": "1.86.0",
4
4
  "description": "Harness React Chaos Manager Service Client - APIs integrated with react hooks",
5
5
  "author": "Harness Inc",
6
6
  "license": "MIT",