@harnessio/react-integration-manager-client 0.8.8 → 0.8.10
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/integration-manager/src/services/hooks/useCountIntegrationConfigsOrgQuery.d.ts +6 -0
- package/dist/integration-manager/src/services/hooks/useCountIntegrationConfigsProjectQuery.d.ts +9 -0
- package/dist/integration-manager/src/services/hooks/useCountIntegrationConfigsQuery.d.ts +3 -0
- package/dist/integration-manager/src/services/hooks/useCreateAirbyteIntegrationConfigMutation.d.ts +5 -2
- package/dist/integration-manager/src/services/hooks/useCreateAirbyteIntegrationConfigOrgMutation.d.ts +9 -3
- package/dist/integration-manager/src/services/hooks/useCreateAirbyteIntegrationConfigOrgMutation.js +1 -1
- package/dist/integration-manager/src/services/hooks/useCreateAirbyteIntegrationConfigProjectMutation.d.ts +12 -3
- package/dist/integration-manager/src/services/hooks/useCreateAirbyteIntegrationConfigProjectMutation.js +1 -1
- package/dist/integration-manager/src/services/hooks/useCreateIntegrationConfigMutation.d.ts +4 -1
- package/dist/integration-manager/src/services/hooks/useCreateIntegrationConfigMutation.js +1 -1
- package/dist/integration-manager/src/services/hooks/useCreateIntegrationConfigOrgMutation.d.ts +7 -1
- package/dist/integration-manager/src/services/hooks/useCreateIntegrationConfigOrgMutation.js +1 -1
- package/dist/integration-manager/src/services/hooks/useCreateIntegrationConfigProjectMutation.d.ts +10 -1
- package/dist/integration-manager/src/services/hooks/useCreateIntegrationConfigProjectMutation.js +1 -1
- package/dist/integration-manager/src/services/hooks/useCreateMetricConfigMutation.d.ts +3 -0
- package/dist/integration-manager/src/services/hooks/useCreateMetricConfigOrgMutation.d.ts +6 -0
- package/dist/integration-manager/src/services/hooks/useCreateMetricConfigProjectMutation.d.ts +9 -0
- package/dist/integration-manager/src/services/hooks/useDeleteIntegrationConfigMutation.d.ts +4 -1
- package/dist/integration-manager/src/services/hooks/useDeleteIntegrationConfigMutation.js +1 -1
- package/dist/integration-manager/src/services/hooks/useDeleteIntegrationConfigOrgMutation.d.ts +7 -1
- package/dist/integration-manager/src/services/hooks/useDeleteIntegrationConfigOrgMutation.js +1 -1
- package/dist/integration-manager/src/services/hooks/useDeleteIntegrationConfigProjectMutation.d.ts +10 -1
- package/dist/integration-manager/src/services/hooks/useDeleteIntegrationConfigProjectMutation.js +1 -1
- package/dist/integration-manager/src/services/hooks/useDeleteMetricConfigMutation.d.ts +3 -0
- package/dist/integration-manager/src/services/hooks/useDeleteMetricConfigOrgMutation.d.ts +6 -0
- package/dist/integration-manager/src/services/hooks/useDeleteMetricConfigProjectMutation.d.ts +9 -0
- package/dist/integration-manager/src/services/hooks/useDeleteSettingMutation.d.ts +3 -0
- package/dist/integration-manager/src/services/hooks/useDeleteSettingOrgMutation.d.ts +6 -0
- package/dist/integration-manager/src/services/hooks/useDeleteSettingProjectMutation.d.ts +9 -0
- package/dist/integration-manager/src/services/hooks/useFetchAirbyteConnectorCatalogMutation.d.ts +3 -0
- package/dist/integration-manager/src/services/hooks/useGetAirbyteConnectorCatalogQuery.d.ts +3 -0
- package/dist/integration-manager/src/services/hooks/useGetAirbyteIntegrationConfigOrgQuery.d.ts +9 -3
- package/dist/integration-manager/src/services/hooks/useGetAirbyteIntegrationConfigOrgQuery.js +1 -1
- package/dist/integration-manager/src/services/hooks/useGetAirbyteIntegrationConfigProjectQuery.d.ts +12 -3
- package/dist/integration-manager/src/services/hooks/useGetAirbyteIntegrationConfigProjectQuery.js +1 -1
- package/dist/integration-manager/src/services/hooks/useGetAirbyteIntegrationConfigQuery.d.ts +5 -2
- package/dist/integration-manager/src/services/hooks/useGetCustomEntitiesFieldValuesMutation.d.ts +3 -0
- package/dist/integration-manager/src/services/hooks/useGetCustomEntitiesFieldValuesOrgMutation.d.ts +6 -0
- package/dist/integration-manager/src/services/hooks/useGetCustomEntitiesFieldValuesProjectMutation.d.ts +9 -0
- package/dist/integration-manager/src/services/hooks/useGetCustomEntitiesMutation.d.ts +3 -0
- package/dist/integration-manager/src/services/hooks/useGetCustomEntitiesOrgMutation.d.ts +6 -0
- package/dist/integration-manager/src/services/hooks/useGetCustomEntitiesProjectMutation.d.ts +9 -0
- package/dist/integration-manager/src/services/hooks/useGetCustomEntitiesTypeMutation.d.ts +3 -0
- package/dist/integration-manager/src/services/hooks/useGetCustomEntitiesTypeOrgMutation.d.ts +6 -0
- package/dist/integration-manager/src/services/hooks/useGetCustomEntitiesTypeProjectMutation.d.ts +9 -0
- package/dist/integration-manager/src/services/hooks/useGetEntitiesMutation.d.ts +3 -0
- package/dist/integration-manager/src/services/hooks/useGetEntitiesOrgMutation.d.ts +6 -0
- package/dist/integration-manager/src/services/hooks/useGetEntitiesProjectMutation.d.ts +9 -0
- package/dist/integration-manager/src/services/hooks/useGetEntityInputSchemaQuery.d.ts +3 -0
- package/dist/integration-manager/src/services/hooks/useGetIntegrationConfigOrgQuery.d.ts +6 -0
- package/dist/integration-manager/src/services/hooks/useGetIntegrationConfigProjectQuery.d.ts +9 -0
- package/dist/integration-manager/src/services/hooks/useGetIntegrationConfigQuery.d.ts +3 -0
- package/dist/integration-manager/src/services/hooks/useGetMetricConfigOrgQuery.d.ts +6 -0
- package/dist/integration-manager/src/services/hooks/useGetMetricConfigProjectQuery.d.ts +9 -0
- package/dist/integration-manager/src/services/hooks/useGetMetricConfigQuery.d.ts +3 -0
- package/dist/integration-manager/src/services/hooks/useGetMetricTimeseriesOrgQuery.d.ts +6 -0
- package/dist/integration-manager/src/services/hooks/useGetMetricTimeseriesProjectQuery.d.ts +9 -0
- package/dist/integration-manager/src/services/hooks/useGetMetricTimeseriesQuery.d.ts +3 -0
- package/dist/integration-manager/src/services/hooks/useGetSampleRecordsQuery.d.ts +3 -0
- package/dist/integration-manager/src/services/hooks/useListDefaultMappingFieldsQuery.d.ts +3 -0
- package/dist/integration-manager/src/services/hooks/useListDefaultSchemasQuery.d.ts +3 -0
- package/dist/integration-manager/src/services/hooks/useListIntegrationConfigsOrgQuery.d.ts +7 -1
- package/dist/integration-manager/src/services/hooks/useListIntegrationConfigsOrgQuery.js +1 -1
- package/dist/integration-manager/src/services/hooks/useListIntegrationConfigsProjectQuery.d.ts +10 -1
- package/dist/integration-manager/src/services/hooks/useListIntegrationConfigsProjectQuery.js +1 -1
- package/dist/integration-manager/src/services/hooks/useListIntegrationConfigsQuery.d.ts +4 -1
- package/dist/integration-manager/src/services/hooks/useListIntegrationConfigsQuery.js +1 -1
- package/dist/integration-manager/src/services/hooks/useListIntegrationEventsOrgQuery.d.ts +6 -0
- package/dist/integration-manager/src/services/hooks/useListIntegrationEventsProjectQuery.d.ts +9 -0
- package/dist/integration-manager/src/services/hooks/useListIntegrationEventsQuery.d.ts +3 -0
- package/dist/integration-manager/src/services/hooks/useListMetricConfigsOrgQuery.d.ts +6 -0
- package/dist/integration-manager/src/services/hooks/useListMetricConfigsProjectQuery.d.ts +9 -0
- package/dist/integration-manager/src/services/hooks/useListMetricConfigsQuery.d.ts +3 -0
- package/dist/integration-manager/src/services/hooks/useListSettingsOrgQuery.d.ts +6 -0
- package/dist/integration-manager/src/services/hooks/useListSettingsProjectQuery.d.ts +9 -0
- package/dist/integration-manager/src/services/hooks/useListSettingsQuery.d.ts +3 -0
- package/dist/integration-manager/src/services/hooks/useSyncNowMutation.d.ts +4 -1
- package/dist/integration-manager/src/services/hooks/useSyncNowMutation.js +1 -1
- package/dist/integration-manager/src/services/hooks/useSyncNowOrgMutation.d.ts +7 -1
- package/dist/integration-manager/src/services/hooks/useSyncNowOrgMutation.js +1 -1
- package/dist/integration-manager/src/services/hooks/useSyncNowProjectMutation.d.ts +10 -1
- package/dist/integration-manager/src/services/hooks/useSyncNowProjectMutation.js +1 -1
- package/dist/integration-manager/src/services/hooks/useTriggerSyncMutation.d.ts +3 -0
- package/dist/integration-manager/src/services/hooks/useTriggerSyncOrgMutation.d.ts +7 -1
- package/dist/integration-manager/src/services/hooks/useTriggerSyncOrgMutation.js +1 -1
- package/dist/integration-manager/src/services/hooks/useTriggerSyncProjectMutation.d.ts +10 -1
- package/dist/integration-manager/src/services/hooks/useTriggerSyncProjectMutation.js +1 -1
- package/dist/integration-manager/src/services/hooks/useUpdateAirbyteIntegrationConfigMutation.d.ts +6 -3
- package/dist/integration-manager/src/services/hooks/useUpdateAirbyteIntegrationConfigMutation.js +1 -1
- package/dist/integration-manager/src/services/hooks/useUpdateAirbyteIntegrationConfigOrgMutation.d.ts +9 -3
- package/dist/integration-manager/src/services/hooks/useUpdateAirbyteIntegrationConfigOrgMutation.js +1 -1
- package/dist/integration-manager/src/services/hooks/useUpdateAirbyteIntegrationConfigProjectMutation.d.ts +12 -3
- package/dist/integration-manager/src/services/hooks/useUpdateAirbyteIntegrationConfigProjectMutation.js +1 -1
- package/dist/integration-manager/src/services/hooks/useUpdateIntegrationConfigMutation.d.ts +4 -1
- package/dist/integration-manager/src/services/hooks/useUpdateIntegrationConfigMutation.js +1 -1
- package/dist/integration-manager/src/services/hooks/useUpdateIntegrationConfigOrgMutation.d.ts +7 -1
- package/dist/integration-manager/src/services/hooks/useUpdateIntegrationConfigOrgMutation.js +1 -1
- package/dist/integration-manager/src/services/hooks/useUpdateIntegrationConfigProjectMutation.d.ts +10 -1
- package/dist/integration-manager/src/services/hooks/useUpdateIntegrationConfigProjectMutation.js +1 -1
- package/dist/integration-manager/src/services/hooks/useUpdateIntegrationStatusMutation.d.ts +3 -0
- package/dist/integration-manager/src/services/hooks/useUpdateIntegrationStatusOrgMutation.d.ts +7 -1
- package/dist/integration-manager/src/services/hooks/useUpdateIntegrationStatusOrgMutation.js +1 -1
- package/dist/integration-manager/src/services/hooks/useUpdateIntegrationStatusProjectMutation.d.ts +10 -1
- package/dist/integration-manager/src/services/hooks/useUpdateIntegrationStatusProjectMutation.js +1 -1
- package/dist/integration-manager/src/services/hooks/useUpdateMetricConfigMutation.d.ts +3 -0
- package/dist/integration-manager/src/services/hooks/useUpdateMetricConfigOrgMutation.d.ts +6 -0
- package/dist/integration-manager/src/services/hooks/useUpdateMetricConfigProjectMutation.d.ts +9 -0
- package/dist/integration-manager/src/services/hooks/useUpdateMetricConfigStatusMutation.d.ts +3 -0
- package/dist/integration-manager/src/services/hooks/useUpdateMetricConfigStatusOrgMutation.d.ts +6 -0
- package/dist/integration-manager/src/services/hooks/useUpdateMetricConfigStatusProjectMutation.d.ts +9 -0
- package/dist/integration-manager/src/services/hooks/useUpsertSettingsMutation.d.ts +3 -0
- package/dist/integration-manager/src/services/hooks/useUpsertSettingsOrgMutation.d.ts +6 -0
- package/dist/integration-manager/src/services/hooks/useUpsertSettingsProjectMutation.d.ts +9 -0
- package/dist/integration-manager/src/services/hooks/useValidateCustomSchemaMutation.d.ts +5 -2
- package/dist/integration-manager/src/services/hooks/useValidateCustomSchemaOrgMutation.d.ts +9 -3
- package/dist/integration-manager/src/services/hooks/useValidateCustomSchemaOrgMutation.js +1 -1
- package/dist/integration-manager/src/services/hooks/useValidateCustomSchemaProjectMutation.d.ts +12 -3
- package/dist/integration-manager/src/services/hooks/useValidateCustomSchemaProjectMutation.js +1 -1
- package/dist/integration-manager/src/services/index.d.ts +6 -4
- package/dist/integration-manager/src/services/schemas/EnumEntityDeleteReason.d.ts +1 -0
- package/dist/integration-manager/src/services/schemas/EnumEntityDeleteReason.js +4 -0
- package/dist/integration-manager/src/services/schemas/EnumIntegrationEventType.d.ts +1 -1
- package/dist/integration-manager/src/services/schemas/EnumIntegrationType.d.ts +1 -1
- package/dist/integration-manager/src/services/schemas/{IntegrationconfigAirbyteIntegrationResponse.d.ts → OpenapiAirbyteIntegrationResponseDoc.d.ts} +8 -3
- package/dist/integration-manager/src/services/schemas/OpenapiCreateAirbyteIntegrationConfigOrgRequest.d.ts +3 -0
- package/dist/integration-manager/src/services/schemas/OpenapiCreateAirbyteIntegrationConfigProjectRequest.d.ts +3 -0
- package/dist/integration-manager/src/services/schemas/OpenapiCreateAirbyteIntegrationConfigRequest.d.ts +3 -0
- package/dist/integration-manager/src/services/schemas/OpenapiCreateIntegrationConfigOrgRequest.d.ts +12 -5
- package/dist/integration-manager/src/services/schemas/OpenapiCreateIntegrationConfigProjectRequest.d.ts +12 -5
- package/dist/integration-manager/src/services/schemas/OpenapiCreateIntegrationConfigRequest.d.ts +12 -5
- package/dist/integration-manager/src/services/schemas/OpenapiUpdateAirbyteIntegrationConfigOrgRequest.d.ts +3 -0
- package/dist/integration-manager/src/services/schemas/OpenapiUpdateAirbyteIntegrationConfigProjectRequest.d.ts +3 -0
- package/dist/integration-manager/src/services/schemas/OpenapiUpdateAirbyteIntegrationConfigRequest.d.ts +3 -0
- package/dist/integration-manager/src/services/schemas/OpenapiUpdateIntegrationConfigOrgRequest.d.ts +11 -4
- package/dist/integration-manager/src/services/schemas/OpenapiUpdateIntegrationConfigProjectRequest.d.ts +11 -4
- package/dist/integration-manager/src/services/schemas/OpenapiUpdateIntegrationConfigRequest.d.ts +11 -4
- package/dist/integration-manager/src/services/schemas/TypesDefaultKind.d.ts +2 -2
- package/dist/integration-manager/src/services/schemas/{TypesEntityMapping.d.ts → TypesEmissionMapping.d.ts} +3 -3
- package/dist/integration-manager/src/services/schemas/{TypesEntityMappingSpec.d.ts → TypesEmissionMappingSpec.d.ts} +1 -1
- package/dist/integration-manager/src/services/schemas/TypesEntity.d.ts +2 -0
- package/dist/integration-manager/src/services/schemas/TypesEntitySchema.d.ts +2 -2
- package/dist/integration-manager/src/services/schemas/TypesHarnessAirbyteConfig.d.ts +5 -0
- package/dist/integration-manager/src/services/schemas/{TypesSchemaMapping.d.ts → TypesIngestionMapping.d.ts} +2 -2
- package/dist/integration-manager/src/services/schemas/TypesIntegrationConfig.d.ts +7 -0
- package/dist/integration-manager/src/services/schemas/TypesReevalState.d.ts +2 -0
- package/dist/integration-manager/src/services/schemas/TypesSonarQubeIssuesConfig.d.ts +8 -0
- package/dist/integration-manager/src/services/schemas/TypesSonarQubeIssuesConfig.js +4 -0
- package/package.json +1 -1
- /package/dist/integration-manager/src/services/schemas/{IntegrationconfigAirbyteIntegrationResponse.js → OpenapiAirbyteIntegrationResponseDoc.js} +0 -0
- /package/dist/integration-manager/src/services/schemas/{TypesEntityMapping.js → TypesEmissionMapping.js} +0 -0
- /package/dist/integration-manager/src/services/schemas/{TypesEntityMappingSpec.js → TypesEmissionMappingSpec.js} +0 -0
- /package/dist/integration-manager/src/services/schemas/{TypesSchemaMapping.js → TypesIngestionMapping.js} +0 -0
|
@@ -5,6 +5,9 @@ import type { OpenapiSettingsUpsertAccountRequest } from '../schemas/OpenapiSett
|
|
|
5
5
|
import type { ResponseWithPagination } from '../helpers';
|
|
6
6
|
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
7
7
|
export interface UpsertSettingsMutationPathParams {
|
|
8
|
+
/**
|
|
9
|
+
* Account identifier.
|
|
10
|
+
*/
|
|
8
11
|
accountIdentifier: string;
|
|
9
12
|
}
|
|
10
13
|
export type UpsertSettingsRequestBody = OpenapiSettingsUpsertAccountRequest;
|
|
@@ -5,7 +5,13 @@ import type { OpenapiSettingsUpsertOrgRequest } from '../schemas/OpenapiSettings
|
|
|
5
5
|
import type { ResponseWithPagination } from '../helpers';
|
|
6
6
|
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
7
7
|
export interface UpsertSettingsOrgMutationPathParams {
|
|
8
|
+
/**
|
|
9
|
+
* Account identifier.
|
|
10
|
+
*/
|
|
8
11
|
accountIdentifier: string;
|
|
12
|
+
/**
|
|
13
|
+
* Organization identifier.
|
|
14
|
+
*/
|
|
9
15
|
orgIdentifier: string;
|
|
10
16
|
}
|
|
11
17
|
export type UpsertSettingsOrgRequestBody = OpenapiSettingsUpsertOrgRequest;
|
|
@@ -5,8 +5,17 @@ import type { OpenapiSettingsUpsertProjectRequest } from '../schemas/OpenapiSett
|
|
|
5
5
|
import type { ResponseWithPagination } from '../helpers';
|
|
6
6
|
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
7
7
|
export interface UpsertSettingsProjectMutationPathParams {
|
|
8
|
+
/**
|
|
9
|
+
* Account identifier.
|
|
10
|
+
*/
|
|
8
11
|
accountIdentifier: string;
|
|
12
|
+
/**
|
|
13
|
+
* Organization identifier.
|
|
14
|
+
*/
|
|
9
15
|
orgIdentifier: string;
|
|
16
|
+
/**
|
|
17
|
+
* Project identifier.
|
|
18
|
+
*/
|
|
10
19
|
projectIdentifier: string;
|
|
11
20
|
}
|
|
12
21
|
export type UpsertSettingsProjectRequestBody = OpenapiSettingsUpsertProjectRequest;
|
|
@@ -5,11 +5,14 @@ import type { OpenapiValidateCustomSchemaRequest } from '../schemas/OpenapiValid
|
|
|
5
5
|
import type { ResponseWithPagination } from '../helpers';
|
|
6
6
|
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
7
7
|
export interface ValidateCustomSchemaMutationPathParams {
|
|
8
|
+
/**
|
|
9
|
+
* Account identifier.
|
|
10
|
+
*/
|
|
8
11
|
accountIdentifier: string;
|
|
9
12
|
}
|
|
10
13
|
export type ValidateCustomSchemaRequestBody = OpenapiValidateCustomSchemaRequest;
|
|
11
14
|
export type ValidateCustomSchemaOkResponse = ResponseWithPagination<IntegrationconfigValidateCustomSchemaResponse>;
|
|
12
|
-
export type ValidateCustomSchemaErrorResponse = ApierrorsErrorResponse;
|
|
15
|
+
export type ValidateCustomSchemaErrorResponse = IntegrationconfigValidateCustomSchemaResponse | ApierrorsErrorResponse;
|
|
13
16
|
export interface ValidateCustomSchemaProps extends ValidateCustomSchemaMutationPathParams, Omit<FetcherOptions<unknown, ValidateCustomSchemaRequestBody>, 'url'> {
|
|
14
17
|
body: ValidateCustomSchemaRequestBody;
|
|
15
18
|
}
|
|
@@ -17,4 +20,4 @@ export declare function validateCustomSchema(props: ValidateCustomSchemaProps):
|
|
|
17
20
|
/**
|
|
18
21
|
* Validates a custom JSON schema for correctness before saving. No fields are mandatory; type defaults to "object" when omitted and is only rejected if explicitly set to a non-object type. If identifier/name/timestamp/entity_ref/type are present, they must be of type "string" (or ["string","null"]). If tags is present, it must be a string→string map ({"type":"object","additionalProperties":{"type":"string"}}). Enforces max nesting depth of 10, max 200 properties per object (root and nested), and supports JSON Schema composition keywords (allOf, anyOf, oneOf, not). Request body capped at 1 MB. Returns HTTP 200 if valid, HTTP 400 with all collected errors if invalid.
|
|
19
22
|
*/
|
|
20
|
-
export declare function useValidateCustomSchemaMutation(options?: Omit<UseMutationOptions<ValidateCustomSchemaOkResponse, ValidateCustomSchemaErrorResponse, ValidateCustomSchemaProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<ValidateCustomSchemaOkResponse,
|
|
23
|
+
export declare function useValidateCustomSchemaMutation(options?: Omit<UseMutationOptions<ValidateCustomSchemaOkResponse, ValidateCustomSchemaErrorResponse, ValidateCustomSchemaProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<ValidateCustomSchemaOkResponse, ValidateCustomSchemaErrorResponse, ValidateCustomSchemaProps, unknown>;
|
|
@@ -5,17 +5,23 @@ import type { OpenapiValidateCustomSchemaOrgRequest } from '../schemas/OpenapiVa
|
|
|
5
5
|
import type { ResponseWithPagination } from '../helpers';
|
|
6
6
|
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
7
7
|
export interface ValidateCustomSchemaOrgMutationPathParams {
|
|
8
|
+
/**
|
|
9
|
+
* Account identifier.
|
|
10
|
+
*/
|
|
8
11
|
accountIdentifier: string;
|
|
12
|
+
/**
|
|
13
|
+
* Organization identifier.
|
|
14
|
+
*/
|
|
9
15
|
orgIdentifier: string;
|
|
10
16
|
}
|
|
11
17
|
export type ValidateCustomSchemaOrgRequestBody = OpenapiValidateCustomSchemaOrgRequest;
|
|
12
18
|
export type ValidateCustomSchemaOrgOkResponse = ResponseWithPagination<IntegrationconfigValidateCustomSchemaResponse>;
|
|
13
|
-
export type ValidateCustomSchemaOrgErrorResponse = ApierrorsErrorResponse;
|
|
19
|
+
export type ValidateCustomSchemaOrgErrorResponse = IntegrationconfigValidateCustomSchemaResponse | ApierrorsErrorResponse;
|
|
14
20
|
export interface ValidateCustomSchemaOrgProps extends ValidateCustomSchemaOrgMutationPathParams, Omit<FetcherOptions<unknown, ValidateCustomSchemaOrgRequestBody>, 'url'> {
|
|
15
21
|
body: ValidateCustomSchemaOrgRequestBody;
|
|
16
22
|
}
|
|
17
23
|
export declare function validateCustomSchemaOrg(props: ValidateCustomSchemaOrgProps): Promise<ValidateCustomSchemaOrgOkResponse>;
|
|
18
24
|
/**
|
|
19
|
-
* Validates a custom JSON schema at
|
|
25
|
+
* Validates a custom JSON schema for correctness before saving. No fields are mandatory; type defaults to "object" when omitted and is only rejected if explicitly set to a non-object type. If identifier/name/timestamp/entity_ref/type are present, they must be of type "string" (or ["string","null"]). If tags is present, it must be a string→string map ({"type":"object","additionalProperties":{"type":"string"}}). Enforces max nesting depth of 10, max 200 properties per object (root and nested), and supports JSON Schema composition keywords (allOf, anyOf, oneOf, not). Request body capped at 1 MB. Returns HTTP 200 if valid, HTTP 400 with all collected errors if invalid.
|
|
20
26
|
*/
|
|
21
|
-
export declare function useValidateCustomSchemaOrgMutation(options?: Omit<UseMutationOptions<ValidateCustomSchemaOrgOkResponse, ValidateCustomSchemaOrgErrorResponse, ValidateCustomSchemaOrgProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<ValidateCustomSchemaOrgOkResponse,
|
|
27
|
+
export declare function useValidateCustomSchemaOrgMutation(options?: Omit<UseMutationOptions<ValidateCustomSchemaOrgOkResponse, ValidateCustomSchemaOrgErrorResponse, ValidateCustomSchemaOrgProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<ValidateCustomSchemaOrgOkResponse, ValidateCustomSchemaOrgErrorResponse, ValidateCustomSchemaOrgProps, unknown>;
|
|
@@ -7,7 +7,7 @@ export function validateCustomSchemaOrg(props) {
|
|
|
7
7
|
return fetcher(Object.assign({ url: `/api/v1/accounts/${props.accountIdentifier}/orgs/${props.orgIdentifier}/integration-configs/validate-schema`, method: 'POST' }, props));
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
-
* Validates a custom JSON schema at
|
|
10
|
+
* Validates a custom JSON schema for correctness before saving. No fields are mandatory; type defaults to "object" when omitted and is only rejected if explicitly set to a non-object type. If identifier/name/timestamp/entity_ref/type are present, they must be of type "string" (or ["string","null"]). If tags is present, it must be a string→string map ({"type":"object","additionalProperties":{"type":"string"}}). Enforces max nesting depth of 10, max 200 properties per object (root and nested), and supports JSON Schema composition keywords (allOf, anyOf, oneOf, not). Request body capped at 1 MB. Returns HTTP 200 if valid, HTTP 400 with all collected errors if invalid.
|
|
11
11
|
*/
|
|
12
12
|
export function useValidateCustomSchemaOrgMutation(options) {
|
|
13
13
|
return useMutation((mutateProps) => validateCustomSchemaOrg(mutateProps), options);
|
package/dist/integration-manager/src/services/hooks/useValidateCustomSchemaProjectMutation.d.ts
CHANGED
|
@@ -5,18 +5,27 @@ import type { OpenapiValidateCustomSchemaProjectRequest } from '../schemas/Opena
|
|
|
5
5
|
import type { ResponseWithPagination } from '../helpers';
|
|
6
6
|
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
7
7
|
export interface ValidateCustomSchemaProjectMutationPathParams {
|
|
8
|
+
/**
|
|
9
|
+
* Account identifier.
|
|
10
|
+
*/
|
|
8
11
|
accountIdentifier: string;
|
|
12
|
+
/**
|
|
13
|
+
* Organization identifier.
|
|
14
|
+
*/
|
|
9
15
|
orgIdentifier: string;
|
|
16
|
+
/**
|
|
17
|
+
* Project identifier.
|
|
18
|
+
*/
|
|
10
19
|
projectIdentifier: string;
|
|
11
20
|
}
|
|
12
21
|
export type ValidateCustomSchemaProjectRequestBody = OpenapiValidateCustomSchemaProjectRequest;
|
|
13
22
|
export type ValidateCustomSchemaProjectOkResponse = ResponseWithPagination<IntegrationconfigValidateCustomSchemaResponse>;
|
|
14
|
-
export type ValidateCustomSchemaProjectErrorResponse = ApierrorsErrorResponse;
|
|
23
|
+
export type ValidateCustomSchemaProjectErrorResponse = IntegrationconfigValidateCustomSchemaResponse | ApierrorsErrorResponse;
|
|
15
24
|
export interface ValidateCustomSchemaProjectProps extends ValidateCustomSchemaProjectMutationPathParams, Omit<FetcherOptions<unknown, ValidateCustomSchemaProjectRequestBody>, 'url'> {
|
|
16
25
|
body: ValidateCustomSchemaProjectRequestBody;
|
|
17
26
|
}
|
|
18
27
|
export declare function validateCustomSchemaProject(props: ValidateCustomSchemaProjectProps): Promise<ValidateCustomSchemaProjectOkResponse>;
|
|
19
28
|
/**
|
|
20
|
-
* Validates a custom JSON schema at
|
|
29
|
+
* Validates a custom JSON schema for correctness before saving. No fields are mandatory; type defaults to "object" when omitted and is only rejected if explicitly set to a non-object type. If identifier/name/timestamp/entity_ref/type are present, they must be of type "string" (or ["string","null"]). If tags is present, it must be a string→string map ({"type":"object","additionalProperties":{"type":"string"}}). Enforces max nesting depth of 10, max 200 properties per object (root and nested), and supports JSON Schema composition keywords (allOf, anyOf, oneOf, not). Request body capped at 1 MB. Returns HTTP 200 if valid, HTTP 400 with all collected errors if invalid.
|
|
21
30
|
*/
|
|
22
|
-
export declare function useValidateCustomSchemaProjectMutation(options?: Omit<UseMutationOptions<ValidateCustomSchemaProjectOkResponse, ValidateCustomSchemaProjectErrorResponse, ValidateCustomSchemaProjectProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<ValidateCustomSchemaProjectOkResponse,
|
|
31
|
+
export declare function useValidateCustomSchemaProjectMutation(options?: Omit<UseMutationOptions<ValidateCustomSchemaProjectOkResponse, ValidateCustomSchemaProjectErrorResponse, ValidateCustomSchemaProjectProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<ValidateCustomSchemaProjectOkResponse, ValidateCustomSchemaProjectErrorResponse, ValidateCustomSchemaProjectProps, unknown>;
|
package/dist/integration-manager/src/services/hooks/useValidateCustomSchemaProjectMutation.js
CHANGED
|
@@ -7,7 +7,7 @@ export function validateCustomSchemaProject(props) {
|
|
|
7
7
|
return fetcher(Object.assign({ url: `/api/v1/accounts/${props.accountIdentifier}/orgs/${props.orgIdentifier}/projects/${props.projectIdentifier}/integration-configs/validate-schema`, method: 'POST' }, props));
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
-
* Validates a custom JSON schema at
|
|
10
|
+
* Validates a custom JSON schema for correctness before saving. No fields are mandatory; type defaults to "object" when omitted and is only rejected if explicitly set to a non-object type. If identifier/name/timestamp/entity_ref/type are present, they must be of type "string" (or ["string","null"]). If tags is present, it must be a string→string map ({"type":"object","additionalProperties":{"type":"string"}}). Enforces max nesting depth of 10, max 200 properties per object (root and nested), and supports JSON Schema composition keywords (allOf, anyOf, oneOf, not). Request body capped at 1 MB. Returns HTTP 200 if valid, HTTP 400 with all collected errors if invalid.
|
|
11
11
|
*/
|
|
12
12
|
export function useValidateCustomSchemaProjectMutation(options) {
|
|
13
13
|
return useMutation((mutateProps) => validateCustomSchemaProject(mutateProps), options);
|
|
@@ -193,6 +193,7 @@ export type { EntityPaginationInfo } from './schemas/EntityPaginationInfo';
|
|
|
193
193
|
export type { EnumAction } from './schemas/EnumAction';
|
|
194
194
|
export type { EnumAirbyteDestinationSyncMode } from './schemas/EnumAirbyteDestinationSyncMode';
|
|
195
195
|
export type { EnumAirbyteSyncMode } from './schemas/EnumAirbyteSyncMode';
|
|
196
|
+
export type { EnumEntityDeleteReason } from './schemas/EnumEntityDeleteReason';
|
|
196
197
|
export type { EnumIntegrationEventType } from './schemas/EnumIntegrationEventType';
|
|
197
198
|
export type { EnumIntegrationMode } from './schemas/EnumIntegrationMode';
|
|
198
199
|
export type { EnumIntegrationType } from './schemas/EnumIntegrationType';
|
|
@@ -202,13 +203,13 @@ export type { EnumMetricTimeRange } from './schemas/EnumMetricTimeRange';
|
|
|
202
203
|
export type { EnumOperator } from './schemas/EnumOperator';
|
|
203
204
|
export type { EnumSyncResponseStatus } from './schemas/EnumSyncResponseStatus';
|
|
204
205
|
export type { EnumSyncStatus } from './schemas/EnumSyncStatus';
|
|
205
|
-
export type { IntegrationconfigAirbyteIntegrationResponse } from './schemas/IntegrationconfigAirbyteIntegrationResponse';
|
|
206
206
|
export type { IntegrationconfigMappingConfigInput } from './schemas/IntegrationconfigMappingConfigInput';
|
|
207
207
|
export type { IntegrationconfigSchemaValidationError } from './schemas/IntegrationconfigSchemaValidationError';
|
|
208
208
|
export type { IntegrationconfigValidateCustomSchemaResponse } from './schemas/IntegrationconfigValidateCustomSchemaResponse';
|
|
209
209
|
export type { IntegrationeventIntegrationEventResponse } from './schemas/IntegrationeventIntegrationEventResponse';
|
|
210
210
|
export type { IntegrationeventPrincipalInfo } from './schemas/IntegrationeventPrincipalInfo';
|
|
211
211
|
export type { IntegrationeventUiStatus } from './schemas/IntegrationeventUiStatus';
|
|
212
|
+
export type { OpenapiAirbyteIntegrationResponseDoc } from './schemas/OpenapiAirbyteIntegrationResponseDoc';
|
|
212
213
|
export type { OpenapiCreateAirbyteIntegrationConfigOrgRequest } from './schemas/OpenapiCreateAirbyteIntegrationConfigOrgRequest';
|
|
213
214
|
export type { OpenapiCreateAirbyteIntegrationConfigProjectRequest } from './schemas/OpenapiCreateAirbyteIntegrationConfigProjectRequest';
|
|
214
215
|
export type { OpenapiCreateAirbyteIntegrationConfigRequest } from './schemas/OpenapiCreateAirbyteIntegrationConfigRequest';
|
|
@@ -266,10 +267,10 @@ export type { TypesDefaultKind } from './schemas/TypesDefaultKind';
|
|
|
266
267
|
export type { TypesDefaultMappingField } from './schemas/TypesDefaultMappingField';
|
|
267
268
|
export type { TypesDefaultRelationEnd } from './schemas/TypesDefaultRelationEnd';
|
|
268
269
|
export type { TypesDockerConnectorSettings } from './schemas/TypesDockerConnectorSettings';
|
|
270
|
+
export type { TypesEmissionMapping } from './schemas/TypesEmissionMapping';
|
|
271
|
+
export type { TypesEmissionMappingSpec } from './schemas/TypesEmissionMappingSpec';
|
|
269
272
|
export type { TypesEntity } from './schemas/TypesEntity';
|
|
270
273
|
export type { TypesEntityInputSchemaResponse } from './schemas/TypesEntityInputSchemaResponse';
|
|
271
|
-
export type { TypesEntityMapping } from './schemas/TypesEntityMapping';
|
|
272
|
-
export type { TypesEntityMappingSpec } from './schemas/TypesEntityMappingSpec';
|
|
273
274
|
export type { TypesEntitySchema } from './schemas/TypesEntitySchema';
|
|
274
275
|
export type { TypesFieldMapping } from './schemas/TypesFieldMapping';
|
|
275
276
|
export type { TypesGetTimeseriesResponse } from './schemas/TypesGetTimeseriesResponse';
|
|
@@ -278,6 +279,7 @@ export type { TypesHarnessComponentSettings } from './schemas/TypesHarnessCompon
|
|
|
278
279
|
export type { TypesIdpSubscription } from './schemas/TypesIdpSubscription';
|
|
279
280
|
export type { TypesInfraProviderSettings } from './schemas/TypesInfraProviderSettings';
|
|
280
281
|
export type { TypesInfraProviderType } from './schemas/TypesInfraProviderType';
|
|
282
|
+
export type { TypesIngestionMapping } from './schemas/TypesIngestionMapping';
|
|
281
283
|
export type { TypesIntegrationConfig } from './schemas/TypesIntegrationConfig';
|
|
282
284
|
export type { TypesIntegrationConfigCountResponse } from './schemas/TypesIntegrationConfigCountResponse';
|
|
283
285
|
export type { TypesJsonSchema } from './schemas/TypesJsonSchema';
|
|
@@ -296,7 +298,6 @@ export type { TypesMetricDataPoint } from './schemas/TypesMetricDataPoint';
|
|
|
296
298
|
export type { TypesMetricErrors } from './schemas/TypesMetricErrors';
|
|
297
299
|
export type { TypesReevalState } from './schemas/TypesReevalState';
|
|
298
300
|
export type { TypesSampleEntity } from './schemas/TypesSampleEntity';
|
|
299
|
-
export type { TypesSchemaMapping } from './schemas/TypesSchemaMapping';
|
|
300
301
|
export type { TypesScope } from './schemas/TypesScope';
|
|
301
302
|
export type { TypesScopeConfig } from './schemas/TypesScopeConfig';
|
|
302
303
|
export type { TypesSettingsEntryGithubComHarnessHarnessCodeIntegrationManagerTypesAirbyteConnectorImageSettings } from './schemas/TypesSettingsEntryGithubComHarnessHarnessCodeIntegrationManagerTypesAirbyteConnectorImageSettings';
|
|
@@ -307,6 +308,7 @@ export type { TypesSettingsEntryGithubComHarnessHarnessCodeIntegrationManagerTyp
|
|
|
307
308
|
export type { TypesSettingsEntryGithubComHarnessHarnessCodeIntegrationManagerTypesSyncConfigSettings } from './schemas/TypesSettingsEntryGithubComHarnessHarnessCodeIntegrationManagerTypesSyncConfigSettings';
|
|
308
309
|
export type { TypesSettingsKey } from './schemas/TypesSettingsKey';
|
|
309
310
|
export type { TypesSettingsListResponse } from './schemas/TypesSettingsListResponse';
|
|
311
|
+
export type { TypesSonarQubeIssuesConfig } from './schemas/TypesSonarQubeIssuesConfig';
|
|
310
312
|
export type { TypesStreamOutcome } from './schemas/TypesStreamOutcome';
|
|
311
313
|
export type { TypesStreamSyncResult } from './schemas/TypesStreamSyncResult';
|
|
312
314
|
export type { TypesSuggestedMapping } from './schemas/TypesSuggestedMapping';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type EnumEntityDeleteReason = string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export type EnumIntegrationEventType = 'entity_auto_import' | 'entity_deleted' | 'entity_ingested' | 'entity_manual_import' | 'entity_rejected' | 'entity_unlinked' | 'integration_created' | 'integration_deleted' | 'integration_disabled' | 'integration_enabled' | 'integration_updated' | 'metric_config_created' | 'metric_config_disabled' | 'metric_config_enabled' | 'metric_config_updated' | 'metric_entity_deleted' | 'metric_entity_ingested' | 'metric_entity_rejected' | 'sync_run';
|
|
1
|
+
export type EnumIntegrationEventType = 'entity_auto_import' | 'entity_deleted' | 'entity_filtered' | 'entity_ingested' | 'entity_manual_import' | 'entity_rejected' | 'entity_unlinked' | 'integration_created' | 'integration_deleted' | 'integration_disabled' | 'integration_enabled' | 'integration_updated' | 'metric_config_created' | 'metric_config_disabled' | 'metric_config_enabled' | 'metric_config_updated' | 'metric_entity_deleted' | 'metric_entity_ingested' | 'metric_entity_rejected' | 'sync_run';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export type EnumIntegrationType = 'BitbucketCloud' | 'CatalogInfo' | 'Custom' | 'DataDog' | 'DynaTrace' | 'GCP' | 'GitHub' | 'HarnessCD' | 'HarnessCI' | 'HarnessK8s' | 'HarnessScope' | 'HarnessTraceable' | 'Jira' | 'PagerDuty' | 'ServiceNow' | 'SonarQube';
|
|
1
|
+
export type EnumIntegrationType = 'BitbucketCloud' | 'CatalogInfo' | 'Custom' | 'DataDog' | 'DynaTrace' | 'GCP' | 'GitHub' | 'HarnessCD' | 'HarnessCI' | 'HarnessCode' | 'HarnessK8s' | 'HarnessScope' | 'HarnessTraceable' | 'Jira' | 'PagerDuty' | 'ServiceNow' | 'SonarQube';
|
|
@@ -1,10 +1,15 @@
|
|
|
1
1
|
import type { TypesAirbyteConnector } from '../schemas/TypesAirbyteConnector';
|
|
2
|
-
import type {
|
|
2
|
+
import type { TypesEmissionMapping } from '../schemas/TypesEmissionMapping';
|
|
3
3
|
import type { TypesEntitySchema } from '../schemas/TypesEntitySchema';
|
|
4
4
|
import type { TypesIntegrationConfig } from '../schemas/TypesIntegrationConfig';
|
|
5
|
-
export interface
|
|
5
|
+
export interface OpenapiAirbyteIntegrationResponseDoc {
|
|
6
6
|
airbyte_connector?: TypesAirbyteConnector;
|
|
7
|
-
|
|
7
|
+
emission_mappings?: TypesEmissionMapping[] | null;
|
|
8
|
+
/**
|
|
9
|
+
* Deprecated alias for emission_mappings. Use emission_mappings instead.
|
|
10
|
+
* @deprecated
|
|
11
|
+
*/
|
|
12
|
+
entity_mappings?: TypesEmissionMapping[] | null;
|
|
8
13
|
entity_schemas?: TypesEntitySchema[] | null;
|
|
9
14
|
integration_config?: TypesIntegrationConfig;
|
|
10
15
|
}
|
|
@@ -12,6 +12,9 @@ export interface OpenapiCreateAirbyteIntegrationConfigOrgRequest {
|
|
|
12
12
|
[key: string]: boolean;
|
|
13
13
|
};
|
|
14
14
|
discovered_catalog?: TypesAirbyteCatalogDiscovered;
|
|
15
|
+
entity_schema_filter_per_kind?: {
|
|
16
|
+
[key: string]: string;
|
|
17
|
+
};
|
|
15
18
|
field_mappings_per_kind?: {
|
|
16
19
|
[key: string]: TypesFieldMapping[];
|
|
17
20
|
};
|
|
@@ -12,6 +12,9 @@ export interface OpenapiCreateAirbyteIntegrationConfigProjectRequest {
|
|
|
12
12
|
[key: string]: boolean;
|
|
13
13
|
};
|
|
14
14
|
discovered_catalog?: TypesAirbyteCatalogDiscovered;
|
|
15
|
+
entity_schema_filter_per_kind?: {
|
|
16
|
+
[key: string]: string;
|
|
17
|
+
};
|
|
15
18
|
field_mappings_per_kind?: {
|
|
16
19
|
[key: string]: TypesFieldMapping[];
|
|
17
20
|
};
|
|
@@ -12,6 +12,9 @@ export interface OpenapiCreateAirbyteIntegrationConfigRequest {
|
|
|
12
12
|
[key: string]: boolean;
|
|
13
13
|
};
|
|
14
14
|
discovered_catalog?: TypesAirbyteCatalogDiscovered;
|
|
15
|
+
entity_schema_filter_per_kind?: {
|
|
16
|
+
[key: string]: string;
|
|
17
|
+
};
|
|
15
18
|
field_mappings_per_kind?: {
|
|
16
19
|
[key: string]: TypesFieldMapping[];
|
|
17
20
|
};
|
package/dist/integration-manager/src/services/schemas/OpenapiCreateIntegrationConfigOrgRequest.d.ts
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import type { EnumAction } from '../schemas/EnumAction';
|
|
2
2
|
import type { TypesCorrelationMapping } from '../schemas/TypesCorrelationMapping';
|
|
3
|
+
import type { TypesIngestionMapping } from '../schemas/TypesIngestionMapping';
|
|
3
4
|
import type { EnumIntegrationMode } from '../schemas/EnumIntegrationMode';
|
|
4
5
|
import type { EnumIntegrationType } from '../schemas/EnumIntegrationType';
|
|
5
6
|
import type { TypesMappingConfig } from '../schemas/TypesMappingConfig';
|
|
6
7
|
import type { TypesJsonSchema } from '../schemas/TypesJsonSchema';
|
|
7
|
-
import type { TypesSchemaMapping } from '../schemas/TypesSchemaMapping';
|
|
8
8
|
export interface OpenapiCreateIntegrationConfigOrgRequest {
|
|
9
9
|
/**
|
|
10
|
-
* Per-kind write action. For Custom integrations this is forced to 'merge'.
|
|
10
|
+
* Per-kind write action. For Custom integrations this is forced to 'merge'. Harness Code forces every AI-asset kind to 'Register'. repo_details uses the caller's action and defaults to 'Merge_Register' when omitted.
|
|
11
11
|
*/
|
|
12
12
|
action_per_kind?: {
|
|
13
13
|
[key: string]: EnumAction;
|
|
@@ -29,6 +29,12 @@ export interface OpenapiCreateIntegrationConfigOrgRequest {
|
|
|
29
29
|
* Stable identifier for the integration. Must be unique within its space.
|
|
30
30
|
*/
|
|
31
31
|
identifier?: string;
|
|
32
|
+
/**
|
|
33
|
+
* Per-kind ingestion→storage JQ mappings. REQUIRED for webhook mode (one entry per kind, mappings.identifier non-empty). Optional for other modes — when provided it overrides the auto-derived identity mapping.
|
|
34
|
+
*/
|
|
35
|
+
ingestion_mapping_per_kind?: {
|
|
36
|
+
[key: string]: TypesIngestionMapping;
|
|
37
|
+
};
|
|
32
38
|
integration_mode?: EnumIntegrationMode;
|
|
33
39
|
integration_type?: EnumIntegrationType;
|
|
34
40
|
/**
|
|
@@ -36,7 +42,7 @@ export interface OpenapiCreateIntegrationConfigOrgRequest {
|
|
|
36
42
|
*/
|
|
37
43
|
kinds?: string[];
|
|
38
44
|
/**
|
|
39
|
-
* Per-kind mapping configuration including idp_kind, idp_type, and correlation. Supported for HarnessCI (required), HarnessK8s (optional) and Custom integrations (optional). For HarnessCI, one entry per kind is required; value must have non-empty correlation_mapping.source_path and operator 'eq'. For HarnessK8s an entry may omit correlation_mapping entirely, but a partially filled one is rejected: source_path and target_path are both required and operator must be 'eq'. An entry replaces the default correlation_mapping wholesale rather than patching it, so an entry that sets only idp_kind/idp_type leaves the kind un-correlated.
|
|
45
|
+
* Per-kind mapping configuration including idp_kind, idp_type, and correlation. Supported for HarnessCI (required), HarnessK8s (optional), Harness Code (optional idp_type only) and Custom integrations (optional). For HarnessCI, one entry per kind is required; value must have non-empty correlation_mapping.source_path and operator 'eq'. For HarnessK8s an entry may omit correlation_mapping entirely, but a partially filled one is rejected: source_path and target_path are both required and operator must be 'eq'. An entry replaces the default correlation_mapping wholesale rather than patching it, so an entry that sets only idp_kind/idp_type leaves the kind un-correlated. For Harness Code, AI-asset kinds accept only an idp_type override and reject correlation_mapping. repo_details accepts idp_kind and idp_type at create and an optional correlation_mapping with source_path and operator eq or contains. An empty correlation leaves the kind uncorrelated.
|
|
40
46
|
*/
|
|
41
47
|
mapping_config_per_kind?: {
|
|
42
48
|
[key: string]: TypesMappingConfig;
|
|
@@ -52,10 +58,11 @@ export interface OpenapiCreateIntegrationConfigOrgRequest {
|
|
|
52
58
|
[key: string]: TypesJsonSchema;
|
|
53
59
|
};
|
|
54
60
|
/**
|
|
55
|
-
*
|
|
61
|
+
* Deprecated alias for ingestion_mapping_per_kind. Use ingestion_mapping_per_kind instead.
|
|
62
|
+
* @deprecated
|
|
56
63
|
*/
|
|
57
64
|
schema_mapping_per_kind?: {
|
|
58
|
-
[key: string]:
|
|
65
|
+
[key: string]: TypesIngestionMapping;
|
|
59
66
|
};
|
|
60
67
|
/**
|
|
61
68
|
* Optional source identifier for custom integrations.
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import type { EnumAction } from '../schemas/EnumAction';
|
|
2
2
|
import type { TypesCorrelationMapping } from '../schemas/TypesCorrelationMapping';
|
|
3
|
+
import type { TypesIngestionMapping } from '../schemas/TypesIngestionMapping';
|
|
3
4
|
import type { EnumIntegrationMode } from '../schemas/EnumIntegrationMode';
|
|
4
5
|
import type { EnumIntegrationType } from '../schemas/EnumIntegrationType';
|
|
5
6
|
import type { TypesMappingConfig } from '../schemas/TypesMappingConfig';
|
|
6
7
|
import type { TypesJsonSchema } from '../schemas/TypesJsonSchema';
|
|
7
|
-
import type { TypesSchemaMapping } from '../schemas/TypesSchemaMapping';
|
|
8
8
|
export interface OpenapiCreateIntegrationConfigProjectRequest {
|
|
9
9
|
/**
|
|
10
|
-
* Per-kind write action. For Custom integrations this is forced to 'merge'.
|
|
10
|
+
* Per-kind write action. For Custom integrations this is forced to 'merge'. Harness Code forces every AI-asset kind to 'Register'. repo_details uses the caller's action and defaults to 'Merge_Register' when omitted.
|
|
11
11
|
*/
|
|
12
12
|
action_per_kind?: {
|
|
13
13
|
[key: string]: EnumAction;
|
|
@@ -29,6 +29,12 @@ export interface OpenapiCreateIntegrationConfigProjectRequest {
|
|
|
29
29
|
* Stable identifier for the integration. Must be unique within its space.
|
|
30
30
|
*/
|
|
31
31
|
identifier?: string;
|
|
32
|
+
/**
|
|
33
|
+
* Per-kind ingestion→storage JQ mappings. REQUIRED for webhook mode (one entry per kind, mappings.identifier non-empty). Optional for other modes — when provided it overrides the auto-derived identity mapping.
|
|
34
|
+
*/
|
|
35
|
+
ingestion_mapping_per_kind?: {
|
|
36
|
+
[key: string]: TypesIngestionMapping;
|
|
37
|
+
};
|
|
32
38
|
integration_mode?: EnumIntegrationMode;
|
|
33
39
|
integration_type?: EnumIntegrationType;
|
|
34
40
|
/**
|
|
@@ -36,7 +42,7 @@ export interface OpenapiCreateIntegrationConfigProjectRequest {
|
|
|
36
42
|
*/
|
|
37
43
|
kinds?: string[];
|
|
38
44
|
/**
|
|
39
|
-
* Per-kind mapping configuration including idp_kind, idp_type, and correlation. Supported for HarnessCI (required), HarnessK8s (optional) and Custom integrations (optional). For HarnessCI, one entry per kind is required; value must have non-empty correlation_mapping.source_path and operator 'eq'. For HarnessK8s an entry may omit correlation_mapping entirely, but a partially filled one is rejected: source_path and target_path are both required and operator must be 'eq'. An entry replaces the default correlation_mapping wholesale rather than patching it, so an entry that sets only idp_kind/idp_type leaves the kind un-correlated.
|
|
45
|
+
* Per-kind mapping configuration including idp_kind, idp_type, and correlation. Supported for HarnessCI (required), HarnessK8s (optional), Harness Code (optional idp_type only) and Custom integrations (optional). For HarnessCI, one entry per kind is required; value must have non-empty correlation_mapping.source_path and operator 'eq'. For HarnessK8s an entry may omit correlation_mapping entirely, but a partially filled one is rejected: source_path and target_path are both required and operator must be 'eq'. An entry replaces the default correlation_mapping wholesale rather than patching it, so an entry that sets only idp_kind/idp_type leaves the kind un-correlated. For Harness Code, AI-asset kinds accept only an idp_type override and reject correlation_mapping. repo_details accepts idp_kind and idp_type at create and an optional correlation_mapping with source_path and operator eq or contains. An empty correlation leaves the kind uncorrelated.
|
|
40
46
|
*/
|
|
41
47
|
mapping_config_per_kind?: {
|
|
42
48
|
[key: string]: TypesMappingConfig;
|
|
@@ -52,10 +58,11 @@ export interface OpenapiCreateIntegrationConfigProjectRequest {
|
|
|
52
58
|
[key: string]: TypesJsonSchema;
|
|
53
59
|
};
|
|
54
60
|
/**
|
|
55
|
-
*
|
|
61
|
+
* Deprecated alias for ingestion_mapping_per_kind. Use ingestion_mapping_per_kind instead.
|
|
62
|
+
* @deprecated
|
|
56
63
|
*/
|
|
57
64
|
schema_mapping_per_kind?: {
|
|
58
|
-
[key: string]:
|
|
65
|
+
[key: string]: TypesIngestionMapping;
|
|
59
66
|
};
|
|
60
67
|
/**
|
|
61
68
|
* Optional source identifier for custom integrations.
|
package/dist/integration-manager/src/services/schemas/OpenapiCreateIntegrationConfigRequest.d.ts
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import type { EnumAction } from '../schemas/EnumAction';
|
|
2
2
|
import type { TypesCorrelationMapping } from '../schemas/TypesCorrelationMapping';
|
|
3
|
+
import type { TypesIngestionMapping } from '../schemas/TypesIngestionMapping';
|
|
3
4
|
import type { EnumIntegrationMode } from '../schemas/EnumIntegrationMode';
|
|
4
5
|
import type { EnumIntegrationType } from '../schemas/EnumIntegrationType';
|
|
5
6
|
import type { TypesMappingConfig } from '../schemas/TypesMappingConfig';
|
|
6
7
|
import type { TypesJsonSchema } from '../schemas/TypesJsonSchema';
|
|
7
|
-
import type { TypesSchemaMapping } from '../schemas/TypesSchemaMapping';
|
|
8
8
|
export interface OpenapiCreateIntegrationConfigRequest {
|
|
9
9
|
/**
|
|
10
|
-
* Per-kind write action. For Custom integrations this is forced to 'merge'.
|
|
10
|
+
* Per-kind write action. For Custom integrations this is forced to 'merge'. Harness Code forces every AI-asset kind to 'Register'. repo_details uses the caller's action and defaults to 'Merge_Register' when omitted.
|
|
11
11
|
*/
|
|
12
12
|
action_per_kind?: {
|
|
13
13
|
[key: string]: EnumAction;
|
|
@@ -29,6 +29,12 @@ export interface OpenapiCreateIntegrationConfigRequest {
|
|
|
29
29
|
* Stable identifier for the integration. Must be unique within its space.
|
|
30
30
|
*/
|
|
31
31
|
identifier?: string;
|
|
32
|
+
/**
|
|
33
|
+
* Per-kind ingestion→storage JQ mappings. REQUIRED for webhook mode (one entry per kind, mappings.identifier non-empty). Optional for other modes — when provided it overrides the auto-derived identity mapping.
|
|
34
|
+
*/
|
|
35
|
+
ingestion_mapping_per_kind?: {
|
|
36
|
+
[key: string]: TypesIngestionMapping;
|
|
37
|
+
};
|
|
32
38
|
integration_mode?: EnumIntegrationMode;
|
|
33
39
|
integration_type?: EnumIntegrationType;
|
|
34
40
|
/**
|
|
@@ -36,7 +42,7 @@ export interface OpenapiCreateIntegrationConfigRequest {
|
|
|
36
42
|
*/
|
|
37
43
|
kinds?: string[];
|
|
38
44
|
/**
|
|
39
|
-
* Per-kind mapping configuration including idp_kind, idp_type, and correlation. Supported for HarnessCI (required), HarnessK8s (optional) and Custom integrations (optional). For HarnessCI, one entry per kind is required; value must have non-empty correlation_mapping.source_path and operator 'eq'. For HarnessK8s an entry may omit correlation_mapping entirely, but a partially filled one is rejected: source_path and target_path are both required and operator must be 'eq'. An entry replaces the default correlation_mapping wholesale rather than patching it, so an entry that sets only idp_kind/idp_type leaves the kind un-correlated.
|
|
45
|
+
* Per-kind mapping configuration including idp_kind, idp_type, and correlation. Supported for HarnessCI (required), HarnessK8s (optional), Harness Code (optional idp_type only) and Custom integrations (optional). For HarnessCI, one entry per kind is required; value must have non-empty correlation_mapping.source_path and operator 'eq'. For HarnessK8s an entry may omit correlation_mapping entirely, but a partially filled one is rejected: source_path and target_path are both required and operator must be 'eq'. An entry replaces the default correlation_mapping wholesale rather than patching it, so an entry that sets only idp_kind/idp_type leaves the kind un-correlated. For Harness Code, AI-asset kinds accept only an idp_type override and reject correlation_mapping. repo_details accepts idp_kind and idp_type at create and an optional correlation_mapping with source_path and operator eq or contains. An empty correlation leaves the kind uncorrelated.
|
|
40
46
|
*/
|
|
41
47
|
mapping_config_per_kind?: {
|
|
42
48
|
[key: string]: TypesMappingConfig;
|
|
@@ -52,10 +58,11 @@ export interface OpenapiCreateIntegrationConfigRequest {
|
|
|
52
58
|
[key: string]: TypesJsonSchema;
|
|
53
59
|
};
|
|
54
60
|
/**
|
|
55
|
-
*
|
|
61
|
+
* Deprecated alias for ingestion_mapping_per_kind. Use ingestion_mapping_per_kind instead.
|
|
62
|
+
* @deprecated
|
|
56
63
|
*/
|
|
57
64
|
schema_mapping_per_kind?: {
|
|
58
|
-
[key: string]:
|
|
65
|
+
[key: string]: TypesIngestionMapping;
|
|
59
66
|
};
|
|
60
67
|
/**
|
|
61
68
|
* Optional source identifier for custom integrations.
|
|
@@ -11,6 +11,9 @@ export interface OpenapiUpdateAirbyteIntegrationConfigOrgRequest {
|
|
|
11
11
|
[key: string]: boolean;
|
|
12
12
|
};
|
|
13
13
|
discovered_catalog?: TypesAirbyteCatalogDiscovered;
|
|
14
|
+
entity_schema_filter_per_kind?: {
|
|
15
|
+
[key: string]: string;
|
|
16
|
+
};
|
|
14
17
|
field_mappings_per_kind?: {
|
|
15
18
|
[key: string]: TypesFieldMapping[];
|
|
16
19
|
};
|
|
@@ -11,6 +11,9 @@ export interface OpenapiUpdateAirbyteIntegrationConfigProjectRequest {
|
|
|
11
11
|
[key: string]: boolean;
|
|
12
12
|
};
|
|
13
13
|
discovered_catalog?: TypesAirbyteCatalogDiscovered;
|
|
14
|
+
entity_schema_filter_per_kind?: {
|
|
15
|
+
[key: string]: string;
|
|
16
|
+
};
|
|
14
17
|
field_mappings_per_kind?: {
|
|
15
18
|
[key: string]: TypesFieldMapping[];
|
|
16
19
|
};
|
|
@@ -11,6 +11,9 @@ export interface OpenapiUpdateAirbyteIntegrationConfigRequest {
|
|
|
11
11
|
[key: string]: boolean;
|
|
12
12
|
};
|
|
13
13
|
discovered_catalog?: TypesAirbyteCatalogDiscovered;
|
|
14
|
+
entity_schema_filter_per_kind?: {
|
|
15
|
+
[key: string]: string;
|
|
16
|
+
};
|
|
14
17
|
field_mappings_per_kind?: {
|
|
15
18
|
[key: string]: TypesFieldMapping[];
|
|
16
19
|
};
|
package/dist/integration-manager/src/services/schemas/OpenapiUpdateIntegrationConfigOrgRequest.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { EnumAction } from '../schemas/EnumAction';
|
|
2
2
|
import type { TypesCorrelationMapping } from '../schemas/TypesCorrelationMapping';
|
|
3
|
+
import type { TypesIngestionMapping } from '../schemas/TypesIngestionMapping';
|
|
3
4
|
import type { TypesMappingConfig } from '../schemas/TypesMappingConfig';
|
|
4
|
-
import type { TypesSchemaMapping } from '../schemas/TypesSchemaMapping';
|
|
5
5
|
export interface OpenapiUpdateIntegrationConfigOrgRequest {
|
|
6
6
|
action_per_kind?: {
|
|
7
7
|
[key: string]: EnumAction;
|
|
@@ -13,22 +13,29 @@ export interface OpenapiUpdateIntegrationConfigOrgRequest {
|
|
|
13
13
|
[key: string]: any;
|
|
14
14
|
} | null;
|
|
15
15
|
correlation_mapping?: TypesCorrelationMapping;
|
|
16
|
+
/**
|
|
17
|
+
* Per-kind ingestion→storage JQ mappings. When provided, replaces the IngestionMapping stored under the 'default' key on each kind's current EntitySchema and is also mirrored into configuration.schema_mapping_per_kind. Keys must match the integration's kinds and each mappings.identifier must be a non-empty JQ expression.
|
|
18
|
+
*/
|
|
19
|
+
ingestion_mapping_per_kind?: {
|
|
20
|
+
[key: string]: TypesIngestionMapping;
|
|
21
|
+
};
|
|
16
22
|
/**
|
|
17
23
|
* Entity kinds this integration supports (optional update).
|
|
18
24
|
*/
|
|
19
25
|
kinds?: string[];
|
|
20
26
|
/**
|
|
21
|
-
* Per-kind mapping configuration for HarnessCI and
|
|
27
|
+
* Per-kind mapping configuration for HarnessCI, HarnessK8s, and Harness Code. Key must match a kind in the resolved target kind set. For HarnessCI, correlation_mapping.source_path must be non-empty and operator 'eq'. For HarnessK8s, an all-empty correlation_mapping clears correlation; a partially filled one is rejected. idp_kind and idp_type are mutable for HarnessCI and HarnessK8s. For Harness Code, idp_kind and idp_type cannot be changed after create. AI-asset kinds reject correlation_mapping. repo_details accepts source_path, target_path, and operator eq or contains, and a supplied entry replaces correlation_mapping wholesale. Any entry replaces correlation_mapping wholesale rather than patching it, so an entry that sets only idp_kind/idp_type clears a configured correlation — always resend correlation_mapping alongside them.
|
|
22
28
|
*/
|
|
23
29
|
mapping_config_per_kind?: {
|
|
24
30
|
[key: string]: TypesMappingConfig;
|
|
25
31
|
};
|
|
26
32
|
name?: string | null;
|
|
27
33
|
/**
|
|
28
|
-
*
|
|
34
|
+
* Deprecated alias for ingestion_mapping_per_kind. Use ingestion_mapping_per_kind instead.
|
|
35
|
+
* @deprecated
|
|
29
36
|
*/
|
|
30
37
|
schema_mapping_per_kind?: {
|
|
31
|
-
[key: string]:
|
|
38
|
+
[key: string]: TypesIngestionMapping;
|
|
32
39
|
};
|
|
33
40
|
source?: string | null;
|
|
34
41
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { EnumAction } from '../schemas/EnumAction';
|
|
2
2
|
import type { TypesCorrelationMapping } from '../schemas/TypesCorrelationMapping';
|
|
3
|
+
import type { TypesIngestionMapping } from '../schemas/TypesIngestionMapping';
|
|
3
4
|
import type { TypesMappingConfig } from '../schemas/TypesMappingConfig';
|
|
4
|
-
import type { TypesSchemaMapping } from '../schemas/TypesSchemaMapping';
|
|
5
5
|
export interface OpenapiUpdateIntegrationConfigProjectRequest {
|
|
6
6
|
action_per_kind?: {
|
|
7
7
|
[key: string]: EnumAction;
|
|
@@ -13,22 +13,29 @@ export interface OpenapiUpdateIntegrationConfigProjectRequest {
|
|
|
13
13
|
[key: string]: any;
|
|
14
14
|
} | null;
|
|
15
15
|
correlation_mapping?: TypesCorrelationMapping;
|
|
16
|
+
/**
|
|
17
|
+
* Per-kind ingestion→storage JQ mappings. When provided, replaces the IngestionMapping stored under the 'default' key on each kind's current EntitySchema and is also mirrored into configuration.schema_mapping_per_kind. Keys must match the integration's kinds and each mappings.identifier must be a non-empty JQ expression.
|
|
18
|
+
*/
|
|
19
|
+
ingestion_mapping_per_kind?: {
|
|
20
|
+
[key: string]: TypesIngestionMapping;
|
|
21
|
+
};
|
|
16
22
|
/**
|
|
17
23
|
* Entity kinds this integration supports (optional update).
|
|
18
24
|
*/
|
|
19
25
|
kinds?: string[];
|
|
20
26
|
/**
|
|
21
|
-
* Per-kind mapping configuration for HarnessCI and
|
|
27
|
+
* Per-kind mapping configuration for HarnessCI, HarnessK8s, and Harness Code. Key must match a kind in the resolved target kind set. For HarnessCI, correlation_mapping.source_path must be non-empty and operator 'eq'. For HarnessK8s, an all-empty correlation_mapping clears correlation; a partially filled one is rejected. idp_kind and idp_type are mutable for HarnessCI and HarnessK8s. For Harness Code, idp_kind and idp_type cannot be changed after create. AI-asset kinds reject correlation_mapping. repo_details accepts source_path, target_path, and operator eq or contains, and a supplied entry replaces correlation_mapping wholesale. Any entry replaces correlation_mapping wholesale rather than patching it, so an entry that sets only idp_kind/idp_type clears a configured correlation — always resend correlation_mapping alongside them.
|
|
22
28
|
*/
|
|
23
29
|
mapping_config_per_kind?: {
|
|
24
30
|
[key: string]: TypesMappingConfig;
|
|
25
31
|
};
|
|
26
32
|
name?: string | null;
|
|
27
33
|
/**
|
|
28
|
-
*
|
|
34
|
+
* Deprecated alias for ingestion_mapping_per_kind. Use ingestion_mapping_per_kind instead.
|
|
35
|
+
* @deprecated
|
|
29
36
|
*/
|
|
30
37
|
schema_mapping_per_kind?: {
|
|
31
|
-
[key: string]:
|
|
38
|
+
[key: string]: TypesIngestionMapping;
|
|
32
39
|
};
|
|
33
40
|
source?: string | null;
|
|
34
41
|
}
|