@harnessio/react-chaos-manager-client 1.51.1-beta.0 → 1.52.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 (26) hide show
  1. package/dist/chaos-manager/src/services/index.d.ts +2 -0
  2. package/dist/chaos-manager/src/services/schemas/ActionsActionResponse.d.ts +2 -3
  3. package/dist/chaos-manager/src/services/schemas/ChaosactiontemplateChaosActionTemplate.d.ts +2 -1
  4. package/dist/chaos-manager/src/services/schemas/ChaosfaultCreateFaultRequest.d.ts +2 -3
  5. package/dist/chaos-manager/src/services/schemas/ChaosfaultCreateFaultResponse.d.ts +2 -3
  6. package/dist/chaos-manager/src/services/schemas/ChaosfaultGetFaultResponse.d.ts +2 -3
  7. package/dist/chaos-manager/src/services/schemas/ChaosfaultUpdateFaultRequest.d.ts +2 -3
  8. package/dist/chaos-manager/src/services/schemas/ChaosfaultUpdateFaultResponse.d.ts +2 -3
  9. package/dist/chaos-manager/src/services/schemas/ChaosfaulttemplateActionTemplate.d.ts +2 -3
  10. package/dist/chaos-manager/src/services/schemas/ChaosfaulttemplateCreateFaultTemplateRequest.d.ts +2 -3
  11. package/dist/chaos-manager/src/services/schemas/ChaosfaulttemplateCreateFaultTemplateResponse.d.ts +2 -3
  12. package/dist/chaos-manager/src/services/schemas/ChaosfaulttemplateUpdateFaultTemplateResponse.d.ts +2 -3
  13. package/dist/chaos-manager/src/services/schemas/ChaosprobetemplateProbeTemplate.d.ts +2 -3
  14. package/dist/chaos-manager/src/services/schemas/FaulttemplateFaultTemplate.d.ts +2 -3
  15. package/dist/chaos-manager/src/services/schemas/GithubComHarnessHceSaasGraphqlServerPkgActionsAction.d.ts +2 -0
  16. package/dist/chaos-manager/src/services/schemas/GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbActionsAction.d.ts +2 -3
  17. package/dist/chaos-manager/src/services/schemas/GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbChaosprobetemplateChaosProbeTemplate.d.ts +2 -1
  18. package/dist/chaos-manager/src/services/schemas/TemplateInputCategory.d.ts +1 -1
  19. package/dist/chaos-manager/src/services/schemas/TemplateVariable.d.ts +9 -0
  20. package/dist/chaos-manager/src/services/schemas/TemplateVariable.js +1 -0
  21. package/dist/chaos-manager/src/services/schemas/TemplateVariableType.d.ts +1 -0
  22. package/dist/chaos-manager/src/services/schemas/TemplateVariableType.js +4 -0
  23. package/dist/chaos-manager/src/services/schemas/TypesCreateProbeResponse.d.ts +2 -3
  24. package/dist/chaos-manager/src/services/schemas/TypesGetProbeResponse.d.ts +2 -3
  25. package/dist/chaos-manager/src/services/schemas/TypesProbeRequest.d.ts +2 -3
  26. package/package.json +1 -1
@@ -1063,6 +1063,8 @@ export type { TemplateInputCategory } from './schemas/TemplateInputCategory';
1063
1063
  export type { TemplateInputMinimum } from './schemas/TemplateInputMinimum';
1064
1064
  export type { TemplateInputType } from './schemas/TemplateInputType';
1065
1065
  export type { TemplateRunTimeInputs } from './schemas/TemplateRunTimeInputs';
1066
+ export type { TemplateVariable } from './schemas/TemplateVariable';
1067
+ export type { TemplateVariableType } from './schemas/TemplateVariableType';
1066
1068
  export type { TypesActionItem } from './schemas/TypesActionItem';
1067
1069
  export type { TypesCreateExperimentFromTemplateRequest } from './schemas/TypesCreateExperimentFromTemplateRequest';
1068
1070
  export type { TypesCreateGamedayRequest } from './schemas/TypesCreateGamedayRequest';
@@ -7,6 +7,7 @@ import type { MongodbManagedBy } from '../schemas/MongodbManagedBy';
7
7
  import type { ActionsRecentExecutions } from '../schemas/ActionsRecentExecutions';
8
8
  import type { ActionActionTemplateRunProperties } from '../schemas/ActionActionTemplateRunProperties';
9
9
  import type { ActionsActionType } from '../schemas/ActionsActionType';
10
+ import type { TemplateVariable } from '../schemas/TemplateVariable';
10
11
  export interface ActionsActionResponse {
11
12
  accountID: string;
12
13
  actionProperties?: ActionActionTemplateProperties;
@@ -28,13 +29,11 @@ export interface ActionsActionResponse {
28
29
  name: string;
29
30
  orgID?: string;
30
31
  projectID?: string;
31
- /**
32
- * Variables template.VariableList `json:"variables" bson:"variables"` @shovanmaity
33
- */
34
32
  recentExecutions?: ActionsRecentExecutions[];
35
33
  runProperties?: ActionActionTemplateRunProperties;
36
34
  tags?: string[];
37
35
  type?: ActionsActionType;
38
36
  updatedAt?: number;
39
37
  updatedBy?: GithubComHarnessHceSaasGraphqlServerGraphModelUserDetails;
38
+ variables?: TemplateVariable[];
40
39
  }
@@ -4,6 +4,7 @@ import type { ActionsInfrastructureType } from '../schemas/ActionsInfrastructure
4
4
  import type { TemplateInput } from '../schemas/TemplateInput';
5
5
  import type { ActionActionTemplateRunProperties } from '../schemas/ActionActionTemplateRunProperties';
6
6
  import type { ActionsActionType } from '../schemas/ActionsActionType';
7
+ import type { TemplateVariable } from '../schemas/TemplateVariable';
7
8
  export interface ChaosactiontemplateChaosActionTemplate {
8
9
  accountID: string;
9
10
  /**
@@ -38,7 +39,6 @@ export interface ChaosactiontemplateChaosActionTemplate {
38
39
  orgID?: string;
39
40
  projectID?: string;
40
41
  /**
41
- * Variables template.VariableList `bson:"variables" json:"variables"` @shovanmaity
42
42
  * it increments every time a new version of fault is published
43
43
  */
44
44
  revision?: number;
@@ -49,4 +49,5 @@ export interface ChaosactiontemplateChaosActionTemplate {
49
49
  updatedAt?: number;
50
50
  updatedBy?: string;
51
51
  updatedByUserDetails?: GithubComHarnessHceSaasGraphqlServerGraphModelUserDetails;
52
+ variables?: TemplateVariable[];
52
53
  }
@@ -5,6 +5,7 @@ import type { MongodbManagedBy } from '../schemas/MongodbManagedBy';
5
5
  import type { FaulttemplateSpec } from '../schemas/FaulttemplateSpec';
6
6
  import type { FaultTemplateReference } from '../schemas/FaultTemplateReference';
7
7
  import type { TemplateInputMinimum } from '../schemas/TemplateInputMinimum';
8
+ import type { TemplateVariable } from '../schemas/TemplateVariable';
8
9
  export interface ChaosfaultCreateFaultRequest {
9
10
  apiVersion?: string;
10
11
  category?: string[];
@@ -21,11 +22,9 @@ export interface ChaosfaultCreateFaultRequest {
21
22
  permissionsRequired?: string;
22
23
  spec?: FaulttemplateSpec;
23
24
  tags?: string[];
24
- /**
25
- * Variables template.VariableList `bson:"variables" json:"variables" yaml:"variables"` @shovanmaity
26
- */
27
25
  templateReference?: FaultTemplateReference;
28
26
  type?: string;
29
27
  updatedAt?: number;
30
28
  values?: TemplateInputMinimum[];
29
+ variables?: TemplateVariable[];
31
30
  }
@@ -4,6 +4,7 @@ import type { FaultLink } from '../schemas/FaultLink';
4
4
  import type { FaulttemplateSpec } from '../schemas/FaulttemplateSpec';
5
5
  import type { FaultTemplateReference } from '../schemas/FaultTemplateReference';
6
6
  import type { TemplateInputMinimum } from '../schemas/TemplateInputMinimum';
7
+ import type { TemplateVariable } from '../schemas/TemplateVariable';
7
8
  export interface ChaosfaultCreateFaultResponse {
8
9
  apiVersion?: string;
9
10
  category?: string[];
@@ -21,11 +22,9 @@ export interface ChaosfaultCreateFaultResponse {
21
22
  permissionsRequired?: string;
22
23
  spec?: FaulttemplateSpec;
23
24
  tags?: string[];
24
- /**
25
- * Variables template.VariableList `bson:"variables" json:"variables" yaml:"variables"` @shovanmaity
26
- */
27
25
  templateReference?: FaultTemplateReference;
28
26
  type?: string;
29
27
  updatedAt?: number;
30
28
  values?: TemplateInputMinimum[];
29
+ variables?: TemplateVariable[];
31
30
  }
@@ -5,6 +5,7 @@ import type { MongodbManagedBy } from '../schemas/MongodbManagedBy';
5
5
  import type { FaulttemplateSpec } from '../schemas/FaulttemplateSpec';
6
6
  import type { FaultTemplateReference } from '../schemas/FaultTemplateReference';
7
7
  import type { TemplateInputMinimum } from '../schemas/TemplateInputMinimum';
8
+ import type { TemplateVariable } from '../schemas/TemplateVariable';
8
9
  export interface ChaosfaultGetFaultResponse {
9
10
  apiVersion?: string;
10
11
  category?: string[];
@@ -23,11 +24,9 @@ export interface ChaosfaultGetFaultResponse {
23
24
  permissionsRequired?: string;
24
25
  spec?: FaulttemplateSpec;
25
26
  tags?: string[];
26
- /**
27
- * Variables template.VariableList `bson:"variables" json:"variables" yaml:"variables"` @shovanmaity
28
- */
29
27
  templateReference?: FaultTemplateReference;
30
28
  type?: string;
31
29
  updatedAt?: number;
32
30
  values?: TemplateInputMinimum[];
31
+ variables?: TemplateVariable[];
33
32
  }
@@ -4,6 +4,7 @@ import type { FaultLink } from '../schemas/FaultLink';
4
4
  import type { FaulttemplateSpec } from '../schemas/FaulttemplateSpec';
5
5
  import type { FaultTemplateReference } from '../schemas/FaultTemplateReference';
6
6
  import type { TemplateInputMinimum } from '../schemas/TemplateInputMinimum';
7
+ import type { TemplateVariable } from '../schemas/TemplateVariable';
7
8
  export interface ChaosfaultUpdateFaultRequest {
8
9
  apiVersion?: string;
9
10
  category?: string[];
@@ -19,11 +20,9 @@ export interface ChaosfaultUpdateFaultRequest {
19
20
  permissionsRequired?: string;
20
21
  spec?: FaulttemplateSpec;
21
22
  tags?: string[];
22
- /**
23
- * Variables template.VariableList `bson:"variables" json:"variables" yaml:"variables"` @shovanmaity
24
- */
25
23
  templateReference?: FaultTemplateReference;
26
24
  type?: string;
27
25
  updatedAt?: number;
28
26
  values?: TemplateInputMinimum[];
27
+ variables?: TemplateVariable[];
29
28
  }
@@ -4,6 +4,7 @@ import type { FaultLink } from '../schemas/FaultLink';
4
4
  import type { FaulttemplateSpec } from '../schemas/FaulttemplateSpec';
5
5
  import type { FaultTemplateReference } from '../schemas/FaultTemplateReference';
6
6
  import type { TemplateInputMinimum } from '../schemas/TemplateInputMinimum';
7
+ import type { TemplateVariable } from '../schemas/TemplateVariable';
7
8
  export interface ChaosfaultUpdateFaultResponse {
8
9
  apiVersion?: string;
9
10
  category?: string[];
@@ -20,11 +21,9 @@ export interface ChaosfaultUpdateFaultResponse {
20
21
  permissionsRequired?: string;
21
22
  spec?: FaulttemplateSpec;
22
23
  tags?: string[];
23
- /**
24
- * Variables template.VariableList `bson:"variables" json:"variables" yaml:"variables"` @shovanmaity
25
- */
26
24
  templateReference?: FaultTemplateReference;
27
25
  type?: string;
28
26
  updatedAt?: number;
29
27
  values?: TemplateInputMinimum[];
28
+ variables?: TemplateVariable[];
30
29
  }
@@ -2,6 +2,7 @@ import type { ActionActionTemplateProperties } from '../schemas/ActionActionTemp
2
2
  import type { ActionsInfrastructureType } from '../schemas/ActionsInfrastructureType';
3
3
  import type { TemplateInput } from '../schemas/TemplateInput';
4
4
  import type { ActionActionTemplateRunProperties } from '../schemas/ActionActionTemplateRunProperties';
5
+ import type { TemplateVariable } from '../schemas/TemplateVariable';
5
6
  export interface ChaosfaulttemplateActionTemplate {
6
7
  actionProperties?: ActionActionTemplateProperties;
7
8
  description?: string;
@@ -11,11 +12,9 @@ export interface ChaosfaulttemplateActionTemplate {
11
12
  inputs?: TemplateInput[];
12
13
  isDefault?: boolean;
13
14
  name: string;
14
- /**
15
- * Variables template.VariableList `json:"variables" yaml:"variables,omitempty"` @shovanmaity
16
- */
17
15
  revision?: number;
18
16
  runProperties?: ActionActionTemplateRunProperties;
19
17
  tags?: string[];
20
18
  type?: string;
19
+ variables?: TemplateVariable[];
21
20
  }
@@ -1,6 +1,7 @@
1
1
  import type { TemplateInput } from '../schemas/TemplateInput';
2
2
  import type { FaulttemplateLink } from '../schemas/FaulttemplateLink';
3
3
  import type { FaulttemplateSpec } from '../schemas/FaulttemplateSpec';
4
+ import type { TemplateVariable } from '../schemas/TemplateVariable';
4
5
  export interface ChaosfaulttemplateCreateFaultTemplateRequest {
5
6
  apiVersion?: string;
6
7
  category?: string[];
@@ -8,9 +9,6 @@ export interface ChaosfaulttemplateCreateFaultTemplateRequest {
8
9
  identity: string;
9
10
  infraType?: string;
10
11
  infras?: string[];
11
- /**
12
- * Variables template.VariableList `bson:"variables" json:"variables" yaml:"variables"` @shovanmaity
13
- */
14
12
  inputs?: TemplateInput[];
15
13
  isDefault?: boolean;
16
14
  keywords?: string[];
@@ -23,4 +21,5 @@ export interface ChaosfaulttemplateCreateFaultTemplateRequest {
23
21
  spec?: FaulttemplateSpec;
24
22
  tags?: string[];
25
23
  type?: string;
24
+ variables?: TemplateVariable[];
26
25
  }
@@ -1,6 +1,7 @@
1
1
  import type { TemplateInput } from '../schemas/TemplateInput';
2
2
  import type { FaulttemplateLink } from '../schemas/FaulttemplateLink';
3
3
  import type { FaulttemplateSpec } from '../schemas/FaulttemplateSpec';
4
+ import type { TemplateVariable } from '../schemas/TemplateVariable';
4
5
  export interface ChaosfaulttemplateCreateFaultTemplateResponse {
5
6
  apiVersion?: string;
6
7
  category?: string[];
@@ -10,9 +11,6 @@ export interface ChaosfaulttemplateCreateFaultTemplateResponse {
10
11
  identity: string;
11
12
  infraType?: string;
12
13
  infras?: string[];
13
- /**
14
- * Variables template.VariableList `bson:"variables" json:"variables" yaml:"variables"` @shovanmaity
15
- */
16
14
  inputs?: TemplateInput[];
17
15
  isDefault?: boolean;
18
16
  keywords?: string[];
@@ -25,4 +23,5 @@ export interface ChaosfaulttemplateCreateFaultTemplateResponse {
25
23
  spec?: FaulttemplateSpec;
26
24
  tags?: string[];
27
25
  type?: string;
26
+ variables?: TemplateVariable[];
28
27
  }
@@ -1,6 +1,7 @@
1
1
  import type { TemplateInput } from '../schemas/TemplateInput';
2
2
  import type { FaulttemplateLink } from '../schemas/FaulttemplateLink';
3
3
  import type { FaulttemplateSpec } from '../schemas/FaulttemplateSpec';
4
+ import type { TemplateVariable } from '../schemas/TemplateVariable';
4
5
  export interface ChaosfaulttemplateUpdateFaultTemplateResponse {
5
6
  apiVersion?: string;
6
7
  category?: string[];
@@ -10,9 +11,6 @@ export interface ChaosfaulttemplateUpdateFaultTemplateResponse {
10
11
  identity: string;
11
12
  infraType?: string;
12
13
  infras?: string[];
13
- /**
14
- * Variables template.VariableList `bson:"variables" json:"variables" yaml:"variables"` @shovanmaity
15
- */
16
14
  inputs?: TemplateInput[];
17
15
  isDefault?: boolean;
18
16
  keywords?: string[];
@@ -25,4 +23,5 @@ export interface ChaosfaulttemplateUpdateFaultTemplateResponse {
25
23
  spec?: FaulttemplateSpec;
26
24
  tags?: string[];
27
25
  type?: string;
26
+ variables?: TemplateVariable[];
28
27
  }
@@ -3,6 +3,7 @@ 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';
6
+ import type { TemplateVariable } from '../schemas/TemplateVariable';
6
7
  export interface ChaosprobetemplateProbeTemplate {
7
8
  description?: string;
8
9
  hubRef?: string;
@@ -12,11 +13,9 @@ export interface ChaosprobetemplateProbeTemplate {
12
13
  isDefault?: boolean;
13
14
  name: string;
14
15
  probeProperties?: ProbeProbeTemplateProperties;
15
- /**
16
- * Variables template.VariableList `json:"variables" yaml:"variables,omitempty"` @shovanmaity
17
- */
18
16
  revision?: number;
19
17
  runProperties?: ProbeProbeTemplateRunProperties;
20
18
  tags?: string[];
21
19
  type?: ProbeProbeType;
20
+ variables?: TemplateVariable[];
22
21
  }
@@ -1,6 +1,7 @@
1
1
  import type { TemplateInput } from '../schemas/TemplateInput';
2
2
  import type { FaulttemplateLink } from '../schemas/FaulttemplateLink';
3
3
  import type { FaulttemplateSpec } from '../schemas/FaulttemplateSpec';
4
+ import type { TemplateVariable } from '../schemas/TemplateVariable';
4
5
  export interface FaulttemplateFaultTemplate {
5
6
  apiVersion?: string;
6
7
  category?: string[];
@@ -8,9 +9,6 @@ export interface FaulttemplateFaultTemplate {
8
9
  identity: string;
9
10
  infraType?: string;
10
11
  infras?: string[];
11
- /**
12
- * Variables template.VariableList `bson:"variables" json:"variables" yaml:"variables"` @shovanmaity
13
- */
14
12
  inputs?: TemplateInput[];
15
13
  isDefault?: boolean;
16
14
  keywords?: string[];
@@ -23,4 +21,5 @@ export interface FaulttemplateFaultTemplate {
23
21
  spec?: FaulttemplateSpec;
24
22
  tags?: string[];
25
23
  type?: string;
24
+ variables?: TemplateVariable[];
26
25
  }
@@ -3,6 +3,7 @@ import type { ActionsInfrastructureType } from '../schemas/ActionsInfrastructure
3
3
  import type { TemplateInput } from '../schemas/TemplateInput';
4
4
  import type { ActionActionTemplateRunProperties } from '../schemas/ActionActionTemplateRunProperties';
5
5
  import type { ActionsActionType } from '../schemas/ActionsActionType';
6
+ import type { TemplateVariable } from '../schemas/TemplateVariable';
6
7
  export interface GithubComHarnessHceSaasGraphqlServerPkgActionsAction {
7
8
  actionProperties?: ActionActionTemplateProperties;
8
9
  actionsTemplateRef?: string;
@@ -15,4 +16,5 @@ export interface GithubComHarnessHceSaasGraphqlServerPkgActionsAction {
15
16
  runProperties?: ActionActionTemplateRunProperties;
16
17
  tags?: string[];
17
18
  type?: ActionsActionType;
19
+ variables?: TemplateVariable[];
18
20
  }
@@ -6,6 +6,7 @@ import type { MongodbManagedBy } from '../schemas/MongodbManagedBy';
6
6
  import type { ActionsRecentExecutions } from '../schemas/ActionsRecentExecutions';
7
7
  import type { ActionActionTemplateRunProperties } from '../schemas/ActionActionTemplateRunProperties';
8
8
  import type { ActionsActionType } from '../schemas/ActionsActionType';
9
+ import type { TemplateVariable } from '../schemas/TemplateVariable';
9
10
  export interface GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbActionsAction {
10
11
  accountID: string;
11
12
  actionProperties?: ActionActionTemplateProperties;
@@ -23,11 +24,9 @@ export interface GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbActionsAc
23
24
  name: string;
24
25
  orgID?: string;
25
26
  projectID?: string;
26
- /**
27
- * Variables template.VariableList `json:"variables" bson:"variables"` @shovanmaity
28
- */
29
27
  recentExecutions?: ActionsRecentExecutions[];
30
28
  runProperties?: ActionActionTemplateRunProperties;
31
29
  tags?: string[];
32
30
  type?: ActionsActionType;
31
+ variables?: TemplateVariable[];
33
32
  }
@@ -4,6 +4,7 @@ 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';
7
+ import type { TemplateVariable } from '../schemas/TemplateVariable';
7
8
  export interface GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbChaosprobetemplateChaosProbeTemplate {
8
9
  accountID: string;
9
10
  createdAt?: number;
@@ -31,7 +32,6 @@ export interface GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbChaosprob
31
32
  probeProperties?: ProbeProbeTemplateProperties;
32
33
  projectID?: string;
33
34
  /**
34
- * Variables template.VariableList `bson:"variables" json:"variables"` @shovanmaity
35
35
  * it increments every time a new version of fault is published
36
36
  */
37
37
  revision?: number;
@@ -42,4 +42,5 @@ export interface GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbChaosprob
42
42
  updatedAt?: number;
43
43
  updatedBy?: string;
44
44
  updatedByUserDetails?: GithubComHarnessHceSaasGraphqlServerGraphModelUserDetails;
45
+ variables?: TemplateVariable[];
45
46
  }
@@ -1 +1 @@
1
- export type TemplateInputCategory = 'ActionProperties' | 'ExperimentTunable' | 'FaultAuthentication' | 'FaultTarget' | 'FaultTunable' | 'ProbeProperties' | 'RunProperties' | 'TargetInfra';
1
+ export type TemplateInputCategory = 'ActionProperties' | 'ExperimentTunable' | 'FaultAuthentication' | 'FaultTarget' | 'FaultTunable' | 'ProbeProperties' | 'RunProperties' | 'TargetInfra' | 'Variables';
@@ -0,0 +1,9 @@
1
+ import type { TemplateVariableType } from '../schemas/TemplateVariableType';
2
+ export interface TemplateVariable {
3
+ description?: string;
4
+ name: string;
5
+ path?: string;
6
+ required?: boolean;
7
+ type?: TemplateVariableType;
8
+ value: {};
9
+ }
@@ -0,0 +1 @@
1
+ export type TemplateVariableType = 'Number' | 'String';
@@ -0,0 +1,4 @@
1
+ /* eslint-disable */
2
+ // This code is autogenerated using @harnessio/oats-cli.
3
+ // Please do not modify this code directly.
4
+ export {};
@@ -9,6 +9,7 @@ import type { ProbeDynatraceProbe } from '../schemas/ProbeDynatraceProbe';
9
9
  import type { ProbeLinuxCmdProbe } from '../schemas/ProbeLinuxCmdProbe';
10
10
  import type { ProbePromProbe } from '../schemas/ProbePromProbe';
11
11
  import type { ProbeSloProbe } from '../schemas/ProbeSloProbe';
12
+ import type { TemplateVariable } from '../schemas/TemplateVariable';
12
13
  import type { ProbeWindowsCmdProbe } from '../schemas/ProbeWindowsCmdProbe';
13
14
  export interface TypesCreateProbeResponse {
14
15
  apmProperties?: ProbeApmProbe;
@@ -28,12 +29,10 @@ export interface TypesCreateProbeResponse {
28
29
  name?: string;
29
30
  probeId?: string;
30
31
  promProperties?: ProbePromProbe;
31
- /**
32
- * Variables template.VariableList `json:"variables" bson:"variables"` @shovanmaity
33
- */
34
32
  revisionId?: string;
35
33
  sloProperties?: ProbeSloProbe;
36
34
  tags?: string[];
35
+ variables?: TemplateVariable[];
37
36
  windowsCmdProperties?: ProbeWindowsCmdProbe;
38
37
  windowsHttpProperties?: ProbeHttpProbe;
39
38
  }
@@ -7,13 +7,11 @@ import type { ProbeProbeTemplateProperties } from '../schemas/ProbeProbeTemplate
7
7
  import type { TypesProbeRecentExecutions } from '../schemas/TypesProbeRecentExecutions';
8
8
  import type { ProbeProbeTemplateRunProperties } from '../schemas/ProbeProbeTemplateRunProperties';
9
9
  import type { TypesProbeType } from '../schemas/TypesProbeType';
10
+ import type { TemplateVariable } from '../schemas/TemplateVariable';
10
11
  export interface TypesGetProbeResponse {
11
12
  createdAt?: number;
12
13
  createdBy?: GithubComHarnessHceSaasGraphqlServerGraphModelUserDetails;
13
14
  description?: string;
14
- /**
15
- * Variables template.VariableList `json:"variables,omitempty"` @shovanmaity
16
- */
17
15
  hubRef?: string;
18
16
  identity?: string;
19
17
  importType?: MongodbImportType;
@@ -35,4 +33,5 @@ export interface TypesGetProbeResponse {
35
33
  type?: TypesProbeType;
36
34
  updatedAt?: number;
37
35
  updatedBy?: GithubComHarnessHceSaasGraphqlServerGraphModelUserDetails;
36
+ variables?: TemplateVariable[];
38
37
  }
@@ -6,11 +6,9 @@ import type { ProbeProbeTemplateProperties } from '../schemas/ProbeProbeTemplate
6
6
  import type { TypesProbeRecentExecutions } from '../schemas/TypesProbeRecentExecutions';
7
7
  import type { ProbeProbeTemplateRunProperties } from '../schemas/ProbeProbeTemplateRunProperties';
8
8
  import type { TypesProbeType } from '../schemas/TypesProbeType';
9
+ import type { TemplateVariable } from '../schemas/TemplateVariable';
9
10
  export interface TypesProbeRequest {
10
11
  description?: string;
11
- /**
12
- * Variables template.VariableList `json:"variables,omitempty"` @shovanmaity
13
- */
14
12
  hubRef?: string;
15
13
  identity?: string;
16
14
  importType?: MongodbImportType;
@@ -30,4 +28,5 @@ export interface TypesProbeRequest {
30
28
  runProperties?: ProbeProbeTemplateRunProperties;
31
29
  tags?: string[];
32
30
  type?: TypesProbeType;
31
+ variables?: TemplateVariable[];
33
32
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@harnessio/react-chaos-manager-client",
3
- "version": "1.51.1-beta.0",
3
+ "version": "1.52.0",
4
4
  "description": "Harness React Chaos Manager Service Client - APIs integrated with react hooks",
5
5
  "author": "Harness Inc",
6
6
  "license": "MIT",