@harnessio/react-idp-service-client 0.49.5 → 0.49.7
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/useCdEntitiesCountQuery.d.ts +16 -0
- package/dist/idp-service/src/services/hooks/useCdEntitiesCountQuery.js +14 -0
- package/dist/idp-service/src/services/hooks/useCdEntitiesFetchMutation.d.ts +25 -0
- package/dist/idp-service/src/services/hooks/useCdEntitiesFetchMutation.js +14 -0
- package/dist/idp-service/src/services/hooks/useGenerateYamlDefMutation.d.ts +19 -0
- package/dist/idp-service/src/services/hooks/useGenerateYamlDefMutation.js +14 -0
- package/dist/idp-service/src/services/hooks/useGetAllLayoutsV2Query.d.ts +16 -0
- package/dist/idp-service/src/services/hooks/useGetAllLayoutsV2Query.js +14 -0
- package/dist/idp-service/src/services/hooks/useGetOnboardingStatusQuery.d.ts +16 -0
- package/dist/idp-service/src/services/hooks/useGetOnboardingStatusQuery.js +14 -0
- package/dist/idp-service/src/services/hooks/useGetStatusInfoByTypeQuery.d.ts +1 -1
- package/dist/idp-service/src/services/hooks/useGetStatusInfoTypeV2Query.d.ts +1 -1
- package/dist/idp-service/src/services/hooks/useImportCdEntitiesMutation.d.ts +19 -0
- package/dist/idp-service/src/services/hooks/useImportCdEntitiesMutation.js +14 -0
- package/dist/idp-service/src/services/hooks/usePostOnboardingSkipMutation.d.ts +19 -0
- package/dist/idp-service/src/services/hooks/usePostOnboardingSkipMutation.js +14 -0
- package/dist/idp-service/src/services/index.d.ts +37 -0
- package/dist/idp-service/src/services/index.js +7 -0
- package/dist/idp-service/src/services/requestBodies/OnboardingCdEntitiesFetchRequestRequestBody.d.ts +2 -0
- package/dist/idp-service/src/services/requestBodies/OnboardingCdEntitiesFetchRequestRequestBody.js +1 -0
- package/dist/idp-service/src/services/requestBodies/OnboardingGenerateYamlDefRequestRequestBody.d.ts +2 -0
- package/dist/idp-service/src/services/requestBodies/OnboardingGenerateYamlDefRequestRequestBody.js +1 -0
- package/dist/idp-service/src/services/requestBodies/OnboardingImportCdEntitiesRequestRequestBody.d.ts +2 -0
- package/dist/idp-service/src/services/requestBodies/OnboardingImportCdEntitiesRequestRequestBody.js +1 -0
- package/dist/idp-service/src/services/requestBodies/OnboardingSkipRequestRequestBody.d.ts +2 -0
- package/dist/idp-service/src/services/requestBodies/OnboardingSkipRequestRequestBody.js +1 -0
- package/dist/idp-service/src/services/responses/OnboardingCdEntitiesCountResponseResponse.d.ts +2 -0
- package/dist/idp-service/src/services/responses/OnboardingCdEntitiesCountResponseResponse.js +1 -0
- package/dist/idp-service/src/services/responses/OnboardingCdEntitiesFetchResponseResponse.d.ts +2 -0
- package/dist/idp-service/src/services/responses/OnboardingCdEntitiesFetchResponseResponse.js +1 -0
- package/dist/idp-service/src/services/responses/OnboardingGenerateYamlDefResponseResponse.d.ts +2 -0
- package/dist/idp-service/src/services/responses/OnboardingGenerateYamlDefResponseResponse.js +1 -0
- package/dist/idp-service/src/services/responses/OnboardingImportCdEntitiesResponseResponse.d.ts +2 -0
- package/dist/idp-service/src/services/responses/OnboardingImportCdEntitiesResponseResponse.js +1 -0
- package/dist/idp-service/src/services/responses/OnboardingSkipResponseResponse.d.ts +2 -0
- package/dist/idp-service/src/services/responses/OnboardingSkipResponseResponse.js +1 -0
- package/dist/idp-service/src/services/responses/OnboardingStatusResponseResponse.d.ts +2 -0
- package/dist/idp-service/src/services/responses/OnboardingStatusResponseResponse.js +1 -0
- package/dist/idp-service/src/services/schemas/GitIntegrationRequest.d.ts +9 -0
- package/dist/idp-service/src/services/schemas/GitIntegrationRequest.js +1 -0
- package/dist/idp-service/src/services/schemas/OnboardingCdEntitiesCountResponse.d.ts +3 -0
- package/dist/idp-service/src/services/schemas/OnboardingCdEntitiesCountResponse.js +4 -0
- package/dist/idp-service/src/services/schemas/OnboardingCdEntitiesFetchRequest.d.ts +6 -0
- package/dist/idp-service/src/services/schemas/OnboardingCdEntitiesFetchRequest.js +4 -0
- package/dist/idp-service/src/services/schemas/OnboardingCdEntitiesFetchResponse.d.ts +13 -0
- package/dist/idp-service/src/services/schemas/OnboardingCdEntitiesFetchResponse.js +4 -0
- package/dist/idp-service/src/services/schemas/OnboardingGenerateYamlDefRequest.d.ts +4 -0
- package/dist/idp-service/src/services/schemas/OnboardingGenerateYamlDefRequest.js +4 -0
- package/dist/idp-service/src/services/schemas/OnboardingGenerateYamlDefResponse.d.ts +4 -0
- package/dist/idp-service/src/services/schemas/OnboardingGenerateYamlDefResponse.js +4 -0
- package/dist/idp-service/src/services/schemas/OnboardingImportCdEntitiesRequest.d.ts +6 -0
- package/dist/idp-service/src/services/schemas/OnboardingImportCdEntitiesRequest.js +1 -0
- package/dist/idp-service/src/services/schemas/OnboardingImportCdEntitiesResponse.d.ts +3 -0
- package/dist/idp-service/src/services/schemas/OnboardingImportCdEntitiesResponse.js +4 -0
- package/dist/idp-service/src/services/schemas/OnboardingSkipRequest.d.ts +3 -0
- package/dist/idp-service/src/services/schemas/OnboardingSkipRequest.js +4 -0
- package/dist/idp-service/src/services/schemas/OnboardingSkipResponse.d.ts +3 -0
- package/dist/idp-service/src/services/schemas/OnboardingSkipResponse.js +4 -0
- package/dist/idp-service/src/services/schemas/OnboardingStatusResponse.d.ts +3 -0
- package/dist/idp-service/src/services/schemas/OnboardingStatusResponse.js +4 -0
- package/dist/idp-service/src/services/schemas/ReadValidationDetails.d.ts +3 -0
- package/dist/idp-service/src/services/schemas/ReadValidationDetails.js +4 -0
- package/dist/idp-service/src/services/schemas/ScorecardDetails.d.ts +1 -0
- package/dist/idp-service/src/services/schemas/WriteValidationDetails.d.ts +5 -0
- package/dist/idp-service/src/services/schemas/WriteValidationDetails.js +4 -0
- package/package.json +1 -1
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { OnboardingCdEntitiesCountResponseResponse } from '../responses/OnboardingCdEntitiesCountResponseResponse';
|
|
3
|
+
import type { ResponseWithPagination } from '../helpers';
|
|
4
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
5
|
+
export interface CdEntitiesCountQueryHeaderParams {
|
|
6
|
+
'Harness-Account'?: string;
|
|
7
|
+
}
|
|
8
|
+
export type CdEntitiesCountOkResponse = ResponseWithPagination<OnboardingCdEntitiesCountResponseResponse>;
|
|
9
|
+
export type CdEntitiesCountErrorResponse = unknown;
|
|
10
|
+
export interface CdEntitiesCountProps extends Omit<FetcherOptions<unknown, unknown, CdEntitiesCountQueryHeaderParams>, 'url'> {
|
|
11
|
+
}
|
|
12
|
+
export declare function cdEntitiesCount(props: CdEntitiesCountProps): Promise<CdEntitiesCountOkResponse>;
|
|
13
|
+
/**
|
|
14
|
+
* Get CD entities count
|
|
15
|
+
*/
|
|
16
|
+
export declare function useCdEntitiesCountQuery(props: CdEntitiesCountProps, options?: Omit<UseQueryOptions<CdEntitiesCountOkResponse, CdEntitiesCountErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<CdEntitiesCountOkResponse, 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 cdEntitiesCount(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/v2/onboarding/cd-entities-count`, method: 'GET' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Get CD entities count
|
|
11
|
+
*/
|
|
12
|
+
export function useCdEntitiesCountQuery(props, options) {
|
|
13
|
+
return useQuery(['cd-entities-count'], ({ signal }) => cdEntitiesCount(Object.assign(Object.assign({}, props), { signal })), options);
|
|
14
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { OnboardingCdEntitiesFetchResponseResponse } from '../responses/OnboardingCdEntitiesFetchResponseResponse';
|
|
3
|
+
import type { OnboardingCdEntitiesFetchRequestRequestBody } from '../requestBodies/OnboardingCdEntitiesFetchRequestRequestBody';
|
|
4
|
+
import type { ResponseWithPagination } from '../helpers';
|
|
5
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
6
|
+
export interface CdEntitiesFetchMutationQueryParams {
|
|
7
|
+
page?: number;
|
|
8
|
+
limit?: number;
|
|
9
|
+
search_term?: string;
|
|
10
|
+
}
|
|
11
|
+
export interface CdEntitiesFetchMutationHeaderParams {
|
|
12
|
+
'Harness-Account'?: string;
|
|
13
|
+
}
|
|
14
|
+
export type CdEntitiesFetchRequestBody = OnboardingCdEntitiesFetchRequestRequestBody;
|
|
15
|
+
export type CdEntitiesFetchOkResponse = ResponseWithPagination<OnboardingCdEntitiesFetchResponseResponse>;
|
|
16
|
+
export type CdEntitiesFetchErrorResponse = unknown;
|
|
17
|
+
export interface CdEntitiesFetchProps extends Omit<FetcherOptions<CdEntitiesFetchMutationQueryParams, CdEntitiesFetchRequestBody, CdEntitiesFetchMutationHeaderParams>, 'url'> {
|
|
18
|
+
queryParams: CdEntitiesFetchMutationQueryParams;
|
|
19
|
+
body: CdEntitiesFetchRequestBody;
|
|
20
|
+
}
|
|
21
|
+
export declare function cdEntitiesFetch(props: CdEntitiesFetchProps): Promise<CdEntitiesFetchOkResponse>;
|
|
22
|
+
/**
|
|
23
|
+
* Fetch CD entities as IDP entities for import
|
|
24
|
+
*/
|
|
25
|
+
export declare function useCdEntitiesFetchMutation(options?: Omit<UseMutationOptions<CdEntitiesFetchOkResponse, CdEntitiesFetchErrorResponse, CdEntitiesFetchProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<CdEntitiesFetchOkResponse, unknown, CdEntitiesFetchProps, 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 cdEntitiesFetch(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/v2/onboarding/cd-entities-fetch`, method: 'POST' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Fetch CD entities as IDP entities for import
|
|
11
|
+
*/
|
|
12
|
+
export function useCdEntitiesFetchMutation(options) {
|
|
13
|
+
return useMutation((mutateProps) => cdEntitiesFetch(mutateProps), options);
|
|
14
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { OnboardingGenerateYamlDefResponseResponse } from '../responses/OnboardingGenerateYamlDefResponseResponse';
|
|
3
|
+
import type { OnboardingGenerateYamlDefRequestRequestBody } from '../requestBodies/OnboardingGenerateYamlDefRequestRequestBody';
|
|
4
|
+
import type { ResponseWithPagination } from '../helpers';
|
|
5
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
6
|
+
export interface GenerateYamlDefMutationHeaderParams {
|
|
7
|
+
'Harness-Account'?: string;
|
|
8
|
+
}
|
|
9
|
+
export type GenerateYamlDefRequestBody = OnboardingGenerateYamlDefRequestRequestBody;
|
|
10
|
+
export type GenerateYamlDefOkResponse = ResponseWithPagination<OnboardingGenerateYamlDefResponseResponse>;
|
|
11
|
+
export type GenerateYamlDefErrorResponse = unknown;
|
|
12
|
+
export interface GenerateYamlDefProps extends Omit<FetcherOptions<unknown, GenerateYamlDefRequestBody, GenerateYamlDefMutationHeaderParams>, 'url'> {
|
|
13
|
+
body: GenerateYamlDefRequestBody;
|
|
14
|
+
}
|
|
15
|
+
export declare function generateYamlDef(props: GenerateYamlDefProps): Promise<GenerateYamlDefOkResponse>;
|
|
16
|
+
/**
|
|
17
|
+
* Generate YAML Definition for IDP
|
|
18
|
+
*/
|
|
19
|
+
export declare function useGenerateYamlDefMutation(options?: Omit<UseMutationOptions<GenerateYamlDefOkResponse, GenerateYamlDefErrorResponse, GenerateYamlDefProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<GenerateYamlDefOkResponse, unknown, GenerateYamlDefProps, 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 generateYamlDef(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/v2/onboarding/generate-yaml-def`, method: 'POST' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Generate YAML Definition for IDP
|
|
11
|
+
*/
|
|
12
|
+
export function useGenerateYamlDefMutation(options) {
|
|
13
|
+
return useMutation((mutateProps) => generateYamlDef(mutateProps), options);
|
|
14
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { LayoutResponseResponse } from '../responses/LayoutResponseResponse';
|
|
3
|
+
import type { ResponseWithPagination } from '../helpers';
|
|
4
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
5
|
+
export interface GetAllLayoutsV2QueryHeaderParams {
|
|
6
|
+
'Harness-Account'?: string;
|
|
7
|
+
}
|
|
8
|
+
export type GetAllLayoutsV2OkResponse = ResponseWithPagination<LayoutResponseResponse>;
|
|
9
|
+
export type GetAllLayoutsV2ErrorResponse = unknown;
|
|
10
|
+
export interface GetAllLayoutsV2Props extends Omit<FetcherOptions<unknown, unknown, GetAllLayoutsV2QueryHeaderParams>, 'url'> {
|
|
11
|
+
}
|
|
12
|
+
export declare function getAllLayoutsV2(props: GetAllLayoutsV2Props): Promise<GetAllLayoutsV2OkResponse>;
|
|
13
|
+
/**
|
|
14
|
+
* List Layouts v2
|
|
15
|
+
*/
|
|
16
|
+
export declare function useGetAllLayoutsV2Query(props: GetAllLayoutsV2Props, options?: Omit<UseQueryOptions<GetAllLayoutsV2OkResponse, GetAllLayoutsV2ErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetAllLayoutsV2OkResponse, 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 getAllLayoutsV2(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/v2/layout`, method: 'GET' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* List Layouts v2
|
|
11
|
+
*/
|
|
12
|
+
export function useGetAllLayoutsV2Query(props, options) {
|
|
13
|
+
return useQuery(['get-all-layouts-v2'], ({ signal }) => getAllLayoutsV2(Object.assign(Object.assign({}, props), { signal })), options);
|
|
14
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { OnboardingStatusResponseResponse } from '../responses/OnboardingStatusResponseResponse';
|
|
3
|
+
import type { ResponseWithPagination } from '../helpers';
|
|
4
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
5
|
+
export interface GetOnboardingStatusQueryHeaderParams {
|
|
6
|
+
'Harness-Account'?: string;
|
|
7
|
+
}
|
|
8
|
+
export type GetOnboardingStatusOkResponse = ResponseWithPagination<OnboardingStatusResponseResponse>;
|
|
9
|
+
export type GetOnboardingStatusErrorResponse = unknown;
|
|
10
|
+
export interface GetOnboardingStatusProps extends Omit<FetcherOptions<unknown, unknown, GetOnboardingStatusQueryHeaderParams>, 'url'> {
|
|
11
|
+
}
|
|
12
|
+
export declare function getOnboardingStatus(props: GetOnboardingStatusProps): Promise<GetOnboardingStatusOkResponse>;
|
|
13
|
+
/**
|
|
14
|
+
* Get Onboarding Status
|
|
15
|
+
*/
|
|
16
|
+
export declare function useGetOnboardingStatusQuery(props: GetOnboardingStatusProps, options?: Omit<UseQueryOptions<GetOnboardingStatusOkResponse, GetOnboardingStatusErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetOnboardingStatusOkResponse, 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 getOnboardingStatus(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/v2/onboarding/status`, method: 'GET' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Get Onboarding Status
|
|
11
|
+
*/
|
|
12
|
+
export function useGetOnboardingStatusQuery(props, options) {
|
|
13
|
+
return useQuery(['get-onboarding-status'], ({ signal }) => getOnboardingStatus(Object.assign(Object.assign({}, props), { signal })), options);
|
|
14
|
+
}
|
|
@@ -3,7 +3,7 @@ import type { StatusInfoResponseResponse } from '../responses/StatusInfoResponse
|
|
|
3
3
|
import type { ResponseWithPagination } from '../helpers';
|
|
4
4
|
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
5
5
|
export interface GetStatusInfoByTypeQueryPathParams {
|
|
6
|
-
type: 'infra' | 'infra_onboarding' | 'onboarding';
|
|
6
|
+
type: 'all' | 'git_integration' | 'infra' | 'infra_onboarding' | 'onboarding';
|
|
7
7
|
}
|
|
8
8
|
export interface GetStatusInfoByTypeQueryHeaderParams {
|
|
9
9
|
'Harness-Account'?: string;
|
|
@@ -3,7 +3,7 @@ import type { StatusInfoResponseV2Response } from '../responses/StatusInfoRespon
|
|
|
3
3
|
import type { ResponseWithPagination } from '../helpers';
|
|
4
4
|
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
5
5
|
export interface GetStatusInfoTypeV2QueryPathParams {
|
|
6
|
-
type: 'infra' | 'infra_onboarding' | 'onboarding';
|
|
6
|
+
type: 'all' | 'git_integration' | 'infra' | 'infra_onboarding' | 'onboarding';
|
|
7
7
|
}
|
|
8
8
|
export interface GetStatusInfoTypeV2QueryHeaderParams {
|
|
9
9
|
'Harness-Account'?: string;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { OnboardingImportCdEntitiesResponseResponse } from '../responses/OnboardingImportCdEntitiesResponseResponse';
|
|
3
|
+
import type { OnboardingImportCdEntitiesRequestRequestBody } from '../requestBodies/OnboardingImportCdEntitiesRequestRequestBody';
|
|
4
|
+
import type { ResponseWithPagination } from '../helpers';
|
|
5
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
6
|
+
export interface ImportCdEntitiesMutationHeaderParams {
|
|
7
|
+
'Harness-Account'?: string;
|
|
8
|
+
}
|
|
9
|
+
export type ImportCdEntitiesRequestBody = OnboardingImportCdEntitiesRequestRequestBody;
|
|
10
|
+
export type ImportCdEntitiesOkResponse = ResponseWithPagination<OnboardingImportCdEntitiesResponseResponse>;
|
|
11
|
+
export type ImportCdEntitiesErrorResponse = unknown;
|
|
12
|
+
export interface ImportCdEntitiesProps extends Omit<FetcherOptions<unknown, ImportCdEntitiesRequestBody, ImportCdEntitiesMutationHeaderParams>, 'url'> {
|
|
13
|
+
body: ImportCdEntitiesRequestBody;
|
|
14
|
+
}
|
|
15
|
+
export declare function importCdEntities(props: ImportCdEntitiesProps): Promise<ImportCdEntitiesOkResponse>;
|
|
16
|
+
/**
|
|
17
|
+
* Import CD Entities into IDP
|
|
18
|
+
*/
|
|
19
|
+
export declare function useImportCdEntitiesMutation(options?: Omit<UseMutationOptions<ImportCdEntitiesOkResponse, ImportCdEntitiesErrorResponse, ImportCdEntitiesProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<ImportCdEntitiesOkResponse, unknown, ImportCdEntitiesProps, 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 importCdEntities(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/v2/onboarding/import-cd-entities`, method: 'POST' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Import CD Entities into IDP
|
|
11
|
+
*/
|
|
12
|
+
export function useImportCdEntitiesMutation(options) {
|
|
13
|
+
return useMutation((mutateProps) => importCdEntities(mutateProps), options);
|
|
14
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { OnboardingSkipResponseResponse } from '../responses/OnboardingSkipResponseResponse';
|
|
3
|
+
import type { OnboardingSkipRequestRequestBody } from '../requestBodies/OnboardingSkipRequestRequestBody';
|
|
4
|
+
import type { ResponseWithPagination } from '../helpers';
|
|
5
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
6
|
+
export interface PostOnboardingSkipMutationHeaderParams {
|
|
7
|
+
'Harness-Account'?: string;
|
|
8
|
+
}
|
|
9
|
+
export type PostOnboardingSkipRequestBody = OnboardingSkipRequestRequestBody;
|
|
10
|
+
export type PostOnboardingSkipOkResponse = ResponseWithPagination<OnboardingSkipResponseResponse>;
|
|
11
|
+
export type PostOnboardingSkipErrorResponse = unknown;
|
|
12
|
+
export interface PostOnboardingSkipProps extends Omit<FetcherOptions<unknown, PostOnboardingSkipRequestBody, PostOnboardingSkipMutationHeaderParams>, 'url'> {
|
|
13
|
+
body: PostOnboardingSkipRequestBody;
|
|
14
|
+
}
|
|
15
|
+
export declare function postOnboardingSkip(props: PostOnboardingSkipProps): Promise<PostOnboardingSkipOkResponse>;
|
|
16
|
+
/**
|
|
17
|
+
* Post onboarding skip
|
|
18
|
+
*/
|
|
19
|
+
export declare function usePostOnboardingSkipMutation(options?: Omit<UseMutationOptions<PostOnboardingSkipOkResponse, PostOnboardingSkipErrorResponse, PostOnboardingSkipProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<PostOnboardingSkipOkResponse, unknown, PostOnboardingSkipProps, 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 postOnboardingSkip(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/v2/onboarding/skip`, method: 'POST' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Post onboarding skip
|
|
11
|
+
*/
|
|
12
|
+
export function usePostOnboardingSkipMutation(options) {
|
|
13
|
+
return useMutation((mutateProps) => postOnboardingSkip(mutateProps), options);
|
|
14
|
+
}
|
|
@@ -1,4 +1,8 @@
|
|
|
1
1
|
export type { GetPathParamsType, ResponseWithPagination } from './helpers';
|
|
2
|
+
export type { CdEntitiesCountErrorResponse, CdEntitiesCountOkResponse, CdEntitiesCountProps, } from './hooks/useCdEntitiesCountQuery';
|
|
3
|
+
export { cdEntitiesCount, useCdEntitiesCountQuery } from './hooks/useCdEntitiesCountQuery';
|
|
4
|
+
export type { CdEntitiesFetchErrorResponse, CdEntitiesFetchMutationQueryParams, CdEntitiesFetchOkResponse, CdEntitiesFetchProps, CdEntitiesFetchRequestBody, } from './hooks/useCdEntitiesFetchMutation';
|
|
5
|
+
export { cdEntitiesFetch, useCdEntitiesFetchMutation } from './hooks/useCdEntitiesFetchMutation';
|
|
2
6
|
export type { CreateBackstageEnvVariablesErrorResponse, CreateBackstageEnvVariablesOkResponse, CreateBackstageEnvVariablesProps, CreateBackstageEnvVariablesRequestBody, } from './hooks/useCreateBackstageEnvVariablesMutation';
|
|
3
7
|
export { createBackstageEnvVariables, useCreateBackstageEnvVariablesMutation, } from './hooks/useCreateBackstageEnvVariablesMutation';
|
|
4
8
|
export type { CreateBackstagePermissionsErrorResponse, CreateBackstagePermissionsOkResponse, CreateBackstagePermissionsProps, CreateBackstagePermissionsRequestBody, } from './hooks/useCreateBackstagePermissionsMutation';
|
|
@@ -17,10 +21,14 @@ export type { DeleteCustomPluginInfoErrorResponse, DeleteCustomPluginInfoMutatio
|
|
|
17
21
|
export { deleteCustomPluginInfo, useDeleteCustomPluginInfoMutation, } from './hooks/useDeleteCustomPluginInfoMutation';
|
|
18
22
|
export type { DeleteScorecardErrorResponse, DeleteScorecardMutationPathParams, DeleteScorecardOkResponse, DeleteScorecardProps, } from './hooks/useDeleteScorecardMutation';
|
|
19
23
|
export { deleteScorecard, useDeleteScorecardMutation } from './hooks/useDeleteScorecardMutation';
|
|
24
|
+
export type { GenerateYamlDefErrorResponse, GenerateYamlDefOkResponse, GenerateYamlDefProps, GenerateYamlDefRequestBody, } from './hooks/useGenerateYamlDefMutation';
|
|
25
|
+
export { generateYamlDef, useGenerateYamlDefMutation } from './hooks/useGenerateYamlDefMutation';
|
|
20
26
|
export type { GetAllDatasourcesForAccountErrorResponse, GetAllDatasourcesForAccountOkResponse, GetAllDatasourcesForAccountProps, } from './hooks/useGetAllDatasourcesForAccountQuery';
|
|
21
27
|
export { getAllDatasourcesForAccount, useGetAllDatasourcesForAccountQuery, } from './hooks/useGetAllDatasourcesForAccountQuery';
|
|
22
28
|
export type { GetAllLayoutsErrorResponse, GetAllLayoutsOkResponse, GetAllLayoutsProps, } from './hooks/useGetAllLayoutsQuery';
|
|
23
29
|
export { getAllLayouts, useGetAllLayoutsQuery } from './hooks/useGetAllLayoutsQuery';
|
|
30
|
+
export type { GetAllLayoutsV2ErrorResponse, GetAllLayoutsV2OkResponse, GetAllLayoutsV2Props, } from './hooks/useGetAllLayoutsV2Query';
|
|
31
|
+
export { getAllLayoutsV2, useGetAllLayoutsV2Query } from './hooks/useGetAllLayoutsV2Query';
|
|
24
32
|
export type { GetAllowListErrorResponse, GetAllowListOkResponse, GetAllowListProps, } from './hooks/useGetAllowListQuery';
|
|
25
33
|
export { getAllowList, useGetAllowListQuery } from './hooks/useGetAllowListQuery';
|
|
26
34
|
export type { GetAuthInfoAuthIdErrorResponse, GetAuthInfoAuthIdOkResponse, GetAuthInfoAuthIdProps, GetAuthInfoAuthIdQueryPathParams, } from './hooks/useGetAuthInfoAuthIdQuery';
|
|
@@ -55,6 +63,8 @@ export type { GetLayoutErrorResponse, GetLayoutOkResponse, GetLayoutProps, GetLa
|
|
|
55
63
|
export { getLayout, useGetLayoutQuery } from './hooks/useGetLayoutQuery';
|
|
56
64
|
export type { GetMergedPluginsConfigErrorResponse, GetMergedPluginsConfigOkResponse, GetMergedPluginsConfigProps, } from './hooks/useGetMergedPluginsConfigQuery';
|
|
57
65
|
export { getMergedPluginsConfig, useGetMergedPluginsConfigQuery, } from './hooks/useGetMergedPluginsConfigQuery';
|
|
66
|
+
export type { GetOnboardingStatusErrorResponse, GetOnboardingStatusOkResponse, GetOnboardingStatusProps, } from './hooks/useGetOnboardingStatusQuery';
|
|
67
|
+
export { getOnboardingStatus, useGetOnboardingStatusQuery, } from './hooks/useGetOnboardingStatusQuery';
|
|
58
68
|
export type { GetPluginsInfoPluginIdErrorResponse, GetPluginsInfoPluginIdOkResponse, GetPluginsInfoPluginIdProps, GetPluginsInfoPluginIdQueryPathParams, GetPluginsInfoPluginIdQueryQueryParams, } from './hooks/useGetPluginsInfoPluginIdQuery';
|
|
59
69
|
export { getPluginsInfoPluginId, useGetPluginsInfoPluginIdQuery, } from './hooks/useGetPluginsInfoPluginIdQuery';
|
|
60
70
|
export type { GetPluginsErrorResponse, GetPluginsOkResponse, GetPluginsProps, } from './hooks/useGetPluginsQuery';
|
|
@@ -69,12 +79,16 @@ export type { GetStatusInfoByTypeErrorResponse, GetStatusInfoByTypeOkResponse, G
|
|
|
69
79
|
export { getStatusInfoByType, useGetStatusInfoByTypeQuery, } from './hooks/useGetStatusInfoByTypeQuery';
|
|
70
80
|
export type { GetStatusInfoTypeV2ErrorResponse, GetStatusInfoTypeV2OkResponse, GetStatusInfoTypeV2Props, GetStatusInfoTypeV2QueryPathParams, } from './hooks/useGetStatusInfoTypeV2Query';
|
|
71
81
|
export { getStatusInfoTypeV2, useGetStatusInfoTypeV2Query, } from './hooks/useGetStatusInfoTypeV2Query';
|
|
82
|
+
export type { ImportCdEntitiesErrorResponse, ImportCdEntitiesOkResponse, ImportCdEntitiesProps, ImportCdEntitiesRequestBody, } from './hooks/useImportCdEntitiesMutation';
|
|
83
|
+
export { importCdEntities, useImportCdEntitiesMutation } from './hooks/useImportCdEntitiesMutation';
|
|
72
84
|
export type { ImportHarnessEntitiesErrorResponse, ImportHarnessEntitiesOkResponse, ImportHarnessEntitiesProps, ImportHarnessEntitiesRequestBody, } from './hooks/useImportHarnessEntitiesMutation';
|
|
73
85
|
export { importHarnessEntities, useImportHarnessEntitiesMutation, } from './hooks/useImportHarnessEntitiesMutation';
|
|
74
86
|
export type { LayoutIngestErrorResponse, LayoutIngestOkResponse, LayoutIngestProps, LayoutIngestRequestBody, } from './hooks/useLayoutIngestMutation';
|
|
75
87
|
export { layoutIngest, useLayoutIngestMutation } from './hooks/useLayoutIngestMutation';
|
|
76
88
|
export type { OnboardingGenerateYamlErrorResponse, OnboardingGenerateYamlOkResponse, OnboardingGenerateYamlProps, OnboardingGenerateYamlRequestBody, } from './hooks/useOnboardingGenerateYamlMutation';
|
|
77
89
|
export { onboardingGenerateYaml, useOnboardingGenerateYamlMutation, } from './hooks/useOnboardingGenerateYamlMutation';
|
|
90
|
+
export type { PostOnboardingSkipErrorResponse, PostOnboardingSkipOkResponse, PostOnboardingSkipProps, PostOnboardingSkipRequestBody, } from './hooks/usePostOnboardingSkipMutation';
|
|
91
|
+
export { postOnboardingSkip, usePostOnboardingSkipMutation, } from './hooks/usePostOnboardingSkipMutation';
|
|
78
92
|
export type { PostPluginRequestErrorResponse, PostPluginRequestOkResponse, PostPluginRequestProps, PostPluginRequestRequestBody, } from './hooks/usePostPluginRequestMutation';
|
|
79
93
|
export { postPluginRequest, usePostPluginRequestMutation, } from './hooks/usePostPluginRequestMutation';
|
|
80
94
|
export type { SaveAllowListErrorResponse, SaveAllowListOkResponse, SaveAllowListProps, SaveAllowListRequestBody, } from './hooks/useSaveAllowListMutation';
|
|
@@ -113,6 +127,10 @@ export type { CustomPluginInfoRequestRequestBody } from './requestBodies/CustomP
|
|
|
113
127
|
export type { GenerateYamlRequestRequestBody } from './requestBodies/GenerateYamlRequestRequestBody';
|
|
114
128
|
export type { ImportHarnessEntitiesRequestRequestBody } from './requestBodies/ImportHarnessEntitiesRequestRequestBody';
|
|
115
129
|
export type { IntegrationRequestRequestBody } from './requestBodies/IntegrationRequestRequestBody';
|
|
130
|
+
export type { OnboardingCdEntitiesFetchRequestRequestBody } from './requestBodies/OnboardingCdEntitiesFetchRequestRequestBody';
|
|
131
|
+
export type { OnboardingGenerateYamlDefRequestRequestBody } from './requestBodies/OnboardingGenerateYamlDefRequestRequestBody';
|
|
132
|
+
export type { OnboardingImportCdEntitiesRequestRequestBody } from './requestBodies/OnboardingImportCdEntitiesRequestRequestBody';
|
|
133
|
+
export type { OnboardingSkipRequestRequestBody } from './requestBodies/OnboardingSkipRequestRequestBody';
|
|
116
134
|
export type { RequestPluginRequestRequestBody } from './requestBodies/RequestPluginRequestRequestBody';
|
|
117
135
|
export type { ScorecardRecalibrateRequestRequestBody } from './requestBodies/ScorecardRecalibrateRequestRequestBody';
|
|
118
136
|
export type { AllowListResponseResponse } from './responses/AllowListResponseResponse';
|
|
@@ -140,6 +158,12 @@ export type { IntegrationResponseListResponse } from './responses/IntegrationRes
|
|
|
140
158
|
export type { IntegrationResponseResponse } from './responses/IntegrationResponseResponse';
|
|
141
159
|
export type { LayoutResponseResponse } from './responses/LayoutResponseResponse';
|
|
142
160
|
export type { MergedPluginConfigResponseResponse } from './responses/MergedPluginConfigResponseResponse';
|
|
161
|
+
export type { OnboardingCdEntitiesCountResponseResponse } from './responses/OnboardingCdEntitiesCountResponseResponse';
|
|
162
|
+
export type { OnboardingCdEntitiesFetchResponseResponse } from './responses/OnboardingCdEntitiesFetchResponseResponse';
|
|
163
|
+
export type { OnboardingGenerateYamlDefResponseResponse } from './responses/OnboardingGenerateYamlDefResponseResponse';
|
|
164
|
+
export type { OnboardingImportCdEntitiesResponseResponse } from './responses/OnboardingImportCdEntitiesResponseResponse';
|
|
165
|
+
export type { OnboardingSkipResponseResponse } from './responses/OnboardingSkipResponseResponse';
|
|
166
|
+
export type { OnboardingStatusResponseResponse } from './responses/OnboardingStatusResponseResponse';
|
|
143
167
|
export type { PluginDetailedInfoResponseResponse } from './responses/PluginDetailedInfoResponseResponse';
|
|
144
168
|
export type { PluginInfoResponseListResponse } from './responses/PluginInfoResponseListResponse';
|
|
145
169
|
export type { ScorecardDetailsResponseResponse } from './responses/ScorecardDetailsResponseResponse';
|
|
@@ -198,6 +222,7 @@ export type { Exports } from './schemas/Exports';
|
|
|
198
222
|
export type { Facets } from './schemas/Facets';
|
|
199
223
|
export type { GenerateYamlRequest } from './schemas/GenerateYamlRequest';
|
|
200
224
|
export type { GenerateYamlResponse } from './schemas/GenerateYamlResponse';
|
|
225
|
+
export type { GitIntegrationRequest } from './schemas/GitIntegrationRequest';
|
|
201
226
|
export type { HarnessBackstageEntities } from './schemas/HarnessBackstageEntities';
|
|
202
227
|
export type { HarnessEntitiesCountResponse } from './schemas/HarnessEntitiesCountResponse';
|
|
203
228
|
export type { HarnessEntitiesResponse } from './schemas/HarnessEntitiesResponse';
|
|
@@ -211,12 +236,23 @@ export type { LayoutRequest } from './schemas/LayoutRequest';
|
|
|
211
236
|
export type { LayoutResponse } from './schemas/LayoutResponse';
|
|
212
237
|
export type { MergedPluginConfigResponse } from './schemas/MergedPluginConfigResponse';
|
|
213
238
|
export type { MergedPluginConfigs } from './schemas/MergedPluginConfigs';
|
|
239
|
+
export type { OnboardingCdEntitiesCountResponse } from './schemas/OnboardingCdEntitiesCountResponse';
|
|
240
|
+
export type { OnboardingCdEntitiesFetchRequest } from './schemas/OnboardingCdEntitiesFetchRequest';
|
|
241
|
+
export type { OnboardingCdEntitiesFetchResponse } from './schemas/OnboardingCdEntitiesFetchResponse';
|
|
242
|
+
export type { OnboardingGenerateYamlDefRequest } from './schemas/OnboardingGenerateYamlDefRequest';
|
|
243
|
+
export type { OnboardingGenerateYamlDefResponse } from './schemas/OnboardingGenerateYamlDefResponse';
|
|
244
|
+
export type { OnboardingImportCdEntitiesRequest } from './schemas/OnboardingImportCdEntitiesRequest';
|
|
245
|
+
export type { OnboardingImportCdEntitiesResponse } from './schemas/OnboardingImportCdEntitiesResponse';
|
|
246
|
+
export type { OnboardingSkipRequest } from './schemas/OnboardingSkipRequest';
|
|
247
|
+
export type { OnboardingSkipResponse } from './schemas/OnboardingSkipResponse';
|
|
248
|
+
export type { OnboardingStatusResponse } from './schemas/OnboardingStatusResponse';
|
|
214
249
|
export type { PluginDetailedInfo } from './schemas/PluginDetailedInfo';
|
|
215
250
|
export type { PluginDetailedInfoResponse } from './schemas/PluginDetailedInfoResponse';
|
|
216
251
|
export type { PluginDetails } from './schemas/PluginDetails';
|
|
217
252
|
export type { PluginInfo } from './schemas/PluginInfo';
|
|
218
253
|
export type { PluginInfoResponse } from './schemas/PluginInfoResponse';
|
|
219
254
|
export type { ProxyHostDetail } from './schemas/ProxyHostDetail';
|
|
255
|
+
export type { ReadValidationDetails } from './schemas/ReadValidationDetails';
|
|
220
256
|
export type { RequestPlugin } from './schemas/RequestPlugin';
|
|
221
257
|
export type { Rule } from './schemas/Rule';
|
|
222
258
|
export type { Scorecard } from './schemas/Scorecard';
|
|
@@ -238,3 +274,4 @@ export type { StatusInfo } from './schemas/StatusInfo';
|
|
|
238
274
|
export type { StatusInfoResponse } from './schemas/StatusInfoResponse';
|
|
239
275
|
export type { StatusInfoV2 } from './schemas/StatusInfoV2';
|
|
240
276
|
export type { User } from './schemas/User';
|
|
277
|
+
export type { WriteValidationDetails } from './schemas/WriteValidationDetails';
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
export { cdEntitiesCount, useCdEntitiesCountQuery } from './hooks/useCdEntitiesCountQuery';
|
|
2
|
+
export { cdEntitiesFetch, useCdEntitiesFetchMutation } from './hooks/useCdEntitiesFetchMutation';
|
|
1
3
|
export { createBackstageEnvVariables, useCreateBackstageEnvVariablesMutation, } from './hooks/useCreateBackstageEnvVariablesMutation';
|
|
2
4
|
export { createBackstagePermissions, useCreateBackstagePermissionsMutation, } from './hooks/useCreateBackstagePermissionsMutation';
|
|
3
5
|
export { createCheck, useCreateCheckMutation } from './hooks/useCreateCheckMutation';
|
|
@@ -7,8 +9,10 @@ export { createScorecard, useCreateScorecardMutation } from './hooks/useCreateSc
|
|
|
7
9
|
export { deleteCheck, useDeleteCheckMutation } from './hooks/useDeleteCheckMutation';
|
|
8
10
|
export { deleteCustomPluginInfo, useDeleteCustomPluginInfoMutation, } from './hooks/useDeleteCustomPluginInfoMutation';
|
|
9
11
|
export { deleteScorecard, useDeleteScorecardMutation } from './hooks/useDeleteScorecardMutation';
|
|
12
|
+
export { generateYamlDef, useGenerateYamlDefMutation } from './hooks/useGenerateYamlDefMutation';
|
|
10
13
|
export { getAllDatasourcesForAccount, useGetAllDatasourcesForAccountQuery, } from './hooks/useGetAllDatasourcesForAccountQuery';
|
|
11
14
|
export { getAllLayouts, useGetAllLayoutsQuery } from './hooks/useGetAllLayoutsQuery';
|
|
15
|
+
export { getAllLayoutsV2, useGetAllLayoutsV2Query } from './hooks/useGetAllLayoutsV2Query';
|
|
12
16
|
export { getAllowList, useGetAllowListQuery } from './hooks/useGetAllowListQuery';
|
|
13
17
|
export { getAuthInfoAuthId, useGetAuthInfoAuthIdQuery } from './hooks/useGetAuthInfoAuthIdQuery';
|
|
14
18
|
export { getBackstagePermissions, useGetBackstagePermissionsQuery, } from './hooks/useGetBackstagePermissionsQuery';
|
|
@@ -26,6 +30,7 @@ export { getIntegration, useGetIntegrationQuery } from './hooks/useGetIntegratio
|
|
|
26
30
|
export { getIntegrations, useGetIntegrationsQuery } from './hooks/useGetIntegrationsQuery';
|
|
27
31
|
export { getLayout, useGetLayoutQuery } from './hooks/useGetLayoutQuery';
|
|
28
32
|
export { getMergedPluginsConfig, useGetMergedPluginsConfigQuery, } from './hooks/useGetMergedPluginsConfigQuery';
|
|
33
|
+
export { getOnboardingStatus, useGetOnboardingStatusQuery, } from './hooks/useGetOnboardingStatusQuery';
|
|
29
34
|
export { getPluginsInfoPluginId, useGetPluginsInfoPluginIdQuery, } from './hooks/useGetPluginsInfoPluginIdQuery';
|
|
30
35
|
export { getPlugins, useGetPluginsQuery } from './hooks/useGetPluginsQuery';
|
|
31
36
|
export { getScorecard, useGetScorecardQuery } from './hooks/useGetScorecardQuery';
|
|
@@ -33,9 +38,11 @@ export { getScorecardStats, useGetScorecardStatsQuery } from './hooks/useGetScor
|
|
|
33
38
|
export { getScorecards, useGetScorecardsQuery } from './hooks/useGetScorecardsQuery';
|
|
34
39
|
export { getStatusInfoByType, useGetStatusInfoByTypeQuery, } from './hooks/useGetStatusInfoByTypeQuery';
|
|
35
40
|
export { getStatusInfoTypeV2, useGetStatusInfoTypeV2Query, } from './hooks/useGetStatusInfoTypeV2Query';
|
|
41
|
+
export { importCdEntities, useImportCdEntitiesMutation } from './hooks/useImportCdEntitiesMutation';
|
|
36
42
|
export { importHarnessEntities, useImportHarnessEntitiesMutation, } from './hooks/useImportHarnessEntitiesMutation';
|
|
37
43
|
export { layoutIngest, useLayoutIngestMutation } from './hooks/useLayoutIngestMutation';
|
|
38
44
|
export { onboardingGenerateYaml, useOnboardingGenerateYamlMutation, } from './hooks/useOnboardingGenerateYamlMutation';
|
|
45
|
+
export { postOnboardingSkip, usePostOnboardingSkipMutation, } from './hooks/usePostOnboardingSkipMutation';
|
|
39
46
|
export { postPluginRequest, usePostPluginRequestMutation, } from './hooks/usePostPluginRequestMutation';
|
|
40
47
|
export { saveAllowList, useSaveAllowListMutation } from './hooks/useSaveAllowListMutation';
|
|
41
48
|
export { saveAuthInfoAuthId, useSaveAuthInfoAuthIdMutation, } from './hooks/useSaveAuthInfoAuthIdMutation';
|
package/dist/idp-service/src/services/requestBodies/OnboardingCdEntitiesFetchRequestRequestBody.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/dist/idp-service/src/services/requestBodies/OnboardingGenerateYamlDefRequestRequestBody.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/dist/idp-service/src/services/requestBodies/OnboardingImportCdEntitiesRequestRequestBody.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { ReadValidationDetails } from '../schemas/ReadValidationDetails';
|
|
2
|
+
import type { WriteValidationDetails } from '../schemas/WriteValidationDetails';
|
|
3
|
+
import type { BaseIntegrationRequest } from '../schemas/BaseIntegrationRequest';
|
|
4
|
+
export interface GitIntegrationRequest extends BaseIntegrationRequest {
|
|
5
|
+
connector_identifier: string;
|
|
6
|
+
read_validation_details?: ReadValidationDetails;
|
|
7
|
+
type: 'git';
|
|
8
|
+
write_validation_details?: WriteValidationDetails;
|
|
9
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export interface OnboardingCdEntitiesFetchResponse {
|
|
2
|
+
cd_entities_as_idp_entities: Array<{
|
|
3
|
+
harness_absolute_identifier: string;
|
|
4
|
+
harness_type: string;
|
|
5
|
+
name: string;
|
|
6
|
+
owner: string;
|
|
7
|
+
system: string;
|
|
8
|
+
type: string;
|
|
9
|
+
}>;
|
|
10
|
+
organizations_count: number;
|
|
11
|
+
projects_count: number;
|
|
12
|
+
services_count: number;
|
|
13
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|