@harnessio/react-chaos-manager-client 1.87.1 → 1.88.1

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 (55) hide show
  1. package/dist/chaos-manager/src/services/hooks/useInternalAbortRiskScanMutation.d.ts +29 -0
  2. package/dist/chaos-manager/src/services/hooks/useInternalAbortRiskScanMutation.js +14 -0
  3. package/dist/chaos-manager/src/services/hooks/useListActionReferencedByQuery.d.ts +38 -0
  4. package/dist/chaos-manager/src/services/hooks/useListActionReferencedByQuery.js +14 -0
  5. package/dist/chaos-manager/src/services/hooks/useListActionTemplateReferencedByQuery.d.ts +39 -0
  6. package/dist/chaos-manager/src/services/hooks/useListActionTemplateReferencedByQuery.js +14 -0
  7. package/dist/chaos-manager/src/services/hooks/useListExperimentTemplateReferencedByQuery.d.ts +39 -0
  8. package/dist/chaos-manager/src/services/hooks/useListExperimentTemplateReferencedByQuery.js +14 -0
  9. package/dist/chaos-manager/src/services/hooks/useListFaultReferencedByQuery.d.ts +39 -0
  10. package/dist/chaos-manager/src/services/hooks/useListFaultReferencedByQuery.js +14 -0
  11. package/dist/chaos-manager/src/services/hooks/useListFaultTemplateReferencedByQuery.d.ts +39 -0
  12. package/dist/chaos-manager/src/services/hooks/useListFaultTemplateReferencedByQuery.js +14 -0
  13. package/dist/chaos-manager/src/services/hooks/useListProbeReferencedByQuery.d.ts +38 -0
  14. package/dist/chaos-manager/src/services/hooks/useListProbeReferencedByQuery.js +14 -0
  15. package/dist/chaos-manager/src/services/hooks/useListProbeTemplateReferencedByQuery.d.ts +39 -0
  16. package/dist/chaos-manager/src/services/hooks/useListProbeTemplateReferencedByQuery.js +14 -0
  17. package/dist/chaos-manager/src/services/hooks/useListScannedRisksQuery.d.ts +8 -0
  18. package/dist/chaos-manager/src/services/hooks/useTriggerRiskScanMutation.d.ts +31 -0
  19. package/dist/chaos-manager/src/services/hooks/useTriggerRiskScanMutation.js +14 -0
  20. package/dist/chaos-manager/src/services/index.d.ts +33 -0
  21. package/dist/chaos-manager/src/services/index.js +9 -0
  22. package/dist/chaos-manager/src/services/schemas/ChaosexperimenttemplateListReferencedByResponse.d.ts +7 -0
  23. package/dist/chaos-manager/src/services/schemas/ChaosexperimenttemplateListReferencedByResponse.js +1 -0
  24. package/dist/chaos-manager/src/services/schemas/ChaosexperimenttemplateReferencedByItem.d.ts +12 -0
  25. package/dist/chaos-manager/src/services/schemas/ChaosexperimenttemplateReferencedByItem.js +1 -0
  26. package/dist/chaos-manager/src/services/schemas/ChaosprobetemplateListReferencedByResponse.d.ts +7 -0
  27. package/dist/chaos-manager/src/services/schemas/ChaosprobetemplateListReferencedByResponse.js +1 -0
  28. package/dist/chaos-manager/src/services/schemas/ChaosprobetemplateReferencedByItem.d.ts +12 -0
  29. package/dist/chaos-manager/src/services/schemas/ChaosprobetemplateReferencedByItem.js +1 -0
  30. package/dist/chaos-manager/src/services/schemas/ChaosservicesChaosServiceResponse.d.ts +1 -0
  31. package/dist/chaos-manager/src/services/schemas/GithubComHarnessHceSaasGraphqlServerPkgChaosactiontemplateListReferencedByResponse.d.ts +7 -0
  32. package/dist/chaos-manager/src/services/schemas/GithubComHarnessHceSaasGraphqlServerPkgChaosactiontemplateListReferencedByResponse.js +1 -0
  33. package/dist/chaos-manager/src/services/schemas/GithubComHarnessHceSaasGraphqlServerPkgChaosactiontemplateReferencedByItem.d.ts +12 -0
  34. package/dist/chaos-manager/src/services/schemas/GithubComHarnessHceSaasGraphqlServerPkgChaosactiontemplateReferencedByItem.js +1 -0
  35. package/dist/chaos-manager/src/services/schemas/GithubComHarnessHceSaasGraphqlServerPkgChaosfaulttemplateListReferencedByResponse.d.ts +7 -0
  36. package/dist/chaos-manager/src/services/schemas/GithubComHarnessHceSaasGraphqlServerPkgChaosfaulttemplateListReferencedByResponse.js +1 -0
  37. package/dist/chaos-manager/src/services/schemas/GithubComHarnessHceSaasGraphqlServerPkgChaosfaulttemplateReferencedByItem.d.ts +12 -0
  38. package/dist/chaos-manager/src/services/schemas/GithubComHarnessHceSaasGraphqlServerPkgChaosfaulttemplateReferencedByItem.js +1 -0
  39. package/dist/chaos-manager/src/services/schemas/RiskScanSourcePipeline.d.ts +1 -0
  40. package/dist/chaos-manager/src/services/schemas/SharedListReferencedByResponse.d.ts +7 -0
  41. package/dist/chaos-manager/src/services/schemas/SharedListReferencedByResponse.js +1 -0
  42. package/dist/chaos-manager/src/services/schemas/SharedReferencedByItem.d.ts +12 -0
  43. package/dist/chaos-manager/src/services/schemas/SharedReferencedByItem.js +1 -0
  44. package/dist/chaos-manager/src/services/schemas/SharedReferencedByKind.d.ts +1 -0
  45. package/dist/chaos-manager/src/services/schemas/SharedReferencedByKind.js +4 -0
  46. package/dist/chaos-manager/src/services/schemas/V2OnboardingChaosInfraAdvanceConfiguration.d.ts +1 -0
  47. package/dist/chaos-manager/src/services/schemas/V3AbortRiskScanRequest.d.ts +3 -0
  48. package/dist/chaos-manager/src/services/schemas/V3AbortRiskScanRequest.js +4 -0
  49. package/dist/chaos-manager/src/services/schemas/V3TriggerRiskScanRequest.d.ts +4 -0
  50. package/dist/chaos-manager/src/services/schemas/V3TriggerRiskScanRequest.js +4 -0
  51. package/dist/chaos-manager/src/services/schemas/V3TriggerRiskScanResponse.d.ts +5 -0
  52. package/dist/chaos-manager/src/services/schemas/V3TriggerRiskScanResponse.js +1 -0
  53. package/dist/chaos-manager/src/services/schemas/V3TriggerRiskScanResponseData.d.ts +6 -0
  54. package/dist/chaos-manager/src/services/schemas/V3TriggerRiskScanResponseData.js +4 -0
  55. package/package.json +1 -1
@@ -0,0 +1,29 @@
1
+ import { UseMutationOptions } from '@tanstack/react-query';
2
+ import type { SharedError } from '../schemas/SharedError';
3
+ import type { V3AbortRiskScanRequest } from '../schemas/V3AbortRiskScanRequest';
4
+ import { FetcherOptions } from '../../../../custom-fetcher/index.js';
5
+ export interface InternalAbortRiskScanMutationQueryParams {
6
+ accountIdentifier: string;
7
+ organizationIdentifier?: string;
8
+ parentUniqueId?: string;
9
+ projectIdentifier?: string;
10
+ }
11
+ export type InternalAbortRiskScanRequestBody = V3AbortRiskScanRequest;
12
+ export type InternalAbortRiskScanOkResponse = {
13
+ [key: string]: string;
14
+ };
15
+ export type InternalAbortRiskScanErrorResponse = SharedError;
16
+ export interface InternalAbortRiskScanProps extends Omit<FetcherOptions<InternalAbortRiskScanMutationQueryParams, InternalAbortRiskScanRequestBody>, 'url'> {
17
+ queryParams: InternalAbortRiskScanMutationQueryParams;
18
+ body: InternalAbortRiskScanRequestBody;
19
+ }
20
+ export interface InternalAbortRiskScanResponseContainer {
21
+ body: InternalAbortRiskScanOkResponse;
22
+ headers: Headers;
23
+ }
24
+ export declare function internalAbortRiskScan(props: InternalAbortRiskScanProps): Promise<InternalAbortRiskScanResponseContainer>;
25
+ export type InternalAbortRiskScanMutationProps<T extends keyof InternalAbortRiskScanProps> = Omit<InternalAbortRiskScanProps, T> & Partial<Pick<InternalAbortRiskScanProps, T>>;
26
+ /**
27
+ * Internal endpoint called by ng-manager to abort a running risk scan step
28
+ */
29
+ export declare function useInternalAbortRiskScanMutation<T extends keyof InternalAbortRiskScanProps>(props: Pick<Partial<InternalAbortRiskScanProps>, T>, options?: Omit<UseMutationOptions<InternalAbortRiskScanResponseContainer, InternalAbortRiskScanErrorResponse, InternalAbortRiskScanMutationProps<T>>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<InternalAbortRiskScanResponseContainer, SharedError, InternalAbortRiskScanMutationProps<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 internalAbortRiskScan(props) {
7
+ return fetcher(Object.assign({ url: `/internalv3/integrations/abort-risk-scan`, method: 'POST' }, props));
8
+ }
9
+ /**
10
+ * Internal endpoint called by ng-manager to abort a running risk scan step
11
+ */
12
+ export function useInternalAbortRiskScanMutation(props, options) {
13
+ return useMutation((mutateProps) => internalAbortRiskScan(Object.assign(Object.assign({}, props), mutateProps)), options);
14
+ }
@@ -0,0 +1,38 @@
1
+ import { UseQueryOptions } from '@tanstack/react-query';
2
+ import type { SharedListReferencedByResponse } from '../schemas/SharedListReferencedByResponse';
3
+ import type { SharedError } from '../schemas/SharedError';
4
+ import { FetcherOptions } from '../../../../custom-fetcher/index.js';
5
+ export interface ListActionReferencedByQueryPathParams {
6
+ identity: string;
7
+ }
8
+ export interface ListActionReferencedByQueryQueryParams {
9
+ accountIdentifier: string;
10
+ correlationID?: string;
11
+ kind?: 'Action' | 'Experiment' | 'ExperimentTemplate' | 'Fault' | 'Probe';
12
+ /**
13
+ * @default 15
14
+ */
15
+ limit?: number;
16
+ organizationIdentifier?: string;
17
+ /**
18
+ * @default 0
19
+ */
20
+ page?: number;
21
+ parentUniqueId?: string;
22
+ projectIdentifier?: string;
23
+ search?: string;
24
+ }
25
+ export type ListActionReferencedByOkResponse = SharedListReferencedByResponse;
26
+ export type ListActionReferencedByErrorResponse = SharedError;
27
+ export interface ListActionReferencedByProps extends ListActionReferencedByQueryPathParams, Omit<FetcherOptions<ListActionReferencedByQueryQueryParams, unknown>, 'url'> {
28
+ queryParams: ListActionReferencedByQueryQueryParams;
29
+ }
30
+ export interface ListActionReferencedByResponseContainer {
31
+ body: ListActionReferencedByOkResponse;
32
+ headers: Headers;
33
+ }
34
+ export declare function listActionReferencedBy(props: ListActionReferencedByProps): Promise<ListActionReferencedByResponseContainer>;
35
+ /**
36
+ * lists experiments referencing an action
37
+ */
38
+ export declare function useListActionReferencedByQuery(props: ListActionReferencedByProps, options?: Omit<UseQueryOptions<ListActionReferencedByResponseContainer, ListActionReferencedByErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<ListActionReferencedByResponseContainer, SharedError>;
@@ -0,0 +1,14 @@
1
+ /* eslint-disable */
2
+ // This code is autogenerated using @harnessio/oats-cli.
3
+ // Please do not modify this code directly.
4
+ import { useQuery } from '@tanstack/react-query';
5
+ import { fetcher } from '../../../../custom-fetcher/index.js';
6
+ export function listActionReferencedBy(props) {
7
+ return fetcher(Object.assign({ url: `/v3/actions/${props.identity}/referenced-by`, method: 'GET' }, props));
8
+ }
9
+ /**
10
+ * lists experiments referencing an action
11
+ */
12
+ export function useListActionReferencedByQuery(props, options) {
13
+ return useQuery(['listActionReferencedBy', props.identity, props.queryParams], ({ signal }) => listActionReferencedBy(Object.assign(Object.assign({}, props), { signal })), options);
14
+ }
@@ -0,0 +1,39 @@
1
+ import { UseQueryOptions } from '@tanstack/react-query';
2
+ import type { GithubComHarnessHceSaasGraphqlServerPkgChaosactiontemplateListReferencedByResponse } from '../schemas/GithubComHarnessHceSaasGraphqlServerPkgChaosactiontemplateListReferencedByResponse';
3
+ import type { SharedError } from '../schemas/SharedError';
4
+ import { FetcherOptions } from '../../../../custom-fetcher/index.js';
5
+ export interface ListActionTemplateReferencedByQueryPathParams {
6
+ identity: string;
7
+ }
8
+ export interface ListActionTemplateReferencedByQueryQueryParams {
9
+ accountIdentifier: string;
10
+ correlationID?: string;
11
+ hubIdentity?: string;
12
+ kind?: 'Action' | 'Experiment' | 'ExperimentTemplate' | 'Fault' | 'Probe';
13
+ /**
14
+ * @default 15
15
+ */
16
+ limit?: number;
17
+ organizationIdentifier?: string;
18
+ /**
19
+ * @default 0
20
+ */
21
+ page?: number;
22
+ parentUniqueId?: string;
23
+ projectIdentifier?: string;
24
+ search?: string;
25
+ }
26
+ export type ListActionTemplateReferencedByOkResponse = GithubComHarnessHceSaasGraphqlServerPkgChaosactiontemplateListReferencedByResponse;
27
+ export type ListActionTemplateReferencedByErrorResponse = SharedError;
28
+ export interface ListActionTemplateReferencedByProps extends ListActionTemplateReferencedByQueryPathParams, Omit<FetcherOptions<ListActionTemplateReferencedByQueryQueryParams, unknown>, 'url'> {
29
+ queryParams: ListActionTemplateReferencedByQueryQueryParams;
30
+ }
31
+ export interface ListActionTemplateReferencedByResponseContainer {
32
+ body: ListActionTemplateReferencedByOkResponse;
33
+ headers: Headers;
34
+ }
35
+ export declare function listActionTemplateReferencedBy(props: ListActionTemplateReferencedByProps): Promise<ListActionTemplateReferencedByResponseContainer>;
36
+ /**
37
+ * lists experiment templates and actions referencing an action template
38
+ */
39
+ export declare function useListActionTemplateReferencedByQuery(props: ListActionTemplateReferencedByProps, options?: Omit<UseQueryOptions<ListActionTemplateReferencedByResponseContainer, ListActionTemplateReferencedByErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<ListActionTemplateReferencedByResponseContainer, SharedError>;
@@ -0,0 +1,14 @@
1
+ /* eslint-disable */
2
+ // This code is autogenerated using @harnessio/oats-cli.
3
+ // Please do not modify this code directly.
4
+ import { useQuery } from '@tanstack/react-query';
5
+ import { fetcher } from '../../../../custom-fetcher/index.js';
6
+ export function listActionTemplateReferencedBy(props) {
7
+ return fetcher(Object.assign({ url: `/v3/action-templates/${props.identity}/referenced-by`, method: 'GET' }, props));
8
+ }
9
+ /**
10
+ * lists experiment templates and actions referencing an action template
11
+ */
12
+ export function useListActionTemplateReferencedByQuery(props, options) {
13
+ return useQuery(['listActionTemplateReferencedBy', props.identity, props.queryParams], ({ signal }) => listActionTemplateReferencedBy(Object.assign(Object.assign({}, props), { signal })), options);
14
+ }
@@ -0,0 +1,39 @@
1
+ import { UseQueryOptions } from '@tanstack/react-query';
2
+ import type { ChaosexperimenttemplateListReferencedByResponse } from '../schemas/ChaosexperimenttemplateListReferencedByResponse';
3
+ import type { SharedError } from '../schemas/SharedError';
4
+ import { FetcherOptions } from '../../../../custom-fetcher/index.js';
5
+ export interface ListExperimentTemplateReferencedByQueryPathParams {
6
+ identity: string;
7
+ }
8
+ export interface ListExperimentTemplateReferencedByQueryQueryParams {
9
+ accountIdentifier: string;
10
+ correlationID?: string;
11
+ hubIdentity?: string;
12
+ kind?: 'Action' | 'Experiment' | 'ExperimentTemplate' | 'Fault' | 'Probe';
13
+ /**
14
+ * @default 15
15
+ */
16
+ limit?: number;
17
+ organizationIdentifier?: string;
18
+ /**
19
+ * @default 0
20
+ */
21
+ page?: number;
22
+ parentUniqueId?: string;
23
+ projectIdentifier?: string;
24
+ search?: string;
25
+ }
26
+ export type ListExperimentTemplateReferencedByOkResponse = ChaosexperimenttemplateListReferencedByResponse;
27
+ export type ListExperimentTemplateReferencedByErrorResponse = SharedError;
28
+ export interface ListExperimentTemplateReferencedByProps extends ListExperimentTemplateReferencedByQueryPathParams, Omit<FetcherOptions<ListExperimentTemplateReferencedByQueryQueryParams, unknown>, 'url'> {
29
+ queryParams: ListExperimentTemplateReferencedByQueryQueryParams;
30
+ }
31
+ export interface ListExperimentTemplateReferencedByResponseContainer {
32
+ body: ListExperimentTemplateReferencedByOkResponse;
33
+ headers: Headers;
34
+ }
35
+ export declare function listExperimentTemplateReferencedBy(props: ListExperimentTemplateReferencedByProps): Promise<ListExperimentTemplateReferencedByResponseContainer>;
36
+ /**
37
+ * lists experiments referencing an experiment template
38
+ */
39
+ export declare function useListExperimentTemplateReferencedByQuery(props: ListExperimentTemplateReferencedByProps, options?: Omit<UseQueryOptions<ListExperimentTemplateReferencedByResponseContainer, ListExperimentTemplateReferencedByErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<ListExperimentTemplateReferencedByResponseContainer, SharedError>;
@@ -0,0 +1,14 @@
1
+ /* eslint-disable */
2
+ // This code is autogenerated using @harnessio/oats-cli.
3
+ // Please do not modify this code directly.
4
+ import { useQuery } from '@tanstack/react-query';
5
+ import { fetcher } from '../../../../custom-fetcher/index.js';
6
+ export function listExperimentTemplateReferencedBy(props) {
7
+ return fetcher(Object.assign({ url: `/v3/experiment-templates/${props.identity}/referenced-by`, method: 'GET' }, props));
8
+ }
9
+ /**
10
+ * lists experiments referencing an experiment template
11
+ */
12
+ export function useListExperimentTemplateReferencedByQuery(props, options) {
13
+ return useQuery(['listExperimentTemplateReferencedBy', props.identity, props.queryParams], ({ signal }) => listExperimentTemplateReferencedBy(Object.assign(Object.assign({}, props), { signal })), options);
14
+ }
@@ -0,0 +1,39 @@
1
+ import { UseQueryOptions } from '@tanstack/react-query';
2
+ import type { SharedListReferencedByResponse } from '../schemas/SharedListReferencedByResponse';
3
+ import type { SharedError } from '../schemas/SharedError';
4
+ import { FetcherOptions } from '../../../../custom-fetcher/index.js';
5
+ export interface ListFaultReferencedByQueryPathParams {
6
+ identity: string;
7
+ }
8
+ export interface ListFaultReferencedByQueryQueryParams {
9
+ accountIdentifier: string;
10
+ correlationID?: string;
11
+ isEnterprise?: boolean;
12
+ kind?: 'Action' | 'Experiment' | 'ExperimentTemplate' | 'Fault' | 'Probe';
13
+ /**
14
+ * @default 15
15
+ */
16
+ limit?: number;
17
+ organizationIdentifier?: string;
18
+ /**
19
+ * @default 0
20
+ */
21
+ page?: number;
22
+ parentUniqueId?: string;
23
+ projectIdentifier?: string;
24
+ search?: string;
25
+ }
26
+ export type ListFaultReferencedByOkResponse = SharedListReferencedByResponse;
27
+ export type ListFaultReferencedByErrorResponse = SharedError;
28
+ export interface ListFaultReferencedByProps extends ListFaultReferencedByQueryPathParams, Omit<FetcherOptions<ListFaultReferencedByQueryQueryParams, unknown>, 'url'> {
29
+ queryParams: ListFaultReferencedByQueryQueryParams;
30
+ }
31
+ export interface ListFaultReferencedByResponseContainer {
32
+ body: ListFaultReferencedByOkResponse;
33
+ headers: Headers;
34
+ }
35
+ export declare function listFaultReferencedBy(props: ListFaultReferencedByProps): Promise<ListFaultReferencedByResponseContainer>;
36
+ /**
37
+ * lists experiments referencing a fault
38
+ */
39
+ export declare function useListFaultReferencedByQuery(props: ListFaultReferencedByProps, options?: Omit<UseQueryOptions<ListFaultReferencedByResponseContainer, ListFaultReferencedByErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<ListFaultReferencedByResponseContainer, SharedError>;
@@ -0,0 +1,14 @@
1
+ /* eslint-disable */
2
+ // This code is autogenerated using @harnessio/oats-cli.
3
+ // Please do not modify this code directly.
4
+ import { useQuery } from '@tanstack/react-query';
5
+ import { fetcher } from '../../../../custom-fetcher/index.js';
6
+ export function listFaultReferencedBy(props) {
7
+ return fetcher(Object.assign({ url: `/v3/faults/${props.identity}/referenced-by`, method: 'GET' }, props));
8
+ }
9
+ /**
10
+ * lists experiments referencing a fault
11
+ */
12
+ export function useListFaultReferencedByQuery(props, options) {
13
+ return useQuery(['listFaultReferencedBy', props.identity, props.queryParams], ({ signal }) => listFaultReferencedBy(Object.assign(Object.assign({}, props), { signal })), options);
14
+ }
@@ -0,0 +1,39 @@
1
+ import { UseQueryOptions } from '@tanstack/react-query';
2
+ import type { GithubComHarnessHceSaasGraphqlServerPkgChaosfaulttemplateListReferencedByResponse } from '../schemas/GithubComHarnessHceSaasGraphqlServerPkgChaosfaulttemplateListReferencedByResponse';
3
+ import type { SharedError } from '../schemas/SharedError';
4
+ import { FetcherOptions } from '../../../../custom-fetcher/index.js';
5
+ export interface ListFaultTemplateReferencedByQueryPathParams {
6
+ identity: string;
7
+ }
8
+ export interface ListFaultTemplateReferencedByQueryQueryParams {
9
+ accountIdentifier: string;
10
+ correlationID?: string;
11
+ hubIdentity?: string;
12
+ kind?: 'Action' | 'Experiment' | 'ExperimentTemplate' | 'Fault' | 'Probe';
13
+ /**
14
+ * @default 15
15
+ */
16
+ limit?: number;
17
+ organizationIdentifier?: string;
18
+ /**
19
+ * @default 0
20
+ */
21
+ page?: number;
22
+ parentUniqueId?: string;
23
+ projectIdentifier?: string;
24
+ search?: string;
25
+ }
26
+ export type ListFaultTemplateReferencedByOkResponse = GithubComHarnessHceSaasGraphqlServerPkgChaosfaulttemplateListReferencedByResponse;
27
+ export type ListFaultTemplateReferencedByErrorResponse = SharedError;
28
+ export interface ListFaultTemplateReferencedByProps extends ListFaultTemplateReferencedByQueryPathParams, Omit<FetcherOptions<ListFaultTemplateReferencedByQueryQueryParams, unknown>, 'url'> {
29
+ queryParams: ListFaultTemplateReferencedByQueryQueryParams;
30
+ }
31
+ export interface ListFaultTemplateReferencedByResponseContainer {
32
+ body: ListFaultTemplateReferencedByOkResponse;
33
+ headers: Headers;
34
+ }
35
+ export declare function listFaultTemplateReferencedBy(props: ListFaultTemplateReferencedByProps): Promise<ListFaultTemplateReferencedByResponseContainer>;
36
+ /**
37
+ * lists experiment templates and faults referencing a fault template
38
+ */
39
+ export declare function useListFaultTemplateReferencedByQuery(props: ListFaultTemplateReferencedByProps, options?: Omit<UseQueryOptions<ListFaultTemplateReferencedByResponseContainer, ListFaultTemplateReferencedByErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<ListFaultTemplateReferencedByResponseContainer, SharedError>;
@@ -0,0 +1,14 @@
1
+ /* eslint-disable */
2
+ // This code is autogenerated using @harnessio/oats-cli.
3
+ // Please do not modify this code directly.
4
+ import { useQuery } from '@tanstack/react-query';
5
+ import { fetcher } from '../../../../custom-fetcher/index.js';
6
+ export function listFaultTemplateReferencedBy(props) {
7
+ return fetcher(Object.assign({ url: `/v3/fault-templates/${props.identity}/referenced-by`, method: 'GET' }, props));
8
+ }
9
+ /**
10
+ * lists experiment templates and faults referencing a fault template
11
+ */
12
+ export function useListFaultTemplateReferencedByQuery(props, options) {
13
+ return useQuery(['listFaultTemplateReferencedBy', props.identity, props.queryParams], ({ signal }) => listFaultTemplateReferencedBy(Object.assign(Object.assign({}, props), { signal })), options);
14
+ }
@@ -0,0 +1,38 @@
1
+ import { UseQueryOptions } from '@tanstack/react-query';
2
+ import type { SharedListReferencedByResponse } from '../schemas/SharedListReferencedByResponse';
3
+ import type { SharedError } from '../schemas/SharedError';
4
+ import { FetcherOptions } from '../../../../custom-fetcher/index.js';
5
+ export interface ListProbeReferencedByQueryPathParams {
6
+ identity: string;
7
+ }
8
+ export interface ListProbeReferencedByQueryQueryParams {
9
+ accountIdentifier: string;
10
+ correlationID?: string;
11
+ kind?: 'Action' | 'Experiment' | 'ExperimentTemplate' | 'Fault' | 'Probe';
12
+ /**
13
+ * @default 15
14
+ */
15
+ limit?: number;
16
+ organizationIdentifier?: string;
17
+ /**
18
+ * @default 0
19
+ */
20
+ page?: number;
21
+ parentUniqueId?: string;
22
+ projectIdentifier?: string;
23
+ search?: string;
24
+ }
25
+ export type ListProbeReferencedByOkResponse = SharedListReferencedByResponse;
26
+ export type ListProbeReferencedByErrorResponse = SharedError;
27
+ export interface ListProbeReferencedByProps extends ListProbeReferencedByQueryPathParams, Omit<FetcherOptions<ListProbeReferencedByQueryQueryParams, unknown>, 'url'> {
28
+ queryParams: ListProbeReferencedByQueryQueryParams;
29
+ }
30
+ export interface ListProbeReferencedByResponseContainer {
31
+ body: ListProbeReferencedByOkResponse;
32
+ headers: Headers;
33
+ }
34
+ export declare function listProbeReferencedBy(props: ListProbeReferencedByProps): Promise<ListProbeReferencedByResponseContainer>;
35
+ /**
36
+ * lists experiments referencing a probe
37
+ */
38
+ export declare function useListProbeReferencedByQuery(props: ListProbeReferencedByProps, options?: Omit<UseQueryOptions<ListProbeReferencedByResponseContainer, ListProbeReferencedByErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<ListProbeReferencedByResponseContainer, SharedError>;
@@ -0,0 +1,14 @@
1
+ /* eslint-disable */
2
+ // This code is autogenerated using @harnessio/oats-cli.
3
+ // Please do not modify this code directly.
4
+ import { useQuery } from '@tanstack/react-query';
5
+ import { fetcher } from '../../../../custom-fetcher/index.js';
6
+ export function listProbeReferencedBy(props) {
7
+ return fetcher(Object.assign({ url: `/v3/probes/${props.identity}/referenced-by`, method: 'GET' }, props));
8
+ }
9
+ /**
10
+ * lists experiments referencing a probe
11
+ */
12
+ export function useListProbeReferencedByQuery(props, options) {
13
+ return useQuery(['listProbeReferencedBy', props.identity, props.queryParams], ({ signal }) => listProbeReferencedBy(Object.assign(Object.assign({}, props), { signal })), options);
14
+ }
@@ -0,0 +1,39 @@
1
+ import { UseQueryOptions } from '@tanstack/react-query';
2
+ import type { ChaosprobetemplateListReferencedByResponse } from '../schemas/ChaosprobetemplateListReferencedByResponse';
3
+ import type { SharedError } from '../schemas/SharedError';
4
+ import { FetcherOptions } from '../../../../custom-fetcher/index.js';
5
+ export interface ListProbeTemplateReferencedByQueryPathParams {
6
+ identity: string;
7
+ }
8
+ export interface ListProbeTemplateReferencedByQueryQueryParams {
9
+ accountIdentifier: string;
10
+ correlationID?: string;
11
+ hubIdentity?: string;
12
+ kind?: 'Action' | 'Experiment' | 'ExperimentTemplate' | 'Fault' | 'Probe';
13
+ /**
14
+ * @default 15
15
+ */
16
+ limit?: number;
17
+ organizationIdentifier?: string;
18
+ /**
19
+ * @default 0
20
+ */
21
+ page?: number;
22
+ parentUniqueId?: string;
23
+ projectIdentifier?: string;
24
+ search?: string;
25
+ }
26
+ export type ListProbeTemplateReferencedByOkResponse = ChaosprobetemplateListReferencedByResponse;
27
+ export type ListProbeTemplateReferencedByErrorResponse = SharedError;
28
+ export interface ListProbeTemplateReferencedByProps extends ListProbeTemplateReferencedByQueryPathParams, Omit<FetcherOptions<ListProbeTemplateReferencedByQueryQueryParams, unknown>, 'url'> {
29
+ queryParams: ListProbeTemplateReferencedByQueryQueryParams;
30
+ }
31
+ export interface ListProbeTemplateReferencedByResponseContainer {
32
+ body: ListProbeTemplateReferencedByOkResponse;
33
+ headers: Headers;
34
+ }
35
+ export declare function listProbeTemplateReferencedBy(props: ListProbeTemplateReferencedByProps): Promise<ListProbeTemplateReferencedByResponseContainer>;
36
+ /**
37
+ * lists experiment templates and probes referencing a probe template
38
+ */
39
+ export declare function useListProbeTemplateReferencedByQuery(props: ListProbeTemplateReferencedByProps, options?: Omit<UseQueryOptions<ListProbeTemplateReferencedByResponseContainer, ListProbeTemplateReferencedByErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<ListProbeTemplateReferencedByResponseContainer, SharedError>;
@@ -0,0 +1,14 @@
1
+ /* eslint-disable */
2
+ // This code is autogenerated using @harnessio/oats-cli.
3
+ // Please do not modify this code directly.
4
+ import { useQuery } from '@tanstack/react-query';
5
+ import { fetcher } from '../../../../custom-fetcher/index.js';
6
+ export function listProbeTemplateReferencedBy(props) {
7
+ return fetcher(Object.assign({ url: `/v3/probe-templates/${props.identity}/referenced-by`, method: 'GET' }, props));
8
+ }
9
+ /**
10
+ * lists experiment templates and probes referencing a probe template
11
+ */
12
+ export function useListProbeTemplateReferencedByQuery(props, options) {
13
+ return useQuery(['listProbeTemplateReferencedBy', props.identity, props.queryParams], ({ signal }) => listProbeTemplateReferencedBy(Object.assign(Object.assign({}, props), { signal })), options);
14
+ }
@@ -22,6 +22,14 @@ export interface ListScannedRisksQueryQueryParams {
22
22
  projectIdentifier?: string;
23
23
  riskRuleId?: string;
24
24
  search?: string;
25
+ serviceFilterV2CDServiceEnvironmentID?: string;
26
+ serviceFilterV2CDServiceIdentity?: string;
27
+ serviceFilterV2CDServiceInfrastructureID?: string;
28
+ serviceFilterV2ChaosServiceIdentity?: string;
29
+ serviceFilterV2DiscoveredServiceAgentID?: string;
30
+ serviceFilterV2DiscoveredServiceEnvironmentID?: string;
31
+ serviceFilterV2DiscoveredServiceExternalID?: string;
32
+ serviceFilterV2Kind?: 'CDService' | 'ChaosService' | 'DiscoveredService';
25
33
  serviceIdentity?: string;
26
34
  severity?: string;
27
35
  sortAscending?: boolean;
@@ -0,0 +1,31 @@
1
+ import { UseMutationOptions } from '@tanstack/react-query';
2
+ import type { V3TriggerRiskScanResponse } from '../schemas/V3TriggerRiskScanResponse';
3
+ import type { SharedError } from '../schemas/SharedError';
4
+ import type { V3TriggerRiskScanRequest } from '../schemas/V3TriggerRiskScanRequest';
5
+ import { FetcherOptions } from '../../../../custom-fetcher/index.js';
6
+ export interface TriggerRiskScanMutationQueryParams {
7
+ accountIdentifier: string;
8
+ notifyId: string;
9
+ organizationIdentifier?: string;
10
+ parentUniqueId?: string;
11
+ pipelineExecutionId: string;
12
+ pipelineIdentifier: string;
13
+ projectIdentifier?: string;
14
+ }
15
+ export type TriggerRiskScanRequestBody = V3TriggerRiskScanRequest;
16
+ export type TriggerRiskScanOkResponse = V3TriggerRiskScanResponse;
17
+ export type TriggerRiskScanErrorResponse = SharedError;
18
+ export interface TriggerRiskScanProps extends Omit<FetcherOptions<TriggerRiskScanMutationQueryParams, TriggerRiskScanRequestBody>, 'url'> {
19
+ queryParams: TriggerRiskScanMutationQueryParams;
20
+ body: TriggerRiskScanRequestBody;
21
+ }
22
+ export interface TriggerRiskScanResponseContainer {
23
+ body: TriggerRiskScanOkResponse;
24
+ headers: Headers;
25
+ }
26
+ export declare function triggerRiskScan(props: TriggerRiskScanProps): Promise<TriggerRiskScanResponseContainer>;
27
+ export type TriggerRiskScanMutationProps<T extends keyof TriggerRiskScanProps> = Omit<TriggerRiskScanProps, T> & Partial<Pick<TriggerRiskScanProps, T>>;
28
+ /**
29
+ * Triggers a risk scan from a pipeline step, creating the scan via rt-agent
30
+ */
31
+ export declare function useTriggerRiskScanMutation<T extends keyof TriggerRiskScanProps>(props: Pick<Partial<TriggerRiskScanProps>, T>, options?: Omit<UseMutationOptions<TriggerRiskScanResponseContainer, TriggerRiskScanErrorResponse, TriggerRiskScanMutationProps<T>>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<TriggerRiskScanResponseContainer, SharedError, TriggerRiskScanMutationProps<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 triggerRiskScan(props) {
7
+ return fetcher(Object.assign({ url: `/internalv3/integrations/trigger-risk-scan`, method: 'POST' }, props));
8
+ }
9
+ /**
10
+ * Triggers a risk scan from a pipeline step, creating the scan via rt-agent
11
+ */
12
+ export function useTriggerRiskScanMutation(props, options) {
13
+ return useMutation((mutateProps) => triggerRiskScan(Object.assign(Object.assign({}, props), mutateProps)), options);
14
+ }
@@ -306,12 +306,18 @@ export type { ImportActionErrorResponse, ImportActionMutationProps, ImportAction
306
306
  export { importAction, useImportActionMutation } from './hooks/useImportActionMutation';
307
307
  export type { ImportProbeErrorResponse, ImportProbeMutationProps, ImportProbeMutationQueryParams, ImportProbeOkResponse, ImportProbeProps, ImportProbeRequestBody, } from './hooks/useImportProbeMutation';
308
308
  export { importProbe, useImportProbeMutation } from './hooks/useImportProbeMutation';
309
+ export type { InternalAbortRiskScanErrorResponse, InternalAbortRiskScanMutationProps, InternalAbortRiskScanMutationQueryParams, InternalAbortRiskScanOkResponse, InternalAbortRiskScanProps, InternalAbortRiskScanRequestBody, } from './hooks/useInternalAbortRiskScanMutation';
310
+ export { internalAbortRiskScan, useInternalAbortRiskScanMutation, } from './hooks/useInternalAbortRiskScanMutation';
309
311
  export type { ListActionMetadataErrorResponse, ListActionMetadataOkResponse, ListActionMetadataProps, ListActionMetadataQueryQueryParams, ListActionMetadataRequestBody, } from './hooks/useListActionMetadataQuery';
310
312
  export { listActionMetadata, useListActionMetadataQuery } from './hooks/useListActionMetadataQuery';
313
+ export type { ListActionReferencedByErrorResponse, ListActionReferencedByOkResponse, ListActionReferencedByProps, ListActionReferencedByQueryPathParams, ListActionReferencedByQueryQueryParams, } from './hooks/useListActionReferencedByQuery';
314
+ export { listActionReferencedBy, useListActionReferencedByQuery, } from './hooks/useListActionReferencedByQuery';
311
315
  export type { ListActionRunsErrorResponse, ListActionRunsOkResponse, ListActionRunsProps, ListActionRunsQueryQueryParams, } from './hooks/useListActionRunsQuery';
312
316
  export { listActionRuns, useListActionRunsQuery } from './hooks/useListActionRunsQuery';
313
317
  export type { ListActionTemplateErrorResponse, ListActionTemplateOkResponse, ListActionTemplateProps, ListActionTemplateQueryQueryParams, } from './hooks/useListActionTemplateQuery';
314
318
  export { listActionTemplate, useListActionTemplateQuery } from './hooks/useListActionTemplateQuery';
319
+ export type { ListActionTemplateReferencedByErrorResponse, ListActionTemplateReferencedByOkResponse, ListActionTemplateReferencedByProps, ListActionTemplateReferencedByQueryPathParams, ListActionTemplateReferencedByQueryQueryParams, } from './hooks/useListActionTemplateReferencedByQuery';
320
+ export { listActionTemplateReferencedBy, useListActionTemplateReferencedByQuery, } from './hooks/useListActionTemplateReferencedByQuery';
315
321
  export type { ListActionTemplateRevisionsErrorResponse, ListActionTemplateRevisionsOkResponse, ListActionTemplateRevisionsProps, ListActionTemplateRevisionsQueryPathParams, ListActionTemplateRevisionsQueryQueryParams, } from './hooks/useListActionTemplateRevisionsQuery';
316
322
  export { listActionTemplateRevisions, useListActionTemplateRevisionsQuery, } from './hooks/useListActionTemplateRevisionsQuery';
317
323
  export type { ListActionsErrorResponse, ListActionsOkResponse, ListActionsProps, ListActionsQueryQueryParams, } from './hooks/useListActionsQuery';
@@ -356,6 +362,8 @@ export type { ListExperimentRuntimeInputsV3ErrorResponse, ListExperimentRuntimeI
356
362
  export { listExperimentRuntimeInputsV3, useListExperimentRuntimeInputsV3Query, } from './hooks/useListExperimentRuntimeInputsV3Query';
357
363
  export type { ListExperimentTemplateErrorResponse, ListExperimentTemplateOkResponse, ListExperimentTemplateProps, ListExperimentTemplateQueryQueryParams, } from './hooks/useListExperimentTemplateQuery';
358
364
  export { listExperimentTemplate, useListExperimentTemplateQuery, } from './hooks/useListExperimentTemplateQuery';
365
+ export type { ListExperimentTemplateReferencedByErrorResponse, ListExperimentTemplateReferencedByOkResponse, ListExperimentTemplateReferencedByProps, ListExperimentTemplateReferencedByQueryPathParams, ListExperimentTemplateReferencedByQueryQueryParams, } from './hooks/useListExperimentTemplateReferencedByQuery';
366
+ export { listExperimentTemplateReferencedBy, useListExperimentTemplateReferencedByQuery, } from './hooks/useListExperimentTemplateReferencedByQuery';
359
367
  export type { ListExperimentsErrorResponse, ListExperimentsOkResponse, ListExperimentsProps, ListExperimentsQueryQueryParams, ListExperimentsRequestBody, } from './hooks/useListExperimentsQuery';
360
368
  export { listExperiments, useListExperimentsQuery } from './hooks/useListExperimentsQuery';
361
369
  export type { ListExperimentsV3ErrorResponse, ListExperimentsV3OkResponse, ListExperimentsV3Props, ListExperimentsV3QueryQueryParams, } from './hooks/useListExperimentsV3Query';
@@ -366,8 +374,12 @@ export type { ListFaultMetadataErrorResponse, ListFaultMetadataOkResponse, ListF
366
374
  export { listFaultMetadata, useListFaultMetadataQuery } from './hooks/useListFaultMetadataQuery';
367
375
  export type { ListFaultErrorResponse, ListFaultOkResponse, ListFaultProps, ListFaultQueryQueryParams, } from './hooks/useListFaultQuery';
368
376
  export { listFault, useListFaultQuery } from './hooks/useListFaultQuery';
377
+ export type { ListFaultReferencedByErrorResponse, ListFaultReferencedByOkResponse, ListFaultReferencedByProps, ListFaultReferencedByQueryPathParams, ListFaultReferencedByQueryQueryParams, } from './hooks/useListFaultReferencedByQuery';
378
+ export { listFaultReferencedBy, useListFaultReferencedByQuery, } from './hooks/useListFaultReferencedByQuery';
369
379
  export type { ListFaultTemplateErrorResponse, ListFaultTemplateOkResponse, ListFaultTemplateProps, ListFaultTemplateQueryQueryParams, } from './hooks/useListFaultTemplateQuery';
370
380
  export { listFaultTemplate, useListFaultTemplateQuery } from './hooks/useListFaultTemplateQuery';
381
+ export type { ListFaultTemplateReferencedByErrorResponse, ListFaultTemplateReferencedByOkResponse, ListFaultTemplateReferencedByProps, ListFaultTemplateReferencedByQueryPathParams, ListFaultTemplateReferencedByQueryQueryParams, } from './hooks/useListFaultTemplateReferencedByQuery';
382
+ export { listFaultTemplateReferencedBy, useListFaultTemplateReferencedByQuery, } from './hooks/useListFaultTemplateReferencedByQuery';
371
383
  export type { ListFaultv2ErrorResponse, ListFaultv2OkResponse, ListFaultv2Props, ListFaultv2QueryQueryParams, } from './hooks/useListFaultv2Query';
372
384
  export { listFaultv2, useListFaultv2Query } from './hooks/useListFaultv2Query';
373
385
  export type { ListFunctionErrorResponse, ListFunctionOkResponse, ListFunctionProps, ListFunctionQueryPathParams, ListFunctionQueryQueryParams, } from './hooks/useListFunctionQuery';
@@ -398,10 +410,14 @@ export type { ListProbeExecutionsErrorResponse, ListProbeExecutionsOkResponse, L
398
410
  export { listProbeExecutions, useListProbeExecutionsQuery, } from './hooks/useListProbeExecutionsQuery';
399
411
  export type { ListProbeMetadataErrorResponse, ListProbeMetadataOkResponse, ListProbeMetadataProps, ListProbeMetadataQueryQueryParams, ListProbeMetadataRequestBody, } from './hooks/useListProbeMetadataQuery';
400
412
  export { listProbeMetadata, useListProbeMetadataQuery } from './hooks/useListProbeMetadataQuery';
413
+ export type { ListProbeReferencedByErrorResponse, ListProbeReferencedByOkResponse, ListProbeReferencedByProps, ListProbeReferencedByQueryPathParams, ListProbeReferencedByQueryQueryParams, } from './hooks/useListProbeReferencedByQuery';
414
+ export { listProbeReferencedBy, useListProbeReferencedByQuery, } from './hooks/useListProbeReferencedByQuery';
401
415
  export type { ListProbeRunsErrorResponse, ListProbeRunsOkResponse, ListProbeRunsProps, ListProbeRunsQueryQueryParams, } from './hooks/useListProbeRunsQuery';
402
416
  export { listProbeRuns, useListProbeRunsQuery } from './hooks/useListProbeRunsQuery';
403
417
  export type { ListProbeTemplateErrorResponse, ListProbeTemplateOkResponse, ListProbeTemplateProps, ListProbeTemplateQueryQueryParams, } from './hooks/useListProbeTemplateQuery';
404
418
  export { listProbeTemplate, useListProbeTemplateQuery } from './hooks/useListProbeTemplateQuery';
419
+ export type { ListProbeTemplateReferencedByErrorResponse, ListProbeTemplateReferencedByOkResponse, ListProbeTemplateReferencedByProps, ListProbeTemplateReferencedByQueryPathParams, ListProbeTemplateReferencedByQueryQueryParams, } from './hooks/useListProbeTemplateReferencedByQuery';
420
+ export { listProbeTemplateReferencedBy, useListProbeTemplateReferencedByQuery, } from './hooks/useListProbeTemplateReferencedByQuery';
405
421
  export type { ListProbesErrorResponse, ListProbesOkResponse, ListProbesProps, ListProbesQueryQueryParams, } from './hooks/useListProbesQuery';
406
422
  export { listProbes, useListProbesQuery } from './hooks/useListProbesQuery';
407
423
  export type { ListRecommendationsErrorResponse, ListRecommendationsOkResponse, ListRecommendationsProps, ListRecommendationsQueryQueryParams, ListRecommendationsRequestBody, } from './hooks/useListRecommendationsQuery';
@@ -496,6 +512,8 @@ export type { SummarizeScannedRisksByServiceErrorResponse, SummarizeScannedRisks
496
512
  export { summarizeScannedRisksByService, useSummarizeScannedRisksByServiceMutation, } from './hooks/useSummarizeScannedRisksByServiceMutation';
497
513
  export type { TestLegacyKubernetesChaosInfraConnectionErrorResponse, TestLegacyKubernetesChaosInfraConnectionOkResponse, TestLegacyKubernetesChaosInfraConnectionProps, TestLegacyKubernetesChaosInfraConnectionQueryPathParams, TestLegacyKubernetesChaosInfraConnectionQueryQueryParams, } from './hooks/useTestLegacyKubernetesChaosInfraConnectionQuery';
498
514
  export { testLegacyKubernetesChaosInfraConnection, useTestLegacyKubernetesChaosInfraConnectionQuery, } from './hooks/useTestLegacyKubernetesChaosInfraConnectionQuery';
515
+ export type { TriggerRiskScanErrorResponse, TriggerRiskScanMutationProps, TriggerRiskScanMutationQueryParams, TriggerRiskScanOkResponse, TriggerRiskScanProps, TriggerRiskScanRequestBody, } from './hooks/useTriggerRiskScanMutation';
516
+ export { triggerRiskScan, useTriggerRiskScanMutation } from './hooks/useTriggerRiskScanMutation';
499
517
  export type { TriggerServiceRiskScanErrorResponse, TriggerServiceRiskScanMutationPathParams, TriggerServiceRiskScanMutationProps, TriggerServiceRiskScanMutationQueryParams, TriggerServiceRiskScanOkResponse, TriggerServiceRiskScanProps, } from './hooks/useTriggerServiceRiskScanMutation';
500
518
  export { triggerServiceRiskScan, useTriggerServiceRiskScanMutation, } from './hooks/useTriggerServiceRiskScanMutation';
501
519
  export type { UpdateActionErrorResponse, UpdateActionMutationPathParams, UpdateActionMutationProps, UpdateActionMutationQueryParams, UpdateActionOkResponse, UpdateActionProps, UpdateActionRequestBody, } from './hooks/useUpdateActionMutation';
@@ -687,6 +705,8 @@ export type { ChaosexperimenttemplateExperimentTemplateYaml } from './schemas/Ch
687
705
  export type { ChaosexperimenttemplateGetExperimentTemplateResponse } from './schemas/ChaosexperimenttemplateGetExperimentTemplateResponse';
688
706
  export type { ChaosexperimenttemplateInputs } from './schemas/ChaosexperimenttemplateInputs';
689
707
  export type { ChaosexperimenttemplateListExperimentTemplateResponse } from './schemas/ChaosexperimenttemplateListExperimentTemplateResponse';
708
+ export type { ChaosexperimenttemplateListReferencedByResponse } from './schemas/ChaosexperimenttemplateListReferencedByResponse';
709
+ export type { ChaosexperimenttemplateReferencedByItem } from './schemas/ChaosexperimenttemplateReferencedByItem';
690
710
  export type { ChaosexperimenttemplateUpdateExperimentTemplateRequest } from './schemas/ChaosexperimenttemplateUpdateExperimentTemplateRequest';
691
711
  export type { ChaosexperimenttemplateUpdateExperimentTemplateResponse } from './schemas/ChaosexperimenttemplateUpdateExperimentTemplateResponse';
692
712
  export type { ChaosfaultChaosFault } from './schemas/ChaosfaultChaosFault';
@@ -743,9 +763,11 @@ export type { Chaoshubv2ListHubResponse } from './schemas/Chaoshubv2ListHubRespo
743
763
  export type { Chaoshubv2UpdateHubRequest } from './schemas/Chaoshubv2UpdateHubRequest';
744
764
  export type { ChaosprobetemplateGetProbeTemplateResponse } from './schemas/ChaosprobetemplateGetProbeTemplateResponse';
745
765
  export type { ChaosprobetemplateListProbeTemplateResponse } from './schemas/ChaosprobetemplateListProbeTemplateResponse';
766
+ export type { ChaosprobetemplateListReferencedByResponse } from './schemas/ChaosprobetemplateListReferencedByResponse';
746
767
  export type { ChaosprobetemplateProbeTemplate } from './schemas/ChaosprobetemplateProbeTemplate';
747
768
  export type { ChaosprobetemplateProbeTemplateCount } from './schemas/ChaosprobetemplateProbeTemplateCount';
748
769
  export type { ChaosprobetemplateProbeTemplateVariables } from './schemas/ChaosprobetemplateProbeTemplateVariables';
770
+ export type { ChaosprobetemplateReferencedByItem } from './schemas/ChaosprobetemplateReferencedByItem';
749
771
  export type { ChaosresourcenotesNoteType } from './schemas/ChaosresourcenotesNoteType';
750
772
  export type { ChaosservicesChaosServiceResponse } from './schemas/ChaosservicesChaosServiceResponse';
751
773
  export type { ChaosservicesCreateRequest } from './schemas/ChaosservicesCreateRequest';
@@ -946,6 +968,10 @@ export type { GithubComHarnessHceSaasGraphqlServerGraphModelUserDetails } from '
946
968
  export type { GithubComHarnessHceSaasGraphqlServerPkgActionsAction } from './schemas/GithubComHarnessHceSaasGraphqlServerPkgActionsAction';
947
969
  export type { GithubComHarnessHceSaasGraphqlServerPkgChaosV2ExperimentRunTypesUserDetails } from './schemas/GithubComHarnessHceSaasGraphqlServerPkgChaosV2ExperimentRunTypesUserDetails';
948
970
  export type { GithubComHarnessHceSaasGraphqlServerPkgChaosV2ProbesTypesUserDetails } from './schemas/GithubComHarnessHceSaasGraphqlServerPkgChaosV2ProbesTypesUserDetails';
971
+ export type { GithubComHarnessHceSaasGraphqlServerPkgChaosactiontemplateListReferencedByResponse } from './schemas/GithubComHarnessHceSaasGraphqlServerPkgChaosactiontemplateListReferencedByResponse';
972
+ export type { GithubComHarnessHceSaasGraphqlServerPkgChaosactiontemplateReferencedByItem } from './schemas/GithubComHarnessHceSaasGraphqlServerPkgChaosactiontemplateReferencedByItem';
973
+ export type { GithubComHarnessHceSaasGraphqlServerPkgChaosfaulttemplateListReferencedByResponse } from './schemas/GithubComHarnessHceSaasGraphqlServerPkgChaosfaulttemplateListReferencedByResponse';
974
+ export type { GithubComHarnessHceSaasGraphqlServerPkgChaosfaulttemplateReferencedByItem } from './schemas/GithubComHarnessHceSaasGraphqlServerPkgChaosfaulttemplateReferencedByItem';
949
975
  export type { GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbActionsAction } from './schemas/GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbActionsAction';
950
976
  export type { GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbChaosprobetemplateChaosProbeTemplate } from './schemas/GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbChaosprobetemplateChaosProbeTemplate';
951
977
  export type { GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeAppDynamicsProbeInputs } from './schemas/GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeAppDynamicsProbeInputs';
@@ -1356,8 +1382,11 @@ export type { SharedExecutionRunPipelineDetails } from './schemas/SharedExecutio
1356
1382
  export type { SharedExecutionRunSource } from './schemas/SharedExecutionRunSource';
1357
1383
  export type { SharedListExecutionRunsResponse } from './schemas/SharedListExecutionRunsResponse';
1358
1384
  export type { SharedListMetadataResponse } from './schemas/SharedListMetadataResponse';
1385
+ export type { SharedListReferencedByResponse } from './schemas/SharedListReferencedByResponse';
1359
1386
  export type { SharedMetadata } from './schemas/SharedMetadata';
1360
1387
  export type { SharedPaginationResponse } from './schemas/SharedPaginationResponse';
1388
+ export type { SharedReferencedByItem } from './schemas/SharedReferencedByItem';
1389
+ export type { SharedReferencedByKind } from './schemas/SharedReferencedByKind';
1361
1390
  export type { TargetnetworkmapExperimentCreationMode } from './schemas/TargetnetworkmapExperimentCreationMode';
1362
1391
  export type { TargetnetworkmapExperimentRunDetail } from './schemas/TargetnetworkmapExperimentRunDetail';
1363
1392
  export type { TargetnetworkmapStatus } from './schemas/TargetnetworkmapStatus';
@@ -1637,9 +1666,13 @@ export type { V2OnboardingV2Onboarding } from './schemas/V2OnboardingV2Onboardin
1637
1666
  export type { V2OnboardingV2OnboardingList } from './schemas/V2OnboardingV2OnboardingList';
1638
1667
  export type { V2OnboardingV2OnboardingRequest } from './schemas/V2OnboardingV2OnboardingRequest';
1639
1668
  export type { V2OnboardingV2OnboardingStatus } from './schemas/V2OnboardingV2OnboardingStatus';
1669
+ export type { V3AbortRiskScanRequest } from './schemas/V3AbortRiskScanRequest';
1640
1670
  export type { V3GetExperimentOrTemplateVariableData } from './schemas/V3GetExperimentOrTemplateVariableData';
1641
1671
  export type { V3GetExperimentOrTemplateVariableResponse } from './schemas/V3GetExperimentOrTemplateVariableResponse';
1642
1672
  export type { V3ListExperimentData } from './schemas/V3ListExperimentData';
1643
1673
  export type { V3ListExperimentOrTemplateResponse } from './schemas/V3ListExperimentOrTemplateResponse';
1644
1674
  export type { V3ProcessTemplateRequest } from './schemas/V3ProcessTemplateRequest';
1645
1675
  export type { V3ProcessTemplateResponse } from './schemas/V3ProcessTemplateResponse';
1676
+ export type { V3TriggerRiskScanRequest } from './schemas/V3TriggerRiskScanRequest';
1677
+ export type { V3TriggerRiskScanResponse } from './schemas/V3TriggerRiskScanResponse';
1678
+ export type { V3TriggerRiskScanResponseData } from './schemas/V3TriggerRiskScanResponseData';
@@ -152,9 +152,12 @@ export { getV2Onboarding, useGetV2OnboardingQuery } from './hooks/useGetV2Onboar
152
152
  export { healthCheckV3, useHealthCheckV3Query } from './hooks/useHealthCheckV3Query';
153
153
  export { importAction, useImportActionMutation } from './hooks/useImportActionMutation';
154
154
  export { importProbe, useImportProbeMutation } from './hooks/useImportProbeMutation';
155
+ export { internalAbortRiskScan, useInternalAbortRiskScanMutation, } from './hooks/useInternalAbortRiskScanMutation';
155
156
  export { listActionMetadata, useListActionMetadataQuery } from './hooks/useListActionMetadataQuery';
157
+ export { listActionReferencedBy, useListActionReferencedByQuery, } from './hooks/useListActionReferencedByQuery';
156
158
  export { listActionRuns, useListActionRunsQuery } from './hooks/useListActionRunsQuery';
157
159
  export { listActionTemplate, useListActionTemplateQuery } from './hooks/useListActionTemplateQuery';
160
+ export { listActionTemplateReferencedBy, useListActionTemplateReferencedByQuery, } from './hooks/useListActionTemplateReferencedByQuery';
158
161
  export { listActionTemplateRevisions, useListActionTemplateRevisionsQuery, } from './hooks/useListActionTemplateRevisionsQuery';
159
162
  export { listActions, useListActionsQuery } from './hooks/useListActionsQuery';
160
163
  export { listAllChaosExperimentRunsV3, useListAllChaosExperimentRunsV3Query, } from './hooks/useListAllChaosExperimentRunsV3Query';
@@ -177,12 +180,15 @@ export { listExperimentOrTemplate, useListExperimentOrTemplateQuery, } from './h
177
180
  export { listExperimentRunsOfFault, useListExperimentRunsOfFaultQuery, } from './hooks/useListExperimentRunsOfFaultQuery';
178
181
  export { listExperimentRuntimeInputsV3, useListExperimentRuntimeInputsV3Query, } from './hooks/useListExperimentRuntimeInputsV3Query';
179
182
  export { listExperimentTemplate, useListExperimentTemplateQuery, } from './hooks/useListExperimentTemplateQuery';
183
+ export { listExperimentTemplateReferencedBy, useListExperimentTemplateReferencedByQuery, } from './hooks/useListExperimentTemplateReferencedByQuery';
180
184
  export { listExperiments, useListExperimentsQuery } from './hooks/useListExperimentsQuery';
181
185
  export { listExperimentsV3, useListExperimentsV3Query } from './hooks/useListExperimentsV3Query';
182
186
  export { listExperimentsWithActiveInfrasMinimalNotification, useListExperimentsWithActiveInfrasMinimalNotificationQuery, } from './hooks/useListExperimentsWithActiveInfrasMinimalNotificationQuery';
183
187
  export { listFaultMetadata, useListFaultMetadataQuery } from './hooks/useListFaultMetadataQuery';
184
188
  export { listFault, useListFaultQuery } from './hooks/useListFaultQuery';
189
+ export { listFaultReferencedBy, useListFaultReferencedByQuery, } from './hooks/useListFaultReferencedByQuery';
185
190
  export { listFaultTemplate, useListFaultTemplateQuery } from './hooks/useListFaultTemplateQuery';
191
+ export { listFaultTemplateReferencedBy, useListFaultTemplateReferencedByQuery, } from './hooks/useListFaultTemplateReferencedByQuery';
186
192
  export { listFaultv2, useListFaultv2Query } from './hooks/useListFaultv2Query';
187
193
  export { listFunction, useListFunctionQuery } from './hooks/useListFunctionQuery';
188
194
  export { listGamedayMetadata, useListGamedayMetadataQuery, } from './hooks/useListGamedayMetadataQuery';
@@ -198,8 +204,10 @@ export { listOnboardedServices, useListOnboardedServicesQuery, } from './hooks/u
198
204
  export { listPipelineOnboarding, useListPipelineOnboardingQuery, } from './hooks/useListPipelineOnboardingQuery';
199
205
  export { listProbeExecutions, useListProbeExecutionsQuery, } from './hooks/useListProbeExecutionsQuery';
200
206
  export { listProbeMetadata, useListProbeMetadataQuery } from './hooks/useListProbeMetadataQuery';
207
+ export { listProbeReferencedBy, useListProbeReferencedByQuery, } from './hooks/useListProbeReferencedByQuery';
201
208
  export { listProbeRuns, useListProbeRunsQuery } from './hooks/useListProbeRunsQuery';
202
209
  export { listProbeTemplate, useListProbeTemplateQuery } from './hooks/useListProbeTemplateQuery';
210
+ export { listProbeTemplateReferencedBy, useListProbeTemplateReferencedByQuery, } from './hooks/useListProbeTemplateReferencedByQuery';
203
211
  export { listProbes, useListProbesQuery } from './hooks/useListProbesQuery';
204
212
  export { listRecommendations, useListRecommendationsQuery, } from './hooks/useListRecommendationsQuery';
205
213
  export { listRiskRules, useListRiskRulesQuery } from './hooks/useListRiskRulesQuery';
@@ -247,6 +255,7 @@ export { stopDrTest, useStopDrTestMutation } from './hooks/useStopDrTestMutation
247
255
  export { stopOnboardingExperiments, useStopOnboardingExperimentsMutation, } from './hooks/useStopOnboardingExperimentsMutation';
248
256
  export { summarizeScannedRisksByService, useSummarizeScannedRisksByServiceMutation, } from './hooks/useSummarizeScannedRisksByServiceMutation';
249
257
  export { testLegacyKubernetesChaosInfraConnection, useTestLegacyKubernetesChaosInfraConnectionQuery, } from './hooks/useTestLegacyKubernetesChaosInfraConnectionQuery';
258
+ export { triggerRiskScan, useTriggerRiskScanMutation } from './hooks/useTriggerRiskScanMutation';
250
259
  export { triggerServiceRiskScan, useTriggerServiceRiskScanMutation, } from './hooks/useTriggerServiceRiskScanMutation';
251
260
  export { updateAction, useUpdateActionMutation } from './hooks/useUpdateActionMutation';
252
261
  export { updateActionTemplate, useUpdateActionTemplateMutation, } from './hooks/useUpdateActionTemplateMutation';
@@ -0,0 +1,7 @@
1
+ import type { ChaosexperimenttemplateReferencedByItem } from '../schemas/ChaosexperimenttemplateReferencedByItem';
2
+ import type { SharedPaginationResponse } from '../schemas/SharedPaginationResponse';
3
+ export interface ChaosexperimenttemplateListReferencedByResponse {
4
+ correlationID?: string;
5
+ data?: ChaosexperimenttemplateReferencedByItem[];
6
+ pagination?: SharedPaginationResponse;
7
+ }
@@ -0,0 +1,12 @@
1
+ import type { SharedReferencedByKind } from '../schemas/SharedReferencedByKind';
2
+ export interface ChaosexperimenttemplateReferencedByItem {
3
+ /**
4
+ * experiment_id for Experiment-kind items (deep link)
5
+ */
6
+ experimentId?: string;
7
+ identity?: string;
8
+ kind?: SharedReferencedByKind;
9
+ name?: string;
10
+ orgIdentifier?: string;
11
+ projectIdentifier?: string;
12
+ }
@@ -0,0 +1,7 @@
1
+ import type { ChaosprobetemplateReferencedByItem } from '../schemas/ChaosprobetemplateReferencedByItem';
2
+ import type { SharedPaginationResponse } from '../schemas/SharedPaginationResponse';
3
+ export interface ChaosprobetemplateListReferencedByResponse {
4
+ correlationID?: string;
5
+ data?: ChaosprobetemplateReferencedByItem[];
6
+ pagination?: SharedPaginationResponse;
7
+ }
@@ -0,0 +1,12 @@
1
+ import type { SharedReferencedByKind } from '../schemas/SharedReferencedByKind';
2
+ export interface ChaosprobetemplateReferencedByItem {
3
+ /**
4
+ * hub_identity of the referencing experiment template
5
+ */
6
+ hubIdentity?: string;
7
+ identity?: string;
8
+ kind?: SharedReferencedByKind;
9
+ name?: string;
10
+ orgIdentifier?: string;
11
+ projectIdentifier?: string;
12
+ }
@@ -16,6 +16,7 @@ export interface ChaosservicesChaosServiceResponse {
16
16
  identity?: string;
17
17
  infrastructureId?: string;
18
18
  infrastructureType?: MongodbInfrastructureType;
19
+ isAvailable?: boolean;
19
20
  isRemoved: boolean;
20
21
  name: string;
21
22
  namespace?: string;
@@ -0,0 +1,7 @@
1
+ import type { GithubComHarnessHceSaasGraphqlServerPkgChaosactiontemplateReferencedByItem } from '../schemas/GithubComHarnessHceSaasGraphqlServerPkgChaosactiontemplateReferencedByItem';
2
+ import type { SharedPaginationResponse } from '../schemas/SharedPaginationResponse';
3
+ export interface GithubComHarnessHceSaasGraphqlServerPkgChaosactiontemplateListReferencedByResponse {
4
+ correlationID?: string;
5
+ data?: GithubComHarnessHceSaasGraphqlServerPkgChaosactiontemplateReferencedByItem[];
6
+ pagination?: SharedPaginationResponse;
7
+ }
@@ -0,0 +1,12 @@
1
+ import type { SharedReferencedByKind } from '../schemas/SharedReferencedByKind';
2
+ export interface GithubComHarnessHceSaasGraphqlServerPkgChaosactiontemplateReferencedByItem {
3
+ /**
4
+ * hub_identity of the referencing experiment template
5
+ */
6
+ hubIdentity?: string;
7
+ identity?: string;
8
+ kind?: SharedReferencedByKind;
9
+ name?: string;
10
+ orgIdentifier?: string;
11
+ projectIdentifier?: string;
12
+ }
@@ -0,0 +1,7 @@
1
+ import type { GithubComHarnessHceSaasGraphqlServerPkgChaosfaulttemplateReferencedByItem } from '../schemas/GithubComHarnessHceSaasGraphqlServerPkgChaosfaulttemplateReferencedByItem';
2
+ import type { SharedPaginationResponse } from '../schemas/SharedPaginationResponse';
3
+ export interface GithubComHarnessHceSaasGraphqlServerPkgChaosfaulttemplateListReferencedByResponse {
4
+ correlationID?: string;
5
+ data?: GithubComHarnessHceSaasGraphqlServerPkgChaosfaulttemplateReferencedByItem[];
6
+ pagination?: SharedPaginationResponse;
7
+ }
@@ -0,0 +1,12 @@
1
+ import type { SharedReferencedByKind } from '../schemas/SharedReferencedByKind';
2
+ export interface GithubComHarnessHceSaasGraphqlServerPkgChaosfaulttemplateReferencedByItem {
3
+ /**
4
+ * hub_identity of the referencing experiment template
5
+ */
6
+ hubIdentity?: string;
7
+ identity?: string;
8
+ kind?: SharedReferencedByKind;
9
+ name?: string;
10
+ orgIdentifier?: string;
11
+ projectIdentifier?: string;
12
+ }
@@ -1,6 +1,7 @@
1
1
  import type { RiskPipelineInfrastructure } from '../schemas/RiskPipelineInfrastructure';
2
2
  export interface RiskScanSourcePipeline {
3
3
  infrastructures?: RiskPipelineInfrastructure[];
4
+ notifyID?: string;
4
5
  pipelineExecutionID?: string;
5
6
  pipelineIdentity?: string;
6
7
  }
@@ -0,0 +1,7 @@
1
+ import type { SharedReferencedByItem } from '../schemas/SharedReferencedByItem';
2
+ import type { SharedPaginationResponse } from '../schemas/SharedPaginationResponse';
3
+ export interface SharedListReferencedByResponse {
4
+ correlationID?: string;
5
+ data?: SharedReferencedByItem[];
6
+ pagination?: SharedPaginationResponse;
7
+ }
@@ -0,0 +1,12 @@
1
+ import type { SharedReferencedByKind } from '../schemas/SharedReferencedByKind';
2
+ export interface SharedReferencedByItem {
3
+ /**
4
+ * experiment_id for Experiment-kind items (deep link)
5
+ */
6
+ experimentId?: string;
7
+ identity?: string;
8
+ kind?: SharedReferencedByKind;
9
+ name?: string;
10
+ orgIdentifier?: string;
11
+ projectIdentifier?: string;
12
+ }
@@ -0,0 +1 @@
1
+ export type SharedReferencedByKind = 'Action' | 'Experiment' | 'ExperimentTemplate' | 'Fault' | 'Probe';
@@ -0,0 +1,4 @@
1
+ /* eslint-disable */
2
+ // This code is autogenerated using @harnessio/oats-cli.
3
+ // Please do not modify this code directly.
4
+ export {};
@@ -13,6 +13,7 @@ export interface V2OnboardingChaosInfraAdvanceConfiguration {
13
13
  autopilotEnabled?: boolean;
14
14
  containers?: string;
15
15
  env?: InfraV2Env[];
16
+ helperNodeSelectorKeys?: string[];
16
17
  imagePullPolicy?: V1PullPolicy;
17
18
  insecureSkipVerify?: boolean;
18
19
  label?: {
@@ -0,0 +1,3 @@
1
+ export interface V3AbortRiskScanRequest {
2
+ scanIdentity: string;
3
+ }
@@ -0,0 +1,4 @@
1
+ /* eslint-disable */
2
+ // This code is autogenerated using @harnessio/oats-cli.
3
+ // Please do not modify this code directly.
4
+ export {};
@@ -0,0 +1,4 @@
1
+ export interface V3TriggerRiskScanRequest {
2
+ notifyId?: string;
3
+ scanMode: string;
4
+ }
@@ -0,0 +1,4 @@
1
+ /* eslint-disable */
2
+ // This code is autogenerated using @harnessio/oats-cli.
3
+ // Please do not modify this code directly.
4
+ export {};
@@ -0,0 +1,5 @@
1
+ import type { V3TriggerRiskScanResponseData } from '../schemas/V3TriggerRiskScanResponseData';
2
+ export interface V3TriggerRiskScanResponse {
3
+ data?: V3TriggerRiskScanResponseData;
4
+ status?: string;
5
+ }
@@ -0,0 +1,6 @@
1
+ export interface V3TriggerRiskScanResponseData {
2
+ error?: string;
3
+ logKeys?: string[];
4
+ scanIdentity?: string;
5
+ units?: string[];
6
+ }
@@ -0,0 +1,4 @@
1
+ /* eslint-disable */
2
+ // This code is autogenerated using @harnessio/oats-cli.
3
+ // Please do not modify this code directly.
4
+ export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@harnessio/react-chaos-manager-client",
3
- "version": "1.87.1",
3
+ "version": "1.88.1",
4
4
  "description": "Harness React Chaos Manager Service Client - APIs integrated with react hooks",
5
5
  "author": "Harness Inc",
6
6
  "license": "MIT",