@harnessio/react-chaos-manager-client 1.18.1-beta.1 → 1.18.1-beta.3

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.
@@ -6,6 +6,14 @@ export interface ListRecommendationsQueryQueryParams {
6
6
  accountIdentifier: string;
7
7
  organizationIdentifier: string;
8
8
  projectIdentifier: string;
9
+ /**
10
+ * @default 0
11
+ */
12
+ page: number;
13
+ /**
14
+ * @default 15
15
+ */
16
+ limit: number;
9
17
  }
10
18
  export type ListRecommendationsRequestBody = RecommendationsListRecommendationsRequest;
11
19
  export type ListRecommendationsOkResponse = RecommendationsListRecommendationsResponse;
@@ -1,4 +1,5 @@
1
1
  import { UseMutationOptions } from '@tanstack/react-query';
2
+ import type { RecommendationsPipelineAddExperimentResponse } from '../schemas/RecommendationsPipelineAddExperimentResponse';
2
3
  import { FetcherOptions } from '../../../../custom-fetcher/index.js';
3
4
  export interface PipelineAddExperimentRecommendationMutationQueryParams {
4
5
  accountIdentifier: string;
@@ -6,7 +7,7 @@ export interface PipelineAddExperimentRecommendationMutationQueryParams {
6
7
  projectIdentifier: string;
7
8
  recommendationID: string;
8
9
  }
9
- export type PipelineAddExperimentRecommendationOkResponse = unknown;
10
+ export type PipelineAddExperimentRecommendationOkResponse = RecommendationsPipelineAddExperimentResponse;
10
11
  export type PipelineAddExperimentRecommendationErrorResponse = unknown;
11
12
  export interface PipelineAddExperimentRecommendationProps extends Omit<FetcherOptions<PipelineAddExperimentRecommendationMutationQueryParams, unknown>, 'url'> {
12
13
  queryParams: PipelineAddExperimentRecommendationMutationQueryParams;
@@ -733,6 +733,7 @@ export type { RecommendationsCreateActionResponse } from './schemas/Recommendati
733
733
  export type { RecommendationsFilters } from './schemas/RecommendationsFilters';
734
734
  export type { RecommendationsListRecommendationsRequest } from './schemas/RecommendationsListRecommendationsRequest';
735
735
  export type { RecommendationsListRecommendationsResponse } from './schemas/RecommendationsListRecommendationsResponse';
736
+ export type { RecommendationsPipelineAddExperimentResponse } from './schemas/RecommendationsPipelineAddExperimentResponse';
736
737
  export type { RecommendationsRunActionResponse } from './schemas/RecommendationsRunActionResponse';
737
738
  export type { ResourceQuantity } from './schemas/ResourceQuantity';
738
739
  export type { SecurityGovernanceApplicationSpec } from './schemas/SecurityGovernanceApplicationSpec';
@@ -1,7 +1,7 @@
1
1
  import type { RecommendationRecommendationSource } from '../schemas/RecommendationRecommendationSource';
2
2
  import type { RecommendationRecommendationStatus } from '../schemas/RecommendationRecommendationStatus';
3
3
  export interface RecommendationsFilters {
4
- category?: string;
4
+ category?: string[];
5
5
  source?: RecommendationRecommendationSource;
6
6
  status?: RecommendationRecommendationStatus;
7
7
  }
@@ -1,4 +1,6 @@
1
+ import type { GithubComHarnessHceSaasGraphqlServerApiPagination } from '../schemas/GithubComHarnessHceSaasGraphqlServerApiPagination';
1
2
  import type { GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbRecommendationRecommendation } from '../schemas/GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbRecommendationRecommendation';
2
3
  export interface RecommendationsListRecommendationsResponse {
4
+ pagination?: GithubComHarnessHceSaasGraphqlServerApiPagination;
3
5
  recommendations?: GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbRecommendationRecommendation[];
4
6
  }
@@ -0,0 +1,5 @@
1
+ export interface RecommendationsPipelineAddExperimentResponse {
2
+ pipelineID?: string;
3
+ pipelineName?: string;
4
+ stageID?: string;
5
+ }
@@ -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 {};
@@ -7,6 +7,7 @@ export interface TypesListChaosPipelineRuns {
7
7
  experimentName?: string;
8
8
  experimentNotifyID?: string;
9
9
  experimentRunID?: string;
10
+ experimentStatus?: string;
10
11
  infra?: TypesInfra;
11
12
  resilienceScore?: string;
12
13
  tags?: string[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@harnessio/react-chaos-manager-client",
3
- "version": "1.18.1-beta.1",
3
+ "version": "1.18.1-beta.3",
4
4
  "description": "Harness React Chaos Manager Service Client - APIs integrated with react hooks",
5
5
  "author": "Harness Inc",
6
6
  "license": "MIT",