@harnessio/react-chaos-manager-client 1.43.0 → 1.44.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 (39) hide show
  1. package/dist/chaos-manager/src/services/hooks/useGetAccountServiceDetailsQuery.d.ts +0 -8
  2. package/dist/chaos-manager/src/services/hooks/useGetAccountServiceUsageStatsQuery.d.ts +0 -6
  3. package/dist/chaos-manager/src/services/hooks/useGetExperimentOrTemplateVariableQuery.d.ts +28 -0
  4. package/dist/chaos-manager/src/services/hooks/useGetExperimentOrTemplateVariableQuery.js +14 -0
  5. package/dist/chaos-manager/src/services/hooks/useGetExperimentationActivityReportQuery.d.ts +0 -6
  6. package/dist/chaos-manager/src/services/hooks/useGetFaultTemplateRevisionsQuery.d.ts +0 -2
  7. package/dist/chaos-manager/src/services/hooks/useGetOnboardingExperimentsQuery.d.ts +0 -2
  8. package/dist/chaos-manager/src/services/hooks/useGetOverallServiceUsageStatsQuery.d.ts +0 -6
  9. package/dist/chaos-manager/src/services/hooks/useGetServiceUsageReportQuery.d.ts +0 -6
  10. package/dist/chaos-manager/src/services/hooks/useListActionTemplateQuery.d.ts +0 -2
  11. package/dist/chaos-manager/src/services/hooks/useListActionTemplateRevisionsQuery.d.ts +0 -2
  12. package/dist/chaos-manager/src/services/hooks/useListActionsQuery.d.ts +0 -2
  13. package/dist/chaos-manager/src/services/hooks/useListChaosEnabledInfraV2Query.d.ts +0 -2
  14. package/dist/chaos-manager/src/services/hooks/useListChaosHubQuery.d.ts +0 -2
  15. package/dist/chaos-manager/src/services/hooks/useListChaosV2ExperimentQuery.d.ts +0 -2
  16. package/dist/chaos-manager/src/services/hooks/useListExperimentOrTemplateQuery.d.ts +41 -0
  17. package/dist/chaos-manager/src/services/hooks/useListExperimentOrTemplateQuery.js +14 -0
  18. package/dist/chaos-manager/src/services/hooks/useListFaultQuery.d.ts +0 -2
  19. package/dist/chaos-manager/src/services/hooks/useListGamedayV2Query.d.ts +0 -2
  20. package/dist/chaos-manager/src/services/hooks/useListHarnessInfraQuery.d.ts +0 -2
  21. package/dist/chaos-manager/src/services/hooks/useListInfraV2Query.d.ts +0 -2
  22. package/dist/chaos-manager/src/services/hooks/useListInputSetQuery.d.ts +0 -2
  23. package/dist/chaos-manager/src/services/hooks/useListMachineChaosInfraQuery.d.ts +0 -2
  24. package/dist/chaos-manager/src/services/hooks/useListProbeTemplateQuery.d.ts +0 -2
  25. package/dist/chaos-manager/src/services/hooks/useListProbesQuery.d.ts +0 -2
  26. package/dist/chaos-manager/src/services/hooks/useListRecommendationsQuery.d.ts +0 -2
  27. package/dist/chaos-manager/src/services/hooks/useListServiceQuery.d.ts +0 -2
  28. package/dist/chaos-manager/src/services/hooks/useListTargetNetworkMapsQuery.d.ts +0 -2
  29. package/dist/chaos-manager/src/services/hooks/useListV2OnboardingQuery.d.ts +0 -2
  30. package/dist/chaos-manager/src/services/index.d.ts +7 -0
  31. package/dist/chaos-manager/src/services/index.js +2 -0
  32. package/dist/chaos-manager/src/services/schemas/ChaosexperimentListExperimentData.d.ts +9 -0
  33. package/dist/chaos-manager/src/services/schemas/ChaosexperimentListExperimentData.js +1 -0
  34. package/dist/chaos-manager/src/services/schemas/ExperimenttemplateListExperimentTemplateData.d.ts +8 -0
  35. package/dist/chaos-manager/src/services/schemas/ExperimenttemplateListExperimentTemplateData.js +1 -0
  36. package/dist/chaos-manager/src/services/schemas/IntstrType.d.ts +0 -3
  37. package/dist/chaos-manager/src/services/schemas/V3ListExperimentOrTemplateResponse.d.ts +9 -0
  38. package/dist/chaos-manager/src/services/schemas/V3ListExperimentOrTemplateResponse.js +1 -0
  39. package/package.json +1 -1
@@ -6,22 +6,14 @@ export interface GetAccountServiceDetailsQueryPathParams {
6
6
  }
7
7
  export interface GetAccountServiceDetailsQueryQueryParams {
8
8
  /**
9
- * @format int64
10
9
  * @default 0
11
10
  */
12
11
  page: number;
13
12
  /**
14
- * @format int64
15
13
  * @default 10
16
14
  */
17
15
  limit: number;
18
- /**
19
- * @format int64
20
- */
21
16
  startTime: number;
22
- /**
23
- * @format int64
24
- */
25
17
  endTime: number;
26
18
  service?: string;
27
19
  serviceType?: string;
@@ -6,13 +6,7 @@ export interface GetAccountServiceUsageStatsQueryPathParams {
6
6
  }
7
7
  export interface GetAccountServiceUsageStatsQueryQueryParams {
8
8
  groupBy: string;
9
- /**
10
- * @format int64
11
- */
12
9
  startTime: number;
13
- /**
14
- * @format int64
15
- */
16
10
  endTime: number;
17
11
  cumulative?: boolean;
18
12
  }
@@ -0,0 +1,28 @@
1
+ import { UseQueryOptions } from '@tanstack/react-query';
2
+ import type { TemplateRunTimeVariables } from '../schemas/TemplateRunTimeVariables';
3
+ import type { ApiRestError } from '../schemas/ApiRestError';
4
+ import { FetcherOptions } from '../../../../custom-fetcher/index.js';
5
+ export interface GetExperimentOrTemplateVariableQueryQueryParams {
6
+ accountIdentifier: string;
7
+ correlationID?: string;
8
+ experimentId?: string;
9
+ hubReference?: string;
10
+ identifier?: string;
11
+ kind?: string;
12
+ organizationIdentifier?: string;
13
+ projectIdentifier?: string;
14
+ }
15
+ export type GetExperimentOrTemplateVariableOkResponse = TemplateRunTimeVariables;
16
+ export type GetExperimentOrTemplateVariableErrorResponse = ApiRestError;
17
+ export interface GetExperimentOrTemplateVariableProps extends Omit<FetcherOptions<GetExperimentOrTemplateVariableQueryQueryParams, unknown>, 'url'> {
18
+ queryParams: GetExperimentOrTemplateVariableQueryQueryParams;
19
+ }
20
+ export interface GetExperimentOrTemplateVariableResponseContainer {
21
+ body: GetExperimentOrTemplateVariableOkResponse;
22
+ headers: Headers;
23
+ }
24
+ export declare function getExperimentOrTemplateVariable(props: GetExperimentOrTemplateVariableProps): Promise<GetExperimentOrTemplateVariableResponseContainer>;
25
+ /**
26
+ * gets experiment or template variables
27
+ */
28
+ export declare function useGetExperimentOrTemplateVariableQuery(props: GetExperimentOrTemplateVariableProps, options?: Omit<UseQueryOptions<GetExperimentOrTemplateVariableResponseContainer, GetExperimentOrTemplateVariableErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetExperimentOrTemplateVariableResponseContainer, ApiRestError>;
@@ -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 getExperimentOrTemplateVariable(props) {
7
+ return fetcher(Object.assign({ url: `/v3/integrations/get-experiment-or-template-variable`, method: 'GET' }, props));
8
+ }
9
+ /**
10
+ * gets experiment or template variables
11
+ */
12
+ export function useGetExperimentOrTemplateVariableQuery(props, options) {
13
+ return useQuery(['getExperimentOrTemplateVariable', props.queryParams], ({ signal }) => getExperimentOrTemplateVariable(Object.assign(Object.assign({}, props), { signal })), options);
14
+ }
@@ -4,13 +4,7 @@ export interface GetExperimentationActivityReportQueryPathParams {
4
4
  accountID: string;
5
5
  }
6
6
  export interface GetExperimentationActivityReportQueryQueryParams {
7
- /**
8
- * @format int64
9
- */
10
7
  startTime: number;
11
- /**
12
- * @format int64
13
- */
14
8
  endTime: number;
15
9
  cumulate?: boolean;
16
10
  }
@@ -12,12 +12,10 @@ export interface GetFaultTemplateRevisionsQueryQueryParams {
12
12
  hubIdentity: string;
13
13
  correlationID?: string;
14
14
  /**
15
- * @format int64
16
15
  * @default 0
17
16
  */
18
17
  page: number;
19
18
  /**
20
- * @format int64
21
19
  * @default 15
22
20
  */
23
21
  limit: number;
@@ -11,12 +11,10 @@ export interface GetOnboardingExperimentsQueryQueryParams {
11
11
  organizationIdentifier?: string;
12
12
  projectIdentifier?: string;
13
13
  /**
14
- * @format int64
15
14
  * @default 0
16
15
  */
17
16
  page: number;
18
17
  /**
19
- * @format int64
20
18
  * @default 5
21
19
  */
22
20
  limit: number;
@@ -5,13 +5,7 @@ export interface GetOverallServiceUsageStatsQueryPathParams {
5
5
  accountID: string;
6
6
  }
7
7
  export interface GetOverallServiceUsageStatsQueryQueryParams {
8
- /**
9
- * @format int64
10
- */
11
8
  startTime: number;
12
- /**
13
- * @format int64
14
- */
15
9
  endTime: number;
16
10
  }
17
11
  export type GetOverallServiceUsageStatsOkResponse = ChaosserviceusageOverallServiceUsageStats;
@@ -4,13 +4,7 @@ export interface GetServiceUsageReportQueryPathParams {
4
4
  accountID: string;
5
5
  }
6
6
  export interface GetServiceUsageReportQueryQueryParams {
7
- /**
8
- * @format int64
9
- */
10
7
  startTime: number;
11
- /**
12
- * @format int64
13
- */
14
8
  endTime: number;
15
9
  cumulate?: boolean;
16
10
  }
@@ -8,12 +8,10 @@ export interface ListActionTemplateQueryQueryParams {
8
8
  projectIdentifier: string;
9
9
  hubIdentity: string;
10
10
  /**
11
- * @format int64
12
11
  * @default 0
13
12
  */
14
13
  page: number;
15
14
  /**
16
- * @format int64
17
15
  * @default 15
18
16
  */
19
17
  limit: number;
@@ -11,12 +11,10 @@ export interface ListActionTemplateRevisionsQueryQueryParams {
11
11
  projectIdentifier: string;
12
12
  hubIdentity: string;
13
13
  /**
14
- * @format int64
15
14
  * @default 0
16
15
  */
17
16
  page: number;
18
17
  /**
19
- * @format int64
20
18
  * @default 15
21
19
  */
22
20
  limit: number;
@@ -9,12 +9,10 @@ export interface ListActionsQueryQueryParams {
9
9
  hubIdentity?: string;
10
10
  search: string;
11
11
  /**
12
- * @format int64
13
12
  * @default 0
14
13
  */
15
14
  page: number;
16
15
  /**
17
- * @format int64
18
16
  * @default 15
19
17
  */
20
18
  limit: number;
@@ -9,12 +9,10 @@ export interface ListChaosEnabledInfraV2QueryQueryParams {
9
9
  projectIdentifier: string;
10
10
  environmentIdentifier?: string;
11
11
  /**
12
- * @format int64
13
12
  * @default 0
14
13
  */
15
14
  page: number;
16
15
  /**
17
- * @format int64
18
16
  * @default 10
19
17
  */
20
18
  limit: number;
@@ -9,12 +9,10 @@ export interface ListChaosHubQueryQueryParams {
9
9
  search: string;
10
10
  includeAllScope: boolean;
11
11
  /**
12
- * @format int64
13
12
  * @default 0
14
13
  */
15
14
  page: number;
16
15
  /**
17
- * @format int64
18
16
  * @default 15
19
17
  */
20
18
  limit: number;
@@ -7,12 +7,10 @@ export interface ListChaosV2ExperimentQueryQueryParams {
7
7
  organizationIdentifier: string;
8
8
  projectIdentifier: string;
9
9
  /**
10
- * @format int64
11
10
  * @default 0
12
11
  */
13
12
  page: number;
14
13
  /**
15
- * @format int64
16
14
  * @default 10
17
15
  */
18
16
  limit: number;
@@ -0,0 +1,41 @@
1
+ import { UseQueryOptions } from '@tanstack/react-query';
2
+ import type { V3ListExperimentOrTemplateResponse } from '../schemas/V3ListExperimentOrTemplateResponse';
3
+ import type { ApiRestError } from '../schemas/ApiRestError';
4
+ import { FetcherOptions } from '../../../../custom-fetcher/index.js';
5
+ export interface ListExperimentOrTemplateQueryQueryParams {
6
+ accountIdentifier: string;
7
+ correlationID?: string;
8
+ endTime?: number;
9
+ hubIdentifier?: string;
10
+ infraType?: string;
11
+ kind?: string;
12
+ /**
13
+ * @default 15
14
+ */
15
+ limit?: number;
16
+ organizationIdentifier?: string;
17
+ /**
18
+ * @default 0
19
+ */
20
+ page?: number;
21
+ projectIdentifier?: string;
22
+ search?: string;
23
+ sortAscending?: boolean;
24
+ sortField?: 'experimentName' | 'lastUpdated' | 'name';
25
+ startTime?: number;
26
+ tags?: string;
27
+ }
28
+ export type ListExperimentOrTemplateOkResponse = V3ListExperimentOrTemplateResponse;
29
+ export type ListExperimentOrTemplateErrorResponse = ApiRestError;
30
+ export interface ListExperimentOrTemplateProps extends Omit<FetcherOptions<ListExperimentOrTemplateQueryQueryParams, unknown>, 'url'> {
31
+ queryParams: ListExperimentOrTemplateQueryQueryParams;
32
+ }
33
+ export interface ListExperimentOrTemplateResponseContainer {
34
+ body: ListExperimentOrTemplateOkResponse;
35
+ headers: Headers;
36
+ }
37
+ export declare function listExperimentOrTemplate(props: ListExperimentOrTemplateProps): Promise<ListExperimentOrTemplateResponseContainer>;
38
+ /**
39
+ * lists experiment or template metadata
40
+ */
41
+ export declare function useListExperimentOrTemplateQuery(props: ListExperimentOrTemplateProps, options?: Omit<UseQueryOptions<ListExperimentOrTemplateResponseContainer, ListExperimentOrTemplateErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<ListExperimentOrTemplateResponseContainer, ApiRestError>;
@@ -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 listExperimentOrTemplate(props) {
7
+ return fetcher(Object.assign({ url: `/v3/integrations/list-experiment-or-template`, method: 'GET' }, props));
8
+ }
9
+ /**
10
+ * lists experiment or template metadata
11
+ */
12
+ export function useListExperimentOrTemplateQuery(props, options) {
13
+ return useQuery(['listExperimentOrTemplate', props.queryParams], ({ signal }) => listExperimentOrTemplate(Object.assign(Object.assign({}, props), { signal })), options);
14
+ }
@@ -12,12 +12,10 @@ export interface ListFaultQueryQueryParams {
12
12
  entityType?: string;
13
13
  search: string;
14
14
  /**
15
- * @format int64
16
15
  * @default 0
17
16
  */
18
17
  page: number;
19
18
  /**
20
- * @format int64
21
19
  * @default 15
22
20
  */
23
21
  limit: number;
@@ -7,12 +7,10 @@ export interface ListGamedayV2QueryQueryParams {
7
7
  organizationIdentifier: string;
8
8
  projectIdentifier: string;
9
9
  /**
10
- * @format int64
11
10
  * @default 0
12
11
  */
13
12
  page: number;
14
13
  /**
15
- * @format int64
16
14
  * @default 10
17
15
  */
18
16
  limit: number;
@@ -8,12 +8,10 @@ export interface ListHarnessInfraQueryQueryParams {
8
8
  projectIdentifier: string;
9
9
  environmentIdentifier: string;
10
10
  /**
11
- * @format int64
12
11
  * @default 0
13
12
  */
14
13
  page: number;
15
14
  /**
16
- * @format int64
17
15
  * @default 10
18
16
  */
19
17
  limit: number;
@@ -10,12 +10,10 @@ export interface ListInfraV2QueryQueryParams {
10
10
  includeLegacyInfra?: boolean;
11
11
  environmentIdentifier?: string;
12
12
  /**
13
- * @format int64
14
13
  * @default 0
15
14
  */
16
15
  page: number;
17
16
  /**
18
- * @format int64
19
17
  * @default 10
20
18
  */
21
19
  limit: number;
@@ -10,12 +10,10 @@ export interface ListInputSetQueryQueryParams {
10
10
  organizationIdentifier: string;
11
11
  projectIdentifier: string;
12
12
  /**
13
- * @format int64
14
13
  * @default 0
15
14
  */
16
15
  page: number;
17
16
  /**
18
- * @format int64
19
17
  * @default 15
20
18
  */
21
19
  limit: number;
@@ -10,12 +10,10 @@ export interface ListMachineChaosInfraQueryQueryParams {
10
10
  minimalResponse?: boolean;
11
11
  infraType: string;
12
12
  /**
13
- * @format int64
14
13
  * @default 0
15
14
  */
16
15
  page: number;
17
16
  /**
18
- * @format int64
19
17
  * @default 10
20
18
  */
21
19
  limit: number;
@@ -8,12 +8,10 @@ export interface ListProbeTemplateQueryQueryParams {
8
8
  projectIdentifier: string;
9
9
  hubIdentity: string;
10
10
  /**
11
- * @format int64
12
11
  * @default 0
13
12
  */
14
13
  page: number;
15
14
  /**
16
- * @format int64
17
15
  * @default 15
18
16
  */
19
17
  limit: number;
@@ -13,12 +13,10 @@ export interface ListProbesQueryQueryParams {
13
13
  probeIDs?: string;
14
14
  infraType?: string;
15
15
  /**
16
- * @format int64
17
16
  * @default 1
18
17
  */
19
18
  page?: number;
20
19
  /**
21
- * @format int64
22
20
  * @default 50
23
21
  */
24
22
  limit?: number;
@@ -7,12 +7,10 @@ export interface ListRecommendationsQueryQueryParams {
7
7
  organizationIdentifier: string;
8
8
  projectIdentifier: string;
9
9
  /**
10
- * @format int64
11
10
  * @default 0
12
11
  */
13
12
  page: number;
14
13
  /**
15
- * @format int64
16
14
  * @default 15
17
15
  */
18
16
  limit: number;
@@ -12,12 +12,10 @@ export interface ListServiceQueryQueryParams {
12
12
  environmentIdentifier: string;
13
13
  infraId: string;
14
14
  /**
15
- * @format int64
16
15
  * @default 0
17
16
  */
18
17
  page: number;
19
18
  /**
20
- * @format int64
21
19
  * @default 10
22
20
  */
23
21
  limit: number;
@@ -8,12 +8,10 @@ export interface ListTargetNetworkMapsQueryQueryParams {
8
8
  organizationIdentifier: string;
9
9
  projectIdentifier: string;
10
10
  /**
11
- * @format int64
12
11
  * @default 0
13
12
  */
14
13
  page: number;
15
14
  /**
16
- * @format int64
17
15
  * @default 10
18
16
  */
19
17
  limit: number;
@@ -4,12 +4,10 @@ import type { ApiRestError } from '../schemas/ApiRestError';
4
4
  import { FetcherOptions } from '../../../../custom-fetcher/index.js';
5
5
  export interface ListV2OnboardingQueryQueryParams {
6
6
  /**
7
- * @format int64
8
7
  * @default 0
9
8
  */
10
9
  page: number;
11
10
  /**
12
- * @format int64
13
11
  * @default 10
14
12
  */
15
13
  limit: number;
@@ -132,6 +132,8 @@ export type { GetConnectorForInfraErrorResponse, GetConnectorForInfraOkResponse,
132
132
  export { getConnectorForInfra, useGetConnectorForInfraQuery, } from './hooks/useGetConnectorForInfraQuery';
133
133
  export type { GetExperimentHelperImageVersionErrorResponse, GetExperimentHelperImageVersionOkResponse, GetExperimentHelperImageVersionProps, } from './hooks/useGetExperimentHelperImageVersionQuery';
134
134
  export { getExperimentHelperImageVersion, useGetExperimentHelperImageVersionQuery, } from './hooks/useGetExperimentHelperImageVersionQuery';
135
+ export type { GetExperimentOrTemplateVariableErrorResponse, GetExperimentOrTemplateVariableOkResponse, GetExperimentOrTemplateVariableProps, GetExperimentOrTemplateVariableQueryQueryParams, } from './hooks/useGetExperimentOrTemplateVariableQuery';
136
+ export { getExperimentOrTemplateVariable, useGetExperimentOrTemplateVariableQuery, } from './hooks/useGetExperimentOrTemplateVariableQuery';
135
137
  export type { GetExperimentRunTimelineViewErrorResponse, GetExperimentRunTimelineViewOkResponse, GetExperimentRunTimelineViewProps, GetExperimentRunTimelineViewQueryPathParams, GetExperimentRunTimelineViewQueryQueryParams, } from './hooks/useGetExperimentRunTimelineViewQuery';
136
138
  export { getExperimentRunTimelineView, useGetExperimentRunTimelineViewQuery, } from './hooks/useGetExperimentRunTimelineViewQuery';
137
139
  export type { GetExperimentRunsCsvErrorResponse, GetExperimentRunsCsvMutationPathParams, GetExperimentRunsCsvMutationProps, GetExperimentRunsCsvMutationQueryParams, GetExperimentRunsCsvOkResponse, GetExperimentRunsCsvProps, } from './hooks/useGetExperimentRunsCsvMutation';
@@ -246,6 +248,8 @@ export type { ListConditionErrorResponse, ListConditionOkResponse, ListCondition
246
248
  export { listCondition, useListConditionQuery } from './hooks/useListConditionQuery';
247
249
  export type { ListExperimentMetadataErrorResponse, ListExperimentMetadataOkResponse, ListExperimentMetadataProps, ListExperimentMetadataQueryQueryParams, ListExperimentMetadataRequestBody, } from './hooks/useListExperimentMetadataQuery';
248
250
  export { listExperimentMetadata, useListExperimentMetadataQuery, } from './hooks/useListExperimentMetadataQuery';
251
+ export type { ListExperimentOrTemplateErrorResponse, ListExperimentOrTemplateOkResponse, ListExperimentOrTemplateProps, ListExperimentOrTemplateQueryQueryParams, } from './hooks/useListExperimentOrTemplateQuery';
252
+ export { listExperimentOrTemplate, useListExperimentOrTemplateQuery, } from './hooks/useListExperimentOrTemplateQuery';
249
253
  export type { ListExperimentRunsOfFaultErrorResponse, ListExperimentRunsOfFaultOkResponse, ListExperimentRunsOfFaultProps, ListExperimentRunsOfFaultQueryPathParams, ListExperimentRunsOfFaultQueryQueryParams, } from './hooks/useListExperimentRunsOfFaultQuery';
250
254
  export { listExperimentRunsOfFault, useListExperimentRunsOfFaultQuery, } from './hooks/useListExperimentRunsOfFaultQuery';
251
255
  export type { ListExperimentTemplateErrorResponse, ListExperimentTemplateOkResponse, ListExperimentTemplateProps, ListExperimentTemplateQueryQueryParams, } from './hooks/useListExperimentTemplateQuery';
@@ -467,6 +471,7 @@ export type { ChaosInfrastructureV2InfraType } from './schemas/ChaosInfrastructu
467
471
  export type { ChaosInfrastructureV2K8sInfraV2SpecIdentifiers } from './schemas/ChaosInfrastructureV2K8sInfraV2SpecIdentifiers';
468
472
  export type { ChaosactiontemplateActionsTemplateCount } from './schemas/ChaosactiontemplateActionsTemplateCount';
469
473
  export type { ChaosactiontemplateChaosActionTemplate } from './schemas/ChaosactiontemplateChaosActionTemplate';
474
+ export type { ChaosexperimentListExperimentData } from './schemas/ChaosexperimentListExperimentData';
470
475
  export type { ChaosexperimentpipelineGetChaosPipelineNodesResponse } from './schemas/ChaosexperimentpipelineGetChaosPipelineNodesResponse';
471
476
  export type { ChaosexperimentpipelineReferenceEntities } from './schemas/ChaosexperimentpipelineReferenceEntities';
472
477
  export type { ChaosexperimenttemplateChaosExperimentTemplate } from './schemas/ChaosexperimenttemplateChaosExperimentTemplate';
@@ -625,6 +630,7 @@ export type { ExperimentWorkload } from './schemas/ExperimentWorkload';
625
630
  export type { ExperimentWorkloadKind } from './schemas/ExperimentWorkloadKind';
626
631
  export type { ExperimenttemplateAction } from './schemas/ExperimenttemplateAction';
627
632
  export type { ExperimenttemplateFault } from './schemas/ExperimenttemplateFault';
633
+ export type { ExperimenttemplateListExperimentTemplateData } from './schemas/ExperimenttemplateListExperimentTemplateData';
628
634
  export type { ExperimenttemplateProbe } from './schemas/ExperimenttemplateProbe';
629
635
  export type { ExperimenttemplateProbeConditions } from './schemas/ExperimenttemplateProbeConditions';
630
636
  export type { ExperimenttemplateSpec } from './schemas/ExperimenttemplateSpec';
@@ -1199,3 +1205,4 @@ export type { V2OnboardingV2Onboarding } from './schemas/V2OnboardingV2Onboardin
1199
1205
  export type { V2OnboardingV2OnboardingList } from './schemas/V2OnboardingV2OnboardingList';
1200
1206
  export type { V2OnboardingV2OnboardingRequest } from './schemas/V2OnboardingV2OnboardingRequest';
1201
1207
  export type { V2OnboardingV2OnboardingStatus } from './schemas/V2OnboardingV2OnboardingStatus';
1208
+ export type { V3ListExperimentOrTemplateResponse } from './schemas/V3ListExperimentOrTemplateResponse';
@@ -65,6 +65,7 @@ export { getChaosV2ExperimentVariables, useGetChaosV2ExperimentVariablesQuery, }
65
65
  export { getCondition, useGetConditionQuery } from './hooks/useGetConditionQuery';
66
66
  export { getConnectorForInfra, useGetConnectorForInfraQuery, } from './hooks/useGetConnectorForInfraQuery';
67
67
  export { getExperimentHelperImageVersion, useGetExperimentHelperImageVersionQuery, } from './hooks/useGetExperimentHelperImageVersionQuery';
68
+ export { getExperimentOrTemplateVariable, useGetExperimentOrTemplateVariableQuery, } from './hooks/useGetExperimentOrTemplateVariableQuery';
68
69
  export { getExperimentRunTimelineView, useGetExperimentRunTimelineViewQuery, } from './hooks/useGetExperimentRunTimelineViewQuery';
69
70
  export { getExperimentRunsCsv, useGetExperimentRunsCsvMutation, } from './hooks/useGetExperimentRunsCsvMutation';
70
71
  export { getExperimentRunsOverviewStats, useGetExperimentRunsOverviewStatsQuery, } from './hooks/useGetExperimentRunsOverviewStatsQuery';
@@ -122,6 +123,7 @@ export { listChaosHub, useListChaosHubQuery } from './hooks/useListChaosHubQuery
122
123
  export { listChaosV2Experiment, useListChaosV2ExperimentQuery, } from './hooks/useListChaosV2ExperimentQuery';
123
124
  export { listCondition, useListConditionQuery } from './hooks/useListConditionQuery';
124
125
  export { listExperimentMetadata, useListExperimentMetadataQuery, } from './hooks/useListExperimentMetadataQuery';
126
+ export { listExperimentOrTemplate, useListExperimentOrTemplateQuery, } from './hooks/useListExperimentOrTemplateQuery';
125
127
  export { listExperimentRunsOfFault, useListExperimentRunsOfFaultQuery, } from './hooks/useListExperimentRunsOfFaultQuery';
126
128
  export { listExperimentTemplate, useListExperimentTemplateQuery, } from './hooks/useListExperimentTemplateQuery';
127
129
  export { listExperiments, useListExperimentsQuery } from './hooks/useListExperimentsQuery';
@@ -0,0 +1,9 @@
1
+ import type { ExperimentInfraType } from '../schemas/ExperimentInfraType';
2
+ export interface ChaosexperimentListExperimentData {
3
+ description?: string;
4
+ identity?: string;
5
+ infraId?: string;
6
+ infraType?: ExperimentInfraType;
7
+ name?: string;
8
+ tags?: string[];
9
+ }
@@ -0,0 +1,8 @@
1
+ import type { ExperimentInfraType } from '../schemas/ExperimentInfraType';
2
+ export interface ExperimenttemplateListExperimentTemplateData {
3
+ description?: string;
4
+ identity?: string;
5
+ infraType?: ExperimentInfraType;
6
+ name?: string;
7
+ tags?: string[];
8
+ }
@@ -1,4 +1 @@
1
- /**
2
- * @format int64
3
- */
4
1
  export type IntstrType = number;
@@ -0,0 +1,9 @@
1
+ import type { ChaosexperimentListExperimentData } from '../schemas/ChaosexperimentListExperimentData';
2
+ import type { SharedPaginationResponse } from '../schemas/SharedPaginationResponse';
3
+ import type { ExperimenttemplateListExperimentTemplateData } from '../schemas/ExperimenttemplateListExperimentTemplateData';
4
+ export interface V3ListExperimentOrTemplateResponse {
5
+ correlationId?: string;
6
+ experiments?: ChaosexperimentListExperimentData[];
7
+ pagination?: SharedPaginationResponse;
8
+ templates?: ExperimenttemplateListExperimentTemplateData[];
9
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@harnessio/react-chaos-manager-client",
3
- "version": "1.43.0",
3
+ "version": "1.44.0",
4
4
  "description": "Harness React Chaos Manager Service Client - APIs integrated with react hooks",
5
5
  "author": "Harness Inc",
6
6
  "license": "MIT",