@harnessio/react-chaos-manager-client 1.34.0 → 1.36.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/chaos-manager/src/services/hooks/useListActionMetadataQuery.d.ts +39 -0
- package/dist/chaos-manager/src/services/hooks/useListActionMetadataQuery.js +14 -0
- package/dist/chaos-manager/src/services/hooks/useListExperimentMetadataQuery.d.ts +39 -0
- package/dist/chaos-manager/src/services/hooks/useListExperimentMetadataQuery.js +14 -0
- package/dist/chaos-manager/src/services/hooks/useListFaultMetadataQuery.d.ts +39 -0
- package/dist/chaos-manager/src/services/hooks/useListFaultMetadataQuery.js +14 -0
- package/dist/chaos-manager/src/services/hooks/useListGamedayMetadataQuery.d.ts +39 -0
- package/dist/chaos-manager/src/services/hooks/useListGamedayMetadataQuery.js +14 -0
- package/dist/chaos-manager/src/services/hooks/useListHubMetadataQuery.d.ts +39 -0
- package/dist/chaos-manager/src/services/hooks/useListHubMetadataQuery.js +14 -0
- package/dist/chaos-manager/src/services/hooks/useListProbeMetadataQuery.d.ts +39 -0
- package/dist/chaos-manager/src/services/hooks/useListProbeMetadataQuery.js +14 -0
- package/dist/chaos-manager/src/services/index.d.ts +17 -0
- package/dist/chaos-manager/src/services/index.js +6 -0
- package/dist/chaos-manager/src/services/schemas/ChaosfaultChaosFault.d.ts +5 -0
- package/dist/chaos-manager/src/services/schemas/ChaosfaultCreateFaultRequest.d.ts +4 -1
- package/dist/chaos-manager/src/services/schemas/ChaosfaultCreateFaultResponse.d.ts +4 -1
- package/dist/chaos-manager/src/services/schemas/ChaosfaultGetFaultResponse.d.ts +4 -1
- package/dist/chaos-manager/src/services/schemas/ChaosfaultUpdateFaultRequest.d.ts +4 -1
- package/dist/chaos-manager/src/services/schemas/ChaosfaultUpdateFaultResponse.d.ts +4 -1
- package/dist/chaos-manager/src/services/schemas/ChaosfaulttemplateChaosFaultTemplate.d.ts +0 -2
- package/dist/chaos-manager/src/services/schemas/CommonImportType.d.ts +1 -0
- package/dist/chaos-manager/src/services/schemas/CommonImportType.js +4 -0
- package/dist/chaos-manager/src/services/schemas/FaultTemplateReference.d.ts +7 -0
- package/dist/chaos-manager/src/services/schemas/FaultTemplateReference.js +4 -0
- package/dist/chaos-manager/src/services/schemas/GithubComHarnessHceSaasGraphqlServerModelsSharedMetadata.d.ts +6 -0
- package/dist/chaos-manager/src/services/schemas/GithubComHarnessHceSaasGraphqlServerModelsSharedMetadata.js +4 -0
- package/dist/chaos-manager/src/services/schemas/SharedListMetadataRequest.d.ts +3 -0
- package/dist/chaos-manager/src/services/schemas/SharedListMetadataRequest.js +4 -0
- package/dist/chaos-manager/src/services/schemas/SharedListMetadataResponse.d.ts +7 -0
- package/dist/chaos-manager/src/services/schemas/SharedListMetadataResponse.js +1 -0
- package/package.json +1 -1
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { SharedListMetadataResponse } from '../schemas/SharedListMetadataResponse';
|
|
3
|
+
import type { ApiRestError } from '../schemas/ApiRestError';
|
|
4
|
+
import type { SharedListMetadataRequest } from '../schemas/SharedListMetadataRequest';
|
|
5
|
+
import { FetcherOptions } from '../../../../custom-fetcher/index.js';
|
|
6
|
+
export interface ListActionMetadataQueryQueryParams {
|
|
7
|
+
accountIdentifier: string;
|
|
8
|
+
correlationID?: string;
|
|
9
|
+
/**
|
|
10
|
+
* @default 15
|
|
11
|
+
*/
|
|
12
|
+
limit?: number;
|
|
13
|
+
organizationIdentifier?: string;
|
|
14
|
+
/**
|
|
15
|
+
* @default 0
|
|
16
|
+
*/
|
|
17
|
+
page?: number;
|
|
18
|
+
projectIdentifier?: string;
|
|
19
|
+
search?: string;
|
|
20
|
+
sortAscending?: boolean;
|
|
21
|
+
sortField?: 'lastUpdated' | 'name';
|
|
22
|
+
tags?: string;
|
|
23
|
+
}
|
|
24
|
+
export type ListActionMetadataRequestBody = SharedListMetadataRequest;
|
|
25
|
+
export type ListActionMetadataOkResponse = SharedListMetadataResponse;
|
|
26
|
+
export type ListActionMetadataErrorResponse = ApiRestError;
|
|
27
|
+
export interface ListActionMetadataProps extends Omit<FetcherOptions<ListActionMetadataQueryQueryParams, ListActionMetadataRequestBody>, 'url'> {
|
|
28
|
+
queryParams: ListActionMetadataQueryQueryParams;
|
|
29
|
+
body: ListActionMetadataRequestBody;
|
|
30
|
+
}
|
|
31
|
+
export interface ListActionMetadataResponseContainer {
|
|
32
|
+
body: ListActionMetadataOkResponse;
|
|
33
|
+
headers: Headers;
|
|
34
|
+
}
|
|
35
|
+
export declare function listActionMetadata(props: ListActionMetadataProps): Promise<ListActionMetadataResponseContainer>;
|
|
36
|
+
/**
|
|
37
|
+
* lists action metadata
|
|
38
|
+
*/
|
|
39
|
+
export declare function useListActionMetadataQuery(props: ListActionMetadataProps, options?: Omit<UseQueryOptions<ListActionMetadataResponseContainer, ListActionMetadataErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<ListActionMetadataResponseContainer, ApiRestError>;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
// This code is autogenerated using @harnessio/oats-cli.
|
|
3
|
+
// Please do not modify this code directly.
|
|
4
|
+
import { useQuery } from '@tanstack/react-query';
|
|
5
|
+
import { fetcher } from '../../../../custom-fetcher/index.js';
|
|
6
|
+
export function listActionMetadata(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/v3/actions/list-metadata`, method: 'POST' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* lists action metadata
|
|
11
|
+
*/
|
|
12
|
+
export function useListActionMetadataQuery(props, options) {
|
|
13
|
+
return useQuery(['listActionMetadata', props.queryParams, props.body], ({ signal }) => listActionMetadata(Object.assign(Object.assign({}, props), { signal })), options);
|
|
14
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { SharedListMetadataResponse } from '../schemas/SharedListMetadataResponse';
|
|
3
|
+
import type { ApiRestError } from '../schemas/ApiRestError';
|
|
4
|
+
import type { SharedListMetadataRequest } from '../schemas/SharedListMetadataRequest';
|
|
5
|
+
import { FetcherOptions } from '../../../../custom-fetcher/index.js';
|
|
6
|
+
export interface ListExperimentMetadataQueryQueryParams {
|
|
7
|
+
accountIdentifier: string;
|
|
8
|
+
correlationID?: string;
|
|
9
|
+
/**
|
|
10
|
+
* @default 15
|
|
11
|
+
*/
|
|
12
|
+
limit?: number;
|
|
13
|
+
organizationIdentifier?: string;
|
|
14
|
+
/**
|
|
15
|
+
* @default 0
|
|
16
|
+
*/
|
|
17
|
+
page?: number;
|
|
18
|
+
projectIdentifier?: string;
|
|
19
|
+
search?: string;
|
|
20
|
+
sortAscending?: boolean;
|
|
21
|
+
sortField?: 'lastUpdated' | 'name';
|
|
22
|
+
tags?: string;
|
|
23
|
+
}
|
|
24
|
+
export type ListExperimentMetadataRequestBody = SharedListMetadataRequest;
|
|
25
|
+
export type ListExperimentMetadataOkResponse = SharedListMetadataResponse;
|
|
26
|
+
export type ListExperimentMetadataErrorResponse = ApiRestError;
|
|
27
|
+
export interface ListExperimentMetadataProps extends Omit<FetcherOptions<ListExperimentMetadataQueryQueryParams, ListExperimentMetadataRequestBody>, 'url'> {
|
|
28
|
+
queryParams: ListExperimentMetadataQueryQueryParams;
|
|
29
|
+
body: ListExperimentMetadataRequestBody;
|
|
30
|
+
}
|
|
31
|
+
export interface ListExperimentMetadataResponseContainer {
|
|
32
|
+
body: ListExperimentMetadataOkResponse;
|
|
33
|
+
headers: Headers;
|
|
34
|
+
}
|
|
35
|
+
export declare function listExperimentMetadata(props: ListExperimentMetadataProps): Promise<ListExperimentMetadataResponseContainer>;
|
|
36
|
+
/**
|
|
37
|
+
* lists experiment metadata
|
|
38
|
+
*/
|
|
39
|
+
export declare function useListExperimentMetadataQuery(props: ListExperimentMetadataProps, options?: Omit<UseQueryOptions<ListExperimentMetadataResponseContainer, ListExperimentMetadataErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<ListExperimentMetadataResponseContainer, ApiRestError>;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
// This code is autogenerated using @harnessio/oats-cli.
|
|
3
|
+
// Please do not modify this code directly.
|
|
4
|
+
import { useQuery } from '@tanstack/react-query';
|
|
5
|
+
import { fetcher } from '../../../../custom-fetcher/index.js';
|
|
6
|
+
export function listExperimentMetadata(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/v3/experiments/list-metadata`, method: 'POST' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* lists experiment metadata
|
|
11
|
+
*/
|
|
12
|
+
export function useListExperimentMetadataQuery(props, options) {
|
|
13
|
+
return useQuery(['listExperimentMetadata', props.queryParams, props.body], ({ signal }) => listExperimentMetadata(Object.assign(Object.assign({}, props), { signal })), options);
|
|
14
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { SharedListMetadataResponse } from '../schemas/SharedListMetadataResponse';
|
|
3
|
+
import type { ApiRestError } from '../schemas/ApiRestError';
|
|
4
|
+
import type { SharedListMetadataRequest } from '../schemas/SharedListMetadataRequest';
|
|
5
|
+
import { FetcherOptions } from '../../../../custom-fetcher/index.js';
|
|
6
|
+
export interface ListFaultMetadataQueryQueryParams {
|
|
7
|
+
accountIdentifier: string;
|
|
8
|
+
correlationID?: string;
|
|
9
|
+
/**
|
|
10
|
+
* @default 15
|
|
11
|
+
*/
|
|
12
|
+
limit?: number;
|
|
13
|
+
organizationIdentifier?: string;
|
|
14
|
+
/**
|
|
15
|
+
* @default 0
|
|
16
|
+
*/
|
|
17
|
+
page?: number;
|
|
18
|
+
projectIdentifier?: string;
|
|
19
|
+
search?: string;
|
|
20
|
+
sortAscending?: boolean;
|
|
21
|
+
sortField?: 'lastUpdated' | 'name';
|
|
22
|
+
tags?: string;
|
|
23
|
+
}
|
|
24
|
+
export type ListFaultMetadataRequestBody = SharedListMetadataRequest;
|
|
25
|
+
export type ListFaultMetadataOkResponse = SharedListMetadataResponse;
|
|
26
|
+
export type ListFaultMetadataErrorResponse = ApiRestError;
|
|
27
|
+
export interface ListFaultMetadataProps extends Omit<FetcherOptions<ListFaultMetadataQueryQueryParams, ListFaultMetadataRequestBody>, 'url'> {
|
|
28
|
+
queryParams: ListFaultMetadataQueryQueryParams;
|
|
29
|
+
body: ListFaultMetadataRequestBody;
|
|
30
|
+
}
|
|
31
|
+
export interface ListFaultMetadataResponseContainer {
|
|
32
|
+
body: ListFaultMetadataOkResponse;
|
|
33
|
+
headers: Headers;
|
|
34
|
+
}
|
|
35
|
+
export declare function listFaultMetadata(props: ListFaultMetadataProps): Promise<ListFaultMetadataResponseContainer>;
|
|
36
|
+
/**
|
|
37
|
+
* lists fault metadata
|
|
38
|
+
*/
|
|
39
|
+
export declare function useListFaultMetadataQuery(props: ListFaultMetadataProps, options?: Omit<UseQueryOptions<ListFaultMetadataResponseContainer, ListFaultMetadataErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<ListFaultMetadataResponseContainer, ApiRestError>;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
// This code is autogenerated using @harnessio/oats-cli.
|
|
3
|
+
// Please do not modify this code directly.
|
|
4
|
+
import { useQuery } from '@tanstack/react-query';
|
|
5
|
+
import { fetcher } from '../../../../custom-fetcher/index.js';
|
|
6
|
+
export function listFaultMetadata(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/v3/faults/list-metadata`, method: 'POST' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* lists fault metadata
|
|
11
|
+
*/
|
|
12
|
+
export function useListFaultMetadataQuery(props, options) {
|
|
13
|
+
return useQuery(['listFaultMetadata', props.queryParams, props.body], ({ signal }) => listFaultMetadata(Object.assign(Object.assign({}, props), { signal })), options);
|
|
14
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { SharedListMetadataResponse } from '../schemas/SharedListMetadataResponse';
|
|
3
|
+
import type { ApiRestError } from '../schemas/ApiRestError';
|
|
4
|
+
import type { SharedListMetadataRequest } from '../schemas/SharedListMetadataRequest';
|
|
5
|
+
import { FetcherOptions } from '../../../../custom-fetcher/index.js';
|
|
6
|
+
export interface ListGamedayMetadataQueryQueryParams {
|
|
7
|
+
accountIdentifier: string;
|
|
8
|
+
correlationID?: string;
|
|
9
|
+
/**
|
|
10
|
+
* @default 15
|
|
11
|
+
*/
|
|
12
|
+
limit?: number;
|
|
13
|
+
organizationIdentifier?: string;
|
|
14
|
+
/**
|
|
15
|
+
* @default 0
|
|
16
|
+
*/
|
|
17
|
+
page?: number;
|
|
18
|
+
projectIdentifier?: string;
|
|
19
|
+
search?: string;
|
|
20
|
+
sortAscending?: boolean;
|
|
21
|
+
sortField?: 'lastUpdated' | 'name';
|
|
22
|
+
tags?: string;
|
|
23
|
+
}
|
|
24
|
+
export type ListGamedayMetadataRequestBody = SharedListMetadataRequest;
|
|
25
|
+
export type ListGamedayMetadataOkResponse = SharedListMetadataResponse;
|
|
26
|
+
export type ListGamedayMetadataErrorResponse = ApiRestError;
|
|
27
|
+
export interface ListGamedayMetadataProps extends Omit<FetcherOptions<ListGamedayMetadataQueryQueryParams, ListGamedayMetadataRequestBody>, 'url'> {
|
|
28
|
+
queryParams: ListGamedayMetadataQueryQueryParams;
|
|
29
|
+
body: ListGamedayMetadataRequestBody;
|
|
30
|
+
}
|
|
31
|
+
export interface ListGamedayMetadataResponseContainer {
|
|
32
|
+
body: ListGamedayMetadataOkResponse;
|
|
33
|
+
headers: Headers;
|
|
34
|
+
}
|
|
35
|
+
export declare function listGamedayMetadata(props: ListGamedayMetadataProps): Promise<ListGamedayMetadataResponseContainer>;
|
|
36
|
+
/**
|
|
37
|
+
* lists gameday metadata
|
|
38
|
+
*/
|
|
39
|
+
export declare function useListGamedayMetadataQuery(props: ListGamedayMetadataProps, options?: Omit<UseQueryOptions<ListGamedayMetadataResponseContainer, ListGamedayMetadataErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<ListGamedayMetadataResponseContainer, ApiRestError>;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
// This code is autogenerated using @harnessio/oats-cli.
|
|
3
|
+
// Please do not modify this code directly.
|
|
4
|
+
import { useQuery } from '@tanstack/react-query';
|
|
5
|
+
import { fetcher } from '../../../../custom-fetcher/index.js';
|
|
6
|
+
export function listGamedayMetadata(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/v3/gamedays/list-metadata`, method: 'POST' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* lists gameday metadata
|
|
11
|
+
*/
|
|
12
|
+
export function useListGamedayMetadataQuery(props, options) {
|
|
13
|
+
return useQuery(['listGamedayMetadata', props.queryParams, props.body], ({ signal }) => listGamedayMetadata(Object.assign(Object.assign({}, props), { signal })), options);
|
|
14
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { SharedListMetadataResponse } from '../schemas/SharedListMetadataResponse';
|
|
3
|
+
import type { ApiRestError } from '../schemas/ApiRestError';
|
|
4
|
+
import type { SharedListMetadataRequest } from '../schemas/SharedListMetadataRequest';
|
|
5
|
+
import { FetcherOptions } from '../../../../custom-fetcher/index.js';
|
|
6
|
+
export interface ListHubMetadataQueryQueryParams {
|
|
7
|
+
accountIdentifier: string;
|
|
8
|
+
correlationID?: string;
|
|
9
|
+
/**
|
|
10
|
+
* @default 15
|
|
11
|
+
*/
|
|
12
|
+
limit?: number;
|
|
13
|
+
organizationIdentifier?: string;
|
|
14
|
+
/**
|
|
15
|
+
* @default 0
|
|
16
|
+
*/
|
|
17
|
+
page?: number;
|
|
18
|
+
projectIdentifier?: string;
|
|
19
|
+
search?: string;
|
|
20
|
+
sortAscending?: boolean;
|
|
21
|
+
sortField?: 'lastUpdated' | 'name';
|
|
22
|
+
tags?: string;
|
|
23
|
+
}
|
|
24
|
+
export type ListHubMetadataRequestBody = SharedListMetadataRequest;
|
|
25
|
+
export type ListHubMetadataOkResponse = SharedListMetadataResponse;
|
|
26
|
+
export type ListHubMetadataErrorResponse = ApiRestError;
|
|
27
|
+
export interface ListHubMetadataProps extends Omit<FetcherOptions<ListHubMetadataQueryQueryParams, ListHubMetadataRequestBody>, 'url'> {
|
|
28
|
+
queryParams: ListHubMetadataQueryQueryParams;
|
|
29
|
+
body: ListHubMetadataRequestBody;
|
|
30
|
+
}
|
|
31
|
+
export interface ListHubMetadataResponseContainer {
|
|
32
|
+
body: ListHubMetadataOkResponse;
|
|
33
|
+
headers: Headers;
|
|
34
|
+
}
|
|
35
|
+
export declare function listHubMetadata(props: ListHubMetadataProps): Promise<ListHubMetadataResponseContainer>;
|
|
36
|
+
/**
|
|
37
|
+
* lists hub metadata
|
|
38
|
+
*/
|
|
39
|
+
export declare function useListHubMetadataQuery(props: ListHubMetadataProps, options?: Omit<UseQueryOptions<ListHubMetadataResponseContainer, ListHubMetadataErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<ListHubMetadataResponseContainer, ApiRestError>;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
// This code is autogenerated using @harnessio/oats-cli.
|
|
3
|
+
// Please do not modify this code directly.
|
|
4
|
+
import { useQuery } from '@tanstack/react-query';
|
|
5
|
+
import { fetcher } from '../../../../custom-fetcher/index.js';
|
|
6
|
+
export function listHubMetadata(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/v3/hubs/list-metadata`, method: 'POST' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* lists hub metadata
|
|
11
|
+
*/
|
|
12
|
+
export function useListHubMetadataQuery(props, options) {
|
|
13
|
+
return useQuery(['listHubMetadata', props.queryParams, props.body], ({ signal }) => listHubMetadata(Object.assign(Object.assign({}, props), { signal })), options);
|
|
14
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { SharedListMetadataResponse } from '../schemas/SharedListMetadataResponse';
|
|
3
|
+
import type { ApiRestError } from '../schemas/ApiRestError';
|
|
4
|
+
import type { SharedListMetadataRequest } from '../schemas/SharedListMetadataRequest';
|
|
5
|
+
import { FetcherOptions } from '../../../../custom-fetcher/index.js';
|
|
6
|
+
export interface ListProbeMetadataQueryQueryParams {
|
|
7
|
+
accountIdentifier: string;
|
|
8
|
+
correlationID?: string;
|
|
9
|
+
/**
|
|
10
|
+
* @default 15
|
|
11
|
+
*/
|
|
12
|
+
limit?: number;
|
|
13
|
+
organizationIdentifier?: string;
|
|
14
|
+
/**
|
|
15
|
+
* @default 0
|
|
16
|
+
*/
|
|
17
|
+
page?: number;
|
|
18
|
+
projectIdentifier?: string;
|
|
19
|
+
search?: string;
|
|
20
|
+
sortAscending?: boolean;
|
|
21
|
+
sortField?: 'lastUpdated' | 'name';
|
|
22
|
+
tags?: string;
|
|
23
|
+
}
|
|
24
|
+
export type ListProbeMetadataRequestBody = SharedListMetadataRequest;
|
|
25
|
+
export type ListProbeMetadataOkResponse = SharedListMetadataResponse;
|
|
26
|
+
export type ListProbeMetadataErrorResponse = ApiRestError;
|
|
27
|
+
export interface ListProbeMetadataProps extends Omit<FetcherOptions<ListProbeMetadataQueryQueryParams, ListProbeMetadataRequestBody>, 'url'> {
|
|
28
|
+
queryParams: ListProbeMetadataQueryQueryParams;
|
|
29
|
+
body: ListProbeMetadataRequestBody;
|
|
30
|
+
}
|
|
31
|
+
export interface ListProbeMetadataResponseContainer {
|
|
32
|
+
body: ListProbeMetadataOkResponse;
|
|
33
|
+
headers: Headers;
|
|
34
|
+
}
|
|
35
|
+
export declare function listProbeMetadata(props: ListProbeMetadataProps): Promise<ListProbeMetadataResponseContainer>;
|
|
36
|
+
/**
|
|
37
|
+
* lists probe metadata
|
|
38
|
+
*/
|
|
39
|
+
export declare function useListProbeMetadataQuery(props: ListProbeMetadataProps, options?: Omit<UseQueryOptions<ListProbeMetadataResponseContainer, ListProbeMetadataErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<ListProbeMetadataResponseContainer, ApiRestError>;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
// This code is autogenerated using @harnessio/oats-cli.
|
|
3
|
+
// Please do not modify this code directly.
|
|
4
|
+
import { useQuery } from '@tanstack/react-query';
|
|
5
|
+
import { fetcher } from '../../../../custom-fetcher/index.js';
|
|
6
|
+
export function listProbeMetadata(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/v3/probes/list-metadata`, method: 'POST' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* lists probe metadata
|
|
11
|
+
*/
|
|
12
|
+
export function useListProbeMetadataQuery(props, options) {
|
|
13
|
+
return useQuery(['listProbeMetadata', props.queryParams, props.body], ({ signal }) => listProbeMetadata(Object.assign(Object.assign({}, props), { signal })), options);
|
|
14
|
+
}
|
|
@@ -220,6 +220,8 @@ export type { ImportActionErrorResponse, ImportActionMutationProps, ImportAction
|
|
|
220
220
|
export { importAction, useImportActionMutation } from './hooks/useImportActionMutation';
|
|
221
221
|
export type { ImportProbeErrorResponse, ImportProbeMutationProps, ImportProbeMutationQueryParams, ImportProbeOkResponse, ImportProbeProps, ImportProbeRequestBody, } from './hooks/useImportProbeMutation';
|
|
222
222
|
export { importProbe, useImportProbeMutation } from './hooks/useImportProbeMutation';
|
|
223
|
+
export type { ListActionMetadataErrorResponse, ListActionMetadataOkResponse, ListActionMetadataProps, ListActionMetadataQueryQueryParams, ListActionMetadataRequestBody, } from './hooks/useListActionMetadataQuery';
|
|
224
|
+
export { listActionMetadata, useListActionMetadataQuery } from './hooks/useListActionMetadataQuery';
|
|
223
225
|
export type { ListActionTemplateErrorResponse, ListActionTemplateOkResponse, ListActionTemplateProps, ListActionTemplateQueryQueryParams, } from './hooks/useListActionTemplateQuery';
|
|
224
226
|
export { listActionTemplate, useListActionTemplateQuery } from './hooks/useListActionTemplateQuery';
|
|
225
227
|
export type { ListActionTemplateRevisionsErrorResponse, ListActionTemplateRevisionsOkResponse, ListActionTemplateRevisionsProps, ListActionTemplateRevisionsQueryPathParams, ListActionTemplateRevisionsQueryQueryParams, } from './hooks/useListActionTemplateRevisionsQuery';
|
|
@@ -236,6 +238,8 @@ export type { ListChaosV2ExperimentErrorResponse, ListChaosV2ExperimentOkRespons
|
|
|
236
238
|
export { listChaosV2Experiment, useListChaosV2ExperimentQuery, } from './hooks/useListChaosV2ExperimentQuery';
|
|
237
239
|
export type { ListConditionErrorResponse, ListConditionOkResponse, ListConditionProps, ListConditionQueryQueryParams, } from './hooks/useListConditionQuery';
|
|
238
240
|
export { listCondition, useListConditionQuery } from './hooks/useListConditionQuery';
|
|
241
|
+
export type { ListExperimentMetadataErrorResponse, ListExperimentMetadataOkResponse, ListExperimentMetadataProps, ListExperimentMetadataQueryQueryParams, ListExperimentMetadataRequestBody, } from './hooks/useListExperimentMetadataQuery';
|
|
242
|
+
export { listExperimentMetadata, useListExperimentMetadataQuery, } from './hooks/useListExperimentMetadataQuery';
|
|
239
243
|
export type { ListExperimentRunsOfFaultErrorResponse, ListExperimentRunsOfFaultOkResponse, ListExperimentRunsOfFaultProps, ListExperimentRunsOfFaultQueryPathParams, ListExperimentRunsOfFaultQueryQueryParams, } from './hooks/useListExperimentRunsOfFaultQuery';
|
|
240
244
|
export { listExperimentRunsOfFault, useListExperimentRunsOfFaultQuery, } from './hooks/useListExperimentRunsOfFaultQuery';
|
|
241
245
|
export type { ListExperimentTemplateErrorResponse, ListExperimentTemplateOkResponse, ListExperimentTemplateProps, ListExperimentTemplateQueryQueryParams, } from './hooks/useListExperimentTemplateQuery';
|
|
@@ -244,6 +248,8 @@ export type { ListExperimentsErrorResponse, ListExperimentsOkResponse, ListExper
|
|
|
244
248
|
export { listExperiments, useListExperimentsQuery } from './hooks/useListExperimentsQuery';
|
|
245
249
|
export type { ListExperimentsWithActiveInfrasMinimalNotificationErrorResponse, ListExperimentsWithActiveInfrasMinimalNotificationOkResponse, ListExperimentsWithActiveInfrasMinimalNotificationProps, ListExperimentsWithActiveInfrasMinimalNotificationQueryQueryParams, } from './hooks/useListExperimentsWithActiveInfrasMinimalNotificationQuery';
|
|
246
250
|
export { listExperimentsWithActiveInfrasMinimalNotification, useListExperimentsWithActiveInfrasMinimalNotificationQuery, } from './hooks/useListExperimentsWithActiveInfrasMinimalNotificationQuery';
|
|
251
|
+
export type { ListFaultMetadataErrorResponse, ListFaultMetadataOkResponse, ListFaultMetadataProps, ListFaultMetadataQueryQueryParams, ListFaultMetadataRequestBody, } from './hooks/useListFaultMetadataQuery';
|
|
252
|
+
export { listFaultMetadata, useListFaultMetadataQuery } from './hooks/useListFaultMetadataQuery';
|
|
247
253
|
export type { ListFaultErrorResponse, ListFaultOkResponse, ListFaultProps, ListFaultQueryQueryParams, } from './hooks/useListFaultQuery';
|
|
248
254
|
export { listFault, useListFaultQuery } from './hooks/useListFaultQuery';
|
|
249
255
|
export type { ListFaultTemplateErrorResponse, ListFaultTemplateOkResponse, ListFaultTemplateProps, ListFaultTemplateQueryQueryParams, } from './hooks/useListFaultTemplateQuery';
|
|
@@ -252,12 +258,16 @@ export type { ListFaultv2ErrorResponse, ListFaultv2OkResponse, ListFaultv2Props,
|
|
|
252
258
|
export { listFaultv2, useListFaultv2Query } from './hooks/useListFaultv2Query';
|
|
253
259
|
export type { ListFunctionErrorResponse, ListFunctionOkResponse, ListFunctionProps, ListFunctionQueryPathParams, ListFunctionQueryQueryParams, } from './hooks/useListFunctionQuery';
|
|
254
260
|
export { listFunction, useListFunctionQuery } from './hooks/useListFunctionQuery';
|
|
261
|
+
export type { ListGamedayMetadataErrorResponse, ListGamedayMetadataOkResponse, ListGamedayMetadataProps, ListGamedayMetadataQueryQueryParams, ListGamedayMetadataRequestBody, } from './hooks/useListGamedayMetadataQuery';
|
|
262
|
+
export { listGamedayMetadata, useListGamedayMetadataQuery, } from './hooks/useListGamedayMetadataQuery';
|
|
255
263
|
export type { ListGamedayRunV2ErrorResponse, ListGamedayRunV2OkResponse, ListGamedayRunV2Props, ListGamedayRunV2QueryPathParams, ListGamedayRunV2QueryQueryParams, } from './hooks/useListGamedayRunV2Query';
|
|
256
264
|
export { listGamedayRunV2, useListGamedayRunV2Query } from './hooks/useListGamedayRunV2Query';
|
|
257
265
|
export type { ListGamedayV2ErrorResponse, ListGamedayV2OkResponse, ListGamedayV2Props, ListGamedayV2QueryQueryParams, } from './hooks/useListGamedayV2Query';
|
|
258
266
|
export { listGamedayV2, useListGamedayV2Query } from './hooks/useListGamedayV2Query';
|
|
259
267
|
export type { ListHarnessInfraErrorResponse, ListHarnessInfraOkResponse, ListHarnessInfraProps, ListHarnessInfraQueryQueryParams, } from './hooks/useListHarnessInfraQuery';
|
|
260
268
|
export { listHarnessInfra, useListHarnessInfraQuery } from './hooks/useListHarnessInfraQuery';
|
|
269
|
+
export type { ListHubMetadataErrorResponse, ListHubMetadataOkResponse, ListHubMetadataProps, ListHubMetadataQueryQueryParams, ListHubMetadataRequestBody, } from './hooks/useListHubMetadataQuery';
|
|
270
|
+
export { listHubMetadata, useListHubMetadataQuery } from './hooks/useListHubMetadataQuery';
|
|
261
271
|
export type { ListInfraV2ErrorResponse, ListInfraV2OkResponse, ListInfraV2Props, ListInfraV2QueryQueryParams, ListInfraV2RequestBody, } from './hooks/useListInfraV2Query';
|
|
262
272
|
export { listInfraV2, useListInfraV2Query } from './hooks/useListInfraV2Query';
|
|
263
273
|
export type { ListInputSetErrorResponse, ListInputSetOkResponse, ListInputSetProps, ListInputSetQueryPathParams, ListInputSetQueryQueryParams, } from './hooks/useListInputSetQuery';
|
|
@@ -270,6 +280,8 @@ export type { ListMachineChaosInfraErrorResponse, ListMachineChaosInfraOkRespons
|
|
|
270
280
|
export { listMachineChaosInfra, useListMachineChaosInfraQuery, } from './hooks/useListMachineChaosInfraQuery';
|
|
271
281
|
export type { ListPipelineOnboardingErrorResponse, ListPipelineOnboardingOkResponse, ListPipelineOnboardingProps, ListPipelineOnboardingQueryQueryParams, } from './hooks/useListPipelineOnboardingQuery';
|
|
272
282
|
export { listPipelineOnboarding, useListPipelineOnboardingQuery, } from './hooks/useListPipelineOnboardingQuery';
|
|
283
|
+
export type { ListProbeMetadataErrorResponse, ListProbeMetadataOkResponse, ListProbeMetadataProps, ListProbeMetadataQueryQueryParams, ListProbeMetadataRequestBody, } from './hooks/useListProbeMetadataQuery';
|
|
284
|
+
export { listProbeMetadata, useListProbeMetadataQuery } from './hooks/useListProbeMetadataQuery';
|
|
273
285
|
export type { ListProbeTemplateErrorResponse, ListProbeTemplateOkResponse, ListProbeTemplateProps, ListProbeTemplateQueryQueryParams, } from './hooks/useListProbeTemplateQuery';
|
|
274
286
|
export { listProbeTemplate, useListProbeTemplateQuery } from './hooks/useListProbeTemplateQuery';
|
|
275
287
|
export type { ListProbesErrorResponse, ListProbesOkResponse, ListProbesProps, ListProbesQueryQueryParams, } from './hooks/useListProbesQuery';
|
|
@@ -528,6 +540,7 @@ export type { ChaosserviceusageServiceDataResponse } from './schemas/Chaosservic
|
|
|
528
540
|
export type { ChaosserviceusageServiceType } from './schemas/ChaosserviceusageServiceType';
|
|
529
541
|
export type { ChaosserviceusageStatsByType } from './schemas/ChaosserviceusageStatsByType';
|
|
530
542
|
export type { ChaosserviceusageUsageStats } from './schemas/ChaosserviceusageUsageStats';
|
|
543
|
+
export type { CommonImportType } from './schemas/CommonImportType';
|
|
531
544
|
export type { CommonTypesExperimentRunStats } from './schemas/CommonTypesExperimentRunStats';
|
|
532
545
|
export type { CommonTypesExperimentRunsData } from './schemas/CommonTypesExperimentRunsData';
|
|
533
546
|
export type { DatabaseAgentConfiguration } from './schemas/DatabaseAgentConfiguration';
|
|
@@ -606,6 +619,7 @@ export type { ExperimenttemplateVertex } from './schemas/ExperimenttemplateVerte
|
|
|
606
619
|
export type { ExperimenttemplateVertexChild } from './schemas/ExperimenttemplateVertexChild';
|
|
607
620
|
export type { ExperimenttemplateVertexResource } from './schemas/ExperimenttemplateVertexResource';
|
|
608
621
|
export type { FaultLink } from './schemas/FaultLink';
|
|
622
|
+
export type { FaultTemplateReference } from './schemas/FaultTemplateReference';
|
|
609
623
|
export type { FaulttemplateApplicationTarget } from './schemas/FaulttemplateApplicationTarget';
|
|
610
624
|
export type { FaulttemplateAuth } from './schemas/FaulttemplateAuth';
|
|
611
625
|
export type { FaulttemplateAwsAuth } from './schemas/FaulttemplateAwsAuth';
|
|
@@ -640,6 +654,7 @@ export type { GithubComHarnessHceSaasGraphqlServerGraphModelPagination } from '.
|
|
|
640
654
|
export type { GithubComHarnessHceSaasGraphqlServerGraphModelRegisterInfraRequest } from './schemas/GithubComHarnessHceSaasGraphqlServerGraphModelRegisterInfraRequest';
|
|
641
655
|
export type { GithubComHarnessHceSaasGraphqlServerGraphModelRegisterInfraResponse } from './schemas/GithubComHarnessHceSaasGraphqlServerGraphModelRegisterInfraResponse';
|
|
642
656
|
export type { GithubComHarnessHceSaasGraphqlServerGraphModelUserDetails } from './schemas/GithubComHarnessHceSaasGraphqlServerGraphModelUserDetails';
|
|
657
|
+
export type { GithubComHarnessHceSaasGraphqlServerModelsSharedMetadata } from './schemas/GithubComHarnessHceSaasGraphqlServerModelsSharedMetadata';
|
|
643
658
|
export type { GithubComHarnessHceSaasGraphqlServerPkgActionsAction } from './schemas/GithubComHarnessHceSaasGraphqlServerPkgActionsAction';
|
|
644
659
|
export type { GithubComHarnessHceSaasGraphqlServerPkgChaosV2ExperimentRunTypesUserDetails } from './schemas/GithubComHarnessHceSaasGraphqlServerPkgChaosV2ExperimentRunTypesUserDetails';
|
|
645
660
|
export type { GithubComHarnessHceSaasGraphqlServerPkgChaosV2ProbesTypesUserDetails } from './schemas/GithubComHarnessHceSaasGraphqlServerPkgChaosV2ProbesTypesUserDetails';
|
|
@@ -929,6 +944,8 @@ export type { SecurityGovernanceRecurrenceSpec } from './schemas/SecurityGoverna
|
|
|
929
944
|
export type { SecurityGovernanceTimeWindow } from './schemas/SecurityGovernanceTimeWindow';
|
|
930
945
|
export type { SecurityGovernanceWorkload } from './schemas/SecurityGovernanceWorkload';
|
|
931
946
|
export type { SharedError } from './schemas/SharedError';
|
|
947
|
+
export type { SharedListMetadataRequest } from './schemas/SharedListMetadataRequest';
|
|
948
|
+
export type { SharedListMetadataResponse } from './schemas/SharedListMetadataResponse';
|
|
932
949
|
export type { TargetnetworkmapExperimentCreationMode } from './schemas/TargetnetworkmapExperimentCreationMode';
|
|
933
950
|
export type { TargetnetworkmapExperimentRunDetail } from './schemas/TargetnetworkmapExperimentRunDetail';
|
|
934
951
|
export type { TargetnetworkmapStatus } from './schemas/TargetnetworkmapStatus';
|
|
@@ -109,6 +109,7 @@ export { getV2Onboarding, useGetV2OnboardingQuery } from './hooks/useGetV2Onboar
|
|
|
109
109
|
export { healthCheckV3, useHealthCheckV3Query } from './hooks/useHealthCheckV3Query';
|
|
110
110
|
export { importAction, useImportActionMutation } from './hooks/useImportActionMutation';
|
|
111
111
|
export { importProbe, useImportProbeMutation } from './hooks/useImportProbeMutation';
|
|
112
|
+
export { listActionMetadata, useListActionMetadataQuery } from './hooks/useListActionMetadataQuery';
|
|
112
113
|
export { listActionTemplate, useListActionTemplateQuery } from './hooks/useListActionTemplateQuery';
|
|
113
114
|
export { listActionTemplateRevisions, useListActionTemplateRevisionsQuery, } from './hooks/useListActionTemplateRevisionsQuery';
|
|
114
115
|
export { listActions, useListActionsQuery } from './hooks/useListActionsQuery';
|
|
@@ -117,23 +118,28 @@ export { listChaosEnabledInfraV2, useListChaosEnabledInfraV2Query, } from './hoo
|
|
|
117
118
|
export { listChaosHub, useListChaosHubQuery } from './hooks/useListChaosHubQuery';
|
|
118
119
|
export { listChaosV2Experiment, useListChaosV2ExperimentQuery, } from './hooks/useListChaosV2ExperimentQuery';
|
|
119
120
|
export { listCondition, useListConditionQuery } from './hooks/useListConditionQuery';
|
|
121
|
+
export { listExperimentMetadata, useListExperimentMetadataQuery, } from './hooks/useListExperimentMetadataQuery';
|
|
120
122
|
export { listExperimentRunsOfFault, useListExperimentRunsOfFaultQuery, } from './hooks/useListExperimentRunsOfFaultQuery';
|
|
121
123
|
export { listExperimentTemplate, useListExperimentTemplateQuery, } from './hooks/useListExperimentTemplateQuery';
|
|
122
124
|
export { listExperiments, useListExperimentsQuery } from './hooks/useListExperimentsQuery';
|
|
123
125
|
export { listExperimentsWithActiveInfrasMinimalNotification, useListExperimentsWithActiveInfrasMinimalNotificationQuery, } from './hooks/useListExperimentsWithActiveInfrasMinimalNotificationQuery';
|
|
126
|
+
export { listFaultMetadata, useListFaultMetadataQuery } from './hooks/useListFaultMetadataQuery';
|
|
124
127
|
export { listFault, useListFaultQuery } from './hooks/useListFaultQuery';
|
|
125
128
|
export { listFaultTemplate, useListFaultTemplateQuery } from './hooks/useListFaultTemplateQuery';
|
|
126
129
|
export { listFaultv2, useListFaultv2Query } from './hooks/useListFaultv2Query';
|
|
127
130
|
export { listFunction, useListFunctionQuery } from './hooks/useListFunctionQuery';
|
|
131
|
+
export { listGamedayMetadata, useListGamedayMetadataQuery, } from './hooks/useListGamedayMetadataQuery';
|
|
128
132
|
export { listGamedayRunV2, useListGamedayRunV2Query } from './hooks/useListGamedayRunV2Query';
|
|
129
133
|
export { listGamedayV2, useListGamedayV2Query } from './hooks/useListGamedayV2Query';
|
|
130
134
|
export { listHarnessInfra, useListHarnessInfraQuery } from './hooks/useListHarnessInfraQuery';
|
|
135
|
+
export { listHubMetadata, useListHubMetadataQuery } from './hooks/useListHubMetadataQuery';
|
|
131
136
|
export { listInfraV2, useListInfraV2Query } from './hooks/useListInfraV2Query';
|
|
132
137
|
export { listInputSet, useListInputSetQuery } from './hooks/useListInputSetQuery';
|
|
133
138
|
export { listK8sInfrasV2, useListK8sInfrasV2Mutation } from './hooks/useListK8sInfrasV2Mutation';
|
|
134
139
|
export { listLegacyKubernetesChaosInfra, useListLegacyKubernetesChaosInfraMutation, } from './hooks/useListLegacyKubernetesChaosInfraMutation';
|
|
135
140
|
export { listMachineChaosInfra, useListMachineChaosInfraQuery, } from './hooks/useListMachineChaosInfraQuery';
|
|
136
141
|
export { listPipelineOnboarding, useListPipelineOnboardingQuery, } from './hooks/useListPipelineOnboardingQuery';
|
|
142
|
+
export { listProbeMetadata, useListProbeMetadataQuery } from './hooks/useListProbeMetadataQuery';
|
|
137
143
|
export { listProbeTemplate, useListProbeTemplateQuery } from './hooks/useListProbeTemplateQuery';
|
|
138
144
|
export { listProbes, useListProbesQuery } from './hooks/useListProbesQuery';
|
|
139
145
|
export { listRecommendations, useListRecommendationsQuery, } from './hooks/useListRecommendationsQuery';
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { GithubComHarnessHceSaasGraphqlServerGraphModelUserDetails } from '../schemas/GithubComHarnessHceSaasGraphqlServerGraphModelUserDetails';
|
|
2
|
+
import type { MongodbImportType } from '../schemas/MongodbImportType';
|
|
2
3
|
import type { ChaosfaultLink } from '../schemas/ChaosfaultLink';
|
|
3
4
|
import type { TemplateVariable } from '../schemas/TemplateVariable';
|
|
4
5
|
export interface ChaosfaultChaosFault {
|
|
@@ -17,6 +18,7 @@ export interface ChaosfaultChaosFault {
|
|
|
17
18
|
* Unique identifier (human-readable) immutable
|
|
18
19
|
*/
|
|
19
20
|
identity: string;
|
|
21
|
+
importType?: MongodbImportType;
|
|
20
22
|
infraType?: string;
|
|
21
23
|
infras?: string[];
|
|
22
24
|
isEnterprise?: boolean;
|
|
@@ -28,6 +30,9 @@ export interface ChaosfaultChaosFault {
|
|
|
28
30
|
projectID?: string;
|
|
29
31
|
tags?: string[];
|
|
30
32
|
template?: string;
|
|
33
|
+
templateReference?: string;
|
|
34
|
+
templateRevision?: string;
|
|
35
|
+
templateUid?: string;
|
|
31
36
|
type?: string;
|
|
32
37
|
updatedAt?: number;
|
|
33
38
|
updatedBy?: string;
|
|
@@ -1,5 +1,7 @@
|
|
|
1
|
+
import type { CommonImportType } from '../schemas/CommonImportType';
|
|
1
2
|
import type { FaultLink } from '../schemas/FaultLink';
|
|
2
3
|
import type { FaulttemplateSpec } from '../schemas/FaulttemplateSpec';
|
|
4
|
+
import type { FaultTemplateReference } from '../schemas/FaultTemplateReference';
|
|
3
5
|
import type { TemplateVariableMinimum } from '../schemas/TemplateVariableMinimum';
|
|
4
6
|
import type { TemplateVariable } from '../schemas/TemplateVariable';
|
|
5
7
|
export interface ChaosfaultCreateFaultRequest {
|
|
@@ -7,6 +9,7 @@ export interface ChaosfaultCreateFaultRequest {
|
|
|
7
9
|
category?: string[];
|
|
8
10
|
description?: string;
|
|
9
11
|
identity: string;
|
|
12
|
+
importType?: CommonImportType;
|
|
10
13
|
infraType?: string;
|
|
11
14
|
infras?: string[];
|
|
12
15
|
kind?: string;
|
|
@@ -15,7 +18,7 @@ export interface ChaosfaultCreateFaultRequest {
|
|
|
15
18
|
permissionsRequired?: string;
|
|
16
19
|
spec?: FaulttemplateSpec;
|
|
17
20
|
tags?: string[];
|
|
18
|
-
templateReference?:
|
|
21
|
+
templateReference?: FaultTemplateReference;
|
|
19
22
|
type?: string;
|
|
20
23
|
updatedAt?: number;
|
|
21
24
|
values?: TemplateVariableMinimum[];
|
|
@@ -1,5 +1,7 @@
|
|
|
1
|
+
import type { CommonImportType } from '../schemas/CommonImportType';
|
|
1
2
|
import type { FaultLink } from '../schemas/FaultLink';
|
|
2
3
|
import type { FaulttemplateSpec } from '../schemas/FaulttemplateSpec';
|
|
4
|
+
import type { FaultTemplateReference } from '../schemas/FaultTemplateReference';
|
|
3
5
|
import type { TemplateVariableMinimum } from '../schemas/TemplateVariableMinimum';
|
|
4
6
|
import type { TemplateVariable } from '../schemas/TemplateVariable';
|
|
5
7
|
export interface ChaosfaultCreateFaultResponse {
|
|
@@ -8,6 +10,7 @@ export interface ChaosfaultCreateFaultResponse {
|
|
|
8
10
|
correlationID?: string;
|
|
9
11
|
description?: string;
|
|
10
12
|
identity: string;
|
|
13
|
+
importType?: CommonImportType;
|
|
11
14
|
infraType?: string;
|
|
12
15
|
infras?: string[];
|
|
13
16
|
kind?: string;
|
|
@@ -16,7 +19,7 @@ export interface ChaosfaultCreateFaultResponse {
|
|
|
16
19
|
permissionsRequired?: string;
|
|
17
20
|
spec?: FaulttemplateSpec;
|
|
18
21
|
tags?: string[];
|
|
19
|
-
templateReference?:
|
|
22
|
+
templateReference?: FaultTemplateReference;
|
|
20
23
|
type?: string;
|
|
21
24
|
updatedAt?: number;
|
|
22
25
|
values?: TemplateVariableMinimum[];
|
|
@@ -1,5 +1,7 @@
|
|
|
1
|
+
import type { CommonImportType } from '../schemas/CommonImportType';
|
|
1
2
|
import type { FaultLink } from '../schemas/FaultLink';
|
|
2
3
|
import type { FaulttemplateSpec } from '../schemas/FaulttemplateSpec';
|
|
4
|
+
import type { FaultTemplateReference } from '../schemas/FaultTemplateReference';
|
|
3
5
|
import type { TemplateVariableMinimum } from '../schemas/TemplateVariableMinimum';
|
|
4
6
|
import type { TemplateVariable } from '../schemas/TemplateVariable';
|
|
5
7
|
export interface ChaosfaultGetFaultResponse {
|
|
@@ -8,6 +10,7 @@ export interface ChaosfaultGetFaultResponse {
|
|
|
8
10
|
correlationID?: string;
|
|
9
11
|
description?: string;
|
|
10
12
|
identity: string;
|
|
13
|
+
importType?: CommonImportType;
|
|
11
14
|
infraType?: string;
|
|
12
15
|
infras?: string[];
|
|
13
16
|
isEnterprise?: boolean;
|
|
@@ -17,7 +20,7 @@ export interface ChaosfaultGetFaultResponse {
|
|
|
17
20
|
permissionsRequired?: string;
|
|
18
21
|
spec?: FaulttemplateSpec;
|
|
19
22
|
tags?: string[];
|
|
20
|
-
templateReference?:
|
|
23
|
+
templateReference?: FaultTemplateReference;
|
|
21
24
|
type?: string;
|
|
22
25
|
updatedAt?: number;
|
|
23
26
|
values?: TemplateVariableMinimum[];
|
|
@@ -1,5 +1,7 @@
|
|
|
1
|
+
import type { CommonImportType } from '../schemas/CommonImportType';
|
|
1
2
|
import type { FaultLink } from '../schemas/FaultLink';
|
|
2
3
|
import type { FaulttemplateSpec } from '../schemas/FaulttemplateSpec';
|
|
4
|
+
import type { FaultTemplateReference } from '../schemas/FaultTemplateReference';
|
|
3
5
|
import type { TemplateVariableMinimum } from '../schemas/TemplateVariableMinimum';
|
|
4
6
|
import type { TemplateVariable } from '../schemas/TemplateVariable';
|
|
5
7
|
export interface ChaosfaultUpdateFaultRequest {
|
|
@@ -7,6 +9,7 @@ export interface ChaosfaultUpdateFaultRequest {
|
|
|
7
9
|
category?: string[];
|
|
8
10
|
description?: string;
|
|
9
11
|
identity: string;
|
|
12
|
+
importType?: CommonImportType;
|
|
10
13
|
infraType?: string;
|
|
11
14
|
infras?: string[];
|
|
12
15
|
kind?: string;
|
|
@@ -15,7 +18,7 @@ export interface ChaosfaultUpdateFaultRequest {
|
|
|
15
18
|
permissionsRequired?: string;
|
|
16
19
|
spec?: FaulttemplateSpec;
|
|
17
20
|
tags?: string[];
|
|
18
|
-
templateReference?:
|
|
21
|
+
templateReference?: FaultTemplateReference;
|
|
19
22
|
type?: string;
|
|
20
23
|
updatedAt?: number;
|
|
21
24
|
values?: TemplateVariableMinimum[];
|
|
@@ -1,5 +1,7 @@
|
|
|
1
|
+
import type { CommonImportType } from '../schemas/CommonImportType';
|
|
1
2
|
import type { FaultLink } from '../schemas/FaultLink';
|
|
2
3
|
import type { FaulttemplateSpec } from '../schemas/FaulttemplateSpec';
|
|
4
|
+
import type { FaultTemplateReference } from '../schemas/FaultTemplateReference';
|
|
3
5
|
import type { TemplateVariableMinimum } from '../schemas/TemplateVariableMinimum';
|
|
4
6
|
import type { TemplateVariable } from '../schemas/TemplateVariable';
|
|
5
7
|
export interface ChaosfaultUpdateFaultResponse {
|
|
@@ -8,6 +10,7 @@ export interface ChaosfaultUpdateFaultResponse {
|
|
|
8
10
|
correlationID?: string;
|
|
9
11
|
description?: string;
|
|
10
12
|
identity: string;
|
|
13
|
+
importType?: CommonImportType;
|
|
11
14
|
infraType?: string;
|
|
12
15
|
infras?: string[];
|
|
13
16
|
kind?: string;
|
|
@@ -16,7 +19,7 @@ export interface ChaosfaultUpdateFaultResponse {
|
|
|
16
19
|
permissionsRequired?: string;
|
|
17
20
|
spec?: FaulttemplateSpec;
|
|
18
21
|
tags?: string[];
|
|
19
|
-
templateReference?:
|
|
22
|
+
templateReference?: FaultTemplateReference;
|
|
20
23
|
type?: string;
|
|
21
24
|
updatedAt?: number;
|
|
22
25
|
values?: TemplateVariableMinimum[];
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type CommonImportType = 'LOCAL' | 'REFERENCE';
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { GithubComHarnessHceSaasGraphqlServerModelsSharedMetadata } from '../schemas/GithubComHarnessHceSaasGraphqlServerModelsSharedMetadata';
|
|
2
|
+
import type { GithubComHarnessHceSaasGraphqlServerApiPagination } from '../schemas/GithubComHarnessHceSaasGraphqlServerApiPagination';
|
|
3
|
+
export interface SharedListMetadataResponse {
|
|
4
|
+
correlationID?: string;
|
|
5
|
+
items?: GithubComHarnessHceSaasGraphqlServerModelsSharedMetadata[];
|
|
6
|
+
pagination?: GithubComHarnessHceSaasGraphqlServerApiPagination;
|
|
7
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/package.json
CHANGED