@harnessio/react-chaos-manager-client 1.23.0 → 1.23.1

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.
@@ -3,18 +3,27 @@ import type { ChaosfaulttemplateListFaultTemplateResponse } from '../schemas/Cha
3
3
  import { FetcherOptions } from '../../../../custom-fetcher/index.js';
4
4
  export interface ListFaultTemplateQueryQueryParams {
5
5
  accountIdentifier: string;
6
- organizationIdentifier: string;
7
- projectIdentifier: string;
8
- hubIdentity: string;
6
+ category?: string;
9
7
  correlationID?: string;
8
+ hubIdentity?: string;
9
+ infrastructure?: 'KubernetesV2';
10
+ infrastructureType?: 'Kubernetes';
11
+ isEnterprise?: boolean;
10
12
  /**
11
- * @default 0
13
+ * @default 10
12
14
  */
13
- page: number;
15
+ limit?: number;
16
+ organizationIdentifier?: string;
14
17
  /**
15
- * @default 15
18
+ * @default 0
16
19
  */
17
- limit: number;
20
+ page?: number;
21
+ projectIdentifier?: string;
22
+ search?: string;
23
+ sortAscending?: boolean;
24
+ sortField?: 'lastUpdated' | 'name';
25
+ tags?: string;
26
+ type?: string;
18
27
  }
19
28
  export type ListFaultTemplateOkResponse = ChaosfaulttemplateListFaultTemplateResponse;
20
29
  export type ListFaultTemplateErrorResponse = unknown;
@@ -767,8 +767,8 @@ export type { ProbeLinuxCmdProbe } from './schemas/ProbeLinuxCmdProbe';
767
767
  export type { ProbeMethod } from './schemas/ProbeMethod';
768
768
  export type { ProbeMethodTemplate } from './schemas/ProbeMethodTemplate';
769
769
  export type { ProbeMetrics } from './schemas/ProbeMetrics';
770
- export type { ProbeNewrelicMetric } from './schemas/ProbeNewrelicMetric';
771
- export type { ProbeNewrelicProbeInputs } from './schemas/ProbeNewrelicProbeInputs';
770
+ export type { ProbeNewRelicMetric } from './schemas/ProbeNewRelicMetric';
771
+ export type { ProbeNewRelicProbeInputs } from './schemas/ProbeNewRelicProbeInputs';
772
772
  export type { ProbeProbeTemplateProperties } from './schemas/ProbeProbeTemplateProperties';
773
773
  export type { ProbeProbeTemplateRunProperties } from './schemas/ProbeProbeTemplateRunProperties';
774
774
  export type { ProbeProbeType } from './schemas/ProbeProbeType';
@@ -966,8 +966,8 @@ export type { V1ManagedFieldsEntry } from './schemas/V1ManagedFieldsEntry';
966
966
  export type { V1ManagedFieldsOperationType } from './schemas/V1ManagedFieldsOperationType';
967
967
  export type { V1Metrics } from './schemas/V1Metrics';
968
968
  export type { V1MountPropagationMode } from './schemas/V1MountPropagationMode';
969
- export type { V1NewrelicInputs } from './schemas/V1NewrelicInputs';
970
- export type { V1NewrelicMetric } from './schemas/V1NewrelicMetric';
969
+ export type { V1NewRelicInputs } from './schemas/V1NewRelicInputs';
970
+ export type { V1NewRelicMetric } from './schemas/V1NewRelicMetric';
971
971
  export type { V1NewrelicMetrics } from './schemas/V1NewrelicMetrics';
972
972
  export type { V1NewrelicProbeInputs } from './schemas/V1NewrelicProbeInputs';
973
973
  export type { V1NfsVolumeSource } from './schemas/V1NfsVolumeSource';
@@ -1 +1 @@
1
- export type ExecutionChaosStepStatus = 'Completed' | 'Completed_With_Probe_Failure' | 'Error' | 'Failed' | 'Interrupted' | 'Passed' | 'Pending' | 'Queued' | 'Running' | 'Skipped' | 'Stopped';
1
+ export type ExecutionChaosStepStatus = 'Completed' | 'Completed_With_Probe_Absent' | 'Completed_With_Probe_Failure' | 'Error' | 'Failed' | 'Interrupted' | 'Passed' | 'Pending' | 'Queued' | 'Running' | 'Skipped' | 'Stopped';
@@ -1,5 +1,9 @@
1
1
  import type { TemplateVariableMinimum } from '../schemas/TemplateVariableMinimum';
2
2
  export interface ExperimentFaultRef {
3
+ /**
4
+ * AuthEnabled denotes whether authentication is enabled for the fault
5
+ */
6
+ authEnabled?: boolean;
3
7
  /**
4
8
  * Identity of the fault reference
5
9
  */
@@ -1,7 +1,7 @@
1
1
  import type { GithubComHarnessHceSaasHceSdkTemplateSchemaProbeAppDynamicsProbeInputs } from '../schemas/GithubComHarnessHceSaasHceSdkTemplateSchemaProbeAppDynamicsProbeInputs';
2
2
  import type { ProbeComparatorTemplate } from '../schemas/ProbeComparatorTemplate';
3
3
  import type { GithubComHarnessHceSaasHceSdkTemplateSchemaProbeDynatraceApmProbeInputs } from '../schemas/GithubComHarnessHceSaasHceSdkTemplateSchemaProbeDynatraceApmProbeInputs';
4
- import type { ProbeNewrelicProbeInputs } from '../schemas/ProbeNewrelicProbeInputs';
4
+ import type { ProbeNewRelicProbeInputs } from '../schemas/ProbeNewRelicProbeInputs';
5
5
  import type { GithubComHarnessHceSaasHceSdkTemplateSchemaProbePrometheusProbeInputs } from '../schemas/GithubComHarnessHceSaasHceSdkTemplateSchemaProbePrometheusProbeInputs';
6
6
  import type { GithubComHarnessHceSaasHceSdkTemplateSchemaProbeSplunkObservabilityProbeInputs } from '../schemas/GithubComHarnessHceSaasHceSdkTemplateSchemaProbeSplunkObservabilityProbeInputs';
7
7
  import type { ProbeApmProbeType } from '../schemas/ProbeApmProbeType';
@@ -9,7 +9,7 @@ export interface ProbeApmProbeTemplate {
9
9
  appDynamicsProbeInputs?: GithubComHarnessHceSaasHceSdkTemplateSchemaProbeAppDynamicsProbeInputs;
10
10
  comparator?: ProbeComparatorTemplate;
11
11
  dynatraceApmProbeInputs?: GithubComHarnessHceSaasHceSdkTemplateSchemaProbeDynatraceApmProbeInputs;
12
- newrelicProbeInputs?: ProbeNewrelicProbeInputs;
12
+ newRelicProbeInputs?: ProbeNewRelicProbeInputs;
13
13
  prometheusProbeInputs?: GithubComHarnessHceSaasHceSdkTemplateSchemaProbePrometheusProbeInputs;
14
14
  splunkObservabilityProbeInputs?: GithubComHarnessHceSaasHceSdkTemplateSchemaProbeSplunkObservabilityProbeInputs;
15
15
  type?: ProbeApmProbeType;
@@ -1,4 +1,4 @@
1
- export interface ProbeNewrelicMetric {
1
+ export interface ProbeNewRelicMetric {
2
2
  query?: string;
3
3
  queryMetric?: string;
4
4
  }
@@ -0,0 +1,5 @@
1
+ import type { ProbeNewRelicMetric } from '../schemas/ProbeNewRelicMetric';
2
+ export interface ProbeNewRelicProbeInputs {
3
+ connectorID?: string;
4
+ newRelicMetric?: ProbeNewRelicMetric;
5
+ }
@@ -1,7 +1,7 @@
1
1
  import type { V1AppDynamicsInputs } from '../schemas/V1AppDynamicsInputs';
2
2
  import type { V1ComparatorInfo } from '../schemas/V1ComparatorInfo';
3
3
  import type { V1DynatraceApmProbeInputs } from '../schemas/V1DynatraceApmProbeInputs';
4
- import type { V1NewrelicInputs } from '../schemas/V1NewrelicInputs';
4
+ import type { V1NewRelicInputs } from '../schemas/V1NewRelicInputs';
5
5
  import type { V1PrometheusInputs } from '../schemas/V1PrometheusInputs';
6
6
  import type { V1SplunkObservabilityInputs } from '../schemas/V1SplunkObservabilityInputs';
7
7
  export interface V1ApmProbeInputs {
@@ -18,9 +18,9 @@ export interface V1ApmProbeInputs {
18
18
  */
19
19
  dynatraceApmProbeInputs?: V1DynatraceApmProbeInputs;
20
20
  /**
21
- * NewrelicInputs contains the inputs required for Newrelic probe
21
+ * NewRelicInputs contains the inputs required for NewRelic probe
22
22
  */
23
- newrelicInputs?: V1NewrelicInputs;
23
+ newRelicInputs?: V1NewRelicInputs;
24
24
  /**
25
25
  * PrometheusInputs contains the inputs required for prometheus probe
26
26
  */
@@ -0,0 +1,15 @@
1
+ import type { V1NewRelicMetric } from '../schemas/V1NewRelicMetric';
2
+ export interface V1NewRelicInputs {
3
+ /**
4
+ * AccountID for the NewRelic probe
5
+ */
6
+ accountId?: string;
7
+ /**
8
+ * Endpoint for the NewRelic probe
9
+ */
10
+ endpoint?: string;
11
+ /**
12
+ * Raw metrics details of the NewRelic probe
13
+ */
14
+ newRelicMetric?: V1NewRelicMetric;
15
+ }
@@ -1,4 +1,4 @@
1
- export interface V1NewrelicMetric {
1
+ export interface V1NewRelicMetric {
2
2
  /**
3
3
  * Query contains the query for the metrics
4
4
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@harnessio/react-chaos-manager-client",
3
- "version": "1.23.0",
3
+ "version": "1.23.1",
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 { ProbeNewrelicMetric } from '../schemas/ProbeNewrelicMetric';
2
- export interface ProbeNewrelicProbeInputs {
3
- connectorID?: string;
4
- newrelicMetric?: ProbeNewrelicMetric;
5
- }
@@ -1,15 +0,0 @@
1
- import type { V1NewrelicMetric } from '../schemas/V1NewrelicMetric';
2
- export interface V1NewrelicInputs {
3
- /**
4
- * AccountID for the Newrelic probe
5
- */
6
- accountId?: string;
7
- /**
8
- * Endpoint for the Newrelic probe
9
- */
10
- endpoint?: string;
11
- /**
12
- * Raw metrcis details of the Newrelic probe
13
- */
14
- newrelicMetric?: V1NewrelicMetric;
15
- }