@harnessio/react-integration-manager-client 0.8.10 → 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 +2 -1
- package/dist/integration-manager/src/services/hooks/useCountIntegrationConfigsOrgQuery.js +2 -1
- package/dist/integration-manager/src/services/hooks/useCountIntegrationConfigsProjectQuery.d.ts +2 -1
- package/dist/integration-manager/src/services/hooks/useCountIntegrationConfigsProjectQuery.js +2 -1
- package/dist/integration-manager/src/services/hooks/useCountIntegrationConfigsQuery.d.ts +2 -1
- package/dist/integration-manager/src/services/hooks/useCountIntegrationConfigsQuery.js +2 -1
- package/dist/integration-manager/src/services/hooks/useCreateAirbyteIntegrationConfigMutation.d.ts +5 -2
- package/dist/integration-manager/src/services/hooks/useCreateAirbyteIntegrationConfigMutation.js +3 -0
- package/dist/integration-manager/src/services/hooks/useCreateAirbyteIntegrationConfigOrgMutation.d.ts +5 -2
- package/dist/integration-manager/src/services/hooks/useCreateAirbyteIntegrationConfigOrgMutation.js +3 -0
- package/dist/integration-manager/src/services/hooks/useCreateAirbyteIntegrationConfigProjectMutation.d.ts +5 -2
- package/dist/integration-manager/src/services/hooks/useCreateAirbyteIntegrationConfigProjectMutation.js +3 -0
- package/dist/integration-manager/src/services/hooks/useCreateIntegrationConfigMutation.d.ts +3 -0
- package/dist/integration-manager/src/services/hooks/useCreateIntegrationConfigMutation.js +3 -0
- package/dist/integration-manager/src/services/hooks/useCreateIntegrationConfigOrgMutation.d.ts +3 -0
- package/dist/integration-manager/src/services/hooks/useCreateIntegrationConfigOrgMutation.js +3 -0
- package/dist/integration-manager/src/services/hooks/useCreateIntegrationConfigProjectMutation.d.ts +3 -0
- package/dist/integration-manager/src/services/hooks/useCreateIntegrationConfigProjectMutation.js +3 -0
- package/dist/integration-manager/src/services/hooks/useDeleteIntegrationConfigMutation.d.ts +3 -0
- package/dist/integration-manager/src/services/hooks/useDeleteIntegrationConfigMutation.js +3 -0
- package/dist/integration-manager/src/services/hooks/useDeleteIntegrationConfigOrgMutation.d.ts +3 -0
- package/dist/integration-manager/src/services/hooks/useDeleteIntegrationConfigOrgMutation.js +3 -0
- package/dist/integration-manager/src/services/hooks/useDeleteIntegrationConfigProjectMutation.d.ts +3 -0
- package/dist/integration-manager/src/services/hooks/useDeleteIntegrationConfigProjectMutation.js +3 -0
- package/dist/integration-manager/src/services/hooks/useGetAirbyteIntegrationConfigOrgQuery.d.ts +5 -2
- package/dist/integration-manager/src/services/hooks/useGetAirbyteIntegrationConfigOrgQuery.js +3 -0
- package/dist/integration-manager/src/services/hooks/useGetAirbyteIntegrationConfigProjectQuery.d.ts +5 -2
- package/dist/integration-manager/src/services/hooks/useGetAirbyteIntegrationConfigProjectQuery.js +3 -0
- package/dist/integration-manager/src/services/hooks/useGetAirbyteIntegrationConfigQuery.d.ts +5 -2
- package/dist/integration-manager/src/services/hooks/useGetAirbyteIntegrationConfigQuery.js +3 -0
- package/dist/integration-manager/src/services/hooks/useGetCustomEntitiesMutation.d.ts +1 -1
- package/dist/integration-manager/src/services/hooks/useGetCustomEntitiesMutation.js +1 -1
- package/dist/integration-manager/src/services/hooks/useGetCustomEntitiesOrgMutation.d.ts +1 -1
- package/dist/integration-manager/src/services/hooks/useGetCustomEntitiesOrgMutation.js +1 -1
- package/dist/integration-manager/src/services/hooks/useGetCustomEntitiesProjectMutation.d.ts +1 -1
- package/dist/integration-manager/src/services/hooks/useGetCustomEntitiesProjectMutation.js +1 -1
- package/dist/integration-manager/src/services/hooks/useGetIntegrationConfigOrgQuery.d.ts +2 -1
- package/dist/integration-manager/src/services/hooks/useGetIntegrationConfigOrgQuery.js +2 -1
- package/dist/integration-manager/src/services/hooks/useGetIntegrationConfigProjectQuery.d.ts +2 -1
- package/dist/integration-manager/src/services/hooks/useGetIntegrationConfigProjectQuery.js +2 -1
- package/dist/integration-manager/src/services/hooks/useGetIntegrationConfigQuery.d.ts +2 -1
- package/dist/integration-manager/src/services/hooks/useGetIntegrationConfigQuery.js +2 -1
- package/dist/integration-manager/src/services/hooks/useGetSampleRecordsQuery.d.ts +1 -1
- package/dist/integration-manager/src/services/hooks/useGetSampleRecordsQuery.js +1 -1
- package/dist/integration-manager/src/services/hooks/useListDefaultMappingFieldsQuery.d.ts +3 -0
- package/dist/integration-manager/src/services/hooks/useListDefaultMappingFieldsQuery.js +3 -0
- package/dist/integration-manager/src/services/hooks/useListDefaultSchemasQuery.d.ts +1 -1
- package/dist/integration-manager/src/services/hooks/useListDefaultSchemasQuery.js +1 -1
- package/dist/integration-manager/src/services/hooks/useListIntegrationConfigsOrgQuery.d.ts +3 -0
- package/dist/integration-manager/src/services/hooks/useListIntegrationConfigsOrgQuery.js +3 -0
- package/dist/integration-manager/src/services/hooks/useListIntegrationConfigsProjectQuery.d.ts +3 -0
- package/dist/integration-manager/src/services/hooks/useListIntegrationConfigsProjectQuery.js +3 -0
- package/dist/integration-manager/src/services/hooks/useListIntegrationConfigsQuery.d.ts +3 -0
- package/dist/integration-manager/src/services/hooks/useListIntegrationConfigsQuery.js +3 -0
- package/dist/integration-manager/src/services/hooks/useSyncNowMutation.d.ts +3 -0
- package/dist/integration-manager/src/services/hooks/useSyncNowMutation.js +3 -0
- package/dist/integration-manager/src/services/hooks/useSyncNowOrgMutation.d.ts +3 -0
- package/dist/integration-manager/src/services/hooks/useSyncNowOrgMutation.js +3 -0
- package/dist/integration-manager/src/services/hooks/useSyncNowProjectMutation.d.ts +3 -0
- package/dist/integration-manager/src/services/hooks/useSyncNowProjectMutation.js +3 -0
- package/dist/integration-manager/src/services/hooks/useTriggerSyncMutation.d.ts +3 -0
- package/dist/integration-manager/src/services/hooks/useTriggerSyncMutation.js +3 -0
- package/dist/integration-manager/src/services/hooks/useTriggerSyncOrgMutation.d.ts +3 -0
- package/dist/integration-manager/src/services/hooks/useTriggerSyncOrgMutation.js +3 -0
- package/dist/integration-manager/src/services/hooks/useTriggerSyncProjectMutation.d.ts +3 -0
- package/dist/integration-manager/src/services/hooks/useTriggerSyncProjectMutation.js +3 -0
- package/dist/integration-manager/src/services/hooks/useUpdateAirbyteIntegrationConfigMutation.d.ts +5 -2
- package/dist/integration-manager/src/services/hooks/useUpdateAirbyteIntegrationConfigMutation.js +3 -0
- package/dist/integration-manager/src/services/hooks/useUpdateAirbyteIntegrationConfigOrgMutation.d.ts +5 -2
- package/dist/integration-manager/src/services/hooks/useUpdateAirbyteIntegrationConfigOrgMutation.js +3 -0
- package/dist/integration-manager/src/services/hooks/useUpdateAirbyteIntegrationConfigProjectMutation.d.ts +5 -2
- package/dist/integration-manager/src/services/hooks/useUpdateAirbyteIntegrationConfigProjectMutation.js +3 -0
- package/dist/integration-manager/src/services/hooks/useUpdateIntegrationConfigMutation.d.ts +3 -0
- package/dist/integration-manager/src/services/hooks/useUpdateIntegrationConfigMutation.js +3 -0
- package/dist/integration-manager/src/services/hooks/useUpdateIntegrationConfigOrgMutation.d.ts +3 -0
- package/dist/integration-manager/src/services/hooks/useUpdateIntegrationConfigOrgMutation.js +3 -0
- package/dist/integration-manager/src/services/hooks/useUpdateIntegrationConfigProjectMutation.d.ts +3 -0
- package/dist/integration-manager/src/services/hooks/useUpdateIntegrationConfigProjectMutation.js +3 -0
- package/dist/integration-manager/src/services/hooks/useUpdateIntegrationStatusMutation.d.ts +3 -0
- package/dist/integration-manager/src/services/hooks/useUpdateIntegrationStatusMutation.js +3 -0
- package/dist/integration-manager/src/services/hooks/useUpdateIntegrationStatusOrgMutation.d.ts +3 -0
- package/dist/integration-manager/src/services/hooks/useUpdateIntegrationStatusOrgMutation.js +3 -0
- package/dist/integration-manager/src/services/hooks/useUpdateIntegrationStatusProjectMutation.d.ts +3 -0
- package/dist/integration-manager/src/services/hooks/useUpdateIntegrationStatusProjectMutation.js +3 -0
- package/dist/integration-manager/src/services/index.d.ts +7 -7
- package/dist/integration-manager/src/services/schemas/{OpenapiAirbyteIntegrationResponseDoc.d.ts → IntegrationconfigAirbyteIntegrationResponse.d.ts} +1 -1
- package/dist/integration-manager/src/services/schemas/TypesDefaultKind.d.ts +8 -1
- package/dist/integration-manager/src/services/schemas/TypesEntitySchema.d.ts +8 -1
- 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/{OpenapiAirbyteIntegrationResponseDoc.js → IntegrationconfigAirbyteIntegrationResponse.js} +0 -0
- /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,7 @@ export function getSampleRecords(props) {
|
|
|
7
7
|
return fetcher(Object.assign({ url: `/api/v1/accounts/${props.accountIdentifier}/integration/sample-records`, method: 'GET' }, props));
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
-
* Returns curated sample records for a (integration_type, kind), mapped through the default
|
|
10
|
+
* Returns curated sample records for a (integration_type, kind), mapped through the default ingestion mapping into entity.Spec shape. No integration config is required. Query 'integration_type' is required. Query 'kind' is optional; when omitted, results are aggregated across every kind that has curated fixtures for that integration type.
|
|
11
11
|
*/
|
|
12
12
|
export function useGetSampleRecordsQuery(props, options) {
|
|
13
13
|
return useQuery(['getSampleRecords', props.accountIdentifier, props.queryParams], ({ signal }) => getSampleRecords(Object.assign(Object.assign({}, props), { signal })), options);
|
|
@@ -20,6 +20,9 @@ export interface ListDefaultMappingFieldsProps extends ListDefaultMappingFieldsQ
|
|
|
20
20
|
}
|
|
21
21
|
export declare function listDefaultMappingFields(props: ListDefaultMappingFieldsProps): Promise<ListDefaultMappingFieldsOkResponse>;
|
|
22
22
|
/**
|
|
23
|
+
* Deprecated: use GET `/integration-types/{type}` (`kinds[].mapping_fields`) instead.
|
|
24
|
+
*
|
|
23
25
|
* 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.
|
|
26
|
+
* @deprecated
|
|
24
27
|
*/
|
|
25
28
|
export declare function useListDefaultMappingFieldsQuery(props: ListDefaultMappingFieldsProps, options?: Omit<UseQueryOptions<ListDefaultMappingFieldsOkResponse, ListDefaultMappingFieldsErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<ListDefaultMappingFieldsOkResponse, ApierrorsErrorResponse>;
|
|
@@ -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);
|
|
@@ -20,6 +20,6 @@ export interface ListDefaultSchemasProps extends ListDefaultSchemasQueryPathPara
|
|
|
20
20
|
}
|
|
21
21
|
export declare function listDefaultSchemas(props: ListDefaultSchemasProps): Promise<ListDefaultSchemasOkResponse>;
|
|
22
22
|
/**
|
|
23
|
-
* 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.
|
|
24
24
|
*/
|
|
25
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);
|
|
@@ -64,6 +64,9 @@ export interface ListIntegrationConfigsOrgProps extends ListIntegrationConfigsOr
|
|
|
64
64
|
}
|
|
65
65
|
export declare function listIntegrationConfigsOrg(props: ListIntegrationConfigsOrgProps): Promise<ListIntegrationConfigsOrgOkResponse>;
|
|
66
66
|
/**
|
|
67
|
+
* Deprecated: use GET `/integrations` instead.
|
|
68
|
+
*
|
|
67
69
|
* Lists integration configurations. limit defaults to 50 and must be a positive integer.
|
|
70
|
+
* @deprecated
|
|
68
71
|
*/
|
|
69
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
|
+
* Deprecated: use GET `/integrations` instead.
|
|
11
|
+
*
|
|
10
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
|
@@ -68,6 +68,9 @@ export interface ListIntegrationConfigsProjectProps extends ListIntegrationConfi
|
|
|
68
68
|
}
|
|
69
69
|
export declare function listIntegrationConfigsProject(props: ListIntegrationConfigsProjectProps): Promise<ListIntegrationConfigsProjectOkResponse>;
|
|
70
70
|
/**
|
|
71
|
+
* Deprecated: use GET `/integrations` instead.
|
|
72
|
+
*
|
|
71
73
|
* Lists integration configurations. limit defaults to 50 and must be a positive integer.
|
|
74
|
+
* @deprecated
|
|
72
75
|
*/
|
|
73
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
|
+
* Deprecated: use GET `/integrations` instead.
|
|
11
|
+
*
|
|
10
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([
|
|
@@ -64,6 +64,9 @@ export interface ListIntegrationConfigsProps extends ListIntegrationConfigsQuery
|
|
|
64
64
|
}
|
|
65
65
|
export declare function listIntegrationConfigs(props: ListIntegrationConfigsProps): Promise<ListIntegrationConfigsOkResponse>;
|
|
66
66
|
/**
|
|
67
|
+
* Deprecated: use GET `/integrations` instead.
|
|
68
|
+
*
|
|
67
69
|
* Lists integration configurations. limit defaults to 50 and must be a positive integer.
|
|
70
|
+
* @deprecated
|
|
68
71
|
*/
|
|
69
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
|
+
* Deprecated: use GET `/integrations` instead.
|
|
11
|
+
*
|
|
10
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);
|
|
@@ -16,6 +16,9 @@ export interface SyncNowProps extends SyncNowMutationPathParams, Omit<FetcherOpt
|
|
|
16
16
|
}
|
|
17
17
|
export declare function syncNow(props: SyncNowProps): Promise<SyncNowOkResponse>;
|
|
18
18
|
/**
|
|
19
|
+
* Deprecated: use POST `/integrations/{integration}/syncs` instead.
|
|
20
|
+
*
|
|
19
21
|
* Triggers an immediate Airbyte sync through the delegate lifecycle. Supported for Airbyte-mode integrations (e.g. ServiceNow).
|
|
22
|
+
* @deprecated
|
|
20
23
|
*/
|
|
21
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
|
+
* Deprecated: use POST `/integrations/{integration}/syncs` instead.
|
|
11
|
+
*
|
|
10
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);
|
|
@@ -20,6 +20,9 @@ export interface SyncNowOrgProps extends SyncNowOrgMutationPathParams, Omit<Fetc
|
|
|
20
20
|
}
|
|
21
21
|
export declare function syncNowOrg(props: SyncNowOrgProps): Promise<SyncNowOrgOkResponse>;
|
|
22
22
|
/**
|
|
23
|
+
* Deprecated: use POST `/integrations/{integration}/syncs` instead.
|
|
24
|
+
*
|
|
23
25
|
* Triggers an immediate Airbyte sync through the delegate lifecycle. Supported for Airbyte-mode integrations (e.g. ServiceNow).
|
|
26
|
+
* @deprecated
|
|
24
27
|
*/
|
|
25
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
|
+
* Deprecated: use POST `/integrations/{integration}/syncs` instead.
|
|
11
|
+
*
|
|
10
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);
|
|
@@ -24,6 +24,9 @@ export interface SyncNowProjectProps extends SyncNowProjectMutationPathParams, O
|
|
|
24
24
|
}
|
|
25
25
|
export declare function syncNowProject(props: SyncNowProjectProps): Promise<SyncNowProjectOkResponse>;
|
|
26
26
|
/**
|
|
27
|
+
* Deprecated: use POST `/integrations/{integration}/syncs` instead.
|
|
28
|
+
*
|
|
27
29
|
* Triggers an immediate Airbyte sync through the delegate lifecycle. Supported for Airbyte-mode integrations (e.g. ServiceNow).
|
|
30
|
+
* @deprecated
|
|
28
31
|
*/
|
|
29
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
|
+
* Deprecated: use POST `/integrations/{integration}/syncs` instead.
|
|
11
|
+
*
|
|
10
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);
|
|
@@ -16,6 +16,9 @@ export interface TriggerSyncProps extends TriggerSyncMutationPathParams, Omit<Fe
|
|
|
16
16
|
}
|
|
17
17
|
export declare function triggerSync(props: TriggerSyncProps): Promise<TriggerSyncOkResponse>;
|
|
18
18
|
/**
|
|
19
|
+
* Deprecated: use POST `/integrations/{integration}/syncs` instead.
|
|
20
|
+
*
|
|
19
21
|
* Triggers a full sync for the integration.
|
|
22
|
+
* @deprecated
|
|
20
23
|
*/
|
|
21
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);
|
|
@@ -20,6 +20,9 @@ export interface TriggerSyncOrgProps extends TriggerSyncOrgMutationPathParams, O
|
|
|
20
20
|
}
|
|
21
21
|
export declare function triggerSyncOrg(props: TriggerSyncOrgProps): Promise<TriggerSyncOrgOkResponse>;
|
|
22
22
|
/**
|
|
23
|
+
* Deprecated: use POST `/integrations/{integration}/syncs` instead.
|
|
24
|
+
*
|
|
23
25
|
* Triggers a full sync for the integration.
|
|
26
|
+
* @deprecated
|
|
24
27
|
*/
|
|
25
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
|
+
* 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 useTriggerSyncOrgMutation(options) {
|
|
13
16
|
return useMutation((mutateProps) => triggerSyncOrg(mutateProps), options);
|
|
@@ -24,6 +24,9 @@ export interface TriggerSyncProjectProps extends TriggerSyncProjectMutationPathP
|
|
|
24
24
|
}
|
|
25
25
|
export declare function triggerSyncProject(props: TriggerSyncProjectProps): Promise<TriggerSyncProjectOkResponse>;
|
|
26
26
|
/**
|
|
27
|
+
* Deprecated: use POST `/integrations/{integration}/syncs` instead.
|
|
28
|
+
*
|
|
27
29
|
* Triggers a full sync for the integration.
|
|
30
|
+
* @deprecated
|
|
28
31
|
*/
|
|
29
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
|
+
* 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 useTriggerSyncProjectMutation(options) {
|
|
13
16
|
return useMutation((mutateProps) => triggerSyncProject(mutateProps), options);
|
package/dist/integration-manager/src/services/hooks/useUpdateAirbyteIntegrationConfigMutation.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
|
-
import type {
|
|
2
|
+
import type { IntegrationconfigAirbyteIntegrationResponse } from '../schemas/IntegrationconfigAirbyteIntegrationResponse';
|
|
3
3
|
import type { ApierrorsErrorResponse } from '../schemas/ApierrorsErrorResponse';
|
|
4
4
|
import type { OpenapiUpdateAirbyteIntegrationConfigRequest } from '../schemas/OpenapiUpdateAirbyteIntegrationConfigRequest';
|
|
5
5
|
import type { ResponseWithPagination } from '../helpers';
|
|
@@ -12,13 +12,16 @@ export interface UpdateAirbyteIntegrationConfigMutationPathParams {
|
|
|
12
12
|
integrationconfig_identifier: string;
|
|
13
13
|
}
|
|
14
14
|
export type UpdateAirbyteIntegrationConfigRequestBody = OpenapiUpdateAirbyteIntegrationConfigRequest;
|
|
15
|
-
export type UpdateAirbyteIntegrationConfigOkResponse = ResponseWithPagination<
|
|
15
|
+
export type UpdateAirbyteIntegrationConfigOkResponse = ResponseWithPagination<IntegrationconfigAirbyteIntegrationResponse>;
|
|
16
16
|
export type UpdateAirbyteIntegrationConfigErrorResponse = ApierrorsErrorResponse;
|
|
17
17
|
export interface UpdateAirbyteIntegrationConfigProps extends UpdateAirbyteIntegrationConfigMutationPathParams, Omit<FetcherOptions<unknown, UpdateAirbyteIntegrationConfigRequestBody>, 'url'> {
|
|
18
18
|
body: UpdateAirbyteIntegrationConfigRequestBody;
|
|
19
19
|
}
|
|
20
20
|
export declare function updateAirbyteIntegrationConfig(props: UpdateAirbyteIntegrationConfigProps): Promise<UpdateAirbyteIntegrationConfigOkResponse>;
|
|
21
21
|
/**
|
|
22
|
+
* Deprecated: use PUT or PATCH `/integrations/{integration}` instead.
|
|
23
|
+
*
|
|
22
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
|
|
23
26
|
*/
|
|
24
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
|
+
* Deprecated: use PUT or PATCH `/integrations/{integration}` instead.
|
|
11
|
+
*
|
|
10
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);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
|
-
import type {
|
|
2
|
+
import type { IntegrationconfigAirbyteIntegrationResponse } from '../schemas/IntegrationconfigAirbyteIntegrationResponse';
|
|
3
3
|
import type { ApierrorsErrorResponse } from '../schemas/ApierrorsErrorResponse';
|
|
4
4
|
import type { OpenapiUpdateAirbyteIntegrationConfigOrgRequest } from '../schemas/OpenapiUpdateAirbyteIntegrationConfigOrgRequest';
|
|
5
5
|
import type { ResponseWithPagination } from '../helpers';
|
|
@@ -16,13 +16,16 @@ export interface UpdateAirbyteIntegrationConfigOrgMutationPathParams {
|
|
|
16
16
|
integrationconfig_identifier: string;
|
|
17
17
|
}
|
|
18
18
|
export type UpdateAirbyteIntegrationConfigOrgRequestBody = OpenapiUpdateAirbyteIntegrationConfigOrgRequest;
|
|
19
|
-
export type UpdateAirbyteIntegrationConfigOrgOkResponse = ResponseWithPagination<
|
|
19
|
+
export type UpdateAirbyteIntegrationConfigOrgOkResponse = ResponseWithPagination<IntegrationconfigAirbyteIntegrationResponse>;
|
|
20
20
|
export type UpdateAirbyteIntegrationConfigOrgErrorResponse = ApierrorsErrorResponse;
|
|
21
21
|
export interface UpdateAirbyteIntegrationConfigOrgProps extends UpdateAirbyteIntegrationConfigOrgMutationPathParams, Omit<FetcherOptions<unknown, UpdateAirbyteIntegrationConfigOrgRequestBody>, 'url'> {
|
|
22
22
|
body: UpdateAirbyteIntegrationConfigOrgRequestBody;
|
|
23
23
|
}
|
|
24
24
|
export declare function updateAirbyteIntegrationConfigOrg(props: UpdateAirbyteIntegrationConfigOrgProps): Promise<UpdateAirbyteIntegrationConfigOrgOkResponse>;
|
|
25
25
|
/**
|
|
26
|
+
* Deprecated: use PUT or PATCH `/integrations/{integration}` instead.
|
|
27
|
+
*
|
|
26
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
|
|
27
30
|
*/
|
|
28
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
|
+
* Deprecated: use PUT or PATCH `/integrations/{integration}` instead.
|
|
11
|
+
*
|
|
10
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);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
|
-
import type {
|
|
2
|
+
import type { IntegrationconfigAirbyteIntegrationResponse } from '../schemas/IntegrationconfigAirbyteIntegrationResponse';
|
|
3
3
|
import type { ApierrorsErrorResponse } from '../schemas/ApierrorsErrorResponse';
|
|
4
4
|
import type { OpenapiUpdateAirbyteIntegrationConfigProjectRequest } from '../schemas/OpenapiUpdateAirbyteIntegrationConfigProjectRequest';
|
|
5
5
|
import type { ResponseWithPagination } from '../helpers';
|
|
@@ -20,13 +20,16 @@ export interface UpdateAirbyteIntegrationConfigProjectMutationPathParams {
|
|
|
20
20
|
integrationconfig_identifier: string;
|
|
21
21
|
}
|
|
22
22
|
export type UpdateAirbyteIntegrationConfigProjectRequestBody = OpenapiUpdateAirbyteIntegrationConfigProjectRequest;
|
|
23
|
-
export type UpdateAirbyteIntegrationConfigProjectOkResponse = ResponseWithPagination<
|
|
23
|
+
export type UpdateAirbyteIntegrationConfigProjectOkResponse = ResponseWithPagination<IntegrationconfigAirbyteIntegrationResponse>;
|
|
24
24
|
export type UpdateAirbyteIntegrationConfigProjectErrorResponse = ApierrorsErrorResponse;
|
|
25
25
|
export interface UpdateAirbyteIntegrationConfigProjectProps extends UpdateAirbyteIntegrationConfigProjectMutationPathParams, Omit<FetcherOptions<unknown, UpdateAirbyteIntegrationConfigProjectRequestBody>, 'url'> {
|
|
26
26
|
body: UpdateAirbyteIntegrationConfigProjectRequestBody;
|
|
27
27
|
}
|
|
28
28
|
export declare function updateAirbyteIntegrationConfigProject(props: UpdateAirbyteIntegrationConfigProjectProps): Promise<UpdateAirbyteIntegrationConfigProjectOkResponse>;
|
|
29
29
|
/**
|
|
30
|
+
* Deprecated: use PUT or PATCH `/integrations/{integration}` instead.
|
|
31
|
+
*
|
|
30
32
|
* Updates an Airbyte integration and its connector catalog. The merged configuration is validated against the connector's JSON schema before any write.
|
|
33
|
+
* @deprecated
|
|
31
34
|
*/
|
|
32
35
|
export declare function useUpdateAirbyteIntegrationConfigProjectMutation(options?: Omit<UseMutationOptions<UpdateAirbyteIntegrationConfigProjectOkResponse, UpdateAirbyteIntegrationConfigProjectErrorResponse, UpdateAirbyteIntegrationConfigProjectProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<UpdateAirbyteIntegrationConfigProjectOkResponse, ApierrorsErrorResponse, UpdateAirbyteIntegrationConfigProjectProps, unknown>;
|
|
@@ -7,7 +7,10 @@ export function updateAirbyteIntegrationConfigProject(props) {
|
|
|
7
7
|
return fetcher(Object.assign({ url: `/api/v1/accounts/${props.accountIdentifier}/orgs/${props.orgIdentifier}/projects/${props.projectIdentifier}/integration-configs/airbyte/${props.integrationconfig_identifier}`, method: 'PUT' }, props));
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
+
* Deprecated: use PUT or PATCH `/integrations/{integration}` instead.
|
|
11
|
+
*
|
|
10
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 useUpdateAirbyteIntegrationConfigProjectMutation(options) {
|
|
13
16
|
return useMutation((mutateProps) => updateAirbyteIntegrationConfigProject(mutateProps), options);
|
|
@@ -19,6 +19,9 @@ export interface UpdateIntegrationConfigProps extends UpdateIntegrationConfigMut
|
|
|
19
19
|
}
|
|
20
20
|
export declare function updateIntegrationConfig(props: UpdateIntegrationConfigProps): Promise<UpdateIntegrationConfigOkResponse>;
|
|
21
21
|
/**
|
|
22
|
+
* Deprecated: use PUT or PATCH `/integrations/{integration}` instead.
|
|
23
|
+
*
|
|
22
24
|
* Updates an integration configuration. Supports auto_import_per_kind, action_per_kind, and configuration. When action_per_kind is not provided, all kinds default to Merge_Register. Omitting source keeps the stored value; an empty string clears it. Server-written configuration keys (payload_schema_per_kind, api_endpoints_per_kind, webhook_endpoints_per_kind) are always preserved. Set configuration.rate_limit.rpm to override the per-integration custom-entity-upsert rate limit; the change propagates across all replicas immediately. For correlation_mapping: on first add, source_path is required and operator must be 'eq'; on subsequent updates only target_path can be changed (source_path and operator are immutable). When provided, correlation_mapping is also embedded into configuration.correlation_mapping (unrelated configuration keys are preserved). When ingestion_mapping_per_kind is provided (the deprecated alias schema_mapping_per_kind is still accepted), its keys must match the existing integration's kinds and each mappings.identifier must be a non-empty JQ expression. Each entry replaces the IngestionMapping stored under the 'default' key on that kind's current EntitySchema (partial per-kind updates are supported — kinds omitted from the map are untouched). The map is also mirrored into configuration.schema_mapping_per_kind for read parity with create.
|
|
25
|
+
* @deprecated
|
|
23
26
|
*/
|
|
24
27
|
export declare function useUpdateIntegrationConfigMutation(options?: Omit<UseMutationOptions<UpdateIntegrationConfigOkResponse, UpdateIntegrationConfigErrorResponse, UpdateIntegrationConfigProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<UpdateIntegrationConfigOkResponse, ApierrorsErrorResponse, UpdateIntegrationConfigProps, unknown>;
|
|
@@ -7,7 +7,10 @@ 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
|
+
* Deprecated: use PUT or PATCH `/integrations/{integration}` instead.
|
|
11
|
+
*
|
|
10
12
|
* Updates an integration configuration. Supports auto_import_per_kind, action_per_kind, and configuration. When action_per_kind is not provided, all kinds default to Merge_Register. Omitting source keeps the stored value; an empty string clears it. Server-written configuration keys (payload_schema_per_kind, api_endpoints_per_kind, webhook_endpoints_per_kind) are always preserved. Set configuration.rate_limit.rpm to override the per-integration custom-entity-upsert rate limit; the change propagates across all replicas immediately. For correlation_mapping: on first add, source_path is required and operator must be 'eq'; on subsequent updates only target_path can be changed (source_path and operator are immutable). When provided, correlation_mapping is also embedded into configuration.correlation_mapping (unrelated configuration keys are preserved). When ingestion_mapping_per_kind is provided (the deprecated alias schema_mapping_per_kind is still accepted), its keys must match the existing integration's kinds and each mappings.identifier must be a non-empty JQ expression. Each entry replaces the IngestionMapping stored under the 'default' key on that kind's current EntitySchema (partial per-kind updates are supported — kinds omitted from the map are untouched). The map is also mirrored into configuration.schema_mapping_per_kind for read parity with create.
|
|
13
|
+
* @deprecated
|
|
11
14
|
*/
|
|
12
15
|
export function useUpdateIntegrationConfigMutation(options) {
|
|
13
16
|
return useMutation((mutateProps) => updateIntegrationConfig(mutateProps), options);
|
package/dist/integration-manager/src/services/hooks/useUpdateIntegrationConfigOrgMutation.d.ts
CHANGED
|
@@ -23,6 +23,9 @@ export interface UpdateIntegrationConfigOrgProps extends UpdateIntegrationConfig
|
|
|
23
23
|
}
|
|
24
24
|
export declare function updateIntegrationConfigOrg(props: UpdateIntegrationConfigOrgProps): Promise<UpdateIntegrationConfigOrgOkResponse>;
|
|
25
25
|
/**
|
|
26
|
+
* Deprecated: use PUT or PATCH `/integrations/{integration}` instead.
|
|
27
|
+
*
|
|
26
28
|
* Updates an integration configuration. Supports auto_import_per_kind, action_per_kind, and configuration. When action_per_kind is not provided, all kinds default to Merge_Register. Omitting source keeps the stored value; an empty string clears it. Server-written configuration keys (payload_schema_per_kind, api_endpoints_per_kind, webhook_endpoints_per_kind) are always preserved. Set configuration.rate_limit.rpm to override the per-integration custom-entity-upsert rate limit; the change propagates across all replicas immediately. For correlation_mapping: on first add, source_path is required and operator must be 'eq'; on subsequent updates only target_path can be changed (source_path and operator are immutable). When provided, correlation_mapping is also embedded into configuration.correlation_mapping (unrelated configuration keys are preserved). When ingestion_mapping_per_kind is provided (the deprecated alias schema_mapping_per_kind is still accepted), its keys must match the existing integration's kinds and each mappings.identifier must be a non-empty JQ expression. Each entry replaces the IngestionMapping stored under the 'default' key on that kind's current EntitySchema (partial per-kind updates are supported — kinds omitted from the map are untouched). The map is also mirrored into configuration.schema_mapping_per_kind for read parity with create.
|
|
29
|
+
* @deprecated
|
|
27
30
|
*/
|
|
28
31
|
export declare function useUpdateIntegrationConfigOrgMutation(options?: Omit<UseMutationOptions<UpdateIntegrationConfigOrgOkResponse, UpdateIntegrationConfigOrgErrorResponse, UpdateIntegrationConfigOrgProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<UpdateIntegrationConfigOrgOkResponse, ApierrorsErrorResponse, UpdateIntegrationConfigOrgProps, unknown>;
|
package/dist/integration-manager/src/services/hooks/useUpdateIntegrationConfigOrgMutation.js
CHANGED
|
@@ -7,7 +7,10 @@ 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
|
+
* Deprecated: use PUT or PATCH `/integrations/{integration}` instead.
|
|
11
|
+
*
|
|
10
12
|
* Updates an integration configuration. Supports auto_import_per_kind, action_per_kind, and configuration. When action_per_kind is not provided, all kinds default to Merge_Register. Omitting source keeps the stored value; an empty string clears it. Server-written configuration keys (payload_schema_per_kind, api_endpoints_per_kind, webhook_endpoints_per_kind) are always preserved. Set configuration.rate_limit.rpm to override the per-integration custom-entity-upsert rate limit; the change propagates across all replicas immediately. For correlation_mapping: on first add, source_path is required and operator must be 'eq'; on subsequent updates only target_path can be changed (source_path and operator are immutable). When provided, correlation_mapping is also embedded into configuration.correlation_mapping (unrelated configuration keys are preserved). When ingestion_mapping_per_kind is provided (the deprecated alias schema_mapping_per_kind is still accepted), its keys must match the existing integration's kinds and each mappings.identifier must be a non-empty JQ expression. Each entry replaces the IngestionMapping stored under the 'default' key on that kind's current EntitySchema (partial per-kind updates are supported — kinds omitted from the map are untouched). The map is also mirrored into configuration.schema_mapping_per_kind for read parity with create.
|
|
13
|
+
* @deprecated
|
|
11
14
|
*/
|
|
12
15
|
export function useUpdateIntegrationConfigOrgMutation(options) {
|
|
13
16
|
return useMutation((mutateProps) => updateIntegrationConfigOrg(mutateProps), options);
|
package/dist/integration-manager/src/services/hooks/useUpdateIntegrationConfigProjectMutation.d.ts
CHANGED
|
@@ -27,6 +27,9 @@ export interface UpdateIntegrationConfigProjectProps extends UpdateIntegrationCo
|
|
|
27
27
|
}
|
|
28
28
|
export declare function updateIntegrationConfigProject(props: UpdateIntegrationConfigProjectProps): Promise<UpdateIntegrationConfigProjectOkResponse>;
|
|
29
29
|
/**
|
|
30
|
+
* Deprecated: use PUT or PATCH `/integrations/{integration}` instead.
|
|
31
|
+
*
|
|
30
32
|
* Updates an integration configuration. Supports auto_import_per_kind, action_per_kind, and configuration. When action_per_kind is not provided, all kinds default to Merge_Register. Omitting source keeps the stored value; an empty string clears it. Server-written configuration keys (payload_schema_per_kind, api_endpoints_per_kind, webhook_endpoints_per_kind) are always preserved. Set configuration.rate_limit.rpm to override the per-integration custom-entity-upsert rate limit; the change propagates across all replicas immediately. For correlation_mapping: on first add, source_path is required and operator must be 'eq'; on subsequent updates only target_path can be changed (source_path and operator are immutable). When provided, correlation_mapping is also embedded into configuration.correlation_mapping (unrelated configuration keys are preserved). When ingestion_mapping_per_kind is provided (the deprecated alias schema_mapping_per_kind is still accepted), its keys must match the existing integration's kinds and each mappings.identifier must be a non-empty JQ expression. Each entry replaces the IngestionMapping stored under the 'default' key on that kind's current EntitySchema (partial per-kind updates are supported — kinds omitted from the map are untouched). The map is also mirrored into configuration.schema_mapping_per_kind for read parity with create.
|
|
33
|
+
* @deprecated
|
|
31
34
|
*/
|
|
32
35
|
export declare function useUpdateIntegrationConfigProjectMutation(options?: Omit<UseMutationOptions<UpdateIntegrationConfigProjectOkResponse, UpdateIntegrationConfigProjectErrorResponse, UpdateIntegrationConfigProjectProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<UpdateIntegrationConfigProjectOkResponse, ApierrorsErrorResponse, UpdateIntegrationConfigProjectProps, unknown>;
|
package/dist/integration-manager/src/services/hooks/useUpdateIntegrationConfigProjectMutation.js
CHANGED
|
@@ -7,7 +7,10 @@ export function updateIntegrationConfigProject(props) {
|
|
|
7
7
|
return fetcher(Object.assign({ url: `/api/v1/accounts/${props.accountIdentifier}/orgs/${props.orgIdentifier}/projects/${props.projectIdentifier}/integration-configs/${props.integrationconfig_identifier}`, method: 'PUT' }, props));
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
+
* Deprecated: use PUT or PATCH `/integrations/{integration}` instead.
|
|
11
|
+
*
|
|
10
12
|
* Updates an integration configuration. Supports auto_import_per_kind, action_per_kind, and configuration. When action_per_kind is not provided, all kinds default to Merge_Register. Omitting source keeps the stored value; an empty string clears it. Server-written configuration keys (payload_schema_per_kind, api_endpoints_per_kind, webhook_endpoints_per_kind) are always preserved. Set configuration.rate_limit.rpm to override the per-integration custom-entity-upsert rate limit; the change propagates across all replicas immediately. For correlation_mapping: on first add, source_path is required and operator must be 'eq'; on subsequent updates only target_path can be changed (source_path and operator are immutable). When provided, correlation_mapping is also embedded into configuration.correlation_mapping (unrelated configuration keys are preserved). When ingestion_mapping_per_kind is provided (the deprecated alias schema_mapping_per_kind is still accepted), its keys must match the existing integration's kinds and each mappings.identifier must be a non-empty JQ expression. Each entry replaces the IngestionMapping stored under the 'default' key on that kind's current EntitySchema (partial per-kind updates are supported — kinds omitted from the map are untouched). The map is also mirrored into configuration.schema_mapping_per_kind for read parity with create.
|
|
13
|
+
* @deprecated
|
|
11
14
|
*/
|
|
12
15
|
export function useUpdateIntegrationConfigProjectMutation(options) {
|
|
13
16
|
return useMutation((mutateProps) => updateIntegrationConfigProject(mutateProps), options);
|
|
@@ -23,6 +23,9 @@ export interface UpdateIntegrationStatusProps extends UpdateIntegrationStatusMut
|
|
|
23
23
|
}
|
|
24
24
|
export declare function updateIntegrationStatus(props: UpdateIntegrationStatusProps): Promise<UpdateIntegrationStatusOkResponse>;
|
|
25
25
|
/**
|
|
26
|
+
* Deprecated: use `enabled` on PUT or PATCH `/integrations/{integration}` instead.
|
|
27
|
+
*
|
|
26
28
|
* Enable or disable an integration. First enable triggers an initial sync.
|
|
29
|
+
* @deprecated
|
|
27
30
|
*/
|
|
28
31
|
export declare function useUpdateIntegrationStatusMutation(options?: Omit<UseMutationOptions<UpdateIntegrationStatusOkResponse, UpdateIntegrationStatusErrorResponse, UpdateIntegrationStatusProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<UpdateIntegrationStatusOkResponse, ApierrorsErrorResponse, UpdateIntegrationStatusProps, unknown>;
|
|
@@ -7,7 +7,10 @@ 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
|
+
* Deprecated: use `enabled` on PUT or PATCH `/integrations/{integration}` instead.
|
|
11
|
+
*
|
|
10
12
|
* Enable or disable an integration. First enable triggers an initial sync.
|
|
13
|
+
* @deprecated
|
|
11
14
|
*/
|
|
12
15
|
export function useUpdateIntegrationStatusMutation(options) {
|
|
13
16
|
return useMutation((mutateProps) => updateIntegrationStatus(mutateProps), options);
|
package/dist/integration-manager/src/services/hooks/useUpdateIntegrationStatusOrgMutation.d.ts
CHANGED
|
@@ -27,6 +27,9 @@ export interface UpdateIntegrationStatusOrgProps extends UpdateIntegrationStatus
|
|
|
27
27
|
}
|
|
28
28
|
export declare function updateIntegrationStatusOrg(props: UpdateIntegrationStatusOrgProps): Promise<UpdateIntegrationStatusOrgOkResponse>;
|
|
29
29
|
/**
|
|
30
|
+
* Deprecated: use `enabled` on PUT or PATCH `/integrations/{integration}` instead.
|
|
31
|
+
*
|
|
30
32
|
* Enable or disable an integration. First enable triggers an initial sync.
|
|
33
|
+
* @deprecated
|
|
31
34
|
*/
|
|
32
35
|
export declare function useUpdateIntegrationStatusOrgMutation(options?: Omit<UseMutationOptions<UpdateIntegrationStatusOrgOkResponse, UpdateIntegrationStatusOrgErrorResponse, UpdateIntegrationStatusOrgProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<UpdateIntegrationStatusOrgOkResponse, ApierrorsErrorResponse, UpdateIntegrationStatusOrgProps, unknown>;
|
package/dist/integration-manager/src/services/hooks/useUpdateIntegrationStatusOrgMutation.js
CHANGED
|
@@ -7,7 +7,10 @@ export function updateIntegrationStatusOrg(props) {
|
|
|
7
7
|
return fetcher(Object.assign({ url: `/api/v1/accounts/${props.accountIdentifier}/orgs/${props.orgIdentifier}/integration-configs/${props.integrationconfig_identifier}/status`, method: 'PATCH' }, props));
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
+
* Deprecated: use `enabled` on PUT or PATCH `/integrations/{integration}` instead.
|
|
11
|
+
*
|
|
10
12
|
* Enable or disable an integration. First enable triggers an initial sync.
|
|
13
|
+
* @deprecated
|
|
11
14
|
*/
|
|
12
15
|
export function useUpdateIntegrationStatusOrgMutation(options) {
|
|
13
16
|
return useMutation((mutateProps) => updateIntegrationStatusOrg(mutateProps), options);
|
package/dist/integration-manager/src/services/hooks/useUpdateIntegrationStatusProjectMutation.d.ts
CHANGED
|
@@ -31,6 +31,9 @@ export interface UpdateIntegrationStatusProjectProps extends UpdateIntegrationSt
|
|
|
31
31
|
}
|
|
32
32
|
export declare function updateIntegrationStatusProject(props: UpdateIntegrationStatusProjectProps): Promise<UpdateIntegrationStatusProjectOkResponse>;
|
|
33
33
|
/**
|
|
34
|
+
* Deprecated: use `enabled` on PUT or PATCH `/integrations/{integration}` instead.
|
|
35
|
+
*
|
|
34
36
|
* Enable or disable an integration. First enable triggers an initial sync.
|
|
37
|
+
* @deprecated
|
|
35
38
|
*/
|
|
36
39
|
export declare function useUpdateIntegrationStatusProjectMutation(options?: Omit<UseMutationOptions<UpdateIntegrationStatusProjectOkResponse, UpdateIntegrationStatusProjectErrorResponse, UpdateIntegrationStatusProjectProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<UpdateIntegrationStatusProjectOkResponse, ApierrorsErrorResponse, UpdateIntegrationStatusProjectProps, unknown>;
|
package/dist/integration-manager/src/services/hooks/useUpdateIntegrationStatusProjectMutation.js
CHANGED
|
@@ -7,7 +7,10 @@ export function updateIntegrationStatusProject(props) {
|
|
|
7
7
|
return fetcher(Object.assign({ url: `/api/v1/accounts/${props.accountIdentifier}/orgs/${props.orgIdentifier}/projects/${props.projectIdentifier}/integration-configs/${props.integrationconfig_identifier}/status`, method: 'PATCH' }, props));
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
+
* Deprecated: use `enabled` on PUT or PATCH `/integrations/{integration}` instead.
|
|
11
|
+
*
|
|
10
12
|
* Enable or disable an integration. First enable triggers an initial sync.
|
|
13
|
+
* @deprecated
|
|
11
14
|
*/
|
|
12
15
|
export function useUpdateIntegrationStatusProjectMutation(options) {
|
|
13
16
|
return useMutation((mutateProps) => updateIntegrationStatusProject(mutateProps), options);
|
|
@@ -203,13 +203,13 @@ export type { EnumMetricTimeRange } from './schemas/EnumMetricTimeRange';
|
|
|
203
203
|
export type { EnumOperator } from './schemas/EnumOperator';
|
|
204
204
|
export type { EnumSyncResponseStatus } from './schemas/EnumSyncResponseStatus';
|
|
205
205
|
export type { EnumSyncStatus } from './schemas/EnumSyncStatus';
|
|
206
|
+
export type { IntegrationconfigAirbyteIntegrationResponse } from './schemas/IntegrationconfigAirbyteIntegrationResponse';
|
|
206
207
|
export type { IntegrationconfigMappingConfigInput } from './schemas/IntegrationconfigMappingConfigInput';
|
|
207
208
|
export type { IntegrationconfigSchemaValidationError } from './schemas/IntegrationconfigSchemaValidationError';
|
|
208
209
|
export type { IntegrationconfigValidateCustomSchemaResponse } from './schemas/IntegrationconfigValidateCustomSchemaResponse';
|
|
209
210
|
export type { IntegrationeventIntegrationEventResponse } from './schemas/IntegrationeventIntegrationEventResponse';
|
|
210
211
|
export type { IntegrationeventPrincipalInfo } from './schemas/IntegrationeventPrincipalInfo';
|
|
211
212
|
export type { IntegrationeventUiStatus } from './schemas/IntegrationeventUiStatus';
|
|
212
|
-
export type { OpenapiAirbyteIntegrationResponseDoc } from './schemas/OpenapiAirbyteIntegrationResponseDoc';
|
|
213
213
|
export type { OpenapiCreateAirbyteIntegrationConfigOrgRequest } from './schemas/OpenapiCreateAirbyteIntegrationConfigOrgRequest';
|
|
214
214
|
export type { OpenapiCreateAirbyteIntegrationConfigProjectRequest } from './schemas/OpenapiCreateAirbyteIntegrationConfigProjectRequest';
|
|
215
215
|
export type { OpenapiCreateAirbyteIntegrationConfigRequest } from './schemas/OpenapiCreateAirbyteIntegrationConfigRequest';
|
|
@@ -300,12 +300,12 @@ export type { TypesReevalState } from './schemas/TypesReevalState';
|
|
|
300
300
|
export type { TypesSampleEntity } from './schemas/TypesSampleEntity';
|
|
301
301
|
export type { TypesScope } from './schemas/TypesScope';
|
|
302
302
|
export type { TypesScopeConfig } from './schemas/TypesScopeConfig';
|
|
303
|
-
export type {
|
|
304
|
-
export type {
|
|
305
|
-
export type {
|
|
306
|
-
export type {
|
|
307
|
-
export type {
|
|
308
|
-
export type {
|
|
303
|
+
export type { TypesSettingsEntryAirbyteConnectorImageSettings } from './schemas/TypesSettingsEntryAirbyteConnectorImageSettings';
|
|
304
|
+
export type { TypesSettingsEntryDockerConnectorSettings } from './schemas/TypesSettingsEntryDockerConnectorSettings';
|
|
305
|
+
export type { TypesSettingsEntryHarnessComponentSettings } from './schemas/TypesSettingsEntryHarnessComponentSettings';
|
|
306
|
+
export type { TypesSettingsEntryInfraProviderSettings } from './schemas/TypesSettingsEntryInfraProviderSettings';
|
|
307
|
+
export type { TypesSettingsEntryK8sConnectorSettings } from './schemas/TypesSettingsEntryK8sConnectorSettings';
|
|
308
|
+
export type { TypesSettingsEntrySyncConfigSettings } from './schemas/TypesSettingsEntrySyncConfigSettings';
|
|
309
309
|
export type { TypesSettingsKey } from './schemas/TypesSettingsKey';
|
|
310
310
|
export type { TypesSettingsListResponse } from './schemas/TypesSettingsListResponse';
|
|
311
311
|
export type { TypesSonarQubeIssuesConfig } from './schemas/TypesSonarQubeIssuesConfig';
|
|
@@ -2,7 +2,7 @@ import type { TypesAirbyteConnector } from '../schemas/TypesAirbyteConnector';
|
|
|
2
2
|
import type { TypesEmissionMapping } from '../schemas/TypesEmissionMapping';
|
|
3
3
|
import type { TypesEntitySchema } from '../schemas/TypesEntitySchema';
|
|
4
4
|
import type { TypesIntegrationConfig } from '../schemas/TypesIntegrationConfig';
|
|
5
|
-
export interface
|
|
5
|
+
export interface IntegrationconfigAirbyteIntegrationResponse {
|
|
6
6
|
airbyte_connector?: TypesAirbyteConnector;
|
|
7
7
|
emission_mappings?: TypesEmissionMapping[] | null;
|
|
8
8
|
/**
|