@harnessio/react-integration-manager-client 0.5.3 → 0.5.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.
Files changed (61) hide show
  1. package/dist/integration-manager/src/services/hooks/useCreateAirbyteIntegrationConfigMutation.d.ts +1 -1
  2. package/dist/integration-manager/src/services/hooks/useCreateAirbyteIntegrationConfigMutation.js +1 -1
  3. package/dist/integration-manager/src/services/hooks/useCreateAirbyteIntegrationConfigOrgMutation.d.ts +1 -1
  4. package/dist/integration-manager/src/services/hooks/useCreateAirbyteIntegrationConfigOrgMutation.js +1 -1
  5. package/dist/integration-manager/src/services/hooks/useCreateIntegrationConfigMutation.d.ts +1 -1
  6. package/dist/integration-manager/src/services/hooks/useCreateIntegrationConfigMutation.js +1 -1
  7. package/dist/integration-manager/src/services/hooks/useCreateIntegrationConfigOrgMutation.d.ts +1 -1
  8. package/dist/integration-manager/src/services/hooks/useCreateIntegrationConfigOrgMutation.js +1 -1
  9. package/dist/integration-manager/src/services/hooks/useCreateIntegrationConfigProjectMutation.d.ts +1 -1
  10. package/dist/integration-manager/src/services/hooks/useCreateIntegrationConfigProjectMutation.js +1 -1
  11. package/dist/integration-manager/src/services/hooks/useDeleteIntegrationConfigMutation.d.ts +1 -1
  12. package/dist/integration-manager/src/services/hooks/useDeleteIntegrationConfigMutation.js +1 -1
  13. package/dist/integration-manager/src/services/hooks/useGetAirbyteIntegrationConfigQuery.d.ts +1 -1
  14. package/dist/integration-manager/src/services/hooks/useGetAirbyteIntegrationConfigQuery.js +1 -1
  15. package/dist/integration-manager/src/services/hooks/useListIntegrationEventsOrgQuery.d.ts +2 -1
  16. package/dist/integration-manager/src/services/hooks/useListIntegrationEventsOrgQuery.js +1 -0
  17. package/dist/integration-manager/src/services/hooks/useListIntegrationEventsProjectQuery.d.ts +2 -1
  18. package/dist/integration-manager/src/services/hooks/useListIntegrationEventsProjectQuery.js +1 -0
  19. package/dist/integration-manager/src/services/hooks/useListIntegrationEventsQuery.d.ts +2 -1
  20. package/dist/integration-manager/src/services/hooks/useListIntegrationEventsQuery.js +1 -0
  21. package/dist/integration-manager/src/services/hooks/useSyncNowMutation.d.ts +1 -1
  22. package/dist/integration-manager/src/services/hooks/useSyncNowMutation.js +1 -1
  23. package/dist/integration-manager/src/services/hooks/useTriggerSyncMutation.d.ts +1 -1
  24. package/dist/integration-manager/src/services/hooks/useTriggerSyncMutation.js +1 -1
  25. package/dist/integration-manager/src/services/hooks/useUpdateAirbyteIntegrationConfigMutation.d.ts +1 -1
  26. package/dist/integration-manager/src/services/hooks/useUpdateAirbyteIntegrationConfigMutation.js +1 -1
  27. package/dist/integration-manager/src/services/hooks/useUpdateIntegrationConfigMutation.d.ts +1 -1
  28. package/dist/integration-manager/src/services/hooks/useUpdateIntegrationConfigMutation.js +1 -1
  29. package/dist/integration-manager/src/services/hooks/useUpdateIntegrationConfigOrgMutation.d.ts +1 -1
  30. package/dist/integration-manager/src/services/hooks/useUpdateIntegrationConfigOrgMutation.js +1 -1
  31. package/dist/integration-manager/src/services/hooks/useUpdateIntegrationStatusMutation.d.ts +1 -1
  32. package/dist/integration-manager/src/services/hooks/useUpdateIntegrationStatusMutation.js +1 -1
  33. package/dist/integration-manager/src/services/hooks/useValidateCustomSchemaMutation.d.ts +1 -1
  34. package/dist/integration-manager/src/services/hooks/useValidateCustomSchemaMutation.js +1 -1
  35. package/dist/integration-manager/src/services/index.d.ts +2 -0
  36. package/dist/integration-manager/src/services/schemas/EnumIntegrationMode.d.ts +1 -1
  37. package/dist/integration-manager/src/services/schemas/EnumIntegrationType.d.ts +1 -1
  38. package/dist/integration-manager/src/services/schemas/OpenapiCreateAirbyteIntegrationConfigOrgRequest.d.ts +3 -4
  39. package/dist/integration-manager/src/services/schemas/OpenapiCreateAirbyteIntegrationConfigProjectRequest.d.ts +3 -4
  40. package/dist/integration-manager/src/services/schemas/OpenapiCreateAirbyteIntegrationConfigRequest.d.ts +3 -4
  41. package/dist/integration-manager/src/services/schemas/OpenapiCreateIntegrationConfigOrgRequest.d.ts +8 -1
  42. package/dist/integration-manager/src/services/schemas/OpenapiCreateIntegrationConfigProjectRequest.d.ts +8 -1
  43. package/dist/integration-manager/src/services/schemas/OpenapiCreateIntegrationConfigRequest.d.ts +8 -1
  44. package/dist/integration-manager/src/services/schemas/OpenapiUpdateAirbyteIntegrationConfigOrgRequest.d.ts +0 -4
  45. package/dist/integration-manager/src/services/schemas/OpenapiUpdateAirbyteIntegrationConfigProjectRequest.d.ts +0 -4
  46. package/dist/integration-manager/src/services/schemas/OpenapiUpdateAirbyteIntegrationConfigRequest.d.ts +0 -4
  47. package/dist/integration-manager/src/services/schemas/OpenapiUpdateIntegrationConfigOrgRequest.d.ts +3 -1
  48. package/dist/integration-manager/src/services/schemas/OpenapiUpdateIntegrationConfigProjectRequest.d.ts +3 -1
  49. package/dist/integration-manager/src/services/schemas/OpenapiUpdateIntegrationConfigRequest.d.ts +3 -1
  50. package/dist/integration-manager/src/services/schemas/TimeDuration.d.ts +1 -0
  51. package/dist/integration-manager/src/services/schemas/TimeDuration.js +4 -0
  52. package/dist/integration-manager/src/services/schemas/TypesCorrelationMapping.d.ts +6 -0
  53. package/dist/integration-manager/src/services/schemas/TypesDefaultKind.d.ts +3 -1
  54. package/dist/integration-manager/src/services/schemas/TypesEntity.d.ts +4 -0
  55. package/dist/integration-manager/src/services/schemas/TypesEntitySchema.d.ts +2 -0
  56. package/dist/integration-manager/src/services/schemas/TypesHarnessAirbyteConfig.d.ts +7 -0
  57. package/dist/integration-manager/src/services/schemas/TypesIntegrationConfig.d.ts +1 -1
  58. package/dist/integration-manager/src/services/schemas/TypesMappingConfig.d.ts +0 -1
  59. package/dist/integration-manager/src/services/schemas/TypesReevalState.d.ts +9 -0
  60. package/dist/integration-manager/src/services/schemas/TypesReevalState.js +4 -0
  61. package/package.json +1 -1
@@ -15,6 +15,6 @@ export interface CreateAirbyteIntegrationConfigProps extends CreateAirbyteIntegr
15
15
  }
16
16
  export declare function createAirbyteIntegrationConfig(props: CreateAirbyteIntegrationConfigProps): Promise<CreateAirbyteIntegrationConfigOkResponse>;
17
17
  /**
18
- * Creates an Airbyte integration with connector catalog information. This endpoint creates the integration config, entity schemas, entity mappings, and airbyte connector with catalog information within a single transaction. Returns the created integration config along with the associated airbyte connector, entity schemas, and entity mappings. The optional secondary_kinds field controls which configurable secondary kinds are included: when omitted (nil), all secondary kinds are included for backward compatibility; when an empty array, only required (non-configurable) secondary kinds are included; when populated, the specified configurable secondary kinds are included along with all required ones.
18
+ * Creates an Airbyte integration atomically with connector catalog information.
19
19
  */
20
20
  export declare function useCreateAirbyteIntegrationConfigMutation(options?: Omit<UseMutationOptions<CreateAirbyteIntegrationConfigOkResponse, CreateAirbyteIntegrationConfigErrorResponse, CreateAirbyteIntegrationConfigProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<CreateAirbyteIntegrationConfigOkResponse, ApierrorsErrorResponse, CreateAirbyteIntegrationConfigProps, unknown>;
@@ -7,7 +7,7 @@ export function createAirbyteIntegrationConfig(props) {
7
7
  return fetcher(Object.assign({ url: `/api/v1/accounts/${props.accountIdentifier}/integration-configs/airbyte`, method: 'POST' }, props));
8
8
  }
9
9
  /**
10
- * Creates an Airbyte integration with connector catalog information. This endpoint creates the integration config, entity schemas, entity mappings, and airbyte connector with catalog information within a single transaction. Returns the created integration config along with the associated airbyte connector, entity schemas, and entity mappings. The optional secondary_kinds field controls which configurable secondary kinds are included: when omitted (nil), all secondary kinds are included for backward compatibility; when an empty array, only required (non-configurable) secondary kinds are included; when populated, the specified configurable secondary kinds are included along with all required ones.
10
+ * Creates an Airbyte integration atomically with connector catalog information.
11
11
  */
12
12
  export function useCreateAirbyteIntegrationConfigMutation(options) {
13
13
  return useMutation((mutateProps) => createAirbyteIntegrationConfig(mutateProps), options);
@@ -16,6 +16,6 @@ export interface CreateAirbyteIntegrationConfigOrgProps extends CreateAirbyteInt
16
16
  }
17
17
  export declare function createAirbyteIntegrationConfigOrg(props: CreateAirbyteIntegrationConfigOrgProps): Promise<CreateAirbyteIntegrationConfigOrgOkResponse>;
18
18
  /**
19
- * Creates an Airbyte integration at organization level with connector catalog information. This endpoint creates the integration config, entity schemas, entity mappings, and airbyte connector with catalog information within a single transaction. Returns the created integration config along with the associated airbyte connector, entity schemas, and entity mappings. The optional secondary_kinds field controls which configurable secondary kinds are included: when omitted (nil), all secondary kinds are included for backward compatibility; when an empty array, only required (non-configurable) secondary kinds are included; when populated, the specified configurable secondary kinds are included along with all required ones.
19
+ * Creates an Airbyte integration atomically at organization level.
20
20
  */
21
21
  export declare function useCreateAirbyteIntegrationConfigOrgMutation(options?: Omit<UseMutationOptions<CreateAirbyteIntegrationConfigOrgOkResponse, CreateAirbyteIntegrationConfigOrgErrorResponse, CreateAirbyteIntegrationConfigOrgProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<CreateAirbyteIntegrationConfigOrgOkResponse, ApierrorsErrorResponse, CreateAirbyteIntegrationConfigOrgProps, unknown>;
@@ -7,7 +7,7 @@ export function createAirbyteIntegrationConfigOrg(props) {
7
7
  return fetcher(Object.assign({ url: `/api/v1/accounts/${props.accountIdentifier}/orgs/${props.orgIdentifier}/integration-configs/airbyte`, method: 'POST' }, props));
8
8
  }
9
9
  /**
10
- * Creates an Airbyte integration at organization level with connector catalog information. This endpoint creates the integration config, entity schemas, entity mappings, and airbyte connector with catalog information within a single transaction. Returns the created integration config along with the associated airbyte connector, entity schemas, and entity mappings. The optional secondary_kinds field controls which configurable secondary kinds are included: when omitted (nil), all secondary kinds are included for backward compatibility; when an empty array, only required (non-configurable) secondary kinds are included; when populated, the specified configurable secondary kinds are included along with all required ones.
10
+ * Creates an Airbyte integration atomically at organization level.
11
11
  */
12
12
  export function useCreateAirbyteIntegrationConfigOrgMutation(options) {
13
13
  return useMutation((mutateProps) => createAirbyteIntegrationConfigOrg(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
- * Create integration configuration
18
+ * Creates a new integration configuration. If correlation_mapping is provided, source_path must be non-empty and operator must be 'eq'.
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
- * Create integration configuration
10
+ * Creates a new integration configuration. If correlation_mapping is provided, source_path must be non-empty and operator must be 'eq'.
11
11
  */
12
12
  export function useCreateIntegrationConfigMutation(options) {
13
13
  return useMutation((mutateProps) => createIntegrationConfig(mutateProps), options);
@@ -16,6 +16,6 @@ export interface CreateIntegrationConfigOrgProps extends CreateIntegrationConfig
16
16
  }
17
17
  export declare function createIntegrationConfigOrg(props: CreateIntegrationConfigOrgProps): Promise<CreateIntegrationConfigOrgOkResponse>;
18
18
  /**
19
- * Create integration configuration at organization level
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'.
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>;
@@ -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
- * Create integration configuration at organization level
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'.
11
11
  */
12
12
  export function useCreateIntegrationConfigOrgMutation(options) {
13
13
  return useMutation((mutateProps) => createIntegrationConfigOrg(mutateProps), options);
@@ -17,6 +17,6 @@ export interface CreateIntegrationConfigProjectProps extends CreateIntegrationCo
17
17
  }
18
18
  export declare function createIntegrationConfigProject(props: CreateIntegrationConfigProjectProps): Promise<CreateIntegrationConfigProjectOkResponse>;
19
19
  /**
20
- * Create integration configuration at project level
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'.
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>;
@@ -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
- * Create integration configuration at project level
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'.
11
11
  */
12
12
  export function useCreateIntegrationConfigProjectMutation(options) {
13
13
  return useMutation((mutateProps) => createIntegrationConfigProject(mutateProps), options);
@@ -12,6 +12,6 @@ export interface DeleteIntegrationConfigProps extends DeleteIntegrationConfigMut
12
12
  }
13
13
  export declare function deleteIntegrationConfig(props: DeleteIntegrationConfigProps): Promise<DeleteIntegrationConfigOkResponse>;
14
14
  /**
15
- * Removes entity mappings, schemas, deletes the airbyte connector document (including stream state), then marks the integration as deleted. On success the response is 200 with an empty body. If the integration was already soft-deleted or removed by a concurrent DELETE, the response is 410 Gone with code INTEGRATION_DELETED.
15
+ * Soft-deletes the integration and its associated resources. Returns 410 Gone if already deleted.
16
16
  */
17
17
  export declare function useDeleteIntegrationConfigMutation(options?: Omit<UseMutationOptions<DeleteIntegrationConfigOkResponse, DeleteIntegrationConfigErrorResponse, DeleteIntegrationConfigProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<DeleteIntegrationConfigOkResponse, ApierrorsErrorResponse, DeleteIntegrationConfigProps, unknown>;
@@ -7,7 +7,7 @@ export function deleteIntegrationConfig(props) {
7
7
  return fetcher(Object.assign({ url: `/api/v1/accounts/${props.accountIdentifier}/integration-configs/${props.integrationconfig_identifier}`, method: 'DELETE' }, props));
8
8
  }
9
9
  /**
10
- * Removes entity mappings, schemas, deletes the airbyte connector document (including stream state), then marks the integration as deleted. On success the response is 200 with an empty body. If the integration was already soft-deleted or removed by a concurrent DELETE, the response is 410 Gone with code INTEGRATION_DELETED.
10
+ * Soft-deletes the integration and its associated resources. Returns 410 Gone if already deleted.
11
11
  */
12
12
  export function useDeleteIntegrationConfigMutation(options) {
13
13
  return useMutation((mutateProps) => deleteIntegrationConfig(mutateProps), options);
@@ -13,6 +13,6 @@ export interface GetAirbyteIntegrationConfigProps extends GetAirbyteIntegrationC
13
13
  }
14
14
  export declare function getAirbyteIntegrationConfig(props: GetAirbyteIntegrationConfigProps): Promise<GetAirbyteIntegrationConfigOkResponse>;
15
15
  /**
16
- * Retrieves complete Airbyte integration details including the integration config, airbyte connector, entity schemas, and entity mappings. Returns the same response structure as CreateAirbyteIntegrationConfig for consistency.
16
+ * Retrieves complete Airbyte integration details.
17
17
  */
18
18
  export declare function useGetAirbyteIntegrationConfigQuery(props: GetAirbyteIntegrationConfigProps, options?: Omit<UseQueryOptions<GetAirbyteIntegrationConfigOkResponse, GetAirbyteIntegrationConfigErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetAirbyteIntegrationConfigOkResponse, ApierrorsErrorResponse>;
@@ -7,7 +7,7 @@ export function getAirbyteIntegrationConfig(props) {
7
7
  return fetcher(Object.assign({ url: `/api/v1/accounts/${props.accountIdentifier}/integration-configs/airbyte/${props.integrationconfig_identifier}`, method: 'GET' }, props));
8
8
  }
9
9
  /**
10
- * Retrieves complete Airbyte integration details including the integration config, airbyte connector, entity schemas, and entity mappings. Returns the same response structure as CreateAirbyteIntegrationConfig for consistency.
10
+ * Retrieves complete Airbyte integration details.
11
11
  */
12
12
  export function useGetAirbyteIntegrationConfigQuery(props, options) {
13
13
  return useQuery(['getAirbyteIntegrationConfig', props.accountIdentifier, props.integrationconfig_identifier], ({ signal }) => getAirbyteIntegrationConfig(Object.assign(Object.assign({}, props), { signal })), options);
@@ -16,7 +16,7 @@ export interface ListIntegrationEventsOrgQueryQueryParams {
16
16
  /**
17
17
  * Filter by one or more UI status values (repeatable)
18
18
  */
19
- status?: Array<'FAILED' | 'PARTIAL_SUCCESS' | 'RUNNING' | 'SUCCESS'>;
19
+ status?: Array<'CANCELLED' | 'FAILED' | 'PARTIAL_SUCCESS' | 'RUNNING' | 'SUCCESS'>;
20
20
  /**
21
21
  * Sort field (default: updated_at)
22
22
  * @default "updated_at"
@@ -65,5 +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
69
  */
69
70
  export declare function useListIntegrationEventsOrgQuery(props: ListIntegrationEventsOrgProps, options?: Omit<UseQueryOptions<ListIntegrationEventsOrgOkResponse, ListIntegrationEventsOrgErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<ListIntegrationEventsOrgOkResponse, ApierrorsErrorResponse>;
@@ -27,6 +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
31
  */
31
32
  export function useListIntegrationEventsOrgQuery(props, options) {
32
33
  return useQuery([
@@ -17,7 +17,7 @@ export interface ListIntegrationEventsProjectQueryQueryParams {
17
17
  /**
18
18
  * Filter by one or more UI status values (repeatable)
19
19
  */
20
- status?: Array<'FAILED' | 'PARTIAL_SUCCESS' | 'RUNNING' | 'SUCCESS'>;
20
+ status?: Array<'CANCELLED' | 'FAILED' | 'PARTIAL_SUCCESS' | 'RUNNING' | 'SUCCESS'>;
21
21
  /**
22
22
  * Sort field (default: updated_at)
23
23
  * @default "updated_at"
@@ -66,5 +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
70
  */
70
71
  export declare function useListIntegrationEventsProjectQuery(props: ListIntegrationEventsProjectProps, options?: Omit<UseQueryOptions<ListIntegrationEventsProjectOkResponse, ListIntegrationEventsProjectErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<ListIntegrationEventsProjectOkResponse, ApierrorsErrorResponse>;
@@ -27,6 +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
31
  */
31
32
  export function useListIntegrationEventsProjectQuery(props, options) {
32
33
  return useQuery([
@@ -15,7 +15,7 @@ export interface ListIntegrationEventsQueryQueryParams {
15
15
  /**
16
16
  * Filter by one or more UI status values (repeatable)
17
17
  */
18
- status?: Array<'FAILED' | 'PARTIAL_SUCCESS' | 'RUNNING' | 'SUCCESS'>;
18
+ status?: Array<'CANCELLED' | 'FAILED' | 'PARTIAL_SUCCESS' | 'RUNNING' | 'SUCCESS'>;
19
19
  /**
20
20
  * Sort field (default: updated_at)
21
21
  * @default "updated_at"
@@ -64,5 +64,6 @@ export declare function listIntegrationEvents(props: ListIntegrationEventsProps)
64
64
  * - FAILED: Operation failed (maps to FAILED, STALE, SUPERSEDED)
65
65
  * - RUNNING: Operation in progress (maps to SCHEDULED, SUBMITTED, RUNNING)
66
66
  * - PARTIAL_SUCCESS: Operation completed with partial success
67
+ * - CANCELLED: Operation was cancelled
67
68
  */
68
69
  export declare function useListIntegrationEventsQuery(props: ListIntegrationEventsProps, options?: Omit<UseQueryOptions<ListIntegrationEventsOkResponse, ListIntegrationEventsErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<ListIntegrationEventsOkResponse, ApierrorsErrorResponse>;
@@ -27,6 +27,7 @@ export function listIntegrationEvents(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
31
  */
31
32
  export function useListIntegrationEventsQuery(props, options) {
32
33
  return useQuery([
@@ -13,6 +13,6 @@ export interface SyncNowProps extends SyncNowMutationPathParams, Omit<FetcherOpt
13
13
  }
14
14
  export declare function syncNow(props: SyncNowProps): Promise<SyncNowOkResponse>;
15
15
  /**
16
- * Triggers an immediate sync for the integration. Supported for Airbyte-mode integrations (e.g. ServiceNow); calls the k8s-agent sync-now API via the delegate flow. Returns the sync result including success status, logs, and any error details.
16
+ * Triggers an immediate Airbyte sync via the k8s-agent.
17
17
  */
18
18
  export declare function useSyncNowMutation(options?: Omit<UseMutationOptions<SyncNowOkResponse, SyncNowErrorResponse, SyncNowProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<SyncNowOkResponse, ApierrorsErrorResponse, SyncNowProps, unknown>;
@@ -7,7 +7,7 @@ export function syncNow(props) {
7
7
  return fetcher(Object.assign({ url: `/api/v1/accounts/${props.accountIdentifier}/integration-configs/${props.integrationconfig_identifier}/airbyte-sync`, method: 'POST' }, props));
8
8
  }
9
9
  /**
10
- * Triggers an immediate sync for the integration. Supported for Airbyte-mode integrations (e.g. ServiceNow); calls the k8s-agent sync-now API via the delegate flow. Returns the sync result including success status, logs, and any error details.
10
+ * Triggers an immediate Airbyte sync via the k8s-agent.
11
11
  */
12
12
  export function useSyncNowMutation(options) {
13
13
  return useMutation((mutateProps) => syncNow(mutateProps), options);
@@ -13,6 +13,6 @@ export interface TriggerSyncProps extends TriggerSyncMutationPathParams, Omit<Fe
13
13
  }
14
14
  export declare function triggerSync(props: TriggerSyncProps): Promise<TriggerSyncOkResponse>;
15
15
  /**
16
- * Manually triggers a full sync for the specified integration. The sync will start from the beginning and process all configured kinds. Returns an acknowledgement with the sync ID that can be used to track the sync operation.
16
+ * Triggers a full sync for the integration.
17
17
  */
18
18
  export declare function useTriggerSyncMutation(options?: Omit<UseMutationOptions<TriggerSyncOkResponse, TriggerSyncErrorResponse, TriggerSyncProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<TriggerSyncOkResponse, ApierrorsErrorResponse, TriggerSyncProps, unknown>;
@@ -7,7 +7,7 @@ export function triggerSync(props) {
7
7
  return fetcher(Object.assign({ url: `/api/v1/accounts/${props.accountIdentifier}/integration-configs/${props.integrationconfig_identifier}/sync`, method: 'POST' }, props));
8
8
  }
9
9
  /**
10
- * Manually triggers a full sync for the specified integration. The sync will start from the beginning and process all configured kinds. Returns an acknowledgement with the sync ID that can be used to track the sync operation.
10
+ * Triggers a full sync for the integration.
11
11
  */
12
12
  export function useTriggerSyncMutation(options) {
13
13
  return useMutation((mutateProps) => triggerSync(mutateProps), options);
@@ -16,6 +16,6 @@ export interface UpdateAirbyteIntegrationConfigProps extends UpdateAirbyteIntegr
16
16
  }
17
17
  export declare function updateAirbyteIntegrationConfig(props: UpdateAirbyteIntegrationConfigProps): Promise<UpdateAirbyteIntegrationConfigOkResponse>;
18
18
  /**
19
- * Updates an Airbyte integration allowing modification of name, integration config, mapping config, and entity mappings per kind. This endpoint updates the configured catalog in the airbyte connector, entity schemas, and entity mappings. Returns the updated integration config along with the associated airbyte connector, entity schemas, and entity mappings.
19
+ * Updates an Airbyte integration and its connector catalog.
20
20
  */
21
21
  export declare function useUpdateAirbyteIntegrationConfigMutation(options?: Omit<UseMutationOptions<UpdateAirbyteIntegrationConfigOkResponse, UpdateAirbyteIntegrationConfigErrorResponse, UpdateAirbyteIntegrationConfigProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<UpdateAirbyteIntegrationConfigOkResponse, ApierrorsErrorResponse, UpdateAirbyteIntegrationConfigProps, unknown>;
@@ -7,7 +7,7 @@ export function updateAirbyteIntegrationConfig(props) {
7
7
  return fetcher(Object.assign({ url: `/api/v1/accounts/${props.accountIdentifier}/integration-configs/airbyte/${props.integrationconfig_identifier}`, method: 'PUT' }, props));
8
8
  }
9
9
  /**
10
- * Updates an Airbyte integration allowing modification of name, integration config, mapping config, and entity mappings per kind. This endpoint updates the configured catalog in the airbyte connector, entity schemas, and entity mappings. Returns the updated integration config along with the associated airbyte connector, entity schemas, and entity mappings.
10
+ * Updates an Airbyte integration and its connector catalog.
11
11
  */
12
12
  export function useUpdateAirbyteIntegrationConfigMutation(options) {
13
13
  return useMutation((mutateProps) => updateAirbyteIntegrationConfig(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. Supports auto_import, auto_import_per_kind, action_per_kind, and configuration. When auto_import_per_kind is not provided, it is populated from the global auto_import value for all kinds. When action_per_kind is not provided, all kinds default to Merge_Register.
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).
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. Supports auto_import, auto_import_per_kind, action_per_kind, and configuration. When auto_import_per_kind is not provided, it is populated from the global auto_import value for all kinds. When action_per_kind is not provided, all kinds default to Merge_Register.
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).
11
11
  */
12
12
  export function useUpdateIntegrationConfigMutation(options) {
13
13
  return useMutation((mutateProps) => updateIntegrationConfig(mutateProps), options);
@@ -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, auto_import_per_kind, action_per_kind, and configuration. When auto_import_per_kind is not provided, it is populated from the global auto_import value for all kinds. When action_per_kind is not provided, all kinds default to Merge_Register.
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).
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>;
@@ -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, auto_import_per_kind, action_per_kind, and configuration. When auto_import_per_kind is not provided, it is populated from the global auto_import value for all kinds. When action_per_kind is not provided, all kinds default to Merge_Register.
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).
11
11
  */
12
12
  export function useUpdateIntegrationConfigOrgMutation(options) {
13
13
  return useMutation((mutateProps) => updateIntegrationConfigOrg(mutateProps), options);
@@ -20,6 +20,6 @@ export interface UpdateIntegrationStatusProps extends UpdateIntegrationStatusMut
20
20
  }
21
21
  export declare function updateIntegrationStatus(props: UpdateIntegrationStatusProps): Promise<UpdateIntegrationStatusOkResponse>;
22
22
  /**
23
- * Enable or disable an integration configuration. Use action='enable' to enable the integration or action='disable' to disable it. Enabling an integration will trigger an initial sync if the integration is enabled for the first time.
23
+ * Enable or disable an integration. First enable triggers an initial sync.
24
24
  */
25
25
  export declare function useUpdateIntegrationStatusMutation(options?: Omit<UseMutationOptions<UpdateIntegrationStatusOkResponse, UpdateIntegrationStatusErrorResponse, UpdateIntegrationStatusProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<UpdateIntegrationStatusOkResponse, ApierrorsErrorResponse, UpdateIntegrationStatusProps, unknown>;
@@ -7,7 +7,7 @@ export function updateIntegrationStatus(props) {
7
7
  return fetcher(Object.assign({ url: `/api/v1/accounts/${props.accountIdentifier}/integration-configs/${props.integrationconfig_identifier}/status`, method: 'PATCH' }, props));
8
8
  }
9
9
  /**
10
- * Enable or disable an integration configuration. Use action='enable' to enable the integration or action='disable' to disable it. Enabling an integration will trigger an initial sync if the integration is enabled for the first time.
10
+ * Enable or disable an integration. First enable triggers an initial sync.
11
11
  */
12
12
  export function useUpdateIntegrationStatusMutation(options) {
13
13
  return useMutation((mutateProps) => updateIntegrationStatus(mutateProps), options);
@@ -15,6 +15,6 @@ export interface ValidateCustomSchemaProps extends ValidateCustomSchemaMutationP
15
15
  }
16
16
  export declare function validateCustomSchema(props: ValidateCustomSchemaProps): Promise<ValidateCustomSchemaOkResponse>;
17
17
  /**
18
- * Validates a custom JSON schema for correctness before saving. Checks structure, optional fields (identifier, name, timestamp) shape, property types, nesting depth (max 2), property count (max 200 per object), and JSON Schema composition keywords (allOf, anyOf, oneOf, not). Returns HTTP 200 if valid, HTTP 400 with all collected errors if invalid.
18
+ * Validates a custom JSON schema for correctness before saving. No fields are mandatory; type defaults to "object" when omitted and is only rejected if explicitly set to a non-object type. If identifier/name/timestamp/entity_ref/type are present, they must be of type "string" (or ["string","null"]). If tags is present, it must be a string→string map ({"type":"object","additionalProperties":{"type":"string"}}). Enforces max nesting depth of 10, max 200 properties per object (root and nested), and supports JSON Schema composition keywords (allOf, anyOf, oneOf, not). Request body capped at 1 MB. Returns HTTP 200 if valid, HTTP 400 with all collected errors if invalid.
19
19
  */
20
20
  export declare function useValidateCustomSchemaMutation(options?: Omit<UseMutationOptions<ValidateCustomSchemaOkResponse, ValidateCustomSchemaErrorResponse, ValidateCustomSchemaProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<ValidateCustomSchemaOkResponse, ApierrorsErrorResponse, ValidateCustomSchemaProps, unknown>;
@@ -7,7 +7,7 @@ export function validateCustomSchema(props) {
7
7
  return fetcher(Object.assign({ url: `/api/v1/accounts/${props.accountIdentifier}/integration-configs/validate-schema`, method: 'POST' }, props));
8
8
  }
9
9
  /**
10
- * Validates a custom JSON schema for correctness before saving. Checks structure, optional fields (identifier, name, timestamp) shape, property types, nesting depth (max 2), property count (max 200 per object), and JSON Schema composition keywords (allOf, anyOf, oneOf, not). Returns HTTP 200 if valid, HTTP 400 with all collected errors if invalid.
10
+ * Validates a custom JSON schema for correctness before saving. No fields are mandatory; type defaults to "object" when omitted and is only rejected if explicitly set to a non-object type. If identifier/name/timestamp/entity_ref/type are present, they must be of type "string" (or ["string","null"]). If tags is present, it must be a string→string map ({"type":"object","additionalProperties":{"type":"string"}}). Enforces max nesting depth of 10, max 200 properties per object (root and nested), and supports JSON Schema composition keywords (allOf, anyOf, oneOf, not). Request body capped at 1 MB. Returns HTTP 200 if valid, HTTP 400 with all collected errors if invalid.
11
11
  */
12
12
  export function useValidateCustomSchemaMutation(options) {
13
13
  return useMutation((mutateProps) => validateCustomSchema(mutateProps), options);
@@ -171,6 +171,7 @@ export type { OpenapiUpdateIntegrationConfigRequest } from './schemas/OpenapiUpd
171
171
  export type { OpenapiValidateCustomSchemaOrgRequest } from './schemas/OpenapiValidateCustomSchemaOrgRequest';
172
172
  export type { OpenapiValidateCustomSchemaProjectRequest } from './schemas/OpenapiValidateCustomSchemaProjectRequest';
173
173
  export type { OpenapiValidateCustomSchemaRequest } from './schemas/OpenapiValidateCustomSchemaRequest';
174
+ export type { TimeDuration } from './schemas/TimeDuration';
174
175
  export type { TypesAgentStatus } from './schemas/TypesAgentStatus';
175
176
  export type { TypesAirbyteCatalogConfigured } from './schemas/TypesAirbyteCatalogConfigured';
176
177
  export type { TypesAirbyteCatalogDiscovered } from './schemas/TypesAirbyteCatalogDiscovered';
@@ -204,6 +205,7 @@ export type { TypesLastSyncInfo } from './schemas/TypesLastSyncInfo';
204
205
  export type { TypesListDefaultMappingFieldsResponse } from './schemas/TypesListDefaultMappingFieldsResponse';
205
206
  export type { TypesMappingConfig } from './schemas/TypesMappingConfig';
206
207
  export type { TypesMappingSpec } from './schemas/TypesMappingSpec';
208
+ export type { TypesReevalState } from './schemas/TypesReevalState';
207
209
  export type { TypesSchemaMapping } from './schemas/TypesSchemaMapping';
208
210
  export type { TypesScope } from './schemas/TypesScope';
209
211
  export type { TypesScopeConfig } from './schemas/TypesScopeConfig';
@@ -1 +1 @@
1
- export type EnumIntegrationMode = 'airbyte' | 'platform' | 'webhook';
1
+ export type EnumIntegrationMode = 'airbyte' | 'api' | 'platform' | 'webhook';
@@ -1 +1 @@
1
- export type EnumIntegrationType = 'BitbucketCloud' | 'CatalogInfo' | 'DataDog' | 'DynaTrace' | 'GCP' | 'GitHub' | 'HarnessCD' | 'HarnessK8s' | 'HarnessScope' | 'PagerDuty' | 'ServiceNow' | 'SonarQube';
1
+ export type EnumIntegrationType = 'BitbucketCloud' | 'CatalogInfo' | 'Custom' | 'DataDog' | 'DynaTrace' | 'GCP' | 'GitHub' | 'HarnessCD' | 'HarnessK8s' | 'HarnessScope' | 'PagerDuty' | 'ServiceNow' | 'SonarQube';
@@ -8,14 +8,10 @@ export interface OpenapiCreateAirbyteIntegrationConfigOrgRequest {
8
8
  action_per_kind?: {
9
9
  [key: string]: EnumAction;
10
10
  };
11
- auto_import?: boolean | null;
12
11
  auto_import_per_kind?: {
13
12
  [key: string]: boolean;
14
13
  };
15
14
  discovered_catalog?: TypesAirbyteCatalogDiscovered;
16
- entity_mappings_per_kind?: {
17
- [key: string]: TypesFieldMapping[];
18
- };
19
15
  field_mappings_per_kind?: {
20
16
  [key: string]: TypesFieldMapping[];
21
17
  };
@@ -32,5 +28,8 @@ export interface OpenapiCreateAirbyteIntegrationConfigOrgRequest {
32
28
  replication_mode_per_kind?: {
33
29
  [key: string]: EnumAirbyteSyncMode;
34
30
  };
31
+ /**
32
+ * Optional secondary entity kinds to include. nil=all (backward compat), []=only required, populated=specified plus required.
33
+ */
35
34
  secondary_kinds?: string[];
36
35
  }
@@ -8,14 +8,10 @@ export interface OpenapiCreateAirbyteIntegrationConfigProjectRequest {
8
8
  action_per_kind?: {
9
9
  [key: string]: EnumAction;
10
10
  };
11
- auto_import?: boolean | null;
12
11
  auto_import_per_kind?: {
13
12
  [key: string]: boolean;
14
13
  };
15
14
  discovered_catalog?: TypesAirbyteCatalogDiscovered;
16
- entity_mappings_per_kind?: {
17
- [key: string]: TypesFieldMapping[];
18
- };
19
15
  field_mappings_per_kind?: {
20
16
  [key: string]: TypesFieldMapping[];
21
17
  };
@@ -32,5 +28,8 @@ export interface OpenapiCreateAirbyteIntegrationConfigProjectRequest {
32
28
  replication_mode_per_kind?: {
33
29
  [key: string]: EnumAirbyteSyncMode;
34
30
  };
31
+ /**
32
+ * Optional secondary entity kinds to include. nil=all (backward compat), []=only required, populated=specified plus required.
33
+ */
35
34
  secondary_kinds?: string[];
36
35
  }
@@ -8,14 +8,10 @@ export interface OpenapiCreateAirbyteIntegrationConfigRequest {
8
8
  action_per_kind?: {
9
9
  [key: string]: EnumAction;
10
10
  };
11
- auto_import?: boolean | null;
12
11
  auto_import_per_kind?: {
13
12
  [key: string]: boolean;
14
13
  };
15
14
  discovered_catalog?: TypesAirbyteCatalogDiscovered;
16
- entity_mappings_per_kind?: {
17
- [key: string]: TypesFieldMapping[];
18
- };
19
15
  field_mappings_per_kind?: {
20
16
  [key: string]: TypesFieldMapping[];
21
17
  };
@@ -32,5 +28,8 @@ export interface OpenapiCreateAirbyteIntegrationConfigRequest {
32
28
  replication_mode_per_kind?: {
33
29
  [key: string]: EnumAirbyteSyncMode;
34
30
  };
31
+ /**
32
+ * Optional secondary entity kinds to include. nil=all (backward compat), []=only required, populated=specified plus required.
33
+ */
35
34
  secondary_kinds?: string[];
36
35
  }
@@ -1,18 +1,25 @@
1
1
  import type { EnumAction } from '../schemas/EnumAction';
2
+ import type { TypesCorrelationMapping } from '../schemas/TypesCorrelationMapping';
3
+ import type { EnumIntegrationMode } from '../schemas/EnumIntegrationMode';
2
4
  import type { EnumIntegrationType } from '../schemas/EnumIntegrationType';
5
+ import type { TypesJsonSchema } from '../schemas/TypesJsonSchema';
3
6
  export interface OpenapiCreateIntegrationConfigOrgRequest {
4
7
  action_per_kind?: {
5
8
  [key: string]: EnumAction;
6
9
  };
7
- auto_import?: boolean | null;
8
10
  auto_import_per_kind?: {
9
11
  [key: string]: boolean;
10
12
  };
11
13
  configuration?: {
12
14
  [key: string]: any;
13
15
  } | null;
16
+ correlation_mapping?: TypesCorrelationMapping;
14
17
  identifier?: string;
18
+ integration_mode?: EnumIntegrationMode;
15
19
  integration_type?: EnumIntegrationType;
16
20
  kinds?: string[];
17
21
  name?: string;
22
+ payload_schema_per_kind?: {
23
+ [key: string]: TypesJsonSchema;
24
+ };
18
25
  }
@@ -1,18 +1,25 @@
1
1
  import type { EnumAction } from '../schemas/EnumAction';
2
+ import type { TypesCorrelationMapping } from '../schemas/TypesCorrelationMapping';
3
+ import type { EnumIntegrationMode } from '../schemas/EnumIntegrationMode';
2
4
  import type { EnumIntegrationType } from '../schemas/EnumIntegrationType';
5
+ import type { TypesJsonSchema } from '../schemas/TypesJsonSchema';
3
6
  export interface OpenapiCreateIntegrationConfigProjectRequest {
4
7
  action_per_kind?: {
5
8
  [key: string]: EnumAction;
6
9
  };
7
- auto_import?: boolean | null;
8
10
  auto_import_per_kind?: {
9
11
  [key: string]: boolean;
10
12
  };
11
13
  configuration?: {
12
14
  [key: string]: any;
13
15
  } | null;
16
+ correlation_mapping?: TypesCorrelationMapping;
14
17
  identifier?: string;
18
+ integration_mode?: EnumIntegrationMode;
15
19
  integration_type?: EnumIntegrationType;
16
20
  kinds?: string[];
17
21
  name?: string;
22
+ payload_schema_per_kind?: {
23
+ [key: string]: TypesJsonSchema;
24
+ };
18
25
  }
@@ -1,18 +1,25 @@
1
1
  import type { EnumAction } from '../schemas/EnumAction';
2
+ import type { TypesCorrelationMapping } from '../schemas/TypesCorrelationMapping';
3
+ import type { EnumIntegrationMode } from '../schemas/EnumIntegrationMode';
2
4
  import type { EnumIntegrationType } from '../schemas/EnumIntegrationType';
5
+ import type { TypesJsonSchema } from '../schemas/TypesJsonSchema';
3
6
  export interface OpenapiCreateIntegrationConfigRequest {
4
7
  action_per_kind?: {
5
8
  [key: string]: EnumAction;
6
9
  };
7
- auto_import?: boolean | null;
8
10
  auto_import_per_kind?: {
9
11
  [key: string]: boolean;
10
12
  };
11
13
  configuration?: {
12
14
  [key: string]: any;
13
15
  } | null;
16
+ correlation_mapping?: TypesCorrelationMapping;
14
17
  identifier?: string;
18
+ integration_mode?: EnumIntegrationMode;
15
19
  integration_type?: EnumIntegrationType;
16
20
  kinds?: string[];
17
21
  name?: string;
22
+ payload_schema_per_kind?: {
23
+ [key: string]: TypesJsonSchema;
24
+ };
18
25
  }
@@ -7,14 +7,10 @@ export interface OpenapiUpdateAirbyteIntegrationConfigOrgRequest {
7
7
  action_per_kind?: {
8
8
  [key: string]: EnumAction;
9
9
  };
10
- auto_import?: boolean | null;
11
10
  auto_import_per_kind?: {
12
11
  [key: string]: boolean;
13
12
  };
14
13
  discovered_catalog?: TypesAirbyteCatalogDiscovered;
15
- entity_mappings_per_kind?: {
16
- [key: string]: TypesFieldMapping[];
17
- };
18
14
  field_mappings_per_kind?: {
19
15
  [key: string]: TypesFieldMapping[];
20
16
  };
@@ -7,14 +7,10 @@ export interface OpenapiUpdateAirbyteIntegrationConfigProjectRequest {
7
7
  action_per_kind?: {
8
8
  [key: string]: EnumAction;
9
9
  };
10
- auto_import?: boolean | null;
11
10
  auto_import_per_kind?: {
12
11
  [key: string]: boolean;
13
12
  };
14
13
  discovered_catalog?: TypesAirbyteCatalogDiscovered;
15
- entity_mappings_per_kind?: {
16
- [key: string]: TypesFieldMapping[];
17
- };
18
14
  field_mappings_per_kind?: {
19
15
  [key: string]: TypesFieldMapping[];
20
16
  };
@@ -7,14 +7,10 @@ export interface OpenapiUpdateAirbyteIntegrationConfigRequest {
7
7
  action_per_kind?: {
8
8
  [key: string]: EnumAction;
9
9
  };
10
- auto_import?: boolean | null;
11
10
  auto_import_per_kind?: {
12
11
  [key: string]: boolean;
13
12
  };
14
13
  discovered_catalog?: TypesAirbyteCatalogDiscovered;
15
- entity_mappings_per_kind?: {
16
- [key: string]: TypesFieldMapping[];
17
- };
18
14
  field_mappings_per_kind?: {
19
15
  [key: string]: TypesFieldMapping[];
20
16
  };
@@ -1,13 +1,15 @@
1
1
  import type { EnumAction } from '../schemas/EnumAction';
2
+ import type { TypesCorrelationMapping } from '../schemas/TypesCorrelationMapping';
2
3
  export interface OpenapiUpdateIntegrationConfigOrgRequest {
3
4
  action_per_kind?: {
4
5
  [key: string]: EnumAction;
5
6
  };
6
- auto_import?: boolean | null;
7
7
  auto_import_per_kind?: {
8
8
  [key: string]: boolean;
9
9
  };
10
10
  configuration?: {
11
11
  [key: string]: any;
12
12
  } | null;
13
+ correlation_mapping?: TypesCorrelationMapping;
14
+ name?: string | null;
13
15
  }
@@ -1,13 +1,15 @@
1
1
  import type { EnumAction } from '../schemas/EnumAction';
2
+ import type { TypesCorrelationMapping } from '../schemas/TypesCorrelationMapping';
2
3
  export interface OpenapiUpdateIntegrationConfigProjectRequest {
3
4
  action_per_kind?: {
4
5
  [key: string]: EnumAction;
5
6
  };
6
- auto_import?: boolean | null;
7
7
  auto_import_per_kind?: {
8
8
  [key: string]: boolean;
9
9
  };
10
10
  configuration?: {
11
11
  [key: string]: any;
12
12
  } | null;
13
+ correlation_mapping?: TypesCorrelationMapping;
14
+ name?: string | null;
13
15
  }
@@ -1,13 +1,15 @@
1
1
  import type { EnumAction } from '../schemas/EnumAction';
2
+ import type { TypesCorrelationMapping } from '../schemas/TypesCorrelationMapping';
2
3
  export interface OpenapiUpdateIntegrationConfigRequest {
3
4
  action_per_kind?: {
4
5
  [key: string]: EnumAction;
5
6
  };
6
- auto_import?: boolean | null;
7
7
  auto_import_per_kind?: {
8
8
  [key: string]: boolean;
9
9
  };
10
10
  configuration?: {
11
11
  [key: string]: any;
12
12
  } | null;
13
+ correlation_mapping?: TypesCorrelationMapping;
14
+ name?: string | null;
13
15
  }
@@ -0,0 +1 @@
1
+ export type TimeDuration = number;
@@ -0,0 +1,4 @@
1
+ /* eslint-disable */
2
+ // This code is autogenerated using @harnessio/oats-cli.
3
+ // Please do not modify this code directly.
4
+ export {};
@@ -1,6 +1,12 @@
1
1
  import type { EnumOperator } from '../schemas/EnumOperator';
2
2
  export interface TypesCorrelationMapping {
3
3
  operator?: EnumOperator;
4
+ /**
5
+ * Source field path for correlation. Required. Immutable after creation.
6
+ */
4
7
  source_path?: string;
8
+ /**
9
+ * Target field path for correlation. Can be updated.
10
+ */
5
11
  target_path?: string;
6
12
  }
@@ -1,14 +1,16 @@
1
1
  import type { TypesAirbyteStream } from '../schemas/TypesAirbyteStream';
2
2
  import type { TypesDefaultAirbyteStreamSettings } from '../schemas/TypesDefaultAirbyteStreamSettings';
3
+ import type { TimeDuration } from '../schemas/TimeDuration';
3
4
  import type { TypesSchemaMapping } from '../schemas/TypesSchemaMapping';
4
5
  export interface TypesDefaultKind {
5
6
  airbyte_stream?: TypesAirbyteStream;
6
7
  category?: string;
7
- configurable?: boolean;
8
8
  default_airbyte_stream_settings?: TypesDefaultAirbyteStreamSettings;
9
+ entity_ttl?: TimeDuration;
9
10
  fields?: {
10
11
  [key: string]: any;
11
12
  } | null;
13
+ optional_secondary?: boolean;
12
14
  primary?: boolean;
13
15
  primary_kind?: string;
14
16
  schema_mappings?: {
@@ -1,7 +1,10 @@
1
+ import type { TimeDuration } from '../schemas/TimeDuration';
1
2
  import type { TypesIdpSubscription } from '../schemas/TypesIdpSubscription';
3
+ import type { TypesReevalState } from '../schemas/TypesReevalState';
2
4
  export interface TypesEntity {
3
5
  created?: number;
4
6
  deleted_at?: number | null;
7
+ entity_ttl?: TimeDuration;
5
8
  expire_at?: number | null;
6
9
  identifier?: string;
7
10
  idp_subscription?: TypesIdpSubscription;
@@ -14,6 +17,7 @@ export interface TypesEntity {
14
17
  metadata?: {
15
18
  [key: string]: any;
16
19
  } | null;
20
+ reeval?: TypesReevalState;
17
21
  space_path?: string;
18
22
  spec?: {
19
23
  [key: string]: any;
@@ -1,9 +1,11 @@
1
+ import type { TimeDuration } from '../schemas/TimeDuration';
1
2
  import type { EnumIntegrationMode } from '../schemas/EnumIntegrationMode';
2
3
  import type { TypesSchemaMapping } from '../schemas/TypesSchemaMapping';
3
4
  import type { TypesScopeConfig } from '../schemas/TypesScopeConfig';
4
5
  export interface TypesEntitySchema {
5
6
  created?: number;
6
7
  current?: boolean;
8
+ entity_ttl?: TimeDuration;
7
9
  fields?: {
8
10
  [key: string]: any;
9
11
  } | null;
@@ -2,8 +2,15 @@ import type { EnumIntegrationType } from '../schemas/EnumIntegrationType';
2
2
  export interface TypesHarnessAirbyteConfig {
3
3
  analytics_duration_months?: number;
4
4
  bitbucket_cloud_workspace?: string;
5
+ catalog_info_branch?: string;
6
+ catalog_info_catalog_path?: string;
7
+ catalog_info_repositories?: string[];
8
+ catalog_info_scm_connector_ref?: string;
9
+ catalog_info_source_type?: string;
5
10
  datadog_harness_connector_ref?: string;
6
11
  datadog_service_dependencies_env?: string;
12
+ dynatrace_harness_connector_ref?: string;
13
+ dynatrace_platform_token?: string;
7
14
  gcp_folder_id?: string;
8
15
  gcp_harness_connector_ref?: string;
9
16
  gcp_org_id?: string;
@@ -7,7 +7,6 @@ export interface TypesIntegrationConfig {
7
7
  action_per_kind?: {
8
8
  [key: string]: EnumAction;
9
9
  };
10
- auto_import?: boolean;
11
10
  auto_import_per_kind?: {
12
11
  [key: string]: boolean;
13
12
  };
@@ -17,6 +16,7 @@ export interface TypesIntegrationConfig {
17
16
  created?: number;
18
17
  deleted_at?: number | null;
19
18
  enabled?: boolean;
19
+ entity_cleanup_pending?: boolean;
20
20
  error?: {
21
21
  [key: string]: any;
22
22
  };
@@ -1,6 +1,5 @@
1
1
  import type { TypesCorrelationMapping } from '../schemas/TypesCorrelationMapping';
2
2
  export interface TypesMappingConfig {
3
- correlation_field?: string;
4
3
  correlation_mapping?: TypesCorrelationMapping;
5
4
  display_name_field?: string;
6
5
  idp_kind?: string;
@@ -0,0 +1,9 @@
1
+ export interface TypesReevalState {
2
+ claimed_by?: string;
3
+ depth?: number;
4
+ first_marked_at?: number | null;
5
+ in_progress_since?: number | null;
6
+ last_marked_at?: number | null;
7
+ needed?: boolean;
8
+ process_after?: number | null;
9
+ }
@@ -0,0 +1,4 @@
1
+ /* eslint-disable */
2
+ // This code is autogenerated using @harnessio/oats-cli.
3
+ // Please do not modify this code directly.
4
+ export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@harnessio/react-integration-manager-client",
3
- "version": "0.5.3",
3
+ "version": "0.5.5",
4
4
  "description": "Harness React integration manager client - Integration Manager APIs integrated with react hooks",
5
5
  "author": "Harness Inc",
6
6
  "license": "MIT",