@harnessio/react-chaos-manager-client 1.40.1 → 1.40.2-beta.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 (47) hide show
  1. package/dist/chaos-manager/src/services/hooks/useExperimentExecutionNodeDetailsQuery.d.ts +1 -1
  2. package/dist/chaos-manager/src/services/hooks/useExperimentExecutionNodeDetailsQuery.js +0 -1
  3. package/dist/chaos-manager/src/services/hooks/useGetAccountServiceDetailsQuery.d.ts +0 -8
  4. package/dist/chaos-manager/src/services/hooks/useGetAccountServiceUsageStatsQuery.d.ts +0 -6
  5. package/dist/chaos-manager/src/services/hooks/useGetChaosExperimentRunReportPdfQuery.d.ts +26 -0
  6. package/dist/chaos-manager/src/services/hooks/useGetChaosExperimentRunReportPdfQuery.js +19 -0
  7. package/dist/chaos-manager/src/services/hooks/useGetExperimentationActivityReportQuery.d.ts +0 -6
  8. package/dist/chaos-manager/src/services/hooks/useGetFaultTemplateRevisionsQuery.d.ts +0 -2
  9. package/dist/chaos-manager/src/services/hooks/useGetOnboardingExperimentsQuery.d.ts +0 -2
  10. package/dist/chaos-manager/src/services/hooks/useGetOverallServiceUsageStatsQuery.d.ts +0 -6
  11. package/dist/chaos-manager/src/services/hooks/useGetServiceUsageReportQuery.d.ts +0 -6
  12. package/dist/chaos-manager/src/services/hooks/useListActionMetadataQuery.d.ts +3 -2
  13. package/dist/chaos-manager/src/services/hooks/useListActionTemplateQuery.d.ts +0 -2
  14. package/dist/chaos-manager/src/services/hooks/useListActionTemplateRevisionsQuery.d.ts +0 -2
  15. package/dist/chaos-manager/src/services/hooks/useListActionsQuery.d.ts +0 -2
  16. package/dist/chaos-manager/src/services/hooks/useListChaosEnabledInfraV2Query.d.ts +0 -2
  17. package/dist/chaos-manager/src/services/hooks/useListChaosHubQuery.d.ts +0 -2
  18. package/dist/chaos-manager/src/services/hooks/useListChaosV2ExperimentQuery.d.ts +0 -2
  19. package/dist/chaos-manager/src/services/hooks/useListExperimentMetadataQuery.d.ts +3 -2
  20. package/dist/chaos-manager/src/services/hooks/useListFaultMetadataQuery.d.ts +3 -2
  21. package/dist/chaos-manager/src/services/hooks/useListFaultQuery.d.ts +0 -2
  22. package/dist/chaos-manager/src/services/hooks/useListGamedayMetadataQuery.d.ts +3 -2
  23. package/dist/chaos-manager/src/services/hooks/useListGamedayV2Query.d.ts +0 -2
  24. package/dist/chaos-manager/src/services/hooks/useListHarnessInfraQuery.d.ts +0 -2
  25. package/dist/chaos-manager/src/services/hooks/useListHubMetadataQuery.d.ts +3 -2
  26. package/dist/chaos-manager/src/services/hooks/useListInfraV2Query.d.ts +0 -2
  27. package/dist/chaos-manager/src/services/hooks/useListInputSetQuery.d.ts +0 -2
  28. package/dist/chaos-manager/src/services/hooks/useListMachineChaosInfraQuery.d.ts +0 -2
  29. package/dist/chaos-manager/src/services/hooks/useListProbeMetadataQuery.d.ts +3 -2
  30. package/dist/chaos-manager/src/services/hooks/useListProbeTemplateQuery.d.ts +0 -2
  31. package/dist/chaos-manager/src/services/hooks/useListProbesQuery.d.ts +0 -2
  32. package/dist/chaos-manager/src/services/hooks/useListRecommendationsQuery.d.ts +0 -2
  33. package/dist/chaos-manager/src/services/hooks/useListServiceQuery.d.ts +0 -2
  34. package/dist/chaos-manager/src/services/hooks/useListTargetNetworkMapsQuery.d.ts +0 -2
  35. package/dist/chaos-manager/src/services/hooks/useListV2OnboardingQuery.d.ts +0 -2
  36. package/dist/chaos-manager/src/services/index.d.ts +4 -1
  37. package/dist/chaos-manager/src/services/index.js +1 -0
  38. package/dist/chaos-manager/src/services/schemas/ActionsActionResponse.d.ts +1 -0
  39. package/dist/chaos-manager/src/services/schemas/GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbActionsAction.d.ts +1 -0
  40. package/dist/chaos-manager/src/services/schemas/IntstrType.d.ts +0 -3
  41. package/dist/chaos-manager/src/services/schemas/SharedListMetadataResponse.d.ts +2 -2
  42. package/dist/chaos-manager/src/services/schemas/SharedPaginationResponse.d.ts +6 -0
  43. package/dist/chaos-manager/src/services/schemas/TypesListMetadataRequest.d.ts +3 -0
  44. package/dist/chaos-manager/src/services/schemas/TypesListMetadataRequest.js +4 -0
  45. package/package.json +1 -1
  46. package/dist/chaos-manager/src/services/schemas/SharedListMetadataRequest.d.ts +0 -3
  47. /package/dist/chaos-manager/src/services/schemas/{SharedListMetadataRequest.js → SharedPaginationResponse.js} +0 -0
@@ -3,7 +3,6 @@ import type { ExecutionChaosExecutionNode } from '../schemas/ExecutionChaosExecu
3
3
  import type { ApiRestError } from '../schemas/ApiRestError';
4
4
  import { FetcherOptions } from '../../../../custom-fetcher/index.js';
5
5
  export interface ExperimentExecutionNodeDetailsQueryPathParams {
6
- name: string;
7
6
  experimentId: string;
8
7
  experimentRunId: string;
9
8
  }
@@ -11,6 +10,7 @@ export interface ExperimentExecutionNodeDetailsQueryQueryParams {
11
10
  accountIdentifier: string;
12
11
  organizationIdentifier: string;
13
12
  projectIdentifier: string;
13
+ name: string;
14
14
  }
15
15
  export type ExperimentExecutionNodeDetailsOkResponse = ExecutionChaosExecutionNode[];
16
16
  export type ExperimentExecutionNodeDetailsErrorResponse = ApiRestError;
@@ -12,7 +12,6 @@ export function experimentExecutionNodeDetails(props) {
12
12
  export function useExperimentExecutionNodeDetailsQuery(props, options) {
13
13
  return useQuery([
14
14
  'experimentExecutionNodeDetails',
15
- props.name,
16
15
  props.experimentId,
17
16
  props.experimentRunId,
18
17
  props.queryParams,
@@ -6,22 +6,14 @@ export interface GetAccountServiceDetailsQueryPathParams {
6
6
  }
7
7
  export interface GetAccountServiceDetailsQueryQueryParams {
8
8
  /**
9
- * @format int64
10
9
  * @default 0
11
10
  */
12
11
  page: number;
13
12
  /**
14
- * @format int64
15
13
  * @default 10
16
14
  */
17
15
  limit: number;
18
- /**
19
- * @format int64
20
- */
21
16
  startTime: number;
22
- /**
23
- * @format int64
24
- */
25
17
  endTime: number;
26
18
  service?: string;
27
19
  serviceType?: string;
@@ -6,13 +6,7 @@ export interface GetAccountServiceUsageStatsQueryPathParams {
6
6
  }
7
7
  export interface GetAccountServiceUsageStatsQueryQueryParams {
8
8
  groupBy: string;
9
- /**
10
- * @format int64
11
- */
12
9
  startTime: number;
13
- /**
14
- * @format int64
15
- */
16
10
  endTime: number;
17
11
  cumulative?: boolean;
18
12
  }
@@ -0,0 +1,26 @@
1
+ import { UseQueryOptions } from '@tanstack/react-query';
2
+ import { FetcherOptions } from '../../../../custom-fetcher/index.js';
3
+ export interface GetChaosExperimentRunReportPdfQueryPathParams {
4
+ experimentId: string;
5
+ chaosExperimentRunId: string;
6
+ }
7
+ export interface GetChaosExperimentRunReportPdfQueryQueryParams {
8
+ accountIdentifier: string;
9
+ correlationID?: string;
10
+ organizationIdentifier?: string;
11
+ projectIdentifier?: string;
12
+ }
13
+ export type GetChaosExperimentRunReportPdfOkResponse = unknown;
14
+ export type GetChaosExperimentRunReportPdfErrorResponse = unknown;
15
+ export interface GetChaosExperimentRunReportPdfProps extends GetChaosExperimentRunReportPdfQueryPathParams, Omit<FetcherOptions<GetChaosExperimentRunReportPdfQueryQueryParams, unknown>, 'url'> {
16
+ queryParams: GetChaosExperimentRunReportPdfQueryQueryParams;
17
+ }
18
+ export interface GetChaosExperimentRunReportPdfResponseContainer {
19
+ body: GetChaosExperimentRunReportPdfOkResponse;
20
+ headers: Headers;
21
+ }
22
+ export declare function getChaosExperimentRunReportPdf(props: GetChaosExperimentRunReportPdfProps): Promise<GetChaosExperimentRunReportPdfResponseContainer>;
23
+ /**
24
+ * Generate and return beta1 chaos experiment run report
25
+ */
26
+ export declare function useGetChaosExperimentRunReportPdfQuery(props: GetChaosExperimentRunReportPdfProps, options?: Omit<UseQueryOptions<GetChaosExperimentRunReportPdfResponseContainer, GetChaosExperimentRunReportPdfErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetChaosExperimentRunReportPdfResponseContainer, unknown>;
@@ -0,0 +1,19 @@
1
+ /* eslint-disable */
2
+ // This code is autogenerated using @harnessio/oats-cli.
3
+ // Please do not modify this code directly.
4
+ import { useQuery } from '@tanstack/react-query';
5
+ import { fetcher } from '../../../../custom-fetcher/index.js';
6
+ export function getChaosExperimentRunReportPdf(props) {
7
+ return fetcher(Object.assign({ url: `/v3/chaos-experiment-run/report/${props.experimentId}/${props.chaosExperimentRunId}`, method: 'GET' }, props));
8
+ }
9
+ /**
10
+ * Generate and return beta1 chaos experiment run report
11
+ */
12
+ export function useGetChaosExperimentRunReportPdfQuery(props, options) {
13
+ return useQuery([
14
+ 'GetChaosExperimentRunReportPDF',
15
+ props.experimentId,
16
+ props.chaosExperimentRunId,
17
+ props.queryParams,
18
+ ], ({ signal }) => getChaosExperimentRunReportPdf(Object.assign(Object.assign({}, props), { signal })), options);
19
+ }
@@ -4,13 +4,7 @@ export interface GetExperimentationActivityReportQueryPathParams {
4
4
  accountID: string;
5
5
  }
6
6
  export interface GetExperimentationActivityReportQueryQueryParams {
7
- /**
8
- * @format int64
9
- */
10
7
  startTime: number;
11
- /**
12
- * @format int64
13
- */
14
8
  endTime: number;
15
9
  cumulate?: boolean;
16
10
  }
@@ -12,12 +12,10 @@ export interface GetFaultTemplateRevisionsQueryQueryParams {
12
12
  hubIdentity: string;
13
13
  correlationID?: string;
14
14
  /**
15
- * @format int64
16
15
  * @default 0
17
16
  */
18
17
  page: number;
19
18
  /**
20
- * @format int64
21
19
  * @default 15
22
20
  */
23
21
  limit: number;
@@ -11,12 +11,10 @@ export interface GetOnboardingExperimentsQueryQueryParams {
11
11
  organizationIdentifier?: string;
12
12
  projectIdentifier?: string;
13
13
  /**
14
- * @format int64
15
14
  * @default 0
16
15
  */
17
16
  page: number;
18
17
  /**
19
- * @format int64
20
18
  * @default 5
21
19
  */
22
20
  limit: number;
@@ -5,13 +5,7 @@ export interface GetOverallServiceUsageStatsQueryPathParams {
5
5
  accountID: string;
6
6
  }
7
7
  export interface GetOverallServiceUsageStatsQueryQueryParams {
8
- /**
9
- * @format int64
10
- */
11
8
  startTime: number;
12
- /**
13
- * @format int64
14
- */
15
9
  endTime: number;
16
10
  }
17
11
  export type GetOverallServiceUsageStatsOkResponse = ChaosserviceusageOverallServiceUsageStats;
@@ -4,13 +4,7 @@ export interface GetServiceUsageReportQueryPathParams {
4
4
  accountID: string;
5
5
  }
6
6
  export interface GetServiceUsageReportQueryQueryParams {
7
- /**
8
- * @format int64
9
- */
10
7
  startTime: number;
11
- /**
12
- * @format int64
13
- */
14
8
  endTime: number;
15
9
  cumulate?: boolean;
16
10
  }
@@ -1,11 +1,12 @@
1
1
  import { UseQueryOptions } from '@tanstack/react-query';
2
2
  import type { SharedListMetadataResponse } from '../schemas/SharedListMetadataResponse';
3
3
  import type { ApiRestError } from '../schemas/ApiRestError';
4
- import type { SharedListMetadataRequest } from '../schemas/SharedListMetadataRequest';
4
+ import type { TypesListMetadataRequest } from '../schemas/TypesListMetadataRequest';
5
5
  import { FetcherOptions } from '../../../../custom-fetcher/index.js';
6
6
  export interface ListActionMetadataQueryQueryParams {
7
7
  accountIdentifier: string;
8
8
  correlationID?: string;
9
+ includeAllScope?: boolean;
9
10
  /**
10
11
  * @default 15
11
12
  */
@@ -21,7 +22,7 @@ export interface ListActionMetadataQueryQueryParams {
21
22
  sortField?: 'lastUpdated' | 'name';
22
23
  tags?: string;
23
24
  }
24
- export type ListActionMetadataRequestBody = SharedListMetadataRequest;
25
+ export type ListActionMetadataRequestBody = TypesListMetadataRequest;
25
26
  export type ListActionMetadataOkResponse = SharedListMetadataResponse;
26
27
  export type ListActionMetadataErrorResponse = ApiRestError;
27
28
  export interface ListActionMetadataProps extends Omit<FetcherOptions<ListActionMetadataQueryQueryParams, ListActionMetadataRequestBody>, 'url'> {
@@ -8,12 +8,10 @@ export interface ListActionTemplateQueryQueryParams {
8
8
  projectIdentifier: string;
9
9
  hubIdentity: string;
10
10
  /**
11
- * @format int64
12
11
  * @default 0
13
12
  */
14
13
  page: number;
15
14
  /**
16
- * @format int64
17
15
  * @default 15
18
16
  */
19
17
  limit: number;
@@ -11,12 +11,10 @@ export interface ListActionTemplateRevisionsQueryQueryParams {
11
11
  projectIdentifier: string;
12
12
  hubIdentity: string;
13
13
  /**
14
- * @format int64
15
14
  * @default 0
16
15
  */
17
16
  page: number;
18
17
  /**
19
- * @format int64
20
18
  * @default 15
21
19
  */
22
20
  limit: number;
@@ -9,12 +9,10 @@ export interface ListActionsQueryQueryParams {
9
9
  hubIdentity?: string;
10
10
  search: string;
11
11
  /**
12
- * @format int64
13
12
  * @default 0
14
13
  */
15
14
  page: number;
16
15
  /**
17
- * @format int64
18
16
  * @default 15
19
17
  */
20
18
  limit: number;
@@ -9,12 +9,10 @@ export interface ListChaosEnabledInfraV2QueryQueryParams {
9
9
  projectIdentifier: string;
10
10
  environmentIdentifier?: string;
11
11
  /**
12
- * @format int64
13
12
  * @default 0
14
13
  */
15
14
  page: number;
16
15
  /**
17
- * @format int64
18
16
  * @default 10
19
17
  */
20
18
  limit: number;
@@ -9,12 +9,10 @@ export interface ListChaosHubQueryQueryParams {
9
9
  search: string;
10
10
  includeAllScope: boolean;
11
11
  /**
12
- * @format int64
13
12
  * @default 0
14
13
  */
15
14
  page: number;
16
15
  /**
17
- * @format int64
18
16
  * @default 15
19
17
  */
20
18
  limit: number;
@@ -7,12 +7,10 @@ export interface ListChaosV2ExperimentQueryQueryParams {
7
7
  organizationIdentifier: string;
8
8
  projectIdentifier: string;
9
9
  /**
10
- * @format int64
11
10
  * @default 0
12
11
  */
13
12
  page: number;
14
13
  /**
15
- * @format int64
16
14
  * @default 10
17
15
  */
18
16
  limit: number;
@@ -1,11 +1,12 @@
1
1
  import { UseQueryOptions } from '@tanstack/react-query';
2
2
  import type { SharedListMetadataResponse } from '../schemas/SharedListMetadataResponse';
3
3
  import type { ApiRestError } from '../schemas/ApiRestError';
4
- import type { SharedListMetadataRequest } from '../schemas/SharedListMetadataRequest';
4
+ import type { TypesListMetadataRequest } from '../schemas/TypesListMetadataRequest';
5
5
  import { FetcherOptions } from '../../../../custom-fetcher/index.js';
6
6
  export interface ListExperimentMetadataQueryQueryParams {
7
7
  accountIdentifier: string;
8
8
  correlationID?: string;
9
+ includeAllScope?: boolean;
9
10
  /**
10
11
  * @default 15
11
12
  */
@@ -21,7 +22,7 @@ export interface ListExperimentMetadataQueryQueryParams {
21
22
  sortField?: 'lastUpdated' | 'name';
22
23
  tags?: string;
23
24
  }
24
- export type ListExperimentMetadataRequestBody = SharedListMetadataRequest;
25
+ export type ListExperimentMetadataRequestBody = TypesListMetadataRequest;
25
26
  export type ListExperimentMetadataOkResponse = SharedListMetadataResponse;
26
27
  export type ListExperimentMetadataErrorResponse = ApiRestError;
27
28
  export interface ListExperimentMetadataProps extends Omit<FetcherOptions<ListExperimentMetadataQueryQueryParams, ListExperimentMetadataRequestBody>, 'url'> {
@@ -1,11 +1,12 @@
1
1
  import { UseQueryOptions } from '@tanstack/react-query';
2
2
  import type { SharedListMetadataResponse } from '../schemas/SharedListMetadataResponse';
3
3
  import type { ApiRestError } from '../schemas/ApiRestError';
4
- import type { SharedListMetadataRequest } from '../schemas/SharedListMetadataRequest';
4
+ import type { TypesListMetadataRequest } from '../schemas/TypesListMetadataRequest';
5
5
  import { FetcherOptions } from '../../../../custom-fetcher/index.js';
6
6
  export interface ListFaultMetadataQueryQueryParams {
7
7
  accountIdentifier: string;
8
8
  correlationID?: string;
9
+ includeAllScope?: boolean;
9
10
  /**
10
11
  * @default 15
11
12
  */
@@ -21,7 +22,7 @@ export interface ListFaultMetadataQueryQueryParams {
21
22
  sortField?: 'lastUpdated' | 'name';
22
23
  tags?: string;
23
24
  }
24
- export type ListFaultMetadataRequestBody = SharedListMetadataRequest;
25
+ export type ListFaultMetadataRequestBody = TypesListMetadataRequest;
25
26
  export type ListFaultMetadataOkResponse = SharedListMetadataResponse;
26
27
  export type ListFaultMetadataErrorResponse = ApiRestError;
27
28
  export interface ListFaultMetadataProps extends Omit<FetcherOptions<ListFaultMetadataQueryQueryParams, ListFaultMetadataRequestBody>, 'url'> {
@@ -12,12 +12,10 @@ export interface ListFaultQueryQueryParams {
12
12
  entityType?: string;
13
13
  search: string;
14
14
  /**
15
- * @format int64
16
15
  * @default 0
17
16
  */
18
17
  page: number;
19
18
  /**
20
- * @format int64
21
19
  * @default 15
22
20
  */
23
21
  limit: number;
@@ -1,11 +1,12 @@
1
1
  import { UseQueryOptions } from '@tanstack/react-query';
2
2
  import type { SharedListMetadataResponse } from '../schemas/SharedListMetadataResponse';
3
3
  import type { ApiRestError } from '../schemas/ApiRestError';
4
- import type { SharedListMetadataRequest } from '../schemas/SharedListMetadataRequest';
4
+ import type { TypesListMetadataRequest } from '../schemas/TypesListMetadataRequest';
5
5
  import { FetcherOptions } from '../../../../custom-fetcher/index.js';
6
6
  export interface ListGamedayMetadataQueryQueryParams {
7
7
  accountIdentifier: string;
8
8
  correlationID?: string;
9
+ includeAllScope?: boolean;
9
10
  /**
10
11
  * @default 15
11
12
  */
@@ -21,7 +22,7 @@ export interface ListGamedayMetadataQueryQueryParams {
21
22
  sortField?: 'lastUpdated' | 'name';
22
23
  tags?: string;
23
24
  }
24
- export type ListGamedayMetadataRequestBody = SharedListMetadataRequest;
25
+ export type ListGamedayMetadataRequestBody = TypesListMetadataRequest;
25
26
  export type ListGamedayMetadataOkResponse = SharedListMetadataResponse;
26
27
  export type ListGamedayMetadataErrorResponse = ApiRestError;
27
28
  export interface ListGamedayMetadataProps extends Omit<FetcherOptions<ListGamedayMetadataQueryQueryParams, ListGamedayMetadataRequestBody>, 'url'> {
@@ -7,12 +7,10 @@ export interface ListGamedayV2QueryQueryParams {
7
7
  organizationIdentifier: string;
8
8
  projectIdentifier: string;
9
9
  /**
10
- * @format int64
11
10
  * @default 0
12
11
  */
13
12
  page: number;
14
13
  /**
15
- * @format int64
16
14
  * @default 10
17
15
  */
18
16
  limit: number;
@@ -8,12 +8,10 @@ export interface ListHarnessInfraQueryQueryParams {
8
8
  projectIdentifier: string;
9
9
  environmentIdentifier: string;
10
10
  /**
11
- * @format int64
12
11
  * @default 0
13
12
  */
14
13
  page: number;
15
14
  /**
16
- * @format int64
17
15
  * @default 10
18
16
  */
19
17
  limit: number;
@@ -1,11 +1,12 @@
1
1
  import { UseQueryOptions } from '@tanstack/react-query';
2
2
  import type { SharedListMetadataResponse } from '../schemas/SharedListMetadataResponse';
3
3
  import type { ApiRestError } from '../schemas/ApiRestError';
4
- import type { SharedListMetadataRequest } from '../schemas/SharedListMetadataRequest';
4
+ import type { TypesListMetadataRequest } from '../schemas/TypesListMetadataRequest';
5
5
  import { FetcherOptions } from '../../../../custom-fetcher/index.js';
6
6
  export interface ListHubMetadataQueryQueryParams {
7
7
  accountIdentifier: string;
8
8
  correlationID?: string;
9
+ includeAllScope?: boolean;
9
10
  /**
10
11
  * @default 15
11
12
  */
@@ -21,7 +22,7 @@ export interface ListHubMetadataQueryQueryParams {
21
22
  sortField?: 'lastUpdated' | 'name';
22
23
  tags?: string;
23
24
  }
24
- export type ListHubMetadataRequestBody = SharedListMetadataRequest;
25
+ export type ListHubMetadataRequestBody = TypesListMetadataRequest;
25
26
  export type ListHubMetadataOkResponse = SharedListMetadataResponse;
26
27
  export type ListHubMetadataErrorResponse = ApiRestError;
27
28
  export interface ListHubMetadataProps extends Omit<FetcherOptions<ListHubMetadataQueryQueryParams, ListHubMetadataRequestBody>, 'url'> {
@@ -10,12 +10,10 @@ export interface ListInfraV2QueryQueryParams {
10
10
  includeLegacyInfra?: boolean;
11
11
  environmentIdentifier?: string;
12
12
  /**
13
- * @format int64
14
13
  * @default 0
15
14
  */
16
15
  page: number;
17
16
  /**
18
- * @format int64
19
17
  * @default 10
20
18
  */
21
19
  limit: number;
@@ -10,12 +10,10 @@ export interface ListInputSetQueryQueryParams {
10
10
  organizationIdentifier: string;
11
11
  projectIdentifier: string;
12
12
  /**
13
- * @format int64
14
13
  * @default 0
15
14
  */
16
15
  page: number;
17
16
  /**
18
- * @format int64
19
17
  * @default 15
20
18
  */
21
19
  limit: number;
@@ -10,12 +10,10 @@ export interface ListMachineChaosInfraQueryQueryParams {
10
10
  minimalResponse?: boolean;
11
11
  infraType: string;
12
12
  /**
13
- * @format int64
14
13
  * @default 0
15
14
  */
16
15
  page: number;
17
16
  /**
18
- * @format int64
19
17
  * @default 10
20
18
  */
21
19
  limit: number;
@@ -1,11 +1,12 @@
1
1
  import { UseQueryOptions } from '@tanstack/react-query';
2
2
  import type { SharedListMetadataResponse } from '../schemas/SharedListMetadataResponse';
3
3
  import type { ApiRestError } from '../schemas/ApiRestError';
4
- import type { SharedListMetadataRequest } from '../schemas/SharedListMetadataRequest';
4
+ import type { TypesListMetadataRequest } from '../schemas/TypesListMetadataRequest';
5
5
  import { FetcherOptions } from '../../../../custom-fetcher/index.js';
6
6
  export interface ListProbeMetadataQueryQueryParams {
7
7
  accountIdentifier: string;
8
8
  correlationID?: string;
9
+ includeAllScope?: boolean;
9
10
  /**
10
11
  * @default 15
11
12
  */
@@ -21,7 +22,7 @@ export interface ListProbeMetadataQueryQueryParams {
21
22
  sortField?: 'lastUpdated' | 'name';
22
23
  tags?: string;
23
24
  }
24
- export type ListProbeMetadataRequestBody = SharedListMetadataRequest;
25
+ export type ListProbeMetadataRequestBody = TypesListMetadataRequest;
25
26
  export type ListProbeMetadataOkResponse = SharedListMetadataResponse;
26
27
  export type ListProbeMetadataErrorResponse = ApiRestError;
27
28
  export interface ListProbeMetadataProps extends Omit<FetcherOptions<ListProbeMetadataQueryQueryParams, ListProbeMetadataRequestBody>, 'url'> {
@@ -8,12 +8,10 @@ export interface ListProbeTemplateQueryQueryParams {
8
8
  projectIdentifier: string;
9
9
  hubIdentity: string;
10
10
  /**
11
- * @format int64
12
11
  * @default 0
13
12
  */
14
13
  page: number;
15
14
  /**
16
- * @format int64
17
15
  * @default 15
18
16
  */
19
17
  limit: number;
@@ -13,12 +13,10 @@ export interface ListProbesQueryQueryParams {
13
13
  probeIDs?: string;
14
14
  infraType?: string;
15
15
  /**
16
- * @format int64
17
16
  * @default 1
18
17
  */
19
18
  page?: number;
20
19
  /**
21
- * @format int64
22
20
  * @default 50
23
21
  */
24
22
  limit?: number;
@@ -7,12 +7,10 @@ export interface ListRecommendationsQueryQueryParams {
7
7
  organizationIdentifier: string;
8
8
  projectIdentifier: string;
9
9
  /**
10
- * @format int64
11
10
  * @default 0
12
11
  */
13
12
  page: number;
14
13
  /**
15
- * @format int64
16
14
  * @default 15
17
15
  */
18
16
  limit: number;
@@ -12,12 +12,10 @@ export interface ListServiceQueryQueryParams {
12
12
  environmentIdentifier: string;
13
13
  infraId: string;
14
14
  /**
15
- * @format int64
16
15
  * @default 0
17
16
  */
18
17
  page: number;
19
18
  /**
20
- * @format int64
21
19
  * @default 10
22
20
  */
23
21
  limit: number;
@@ -8,12 +8,10 @@ export interface ListTargetNetworkMapsQueryQueryParams {
8
8
  organizationIdentifier: string;
9
9
  projectIdentifier: string;
10
10
  /**
11
- * @format int64
12
11
  * @default 0
13
12
  */
14
13
  page: number;
15
14
  /**
16
- * @format int64
17
15
  * @default 10
18
16
  */
19
17
  limit: number;
@@ -4,12 +4,10 @@ import type { ApiRestError } from '../schemas/ApiRestError';
4
4
  import { FetcherOptions } from '../../../../custom-fetcher/index.js';
5
5
  export interface ListV2OnboardingQueryQueryParams {
6
6
  /**
7
- * @format int64
8
7
  * @default 0
9
8
  */
10
9
  page: number;
11
10
  /**
12
- * @format int64
13
11
  * @default 10
14
12
  */
15
13
  limit: number;
@@ -106,6 +106,8 @@ export type { GetActionTemplateRevisionDifferenceErrorResponse, GetActionTemplat
106
106
  export { getActionTemplateRevisionDifference, useGetActionTemplateRevisionDifferenceQuery, } from './hooks/useGetActionTemplateRevisionDifferenceQuery';
107
107
  export type { GetChaosDashboardErrorResponse, GetChaosDashboardOkResponse, GetChaosDashboardProps, } from './hooks/useGetChaosDashboardQuery';
108
108
  export { getChaosDashboard, useGetChaosDashboardQuery } from './hooks/useGetChaosDashboardQuery';
109
+ export type { GetChaosExperimentRunReportPdfErrorResponse, GetChaosExperimentRunReportPdfOkResponse, GetChaosExperimentRunReportPdfProps, GetChaosExperimentRunReportPdfQueryPathParams, GetChaosExperimentRunReportPdfQueryQueryParams, } from './hooks/useGetChaosExperimentRunReportPdfQuery';
110
+ export { getChaosExperimentRunReportPdf, useGetChaosExperimentRunReportPdfQuery, } from './hooks/useGetChaosExperimentRunReportPdfQuery';
109
111
  export type { GetChaosExperimentRunReportErrorResponse, GetChaosExperimentRunReportOkResponse, GetChaosExperimentRunReportProps, GetChaosExperimentRunReportQueryPathParams, GetChaosExperimentRunReportQueryQueryParams, } from './hooks/useGetChaosExperimentRunReportQuery';
110
112
  export { getChaosExperimentRunReport, useGetChaosExperimentRunReportQuery, } from './hooks/useGetChaosExperimentRunReportQuery';
111
113
  export type { GetChaosExperimentRunsForPipelineErrorResponse, GetChaosExperimentRunsForPipelineOkResponse, GetChaosExperimentRunsForPipelineProps, GetChaosExperimentRunsForPipelineQueryQueryParams, GetChaosExperimentRunsForPipelineRequestBody, } from './hooks/useGetChaosExperimentRunsForPipelineQuery';
@@ -959,8 +961,8 @@ export type { SecurityGovernanceRecurrenceSpec } from './schemas/SecurityGoverna
959
961
  export type { SecurityGovernanceTimeWindow } from './schemas/SecurityGovernanceTimeWindow';
960
962
  export type { SecurityGovernanceWorkload } from './schemas/SecurityGovernanceWorkload';
961
963
  export type { SharedError } from './schemas/SharedError';
962
- export type { SharedListMetadataRequest } from './schemas/SharedListMetadataRequest';
963
964
  export type { SharedListMetadataResponse } from './schemas/SharedListMetadataResponse';
965
+ export type { SharedPaginationResponse } from './schemas/SharedPaginationResponse';
964
966
  export type { TargetnetworkmapExperimentCreationMode } from './schemas/TargetnetworkmapExperimentCreationMode';
965
967
  export type { TargetnetworkmapExperimentRunDetail } from './schemas/TargetnetworkmapExperimentRunDetail';
966
968
  export type { TargetnetworkmapStatus } from './schemas/TargetnetworkmapStatus';
@@ -1009,6 +1011,7 @@ export type { TypesListExperimentV2Response } from './schemas/TypesListExperimen
1009
1011
  export type { TypesListGamedayExperimentResponse } from './schemas/TypesListGamedayExperimentResponse';
1010
1012
  export type { TypesListGamedayRunV2Response } from './schemas/TypesListGamedayRunV2Response';
1011
1013
  export type { TypesListGamedayV2Response } from './schemas/TypesListGamedayV2Response';
1014
+ export type { TypesListMetadataRequest } from './schemas/TypesListMetadataRequest';
1012
1015
  export type { TypesListProbeResponse } from './schemas/TypesListProbeResponse';
1013
1016
  export type { TypesNote } from './schemas/TypesNote';
1014
1017
  export type { TypesNotes } from './schemas/TypesNotes';
@@ -52,6 +52,7 @@ export { getAction, useGetActionQuery } from './hooks/useGetActionQuery';
52
52
  export { getActionTemplate, useGetActionTemplateQuery } from './hooks/useGetActionTemplateQuery';
53
53
  export { getActionTemplateRevisionDifference, useGetActionTemplateRevisionDifferenceQuery, } from './hooks/useGetActionTemplateRevisionDifferenceQuery';
54
54
  export { getChaosDashboard, useGetChaosDashboardQuery } from './hooks/useGetChaosDashboardQuery';
55
+ export { getChaosExperimentRunReportPdf, useGetChaosExperimentRunReportPdfQuery, } from './hooks/useGetChaosExperimentRunReportPdfQuery';
55
56
  export { getChaosExperimentRunReport, useGetChaosExperimentRunReportQuery, } from './hooks/useGetChaosExperimentRunReportQuery';
56
57
  export { getChaosExperimentRunsForPipeline, useGetChaosExperimentRunsForPipelineQuery, } from './hooks/useGetChaosExperimentRunsForPipelineQuery';
57
58
  export { getChaosHub, useGetChaosHubQuery } from './hooks/useGetChaosHubQuery';
@@ -16,6 +16,7 @@ export interface ActionsActionResponse {
16
16
  createdAt?: number;
17
17
  createdBy?: GithubComHarnessHceSaasGraphqlServerGraphModelUserDetails;
18
18
  description?: string;
19
+ hasSecrets?: boolean;
19
20
  hubRef?: string;
20
21
  identity?: string;
21
22
  importType?: MongodbImportType;
@@ -12,6 +12,7 @@ export interface GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbActionsAc
12
12
  actionReferenceCount?: number;
13
13
  actionsRef?: string;
14
14
  description?: string;
15
+ hasSecrets?: boolean;
15
16
  hubRef?: string;
16
17
  identity?: string;
17
18
  importType?: MongodbImportType;
@@ -1,4 +1 @@
1
- /**
2
- * @format int64
3
- */
4
1
  export type IntstrType = number;
@@ -1,7 +1,7 @@
1
1
  import type { GithubComHarnessHceSaasGraphqlServerModelsSharedMetadata } from '../schemas/GithubComHarnessHceSaasGraphqlServerModelsSharedMetadata';
2
- import type { GithubComHarnessHceSaasGraphqlServerApiPagination } from '../schemas/GithubComHarnessHceSaasGraphqlServerApiPagination';
2
+ import type { SharedPaginationResponse } from '../schemas/SharedPaginationResponse';
3
3
  export interface SharedListMetadataResponse {
4
4
  correlationID?: string;
5
5
  items?: GithubComHarnessHceSaasGraphqlServerModelsSharedMetadata[];
6
- pagination?: GithubComHarnessHceSaasGraphqlServerApiPagination;
6
+ pagination?: SharedPaginationResponse;
7
7
  }
@@ -0,0 +1,6 @@
1
+ export interface SharedPaginationResponse {
2
+ index?: number;
3
+ limit?: number;
4
+ totalItems?: number;
5
+ totalPages?: number;
6
+ }
@@ -0,0 +1,3 @@
1
+ export interface TypesListMetadataRequest {
2
+ identifiers?: string[];
3
+ }
@@ -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.40.1",
3
+ "version": "1.40.2-beta.0",
4
4
  "description": "Harness React Chaos Manager Service Client - APIs integrated with react hooks",
5
5
  "author": "Harness Inc",
6
6
  "license": "MIT",
@@ -1,3 +0,0 @@
1
- export interface SharedListMetadataRequest {
2
- identifiers?: string[];
3
- }