@harnessio/react-chaos-manager-client 1.15.1-beta.1 → 1.16.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 (19) hide show
  1. package/dist/chaos-manager/src/services/hooks/useListTargetNetworkMapsQuery.d.ts +0 -4
  2. package/dist/chaos-manager/src/services/schemas/ChaosExecutionNodesActionData.d.ts +1 -0
  3. package/dist/chaos-manager/src/services/schemas/ChaosfaultChaosFault.d.ts +2 -1
  4. package/dist/chaos-manager/src/services/schemas/ChaosfaultCreateFaultRequest.d.ts +2 -1
  5. package/dist/chaos-manager/src/services/schemas/ChaosfaultCreateFaultResponse.d.ts +2 -1
  6. package/dist/chaos-manager/src/services/schemas/ChaosfaultGetFaultResponse.d.ts +2 -1
  7. package/dist/chaos-manager/src/services/schemas/ChaosfaultUpdateFaultRequest.d.ts +2 -1
  8. package/dist/chaos-manager/src/services/schemas/ChaosfaultUpdateFaultResponse.d.ts +2 -1
  9. package/dist/chaos-manager/src/services/schemas/ChaosfaulttemplateCreateFaultTemplateRequest.d.ts +1 -0
  10. package/dist/chaos-manager/src/services/schemas/ChaosfaulttemplateCreateFaultTemplateResponse.d.ts +1 -0
  11. package/dist/chaos-manager/src/services/schemas/ChaosfaulttemplateUpdateFaultTemplateResponse.d.ts +1 -0
  12. package/dist/chaos-manager/src/services/schemas/DatabaseKubernetesAgentConfiguration.d.ts +8 -0
  13. package/dist/chaos-manager/src/services/schemas/ExperimentFaultRef.d.ts +4 -4
  14. package/dist/chaos-manager/src/services/schemas/FaulttemplateFaultTemplate.d.ts +1 -0
  15. package/dist/chaos-manager/src/services/schemas/InfraV2RegisterInfrastructureV2Request.d.ts +1 -0
  16. package/dist/chaos-manager/src/services/schemas/ProbeEvaluationWindow.d.ts +2 -2
  17. package/dist/chaos-manager/src/services/schemas/ResourceQuantity.d.ts +1 -1
  18. package/dist/chaos-manager/src/services/schemas/V2OnboardingChaosInfraAdvanceConfiguration.d.ts +1 -0
  19. package/package.json +1 -1
@@ -15,10 +15,6 @@ export interface ListTargetNetworkMapsQueryQueryParams {
15
15
  * @default 10
16
16
  */
17
17
  limit: number;
18
- environmentIdentifier?: string;
19
- infraId?: string;
20
- all?: boolean;
21
- minimal?: boolean;
22
18
  search?: string;
23
19
  }
24
20
  export type ListTargetNetworkMapsRequestBody = NetworkmapListTargetNetworkMapRequest;
@@ -1,3 +1,4 @@
1
1
  export interface ChaosExecutionNodesActionData {
2
2
  name?: string;
3
+ type?: string;
3
4
  }
@@ -13,7 +13,8 @@ export interface ChaosfaultChaosFault {
13
13
  * Unique identifier (human-readable) immutable
14
14
  */
15
15
  identity?: string;
16
- infrastructureType?: string;
16
+ infraType?: string;
17
+ infras?: string[];
17
18
  isEnterprise?: boolean;
18
19
  isRemoved: boolean;
19
20
  name: string;
@@ -5,7 +5,8 @@ export interface ChaosfaultCreateFaultRequest {
5
5
  category?: string[];
6
6
  description?: string;
7
7
  identity?: string;
8
- infrastructureType?: string;
8
+ infraType?: string;
9
+ infras?: string[];
9
10
  name?: string;
10
11
  spec?: FaulttemplateSpec;
11
12
  tags?: string[];
@@ -6,7 +6,8 @@ export interface ChaosfaultCreateFaultResponse {
6
6
  correlationID?: string;
7
7
  description?: string;
8
8
  identity?: string;
9
- infrastructureType?: string;
9
+ infraType?: string;
10
+ infras?: string[];
10
11
  name?: string;
11
12
  spec?: FaulttemplateSpec;
12
13
  tags?: string[];
@@ -6,7 +6,8 @@ export interface ChaosfaultGetFaultResponse {
6
6
  correlationID?: string;
7
7
  description?: string;
8
8
  identity?: string;
9
- infrastructureType?: string;
9
+ infraType?: string;
10
+ infras?: string[];
10
11
  isEnterprise?: boolean;
11
12
  name?: string;
12
13
  spec?: FaulttemplateSpec;
@@ -5,7 +5,8 @@ export interface ChaosfaultUpdateFaultRequest {
5
5
  category?: string[];
6
6
  description?: string;
7
7
  identity?: string;
8
- infrastructureType?: string;
8
+ infraType?: string;
9
+ infras?: string[];
9
10
  name?: string;
10
11
  spec?: FaulttemplateSpec;
11
12
  tags?: string[];
@@ -6,7 +6,8 @@ export interface ChaosfaultUpdateFaultResponse {
6
6
  correlationID?: string;
7
7
  description?: string;
8
8
  identity?: string;
9
- infrastructureType?: string;
9
+ infraType?: string;
10
+ infras?: string[];
10
11
  name?: string;
11
12
  spec?: FaulttemplateSpec;
12
13
  tags?: string[];
@@ -3,6 +3,7 @@ import type { TemplateVariable } from '../schemas/TemplateVariable';
3
3
  export interface ChaosfaulttemplateCreateFaultTemplateRequest {
4
4
  description?: string;
5
5
  identity?: string;
6
+ infraType?: string;
6
7
  infras?: string[];
7
8
  isDefault?: boolean;
8
9
  keywords?: string[];
@@ -5,6 +5,7 @@ export interface ChaosfaulttemplateCreateFaultTemplateResponse {
5
5
  description?: string;
6
6
  hubIdentity?: string;
7
7
  identity?: string;
8
+ infraType?: string;
8
9
  infras?: string[];
9
10
  isDefault?: boolean;
10
11
  keywords?: string[];
@@ -5,6 +5,7 @@ export interface ChaosfaulttemplateUpdateFaultTemplateResponse {
5
5
  description?: string;
6
6
  hubIdentity?: string;
7
7
  identity?: string;
8
+ infraType?: string;
8
9
  infras?: string[];
9
10
  isDefault?: boolean;
10
11
  keywords?: string[];
@@ -2,7 +2,14 @@ import type { V1PullPolicy } from '../schemas/V1PullPolicy';
2
2
  import type { DatabaseResourceRequirements } from '../schemas/DatabaseResourceRequirements';
3
3
  import type { V1Toleration } from '../schemas/V1Toleration';
4
4
  export interface DatabaseKubernetesAgentConfiguration {
5
+ annotations?: {
6
+ [key: string]: string;
7
+ };
8
+ disableNamespaceCreation?: boolean;
5
9
  imagePullPolicy?: V1PullPolicy;
10
+ labels?: {
11
+ [key: string]: string;
12
+ };
6
13
  namespace?: string;
7
14
  namespaced?: boolean;
8
15
  nodeSelector?: {
@@ -13,4 +20,5 @@ export interface DatabaseKubernetesAgentConfiguration {
13
20
  runAsUser?: number;
14
21
  serviceAccount?: string;
15
22
  tolerations?: V1Toleration[];
23
+ useStaticNameForConfigmapAndSecret?: boolean;
16
24
  }
@@ -1,9 +1,5 @@
1
1
  import type { TemplateVariableMinimum } from '../schemas/TemplateVariableMinimum';
2
2
  export interface ExperimentFaultRef {
3
- /**
4
- * HubRef of the fault reference
5
- */
6
- hubRef?: string;
7
3
  /**
8
4
  * Identity of the fault reference
9
5
  */
@@ -12,6 +8,10 @@ export interface ExperimentFaultRef {
12
8
  * InfraID contains the infrastructure id
13
9
  */
14
10
  infraId?: string;
11
+ /**
12
+ * HubRef of the fault reference
13
+ */
14
+ isEnterprise?: boolean;
15
15
  /**
16
16
  * Name of the fault reference
17
17
  */
@@ -3,6 +3,7 @@ import type { TemplateVariable } from '../schemas/TemplateVariable';
3
3
  export interface FaulttemplateFaultTemplate {
4
4
  description?: string;
5
5
  identity?: string;
6
+ infraType?: string;
6
7
  infras?: string[];
7
8
  isDefault?: boolean;
8
9
  keywords?: string[];
@@ -13,6 +13,7 @@ export interface InfraV2RegisterInfrastructureV2Request {
13
13
  annotation?: {
14
14
  [key: string]: string;
15
15
  };
16
+ autopilotEnabled?: boolean;
16
17
  containers?: string;
17
18
  correlationId?: string;
18
19
  description?: string;
@@ -2,9 +2,9 @@ export interface ProbeEvaluationWindow {
2
2
  /**
3
3
  * End time of evaluation
4
4
  */
5
- evaluationEndTime?: string;
5
+ evaluationEndTime?: {};
6
6
  /**
7
7
  * Start time of evaluation
8
8
  */
9
- evaluationStartTime?: string;
9
+ evaluationStartTime?: {};
10
10
  }
@@ -1,3 +1,3 @@
1
1
  export interface ResourceQuantity {
2
- Format?: string;
2
+ Format?: 'BinarySI' | 'DecimalExponent' | 'DecimalSI';
3
3
  }
@@ -3,6 +3,7 @@ import type { InfraV2MtlsConfiguration } from '../schemas/InfraV2MtlsConfigurati
3
3
  import type { InfraV2ProxyConfiguration } from '../schemas/InfraV2ProxyConfiguration';
4
4
  import type { V1Toleration } from '../schemas/V1Toleration';
5
5
  export interface V2OnboardingChaosInfraAdvanceConfiguration {
6
+ autopilotEnabled?: boolean;
6
7
  imagePullPolicy?: V1PullPolicy;
7
8
  insecureSkipVerify?: boolean;
8
9
  mtls?: InfraV2MtlsConfiguration;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@harnessio/react-chaos-manager-client",
3
- "version": "1.15.1-beta.1",
3
+ "version": "1.16.0",
4
4
  "description": "Harness React Chaos Manager Service Client - APIs integrated with react hooks",
5
5
  "author": "Harness Inc",
6
6
  "license": "MIT",