@harnessio/react-idp-service-client 0.44.1 → 0.45.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 (33) hide show
  1. package/dist/idp-service/src/services/hooks/useGetCheckGraphQuery.d.ts +23 -0
  2. package/dist/idp-service/src/services/hooks/useGetCheckGraphQuery.js +14 -0
  3. package/dist/idp-service/src/services/hooks/useGetCheckStatsQuery.d.ts +23 -0
  4. package/dist/idp-service/src/services/hooks/useGetCheckStatsQuery.js +14 -0
  5. package/dist/idp-service/src/services/hooks/useGetScorecardStatsQuery.d.ts +19 -0
  6. package/dist/idp-service/src/services/hooks/useGetScorecardStatsQuery.js +14 -0
  7. package/dist/idp-service/src/services/index.d.ts +14 -0
  8. package/dist/idp-service/src/services/index.js +3 -0
  9. package/dist/idp-service/src/services/responses/CheckGraphResponseResponse.d.ts +2 -0
  10. package/dist/idp-service/src/services/responses/CheckGraphResponseResponse.js +1 -0
  11. package/dist/idp-service/src/services/responses/CheckStatsResponseResponse.d.ts +2 -0
  12. package/dist/idp-service/src/services/responses/CheckStatsResponseResponse.js +1 -0
  13. package/dist/idp-service/src/services/responses/ScorecardStatsResponseResponse.d.ts +2 -0
  14. package/dist/idp-service/src/services/responses/ScorecardStatsResponseResponse.js +1 -0
  15. package/dist/idp-service/src/services/schemas/CheckGraph.d.ts +7 -0
  16. package/dist/idp-service/src/services/schemas/CheckGraph.js +4 -0
  17. package/dist/idp-service/src/services/schemas/CheckListItem.d.ts +4 -0
  18. package/dist/idp-service/src/services/schemas/CheckStats.d.ts +11 -0
  19. package/dist/idp-service/src/services/schemas/CheckStats.js +4 -0
  20. package/dist/idp-service/src/services/schemas/CheckStatus.d.ts +2 -0
  21. package/dist/idp-service/src/services/schemas/DataPoint.d.ts +2 -0
  22. package/dist/idp-service/src/services/schemas/DataPoint.js +0 -3
  23. package/dist/idp-service/src/services/schemas/InputDetails.d.ts +5 -0
  24. package/dist/idp-service/src/services/schemas/InputDetails.js +4 -0
  25. package/dist/idp-service/src/services/schemas/InputValue.d.ts +4 -0
  26. package/dist/idp-service/src/services/schemas/InputValue.js +4 -0
  27. package/dist/idp-service/src/services/schemas/ProxyHostDetail.d.ts +2 -0
  28. package/dist/idp-service/src/services/schemas/Rule.d.ts +3 -0
  29. package/dist/idp-service/src/services/schemas/Rule.js +0 -3
  30. package/dist/idp-service/src/services/schemas/Scorecard.d.ts +5 -0
  31. package/dist/idp-service/src/services/schemas/ScorecardStats.d.ts +11 -0
  32. package/dist/idp-service/src/services/schemas/ScorecardStats.js +4 -0
  33. package/package.json +1 -1
@@ -0,0 +1,23 @@
1
+ import { UseQueryOptions } from '@tanstack/react-query';
2
+ import type { CheckGraphResponseResponse } from '../responses/CheckGraphResponseResponse';
3
+ import type { ResponseWithPagination } from '../helpers';
4
+ import { FetcherOptions } from '../../../../fetcher/index.js';
5
+ export interface GetCheckGraphQueryPathParams {
6
+ 'check-id': string;
7
+ }
8
+ export interface GetCheckGraphQueryQueryParams {
9
+ custom?: boolean;
10
+ }
11
+ export interface GetCheckGraphQueryHeaderParams {
12
+ 'Harness-Account'?: string;
13
+ }
14
+ export type GetCheckGraphOkResponse = ResponseWithPagination<CheckGraphResponseResponse>;
15
+ export type GetCheckGraphErrorResponse = unknown;
16
+ export interface GetCheckGraphProps extends GetCheckGraphQueryPathParams, Omit<FetcherOptions<GetCheckGraphQueryQueryParams, unknown, GetCheckGraphQueryHeaderParams>, 'url'> {
17
+ queryParams: GetCheckGraphQueryQueryParams;
18
+ }
19
+ export declare function getCheckGraph(props: GetCheckGraphProps): Promise<GetCheckGraphOkResponse>;
20
+ /**
21
+ * Get check graph data for given checkId
22
+ */
23
+ export declare function useGetCheckGraphQuery(props: GetCheckGraphProps, options?: Omit<UseQueryOptions<GetCheckGraphOkResponse, GetCheckGraphErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetCheckGraphOkResponse, unknown>;
@@ -0,0 +1,14 @@
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 '../../../../fetcher/index.js';
6
+ export function getCheckGraph(props) {
7
+ return fetcher(Object.assign({ url: `/v1/checks/${props['check-id']}/graph`, method: 'GET' }, props));
8
+ }
9
+ /**
10
+ * Get check graph data for given checkId
11
+ */
12
+ export function useGetCheckGraphQuery(props, options) {
13
+ return useQuery(['get-check-graph', props['check-id'], props.queryParams], ({ signal }) => getCheckGraph(Object.assign(Object.assign({}, props), { signal })), options);
14
+ }
@@ -0,0 +1,23 @@
1
+ import { UseQueryOptions } from '@tanstack/react-query';
2
+ import type { CheckStatsResponseResponse } from '../responses/CheckStatsResponseResponse';
3
+ import type { ResponseWithPagination } from '../helpers';
4
+ import { FetcherOptions } from '../../../../fetcher/index.js';
5
+ export interface GetCheckStatsQueryPathParams {
6
+ 'check-id': string;
7
+ }
8
+ export interface GetCheckStatsQueryQueryParams {
9
+ custom?: boolean;
10
+ }
11
+ export interface GetCheckStatsQueryHeaderParams {
12
+ 'Harness-Account'?: string;
13
+ }
14
+ export type GetCheckStatsOkResponse = ResponseWithPagination<CheckStatsResponseResponse>;
15
+ export type GetCheckStatsErrorResponse = unknown;
16
+ export interface GetCheckStatsProps extends GetCheckStatsQueryPathParams, Omit<FetcherOptions<GetCheckStatsQueryQueryParams, unknown, GetCheckStatsQueryHeaderParams>, 'url'> {
17
+ queryParams: GetCheckStatsQueryQueryParams;
18
+ }
19
+ export declare function getCheckStats(props: GetCheckStatsProps): Promise<GetCheckStatsOkResponse>;
20
+ /**
21
+ * Get check stats for given checkId
22
+ */
23
+ export declare function useGetCheckStatsQuery(props: GetCheckStatsProps, options?: Omit<UseQueryOptions<GetCheckStatsOkResponse, GetCheckStatsErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetCheckStatsOkResponse, unknown>;
@@ -0,0 +1,14 @@
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 '../../../../fetcher/index.js';
6
+ export function getCheckStats(props) {
7
+ return fetcher(Object.assign({ url: `/v1/checks/${props['check-id']}/stats`, method: 'GET' }, props));
8
+ }
9
+ /**
10
+ * Get check stats for given checkId
11
+ */
12
+ export function useGetCheckStatsQuery(props, options) {
13
+ return useQuery(['get-check-stats', props['check-id'], props.queryParams], ({ signal }) => getCheckStats(Object.assign(Object.assign({}, props), { signal })), options);
14
+ }
@@ -0,0 +1,19 @@
1
+ import { UseQueryOptions } from '@tanstack/react-query';
2
+ import type { ScorecardStatsResponseResponse } from '../responses/ScorecardStatsResponseResponse';
3
+ import type { ResponseWithPagination } from '../helpers';
4
+ import { FetcherOptions } from '../../../../fetcher/index.js';
5
+ export interface GetScorecardStatsQueryPathParams {
6
+ 'scorecard-id': string;
7
+ }
8
+ export interface GetScorecardStatsQueryHeaderParams {
9
+ 'Harness-Account'?: string;
10
+ }
11
+ export type GetScorecardStatsOkResponse = ResponseWithPagination<ScorecardStatsResponseResponse>;
12
+ export type GetScorecardStatsErrorResponse = unknown;
13
+ export interface GetScorecardStatsProps extends GetScorecardStatsQueryPathParams, Omit<FetcherOptions<unknown, unknown, GetScorecardStatsQueryHeaderParams>, 'url'> {
14
+ }
15
+ export declare function getScorecardStats(props: GetScorecardStatsProps): Promise<GetScorecardStatsOkResponse>;
16
+ /**
17
+ * Get scorecard stats for given scorecardId
18
+ */
19
+ export declare function useGetScorecardStatsQuery(props: GetScorecardStatsProps, options?: Omit<UseQueryOptions<GetScorecardStatsOkResponse, GetScorecardStatsErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetScorecardStatsOkResponse, unknown>;
@@ -0,0 +1,14 @@
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 '../../../../fetcher/index.js';
6
+ export function getScorecardStats(props) {
7
+ return fetcher(Object.assign({ url: `/v1/scorecards/${props['scorecard-id']}/stats`, method: 'GET' }, props));
8
+ }
9
+ /**
10
+ * Get scorecard stats for given scorecardId
11
+ */
12
+ export function useGetScorecardStatsQuery(props, options) {
13
+ return useQuery(['get-scorecard-stats', props['scorecard-id']], ({ signal }) => getScorecardStats(Object.assign(Object.assign({}, props), { signal })), options);
14
+ }
@@ -23,8 +23,12 @@ export type { GetAuthInfoAuthIdErrorResponse, GetAuthInfoAuthIdOkResponse, GetAu
23
23
  export { getAuthInfoAuthId, useGetAuthInfoAuthIdQuery } from './hooks/useGetAuthInfoAuthIdQuery';
24
24
  export type { GetBackstagePermissionsErrorResponse, GetBackstagePermissionsOkResponse, GetBackstagePermissionsProps, } from './hooks/useGetBackstagePermissionsQuery';
25
25
  export { getBackstagePermissions, useGetBackstagePermissionsQuery, } from './hooks/useGetBackstagePermissionsQuery';
26
+ export type { GetCheckGraphErrorResponse, GetCheckGraphOkResponse, GetCheckGraphProps, GetCheckGraphQueryPathParams, GetCheckGraphQueryQueryParams, } from './hooks/useGetCheckGraphQuery';
27
+ export { getCheckGraph, useGetCheckGraphQuery } from './hooks/useGetCheckGraphQuery';
26
28
  export type { GetCheckErrorResponse, GetCheckOkResponse, GetCheckProps, GetCheckQueryPathParams, GetCheckQueryQueryParams, } from './hooks/useGetCheckQuery';
27
29
  export { getCheck, useGetCheckQuery } from './hooks/useGetCheckQuery';
30
+ export type { GetCheckStatsErrorResponse, GetCheckStatsOkResponse, GetCheckStatsProps, GetCheckStatsQueryPathParams, GetCheckStatsQueryQueryParams, } from './hooks/useGetCheckStatsQuery';
31
+ export { getCheckStats, useGetCheckStatsQuery } from './hooks/useGetCheckStatsQuery';
28
32
  export type { GetChecksErrorResponse, GetChecksOkResponse, GetChecksProps, GetChecksQueryQueryParams, } from './hooks/useGetChecksQuery';
29
33
  export { getChecks, useGetChecksQuery } from './hooks/useGetChecksQuery';
30
34
  export type { GetConnectorInfoErrorResponse, GetConnectorInfoOkResponse, GetConnectorInfoProps, } from './hooks/useGetConnectorInfoQuery';
@@ -49,6 +53,8 @@ export type { GetPluginsErrorResponse, GetPluginsOkResponse, GetPluginsProps, }
49
53
  export { getPlugins, useGetPluginsQuery } from './hooks/useGetPluginsQuery';
50
54
  export type { GetScorecardErrorResponse, GetScorecardOkResponse, GetScorecardProps, GetScorecardQueryPathParams, } from './hooks/useGetScorecardQuery';
51
55
  export { getScorecard, useGetScorecardQuery } from './hooks/useGetScorecardQuery';
56
+ export type { GetScorecardStatsErrorResponse, GetScorecardStatsOkResponse, GetScorecardStatsProps, GetScorecardStatsQueryPathParams, } from './hooks/useGetScorecardStatsQuery';
57
+ export { getScorecardStats, useGetScorecardStatsQuery } from './hooks/useGetScorecardStatsQuery';
52
58
  export type { GetScorecardsErrorResponse, GetScorecardsOkResponse, GetScorecardsProps, } from './hooks/useGetScorecardsQuery';
53
59
  export { getScorecards, useGetScorecardsQuery } from './hooks/useGetScorecardsQuery';
54
60
  export type { GetStatusInfoByTypeErrorResponse, GetStatusInfoByTypeOkResponse, GetStatusInfoByTypeProps, GetStatusInfoByTypeQueryPathParams, } from './hooks/useGetStatusInfoByTypeQuery';
@@ -96,7 +102,9 @@ export type { AuthInfoResponseResponse } from './responses/AuthInfoResponseRespo
96
102
  export type { BackstageEnvVariableResponseListResponse } from './responses/BackstageEnvVariableResponseListResponse';
97
103
  export type { BackstagePermissionsResponseResponse } from './responses/BackstagePermissionsResponseResponse';
98
104
  export type { CheckDetailsResponseResponse } from './responses/CheckDetailsResponseResponse';
105
+ export type { CheckGraphResponseResponse } from './responses/CheckGraphResponseResponse';
99
106
  export type { CheckResponseListResponse } from './responses/CheckResponseListResponse';
107
+ export type { CheckStatsResponseResponse } from './responses/CheckStatsResponseResponse';
100
108
  export type { ConfigurationEntitiesResponseResponse } from './responses/ConfigurationEntitiesResponseResponse';
101
109
  export type { ConnectorInfoResponseResponse } from './responses/ConnectorInfoResponseResponse';
102
110
  export type { DataSourceDataPointsMapResponseResponse } from './responses/DataSourceDataPointsMapResponseResponse';
@@ -115,6 +123,7 @@ export type { PluginInfoResponseListResponse } from './responses/PluginInfoRespo
115
123
  export type { ScorecardDetailsResponseResponse } from './responses/ScorecardDetailsResponseResponse';
116
124
  export type { ScorecardRecalibrateResponseResponse } from './responses/ScorecardRecalibrateResponseResponse';
117
125
  export type { ScorecardResponseListResponse } from './responses/ScorecardResponseListResponse';
126
+ export type { ScorecardStatsResponseResponse } from './responses/ScorecardStatsResponseResponse';
118
127
  export type { StatusInfoResponseResponse } from './responses/StatusInfoResponseResponse';
119
128
  export type { AllowListRequest } from './schemas/AllowListRequest';
120
129
  export type { AllowListResponse } from './schemas/AllowListResponse';
@@ -135,8 +144,10 @@ export type { Check } from './schemas/Check';
135
144
  export type { CheckDetails } from './schemas/CheckDetails';
136
145
  export type { CheckDetailsRequest } from './schemas/CheckDetailsRequest';
137
146
  export type { CheckDetailsResponse } from './schemas/CheckDetailsResponse';
147
+ export type { CheckGraph } from './schemas/CheckGraph';
138
148
  export type { CheckListItem } from './schemas/CheckListItem';
139
149
  export type { CheckResponse } from './schemas/CheckResponse';
150
+ export type { CheckStats } from './schemas/CheckStats';
140
151
  export type { CheckStatus } from './schemas/CheckStatus';
141
152
  export type { ConfigurationEntities } from './schemas/ConfigurationEntities';
142
153
  export type { ConnectorDetails } from './schemas/ConnectorDetails';
@@ -161,6 +172,8 @@ export type { HarnessEntitiesResponse } from './schemas/HarnessEntitiesResponse'
161
172
  export type { HostInfo } from './schemas/HostInfo';
162
173
  export type { ImportEntitiesBase } from './schemas/ImportEntitiesBase';
163
174
  export type { ImportEntitiesResponse } from './schemas/ImportEntitiesResponse';
175
+ export type { InputDetails } from './schemas/InputDetails';
176
+ export type { InputValue } from './schemas/InputValue';
164
177
  export type { LayoutIngestRequest } from './schemas/LayoutIngestRequest';
165
178
  export type { LayoutRequest } from './schemas/LayoutRequest';
166
179
  export type { LayoutResponse } from './schemas/LayoutResponse';
@@ -185,6 +198,7 @@ export type { ScorecardRecalibrateIdentifiers } from './schemas/ScorecardRecalib
185
198
  export type { ScorecardRecalibrateRequest } from './schemas/ScorecardRecalibrateRequest';
186
199
  export type { ScorecardRecalibrateResponse } from './schemas/ScorecardRecalibrateResponse';
187
200
  export type { ScorecardResponse } from './schemas/ScorecardResponse';
201
+ export type { ScorecardStats } from './schemas/ScorecardStats';
188
202
  export type { ScorecardSummaryInfo } from './schemas/ScorecardSummaryInfo';
189
203
  export type { StatusInfo } from './schemas/StatusInfo';
190
204
  export type { StatusInfoResponse } from './schemas/StatusInfoResponse';
@@ -10,7 +10,9 @@ export { getAllLayouts, useGetAllLayoutsQuery } from './hooks/useGetAllLayoutsQu
10
10
  export { getAllowList, useGetAllowListQuery } from './hooks/useGetAllowListQuery';
11
11
  export { getAuthInfoAuthId, useGetAuthInfoAuthIdQuery } from './hooks/useGetAuthInfoAuthIdQuery';
12
12
  export { getBackstagePermissions, useGetBackstagePermissionsQuery, } from './hooks/useGetBackstagePermissionsQuery';
13
+ export { getCheckGraph, useGetCheckGraphQuery } from './hooks/useGetCheckGraphQuery';
13
14
  export { getCheck, useGetCheckQuery } from './hooks/useGetCheckQuery';
15
+ export { getCheckStats, useGetCheckStatsQuery } from './hooks/useGetCheckStatsQuery';
14
16
  export { getChecks, useGetChecksQuery } from './hooks/useGetChecksQuery';
15
17
  export { getConnectorInfo, useGetConnectorInfoQuery } from './hooks/useGetConnectorInfoQuery';
16
18
  export { getDataPointsForDataSource, useGetDataPointsForDataSourceQuery, } from './hooks/useGetDataPointsForDataSourceQuery';
@@ -23,6 +25,7 @@ export { getMergedPluginsConfig, useGetMergedPluginsConfigQuery, } from './hooks
23
25
  export { getPluginsInfoPluginId, useGetPluginsInfoPluginIdQuery, } from './hooks/useGetPluginsInfoPluginIdQuery';
24
26
  export { getPlugins, useGetPluginsQuery } from './hooks/useGetPluginsQuery';
25
27
  export { getScorecard, useGetScorecardQuery } from './hooks/useGetScorecardQuery';
28
+ export { getScorecardStats, useGetScorecardStatsQuery } from './hooks/useGetScorecardStatsQuery';
26
29
  export { getScorecards, useGetScorecardsQuery } from './hooks/useGetScorecardsQuery';
27
30
  export { getStatusInfoByType, useGetStatusInfoByTypeQuery, } from './hooks/useGetStatusInfoByTypeQuery';
28
31
  export { importHarnessEntities, useImportHarnessEntitiesMutation, } from './hooks/useImportHarnessEntitiesMutation';
@@ -0,0 +1,2 @@
1
+ import type { CheckGraph } from '../schemas/CheckGraph';
2
+ export type CheckGraphResponseResponse = CheckGraph[];
@@ -0,0 +1,2 @@
1
+ import type { CheckStats } from '../schemas/CheckStats';
2
+ export type CheckStatsResponseResponse = CheckStats[];
@@ -0,0 +1,2 @@
1
+ import type { ScorecardStats } from '../schemas/ScorecardStats';
2
+ export type ScorecardStatsResponseResponse = ScorecardStats[];
@@ -0,0 +1,7 @@
1
+ export interface CheckGraph {
2
+ count?: number;
3
+ /**
4
+ * @format int64
5
+ */
6
+ timestamp?: number;
7
+ }
@@ -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 {};
@@ -1,4 +1,8 @@
1
1
  import type { Check } from '../schemas/Check';
2
2
  export interface CheckListItem extends Check {
3
3
  data_source: string[];
4
+ /**
5
+ * @format double
6
+ */
7
+ percentage?: number;
4
8
  }
@@ -0,0 +1,11 @@
1
+ /**
2
+ * CheckStats
3
+ */
4
+ export interface CheckStats {
5
+ kind: string;
6
+ name: string;
7
+ owner: string;
8
+ status: string;
9
+ system: string;
10
+ type: string;
11
+ }
@@ -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 {};
@@ -2,6 +2,8 @@
2
2
  * Info for single check status
3
3
  */
4
4
  export interface CheckStatus {
5
+ custom?: boolean;
6
+ identifier?: string;
5
7
  name: string;
6
8
  reason?: string;
7
9
  status: 'FAIL' | 'PASS';
@@ -1,3 +1,4 @@
1
+ import type { InputDetails } from '../schemas/InputDetails';
1
2
  /**
2
3
  * Conatins detail for single data point
3
4
  */
@@ -6,6 +7,7 @@ export interface DataPoint {
6
7
  data_point_identifier: string;
7
8
  description: string;
8
9
  detailed_description: string;
10
+ input_details?: InputDetails[];
9
11
  is_conditional: boolean;
10
12
  name: string;
11
13
  type: string;
@@ -1,4 +1 @@
1
- /* eslint-disable */
2
- // This code is autogenerated using @harnessio/oats-cli.
3
- // Please do not modify this code directly.
4
1
  export {};
@@ -0,0 +1,5 @@
1
+ export interface InputDetails {
2
+ description: string;
3
+ key: string;
4
+ required: boolean;
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 {};
@@ -0,0 +1,4 @@
1
+ export interface InputValue {
2
+ key: string;
3
+ value: 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 {};
@@ -3,6 +3,8 @@
3
3
  */
4
4
  export interface ProxyHostDetail {
5
5
  host: string;
6
+ identifier?: string;
7
+ pluginId?: string;
6
8
  proxy: boolean;
7
9
  selectors?: string[];
8
10
  }
@@ -1,7 +1,10 @@
1
+ import type { InputValue } from '../schemas/InputValue';
1
2
  export interface Rule {
2
3
  conditional_input_value?: string;
3
4
  data_point_identifier: string;
4
5
  data_source_identifier: string;
6
+ identifier?: string;
7
+ input_values?: InputValue[];
5
8
  operator: string;
6
9
  value: string;
7
10
  }
@@ -1,4 +1 @@
1
- /* eslint-disable */
2
- // This code is autogenerated using @harnessio/oats-cli.
3
- // Please do not modify this code directly.
4
1
  export {};
@@ -2,8 +2,13 @@ import type { Check } from '../schemas/Check';
2
2
  export interface Scorecard {
3
3
  checks: Check[];
4
4
  checks_missing?: string[];
5
+ components?: number;
5
6
  description?: string;
6
7
  identifier: string;
7
8
  name: string;
9
+ /**
10
+ * @format double
11
+ */
12
+ percentage?: number;
8
13
  published?: boolean;
9
14
  }
@@ -0,0 +1,11 @@
1
+ /**
2
+ * ScorecardStats
3
+ */
4
+ export interface ScorecardStats {
5
+ kind: string;
6
+ name: string;
7
+ owner: string;
8
+ score: number;
9
+ system: string;
10
+ type: string;
11
+ }
@@ -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-idp-service-client",
3
- "version": "0.44.1",
3
+ "version": "0.45.0",
4
4
  "description": "Harness React idp service client - IDP APIs integrated with react hooks",
5
5
  "author": "Harness Inc",
6
6
  "license": "MIT",