@harnessio/react-chaos-manager-client 1.65.0 → 1.65.1-beta.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/useCreateChaosServiceMutation.d.ts +30 -0
- package/dist/chaos-manager/src/services/hooks/useCreateChaosServiceMutation.js +14 -0
- package/dist/chaos-manager/src/services/hooks/useDeleteChaosServiceMutation.d.ts +30 -0
- package/dist/chaos-manager/src/services/hooks/useDeleteChaosServiceMutation.js +14 -0
- package/dist/chaos-manager/src/services/hooks/useGetChaosServiceQuery.d.ts +29 -0
- package/dist/chaos-manager/src/services/hooks/useGetChaosServiceQuery.js +14 -0
- package/dist/chaos-manager/src/services/hooks/useGetDashboardV3Query.d.ts +29 -0
- package/dist/chaos-manager/src/services/hooks/useGetDashboardV3Query.js +14 -0
- package/dist/chaos-manager/src/services/hooks/useGetKubeObjectV3Mutation.d.ts +32 -0
- package/dist/chaos-manager/src/services/hooks/useGetKubeObjectV3Mutation.js +14 -0
- package/dist/chaos-manager/src/services/hooks/useListChaosServicesQuery.d.ts +41 -0
- package/dist/chaos-manager/src/services/hooks/useListChaosServicesQuery.js +14 -0
- package/dist/chaos-manager/src/services/hooks/useListDashboardsV3Query.d.ts +40 -0
- package/dist/chaos-manager/src/services/hooks/useListDashboardsV3Query.js +14 -0
- package/dist/chaos-manager/src/services/hooks/useUpdateChaosServiceMutation.d.ts +33 -0
- package/dist/chaos-manager/src/services/hooks/useUpdateChaosServiceMutation.js +14 -0
- package/dist/chaos-manager/src/services/hooks/useUpdateDashboardV3Mutation.d.ts +33 -0
- package/dist/chaos-manager/src/services/hooks/useUpdateDashboardV3Mutation.js +14 -0
- package/dist/chaos-manager/src/services/index.d.ts +34 -0
- package/dist/chaos-manager/src/services/index.js +9 -0
- package/dist/chaos-manager/src/services/schemas/ChaosExecutionNodesChaosExecutionNode.d.ts +4 -0
- package/dist/chaos-manager/src/services/schemas/ChaosservicesChaosServiceResponse.d.ts +26 -0
- package/dist/chaos-manager/src/services/schemas/ChaosservicesChaosServiceResponse.js +1 -0
- package/dist/chaos-manager/src/services/schemas/ChaosservicesCreateRequest.d.ts +12 -0
- package/dist/chaos-manager/src/services/schemas/ChaosservicesCreateRequest.js +1 -0
- package/dist/chaos-manager/src/services/schemas/ChaosservicesDeleteResponse.d.ts +4 -0
- package/dist/chaos-manager/src/services/schemas/ChaosservicesDeleteResponse.js +4 -0
- package/dist/chaos-manager/src/services/schemas/ChaosservicesListChaosServiceResponse.d.ts +7 -0
- package/dist/chaos-manager/src/services/schemas/ChaosservicesListChaosServiceResponse.js +1 -0
- package/dist/chaos-manager/src/services/schemas/ChaosservicesServiceProbeAssociation.d.ts +5 -0
- package/dist/chaos-manager/src/services/schemas/ChaosservicesServiceProbeAssociation.js +1 -0
- package/dist/chaos-manager/src/services/schemas/ChaosservicesUpdateRequest.d.ts +12 -0
- package/dist/chaos-manager/src/services/schemas/ChaosservicesUpdateRequest.js +1 -0
- package/dist/chaos-manager/src/services/schemas/DashboardCategoryCount.d.ts +4 -0
- package/dist/chaos-manager/src/services/schemas/DashboardCategoryCount.js +4 -0
- package/dist/chaos-manager/src/services/schemas/DashboardDashboardCounts.d.ts +7 -0
- package/dist/chaos-manager/src/services/schemas/DashboardDashboardCounts.js +1 -0
- package/dist/chaos-manager/src/services/schemas/DashboardDashboardResponse.d.ts +19 -0
- package/dist/chaos-manager/src/services/schemas/DashboardDashboardResponse.js +1 -0
- package/dist/chaos-manager/src/services/schemas/DashboardListDashboardResponse.d.ts +9 -0
- package/dist/chaos-manager/src/services/schemas/DashboardListDashboardResponse.js +1 -0
- package/dist/chaos-manager/src/services/schemas/DashboardUpdateRequest.d.ts +4 -0
- package/dist/chaos-manager/src/services/schemas/DashboardUpdateRequest.js +4 -0
- package/dist/chaos-manager/src/services/schemas/InfraopsGetKubeObjectBody.d.ts +6 -0
- package/dist/chaos-manager/src/services/schemas/InfraopsGetKubeObjectBody.js +1 -0
- package/dist/chaos-manager/src/services/schemas/InfraopsGetKubeObjectResponse.d.ts +9 -0
- package/dist/chaos-manager/src/services/schemas/InfraopsGetKubeObjectResponse.js +1 -0
- package/dist/chaos-manager/src/services/schemas/InfraopsKubeGvrRequest.d.ts +5 -0
- package/dist/chaos-manager/src/services/schemas/InfraopsKubeGvrRequest.js +4 -0
- package/dist/chaos-manager/src/services/schemas/InfraopsKubeObject.d.ts +5 -0
- package/dist/chaos-manager/src/services/schemas/InfraopsKubeObject.js +1 -0
- package/dist/chaos-manager/src/services/schemas/InfraopsObjectData.d.ts +4 -0
- package/dist/chaos-manager/src/services/schemas/InfraopsObjectData.js +4 -0
- package/package.json +1 -1
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { ChaosservicesChaosServiceResponse } from '../schemas/ChaosservicesChaosServiceResponse';
|
|
3
|
+
import type { ApiRestError } from '../schemas/ApiRestError';
|
|
4
|
+
import type { ChaosservicesCreateRequest } from '../schemas/ChaosservicesCreateRequest';
|
|
5
|
+
import { FetcherOptions } from '../../../../custom-fetcher/index.js';
|
|
6
|
+
export interface CreateChaosServiceMutationQueryParams {
|
|
7
|
+
accountIdentifier: string;
|
|
8
|
+
correlationID?: string;
|
|
9
|
+
organizationIdentifier?: string;
|
|
10
|
+
parentUniqueId?: string;
|
|
11
|
+
projectIdentifier?: string;
|
|
12
|
+
useParentUniqueID?: boolean;
|
|
13
|
+
}
|
|
14
|
+
export type CreateChaosServiceRequestBody = ChaosservicesCreateRequest;
|
|
15
|
+
export type CreateChaosServiceOkResponse = ChaosservicesChaosServiceResponse;
|
|
16
|
+
export type CreateChaosServiceErrorResponse = ApiRestError;
|
|
17
|
+
export interface CreateChaosServiceProps extends Omit<FetcherOptions<CreateChaosServiceMutationQueryParams, CreateChaosServiceRequestBody>, 'url'> {
|
|
18
|
+
queryParams: CreateChaosServiceMutationQueryParams;
|
|
19
|
+
body: CreateChaosServiceRequestBody;
|
|
20
|
+
}
|
|
21
|
+
export interface CreateChaosServiceResponseContainer {
|
|
22
|
+
body: CreateChaosServiceOkResponse;
|
|
23
|
+
headers: Headers;
|
|
24
|
+
}
|
|
25
|
+
export declare function createChaosService(props: CreateChaosServiceProps): Promise<CreateChaosServiceResponseContainer>;
|
|
26
|
+
export type CreateChaosServiceMutationProps<T extends keyof CreateChaosServiceProps> = Omit<CreateChaosServiceProps, T> & Partial<Pick<CreateChaosServiceProps, T>>;
|
|
27
|
+
/**
|
|
28
|
+
* Create a chaos service
|
|
29
|
+
*/
|
|
30
|
+
export declare function useCreateChaosServiceMutation<T extends keyof CreateChaosServiceProps>(props: Pick<Partial<CreateChaosServiceProps>, T>, options?: Omit<UseMutationOptions<CreateChaosServiceResponseContainer, CreateChaosServiceErrorResponse, CreateChaosServiceMutationProps<T>>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<CreateChaosServiceResponseContainer, ApiRestError, CreateChaosServiceMutationProps<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 createChaosService(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/v3/chaos-services`, method: 'POST' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Create a chaos service
|
|
11
|
+
*/
|
|
12
|
+
export function useCreateChaosServiceMutation(props, options) {
|
|
13
|
+
return useMutation((mutateProps) => createChaosService(Object.assign(Object.assign({}, props), mutateProps)), options);
|
|
14
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { ChaosservicesDeleteResponse } from '../schemas/ChaosservicesDeleteResponse';
|
|
3
|
+
import type { ApiRestError } from '../schemas/ApiRestError';
|
|
4
|
+
import { FetcherOptions } from '../../../../custom-fetcher/index.js';
|
|
5
|
+
export interface DeleteChaosServiceMutationPathParams {
|
|
6
|
+
identity: string;
|
|
7
|
+
}
|
|
8
|
+
export interface DeleteChaosServiceMutationQueryParams {
|
|
9
|
+
accountIdentifier: string;
|
|
10
|
+
correlationID?: string;
|
|
11
|
+
organizationIdentifier?: string;
|
|
12
|
+
parentUniqueId?: string;
|
|
13
|
+
projectIdentifier?: string;
|
|
14
|
+
useParentUniqueID?: boolean;
|
|
15
|
+
}
|
|
16
|
+
export type DeleteChaosServiceOkResponse = ChaosservicesDeleteResponse;
|
|
17
|
+
export type DeleteChaosServiceErrorResponse = ApiRestError;
|
|
18
|
+
export interface DeleteChaosServiceProps extends DeleteChaosServiceMutationPathParams, Omit<FetcherOptions<DeleteChaosServiceMutationQueryParams, unknown>, 'url'> {
|
|
19
|
+
queryParams: DeleteChaosServiceMutationQueryParams;
|
|
20
|
+
}
|
|
21
|
+
export interface DeleteChaosServiceResponseContainer {
|
|
22
|
+
body: DeleteChaosServiceOkResponse;
|
|
23
|
+
headers: Headers;
|
|
24
|
+
}
|
|
25
|
+
export declare function deleteChaosService(props: DeleteChaosServiceProps): Promise<DeleteChaosServiceResponseContainer>;
|
|
26
|
+
export type DeleteChaosServiceMutationProps<T extends keyof DeleteChaosServiceProps> = Omit<DeleteChaosServiceProps, T> & Partial<Pick<DeleteChaosServiceProps, T>>;
|
|
27
|
+
/**
|
|
28
|
+
* Delete a chaos service
|
|
29
|
+
*/
|
|
30
|
+
export declare function useDeleteChaosServiceMutation<T extends keyof DeleteChaosServiceProps>(props: Pick<Partial<DeleteChaosServiceProps>, T>, options?: Omit<UseMutationOptions<DeleteChaosServiceResponseContainer, DeleteChaosServiceErrorResponse, DeleteChaosServiceMutationProps<T>>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<DeleteChaosServiceResponseContainer, ApiRestError, DeleteChaosServiceMutationProps<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 deleteChaosService(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/v3/chaos-services/${props.identity}`, method: 'DELETE' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Delete a chaos service
|
|
11
|
+
*/
|
|
12
|
+
export function useDeleteChaosServiceMutation(props, options) {
|
|
13
|
+
return useMutation((mutateProps) => deleteChaosService(Object.assign(Object.assign({}, props), mutateProps)), options);
|
|
14
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { ChaosservicesChaosServiceResponse } from '../schemas/ChaosservicesChaosServiceResponse';
|
|
3
|
+
import type { ApiRestError } from '../schemas/ApiRestError';
|
|
4
|
+
import { FetcherOptions } from '../../../../custom-fetcher/index.js';
|
|
5
|
+
export interface GetChaosServiceQueryPathParams {
|
|
6
|
+
identity: string;
|
|
7
|
+
}
|
|
8
|
+
export interface GetChaosServiceQueryQueryParams {
|
|
9
|
+
accountIdentifier: string;
|
|
10
|
+
correlationID?: string;
|
|
11
|
+
organizationIdentifier?: string;
|
|
12
|
+
parentUniqueId?: string;
|
|
13
|
+
projectIdentifier?: string;
|
|
14
|
+
useParentUniqueID?: boolean;
|
|
15
|
+
}
|
|
16
|
+
export type GetChaosServiceOkResponse = ChaosservicesChaosServiceResponse;
|
|
17
|
+
export type GetChaosServiceErrorResponse = ApiRestError;
|
|
18
|
+
export interface GetChaosServiceProps extends GetChaosServiceQueryPathParams, Omit<FetcherOptions<GetChaosServiceQueryQueryParams, unknown>, 'url'> {
|
|
19
|
+
queryParams: GetChaosServiceQueryQueryParams;
|
|
20
|
+
}
|
|
21
|
+
export interface GetChaosServiceResponseContainer {
|
|
22
|
+
body: GetChaosServiceOkResponse;
|
|
23
|
+
headers: Headers;
|
|
24
|
+
}
|
|
25
|
+
export declare function getChaosService(props: GetChaosServiceProps): Promise<GetChaosServiceResponseContainer>;
|
|
26
|
+
/**
|
|
27
|
+
* Get a chaos service by identity
|
|
28
|
+
*/
|
|
29
|
+
export declare function useGetChaosServiceQuery(props: GetChaosServiceProps, options?: Omit<UseQueryOptions<GetChaosServiceResponseContainer, GetChaosServiceErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetChaosServiceResponseContainer, 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 getChaosService(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/v3/chaos-services/${props.identity}`, method: 'GET' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Get a chaos service by identity
|
|
11
|
+
*/
|
|
12
|
+
export function useGetChaosServiceQuery(props, options) {
|
|
13
|
+
return useQuery(['getChaosService', props.identity, props.queryParams], ({ signal }) => getChaosService(Object.assign(Object.assign({}, props), { signal })), options);
|
|
14
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { DashboardDashboardResponse } from '../schemas/DashboardDashboardResponse';
|
|
3
|
+
import type { ApiRestError } from '../schemas/ApiRestError';
|
|
4
|
+
import { FetcherOptions } from '../../../../custom-fetcher/index.js';
|
|
5
|
+
export interface GetDashboardV3QueryPathParams {
|
|
6
|
+
identity: string;
|
|
7
|
+
}
|
|
8
|
+
export interface GetDashboardV3QueryQueryParams {
|
|
9
|
+
accountIdentifier: string;
|
|
10
|
+
correlationID?: string;
|
|
11
|
+
organizationIdentifier?: string;
|
|
12
|
+
parentUniqueId?: string;
|
|
13
|
+
projectIdentifier?: string;
|
|
14
|
+
useParentUniqueID?: boolean;
|
|
15
|
+
}
|
|
16
|
+
export type GetDashboardV3OkResponse = DashboardDashboardResponse;
|
|
17
|
+
export type GetDashboardV3ErrorResponse = ApiRestError;
|
|
18
|
+
export interface GetDashboardV3Props extends GetDashboardV3QueryPathParams, Omit<FetcherOptions<GetDashboardV3QueryQueryParams, unknown>, 'url'> {
|
|
19
|
+
queryParams: GetDashboardV3QueryQueryParams;
|
|
20
|
+
}
|
|
21
|
+
export interface GetDashboardV3ResponseContainer {
|
|
22
|
+
body: GetDashboardV3OkResponse;
|
|
23
|
+
headers: Headers;
|
|
24
|
+
}
|
|
25
|
+
export declare function getDashboardV3(props: GetDashboardV3Props): Promise<GetDashboardV3ResponseContainer>;
|
|
26
|
+
/**
|
|
27
|
+
* gets a dashboard by identity for the given project
|
|
28
|
+
*/
|
|
29
|
+
export declare function useGetDashboardV3Query(props: GetDashboardV3Props, options?: Omit<UseQueryOptions<GetDashboardV3ResponseContainer, GetDashboardV3ErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetDashboardV3ResponseContainer, 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 getDashboardV3(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/v3/dashboards/${props.identity}`, method: 'GET' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* gets a dashboard by identity for the given project
|
|
11
|
+
*/
|
|
12
|
+
export function useGetDashboardV3Query(props, options) {
|
|
13
|
+
return useQuery(['GetDashboardV3', props.identity, props.queryParams], ({ signal }) => getDashboardV3(Object.assign(Object.assign({}, props), { signal })), options);
|
|
14
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { InfraopsGetKubeObjectResponse } from '../schemas/InfraopsGetKubeObjectResponse';
|
|
3
|
+
import type { ApiRestError } from '../schemas/ApiRestError';
|
|
4
|
+
import type { InfraopsGetKubeObjectBody } from '../schemas/InfraopsGetKubeObjectBody';
|
|
5
|
+
import { FetcherOptions } from '../../../../custom-fetcher/index.js';
|
|
6
|
+
export interface GetKubeObjectV3MutationPathParams {
|
|
7
|
+
identity: string;
|
|
8
|
+
}
|
|
9
|
+
export interface GetKubeObjectV3MutationQueryParams {
|
|
10
|
+
accountIdentifier: string;
|
|
11
|
+
correlationID?: string;
|
|
12
|
+
organizationIdentifier?: string;
|
|
13
|
+
parentUniqueId?: string;
|
|
14
|
+
projectIdentifier?: string;
|
|
15
|
+
}
|
|
16
|
+
export type GetKubeObjectV3RequestBody = InfraopsGetKubeObjectBody;
|
|
17
|
+
export type GetKubeObjectV3OkResponse = InfraopsGetKubeObjectResponse;
|
|
18
|
+
export type GetKubeObjectV3ErrorResponse = ApiRestError;
|
|
19
|
+
export interface GetKubeObjectV3Props extends GetKubeObjectV3MutationPathParams, Omit<FetcherOptions<GetKubeObjectV3MutationQueryParams, GetKubeObjectV3RequestBody>, 'url'> {
|
|
20
|
+
queryParams: GetKubeObjectV3MutationQueryParams;
|
|
21
|
+
body: GetKubeObjectV3RequestBody;
|
|
22
|
+
}
|
|
23
|
+
export interface GetKubeObjectV3ResponseContainer {
|
|
24
|
+
body: GetKubeObjectV3OkResponse;
|
|
25
|
+
headers: Headers;
|
|
26
|
+
}
|
|
27
|
+
export declare function getKubeObjectV3(props: GetKubeObjectV3Props): Promise<GetKubeObjectV3ResponseContainer>;
|
|
28
|
+
export type GetKubeObjectV3MutationProps<T extends keyof GetKubeObjectV3Props> = Omit<GetKubeObjectV3Props, T> & Partial<Pick<GetKubeObjectV3Props, T>>;
|
|
29
|
+
/**
|
|
30
|
+
* Discovers Kubernetes resources (group/version/resource) on a chaos infrastructure via delegate task.
|
|
31
|
+
*/
|
|
32
|
+
export declare function useGetKubeObjectV3Mutation<T extends keyof GetKubeObjectV3Props>(props: Pick<Partial<GetKubeObjectV3Props>, T>, options?: Omit<UseMutationOptions<GetKubeObjectV3ResponseContainer, GetKubeObjectV3ErrorResponse, GetKubeObjectV3MutationProps<T>>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<GetKubeObjectV3ResponseContainer, ApiRestError, GetKubeObjectV3MutationProps<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 getKubeObjectV3(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/v3/chaos-infrastructures/${props.identity}/kube-objects`, method: 'POST' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Discovers Kubernetes resources (group/version/resource) on a chaos infrastructure via delegate task.
|
|
11
|
+
*/
|
|
12
|
+
export function useGetKubeObjectV3Mutation(props, options) {
|
|
13
|
+
return useMutation((mutateProps) => getKubeObjectV3(Object.assign(Object.assign({}, props), mutateProps)), options);
|
|
14
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { ChaosservicesListChaosServiceResponse } from '../schemas/ChaosservicesListChaosServiceResponse';
|
|
3
|
+
import type { ApiRestError } from '../schemas/ApiRestError';
|
|
4
|
+
import { FetcherOptions } from '../../../../custom-fetcher/index.js';
|
|
5
|
+
export interface ListChaosServicesQueryQueryParams {
|
|
6
|
+
accountIdentifier: string;
|
|
7
|
+
correlationID?: string;
|
|
8
|
+
environmentIdentity?: string;
|
|
9
|
+
includeAllScope?: boolean;
|
|
10
|
+
infrastructureIdentity?: string;
|
|
11
|
+
/**
|
|
12
|
+
* @default 15
|
|
13
|
+
*/
|
|
14
|
+
limit?: number;
|
|
15
|
+
organizationIdentifier?: string;
|
|
16
|
+
/**
|
|
17
|
+
* @default 0
|
|
18
|
+
*/
|
|
19
|
+
page?: number;
|
|
20
|
+
parentUniqueId?: string;
|
|
21
|
+
projectIdentifier?: string;
|
|
22
|
+
search?: string;
|
|
23
|
+
sortAscending?: boolean;
|
|
24
|
+
sortField?: 'experimentName' | 'lastExecuted' | 'lastUpdated' | 'name';
|
|
25
|
+
tags?: string;
|
|
26
|
+
useParentUniqueID?: boolean;
|
|
27
|
+
}
|
|
28
|
+
export type ListChaosServicesOkResponse = ChaosservicesListChaosServiceResponse;
|
|
29
|
+
export type ListChaosServicesErrorResponse = ApiRestError;
|
|
30
|
+
export interface ListChaosServicesProps extends Omit<FetcherOptions<ListChaosServicesQueryQueryParams, unknown>, 'url'> {
|
|
31
|
+
queryParams: ListChaosServicesQueryQueryParams;
|
|
32
|
+
}
|
|
33
|
+
export interface ListChaosServicesResponseContainer {
|
|
34
|
+
body: ListChaosServicesOkResponse;
|
|
35
|
+
headers: Headers;
|
|
36
|
+
}
|
|
37
|
+
export declare function listChaosServices(props: ListChaosServicesProps): Promise<ListChaosServicesResponseContainer>;
|
|
38
|
+
/**
|
|
39
|
+
* List chaos services
|
|
40
|
+
*/
|
|
41
|
+
export declare function useListChaosServicesQuery(props: ListChaosServicesProps, options?: Omit<UseQueryOptions<ListChaosServicesResponseContainer, ListChaosServicesErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<ListChaosServicesResponseContainer, 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 listChaosServices(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/v3/chaos-services`, method: 'GET' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* List chaos services
|
|
11
|
+
*/
|
|
12
|
+
export function useListChaosServicesQuery(props, options) {
|
|
13
|
+
return useQuery(['listChaosServices', props.queryParams], ({ signal }) => listChaosServices(Object.assign(Object.assign({}, props), { signal })), options);
|
|
14
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { DashboardListDashboardResponse } from '../schemas/DashboardListDashboardResponse';
|
|
3
|
+
import type { ApiRestError } from '../schemas/ApiRestError';
|
|
4
|
+
import { FetcherOptions } from '../../../../custom-fetcher/index.js';
|
|
5
|
+
export interface ListDashboardsV3QueryQueryParams {
|
|
6
|
+
accountIdentifier: string;
|
|
7
|
+
category?: string;
|
|
8
|
+
correlationID?: string;
|
|
9
|
+
favourite?: boolean;
|
|
10
|
+
/**
|
|
11
|
+
* @default 15
|
|
12
|
+
*/
|
|
13
|
+
limit?: number;
|
|
14
|
+
organizationIdentifier?: string;
|
|
15
|
+
/**
|
|
16
|
+
* @default 0
|
|
17
|
+
*/
|
|
18
|
+
page?: number;
|
|
19
|
+
parentUniqueId?: string;
|
|
20
|
+
projectIdentifier?: string;
|
|
21
|
+
search?: string;
|
|
22
|
+
sortAscending?: boolean;
|
|
23
|
+
sortField?: 'experimentName' | 'lastExecuted' | 'lastUpdated' | 'name';
|
|
24
|
+
tags?: string;
|
|
25
|
+
useParentUniqueID?: boolean;
|
|
26
|
+
}
|
|
27
|
+
export type ListDashboardsV3OkResponse = DashboardListDashboardResponse;
|
|
28
|
+
export type ListDashboardsV3ErrorResponse = ApiRestError;
|
|
29
|
+
export interface ListDashboardsV3Props extends Omit<FetcherOptions<ListDashboardsV3QueryQueryParams, unknown>, 'url'> {
|
|
30
|
+
queryParams: ListDashboardsV3QueryQueryParams;
|
|
31
|
+
}
|
|
32
|
+
export interface ListDashboardsV3ResponseContainer {
|
|
33
|
+
body: ListDashboardsV3OkResponse;
|
|
34
|
+
headers: Headers;
|
|
35
|
+
}
|
|
36
|
+
export declare function listDashboardsV3(props: ListDashboardsV3Props): Promise<ListDashboardsV3ResponseContainer>;
|
|
37
|
+
/**
|
|
38
|
+
* lists out-of-the-box dashboards for the given project with search, tag/category/favourite filters, sort and pagination
|
|
39
|
+
*/
|
|
40
|
+
export declare function useListDashboardsV3Query(props: ListDashboardsV3Props, options?: Omit<UseQueryOptions<ListDashboardsV3ResponseContainer, ListDashboardsV3ErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<ListDashboardsV3ResponseContainer, 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 listDashboardsV3(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/v3/dashboards`, method: 'GET' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* lists out-of-the-box dashboards for the given project with search, tag/category/favourite filters, sort and pagination
|
|
11
|
+
*/
|
|
12
|
+
export function useListDashboardsV3Query(props, options) {
|
|
13
|
+
return useQuery(['ListDashboardsV3', props.queryParams], ({ signal }) => listDashboardsV3(Object.assign(Object.assign({}, props), { signal })), options);
|
|
14
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { ChaosservicesChaosServiceResponse } from '../schemas/ChaosservicesChaosServiceResponse';
|
|
3
|
+
import type { ApiRestError } from '../schemas/ApiRestError';
|
|
4
|
+
import type { ChaosservicesUpdateRequest } from '../schemas/ChaosservicesUpdateRequest';
|
|
5
|
+
import { FetcherOptions } from '../../../../custom-fetcher/index.js';
|
|
6
|
+
export interface UpdateChaosServiceMutationPathParams {
|
|
7
|
+
identity: string;
|
|
8
|
+
}
|
|
9
|
+
export interface UpdateChaosServiceMutationQueryParams {
|
|
10
|
+
accountIdentifier: string;
|
|
11
|
+
correlationID?: string;
|
|
12
|
+
organizationIdentifier?: string;
|
|
13
|
+
parentUniqueId?: string;
|
|
14
|
+
projectIdentifier?: string;
|
|
15
|
+
useParentUniqueID?: boolean;
|
|
16
|
+
}
|
|
17
|
+
export type UpdateChaosServiceRequestBody = ChaosservicesUpdateRequest;
|
|
18
|
+
export type UpdateChaosServiceOkResponse = ChaosservicesChaosServiceResponse;
|
|
19
|
+
export type UpdateChaosServiceErrorResponse = ApiRestError;
|
|
20
|
+
export interface UpdateChaosServiceProps extends UpdateChaosServiceMutationPathParams, Omit<FetcherOptions<UpdateChaosServiceMutationQueryParams, UpdateChaosServiceRequestBody>, 'url'> {
|
|
21
|
+
queryParams: UpdateChaosServiceMutationQueryParams;
|
|
22
|
+
body: UpdateChaosServiceRequestBody;
|
|
23
|
+
}
|
|
24
|
+
export interface UpdateChaosServiceResponseContainer {
|
|
25
|
+
body: UpdateChaosServiceOkResponse;
|
|
26
|
+
headers: Headers;
|
|
27
|
+
}
|
|
28
|
+
export declare function updateChaosService(props: UpdateChaosServiceProps): Promise<UpdateChaosServiceResponseContainer>;
|
|
29
|
+
export type UpdateChaosServiceMutationProps<T extends keyof UpdateChaosServiceProps> = Omit<UpdateChaosServiceProps, T> & Partial<Pick<UpdateChaosServiceProps, T>>;
|
|
30
|
+
/**
|
|
31
|
+
* updates a chaos service
|
|
32
|
+
*/
|
|
33
|
+
export declare function useUpdateChaosServiceMutation<T extends keyof UpdateChaosServiceProps>(props: Pick<Partial<UpdateChaosServiceProps>, T>, options?: Omit<UseMutationOptions<UpdateChaosServiceResponseContainer, UpdateChaosServiceErrorResponse, UpdateChaosServiceMutationProps<T>>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<UpdateChaosServiceResponseContainer, ApiRestError, UpdateChaosServiceMutationProps<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 updateChaosService(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/v3/chaos-services/${props.identity}`, method: 'PUT' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* updates a chaos service
|
|
11
|
+
*/
|
|
12
|
+
export function useUpdateChaosServiceMutation(props, options) {
|
|
13
|
+
return useMutation((mutateProps) => updateChaosService(Object.assign(Object.assign({}, props), mutateProps)), options);
|
|
14
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { DashboardDashboardResponse } from '../schemas/DashboardDashboardResponse';
|
|
3
|
+
import type { ApiRestError } from '../schemas/ApiRestError';
|
|
4
|
+
import type { DashboardUpdateRequest } from '../schemas/DashboardUpdateRequest';
|
|
5
|
+
import { FetcherOptions } from '../../../../custom-fetcher/index.js';
|
|
6
|
+
export interface UpdateDashboardV3MutationPathParams {
|
|
7
|
+
identity: string;
|
|
8
|
+
}
|
|
9
|
+
export interface UpdateDashboardV3MutationQueryParams {
|
|
10
|
+
accountIdentifier: string;
|
|
11
|
+
correlationID?: string;
|
|
12
|
+
organizationIdentifier?: string;
|
|
13
|
+
parentUniqueId?: string;
|
|
14
|
+
projectIdentifier?: string;
|
|
15
|
+
useParentUniqueID?: boolean;
|
|
16
|
+
}
|
|
17
|
+
export type UpdateDashboardV3RequestBody = DashboardUpdateRequest;
|
|
18
|
+
export type UpdateDashboardV3OkResponse = DashboardDashboardResponse;
|
|
19
|
+
export type UpdateDashboardV3ErrorResponse = ApiRestError;
|
|
20
|
+
export interface UpdateDashboardV3Props extends UpdateDashboardV3MutationPathParams, Omit<FetcherOptions<UpdateDashboardV3MutationQueryParams, UpdateDashboardV3RequestBody>, 'url'> {
|
|
21
|
+
queryParams: UpdateDashboardV3MutationQueryParams;
|
|
22
|
+
body: UpdateDashboardV3RequestBody;
|
|
23
|
+
}
|
|
24
|
+
export interface UpdateDashboardV3ResponseContainer {
|
|
25
|
+
body: UpdateDashboardV3OkResponse;
|
|
26
|
+
headers: Headers;
|
|
27
|
+
}
|
|
28
|
+
export declare function updateDashboardV3(props: UpdateDashboardV3Props): Promise<UpdateDashboardV3ResponseContainer>;
|
|
29
|
+
export type UpdateDashboardV3MutationProps<T extends keyof UpdateDashboardV3Props> = Omit<UpdateDashboardV3Props, T> & Partial<Pick<UpdateDashboardV3Props, T>>;
|
|
30
|
+
/**
|
|
31
|
+
* updates the tags and favourite flag of a dashboard for the given project
|
|
32
|
+
*/
|
|
33
|
+
export declare function useUpdateDashboardV3Mutation<T extends keyof UpdateDashboardV3Props>(props: Pick<Partial<UpdateDashboardV3Props>, T>, options?: Omit<UseMutationOptions<UpdateDashboardV3ResponseContainer, UpdateDashboardV3ErrorResponse, UpdateDashboardV3MutationProps<T>>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<UpdateDashboardV3ResponseContainer, ApiRestError, UpdateDashboardV3MutationProps<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 updateDashboardV3(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/v3/dashboards/${props.identity}`, method: 'PUT' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* updates the tags and favourite flag of a dashboard for the given project
|
|
11
|
+
*/
|
|
12
|
+
export function useUpdateDashboardV3Mutation(props, options) {
|
|
13
|
+
return useMutation((mutateProps) => updateDashboardV3(Object.assign(Object.assign({}, props), mutateProps)), options);
|
|
14
|
+
}
|
|
@@ -28,6 +28,8 @@ export type { CreateChaosExperimentPipelineErrorResponse, CreateChaosExperimentP
|
|
|
28
28
|
export { createChaosExperimentPipeline, useCreateChaosExperimentPipelineMutation, } from './hooks/useCreateChaosExperimentPipelineMutation';
|
|
29
29
|
export type { CreateChaosHubErrorResponse, CreateChaosHubMutationProps, CreateChaosHubMutationQueryParams, CreateChaosHubOkResponse, CreateChaosHubProps, CreateChaosHubRequestBody, } from './hooks/useCreateChaosHubMutation';
|
|
30
30
|
export { createChaosHub, useCreateChaosHubMutation } from './hooks/useCreateChaosHubMutation';
|
|
31
|
+
export type { CreateChaosServiceErrorResponse, CreateChaosServiceMutationProps, CreateChaosServiceMutationQueryParams, CreateChaosServiceOkResponse, CreateChaosServiceProps, CreateChaosServiceRequestBody, } from './hooks/useCreateChaosServiceMutation';
|
|
32
|
+
export { createChaosService, useCreateChaosServiceMutation, } from './hooks/useCreateChaosServiceMutation';
|
|
31
33
|
export type { CreateConditionErrorResponse, CreateConditionMutationProps, CreateConditionMutationQueryParams, CreateConditionOkResponse, CreateConditionProps, CreateConditionRequestBody, } from './hooks/useCreateConditionMutation';
|
|
32
34
|
export { createCondition, useCreateConditionMutation } from './hooks/useCreateConditionMutation';
|
|
33
35
|
export type { CreateDrTestErrorResponse, CreateDrTestMutationProps, CreateDrTestMutationQueryParams, CreateDrTestOkResponse, CreateDrTestProps, CreateDrTestRequestBody, } from './hooks/useCreateDrTestMutation';
|
|
@@ -64,6 +66,8 @@ export type { DeleteActionErrorResponse, DeleteActionMutationPathParams, DeleteA
|
|
|
64
66
|
export { deleteAction, useDeleteActionMutation } from './hooks/useDeleteActionMutation';
|
|
65
67
|
export type { DeleteActionTemplateErrorResponse, DeleteActionTemplateMutationPathParams, DeleteActionTemplateMutationProps, DeleteActionTemplateMutationQueryParams, DeleteActionTemplateOkResponse, DeleteActionTemplateProps, } from './hooks/useDeleteActionTemplateMutation';
|
|
66
68
|
export { deleteActionTemplate, useDeleteActionTemplateMutation, } from './hooks/useDeleteActionTemplateMutation';
|
|
69
|
+
export type { DeleteChaosServiceErrorResponse, DeleteChaosServiceMutationPathParams, DeleteChaosServiceMutationProps, DeleteChaosServiceMutationQueryParams, DeleteChaosServiceOkResponse, DeleteChaosServiceProps, } from './hooks/useDeleteChaosServiceMutation';
|
|
70
|
+
export { deleteChaosService, useDeleteChaosServiceMutation, } from './hooks/useDeleteChaosServiceMutation';
|
|
67
71
|
export type { DeleteChaosV2ExperimentErrorResponse, DeleteChaosV2ExperimentMutationPathParams, DeleteChaosV2ExperimentMutationProps, DeleteChaosV2ExperimentMutationQueryParams, DeleteChaosV2ExperimentOkResponse, DeleteChaosV2ExperimentProps, } from './hooks/useDeleteChaosV2ExperimentMutation';
|
|
68
72
|
export { deleteChaosV2Experiment, useDeleteChaosV2ExperimentMutation, } from './hooks/useDeleteChaosV2ExperimentMutation';
|
|
69
73
|
export type { DeleteConditionErrorResponse, DeleteConditionMutationPathParams, DeleteConditionMutationProps, DeleteConditionMutationQueryParams, DeleteConditionOkResponse, DeleteConditionProps, } from './hooks/useDeleteConditionMutation';
|
|
@@ -142,6 +146,8 @@ export type { GetChaosPipelineExecutionErrorResponse, GetChaosPipelineExecutionO
|
|
|
142
146
|
export { getChaosPipelineExecution, useGetChaosPipelineExecutionQuery, } from './hooks/useGetChaosPipelineExecutionQuery';
|
|
143
147
|
export type { GetChaosPipelineStepDetailsErrorResponse, GetChaosPipelineStepDetailsOkResponse, GetChaosPipelineStepDetailsProps, GetChaosPipelineStepDetailsQueryPathParams, GetChaosPipelineStepDetailsQueryQueryParams, } from './hooks/useGetChaosPipelineStepDetailsQuery';
|
|
144
148
|
export { getChaosPipelineStepDetails, useGetChaosPipelineStepDetailsQuery, } from './hooks/useGetChaosPipelineStepDetailsQuery';
|
|
149
|
+
export type { GetChaosServiceErrorResponse, GetChaosServiceOkResponse, GetChaosServiceProps, GetChaosServiceQueryPathParams, GetChaosServiceQueryQueryParams, } from './hooks/useGetChaosServiceQuery';
|
|
150
|
+
export { getChaosService, useGetChaosServiceQuery } from './hooks/useGetChaosServiceQuery';
|
|
145
151
|
export type { GetChaosV2ExperimentErrorResponse, GetChaosV2ExperimentOkResponse, GetChaosV2ExperimentProps, GetChaosV2ExperimentQueryPathParams, GetChaosV2ExperimentQueryQueryParams, } from './hooks/useGetChaosV2ExperimentQuery';
|
|
146
152
|
export { getChaosV2Experiment, useGetChaosV2ExperimentQuery, } from './hooks/useGetChaosV2ExperimentQuery';
|
|
147
153
|
export type { GetChaosV2ExperimentRunInternalApiErrorResponse, GetChaosV2ExperimentRunInternalApiMutationPathParams, GetChaosV2ExperimentRunInternalApiMutationProps, GetChaosV2ExperimentRunInternalApiMutationQueryParams, GetChaosV2ExperimentRunInternalApiOkResponse, GetChaosV2ExperimentRunInternalApiProps, GetChaosV2ExperimentRunInternalApiRequestBody, } from './hooks/useGetChaosV2ExperimentRunInternalApiMutation';
|
|
@@ -156,6 +162,8 @@ export type { GetConditionErrorResponse, GetConditionOkResponse, GetConditionPro
|
|
|
156
162
|
export { getCondition, useGetConditionQuery } from './hooks/useGetConditionQuery';
|
|
157
163
|
export type { GetConnectorForInfraErrorResponse, GetConnectorForInfraOkResponse, GetConnectorForInfraProps, GetConnectorForInfraQueryPathParams, GetConnectorForInfraQueryQueryParams, } from './hooks/useGetConnectorForInfraQuery';
|
|
158
164
|
export { getConnectorForInfra, useGetConnectorForInfraQuery, } from './hooks/useGetConnectorForInfraQuery';
|
|
165
|
+
export type { GetDashboardV3ErrorResponse, GetDashboardV3OkResponse, GetDashboardV3Props, GetDashboardV3QueryPathParams, GetDashboardV3QueryQueryParams, } from './hooks/useGetDashboardV3Query';
|
|
166
|
+
export { getDashboardV3, useGetDashboardV3Query } from './hooks/useGetDashboardV3Query';
|
|
159
167
|
export type { GetExperimentHelperImageVersionErrorResponse, GetExperimentHelperImageVersionOkResponse, GetExperimentHelperImageVersionProps, } from './hooks/useGetExperimentHelperImageVersionQuery';
|
|
160
168
|
export { getExperimentHelperImageVersion, useGetExperimentHelperImageVersionQuery, } from './hooks/useGetExperimentHelperImageVersionQuery';
|
|
161
169
|
export type { GetExperimentOrTemplateVariableErrorResponse, GetExperimentOrTemplateVariableOkResponse, GetExperimentOrTemplateVariableProps, GetExperimentOrTemplateVariableQueryQueryParams, } from './hooks/useGetExperimentOrTemplateVariableQuery';
|
|
@@ -202,6 +210,8 @@ export type { GetInfraV2ErrorResponse, GetInfraV2OkResponse, GetInfraV2Props, Ge
|
|
|
202
210
|
export { getInfraV2, useGetInfraV2Query } from './hooks/useGetInfraV2Query';
|
|
203
211
|
export type { GetInputSetErrorResponse, GetInputSetOkResponse, GetInputSetProps, GetInputSetQueryPathParams, GetInputSetQueryQueryParams, } from './hooks/useGetInputSetQuery';
|
|
204
212
|
export { getInputSet, useGetInputSetQuery } from './hooks/useGetInputSetQuery';
|
|
213
|
+
export type { GetKubeObjectV3ErrorResponse, GetKubeObjectV3MutationPathParams, GetKubeObjectV3MutationProps, GetKubeObjectV3MutationQueryParams, GetKubeObjectV3OkResponse, GetKubeObjectV3Props, GetKubeObjectV3RequestBody, } from './hooks/useGetKubeObjectV3Mutation';
|
|
214
|
+
export { getKubeObjectV3, useGetKubeObjectV3Mutation } from './hooks/useGetKubeObjectV3Mutation';
|
|
205
215
|
export type { GetLegacyKubernetesChaosInfraDetailsErrorResponse, GetLegacyKubernetesChaosInfraDetailsOkResponse, GetLegacyKubernetesChaosInfraDetailsProps, GetLegacyKubernetesChaosInfraDetailsQueryPathParams, GetLegacyKubernetesChaosInfraDetailsQueryQueryParams, } from './hooks/useGetLegacyKubernetesChaosInfraDetailsQuery';
|
|
206
216
|
export { getLegacyKubernetesChaosInfraDetails, useGetLegacyKubernetesChaosInfraDetailsQuery, } from './hooks/useGetLegacyKubernetesChaosInfraDetailsQuery';
|
|
207
217
|
export type { GetLegacyKubernetesChaosInfraManifestErrorResponse, GetLegacyKubernetesChaosInfraManifestOkResponse, GetLegacyKubernetesChaosInfraManifestProps, GetLegacyKubernetesChaosInfraManifestQueryPathParams, GetLegacyKubernetesChaosInfraManifestQueryQueryParams, } from './hooks/useGetLegacyKubernetesChaosInfraManifestQuery';
|
|
@@ -272,10 +282,14 @@ export type { ListChaosEnabledInfraV2ErrorResponse, ListChaosEnabledInfraV2OkRes
|
|
|
272
282
|
export { listChaosEnabledInfraV2, useListChaosEnabledInfraV2Query, } from './hooks/useListChaosEnabledInfraV2Query';
|
|
273
283
|
export type { ListChaosHubErrorResponse, ListChaosHubOkResponse, ListChaosHubProps, ListChaosHubQueryQueryParams, } from './hooks/useListChaosHubQuery';
|
|
274
284
|
export { listChaosHub, useListChaosHubQuery } from './hooks/useListChaosHubQuery';
|
|
285
|
+
export type { ListChaosServicesErrorResponse, ListChaosServicesOkResponse, ListChaosServicesProps, ListChaosServicesQueryQueryParams, } from './hooks/useListChaosServicesQuery';
|
|
286
|
+
export { listChaosServices, useListChaosServicesQuery } from './hooks/useListChaosServicesQuery';
|
|
275
287
|
export type { ListChaosV2ExperimentErrorResponse, ListChaosV2ExperimentOkResponse, ListChaosV2ExperimentProps, ListChaosV2ExperimentQueryQueryParams, } from './hooks/useListChaosV2ExperimentQuery';
|
|
276
288
|
export { listChaosV2Experiment, useListChaosV2ExperimentQuery, } from './hooks/useListChaosV2ExperimentQuery';
|
|
277
289
|
export type { ListConditionErrorResponse, ListConditionOkResponse, ListConditionProps, ListConditionQueryQueryParams, } from './hooks/useListConditionQuery';
|
|
278
290
|
export { listCondition, useListConditionQuery } from './hooks/useListConditionQuery';
|
|
291
|
+
export type { ListDashboardsV3ErrorResponse, ListDashboardsV3OkResponse, ListDashboardsV3Props, ListDashboardsV3QueryQueryParams, } from './hooks/useListDashboardsV3Query';
|
|
292
|
+
export { listDashboardsV3, useListDashboardsV3Query } from './hooks/useListDashboardsV3Query';
|
|
279
293
|
export type { ListDrTestsErrorResponse, ListDrTestsOkResponse, ListDrTestsProps, ListDrTestsQueryQueryParams, } from './hooks/useListDrTestsQuery';
|
|
280
294
|
export { listDrTests, useListDrTestsQuery } from './hooks/useListDrTestsQuery';
|
|
281
295
|
export type { ListExperimentMetadataErrorResponse, ListExperimentMetadataOkResponse, ListExperimentMetadataProps, ListExperimentMetadataQueryQueryParams, ListExperimentMetadataRequestBody, } from './hooks/useListExperimentMetadataQuery';
|
|
@@ -406,12 +420,16 @@ export type { UpdateChaosExperimentExecutionNodeErrorResponse, UpdateChaosExperi
|
|
|
406
420
|
export { updateChaosExperimentExecutionNode, useUpdateChaosExperimentExecutionNodeMutation, } from './hooks/useUpdateChaosExperimentExecutionNodeMutation';
|
|
407
421
|
export type { UpdateChaosHubErrorResponse, UpdateChaosHubMutationPathParams, UpdateChaosHubMutationProps, UpdateChaosHubMutationQueryParams, UpdateChaosHubOkResponse, UpdateChaosHubProps, UpdateChaosHubRequestBody, } from './hooks/useUpdateChaosHubMutation';
|
|
408
422
|
export { updateChaosHub, useUpdateChaosHubMutation } from './hooks/useUpdateChaosHubMutation';
|
|
423
|
+
export type { UpdateChaosServiceErrorResponse, UpdateChaosServiceMutationPathParams, UpdateChaosServiceMutationProps, UpdateChaosServiceMutationQueryParams, UpdateChaosServiceOkResponse, UpdateChaosServiceProps, UpdateChaosServiceRequestBody, } from './hooks/useUpdateChaosServiceMutation';
|
|
424
|
+
export { updateChaosService, useUpdateChaosServiceMutation, } from './hooks/useUpdateChaosServiceMutation';
|
|
409
425
|
export type { UpdateChaosV2CronExperimentErrorResponse, UpdateChaosV2CronExperimentMutationProps, UpdateChaosV2CronExperimentMutationQueryParams, UpdateChaosV2CronExperimentOkResponse, UpdateChaosV2CronExperimentProps, UpdateChaosV2CronExperimentRequestBody, } from './hooks/useUpdateChaosV2CronExperimentMutation';
|
|
410
426
|
export { updateChaosV2CronExperiment, useUpdateChaosV2CronExperimentMutation, } from './hooks/useUpdateChaosV2CronExperimentMutation';
|
|
411
427
|
export type { UpdateConditionErrorResponse, UpdateConditionMutationPathParams, UpdateConditionMutationProps, UpdateConditionMutationQueryParams, UpdateConditionOkResponse, UpdateConditionProps, UpdateConditionRequestBody, } from './hooks/useUpdateConditionMutation';
|
|
412
428
|
export { updateCondition, useUpdateConditionMutation } from './hooks/useUpdateConditionMutation';
|
|
413
429
|
export type { UpdateCronStateV3ErrorResponse, UpdateCronStateV3MutationProps, UpdateCronStateV3MutationQueryParams, UpdateCronStateV3OkResponse, UpdateCronStateV3Props, UpdateCronStateV3RequestBody, } from './hooks/useUpdateCronStateV3Mutation';
|
|
414
430
|
export { updateCronStateV3, useUpdateCronStateV3Mutation, } from './hooks/useUpdateCronStateV3Mutation';
|
|
431
|
+
export type { UpdateDashboardV3ErrorResponse, UpdateDashboardV3MutationPathParams, UpdateDashboardV3MutationProps, UpdateDashboardV3MutationQueryParams, UpdateDashboardV3OkResponse, UpdateDashboardV3Props, UpdateDashboardV3RequestBody, } from './hooks/useUpdateDashboardV3Mutation';
|
|
432
|
+
export { updateDashboardV3, useUpdateDashboardV3Mutation, } from './hooks/useUpdateDashboardV3Mutation';
|
|
415
433
|
export type { UpdateEmissaryErrorResponse, UpdateEmissaryMutationPathParams, UpdateEmissaryMutationProps, UpdateEmissaryMutationQueryParams, UpdateEmissaryOkResponse, UpdateEmissaryProps, UpdateEmissaryRequestBody, } from './hooks/useUpdateEmissaryMutation';
|
|
416
434
|
export { updateEmissary, useUpdateEmissaryMutation } from './hooks/useUpdateEmissaryMutation';
|
|
417
435
|
export type { UpdateExperimentTemplateErrorResponse, UpdateExperimentTemplateMutationPathParams, UpdateExperimentTemplateMutationProps, UpdateExperimentTemplateMutationQueryParams, UpdateExperimentTemplateOkResponse, UpdateExperimentTemplateProps, UpdateExperimentTemplateRequestBody, } from './hooks/useUpdateExperimentTemplateMutation';
|
|
@@ -631,6 +649,12 @@ export type { ChaosprobetemplateProbeTemplate } from './schemas/Chaosprobetempla
|
|
|
631
649
|
export type { ChaosprobetemplateProbeTemplateCount } from './schemas/ChaosprobetemplateProbeTemplateCount';
|
|
632
650
|
export type { ChaosprobetemplateProbeTemplateVariables } from './schemas/ChaosprobetemplateProbeTemplateVariables';
|
|
633
651
|
export type { ChaosresourcenotesNoteType } from './schemas/ChaosresourcenotesNoteType';
|
|
652
|
+
export type { ChaosservicesChaosServiceResponse } from './schemas/ChaosservicesChaosServiceResponse';
|
|
653
|
+
export type { ChaosservicesCreateRequest } from './schemas/ChaosservicesCreateRequest';
|
|
654
|
+
export type { ChaosservicesDeleteResponse } from './schemas/ChaosservicesDeleteResponse';
|
|
655
|
+
export type { ChaosservicesListChaosServiceResponse } from './schemas/ChaosservicesListChaosServiceResponse';
|
|
656
|
+
export type { ChaosservicesServiceProbeAssociation } from './schemas/ChaosservicesServiceProbeAssociation';
|
|
657
|
+
export type { ChaosservicesUpdateRequest } from './schemas/ChaosservicesUpdateRequest';
|
|
634
658
|
export type { ChaosserviceusageInfrastructureType } from './schemas/ChaosserviceusageInfrastructureType';
|
|
635
659
|
export type { ChaosserviceusageOverallServiceUsageStats } from './schemas/ChaosserviceusageOverallServiceUsageStats';
|
|
636
660
|
export type { ChaosserviceusagePeriodicStats } from './schemas/ChaosserviceusagePeriodicStats';
|
|
@@ -650,6 +674,11 @@ export type { CommonTypesExperimentRunsData } from './schemas/CommonTypesExperim
|
|
|
650
674
|
export type { CommonVolume } from './schemas/CommonVolume';
|
|
651
675
|
export type { CommonVolumeInputTemplate } from './schemas/CommonVolumeInputTemplate';
|
|
652
676
|
export type { CommonVolumeType } from './schemas/CommonVolumeType';
|
|
677
|
+
export type { DashboardCategoryCount } from './schemas/DashboardCategoryCount';
|
|
678
|
+
export type { DashboardDashboardCounts } from './schemas/DashboardDashboardCounts';
|
|
679
|
+
export type { DashboardDashboardResponse } from './schemas/DashboardDashboardResponse';
|
|
680
|
+
export type { DashboardListDashboardResponse } from './schemas/DashboardListDashboardResponse';
|
|
681
|
+
export type { DashboardUpdateRequest } from './schemas/DashboardUpdateRequest';
|
|
653
682
|
export type { DatabaseAgentConfiguration } from './schemas/DatabaseAgentConfiguration';
|
|
654
683
|
export type { DatabaseConnection } from './schemas/DatabaseConnection';
|
|
655
684
|
export type { DatabaseConnectionType } from './schemas/DatabaseConnectionType';
|
|
@@ -934,6 +963,11 @@ export type { InfraV2Upgrade } from './schemas/InfraV2Upgrade';
|
|
|
934
963
|
export type { InfraV2UpgradeStatus } from './schemas/InfraV2UpgradeStatus';
|
|
935
964
|
export type { InfraV2UserDetails } from './schemas/InfraV2UserDetails';
|
|
936
965
|
export type { InfraV2Volumes } from './schemas/InfraV2Volumes';
|
|
966
|
+
export type { InfraopsGetKubeObjectBody } from './schemas/InfraopsGetKubeObjectBody';
|
|
967
|
+
export type { InfraopsGetKubeObjectResponse } from './schemas/InfraopsGetKubeObjectResponse';
|
|
968
|
+
export type { InfraopsKubeGvrRequest } from './schemas/InfraopsKubeGvrRequest';
|
|
969
|
+
export type { InfraopsKubeObject } from './schemas/InfraopsKubeObject';
|
|
970
|
+
export type { InfraopsObjectData } from './schemas/InfraopsObjectData';
|
|
937
971
|
export type { InputsetInputSet } from './schemas/InputsetInputSet';
|
|
938
972
|
export type { InputsetsCreateInputSetRequest } from './schemas/InputsetsCreateInputSetRequest';
|
|
939
973
|
export type { InputsetsCreateInputSetResponse } from './schemas/InputsetsCreateInputSetResponse';
|
|
@@ -13,6 +13,7 @@ export { createChaosComponent, useCreateChaosComponentMutation, } from './hooks/
|
|
|
13
13
|
export { createChaosExperimentExecutionNode, useCreateChaosExperimentExecutionNodeMutation, } from './hooks/useCreateChaosExperimentExecutionNodeMutation';
|
|
14
14
|
export { createChaosExperimentPipeline, useCreateChaosExperimentPipelineMutation, } from './hooks/useCreateChaosExperimentPipelineMutation';
|
|
15
15
|
export { createChaosHub, useCreateChaosHubMutation } from './hooks/useCreateChaosHubMutation';
|
|
16
|
+
export { createChaosService, useCreateChaosServiceMutation, } from './hooks/useCreateChaosServiceMutation';
|
|
16
17
|
export { createCondition, useCreateConditionMutation } from './hooks/useCreateConditionMutation';
|
|
17
18
|
export { createDrTest, useCreateDrTestMutation } from './hooks/useCreateDrTestMutation';
|
|
18
19
|
export { createExperimentFromTemplate, useCreateExperimentFromTemplateMutation, } from './hooks/useCreateExperimentFromTemplateMutation';
|
|
@@ -31,6 +32,7 @@ export { createV2Onboarding, useCreateV2OnboardingMutation, } from './hooks/useC
|
|
|
31
32
|
export { delegateCallbackUpdate, useDelegateCallbackUpdateMutation, } from './hooks/useDelegateCallbackUpdateMutation';
|
|
32
33
|
export { deleteAction, useDeleteActionMutation } from './hooks/useDeleteActionMutation';
|
|
33
34
|
export { deleteActionTemplate, useDeleteActionTemplateMutation, } from './hooks/useDeleteActionTemplateMutation';
|
|
35
|
+
export { deleteChaosService, useDeleteChaosServiceMutation, } from './hooks/useDeleteChaosServiceMutation';
|
|
34
36
|
export { deleteChaosV2Experiment, useDeleteChaosV2ExperimentMutation, } from './hooks/useDeleteChaosV2ExperimentMutation';
|
|
35
37
|
export { deleteCondition, useDeleteConditionMutation } from './hooks/useDeleteConditionMutation';
|
|
36
38
|
export { deleteDrTest, useDeleteDrTestMutation } from './hooks/useDeleteDrTestMutation';
|
|
@@ -70,6 +72,7 @@ export { getChaosExperimentRunsForPipeline, useGetChaosExperimentRunsForPipeline
|
|
|
70
72
|
export { getChaosHub, useGetChaosHubQuery } from './hooks/useGetChaosHubQuery';
|
|
71
73
|
export { getChaosPipelineExecution, useGetChaosPipelineExecutionQuery, } from './hooks/useGetChaosPipelineExecutionQuery';
|
|
72
74
|
export { getChaosPipelineStepDetails, useGetChaosPipelineStepDetailsQuery, } from './hooks/useGetChaosPipelineStepDetailsQuery';
|
|
75
|
+
export { getChaosService, useGetChaosServiceQuery } from './hooks/useGetChaosServiceQuery';
|
|
73
76
|
export { getChaosV2Experiment, useGetChaosV2ExperimentQuery, } from './hooks/useGetChaosV2ExperimentQuery';
|
|
74
77
|
export { getChaosV2ExperimentRunInternalApi, useGetChaosV2ExperimentRunInternalApiMutation, } from './hooks/useGetChaosV2ExperimentRunInternalApiMutation';
|
|
75
78
|
export { getChaosV2ExperimentRun, useGetChaosV2ExperimentRunQuery, } from './hooks/useGetChaosV2ExperimentRunQuery';
|
|
@@ -77,6 +80,7 @@ export { getChaosV2ExperimentVariables, useGetChaosV2ExperimentVariablesQuery, }
|
|
|
77
80
|
export { getCommandUnitStatuses, useGetCommandUnitStatusesQuery, } from './hooks/useGetCommandUnitStatusesQuery';
|
|
78
81
|
export { getCondition, useGetConditionQuery } from './hooks/useGetConditionQuery';
|
|
79
82
|
export { getConnectorForInfra, useGetConnectorForInfraQuery, } from './hooks/useGetConnectorForInfraQuery';
|
|
83
|
+
export { getDashboardV3, useGetDashboardV3Query } from './hooks/useGetDashboardV3Query';
|
|
80
84
|
export { getExperimentHelperImageVersion, useGetExperimentHelperImageVersionQuery, } from './hooks/useGetExperimentHelperImageVersionQuery';
|
|
81
85
|
export { getExperimentOrTemplateVariable, useGetExperimentOrTemplateVariableQuery, } from './hooks/useGetExperimentOrTemplateVariableQuery';
|
|
82
86
|
export { getExperimentRunTimelineView, useGetExperimentRunTimelineViewQuery, } from './hooks/useGetExperimentRunTimelineViewQuery';
|
|
@@ -100,6 +104,7 @@ export { getImageRegistryV3, useGetImageRegistryV3Query } from './hooks/useGetIm
|
|
|
100
104
|
export { getInfraToken, useGetInfraTokenQuery } from './hooks/useGetInfraTokenQuery';
|
|
101
105
|
export { getInfraV2, useGetInfraV2Query } from './hooks/useGetInfraV2Query';
|
|
102
106
|
export { getInputSet, useGetInputSetQuery } from './hooks/useGetInputSetQuery';
|
|
107
|
+
export { getKubeObjectV3, useGetKubeObjectV3Mutation } from './hooks/useGetKubeObjectV3Mutation';
|
|
103
108
|
export { getLegacyKubernetesChaosInfraDetails, useGetLegacyKubernetesChaosInfraDetailsQuery, } from './hooks/useGetLegacyKubernetesChaosInfraDetailsQuery';
|
|
104
109
|
export { getLegacyKubernetesChaosInfraManifest, useGetLegacyKubernetesChaosInfraManifestQuery, } from './hooks/useGetLegacyKubernetesChaosInfraManifestQuery';
|
|
105
110
|
export { getLegacyKubernetesChaosInfraStats, useGetLegacyKubernetesChaosInfraStatsQuery, } from './hooks/useGetLegacyKubernetesChaosInfraStatsQuery';
|
|
@@ -135,8 +140,10 @@ export { listApplication, useListApplicationQuery } from './hooks/useListApplica
|
|
|
135
140
|
export { listChaosComponent, useListChaosComponentQuery } from './hooks/useListChaosComponentQuery';
|
|
136
141
|
export { listChaosEnabledInfraV2, useListChaosEnabledInfraV2Query, } from './hooks/useListChaosEnabledInfraV2Query';
|
|
137
142
|
export { listChaosHub, useListChaosHubQuery } from './hooks/useListChaosHubQuery';
|
|
143
|
+
export { listChaosServices, useListChaosServicesQuery } from './hooks/useListChaosServicesQuery';
|
|
138
144
|
export { listChaosV2Experiment, useListChaosV2ExperimentQuery, } from './hooks/useListChaosV2ExperimentQuery';
|
|
139
145
|
export { listCondition, useListConditionQuery } from './hooks/useListConditionQuery';
|
|
146
|
+
export { listDashboardsV3, useListDashboardsV3Query } from './hooks/useListDashboardsV3Query';
|
|
140
147
|
export { listDrTests, useListDrTestsQuery } from './hooks/useListDrTestsQuery';
|
|
141
148
|
export { listExperimentMetadata, useListExperimentMetadataQuery, } from './hooks/useListExperimentMetadataQuery';
|
|
142
149
|
export { listExperimentOrTemplate, useListExperimentOrTemplateQuery, } from './hooks/useListExperimentOrTemplateQuery';
|
|
@@ -202,9 +209,11 @@ export { updateActionTemplate, useUpdateActionTemplateMutation, } from './hooks/
|
|
|
202
209
|
export { updateChaosComponent, useUpdateChaosComponentMutation, } from './hooks/useUpdateChaosComponentMutation';
|
|
203
210
|
export { updateChaosExperimentExecutionNode, useUpdateChaosExperimentExecutionNodeMutation, } from './hooks/useUpdateChaosExperimentExecutionNodeMutation';
|
|
204
211
|
export { updateChaosHub, useUpdateChaosHubMutation } from './hooks/useUpdateChaosHubMutation';
|
|
212
|
+
export { updateChaosService, useUpdateChaosServiceMutation, } from './hooks/useUpdateChaosServiceMutation';
|
|
205
213
|
export { updateChaosV2CronExperiment, useUpdateChaosV2CronExperimentMutation, } from './hooks/useUpdateChaosV2CronExperimentMutation';
|
|
206
214
|
export { updateCondition, useUpdateConditionMutation } from './hooks/useUpdateConditionMutation';
|
|
207
215
|
export { updateCronStateV3, useUpdateCronStateV3Mutation, } from './hooks/useUpdateCronStateV3Mutation';
|
|
216
|
+
export { updateDashboardV3, useUpdateDashboardV3Mutation, } from './hooks/useUpdateDashboardV3Mutation';
|
|
208
217
|
export { updateEmissary, useUpdateEmissaryMutation } from './hooks/useUpdateEmissaryMutation';
|
|
209
218
|
export { updateExperimentTemplate, useUpdateExperimentTemplateMutation, } from './hooks/useUpdateExperimentTemplateMutation';
|
|
210
219
|
export { updateExperimentV3, useUpdateExperimentV3Mutation, } from './hooks/useUpdateExperimentV3Mutation';
|
|
@@ -8,6 +8,10 @@ export interface ChaosExecutionNodesChaosExecutionNode {
|
|
|
8
8
|
chaosData?: ChaosExecutionNodesChaosData;
|
|
9
9
|
duration?: number;
|
|
10
10
|
errorData?: ChaosExecutionNodesErrorData;
|
|
11
|
+
/**
|
|
12
|
+
* TODO: Add this back when we have a way to store the service ref in the database
|
|
13
|
+
* ServiceRef *ServiceRef `json:"serviceRef,omitempty" bson:"service_ref,omitempty"`
|
|
14
|
+
*/
|
|
11
15
|
estimatedTime?: number;
|
|
12
16
|
executionOutput?: ChaosExecutionNodesExecutionOutput;
|
|
13
17
|
experimentID?: string;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import type { HcesdkUserDetails } from '../schemas/HcesdkUserDetails';
|
|
2
|
+
import type { ChaosservicesServiceProbeAssociation } from '../schemas/ChaosservicesServiceProbeAssociation';
|
|
3
|
+
import type { DatabaseDiscoveredServiceSpec } from '../schemas/DatabaseDiscoveredServiceSpec';
|
|
4
|
+
export interface ChaosservicesChaosServiceResponse {
|
|
5
|
+
accountID: string;
|
|
6
|
+
agentIdentity?: string;
|
|
7
|
+
createdAt?: number;
|
|
8
|
+
createdBy?: HcesdkUserDetails;
|
|
9
|
+
description?: string;
|
|
10
|
+
environmentIdentity?: string;
|
|
11
|
+
externalIdentity?: string;
|
|
12
|
+
identity?: string;
|
|
13
|
+
infrastructureIdentity?: string;
|
|
14
|
+
isRemoved: boolean;
|
|
15
|
+
name: string;
|
|
16
|
+
orgID?: string;
|
|
17
|
+
parentUniqueId?: string;
|
|
18
|
+
probes?: ChaosservicesServiceProbeAssociation[];
|
|
19
|
+
projectID?: string;
|
|
20
|
+
serviceType?: string;
|
|
21
|
+
spec?: DatabaseDiscoveredServiceSpec;
|
|
22
|
+
tags?: string[];
|
|
23
|
+
uniqueId?: string;
|
|
24
|
+
updatedAt?: number;
|
|
25
|
+
updatedBy?: HcesdkUserDetails;
|
|
26
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { ChaosservicesServiceProbeAssociation } from '../schemas/ChaosservicesServiceProbeAssociation';
|
|
2
|
+
export interface ChaosservicesCreateRequest {
|
|
3
|
+
agentIdentity?: string;
|
|
4
|
+
description?: string;
|
|
5
|
+
environmentIdentity?: string;
|
|
6
|
+
externalIdentity?: string;
|
|
7
|
+
identity?: string;
|
|
8
|
+
infrastructureIdentity?: string;
|
|
9
|
+
name?: string;
|
|
10
|
+
probes?: ChaosservicesServiceProbeAssociation[];
|
|
11
|
+
tags?: string[];
|
|
12
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { ChaosservicesChaosServiceResponse } from '../schemas/ChaosservicesChaosServiceResponse';
|
|
2
|
+
import type { SharedPaginationResponse } from '../schemas/SharedPaginationResponse';
|
|
3
|
+
export interface ChaosservicesListChaosServiceResponse {
|
|
4
|
+
correlationID?: string;
|
|
5
|
+
data?: ChaosservicesChaosServiceResponse[];
|
|
6
|
+
pagination?: SharedPaginationResponse;
|
|
7
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { ChaosservicesServiceProbeAssociation } from '../schemas/ChaosservicesServiceProbeAssociation';
|
|
2
|
+
export interface ChaosservicesUpdateRequest {
|
|
3
|
+
agentIdentity?: string;
|
|
4
|
+
description?: string;
|
|
5
|
+
environmentIdentity?: string;
|
|
6
|
+
externalIdentity?: string;
|
|
7
|
+
identity?: string;
|
|
8
|
+
infrastructureIdentity?: string;
|
|
9
|
+
name?: string;
|
|
10
|
+
probes?: ChaosservicesServiceProbeAssociation[];
|
|
11
|
+
tags?: string[];
|
|
12
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import type { HcesdkUserDetails } from '../schemas/HcesdkUserDetails';
|
|
2
|
+
export interface DashboardDashboardResponse {
|
|
3
|
+
accountID: string;
|
|
4
|
+
category?: string;
|
|
5
|
+
createdBy?: HcesdkUserDetails;
|
|
6
|
+
dashboardID?: string;
|
|
7
|
+
description?: string;
|
|
8
|
+
identity?: string;
|
|
9
|
+
isFavourite?: boolean;
|
|
10
|
+
isOOTB?: boolean;
|
|
11
|
+
name: string;
|
|
12
|
+
orgID?: string;
|
|
13
|
+
parentUniqueId?: string;
|
|
14
|
+
projectID?: string;
|
|
15
|
+
seedVersion?: number;
|
|
16
|
+
tags?: string[];
|
|
17
|
+
uniqueId?: string;
|
|
18
|
+
updatedBy?: HcesdkUserDetails;
|
|
19
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { DashboardDashboardCounts } from '../schemas/DashboardDashboardCounts';
|
|
2
|
+
import type { DashboardDashboardResponse } from '../schemas/DashboardDashboardResponse';
|
|
3
|
+
import type { SharedPaginationResponse } from '../schemas/SharedPaginationResponse';
|
|
4
|
+
export interface DashboardListDashboardResponse {
|
|
5
|
+
correlationID?: string;
|
|
6
|
+
counts?: DashboardDashboardCounts;
|
|
7
|
+
data?: DashboardDashboardResponse[];
|
|
8
|
+
pagination?: SharedPaginationResponse;
|
|
9
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { InfraopsKubeObject } from '../schemas/InfraopsKubeObject';
|
|
2
|
+
export interface InfraopsGetKubeObjectResponse {
|
|
3
|
+
/**
|
|
4
|
+
* correlation id is used to debug micro svc communication
|
|
5
|
+
*/
|
|
6
|
+
correlationID?: string;
|
|
7
|
+
infraId?: string;
|
|
8
|
+
kubeObj?: InfraopsKubeObject[];
|
|
9
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/package.json
CHANGED