@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
|
@@ -4,6 +4,8 @@ import type { ApiRestError } from '../schemas/ApiRestError';
|
|
|
4
4
|
import { FetcherOptions } from '../../../../custom-fetcher/index.js';
|
|
5
5
|
export interface GetCommandUnitStatusesQueryQueryParams {
|
|
6
6
|
accountIdentifier: string;
|
|
7
|
+
orgIdentifier?: string;
|
|
8
|
+
projectIdentifier?: string;
|
|
7
9
|
uid: string;
|
|
8
10
|
}
|
|
9
11
|
export type GetCommandUnitStatusesOkResponse = LogserviceCommandUnitStatusResponse;
|
|
@@ -40,10 +40,6 @@ export type { CreateFaultErrorResponse, CreateFaultMutationProps, CreateFaultMut
|
|
|
40
40
|
export { createFault, useCreateFaultMutation } from './hooks/useCreateFaultMutation';
|
|
41
41
|
export type { CreateFaultTemplateErrorResponse, CreateFaultTemplateMutationProps, CreateFaultTemplateMutationQueryParams, CreateFaultTemplateOkResponse, CreateFaultTemplateProps, CreateFaultTemplateRequestBody, } from './hooks/useCreateFaultTemplateMutation';
|
|
42
42
|
export { createFaultTemplate, useCreateFaultTemplateMutation, } from './hooks/useCreateFaultTemplateMutation';
|
|
43
|
-
export type { CreateGamedayRunV2ErrorResponse, CreateGamedayRunV2MutationPathParams, CreateGamedayRunV2MutationProps, CreateGamedayRunV2MutationQueryParams, CreateGamedayRunV2OkResponse, CreateGamedayRunV2Props, } from './hooks/useCreateGamedayRunV2Mutation';
|
|
44
|
-
export { createGamedayRunV2, useCreateGamedayRunV2Mutation, } from './hooks/useCreateGamedayRunV2Mutation';
|
|
45
|
-
export type { CreateGamedayV2ErrorResponse, CreateGamedayV2MutationProps, CreateGamedayV2MutationQueryParams, CreateGamedayV2OkResponse, CreateGamedayV2Props, CreateGamedayV2RequestBody, } from './hooks/useCreateGamedayV2Mutation';
|
|
46
|
-
export { createGamedayV2, useCreateGamedayV2Mutation } from './hooks/useCreateGamedayV2Mutation';
|
|
47
43
|
export type { CreateImageRegistryV3ErrorResponse, CreateImageRegistryV3MutationProps, CreateImageRegistryV3MutationQueryParams, CreateImageRegistryV3OkResponse, CreateImageRegistryV3Props, CreateImageRegistryV3RequestBody, } from './hooks/useCreateImageRegistryV3Mutation';
|
|
48
44
|
export { createImageRegistryV3, useCreateImageRegistryV3Mutation, } from './hooks/useCreateImageRegistryV3Mutation';
|
|
49
45
|
export type { CreateInputSetErrorResponse, CreateInputSetMutationPathParams, CreateInputSetMutationProps, CreateInputSetMutationQueryParams, CreateInputSetOkResponse, CreateInputSetProps, CreateInputSetRequestBody, } from './hooks/useCreateInputSetMutation';
|
|
@@ -80,8 +76,6 @@ export type { DeleteFaultErrorResponse, DeleteFaultMutationPathParams, DeleteFau
|
|
|
80
76
|
export { deleteFault, useDeleteFaultMutation } from './hooks/useDeleteFaultMutation';
|
|
81
77
|
export type { DeleteFaultTemplateErrorResponse, DeleteFaultTemplateMutationPathParams, DeleteFaultTemplateMutationProps, DeleteFaultTemplateMutationQueryParams, DeleteFaultTemplateOkResponse, DeleteFaultTemplateProps, } from './hooks/useDeleteFaultTemplateMutation';
|
|
82
78
|
export { deleteFaultTemplate, useDeleteFaultTemplateMutation, } from './hooks/useDeleteFaultTemplateMutation';
|
|
83
|
-
export type { DeleteGamedayV2ErrorResponse, DeleteGamedayV2MutationPathParams, DeleteGamedayV2MutationProps, DeleteGamedayV2MutationQueryParams, DeleteGamedayV2OkResponse, DeleteGamedayV2Props, } from './hooks/useDeleteGamedayV2Mutation';
|
|
84
|
-
export { deleteGamedayV2, useDeleteGamedayV2Mutation } from './hooks/useDeleteGamedayV2Mutation';
|
|
85
79
|
export type { DeleteHubErrorResponse, DeleteHubMutationPathParams, DeleteHubMutationProps, DeleteHubMutationQueryParams, DeleteHubOkResponse, DeleteHubProps, } from './hooks/useDeleteHubMutation';
|
|
86
80
|
export { deleteHub, useDeleteHubMutation } from './hooks/useDeleteHubMutation';
|
|
87
81
|
export type { DeleteInfraV2ErrorResponse, DeleteInfraV2MutationPathParams, DeleteInfraV2MutationProps, DeleteInfraV2MutationQueryParams, DeleteInfraV2OkResponse, DeleteInfraV2Props, } from './hooks/useDeleteInfraV2Mutation';
|
|
@@ -196,10 +190,6 @@ export type { GetFaultVariablesErrorResponse, GetFaultVariablesOkResponse, GetFa
|
|
|
196
190
|
export { getFaultVariables, useGetFaultVariablesQuery } from './hooks/useGetFaultVariablesQuery';
|
|
197
191
|
export type { GetFaultYamlErrorResponse, GetFaultYamlOkResponse, GetFaultYamlProps, GetFaultYamlQueryPathParams, GetFaultYamlQueryQueryParams, } from './hooks/useGetFaultYamlQuery';
|
|
198
192
|
export { getFaultYaml, useGetFaultYamlQuery } from './hooks/useGetFaultYamlQuery';
|
|
199
|
-
export type { GetGamedayRunV2ErrorResponse, GetGamedayRunV2OkResponse, GetGamedayRunV2Props, GetGamedayRunV2QueryPathParams, GetGamedayRunV2QueryQueryParams, } from './hooks/useGetGamedayRunV2Query';
|
|
200
|
-
export { getGamedayRunV2, useGetGamedayRunV2Query } from './hooks/useGetGamedayRunV2Query';
|
|
201
|
-
export type { GetGamedayV2ErrorResponse, GetGamedayV2OkResponse, GetGamedayV2Props, GetGamedayV2QueryPathParams, GetGamedayV2QueryQueryParams, } from './hooks/useGetGamedayV2Query';
|
|
202
|
-
export { getGamedayV2, useGetGamedayV2Query } from './hooks/useGetGamedayV2Query';
|
|
203
193
|
export type { GetImageRegistryErrorResponse, GetImageRegistryOkResponse, GetImageRegistryProps, } from './hooks/useGetImageRegistryQuery';
|
|
204
194
|
export { getImageRegistry, useGetImageRegistryQuery } from './hooks/useGetImageRegistryQuery';
|
|
205
195
|
export type { GetImageRegistryV3ErrorResponse, GetImageRegistryV3OkResponse, GetImageRegistryV3Props, GetImageRegistryV3QueryQueryParams, } from './hooks/useGetImageRegistryV3Query';
|
|
@@ -312,10 +302,6 @@ export type { ListFunctionErrorResponse, ListFunctionOkResponse, ListFunctionPro
|
|
|
312
302
|
export { listFunction, useListFunctionQuery } from './hooks/useListFunctionQuery';
|
|
313
303
|
export type { ListGamedayMetadataErrorResponse, ListGamedayMetadataOkResponse, ListGamedayMetadataProps, ListGamedayMetadataQueryQueryParams, ListGamedayMetadataRequestBody, } from './hooks/useListGamedayMetadataQuery';
|
|
314
304
|
export { listGamedayMetadata, useListGamedayMetadataQuery, } from './hooks/useListGamedayMetadataQuery';
|
|
315
|
-
export type { ListGamedayRunV2ErrorResponse, ListGamedayRunV2OkResponse, ListGamedayRunV2Props, ListGamedayRunV2QueryPathParams, ListGamedayRunV2QueryQueryParams, } from './hooks/useListGamedayRunV2Query';
|
|
316
|
-
export { listGamedayRunV2, useListGamedayRunV2Query } from './hooks/useListGamedayRunV2Query';
|
|
317
|
-
export type { ListGamedayV2ErrorResponse, ListGamedayV2OkResponse, ListGamedayV2Props, ListGamedayV2QueryQueryParams, } from './hooks/useListGamedayV2Query';
|
|
318
|
-
export { listGamedayV2, useListGamedayV2Query } from './hooks/useListGamedayV2Query';
|
|
319
305
|
export type { ListHarnessInfraErrorResponse, ListHarnessInfraOkResponse, ListHarnessInfraProps, ListHarnessInfraQueryQueryParams, } from './hooks/useListHarnessInfraQuery';
|
|
320
306
|
export { listHarnessInfra, useListHarnessInfraQuery } from './hooks/useListHarnessInfraQuery';
|
|
321
307
|
export type { ListHubMetadataErrorResponse, ListHubMetadataOkResponse, ListHubMetadataProps, ListHubMetadataQueryQueryParams, ListHubMetadataRequestBody, } from './hooks/useListHubMetadataQuery';
|
|
@@ -432,14 +418,6 @@ export type { UpdateFaultErrorResponse, UpdateFaultMutationPathParams, UpdateFau
|
|
|
432
418
|
export { updateFault, useUpdateFaultMutation } from './hooks/useUpdateFaultMutation';
|
|
433
419
|
export type { UpdateFaultTemplateErrorResponse, UpdateFaultTemplateMutationPathParams, UpdateFaultTemplateMutationProps, UpdateFaultTemplateMutationQueryParams, UpdateFaultTemplateOkResponse, UpdateFaultTemplateProps, } from './hooks/useUpdateFaultTemplateMutation';
|
|
434
420
|
export { updateFaultTemplate, useUpdateFaultTemplateMutation, } from './hooks/useUpdateFaultTemplateMutation';
|
|
435
|
-
export type { UpdateGamedayRunPrerequisitesV2ErrorResponse, UpdateGamedayRunPrerequisitesV2MutationPathParams, UpdateGamedayRunPrerequisitesV2MutationProps, UpdateGamedayRunPrerequisitesV2MutationQueryParams, UpdateGamedayRunPrerequisitesV2OkResponse, UpdateGamedayRunPrerequisitesV2Props, UpdateGamedayRunPrerequisitesV2RequestBody, } from './hooks/useUpdateGamedayRunPrerequisitesV2Mutation';
|
|
436
|
-
export { updateGamedayRunPrerequisitesV2, useUpdateGamedayRunPrerequisitesV2Mutation, } from './hooks/useUpdateGamedayRunPrerequisitesV2Mutation';
|
|
437
|
-
export type { UpdateGamedayRunStakeHolderActionsV2ErrorResponse, UpdateGamedayRunStakeHolderActionsV2MutationPathParams, UpdateGamedayRunStakeHolderActionsV2MutationProps, UpdateGamedayRunStakeHolderActionsV2MutationQueryParams, UpdateGamedayRunStakeHolderActionsV2OkResponse, UpdateGamedayRunStakeHolderActionsV2Props, UpdateGamedayRunStakeHolderActionsV2RequestBody, } from './hooks/useUpdateGamedayRunStakeHolderActionsV2Mutation';
|
|
438
|
-
export { updateGamedayRunStakeHolderActionsV2, useUpdateGamedayRunStakeHolderActionsV2Mutation, } from './hooks/useUpdateGamedayRunStakeHolderActionsV2Mutation';
|
|
439
|
-
export type { UpdateGamedayRunV2ErrorResponse, UpdateGamedayRunV2MutationPathParams, UpdateGamedayRunV2MutationProps, UpdateGamedayRunV2MutationQueryParams, UpdateGamedayRunV2OkResponse, UpdateGamedayRunV2Props, UpdateGamedayRunV2RequestBody, } from './hooks/useUpdateGamedayRunV2Mutation';
|
|
440
|
-
export { updateGamedayRunV2, useUpdateGamedayRunV2Mutation, } from './hooks/useUpdateGamedayRunV2Mutation';
|
|
441
|
-
export type { UpdateGamedayV2ErrorResponse, UpdateGamedayV2MutationProps, UpdateGamedayV2MutationQueryParams, UpdateGamedayV2OkResponse, UpdateGamedayV2Props, UpdateGamedayV2RequestBody, } from './hooks/useUpdateGamedayV2Mutation';
|
|
442
|
-
export { updateGamedayV2, useUpdateGamedayV2Mutation } from './hooks/useUpdateGamedayV2Mutation';
|
|
443
421
|
export type { UpdateImageRegistryV3ErrorResponse, UpdateImageRegistryV3MutationProps, UpdateImageRegistryV3MutationQueryParams, UpdateImageRegistryV3OkResponse, UpdateImageRegistryV3Props, UpdateImageRegistryV3RequestBody, } from './hooks/useUpdateImageRegistryV3Mutation';
|
|
444
422
|
export { updateImageRegistryV3, useUpdateImageRegistryV3Mutation, } from './hooks/useUpdateImageRegistryV3Mutation';
|
|
445
423
|
export type { UpdateInfraV2ErrorResponse, UpdateInfraV2MutationProps, UpdateInfraV2MutationQueryParams, UpdateInfraV2OkResponse, UpdateInfraV2Props, UpdateInfraV2RequestBody, } from './hooks/useUpdateInfraV2Mutation';
|
|
@@ -798,10 +776,6 @@ export type { FaulttemplateStatusCheckTimeout } from './schemas/FaulttemplateSta
|
|
|
798
776
|
export type { FaulttemplateTarget } from './schemas/FaulttemplateTarget';
|
|
799
777
|
export type { FaulttemplateTls } from './schemas/FaulttemplateTls';
|
|
800
778
|
export type { FaulttemplateVmWareAuth } from './schemas/FaulttemplateVmWareAuth';
|
|
801
|
-
export type { Gamedayrunv2ApprovalStatus } from './schemas/Gamedayrunv2ApprovalStatus';
|
|
802
|
-
export type { Gamedayrunv2PrerequisiteStatus } from './schemas/Gamedayrunv2PrerequisiteStatus';
|
|
803
|
-
export type { Gamedayv2GamedayRunStatus } from './schemas/Gamedayv2GamedayRunStatus';
|
|
804
|
-
export type { Gamedayv2StakeHolderRole } from './schemas/Gamedayv2StakeHolderRole';
|
|
805
779
|
export type { GithubComHarnessHceSaasGraphqlServerApiEmpty } from './schemas/GithubComHarnessHceSaasGraphqlServerApiEmpty';
|
|
806
780
|
export type { GithubComHarnessHceSaasGraphqlServerApiPagination } from './schemas/GithubComHarnessHceSaasGraphqlServerApiPagination';
|
|
807
781
|
export type { GithubComHarnessHceSaasGraphqlServerGraphModelIdentifiers } from './schemas/GithubComHarnessHceSaasGraphqlServerGraphModelIdentifiers';
|
|
@@ -1150,11 +1124,13 @@ export type { TemplateChaosExperimentInputsetSpec } from './schemas/TemplateChao
|
|
|
1150
1124
|
export type { TemplateInput } from './schemas/TemplateInput';
|
|
1151
1125
|
export type { TemplateInputCategory } from './schemas/TemplateInputCategory';
|
|
1152
1126
|
export type { TemplateInputMinimum } from './schemas/TemplateInputMinimum';
|
|
1127
|
+
export type { TemplateInputReference } from './schemas/TemplateInputReference';
|
|
1128
|
+
export type { TemplateInputReferenceKind } from './schemas/TemplateInputReferenceKind';
|
|
1129
|
+
export type { TemplateInputReferenceType } from './schemas/TemplateInputReferenceType';
|
|
1153
1130
|
export type { TemplateInputType } from './schemas/TemplateInputType';
|
|
1154
1131
|
export type { TemplateRunTimeInputs } from './schemas/TemplateRunTimeInputs';
|
|
1155
1132
|
export type { TemplateVariable } from './schemas/TemplateVariable';
|
|
1156
1133
|
export type { TemplateVariableType } from './schemas/TemplateVariableType';
|
|
1157
|
-
export type { TypesActionItem } from './schemas/TypesActionItem';
|
|
1158
1134
|
export type { TypesActionRunProps } from './schemas/TypesActionRunProps';
|
|
1159
1135
|
export type { TypesApmAppDynamicsDetail } from './schemas/TypesApmAppDynamicsDetail';
|
|
1160
1136
|
export type { TypesApmDatadogDetail } from './schemas/TypesApmDatadogDetail';
|
|
@@ -1183,9 +1159,6 @@ export type { TypesBeta1TargetConfig } from './schemas/TypesBeta1TargetConfig';
|
|
|
1183
1159
|
export type { TypesCmdProbeDetail } from './schemas/TypesCmdProbeDetail';
|
|
1184
1160
|
export type { TypesContainerDetail } from './schemas/TypesContainerDetail';
|
|
1185
1161
|
export type { TypesCreateExperimentFromTemplateRequest } from './schemas/TypesCreateExperimentFromTemplateRequest';
|
|
1186
|
-
export type { TypesCreateGamedayRequest } from './schemas/TypesCreateGamedayRequest';
|
|
1187
|
-
export type { TypesCreateGamedayResponse } from './schemas/TypesCreateGamedayResponse';
|
|
1188
|
-
export type { TypesCreateGamedayRunResponse } from './schemas/TypesCreateGamedayRunResponse';
|
|
1189
1162
|
export type { TypesCreateNoteRequest } from './schemas/TypesCreateNoteRequest';
|
|
1190
1163
|
export type { TypesCreateNoteResponse } from './schemas/TypesCreateNoteResponse';
|
|
1191
1164
|
export type { TypesCreateProbeResponse } from './schemas/TypesCreateProbeResponse';
|
|
@@ -1201,19 +1174,12 @@ export type { TypesEvalWindowDetail } from './schemas/TypesEvalWindowDetail';
|
|
|
1201
1174
|
export type { TypesExecutedByExperiment } from './schemas/TypesExecutedByExperiment';
|
|
1202
1175
|
export type { TypesExecutionStage } from './schemas/TypesExecutionStage';
|
|
1203
1176
|
export type { TypesExecutionStep } from './schemas/TypesExecutionStep';
|
|
1204
|
-
export type { TypesExperimentCreationError } from './schemas/TypesExperimentCreationError';
|
|
1205
1177
|
export type { TypesExperimentCreationRequest } from './schemas/TypesExperimentCreationRequest';
|
|
1206
1178
|
export type { TypesExperimentCreationResponse } from './schemas/TypesExperimentCreationResponse';
|
|
1207
|
-
export type { TypesExperimentRequest } from './schemas/TypesExperimentRequest';
|
|
1208
1179
|
export type { TypesExperimentRunRequest } from './schemas/TypesExperimentRunRequest';
|
|
1209
|
-
export type { TypesExperimentRuns } from './schemas/TypesExperimentRuns';
|
|
1210
1180
|
export type { TypesExperimentV2 } from './schemas/TypesExperimentV2';
|
|
1211
1181
|
export type { TypesFaultExecutionData } from './schemas/TypesFaultExecutionData';
|
|
1212
1182
|
export type { TypesFilterListChaosPipelineRuns } from './schemas/TypesFilterListChaosPipelineRuns';
|
|
1213
|
-
export type { TypesGamedayInfraDetails } from './schemas/TypesGamedayInfraDetails';
|
|
1214
|
-
export type { TypesGamedayV2 } from './schemas/TypesGamedayV2';
|
|
1215
|
-
export type { TypesGetGamedayExperimentResponse } from './schemas/TypesGetGamedayExperimentResponse';
|
|
1216
|
-
export type { TypesGetGamedayResponse } from './schemas/TypesGetGamedayResponse';
|
|
1217
1183
|
export type { TypesGetProbeResponse } from './schemas/TypesGetProbeResponse';
|
|
1218
1184
|
export type { TypesHttpProbeDetail } from './schemas/TypesHttpProbeDetail';
|
|
1219
1185
|
export type { TypesIdentifiers } from './schemas/TypesIdentifiers';
|
|
@@ -1225,9 +1191,6 @@ export type { TypesK8sProbeDetail } from './schemas/TypesK8sProbeDetail';
|
|
|
1225
1191
|
export type { TypesKeyValuePair } from './schemas/TypesKeyValuePair';
|
|
1226
1192
|
export type { TypesListChaosPipelineRuns } from './schemas/TypesListChaosPipelineRuns';
|
|
1227
1193
|
export type { TypesListExperimentV2Response } from './schemas/TypesListExperimentV2Response';
|
|
1228
|
-
export type { TypesListGamedayExperimentResponse } from './schemas/TypesListGamedayExperimentResponse';
|
|
1229
|
-
export type { TypesListGamedayRunV2Response } from './schemas/TypesListGamedayRunV2Response';
|
|
1230
|
-
export type { TypesListGamedayV2Response } from './schemas/TypesListGamedayV2Response';
|
|
1231
1194
|
export type { TypesListMetadataRequest } from './schemas/TypesListMetadataRequest';
|
|
1232
1195
|
export type { TypesListProbeResponse } from './schemas/TypesListProbeResponse';
|
|
1233
1196
|
export type { TypesNewRelicMetricDetail } from './schemas/TypesNewRelicMetricDetail';
|
|
@@ -1235,8 +1198,6 @@ export type { TypesNewrelicMetricsDetail } from './schemas/TypesNewrelicMetricsD
|
|
|
1235
1198
|
export type { TypesNewrelicProbeDetail } from './schemas/TypesNewrelicProbeDetail';
|
|
1236
1199
|
export type { TypesNote } from './schemas/TypesNote';
|
|
1237
1200
|
export type { TypesNotes } from './schemas/TypesNotes';
|
|
1238
|
-
export type { TypesPrerequisite } from './schemas/TypesPrerequisite';
|
|
1239
|
-
export type { TypesPrerequisiteForRun } from './schemas/TypesPrerequisiteForRun';
|
|
1240
1201
|
export type { TypesProbeBulkEnableRequest } from './schemas/TypesProbeBulkEnableRequest';
|
|
1241
1202
|
export type { TypesProbeDetailsInExperiment } from './schemas/TypesProbeDetailsInExperiment';
|
|
1242
1203
|
export type { TypesProbeDetailsInExperimentRequest } from './schemas/TypesProbeDetailsInExperimentRequest';
|
|
@@ -1250,31 +1211,20 @@ export type { TypesProbeType } from './schemas/TypesProbeType';
|
|
|
1250
1211
|
export type { TypesProbeVerdict } from './schemas/TypesProbeVerdict';
|
|
1251
1212
|
export type { TypesProbeVerifyRequest } from './schemas/TypesProbeVerifyRequest';
|
|
1252
1213
|
export type { TypesPromProbeDetail } from './schemas/TypesPromProbeDetail';
|
|
1253
|
-
export type { TypesRecentGamedayRun } from './schemas/TypesRecentGamedayRun';
|
|
1254
|
-
export type { TypesRun } from './schemas/TypesRun';
|
|
1255
1214
|
export type { TypesScenarioType } from './schemas/TypesScenarioType';
|
|
1256
1215
|
export type { TypesSloProbeDetail } from './schemas/TypesSloProbeDetail';
|
|
1257
1216
|
export type { TypesSloSourceDetail } from './schemas/TypesSloSourceDetail';
|
|
1258
1217
|
export type { TypesSourceDetail } from './schemas/TypesSourceDetail';
|
|
1259
|
-
export type { TypesStakeHolderDetailsForRuns } from './schemas/TypesStakeHolderDetailsForRuns';
|
|
1260
|
-
export type { TypesStakeHolderInput } from './schemas/TypesStakeHolderInput';
|
|
1261
|
-
export type { TypesStakeHolderResponse } from './schemas/TypesStakeHolderResponse';
|
|
1262
|
-
export type { TypesStakeHolderRole } from './schemas/TypesStakeHolderRole';
|
|
1263
1218
|
export type { TypesStatus } from './schemas/TypesStatus';
|
|
1264
1219
|
export type { TypesStopChaosV2ExperimentResponse } from './schemas/TypesStopChaosV2ExperimentResponse';
|
|
1265
|
-
export type { TypesSummary } from './schemas/TypesSummary';
|
|
1266
1220
|
export type { TypesSyntheticsTestDetail } from './schemas/TypesSyntheticsTestDetail';
|
|
1267
1221
|
export type { TypesTemplateResourceDetails } from './schemas/TypesTemplateResourceDetails';
|
|
1268
1222
|
export type { TypesTemplateResources } from './schemas/TypesTemplateResources';
|
|
1269
1223
|
export type { TypesUpdateCronExperimentAction } from './schemas/TypesUpdateCronExperimentAction';
|
|
1270
1224
|
export type { TypesUpdateCronExperimentStateRequest } from './schemas/TypesUpdateCronExperimentStateRequest';
|
|
1271
1225
|
export type { TypesUpdateCronExperimentStateResponse } from './schemas/TypesUpdateCronExperimentStateResponse';
|
|
1272
|
-
export type { TypesUpdateGameDayRunRequest } from './schemas/TypesUpdateGameDayRunRequest';
|
|
1273
|
-
export type { TypesUpdateGamedayRequest } from './schemas/TypesUpdateGamedayRequest';
|
|
1274
1226
|
export type { TypesUpdateNoteRequest } from './schemas/TypesUpdateNoteRequest';
|
|
1275
1227
|
export type { TypesUpdateOperation } from './schemas/TypesUpdateOperation';
|
|
1276
|
-
export type { TypesUpdatePrerequisiteRequest } from './schemas/TypesUpdatePrerequisiteRequest';
|
|
1277
|
-
export type { TypesUpdateStakeHolderActionRequest } from './schemas/TypesUpdateStakeHolderActionRequest';
|
|
1278
1228
|
export type { TypesWeightages } from './schemas/TypesWeightages';
|
|
1279
1229
|
export type { TypesWorkloadDetail } from './schemas/TypesWorkloadDetail';
|
|
1280
1230
|
export type { V1ApmProbeInputs } from './schemas/V1ApmProbeInputs';
|
|
@@ -19,8 +19,6 @@ export { createExperimentTemplate, useCreateExperimentTemplateMutation, } from '
|
|
|
19
19
|
export { createExperimentV3, useCreateExperimentV3Mutation, } from './hooks/useCreateExperimentV3Mutation';
|
|
20
20
|
export { createFault, useCreateFaultMutation } from './hooks/useCreateFaultMutation';
|
|
21
21
|
export { createFaultTemplate, useCreateFaultTemplateMutation, } from './hooks/useCreateFaultTemplateMutation';
|
|
22
|
-
export { createGamedayRunV2, useCreateGamedayRunV2Mutation, } from './hooks/useCreateGamedayRunV2Mutation';
|
|
23
|
-
export { createGamedayV2, useCreateGamedayV2Mutation } from './hooks/useCreateGamedayV2Mutation';
|
|
24
22
|
export { createImageRegistryV3, useCreateImageRegistryV3Mutation, } from './hooks/useCreateImageRegistryV3Mutation';
|
|
25
23
|
export { createInputSet, useCreateInputSetMutation } from './hooks/useCreateInputSetMutation';
|
|
26
24
|
export { createProbe, useCreateProbeMutation } from './hooks/useCreateProbeMutation';
|
|
@@ -39,7 +37,6 @@ export { deleteExperimentTemplate, useDeleteExperimentTemplateMutation, } from '
|
|
|
39
37
|
export { deleteExperimentV3, useDeleteExperimentV3Mutation, } from './hooks/useDeleteExperimentV3Mutation';
|
|
40
38
|
export { deleteFault, useDeleteFaultMutation } from './hooks/useDeleteFaultMutation';
|
|
41
39
|
export { deleteFaultTemplate, useDeleteFaultTemplateMutation, } from './hooks/useDeleteFaultTemplateMutation';
|
|
42
|
-
export { deleteGamedayV2, useDeleteGamedayV2Mutation } from './hooks/useDeleteGamedayV2Mutation';
|
|
43
40
|
export { deleteHub, useDeleteHubMutation } from './hooks/useDeleteHubMutation';
|
|
44
41
|
export { deleteInfraV2, useDeleteInfraV2Mutation } from './hooks/useDeleteInfraV2Mutation';
|
|
45
42
|
export { deleteInputSet, useDeleteInputSetMutation } from './hooks/useDeleteInputSetMutation';
|
|
@@ -97,8 +94,6 @@ export { getFaultTemplateVariables, useGetFaultTemplateVariablesQuery, } from '.
|
|
|
97
94
|
export { getFaultTemplateYaml, useGetFaultTemplateYamlQuery, } from './hooks/useGetFaultTemplateYamlQuery';
|
|
98
95
|
export { getFaultVariables, useGetFaultVariablesQuery } from './hooks/useGetFaultVariablesQuery';
|
|
99
96
|
export { getFaultYaml, useGetFaultYamlQuery } from './hooks/useGetFaultYamlQuery';
|
|
100
|
-
export { getGamedayRunV2, useGetGamedayRunV2Query } from './hooks/useGetGamedayRunV2Query';
|
|
101
|
-
export { getGamedayV2, useGetGamedayV2Query } from './hooks/useGetGamedayV2Query';
|
|
102
97
|
export { getImageRegistry, useGetImageRegistryQuery } from './hooks/useGetImageRegistryQuery';
|
|
103
98
|
export { getImageRegistryV3, useGetImageRegistryV3Query } from './hooks/useGetImageRegistryV3Query';
|
|
104
99
|
export { getInfraToken, useGetInfraTokenQuery } from './hooks/useGetInfraTokenQuery';
|
|
@@ -155,8 +150,6 @@ export { listFaultTemplate, useListFaultTemplateQuery } from './hooks/useListFau
|
|
|
155
150
|
export { listFaultv2, useListFaultv2Query } from './hooks/useListFaultv2Query';
|
|
156
151
|
export { listFunction, useListFunctionQuery } from './hooks/useListFunctionQuery';
|
|
157
152
|
export { listGamedayMetadata, useListGamedayMetadataQuery, } from './hooks/useListGamedayMetadataQuery';
|
|
158
|
-
export { listGamedayRunV2, useListGamedayRunV2Query } from './hooks/useListGamedayRunV2Query';
|
|
159
|
-
export { listGamedayV2, useListGamedayV2Query } from './hooks/useListGamedayV2Query';
|
|
160
153
|
export { listHarnessInfra, useListHarnessInfraQuery } from './hooks/useListHarnessInfraQuery';
|
|
161
154
|
export { listHubMetadata, useListHubMetadataQuery } from './hooks/useListHubMetadataQuery';
|
|
162
155
|
export { listInfraV2, useListInfraV2Query } from './hooks/useListInfraV2Query';
|
|
@@ -215,10 +208,6 @@ export { updateExperimentTemplate, useUpdateExperimentTemplateMutation, } from '
|
|
|
215
208
|
export { updateExperimentV3, useUpdateExperimentV3Mutation, } from './hooks/useUpdateExperimentV3Mutation';
|
|
216
209
|
export { updateFault, useUpdateFaultMutation } from './hooks/useUpdateFaultMutation';
|
|
217
210
|
export { updateFaultTemplate, useUpdateFaultTemplateMutation, } from './hooks/useUpdateFaultTemplateMutation';
|
|
218
|
-
export { updateGamedayRunPrerequisitesV2, useUpdateGamedayRunPrerequisitesV2Mutation, } from './hooks/useUpdateGamedayRunPrerequisitesV2Mutation';
|
|
219
|
-
export { updateGamedayRunStakeHolderActionsV2, useUpdateGamedayRunStakeHolderActionsV2Mutation, } from './hooks/useUpdateGamedayRunStakeHolderActionsV2Mutation';
|
|
220
|
-
export { updateGamedayRunV2, useUpdateGamedayRunV2Mutation, } from './hooks/useUpdateGamedayRunV2Mutation';
|
|
221
|
-
export { updateGamedayV2, useUpdateGamedayV2Mutation } from './hooks/useUpdateGamedayV2Mutation';
|
|
222
211
|
export { updateImageRegistryV3, useUpdateImageRegistryV3Mutation, } from './hooks/useUpdateImageRegistryV3Mutation';
|
|
223
212
|
export { updateInfraV2, useUpdateInfraV2Mutation } from './hooks/useUpdateInfraV2Mutation';
|
|
224
213
|
export { updateInputSet, useUpdateInputSetMutation } from './hooks/useUpdateInputSetMutation';
|
|
@@ -1,8 +1,19 @@
|
|
|
1
1
|
export interface ExperimentsInfraDetails {
|
|
2
2
|
environmentId?: string;
|
|
3
3
|
infraId?: string;
|
|
4
|
+
infraScope?: string;
|
|
4
5
|
infraType?: string;
|
|
5
6
|
isActive?: boolean;
|
|
6
7
|
isInfraConfirmed?: boolean;
|
|
7
8
|
name?: string;
|
|
9
|
+
/**
|
|
10
|
+
* Namespace, InfraScope and ServiceAccount are Kubernetes-only concepts (V1 and V2).
|
|
11
|
+
* Omitted for machine infra (Linux/Windows/CloudFoundry/Container).
|
|
12
|
+
*/
|
|
13
|
+
namespace?: string;
|
|
14
|
+
serviceAccount?: string;
|
|
15
|
+
/**
|
|
16
|
+
* Version is populated for any infra that reports it (K8s V1, K8s V2, Linux, Windows, CF, Container).
|
|
17
|
+
*/
|
|
18
|
+
version?: string;
|
|
8
19
|
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { TemplateInputCategory } from '../schemas/TemplateInputCategory';
|
|
2
|
+
import type { TemplateInputReference } from '../schemas/TemplateInputReference';
|
|
2
3
|
import type { TemplateInputType } from '../schemas/TemplateInputType';
|
|
3
4
|
export interface TemplateInput {
|
|
4
5
|
allowedValues?: Array<{}>;
|
|
@@ -7,6 +8,7 @@ export interface TemplateInput {
|
|
|
7
8
|
description?: string;
|
|
8
9
|
name: string;
|
|
9
10
|
path?: string;
|
|
11
|
+
reference?: TemplateInputReference;
|
|
10
12
|
required?: boolean;
|
|
11
13
|
stringify?: boolean;
|
|
12
14
|
tags?: string[];
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { TemplateInputReferenceKind } from '../schemas/TemplateInputReferenceKind';
|
|
2
|
+
import type { TemplateInputReferenceType } from '../schemas/TemplateInputReferenceType';
|
|
3
|
+
export interface TemplateInputReference {
|
|
4
|
+
kind?: TemplateInputReferenceKind;
|
|
5
|
+
type?: TemplateInputReferenceType;
|
|
6
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type TemplateInputReferenceKind = 'ChaosInfrastructure' | 'Connector' | 'Secret';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type TemplateInputReferenceType = 'AppDynamics' | 'Datadog' | 'Dynatrace' | 'KubernetesV2' | 'Linux' | 'NewRelic' | 'Prometheus' | 'SecretFile' | 'SecretText' | 'SignalFX' | 'Splunk' | 'Windows';
|
|
@@ -1,8 +1,10 @@
|
|
|
1
|
+
import type { TemplateInputReference } from '../schemas/TemplateInputReference';
|
|
1
2
|
import type { TemplateVariableType } from '../schemas/TemplateVariableType';
|
|
2
3
|
export interface TemplateVariable {
|
|
3
4
|
description?: string;
|
|
4
5
|
name: string;
|
|
5
6
|
path?: string;
|
|
7
|
+
reference?: TemplateInputReference;
|
|
6
8
|
required?: boolean;
|
|
7
9
|
type?: TemplateVariableType;
|
|
8
10
|
value: {};
|
package/package.json
CHANGED
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
|
-
import type { TypesCreateGamedayRunResponse } from '../schemas/TypesCreateGamedayRunResponse';
|
|
3
|
-
import type { ApiRestError } from '../schemas/ApiRestError';
|
|
4
|
-
import { FetcherOptions } from '../../../../custom-fetcher/index.js';
|
|
5
|
-
export interface CreateGamedayRunV2MutationPathParams {
|
|
6
|
-
gamedayId: string;
|
|
7
|
-
}
|
|
8
|
-
export interface CreateGamedayRunV2MutationQueryParams {
|
|
9
|
-
accountIdentifier: string;
|
|
10
|
-
organizationIdentifier: string;
|
|
11
|
-
projectIdentifier: string;
|
|
12
|
-
}
|
|
13
|
-
export type CreateGamedayRunV2OkResponse = TypesCreateGamedayRunResponse;
|
|
14
|
-
export type CreateGamedayRunV2ErrorResponse = ApiRestError;
|
|
15
|
-
export interface CreateGamedayRunV2Props extends CreateGamedayRunV2MutationPathParams, Omit<FetcherOptions<CreateGamedayRunV2MutationQueryParams, unknown>, 'url'> {
|
|
16
|
-
queryParams: CreateGamedayRunV2MutationQueryParams;
|
|
17
|
-
}
|
|
18
|
-
export interface CreateGamedayRunV2ResponseContainer {
|
|
19
|
-
body: CreateGamedayRunV2OkResponse;
|
|
20
|
-
headers: Headers;
|
|
21
|
-
}
|
|
22
|
-
export declare function createGamedayRunV2(props: CreateGamedayRunV2Props): Promise<CreateGamedayRunV2ResponseContainer>;
|
|
23
|
-
export type CreateGamedayRunV2MutationProps<T extends keyof CreateGamedayRunV2Props> = Omit<CreateGamedayRunV2Props, T> & Partial<Pick<CreateGamedayRunV2Props, T>>;
|
|
24
|
-
/**
|
|
25
|
-
* Create a chaos v2 gameday run
|
|
26
|
-
* @deprecated
|
|
27
|
-
*/
|
|
28
|
-
export declare function useCreateGamedayRunV2Mutation<T extends keyof CreateGamedayRunV2Props>(props: Pick<Partial<CreateGamedayRunV2Props>, T>, options?: Omit<UseMutationOptions<CreateGamedayRunV2ResponseContainer, CreateGamedayRunV2ErrorResponse, CreateGamedayRunV2MutationProps<T>>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<CreateGamedayRunV2ResponseContainer, ApiRestError, CreateGamedayRunV2MutationProps<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 createGamedayRunV2(props) {
|
|
7
|
-
return fetcher(Object.assign({ url: `/rest/v2/gameday/${props.gamedayId}/run`, method: 'POST' }, props));
|
|
8
|
-
}
|
|
9
|
-
/**
|
|
10
|
-
* Create a chaos v2 gameday run
|
|
11
|
-
* @deprecated
|
|
12
|
-
*/
|
|
13
|
-
export function useCreateGamedayRunV2Mutation(props, options) {
|
|
14
|
-
return useMutation((mutateProps) => createGamedayRunV2(Object.assign(Object.assign({}, props), mutateProps)), options);
|
|
15
|
-
}
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
|
-
import type { TypesCreateGamedayResponse } from '../schemas/TypesCreateGamedayResponse';
|
|
3
|
-
import type { ApiRestError } from '../schemas/ApiRestError';
|
|
4
|
-
import type { TypesCreateGamedayRequest } from '../schemas/TypesCreateGamedayRequest';
|
|
5
|
-
import { FetcherOptions } from '../../../../custom-fetcher/index.js';
|
|
6
|
-
export interface CreateGamedayV2MutationQueryParams {
|
|
7
|
-
accountIdentifier: string;
|
|
8
|
-
organizationIdentifier: string;
|
|
9
|
-
projectIdentifier: string;
|
|
10
|
-
}
|
|
11
|
-
export type CreateGamedayV2RequestBody = TypesCreateGamedayRequest;
|
|
12
|
-
export type CreateGamedayV2OkResponse = TypesCreateGamedayResponse;
|
|
13
|
-
export type CreateGamedayV2ErrorResponse = ApiRestError;
|
|
14
|
-
export interface CreateGamedayV2Props extends Omit<FetcherOptions<CreateGamedayV2MutationQueryParams, CreateGamedayV2RequestBody>, 'url'> {
|
|
15
|
-
queryParams: CreateGamedayV2MutationQueryParams;
|
|
16
|
-
body: CreateGamedayV2RequestBody;
|
|
17
|
-
}
|
|
18
|
-
export interface CreateGamedayV2ResponseContainer {
|
|
19
|
-
body: CreateGamedayV2OkResponse;
|
|
20
|
-
headers: Headers;
|
|
21
|
-
}
|
|
22
|
-
export declare function createGamedayV2(props: CreateGamedayV2Props): Promise<CreateGamedayV2ResponseContainer>;
|
|
23
|
-
export type CreateGamedayV2MutationProps<T extends keyof CreateGamedayV2Props> = Omit<CreateGamedayV2Props, T> & Partial<Pick<CreateGamedayV2Props, T>>;
|
|
24
|
-
/**
|
|
25
|
-
* Create a chaos v2 gameday
|
|
26
|
-
* @deprecated
|
|
27
|
-
*/
|
|
28
|
-
export declare function useCreateGamedayV2Mutation<T extends keyof CreateGamedayV2Props>(props: Pick<Partial<CreateGamedayV2Props>, T>, options?: Omit<UseMutationOptions<CreateGamedayV2ResponseContainer, CreateGamedayV2ErrorResponse, CreateGamedayV2MutationProps<T>>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<CreateGamedayV2ResponseContainer, ApiRestError, CreateGamedayV2MutationProps<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 createGamedayV2(props) {
|
|
7
|
-
return fetcher(Object.assign({ url: `/rest/v2/gameday`, method: 'POST' }, props));
|
|
8
|
-
}
|
|
9
|
-
/**
|
|
10
|
-
* Create a chaos v2 gameday
|
|
11
|
-
* @deprecated
|
|
12
|
-
*/
|
|
13
|
-
export function useCreateGamedayV2Mutation(props, options) {
|
|
14
|
-
return useMutation((mutateProps) => createGamedayV2(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 { FetcherOptions } from '../../../../custom-fetcher/index.js';
|
|
4
|
-
export interface DeleteGamedayV2MutationPathParams {
|
|
5
|
-
gamedayId: string;
|
|
6
|
-
}
|
|
7
|
-
export interface DeleteGamedayV2MutationQueryParams {
|
|
8
|
-
accountIdentifier: string;
|
|
9
|
-
organizationIdentifier: string;
|
|
10
|
-
projectIdentifier: string;
|
|
11
|
-
}
|
|
12
|
-
export type DeleteGamedayV2OkResponse = string;
|
|
13
|
-
export type DeleteGamedayV2ErrorResponse = ApiRestError;
|
|
14
|
-
export interface DeleteGamedayV2Props extends DeleteGamedayV2MutationPathParams, Omit<FetcherOptions<DeleteGamedayV2MutationQueryParams, unknown>, 'url'> {
|
|
15
|
-
queryParams: DeleteGamedayV2MutationQueryParams;
|
|
16
|
-
}
|
|
17
|
-
export interface DeleteGamedayV2ResponseContainer {
|
|
18
|
-
body: DeleteGamedayV2OkResponse;
|
|
19
|
-
headers: Headers;
|
|
20
|
-
}
|
|
21
|
-
export declare function deleteGamedayV2(props: DeleteGamedayV2Props): Promise<DeleteGamedayV2ResponseContainer>;
|
|
22
|
-
export type DeleteGamedayV2MutationProps<T extends keyof DeleteGamedayV2Props> = Omit<DeleteGamedayV2Props, T> & Partial<Pick<DeleteGamedayV2Props, T>>;
|
|
23
|
-
/**
|
|
24
|
-
* Get a chaos v2 Gameday
|
|
25
|
-
* @deprecated
|
|
26
|
-
*/
|
|
27
|
-
export declare function useDeleteGamedayV2Mutation<T extends keyof DeleteGamedayV2Props>(props: Pick<Partial<DeleteGamedayV2Props>, T>, options?: Omit<UseMutationOptions<DeleteGamedayV2ResponseContainer, DeleteGamedayV2ErrorResponse, DeleteGamedayV2MutationProps<T>>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<DeleteGamedayV2ResponseContainer, ApiRestError, DeleteGamedayV2MutationProps<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 deleteGamedayV2(props) {
|
|
7
|
-
return fetcher(Object.assign({ url: `/rest/v2/gameday/${props.gamedayId}`, method: 'DELETE' }, props));
|
|
8
|
-
}
|
|
9
|
-
/**
|
|
10
|
-
* Get a chaos v2 Gameday
|
|
11
|
-
* @deprecated
|
|
12
|
-
*/
|
|
13
|
-
export function useDeleteGamedayV2Mutation(props, options) {
|
|
14
|
-
return useMutation((mutateProps) => deleteGamedayV2(Object.assign(Object.assign({}, props), mutateProps)), options);
|
|
15
|
-
}
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
|
-
import type { TypesRun } from '../schemas/TypesRun';
|
|
3
|
-
import type { ApiRestError } from '../schemas/ApiRestError';
|
|
4
|
-
import { FetcherOptions } from '../../../../custom-fetcher/index.js';
|
|
5
|
-
export interface GetGamedayRunV2QueryPathParams {
|
|
6
|
-
gamedayId: string;
|
|
7
|
-
gamedayRunId: string;
|
|
8
|
-
}
|
|
9
|
-
export interface GetGamedayRunV2QueryQueryParams {
|
|
10
|
-
accountIdentifier: string;
|
|
11
|
-
organizationIdentifier: string;
|
|
12
|
-
projectIdentifier: string;
|
|
13
|
-
}
|
|
14
|
-
export type GetGamedayRunV2OkResponse = TypesRun;
|
|
15
|
-
export type GetGamedayRunV2ErrorResponse = ApiRestError;
|
|
16
|
-
export interface GetGamedayRunV2Props extends GetGamedayRunV2QueryPathParams, Omit<FetcherOptions<GetGamedayRunV2QueryQueryParams, unknown>, 'url'> {
|
|
17
|
-
queryParams: GetGamedayRunV2QueryQueryParams;
|
|
18
|
-
}
|
|
19
|
-
export interface GetGamedayRunV2ResponseContainer {
|
|
20
|
-
body: GetGamedayRunV2OkResponse;
|
|
21
|
-
headers: Headers;
|
|
22
|
-
}
|
|
23
|
-
export declare function getGamedayRunV2(props: GetGamedayRunV2Props): Promise<GetGamedayRunV2ResponseContainer>;
|
|
24
|
-
/**
|
|
25
|
-
* Fetch a chaos v2 gameday run
|
|
26
|
-
* @deprecated
|
|
27
|
-
*/
|
|
28
|
-
export declare function useGetGamedayRunV2Query(props: GetGamedayRunV2Props, options?: Omit<UseQueryOptions<GetGamedayRunV2ResponseContainer, GetGamedayRunV2ErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetGamedayRunV2ResponseContainer, 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 getGamedayRunV2(props) {
|
|
7
|
-
return fetcher(Object.assign({ url: `/rest/v2/gameday/${props.gamedayId}/run/${props.gamedayRunId}`, method: 'GET' }, props));
|
|
8
|
-
}
|
|
9
|
-
/**
|
|
10
|
-
* Fetch a chaos v2 gameday run
|
|
11
|
-
* @deprecated
|
|
12
|
-
*/
|
|
13
|
-
export function useGetGamedayRunV2Query(props, options) {
|
|
14
|
-
return useQuery(['getGamedayRunV2', props.gamedayId, props.gamedayRunId, props.queryParams], ({ signal }) => getGamedayRunV2(Object.assign(Object.assign({}, props), { signal })), options);
|
|
15
|
-
}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
|
-
import type { TypesGetGamedayResponse } from '../schemas/TypesGetGamedayResponse';
|
|
3
|
-
import type { ApiRestError } from '../schemas/ApiRestError';
|
|
4
|
-
import { FetcherOptions } from '../../../../custom-fetcher/index.js';
|
|
5
|
-
export interface GetGamedayV2QueryPathParams {
|
|
6
|
-
gamedayId: string;
|
|
7
|
-
}
|
|
8
|
-
export interface GetGamedayV2QueryQueryParams {
|
|
9
|
-
accountIdentifier: string;
|
|
10
|
-
organizationIdentifier: string;
|
|
11
|
-
projectIdentifier: string;
|
|
12
|
-
}
|
|
13
|
-
export type GetGamedayV2OkResponse = TypesGetGamedayResponse;
|
|
14
|
-
export type GetGamedayV2ErrorResponse = ApiRestError;
|
|
15
|
-
export interface GetGamedayV2Props extends GetGamedayV2QueryPathParams, Omit<FetcherOptions<GetGamedayV2QueryQueryParams, unknown>, 'url'> {
|
|
16
|
-
queryParams: GetGamedayV2QueryQueryParams;
|
|
17
|
-
}
|
|
18
|
-
export interface GetGamedayV2ResponseContainer {
|
|
19
|
-
body: GetGamedayV2OkResponse;
|
|
20
|
-
headers: Headers;
|
|
21
|
-
}
|
|
22
|
-
export declare function getGamedayV2(props: GetGamedayV2Props): Promise<GetGamedayV2ResponseContainer>;
|
|
23
|
-
/**
|
|
24
|
-
* Get a chaos v2 Gameday
|
|
25
|
-
* @deprecated
|
|
26
|
-
*/
|
|
27
|
-
export declare function useGetGamedayV2Query(props: GetGamedayV2Props, options?: Omit<UseQueryOptions<GetGamedayV2ResponseContainer, GetGamedayV2ErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetGamedayV2ResponseContainer, 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 getGamedayV2(props) {
|
|
7
|
-
return fetcher(Object.assign({ url: `/rest/v2/gameday/${props.gamedayId}`, method: 'GET' }, props));
|
|
8
|
-
}
|
|
9
|
-
/**
|
|
10
|
-
* Get a chaos v2 Gameday
|
|
11
|
-
* @deprecated
|
|
12
|
-
*/
|
|
13
|
-
export function useGetGamedayV2Query(props, options) {
|
|
14
|
-
return useQuery(['GetGamedayV2', props.gamedayId, props.queryParams], ({ signal }) => getGamedayV2(Object.assign(Object.assign({}, props), { signal })), options);
|
|
15
|
-
}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
|
-
import type { TypesListGamedayRunV2Response } from '../schemas/TypesListGamedayRunV2Response';
|
|
3
|
-
import type { ApiRestError } from '../schemas/ApiRestError';
|
|
4
|
-
import { FetcherOptions } from '../../../../custom-fetcher/index.js';
|
|
5
|
-
export interface ListGamedayRunV2QueryPathParams {
|
|
6
|
-
gamedayId: string;
|
|
7
|
-
}
|
|
8
|
-
export interface ListGamedayRunV2QueryQueryParams {
|
|
9
|
-
accountIdentifier: string;
|
|
10
|
-
organizationIdentifier: string;
|
|
11
|
-
projectIdentifier: string;
|
|
12
|
-
}
|
|
13
|
-
export type ListGamedayRunV2OkResponse = TypesListGamedayRunV2Response;
|
|
14
|
-
export type ListGamedayRunV2ErrorResponse = ApiRestError;
|
|
15
|
-
export interface ListGamedayRunV2Props extends ListGamedayRunV2QueryPathParams, Omit<FetcherOptions<ListGamedayRunV2QueryQueryParams, unknown>, 'url'> {
|
|
16
|
-
queryParams: ListGamedayRunV2QueryQueryParams;
|
|
17
|
-
}
|
|
18
|
-
export interface ListGamedayRunV2ResponseContainer {
|
|
19
|
-
body: ListGamedayRunV2OkResponse;
|
|
20
|
-
headers: Headers;
|
|
21
|
-
}
|
|
22
|
-
export declare function listGamedayRunV2(props: ListGamedayRunV2Props): Promise<ListGamedayRunV2ResponseContainer>;
|
|
23
|
-
/**
|
|
24
|
-
* Fetch chaos v2 gameday runs
|
|
25
|
-
* @deprecated
|
|
26
|
-
*/
|
|
27
|
-
export declare function useListGamedayRunV2Query(props: ListGamedayRunV2Props, options?: Omit<UseQueryOptions<ListGamedayRunV2ResponseContainer, ListGamedayRunV2ErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<ListGamedayRunV2ResponseContainer, 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 listGamedayRunV2(props) {
|
|
7
|
-
return fetcher(Object.assign({ url: `/rest/v2/gameday/${props.gamedayId}/runs`, method: 'GET' }, props));
|
|
8
|
-
}
|
|
9
|
-
/**
|
|
10
|
-
* Fetch chaos v2 gameday runs
|
|
11
|
-
* @deprecated
|
|
12
|
-
*/
|
|
13
|
-
export function useListGamedayRunV2Query(props, options) {
|
|
14
|
-
return useQuery(['listGamedayRunV2', props.gamedayId, props.queryParams], ({ signal }) => listGamedayRunV2(Object.assign(Object.assign({}, props), { signal })), options);
|
|
15
|
-
}
|