@harnessio/react-sto-core-client 0.3.19 → 0.3.21
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.
- package/dist/sto-core/src/services/hooks/useFrontendGlobalExemptionsQuery.d.ts +2 -7
- package/dist/sto-core/src/services/hooks/useProductsListProductsQuery.d.ts +5 -0
- package/dist/sto-core/src/services/index.d.ts +1 -0
- package/dist/sto-core/src/services/schemas/GlobalExemptionsRequestBody.d.ts +10 -0
- package/dist/sto-core/src/services/schemas/GlobalExemptionsRequestBody.js +4 -0
- package/package.json +1 -1
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
2
|
import type { FrontendSecurityReviewResponseBody } from '../schemas/FrontendSecurityReviewResponseBody';
|
|
3
3
|
import type { NotFound } from '../schemas/NotFound';
|
|
4
|
+
import type { GlobalExemptionsRequestBody } from '../schemas/GlobalExemptionsRequestBody';
|
|
4
5
|
import type { ResponseWithPagination } from '../helpers';
|
|
5
6
|
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
6
7
|
export interface FrontendGlobalExemptionsQueryQueryParams {
|
|
@@ -51,13 +52,7 @@ export interface FrontendGlobalExemptionsQueryHeaderParams {
|
|
|
51
52
|
*/
|
|
52
53
|
'X-Api-Key'?: string;
|
|
53
54
|
}
|
|
54
|
-
export type FrontendGlobalExemptionsRequestBody =
|
|
55
|
-
/**
|
|
56
|
-
* List of organization:project pairs
|
|
57
|
-
* @example ["org1:project1","org2:project2"]
|
|
58
|
-
*/
|
|
59
|
-
orgProjectFilter?: string[];
|
|
60
|
-
};
|
|
55
|
+
export type FrontendGlobalExemptionsRequestBody = GlobalExemptionsRequestBody;
|
|
61
56
|
export type FrontendGlobalExemptionsOkResponse = ResponseWithPagination<FrontendSecurityReviewResponseBody>;
|
|
62
57
|
export type FrontendGlobalExemptionsErrorResponse = NotFound;
|
|
63
58
|
export interface FrontendGlobalExemptionsProps extends Omit<FetcherOptions<FrontendGlobalExemptionsQueryQueryParams, FrontendGlobalExemptionsRequestBody, FrontendGlobalExemptionsQueryHeaderParams>, 'url'> {
|
|
@@ -4,6 +4,11 @@ import type { NotFound } from '../schemas/NotFound';
|
|
|
4
4
|
import type { ResponseWithPagination } from '../helpers';
|
|
5
5
|
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
6
6
|
export interface ProductsListProductsQueryQueryParams {
|
|
7
|
+
/**
|
|
8
|
+
* Harness Account ID
|
|
9
|
+
* @example "abcdef1234567890ghijkl"
|
|
10
|
+
*/
|
|
11
|
+
accountId?: string;
|
|
7
12
|
/**
|
|
8
13
|
* Page number to fetch (starting from 0)
|
|
9
14
|
* @format int64
|
|
@@ -102,6 +102,7 @@ export type { FrontendPipelineSecurityStepsResponseBody } from './schemas/Fronte
|
|
|
102
102
|
export type { FrontendSecurityReviewResponseBody } from './schemas/FrontendSecurityReviewResponseBody';
|
|
103
103
|
export type { FrontendTestTargetsResponseBody } from './schemas/FrontendTestTargetsResponseBody';
|
|
104
104
|
export type { GitMetadata } from './schemas/GitMetadata';
|
|
105
|
+
export type { GlobalExemptionsRequestBody } from './schemas/GlobalExemptionsRequestBody';
|
|
105
106
|
export type { HistoricalCounts } from './schemas/HistoricalCounts';
|
|
106
107
|
export type { HistoricalIssueCounts } from './schemas/HistoricalIssueCounts';
|
|
107
108
|
export type { IdResult } from './schemas/IdResult';
|