@harnessio/react-idp-service-client 0.49.4 → 0.49.6
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/useCreateIntegrationMutation.d.ts +1 -1
- 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/useGetIntegrationQuery.d.ts +1 -1
- package/dist/idp-service/src/services/hooks/useGetIntegrationsQuery.d.ts +1 -1
- 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/hooks/useUpdateIntegrationMutation.d.ts +1 -1
- package/dist/idp-service/src/services/index.d.ts +35 -0
- package/dist/idp-service/src/services/index.js +6 -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
|
+
}
|
|
@@ -4,7 +4,7 @@ import type { IntegrationRequestRequestBody } from '../requestBodies/Integration
|
|
|
4
4
|
import type { ResponseWithPagination } from '../helpers';
|
|
5
5
|
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
6
6
|
export interface CreateIntegrationMutationPathParams {
|
|
7
|
-
integration: '
|
|
7
|
+
integration: 'git';
|
|
8
8
|
}
|
|
9
9
|
export interface CreateIntegrationMutationQueryParams {
|
|
10
10
|
dry_run?: boolean;
|
|
@@ -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
|
+
}
|
|
@@ -3,7 +3,7 @@ import type { IntegrationResponseResponse } from '../responses/IntegrationRespon
|
|
|
3
3
|
import type { ResponseWithPagination } from '../helpers';
|
|
4
4
|
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
5
5
|
export interface GetIntegrationQueryPathParams {
|
|
6
|
-
integration: '
|
|
6
|
+
integration: 'git';
|
|
7
7
|
'integration-id': string;
|
|
8
8
|
}
|
|
9
9
|
export interface GetIntegrationQueryHeaderParams {
|
|
@@ -3,7 +3,7 @@ import type { IntegrationResponseListResponse } from '../responses/IntegrationRe
|
|
|
3
3
|
import type { ResponseWithPagination } from '../helpers';
|
|
4
4
|
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
5
5
|
export interface GetIntegrationsQueryPathParams {
|
|
6
|
-
integration: '
|
|
6
|
+
integration: 'git';
|
|
7
7
|
}
|
|
8
8
|
export interface GetIntegrationsQueryQueryParams {
|
|
9
9
|
page?: number;
|
|
@@ -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
|
+
}
|
|
@@ -4,7 +4,7 @@ import type { IntegrationRequestRequestBody } from '../requestBodies/Integration
|
|
|
4
4
|
import type { ResponseWithPagination } from '../helpers';
|
|
5
5
|
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
6
6
|
export interface UpdateIntegrationMutationPathParams {
|
|
7
|
-
integration: '
|
|
7
|
+
integration: 'git';
|
|
8
8
|
'integration-id': string;
|
|
9
9
|
}
|
|
10
10
|
export interface UpdateIntegrationMutationQueryParams {
|
|
@@ -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,6 +21,8 @@ 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';
|
|
@@ -55,6 +61,8 @@ export type { GetLayoutErrorResponse, GetLayoutOkResponse, GetLayoutProps, GetLa
|
|
|
55
61
|
export { getLayout, useGetLayoutQuery } from './hooks/useGetLayoutQuery';
|
|
56
62
|
export type { GetMergedPluginsConfigErrorResponse, GetMergedPluginsConfigOkResponse, GetMergedPluginsConfigProps, } from './hooks/useGetMergedPluginsConfigQuery';
|
|
57
63
|
export { getMergedPluginsConfig, useGetMergedPluginsConfigQuery, } from './hooks/useGetMergedPluginsConfigQuery';
|
|
64
|
+
export type { GetOnboardingStatusErrorResponse, GetOnboardingStatusOkResponse, GetOnboardingStatusProps, } from './hooks/useGetOnboardingStatusQuery';
|
|
65
|
+
export { getOnboardingStatus, useGetOnboardingStatusQuery, } from './hooks/useGetOnboardingStatusQuery';
|
|
58
66
|
export type { GetPluginsInfoPluginIdErrorResponse, GetPluginsInfoPluginIdOkResponse, GetPluginsInfoPluginIdProps, GetPluginsInfoPluginIdQueryPathParams, GetPluginsInfoPluginIdQueryQueryParams, } from './hooks/useGetPluginsInfoPluginIdQuery';
|
|
59
67
|
export { getPluginsInfoPluginId, useGetPluginsInfoPluginIdQuery, } from './hooks/useGetPluginsInfoPluginIdQuery';
|
|
60
68
|
export type { GetPluginsErrorResponse, GetPluginsOkResponse, GetPluginsProps, } from './hooks/useGetPluginsQuery';
|
|
@@ -69,12 +77,16 @@ export type { GetStatusInfoByTypeErrorResponse, GetStatusInfoByTypeOkResponse, G
|
|
|
69
77
|
export { getStatusInfoByType, useGetStatusInfoByTypeQuery, } from './hooks/useGetStatusInfoByTypeQuery';
|
|
70
78
|
export type { GetStatusInfoTypeV2ErrorResponse, GetStatusInfoTypeV2OkResponse, GetStatusInfoTypeV2Props, GetStatusInfoTypeV2QueryPathParams, } from './hooks/useGetStatusInfoTypeV2Query';
|
|
71
79
|
export { getStatusInfoTypeV2, useGetStatusInfoTypeV2Query, } from './hooks/useGetStatusInfoTypeV2Query';
|
|
80
|
+
export type { ImportCdEntitiesErrorResponse, ImportCdEntitiesOkResponse, ImportCdEntitiesProps, ImportCdEntitiesRequestBody, } from './hooks/useImportCdEntitiesMutation';
|
|
81
|
+
export { importCdEntities, useImportCdEntitiesMutation } from './hooks/useImportCdEntitiesMutation';
|
|
72
82
|
export type { ImportHarnessEntitiesErrorResponse, ImportHarnessEntitiesOkResponse, ImportHarnessEntitiesProps, ImportHarnessEntitiesRequestBody, } from './hooks/useImportHarnessEntitiesMutation';
|
|
73
83
|
export { importHarnessEntities, useImportHarnessEntitiesMutation, } from './hooks/useImportHarnessEntitiesMutation';
|
|
74
84
|
export type { LayoutIngestErrorResponse, LayoutIngestOkResponse, LayoutIngestProps, LayoutIngestRequestBody, } from './hooks/useLayoutIngestMutation';
|
|
75
85
|
export { layoutIngest, useLayoutIngestMutation } from './hooks/useLayoutIngestMutation';
|
|
76
86
|
export type { OnboardingGenerateYamlErrorResponse, OnboardingGenerateYamlOkResponse, OnboardingGenerateYamlProps, OnboardingGenerateYamlRequestBody, } from './hooks/useOnboardingGenerateYamlMutation';
|
|
77
87
|
export { onboardingGenerateYaml, useOnboardingGenerateYamlMutation, } from './hooks/useOnboardingGenerateYamlMutation';
|
|
88
|
+
export type { PostOnboardingSkipErrorResponse, PostOnboardingSkipOkResponse, PostOnboardingSkipProps, PostOnboardingSkipRequestBody, } from './hooks/usePostOnboardingSkipMutation';
|
|
89
|
+
export { postOnboardingSkip, usePostOnboardingSkipMutation, } from './hooks/usePostOnboardingSkipMutation';
|
|
78
90
|
export type { PostPluginRequestErrorResponse, PostPluginRequestOkResponse, PostPluginRequestProps, PostPluginRequestRequestBody, } from './hooks/usePostPluginRequestMutation';
|
|
79
91
|
export { postPluginRequest, usePostPluginRequestMutation, } from './hooks/usePostPluginRequestMutation';
|
|
80
92
|
export type { SaveAllowListErrorResponse, SaveAllowListOkResponse, SaveAllowListProps, SaveAllowListRequestBody, } from './hooks/useSaveAllowListMutation';
|
|
@@ -113,6 +125,10 @@ export type { CustomPluginInfoRequestRequestBody } from './requestBodies/CustomP
|
|
|
113
125
|
export type { GenerateYamlRequestRequestBody } from './requestBodies/GenerateYamlRequestRequestBody';
|
|
114
126
|
export type { ImportHarnessEntitiesRequestRequestBody } from './requestBodies/ImportHarnessEntitiesRequestRequestBody';
|
|
115
127
|
export type { IntegrationRequestRequestBody } from './requestBodies/IntegrationRequestRequestBody';
|
|
128
|
+
export type { OnboardingCdEntitiesFetchRequestRequestBody } from './requestBodies/OnboardingCdEntitiesFetchRequestRequestBody';
|
|
129
|
+
export type { OnboardingGenerateYamlDefRequestRequestBody } from './requestBodies/OnboardingGenerateYamlDefRequestRequestBody';
|
|
130
|
+
export type { OnboardingImportCdEntitiesRequestRequestBody } from './requestBodies/OnboardingImportCdEntitiesRequestRequestBody';
|
|
131
|
+
export type { OnboardingSkipRequestRequestBody } from './requestBodies/OnboardingSkipRequestRequestBody';
|
|
116
132
|
export type { RequestPluginRequestRequestBody } from './requestBodies/RequestPluginRequestRequestBody';
|
|
117
133
|
export type { ScorecardRecalibrateRequestRequestBody } from './requestBodies/ScorecardRecalibrateRequestRequestBody';
|
|
118
134
|
export type { AllowListResponseResponse } from './responses/AllowListResponseResponse';
|
|
@@ -140,6 +156,12 @@ export type { IntegrationResponseListResponse } from './responses/IntegrationRes
|
|
|
140
156
|
export type { IntegrationResponseResponse } from './responses/IntegrationResponseResponse';
|
|
141
157
|
export type { LayoutResponseResponse } from './responses/LayoutResponseResponse';
|
|
142
158
|
export type { MergedPluginConfigResponseResponse } from './responses/MergedPluginConfigResponseResponse';
|
|
159
|
+
export type { OnboardingCdEntitiesCountResponseResponse } from './responses/OnboardingCdEntitiesCountResponseResponse';
|
|
160
|
+
export type { OnboardingCdEntitiesFetchResponseResponse } from './responses/OnboardingCdEntitiesFetchResponseResponse';
|
|
161
|
+
export type { OnboardingGenerateYamlDefResponseResponse } from './responses/OnboardingGenerateYamlDefResponseResponse';
|
|
162
|
+
export type { OnboardingImportCdEntitiesResponseResponse } from './responses/OnboardingImportCdEntitiesResponseResponse';
|
|
163
|
+
export type { OnboardingSkipResponseResponse } from './responses/OnboardingSkipResponseResponse';
|
|
164
|
+
export type { OnboardingStatusResponseResponse } from './responses/OnboardingStatusResponseResponse';
|
|
143
165
|
export type { PluginDetailedInfoResponseResponse } from './responses/PluginDetailedInfoResponseResponse';
|
|
144
166
|
export type { PluginInfoResponseListResponse } from './responses/PluginInfoResponseListResponse';
|
|
145
167
|
export type { ScorecardDetailsResponseResponse } from './responses/ScorecardDetailsResponseResponse';
|
|
@@ -198,6 +220,7 @@ export type { Exports } from './schemas/Exports';
|
|
|
198
220
|
export type { Facets } from './schemas/Facets';
|
|
199
221
|
export type { GenerateYamlRequest } from './schemas/GenerateYamlRequest';
|
|
200
222
|
export type { GenerateYamlResponse } from './schemas/GenerateYamlResponse';
|
|
223
|
+
export type { GitIntegrationRequest } from './schemas/GitIntegrationRequest';
|
|
201
224
|
export type { HarnessBackstageEntities } from './schemas/HarnessBackstageEntities';
|
|
202
225
|
export type { HarnessEntitiesCountResponse } from './schemas/HarnessEntitiesCountResponse';
|
|
203
226
|
export type { HarnessEntitiesResponse } from './schemas/HarnessEntitiesResponse';
|
|
@@ -211,12 +234,23 @@ export type { LayoutRequest } from './schemas/LayoutRequest';
|
|
|
211
234
|
export type { LayoutResponse } from './schemas/LayoutResponse';
|
|
212
235
|
export type { MergedPluginConfigResponse } from './schemas/MergedPluginConfigResponse';
|
|
213
236
|
export type { MergedPluginConfigs } from './schemas/MergedPluginConfigs';
|
|
237
|
+
export type { OnboardingCdEntitiesCountResponse } from './schemas/OnboardingCdEntitiesCountResponse';
|
|
238
|
+
export type { OnboardingCdEntitiesFetchRequest } from './schemas/OnboardingCdEntitiesFetchRequest';
|
|
239
|
+
export type { OnboardingCdEntitiesFetchResponse } from './schemas/OnboardingCdEntitiesFetchResponse';
|
|
240
|
+
export type { OnboardingGenerateYamlDefRequest } from './schemas/OnboardingGenerateYamlDefRequest';
|
|
241
|
+
export type { OnboardingGenerateYamlDefResponse } from './schemas/OnboardingGenerateYamlDefResponse';
|
|
242
|
+
export type { OnboardingImportCdEntitiesRequest } from './schemas/OnboardingImportCdEntitiesRequest';
|
|
243
|
+
export type { OnboardingImportCdEntitiesResponse } from './schemas/OnboardingImportCdEntitiesResponse';
|
|
244
|
+
export type { OnboardingSkipRequest } from './schemas/OnboardingSkipRequest';
|
|
245
|
+
export type { OnboardingSkipResponse } from './schemas/OnboardingSkipResponse';
|
|
246
|
+
export type { OnboardingStatusResponse } from './schemas/OnboardingStatusResponse';
|
|
214
247
|
export type { PluginDetailedInfo } from './schemas/PluginDetailedInfo';
|
|
215
248
|
export type { PluginDetailedInfoResponse } from './schemas/PluginDetailedInfoResponse';
|
|
216
249
|
export type { PluginDetails } from './schemas/PluginDetails';
|
|
217
250
|
export type { PluginInfo } from './schemas/PluginInfo';
|
|
218
251
|
export type { PluginInfoResponse } from './schemas/PluginInfoResponse';
|
|
219
252
|
export type { ProxyHostDetail } from './schemas/ProxyHostDetail';
|
|
253
|
+
export type { ReadValidationDetails } from './schemas/ReadValidationDetails';
|
|
220
254
|
export type { RequestPlugin } from './schemas/RequestPlugin';
|
|
221
255
|
export type { Rule } from './schemas/Rule';
|
|
222
256
|
export type { Scorecard } from './schemas/Scorecard';
|
|
@@ -238,3 +272,4 @@ export type { StatusInfo } from './schemas/StatusInfo';
|
|
|
238
272
|
export type { StatusInfoResponse } from './schemas/StatusInfoResponse';
|
|
239
273
|
export type { StatusInfoV2 } from './schemas/StatusInfoV2';
|
|
240
274
|
export type { User } from './schemas/User';
|
|
275
|
+
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,6 +9,7 @@ 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';
|
|
12
15
|
export { getAllowList, useGetAllowListQuery } from './hooks/useGetAllowListQuery';
|
|
@@ -26,6 +29,7 @@ export { getIntegration, useGetIntegrationQuery } from './hooks/useGetIntegratio
|
|
|
26
29
|
export { getIntegrations, useGetIntegrationsQuery } from './hooks/useGetIntegrationsQuery';
|
|
27
30
|
export { getLayout, useGetLayoutQuery } from './hooks/useGetLayoutQuery';
|
|
28
31
|
export { getMergedPluginsConfig, useGetMergedPluginsConfigQuery, } from './hooks/useGetMergedPluginsConfigQuery';
|
|
32
|
+
export { getOnboardingStatus, useGetOnboardingStatusQuery, } from './hooks/useGetOnboardingStatusQuery';
|
|
29
33
|
export { getPluginsInfoPluginId, useGetPluginsInfoPluginIdQuery, } from './hooks/useGetPluginsInfoPluginIdQuery';
|
|
30
34
|
export { getPlugins, useGetPluginsQuery } from './hooks/useGetPluginsQuery';
|
|
31
35
|
export { getScorecard, useGetScorecardQuery } from './hooks/useGetScorecardQuery';
|
|
@@ -33,9 +37,11 @@ export { getScorecardStats, useGetScorecardStatsQuery } from './hooks/useGetScor
|
|
|
33
37
|
export { getScorecards, useGetScorecardsQuery } from './hooks/useGetScorecardsQuery';
|
|
34
38
|
export { getStatusInfoByType, useGetStatusInfoByTypeQuery, } from './hooks/useGetStatusInfoByTypeQuery';
|
|
35
39
|
export { getStatusInfoTypeV2, useGetStatusInfoTypeV2Query, } from './hooks/useGetStatusInfoTypeV2Query';
|
|
40
|
+
export { importCdEntities, useImportCdEntitiesMutation } from './hooks/useImportCdEntitiesMutation';
|
|
36
41
|
export { importHarnessEntities, useImportHarnessEntitiesMutation, } from './hooks/useImportHarnessEntitiesMutation';
|
|
37
42
|
export { layoutIngest, useLayoutIngestMutation } from './hooks/useLayoutIngestMutation';
|
|
38
43
|
export { onboardingGenerateYaml, useOnboardingGenerateYamlMutation, } from './hooks/useOnboardingGenerateYamlMutation';
|
|
44
|
+
export { postOnboardingSkip, usePostOnboardingSkipMutation, } from './hooks/usePostOnboardingSkipMutation';
|
|
39
45
|
export { postPluginRequest, usePostPluginRequestMutation, } from './hooks/usePostPluginRequestMutation';
|
|
40
46
|
export { saveAllowList, useSaveAllowListMutation } from './hooks/useSaveAllowListMutation';
|
|
41
47
|
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 {};
|