@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
|
@@ -36,6 +36,7 @@ export interface CountIntegrationConfigsOrgProps extends CountIntegrationConfigs
|
|
|
36
36
|
}
|
|
37
37
|
export declare function countIntegrationConfigsOrg(props: CountIntegrationConfigsOrgProps): Promise<CountIntegrationConfigsOrgOkResponse>;
|
|
38
38
|
/**
|
|
39
|
-
*
|
|
39
|
+
* Deprecated: use GET `/integrations` (`X-Total-Elements`) instead.
|
|
40
|
+
* @deprecated
|
|
40
41
|
*/
|
|
41
42
|
export declare function useCountIntegrationConfigsOrgQuery(props: CountIntegrationConfigsOrgProps, options?: Omit<UseQueryOptions<CountIntegrationConfigsOrgOkResponse, CountIntegrationConfigsOrgErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<CountIntegrationConfigsOrgOkResponse, ApierrorsErrorResponse>;
|
|
@@ -7,7 +7,8 @@ export function countIntegrationConfigsOrg(props) {
|
|
|
7
7
|
return fetcher(Object.assign({ url: `/api/v1/accounts/${props.accountIdentifier}/orgs/${props.orgIdentifier}/integration-configs/count`, method: 'GET' }, props));
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
-
*
|
|
10
|
+
* Deprecated: use GET `/integrations` (`X-Total-Elements`) instead.
|
|
11
|
+
* @deprecated
|
|
11
12
|
*/
|
|
12
13
|
export function useCountIntegrationConfigsOrgQuery(props, options) {
|
|
13
14
|
return useQuery(['countIntegrationConfigsOrg', props.accountIdentifier, props.orgIdentifier, props.queryParams], ({ signal }) => countIntegrationConfigsOrg(Object.assign(Object.assign({}, props), { signal })), options);
|
package/dist/integration-manager/src/services/hooks/useCountIntegrationConfigsProjectQuery.d.ts
CHANGED
|
@@ -40,6 +40,7 @@ export interface CountIntegrationConfigsProjectProps extends CountIntegrationCon
|
|
|
40
40
|
}
|
|
41
41
|
export declare function countIntegrationConfigsProject(props: CountIntegrationConfigsProjectProps): Promise<CountIntegrationConfigsProjectOkResponse>;
|
|
42
42
|
/**
|
|
43
|
-
*
|
|
43
|
+
* Deprecated: use GET `/integrations` (`X-Total-Elements`) instead.
|
|
44
|
+
* @deprecated
|
|
44
45
|
*/
|
|
45
46
|
export declare function useCountIntegrationConfigsProjectQuery(props: CountIntegrationConfigsProjectProps, options?: Omit<UseQueryOptions<CountIntegrationConfigsProjectOkResponse, CountIntegrationConfigsProjectErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<CountIntegrationConfigsProjectOkResponse, ApierrorsErrorResponse>;
|
package/dist/integration-manager/src/services/hooks/useCountIntegrationConfigsProjectQuery.js
CHANGED
|
@@ -7,7 +7,8 @@ export function countIntegrationConfigsProject(props) {
|
|
|
7
7
|
return fetcher(Object.assign({ url: `/api/v1/accounts/${props.accountIdentifier}/orgs/${props.orgIdentifier}/projects/${props.projectIdentifier}/integration-configs/count`, method: 'GET' }, props));
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
-
*
|
|
10
|
+
* Deprecated: use GET `/integrations` (`X-Total-Elements`) instead.
|
|
11
|
+
* @deprecated
|
|
11
12
|
*/
|
|
12
13
|
export function useCountIntegrationConfigsProjectQuery(props, options) {
|
|
13
14
|
return useQuery([
|
|
@@ -32,6 +32,7 @@ export interface CountIntegrationConfigsProps extends CountIntegrationConfigsQue
|
|
|
32
32
|
}
|
|
33
33
|
export declare function countIntegrationConfigs(props: CountIntegrationConfigsProps): Promise<CountIntegrationConfigsOkResponse>;
|
|
34
34
|
/**
|
|
35
|
-
*
|
|
35
|
+
* Deprecated: use GET `/integrations` (`X-Total-Elements`) instead.
|
|
36
|
+
* @deprecated
|
|
36
37
|
*/
|
|
37
38
|
export declare function useCountIntegrationConfigsQuery(props: CountIntegrationConfigsProps, options?: Omit<UseQueryOptions<CountIntegrationConfigsOkResponse, CountIntegrationConfigsErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<CountIntegrationConfigsOkResponse, ApierrorsErrorResponse>;
|
|
@@ -7,7 +7,8 @@ export function countIntegrationConfigs(props) {
|
|
|
7
7
|
return fetcher(Object.assign({ url: `/api/v1/accounts/${props.accountIdentifier}/integration-configs/count`, method: 'GET' }, props));
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
-
*
|
|
10
|
+
* Deprecated: use GET `/integrations` (`X-Total-Elements`) instead.
|
|
11
|
+
* @deprecated
|
|
11
12
|
*/
|
|
12
13
|
export function useCountIntegrationConfigsQuery(props, options) {
|
|
13
14
|
return useQuery(['countIntegrationConfigs', props.accountIdentifier, props.queryParams], ({ signal }) => countIntegrationConfigs(Object.assign(Object.assign({}, props), { signal })), options);
|
package/dist/integration-manager/src/services/hooks/useCreateAirbyteIntegrationConfigMutation.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 { OpenapiCreateAirbyteIntegrationConfigRequest } from '../schemas/OpenapiCreateAirbyteIntegrationConfigRequest';
|
|
5
5
|
import type { ResponseWithPagination } from '../helpers';
|
|
@@ -11,13 +11,16 @@ export interface CreateAirbyteIntegrationConfigMutationPathParams {
|
|
|
11
11
|
accountIdentifier: string;
|
|
12
12
|
}
|
|
13
13
|
export type CreateAirbyteIntegrationConfigRequestBody = OpenapiCreateAirbyteIntegrationConfigRequest;
|
|
14
|
-
export type CreateAirbyteIntegrationConfigOkResponse = ResponseWithPagination<
|
|
14
|
+
export type CreateAirbyteIntegrationConfigOkResponse = ResponseWithPagination<IntegrationconfigAirbyteIntegrationResponse>;
|
|
15
15
|
export type CreateAirbyteIntegrationConfigErrorResponse = ApierrorsErrorResponse;
|
|
16
16
|
export interface CreateAirbyteIntegrationConfigProps extends CreateAirbyteIntegrationConfigMutationPathParams, Omit<FetcherOptions<unknown, CreateAirbyteIntegrationConfigRequestBody>, 'url'> {
|
|
17
17
|
body: CreateAirbyteIntegrationConfigRequestBody;
|
|
18
18
|
}
|
|
19
19
|
export declare function createAirbyteIntegrationConfig(props: CreateAirbyteIntegrationConfigProps): Promise<CreateAirbyteIntegrationConfigOkResponse>;
|
|
20
20
|
/**
|
|
21
|
+
* Deprecated: use POST `/integrations` instead.
|
|
22
|
+
*
|
|
21
23
|
* Creates an Airbyte integration atomically with connector catalog information.
|
|
24
|
+
* @deprecated
|
|
22
25
|
*/
|
|
23
26
|
export declare function useCreateAirbyteIntegrationConfigMutation(options?: Omit<UseMutationOptions<CreateAirbyteIntegrationConfigOkResponse, CreateAirbyteIntegrationConfigErrorResponse, CreateAirbyteIntegrationConfigProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<CreateAirbyteIntegrationConfigOkResponse, ApierrorsErrorResponse, CreateAirbyteIntegrationConfigProps, unknown>;
|
package/dist/integration-manager/src/services/hooks/useCreateAirbyteIntegrationConfigMutation.js
CHANGED
|
@@ -7,7 +7,10 @@ export function createAirbyteIntegrationConfig(props) {
|
|
|
7
7
|
return fetcher(Object.assign({ url: `/api/v1/accounts/${props.accountIdentifier}/integration-configs/airbyte`, method: 'POST' }, props));
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
+
* Deprecated: use POST `/integrations` instead.
|
|
11
|
+
*
|
|
10
12
|
* Creates an Airbyte integration atomically with connector catalog information.
|
|
13
|
+
* @deprecated
|
|
11
14
|
*/
|
|
12
15
|
export function useCreateAirbyteIntegrationConfigMutation(options) {
|
|
13
16
|
return useMutation((mutateProps) => createAirbyteIntegrationConfig(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 { OpenapiCreateAirbyteIntegrationConfigOrgRequest } from '../schemas/OpenapiCreateAirbyteIntegrationConfigOrgRequest';
|
|
5
5
|
import type { ResponseWithPagination } from '../helpers';
|
|
@@ -15,13 +15,16 @@ export interface CreateAirbyteIntegrationConfigOrgMutationPathParams {
|
|
|
15
15
|
orgIdentifier: string;
|
|
16
16
|
}
|
|
17
17
|
export type CreateAirbyteIntegrationConfigOrgRequestBody = OpenapiCreateAirbyteIntegrationConfigOrgRequest;
|
|
18
|
-
export type CreateAirbyteIntegrationConfigOrgOkResponse = ResponseWithPagination<
|
|
18
|
+
export type CreateAirbyteIntegrationConfigOrgOkResponse = ResponseWithPagination<IntegrationconfigAirbyteIntegrationResponse>;
|
|
19
19
|
export type CreateAirbyteIntegrationConfigOrgErrorResponse = ApierrorsErrorResponse;
|
|
20
20
|
export interface CreateAirbyteIntegrationConfigOrgProps extends CreateAirbyteIntegrationConfigOrgMutationPathParams, Omit<FetcherOptions<unknown, CreateAirbyteIntegrationConfigOrgRequestBody>, 'url'> {
|
|
21
21
|
body: CreateAirbyteIntegrationConfigOrgRequestBody;
|
|
22
22
|
}
|
|
23
23
|
export declare function createAirbyteIntegrationConfigOrg(props: CreateAirbyteIntegrationConfigOrgProps): Promise<CreateAirbyteIntegrationConfigOrgOkResponse>;
|
|
24
24
|
/**
|
|
25
|
+
* Deprecated: use POST `/integrations` instead.
|
|
26
|
+
*
|
|
25
27
|
* Creates an Airbyte integration atomically with connector catalog information.
|
|
28
|
+
* @deprecated
|
|
26
29
|
*/
|
|
27
30
|
export declare function useCreateAirbyteIntegrationConfigOrgMutation(options?: Omit<UseMutationOptions<CreateAirbyteIntegrationConfigOrgOkResponse, CreateAirbyteIntegrationConfigOrgErrorResponse, CreateAirbyteIntegrationConfigOrgProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<CreateAirbyteIntegrationConfigOrgOkResponse, ApierrorsErrorResponse, CreateAirbyteIntegrationConfigOrgProps, unknown>;
|
package/dist/integration-manager/src/services/hooks/useCreateAirbyteIntegrationConfigOrgMutation.js
CHANGED
|
@@ -7,7 +7,10 @@ export function createAirbyteIntegrationConfigOrg(props) {
|
|
|
7
7
|
return fetcher(Object.assign({ url: `/api/v1/accounts/${props.accountIdentifier}/orgs/${props.orgIdentifier}/integration-configs/airbyte`, method: 'POST' }, props));
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
+
* Deprecated: use POST `/integrations` instead.
|
|
11
|
+
*
|
|
10
12
|
* Creates an Airbyte integration atomically with connector catalog information.
|
|
13
|
+
* @deprecated
|
|
11
14
|
*/
|
|
12
15
|
export function useCreateAirbyteIntegrationConfigOrgMutation(options) {
|
|
13
16
|
return useMutation((mutateProps) => createAirbyteIntegrationConfigOrg(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 { OpenapiCreateAirbyteIntegrationConfigProjectRequest } from '../schemas/OpenapiCreateAirbyteIntegrationConfigProjectRequest';
|
|
5
5
|
import type { ResponseWithPagination } from '../helpers';
|
|
@@ -19,13 +19,16 @@ export interface CreateAirbyteIntegrationConfigProjectMutationPathParams {
|
|
|
19
19
|
projectIdentifier: string;
|
|
20
20
|
}
|
|
21
21
|
export type CreateAirbyteIntegrationConfigProjectRequestBody = OpenapiCreateAirbyteIntegrationConfigProjectRequest;
|
|
22
|
-
export type CreateAirbyteIntegrationConfigProjectOkResponse = ResponseWithPagination<
|
|
22
|
+
export type CreateAirbyteIntegrationConfigProjectOkResponse = ResponseWithPagination<IntegrationconfigAirbyteIntegrationResponse>;
|
|
23
23
|
export type CreateAirbyteIntegrationConfigProjectErrorResponse = ApierrorsErrorResponse;
|
|
24
24
|
export interface CreateAirbyteIntegrationConfigProjectProps extends CreateAirbyteIntegrationConfigProjectMutationPathParams, Omit<FetcherOptions<unknown, CreateAirbyteIntegrationConfigProjectRequestBody>, 'url'> {
|
|
25
25
|
body: CreateAirbyteIntegrationConfigProjectRequestBody;
|
|
26
26
|
}
|
|
27
27
|
export declare function createAirbyteIntegrationConfigProject(props: CreateAirbyteIntegrationConfigProjectProps): Promise<CreateAirbyteIntegrationConfigProjectOkResponse>;
|
|
28
28
|
/**
|
|
29
|
+
* Deprecated: use POST `/integrations` instead.
|
|
30
|
+
*
|
|
29
31
|
* Creates an Airbyte integration atomically with connector catalog information.
|
|
32
|
+
* @deprecated
|
|
30
33
|
*/
|
|
31
34
|
export declare function useCreateAirbyteIntegrationConfigProjectMutation(options?: Omit<UseMutationOptions<CreateAirbyteIntegrationConfigProjectOkResponse, CreateAirbyteIntegrationConfigProjectErrorResponse, CreateAirbyteIntegrationConfigProjectProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<CreateAirbyteIntegrationConfigProjectOkResponse, ApierrorsErrorResponse, CreateAirbyteIntegrationConfigProjectProps, unknown>;
|
|
@@ -7,7 +7,10 @@ export function createAirbyteIntegrationConfigProject(props) {
|
|
|
7
7
|
return fetcher(Object.assign({ url: `/api/v1/accounts/${props.accountIdentifier}/orgs/${props.orgIdentifier}/projects/${props.projectIdentifier}/integration-configs/airbyte`, method: 'POST' }, props));
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
+
* Deprecated: use POST `/integrations` instead.
|
|
11
|
+
*
|
|
10
12
|
* Creates an Airbyte integration atomically with connector catalog information.
|
|
13
|
+
* @deprecated
|
|
11
14
|
*/
|
|
12
15
|
export function useCreateAirbyteIntegrationConfigProjectMutation(options) {
|
|
13
16
|
return useMutation((mutateProps) => createAirbyteIntegrationConfigProject(mutateProps), options);
|
|
@@ -18,6 +18,9 @@ export interface CreateIntegrationConfigProps extends CreateIntegrationConfigMut
|
|
|
18
18
|
}
|
|
19
19
|
export declare function createIntegrationConfig(props: CreateIntegrationConfigProps): Promise<CreateIntegrationConfigOkResponse>;
|
|
20
20
|
/**
|
|
21
|
+
* Deprecated: use POST `/integrations` instead.
|
|
22
|
+
*
|
|
21
23
|
* Creates a new integration configuration. If correlation_mapping is provided, source_path must be non-empty and operator must be 'eq'. The correlation_mapping is also persisted into configuration.correlation_mapping. For Custom integrations, integration_mode may be set to 'webhook'. In webhook mode: (a) exactly one entry in kinds; (b) ingestion_mapping_per_kind is REQUIRED with one entry per kind and mappings.identifier non-empty (the deprecated alias schema_mapping_per_kind is still accepted); (c) configuration.webhook_auth is REQUIRED and must be a valid WebhookAuth object (auth_type 'hmac_auth' or 'jwt_auth'; hmac_auth requires hash_algo + auth_header + secret_ref; jwt_auth rejects any of those fields); (d) payload_schema_per_kind is optional and only supported for the 'custom' kind — other kinds fall back to the built-in default schema; (e) the response configuration.webhook_endpoints_per_kind carries one URL per kind of the shape '/api/v1/accounts/.../webhooks/{16-char-hex}', which external systems POST payloads to.
|
|
24
|
+
* @deprecated
|
|
22
25
|
*/
|
|
23
26
|
export declare function useCreateIntegrationConfigMutation(options?: Omit<UseMutationOptions<CreateIntegrationConfigOkResponse, CreateIntegrationConfigErrorResponse, CreateIntegrationConfigProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<CreateIntegrationConfigOkResponse, ApierrorsErrorResponse, CreateIntegrationConfigProps, unknown>;
|
|
@@ -7,7 +7,10 @@ export function createIntegrationConfig(props) {
|
|
|
7
7
|
return fetcher(Object.assign({ url: `/api/v1/accounts/${props.accountIdentifier}/integration-configs`, method: 'POST' }, props));
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
+
* Deprecated: use POST `/integrations` instead.
|
|
11
|
+
*
|
|
10
12
|
* Creates a new integration configuration. If correlation_mapping is provided, source_path must be non-empty and operator must be 'eq'. The correlation_mapping is also persisted into configuration.correlation_mapping. For Custom integrations, integration_mode may be set to 'webhook'. In webhook mode: (a) exactly one entry in kinds; (b) ingestion_mapping_per_kind is REQUIRED with one entry per kind and mappings.identifier non-empty (the deprecated alias schema_mapping_per_kind is still accepted); (c) configuration.webhook_auth is REQUIRED and must be a valid WebhookAuth object (auth_type 'hmac_auth' or 'jwt_auth'; hmac_auth requires hash_algo + auth_header + secret_ref; jwt_auth rejects any of those fields); (d) payload_schema_per_kind is optional and only supported for the 'custom' kind — other kinds fall back to the built-in default schema; (e) the response configuration.webhook_endpoints_per_kind carries one URL per kind of the shape '/api/v1/accounts/.../webhooks/{16-char-hex}', which external systems POST payloads to.
|
|
13
|
+
* @deprecated
|
|
11
14
|
*/
|
|
12
15
|
export function useCreateIntegrationConfigMutation(options) {
|
|
13
16
|
return useMutation((mutateProps) => createIntegrationConfig(mutateProps), options);
|
package/dist/integration-manager/src/services/hooks/useCreateIntegrationConfigOrgMutation.d.ts
CHANGED
|
@@ -22,6 +22,9 @@ export interface CreateIntegrationConfigOrgProps extends CreateIntegrationConfig
|
|
|
22
22
|
}
|
|
23
23
|
export declare function createIntegrationConfigOrg(props: CreateIntegrationConfigOrgProps): Promise<CreateIntegrationConfigOrgOkResponse>;
|
|
24
24
|
/**
|
|
25
|
+
* Deprecated: use POST `/integrations` instead.
|
|
26
|
+
*
|
|
25
27
|
* Creates a new integration configuration. If correlation_mapping is provided, source_path must be non-empty and operator must be 'eq'. The correlation_mapping is also persisted into configuration.correlation_mapping. For Custom integrations, integration_mode may be set to 'webhook'. In webhook mode: (a) exactly one entry in kinds; (b) ingestion_mapping_per_kind is REQUIRED with one entry per kind and mappings.identifier non-empty (the deprecated alias schema_mapping_per_kind is still accepted); (c) configuration.webhook_auth is REQUIRED and must be a valid WebhookAuth object (auth_type 'hmac_auth' or 'jwt_auth'; hmac_auth requires hash_algo + auth_header + secret_ref; jwt_auth rejects any of those fields); (d) payload_schema_per_kind is optional and only supported for the 'custom' kind — other kinds fall back to the built-in default schema; (e) the response configuration.webhook_endpoints_per_kind carries one URL per kind of the shape '/api/v1/accounts/.../webhooks/{16-char-hex}', which external systems POST payloads to.
|
|
28
|
+
* @deprecated
|
|
26
29
|
*/
|
|
27
30
|
export declare function useCreateIntegrationConfigOrgMutation(options?: Omit<UseMutationOptions<CreateIntegrationConfigOrgOkResponse, CreateIntegrationConfigOrgErrorResponse, CreateIntegrationConfigOrgProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<CreateIntegrationConfigOrgOkResponse, ApierrorsErrorResponse, CreateIntegrationConfigOrgProps, unknown>;
|
package/dist/integration-manager/src/services/hooks/useCreateIntegrationConfigOrgMutation.js
CHANGED
|
@@ -7,7 +7,10 @@ export function createIntegrationConfigOrg(props) {
|
|
|
7
7
|
return fetcher(Object.assign({ url: `/api/v1/accounts/${props.accountIdentifier}/orgs/${props.orgIdentifier}/integration-configs`, method: 'POST' }, props));
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
+
* Deprecated: use POST `/integrations` instead.
|
|
11
|
+
*
|
|
10
12
|
* Creates a new integration configuration. If correlation_mapping is provided, source_path must be non-empty and operator must be 'eq'. The correlation_mapping is also persisted into configuration.correlation_mapping. For Custom integrations, integration_mode may be set to 'webhook'. In webhook mode: (a) exactly one entry in kinds; (b) ingestion_mapping_per_kind is REQUIRED with one entry per kind and mappings.identifier non-empty (the deprecated alias schema_mapping_per_kind is still accepted); (c) configuration.webhook_auth is REQUIRED and must be a valid WebhookAuth object (auth_type 'hmac_auth' or 'jwt_auth'; hmac_auth requires hash_algo + auth_header + secret_ref; jwt_auth rejects any of those fields); (d) payload_schema_per_kind is optional and only supported for the 'custom' kind — other kinds fall back to the built-in default schema; (e) the response configuration.webhook_endpoints_per_kind carries one URL per kind of the shape '/api/v1/accounts/.../webhooks/{16-char-hex}', which external systems POST payloads to.
|
|
13
|
+
* @deprecated
|
|
11
14
|
*/
|
|
12
15
|
export function useCreateIntegrationConfigOrgMutation(options) {
|
|
13
16
|
return useMutation((mutateProps) => createIntegrationConfigOrg(mutateProps), options);
|
package/dist/integration-manager/src/services/hooks/useCreateIntegrationConfigProjectMutation.d.ts
CHANGED
|
@@ -26,6 +26,9 @@ export interface CreateIntegrationConfigProjectProps extends CreateIntegrationCo
|
|
|
26
26
|
}
|
|
27
27
|
export declare function createIntegrationConfigProject(props: CreateIntegrationConfigProjectProps): Promise<CreateIntegrationConfigProjectOkResponse>;
|
|
28
28
|
/**
|
|
29
|
+
* Deprecated: use POST `/integrations` instead.
|
|
30
|
+
*
|
|
29
31
|
* Creates a new integration configuration. If correlation_mapping is provided, source_path must be non-empty and operator must be 'eq'. The correlation_mapping is also persisted into configuration.correlation_mapping. For Custom integrations, integration_mode may be set to 'webhook'. In webhook mode: (a) exactly one entry in kinds; (b) ingestion_mapping_per_kind is REQUIRED with one entry per kind and mappings.identifier non-empty (the deprecated alias schema_mapping_per_kind is still accepted); (c) configuration.webhook_auth is REQUIRED and must be a valid WebhookAuth object (auth_type 'hmac_auth' or 'jwt_auth'; hmac_auth requires hash_algo + auth_header + secret_ref; jwt_auth rejects any of those fields); (d) payload_schema_per_kind is optional and only supported for the 'custom' kind — other kinds fall back to the built-in default schema; (e) the response configuration.webhook_endpoints_per_kind carries one URL per kind of the shape '/api/v1/accounts/.../webhooks/{16-char-hex}', which external systems POST payloads to.
|
|
32
|
+
* @deprecated
|
|
30
33
|
*/
|
|
31
34
|
export declare function useCreateIntegrationConfigProjectMutation(options?: Omit<UseMutationOptions<CreateIntegrationConfigProjectOkResponse, CreateIntegrationConfigProjectErrorResponse, CreateIntegrationConfigProjectProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<CreateIntegrationConfigProjectOkResponse, ApierrorsErrorResponse, CreateIntegrationConfigProjectProps, unknown>;
|
package/dist/integration-manager/src/services/hooks/useCreateIntegrationConfigProjectMutation.js
CHANGED
|
@@ -7,7 +7,10 @@ export function createIntegrationConfigProject(props) {
|
|
|
7
7
|
return fetcher(Object.assign({ url: `/api/v1/accounts/${props.accountIdentifier}/orgs/${props.orgIdentifier}/projects/${props.projectIdentifier}/integration-configs`, method: 'POST' }, props));
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
+
* Deprecated: use POST `/integrations` instead.
|
|
11
|
+
*
|
|
10
12
|
* Creates a new integration configuration. If correlation_mapping is provided, source_path must be non-empty and operator must be 'eq'. The correlation_mapping is also persisted into configuration.correlation_mapping. For Custom integrations, integration_mode may be set to 'webhook'. In webhook mode: (a) exactly one entry in kinds; (b) ingestion_mapping_per_kind is REQUIRED with one entry per kind and mappings.identifier non-empty (the deprecated alias schema_mapping_per_kind is still accepted); (c) configuration.webhook_auth is REQUIRED and must be a valid WebhookAuth object (auth_type 'hmac_auth' or 'jwt_auth'; hmac_auth requires hash_algo + auth_header + secret_ref; jwt_auth rejects any of those fields); (d) payload_schema_per_kind is optional and only supported for the 'custom' kind — other kinds fall back to the built-in default schema; (e) the response configuration.webhook_endpoints_per_kind carries one URL per kind of the shape '/api/v1/accounts/.../webhooks/{16-char-hex}', which external systems POST payloads to.
|
|
13
|
+
* @deprecated
|
|
11
14
|
*/
|
|
12
15
|
export function useCreateIntegrationConfigProjectMutation(options) {
|
|
13
16
|
return useMutation((mutateProps) => createIntegrationConfigProject(mutateProps), options);
|
|
@@ -15,6 +15,9 @@ export interface DeleteIntegrationConfigProps extends DeleteIntegrationConfigMut
|
|
|
15
15
|
}
|
|
16
16
|
export declare function deleteIntegrationConfig(props: DeleteIntegrationConfigProps): Promise<DeleteIntegrationConfigOkResponse>;
|
|
17
17
|
/**
|
|
18
|
+
* Deprecated: use DELETE `/integrations/{integration}` instead.
|
|
19
|
+
*
|
|
18
20
|
* Soft-deletes the integration and its associated resources. Returns 204 No Content on success, 410 Gone with INTEGRATION_DELETED if already deleted or on a concurrent delete. Soft-deleted integrations return 404 from get, update and sync.
|
|
21
|
+
* @deprecated
|
|
19
22
|
*/
|
|
20
23
|
export declare function useDeleteIntegrationConfigMutation(options?: Omit<UseMutationOptions<DeleteIntegrationConfigOkResponse, DeleteIntegrationConfigErrorResponse, DeleteIntegrationConfigProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<DeleteIntegrationConfigOkResponse, ApierrorsErrorResponse, DeleteIntegrationConfigProps, unknown>;
|
|
@@ -7,7 +7,10 @@ export function deleteIntegrationConfig(props) {
|
|
|
7
7
|
return fetcher(Object.assign({ url: `/api/v1/accounts/${props.accountIdentifier}/integration-configs/${props.integrationconfig_identifier}`, method: 'DELETE' }, props));
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
+
* Deprecated: use DELETE `/integrations/{integration}` instead.
|
|
11
|
+
*
|
|
10
12
|
* Soft-deletes the integration and its associated resources. Returns 204 No Content on success, 410 Gone with INTEGRATION_DELETED if already deleted or on a concurrent delete. Soft-deleted integrations return 404 from get, update and sync.
|
|
13
|
+
* @deprecated
|
|
11
14
|
*/
|
|
12
15
|
export function useDeleteIntegrationConfigMutation(options) {
|
|
13
16
|
return useMutation((mutateProps) => deleteIntegrationConfig(mutateProps), options);
|
package/dist/integration-manager/src/services/hooks/useDeleteIntegrationConfigOrgMutation.d.ts
CHANGED
|
@@ -19,6 +19,9 @@ export interface DeleteIntegrationConfigOrgProps extends DeleteIntegrationConfig
|
|
|
19
19
|
}
|
|
20
20
|
export declare function deleteIntegrationConfigOrg(props: DeleteIntegrationConfigOrgProps): Promise<DeleteIntegrationConfigOrgOkResponse>;
|
|
21
21
|
/**
|
|
22
|
+
* Deprecated: use DELETE `/integrations/{integration}` instead.
|
|
23
|
+
*
|
|
22
24
|
* Soft-deletes the integration and its associated resources. Returns 204 No Content on success, 410 Gone with INTEGRATION_DELETED if already deleted or on a concurrent delete. Soft-deleted integrations return 404 from get, update and sync.
|
|
25
|
+
* @deprecated
|
|
23
26
|
*/
|
|
24
27
|
export declare function useDeleteIntegrationConfigOrgMutation(options?: Omit<UseMutationOptions<DeleteIntegrationConfigOrgOkResponse, DeleteIntegrationConfigOrgErrorResponse, DeleteIntegrationConfigOrgProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<DeleteIntegrationConfigOrgOkResponse, ApierrorsErrorResponse, DeleteIntegrationConfigOrgProps, unknown>;
|
package/dist/integration-manager/src/services/hooks/useDeleteIntegrationConfigOrgMutation.js
CHANGED
|
@@ -7,7 +7,10 @@ export function deleteIntegrationConfigOrg(props) {
|
|
|
7
7
|
return fetcher(Object.assign({ url: `/api/v1/accounts/${props.accountIdentifier}/orgs/${props.orgIdentifier}/integration-configs/${props.integrationconfig_identifier}`, method: 'DELETE' }, props));
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
+
* Deprecated: use DELETE `/integrations/{integration}` instead.
|
|
11
|
+
*
|
|
10
12
|
* Soft-deletes the integration and its associated resources. Returns 204 No Content on success, 410 Gone with INTEGRATION_DELETED if already deleted or on a concurrent delete. Soft-deleted integrations return 404 from get, update and sync.
|
|
13
|
+
* @deprecated
|
|
11
14
|
*/
|
|
12
15
|
export function useDeleteIntegrationConfigOrgMutation(options) {
|
|
13
16
|
return useMutation((mutateProps) => deleteIntegrationConfigOrg(mutateProps), options);
|
package/dist/integration-manager/src/services/hooks/useDeleteIntegrationConfigProjectMutation.d.ts
CHANGED
|
@@ -23,6 +23,9 @@ export interface DeleteIntegrationConfigProjectProps extends DeleteIntegrationCo
|
|
|
23
23
|
}
|
|
24
24
|
export declare function deleteIntegrationConfigProject(props: DeleteIntegrationConfigProjectProps): Promise<DeleteIntegrationConfigProjectOkResponse>;
|
|
25
25
|
/**
|
|
26
|
+
* Deprecated: use DELETE `/integrations/{integration}` instead.
|
|
27
|
+
*
|
|
26
28
|
* Soft-deletes the integration and its associated resources. Returns 204 No Content on success, 410 Gone with INTEGRATION_DELETED if already deleted or on a concurrent delete. Soft-deleted integrations return 404 from get, update and sync.
|
|
29
|
+
* @deprecated
|
|
27
30
|
*/
|
|
28
31
|
export declare function useDeleteIntegrationConfigProjectMutation(options?: Omit<UseMutationOptions<DeleteIntegrationConfigProjectOkResponse, DeleteIntegrationConfigProjectErrorResponse, DeleteIntegrationConfigProjectProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<DeleteIntegrationConfigProjectOkResponse, ApierrorsErrorResponse, DeleteIntegrationConfigProjectProps, unknown>;
|
package/dist/integration-manager/src/services/hooks/useDeleteIntegrationConfigProjectMutation.js
CHANGED
|
@@ -7,7 +7,10 @@ export function deleteIntegrationConfigProject(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: 'DELETE' }, props));
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
+
* Deprecated: use DELETE `/integrations/{integration}` instead.
|
|
11
|
+
*
|
|
10
12
|
* Soft-deletes the integration and its associated resources. Returns 204 No Content on success, 410 Gone with INTEGRATION_DELETED if already deleted or on a concurrent delete. Soft-deleted integrations return 404 from get, update and sync.
|
|
13
|
+
* @deprecated
|
|
11
14
|
*/
|
|
12
15
|
export function useDeleteIntegrationConfigProjectMutation(options) {
|
|
13
16
|
return useMutation((mutateProps) => deleteIntegrationConfigProject(mutateProps), options);
|
package/dist/integration-manager/src/services/hooks/useGetAirbyteIntegrationConfigOrgQuery.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { UseQueryOptions } 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 { ResponseWithPagination } from '../helpers';
|
|
5
5
|
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
@@ -14,12 +14,15 @@ export interface GetAirbyteIntegrationConfigOrgQueryPathParams {
|
|
|
14
14
|
orgIdentifier: string;
|
|
15
15
|
integrationconfig_identifier: string;
|
|
16
16
|
}
|
|
17
|
-
export type GetAirbyteIntegrationConfigOrgOkResponse = ResponseWithPagination<
|
|
17
|
+
export type GetAirbyteIntegrationConfigOrgOkResponse = ResponseWithPagination<IntegrationconfigAirbyteIntegrationResponse>;
|
|
18
18
|
export type GetAirbyteIntegrationConfigOrgErrorResponse = ApierrorsErrorResponse;
|
|
19
19
|
export interface GetAirbyteIntegrationConfigOrgProps extends GetAirbyteIntegrationConfigOrgQueryPathParams, Omit<FetcherOptions<unknown, unknown>, 'url'> {
|
|
20
20
|
}
|
|
21
21
|
export declare function getAirbyteIntegrationConfigOrg(props: GetAirbyteIntegrationConfigOrgProps): Promise<GetAirbyteIntegrationConfigOrgOkResponse>;
|
|
22
22
|
/**
|
|
23
|
+
* Deprecated: use GET `/integrations/{integration}` and `GET /integrations/{integration}/catalog` instead.
|
|
24
|
+
*
|
|
23
25
|
* Retrieves complete Airbyte integration details.
|
|
26
|
+
* @deprecated
|
|
24
27
|
*/
|
|
25
28
|
export declare function useGetAirbyteIntegrationConfigOrgQuery(props: GetAirbyteIntegrationConfigOrgProps, options?: Omit<UseQueryOptions<GetAirbyteIntegrationConfigOrgOkResponse, GetAirbyteIntegrationConfigOrgErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetAirbyteIntegrationConfigOrgOkResponse, ApierrorsErrorResponse>;
|
package/dist/integration-manager/src/services/hooks/useGetAirbyteIntegrationConfigOrgQuery.js
CHANGED
|
@@ -7,7 +7,10 @@ export function getAirbyteIntegrationConfigOrg(props) {
|
|
|
7
7
|
return fetcher(Object.assign({ url: `/api/v1/accounts/${props.accountIdentifier}/orgs/${props.orgIdentifier}/integration-configs/airbyte/${props.integrationconfig_identifier}`, method: 'GET' }, props));
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
+
* Deprecated: use GET `/integrations/{integration}` and `GET /integrations/{integration}/catalog` instead.
|
|
11
|
+
*
|
|
10
12
|
* Retrieves complete Airbyte integration details.
|
|
13
|
+
* @deprecated
|
|
11
14
|
*/
|
|
12
15
|
export function useGetAirbyteIntegrationConfigOrgQuery(props, options) {
|
|
13
16
|
return useQuery([
|
package/dist/integration-manager/src/services/hooks/useGetAirbyteIntegrationConfigProjectQuery.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { UseQueryOptions } 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 { ResponseWithPagination } from '../helpers';
|
|
5
5
|
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
@@ -18,12 +18,15 @@ export interface GetAirbyteIntegrationConfigProjectQueryPathParams {
|
|
|
18
18
|
projectIdentifier: string;
|
|
19
19
|
integrationconfig_identifier: string;
|
|
20
20
|
}
|
|
21
|
-
export type GetAirbyteIntegrationConfigProjectOkResponse = ResponseWithPagination<
|
|
21
|
+
export type GetAirbyteIntegrationConfigProjectOkResponse = ResponseWithPagination<IntegrationconfigAirbyteIntegrationResponse>;
|
|
22
22
|
export type GetAirbyteIntegrationConfigProjectErrorResponse = ApierrorsErrorResponse;
|
|
23
23
|
export interface GetAirbyteIntegrationConfigProjectProps extends GetAirbyteIntegrationConfigProjectQueryPathParams, Omit<FetcherOptions<unknown, unknown>, 'url'> {
|
|
24
24
|
}
|
|
25
25
|
export declare function getAirbyteIntegrationConfigProject(props: GetAirbyteIntegrationConfigProjectProps): Promise<GetAirbyteIntegrationConfigProjectOkResponse>;
|
|
26
26
|
/**
|
|
27
|
+
* Deprecated: use GET `/integrations/{integration}` and `GET /integrations/{integration}/catalog` instead.
|
|
28
|
+
*
|
|
27
29
|
* Retrieves complete Airbyte integration details.
|
|
30
|
+
* @deprecated
|
|
28
31
|
*/
|
|
29
32
|
export declare function useGetAirbyteIntegrationConfigProjectQuery(props: GetAirbyteIntegrationConfigProjectProps, options?: Omit<UseQueryOptions<GetAirbyteIntegrationConfigProjectOkResponse, GetAirbyteIntegrationConfigProjectErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetAirbyteIntegrationConfigProjectOkResponse, ApierrorsErrorResponse>;
|
package/dist/integration-manager/src/services/hooks/useGetAirbyteIntegrationConfigProjectQuery.js
CHANGED
|
@@ -7,7 +7,10 @@ export function getAirbyteIntegrationConfigProject(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: 'GET' }, props));
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
+
* Deprecated: use GET `/integrations/{integration}` and `GET /integrations/{integration}/catalog` instead.
|
|
11
|
+
*
|
|
10
12
|
* Retrieves complete Airbyte integration details.
|
|
13
|
+
* @deprecated
|
|
11
14
|
*/
|
|
12
15
|
export function useGetAirbyteIntegrationConfigProjectQuery(props, options) {
|
|
13
16
|
return useQuery([
|
package/dist/integration-manager/src/services/hooks/useGetAirbyteIntegrationConfigQuery.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { UseQueryOptions } 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 { ResponseWithPagination } from '../helpers';
|
|
5
5
|
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
@@ -10,12 +10,15 @@ export interface GetAirbyteIntegrationConfigQueryPathParams {
|
|
|
10
10
|
accountIdentifier: string;
|
|
11
11
|
integrationconfig_identifier: string;
|
|
12
12
|
}
|
|
13
|
-
export type GetAirbyteIntegrationConfigOkResponse = ResponseWithPagination<
|
|
13
|
+
export type GetAirbyteIntegrationConfigOkResponse = ResponseWithPagination<IntegrationconfigAirbyteIntegrationResponse>;
|
|
14
14
|
export type GetAirbyteIntegrationConfigErrorResponse = ApierrorsErrorResponse;
|
|
15
15
|
export interface GetAirbyteIntegrationConfigProps extends GetAirbyteIntegrationConfigQueryPathParams, Omit<FetcherOptions<unknown, unknown>, 'url'> {
|
|
16
16
|
}
|
|
17
17
|
export declare function getAirbyteIntegrationConfig(props: GetAirbyteIntegrationConfigProps): Promise<GetAirbyteIntegrationConfigOkResponse>;
|
|
18
18
|
/**
|
|
19
|
+
* Deprecated: use GET `/integrations/{integration}` and `GET /integrations/{integration}/catalog` instead.
|
|
20
|
+
*
|
|
19
21
|
* Retrieves complete Airbyte integration details.
|
|
22
|
+
* @deprecated
|
|
20
23
|
*/
|
|
21
24
|
export declare function useGetAirbyteIntegrationConfigQuery(props: GetAirbyteIntegrationConfigProps, options?: Omit<UseQueryOptions<GetAirbyteIntegrationConfigOkResponse, GetAirbyteIntegrationConfigErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetAirbyteIntegrationConfigOkResponse, ApierrorsErrorResponse>;
|
|
@@ -7,7 +7,10 @@ export function getAirbyteIntegrationConfig(props) {
|
|
|
7
7
|
return fetcher(Object.assign({ url: `/api/v1/accounts/${props.accountIdentifier}/integration-configs/airbyte/${props.integrationconfig_identifier}`, method: 'GET' }, props));
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
+
* Deprecated: use GET `/integrations/{integration}` and `GET /integrations/{integration}/catalog` instead.
|
|
11
|
+
*
|
|
10
12
|
* Retrieves complete Airbyte integration details.
|
|
13
|
+
* @deprecated
|
|
11
14
|
*/
|
|
12
15
|
export function useGetAirbyteIntegrationConfigQuery(props, options) {
|
|
13
16
|
return useQuery(['getAirbyteIntegrationConfig', props.accountIdentifier, props.integrationconfig_identifier], ({ signal }) => getAirbyteIntegrationConfig(Object.assign(Object.assign({}, props), { signal })), options);
|
|
@@ -23,7 +23,7 @@ export declare function getCustomEntities(props: GetCustomEntitiesProps): Promis
|
|
|
23
23
|
* Request Body (required):
|
|
24
24
|
* - integrations: Required array of per-integration queries. Each entry must include:
|
|
25
25
|
* - integration_id: Required.
|
|
26
|
-
* - data_kind: Required; used to load the
|
|
26
|
+
* - data_kind: Required; used to load the emission mapping for correlation source_path.
|
|
27
27
|
* - scope: Optional; per-integration org/project. Account is always taken from the URL.
|
|
28
28
|
* - entity_ref: Optional; matched as related_fields entry "entity_ref:<value>".
|
|
29
29
|
* - correlation_value: Optional; matched as related_fields entry "<source_path>:<value>"
|
|
@@ -12,7 +12,7 @@ export function getCustomEntities(props) {
|
|
|
12
12
|
* Request Body (required):
|
|
13
13
|
* - integrations: Required array of per-integration queries. Each entry must include:
|
|
14
14
|
* - integration_id: Required.
|
|
15
|
-
* - data_kind: Required; used to load the
|
|
15
|
+
* - data_kind: Required; used to load the emission mapping for correlation source_path.
|
|
16
16
|
* - scope: Optional; per-integration org/project. Account is always taken from the URL.
|
|
17
17
|
* - entity_ref: Optional; matched as related_fields entry "entity_ref:<value>".
|
|
18
18
|
* - correlation_value: Optional; matched as related_fields entry "<source_path>:<value>"
|
|
@@ -27,7 +27,7 @@ export declare function getCustomEntitiesOrg(props: GetCustomEntitiesOrgProps):
|
|
|
27
27
|
* Request Body (required):
|
|
28
28
|
* - integrations: Required array of per-integration queries. Each entry must include:
|
|
29
29
|
* - integration_id: Required.
|
|
30
|
-
* - data_kind: Required; used to load the
|
|
30
|
+
* - data_kind: Required; used to load the emission mapping for correlation source_path.
|
|
31
31
|
* - scope: Optional; per-integration org/project. Account is always taken from the URL.
|
|
32
32
|
* - entity_ref: Optional; matched as related_fields entry "entity_ref:<value>".
|
|
33
33
|
* - correlation_value: Optional; matched as related_fields entry "<source_path>:<value>"
|
|
@@ -12,7 +12,7 @@ export function getCustomEntitiesOrg(props) {
|
|
|
12
12
|
* Request Body (required):
|
|
13
13
|
* - integrations: Required array of per-integration queries. Each entry must include:
|
|
14
14
|
* - integration_id: Required.
|
|
15
|
-
* - data_kind: Required; used to load the
|
|
15
|
+
* - data_kind: Required; used to load the emission mapping for correlation source_path.
|
|
16
16
|
* - scope: Optional; per-integration org/project. Account is always taken from the URL.
|
|
17
17
|
* - entity_ref: Optional; matched as related_fields entry "entity_ref:<value>".
|
|
18
18
|
* - correlation_value: Optional; matched as related_fields entry "<source_path>:<value>"
|
package/dist/integration-manager/src/services/hooks/useGetCustomEntitiesProjectMutation.d.ts
CHANGED
|
@@ -31,7 +31,7 @@ export declare function getCustomEntitiesProject(props: GetCustomEntitiesProject
|
|
|
31
31
|
* Request Body (required):
|
|
32
32
|
* - integrations: Required array of per-integration queries. Each entry must include:
|
|
33
33
|
* - integration_id: Required.
|
|
34
|
-
* - data_kind: Required; used to load the
|
|
34
|
+
* - data_kind: Required; used to load the emission mapping for correlation source_path.
|
|
35
35
|
* - scope: Optional; per-integration org/project. Account is always taken from the URL.
|
|
36
36
|
* - entity_ref: Optional; matched as related_fields entry "entity_ref:<value>".
|
|
37
37
|
* - correlation_value: Optional; matched as related_fields entry "<source_path>:<value>"
|
|
@@ -12,7 +12,7 @@ export function getCustomEntitiesProject(props) {
|
|
|
12
12
|
* Request Body (required):
|
|
13
13
|
* - integrations: Required array of per-integration queries. Each entry must include:
|
|
14
14
|
* - integration_id: Required.
|
|
15
|
-
* - data_kind: Required; used to load the
|
|
15
|
+
* - data_kind: Required; used to load the emission mapping for correlation source_path.
|
|
16
16
|
* - scope: Optional; per-integration org/project. Account is always taken from the URL.
|
|
17
17
|
* - entity_ref: Optional; matched as related_fields entry "entity_ref:<value>".
|
|
18
18
|
* - correlation_value: Optional; matched as related_fields entry "<source_path>:<value>"
|
|
@@ -20,6 +20,7 @@ export interface GetIntegrationConfigOrgProps extends GetIntegrationConfigOrgQue
|
|
|
20
20
|
}
|
|
21
21
|
export declare function getIntegrationConfigOrg(props: GetIntegrationConfigOrgProps): Promise<GetIntegrationConfigOrgOkResponse>;
|
|
22
22
|
/**
|
|
23
|
-
*
|
|
23
|
+
* Deprecated: use GET `/integrations/{integration}` instead.
|
|
24
|
+
* @deprecated
|
|
24
25
|
*/
|
|
25
26
|
export declare function useGetIntegrationConfigOrgQuery(props: GetIntegrationConfigOrgProps, options?: Omit<UseQueryOptions<GetIntegrationConfigOrgOkResponse, GetIntegrationConfigOrgErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetIntegrationConfigOrgOkResponse, ApierrorsErrorResponse>;
|
|
@@ -7,7 +7,8 @@ export function getIntegrationConfigOrg(props) {
|
|
|
7
7
|
return fetcher(Object.assign({ url: `/api/v1/accounts/${props.accountIdentifier}/orgs/${props.orgIdentifier}/integration-configs/${props.integrationconfig_identifier}`, method: 'GET' }, props));
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
-
*
|
|
10
|
+
* Deprecated: use GET `/integrations/{integration}` instead.
|
|
11
|
+
* @deprecated
|
|
11
12
|
*/
|
|
12
13
|
export function useGetIntegrationConfigOrgQuery(props, options) {
|
|
13
14
|
return useQuery([
|
package/dist/integration-manager/src/services/hooks/useGetIntegrationConfigProjectQuery.d.ts
CHANGED
|
@@ -24,6 +24,7 @@ export interface GetIntegrationConfigProjectProps extends GetIntegrationConfigPr
|
|
|
24
24
|
}
|
|
25
25
|
export declare function getIntegrationConfigProject(props: GetIntegrationConfigProjectProps): Promise<GetIntegrationConfigProjectOkResponse>;
|
|
26
26
|
/**
|
|
27
|
-
*
|
|
27
|
+
* Deprecated: use GET `/integrations/{integration}` instead.
|
|
28
|
+
* @deprecated
|
|
28
29
|
*/
|
|
29
30
|
export declare function useGetIntegrationConfigProjectQuery(props: GetIntegrationConfigProjectProps, options?: Omit<UseQueryOptions<GetIntegrationConfigProjectOkResponse, GetIntegrationConfigProjectErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetIntegrationConfigProjectOkResponse, ApierrorsErrorResponse>;
|
|
@@ -7,7 +7,8 @@ export function getIntegrationConfigProject(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: 'GET' }, props));
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
-
*
|
|
10
|
+
* Deprecated: use GET `/integrations/{integration}` instead.
|
|
11
|
+
* @deprecated
|
|
11
12
|
*/
|
|
12
13
|
export function useGetIntegrationConfigProjectQuery(props, options) {
|
|
13
14
|
return useQuery([
|
|
@@ -16,6 +16,7 @@ export interface GetIntegrationConfigProps extends GetIntegrationConfigQueryPath
|
|
|
16
16
|
}
|
|
17
17
|
export declare function getIntegrationConfig(props: GetIntegrationConfigProps): Promise<GetIntegrationConfigOkResponse>;
|
|
18
18
|
/**
|
|
19
|
-
*
|
|
19
|
+
* Deprecated: use GET `/integrations/{integration}` instead.
|
|
20
|
+
* @deprecated
|
|
20
21
|
*/
|
|
21
22
|
export declare function useGetIntegrationConfigQuery(props: GetIntegrationConfigProps, options?: Omit<UseQueryOptions<GetIntegrationConfigOkResponse, GetIntegrationConfigErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetIntegrationConfigOkResponse, ApierrorsErrorResponse>;
|
|
@@ -7,7 +7,8 @@ export function getIntegrationConfig(props) {
|
|
|
7
7
|
return fetcher(Object.assign({ url: `/api/v1/accounts/${props.accountIdentifier}/integration-configs/${props.integrationconfig_identifier}`, method: 'GET' }, props));
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
-
*
|
|
10
|
+
* Deprecated: use GET `/integrations/{integration}` instead.
|
|
11
|
+
* @deprecated
|
|
11
12
|
*/
|
|
12
13
|
export function useGetIntegrationConfigQuery(props, options) {
|
|
13
14
|
return useQuery(['getIntegrationConfig', props.accountIdentifier, props.integrationconfig_identifier], ({ signal }) => getIntegrationConfig(Object.assign(Object.assign({}, props), { signal })), options);
|
|
@@ -20,6 +20,6 @@ export interface GetSampleRecordsProps extends GetSampleRecordsQueryPathParams,
|
|
|
20
20
|
}
|
|
21
21
|
export declare function getSampleRecords(props: GetSampleRecordsProps): Promise<GetSampleRecordsOkResponse>;
|
|
22
22
|
/**
|
|
23
|
-
* Returns curated sample records for a (integration_type, kind), mapped through the default
|
|
23
|
+
* 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.
|
|
24
24
|
*/
|
|
25
25
|
export declare function useGetSampleRecordsQuery(props: GetSampleRecordsProps, options?: Omit<UseQueryOptions<GetSampleRecordsOkResponse, GetSampleRecordsErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetSampleRecordsOkResponse, ApierrorsErrorResponse>;
|