@harnessio/react-chaos-manager-client 1.62.0 → 1.63.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/useGetCommandUnitStatusesQuery.d.ts +2 -0
- package/dist/chaos-manager/src/services/index.d.ts +3 -53
- package/dist/chaos-manager/src/services/index.js +0 -11
- package/dist/chaos-manager/src/services/schemas/ExperimentsInfraDetails.d.ts +11 -0
- package/dist/chaos-manager/src/services/schemas/TemplateInput.d.ts +2 -0
- package/dist/chaos-manager/src/services/schemas/TemplateInputMinimum.d.ts +2 -0
- package/dist/chaos-manager/src/services/schemas/TemplateInputMinimum.js +0 -3
- package/dist/chaos-manager/src/services/schemas/TemplateInputReference.d.ts +6 -0
- package/dist/chaos-manager/src/services/schemas/TemplateInputReferenceKind.d.ts +1 -0
- package/dist/chaos-manager/src/services/schemas/TemplateInputReferenceType.d.ts +1 -0
- package/dist/chaos-manager/src/services/schemas/TemplateVariable.d.ts +2 -0
- package/package.json +1 -1
- package/dist/chaos-manager/src/services/hooks/useCreateGamedayRunV2Mutation.d.ts +0 -28
- package/dist/chaos-manager/src/services/hooks/useCreateGamedayRunV2Mutation.js +0 -15
- package/dist/chaos-manager/src/services/hooks/useCreateGamedayV2Mutation.d.ts +0 -28
- package/dist/chaos-manager/src/services/hooks/useCreateGamedayV2Mutation.js +0 -15
- package/dist/chaos-manager/src/services/hooks/useDeleteGamedayV2Mutation.d.ts +0 -27
- package/dist/chaos-manager/src/services/hooks/useDeleteGamedayV2Mutation.js +0 -15
- package/dist/chaos-manager/src/services/hooks/useGetGamedayRunV2Query.d.ts +0 -28
- package/dist/chaos-manager/src/services/hooks/useGetGamedayRunV2Query.js +0 -15
- package/dist/chaos-manager/src/services/hooks/useGetGamedayV2Query.d.ts +0 -27
- package/dist/chaos-manager/src/services/hooks/useGetGamedayV2Query.js +0 -15
- package/dist/chaos-manager/src/services/hooks/useListGamedayRunV2Query.d.ts +0 -27
- package/dist/chaos-manager/src/services/hooks/useListGamedayRunV2Query.js +0 -15
- package/dist/chaos-manager/src/services/hooks/useListGamedayV2Query.d.ts +0 -38
- package/dist/chaos-manager/src/services/hooks/useListGamedayV2Query.js +0 -15
- package/dist/chaos-manager/src/services/hooks/useUpdateGamedayRunPrerequisitesV2Mutation.d.ts +0 -31
- package/dist/chaos-manager/src/services/hooks/useUpdateGamedayRunPrerequisitesV2Mutation.js +0 -15
- package/dist/chaos-manager/src/services/hooks/useUpdateGamedayRunStakeHolderActionsV2Mutation.d.ts +0 -31
- package/dist/chaos-manager/src/services/hooks/useUpdateGamedayRunStakeHolderActionsV2Mutation.js +0 -15
- package/dist/chaos-manager/src/services/hooks/useUpdateGamedayRunV2Mutation.d.ts +0 -31
- package/dist/chaos-manager/src/services/hooks/useUpdateGamedayRunV2Mutation.js +0 -15
- package/dist/chaos-manager/src/services/hooks/useUpdateGamedayV2Mutation.d.ts +0 -27
- package/dist/chaos-manager/src/services/hooks/useUpdateGamedayV2Mutation.js +0 -15
- package/dist/chaos-manager/src/services/schemas/Gamedayrunv2ApprovalStatus.d.ts +0 -1
- package/dist/chaos-manager/src/services/schemas/Gamedayrunv2PrerequisiteStatus.d.ts +0 -1
- package/dist/chaos-manager/src/services/schemas/Gamedayv2GamedayRunStatus.d.ts +0 -1
- package/dist/chaos-manager/src/services/schemas/Gamedayv2GamedayRunStatus.js +0 -4
- package/dist/chaos-manager/src/services/schemas/Gamedayv2StakeHolderRole.d.ts +0 -1
- package/dist/chaos-manager/src/services/schemas/Gamedayv2StakeHolderRole.js +0 -4
- package/dist/chaos-manager/src/services/schemas/TypesActionItem.d.ts +0 -7
- package/dist/chaos-manager/src/services/schemas/TypesCreateGamedayRequest.d.ts +0 -12
- package/dist/chaos-manager/src/services/schemas/TypesCreateGamedayRequest.js +0 -1
- package/dist/chaos-manager/src/services/schemas/TypesCreateGamedayResponse.d.ts +0 -4
- package/dist/chaos-manager/src/services/schemas/TypesCreateGamedayResponse.js +0 -1
- package/dist/chaos-manager/src/services/schemas/TypesCreateGamedayRunResponse.d.ts +0 -6
- package/dist/chaos-manager/src/services/schemas/TypesCreateGamedayRunResponse.js +0 -1
- package/dist/chaos-manager/src/services/schemas/TypesExperimentCreationError.d.ts +0 -4
- package/dist/chaos-manager/src/services/schemas/TypesExperimentCreationError.js +0 -4
- package/dist/chaos-manager/src/services/schemas/TypesExperimentRequest.d.ts +0 -9
- package/dist/chaos-manager/src/services/schemas/TypesExperimentRequest.js +0 -1
- package/dist/chaos-manager/src/services/schemas/TypesExperimentRuns.d.ts +0 -12
- package/dist/chaos-manager/src/services/schemas/TypesExperimentRuns.js +0 -1
- package/dist/chaos-manager/src/services/schemas/TypesGamedayInfraDetails.d.ts +0 -7
- package/dist/chaos-manager/src/services/schemas/TypesGamedayInfraDetails.js +0 -1
- package/dist/chaos-manager/src/services/schemas/TypesGamedayV2.d.ts +0 -23
- package/dist/chaos-manager/src/services/schemas/TypesGamedayV2.js +0 -1
- package/dist/chaos-manager/src/services/schemas/TypesGetGamedayExperimentResponse.d.ts +0 -9
- package/dist/chaos-manager/src/services/schemas/TypesGetGamedayExperimentResponse.js +0 -1
- package/dist/chaos-manager/src/services/schemas/TypesGetGamedayResponse.d.ts +0 -22
- package/dist/chaos-manager/src/services/schemas/TypesGetGamedayResponse.js +0 -1
- package/dist/chaos-manager/src/services/schemas/TypesListGamedayExperimentResponse.d.ts +0 -9
- package/dist/chaos-manager/src/services/schemas/TypesListGamedayExperimentResponse.js +0 -1
- package/dist/chaos-manager/src/services/schemas/TypesListGamedayRunV2Response.d.ts +0 -4
- package/dist/chaos-manager/src/services/schemas/TypesListGamedayRunV2Response.js +0 -1
- package/dist/chaos-manager/src/services/schemas/TypesListGamedayV2Response.d.ts +0 -6
- package/dist/chaos-manager/src/services/schemas/TypesListGamedayV2Response.js +0 -1
- package/dist/chaos-manager/src/services/schemas/TypesPrerequisite.d.ts +0 -5
- package/dist/chaos-manager/src/services/schemas/TypesPrerequisite.js +0 -4
- package/dist/chaos-manager/src/services/schemas/TypesPrerequisiteForRun.d.ts +0 -8
- package/dist/chaos-manager/src/services/schemas/TypesPrerequisiteForRun.js +0 -1
- package/dist/chaos-manager/src/services/schemas/TypesRecentGamedayRun.d.ts +0 -9
- package/dist/chaos-manager/src/services/schemas/TypesRecentGamedayRun.js +0 -1
- package/dist/chaos-manager/src/services/schemas/TypesRun.d.ts +0 -27
- package/dist/chaos-manager/src/services/schemas/TypesRun.js +0 -1
- package/dist/chaos-manager/src/services/schemas/TypesStakeHolderDetailsForRuns.d.ts +0 -12
- package/dist/chaos-manager/src/services/schemas/TypesStakeHolderDetailsForRuns.js +0 -1
- package/dist/chaos-manager/src/services/schemas/TypesStakeHolderInput.d.ts +0 -6
- package/dist/chaos-manager/src/services/schemas/TypesStakeHolderInput.js +0 -1
- package/dist/chaos-manager/src/services/schemas/TypesStakeHolderResponse.d.ts +0 -7
- package/dist/chaos-manager/src/services/schemas/TypesStakeHolderResponse.js +0 -1
- package/dist/chaos-manager/src/services/schemas/TypesStakeHolderRole.d.ts +0 -1
- package/dist/chaos-manager/src/services/schemas/TypesStakeHolderRole.js +0 -4
- package/dist/chaos-manager/src/services/schemas/TypesSummary.d.ts +0 -8
- package/dist/chaos-manager/src/services/schemas/TypesSummary.js +0 -1
- package/dist/chaos-manager/src/services/schemas/TypesUpdateGameDayRunRequest.d.ts +0 -6
- package/dist/chaos-manager/src/services/schemas/TypesUpdateGameDayRunRequest.js +0 -1
- package/dist/chaos-manager/src/services/schemas/TypesUpdateGamedayRequest.d.ts +0 -13
- package/dist/chaos-manager/src/services/schemas/TypesUpdateGamedayRequest.js +0 -1
- package/dist/chaos-manager/src/services/schemas/TypesUpdatePrerequisiteRequest.d.ts +0 -6
- package/dist/chaos-manager/src/services/schemas/TypesUpdatePrerequisiteRequest.js +0 -1
- package/dist/chaos-manager/src/services/schemas/TypesUpdateStakeHolderActionRequest.d.ts +0 -6
- package/dist/chaos-manager/src/services/schemas/TypesUpdateStakeHolderActionRequest.js +0 -1
- /package/dist/chaos-manager/src/services/schemas/{TypesActionItem.js → TemplateInputReference.js} +0 -0
- /package/dist/chaos-manager/src/services/schemas/{Gamedayrunv2ApprovalStatus.js → TemplateInputReferenceKind.js} +0 -0
- /package/dist/chaos-manager/src/services/schemas/{Gamedayrunv2PrerequisiteStatus.js → TemplateInputReferenceType.js} +0 -0
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
|
-
import type { TypesListGamedayV2Response } from '../schemas/TypesListGamedayV2Response';
|
|
3
|
-
import type { ApiRestError } from '../schemas/ApiRestError';
|
|
4
|
-
import { FetcherOptions } from '../../../../custom-fetcher/index.js';
|
|
5
|
-
export interface ListGamedayV2QueryQueryParams {
|
|
6
|
-
accountIdentifier: string;
|
|
7
|
-
organizationIdentifier: string;
|
|
8
|
-
projectIdentifier: string;
|
|
9
|
-
/**
|
|
10
|
-
* @default 0
|
|
11
|
-
*/
|
|
12
|
-
page: number;
|
|
13
|
-
/**
|
|
14
|
-
* @default 10
|
|
15
|
-
*/
|
|
16
|
-
limit: number;
|
|
17
|
-
gamedayName?: string;
|
|
18
|
-
sortAscending?: boolean;
|
|
19
|
-
/**
|
|
20
|
-
* @default "UPDATED_AT"
|
|
21
|
-
*/
|
|
22
|
-
sortField?: 'CREATED_AT' | 'NAME' | 'UPDATED_AT';
|
|
23
|
-
}
|
|
24
|
-
export type ListGamedayV2OkResponse = TypesListGamedayV2Response;
|
|
25
|
-
export type ListGamedayV2ErrorResponse = ApiRestError;
|
|
26
|
-
export interface ListGamedayV2Props extends Omit<FetcherOptions<ListGamedayV2QueryQueryParams, unknown>, 'url'> {
|
|
27
|
-
queryParams: ListGamedayV2QueryQueryParams;
|
|
28
|
-
}
|
|
29
|
-
export interface ListGamedayV2ResponseContainer {
|
|
30
|
-
body: ListGamedayV2OkResponse;
|
|
31
|
-
headers: Headers;
|
|
32
|
-
}
|
|
33
|
-
export declare function listGamedayV2(props: ListGamedayV2Props): Promise<ListGamedayV2ResponseContainer>;
|
|
34
|
-
/**
|
|
35
|
-
* Get list of Chaos V2 Gamedays
|
|
36
|
-
* @deprecated
|
|
37
|
-
*/
|
|
38
|
-
export declare function useListGamedayV2Query(props: ListGamedayV2Props, options?: Omit<UseQueryOptions<ListGamedayV2ResponseContainer, ListGamedayV2ErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<ListGamedayV2ResponseContainer, ApiRestError>;
|
|
@@ -1,15 +0,0 @@
|
|
|
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 listGamedayV2(props) {
|
|
7
|
-
return fetcher(Object.assign({ url: `/rest/v2/gamedays`, method: 'GET' }, props));
|
|
8
|
-
}
|
|
9
|
-
/**
|
|
10
|
-
* Get list of Chaos V2 Gamedays
|
|
11
|
-
* @deprecated
|
|
12
|
-
*/
|
|
13
|
-
export function useListGamedayV2Query(props, options) {
|
|
14
|
-
return useQuery(['listGamedayV2', props.queryParams], ({ signal }) => listGamedayV2(Object.assign(Object.assign({}, props), { signal })), options);
|
|
15
|
-
}
|
package/dist/chaos-manager/src/services/hooks/useUpdateGamedayRunPrerequisitesV2Mutation.d.ts
DELETED
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
|
-
import type { ApiRestError } from '../schemas/ApiRestError';
|
|
3
|
-
import type { TypesUpdatePrerequisiteRequest } from '../schemas/TypesUpdatePrerequisiteRequest';
|
|
4
|
-
import { FetcherOptions } from '../../../../custom-fetcher/index.js';
|
|
5
|
-
export interface UpdateGamedayRunPrerequisitesV2MutationPathParams {
|
|
6
|
-
gamedayId: string;
|
|
7
|
-
gamedayRunId: string;
|
|
8
|
-
}
|
|
9
|
-
export interface UpdateGamedayRunPrerequisitesV2MutationQueryParams {
|
|
10
|
-
accountIdentifier: string;
|
|
11
|
-
organizationIdentifier: string;
|
|
12
|
-
projectIdentifier: string;
|
|
13
|
-
}
|
|
14
|
-
export type UpdateGamedayRunPrerequisitesV2RequestBody = TypesUpdatePrerequisiteRequest;
|
|
15
|
-
export type UpdateGamedayRunPrerequisitesV2OkResponse = string;
|
|
16
|
-
export type UpdateGamedayRunPrerequisitesV2ErrorResponse = ApiRestError;
|
|
17
|
-
export interface UpdateGamedayRunPrerequisitesV2Props extends UpdateGamedayRunPrerequisitesV2MutationPathParams, Omit<FetcherOptions<UpdateGamedayRunPrerequisitesV2MutationQueryParams, UpdateGamedayRunPrerequisitesV2RequestBody>, 'url'> {
|
|
18
|
-
queryParams: UpdateGamedayRunPrerequisitesV2MutationQueryParams;
|
|
19
|
-
body: UpdateGamedayRunPrerequisitesV2RequestBody;
|
|
20
|
-
}
|
|
21
|
-
export interface UpdateGamedayRunPrerequisitesV2ResponseContainer {
|
|
22
|
-
body: UpdateGamedayRunPrerequisitesV2OkResponse;
|
|
23
|
-
headers: Headers;
|
|
24
|
-
}
|
|
25
|
-
export declare function updateGamedayRunPrerequisitesV2(props: UpdateGamedayRunPrerequisitesV2Props): Promise<UpdateGamedayRunPrerequisitesV2ResponseContainer>;
|
|
26
|
-
export type UpdateGamedayRunPrerequisitesV2MutationProps<T extends keyof UpdateGamedayRunPrerequisitesV2Props> = Omit<UpdateGamedayRunPrerequisitesV2Props, T> & Partial<Pick<UpdateGamedayRunPrerequisitesV2Props, T>>;
|
|
27
|
-
/**
|
|
28
|
-
* Update a chaos v2 gameday run
|
|
29
|
-
* @deprecated
|
|
30
|
-
*/
|
|
31
|
-
export declare function useUpdateGamedayRunPrerequisitesV2Mutation<T extends keyof UpdateGamedayRunPrerequisitesV2Props>(props: Pick<Partial<UpdateGamedayRunPrerequisitesV2Props>, T>, options?: Omit<UseMutationOptions<UpdateGamedayRunPrerequisitesV2ResponseContainer, UpdateGamedayRunPrerequisitesV2ErrorResponse, UpdateGamedayRunPrerequisitesV2MutationProps<T>>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<UpdateGamedayRunPrerequisitesV2ResponseContainer, ApiRestError, UpdateGamedayRunPrerequisitesV2MutationProps<T>, unknown>;
|
|
@@ -1,15 +0,0 @@
|
|
|
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 updateGamedayRunPrerequisitesV2(props) {
|
|
7
|
-
return fetcher(Object.assign({ url: `/rest/v2/gameday/${props.gamedayId}/run_checklist/${props.gamedayRunId}`, method: 'PUT' }, props));
|
|
8
|
-
}
|
|
9
|
-
/**
|
|
10
|
-
* Update a chaos v2 gameday run
|
|
11
|
-
* @deprecated
|
|
12
|
-
*/
|
|
13
|
-
export function useUpdateGamedayRunPrerequisitesV2Mutation(props, options) {
|
|
14
|
-
return useMutation((mutateProps) => updateGamedayRunPrerequisitesV2(Object.assign(Object.assign({}, props), mutateProps)), options);
|
|
15
|
-
}
|
package/dist/chaos-manager/src/services/hooks/useUpdateGamedayRunStakeHolderActionsV2Mutation.d.ts
DELETED
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
|
-
import type { ApiRestError } from '../schemas/ApiRestError';
|
|
3
|
-
import type { TypesUpdateStakeHolderActionRequest } from '../schemas/TypesUpdateStakeHolderActionRequest';
|
|
4
|
-
import { FetcherOptions } from '../../../../custom-fetcher/index.js';
|
|
5
|
-
export interface UpdateGamedayRunStakeHolderActionsV2MutationPathParams {
|
|
6
|
-
gamedayId: string;
|
|
7
|
-
gamedayRunId: string;
|
|
8
|
-
}
|
|
9
|
-
export interface UpdateGamedayRunStakeHolderActionsV2MutationQueryParams {
|
|
10
|
-
accountIdentifier: string;
|
|
11
|
-
organizationIdentifier: string;
|
|
12
|
-
projectIdentifier: string;
|
|
13
|
-
}
|
|
14
|
-
export type UpdateGamedayRunStakeHolderActionsV2RequestBody = TypesUpdateStakeHolderActionRequest;
|
|
15
|
-
export type UpdateGamedayRunStakeHolderActionsV2OkResponse = string;
|
|
16
|
-
export type UpdateGamedayRunStakeHolderActionsV2ErrorResponse = ApiRestError;
|
|
17
|
-
export interface UpdateGamedayRunStakeHolderActionsV2Props extends UpdateGamedayRunStakeHolderActionsV2MutationPathParams, Omit<FetcherOptions<UpdateGamedayRunStakeHolderActionsV2MutationQueryParams, UpdateGamedayRunStakeHolderActionsV2RequestBody>, 'url'> {
|
|
18
|
-
queryParams: UpdateGamedayRunStakeHolderActionsV2MutationQueryParams;
|
|
19
|
-
body: UpdateGamedayRunStakeHolderActionsV2RequestBody;
|
|
20
|
-
}
|
|
21
|
-
export interface UpdateGamedayRunStakeHolderActionsV2ResponseContainer {
|
|
22
|
-
body: UpdateGamedayRunStakeHolderActionsV2OkResponse;
|
|
23
|
-
headers: Headers;
|
|
24
|
-
}
|
|
25
|
-
export declare function updateGamedayRunStakeHolderActionsV2(props: UpdateGamedayRunStakeHolderActionsV2Props): Promise<UpdateGamedayRunStakeHolderActionsV2ResponseContainer>;
|
|
26
|
-
export type UpdateGamedayRunStakeHolderActionsV2MutationProps<T extends keyof UpdateGamedayRunStakeHolderActionsV2Props> = Omit<UpdateGamedayRunStakeHolderActionsV2Props, T> & Partial<Pick<UpdateGamedayRunStakeHolderActionsV2Props, T>>;
|
|
27
|
-
/**
|
|
28
|
-
* Update a chaos v2 gameday run
|
|
29
|
-
* @deprecated
|
|
30
|
-
*/
|
|
31
|
-
export declare function useUpdateGamedayRunStakeHolderActionsV2Mutation<T extends keyof UpdateGamedayRunStakeHolderActionsV2Props>(props: Pick<Partial<UpdateGamedayRunStakeHolderActionsV2Props>, T>, options?: Omit<UseMutationOptions<UpdateGamedayRunStakeHolderActionsV2ResponseContainer, UpdateGamedayRunStakeHolderActionsV2ErrorResponse, UpdateGamedayRunStakeHolderActionsV2MutationProps<T>>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<UpdateGamedayRunStakeHolderActionsV2ResponseContainer, ApiRestError, UpdateGamedayRunStakeHolderActionsV2MutationProps<T>, unknown>;
|
package/dist/chaos-manager/src/services/hooks/useUpdateGamedayRunStakeHolderActionsV2Mutation.js
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
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 updateGamedayRunStakeHolderActionsV2(props) {
|
|
7
|
-
return fetcher(Object.assign({ url: `/rest/v2/gameday/${props.gamedayId}/run_approval/${props.gamedayRunId}`, method: 'PUT' }, props));
|
|
8
|
-
}
|
|
9
|
-
/**
|
|
10
|
-
* Update a chaos v2 gameday run
|
|
11
|
-
* @deprecated
|
|
12
|
-
*/
|
|
13
|
-
export function useUpdateGamedayRunStakeHolderActionsV2Mutation(props, options) {
|
|
14
|
-
return useMutation((mutateProps) => updateGamedayRunStakeHolderActionsV2(Object.assign(Object.assign({}, props), mutateProps)), options);
|
|
15
|
-
}
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
|
-
import type { ApiRestError } from '../schemas/ApiRestError';
|
|
3
|
-
import type { TypesUpdateGameDayRunRequest } from '../schemas/TypesUpdateGameDayRunRequest';
|
|
4
|
-
import { FetcherOptions } from '../../../../custom-fetcher/index.js';
|
|
5
|
-
export interface UpdateGamedayRunV2MutationPathParams {
|
|
6
|
-
gamedayId: string;
|
|
7
|
-
gamedayRunId: string;
|
|
8
|
-
}
|
|
9
|
-
export interface UpdateGamedayRunV2MutationQueryParams {
|
|
10
|
-
accountIdentifier: string;
|
|
11
|
-
organizationIdentifier: string;
|
|
12
|
-
projectIdentifier: string;
|
|
13
|
-
}
|
|
14
|
-
export type UpdateGamedayRunV2RequestBody = TypesUpdateGameDayRunRequest;
|
|
15
|
-
export type UpdateGamedayRunV2OkResponse = string;
|
|
16
|
-
export type UpdateGamedayRunV2ErrorResponse = ApiRestError;
|
|
17
|
-
export interface UpdateGamedayRunV2Props extends UpdateGamedayRunV2MutationPathParams, Omit<FetcherOptions<UpdateGamedayRunV2MutationQueryParams, UpdateGamedayRunV2RequestBody>, 'url'> {
|
|
18
|
-
queryParams: UpdateGamedayRunV2MutationQueryParams;
|
|
19
|
-
body: UpdateGamedayRunV2RequestBody;
|
|
20
|
-
}
|
|
21
|
-
export interface UpdateGamedayRunV2ResponseContainer {
|
|
22
|
-
body: UpdateGamedayRunV2OkResponse;
|
|
23
|
-
headers: Headers;
|
|
24
|
-
}
|
|
25
|
-
export declare function updateGamedayRunV2(props: UpdateGamedayRunV2Props): Promise<UpdateGamedayRunV2ResponseContainer>;
|
|
26
|
-
export type UpdateGamedayRunV2MutationProps<T extends keyof UpdateGamedayRunV2Props> = Omit<UpdateGamedayRunV2Props, T> & Partial<Pick<UpdateGamedayRunV2Props, T>>;
|
|
27
|
-
/**
|
|
28
|
-
* Update a chaos v2 gameday run
|
|
29
|
-
* @deprecated
|
|
30
|
-
*/
|
|
31
|
-
export declare function useUpdateGamedayRunV2Mutation<T extends keyof UpdateGamedayRunV2Props>(props: Pick<Partial<UpdateGamedayRunV2Props>, T>, options?: Omit<UseMutationOptions<UpdateGamedayRunV2ResponseContainer, UpdateGamedayRunV2ErrorResponse, UpdateGamedayRunV2MutationProps<T>>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<UpdateGamedayRunV2ResponseContainer, ApiRestError, UpdateGamedayRunV2MutationProps<T>, unknown>;
|
|
@@ -1,15 +0,0 @@
|
|
|
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 updateGamedayRunV2(props) {
|
|
7
|
-
return fetcher(Object.assign({ url: `/rest/v2/gameday/${props.gamedayId}/run/${props.gamedayRunId}`, method: 'PUT' }, props));
|
|
8
|
-
}
|
|
9
|
-
/**
|
|
10
|
-
* Update a chaos v2 gameday run
|
|
11
|
-
* @deprecated
|
|
12
|
-
*/
|
|
13
|
-
export function useUpdateGamedayRunV2Mutation(props, options) {
|
|
14
|
-
return useMutation((mutateProps) => updateGamedayRunV2(Object.assign(Object.assign({}, props), mutateProps)), options);
|
|
15
|
-
}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
|
-
import type { ApiRestError } from '../schemas/ApiRestError';
|
|
3
|
-
import type { TypesUpdateGamedayRequest } from '../schemas/TypesUpdateGamedayRequest';
|
|
4
|
-
import { FetcherOptions } from '../../../../custom-fetcher/index.js';
|
|
5
|
-
export interface UpdateGamedayV2MutationQueryParams {
|
|
6
|
-
accountIdentifier: string;
|
|
7
|
-
organizationIdentifier: string;
|
|
8
|
-
projectIdentifier: string;
|
|
9
|
-
}
|
|
10
|
-
export type UpdateGamedayV2RequestBody = TypesUpdateGamedayRequest;
|
|
11
|
-
export type UpdateGamedayV2OkResponse = string;
|
|
12
|
-
export type UpdateGamedayV2ErrorResponse = ApiRestError;
|
|
13
|
-
export interface UpdateGamedayV2Props extends Omit<FetcherOptions<UpdateGamedayV2MutationQueryParams, UpdateGamedayV2RequestBody>, 'url'> {
|
|
14
|
-
queryParams: UpdateGamedayV2MutationQueryParams;
|
|
15
|
-
body: UpdateGamedayV2RequestBody;
|
|
16
|
-
}
|
|
17
|
-
export interface UpdateGamedayV2ResponseContainer {
|
|
18
|
-
body: UpdateGamedayV2OkResponse;
|
|
19
|
-
headers: Headers;
|
|
20
|
-
}
|
|
21
|
-
export declare function updateGamedayV2(props: UpdateGamedayV2Props): Promise<UpdateGamedayV2ResponseContainer>;
|
|
22
|
-
export type UpdateGamedayV2MutationProps<T extends keyof UpdateGamedayV2Props> = Omit<UpdateGamedayV2Props, T> & Partial<Pick<UpdateGamedayV2Props, T>>;
|
|
23
|
-
/**
|
|
24
|
-
* Update a chaos v2 gameday
|
|
25
|
-
* @deprecated
|
|
26
|
-
*/
|
|
27
|
-
export declare function useUpdateGamedayV2Mutation<T extends keyof UpdateGamedayV2Props>(props: Pick<Partial<UpdateGamedayV2Props>, T>, options?: Omit<UseMutationOptions<UpdateGamedayV2ResponseContainer, UpdateGamedayV2ErrorResponse, UpdateGamedayV2MutationProps<T>>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<UpdateGamedayV2ResponseContainer, ApiRestError, UpdateGamedayV2MutationProps<T>, unknown>;
|
|
@@ -1,15 +0,0 @@
|
|
|
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 updateGamedayV2(props) {
|
|
7
|
-
return fetcher(Object.assign({ url: `/rest/v2/gameday`, method: 'PUT' }, props));
|
|
8
|
-
}
|
|
9
|
-
/**
|
|
10
|
-
* Update a chaos v2 gameday
|
|
11
|
-
* @deprecated
|
|
12
|
-
*/
|
|
13
|
-
export function useUpdateGamedayV2Mutation(props, options) {
|
|
14
|
-
return useMutation((mutateProps) => updateGamedayV2(Object.assign(Object.assign({}, props), mutateProps)), options);
|
|
15
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export type Gamedayrunv2ApprovalStatus = 'approved' | 'pending' | 'rejected';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export type Gamedayrunv2PrerequisiteStatus = 'done' | 'pending';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export type Gamedayv2GamedayRunStatus = 'awaiting_approval' | 'completed' | 'post_mortem' | 'preparing_prerequisites' | 'running_experiments' | 'terminated';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export type Gamedayv2StakeHolderRole = 'attendee' | 'coordinator' | 'others' | 'triage_engineer';
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import type { GithubComHarnessHceSaasGraphqlServerGraphModelUserDetails } from '../schemas/GithubComHarnessHceSaasGraphqlServerGraphModelUserDetails';
|
|
2
|
-
export interface TypesActionItem {
|
|
3
|
-
createdAt?: number;
|
|
4
|
-
id?: string;
|
|
5
|
-
item?: string;
|
|
6
|
-
user?: GithubComHarnessHceSaasGraphqlServerGraphModelUserDetails;
|
|
7
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import type { TypesExperimentRequest } from '../schemas/TypesExperimentRequest';
|
|
2
|
-
import type { TypesPrerequisite } from '../schemas/TypesPrerequisite';
|
|
3
|
-
import type { TypesStakeHolderInput } from '../schemas/TypesStakeHolderInput';
|
|
4
|
-
export interface TypesCreateGamedayRequest {
|
|
5
|
-
experiments?: TypesExperimentRequest[];
|
|
6
|
-
gameDayID?: string;
|
|
7
|
-
gamedayDescription?: string;
|
|
8
|
-
gamedayName?: string;
|
|
9
|
-
objective?: string;
|
|
10
|
-
prerequisites?: TypesPrerequisite[];
|
|
11
|
-
stakeholders?: TypesStakeHolderInput[];
|
|
12
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import type { TypesRun } from '../schemas/TypesRun';
|
|
2
|
-
import type { TypesExperimentCreationError } from '../schemas/TypesExperimentCreationError';
|
|
3
|
-
export interface TypesCreateGamedayRunResponse {
|
|
4
|
-
data?: TypesRun;
|
|
5
|
-
experimentError?: TypesExperimentCreationError[];
|
|
6
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import type { ModelInfrastructureType } from '../schemas/ModelInfrastructureType';
|
|
2
|
-
export interface TypesExperimentRequest {
|
|
3
|
-
environmentID?: string;
|
|
4
|
-
experimentID?: string;
|
|
5
|
-
experimentTemplateName?: string;
|
|
6
|
-
hubID?: string;
|
|
7
|
-
infraID?: string;
|
|
8
|
-
infraType?: ModelInfrastructureType;
|
|
9
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import type { ModelInfrastructureType } from '../schemas/ModelInfrastructureType';
|
|
2
|
-
export interface TypesExperimentRuns {
|
|
3
|
-
chaosInfraID?: string;
|
|
4
|
-
environmentID?: string;
|
|
5
|
-
experimentCsv?: string;
|
|
6
|
-
experimentID?: string;
|
|
7
|
-
experimentManifest?: string;
|
|
8
|
-
experimentTemplateName?: string;
|
|
9
|
-
hubID?: string;
|
|
10
|
-
infraType?: ModelInfrastructureType;
|
|
11
|
-
lastRunNotifyID?: string;
|
|
12
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import type { GithubComHarnessHceSaasGraphqlServerGraphModelUserDetails } from '../schemas/GithubComHarnessHceSaasGraphqlServerGraphModelUserDetails';
|
|
2
|
-
import type { TypesListGamedayExperimentResponse } from '../schemas/TypesListGamedayExperimentResponse';
|
|
3
|
-
import type { GithubComHarnessHceSaasGraphqlServerGraphModelIdentifiers } from '../schemas/GithubComHarnessHceSaasGraphqlServerGraphModelIdentifiers';
|
|
4
|
-
import type { TypesPrerequisite } from '../schemas/TypesPrerequisite';
|
|
5
|
-
import type { TypesRecentGamedayRun } from '../schemas/TypesRecentGamedayRun';
|
|
6
|
-
import type { TypesStakeHolderResponse } from '../schemas/TypesStakeHolderResponse';
|
|
7
|
-
export interface TypesGamedayV2 {
|
|
8
|
-
createdAt?: string;
|
|
9
|
-
createdBy?: GithubComHarnessHceSaasGraphqlServerGraphModelUserDetails;
|
|
10
|
-
description?: string;
|
|
11
|
-
experiments?: TypesListGamedayExperimentResponse[];
|
|
12
|
-
gameDayID?: string;
|
|
13
|
-
identifiers?: GithubComHarnessHceSaasGraphqlServerGraphModelIdentifiers;
|
|
14
|
-
isRemoved?: boolean;
|
|
15
|
-
name?: string;
|
|
16
|
-
objective?: string;
|
|
17
|
-
prerequisites?: TypesPrerequisite[];
|
|
18
|
-
recentGamedayRuns?: TypesRecentGamedayRun[];
|
|
19
|
-
stakeholders?: TypesStakeHolderResponse[];
|
|
20
|
-
tags?: string[];
|
|
21
|
-
updatedAt?: string;
|
|
22
|
-
updatedBy?: GithubComHarnessHceSaasGraphqlServerGraphModelUserDetails;
|
|
23
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import type { TypesGamedayInfraDetails } from '../schemas/TypesGamedayInfraDetails';
|
|
2
|
-
export interface TypesGetGamedayExperimentResponse {
|
|
3
|
-
experimentCsv?: string;
|
|
4
|
-
experimentID?: string;
|
|
5
|
-
experimentManifest?: string;
|
|
6
|
-
experimentTemplateName?: string;
|
|
7
|
-
hubID?: string;
|
|
8
|
-
infra?: TypesGamedayInfraDetails;
|
|
9
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import type { GithubComHarnessHceSaasGraphqlServerGraphModelUserDetails } from '../schemas/GithubComHarnessHceSaasGraphqlServerGraphModelUserDetails';
|
|
2
|
-
import type { TypesGetGamedayExperimentResponse } from '../schemas/TypesGetGamedayExperimentResponse';
|
|
3
|
-
import type { GithubComHarnessHceSaasGraphqlServerGraphModelIdentifiers } from '../schemas/GithubComHarnessHceSaasGraphqlServerGraphModelIdentifiers';
|
|
4
|
-
import type { TypesPrerequisite } from '../schemas/TypesPrerequisite';
|
|
5
|
-
import type { TypesStakeHolderResponse } from '../schemas/TypesStakeHolderResponse';
|
|
6
|
-
export interface TypesGetGamedayResponse {
|
|
7
|
-
createdAt?: string;
|
|
8
|
-
createdBy?: GithubComHarnessHceSaasGraphqlServerGraphModelUserDetails;
|
|
9
|
-
description?: string;
|
|
10
|
-
experiments?: TypesGetGamedayExperimentResponse[];
|
|
11
|
-
gameDayID?: string;
|
|
12
|
-
identifiers?: GithubComHarnessHceSaasGraphqlServerGraphModelIdentifiers;
|
|
13
|
-
isRemoved?: boolean;
|
|
14
|
-
name?: string;
|
|
15
|
-
objective?: string;
|
|
16
|
-
prerequisites?: TypesPrerequisite[];
|
|
17
|
-
stakeholders?: TypesStakeHolderResponse[];
|
|
18
|
-
tags?: string[];
|
|
19
|
-
totalGamedayRuns?: number;
|
|
20
|
-
updatedAt?: string;
|
|
21
|
-
updatedBy?: GithubComHarnessHceSaasGraphqlServerGraphModelUserDetails;
|
|
22
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import type { ModelInfrastructureType } from '../schemas/ModelInfrastructureType';
|
|
2
|
-
export interface TypesListGamedayExperimentResponse {
|
|
3
|
-
environmentID?: string;
|
|
4
|
-
experimentID?: string;
|
|
5
|
-
experimentTemplateName?: string;
|
|
6
|
-
hubID?: string;
|
|
7
|
-
infraID?: string;
|
|
8
|
-
infraType?: ModelInfrastructureType;
|
|
9
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import type { TypesGamedayV2 } from '../schemas/TypesGamedayV2';
|
|
2
|
-
import type { GithubComHarnessHceSaasGraphqlServerApiPagination } from '../schemas/GithubComHarnessHceSaasGraphqlServerApiPagination';
|
|
3
|
-
export interface TypesListGamedayV2Response {
|
|
4
|
-
data?: TypesGamedayV2[];
|
|
5
|
-
pagination?: GithubComHarnessHceSaasGraphqlServerApiPagination;
|
|
6
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import type { Gamedayrunv2PrerequisiteStatus } from '../schemas/Gamedayrunv2PrerequisiteStatus';
|
|
2
|
-
export interface TypesPrerequisiteForRun {
|
|
3
|
-
ID?: string;
|
|
4
|
-
actionItem?: string;
|
|
5
|
-
comment?: string;
|
|
6
|
-
description?: string;
|
|
7
|
-
status?: Gamedayrunv2PrerequisiteStatus;
|
|
8
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import type { GithubComHarnessHceSaasGraphqlServerGraphModelUserDetails } from '../schemas/GithubComHarnessHceSaasGraphqlServerGraphModelUserDetails';
|
|
2
|
-
import type { Gamedayv2GamedayRunStatus } from '../schemas/Gamedayv2GamedayRunStatus';
|
|
3
|
-
export interface TypesRecentGamedayRun {
|
|
4
|
-
gameDayRunID?: string;
|
|
5
|
-
name?: string;
|
|
6
|
-
runAt?: string;
|
|
7
|
-
runBy?: GithubComHarnessHceSaasGraphqlServerGraphModelUserDetails;
|
|
8
|
-
status?: Gamedayv2GamedayRunStatus;
|
|
9
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import type { GithubComHarnessHceSaasGraphqlServerGraphModelUserDetails } from '../schemas/GithubComHarnessHceSaasGraphqlServerGraphModelUserDetails';
|
|
2
|
-
import type { TypesExperimentRuns } from '../schemas/TypesExperimentRuns';
|
|
3
|
-
import type { GithubComHarnessHceSaasGraphqlServerGraphModelIdentifiers } from '../schemas/GithubComHarnessHceSaasGraphqlServerGraphModelIdentifiers';
|
|
4
|
-
import type { TypesPrerequisiteForRun } from '../schemas/TypesPrerequisiteForRun';
|
|
5
|
-
import type { TypesStakeHolderDetailsForRuns } from '../schemas/TypesStakeHolderDetailsForRuns';
|
|
6
|
-
import type { Gamedayv2GamedayRunStatus } from '../schemas/Gamedayv2GamedayRunStatus';
|
|
7
|
-
import type { TypesSummary } from '../schemas/TypesSummary';
|
|
8
|
-
export interface TypesRun {
|
|
9
|
-
createdAt?: string;
|
|
10
|
-
createdBy?: GithubComHarnessHceSaasGraphqlServerGraphModelUserDetails;
|
|
11
|
-
experiments?: TypesExperimentRuns[];
|
|
12
|
-
gameDayID?: string;
|
|
13
|
-
gameDayRunID?: string;
|
|
14
|
-
identifiers?: GithubComHarnessHceSaasGraphqlServerGraphModelIdentifiers;
|
|
15
|
-
isRemoved?: boolean;
|
|
16
|
-
name?: string;
|
|
17
|
-
prerequisites?: TypesPrerequisiteForRun[];
|
|
18
|
-
stakeHolders?: TypesStakeHolderDetailsForRuns[];
|
|
19
|
-
/**
|
|
20
|
-
* after approval
|
|
21
|
-
*/
|
|
22
|
-
startTime?: number;
|
|
23
|
-
status?: Gamedayv2GamedayRunStatus;
|
|
24
|
-
summary?: TypesSummary;
|
|
25
|
-
updatedAt?: string;
|
|
26
|
-
updatedBy?: GithubComHarnessHceSaasGraphqlServerGraphModelUserDetails;
|
|
27
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import type { Gamedayrunv2ApprovalStatus } from '../schemas/Gamedayrunv2ApprovalStatus';
|
|
2
|
-
import type { GithubComHarnessHceSaasGraphqlServerGraphModelUserDetails } from '../schemas/GithubComHarnessHceSaasGraphqlServerGraphModelUserDetails';
|
|
3
|
-
import type { Gamedayv2StakeHolderRole } from '../schemas/Gamedayv2StakeHolderRole';
|
|
4
|
-
export interface TypesStakeHolderDetailsForRuns {
|
|
5
|
-
approvalRequired?: boolean;
|
|
6
|
-
approvalStatus?: Gamedayrunv2ApprovalStatus;
|
|
7
|
-
lastUpdatedAt?: number;
|
|
8
|
-
lastUpdatedBy?: GithubComHarnessHceSaasGraphqlServerGraphModelUserDetails;
|
|
9
|
-
notes?: string;
|
|
10
|
-
role?: Gamedayv2StakeHolderRole;
|
|
11
|
-
user?: GithubComHarnessHceSaasGraphqlServerGraphModelUserDetails;
|
|
12
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import type { TypesStakeHolderRole } from '../schemas/TypesStakeHolderRole';
|
|
2
|
-
import type { GithubComHarnessHceSaasGraphqlServerGraphModelUserDetails } from '../schemas/GithubComHarnessHceSaasGraphqlServerGraphModelUserDetails';
|
|
3
|
-
export interface TypesStakeHolderResponse {
|
|
4
|
-
approvalRequired?: boolean;
|
|
5
|
-
role?: TypesStakeHolderRole;
|
|
6
|
-
user?: GithubComHarnessHceSaasGraphqlServerGraphModelUserDetails;
|
|
7
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export type TypesStakeHolderRole = 'attendee' | 'coordinator' | 'others' | 'triage_engineer';
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import type { TypesActionItem } from '../schemas/TypesActionItem';
|
|
2
|
-
export interface TypesSummary {
|
|
3
|
-
actionItems?: TypesActionItem[];
|
|
4
|
-
avgResiliencyScore?: number;
|
|
5
|
-
totalCompletedRuns?: number;
|
|
6
|
-
totalCompletedWithErrRuns?: number;
|
|
7
|
-
totalSuspendedRuns?: number;
|
|
8
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|