@harnessio/react-integration-manager-client 0.6.3 → 0.6.5
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/useCreateAirbyteIntegrationConfigProjectMutation.d.ts +1 -1
- package/dist/integration-manager/src/services/hooks/useCreateAirbyteIntegrationConfigProjectMutation.js +1 -1
- 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/useGetEntitiesMutation.d.ts +1 -1
- package/dist/integration-manager/src/services/hooks/useGetEntitiesMutation.js +1 -1
- package/dist/integration-manager/src/services/hooks/useGetMetricTimeseriesOrgQuery.d.ts +3 -3
- package/dist/integration-manager/src/services/hooks/useGetMetricTimeseriesProjectQuery.d.ts +3 -3
- package/dist/integration-manager/src/services/hooks/useGetMetricTimeseriesQuery.d.ts +3 -3
- package/dist/integration-manager/src/services/hooks/useListIntegrationConfigsOrgQuery.d.ts +11 -3
- package/dist/integration-manager/src/services/hooks/useListIntegrationConfigsProjectQuery.d.ts +11 -3
- package/dist/integration-manager/src/services/hooks/useListIntegrationConfigsQuery.d.ts +11 -3
- package/dist/integration-manager/src/services/hooks/useListIntegrationEventsOrgQuery.d.ts +4 -4
- package/dist/integration-manager/src/services/hooks/useListIntegrationEventsOrgQuery.js +2 -2
- package/dist/integration-manager/src/services/hooks/useListIntegrationEventsProjectQuery.d.ts +4 -4
- package/dist/integration-manager/src/services/hooks/useListIntegrationEventsProjectQuery.js +2 -2
- package/dist/integration-manager/src/services/hooks/useListIntegrationEventsQuery.d.ts +2 -2
- package/dist/integration-manager/src/services/hooks/useListMetricConfigsOrgQuery.d.ts +7 -3
- package/dist/integration-manager/src/services/hooks/useListMetricConfigsProjectQuery.d.ts +7 -3
- package/dist/integration-manager/src/services/hooks/useListMetricConfigsQuery.d.ts +7 -3
- 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 +2 -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/EnumSyncStatus.d.ts +1 -1
- package/dist/integration-manager/src/services/schemas/IntegrationeventIntegrationEventResponse.d.ts +1 -4
- package/dist/integration-manager/src/services/schemas/IntegrationeventPrincipalInfo.d.ts +2 -5
- package/dist/integration-manager/src/services/schemas/IntegrationeventUiStatus.d.ts +0 -3
- package/dist/integration-manager/src/services/schemas/OpenapiCreateIntegrationConfigOrgRequest.d.ts +28 -0
- package/dist/integration-manager/src/services/schemas/OpenapiCreateIntegrationConfigProjectRequest.d.ts +28 -0
- package/dist/integration-manager/src/services/schemas/OpenapiCreateIntegrationConfigRequest.d.ts +28 -0
- package/dist/integration-manager/src/services/schemas/OpenapiUpdateIntegrationConfigOrgRequest.d.ts +7 -0
- package/dist/integration-manager/src/services/schemas/OpenapiUpdateIntegrationConfigProjectRequest.d.ts +7 -0
- package/dist/integration-manager/src/services/schemas/OpenapiUpdateIntegrationConfigRequest.d.ts +7 -0
- package/dist/integration-manager/src/services/schemas/TypesCorrelationMapping.d.ts +2 -2
- package/dist/integration-manager/src/services/schemas/TypesLastSyncInfo.d.ts +3 -0
- package/dist/integration-manager/src/services/schemas/TypesMetricConfiguration.d.ts +3 -0
- package/dist/integration-manager/src/services/schemas/TypesStreamOutcome.d.ts +9 -0
- package/dist/integration-manager/src/services/schemas/TypesStreamOutcome.js +4 -0
- package/dist/integration-manager/src/services/schemas/TypesStreamSyncResult.d.ts +10 -0
- package/dist/integration-manager/src/services/schemas/TypesStreamSyncResult.js +4 -0
- package/dist/integration-manager/src/services/schemas/TypesSyncState.d.ts +6 -0
- package/package.json +1 -1
|
@@ -17,6 +17,6 @@ export interface CreateAirbyteIntegrationConfigProjectProps extends CreateAirbyt
|
|
|
17
17
|
}
|
|
18
18
|
export declare function createAirbyteIntegrationConfigProject(props: CreateAirbyteIntegrationConfigProjectProps): Promise<CreateAirbyteIntegrationConfigProjectOkResponse>;
|
|
19
19
|
/**
|
|
20
|
-
* Creates an Airbyte integration at project level
|
|
20
|
+
* Creates an Airbyte integration atomically at project level.
|
|
21
21
|
*/
|
|
22
22
|
export declare function useCreateAirbyteIntegrationConfigProjectMutation(options?: Omit<UseMutationOptions<CreateAirbyteIntegrationConfigProjectOkResponse, CreateAirbyteIntegrationConfigProjectErrorResponse, CreateAirbyteIntegrationConfigProjectProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<CreateAirbyteIntegrationConfigProjectOkResponse, ApierrorsErrorResponse, CreateAirbyteIntegrationConfigProjectProps, unknown>;
|
|
@@ -7,7 +7,7 @@ export function createAirbyteIntegrationConfigProject(props) {
|
|
|
7
7
|
return fetcher(Object.assign({ url: `/api/v1/accounts/${props.accountIdentifier}/orgs/${props.orgIdentifier}/projects/${props.projectIdentifier}/integration-configs/airbyte`, method: 'POST' }, props));
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
-
* Creates an Airbyte integration at project level
|
|
10
|
+
* Creates an Airbyte integration atomically at project level.
|
|
11
11
|
*/
|
|
12
12
|
export function useCreateAirbyteIntegrationConfigProjectMutation(options) {
|
|
13
13
|
return useMutation((mutateProps) => createAirbyteIntegrationConfigProject(mutateProps), options);
|
|
@@ -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'.
|
|
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) schema_mapping_per_kind is REQUIRED with one entry per kind and mappings.identifier non-empty; (c) configuration.webhook_auth is REQUIRED and must be a valid WebhookAuth object (auth_type 'no_auth' or 'hmac_auth'; hmac_auth requires hash_algo + auth_header + secret_ref; no_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/.../webhook/{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'.
|
|
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) schema_mapping_per_kind is REQUIRED with one entry per kind and mappings.identifier non-empty; (c) configuration.webhook_auth is REQUIRED and must be a valid WebhookAuth object (auth_type 'no_auth' or 'hmac_auth'; hmac_auth requires hash_algo + auth_header + secret_ref; no_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/.../webhook/{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'.
|
|
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) schema_mapping_per_kind is REQUIRED with one entry per kind and mappings.identifier non-empty; (c) configuration.webhook_auth is REQUIRED and must be a valid WebhookAuth object (auth_type 'no_auth' or 'hmac_auth'; hmac_auth requires hash_algo + auth_header + secret_ref; no_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/.../webhook/{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'.
|
|
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) schema_mapping_per_kind is REQUIRED with one entry per kind and mappings.identifier non-empty; (c) configuration.webhook_auth is REQUIRED and must be a valid WebhookAuth object (auth_type 'no_auth' or 'hmac_auth'; hmac_auth requires hash_algo + auth_header + secret_ref; no_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/.../webhook/{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'.
|
|
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) schema_mapping_per_kind is REQUIRED with one entry per kind and mappings.identifier non-empty; (c) configuration.webhook_auth is REQUIRED and must be a valid WebhookAuth object (auth_type 'no_auth' or 'hmac_auth'; hmac_auth requires hash_algo + auth_header + secret_ref; no_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/.../webhook/{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'.
|
|
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) schema_mapping_per_kind is REQUIRED with one entry per kind and mappings.identifier non-empty; (c) configuration.webhook_auth is REQUIRED and must be a valid WebhookAuth object (auth_type 'no_auth' or 'hmac_auth'; hmac_auth requires hash_algo + auth_header + secret_ref; no_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/.../webhook/{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);
|
|
@@ -28,7 +28,7 @@ export declare function getEntities(props: GetEntitiesProps): Promise<GetEntitie
|
|
|
28
28
|
* Each secondary kind can include field_val_filters for filtering.
|
|
29
29
|
* - sort_by: Sort field - "created" (default), "last_updated", "name", or "identifier".
|
|
30
30
|
* - order: Sort order - "asc" or "desc" (default: "desc").
|
|
31
|
-
* - page: Pagination page number (default:
|
|
31
|
+
* - page: Pagination page number (default: 0, 0-based).
|
|
32
32
|
* - limit: Page size (default: 50, max: 2000).
|
|
33
33
|
* - skip_count: When true, skips expensive count and returns -1 as total (default: true).
|
|
34
34
|
* - exclude_primary: When true, excludes primary entities from the response (default: false).
|
|
@@ -20,7 +20,7 @@ export function getEntities(props) {
|
|
|
20
20
|
* Each secondary kind can include field_val_filters for filtering.
|
|
21
21
|
* - sort_by: Sort field - "created" (default), "last_updated", "name", or "identifier".
|
|
22
22
|
* - order: Sort order - "asc" or "desc" (default: "desc").
|
|
23
|
-
* - page: Pagination page number (default:
|
|
23
|
+
* - page: Pagination page number (default: 0, 0-based).
|
|
24
24
|
* - limit: Page size (default: 50, max: 2000).
|
|
25
25
|
* - skip_count: When true, skips expensive count and returns -1 as total (default: true).
|
|
26
26
|
* - exclude_primary: When true, excludes primary entities from the response (default: false).
|
|
@@ -20,15 +20,15 @@ export interface GetMetricTimeseriesOrgQueryQueryParams {
|
|
|
20
20
|
/**
|
|
21
21
|
* Time window for the timeseries. Defaults to '7d'.
|
|
22
22
|
*/
|
|
23
|
-
time_range?: '1d' | '1mo' | '1y' | '7d' | 'all';
|
|
23
|
+
time_range?: '1d' | '1mo' | '1y' | '3mo' | '6mo' | '7d' | 'all';
|
|
24
24
|
/**
|
|
25
25
|
* When true, server-side averages points into buckets (one element per bucket with a count). Defaults to false.
|
|
26
26
|
*/
|
|
27
27
|
aggregate?: boolean;
|
|
28
28
|
/**
|
|
29
|
-
* Bucket width, only valid when aggregate=true. Defaults to '1h'. Sizes map to mongo $dateTrunc with unit 'hour' or '
|
|
29
|
+
* Bucket width, only valid when aggregate=true. Defaults to '1h'. Sizes map to mongo $dateTrunc with unit 'hour', 'day' or 'week' and binSize:1.
|
|
30
30
|
*/
|
|
31
|
-
bucket_size?: '1d' | '1h';
|
|
31
|
+
bucket_size?: '1d' | '1h' | '1w';
|
|
32
32
|
}
|
|
33
33
|
export type GetMetricTimeseriesOrgOkResponse = ResponseWithPagination<TypesGetTimeseriesResponse>;
|
|
34
34
|
export type GetMetricTimeseriesOrgErrorResponse = ApierrorsErrorResponse;
|
|
@@ -21,15 +21,15 @@ export interface GetMetricTimeseriesProjectQueryQueryParams {
|
|
|
21
21
|
/**
|
|
22
22
|
* Time window for the timeseries. Defaults to '7d'.
|
|
23
23
|
*/
|
|
24
|
-
time_range?: '1d' | '1mo' | '1y' | '7d' | 'all';
|
|
24
|
+
time_range?: '1d' | '1mo' | '1y' | '3mo' | '6mo' | '7d' | 'all';
|
|
25
25
|
/**
|
|
26
26
|
* When true, server-side averages points into buckets (one element per bucket with a count). Defaults to false.
|
|
27
27
|
*/
|
|
28
28
|
aggregate?: boolean;
|
|
29
29
|
/**
|
|
30
|
-
* Bucket width, only valid when aggregate=true. Defaults to '1h'. Sizes map to mongo $dateTrunc with unit 'hour' or '
|
|
30
|
+
* Bucket width, only valid when aggregate=true. Defaults to '1h'. Sizes map to mongo $dateTrunc with unit 'hour', 'day' or 'week' and binSize:1.
|
|
31
31
|
*/
|
|
32
|
-
bucket_size?: '1d' | '1h';
|
|
32
|
+
bucket_size?: '1d' | '1h' | '1w';
|
|
33
33
|
}
|
|
34
34
|
export type GetMetricTimeseriesProjectOkResponse = ResponseWithPagination<TypesGetTimeseriesResponse>;
|
|
35
35
|
export type GetMetricTimeseriesProjectErrorResponse = ApierrorsErrorResponse;
|
|
@@ -19,15 +19,15 @@ export interface GetMetricTimeseriesQueryQueryParams {
|
|
|
19
19
|
/**
|
|
20
20
|
* Time window for the timeseries. Defaults to '7d'.
|
|
21
21
|
*/
|
|
22
|
-
time_range?: '1d' | '1mo' | '1y' | '7d' | 'all';
|
|
22
|
+
time_range?: '1d' | '1mo' | '1y' | '3mo' | '6mo' | '7d' | 'all';
|
|
23
23
|
/**
|
|
24
24
|
* When true, server-side averages points into buckets (one element per bucket with a count). Defaults to false.
|
|
25
25
|
*/
|
|
26
26
|
aggregate?: boolean;
|
|
27
27
|
/**
|
|
28
|
-
* Bucket width, only valid when aggregate=true. Defaults to '1h'. Sizes map to mongo $dateTrunc with unit 'hour' or '
|
|
28
|
+
* Bucket width, only valid when aggregate=true. Defaults to '1h'. Sizes map to mongo $dateTrunc with unit 'hour', 'day' or 'week' and binSize:1.
|
|
29
29
|
*/
|
|
30
|
-
bucket_size?: '1d' | '1h';
|
|
30
|
+
bucket_size?: '1d' | '1h' | '1w';
|
|
31
31
|
}
|
|
32
32
|
export type GetMetricTimeseriesOkResponse = ResponseWithPagination<TypesGetTimeseriesResponse>;
|
|
33
33
|
export type GetMetricTimeseriesErrorResponse = ApierrorsErrorResponse;
|
|
@@ -12,7 +12,11 @@ export interface ListIntegrationConfigsOrgQueryQueryParams {
|
|
|
12
12
|
/**
|
|
13
13
|
* Optional filter by entity kinds present in the integration's kinds array (repeatable).
|
|
14
14
|
*/
|
|
15
|
-
kind?: string
|
|
15
|
+
kind?: string;
|
|
16
|
+
/**
|
|
17
|
+
* Optional case-insensitive substring filter on the integration name.
|
|
18
|
+
*/
|
|
19
|
+
searchterm?: string;
|
|
16
20
|
/**
|
|
17
21
|
* Maximum number of items to return. Defaults to 50 when omitted.
|
|
18
22
|
*/
|
|
@@ -22,13 +26,17 @@ export interface ListIntegrationConfigsOrgQueryQueryParams {
|
|
|
22
26
|
*/
|
|
23
27
|
offset?: number;
|
|
24
28
|
/**
|
|
25
|
-
* Sort field: 'created'
|
|
29
|
+
* Sort field: 'created' or 'updated'. Omitted means unsorted.
|
|
26
30
|
*/
|
|
27
|
-
sort?: 'created' | '
|
|
31
|
+
sort?: 'created' | 'updated';
|
|
28
32
|
/**
|
|
29
33
|
* Sort order: 'asc' or 'desc'. Defaults to 'desc' when sort is provided.
|
|
30
34
|
*/
|
|
31
35
|
order?: 'asc' | 'desc';
|
|
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.
|
|
38
|
+
*/
|
|
39
|
+
allow_parent_scope?: boolean;
|
|
32
40
|
}
|
|
33
41
|
export type ListIntegrationConfigsOrgOkResponse = ResponseWithPagination<TypesIntegrationConfig[]>;
|
|
34
42
|
export type ListIntegrationConfigsOrgErrorResponse = unknown;
|
package/dist/integration-manager/src/services/hooks/useListIntegrationConfigsProjectQuery.d.ts
CHANGED
|
@@ -13,7 +13,11 @@ export interface ListIntegrationConfigsProjectQueryQueryParams {
|
|
|
13
13
|
/**
|
|
14
14
|
* Optional filter by entity kinds present in the integration's kinds array (repeatable).
|
|
15
15
|
*/
|
|
16
|
-
kind?: string
|
|
16
|
+
kind?: string;
|
|
17
|
+
/**
|
|
18
|
+
* Optional case-insensitive substring filter on the integration name.
|
|
19
|
+
*/
|
|
20
|
+
searchterm?: string;
|
|
17
21
|
/**
|
|
18
22
|
* Maximum number of items to return. Defaults to 50 when omitted.
|
|
19
23
|
*/
|
|
@@ -23,13 +27,17 @@ export interface ListIntegrationConfigsProjectQueryQueryParams {
|
|
|
23
27
|
*/
|
|
24
28
|
offset?: number;
|
|
25
29
|
/**
|
|
26
|
-
* Sort field: 'created'
|
|
30
|
+
* Sort field: 'created' or 'updated'. Omitted means unsorted.
|
|
27
31
|
*/
|
|
28
|
-
sort?: 'created' | '
|
|
32
|
+
sort?: 'created' | 'updated';
|
|
29
33
|
/**
|
|
30
34
|
* Sort order: 'asc' or 'desc'. Defaults to 'desc' when sort is provided.
|
|
31
35
|
*/
|
|
32
36
|
order?: 'asc' | 'desc';
|
|
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.
|
|
39
|
+
*/
|
|
40
|
+
allow_parent_scope?: boolean;
|
|
33
41
|
}
|
|
34
42
|
export type ListIntegrationConfigsProjectOkResponse = ResponseWithPagination<TypesIntegrationConfig[]>;
|
|
35
43
|
export type ListIntegrationConfigsProjectErrorResponse = unknown;
|
|
@@ -11,7 +11,11 @@ export interface ListIntegrationConfigsQueryQueryParams {
|
|
|
11
11
|
/**
|
|
12
12
|
* Optional filter by entity kinds present in the integration's kinds array (repeatable).
|
|
13
13
|
*/
|
|
14
|
-
kind?: string
|
|
14
|
+
kind?: string;
|
|
15
|
+
/**
|
|
16
|
+
* Optional case-insensitive substring filter on the integration name.
|
|
17
|
+
*/
|
|
18
|
+
searchterm?: string;
|
|
15
19
|
/**
|
|
16
20
|
* Maximum number of items to return. Defaults to 50 when omitted.
|
|
17
21
|
*/
|
|
@@ -21,13 +25,17 @@ export interface ListIntegrationConfigsQueryQueryParams {
|
|
|
21
25
|
*/
|
|
22
26
|
offset?: number;
|
|
23
27
|
/**
|
|
24
|
-
* Sort field: 'created'
|
|
28
|
+
* Sort field: 'created' or 'updated'. Omitted means unsorted.
|
|
25
29
|
*/
|
|
26
|
-
sort?: 'created' | '
|
|
30
|
+
sort?: 'created' | 'updated';
|
|
27
31
|
/**
|
|
28
32
|
* Sort order: 'asc' or 'desc'. Defaults to 'desc' when sort is provided.
|
|
29
33
|
*/
|
|
30
34
|
order?: 'asc' | 'desc';
|
|
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.
|
|
37
|
+
*/
|
|
38
|
+
allow_parent_scope?: boolean;
|
|
31
39
|
}
|
|
32
40
|
export type ListIntegrationConfigsOkResponse = ResponseWithPagination<TypesIntegrationConfig[]>;
|
|
33
41
|
export type ListIntegrationConfigsErrorResponse = unknown;
|
|
@@ -28,12 +28,12 @@ export interface ListIntegrationEventsOrgQueryQueryParams {
|
|
|
28
28
|
*/
|
|
29
29
|
order?: 'asc' | 'desc';
|
|
30
30
|
/**
|
|
31
|
-
* Page number,
|
|
31
|
+
* Page number, zero-based (default: 0)
|
|
32
32
|
* @default 0
|
|
33
33
|
*/
|
|
34
34
|
page?: number;
|
|
35
35
|
/**
|
|
36
|
-
*
|
|
36
|
+
* Page size (default: 20, max: 1000)
|
|
37
37
|
* @default 20
|
|
38
38
|
*/
|
|
39
39
|
limit?: number;
|
|
@@ -45,7 +45,7 @@ export interface ListIntegrationEventsOrgProps extends ListIntegrationEventsOrgQ
|
|
|
45
45
|
}
|
|
46
46
|
export declare function listIntegrationEventsOrg(props: ListIntegrationEventsOrgProps): Promise<ListIntegrationEventsOrgOkResponse>;
|
|
47
47
|
/**
|
|
48
|
-
* Retrieves a paginated list of integration lifecycle events for a specific integration
|
|
48
|
+
* Retrieves a paginated list of integration lifecycle events for a specific integration.
|
|
49
49
|
* Supports filtering by event_type and status (both repeatable query params), with
|
|
50
50
|
* customizable sorting and pagination. Pagination metadata is included in response
|
|
51
51
|
* headers (x-total-elements, x-page-number, x-page-size, x-total-pages).
|
|
@@ -65,6 +65,6 @@ export declare function listIntegrationEventsOrg(props: ListIntegrationEventsOrg
|
|
|
65
65
|
* - FAILED: Operation failed (maps to FAILED, STALE, SUPERSEDED)
|
|
66
66
|
* - RUNNING: Operation in progress (maps to SCHEDULED, SUBMITTED, RUNNING)
|
|
67
67
|
* - PARTIAL_SUCCESS: Operation completed with partial success
|
|
68
|
-
* - CANCELLED: Operation was cancelled
|
|
68
|
+
* - CANCELLED: Operation was cancelled at organization scope.
|
|
69
69
|
*/
|
|
70
70
|
export declare function useListIntegrationEventsOrgQuery(props: ListIntegrationEventsOrgProps, options?: Omit<UseQueryOptions<ListIntegrationEventsOrgOkResponse, ListIntegrationEventsOrgErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<ListIntegrationEventsOrgOkResponse, ApierrorsErrorResponse>;
|
|
@@ -7,7 +7,7 @@ export function listIntegrationEventsOrg(props) {
|
|
|
7
7
|
return fetcher(Object.assign({ url: `/api/v1/accounts/${props.accountIdentifier}/orgs/${props.orgIdentifier}/integration-configs/${props.integrationconfig_identifier}/events`, method: 'GET' }, props));
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
-
* Retrieves a paginated list of integration lifecycle events for a specific integration
|
|
10
|
+
* Retrieves a paginated list of integration lifecycle events for a specific integration.
|
|
11
11
|
* Supports filtering by event_type and status (both repeatable query params), with
|
|
12
12
|
* customizable sorting and pagination. Pagination metadata is included in response
|
|
13
13
|
* headers (x-total-elements, x-page-number, x-page-size, x-total-pages).
|
|
@@ -27,7 +27,7 @@ export function listIntegrationEventsOrg(props) {
|
|
|
27
27
|
* - FAILED: Operation failed (maps to FAILED, STALE, SUPERSEDED)
|
|
28
28
|
* - RUNNING: Operation in progress (maps to SCHEDULED, SUBMITTED, RUNNING)
|
|
29
29
|
* - PARTIAL_SUCCESS: Operation completed with partial success
|
|
30
|
-
* - CANCELLED: Operation was cancelled
|
|
30
|
+
* - CANCELLED: Operation was cancelled at organization scope.
|
|
31
31
|
*/
|
|
32
32
|
export function useListIntegrationEventsOrgQuery(props, options) {
|
|
33
33
|
return useQuery([
|
package/dist/integration-manager/src/services/hooks/useListIntegrationEventsProjectQuery.d.ts
CHANGED
|
@@ -29,12 +29,12 @@ export interface ListIntegrationEventsProjectQueryQueryParams {
|
|
|
29
29
|
*/
|
|
30
30
|
order?: 'asc' | 'desc';
|
|
31
31
|
/**
|
|
32
|
-
* Page number,
|
|
32
|
+
* Page number, zero-based (default: 0)
|
|
33
33
|
* @default 0
|
|
34
34
|
*/
|
|
35
35
|
page?: number;
|
|
36
36
|
/**
|
|
37
|
-
*
|
|
37
|
+
* Page size (default: 20, max: 1000)
|
|
38
38
|
* @default 20
|
|
39
39
|
*/
|
|
40
40
|
limit?: number;
|
|
@@ -46,7 +46,7 @@ export interface ListIntegrationEventsProjectProps extends ListIntegrationEvents
|
|
|
46
46
|
}
|
|
47
47
|
export declare function listIntegrationEventsProject(props: ListIntegrationEventsProjectProps): Promise<ListIntegrationEventsProjectOkResponse>;
|
|
48
48
|
/**
|
|
49
|
-
* Retrieves a paginated list of integration lifecycle events for a specific integration
|
|
49
|
+
* Retrieves a paginated list of integration lifecycle events for a specific integration.
|
|
50
50
|
* Supports filtering by event_type and status (both repeatable query params), with
|
|
51
51
|
* customizable sorting and pagination. Pagination metadata is included in response
|
|
52
52
|
* headers (x-total-elements, x-page-number, x-page-size, x-total-pages).
|
|
@@ -66,6 +66,6 @@ export declare function listIntegrationEventsProject(props: ListIntegrationEvent
|
|
|
66
66
|
* - FAILED: Operation failed (maps to FAILED, STALE, SUPERSEDED)
|
|
67
67
|
* - RUNNING: Operation in progress (maps to SCHEDULED, SUBMITTED, RUNNING)
|
|
68
68
|
* - PARTIAL_SUCCESS: Operation completed with partial success
|
|
69
|
-
* - CANCELLED: Operation was cancelled
|
|
69
|
+
* - CANCELLED: Operation was cancelled at project scope.
|
|
70
70
|
*/
|
|
71
71
|
export declare function useListIntegrationEventsProjectQuery(props: ListIntegrationEventsProjectProps, options?: Omit<UseQueryOptions<ListIntegrationEventsProjectOkResponse, ListIntegrationEventsProjectErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<ListIntegrationEventsProjectOkResponse, ApierrorsErrorResponse>;
|
|
@@ -7,7 +7,7 @@ export function listIntegrationEventsProject(props) {
|
|
|
7
7
|
return fetcher(Object.assign({ url: `/api/v1/accounts/${props.accountIdentifier}/orgs/${props.orgIdentifier}/projects/${props.projectIdentifier}/integration-configs/${props.integrationconfig_identifier}/events`, method: 'GET' }, props));
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
-
* Retrieves a paginated list of integration lifecycle events for a specific integration
|
|
10
|
+
* Retrieves a paginated list of integration lifecycle events for a specific integration.
|
|
11
11
|
* Supports filtering by event_type and status (both repeatable query params), with
|
|
12
12
|
* customizable sorting and pagination. Pagination metadata is included in response
|
|
13
13
|
* headers (x-total-elements, x-page-number, x-page-size, x-total-pages).
|
|
@@ -27,7 +27,7 @@ export function listIntegrationEventsProject(props) {
|
|
|
27
27
|
* - FAILED: Operation failed (maps to FAILED, STALE, SUPERSEDED)
|
|
28
28
|
* - RUNNING: Operation in progress (maps to SCHEDULED, SUBMITTED, RUNNING)
|
|
29
29
|
* - PARTIAL_SUCCESS: Operation completed with partial success
|
|
30
|
-
* - CANCELLED: Operation was cancelled
|
|
30
|
+
* - CANCELLED: Operation was cancelled at project scope.
|
|
31
31
|
*/
|
|
32
32
|
export function useListIntegrationEventsProjectQuery(props, options) {
|
|
33
33
|
return useQuery([
|
|
@@ -27,12 +27,12 @@ export interface ListIntegrationEventsQueryQueryParams {
|
|
|
27
27
|
*/
|
|
28
28
|
order?: 'asc' | 'desc';
|
|
29
29
|
/**
|
|
30
|
-
* Page number,
|
|
30
|
+
* Page number, zero-based (default: 0)
|
|
31
31
|
* @default 0
|
|
32
32
|
*/
|
|
33
33
|
page?: number;
|
|
34
34
|
/**
|
|
35
|
-
*
|
|
35
|
+
* Page size (default: 20, max: 1000)
|
|
36
36
|
* @default 20
|
|
37
37
|
*/
|
|
38
38
|
limit?: number;
|
|
@@ -22,11 +22,15 @@ export interface ListMetricConfigsOrgQueryQueryParams {
|
|
|
22
22
|
/**
|
|
23
23
|
* Field to sort by
|
|
24
24
|
*/
|
|
25
|
-
sort?:
|
|
25
|
+
sort?: 'created' | 'updated';
|
|
26
26
|
/**
|
|
27
|
-
* Sort order
|
|
27
|
+
* Sort order
|
|
28
28
|
*/
|
|
29
|
-
order?:
|
|
29
|
+
order?: 'asc' | 'desc';
|
|
30
|
+
/**
|
|
31
|
+
* When true, includes metric configs defined at any ancestor scope of the caller's spacePath (e.g. for 'acc/org/proj' also returns configs at 'acc/org' and 'acc'). Defaults to false — only metric configs at the current space are returned.
|
|
32
|
+
*/
|
|
33
|
+
allow_parent_scope?: boolean;
|
|
30
34
|
}
|
|
31
35
|
export type ListMetricConfigsOrgOkResponse = ResponseWithPagination<TypesMetricConfig[]>;
|
|
32
36
|
export type ListMetricConfigsOrgErrorResponse = unknown;
|
|
@@ -23,11 +23,15 @@ export interface ListMetricConfigsProjectQueryQueryParams {
|
|
|
23
23
|
/**
|
|
24
24
|
* Field to sort by
|
|
25
25
|
*/
|
|
26
|
-
sort?:
|
|
26
|
+
sort?: 'created' | 'updated';
|
|
27
27
|
/**
|
|
28
|
-
* Sort order
|
|
28
|
+
* Sort order
|
|
29
29
|
*/
|
|
30
|
-
order?:
|
|
30
|
+
order?: 'asc' | 'desc';
|
|
31
|
+
/**
|
|
32
|
+
* When true, includes metric configs defined at any ancestor scope of the caller's spacePath (e.g. for 'acc/org/proj' also returns configs at 'acc/org' and 'acc'). Defaults to false — only metric configs at the current space are returned.
|
|
33
|
+
*/
|
|
34
|
+
allow_parent_scope?: boolean;
|
|
31
35
|
}
|
|
32
36
|
export type ListMetricConfigsProjectOkResponse = ResponseWithPagination<TypesMetricConfig[]>;
|
|
33
37
|
export type ListMetricConfigsProjectErrorResponse = unknown;
|
|
@@ -22,11 +22,15 @@ export interface ListMetricConfigsQueryQueryParams {
|
|
|
22
22
|
/**
|
|
23
23
|
* Field to sort by
|
|
24
24
|
*/
|
|
25
|
-
sort?:
|
|
25
|
+
sort?: 'created' | 'updated';
|
|
26
26
|
/**
|
|
27
|
-
* Sort order
|
|
27
|
+
* Sort order
|
|
28
28
|
*/
|
|
29
|
-
order?:
|
|
29
|
+
order?: 'asc' | 'desc';
|
|
30
|
+
/**
|
|
31
|
+
* When true, includes metric configs defined at any ancestor scope of the caller's spacePath (e.g. for 'acc/org/proj' also returns configs at 'acc/org' and 'acc'). Defaults to false — only metric configs at the current space are returned.
|
|
32
|
+
*/
|
|
33
|
+
allow_parent_scope?: boolean;
|
|
30
34
|
}
|
|
31
35
|
export type ListMetricConfigsOkResponse = ResponseWithPagination<TypesMetricConfig[]>;
|
|
32
36
|
export type ListMetricConfigsErrorResponse = ApierrorsErrorResponse;
|
|
@@ -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).
|
|
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 provided, its keys must match the existing integration's kinds and each mappings.identifier must be a non-empty JQ expression. Each entry replaces the SchemaMapping 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).
|
|
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 provided, its keys must match the existing integration's kinds and each mappings.identifier must be a non-empty JQ expression. Each entry replaces the SchemaMapping 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).
|
|
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 provided, its keys must match the existing integration's kinds and each mappings.identifier must be a non-empty JQ expression. Each entry replaces the SchemaMapping 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).
|
|
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 provided, its keys must match the existing integration's kinds and each mappings.identifier must be a non-empty JQ expression. Each entry replaces the SchemaMapping 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
|
|
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 provided, its keys must match the existing integration's kinds and each mappings.identifier must be a non-empty JQ expression. Each entry replaces the SchemaMapping 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
|
|
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 provided, its keys must match the existing integration's kinds and each mappings.identifier must be a non-empty JQ expression. Each entry replaces the SchemaMapping 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);
|
|
@@ -293,6 +293,8 @@ export type { TypesSettingsEntryGithubComHarnessHarnessCodeIntegrationManagerTyp
|
|
|
293
293
|
export type { TypesSettingsEntryGithubComHarnessHarnessCodeIntegrationManagerTypesSyncConfigSettings } from './schemas/TypesSettingsEntryGithubComHarnessHarnessCodeIntegrationManagerTypesSyncConfigSettings';
|
|
294
294
|
export type { TypesSettingsKey } from './schemas/TypesSettingsKey';
|
|
295
295
|
export type { TypesSettingsListResponse } from './schemas/TypesSettingsListResponse';
|
|
296
|
+
export type { TypesStreamOutcome } from './schemas/TypesStreamOutcome';
|
|
297
|
+
export type { TypesStreamSyncResult } from './schemas/TypesStreamSyncResult';
|
|
296
298
|
export type { TypesSuggestedMapping } from './schemas/TypesSuggestedMapping';
|
|
297
299
|
export type { TypesSyncConfigSettings } from './schemas/TypesSyncConfigSettings';
|
|
298
300
|
export type { TypesSyncLogKeys } from './schemas/TypesSyncLogKeys';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export type EnumIntegrationEventType = 'entity_auto_import' | 'entity_manual_import' | 'entity_unlinked' | 'integration_created' | 'integration_disabled' | 'integration_enabled' | 'integration_updated' | 'sync_run';
|
|
1
|
+
export type EnumIntegrationEventType = 'entity_auto_import' | 'entity_deleted' | 'entity_ingested' | 'entity_manual_import' | 'entity_rejected' | 'entity_unlinked' | 'integration_created' | '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' | 'HarnessK8s' | 'HarnessScope' | 'PagerDuty' | 'ServiceNow' | 'SonarQube';
|
|
1
|
+
export type EnumIntegrationType = 'BitbucketCloud' | 'CatalogInfo' | 'Custom' | 'DataDog' | 'DynaTrace' | 'GCP' | 'GitHub' | 'HarnessCD' | 'HarnessK8s' | 'HarnessScope' | 'HarnessTraceable' | 'PagerDuty' | 'ServiceNow' | 'SonarQube';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export type EnumSyncStatus = 'COMPLETED' | 'DATA_INGESTION_COMPLETE' | 'ENQUEUED' | 'FAILED' | 'STARTED';
|
|
1
|
+
export type EnumSyncStatus = 'COMPLETED' | 'DATA_INGESTION_COMPLETE' | 'ENQUEUED' | 'FAILED' | 'PARTIAL_SUCCESS' | 'STARTED';
|
package/dist/integration-manager/src/services/schemas/IntegrationeventIntegrationEventResponse.d.ts
CHANGED
|
@@ -1,9 +1,6 @@
|
|
|
1
1
|
import type { EnumIntegrationEventType } from '../schemas/EnumIntegrationEventType';
|
|
2
2
|
import type { IntegrationeventUiStatus } from '../schemas/IntegrationeventUiStatus';
|
|
3
3
|
import type { IntegrationeventPrincipalInfo } from '../schemas/IntegrationeventPrincipalInfo';
|
|
4
|
-
/**
|
|
5
|
-
* Integration event with UI-friendly status mapping
|
|
6
|
-
*/
|
|
7
4
|
export interface IntegrationeventIntegrationEventResponse {
|
|
8
5
|
/**
|
|
9
6
|
* Timestamp when the event was created
|
|
@@ -24,7 +21,7 @@ export interface IntegrationeventIntegrationEventResponse {
|
|
|
24
21
|
*/
|
|
25
22
|
metadata?: {
|
|
26
23
|
[key: string]: any;
|
|
27
|
-
}
|
|
24
|
+
};
|
|
28
25
|
/**
|
|
29
26
|
* Hierarchical path to the space (account/org/project)
|
|
30
27
|
*/
|
|
@@ -1,7 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
* Information about the user or system that updated the event
|
|
3
|
-
*/
|
|
4
|
-
export interface IntegrationeventPrincipalInfo {
|
|
1
|
+
export type IntegrationeventPrincipalInfo = {
|
|
5
2
|
/**
|
|
6
3
|
* Display name of the principal
|
|
7
4
|
*/
|
|
@@ -14,4 +11,4 @@ export interface IntegrationeventPrincipalInfo {
|
|
|
14
11
|
* Unique identifier of the principal
|
|
15
12
|
*/
|
|
16
13
|
uid: string;
|
|
17
|
-
}
|
|
14
|
+
} | null;
|
package/dist/integration-manager/src/services/schemas/OpenapiCreateIntegrationConfigOrgRequest.d.ts
CHANGED
|
@@ -3,23 +3,51 @@ import type { TypesCorrelationMapping } from '../schemas/TypesCorrelationMapping
|
|
|
3
3
|
import type { EnumIntegrationMode } from '../schemas/EnumIntegrationMode';
|
|
4
4
|
import type { EnumIntegrationType } from '../schemas/EnumIntegrationType';
|
|
5
5
|
import type { TypesJsonSchema } from '../schemas/TypesJsonSchema';
|
|
6
|
+
import type { TypesSchemaMapping } from '../schemas/TypesSchemaMapping';
|
|
6
7
|
export interface OpenapiCreateIntegrationConfigOrgRequest {
|
|
8
|
+
/**
|
|
9
|
+
* Per-kind write action. For Custom integrations this is forced to 'merge'.
|
|
10
|
+
*/
|
|
7
11
|
action_per_kind?: {
|
|
8
12
|
[key: string]: EnumAction;
|
|
9
13
|
};
|
|
14
|
+
/**
|
|
15
|
+
* Per-kind flag to auto-import discovered entities into the catalog.
|
|
16
|
+
*/
|
|
10
17
|
auto_import_per_kind?: {
|
|
11
18
|
[key: string]: boolean;
|
|
12
19
|
};
|
|
20
|
+
/**
|
|
21
|
+
* Free-form configuration map validated against the integration type's default schema. For webhook mode, must contain a 'webhook_auth' object of type WebhookAuth.
|
|
22
|
+
*/
|
|
13
23
|
configuration?: {
|
|
14
24
|
[key: string]: any;
|
|
15
25
|
} | null;
|
|
16
26
|
correlation_mapping?: TypesCorrelationMapping;
|
|
27
|
+
/**
|
|
28
|
+
* Stable identifier for the integration. Must be unique within its space.
|
|
29
|
+
*/
|
|
17
30
|
identifier?: string;
|
|
18
31
|
integration_mode?: EnumIntegrationMode;
|
|
19
32
|
integration_type?: EnumIntegrationType;
|
|
33
|
+
/**
|
|
34
|
+
* Entity kinds to ingest. Custom integrations require exactly one kind.
|
|
35
|
+
*/
|
|
20
36
|
kinds?: string[];
|
|
37
|
+
/**
|
|
38
|
+
* Human-readable name shown in the UI.
|
|
39
|
+
*/
|
|
21
40
|
name?: string;
|
|
41
|
+
/**
|
|
42
|
+
* Per-kind JSON schema describing the inbound payload. Only supported for the 'custom' kind; other kinds fall back to the built-in default schema.
|
|
43
|
+
*/
|
|
22
44
|
payload_schema_per_kind?: {
|
|
23
45
|
[key: string]: TypesJsonSchema;
|
|
24
46
|
};
|
|
47
|
+
/**
|
|
48
|
+
* 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.
|
|
49
|
+
*/
|
|
50
|
+
schema_mapping_per_kind?: {
|
|
51
|
+
[key: string]: TypesSchemaMapping;
|
|
52
|
+
};
|
|
25
53
|
}
|
|
@@ -3,23 +3,51 @@ import type { TypesCorrelationMapping } from '../schemas/TypesCorrelationMapping
|
|
|
3
3
|
import type { EnumIntegrationMode } from '../schemas/EnumIntegrationMode';
|
|
4
4
|
import type { EnumIntegrationType } from '../schemas/EnumIntegrationType';
|
|
5
5
|
import type { TypesJsonSchema } from '../schemas/TypesJsonSchema';
|
|
6
|
+
import type { TypesSchemaMapping } from '../schemas/TypesSchemaMapping';
|
|
6
7
|
export interface OpenapiCreateIntegrationConfigProjectRequest {
|
|
8
|
+
/**
|
|
9
|
+
* Per-kind write action. For Custom integrations this is forced to 'merge'.
|
|
10
|
+
*/
|
|
7
11
|
action_per_kind?: {
|
|
8
12
|
[key: string]: EnumAction;
|
|
9
13
|
};
|
|
14
|
+
/**
|
|
15
|
+
* Per-kind flag to auto-import discovered entities into the catalog.
|
|
16
|
+
*/
|
|
10
17
|
auto_import_per_kind?: {
|
|
11
18
|
[key: string]: boolean;
|
|
12
19
|
};
|
|
20
|
+
/**
|
|
21
|
+
* Free-form configuration map validated against the integration type's default schema. For webhook mode, must contain a 'webhook_auth' object of type WebhookAuth.
|
|
22
|
+
*/
|
|
13
23
|
configuration?: {
|
|
14
24
|
[key: string]: any;
|
|
15
25
|
} | null;
|
|
16
26
|
correlation_mapping?: TypesCorrelationMapping;
|
|
27
|
+
/**
|
|
28
|
+
* Stable identifier for the integration. Must be unique within its space.
|
|
29
|
+
*/
|
|
17
30
|
identifier?: string;
|
|
18
31
|
integration_mode?: EnumIntegrationMode;
|
|
19
32
|
integration_type?: EnumIntegrationType;
|
|
33
|
+
/**
|
|
34
|
+
* Entity kinds to ingest. Custom integrations require exactly one kind.
|
|
35
|
+
*/
|
|
20
36
|
kinds?: string[];
|
|
37
|
+
/**
|
|
38
|
+
* Human-readable name shown in the UI.
|
|
39
|
+
*/
|
|
21
40
|
name?: string;
|
|
41
|
+
/**
|
|
42
|
+
* Per-kind JSON schema describing the inbound payload. Only supported for the 'custom' kind; other kinds fall back to the built-in default schema.
|
|
43
|
+
*/
|
|
22
44
|
payload_schema_per_kind?: {
|
|
23
45
|
[key: string]: TypesJsonSchema;
|
|
24
46
|
};
|
|
47
|
+
/**
|
|
48
|
+
* 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.
|
|
49
|
+
*/
|
|
50
|
+
schema_mapping_per_kind?: {
|
|
51
|
+
[key: string]: TypesSchemaMapping;
|
|
52
|
+
};
|
|
25
53
|
}
|
package/dist/integration-manager/src/services/schemas/OpenapiCreateIntegrationConfigRequest.d.ts
CHANGED
|
@@ -3,23 +3,51 @@ import type { TypesCorrelationMapping } from '../schemas/TypesCorrelationMapping
|
|
|
3
3
|
import type { EnumIntegrationMode } from '../schemas/EnumIntegrationMode';
|
|
4
4
|
import type { EnumIntegrationType } from '../schemas/EnumIntegrationType';
|
|
5
5
|
import type { TypesJsonSchema } from '../schemas/TypesJsonSchema';
|
|
6
|
+
import type { TypesSchemaMapping } from '../schemas/TypesSchemaMapping';
|
|
6
7
|
export interface OpenapiCreateIntegrationConfigRequest {
|
|
8
|
+
/**
|
|
9
|
+
* Per-kind write action. For Custom integrations this is forced to 'merge'.
|
|
10
|
+
*/
|
|
7
11
|
action_per_kind?: {
|
|
8
12
|
[key: string]: EnumAction;
|
|
9
13
|
};
|
|
14
|
+
/**
|
|
15
|
+
* Per-kind flag to auto-import discovered entities into the catalog.
|
|
16
|
+
*/
|
|
10
17
|
auto_import_per_kind?: {
|
|
11
18
|
[key: string]: boolean;
|
|
12
19
|
};
|
|
20
|
+
/**
|
|
21
|
+
* Free-form configuration map validated against the integration type's default schema. For webhook mode, must contain a 'webhook_auth' object of type WebhookAuth.
|
|
22
|
+
*/
|
|
13
23
|
configuration?: {
|
|
14
24
|
[key: string]: any;
|
|
15
25
|
} | null;
|
|
16
26
|
correlation_mapping?: TypesCorrelationMapping;
|
|
27
|
+
/**
|
|
28
|
+
* Stable identifier for the integration. Must be unique within its space.
|
|
29
|
+
*/
|
|
17
30
|
identifier?: string;
|
|
18
31
|
integration_mode?: EnumIntegrationMode;
|
|
19
32
|
integration_type?: EnumIntegrationType;
|
|
33
|
+
/**
|
|
34
|
+
* Entity kinds to ingest. Custom integrations require exactly one kind.
|
|
35
|
+
*/
|
|
20
36
|
kinds?: string[];
|
|
37
|
+
/**
|
|
38
|
+
* Human-readable name shown in the UI.
|
|
39
|
+
*/
|
|
21
40
|
name?: string;
|
|
41
|
+
/**
|
|
42
|
+
* Per-kind JSON schema describing the inbound payload. Only supported for the 'custom' kind; other kinds fall back to the built-in default schema.
|
|
43
|
+
*/
|
|
22
44
|
payload_schema_per_kind?: {
|
|
23
45
|
[key: string]: TypesJsonSchema;
|
|
24
46
|
};
|
|
47
|
+
/**
|
|
48
|
+
* 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.
|
|
49
|
+
*/
|
|
50
|
+
schema_mapping_per_kind?: {
|
|
51
|
+
[key: string]: TypesSchemaMapping;
|
|
52
|
+
};
|
|
25
53
|
}
|
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 { TypesSchemaMapping } from '../schemas/TypesSchemaMapping';
|
|
3
4
|
export interface OpenapiUpdateIntegrationConfigOrgRequest {
|
|
4
5
|
action_per_kind?: {
|
|
5
6
|
[key: string]: EnumAction;
|
|
@@ -12,4 +13,10 @@ export interface OpenapiUpdateIntegrationConfigOrgRequest {
|
|
|
12
13
|
} | null;
|
|
13
14
|
correlation_mapping?: TypesCorrelationMapping;
|
|
14
15
|
name?: string | null;
|
|
16
|
+
/**
|
|
17
|
+
* 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.
|
|
18
|
+
*/
|
|
19
|
+
schema_mapping_per_kind?: {
|
|
20
|
+
[key: string]: TypesSchemaMapping;
|
|
21
|
+
};
|
|
15
22
|
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { EnumAction } from '../schemas/EnumAction';
|
|
2
2
|
import type { TypesCorrelationMapping } from '../schemas/TypesCorrelationMapping';
|
|
3
|
+
import type { TypesSchemaMapping } from '../schemas/TypesSchemaMapping';
|
|
3
4
|
export interface OpenapiUpdateIntegrationConfigProjectRequest {
|
|
4
5
|
action_per_kind?: {
|
|
5
6
|
[key: string]: EnumAction;
|
|
@@ -12,4 +13,10 @@ export interface OpenapiUpdateIntegrationConfigProjectRequest {
|
|
|
12
13
|
} | null;
|
|
13
14
|
correlation_mapping?: TypesCorrelationMapping;
|
|
14
15
|
name?: string | null;
|
|
16
|
+
/**
|
|
17
|
+
* 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.
|
|
18
|
+
*/
|
|
19
|
+
schema_mapping_per_kind?: {
|
|
20
|
+
[key: string]: TypesSchemaMapping;
|
|
21
|
+
};
|
|
15
22
|
}
|
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 { TypesSchemaMapping } from '../schemas/TypesSchemaMapping';
|
|
3
4
|
export interface OpenapiUpdateIntegrationConfigRequest {
|
|
4
5
|
action_per_kind?: {
|
|
5
6
|
[key: string]: EnumAction;
|
|
@@ -12,4 +13,10 @@ export interface OpenapiUpdateIntegrationConfigRequest {
|
|
|
12
13
|
} | null;
|
|
13
14
|
correlation_mapping?: TypesCorrelationMapping;
|
|
14
15
|
name?: string | null;
|
|
16
|
+
/**
|
|
17
|
+
* 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.
|
|
18
|
+
*/
|
|
19
|
+
schema_mapping_per_kind?: {
|
|
20
|
+
[key: string]: TypesSchemaMapping;
|
|
21
|
+
};
|
|
15
22
|
}
|
|
@@ -2,11 +2,11 @@ import type { EnumOperator } from '../schemas/EnumOperator';
|
|
|
2
2
|
export interface TypesCorrelationMapping {
|
|
3
3
|
operator?: EnumOperator;
|
|
4
4
|
/**
|
|
5
|
-
*
|
|
5
|
+
* Required. Immutable.
|
|
6
6
|
*/
|
|
7
7
|
source_path?: string;
|
|
8
8
|
/**
|
|
9
|
-
*
|
|
9
|
+
* Mutable target field path.
|
|
10
10
|
*/
|
|
11
11
|
target_path?: string;
|
|
12
12
|
}
|
|
@@ -1,11 +1,14 @@
|
|
|
1
1
|
import type { TypesSyncLogKeys } from '../schemas/TypesSyncLogKeys';
|
|
2
|
+
import type { TypesStreamSyncResult } from '../schemas/TypesStreamSyncResult';
|
|
2
3
|
export interface TypesLastSyncInfo {
|
|
3
4
|
completed_at?: number;
|
|
4
5
|
duration_ms?: number;
|
|
5
6
|
entities_synced_count?: number;
|
|
6
7
|
error?: string;
|
|
7
8
|
log_keys?: TypesSyncLogKeys;
|
|
9
|
+
partial_success?: boolean;
|
|
8
10
|
started_at?: number;
|
|
11
|
+
stream_results?: TypesStreamSyncResult[];
|
|
9
12
|
success?: boolean;
|
|
10
13
|
sync_id?: string;
|
|
11
14
|
}
|
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
import type { TypesCorrelationMapping } from '../schemas/TypesCorrelationMapping';
|
|
2
|
+
import type { TypesJsonSchema } from '../schemas/TypesJsonSchema';
|
|
2
3
|
export interface TypesMetricConfiguration {
|
|
4
|
+
api_endpoints?: string[];
|
|
3
5
|
correlation_mapping?: TypesCorrelationMapping;
|
|
6
|
+
payload_schema?: TypesJsonSchema;
|
|
4
7
|
}
|
|
@@ -1,15 +1,21 @@
|
|
|
1
1
|
import type { TypesSyncLogKeys } from '../schemas/TypesSyncLogKeys';
|
|
2
2
|
import type { EnumSyncStatus } from '../schemas/EnumSyncStatus';
|
|
3
|
+
import type { TypesStreamOutcome } from '../schemas/TypesStreamOutcome';
|
|
3
4
|
export interface TypesSyncState {
|
|
5
|
+
configured_streams?: string[];
|
|
4
6
|
cursor?: {
|
|
5
7
|
[key: string]: any;
|
|
6
8
|
};
|
|
9
|
+
global_error?: string;
|
|
7
10
|
has_more?: boolean;
|
|
8
11
|
log_keys?: TypesSyncLogKeys;
|
|
9
12
|
pending?: boolean;
|
|
10
13
|
stale_at?: number;
|
|
11
14
|
started_at?: number;
|
|
12
15
|
status?: EnumSyncStatus;
|
|
16
|
+
stream_outcomes?: {
|
|
17
|
+
[key: string]: TypesStreamOutcome;
|
|
18
|
+
};
|
|
13
19
|
sync_id?: string;
|
|
14
20
|
total_entities?: number;
|
|
15
21
|
}
|
package/package.json
CHANGED