@harnessio/react-chaos-manager-client 1.20.0 → 1.21.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 (119) hide show
  1. package/dist/chaos-manager/src/services/hooks/useCompareExperimentTemplateRevisionsQuery.d.ts +31 -0
  2. package/dist/chaos-manager/src/services/hooks/useCompareExperimentTemplateRevisionsQuery.js +14 -0
  3. package/dist/chaos-manager/src/services/hooks/useCreateExperimentFromTemplateMutation.d.ts +34 -0
  4. package/dist/chaos-manager/src/services/hooks/useCreateExperimentFromTemplateMutation.js +14 -0
  5. package/dist/chaos-manager/src/services/hooks/useCreateExperimentTemplateMutation.d.ts +30 -0
  6. package/dist/chaos-manager/src/services/hooks/useCreateExperimentTemplateMutation.js +14 -0
  7. package/dist/chaos-manager/src/services/hooks/useDeleteExperimentTemplateMutation.d.ts +30 -0
  8. package/dist/chaos-manager/src/services/hooks/useDeleteExperimentTemplateMutation.js +14 -0
  9. package/dist/chaos-manager/src/services/hooks/useGetExperimentTemplateQuery.d.ts +30 -0
  10. package/dist/chaos-manager/src/services/hooks/useGetExperimentTemplateQuery.js +14 -0
  11. package/dist/chaos-manager/src/services/hooks/useGetExperimentTemplateRevisionsQuery.d.ts +43 -0
  12. package/dist/chaos-manager/src/services/hooks/useGetExperimentTemplateRevisionsQuery.js +14 -0
  13. package/dist/chaos-manager/src/services/hooks/useGetExperimentTemplateVariablesQuery.d.ts +30 -0
  14. package/dist/chaos-manager/src/services/hooks/useGetExperimentTemplateVariablesQuery.js +14 -0
  15. package/dist/chaos-manager/src/services/hooks/useGetExperimentTemplateYamlQuery.d.ts +30 -0
  16. package/dist/chaos-manager/src/services/hooks/useGetExperimentTemplateYamlQuery.js +14 -0
  17. package/dist/chaos-manager/src/services/hooks/useListExperimentTemplateQuery.d.ts +40 -0
  18. package/dist/chaos-manager/src/services/hooks/useListExperimentTemplateQuery.js +14 -0
  19. package/dist/chaos-manager/src/services/hooks/useListTargetNetworkMapsQuery.d.ts +4 -0
  20. package/dist/chaos-manager/src/services/hooks/useUpdateExperimentTemplateMutation.d.ts +33 -0
  21. package/dist/chaos-manager/src/services/hooks/useUpdateExperimentTemplateMutation.js +14 -0
  22. package/dist/chaos-manager/src/services/hooks/useVerifyProbeMutation.d.ts +29 -0
  23. package/dist/chaos-manager/src/services/hooks/useVerifyProbeMutation.js +14 -0
  24. package/dist/chaos-manager/src/services/index.d.ts +53 -3
  25. package/dist/chaos-manager/src/services/index.js +11 -0
  26. package/dist/chaos-manager/src/services/schemas/ActionsIdentifiers.d.ts +5 -0
  27. package/dist/chaos-manager/src/services/schemas/ActionsImportActionTemplateRequest.d.ts +3 -3
  28. package/dist/chaos-manager/src/services/schemas/ChaosactiontemplateChaosActionTemplate.d.ts +4 -0
  29. package/dist/chaos-manager/src/services/schemas/ChaosexperimenttemplateChaosExperimentTemplate.d.ts +28 -0
  30. package/dist/chaos-manager/src/services/schemas/ChaosexperimenttemplateCompareRevisions.d.ts +5 -0
  31. package/dist/chaos-manager/src/services/schemas/ChaosexperimenttemplateCreateExperimentFromTemplateRequest.d.ts +6 -0
  32. package/dist/chaos-manager/src/services/schemas/ChaosexperimenttemplateCreateExperimentFromTemplateRequest.js +4 -0
  33. package/dist/chaos-manager/src/services/schemas/ChaosexperimenttemplateCreateExperimentTemplateRequest.d.ts +3 -0
  34. package/dist/chaos-manager/src/services/schemas/ChaosexperimenttemplateCreateExperimentTemplateRequest.js +4 -0
  35. package/dist/chaos-manager/src/services/schemas/ChaosexperimenttemplateCreateExperimentTemplateResponse.d.ts +14 -0
  36. package/dist/chaos-manager/src/services/schemas/ChaosexperimenttemplateCreateExperimentTemplateResponse.js +1 -0
  37. package/dist/chaos-manager/src/services/schemas/ChaosexperimenttemplateExperimentTemplateVariables.d.ts +7 -0
  38. package/dist/chaos-manager/src/services/schemas/ChaosexperimenttemplateExperimentTemplateVariables.js +1 -0
  39. package/dist/chaos-manager/src/services/schemas/ChaosexperimenttemplateExperimentTemplateYaml.d.ts +4 -0
  40. package/dist/chaos-manager/src/services/schemas/ChaosexperimenttemplateExperimentTemplateYaml.js +4 -0
  41. package/dist/chaos-manager/src/services/schemas/ChaosexperimenttemplateGetExperimentTemplateResponse.d.ts +14 -0
  42. package/dist/chaos-manager/src/services/schemas/ChaosexperimenttemplateGetExperimentTemplateResponse.js +1 -0
  43. package/dist/chaos-manager/src/services/schemas/ChaosexperimenttemplateListExperimentTemplateResponse.d.ts +7 -0
  44. package/dist/chaos-manager/src/services/schemas/ChaosexperimenttemplateListExperimentTemplateResponse.js +1 -0
  45. package/dist/chaos-manager/src/services/schemas/ChaosexperimenttemplateUpdateExperimentTemplateRequest.d.ts +3 -0
  46. package/dist/chaos-manager/src/services/schemas/ChaosexperimenttemplateUpdateExperimentTemplateRequest.js +4 -0
  47. package/dist/chaos-manager/src/services/schemas/ChaosexperimenttemplateUpdateExperimentTemplateResponse.d.ts +14 -0
  48. package/dist/chaos-manager/src/services/schemas/ChaosexperimenttemplateUpdateExperimentTemplateResponse.js +1 -0
  49. package/dist/chaos-manager/src/services/schemas/ChaosexperimenttemplateVariable.d.ts +5 -0
  50. package/dist/chaos-manager/src/services/schemas/ChaosexperimenttemplateVariable.js +1 -0
  51. package/dist/chaos-manager/src/services/schemas/ChaosfaultChaosFault.d.ts +1 -1
  52. package/dist/chaos-manager/src/services/schemas/ChaosfaultCreateFaultRequest.d.ts +4 -2
  53. package/dist/chaos-manager/src/services/schemas/ChaosfaultCreateFaultResponse.d.ts +4 -2
  54. package/dist/chaos-manager/src/services/schemas/ChaosfaultGetFaultResponse.d.ts +4 -2
  55. package/dist/chaos-manager/src/services/schemas/ChaosfaultUpdateFaultRequest.d.ts +4 -2
  56. package/dist/chaos-manager/src/services/schemas/ChaosfaultUpdateFaultResponse.d.ts +4 -2
  57. package/dist/chaos-manager/src/services/schemas/ChaosfaulttemplateActionTemplate.d.ts +2 -0
  58. package/dist/chaos-manager/src/services/schemas/ChaosfaulttemplateChaosFaultTemplate.d.ts +4 -0
  59. package/dist/chaos-manager/src/services/schemas/ChaosfaulttemplateCreateFaultTemplateRequest.d.ts +4 -2
  60. package/dist/chaos-manager/src/services/schemas/ChaosfaulttemplateCreateFaultTemplateResponse.d.ts +4 -2
  61. package/dist/chaos-manager/src/services/schemas/ChaosfaulttemplateUpdateFaultTemplateResponse.d.ts +4 -2
  62. package/dist/chaos-manager/src/services/schemas/ChaosprobetemplateProbeTemplate.d.ts +2 -0
  63. package/dist/chaos-manager/src/services/schemas/ExperimentCleanupPolicy.d.ts +1 -0
  64. package/dist/chaos-manager/src/services/schemas/ExperimentCleanupPolicy.js +4 -0
  65. package/dist/chaos-manager/src/services/schemas/ExperimentProbeRef.d.ts +4 -0
  66. package/dist/chaos-manager/src/services/schemas/ExperimenttemplateAction.d.ts +10 -0
  67. package/dist/chaos-manager/src/services/schemas/ExperimenttemplateAction.js +1 -0
  68. package/dist/chaos-manager/src/services/schemas/ExperimenttemplateFault.d.ts +9 -0
  69. package/dist/chaos-manager/src/services/schemas/ExperimenttemplateFault.js +1 -0
  70. package/dist/chaos-manager/src/services/schemas/ExperimenttemplateProbe.d.ts +14 -0
  71. package/dist/chaos-manager/src/services/schemas/ExperimenttemplateProbe.js +1 -0
  72. package/dist/chaos-manager/src/services/schemas/ExperimenttemplateProbeConditions.d.ts +3 -0
  73. package/dist/chaos-manager/src/services/schemas/ExperimenttemplateProbeConditions.js +4 -0
  74. package/dist/chaos-manager/src/services/schemas/ExperimenttemplateSpec.d.ts +17 -0
  75. package/dist/chaos-manager/src/services/schemas/ExperimenttemplateSpec.js +1 -0
  76. package/dist/chaos-manager/src/services/schemas/ExperimenttemplateStatusCheckTimeout.d.ts +4 -0
  77. package/dist/chaos-manager/src/services/schemas/ExperimenttemplateStatusCheckTimeout.js +4 -0
  78. package/dist/chaos-manager/src/services/schemas/ExperimenttemplateVertex.d.ts +6 -0
  79. package/dist/chaos-manager/src/services/schemas/ExperimenttemplateVertex.js +1 -0
  80. package/dist/chaos-manager/src/services/schemas/ExperimenttemplateVertexChild.d.ts +6 -0
  81. package/dist/chaos-manager/src/services/schemas/ExperimenttemplateVertexChild.js +1 -0
  82. package/dist/chaos-manager/src/services/schemas/ExperimenttemplateVertexResource.d.ts +3 -0
  83. package/dist/chaos-manager/src/services/schemas/ExperimenttemplateVertexResource.js +4 -0
  84. package/dist/chaos-manager/src/services/schemas/FaulttemplateChaosKubernetesSpec.d.ts +2 -0
  85. package/dist/chaos-manager/src/services/schemas/FaulttemplateFaultTemplate.d.ts +4 -2
  86. package/dist/chaos-manager/src/services/schemas/FaulttemplateStatusCheckTimeout.d.ts +4 -0
  87. package/dist/chaos-manager/src/services/schemas/FaulttemplateStatusCheckTimeout.js +4 -0
  88. package/dist/chaos-manager/src/services/schemas/GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbChaosprobetemplateChaosProbeTemplate.d.ts +4 -0
  89. package/dist/chaos-manager/src/services/schemas/GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeNewrelicMetric.d.ts +4 -0
  90. package/dist/chaos-manager/src/services/schemas/GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeNewrelicMetric.js +4 -0
  91. package/dist/chaos-manager/src/services/schemas/GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeNewrelicProbeInputs.d.ts +5 -0
  92. package/dist/chaos-manager/src/services/schemas/GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeNewrelicProbeInputs.js +1 -0
  93. package/dist/chaos-manager/src/services/schemas/GithubComHarnessHceSaasHceSdkCommonProbeV1Probe.d.ts +4 -0
  94. package/dist/chaos-manager/src/services/schemas/GithubComHarnessHceSaasHceSdkTemplateSchemaProbeNewrelicMetric.d.ts +4 -0
  95. package/dist/chaos-manager/src/services/schemas/GithubComHarnessHceSaasHceSdkTemplateSchemaProbeNewrelicMetric.js +4 -0
  96. package/dist/chaos-manager/src/services/schemas/GithubComHarnessHceSaasHceSdkTemplateSchemaProbeNewrelicProbeInputs.d.ts +5 -0
  97. package/dist/chaos-manager/src/services/schemas/GithubComHarnessHceSaasHceSdkTemplateSchemaProbeNewrelicProbeInputs.js +1 -0
  98. package/dist/chaos-manager/src/services/schemas/ProbeApmProbe.d.ts +2 -0
  99. package/dist/chaos-manager/src/services/schemas/ProbeApmProbeTemplate.d.ts +2 -2
  100. package/dist/chaos-manager/src/services/schemas/ResourceQuantity.d.ts +1 -1
  101. package/dist/chaos-manager/src/services/schemas/SecurityGovernanceAccessControl.d.ts +1 -0
  102. package/dist/chaos-manager/src/services/schemas/SecurityGovernanceAccessControl.js +4 -0
  103. package/dist/chaos-manager/src/services/schemas/SecurityGovernanceK8sSpec.d.ts +2 -0
  104. package/dist/chaos-manager/src/services/schemas/TemplateVariable.d.ts +2 -2
  105. package/dist/chaos-manager/src/services/schemas/TemplateVariableMinimum.d.ts +2 -2
  106. package/dist/chaos-manager/src/services/schemas/TypesGetProbeResponse.d.ts +1 -0
  107. package/dist/chaos-manager/src/services/schemas/TypesIdentifiers.d.ts +5 -0
  108. package/dist/chaos-manager/src/services/schemas/TypesIdentifiers.js +4 -0
  109. package/dist/chaos-manager/src/services/schemas/TypesImportProbeTemplateRequest.d.ts +3 -3
  110. package/dist/chaos-manager/src/services/schemas/TypesProbeRequest.d.ts +1 -0
  111. package/dist/chaos-manager/src/services/schemas/TypesProbeVerifyRequest.d.ts +3 -0
  112. package/dist/chaos-manager/src/services/schemas/TypesProbeVerifyRequest.js +4 -0
  113. package/package.json +1 -1
  114. package/dist/chaos-manager/src/services/schemas/MongodbIdentifiers.d.ts +0 -5
  115. package/dist/chaos-manager/src/services/schemas/ProbeNewrelicMetric.d.ts +0 -4
  116. package/dist/chaos-manager/src/services/schemas/ProbeNewrelicProbeInputs.d.ts +0 -5
  117. /package/dist/chaos-manager/src/services/schemas/{MongodbIdentifiers.js → ActionsIdentifiers.js} +0 -0
  118. /package/dist/chaos-manager/src/services/schemas/{ProbeNewrelicProbeInputs.js → ChaosexperimenttemplateChaosExperimentTemplate.js} +0 -0
  119. /package/dist/chaos-manager/src/services/schemas/{ProbeNewrelicMetric.js → ChaosexperimenttemplateCompareRevisions.js} +0 -0
@@ -1,3 +1,4 @@
1
+ import type { GithubComHarnessHceSaasGraphqlServerGraphModelUserDetails } from '../schemas/GithubComHarnessHceSaasGraphqlServerGraphModelUserDetails';
1
2
  import type { ChaosfaulttemplateLink } from '../schemas/ChaosfaulttemplateLink';
2
3
  import type { TemplateVariable } from '../schemas/TemplateVariable';
3
4
  export interface ChaosfaulttemplateChaosFaultTemplate {
@@ -5,6 +6,7 @@ export interface ChaosfaulttemplateChaosFaultTemplate {
5
6
  category?: string[];
6
7
  createdAt?: number;
7
8
  createdBy?: string;
9
+ createdByUserDetails?: GithubComHarnessHceSaasGraphqlServerGraphModelUserDetails;
8
10
  description?: string;
9
11
  /**
10
12
  * Hub identity of the fault
@@ -21,6 +23,7 @@ export interface ChaosfaulttemplateChaosFaultTemplate {
21
23
  infraType?: string;
22
24
  infras?: string[];
23
25
  isDefault?: boolean;
26
+ isEnterprise?: boolean;
24
27
  isRemoved: boolean;
25
28
  links?: ChaosfaulttemplateLink[];
26
29
  name: string;
@@ -35,5 +38,6 @@ export interface ChaosfaulttemplateChaosFaultTemplate {
35
38
  type?: string;
36
39
  updatedAt?: number;
37
40
  updatedBy?: string;
41
+ updatedByUserDetails?: GithubComHarnessHceSaasGraphqlServerGraphModelUserDetails;
38
42
  variables?: TemplateVariable[];
39
43
  }
@@ -2,15 +2,17 @@ import type { FaulttemplateLink } from '../schemas/FaulttemplateLink';
2
2
  import type { FaulttemplateSpec } from '../schemas/FaulttemplateSpec';
3
3
  import type { TemplateVariable } from '../schemas/TemplateVariable';
4
4
  export interface ChaosfaulttemplateCreateFaultTemplateRequest {
5
+ apiVersion?: string;
5
6
  category?: string[];
6
7
  description?: string;
7
- identity?: string;
8
+ identity: string;
8
9
  infraType?: string;
9
10
  infras?: string[];
10
11
  isDefault?: boolean;
11
12
  keywords?: string[];
13
+ kind?: string;
12
14
  links?: FaulttemplateLink[];
13
- name?: string;
15
+ name: string;
14
16
  permissionsRequired?: string;
15
17
  platforms?: string[];
16
18
  revision?: string;
@@ -2,17 +2,19 @@ import type { FaulttemplateLink } from '../schemas/FaulttemplateLink';
2
2
  import type { FaulttemplateSpec } from '../schemas/FaulttemplateSpec';
3
3
  import type { TemplateVariable } from '../schemas/TemplateVariable';
4
4
  export interface ChaosfaulttemplateCreateFaultTemplateResponse {
5
+ apiVersion?: string;
5
6
  category?: string[];
6
7
  correlationID?: string;
7
8
  description?: string;
8
9
  hubIdentity?: string;
9
- identity?: string;
10
+ identity: string;
10
11
  infraType?: string;
11
12
  infras?: string[];
12
13
  isDefault?: boolean;
13
14
  keywords?: string[];
15
+ kind?: string;
14
16
  links?: FaulttemplateLink[];
15
- name?: string;
17
+ name: string;
16
18
  permissionsRequired?: string;
17
19
  platforms?: string[];
18
20
  revision?: string;
@@ -2,17 +2,19 @@ import type { FaulttemplateLink } from '../schemas/FaulttemplateLink';
2
2
  import type { FaulttemplateSpec } from '../schemas/FaulttemplateSpec';
3
3
  import type { TemplateVariable } from '../schemas/TemplateVariable';
4
4
  export interface ChaosfaulttemplateUpdateFaultTemplateResponse {
5
+ apiVersion?: string;
5
6
  category?: string[];
6
7
  correlationID?: string;
7
8
  description?: string;
8
9
  hubIdentity?: string;
9
- identity?: string;
10
+ identity: string;
10
11
  infraType?: string;
11
12
  infras?: string[];
12
13
  isDefault?: boolean;
13
14
  keywords?: string[];
15
+ kind?: string;
14
16
  links?: FaulttemplateLink[];
15
- name?: string;
17
+ name: string;
16
18
  permissionsRequired?: string;
17
19
  platforms?: string[];
18
20
  revision?: string;
@@ -8,8 +8,10 @@ export interface ChaosprobetemplateProbeTemplate {
8
8
  hubRef?: string;
9
9
  identity?: string;
10
10
  infrastructureType?: ProbeInfrastructureType;
11
+ isDefault?: boolean;
11
12
  name: string;
12
13
  probeProperties?: ProbeProbeTemplateProperties;
14
+ revision?: number;
13
15
  runProperties?: ProbeProbeTemplateRunProperties;
14
16
  tags?: string[];
15
17
  type?: ProbeProbeType;
@@ -0,0 +1 @@
1
+ export type ExperimentCleanupPolicy = 'delete' | 'retain';
@@ -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 {};
@@ -30,6 +30,10 @@ export interface ExperimentProbeRef {
30
30
  * InfraID contains the infrastructure id
31
31
  */
32
32
  infraId?: string;
33
+ /**
34
+ * IsVerfied to verify the probe
35
+ */
36
+ isVerified?: boolean;
33
37
  /**
34
38
  * Name of the probe
35
39
  */
@@ -0,0 +1,10 @@
1
+ import type { TemplateVariableMinimum } from '../schemas/TemplateVariableMinimum';
2
+ export interface ExperimenttemplateAction {
3
+ continueOnCompletion?: boolean;
4
+ identity?: string;
5
+ infraId?: string;
6
+ isEnterprise?: boolean;
7
+ name?: string;
8
+ revision?: number;
9
+ values?: TemplateVariableMinimum[];
10
+ }
@@ -0,0 +1,9 @@
1
+ import type { TemplateVariableMinimum } from '../schemas/TemplateVariableMinimum';
2
+ export interface ExperimenttemplateFault {
3
+ identity?: string;
4
+ infraId?: string;
5
+ isEnterprise?: boolean;
6
+ name?: string;
7
+ revision?: string;
8
+ values?: TemplateVariableMinimum[];
9
+ }
@@ -0,0 +1,14 @@
1
+ import type { ExperimenttemplateProbeConditions } from '../schemas/ExperimenttemplateProbeConditions';
2
+ import type { TemplateVariableMinimum } from '../schemas/TemplateVariableMinimum';
3
+ export interface ExperimenttemplateProbe {
4
+ conditions?: ExperimenttemplateProbeConditions[];
5
+ duration?: string;
6
+ enableDataCollection?: boolean;
7
+ identity?: string;
8
+ infraId?: string;
9
+ isEnterprise?: boolean;
10
+ name?: string;
11
+ revision?: number;
12
+ values?: TemplateVariableMinimum[];
13
+ weightage?: number;
14
+ }
@@ -0,0 +1,3 @@
1
+ export interface ExperimenttemplateProbeConditions {
2
+ executeUpon?: string;
3
+ }
@@ -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,17 @@
1
+ import type { ExperimenttemplateAction } from '../schemas/ExperimenttemplateAction';
2
+ import type { ExperimentCleanupPolicy } from '../schemas/ExperimentCleanupPolicy';
3
+ import type { ExperimenttemplateFault } from '../schemas/ExperimenttemplateFault';
4
+ import type { ExperimentInfraType } from '../schemas/ExperimentInfraType';
5
+ import type { ExperimenttemplateProbe } from '../schemas/ExperimenttemplateProbe';
6
+ import type { ExperimenttemplateStatusCheckTimeout } from '../schemas/ExperimenttemplateStatusCheckTimeout';
7
+ import type { ExperimenttemplateVertex } from '../schemas/ExperimenttemplateVertex';
8
+ export interface ExperimenttemplateSpec {
9
+ actions?: ExperimenttemplateAction[];
10
+ cleanupPolicy?: ExperimentCleanupPolicy;
11
+ faults?: ExperimenttemplateFault[];
12
+ infraId?: string;
13
+ infraType: ExperimentInfraType;
14
+ probes?: ExperimenttemplateProbe[];
15
+ statusCheckTimeouts?: ExperimenttemplateStatusCheckTimeout;
16
+ vertices?: ExperimenttemplateVertex[];
17
+ }
@@ -0,0 +1,4 @@
1
+ export interface ExperimenttemplateStatusCheckTimeout {
2
+ delay?: number;
3
+ timeout?: 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,6 @@
1
+ import type { ExperimenttemplateVertexChild } from '../schemas/ExperimenttemplateVertexChild';
2
+ export interface ExperimenttemplateVertex {
3
+ end?: ExperimenttemplateVertexChild;
4
+ name: string;
5
+ start?: ExperimenttemplateVertexChild;
6
+ }
@@ -0,0 +1,6 @@
1
+ import type { ExperimenttemplateVertexResource } from '../schemas/ExperimenttemplateVertexResource';
2
+ export interface ExperimenttemplateVertexChild {
3
+ actions?: ExperimenttemplateVertexResource[];
4
+ faults?: ExperimenttemplateVertexResource[];
5
+ probes?: ExperimenttemplateVertexResource[];
6
+ }
@@ -0,0 +1,3 @@
1
+ export interface ExperimenttemplateVertexResource {
2
+ name: string;
3
+ }
@@ -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 {};
@@ -6,6 +6,7 @@ import type { V1PullPolicy } from '../schemas/V1PullPolicy';
6
6
  import type { V1PodSecurityContext } from '../schemas/V1PodSecurityContext';
7
7
  import type { FaulttemplateResourceRequirements } from '../schemas/FaulttemplateResourceRequirements';
8
8
  import type { FaulttemplateSecretVolume } from '../schemas/FaulttemplateSecretVolume';
9
+ import type { FaulttemplateStatusCheckTimeout } from '../schemas/FaulttemplateStatusCheckTimeout';
9
10
  import type { V1Toleration } from '../schemas/V1Toleration';
10
11
  export interface FaulttemplateChaosKubernetesSpec {
11
12
  annotations?: {
@@ -32,5 +33,6 @@ export interface FaulttemplateChaosKubernetesSpec {
32
33
  podSecurityContext?: V1PodSecurityContext;
33
34
  resourceRequirements?: FaulttemplateResourceRequirements;
34
35
  secretVolume?: FaulttemplateSecretVolume[];
36
+ statusCheckTimeouts?: FaulttemplateStatusCheckTimeout;
35
37
  toleration?: V1Toleration[];
36
38
  }
@@ -2,15 +2,17 @@ import type { FaulttemplateLink } from '../schemas/FaulttemplateLink';
2
2
  import type { FaulttemplateSpec } from '../schemas/FaulttemplateSpec';
3
3
  import type { TemplateVariable } from '../schemas/TemplateVariable';
4
4
  export interface FaulttemplateFaultTemplate {
5
+ apiVersion?: string;
5
6
  category?: string[];
6
7
  description?: string;
7
- identity?: string;
8
+ identity: string;
8
9
  infraType?: string;
9
10
  infras?: string[];
10
11
  isDefault?: boolean;
11
12
  keywords?: string[];
13
+ kind?: string;
12
14
  links?: FaulttemplateLink[];
13
- name?: string;
15
+ name: string;
14
16
  permissionsRequired?: string;
15
17
  platforms?: string[];
16
18
  revision?: string;
@@ -0,0 +1,4 @@
1
+ export interface FaulttemplateStatusCheckTimeout {
2
+ delay?: number;
3
+ timeout?: 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 {};
@@ -1,3 +1,4 @@
1
+ import type { GithubComHarnessHceSaasGraphqlServerGraphModelUserDetails } from '../schemas/GithubComHarnessHceSaasGraphqlServerGraphModelUserDetails';
1
2
  import type { ProbeInfrastructureType } from '../schemas/ProbeInfrastructureType';
2
3
  import type { ProbeProbeTemplateProperties } from '../schemas/ProbeProbeTemplateProperties';
3
4
  import type { ProbeProbeTemplateRunProperties } from '../schemas/ProbeProbeTemplateRunProperties';
@@ -7,6 +8,7 @@ export interface GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbChaosprob
7
8
  accountID: string;
8
9
  createdAt?: number;
9
10
  createdBy?: string;
11
+ createdByUserDetails?: GithubComHarnessHceSaasGraphqlServerGraphModelUserDetails;
10
12
  description?: string;
11
13
  hubRef?: string;
12
14
  id?: string;
@@ -21,6 +23,7 @@ export interface GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbChaosprob
21
23
  * for predefined faults, latest should be set as default
22
24
  */
23
25
  isDefault?: boolean;
26
+ isEnterprise?: boolean;
24
27
  isRemoved: boolean;
25
28
  name: string;
26
29
  orgID?: string;
@@ -36,5 +39,6 @@ export interface GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbChaosprob
36
39
  type?: ProbeProbeType;
37
40
  updatedAt?: number;
38
41
  updatedBy?: string;
42
+ updatedByUserDetails?: GithubComHarnessHceSaasGraphqlServerGraphModelUserDetails;
39
43
  variables?: TemplateVariable[];
40
44
  }
@@ -0,0 +1,4 @@
1
+ export interface GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeNewrelicMetric {
2
+ query?: string;
3
+ queryMetric?: 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 { GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeNewrelicMetric } from '../schemas/GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeNewrelicMetric';
2
+ export interface GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeNewrelicProbeInputs {
3
+ connectorID?: string;
4
+ newrelicMetric?: GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeNewrelicMetric;
5
+ }
@@ -38,6 +38,10 @@ export interface GithubComHarnessHceSaasHceSdkCommonProbeV1Probe {
38
38
  * ID is the unique identifier for the probe
39
39
  */
40
40
  id?: string;
41
+ /**
42
+ * IsVerified indicates whether the probe is verified or not
43
+ */
44
+ isVerified?: boolean;
41
45
  /**
42
46
  * inputs needed for the k8s probe
43
47
  */
@@ -0,0 +1,4 @@
1
+ export interface GithubComHarnessHceSaasHceSdkTemplateSchemaProbeNewrelicMetric {
2
+ query?: string;
3
+ queryMetric?: 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 { GithubComHarnessHceSaasHceSdkTemplateSchemaProbeNewrelicMetric } from '../schemas/GithubComHarnessHceSaasHceSdkTemplateSchemaProbeNewrelicMetric';
2
+ export interface GithubComHarnessHceSaasHceSdkTemplateSchemaProbeNewrelicProbeInputs {
3
+ connectorID?: string;
4
+ newrelicMetric?: GithubComHarnessHceSaasHceSdkTemplateSchemaProbeNewrelicMetric;
5
+ }
@@ -1,6 +1,7 @@
1
1
  import type { GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeAppDynamicsProbeInputs } from '../schemas/GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeAppDynamicsProbeInputs';
2
2
  import type { ProbeComparator } from '../schemas/ProbeComparator';
3
3
  import type { GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeDynatraceApmProbeInputs } from '../schemas/GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeDynatraceApmProbeInputs';
4
+ import type { GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeNewrelicProbeInputs } from '../schemas/GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeNewrelicProbeInputs';
4
5
  import type { GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbePrometheusProbeInputs } from '../schemas/GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbePrometheusProbeInputs';
5
6
  import type { GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeSplunkObservabilityProbeInputs } from '../schemas/GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeSplunkObservabilityProbeInputs';
6
7
  export interface ProbeApmProbe {
@@ -11,6 +12,7 @@ export interface ProbeApmProbe {
11
12
  initialDelay?: string;
12
13
  initialDelaySeconds?: {};
13
14
  interval?: string;
15
+ newrelicProbeInputs?: GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeNewrelicProbeInputs;
14
16
  pollingInterval?: string;
15
17
  probeTimeout?: string;
16
18
  prometheusProbeInputs?: GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbePrometheusProbeInputs;
@@ -1,7 +1,7 @@
1
1
  import type { GithubComHarnessHceSaasHceSdkTemplateSchemaProbeAppDynamicsProbeInputs } from '../schemas/GithubComHarnessHceSaasHceSdkTemplateSchemaProbeAppDynamicsProbeInputs';
2
2
  import type { ProbeComparatorTemplate } from '../schemas/ProbeComparatorTemplate';
3
3
  import type { GithubComHarnessHceSaasHceSdkTemplateSchemaProbeDynatraceApmProbeInputs } from '../schemas/GithubComHarnessHceSaasHceSdkTemplateSchemaProbeDynatraceApmProbeInputs';
4
- import type { ProbeNewrelicProbeInputs } from '../schemas/ProbeNewrelicProbeInputs';
4
+ import type { GithubComHarnessHceSaasHceSdkTemplateSchemaProbeNewrelicProbeInputs } from '../schemas/GithubComHarnessHceSaasHceSdkTemplateSchemaProbeNewrelicProbeInputs';
5
5
  import type { GithubComHarnessHceSaasHceSdkTemplateSchemaProbePrometheusProbeInputs } from '../schemas/GithubComHarnessHceSaasHceSdkTemplateSchemaProbePrometheusProbeInputs';
6
6
  import type { GithubComHarnessHceSaasHceSdkTemplateSchemaProbeSplunkObservabilityProbeInputs } from '../schemas/GithubComHarnessHceSaasHceSdkTemplateSchemaProbeSplunkObservabilityProbeInputs';
7
7
  import type { ProbeApmProbeType } from '../schemas/ProbeApmProbeType';
@@ -9,7 +9,7 @@ export interface ProbeApmProbeTemplate {
9
9
  appDynamicsProbeInputs?: GithubComHarnessHceSaasHceSdkTemplateSchemaProbeAppDynamicsProbeInputs;
10
10
  comparator?: ProbeComparatorTemplate;
11
11
  dynatraceApmProbeInputs?: GithubComHarnessHceSaasHceSdkTemplateSchemaProbeDynatraceApmProbeInputs;
12
- newrelicProbeInputs?: ProbeNewrelicProbeInputs;
12
+ newrelicProbeInputs?: GithubComHarnessHceSaasHceSdkTemplateSchemaProbeNewrelicProbeInputs;
13
13
  prometheusProbeInputs?: GithubComHarnessHceSaasHceSdkTemplateSchemaProbePrometheusProbeInputs;
14
14
  splunkObservabilityProbeInputs?: GithubComHarnessHceSaasHceSdkTemplateSchemaProbeSplunkObservabilityProbeInputs;
15
15
  type?: ProbeApmProbeType;
@@ -1,3 +1,3 @@
1
1
  export interface ResourceQuantity {
2
- Format?: 'BinarySI' | 'DecimalExponent' | 'DecimalSI';
2
+ Format?: string;
3
3
  }
@@ -0,0 +1 @@
1
+ export type SecurityGovernanceAccessControl = 'ALLOWED' | 'BLOCKED';
@@ -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 {};
@@ -1,8 +1,10 @@
1
1
  import type { SecurityGovernanceApplicationSpec } from '../schemas/SecurityGovernanceApplicationSpec';
2
2
  import type { SecurityGovernanceChaosServiceAccountSpec } from '../schemas/SecurityGovernanceChaosServiceAccountSpec';
3
3
  import type { SecurityGovernanceInfraSpec } from '../schemas/SecurityGovernanceInfraSpec';
4
+ import type { SecurityGovernanceAccessControl } from '../schemas/SecurityGovernanceAccessControl';
4
5
  export interface SecurityGovernanceK8sSpec {
5
6
  applicationSpec?: SecurityGovernanceApplicationSpec;
6
7
  chaosServiceAccountSpec?: SecurityGovernanceChaosServiceAccountSpec;
7
8
  infraSpec?: SecurityGovernanceInfraSpec;
9
+ unverifiedProbe?: SecurityGovernanceAccessControl;
8
10
  }
@@ -5,12 +5,12 @@ export interface TemplateVariable {
5
5
  category?: TemplateVariableCategory;
6
6
  default?: {};
7
7
  description?: string;
8
- name?: string;
8
+ name: string;
9
9
  path?: string;
10
10
  required?: boolean;
11
11
  stringify?: boolean;
12
12
  tags?: string[];
13
13
  type?: TemplateVariableType;
14
14
  validator?: string;
15
- value?: {};
15
+ value: {};
16
16
  }
@@ -1,4 +1,4 @@
1
1
  export interface TemplateVariableMinimum {
2
- name?: string;
3
- value?: {};
2
+ name: string;
3
+ value: {};
4
4
  }
@@ -16,6 +16,7 @@ export interface TypesGetProbeResponse {
16
16
  infrastructureType?: TypesInfrastructureType;
17
17
  isEnabled?: boolean;
18
18
  isImported?: boolean;
19
+ isVerified?: boolean;
19
20
  name?: string;
20
21
  probeId?: string;
21
22
  probeProperties?: ProbeProbeTemplateProperties;
@@ -0,0 +1,5 @@
1
+ export interface TypesIdentifiers {
2
+ accountID?: string;
3
+ orgID?: string;
4
+ projectID?: 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 {};
@@ -1,9 +1,9 @@
1
- import type { MongodbIdentifiers } from '../schemas/MongodbIdentifiers';
1
+ import type { TypesIdentifiers } from '../schemas/TypesIdentifiers';
2
2
  import type { MongodbImportType } from '../schemas/MongodbImportType';
3
3
  export interface TypesImportProbeTemplateRequest {
4
4
  description?: string;
5
- hubIdentifiers?: MongodbIdentifiers;
6
- hubRef: string;
5
+ hubIdentifiers?: TypesIdentifiers;
6
+ hubRef?: string;
7
7
  identity: string;
8
8
  importType: MongodbImportType;
9
9
  name: string;
@@ -13,6 +13,7 @@ export interface TypesProbeRequest {
13
13
  infrastructureType?: TypesInfrastructureType;
14
14
  isEnabled?: boolean;
15
15
  isImported?: boolean;
16
+ isVerified?: boolean;
16
17
  name?: string;
17
18
  probeId?: string;
18
19
  probeProperties?: ProbeProbeTemplateProperties;
@@ -0,0 +1,3 @@
1
+ export interface TypesProbeVerifyRequest {
2
+ verify?: boolean;
3
+ }
@@ -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 {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@harnessio/react-chaos-manager-client",
3
- "version": "1.20.0",
3
+ "version": "1.21.1-beta.0",
4
4
  "description": "Harness React Chaos Manager Service Client - APIs integrated with react hooks",
5
5
  "author": "Harness Inc",
6
6
  "license": "MIT",
@@ -1,5 +0,0 @@
1
- export interface MongodbIdentifiers {
2
- accountID: string;
3
- orgID?: string;
4
- projectID?: string;
5
- }
@@ -1,4 +0,0 @@
1
- export interface ProbeNewrelicMetric {
2
- query?: string;
3
- queryMetric?: string;
4
- }
@@ -1,5 +0,0 @@
1
- import type { ProbeNewrelicMetric } from '../schemas/ProbeNewrelicMetric';
2
- export interface ProbeNewrelicProbeInputs {
3
- connectorID?: string;
4
- newrelicMetric?: ProbeNewrelicMetric;
5
- }