@harnessio/react-integration-manager-client 0.8.9 → 0.8.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/integration-manager/src/services/hooks/useCountIntegrationConfigsOrgQuery.d.ts +8 -1
- package/dist/integration-manager/src/services/hooks/useCountIntegrationConfigsOrgQuery.js +2 -1
- package/dist/integration-manager/src/services/hooks/useCountIntegrationConfigsProjectQuery.d.ts +11 -1
- package/dist/integration-manager/src/services/hooks/useCountIntegrationConfigsProjectQuery.js +2 -1
- package/dist/integration-manager/src/services/hooks/useCountIntegrationConfigsQuery.d.ts +5 -1
- package/dist/integration-manager/src/services/hooks/useCountIntegrationConfigsQuery.js +2 -1
- package/dist/integration-manager/src/services/hooks/useCreateAirbyteIntegrationConfigMutation.d.ts +6 -0
- package/dist/integration-manager/src/services/hooks/useCreateAirbyteIntegrationConfigMutation.js +3 -0
- package/dist/integration-manager/src/services/hooks/useCreateAirbyteIntegrationConfigOrgMutation.d.ts +10 -1
- package/dist/integration-manager/src/services/hooks/useCreateAirbyteIntegrationConfigOrgMutation.js +4 -1
- package/dist/integration-manager/src/services/hooks/useCreateAirbyteIntegrationConfigProjectMutation.d.ts +13 -1
- package/dist/integration-manager/src/services/hooks/useCreateAirbyteIntegrationConfigProjectMutation.js +4 -1
- package/dist/integration-manager/src/services/hooks/useCreateIntegrationConfigMutation.d.ts +6 -0
- package/dist/integration-manager/src/services/hooks/useCreateIntegrationConfigMutation.js +3 -0
- package/dist/integration-manager/src/services/hooks/useCreateIntegrationConfigOrgMutation.d.ts +10 -1
- package/dist/integration-manager/src/services/hooks/useCreateIntegrationConfigOrgMutation.js +4 -1
- package/dist/integration-manager/src/services/hooks/useCreateIntegrationConfigProjectMutation.d.ts +13 -1
- package/dist/integration-manager/src/services/hooks/useCreateIntegrationConfigProjectMutation.js +4 -1
- package/dist/integration-manager/src/services/hooks/useCreateMetricConfigMutation.d.ts +3 -0
- package/dist/integration-manager/src/services/hooks/useCreateMetricConfigOrgMutation.d.ts +6 -0
- package/dist/integration-manager/src/services/hooks/useCreateMetricConfigProjectMutation.d.ts +9 -0
- package/dist/integration-manager/src/services/hooks/useDeleteIntegrationConfigMutation.d.ts +7 -1
- package/dist/integration-manager/src/services/hooks/useDeleteIntegrationConfigMutation.js +4 -1
- package/dist/integration-manager/src/services/hooks/useDeleteIntegrationConfigOrgMutation.d.ts +10 -1
- package/dist/integration-manager/src/services/hooks/useDeleteIntegrationConfigOrgMutation.js +4 -1
- package/dist/integration-manager/src/services/hooks/useDeleteIntegrationConfigProjectMutation.d.ts +13 -1
- package/dist/integration-manager/src/services/hooks/useDeleteIntegrationConfigProjectMutation.js +4 -1
- package/dist/integration-manager/src/services/hooks/useDeleteMetricConfigMutation.d.ts +3 -0
- package/dist/integration-manager/src/services/hooks/useDeleteMetricConfigOrgMutation.d.ts +6 -0
- package/dist/integration-manager/src/services/hooks/useDeleteMetricConfigProjectMutation.d.ts +9 -0
- package/dist/integration-manager/src/services/hooks/useDeleteSettingMutation.d.ts +3 -0
- package/dist/integration-manager/src/services/hooks/useDeleteSettingOrgMutation.d.ts +6 -0
- package/dist/integration-manager/src/services/hooks/useDeleteSettingProjectMutation.d.ts +9 -0
- package/dist/integration-manager/src/services/hooks/useFetchAirbyteConnectorCatalogMutation.d.ts +3 -0
- package/dist/integration-manager/src/services/hooks/useGetAirbyteConnectorCatalogQuery.d.ts +3 -0
- package/dist/integration-manager/src/services/hooks/useGetAirbyteIntegrationConfigOrgQuery.d.ts +10 -1
- package/dist/integration-manager/src/services/hooks/useGetAirbyteIntegrationConfigOrgQuery.js +4 -1
- package/dist/integration-manager/src/services/hooks/useGetAirbyteIntegrationConfigProjectQuery.d.ts +13 -1
- package/dist/integration-manager/src/services/hooks/useGetAirbyteIntegrationConfigProjectQuery.js +4 -1
- package/dist/integration-manager/src/services/hooks/useGetAirbyteIntegrationConfigQuery.d.ts +6 -0
- package/dist/integration-manager/src/services/hooks/useGetAirbyteIntegrationConfigQuery.js +3 -0
- package/dist/integration-manager/src/services/hooks/useGetCustomEntitiesFieldValuesMutation.d.ts +3 -0
- package/dist/integration-manager/src/services/hooks/useGetCustomEntitiesFieldValuesOrgMutation.d.ts +6 -0
- package/dist/integration-manager/src/services/hooks/useGetCustomEntitiesFieldValuesProjectMutation.d.ts +9 -0
- package/dist/integration-manager/src/services/hooks/useGetCustomEntitiesMutation.d.ts +4 -1
- package/dist/integration-manager/src/services/hooks/useGetCustomEntitiesMutation.js +1 -1
- package/dist/integration-manager/src/services/hooks/useGetCustomEntitiesOrgMutation.d.ts +7 -1
- package/dist/integration-manager/src/services/hooks/useGetCustomEntitiesOrgMutation.js +1 -1
- package/dist/integration-manager/src/services/hooks/useGetCustomEntitiesProjectMutation.d.ts +10 -1
- package/dist/integration-manager/src/services/hooks/useGetCustomEntitiesProjectMutation.js +1 -1
- package/dist/integration-manager/src/services/hooks/useGetCustomEntitiesTypeMutation.d.ts +3 -0
- package/dist/integration-manager/src/services/hooks/useGetCustomEntitiesTypeOrgMutation.d.ts +6 -0
- package/dist/integration-manager/src/services/hooks/useGetCustomEntitiesTypeProjectMutation.d.ts +9 -0
- package/dist/integration-manager/src/services/hooks/useGetEntitiesMutation.d.ts +3 -0
- package/dist/integration-manager/src/services/hooks/useGetEntitiesOrgMutation.d.ts +6 -0
- package/dist/integration-manager/src/services/hooks/useGetEntitiesProjectMutation.d.ts +9 -0
- package/dist/integration-manager/src/services/hooks/useGetEntityInputSchemaQuery.d.ts +3 -0
- package/dist/integration-manager/src/services/hooks/useGetIntegrationConfigOrgQuery.d.ts +8 -1
- package/dist/integration-manager/src/services/hooks/useGetIntegrationConfigOrgQuery.js +2 -1
- package/dist/integration-manager/src/services/hooks/useGetIntegrationConfigProjectQuery.d.ts +11 -1
- package/dist/integration-manager/src/services/hooks/useGetIntegrationConfigProjectQuery.js +2 -1
- package/dist/integration-manager/src/services/hooks/useGetIntegrationConfigQuery.d.ts +5 -1
- package/dist/integration-manager/src/services/hooks/useGetIntegrationConfigQuery.js +2 -1
- package/dist/integration-manager/src/services/hooks/useGetMetricConfigOrgQuery.d.ts +6 -0
- package/dist/integration-manager/src/services/hooks/useGetMetricConfigProjectQuery.d.ts +9 -0
- package/dist/integration-manager/src/services/hooks/useGetMetricConfigQuery.d.ts +3 -0
- package/dist/integration-manager/src/services/hooks/useGetMetricTimeseriesOrgQuery.d.ts +6 -0
- package/dist/integration-manager/src/services/hooks/useGetMetricTimeseriesProjectQuery.d.ts +9 -0
- package/dist/integration-manager/src/services/hooks/useGetMetricTimeseriesQuery.d.ts +3 -0
- package/dist/integration-manager/src/services/hooks/useGetSampleRecordsQuery.d.ts +4 -1
- package/dist/integration-manager/src/services/hooks/useGetSampleRecordsQuery.js +1 -1
- package/dist/integration-manager/src/services/hooks/useListDefaultMappingFieldsQuery.d.ts +6 -0
- package/dist/integration-manager/src/services/hooks/useListDefaultMappingFieldsQuery.js +3 -0
- package/dist/integration-manager/src/services/hooks/useListDefaultSchemasQuery.d.ts +4 -1
- package/dist/integration-manager/src/services/hooks/useListDefaultSchemasQuery.js +1 -1
- package/dist/integration-manager/src/services/hooks/useListIntegrationConfigsOrgQuery.d.ts +10 -1
- package/dist/integration-manager/src/services/hooks/useListIntegrationConfigsOrgQuery.js +4 -1
- package/dist/integration-manager/src/services/hooks/useListIntegrationConfigsProjectQuery.d.ts +13 -1
- package/dist/integration-manager/src/services/hooks/useListIntegrationConfigsProjectQuery.js +4 -1
- package/dist/integration-manager/src/services/hooks/useListIntegrationConfigsQuery.d.ts +7 -1
- package/dist/integration-manager/src/services/hooks/useListIntegrationConfigsQuery.js +4 -1
- package/dist/integration-manager/src/services/hooks/useListIntegrationEventsOrgQuery.d.ts +6 -0
- package/dist/integration-manager/src/services/hooks/useListIntegrationEventsProjectQuery.d.ts +9 -0
- package/dist/integration-manager/src/services/hooks/useListIntegrationEventsQuery.d.ts +3 -0
- package/dist/integration-manager/src/services/hooks/useListMetricConfigsOrgQuery.d.ts +6 -0
- package/dist/integration-manager/src/services/hooks/useListMetricConfigsProjectQuery.d.ts +9 -0
- package/dist/integration-manager/src/services/hooks/useListMetricConfigsQuery.d.ts +3 -0
- package/dist/integration-manager/src/services/hooks/useListSettingsOrgQuery.d.ts +6 -0
- package/dist/integration-manager/src/services/hooks/useListSettingsProjectQuery.d.ts +9 -0
- package/dist/integration-manager/src/services/hooks/useListSettingsQuery.d.ts +3 -0
- package/dist/integration-manager/src/services/hooks/useSyncNowMutation.d.ts +7 -1
- package/dist/integration-manager/src/services/hooks/useSyncNowMutation.js +4 -1
- package/dist/integration-manager/src/services/hooks/useSyncNowOrgMutation.d.ts +10 -1
- package/dist/integration-manager/src/services/hooks/useSyncNowOrgMutation.js +4 -1
- package/dist/integration-manager/src/services/hooks/useSyncNowProjectMutation.d.ts +13 -1
- package/dist/integration-manager/src/services/hooks/useSyncNowProjectMutation.js +4 -1
- package/dist/integration-manager/src/services/hooks/useTriggerSyncMutation.d.ts +6 -0
- package/dist/integration-manager/src/services/hooks/useTriggerSyncMutation.js +3 -0
- package/dist/integration-manager/src/services/hooks/useTriggerSyncOrgMutation.d.ts +10 -1
- package/dist/integration-manager/src/services/hooks/useTriggerSyncOrgMutation.js +4 -1
- package/dist/integration-manager/src/services/hooks/useTriggerSyncProjectMutation.d.ts +13 -1
- package/dist/integration-manager/src/services/hooks/useTriggerSyncProjectMutation.js +4 -1
- package/dist/integration-manager/src/services/hooks/useUpdateAirbyteIntegrationConfigMutation.d.ts +7 -1
- package/dist/integration-manager/src/services/hooks/useUpdateAirbyteIntegrationConfigMutation.js +4 -1
- package/dist/integration-manager/src/services/hooks/useUpdateAirbyteIntegrationConfigOrgMutation.d.ts +10 -1
- package/dist/integration-manager/src/services/hooks/useUpdateAirbyteIntegrationConfigOrgMutation.js +4 -1
- package/dist/integration-manager/src/services/hooks/useUpdateAirbyteIntegrationConfigProjectMutation.d.ts +13 -1
- package/dist/integration-manager/src/services/hooks/useUpdateAirbyteIntegrationConfigProjectMutation.js +4 -1
- package/dist/integration-manager/src/services/hooks/useUpdateIntegrationConfigMutation.d.ts +7 -1
- package/dist/integration-manager/src/services/hooks/useUpdateIntegrationConfigMutation.js +4 -1
- package/dist/integration-manager/src/services/hooks/useUpdateIntegrationConfigOrgMutation.d.ts +10 -1
- package/dist/integration-manager/src/services/hooks/useUpdateIntegrationConfigOrgMutation.js +4 -1
- package/dist/integration-manager/src/services/hooks/useUpdateIntegrationConfigProjectMutation.d.ts +13 -1
- package/dist/integration-manager/src/services/hooks/useUpdateIntegrationConfigProjectMutation.js +4 -1
- package/dist/integration-manager/src/services/hooks/useUpdateIntegrationStatusMutation.d.ts +6 -0
- package/dist/integration-manager/src/services/hooks/useUpdateIntegrationStatusMutation.js +3 -0
- package/dist/integration-manager/src/services/hooks/useUpdateIntegrationStatusOrgMutation.d.ts +10 -1
- package/dist/integration-manager/src/services/hooks/useUpdateIntegrationStatusOrgMutation.js +4 -1
- package/dist/integration-manager/src/services/hooks/useUpdateIntegrationStatusProjectMutation.d.ts +13 -1
- package/dist/integration-manager/src/services/hooks/useUpdateIntegrationStatusProjectMutation.js +4 -1
- package/dist/integration-manager/src/services/hooks/useUpdateMetricConfigMutation.d.ts +3 -0
- package/dist/integration-manager/src/services/hooks/useUpdateMetricConfigOrgMutation.d.ts +6 -0
- package/dist/integration-manager/src/services/hooks/useUpdateMetricConfigProjectMutation.d.ts +9 -0
- package/dist/integration-manager/src/services/hooks/useUpdateMetricConfigStatusMutation.d.ts +3 -0
- package/dist/integration-manager/src/services/hooks/useUpdateMetricConfigStatusOrgMutation.d.ts +6 -0
- package/dist/integration-manager/src/services/hooks/useUpdateMetricConfigStatusProjectMutation.d.ts +9 -0
- package/dist/integration-manager/src/services/hooks/useUpsertSettingsMutation.d.ts +3 -0
- package/dist/integration-manager/src/services/hooks/useUpsertSettingsOrgMutation.d.ts +6 -0
- package/dist/integration-manager/src/services/hooks/useUpsertSettingsProjectMutation.d.ts +9 -0
- package/dist/integration-manager/src/services/hooks/useValidateCustomSchemaMutation.d.ts +5 -2
- package/dist/integration-manager/src/services/hooks/useValidateCustomSchemaOrgMutation.d.ts +9 -3
- package/dist/integration-manager/src/services/hooks/useValidateCustomSchemaOrgMutation.js +1 -1
- package/dist/integration-manager/src/services/hooks/useValidateCustomSchemaProjectMutation.d.ts +12 -3
- package/dist/integration-manager/src/services/hooks/useValidateCustomSchemaProjectMutation.js +1 -1
- package/dist/integration-manager/src/services/index.d.ts +7 -6
- package/dist/integration-manager/src/services/schemas/EnumEntityDeleteReason.d.ts +1 -0
- package/dist/integration-manager/src/services/schemas/EnumEntityDeleteReason.js +4 -0
- package/dist/integration-manager/src/services/schemas/EnumIntegrationEventType.d.ts +1 -1
- package/dist/integration-manager/src/services/schemas/EnumIntegrationType.d.ts +1 -1
- package/dist/integration-manager/src/services/schemas/IntegrationconfigAirbyteIntegrationResponse.d.ts +5 -0
- package/dist/integration-manager/src/services/schemas/OpenapiCreateAirbyteIntegrationConfigOrgRequest.d.ts +3 -0
- package/dist/integration-manager/src/services/schemas/OpenapiCreateAirbyteIntegrationConfigProjectRequest.d.ts +3 -0
- package/dist/integration-manager/src/services/schemas/OpenapiCreateAirbyteIntegrationConfigRequest.d.ts +3 -0
- package/dist/integration-manager/src/services/schemas/OpenapiCreateIntegrationConfigOrgRequest.d.ts +3 -2
- package/dist/integration-manager/src/services/schemas/OpenapiCreateIntegrationConfigProjectRequest.d.ts +3 -2
- package/dist/integration-manager/src/services/schemas/OpenapiCreateIntegrationConfigRequest.d.ts +3 -2
- package/dist/integration-manager/src/services/schemas/OpenapiUpdateAirbyteIntegrationConfigOrgRequest.d.ts +3 -0
- package/dist/integration-manager/src/services/schemas/OpenapiUpdateAirbyteIntegrationConfigProjectRequest.d.ts +3 -0
- package/dist/integration-manager/src/services/schemas/OpenapiUpdateAirbyteIntegrationConfigRequest.d.ts +3 -0
- package/dist/integration-manager/src/services/schemas/OpenapiUpdateIntegrationConfigOrgRequest.d.ts +2 -1
- package/dist/integration-manager/src/services/schemas/OpenapiUpdateIntegrationConfigProjectRequest.d.ts +2 -1
- package/dist/integration-manager/src/services/schemas/OpenapiUpdateIntegrationConfigRequest.d.ts +2 -1
- package/dist/integration-manager/src/services/schemas/TypesDefaultKind.d.ts +8 -1
- package/dist/integration-manager/src/services/schemas/TypesDefaultMappingField.d.ts +2 -0
- package/dist/integration-manager/src/services/schemas/TypesEntity.d.ts +2 -0
- package/dist/integration-manager/src/services/schemas/TypesEntitySchema.d.ts +8 -1
- package/dist/integration-manager/src/services/schemas/TypesIngestionMapping.d.ts +2 -2
- package/dist/integration-manager/src/services/schemas/TypesIntegrationConfig.d.ts +5 -0
- package/dist/integration-manager/src/services/schemas/{TypesSettingsEntryGithubComHarnessHarnessCodeIntegrationManagerTypesAirbyteConnectorImageSettings.d.ts → TypesSettingsEntryAirbyteConnectorImageSettings.d.ts} +1 -1
- package/dist/integration-manager/src/services/schemas/{TypesSettingsEntryGithubComHarnessHarnessCodeIntegrationManagerTypesDockerConnectorSettings.d.ts → TypesSettingsEntryDockerConnectorSettings.d.ts} +1 -1
- package/dist/integration-manager/src/services/schemas/{TypesSettingsEntryGithubComHarnessHarnessCodeIntegrationManagerTypesHarnessComponentSettings.d.ts → TypesSettingsEntryHarnessComponentSettings.d.ts} +1 -1
- package/dist/integration-manager/src/services/schemas/{TypesSettingsEntryGithubComHarnessHarnessCodeIntegrationManagerTypesInfraProviderSettings.d.ts → TypesSettingsEntryInfraProviderSettings.d.ts} +1 -1
- package/dist/integration-manager/src/services/schemas/{TypesSettingsEntryGithubComHarnessHarnessCodeIntegrationManagerTypesK8sConnectorSettings.d.ts → TypesSettingsEntryK8sConnectorSettings.d.ts} +1 -1
- package/dist/integration-manager/src/services/schemas/{TypesSettingsEntryGithubComHarnessHarnessCodeIntegrationManagerTypesSyncConfigSettings.d.ts → TypesSettingsEntrySyncConfigSettings.d.ts} +1 -1
- package/dist/integration-manager/src/services/schemas/TypesSettingsListResponse.d.ts +12 -12
- package/package.json +1 -1
- /package/dist/integration-manager/src/services/schemas/{TypesSettingsEntryGithubComHarnessHarnessCodeIntegrationManagerTypesAirbyteConnectorImageSettings.js → TypesSettingsEntryAirbyteConnectorImageSettings.js} +0 -0
- /package/dist/integration-manager/src/services/schemas/{TypesSettingsEntryGithubComHarnessHarnessCodeIntegrationManagerTypesDockerConnectorSettings.js → TypesSettingsEntryDockerConnectorSettings.js} +0 -0
- /package/dist/integration-manager/src/services/schemas/{TypesSettingsEntryGithubComHarnessHarnessCodeIntegrationManagerTypesHarnessComponentSettings.js → TypesSettingsEntryHarnessComponentSettings.js} +0 -0
- /package/dist/integration-manager/src/services/schemas/{TypesSettingsEntryGithubComHarnessHarnessCodeIntegrationManagerTypesInfraProviderSettings.js → TypesSettingsEntryInfraProviderSettings.js} +0 -0
- /package/dist/integration-manager/src/services/schemas/{TypesSettingsEntryGithubComHarnessHarnessCodeIntegrationManagerTypesK8sConnectorSettings.js → TypesSettingsEntryK8sConnectorSettings.js} +0 -0
- /package/dist/integration-manager/src/services/schemas/{TypesSettingsEntryGithubComHarnessHarnessCodeIntegrationManagerTypesSyncConfigSettings.js → TypesSettingsEntrySyncConfigSettings.js} +0 -0
|
@@ -7,7 +7,10 @@ export function listDefaultMappingFields(props) {
|
|
|
7
7
|
return fetcher(Object.assign({ url: `/api/v1/accounts/${props.accountIdentifier}/integration/default-mapping-fields`, method: 'GET' }, props));
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
+
* Deprecated: use GET `/integration-types/{type}` (`kinds[].mapping_fields`) instead.
|
|
11
|
+
*
|
|
10
12
|
* Returns fields from the default mapping for the given integration type. Query 'integration_type' is required. Only primary kinds are included. Only fields inside the mapping's metadata (properties.metadata) are returned. Response is mapping_fields: an array of { kind, fields } where fields is a list of { field_name, display_name, description, target_path, is_required }. Response also includes default_mappings: integration-level fallback field mappings (source_field, target_field, required) applied when no kind-specific mapping is present. Optional query 'kind' filters to a single kind; when omitted, all primary kinds are returned.
|
|
13
|
+
* @deprecated
|
|
11
14
|
*/
|
|
12
15
|
export function useListDefaultMappingFieldsQuery(props, options) {
|
|
13
16
|
return useQuery(['listDefaultMappingFields', props.accountIdentifier, props.queryParams], ({ signal }) => listDefaultMappingFields(Object.assign(Object.assign({}, props), { signal })), options);
|
|
@@ -4,6 +4,9 @@ import type { ApierrorsErrorResponse } from '../schemas/ApierrorsErrorResponse';
|
|
|
4
4
|
import type { ResponseWithPagination } from '../helpers';
|
|
5
5
|
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
6
6
|
export interface ListDefaultSchemasQueryPathParams {
|
|
7
|
+
/**
|
|
8
|
+
* Account identifier.
|
|
9
|
+
*/
|
|
7
10
|
accountIdentifier: string;
|
|
8
11
|
}
|
|
9
12
|
export interface ListDefaultSchemasQueryQueryParams {
|
|
@@ -17,6 +20,6 @@ export interface ListDefaultSchemasProps extends ListDefaultSchemasQueryPathPara
|
|
|
17
20
|
}
|
|
18
21
|
export declare function listDefaultSchemas(props: ListDefaultSchemasProps): Promise<ListDefaultSchemasOkResponse>;
|
|
19
22
|
/**
|
|
20
|
-
* Returns the default entity schema for the given integration type. Query 'integration_type' is required. Optional query 'kind' filters to a single kind.
|
|
23
|
+
* Returns the default entity schema for the given integration type. Each kind carries its ingestion mappings under ingestion_mappings and the deprecated schema_mappings alias. Query 'integration_type' is required. Optional query 'kind' filters to a single kind.
|
|
21
24
|
*/
|
|
22
25
|
export declare function useListDefaultSchemasQuery(props: ListDefaultSchemasProps, options?: Omit<UseQueryOptions<ListDefaultSchemasOkResponse, ListDefaultSchemasErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<ListDefaultSchemasOkResponse, ApierrorsErrorResponse>;
|
|
@@ -7,7 +7,7 @@ export function listDefaultSchemas(props) {
|
|
|
7
7
|
return fetcher(Object.assign({ url: `/api/v1/accounts/${props.accountIdentifier}/integration/default-schemas`, method: 'GET' }, props));
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
-
* Returns the default entity schema for the given integration type. Query 'integration_type' is required. Optional query 'kind' filters to a single kind.
|
|
10
|
+
* Returns the default entity schema for the given integration type. Each kind carries its ingestion mappings under ingestion_mappings and the deprecated schema_mappings alias. Query 'integration_type' is required. Optional query 'kind' filters to a single kind.
|
|
11
11
|
*/
|
|
12
12
|
export function useListDefaultSchemasQuery(props, options) {
|
|
13
13
|
return useQuery(['listDefaultSchemas', props.accountIdentifier, props.queryParams], ({ signal }) => listDefaultSchemas(Object.assign(Object.assign({}, props), { signal })), options);
|
|
@@ -5,7 +5,13 @@ import type { EnumIntegrationType } from '../schemas/EnumIntegrationType';
|
|
|
5
5
|
import type { ResponseWithPagination } from '../helpers';
|
|
6
6
|
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
7
7
|
export interface ListIntegrationConfigsOrgQueryPathParams {
|
|
8
|
+
/**
|
|
9
|
+
* Account identifier.
|
|
10
|
+
*/
|
|
8
11
|
accountIdentifier: string;
|
|
12
|
+
/**
|
|
13
|
+
* Organization identifier.
|
|
14
|
+
*/
|
|
9
15
|
orgIdentifier: string;
|
|
10
16
|
}
|
|
11
17
|
export interface ListIntegrationConfigsOrgQueryQueryParams {
|
|
@@ -58,6 +64,9 @@ export interface ListIntegrationConfigsOrgProps extends ListIntegrationConfigsOr
|
|
|
58
64
|
}
|
|
59
65
|
export declare function listIntegrationConfigsOrg(props: ListIntegrationConfigsOrgProps): Promise<ListIntegrationConfigsOrgOkResponse>;
|
|
60
66
|
/**
|
|
61
|
-
*
|
|
67
|
+
* Deprecated: use GET `/integrations` instead.
|
|
68
|
+
*
|
|
69
|
+
* Lists integration configurations. limit defaults to 50 and must be a positive integer.
|
|
70
|
+
* @deprecated
|
|
62
71
|
*/
|
|
63
72
|
export declare function useListIntegrationConfigsOrgQuery(props: ListIntegrationConfigsOrgProps, options?: Omit<UseQueryOptions<ListIntegrationConfigsOrgOkResponse, ListIntegrationConfigsOrgErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<ListIntegrationConfigsOrgOkResponse, ApierrorsErrorResponse>;
|
|
@@ -7,7 +7,10 @@ export function listIntegrationConfigsOrg(props) {
|
|
|
7
7
|
return fetcher(Object.assign({ url: `/api/v1/accounts/${props.accountIdentifier}/orgs/${props.orgIdentifier}/integration-configs`, method: 'GET' }, props));
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
-
*
|
|
10
|
+
* Deprecated: use GET `/integrations` instead.
|
|
11
|
+
*
|
|
12
|
+
* Lists integration configurations. limit defaults to 50 and must be a positive integer.
|
|
13
|
+
* @deprecated
|
|
11
14
|
*/
|
|
12
15
|
export function useListIntegrationConfigsOrgQuery(props, options) {
|
|
13
16
|
return useQuery(['listIntegrationConfigsOrg', props.accountIdentifier, props.orgIdentifier, props.queryParams], ({ signal }) => listIntegrationConfigsOrg(Object.assign(Object.assign({}, props), { signal })), options);
|
package/dist/integration-manager/src/services/hooks/useListIntegrationConfigsProjectQuery.d.ts
CHANGED
|
@@ -5,8 +5,17 @@ import type { EnumIntegrationType } from '../schemas/EnumIntegrationType';
|
|
|
5
5
|
import type { ResponseWithPagination } from '../helpers';
|
|
6
6
|
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
7
7
|
export interface ListIntegrationConfigsProjectQueryPathParams {
|
|
8
|
+
/**
|
|
9
|
+
* Account identifier.
|
|
10
|
+
*/
|
|
8
11
|
accountIdentifier: string;
|
|
12
|
+
/**
|
|
13
|
+
* Organization identifier.
|
|
14
|
+
*/
|
|
9
15
|
orgIdentifier: string;
|
|
16
|
+
/**
|
|
17
|
+
* Project identifier.
|
|
18
|
+
*/
|
|
10
19
|
projectIdentifier: string;
|
|
11
20
|
}
|
|
12
21
|
export interface ListIntegrationConfigsProjectQueryQueryParams {
|
|
@@ -59,6 +68,9 @@ export interface ListIntegrationConfigsProjectProps extends ListIntegrationConfi
|
|
|
59
68
|
}
|
|
60
69
|
export declare function listIntegrationConfigsProject(props: ListIntegrationConfigsProjectProps): Promise<ListIntegrationConfigsProjectOkResponse>;
|
|
61
70
|
/**
|
|
62
|
-
*
|
|
71
|
+
* Deprecated: use GET `/integrations` instead.
|
|
72
|
+
*
|
|
73
|
+
* Lists integration configurations. limit defaults to 50 and must be a positive integer.
|
|
74
|
+
* @deprecated
|
|
63
75
|
*/
|
|
64
76
|
export declare function useListIntegrationConfigsProjectQuery(props: ListIntegrationConfigsProjectProps, options?: Omit<UseQueryOptions<ListIntegrationConfigsProjectOkResponse, ListIntegrationConfigsProjectErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<ListIntegrationConfigsProjectOkResponse, ApierrorsErrorResponse>;
|
package/dist/integration-manager/src/services/hooks/useListIntegrationConfigsProjectQuery.js
CHANGED
|
@@ -7,7 +7,10 @@ export function listIntegrationConfigsProject(props) {
|
|
|
7
7
|
return fetcher(Object.assign({ url: `/api/v1/accounts/${props.accountIdentifier}/orgs/${props.orgIdentifier}/projects/${props.projectIdentifier}/integration-configs`, method: 'GET' }, props));
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
-
*
|
|
10
|
+
* Deprecated: use GET `/integrations` instead.
|
|
11
|
+
*
|
|
12
|
+
* Lists integration configurations. limit defaults to 50 and must be a positive integer.
|
|
13
|
+
* @deprecated
|
|
11
14
|
*/
|
|
12
15
|
export function useListIntegrationConfigsProjectQuery(props, options) {
|
|
13
16
|
return useQuery([
|
|
@@ -5,6 +5,9 @@ import type { EnumIntegrationType } from '../schemas/EnumIntegrationType';
|
|
|
5
5
|
import type { ResponseWithPagination } from '../helpers';
|
|
6
6
|
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
7
7
|
export interface ListIntegrationConfigsQueryPathParams {
|
|
8
|
+
/**
|
|
9
|
+
* Account identifier.
|
|
10
|
+
*/
|
|
8
11
|
accountIdentifier: string;
|
|
9
12
|
}
|
|
10
13
|
export interface ListIntegrationConfigsQueryQueryParams {
|
|
@@ -61,6 +64,9 @@ export interface ListIntegrationConfigsProps extends ListIntegrationConfigsQuery
|
|
|
61
64
|
}
|
|
62
65
|
export declare function listIntegrationConfigs(props: ListIntegrationConfigsProps): Promise<ListIntegrationConfigsOkResponse>;
|
|
63
66
|
/**
|
|
64
|
-
*
|
|
67
|
+
* Deprecated: use GET `/integrations` instead.
|
|
68
|
+
*
|
|
69
|
+
* Lists integration configurations. limit defaults to 50 and must be a positive integer.
|
|
70
|
+
* @deprecated
|
|
65
71
|
*/
|
|
66
72
|
export declare function useListIntegrationConfigsQuery(props: ListIntegrationConfigsProps, options?: Omit<UseQueryOptions<ListIntegrationConfigsOkResponse, ListIntegrationConfigsErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<ListIntegrationConfigsOkResponse, ApierrorsErrorResponse>;
|
|
@@ -7,7 +7,10 @@ export function listIntegrationConfigs(props) {
|
|
|
7
7
|
return fetcher(Object.assign({ url: `/api/v1/accounts/${props.accountIdentifier}/integration-configs`, method: 'GET' }, props));
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
-
*
|
|
10
|
+
* Deprecated: use GET `/integrations` instead.
|
|
11
|
+
*
|
|
12
|
+
* Lists integration configurations. limit defaults to 50 and must be a positive integer.
|
|
13
|
+
* @deprecated
|
|
11
14
|
*/
|
|
12
15
|
export function useListIntegrationConfigsQuery(props, options) {
|
|
13
16
|
return useQuery(['listIntegrationConfigs', props.accountIdentifier, props.queryParams], ({ signal }) => listIntegrationConfigs(Object.assign(Object.assign({}, props), { signal })), options);
|
|
@@ -4,7 +4,13 @@ import type { ApierrorsErrorResponse } from '../schemas/ApierrorsErrorResponse';
|
|
|
4
4
|
import type { ResponseWithPagination } from '../helpers';
|
|
5
5
|
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
6
6
|
export interface ListIntegrationEventsOrgQueryPathParams {
|
|
7
|
+
/**
|
|
8
|
+
* Account identifier.
|
|
9
|
+
*/
|
|
7
10
|
accountIdentifier: string;
|
|
11
|
+
/**
|
|
12
|
+
* Organization identifier.
|
|
13
|
+
*/
|
|
8
14
|
orgIdentifier: string;
|
|
9
15
|
integrationconfig_identifier: string;
|
|
10
16
|
}
|
package/dist/integration-manager/src/services/hooks/useListIntegrationEventsProjectQuery.d.ts
CHANGED
|
@@ -4,8 +4,17 @@ import type { ApierrorsErrorResponse } from '../schemas/ApierrorsErrorResponse';
|
|
|
4
4
|
import type { ResponseWithPagination } from '../helpers';
|
|
5
5
|
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
6
6
|
export interface ListIntegrationEventsProjectQueryPathParams {
|
|
7
|
+
/**
|
|
8
|
+
* Account identifier.
|
|
9
|
+
*/
|
|
7
10
|
accountIdentifier: string;
|
|
11
|
+
/**
|
|
12
|
+
* Organization identifier.
|
|
13
|
+
*/
|
|
8
14
|
orgIdentifier: string;
|
|
15
|
+
/**
|
|
16
|
+
* Project identifier.
|
|
17
|
+
*/
|
|
9
18
|
projectIdentifier: string;
|
|
10
19
|
integrationconfig_identifier: string;
|
|
11
20
|
}
|
|
@@ -4,6 +4,9 @@ import type { ApierrorsErrorResponse } from '../schemas/ApierrorsErrorResponse';
|
|
|
4
4
|
import type { ResponseWithPagination } from '../helpers';
|
|
5
5
|
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
6
6
|
export interface ListIntegrationEventsQueryPathParams {
|
|
7
|
+
/**
|
|
8
|
+
* Account identifier.
|
|
9
|
+
*/
|
|
7
10
|
accountIdentifier: string;
|
|
8
11
|
integrationconfig_identifier: string;
|
|
9
12
|
}
|
|
@@ -3,7 +3,13 @@ import type { TypesMetricConfig } from '../schemas/TypesMetricConfig';
|
|
|
3
3
|
import type { ResponseWithPagination } from '../helpers';
|
|
4
4
|
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
5
5
|
export interface ListMetricConfigsOrgQueryPathParams {
|
|
6
|
+
/**
|
|
7
|
+
* Account identifier.
|
|
8
|
+
*/
|
|
6
9
|
accountIdentifier: string;
|
|
10
|
+
/**
|
|
11
|
+
* Organization identifier.
|
|
12
|
+
*/
|
|
7
13
|
orgIdentifier: string;
|
|
8
14
|
}
|
|
9
15
|
export interface ListMetricConfigsOrgQueryQueryParams {
|
|
@@ -3,8 +3,17 @@ import type { TypesMetricConfig } from '../schemas/TypesMetricConfig';
|
|
|
3
3
|
import type { ResponseWithPagination } from '../helpers';
|
|
4
4
|
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
5
5
|
export interface ListMetricConfigsProjectQueryPathParams {
|
|
6
|
+
/**
|
|
7
|
+
* Account identifier.
|
|
8
|
+
*/
|
|
6
9
|
accountIdentifier: string;
|
|
10
|
+
/**
|
|
11
|
+
* Organization identifier.
|
|
12
|
+
*/
|
|
7
13
|
orgIdentifier: string;
|
|
14
|
+
/**
|
|
15
|
+
* Project identifier.
|
|
16
|
+
*/
|
|
8
17
|
projectIdentifier: string;
|
|
9
18
|
}
|
|
10
19
|
export interface ListMetricConfigsProjectQueryQueryParams {
|
|
@@ -4,6 +4,9 @@ import type { ApierrorsErrorResponse } from '../schemas/ApierrorsErrorResponse';
|
|
|
4
4
|
import type { ResponseWithPagination } from '../helpers';
|
|
5
5
|
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
6
6
|
export interface ListMetricConfigsQueryPathParams {
|
|
7
|
+
/**
|
|
8
|
+
* Account identifier.
|
|
9
|
+
*/
|
|
7
10
|
accountIdentifier: string;
|
|
8
11
|
}
|
|
9
12
|
export interface ListMetricConfigsQueryQueryParams {
|
|
@@ -4,7 +4,13 @@ import type { ApierrorsErrorResponse } from '../schemas/ApierrorsErrorResponse';
|
|
|
4
4
|
import type { ResponseWithPagination } from '../helpers';
|
|
5
5
|
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
6
6
|
export interface ListSettingsOrgQueryPathParams {
|
|
7
|
+
/**
|
|
8
|
+
* Account identifier.
|
|
9
|
+
*/
|
|
7
10
|
accountIdentifier: string;
|
|
11
|
+
/**
|
|
12
|
+
* Organization identifier.
|
|
13
|
+
*/
|
|
8
14
|
orgIdentifier: string;
|
|
9
15
|
}
|
|
10
16
|
export type ListSettingsOrgOkResponse = ResponseWithPagination<TypesSettingsListResponse>;
|
|
@@ -4,8 +4,17 @@ import type { ApierrorsErrorResponse } from '../schemas/ApierrorsErrorResponse';
|
|
|
4
4
|
import type { ResponseWithPagination } from '../helpers';
|
|
5
5
|
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
6
6
|
export interface ListSettingsProjectQueryPathParams {
|
|
7
|
+
/**
|
|
8
|
+
* Account identifier.
|
|
9
|
+
*/
|
|
7
10
|
accountIdentifier: string;
|
|
11
|
+
/**
|
|
12
|
+
* Organization identifier.
|
|
13
|
+
*/
|
|
8
14
|
orgIdentifier: string;
|
|
15
|
+
/**
|
|
16
|
+
* Project identifier.
|
|
17
|
+
*/
|
|
9
18
|
projectIdentifier: string;
|
|
10
19
|
}
|
|
11
20
|
export type ListSettingsProjectOkResponse = ResponseWithPagination<TypesSettingsListResponse>;
|
|
@@ -4,6 +4,9 @@ import type { ApierrorsErrorResponse } from '../schemas/ApierrorsErrorResponse';
|
|
|
4
4
|
import type { ResponseWithPagination } from '../helpers';
|
|
5
5
|
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
6
6
|
export interface ListSettingsQueryPathParams {
|
|
7
|
+
/**
|
|
8
|
+
* Account identifier.
|
|
9
|
+
*/
|
|
7
10
|
accountIdentifier: string;
|
|
8
11
|
}
|
|
9
12
|
export type ListSettingsOkResponse = ResponseWithPagination<TypesSettingsListResponse>;
|
|
@@ -4,6 +4,9 @@ import type { ApierrorsErrorResponse } from '../schemas/ApierrorsErrorResponse';
|
|
|
4
4
|
import type { ResponseWithPagination } from '../helpers';
|
|
5
5
|
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
6
6
|
export interface SyncNowMutationPathParams {
|
|
7
|
+
/**
|
|
8
|
+
* Account identifier.
|
|
9
|
+
*/
|
|
7
10
|
accountIdentifier: string;
|
|
8
11
|
integrationconfig_identifier: string;
|
|
9
12
|
}
|
|
@@ -13,6 +16,9 @@ export interface SyncNowProps extends SyncNowMutationPathParams, Omit<FetcherOpt
|
|
|
13
16
|
}
|
|
14
17
|
export declare function syncNow(props: SyncNowProps): Promise<SyncNowOkResponse>;
|
|
15
18
|
/**
|
|
16
|
-
*
|
|
19
|
+
* Deprecated: use POST `/integrations/{integration}/syncs` instead.
|
|
20
|
+
*
|
|
21
|
+
* Triggers an immediate Airbyte sync through the delegate lifecycle. Supported for Airbyte-mode integrations (e.g. ServiceNow).
|
|
22
|
+
* @deprecated
|
|
17
23
|
*/
|
|
18
24
|
export declare function useSyncNowMutation(options?: Omit<UseMutationOptions<SyncNowOkResponse, SyncNowErrorResponse, SyncNowProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<SyncNowOkResponse, ApierrorsErrorResponse, SyncNowProps, unknown>;
|
|
@@ -7,7 +7,10 @@ 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
|
-
*
|
|
10
|
+
* Deprecated: use POST `/integrations/{integration}/syncs` instead.
|
|
11
|
+
*
|
|
12
|
+
* Triggers an immediate Airbyte sync through the delegate lifecycle. Supported for Airbyte-mode integrations (e.g. ServiceNow).
|
|
13
|
+
* @deprecated
|
|
11
14
|
*/
|
|
12
15
|
export function useSyncNowMutation(options) {
|
|
13
16
|
return useMutation((mutateProps) => syncNow(mutateProps), options);
|
|
@@ -4,7 +4,13 @@ import type { ApierrorsErrorResponse } from '../schemas/ApierrorsErrorResponse';
|
|
|
4
4
|
import type { ResponseWithPagination } from '../helpers';
|
|
5
5
|
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
6
6
|
export interface SyncNowOrgMutationPathParams {
|
|
7
|
+
/**
|
|
8
|
+
* Account identifier.
|
|
9
|
+
*/
|
|
7
10
|
accountIdentifier: string;
|
|
11
|
+
/**
|
|
12
|
+
* Organization identifier.
|
|
13
|
+
*/
|
|
8
14
|
orgIdentifier: string;
|
|
9
15
|
integrationconfig_identifier: string;
|
|
10
16
|
}
|
|
@@ -14,6 +20,9 @@ export interface SyncNowOrgProps extends SyncNowOrgMutationPathParams, Omit<Fetc
|
|
|
14
20
|
}
|
|
15
21
|
export declare function syncNowOrg(props: SyncNowOrgProps): Promise<SyncNowOrgOkResponse>;
|
|
16
22
|
/**
|
|
17
|
-
*
|
|
23
|
+
* Deprecated: use POST `/integrations/{integration}/syncs` instead.
|
|
24
|
+
*
|
|
25
|
+
* Triggers an immediate Airbyte sync through the delegate lifecycle. Supported for Airbyte-mode integrations (e.g. ServiceNow).
|
|
26
|
+
* @deprecated
|
|
18
27
|
*/
|
|
19
28
|
export declare function useSyncNowOrgMutation(options?: Omit<UseMutationOptions<SyncNowOrgOkResponse, SyncNowOrgErrorResponse, SyncNowOrgProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<SyncNowOrgOkResponse, ApierrorsErrorResponse, SyncNowOrgProps, unknown>;
|
|
@@ -7,7 +7,10 @@ export function syncNowOrg(props) {
|
|
|
7
7
|
return fetcher(Object.assign({ url: `/api/v1/accounts/${props.accountIdentifier}/orgs/${props.orgIdentifier}/integration-configs/${props.integrationconfig_identifier}/airbyte-sync`, method: 'POST' }, props));
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
-
*
|
|
10
|
+
* Deprecated: use POST `/integrations/{integration}/syncs` instead.
|
|
11
|
+
*
|
|
12
|
+
* Triggers an immediate Airbyte sync through the delegate lifecycle. Supported for Airbyte-mode integrations (e.g. ServiceNow).
|
|
13
|
+
* @deprecated
|
|
11
14
|
*/
|
|
12
15
|
export function useSyncNowOrgMutation(options) {
|
|
13
16
|
return useMutation((mutateProps) => syncNowOrg(mutateProps), options);
|
|
@@ -4,8 +4,17 @@ import type { ApierrorsErrorResponse } from '../schemas/ApierrorsErrorResponse';
|
|
|
4
4
|
import type { ResponseWithPagination } from '../helpers';
|
|
5
5
|
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
6
6
|
export interface SyncNowProjectMutationPathParams {
|
|
7
|
+
/**
|
|
8
|
+
* Account identifier.
|
|
9
|
+
*/
|
|
7
10
|
accountIdentifier: string;
|
|
11
|
+
/**
|
|
12
|
+
* Organization identifier.
|
|
13
|
+
*/
|
|
8
14
|
orgIdentifier: string;
|
|
15
|
+
/**
|
|
16
|
+
* Project identifier.
|
|
17
|
+
*/
|
|
9
18
|
projectIdentifier: string;
|
|
10
19
|
integrationconfig_identifier: string;
|
|
11
20
|
}
|
|
@@ -15,6 +24,9 @@ export interface SyncNowProjectProps extends SyncNowProjectMutationPathParams, O
|
|
|
15
24
|
}
|
|
16
25
|
export declare function syncNowProject(props: SyncNowProjectProps): Promise<SyncNowProjectOkResponse>;
|
|
17
26
|
/**
|
|
18
|
-
*
|
|
27
|
+
* Deprecated: use POST `/integrations/{integration}/syncs` instead.
|
|
28
|
+
*
|
|
29
|
+
* Triggers an immediate Airbyte sync through the delegate lifecycle. Supported for Airbyte-mode integrations (e.g. ServiceNow).
|
|
30
|
+
* @deprecated
|
|
19
31
|
*/
|
|
20
32
|
export declare function useSyncNowProjectMutation(options?: Omit<UseMutationOptions<SyncNowProjectOkResponse, SyncNowProjectErrorResponse, SyncNowProjectProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<SyncNowProjectOkResponse, ApierrorsErrorResponse, SyncNowProjectProps, unknown>;
|
|
@@ -7,7 +7,10 @@ export function syncNowProject(props) {
|
|
|
7
7
|
return fetcher(Object.assign({ url: `/api/v1/accounts/${props.accountIdentifier}/orgs/${props.orgIdentifier}/projects/${props.projectIdentifier}/integration-configs/${props.integrationconfig_identifier}/airbyte-sync`, method: 'POST' }, props));
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
-
*
|
|
10
|
+
* Deprecated: use POST `/integrations/{integration}/syncs` instead.
|
|
11
|
+
*
|
|
12
|
+
* Triggers an immediate Airbyte sync through the delegate lifecycle. Supported for Airbyte-mode integrations (e.g. ServiceNow).
|
|
13
|
+
* @deprecated
|
|
11
14
|
*/
|
|
12
15
|
export function useSyncNowProjectMutation(options) {
|
|
13
16
|
return useMutation((mutateProps) => syncNowProject(mutateProps), options);
|
|
@@ -4,6 +4,9 @@ import type { ApierrorsErrorResponse } from '../schemas/ApierrorsErrorResponse';
|
|
|
4
4
|
import type { ResponseWithPagination } from '../helpers';
|
|
5
5
|
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
6
6
|
export interface TriggerSyncMutationPathParams {
|
|
7
|
+
/**
|
|
8
|
+
* Account identifier.
|
|
9
|
+
*/
|
|
7
10
|
accountIdentifier: string;
|
|
8
11
|
integrationconfig_identifier: string;
|
|
9
12
|
}
|
|
@@ -13,6 +16,9 @@ export interface TriggerSyncProps extends TriggerSyncMutationPathParams, Omit<Fe
|
|
|
13
16
|
}
|
|
14
17
|
export declare function triggerSync(props: TriggerSyncProps): Promise<TriggerSyncOkResponse>;
|
|
15
18
|
/**
|
|
19
|
+
* Deprecated: use POST `/integrations/{integration}/syncs` instead.
|
|
20
|
+
*
|
|
16
21
|
* Triggers a full sync for the integration.
|
|
22
|
+
* @deprecated
|
|
17
23
|
*/
|
|
18
24
|
export declare function useTriggerSyncMutation(options?: Omit<UseMutationOptions<TriggerSyncOkResponse, TriggerSyncErrorResponse, TriggerSyncProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<TriggerSyncOkResponse, ApierrorsErrorResponse, TriggerSyncProps, unknown>;
|
|
@@ -7,7 +7,10 @@ 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
|
+
* Deprecated: use POST `/integrations/{integration}/syncs` instead.
|
|
11
|
+
*
|
|
10
12
|
* Triggers a full sync for the integration.
|
|
13
|
+
* @deprecated
|
|
11
14
|
*/
|
|
12
15
|
export function useTriggerSyncMutation(options) {
|
|
13
16
|
return useMutation((mutateProps) => triggerSync(mutateProps), options);
|
|
@@ -4,7 +4,13 @@ import type { ApierrorsErrorResponse } from '../schemas/ApierrorsErrorResponse';
|
|
|
4
4
|
import type { ResponseWithPagination } from '../helpers';
|
|
5
5
|
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
6
6
|
export interface TriggerSyncOrgMutationPathParams {
|
|
7
|
+
/**
|
|
8
|
+
* Account identifier.
|
|
9
|
+
*/
|
|
7
10
|
accountIdentifier: string;
|
|
11
|
+
/**
|
|
12
|
+
* Organization identifier.
|
|
13
|
+
*/
|
|
8
14
|
orgIdentifier: string;
|
|
9
15
|
integrationconfig_identifier: string;
|
|
10
16
|
}
|
|
@@ -14,6 +20,9 @@ export interface TriggerSyncOrgProps extends TriggerSyncOrgMutationPathParams, O
|
|
|
14
20
|
}
|
|
15
21
|
export declare function triggerSyncOrg(props: TriggerSyncOrgProps): Promise<TriggerSyncOrgOkResponse>;
|
|
16
22
|
/**
|
|
17
|
-
*
|
|
23
|
+
* Deprecated: use POST `/integrations/{integration}/syncs` instead.
|
|
24
|
+
*
|
|
25
|
+
* Triggers a full sync for the integration.
|
|
26
|
+
* @deprecated
|
|
18
27
|
*/
|
|
19
28
|
export declare function useTriggerSyncOrgMutation(options?: Omit<UseMutationOptions<TriggerSyncOrgOkResponse, TriggerSyncOrgErrorResponse, TriggerSyncOrgProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<TriggerSyncOrgOkResponse, ApierrorsErrorResponse, TriggerSyncOrgProps, unknown>;
|
|
@@ -7,7 +7,10 @@ export function triggerSyncOrg(props) {
|
|
|
7
7
|
return fetcher(Object.assign({ url: `/api/v1/accounts/${props.accountIdentifier}/orgs/${props.orgIdentifier}/integration-configs/${props.integrationconfig_identifier}/sync`, method: 'POST' }, props));
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
-
*
|
|
10
|
+
* Deprecated: use POST `/integrations/{integration}/syncs` instead.
|
|
11
|
+
*
|
|
12
|
+
* Triggers a full sync for the integration.
|
|
13
|
+
* @deprecated
|
|
11
14
|
*/
|
|
12
15
|
export function useTriggerSyncOrgMutation(options) {
|
|
13
16
|
return useMutation((mutateProps) => triggerSyncOrg(mutateProps), options);
|
|
@@ -4,8 +4,17 @@ import type { ApierrorsErrorResponse } from '../schemas/ApierrorsErrorResponse';
|
|
|
4
4
|
import type { ResponseWithPagination } from '../helpers';
|
|
5
5
|
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
6
6
|
export interface TriggerSyncProjectMutationPathParams {
|
|
7
|
+
/**
|
|
8
|
+
* Account identifier.
|
|
9
|
+
*/
|
|
7
10
|
accountIdentifier: string;
|
|
11
|
+
/**
|
|
12
|
+
* Organization identifier.
|
|
13
|
+
*/
|
|
8
14
|
orgIdentifier: string;
|
|
15
|
+
/**
|
|
16
|
+
* Project identifier.
|
|
17
|
+
*/
|
|
9
18
|
projectIdentifier: string;
|
|
10
19
|
integrationconfig_identifier: string;
|
|
11
20
|
}
|
|
@@ -15,6 +24,9 @@ export interface TriggerSyncProjectProps extends TriggerSyncProjectMutationPathP
|
|
|
15
24
|
}
|
|
16
25
|
export declare function triggerSyncProject(props: TriggerSyncProjectProps): Promise<TriggerSyncProjectOkResponse>;
|
|
17
26
|
/**
|
|
18
|
-
*
|
|
27
|
+
* Deprecated: use POST `/integrations/{integration}/syncs` instead.
|
|
28
|
+
*
|
|
29
|
+
* Triggers a full sync for the integration.
|
|
30
|
+
* @deprecated
|
|
19
31
|
*/
|
|
20
32
|
export declare function useTriggerSyncProjectMutation(options?: Omit<UseMutationOptions<TriggerSyncProjectOkResponse, TriggerSyncProjectErrorResponse, TriggerSyncProjectProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<TriggerSyncProjectOkResponse, ApierrorsErrorResponse, TriggerSyncProjectProps, unknown>;
|
|
@@ -7,7 +7,10 @@ export function triggerSyncProject(props) {
|
|
|
7
7
|
return fetcher(Object.assign({ url: `/api/v1/accounts/${props.accountIdentifier}/orgs/${props.orgIdentifier}/projects/${props.projectIdentifier}/integration-configs/${props.integrationconfig_identifier}/sync`, method: 'POST' }, props));
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
-
*
|
|
10
|
+
* Deprecated: use POST `/integrations/{integration}/syncs` instead.
|
|
11
|
+
*
|
|
12
|
+
* Triggers a full sync for the integration.
|
|
13
|
+
* @deprecated
|
|
11
14
|
*/
|
|
12
15
|
export function useTriggerSyncProjectMutation(options) {
|
|
13
16
|
return useMutation((mutateProps) => triggerSyncProject(mutateProps), options);
|
package/dist/integration-manager/src/services/hooks/useUpdateAirbyteIntegrationConfigMutation.d.ts
CHANGED
|
@@ -5,6 +5,9 @@ import type { OpenapiUpdateAirbyteIntegrationConfigRequest } from '../schemas/Op
|
|
|
5
5
|
import type { ResponseWithPagination } from '../helpers';
|
|
6
6
|
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
7
7
|
export interface UpdateAirbyteIntegrationConfigMutationPathParams {
|
|
8
|
+
/**
|
|
9
|
+
* Account identifier.
|
|
10
|
+
*/
|
|
8
11
|
accountIdentifier: string;
|
|
9
12
|
integrationconfig_identifier: string;
|
|
10
13
|
}
|
|
@@ -16,6 +19,9 @@ export interface UpdateAirbyteIntegrationConfigProps extends UpdateAirbyteIntegr
|
|
|
16
19
|
}
|
|
17
20
|
export declare function updateAirbyteIntegrationConfig(props: UpdateAirbyteIntegrationConfigProps): Promise<UpdateAirbyteIntegrationConfigOkResponse>;
|
|
18
21
|
/**
|
|
19
|
-
*
|
|
22
|
+
* Deprecated: use PUT or PATCH `/integrations/{integration}` instead.
|
|
23
|
+
*
|
|
24
|
+
* Updates an Airbyte integration and its connector catalog. The merged configuration is validated against the connector's JSON schema before any write.
|
|
25
|
+
* @deprecated
|
|
20
26
|
*/
|
|
21
27
|
export declare function useUpdateAirbyteIntegrationConfigMutation(options?: Omit<UseMutationOptions<UpdateAirbyteIntegrationConfigOkResponse, UpdateAirbyteIntegrationConfigErrorResponse, UpdateAirbyteIntegrationConfigProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<UpdateAirbyteIntegrationConfigOkResponse, ApierrorsErrorResponse, UpdateAirbyteIntegrationConfigProps, unknown>;
|
package/dist/integration-manager/src/services/hooks/useUpdateAirbyteIntegrationConfigMutation.js
CHANGED
|
@@ -7,7 +7,10 @@ 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
|
-
*
|
|
10
|
+
* Deprecated: use PUT or PATCH `/integrations/{integration}` instead.
|
|
11
|
+
*
|
|
12
|
+
* Updates an Airbyte integration and its connector catalog. The merged configuration is validated against the connector's JSON schema before any write.
|
|
13
|
+
* @deprecated
|
|
11
14
|
*/
|
|
12
15
|
export function useUpdateAirbyteIntegrationConfigMutation(options) {
|
|
13
16
|
return useMutation((mutateProps) => updateAirbyteIntegrationConfig(mutateProps), options);
|
|
@@ -5,7 +5,13 @@ import type { OpenapiUpdateAirbyteIntegrationConfigOrgRequest } from '../schemas
|
|
|
5
5
|
import type { ResponseWithPagination } from '../helpers';
|
|
6
6
|
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
7
7
|
export interface UpdateAirbyteIntegrationConfigOrgMutationPathParams {
|
|
8
|
+
/**
|
|
9
|
+
* Account identifier.
|
|
10
|
+
*/
|
|
8
11
|
accountIdentifier: string;
|
|
12
|
+
/**
|
|
13
|
+
* Organization identifier.
|
|
14
|
+
*/
|
|
9
15
|
orgIdentifier: string;
|
|
10
16
|
integrationconfig_identifier: string;
|
|
11
17
|
}
|
|
@@ -17,6 +23,9 @@ export interface UpdateAirbyteIntegrationConfigOrgProps extends UpdateAirbyteInt
|
|
|
17
23
|
}
|
|
18
24
|
export declare function updateAirbyteIntegrationConfigOrg(props: UpdateAirbyteIntegrationConfigOrgProps): Promise<UpdateAirbyteIntegrationConfigOrgOkResponse>;
|
|
19
25
|
/**
|
|
20
|
-
*
|
|
26
|
+
* Deprecated: use PUT or PATCH `/integrations/{integration}` instead.
|
|
27
|
+
*
|
|
28
|
+
* Updates an Airbyte integration and its connector catalog. The merged configuration is validated against the connector's JSON schema before any write.
|
|
29
|
+
* @deprecated
|
|
21
30
|
*/
|
|
22
31
|
export declare function useUpdateAirbyteIntegrationConfigOrgMutation(options?: Omit<UseMutationOptions<UpdateAirbyteIntegrationConfigOrgOkResponse, UpdateAirbyteIntegrationConfigOrgErrorResponse, UpdateAirbyteIntegrationConfigOrgProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<UpdateAirbyteIntegrationConfigOrgOkResponse, ApierrorsErrorResponse, UpdateAirbyteIntegrationConfigOrgProps, unknown>;
|
package/dist/integration-manager/src/services/hooks/useUpdateAirbyteIntegrationConfigOrgMutation.js
CHANGED
|
@@ -7,7 +7,10 @@ export function updateAirbyteIntegrationConfigOrg(props) {
|
|
|
7
7
|
return fetcher(Object.assign({ url: `/api/v1/accounts/${props.accountIdentifier}/orgs/${props.orgIdentifier}/integration-configs/airbyte/${props.integrationconfig_identifier}`, method: 'PUT' }, props));
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
-
*
|
|
10
|
+
* Deprecated: use PUT or PATCH `/integrations/{integration}` instead.
|
|
11
|
+
*
|
|
12
|
+
* Updates an Airbyte integration and its connector catalog. The merged configuration is validated against the connector's JSON schema before any write.
|
|
13
|
+
* @deprecated
|
|
11
14
|
*/
|
|
12
15
|
export function useUpdateAirbyteIntegrationConfigOrgMutation(options) {
|
|
13
16
|
return useMutation((mutateProps) => updateAirbyteIntegrationConfigOrg(mutateProps), options);
|