@harnessio/react-chaos-manager-client 1.91.7-beta.1 → 1.91.7

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 (61) hide show
  1. package/dist/chaos-manager/src/services/hooks/useCreateProbeTemplateMutation.d.ts +0 -9
  2. package/dist/chaos-manager/src/services/hooks/useGetProbeTemplateQuery.d.ts +1 -7
  3. package/dist/chaos-manager/src/services/hooks/useListChaosServicesQuery.d.ts +1 -0
  4. package/dist/chaos-manager/src/services/hooks/useListRiskRulesQuery.d.ts +1 -0
  5. package/dist/chaos-manager/src/services/hooks/useListRiskScanRisksQuery.d.ts +1 -1
  6. package/dist/chaos-manager/src/services/hooks/useListRiskScansQuery.d.ts +1 -0
  7. package/dist/chaos-manager/src/services/hooks/useListVariablesInProbeTemplateQuery.d.ts +0 -1
  8. package/dist/chaos-manager/src/services/hooks/useSummarizeScannedRisksByServiceMutation.d.ts +1 -1
  9. package/dist/chaos-manager/src/services/hooks/useSummarizeScannedRisksByServiceMutation.js +1 -1
  10. package/dist/chaos-manager/src/services/hooks/useUpdateProbeTemplateMutation.d.ts +0 -9
  11. package/dist/chaos-manager/src/services/index.d.ts +0 -24
  12. package/dist/chaos-manager/src/services/index.js +0 -7
  13. package/dist/chaos-manager/src/services/schemas/ChaosExecutionNodesExecutionOutput.d.ts +6 -0
  14. package/dist/chaos-manager/src/services/schemas/ChaosExperimentRunChaosExperimentRun.d.ts +0 -5
  15. package/dist/chaos-manager/src/services/schemas/Chaoshubv2ChaosHubResponse.d.ts +0 -9
  16. package/dist/chaos-manager/src/services/schemas/Chaoshubv2CreateHubRequest.d.ts +0 -5
  17. package/dist/chaos-manager/src/services/schemas/Chaoshubv2CreateHubRequest.js +3 -0
  18. package/dist/chaos-manager/src/services/schemas/Chaoshubv2GetHubResponse.d.ts +0 -9
  19. package/dist/chaos-manager/src/services/schemas/Chaoshubv2UpdateHubRequest.d.ts +0 -6
  20. package/dist/chaos-manager/src/services/schemas/Chaoshubv2UpdateHubRequest.js +3 -0
  21. package/dist/chaos-manager/src/services/schemas/ChaosprobetemplateProbeTemplate.d.ts +0 -15
  22. package/dist/chaos-manager/src/services/schemas/ExperimentrunsGetExperimentRunResponse.d.ts +0 -5
  23. package/dist/chaos-manager/src/services/schemas/GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbChaosprobetemplateChaosProbeTemplate.d.ts +0 -36
  24. package/dist/chaos-manager/src/services/schemas/RiskRiskRuleSpec.d.ts +7 -0
  25. package/dist/chaos-manager/src/services/schemas/ScannedrisksRiskStatus.d.ts +1 -1
  26. package/dist/chaos-manager/src/services/schemas/ScannedrisksServiceRiskSummaryQuery.d.ts +4 -0
  27. package/package.json +1 -1
  28. package/dist/chaos-manager/src/services/hooks/useImportProbeTemplateV3Mutation.d.ts +0 -34
  29. package/dist/chaos-manager/src/services/hooks/useImportProbeTemplateV3Mutation.js +0 -14
  30. package/dist/chaos-manager/src/services/hooks/useMoveProbeTemplateConfigV3Mutation.d.ts +0 -37
  31. package/dist/chaos-manager/src/services/hooks/useMoveProbeTemplateConfigV3Mutation.js +0 -14
  32. package/dist/chaos-manager/src/services/hooks/useRefreshProbeTemplateV3Mutation.d.ts +0 -32
  33. package/dist/chaos-manager/src/services/hooks/useRefreshProbeTemplateV3Mutation.js +0 -14
  34. package/dist/chaos-manager/src/services/hooks/useSaveProbeTemplateRevisionV3Mutation.d.ts +0 -39
  35. package/dist/chaos-manager/src/services/hooks/useSaveProbeTemplateRevisionV3Mutation.js +0 -14
  36. package/dist/chaos-manager/src/services/hooks/useSetDefaultProbeTemplateRevisionV3Mutation.d.ts +0 -31
  37. package/dist/chaos-manager/src/services/hooks/useSetDefaultProbeTemplateRevisionV3Mutation.js +0 -14
  38. package/dist/chaos-manager/src/services/hooks/useSetDefaultProbeTemplateVersionV3Mutation.d.ts +0 -31
  39. package/dist/chaos-manager/src/services/hooks/useSetDefaultProbeTemplateVersionV3Mutation.js +0 -14
  40. package/dist/chaos-manager/src/services/hooks/useUpdateProbeTemplateGitMetadataV3Mutation.d.ts +0 -36
  41. package/dist/chaos-manager/src/services/hooks/useUpdateProbeTemplateGitMetadataV3Mutation.js +0 -14
  42. package/dist/chaos-manager/src/services/schemas/ChaosHubGitDefaults.d.ts +0 -9
  43. package/dist/chaos-manager/src/services/schemas/ChaosHubGitDefaults.js +0 -4
  44. package/dist/chaos-manager/src/services/schemas/ChaosprobetemplateImportProbeTemplateRequest.d.ts +0 -19
  45. package/dist/chaos-manager/src/services/schemas/ChaosprobetemplateImportProbeTemplateRequest.js +0 -4
  46. package/dist/chaos-manager/src/services/schemas/EntityDetails.d.ts +0 -10
  47. package/dist/chaos-manager/src/services/schemas/EntityDetails.js +0 -4
  48. package/dist/chaos-manager/src/services/schemas/EntityStoreType.d.ts +0 -1
  49. package/dist/chaos-manager/src/services/schemas/EntityStoreType.js +0 -4
  50. package/dist/chaos-manager/src/services/schemas/EntityValidityDetails.d.ts +0 -4
  51. package/dist/chaos-manager/src/services/schemas/EntityValidityDetails.js +0 -4
  52. package/dist/chaos-manager/src/services/schemas/ResolveSource.d.ts +0 -1
  53. package/dist/chaos-manager/src/services/schemas/ResolveSource.js +0 -4
  54. package/dist/chaos-manager/src/services/schemas/ResolveUsed.d.ts +0 -10
  55. package/dist/chaos-manager/src/services/schemas/ResolveUsed.js +0 -1
  56. package/dist/chaos-manager/src/services/schemas/ScmCacheInfo.d.ts +0 -16
  57. package/dist/chaos-manager/src/services/schemas/ScmCacheInfo.js +0 -1
  58. package/dist/chaos-manager/src/services/schemas/ScmCacheState.d.ts +0 -1
  59. package/dist/chaos-manager/src/services/schemas/ScmCacheState.js +0 -4
  60. package/dist/chaos-manager/src/services/schemas/V3SaveRevisionRequest.d.ts +0 -39
  61. package/dist/chaos-manager/src/services/schemas/V3SaveRevisionRequest.js +0 -1
@@ -6,15 +6,6 @@ export interface CreateProbeTemplateMutationQueryParams {
6
6
  accountIdentifier: string;
7
7
  organizationIdentifier: string;
8
8
  projectIdentifier: string;
9
- storeType?: string;
10
- connectorRef?: string;
11
- repoName?: string;
12
- isHarnessCodeRepo?: boolean;
13
- branch?: string;
14
- filePath?: string;
15
- commitMsg?: string;
16
- isNewBranch?: boolean;
17
- baseBranch?: string;
18
9
  }
19
10
  export type CreateProbeTemplateRequestBody = ChaosprobetemplateProbeTemplate;
20
11
  export type CreateProbeTemplateOkResponse = ChaosprobetemplateProbeTemplate;
@@ -11,16 +11,10 @@ export interface GetProbeTemplateQueryQueryParams {
11
11
  projectIdentifier: string;
12
12
  hubIdentity: string;
13
13
  revision?: string;
14
- versionLabel?: string;
15
- branch?: string;
16
- loadFromFallbackBranch?: boolean;
17
- }
18
- export interface GetProbeTemplateQueryHeaderParams {
19
- 'Load-From-Cache'?: string;
20
14
  }
21
15
  export type GetProbeTemplateOkResponse = ChaosprobetemplateGetProbeTemplateResponse;
22
16
  export type GetProbeTemplateErrorResponse = ApiRestError;
23
- export interface GetProbeTemplateProps extends GetProbeTemplateQueryPathParams, Omit<FetcherOptions<GetProbeTemplateQueryQueryParams, unknown, GetProbeTemplateQueryHeaderParams>, 'url'> {
17
+ export interface GetProbeTemplateProps extends GetProbeTemplateQueryPathParams, Omit<FetcherOptions<GetProbeTemplateQueryQueryParams, unknown>, 'url'> {
24
18
  queryParams: GetProbeTemplateQueryQueryParams;
25
19
  }
26
20
  export interface GetProbeTemplateResponseContainer {
@@ -22,6 +22,7 @@ export interface ListChaosServicesQueryQueryParams {
22
22
  probeIds?: string;
23
23
  projectIdentifier?: string;
24
24
  search?: string;
25
+ serviceType?: 'AmazonApplicationLoadBalancer' | 'AmazonClassicLoadBalancer' | 'AmazonEC2Instance' | 'AmazonLambda' | 'AmazonNetworkLoadBalancer' | 'AmazonRelationalDatabaseService' | 'CodeRepository' | 'Kubernetes' | 'KubernetesNode' | 'KubernetesService' | 'KubernetesWorkload' | 'LinuxVM' | 'LinuxVMProcess' | 'Other' | 'WindowsVM' | 'WindowsVMProcess';
25
26
  sortAscending?: boolean;
26
27
  sortField?: 'createdAt' | 'experimentName' | 'lastExecuted' | 'lastUpdated' | 'name';
27
28
  tags?: string;
@@ -8,6 +8,7 @@ export interface ListRiskRulesQueryQueryParams {
8
8
  customOnly?: boolean;
9
9
  dataSource?: string;
10
10
  includeAllScope?: boolean;
11
+ includeInPassiveScan?: boolean;
11
12
  isSystem?: boolean;
12
13
  /**
13
14
  * @default 15
@@ -29,7 +29,7 @@ export interface ListRiskScanRisksQueryQueryParams {
29
29
  severity?: 'Critical' | 'High' | 'Low' | 'Medium';
30
30
  sortAscending?: boolean;
31
31
  sortField?: 'firstDetected' | 'lastDetected' | 'name' | 'occurrenceCount' | 'severity';
32
- status?: 'Ignored' | 'InProgress' | 'Open' | 'Resolved';
32
+ status?: 'Ignored' | 'InProgress' | 'Invalid' | 'Open' | 'Resolved';
33
33
  tags?: string;
34
34
  validationType?: 'Confirmed' | 'Passive';
35
35
  }
@@ -20,6 +20,7 @@ export interface ListRiskScansQueryQueryParams {
20
20
  parentUniqueId?: string;
21
21
  pipelineIdentity?: string;
22
22
  projectIdentifier?: string;
23
+ repoURL?: string;
23
24
  scanType?: string;
24
25
  search?: string;
25
26
  sortAscending?: boolean;
@@ -11,7 +11,6 @@ export interface ListVariablesInProbeTemplateQueryQueryParams {
11
11
  projectIdentifier: string;
12
12
  hubIdentity: string;
13
13
  revision: string;
14
- versionLabel?: string;
15
14
  }
16
15
  export type ListVariablesInProbeTemplateOkResponse = ChaosprobetemplateProbeTemplateVariables;
17
16
  export type ListVariablesInProbeTemplateErrorResponse = ApiRestError;
@@ -24,6 +24,6 @@ export interface SummarizeScannedRisksByServiceResponseContainer {
24
24
  export declare function summarizeScannedRisksByService(props: SummarizeScannedRisksByServiceProps): Promise<SummarizeScannedRisksByServiceResponseContainer>;
25
25
  export type SummarizeScannedRisksByServiceMutationProps<T extends keyof SummarizeScannedRisksByServiceProps> = Omit<SummarizeScannedRisksByServiceProps, T> & Partial<Pick<SummarizeScannedRisksByServiceProps, T>>;
26
26
  /**
27
- * Returns aggregated risk counts (total, critical, high, medium, low) per target service.
27
+ * Returns aggregated risk counts (total, critical, high, medium, low) per target service. The search field filters services by a case-insensitive substring of the service name.
28
28
  */
29
29
  export declare function useSummarizeScannedRisksByServiceMutation<T extends keyof SummarizeScannedRisksByServiceProps>(props: Pick<Partial<SummarizeScannedRisksByServiceProps>, T>, options?: Omit<UseMutationOptions<SummarizeScannedRisksByServiceResponseContainer, SummarizeScannedRisksByServiceErrorResponse, SummarizeScannedRisksByServiceMutationProps<T>>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<SummarizeScannedRisksByServiceResponseContainer, SharedError, SummarizeScannedRisksByServiceMutationProps<T>, unknown>;
@@ -7,7 +7,7 @@ export function summarizeScannedRisksByService(props) {
7
7
  return fetcher(Object.assign({ url: `/v3/scanned-risks/summary`, method: 'POST' }, props));
8
8
  }
9
9
  /**
10
- * Returns aggregated risk counts (total, critical, high, medium, low) per target service.
10
+ * Returns aggregated risk counts (total, critical, high, medium, low) per target service. The search field filters services by a case-insensitive substring of the service name.
11
11
  */
12
12
  export function useSummarizeScannedRisksByServiceMutation(props, options) {
13
13
  return useMutation((mutateProps) => summarizeScannedRisksByService(Object.assign(Object.assign({}, props), mutateProps)), options);
@@ -10,15 +10,6 @@ export interface UpdateProbeTemplateMutationQueryParams {
10
10
  organizationIdentifier: string;
11
11
  projectIdentifier: string;
12
12
  isDefault?: boolean;
13
- storeType?: string;
14
- connectorRef?: string;
15
- repoName?: string;
16
- isHarnessCodeRepo?: boolean;
17
- branch?: string;
18
- filePath?: string;
19
- commitMsg?: string;
20
- isNewBranch?: boolean;
21
- baseBranch?: string;
22
13
  }
23
14
  export type UpdateProbeTemplateRequestBody = ChaosprobetemplateProbeTemplate;
24
15
  export type UpdateProbeTemplateOkResponse = ChaosprobetemplateProbeTemplate;
@@ -312,8 +312,6 @@ export type { ImportActionErrorResponse, ImportActionMutationProps, ImportAction
312
312
  export { importAction, useImportActionMutation } from './hooks/useImportActionMutation';
313
313
  export type { ImportProbeErrorResponse, ImportProbeMutationProps, ImportProbeMutationQueryParams, ImportProbeOkResponse, ImportProbeProps, ImportProbeRequestBody, } from './hooks/useImportProbeMutation';
314
314
  export { importProbe, useImportProbeMutation } from './hooks/useImportProbeMutation';
315
- export type { ImportProbeTemplateV3ErrorResponse, ImportProbeTemplateV3MutationProps, ImportProbeTemplateV3MutationQueryParams, ImportProbeTemplateV3OkResponse, ImportProbeTemplateV3Props, ImportProbeTemplateV3RequestBody, } from './hooks/useImportProbeTemplateV3Mutation';
316
- export { importProbeTemplateV3, useImportProbeTemplateV3Mutation, } from './hooks/useImportProbeTemplateV3Mutation';
317
315
  export type { InternalAbortRiskScanErrorResponse, InternalAbortRiskScanMutationProps, InternalAbortRiskScanMutationQueryParams, InternalAbortRiskScanOkResponse, InternalAbortRiskScanProps, InternalAbortRiskScanRequestBody, } from './hooks/useInternalAbortRiskScanMutation';
318
316
  export { internalAbortRiskScan, useInternalAbortRiskScanMutation, } from './hooks/useInternalAbortRiskScanMutation';
319
317
  export type { ListActionMetadataErrorResponse, ListActionMetadataOkResponse, ListActionMetadataProps, ListActionMetadataQueryQueryParams, ListActionMetadataRequestBody, } from './hooks/useListActionMetadataQuery';
@@ -462,8 +460,6 @@ export type { ListVariablesInActionTemplateErrorResponse, ListVariablesInActionT
462
460
  export { listVariablesInActionTemplate, useListVariablesInActionTemplateQuery, } from './hooks/useListVariablesInActionTemplateQuery';
463
461
  export type { ListVariablesInProbeTemplateErrorResponse, ListVariablesInProbeTemplateOkResponse, ListVariablesInProbeTemplateProps, ListVariablesInProbeTemplateQueryPathParams, ListVariablesInProbeTemplateQueryQueryParams, } from './hooks/useListVariablesInProbeTemplateQuery';
464
462
  export { listVariablesInProbeTemplate, useListVariablesInProbeTemplateQuery, } from './hooks/useListVariablesInProbeTemplateQuery';
465
- export type { MoveProbeTemplateConfigV3ErrorResponse, MoveProbeTemplateConfigV3MutationPathParams, MoveProbeTemplateConfigV3MutationProps, MoveProbeTemplateConfigV3MutationQueryParams, MoveProbeTemplateConfigV3OkResponse, MoveProbeTemplateConfigV3Props, } from './hooks/useMoveProbeTemplateConfigV3Mutation';
466
- export { moveProbeTemplateConfigV3, useMoveProbeTemplateConfigV3Mutation, } from './hooks/useMoveProbeTemplateConfigV3Mutation';
467
463
  export type { OnboardServicesErrorResponse, OnboardServicesMutationPathParams, OnboardServicesMutationProps, OnboardServicesMutationQueryParams, OnboardServicesOkResponse, OnboardServicesProps, OnboardServicesRequestBody, } from './hooks/useOnboardServicesMutation';
468
464
  export { onboardServices, useOnboardServicesMutation } from './hooks/useOnboardServicesMutation';
469
465
  export type { OnboardingConfirmDiscoveryErrorResponse, OnboardingConfirmDiscoveryMutationPathParams, OnboardingConfirmDiscoveryMutationProps, OnboardingConfirmDiscoveryMutationQueryParams, OnboardingConfirmDiscoveryOkResponse, OnboardingConfirmDiscoveryProps, } from './hooks/useOnboardingConfirmDiscoveryMutation';
@@ -490,8 +486,6 @@ export type { ProcessTemplateErrorResponse, ProcessTemplateMutationProps, Proces
490
486
  export { processTemplate, useProcessTemplateMutation } from './hooks/useProcessTemplateMutation';
491
487
  export type { RecommendationEventErrorResponse, RecommendationEventMutationProps, RecommendationEventOkResponse, RecommendationEventProps, RecommendationEventRequestBody, } from './hooks/useRecommendationEventMutation';
492
488
  export { recommendationEvent, useRecommendationEventMutation, } from './hooks/useRecommendationEventMutation';
493
- export type { RefreshProbeTemplateV3ErrorResponse, RefreshProbeTemplateV3MutationPathParams, RefreshProbeTemplateV3MutationProps, RefreshProbeTemplateV3MutationQueryParams, RefreshProbeTemplateV3OkResponse, RefreshProbeTemplateV3Props, } from './hooks/useRefreshProbeTemplateV3Mutation';
494
- export { refreshProbeTemplateV3, useRefreshProbeTemplateV3Mutation, } from './hooks/useRefreshProbeTemplateV3Mutation';
495
489
  export type { RegisterInfraV2ErrorResponse, RegisterInfraV2MutationProps, RegisterInfraV2MutationQueryParams, RegisterInfraV2OkResponse, RegisterInfraV2Props, RegisterInfraV2RequestBody, } from './hooks/useRegisterInfraV2Mutation';
496
490
  export { registerInfraV2, useRegisterInfraV2Mutation } from './hooks/useRegisterInfraV2Mutation';
497
491
  export type { RegisterLegacyKubernetesInfraErrorResponse, RegisterLegacyKubernetesInfraMutationProps, RegisterLegacyKubernetesInfraMutationQueryParams, RegisterLegacyKubernetesInfraOkResponse, RegisterLegacyKubernetesInfraProps, RegisterLegacyKubernetesInfraRequestBody, } from './hooks/useRegisterLegacyKubernetesInfraMutation';
@@ -520,12 +514,6 @@ export type { RunRecommendationErrorResponse, RunRecommendationMutationProps, Ru
520
514
  export { runRecommendation, useRunRecommendationMutation, } from './hooks/useRunRecommendationMutation';
521
515
  export type { SaveChaosV2ExperimentErrorResponse, SaveChaosV2ExperimentMutationProps, SaveChaosV2ExperimentMutationQueryParams, SaveChaosV2ExperimentOkResponse, SaveChaosV2ExperimentProps, SaveChaosV2ExperimentRequestBody, } from './hooks/useSaveChaosV2ExperimentMutation';
522
516
  export { saveChaosV2Experiment, useSaveChaosV2ExperimentMutation, } from './hooks/useSaveChaosV2ExperimentMutation';
523
- export type { SaveProbeTemplateRevisionV3ErrorResponse, SaveProbeTemplateRevisionV3MutationPathParams, SaveProbeTemplateRevisionV3MutationProps, SaveProbeTemplateRevisionV3MutationQueryParams, SaveProbeTemplateRevisionV3OkResponse, SaveProbeTemplateRevisionV3Props, SaveProbeTemplateRevisionV3RequestBody, } from './hooks/useSaveProbeTemplateRevisionV3Mutation';
524
- export { saveProbeTemplateRevisionV3, useSaveProbeTemplateRevisionV3Mutation, } from './hooks/useSaveProbeTemplateRevisionV3Mutation';
525
- export type { SetDefaultProbeTemplateRevisionV3ErrorResponse, SetDefaultProbeTemplateRevisionV3MutationPathParams, SetDefaultProbeTemplateRevisionV3MutationProps, SetDefaultProbeTemplateRevisionV3MutationQueryParams, SetDefaultProbeTemplateRevisionV3OkResponse, SetDefaultProbeTemplateRevisionV3Props, } from './hooks/useSetDefaultProbeTemplateRevisionV3Mutation';
526
- export { setDefaultProbeTemplateRevisionV3, useSetDefaultProbeTemplateRevisionV3Mutation, } from './hooks/useSetDefaultProbeTemplateRevisionV3Mutation';
527
- export type { SetDefaultProbeTemplateVersionV3ErrorResponse, SetDefaultProbeTemplateVersionV3MutationPathParams, SetDefaultProbeTemplateVersionV3MutationProps, SetDefaultProbeTemplateVersionV3MutationQueryParams, SetDefaultProbeTemplateVersionV3OkResponse, SetDefaultProbeTemplateVersionV3Props, } from './hooks/useSetDefaultProbeTemplateVersionV3Mutation';
528
- export { setDefaultProbeTemplateVersionV3, useSetDefaultProbeTemplateVersionV3Mutation, } from './hooks/useSetDefaultProbeTemplateVersionV3Mutation';
529
517
  export type { SkipOnboardingErrorResponse, SkipOnboardingMutationPathParams, SkipOnboardingMutationProps, SkipOnboardingMutationQueryParams, SkipOnboardingOkResponse, SkipOnboardingProps, } from './hooks/useSkipOnboardingMutation';
530
518
  export { skipOnboarding, useSkipOnboardingMutation } from './hooks/useSkipOnboardingMutation';
531
519
  export type { StopAllChaosExperimentsV3ErrorResponse, StopAllChaosExperimentsV3MutationProps, StopAllChaosExperimentsV3MutationQueryParams, StopAllChaosExperimentsV3OkResponse, StopAllChaosExperimentsV3Props, } from './hooks/useStopAllChaosExperimentsV3Mutation';
@@ -594,8 +582,6 @@ export type { UpdateNoteErrorResponse, UpdateNoteMutationProps, UpdateNoteMutati
594
582
  export { updateNote, useUpdateNoteMutation } from './hooks/useUpdateNoteMutation';
595
583
  export type { UpdateProbeErrorResponse, UpdateProbeMutationPathParams, UpdateProbeMutationProps, UpdateProbeMutationQueryParams, UpdateProbeOkResponse, UpdateProbeProps, UpdateProbeRequestBody, } from './hooks/useUpdateProbeMutation';
596
584
  export { updateProbe, useUpdateProbeMutation } from './hooks/useUpdateProbeMutation';
597
- export type { UpdateProbeTemplateGitMetadataV3ErrorResponse, UpdateProbeTemplateGitMetadataV3MutationPathParams, UpdateProbeTemplateGitMetadataV3MutationProps, UpdateProbeTemplateGitMetadataV3MutationQueryParams, UpdateProbeTemplateGitMetadataV3OkResponse, UpdateProbeTemplateGitMetadataV3Props, } from './hooks/useUpdateProbeTemplateGitMetadataV3Mutation';
598
- export { updateProbeTemplateGitMetadataV3, useUpdateProbeTemplateGitMetadataV3Mutation, } from './hooks/useUpdateProbeTemplateGitMetadataV3Mutation';
599
585
  export type { UpdateProbeTemplateErrorResponse, UpdateProbeTemplateMutationPathParams, UpdateProbeTemplateMutationProps, UpdateProbeTemplateMutationQueryParams, UpdateProbeTemplateOkResponse, UpdateProbeTemplateProps, UpdateProbeTemplateRequestBody, } from './hooks/useUpdateProbeTemplateMutation';
600
586
  export { updateProbeTemplate, useUpdateProbeTemplateMutation, } from './hooks/useUpdateProbeTemplateMutation';
601
587
  export type { UpdateRecommendationStatusErrorResponse, UpdateRecommendationStatusMutationProps, UpdateRecommendationStatusMutationQueryParams, UpdateRecommendationStatusOkResponse, UpdateRecommendationStatusProps, } from './hooks/useUpdateRecommendationStatusMutation';
@@ -684,7 +670,6 @@ export type { ChaosExperimentWeightagesInput } from './schemas/ChaosExperimentWe
684
670
  export type { ChaosExperimentWorkflowRevision } from './schemas/ChaosExperimentWorkflowRevision';
685
671
  export type { ChaosHubAuthType } from './schemas/ChaosHubAuthType';
686
672
  export type { ChaosHubConnectorScope } from './schemas/ChaosHubConnectorScope';
687
- export type { ChaosHubGitDefaults } from './schemas/ChaosHubGitDefaults';
688
673
  export type { ChaosInfrastructureV2ChaosInfraV2 } from './schemas/ChaosInfrastructureV2ChaosInfraV2';
689
674
  export type { ChaosInfrastructureV2ChaosInfraV2Spec } from './schemas/ChaosInfrastructureV2ChaosInfraV2Spec';
690
675
  export type { ChaosInfrastructureV2HelperDaemonSetConfig } from './schemas/ChaosInfrastructureV2HelperDaemonSetConfig';
@@ -800,7 +785,6 @@ export type { Chaoshubv2GetHubResponse } from './schemas/Chaoshubv2GetHubRespons
800
785
  export type { Chaoshubv2ListHubResponse } from './schemas/Chaoshubv2ListHubResponse';
801
786
  export type { Chaoshubv2UpdateHubRequest } from './schemas/Chaoshubv2UpdateHubRequest';
802
787
  export type { ChaosprobetemplateGetProbeTemplateResponse } from './schemas/ChaosprobetemplateGetProbeTemplateResponse';
803
- export type { ChaosprobetemplateImportProbeTemplateRequest } from './schemas/ChaosprobetemplateImportProbeTemplateRequest';
804
788
  export type { ChaosprobetemplateListProbeTemplateResponse } from './schemas/ChaosprobetemplateListProbeTemplateResponse';
805
789
  export type { ChaosprobetemplateListReferencedByResponse } from './schemas/ChaosprobetemplateListReferencedByResponse';
806
790
  export type { ChaosprobetemplateProbeTemplate } from './schemas/ChaosprobetemplateProbeTemplate';
@@ -892,9 +876,6 @@ export type { DatabaseResourceRequirements } from './schemas/DatabaseResourceReq
892
876
  export type { DatabaseResourceWatchConfig } from './schemas/DatabaseResourceWatchConfig';
893
877
  export type { DatabaseServiceCollection } from './schemas/DatabaseServiceCollection';
894
878
  export type { DatabaseServiceIdentity } from './schemas/DatabaseServiceIdentity';
895
- export type { EntityDetails } from './schemas/EntityDetails';
896
- export type { EntityStoreType } from './schemas/EntityStoreType';
897
- export type { EntityValidityDetails } from './schemas/EntityValidityDetails';
898
879
  export type { ExecutionActionData } from './schemas/ExecutionActionData';
899
880
  export type { ExecutionChaosData } from './schemas/ExecutionChaosData';
900
881
  export type { ExecutionChaosExecutionNode } from './schemas/ExecutionChaosExecutionNode';
@@ -1346,8 +1327,6 @@ export type { RecommendationsListRecommendationsRequest } from './schemas/Recomm
1346
1327
  export type { RecommendationsListRecommendationsResponse } from './schemas/RecommendationsListRecommendationsResponse';
1347
1328
  export type { RecommendationsPipelineAddExperimentResponse } from './schemas/RecommendationsPipelineAddExperimentResponse';
1348
1329
  export type { RecommendationsRunActionResponse } from './schemas/RecommendationsRunActionResponse';
1349
- export type { ResolveSource } from './schemas/ResolveSource';
1350
- export type { ResolveUsed } from './schemas/ResolveUsed';
1351
1330
  export type { ResourceQuantity } from './schemas/ResourceQuantity';
1352
1331
  export type { RiskCategory } from './schemas/RiskCategory';
1353
1332
  export type { RiskCdService } from './schemas/RiskCdService';
@@ -1446,8 +1425,6 @@ export type { ScannedrisksServiceRiskSummary } from './schemas/ScannedrisksServi
1446
1425
  export type { ScannedrisksServiceRiskSummaryQuery } from './schemas/ScannedrisksServiceRiskSummaryQuery';
1447
1426
  export type { ScannedrisksServiceRiskSummaryResponse } from './schemas/ScannedrisksServiceRiskSummaryResponse';
1448
1427
  export type { ScannedrisksValidationType } from './schemas/ScannedrisksValidationType';
1449
- export type { ScmCacheInfo } from './schemas/ScmCacheInfo';
1450
- export type { ScmCacheState } from './schemas/ScmCacheState';
1451
1428
  export type { SecurityGovernanceAccessControl } from './schemas/SecurityGovernanceAccessControl';
1452
1429
  export type { SecurityGovernanceApplicationSpec } from './schemas/SecurityGovernanceApplicationSpec';
1453
1430
  export type { SecurityGovernanceChaosServiceAccountSpec } from './schemas/SecurityGovernanceChaosServiceAccountSpec';
@@ -1764,7 +1741,6 @@ export type { V3ListExperimentData } from './schemas/V3ListExperimentData';
1764
1741
  export type { V3ListExperimentOrTemplateResponse } from './schemas/V3ListExperimentOrTemplateResponse';
1765
1742
  export type { V3ProcessTemplateRequest } from './schemas/V3ProcessTemplateRequest';
1766
1743
  export type { V3ProcessTemplateResponse } from './schemas/V3ProcessTemplateResponse';
1767
- export type { V3SaveRevisionRequest } from './schemas/V3SaveRevisionRequest';
1768
1744
  export type { V3TriggerRiskScanRequest } from './schemas/V3TriggerRiskScanRequest';
1769
1745
  export type { V3TriggerRiskScanResponse } from './schemas/V3TriggerRiskScanResponse';
1770
1746
  export type { V3TriggerRiskScanResponseData } from './schemas/V3TriggerRiskScanResponseData';
@@ -155,7 +155,6 @@ export { getV2Onboarding, useGetV2OnboardingQuery } from './hooks/useGetV2Onboar
155
155
  export { healthCheckV3, useHealthCheckV3Query } from './hooks/useHealthCheckV3Query';
156
156
  export { importAction, useImportActionMutation } from './hooks/useImportActionMutation';
157
157
  export { importProbe, useImportProbeMutation } from './hooks/useImportProbeMutation';
158
- export { importProbeTemplateV3, useImportProbeTemplateV3Mutation, } from './hooks/useImportProbeTemplateV3Mutation';
159
158
  export { internalAbortRiskScan, useInternalAbortRiskScanMutation, } from './hooks/useInternalAbortRiskScanMutation';
160
159
  export { listActionMetadata, useListActionMetadataQuery } from './hooks/useListActionMetadataQuery';
161
160
  export { listActionReferencedBy, useListActionReferencedByQuery, } from './hooks/useListActionReferencedByQuery';
@@ -230,7 +229,6 @@ export { listTargetNetworkMaps, useListTargetNetworkMapsQuery, } from './hooks/u
230
229
  export { listV2Onboarding, useListV2OnboardingQuery } from './hooks/useListV2OnboardingQuery';
231
230
  export { listVariablesInActionTemplate, useListVariablesInActionTemplateQuery, } from './hooks/useListVariablesInActionTemplateQuery';
232
231
  export { listVariablesInProbeTemplate, useListVariablesInProbeTemplateQuery, } from './hooks/useListVariablesInProbeTemplateQuery';
233
- export { moveProbeTemplateConfigV3, useMoveProbeTemplateConfigV3Mutation, } from './hooks/useMoveProbeTemplateConfigV3Mutation';
234
232
  export { onboardServices, useOnboardServicesMutation } from './hooks/useOnboardServicesMutation';
235
233
  export { onboardingConfirmDiscovery, useOnboardingConfirmDiscoveryMutation, } from './hooks/useOnboardingConfirmDiscoveryMutation';
236
234
  export { onboardingConfirmExperimentCreation, useOnboardingConfirmExperimentCreationMutation, } from './hooks/useOnboardingConfirmExperimentCreationMutation';
@@ -244,7 +242,6 @@ export { pipelineOnboardChaos, usePipelineOnboardChaosMutation, } from './hooks/
244
242
  export { pipelineOnboardChaosStatus, usePipelineOnboardChaosStatusQuery, } from './hooks/usePipelineOnboardChaosStatusQuery';
245
243
  export { processTemplate, useProcessTemplateMutation } from './hooks/useProcessTemplateMutation';
246
244
  export { recommendationEvent, useRecommendationEventMutation, } from './hooks/useRecommendationEventMutation';
247
- export { refreshProbeTemplateV3, useRefreshProbeTemplateV3Mutation, } from './hooks/useRefreshProbeTemplateV3Mutation';
248
245
  export { registerInfraV2, useRegisterInfraV2Mutation } from './hooks/useRegisterInfraV2Mutation';
249
246
  export { registerLegacyKubernetesInfra, useRegisterLegacyKubernetesInfraMutation, } from './hooks/useRegisterLegacyKubernetesInfraMutation';
250
247
  export { registerMachineInfra, useRegisterMachineInfraMutation, } from './hooks/useRegisterMachineInfraMutation';
@@ -259,9 +256,6 @@ export { runChaosV2Experiment, useRunChaosV2ExperimentMutation, } from './hooks/
259
256
  export { runChaosV2InternalApi, useRunChaosV2InternalApiMutation, } from './hooks/useRunChaosV2InternalApiMutation';
260
257
  export { runRecommendation, useRunRecommendationMutation, } from './hooks/useRunRecommendationMutation';
261
258
  export { saveChaosV2Experiment, useSaveChaosV2ExperimentMutation, } from './hooks/useSaveChaosV2ExperimentMutation';
262
- export { saveProbeTemplateRevisionV3, useSaveProbeTemplateRevisionV3Mutation, } from './hooks/useSaveProbeTemplateRevisionV3Mutation';
263
- export { setDefaultProbeTemplateRevisionV3, useSetDefaultProbeTemplateRevisionV3Mutation, } from './hooks/useSetDefaultProbeTemplateRevisionV3Mutation';
264
- export { setDefaultProbeTemplateVersionV3, useSetDefaultProbeTemplateVersionV3Mutation, } from './hooks/useSetDefaultProbeTemplateVersionV3Mutation';
265
259
  export { skipOnboarding, useSkipOnboardingMutation } from './hooks/useSkipOnboardingMutation';
266
260
  export { stopAllChaosExperimentsV3, useStopAllChaosExperimentsV3Mutation, } from './hooks/useStopAllChaosExperimentsV3Mutation';
267
261
  export { stopChaosExperimentV3, useStopChaosExperimentV3Mutation, } from './hooks/useStopChaosExperimentV3Mutation';
@@ -296,7 +290,6 @@ export { updateLegacyKubernetesChaosInfra, useUpdateLegacyKubernetesChaosInfraMu
296
290
  export { updateMachineInfra, useUpdateMachineInfraMutation, } from './hooks/useUpdateMachineInfraMutation';
297
291
  export { updateNote, useUpdateNoteMutation } from './hooks/useUpdateNoteMutation';
298
292
  export { updateProbe, useUpdateProbeMutation } from './hooks/useUpdateProbeMutation';
299
- export { updateProbeTemplateGitMetadataV3, useUpdateProbeTemplateGitMetadataV3Mutation, } from './hooks/useUpdateProbeTemplateGitMetadataV3Mutation';
300
293
  export { updateProbeTemplate, useUpdateProbeTemplateMutation, } from './hooks/useUpdateProbeTemplateMutation';
301
294
  export { updateRecommendationStatus, useUpdateRecommendationStatusMutation, } from './hooks/useUpdateRecommendationStatusMutation';
302
295
  export { updateRisk, useUpdateRiskMutation } from './hooks/useUpdateRiskMutation';
@@ -1,6 +1,12 @@
1
1
  import type { ExecutionChaosStepType } from '../schemas/ExecutionChaosStepType';
2
2
  import type { ExecutionChaosStepStatus } from '../schemas/ExecutionChaosStepStatus';
3
3
  export interface ChaosExecutionNodesExecutionOutput {
4
+ finishedAt?: number;
4
5
  resourceType?: ExecutionChaosStepType;
6
+ /**
7
+ * Spec is the step definition parsed into its SDK type: *probev1.Probe,
8
+ * *experiment.Fault or *action.Action based on ResourceType.
9
+ */
10
+ spec?: {};
5
11
  status?: ExecutionChaosStepStatus;
6
12
  }
@@ -3,7 +3,6 @@ import type { ChaosExperimentRunExperimentType } from '../schemas/ChaosExperimen
3
3
  import type { ChaosExperimentRunRunFailureDetails } from '../schemas/ChaosExperimentRunRunFailureDetails';
4
4
  import type { ChaosExperimentRunFaults } from '../schemas/ChaosExperimentRunFaults';
5
5
  import type { ChaosExperimentRunProbe } from '../schemas/ChaosExperimentRunProbe';
6
- import type { ResolveUsed } from '../schemas/ResolveUsed';
7
6
  import type { ChaosExperimentRunSecurityGovernanceNode } from '../schemas/ChaosExperimentRunSecurityGovernanceNode';
8
7
  import type { TargetserviceServiceMetadata } from '../schemas/TargetserviceServiceMetadata';
9
8
  import type { ChaosExperimentRunTemplateDetails } from '../schemas/ChaosExperimentRunTemplateDetails';
@@ -42,10 +41,6 @@ export interface ChaosExperimentRunChaosExperimentRun {
42
41
  probes?: ChaosExperimentRunProbe[];
43
42
  projectID?: string;
44
43
  resiliencyScore?: number;
45
- /**
46
- * ResolvedSources records the Git content a run executed (ADR §9.3).
47
- */
48
- resolvedSources?: ResolveUsed[];
49
44
  revisionID?: string;
50
45
  runSequence?: number;
51
46
  securityGovernance?: ChaosExperimentRunSecurityGovernanceNode;
@@ -1,6 +1,5 @@
1
1
  import type { ChaosHubAuthType } from '../schemas/ChaosHubAuthType';
2
2
  import type { ChaosHubConnectorScope } from '../schemas/ChaosHubConnectorScope';
3
- import type { ChaosHubGitDefaults } from '../schemas/ChaosHubGitDefaults';
4
3
  export interface Chaoshubv2ChaosHubResponse {
5
4
  accountID: string;
6
5
  actionTemplateCount?: number;
@@ -21,14 +20,6 @@ export interface Chaoshubv2ChaosHubResponse {
21
20
  description?: string;
22
21
  experimentTemplateCount?: number;
23
22
  faultTemplateCount?: number;
24
- /**
25
- * GitDefaults are the Git Experience defaults for templates created in
26
- * this hub (ADR_GIT_EXPERIENCE_RESILIENCE_TESTING.md §4.2). Deliberately a
27
- * NEW field: the legacy connector_id/connector_scope/repo_name/repo_branch
28
- * fields above are read by the 12-hourly go-git clone job
29
- * (chaoshub.HandleSyncAllHubs) and must not be populated for Git Experience.
30
- */
31
- gitDefaults?: ChaosHubGitDefaults;
32
23
  hubId: string;
33
24
  identity: string;
34
25
  isDefault: boolean;
@@ -1,11 +1,6 @@
1
- import type { ChaosHubGitDefaults } from '../schemas/ChaosHubGitDefaults';
2
1
  export interface Chaoshubv2CreateHubRequest {
3
2
  connectorRef?: string;
4
3
  description?: string;
5
- /**
6
- * GitDefaults sets the hub's Git Experience defaults. Optional.
7
- */
8
- gitDefaults?: ChaosHubGitDefaults;
9
4
  identity: string;
10
5
  name: string;
11
6
  repoBranch?: string;
@@ -1 +1,4 @@
1
+ /* eslint-disable */
2
+ // This code is autogenerated using @harnessio/oats-cli.
3
+ // Please do not modify this code directly.
1
4
  export {};
@@ -1,6 +1,5 @@
1
1
  import type { ChaosHubAuthType } from '../schemas/ChaosHubAuthType';
2
2
  import type { ChaosHubConnectorScope } from '../schemas/ChaosHubConnectorScope';
3
- import type { ChaosHubGitDefaults } from '../schemas/ChaosHubGitDefaults';
4
3
  export interface Chaoshubv2GetHubResponse {
5
4
  accountID: string;
6
5
  actionTemplateCount?: number;
@@ -21,14 +20,6 @@ export interface Chaoshubv2GetHubResponse {
21
20
  description?: string;
22
21
  experimentTemplateCount?: number;
23
22
  faultTemplateCount?: number;
24
- /**
25
- * GitDefaults are the Git Experience defaults for templates created in
26
- * this hub (ADR_GIT_EXPERIENCE_RESILIENCE_TESTING.md §4.2). Deliberately a
27
- * NEW field: the legacy connector_id/connector_scope/repo_name/repo_branch
28
- * fields above are read by the 12-hourly go-git clone job
29
- * (chaoshub.HandleSyncAllHubs) and must not be populated for Git Experience.
30
- */
31
- gitDefaults?: ChaosHubGitDefaults;
32
23
  hubId: string;
33
24
  identity: string;
34
25
  isDefault: boolean;
@@ -1,11 +1,5 @@
1
- import type { ChaosHubGitDefaults } from '../schemas/ChaosHubGitDefaults';
2
1
  export interface Chaoshubv2UpdateHubRequest {
3
2
  description?: string;
4
- /**
5
- * GitDefaults, when present, replaces the hub's Git Experience defaults.
6
- * An empty object ({}) clears them; omitting the field leaves them as is.
7
- */
8
- gitDefaults?: ChaosHubGitDefaults;
9
3
  name: string;
10
4
  tags?: string[];
11
5
  }
@@ -1 +1,4 @@
1
+ /* eslint-disable */
2
+ // This code is autogenerated using @harnessio/oats-cli.
3
+ // Please do not modify this code directly.
1
4
  export {};
@@ -1,15 +1,12 @@
1
- import type { EntityDetails } from '../schemas/EntityDetails';
2
1
  import type { ProbeInfrastructureType } from '../schemas/ProbeInfrastructureType';
3
2
  import type { TemplateInput } from '../schemas/TemplateInput';
4
3
  import type { ProbeProbeTemplateProperties } from '../schemas/ProbeProbeTemplateProperties';
5
4
  import type { ProbeRuleDetails } from '../schemas/ProbeRuleDetails';
6
5
  import type { ProbeProbeTemplateRunProperties } from '../schemas/ProbeProbeTemplateRunProperties';
7
- import type { EntityStoreType } from '../schemas/EntityStoreType';
8
6
  import type { ProbeProbeType } from '../schemas/ProbeProbeType';
9
7
  import type { TemplateVariable } from '../schemas/TemplateVariable';
10
8
  export interface ChaosprobetemplateProbeTemplate {
11
9
  description?: string;
12
- gitDetails?: EntityDetails;
13
10
  hubRef?: string;
14
11
  identity?: string;
15
12
  infrastructureType?: ProbeInfrastructureType;
@@ -21,19 +18,7 @@ export interface ChaosprobetemplateProbeTemplate {
21
18
  revision?: number;
22
19
  ruleDetails?: ProbeRuleDetails;
23
20
  runProperties?: ProbeProbeTemplateRunProperties;
24
- /**
25
- * Response-only Git Experience fields; never part of the internal YAML
26
- * encoding or the Git file.
27
- */
28
- storeType?: EntityStoreType;
29
21
  tags?: string[];
30
22
  type?: ProbeProbeType;
31
23
  variables?: TemplateVariable[];
32
- /**
33
- * VersionLabel names the revision (platform versionLabel). Optional on
34
- * create and save-as-new-revision (defaults to the revision number),
35
- * immutable afterwards. Kept out of the stored `template` YAML so an
36
- * edited manifest cannot carry an old label into a new revision.
37
- */
38
- versionLabel?: string;
39
24
  }
@@ -3,7 +3,6 @@ import type { HcesdkUserDetails } from '../schemas/HcesdkUserDetails';
3
3
  import type { ChaosExperimentRunRunFailureDetails } from '../schemas/ChaosExperimentRunRunFailureDetails';
4
4
  import type { ChaosExperimentRunFaults } from '../schemas/ChaosExperimentRunFaults';
5
5
  import type { ChaosExperimentRunProbe } from '../schemas/ChaosExperimentRunProbe';
6
- import type { ResolveUsed } from '../schemas/ResolveUsed';
7
6
  import type { ChaosExperimentRunSecurityGovernanceNode } from '../schemas/ChaosExperimentRunSecurityGovernanceNode';
8
7
  import type { TargetserviceServiceMetadata } from '../schemas/TargetserviceServiceMetadata';
9
8
  import type { ChaosExperimentRunTemplateDetails } from '../schemas/ChaosExperimentRunTemplateDetails';
@@ -52,10 +51,6 @@ export interface ExperimentrunsGetExperimentRunResponse {
52
51
  probes?: ChaosExperimentRunProbe[];
53
52
  projectID?: string;
54
53
  resiliencyScore?: number;
55
- /**
56
- * ResolvedSources records the Git content a run executed (ADR §9.3).
57
- */
58
- resolvedSources?: ResolveUsed[];
59
54
  revisionID?: string;
60
55
  runSequence?: number;
61
56
  securityGovernance?: ChaosExperimentRunSecurityGovernanceNode;
@@ -1,40 +1,17 @@
1
- import type { ScmCacheInfo } from '../schemas/ScmCacheInfo';
2
1
  import type { GithubComHarnessHceSaasGraphqlServerGraphModelUserDetails } from '../schemas/GithubComHarnessHceSaasGraphqlServerGraphModelUserDetails';
3
- import type { EntityValidityDetails } from '../schemas/EntityValidityDetails';
4
- import type { EntityDetails } from '../schemas/EntityDetails';
5
2
  import type { ProbeInfrastructureType } from '../schemas/ProbeInfrastructureType';
6
3
  import type { TemplateInput } from '../schemas/TemplateInput';
7
4
  import type { ProbeProbeTemplateProperties } from '../schemas/ProbeProbeTemplateProperties';
8
5
  import type { ProbeRuleDetails } from '../schemas/ProbeRuleDetails';
9
6
  import type { ProbeProbeTemplateRunProperties } from '../schemas/ProbeProbeTemplateRunProperties';
10
- import type { EntityStoreType } from '../schemas/EntityStoreType';
11
7
  import type { ProbeProbeType } from '../schemas/ProbeProbeType';
12
8
  import type { TemplateVariable } from '../schemas/TemplateVariable';
13
9
  export interface GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbChaosprobetemplateChaosProbeTemplate {
14
10
  accountID: string;
15
- cacheResponse?: ScmCacheInfo;
16
- connectorRef?: string;
17
11
  createdAt?: number;
18
12
  createdBy?: string;
19
13
  createdByUserDetails?: GithubComHarnessHceSaasGraphqlServerGraphModelUserDetails;
20
14
  description?: string;
21
- /**
22
- * EntityValidityDetails is set on GET of a REMOTE revision whose file in
23
- * Git fails validation (platform EntityValidityDetails).
24
- */
25
- entityValidityDetails?: EntityValidityDetails;
26
- fallbackBranch?: string;
27
- filePath?: string;
28
- /**
29
- * GitDetails / CacheResponse are response-only (platform EntityGitDetails,
30
- * CacheResponseMetadataDTO).
31
- */
32
- gitDetails?: EntityDetails;
33
- /**
34
- * GitYAML is the canonical Git file of a REMOTE revision, for the UI's
35
- * YAML view (ADR §5.2). Template keeps its existing format.
36
- */
37
- gitYaml?: string;
38
15
  hubRef?: string;
39
16
  id?: string;
40
17
  /**
@@ -50,22 +27,18 @@ export interface GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbChaosprob
50
27
  */
51
28
  isDefault?: boolean;
52
29
  isEnterprise?: boolean;
53
- isHarnessCodeRepo?: boolean;
54
30
  isRemoved: boolean;
55
31
  name: string;
56
32
  orgID?: string;
57
33
  parentUniqueId?: string;
58
34
  probeProperties?: ProbeProbeTemplateProperties;
59
35
  projectID?: string;
60
- repoName?: string;
61
- repoUrl?: string;
62
36
  /**
63
37
  * it increments every time a new version of fault is published
64
38
  */
65
39
  revision?: number;
66
40
  ruleDetails?: ProbeRuleDetails;
67
41
  runProperties?: ProbeProbeTemplateRunProperties;
68
- storeType?: EntityStoreType;
69
42
  tags?: string[];
70
43
  template?: string;
71
44
  type?: ProbeProbeType;
@@ -74,13 +47,4 @@ export interface GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbChaosprob
74
47
  updatedBy?: string;
75
48
  updatedByUserDetails?: GithubComHarnessHceSaasGraphqlServerGraphModelUserDetails;
76
49
  variables?: TemplateVariable[];
77
- /**
78
- * VersionLabel is the user-facing name of this revision (platform
79
- * versionLabel): "v1.1.0", or the revision number when the author gave
80
- * none. Immutable. Revisions created before the field existed have none
81
- * stored; EffectiveVersionLabel derives it, so no backfill is needed.
82
- * Revision stays the internal key (indexes, internal_identity_with_revision,
83
- * existing references); a REMOTE revision's file is named after the label.
84
- */
85
- versionLabel?: string;
86
50
  }
@@ -6,6 +6,13 @@ export interface RiskRiskRuleSpec {
6
6
  * Faults lists the chaos faults that can prove a risk raised by this rule.
7
7
  */
8
8
  faults?: string[];
9
+ /**
10
+ * IncludeInPassiveScan opts a custom rule into passive scans. The internal
11
+ * risk-rule list and the code-repository scan both skip a custom rule when
12
+ * this is missing or false. System rules stay eligible for their data
13
+ * source and ignore this flag.
14
+ */
15
+ includeInPassiveScan?: boolean;
9
16
  isSystem?: boolean;
10
17
  prompt?: RiskRiskRulePrompt;
11
18
  }
@@ -1 +1 @@
1
- export type ScannedrisksRiskStatus = 'Ignored' | 'InProgress' | 'Open' | 'Resolved';
1
+ export type ScannedrisksRiskStatus = 'Ignored' | 'InProgress' | 'Invalid' | 'Open' | 'Resolved';
@@ -46,6 +46,10 @@ export interface ScannedrisksServiceRiskSummaryQuery {
46
46
  * project id to access the resource
47
47
  */
48
48
  projectIdentifier?: string;
49
+ /**
50
+ * Search is a case-insensitive substring match on the target service name.
51
+ */
52
+ search?: string;
49
53
  /**
50
54
  * Service type filter
51
55
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@harnessio/react-chaos-manager-client",
3
- "version": "1.91.7-beta.1",
3
+ "version": "1.91.7",
4
4
  "description": "Harness React Chaos Manager Service Client - APIs integrated with react hooks",
5
5
  "author": "Harness Inc",
6
6
  "license": "MIT",
@@ -1,34 +0,0 @@
1
- import { UseMutationOptions } from '@tanstack/react-query';
2
- import type { ChaosprobetemplateProbeTemplate } from '../schemas/ChaosprobetemplateProbeTemplate';
3
- import type { SharedError } from '../schemas/SharedError';
4
- import type { ChaosprobetemplateImportProbeTemplateRequest } from '../schemas/ChaosprobetemplateImportProbeTemplateRequest';
5
- import { FetcherOptions } from '../../../../custom-fetcher/index.js';
6
- export interface ImportProbeTemplateV3MutationQueryParams {
7
- accountIdentifier: string;
8
- correlationID?: string;
9
- organizationIdentifier?: string;
10
- parentUniqueId?: string;
11
- projectIdentifier?: string;
12
- connectorRef?: string;
13
- repoName?: string;
14
- isHarnessCodeRepo?: boolean;
15
- branch?: string;
16
- filePath: string;
17
- }
18
- export type ImportProbeTemplateV3RequestBody = ChaosprobetemplateImportProbeTemplateRequest;
19
- export type ImportProbeTemplateV3OkResponse = ChaosprobetemplateProbeTemplate;
20
- export type ImportProbeTemplateV3ErrorResponse = SharedError;
21
- export interface ImportProbeTemplateV3Props extends Omit<FetcherOptions<ImportProbeTemplateV3MutationQueryParams, ImportProbeTemplateV3RequestBody>, 'url'> {
22
- queryParams: ImportProbeTemplateV3MutationQueryParams;
23
- body: ImportProbeTemplateV3RequestBody;
24
- }
25
- export interface ImportProbeTemplateV3ResponseContainer {
26
- body: ImportProbeTemplateV3OkResponse;
27
- headers: Headers;
28
- }
29
- export declare function importProbeTemplateV3(props: ImportProbeTemplateV3Props): Promise<ImportProbeTemplateV3ResponseContainer>;
30
- export type ImportProbeTemplateV3MutationProps<T extends keyof ImportProbeTemplateV3Props> = Omit<ImportProbeTemplateV3Props, T> & Partial<Pick<ImportProbeTemplateV3Props, T>>;
31
- /**
32
- * Creates a probe template revision from an existing file in Git. Nothing is committed.
33
- */
34
- export declare function useImportProbeTemplateV3Mutation<T extends keyof ImportProbeTemplateV3Props>(props: Pick<Partial<ImportProbeTemplateV3Props>, T>, options?: Omit<UseMutationOptions<ImportProbeTemplateV3ResponseContainer, ImportProbeTemplateV3ErrorResponse, ImportProbeTemplateV3MutationProps<T>>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<ImportProbeTemplateV3ResponseContainer, SharedError, ImportProbeTemplateV3MutationProps<T>, unknown>;
@@ -1,14 +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 importProbeTemplateV3(props) {
7
- return fetcher(Object.assign({ url: `/v3/probe-templates/import`, method: 'POST' }, props));
8
- }
9
- /**
10
- * Creates a probe template revision from an existing file in Git. Nothing is committed.
11
- */
12
- export function useImportProbeTemplateV3Mutation(props, options) {
13
- return useMutation((mutateProps) => importProbeTemplateV3(Object.assign(Object.assign({}, props), mutateProps)), options);
14
- }
@@ -1,37 +0,0 @@
1
- import { UseMutationOptions } from '@tanstack/react-query';
2
- import type { ChaosprobetemplateGetProbeTemplateResponse } from '../schemas/ChaosprobetemplateGetProbeTemplateResponse';
3
- import type { SharedError } from '../schemas/SharedError';
4
- import { FetcherOptions } from '../../../../custom-fetcher/index.js';
5
- export interface MoveProbeTemplateConfigV3MutationPathParams {
6
- identity: string;
7
- revision: number;
8
- }
9
- export interface MoveProbeTemplateConfigV3MutationQueryParams {
10
- accountIdentifier: string;
11
- correlationID?: string;
12
- hubIdentity?: string;
13
- organizationIdentifier?: string;
14
- parentUniqueId?: string;
15
- projectIdentifier?: string;
16
- moveConfigType: string;
17
- connectorRef?: string;
18
- repoName?: string;
19
- branch?: string;
20
- filePath?: string;
21
- commitMsg?: string;
22
- }
23
- export type MoveProbeTemplateConfigV3OkResponse = ChaosprobetemplateGetProbeTemplateResponse;
24
- export type MoveProbeTemplateConfigV3ErrorResponse = SharedError;
25
- export interface MoveProbeTemplateConfigV3Props extends MoveProbeTemplateConfigV3MutationPathParams, Omit<FetcherOptions<MoveProbeTemplateConfigV3MutationQueryParams, unknown>, 'url'> {
26
- queryParams: MoveProbeTemplateConfigV3MutationQueryParams;
27
- }
28
- export interface MoveProbeTemplateConfigV3ResponseContainer {
29
- body: MoveProbeTemplateConfigV3OkResponse;
30
- headers: Headers;
31
- }
32
- export declare function moveProbeTemplateConfigV3(props: MoveProbeTemplateConfigV3Props): Promise<MoveProbeTemplateConfigV3ResponseContainer>;
33
- export type MoveProbeTemplateConfigV3MutationProps<T extends keyof MoveProbeTemplateConfigV3Props> = Omit<MoveProbeTemplateConfigV3Props, T> & Partial<Pick<MoveProbeTemplateConfigV3Props, T>>;
34
- /**
35
- * Moves a probe template revision between Harness and Git
36
- */
37
- export declare function useMoveProbeTemplateConfigV3Mutation<T extends keyof MoveProbeTemplateConfigV3Props>(props: Pick<Partial<MoveProbeTemplateConfigV3Props>, T>, options?: Omit<UseMutationOptions<MoveProbeTemplateConfigV3ResponseContainer, MoveProbeTemplateConfigV3ErrorResponse, MoveProbeTemplateConfigV3MutationProps<T>>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<MoveProbeTemplateConfigV3ResponseContainer, SharedError, MoveProbeTemplateConfigV3MutationProps<T>, unknown>;
@@ -1,14 +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 moveProbeTemplateConfigV3(props) {
7
- return fetcher(Object.assign({ url: `/v3/probe-templates/${props.identity}/revisions/${props.revision}/move-config`, method: 'POST' }, props));
8
- }
9
- /**
10
- * Moves a probe template revision between Harness and Git
11
- */
12
- export function useMoveProbeTemplateConfigV3Mutation(props, options) {
13
- return useMutation((mutateProps) => moveProbeTemplateConfigV3(Object.assign(Object.assign({}, props), mutateProps)), options);
14
- }
@@ -1,32 +0,0 @@
1
- import { UseMutationOptions } from '@tanstack/react-query';
2
- import type { ChaosprobetemplateGetProbeTemplateResponse } from '../schemas/ChaosprobetemplateGetProbeTemplateResponse';
3
- import type { SharedError } from '../schemas/SharedError';
4
- import { FetcherOptions } from '../../../../custom-fetcher/index.js';
5
- export interface RefreshProbeTemplateV3MutationPathParams {
6
- identity: string;
7
- revision: number;
8
- }
9
- export interface RefreshProbeTemplateV3MutationQueryParams {
10
- accountIdentifier: string;
11
- correlationID?: string;
12
- hubIdentity?: string;
13
- organizationIdentifier?: string;
14
- parentUniqueId?: string;
15
- projectIdentifier?: string;
16
- branch?: string;
17
- }
18
- export type RefreshProbeTemplateV3OkResponse = ChaosprobetemplateGetProbeTemplateResponse;
19
- export type RefreshProbeTemplateV3ErrorResponse = SharedError;
20
- export interface RefreshProbeTemplateV3Props extends RefreshProbeTemplateV3MutationPathParams, Omit<FetcherOptions<RefreshProbeTemplateV3MutationQueryParams, unknown>, 'url'> {
21
- queryParams: RefreshProbeTemplateV3MutationQueryParams;
22
- }
23
- export interface RefreshProbeTemplateV3ResponseContainer {
24
- body: RefreshProbeTemplateV3OkResponse;
25
- headers: Headers;
26
- }
27
- export declare function refreshProbeTemplateV3(props: RefreshProbeTemplateV3Props): Promise<RefreshProbeTemplateV3ResponseContainer>;
28
- export type RefreshProbeTemplateV3MutationProps<T extends keyof RefreshProbeTemplateV3Props> = Omit<RefreshProbeTemplateV3Props, T> & Partial<Pick<RefreshProbeTemplateV3Props, T>>;
29
- /**
30
- * Reloads a probe template revision from Git
31
- */
32
- export declare function useRefreshProbeTemplateV3Mutation<T extends keyof RefreshProbeTemplateV3Props>(props: Pick<Partial<RefreshProbeTemplateV3Props>, T>, options?: Omit<UseMutationOptions<RefreshProbeTemplateV3ResponseContainer, RefreshProbeTemplateV3ErrorResponse, RefreshProbeTemplateV3MutationProps<T>>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<RefreshProbeTemplateV3ResponseContainer, SharedError, RefreshProbeTemplateV3MutationProps<T>, unknown>;
@@ -1,14 +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 refreshProbeTemplateV3(props) {
7
- return fetcher(Object.assign({ url: `/v3/probe-templates/${props.identity}/revisions/${props.revision}/refresh`, method: 'POST' }, props));
8
- }
9
- /**
10
- * Reloads a probe template revision from Git
11
- */
12
- export function useRefreshProbeTemplateV3Mutation(props, options) {
13
- return useMutation((mutateProps) => refreshProbeTemplateV3(Object.assign(Object.assign({}, props), mutateProps)), options);
14
- }
@@ -1,39 +0,0 @@
1
- import { UseMutationOptions } from '@tanstack/react-query';
2
- import type { ChaosprobetemplateProbeTemplate } from '../schemas/ChaosprobetemplateProbeTemplate';
3
- import type { SharedError } from '../schemas/SharedError';
4
- import type { V3SaveRevisionRequest } from '../schemas/V3SaveRevisionRequest';
5
- import { FetcherOptions } from '../../../../custom-fetcher/index.js';
6
- export interface SaveProbeTemplateRevisionV3MutationPathParams {
7
- identity: string;
8
- revision: number;
9
- }
10
- export interface SaveProbeTemplateRevisionV3MutationQueryParams {
11
- accountIdentifier: string;
12
- correlationID?: string;
13
- organizationIdentifier?: string;
14
- parentUniqueId?: string;
15
- projectIdentifier?: string;
16
- branch?: string;
17
- commitMsg?: string;
18
- isNewBranch?: boolean;
19
- baseBranch?: string;
20
- lastObjectId?: string;
21
- lastCommitId?: string;
22
- }
23
- export type SaveProbeTemplateRevisionV3RequestBody = V3SaveRevisionRequest;
24
- export type SaveProbeTemplateRevisionV3OkResponse = ChaosprobetemplateProbeTemplate;
25
- export type SaveProbeTemplateRevisionV3ErrorResponse = SharedError;
26
- export interface SaveProbeTemplateRevisionV3Props extends SaveProbeTemplateRevisionV3MutationPathParams, Omit<FetcherOptions<SaveProbeTemplateRevisionV3MutationQueryParams, SaveProbeTemplateRevisionV3RequestBody>, 'url'> {
27
- queryParams: SaveProbeTemplateRevisionV3MutationQueryParams;
28
- body: SaveProbeTemplateRevisionV3RequestBody;
29
- }
30
- export interface SaveProbeTemplateRevisionV3ResponseContainer {
31
- body: SaveProbeTemplateRevisionV3OkResponse;
32
- headers: Headers;
33
- }
34
- export declare function saveProbeTemplateRevisionV3(props: SaveProbeTemplateRevisionV3Props): Promise<SaveProbeTemplateRevisionV3ResponseContainer>;
35
- export type SaveProbeTemplateRevisionV3MutationProps<T extends keyof SaveProbeTemplateRevisionV3Props> = Omit<SaveProbeTemplateRevisionV3Props, T> & Partial<Pick<SaveProbeTemplateRevisionV3Props, T>>;
36
- /**
37
- * For a revision stored in Git, lastObjectId and lastCommitId of the version being edited are required.
38
- */
39
- export declare function useSaveProbeTemplateRevisionV3Mutation<T extends keyof SaveProbeTemplateRevisionV3Props>(props: Pick<Partial<SaveProbeTemplateRevisionV3Props>, T>, options?: Omit<UseMutationOptions<SaveProbeTemplateRevisionV3ResponseContainer, SaveProbeTemplateRevisionV3ErrorResponse, SaveProbeTemplateRevisionV3MutationProps<T>>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<SaveProbeTemplateRevisionV3ResponseContainer, SharedError, SaveProbeTemplateRevisionV3MutationProps<T>, unknown>;
@@ -1,14 +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 saveProbeTemplateRevisionV3(props) {
7
- return fetcher(Object.assign({ url: `/v3/probe-templates/${props.identity}/revisions/${props.revision}`, method: 'PUT' }, props));
8
- }
9
- /**
10
- * For a revision stored in Git, lastObjectId and lastCommitId of the version being edited are required.
11
- */
12
- export function useSaveProbeTemplateRevisionV3Mutation(props, options) {
13
- return useMutation((mutateProps) => saveProbeTemplateRevisionV3(Object.assign(Object.assign({}, props), mutateProps)), options);
14
- }
@@ -1,31 +0,0 @@
1
- import { UseMutationOptions } from '@tanstack/react-query';
2
- import type { ChaosprobetemplateGetProbeTemplateResponse } from '../schemas/ChaosprobetemplateGetProbeTemplateResponse';
3
- import type { SharedError } from '../schemas/SharedError';
4
- import { FetcherOptions } from '../../../../custom-fetcher/index.js';
5
- export interface SetDefaultProbeTemplateRevisionV3MutationPathParams {
6
- identity: string;
7
- revision: number;
8
- }
9
- export interface SetDefaultProbeTemplateRevisionV3MutationQueryParams {
10
- accountIdentifier: string;
11
- correlationID?: string;
12
- hubIdentity?: string;
13
- organizationIdentifier?: string;
14
- parentUniqueId?: string;
15
- projectIdentifier?: string;
16
- }
17
- export type SetDefaultProbeTemplateRevisionV3OkResponse = ChaosprobetemplateGetProbeTemplateResponse;
18
- export type SetDefaultProbeTemplateRevisionV3ErrorResponse = SharedError;
19
- export interface SetDefaultProbeTemplateRevisionV3Props extends SetDefaultProbeTemplateRevisionV3MutationPathParams, Omit<FetcherOptions<SetDefaultProbeTemplateRevisionV3MutationQueryParams, unknown>, 'url'> {
20
- queryParams: SetDefaultProbeTemplateRevisionV3MutationQueryParams;
21
- }
22
- export interface SetDefaultProbeTemplateRevisionV3ResponseContainer {
23
- body: SetDefaultProbeTemplateRevisionV3OkResponse;
24
- headers: Headers;
25
- }
26
- export declare function setDefaultProbeTemplateRevisionV3(props: SetDefaultProbeTemplateRevisionV3Props): Promise<SetDefaultProbeTemplateRevisionV3ResponseContainer>;
27
- export type SetDefaultProbeTemplateRevisionV3MutationProps<T extends keyof SetDefaultProbeTemplateRevisionV3Props> = Omit<SetDefaultProbeTemplateRevisionV3Props, T> & Partial<Pick<SetDefaultProbeTemplateRevisionV3Props, T>>;
28
- /**
29
- * Marks a probe template revision as the default
30
- */
31
- export declare function useSetDefaultProbeTemplateRevisionV3Mutation<T extends keyof SetDefaultProbeTemplateRevisionV3Props>(props: Pick<Partial<SetDefaultProbeTemplateRevisionV3Props>, T>, options?: Omit<UseMutationOptions<SetDefaultProbeTemplateRevisionV3ResponseContainer, SetDefaultProbeTemplateRevisionV3ErrorResponse, SetDefaultProbeTemplateRevisionV3MutationProps<T>>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<SetDefaultProbeTemplateRevisionV3ResponseContainer, SharedError, SetDefaultProbeTemplateRevisionV3MutationProps<T>, unknown>;
@@ -1,14 +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 setDefaultProbeTemplateRevisionV3(props) {
7
- return fetcher(Object.assign({ url: `/v3/probe-templates/${props.identity}/revisions/${props.revision}/default`, method: 'PUT' }, props));
8
- }
9
- /**
10
- * Marks a probe template revision as the default
11
- */
12
- export function useSetDefaultProbeTemplateRevisionV3Mutation(props, options) {
13
- return useMutation((mutateProps) => setDefaultProbeTemplateRevisionV3(Object.assign(Object.assign({}, props), mutateProps)), options);
14
- }
@@ -1,31 +0,0 @@
1
- import { UseMutationOptions } from '@tanstack/react-query';
2
- import type { ChaosprobetemplateGetProbeTemplateResponse } from '../schemas/ChaosprobetemplateGetProbeTemplateResponse';
3
- import type { SharedError } from '../schemas/SharedError';
4
- import { FetcherOptions } from '../../../../custom-fetcher/index.js';
5
- export interface SetDefaultProbeTemplateVersionV3MutationPathParams {
6
- identity: string;
7
- versionLabel: string;
8
- }
9
- export interface SetDefaultProbeTemplateVersionV3MutationQueryParams {
10
- accountIdentifier: string;
11
- correlationID?: string;
12
- hubIdentity?: string;
13
- organizationIdentifier?: string;
14
- parentUniqueId?: string;
15
- projectIdentifier?: string;
16
- }
17
- export type SetDefaultProbeTemplateVersionV3OkResponse = ChaosprobetemplateGetProbeTemplateResponse;
18
- export type SetDefaultProbeTemplateVersionV3ErrorResponse = SharedError;
19
- export interface SetDefaultProbeTemplateVersionV3Props extends SetDefaultProbeTemplateVersionV3MutationPathParams, Omit<FetcherOptions<SetDefaultProbeTemplateVersionV3MutationQueryParams, unknown>, 'url'> {
20
- queryParams: SetDefaultProbeTemplateVersionV3MutationQueryParams;
21
- }
22
- export interface SetDefaultProbeTemplateVersionV3ResponseContainer {
23
- body: SetDefaultProbeTemplateVersionV3OkResponse;
24
- headers: Headers;
25
- }
26
- export declare function setDefaultProbeTemplateVersionV3(props: SetDefaultProbeTemplateVersionV3Props): Promise<SetDefaultProbeTemplateVersionV3ResponseContainer>;
27
- export type SetDefaultProbeTemplateVersionV3MutationProps<T extends keyof SetDefaultProbeTemplateVersionV3Props> = Omit<SetDefaultProbeTemplateVersionV3Props, T> & Partial<Pick<SetDefaultProbeTemplateVersionV3Props, T>>;
28
- /**
29
- * Marks a probe template version as the default
30
- */
31
- export declare function useSetDefaultProbeTemplateVersionV3Mutation<T extends keyof SetDefaultProbeTemplateVersionV3Props>(props: Pick<Partial<SetDefaultProbeTemplateVersionV3Props>, T>, options?: Omit<UseMutationOptions<SetDefaultProbeTemplateVersionV3ResponseContainer, SetDefaultProbeTemplateVersionV3ErrorResponse, SetDefaultProbeTemplateVersionV3MutationProps<T>>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<SetDefaultProbeTemplateVersionV3ResponseContainer, SharedError, SetDefaultProbeTemplateVersionV3MutationProps<T>, unknown>;
@@ -1,14 +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 setDefaultProbeTemplateVersionV3(props) {
7
- return fetcher(Object.assign({ url: `/v3/probe-templates/${props.identity}/versions/${props.versionLabel}/default`, method: 'PUT' }, props));
8
- }
9
- /**
10
- * Marks a probe template version as the default
11
- */
12
- export function useSetDefaultProbeTemplateVersionV3Mutation(props, options) {
13
- return useMutation((mutateProps) => setDefaultProbeTemplateVersionV3(Object.assign(Object.assign({}, props), mutateProps)), options);
14
- }
@@ -1,36 +0,0 @@
1
- import { UseMutationOptions } from '@tanstack/react-query';
2
- import type { ChaosprobetemplateGetProbeTemplateResponse } from '../schemas/ChaosprobetemplateGetProbeTemplateResponse';
3
- import type { SharedError } from '../schemas/SharedError';
4
- import { FetcherOptions } from '../../../../custom-fetcher/index.js';
5
- export interface UpdateProbeTemplateGitMetadataV3MutationPathParams {
6
- identity: string;
7
- revision: number;
8
- }
9
- export interface UpdateProbeTemplateGitMetadataV3MutationQueryParams {
10
- accountIdentifier: string;
11
- correlationID?: string;
12
- hubIdentity?: string;
13
- organizationIdentifier?: string;
14
- parentUniqueId?: string;
15
- projectIdentifier?: string;
16
- connectorRef?: string;
17
- repoName?: string;
18
- isHarnessCodeRepo?: boolean;
19
- filePath?: string;
20
- branch?: string;
21
- }
22
- export type UpdateProbeTemplateGitMetadataV3OkResponse = ChaosprobetemplateGetProbeTemplateResponse;
23
- export type UpdateProbeTemplateGitMetadataV3ErrorResponse = SharedError;
24
- export interface UpdateProbeTemplateGitMetadataV3Props extends UpdateProbeTemplateGitMetadataV3MutationPathParams, Omit<FetcherOptions<UpdateProbeTemplateGitMetadataV3MutationQueryParams, unknown>, 'url'> {
25
- queryParams: UpdateProbeTemplateGitMetadataV3MutationQueryParams;
26
- }
27
- export interface UpdateProbeTemplateGitMetadataV3ResponseContainer {
28
- body: UpdateProbeTemplateGitMetadataV3OkResponse;
29
- headers: Headers;
30
- }
31
- export declare function updateProbeTemplateGitMetadataV3(props: UpdateProbeTemplateGitMetadataV3Props): Promise<UpdateProbeTemplateGitMetadataV3ResponseContainer>;
32
- export type UpdateProbeTemplateGitMetadataV3MutationProps<T extends keyof UpdateProbeTemplateGitMetadataV3Props> = Omit<UpdateProbeTemplateGitMetadataV3Props, T> & Partial<Pick<UpdateProbeTemplateGitMetadataV3Props, T>>;
33
- /**
34
- * The file at the new location must already exist and describe this revision.
35
- */
36
- export declare function useUpdateProbeTemplateGitMetadataV3Mutation<T extends keyof UpdateProbeTemplateGitMetadataV3Props>(props: Pick<Partial<UpdateProbeTemplateGitMetadataV3Props>, T>, options?: Omit<UseMutationOptions<UpdateProbeTemplateGitMetadataV3ResponseContainer, UpdateProbeTemplateGitMetadataV3ErrorResponse, UpdateProbeTemplateGitMetadataV3MutationProps<T>>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<UpdateProbeTemplateGitMetadataV3ResponseContainer, SharedError, UpdateProbeTemplateGitMetadataV3MutationProps<T>, unknown>;
@@ -1,14 +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 updateProbeTemplateGitMetadataV3(props) {
7
- return fetcher(Object.assign({ url: `/v3/probe-templates/${props.identity}/revisions/${props.revision}/git-metadata`, method: 'PUT' }, props));
8
- }
9
- /**
10
- * The file at the new location must already exist and describe this revision.
11
- */
12
- export function useUpdateProbeTemplateGitMetadataV3Mutation(props, options) {
13
- return useMutation((mutateProps) => updateProbeTemplateGitMetadataV3(Object.assign(Object.assign({}, props), mutateProps)), options);
14
- }
@@ -1,9 +0,0 @@
1
- export interface ChaosHubGitDefaults {
2
- /**
3
- * ConnectorRef is a scoped connector reference; empty iff IsHarnessCodeRepo.
4
- */
5
- connectorRef?: string;
6
- defaultBranch?: string;
7
- isHarnessCodeRepo?: boolean;
8
- repoName?: string;
9
- }
@@ -1,4 +0,0 @@
1
- /* eslint-disable */
2
- // This code is autogenerated using @harnessio/oats-cli.
3
- // Please do not modify this code directly.
4
- export {};
@@ -1,19 +0,0 @@
1
- export interface ChaosprobetemplateImportProbeTemplateRequest {
2
- hubRef?: string;
3
- identity?: string;
4
- /**
5
- * IsDefault marks the imported revision as the default. A pointer so an
6
- * explicit false is distinguishable from an omitted field.
7
- */
8
- isDefault?: boolean;
9
- /**
10
- * Revision is the internal revision number to import as; 0 assigns one
11
- * (see importRevision).
12
- */
13
- revision?: number;
14
- /**
15
- * VersionLabel, when set, must equal the file's versionLabel (platform
16
- * import checks requested metadata against the file).
17
- */
18
- versionLabel?: string;
19
- }
@@ -1,4 +0,0 @@
1
- /* eslint-disable */
2
- // This code is autogenerated using @harnessio/oats-cli.
3
- // Please do not modify this code directly.
4
- export {};
@@ -1,10 +0,0 @@
1
- export interface EntityDetails {
2
- branch?: string;
3
- commitId?: string;
4
- filePath?: string;
5
- fileUrl?: string;
6
- isHarnessCodeRepo?: boolean;
7
- objectId?: string;
8
- repoName?: string;
9
- repoUrl?: string;
10
- }
@@ -1,4 +0,0 @@
1
- /* eslint-disable */
2
- // This code is autogenerated using @harnessio/oats-cli.
3
- // Please do not modify this code directly.
4
- export {};
@@ -1 +0,0 @@
1
- export type EntityStoreType = 'INLINE' | 'REMOTE';
@@ -1,4 +0,0 @@
1
- /* eslint-disable */
2
- // This code is autogenerated using @harnessio/oats-cli.
3
- // Please do not modify this code directly.
4
- export {};
@@ -1,4 +0,0 @@
1
- export interface EntityValidityDetails {
2
- invalidYaml?: string;
3
- valid?: boolean;
4
- }
@@ -1,4 +0,0 @@
1
- /* eslint-disable */
2
- // This code is autogenerated using @harnessio/oats-cli.
3
- // Please do not modify this code directly.
4
- export {};
@@ -1 +0,0 @@
1
- export type ResolveSource = 'cache' | 'last_synced' | 'live';
@@ -1,4 +0,0 @@
1
- /* eslint-disable */
2
- // This code is autogenerated using @harnessio/oats-cli.
3
- // Please do not modify this code directly.
4
- export {};
@@ -1,10 +0,0 @@
1
- import type { ResolveSource } from '../schemas/ResolveSource';
2
- export interface ResolveUsed {
3
- branch?: string;
4
- commitId?: string;
5
- identity?: string;
6
- kind?: string;
7
- path?: string;
8
- revision?: string;
9
- source?: ResolveSource;
10
- }
@@ -1,16 +0,0 @@
1
- import type { ScmCacheState } from '../schemas/ScmCacheState';
2
- export interface ScmCacheInfo {
3
- cacheState?: ScmCacheState;
4
- /**
5
- * IsSyncEnabled reports bi-directional sync for the file.
6
- */
7
- isSyncEnabled?: boolean;
8
- /**
9
- * LastUpdatedAt is epoch millis of the last provider fetch or write.
10
- */
11
- lastUpdatedAt?: number;
12
- /**
13
- * TTLLeft is millis until the entry expires.
14
- */
15
- ttlLeft?: number;
16
- }
@@ -1 +0,0 @@
1
- export type ScmCacheState = 'STALE_CACHE' | 'UNKNOWN' | 'VALID_CACHE';
@@ -1,4 +0,0 @@
1
- /* eslint-disable */
2
- // This code is autogenerated using @harnessio/oats-cli.
3
- // Please do not modify this code directly.
4
- export {};
@@ -1,39 +0,0 @@
1
- import type { EntityDetails } from '../schemas/EntityDetails';
2
- import type { ProbeInfrastructureType } from '../schemas/ProbeInfrastructureType';
3
- import type { TemplateInput } from '../schemas/TemplateInput';
4
- import type { ProbeProbeTemplateProperties } from '../schemas/ProbeProbeTemplateProperties';
5
- import type { ProbeRuleDetails } from '../schemas/ProbeRuleDetails';
6
- import type { ProbeProbeTemplateRunProperties } from '../schemas/ProbeProbeTemplateRunProperties';
7
- import type { EntityStoreType } from '../schemas/EntityStoreType';
8
- import type { ProbeProbeType } from '../schemas/ProbeProbeType';
9
- import type { TemplateVariable } from '../schemas/TemplateVariable';
10
- export interface V3SaveRevisionRequest {
11
- description?: string;
12
- gitDetails?: EntityDetails;
13
- hubRef?: string;
14
- identity?: string;
15
- infrastructureType?: ProbeInfrastructureType;
16
- inputs?: TemplateInput[];
17
- isDefault?: boolean;
18
- isRemoved?: boolean;
19
- name: string;
20
- probeProperties?: ProbeProbeTemplateProperties;
21
- revision?: number;
22
- ruleDetails?: ProbeRuleDetails;
23
- runProperties?: ProbeProbeTemplateRunProperties;
24
- /**
25
- * Response-only Git Experience fields; never part of the internal YAML
26
- * encoding or the Git file.
27
- */
28
- storeType?: EntityStoreType;
29
- tags?: string[];
30
- type?: ProbeProbeType;
31
- variables?: TemplateVariable[];
32
- /**
33
- * VersionLabel names the revision (platform versionLabel). Optional on
34
- * create and save-as-new-revision (defaults to the revision number),
35
- * immutable afterwards. Kept out of the stored `template` YAML so an
36
- * edited manifest cannot carry an old label into a new revision.
37
- */
38
- versionLabel?: string;
39
- }