@harnessio/react-chaos-manager-client 1.48.1-beta.0 → 1.49.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.
Files changed (85) hide show
  1. package/dist/chaos-manager/src/services/hooks/useAbortDrComponentMutation.d.ts +30 -0
  2. package/dist/chaos-manager/src/services/hooks/useAbortDrComponentMutation.js +14 -0
  3. package/dist/chaos-manager/src/services/hooks/useCreateDrPipelineMutation.d.ts +28 -0
  4. package/dist/chaos-manager/src/services/hooks/useCreateDrPipelineMutation.js +14 -0
  5. package/dist/chaos-manager/src/services/hooks/useCreateRiskMutation.d.ts +28 -0
  6. package/dist/chaos-manager/src/services/hooks/useCreateRiskMutation.js +14 -0
  7. package/dist/chaos-manager/src/services/hooks/useDeleteRiskMutation.d.ts +28 -0
  8. package/dist/chaos-manager/src/services/hooks/useDeleteRiskMutation.js +14 -0
  9. package/dist/chaos-manager/src/services/hooks/useGetDrComponentVariableQuery.d.ts +1 -1
  10. package/dist/chaos-manager/src/services/hooks/useGetRiskQuery.d.ts +27 -0
  11. package/dist/chaos-manager/src/services/hooks/useGetRiskQuery.js +14 -0
  12. package/dist/chaos-manager/src/services/hooks/useListDrComponentNodesQuery.d.ts +1 -0
  13. package/dist/chaos-manager/src/services/hooks/useListDrComponentNodesQuery.js +2 -2
  14. package/dist/chaos-manager/src/services/hooks/useListDrTestsQuery.d.ts +27 -0
  15. package/dist/chaos-manager/src/services/hooks/useListDrTestsQuery.js +14 -0
  16. package/dist/chaos-manager/src/services/hooks/useListProbeExecutionsQuery.d.ts +43 -0
  17. package/dist/chaos-manager/src/services/hooks/useListProbeExecutionsQuery.js +14 -0
  18. package/dist/chaos-manager/src/services/hooks/useListRisksQuery.d.ts +40 -0
  19. package/dist/chaos-manager/src/services/hooks/useListRisksQuery.js +14 -0
  20. package/dist/chaos-manager/src/services/hooks/useUpdateDrComponentNodeMutation.d.ts +3 -2
  21. package/dist/chaos-manager/src/services/hooks/useUpdateDrComponentNodeMutation.js +1 -1
  22. package/dist/chaos-manager/src/services/hooks/useUpdateRiskMutation.d.ts +31 -0
  23. package/dist/chaos-manager/src/services/hooks/useUpdateRiskMutation.js +14 -0
  24. package/dist/chaos-manager/src/services/index.d.ts +42 -3
  25. package/dist/chaos-manager/src/services/index.js +9 -1
  26. package/dist/chaos-manager/src/services/schemas/ChaosExecutionNodesProbeData.d.ts +1 -0
  27. package/dist/chaos-manager/src/services/schemas/ChaosExperimentRunChaosExperimentRun.d.ts +2 -0
  28. package/dist/chaos-manager/src/services/schemas/ChaosfaultCreateFaultResponse.d.ts +1 -0
  29. package/dist/chaos-manager/src/services/schemas/DrComponentStatus.d.ts +1 -1
  30. package/dist/chaos-manager/src/services/schemas/DrcomponentsAbortDrComponentRequest.d.ts +4 -0
  31. package/dist/chaos-manager/src/services/schemas/DrcomponentsAbortDrComponentRequest.js +4 -0
  32. package/dist/chaos-manager/src/services/schemas/DrcomponentsAbortDrComponentResponse.d.ts +5 -0
  33. package/dist/chaos-manager/src/services/schemas/DrcomponentsAbortDrComponentResponseData.d.ts +4 -0
  34. package/dist/chaos-manager/src/services/schemas/DrcomponentsAbortDrComponentResponseData.js +4 -0
  35. package/dist/chaos-manager/src/services/schemas/DrcomponentsCreateDrPipelineRequest.d.ts +9 -0
  36. package/dist/chaos-manager/src/services/schemas/DrcomponentsCreateDrPipelineRequest.js +4 -0
  37. package/dist/chaos-manager/src/services/schemas/DrcomponentsCreateDrPipelineResponse.d.ts +5 -0
  38. package/dist/chaos-manager/src/services/schemas/DrcomponentsCreateDrPipelineResponse.js +1 -0
  39. package/dist/chaos-manager/src/services/schemas/DrcomponentsCreateDrPipelineResponseData.d.ts +4 -0
  40. package/dist/chaos-manager/src/services/schemas/DrcomponentsCreateDrPipelineResponseData.js +4 -0
  41. package/dist/chaos-manager/src/services/schemas/DrcomponentsDrTest.d.ts +11 -0
  42. package/dist/chaos-manager/src/services/schemas/DrcomponentsDrTest.js +1 -0
  43. package/dist/chaos-manager/src/services/schemas/DrcomponentsDrTestPipelineInfo.d.ts +7 -0
  44. package/dist/chaos-manager/src/services/schemas/DrcomponentsDrTestPipelineInfo.js +1 -0
  45. package/dist/chaos-manager/src/services/schemas/DrcomponentsDrTestRunInfo.d.ts +8 -0
  46. package/dist/chaos-manager/src/services/schemas/DrcomponentsDrTestRunInfo.js +1 -0
  47. package/dist/chaos-manager/src/services/schemas/DrcomponentsDrTestSpec.d.ts +4 -0
  48. package/dist/chaos-manager/src/services/schemas/DrcomponentsDrTestSpec.js +1 -0
  49. package/dist/chaos-manager/src/services/schemas/DrcomponentsListDrTestsResponse.d.ts +4 -0
  50. package/dist/chaos-manager/src/services/schemas/DrcomponentsListDrTestsResponse.js +1 -0
  51. package/dist/chaos-manager/src/services/schemas/GithubComHarnessHceSaasGraphqlServerGraphModelInfraFilterInput.d.ts +4 -0
  52. package/dist/chaos-manager/src/services/schemas/PipelinesExecutorInfo.d.ts +5 -0
  53. package/dist/chaos-manager/src/services/schemas/PipelinesExecutorInfo.js +4 -0
  54. package/dist/chaos-manager/src/services/schemas/RisksActiveExecutionResponse.d.ts +15 -0
  55. package/dist/chaos-manager/src/services/schemas/RisksActiveExecutionResponse.js +1 -0
  56. package/dist/chaos-manager/src/services/schemas/RisksActiveRiskCounter.d.ts +4 -0
  57. package/dist/chaos-manager/src/services/schemas/RisksActiveRiskCounter.js +4 -0
  58. package/dist/chaos-manager/src/services/schemas/RisksCreateRequest.d.ts +10 -0
  59. package/dist/chaos-manager/src/services/schemas/RisksCreateRequest.js +1 -0
  60. package/dist/chaos-manager/src/services/schemas/RisksDeleteResponse.d.ts +4 -0
  61. package/dist/chaos-manager/src/services/schemas/RisksDeleteResponse.js +4 -0
  62. package/dist/chaos-manager/src/services/schemas/RisksInfrastructure.d.ts +1 -0
  63. package/dist/chaos-manager/src/services/schemas/RisksInfrastructure.js +4 -0
  64. package/dist/chaos-manager/src/services/schemas/RisksListExecutionResponse.d.ts +7 -0
  65. package/dist/chaos-manager/src/services/schemas/RisksListExecutionResponse.js +1 -0
  66. package/dist/chaos-manager/src/services/schemas/RisksListRiskResponse.d.ts +7 -0
  67. package/dist/chaos-manager/src/services/schemas/RisksListRiskResponse.js +1 -0
  68. package/dist/chaos-manager/src/services/schemas/RisksRisk.d.ts +19 -0
  69. package/dist/chaos-manager/src/services/schemas/RisksRisk.js +1 -0
  70. package/dist/chaos-manager/src/services/schemas/RisksRiskResponse.d.ts +22 -0
  71. package/dist/chaos-manager/src/services/schemas/RisksRiskResponse.js +1 -0
  72. package/dist/chaos-manager/src/services/schemas/RisksUpdateRequest.d.ts +9 -0
  73. package/dist/chaos-manager/src/services/schemas/RisksUpdateRequest.js +4 -0
  74. package/dist/chaos-manager/src/services/schemas/TypesExperimentCreationRequest.d.ts +2 -0
  75. package/dist/chaos-manager/src/services/schemas/TypesGetProbeResponse.d.ts +1 -0
  76. package/dist/chaos-manager/src/services/schemas/TypesProbeRequest.d.ts +1 -0
  77. package/dist/chaos-manager/src/services/schemas/TypesTemplateResourceDetails.d.ts +5 -0
  78. package/dist/chaos-manager/src/services/schemas/TypesTemplateResourceDetails.js +4 -0
  79. package/dist/chaos-manager/src/services/schemas/TypesTemplateResources.d.ts +6 -0
  80. package/dist/chaos-manager/src/services/schemas/TypesTemplateResources.js +1 -0
  81. package/package.json +1 -1
  82. package/dist/chaos-manager/src/services/hooks/useUpdateDrComponentPhaseMutation.d.ts +0 -32
  83. package/dist/chaos-manager/src/services/hooks/useUpdateDrComponentPhaseMutation.js +0 -14
  84. package/dist/chaos-manager/src/services/requestBodies/DrComponentDrComponentExecutionNodeRequestBody.d.ts +0 -2
  85. /package/dist/chaos-manager/src/services/{requestBodies/DrComponentDrComponentExecutionNodeRequestBody.js → schemas/DrcomponentsAbortDrComponentResponse.js} +0 -0
@@ -1,3 +1,5 @@
1
+ export type { AbortDrComponentErrorResponse, AbortDrComponentMutationProps, AbortDrComponentMutationQueryParams, AbortDrComponentOkResponse, AbortDrComponentProps, AbortDrComponentRequestBody, } from './hooks/useAbortDrComponentMutation';
2
+ export { abortDrComponent, useAbortDrComponentMutation } from './hooks/useAbortDrComponentMutation';
1
3
  export type { AddNoteErrorResponse, AddNoteMutationProps, AddNoteMutationQueryParams, AddNoteOkResponse, AddNoteProps, AddNoteRequestBody, } from './hooks/useAddNoteMutation';
2
4
  export { addNote, useAddNoteMutation } from './hooks/useAddNoteMutation';
3
5
  export type { BulkExperimentDeleteErrorResponse, BulkExperimentDeleteMutationProps, BulkExperimentDeleteMutationQueryParams, BulkExperimentDeleteOkResponse, BulkExperimentDeleteProps, BulkExperimentDeleteRequestBody, } from './hooks/useBulkExperimentDeleteMutation';
@@ -26,6 +28,8 @@ export type { CreateConditionErrorResponse, CreateConditionMutationProps, Create
26
28
  export { createCondition, useCreateConditionMutation } from './hooks/useCreateConditionMutation';
27
29
  export type { CreateDrComponentNodesErrorResponse, CreateDrComponentNodesMutationPathParams, CreateDrComponentNodesMutationProps, CreateDrComponentNodesMutationQueryParams, CreateDrComponentNodesOkResponse, CreateDrComponentNodesProps, CreateDrComponentNodesRequestBody, } from './hooks/useCreateDrComponentNodesMutation';
28
30
  export { createDrComponentNodes, useCreateDrComponentNodesMutation, } from './hooks/useCreateDrComponentNodesMutation';
31
+ export type { CreateDrPipelineErrorResponse, CreateDrPipelineMutationProps, CreateDrPipelineMutationQueryParams, CreateDrPipelineOkResponse, CreateDrPipelineProps, CreateDrPipelineRequestBody, } from './hooks/useCreateDrPipelineMutation';
32
+ export { createDrPipeline, useCreateDrPipelineMutation } from './hooks/useCreateDrPipelineMutation';
29
33
  export type { CreateExperimentFromTemplateErrorResponse, CreateExperimentFromTemplateMutationPathParams, CreateExperimentFromTemplateMutationProps, CreateExperimentFromTemplateMutationQueryParams, CreateExperimentFromTemplateOkResponse, CreateExperimentFromTemplateProps, CreateExperimentFromTemplateRequestBody, } from './hooks/useCreateExperimentFromTemplateMutation';
30
34
  export { createExperimentFromTemplate, useCreateExperimentFromTemplateMutation, } from './hooks/useCreateExperimentFromTemplateMutation';
31
35
  export type { CreateExperimentTemplateErrorResponse, CreateExperimentTemplateMutationProps, CreateExperimentTemplateMutationQueryParams, CreateExperimentTemplateOkResponse, CreateExperimentTemplateProps, CreateExperimentTemplateRequestBody, } from './hooks/useCreateExperimentTemplateMutation';
@@ -46,6 +50,8 @@ export type { CreateProbeTemplateErrorResponse, CreateProbeTemplateMutationProps
46
50
  export { createProbeTemplate, useCreateProbeTemplateMutation, } from './hooks/useCreateProbeTemplateMutation';
47
51
  export type { CreateRecommendationErrorResponse, CreateRecommendationMutationProps, CreateRecommendationMutationQueryParams, CreateRecommendationOkResponse, CreateRecommendationProps, } from './hooks/useCreateRecommendationMutation';
48
52
  export { createRecommendation, useCreateRecommendationMutation, } from './hooks/useCreateRecommendationMutation';
53
+ export type { CreateRiskErrorResponse, CreateRiskMutationProps, CreateRiskMutationQueryParams, CreateRiskOkResponse, CreateRiskProps, CreateRiskRequestBody, } from './hooks/useCreateRiskMutation';
54
+ export { createRisk, useCreateRiskMutation } from './hooks/useCreateRiskMutation';
49
55
  export type { CreateRuleErrorResponse, CreateRuleMutationProps, CreateRuleMutationQueryParams, CreateRuleOkResponse, CreateRuleProps, CreateRuleRequestBody, } from './hooks/useCreateRuleMutation';
50
56
  export { createRule, useCreateRuleMutation } from './hooks/useCreateRuleMutation';
51
57
  export type { CreateV2OnboardingErrorResponse, CreateV2OnboardingMutationProps, CreateV2OnboardingMutationQueryParams, CreateV2OnboardingOkResponse, CreateV2OnboardingProps, CreateV2OnboardingRequestBody, } from './hooks/useCreateV2OnboardingMutation';
@@ -84,6 +90,8 @@ export type { DeleteProbeTemplateErrorResponse, DeleteProbeTemplateMutationPathP
84
90
  export { deleteProbeTemplate, useDeleteProbeTemplateMutation, } from './hooks/useDeleteProbeTemplateMutation';
85
91
  export type { DeleteRecommendationErrorResponse, DeleteRecommendationMutationProps, DeleteRecommendationMutationQueryParams, DeleteRecommendationOkResponse, DeleteRecommendationProps, } from './hooks/useDeleteRecommendationMutation';
86
92
  export { deleteRecommendation, useDeleteRecommendationMutation, } from './hooks/useDeleteRecommendationMutation';
93
+ export type { DeleteRiskErrorResponse, DeleteRiskMutationPathParams, DeleteRiskMutationProps, DeleteRiskMutationQueryParams, DeleteRiskOkResponse, DeleteRiskProps, } from './hooks/useDeleteRiskMutation';
94
+ export { deleteRisk, useDeleteRiskMutation } from './hooks/useDeleteRiskMutation';
87
95
  export type { DeleteRuleErrorResponse, DeleteRuleMutationPathParams, DeleteRuleMutationProps, DeleteRuleMutationQueryParams, DeleteRuleOkResponse, DeleteRuleProps, } from './hooks/useDeleteRuleMutation';
88
96
  export { deleteRule, useDeleteRuleMutation } from './hooks/useDeleteRuleMutation';
89
97
  export type { DeleteTargetNetworkMapErrorResponse, DeleteTargetNetworkMapMutationPathParams, DeleteTargetNetworkMapMutationProps, DeleteTargetNetworkMapMutationQueryParams, DeleteTargetNetworkMapOkResponse, DeleteTargetNetworkMapProps, } from './hooks/useDeleteTargetNetworkMapMutation';
@@ -214,6 +222,8 @@ export type { GetRecommendationErrorResponse, GetRecommendationOkResponse, GetRe
214
222
  export { getRecommendation, useGetRecommendationQuery } from './hooks/useGetRecommendationQuery';
215
223
  export type { GetResourceUsageErrorResponse, GetResourceUsageOkResponse, GetResourceUsageProps, } from './hooks/useGetResourceUsageQuery';
216
224
  export { getResourceUsage, useGetResourceUsageQuery } from './hooks/useGetResourceUsageQuery';
225
+ export type { GetRiskErrorResponse, GetRiskOkResponse, GetRiskProps, GetRiskQueryPathParams, GetRiskQueryQueryParams, } from './hooks/useGetRiskQuery';
226
+ export { getRisk, useGetRiskQuery } from './hooks/useGetRiskQuery';
217
227
  export type { GetRuleErrorResponse, GetRuleOkResponse, GetRuleProps, GetRuleQueryPathParams, GetRuleQueryQueryParams, } from './hooks/useGetRuleQuery';
218
228
  export { getRule, useGetRuleQuery } from './hooks/useGetRuleQuery';
219
229
  export type { GetServiceResponseErrorResponse, GetServiceResponseOkResponse, GetServiceResponseProps, GetServiceResponseQueryPathParams, GetServiceResponseQueryQueryParams, } from './hooks/useGetServiceResponseQuery';
@@ -254,6 +264,8 @@ export type { ListConditionErrorResponse, ListConditionOkResponse, ListCondition
254
264
  export { listCondition, useListConditionQuery } from './hooks/useListConditionQuery';
255
265
  export type { ListDrComponentNodesErrorResponse, ListDrComponentNodesOkResponse, ListDrComponentNodesProps, ListDrComponentNodesQueryPathParams, ListDrComponentNodesQueryQueryParams, } from './hooks/useListDrComponentNodesQuery';
256
266
  export { listDrComponentNodes, useListDrComponentNodesQuery, } from './hooks/useListDrComponentNodesQuery';
267
+ export type { ListDrTestsErrorResponse, ListDrTestsOkResponse, ListDrTestsProps, ListDrTestsQueryQueryParams, } from './hooks/useListDrTestsQuery';
268
+ export { listDrTests, useListDrTestsQuery } from './hooks/useListDrTestsQuery';
257
269
  export type { ListExperimentMetadataErrorResponse, ListExperimentMetadataOkResponse, ListExperimentMetadataProps, ListExperimentMetadataQueryQueryParams, ListExperimentMetadataRequestBody, } from './hooks/useListExperimentMetadataQuery';
258
270
  export { listExperimentMetadata, useListExperimentMetadataQuery, } from './hooks/useListExperimentMetadataQuery';
259
271
  export type { ListExperimentOrTemplateErrorResponse, ListExperimentOrTemplateOkResponse, ListExperimentOrTemplateProps, ListExperimentOrTemplateQueryQueryParams, } from './hooks/useListExperimentOrTemplateQuery';
@@ -298,6 +310,8 @@ export type { ListMachineChaosInfraErrorResponse, ListMachineChaosInfraOkRespons
298
310
  export { listMachineChaosInfra, useListMachineChaosInfraQuery, } from './hooks/useListMachineChaosInfraQuery';
299
311
  export type { ListPipelineOnboardingErrorResponse, ListPipelineOnboardingOkResponse, ListPipelineOnboardingProps, ListPipelineOnboardingQueryQueryParams, } from './hooks/useListPipelineOnboardingQuery';
300
312
  export { listPipelineOnboarding, useListPipelineOnboardingQuery, } from './hooks/useListPipelineOnboardingQuery';
313
+ export type { ListProbeExecutionsErrorResponse, ListProbeExecutionsOkResponse, ListProbeExecutionsProps, ListProbeExecutionsQueryPathParams, ListProbeExecutionsQueryQueryParams, } from './hooks/useListProbeExecutionsQuery';
314
+ export { listProbeExecutions, useListProbeExecutionsQuery, } from './hooks/useListProbeExecutionsQuery';
301
315
  export type { ListProbeMetadataErrorResponse, ListProbeMetadataOkResponse, ListProbeMetadataProps, ListProbeMetadataQueryQueryParams, ListProbeMetadataRequestBody, } from './hooks/useListProbeMetadataQuery';
302
316
  export { listProbeMetadata, useListProbeMetadataQuery } from './hooks/useListProbeMetadataQuery';
303
317
  export type { ListProbeTemplateErrorResponse, ListProbeTemplateOkResponse, ListProbeTemplateProps, ListProbeTemplateQueryQueryParams, } from './hooks/useListProbeTemplateQuery';
@@ -306,6 +320,8 @@ export type { ListProbesErrorResponse, ListProbesOkResponse, ListProbesProps, Li
306
320
  export { listProbes, useListProbesQuery } from './hooks/useListProbesQuery';
307
321
  export type { ListRecommendationsErrorResponse, ListRecommendationsOkResponse, ListRecommendationsProps, ListRecommendationsQueryQueryParams, ListRecommendationsRequestBody, } from './hooks/useListRecommendationsQuery';
308
322
  export { listRecommendations, useListRecommendationsQuery, } from './hooks/useListRecommendationsQuery';
323
+ export type { ListRisksErrorResponse, ListRisksOkResponse, ListRisksProps, ListRisksQueryQueryParams, } from './hooks/useListRisksQuery';
324
+ export { listRisks, useListRisksQuery } from './hooks/useListRisksQuery';
309
325
  export type { ListRuleErrorResponse, ListRuleOkResponse, ListRuleProps, ListRuleQueryQueryParams, } from './hooks/useListRuleQuery';
310
326
  export { listRule, useListRuleQuery } from './hooks/useListRuleQuery';
311
327
  export type { ListServiceErrorResponse, ListServiceOkResponse, ListServiceProps, ListServiceQueryPathParams, ListServiceQueryQueryParams, } from './hooks/useListServiceQuery';
@@ -372,8 +388,6 @@ export type { UpdateConditionErrorResponse, UpdateConditionMutationPathParams, U
372
388
  export { updateCondition, useUpdateConditionMutation } from './hooks/useUpdateConditionMutation';
373
389
  export type { UpdateDrComponentNodeErrorResponse, UpdateDrComponentNodeMutationPathParams, UpdateDrComponentNodeMutationProps, UpdateDrComponentNodeMutationQueryParams, UpdateDrComponentNodeOkResponse, UpdateDrComponentNodeProps, UpdateDrComponentNodeRequestBody, } from './hooks/useUpdateDrComponentNodeMutation';
374
390
  export { updateDrComponentNode, useUpdateDrComponentNodeMutation, } from './hooks/useUpdateDrComponentNodeMutation';
375
- export type { UpdateDrComponentPhaseErrorResponse, UpdateDrComponentPhaseMutationPathParams, UpdateDrComponentPhaseMutationProps, UpdateDrComponentPhaseMutationQueryParams, UpdateDrComponentPhaseOkResponse, UpdateDrComponentPhaseProps, UpdateDrComponentPhaseRequestBody, } from './hooks/useUpdateDrComponentPhaseMutation';
376
- export { updateDrComponentPhase, useUpdateDrComponentPhaseMutation, } from './hooks/useUpdateDrComponentPhaseMutation';
377
391
  export type { UpdateEmissaryErrorResponse, UpdateEmissaryMutationPathParams, UpdateEmissaryMutationProps, UpdateEmissaryMutationQueryParams, UpdateEmissaryOkResponse, UpdateEmissaryProps, UpdateEmissaryRequestBody, } from './hooks/useUpdateEmissaryMutation';
378
392
  export { updateEmissary, useUpdateEmissaryMutation } from './hooks/useUpdateEmissaryMutation';
379
393
  export type { UpdateExperimentTemplateErrorResponse, UpdateExperimentTemplateMutationPathParams, UpdateExperimentTemplateMutationProps, UpdateExperimentTemplateMutationQueryParams, UpdateExperimentTemplateOkResponse, UpdateExperimentTemplateProps, UpdateExperimentTemplateRequestBody, } from './hooks/useUpdateExperimentTemplateMutation';
@@ -406,6 +420,8 @@ export type { UpdateProbeTemplateErrorResponse, UpdateProbeTemplateMutationPathP
406
420
  export { updateProbeTemplate, useUpdateProbeTemplateMutation, } from './hooks/useUpdateProbeTemplateMutation';
407
421
  export type { UpdateRecommendationStatusErrorResponse, UpdateRecommendationStatusMutationProps, UpdateRecommendationStatusMutationQueryParams, UpdateRecommendationStatusOkResponse, UpdateRecommendationStatusProps, } from './hooks/useUpdateRecommendationStatusMutation';
408
422
  export { updateRecommendationStatus, useUpdateRecommendationStatusMutation, } from './hooks/useUpdateRecommendationStatusMutation';
423
+ export type { UpdateRiskErrorResponse, UpdateRiskMutationPathParams, UpdateRiskMutationProps, UpdateRiskMutationQueryParams, UpdateRiskOkResponse, UpdateRiskProps, UpdateRiskRequestBody, } from './hooks/useUpdateRiskMutation';
424
+ export { updateRisk, useUpdateRiskMutation } from './hooks/useUpdateRiskMutation';
409
425
  export type { UpdateRuleErrorResponse, UpdateRuleMutationPathParams, UpdateRuleMutationProps, UpdateRuleMutationQueryParams, UpdateRuleOkResponse, UpdateRuleProps, UpdateRuleRequestBody, } from './hooks/useUpdateRuleMutation';
410
426
  export { updateRule, useUpdateRuleMutation } from './hooks/useUpdateRuleMutation';
411
427
  export type { UpgradeLegacyKubernetesChaosInfraErrorResponse, UpgradeLegacyKubernetesChaosInfraMutationPathParams, UpgradeLegacyKubernetesChaosInfraMutationProps, UpgradeLegacyKubernetesChaosInfraMutationQueryParams, UpgradeLegacyKubernetesChaosInfraOkResponse, UpgradeLegacyKubernetesChaosInfraProps, } from './hooks/useUpgradeLegacyKubernetesChaosInfraMutation';
@@ -415,7 +431,6 @@ export { useVerifyChaosStageInPipelineRunQuery, verifyChaosStageInPipelineRun, }
415
431
  export type { VerifyProbeErrorResponse, VerifyProbeMutationPathParams, VerifyProbeMutationProps, VerifyProbeMutationQueryParams, VerifyProbeOkResponse, VerifyProbeProps, VerifyProbeRequestBody, } from './hooks/useVerifyProbeMutation';
416
432
  export { useVerifyProbeMutation, verifyProbe } from './hooks/useVerifyProbeMutation';
417
433
  export type { ChaosfaulttemplateActionTemplateRequestBody } from './requestBodies/ChaosfaulttemplateActionTemplateRequestBody';
418
- export type { DrComponentDrComponentExecutionNodeRequestBody } from './requestBodies/DrComponentDrComponentExecutionNodeRequestBody';
419
434
  export type { InfraV2ListKubernetesInfraV2RequestRequestBody } from './requestBodies/InfraV2ListKubernetesInfraV2RequestRequestBody';
420
435
  export type { TypesProbeRequestRequestBody } from './requestBodies/TypesProbeRequestRequestBody';
421
436
  export type { ActionActionTemplateProperties } from './schemas/ActionActionTemplateProperties';
@@ -611,8 +626,19 @@ export type { DrComponentProbeIterations } from './schemas/DrComponentProbeItera
611
626
  export type { DrComponentPromProbe } from './schemas/DrComponentPromProbe';
612
627
  export type { DrComponentStatus } from './schemas/DrComponentStatus';
613
628
  export type { DrComponentType } from './schemas/DrComponentType';
629
+ export type { DrcomponentsAbortDrComponentRequest } from './schemas/DrcomponentsAbortDrComponentRequest';
630
+ export type { DrcomponentsAbortDrComponentResponse } from './schemas/DrcomponentsAbortDrComponentResponse';
631
+ export type { DrcomponentsAbortDrComponentResponseData } from './schemas/DrcomponentsAbortDrComponentResponseData';
632
+ export type { DrcomponentsCreateDrPipelineRequest } from './schemas/DrcomponentsCreateDrPipelineRequest';
633
+ export type { DrcomponentsCreateDrPipelineResponse } from './schemas/DrcomponentsCreateDrPipelineResponse';
634
+ export type { DrcomponentsCreateDrPipelineResponseData } from './schemas/DrcomponentsCreateDrPipelineResponseData';
635
+ export type { DrcomponentsDrTest } from './schemas/DrcomponentsDrTest';
636
+ export type { DrcomponentsDrTestPipelineInfo } from './schemas/DrcomponentsDrTestPipelineInfo';
637
+ export type { DrcomponentsDrTestRunInfo } from './schemas/DrcomponentsDrTestRunInfo';
638
+ export type { DrcomponentsDrTestSpec } from './schemas/DrcomponentsDrTestSpec';
614
639
  export type { DrcomponentsGetDrComponentVariableData } from './schemas/DrcomponentsGetDrComponentVariableData';
615
640
  export type { DrcomponentsGetDrComponentVariableResponse } from './schemas/DrcomponentsGetDrComponentVariableResponse';
641
+ export type { DrcomponentsListDrTestsResponse } from './schemas/DrcomponentsListDrTestsResponse';
616
642
  export type { ExecutionActionData } from './schemas/ExecutionActionData';
617
643
  export type { ExecutionChaosData } from './schemas/ExecutionChaosData';
618
644
  export type { ExecutionChaosExecutionNode } from './schemas/ExecutionChaosExecutionNode';
@@ -915,6 +941,7 @@ export type { PipelineonboardingStatus } from './schemas/PipelineonboardingStatu
915
941
  export type { PipelinesBulkExperimentRunResponse } from './schemas/PipelinesBulkExperimentRunResponse';
916
942
  export type { PipelinesChaosPipelineInput } from './schemas/PipelinesChaosPipelineInput';
917
943
  export type { PipelinesCreatePipelineResponse } from './schemas/PipelinesCreatePipelineResponse';
944
+ export type { PipelinesExecutorInfo } from './schemas/PipelinesExecutorInfo';
918
945
  export type { PipelinesExperimentSpec } from './schemas/PipelinesExperimentSpec';
919
946
  export type { PipelinesVerifyChaosStageInPipelineRunResponse } from './schemas/PipelinesVerifyChaosStageInPipelineRunResponse';
920
947
  export type { ProbeApmProbe } from './schemas/ProbeApmProbe';
@@ -984,6 +1011,16 @@ export type { RecommendationsListRecommendationsResponse } from './schemas/Recom
984
1011
  export type { RecommendationsPipelineAddExperimentResponse } from './schemas/RecommendationsPipelineAddExperimentResponse';
985
1012
  export type { RecommendationsRunActionResponse } from './schemas/RecommendationsRunActionResponse';
986
1013
  export type { ResourceQuantity } from './schemas/ResourceQuantity';
1014
+ export type { RisksActiveExecutionResponse } from './schemas/RisksActiveExecutionResponse';
1015
+ export type { RisksActiveRiskCounter } from './schemas/RisksActiveRiskCounter';
1016
+ export type { RisksCreateRequest } from './schemas/RisksCreateRequest';
1017
+ export type { RisksDeleteResponse } from './schemas/RisksDeleteResponse';
1018
+ export type { RisksInfrastructure } from './schemas/RisksInfrastructure';
1019
+ export type { RisksListExecutionResponse } from './schemas/RisksListExecutionResponse';
1020
+ export type { RisksListRiskResponse } from './schemas/RisksListRiskResponse';
1021
+ export type { RisksRisk } from './schemas/RisksRisk';
1022
+ export type { RisksRiskResponse } from './schemas/RisksRiskResponse';
1023
+ export type { RisksUpdateRequest } from './schemas/RisksUpdateRequest';
987
1024
  export type { SecurityGovernanceAccessControl } from './schemas/SecurityGovernanceAccessControl';
988
1025
  export type { SecurityGovernanceApplicationSpec } from './schemas/SecurityGovernanceApplicationSpec';
989
1026
  export type { SecurityGovernanceChaosServiceAccountSpec } from './schemas/SecurityGovernanceChaosServiceAccountSpec';
@@ -1078,6 +1115,8 @@ export type { TypesStakeHolderRole } from './schemas/TypesStakeHolderRole';
1078
1115
  export type { TypesStatus } from './schemas/TypesStatus';
1079
1116
  export type { TypesStopChaosV2ExperimentResponse } from './schemas/TypesStopChaosV2ExperimentResponse';
1080
1117
  export type { TypesSummary } from './schemas/TypesSummary';
1118
+ export type { TypesTemplateResourceDetails } from './schemas/TypesTemplateResourceDetails';
1119
+ export type { TypesTemplateResources } from './schemas/TypesTemplateResources';
1081
1120
  export type { TypesUpdateCronExperimentAction } from './schemas/TypesUpdateCronExperimentAction';
1082
1121
  export type { TypesUpdateCronExperimentStateRequest } from './schemas/TypesUpdateCronExperimentStateRequest';
1083
1122
  export type { TypesUpdateCronExperimentStateResponse } from './schemas/TypesUpdateCronExperimentStateResponse';
@@ -1,3 +1,4 @@
1
+ export { abortDrComponent, useAbortDrComponentMutation } from './hooks/useAbortDrComponentMutation';
1
2
  export { addNote, useAddNoteMutation } from './hooks/useAddNoteMutation';
2
3
  export { bulkExperimentDelete, useBulkExperimentDeleteMutation, } from './hooks/useBulkExperimentDeleteMutation';
3
4
  export { bulkExperimentTagAdd, useBulkExperimentTagAddMutation, } from './hooks/useBulkExperimentTagAddMutation';
@@ -12,6 +13,7 @@ export { createChaosExperimentPipeline, useCreateChaosExperimentPipelineMutation
12
13
  export { createChaosHub, useCreateChaosHubMutation } from './hooks/useCreateChaosHubMutation';
13
14
  export { createCondition, useCreateConditionMutation } from './hooks/useCreateConditionMutation';
14
15
  export { createDrComponentNodes, useCreateDrComponentNodesMutation, } from './hooks/useCreateDrComponentNodesMutation';
16
+ export { createDrPipeline, useCreateDrPipelineMutation } from './hooks/useCreateDrPipelineMutation';
15
17
  export { createExperimentFromTemplate, useCreateExperimentFromTemplateMutation, } from './hooks/useCreateExperimentFromTemplateMutation';
16
18
  export { createExperimentTemplate, useCreateExperimentTemplateMutation, } from './hooks/useCreateExperimentTemplateMutation';
17
19
  export { createFault, useCreateFaultMutation } from './hooks/useCreateFaultMutation';
@@ -22,6 +24,7 @@ export { createInputSet, useCreateInputSetMutation } from './hooks/useCreateInpu
22
24
  export { createProbe, useCreateProbeMutation } from './hooks/useCreateProbeMutation';
23
25
  export { createProbeTemplate, useCreateProbeTemplateMutation, } from './hooks/useCreateProbeTemplateMutation';
24
26
  export { createRecommendation, useCreateRecommendationMutation, } from './hooks/useCreateRecommendationMutation';
27
+ export { createRisk, useCreateRiskMutation } from './hooks/useCreateRiskMutation';
25
28
  export { createRule, useCreateRuleMutation } from './hooks/useCreateRuleMutation';
26
29
  export { createV2Onboarding, useCreateV2OnboardingMutation, } from './hooks/useCreateV2OnboardingMutation';
27
30
  export { deleteAction, useDeleteActionMutation } from './hooks/useDeleteActionMutation';
@@ -41,6 +44,7 @@ export { deletePipelineOnboarding, useDeletePipelineOnboardingMutation, } from '
41
44
  export { deleteProbe, useDeleteProbeMutation } from './hooks/useDeleteProbeMutation';
42
45
  export { deleteProbeTemplate, useDeleteProbeTemplateMutation, } from './hooks/useDeleteProbeTemplateMutation';
43
46
  export { deleteRecommendation, useDeleteRecommendationMutation, } from './hooks/useDeleteRecommendationMutation';
47
+ export { deleteRisk, useDeleteRiskMutation } from './hooks/useDeleteRiskMutation';
44
48
  export { deleteRule, useDeleteRuleMutation } from './hooks/useDeleteRuleMutation';
45
49
  export { deleteTargetNetworkMap, useDeleteTargetNetworkMapMutation, } from './hooks/useDeleteTargetNetworkMapMutation';
46
50
  export { enableProbe, useEnableProbeMutation } from './hooks/useEnableProbeMutation';
@@ -106,6 +110,7 @@ export { getProbeTemplate, useGetProbeTemplateQuery } from './hooks/useGetProbeT
106
110
  export { getProbesInExperiment, useGetProbesInExperimentQuery, } from './hooks/useGetProbesInExperimentQuery';
107
111
  export { getRecommendation, useGetRecommendationQuery } from './hooks/useGetRecommendationQuery';
108
112
  export { getResourceUsage, useGetResourceUsageQuery } from './hooks/useGetResourceUsageQuery';
113
+ export { getRisk, useGetRiskQuery } from './hooks/useGetRiskQuery';
109
114
  export { getRule, useGetRuleQuery } from './hooks/useGetRuleQuery';
110
115
  export { getServiceResponse, useGetServiceResponseQuery } from './hooks/useGetServiceResponseQuery';
111
116
  export { getServiceUsageReport, useGetServiceUsageReportQuery, } from './hooks/useGetServiceUsageReportQuery';
@@ -126,6 +131,7 @@ export { listChaosHub, useListChaosHubQuery } from './hooks/useListChaosHubQuery
126
131
  export { listChaosV2Experiment, useListChaosV2ExperimentQuery, } from './hooks/useListChaosV2ExperimentQuery';
127
132
  export { listCondition, useListConditionQuery } from './hooks/useListConditionQuery';
128
133
  export { listDrComponentNodes, useListDrComponentNodesQuery, } from './hooks/useListDrComponentNodesQuery';
134
+ export { listDrTests, useListDrTestsQuery } from './hooks/useListDrTestsQuery';
129
135
  export { listExperimentMetadata, useListExperimentMetadataQuery, } from './hooks/useListExperimentMetadataQuery';
130
136
  export { listExperimentOrTemplate, useListExperimentOrTemplateQuery, } from './hooks/useListExperimentOrTemplateQuery';
131
137
  export { listExperimentRunsOfFault, useListExperimentRunsOfFaultQuery, } from './hooks/useListExperimentRunsOfFaultQuery';
@@ -148,10 +154,12 @@ export { listK8sInfrasV2, useListK8sInfrasV2Mutation } from './hooks/useListK8sI
148
154
  export { listLegacyKubernetesChaosInfra, useListLegacyKubernetesChaosInfraMutation, } from './hooks/useListLegacyKubernetesChaosInfraMutation';
149
155
  export { listMachineChaosInfra, useListMachineChaosInfraQuery, } from './hooks/useListMachineChaosInfraQuery';
150
156
  export { listPipelineOnboarding, useListPipelineOnboardingQuery, } from './hooks/useListPipelineOnboardingQuery';
157
+ export { listProbeExecutions, useListProbeExecutionsQuery, } from './hooks/useListProbeExecutionsQuery';
151
158
  export { listProbeMetadata, useListProbeMetadataQuery } from './hooks/useListProbeMetadataQuery';
152
159
  export { listProbeTemplate, useListProbeTemplateQuery } from './hooks/useListProbeTemplateQuery';
153
160
  export { listProbes, useListProbesQuery } from './hooks/useListProbesQuery';
154
161
  export { listRecommendations, useListRecommendationsQuery, } from './hooks/useListRecommendationsQuery';
162
+ export { listRisks, useListRisksQuery } from './hooks/useListRisksQuery';
155
163
  export { listRule, useListRuleQuery } from './hooks/useListRuleQuery';
156
164
  export { listService, useListServiceQuery } from './hooks/useListServiceQuery';
157
165
  export { listTargetNetworkMaps, useListTargetNetworkMapsQuery, } from './hooks/useListTargetNetworkMapsQuery';
@@ -185,7 +193,6 @@ export { updateChaosHub, useUpdateChaosHubMutation } from './hooks/useUpdateChao
185
193
  export { updateChaosV2CronExperiment, useUpdateChaosV2CronExperimentMutation, } from './hooks/useUpdateChaosV2CronExperimentMutation';
186
194
  export { updateCondition, useUpdateConditionMutation } from './hooks/useUpdateConditionMutation';
187
195
  export { updateDrComponentNode, useUpdateDrComponentNodeMutation, } from './hooks/useUpdateDrComponentNodeMutation';
188
- export { updateDrComponentPhase, useUpdateDrComponentPhaseMutation, } from './hooks/useUpdateDrComponentPhaseMutation';
189
196
  export { updateEmissary, useUpdateEmissaryMutation } from './hooks/useUpdateEmissaryMutation';
190
197
  export { updateExperimentTemplate, useUpdateExperimentTemplateMutation, } from './hooks/useUpdateExperimentTemplateMutation';
191
198
  export { updateFault, useUpdateFaultMutation } from './hooks/useUpdateFaultMutation';
@@ -202,6 +209,7 @@ export { updateNote, useUpdateNoteMutation } from './hooks/useUpdateNoteMutation
202
209
  export { updateProbe, useUpdateProbeMutation } from './hooks/useUpdateProbeMutation';
203
210
  export { updateProbeTemplate, useUpdateProbeTemplateMutation, } from './hooks/useUpdateProbeTemplateMutation';
204
211
  export { updateRecommendationStatus, useUpdateRecommendationStatusMutation, } from './hooks/useUpdateRecommendationStatusMutation';
212
+ export { updateRisk, useUpdateRiskMutation } from './hooks/useUpdateRiskMutation';
205
213
  export { updateRule, useUpdateRuleMutation } from './hooks/useUpdateRuleMutation';
206
214
  export { upgradeLegacyKubernetesChaosInfra, useUpgradeLegacyKubernetesChaosInfraMutation, } from './hooks/useUpgradeLegacyKubernetesChaosInfraMutation';
207
215
  export { useVerifyChaosStageInPipelineRunQuery, verifyChaosStageInPipelineRun, } from './hooks/useVerifyChaosStageInPipelineRunQuery';
@@ -8,5 +8,6 @@ export interface ChaosExecutionNodesProbeData {
8
8
  probeDetails?: GithubComHarnessHceSaasHceSdkCommonProbeV1Probe;
9
9
  probeType?: string;
10
10
  resiliencyScore?: number;
11
+ risks?: string[];
11
12
  weightage?: number;
12
13
  }
@@ -14,8 +14,10 @@ export interface ChaosExperimentRunChaosExperimentRun {
14
14
  errorResponse?: string;
15
15
  executionData?: string;
16
16
  experimentID?: string;
17
+ experimentIdentifier?: string;
17
18
  experimentName?: string;
18
19
  experimentRunID?: string;
20
+ experimentTags?: string[];
19
21
  experimentType?: ChaosExperimentRunExperimentType;
20
22
  experimentYaml?: string;
21
23
  faultIDs?: string[];
@@ -9,6 +9,7 @@ export interface ChaosfaultCreateFaultResponse {
9
9
  category?: string[];
10
10
  correlationID?: string;
11
11
  description?: string;
12
+ id?: string;
12
13
  identity: string;
13
14
  importType?: CommonImportType;
14
15
  infraType?: string;
@@ -1 +1 @@
1
- export type DrComponentStatus = 'Completed' | 'Error' | 'Interrupted' | 'Pending' | 'Running' | 'Skipped' | 'Stopped';
1
+ export type DrComponentStatus = 'Completed' | 'Error' | 'Failed' | 'Interrupted' | 'Passed' | 'Pending' | 'Running' | 'Skipped' | 'Stopped';
@@ -0,0 +1,4 @@
1
+ export interface DrcomponentsAbortDrComponentRequest {
2
+ infraReference?: string;
3
+ notifyId?: string;
4
+ }
@@ -0,0 +1,4 @@
1
+ /* eslint-disable */
2
+ // This code is autogenerated using @harnessio/oats-cli.
3
+ // Please do not modify this code directly.
4
+ export {};
@@ -0,0 +1,5 @@
1
+ import type { DrcomponentsAbortDrComponentResponseData } from '../schemas/DrcomponentsAbortDrComponentResponseData';
2
+ export interface DrcomponentsAbortDrComponentResponse {
3
+ data?: DrcomponentsAbortDrComponentResponseData;
4
+ status?: string;
5
+ }
@@ -0,0 +1,4 @@
1
+ export interface DrcomponentsAbortDrComponentResponseData {
2
+ error?: string;
3
+ status?: string;
4
+ }
@@ -0,0 +1,4 @@
1
+ /* eslint-disable */
2
+ // This code is autogenerated using @harnessio/oats-cli.
3
+ // Please do not modify this code directly.
4
+ export {};
@@ -0,0 +1,9 @@
1
+ export interface DrcomponentsCreateDrPipelineRequest {
2
+ description?: string;
3
+ identifier?: string;
4
+ name?: string;
5
+ objective?: string;
6
+ tags?: {
7
+ [key: string]: string;
8
+ };
9
+ }
@@ -0,0 +1,4 @@
1
+ /* eslint-disable */
2
+ // This code is autogenerated using @harnessio/oats-cli.
3
+ // Please do not modify this code directly.
4
+ export {};
@@ -0,0 +1,5 @@
1
+ import type { DrcomponentsCreateDrPipelineResponseData } from '../schemas/DrcomponentsCreateDrPipelineResponseData';
2
+ export interface DrcomponentsCreateDrPipelineResponse {
3
+ data?: DrcomponentsCreateDrPipelineResponseData;
4
+ status?: string;
5
+ }
@@ -0,0 +1,4 @@
1
+ export interface DrcomponentsCreateDrPipelineResponseData {
2
+ pipelineIdentifier?: string;
3
+ stageIdentifier?: string;
4
+ }
@@ -0,0 +1,4 @@
1
+ /* eslint-disable */
2
+ // This code is autogenerated using @harnessio/oats-cli.
3
+ // Please do not modify this code directly.
4
+ export {};
@@ -0,0 +1,11 @@
1
+ import type { DrcomponentsDrTestSpec } from '../schemas/DrcomponentsDrTestSpec';
2
+ export interface DrcomponentsDrTest {
3
+ description?: string;
4
+ identity?: string;
5
+ name?: string;
6
+ objective?: string;
7
+ spec?: DrcomponentsDrTestSpec;
8
+ tags?: {
9
+ [key: string]: string;
10
+ };
11
+ }
@@ -0,0 +1,7 @@
1
+ import type { DrcomponentsDrTestRunInfo } from '../schemas/DrcomponentsDrTestRunInfo';
2
+ export interface DrcomponentsDrTestPipelineInfo {
3
+ identity?: string;
4
+ lastModified?: number;
5
+ name?: string;
6
+ recentRuns?: DrcomponentsDrTestRunInfo[];
7
+ }
@@ -0,0 +1,8 @@
1
+ import type { PipelinesExecutorInfo } from '../schemas/PipelinesExecutorInfo';
2
+ export interface DrcomponentsDrTestRunInfo {
3
+ endTs?: number;
4
+ executionId?: string;
5
+ executorInfo?: PipelinesExecutorInfo;
6
+ startTs?: number;
7
+ status?: string;
8
+ }
@@ -0,0 +1,4 @@
1
+ import type { DrcomponentsDrTestPipelineInfo } from '../schemas/DrcomponentsDrTestPipelineInfo';
2
+ export interface DrcomponentsDrTestSpec {
3
+ pipeline?: DrcomponentsDrTestPipelineInfo;
4
+ }
@@ -0,0 +1,4 @@
1
+ import type { DrcomponentsDrTest } from '../schemas/DrcomponentsDrTest';
2
+ export interface DrcomponentsListDrTestsResponse {
3
+ drtests?: DrcomponentsDrTest[];
4
+ }
@@ -8,6 +8,10 @@ export interface GithubComHarnessHceSaasGraphqlServerGraphModelInfraFilterInput
8
8
  * ID of the infra
9
9
  */
10
10
  description?: string;
11
+ /**
12
+ * Environment IDs to filter infras by environment
13
+ */
14
+ environmentIDs?: string[];
11
15
  /**
12
16
  * ID of the infra
13
17
  */
@@ -0,0 +1,5 @@
1
+ export interface PipelinesExecutorInfo {
2
+ email?: string;
3
+ triggerType?: string;
4
+ username?: string;
5
+ }
@@ -0,0 +1,4 @@
1
+ /* eslint-disable */
2
+ // This code is autogenerated using @harnessio/oats-cli.
3
+ // Please do not modify this code directly.
4
+ export {};
@@ -0,0 +1,15 @@
1
+ import type { HcesdkUserDetails } from '../schemas/HcesdkUserDetails';
2
+ import type { ExecutionChaosStepStatus } from '../schemas/ExecutionChaosStepStatus';
3
+ export interface RisksActiveExecutionResponse {
4
+ duration?: string;
5
+ executedBy?: HcesdkUserDetails;
6
+ executionID?: number;
7
+ experimentID?: string;
8
+ experimentName?: string;
9
+ experimentRunID?: string;
10
+ lastUpdatedAt?: number;
11
+ probeID?: string;
12
+ probeName?: string;
13
+ startedAt?: number;
14
+ status?: ExecutionChaosStepStatus;
15
+ }
@@ -0,0 +1,4 @@
1
+ export interface RisksActiveRiskCounter {
2
+ failedProbes?: number;
3
+ passedProbes?: number;
4
+ }
@@ -0,0 +1,4 @@
1
+ /* eslint-disable */
2
+ // This code is autogenerated using @harnessio/oats-cli.
3
+ // Please do not modify this code directly.
4
+ export {};
@@ -0,0 +1,10 @@
1
+ import type { RisksInfrastructure } from '../schemas/RisksInfrastructure';
2
+ export interface RisksCreateRequest {
3
+ category?: string;
4
+ description?: string;
5
+ identity?: string;
6
+ isDefault?: boolean;
7
+ name?: string;
8
+ supportedInfra?: RisksInfrastructure[];
9
+ tags?: string[];
10
+ }
@@ -0,0 +1,4 @@
1
+ export interface RisksDeleteResponse {
2
+ correlationID?: string;
3
+ success?: boolean;
4
+ }
@@ -0,0 +1,4 @@
1
+ /* eslint-disable */
2
+ // This code is autogenerated using @harnessio/oats-cli.
3
+ // Please do not modify this code directly.
4
+ export {};
@@ -0,0 +1 @@
1
+ export type RisksInfrastructure = 'CloudFoundry' | 'Container' | 'Kubernetes' | 'KubernetesV2' | 'Linux' | 'Windows';
@@ -0,0 +1,4 @@
1
+ /* eslint-disable */
2
+ // This code is autogenerated using @harnessio/oats-cli.
3
+ // Please do not modify this code directly.
4
+ export {};
@@ -0,0 +1,7 @@
1
+ import type { RisksActiveExecutionResponse } from '../schemas/RisksActiveExecutionResponse';
2
+ import type { SharedPaginationResponse } from '../schemas/SharedPaginationResponse';
3
+ export interface RisksListExecutionResponse {
4
+ correlationID?: string;
5
+ data?: RisksActiveExecutionResponse[];
6
+ pagination?: SharedPaginationResponse;
7
+ }
@@ -0,0 +1,7 @@
1
+ import type { RisksRiskResponse } from '../schemas/RisksRiskResponse';
2
+ import type { SharedPaginationResponse } from '../schemas/SharedPaginationResponse';
3
+ export interface RisksListRiskResponse {
4
+ correlationID?: string;
5
+ data?: RisksRiskResponse[];
6
+ pagination?: SharedPaginationResponse;
7
+ }
@@ -0,0 +1,19 @@
1
+ import type { RisksActiveRiskCounter } from '../schemas/RisksActiveRiskCounter';
2
+ import type { RisksInfrastructure } from '../schemas/RisksInfrastructure';
3
+ export interface RisksRisk {
4
+ accountID: string;
5
+ activeRisk?: RisksActiveRiskCounter;
6
+ category?: string;
7
+ description?: string;
8
+ identity?: string;
9
+ isDefault?: boolean;
10
+ /**
11
+ * PassiveRiskCounter PassiveRiskCounter `bson:"passiveRisk" json:"passiveRisk"` //TODO: To be added later
12
+ */
13
+ lastDetectedAt?: number;
14
+ name: string;
15
+ orgID?: string;
16
+ projectID?: string;
17
+ supportedInfra?: RisksInfrastructure[];
18
+ tags?: string[];
19
+ }
@@ -0,0 +1,22 @@
1
+ import type { RisksActiveRiskCounter } from '../schemas/RisksActiveRiskCounter';
2
+ import type { HcesdkUserDetails } from '../schemas/HcesdkUserDetails';
3
+ import type { RisksInfrastructure } from '../schemas/RisksInfrastructure';
4
+ export interface RisksRiskResponse {
5
+ accountID: string;
6
+ activeRisk?: RisksActiveRiskCounter;
7
+ category?: string;
8
+ createdBy?: HcesdkUserDetails;
9
+ description?: string;
10
+ identity?: string;
11
+ isDefault?: boolean;
12
+ /**
13
+ * PassiveRiskCounter PassiveRiskCounter `bson:"passiveRisk" json:"passiveRisk"` //TODO: To be added later
14
+ */
15
+ lastDetectedAt?: number;
16
+ name: string;
17
+ orgID?: string;
18
+ projectID?: string;
19
+ supportedInfra?: RisksInfrastructure[];
20
+ tags?: string[];
21
+ updatedBy?: HcesdkUserDetails;
22
+ }
@@ -0,0 +1,9 @@
1
+ export interface RisksUpdateRequest {
2
+ category?: string;
3
+ description?: string;
4
+ identity?: string;
5
+ isDefault?: boolean;
6
+ name?: string;
7
+ supportedInfra?: string[];
8
+ tags?: string[];
9
+ }
@@ -0,0 +1,4 @@
1
+ /* eslint-disable */
2
+ // This code is autogenerated using @harnessio/oats-cli.
3
+ // Please do not modify this code directly.
4
+ export {};
@@ -3,6 +3,7 @@ import type { ModelWorkflowType } from '../schemas/ModelWorkflowType';
3
3
  import type { ExperimentInfraType } from '../schemas/ExperimentInfraType';
4
4
  import type { ChaosExperimentRecommendation } from '../schemas/ChaosExperimentRecommendation';
5
5
  import type { ChaosExperimentRunTemplateDetails } from '../schemas/ChaosExperimentRunTemplateDetails';
6
+ import type { TypesTemplateResources } from '../schemas/TypesTemplateResources';
6
7
  export interface TypesExperimentCreationRequest {
7
8
  cronSyntax?: string;
8
9
  description?: string;
@@ -18,5 +19,6 @@ export interface TypesExperimentCreationRequest {
18
19
  recommendation?: ChaosExperimentRecommendation;
19
20
  tags?: string[];
20
21
  templateDetails?: ChaosExperimentRunTemplateDetails;
22
+ templateResources?: TypesTemplateResources;
21
23
  validateManifest?: boolean;
22
24
  }
@@ -25,6 +25,7 @@ export interface TypesGetProbeResponse {
25
25
  probeReferenceCount?: number;
26
26
  probeTemplateRef?: string;
27
27
  recentProbeRuns?: TypesProbeRecentExecutions[];
28
+ risks?: string[];
28
29
  runProperties?: ProbeProbeTemplateRunProperties;
29
30
  tags?: string[];
30
31
  type?: TypesProbeType;