@harnessio/react-chaos-manager-client 1.50.0 → 1.51.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 (67) hide show
  1. package/dist/chaos-manager/src/services/hooks/useGetChaosV2ExperimentVariablesQuery.d.ts +2 -2
  2. package/dist/chaos-manager/src/services/index.d.ts +8 -6
  3. package/dist/chaos-manager/src/services/schemas/ActionActionTemplateRunProperties.d.ts +1 -0
  4. package/dist/chaos-manager/src/services/schemas/ActionsActionResponse.d.ts +5 -2
  5. package/dist/chaos-manager/src/services/schemas/ChaosactiontemplateChaosActionTemplate.d.ts +3 -2
  6. package/dist/chaos-manager/src/services/schemas/ChaoscomponentsGetChaosComponentVariableData.d.ts +2 -2
  7. package/dist/chaos-manager/src/services/schemas/ChaosexperimentpipelineReferenceEntities.d.ts +0 -2
  8. package/dist/chaos-manager/src/services/schemas/ChaosexperimenttemplateChaosExperimentTemplate.d.ts +2 -2
  9. package/dist/chaos-manager/src/services/schemas/ChaosexperimenttemplateExperimentTemplateVariables.d.ts +4 -4
  10. package/dist/chaos-manager/src/services/schemas/ChaosexperimenttemplateInputs.d.ts +5 -0
  11. package/dist/chaos-manager/src/services/schemas/ChaosfaultChaosFault.d.ts +2 -2
  12. package/dist/chaos-manager/src/services/schemas/ChaosfaultCreateFaultRequest.d.ts +7 -4
  13. package/dist/chaos-manager/src/services/schemas/ChaosfaultCreateFaultResponse.d.ts +7 -4
  14. package/dist/chaos-manager/src/services/schemas/ChaosfaultFaultVariables.d.ts +5 -5
  15. package/dist/chaos-manager/src/services/schemas/ChaosfaultGetFaultResponse.d.ts +7 -4
  16. package/dist/chaos-manager/src/services/schemas/ChaosfaultUpdateFaultRequest.d.ts +7 -4
  17. package/dist/chaos-manager/src/services/schemas/ChaosfaultUpdateFaultResponse.d.ts +7 -4
  18. package/dist/chaos-manager/src/services/schemas/ChaosfaulttemplateActionTemplate.d.ts +5 -2
  19. package/dist/chaos-manager/src/services/schemas/ChaosfaulttemplateActionTemplateVariables.d.ts +4 -4
  20. package/dist/chaos-manager/src/services/schemas/ChaosfaulttemplateChaosFaultTemplate.d.ts +2 -2
  21. package/dist/chaos-manager/src/services/schemas/ChaosfaulttemplateCreateFaultTemplateRequest.d.ts +5 -2
  22. package/dist/chaos-manager/src/services/schemas/ChaosfaulttemplateCreateFaultTemplateResponse.d.ts +5 -2
  23. package/dist/chaos-manager/src/services/schemas/ChaosfaulttemplateFaultTemplateVariables.d.ts +5 -5
  24. package/dist/chaos-manager/src/services/schemas/ChaosfaulttemplateUpdateFaultTemplateResponse.d.ts +5 -2
  25. package/dist/chaos-manager/src/services/schemas/ChaosprobetemplateProbeTemplate.d.ts +5 -2
  26. package/dist/chaos-manager/src/services/schemas/ChaosprobetemplateProbeTemplateVariables.d.ts +4 -4
  27. package/dist/chaos-manager/src/services/schemas/ExperimentActionRef.d.ts +3 -3
  28. package/dist/chaos-manager/src/services/schemas/ExperimentFaultRef.d.ts +3 -3
  29. package/dist/chaos-manager/src/services/schemas/ExperimentProbeRef.d.ts +3 -3
  30. package/dist/chaos-manager/src/services/schemas/ExperimenttemplateAction.d.ts +2 -2
  31. package/dist/chaos-manager/src/services/schemas/ExperimenttemplateFault.d.ts +2 -2
  32. package/dist/chaos-manager/src/services/schemas/ExperimenttemplateProbe.d.ts +2 -2
  33. package/dist/chaos-manager/src/services/schemas/FaulttemplateFaultTemplate.d.ts +5 -2
  34. package/dist/chaos-manager/src/services/schemas/GithubComHarnessHceSaasGraphqlServerPkgActionsAction.d.ts +2 -2
  35. package/dist/chaos-manager/src/services/schemas/GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbActionsAction.d.ts +5 -2
  36. package/dist/chaos-manager/src/services/schemas/GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbChaosprobetemplateChaosProbeTemplate.d.ts +3 -2
  37. package/dist/chaos-manager/src/services/schemas/ProbeApmProbeTemplate.d.ts +2 -0
  38. package/dist/chaos-manager/src/services/schemas/ProbeApmProbeType.d.ts +1 -1
  39. package/dist/chaos-manager/src/services/schemas/ProbeSplunkEnterpriseProbeInputs.d.ts +8 -0
  40. package/dist/chaos-manager/src/services/schemas/TemplateChaosComponentInputsetSpec.d.ts +2 -2
  41. package/dist/chaos-manager/src/services/schemas/TemplateChaosExperimentInputsetSpec.d.ts +3 -3
  42. package/dist/chaos-manager/src/services/schemas/TemplateInput.d.ts +17 -0
  43. package/dist/chaos-manager/src/services/schemas/TemplateInputCategory.d.ts +1 -0
  44. package/dist/chaos-manager/src/services/schemas/TemplateInputMinimum.d.ts +4 -0
  45. package/dist/chaos-manager/src/services/schemas/TemplateInputType.d.ts +1 -0
  46. package/dist/chaos-manager/src/services/schemas/TemplateRunTimeInputs.d.ts +7 -0
  47. package/dist/chaos-manager/src/services/schemas/TemplateRunTimeInputs.js +1 -0
  48. package/dist/chaos-manager/src/services/schemas/TypesCreateProbeResponse.d.ts +5 -2
  49. package/dist/chaos-manager/src/services/schemas/TypesGetProbeResponse.d.ts +5 -2
  50. package/dist/chaos-manager/src/services/schemas/TypesProbeRequest.d.ts +5 -2
  51. package/dist/chaos-manager/src/services/schemas/V1ApmProbeInputs.d.ts +5 -0
  52. package/dist/chaos-manager/src/services/schemas/V1SplunkEnterpriseInputs.d.ts +23 -0
  53. package/dist/chaos-manager/src/services/schemas/V1SplunkEnterpriseInputs.js +1 -0
  54. package/dist/chaos-manager/src/services/schemas/V3GetExperimentOrTemplateVariableData.d.ts +2 -2
  55. package/package.json +1 -1
  56. package/dist/chaos-manager/src/services/schemas/ChaosexperimenttemplateVariable.d.ts +0 -5
  57. package/dist/chaos-manager/src/services/schemas/TemplateRunTimeVariables.d.ts +0 -7
  58. package/dist/chaos-manager/src/services/schemas/TemplateVariable.d.ts +0 -17
  59. package/dist/chaos-manager/src/services/schemas/TemplateVariableCategory.d.ts +0 -1
  60. package/dist/chaos-manager/src/services/schemas/TemplateVariableMinimum.d.ts +0 -4
  61. package/dist/chaos-manager/src/services/schemas/TemplateVariableType.d.ts +0 -1
  62. /package/dist/chaos-manager/src/services/schemas/{ChaosexperimenttemplateVariable.js → ChaosexperimenttemplateInputs.js} +0 -0
  63. /package/dist/chaos-manager/src/services/schemas/{TemplateRunTimeVariables.js → ProbeSplunkEnterpriseProbeInputs.js} +0 -0
  64. /package/dist/chaos-manager/src/services/schemas/{TemplateVariable.js → TemplateInput.js} +0 -0
  65. /package/dist/chaos-manager/src/services/schemas/{TemplateVariableCategory.js → TemplateInputCategory.js} +0 -0
  66. /package/dist/chaos-manager/src/services/schemas/{TemplateVariableMinimum.js → TemplateInputMinimum.js} +0 -0
  67. /package/dist/chaos-manager/src/services/schemas/{TemplateVariableType.js → TemplateInputType.js} +0 -0
@@ -1,5 +1,5 @@
1
1
  import { UseQueryOptions } from '@tanstack/react-query';
2
- import type { TemplateRunTimeVariables } from '../schemas/TemplateRunTimeVariables';
2
+ import type { TemplateRunTimeInputs } from '../schemas/TemplateRunTimeInputs';
3
3
  import type { ApiRestError } from '../schemas/ApiRestError';
4
4
  import { FetcherOptions } from '../../../../custom-fetcher/index.js';
5
5
  export interface GetChaosV2ExperimentVariablesQueryPathParams {
@@ -11,7 +11,7 @@ export interface GetChaosV2ExperimentVariablesQueryQueryParams {
11
11
  projectIdentifier: string;
12
12
  isIdentity: boolean;
13
13
  }
14
- export type GetChaosV2ExperimentVariablesOkResponse = TemplateRunTimeVariables;
14
+ export type GetChaosV2ExperimentVariablesOkResponse = TemplateRunTimeInputs;
15
15
  export type GetChaosV2ExperimentVariablesErrorResponse = ApiRestError;
16
16
  export interface GetChaosV2ExperimentVariablesProps extends GetChaosV2ExperimentVariablesQueryPathParams, Omit<FetcherOptions<GetChaosV2ExperimentVariablesQueryQueryParams, unknown>, 'url'> {
17
17
  queryParams: GetChaosV2ExperimentVariablesQueryQueryParams;
@@ -541,10 +541,10 @@ export type { ChaosexperimenttemplateCreateExperimentTemplateResponse } from './
541
541
  export type { ChaosexperimenttemplateExperimentTemplateVariables } from './schemas/ChaosexperimenttemplateExperimentTemplateVariables';
542
542
  export type { ChaosexperimenttemplateExperimentTemplateYaml } from './schemas/ChaosexperimenttemplateExperimentTemplateYaml';
543
543
  export type { ChaosexperimenttemplateGetExperimentTemplateResponse } from './schemas/ChaosexperimenttemplateGetExperimentTemplateResponse';
544
+ export type { ChaosexperimenttemplateInputs } from './schemas/ChaosexperimenttemplateInputs';
544
545
  export type { ChaosexperimenttemplateListExperimentTemplateResponse } from './schemas/ChaosexperimenttemplateListExperimentTemplateResponse';
545
546
  export type { ChaosexperimenttemplateUpdateExperimentTemplateRequest } from './schemas/ChaosexperimenttemplateUpdateExperimentTemplateRequest';
546
547
  export type { ChaosexperimenttemplateUpdateExperimentTemplateResponse } from './schemas/ChaosexperimenttemplateUpdateExperimentTemplateResponse';
547
- export type { ChaosexperimenttemplateVariable } from './schemas/ChaosexperimenttemplateVariable';
548
548
  export type { ChaosfaultChaosFault } from './schemas/ChaosfaultChaosFault';
549
549
  export type { ChaosfaultCreateFaultRequest } from './schemas/ChaosfaultCreateFaultRequest';
550
550
  export type { ChaosfaultCreateFaultResponse } from './schemas/ChaosfaultCreateFaultResponse';
@@ -987,6 +987,7 @@ export type { ProbeSloProbe } from './schemas/ProbeSloProbe';
987
987
  export type { ProbeSloProbeTemplate } from './schemas/ProbeSloProbeTemplate';
988
988
  export type { ProbeSloSourceMetadata } from './schemas/ProbeSloSourceMetadata';
989
989
  export type { ProbeSloSourceMetadataTemplate } from './schemas/ProbeSloSourceMetadataTemplate';
990
+ export type { ProbeSplunkEnterpriseProbeInputs } from './schemas/ProbeSplunkEnterpriseProbeInputs';
990
991
  export type { ProbeSyntheticsTest } from './schemas/ProbeSyntheticsTest';
991
992
  export type { ProbeSyntheticsTestTemplate } from './schemas/ProbeSyntheticsTestTemplate';
992
993
  export type { ProbeTlsConfig } from './schemas/ProbeTlsConfig';
@@ -1057,11 +1058,11 @@ export type { TargetserviceServiceType } from './schemas/TargetserviceServiceTyp
1057
1058
  export type { TargetserviceTargetService } from './schemas/TargetserviceTargetService';
1058
1059
  export type { TemplateChaosComponentInputsetSpec } from './schemas/TemplateChaosComponentInputsetSpec';
1059
1060
  export type { TemplateChaosExperimentInputsetSpec } from './schemas/TemplateChaosExperimentInputsetSpec';
1060
- export type { TemplateRunTimeVariables } from './schemas/TemplateRunTimeVariables';
1061
- export type { TemplateVariable } from './schemas/TemplateVariable';
1062
- export type { TemplateVariableCategory } from './schemas/TemplateVariableCategory';
1063
- export type { TemplateVariableMinimum } from './schemas/TemplateVariableMinimum';
1064
- export type { TemplateVariableType } from './schemas/TemplateVariableType';
1061
+ export type { TemplateInput } from './schemas/TemplateInput';
1062
+ export type { TemplateInputCategory } from './schemas/TemplateInputCategory';
1063
+ export type { TemplateInputMinimum } from './schemas/TemplateInputMinimum';
1064
+ export type { TemplateInputType } from './schemas/TemplateInputType';
1065
+ export type { TemplateRunTimeInputs } from './schemas/TemplateRunTimeInputs';
1065
1066
  export type { TypesActionItem } from './schemas/TypesActionItem';
1066
1067
  export type { TypesCreateExperimentFromTemplateRequest } from './schemas/TypesCreateExperimentFromTemplateRequest';
1067
1068
  export type { TypesCreateGamedayRequest } from './schemas/TypesCreateGamedayRequest';
@@ -1241,6 +1242,7 @@ export type { V1SessionAffinityConfig } from './schemas/V1SessionAffinityConfig'
1241
1242
  export type { V1SloProbeInputs } from './schemas/V1SloProbeInputs';
1242
1243
  export type { V1SloSourceMetadata } from './schemas/V1SloSourceMetadata';
1243
1244
  export type { V1SourceDetails } from './schemas/V1SourceDetails';
1245
+ export type { V1SplunkEnterpriseInputs } from './schemas/V1SplunkEnterpriseInputs';
1244
1246
  export type { V1SplunkObservabilityInputs } from './schemas/V1SplunkObservabilityInputs';
1245
1247
  export type { V1SplunkObservabilityMetrics } from './schemas/V1SplunkObservabilityMetrics';
1246
1248
  export type { V1StorageMedium } from './schemas/V1StorageMedium';
@@ -1,6 +1,7 @@
1
1
  export interface ActionActionTemplateRunProperties {
2
2
  initialDelay?: string;
3
3
  interval?: string;
4
+ iterations?: {};
4
5
  maxRetries?: {};
5
6
  stopOnFailure?: boolean;
6
7
  timeout?: string;
@@ -2,11 +2,11 @@ import type { ActionActionTemplateProperties } from '../schemas/ActionActionTemp
2
2
  import type { GithubComHarnessHceSaasGraphqlServerGraphModelUserDetails } from '../schemas/GithubComHarnessHceSaasGraphqlServerGraphModelUserDetails';
3
3
  import type { MongodbImportType } from '../schemas/MongodbImportType';
4
4
  import type { ActionsInfrastructureType } from '../schemas/ActionsInfrastructureType';
5
+ import type { TemplateInput } from '../schemas/TemplateInput';
5
6
  import type { MongodbManagedBy } from '../schemas/MongodbManagedBy';
6
7
  import type { ActionsRecentExecutions } from '../schemas/ActionsRecentExecutions';
7
8
  import type { ActionActionTemplateRunProperties } from '../schemas/ActionActionTemplateRunProperties';
8
9
  import type { ActionsActionType } from '../schemas/ActionsActionType';
9
- import type { TemplateVariable } from '../schemas/TemplateVariable';
10
10
  export interface ActionsActionResponse {
11
11
  accountID: string;
12
12
  actionProperties?: ActionActionTemplateProperties;
@@ -21,17 +21,20 @@ export interface ActionsActionResponse {
21
21
  identity?: string;
22
22
  importType?: MongodbImportType;
23
23
  infrastructureType?: ActionsInfrastructureType;
24
+ inputs?: TemplateInput[];
24
25
  isImported?: boolean;
25
26
  isRemoved?: boolean;
26
27
  managedBy?: MongodbManagedBy;
27
28
  name: string;
28
29
  orgID?: string;
29
30
  projectID?: string;
31
+ /**
32
+ * Variables template.VariableList `json:"variables" bson:"variables"` @shovanmaity
33
+ */
30
34
  recentExecutions?: ActionsRecentExecutions[];
31
35
  runProperties?: ActionActionTemplateRunProperties;
32
36
  tags?: string[];
33
37
  type?: ActionsActionType;
34
38
  updatedAt?: number;
35
39
  updatedBy?: GithubComHarnessHceSaasGraphqlServerGraphModelUserDetails;
36
- variables?: TemplateVariable[];
37
40
  }
@@ -1,9 +1,9 @@
1
1
  import type { ActionActionTemplateProperties } from '../schemas/ActionActionTemplateProperties';
2
2
  import type { GithubComHarnessHceSaasGraphqlServerGraphModelUserDetails } from '../schemas/GithubComHarnessHceSaasGraphqlServerGraphModelUserDetails';
3
3
  import type { ActionsInfrastructureType } from '../schemas/ActionsInfrastructureType';
4
+ import type { TemplateInput } from '../schemas/TemplateInput';
4
5
  import type { ActionActionTemplateRunProperties } from '../schemas/ActionActionTemplateRunProperties';
5
6
  import type { ActionsActionType } from '../schemas/ActionsActionType';
6
- import type { TemplateVariable } from '../schemas/TemplateVariable';
7
7
  export interface ChaosactiontemplateChaosActionTemplate {
8
8
  accountID: string;
9
9
  /**
@@ -22,6 +22,7 @@ export interface ChaosactiontemplateChaosActionTemplate {
22
22
  */
23
23
  identity?: string;
24
24
  infrastructureType?: ActionsInfrastructureType;
25
+ inputs?: TemplateInput[];
25
26
  /**
26
27
  * isDefault indicates if it is the default version
27
28
  * for predefined faults, latest should be set as default
@@ -37,6 +38,7 @@ export interface ChaosactiontemplateChaosActionTemplate {
37
38
  orgID?: string;
38
39
  projectID?: string;
39
40
  /**
41
+ * Variables template.VariableList `bson:"variables" json:"variables"` @shovanmaity
40
42
  * it increments every time a new version of fault is published
41
43
  */
42
44
  revision?: number;
@@ -47,5 +49,4 @@ export interface ChaosactiontemplateChaosActionTemplate {
47
49
  updatedAt?: number;
48
50
  updatedBy?: string;
49
51
  updatedByUserDetails?: GithubComHarnessHceSaasGraphqlServerGraphModelUserDetails;
50
- variables?: TemplateVariable[];
51
52
  }
@@ -1,5 +1,5 @@
1
- import type { TemplateVariable } from '../schemas/TemplateVariable';
1
+ import type { TemplateInput } from '../schemas/TemplateInput';
2
2
  export interface ChaoscomponentsGetChaosComponentVariableData {
3
3
  name?: string;
4
- variables?: TemplateVariable[];
4
+ variables?: TemplateInput[];
5
5
  }
@@ -1,10 +1,8 @@
1
1
  import type { ExperimentActionRef } from '../schemas/ExperimentActionRef';
2
2
  import type { ExperimentFaultRef } from '../schemas/ExperimentFaultRef';
3
3
  import type { ExperimentProbeRef } from '../schemas/ExperimentProbeRef';
4
- import type { TemplateVariable } from '../schemas/TemplateVariable';
5
4
  export interface ChaosexperimentpipelineReferenceEntities {
6
5
  actionRef?: ExperimentActionRef;
7
6
  faultRef?: ExperimentFaultRef;
8
7
  probeRef?: ExperimentProbeRef;
9
- variables?: TemplateVariable[];
10
8
  }
@@ -1,6 +1,6 @@
1
1
  import type { GithubComHarnessHceSaasGraphqlServerGraphModelUserDetails } from '../schemas/GithubComHarnessHceSaasGraphqlServerGraphModelUserDetails';
2
2
  import type { ExperimentInfraType } from '../schemas/ExperimentInfraType';
3
- import type { TemplateVariable } from '../schemas/TemplateVariable';
3
+ import type { TemplateInput } from '../schemas/TemplateInput';
4
4
  export interface ChaosexperimenttemplateChaosExperimentTemplate {
5
5
  accountID: string;
6
6
  createdAt?: number;
@@ -16,6 +16,7 @@ export interface ChaosexperimenttemplateChaosExperimentTemplate {
16
16
  identity?: string;
17
17
  infraType?: ExperimentInfraType;
18
18
  infras?: string[];
19
+ inputs?: TemplateInput[];
19
20
  isDefault?: boolean;
20
21
  isEnterprise?: boolean;
21
22
  isRemoved: boolean;
@@ -28,5 +29,4 @@ export interface ChaosexperimenttemplateChaosExperimentTemplate {
28
29
  updatedAt?: number;
29
30
  updatedBy?: string;
30
31
  updatedByUserDetails?: GithubComHarnessHceSaasGraphqlServerGraphModelUserDetails;
31
- variables?: TemplateVariable[];
32
32
  }
@@ -1,7 +1,7 @@
1
- import type { ChaosexperimenttemplateVariable } from '../schemas/ChaosexperimenttemplateVariable';
1
+ import type { ChaosexperimenttemplateInputs } from '../schemas/ChaosexperimenttemplateInputs';
2
2
  export interface ChaosexperimenttemplateExperimentTemplateVariables {
3
- actions?: ChaosexperimenttemplateVariable[];
3
+ actions?: ChaosexperimenttemplateInputs[];
4
4
  correlationID?: string;
5
- faults?: ChaosexperimenttemplateVariable[];
6
- probes?: ChaosexperimenttemplateVariable[];
5
+ faults?: ChaosexperimenttemplateInputs[];
6
+ probes?: ChaosexperimenttemplateInputs[];
7
7
  }
@@ -0,0 +1,5 @@
1
+ import type { TemplateInput } from '../schemas/TemplateInput';
2
+ export interface ChaosexperimenttemplateInputs {
3
+ inputs?: TemplateInput[];
4
+ name?: string;
5
+ }
@@ -1,8 +1,8 @@
1
1
  import type { GithubComHarnessHceSaasGraphqlServerGraphModelUserDetails } from '../schemas/GithubComHarnessHceSaasGraphqlServerGraphModelUserDetails';
2
2
  import type { MongodbImportType } from '../schemas/MongodbImportType';
3
+ import type { TemplateInput } from '../schemas/TemplateInput';
3
4
  import type { ChaosfaultLink } from '../schemas/ChaosfaultLink';
4
5
  import type { MongodbManagedBy } from '../schemas/MongodbManagedBy';
5
- import type { TemplateVariable } from '../schemas/TemplateVariable';
6
6
  export interface ChaosfaultChaosFault {
7
7
  accountID: string;
8
8
  category?: string[];
@@ -22,6 +22,7 @@ export interface ChaosfaultChaosFault {
22
22
  importType?: MongodbImportType;
23
23
  infraType?: string;
24
24
  infras?: string[];
25
+ inputs?: TemplateInput[];
25
26
  isEnterprise?: boolean;
26
27
  isRemoved: boolean;
27
28
  links?: ChaosfaultLink[];
@@ -39,5 +40,4 @@ export interface ChaosfaultChaosFault {
39
40
  updatedAt?: number;
40
41
  updatedBy?: string;
41
42
  updatedByUserDetails?: GithubComHarnessHceSaasGraphqlServerGraphModelUserDetails;
42
- variables?: TemplateVariable[];
43
43
  }
@@ -1,10 +1,10 @@
1
1
  import type { CommonImportType } from '../schemas/CommonImportType';
2
+ import type { TemplateInput } from '../schemas/TemplateInput';
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
- import type { TemplateVariableMinimum } from '../schemas/TemplateVariableMinimum';
7
- import type { TemplateVariable } from '../schemas/TemplateVariable';
7
+ import type { TemplateInputMinimum } from '../schemas/TemplateInputMinimum';
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?: TemplateInput[];
16
17
  kind?: string;
17
18
  links?: FaultLink[];
18
19
  managedBy?: MongodbManagedBy;
@@ -20,9 +21,11 @@ export interface ChaosfaultCreateFaultRequest {
20
21
  permissionsRequired?: string;
21
22
  spec?: FaulttemplateSpec;
22
23
  tags?: string[];
24
+ /**
25
+ * Variables template.VariableList `bson:"variables" json:"variables" yaml:"variables"` @shovanmaity
26
+ */
23
27
  templateReference?: FaultTemplateReference;
24
28
  type?: string;
25
29
  updatedAt?: number;
26
- values?: TemplateVariableMinimum[];
27
- variables?: TemplateVariable[];
30
+ values?: TemplateInputMinimum[];
28
31
  }
@@ -1,9 +1,9 @@
1
1
  import type { CommonImportType } from '../schemas/CommonImportType';
2
+ import type { TemplateInput } from '../schemas/TemplateInput';
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
- import type { TemplateVariableMinimum } from '../schemas/TemplateVariableMinimum';
6
- import type { TemplateVariable } from '../schemas/TemplateVariable';
6
+ import type { TemplateInputMinimum } from '../schemas/TemplateInputMinimum';
7
7
  export interface ChaosfaultCreateFaultResponse {
8
8
  apiVersion?: string;
9
9
  category?: string[];
@@ -14,15 +14,18 @@ export interface ChaosfaultCreateFaultResponse {
14
14
  importType?: CommonImportType;
15
15
  infraType?: string;
16
16
  infras?: string[];
17
+ inputs?: TemplateInput[];
17
18
  kind?: string;
18
19
  links?: FaultLink[];
19
20
  name: string;
20
21
  permissionsRequired?: string;
21
22
  spec?: FaulttemplateSpec;
22
23
  tags?: string[];
24
+ /**
25
+ * Variables template.VariableList `bson:"variables" json:"variables" yaml:"variables"` @shovanmaity
26
+ */
23
27
  templateReference?: FaultTemplateReference;
24
28
  type?: string;
25
29
  updatedAt?: number;
26
- values?: TemplateVariableMinimum[];
27
- variables?: TemplateVariable[];
30
+ values?: TemplateInputMinimum[];
28
31
  }
@@ -1,8 +1,8 @@
1
- import type { TemplateVariable } from '../schemas/TemplateVariable';
1
+ import type { TemplateInput } from '../schemas/TemplateInput';
2
2
  export interface ChaosfaultFaultVariables {
3
3
  correlationID?: string;
4
- faultAuthentication?: TemplateVariable[];
5
- faultTargets?: TemplateVariable[];
6
- faultTunable?: TemplateVariable[];
7
- variables?: TemplateVariable[];
4
+ faultAuthentication?: TemplateInput[];
5
+ faultTargets?: TemplateInput[];
6
+ faultTunable?: TemplateInput[];
7
+ inputs?: TemplateInput[];
8
8
  }
@@ -1,10 +1,10 @@
1
1
  import type { CommonImportType } from '../schemas/CommonImportType';
2
+ import type { TemplateInput } from '../schemas/TemplateInput';
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
- import type { TemplateVariableMinimum } from '../schemas/TemplateVariableMinimum';
7
- import type { TemplateVariable } from '../schemas/TemplateVariable';
7
+ import type { TemplateInputMinimum } from '../schemas/TemplateInputMinimum';
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?: TemplateInput[];
17
18
  isEnterprise?: boolean;
18
19
  kind?: string;
19
20
  links?: FaultLink[];
@@ -22,9 +23,11 @@ export interface ChaosfaultGetFaultResponse {
22
23
  permissionsRequired?: string;
23
24
  spec?: FaulttemplateSpec;
24
25
  tags?: string[];
26
+ /**
27
+ * Variables template.VariableList `bson:"variables" json:"variables" yaml:"variables"` @shovanmaity
28
+ */
25
29
  templateReference?: FaultTemplateReference;
26
30
  type?: string;
27
31
  updatedAt?: number;
28
- values?: TemplateVariableMinimum[];
29
- variables?: TemplateVariable[];
32
+ values?: TemplateInputMinimum[];
30
33
  }
@@ -1,9 +1,9 @@
1
1
  import type { CommonImportType } from '../schemas/CommonImportType';
2
+ import type { TemplateInput } from '../schemas/TemplateInput';
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
- import type { TemplateVariableMinimum } from '../schemas/TemplateVariableMinimum';
6
- import type { TemplateVariable } from '../schemas/TemplateVariable';
6
+ import type { TemplateInputMinimum } from '../schemas/TemplateInputMinimum';
7
7
  export interface ChaosfaultUpdateFaultRequest {
8
8
  apiVersion?: string;
9
9
  category?: string[];
@@ -12,15 +12,18 @@ export interface ChaosfaultUpdateFaultRequest {
12
12
  importType?: CommonImportType;
13
13
  infraType?: string;
14
14
  infras?: string[];
15
+ inputs?: TemplateInput[];
15
16
  kind?: string;
16
17
  links?: FaultLink[];
17
18
  name: string;
18
19
  permissionsRequired?: string;
19
20
  spec?: FaulttemplateSpec;
20
21
  tags?: string[];
22
+ /**
23
+ * Variables template.VariableList `bson:"variables" json:"variables" yaml:"variables"` @shovanmaity
24
+ */
21
25
  templateReference?: FaultTemplateReference;
22
26
  type?: string;
23
27
  updatedAt?: number;
24
- values?: TemplateVariableMinimum[];
25
- variables?: TemplateVariable[];
28
+ values?: TemplateInputMinimum[];
26
29
  }
@@ -1,9 +1,9 @@
1
1
  import type { CommonImportType } from '../schemas/CommonImportType';
2
+ import type { TemplateInput } from '../schemas/TemplateInput';
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
- import type { TemplateVariableMinimum } from '../schemas/TemplateVariableMinimum';
6
- import type { TemplateVariable } from '../schemas/TemplateVariable';
6
+ import type { TemplateInputMinimum } from '../schemas/TemplateInputMinimum';
7
7
  export interface ChaosfaultUpdateFaultResponse {
8
8
  apiVersion?: string;
9
9
  category?: string[];
@@ -13,15 +13,18 @@ export interface ChaosfaultUpdateFaultResponse {
13
13
  importType?: CommonImportType;
14
14
  infraType?: string;
15
15
  infras?: string[];
16
+ inputs?: TemplateInput[];
16
17
  kind?: string;
17
18
  links?: FaultLink[];
18
19
  name: string;
19
20
  permissionsRequired?: string;
20
21
  spec?: FaulttemplateSpec;
21
22
  tags?: string[];
23
+ /**
24
+ * Variables template.VariableList `bson:"variables" json:"variables" yaml:"variables"` @shovanmaity
25
+ */
22
26
  templateReference?: FaultTemplateReference;
23
27
  type?: string;
24
28
  updatedAt?: number;
25
- values?: TemplateVariableMinimum[];
26
- variables?: TemplateVariable[];
29
+ values?: TemplateInputMinimum[];
27
30
  }
@@ -1,18 +1,21 @@
1
1
  import type { ActionActionTemplateProperties } from '../schemas/ActionActionTemplateProperties';
2
2
  import type { ActionsInfrastructureType } from '../schemas/ActionsInfrastructureType';
3
+ import type { TemplateInput } from '../schemas/TemplateInput';
3
4
  import type { ActionActionTemplateRunProperties } from '../schemas/ActionActionTemplateRunProperties';
4
- import type { TemplateVariable } from '../schemas/TemplateVariable';
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?: TemplateInput[];
11
12
  isDefault?: boolean;
12
13
  name: string;
14
+ /**
15
+ * Variables template.VariableList `json:"variables" yaml:"variables,omitempty"` @shovanmaity
16
+ */
13
17
  revision?: number;
14
18
  runProperties?: ActionActionTemplateRunProperties;
15
19
  tags?: string[];
16
20
  type?: string;
17
- variables?: TemplateVariable[];
18
21
  }
@@ -1,6 +1,6 @@
1
- import type { TemplateVariable } from '../schemas/TemplateVariable';
1
+ import type { TemplateInput } from '../schemas/TemplateInput';
2
2
  export interface ChaosfaulttemplateActionTemplateVariables {
3
- actionProperties?: TemplateVariable[];
4
- actionRunProperty?: TemplateVariable[];
5
- variables?: TemplateVariable[];
3
+ actionProperties?: TemplateInput[];
4
+ actionRunProperty?: TemplateInput[];
5
+ inputs?: TemplateInput[];
6
6
  }
@@ -1,6 +1,6 @@
1
1
  import type { GithubComHarnessHceSaasGraphqlServerGraphModelUserDetails } from '../schemas/GithubComHarnessHceSaasGraphqlServerGraphModelUserDetails';
2
+ import type { TemplateInput } from '../schemas/TemplateInput';
2
3
  import type { ChaosfaulttemplateLink } from '../schemas/ChaosfaulttemplateLink';
3
- import type { TemplateVariable } from '../schemas/TemplateVariable';
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?: TemplateInput[];
25
26
  isDefault?: boolean;
26
27
  isEnterprise?: boolean;
27
28
  isRemoved: boolean;
@@ -37,5 +38,4 @@ export interface ChaosfaulttemplateChaosFaultTemplate {
37
38
  updatedAt?: number;
38
39
  updatedBy?: string;
39
40
  updatedByUserDetails?: GithubComHarnessHceSaasGraphqlServerGraphModelUserDetails;
40
- variables?: TemplateVariable[];
41
41
  }
@@ -1,6 +1,6 @@
1
+ import type { TemplateInput } from '../schemas/TemplateInput';
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,10 @@ export interface ChaosfaulttemplateCreateFaultTemplateRequest {
8
8
  identity: string;
9
9
  infraType?: string;
10
10
  infras?: string[];
11
+ /**
12
+ * Variables template.VariableList `bson:"variables" json:"variables" yaml:"variables"` @shovanmaity
13
+ */
14
+ inputs?: TemplateInput[];
11
15
  isDefault?: boolean;
12
16
  keywords?: string[];
13
17
  kind?: string;
@@ -19,5 +23,4 @@ export interface ChaosfaulttemplateCreateFaultTemplateRequest {
19
23
  spec?: FaulttemplateSpec;
20
24
  tags?: string[];
21
25
  type?: string;
22
- variables?: TemplateVariable[];
23
26
  }
@@ -1,6 +1,6 @@
1
+ import type { TemplateInput } from '../schemas/TemplateInput';
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,10 @@ export interface ChaosfaulttemplateCreateFaultTemplateResponse {
10
10
  identity: string;
11
11
  infraType?: string;
12
12
  infras?: string[];
13
+ /**
14
+ * Variables template.VariableList `bson:"variables" json:"variables" yaml:"variables"` @shovanmaity
15
+ */
16
+ inputs?: TemplateInput[];
13
17
  isDefault?: boolean;
14
18
  keywords?: string[];
15
19
  kind?: string;
@@ -21,5 +25,4 @@ export interface ChaosfaulttemplateCreateFaultTemplateResponse {
21
25
  spec?: FaulttemplateSpec;
22
26
  tags?: string[];
23
27
  type?: string;
24
- variables?: TemplateVariable[];
25
28
  }
@@ -1,8 +1,8 @@
1
- import type { TemplateVariable } from '../schemas/TemplateVariable';
1
+ import type { TemplateInput } from '../schemas/TemplateInput';
2
2
  export interface ChaosfaulttemplateFaultTemplateVariables {
3
3
  correlationID?: string;
4
- faultAuthentication?: TemplateVariable[];
5
- faultTargets?: TemplateVariable[];
6
- faultTunable?: TemplateVariable[];
7
- variables?: TemplateVariable[];
4
+ faultAuthentication?: TemplateInput[];
5
+ faultTargets?: TemplateInput[];
6
+ faultTunable?: TemplateInput[];
7
+ inputs?: TemplateInput[];
8
8
  }
@@ -1,6 +1,6 @@
1
+ import type { TemplateInput } from '../schemas/TemplateInput';
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,10 @@ export interface ChaosfaulttemplateUpdateFaultTemplateResponse {
10
10
  identity: string;
11
11
  infraType?: string;
12
12
  infras?: string[];
13
+ /**
14
+ * Variables template.VariableList `bson:"variables" json:"variables" yaml:"variables"` @shovanmaity
15
+ */
16
+ inputs?: TemplateInput[];
13
17
  isDefault?: boolean;
14
18
  keywords?: string[];
15
19
  kind?: string;
@@ -21,5 +25,4 @@ export interface ChaosfaulttemplateUpdateFaultTemplateResponse {
21
25
  spec?: FaulttemplateSpec;
22
26
  tags?: string[];
23
27
  type?: string;
24
- variables?: TemplateVariable[];
25
28
  }
@@ -1,19 +1,22 @@
1
1
  import type { ProbeInfrastructureType } from '../schemas/ProbeInfrastructureType';
2
+ import type { TemplateInput } from '../schemas/TemplateInput';
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?: TemplateInput[];
11
12
  isDefault?: boolean;
12
13
  name: string;
13
14
  probeProperties?: ProbeProbeTemplateProperties;
15
+ /**
16
+ * Variables template.VariableList `json:"variables" yaml:"variables,omitempty"` @shovanmaity
17
+ */
14
18
  revision?: number;
15
19
  runProperties?: ProbeProbeTemplateRunProperties;
16
20
  tags?: string[];
17
21
  type?: ProbeProbeType;
18
- variables?: TemplateVariable[];
19
22
  }
@@ -1,6 +1,6 @@
1
- import type { TemplateVariable } from '../schemas/TemplateVariable';
1
+ import type { TemplateInput } from '../schemas/TemplateInput';
2
2
  export interface ChaosprobetemplateProbeTemplateVariables {
3
- probeProperties?: TemplateVariable[];
4
- probeRunProperty?: TemplateVariable[];
5
- variables?: TemplateVariable[];
3
+ inputs?: TemplateInput[];
4
+ probeProperties?: TemplateInput[];
5
+ probeRunProperty?: TemplateInput[];
6
6
  }
@@ -1,5 +1,5 @@
1
1
  import type { K8sIoApiCoreV1EnvVar } from '../schemas/K8sIoApiCoreV1EnvVar';
2
- import type { TemplateVariableMinimum } from '../schemas/TemplateVariableMinimum';
2
+ import type { TemplateInputMinimum } from '../schemas/TemplateInputMinimum';
3
3
  export interface ExperimentActionRef {
4
4
  /**
5
5
  * Args of the action
@@ -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
- values?: TemplateVariableMinimum[];
39
+ values?: TemplateInputMinimum[];
40
40
  }
@@ -1,4 +1,4 @@
1
- import type { TemplateVariableMinimum } from '../schemas/TemplateVariableMinimum';
1
+ import type { TemplateInputMinimum } from '../schemas/TemplateInputMinimum';
2
2
  export interface ExperimentFaultRef {
3
3
  /**
4
4
  * AuthEnabled denotes whether authentication is enabled for the fault
@@ -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
- values?: TemplateVariableMinimum[];
26
+ values?: TemplateInputMinimum[];
27
27
  }
@@ -1,6 +1,6 @@
1
1
  import type { ExperimentProbeActions } from '../schemas/ExperimentProbeActions';
2
2
  import type { ExperimentProbeConditions } from '../schemas/ExperimentProbeConditions';
3
- import type { TemplateVariableMinimum } from '../schemas/TemplateVariableMinimum';
3
+ import type { TemplateInputMinimum } from '../schemas/TemplateInputMinimum';
4
4
  export interface ExperimentProbeRef {
5
5
  /**
6
6
  * Actions to be performed
@@ -43,9 +43,9 @@ 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
- values?: TemplateVariableMinimum[];
48
+ values?: TemplateInputMinimum[];
49
49
  /**
50
50
  * Weightage of the probe
51
51
  */
@@ -1,4 +1,4 @@
1
- import type { TemplateVariableMinimum } from '../schemas/TemplateVariableMinimum';
1
+ import type { TemplateInputMinimum } from '../schemas/TemplateInputMinimum';
2
2
  export interface ExperimenttemplateAction {
3
3
  continueOnCompletion?: boolean;
4
4
  identity?: string;
@@ -6,5 +6,5 @@ export interface ExperimenttemplateAction {
6
6
  isEnterprise?: boolean;
7
7
  name?: string;
8
8
  revision?: number;
9
- values?: TemplateVariableMinimum[];
9
+ values?: TemplateInputMinimum[];
10
10
  }
@@ -1,4 +1,4 @@
1
- import type { TemplateVariableMinimum } from '../schemas/TemplateVariableMinimum';
1
+ import type { TemplateInputMinimum } from '../schemas/TemplateInputMinimum';
2
2
  export interface ExperimenttemplateFault {
3
3
  authEnabled?: boolean;
4
4
  identity?: string;
@@ -6,5 +6,5 @@ export interface ExperimenttemplateFault {
6
6
  isEnterprise?: boolean;
7
7
  name?: string;
8
8
  revision?: string;
9
- values?: TemplateVariableMinimum[];
9
+ values?: TemplateInputMinimum[];
10
10
  }
@@ -1,5 +1,5 @@
1
1
  import type { ExperimenttemplateProbeConditions } from '../schemas/ExperimenttemplateProbeConditions';
2
- import type { TemplateVariableMinimum } from '../schemas/TemplateVariableMinimum';
2
+ import type { TemplateInputMinimum } from '../schemas/TemplateInputMinimum';
3
3
  export interface ExperimenttemplateProbe {
4
4
  conditions?: ExperimenttemplateProbeConditions[];
5
5
  duration?: string;
@@ -9,6 +9,6 @@ export interface ExperimenttemplateProbe {
9
9
  isEnterprise?: boolean;
10
10
  name?: string;
11
11
  revision?: number;
12
- values?: TemplateVariableMinimum[];
12
+ values?: TemplateInputMinimum[];
13
13
  weightage?: number;
14
14
  }
@@ -1,6 +1,6 @@
1
+ import type { TemplateInput } from '../schemas/TemplateInput';
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,10 @@ export interface FaulttemplateFaultTemplate {
8
8
  identity: string;
9
9
  infraType?: string;
10
10
  infras?: string[];
11
+ /**
12
+ * Variables template.VariableList `bson:"variables" json:"variables" yaml:"variables"` @shovanmaity
13
+ */
14
+ inputs?: TemplateInput[];
11
15
  isDefault?: boolean;
12
16
  keywords?: string[];
13
17
  kind?: string;
@@ -19,5 +23,4 @@ export interface FaulttemplateFaultTemplate {
19
23
  spec?: FaulttemplateSpec;
20
24
  tags?: string[];
21
25
  type?: string;
22
- variables?: TemplateVariable[];
23
26
  }
@@ -1,8 +1,8 @@
1
1
  import type { ActionActionTemplateProperties } from '../schemas/ActionActionTemplateProperties';
2
2
  import type { ActionsInfrastructureType } from '../schemas/ActionsInfrastructureType';
3
+ import type { TemplateInput } from '../schemas/TemplateInput';
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,9 @@ export interface GithubComHarnessHceSaasGraphqlServerPkgActionsAction {
10
10
  hubRef?: string;
11
11
  identity?: string;
12
12
  infrastructureType?: ActionsInfrastructureType;
13
+ inputs?: TemplateInput[];
13
14
  name: string;
14
15
  runProperties?: ActionActionTemplateRunProperties;
15
16
  tags?: string[];
16
17
  type?: ActionsActionType;
17
- variables?: TemplateVariable[];
18
18
  }
@@ -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 { TemplateInput } from '../schemas/TemplateInput';
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,14 +17,17 @@ export interface GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbActionsAc
17
17
  identity?: string;
18
18
  importType?: MongodbImportType;
19
19
  infrastructureType?: ActionsInfrastructureType;
20
+ inputs?: TemplateInput[];
20
21
  isRemoved?: boolean;
21
22
  managedBy?: MongodbManagedBy;
22
23
  name: string;
23
24
  orgID?: string;
24
25
  projectID?: string;
26
+ /**
27
+ * Variables template.VariableList `json:"variables" bson:"variables"` @shovanmaity
28
+ */
25
29
  recentExecutions?: ActionsRecentExecutions[];
26
30
  runProperties?: ActionActionTemplateRunProperties;
27
31
  tags?: string[];
28
32
  type?: ActionsActionType;
29
- variables?: TemplateVariable[];
30
33
  }
@@ -1,9 +1,9 @@
1
1
  import type { GithubComHarnessHceSaasGraphqlServerGraphModelUserDetails } from '../schemas/GithubComHarnessHceSaasGraphqlServerGraphModelUserDetails';
2
2
  import type { ProbeInfrastructureType } from '../schemas/ProbeInfrastructureType';
3
+ import type { TemplateInput } from '../schemas/TemplateInput';
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?: TemplateInput[];
21
22
  /**
22
23
  * isDefault indicates if it is the default version
23
24
  * for predefined faults, latest should be set as default
@@ -30,6 +31,7 @@ export interface GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbChaosprob
30
31
  probeProperties?: ProbeProbeTemplateProperties;
31
32
  projectID?: string;
32
33
  /**
34
+ * Variables template.VariableList `bson:"variables" json:"variables"` @shovanmaity
33
35
  * it increments every time a new version of fault is published
34
36
  */
35
37
  revision?: number;
@@ -40,5 +42,4 @@ export interface GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbChaosprob
40
42
  updatedAt?: number;
41
43
  updatedBy?: string;
42
44
  updatedByUserDetails?: GithubComHarnessHceSaasGraphqlServerGraphModelUserDetails;
43
- variables?: TemplateVariable[];
44
45
  }
@@ -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
+ }
@@ -1,6 +1,6 @@
1
- import type { TemplateVariableMinimum } from '../schemas/TemplateVariableMinimum';
1
+ import type { TemplateInputMinimum } from '../schemas/TemplateInputMinimum';
2
2
  export interface TemplateChaosComponentInputsetSpec {
3
3
  tasks?: {
4
- [key: string]: TemplateVariableMinimum[];
4
+ [key: string]: TemplateInputMinimum[];
5
5
  };
6
6
  }
@@ -1,7 +1,7 @@
1
- import type { TemplateVariableMinimum } from '../schemas/TemplateVariableMinimum';
1
+ import type { TemplateInputMinimum } from '../schemas/TemplateInputMinimum';
2
2
  export interface TemplateChaosExperimentInputsetSpec {
3
- experiment?: TemplateVariableMinimum[];
3
+ experiment?: TemplateInputMinimum[];
4
4
  tasks?: {
5
- [key: string]: TemplateVariableMinimum[];
5
+ [key: string]: TemplateInputMinimum[];
6
6
  };
7
7
  }
@@ -0,0 +1,17 @@
1
+ import type { TemplateInputCategory } from '../schemas/TemplateInputCategory';
2
+ import type { TemplateInputType } from '../schemas/TemplateInputType';
3
+ export interface TemplateInput {
4
+ allowedValues?: Array<{}>;
5
+ category?: TemplateInputCategory;
6
+ default?: {};
7
+ description?: string;
8
+ name: string;
9
+ path?: string;
10
+ required?: boolean;
11
+ stringify?: boolean;
12
+ tags?: string[];
13
+ tooltipId?: string;
14
+ type?: TemplateInputType;
15
+ validator?: string;
16
+ value: {};
17
+ }
@@ -0,0 +1 @@
1
+ export type TemplateInputCategory = 'ActionProperties' | 'ExperimentTunable' | 'FaultAuthentication' | 'FaultTarget' | 'FaultTunable' | 'ProbeProperties' | 'RunProperties' | 'TargetInfra';
@@ -0,0 +1,4 @@
1
+ export interface TemplateInputMinimum {
2
+ name: string;
3
+ value: {};
4
+ }
@@ -0,0 +1 @@
1
+ export type TemplateInputType = 'Boolean' | 'Integer' | 'Number' | 'SecretFile' | 'SecretText' | 'String';
@@ -0,0 +1,7 @@
1
+ import type { TemplateInput } from '../schemas/TemplateInput';
2
+ export interface TemplateRunTimeInputs {
3
+ experiment?: TemplateInput[];
4
+ tasks?: {
5
+ [key: string]: TemplateInput[];
6
+ };
7
+ }
@@ -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 { TemplateInput } from '../schemas/TemplateInput';
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?: TemplateInput[];
18
19
  k8sProperties?: ProbeK8SProbe;
19
20
  kubernetesCmdProperties?: ProbeKubernetesCmdProbe;
20
21
  kubernetesDatadogProperties?: ProbeDatadogProbe;
@@ -27,10 +28,12 @@ export interface TypesCreateProbeResponse {
27
28
  name?: string;
28
29
  probeId?: string;
29
30
  promProperties?: ProbePromProbe;
31
+ /**
32
+ * Variables template.VariableList `json:"variables" bson:"variables"` @shovanmaity
33
+ */
30
34
  revisionId?: string;
31
35
  sloProperties?: ProbeSloProbe;
32
36
  tags?: string[];
33
- variables?: TemplateVariable[];
34
37
  windowsCmdProperties?: ProbeWindowsCmdProbe;
35
38
  windowsHttpProperties?: ProbeHttpProbe;
36
39
  }
@@ -1,20 +1,24 @@
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 { TemplateInput } from '../schemas/TemplateInput';
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;
13
13
  description?: string;
14
+ /**
15
+ * Variables template.VariableList `json:"variables,omitempty"` @shovanmaity
16
+ */
14
17
  hubRef?: string;
15
18
  identity?: string;
16
19
  importType?: MongodbImportType;
17
20
  infrastructureType?: TypesInfrastructureType;
21
+ inputs?: TemplateInput[];
18
22
  isEnabled?: boolean;
19
23
  isImported?: boolean;
20
24
  isVerified?: boolean;
@@ -31,5 +35,4 @@ export interface TypesGetProbeResponse {
31
35
  type?: TypesProbeType;
32
36
  updatedAt?: number;
33
37
  updatedBy?: GithubComHarnessHceSaasGraphqlServerGraphModelUserDetails;
34
- variables?: TemplateVariable[];
35
38
  }
@@ -1,17 +1,21 @@
1
1
  import type { MongodbImportType } from '../schemas/MongodbImportType';
2
2
  import type { TypesInfrastructureType } from '../schemas/TypesInfrastructureType';
3
+ import type { TemplateInput } from '../schemas/TemplateInput';
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
+ /**
12
+ * Variables template.VariableList `json:"variables,omitempty"` @shovanmaity
13
+ */
11
14
  hubRef?: string;
12
15
  identity?: string;
13
16
  importType?: MongodbImportType;
14
17
  infrastructureType?: TypesInfrastructureType;
18
+ inputs?: TemplateInput[];
15
19
  isEnabled?: boolean;
16
20
  isImported?: boolean;
17
21
  isVerified?: boolean;
@@ -26,5 +30,4 @@ export interface TypesProbeRequest {
26
30
  runProperties?: ProbeProbeTemplateRunProperties;
27
31
  tags?: string[];
28
32
  type?: TypesProbeType;
29
- variables?: TemplateVariable[];
30
33
  }
@@ -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
+ }
@@ -1,5 +1,5 @@
1
- import type { TemplateVariable } from '../schemas/TemplateVariable';
1
+ import type { TemplateInput } from '../schemas/TemplateInput';
2
2
  export interface V3GetExperimentOrTemplateVariableData {
3
3
  name?: string;
4
- variables?: TemplateVariable[];
4
+ variables?: TemplateInput[];
5
5
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@harnessio/react-chaos-manager-client",
3
- "version": "1.50.0",
3
+ "version": "1.51.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
- import type { TemplateVariable } from '../schemas/TemplateVariable';
2
- export interface ChaosexperimenttemplateVariable {
3
- name?: string;
4
- variables?: TemplateVariable[];
5
- }
@@ -1,7 +0,0 @@
1
- import type { TemplateVariable } from '../schemas/TemplateVariable';
2
- export interface TemplateRunTimeVariables {
3
- experiment?: TemplateVariable[];
4
- tasks?: {
5
- [key: string]: TemplateVariable[];
6
- };
7
- }
@@ -1,17 +0,0 @@
1
- import type { TemplateVariableCategory } from '../schemas/TemplateVariableCategory';
2
- import type { TemplateVariableType } from '../schemas/TemplateVariableType';
3
- export interface TemplateVariable {
4
- allowedValues?: Array<{}>;
5
- category?: TemplateVariableCategory;
6
- default?: {};
7
- description?: string;
8
- name: string;
9
- path?: string;
10
- required?: boolean;
11
- stringify?: boolean;
12
- tags?: string[];
13
- tooltipId?: string;
14
- type?: TemplateVariableType;
15
- validator?: string;
16
- value: {};
17
- }
@@ -1 +0,0 @@
1
- export type TemplateVariableCategory = 'ActionProperties' | 'ExperimentTunable' | 'FaultAuthentication' | 'FaultTarget' | 'FaultTunable' | 'ProbeProperties' | 'RunProperties' | 'TargetInfra';
@@ -1,4 +0,0 @@
1
- export interface TemplateVariableMinimum {
2
- name: string;
3
- value: {};
4
- }
@@ -1 +0,0 @@
1
- export type TemplateVariableType = 'Boolean' | 'Integer' | 'Number' | 'SecretFile' | 'SecretText' | 'String';