@harnessio/react-chaos-manager-client 1.91.8 → 1.91.9

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 (30) hide show
  1. package/dist/chaos-manager/src/services/hooks/useCreateRiskRuleMutation.d.ts +1 -1
  2. package/dist/chaos-manager/src/services/hooks/useCreateRiskRuleMutation.js +1 -1
  3. package/dist/chaos-manager/src/services/hooks/useListActionSpecVariablesMutation.d.ts +30 -0
  4. package/dist/chaos-manager/src/services/hooks/useListActionSpecVariablesMutation.js +14 -0
  5. package/dist/chaos-manager/src/services/hooks/useListActionTemplateSpecVariablesMutation.d.ts +30 -0
  6. package/dist/chaos-manager/src/services/hooks/useListActionTemplateSpecVariablesMutation.js +14 -0
  7. package/dist/chaos-manager/src/services/hooks/useListExperimentSpecVariablesMutation.d.ts +30 -0
  8. package/dist/chaos-manager/src/services/hooks/useListExperimentSpecVariablesMutation.js +14 -0
  9. package/dist/chaos-manager/src/services/hooks/useListExperimentTemplateSpecVariablesMutation.d.ts +30 -0
  10. package/dist/chaos-manager/src/services/hooks/useListExperimentTemplateSpecVariablesMutation.js +14 -0
  11. package/dist/chaos-manager/src/services/hooks/useListFaultSpecVariablesMutation.d.ts +30 -0
  12. package/dist/chaos-manager/src/services/hooks/useListFaultSpecVariablesMutation.js +14 -0
  13. package/dist/chaos-manager/src/services/hooks/useListFaultTemplateSpecVariablesMutation.d.ts +30 -0
  14. package/dist/chaos-manager/src/services/hooks/useListFaultTemplateSpecVariablesMutation.js +14 -0
  15. package/dist/chaos-manager/src/services/hooks/useListProbeSpecVariablesMutation.d.ts +30 -0
  16. package/dist/chaos-manager/src/services/hooks/useListProbeSpecVariablesMutation.js +14 -0
  17. package/dist/chaos-manager/src/services/hooks/useListProbeTemplateSpecVariablesMutation.d.ts +30 -0
  18. package/dist/chaos-manager/src/services/hooks/useListProbeTemplateSpecVariablesMutation.js +14 -0
  19. package/dist/chaos-manager/src/services/index.d.ts +20 -0
  20. package/dist/chaos-manager/src/services/index.js +8 -0
  21. package/dist/chaos-manager/src/services/requestBodies/SharedSpecVariablesRequestRequestBody.d.ts +2 -0
  22. package/dist/chaos-manager/src/services/requestBodies/SharedSpecVariablesRequestRequestBody.js +1 -0
  23. package/dist/chaos-manager/src/services/schemas/ScannedrisksRiskStatusDetails.d.ts +6 -1
  24. package/dist/chaos-manager/src/services/schemas/SharedSpecVariable.d.ts +11 -0
  25. package/dist/chaos-manager/src/services/schemas/SharedSpecVariable.js +4 -0
  26. package/dist/chaos-manager/src/services/schemas/SharedSpecVariablesRequest.d.ts +3 -0
  27. package/dist/chaos-manager/src/services/schemas/SharedSpecVariablesRequest.js +4 -0
  28. package/dist/chaos-manager/src/services/schemas/SharedSpecVariablesResponse.d.ts +6 -0
  29. package/dist/chaos-manager/src/services/schemas/SharedSpecVariablesResponse.js +1 -0
  30. package/package.json +1 -1
@@ -24,6 +24,6 @@ export interface CreateRiskRuleResponseContainer {
24
24
  export declare function createRiskRule(props: CreateRiskRuleProps): Promise<CreateRiskRuleResponseContainer>;
25
25
  export type CreateRiskRuleMutationProps<T extends keyof CreateRiskRuleProps> = Omit<CreateRiskRuleProps, T> & Partial<Pick<CreateRiskRuleProps, T>>;
26
26
  /**
27
- * creates an account-scoped custom risk rule. accountIdentifier is stored on the rule; organization and project stay empty. Only the SourceCode data source is supported; spec.faults must be non-empty and on the chaos fault allowlist.
27
+ * creates an account-scoped custom risk rule. accountIdentifier is stored on the rule; organization and project stay empty. spec.dataSource is SourceCode or ApplicationManifest; spec.faults must be on the chaos fault allowlist.
28
28
  */
29
29
  export declare function useCreateRiskRuleMutation<T extends keyof CreateRiskRuleProps>(props: Pick<Partial<CreateRiskRuleProps>, T>, options?: Omit<UseMutationOptions<CreateRiskRuleResponseContainer, CreateRiskRuleErrorResponse, CreateRiskRuleMutationProps<T>>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<CreateRiskRuleResponseContainer, SharedError, CreateRiskRuleMutationProps<T>, unknown>;
@@ -7,7 +7,7 @@ export function createRiskRule(props) {
7
7
  return fetcher(Object.assign({ url: `/v3/risk-rules`, method: 'POST' }, props));
8
8
  }
9
9
  /**
10
- * creates an account-scoped custom risk rule. accountIdentifier is stored on the rule; organization and project stay empty. Only the SourceCode data source is supported; spec.faults must be non-empty and on the chaos fault allowlist.
10
+ * creates an account-scoped custom risk rule. accountIdentifier is stored on the rule; organization and project stay empty. spec.dataSource is SourceCode or ApplicationManifest; spec.faults must be on the chaos fault allowlist.
11
11
  */
12
12
  export function useCreateRiskRuleMutation(props, options) {
13
13
  return useMutation((mutateProps) => createRiskRule(Object.assign(Object.assign({}, props), mutateProps)), options);
@@ -0,0 +1,30 @@
1
+ import { UseMutationOptions } from '@tanstack/react-query';
2
+ import type { SharedSpecVariablesResponse } from '../schemas/SharedSpecVariablesResponse';
3
+ import type { SharedError } from '../schemas/SharedError';
4
+ import type { SharedSpecVariablesRequestRequestBody } from '../requestBodies/SharedSpecVariablesRequestRequestBody';
5
+ import { FetcherOptions } from '../../../../custom-fetcher/index.js';
6
+ export interface ListActionSpecVariablesMutationQueryParams {
7
+ accountIdentifier: string;
8
+ correlationID?: string;
9
+ organizationIdentifier?: string;
10
+ parentUniqueId?: string;
11
+ projectIdentifier?: string;
12
+ search?: string;
13
+ }
14
+ export type ListActionSpecVariablesRequestBody = SharedSpecVariablesRequestRequestBody;
15
+ export type ListActionSpecVariablesOkResponse = SharedSpecVariablesResponse;
16
+ export type ListActionSpecVariablesErrorResponse = SharedError;
17
+ export interface ListActionSpecVariablesProps extends Omit<FetcherOptions<ListActionSpecVariablesMutationQueryParams, ListActionSpecVariablesRequestBody>, 'url'> {
18
+ queryParams: ListActionSpecVariablesMutationQueryParams;
19
+ body: ListActionSpecVariablesRequestBody;
20
+ }
21
+ export interface ListActionSpecVariablesResponseContainer {
22
+ body: ListActionSpecVariablesOkResponse;
23
+ headers: Headers;
24
+ }
25
+ export declare function listActionSpecVariables(props: ListActionSpecVariablesProps): Promise<ListActionSpecVariablesResponseContainer>;
26
+ export type ListActionSpecVariablesMutationProps<T extends keyof ListActionSpecVariablesProps> = Omit<ListActionSpecVariablesProps, T> & Partial<Pick<ListActionSpecVariablesProps, T>>;
27
+ /**
28
+ * decodes the provided action YAML, extracts its own variables and merges them with project/org/account scope platform variables
29
+ */
30
+ export declare function useListActionSpecVariablesMutation<T extends keyof ListActionSpecVariablesProps>(props: Pick<Partial<ListActionSpecVariablesProps>, T>, options?: Omit<UseMutationOptions<ListActionSpecVariablesResponseContainer, ListActionSpecVariablesErrorResponse, ListActionSpecVariablesMutationProps<T>>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<ListActionSpecVariablesResponseContainer, SharedError, ListActionSpecVariablesMutationProps<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 listActionSpecVariables(props) {
7
+ return fetcher(Object.assign({ url: `/v3/actions/variables`, method: 'POST' }, props));
8
+ }
9
+ /**
10
+ * decodes the provided action YAML, extracts its own variables and merges them with project/org/account scope platform variables
11
+ */
12
+ export function useListActionSpecVariablesMutation(props, options) {
13
+ return useMutation((mutateProps) => listActionSpecVariables(Object.assign(Object.assign({}, props), mutateProps)), options);
14
+ }
@@ -0,0 +1,30 @@
1
+ import { UseMutationOptions } from '@tanstack/react-query';
2
+ import type { SharedSpecVariablesResponse } from '../schemas/SharedSpecVariablesResponse';
3
+ import type { SharedError } from '../schemas/SharedError';
4
+ import type { SharedSpecVariablesRequestRequestBody } from '../requestBodies/SharedSpecVariablesRequestRequestBody';
5
+ import { FetcherOptions } from '../../../../custom-fetcher/index.js';
6
+ export interface ListActionTemplateSpecVariablesMutationQueryParams {
7
+ accountIdentifier: string;
8
+ correlationID?: string;
9
+ organizationIdentifier?: string;
10
+ parentUniqueId?: string;
11
+ projectIdentifier?: string;
12
+ search?: string;
13
+ }
14
+ export type ListActionTemplateSpecVariablesRequestBody = SharedSpecVariablesRequestRequestBody;
15
+ export type ListActionTemplateSpecVariablesOkResponse = SharedSpecVariablesResponse;
16
+ export type ListActionTemplateSpecVariablesErrorResponse = SharedError;
17
+ export interface ListActionTemplateSpecVariablesProps extends Omit<FetcherOptions<ListActionTemplateSpecVariablesMutationQueryParams, ListActionTemplateSpecVariablesRequestBody>, 'url'> {
18
+ queryParams: ListActionTemplateSpecVariablesMutationQueryParams;
19
+ body: ListActionTemplateSpecVariablesRequestBody;
20
+ }
21
+ export interface ListActionTemplateSpecVariablesResponseContainer {
22
+ body: ListActionTemplateSpecVariablesOkResponse;
23
+ headers: Headers;
24
+ }
25
+ export declare function listActionTemplateSpecVariables(props: ListActionTemplateSpecVariablesProps): Promise<ListActionTemplateSpecVariablesResponseContainer>;
26
+ export type ListActionTemplateSpecVariablesMutationProps<T extends keyof ListActionTemplateSpecVariablesProps> = Omit<ListActionTemplateSpecVariablesProps, T> & Partial<Pick<ListActionTemplateSpecVariablesProps, T>>;
27
+ /**
28
+ * decodes the provided action template YAML, extracts its own variables and merges them with project/org/account scope platform variables
29
+ */
30
+ export declare function useListActionTemplateSpecVariablesMutation<T extends keyof ListActionTemplateSpecVariablesProps>(props: Pick<Partial<ListActionTemplateSpecVariablesProps>, T>, options?: Omit<UseMutationOptions<ListActionTemplateSpecVariablesResponseContainer, ListActionTemplateSpecVariablesErrorResponse, ListActionTemplateSpecVariablesMutationProps<T>>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<ListActionTemplateSpecVariablesResponseContainer, SharedError, ListActionTemplateSpecVariablesMutationProps<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 listActionTemplateSpecVariables(props) {
7
+ return fetcher(Object.assign({ url: `/v3/action-templates/variables`, method: 'POST' }, props));
8
+ }
9
+ /**
10
+ * decodes the provided action template YAML, extracts its own variables and merges them with project/org/account scope platform variables
11
+ */
12
+ export function useListActionTemplateSpecVariablesMutation(props, options) {
13
+ return useMutation((mutateProps) => listActionTemplateSpecVariables(Object.assign(Object.assign({}, props), mutateProps)), options);
14
+ }
@@ -0,0 +1,30 @@
1
+ import { UseMutationOptions } from '@tanstack/react-query';
2
+ import type { SharedSpecVariablesResponse } from '../schemas/SharedSpecVariablesResponse';
3
+ import type { SharedError } from '../schemas/SharedError';
4
+ import type { SharedSpecVariablesRequestRequestBody } from '../requestBodies/SharedSpecVariablesRequestRequestBody';
5
+ import { FetcherOptions } from '../../../../custom-fetcher/index.js';
6
+ export interface ListExperimentSpecVariablesMutationQueryParams {
7
+ accountIdentifier: string;
8
+ correlationID?: string;
9
+ organizationIdentifier?: string;
10
+ parentUniqueId?: string;
11
+ projectIdentifier?: string;
12
+ search?: string;
13
+ }
14
+ export type ListExperimentSpecVariablesRequestBody = SharedSpecVariablesRequestRequestBody;
15
+ export type ListExperimentSpecVariablesOkResponse = SharedSpecVariablesResponse;
16
+ export type ListExperimentSpecVariablesErrorResponse = SharedError;
17
+ export interface ListExperimentSpecVariablesProps extends Omit<FetcherOptions<ListExperimentSpecVariablesMutationQueryParams, ListExperimentSpecVariablesRequestBody>, 'url'> {
18
+ queryParams: ListExperimentSpecVariablesMutationQueryParams;
19
+ body: ListExperimentSpecVariablesRequestBody;
20
+ }
21
+ export interface ListExperimentSpecVariablesResponseContainer {
22
+ body: ListExperimentSpecVariablesOkResponse;
23
+ headers: Headers;
24
+ }
25
+ export declare function listExperimentSpecVariables(props: ListExperimentSpecVariablesProps): Promise<ListExperimentSpecVariablesResponseContainer>;
26
+ export type ListExperimentSpecVariablesMutationProps<T extends keyof ListExperimentSpecVariablesProps> = Omit<ListExperimentSpecVariablesProps, T> & Partial<Pick<ListExperimentSpecVariablesProps, T>>;
27
+ /**
28
+ * decodes the provided experiment YAML, extracts its own variables and merges them with project/org/account scope platform variables
29
+ */
30
+ export declare function useListExperimentSpecVariablesMutation<T extends keyof ListExperimentSpecVariablesProps>(props: Pick<Partial<ListExperimentSpecVariablesProps>, T>, options?: Omit<UseMutationOptions<ListExperimentSpecVariablesResponseContainer, ListExperimentSpecVariablesErrorResponse, ListExperimentSpecVariablesMutationProps<T>>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<ListExperimentSpecVariablesResponseContainer, SharedError, ListExperimentSpecVariablesMutationProps<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 listExperimentSpecVariables(props) {
7
+ return fetcher(Object.assign({ url: `/v3/experiments/variables`, method: 'POST' }, props));
8
+ }
9
+ /**
10
+ * decodes the provided experiment YAML, extracts its own variables and merges them with project/org/account scope platform variables
11
+ */
12
+ export function useListExperimentSpecVariablesMutation(props, options) {
13
+ return useMutation((mutateProps) => listExperimentSpecVariables(Object.assign(Object.assign({}, props), mutateProps)), options);
14
+ }
@@ -0,0 +1,30 @@
1
+ import { UseMutationOptions } from '@tanstack/react-query';
2
+ import type { SharedSpecVariablesResponse } from '../schemas/SharedSpecVariablesResponse';
3
+ import type { SharedError } from '../schemas/SharedError';
4
+ import type { SharedSpecVariablesRequestRequestBody } from '../requestBodies/SharedSpecVariablesRequestRequestBody';
5
+ import { FetcherOptions } from '../../../../custom-fetcher/index.js';
6
+ export interface ListExperimentTemplateSpecVariablesMutationQueryParams {
7
+ accountIdentifier: string;
8
+ correlationID?: string;
9
+ organizationIdentifier?: string;
10
+ parentUniqueId?: string;
11
+ projectIdentifier?: string;
12
+ search?: string;
13
+ }
14
+ export type ListExperimentTemplateSpecVariablesRequestBody = SharedSpecVariablesRequestRequestBody;
15
+ export type ListExperimentTemplateSpecVariablesOkResponse = SharedSpecVariablesResponse;
16
+ export type ListExperimentTemplateSpecVariablesErrorResponse = SharedError;
17
+ export interface ListExperimentTemplateSpecVariablesProps extends Omit<FetcherOptions<ListExperimentTemplateSpecVariablesMutationQueryParams, ListExperimentTemplateSpecVariablesRequestBody>, 'url'> {
18
+ queryParams: ListExperimentTemplateSpecVariablesMutationQueryParams;
19
+ body: ListExperimentTemplateSpecVariablesRequestBody;
20
+ }
21
+ export interface ListExperimentTemplateSpecVariablesResponseContainer {
22
+ body: ListExperimentTemplateSpecVariablesOkResponse;
23
+ headers: Headers;
24
+ }
25
+ export declare function listExperimentTemplateSpecVariables(props: ListExperimentTemplateSpecVariablesProps): Promise<ListExperimentTemplateSpecVariablesResponseContainer>;
26
+ export type ListExperimentTemplateSpecVariablesMutationProps<T extends keyof ListExperimentTemplateSpecVariablesProps> = Omit<ListExperimentTemplateSpecVariablesProps, T> & Partial<Pick<ListExperimentTemplateSpecVariablesProps, T>>;
27
+ /**
28
+ * decodes the provided experiment template YAML, extracts its own variables and merges them with project/org/account scope platform variables
29
+ */
30
+ export declare function useListExperimentTemplateSpecVariablesMutation<T extends keyof ListExperimentTemplateSpecVariablesProps>(props: Pick<Partial<ListExperimentTemplateSpecVariablesProps>, T>, options?: Omit<UseMutationOptions<ListExperimentTemplateSpecVariablesResponseContainer, ListExperimentTemplateSpecVariablesErrorResponse, ListExperimentTemplateSpecVariablesMutationProps<T>>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<ListExperimentTemplateSpecVariablesResponseContainer, SharedError, ListExperimentTemplateSpecVariablesMutationProps<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 listExperimentTemplateSpecVariables(props) {
7
+ return fetcher(Object.assign({ url: `/v3/experiment-templates/variables`, method: 'POST' }, props));
8
+ }
9
+ /**
10
+ * decodes the provided experiment template YAML, extracts its own variables and merges them with project/org/account scope platform variables
11
+ */
12
+ export function useListExperimentTemplateSpecVariablesMutation(props, options) {
13
+ return useMutation((mutateProps) => listExperimentTemplateSpecVariables(Object.assign(Object.assign({}, props), mutateProps)), options);
14
+ }
@@ -0,0 +1,30 @@
1
+ import { UseMutationOptions } from '@tanstack/react-query';
2
+ import type { SharedSpecVariablesResponse } from '../schemas/SharedSpecVariablesResponse';
3
+ import type { SharedError } from '../schemas/SharedError';
4
+ import type { SharedSpecVariablesRequestRequestBody } from '../requestBodies/SharedSpecVariablesRequestRequestBody';
5
+ import { FetcherOptions } from '../../../../custom-fetcher/index.js';
6
+ export interface ListFaultSpecVariablesMutationQueryParams {
7
+ accountIdentifier: string;
8
+ correlationID?: string;
9
+ organizationIdentifier?: string;
10
+ parentUniqueId?: string;
11
+ projectIdentifier?: string;
12
+ search?: string;
13
+ }
14
+ export type ListFaultSpecVariablesRequestBody = SharedSpecVariablesRequestRequestBody;
15
+ export type ListFaultSpecVariablesOkResponse = SharedSpecVariablesResponse;
16
+ export type ListFaultSpecVariablesErrorResponse = SharedError;
17
+ export interface ListFaultSpecVariablesProps extends Omit<FetcherOptions<ListFaultSpecVariablesMutationQueryParams, ListFaultSpecVariablesRequestBody>, 'url'> {
18
+ queryParams: ListFaultSpecVariablesMutationQueryParams;
19
+ body: ListFaultSpecVariablesRequestBody;
20
+ }
21
+ export interface ListFaultSpecVariablesResponseContainer {
22
+ body: ListFaultSpecVariablesOkResponse;
23
+ headers: Headers;
24
+ }
25
+ export declare function listFaultSpecVariables(props: ListFaultSpecVariablesProps): Promise<ListFaultSpecVariablesResponseContainer>;
26
+ export type ListFaultSpecVariablesMutationProps<T extends keyof ListFaultSpecVariablesProps> = Omit<ListFaultSpecVariablesProps, T> & Partial<Pick<ListFaultSpecVariablesProps, T>>;
27
+ /**
28
+ * decodes the provided fault YAML, extracts its own variables and merges them with project/org/account scope platform variables
29
+ */
30
+ export declare function useListFaultSpecVariablesMutation<T extends keyof ListFaultSpecVariablesProps>(props: Pick<Partial<ListFaultSpecVariablesProps>, T>, options?: Omit<UseMutationOptions<ListFaultSpecVariablesResponseContainer, ListFaultSpecVariablesErrorResponse, ListFaultSpecVariablesMutationProps<T>>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<ListFaultSpecVariablesResponseContainer, SharedError, ListFaultSpecVariablesMutationProps<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 listFaultSpecVariables(props) {
7
+ return fetcher(Object.assign({ url: `/v3/faults/variables`, method: 'POST' }, props));
8
+ }
9
+ /**
10
+ * decodes the provided fault YAML, extracts its own variables and merges them with project/org/account scope platform variables
11
+ */
12
+ export function useListFaultSpecVariablesMutation(props, options) {
13
+ return useMutation((mutateProps) => listFaultSpecVariables(Object.assign(Object.assign({}, props), mutateProps)), options);
14
+ }
@@ -0,0 +1,30 @@
1
+ import { UseMutationOptions } from '@tanstack/react-query';
2
+ import type { SharedSpecVariablesResponse } from '../schemas/SharedSpecVariablesResponse';
3
+ import type { SharedError } from '../schemas/SharedError';
4
+ import type { SharedSpecVariablesRequestRequestBody } from '../requestBodies/SharedSpecVariablesRequestRequestBody';
5
+ import { FetcherOptions } from '../../../../custom-fetcher/index.js';
6
+ export interface ListFaultTemplateSpecVariablesMutationQueryParams {
7
+ accountIdentifier: string;
8
+ correlationID?: string;
9
+ organizationIdentifier?: string;
10
+ parentUniqueId?: string;
11
+ projectIdentifier?: string;
12
+ search?: string;
13
+ }
14
+ export type ListFaultTemplateSpecVariablesRequestBody = SharedSpecVariablesRequestRequestBody;
15
+ export type ListFaultTemplateSpecVariablesOkResponse = SharedSpecVariablesResponse;
16
+ export type ListFaultTemplateSpecVariablesErrorResponse = SharedError;
17
+ export interface ListFaultTemplateSpecVariablesProps extends Omit<FetcherOptions<ListFaultTemplateSpecVariablesMutationQueryParams, ListFaultTemplateSpecVariablesRequestBody>, 'url'> {
18
+ queryParams: ListFaultTemplateSpecVariablesMutationQueryParams;
19
+ body: ListFaultTemplateSpecVariablesRequestBody;
20
+ }
21
+ export interface ListFaultTemplateSpecVariablesResponseContainer {
22
+ body: ListFaultTemplateSpecVariablesOkResponse;
23
+ headers: Headers;
24
+ }
25
+ export declare function listFaultTemplateSpecVariables(props: ListFaultTemplateSpecVariablesProps): Promise<ListFaultTemplateSpecVariablesResponseContainer>;
26
+ export type ListFaultTemplateSpecVariablesMutationProps<T extends keyof ListFaultTemplateSpecVariablesProps> = Omit<ListFaultTemplateSpecVariablesProps, T> & Partial<Pick<ListFaultTemplateSpecVariablesProps, T>>;
27
+ /**
28
+ * decodes the provided fault template YAML, extracts its own variables and merges them with project/org/account scope platform variables
29
+ */
30
+ export declare function useListFaultTemplateSpecVariablesMutation<T extends keyof ListFaultTemplateSpecVariablesProps>(props: Pick<Partial<ListFaultTemplateSpecVariablesProps>, T>, options?: Omit<UseMutationOptions<ListFaultTemplateSpecVariablesResponseContainer, ListFaultTemplateSpecVariablesErrorResponse, ListFaultTemplateSpecVariablesMutationProps<T>>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<ListFaultTemplateSpecVariablesResponseContainer, SharedError, ListFaultTemplateSpecVariablesMutationProps<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 listFaultTemplateSpecVariables(props) {
7
+ return fetcher(Object.assign({ url: `/v3/fault-templates/variables`, method: 'POST' }, props));
8
+ }
9
+ /**
10
+ * decodes the provided fault template YAML, extracts its own variables and merges them with project/org/account scope platform variables
11
+ */
12
+ export function useListFaultTemplateSpecVariablesMutation(props, options) {
13
+ return useMutation((mutateProps) => listFaultTemplateSpecVariables(Object.assign(Object.assign({}, props), mutateProps)), options);
14
+ }
@@ -0,0 +1,30 @@
1
+ import { UseMutationOptions } from '@tanstack/react-query';
2
+ import type { SharedSpecVariablesResponse } from '../schemas/SharedSpecVariablesResponse';
3
+ import type { SharedError } from '../schemas/SharedError';
4
+ import type { SharedSpecVariablesRequestRequestBody } from '../requestBodies/SharedSpecVariablesRequestRequestBody';
5
+ import { FetcherOptions } from '../../../../custom-fetcher/index.js';
6
+ export interface ListProbeSpecVariablesMutationQueryParams {
7
+ accountIdentifier: string;
8
+ correlationID?: string;
9
+ organizationIdentifier?: string;
10
+ parentUniqueId?: string;
11
+ projectIdentifier?: string;
12
+ search?: string;
13
+ }
14
+ export type ListProbeSpecVariablesRequestBody = SharedSpecVariablesRequestRequestBody;
15
+ export type ListProbeSpecVariablesOkResponse = SharedSpecVariablesResponse;
16
+ export type ListProbeSpecVariablesErrorResponse = SharedError;
17
+ export interface ListProbeSpecVariablesProps extends Omit<FetcherOptions<ListProbeSpecVariablesMutationQueryParams, ListProbeSpecVariablesRequestBody>, 'url'> {
18
+ queryParams: ListProbeSpecVariablesMutationQueryParams;
19
+ body: ListProbeSpecVariablesRequestBody;
20
+ }
21
+ export interface ListProbeSpecVariablesResponseContainer {
22
+ body: ListProbeSpecVariablesOkResponse;
23
+ headers: Headers;
24
+ }
25
+ export declare function listProbeSpecVariables(props: ListProbeSpecVariablesProps): Promise<ListProbeSpecVariablesResponseContainer>;
26
+ export type ListProbeSpecVariablesMutationProps<T extends keyof ListProbeSpecVariablesProps> = Omit<ListProbeSpecVariablesProps, T> & Partial<Pick<ListProbeSpecVariablesProps, T>>;
27
+ /**
28
+ * decodes the provided probe YAML, extracts its own variables and merges them with project/org/account scope platform variables
29
+ */
30
+ export declare function useListProbeSpecVariablesMutation<T extends keyof ListProbeSpecVariablesProps>(props: Pick<Partial<ListProbeSpecVariablesProps>, T>, options?: Omit<UseMutationOptions<ListProbeSpecVariablesResponseContainer, ListProbeSpecVariablesErrorResponse, ListProbeSpecVariablesMutationProps<T>>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<ListProbeSpecVariablesResponseContainer, SharedError, ListProbeSpecVariablesMutationProps<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 listProbeSpecVariables(props) {
7
+ return fetcher(Object.assign({ url: `/v3/probes/variables`, method: 'POST' }, props));
8
+ }
9
+ /**
10
+ * decodes the provided probe YAML, extracts its own variables and merges them with project/org/account scope platform variables
11
+ */
12
+ export function useListProbeSpecVariablesMutation(props, options) {
13
+ return useMutation((mutateProps) => listProbeSpecVariables(Object.assign(Object.assign({}, props), mutateProps)), options);
14
+ }
@@ -0,0 +1,30 @@
1
+ import { UseMutationOptions } from '@tanstack/react-query';
2
+ import type { SharedSpecVariablesResponse } from '../schemas/SharedSpecVariablesResponse';
3
+ import type { SharedError } from '../schemas/SharedError';
4
+ import type { SharedSpecVariablesRequestRequestBody } from '../requestBodies/SharedSpecVariablesRequestRequestBody';
5
+ import { FetcherOptions } from '../../../../custom-fetcher/index.js';
6
+ export interface ListProbeTemplateSpecVariablesMutationQueryParams {
7
+ accountIdentifier: string;
8
+ correlationID?: string;
9
+ organizationIdentifier?: string;
10
+ parentUniqueId?: string;
11
+ projectIdentifier?: string;
12
+ search?: string;
13
+ }
14
+ export type ListProbeTemplateSpecVariablesRequestBody = SharedSpecVariablesRequestRequestBody;
15
+ export type ListProbeTemplateSpecVariablesOkResponse = SharedSpecVariablesResponse;
16
+ export type ListProbeTemplateSpecVariablesErrorResponse = SharedError;
17
+ export interface ListProbeTemplateSpecVariablesProps extends Omit<FetcherOptions<ListProbeTemplateSpecVariablesMutationQueryParams, ListProbeTemplateSpecVariablesRequestBody>, 'url'> {
18
+ queryParams: ListProbeTemplateSpecVariablesMutationQueryParams;
19
+ body: ListProbeTemplateSpecVariablesRequestBody;
20
+ }
21
+ export interface ListProbeTemplateSpecVariablesResponseContainer {
22
+ body: ListProbeTemplateSpecVariablesOkResponse;
23
+ headers: Headers;
24
+ }
25
+ export declare function listProbeTemplateSpecVariables(props: ListProbeTemplateSpecVariablesProps): Promise<ListProbeTemplateSpecVariablesResponseContainer>;
26
+ export type ListProbeTemplateSpecVariablesMutationProps<T extends keyof ListProbeTemplateSpecVariablesProps> = Omit<ListProbeTemplateSpecVariablesProps, T> & Partial<Pick<ListProbeTemplateSpecVariablesProps, T>>;
27
+ /**
28
+ * decodes the provided probe template YAML, extracts its own variables and merges them with project/org/account scope platform variables
29
+ */
30
+ export declare function useListProbeTemplateSpecVariablesMutation<T extends keyof ListProbeTemplateSpecVariablesProps>(props: Pick<Partial<ListProbeTemplateSpecVariablesProps>, T>, options?: Omit<UseMutationOptions<ListProbeTemplateSpecVariablesResponseContainer, ListProbeTemplateSpecVariablesErrorResponse, ListProbeTemplateSpecVariablesMutationProps<T>>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<ListProbeTemplateSpecVariablesResponseContainer, SharedError, ListProbeTemplateSpecVariablesMutationProps<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 listProbeTemplateSpecVariables(props) {
7
+ return fetcher(Object.assign({ url: `/v3/probe-templates/variables`, method: 'POST' }, props));
8
+ }
9
+ /**
10
+ * decodes the provided probe template YAML, extracts its own variables and merges them with project/org/account scope platform variables
11
+ */
12
+ export function useListProbeTemplateSpecVariablesMutation(props, options) {
13
+ return useMutation((mutateProps) => listProbeTemplateSpecVariables(Object.assign(Object.assign({}, props), mutateProps)), options);
14
+ }
@@ -320,12 +320,16 @@ export type { ListActionReferencedByErrorResponse, ListActionReferencedByOkRespo
320
320
  export { listActionReferencedBy, useListActionReferencedByQuery, } from './hooks/useListActionReferencedByQuery';
321
321
  export type { ListActionRunsErrorResponse, ListActionRunsOkResponse, ListActionRunsProps, ListActionRunsQueryQueryParams, } from './hooks/useListActionRunsQuery';
322
322
  export { listActionRuns, useListActionRunsQuery } from './hooks/useListActionRunsQuery';
323
+ export type { ListActionSpecVariablesErrorResponse, ListActionSpecVariablesMutationProps, ListActionSpecVariablesMutationQueryParams, ListActionSpecVariablesOkResponse, ListActionSpecVariablesProps, ListActionSpecVariablesRequestBody, } from './hooks/useListActionSpecVariablesMutation';
324
+ export { listActionSpecVariables, useListActionSpecVariablesMutation, } from './hooks/useListActionSpecVariablesMutation';
323
325
  export type { ListActionTemplateErrorResponse, ListActionTemplateOkResponse, ListActionTemplateProps, ListActionTemplateQueryQueryParams, } from './hooks/useListActionTemplateQuery';
324
326
  export { listActionTemplate, useListActionTemplateQuery } from './hooks/useListActionTemplateQuery';
325
327
  export type { ListActionTemplateReferencedByErrorResponse, ListActionTemplateReferencedByOkResponse, ListActionTemplateReferencedByProps, ListActionTemplateReferencedByQueryPathParams, ListActionTemplateReferencedByQueryQueryParams, } from './hooks/useListActionTemplateReferencedByQuery';
326
328
  export { listActionTemplateReferencedBy, useListActionTemplateReferencedByQuery, } from './hooks/useListActionTemplateReferencedByQuery';
327
329
  export type { ListActionTemplateRevisionsErrorResponse, ListActionTemplateRevisionsOkResponse, ListActionTemplateRevisionsProps, ListActionTemplateRevisionsQueryPathParams, ListActionTemplateRevisionsQueryQueryParams, } from './hooks/useListActionTemplateRevisionsQuery';
328
330
  export { listActionTemplateRevisions, useListActionTemplateRevisionsQuery, } from './hooks/useListActionTemplateRevisionsQuery';
331
+ export type { ListActionTemplateSpecVariablesErrorResponse, ListActionTemplateSpecVariablesMutationProps, ListActionTemplateSpecVariablesMutationQueryParams, ListActionTemplateSpecVariablesOkResponse, ListActionTemplateSpecVariablesProps, ListActionTemplateSpecVariablesRequestBody, } from './hooks/useListActionTemplateSpecVariablesMutation';
332
+ export { listActionTemplateSpecVariables, useListActionTemplateSpecVariablesMutation, } from './hooks/useListActionTemplateSpecVariablesMutation';
329
333
  export type { ListActionsErrorResponse, ListActionsOkResponse, ListActionsProps, ListActionsQueryQueryParams, } from './hooks/useListActionsQuery';
330
334
  export { listActions, useListActionsQuery } from './hooks/useListActionsQuery';
331
335
  export type { ListAllChaosExperimentRunsV3ErrorResponse, ListAllChaosExperimentRunsV3OkResponse, ListAllChaosExperimentRunsV3Props, ListAllChaosExperimentRunsV3QueryQueryParams, } from './hooks/useListAllChaosExperimentRunsV3Query';
@@ -366,10 +370,14 @@ export type { ListExperimentRunsOfFaultErrorResponse, ListExperimentRunsOfFaultO
366
370
  export { listExperimentRunsOfFault, useListExperimentRunsOfFaultQuery, } from './hooks/useListExperimentRunsOfFaultQuery';
367
371
  export type { ListExperimentRuntimeInputsV3ErrorResponse, ListExperimentRuntimeInputsV3OkResponse, ListExperimentRuntimeInputsV3Props, ListExperimentRuntimeInputsV3QueryPathParams, ListExperimentRuntimeInputsV3QueryQueryParams, } from './hooks/useListExperimentRuntimeInputsV3Query';
368
372
  export { listExperimentRuntimeInputsV3, useListExperimentRuntimeInputsV3Query, } from './hooks/useListExperimentRuntimeInputsV3Query';
373
+ export type { ListExperimentSpecVariablesErrorResponse, ListExperimentSpecVariablesMutationProps, ListExperimentSpecVariablesMutationQueryParams, ListExperimentSpecVariablesOkResponse, ListExperimentSpecVariablesProps, ListExperimentSpecVariablesRequestBody, } from './hooks/useListExperimentSpecVariablesMutation';
374
+ export { listExperimentSpecVariables, useListExperimentSpecVariablesMutation, } from './hooks/useListExperimentSpecVariablesMutation';
369
375
  export type { ListExperimentTemplateErrorResponse, ListExperimentTemplateOkResponse, ListExperimentTemplateProps, ListExperimentTemplateQueryQueryParams, } from './hooks/useListExperimentTemplateQuery';
370
376
  export { listExperimentTemplate, useListExperimentTemplateQuery, } from './hooks/useListExperimentTemplateQuery';
371
377
  export type { ListExperimentTemplateReferencedByErrorResponse, ListExperimentTemplateReferencedByOkResponse, ListExperimentTemplateReferencedByProps, ListExperimentTemplateReferencedByQueryPathParams, ListExperimentTemplateReferencedByQueryQueryParams, } from './hooks/useListExperimentTemplateReferencedByQuery';
372
378
  export { listExperimentTemplateReferencedBy, useListExperimentTemplateReferencedByQuery, } from './hooks/useListExperimentTemplateReferencedByQuery';
379
+ export type { ListExperimentTemplateSpecVariablesErrorResponse, ListExperimentTemplateSpecVariablesMutationProps, ListExperimentTemplateSpecVariablesMutationQueryParams, ListExperimentTemplateSpecVariablesOkResponse, ListExperimentTemplateSpecVariablesProps, ListExperimentTemplateSpecVariablesRequestBody, } from './hooks/useListExperimentTemplateSpecVariablesMutation';
380
+ export { listExperimentTemplateSpecVariables, useListExperimentTemplateSpecVariablesMutation, } from './hooks/useListExperimentTemplateSpecVariablesMutation';
373
381
  export type { ListExperimentsErrorResponse, ListExperimentsOkResponse, ListExperimentsProps, ListExperimentsQueryQueryParams, ListExperimentsRequestBody, } from './hooks/useListExperimentsQuery';
374
382
  export { listExperiments, useListExperimentsQuery } from './hooks/useListExperimentsQuery';
375
383
  export type { ListExperimentsV3ErrorResponse, ListExperimentsV3OkResponse, ListExperimentsV3Props, ListExperimentsV3QueryQueryParams, } from './hooks/useListExperimentsV3Query';
@@ -382,10 +390,14 @@ export type { ListFaultErrorResponse, ListFaultOkResponse, ListFaultProps, ListF
382
390
  export { listFault, useListFaultQuery } from './hooks/useListFaultQuery';
383
391
  export type { ListFaultReferencedByErrorResponse, ListFaultReferencedByOkResponse, ListFaultReferencedByProps, ListFaultReferencedByQueryPathParams, ListFaultReferencedByQueryQueryParams, } from './hooks/useListFaultReferencedByQuery';
384
392
  export { listFaultReferencedBy, useListFaultReferencedByQuery, } from './hooks/useListFaultReferencedByQuery';
393
+ export type { ListFaultSpecVariablesErrorResponse, ListFaultSpecVariablesMutationProps, ListFaultSpecVariablesMutationQueryParams, ListFaultSpecVariablesOkResponse, ListFaultSpecVariablesProps, ListFaultSpecVariablesRequestBody, } from './hooks/useListFaultSpecVariablesMutation';
394
+ export { listFaultSpecVariables, useListFaultSpecVariablesMutation, } from './hooks/useListFaultSpecVariablesMutation';
385
395
  export type { ListFaultTemplateErrorResponse, ListFaultTemplateOkResponse, ListFaultTemplateProps, ListFaultTemplateQueryQueryParams, } from './hooks/useListFaultTemplateQuery';
386
396
  export { listFaultTemplate, useListFaultTemplateQuery } from './hooks/useListFaultTemplateQuery';
387
397
  export type { ListFaultTemplateReferencedByErrorResponse, ListFaultTemplateReferencedByOkResponse, ListFaultTemplateReferencedByProps, ListFaultTemplateReferencedByQueryPathParams, ListFaultTemplateReferencedByQueryQueryParams, } from './hooks/useListFaultTemplateReferencedByQuery';
388
398
  export { listFaultTemplateReferencedBy, useListFaultTemplateReferencedByQuery, } from './hooks/useListFaultTemplateReferencedByQuery';
399
+ export type { ListFaultTemplateSpecVariablesErrorResponse, ListFaultTemplateSpecVariablesMutationProps, ListFaultTemplateSpecVariablesMutationQueryParams, ListFaultTemplateSpecVariablesOkResponse, ListFaultTemplateSpecVariablesProps, ListFaultTemplateSpecVariablesRequestBody, } from './hooks/useListFaultTemplateSpecVariablesMutation';
400
+ export { listFaultTemplateSpecVariables, useListFaultTemplateSpecVariablesMutation, } from './hooks/useListFaultTemplateSpecVariablesMutation';
389
401
  export type { ListFaultv2ErrorResponse, ListFaultv2OkResponse, ListFaultv2Props, ListFaultv2QueryQueryParams, } from './hooks/useListFaultv2Query';
390
402
  export { listFaultv2, useListFaultv2Query } from './hooks/useListFaultv2Query';
391
403
  export type { ListFunctionErrorResponse, ListFunctionOkResponse, ListFunctionProps, ListFunctionQueryPathParams, ListFunctionQueryQueryParams, } from './hooks/useListFunctionQuery';
@@ -422,10 +434,14 @@ export type { ListProbeReferencedByErrorResponse, ListProbeReferencedByOkRespons
422
434
  export { listProbeReferencedBy, useListProbeReferencedByQuery, } from './hooks/useListProbeReferencedByQuery';
423
435
  export type { ListProbeRunsErrorResponse, ListProbeRunsOkResponse, ListProbeRunsProps, ListProbeRunsQueryQueryParams, } from './hooks/useListProbeRunsQuery';
424
436
  export { listProbeRuns, useListProbeRunsQuery } from './hooks/useListProbeRunsQuery';
437
+ export type { ListProbeSpecVariablesErrorResponse, ListProbeSpecVariablesMutationProps, ListProbeSpecVariablesMutationQueryParams, ListProbeSpecVariablesOkResponse, ListProbeSpecVariablesProps, ListProbeSpecVariablesRequestBody, } from './hooks/useListProbeSpecVariablesMutation';
438
+ export { listProbeSpecVariables, useListProbeSpecVariablesMutation, } from './hooks/useListProbeSpecVariablesMutation';
425
439
  export type { ListProbeTemplateErrorResponse, ListProbeTemplateOkResponse, ListProbeTemplateProps, ListProbeTemplateQueryQueryParams, } from './hooks/useListProbeTemplateQuery';
426
440
  export { listProbeTemplate, useListProbeTemplateQuery } from './hooks/useListProbeTemplateQuery';
427
441
  export type { ListProbeTemplateReferencedByErrorResponse, ListProbeTemplateReferencedByOkResponse, ListProbeTemplateReferencedByProps, ListProbeTemplateReferencedByQueryPathParams, ListProbeTemplateReferencedByQueryQueryParams, } from './hooks/useListProbeTemplateReferencedByQuery';
428
442
  export { listProbeTemplateReferencedBy, useListProbeTemplateReferencedByQuery, } from './hooks/useListProbeTemplateReferencedByQuery';
443
+ export type { ListProbeTemplateSpecVariablesErrorResponse, ListProbeTemplateSpecVariablesMutationProps, ListProbeTemplateSpecVariablesMutationQueryParams, ListProbeTemplateSpecVariablesOkResponse, ListProbeTemplateSpecVariablesProps, ListProbeTemplateSpecVariablesRequestBody, } from './hooks/useListProbeTemplateSpecVariablesMutation';
444
+ export { listProbeTemplateSpecVariables, useListProbeTemplateSpecVariablesMutation, } from './hooks/useListProbeTemplateSpecVariablesMutation';
429
445
  export type { ListProbesErrorResponse, ListProbesOkResponse, ListProbesProps, ListProbesQueryQueryParams, } from './hooks/useListProbesQuery';
430
446
  export { listProbes, useListProbesQuery } from './hooks/useListProbesQuery';
431
447
  export type { ListRecommendationsErrorResponse, ListRecommendationsOkResponse, ListRecommendationsProps, ListRecommendationsQueryQueryParams, ListRecommendationsRequestBody, } from './hooks/useListRecommendationsQuery';
@@ -604,6 +620,7 @@ export type { VerifyProbeErrorResponse, VerifyProbeMutationPathParams, VerifyPro
604
620
  export { useVerifyProbeMutation, verifyProbe } from './hooks/useVerifyProbeMutation';
605
621
  export type { ChaosfaulttemplateActionTemplateRequestBody } from './requestBodies/ChaosfaulttemplateActionTemplateRequestBody';
606
622
  export type { InfraV2ListKubernetesInfraV2RequestRequestBody } from './requestBodies/InfraV2ListKubernetesInfraV2RequestRequestBody';
623
+ export type { SharedSpecVariablesRequestRequestBody } from './requestBodies/SharedSpecVariablesRequestRequestBody';
607
624
  export type { TypesProbeRequestRequestBody } from './requestBodies/TypesProbeRequestRequestBody';
608
625
  export type { ActionAction } from './schemas/ActionAction';
609
626
  export type { ActionActionTemplateProperties } from './schemas/ActionActionTemplateProperties';
@@ -1458,6 +1475,9 @@ export type { SharedMetadata } from './schemas/SharedMetadata';
1458
1475
  export type { SharedPaginationResponse } from './schemas/SharedPaginationResponse';
1459
1476
  export type { SharedReferencedByItem } from './schemas/SharedReferencedByItem';
1460
1477
  export type { SharedReferencedByKind } from './schemas/SharedReferencedByKind';
1478
+ export type { SharedSpecVariable } from './schemas/SharedSpecVariable';
1479
+ export type { SharedSpecVariablesRequest } from './schemas/SharedSpecVariablesRequest';
1480
+ export type { SharedSpecVariablesResponse } from './schemas/SharedSpecVariablesResponse';
1461
1481
  export type { TargetnetworkmapExperimentCreationMode } from './schemas/TargetnetworkmapExperimentCreationMode';
1462
1482
  export type { TargetnetworkmapExperimentRunDetail } from './schemas/TargetnetworkmapExperimentRunDetail';
1463
1483
  export type { TargetnetworkmapStatus } from './schemas/TargetnetworkmapStatus';
@@ -159,9 +159,11 @@ export { internalAbortRiskScan, useInternalAbortRiskScanMutation, } from './hook
159
159
  export { listActionMetadata, useListActionMetadataQuery } from './hooks/useListActionMetadataQuery';
160
160
  export { listActionReferencedBy, useListActionReferencedByQuery, } from './hooks/useListActionReferencedByQuery';
161
161
  export { listActionRuns, useListActionRunsQuery } from './hooks/useListActionRunsQuery';
162
+ export { listActionSpecVariables, useListActionSpecVariablesMutation, } from './hooks/useListActionSpecVariablesMutation';
162
163
  export { listActionTemplate, useListActionTemplateQuery } from './hooks/useListActionTemplateQuery';
163
164
  export { listActionTemplateReferencedBy, useListActionTemplateReferencedByQuery, } from './hooks/useListActionTemplateReferencedByQuery';
164
165
  export { listActionTemplateRevisions, useListActionTemplateRevisionsQuery, } from './hooks/useListActionTemplateRevisionsQuery';
166
+ export { listActionTemplateSpecVariables, useListActionTemplateSpecVariablesMutation, } from './hooks/useListActionTemplateSpecVariablesMutation';
165
167
  export { listActions, useListActionsQuery } from './hooks/useListActionsQuery';
166
168
  export { listAllChaosExperimentRunsV3, useListAllChaosExperimentRunsV3Query, } from './hooks/useListAllChaosExperimentRunsV3Query';
167
169
  export { listApplication, useListApplicationQuery } from './hooks/useListApplicationQuery';
@@ -182,16 +184,20 @@ export { listExperimentMetadata, useListExperimentMetadataQuery, } from './hooks
182
184
  export { listExperimentOrTemplate, useListExperimentOrTemplateQuery, } from './hooks/useListExperimentOrTemplateQuery';
183
185
  export { listExperimentRunsOfFault, useListExperimentRunsOfFaultQuery, } from './hooks/useListExperimentRunsOfFaultQuery';
184
186
  export { listExperimentRuntimeInputsV3, useListExperimentRuntimeInputsV3Query, } from './hooks/useListExperimentRuntimeInputsV3Query';
187
+ export { listExperimentSpecVariables, useListExperimentSpecVariablesMutation, } from './hooks/useListExperimentSpecVariablesMutation';
185
188
  export { listExperimentTemplate, useListExperimentTemplateQuery, } from './hooks/useListExperimentTemplateQuery';
186
189
  export { listExperimentTemplateReferencedBy, useListExperimentTemplateReferencedByQuery, } from './hooks/useListExperimentTemplateReferencedByQuery';
190
+ export { listExperimentTemplateSpecVariables, useListExperimentTemplateSpecVariablesMutation, } from './hooks/useListExperimentTemplateSpecVariablesMutation';
187
191
  export { listExperiments, useListExperimentsQuery } from './hooks/useListExperimentsQuery';
188
192
  export { listExperimentsV3, useListExperimentsV3Query } from './hooks/useListExperimentsV3Query';
189
193
  export { listExperimentsWithActiveInfrasMinimalNotification, useListExperimentsWithActiveInfrasMinimalNotificationQuery, } from './hooks/useListExperimentsWithActiveInfrasMinimalNotificationQuery';
190
194
  export { listFaultMetadata, useListFaultMetadataQuery } from './hooks/useListFaultMetadataQuery';
191
195
  export { listFault, useListFaultQuery } from './hooks/useListFaultQuery';
192
196
  export { listFaultReferencedBy, useListFaultReferencedByQuery, } from './hooks/useListFaultReferencedByQuery';
197
+ export { listFaultSpecVariables, useListFaultSpecVariablesMutation, } from './hooks/useListFaultSpecVariablesMutation';
193
198
  export { listFaultTemplate, useListFaultTemplateQuery } from './hooks/useListFaultTemplateQuery';
194
199
  export { listFaultTemplateReferencedBy, useListFaultTemplateReferencedByQuery, } from './hooks/useListFaultTemplateReferencedByQuery';
200
+ export { listFaultTemplateSpecVariables, useListFaultTemplateSpecVariablesMutation, } from './hooks/useListFaultTemplateSpecVariablesMutation';
195
201
  export { listFaultv2, useListFaultv2Query } from './hooks/useListFaultv2Query';
196
202
  export { listFunction, useListFunctionQuery } from './hooks/useListFunctionQuery';
197
203
  export { listGamedayMetadata, useListGamedayMetadataQuery, } from './hooks/useListGamedayMetadataQuery';
@@ -210,8 +216,10 @@ export { listProbeExecutions, useListProbeExecutionsQuery, } from './hooks/useLi
210
216
  export { listProbeMetadata, useListProbeMetadataQuery } from './hooks/useListProbeMetadataQuery';
211
217
  export { listProbeReferencedBy, useListProbeReferencedByQuery, } from './hooks/useListProbeReferencedByQuery';
212
218
  export { listProbeRuns, useListProbeRunsQuery } from './hooks/useListProbeRunsQuery';
219
+ export { listProbeSpecVariables, useListProbeSpecVariablesMutation, } from './hooks/useListProbeSpecVariablesMutation';
213
220
  export { listProbeTemplate, useListProbeTemplateQuery } from './hooks/useListProbeTemplateQuery';
214
221
  export { listProbeTemplateReferencedBy, useListProbeTemplateReferencedByQuery, } from './hooks/useListProbeTemplateReferencedByQuery';
222
+ export { listProbeTemplateSpecVariables, useListProbeTemplateSpecVariablesMutation, } from './hooks/useListProbeTemplateSpecVariablesMutation';
215
223
  export { listProbes, useListProbesQuery } from './hooks/useListProbesQuery';
216
224
  export { listRecommendations, useListRecommendationsQuery, } from './hooks/useListRecommendationsQuery';
217
225
  export { listRiskExperimentRecommendations, useListRiskExperimentRecommendationsQuery, } from './hooks/useListRiskExperimentRecommendationsQuery';
@@ -0,0 +1,2 @@
1
+ import type { SharedSpecVariablesRequest } from '../schemas/SharedSpecVariablesRequest';
2
+ export type SharedSpecVariablesRequestRequestBody = SharedSpecVariablesRequest;
@@ -1,4 +1,5 @@
1
1
  import type { ScannedrisksRiskStatus } from '../schemas/ScannedrisksRiskStatus';
2
+ import type { HcesdkUserDetails } from '../schemas/HcesdkUserDetails';
2
3
  export interface ScannedrisksRiskStatusDetails {
3
4
  /**
4
5
  * Mitigated is the user's confirmation, required to resolve a risk.
@@ -7,5 +8,9 @@ export interface ScannedrisksRiskStatusDetails {
7
8
  note?: string;
8
9
  previousStatus?: ScannedrisksRiskStatus;
9
10
  updatedAt?: number;
10
- updatedBy?: string;
11
+ /**
12
+ * UpdatedByUserDetails is the API form of UpdatedBy. Get and list fill the
13
+ * username and email; the id is returned either way.
14
+ */
15
+ updatedBy?: HcesdkUserDetails;
11
16
  }
@@ -0,0 +1,11 @@
1
+ export interface SharedSpecVariable {
2
+ identifier?: string;
3
+ /**
4
+ * <+...> expression reference
5
+ */
6
+ key?: string;
7
+ /**
8
+ * spec | project | org | account
9
+ */
10
+ scope?: string;
11
+ }
@@ -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,3 @@
1
+ export interface SharedSpecVariablesRequest {
2
+ spec?: 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,6 @@
1
+ import type { SharedSpecVariable } from '../schemas/SharedSpecVariable';
2
+ export interface SharedSpecVariablesResponse {
3
+ correlationID?: string;
4
+ items?: SharedSpecVariable[];
5
+ totalCount?: number;
6
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@harnessio/react-chaos-manager-client",
3
- "version": "1.91.8",
3
+ "version": "1.91.9",
4
4
  "description": "Harness React Chaos Manager Service Client - APIs integrated with react hooks",
5
5
  "author": "Harness Inc",
6
6
  "license": "MIT",