@harnessio/react-chaos-manager-client 1.51.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 (45) hide show
  1. package/dist/chaos-manager/src/services/index.d.ts +2 -2
  2. package/dist/chaos-manager/src/services/schemas/ActionsActionResponse.d.ts +5 -6
  3. package/dist/chaos-manager/src/services/schemas/ChaosactiontemplateChaosActionTemplate.d.ts +3 -6
  4. package/dist/chaos-manager/src/services/schemas/ChaoscomponentsGetChaosComponentVariableData.d.ts +2 -2
  5. package/dist/chaos-manager/src/services/schemas/ChaosexperimenttemplateChaosExperimentTemplate.d.ts +2 -6
  6. package/dist/chaos-manager/src/services/schemas/ChaosexperimenttemplateInputs.d.ts +2 -6
  7. package/dist/chaos-manager/src/services/schemas/ChaosfaultChaosFault.d.ts +2 -6
  8. package/dist/chaos-manager/src/services/schemas/ChaosfaultCreateFaultRequest.d.ts +7 -5
  9. package/dist/chaos-manager/src/services/schemas/ChaosfaultCreateFaultResponse.d.ts +7 -5
  10. package/dist/chaos-manager/src/services/schemas/ChaosfaultFaultVariables.d.ts +5 -9
  11. package/dist/chaos-manager/src/services/schemas/ChaosfaultGetFaultResponse.d.ts +7 -5
  12. package/dist/chaos-manager/src/services/schemas/ChaosfaultUpdateFaultRequest.d.ts +7 -5
  13. package/dist/chaos-manager/src/services/schemas/ChaosfaultUpdateFaultResponse.d.ts +7 -5
  14. package/dist/chaos-manager/src/services/schemas/ChaosfaulttemplateActionTemplate.d.ts +5 -6
  15. package/dist/chaos-manager/src/services/schemas/ChaosfaulttemplateActionTemplateVariables.d.ts +4 -8
  16. package/dist/chaos-manager/src/services/schemas/ChaosfaulttemplateChaosFaultTemplate.d.ts +2 -6
  17. package/dist/chaos-manager/src/services/schemas/ChaosfaulttemplateCreateFaultTemplateRequest.d.ts +5 -3
  18. package/dist/chaos-manager/src/services/schemas/ChaosfaulttemplateCreateFaultTemplateResponse.d.ts +5 -3
  19. package/dist/chaos-manager/src/services/schemas/ChaosfaulttemplateFaultTemplateVariables.d.ts +5 -9
  20. package/dist/chaos-manager/src/services/schemas/ChaosfaulttemplateUpdateFaultTemplateResponse.d.ts +5 -3
  21. package/dist/chaos-manager/src/services/schemas/ChaosprobetemplateProbeTemplate.d.ts +5 -6
  22. package/dist/chaos-manager/src/services/schemas/ChaosprobetemplateProbeTemplateVariables.d.ts +4 -8
  23. package/dist/chaos-manager/src/services/schemas/ExperimentActionRef.d.ts +2 -2
  24. package/dist/chaos-manager/src/services/schemas/ExperimentFaultRef.d.ts +2 -2
  25. package/dist/chaos-manager/src/services/schemas/ExperimentProbeRef.d.ts +2 -2
  26. package/dist/chaos-manager/src/services/schemas/ExperimenttemplateAction.d.ts +2 -2
  27. package/dist/chaos-manager/src/services/schemas/ExperimenttemplateFault.d.ts +2 -2
  28. package/dist/chaos-manager/src/services/schemas/ExperimenttemplateProbe.d.ts +2 -2
  29. package/dist/chaos-manager/src/services/schemas/FaulttemplateFaultTemplate.d.ts +5 -3
  30. package/dist/chaos-manager/src/services/schemas/GithubComHarnessHceSaasGraphqlServerPkgActionsAction.d.ts +2 -6
  31. package/dist/chaos-manager/src/services/schemas/GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbActionsAction.d.ts +5 -6
  32. package/dist/chaos-manager/src/services/schemas/GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbChaosprobetemplateChaosProbeTemplate.d.ts +3 -6
  33. package/dist/chaos-manager/src/services/schemas/TemplateChaosComponentInputsetSpec.d.ts +2 -2
  34. package/dist/chaos-manager/src/services/schemas/TemplateChaosExperimentInputsetSpec.d.ts +3 -3
  35. package/dist/chaos-manager/src/services/schemas/{TemplateVariable.d.ts → TemplateInput.d.ts} +1 -1
  36. package/dist/chaos-manager/src/services/schemas/TemplateInputMinimum.d.ts +4 -0
  37. package/dist/chaos-manager/src/services/schemas/TemplateRunTimeInputs.d.ts +3 -3
  38. package/dist/chaos-manager/src/services/schemas/TypesCreateProbeResponse.d.ts +5 -6
  39. package/dist/chaos-manager/src/services/schemas/TypesGetProbeResponse.d.ts +5 -6
  40. package/dist/chaos-manager/src/services/schemas/TypesProbeRequest.d.ts +5 -6
  41. package/dist/chaos-manager/src/services/schemas/V3GetExperimentOrTemplateVariableData.d.ts +2 -2
  42. package/package.json +1 -1
  43. package/dist/chaos-manager/src/services/schemas/TemplateVariableMinimum.d.ts +0 -4
  44. /package/dist/chaos-manager/src/services/schemas/{TemplateVariable.js → TemplateInput.js} +0 -0
  45. /package/dist/chaos-manager/src/services/schemas/{TemplateVariableMinimum.js → TemplateInputMinimum.js} +0 -0
@@ -1058,11 +1058,11 @@ export type { TargetserviceServiceType } from './schemas/TargetserviceServiceTyp
1058
1058
  export type { TargetserviceTargetService } from './schemas/TargetserviceTargetService';
1059
1059
  export type { TemplateChaosComponentInputsetSpec } from './schemas/TemplateChaosComponentInputsetSpec';
1060
1060
  export type { TemplateChaosExperimentInputsetSpec } from './schemas/TemplateChaosExperimentInputsetSpec';
1061
+ export type { TemplateInput } from './schemas/TemplateInput';
1061
1062
  export type { TemplateInputCategory } from './schemas/TemplateInputCategory';
1063
+ export type { TemplateInputMinimum } from './schemas/TemplateInputMinimum';
1062
1064
  export type { TemplateInputType } from './schemas/TemplateInputType';
1063
1065
  export type { TemplateRunTimeInputs } from './schemas/TemplateRunTimeInputs';
1064
- export type { TemplateVariable } from './schemas/TemplateVariable';
1065
- export type { TemplateVariableMinimum } from './schemas/TemplateVariableMinimum';
1066
1066
  export type { TypesActionItem } from './schemas/TypesActionItem';
1067
1067
  export type { TypesCreateExperimentFromTemplateRequest } from './schemas/TypesCreateExperimentFromTemplateRequest';
1068
1068
  export type { TypesCreateGamedayRequest } from './schemas/TypesCreateGamedayRequest';
@@ -2,7 +2,7 @@ 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 { TemplateVariable } from '../schemas/TemplateVariable';
5
+ import type { TemplateInput } from '../schemas/TemplateInput';
6
6
  import type { MongodbManagedBy } from '../schemas/MongodbManagedBy';
7
7
  import type { ActionsRecentExecutions } from '../schemas/ActionsRecentExecutions';
8
8
  import type { ActionActionTemplateRunProperties } from '../schemas/ActionActionTemplateRunProperties';
@@ -21,21 +21,20 @@ export interface ActionsActionResponse {
21
21
  identity?: string;
22
22
  importType?: MongodbImportType;
23
23
  infrastructureType?: ActionsInfrastructureType;
24
- inputs?: TemplateVariable[];
24
+ inputs?: TemplateInput[];
25
25
  isImported?: boolean;
26
26
  isRemoved?: boolean;
27
27
  managedBy?: MongodbManagedBy;
28
28
  name: string;
29
29
  orgID?: string;
30
30
  projectID?: string;
31
+ /**
32
+ * Variables template.VariableList `json:"variables" bson:"variables"` @shovanmaity
33
+ */
31
34
  recentExecutions?: ActionsRecentExecutions[];
32
35
  runProperties?: ActionActionTemplateRunProperties;
33
36
  tags?: string[];
34
37
  type?: ActionsActionType;
35
38
  updatedAt?: number;
36
39
  updatedBy?: GithubComHarnessHceSaasGraphqlServerGraphModelUserDetails;
37
- /**
38
- * CHAOS-11100
39
- */
40
- variables?: TemplateVariable[];
41
40
  }
@@ -1,7 +1,7 @@
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 { TemplateVariable } from '../schemas/TemplateVariable';
4
+ import type { TemplateInput } from '../schemas/TemplateInput';
5
5
  import type { ActionActionTemplateRunProperties } from '../schemas/ActionActionTemplateRunProperties';
6
6
  import type { ActionsActionType } from '../schemas/ActionsActionType';
7
7
  export interface ChaosactiontemplateChaosActionTemplate {
@@ -22,7 +22,7 @@ export interface ChaosactiontemplateChaosActionTemplate {
22
22
  */
23
23
  identity?: string;
24
24
  infrastructureType?: ActionsInfrastructureType;
25
- inputs?: TemplateVariable[];
25
+ inputs?: TemplateInput[];
26
26
  /**
27
27
  * isDefault indicates if it is the default version
28
28
  * for predefined faults, latest should be set as default
@@ -38,6 +38,7 @@ export interface ChaosactiontemplateChaosActionTemplate {
38
38
  orgID?: string;
39
39
  projectID?: string;
40
40
  /**
41
+ * Variables template.VariableList `bson:"variables" json:"variables"` @shovanmaity
41
42
  * it increments every time a new version of fault is published
42
43
  */
43
44
  revision?: number;
@@ -48,8 +49,4 @@ export interface ChaosactiontemplateChaosActionTemplate {
48
49
  updatedAt?: number;
49
50
  updatedBy?: string;
50
51
  updatedByUserDetails?: GithubComHarnessHceSaasGraphqlServerGraphModelUserDetails;
51
- /**
52
- * CHAOS-11100
53
- */
54
- variables?: TemplateVariable[];
55
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,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,7 +16,7 @@ export interface ChaosexperimenttemplateChaosExperimentTemplate {
16
16
  identity?: string;
17
17
  infraType?: ExperimentInfraType;
18
18
  infras?: string[];
19
- inputs?: TemplateVariable[];
19
+ inputs?: TemplateInput[];
20
20
  isDefault?: boolean;
21
21
  isEnterprise?: boolean;
22
22
  isRemoved: boolean;
@@ -29,8 +29,4 @@ export interface ChaosexperimenttemplateChaosExperimentTemplate {
29
29
  updatedAt?: number;
30
30
  updatedBy?: string;
31
31
  updatedByUserDetails?: GithubComHarnessHceSaasGraphqlServerGraphModelUserDetails;
32
- /**
33
- * CHAOS-11100
34
- */
35
- variables?: TemplateVariable[];
36
32
  }
@@ -1,9 +1,5 @@
1
- import type { TemplateVariable } from '../schemas/TemplateVariable';
1
+ import type { TemplateInput } from '../schemas/TemplateInput';
2
2
  export interface ChaosexperimenttemplateInputs {
3
- inputs?: TemplateVariable[];
3
+ inputs?: TemplateInput[];
4
4
  name?: string;
5
- /**
6
- * CHAOS-11100
7
- */
8
- variables?: TemplateVariable[];
9
5
  }
@@ -1,6 +1,6 @@
1
1
  import type { GithubComHarnessHceSaasGraphqlServerGraphModelUserDetails } from '../schemas/GithubComHarnessHceSaasGraphqlServerGraphModelUserDetails';
2
2
  import type { MongodbImportType } from '../schemas/MongodbImportType';
3
- import type { TemplateVariable } from '../schemas/TemplateVariable';
3
+ import type { TemplateInput } from '../schemas/TemplateInput';
4
4
  import type { ChaosfaultLink } from '../schemas/ChaosfaultLink';
5
5
  import type { MongodbManagedBy } from '../schemas/MongodbManagedBy';
6
6
  export interface ChaosfaultChaosFault {
@@ -22,7 +22,7 @@ export interface ChaosfaultChaosFault {
22
22
  importType?: MongodbImportType;
23
23
  infraType?: string;
24
24
  infras?: string[];
25
- inputs?: TemplateVariable[];
25
+ inputs?: TemplateInput[];
26
26
  isEnterprise?: boolean;
27
27
  isRemoved: boolean;
28
28
  links?: ChaosfaultLink[];
@@ -40,8 +40,4 @@ export interface ChaosfaultChaosFault {
40
40
  updatedAt?: number;
41
41
  updatedBy?: string;
42
42
  updatedByUserDetails?: GithubComHarnessHceSaasGraphqlServerGraphModelUserDetails;
43
- /**
44
- * CHAOS-11100
45
- */
46
- variables?: TemplateVariable[];
47
43
  }
@@ -1,10 +1,10 @@
1
1
  import type { CommonImportType } from '../schemas/CommonImportType';
2
- import type { TemplateVariable } from '../schemas/TemplateVariable';
2
+ import type { TemplateInput } from '../schemas/TemplateInput';
3
3
  import type { FaultLink } from '../schemas/FaultLink';
4
4
  import type { MongodbManagedBy } from '../schemas/MongodbManagedBy';
5
5
  import type { FaulttemplateSpec } from '../schemas/FaulttemplateSpec';
6
6
  import type { FaultTemplateReference } from '../schemas/FaultTemplateReference';
7
- import type { TemplateVariableMinimum } from '../schemas/TemplateVariableMinimum';
7
+ import type { TemplateInputMinimum } from '../schemas/TemplateInputMinimum';
8
8
  export interface ChaosfaultCreateFaultRequest {
9
9
  apiVersion?: string;
10
10
  category?: string[];
@@ -13,7 +13,7 @@ export interface ChaosfaultCreateFaultRequest {
13
13
  importType?: CommonImportType;
14
14
  infraType?: string;
15
15
  infras?: string[];
16
- inputs?: TemplateVariable[];
16
+ inputs?: TemplateInput[];
17
17
  kind?: string;
18
18
  links?: FaultLink[];
19
19
  managedBy?: MongodbManagedBy;
@@ -21,9 +21,11 @@ export interface ChaosfaultCreateFaultRequest {
21
21
  permissionsRequired?: string;
22
22
  spec?: FaulttemplateSpec;
23
23
  tags?: string[];
24
+ /**
25
+ * Variables template.VariableList `bson:"variables" json:"variables" yaml:"variables"` @shovanmaity
26
+ */
24
27
  templateReference?: FaultTemplateReference;
25
28
  type?: string;
26
29
  updatedAt?: number;
27
- values?: TemplateVariableMinimum[];
28
- variables?: TemplateVariable[];
30
+ values?: TemplateInputMinimum[];
29
31
  }
@@ -1,9 +1,9 @@
1
1
  import type { CommonImportType } from '../schemas/CommonImportType';
2
- import type { TemplateVariable } from '../schemas/TemplateVariable';
2
+ import type { TemplateInput } from '../schemas/TemplateInput';
3
3
  import type { FaultLink } from '../schemas/FaultLink';
4
4
  import type { FaulttemplateSpec } from '../schemas/FaulttemplateSpec';
5
5
  import type { FaultTemplateReference } from '../schemas/FaultTemplateReference';
6
- import type { TemplateVariableMinimum } from '../schemas/TemplateVariableMinimum';
6
+ import type { TemplateInputMinimum } from '../schemas/TemplateInputMinimum';
7
7
  export interface ChaosfaultCreateFaultResponse {
8
8
  apiVersion?: string;
9
9
  category?: string[];
@@ -14,16 +14,18 @@ export interface ChaosfaultCreateFaultResponse {
14
14
  importType?: CommonImportType;
15
15
  infraType?: string;
16
16
  infras?: string[];
17
- inputs?: TemplateVariable[];
17
+ inputs?: TemplateInput[];
18
18
  kind?: string;
19
19
  links?: FaultLink[];
20
20
  name: string;
21
21
  permissionsRequired?: string;
22
22
  spec?: FaulttemplateSpec;
23
23
  tags?: string[];
24
+ /**
25
+ * Variables template.VariableList `bson:"variables" json:"variables" yaml:"variables"` @shovanmaity
26
+ */
24
27
  templateReference?: FaultTemplateReference;
25
28
  type?: string;
26
29
  updatedAt?: number;
27
- values?: TemplateVariableMinimum[];
28
- variables?: TemplateVariable[];
30
+ values?: TemplateInputMinimum[];
29
31
  }
@@ -1,12 +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
- inputs?: TemplateVariable[];
8
- /**
9
- * CHAOS-11100
10
- */
11
- variables?: TemplateVariable[];
4
+ faultAuthentication?: TemplateInput[];
5
+ faultTargets?: TemplateInput[];
6
+ faultTunable?: TemplateInput[];
7
+ inputs?: TemplateInput[];
12
8
  }
@@ -1,10 +1,10 @@
1
1
  import type { CommonImportType } from '../schemas/CommonImportType';
2
- import type { TemplateVariable } from '../schemas/TemplateVariable';
2
+ import type { TemplateInput } from '../schemas/TemplateInput';
3
3
  import type { FaultLink } from '../schemas/FaultLink';
4
4
  import type { MongodbManagedBy } from '../schemas/MongodbManagedBy';
5
5
  import type { FaulttemplateSpec } from '../schemas/FaulttemplateSpec';
6
6
  import type { FaultTemplateReference } from '../schemas/FaultTemplateReference';
7
- import type { TemplateVariableMinimum } from '../schemas/TemplateVariableMinimum';
7
+ import type { TemplateInputMinimum } from '../schemas/TemplateInputMinimum';
8
8
  export interface ChaosfaultGetFaultResponse {
9
9
  apiVersion?: string;
10
10
  category?: string[];
@@ -14,7 +14,7 @@ export interface ChaosfaultGetFaultResponse {
14
14
  importType?: CommonImportType;
15
15
  infraType?: string;
16
16
  infras?: string[];
17
- inputs?: TemplateVariable[];
17
+ inputs?: TemplateInput[];
18
18
  isEnterprise?: boolean;
19
19
  kind?: string;
20
20
  links?: FaultLink[];
@@ -23,9 +23,11 @@ export interface ChaosfaultGetFaultResponse {
23
23
  permissionsRequired?: string;
24
24
  spec?: FaulttemplateSpec;
25
25
  tags?: string[];
26
+ /**
27
+ * Variables template.VariableList `bson:"variables" json:"variables" yaml:"variables"` @shovanmaity
28
+ */
26
29
  templateReference?: FaultTemplateReference;
27
30
  type?: string;
28
31
  updatedAt?: number;
29
- values?: TemplateVariableMinimum[];
30
- variables?: TemplateVariable[];
32
+ values?: TemplateInputMinimum[];
31
33
  }
@@ -1,9 +1,9 @@
1
1
  import type { CommonImportType } from '../schemas/CommonImportType';
2
- import type { TemplateVariable } from '../schemas/TemplateVariable';
2
+ import type { TemplateInput } from '../schemas/TemplateInput';
3
3
  import type { FaultLink } from '../schemas/FaultLink';
4
4
  import type { FaulttemplateSpec } from '../schemas/FaulttemplateSpec';
5
5
  import type { FaultTemplateReference } from '../schemas/FaultTemplateReference';
6
- import type { TemplateVariableMinimum } from '../schemas/TemplateVariableMinimum';
6
+ import type { TemplateInputMinimum } from '../schemas/TemplateInputMinimum';
7
7
  export interface ChaosfaultUpdateFaultRequest {
8
8
  apiVersion?: string;
9
9
  category?: string[];
@@ -12,16 +12,18 @@ export interface ChaosfaultUpdateFaultRequest {
12
12
  importType?: CommonImportType;
13
13
  infraType?: string;
14
14
  infras?: string[];
15
- inputs?: TemplateVariable[];
15
+ inputs?: TemplateInput[];
16
16
  kind?: string;
17
17
  links?: FaultLink[];
18
18
  name: string;
19
19
  permissionsRequired?: string;
20
20
  spec?: FaulttemplateSpec;
21
21
  tags?: string[];
22
+ /**
23
+ * Variables template.VariableList `bson:"variables" json:"variables" yaml:"variables"` @shovanmaity
24
+ */
22
25
  templateReference?: FaultTemplateReference;
23
26
  type?: string;
24
27
  updatedAt?: number;
25
- values?: TemplateVariableMinimum[];
26
- variables?: TemplateVariable[];
28
+ values?: TemplateInputMinimum[];
27
29
  }
@@ -1,9 +1,9 @@
1
1
  import type { CommonImportType } from '../schemas/CommonImportType';
2
- import type { TemplateVariable } from '../schemas/TemplateVariable';
2
+ import type { TemplateInput } from '../schemas/TemplateInput';
3
3
  import type { FaultLink } from '../schemas/FaultLink';
4
4
  import type { FaulttemplateSpec } from '../schemas/FaulttemplateSpec';
5
5
  import type { FaultTemplateReference } from '../schemas/FaultTemplateReference';
6
- import type { TemplateVariableMinimum } from '../schemas/TemplateVariableMinimum';
6
+ import type { TemplateInputMinimum } from '../schemas/TemplateInputMinimum';
7
7
  export interface ChaosfaultUpdateFaultResponse {
8
8
  apiVersion?: string;
9
9
  category?: string[];
@@ -13,16 +13,18 @@ export interface ChaosfaultUpdateFaultResponse {
13
13
  importType?: CommonImportType;
14
14
  infraType?: string;
15
15
  infras?: string[];
16
- inputs?: TemplateVariable[];
16
+ inputs?: TemplateInput[];
17
17
  kind?: string;
18
18
  links?: FaultLink[];
19
19
  name: string;
20
20
  permissionsRequired?: string;
21
21
  spec?: FaulttemplateSpec;
22
22
  tags?: string[];
23
+ /**
24
+ * Variables template.VariableList `bson:"variables" json:"variables" yaml:"variables"` @shovanmaity
25
+ */
23
26
  templateReference?: FaultTemplateReference;
24
27
  type?: string;
25
28
  updatedAt?: number;
26
- values?: TemplateVariableMinimum[];
27
- variables?: TemplateVariable[];
29
+ values?: TemplateInputMinimum[];
28
30
  }
@@ -1,6 +1,6 @@
1
1
  import type { ActionActionTemplateProperties } from '../schemas/ActionActionTemplateProperties';
2
2
  import type { ActionsInfrastructureType } from '../schemas/ActionsInfrastructureType';
3
- import type { TemplateVariable } from '../schemas/TemplateVariable';
3
+ import type { TemplateInput } from '../schemas/TemplateInput';
4
4
  import type { ActionActionTemplateRunProperties } from '../schemas/ActionActionTemplateRunProperties';
5
5
  export interface ChaosfaulttemplateActionTemplate {
6
6
  actionProperties?: ActionActionTemplateProperties;
@@ -8,15 +8,14 @@ export interface ChaosfaulttemplateActionTemplate {
8
8
  hubRef?: string;
9
9
  identity?: string;
10
10
  infrastructureType?: ActionsInfrastructureType;
11
- inputs?: TemplateVariable[];
11
+ inputs?: TemplateInput[];
12
12
  isDefault?: boolean;
13
13
  name: string;
14
+ /**
15
+ * Variables template.VariableList `json:"variables" yaml:"variables,omitempty"` @shovanmaity
16
+ */
14
17
  revision?: number;
15
18
  runProperties?: ActionActionTemplateRunProperties;
16
19
  tags?: string[];
17
20
  type?: string;
18
- /**
19
- * CHAOS-11100
20
- */
21
- variables?: TemplateVariable[];
22
21
  }
@@ -1,10 +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
- inputs?: TemplateVariable[];
6
- /**
7
- * CHAOS-11100
8
- */
9
- variables?: TemplateVariable[];
3
+ actionProperties?: TemplateInput[];
4
+ actionRunProperty?: TemplateInput[];
5
+ inputs?: TemplateInput[];
10
6
  }
@@ -1,5 +1,5 @@
1
1
  import type { GithubComHarnessHceSaasGraphqlServerGraphModelUserDetails } from '../schemas/GithubComHarnessHceSaasGraphqlServerGraphModelUserDetails';
2
- import type { TemplateVariable } from '../schemas/TemplateVariable';
2
+ import type { TemplateInput } from '../schemas/TemplateInput';
3
3
  import type { ChaosfaulttemplateLink } from '../schemas/ChaosfaulttemplateLink';
4
4
  export interface ChaosfaulttemplateChaosFaultTemplate {
5
5
  accountID: string;
@@ -22,7 +22,7 @@ export interface ChaosfaulttemplateChaosFaultTemplate {
22
22
  identity?: string;
23
23
  infraType?: string;
24
24
  infras?: string[];
25
- inputs?: TemplateVariable[];
25
+ inputs?: TemplateInput[];
26
26
  isDefault?: boolean;
27
27
  isEnterprise?: boolean;
28
28
  isRemoved: boolean;
@@ -38,8 +38,4 @@ export interface ChaosfaulttemplateChaosFaultTemplate {
38
38
  updatedAt?: number;
39
39
  updatedBy?: string;
40
40
  updatedByUserDetails?: GithubComHarnessHceSaasGraphqlServerGraphModelUserDetails;
41
- /**
42
- * CHAOS-11100
43
- */
44
- variables?: TemplateVariable[];
45
41
  }
@@ -1,4 +1,4 @@
1
- import type { TemplateVariable } from '../schemas/TemplateVariable';
1
+ import type { TemplateInput } from '../schemas/TemplateInput';
2
2
  import type { FaulttemplateLink } from '../schemas/FaulttemplateLink';
3
3
  import type { FaulttemplateSpec } from '../schemas/FaulttemplateSpec';
4
4
  export interface ChaosfaulttemplateCreateFaultTemplateRequest {
@@ -8,7 +8,10 @@ export interface ChaosfaulttemplateCreateFaultTemplateRequest {
8
8
  identity: string;
9
9
  infraType?: string;
10
10
  infras?: string[];
11
- inputs?: TemplateVariable[];
11
+ /**
12
+ * Variables template.VariableList `bson:"variables" json:"variables" yaml:"variables"` @shovanmaity
13
+ */
14
+ inputs?: TemplateInput[];
12
15
  isDefault?: boolean;
13
16
  keywords?: string[];
14
17
  kind?: string;
@@ -20,5 +23,4 @@ export interface ChaosfaulttemplateCreateFaultTemplateRequest {
20
23
  spec?: FaulttemplateSpec;
21
24
  tags?: string[];
22
25
  type?: string;
23
- variables?: TemplateVariable[];
24
26
  }
@@ -1,4 +1,4 @@
1
- import type { TemplateVariable } from '../schemas/TemplateVariable';
1
+ import type { TemplateInput } from '../schemas/TemplateInput';
2
2
  import type { FaulttemplateLink } from '../schemas/FaulttemplateLink';
3
3
  import type { FaulttemplateSpec } from '../schemas/FaulttemplateSpec';
4
4
  export interface ChaosfaulttemplateCreateFaultTemplateResponse {
@@ -10,7 +10,10 @@ export interface ChaosfaulttemplateCreateFaultTemplateResponse {
10
10
  identity: string;
11
11
  infraType?: string;
12
12
  infras?: string[];
13
- inputs?: TemplateVariable[];
13
+ /**
14
+ * Variables template.VariableList `bson:"variables" json:"variables" yaml:"variables"` @shovanmaity
15
+ */
16
+ inputs?: TemplateInput[];
14
17
  isDefault?: boolean;
15
18
  keywords?: string[];
16
19
  kind?: string;
@@ -22,5 +25,4 @@ export interface ChaosfaulttemplateCreateFaultTemplateResponse {
22
25
  spec?: FaulttemplateSpec;
23
26
  tags?: string[];
24
27
  type?: string;
25
- variables?: TemplateVariable[];
26
28
  }
@@ -1,12 +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
- inputs?: TemplateVariable[];
8
- /**
9
- * CHAOS-11100
10
- */
11
- variables?: TemplateVariable[];
4
+ faultAuthentication?: TemplateInput[];
5
+ faultTargets?: TemplateInput[];
6
+ faultTunable?: TemplateInput[];
7
+ inputs?: TemplateInput[];
12
8
  }
@@ -1,4 +1,4 @@
1
- import type { TemplateVariable } from '../schemas/TemplateVariable';
1
+ import type { TemplateInput } from '../schemas/TemplateInput';
2
2
  import type { FaulttemplateLink } from '../schemas/FaulttemplateLink';
3
3
  import type { FaulttemplateSpec } from '../schemas/FaulttemplateSpec';
4
4
  export interface ChaosfaulttemplateUpdateFaultTemplateResponse {
@@ -10,7 +10,10 @@ export interface ChaosfaulttemplateUpdateFaultTemplateResponse {
10
10
  identity: string;
11
11
  infraType?: string;
12
12
  infras?: string[];
13
- inputs?: TemplateVariable[];
13
+ /**
14
+ * Variables template.VariableList `bson:"variables" json:"variables" yaml:"variables"` @shovanmaity
15
+ */
16
+ inputs?: TemplateInput[];
14
17
  isDefault?: boolean;
15
18
  keywords?: string[];
16
19
  kind?: string;
@@ -22,5 +25,4 @@ export interface ChaosfaulttemplateUpdateFaultTemplateResponse {
22
25
  spec?: FaulttemplateSpec;
23
26
  tags?: string[];
24
27
  type?: string;
25
- variables?: TemplateVariable[];
26
28
  }
@@ -1,5 +1,5 @@
1
1
  import type { ProbeInfrastructureType } from '../schemas/ProbeInfrastructureType';
2
- import type { TemplateVariable } from '../schemas/TemplateVariable';
2
+ import type { TemplateInput } from '../schemas/TemplateInput';
3
3
  import type { ProbeProbeTemplateProperties } from '../schemas/ProbeProbeTemplateProperties';
4
4
  import type { ProbeProbeTemplateRunProperties } from '../schemas/ProbeProbeTemplateRunProperties';
5
5
  import type { ProbeProbeType } from '../schemas/ProbeProbeType';
@@ -8,16 +8,15 @@ export interface ChaosprobetemplateProbeTemplate {
8
8
  hubRef?: string;
9
9
  identity?: string;
10
10
  infrastructureType?: ProbeInfrastructureType;
11
- inputs?: TemplateVariable[];
11
+ inputs?: TemplateInput[];
12
12
  isDefault?: boolean;
13
13
  name: string;
14
14
  probeProperties?: ProbeProbeTemplateProperties;
15
+ /**
16
+ * Variables template.VariableList `json:"variables" yaml:"variables,omitempty"` @shovanmaity
17
+ */
15
18
  revision?: number;
16
19
  runProperties?: ProbeProbeTemplateRunProperties;
17
20
  tags?: string[];
18
21
  type?: ProbeProbeType;
19
- /**
20
- * CHAOS-11100
21
- */
22
- variables?: TemplateVariable[];
23
22
  }
@@ -1,10 +1,6 @@
1
- import type { TemplateVariable } from '../schemas/TemplateVariable';
1
+ import type { TemplateInput } from '../schemas/TemplateInput';
2
2
  export interface ChaosprobetemplateProbeTemplateVariables {
3
- inputs?: TemplateVariable[];
4
- probeProperties?: TemplateVariable[];
5
- probeRunProperty?: TemplateVariable[];
6
- /**
7
- * CHAOS-11100
8
- */
9
- variables?: TemplateVariable[];
3
+ inputs?: TemplateInput[];
4
+ probeProperties?: TemplateInput[];
5
+ probeRunProperty?: TemplateInput[];
10
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
@@ -36,5 +36,5 @@ export interface ExperimentActionRef {
36
36
  /**
37
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
@@ -23,5 +23,5 @@ export interface ExperimentFaultRef {
23
23
  /**
24
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
@@ -45,7 +45,7 @@ export interface ExperimentProbeRef {
45
45
  /**
46
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,4 +1,4 @@
1
- import type { TemplateVariable } from '../schemas/TemplateVariable';
1
+ import type { TemplateInput } from '../schemas/TemplateInput';
2
2
  import type { FaulttemplateLink } from '../schemas/FaulttemplateLink';
3
3
  import type { FaulttemplateSpec } from '../schemas/FaulttemplateSpec';
4
4
  export interface FaulttemplateFaultTemplate {
@@ -8,7 +8,10 @@ export interface FaulttemplateFaultTemplate {
8
8
  identity: string;
9
9
  infraType?: string;
10
10
  infras?: string[];
11
- inputs?: TemplateVariable[];
11
+ /**
12
+ * Variables template.VariableList `bson:"variables" json:"variables" yaml:"variables"` @shovanmaity
13
+ */
14
+ inputs?: TemplateInput[];
12
15
  isDefault?: boolean;
13
16
  keywords?: string[];
14
17
  kind?: string;
@@ -20,5 +23,4 @@ export interface FaulttemplateFaultTemplate {
20
23
  spec?: FaulttemplateSpec;
21
24
  tags?: string[];
22
25
  type?: string;
23
- variables?: TemplateVariable[];
24
26
  }
@@ -1,6 +1,6 @@
1
1
  import type { ActionActionTemplateProperties } from '../schemas/ActionActionTemplateProperties';
2
2
  import type { ActionsInfrastructureType } from '../schemas/ActionsInfrastructureType';
3
- import type { TemplateVariable } from '../schemas/TemplateVariable';
3
+ import type { TemplateInput } from '../schemas/TemplateInput';
4
4
  import type { ActionActionTemplateRunProperties } from '../schemas/ActionActionTemplateRunProperties';
5
5
  import type { ActionsActionType } from '../schemas/ActionsActionType';
6
6
  export interface GithubComHarnessHceSaasGraphqlServerPkgActionsAction {
@@ -10,13 +10,9 @@ export interface GithubComHarnessHceSaasGraphqlServerPkgActionsAction {
10
10
  hubRef?: string;
11
11
  identity?: string;
12
12
  infrastructureType?: ActionsInfrastructureType;
13
- inputs?: TemplateVariable[];
13
+ inputs?: TemplateInput[];
14
14
  name: string;
15
15
  runProperties?: ActionActionTemplateRunProperties;
16
16
  tags?: string[];
17
17
  type?: ActionsActionType;
18
- /**
19
- * CHAOS-11100
20
- */
21
- variables?: TemplateVariable[];
22
18
  }
@@ -1,7 +1,7 @@
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
+ import type { TemplateInput } from '../schemas/TemplateInput';
5
5
  import type { MongodbManagedBy } from '../schemas/MongodbManagedBy';
6
6
  import type { ActionsRecentExecutions } from '../schemas/ActionsRecentExecutions';
7
7
  import type { ActionActionTemplateRunProperties } from '../schemas/ActionActionTemplateRunProperties';
@@ -17,18 +17,17 @@ export interface GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbActionsAc
17
17
  identity?: string;
18
18
  importType?: MongodbImportType;
19
19
  infrastructureType?: ActionsInfrastructureType;
20
- inputs?: TemplateVariable[];
20
+ inputs?: TemplateInput[];
21
21
  isRemoved?: boolean;
22
22
  managedBy?: MongodbManagedBy;
23
23
  name: string;
24
24
  orgID?: string;
25
25
  projectID?: string;
26
+ /**
27
+ * Variables template.VariableList `json:"variables" bson:"variables"` @shovanmaity
28
+ */
26
29
  recentExecutions?: ActionsRecentExecutions[];
27
30
  runProperties?: ActionActionTemplateRunProperties;
28
31
  tags?: string[];
29
32
  type?: ActionsActionType;
30
- /**
31
- * CHAOS-11100
32
- */
33
- variables?: TemplateVariable[];
34
33
  }
@@ -1,6 +1,6 @@
1
1
  import type { GithubComHarnessHceSaasGraphqlServerGraphModelUserDetails } from '../schemas/GithubComHarnessHceSaasGraphqlServerGraphModelUserDetails';
2
2
  import type { ProbeInfrastructureType } from '../schemas/ProbeInfrastructureType';
3
- import type { TemplateVariable } from '../schemas/TemplateVariable';
3
+ import type { TemplateInput } from '../schemas/TemplateInput';
4
4
  import type { ProbeProbeTemplateProperties } from '../schemas/ProbeProbeTemplateProperties';
5
5
  import type { ProbeProbeTemplateRunProperties } from '../schemas/ProbeProbeTemplateRunProperties';
6
6
  import type { ProbeProbeType } from '../schemas/ProbeProbeType';
@@ -18,7 +18,7 @@ export interface GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbChaosprob
18
18
  */
19
19
  identity?: string;
20
20
  infrastructureType?: ProbeInfrastructureType;
21
- inputs?: TemplateVariable[];
21
+ inputs?: TemplateInput[];
22
22
  /**
23
23
  * isDefault indicates if it is the default version
24
24
  * for predefined faults, latest should be set as default
@@ -31,6 +31,7 @@ export interface GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbChaosprob
31
31
  probeProperties?: ProbeProbeTemplateProperties;
32
32
  projectID?: string;
33
33
  /**
34
+ * Variables template.VariableList `bson:"variables" json:"variables"` @shovanmaity
34
35
  * it increments every time a new version of fault is published
35
36
  */
36
37
  revision?: number;
@@ -41,8 +42,4 @@ export interface GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbChaosprob
41
42
  updatedAt?: number;
42
43
  updatedBy?: string;
43
44
  updatedByUserDetails?: GithubComHarnessHceSaasGraphqlServerGraphModelUserDetails;
44
- /**
45
- * CHAOS-11100
46
- */
47
- variables?: TemplateVariable[];
48
45
  }
@@ -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
  }
@@ -1,6 +1,6 @@
1
1
  import type { TemplateInputCategory } from '../schemas/TemplateInputCategory';
2
2
  import type { TemplateInputType } from '../schemas/TemplateInputType';
3
- export interface TemplateVariable {
3
+ export interface TemplateInput {
4
4
  allowedValues?: Array<{}>;
5
5
  category?: TemplateInputCategory;
6
6
  default?: {};
@@ -0,0 +1,4 @@
1
+ export interface TemplateInputMinimum {
2
+ name: string;
3
+ value: {};
4
+ }
@@ -1,7 +1,7 @@
1
- import type { TemplateVariable } from '../schemas/TemplateVariable';
1
+ import type { TemplateInput } from '../schemas/TemplateInput';
2
2
  export interface TemplateRunTimeInputs {
3
- experiment?: TemplateVariable[];
3
+ experiment?: TemplateInput[];
4
4
  tasks?: {
5
- [key: string]: TemplateVariable[];
5
+ [key: string]: TemplateInput[];
6
6
  };
7
7
  }
@@ -1,7 +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
+ import type { TemplateInput } from '../schemas/TemplateInput';
5
5
  import type { ProbeK8SProbe } from '../schemas/ProbeK8SProbe';
6
6
  import type { ProbeKubernetesCmdProbe } from '../schemas/ProbeKubernetesCmdProbe';
7
7
  import type { ProbeDatadogProbe } from '../schemas/ProbeDatadogProbe';
@@ -15,7 +15,7 @@ export interface TypesCreateProbeResponse {
15
15
  containerHttpProperties?: ProbeHttpProbe;
16
16
  containerProbeProperties?: ProbeContainerProbe;
17
17
  description?: string;
18
- inputs?: TemplateVariable[];
18
+ inputs?: TemplateInput[];
19
19
  k8sProperties?: ProbeK8SProbe;
20
20
  kubernetesCmdProperties?: ProbeKubernetesCmdProbe;
21
21
  kubernetesDatadogProperties?: ProbeDatadogProbe;
@@ -28,13 +28,12 @@ export interface TypesCreateProbeResponse {
28
28
  name?: string;
29
29
  probeId?: string;
30
30
  promProperties?: ProbePromProbe;
31
+ /**
32
+ * Variables template.VariableList `json:"variables" bson:"variables"` @shovanmaity
33
+ */
31
34
  revisionId?: string;
32
35
  sloProperties?: ProbeSloProbe;
33
36
  tags?: string[];
34
- /**
35
- * CHAOS-11100
36
- */
37
- variables?: TemplateVariable[];
38
37
  windowsCmdProperties?: ProbeWindowsCmdProbe;
39
38
  windowsHttpProperties?: ProbeHttpProbe;
40
39
  }
@@ -1,7 +1,7 @@
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
+ import type { TemplateInput } from '../schemas/TemplateInput';
5
5
  import type { MongodbManagedBy } from '../schemas/MongodbManagedBy';
6
6
  import type { ProbeProbeTemplateProperties } from '../schemas/ProbeProbeTemplateProperties';
7
7
  import type { TypesProbeRecentExecutions } from '../schemas/TypesProbeRecentExecutions';
@@ -11,11 +11,14 @@ 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;
18
- inputs?: TemplateVariable[];
21
+ inputs?: TemplateInput[];
19
22
  isEnabled?: boolean;
20
23
  isImported?: boolean;
21
24
  isVerified?: boolean;
@@ -32,8 +35,4 @@ export interface TypesGetProbeResponse {
32
35
  type?: TypesProbeType;
33
36
  updatedAt?: number;
34
37
  updatedBy?: GithubComHarnessHceSaasGraphqlServerGraphModelUserDetails;
35
- /**
36
- * CHAOS-11100
37
- */
38
- variables?: TemplateVariable[];
39
38
  }
@@ -1,6 +1,6 @@
1
1
  import type { MongodbImportType } from '../schemas/MongodbImportType';
2
2
  import type { TypesInfrastructureType } from '../schemas/TypesInfrastructureType';
3
- import type { TemplateVariable } from '../schemas/TemplateVariable';
3
+ import type { TemplateInput } from '../schemas/TemplateInput';
4
4
  import type { MongodbManagedBy } from '../schemas/MongodbManagedBy';
5
5
  import type { ProbeProbeTemplateProperties } from '../schemas/ProbeProbeTemplateProperties';
6
6
  import type { TypesProbeRecentExecutions } from '../schemas/TypesProbeRecentExecutions';
@@ -8,11 +8,14 @@ import type { ProbeProbeTemplateRunProperties } from '../schemas/ProbeProbeTempl
8
8
  import type { TypesProbeType } from '../schemas/TypesProbeType';
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;
15
- inputs?: TemplateVariable[];
18
+ inputs?: TemplateInput[];
16
19
  isEnabled?: boolean;
17
20
  isImported?: boolean;
18
21
  isVerified?: boolean;
@@ -27,8 +30,4 @@ export interface TypesProbeRequest {
27
30
  runProperties?: ProbeProbeTemplateRunProperties;
28
31
  tags?: string[];
29
32
  type?: TypesProbeType;
30
- /**
31
- * CHAOS-11100
32
- */
33
- variables?: TemplateVariable[];
34
33
  }
@@ -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.51.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,4 +0,0 @@
1
- export interface TemplateVariableMinimum {
2
- name: string;
3
- value: {};
4
- }