@harnessio/react-integration-manager-client 0.8.7 → 0.8.9
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/useCreateIntegrationConfigMutation.d.ts +1 -1
- package/dist/integration-manager/src/services/hooks/useCreateIntegrationConfigMutation.js +1 -1
- package/dist/integration-manager/src/services/hooks/useCreateIntegrationConfigOrgMutation.d.ts +1 -1
- package/dist/integration-manager/src/services/hooks/useCreateIntegrationConfigOrgMutation.js +1 -1
- package/dist/integration-manager/src/services/hooks/useCreateIntegrationConfigProjectMutation.d.ts +1 -1
- package/dist/integration-manager/src/services/hooks/useCreateIntegrationConfigProjectMutation.js +1 -1
- package/dist/integration-manager/src/services/hooks/useUpdateIntegrationConfigMutation.d.ts +1 -1
- package/dist/integration-manager/src/services/hooks/useUpdateIntegrationConfigMutation.js +1 -1
- package/dist/integration-manager/src/services/hooks/useUpdateIntegrationConfigOrgMutation.d.ts +1 -1
- package/dist/integration-manager/src/services/hooks/useUpdateIntegrationConfigOrgMutation.js +1 -1
- package/dist/integration-manager/src/services/hooks/useUpdateIntegrationConfigProjectMutation.d.ts +1 -1
- package/dist/integration-manager/src/services/hooks/useUpdateIntegrationConfigProjectMutation.js +1 -1
- package/dist/integration-manager/src/services/index.d.ts +4 -3
- package/dist/integration-manager/src/services/schemas/EnumIntegrationType.d.ts +1 -1
- package/dist/integration-manager/src/services/schemas/IntegrationconfigAirbyteIntegrationResponse.d.ts +2 -2
- package/dist/integration-manager/src/services/schemas/OpenapiCreateIntegrationConfigOrgRequest.d.ts +9 -3
- package/dist/integration-manager/src/services/schemas/OpenapiCreateIntegrationConfigProjectRequest.d.ts +9 -3
- package/dist/integration-manager/src/services/schemas/OpenapiCreateIntegrationConfigRequest.d.ts +9 -3
- package/dist/integration-manager/src/services/schemas/OpenapiUpdateIntegrationConfigOrgRequest.d.ts +9 -3
- package/dist/integration-manager/src/services/schemas/OpenapiUpdateIntegrationConfigProjectRequest.d.ts +9 -3
- package/dist/integration-manager/src/services/schemas/OpenapiUpdateIntegrationConfigRequest.d.ts +9 -3
- package/dist/integration-manager/src/services/schemas/TypesAirbyteConnectorImageSettings.d.ts +1 -0
- package/dist/integration-manager/src/services/schemas/TypesDefaultKind.d.ts +2 -2
- package/dist/integration-manager/src/services/schemas/TypesDefaultMappingField.d.ts +0 -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/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} +1 -1
- package/dist/integration-manager/src/services/schemas/TypesIntegrationConfig.d.ts +2 -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/{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
|
@@ -15,6 +15,6 @@ export interface CreateIntegrationConfigProps extends CreateIntegrationConfigMut
|
|
|
15
15
|
}
|
|
16
16
|
export declare function createIntegrationConfig(props: CreateIntegrationConfigProps): Promise<CreateIntegrationConfigOkResponse>;
|
|
17
17
|
/**
|
|
18
|
-
* Creates a new integration configuration. If correlation_mapping is provided, source_path must be non-empty and operator must be 'eq'. The correlation_mapping is also persisted into configuration.correlation_mapping. For Custom integrations, integration_mode may be set to 'webhook'. In webhook mode: (a) exactly one entry in kinds; (b)
|
|
18
|
+
* Creates a new integration configuration. If correlation_mapping is provided, source_path must be non-empty and operator must be 'eq'. The correlation_mapping is also persisted into configuration.correlation_mapping. For Custom integrations, integration_mode may be set to 'webhook'. In webhook mode: (a) exactly one entry in kinds; (b) ingestion_mapping_per_kind is REQUIRED with one entry per kind and mappings.identifier non-empty (the deprecated alias schema_mapping_per_kind is still accepted); (c) configuration.webhook_auth is REQUIRED and must be a valid WebhookAuth object (auth_type 'hmac_auth' or 'jwt_auth'; hmac_auth requires hash_algo + auth_header + secret_ref; jwt_auth rejects any of those fields); (d) payload_schema_per_kind is optional and only supported for the 'custom' kind — other kinds fall back to the built-in default schema; (e) the response configuration.webhook_endpoints_per_kind carries one URL per kind of the shape '/api/v1/accounts/.../webhooks/{16-char-hex}', which external systems POST payloads to.
|
|
19
19
|
*/
|
|
20
20
|
export declare function useCreateIntegrationConfigMutation(options?: Omit<UseMutationOptions<CreateIntegrationConfigOkResponse, CreateIntegrationConfigErrorResponse, CreateIntegrationConfigProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<CreateIntegrationConfigOkResponse, ApierrorsErrorResponse, CreateIntegrationConfigProps, unknown>;
|
|
@@ -7,7 +7,7 @@ export function createIntegrationConfig(props) {
|
|
|
7
7
|
return fetcher(Object.assign({ url: `/api/v1/accounts/${props.accountIdentifier}/integration-configs`, method: 'POST' }, props));
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
-
* Creates a new integration configuration. If correlation_mapping is provided, source_path must be non-empty and operator must be 'eq'. The correlation_mapping is also persisted into configuration.correlation_mapping. For Custom integrations, integration_mode may be set to 'webhook'. In webhook mode: (a) exactly one entry in kinds; (b)
|
|
10
|
+
* Creates a new integration configuration. If correlation_mapping is provided, source_path must be non-empty and operator must be 'eq'. The correlation_mapping is also persisted into configuration.correlation_mapping. For Custom integrations, integration_mode may be set to 'webhook'. In webhook mode: (a) exactly one entry in kinds; (b) ingestion_mapping_per_kind is REQUIRED with one entry per kind and mappings.identifier non-empty (the deprecated alias schema_mapping_per_kind is still accepted); (c) configuration.webhook_auth is REQUIRED and must be a valid WebhookAuth object (auth_type 'hmac_auth' or 'jwt_auth'; hmac_auth requires hash_algo + auth_header + secret_ref; jwt_auth rejects any of those fields); (d) payload_schema_per_kind is optional and only supported for the 'custom' kind — other kinds fall back to the built-in default schema; (e) the response configuration.webhook_endpoints_per_kind carries one URL per kind of the shape '/api/v1/accounts/.../webhooks/{16-char-hex}', which external systems POST payloads to.
|
|
11
11
|
*/
|
|
12
12
|
export function useCreateIntegrationConfigMutation(options) {
|
|
13
13
|
return useMutation((mutateProps) => createIntegrationConfig(mutateProps), options);
|
package/dist/integration-manager/src/services/hooks/useCreateIntegrationConfigOrgMutation.d.ts
CHANGED
|
@@ -16,6 +16,6 @@ export interface CreateIntegrationConfigOrgProps extends CreateIntegrationConfig
|
|
|
16
16
|
}
|
|
17
17
|
export declare function createIntegrationConfigOrg(props: CreateIntegrationConfigOrgProps): Promise<CreateIntegrationConfigOrgOkResponse>;
|
|
18
18
|
/**
|
|
19
|
-
* Creates a new integration configuration at organization level. If correlation_mapping is provided, source_path must be non-empty and operator must be 'eq'. The correlation_mapping is also persisted into configuration.correlation_mapping. For Custom integrations, integration_mode may be set to 'webhook'. In webhook mode: (a) exactly one entry in kinds; (b)
|
|
19
|
+
* Creates a new integration configuration at organization level. If correlation_mapping is provided, source_path must be non-empty and operator must be 'eq'. The correlation_mapping is also persisted into configuration.correlation_mapping. For Custom integrations, integration_mode may be set to 'webhook'. In webhook mode: (a) exactly one entry in kinds; (b) ingestion_mapping_per_kind is REQUIRED with one entry per kind and mappings.identifier non-empty (the deprecated alias schema_mapping_per_kind is still accepted); (c) configuration.webhook_auth is REQUIRED and must be a valid WebhookAuth object (auth_type 'hmac_auth' or 'jwt_auth'; hmac_auth requires hash_algo + auth_header + secret_ref; jwt_auth rejects any of those fields); (d) payload_schema_per_kind is optional and only supported for the 'custom' kind — other kinds fall back to the built-in default schema; (e) the response configuration.webhook_endpoints_per_kind carries one URL per kind of the shape '/api/v1/accounts/.../webhooks/{16-char-hex}', which external systems POST payloads to.
|
|
20
20
|
*/
|
|
21
21
|
export declare function useCreateIntegrationConfigOrgMutation(options?: Omit<UseMutationOptions<CreateIntegrationConfigOrgOkResponse, CreateIntegrationConfigOrgErrorResponse, CreateIntegrationConfigOrgProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<CreateIntegrationConfigOrgOkResponse, ApierrorsErrorResponse, CreateIntegrationConfigOrgProps, unknown>;
|
package/dist/integration-manager/src/services/hooks/useCreateIntegrationConfigOrgMutation.js
CHANGED
|
@@ -7,7 +7,7 @@ export function createIntegrationConfigOrg(props) {
|
|
|
7
7
|
return fetcher(Object.assign({ url: `/api/v1/accounts/${props.accountIdentifier}/orgs/${props.orgIdentifier}/integration-configs`, method: 'POST' }, props));
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
-
* Creates a new integration configuration at organization level. If correlation_mapping is provided, source_path must be non-empty and operator must be 'eq'. The correlation_mapping is also persisted into configuration.correlation_mapping. For Custom integrations, integration_mode may be set to 'webhook'. In webhook mode: (a) exactly one entry in kinds; (b)
|
|
10
|
+
* Creates a new integration configuration at organization level. If correlation_mapping is provided, source_path must be non-empty and operator must be 'eq'. The correlation_mapping is also persisted into configuration.correlation_mapping. For Custom integrations, integration_mode may be set to 'webhook'. In webhook mode: (a) exactly one entry in kinds; (b) ingestion_mapping_per_kind is REQUIRED with one entry per kind and mappings.identifier non-empty (the deprecated alias schema_mapping_per_kind is still accepted); (c) configuration.webhook_auth is REQUIRED and must be a valid WebhookAuth object (auth_type 'hmac_auth' or 'jwt_auth'; hmac_auth requires hash_algo + auth_header + secret_ref; jwt_auth rejects any of those fields); (d) payload_schema_per_kind is optional and only supported for the 'custom' kind — other kinds fall back to the built-in default schema; (e) the response configuration.webhook_endpoints_per_kind carries one URL per kind of the shape '/api/v1/accounts/.../webhooks/{16-char-hex}', which external systems POST payloads to.
|
|
11
11
|
*/
|
|
12
12
|
export function useCreateIntegrationConfigOrgMutation(options) {
|
|
13
13
|
return useMutation((mutateProps) => createIntegrationConfigOrg(mutateProps), options);
|
package/dist/integration-manager/src/services/hooks/useCreateIntegrationConfigProjectMutation.d.ts
CHANGED
|
@@ -17,6 +17,6 @@ export interface CreateIntegrationConfigProjectProps extends CreateIntegrationCo
|
|
|
17
17
|
}
|
|
18
18
|
export declare function createIntegrationConfigProject(props: CreateIntegrationConfigProjectProps): Promise<CreateIntegrationConfigProjectOkResponse>;
|
|
19
19
|
/**
|
|
20
|
-
* Creates a new integration configuration at project level. If correlation_mapping is provided, source_path must be non-empty and operator must be 'eq'. The correlation_mapping is also persisted into configuration.correlation_mapping. For Custom integrations, integration_mode may be set to 'webhook'. In webhook mode: (a) exactly one entry in kinds; (b)
|
|
20
|
+
* Creates a new integration configuration at project level. If correlation_mapping is provided, source_path must be non-empty and operator must be 'eq'. The correlation_mapping is also persisted into configuration.correlation_mapping. For Custom integrations, integration_mode may be set to 'webhook'. In webhook mode: (a) exactly one entry in kinds; (b) ingestion_mapping_per_kind is REQUIRED with one entry per kind and mappings.identifier non-empty (the deprecated alias schema_mapping_per_kind is still accepted); (c) configuration.webhook_auth is REQUIRED and must be a valid WebhookAuth object (auth_type 'hmac_auth' or 'jwt_auth'; hmac_auth requires hash_algo + auth_header + secret_ref; jwt_auth rejects any of those fields); (d) payload_schema_per_kind is optional and only supported for the 'custom' kind — other kinds fall back to the built-in default schema; (e) the response configuration.webhook_endpoints_per_kind carries one URL per kind of the shape '/api/v1/accounts/.../webhooks/{16-char-hex}', which external systems POST payloads to.
|
|
21
21
|
*/
|
|
22
22
|
export declare function useCreateIntegrationConfigProjectMutation(options?: Omit<UseMutationOptions<CreateIntegrationConfigProjectOkResponse, CreateIntegrationConfigProjectErrorResponse, CreateIntegrationConfigProjectProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<CreateIntegrationConfigProjectOkResponse, ApierrorsErrorResponse, CreateIntegrationConfigProjectProps, unknown>;
|
package/dist/integration-manager/src/services/hooks/useCreateIntegrationConfigProjectMutation.js
CHANGED
|
@@ -7,7 +7,7 @@ export function createIntegrationConfigProject(props) {
|
|
|
7
7
|
return fetcher(Object.assign({ url: `/api/v1/accounts/${props.accountIdentifier}/orgs/${props.orgIdentifier}/projects/${props.projectIdentifier}/integration-configs`, method: 'POST' }, props));
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
-
* Creates a new integration configuration at project level. If correlation_mapping is provided, source_path must be non-empty and operator must be 'eq'. The correlation_mapping is also persisted into configuration.correlation_mapping. For Custom integrations, integration_mode may be set to 'webhook'. In webhook mode: (a) exactly one entry in kinds; (b)
|
|
10
|
+
* Creates a new integration configuration at project level. If correlation_mapping is provided, source_path must be non-empty and operator must be 'eq'. The correlation_mapping is also persisted into configuration.correlation_mapping. For Custom integrations, integration_mode may be set to 'webhook'. In webhook mode: (a) exactly one entry in kinds; (b) ingestion_mapping_per_kind is REQUIRED with one entry per kind and mappings.identifier non-empty (the deprecated alias schema_mapping_per_kind is still accepted); (c) configuration.webhook_auth is REQUIRED and must be a valid WebhookAuth object (auth_type 'hmac_auth' or 'jwt_auth'; hmac_auth requires hash_algo + auth_header + secret_ref; jwt_auth rejects any of those fields); (d) payload_schema_per_kind is optional and only supported for the 'custom' kind — other kinds fall back to the built-in default schema; (e) the response configuration.webhook_endpoints_per_kind carries one URL per kind of the shape '/api/v1/accounts/.../webhooks/{16-char-hex}', which external systems POST payloads to.
|
|
11
11
|
*/
|
|
12
12
|
export function useCreateIntegrationConfigProjectMutation(options) {
|
|
13
13
|
return useMutation((mutateProps) => createIntegrationConfigProject(mutateProps), options);
|
|
@@ -16,6 +16,6 @@ export interface UpdateIntegrationConfigProps extends UpdateIntegrationConfigMut
|
|
|
16
16
|
}
|
|
17
17
|
export declare function updateIntegrationConfig(props: UpdateIntegrationConfigProps): Promise<UpdateIntegrationConfigOkResponse>;
|
|
18
18
|
/**
|
|
19
|
-
* Updates an integration configuration. Set configuration.rate_limit.rpm to override the per-integration custom-entity-upsert rate limit; the change propagates across all replicas immediately. For correlation_mapping: on first add, source_path is required and operator must be 'eq'; on subsequent updates only target_path can be changed (source_path and operator are immutable). When provided, correlation_mapping is also embedded into configuration.correlation_mapping (unrelated configuration keys are preserved). When schema_mapping_per_kind is
|
|
19
|
+
* Updates an integration configuration. Set configuration.rate_limit.rpm to override the per-integration custom-entity-upsert rate limit; the change propagates across all replicas immediately. For correlation_mapping: on first add, source_path is required and operator must be 'eq'; on subsequent updates only target_path can be changed (source_path and operator are immutable). When provided, correlation_mapping is also embedded into configuration.correlation_mapping (unrelated configuration keys are preserved). When ingestion_mapping_per_kind is provided (the deprecated alias schema_mapping_per_kind is still accepted), its keys must match the existing integration's kinds and each mappings.identifier must be a non-empty JQ expression. Each entry replaces the IngestionMapping stored under the 'default' key on that kind's current EntitySchema (partial per-kind updates are supported — kinds omitted from the map are untouched). The map is also mirrored into configuration.schema_mapping_per_kind for read parity with create.
|
|
20
20
|
*/
|
|
21
21
|
export declare function useUpdateIntegrationConfigMutation(options?: Omit<UseMutationOptions<UpdateIntegrationConfigOkResponse, UpdateIntegrationConfigErrorResponse, UpdateIntegrationConfigProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<UpdateIntegrationConfigOkResponse, ApierrorsErrorResponse, UpdateIntegrationConfigProps, unknown>;
|
|
@@ -7,7 +7,7 @@ export function updateIntegrationConfig(props) {
|
|
|
7
7
|
return fetcher(Object.assign({ url: `/api/v1/accounts/${props.accountIdentifier}/integration-configs/${props.integrationconfig_identifier}`, method: 'PUT' }, props));
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
-
* Updates an integration configuration. Set configuration.rate_limit.rpm to override the per-integration custom-entity-upsert rate limit; the change propagates across all replicas immediately. For correlation_mapping: on first add, source_path is required and operator must be 'eq'; on subsequent updates only target_path can be changed (source_path and operator are immutable). When provided, correlation_mapping is also embedded into configuration.correlation_mapping (unrelated configuration keys are preserved). When schema_mapping_per_kind is
|
|
10
|
+
* Updates an integration configuration. Set configuration.rate_limit.rpm to override the per-integration custom-entity-upsert rate limit; the change propagates across all replicas immediately. For correlation_mapping: on first add, source_path is required and operator must be 'eq'; on subsequent updates only target_path can be changed (source_path and operator are immutable). When provided, correlation_mapping is also embedded into configuration.correlation_mapping (unrelated configuration keys are preserved). When ingestion_mapping_per_kind is provided (the deprecated alias schema_mapping_per_kind is still accepted), its keys must match the existing integration's kinds and each mappings.identifier must be a non-empty JQ expression. Each entry replaces the IngestionMapping stored under the 'default' key on that kind's current EntitySchema (partial per-kind updates are supported — kinds omitted from the map are untouched). The map is also mirrored into configuration.schema_mapping_per_kind for read parity with create.
|
|
11
11
|
*/
|
|
12
12
|
export function useUpdateIntegrationConfigMutation(options) {
|
|
13
13
|
return useMutation((mutateProps) => updateIntegrationConfig(mutateProps), options);
|
package/dist/integration-manager/src/services/hooks/useUpdateIntegrationConfigOrgMutation.d.ts
CHANGED
|
@@ -17,6 +17,6 @@ export interface UpdateIntegrationConfigOrgProps extends UpdateIntegrationConfig
|
|
|
17
17
|
}
|
|
18
18
|
export declare function updateIntegrationConfigOrg(props: UpdateIntegrationConfigOrgProps): Promise<UpdateIntegrationConfigOrgOkResponse>;
|
|
19
19
|
/**
|
|
20
|
-
* Updates an integration configuration at organization level. Supports auto_import_per_kind, action_per_kind, and configuration. When action_per_kind is not provided, all kinds default to Merge_Register. Set configuration.rate_limit.rpm to override the per-integration custom-entity-upsert rate limit; the change propagates across all replicas immediately. For correlation_mapping: on first add, source_path is required and operator must be 'eq'; on subsequent updates only target_path can be changed (source_path and operator are immutable). When provided, correlation_mapping is also embedded into configuration.correlation_mapping (unrelated configuration keys are preserved). When schema_mapping_per_kind is
|
|
20
|
+
* Updates an integration configuration at organization level. Supports auto_import_per_kind, action_per_kind, and configuration. When action_per_kind is not provided, all kinds default to Merge_Register. Set configuration.rate_limit.rpm to override the per-integration custom-entity-upsert rate limit; the change propagates across all replicas immediately. For correlation_mapping: on first add, source_path is required and operator must be 'eq'; on subsequent updates only target_path can be changed (source_path and operator are immutable). When provided, correlation_mapping is also embedded into configuration.correlation_mapping (unrelated configuration keys are preserved). When ingestion_mapping_per_kind is provided (the deprecated alias schema_mapping_per_kind is still accepted), its keys must match the existing integration's kinds and each mappings.identifier must be a non-empty JQ expression. Each entry replaces the IngestionMapping stored under the 'default' key on that kind's current EntitySchema (partial per-kind updates are supported — kinds omitted from the map are untouched). The map is also mirrored into configuration.schema_mapping_per_kind for read parity with create.
|
|
21
21
|
*/
|
|
22
22
|
export declare function useUpdateIntegrationConfigOrgMutation(options?: Omit<UseMutationOptions<UpdateIntegrationConfigOrgOkResponse, UpdateIntegrationConfigOrgErrorResponse, UpdateIntegrationConfigOrgProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<UpdateIntegrationConfigOrgOkResponse, ApierrorsErrorResponse, UpdateIntegrationConfigOrgProps, unknown>;
|
package/dist/integration-manager/src/services/hooks/useUpdateIntegrationConfigOrgMutation.js
CHANGED
|
@@ -7,7 +7,7 @@ export function updateIntegrationConfigOrg(props) {
|
|
|
7
7
|
return fetcher(Object.assign({ url: `/api/v1/accounts/${props.accountIdentifier}/orgs/${props.orgIdentifier}/integration-configs/${props.integrationconfig_identifier}`, method: 'PUT' }, props));
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
-
* Updates an integration configuration at organization level. Supports auto_import_per_kind, action_per_kind, and configuration. When action_per_kind is not provided, all kinds default to Merge_Register. Set configuration.rate_limit.rpm to override the per-integration custom-entity-upsert rate limit; the change propagates across all replicas immediately. For correlation_mapping: on first add, source_path is required and operator must be 'eq'; on subsequent updates only target_path can be changed (source_path and operator are immutable). When provided, correlation_mapping is also embedded into configuration.correlation_mapping (unrelated configuration keys are preserved). When schema_mapping_per_kind is
|
|
10
|
+
* Updates an integration configuration at organization level. Supports auto_import_per_kind, action_per_kind, and configuration. When action_per_kind is not provided, all kinds default to Merge_Register. Set configuration.rate_limit.rpm to override the per-integration custom-entity-upsert rate limit; the change propagates across all replicas immediately. For correlation_mapping: on first add, source_path is required and operator must be 'eq'; on subsequent updates only target_path can be changed (source_path and operator are immutable). When provided, correlation_mapping is also embedded into configuration.correlation_mapping (unrelated configuration keys are preserved). When ingestion_mapping_per_kind is provided (the deprecated alias schema_mapping_per_kind is still accepted), its keys must match the existing integration's kinds and each mappings.identifier must be a non-empty JQ expression. Each entry replaces the IngestionMapping stored under the 'default' key on that kind's current EntitySchema (partial per-kind updates are supported — kinds omitted from the map are untouched). The map is also mirrored into configuration.schema_mapping_per_kind for read parity with create.
|
|
11
11
|
*/
|
|
12
12
|
export function useUpdateIntegrationConfigOrgMutation(options) {
|
|
13
13
|
return useMutation((mutateProps) => updateIntegrationConfigOrg(mutateProps), options);
|
package/dist/integration-manager/src/services/hooks/useUpdateIntegrationConfigProjectMutation.d.ts
CHANGED
|
@@ -18,6 +18,6 @@ export interface UpdateIntegrationConfigProjectProps extends UpdateIntegrationCo
|
|
|
18
18
|
}
|
|
19
19
|
export declare function updateIntegrationConfigProject(props: UpdateIntegrationConfigProjectProps): Promise<UpdateIntegrationConfigProjectOkResponse>;
|
|
20
20
|
/**
|
|
21
|
-
* Updates an integration configuration at project level. Supports auto_import_per_kind, action_per_kind, and configuration. When action_per_kind is not provided, all kinds default to Merge_Register. Set configuration.rate_limit.rpm to override the per-integration custom-entity-upsert rate limit; the change propagates across all replicas immediately. For correlation_mapping: on first add, source_path is required and operator must be 'eq'; on subsequent updates only target_path can be changed (source_path and operator are immutable). When provided, correlation_mapping is also embedded into configuration.correlation_mapping (unrelated configuration keys are preserved). When schema_mapping_per_kind is
|
|
21
|
+
* Updates an integration configuration at project level. Supports auto_import_per_kind, action_per_kind, and configuration. When action_per_kind is not provided, all kinds default to Merge_Register. Set configuration.rate_limit.rpm to override the per-integration custom-entity-upsert rate limit; the change propagates across all replicas immediately. For correlation_mapping: on first add, source_path is required and operator must be 'eq'; on subsequent updates only target_path can be changed (source_path and operator are immutable). When provided, correlation_mapping is also embedded into configuration.correlation_mapping (unrelated configuration keys are preserved). When ingestion_mapping_per_kind is provided (the deprecated alias schema_mapping_per_kind is still accepted), its keys must match the existing integration's kinds and each mappings.identifier must be a non-empty JQ expression. Each entry replaces the IngestionMapping stored under the 'default' key on that kind's current EntitySchema (partial per-kind updates are supported — kinds omitted from the map are untouched). The map is also mirrored into configuration.schema_mapping_per_kind for read parity with create.
|
|
22
22
|
*/
|
|
23
23
|
export declare function useUpdateIntegrationConfigProjectMutation(options?: Omit<UseMutationOptions<UpdateIntegrationConfigProjectOkResponse, UpdateIntegrationConfigProjectErrorResponse, UpdateIntegrationConfigProjectProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<UpdateIntegrationConfigProjectOkResponse, ApierrorsErrorResponse, UpdateIntegrationConfigProjectProps, unknown>;
|
package/dist/integration-manager/src/services/hooks/useUpdateIntegrationConfigProjectMutation.js
CHANGED
|
@@ -7,7 +7,7 @@ export function updateIntegrationConfigProject(props) {
|
|
|
7
7
|
return fetcher(Object.assign({ url: `/api/v1/accounts/${props.accountIdentifier}/orgs/${props.orgIdentifier}/projects/${props.projectIdentifier}/integration-configs/${props.integrationconfig_identifier}`, method: 'PUT' }, props));
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
-
* Updates an integration configuration at project level. Supports auto_import_per_kind, action_per_kind, and configuration. When action_per_kind is not provided, all kinds default to Merge_Register. Set configuration.rate_limit.rpm to override the per-integration custom-entity-upsert rate limit; the change propagates across all replicas immediately. For correlation_mapping: on first add, source_path is required and operator must be 'eq'; on subsequent updates only target_path can be changed (source_path and operator are immutable). When provided, correlation_mapping is also embedded into configuration.correlation_mapping (unrelated configuration keys are preserved). When schema_mapping_per_kind is
|
|
10
|
+
* Updates an integration configuration at project level. Supports auto_import_per_kind, action_per_kind, and configuration. When action_per_kind is not provided, all kinds default to Merge_Register. Set configuration.rate_limit.rpm to override the per-integration custom-entity-upsert rate limit; the change propagates across all replicas immediately. For correlation_mapping: on first add, source_path is required and operator must be 'eq'; on subsequent updates only target_path can be changed (source_path and operator are immutable). When provided, correlation_mapping is also embedded into configuration.correlation_mapping (unrelated configuration keys are preserved). When ingestion_mapping_per_kind is provided (the deprecated alias schema_mapping_per_kind is still accepted), its keys must match the existing integration's kinds and each mappings.identifier must be a non-empty JQ expression. Each entry replaces the IngestionMapping stored under the 'default' key on that kind's current EntitySchema (partial per-kind updates are supported — kinds omitted from the map are untouched). The map is also mirrored into configuration.schema_mapping_per_kind for read parity with create.
|
|
11
11
|
*/
|
|
12
12
|
export function useUpdateIntegrationConfigProjectMutation(options) {
|
|
13
13
|
return useMutation((mutateProps) => updateIntegrationConfigProject(mutateProps), options);
|
|
@@ -266,10 +266,10 @@ export type { TypesDefaultKind } from './schemas/TypesDefaultKind';
|
|
|
266
266
|
export type { TypesDefaultMappingField } from './schemas/TypesDefaultMappingField';
|
|
267
267
|
export type { TypesDefaultRelationEnd } from './schemas/TypesDefaultRelationEnd';
|
|
268
268
|
export type { TypesDockerConnectorSettings } from './schemas/TypesDockerConnectorSettings';
|
|
269
|
+
export type { TypesEmissionMapping } from './schemas/TypesEmissionMapping';
|
|
270
|
+
export type { TypesEmissionMappingSpec } from './schemas/TypesEmissionMappingSpec';
|
|
269
271
|
export type { TypesEntity } from './schemas/TypesEntity';
|
|
270
272
|
export type { TypesEntityInputSchemaResponse } from './schemas/TypesEntityInputSchemaResponse';
|
|
271
|
-
export type { TypesEntityMapping } from './schemas/TypesEntityMapping';
|
|
272
|
-
export type { TypesEntityMappingSpec } from './schemas/TypesEntityMappingSpec';
|
|
273
273
|
export type { TypesEntitySchema } from './schemas/TypesEntitySchema';
|
|
274
274
|
export type { TypesFieldMapping } from './schemas/TypesFieldMapping';
|
|
275
275
|
export type { TypesGetTimeseriesResponse } from './schemas/TypesGetTimeseriesResponse';
|
|
@@ -278,6 +278,7 @@ export type { TypesHarnessComponentSettings } from './schemas/TypesHarnessCompon
|
|
|
278
278
|
export type { TypesIdpSubscription } from './schemas/TypesIdpSubscription';
|
|
279
279
|
export type { TypesInfraProviderSettings } from './schemas/TypesInfraProviderSettings';
|
|
280
280
|
export type { TypesInfraProviderType } from './schemas/TypesInfraProviderType';
|
|
281
|
+
export type { TypesIngestionMapping } from './schemas/TypesIngestionMapping';
|
|
281
282
|
export type { TypesIntegrationConfig } from './schemas/TypesIntegrationConfig';
|
|
282
283
|
export type { TypesIntegrationConfigCountResponse } from './schemas/TypesIntegrationConfigCountResponse';
|
|
283
284
|
export type { TypesJsonSchema } from './schemas/TypesJsonSchema';
|
|
@@ -296,7 +297,6 @@ export type { TypesMetricDataPoint } from './schemas/TypesMetricDataPoint';
|
|
|
296
297
|
export type { TypesMetricErrors } from './schemas/TypesMetricErrors';
|
|
297
298
|
export type { TypesReevalState } from './schemas/TypesReevalState';
|
|
298
299
|
export type { TypesSampleEntity } from './schemas/TypesSampleEntity';
|
|
299
|
-
export type { TypesSchemaMapping } from './schemas/TypesSchemaMapping';
|
|
300
300
|
export type { TypesScope } from './schemas/TypesScope';
|
|
301
301
|
export type { TypesScopeConfig } from './schemas/TypesScopeConfig';
|
|
302
302
|
export type { TypesSettingsEntryGithubComHarnessHarnessCodeIntegrationManagerTypesAirbyteConnectorImageSettings } from './schemas/TypesSettingsEntryGithubComHarnessHarnessCodeIntegrationManagerTypesAirbyteConnectorImageSettings';
|
|
@@ -307,6 +307,7 @@ export type { TypesSettingsEntryGithubComHarnessHarnessCodeIntegrationManagerTyp
|
|
|
307
307
|
export type { TypesSettingsEntryGithubComHarnessHarnessCodeIntegrationManagerTypesSyncConfigSettings } from './schemas/TypesSettingsEntryGithubComHarnessHarnessCodeIntegrationManagerTypesSyncConfigSettings';
|
|
308
308
|
export type { TypesSettingsKey } from './schemas/TypesSettingsKey';
|
|
309
309
|
export type { TypesSettingsListResponse } from './schemas/TypesSettingsListResponse';
|
|
310
|
+
export type { TypesSonarQubeIssuesConfig } from './schemas/TypesSonarQubeIssuesConfig';
|
|
310
311
|
export type { TypesStreamOutcome } from './schemas/TypesStreamOutcome';
|
|
311
312
|
export type { TypesStreamSyncResult } from './schemas/TypesStreamSyncResult';
|
|
312
313
|
export type { TypesSuggestedMapping } from './schemas/TypesSuggestedMapping';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export type EnumIntegrationType = 'BitbucketCloud' | 'CatalogInfo' | 'Custom' | 'DataDog' | 'DynaTrace' | 'GCP' | 'GitHub' | 'HarnessCD' | 'HarnessCI' | 'HarnessK8s' | 'HarnessScope' | 'HarnessTraceable' | 'PagerDuty' | 'ServiceNow' | 'SonarQube';
|
|
1
|
+
export type EnumIntegrationType = 'BitbucketCloud' | 'CatalogInfo' | 'Custom' | 'DataDog' | 'DynaTrace' | 'GCP' | 'GitHub' | 'HarnessCD' | 'HarnessCI' | 'HarnessK8s' | 'HarnessScope' | 'HarnessTraceable' | 'Jira' | 'PagerDuty' | 'ServiceNow' | 'SonarQube';
|
|
@@ -1,10 +1,10 @@
|
|
|
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
5
|
export interface IntegrationconfigAirbyteIntegrationResponse {
|
|
6
6
|
airbyte_connector?: TypesAirbyteConnector;
|
|
7
|
-
|
|
7
|
+
emission_mappings?: TypesEmissionMapping[] | null;
|
|
8
8
|
entity_schemas?: TypesEntitySchema[] | null;
|
|
9
9
|
integration_config?: TypesIntegrationConfig;
|
|
10
10
|
}
|
package/dist/integration-manager/src/services/schemas/OpenapiCreateIntegrationConfigOrgRequest.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
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
10
|
* Per-kind write action. For Custom integrations this is forced to 'merge'.
|
|
@@ -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
|
/**
|
|
@@ -52,10 +58,10 @@ 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.
|
|
56
62
|
*/
|
|
57
63
|
schema_mapping_per_kind?: {
|
|
58
|
-
[key: string]:
|
|
64
|
+
[key: string]: TypesIngestionMapping;
|
|
59
65
|
};
|
|
60
66
|
/**
|
|
61
67
|
* Optional source identifier for custom integrations.
|
|
@@ -1,10 +1,10 @@
|
|
|
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
10
|
* Per-kind write action. For Custom integrations this is forced to 'merge'.
|
|
@@ -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
|
/**
|
|
@@ -52,10 +58,10 @@ 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.
|
|
56
62
|
*/
|
|
57
63
|
schema_mapping_per_kind?: {
|
|
58
|
-
[key: string]:
|
|
64
|
+
[key: string]: TypesIngestionMapping;
|
|
59
65
|
};
|
|
60
66
|
/**
|
|
61
67
|
* Optional source identifier for custom integrations.
|
package/dist/integration-manager/src/services/schemas/OpenapiCreateIntegrationConfigRequest.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
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
10
|
* Per-kind write action. For Custom integrations this is forced to 'merge'.
|
|
@@ -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
|
/**
|
|
@@ -52,10 +58,10 @@ 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.
|
|
56
62
|
*/
|
|
57
63
|
schema_mapping_per_kind?: {
|
|
58
|
-
[key: string]:
|
|
64
|
+
[key: string]: TypesIngestionMapping;
|
|
59
65
|
};
|
|
60
66
|
/**
|
|
61
67
|
* Optional source identifier for custom integrations.
|
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,6 +13,12 @@ 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
|
*/
|
|
@@ -25,10 +31,10 @@ export interface OpenapiUpdateIntegrationConfigOrgRequest {
|
|
|
25
31
|
};
|
|
26
32
|
name?: string | null;
|
|
27
33
|
/**
|
|
28
|
-
*
|
|
34
|
+
* Deprecated alias for ingestion_mapping_per_kind. Use ingestion_mapping_per_kind instead.
|
|
29
35
|
*/
|
|
30
36
|
schema_mapping_per_kind?: {
|
|
31
|
-
[key: string]:
|
|
37
|
+
[key: string]: TypesIngestionMapping;
|
|
32
38
|
};
|
|
33
39
|
source?: string | null;
|
|
34
40
|
}
|
|
@@ -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,6 +13,12 @@ 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
|
*/
|
|
@@ -25,10 +31,10 @@ export interface OpenapiUpdateIntegrationConfigProjectRequest {
|
|
|
25
31
|
};
|
|
26
32
|
name?: string | null;
|
|
27
33
|
/**
|
|
28
|
-
*
|
|
34
|
+
* Deprecated alias for ingestion_mapping_per_kind. Use ingestion_mapping_per_kind instead.
|
|
29
35
|
*/
|
|
30
36
|
schema_mapping_per_kind?: {
|
|
31
|
-
[key: string]:
|
|
37
|
+
[key: string]: TypesIngestionMapping;
|
|
32
38
|
};
|
|
33
39
|
source?: string | null;
|
|
34
40
|
}
|
package/dist/integration-manager/src/services/schemas/OpenapiUpdateIntegrationConfigRequest.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 OpenapiUpdateIntegrationConfigRequest {
|
|
6
6
|
action_per_kind?: {
|
|
7
7
|
[key: string]: EnumAction;
|
|
@@ -13,6 +13,12 @@ export interface OpenapiUpdateIntegrationConfigRequest {
|
|
|
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
|
*/
|
|
@@ -25,10 +31,10 @@ export interface OpenapiUpdateIntegrationConfigRequest {
|
|
|
25
31
|
};
|
|
26
32
|
name?: string | null;
|
|
27
33
|
/**
|
|
28
|
-
*
|
|
34
|
+
* Deprecated alias for ingestion_mapping_per_kind. Use ingestion_mapping_per_kind instead.
|
|
29
35
|
*/
|
|
30
36
|
schema_mapping_per_kind?: {
|
|
31
|
-
[key: string]:
|
|
37
|
+
[key: string]: TypesIngestionMapping;
|
|
32
38
|
};
|
|
33
39
|
source?: string | null;
|
|
34
40
|
}
|
|
@@ -2,7 +2,7 @@ import type { TypesAirbyteStream } from '../schemas/TypesAirbyteStream';
|
|
|
2
2
|
import type { TypesDefaultAirbyteStreamSettings } from '../schemas/TypesDefaultAirbyteStreamSettings';
|
|
3
3
|
import type { TimeDuration } from '../schemas/TimeDuration';
|
|
4
4
|
import type { TypesLayout } from '../schemas/TypesLayout';
|
|
5
|
-
import type {
|
|
5
|
+
import type { TypesIngestionMapping } from '../schemas/TypesIngestionMapping';
|
|
6
6
|
export interface TypesDefaultKind {
|
|
7
7
|
airbyte_stream?: TypesAirbyteStream;
|
|
8
8
|
category?: string;
|
|
@@ -16,6 +16,6 @@ export interface TypesDefaultKind {
|
|
|
16
16
|
primary?: boolean;
|
|
17
17
|
primary_kind?: string;
|
|
18
18
|
schema_mappings?: {
|
|
19
|
-
[key: string]:
|
|
19
|
+
[key: string]: TypesIngestionMapping;
|
|
20
20
|
} | null;
|
|
21
21
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { TypesMappingConfig } from '../schemas/TypesMappingConfig';
|
|
2
|
-
import type {
|
|
3
|
-
export interface
|
|
2
|
+
import type { TypesEmissionMappingSpec } from '../schemas/TypesEmissionMappingSpec';
|
|
3
|
+
export interface TypesEmissionMapping {
|
|
4
4
|
created?: number;
|
|
5
5
|
id?: string;
|
|
6
6
|
integration_id?: string;
|
|
@@ -8,7 +8,7 @@ export interface TypesEntityMapping {
|
|
|
8
8
|
last_updated?: number;
|
|
9
9
|
mapping_config?: TypesMappingConfig;
|
|
10
10
|
mapping_id?: string;
|
|
11
|
-
mappings?:
|
|
11
|
+
mappings?: TypesEmissionMappingSpec;
|
|
12
12
|
space_path?: string;
|
|
13
13
|
version?: string;
|
|
14
14
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { TimeDuration } from '../schemas/TimeDuration';
|
|
2
2
|
import type { EnumIntegrationMode } from '../schemas/EnumIntegrationMode';
|
|
3
|
-
import type {
|
|
3
|
+
import type { TypesIngestionMapping } from '../schemas/TypesIngestionMapping';
|
|
4
4
|
import type { TypesScopeConfig } from '../schemas/TypesScopeConfig';
|
|
5
5
|
export interface TypesEntitySchema {
|
|
6
6
|
created?: number;
|
|
@@ -17,7 +17,7 @@ export interface TypesEntitySchema {
|
|
|
17
17
|
primary?: boolean;
|
|
18
18
|
primary_kind?: string;
|
|
19
19
|
schema_mappings?: {
|
|
20
|
-
[key: string]:
|
|
20
|
+
[key: string]: TypesIngestionMapping;
|
|
21
21
|
} | null;
|
|
22
22
|
scope_config?: TypesScopeConfig;
|
|
23
23
|
space_path?: string;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { EnumIntegrationType } from '../schemas/EnumIntegrationType';
|
|
2
|
+
import type { TypesSonarQubeIssuesConfig } from '../schemas/TypesSonarQubeIssuesConfig';
|
|
2
3
|
export interface TypesHarnessAirbyteConfig {
|
|
3
4
|
analytics_duration_months?: number;
|
|
4
5
|
bitbucket_cloud_workspace?: string;
|
|
@@ -18,11 +19,15 @@ export interface TypesHarnessAirbyteConfig {
|
|
|
18
19
|
github_orgs?: string[];
|
|
19
20
|
github_scm_connector_ref?: string;
|
|
20
21
|
harness_bitbucket_cloud_connector_ref?: string;
|
|
22
|
+
harness_jira_connector_ref?: string;
|
|
21
23
|
integration_type?: EnumIntegrationType;
|
|
24
|
+
jira_custom_fields?: string[];
|
|
22
25
|
pager_duty_harness_connector_ref?: string;
|
|
23
26
|
service_now_harness_connector_ref?: string;
|
|
24
27
|
sonarqube_host_url?: string;
|
|
28
|
+
sonarqube_issues?: TypesSonarQubeIssuesConfig;
|
|
25
29
|
sonarqube_organization?: string;
|
|
30
|
+
sonarqube_project_deny_list?: string[];
|
|
26
31
|
sonarqube_project_keys?: string[];
|
|
27
32
|
sonarqube_token?: string;
|
|
28
33
|
start_date?: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { TypesMappingSpec } from '../schemas/TypesMappingSpec';
|
|
2
2
|
import type { TypesUdpConfig } from '../schemas/TypesUdpConfig';
|
|
3
|
-
export type
|
|
3
|
+
export type TypesIngestionMapping = {
|
|
4
4
|
filter?: string;
|
|
5
5
|
mappings?: TypesMappingSpec;
|
|
6
6
|
udp_config?: TypesUdpConfig;
|
|
@@ -26,10 +26,12 @@ export interface TypesIntegrationConfig {
|
|
|
26
26
|
integration_type?: EnumIntegrationType;
|
|
27
27
|
is_deleted?: boolean;
|
|
28
28
|
kinds?: string[] | null;
|
|
29
|
+
last_orphan_sweep_at?: number;
|
|
29
30
|
last_sync_info?: TypesLastSyncInfo;
|
|
30
31
|
last_updated?: number;
|
|
31
32
|
name?: string;
|
|
32
33
|
next_sync?: number;
|
|
34
|
+
recent_clean_sync_starts?: number[];
|
|
33
35
|
secondary_kinds?: string[];
|
|
34
36
|
source?: string | null;
|
|
35
37
|
space_path?: string;
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
export interface TypesReevalState {
|
|
2
|
+
attempts?: number;
|
|
2
3
|
claimed_by?: string;
|
|
3
4
|
depth?: number;
|
|
4
5
|
first_marked_at?: number | null;
|
|
5
6
|
in_progress_since?: number | null;
|
|
7
|
+
last_error?: string;
|
|
6
8
|
last_marked_at?: number | null;
|
|
7
9
|
needed?: boolean;
|
|
8
10
|
process_after?: number | null;
|
package/package.json
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|