@harnessio/react-integration-manager-client 0.8.1 → 0.8.3
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/useGetAirbyteConnectorCatalogQuery.d.ts +4 -0
- package/dist/integration-manager/src/services/hooks/useListDefaultMappingFieldsQuery.d.ts +1 -1
- package/dist/integration-manager/src/services/hooks/useListDefaultMappingFieldsQuery.js +1 -1
- package/dist/integration-manager/src/services/hooks/useListIntegrationConfigsOrgQuery.d.ts +9 -1
- package/dist/integration-manager/src/services/hooks/useListIntegrationConfigsProjectQuery.d.ts +9 -1
- package/dist/integration-manager/src/services/hooks/useListIntegrationConfigsQuery.d.ts +9 -1
- package/dist/integration-manager/src/services/index.d.ts +3 -0
- package/dist/integration-manager/src/services/schemas/OpenapiCreateIntegrationConfigOrgRequest.d.ts +8 -1
- package/dist/integration-manager/src/services/schemas/OpenapiCreateIntegrationConfigProjectRequest.d.ts +8 -1
- package/dist/integration-manager/src/services/schemas/OpenapiCreateIntegrationConfigRequest.d.ts +8 -1
- package/dist/integration-manager/src/services/schemas/OpenapiUpdateIntegrationConfigOrgRequest.d.ts +8 -1
- package/dist/integration-manager/src/services/schemas/OpenapiUpdateIntegrationConfigProjectRequest.d.ts +8 -1
- package/dist/integration-manager/src/services/schemas/OpenapiUpdateIntegrationConfigRequest.d.ts +8 -1
- package/dist/integration-manager/src/services/schemas/TypesAirbyteCatalogDiscovered.d.ts +1 -0
- package/dist/integration-manager/src/services/schemas/TypesCorrelationMapping.d.ts +1 -1
- package/dist/integration-manager/src/services/schemas/TypesDefaultEntitySchema.d.ts +2 -0
- package/dist/integration-manager/src/services/schemas/TypesDefaultFieldMapping.d.ts +5 -0
- package/dist/integration-manager/src/services/schemas/TypesDefaultFieldMapping.js +4 -0
- package/dist/integration-manager/src/services/schemas/TypesListDefaultMappingFieldsResponse.d.ts +2 -0
- package/dist/integration-manager/src/services/schemas/TypesSchemaMapping.d.ts +2 -0
- package/dist/integration-manager/src/services/schemas/TypesUdpConfig.d.ts +4 -0
- package/dist/integration-manager/src/services/schemas/TypesUdpConfig.js +1 -0
- package/dist/integration-manager/src/services/schemas/TypesUdpKeyField.d.ts +4 -0
- package/dist/integration-manager/src/services/schemas/TypesUdpKeyField.js +4 -0
- package/package.json +1 -1
|
@@ -23,6 +23,10 @@ export interface GetAirbyteConnectorCatalogQueryQueryParams {
|
|
|
23
23
|
* Start date filter
|
|
24
24
|
*/
|
|
25
25
|
start_date?: string;
|
|
26
|
+
/**
|
|
27
|
+
* When true returns only default streams
|
|
28
|
+
*/
|
|
29
|
+
fetch_default?: boolean;
|
|
26
30
|
}
|
|
27
31
|
export type GetAirbyteConnectorCatalogOkResponse = ResponseWithPagination<AirbyteGetAirbyteConnectorCatalogResponse>;
|
|
28
32
|
export type GetAirbyteConnectorCatalogErrorResponse = ApierrorsErrorResponse;
|
|
@@ -17,6 +17,6 @@ export interface ListDefaultMappingFieldsProps extends ListDefaultMappingFieldsQ
|
|
|
17
17
|
}
|
|
18
18
|
export declare function listDefaultMappingFields(props: ListDefaultMappingFieldsProps): Promise<ListDefaultMappingFieldsOkResponse>;
|
|
19
19
|
/**
|
|
20
|
-
* Returns fields from the default mapping for the given integration type. Query 'integration_type' is required. Only primary kinds are included. Only fields inside the mapping's metadata (properties.metadata) are returned. Response is
|
|
20
|
+
* Returns fields from the default mapping for the given integration type. Query 'integration_type' is required. Only primary kinds are included. Only fields inside the mapping's metadata (properties.metadata) are returned. Response is mapping_fields: an array of { kind, fields } where fields is a list of { field_name, display_name, description, target_path, is_required }. Response also includes default_mappings: integration-level fallback field mappings (source_field, target_field, required) applied when no kind-specific mapping is present. Optional query 'kind' filters to a single kind; when omitted, all primary kinds are returned.
|
|
21
21
|
*/
|
|
22
22
|
export declare function useListDefaultMappingFieldsQuery(props: ListDefaultMappingFieldsProps, options?: Omit<UseQueryOptions<ListDefaultMappingFieldsOkResponse, ListDefaultMappingFieldsErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<ListDefaultMappingFieldsOkResponse, ApierrorsErrorResponse>;
|
|
@@ -7,7 +7,7 @@ export function listDefaultMappingFields(props) {
|
|
|
7
7
|
return fetcher(Object.assign({ url: `/api/v1/accounts/${props.accountIdentifier}/integration/default-mapping-fields`, method: 'GET' }, props));
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
-
* Returns fields from the default mapping for the given integration type. Query 'integration_type' is required. Only primary kinds are included. Only fields inside the mapping's metadata (properties.metadata) are returned. Response is
|
|
10
|
+
* Returns fields from the default mapping for the given integration type. Query 'integration_type' is required. Only primary kinds are included. Only fields inside the mapping's metadata (properties.metadata) are returned. Response is mapping_fields: an array of { kind, fields } where fields is a list of { field_name, display_name, description, target_path, is_required }. Response also includes default_mappings: integration-level fallback field mappings (source_field, target_field, required) applied when no kind-specific mapping is present. Optional query 'kind' filters to a single kind; when omitted, all primary kinds are returned.
|
|
11
11
|
*/
|
|
12
12
|
export function useListDefaultMappingFieldsQuery(props, options) {
|
|
13
13
|
return useQuery(['listDefaultMappingFields', props.accountIdentifier, props.queryParams], ({ signal }) => listDefaultMappingFields(Object.assign(Object.assign({}, props), { signal })), options);
|
|
@@ -34,9 +34,17 @@ export interface ListIntegrationConfigsOrgQueryQueryParams {
|
|
|
34
34
|
*/
|
|
35
35
|
order?: 'asc' | 'desc';
|
|
36
36
|
/**
|
|
37
|
-
* When true, includes integrations defined at any ancestor scope of the caller's spacePath (e.g. for 'acc/org/proj' also returns integrations at 'acc/org' and 'acc'). Defaults to false — only integrations at the current space are returned.
|
|
37
|
+
* When true, includes integrations defined at any ancestor scope of the caller's spacePath (e.g. for 'acc/org/proj' also returns integrations at 'acc/org' and 'acc'). Defaults to false — only integrations at the current space are returned. Mutually exclusive with all_child_scope.
|
|
38
38
|
*/
|
|
39
39
|
allow_parent_scope?: boolean;
|
|
40
|
+
/**
|
|
41
|
+
* When true, includes integrations at the given scope and all descendant scopes (e.g. 'acc' returns acc, acc/*, acc/*/*). Defaults to false. Mutually exclusive with allow_parent_scope.
|
|
42
|
+
*/
|
|
43
|
+
all_child_scope?: boolean;
|
|
44
|
+
/**
|
|
45
|
+
* When set, filters integrations by enabled state (true = enabled only, false = disabled only). Omit to return all integrations regardless of enabled state.
|
|
46
|
+
*/
|
|
47
|
+
enabled?: boolean | null;
|
|
40
48
|
}
|
|
41
49
|
export type ListIntegrationConfigsOrgOkResponse = ResponseWithPagination<TypesIntegrationConfig[]>;
|
|
42
50
|
export type ListIntegrationConfigsOrgErrorResponse = unknown;
|
package/dist/integration-manager/src/services/hooks/useListIntegrationConfigsProjectQuery.d.ts
CHANGED
|
@@ -35,9 +35,17 @@ export interface ListIntegrationConfigsProjectQueryQueryParams {
|
|
|
35
35
|
*/
|
|
36
36
|
order?: 'asc' | 'desc';
|
|
37
37
|
/**
|
|
38
|
-
* When true, includes integrations defined at any ancestor scope of the caller's spacePath (e.g. for 'acc/org/proj' also returns integrations at 'acc/org' and 'acc'). Defaults to false — only integrations at the current space are returned.
|
|
38
|
+
* When true, includes integrations defined at any ancestor scope of the caller's spacePath (e.g. for 'acc/org/proj' also returns integrations at 'acc/org' and 'acc'). Defaults to false — only integrations at the current space are returned. Mutually exclusive with all_child_scope.
|
|
39
39
|
*/
|
|
40
40
|
allow_parent_scope?: boolean;
|
|
41
|
+
/**
|
|
42
|
+
* When true, includes integrations at the given scope and all descendant scopes (e.g. 'acc' returns acc, acc/*, acc/*/*). Defaults to false. Mutually exclusive with allow_parent_scope.
|
|
43
|
+
*/
|
|
44
|
+
all_child_scope?: boolean;
|
|
45
|
+
/**
|
|
46
|
+
* When set, filters integrations by enabled state (true = enabled only, false = disabled only). Omit to return all integrations regardless of enabled state.
|
|
47
|
+
*/
|
|
48
|
+
enabled?: boolean | null;
|
|
41
49
|
}
|
|
42
50
|
export type ListIntegrationConfigsProjectOkResponse = ResponseWithPagination<TypesIntegrationConfig[]>;
|
|
43
51
|
export type ListIntegrationConfigsProjectErrorResponse = unknown;
|
|
@@ -33,9 +33,17 @@ export interface ListIntegrationConfigsQueryQueryParams {
|
|
|
33
33
|
*/
|
|
34
34
|
order?: 'asc' | 'desc';
|
|
35
35
|
/**
|
|
36
|
-
* When true, includes integrations defined at any ancestor scope of the caller's spacePath (e.g. for 'acc/org/proj' also returns integrations at 'acc/org' and 'acc'). Defaults to false — only integrations at the current space are returned.
|
|
36
|
+
* When true, includes integrations defined at any ancestor scope of the caller's spacePath (e.g. for 'acc/org/proj' also returns integrations at 'acc/org' and 'acc'). Defaults to false — only integrations at the current space are returned. Mutually exclusive with all_child_scope.
|
|
37
37
|
*/
|
|
38
38
|
allow_parent_scope?: boolean;
|
|
39
|
+
/**
|
|
40
|
+
* When true, includes integrations at the given scope and all descendant scopes (e.g. 'acc' returns acc, acc/*, acc/*/*). Defaults to false. Mutually exclusive with allow_parent_scope.
|
|
41
|
+
*/
|
|
42
|
+
all_child_scope?: boolean;
|
|
43
|
+
/**
|
|
44
|
+
* When set, filters integrations by enabled state (true = enabled only, false = disabled only). Omit to return all integrations regardless of enabled state.
|
|
45
|
+
*/
|
|
46
|
+
enabled?: boolean | null;
|
|
39
47
|
}
|
|
40
48
|
export type ListIntegrationConfigsOkResponse = ResponseWithPagination<TypesIntegrationConfig[]>;
|
|
41
49
|
export type ListIntegrationConfigsErrorResponse = unknown;
|
|
@@ -261,6 +261,7 @@ export type { TypesCorrelationMapping } from './schemas/TypesCorrelationMapping'
|
|
|
261
261
|
export type { TypesDefaultAirbyteStreamSettings } from './schemas/TypesDefaultAirbyteStreamSettings';
|
|
262
262
|
export type { TypesDefaultEntityRelation } from './schemas/TypesDefaultEntityRelation';
|
|
263
263
|
export type { TypesDefaultEntitySchema } from './schemas/TypesDefaultEntitySchema';
|
|
264
|
+
export type { TypesDefaultFieldMapping } from './schemas/TypesDefaultFieldMapping';
|
|
264
265
|
export type { TypesDefaultKind } from './schemas/TypesDefaultKind';
|
|
265
266
|
export type { TypesDefaultMappingField } from './schemas/TypesDefaultMappingField';
|
|
266
267
|
export type { TypesDefaultRelationEnd } from './schemas/TypesDefaultRelationEnd';
|
|
@@ -313,3 +314,5 @@ export type { TypesSyncLogKeys } from './schemas/TypesSyncLogKeys';
|
|
|
313
314
|
export type { TypesSyncState } from './schemas/TypesSyncState';
|
|
314
315
|
export type { TypesTriggerSyncError } from './schemas/TypesTriggerSyncError';
|
|
315
316
|
export type { TypesTriggerSyncResponse } from './schemas/TypesTriggerSyncResponse';
|
|
317
|
+
export type { TypesUdpConfig } from './schemas/TypesUdpConfig';
|
|
318
|
+
export type { TypesUdpKeyField } from './schemas/TypesUdpKeyField';
|
package/dist/integration-manager/src/services/schemas/OpenapiCreateIntegrationConfigOrgRequest.d.ts
CHANGED
|
@@ -2,6 +2,7 @@ import type { EnumAction } from '../schemas/EnumAction';
|
|
|
2
2
|
import type { TypesCorrelationMapping } from '../schemas/TypesCorrelationMapping';
|
|
3
3
|
import type { EnumIntegrationMode } from '../schemas/EnumIntegrationMode';
|
|
4
4
|
import type { EnumIntegrationType } from '../schemas/EnumIntegrationType';
|
|
5
|
+
import type { TypesMappingConfig } from '../schemas/TypesMappingConfig';
|
|
5
6
|
import type { TypesJsonSchema } from '../schemas/TypesJsonSchema';
|
|
6
7
|
import type { TypesSchemaMapping } from '../schemas/TypesSchemaMapping';
|
|
7
8
|
export interface OpenapiCreateIntegrationConfigOrgRequest {
|
|
@@ -31,9 +32,15 @@ export interface OpenapiCreateIntegrationConfigOrgRequest {
|
|
|
31
32
|
integration_mode?: EnumIntegrationMode;
|
|
32
33
|
integration_type?: EnumIntegrationType;
|
|
33
34
|
/**
|
|
34
|
-
* Entity kinds to ingest. Custom integrations require exactly one kind.
|
|
35
|
+
* Entity kinds to ingest. Custom and HarnessCI integrations require exactly one kind.
|
|
35
36
|
*/
|
|
36
37
|
kinds?: string[];
|
|
38
|
+
/**
|
|
39
|
+
* Per-kind mapping configuration including idp_kind, idp_type, and correlation. Supported for HarnessCI (required) and Custom integrations (optional). For HarnessCI, one entry per kind is required; value must have non-empty correlation_mapping.source_path and operator 'eq'.
|
|
40
|
+
*/
|
|
41
|
+
mapping_config_per_kind?: {
|
|
42
|
+
[key: string]: TypesMappingConfig;
|
|
43
|
+
};
|
|
37
44
|
/**
|
|
38
45
|
* Human-readable name shown in the UI.
|
|
39
46
|
*/
|
|
@@ -2,6 +2,7 @@ import type { EnumAction } from '../schemas/EnumAction';
|
|
|
2
2
|
import type { TypesCorrelationMapping } from '../schemas/TypesCorrelationMapping';
|
|
3
3
|
import type { EnumIntegrationMode } from '../schemas/EnumIntegrationMode';
|
|
4
4
|
import type { EnumIntegrationType } from '../schemas/EnumIntegrationType';
|
|
5
|
+
import type { TypesMappingConfig } from '../schemas/TypesMappingConfig';
|
|
5
6
|
import type { TypesJsonSchema } from '../schemas/TypesJsonSchema';
|
|
6
7
|
import type { TypesSchemaMapping } from '../schemas/TypesSchemaMapping';
|
|
7
8
|
export interface OpenapiCreateIntegrationConfigProjectRequest {
|
|
@@ -31,9 +32,15 @@ export interface OpenapiCreateIntegrationConfigProjectRequest {
|
|
|
31
32
|
integration_mode?: EnumIntegrationMode;
|
|
32
33
|
integration_type?: EnumIntegrationType;
|
|
33
34
|
/**
|
|
34
|
-
* Entity kinds to ingest. Custom integrations require exactly one kind.
|
|
35
|
+
* Entity kinds to ingest. Custom and HarnessCI integrations require exactly one kind.
|
|
35
36
|
*/
|
|
36
37
|
kinds?: string[];
|
|
38
|
+
/**
|
|
39
|
+
* Per-kind mapping configuration including idp_kind, idp_type, and correlation. Supported for HarnessCI (required) and Custom integrations (optional). For HarnessCI, one entry per kind is required; value must have non-empty correlation_mapping.source_path and operator 'eq'.
|
|
40
|
+
*/
|
|
41
|
+
mapping_config_per_kind?: {
|
|
42
|
+
[key: string]: TypesMappingConfig;
|
|
43
|
+
};
|
|
37
44
|
/**
|
|
38
45
|
* Human-readable name shown in the UI.
|
|
39
46
|
*/
|
package/dist/integration-manager/src/services/schemas/OpenapiCreateIntegrationConfigRequest.d.ts
CHANGED
|
@@ -2,6 +2,7 @@ import type { EnumAction } from '../schemas/EnumAction';
|
|
|
2
2
|
import type { TypesCorrelationMapping } from '../schemas/TypesCorrelationMapping';
|
|
3
3
|
import type { EnumIntegrationMode } from '../schemas/EnumIntegrationMode';
|
|
4
4
|
import type { EnumIntegrationType } from '../schemas/EnumIntegrationType';
|
|
5
|
+
import type { TypesMappingConfig } from '../schemas/TypesMappingConfig';
|
|
5
6
|
import type { TypesJsonSchema } from '../schemas/TypesJsonSchema';
|
|
6
7
|
import type { TypesSchemaMapping } from '../schemas/TypesSchemaMapping';
|
|
7
8
|
export interface OpenapiCreateIntegrationConfigRequest {
|
|
@@ -31,9 +32,15 @@ export interface OpenapiCreateIntegrationConfigRequest {
|
|
|
31
32
|
integration_mode?: EnumIntegrationMode;
|
|
32
33
|
integration_type?: EnumIntegrationType;
|
|
33
34
|
/**
|
|
34
|
-
* Entity kinds to ingest. Custom integrations require exactly one kind.
|
|
35
|
+
* Entity kinds to ingest. Custom and HarnessCI integrations require exactly one kind.
|
|
35
36
|
*/
|
|
36
37
|
kinds?: string[];
|
|
38
|
+
/**
|
|
39
|
+
* Per-kind mapping configuration including idp_kind, idp_type, and correlation. Supported for HarnessCI (required) and Custom integrations (optional). For HarnessCI, one entry per kind is required; value must have non-empty correlation_mapping.source_path and operator 'eq'.
|
|
40
|
+
*/
|
|
41
|
+
mapping_config_per_kind?: {
|
|
42
|
+
[key: string]: TypesMappingConfig;
|
|
43
|
+
};
|
|
37
44
|
/**
|
|
38
45
|
* Human-readable name shown in the UI.
|
|
39
46
|
*/
|
package/dist/integration-manager/src/services/schemas/OpenapiUpdateIntegrationConfigOrgRequest.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { EnumAction } from '../schemas/EnumAction';
|
|
2
2
|
import type { TypesCorrelationMapping } from '../schemas/TypesCorrelationMapping';
|
|
3
|
+
import type { TypesMappingConfig } from '../schemas/TypesMappingConfig';
|
|
3
4
|
import type { TypesSchemaMapping } from '../schemas/TypesSchemaMapping';
|
|
4
5
|
export interface OpenapiUpdateIntegrationConfigOrgRequest {
|
|
5
6
|
action_per_kind?: {
|
|
@@ -13,9 +14,15 @@ export interface OpenapiUpdateIntegrationConfigOrgRequest {
|
|
|
13
14
|
} | null;
|
|
14
15
|
correlation_mapping?: TypesCorrelationMapping;
|
|
15
16
|
/**
|
|
16
|
-
* Entity kinds this integration supports (optional update).
|
|
17
|
+
* Entity kinds this integration supports (optional update).
|
|
17
18
|
*/
|
|
18
19
|
kinds?: string[];
|
|
20
|
+
/**
|
|
21
|
+
* Per-kind mapping configuration for HarnessCI. Key must match a kind in the resolved target kind set; value must have non-empty correlation_mapping.source_path and operator 'eq'. idp_kind and idp_type are mutable.
|
|
22
|
+
*/
|
|
23
|
+
mapping_config_per_kind?: {
|
|
24
|
+
[key: string]: TypesMappingConfig;
|
|
25
|
+
};
|
|
19
26
|
name?: string | null;
|
|
20
27
|
/**
|
|
21
28
|
* Per-kind ingestion→storage JQ mappings. When provided, replaces the SchemaMapping 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.
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { EnumAction } from '../schemas/EnumAction';
|
|
2
2
|
import type { TypesCorrelationMapping } from '../schemas/TypesCorrelationMapping';
|
|
3
|
+
import type { TypesMappingConfig } from '../schemas/TypesMappingConfig';
|
|
3
4
|
import type { TypesSchemaMapping } from '../schemas/TypesSchemaMapping';
|
|
4
5
|
export interface OpenapiUpdateIntegrationConfigProjectRequest {
|
|
5
6
|
action_per_kind?: {
|
|
@@ -13,9 +14,15 @@ export interface OpenapiUpdateIntegrationConfigProjectRequest {
|
|
|
13
14
|
} | null;
|
|
14
15
|
correlation_mapping?: TypesCorrelationMapping;
|
|
15
16
|
/**
|
|
16
|
-
* Entity kinds this integration supports (optional update).
|
|
17
|
+
* Entity kinds this integration supports (optional update).
|
|
17
18
|
*/
|
|
18
19
|
kinds?: string[];
|
|
20
|
+
/**
|
|
21
|
+
* Per-kind mapping configuration for HarnessCI. Key must match a kind in the resolved target kind set; value must have non-empty correlation_mapping.source_path and operator 'eq'. idp_kind and idp_type are mutable.
|
|
22
|
+
*/
|
|
23
|
+
mapping_config_per_kind?: {
|
|
24
|
+
[key: string]: TypesMappingConfig;
|
|
25
|
+
};
|
|
19
26
|
name?: string | null;
|
|
20
27
|
/**
|
|
21
28
|
* Per-kind ingestion→storage JQ mappings. When provided, replaces the SchemaMapping 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.
|
package/dist/integration-manager/src/services/schemas/OpenapiUpdateIntegrationConfigRequest.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { EnumAction } from '../schemas/EnumAction';
|
|
2
2
|
import type { TypesCorrelationMapping } from '../schemas/TypesCorrelationMapping';
|
|
3
|
+
import type { TypesMappingConfig } from '../schemas/TypesMappingConfig';
|
|
3
4
|
import type { TypesSchemaMapping } from '../schemas/TypesSchemaMapping';
|
|
4
5
|
export interface OpenapiUpdateIntegrationConfigRequest {
|
|
5
6
|
action_per_kind?: {
|
|
@@ -13,9 +14,15 @@ export interface OpenapiUpdateIntegrationConfigRequest {
|
|
|
13
14
|
} | null;
|
|
14
15
|
correlation_mapping?: TypesCorrelationMapping;
|
|
15
16
|
/**
|
|
16
|
-
* Entity kinds this integration supports (optional update).
|
|
17
|
+
* Entity kinds this integration supports (optional update).
|
|
17
18
|
*/
|
|
18
19
|
kinds?: string[];
|
|
20
|
+
/**
|
|
21
|
+
* Per-kind mapping configuration for HarnessCI. Key must match a kind in the resolved target kind set; value must have non-empty correlation_mapping.source_path and operator 'eq'. idp_kind and idp_type are mutable.
|
|
22
|
+
*/
|
|
23
|
+
mapping_config_per_kind?: {
|
|
24
|
+
[key: string]: TypesMappingConfig;
|
|
25
|
+
};
|
|
19
26
|
name?: string | null;
|
|
20
27
|
/**
|
|
21
28
|
* Per-kind ingestion→storage JQ mappings. When provided, replaces the SchemaMapping 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.
|
|
@@ -2,7 +2,7 @@ import type { EnumOperator } from '../schemas/EnumOperator';
|
|
|
2
2
|
export interface TypesCorrelationMapping {
|
|
3
3
|
operator?: EnumOperator;
|
|
4
4
|
/**
|
|
5
|
-
* Required.
|
|
5
|
+
* Required. Mutable for HarnessCI after create; immutable for Custom.
|
|
6
6
|
*/
|
|
7
7
|
source_path?: string;
|
|
8
8
|
/**
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { TypesDefaultFieldMapping } from '../schemas/TypesDefaultFieldMapping';
|
|
1
2
|
import type { EnumIntegrationType } from '../schemas/EnumIntegrationType';
|
|
2
3
|
import type { TypesDefaultKind } from '../schemas/TypesDefaultKind';
|
|
3
4
|
import type { TypesDefaultEntityRelation } from '../schemas/TypesDefaultEntityRelation';
|
|
@@ -7,6 +8,7 @@ export interface TypesDefaultEntitySchema {
|
|
|
7
8
|
[key: string]: any;
|
|
8
9
|
} | null;
|
|
9
10
|
created?: number;
|
|
11
|
+
default_field_mappings?: TypesDefaultFieldMapping[];
|
|
10
12
|
integration_type?: EnumIntegrationType;
|
|
11
13
|
kinds?: {
|
|
12
14
|
[key: string]: TypesDefaultKind;
|
package/dist/integration-manager/src/services/schemas/TypesListDefaultMappingFieldsResponse.d.ts
CHANGED
|
@@ -1,4 +1,6 @@
|
|
|
1
|
+
import type { TypesDefaultFieldMapping } from '../schemas/TypesDefaultFieldMapping';
|
|
1
2
|
import type { TypesKindMappingFields } from '../schemas/TypesKindMappingFields';
|
|
2
3
|
export interface TypesListDefaultMappingFieldsResponse {
|
|
4
|
+
default_mappings?: TypesDefaultFieldMapping[];
|
|
3
5
|
mapping_fields?: TypesKindMappingFields[] | null;
|
|
4
6
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/package.json
CHANGED