@harnessio/react-chaos-manager-client 1.49.1-beta.3 → 1.51.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 (116) hide show
  1. package/dist/chaos-manager/src/services/hooks/useCreateChaosComponentMutation.d.ts +2 -2
  2. package/dist/chaos-manager/src/services/hooks/useGetChaosV2ExperimentVariablesQuery.d.ts +2 -2
  3. package/dist/chaos-manager/src/services/hooks/useGetExperimentOrTemplateVariableQuery.d.ts +1 -1
  4. package/dist/chaos-manager/src/services/hooks/useGetExperimentOrTemplateVariableQuery.js +1 -1
  5. package/dist/chaos-manager/src/services/hooks/useGetExperimentTemplateVariablesQuery.d.ts +1 -1
  6. package/dist/chaos-manager/src/services/hooks/useGetExperimentTemplateVariablesQuery.js +1 -1
  7. package/dist/chaos-manager/src/services/hooks/useGetExperimentTemplateYamlQuery.d.ts +1 -1
  8. package/dist/chaos-manager/src/services/hooks/useGetExperimentTemplateYamlQuery.js +1 -1
  9. package/dist/chaos-manager/src/services/hooks/useGetFaultTemplateVariablesQuery.d.ts +1 -1
  10. package/dist/chaos-manager/src/services/hooks/useGetFaultTemplateVariablesQuery.js +1 -1
  11. package/dist/chaos-manager/src/services/hooks/useGetFaultTemplateYamlQuery.d.ts +1 -1
  12. package/dist/chaos-manager/src/services/hooks/useGetFaultTemplateYamlQuery.js +1 -1
  13. package/dist/chaos-manager/src/services/hooks/useGetFaultVariablesQuery.d.ts +1 -1
  14. package/dist/chaos-manager/src/services/hooks/useGetFaultVariablesQuery.js +1 -1
  15. package/dist/chaos-manager/src/services/hooks/useListChaosComponentQuery.d.ts +2 -2
  16. package/dist/chaos-manager/src/services/hooks/useListVariablesInActionTemplateQuery.d.ts +1 -1
  17. package/dist/chaos-manager/src/services/hooks/useListVariablesInActionTemplateQuery.js +1 -1
  18. package/dist/chaos-manager/src/services/hooks/useListVariablesInProbeTemplateQuery.d.ts +1 -1
  19. package/dist/chaos-manager/src/services/hooks/useListVariablesInProbeTemplateQuery.js +1 -1
  20. package/dist/chaos-manager/src/services/hooks/useUpdateChaosComponentMutation.d.ts +2 -2
  21. package/dist/chaos-manager/src/services/index.d.ts +21 -19
  22. package/dist/chaos-manager/src/services/schemas/ActionActionTemplateRunProperties.d.ts +1 -0
  23. package/dist/chaos-manager/src/services/schemas/ActionsActionResponse.d.ts +5 -1
  24. package/dist/chaos-manager/src/services/schemas/ChaosactiontemplateChaosActionTemplate.d.ts +5 -1
  25. package/dist/chaos-manager/src/services/schemas/ChaoscomponentActionData.d.ts +4 -0
  26. package/dist/chaos-manager/src/services/schemas/ChaoscomponentChaosComponentExecutionNode.d.ts +26 -0
  27. package/dist/chaos-manager/src/services/schemas/ChaoscomponentChaosComponentType.d.ts +1 -0
  28. package/dist/chaos-manager/src/services/schemas/ChaoscomponentChaosData.d.ts +8 -0
  29. package/dist/chaos-manager/src/services/schemas/ChaoscomponentCommandProbe.d.ts +3 -0
  30. package/dist/chaos-manager/src/services/schemas/{ChaosComponentErrorData.d.ts → ChaoscomponentErrorData.d.ts} +1 -1
  31. package/dist/chaos-manager/src/services/schemas/ChaoscomponentFaultData.d.ts +8 -0
  32. package/dist/chaos-manager/src/services/schemas/ChaoscomponentHelperPodDetails.d.ts +4 -0
  33. package/dist/chaos-manager/src/services/schemas/{ChaosComponentHttpProbe.d.ts → ChaoscomponentHttpProbe.d.ts} +1 -1
  34. package/dist/chaos-manager/src/services/schemas/ChaoscomponentInfraType.d.ts +1 -0
  35. package/dist/chaos-manager/src/services/schemas/ChaoscomponentProbeData.d.ts +8 -0
  36. package/dist/chaos-manager/src/services/schemas/ChaoscomponentProbeIterations.d.ts +11 -0
  37. package/dist/chaos-manager/src/services/schemas/ChaoscomponentPromProbe.d.ts +3 -0
  38. package/dist/chaos-manager/src/services/schemas/{ChaosComponentStatus.d.ts → ChaoscomponentStatus.d.ts} +1 -1
  39. package/dist/chaos-manager/src/services/schemas/ChaoscomponentType.d.ts +1 -0
  40. package/dist/chaos-manager/src/services/schemas/ChaoscomponentsRunChaosComponentRequest.d.ts +2 -2
  41. package/dist/chaos-manager/src/services/schemas/ChaosexperimentpipelineReferenceEntities.d.ts +0 -2
  42. package/dist/chaos-manager/src/services/schemas/ChaosexperimenttemplateChaosExperimentTemplate.d.ts +4 -0
  43. package/dist/chaos-manager/src/services/schemas/ChaosexperimenttemplateExperimentTemplateVariables.d.ts +4 -4
  44. package/dist/chaos-manager/src/services/schemas/{ChaosexperimenttemplateVariable.d.ts → ChaosexperimenttemplateInputs.d.ts} +5 -1
  45. package/dist/chaos-manager/src/services/schemas/ChaosfaultChaosFault.d.ts +5 -1
  46. package/dist/chaos-manager/src/services/schemas/ChaosfaultCreateFaultRequest.d.ts +2 -1
  47. package/dist/chaos-manager/src/services/schemas/ChaosfaultCreateFaultResponse.d.ts +2 -1
  48. package/dist/chaos-manager/src/services/schemas/ChaosfaultFaultVariables.d.ts +4 -0
  49. package/dist/chaos-manager/src/services/schemas/ChaosfaultGetFaultResponse.d.ts +2 -1
  50. package/dist/chaos-manager/src/services/schemas/ChaosfaultUpdateFaultRequest.d.ts +2 -1
  51. package/dist/chaos-manager/src/services/schemas/ChaosfaultUpdateFaultResponse.d.ts +2 -1
  52. package/dist/chaos-manager/src/services/schemas/ChaosfaulttemplateActionTemplate.d.ts +5 -1
  53. package/dist/chaos-manager/src/services/schemas/ChaosfaulttemplateActionTemplateVariables.d.ts +4 -0
  54. package/dist/chaos-manager/src/services/schemas/ChaosfaulttemplateChaosFaultTemplate.d.ts +5 -1
  55. package/dist/chaos-manager/src/services/schemas/ChaosfaulttemplateCreateFaultTemplateRequest.d.ts +2 -1
  56. package/dist/chaos-manager/src/services/schemas/ChaosfaulttemplateCreateFaultTemplateResponse.d.ts +2 -1
  57. package/dist/chaos-manager/src/services/schemas/ChaosfaulttemplateFaultTemplateVariables.d.ts +4 -0
  58. package/dist/chaos-manager/src/services/schemas/ChaosfaulttemplateUpdateFaultTemplateResponse.d.ts +2 -1
  59. package/dist/chaos-manager/src/services/schemas/ChaosprobetemplateProbeTemplate.d.ts +5 -1
  60. package/dist/chaos-manager/src/services/schemas/ChaosprobetemplateProbeTemplateVariables.d.ts +4 -0
  61. package/dist/chaos-manager/src/services/schemas/ExperimentActionRef.d.ts +1 -1
  62. package/dist/chaos-manager/src/services/schemas/ExperimentFaultRef.d.ts +1 -1
  63. package/dist/chaos-manager/src/services/schemas/ExperimentProbeRef.d.ts +1 -1
  64. package/dist/chaos-manager/src/services/schemas/FaulttemplateFaultTemplate.d.ts +2 -1
  65. package/dist/chaos-manager/src/services/schemas/GithubComHarnessHceSaasGraphqlServerPkgActionsAction.d.ts +5 -1
  66. package/dist/chaos-manager/src/services/schemas/GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbActionsAction.d.ts +5 -1
  67. package/dist/chaos-manager/src/services/schemas/GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbChaosprobetemplateChaosProbeTemplate.d.ts +5 -1
  68. package/dist/chaos-manager/src/services/schemas/InputsetInputSet.d.ts +1 -1
  69. package/dist/chaos-manager/src/services/schemas/ProbeApmProbeTemplate.d.ts +2 -0
  70. package/dist/chaos-manager/src/services/schemas/ProbeApmProbeType.d.ts +1 -1
  71. package/dist/chaos-manager/src/services/schemas/ProbeSplunkEnterpriseProbeInputs.d.ts +8 -0
  72. package/dist/chaos-manager/src/services/schemas/TemplateInputCategory.d.ts +1 -0
  73. package/dist/chaos-manager/src/services/schemas/TemplateInputType.d.ts +1 -0
  74. package/dist/chaos-manager/src/services/schemas/{TemplateRunTimeVariables.d.ts → TemplateRunTimeInputs.d.ts} +1 -1
  75. package/dist/chaos-manager/src/services/schemas/TemplateRunTimeInputs.js +1 -0
  76. package/dist/chaos-manager/src/services/schemas/TemplateVariable.d.ts +4 -4
  77. package/dist/chaos-manager/src/services/schemas/TypesCreateProbeResponse.d.ts +5 -1
  78. package/dist/chaos-manager/src/services/schemas/TypesGetProbeResponse.d.ts +5 -1
  79. package/dist/chaos-manager/src/services/schemas/TypesProbeRequest.d.ts +5 -1
  80. package/dist/chaos-manager/src/services/schemas/V1ApmProbeInputs.d.ts +5 -0
  81. package/dist/chaos-manager/src/services/schemas/V1SplunkEnterpriseInputs.d.ts +23 -0
  82. package/dist/chaos-manager/src/services/schemas/V1SplunkEnterpriseInputs.js +1 -0
  83. package/package.json +1 -1
  84. package/dist/chaos-manager/src/services/schemas/ChaosComponentActionData.d.ts +0 -4
  85. package/dist/chaos-manager/src/services/schemas/ChaosComponentChaosComponentExecutionNode.d.ts +0 -26
  86. package/dist/chaos-manager/src/services/schemas/ChaosComponentChaosComponentType.d.ts +0 -1
  87. package/dist/chaos-manager/src/services/schemas/ChaosComponentChaosData.d.ts +0 -8
  88. package/dist/chaos-manager/src/services/schemas/ChaosComponentCommandProbe.d.ts +0 -3
  89. package/dist/chaos-manager/src/services/schemas/ChaosComponentFaultData.d.ts +0 -8
  90. package/dist/chaos-manager/src/services/schemas/ChaosComponentHelperPodDetails.d.ts +0 -4
  91. package/dist/chaos-manager/src/services/schemas/ChaosComponentInfraType.d.ts +0 -1
  92. package/dist/chaos-manager/src/services/schemas/ChaosComponentProbeData.d.ts +0 -8
  93. package/dist/chaos-manager/src/services/schemas/ChaosComponentProbeIterations.d.ts +0 -11
  94. package/dist/chaos-manager/src/services/schemas/ChaosComponentPromProbe.d.ts +0 -3
  95. package/dist/chaos-manager/src/services/schemas/ChaosComponentType.d.ts +0 -1
  96. package/dist/chaos-manager/src/services/schemas/TemplateVariableCategory.d.ts +0 -1
  97. package/dist/chaos-manager/src/services/schemas/TemplateVariableType.d.ts +0 -1
  98. /package/dist/chaos-manager/src/services/schemas/{ChaosComponentActionData.js → ChaoscomponentActionData.js} +0 -0
  99. /package/dist/chaos-manager/src/services/schemas/{ChaosComponentChaosComponentExecutionNode.js → ChaoscomponentChaosComponentExecutionNode.js} +0 -0
  100. /package/dist/chaos-manager/src/services/schemas/{ChaosComponentChaosComponentType.js → ChaoscomponentChaosComponentType.js} +0 -0
  101. /package/dist/chaos-manager/src/services/schemas/{ChaosComponentChaosData.js → ChaoscomponentChaosData.js} +0 -0
  102. /package/dist/chaos-manager/src/services/schemas/{ChaosComponentCommandProbe.js → ChaoscomponentCommandProbe.js} +0 -0
  103. /package/dist/chaos-manager/src/services/schemas/{ChaosComponentErrorData.js → ChaoscomponentErrorData.js} +0 -0
  104. /package/dist/chaos-manager/src/services/schemas/{ChaosComponentFaultData.js → ChaoscomponentFaultData.js} +0 -0
  105. /package/dist/chaos-manager/src/services/schemas/{ChaosComponentHelperPodDetails.js → ChaoscomponentHelperPodDetails.js} +0 -0
  106. /package/dist/chaos-manager/src/services/schemas/{ChaosComponentHttpProbe.js → ChaoscomponentHttpProbe.js} +0 -0
  107. /package/dist/chaos-manager/src/services/schemas/{ChaosComponentInfraType.js → ChaoscomponentInfraType.js} +0 -0
  108. /package/dist/chaos-manager/src/services/schemas/{ChaosComponentProbeData.js → ChaoscomponentProbeData.js} +0 -0
  109. /package/dist/chaos-manager/src/services/schemas/{ChaosComponentProbeIterations.js → ChaoscomponentProbeIterations.js} +0 -0
  110. /package/dist/chaos-manager/src/services/schemas/{ChaosComponentPromProbe.js → ChaoscomponentPromProbe.js} +0 -0
  111. /package/dist/chaos-manager/src/services/schemas/{ChaosComponentStatus.js → ChaoscomponentStatus.js} +0 -0
  112. /package/dist/chaos-manager/src/services/schemas/{ChaosComponentType.js → ChaoscomponentType.js} +0 -0
  113. /package/dist/chaos-manager/src/services/schemas/{ChaosexperimenttemplateVariable.js → ChaosexperimenttemplateInputs.js} +0 -0
  114. /package/dist/chaos-manager/src/services/schemas/{TemplateRunTimeVariables.js → ProbeSplunkEnterpriseProbeInputs.js} +0 -0
  115. /package/dist/chaos-manager/src/services/schemas/{TemplateVariableCategory.js → TemplateInputCategory.js} +0 -0
  116. /package/dist/chaos-manager/src/services/schemas/{TemplateVariableType.js → TemplateInputType.js} +0 -0
@@ -1,10 +1,10 @@
1
1
  import type { CommonImportType } from '../schemas/CommonImportType';
2
+ import type { TemplateVariable } from '../schemas/TemplateVariable';
2
3
  import type { FaultLink } from '../schemas/FaultLink';
3
4
  import type { MongodbManagedBy } from '../schemas/MongodbManagedBy';
4
5
  import type { FaulttemplateSpec } from '../schemas/FaulttemplateSpec';
5
6
  import type { FaultTemplateReference } from '../schemas/FaultTemplateReference';
6
7
  import type { TemplateVariableMinimum } from '../schemas/TemplateVariableMinimum';
7
- import type { TemplateVariable } from '../schemas/TemplateVariable';
8
8
  export interface ChaosfaultCreateFaultRequest {
9
9
  apiVersion?: string;
10
10
  category?: string[];
@@ -13,6 +13,7 @@ export interface ChaosfaultCreateFaultRequest {
13
13
  importType?: CommonImportType;
14
14
  infraType?: string;
15
15
  infras?: string[];
16
+ inputs?: TemplateVariable[];
16
17
  kind?: string;
17
18
  links?: FaultLink[];
18
19
  managedBy?: MongodbManagedBy;
@@ -1,9 +1,9 @@
1
1
  import type { CommonImportType } from '../schemas/CommonImportType';
2
+ import type { TemplateVariable } from '../schemas/TemplateVariable';
2
3
  import type { FaultLink } from '../schemas/FaultLink';
3
4
  import type { FaulttemplateSpec } from '../schemas/FaulttemplateSpec';
4
5
  import type { FaultTemplateReference } from '../schemas/FaultTemplateReference';
5
6
  import type { TemplateVariableMinimum } from '../schemas/TemplateVariableMinimum';
6
- import type { TemplateVariable } from '../schemas/TemplateVariable';
7
7
  export interface ChaosfaultCreateFaultResponse {
8
8
  apiVersion?: string;
9
9
  category?: string[];
@@ -14,6 +14,7 @@ export interface ChaosfaultCreateFaultResponse {
14
14
  importType?: CommonImportType;
15
15
  infraType?: string;
16
16
  infras?: string[];
17
+ inputs?: TemplateVariable[];
17
18
  kind?: string;
18
19
  links?: FaultLink[];
19
20
  name: string;
@@ -4,5 +4,9 @@ export interface ChaosfaultFaultVariables {
4
4
  faultAuthentication?: TemplateVariable[];
5
5
  faultTargets?: TemplateVariable[];
6
6
  faultTunable?: TemplateVariable[];
7
+ inputs?: TemplateVariable[];
8
+ /**
9
+ * CHAOS-11100
10
+ */
7
11
  variables?: TemplateVariable[];
8
12
  }
@@ -1,10 +1,10 @@
1
1
  import type { CommonImportType } from '../schemas/CommonImportType';
2
+ import type { TemplateVariable } from '../schemas/TemplateVariable';
2
3
  import type { FaultLink } from '../schemas/FaultLink';
3
4
  import type { MongodbManagedBy } from '../schemas/MongodbManagedBy';
4
5
  import type { FaulttemplateSpec } from '../schemas/FaulttemplateSpec';
5
6
  import type { FaultTemplateReference } from '../schemas/FaultTemplateReference';
6
7
  import type { TemplateVariableMinimum } from '../schemas/TemplateVariableMinimum';
7
- import type { TemplateVariable } from '../schemas/TemplateVariable';
8
8
  export interface ChaosfaultGetFaultResponse {
9
9
  apiVersion?: string;
10
10
  category?: string[];
@@ -14,6 +14,7 @@ export interface ChaosfaultGetFaultResponse {
14
14
  importType?: CommonImportType;
15
15
  infraType?: string;
16
16
  infras?: string[];
17
+ inputs?: TemplateVariable[];
17
18
  isEnterprise?: boolean;
18
19
  kind?: string;
19
20
  links?: FaultLink[];
@@ -1,9 +1,9 @@
1
1
  import type { CommonImportType } from '../schemas/CommonImportType';
2
+ import type { TemplateVariable } from '../schemas/TemplateVariable';
2
3
  import type { FaultLink } from '../schemas/FaultLink';
3
4
  import type { FaulttemplateSpec } from '../schemas/FaulttemplateSpec';
4
5
  import type { FaultTemplateReference } from '../schemas/FaultTemplateReference';
5
6
  import type { TemplateVariableMinimum } from '../schemas/TemplateVariableMinimum';
6
- import type { TemplateVariable } from '../schemas/TemplateVariable';
7
7
  export interface ChaosfaultUpdateFaultRequest {
8
8
  apiVersion?: string;
9
9
  category?: string[];
@@ -12,6 +12,7 @@ export interface ChaosfaultUpdateFaultRequest {
12
12
  importType?: CommonImportType;
13
13
  infraType?: string;
14
14
  infras?: string[];
15
+ inputs?: TemplateVariable[];
15
16
  kind?: string;
16
17
  links?: FaultLink[];
17
18
  name: string;
@@ -1,9 +1,9 @@
1
1
  import type { CommonImportType } from '../schemas/CommonImportType';
2
+ import type { TemplateVariable } from '../schemas/TemplateVariable';
2
3
  import type { FaultLink } from '../schemas/FaultLink';
3
4
  import type { FaulttemplateSpec } from '../schemas/FaulttemplateSpec';
4
5
  import type { FaultTemplateReference } from '../schemas/FaultTemplateReference';
5
6
  import type { TemplateVariableMinimum } from '../schemas/TemplateVariableMinimum';
6
- import type { TemplateVariable } from '../schemas/TemplateVariable';
7
7
  export interface ChaosfaultUpdateFaultResponse {
8
8
  apiVersion?: string;
9
9
  category?: string[];
@@ -13,6 +13,7 @@ export interface ChaosfaultUpdateFaultResponse {
13
13
  importType?: CommonImportType;
14
14
  infraType?: string;
15
15
  infras?: string[];
16
+ inputs?: TemplateVariable[];
16
17
  kind?: string;
17
18
  links?: FaultLink[];
18
19
  name: string;
@@ -1,18 +1,22 @@
1
1
  import type { ActionActionTemplateProperties } from '../schemas/ActionActionTemplateProperties';
2
2
  import type { ActionsInfrastructureType } from '../schemas/ActionsInfrastructureType';
3
- import type { ActionActionTemplateRunProperties } from '../schemas/ActionActionTemplateRunProperties';
4
3
  import type { TemplateVariable } from '../schemas/TemplateVariable';
4
+ import type { ActionActionTemplateRunProperties } from '../schemas/ActionActionTemplateRunProperties';
5
5
  export interface ChaosfaulttemplateActionTemplate {
6
6
  actionProperties?: ActionActionTemplateProperties;
7
7
  description?: string;
8
8
  hubRef?: string;
9
9
  identity?: string;
10
10
  infrastructureType?: ActionsInfrastructureType;
11
+ inputs?: TemplateVariable[];
11
12
  isDefault?: boolean;
12
13
  name: string;
13
14
  revision?: number;
14
15
  runProperties?: ActionActionTemplateRunProperties;
15
16
  tags?: string[];
16
17
  type?: string;
18
+ /**
19
+ * CHAOS-11100
20
+ */
17
21
  variables?: TemplateVariable[];
18
22
  }
@@ -2,5 +2,9 @@ import type { TemplateVariable } from '../schemas/TemplateVariable';
2
2
  export interface ChaosfaulttemplateActionTemplateVariables {
3
3
  actionProperties?: TemplateVariable[];
4
4
  actionRunProperty?: TemplateVariable[];
5
+ inputs?: TemplateVariable[];
6
+ /**
7
+ * CHAOS-11100
8
+ */
5
9
  variables?: TemplateVariable[];
6
10
  }
@@ -1,6 +1,6 @@
1
1
  import type { GithubComHarnessHceSaasGraphqlServerGraphModelUserDetails } from '../schemas/GithubComHarnessHceSaasGraphqlServerGraphModelUserDetails';
2
- import type { ChaosfaulttemplateLink } from '../schemas/ChaosfaulttemplateLink';
3
2
  import type { TemplateVariable } from '../schemas/TemplateVariable';
3
+ import type { ChaosfaulttemplateLink } from '../schemas/ChaosfaulttemplateLink';
4
4
  export interface ChaosfaulttemplateChaosFaultTemplate {
5
5
  accountID: string;
6
6
  category?: string[];
@@ -22,6 +22,7 @@ export interface ChaosfaulttemplateChaosFaultTemplate {
22
22
  identity?: string;
23
23
  infraType?: string;
24
24
  infras?: string[];
25
+ inputs?: TemplateVariable[];
25
26
  isDefault?: boolean;
26
27
  isEnterprise?: boolean;
27
28
  isRemoved: boolean;
@@ -37,5 +38,8 @@ export interface ChaosfaulttemplateChaosFaultTemplate {
37
38
  updatedAt?: number;
38
39
  updatedBy?: string;
39
40
  updatedByUserDetails?: GithubComHarnessHceSaasGraphqlServerGraphModelUserDetails;
41
+ /**
42
+ * CHAOS-11100
43
+ */
40
44
  variables?: TemplateVariable[];
41
45
  }
@@ -1,6 +1,6 @@
1
+ import type { TemplateVariable } from '../schemas/TemplateVariable';
1
2
  import type { FaulttemplateLink } from '../schemas/FaulttemplateLink';
2
3
  import type { FaulttemplateSpec } from '../schemas/FaulttemplateSpec';
3
- import type { TemplateVariable } from '../schemas/TemplateVariable';
4
4
  export interface ChaosfaulttemplateCreateFaultTemplateRequest {
5
5
  apiVersion?: string;
6
6
  category?: string[];
@@ -8,6 +8,7 @@ export interface ChaosfaulttemplateCreateFaultTemplateRequest {
8
8
  identity: string;
9
9
  infraType?: string;
10
10
  infras?: string[];
11
+ inputs?: TemplateVariable[];
11
12
  isDefault?: boolean;
12
13
  keywords?: string[];
13
14
  kind?: string;
@@ -1,6 +1,6 @@
1
+ import type { TemplateVariable } from '../schemas/TemplateVariable';
1
2
  import type { FaulttemplateLink } from '../schemas/FaulttemplateLink';
2
3
  import type { FaulttemplateSpec } from '../schemas/FaulttemplateSpec';
3
- import type { TemplateVariable } from '../schemas/TemplateVariable';
4
4
  export interface ChaosfaulttemplateCreateFaultTemplateResponse {
5
5
  apiVersion?: string;
6
6
  category?: string[];
@@ -10,6 +10,7 @@ export interface ChaosfaulttemplateCreateFaultTemplateResponse {
10
10
  identity: string;
11
11
  infraType?: string;
12
12
  infras?: string[];
13
+ inputs?: TemplateVariable[];
13
14
  isDefault?: boolean;
14
15
  keywords?: string[];
15
16
  kind?: string;
@@ -4,5 +4,9 @@ export interface ChaosfaulttemplateFaultTemplateVariables {
4
4
  faultAuthentication?: TemplateVariable[];
5
5
  faultTargets?: TemplateVariable[];
6
6
  faultTunable?: TemplateVariable[];
7
+ inputs?: TemplateVariable[];
8
+ /**
9
+ * CHAOS-11100
10
+ */
7
11
  variables?: TemplateVariable[];
8
12
  }
@@ -1,6 +1,6 @@
1
+ import type { TemplateVariable } from '../schemas/TemplateVariable';
1
2
  import type { FaulttemplateLink } from '../schemas/FaulttemplateLink';
2
3
  import type { FaulttemplateSpec } from '../schemas/FaulttemplateSpec';
3
- import type { TemplateVariable } from '../schemas/TemplateVariable';
4
4
  export interface ChaosfaulttemplateUpdateFaultTemplateResponse {
5
5
  apiVersion?: string;
6
6
  category?: string[];
@@ -10,6 +10,7 @@ export interface ChaosfaulttemplateUpdateFaultTemplateResponse {
10
10
  identity: string;
11
11
  infraType?: string;
12
12
  infras?: string[];
13
+ inputs?: TemplateVariable[];
13
14
  isDefault?: boolean;
14
15
  keywords?: string[];
15
16
  kind?: string;
@@ -1,13 +1,14 @@
1
1
  import type { ProbeInfrastructureType } from '../schemas/ProbeInfrastructureType';
2
+ import type { TemplateVariable } from '../schemas/TemplateVariable';
2
3
  import type { ProbeProbeTemplateProperties } from '../schemas/ProbeProbeTemplateProperties';
3
4
  import type { ProbeProbeTemplateRunProperties } from '../schemas/ProbeProbeTemplateRunProperties';
4
5
  import type { ProbeProbeType } from '../schemas/ProbeProbeType';
5
- import type { TemplateVariable } from '../schemas/TemplateVariable';
6
6
  export interface ChaosprobetemplateProbeTemplate {
7
7
  description?: string;
8
8
  hubRef?: string;
9
9
  identity?: string;
10
10
  infrastructureType?: ProbeInfrastructureType;
11
+ inputs?: TemplateVariable[];
11
12
  isDefault?: boolean;
12
13
  name: string;
13
14
  probeProperties?: ProbeProbeTemplateProperties;
@@ -15,5 +16,8 @@ export interface ChaosprobetemplateProbeTemplate {
15
16
  runProperties?: ProbeProbeTemplateRunProperties;
16
17
  tags?: string[];
17
18
  type?: ProbeProbeType;
19
+ /**
20
+ * CHAOS-11100
21
+ */
18
22
  variables?: TemplateVariable[];
19
23
  }
@@ -1,6 +1,10 @@
1
1
  import type { TemplateVariable } from '../schemas/TemplateVariable';
2
2
  export interface ChaosprobetemplateProbeTemplateVariables {
3
+ inputs?: TemplateVariable[];
3
4
  probeProperties?: TemplateVariable[];
4
5
  probeRunProperty?: TemplateVariable[];
6
+ /**
7
+ * CHAOS-11100
8
+ */
5
9
  variables?: TemplateVariable[];
6
10
  }
@@ -34,7 +34,7 @@ export interface ExperimentActionRef {
34
34
  */
35
35
  revision?: number;
36
36
  /**
37
- * Variables to store the variables
37
+ * Values to store the inputs
38
38
  */
39
39
  values?: TemplateVariableMinimum[];
40
40
  }
@@ -21,7 +21,7 @@ export interface ExperimentFaultRef {
21
21
  */
22
22
  name?: string;
23
23
  /**
24
- * Variables to store the variables
24
+ * Values to store the inputs
25
25
  */
26
26
  values?: TemplateVariableMinimum[];
27
27
  }
@@ -43,7 +43,7 @@ export interface ExperimentProbeRef {
43
43
  */
44
44
  revision?: number;
45
45
  /**
46
- * Variables to store the variables
46
+ * Values to store the inputs
47
47
  */
48
48
  values?: TemplateVariableMinimum[];
49
49
  /**
@@ -1,6 +1,6 @@
1
+ import type { TemplateVariable } from '../schemas/TemplateVariable';
1
2
  import type { FaulttemplateLink } from '../schemas/FaulttemplateLink';
2
3
  import type { FaulttemplateSpec } from '../schemas/FaulttemplateSpec';
3
- import type { TemplateVariable } from '../schemas/TemplateVariable';
4
4
  export interface FaulttemplateFaultTemplate {
5
5
  apiVersion?: string;
6
6
  category?: string[];
@@ -8,6 +8,7 @@ export interface FaulttemplateFaultTemplate {
8
8
  identity: string;
9
9
  infraType?: string;
10
10
  infras?: string[];
11
+ inputs?: TemplateVariable[];
11
12
  isDefault?: boolean;
12
13
  keywords?: string[];
13
14
  kind?: string;
@@ -1,8 +1,8 @@
1
1
  import type { ActionActionTemplateProperties } from '../schemas/ActionActionTemplateProperties';
2
2
  import type { ActionsInfrastructureType } from '../schemas/ActionsInfrastructureType';
3
+ import type { TemplateVariable } from '../schemas/TemplateVariable';
3
4
  import type { ActionActionTemplateRunProperties } from '../schemas/ActionActionTemplateRunProperties';
4
5
  import type { ActionsActionType } from '../schemas/ActionsActionType';
5
- import type { TemplateVariable } from '../schemas/TemplateVariable';
6
6
  export interface GithubComHarnessHceSaasGraphqlServerPkgActionsAction {
7
7
  actionProperties?: ActionActionTemplateProperties;
8
8
  actionsTemplateRef?: string;
@@ -10,9 +10,13 @@ export interface GithubComHarnessHceSaasGraphqlServerPkgActionsAction {
10
10
  hubRef?: string;
11
11
  identity?: string;
12
12
  infrastructureType?: ActionsInfrastructureType;
13
+ inputs?: TemplateVariable[];
13
14
  name: string;
14
15
  runProperties?: ActionActionTemplateRunProperties;
15
16
  tags?: string[];
16
17
  type?: ActionsActionType;
18
+ /**
19
+ * CHAOS-11100
20
+ */
17
21
  variables?: TemplateVariable[];
18
22
  }
@@ -1,11 +1,11 @@
1
1
  import type { ActionActionTemplateProperties } from '../schemas/ActionActionTemplateProperties';
2
2
  import type { MongodbImportType } from '../schemas/MongodbImportType';
3
3
  import type { ActionsInfrastructureType } from '../schemas/ActionsInfrastructureType';
4
+ import type { TemplateVariable } from '../schemas/TemplateVariable';
4
5
  import type { MongodbManagedBy } from '../schemas/MongodbManagedBy';
5
6
  import type { ActionsRecentExecutions } from '../schemas/ActionsRecentExecutions';
6
7
  import type { ActionActionTemplateRunProperties } from '../schemas/ActionActionTemplateRunProperties';
7
8
  import type { ActionsActionType } from '../schemas/ActionsActionType';
8
- import type { TemplateVariable } from '../schemas/TemplateVariable';
9
9
  export interface GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbActionsAction {
10
10
  accountID: string;
11
11
  actionProperties?: ActionActionTemplateProperties;
@@ -17,6 +17,7 @@ export interface GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbActionsAc
17
17
  identity?: string;
18
18
  importType?: MongodbImportType;
19
19
  infrastructureType?: ActionsInfrastructureType;
20
+ inputs?: TemplateVariable[];
20
21
  isRemoved?: boolean;
21
22
  managedBy?: MongodbManagedBy;
22
23
  name: string;
@@ -26,5 +27,8 @@ export interface GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbActionsAc
26
27
  runProperties?: ActionActionTemplateRunProperties;
27
28
  tags?: string[];
28
29
  type?: ActionsActionType;
30
+ /**
31
+ * CHAOS-11100
32
+ */
29
33
  variables?: TemplateVariable[];
30
34
  }
@@ -1,9 +1,9 @@
1
1
  import type { GithubComHarnessHceSaasGraphqlServerGraphModelUserDetails } from '../schemas/GithubComHarnessHceSaasGraphqlServerGraphModelUserDetails';
2
2
  import type { ProbeInfrastructureType } from '../schemas/ProbeInfrastructureType';
3
+ import type { TemplateVariable } from '../schemas/TemplateVariable';
3
4
  import type { ProbeProbeTemplateProperties } from '../schemas/ProbeProbeTemplateProperties';
4
5
  import type { ProbeProbeTemplateRunProperties } from '../schemas/ProbeProbeTemplateRunProperties';
5
6
  import type { ProbeProbeType } from '../schemas/ProbeProbeType';
6
- import type { TemplateVariable } from '../schemas/TemplateVariable';
7
7
  export interface GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbChaosprobetemplateChaosProbeTemplate {
8
8
  accountID: string;
9
9
  createdAt?: number;
@@ -18,6 +18,7 @@ export interface GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbChaosprob
18
18
  */
19
19
  identity?: string;
20
20
  infrastructureType?: ProbeInfrastructureType;
21
+ inputs?: TemplateVariable[];
21
22
  /**
22
23
  * isDefault indicates if it is the default version
23
24
  * for predefined faults, latest should be set as default
@@ -40,5 +41,8 @@ export interface GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbChaosprob
40
41
  updatedAt?: number;
41
42
  updatedBy?: string;
42
43
  updatedByUserDetails?: GithubComHarnessHceSaasGraphqlServerGraphModelUserDetails;
44
+ /**
45
+ * CHAOS-11100
46
+ */
43
47
  variables?: TemplateVariable[];
44
48
  }
@@ -40,7 +40,7 @@ export interface InputsetInputSet {
40
40
  * Foreign key to link with probes
41
41
  * TODO: not sure if required
42
42
  * ProbeID string `bson:"probe_id"`
43
- * For fault level variables, key = step
43
+ * For fault level inputs, key = step
44
44
  */
45
45
  spec?: string;
46
46
  /**
@@ -5,6 +5,7 @@ import type { GithubComHarnessHceSaasHceSdkTemplateSchemaProbeDynatraceApmProbeI
5
5
  import type { GithubComHarnessHceSaasHceSdkTemplateSchemaProbeGcpCloudMonitoringProbeInputs } from '../schemas/GithubComHarnessHceSaasHceSdkTemplateSchemaProbeGcpCloudMonitoringProbeInputs';
6
6
  import type { GithubComHarnessHceSaasHceSdkTemplateSchemaProbeNewRelicProbeInputs } from '../schemas/GithubComHarnessHceSaasHceSdkTemplateSchemaProbeNewRelicProbeInputs';
7
7
  import type { GithubComHarnessHceSaasHceSdkTemplateSchemaProbePrometheusProbeInputs } from '../schemas/GithubComHarnessHceSaasHceSdkTemplateSchemaProbePrometheusProbeInputs';
8
+ import type { ProbeSplunkEnterpriseProbeInputs } from '../schemas/ProbeSplunkEnterpriseProbeInputs';
8
9
  import type { GithubComHarnessHceSaasHceSdkTemplateSchemaProbeSplunkObservabilityProbeInputs } from '../schemas/GithubComHarnessHceSaasHceSdkTemplateSchemaProbeSplunkObservabilityProbeInputs';
9
10
  import type { ProbeApmProbeType } from '../schemas/ProbeApmProbeType';
10
11
  export interface ProbeApmProbeTemplate {
@@ -15,6 +16,7 @@ export interface ProbeApmProbeTemplate {
15
16
  gcpCloudMonitoringProbeInputs?: GithubComHarnessHceSaasHceSdkTemplateSchemaProbeGcpCloudMonitoringProbeInputs;
16
17
  newRelicProbeInputs?: GithubComHarnessHceSaasHceSdkTemplateSchemaProbeNewRelicProbeInputs;
17
18
  prometheusProbeInputs?: GithubComHarnessHceSaasHceSdkTemplateSchemaProbePrometheusProbeInputs;
19
+ splunkEnterpriseProbeInputs?: ProbeSplunkEnterpriseProbeInputs;
18
20
  splunkObservabilityProbeInputs?: GithubComHarnessHceSaasHceSdkTemplateSchemaProbeSplunkObservabilityProbeInputs;
19
21
  type?: ProbeApmProbeType;
20
22
  }
@@ -1 +1 @@
1
- export type ProbeApmProbeType = 'AppDynamics' | 'Datadog' | 'Dynatrace' | 'GcpCloudMonitoring' | 'NewRelic' | 'Prometheus' | 'SplunkObservability';
1
+ export type ProbeApmProbeType = 'AppDynamics' | 'Datadog' | 'Dynatrace' | 'GcpCloudMonitoring' | 'NewRelic' | 'Prometheus' | 'SplunkEnterprise' | 'SplunkObservability';
@@ -0,0 +1,8 @@
1
+ import type { ProbeTlsConfigTemplate } from '../schemas/ProbeTlsConfigTemplate';
2
+ export interface ProbeSplunkEnterpriseProbeInputs {
3
+ connectorID?: string;
4
+ durationInMin?: {};
5
+ fieldToFetch?: string;
6
+ searchQuery?: string;
7
+ tlsConfig?: ProbeTlsConfigTemplate;
8
+ }
@@ -0,0 +1 @@
1
+ export type TemplateInputCategory = 'ActionProperties' | 'ExperimentTunable' | 'FaultAuthentication' | 'FaultTarget' | 'FaultTunable' | 'ProbeProperties' | 'RunProperties' | 'TargetInfra';
@@ -0,0 +1 @@
1
+ export type TemplateInputType = 'Boolean' | 'Integer' | 'Number' | 'SecretFile' | 'SecretText' | 'String';
@@ -1,5 +1,5 @@
1
1
  import type { TemplateVariable } from '../schemas/TemplateVariable';
2
- export interface TemplateRunTimeVariables {
2
+ export interface TemplateRunTimeInputs {
3
3
  experiment?: TemplateVariable[];
4
4
  tasks?: {
5
5
  [key: string]: TemplateVariable[];
@@ -1,8 +1,8 @@
1
- import type { TemplateVariableCategory } from '../schemas/TemplateVariableCategory';
2
- import type { TemplateVariableType } from '../schemas/TemplateVariableType';
1
+ import type { TemplateInputCategory } from '../schemas/TemplateInputCategory';
2
+ import type { TemplateInputType } from '../schemas/TemplateInputType';
3
3
  export interface TemplateVariable {
4
4
  allowedValues?: Array<{}>;
5
- category?: TemplateVariableCategory;
5
+ category?: TemplateInputCategory;
6
6
  default?: {};
7
7
  description?: string;
8
8
  name: string;
@@ -11,7 +11,7 @@ export interface TemplateVariable {
11
11
  stringify?: boolean;
12
12
  tags?: string[];
13
13
  tooltipId?: string;
14
- type?: TemplateVariableType;
14
+ type?: TemplateInputType;
15
15
  validator?: string;
16
16
  value: {};
17
17
  }
@@ -1,6 +1,7 @@
1
1
  import type { ProbeApmProbe } from '../schemas/ProbeApmProbe';
2
2
  import type { ProbeHttpProbe } from '../schemas/ProbeHttpProbe';
3
3
  import type { ProbeContainerProbe } from '../schemas/ProbeContainerProbe';
4
+ import type { TemplateVariable } from '../schemas/TemplateVariable';
4
5
  import type { ProbeK8SProbe } from '../schemas/ProbeK8SProbe';
5
6
  import type { ProbeKubernetesCmdProbe } from '../schemas/ProbeKubernetesCmdProbe';
6
7
  import type { ProbeDatadogProbe } from '../schemas/ProbeDatadogProbe';
@@ -8,13 +9,13 @@ import type { ProbeDynatraceProbe } from '../schemas/ProbeDynatraceProbe';
8
9
  import type { ProbeLinuxCmdProbe } from '../schemas/ProbeLinuxCmdProbe';
9
10
  import type { ProbePromProbe } from '../schemas/ProbePromProbe';
10
11
  import type { ProbeSloProbe } from '../schemas/ProbeSloProbe';
11
- import type { TemplateVariable } from '../schemas/TemplateVariable';
12
12
  import type { ProbeWindowsCmdProbe } from '../schemas/ProbeWindowsCmdProbe';
13
13
  export interface TypesCreateProbeResponse {
14
14
  apmProperties?: ProbeApmProbe;
15
15
  containerHttpProperties?: ProbeHttpProbe;
16
16
  containerProbeProperties?: ProbeContainerProbe;
17
17
  description?: string;
18
+ inputs?: TemplateVariable[];
18
19
  k8sProperties?: ProbeK8SProbe;
19
20
  kubernetesCmdProperties?: ProbeKubernetesCmdProbe;
20
21
  kubernetesDatadogProperties?: ProbeDatadogProbe;
@@ -30,6 +31,9 @@ export interface TypesCreateProbeResponse {
30
31
  revisionId?: string;
31
32
  sloProperties?: ProbeSloProbe;
32
33
  tags?: string[];
34
+ /**
35
+ * CHAOS-11100
36
+ */
33
37
  variables?: TemplateVariable[];
34
38
  windowsCmdProperties?: ProbeWindowsCmdProbe;
35
39
  windowsHttpProperties?: ProbeHttpProbe;
@@ -1,12 +1,12 @@
1
1
  import type { GithubComHarnessHceSaasGraphqlServerGraphModelUserDetails } from '../schemas/GithubComHarnessHceSaasGraphqlServerGraphModelUserDetails';
2
2
  import type { MongodbImportType } from '../schemas/MongodbImportType';
3
3
  import type { TypesInfrastructureType } from '../schemas/TypesInfrastructureType';
4
+ import type { TemplateVariable } from '../schemas/TemplateVariable';
4
5
  import type { MongodbManagedBy } from '../schemas/MongodbManagedBy';
5
6
  import type { ProbeProbeTemplateProperties } from '../schemas/ProbeProbeTemplateProperties';
6
7
  import type { TypesProbeRecentExecutions } from '../schemas/TypesProbeRecentExecutions';
7
8
  import type { ProbeProbeTemplateRunProperties } from '../schemas/ProbeProbeTemplateRunProperties';
8
9
  import type { TypesProbeType } from '../schemas/TypesProbeType';
9
- import type { TemplateVariable } from '../schemas/TemplateVariable';
10
10
  export interface TypesGetProbeResponse {
11
11
  createdAt?: number;
12
12
  createdBy?: GithubComHarnessHceSaasGraphqlServerGraphModelUserDetails;
@@ -15,6 +15,7 @@ export interface TypesGetProbeResponse {
15
15
  identity?: string;
16
16
  importType?: MongodbImportType;
17
17
  infrastructureType?: TypesInfrastructureType;
18
+ inputs?: TemplateVariable[];
18
19
  isEnabled?: boolean;
19
20
  isImported?: boolean;
20
21
  isVerified?: boolean;
@@ -31,5 +32,8 @@ export interface TypesGetProbeResponse {
31
32
  type?: TypesProbeType;
32
33
  updatedAt?: number;
33
34
  updatedBy?: GithubComHarnessHceSaasGraphqlServerGraphModelUserDetails;
35
+ /**
36
+ * CHAOS-11100
37
+ */
34
38
  variables?: TemplateVariable[];
35
39
  }
@@ -1,17 +1,18 @@
1
1
  import type { MongodbImportType } from '../schemas/MongodbImportType';
2
2
  import type { TypesInfrastructureType } from '../schemas/TypesInfrastructureType';
3
+ import type { TemplateVariable } from '../schemas/TemplateVariable';
3
4
  import type { MongodbManagedBy } from '../schemas/MongodbManagedBy';
4
5
  import type { ProbeProbeTemplateProperties } from '../schemas/ProbeProbeTemplateProperties';
5
6
  import type { TypesProbeRecentExecutions } from '../schemas/TypesProbeRecentExecutions';
6
7
  import type { ProbeProbeTemplateRunProperties } from '../schemas/ProbeProbeTemplateRunProperties';
7
8
  import type { TypesProbeType } from '../schemas/TypesProbeType';
8
- import type { TemplateVariable } from '../schemas/TemplateVariable';
9
9
  export interface TypesProbeRequest {
10
10
  description?: string;
11
11
  hubRef?: string;
12
12
  identity?: string;
13
13
  importType?: MongodbImportType;
14
14
  infrastructureType?: TypesInfrastructureType;
15
+ inputs?: TemplateVariable[];
15
16
  isEnabled?: boolean;
16
17
  isImported?: boolean;
17
18
  isVerified?: boolean;
@@ -26,5 +27,8 @@ export interface TypesProbeRequest {
26
27
  runProperties?: ProbeProbeTemplateRunProperties;
27
28
  tags?: string[];
28
29
  type?: TypesProbeType;
30
+ /**
31
+ * CHAOS-11100
32
+ */
29
33
  variables?: TemplateVariable[];
30
34
  }
@@ -5,6 +5,7 @@ import type { V1DynatraceApmProbeInputs } from '../schemas/V1DynatraceApmProbeIn
5
5
  import type { V1GcpCloudMonitoringInputs } from '../schemas/V1GcpCloudMonitoringInputs';
6
6
  import type { V1NewRelicInputs } from '../schemas/V1NewRelicInputs';
7
7
  import type { V1PrometheusInputs } from '../schemas/V1PrometheusInputs';
8
+ import type { V1SplunkEnterpriseInputs } from '../schemas/V1SplunkEnterpriseInputs';
8
9
  import type { V1SplunkObservabilityInputs } from '../schemas/V1SplunkObservabilityInputs';
9
10
  export interface V1ApmProbeInputs {
10
11
  /**
@@ -35,6 +36,10 @@ export interface V1ApmProbeInputs {
35
36
  * PrometheusInputs contains the inputs required for prometheus probe
36
37
  */
37
38
  prometheusInputs?: V1PrometheusInputs;
39
+ /**
40
+ * SplunkEnterpriseInputs contains the inputs required for Splunk Enterprise APM probe
41
+ */
42
+ splunkEnterpriseInputs?: V1SplunkEnterpriseInputs;
38
43
  /**
39
44
  * SplunkObservabilityInputs contains the inputs required for Splunk Observability probe
40
45
  */
@@ -0,0 +1,23 @@
1
+ import type { GithubComHarnessHceSaasHceSdkCommonProbeV1TlsConfig } from '../schemas/GithubComHarnessHceSaasHceSdkCommonProbeV1TlsConfig';
2
+ export interface V1SplunkEnterpriseInputs {
3
+ /**
4
+ * DurationInMin contains the duration in minutes
5
+ */
6
+ durationInMin?: number;
7
+ /**
8
+ * Endpoint for the Splunk APM probe
9
+ */
10
+ endpoint?: string;
11
+ /**
12
+ * Field to be fetched from the search query
13
+ */
14
+ fieldToFetch?: string;
15
+ /**
16
+ * Search Query for the Splunk APM probe
17
+ */
18
+ searchQuery?: string;
19
+ /**
20
+ * TLSConfig for the Splunk APM probe
21
+ */
22
+ tlsConfig?: GithubComHarnessHceSaasHceSdkCommonProbeV1TlsConfig;
23
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@harnessio/react-chaos-manager-client",
3
- "version": "1.49.1-beta.3",
3
+ "version": "1.51.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,4 +0,0 @@
1
- export interface ChaosComponentActionData {
2
- name?: string;
3
- type?: string;
4
- }