@harnessio/react-chaos-manager-client 1.56.0 → 1.56.2

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 (67) hide show
  1. package/dist/chaos-manager/src/services/hooks/useCreateGamedayRunV2Mutation.d.ts +1 -0
  2. package/dist/chaos-manager/src/services/hooks/useCreateGamedayRunV2Mutation.js +1 -0
  3. package/dist/chaos-manager/src/services/hooks/useCreateGamedayV2Mutation.d.ts +1 -0
  4. package/dist/chaos-manager/src/services/hooks/useCreateGamedayV2Mutation.js +1 -0
  5. package/dist/chaos-manager/src/services/hooks/useDeleteGamedayV2Mutation.d.ts +1 -0
  6. package/dist/chaos-manager/src/services/hooks/useDeleteGamedayV2Mutation.js +1 -0
  7. package/dist/chaos-manager/src/services/hooks/useGetChaosExperimentRunReportJsonQuery.d.ts +1 -0
  8. package/dist/chaos-manager/src/services/hooks/useGetChaosExperimentRunReportPdfLegacyQuery.d.ts +1 -0
  9. package/dist/chaos-manager/src/services/hooks/useGetChaosExperimentRunReportPdfLegacyQuery.js +1 -0
  10. package/dist/chaos-manager/src/services/hooks/useGetExperimentHelperImageVersionQuery.d.ts +3 -2
  11. package/dist/chaos-manager/src/services/hooks/useGetExperimentationActivityReportQuery.d.ts +3 -2
  12. package/dist/chaos-manager/src/services/hooks/useGetGamedayRunV2Query.d.ts +1 -0
  13. package/dist/chaos-manager/src/services/hooks/useGetGamedayRunV2Query.js +1 -0
  14. package/dist/chaos-manager/src/services/hooks/useGetGamedayV2Query.d.ts +1 -0
  15. package/dist/chaos-manager/src/services/hooks/useGetGamedayV2Query.js +1 -0
  16. package/dist/chaos-manager/src/services/hooks/useGetImageRegistryQuery.d.ts +3 -2
  17. package/dist/chaos-manager/src/services/hooks/useGetServiceUsageReportQuery.d.ts +3 -2
  18. package/dist/chaos-manager/src/services/hooks/useGetSgpTemplateByGenAiMutation.d.ts +3 -2
  19. package/dist/chaos-manager/src/services/hooks/useHealthCheckV3Query.js +1 -1
  20. package/dist/chaos-manager/src/services/hooks/useListGamedayRunV2Query.d.ts +1 -0
  21. package/dist/chaos-manager/src/services/hooks/useListGamedayRunV2Query.js +1 -0
  22. package/dist/chaos-manager/src/services/hooks/useListGamedayV2Query.d.ts +1 -0
  23. package/dist/chaos-manager/src/services/hooks/useListGamedayV2Query.js +1 -0
  24. package/dist/chaos-manager/src/services/hooks/useProcessTemplateMutation.d.ts +21 -0
  25. package/dist/chaos-manager/src/services/hooks/useProcessTemplateMutation.js +14 -0
  26. package/dist/chaos-manager/src/services/hooks/useRenderTemplateFormQuery.d.ts +15 -0
  27. package/dist/chaos-manager/src/services/hooks/useRenderTemplateFormQuery.js +14 -0
  28. package/dist/chaos-manager/src/services/hooks/useUpdateGamedayRunPrerequisitesV2Mutation.d.ts +1 -0
  29. package/dist/chaos-manager/src/services/hooks/useUpdateGamedayRunPrerequisitesV2Mutation.js +1 -0
  30. package/dist/chaos-manager/src/services/hooks/useUpdateGamedayRunStakeHolderActionsV2Mutation.d.ts +1 -0
  31. package/dist/chaos-manager/src/services/hooks/useUpdateGamedayRunStakeHolderActionsV2Mutation.js +1 -0
  32. package/dist/chaos-manager/src/services/hooks/useUpdateGamedayRunV2Mutation.d.ts +1 -0
  33. package/dist/chaos-manager/src/services/hooks/useUpdateGamedayRunV2Mutation.js +1 -0
  34. package/dist/chaos-manager/src/services/hooks/useUpdateGamedayV2Mutation.d.ts +1 -0
  35. package/dist/chaos-manager/src/services/hooks/useUpdateGamedayV2Mutation.js +1 -0
  36. package/dist/chaos-manager/src/services/index.d.ts +7 -4
  37. package/dist/chaos-manager/src/services/index.js +2 -0
  38. package/dist/chaos-manager/src/services/schemas/ChaosfaulttemplateActionTemplate.d.ts +1 -0
  39. package/dist/chaos-manager/src/services/schemas/ChaosprobetemplateProbeTemplate.d.ts +1 -0
  40. package/dist/chaos-manager/src/services/schemas/GithubComHarnessHceSaasHceSdkTemplateSchemaProbeSplunkEnterpriseProbeInputs.d.ts +2 -2
  41. package/dist/chaos-manager/src/services/schemas/GithubComHarnessHceSaasHceSdkTypesApiMachineInfraInfra.d.ts +4 -1
  42. package/dist/chaos-manager/src/services/schemas/ProbeCmdProbeTemplate.d.ts +1 -1
  43. package/dist/chaos-manager/src/services/schemas/SecurityGovernanceWorkload.d.ts +3 -0
  44. package/dist/chaos-manager/src/services/schemas/SharedListMetadataResponse.d.ts +2 -2
  45. package/dist/chaos-manager/src/services/schemas/{GithubComHarnessHceSaasGraphqlServerModelsSharedMetadata.d.ts → SharedMetadata.d.ts} +1 -1
  46. package/dist/chaos-manager/src/services/schemas/TypesApmProbeDetail.d.ts +2 -2
  47. package/dist/chaos-manager/src/services/schemas/TypesApmPrometheusDetail.d.ts +2 -2
  48. package/dist/chaos-manager/src/services/schemas/TypesApmSplunkEnterpriseDetail.d.ts +2 -2
  49. package/dist/chaos-manager/src/services/schemas/TypesBeta1ProbeDetail.d.ts +2 -2
  50. package/dist/chaos-manager/src/services/schemas/TypesCmdProbeDetail.d.ts +2 -2
  51. package/dist/chaos-manager/src/services/schemas/TypesContainerDetail.d.ts +2 -2
  52. package/dist/chaos-manager/src/services/schemas/TypesDatadogMetricsDetail.d.ts +2 -2
  53. package/dist/chaos-manager/src/services/schemas/TypesDynatraceProbeDetail.d.ts +2 -2
  54. package/dist/chaos-manager/src/services/schemas/TypesHttpProbeDetail.d.ts +4 -4
  55. package/dist/chaos-manager/src/services/schemas/TypesNewrelicMetricsDetail.d.ts +2 -2
  56. package/dist/chaos-manager/src/services/schemas/TypesPromProbeDetail.d.ts +6 -6
  57. package/dist/chaos-manager/src/services/schemas/TypesSloProbeDetail.d.ts +2 -2
  58. package/dist/chaos-manager/src/services/schemas/V3ProcessTemplateRequest.d.ts +14 -0
  59. package/dist/chaos-manager/src/services/schemas/V3ProcessTemplateResponse.d.ts +3 -0
  60. package/package.json +1 -1
  61. package/dist/chaos-manager/src/services/schemas/TypesAuthDetail.d.ts +0 -4
  62. package/dist/chaos-manager/src/services/schemas/TypesComparatorDetail.d.ts +0 -5
  63. package/dist/chaos-manager/src/services/schemas/TypesTlsConfigDetail.d.ts +0 -7
  64. package/dist/chaos-manager/src/services/schemas/TypesTlsConfigDetail.js +0 -4
  65. /package/dist/chaos-manager/src/services/schemas/{GithubComHarnessHceSaasGraphqlServerModelsSharedMetadata.js → SharedMetadata.js} +0 -0
  66. /package/dist/chaos-manager/src/services/schemas/{TypesAuthDetail.js → V3ProcessTemplateRequest.js} +0 -0
  67. /package/dist/chaos-manager/src/services/schemas/{TypesComparatorDetail.js → V3ProcessTemplateResponse.js} +0 -0
@@ -23,5 +23,6 @@ export declare function createGamedayRunV2(props: CreateGamedayRunV2Props): Prom
23
23
  export type CreateGamedayRunV2MutationProps<T extends keyof CreateGamedayRunV2Props> = Omit<CreateGamedayRunV2Props, T> & Partial<Pick<CreateGamedayRunV2Props, T>>;
24
24
  /**
25
25
  * Create a chaos v2 gameday run
26
+ * @deprecated
26
27
  */
27
28
  export declare function useCreateGamedayRunV2Mutation<T extends keyof CreateGamedayRunV2Props>(props: Pick<Partial<CreateGamedayRunV2Props>, T>, options?: Omit<UseMutationOptions<CreateGamedayRunV2ResponseContainer, CreateGamedayRunV2ErrorResponse, CreateGamedayRunV2MutationProps<T>>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<CreateGamedayRunV2ResponseContainer, ApiRestError, CreateGamedayRunV2MutationProps<T>, unknown>;
@@ -8,6 +8,7 @@ export function createGamedayRunV2(props) {
8
8
  }
9
9
  /**
10
10
  * Create a chaos v2 gameday run
11
+ * @deprecated
11
12
  */
12
13
  export function useCreateGamedayRunV2Mutation(props, options) {
13
14
  return useMutation((mutateProps) => createGamedayRunV2(Object.assign(Object.assign({}, props), mutateProps)), options);
@@ -23,5 +23,6 @@ export declare function createGamedayV2(props: CreateGamedayV2Props): Promise<Cr
23
23
  export type CreateGamedayV2MutationProps<T extends keyof CreateGamedayV2Props> = Omit<CreateGamedayV2Props, T> & Partial<Pick<CreateGamedayV2Props, T>>;
24
24
  /**
25
25
  * Create a chaos v2 gameday
26
+ * @deprecated
26
27
  */
27
28
  export declare function useCreateGamedayV2Mutation<T extends keyof CreateGamedayV2Props>(props: Pick<Partial<CreateGamedayV2Props>, T>, options?: Omit<UseMutationOptions<CreateGamedayV2ResponseContainer, CreateGamedayV2ErrorResponse, CreateGamedayV2MutationProps<T>>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<CreateGamedayV2ResponseContainer, ApiRestError, CreateGamedayV2MutationProps<T>, unknown>;
@@ -8,6 +8,7 @@ export function createGamedayV2(props) {
8
8
  }
9
9
  /**
10
10
  * Create a chaos v2 gameday
11
+ * @deprecated
11
12
  */
12
13
  export function useCreateGamedayV2Mutation(props, options) {
13
14
  return useMutation((mutateProps) => createGamedayV2(Object.assign(Object.assign({}, props), mutateProps)), options);
@@ -22,5 +22,6 @@ export declare function deleteGamedayV2(props: DeleteGamedayV2Props): Promise<De
22
22
  export type DeleteGamedayV2MutationProps<T extends keyof DeleteGamedayV2Props> = Omit<DeleteGamedayV2Props, T> & Partial<Pick<DeleteGamedayV2Props, T>>;
23
23
  /**
24
24
  * Get a chaos v2 Gameday
25
+ * @deprecated
25
26
  */
26
27
  export declare function useDeleteGamedayV2Mutation<T extends keyof DeleteGamedayV2Props>(props: Pick<Partial<DeleteGamedayV2Props>, T>, options?: Omit<UseMutationOptions<DeleteGamedayV2ResponseContainer, DeleteGamedayV2ErrorResponse, DeleteGamedayV2MutationProps<T>>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<DeleteGamedayV2ResponseContainer, ApiRestError, DeleteGamedayV2MutationProps<T>, unknown>;
@@ -8,6 +8,7 @@ export function deleteGamedayV2(props) {
8
8
  }
9
9
  /**
10
10
  * Get a chaos v2 Gameday
11
+ * @deprecated
11
12
  */
12
13
  export function useDeleteGamedayV2Mutation(props, options) {
13
14
  return useMutation((mutateProps) => deleteGamedayV2(Object.assign(Object.assign({}, props), mutateProps)), options);
@@ -9,6 +9,7 @@ export interface GetChaosExperimentRunReportJsonQueryQueryParams {
9
9
  accountIdentifier: string;
10
10
  organizationIdentifier: string;
11
11
  projectIdentifier: string;
12
+ experimentId: string;
12
13
  }
13
14
  export type GetChaosExperimentRunReportJsonOkResponse = TypesBeta1ExperimentRunReportJson;
14
15
  export type GetChaosExperimentRunReportJsonErrorResponse = SharedError;
@@ -21,5 +21,6 @@ export interface GetChaosExperimentRunReportPdfLegacyResponseContainer {
21
21
  export declare function getChaosExperimentRunReportPdfLegacy(props: GetChaosExperimentRunReportPdfLegacyProps): Promise<GetChaosExperimentRunReportPdfLegacyResponseContainer>;
22
22
  /**
23
23
  * Deprecated – use /v3/experiment-runs/{experimentRunId}/report instead.
24
+ * @deprecated
24
25
  */
25
26
  export declare function useGetChaosExperimentRunReportPdfLegacyQuery(props: GetChaosExperimentRunReportPdfLegacyProps, options?: Omit<UseQueryOptions<GetChaosExperimentRunReportPdfLegacyResponseContainer, GetChaosExperimentRunReportPdfLegacyErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetChaosExperimentRunReportPdfLegacyResponseContainer, unknown>;
@@ -8,6 +8,7 @@ export function getChaosExperimentRunReportPdfLegacy(props) {
8
8
  }
9
9
  /**
10
10
  * Deprecated – use /v3/experiment-runs/{experimentRunId}/report instead.
11
+ * @deprecated
11
12
  */
12
13
  export function useGetChaosExperimentRunReportPdfLegacyQuery(props, options) {
13
14
  return useQuery([
@@ -1,8 +1,9 @@
1
1
  import { UseQueryOptions } from '@tanstack/react-query';
2
2
  import type { HandlersExperimentHelperImageVersion } from '../schemas/HandlersExperimentHelperImageVersion';
3
+ import type { ApiRestError } from '../schemas/ApiRestError';
3
4
  import { FetcherOptions } from '../../../../custom-fetcher/index.js';
4
5
  export type GetExperimentHelperImageVersionOkResponse = HandlersExperimentHelperImageVersion;
5
- export type GetExperimentHelperImageVersionErrorResponse = unknown;
6
+ export type GetExperimentHelperImageVersionErrorResponse = ApiRestError;
6
7
  export interface GetExperimentHelperImageVersionProps extends Omit<FetcherOptions<unknown, unknown>, 'url'> {
7
8
  }
8
9
  export interface GetExperimentHelperImageVersionResponseContainer {
@@ -13,4 +14,4 @@ export declare function getExperimentHelperImageVersion(props: GetExperimentHelp
13
14
  /**
14
15
  * Get experiment helper image version
15
16
  */
16
- export declare function useGetExperimentHelperImageVersionQuery(props: GetExperimentHelperImageVersionProps, options?: Omit<UseQueryOptions<GetExperimentHelperImageVersionResponseContainer, GetExperimentHelperImageVersionErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetExperimentHelperImageVersionResponseContainer, unknown>;
17
+ export declare function useGetExperimentHelperImageVersionQuery(props: GetExperimentHelperImageVersionProps, options?: Omit<UseQueryOptions<GetExperimentHelperImageVersionResponseContainer, GetExperimentHelperImageVersionErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetExperimentHelperImageVersionResponseContainer, ApiRestError>;
@@ -1,4 +1,5 @@
1
1
  import { UseQueryOptions } from '@tanstack/react-query';
2
+ import type { ApiRestError } from '../schemas/ApiRestError';
2
3
  import { FetcherOptions } from '../../../../custom-fetcher/index.js';
3
4
  export interface GetExperimentationActivityReportQueryPathParams {
4
5
  accountID: string;
@@ -9,7 +10,7 @@ export interface GetExperimentationActivityReportQueryQueryParams {
9
10
  cumulate?: boolean;
10
11
  }
11
12
  export type GetExperimentationActivityReportOkResponse = Array<string[]>;
12
- export type GetExperimentationActivityReportErrorResponse = unknown;
13
+ export type GetExperimentationActivityReportErrorResponse = ApiRestError;
13
14
  export interface GetExperimentationActivityReportProps extends GetExperimentationActivityReportQueryPathParams, Omit<FetcherOptions<GetExperimentationActivityReportQueryQueryParams, unknown>, 'url'> {
14
15
  queryParams: GetExperimentationActivityReportQueryQueryParams;
15
16
  }
@@ -21,4 +22,4 @@ export declare function getExperimentationActivityReport(props: GetExperimentati
21
22
  /**
22
23
  * Generates experimentation activity report for account in a given timeframe
23
24
  */
24
- export declare function useGetExperimentationActivityReportQuery(props: GetExperimentationActivityReportProps, options?: Omit<UseQueryOptions<GetExperimentationActivityReportResponseContainer, GetExperimentationActivityReportErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetExperimentationActivityReportResponseContainer, unknown>;
25
+ export declare function useGetExperimentationActivityReportQuery(props: GetExperimentationActivityReportProps, options?: Omit<UseQueryOptions<GetExperimentationActivityReportResponseContainer, GetExperimentationActivityReportErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetExperimentationActivityReportResponseContainer, ApiRestError>;
@@ -23,5 +23,6 @@ export interface GetGamedayRunV2ResponseContainer {
23
23
  export declare function getGamedayRunV2(props: GetGamedayRunV2Props): Promise<GetGamedayRunV2ResponseContainer>;
24
24
  /**
25
25
  * Fetch a chaos v2 gameday run
26
+ * @deprecated
26
27
  */
27
28
  export declare function useGetGamedayRunV2Query(props: GetGamedayRunV2Props, options?: Omit<UseQueryOptions<GetGamedayRunV2ResponseContainer, GetGamedayRunV2ErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetGamedayRunV2ResponseContainer, ApiRestError>;
@@ -8,6 +8,7 @@ export function getGamedayRunV2(props) {
8
8
  }
9
9
  /**
10
10
  * Fetch a chaos v2 gameday run
11
+ * @deprecated
11
12
  */
12
13
  export function useGetGamedayRunV2Query(props, options) {
13
14
  return useQuery(['getGamedayRunV2', props.gamedayId, props.gamedayRunId, props.queryParams], ({ signal }) => getGamedayRunV2(Object.assign(Object.assign({}, props), { signal })), options);
@@ -22,5 +22,6 @@ export interface GetGamedayV2ResponseContainer {
22
22
  export declare function getGamedayV2(props: GetGamedayV2Props): Promise<GetGamedayV2ResponseContainer>;
23
23
  /**
24
24
  * Get a chaos v2 Gameday
25
+ * @deprecated
25
26
  */
26
27
  export declare function useGetGamedayV2Query(props: GetGamedayV2Props, options?: Omit<UseQueryOptions<GetGamedayV2ResponseContainer, GetGamedayV2ErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetGamedayV2ResponseContainer, ApiRestError>;
@@ -8,6 +8,7 @@ export function getGamedayV2(props) {
8
8
  }
9
9
  /**
10
10
  * Get a chaos v2 Gameday
11
+ * @deprecated
11
12
  */
12
13
  export function useGetGamedayV2Query(props, options) {
13
14
  return useQuery(['GetGamedayV2', props.gamedayId, props.queryParams], ({ signal }) => getGamedayV2(Object.assign(Object.assign({}, props), { signal })), options);
@@ -1,8 +1,9 @@
1
1
  import { UseQueryOptions } from '@tanstack/react-query';
2
2
  import type { HandlersImageRegistryDetails } from '../schemas/HandlersImageRegistryDetails';
3
+ import type { ApiRestError } from '../schemas/ApiRestError';
3
4
  import { FetcherOptions } from '../../../../custom-fetcher/index.js';
4
5
  export type GetImageRegistryOkResponse = HandlersImageRegistryDetails;
5
- export type GetImageRegistryErrorResponse = unknown;
6
+ export type GetImageRegistryErrorResponse = ApiRestError;
6
7
  export interface GetImageRegistryProps extends Omit<FetcherOptions<unknown, unknown>, 'url'> {
7
8
  }
8
9
  export interface GetImageRegistryResponseContainer {
@@ -13,4 +14,4 @@ export declare function getImageRegistry(props: GetImageRegistryProps): Promise<
13
14
  /**
14
15
  * Get image registry
15
16
  */
16
- export declare function useGetImageRegistryQuery(props: GetImageRegistryProps, options?: Omit<UseQueryOptions<GetImageRegistryResponseContainer, GetImageRegistryErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetImageRegistryResponseContainer, unknown>;
17
+ export declare function useGetImageRegistryQuery(props: GetImageRegistryProps, options?: Omit<UseQueryOptions<GetImageRegistryResponseContainer, GetImageRegistryErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetImageRegistryResponseContainer, ApiRestError>;
@@ -1,4 +1,5 @@
1
1
  import { UseQueryOptions } from '@tanstack/react-query';
2
+ import type { ApiRestError } from '../schemas/ApiRestError';
2
3
  import { FetcherOptions } from '../../../../custom-fetcher/index.js';
3
4
  export interface GetServiceUsageReportQueryPathParams {
4
5
  accountID: string;
@@ -9,7 +10,7 @@ export interface GetServiceUsageReportQueryQueryParams {
9
10
  cumulate?: boolean;
10
11
  }
11
12
  export type GetServiceUsageReportOkResponse = Array<string[]>;
12
- export type GetServiceUsageReportErrorResponse = unknown;
13
+ export type GetServiceUsageReportErrorResponse = ApiRestError;
13
14
  export interface GetServiceUsageReportProps extends GetServiceUsageReportQueryPathParams, Omit<FetcherOptions<GetServiceUsageReportQueryQueryParams, unknown>, 'url'> {
14
15
  queryParams: GetServiceUsageReportQueryQueryParams;
15
16
  }
@@ -21,4 +22,4 @@ export declare function getServiceUsageReport(props: GetServiceUsageReportProps)
21
22
  /**
22
23
  * Generates service usage report for account in a given timeframe
23
24
  */
24
- export declare function useGetServiceUsageReportQuery(props: GetServiceUsageReportProps, options?: Omit<UseQueryOptions<GetServiceUsageReportResponseContainer, GetServiceUsageReportErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetServiceUsageReportResponseContainer, unknown>;
25
+ export declare function useGetServiceUsageReportQuery(props: GetServiceUsageReportProps, options?: Omit<UseQueryOptions<GetServiceUsageReportResponseContainer, GetServiceUsageReportErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetServiceUsageReportResponseContainer, ApiRestError>;
@@ -1,8 +1,9 @@
1
1
  import { UseMutationOptions } from '@tanstack/react-query';
2
2
  import type { SecurityGovernanceCondition } from '../schemas/SecurityGovernanceCondition';
3
+ import type { ApiRestError } from '../schemas/ApiRestError';
3
4
  import { FetcherOptions } from '../../../../custom-fetcher/index.js';
4
5
  export type GetSgpTemplateByGenAiOkResponse = SecurityGovernanceCondition;
5
- export type GetSgpTemplateByGenAiErrorResponse = unknown;
6
+ export type GetSgpTemplateByGenAiErrorResponse = ApiRestError;
6
7
  export interface GetSgpTemplateByGenAiProps extends Omit<FetcherOptions<unknown, unknown>, 'url'> {
7
8
  }
8
9
  export interface GetSgpTemplateByGenAiResponseContainer {
@@ -14,4 +15,4 @@ export type GetSgpTemplateByGenAiMutationProps<T extends keyof GetSgpTemplateByG
14
15
  /**
15
16
  * Get security governance conditions template
16
17
  */
17
- export declare function useGetSgpTemplateByGenAiMutation<T extends keyof GetSgpTemplateByGenAiProps>(props: Pick<Partial<GetSgpTemplateByGenAiProps>, T>, options?: Omit<UseMutationOptions<GetSgpTemplateByGenAiResponseContainer, GetSgpTemplateByGenAiErrorResponse, GetSgpTemplateByGenAiMutationProps<T>>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<GetSgpTemplateByGenAiResponseContainer, unknown, GetSgpTemplateByGenAiMutationProps<T>, unknown>;
18
+ export declare function useGetSgpTemplateByGenAiMutation<T extends keyof GetSgpTemplateByGenAiProps>(props: Pick<Partial<GetSgpTemplateByGenAiProps>, T>, options?: Omit<UseMutationOptions<GetSgpTemplateByGenAiResponseContainer, GetSgpTemplateByGenAiErrorResponse, GetSgpTemplateByGenAiMutationProps<T>>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<GetSgpTemplateByGenAiResponseContainer, ApiRestError, GetSgpTemplateByGenAiMutationProps<T>, unknown>;
@@ -4,7 +4,7 @@
4
4
  import { useQuery } from '@tanstack/react-query';
5
5
  import { fetcher } from '../../../../custom-fetcher/index.js';
6
6
  export function healthCheckV3(props) {
7
- return fetcher(Object.assign({ url: `/api/v3/health`, method: 'GET' }, props));
7
+ return fetcher(Object.assign({ url: `/v3/health`, method: 'GET' }, props));
8
8
  }
9
9
  /**
10
10
  * Health check
@@ -22,5 +22,6 @@ export interface ListGamedayRunV2ResponseContainer {
22
22
  export declare function listGamedayRunV2(props: ListGamedayRunV2Props): Promise<ListGamedayRunV2ResponseContainer>;
23
23
  /**
24
24
  * Fetch chaos v2 gameday runs
25
+ * @deprecated
25
26
  */
26
27
  export declare function useListGamedayRunV2Query(props: ListGamedayRunV2Props, options?: Omit<UseQueryOptions<ListGamedayRunV2ResponseContainer, ListGamedayRunV2ErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<ListGamedayRunV2ResponseContainer, ApiRestError>;
@@ -8,6 +8,7 @@ export function listGamedayRunV2(props) {
8
8
  }
9
9
  /**
10
10
  * Fetch chaos v2 gameday runs
11
+ * @deprecated
11
12
  */
12
13
  export function useListGamedayRunV2Query(props, options) {
13
14
  return useQuery(['listGamedayRunV2', props.gamedayId, props.queryParams], ({ signal }) => listGamedayRunV2(Object.assign(Object.assign({}, props), { signal })), options);
@@ -33,5 +33,6 @@ export interface ListGamedayV2ResponseContainer {
33
33
  export declare function listGamedayV2(props: ListGamedayV2Props): Promise<ListGamedayV2ResponseContainer>;
34
34
  /**
35
35
  * Get list of Chaos V2 Gamedays
36
+ * @deprecated
36
37
  */
37
38
  export declare function useListGamedayV2Query(props: ListGamedayV2Props, options?: Omit<UseQueryOptions<ListGamedayV2ResponseContainer, ListGamedayV2ErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<ListGamedayV2ResponseContainer, ApiRestError>;
@@ -8,6 +8,7 @@ export function listGamedayV2(props) {
8
8
  }
9
9
  /**
10
10
  * Get list of Chaos V2 Gamedays
11
+ * @deprecated
11
12
  */
12
13
  export function useListGamedayV2Query(props, options) {
13
14
  return useQuery(['listGamedayV2', props.queryParams], ({ signal }) => listGamedayV2(Object.assign(Object.assign({}, props), { signal })), options);
@@ -0,0 +1,21 @@
1
+ import { UseMutationOptions } from '@tanstack/react-query';
2
+ import type { V3ProcessTemplateResponse } from '../schemas/V3ProcessTemplateResponse';
3
+ import type { ApiRestError } from '../schemas/ApiRestError';
4
+ import type { V3ProcessTemplateRequest } from '../schemas/V3ProcessTemplateRequest';
5
+ import { FetcherOptions } from '../../../../custom-fetcher/index.js';
6
+ export type ProcessTemplateRequestBody = V3ProcessTemplateRequest;
7
+ export type ProcessTemplateOkResponse = V3ProcessTemplateResponse;
8
+ export type ProcessTemplateErrorResponse = ApiRestError;
9
+ export interface ProcessTemplateProps extends Omit<FetcherOptions<unknown, ProcessTemplateRequestBody>, 'url'> {
10
+ body: ProcessTemplateRequestBody;
11
+ }
12
+ export interface ProcessTemplateResponseContainer {
13
+ body: ProcessTemplateOkResponse;
14
+ headers: Headers;
15
+ }
16
+ export declare function processTemplate(props: ProcessTemplateProps): Promise<ProcessTemplateResponseContainer>;
17
+ export type ProcessTemplateMutationProps<T extends keyof ProcessTemplateProps> = Omit<ProcessTemplateProps, T> & Partial<Pick<ProcessTemplateProps, T>>;
18
+ /**
19
+ * Processes a Go template with provided YAML values and returns the rendered result. All query parameters from the URL are also available in the template context and will override values from YAML if there's a conflict.
20
+ */
21
+ export declare function useProcessTemplateMutation<T extends keyof ProcessTemplateProps>(props: Pick<Partial<ProcessTemplateProps>, T>, options?: Omit<UseMutationOptions<ProcessTemplateResponseContainer, ProcessTemplateErrorResponse, ProcessTemplateMutationProps<T>>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<ProcessTemplateResponseContainer, ApiRestError, ProcessTemplateMutationProps<T>, unknown>;
@@ -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 { useMutation } from '@tanstack/react-query';
5
+ import { fetcher } from '../../../../custom-fetcher/index.js';
6
+ export function processTemplate(props) {
7
+ return fetcher(Object.assign({ url: `/v3/tools/process-template`, method: 'POST' }, props));
8
+ }
9
+ /**
10
+ * Processes a Go template with provided YAML values and returns the rendered result. All query parameters from the URL are also available in the template context and will override values from YAML if there's a conflict.
11
+ */
12
+ export function useProcessTemplateMutation(props, options) {
13
+ return useMutation((mutateProps) => processTemplate(Object.assign(Object.assign({}, props), mutateProps)), options);
14
+ }
@@ -0,0 +1,15 @@
1
+ import { UseQueryOptions } from '@tanstack/react-query';
2
+ import { FetcherOptions } from '../../../../custom-fetcher/index.js';
3
+ export type RenderTemplateFormOkResponse = unknown;
4
+ export type RenderTemplateFormErrorResponse = unknown;
5
+ export interface RenderTemplateFormProps extends Omit<FetcherOptions<unknown, unknown>, 'url'> {
6
+ }
7
+ export interface RenderTemplateFormResponseContainer {
8
+ body: RenderTemplateFormOkResponse;
9
+ headers: Headers;
10
+ }
11
+ export declare function renderTemplateForm(props: RenderTemplateFormProps): Promise<RenderTemplateFormResponseContainer>;
12
+ /**
13
+ * Displays an HTML form to input template and values YAML
14
+ */
15
+ export declare function useRenderTemplateFormQuery(props: RenderTemplateFormProps, options?: Omit<UseQueryOptions<RenderTemplateFormResponseContainer, RenderTemplateFormErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<RenderTemplateFormResponseContainer, unknown>;
@@ -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 renderTemplateForm(props) {
7
+ return fetcher(Object.assign({ url: `/v3/tools/template-renderer`, method: 'GET' }, props));
8
+ }
9
+ /**
10
+ * Displays an HTML form to input template and values YAML
11
+ */
12
+ export function useRenderTemplateFormQuery(props, options) {
13
+ return useQuery(['renderTemplateForm'], ({ signal }) => renderTemplateForm(Object.assign(Object.assign({}, props), { signal })), options);
14
+ }
@@ -26,5 +26,6 @@ export declare function updateGamedayRunPrerequisitesV2(props: UpdateGamedayRunP
26
26
  export type UpdateGamedayRunPrerequisitesV2MutationProps<T extends keyof UpdateGamedayRunPrerequisitesV2Props> = Omit<UpdateGamedayRunPrerequisitesV2Props, T> & Partial<Pick<UpdateGamedayRunPrerequisitesV2Props, T>>;
27
27
  /**
28
28
  * Update a chaos v2 gameday run
29
+ * @deprecated
29
30
  */
30
31
  export declare function useUpdateGamedayRunPrerequisitesV2Mutation<T extends keyof UpdateGamedayRunPrerequisitesV2Props>(props: Pick<Partial<UpdateGamedayRunPrerequisitesV2Props>, T>, options?: Omit<UseMutationOptions<UpdateGamedayRunPrerequisitesV2ResponseContainer, UpdateGamedayRunPrerequisitesV2ErrorResponse, UpdateGamedayRunPrerequisitesV2MutationProps<T>>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<UpdateGamedayRunPrerequisitesV2ResponseContainer, ApiRestError, UpdateGamedayRunPrerequisitesV2MutationProps<T>, unknown>;
@@ -8,6 +8,7 @@ export function updateGamedayRunPrerequisitesV2(props) {
8
8
  }
9
9
  /**
10
10
  * Update a chaos v2 gameday run
11
+ * @deprecated
11
12
  */
12
13
  export function useUpdateGamedayRunPrerequisitesV2Mutation(props, options) {
13
14
  return useMutation((mutateProps) => updateGamedayRunPrerequisitesV2(Object.assign(Object.assign({}, props), mutateProps)), options);
@@ -26,5 +26,6 @@ export declare function updateGamedayRunStakeHolderActionsV2(props: UpdateGameda
26
26
  export type UpdateGamedayRunStakeHolderActionsV2MutationProps<T extends keyof UpdateGamedayRunStakeHolderActionsV2Props> = Omit<UpdateGamedayRunStakeHolderActionsV2Props, T> & Partial<Pick<UpdateGamedayRunStakeHolderActionsV2Props, T>>;
27
27
  /**
28
28
  * Update a chaos v2 gameday run
29
+ * @deprecated
29
30
  */
30
31
  export declare function useUpdateGamedayRunStakeHolderActionsV2Mutation<T extends keyof UpdateGamedayRunStakeHolderActionsV2Props>(props: Pick<Partial<UpdateGamedayRunStakeHolderActionsV2Props>, T>, options?: Omit<UseMutationOptions<UpdateGamedayRunStakeHolderActionsV2ResponseContainer, UpdateGamedayRunStakeHolderActionsV2ErrorResponse, UpdateGamedayRunStakeHolderActionsV2MutationProps<T>>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<UpdateGamedayRunStakeHolderActionsV2ResponseContainer, ApiRestError, UpdateGamedayRunStakeHolderActionsV2MutationProps<T>, unknown>;
@@ -8,6 +8,7 @@ export function updateGamedayRunStakeHolderActionsV2(props) {
8
8
  }
9
9
  /**
10
10
  * Update a chaos v2 gameday run
11
+ * @deprecated
11
12
  */
12
13
  export function useUpdateGamedayRunStakeHolderActionsV2Mutation(props, options) {
13
14
  return useMutation((mutateProps) => updateGamedayRunStakeHolderActionsV2(Object.assign(Object.assign({}, props), mutateProps)), options);
@@ -26,5 +26,6 @@ export declare function updateGamedayRunV2(props: UpdateGamedayRunV2Props): Prom
26
26
  export type UpdateGamedayRunV2MutationProps<T extends keyof UpdateGamedayRunV2Props> = Omit<UpdateGamedayRunV2Props, T> & Partial<Pick<UpdateGamedayRunV2Props, T>>;
27
27
  /**
28
28
  * Update a chaos v2 gameday run
29
+ * @deprecated
29
30
  */
30
31
  export declare function useUpdateGamedayRunV2Mutation<T extends keyof UpdateGamedayRunV2Props>(props: Pick<Partial<UpdateGamedayRunV2Props>, T>, options?: Omit<UseMutationOptions<UpdateGamedayRunV2ResponseContainer, UpdateGamedayRunV2ErrorResponse, UpdateGamedayRunV2MutationProps<T>>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<UpdateGamedayRunV2ResponseContainer, ApiRestError, UpdateGamedayRunV2MutationProps<T>, unknown>;
@@ -8,6 +8,7 @@ export function updateGamedayRunV2(props) {
8
8
  }
9
9
  /**
10
10
  * Update a chaos v2 gameday run
11
+ * @deprecated
11
12
  */
12
13
  export function useUpdateGamedayRunV2Mutation(props, options) {
13
14
  return useMutation((mutateProps) => updateGamedayRunV2(Object.assign(Object.assign({}, props), mutateProps)), options);
@@ -22,5 +22,6 @@ export declare function updateGamedayV2(props: UpdateGamedayV2Props): Promise<Up
22
22
  export type UpdateGamedayV2MutationProps<T extends keyof UpdateGamedayV2Props> = Omit<UpdateGamedayV2Props, T> & Partial<Pick<UpdateGamedayV2Props, T>>;
23
23
  /**
24
24
  * Update a chaos v2 gameday
25
+ * @deprecated
25
26
  */
26
27
  export declare function useUpdateGamedayV2Mutation<T extends keyof UpdateGamedayV2Props>(props: Pick<Partial<UpdateGamedayV2Props>, T>, options?: Omit<UseMutationOptions<UpdateGamedayV2ResponseContainer, UpdateGamedayV2ErrorResponse, UpdateGamedayV2MutationProps<T>>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<UpdateGamedayV2ResponseContainer, ApiRestError, UpdateGamedayV2MutationProps<T>, unknown>;
@@ -8,6 +8,7 @@ export function updateGamedayV2(props) {
8
8
  }
9
9
  /**
10
10
  * Update a chaos v2 gameday
11
+ * @deprecated
11
12
  */
12
13
  export function useUpdateGamedayV2Mutation(props, options) {
13
14
  return useMutation((mutateProps) => updateGamedayV2(Object.assign(Object.assign({}, props), mutateProps)), options);
@@ -354,6 +354,8 @@ export type { PipelineOnboardChaosErrorResponse, PipelineOnboardChaosMutationPro
354
354
  export { pipelineOnboardChaos, usePipelineOnboardChaosMutation, } from './hooks/usePipelineOnboardChaosMutation';
355
355
  export type { PipelineOnboardChaosStatusErrorResponse, PipelineOnboardChaosStatusOkResponse, PipelineOnboardChaosStatusProps, PipelineOnboardChaosStatusQueryPathParams, PipelineOnboardChaosStatusQueryQueryParams, } from './hooks/usePipelineOnboardChaosStatusQuery';
356
356
  export { pipelineOnboardChaosStatus, usePipelineOnboardChaosStatusQuery, } from './hooks/usePipelineOnboardChaosStatusQuery';
357
+ export type { ProcessTemplateErrorResponse, ProcessTemplateMutationProps, ProcessTemplateOkResponse, ProcessTemplateProps, ProcessTemplateRequestBody, } from './hooks/useProcessTemplateMutation';
358
+ export { processTemplate, useProcessTemplateMutation } from './hooks/useProcessTemplateMutation';
357
359
  export type { RecommendationEventErrorResponse, RecommendationEventMutationProps, RecommendationEventOkResponse, RecommendationEventProps, RecommendationEventRequestBody, } from './hooks/useRecommendationEventMutation';
358
360
  export { recommendationEvent, useRecommendationEventMutation, } from './hooks/useRecommendationEventMutation';
359
361
  export type { RegisterInfraV2ErrorResponse, RegisterInfraV2MutationProps, RegisterInfraV2MutationQueryParams, RegisterInfraV2OkResponse, RegisterInfraV2Props, RegisterInfraV2RequestBody, } from './hooks/useRegisterInfraV2Mutation';
@@ -362,6 +364,8 @@ export type { RegisterLegacyKubernetesInfraErrorResponse, RegisterLegacyKubernet
362
364
  export { registerLegacyKubernetesInfra, useRegisterLegacyKubernetesInfraMutation, } from './hooks/useRegisterLegacyKubernetesInfraMutation';
363
365
  export type { RegisterMachineInfraErrorResponse, RegisterMachineInfraMutationProps, RegisterMachineInfraMutationQueryParams, RegisterMachineInfraOkResponse, RegisterMachineInfraProps, RegisterMachineInfraRequestBody, } from './hooks/useRegisterMachineInfraMutation';
364
366
  export { registerMachineInfra, useRegisterMachineInfraMutation, } from './hooks/useRegisterMachineInfraMutation';
367
+ export type { RenderTemplateFormErrorResponse, RenderTemplateFormOkResponse, RenderTemplateFormProps, } from './hooks/useRenderTemplateFormQuery';
368
+ export { renderTemplateForm, useRenderTemplateFormQuery } from './hooks/useRenderTemplateFormQuery';
365
369
  export type { RetryExperimentCreationErrorResponse, RetryExperimentCreationMutationPathParams, RetryExperimentCreationMutationProps, RetryExperimentCreationMutationQueryParams, RetryExperimentCreationOkResponse, RetryExperimentCreationProps, RetryExperimentCreationRequestBody, } from './hooks/useRetryExperimentCreationMutation';
366
370
  export { retryExperimentCreation, useRetryExperimentCreationMutation, } from './hooks/useRetryExperimentCreationMutation';
367
371
  export type { RunChaosComponentErrorResponse, RunChaosComponentMutationProps, RunChaosComponentMutationQueryParams, RunChaosComponentOkResponse, RunChaosComponentProps, RunChaosComponentRequestBody, } from './hooks/useRunChaosComponentMutation';
@@ -756,7 +760,6 @@ export type { GithubComHarnessHceSaasGraphqlServerGraphModelPagination } from '.
756
760
  export type { GithubComHarnessHceSaasGraphqlServerGraphModelRegisterInfraRequest } from './schemas/GithubComHarnessHceSaasGraphqlServerGraphModelRegisterInfraRequest';
757
761
  export type { GithubComHarnessHceSaasGraphqlServerGraphModelRegisterInfraResponse } from './schemas/GithubComHarnessHceSaasGraphqlServerGraphModelRegisterInfraResponse';
758
762
  export type { GithubComHarnessHceSaasGraphqlServerGraphModelUserDetails } from './schemas/GithubComHarnessHceSaasGraphqlServerGraphModelUserDetails';
759
- export type { GithubComHarnessHceSaasGraphqlServerModelsSharedMetadata } from './schemas/GithubComHarnessHceSaasGraphqlServerModelsSharedMetadata';
760
763
  export type { GithubComHarnessHceSaasGraphqlServerPkgActionsAction } from './schemas/GithubComHarnessHceSaasGraphqlServerPkgActionsAction';
761
764
  export type { GithubComHarnessHceSaasGraphqlServerPkgChaosV2ExperimentRunTypesUserDetails } from './schemas/GithubComHarnessHceSaasGraphqlServerPkgChaosV2ExperimentRunTypesUserDetails';
762
765
  export type { GithubComHarnessHceSaasGraphqlServerPkgChaosV2ProbesTypesUserDetails } from './schemas/GithubComHarnessHceSaasGraphqlServerPkgChaosV2ProbesTypesUserDetails';
@@ -1072,6 +1075,7 @@ export type { SecurityGovernanceTimeWindow } from './schemas/SecurityGovernanceT
1072
1075
  export type { SecurityGovernanceWorkload } from './schemas/SecurityGovernanceWorkload';
1073
1076
  export type { SharedError } from './schemas/SharedError';
1074
1077
  export type { SharedListMetadataResponse } from './schemas/SharedListMetadataResponse';
1078
+ export type { SharedMetadata } from './schemas/SharedMetadata';
1075
1079
  export type { SharedPaginationResponse } from './schemas/SharedPaginationResponse';
1076
1080
  export type { TargetnetworkmapExperimentCreationMode } from './schemas/TargetnetworkmapExperimentCreationMode';
1077
1081
  export type { TargetnetworkmapExperimentRunDetail } from './schemas/TargetnetworkmapExperimentRunDetail';
@@ -1103,7 +1107,6 @@ export type { TypesApmPrometheusDetail } from './schemas/TypesApmPrometheusDetai
1103
1107
  export type { TypesApmSplunkEnterpriseDetail } from './schemas/TypesApmSplunkEnterpriseDetail';
1104
1108
  export type { TypesApmSplunkObservabilityDetail } from './schemas/TypesApmSplunkObservabilityDetail';
1105
1109
  export type { TypesApplicationDetail } from './schemas/TypesApplicationDetail';
1106
- export type { TypesAuthDetail } from './schemas/TypesAuthDetail';
1107
1110
  export type { TypesBeta1ActionDetail } from './schemas/TypesBeta1ActionDetail';
1108
1111
  export type { TypesBeta1ActionOverview } from './schemas/TypesBeta1ActionOverview';
1109
1112
  export type { TypesBeta1ActionProps } from './schemas/TypesBeta1ActionProps';
@@ -1119,7 +1122,6 @@ export type { TypesBeta1RunProperties } from './schemas/TypesBeta1RunProperties'
1119
1122
  export type { TypesBeta1Statistics } from './schemas/TypesBeta1Statistics';
1120
1123
  export type { TypesBeta1TargetConfig } from './schemas/TypesBeta1TargetConfig';
1121
1124
  export type { TypesCmdProbeDetail } from './schemas/TypesCmdProbeDetail';
1122
- export type { TypesComparatorDetail } from './schemas/TypesComparatorDetail';
1123
1125
  export type { TypesContainerDetail } from './schemas/TypesContainerDetail';
1124
1126
  export type { TypesCreateExperimentFromTemplateRequest } from './schemas/TypesCreateExperimentFromTemplateRequest';
1125
1127
  export type { TypesCreateGamedayRequest } from './schemas/TypesCreateGamedayRequest';
@@ -1205,7 +1207,6 @@ export type { TypesSummary } from './schemas/TypesSummary';
1205
1207
  export type { TypesSyntheticsTestDetail } from './schemas/TypesSyntheticsTestDetail';
1206
1208
  export type { TypesTemplateResourceDetails } from './schemas/TypesTemplateResourceDetails';
1207
1209
  export type { TypesTemplateResources } from './schemas/TypesTemplateResources';
1208
- export type { TypesTlsConfigDetail } from './schemas/TypesTlsConfigDetail';
1209
1210
  export type { TypesUpdateCronExperimentAction } from './schemas/TypesUpdateCronExperimentAction';
1210
1211
  export type { TypesUpdateCronExperimentStateRequest } from './schemas/TypesUpdateCronExperimentStateRequest';
1211
1212
  export type { TypesUpdateCronExperimentStateResponse } from './schemas/TypesUpdateCronExperimentStateResponse';
@@ -1368,3 +1369,5 @@ export type { V2OnboardingV2OnboardingStatus } from './schemas/V2OnboardingV2Onb
1368
1369
  export type { V3GetExperimentOrTemplateVariableData } from './schemas/V3GetExperimentOrTemplateVariableData';
1369
1370
  export type { V3GetExperimentOrTemplateVariableResponse } from './schemas/V3GetExperimentOrTemplateVariableResponse';
1370
1371
  export type { V3ListExperimentOrTemplateResponse } from './schemas/V3ListExperimentOrTemplateResponse';
1372
+ export type { V3ProcessTemplateRequest } from './schemas/V3ProcessTemplateRequest';
1373
+ export type { V3ProcessTemplateResponse } from './schemas/V3ProcessTemplateResponse';
@@ -176,10 +176,12 @@ export { pipelineAddExperimentRecommendation, usePipelineAddExperimentRecommenda
176
176
  export { pipelineCanOnboardChaos, usePipelineCanOnboardChaosQuery, } from './hooks/usePipelineCanOnboardChaosQuery';
177
177
  export { pipelineOnboardChaos, usePipelineOnboardChaosMutation, } from './hooks/usePipelineOnboardChaosMutation';
178
178
  export { pipelineOnboardChaosStatus, usePipelineOnboardChaosStatusQuery, } from './hooks/usePipelineOnboardChaosStatusQuery';
179
+ export { processTemplate, useProcessTemplateMutation } from './hooks/useProcessTemplateMutation';
179
180
  export { recommendationEvent, useRecommendationEventMutation, } from './hooks/useRecommendationEventMutation';
180
181
  export { registerInfraV2, useRegisterInfraV2Mutation } from './hooks/useRegisterInfraV2Mutation';
181
182
  export { registerLegacyKubernetesInfra, useRegisterLegacyKubernetesInfraMutation, } from './hooks/useRegisterLegacyKubernetesInfraMutation';
182
183
  export { registerMachineInfra, useRegisterMachineInfraMutation, } from './hooks/useRegisterMachineInfraMutation';
184
+ export { renderTemplateForm, useRenderTemplateFormQuery } from './hooks/useRenderTemplateFormQuery';
183
185
  export { retryExperimentCreation, useRetryExperimentCreationMutation, } from './hooks/useRetryExperimentCreationMutation';
184
186
  export { runChaosComponent, useRunChaosComponentMutation, } from './hooks/useRunChaosComponentMutation';
185
187
  export { runChaosV2Experiment, useRunChaosV2ExperimentMutation, } from './hooks/useRunChaosV2ExperimentMutation';
@@ -11,6 +11,7 @@ export interface ChaosfaulttemplateActionTemplate {
11
11
  infrastructureType?: ActionsInfrastructureType;
12
12
  inputs?: TemplateInput[];
13
13
  isDefault?: boolean;
14
+ isRemoved?: boolean;
14
15
  name: string;
15
16
  revision?: number;
16
17
  runProperties?: ActionActionTemplateRunProperties;
@@ -11,6 +11,7 @@ export interface ChaosprobetemplateProbeTemplate {
11
11
  infrastructureType?: ProbeInfrastructureType;
12
12
  inputs?: TemplateInput[];
13
13
  isDefault?: boolean;
14
+ isRemoved?: boolean;
14
15
  name: string;
15
16
  probeProperties?: ProbeProbeTemplateProperties;
16
17
  revision?: number;
@@ -1,8 +1,8 @@
1
- import type { ProbeTlsConfigTemplate } from '../schemas/ProbeTlsConfigTemplate';
1
+ import type { ProbeTlsConfigSm } from '../schemas/ProbeTlsConfigSm';
2
2
  export interface GithubComHarnessHceSaasHceSdkTemplateSchemaProbeSplunkEnterpriseProbeInputs {
3
3
  connectorID?: string;
4
4
  durationInMin?: {};
5
5
  fieldToFetch?: string;
6
6
  searchQuery?: string;
7
- tlsConfig?: ProbeTlsConfigTemplate;
7
+ tlsConfig?: ProbeTlsConfigSm;
8
8
  }
@@ -46,6 +46,10 @@ export interface GithubComHarnessHceSaasHceSdkTypesApiMachineInfraInfra {
46
46
  * Timestamp of the last workflow run in the infra
47
47
  */
48
48
  lastWorkflowTimestamp?: string;
49
+ /**
50
+ * Whether load testing is enabled on this infra
51
+ */
52
+ loadEnabled?: boolean;
49
53
  /**
50
54
  * Name of the infra
51
55
  */
@@ -66,7 +70,6 @@ export interface GithubComHarnessHceSaasHceSdkTypesApiMachineInfraInfra {
66
70
  * Status of the infrastructure
67
71
  */
68
72
  status?: InfraInfraStatus;
69
- supportsLoad?: boolean;
70
73
  /**
71
74
  * Tags of the infra
72
75
  */
@@ -4,5 +4,5 @@ export interface ProbeCmdProbeTemplate {
4
4
  command?: string;
5
5
  comparator?: ProbeComparatorTemplate;
6
6
  env?: GithubComHarnessHceSaasHceSdkTemplateSchemaProbeEnv[];
7
- source?: string;
7
+ source?: {};
8
8
  }
@@ -5,5 +5,8 @@ export interface SecurityGovernanceWorkload {
5
5
  kind?: string;
6
6
  label?: string;
7
7
  namespace?: string;
8
+ namespaceLabels?: {
9
+ [key: string]: string;
10
+ };
8
11
  services?: string[];
9
12
  }
@@ -1,7 +1,7 @@
1
- import type { GithubComHarnessHceSaasGraphqlServerModelsSharedMetadata } from '../schemas/GithubComHarnessHceSaasGraphqlServerModelsSharedMetadata';
1
+ import type { SharedMetadata } from '../schemas/SharedMetadata';
2
2
  import type { SharedPaginationResponse } from '../schemas/SharedPaginationResponse';
3
3
  export interface SharedListMetadataResponse {
4
4
  correlationID?: string;
5
- items?: GithubComHarnessHceSaasGraphqlServerModelsSharedMetadata[];
5
+ items?: SharedMetadata[];
6
6
  pagination?: SharedPaginationResponse;
7
7
  }
@@ -1,4 +1,4 @@
1
- export interface GithubComHarnessHceSaasGraphqlServerModelsSharedMetadata {
1
+ export interface SharedMetadata {
2
2
  description?: string;
3
3
  identity?: string;
4
4
  name?: string;
@@ -1,5 +1,5 @@
1
1
  import type { TypesApmAppDynamicsDetail } from '../schemas/TypesApmAppDynamicsDetail';
2
- import type { TypesComparatorDetail } from '../schemas/TypesComparatorDetail';
2
+ import type { GithubComHarnessHceSaasHceSdkCommonProbeV1ComparatorInfo } from '../schemas/GithubComHarnessHceSaasHceSdkCommonProbeV1ComparatorInfo';
3
3
  import type { TypesApmDatadogDetail } from '../schemas/TypesApmDatadogDetail';
4
4
  import type { TypesApmDynatraceDetail } from '../schemas/TypesApmDynatraceDetail';
5
5
  import type { TypesApmGcpCloudMonitoringDetail } from '../schemas/TypesApmGcpCloudMonitoringDetail';
@@ -9,7 +9,7 @@ import type { TypesApmSplunkEnterpriseDetail } from '../schemas/TypesApmSplunkEn
9
9
  import type { TypesApmSplunkObservabilityDetail } from '../schemas/TypesApmSplunkObservabilityDetail';
10
10
  export interface TypesApmProbeDetail {
11
11
  appDynamicsInputs?: TypesApmAppDynamicsDetail;
12
- comparator?: TypesComparatorDetail;
12
+ comparator?: GithubComHarnessHceSaasHceSdkCommonProbeV1ComparatorInfo;
13
13
  datadogInputs?: TypesApmDatadogDetail;
14
14
  dynatraceInputs?: TypesApmDynatraceDetail;
15
15
  gcpCloudMonitoringInputs?: TypesApmGcpCloudMonitoringDetail;
@@ -1,6 +1,6 @@
1
- import type { TypesTlsConfigDetail } from '../schemas/TypesTlsConfigDetail';
1
+ import type { GithubComHarnessHceSaasHceSdkCommonProbeV1TlsConfig } from '../schemas/GithubComHarnessHceSaasHceSdkCommonProbeV1TlsConfig';
2
2
  export interface TypesApmPrometheusDetail {
3
3
  endpoint?: string;
4
4
  query?: string;
5
- tlsConfig?: TypesTlsConfigDetail;
5
+ tlsConfig?: GithubComHarnessHceSaasHceSdkCommonProbeV1TlsConfig;
6
6
  }
@@ -1,8 +1,8 @@
1
- import type { TypesTlsConfigDetail } from '../schemas/TypesTlsConfigDetail';
1
+ import type { GithubComHarnessHceSaasHceSdkCommonProbeV1TlsConfig } from '../schemas/GithubComHarnessHceSaasHceSdkCommonProbeV1TlsConfig';
2
2
  export interface TypesApmSplunkEnterpriseDetail {
3
3
  durationInMin?: number;
4
4
  endpoint?: string;
5
5
  fieldToFetch?: string;
6
6
  searchQuery?: string;
7
- tlsConfig?: TypesTlsConfigDetail;
7
+ tlsConfig?: GithubComHarnessHceSaasHceSdkCommonProbeV1TlsConfig;
8
8
  }
@@ -1,11 +1,11 @@
1
- import type { TypesComparatorDetail } from '../schemas/TypesComparatorDetail';
1
+ import type { GithubComHarnessHceSaasHceSdkCommonProbeV1ComparatorInfo } from '../schemas/GithubComHarnessHceSaasHceSdkCommonProbeV1ComparatorInfo';
2
2
  import type { TypesErrorDetail } from '../schemas/TypesErrorDetail';
3
3
  import type { TypesProbeExecutionData } from '../schemas/TypesProbeExecutionData';
4
4
  import type { TypesBeta1ProbeOverview } from '../schemas/TypesBeta1ProbeOverview';
5
5
  import type { TypesBeta1ProbeProps } from '../schemas/TypesBeta1ProbeProps';
6
6
  import type { TypesBeta1RunProperties } from '../schemas/TypesBeta1RunProperties';
7
7
  export interface TypesBeta1ProbeDetail {
8
- comparatorInfo?: TypesComparatorDetail;
8
+ comparatorInfo?: GithubComHarnessHceSaasHceSdkCommonProbeV1ComparatorInfo;
9
9
  error?: TypesErrorDetail;
10
10
  executionData?: TypesProbeExecutionData;
11
11
  name?: string;
@@ -1,9 +1,9 @@
1
- import type { TypesComparatorDetail } from '../schemas/TypesComparatorDetail';
1
+ import type { GithubComHarnessHceSaasHceSdkCommonProbeV1ComparatorInfo } from '../schemas/GithubComHarnessHceSaasHceSdkCommonProbeV1ComparatorInfo';
2
2
  import type { TypesKeyValuePair } from '../schemas/TypesKeyValuePair';
3
3
  import type { TypesSourceDetail } from '../schemas/TypesSourceDetail';
4
4
  export interface TypesCmdProbeDetail {
5
5
  command?: string;
6
- comparator?: TypesComparatorDetail;
6
+ comparator?: GithubComHarnessHceSaasHceSdkCommonProbeV1ComparatorInfo;
7
7
  env?: TypesKeyValuePair[];
8
8
  source?: TypesSourceDetail;
9
9
  }
@@ -1,4 +1,4 @@
1
- import type { TypesComparatorDetail } from '../schemas/TypesComparatorDetail';
1
+ import type { GithubComHarnessHceSaasHceSdkCommonProbeV1ComparatorInfo } from '../schemas/GithubComHarnessHceSaasHceSdkCommonProbeV1ComparatorInfo';
2
2
  import type { TypesKeyValuePair } from '../schemas/TypesKeyValuePair';
3
3
  export interface TypesContainerDetail {
4
4
  annotations?: {
@@ -6,7 +6,7 @@ export interface TypesContainerDetail {
6
6
  };
7
7
  args?: string;
8
8
  command?: string[];
9
- comparator?: TypesComparatorDetail;
9
+ comparator?: GithubComHarnessHceSaasHceSdkCommonProbeV1ComparatorInfo;
10
10
  env?: TypesKeyValuePair[];
11
11
  image?: string;
12
12
  imagePullPolicy?: string;
@@ -1,6 +1,6 @@
1
- import type { TypesComparatorDetail } from '../schemas/TypesComparatorDetail';
1
+ import type { GithubComHarnessHceSaasHceSdkCommonProbeV1ComparatorInfo } from '../schemas/GithubComHarnessHceSaasHceSdkCommonProbeV1ComparatorInfo';
2
2
  export interface TypesDatadogMetricsDetail {
3
- comparator?: TypesComparatorDetail;
3
+ comparator?: GithubComHarnessHceSaasHceSdkCommonProbeV1ComparatorInfo;
4
4
  query?: string;
5
5
  timeFrame?: string;
6
6
  }
@@ -1,8 +1,8 @@
1
- import type { TypesComparatorDetail } from '../schemas/TypesComparatorDetail';
1
+ import type { GithubComHarnessHceSaasHceSdkCommonProbeV1ComparatorInfo } from '../schemas/GithubComHarnessHceSaasHceSdkCommonProbeV1ComparatorInfo';
2
2
  import type { TypesDynatraceMetricsDetail } from '../schemas/TypesDynatraceMetricsDetail';
3
3
  export interface TypesDynatraceProbeDetail {
4
4
  apiTokenSecretName?: string;
5
- comparator?: TypesComparatorDetail;
5
+ comparator?: GithubComHarnessHceSaasHceSdkCommonProbeV1ComparatorInfo;
6
6
  endpoint?: string;
7
7
  metrics?: TypesDynatraceMetricsDetail;
8
8
  timeFrame?: string;
@@ -1,7 +1,7 @@
1
- import type { TypesAuthDetail } from '../schemas/TypesAuthDetail';
2
- import type { TypesTlsConfigDetail } from '../schemas/TypesTlsConfigDetail';
1
+ import type { V1Authorization } from '../schemas/V1Authorization';
2
+ import type { GithubComHarnessHceSaasHceSdkCommonProbeV1TlsConfig } from '../schemas/GithubComHarnessHceSaasHceSdkCommonProbeV1TlsConfig';
3
3
  export interface TypesHttpProbeDetail {
4
- auth?: TypesAuthDetail;
4
+ auth?: V1Authorization;
5
5
  body?: string;
6
6
  bodyPath?: string;
7
7
  contentType?: string;
@@ -13,6 +13,6 @@ export interface TypesHttpProbeDetail {
13
13
  insecureSkipVerify?: boolean;
14
14
  method?: string;
15
15
  responseBody?: string;
16
- tlsConfig?: TypesTlsConfigDetail;
16
+ tlsConfig?: GithubComHarnessHceSaasHceSdkCommonProbeV1TlsConfig;
17
17
  url?: string;
18
18
  }
@@ -1,6 +1,6 @@
1
- import type { TypesComparatorDetail } from '../schemas/TypesComparatorDetail';
1
+ import type { GithubComHarnessHceSaasHceSdkCommonProbeV1ComparatorInfo } from '../schemas/GithubComHarnessHceSaasHceSdkCommonProbeV1ComparatorInfo';
2
2
  export interface TypesNewrelicMetricsDetail {
3
- comparator?: TypesComparatorDetail;
3
+ comparator?: GithubComHarnessHceSaasHceSdkCommonProbeV1ComparatorInfo;
4
4
  metricsEvaluationMode?: string;
5
5
  query?: string;
6
6
  queryMetrics?: string;
@@ -1,11 +1,11 @@
1
- import type { TypesAuthDetail } from '../schemas/TypesAuthDetail';
2
- import type { TypesComparatorDetail } from '../schemas/TypesComparatorDetail';
3
- import type { TypesTlsConfigDetail } from '../schemas/TypesTlsConfigDetail';
1
+ import type { V1Authorization } from '../schemas/V1Authorization';
2
+ import type { GithubComHarnessHceSaasHceSdkCommonProbeV1ComparatorInfo } from '../schemas/GithubComHarnessHceSaasHceSdkCommonProbeV1ComparatorInfo';
3
+ import type { GithubComHarnessHceSaasHceSdkCommonProbeV1TlsConfig } from '../schemas/GithubComHarnessHceSaasHceSdkCommonProbeV1TlsConfig';
4
4
  export interface TypesPromProbeDetail {
5
- auth?: TypesAuthDetail;
6
- comparator?: TypesComparatorDetail;
5
+ auth?: V1Authorization;
6
+ comparator?: GithubComHarnessHceSaasHceSdkCommonProbeV1ComparatorInfo;
7
7
  endpoint?: string;
8
8
  query?: string;
9
9
  queryPath?: string;
10
- tlsConfig?: TypesTlsConfigDetail;
10
+ tlsConfig?: GithubComHarnessHceSaasHceSdkCommonProbeV1TlsConfig;
11
11
  }
@@ -1,8 +1,8 @@
1
- import type { TypesComparatorDetail } from '../schemas/TypesComparatorDetail';
1
+ import type { GithubComHarnessHceSaasHceSdkCommonProbeV1ComparatorInfo } from '../schemas/GithubComHarnessHceSaasHceSdkCommonProbeV1ComparatorInfo';
2
2
  import type { TypesEvalWindowDetail } from '../schemas/TypesEvalWindowDetail';
3
3
  import type { TypesSloSourceDetail } from '../schemas/TypesSloSourceDetail';
4
4
  export interface TypesSloProbeDetail {
5
- comparator?: TypesComparatorDetail;
5
+ comparator?: GithubComHarnessHceSaasHceSdkCommonProbeV1ComparatorInfo;
6
6
  evaluationTimeout?: string;
7
7
  evaluationWindow?: TypesEvalWindowDetail;
8
8
  insecureSkipVerify?: boolean;
@@ -0,0 +1,14 @@
1
+ export interface V3ProcessTemplateRequest {
2
+ /**
3
+ * 512 KB max
4
+ */
5
+ expressionValues?: string;
6
+ /**
7
+ * 512 KB max
8
+ */
9
+ runtimeValues?: string;
10
+ /**
11
+ * 512 KB max
12
+ */
13
+ template: string;
14
+ }
@@ -0,0 +1,3 @@
1
+ export interface V3ProcessTemplateResponse {
2
+ result?: string;
3
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@harnessio/react-chaos-manager-client",
3
- "version": "1.56.0",
3
+ "version": "1.56.2",
4
4
  "description": "Harness React Chaos Manager Service Client - APIs integrated with react hooks",
5
5
  "author": "Harness Inc",
6
6
  "license": "MIT",
@@ -1,4 +0,0 @@
1
- export interface TypesAuthDetail {
2
- credentials?: string;
3
- type?: string;
4
- }
@@ -1,5 +0,0 @@
1
- export interface TypesComparatorDetail {
2
- criteria?: string;
3
- type?: string;
4
- value?: string;
5
- }
@@ -1,7 +0,0 @@
1
- export interface TypesTlsConfigDetail {
2
- caFile?: string;
3
- certFile?: string;
4
- insecureSkipVerify?: boolean;
5
- keyFile?: string;
6
- serverName?: string;
7
- }
@@ -1,4 +0,0 @@
1
- /* eslint-disable */
2
- // This code is autogenerated using @harnessio/oats-cli.
3
- // Please do not modify this code directly.
4
- export {};