@harnessio/react-integration-manager-client 0.8.9 → 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 +3 -0
- 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 +2 -1
- 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} +6 -1
- 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 +3 -2
- package/dist/integration-manager/src/services/schemas/OpenapiCreateIntegrationConfigProjectRequest.d.ts +3 -2
- package/dist/integration-manager/src/services/schemas/OpenapiCreateIntegrationConfigRequest.d.ts +3 -2
- 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 +2 -1
- package/dist/integration-manager/src/services/schemas/OpenapiUpdateIntegrationConfigProjectRequest.d.ts +2 -1
- package/dist/integration-manager/src/services/schemas/OpenapiUpdateIntegrationConfigRequest.d.ts +2 -1
- package/dist/integration-manager/src/services/schemas/TypesDefaultMappingField.d.ts +2 -0
- package/dist/integration-manager/src/services/schemas/TypesEntity.d.ts +2 -0
- package/dist/integration-manager/src/services/schemas/TypesIngestionMapping.d.ts +2 -2
- package/dist/integration-manager/src/services/schemas/TypesIntegrationConfig.d.ts +5 -0
- package/package.json +1 -1
- /package/dist/integration-manager/src/services/schemas/{IntegrationconfigAirbyteIntegrationResponse.js → OpenapiAirbyteIntegrationResponseDoc.js} +0 -0
|
@@ -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';
|
|
@@ -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';
|
|
@@ -2,9 +2,14 @@ import type { TypesAirbyteConnector } from '../schemas/TypesAirbyteConnector';
|
|
|
2
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
|
@@ -7,7 +7,7 @@ import type { TypesMappingConfig } from '../schemas/TypesMappingConfig';
|
|
|
7
7
|
import type { TypesJsonSchema } from '../schemas/TypesJsonSchema';
|
|
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;
|
|
@@ -42,7 +42,7 @@ export interface OpenapiCreateIntegrationConfigOrgRequest {
|
|
|
42
42
|
*/
|
|
43
43
|
kinds?: string[];
|
|
44
44
|
/**
|
|
45
|
-
* 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.
|
|
46
46
|
*/
|
|
47
47
|
mapping_config_per_kind?: {
|
|
48
48
|
[key: string]: TypesMappingConfig;
|
|
@@ -59,6 +59,7 @@ export interface OpenapiCreateIntegrationConfigOrgRequest {
|
|
|
59
59
|
};
|
|
60
60
|
/**
|
|
61
61
|
* Deprecated alias for ingestion_mapping_per_kind. Use ingestion_mapping_per_kind instead.
|
|
62
|
+
* @deprecated
|
|
62
63
|
*/
|
|
63
64
|
schema_mapping_per_kind?: {
|
|
64
65
|
[key: string]: TypesIngestionMapping;
|
|
@@ -7,7 +7,7 @@ import type { TypesMappingConfig } from '../schemas/TypesMappingConfig';
|
|
|
7
7
|
import type { TypesJsonSchema } from '../schemas/TypesJsonSchema';
|
|
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;
|
|
@@ -42,7 +42,7 @@ export interface OpenapiCreateIntegrationConfigProjectRequest {
|
|
|
42
42
|
*/
|
|
43
43
|
kinds?: string[];
|
|
44
44
|
/**
|
|
45
|
-
* 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.
|
|
46
46
|
*/
|
|
47
47
|
mapping_config_per_kind?: {
|
|
48
48
|
[key: string]: TypesMappingConfig;
|
|
@@ -59,6 +59,7 @@ export interface OpenapiCreateIntegrationConfigProjectRequest {
|
|
|
59
59
|
};
|
|
60
60
|
/**
|
|
61
61
|
* Deprecated alias for ingestion_mapping_per_kind. Use ingestion_mapping_per_kind instead.
|
|
62
|
+
* @deprecated
|
|
62
63
|
*/
|
|
63
64
|
schema_mapping_per_kind?: {
|
|
64
65
|
[key: string]: TypesIngestionMapping;
|
package/dist/integration-manager/src/services/schemas/OpenapiCreateIntegrationConfigRequest.d.ts
CHANGED
|
@@ -7,7 +7,7 @@ import type { TypesMappingConfig } from '../schemas/TypesMappingConfig';
|
|
|
7
7
|
import type { TypesJsonSchema } from '../schemas/TypesJsonSchema';
|
|
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;
|
|
@@ -42,7 +42,7 @@ export interface OpenapiCreateIntegrationConfigRequest {
|
|
|
42
42
|
*/
|
|
43
43
|
kinds?: string[];
|
|
44
44
|
/**
|
|
45
|
-
* 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.
|
|
46
46
|
*/
|
|
47
47
|
mapping_config_per_kind?: {
|
|
48
48
|
[key: string]: TypesMappingConfig;
|
|
@@ -59,6 +59,7 @@ export interface OpenapiCreateIntegrationConfigRequest {
|
|
|
59
59
|
};
|
|
60
60
|
/**
|
|
61
61
|
* Deprecated alias for ingestion_mapping_per_kind. Use ingestion_mapping_per_kind instead.
|
|
62
|
+
* @deprecated
|
|
62
63
|
*/
|
|
63
64
|
schema_mapping_per_kind?: {
|
|
64
65
|
[key: string]: TypesIngestionMapping;
|
|
@@ -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
|
@@ -24,7 +24,7 @@ export interface OpenapiUpdateIntegrationConfigOrgRequest {
|
|
|
24
24
|
*/
|
|
25
25
|
kinds?: string[];
|
|
26
26
|
/**
|
|
27
|
-
* 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.
|
|
28
28
|
*/
|
|
29
29
|
mapping_config_per_kind?: {
|
|
30
30
|
[key: string]: TypesMappingConfig;
|
|
@@ -32,6 +32,7 @@ export interface OpenapiUpdateIntegrationConfigOrgRequest {
|
|
|
32
32
|
name?: string | null;
|
|
33
33
|
/**
|
|
34
34
|
* Deprecated alias for ingestion_mapping_per_kind. Use ingestion_mapping_per_kind instead.
|
|
35
|
+
* @deprecated
|
|
35
36
|
*/
|
|
36
37
|
schema_mapping_per_kind?: {
|
|
37
38
|
[key: string]: TypesIngestionMapping;
|
|
@@ -24,7 +24,7 @@ export interface OpenapiUpdateIntegrationConfigProjectRequest {
|
|
|
24
24
|
*/
|
|
25
25
|
kinds?: string[];
|
|
26
26
|
/**
|
|
27
|
-
* 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.
|
|
28
28
|
*/
|
|
29
29
|
mapping_config_per_kind?: {
|
|
30
30
|
[key: string]: TypesMappingConfig;
|
|
@@ -32,6 +32,7 @@ export interface OpenapiUpdateIntegrationConfigProjectRequest {
|
|
|
32
32
|
name?: string | null;
|
|
33
33
|
/**
|
|
34
34
|
* Deprecated alias for ingestion_mapping_per_kind. Use ingestion_mapping_per_kind instead.
|
|
35
|
+
* @deprecated
|
|
35
36
|
*/
|
|
36
37
|
schema_mapping_per_kind?: {
|
|
37
38
|
[key: string]: TypesIngestionMapping;
|
package/dist/integration-manager/src/services/schemas/OpenapiUpdateIntegrationConfigRequest.d.ts
CHANGED
|
@@ -24,7 +24,7 @@ export interface OpenapiUpdateIntegrationConfigRequest {
|
|
|
24
24
|
*/
|
|
25
25
|
kinds?: string[];
|
|
26
26
|
/**
|
|
27
|
-
* 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.
|
|
28
28
|
*/
|
|
29
29
|
mapping_config_per_kind?: {
|
|
30
30
|
[key: string]: TypesMappingConfig;
|
|
@@ -32,6 +32,7 @@ export interface OpenapiUpdateIntegrationConfigRequest {
|
|
|
32
32
|
name?: string | null;
|
|
33
33
|
/**
|
|
34
34
|
* Deprecated alias for ingestion_mapping_per_kind. Use ingestion_mapping_per_kind instead.
|
|
35
|
+
* @deprecated
|
|
35
36
|
*/
|
|
36
37
|
schema_mapping_per_kind?: {
|
|
37
38
|
[key: string]: TypesIngestionMapping;
|
|
@@ -1,8 +1,10 @@
|
|
|
1
|
+
import type { EnumEntityDeleteReason } from '../schemas/EnumEntityDeleteReason';
|
|
1
2
|
import type { TimeDuration } from '../schemas/TimeDuration';
|
|
2
3
|
import type { TypesIdpSubscription } from '../schemas/TypesIdpSubscription';
|
|
3
4
|
import type { TypesReevalState } from '../schemas/TypesReevalState';
|
|
4
5
|
export interface TypesEntity {
|
|
5
6
|
created?: number;
|
|
7
|
+
delete_reason?: EnumEntityDeleteReason;
|
|
6
8
|
deleted_at?: number | null;
|
|
7
9
|
entity_ttl?: TimeDuration;
|
|
8
10
|
expire_at?: number | null;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { TypesMappingSpec } from '../schemas/TypesMappingSpec';
|
|
2
2
|
import type { TypesUdpConfig } from '../schemas/TypesUdpConfig';
|
|
3
|
-
export
|
|
3
|
+
export interface TypesIngestionMapping {
|
|
4
4
|
filter?: string;
|
|
5
5
|
mappings?: TypesMappingSpec;
|
|
6
6
|
udp_config?: TypesUdpConfig;
|
|
7
|
-
}
|
|
7
|
+
}
|
|
@@ -15,6 +15,7 @@ export interface TypesIntegrationConfig {
|
|
|
15
15
|
} | null;
|
|
16
16
|
created?: number;
|
|
17
17
|
deleted_at?: number | null;
|
|
18
|
+
description?: string;
|
|
18
19
|
enabled?: boolean;
|
|
19
20
|
entity_cleanup_pending?: boolean;
|
|
20
21
|
error?: {
|
|
@@ -32,10 +33,14 @@ export interface TypesIntegrationConfig {
|
|
|
32
33
|
name?: string;
|
|
33
34
|
next_sync?: number;
|
|
34
35
|
recent_clean_sync_starts?: number[];
|
|
36
|
+
revision?: number;
|
|
35
37
|
secondary_kinds?: string[];
|
|
36
38
|
source?: string | null;
|
|
37
39
|
space_path?: string;
|
|
38
40
|
status?: string;
|
|
39
41
|
sync?: TypesSyncState;
|
|
42
|
+
tags?: {
|
|
43
|
+
[key: string]: string;
|
|
44
|
+
};
|
|
40
45
|
version?: string;
|
|
41
46
|
}
|
package/package.json
CHANGED