@harnessio/react-chaos-manager-client 1.37.0 → 1.38.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.
@@ -1,4 +1,5 @@
1
1
  import { UseMutationOptions } from '@tanstack/react-query';
2
+ import type { KubernetesInfraUpdateKubernetesInfrastructureResponse } from '../schemas/KubernetesInfraUpdateKubernetesInfrastructureResponse';
2
3
  import type { ApiRestError } from '../schemas/ApiRestError';
3
4
  import type { ModelUpdateInfraRequest } from '../schemas/ModelUpdateInfraRequest';
4
5
  import { FetcherOptions } from '../../../../custom-fetcher/index.js';
@@ -11,7 +12,7 @@ export interface UpdateLegacyKubernetesChaosInfraMutationQueryParams {
11
12
  projectIdentifier: string;
12
13
  }
13
14
  export type UpdateLegacyKubernetesChaosInfraRequestBody = ModelUpdateInfraRequest;
14
- export type UpdateLegacyKubernetesChaosInfraOkResponse = string;
15
+ export type UpdateLegacyKubernetesChaosInfraOkResponse = KubernetesInfraUpdateKubernetesInfrastructureResponse;
15
16
  export type UpdateLegacyKubernetesChaosInfraErrorResponse = ApiRestError;
16
17
  export interface UpdateLegacyKubernetesChaosInfraProps extends UpdateLegacyKubernetesChaosInfraMutationPathParams, Omit<FetcherOptions<UpdateLegacyKubernetesChaosInfraMutationQueryParams, UpdateLegacyKubernetesChaosInfraRequestBody>, 'url'> {
17
18
  queryParams: UpdateLegacyKubernetesChaosInfraMutationQueryParams;
@@ -1,4 +1,5 @@
1
1
  import { UseMutationOptions } from '@tanstack/react-query';
2
+ import type { KubernetesInfraUpgradeKubernetesInfrastructureResponse } from '../schemas/KubernetesInfraUpgradeKubernetesInfrastructureResponse';
2
3
  import type { ApiRestError } from '../schemas/ApiRestError';
3
4
  import { FetcherOptions } from '../../../../custom-fetcher/index.js';
4
5
  export interface UpgradeLegacyKubernetesChaosInfraMutationPathParams {
@@ -9,7 +10,7 @@ export interface UpgradeLegacyKubernetesChaosInfraMutationQueryParams {
9
10
  organizationIdentifier: string;
10
11
  projectIdentifier: string;
11
12
  }
12
- export type UpgradeLegacyKubernetesChaosInfraOkResponse = string;
13
+ export type UpgradeLegacyKubernetesChaosInfraOkResponse = KubernetesInfraUpgradeKubernetesInfrastructureResponse;
13
14
  export type UpgradeLegacyKubernetesChaosInfraErrorResponse = ApiRestError;
14
15
  export interface UpgradeLegacyKubernetesChaosInfraProps extends UpgradeLegacyKubernetesChaosInfraMutationPathParams, Omit<FetcherOptions<UpgradeLegacyKubernetesChaosInfraMutationQueryParams, unknown>, 'url'> {
15
16
  queryParams: UpgradeLegacyKubernetesChaosInfraMutationQueryParams;
@@ -797,6 +797,8 @@ export type { K8sIoApimachineryPkgApisMetaV1ConditionStatus } from './schemas/K8
797
797
  export type { K8sinfraGetInfraTokenResponse } from './schemas/K8sinfraGetInfraTokenResponse';
798
798
  export type { K8sinfraUpdateEmissaryUrlRequest } from './schemas/K8sinfraUpdateEmissaryUrlRequest';
799
799
  export type { K8sinfraUpdateEmissaryUrlResponse } from './schemas/K8sinfraUpdateEmissaryUrlResponse';
800
+ export type { KubernetesInfraUpdateKubernetesInfrastructureResponse } from './schemas/KubernetesInfraUpdateKubernetesInfrastructureResponse';
801
+ export type { KubernetesInfraUpgradeKubernetesInfrastructureResponse } from './schemas/KubernetesInfraUpgradeKubernetesInfrastructureResponse';
800
802
  export type { ModelClusterType } from './schemas/ModelClusterType';
801
803
  export type { ModelConditionDetails } from './schemas/ModelConditionDetails';
802
804
  export type { ModelDateRange } from './schemas/ModelDateRange';
@@ -0,0 +1,4 @@
1
+ export interface KubernetesInfraUpdateKubernetesInfrastructureResponse {
2
+ correlationId?: string;
3
+ message?: string;
4
+ }
@@ -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 {};
@@ -0,0 +1,4 @@
1
+ export interface KubernetesInfraUpgradeKubernetesInfrastructureResponse {
2
+ message?: string;
3
+ name?: string;
4
+ }
@@ -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 {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@harnessio/react-chaos-manager-client",
3
- "version": "1.37.0",
3
+ "version": "1.38.0",
4
4
  "description": "Harness React Chaos Manager Service Client - APIs integrated with react hooks",
5
5
  "author": "Harness Inc",
6
6
  "license": "MIT",