@harnessio/react-chaos-manager-client 1.91.7-beta.0 → 1.91.7-beta.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.
- package/dist/chaos-manager/src/services/hooks/useDeleteExperimentTemplateMutation.d.ts +2 -1
- package/dist/chaos-manager/src/services/hooks/useDeleteExperimentTemplateMutation.js +1 -1
- package/dist/chaos-manager/src/services/hooks/useGetProbeTemplateQuery.d.ts +1 -0
- package/dist/chaos-manager/src/services/hooks/useImportExperimentTemplateV3Mutation.d.ts +35 -0
- package/dist/chaos-manager/src/services/hooks/useImportExperimentTemplateV3Mutation.js +14 -0
- package/dist/chaos-manager/src/services/hooks/useImportProbeTemplateV3Mutation.d.ts +34 -0
- package/dist/chaos-manager/src/services/hooks/{useImportProbeTemplateMutation.js → useImportProbeTemplateV3Mutation.js} +4 -4
- package/dist/chaos-manager/src/services/hooks/useListActionsQuery.d.ts +2 -0
- package/dist/chaos-manager/src/services/hooks/useListChaosHubQuery.d.ts +1 -0
- package/dist/chaos-manager/src/services/hooks/useListChaosServicesQuery.d.ts +1 -0
- package/dist/chaos-manager/src/services/hooks/useListProbeTemplateRevisionsQuery.d.ts +35 -0
- package/dist/chaos-manager/src/services/hooks/useListProbeTemplateRevisionsQuery.js +14 -0
- package/dist/chaos-manager/src/services/hooks/useListRiskRulesQuery.d.ts +1 -0
- package/dist/chaos-manager/src/services/hooks/useListRiskScanRisksQuery.d.ts +1 -1
- package/dist/chaos-manager/src/services/hooks/useListRiskScansQuery.d.ts +1 -0
- package/dist/chaos-manager/src/services/hooks/useListScannedRisksQuery.d.ts +1 -0
- package/dist/chaos-manager/src/services/hooks/useListVariablesInProbeTemplateQuery.d.ts +7 -1
- package/dist/chaos-manager/src/services/hooks/useMoveExperimentTemplateConfigV3Mutation.d.ts +40 -0
- package/dist/chaos-manager/src/services/hooks/useMoveExperimentTemplateConfigV3Mutation.js +14 -0
- package/dist/chaos-manager/src/services/hooks/useMoveProbeTemplateConfigV3Mutation.d.ts +40 -0
- package/dist/chaos-manager/src/services/hooks/useMoveProbeTemplateConfigV3Mutation.js +14 -0
- package/dist/chaos-manager/src/services/hooks/useRefreshExperimentTemplateV3Mutation.d.ts +32 -0
- package/dist/chaos-manager/src/services/hooks/useRefreshExperimentTemplateV3Mutation.js +14 -0
- package/dist/chaos-manager/src/services/hooks/useRefreshProbeTemplateV3Mutation.d.ts +32 -0
- package/dist/chaos-manager/src/services/hooks/useRefreshProbeTemplateV3Mutation.js +14 -0
- package/dist/chaos-manager/src/services/hooks/useSaveProbeTemplateRevisionV3Mutation.d.ts +39 -0
- package/dist/chaos-manager/src/services/hooks/useSaveProbeTemplateRevisionV3Mutation.js +14 -0
- package/dist/chaos-manager/src/services/hooks/useSetDefaultProbeTemplateRevisionV3Mutation.d.ts +31 -0
- package/dist/chaos-manager/src/services/hooks/useSetDefaultProbeTemplateRevisionV3Mutation.js +14 -0
- package/dist/chaos-manager/src/services/hooks/useSetDefaultProbeTemplateVersionV3Mutation.d.ts +31 -0
- package/dist/chaos-manager/src/services/hooks/useSetDefaultProbeTemplateVersionV3Mutation.js +14 -0
- package/dist/chaos-manager/src/services/hooks/useStopAllChaosExperimentsV3Mutation.d.ts +26 -0
- package/dist/chaos-manager/src/services/hooks/useStopAllChaosExperimentsV3Mutation.js +14 -0
- package/dist/chaos-manager/src/services/hooks/useSummarizeScannedRisksByServiceMutation.d.ts +1 -1
- package/dist/chaos-manager/src/services/hooks/useSummarizeScannedRisksByServiceMutation.js +1 -1
- package/dist/chaos-manager/src/services/hooks/useUpdateExperimentTemplateGitMetadataV3Mutation.d.ts +36 -0
- package/dist/chaos-manager/src/services/hooks/useUpdateExperimentTemplateGitMetadataV3Mutation.js +14 -0
- package/dist/chaos-manager/src/services/hooks/useUpdateProbeTemplateGitMetadataV3Mutation.d.ts +36 -0
- package/dist/chaos-manager/src/services/hooks/useUpdateProbeTemplateGitMetadataV3Mutation.js +14 -0
- package/dist/chaos-manager/src/services/hooks/useUpdateScannedRiskStatusMutation.d.ts +32 -0
- package/dist/chaos-manager/src/services/hooks/useUpdateScannedRiskStatusMutation.js +14 -0
- package/dist/chaos-manager/src/services/index.d.ts +35 -10
- package/dist/chaos-manager/src/services/index.js +14 -5
- package/dist/chaos-manager/src/services/schemas/ChaosExecutionNodesExecutionOutput.d.ts +6 -0
- package/dist/chaos-manager/src/services/schemas/ChaosexperimenttemplateChaosExperimentTemplate.d.ts +14 -0
- package/dist/chaos-manager/src/services/schemas/ChaosexperimenttemplateCreateExperimentTemplateResponse.d.ts +27 -0
- package/dist/chaos-manager/src/services/schemas/ChaosexperimenttemplateGetExperimentTemplateResponse.d.ts +27 -0
- package/dist/chaos-manager/src/services/schemas/ChaosexperimenttemplateUpdateExperimentTemplateResponse.d.ts +27 -0
- package/dist/chaos-manager/src/services/schemas/Chaoshubv2CreateHubRequest.d.ts +3 -1
- package/dist/chaos-manager/src/services/schemas/ChaosprobetemplateImportProbeTemplateRequest.d.ts +12 -1
- package/dist/chaos-manager/src/services/schemas/ChaosprobetemplateProbeTemplate.d.ts +7 -0
- package/dist/chaos-manager/src/services/schemas/ExperimentrunsStopAllExperimentFailure.d.ts +5 -0
- package/dist/chaos-manager/src/services/schemas/ExperimentrunsStopAllExperimentFailure.js +4 -0
- package/dist/chaos-manager/src/services/schemas/ExperimentrunsStopAllExperimentsResponse.d.ts +11 -0
- package/dist/chaos-manager/src/services/schemas/ExperimentrunsStopAllExperimentsResponse.js +1 -0
- package/dist/chaos-manager/src/services/schemas/ExperimentrunsStoppedExperimentRun.d.ts +5 -0
- package/dist/chaos-manager/src/services/schemas/ExperimentrunsStoppedExperimentRun.js +4 -0
- package/dist/chaos-manager/src/services/schemas/GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbChaosprobetemplateChaosProbeTemplate.d.ts +9 -0
- package/dist/chaos-manager/src/services/schemas/RiskRiskRuleSpec.d.ts +7 -0
- package/dist/chaos-manager/src/services/schemas/ScannedrisksRiskStatus.d.ts +1 -1
- package/dist/chaos-manager/src/services/schemas/ScannedrisksRiskStatusDetails.d.ts +11 -0
- package/dist/chaos-manager/src/services/schemas/ScannedrisksRiskStatusDetails.js +1 -0
- package/dist/chaos-manager/src/services/schemas/ScannedrisksScannedRiskSpec.d.ts +6 -0
- package/dist/chaos-manager/src/services/schemas/ScannedrisksServiceRiskSummaryQuery.d.ts +4 -0
- package/dist/chaos-manager/src/services/schemas/ScannedrisksUpdateStatusRequest.d.ts +9 -0
- package/dist/chaos-manager/src/services/schemas/ScannedrisksUpdateStatusRequest.js +1 -0
- package/dist/chaos-manager/src/services/schemas/V3ImportRequest.d.ts +12 -0
- package/dist/chaos-manager/src/services/schemas/V3ImportRequest.js +4 -0
- package/dist/chaos-manager/src/services/schemas/V3SaveRevisionRequest.d.ts +39 -0
- package/dist/chaos-manager/src/services/schemas/V3SaveRevisionRequest.js +1 -0
- package/package.json +1 -1
- package/dist/chaos-manager/src/services/hooks/useImportProbeTemplateMutation.d.ts +0 -32
- package/dist/chaos-manager/src/services/hooks/useMoveProbeTemplateConfigMutation.d.ts +0 -35
- package/dist/chaos-manager/src/services/hooks/useMoveProbeTemplateConfigMutation.js +0 -14
- package/dist/chaos-manager/src/services/hooks/useRefreshProbeTemplateMutation.d.ts +0 -29
- package/dist/chaos-manager/src/services/hooks/useRefreshProbeTemplateMutation.js +0 -14
- package/dist/chaos-manager/src/services/hooks/useUpdateProbeTemplateGitMetadataMutation.d.ts +0 -34
- package/dist/chaos-manager/src/services/hooks/useUpdateProbeTemplateGitMetadataMutation.js +0 -14
- package/dist/chaos-manager/src/services/hooks/useUpdateProbeTemplateRevisionMutation.d.ts +0 -36
- package/dist/chaos-manager/src/services/hooks/useUpdateProbeTemplateRevisionMutation.js +0 -14
package/dist/chaos-manager/src/services/hooks/useSetDefaultProbeTemplateVersionV3Mutation.d.ts
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { ChaosprobetemplateGetProbeTemplateResponse } from '../schemas/ChaosprobetemplateGetProbeTemplateResponse';
|
|
3
|
+
import type { SharedError } from '../schemas/SharedError';
|
|
4
|
+
import { FetcherOptions } from '../../../../custom-fetcher/index.js';
|
|
5
|
+
export interface SetDefaultProbeTemplateVersionV3MutationPathParams {
|
|
6
|
+
identity: string;
|
|
7
|
+
versionLabel: string;
|
|
8
|
+
}
|
|
9
|
+
export interface SetDefaultProbeTemplateVersionV3MutationQueryParams {
|
|
10
|
+
accountIdentifier: string;
|
|
11
|
+
correlationID?: string;
|
|
12
|
+
hubIdentity?: string;
|
|
13
|
+
organizationIdentifier?: string;
|
|
14
|
+
parentUniqueId?: string;
|
|
15
|
+
projectIdentifier?: string;
|
|
16
|
+
}
|
|
17
|
+
export type SetDefaultProbeTemplateVersionV3OkResponse = ChaosprobetemplateGetProbeTemplateResponse;
|
|
18
|
+
export type SetDefaultProbeTemplateVersionV3ErrorResponse = SharedError;
|
|
19
|
+
export interface SetDefaultProbeTemplateVersionV3Props extends SetDefaultProbeTemplateVersionV3MutationPathParams, Omit<FetcherOptions<SetDefaultProbeTemplateVersionV3MutationQueryParams, unknown>, 'url'> {
|
|
20
|
+
queryParams: SetDefaultProbeTemplateVersionV3MutationQueryParams;
|
|
21
|
+
}
|
|
22
|
+
export interface SetDefaultProbeTemplateVersionV3ResponseContainer {
|
|
23
|
+
body: SetDefaultProbeTemplateVersionV3OkResponse;
|
|
24
|
+
headers: Headers;
|
|
25
|
+
}
|
|
26
|
+
export declare function setDefaultProbeTemplateVersionV3(props: SetDefaultProbeTemplateVersionV3Props): Promise<SetDefaultProbeTemplateVersionV3ResponseContainer>;
|
|
27
|
+
export type SetDefaultProbeTemplateVersionV3MutationProps<T extends keyof SetDefaultProbeTemplateVersionV3Props> = Omit<SetDefaultProbeTemplateVersionV3Props, T> & Partial<Pick<SetDefaultProbeTemplateVersionV3Props, T>>;
|
|
28
|
+
/**
|
|
29
|
+
* Marks a probe template version as the default
|
|
30
|
+
*/
|
|
31
|
+
export declare function useSetDefaultProbeTemplateVersionV3Mutation<T extends keyof SetDefaultProbeTemplateVersionV3Props>(props: Pick<Partial<SetDefaultProbeTemplateVersionV3Props>, T>, options?: Omit<UseMutationOptions<SetDefaultProbeTemplateVersionV3ResponseContainer, SetDefaultProbeTemplateVersionV3ErrorResponse, SetDefaultProbeTemplateVersionV3MutationProps<T>>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<SetDefaultProbeTemplateVersionV3ResponseContainer, SharedError, SetDefaultProbeTemplateVersionV3MutationProps<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 setDefaultProbeTemplateVersionV3(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/v3/probe-templates/${props.identity}/versions/${props.versionLabel}/default`, method: 'PUT' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Marks a probe template version as the default
|
|
11
|
+
*/
|
|
12
|
+
export function useSetDefaultProbeTemplateVersionV3Mutation(props, options) {
|
|
13
|
+
return useMutation((mutateProps) => setDefaultProbeTemplateVersionV3(Object.assign(Object.assign({}, props), mutateProps)), options);
|
|
14
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { ExperimentrunsStopAllExperimentsResponse } from '../schemas/ExperimentrunsStopAllExperimentsResponse';
|
|
3
|
+
import type { SharedError } from '../schemas/SharedError';
|
|
4
|
+
import { FetcherOptions } from '../../../../custom-fetcher/index.js';
|
|
5
|
+
export interface StopAllChaosExperimentsV3MutationQueryParams {
|
|
6
|
+
accountIdentifier: string;
|
|
7
|
+
correlationID?: string;
|
|
8
|
+
organizationIdentifier?: string;
|
|
9
|
+
parentUniqueId?: string;
|
|
10
|
+
projectIdentifier?: string;
|
|
11
|
+
}
|
|
12
|
+
export type StopAllChaosExperimentsV3OkResponse = ExperimentrunsStopAllExperimentsResponse;
|
|
13
|
+
export type StopAllChaosExperimentsV3ErrorResponse = SharedError;
|
|
14
|
+
export interface StopAllChaosExperimentsV3Props extends Omit<FetcherOptions<StopAllChaosExperimentsV3MutationQueryParams, unknown>, 'url'> {
|
|
15
|
+
queryParams: StopAllChaosExperimentsV3MutationQueryParams;
|
|
16
|
+
}
|
|
17
|
+
export interface StopAllChaosExperimentsV3ResponseContainer {
|
|
18
|
+
body: StopAllChaosExperimentsV3OkResponse;
|
|
19
|
+
headers: Headers;
|
|
20
|
+
}
|
|
21
|
+
export declare function stopAllChaosExperimentsV3(props: StopAllChaosExperimentsV3Props): Promise<StopAllChaosExperimentsV3ResponseContainer>;
|
|
22
|
+
export type StopAllChaosExperimentsV3MutationProps<T extends keyof StopAllChaosExperimentsV3Props> = Omit<StopAllChaosExperimentsV3Props, T> & Partial<Pick<StopAllChaosExperimentsV3Props, T>>;
|
|
23
|
+
/**
|
|
24
|
+
* Stops every experiment run in the Running or Queued phase for the requested account, organization, and project. A run that fails to stop is reported in the response and does not prevent the remaining runs from being stopped.
|
|
25
|
+
*/
|
|
26
|
+
export declare function useStopAllChaosExperimentsV3Mutation<T extends keyof StopAllChaosExperimentsV3Props>(props: Pick<Partial<StopAllChaosExperimentsV3Props>, T>, options?: Omit<UseMutationOptions<StopAllChaosExperimentsV3ResponseContainer, StopAllChaosExperimentsV3ErrorResponse, StopAllChaosExperimentsV3MutationProps<T>>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<StopAllChaosExperimentsV3ResponseContainer, SharedError, StopAllChaosExperimentsV3MutationProps<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 stopAllChaosExperimentsV3(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/v3/experiment-runs/stop-all`, method: 'POST' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Stops every experiment run in the Running or Queued phase for the requested account, organization, and project. A run that fails to stop is reported in the response and does not prevent the remaining runs from being stopped.
|
|
11
|
+
*/
|
|
12
|
+
export function useStopAllChaosExperimentsV3Mutation(props, options) {
|
|
13
|
+
return useMutation((mutateProps) => stopAllChaosExperimentsV3(Object.assign(Object.assign({}, props), mutateProps)), options);
|
|
14
|
+
}
|
package/dist/chaos-manager/src/services/hooks/useSummarizeScannedRisksByServiceMutation.d.ts
CHANGED
|
@@ -24,6 +24,6 @@ export interface SummarizeScannedRisksByServiceResponseContainer {
|
|
|
24
24
|
export declare function summarizeScannedRisksByService(props: SummarizeScannedRisksByServiceProps): Promise<SummarizeScannedRisksByServiceResponseContainer>;
|
|
25
25
|
export type SummarizeScannedRisksByServiceMutationProps<T extends keyof SummarizeScannedRisksByServiceProps> = Omit<SummarizeScannedRisksByServiceProps, T> & Partial<Pick<SummarizeScannedRisksByServiceProps, T>>;
|
|
26
26
|
/**
|
|
27
|
-
* Returns aggregated risk counts (total, critical, high, medium, low) per target service.
|
|
27
|
+
* Returns aggregated risk counts (total, critical, high, medium, low) per target service. The search field filters services by a case-insensitive substring of the service name.
|
|
28
28
|
*/
|
|
29
29
|
export declare function useSummarizeScannedRisksByServiceMutation<T extends keyof SummarizeScannedRisksByServiceProps>(props: Pick<Partial<SummarizeScannedRisksByServiceProps>, T>, options?: Omit<UseMutationOptions<SummarizeScannedRisksByServiceResponseContainer, SummarizeScannedRisksByServiceErrorResponse, SummarizeScannedRisksByServiceMutationProps<T>>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<SummarizeScannedRisksByServiceResponseContainer, SharedError, SummarizeScannedRisksByServiceMutationProps<T>, unknown>;
|
|
@@ -7,7 +7,7 @@ export function summarizeScannedRisksByService(props) {
|
|
|
7
7
|
return fetcher(Object.assign({ url: `/v3/scanned-risks/summary`, method: 'POST' }, props));
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
-
* Returns aggregated risk counts (total, critical, high, medium, low) per target service.
|
|
10
|
+
* Returns aggregated risk counts (total, critical, high, medium, low) per target service. The search field filters services by a case-insensitive substring of the service name.
|
|
11
11
|
*/
|
|
12
12
|
export function useSummarizeScannedRisksByServiceMutation(props, options) {
|
|
13
13
|
return useMutation((mutateProps) => summarizeScannedRisksByService(Object.assign(Object.assign({}, props), mutateProps)), options);
|
package/dist/chaos-manager/src/services/hooks/useUpdateExperimentTemplateGitMetadataV3Mutation.d.ts
ADDED
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { ChaosexperimenttemplateGetExperimentTemplateResponse } from '../schemas/ChaosexperimenttemplateGetExperimentTemplateResponse';
|
|
3
|
+
import type { SharedError } from '../schemas/SharedError';
|
|
4
|
+
import { FetcherOptions } from '../../../../custom-fetcher/index.js';
|
|
5
|
+
export interface UpdateExperimentTemplateGitMetadataV3MutationPathParams {
|
|
6
|
+
identity: string;
|
|
7
|
+
revision: string;
|
|
8
|
+
}
|
|
9
|
+
export interface UpdateExperimentTemplateGitMetadataV3MutationQueryParams {
|
|
10
|
+
accountIdentifier: string;
|
|
11
|
+
correlationID?: string;
|
|
12
|
+
hubIdentity?: string;
|
|
13
|
+
organizationIdentifier?: string;
|
|
14
|
+
parentUniqueId?: string;
|
|
15
|
+
projectIdentifier?: string;
|
|
16
|
+
connectorRef?: string;
|
|
17
|
+
repoName?: string;
|
|
18
|
+
isHarnessCodeRepo?: boolean;
|
|
19
|
+
filePath?: string;
|
|
20
|
+
branch?: string;
|
|
21
|
+
}
|
|
22
|
+
export type UpdateExperimentTemplateGitMetadataV3OkResponse = ChaosexperimenttemplateGetExperimentTemplateResponse;
|
|
23
|
+
export type UpdateExperimentTemplateGitMetadataV3ErrorResponse = SharedError;
|
|
24
|
+
export interface UpdateExperimentTemplateGitMetadataV3Props extends UpdateExperimentTemplateGitMetadataV3MutationPathParams, Omit<FetcherOptions<UpdateExperimentTemplateGitMetadataV3MutationQueryParams, unknown>, 'url'> {
|
|
25
|
+
queryParams: UpdateExperimentTemplateGitMetadataV3MutationQueryParams;
|
|
26
|
+
}
|
|
27
|
+
export interface UpdateExperimentTemplateGitMetadataV3ResponseContainer {
|
|
28
|
+
body: UpdateExperimentTemplateGitMetadataV3OkResponse;
|
|
29
|
+
headers: Headers;
|
|
30
|
+
}
|
|
31
|
+
export declare function updateExperimentTemplateGitMetadataV3(props: UpdateExperimentTemplateGitMetadataV3Props): Promise<UpdateExperimentTemplateGitMetadataV3ResponseContainer>;
|
|
32
|
+
export type UpdateExperimentTemplateGitMetadataV3MutationProps<T extends keyof UpdateExperimentTemplateGitMetadataV3Props> = Omit<UpdateExperimentTemplateGitMetadataV3Props, T> & Partial<Pick<UpdateExperimentTemplateGitMetadataV3Props, T>>;
|
|
33
|
+
/**
|
|
34
|
+
* The file at the new location must already exist and describe this revision.
|
|
35
|
+
*/
|
|
36
|
+
export declare function useUpdateExperimentTemplateGitMetadataV3Mutation<T extends keyof UpdateExperimentTemplateGitMetadataV3Props>(props: Pick<Partial<UpdateExperimentTemplateGitMetadataV3Props>, T>, options?: Omit<UseMutationOptions<UpdateExperimentTemplateGitMetadataV3ResponseContainer, UpdateExperimentTemplateGitMetadataV3ErrorResponse, UpdateExperimentTemplateGitMetadataV3MutationProps<T>>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<UpdateExperimentTemplateGitMetadataV3ResponseContainer, SharedError, UpdateExperimentTemplateGitMetadataV3MutationProps<T>, unknown>;
|
package/dist/chaos-manager/src/services/hooks/useUpdateExperimentTemplateGitMetadataV3Mutation.js
ADDED
|
@@ -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 updateExperimentTemplateGitMetadataV3(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/v3/experiment-templates/${props.identity}/revisions/${props.revision}/git-metadata`, method: 'PUT' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* The file at the new location must already exist and describe this revision.
|
|
11
|
+
*/
|
|
12
|
+
export function useUpdateExperimentTemplateGitMetadataV3Mutation(props, options) {
|
|
13
|
+
return useMutation((mutateProps) => updateExperimentTemplateGitMetadataV3(Object.assign(Object.assign({}, props), mutateProps)), options);
|
|
14
|
+
}
|
package/dist/chaos-manager/src/services/hooks/useUpdateProbeTemplateGitMetadataV3Mutation.d.ts
ADDED
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { ChaosprobetemplateGetProbeTemplateResponse } from '../schemas/ChaosprobetemplateGetProbeTemplateResponse';
|
|
3
|
+
import type { SharedError } from '../schemas/SharedError';
|
|
4
|
+
import { FetcherOptions } from '../../../../custom-fetcher/index.js';
|
|
5
|
+
export interface UpdateProbeTemplateGitMetadataV3MutationPathParams {
|
|
6
|
+
identity: string;
|
|
7
|
+
revision: number;
|
|
8
|
+
}
|
|
9
|
+
export interface UpdateProbeTemplateGitMetadataV3MutationQueryParams {
|
|
10
|
+
accountIdentifier: string;
|
|
11
|
+
correlationID?: string;
|
|
12
|
+
hubIdentity?: string;
|
|
13
|
+
organizationIdentifier?: string;
|
|
14
|
+
parentUniqueId?: string;
|
|
15
|
+
projectIdentifier?: string;
|
|
16
|
+
connectorRef?: string;
|
|
17
|
+
repoName?: string;
|
|
18
|
+
isHarnessCodeRepo?: boolean;
|
|
19
|
+
filePath?: string;
|
|
20
|
+
branch?: string;
|
|
21
|
+
}
|
|
22
|
+
export type UpdateProbeTemplateGitMetadataV3OkResponse = ChaosprobetemplateGetProbeTemplateResponse;
|
|
23
|
+
export type UpdateProbeTemplateGitMetadataV3ErrorResponse = SharedError;
|
|
24
|
+
export interface UpdateProbeTemplateGitMetadataV3Props extends UpdateProbeTemplateGitMetadataV3MutationPathParams, Omit<FetcherOptions<UpdateProbeTemplateGitMetadataV3MutationQueryParams, unknown>, 'url'> {
|
|
25
|
+
queryParams: UpdateProbeTemplateGitMetadataV3MutationQueryParams;
|
|
26
|
+
}
|
|
27
|
+
export interface UpdateProbeTemplateGitMetadataV3ResponseContainer {
|
|
28
|
+
body: UpdateProbeTemplateGitMetadataV3OkResponse;
|
|
29
|
+
headers: Headers;
|
|
30
|
+
}
|
|
31
|
+
export declare function updateProbeTemplateGitMetadataV3(props: UpdateProbeTemplateGitMetadataV3Props): Promise<UpdateProbeTemplateGitMetadataV3ResponseContainer>;
|
|
32
|
+
export type UpdateProbeTemplateGitMetadataV3MutationProps<T extends keyof UpdateProbeTemplateGitMetadataV3Props> = Omit<UpdateProbeTemplateGitMetadataV3Props, T> & Partial<Pick<UpdateProbeTemplateGitMetadataV3Props, T>>;
|
|
33
|
+
/**
|
|
34
|
+
* The file at the new location must already exist and describe this revision.
|
|
35
|
+
*/
|
|
36
|
+
export declare function useUpdateProbeTemplateGitMetadataV3Mutation<T extends keyof UpdateProbeTemplateGitMetadataV3Props>(props: Pick<Partial<UpdateProbeTemplateGitMetadataV3Props>, T>, options?: Omit<UseMutationOptions<UpdateProbeTemplateGitMetadataV3ResponseContainer, UpdateProbeTemplateGitMetadataV3ErrorResponse, UpdateProbeTemplateGitMetadataV3MutationProps<T>>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<UpdateProbeTemplateGitMetadataV3ResponseContainer, SharedError, UpdateProbeTemplateGitMetadataV3MutationProps<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 updateProbeTemplateGitMetadataV3(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/v3/probe-templates/${props.identity}/revisions/${props.revision}/git-metadata`, method: 'PUT' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* The file at the new location must already exist and describe this revision.
|
|
11
|
+
*/
|
|
12
|
+
export function useUpdateProbeTemplateGitMetadataV3Mutation(props, options) {
|
|
13
|
+
return useMutation((mutateProps) => updateProbeTemplateGitMetadataV3(Object.assign(Object.assign({}, props), mutateProps)), options);
|
|
14
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { ScannedrisksGetResponse } from '../schemas/ScannedrisksGetResponse';
|
|
3
|
+
import type { SharedError } from '../schemas/SharedError';
|
|
4
|
+
import type { ScannedrisksUpdateStatusRequest } from '../schemas/ScannedrisksUpdateStatusRequest';
|
|
5
|
+
import { FetcherOptions } from '../../../../custom-fetcher/index.js';
|
|
6
|
+
export interface UpdateScannedRiskStatusMutationPathParams {
|
|
7
|
+
identity: string;
|
|
8
|
+
}
|
|
9
|
+
export interface UpdateScannedRiskStatusMutationQueryParams {
|
|
10
|
+
accountIdentifier: string;
|
|
11
|
+
correlationID?: string;
|
|
12
|
+
organizationIdentifier?: string;
|
|
13
|
+
parentUniqueId?: string;
|
|
14
|
+
projectIdentifier?: string;
|
|
15
|
+
}
|
|
16
|
+
export type UpdateScannedRiskStatusRequestBody = ScannedrisksUpdateStatusRequest;
|
|
17
|
+
export type UpdateScannedRiskStatusOkResponse = ScannedrisksGetResponse;
|
|
18
|
+
export type UpdateScannedRiskStatusErrorResponse = SharedError;
|
|
19
|
+
export interface UpdateScannedRiskStatusProps extends UpdateScannedRiskStatusMutationPathParams, Omit<FetcherOptions<UpdateScannedRiskStatusMutationQueryParams, UpdateScannedRiskStatusRequestBody>, 'url'> {
|
|
20
|
+
queryParams: UpdateScannedRiskStatusMutationQueryParams;
|
|
21
|
+
body: UpdateScannedRiskStatusRequestBody;
|
|
22
|
+
}
|
|
23
|
+
export interface UpdateScannedRiskStatusResponseContainer {
|
|
24
|
+
body: UpdateScannedRiskStatusOkResponse;
|
|
25
|
+
headers: Headers;
|
|
26
|
+
}
|
|
27
|
+
export declare function updateScannedRiskStatus(props: UpdateScannedRiskStatusProps): Promise<UpdateScannedRiskStatusResponseContainer>;
|
|
28
|
+
export type UpdateScannedRiskStatusMutationProps<T extends keyof UpdateScannedRiskStatusProps> = Omit<UpdateScannedRiskStatusProps, T> & Partial<Pick<UpdateScannedRiskStatusProps, T>>;
|
|
29
|
+
/**
|
|
30
|
+
* sets a scanned risk to Open, Ignored, or Resolved. Resolved requires mitigated=true. Ignored risks stay Ignored when detected again; Resolved risks reopen. Invalid is set only when the risk rule changes and cannot be set or cleared here.
|
|
31
|
+
*/
|
|
32
|
+
export declare function useUpdateScannedRiskStatusMutation<T extends keyof UpdateScannedRiskStatusProps>(props: Pick<Partial<UpdateScannedRiskStatusProps>, T>, options?: Omit<UseMutationOptions<UpdateScannedRiskStatusResponseContainer, UpdateScannedRiskStatusErrorResponse, UpdateScannedRiskStatusMutationProps<T>>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<UpdateScannedRiskStatusResponseContainer, SharedError, UpdateScannedRiskStatusMutationProps<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 updateScannedRiskStatus(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/v3/scanned-risks/${props.identity}/status`, method: 'PUT' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* sets a scanned risk to Open, Ignored, or Resolved. Resolved requires mitigated=true. Ignored risks stay Ignored when detected again; Resolved risks reopen. Invalid is set only when the risk rule changes and cannot be set or cleared here.
|
|
11
|
+
*/
|
|
12
|
+
export function useUpdateScannedRiskStatusMutation(props, options) {
|
|
13
|
+
return useMutation((mutateProps) => updateScannedRiskStatus(Object.assign(Object.assign({}, props), mutateProps)), options);
|
|
14
|
+
}
|
|
@@ -310,10 +310,12 @@ export type { HealthCheckV3ErrorResponse, HealthCheckV3OkResponse, HealthCheckV3
|
|
|
310
310
|
export { healthCheckV3, useHealthCheckV3Query } from './hooks/useHealthCheckV3Query';
|
|
311
311
|
export type { ImportActionErrorResponse, ImportActionMutationProps, ImportActionMutationQueryParams, ImportActionOkResponse, ImportActionProps, ImportActionRequestBody, } from './hooks/useImportActionMutation';
|
|
312
312
|
export { importAction, useImportActionMutation } from './hooks/useImportActionMutation';
|
|
313
|
+
export type { ImportExperimentTemplateV3ErrorResponse, ImportExperimentTemplateV3MutationProps, ImportExperimentTemplateV3MutationQueryParams, ImportExperimentTemplateV3OkResponse, ImportExperimentTemplateV3Props, ImportExperimentTemplateV3RequestBody, } from './hooks/useImportExperimentTemplateV3Mutation';
|
|
314
|
+
export { importExperimentTemplateV3, useImportExperimentTemplateV3Mutation, } from './hooks/useImportExperimentTemplateV3Mutation';
|
|
313
315
|
export type { ImportProbeErrorResponse, ImportProbeMutationProps, ImportProbeMutationQueryParams, ImportProbeOkResponse, ImportProbeProps, ImportProbeRequestBody, } from './hooks/useImportProbeMutation';
|
|
314
316
|
export { importProbe, useImportProbeMutation } from './hooks/useImportProbeMutation';
|
|
315
|
-
export type {
|
|
316
|
-
export {
|
|
317
|
+
export type { ImportProbeTemplateV3ErrorResponse, ImportProbeTemplateV3MutationProps, ImportProbeTemplateV3MutationQueryParams, ImportProbeTemplateV3OkResponse, ImportProbeTemplateV3Props, ImportProbeTemplateV3RequestBody, } from './hooks/useImportProbeTemplateV3Mutation';
|
|
318
|
+
export { importProbeTemplateV3, useImportProbeTemplateV3Mutation, } from './hooks/useImportProbeTemplateV3Mutation';
|
|
317
319
|
export type { InternalAbortRiskScanErrorResponse, InternalAbortRiskScanMutationProps, InternalAbortRiskScanMutationQueryParams, InternalAbortRiskScanOkResponse, InternalAbortRiskScanProps, InternalAbortRiskScanRequestBody, } from './hooks/useInternalAbortRiskScanMutation';
|
|
318
320
|
export { internalAbortRiskScan, useInternalAbortRiskScanMutation, } from './hooks/useInternalAbortRiskScanMutation';
|
|
319
321
|
export type { ListActionMetadataErrorResponse, ListActionMetadataOkResponse, ListActionMetadataProps, ListActionMetadataQueryQueryParams, ListActionMetadataRequestBody, } from './hooks/useListActionMetadataQuery';
|
|
@@ -428,6 +430,8 @@ export type { ListProbeTemplateErrorResponse, ListProbeTemplateOkResponse, ListP
|
|
|
428
430
|
export { listProbeTemplate, useListProbeTemplateQuery } from './hooks/useListProbeTemplateQuery';
|
|
429
431
|
export type { ListProbeTemplateReferencedByErrorResponse, ListProbeTemplateReferencedByOkResponse, ListProbeTemplateReferencedByProps, ListProbeTemplateReferencedByQueryPathParams, ListProbeTemplateReferencedByQueryQueryParams, } from './hooks/useListProbeTemplateReferencedByQuery';
|
|
430
432
|
export { listProbeTemplateReferencedBy, useListProbeTemplateReferencedByQuery, } from './hooks/useListProbeTemplateReferencedByQuery';
|
|
433
|
+
export type { ListProbeTemplateRevisionsErrorResponse, ListProbeTemplateRevisionsOkResponse, ListProbeTemplateRevisionsProps, ListProbeTemplateRevisionsQueryPathParams, ListProbeTemplateRevisionsQueryQueryParams, } from './hooks/useListProbeTemplateRevisionsQuery';
|
|
434
|
+
export { listProbeTemplateRevisions, useListProbeTemplateRevisionsQuery, } from './hooks/useListProbeTemplateRevisionsQuery';
|
|
431
435
|
export type { ListProbesErrorResponse, ListProbesOkResponse, ListProbesProps, ListProbesQueryQueryParams, } from './hooks/useListProbesQuery';
|
|
432
436
|
export { listProbes, useListProbesQuery } from './hooks/useListProbesQuery';
|
|
433
437
|
export type { ListRecommendationsErrorResponse, ListRecommendationsOkResponse, ListRecommendationsProps, ListRecommendationsQueryQueryParams, ListRecommendationsRequestBody, } from './hooks/useListRecommendationsQuery';
|
|
@@ -462,8 +466,10 @@ export type { ListVariablesInActionTemplateErrorResponse, ListVariablesInActionT
|
|
|
462
466
|
export { listVariablesInActionTemplate, useListVariablesInActionTemplateQuery, } from './hooks/useListVariablesInActionTemplateQuery';
|
|
463
467
|
export type { ListVariablesInProbeTemplateErrorResponse, ListVariablesInProbeTemplateOkResponse, ListVariablesInProbeTemplateProps, ListVariablesInProbeTemplateQueryPathParams, ListVariablesInProbeTemplateQueryQueryParams, } from './hooks/useListVariablesInProbeTemplateQuery';
|
|
464
468
|
export { listVariablesInProbeTemplate, useListVariablesInProbeTemplateQuery, } from './hooks/useListVariablesInProbeTemplateQuery';
|
|
465
|
-
export type {
|
|
466
|
-
export {
|
|
469
|
+
export type { MoveExperimentTemplateConfigV3ErrorResponse, MoveExperimentTemplateConfigV3MutationPathParams, MoveExperimentTemplateConfigV3MutationProps, MoveExperimentTemplateConfigV3MutationQueryParams, MoveExperimentTemplateConfigV3OkResponse, MoveExperimentTemplateConfigV3Props, } from './hooks/useMoveExperimentTemplateConfigV3Mutation';
|
|
470
|
+
export { moveExperimentTemplateConfigV3, useMoveExperimentTemplateConfigV3Mutation, } from './hooks/useMoveExperimentTemplateConfigV3Mutation';
|
|
471
|
+
export type { MoveProbeTemplateConfigV3ErrorResponse, MoveProbeTemplateConfigV3MutationPathParams, MoveProbeTemplateConfigV3MutationProps, MoveProbeTemplateConfigV3MutationQueryParams, MoveProbeTemplateConfigV3OkResponse, MoveProbeTemplateConfigV3Props, } from './hooks/useMoveProbeTemplateConfigV3Mutation';
|
|
472
|
+
export { moveProbeTemplateConfigV3, useMoveProbeTemplateConfigV3Mutation, } from './hooks/useMoveProbeTemplateConfigV3Mutation';
|
|
467
473
|
export type { OnboardServicesErrorResponse, OnboardServicesMutationPathParams, OnboardServicesMutationProps, OnboardServicesMutationQueryParams, OnboardServicesOkResponse, OnboardServicesProps, OnboardServicesRequestBody, } from './hooks/useOnboardServicesMutation';
|
|
468
474
|
export { onboardServices, useOnboardServicesMutation } from './hooks/useOnboardServicesMutation';
|
|
469
475
|
export type { OnboardingConfirmDiscoveryErrorResponse, OnboardingConfirmDiscoveryMutationPathParams, OnboardingConfirmDiscoveryMutationProps, OnboardingConfirmDiscoveryMutationQueryParams, OnboardingConfirmDiscoveryOkResponse, OnboardingConfirmDiscoveryProps, } from './hooks/useOnboardingConfirmDiscoveryMutation';
|
|
@@ -490,8 +496,10 @@ export type { ProcessTemplateErrorResponse, ProcessTemplateMutationProps, Proces
|
|
|
490
496
|
export { processTemplate, useProcessTemplateMutation } from './hooks/useProcessTemplateMutation';
|
|
491
497
|
export type { RecommendationEventErrorResponse, RecommendationEventMutationProps, RecommendationEventOkResponse, RecommendationEventProps, RecommendationEventRequestBody, } from './hooks/useRecommendationEventMutation';
|
|
492
498
|
export { recommendationEvent, useRecommendationEventMutation, } from './hooks/useRecommendationEventMutation';
|
|
493
|
-
export type {
|
|
494
|
-
export {
|
|
499
|
+
export type { RefreshExperimentTemplateV3ErrorResponse, RefreshExperimentTemplateV3MutationPathParams, RefreshExperimentTemplateV3MutationProps, RefreshExperimentTemplateV3MutationQueryParams, RefreshExperimentTemplateV3OkResponse, RefreshExperimentTemplateV3Props, } from './hooks/useRefreshExperimentTemplateV3Mutation';
|
|
500
|
+
export { refreshExperimentTemplateV3, useRefreshExperimentTemplateV3Mutation, } from './hooks/useRefreshExperimentTemplateV3Mutation';
|
|
501
|
+
export type { RefreshProbeTemplateV3ErrorResponse, RefreshProbeTemplateV3MutationPathParams, RefreshProbeTemplateV3MutationProps, RefreshProbeTemplateV3MutationQueryParams, RefreshProbeTemplateV3OkResponse, RefreshProbeTemplateV3Props, } from './hooks/useRefreshProbeTemplateV3Mutation';
|
|
502
|
+
export { refreshProbeTemplateV3, useRefreshProbeTemplateV3Mutation, } from './hooks/useRefreshProbeTemplateV3Mutation';
|
|
495
503
|
export type { RegisterInfraV2ErrorResponse, RegisterInfraV2MutationProps, RegisterInfraV2MutationQueryParams, RegisterInfraV2OkResponse, RegisterInfraV2Props, RegisterInfraV2RequestBody, } from './hooks/useRegisterInfraV2Mutation';
|
|
496
504
|
export { registerInfraV2, useRegisterInfraV2Mutation } from './hooks/useRegisterInfraV2Mutation';
|
|
497
505
|
export type { RegisterLegacyKubernetesInfraErrorResponse, RegisterLegacyKubernetesInfraMutationProps, RegisterLegacyKubernetesInfraMutationQueryParams, RegisterLegacyKubernetesInfraOkResponse, RegisterLegacyKubernetesInfraProps, RegisterLegacyKubernetesInfraRequestBody, } from './hooks/useRegisterLegacyKubernetesInfraMutation';
|
|
@@ -520,8 +528,16 @@ export type { RunRecommendationErrorResponse, RunRecommendationMutationProps, Ru
|
|
|
520
528
|
export { runRecommendation, useRunRecommendationMutation, } from './hooks/useRunRecommendationMutation';
|
|
521
529
|
export type { SaveChaosV2ExperimentErrorResponse, SaveChaosV2ExperimentMutationProps, SaveChaosV2ExperimentMutationQueryParams, SaveChaosV2ExperimentOkResponse, SaveChaosV2ExperimentProps, SaveChaosV2ExperimentRequestBody, } from './hooks/useSaveChaosV2ExperimentMutation';
|
|
522
530
|
export { saveChaosV2Experiment, useSaveChaosV2ExperimentMutation, } from './hooks/useSaveChaosV2ExperimentMutation';
|
|
531
|
+
export type { SaveProbeTemplateRevisionV3ErrorResponse, SaveProbeTemplateRevisionV3MutationPathParams, SaveProbeTemplateRevisionV3MutationProps, SaveProbeTemplateRevisionV3MutationQueryParams, SaveProbeTemplateRevisionV3OkResponse, SaveProbeTemplateRevisionV3Props, SaveProbeTemplateRevisionV3RequestBody, } from './hooks/useSaveProbeTemplateRevisionV3Mutation';
|
|
532
|
+
export { saveProbeTemplateRevisionV3, useSaveProbeTemplateRevisionV3Mutation, } from './hooks/useSaveProbeTemplateRevisionV3Mutation';
|
|
533
|
+
export type { SetDefaultProbeTemplateRevisionV3ErrorResponse, SetDefaultProbeTemplateRevisionV3MutationPathParams, SetDefaultProbeTemplateRevisionV3MutationProps, SetDefaultProbeTemplateRevisionV3MutationQueryParams, SetDefaultProbeTemplateRevisionV3OkResponse, SetDefaultProbeTemplateRevisionV3Props, } from './hooks/useSetDefaultProbeTemplateRevisionV3Mutation';
|
|
534
|
+
export { setDefaultProbeTemplateRevisionV3, useSetDefaultProbeTemplateRevisionV3Mutation, } from './hooks/useSetDefaultProbeTemplateRevisionV3Mutation';
|
|
535
|
+
export type { SetDefaultProbeTemplateVersionV3ErrorResponse, SetDefaultProbeTemplateVersionV3MutationPathParams, SetDefaultProbeTemplateVersionV3MutationProps, SetDefaultProbeTemplateVersionV3MutationQueryParams, SetDefaultProbeTemplateVersionV3OkResponse, SetDefaultProbeTemplateVersionV3Props, } from './hooks/useSetDefaultProbeTemplateVersionV3Mutation';
|
|
536
|
+
export { setDefaultProbeTemplateVersionV3, useSetDefaultProbeTemplateVersionV3Mutation, } from './hooks/useSetDefaultProbeTemplateVersionV3Mutation';
|
|
523
537
|
export type { SkipOnboardingErrorResponse, SkipOnboardingMutationPathParams, SkipOnboardingMutationProps, SkipOnboardingMutationQueryParams, SkipOnboardingOkResponse, SkipOnboardingProps, } from './hooks/useSkipOnboardingMutation';
|
|
524
538
|
export { skipOnboarding, useSkipOnboardingMutation } from './hooks/useSkipOnboardingMutation';
|
|
539
|
+
export type { StopAllChaosExperimentsV3ErrorResponse, StopAllChaosExperimentsV3MutationProps, StopAllChaosExperimentsV3MutationQueryParams, StopAllChaosExperimentsV3OkResponse, StopAllChaosExperimentsV3Props, } from './hooks/useStopAllChaosExperimentsV3Mutation';
|
|
540
|
+
export { stopAllChaosExperimentsV3, useStopAllChaosExperimentsV3Mutation, } from './hooks/useStopAllChaosExperimentsV3Mutation';
|
|
525
541
|
export type { StopChaosExperimentV3ErrorResponse, StopChaosExperimentV3MutationPathParams, StopChaosExperimentV3MutationProps, StopChaosExperimentV3MutationQueryParams, StopChaosExperimentV3OkResponse, StopChaosExperimentV3Props, StopChaosExperimentV3RequestBody, } from './hooks/useStopChaosExperimentV3Mutation';
|
|
526
542
|
export { stopChaosExperimentV3, useStopChaosExperimentV3Mutation, } from './hooks/useStopChaosExperimentV3Mutation';
|
|
527
543
|
export type { StopChaosV2ExperimentErrorResponse, StopChaosV2ExperimentMutationPathParams, StopChaosV2ExperimentMutationProps, StopChaosV2ExperimentMutationQueryParams, StopChaosV2ExperimentOkResponse, StopChaosV2ExperimentProps, } from './hooks/useStopChaosV2ExperimentMutation';
|
|
@@ -562,6 +578,8 @@ export type { UpdateDashboardV3ErrorResponse, UpdateDashboardV3MutationPathParam
|
|
|
562
578
|
export { updateDashboardV3, useUpdateDashboardV3Mutation, } from './hooks/useUpdateDashboardV3Mutation';
|
|
563
579
|
export type { UpdateEmissaryErrorResponse, UpdateEmissaryMutationPathParams, UpdateEmissaryMutationProps, UpdateEmissaryMutationQueryParams, UpdateEmissaryOkResponse, UpdateEmissaryProps, UpdateEmissaryRequestBody, } from './hooks/useUpdateEmissaryMutation';
|
|
564
580
|
export { updateEmissary, useUpdateEmissaryMutation } from './hooks/useUpdateEmissaryMutation';
|
|
581
|
+
export type { UpdateExperimentTemplateGitMetadataV3ErrorResponse, UpdateExperimentTemplateGitMetadataV3MutationPathParams, UpdateExperimentTemplateGitMetadataV3MutationProps, UpdateExperimentTemplateGitMetadataV3MutationQueryParams, UpdateExperimentTemplateGitMetadataV3OkResponse, UpdateExperimentTemplateGitMetadataV3Props, } from './hooks/useUpdateExperimentTemplateGitMetadataV3Mutation';
|
|
582
|
+
export { updateExperimentTemplateGitMetadataV3, useUpdateExperimentTemplateGitMetadataV3Mutation, } from './hooks/useUpdateExperimentTemplateGitMetadataV3Mutation';
|
|
565
583
|
export type { UpdateExperimentTemplateErrorResponse, UpdateExperimentTemplateMutationPathParams, UpdateExperimentTemplateMutationProps, UpdateExperimentTemplateMutationQueryParams, UpdateExperimentTemplateOkResponse, UpdateExperimentTemplateProps, UpdateExperimentTemplateRequestBody, } from './hooks/useUpdateExperimentTemplateMutation';
|
|
566
584
|
export { updateExperimentTemplate, useUpdateExperimentTemplateMutation, } from './hooks/useUpdateExperimentTemplateMutation';
|
|
567
585
|
export type { UpdateExperimentV3ErrorResponse, UpdateExperimentV3MutationPathParams, UpdateExperimentV3MutationProps, UpdateExperimentV3MutationQueryParams, UpdateExperimentV3OkResponse, UpdateExperimentV3Props, UpdateExperimentV3RequestBody, } from './hooks/useUpdateExperimentV3Mutation';
|
|
@@ -586,12 +604,10 @@ export type { UpdateNoteErrorResponse, UpdateNoteMutationProps, UpdateNoteMutati
|
|
|
586
604
|
export { updateNote, useUpdateNoteMutation } from './hooks/useUpdateNoteMutation';
|
|
587
605
|
export type { UpdateProbeErrorResponse, UpdateProbeMutationPathParams, UpdateProbeMutationProps, UpdateProbeMutationQueryParams, UpdateProbeOkResponse, UpdateProbeProps, UpdateProbeRequestBody, } from './hooks/useUpdateProbeMutation';
|
|
588
606
|
export { updateProbe, useUpdateProbeMutation } from './hooks/useUpdateProbeMutation';
|
|
589
|
-
export type {
|
|
590
|
-
export {
|
|
607
|
+
export type { UpdateProbeTemplateGitMetadataV3ErrorResponse, UpdateProbeTemplateGitMetadataV3MutationPathParams, UpdateProbeTemplateGitMetadataV3MutationProps, UpdateProbeTemplateGitMetadataV3MutationQueryParams, UpdateProbeTemplateGitMetadataV3OkResponse, UpdateProbeTemplateGitMetadataV3Props, } from './hooks/useUpdateProbeTemplateGitMetadataV3Mutation';
|
|
608
|
+
export { updateProbeTemplateGitMetadataV3, useUpdateProbeTemplateGitMetadataV3Mutation, } from './hooks/useUpdateProbeTemplateGitMetadataV3Mutation';
|
|
591
609
|
export type { UpdateProbeTemplateErrorResponse, UpdateProbeTemplateMutationPathParams, UpdateProbeTemplateMutationProps, UpdateProbeTemplateMutationQueryParams, UpdateProbeTemplateOkResponse, UpdateProbeTemplateProps, UpdateProbeTemplateRequestBody, } from './hooks/useUpdateProbeTemplateMutation';
|
|
592
610
|
export { updateProbeTemplate, useUpdateProbeTemplateMutation, } from './hooks/useUpdateProbeTemplateMutation';
|
|
593
|
-
export type { UpdateProbeTemplateRevisionErrorResponse, UpdateProbeTemplateRevisionMutationPathParams, UpdateProbeTemplateRevisionMutationProps, UpdateProbeTemplateRevisionMutationQueryParams, UpdateProbeTemplateRevisionOkResponse, UpdateProbeTemplateRevisionProps, UpdateProbeTemplateRevisionRequestBody, } from './hooks/useUpdateProbeTemplateRevisionMutation';
|
|
594
|
-
export { updateProbeTemplateRevision, useUpdateProbeTemplateRevisionMutation, } from './hooks/useUpdateProbeTemplateRevisionMutation';
|
|
595
611
|
export type { UpdateRecommendationStatusErrorResponse, UpdateRecommendationStatusMutationProps, UpdateRecommendationStatusMutationQueryParams, UpdateRecommendationStatusOkResponse, UpdateRecommendationStatusProps, } from './hooks/useUpdateRecommendationStatusMutation';
|
|
596
612
|
export { updateRecommendationStatus, useUpdateRecommendationStatusMutation, } from './hooks/useUpdateRecommendationStatusMutation';
|
|
597
613
|
export type { UpdateRiskErrorResponse, UpdateRiskMutationPathParams, UpdateRiskMutationProps, UpdateRiskMutationQueryParams, UpdateRiskOkResponse, UpdateRiskProps, UpdateRiskRequestBody, } from './hooks/useUpdateRiskMutation';
|
|
@@ -602,6 +618,8 @@ export type { UpdateRiskScanErrorResponse, UpdateRiskScanMutationPathParams, Upd
|
|
|
602
618
|
export { updateRiskScan, useUpdateRiskScanMutation } from './hooks/useUpdateRiskScanMutation';
|
|
603
619
|
export type { UpdateRuleErrorResponse, UpdateRuleMutationPathParams, UpdateRuleMutationProps, UpdateRuleMutationQueryParams, UpdateRuleOkResponse, UpdateRuleProps, UpdateRuleRequestBody, } from './hooks/useUpdateRuleMutation';
|
|
604
620
|
export { updateRule, useUpdateRuleMutation } from './hooks/useUpdateRuleMutation';
|
|
621
|
+
export type { UpdateScannedRiskStatusErrorResponse, UpdateScannedRiskStatusMutationPathParams, UpdateScannedRiskStatusMutationProps, UpdateScannedRiskStatusMutationQueryParams, UpdateScannedRiskStatusOkResponse, UpdateScannedRiskStatusProps, UpdateScannedRiskStatusRequestBody, } from './hooks/useUpdateScannedRiskStatusMutation';
|
|
622
|
+
export { updateScannedRiskStatus, useUpdateScannedRiskStatusMutation, } from './hooks/useUpdateScannedRiskStatusMutation';
|
|
605
623
|
export type { UpgradeLegacyKubernetesChaosInfraErrorResponse, UpgradeLegacyKubernetesChaosInfraMutationPathParams, UpgradeLegacyKubernetesChaosInfraMutationProps, UpgradeLegacyKubernetesChaosInfraMutationQueryParams, UpgradeLegacyKubernetesChaosInfraOkResponse, UpgradeLegacyKubernetesChaosInfraProps, } from './hooks/useUpgradeLegacyKubernetesChaosInfraMutation';
|
|
606
624
|
export { upgradeLegacyKubernetesChaosInfra, useUpgradeLegacyKubernetesChaosInfraMutation, } from './hooks/useUpgradeLegacyKubernetesChaosInfraMutation';
|
|
607
625
|
export type { VerifyChaosStageInPipelineRunErrorResponse, VerifyChaosStageInPipelineRunOkResponse, VerifyChaosStageInPipelineRunProps, VerifyChaosStageInPipelineRunQueryQueryParams, } from './hooks/useVerifyChaosStageInPipelineRunQuery';
|
|
@@ -948,8 +966,11 @@ export type { ExperimentrunsListExperimentRunItem } from './schemas/Experimentru
|
|
|
948
966
|
export type { ExperimentrunsListExperimentRunsResponse } from './schemas/ExperimentrunsListExperimentRunsResponse';
|
|
949
967
|
export type { ExperimentrunsRunBody } from './schemas/ExperimentrunsRunBody';
|
|
950
968
|
export type { ExperimentrunsRunExperimentResponse } from './schemas/ExperimentrunsRunExperimentResponse';
|
|
969
|
+
export type { ExperimentrunsStopAllExperimentFailure } from './schemas/ExperimentrunsStopAllExperimentFailure';
|
|
970
|
+
export type { ExperimentrunsStopAllExperimentsResponse } from './schemas/ExperimentrunsStopAllExperimentsResponse';
|
|
951
971
|
export type { ExperimentrunsStopExperimentBody } from './schemas/ExperimentrunsStopExperimentBody';
|
|
952
972
|
export type { ExperimentrunsStopExperimentResponse } from './schemas/ExperimentrunsStopExperimentResponse';
|
|
973
|
+
export type { ExperimentrunsStoppedExperimentRun } from './schemas/ExperimentrunsStoppedExperimentRun';
|
|
953
974
|
export type { ExperimentsAuditInfo } from './schemas/ExperimentsAuditInfo';
|
|
954
975
|
export type { ExperimentsCreateRequest } from './schemas/ExperimentsCreateRequest';
|
|
955
976
|
export type { ExperimentsCreateResponse } from './schemas/ExperimentsCreateResponse';
|
|
@@ -1431,11 +1452,13 @@ export type { ScannedrisksOccurrenceDetail } from './schemas/ScannedrisksOccurre
|
|
|
1431
1452
|
export type { ScannedrisksOccurrencesResponse } from './schemas/ScannedrisksOccurrencesResponse';
|
|
1432
1453
|
export type { ScannedrisksRiskStat } from './schemas/ScannedrisksRiskStat';
|
|
1433
1454
|
export type { ScannedrisksRiskStatus } from './schemas/ScannedrisksRiskStatus';
|
|
1455
|
+
export type { ScannedrisksRiskStatusDetails } from './schemas/ScannedrisksRiskStatusDetails';
|
|
1434
1456
|
export type { ScannedrisksScannedRisk } from './schemas/ScannedrisksScannedRisk';
|
|
1435
1457
|
export type { ScannedrisksScannedRiskSpec } from './schemas/ScannedrisksScannedRiskSpec';
|
|
1436
1458
|
export type { ScannedrisksServiceRiskSummary } from './schemas/ScannedrisksServiceRiskSummary';
|
|
1437
1459
|
export type { ScannedrisksServiceRiskSummaryQuery } from './schemas/ScannedrisksServiceRiskSummaryQuery';
|
|
1438
1460
|
export type { ScannedrisksServiceRiskSummaryResponse } from './schemas/ScannedrisksServiceRiskSummaryResponse';
|
|
1461
|
+
export type { ScannedrisksUpdateStatusRequest } from './schemas/ScannedrisksUpdateStatusRequest';
|
|
1439
1462
|
export type { ScannedrisksValidationType } from './schemas/ScannedrisksValidationType';
|
|
1440
1463
|
export type { ScmCacheInfo } from './schemas/ScmCacheInfo';
|
|
1441
1464
|
export type { ScmCacheState } from './schemas/ScmCacheState';
|
|
@@ -1751,10 +1774,12 @@ export type { V3AbortRiskScanRequest } from './schemas/V3AbortRiskScanRequest';
|
|
|
1751
1774
|
export type { V3DeleteResponse } from './schemas/V3DeleteResponse';
|
|
1752
1775
|
export type { V3GetExperimentOrTemplateVariableData } from './schemas/V3GetExperimentOrTemplateVariableData';
|
|
1753
1776
|
export type { V3GetExperimentOrTemplateVariableResponse } from './schemas/V3GetExperimentOrTemplateVariableResponse';
|
|
1777
|
+
export type { V3ImportRequest } from './schemas/V3ImportRequest';
|
|
1754
1778
|
export type { V3ListExperimentData } from './schemas/V3ListExperimentData';
|
|
1755
1779
|
export type { V3ListExperimentOrTemplateResponse } from './schemas/V3ListExperimentOrTemplateResponse';
|
|
1756
1780
|
export type { V3ProcessTemplateRequest } from './schemas/V3ProcessTemplateRequest';
|
|
1757
1781
|
export type { V3ProcessTemplateResponse } from './schemas/V3ProcessTemplateResponse';
|
|
1782
|
+
export type { V3SaveRevisionRequest } from './schemas/V3SaveRevisionRequest';
|
|
1758
1783
|
export type { V3TriggerRiskScanRequest } from './schemas/V3TriggerRiskScanRequest';
|
|
1759
1784
|
export type { V3TriggerRiskScanResponse } from './schemas/V3TriggerRiskScanResponse';
|
|
1760
1785
|
export type { V3TriggerRiskScanResponseData } from './schemas/V3TriggerRiskScanResponseData';
|
|
@@ -154,8 +154,9 @@ export { getV2InfrastructureYaml, useGetV2InfrastructureYamlMutation, } from './
|
|
|
154
154
|
export { getV2Onboarding, useGetV2OnboardingQuery } from './hooks/useGetV2OnboardingQuery';
|
|
155
155
|
export { healthCheckV3, useHealthCheckV3Query } from './hooks/useHealthCheckV3Query';
|
|
156
156
|
export { importAction, useImportActionMutation } from './hooks/useImportActionMutation';
|
|
157
|
+
export { importExperimentTemplateV3, useImportExperimentTemplateV3Mutation, } from './hooks/useImportExperimentTemplateV3Mutation';
|
|
157
158
|
export { importProbe, useImportProbeMutation } from './hooks/useImportProbeMutation';
|
|
158
|
-
export {
|
|
159
|
+
export { importProbeTemplateV3, useImportProbeTemplateV3Mutation, } from './hooks/useImportProbeTemplateV3Mutation';
|
|
159
160
|
export { internalAbortRiskScan, useInternalAbortRiskScanMutation, } from './hooks/useInternalAbortRiskScanMutation';
|
|
160
161
|
export { listActionMetadata, useListActionMetadataQuery } from './hooks/useListActionMetadataQuery';
|
|
161
162
|
export { listActionReferencedBy, useListActionReferencedByQuery, } from './hooks/useListActionReferencedByQuery';
|
|
@@ -213,6 +214,7 @@ export { listProbeReferencedBy, useListProbeReferencedByQuery, } from './hooks/u
|
|
|
213
214
|
export { listProbeRuns, useListProbeRunsQuery } from './hooks/useListProbeRunsQuery';
|
|
214
215
|
export { listProbeTemplate, useListProbeTemplateQuery } from './hooks/useListProbeTemplateQuery';
|
|
215
216
|
export { listProbeTemplateReferencedBy, useListProbeTemplateReferencedByQuery, } from './hooks/useListProbeTemplateReferencedByQuery';
|
|
217
|
+
export { listProbeTemplateRevisions, useListProbeTemplateRevisionsQuery, } from './hooks/useListProbeTemplateRevisionsQuery';
|
|
216
218
|
export { listProbes, useListProbesQuery } from './hooks/useListProbesQuery';
|
|
217
219
|
export { listRecommendations, useListRecommendationsQuery, } from './hooks/useListRecommendationsQuery';
|
|
218
220
|
export { listRiskExperimentRecommendations, useListRiskExperimentRecommendationsQuery, } from './hooks/useListRiskExperimentRecommendationsQuery';
|
|
@@ -230,7 +232,8 @@ export { listTargetNetworkMaps, useListTargetNetworkMapsQuery, } from './hooks/u
|
|
|
230
232
|
export { listV2Onboarding, useListV2OnboardingQuery } from './hooks/useListV2OnboardingQuery';
|
|
231
233
|
export { listVariablesInActionTemplate, useListVariablesInActionTemplateQuery, } from './hooks/useListVariablesInActionTemplateQuery';
|
|
232
234
|
export { listVariablesInProbeTemplate, useListVariablesInProbeTemplateQuery, } from './hooks/useListVariablesInProbeTemplateQuery';
|
|
233
|
-
export {
|
|
235
|
+
export { moveExperimentTemplateConfigV3, useMoveExperimentTemplateConfigV3Mutation, } from './hooks/useMoveExperimentTemplateConfigV3Mutation';
|
|
236
|
+
export { moveProbeTemplateConfigV3, useMoveProbeTemplateConfigV3Mutation, } from './hooks/useMoveProbeTemplateConfigV3Mutation';
|
|
234
237
|
export { onboardServices, useOnboardServicesMutation } from './hooks/useOnboardServicesMutation';
|
|
235
238
|
export { onboardingConfirmDiscovery, useOnboardingConfirmDiscoveryMutation, } from './hooks/useOnboardingConfirmDiscoveryMutation';
|
|
236
239
|
export { onboardingConfirmExperimentCreation, useOnboardingConfirmExperimentCreationMutation, } from './hooks/useOnboardingConfirmExperimentCreationMutation';
|
|
@@ -244,7 +247,8 @@ export { pipelineOnboardChaos, usePipelineOnboardChaosMutation, } from './hooks/
|
|
|
244
247
|
export { pipelineOnboardChaosStatus, usePipelineOnboardChaosStatusQuery, } from './hooks/usePipelineOnboardChaosStatusQuery';
|
|
245
248
|
export { processTemplate, useProcessTemplateMutation } from './hooks/useProcessTemplateMutation';
|
|
246
249
|
export { recommendationEvent, useRecommendationEventMutation, } from './hooks/useRecommendationEventMutation';
|
|
247
|
-
export {
|
|
250
|
+
export { refreshExperimentTemplateV3, useRefreshExperimentTemplateV3Mutation, } from './hooks/useRefreshExperimentTemplateV3Mutation';
|
|
251
|
+
export { refreshProbeTemplateV3, useRefreshProbeTemplateV3Mutation, } from './hooks/useRefreshProbeTemplateV3Mutation';
|
|
248
252
|
export { registerInfraV2, useRegisterInfraV2Mutation } from './hooks/useRegisterInfraV2Mutation';
|
|
249
253
|
export { registerLegacyKubernetesInfra, useRegisterLegacyKubernetesInfraMutation, } from './hooks/useRegisterLegacyKubernetesInfraMutation';
|
|
250
254
|
export { registerMachineInfra, useRegisterMachineInfraMutation, } from './hooks/useRegisterMachineInfraMutation';
|
|
@@ -259,7 +263,11 @@ export { runChaosV2Experiment, useRunChaosV2ExperimentMutation, } from './hooks/
|
|
|
259
263
|
export { runChaosV2InternalApi, useRunChaosV2InternalApiMutation, } from './hooks/useRunChaosV2InternalApiMutation';
|
|
260
264
|
export { runRecommendation, useRunRecommendationMutation, } from './hooks/useRunRecommendationMutation';
|
|
261
265
|
export { saveChaosV2Experiment, useSaveChaosV2ExperimentMutation, } from './hooks/useSaveChaosV2ExperimentMutation';
|
|
266
|
+
export { saveProbeTemplateRevisionV3, useSaveProbeTemplateRevisionV3Mutation, } from './hooks/useSaveProbeTemplateRevisionV3Mutation';
|
|
267
|
+
export { setDefaultProbeTemplateRevisionV3, useSetDefaultProbeTemplateRevisionV3Mutation, } from './hooks/useSetDefaultProbeTemplateRevisionV3Mutation';
|
|
268
|
+
export { setDefaultProbeTemplateVersionV3, useSetDefaultProbeTemplateVersionV3Mutation, } from './hooks/useSetDefaultProbeTemplateVersionV3Mutation';
|
|
262
269
|
export { skipOnboarding, useSkipOnboardingMutation } from './hooks/useSkipOnboardingMutation';
|
|
270
|
+
export { stopAllChaosExperimentsV3, useStopAllChaosExperimentsV3Mutation, } from './hooks/useStopAllChaosExperimentsV3Mutation';
|
|
263
271
|
export { stopChaosExperimentV3, useStopChaosExperimentV3Mutation, } from './hooks/useStopChaosExperimentV3Mutation';
|
|
264
272
|
export { stopChaosV2Experiment, useStopChaosV2ExperimentMutation, } from './hooks/useStopChaosV2ExperimentMutation';
|
|
265
273
|
export { stopDrTest, useStopDrTestMutation } from './hooks/useStopDrTestMutation';
|
|
@@ -280,6 +288,7 @@ export { updateCondition, useUpdateConditionMutation } from './hooks/useUpdateCo
|
|
|
280
288
|
export { updateCronStateV3, useUpdateCronStateV3Mutation, } from './hooks/useUpdateCronStateV3Mutation';
|
|
281
289
|
export { updateDashboardV3, useUpdateDashboardV3Mutation, } from './hooks/useUpdateDashboardV3Mutation';
|
|
282
290
|
export { updateEmissary, useUpdateEmissaryMutation } from './hooks/useUpdateEmissaryMutation';
|
|
291
|
+
export { updateExperimentTemplateGitMetadataV3, useUpdateExperimentTemplateGitMetadataV3Mutation, } from './hooks/useUpdateExperimentTemplateGitMetadataV3Mutation';
|
|
283
292
|
export { updateExperimentTemplate, useUpdateExperimentTemplateMutation, } from './hooks/useUpdateExperimentTemplateMutation';
|
|
284
293
|
export { updateExperimentV3, useUpdateExperimentV3Mutation, } from './hooks/useUpdateExperimentV3Mutation';
|
|
285
294
|
export { updateFault, useUpdateFaultMutation } from './hooks/useUpdateFaultMutation';
|
|
@@ -292,14 +301,14 @@ export { updateLegacyKubernetesChaosInfra, useUpdateLegacyKubernetesChaosInfraMu
|
|
|
292
301
|
export { updateMachineInfra, useUpdateMachineInfraMutation, } from './hooks/useUpdateMachineInfraMutation';
|
|
293
302
|
export { updateNote, useUpdateNoteMutation } from './hooks/useUpdateNoteMutation';
|
|
294
303
|
export { updateProbe, useUpdateProbeMutation } from './hooks/useUpdateProbeMutation';
|
|
295
|
-
export {
|
|
304
|
+
export { updateProbeTemplateGitMetadataV3, useUpdateProbeTemplateGitMetadataV3Mutation, } from './hooks/useUpdateProbeTemplateGitMetadataV3Mutation';
|
|
296
305
|
export { updateProbeTemplate, useUpdateProbeTemplateMutation, } from './hooks/useUpdateProbeTemplateMutation';
|
|
297
|
-
export { updateProbeTemplateRevision, useUpdateProbeTemplateRevisionMutation, } from './hooks/useUpdateProbeTemplateRevisionMutation';
|
|
298
306
|
export { updateRecommendationStatus, useUpdateRecommendationStatusMutation, } from './hooks/useUpdateRecommendationStatusMutation';
|
|
299
307
|
export { updateRisk, useUpdateRiskMutation } from './hooks/useUpdateRiskMutation';
|
|
300
308
|
export { updateRiskRule, useUpdateRiskRuleMutation } from './hooks/useUpdateRiskRuleMutation';
|
|
301
309
|
export { updateRiskScan, useUpdateRiskScanMutation } from './hooks/useUpdateRiskScanMutation';
|
|
302
310
|
export { updateRule, useUpdateRuleMutation } from './hooks/useUpdateRuleMutation';
|
|
311
|
+
export { updateScannedRiskStatus, useUpdateScannedRiskStatusMutation, } from './hooks/useUpdateScannedRiskStatusMutation';
|
|
303
312
|
export { upgradeLegacyKubernetesChaosInfra, useUpgradeLegacyKubernetesChaosInfraMutation, } from './hooks/useUpgradeLegacyKubernetesChaosInfraMutation';
|
|
304
313
|
export { useVerifyChaosStageInPipelineRunQuery, verifyChaosStageInPipelineRun, } from './hooks/useVerifyChaosStageInPipelineRunQuery';
|
|
305
314
|
export { useVerifyProbeMutation, verifyProbe } from './hooks/useVerifyProbeMutation';
|
|
@@ -1,6 +1,12 @@
|
|
|
1
1
|
import type { ExecutionChaosStepType } from '../schemas/ExecutionChaosStepType';
|
|
2
2
|
import type { ExecutionChaosStepStatus } from '../schemas/ExecutionChaosStepStatus';
|
|
3
3
|
export interface ChaosExecutionNodesExecutionOutput {
|
|
4
|
+
finishedAt?: number;
|
|
4
5
|
resourceType?: ExecutionChaosStepType;
|
|
6
|
+
/**
|
|
7
|
+
* Spec is the step definition parsed into its SDK type: *probev1.Probe,
|
|
8
|
+
* *experiment.Fault or *action.Action based on ResourceType.
|
|
9
|
+
*/
|
|
10
|
+
spec?: {};
|
|
5
11
|
status?: ExecutionChaosStepStatus;
|
|
6
12
|
}
|
package/dist/chaos-manager/src/services/schemas/ChaosexperimenttemplateChaosExperimentTemplate.d.ts
CHANGED
|
@@ -1,8 +1,11 @@
|
|
|
1
1
|
import type { GithubComHarnessHceSaasGraphqlServerGraphModelUserDetails } from '../schemas/GithubComHarnessHceSaasGraphqlServerGraphModelUserDetails';
|
|
2
|
+
import type { EntityDetails } from '../schemas/EntityDetails';
|
|
2
3
|
import type { ExperimentInfraType } from '../schemas/ExperimentInfraType';
|
|
3
4
|
import type { TemplateInput } from '../schemas/TemplateInput';
|
|
5
|
+
import type { EntityStoreType } from '../schemas/EntityStoreType';
|
|
4
6
|
export interface ChaosexperimenttemplateChaosExperimentTemplate {
|
|
5
7
|
accountID: string;
|
|
8
|
+
connectorRef?: string;
|
|
6
9
|
createdAt?: number;
|
|
7
10
|
createdBy?: string;
|
|
8
11
|
createdByUserDetails?: GithubComHarnessHceSaasGraphqlServerGraphModelUserDetails;
|
|
@@ -11,6 +14,13 @@ export interface ChaosexperimenttemplateChaosExperimentTemplate {
|
|
|
11
14
|
* Counter to track if any edits were made to the template
|
|
12
15
|
*/
|
|
13
16
|
editCounter?: number;
|
|
17
|
+
fallbackBranch?: string;
|
|
18
|
+
filePath?: string;
|
|
19
|
+
/**
|
|
20
|
+
* GitDetails is response-only (platform EntityGitDetails), set on list
|
|
21
|
+
* rows of REMOTE revisions from the stored mirror.
|
|
22
|
+
*/
|
|
23
|
+
gitDetails?: EntityDetails;
|
|
14
24
|
hubIdentity?: string;
|
|
15
25
|
id?: string;
|
|
16
26
|
identity?: string;
|
|
@@ -19,12 +29,16 @@ export interface ChaosexperimenttemplateChaosExperimentTemplate {
|
|
|
19
29
|
inputs?: TemplateInput[];
|
|
20
30
|
isDefault?: boolean;
|
|
21
31
|
isEnterprise?: boolean;
|
|
32
|
+
isHarnessCodeRepo?: boolean;
|
|
22
33
|
isRemoved: boolean;
|
|
23
34
|
name: string;
|
|
24
35
|
orgID?: string;
|
|
25
36
|
parentUniqueId?: string;
|
|
26
37
|
projectID?: string;
|
|
38
|
+
repoName?: string;
|
|
39
|
+
repoUrl?: string;
|
|
27
40
|
revision?: string;
|
|
41
|
+
storeType?: EntityStoreType;
|
|
28
42
|
tags?: string[];
|
|
29
43
|
template?: string;
|
|
30
44
|
uniqueId?: string;
|
|
@@ -1,16 +1,43 @@
|
|
|
1
|
+
import type { ScmCacheInfo } from '../schemas/ScmCacheInfo';
|
|
2
|
+
import type { EntityValidityDetails } from '../schemas/EntityValidityDetails';
|
|
3
|
+
import type { EntityDetails } from '../schemas/EntityDetails';
|
|
1
4
|
import type { ExperimenttemplateSpec } from '../schemas/ExperimenttemplateSpec';
|
|
5
|
+
import type { EntityStoreType } from '../schemas/EntityStoreType';
|
|
2
6
|
import type { TemplateVariable } from '../schemas/TemplateVariable';
|
|
3
7
|
export interface ChaosexperimenttemplateCreateExperimentTemplateResponse {
|
|
4
8
|
apiVersion?: string;
|
|
9
|
+
cacheResponse?: ScmCacheInfo;
|
|
10
|
+
connectorRef?: string;
|
|
5
11
|
correlationID?: string;
|
|
6
12
|
description?: string;
|
|
13
|
+
/**
|
|
14
|
+
* EntityValidityDetails is set on GET of a REMOTE revision; a file that
|
|
15
|
+
* fails validation is still returned, flagged invalid with the raw file.
|
|
16
|
+
*/
|
|
17
|
+
entityValidityDetails?: EntityValidityDetails;
|
|
18
|
+
fallbackBranch?: string;
|
|
19
|
+
filePath?: string;
|
|
20
|
+
/**
|
|
21
|
+
* GitDetails / CacheResponse: platform EntityGitDetails,
|
|
22
|
+
* CacheResponseMetadataDTO.
|
|
23
|
+
*/
|
|
24
|
+
gitDetails?: EntityDetails;
|
|
25
|
+
/**
|
|
26
|
+
* GitYAML is the canonical Git file of a REMOTE revision, for the UI's
|
|
27
|
+
* YAML view.
|
|
28
|
+
*/
|
|
29
|
+
gitYaml?: string;
|
|
7
30
|
hubIdentity?: string;
|
|
8
31
|
identity: string;
|
|
9
32
|
isDefault: boolean;
|
|
33
|
+
isHarnessCodeRepo?: boolean;
|
|
10
34
|
kind?: string;
|
|
11
35
|
name: string;
|
|
36
|
+
repoName?: string;
|
|
37
|
+
repoUrl?: string;
|
|
12
38
|
revision: string;
|
|
13
39
|
spec: ExperimenttemplateSpec;
|
|
40
|
+
storeType?: EntityStoreType;
|
|
14
41
|
tags?: string[];
|
|
15
42
|
variables?: TemplateVariable[];
|
|
16
43
|
}
|