@harnessio/react-idp-service-client 0.87.0 → 0.88.1
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/idp-service/src/services/hooks/useDeleteEntityMutation.d.ts +1 -0
- package/dist/idp-service/src/services/hooks/useDiscoverEntitiesQuery.d.ts +26 -0
- package/dist/idp-service/src/services/hooks/useDiscoverEntitiesQuery.js +14 -0
- package/dist/idp-service/src/services/hooks/useGetAggregationRuleQuery.d.ts +19 -0
- package/dist/idp-service/src/services/hooks/useGetAggregationRuleQuery.js +14 -0
- package/dist/idp-service/src/services/hooks/useSaveDiscoverEntitiesMutation.d.ts +21 -0
- package/dist/idp-service/src/services/hooks/useSaveDiscoverEntitiesMutation.js +14 -0
- package/dist/idp-service/src/services/hooks/useUnlinkIntegrationEntitiesMutation.d.ts +22 -0
- package/dist/idp-service/src/services/hooks/useUnlinkIntegrationEntitiesMutation.js +14 -0
- package/dist/idp-service/src/services/index.d.ts +19 -0
- package/dist/idp-service/src/services/index.js +4 -0
- package/dist/idp-service/src/services/requestBodies/SaveDiscoverEntitiesRequestRequestBody.d.ts +2 -0
- package/dist/idp-service/src/services/requestBodies/SaveDiscoverEntitiesRequestRequestBody.js +1 -0
- package/dist/idp-service/src/services/requestBodies/UnlinkIntegrationEntitiesRequestRequestBody.d.ts +2 -0
- package/dist/idp-service/src/services/requestBodies/UnlinkIntegrationEntitiesRequestRequestBody.js +1 -0
- package/dist/idp-service/src/services/responses/DiscoverEntitiesResponseListResponse.d.ts +2 -0
- package/dist/idp-service/src/services/responses/DiscoverEntitiesResponseListResponse.js +1 -0
- package/dist/idp-service/src/services/responses/UnlinkIntegrationEntitiesResponseResponse.d.ts +2 -0
- package/dist/idp-service/src/services/responses/UnlinkIntegrationEntitiesResponseResponse.js +1 -0
- package/dist/idp-service/src/services/schemas/AggFormula.d.ts +1 -0
- package/dist/idp-service/src/services/schemas/AggFormula.js +4 -0
- package/dist/idp-service/src/services/schemas/AggregationAccountSelection.d.ts +1 -0
- package/dist/idp-service/src/services/schemas/AggregationComputeStatus.d.ts +1 -0
- package/dist/idp-service/src/services/schemas/AggregationComputeStatus.js +4 -0
- package/dist/idp-service/src/services/schemas/AggregationEntitySelectionCriteria.d.ts +2 -1
- package/dist/idp-service/src/services/schemas/AggregationOrgSelection.d.ts +1 -0
- package/dist/idp-service/src/services/schemas/AggregationRule.d.ts +6 -3
- package/dist/idp-service/src/services/schemas/AggregationRule.js +0 -3
- package/dist/idp-service/src/services/schemas/AggregationRuleDetails.d.ts +6 -3
- package/dist/idp-service/src/services/schemas/AggregationScopeLevel.d.ts +1 -0
- package/dist/idp-service/src/services/schemas/AggregationScopeLevel.js +4 -0
- package/dist/idp-service/src/services/schemas/AggregationSelectionReviewRequest.d.ts +2 -1
- package/dist/idp-service/src/services/schemas/AggregationSelectionReviewRequest.js +0 -3
- package/dist/idp-service/src/services/schemas/DiscoverEntitiesResponse.d.ts +22 -0
- package/dist/idp-service/src/services/schemas/DiscoverEntitiesResponse.js +4 -0
- package/dist/idp-service/src/services/schemas/EntityResponse.d.ts +1 -1
- package/dist/idp-service/src/services/schemas/SaveDiscoverEntitiesRequest.d.ts +9 -0
- package/dist/idp-service/src/services/schemas/SaveDiscoverEntitiesRequest.js +4 -0
- package/dist/idp-service/src/services/schemas/UnlinkIntegrationEntitiesRequest.d.ts +3 -0
- package/dist/idp-service/src/services/schemas/UnlinkIntegrationEntitiesRequest.js +4 -0
- package/dist/idp-service/src/services/schemas/UnlinkIntegrationEntitiesResponse.d.ts +10 -0
- package/dist/idp-service/src/services/schemas/UnlinkIntegrationEntitiesResponse.js +4 -0
- package/package.json +1 -1
|
@@ -9,6 +9,7 @@ export interface DeleteEntityMutationPathParams {
|
|
|
9
9
|
export interface DeleteEntityMutationQueryParams {
|
|
10
10
|
orgIdentifier?: string;
|
|
11
11
|
projectIdentifier?: string;
|
|
12
|
+
delete_hierarchy_kind_entity?: boolean;
|
|
12
13
|
}
|
|
13
14
|
export interface DeleteEntityMutationHeaderParams {
|
|
14
15
|
'Harness-Account'?: string;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { DiscoverEntitiesResponseListResponse } from '../responses/DiscoverEntitiesResponseListResponse';
|
|
3
|
+
import type { ResponseWithPagination } from '../helpers';
|
|
4
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
5
|
+
export interface DiscoverEntitiesQueryPathParams {
|
|
6
|
+
'integration-id': string;
|
|
7
|
+
}
|
|
8
|
+
export interface DiscoverEntitiesQueryQueryParams {
|
|
9
|
+
page?: number;
|
|
10
|
+
limit?: number;
|
|
11
|
+
sort?: string;
|
|
12
|
+
search_term?: string;
|
|
13
|
+
}
|
|
14
|
+
export interface DiscoverEntitiesQueryHeaderParams {
|
|
15
|
+
'Harness-Account'?: string;
|
|
16
|
+
}
|
|
17
|
+
export type DiscoverEntitiesOkResponse = ResponseWithPagination<DiscoverEntitiesResponseListResponse>;
|
|
18
|
+
export type DiscoverEntitiesErrorResponse = unknown;
|
|
19
|
+
export interface DiscoverEntitiesProps extends DiscoverEntitiesQueryPathParams, Omit<FetcherOptions<DiscoverEntitiesQueryQueryParams, unknown, DiscoverEntitiesQueryHeaderParams>, 'url'> {
|
|
20
|
+
queryParams: DiscoverEntitiesQueryQueryParams;
|
|
21
|
+
}
|
|
22
|
+
export declare function discoverEntities(props: DiscoverEntitiesProps): Promise<DiscoverEntitiesOkResponse>;
|
|
23
|
+
/**
|
|
24
|
+
* Get discovered entities for integration
|
|
25
|
+
*/
|
|
26
|
+
export declare function useDiscoverEntitiesQuery(props: DiscoverEntitiesProps, options?: Omit<UseQueryOptions<DiscoverEntitiesOkResponse, DiscoverEntitiesErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<DiscoverEntitiesOkResponse, 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 discoverEntities(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/v1/integrations/${props['integration-id']}/discover/entities`, method: 'GET' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Get discovered entities for integration
|
|
11
|
+
*/
|
|
12
|
+
export function useDiscoverEntitiesQuery(props, options) {
|
|
13
|
+
return useQuery(['discover-entities', props['integration-id'], props.queryParams], ({ signal }) => discoverEntities(Object.assign(Object.assign({}, props), { signal })), options);
|
|
14
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { AggregationRuleDetailsResponseResponse } from '../responses/AggregationRuleDetailsResponseResponse';
|
|
3
|
+
import type { ResponseWithPagination } from '../helpers';
|
|
4
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
5
|
+
export interface GetAggregationRuleQueryPathParams {
|
|
6
|
+
'aggregation-rule-id': string;
|
|
7
|
+
}
|
|
8
|
+
export interface GetAggregationRuleQueryHeaderParams {
|
|
9
|
+
'Harness-Account'?: string;
|
|
10
|
+
}
|
|
11
|
+
export type GetAggregationRuleOkResponse = ResponseWithPagination<AggregationRuleDetailsResponseResponse>;
|
|
12
|
+
export type GetAggregationRuleErrorResponse = unknown;
|
|
13
|
+
export interface GetAggregationRuleProps extends GetAggregationRuleQueryPathParams, Omit<FetcherOptions<unknown, unknown, GetAggregationRuleQueryHeaderParams>, 'url'> {
|
|
14
|
+
}
|
|
15
|
+
export declare function getAggregationRule(props: GetAggregationRuleProps): Promise<GetAggregationRuleOkResponse>;
|
|
16
|
+
/**
|
|
17
|
+
* Get an aggregation rule
|
|
18
|
+
*/
|
|
19
|
+
export declare function useGetAggregationRuleQuery(props: GetAggregationRuleProps, options?: Omit<UseQueryOptions<GetAggregationRuleOkResponse, GetAggregationRuleErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetAggregationRuleOkResponse, 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 getAggregationRule(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/v1/aggregation-rules/${props['aggregation-rule-id']}`, method: 'GET' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Get an aggregation rule
|
|
11
|
+
*/
|
|
12
|
+
export function useGetAggregationRuleQuery(props, options) {
|
|
13
|
+
return useQuery(['get-aggregation-rule', props['aggregation-rule-id']], ({ signal }) => getAggregationRule(Object.assign(Object.assign({}, props), { signal })), options);
|
|
14
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { SaveDiscoverEntitiesRequestRequestBody } from '../requestBodies/SaveDiscoverEntitiesRequestRequestBody';
|
|
3
|
+
import type { ResponseWithPagination } from '../helpers';
|
|
4
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
5
|
+
export interface SaveDiscoverEntitiesMutationPathParams {
|
|
6
|
+
'integration-id': string;
|
|
7
|
+
}
|
|
8
|
+
export interface SaveDiscoverEntitiesMutationHeaderParams {
|
|
9
|
+
'Harness-Account'?: string;
|
|
10
|
+
}
|
|
11
|
+
export type SaveDiscoverEntitiesRequestBody = SaveDiscoverEntitiesRequestRequestBody;
|
|
12
|
+
export type SaveDiscoverEntitiesOkResponse = ResponseWithPagination<unknown>;
|
|
13
|
+
export type SaveDiscoverEntitiesErrorResponse = unknown;
|
|
14
|
+
export interface SaveDiscoverEntitiesProps extends SaveDiscoverEntitiesMutationPathParams, Omit<FetcherOptions<unknown, SaveDiscoverEntitiesRequestBody, SaveDiscoverEntitiesMutationHeaderParams>, 'url'> {
|
|
15
|
+
body: SaveDiscoverEntitiesRequestBody;
|
|
16
|
+
}
|
|
17
|
+
export declare function saveDiscoverEntities(props: SaveDiscoverEntitiesProps): Promise<SaveDiscoverEntitiesOkResponse>;
|
|
18
|
+
/**
|
|
19
|
+
* Save discovered entities for integration
|
|
20
|
+
*/
|
|
21
|
+
export declare function useSaveDiscoverEntitiesMutation(options?: Omit<UseMutationOptions<SaveDiscoverEntitiesOkResponse, SaveDiscoverEntitiesErrorResponse, SaveDiscoverEntitiesProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<SaveDiscoverEntitiesOkResponse, unknown, SaveDiscoverEntitiesProps, 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 { useMutation } from '@tanstack/react-query';
|
|
5
|
+
import { fetcher } from '../../../../fetcher/index.js';
|
|
6
|
+
export function saveDiscoverEntities(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/v1/integrations/${props['integration-id']}/discover/entities`, method: 'POST' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Save discovered entities for integration
|
|
11
|
+
*/
|
|
12
|
+
export function useSaveDiscoverEntitiesMutation(options) {
|
|
13
|
+
return useMutation((mutateProps) => saveDiscoverEntities(mutateProps), options);
|
|
14
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { UnlinkIntegrationEntitiesResponseResponse } from '../responses/UnlinkIntegrationEntitiesResponseResponse';
|
|
3
|
+
import type { UnlinkIntegrationEntitiesRequestRequestBody } from '../requestBodies/UnlinkIntegrationEntitiesRequestRequestBody';
|
|
4
|
+
import type { ResponseWithPagination } from '../helpers';
|
|
5
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
6
|
+
export interface UnlinkIntegrationEntitiesMutationPathParams {
|
|
7
|
+
'integration-id': string;
|
|
8
|
+
}
|
|
9
|
+
export interface UnlinkIntegrationEntitiesMutationHeaderParams {
|
|
10
|
+
'Harness-Account'?: string;
|
|
11
|
+
}
|
|
12
|
+
export type UnlinkIntegrationEntitiesRequestBody = UnlinkIntegrationEntitiesRequestRequestBody;
|
|
13
|
+
export type UnlinkIntegrationEntitiesOkResponse = ResponseWithPagination<UnlinkIntegrationEntitiesResponseResponse>;
|
|
14
|
+
export type UnlinkIntegrationEntitiesErrorResponse = unknown;
|
|
15
|
+
export interface UnlinkIntegrationEntitiesProps extends UnlinkIntegrationEntitiesMutationPathParams, Omit<FetcherOptions<unknown, UnlinkIntegrationEntitiesRequestBody, UnlinkIntegrationEntitiesMutationHeaderParams>, 'url'> {
|
|
16
|
+
body: UnlinkIntegrationEntitiesRequestBody;
|
|
17
|
+
}
|
|
18
|
+
export declare function unlinkIntegrationEntities(props: UnlinkIntegrationEntitiesProps): Promise<UnlinkIntegrationEntitiesOkResponse>;
|
|
19
|
+
/**
|
|
20
|
+
* Unlink entities for integration
|
|
21
|
+
*/
|
|
22
|
+
export declare function useUnlinkIntegrationEntitiesMutation(options?: Omit<UseMutationOptions<UnlinkIntegrationEntitiesOkResponse, UnlinkIntegrationEntitiesErrorResponse, UnlinkIntegrationEntitiesProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<UnlinkIntegrationEntitiesOkResponse, unknown, UnlinkIntegrationEntitiesProps, 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 { useMutation } from '@tanstack/react-query';
|
|
5
|
+
import { fetcher } from '../../../../fetcher/index.js';
|
|
6
|
+
export function unlinkIntegrationEntities(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/v1/integrations/${props['integration-id']}/entities/unlink`, method: 'POST' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Unlink entities for integration
|
|
11
|
+
*/
|
|
12
|
+
export function useUnlinkIntegrationEntitiesMutation(options) {
|
|
13
|
+
return useMutation((mutateProps) => unlinkIntegrationEntities(mutateProps), options);
|
|
14
|
+
}
|
|
@@ -51,8 +51,12 @@ export type { DeleteLayoutErrorResponse, DeleteLayoutOkResponse, DeleteLayoutPro
|
|
|
51
51
|
export { deleteLayout, useDeleteLayoutMutation } from './hooks/useDeleteLayoutMutation';
|
|
52
52
|
export type { DeleteScorecardErrorResponse, DeleteScorecardMutationPathParams, DeleteScorecardOkResponse, DeleteScorecardProps, } from './hooks/useDeleteScorecardMutation';
|
|
53
53
|
export { deleteScorecard, useDeleteScorecardMutation } from './hooks/useDeleteScorecardMutation';
|
|
54
|
+
export type { DiscoverEntitiesErrorResponse, DiscoverEntitiesOkResponse, DiscoverEntitiesProps, DiscoverEntitiesQueryPathParams, DiscoverEntitiesQueryQueryParams, } from './hooks/useDiscoverEntitiesQuery';
|
|
55
|
+
export { discoverEntities, useDiscoverEntitiesQuery } from './hooks/useDiscoverEntitiesQuery';
|
|
54
56
|
export type { GenerateYamlDefErrorResponse, GenerateYamlDefOkResponse, GenerateYamlDefProps, GenerateYamlDefRequestBody, } from './hooks/useGenerateYamlDefMutation';
|
|
55
57
|
export { generateYamlDef, useGenerateYamlDefMutation } from './hooks/useGenerateYamlDefMutation';
|
|
58
|
+
export type { GetAggregationRuleErrorResponse, GetAggregationRuleOkResponse, GetAggregationRuleProps, GetAggregationRuleQueryPathParams, } from './hooks/useGetAggregationRuleQuery';
|
|
59
|
+
export { getAggregationRule, useGetAggregationRuleQuery } from './hooks/useGetAggregationRuleQuery';
|
|
56
60
|
export type { GetAggregationRulesErrorResponse, GetAggregationRulesOkResponse, GetAggregationRulesProps, GetAggregationRulesQueryQueryParams, } from './hooks/useGetAggregationRulesQuery';
|
|
57
61
|
export { getAggregationRules, useGetAggregationRulesQuery, } from './hooks/useGetAggregationRulesQuery';
|
|
58
62
|
export type { GetAllDatasourcesForAccountErrorResponse, GetAllDatasourcesForAccountOkResponse, GetAllDatasourcesForAccountProps, } from './hooks/useGetAllDatasourcesForAccountQuery';
|
|
@@ -177,6 +181,8 @@ export type { SaveConnectorInfoErrorResponse, SaveConnectorInfoOkResponse, SaveC
|
|
|
177
181
|
export { saveConnectorInfo, useSaveConnectorInfoMutation, } from './hooks/useSaveConnectorInfoMutation';
|
|
178
182
|
export type { SaveCustomPluginsInfoErrorResponse, SaveCustomPluginsInfoOkResponse, SaveCustomPluginsInfoProps, SaveCustomPluginsInfoRequestBody, } from './hooks/useSaveCustomPluginsInfoMutation';
|
|
179
183
|
export { saveCustomPluginsInfo, useSaveCustomPluginsInfoMutation, } from './hooks/useSaveCustomPluginsInfoMutation';
|
|
184
|
+
export type { SaveDiscoverEntitiesErrorResponse, SaveDiscoverEntitiesMutationPathParams, SaveDiscoverEntitiesOkResponse, SaveDiscoverEntitiesProps, SaveDiscoverEntitiesRequestBody, } from './hooks/useSaveDiscoverEntitiesMutation';
|
|
185
|
+
export { saveDiscoverEntities, useSaveDiscoverEntitiesMutation, } from './hooks/useSaveDiscoverEntitiesMutation';
|
|
180
186
|
export type { SaveGroupErrorResponse, SaveGroupMutationQueryParams, SaveGroupOkResponse, SaveGroupProps, SaveGroupRequestBody, } from './hooks/useSaveGroupMutation';
|
|
181
187
|
export { saveGroup, useSaveGroupMutation } from './hooks/useSaveGroupMutation';
|
|
182
188
|
export type { SaveHomePageLayoutInfoErrorResponse, SaveHomePageLayoutInfoOkResponse, SaveHomePageLayoutInfoProps, SaveHomePageLayoutInfoRequestBody, } from './hooks/useSaveHomePageLayoutInfoMutation';
|
|
@@ -189,6 +195,8 @@ export type { TogglePluginForAccountErrorResponse, TogglePluginForAccountMutatio
|
|
|
189
195
|
export { togglePluginForAccount, useTogglePluginForAccountMutation, } from './hooks/useTogglePluginForAccountMutation';
|
|
190
196
|
export type { TriggerAggregationRuleComputationErrorResponse, TriggerAggregationRuleComputationMutationPathParams, TriggerAggregationRuleComputationOkResponse, TriggerAggregationRuleComputationProps, } from './hooks/useTriggerAggregationRuleComputationMutation';
|
|
191
197
|
export { triggerAggregationRuleComputation, useTriggerAggregationRuleComputationMutation, } from './hooks/useTriggerAggregationRuleComputationMutation';
|
|
198
|
+
export type { UnlinkIntegrationEntitiesErrorResponse, UnlinkIntegrationEntitiesMutationPathParams, UnlinkIntegrationEntitiesOkResponse, UnlinkIntegrationEntitiesProps, UnlinkIntegrationEntitiesRequestBody, } from './hooks/useUnlinkIntegrationEntitiesMutation';
|
|
199
|
+
export { unlinkIntegrationEntities, useUnlinkIntegrationEntitiesMutation, } from './hooks/useUnlinkIntegrationEntitiesMutation';
|
|
192
200
|
export type { UpdateAggregationRuleErrorResponse, UpdateAggregationRuleMutationPathParams, UpdateAggregationRuleOkResponse, UpdateAggregationRuleProps, UpdateAggregationRuleRequestBody, } from './hooks/useUpdateAggregationRuleMutation';
|
|
193
201
|
export { updateAggregationRule, useUpdateAggregationRuleMutation, } from './hooks/useUpdateAggregationRuleMutation';
|
|
194
202
|
export type { UpdateBackstagePermissionsErrorResponse, UpdateBackstagePermissionsOkResponse, UpdateBackstagePermissionsProps, UpdateBackstagePermissionsRequestBody, } from './hooks/useUpdateBackstagePermissionsMutation';
|
|
@@ -246,7 +254,9 @@ export type { OnboardingSkipRequestRequestBody } from './requestBodies/Onboardin
|
|
|
246
254
|
export type { RequestPluginRequestRequestBody } from './requestBodies/RequestPluginRequestRequestBody';
|
|
247
255
|
export type { RequestPluginRequestStatusV2RequestBody } from './requestBodies/RequestPluginRequestStatusV2RequestBody';
|
|
248
256
|
export type { RequestPluginRequestV2RequestBody } from './requestBodies/RequestPluginRequestV2RequestBody';
|
|
257
|
+
export type { SaveDiscoverEntitiesRequestRequestBody } from './requestBodies/SaveDiscoverEntitiesRequestRequestBody';
|
|
249
258
|
export type { ScorecardRecalibrateRequestRequestBody } from './requestBodies/ScorecardRecalibrateRequestRequestBody';
|
|
259
|
+
export type { UnlinkIntegrationEntitiesRequestRequestBody } from './requestBodies/UnlinkIntegrationEntitiesRequestRequestBody';
|
|
250
260
|
export type { ValidateComplexCheckRequestBodyRequestBody } from './requestBodies/ValidateComplexCheckRequestBodyRequestBody';
|
|
251
261
|
export type { AggregationRuleDetailsResponseResponse } from './responses/AggregationRuleDetailsResponseResponse';
|
|
252
262
|
export type { AggregationRuleResponseListResponse } from './responses/AggregationRuleResponseListResponse';
|
|
@@ -269,6 +279,7 @@ export type { DataSourceDataPointsMapResponseResponse } from './responses/DataSo
|
|
|
269
279
|
export type { DataSourcesResponseResponse } from './responses/DataSourcesResponseResponse';
|
|
270
280
|
export type { DatapointResponseResponse } from './responses/DatapointResponseResponse';
|
|
271
281
|
export type { DefaultSaveResponseResponse } from './responses/DefaultSaveResponseResponse';
|
|
282
|
+
export type { DiscoverEntitiesResponseListResponse } from './responses/DiscoverEntitiesResponseListResponse';
|
|
272
283
|
export type { EntitiesGroupsResponseBodyResponse } from './responses/EntitiesGroupsResponseBodyResponse';
|
|
273
284
|
export type { EntityConvertResponseBodyResponse } from './responses/EntityConvertResponseBodyResponse';
|
|
274
285
|
export type { EntityFiltersResponseBodyListResponse } from './responses/EntityFiltersResponseBodyListResponse';
|
|
@@ -308,11 +319,14 @@ export type { ScorecardResponseListResponse } from './responses/ScorecardRespons
|
|
|
308
319
|
export type { ScorecardStatsResponseResponse } from './responses/ScorecardStatsResponseResponse';
|
|
309
320
|
export type { StatusInfoResponseResponse } from './responses/StatusInfoResponseResponse';
|
|
310
321
|
export type { StatusInfoResponseV2Response } from './responses/StatusInfoResponseV2Response';
|
|
322
|
+
export type { UnlinkIntegrationEntitiesResponseResponse } from './responses/UnlinkIntegrationEntitiesResponseResponse';
|
|
311
323
|
export type { ValidateComplexCheckResponseResponse } from './responses/ValidateComplexCheckResponseResponse';
|
|
312
324
|
export type { WorkflowsInfoResponseResponse } from './responses/WorkflowsInfoResponseResponse';
|
|
313
325
|
export type { AbstractIntegrationRequest } from './schemas/AbstractIntegrationRequest';
|
|
314
326
|
export type { AbstractIntegrationResponse } from './schemas/AbstractIntegrationResponse';
|
|
327
|
+
export type { AggFormula } from './schemas/AggFormula';
|
|
315
328
|
export type { AggregationAccountSelection } from './schemas/AggregationAccountSelection';
|
|
329
|
+
export type { AggregationComputeStatus } from './schemas/AggregationComputeStatus';
|
|
316
330
|
export type { AggregationEntitySelectionCriteria } from './schemas/AggregationEntitySelectionCriteria';
|
|
317
331
|
export type { AggregationOrgSelection } from './schemas/AggregationOrgSelection';
|
|
318
332
|
export type { AggregationPlatformSelection } from './schemas/AggregationPlatformSelection';
|
|
@@ -321,6 +335,7 @@ export type { AggregationRuleDetails } from './schemas/AggregationRuleDetails';
|
|
|
321
335
|
export type { AggregationRuleDetailsRequest } from './schemas/AggregationRuleDetailsRequest';
|
|
322
336
|
export type { AggregationRuleDetailsResponse } from './schemas/AggregationRuleDetailsResponse';
|
|
323
337
|
export type { AggregationRuleResponse } from './schemas/AggregationRuleResponse';
|
|
338
|
+
export type { AggregationScopeLevel } from './schemas/AggregationScopeLevel';
|
|
324
339
|
export type { AggregationSelectionReviewRequest } from './schemas/AggregationSelectionReviewRequest';
|
|
325
340
|
export type { AggregationSelectionReviewResponse } from './schemas/AggregationSelectionReviewResponse';
|
|
326
341
|
export type { AllowListRequest } from './schemas/AllowListRequest';
|
|
@@ -372,6 +387,7 @@ export type { DataSourceDataPointsMap } from './schemas/DataSourceDataPointsMap'
|
|
|
372
387
|
export type { DataSourceDataPointsMapResponse } from './schemas/DataSourceDataPointsMapResponse';
|
|
373
388
|
export type { DataSourcesResponse } from './schemas/DataSourcesResponse';
|
|
374
389
|
export type { DefaultSaveResponse } from './schemas/DefaultSaveResponse';
|
|
390
|
+
export type { DiscoverEntitiesResponse } from './schemas/DiscoverEntitiesResponse';
|
|
375
391
|
export type { EntitiesByRefsRequest } from './schemas/EntitiesByRefsRequest';
|
|
376
392
|
export type { EntitiesForImport } from './schemas/EntitiesForImport';
|
|
377
393
|
export type { EntitiesGroups } from './schemas/EntitiesGroups';
|
|
@@ -452,6 +468,7 @@ export type { RequestPluginByIdAndStatus } from './schemas/RequestPluginByIdAndS
|
|
|
452
468
|
export type { RequestPluginByStatus } from './schemas/RequestPluginByStatus';
|
|
453
469
|
export type { RequestPluginV2 } from './schemas/RequestPluginV2';
|
|
454
470
|
export type { Rule } from './schemas/Rule';
|
|
471
|
+
export type { SaveDiscoverEntitiesRequest } from './schemas/SaveDiscoverEntitiesRequest';
|
|
455
472
|
export type { Scorecard } from './schemas/Scorecard';
|
|
456
473
|
export type { ScorecardChecks } from './schemas/ScorecardChecks';
|
|
457
474
|
export type { ScorecardChecksDetails } from './schemas/ScorecardChecksDetails';
|
|
@@ -470,6 +487,8 @@ export type { ScorecardSummaryInfo } from './schemas/ScorecardSummaryInfo';
|
|
|
470
487
|
export type { StatusInfo } from './schemas/StatusInfo';
|
|
471
488
|
export type { StatusInfoResponse } from './schemas/StatusInfoResponse';
|
|
472
489
|
export type { StatusInfoV2 } from './schemas/StatusInfoV2';
|
|
490
|
+
export type { UnlinkIntegrationEntitiesRequest } from './schemas/UnlinkIntegrationEntitiesRequest';
|
|
491
|
+
export type { UnlinkIntegrationEntitiesResponse } from './schemas/UnlinkIntegrationEntitiesResponse';
|
|
473
492
|
export type { UploadInfo } from './schemas/UploadInfo';
|
|
474
493
|
export type { User } from './schemas/User';
|
|
475
494
|
export type { ValidateComplexCheckRequest } from './schemas/ValidateComplexCheckRequest';
|
|
@@ -24,7 +24,9 @@ export { deleteHeadersQuickLinksIcon, useDeleteHeadersQuickLinksIconMutation, }
|
|
|
24
24
|
export { deleteHomePageLayoutCardsIcon, useDeleteHomePageLayoutCardsIconMutation, } from './hooks/useDeleteHomePageLayoutCardsIconMutation';
|
|
25
25
|
export { deleteLayout, useDeleteLayoutMutation } from './hooks/useDeleteLayoutMutation';
|
|
26
26
|
export { deleteScorecard, useDeleteScorecardMutation } from './hooks/useDeleteScorecardMutation';
|
|
27
|
+
export { discoverEntities, useDiscoverEntitiesQuery } from './hooks/useDiscoverEntitiesQuery';
|
|
27
28
|
export { generateYamlDef, useGenerateYamlDefMutation } from './hooks/useGenerateYamlDefMutation';
|
|
29
|
+
export { getAggregationRule, useGetAggregationRuleQuery } from './hooks/useGetAggregationRuleQuery';
|
|
28
30
|
export { getAggregationRules, useGetAggregationRulesQuery, } from './hooks/useGetAggregationRulesQuery';
|
|
29
31
|
export { getAllDatasourcesForAccount, useGetAllDatasourcesForAccountQuery, } from './hooks/useGetAllDatasourcesForAccountQuery';
|
|
30
32
|
export { getAllGroupsForAccount, useGetAllGroupsForAccountQuery, } from './hooks/useGetAllGroupsForAccountQuery';
|
|
@@ -87,12 +89,14 @@ export { saveAllowList, useSaveAllowListMutation } from './hooks/useSaveAllowLis
|
|
|
87
89
|
export { saveAuthInfoAuthId, useSaveAuthInfoAuthIdMutation, } from './hooks/useSaveAuthInfoAuthIdMutation';
|
|
88
90
|
export { saveConnectorInfo, useSaveConnectorInfoMutation, } from './hooks/useSaveConnectorInfoMutation';
|
|
89
91
|
export { saveCustomPluginsInfo, useSaveCustomPluginsInfoMutation, } from './hooks/useSaveCustomPluginsInfoMutation';
|
|
92
|
+
export { saveDiscoverEntities, useSaveDiscoverEntitiesMutation, } from './hooks/useSaveDiscoverEntitiesMutation';
|
|
90
93
|
export { saveGroup, useSaveGroupMutation } from './hooks/useSaveGroupMutation';
|
|
91
94
|
export { saveHomePageLayoutInfo, useSaveHomePageLayoutInfoMutation, } from './hooks/useSaveHomePageLayoutInfoMutation';
|
|
92
95
|
export { saveOrUpdatePluginAppConfig, useSaveOrUpdatePluginAppConfigMutation, } from './hooks/useSaveOrUpdatePluginAppConfigMutation';
|
|
93
96
|
export { scorecardRecalibrate, useScorecardRecalibrateMutation, } from './hooks/useScorecardRecalibrateMutation';
|
|
94
97
|
export { togglePluginForAccount, useTogglePluginForAccountMutation, } from './hooks/useTogglePluginForAccountMutation';
|
|
95
98
|
export { triggerAggregationRuleComputation, useTriggerAggregationRuleComputationMutation, } from './hooks/useTriggerAggregationRuleComputationMutation';
|
|
99
|
+
export { unlinkIntegrationEntities, useUnlinkIntegrationEntitiesMutation, } from './hooks/useUnlinkIntegrationEntitiesMutation';
|
|
96
100
|
export { updateAggregationRule, useUpdateAggregationRuleMutation, } from './hooks/useUpdateAggregationRuleMutation';
|
|
97
101
|
export { updateBackstagePermissions, useUpdateBackstagePermissionsMutation, } from './hooks/useUpdateBackstagePermissionsMutation';
|
|
98
102
|
export { updateCheck, useUpdateCheckMutation } from './hooks/useUpdateCheckMutation';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/dist/idp-service/src/services/requestBodies/UnlinkIntegrationEntitiesRequestRequestBody.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type AggFormula = 'AVG' | 'COUNT' | 'MAX' | 'MIN' | 'SUM';
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { AggregationOrgSelection } from '../schemas/AggregationOrgSelection';
|
|
2
2
|
export interface AggregationAccountSelection {
|
|
3
3
|
include: boolean;
|
|
4
|
+
include_all_children?: 'ORGANIZATIONS' | 'ORGANIZATIONS_AND_PROJECTS' | 'PROJECTS';
|
|
4
5
|
orgs: AggregationOrgSelection[];
|
|
5
6
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type AggregationComputeStatus = 'CALCULATING' | 'ERROR' | 'SUCCESS';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export interface AggregationEntitySelectionCriteria {
|
|
2
|
-
|
|
2
|
+
kind?: string;
|
|
3
3
|
lifecycles?: string[];
|
|
4
4
|
owners?: string[];
|
|
5
5
|
/**
|
|
@@ -7,4 +7,5 @@ export interface AggregationEntitySelectionCriteria {
|
|
|
7
7
|
*/
|
|
8
8
|
scopes?: string[];
|
|
9
9
|
tags?: string[];
|
|
10
|
+
type?: string;
|
|
10
11
|
}
|
|
@@ -1,5 +1,8 @@
|
|
|
1
|
+
import type { AggFormula } from '../schemas/AggFormula';
|
|
2
|
+
import type { AggregationComputeStatus } from '../schemas/AggregationComputeStatus';
|
|
3
|
+
import type { AggregationScopeLevel } from '../schemas/AggregationScopeLevel';
|
|
1
4
|
export interface AggregationRule {
|
|
2
|
-
agg_formula:
|
|
5
|
+
agg_formula: AggFormula;
|
|
3
6
|
description?: string;
|
|
4
7
|
field_for_agg: string;
|
|
5
8
|
identifier: string;
|
|
@@ -7,8 +10,8 @@ export interface AggregationRule {
|
|
|
7
10
|
* @format int64
|
|
8
11
|
*/
|
|
9
12
|
last_computed_at: number;
|
|
10
|
-
last_computed_status?:
|
|
13
|
+
last_computed_status?: AggregationComputeStatus;
|
|
11
14
|
last_error_message?: string;
|
|
12
15
|
name: string;
|
|
13
|
-
scopes_to_aggregate_at:
|
|
16
|
+
scopes_to_aggregate_at: AggregationScopeLevel[];
|
|
14
17
|
}
|
|
@@ -1,6 +1,9 @@
|
|
|
1
|
+
import type { AggFormula } from '../schemas/AggFormula';
|
|
1
2
|
import type { AggregationEntitySelectionCriteria } from '../schemas/AggregationEntitySelectionCriteria';
|
|
3
|
+
import type { AggregationComputeStatus } from '../schemas/AggregationComputeStatus';
|
|
4
|
+
import type { AggregationScopeLevel } from '../schemas/AggregationScopeLevel';
|
|
2
5
|
export interface AggregationRuleDetails {
|
|
3
|
-
agg_formula:
|
|
6
|
+
agg_formula: AggFormula;
|
|
4
7
|
description?: string;
|
|
5
8
|
entity_selection_criteria?: AggregationEntitySelectionCriteria;
|
|
6
9
|
/**
|
|
@@ -12,8 +15,8 @@ export interface AggregationRuleDetails {
|
|
|
12
15
|
* @format int64
|
|
13
16
|
*/
|
|
14
17
|
last_computed_at?: number;
|
|
15
|
-
last_computed_status?:
|
|
18
|
+
last_computed_status?: AggregationComputeStatus;
|
|
16
19
|
last_error_message?: string;
|
|
17
20
|
name: string;
|
|
18
|
-
scopes_to_aggregate_at:
|
|
21
|
+
scopes_to_aggregate_at: AggregationScopeLevel[];
|
|
19
22
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type AggregationScopeLevel = 'ACCOUNT' | 'ORGANIZATION' | 'PROJECT' | 'SYSTEM';
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { AggregationScopeLevel } from '../schemas/AggregationScopeLevel';
|
|
1
2
|
export interface AggregationSelectionReviewRequest {
|
|
2
3
|
/**
|
|
3
4
|
* List of input scopes where entities are selected
|
|
@@ -6,5 +7,5 @@ export interface AggregationSelectionReviewRequest {
|
|
|
6
7
|
/**
|
|
7
8
|
* Levels at which to aggregate and return platform entities
|
|
8
9
|
*/
|
|
9
|
-
scopes_to_aggregate_at:
|
|
10
|
+
scopes_to_aggregate_at: AggregationScopeLevel[];
|
|
10
11
|
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
export interface DiscoverEntitiesResponse {
|
|
2
|
+
action_destination: {
|
|
3
|
+
default_action?: 'MERGE' | 'REGISTER';
|
|
4
|
+
merge?: Array<{
|
|
5
|
+
entity_ref?: string;
|
|
6
|
+
name?: string;
|
|
7
|
+
}>;
|
|
8
|
+
register?: {
|
|
9
|
+
name?: string;
|
|
10
|
+
};
|
|
11
|
+
};
|
|
12
|
+
/**
|
|
13
|
+
* @format int64
|
|
14
|
+
*/
|
|
15
|
+
discovered_at: number;
|
|
16
|
+
identifier: string;
|
|
17
|
+
integration_entity_id: string;
|
|
18
|
+
kind: string;
|
|
19
|
+
name: string;
|
|
20
|
+
scope: string;
|
|
21
|
+
type: string;
|
|
22
|
+
}
|
|
@@ -29,7 +29,7 @@ export interface EntityResponse {
|
|
|
29
29
|
scope?: 'ACCOUNT' | 'ORGANIZATION' | 'PROJECT';
|
|
30
30
|
}>;
|
|
31
31
|
identifier: string;
|
|
32
|
-
kind: 'api' | 'component' | 'environment' | 'environmentblueprint' | 'group' | 'resource' | 'system' | 'user' | 'workflow';
|
|
32
|
+
kind: 'api' | 'component' | 'environment' | 'environmentblueprint' | 'group' | 'hierarchy' | 'resource' | 'system' | 'user' | 'workflow';
|
|
33
33
|
lifecycle?: string;
|
|
34
34
|
metadata?: {
|
|
35
35
|
[key: string]: any;
|